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S,YACTiL,UAAW,cAActL,EAAMuL,MAAQvL,GAAO8B,QAAQvD,UACtDiN,aAAc,cAAcxL,EAAMuL,MAAQvL,GAAO8B,QAAQvD,WACvD,CACF,CAAC,IAAI,IAAmB2M,YAAa,CACnClH,WAAY,OAkDhB,EA/CmC,cAAiB,SAAuByH,EAASpD,GAClF,MAAMrK,GAAQ,OAAc,CAC1BA,MAAOyN,EACPZ,KAAM,sBAEF,UACF1I,EAAS,SACTgJ,GAAW,GACTnN,EACJ0N,GAAQ,OAA8B1N,EAAO2M,GACzCM,GAAa,OAAS,CAAC,EAAGjN,EAAO,CACrCmN,aAEIQ,EAlDkBV,KACxB,MAAM,QACJU,EAAO,SACPR,GACEF,EACEW,EAAQ,CACZV,KAAM,CAAC,OAAQC,GAAY,aAE7B,OAAO,OAAeS,EAAO,IAA8BD,EAAQ,EA0CnDE,CAAkBZ,GAClC,OAAoB,SAAKL,GAAmB,OAAS,CACnDzI,WAAW,OAAKwJ,EAAQT,KAAM/I,GAC9B8I,WAAYA,EACZ5C,IAAKA,GACJqD,GACL,G,qECpEO,SAASI,EAA6BhB,GAC3C,OAAO,QAAqB,mBAAoBA,EAClD,CACA,MACA,GAD6B,OAAuB,mBAAoB,CAAC,OAAQ,Y","sources":["webpack:///./node_modules/@im/ui-lib/zenith/DialogHeader/DialogHeader.js","webpack:///./node_modules/@im/ui-lib/zenith/DialogFooter/internal/ActionButtons.js","webpack:///./node_modules/@im/ui-lib/zenith/DialogFooter/DialogFooter.js","webpack:///./node_modules/@im/ui-lib/zenith/Dialog/Dialog.js","webpack:///./node_modules/@im/ui-lib/zenith/FeaturedIcon/FeaturedIcon.js","webpack:///./node_modules/@im/ui-lib/zenith/common/BackgroundOverlayStyles.js","webpack:///./node_modules/@im/ui-lib/zenith/common/getScrollbarStyles.js","webpack:///./node_modules/@mui/material/DialogContent/DialogContent.js","webpack:///./node_modules/@mui/material/DialogContent/dialogContentClasses.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport { useConvertToMobile } from '../utils/useConvertToMobile';\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\nimport { useTheme } from '@mui/material/styles';\nimport { FeaturedIcon } from '../FeaturedIcon';\nimport Divider from '@mui/material/Divider';\nimport { CloseButton } from '../common/CloseButton';\nimport { Badge } from '../Badge';\nimport { HelpIconWithTooltip } from '../common';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nvar MOBILE_PADDING = '16px';\nvar DESKTOP_PADDING = '24px';\nexport function DialogHeader(props) {\n var _props$badge = props.badge,\n badge = _props$badge === void 0 ? false : _props$badge,\n badgeColor = props.badgeColor,\n badgeLabel = props.badgeLabel,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? true : _props$divider,\n _props$helpIcon = props.helpIcon,\n helpIcon = _props$helpIcon === void 0 ? true : _props$helpIcon,\n iconLeadingColor = props.iconLeadingColor,\n iconLeadingIcon = props.iconLeadingIcon,\n iconLeadingSize = props.iconLeadingSize,\n iconLeadingTheme = props.iconLeadingTheme,\n mobileBreakpoint = props.mobileBreakpoint,\n mobileBreakpointContainerRef = props.mobileBreakpointContainerRef,\n onClose = props.onClose,\n _props$showCloseButto = props.showCloseButton,\n showCloseButton = _props$showCloseButto === void 0 ? true : _props$showCloseButto,\n _props$showFeaturedIc = props.showFeaturedIcon,\n showFeaturedIcon = _props$showFeaturedIc === void 0 ? true : _props$showFeaturedIc,\n supportingText = props.supportingText,\n sx = props.sx,\n text = props.text,\n tooltipDescription = props.tooltipDescription,\n tooltipLabel = props.tooltipLabel,\n tooltipPlacement = props.tooltipPlacement,\n tooltipVariant = props.tooltipVariant,\n _props$type = props.type,\n type = _props$type === void 0 ? 'stack-left-aligned' : _props$type,\n _props$withPaddingBot = props.withPaddingBottom,\n withPaddingBottom = _props$withPaddingBot === void 0 ? true : _props$withPaddingBot;\n var theme = useTheme();\n var isMobile = useConvertToMobile(mobileBreakpoint, mobileBreakpointContainerRef);\n var flexDirection = !showFeaturedIcon ? 'row-reverse' : 'column';\n flexDirection = type === 'horizontal-left-aligned' && !isMobile ? 'row' : 'column';\n var padding = isMobile ? MOBILE_PADDING : DESKTOP_PADDING;\n return /*#__PURE__*/_jsxs(_Fragment, {\n children: [/*#__PURE__*/_jsx(Box, {\n sx: _extends({\n padding: \"\".concat(padding, \" \").concat(padding, \" 0px \").concat(padding),\n textAlign: type === 'center-aligned' ? 'center' : 'unset'\n }, sx),\n \"data-element\": \"Box\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: /*#__PURE__*/_jsxs(Stack, {\n display: type === 'horizontal-left-aligned' ? 'flex' : 'block',\n flexDirection: \"row\",\n justifyContent: type === 'horizontal-left-aligned' ? 'space-between' : 'center',\n sx: {\n position: 'relative'\n },\n \"data-element\": \"Stack\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: [showCloseButton && /*#__PURE__*/_jsx(Box, {\n sx: {\n height: '40px',\n position: 'absolute',\n right: 0,\n top: 0\n },\n children: /*#__PURE__*/_jsx(CloseButton, {\n height: \"40px\",\n onClose: onClose,\n size: 24,\n width: \"40px\"\n })\n }), /*#__PURE__*/_jsxs(Stack, {\n direction: flexDirection,\n \"data-element\": \"Stack\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: [showFeaturedIcon && iconLeadingIcon && /*#__PURE__*/_jsx(Box, {\n sx: {\n display: 'flex',\n justifyContent: type === 'center-aligned' ? 'center' : 'start',\n marginBottom: '12px',\n marginRight: !isMobile && type !== 'center-aligned' ? '16px' : 0\n },\n children: /*#__PURE__*/_jsx(FeaturedIcon, {\n Icon: iconLeadingIcon,\n color: iconLeadingColor,\n iconTheme: iconLeadingTheme,\n size: iconLeadingSize\n })\n }), /*#__PURE__*/_jsx(Box, {\n sx: {\n marginBottom: withPaddingBottom ? '20px' : 0\n },\n \"data-element\": \"Box\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: /*#__PURE__*/_jsxs(Stack, {\n alignItems: type === 'center-aligned' ? 'center' : 'unset',\n \"data-element\": \"Stack\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: [/*#__PURE__*/_jsxs(Stack, {\n alignItems: \"center\",\n direction: \"row\",\n spacing: 2,\n \"data-element\": \"Stack\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: [/*#__PURE__*/_jsx(Typography, {\n sx: {\n color: theme.palette.gray[900],\n marginBottom: '4px'\n },\n variant: \"text-lg-semibold\",\n \"data-element\": \"Typography\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: text\n }), helpIcon && /*#__PURE__*/_jsx(HelpIconWithTooltip, {\n tooltipDescription: tooltipDescription,\n tooltipLabel: tooltipLabel,\n tooltipPlacement: tooltipPlacement,\n tooltipVariant: tooltipVariant\n }), badge && /*#__PURE__*/_jsx(Badge, {\n color: badgeColor,\n label: badgeLabel,\n size: \"sm\",\n type: \"pillColor\"\n })]\n }), /*#__PURE__*/_jsx(Typography, {\n sx: {\n color: theme.palette.gray[600]\n },\n variant: \"text-sm-regular\",\n \"data-element\": \"Typography\",\n \"data-source-file\": \"DialogHeader.tsx\",\n children: supportingText\n })]\n })\n })]\n })]\n })\n }), divider && /*#__PURE__*/_jsx(Box, {\n className: \"dialog-header-divider\",\n width: \"100%\",\n children: /*#__PURE__*/_jsx(Divider, {\n color: theme.palette.gray[200],\n sx: {\n height: '1px'\n }\n })\n })]\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { Button } from '../../Button';\nimport { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function ActionButtons(_ref) {\n var buttonWidthStyle = _ref.buttonWidthStyle,\n destructive = _ref.destructive,\n onPrimaryButtonClick = _ref.onPrimaryButtonClick,\n onSecondaryButtonClick = _ref.onSecondaryButtonClick,\n primaryButtonProps = _ref.primaryButtonProps,\n primaryButtonText = _ref.primaryButtonText,\n secondaryButtonProps = _ref.secondaryButtonProps,\n secondaryButtonText = _ref.secondaryButtonText;\n return /*#__PURE__*/_jsxs(_Fragment, {\n children: [/*#__PURE__*/_jsx(Button, _extends({\n onClick: onSecondaryButtonClick,\n size: \"large\",\n sx: {\n width: buttonWidthStyle\n },\n variant: \"secondary-gray\"\n }, secondaryButtonProps, {\n \"data-element\": \"Button\",\n \"data-source-file\": \"ActionButtons.tsx\",\n children: secondaryButtonText\n })), /*#__PURE__*/_jsx(Button, _extends({\n onClick: onPrimaryButtonClick,\n size: \"large\",\n sx: {\n width: buttonWidthStyle\n },\n variant: destructive ? 'primary-destructive' : 'primary'\n }, primaryButtonProps, {\n \"data-element\": \"Button\",\n \"data-source-file\": \"ActionButtons.tsx\",\n children: primaryButtonText\n }))]\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport { useTheme } from '@mui/material/styles';\nimport { Button } from '../Button';\nimport { Checkbox } from '../Checkbox';\nimport { ActionButtons } from './internal/ActionButtons';\nimport Divider from '@mui/material/Divider';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nvar MOBILE_PADDING = '16px';\nvar DESKTOP_PADDING = '24px';\nexport function DialogFooter(props) {\n var _props$checkbox = props.checkbox,\n checkbox = _props$checkbox === void 0 ? true : _props$checkbox,\n checkboxText = props.checkboxText,\n _props$checked = props.checked,\n checked = _props$checked === void 0 ? false : _props$checked,\n _props$destructive = props.destructive,\n destructive = _props$destructive === void 0 ? false : _props$destructive,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? true : _props$divider,\n icon = props.icon,\n _props$isMobile = props.isMobile,\n isMobile = _props$isMobile === void 0 ? false : _props$isMobile,\n onChangeCheckbox = props.onChangeCheckbox,\n onPrimaryButtonClick = props.onPrimaryButtonClick,\n onSecondaryButtonClick = props.onSecondaryButtonClick,\n onTertiaryButtonClick = props.onTertiaryButtonClick,\n primaryButtonProps = props.primaryButtonProps,\n primaryButtonText = props.primaryButtonText,\n secondaryButtonProps = props.secondaryButtonProps,\n secondaryButtonText = props.secondaryButtonText,\n sx = props.sx,\n _props$tertiaryButton = props.tertiaryButton,\n tertiaryButton = _props$tertiaryButton === void 0 ? true : _props$tertiaryButton,\n tertiaryButtonText = props.tertiaryButtonText,\n _props$type = props.type,\n type = _props$type === void 0 ? 'horizontal-fill-container' : _props$type;\n var theme = useTheme();\n\n //Button width - style\n var buttonWidthStyle = function buttonWidthStyle(buttonType) {\n if (buttonType === 'horizontal') {\n return isMobile ? '100%' : 'fit-content';\n } else if (isMobile) {\n return '100%';\n } else {\n return type === 'vertical-fill-container' ? '100%' : '50%';\n }\n };\n var paddingTop = divider ? 0 : theme.spacing(6);\n var padding = isMobile ? \"\".concat(paddingTop, \" \").concat(MOBILE_PADDING, \" \").concat(MOBILE_PADDING, \" \").concat(MOBILE_PADDING) : \"\".concat(paddingTop, \" \").concat(DESKTOP_PADDING, \" \").concat(DESKTOP_PADDING, \" \").concat(DESKTOP_PADDING);\n return /*#__PURE__*/_jsxs(Stack, {\n sx: _extends({}, sx),\n \"data-element\": \"Stack\",\n \"data-component\": \"DialogFooter\",\n \"data-source-file\": \"DialogFooter.tsx\",\n children: [divider && /*#__PURE__*/_jsx(Box, {\n className: \"dialog-footer-divider\",\n children: /*#__PURE__*/_jsx(Divider, {\n color: theme.palette.gray[200],\n sx: {\n height: '1px'\n }\n })\n }), type !== 'horizontal-right-aligned' ? /*#__PURE__*/_jsx(Stack, {\n className: \"fill-container-stack\",\n gap: 3,\n sx: {\n flexDirection: type === 'vertical-fill-container' || isMobile ? 'column-reverse' : 'row',\n padding: padding\n },\n children: /*#__PURE__*/_jsx(ActionButtons, {\n buttonWidthStyle: buttonWidthStyle('vertical'),\n destructive: destructive,\n onPrimaryButtonClick: onPrimaryButtonClick,\n onSecondaryButtonClick: onSecondaryButtonClick,\n primaryButtonProps: primaryButtonProps,\n primaryButtonText: primaryButtonText,\n secondaryButtonProps: secondaryButtonProps,\n secondaryButtonText: secondaryButtonText\n })\n }) : /*#__PURE__*/_jsx(Stack, {\n className: \"horizontal-right-aligned-stack\",\n gap: 3,\n sx: {\n alignItems: 'center',\n display: 'inline-flex',\n flexDirection: isMobile ? 'column' : 'row',\n justifyContent: 'flex-start',\n padding: padding\n },\n children: isMobile ? /*#__PURE__*/_jsxs(_Fragment, {\n children: [/*#__PURE__*/_jsx(Stack, {\n flexDirection: 'column-reverse',\n gap: 3,\n justifyContent: \"flex-start\",\n width: \"100%\",\n children: /*#__PURE__*/_jsx(ActionButtons, {\n buttonWidthStyle: buttonWidthStyle('vertical'),\n destructive: destructive,\n onPrimaryButtonClick: onPrimaryButtonClick,\n onSecondaryButtonClick: onSecondaryButtonClick,\n primaryButtonProps: primaryButtonProps,\n primaryButtonText: primaryButtonText,\n secondaryButtonProps: secondaryButtonProps,\n secondaryButtonText: secondaryButtonText\n })\n }), /*#__PURE__*/_jsxs(Stack, {\n alignItems: \"center\",\n display: \"inline-flex\",\n flex: \"1 1 0\",\n flexDirection: \"row\",\n gap: 3,\n justifyContent: \"flex-start\",\n width: \"100%\",\n children: [checkbox && /*#__PURE__*/_jsx(Stack, {\n width: !tertiaryButton ? '100%' : '206px',\n children: /*#__PURE__*/_jsx(Checkbox, {\n checked: checked,\n label: checkboxText,\n onChange: onChangeCheckbox,\n size: \"sm\"\n })\n }), tertiaryButton && /*#__PURE__*/_jsx(Button, {\n onClick: onTertiaryButtonClick,\n size: \"large\",\n startIcon: icon,\n variant: \"link-gray\",\n children: tertiaryButtonText\n })]\n })]\n }) : /*#__PURE__*/_jsxs(_Fragment, {\n children: [checkbox && /*#__PURE__*/_jsx(Checkbox, {\n checked: checked,\n label: checkboxText,\n onChange: onChangeCheckbox,\n size: \"sm\"\n }), tertiaryButton && /*#__PURE__*/_jsx(Button, {\n onClick: onTertiaryButtonClick,\n size: \"large\",\n startIcon: icon,\n variant: \"link-gray\",\n children: tertiaryButtonText\n }), /*#__PURE__*/_jsx(Stack, {\n alignItems: \"center\",\n display: \"inline-flex\",\n flex: \"1 1 0\",\n flexDirection: \"row\",\n gap: 3,\n justifyContent: \"flex-end\",\n width: \"fit-content\",\n children: /*#__PURE__*/_jsx(ActionButtons, {\n buttonWidthStyle: buttonWidthStyle('horizontal'),\n destructive: destructive,\n onPrimaryButtonClick: onPrimaryButtonClick,\n onSecondaryButtonClick: onSecondaryButtonClick,\n primaryButtonProps: primaryButtonProps,\n primaryButtonText: primaryButtonText,\n secondaryButtonProps: secondaryButtonProps,\n secondaryButtonText: secondaryButtonText\n })\n })]\n })\n })]\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport React, { useEffect, useRef, useState } from 'react';\nimport { useTheme } from '@mui/material/styles';\nimport MuiDialog from '@mui/material/Dialog';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport { getBackdropStyles } from '../common/BackgroundOverlayStyles';\nimport { useConvertToMobile } from '../utils/useConvertToMobile';\nimport { SHADOWS } from '@im/im-theme/constants';\nimport { DialogHeader } from '../DialogHeader';\nimport { DialogFooter } from '../DialogFooter';\nimport Box from '@mui/material/Box';\nimport { getScrollbarStyles } from '../common/getScrollbarStyles';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function Dialog(props) {\n var _props$backgroundBlur = props.backgroundBlur,\n backgroundBlur = _props$backgroundBlur === void 0 ? true : _props$backgroundBlur,\n _props$backgroundType = props.backgroundType,\n backgroundType = _props$backgroundType === void 0 ? 'default' : _props$backgroundType,\n badge = props.badge,\n badgeColor = props.badgeColor,\n badgeLabel = props.badgeLabel,\n _props$checkbox = props.checkbox,\n checkbox = _props$checkbox === void 0 ? true : _props$checkbox,\n checkboxText = props.checkboxText,\n _props$checked = props.checked,\n checked = _props$checked === void 0 ? false : _props$checked,\n children = props.children,\n _props$destructive = props.destructive,\n destructive = _props$destructive === void 0 ? false : _props$destructive,\n _props$dialogFooterTy = props.dialogFooterType,\n dialogFooterType = _props$dialogFooterTy === void 0 ? 'horizontal-fill-container' : _props$dialogFooterTy,\n dialogHeaderSupportingText = props.dialogHeaderSupportingText,\n dialogHeaderText = props.dialogHeaderText,\n _props$footerDivider = props.footerDivider,\n footerDivider = _props$footerDivider === void 0 ? true : _props$footerDivider,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n handleClose = props.handleClose,\n _props$headerDivider = props.headerDivider,\n headerDivider = _props$headerDivider === void 0 ? true : _props$headerDivider,\n _props$headerPaddingB = props.headerPaddingBottom,\n headerPaddingBottom = _props$headerPaddingB === void 0 ? true : _props$headerPaddingB,\n helpIcon = props.helpIcon,\n icon = props.icon,\n iconLeadingColor = props.iconLeadingColor,\n iconLeadingIcon = props.iconLeadingIcon,\n iconLeadingSize = props.iconLeadingSize,\n iconLeadingTheme = props.iconLeadingTheme,\n _props$maxWidth = props.maxWidth,\n maxWidth = _props$maxWidth === void 0 ? false : _props$maxWidth,\n minHeight = props.minHeight,\n mobileBreakpoint = props.mobileBreakpoint,\n mobileBreakpointContainerRef = props.mobileBreakpointContainerRef,\n onChangeCheckbox = props.onChangeCheckbox,\n onPrimaryButtonClick = props.onPrimaryButtonClick,\n onSecondaryButtonClick = props.onSecondaryButtonClick,\n onTertiaryButtonClick = props.onTertiaryButtonClick,\n _props$open = props.open,\n open = _props$open === void 0 ? false : _props$open,\n _props$padding = props.padding,\n padding = _props$padding === void 0 ? true : _props$padding,\n primaryButtonProps = props.primaryButtonProps,\n _props$primaryButtonT = props.primaryButtonText,\n primaryButtonText = _props$primaryButtonT === void 0 ? 'Confirm' : _props$primaryButtonT,\n secondaryButtonProps = props.secondaryButtonProps,\n _props$secondaryButto = props.secondaryButtonText,\n secondaryButtonText = _props$secondaryButto === void 0 ? 'Cancel' : _props$secondaryButto,\n _props$showCloseButto = props.showCloseButton,\n showCloseButton = _props$showCloseButto === void 0 ? true : _props$showCloseButto,\n _props$showDialogFoot = props.showDialogFooter,\n showDialogFooter = _props$showDialogFoot === void 0 ? true : _props$showDialogFoot,\n _props$showFeaturedIc = props.showFeaturedIcon,\n showFeaturedIcon = _props$showFeaturedIc === void 0 ? true : _props$showFeaturedIc,\n _props$tertiaryButton = props.tertiaryButton,\n tertiaryButton = _props$tertiaryButton === void 0 ? true : _props$tertiaryButton,\n tertiaryButtonText = props.tertiaryButtonText,\n tooltipDescription = props.tooltipDescription,\n tooltipLabel = props.tooltipLabel,\n tooltipPlacement = props.tooltipPlacement,\n tooltipVariant = props.tooltipVariant,\n _props$type = props.type,\n type = _props$type === void 0 ? 'stack-left-aligned' : _props$type;\n var dialogHeaderType = props.dialogHeaderType;\n if (!dialogHeaderType) dialogHeaderType = type;\n var theme = useTheme();\n var isMobile = useConvertToMobile(mobileBreakpoint, mobileBreakpointContainerRef);\n var dialogWidth = type === 'horizontal-left-aligned' ? 544 : 400;\n dialogWidth = isMobile ? 343 : dialogWidth;\n var dialogFooterPaddingTop = footerDivider ? 0 : theme.spacing(2);\n var contentRef = useRef(null);\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n contentScrollbar = _useState2[0],\n setContentScrollbar = _useState2[1];\n useEffect(function () {\n var handleResize = function handleResize() {\n var _contentRef$current;\n var _ref = (_contentRef$current = contentRef.current) != null ? _contentRef$current : {},\n _ref$offsetWidth = _ref.offsetWidth,\n offsetWidth = _ref$offsetWidth === void 0 ? 0 : _ref$offsetWidth,\n _ref$scrollWidth = _ref.scrollWidth,\n scrollWidth = _ref$scrollWidth === void 0 ? 0 : _ref$scrollWidth;\n setContentScrollbar(offsetWidth !== scrollWidth);\n };\n window.addEventListener('resize', handleResize);\n return function () {\n window.removeEventListener('resize', handleResize);\n };\n }, []);\n var paddingLeftRight = isMobile ? 16 : 24;\n var dialogContentPaddingLeft = padding ? paddingLeftRight : 0;\n var dialogContentPaddingRight = contentScrollbar ? 12 : paddingLeftRight;\n dialogContentPaddingRight = padding ? dialogContentPaddingRight : 0;\n return /*#__PURE__*/_jsxs(MuiDialog, {\n BackdropProps: {\n sx: _extends({}, getBackdropStyles(backgroundType, backgroundBlur, theme))\n },\n \"aria-describedby\": \"dialog-description\",\n \"aria-labelledby\": \"dialog-title\",\n fullWidth: fullWidth,\n maxWidth: maxWidth != null ? maxWidth : 'sm',\n onClose: handleClose,\n open: open,\n scroll: \"paper\",\n sx: {\n '& .MuiDialog-paper': {\n margin: 0,\n minHeight: minHeight,\n overflow: 'hidden',\n width: fullWidth ? '100%' : dialogWidth\n },\n borderRadius: '12px',\n boxShadow: theme.shadows[SHADOWS.xl]\n },\n \"data-element\": \"MuiDialog\",\n \"data-component\": \"Dialog\",\n \"data-source-file\": \"Dialog.tsx\",\n children: [/*#__PURE__*/_jsx(DialogTitle, {\n id: \"dialog-title\",\n sx: {\n padding: '0px'\n },\n \"data-element\": \"DialogTitle\",\n \"data-source-file\": \"Dialog.tsx\",\n children: /*#__PURE__*/_jsx(DialogHeader, {\n badge: badge,\n badgeColor: badgeColor,\n badgeLabel: badgeLabel,\n divider: headerDivider,\n helpIcon: helpIcon,\n iconLeadingColor: iconLeadingColor,\n iconLeadingIcon: iconLeadingIcon,\n iconLeadingSize: iconLeadingSize,\n iconLeadingTheme: iconLeadingTheme,\n mobileBreakpoint: mobileBreakpoint,\n onClose: handleClose,\n showCloseButton: showCloseButton,\n showFeaturedIcon: showFeaturedIcon,\n supportingText: dialogHeaderSupportingText,\n text: dialogHeaderText,\n tooltipDescription: tooltipDescription,\n tooltipLabel: tooltipLabel,\n tooltipPlacement: tooltipPlacement,\n tooltipVariant: tooltipVariant,\n type: dialogHeaderType,\n withPaddingBottom: headerPaddingBottom,\n \"data-element\": \"DialogHeader\",\n \"data-source-file\": \"Dialog.tsx\"\n })\n }), /*#__PURE__*/_jsx(DialogContent, {\n ref: contentRef,\n sx: _extends({}, getScrollbarStyles(theme, theme.palette.common.white), {\n overflowX: 'hidden',\n padding: 0,\n paddingLeft: \"\".concat(dialogContentPaddingLeft, \"px\"),\n paddingRight: \"\".concat(dialogContentPaddingRight, \"px\")\n }),\n \"data-element\": \"DialogContent\",\n \"data-source-file\": \"Dialog.tsx\",\n children: /*#__PURE__*/_jsx(Box, {\n width: fullWidth ? '100%' : dialogWidth - dialogContentPaddingLeft - dialogContentPaddingRight,\n \"data-element\": \"Box\",\n \"data-source-file\": \"Dialog.tsx\",\n children: children\n })\n }), showDialogFooter && /*#__PURE__*/_jsx(DialogFooter, {\n checkbox: checkbox,\n checkboxText: checkboxText,\n checked: checked,\n destructive: destructive,\n divider: footerDivider,\n icon: icon,\n isMobile: isMobile,\n onChangeCheckbox: onChangeCheckbox,\n onPrimaryButtonClick: onPrimaryButtonClick,\n onSecondaryButtonClick: onSecondaryButtonClick,\n onTertiaryButtonClick: onTertiaryButtonClick,\n primaryButtonProps: primaryButtonProps,\n primaryButtonText: primaryButtonText,\n secondaryButtonProps: secondaryButtonProps,\n secondaryButtonText: secondaryButtonText,\n sx: {\n '& .dialog-footer-divider': {\n paddingBottom: isMobile ? theme.spacing(4) : theme.spacing(6),\n paddingTop: isMobile ? theme.spacing(6) : theme.spacing(8)\n },\n paddingTop: isMobile ? 0 : dialogFooterPaddingTop\n },\n tertiaryButton: tertiaryButton,\n tertiaryButtonText: tertiaryButtonText,\n type: dialogFooterType\n })]\n });\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport { useTheme } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport { SHADOWS } from '@im/im-theme/constants';\nimport { Icon } from '../Icon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nvar sizeBasedProps = {\n lg: {\n borderWidth: '8px',\n height: '48px',\n iconSize: '24px',\n padding: '12px',\n width: '48px'\n },\n md: {\n borderWidth: '6px',\n height: '40px',\n iconSize: '20px',\n padding: '10px',\n width: '40px'\n },\n sm: {\n borderWidth: '4px',\n height: '32px',\n iconSize: '16px',\n padding: '8px',\n width: '32px'\n },\n xl: {\n borderWidth: '10px',\n height: '56px',\n iconSize: '28px',\n padding: '14px',\n width: '56px'\n }\n};\nexport function FeaturedIcon(props) {\n var iconId = props.Icon,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$iconTheme = props.iconTheme,\n iconTheme = _props$iconTheme === void 0 ? 'light-circle' : _props$iconTheme,\n onClick = props.onClick,\n _props$size = props.size,\n size = _props$size === void 0 ? 'md' : _props$size,\n sx = props.sx;\n var theme = useTheme();\n var bgAndBorderColors = {\n error: {\n backgroundColor: theme.palette.error[500],\n borderColor: theme.palette.error[600]\n },\n gray: {\n backgroundColor: theme.palette.gray[600],\n borderColor: theme.palette.gray[800]\n },\n primary: {\n backgroundColor: theme.palette.primary[600],\n borderColor: theme.palette.primary[700]\n },\n success: {\n backgroundColor: theme.palette.success[500],\n borderColor: theme.palette.success[600]\n },\n warning: {\n backgroundColor: theme.palette.warning[500],\n borderColor: theme.palette.warning[600]\n }\n };\n var themeBasedProps = {\n 'dark-circle': {\n backgroundColor: bgAndBorderColors[color].backgroundColor,\n borderColor: bgAndBorderColors[color].borderColor,\n borderStyle: 'solid',\n color: theme.palette.common.white\n },\n 'light-circle': {\n backgroundColor: theme.palette[color][100],\n color: theme.palette[color][600]\n },\n 'light-circle-outline': {\n backgroundColor: theme.palette[color][100],\n borderColor: theme.palette[color][50],\n borderStyle: 'solid',\n color: theme.palette[color][600]\n },\n outline: {\n backgroundColor: theme.palette.common.white,\n border: \"1px solid \".concat(theme.palette.gray[200]),\n boxShadow: theme.shadows[SHADOWS.xs],\n color: theme.palette.gray[700]\n }\n };\n return /*#__PURE__*/_jsx(Box, {\n onClick: onClick,\n sx: _extends({\n alignItems: 'center',\n borderRadius: '100%',\n display: 'inline-flex',\n justifyContent: 'center'\n }, sizeBasedProps[size], themeBasedProps[iconTheme], sx),\n \"data-element\": \"Box\",\n \"data-component\": \"FeaturedIcon\",\n \"data-source-file\": \"FeaturedIcon.tsx\",\n children: /*#__PURE__*/_jsx(Box, {\n sx: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \".MuiSvgIcon-root\", {\n height: sizeBasedProps[size].iconSize,\n width: sizeBasedProps[size].iconSize\n }), \"alignItems\", 'center'), \"color\", themeBasedProps[iconTheme].color), \"display\", 'flex'), \"height\", sizeBasedProps[size].iconSize), \"justifyContent\", 'center'), \"width\", sizeBasedProps[size].iconSize),\n \"data-element\": \"Box\",\n \"data-source-file\": \"FeaturedIcon.tsx\",\n children: /*#__PURE__*/_jsx(Icon, {\n color: themeBasedProps[iconTheme].color,\n iconId: iconId,\n size: Number(sizeBasedProps[size].iconSize),\n \"data-element\": \"Icon\",\n \"data-source-file\": \"FeaturedIcon.tsx\"\n })\n })\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar GRADIENT_STYLE = 'linear-gradient(180deg, rgba(18, 25, 38, 0.35) 0%, rgba(18, 25, 38, 0.7) 100%)';\nexport var getBackdropStyles = function getBackdropStyles(type, backgroundBlur, theme) {\n return _extends({}, type === 'default' && {\n backgroundColor: 'rgba(18, 25, 38, 0.7)'\n }, type === 'gradient' && {\n background: GRADIENT_STYLE\n }, type === 'invisible' && {\n background: 'transparent'\n }, backgroundBlur && {\n backdropFilter: \"blur(\".concat(theme.blurs.md, \")\")\n });\n};","export var getScrollbarStyles = function getScrollbarStyles(theme, trackBgColor) {\n if (trackBgColor === 'none' || trackBgColor === 'transparent' || trackBgColor === undefined) trackBgColor = theme.palette.common.white;\n return {\n '::-webkit-scrollbar': {\n background: theme.palette.gray[200],\n height: '8px',\n width: '8px'\n },\n '::-webkit-scrollbar-thumb': {\n background: theme.palette.gray[200],\n borderRadius: '8px !important'\n },\n '::-webkit-scrollbar-thumb:hover': {\n background: theme.palette.gray[300]\n },\n '::-webkit-scrollbar-track': {\n background: trackBgColor\n }\n };\n};","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"dividers\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport { getDialogContentUtilityClass } from './dialogContentClasses';\nimport dialogTitleClasses from '../DialogTitle/dialogTitleClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n dividers\n } = ownerState;\n const slots = {\n root: ['root', dividers && 'dividers']\n };\n return composeClasses(slots, getDialogContentUtilityClass, classes);\n};\nconst DialogContentRoot = styled('div', {\n name: 'MuiDialogContent',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dividers && styles.dividers];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n flex: '1 1 auto',\n // Add iOS momentum scrolling for iOS < 13.0\n WebkitOverflowScrolling: 'touch',\n overflowY: 'auto',\n padding: '20px 24px'\n}, ownerState.dividers ? {\n padding: '16px 24px',\n borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`\n} : {\n [`.${dialogTitleClasses.root} + &`]: {\n paddingTop: 0\n }\n}));\nconst DialogContent = /*#__PURE__*/React.forwardRef(function DialogContent(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiDialogContent'\n });\n const {\n className,\n dividers = false\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n dividers\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(DialogContentRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogContent.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Display the top and bottom dividers.\n * @default false\n */\n dividers: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default DialogContent;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDialogContentUtilityClass(slot) {\n return generateUtilityClass('MuiDialogContent', slot);\n}\nconst dialogContentClasses = generateUtilityClasses('MuiDialogContent', ['root', 'dividers']);\nexport default dialogContentClasses;"],"names":["MOBILE_PADDING","DESKTOP_PADDING","DialogHeader","props","flexDirection","_props$badge","badge","badgeColor","badgeLabel","_props$divider","divider","_props$helpIcon","helpIcon","iconLeadingColor","iconLeadingIcon","iconLeadingSize","iconLeadingTheme","mobileBreakpoint","mobileBreakpointContainerRef","onClose","_props$showCloseButto","showCloseButton","_props$showFeaturedIc","showFeaturedIcon","supportingText","sx","text","tooltipDescription","tooltipLabel","tooltipPlacement","tooltipVariant","_props$type","type","_props$withPaddingBot","withPaddingBottom","theme","useTheme","isMobile","useConvertToMobile","u","padding","children","Box","concat","textAlign","Stack","display","justifyContent","position","height","right","top","CloseButton","size","width","direction","marginBottom","marginRight","FeaturedIcon","Icon","color","iconTheme","alignItems","spacing","Typography","palette","gray","variant","Badge","label","className","Divider","ActionButtons","_ref","buttonWidthStyle","destructive","onPrimaryButtonClick","onSecondaryButtonClick","primaryButtonProps","primaryButtonText","secondaryButtonProps","secondaryButtonText","Button","onClick","DialogFooter","_props$checkbox","checkbox","checkboxText","_props$checked","checked","_props$destructive","icon","_props$isMobile","onChangeCheckbox","onTertiaryButtonClick","_props$tertiaryButton","tertiaryButton","tertiaryButtonText","buttonType","paddingTop","gap","flex","Checkbox","onChange","startIcon","_props$backgroundBlur","backgroundBlur","_props$backgroundType","backgroundType","_props$dialogFooterTy","dialogFooterType","dialogHeaderSupportingText","dialogHeaderText","_props$footerDivider","footerDivider","_props$fullWidth","fullWidth","handleClose","_props$headerDivider","headerDivider","_props$headerPaddingB","headerPaddingBottom","_props$maxWidth","maxWidth","minHeight","_props$open","open","_props$padding","_props$primaryButtonT","_props$secondaryButto","_props$showDialogFoot","showDialogFooter","dialogHeaderType","dialogWidth","dialogFooterPaddingTop","contentRef","useRef","_useState","useState","_useState2","contentScrollbar","setContentScrollbar","useEffect","handleResize","_contentRef$current","current","_ref$offsetWidth","offsetWidth","_ref$scrollWidth","scrollWidth","window","addEventListener","removeEventListener","paddingLeftRight","dialogContentPaddingLeft","dialogContentPaddingRight","BackdropProps","scroll","margin","overflow","borderRadius","boxShadow","shadows","SHADOWS","xl","DialogTitle","id","DialogContent","ref","getScrollbarStyles","common","white","overflowX","paddingLeft","paddingRight","paddingBottom","sizeBasedProps","lg","borderWidth","iconSize","md","sm","iconId","_props$color","_props$iconTheme","_props$size","bgAndBorderColors","error","backgroundColor","borderColor","primary","success","warning","themeBasedProps","borderStyle","outline","border","xs","I","Number","getBackdropStyles","background","backdropFilter","blurs","trackBgColor","undefined","_excluded","DialogContentRoot","name","slot","overridesResolver","styles","ownerState","root","dividers","WebkitOverflowScrolling","overflowY","borderTop","vars","borderBottom","inProps","other","classes","slots","useUtilityClasses","getDialogContentUtilityClass"],"sourceRoot":""}