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OA,EACPC,UAAWA,EACXE,aAAcA,EACdD,gBAAiBA,EACjBE,eAAgB,EAAS,GAAIN,GAAUS,EAAazL,aAErD,CAACkL,EAAOG,EAAcD,EAAiBD,EAAWM,M,iBCzoBvD,IAEI9O,EAAU,aA2CdyP,EAAOC,QAAU1P","sources":["webpack://_N_E/./node_modules/@chakra-ui/close-button/dist/chakra-ui-close-button.esm.js","webpack://_N_E/./node_modules/@chakra-ui/alert/dist/chakra-ui-alert.esm.js","webpack://_N_E/./node_modules/@reach/visually-hidden/dist/reach-visually-hidden.esm.js","webpack://_N_E/./node_modules/@reach/utils/dist/reach-utils.esm.js","webpack://_N_E/./node_modules/@reach/alert/dist/reach-alert.esm.js","webpack://_N_E/./node_modules/@chakra-ui/toast/dist/chakra-ui-toast.esm.js","webpack://_N_E/./node_modules/warning/warning.js"],"sourcesContent":["import { Icon } from '@chakra-ui/icon';\nimport { forwardRef, useStyleConfig, omitThemingProps, chakra } from '@chakra-ui/system';\nimport { __DEV__ } from '@chakra-ui/utils';\nimport * as React from 'react';\n\nfunction _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\nfunction _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}\n\nvar _excluded = [\"children\", \"isDisabled\", \"__css\"];\n\nvar CloseIcon = function CloseIcon(props) {\n return /*#__PURE__*/React.createElement(Icon, _extends({\n focusable: \"false\",\n \"aria-hidden\": true\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z\"\n }));\n};\n\n/**\n * A button with a close icon.\n *\n * It is used to handle the close functionality in feedback and overlay components\n * like Alerts, Toasts, Drawers and Modals.\n */\nvar CloseButton = /*#__PURE__*/forwardRef(function (props, ref) {\n var styles = useStyleConfig(\"CloseButton\", props);\n\n var _omitThemingProps = omitThemingProps(props),\n children = _omitThemingProps.children,\n isDisabled = _omitThemingProps.isDisabled,\n __css = _omitThemingProps.__css,\n rest = _objectWithoutPropertiesLoose(_omitThemingProps, _excluded);\n\n var baseStyle = {\n outline: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: 0\n };\n return /*#__PURE__*/React.createElement(chakra.button, _extends({\n type: \"button\",\n \"aria-label\": \"Close\",\n ref: ref,\n disabled: isDisabled,\n __css: _extends({}, baseStyle, styles, __css)\n }, rest), children || /*#__PURE__*/React.createElement(CloseIcon, {\n width: \"1em\",\n height: \"1em\"\n }));\n});\n\nif (__DEV__) {\n CloseButton.displayName = \"CloseButton\";\n}\n\nexport { CloseButton };\n","import { forwardRef, omitThemingProps, useMultiStyleConfig, StylesProvider, chakra, useStyles } from '@chakra-ui/system';\nimport { cx } from '@chakra-ui/utils';\nimport { createContext } from '@chakra-ui/react-utils';\nimport * as React from 'react';\nimport { Icon } from '@chakra-ui/icon';\n\nfunction _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}\n\nfunction _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\nvar CheckIcon = function CheckIcon(props) {\n return /*#__PURE__*/React.createElement(Icon, _extends({\n viewBox: \"0 0 24 24\"\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z\"\n }));\n};\nvar InfoIcon = function InfoIcon(props) {\n return /*#__PURE__*/React.createElement(Icon, _extends({\n viewBox: \"0 0 24 24\"\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z\"\n }));\n};\nvar WarningIcon = function WarningIcon(props) {\n return /*#__PURE__*/React.createElement(Icon, _extends({\n viewBox: \"0 0 24 24\"\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z\"\n }));\n};\n\nvar _excluded = [\"status\"];\nvar STATUSES = {\n info: {\n icon: InfoIcon,\n colorScheme: \"blue\"\n },\n warning: {\n icon: WarningIcon,\n colorScheme: \"orange\"\n },\n success: {\n icon: CheckIcon,\n colorScheme: \"green\"\n },\n error: {\n icon: WarningIcon,\n colorScheme: \"red\"\n }\n};\n\nvar _createContext = createContext({\n name: \"AlertContext\",\n errorMessage: \"useAlertContext: `context` is undefined. Seems you forgot to wrap alert components in ``\"\n}),\n AlertProvider = _createContext[0],\n useAlertContext = _createContext[1];\n\n/**\n * Alert is used to communicate the state or status of a\n * page, feature or action\n */\nvar Alert = /*#__PURE__*/forwardRef(function (props, ref) {\n var _props$colorScheme;\n\n var _omitThemingProps = omitThemingProps(props),\n _omitThemingProps$sta = _omitThemingProps.status,\n status = _omitThemingProps$sta === void 0 ? \"info\" : _omitThemingProps$sta,\n rest = _objectWithoutPropertiesLoose(_omitThemingProps, _excluded);\n\n var colorScheme = (_props$colorScheme = props.colorScheme) != null ? _props$colorScheme : STATUSES[status].colorScheme;\n var styles = useMultiStyleConfig(\"Alert\", _extends({}, props, {\n colorScheme: colorScheme\n }));\n\n var alertStyles = _extends({\n width: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n position: \"relative\",\n overflow: \"hidden\"\n }, styles.container);\n\n return /*#__PURE__*/React.createElement(AlertProvider, {\n value: {\n status: status\n }\n }, /*#__PURE__*/React.createElement(StylesProvider, {\n value: styles\n }, /*#__PURE__*/React.createElement(chakra.div, _extends({\n role: \"alert\",\n ref: ref\n }, rest, {\n className: cx(\"chakra-alert\", props.className),\n __css: alertStyles\n }))));\n});\nvar AlertTitle = /*#__PURE__*/forwardRef(function (props, ref) {\n var styles = useStyles();\n return /*#__PURE__*/React.createElement(chakra.div, _extends({\n ref: ref\n }, props, {\n className: cx(\"chakra-alert__title\", props.className),\n __css: styles.title\n }));\n});\nvar AlertDescription = /*#__PURE__*/forwardRef(function (props, ref) {\n var styles = useStyles();\n\n var descriptionStyles = _extends({\n display: \"inline\"\n }, styles.description);\n\n return /*#__PURE__*/React.createElement(chakra.div, _extends({\n ref: ref\n }, props, {\n className: cx(\"chakra-alert__desc\", props.className),\n __css: descriptionStyles\n }));\n});\nvar AlertIcon = function AlertIcon(props) {\n var _useAlertContext = useAlertContext(),\n status = _useAlertContext.status;\n\n var BaseIcon = STATUSES[status].icon;\n var styles = useStyles();\n return /*#__PURE__*/React.createElement(chakra.span, _extends({\n display: \"inherit\"\n }, props, {\n className: cx(\"chakra-alert__icon\", props.className),\n __css: styles.icon\n }), /*#__PURE__*/React.createElement(BaseIcon, {\n w: \"100%\",\n h: \"100%\"\n }));\n};\n\nexport { Alert, AlertDescription, AlertIcon, AlertTitle };\n","import { forwardRef, createElement } from 'react';\nimport PropTypes from 'prop-types';\n\nfunction _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}\n\nfunction _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\n/**\n * VisuallyHidden\n *\n * Provides text for screen readers that is visually hidden.\n * It is the logical opposite of the `aria-hidden` attribute.\n */\n\nvar VisuallyHidden = /*#__PURE__*/forwardRef(function VisuallyHidden(_ref, ref) {\n var _ref$as = _ref.as,\n Comp = _ref$as === void 0 ? \"span\" : _ref$as,\n _ref$style = _ref.style,\n style = _ref$style === void 0 ? {} : _ref$style,\n props = _objectWithoutPropertiesLoose(_ref, [\"as\", \"style\"]);\n\n return /*#__PURE__*/createElement(Comp, _extends({\n ref: ref,\n style: _extends({\n border: 0,\n clip: \"rect(0 0 0 0)\",\n height: \"1px\",\n margin: \"-1px\",\n overflow: \"hidden\",\n padding: 0,\n position: \"absolute\",\n width: \"1px\",\n // https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\"\n }, style)\n }, props));\n});\n/**\n * @see Docs https://reach.tech/visually-hidden#visuallyhidden-props\n */\n\nif (process.env.NODE_ENV !== \"production\") {\n VisuallyHidden.displayName = \"VisuallyHidden\";\n VisuallyHidden.propTypes = {\n as: PropTypes.any,\n children: PropTypes.node\n };\n} ////////////////////////////////////////////////////////////////////////////////\n\nexport default VisuallyHidden;\nexport { VisuallyHidden };\n","import * as React from 'react';\nimport { useLayoutEffect, useEffect, isValidElement, cloneElement, createContext, forwardRef, memo, useRef, useState, useCallback, useMemo } from 'react';\nimport fbWarning from 'warning';\n\n/* eslint-disable no-restricted-globals, eqeqeq */\n\n/**\n * React currently throws a warning when using useLayoutEffect on the server.\n * To get around it, we can conditionally useEffect on the server (no-op) and\n * useLayoutEffect in the browser. We occasionally need useLayoutEffect to\n * ensure we don't get a render flash for certain operations, but we may also\n * need affected components to render on the server. One example is when setting\n * a component's descendants to retrieve their index values.\n *\n * Important to note that using this hook as an escape hatch will break the\n * eslint dependency warnings unless you rename the import to `useLayoutEffect`.\n * Use sparingly only when the effect won't effect the rendered HTML to avoid\n * any server/client mismatch.\n *\n * If a useLayoutEffect is needed and the result would create a mismatch, it's\n * likely that the component in question shouldn't be rendered on the server at\n * all, so a better approach would be to lazily render those in a parent\n * component after client-side hydration.\n *\n * TODO: We are calling useLayoutEffect in a couple of places that will likely\n * cause some issues for SSR users, whether the warning shows or not. Audit and\n * fix these.\n *\n * https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * https://github.com/reduxjs/react-redux/blob/master/src/utils/useIsomorphicLayoutEffect.js\n *\n * @param effect\n * @param deps\n */\nvar useIsomorphicLayoutEffect = /*#__PURE__*/canUseDOM() ? useLayoutEffect : useEffect;\nvar checkedPkgs = {};\n/**\n * Copy of Facebook's warning package.\n *\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical paths.\n * Removing the logging code for production environments will keep the same\n * logic and follow the same code paths.\n *\n * @see https://github.com/BerkeleyTrue/warning/blob/master/warning.js\n */\n\nvar warning = fbWarning;\n/**\n * When in dev mode, checks that styles for a given @reach package are loaded.\n *\n * @param packageName Name of the package to check.\n * @example checkStyles(\"dialog\") will check for styles for @reach/dialog\n */\n\nvar checkStyles = noop;\n\nif (process.env.NODE_ENV !== \"production\") {\n // In CJS files, process.env.NODE_ENV is stripped from our build, but we need\n // it to prevent style checks from clogging up user logs while testing.\n // This is a workaround until we can tweak the build a bit to accommodate.\n var _ref = typeof process !== \"undefined\" ? process : {\n env: {\n NODE_ENV: \"development\"\n }\n },\n env = _ref.env;\n\n checkStyles = function checkStyles(packageName) {\n // only check once per package\n if (checkedPkgs[packageName]) return;\n checkedPkgs[packageName] = true;\n\n if (env.NODE_ENV !== \"test\" && parseInt(window.getComputedStyle(document.body).getPropertyValue(\"--reach-\" + packageName), 10) !== 1) {\n console.warn(\"@reach/\" + packageName + \" styles not found. If you are using a bundler like webpack or parcel include this in the entry file of your app before any of your own styles:\\n\\n import \\\"@reach/\" + packageName + \"/styles.css\\\";\\n\\n Otherwise you'll need to include them some other way:\\n\\n \\n\\n For more information visit https://ui.reach.tech/styling.\\n \");\n }\n };\n}\n/**\n * Ponyfill for the global object in some environments.\n *\n * @link https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n */\n\nvar ponyfillGlobal = typeof window != \"undefined\" && window.Math == Math ? window : typeof self != \"undefined\" && self.Math == Math ? self :\n/*#__PURE__*/\n// eslint-disable-next-line no-new-func\nFunction(\"return this\")();\n/**\n * Passes or assigns an arbitrary value to a ref function or object.\n *\n * @param ref\n * @param value\n */\n\nfunction assignRef(ref, value) {\n if (ref == null) return;\n\n if (isFunction(ref)) {\n ref(value);\n } else {\n try {\n ref.current = value;\n } catch (error) {\n throw new Error(\"Cannot assign value \\\"\" + value + \"\\\" to ref \\\"\" + ref + \"\\\"\");\n }\n }\n}\n/**\n * Checks true|\"true\" vs false|\"false\"\n *\n * @param value\n */\n\nfunction boolOrBoolString(value) {\n return value === \"true\" ? true : isBoolean(value) ? value : false;\n}\nfunction canUseDOM() {\n return !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\n}\n/**\n * Type-safe clone element\n *\n * @param element\n * @param props\n * @param children\n */\n\nfunction cloneValidElement(element, props) {\n for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n children[_key - 2] = arguments[_key];\n }\n\n return /*#__PURE__*/isValidElement(element) ? cloneElement.apply(React, [element, props].concat(children)) : element;\n}\nfunction createNamedContext(name, defaultValue) {\n var Ctx = /*#__PURE__*/createContext(defaultValue);\n Ctx.displayName = name;\n return Ctx;\n}\n/**\n * This is a hack for sure. The thing is, getting a component to intelligently\n * infer props based on a component or JSX string passed into an `as` prop is\n * kind of a huge pain. Getting it to work and satisfy the constraints of\n * `forwardRef` seems dang near impossible. To avoid needing to do this awkward\n * type song-and-dance every time we want to forward a ref into a component\n * that accepts an `as` prop, we abstract all of that mess to this function for\n * the time time being.\n */\n\nfunction forwardRefWithAs(render) {\n return /*#__PURE__*/forwardRef(render);\n}\nfunction memoWithAs(Component, propsAreEqual) {\n return /*#__PURE__*/memo(Component, propsAreEqual);\n}\n/**\n * Get the size of the working document minus the scrollbar offset.\n *\n * @param element\n */\n\nfunction getDocumentDimensions(element) {\n var _ownerDocument$docume, _ownerDocument$docume2;\n\n var ownerDocument = getOwnerDocument(element);\n var ownerWindow = ownerDocument.defaultView || window;\n\n if (!ownerDocument) {\n return {\n width: 0,\n height: 0\n };\n }\n\n return {\n width: (_ownerDocument$docume = ownerDocument.documentElement.clientWidth) != null ? _ownerDocument$docume : ownerWindow.innerWidth,\n height: (_ownerDocument$docume2 = ownerDocument.documentElement.clientHeight) != null ? _ownerDocument$docume2 : ownerWindow.innerHeight\n };\n}\n/**\n * Get the scoll position of the global window object relative to a given node.\n *\n * @param element\n */\n\nfunction getScrollPosition(element) {\n var ownerDocument = getOwnerDocument(element);\n var ownerWindow = ownerDocument.defaultView || window;\n\n if (!ownerDocument) {\n return {\n scrollX: 0,\n scrollY: 0\n };\n }\n\n return {\n scrollX: ownerWindow.scrollX,\n scrollY: ownerWindow.scrollY\n };\n}\n/**\n * Get a computed style value by property.\n *\n * @param element\n * @param styleProp\n */\n\nfunction getElementComputedStyle(element, styleProp) {\n var ownerDocument = getOwnerDocument(element);\n var ownerWindow = (ownerDocument == null ? void 0 : ownerDocument.defaultView) || window;\n\n if (ownerWindow) {\n return ownerWindow.getComputedStyle(element, null).getPropertyValue(styleProp);\n }\n\n return null;\n}\n/**\n * Get an element's owner document. Useful when components are used in iframes\n * or other environments like dev tools.\n *\n * @param element\n */\n\nfunction getOwnerDocument(element) {\n return canUseDOM() ? element ? element.ownerDocument : document : null;\n}\n/**\n * TODO: Remove in 1.0\n */\n\nfunction getOwnerWindow(element) {\n var ownerDocument = getOwnerDocument(element);\n return ownerDocument ? ownerDocument.defaultView || window : null;\n}\n/**\n * Get the scrollbar offset distance.\n *\n * TODO: Remove in 1.0 (we used this in public examples)\n */\n\nfunction getScrollbarOffset() {\n try {\n if (window.innerWidth > document.documentElement.clientWidth) {\n return window.innerWidth - document.documentElement.clientWidth;\n }\n } catch (err) {}\n\n return 0;\n}\n/**\n * Checks whether or not a value is a boolean.\n *\n * @param value\n */\n\nfunction isBoolean(value) {\n return typeof value === \"boolean\";\n}\n/**\n * Checks whether or not a value is a function.\n *\n * @param value\n */\n\nfunction isFunction(value) {\n return !!(value && {}.toString.call(value) == \"[object Function]\");\n}\n/**\n * Checks whether or not a value is a number.\n *\n * @param value\n */\n\nfunction isNumber(value) {\n return typeof value === \"number\" && !isNaN(value);\n}\n/**\n * Detects right clicks\n *\n * @param nativeEvent\n */\n\nfunction isRightClick(nativeEvent) {\n return \"which\" in nativeEvent ? nativeEvent.which === 3 : \"button\" in nativeEvent ? nativeEvent.button === 2 : false;\n}\n/**\n * Checks whether or not a value is a string.\n *\n * @param value\n */\n\nfunction isString(value) {\n return typeof value === \"string\";\n}\n/**\n * Joins strings to format IDs for compound components.\n *\n * @param args\n */\n\nfunction makeId() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return args.filter(function (val) {\n return val != null;\n }).join(\"--\");\n}\n/**\n * No-op function.\n */\n\nfunction noop() {}\n/**\n * Convert our state strings for HTML data attributes.\n * No need for a fancy kebab-caser here, we know what our state strings are!\n *\n * @param state\n */\n\nfunction stateToAttributeString(state) {\n return String(state).replace(/([\\s_]+)/g, \"-\").toLowerCase();\n}\n/**\n * Check if a component is controlled or uncontrolled and return the correct\n * state value and setter accordingly. If the component state is controlled by\n * the app, the setter is a noop.\n *\n * @param controlledValue\n * @param defaultValue\n */\n\nfunction useControlledState(controlledValue, defaultValue) {\n var controlledRef = useRef(controlledValue != null);\n\n var _React$useState = useState(defaultValue),\n valueState = _React$useState[0],\n setValue = _React$useState[1];\n\n var set = useCallback(function (n) {\n if (!controlledRef.current) {\n setValue(n);\n }\n }, []);\n return [controlledRef.current ? controlledValue : valueState, set];\n}\n/**\n * Logs a warning in dev mode when a component switches from controlled to\n * uncontrolled, or vice versa\n *\n * A single prop should typically be used to determine whether or not a\n * component is controlled or not.\n *\n * @param controlledValue\n * @param controlledPropName\n * @param componentName\n */\n\nvar useControlledSwitchWarning = noop;\n\nif (process.env.NODE_ENV !== \"production\") {\n useControlledSwitchWarning = function useControlledSwitchWarning(controlledValue, controlledPropName, componentName) {\n var controlledRef = useRef(controlledValue != null);\n var nameCache = useRef({\n componentName: componentName,\n controlledPropName: controlledPropName\n });\n useEffect(function () {\n nameCache.current = {\n componentName: componentName,\n controlledPropName: controlledPropName\n };\n }, [componentName, controlledPropName]);\n useEffect(function () {\n var wasControlled = controlledRef.current;\n var _nameCache$current = nameCache.current,\n componentName = _nameCache$current.componentName,\n controlledPropName = _nameCache$current.controlledPropName;\n var isControlled = controlledValue != null;\n\n if (wasControlled !== isControlled) {\n console.error(\"A component is changing an \" + (wasControlled ? \"\" : \"un\") + \"controlled `\" + controlledPropName + \"` state of \" + componentName + \" to be \" + (wasControlled ? \"un\" : \"\") + \"controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled \" + componentName + \" element for the lifetime of the component.\\nMore info: https://fb.me/react-controlled-components\");\n }\n }, [controlledValue]);\n };\n}\nvar useCheckStyles = noop;\n\nif (process.env.NODE_ENV !== \"production\") {\n useCheckStyles = function useCheckStyles(pkg) {\n var name = useRef(pkg);\n useEffect(function () {\n return void (name.current = pkg);\n }, [pkg]);\n useEffect(function () {\n return checkStyles(name.current);\n }, []);\n };\n}\n/**\n * React hook for creating a value exactly once.\n * @see https://github.com/Andarist/use-constant\n */\n\nfunction useConstant(fn) {\n var ref = useRef();\n\n if (!ref.current) {\n ref.current = {\n v: fn()\n };\n }\n\n return ref.current.v;\n}\n/**\n * @param callback\n */\n\nfunction useEventCallback(callback) {\n var ref = useRef(callback);\n useIsomorphicLayoutEffect(function () {\n ref.current = callback;\n });\n return useCallback(function (event) {\n for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n\n return ref.current.apply(ref, [event].concat(args));\n }, []);\n}\nfunction useLazyRef(fn) {\n var ref = useRef({\n __internalSet: true\n });\n\n if (ref.current && ref.current.__internalSet === true) {\n ref.current = fn();\n }\n\n return ref;\n}\n/**\n * TODO: Remove in 1.0\n * @alias useStableCallback\n * @param callback\n */\n\nvar useCallbackProp = useStableCallback;\n/**\n * Adds a DOM event listener\n *\n * @param eventName\n * @param listener\n * @param element\n */\n\nfunction useEventListener(eventName, listener, element) {\n if (element === void 0) {\n element = window;\n }\n\n var savedHandler = useRef(listener);\n useEffect(function () {\n savedHandler.current = listener;\n }, [listener]);\n useEffect(function () {\n var isSupported = element && element.addEventListener;\n\n if (!isSupported) {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"Event listener not supported on the element provided\");\n }\n\n return;\n }\n\n function eventListener(event) {\n savedHandler.current(event);\n }\n\n element.addEventListener(eventName, eventListener);\n return function () {\n element.removeEventListener(eventName, eventListener);\n };\n }, [eventName, element]);\n}\n/**\n * Detect when focus changes in our document.\n *\n * @param handleChange\n * @param when\n * @param ownerDocument\n */\n\nfunction useFocusChange(handleChange, when, ownerDocument) {\n if (handleChange === void 0) {\n handleChange = console.log;\n }\n\n if (when === void 0) {\n when = \"focus\";\n }\n\n if (ownerDocument === void 0) {\n ownerDocument = document;\n }\n\n var lastActiveElement = useRef(ownerDocument.activeElement);\n useEffect(function () {\n lastActiveElement.current = ownerDocument.activeElement;\n\n function onChange(event) {\n if (lastActiveElement.current !== ownerDocument.activeElement) {\n handleChange(ownerDocument.activeElement, lastActiveElement.current, event);\n lastActiveElement.current = ownerDocument.activeElement;\n }\n }\n\n ownerDocument.addEventListener(when, onChange, true);\n return function () {\n ownerDocument.removeEventListener(when, onChange);\n };\n }, [when, handleChange, ownerDocument]);\n}\n/**\n * Forces a re-render, similar to `forceUpdate` in class components.\n */\n\nfunction useForceUpdate() {\n var _React$useState2 = useState(Object.create(null)),\n dispatch = _React$useState2[1];\n\n return useCallback(function () {\n dispatch(Object.create(null));\n }, []);\n}\n/**\n * Passes or assigns a value to multiple refs (typically a DOM node). Useful for\n * dealing with components that need an explicit ref for DOM calculations but\n * also forwards refs assigned by an app.\n *\n * @param refs Refs to fork\n */\n\nfunction useForkedRef() {\n for (var _len4 = arguments.length, refs = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n refs[_key4] = arguments[_key4];\n }\n\n return useMemo(function () {\n if (refs.every(function (ref) {\n return ref == null;\n })) {\n return null;\n }\n\n return function (node) {\n refs.forEach(function (ref) {\n assignRef(ref, node);\n });\n }; // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [].concat(refs));\n}\n/**\n * Returns the previous value of a reference after a component update.\n *\n * @param value\n */\n\nfunction usePrevious(value) {\n var ref = useRef(null);\n useEffect(function () {\n ref.current = value;\n }, [value]);\n return ref.current;\n}\n/**\n * Converts a callback to a ref to avoid triggering re-renders when passed as a\n * prop and exposed as a stable function to avoid executing effects when\n * passed as a dependency.\n */\n\nfunction useStableCallback(callback) {\n var callbackRef = useRef(callback);\n useEffect(function () {\n callbackRef.current = callback;\n }); // eslint-disable-next-line react-hooks/exhaustive-deps\n\n return useCallback(function () {\n callbackRef.current && callbackRef.current.apply(callbackRef, arguments);\n }, []);\n}\n/**\n * Call an effect after a component update, skipping the initial mount.\n *\n * @param effect Effect to call\n * @param deps Effect dependency list\n */\n\nfunction useUpdateEffect(effect, deps) {\n var mounted = useRef(false);\n useEffect(function () {\n if (mounted.current) {\n effect();\n } else {\n mounted.current = true;\n } // eslint-disable-next-line react-hooks/exhaustive-deps\n\n }, deps);\n}\n/**\n * Just a lil state logger\n *\n * @param state\n * @param DEBUG\n */\n\nvar useStateLogger = noop;\n\nif (process.env.NODE_ENV !== \"production\") {\n useStateLogger = function useStateLogger(state, DEBUG) {\n if (DEBUG === void 0) {\n DEBUG = false;\n }\n\n var debugRef = useRef(DEBUG);\n useEffect(function () {\n debugRef.current = DEBUG;\n }, [DEBUG]);\n useEffect(function () {\n if (debugRef.current) {\n console.group(\"State Updated\");\n console.log(\"%c\" + state, \"font-weight: normal; font-size: 120%; font-style: italic;\");\n console.groupEnd();\n }\n }, [state]);\n };\n}\n/**\n * Wraps a lib-defined event handler and a user-defined event handler, returning\n * a single handler that allows a user to prevent lib-defined handlers from\n * firing.\n *\n * @param theirHandler User-supplied event handler\n * @param ourHandler Library-supplied event handler\n */\n\nfunction wrapEvent(theirHandler, ourHandler) {\n return function (event) {\n theirHandler && theirHandler(event);\n\n if (!event.defaultPrevented) {\n return ourHandler(event);\n }\n };\n} // Export types\n\nexport { assignRef, boolOrBoolString, canUseDOM, checkStyles, cloneValidElement, createNamedContext, forwardRefWithAs, getDocumentDimensions, getElementComputedStyle, getOwnerDocument, getOwnerWindow, getScrollPosition, getScrollbarOffset, isBoolean, isFunction, isNumber, isRightClick, isString, makeId, memoWithAs, noop, ponyfillGlobal, stateToAttributeString, useCallbackProp, useCheckStyles, useConstant, useControlledState, useControlledSwitchWarning, useEventCallback, useEventListener, useFocusChange, useForceUpdate, useForkedRef, useIsomorphicLayoutEffect, useLazyRef, usePrevious, useStableCallback, useStateLogger, useUpdateEffect, warning, wrapEvent };\n","import { useRef, useMemo, createElement, useEffect, cloneElement } from 'react';\nimport { render } from 'react-dom';\nimport { VisuallyHidden } from '@reach/visually-hidden';\nimport { forwardRefWithAs, useForkedRef, usePrevious, getOwnerDocument } from '@reach/utils';\nimport PropTypes from 'prop-types';\n\nfunction _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}\n\nfunction _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\n/*\n * Singleton state is fine because you don't server render\n * an alert (SRs don't read them on first load anyway)\n */\n\nvar keys = {\n polite: -1,\n assertive: -1\n};\nvar elements = {\n polite: {},\n assertive: {}\n};\nvar liveRegions = {\n polite: null,\n assertive: null\n};\nvar renderTimer; ////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Alert\n *\n * Screen-reader-friendly alert messages. In many apps developers add \"alert\"\n * messages when network events or other things happen. Users with assistive\n * technologies may not know about the message unless you develop for it.\n *\n * @see Docs https://reach.tech/alert\n */\n\nvar Alert = /*#__PURE__*/forwardRefWithAs(function Alert(_ref, forwardedRef) {\n var _ref$as = _ref.as,\n Comp = _ref$as === void 0 ? \"div\" : _ref$as,\n children = _ref.children,\n _ref$type = _ref.type,\n regionType = _ref$type === void 0 ? \"polite\" : _ref$type,\n props = _objectWithoutPropertiesLoose(_ref, [\"as\", \"children\", \"type\"]);\n\n var ownRef = useRef(null);\n var ref = useForkedRef(forwardedRef, ownRef);\n var child = useMemo(function () {\n return /*#__PURE__*/createElement(Comp, _extends({}, props, {\n ref: ref,\n \"data-reach-alert\": true\n }), children);\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n [children, props]);\n useMirrorEffects(regionType, child, ownRef);\n return child;\n});\n/**\n * @see Docs https://reach.tech/alert#alert-props\n */\n\nif (process.env.NODE_ENV !== \"production\") {\n Alert.displayName = \"Alert\";\n Alert.propTypes = {\n children: PropTypes.node,\n type: /*#__PURE__*/PropTypes.oneOf([\"assertive\", \"polite\"])\n };\n} ////////////////////////////////////////////////////////////////////////////////\n\n\nfunction createMirror(type, doc) {\n var key = ++keys[type];\n\n var mount = function mount(element) {\n if (liveRegions[type]) {\n elements[type][key] = element;\n renderAlerts();\n } else {\n var node = doc.createElement(\"div\");\n node.setAttribute(\"data-reach-live-\" + type, \"true\");\n liveRegions[type] = node;\n doc.body.appendChild(liveRegions[type]);\n mount(element);\n }\n };\n\n var update = function update(element) {\n elements[type][key] = element;\n renderAlerts();\n };\n\n var unmount = function unmount() {\n delete elements[type][key];\n renderAlerts();\n };\n\n return {\n mount: mount,\n update: update,\n unmount: unmount\n };\n}\n\nfunction renderAlerts() {\n if (renderTimer != null) {\n window.clearTimeout(renderTimer);\n }\n\n renderTimer = window.setTimeout(function () {\n Object.keys(elements).forEach(function (elementType) {\n var regionType = elementType;\n var container = liveRegions[regionType];\n\n if (container) {\n render( /*#__PURE__*/createElement(VisuallyHidden, {\n as: \"div\"\n }, /*#__PURE__*/createElement(\"div\", {\n // The status role is a type of live region and a container whose\n // content is advisory information for the user that is not\n // important enough to justify an alert, and is often presented as\n // a status bar. When the role is added to an element, the browser\n // will send out an accessible status event to assistive\n // technology products which can then notify the user about it.\n // https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_status_role\n role: regionType === \"assertive\" ? \"alert\" : \"status\",\n \"aria-live\": regionType\n }, Object.keys(elements[regionType]).map(function (key) {\n return /*#__PURE__*/cloneElement(elements[regionType][key], {\n key: key,\n ref: null\n });\n }))), liveRegions[regionType]);\n }\n });\n }, 500);\n}\n\nfunction useMirrorEffects(regionType, element, ref) {\n var prevType = usePrevious(regionType);\n var mirror = useRef(null);\n var mounted = useRef(false);\n useEffect(function () {\n var ownerDocument = getOwnerDocument(ref.current);\n\n if (!mounted.current) {\n mounted.current = true;\n mirror.current = createMirror(regionType, ownerDocument);\n mirror.current.mount(element);\n } else if (prevType !== regionType) {\n mirror.current && mirror.current.unmount();\n mirror.current = createMirror(regionType, ownerDocument);\n mirror.current.mount(element);\n } else {\n mirror.current && mirror.current.update(element);\n }\n }, [element, regionType, prevType, ref]);\n useEffect(function () {\n return function () {\n mirror.current && mirror.current.unmount();\n };\n }, []);\n} ////////////////////////////////////////////////////////////////////////////////\n\nexport default Alert;\nexport { Alert };\n","import { Alert, AlertIcon, AlertTitle, AlertDescription } from '@chakra-ui/alert';\nimport { CloseButton } from '@chakra-ui/close-button';\nimport { useChakra, ThemeProvider, ColorModeContext, chakra } from '@chakra-ui/system';\nimport defaultTheme from '@chakra-ui/theme';\nimport { isFunction, __DEV__, objectKeys, isBrowser, noop } from '@chakra-ui/utils';\nimport { useUpdateEffect, useTimeout, useLatestRef } from '@chakra-ui/hooks';\nimport * as React from 'react';\nimport { render } from 'react-dom';\nimport { useIsPresent, motion, AnimatePresence } from 'framer-motion';\nimport ReachAlert from '@reach/alert';\n\nfunction _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}\n\nfunction _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}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n _setPrototypeOf(subClass, superClass);\n}\n\n/**\n * Given an array of toasts for a specific position.\n * It returns the toast that matches the `id` passed\n */\n/**\n * Given the toast manager state, finds the toast that matches\n * the id and return its position and index\n */\n\nfunction findToast(toasts, id) {\n var position = getToastPosition(toasts, id);\n var index = position ? toasts[position].findIndex(function (toast) {\n return toast.id === id;\n }) : -1;\n return {\n position: position,\n index: index\n };\n}\n/**\n * Given the toast manager state, finds the position of the toast that\n * matches the `id`\n */\n\nvar getToastPosition = function getToastPosition(toasts, id) {\n var _Object$values$flat$f;\n\n return (_Object$values$flat$f = Object.values(toasts).flat().find(function (toast) {\n return toast.id === id;\n })) == null ? void 0 : _Object$values$flat$f.position;\n};\n/**\n * Gets the styles to be applied to a toast's container\n * based on its position in the manager\n */\n\nfunction getToastStyle(position) {\n var isRighty = position.includes(\"right\");\n var isLefty = position.includes(\"left\");\n var alignItems = \"center\";\n if (isRighty) alignItems = \"flex-end\";\n if (isLefty) alignItems = \"flex-start\";\n return {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: alignItems\n };\n}\n\n/**\n * @todo After Gerrit refactors this implementation,\n * allow users to change the toast transition direction from\n * a `ToastProvider` component.\n *\n * Here's an API example:\n *\n * ```jsx\n * \n * \n * ```\n */\n\nvar toastMotionVariants = {\n initial: function initial(props) {\n var _ref;\n\n var position = props.position;\n var dir = [\"top\", \"bottom\"].includes(position) ? \"y\" : \"x\";\n var factor = [\"top-right\", \"bottom-right\"].includes(position) ? 1 : -1;\n if (position === \"bottom\") factor = 1;\n return _ref = {\n opacity: 0\n }, _ref[dir] = factor * 24, _ref;\n },\n animate: {\n opacity: 1,\n y: 0,\n x: 0,\n scale: 1,\n transition: {\n duration: 0.4,\n ease: [0.4, 0, 0.2, 1]\n }\n },\n exit: {\n opacity: 0,\n scale: 0.85,\n transition: {\n duration: 0.2,\n ease: [0.4, 0, 1, 1]\n }\n }\n};\nvar Toast$1 = function Toast(props) {\n var id = props.id,\n message = props.message,\n onCloseComplete = props.onCloseComplete,\n onRequestRemove = props.onRequestRemove,\n _props$requestClose = props.requestClose,\n requestClose = _props$requestClose === void 0 ? false : _props$requestClose,\n _props$position = props.position,\n position = _props$position === void 0 ? \"bottom\" : _props$position,\n _props$duration = props.duration,\n duration = _props$duration === void 0 ? 5000 : _props$duration,\n _props$containerStyle = props.containerStyle,\n containerStyle = _props$containerStyle === void 0 ? {} : _props$containerStyle;\n\n var _React$useState = React.useState(duration),\n delay = _React$useState[0],\n setDelay = _React$useState[1];\n\n var isPresent = useIsPresent();\n useUpdateEffect(function () {\n if (!isPresent) {\n onCloseComplete == null ? void 0 : onCloseComplete();\n }\n }, [isPresent]);\n useUpdateEffect(function () {\n setDelay(duration);\n }, [duration]);\n\n var onMouseEnter = function onMouseEnter() {\n return setDelay(null);\n };\n\n var onMouseLeave = function onMouseLeave() {\n return setDelay(duration);\n };\n\n var close = function close() {\n if (isPresent) onRequestRemove();\n };\n\n React.useEffect(function () {\n if (isPresent && requestClose) {\n onRequestRemove();\n }\n }, [isPresent, requestClose, onRequestRemove]);\n useTimeout(close, delay);\n var style = React.useMemo(function () {\n return getToastStyle(position);\n }, [position]);\n return /*#__PURE__*/React.createElement(motion.li, {\n layout: true,\n className: \"chakra-toast\",\n variants: toastMotionVariants,\n initial: \"initial\",\n animate: \"animate\",\n exit: \"exit\",\n onHoverStart: onMouseEnter,\n onHoverEnd: onMouseLeave,\n custom: {\n position: position\n },\n style: style\n }, /*#__PURE__*/React.createElement(ReachAlert, {\n className: \"chakra-toast__inner\",\n style: _extends({\n pointerEvents: \"auto\",\n maxWidth: 560,\n minWidth: 300,\n margin: \"0.5rem\"\n }, containerStyle)\n }, isFunction(message) ? message({\n id: id,\n onClose: close\n }) : message));\n};\n\nif (__DEV__) {\n Toast$1.displayName = \"Toast\";\n}\n\n/**\n * Manages the creation, and removal of toasts\n * across all corners (\"top\", \"bottom\", etc.)\n */\nvar ToastManager = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(ToastManager, _React$Component);\n\n /**\n * Static id counter to create unique ids\n * for each toast\n */\n\n /**\n * State to track all the toast across all positions\n */\n function ToastManager(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.state = {\n top: [],\n \"top-left\": [],\n \"top-right\": [],\n \"bottom-left\": [],\n bottom: [],\n \"bottom-right\": []\n };\n\n _this.notify = function (message, options) {\n var toast = _this.createToast(message, options);\n\n var position = toast.position,\n id = toast.id;\n\n _this.setState(function (prevToasts) {\n var _extends2;\n\n var isTop = position.includes(\"top\");\n /**\n * - If the toast is positioned at the top edges, the\n * recent toast stacks on top of the other toasts.\n *\n * - If the toast is positioned at the bottom edges, the recent\n * toast stacks below the other toasts.\n */\n\n var toasts = isTop ? [toast].concat(prevToasts[position]) : [].concat(prevToasts[position], [toast]);\n return _extends({}, prevToasts, (_extends2 = {}, _extends2[position] = toasts, _extends2));\n });\n\n return id;\n };\n\n _this.updateToast = function (id, options) {\n _this.setState(function (prevState) {\n var nextState = _extends({}, prevState);\n\n var _findToast = findToast(nextState, id),\n position = _findToast.position,\n index = _findToast.index;\n\n if (position && index !== -1) {\n nextState[position][index] = _extends({}, nextState[position][index], options);\n }\n\n return nextState;\n });\n };\n\n _this.closeAll = function (_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n positions = _ref.positions;\n\n // only one setState here for perf reasons\n // instead of spamming this.closeToast\n _this.setState(function (prev) {\n var allPositions = [\"bottom\", \"bottom-right\", \"bottom-left\", \"top\", \"top-left\", \"top-right\"];\n var positionsToClose = positions != null ? positions : allPositions;\n return positionsToClose.reduce(function (acc, position) {\n acc[position] = prev[position].map(function (toast) {\n return _extends({}, toast, {\n requestClose: true\n });\n });\n return acc;\n }, {});\n });\n };\n\n _this.createToast = function (message, options) {\n var _options$id, _options$position;\n\n ToastManager.counter += 1;\n var id = (_options$id = options.id) != null ? _options$id : ToastManager.counter;\n var position = (_options$position = options.position) != null ? _options$position : \"top\";\n return {\n id: id,\n message: message,\n position: position,\n duration: options.duration,\n onCloseComplete: options.onCloseComplete,\n onRequestRemove: function onRequestRemove() {\n return _this.removeToast(String(id), position);\n },\n status: options.status,\n requestClose: false,\n containerStyle: options.containerStyle\n };\n };\n\n _this.closeToast = function (id) {\n _this.setState(function (prevState) {\n var _extends3;\n\n var position = getToastPosition(prevState, id);\n if (!position) return prevState;\n return _extends({}, prevState, (_extends3 = {}, _extends3[position] = prevState[position].map(function (toast) {\n // id may be string or number\n // eslint-disable-next-line eqeqeq\n if (toast.id == id) {\n return _extends({}, toast, {\n requestClose: true\n });\n }\n\n return toast;\n }), _extends3));\n });\n };\n\n _this.removeToast = function (id, position) {\n _this.setState(function (prevState) {\n var _extends4;\n\n return _extends({}, prevState, (_extends4 = {}, _extends4[position] = prevState[position].filter(function (toast) {\n return toast.id != id;\n }), _extends4));\n });\n };\n\n _this.isVisible = function (id) {\n var _findToast2 = findToast(_this.state, id),\n position = _findToast2.position;\n\n return Boolean(position);\n };\n\n _this.getStyle = function (position) {\n var isTopOrBottom = position === \"top\" || position === \"bottom\";\n var margin = isTopOrBottom ? \"0 auto\" : undefined;\n var top = position.includes(\"top\") ? \"env(safe-area-inset-top, 0px)\" : undefined;\n var bottom = position.includes(\"bottom\") ? \"env(safe-area-inset-bottom, 0px)\" : undefined;\n var right = !position.includes(\"left\") ? \"env(safe-area-inset-right, 0px)\" : undefined;\n var left = !position.includes(\"right\") ? \"env(safe-area-inset-left, 0px)\" : undefined;\n return {\n position: \"fixed\",\n zIndex: 5500,\n pointerEvents: \"none\",\n display: \"flex\",\n flexDirection: \"column\",\n margin: margin,\n top: top,\n bottom: bottom,\n right: right,\n left: left\n };\n };\n\n var methods = {\n notify: _this.notify,\n closeAll: _this.closeAll,\n close: _this.closeToast,\n update: _this.updateToast,\n isActive: _this.isVisible\n };\n props.notify(methods);\n return _this;\n }\n /**\n * Function to actually create a toast and add it\n * to state at the specified position\n */\n\n\n var _proto = ToastManager.prototype;\n\n _proto.render = function render() {\n var _this2 = this;\n\n return objectKeys(this.state).map(function (position) {\n var toasts = _this2.state[position];\n return /*#__PURE__*/React.createElement(\"ul\", {\n key: position,\n id: \"chakra-toast-manager-\" + position,\n style: _this2.getStyle(position)\n }, /*#__PURE__*/React.createElement(AnimatePresence, {\n initial: false\n }, toasts.map(function (toast) {\n return /*#__PURE__*/React.createElement(Toast$1, _extends({\n key: toast.id\n }, toast));\n })));\n });\n };\n\n return ToastManager;\n}(React.Component);\nToastManager.counter = 0;\n\nvar portalId = \"chakra-toast-portal\";\n\nvar Toaster =\n/**\n * Initialize the manager and mount it in the DOM\n * inside the portal node.\n *\n * @todo\n *\n * Update toast constructor to use `PortalManager`'s node or document.body.\n * Once done, we can remove the `zIndex` in `toast.manager.tsx`\n */\nfunction Toaster() {\n var _this = this;\n\n this.createToast = void 0;\n this.removeAll = void 0;\n this.closeToast = void 0;\n this.updateToast = void 0;\n this.isToastActive = void 0;\n\n this.bindFunctions = function (methods) {\n _this.createToast = methods.notify;\n _this.removeAll = methods.closeAll;\n _this.closeToast = methods.close;\n _this.updateToast = methods.update;\n _this.isToastActive = methods.isActive;\n };\n\n this.notify = function (message, options) {\n if (options === void 0) {\n options = {};\n }\n\n return _this.createToast == null ? void 0 : _this.createToast(message, options);\n };\n\n this.close = function (id) {\n _this.closeToast == null ? void 0 : _this.closeToast(id);\n };\n\n this.closeAll = function (options) {\n _this.removeAll == null ? void 0 : _this.removeAll(options);\n };\n\n this.update = function (id, options) {\n if (options === void 0) {\n options = {};\n }\n\n _this.updateToast == null ? void 0 : _this.updateToast(id, options);\n };\n\n this.isActive = function (id) {\n return _this.isToastActive == null ? void 0 : _this.isToastActive(id);\n };\n\n if (!isBrowser) return;\n var portal;\n var existingPortal = document.getElementById(portalId);\n\n if (existingPortal) {\n portal = existingPortal;\n } else {\n var _document$body;\n\n var div = document.createElement(\"div\");\n div.id = portalId;\n (_document$body = document.body) == null ? void 0 : _document$body.appendChild(div);\n portal = div;\n }\n\n render( /*#__PURE__*/React.createElement(ToastManager, {\n notify: this.bindFunctions\n }), portal);\n};\n\nvar toast = new Toaster();\n\nfunction getToastPlacement(position, dir) {\n var _logical$dir;\n\n if (!position) return;\n var logicals = {\n \"top-start\": {\n ltr: \"top-left\",\n rtl: \"top-right\"\n },\n \"top-end\": {\n ltr: \"top-right\",\n rtl: \"top-left\"\n },\n \"bottom-start\": {\n ltr: \"bottom-left\",\n rtl: \"bottom-right\"\n },\n \"bottom-end\": {\n ltr: \"bottom-right\",\n rtl: \"bottom-left\"\n }\n };\n var logical = logicals[position];\n return (_logical$dir = logical == null ? void 0 : logical[dir]) != null ? _logical$dir : position;\n}\n\nvar Toast = function Toast(props) {\n var status = props.status,\n variant = props.variant,\n id = props.id,\n title = props.title,\n isClosable = props.isClosable,\n onClose = props.onClose,\n description = props.description;\n var alertTitleId = typeof id !== \"undefined\" ? \"toast-\" + id + \"-title\" : undefined;\n return /*#__PURE__*/React.createElement(Alert, {\n status: status,\n variant: variant,\n id: id,\n alignItems: \"start\",\n borderRadius: \"md\",\n boxShadow: \"lg\",\n paddingEnd: 8,\n textAlign: \"start\",\n width: \"auto\",\n \"aria-labelledby\": alertTitleId\n }, /*#__PURE__*/React.createElement(AlertIcon, null), /*#__PURE__*/React.createElement(chakra.div, {\n flex: \"1\",\n maxWidth: \"100%\"\n }, title && /*#__PURE__*/React.createElement(AlertTitle, {\n id: alertTitleId\n }, title), description && /*#__PURE__*/React.createElement(AlertDescription, {\n display: \"block\"\n }, description)), isClosable && /*#__PURE__*/React.createElement(CloseButton, {\n size: \"sm\",\n onClick: onClose,\n position: \"absolute\",\n insetEnd: 1,\n top: 1\n }));\n};\n\nvar defaults = {\n duration: 5000,\n position: \"bottom\",\n variant: \"solid\"\n};\nvar defaultStandaloneParam = {\n theme: defaultTheme,\n colorMode: \"light\",\n toggleColorMode: noop,\n setColorMode: noop,\n defaultOptions: defaults\n};\n/**\n * Create a toast from outside of React Components\n */\n\nfunction createStandaloneToast(_temp) {\n var _ref = _temp === void 0 ? defaultStandaloneParam : _temp,\n _ref$theme = _ref.theme,\n theme = _ref$theme === void 0 ? defaultStandaloneParam.theme : _ref$theme,\n _ref$colorMode = _ref.colorMode,\n colorMode = _ref$colorMode === void 0 ? defaultStandaloneParam.colorMode : _ref$colorMode,\n _ref$toggleColorMode = _ref.toggleColorMode,\n toggleColorMode = _ref$toggleColorMode === void 0 ? defaultStandaloneParam.toggleColorMode : _ref$toggleColorMode,\n _ref$setColorMode = _ref.setColorMode,\n setColorMode = _ref$setColorMode === void 0 ? defaultStandaloneParam.setColorMode : _ref$setColorMode,\n _ref$defaultOptions = _ref.defaultOptions,\n defaultOptions = _ref$defaultOptions === void 0 ? defaultStandaloneParam.defaultOptions : _ref$defaultOptions;\n\n var renderWithProviders = function renderWithProviders(props, options) {\n return /*#__PURE__*/React.createElement(ThemeProvider, {\n theme: theme\n }, /*#__PURE__*/React.createElement(ColorModeContext.Provider, {\n value: {\n colorMode: colorMode,\n setColorMode: setColorMode,\n toggleColorMode: toggleColorMode\n }\n }, isFunction(options.render) ? options.render(props) : /*#__PURE__*/React.createElement(Toast, _extends({}, props, options))));\n };\n\n var toastImpl = function toastImpl(options) {\n var opts = _extends({}, defaultOptions, options);\n\n opts.position = getToastPlacement(opts.position, theme.direction);\n\n var Message = function Message(props) {\n return renderWithProviders(props, opts);\n };\n\n return toast.notify(Message, opts);\n };\n\n toastImpl.close = toast.close;\n toastImpl.closeAll = toast.closeAll; // toasts can only be updated if they have a valid id\n\n toastImpl.update = function (id, options) {\n if (!id) return;\n\n var opts = _extends({}, defaultOptions, options);\n\n opts.position = getToastPlacement(opts.position, theme.direction);\n toast.update(id, _extends({}, opts, {\n message: function message(props) {\n return renderWithProviders(props, opts);\n }\n }));\n };\n\n toastImpl.isActive = toast.isActive;\n return toastImpl;\n}\n/**\n * React hook used to create a function that can be used\n * to show toasts in an application.\n */\n\nfunction useToast(options) {\n var _useChakra = useChakra(),\n theme = _useChakra.theme,\n setColorMode = _useChakra.setColorMode,\n toggleColorMode = _useChakra.toggleColorMode,\n colorMode = _useChakra.colorMode;\n\n var toastOptions = useLatestRef(options);\n return React.useMemo(function () {\n return createStandaloneToast({\n theme: theme,\n colorMode: colorMode,\n setColorMode: setColorMode,\n toggleColorMode: toggleColorMode,\n defaultOptions: _extends({}, defaults, toastOptions.current)\n });\n }, [theme, setColorMode, toggleColorMode, colorMode, toastOptions]);\n}\n\nexport { createStandaloneToast, defaultStandaloneParam, toast, useToast };\n","/**\n * Copyright (c) 2014-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 * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nvar warning = function() {};\n\nif (__DEV__) {\n var printWarning = function printWarning(format, args) {\n var len = arguments.length;\n args = new Array(len > 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","_excluded","CloseIcon","props","focusable","fill","d","CloseButton","ref","styles","_omitThemingProps","children","isDisabled","__css","rest","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","type","disabled","outline","display","alignItems","justifyContent","flexShrink","width","height","displayName","WarningIcon","viewBox","STATUSES","info","icon","colorScheme","warning","success","error","_createContext","name","errorMessage","AlertProvider","useAlertContext","Alert","_props$colorScheme","_omitThemingProps$sta","status","alertStyles","position","overflow","container","value","role","className","cx","AlertTitle","title","AlertDescription","descriptionStyles","description","AlertIcon","BaseIcon","w","h","VisuallyHidden","forwardRef","_ref","_ref$as","as","Comp","_ref$style","style","createElement","border","clip","margin","padding","whiteSpace","wordWrap","canUseDOM","useLayoutEffect","useEffect","window","Math","self","assignRef","toString","isFunction","current","Error","document","forwardRefWithAs","render","getOwnerDocument","element","ownerDocument","renderTimer","polite","assertive","liveRegions","forwardedRef","_ref$type","regionType","ownRef","useRef","_len4","refs","Array","_key4","useMemo","every","node","forEach","concat","useForkedRef","child","prevType","usePrevious","mirror","mounted","unmount","createMirror","mount","update","useMirrorEffects","doc","renderAlerts","setAttribute","body","appendChild","clearTimeout","setTimeout","elementType","map","cloneElement","_setPrototypeOf","o","p","setPrototypeOf","__proto__","findToast","toasts","id","getToastPosition","index","findIndex","toast","_Object$values$flat$f","values","flat","find","toastMotionVariants","initial","dir","includes","factor","opacity","animate","y","x","scale","transition","duration","ease","exit","Toast$1","message","onCloseComplete","onRequestRemove","_props$requestClose","requestClose","_props$position","_props$duration","_props$containerStyle","containerStyle","_React$useState","delay","setDelay","isPresent","close","flexDirection","getToastStyle","motion","layout","variants","onHoverStart","onHoverEnd","custom","pointerEvents","maxWidth","minWidth","onClose","ToastManager","_React$Component","subClass","superClass","_this","state","top","bottom","notify","options","createToast","setState","prevToasts","_extends2","updateToast","prevState","nextState","_findToast","closeAll","_temp","positions","prev","reduce","acc","_options$id","_options$position","counter","removeToast","String","closeToast","_extends3","_extends4","filter","isVisible","Boolean","getStyle","zIndex","undefined","right","left","methods","isActive","create","constructor","_this2","AnimatePresence","portalId","removeAll","isToastActive","bindFunctions","portal","existingPortal","getElementById","_document$body","div","getToastPlacement","_logical$dir","logical","ltr","rtl","Toast","variant","isClosable","alertTitleId","borderRadius","boxShadow","paddingEnd","textAlign","flex","size","onClick","insetEnd","defaults","defaultStandaloneParam","theme","colorMode","toggleColorMode","setColorMode","defaultOptions","useToast","_useChakra","toastOptions","_ref$theme","_ref$colorMode","_ref$toggleColorMode","_ref$setColorMode","_ref$defaultOptions","renderWithProviders","toastImpl","opts","direction","createStandaloneToast","module","exports"],"sourceRoot":""}