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AAA,EAAAA,GAAW9F,EAAX8F,CAAmBoC,GA0BxC,G,4BC5RIqJ,EAAyBC,EAAQ,OAEjCC,EAA0BD,EAAQ,MAKtCE,EAAQ,OAAU,EAElB,IAAIvN,EAAQsN,EAAwBD,EAAQ,QAIxCG,GAAW,EAFMJ,EAAuBC,EAAQ,QAElBI,SAAuBzN,EAAM0N,cAAc,OAAQ,CACnFC,EAAG,mBACD,iBAEJJ,EAAQ,EAAUC,C,4BCjBdJ,EAAyBC,EAAQ,OAEjCC,EAA0BD,EAAQ,MAKtCE,EAAQ,OAAU,EAElB,IAAIvN,EAAQsN,EAAwBD,EAAQ,QAIxCG,GAAW,EAFMJ,EAAuBC,EAAQ,QAElBI,SAAuBzN,EAAM0N,cAAc,OAAQ,CACnFC,EAAG,0GACD,SAEJJ,EAAQ,EAAUC,C","sources":["../node_modules/@civicplus/preamble-ui/lib/ButtonDropDown/styles.js","../node_modules/@civicplus/preamble-ui/lib/ButtonDropDown/ButtonDropDown.js","../node_modules/@civicplus/preamble-ui/lib/ButtonGroup/styles.js","../node_modules/@civicplus/preamble-ui/lib/ButtonGroup/ButtonGroup.js","../node_modules/@material-ui/core/esm/Dialog/Dialog.js","../node_modules/@material-ui/core/esm/DialogActions/DialogActions.js","../node_modules/@material-ui/core/esm/DialogContent/DialogContent.js","../node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js","../node_modules/@material-ui/core/esm/DialogTitle/DialogTitle.js","../node_modules/@civicplus/preamble-ui/lib/Dialog/styles.js","../node_modules/@civicplus/preamble-ui/lib/Dialog/Dialog.js","../node_modules/@material-ui/icons/ArrowDropDown.js","../node_modules/@material-ui/icons/Close.js"],"sourcesContent":["import { createStyles } from \"../Utilities/ThemeHelper\";\nexport const styles = createStyles(theme => ({\n root: {\n display: \"inline-flex\",\n verticalAlign: \"middle\"\n },\n standardButtonDropDown: {},\n secondaryButton: {\n justifyContent: \"flex-end\"\n },\n standardArrowButton: {\n borderRadius: 0,\n padding: theme.spacing(1.38, 1)\n },\n primaryArrow: {\n borderRadius: 0,\n padding: theme.spacing(1.38, 1)\n },\n buttonMenu: {\n borderRadius: \"0 0 2px 2px\"\n },\n itemWrap: {\n padding: 0\n },\n fullWidth: {\n width: \"100%\"\n },\n menuItem: {\n justifyContent: \"flex-end\"\n },\n menuButtonRoot: {\n backgroundColor: theme.palette.grey[300],\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n borderLeft: \"1px solid \" + theme.palette.divider\n },\n disabled: {\n backgroundColor: theme.palette.action.disabledBackground\n },\n primary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n secondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n menuButton: {\n color: \"inherit\",\n borderRadius: 0\n },\n inherit: {\n color: \"inherit\"\n }\n}));","import _extends from \"@babel/runtime/helpers/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport React, { Component } from \"react\";\nimport ArrowDropDown from \"@material-ui/icons/ArrowDropDown\";\nimport Button from \"../Button\";\nimport Menu from \"../Menu/Menu\";\nimport PropTypes from \"prop-types\";\nimport classNames from \"classnames\";\nimport { styles } from \"./styles\";\nimport { withStyles } from \"@material-ui/core/styles\";\nexport class ButtonDropDown extends Component {\n constructor(...args) {\n super(...args);\n _defineProperty(this, \"render\", () => {\n const {\n options,\n id,\n className,\n classes,\n fullWidth,\n color\n } = this.props;\n const renderedOptions = [...options];\n const defaultOption = renderedOptions.shift();\n const calculatedColor = defaultOption ? defaultOption.color || color : color;\n const disabled = defaultOption && \"disabled\" in defaultOption && defaultOption.disabled;\n const primaryClassName = defaultOption && \"className\" in defaultOption ? defaultOption.className : undefined;\n return defaultOption ? /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"prmbl-buttonDropDown\", classes.root, className, {\n [classes.fullWidth]: fullWidth\n }),\n id: id\n }, /*#__PURE__*/React.createElement(Button, _extends({\n color: calculatedColor\n }, defaultOption, {\n fullWidth: fullWidth,\n className: classNames(\"prmbl-buttonDropDown-primary\", {\n [primaryClassName]: primaryClassName\n })\n })), renderedOptions.length > 0 && /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(classes.menuButtonRoot, disabled ? classes.disabled : classes[calculatedColor])\n }, /*#__PURE__*/React.createElement(Menu, {\n id: `${id}-dropDownMenu`,\n className: classNames(\"prmbl-buttonDropDown-menu\"),\n classes: {\n item: classes.itemWrap,\n paper: classes.buttonMenu,\n button: classes.menuButton\n },\n icon: /*#__PURE__*/React.createElement(ArrowDropDown, null),\n type: \"topbar\",\n items: renderedOptions.map((option, index) => ({\n children: /*#__PURE__*/React.createElement(Button, _extends({\n color: color,\n className: classes.menuItem,\n fullWidth: true\n }, option)),\n onClick: () => {\n // do nothing\n }\n }))\n }))) : null;\n });\n }\n}\n_defineProperty(ButtonDropDown, \"propTypes\", {\n /**\n * The html id\n */\n id: PropTypes.string,\n /**\n * @ignore\n *\n * Utilizing this to style up the page don't want to expose this in the style guide.\n * Auto-populated by material-ui withStyles()\n */\n classes: PropTypes.object.isRequired,\n /**\n * If `true`, the ButtonDropDown will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n /**\n * The color of the component. It supports those those theme colors\n * that make sense for this component\n */\n color: PropTypes.oneOf([\"default\", \"primary\", \"secondary\", \"inherit\"]),\n /**\n * An array of `Button` props\n */\n options: PropTypes.arrayOf(PropTypes.shape({\n /**\n * The html id\n */\n id: PropTypes.string,\n /**\n * The content of the button.\n */\n children: PropTypes.node.isRequired,\n /**\n * Override the component rendered\n */\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\n /**\n * If `true`, the button will be disabled.\n */\n disabled: PropTypes.bool,\n /**\n * The URL to link to when the button is clicked. If desired, an `a` element will\n * be used as the root node.\n */\n href: PropTypes.string,\n /**\n * Callback to execute when the button is pressed\n */\n onClick: PropTypes.any,\n /**\n * The size of the button. `small` is equivalent to the dense button styling.\n */\n size: PropTypes.oneOf([\"small\", \"medium\", \"large\"]),\n /**\n * The type of button to render\n */\n type: PropTypes.oneOf([\"default\", \"icon\"]),\n /**\n * The style of button.\n */\n variant: PropTypes.oneOf([\"contained\", \"outlined\", \"text\"]),\n /**\n * Set true to open the href in a new window.\n */\n openInNewWindow: PropTypes.bool,\n /**\n * The color type.\n */\n color: PropTypes.oneOf([\"default\", \"primary\", \"secondary\"])\n })).isRequired,\n /**\n * Classes to apply to the root\n */\n className: PropTypes.string\n});\nexport default withStyles(styles)(ButtonDropDown);","import { makeStyles } from \"../Utilities/ThemeHelper\";\nexport const useStyles = makeStyles(theme => ({\n root: {\n marginBottom: theme.spacing(-1)\n },\n alignLeft: {\n marginRight: theme.spacing(1),\n marginBottom: theme.spacing(1),\n \"&:last-child\": {\n marginRight: 0\n }\n },\n alignRight: {\n marginLeft: theme.spacing(1),\n marginBottom: theme.spacing(1),\n \"&:first-child\": {\n marginLeft: 0\n }\n },\n alignCenter: {\n margin: theme.spacing(0, 0.5),\n marginBottom: theme.spacing(1),\n \"&:first-child\": {\n marginLeft: 0\n },\n \"&:last-child\": {\n marginRight: 0\n }\n },\n rightButtons: {\n textAlign: \"right\"\n },\n justifiedButtons: {\n display: \"flex\",\n flex: \"1 1 auto\"\n },\n centerButtons: {\n textAlign: \"center\"\n },\n splitButton: {\n flexGrow: 1,\n margin: theme.spacing(0, 0.5),\n \"&:first-child\": {\n marginLeft: 0\n },\n \"&:last-child\": {\n marginRight: 0\n }\n },\n stackedButton: {\n width: \"100%\",\n marginBottom: theme.spacing(1)\n }\n}));\nexport default useStyles;","import _extends from \"@babel/runtime/helpers/extends\";\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport Button from \"../Button\";\nimport ButtonDropDown from \"../ButtonDropDown\";\nimport useStyles from \"./styles\";\nconst warnNotButton = component => {\n // eslint-disable-next-line no-console\n console.error(\"ButtonGroup only supports buttons nested directly within or one level below the ButtonGroup. This ButtonGroup contains an item that doesn't meet this criteria.\");\n return component;\n};\nconst ButtonGroup = props => {\n const {\n layout,\n className,\n children,\n ...otherProps\n } = props;\n const classes = useStyles(props);\n const buttonClassNames = classNames({\n [classes.alignLeft]: layout === \"left\",\n [classes.alignRight]: layout === \"right\",\n [classes.splitButton]: layout === \"justify\",\n [classes.alignCenter]: layout === \"center\",\n [classes.stackedButton]: layout === \"stacked\"\n });\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, otherProps, {\n className: classNames(\"prmbl-buttonGroup\", className, {\n [classes.rightButtons]: layout === \"right\",\n [classes.justifiedButtons]: layout === \"justify\",\n [classes.centerButtons]: layout === \"center\",\n [classes.root]: layout === \"left\" || layout === \"center\" || layout === \"right\"\n })\n }), React.Children.map(children, Child => {\n if ( /*#__PURE__*/React.isValidElement(Child)) {\n // If the child is a button, apply className to the child\n if (Child.type === Button || Child.type === ButtonDropDown) {\n return /*#__PURE__*/React.cloneElement(Child, {\n className: classNames(Child.props.className, buttonClassNames)\n });\n }\n // If the child contains a button one level deep, apply classnames to that button\n else if (Child.props.children.type === Button || Child.props.children.type === ButtonDropDown) {\n // We don't know what the parent's type is here\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return /*#__PURE__*/React.cloneElement(Child, {\n children: /*#__PURE__*/React.cloneElement(Child.props.children, {\n className: classNames(Child.props.children.props.className, buttonClassNames)\n })\n });\n } // Doesn't appear to be a button, don't apply classnames\n return warnNotButton(Child);\n }\n }));\n};\nButtonGroup.defaultProps = {\n layout: \"left\"\n};\nexport { ButtonGroup };\nexport default ButtonGroup;","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';\nimport capitalize from '../utils/capitalize';\nimport deprecatedPropType from '../utils/deprecatedPropType';\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 = /*#__PURE__*/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 ? {\n disableBackdropClick: disableBackdropClick\n } : {}, {\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 onMouseUp: 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 * @deprecated Use the onClose prop with the `reason` argument to filter the `backdropClick` events.\n */\n disableBackdropClick: deprecatedPropType(PropTypes.bool, 'Use the onClose prop with the `reason` argument to filter the `backdropClick` events.'),\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 * @deprecated Use the onClose prop with the `reason` argument to handle the `backdropClick` events.\n */\n onBackdropClick: deprecatedPropType(PropTypes.func, 'Use the onClose prop with the `reason` argument to handle the `backdropClick` events.'),\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 * @deprecated Use the `TransitionProps` prop instead.\n */\n onEnter: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog has entered.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEntered: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog is entering.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEntering: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the escape key is pressed,\n * `disableKeyboard` is false and the modal is in focus.\n * @deprecated Use the onClose prop with the `reason` argument to handle the `escapeKeyDown` events.\n */\n onEscapeKeyDown: deprecatedPropType(PropTypes.func, 'Use the onClose prop with the `reason` argument to handle the `escapeKeyDown` events.'),\n\n /**\n * Callback fired before the dialog exits.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExit: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog has exited.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExited: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog is exiting.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExiting: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\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);","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 = /*#__PURE__*/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);","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 = /*#__PURE__*/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);","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 = /*#__PURE__*/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 // ----------------------------- 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} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogContentText'\n})(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 = /*#__PURE__*/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);","import { createStyles } from \"../Utilities/ThemeHelper\";\nexport const styles = createStyles(theme => ({\n dialog: {\n borderRadius: 1,\n maxHeight: \"calc(100% - 96px)\",\n // If this is changed, update calculateHeight() in Dialog.js\n ...theme.scrollbars?.main\n },\n dialogContent: {\n paddingBottom: theme.spacing(3),\n // If this is changed, update calculateHeight() in Dialog.js\n position: \"relative\",\n ...theme.scrollbars?.main,\n minHeight: 0\n },\n dialogContentMaxHeightTransition: {\n transition: theme.transitions.create([\"min-height\"])\n },\n closeButton: {\n position: \"absolute\",\n right: theme.spacing(2),\n top: theme.spacing(2)\n },\n title: {\n padding: \"26px 86px 16px 25px\"\n },\n buttons: {\n margin: 0,\n padding: theme.spacing(2)\n }\n}));","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport MuiDialog from \"@material-ui/core/Dialog\";\nimport MuiDialogActions from \"@material-ui/core/DialogActions\";\nimport MuiDialogContent from \"@material-ui/core/DialogContent\";\nimport MuiDialogContentText from \"@material-ui/core/DialogContentText\";\nimport MuiDialogTitle from \"@material-ui/core/DialogTitle\";\nimport { withStyles } from \"@material-ui/core/styles\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport classNames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport deprecated from \"prop-types-extra/lib/deprecated\";\nimport React, { Component } from \"react\";\nimport Button from \"../Button\";\nimport ButtonGroup from \"../ButtonGroup\";\nimport Typography from \"../Typography\";\nimport { promiseViaComponent } from \"../Utilities/ReactHelper\";\nimport { styles } from \"./styles\";\nclass Dialog extends Component {\n constructor(props) {\n super(props);\n // This fires when the dialog opens. We want to wait for it to open to find its height.\n _defineProperty(this, \"handleEntered\", () => {\n // Trigger the onEntered function passed as a prop\n if (typeof this.props.onEntered === \"function\") this.props.onEntered();\n if (this.props.fullHeight) this.calculateHeight();\n });\n _defineProperty(this, \"calculateHeight\", () => {\n const titleHeight = this.titleRef.current ? this.titleRef.current.offsetHeight : 0;\n const actionsHeight = this.actionsRef.current ? this.actionsRef.current.offsetHeight : 0;\n\n // These values come from styles, if they are changed update here too\n const newMinHeight = \"calc(100vh - 96px - 24px - \" + titleHeight + \"px - \" + actionsHeight + \"px\";\n if (this.state.minHeight !== newMinHeight) {\n this.setState({\n transitioningHeight: true\n });\n this.setState({\n minHeight: newMinHeight\n });\n this.timeoutObject = setTimeout(() => {\n this.setState({\n transitioningHeight: false\n });\n }, 500);\n }\n });\n _defineProperty(this, \"componentDidUpdate\", () => {\n const {\n open,\n fullHeight\n } = this.props;\n if (open && fullHeight) {\n this.calculateHeight();\n }\n });\n _defineProperty(this, \"componentWillUnmount\", () => {\n clearTimeout(this.timeoutObject);\n });\n _defineProperty(this, \"render\", () => {\n const {\n actions,\n content,\n children,\n id,\n fullWidth,\n fullHeight,\n maxWidth,\n onClose,\n onEnter,\n onEntering,\n onExit,\n onExited,\n onExiting,\n open,\n title,\n className,\n classes,\n disableBackdropClick,\n BackdropProps,\n onBackdropClick,\n disableClose\n } = this.props;\n return /*#__PURE__*/React.createElement(MuiDialog, {\n id: id,\n open: open,\n className: classNames(\"prmbl-dialog\", className, classes.root),\n fullWidth: fullWidth,\n maxWidth: maxWidth,\n onBackdropClick: onBackdropClick,\n onClose: (event, reason) => {\n if (disableBackdropClick && reason === \"backdropClick\") {\n return;\n }\n if (onClose) onClose(event, reason);\n },\n TransitionProps: {\n onEnter: onEnter,\n onEntered: this.handleEntered,\n onEntering: onEntering,\n onExit: onExit,\n onExited: onExited,\n onExiting: onExiting,\n role: \"dialog\",\n \"aria-labelledby\": id ? `${id}-title` : undefined,\n \"aria-label\": id ? undefined : title\n },\n classes: {\n paper: classes.dialog\n },\n disableBackdropClick: disableBackdropClick,\n BackdropProps: BackdropProps,\n role: \"none\" // The transition holds the role for the dialog\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: this.titleRef\n }, /*#__PURE__*/React.createElement(MuiDialogTitle, {\n id: id ? `${id}-title` : undefined,\n className: classNames(\"prmbl-dialog-title\", classes.title),\n disableTypography: true\n }, /*#__PURE__*/React.createElement(Typography, {\n component: \"h1\",\n variant: \"h6\"\n }, title))), /*#__PURE__*/React.createElement(Button, {\n type: \"icon\",\n size: \"small\",\n disabled: disableClose,\n onClick: onClose,\n className: classNames(\"prmbl-dialog-close\", classes.closeButton),\n title: \"Close this Dialog\"\n }, /*#__PURE__*/React.createElement(CloseIcon, null)), /*#__PURE__*/React.createElement(MuiDialogContent, {\n className: classNames(\"prmbl-dialog-content\", classes.dialogContent, {\n [classes.dialogContentMaxHeightTransition]: fullHeight && this.state.transitioningHeight\n }),\n style: fullHeight ? {\n minHeight: this.state.minHeight\n } : undefined\n }, typeof children === \"string\" || typeof content === \"string\" ? /*#__PURE__*/React.createElement(MuiDialogContentText, null, children || content) : /*#__PURE__*/React.createElement(React.Fragment, null, children || content)), actions && /*#__PURE__*/React.createElement(\"div\", {\n ref: this.actionsRef\n }, /*#__PURE__*/React.createElement(MuiDialogActions, {\n className: classNames(\"prmbl-dialog-actions\", classes.buttons)\n }, /*#__PURE__*/React.createElement(ButtonGroup, {\n layout: \"right\"\n }, actions))));\n });\n this.state = {\n minHeight: \"\",\n transitioningHeight: true\n };\n this.titleRef = /*#__PURE__*/React.createRef();\n this.actionsRef = /*#__PURE__*/React.createRef();\n this.timeoutObject = null;\n }\n}\n_defineProperty(Dialog, \"propTypes\", {\n /**\n * The actions for the dialog. Include JSX of buttons. These will already be wrapped in a ButtonGroup for modal purposes.\n *\n * The primary action should use color=\"primary\", be the first item, and should be descriptive.\n */\n actions: PropTypes.node,\n /**\n * The html id\n */\n id: PropTypes.string,\n /**\n * @deprecated\n * Use a child node instead\n */\n content: deprecated(PropTypes.node, \"This Dialog uses the deprecated `content` prop. Use a child node instead.\"),\n /**\n * The dialog content. Explain the situation, and prompt the user to choose a relevant action\n */\n children: PropTypes.node,\n /**\n * If `true`, the dialog stretches to `maxWidth`.\n */\n fullWidth: PropTypes.bool,\n /**\n * If `true`, the dialog stretches to the viewport height.\n */\n fullHeight: PropTypes.bool,\n /**\n * Determine the max width of the dialog. The dialog width grows with the size of the screen,\n * this property is useful on the desktop where you might need some coherent different width size across your application.\n * Set to `false` to disable `maxWidth`.\n */\n maxWidth: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\", \"xl\", false]),\n /**\n *Callback fired when the component requests to be closed.\n *\n ***Signature**: `function(event: object) => void`\n *\n * *event*: The event source of the callback\n */\n onClose: PropTypes.func.isRequired,\n /**\n *Callback fired before the dialog enters.\n */\n onEnter: PropTypes.func,\n /**\n *Callback fired when the dialog has entered.\n */\n onEntered: PropTypes.func,\n /**\n *\tCallback fired when the dialog is entering.\n */\n onEntering: PropTypes.func,\n /**\n *Callback fired before the dialog exits.\n */\n onExit: PropTypes.func,\n /**\n *Callback fired when the dialog has exited.\n */\n onExited: PropTypes.func,\n /**\n *Callback fired when the dialog is exiting.\n */\n onExiting: PropTypes.func,\n /**\n *If `true`, the Dialog is open.\n */\n open: PropTypes.bool.isRequired,\n /**\n * The title of the dialog. This should be short, self-describing, and title case. Avoid questions when possible.\n */\n title: PropTypes.string.isRequired,\n /**\n * Classes to apply to the root\n */\n className: PropTypes.string,\n /**\n * @ignore\n *\n * Utilizing this to style up the page don't want to expose this in the style guide.\n * Auto-populated by material-ui withStyles()\n */\n classes: PropTypes.object.isRequired,\n /**\n * If true, backdrop will not call the onClose function.\n */\n disableBackdropClick: PropTypes.bool,\n /**\n * Props applied to the Backdrop element.\n */\n BackdropProps: PropTypes.object,\n /**\n * @deprecated\n * Function to be called after the backdrop is clicked. Will call before the onClose function is called.\n */\n onBackdropClick: deprecated(PropTypes.func, \"Use onClose with reason === backdropClick\"),\n /**\n * If true, the close button will be disabled\n */\n disableClose: PropTypes.bool\n});\n_defineProperty(Dialog, \"defaultProps\", {\n fullWidth: false,\n fullHeight: false,\n maxWidth: \"sm\"\n});\nconst DialogStyled = withStyles(styles)(Dialog);\nexport { Dialog };\nexport const dialogConfirm = message => {\n return promiseViaComponent((close, resolve, reject, id) => /*#__PURE__*/React.createElement(DialogStyled, {\n actions: [/*#__PURE__*/React.createElement(Button, {\n id: id + \"-button-confirm\",\n key: id + \"-button-confirm\",\n onClick: () => {\n resolve(true);\n },\n color: \"primary\"\n }, \"OK\"), /*#__PURE__*/React.createElement(Button, {\n id: id + \"-button-cancel\",\n key: id + \"-button-cancel\",\n onClick: () => {\n resolve(false);\n }\n }, \"Cancel\")],\n id: id + \"-confirmation\",\n onClose: () => {\n resolve(false);\n },\n open: true,\n title: \"Confirmation\"\n }, message));\n};\nexport default DialogStyled;","\"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\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');\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\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Close');\n\nexports.default = _default;"],"names":["styles","createStyles","theme","root","display","verticalAlign","standardButtonDropDown","secondaryButton","justifyContent","standardArrowButton","borderRadius","padding","spacing","primaryArrow","buttonMenu","itemWrap","fullWidth","width","menuItem","menuButtonRoot","backgroundColor","palette","grey","color","getContrastText","borderLeft","divider","disabled","action","disabledBackground","primary","main","contrastText","secondary","menuButton","inherit","ButtonDropDown","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","_this$props","props","options","id","className","classes","renderedOptions","_toConsumableArray","defaultOption","shift","calculatedColor","primaryClassName","undefined","React","classNames","_defineProperty2","Button","_extends","Menu","item","paper","button","icon","ArrowDropDown","type","items","map","option","index","children","onClick","_createClass","Component","PropTypes","isRequired","component","href","size","variant","openInNewWindow","withStyles","makeStyles","marginBottom","alignLeft","marginRight","alignRight","marginLeft","alignCenter","margin","rightButtons","textAlign","justifiedButtons","flex","centerButtons","splitButton","flexGrow","stackedButton","ButtonGroup","_classNames","_classNames2","layout","otherProps","_objectWithoutProperties","_excluded","useStyles","buttonClassNames","Child","console","error","defaultProps","defaultTransitionDuration","enter","duration","enteringScreen","exit","leavingScreen","Dialog","ref","BackdropProps","_props$disableBackdro","disableBackdropClick","_props$disableEscapeK","disableEscapeKeyDown","_props$fullScreen","fullScreen","_props$fullWidth","_props$maxWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","_props$PaperComponent","PaperComponent","Paper","_props$PaperProps","PaperProps","_props$scroll","scroll","_props$TransitionComp","TransitionComponent","Fade","_props$transitionDura","transitionDuration","TransitionProps","ariaDescribedby","ariaLabelledby","other","mouseDownTarget","Modal","clsx","BackdropComponent","Backdrop","closeAfterTransition","appear","in","timeout","role","container","capitalize","onMouseUp","event","target","currentTarget","current","onMouseDown","elevation","String","paperFullScreen","paperFullWidth","position","scrollPaper","alignItems","scrollBody","overflowY","overflowX","content","height","outline","boxShadow","paperScrollPaper","flexDirection","maxHeight","paperScrollBody","paperWidthFalse","paperWidthXs","Math","max","breakpoints","values","xs","down","paperWidthSm","sm","paperWidthMd","md","paperWidthLg","lg","paperWidthXl","xl","name","DialogActions","_props$disableSpacing","disableSpacing","DialogContent","_props$dividers","dividers","WebkitOverflowScrolling","paddingTop","borderTop","borderBottom","DialogContentText","Typography","DialogTitle","_props$disableTypogra","disableTypography","_theme$scrollbars","_theme$scrollbars2","dialog","_objectSpread","scrollbars","dialogContent","paddingBottom","minHeight","dialogContentMaxHeightTransition","transition","transitions","create","closeButton","right","top","title","buttons","fullHeight","calculateHeight","newMinHeight","titleRef","offsetHeight","actionsRef","state","setState","transitioningHeight","timeoutObject","setTimeout","clearTimeout","_this$props2","actions","disableClose","MuiDialog","reason","handleEntered","MuiDialogTitle","CloseIcon","MuiDialogContent","style","MuiDialogContentText","MuiDialogActions","deprecated","DialogStyled","_interopRequireDefault","require","_interopRequireWildcard","exports","_default","default","createElement","d"],"sourceRoot":""}