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,eAAgBA,MAGtC,C,iLC3IO,SAASkF,EAAQC,GACtB,OAAOC,IAAQD,GAAQE,QACzB,CAEO,SAASC,EAAUH,GAGxB,OAAOI,EAFQJ,EAASC,IAAQD,GAAQE,OAAO,WAAa,GAEtC,MACxB,CAEO,SAASG,EAASL,GAGvB,OAAOI,EAFQJ,EAASC,IAAQtI,OAAOqI,GAAU,KAAKE,OAAO,QAAU,GAEjD,KACxB,CAEO,SAASI,EAAeN,GAC7B,IAAMO,EAAkBN,IAAQD,GAIhC,OAAIA,GAAU,IACLO,EAAgBL,OAAO,QAAQM,cAEjCD,EAAgBL,OAAO,MAChC,CAEO,SAASxE,EAAMsE,GAGpB,OAAOI,EAFQJ,EAASC,IAAQD,GAAQE,OAAO,SAAW,GAEpC,KACxB,CAEA,SAASE,EAAOF,GAAsB,IAAdjE,EAAGtD,UAAAzE,OAAA,QAAA0E,IAAAD,UAAA,GAAAA,UAAA,GAAG,MAG5B,OAFkBuH,EAAOjM,SAASgI,GAEfiE,EAAOO,QAAQxE,EAAK,IAAMiE,CAC/C,C,gDCpCAQ,EAAAA,EAAKC,UAAU,CACbC,UAAW,CAAC,aAAc,KAAM,OAAQ,OAAQ,OAAQ,MAAO,UAG3C,qBAAXC,SACTA,OAAOH,KAAOA,EAAAA,E","sources":["components/editor/styles.js","components/editor/toolbar.js","components/editor/editor.js","components/hook-form/rhf-upload.js","components/hook-form/rhf-select.js","components/hook-form/rhf-checkbox.js","components/hook-form/rhf-code.js","components/hook-form/rhf-switch.js","components/hook-form/rhf-editor.js","components/hook-form/rhf-slider.js","components/hook-form/rhf-text-field.js","components/hook-form/rhf-radio-group.js","components/hook-form/rhf-autocomplete.js","components/hook-form/form-provider.js","components/image/utils.js","components/image/image.js","components/upload/errors-rejection-files.js","components/upload/preview-multi-file.js","components/upload/preview-single-file.js","components/upload/upload.js","components/upload/upload-box.js","components/upload/upload-avatar.js","utils/format-number.js","utils/highlight.js"],"sourcesContent":["import { styled, alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\n\n// ----------------------------------------------------------------------\n\nexport const StyledEditor = styled(Box)(({ theme }) => ({\n  overflow: 'hidden',\n  position: 'relative',\n  borderRadius: theme.shape.borderRadius,\n  border: `solid 1px ${alpha(theme.palette.grey[500], 0.2)}`,\n  '& .ql-container.ql-snow': {\n    border: 'none',\n    ...theme.typography.body2,\n    fontFamily: theme.typography.fontFamily,\n  },\n  '& .ql-editor': {\n    minHeight: 160,\n    maxHeight: 640,\n    backgroundColor: alpha(theme.palette.grey[500], 0.08),\n    '&.ql-blank::before': {\n      fontStyle: 'normal',\n      color: theme.palette.text.disabled,\n    },\n    '& pre.ql-syntax': {\n      ...theme.typography.body2,\n      padding: theme.spacing(2),\n      borderRadius: theme.shape.borderRadius,\n      backgroundColor: theme.palette.grey[900],\n    },\n    '& h1': {\n      ...theme.typography.h1,\n    },\n    '& h2': {\n      ...theme.typography.h2,\n    },\n    '& h3': {\n      ...theme.typography.h3,\n    },\n    '& h4': {\n      ...theme.typography.h4,\n    },\n    '& h5': {\n      ...theme.typography.h5,\n    },\n    '& h6': {\n      ...theme.typography.h6,\n    },\n    '& p, li': {\n      ...theme.typography.body2,\n    },\n  },\n}));\n\nexport const StyledEditorToolbar = styled('div')(({ theme }) => {\n  const isRTL = theme.direction === 'rtl';\n\n  return {\n    '& .ql-snow.ql-toolbar button:hover .ql-fill, .ql-snow .ql-toolbar button:hover .ql-fill, .ql-snow.ql-toolbar button:focus .ql-fill, .ql-snow .ql-toolbar button:focus .ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill':\n      {\n        fill: theme.palette.primary.main,\n      },\n    '& .ql-snow.ql-toolbar button:hover, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar button:focus, .ql-snow .ql-toolbar button:focus, .ql-snow.ql-toolbar button.ql-active, .ql-snow .ql-toolbar button.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item.ql-selected':\n      {\n        color: theme.palette.primary.main,\n      },\n    '& .ql-snow.ql-toolbar button:hover .ql-stroke, .ql-snow .ql-toolbar button:hover .ql-stroke, .ql-snow.ql-toolbar button:focus .ql-stroke, .ql-snow .ql-toolbar button:focus .ql-stroke, .ql-snow.ql-toolbar button.ql-active .ql-stroke, .ql-snow .ql-toolbar button.ql-active .ql-stroke, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, .ql-snow.ql-toolbar button:hover .ql-stroke-miter, .ql-snow .ql-toolbar button:hover .ql-stroke-miter, .ql-snow.ql-toolbar button:focus .ql-stroke-miter, .ql-snow .ql-toolbar button:focus .ql-stroke-miter, .ql-snow.ql-toolbar button.ql-active .ql-stroke-miter, .ql-snow .ql-toolbar button.ql-active .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter':\n      {\n        stroke: theme.palette.primary.main,\n      },\n    '& .ql-stroke': {\n      stroke: theme.palette.text.primary,\n    },\n    '& .ql-fill, .ql-stroke.ql-fill': {\n      fill: theme.palette.text.primary,\n    },\n    '& .ql-picker, .ql-picker-options, .ql-picker-item, .ql-picker-label, button': {\n      '&:focus': { outline: 'none' },\n    },\n    '& .ql-toolbar.ql-snow': {\n      border: 'none',\n      borderBottom: `solid 1px ${alpha(theme.palette.grey[500], 0.2)}`,\n      '& .ql-formats': {\n        '&:not(:last-of-type)': {\n          marginRight: theme.spacing(2),\n        },\n      },\n\n      // Button\n      '& button': {\n        padding: 0,\n        display: 'flex',\n        alignItems: 'center',\n        justifyContent: 'center',\n        borderRadius: 4,\n        color: theme.palette.text.primary,\n      },\n\n      // Icon svg\n      '& button svg, span svg': {\n        width: 20,\n        height: 20,\n      },\n\n      // Select\n      '& .ql-picker-label': {\n        ...theme.typography.subtitle2,\n        color: theme.palette.text.primary,\n        '& .ql-stroke': {\n          stroke: theme.palette.text.primary,\n        },\n      },\n      '& .ql-picker-label svg': {\n        ...(isRTL && {\n          right: '0 !important',\n          left: 'auto !important',\n        }),\n      },\n      '& .ql-color,& .ql-background,& .ql-align ': {\n        '& .ql-picker-label': {\n          padding: 0,\n          display: 'flex',\n          alignItems: 'center',\n          justifyContent: 'center',\n        },\n      },\n      '& .ql-expanded': {\n        '& .ql-picker-label': {\n          borderRadius: 4,\n          color: theme.palette.text.disabled,\n          borderColor: 'transparent !important',\n          backgroundColor: theme.palette.action.focus,\n          '& .ql-stroke': { stroke: theme.palette.text.disabled },\n        },\n        '& .ql-picker-options': {\n          padding: 0,\n          marginTop: 4,\n          border: 'none',\n          maxHeight: 200,\n          overflow: 'auto',\n          boxShadow: theme.customShadows.z20,\n          borderRadius: theme.shape.borderRadius,\n          backgroundColor: theme.palette.background.paper,\n        },\n        '& .ql-picker-item': {\n          color: theme.palette.text.primary,\n        },\n\n        // Align\n        '&.ql-align': {\n          '& .ql-picker-options': { padding: 0, display: 'flex' },\n          '& .ql-picker-item': {\n            width: 32,\n            height: 32,\n            display: 'flex',\n            alignItems: 'center',\n            justifyContent: 'center',\n          },\n        },\n        // Color & Background\n        '&.ql-color, &.ql-background': {\n          '& .ql-picker-options': { padding: 8 },\n          '& .ql-picker-item': {\n            margin: 3,\n            borderRadius: 4,\n            '&.ql-selected': { border: 'solid 1px black' },\n          },\n        },\n        // Font, Size, Header\n        '&.ql-font, &.ql-size, &.ql-header': {\n          '& .ql-picker-options': {\n            padding: theme.spacing(1, 0),\n          },\n          '& .ql-picker-item': {\n            padding: theme.spacing(0.5, 1.5),\n          },\n        },\n      },\n    },\n  };\n});\n","import PropTypes from 'prop-types';\nimport { StyledEditorToolbar } from './styles';\n\n// ----------------------------------------------------------------------\n\nconst HEADINGS = ['Heading 1', 'Heading 2', 'Heading 3', 'Heading 4', 'Heading 5', 'Heading 6'];\n\nexport const formats = [\n  'align',\n  'background',\n  'blockquote',\n  'bold',\n  'bullet',\n  'code',\n  'code-block',\n  'color',\n  'direction',\n  'font',\n  'formula',\n  'header',\n  'image',\n  'indent',\n  'italic',\n  'link',\n  'list',\n  'script',\n  'size',\n  'strike',\n  'table',\n  'underline',\n  'video',\n];\n\nexport default function Toolbar({ id, isSimple, ...other }) {\n  return (\n    <StyledEditorToolbar {...other}>\n      <div id={id}>\n        <div className=\"ql-formats\">\n          <select className=\"ql-header\" defaultValue=\"\">\n            {HEADINGS.map((heading, index) => (\n              <option key={heading} value={index + 1}>\n                {heading}\n              </option>\n            ))}\n            <option value=\"\">Normal</option>\n          </select>\n        </div>\n\n        <div className=\"ql-formats\">\n          <button type=\"button\" className=\"ql-bold\" />\n          <button type=\"button\" className=\"ql-italic\" />\n          <button type=\"button\" className=\"ql-underline\" />\n          <button type=\"button\" className=\"ql-strike\" />\n        </div>\n\n        {!isSimple && (\n          <div className=\"ql-formats\">\n            <select className=\"ql-color\" />\n            <select className=\"ql-background\" />\n          </div>\n        )}\n\n        <div className=\"ql-formats\">\n          <button type=\"button\" className=\"ql-list\" value=\"ordered\" />\n          <button type=\"button\" className=\"ql-list\" value=\"bullet\" />\n          {!isSimple && <button type=\"button\" className=\"ql-indent\" value=\"-1\" />}\n          {!isSimple && <button type=\"button\" className=\"ql-indent\" value=\"+1\" />}\n        </div>\n\n        {!isSimple && (\n          <div className=\"ql-formats\">\n            <button type=\"button\" className=\"ql-script\" value=\"super\" />\n            <button type=\"button\" className=\"ql-script\" value=\"sub\" />\n          </div>\n        )}\n\n        {!isSimple && (\n          <div className=\"ql-formats\">\n            <button type=\"button\" className=\"ql-code-block\" />\n            <button type=\"button\" className=\"ql-blockquote\" />\n          </div>\n        )}\n\n        <div className=\"ql-formats\">\n          <button type=\"button\" className=\"ql-direction\" value=\"rtl\" />\n          <select className=\"ql-align\" />\n        </div>\n\n        <div className=\"ql-formats\">\n          <button type=\"button\" className=\"ql-link\" />\n          <button type=\"button\" className=\"ql-image\" />\n          <button type=\"button\" className=\"ql-video\" />\n        </div>\n\n        <div className=\"ql-formats\">\n          {!isSimple && <button type=\"button\" className=\"ql-formula\" />}\n          <button type=\"button\" className=\"ql-clean\" />\n        </div>\n      </div>\n    </StyledEditorToolbar>\n  );\n}\n\nToolbar.propTypes = {\n  id: PropTypes.string,\n  isSimple: PropTypes.bool,\n};\n","import PropTypes from 'prop-types';\nimport 'src/utils/highlight';\nimport ReactQuill from 'react-quill';\n// @mui\nimport { alpha } from '@mui/material/styles';\n//\nimport { StyledEditor } from './styles';\nimport Toolbar, { formats } from './toolbar';\n\n// ----------------------------------------------------------------------\n\nexport default function Editor({\n  id = 'minimal-quill',\n  error,\n  simple = false,\n  helperText,\n  sx,\n  ...other\n}) {\n  const modules = {\n    toolbar: {\n      container: `#${id}`,\n    },\n    history: {\n      delay: 500,\n      maxStack: 100,\n      userOnly: true,\n    },\n    syntax: true,\n    clipboard: {\n      matchVisual: false,\n    },\n  };\n\n  return (\n    <>\n      <StyledEditor\n        sx={{\n          ...(error && {\n            border: (theme) => `solid 1px ${theme.palette.error.main}`,\n            '& .ql-editor': {\n              bgcolor: (theme) => alpha(theme.palette.error.main, 0.08),\n            },\n          }),\n          ...sx,\n        }}\n      >\n        <Toolbar id={id} isSimple={simple} />\n\n        <ReactQuill\n          modules={modules}\n          formats={formats}\n          placeholder=\"Write something awesome...\"\n          {...other}\n        />\n      </StyledEditor>\n\n      {helperText && helperText}\n    </>\n  );\n}\n\nEditor.propTypes = {\n  error: PropTypes.bool,\n  helperText: PropTypes.object,\n  id: PropTypes.string,\n  simple: PropTypes.bool,\n  sx: PropTypes.object,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport FormHelperText from '@mui/material/FormHelperText';\n//\nimport { UploadAvatar, Upload, UploadBox } from '../upload';\n\n// ----------------------------------------------------------------------\n\nexport function RHFUploadAvatar({ name, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <div>\n          <UploadAvatar error={!!error} file={field.value} {...other} />\n\n          {!!error && (\n            <FormHelperText error sx={{ px: 2, textAlign: 'center' }}>\n              {error.message}\n            </FormHelperText>\n          )}\n        </div>\n      )}\n    />\n  );\n}\n\nRHFUploadAvatar.propTypes = {\n  name: PropTypes.string,\n};\n\n// ----------------------------------------------------------------------\n\nexport function RHFUploadBox({ name, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <UploadBox files={field.value} error={!!error} {...other} />\n      )}\n    />\n  );\n}\n\nRHFUploadBox.propTypes = {\n  name: PropTypes.string,\n};\n\n// ----------------------------------------------------------------------\n\nexport function RHFUpload({ name, multiple, helperText, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) =>\n        multiple ? (\n          <Upload\n            multiple\n            accept={{ 'image/*': [] }}\n            files={field.value}\n            error={!!error}\n            helperText={\n              (!!error || helperText) && (\n                <FormHelperText error={!!error} sx={{ px: 2 }}>\n                  {error ? error?.message : helperText}\n                </FormHelperText>\n              )\n            }\n            {...other}\n          />\n        ) : (\n          <Upload\n            accept={{ 'image/*': [] }}\n            file={field.value}\n            error={!!error}\n            helperText={\n              (!!error || helperText) && (\n                <FormHelperText error={!!error} sx={{ px: 2 }}>\n                  {error ? error?.message : helperText}\n                </FormHelperText>\n              )\n            }\n            {...other}\n          />\n        )\n      }\n    />\n  );\n}\n\nRHFUpload.propTypes = {\n  helperText: PropTypes.string,\n  multiple: PropTypes.bool,\n  name: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport Box from '@mui/material/Box';\nimport Chip from '@mui/material/Chip';\nimport MenuItem from '@mui/material/MenuItem';\nimport Checkbox from '@mui/material/Checkbox';\nimport InputLabel from '@mui/material/InputLabel';\nimport FormControl from '@mui/material/FormControl';\nimport OutlinedInput from '@mui/material/OutlinedInput';\nimport FormHelperText from '@mui/material/FormHelperText';\nimport Select from '@mui/material/Select';\nimport TextField from '@mui/material/TextField';\n\n// ----------------------------------------------------------------------\n\nexport function RHFSelect({\n  name,\n  native,\n  maxHeight = 220,\n  helperText,\n  children,\n  PaperPropsSx,\n  ...other\n}) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <TextField\n          {...field}\n          select\n          fullWidth\n          SelectProps={{\n            native,\n            MenuProps: {\n              PaperProps: {\n                sx: {\n                  ...(!native && {\n                    maxHeight: typeof maxHeight === 'number' ? maxHeight : 'unset',\n                  }),\n                  ...PaperPropsSx,\n                },\n              },\n            },\n            sx: { textTransform: 'capitalize' },\n          }}\n          error={!!error}\n          helperText={error ? error?.message : helperText}\n          {...other}\n        >\n          {children}\n        </TextField>\n      )}\n    />\n  );\n}\n\nRHFSelect.propTypes = {\n  PaperPropsSx: PropTypes.object,\n  children: PropTypes.node,\n  helperText: PropTypes.object,\n  maxHeight: PropTypes.number,\n  name: PropTypes.string,\n  native: PropTypes.bool,\n};\n\n// ----------------------------------------------------------------------\n\nexport function RHFMultiSelect({\n  name,\n  chip,\n  label,\n  options,\n  checkbox,\n  placeholder,\n  helperText,\n  sx,\n  ...other\n}) {\n  const { control } = useFormContext();\n\n  const renderValues = (selectedIds) => {\n    const selectedItems = options.filter((item) => selectedIds.includes(item.value));\n\n    if (!selectedItems.length && placeholder) {\n      return (\n        <Box component=\"em\" sx={{ color: 'text.disabled' }}>\n          {placeholder}\n        </Box>\n      );\n    }\n\n    if (chip) {\n      return (\n        <Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 0.5 }}>\n          {selectedItems.map((item) => (\n            <Chip key={item.value} size=\"small\" label={item.label} />\n          ))}\n        </Box>\n      );\n    }\n\n    return selectedItems.map((item) => item.label).join(', ');\n  };\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <FormControl sx={sx}>\n          {label && <InputLabel id={name}> {label} </InputLabel>}\n\n          <Select\n            {...field}\n            multiple\n            displayEmpty={!!placeholder}\n            labelId={name}\n            input={<OutlinedInput fullWidth label={label} error={!!error} />}\n            renderValue={renderValues}\n            {...other}\n          >\n            {placeholder && (\n              <MenuItem disabled value=\"\">\n                <em> {placeholder} </em>\n              </MenuItem>\n            )}\n\n            {options.map((option) => {\n              const selected = field.value.includes(option.value);\n\n              return (\n                <MenuItem key={option.value} value={option.value}>\n                  {checkbox && <Checkbox size=\"small\" disableRipple checked={selected} />}\n\n                  {option.label}\n                </MenuItem>\n              );\n            })}\n          </Select>\n\n          {(!!error || helperText) && (\n            <FormHelperText error={!!error}>{error ? error?.message : helperText}</FormHelperText>\n          )}\n        </FormControl>\n      )}\n    />\n  );\n}\n\nRHFMultiSelect.propTypes = {\n  checkbox: PropTypes.bool,\n  chip: PropTypes.bool,\n  helperText: PropTypes.object,\n  label: PropTypes.string,\n  name: PropTypes.string,\n  options: PropTypes.array,\n  placeholder: PropTypes.string,\n  sx: PropTypes.object,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport Checkbox from '@mui/material/Checkbox';\nimport FormGroup from '@mui/material/FormGroup';\nimport FormLabel from '@mui/material/FormLabel';\nimport FormControl from '@mui/material/FormControl';\nimport FormHelperText from '@mui/material/FormHelperText';\nimport FormControlLabel, { formControlLabelClasses } from '@mui/material/FormControlLabel';\n\n// ----------------------------------------------------------------------\n\nexport function RHFCheckbox({ name, helperText, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <div>\n          <FormControlLabel control={<Checkbox {...field} checked={field.value} />} {...other} />\n\n          {(!!error || helperText) && (\n            <FormHelperText error={!!error}>{error ? error?.message : helperText}</FormHelperText>\n          )}\n        </div>\n      )}\n    />\n  );\n}\n\nRHFCheckbox.propTypes = {\n  helperText: PropTypes.string,\n  name: PropTypes.string,\n};\n\n// ----------------------------------------------------------------------\n\nexport function RHFMultiCheckbox({ row, name, label, options, spacing, helperText, sx, ...other }) {\n  const { control } = useFormContext();\n\n  const getSelected = (selectedItems, item) =>\n    selectedItems.includes(item)\n      ? selectedItems.filter((value) => value !== item)\n      : [...selectedItems, item];\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <FormControl component=\"fieldset\">\n          {label && (\n            <FormLabel component=\"legend\" sx={{ typography: 'body2' }}>\n              {label}\n            </FormLabel>\n          )}\n\n          <FormGroup\n            sx={{\n              ...(row && {\n                flexDirection: 'row',\n              }),\n              [`& .${formControlLabelClasses.root}`]: {\n                '&:not(:last-of-type)': {\n                  mb: spacing || 0,\n                },\n                ...(row && {\n                  mr: 0,\n                  '&:not(:last-of-type)': {\n                    mr: spacing || 2,\n                  },\n                }),\n              },\n              ...sx,\n            }}\n          >\n            {options.map((option) => (\n              <FormControlLabel\n                key={option.value}\n                control={\n                  <Checkbox\n                    checked={field.value.includes(option.value)}\n                    onChange={() => field.onChange(getSelected(field.value, option.value))}\n                  />\n                }\n                label={option.label}\n                {...other}\n              />\n            ))}\n          </FormGroup>\n\n          {(!!error || helperText) && (\n            <FormHelperText error={!!error} sx={{ mx: 0 }}>\n              {error ? error?.message : helperText}\n            </FormHelperText>\n          )}\n        </FormControl>\n      )}\n    />\n  );\n}\n\nRHFMultiCheckbox.propTypes = {\n  helperText: PropTypes.string,\n  label: PropTypes.string,\n  name: PropTypes.string,\n  options: PropTypes.array,\n  row: PropTypes.bool,\n  spacing: PropTypes.number,\n  sx: PropTypes.object,\n};\n","import PropTypes from 'prop-types';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { MuiOtpInput } from 'mui-one-time-password-input';\n// @mui\nimport FormHelperText from '@mui/material/FormHelperText';\n\n// ----------------------------------------------------------------------\n\nexport default function RHFCode({ name, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <div>\n          <MuiOtpInput\n            {...field}\n            autoFocus\n            gap={1.5}\n            length={6}\n            TextFieldsProps={{\n              error: !!error,\n              placeholder: '-',\n            }}\n            {...other}\n          />\n\n          {error && (\n            <FormHelperText sx={{ px: 2 }} error>\n              {error.message}\n            </FormHelperText>\n          )}\n        </div>\n      )}\n    />\n  );\n}\n\nRHFCode.propTypes = {\n  name: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport Switch from '@mui/material/Switch';\nimport FormHelperText from '@mui/material/FormHelperText';\nimport FormControlLabel from '@mui/material/FormControlLabel';\n\n// ----------------------------------------------------------------------\n\nexport default function RHFSwitch({ name, helperText, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <div>\n          <FormControlLabel control={<Switch {...field} checked={field.value} />} {...other} />\n\n          {(!!error || helperText) && (\n            <FormHelperText error={!!error}>{error ? error?.message : helperText}</FormHelperText>\n          )}\n        </div>\n      )}\n    />\n  );\n}\n\nRHFSwitch.propTypes = {\n  helperText: PropTypes.string,\n  name: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { useEffect } from 'react';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport FormHelperText from '@mui/material/FormHelperText';\n//\nimport Editor from '../editor';\n\n// ----------------------------------------------------------------------\n\nexport default function RHFEditor({ name, helperText, ...other }) {\n  const {\n    control,\n    watch,\n    setValue,\n    formState: { isSubmitSuccessful },\n  } = useFormContext();\n\n  const values = watch();\n\n  useEffect(() => {\n    if (values[name] === '<p><br></p>') {\n      setValue(name, '', {\n        shouldValidate: !isSubmitSuccessful,\n      });\n    }\n  }, [isSubmitSuccessful, name, setValue, values]);\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <Editor\n          id={name}\n          value={field.value}\n          onChange={field.onChange}\n          error={!!error}\n          helperText={\n            (!!error || helperText) && (\n              <FormHelperText error={!!error} sx={{ px: 2 }}>\n                {error ? error?.message : helperText}\n              </FormHelperText>\n            )\n          }\n          {...other}\n        />\n      )}\n    />\n  );\n}\n\nRHFEditor.propTypes = {\n  helperText: PropTypes.string,\n  name: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport FormHelperText from '@mui/material/FormHelperText';\nimport Slider from '@mui/material/Slider';\n\n// ----------------------------------------------------------------------\n\nexport default function RHFSlider({ name, helperText, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <>\n          <Slider {...field} valueLabelDisplay=\"auto\" {...other} />\n\n          {(!!error || helperText) && (\n            <FormHelperText error={!!error}>{error ? error?.message : helperText}</FormHelperText>\n          )}\n        </>\n      )}\n    />\n  );\n}\n\nRHFSlider.propTypes = {\n  helperText: PropTypes.string,\n  name: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport TextField from '@mui/material/TextField';\n\n// ----------------------------------------------------------------------\n\nexport default function RHFTextField({ name, helperText, type, ...other }) {\n  const { control } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <TextField\n          {...field}\n          fullWidth\n          type={type}\n          value={type === 'number' && field.value === 0 ? '' : field.value}\n          onChange={(event) => {\n            if (type === 'number') {\n              field.onChange(Number(event.target.value));\n            } else {\n              field.onChange(event.target.value);\n            }\n          }}\n          error={!!error}\n          helperText={error ? error?.message : helperText}\n          {...other}\n        />\n      )}\n    />\n  );\n}\n\nRHFTextField.propTypes = {\n  helperText: PropTypes.object,\n  name: PropTypes.string,\n  type: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport Radio from '@mui/material/Radio';\nimport FormLabel from '@mui/material/FormLabel';\nimport FormControl from '@mui/material/FormControl';\nimport FormHelperText from '@mui/material/FormHelperText';\nimport FormControlLabel from '@mui/material/FormControlLabel';\nimport RadioGroup from '@mui/material/RadioGroup';\n\n// ----------------------------------------------------------------------\n\nexport default function RHFRadioGroup({\n  row,\n  name,\n  label,\n  options,\n  spacing,\n  helperText,\n  ...other\n}) {\n  const { control } = useFormContext();\n\n  const labelledby = label ? `${name}-${label}` : '';\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <FormControl component=\"fieldset\">\n          {label && (\n            <FormLabel component=\"legend\" id={labelledby} sx={{ typography: 'body2' }}>\n              {label}\n            </FormLabel>\n          )}\n\n          <RadioGroup {...field} aria-labelledby={labelledby} row={row} {...other}>\n            {options.map((option) => (\n              <FormControlLabel\n                key={option.value}\n                value={option.value}\n                control={<Radio />}\n                label={option.label}\n                sx={{\n                  '&:not(:last-of-type)': {\n                    mb: spacing || 0,\n                  },\n                  ...(row && {\n                    mr: 0,\n                    '&:not(:last-of-type)': {\n                      mr: spacing || 2,\n                    },\n                  }),\n                }}\n              />\n            ))}\n          </RadioGroup>\n\n          {(!!error || helperText) && (\n            <FormHelperText error={!!error} sx={{ mx: 0 }}>\n              {error ? error?.message : helperText}\n            </FormHelperText>\n          )}\n        </FormControl>\n      )}\n    />\n  );\n}\n\nRHFRadioGroup.propTypes = {\n  helperText: PropTypes.string,\n  label: PropTypes.string,\n  name: PropTypes.string,\n  options: PropTypes.array,\n  row: PropTypes.bool,\n  spacing: PropTypes.number,\n};\n","import PropTypes from 'prop-types';\nimport { useFormContext, Controller } from 'react-hook-form';\n// @mui\nimport TextField from '@mui/material/TextField';\nimport Autocomplete from '@mui/material/Autocomplete';\n\n// ----------------------------------------------------------------------\n\nexport default function RHFAutocomplete({ name, label, placeholder, helperText, ...other }) {\n  const { control, setValue } = useFormContext();\n\n  return (\n    <Controller\n      name={name}\n      control={control}\n      render={({ field, fieldState: { error } }) => (\n        <Autocomplete\n          {...field}\n          onChange={(event, newValue) => setValue(name, newValue, { shouldValidate: true })}\n          renderInput={(params) => (\n            <TextField\n              label={label}\n              placeholder={placeholder}\n              error={!!error}\n              helperText={error ? error?.message : helperText}\n              {...params}\n            />\n          )}\n          {...other}\n        />\n      )}\n    />\n  );\n}\n\nRHFAutocomplete.propTypes = {\n  helperText: PropTypes.string,\n  label: PropTypes.string,\n  name: PropTypes.string,\n  placeholder: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { FormProvider as Form } from 'react-hook-form';\n\n// ----------------------------------------------------------------------\n\nexport default function FormProvider({ children, onSubmit, methods }) {\n  return (\n    <Form {...methods}>\n      <form onSubmit={onSubmit}>{children}</form>\n    </Form>\n  );\n}\n\nFormProvider.propTypes = {\n  children: PropTypes.node,\n  methods: PropTypes.object,\n  onSubmit: PropTypes.func,\n};\n","// ----------------------------------------------------------------------\n\nexport function getRatio(ratio = '1/1') {\n  return {\n    '4/3': 'calc(100% / 4 * 3)',\n    '3/4': 'calc(100% / 3 * 4)',\n    '6/4': 'calc(100% / 6 * 4)',\n    '4/6': 'calc(100% / 4 * 6)',\n    '16/9': 'calc(100% / 16 * 9)',\n    '9/16': 'calc(100% / 9 * 16)',\n    '21/9': 'calc(100% / 21 * 9)',\n    '9/21': 'calc(100% / 9 * 21)',\n    '1/1': '100%',\n  }[ratio];\n}\n","import PropTypes from 'prop-types';\nimport { forwardRef } from 'react';\nimport { LazyLoadImage } from 'react-lazy-load-image-component';\n// @mui\nimport { alpha, useTheme } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\n//\nimport { getRatio } from './utils';\n\n// ----------------------------------------------------------------------\n\nconst Image = forwardRef(\n  (\n    {\n      ratio,\n      overlay,\n      disabledEffect = false,\n      //\n      alt,\n      src,\n      afterLoad,\n      delayTime,\n      threshold,\n      beforeLoad,\n      delayMethod,\n      placeholder,\n      wrapperProps,\n      scrollPosition,\n      effect = 'blur',\n      visibleByDefault,\n      wrapperClassName,\n      useIntersectionObserver,\n      sx,\n      ...other\n    },\n    ref\n  ) => {\n    const theme = useTheme();\n\n    const overlayStyles = !!overlay && {\n      '&:before': {\n        content: \"''\",\n        top: 0,\n        left: 0,\n        width: 1,\n        height: 1,\n        zIndex: 1,\n        position: 'absolute',\n        background: overlay || alpha(theme.palette.grey[900], 0.48),\n      },\n    };\n\n    const content = (\n      <Box\n        component={LazyLoadImage}\n        //\n        alt={alt}\n        src={src}\n        afterLoad={afterLoad}\n        delayTime={delayTime}\n        threshold={threshold}\n        beforeLoad={beforeLoad}\n        delayMethod={delayMethod}\n        placeholder={placeholder}\n        wrapperProps={wrapperProps}\n        scrollPosition={scrollPosition}\n        visibleByDefault={visibleByDefault}\n        effect={disabledEffect ? undefined : effect}\n        useIntersectionObserver={useIntersectionObserver}\n        wrapperClassName={wrapperClassName || 'component-image-wrapper'}\n        placeholderSrc={disabledEffect ? '/assets/transparent.png' : '/assets/placeholder.svg'}\n        //\n        sx={{\n          width: 1,\n          height: 1,\n          objectFit: 'cover',\n          verticalAlign: 'bottom',\n          ...(!!ratio && {\n            top: 0,\n            left: 0,\n            position: 'absolute',\n          }),\n        }}\n      />\n    );\n\n    return (\n      <Box\n        ref={ref}\n        component=\"span\"\n        className=\"component-image\"\n        sx={{\n          overflow: 'hidden',\n          position: 'relative',\n          verticalAlign: 'bottom',\n          display: 'inline-block',\n          ...(!!ratio && {\n            width: 1,\n          }),\n          '& span.component-image-wrapper': {\n            width: 1,\n            height: 1,\n            verticalAlign: 'bottom',\n            backgroundSize: 'cover !important',\n            ...(!!ratio && {\n              pt: getRatio(ratio),\n            }),\n          },\n          ...overlayStyles,\n          ...sx,\n        }}\n        {...other}\n      >\n        {content}\n      </Box>\n    );\n  }\n);\n\nImage.propTypes = {\n  afterLoad: PropTypes.func,\n  alt: PropTypes.string,\n  beforeLoad: PropTypes.func,\n  delayMethod: PropTypes.string,\n  delayTime: PropTypes.number,\n  disabledEffect: PropTypes.bool,\n  effect: PropTypes.string,\n  overlay: PropTypes.string,\n  ratio: PropTypes.oneOf(['4/3', '3/4', '6/4', '4/6', '16/9', '9/16', '21/9', '9/21', '1/1']),\n  scrollPosition: PropTypes.object,\n  src: PropTypes.string,\n  sx: PropTypes.object,\n  threshold: PropTypes.number,\n  useIntersectionObserver: PropTypes.bool,\n  visibleByDefault: PropTypes.bool,\n  wrapperClassName: PropTypes.string,\n  wrapperProps: PropTypes.object,\n  placeholder: PropTypes.element,\n};\n\nexport default Image;\n","import PropTypes from 'prop-types';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport Paper from '@mui/material/Paper';\nimport Typography from '@mui/material/Typography';\n// utils\nimport { fData } from 'src/utils/format-number';\n//\nimport { fileData } from '../file-thumbnail';\n\n// ----------------------------------------------------------------------\n\nexport default function RejectionFiles({ fileRejections }) {\n  if (!fileRejections.length) {\n    return null;\n  }\n\n  return (\n    <Paper\n      variant=\"outlined\"\n      sx={{\n        py: 1,\n        px: 2,\n        mt: 3,\n        textAlign: 'left',\n        borderStyle: 'dashed',\n        borderColor: 'error.main',\n        bgcolor: (theme) => alpha(theme.palette.error.main, 0.08),\n      }}\n    >\n      {fileRejections.map(({ file, errors }) => {\n        const { path, size } = fileData(file);\n\n        return (\n          <Box key={path} sx={{ my: 1 }}>\n            <Typography variant=\"subtitle2\" noWrap>\n              {path} - {size ? fData(size) : ''}\n            </Typography>\n\n            {errors.map((error) => (\n              <Box key={error.code} component=\"span\" sx={{ typography: 'caption' }}>\n                - {error.message}\n              </Box>\n            ))}\n          </Box>\n        );\n      })}\n    </Paper>\n  );\n}\n\nRejectionFiles.propTypes = {\n  fileRejections: PropTypes.array,\n};\n","import PropTypes from 'prop-types';\nimport { m, AnimatePresence } from 'framer-motion';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Stack from '@mui/material/Stack';\nimport IconButton from '@mui/material/IconButton';\nimport ListItemText from '@mui/material/ListItemText';\n// utils\nimport { fData } from 'src/utils/format-number';\n//\nimport Iconify from '../iconify';\nimport { varFade } from '../animate';\nimport FileThumbnail, { fileData } from '../file-thumbnail';\n\n// ----------------------------------------------------------------------\n\nexport default function MultiFilePreview({ thumbnail, files, onRemove, sx }) {\n  return (\n    <AnimatePresence initial={false}>\n      {files?.map((file) => {\n        const { key, name = '', size = 0 } = fileData(file);\n\n        const isNotFormatFile = typeof file === 'string';\n\n        if (thumbnail) {\n          return (\n            <Stack\n              key={key}\n              component={m.div}\n              {...varFade().inUp}\n              alignItems=\"center\"\n              display=\"inline-flex\"\n              justifyContent=\"center\"\n              sx={{\n                m: 0.5,\n                width: 80,\n                height: 80,\n                borderRadius: 1.25,\n                overflow: 'hidden',\n                position: 'relative',\n                border: (theme) => `solid 1px ${alpha(theme.palette.grey[500], 0.16)}`,\n                ...sx,\n              }}\n            >\n              <FileThumbnail\n                tooltip\n                imageView\n                file={file}\n                sx={{ position: 'absolute' }}\n                imgSx={{ position: 'absolute' }}\n              />\n\n              {onRemove && (\n                <IconButton\n                  size=\"small\"\n                  onClick={() => onRemove(file)}\n                  sx={{\n                    p: 0.5,\n                    top: 4,\n                    right: 4,\n                    position: 'absolute',\n                    color: 'common.white',\n                    bgcolor: (theme) => alpha(theme.palette.grey[900], 0.48),\n                    '&:hover': {\n                      bgcolor: (theme) => alpha(theme.palette.grey[900], 0.72),\n                    },\n                  }}\n                >\n                  <Iconify icon=\"mingcute:close-line\" width={14} />\n                </IconButton>\n              )}\n            </Stack>\n          );\n        }\n\n        return (\n          <Stack\n            key={key}\n            component={m.div}\n            {...varFade().inUp}\n            spacing={2}\n            direction=\"row\"\n            alignItems=\"center\"\n            sx={{\n              my: 1,\n              py: 1,\n              px: 1.5,\n              borderRadius: 1,\n              border: (theme) => `solid 1px ${alpha(theme.palette.grey[500], 0.16)}`,\n              ...sx,\n            }}\n          >\n            <FileThumbnail file={file} />\n\n            <ListItemText\n              primary={isNotFormatFile ? file : name}\n              secondary={isNotFormatFile ? '' : fData(size)}\n              secondaryTypographyProps={{\n                component: 'span',\n                typography: 'caption',\n              }}\n            />\n\n            {onRemove && (\n              <IconButton size=\"small\" onClick={() => onRemove(file)}>\n                <Iconify icon=\"mingcute:close-line\" width={16} />\n              </IconButton>\n            )}\n          </Stack>\n        );\n      })}\n    </AnimatePresence>\n  );\n}\n\nMultiFilePreview.propTypes = {\n  files: PropTypes.array,\n  onRemove: PropTypes.func,\n  sx: PropTypes.object,\n  thumbnail: PropTypes.bool,\n};\n","import PropTypes from 'prop-types';\n// @mui\nimport Box from '@mui/material/Box';\n//\nimport Image from '../image';\n\n// ----------------------------------------------------------------------\n\nexport default function SingleFilePreview({ imgUrl = '' }) {\n  return (\n    <Box\n      sx={{\n        p: 1,\n        top: 0,\n        left: 0,\n        width: 1,\n        height: 1,\n        position: 'absolute',\n      }}\n    >\n      <Image\n        alt=\"file preview\"\n        src={imgUrl}\n        sx={{\n          width: 1,\n          height: 1,\n          borderRadius: 1,\n        }}\n      />\n    </Box>\n  );\n}\n\nSingleFilePreview.propTypes = {\n  imgUrl: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\nimport { useDropzone } from 'react-dropzone';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport Button from '@mui/material/Button';\nimport IconButton from '@mui/material/IconButton';\nimport Typography from '@mui/material/Typography';\n// assets\nimport { UploadIllustration } from 'src/assets/illustrations';\n//\nimport Iconify from '../iconify';\n//\nimport RejectionFiles from './errors-rejection-files';\nimport MultiFilePreview from './preview-multi-file';\nimport SingleFilePreview from './preview-single-file';\n\n// ----------------------------------------------------------------------\n\nexport default function Upload({\n  disabled,\n  multiple = false,\n  error,\n  helperText,\n  //\n  file,\n  onDelete,\n  //\n  files,\n  thumbnail,\n  onUpload,\n  onRemove,\n  onRemoveAll,\n  sx,\n  ...other\n}) {\n  const { getRootProps, getInputProps, isDragActive, isDragReject, fileRejections } = useDropzone({\n    multiple,\n    disabled,\n    ...other,\n  });\n\n  const hasFile = !!file && !multiple;\n\n  const hasFiles = !!files && multiple && !!files.length;\n\n  const hasError = isDragReject || !!error;\n\n  const renderPlaceholder = (\n    <Stack spacing={3} alignItems=\"center\" justifyContent=\"center\" flexWrap=\"wrap\">\n      <UploadIllustration sx={{ width: 1, maxWidth: 200 }} />\n      <Stack spacing={1} sx={{ textAlign: 'center' }}>\n        <Typography variant=\"h6\">Drop or Select file</Typography>\n        <Typography variant=\"body2\" sx={{ color: 'text.secondary' }}>\n          Drop files here or click\n          <Box\n            component=\"span\"\n            sx={{\n              mx: 0.5,\n              color: 'primary.main',\n              textDecoration: 'underline',\n            }}\n          >\n            browse\n          </Box>\n          thorough your machine\n        </Typography>\n      </Stack>\n    </Stack>\n  );\n\n  const renderSinglePreview = (\n    <SingleFilePreview imgUrl={typeof file === 'string' ? file : file?.preview} />\n  );\n\n  const removeSinglePreview = hasFile && onDelete && (\n    <IconButton\n      size=\"small\"\n      onClick={onDelete}\n      sx={{\n        top: 16,\n        right: 16,\n        zIndex: 9,\n        position: 'absolute',\n        color: (theme) => alpha(theme.palette.common.white, 0.8),\n        bgcolor: (theme) => alpha(theme.palette.grey[900], 0.72),\n        '&:hover': {\n          bgcolor: (theme) => alpha(theme.palette.grey[900], 0.48),\n        },\n      }}\n    >\n      <Iconify icon=\"mingcute:close-line\" width={18} />\n    </IconButton>\n  );\n\n  const renderMultiPreview = hasFiles && (\n    <>\n      <Box sx={{ my: 3 }}>\n        <MultiFilePreview files={files} thumbnail={thumbnail} onRemove={onRemove} />\n      </Box>\n\n      <Stack direction=\"row\" justifyContent=\"flex-end\" spacing={1.5}>\n        {onRemoveAll && (\n          <Button color=\"inherit\" variant=\"outlined\" size=\"small\" onClick={onRemoveAll}>\n            Remove All\n          </Button>\n        )}\n\n        {onUpload && (\n          <Button\n            size=\"small\"\n            variant=\"contained\"\n            onClick={onUpload}\n            startIcon={<Iconify icon=\"eva:cloud-upload-fill\" />}\n          >\n            Upload\n          </Button>\n        )}\n      </Stack>\n    </>\n  );\n\n  return (\n    <Box sx={{ width: 1, position: 'relative', ...sx }}>\n      <Box\n        {...getRootProps()}\n        sx={{\n          p: 5,\n          outline: 'none',\n          borderRadius: 1,\n          cursor: 'pointer',\n          overflow: 'hidden',\n          position: 'relative',\n          bgcolor: (theme) => alpha(theme.palette.grey[500], 0.08),\n          border: (theme) => `1px dashed ${alpha(theme.palette.grey[500], 0.2)}`,\n          transition: (theme) => theme.transitions.create(['opacity', 'padding']),\n          '&:hover': {\n            opacity: 0.72,\n          },\n          ...(isDragActive && {\n            opacity: 0.72,\n          }),\n          ...(disabled && {\n            opacity: 0.48,\n            pointerEvents: 'none',\n          }),\n          ...(hasError && {\n            color: 'error.main',\n            borderColor: 'error.main',\n            bgcolor: (theme) => alpha(theme.palette.error.main, 0.08),\n          }),\n          ...(hasFile && {\n            padding: '24% 0',\n          }),\n        }}\n      >\n        <input {...getInputProps()} />\n\n        {hasFile ? renderSinglePreview : renderPlaceholder}\n      </Box>\n\n      {removeSinglePreview}\n\n      {helperText && helperText}\n\n      <RejectionFiles fileRejections={fileRejections} />\n\n      {renderMultiPreview}\n    </Box>\n  );\n}\n\nUpload.propTypes = {\n  disabled: PropTypes.object,\n  error: PropTypes.bool,\n  file: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n  files: PropTypes.array,\n  helperText: PropTypes.object,\n  multiple: PropTypes.bool,\n  onDelete: PropTypes.func,\n  onRemove: PropTypes.func,\n  onRemoveAll: PropTypes.func,\n  onUpload: PropTypes.func,\n  sx: PropTypes.object,\n  thumbnail: PropTypes.bool,\n};\n","import PropTypes from 'prop-types';\nimport { useDropzone } from 'react-dropzone';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\n//\nimport Iconify from '../iconify';\n\n// ----------------------------------------------------------------------\n\nexport default function UploadBox({ placeholder, error, disabled, sx, ...other }) {\n  const { getRootProps, getInputProps, isDragActive, isDragReject } = useDropzone({\n    disabled,\n    ...other,\n  });\n\n  const hasError = isDragReject || error;\n\n  return (\n    <Box\n      {...getRootProps()}\n      sx={{\n        m: 0.5,\n        width: 64,\n        height: 64,\n        flexShrink: 0,\n        display: 'flex',\n        borderRadius: 1,\n        cursor: 'pointer',\n        alignItems: 'center',\n        color: 'text.disabled',\n        justifyContent: 'center',\n        bgcolor: (theme) => alpha(theme.palette.grey[500], 0.08),\n        border: (theme) => `dashed 1px ${alpha(theme.palette.grey[500], 0.16)}`,\n        ...(isDragActive && {\n          opacity: 0.72,\n        }),\n        ...(disabled && {\n          opacity: 0.48,\n          pointerEvents: 'none',\n        }),\n        ...(hasError && {\n          color: 'error.main',\n          borderColor: 'error.main',\n          bgcolor: (theme) => alpha(theme.palette.error.main, 0.08),\n        }),\n        '&:hover': {\n          opacity: 0.72,\n        },\n        ...sx,\n      }}\n    >\n      <input {...getInputProps()} />\n\n      {placeholder || <Iconify icon=\"eva:cloud-upload-fill\" width={28} />}\n    </Box>\n  );\n}\n\nUploadBox.propTypes = {\n  disabled: PropTypes.object,\n  error: PropTypes.bool,\n  placeholder: PropTypes.object,\n  sx: PropTypes.object,\n};\n","import PropTypes from 'prop-types';\nimport { useDropzone } from 'react-dropzone';\n// @mui\nimport { alpha } from '@mui/material/styles';\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\n//\nimport Iconify from '../iconify';\nimport Image from '../image';\n//\nimport RejectionFiles from './errors-rejection-files';\n\n// ----------------------------------------------------------------------\n\nexport default function UploadAvatar({ error, file, disabled, helperText, sx, ...other }) {\n  const { getRootProps, getInputProps, isDragActive, isDragReject, fileRejections } = useDropzone({\n    multiple: false,\n    disabled,\n    accept: {\n      'image/*': [],\n    },\n    ...other,\n  });\n\n  const hasFile = !!file;\n\n  const hasError = isDragReject || !!error;\n\n  const imgUrl = typeof file === 'string' ? file : file?.preview;\n\n  const renderPreview = hasFile && (\n    <Image\n      alt=\"avatar\"\n      src={imgUrl}\n      sx={{\n        width: 1,\n        height: 1,\n        borderRadius: '50%',\n      }}\n    />\n  );\n\n  const renderPlaceholder = (\n    <Stack\n      alignItems=\"center\"\n      justifyContent=\"center\"\n      spacing={1}\n      className=\"upload-placeholder\"\n      sx={{\n        top: 0,\n        left: 0,\n        width: 1,\n        height: 1,\n        zIndex: 9,\n        borderRadius: '50%',\n        position: 'absolute',\n        color: 'text.disabled',\n        bgcolor: (theme) => alpha(theme.palette.grey[500], 0.08),\n        transition: (theme) =>\n          theme.transitions.create(['opacity'], {\n            duration: theme.transitions.duration.shorter,\n          }),\n        '&:hover': {\n          opacity: 0.72,\n        },\n        ...(hasError && {\n          color: 'error.main',\n          bgcolor: (theme) => alpha(theme.palette.error.main, 0.08),\n        }),\n        ...(hasFile && {\n          zIndex: 9,\n          opacity: 0,\n          color: 'common.white',\n          bgcolor: (theme) => alpha(theme.palette.grey[900], 0.64),\n        }),\n      }}\n    >\n      <Iconify icon=\"solar:camera-add-bold\" width={32} />\n\n      <Typography variant=\"caption\">{file ? 'Update photo' : 'Upload photo'}</Typography>\n    </Stack>\n  );\n\n  const renderContent = (\n    <Box\n      sx={{\n        width: 1,\n        height: 1,\n        overflow: 'hidden',\n        borderRadius: '50%',\n        position: 'relative',\n      }}\n    >\n      {renderPreview}\n      {renderPlaceholder}\n    </Box>\n  );\n\n  return (\n    <>\n      <Box\n        {...getRootProps()}\n        sx={{\n          p: 1,\n          m: 'auto',\n          width: 144,\n          height: 144,\n          cursor: 'pointer',\n          overflow: 'hidden',\n          borderRadius: '50%',\n          border: (theme) => `1px dashed ${alpha(theme.palette.grey[500], 0.2)}`,\n          ...(isDragActive && {\n            opacity: 0.72,\n          }),\n          ...(disabled && {\n            opacity: 0.48,\n            pointerEvents: 'none',\n          }),\n          ...(hasError && {\n            borderColor: 'error.main',\n          }),\n          ...(hasFile && {\n            ...(hasError && {\n              bgcolor: (theme) => alpha(theme.palette.error.main, 0.08),\n            }),\n            '&:hover .upload-placeholder': {\n              opacity: 1,\n            },\n          }),\n          ...sx,\n        }}\n      >\n        <input {...getInputProps()} />\n\n        {renderContent}\n      </Box>\n\n      {helperText && helperText}\n\n      <RejectionFiles fileRejections={fileRejections} />\n    </>\n  );\n}\n\nUploadAvatar.propTypes = {\n  disabled: PropTypes.object,\n  error: PropTypes.bool,\n  file: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n  helperText: PropTypes.object,\n  sx: PropTypes.object,\n};\n","import numeral from 'numeral';\n\n// ----------------------------------------------------------------------\n\nexport function fNumber(number) {\n  return numeral(number).format();\n}\n\nexport function fCurrency(number) {\n  const format = number ? numeral(number).format('$0,0.00') : '';\n\n  return result(format, '.00');\n}\n\nexport function fPercent(number) {\n  const format = number ? numeral(Number(number) / 100).format('0.0%') : '';\n\n  return result(format, '.0');\n}\n\nexport function fShortenNumber(number) {\n  const formattedNumber = numeral(number);\n\n  // Customize the formatting to round the number to one decimal place\n  // and add 'k' if it's in the thousands\n  if (number >= 1000) {\n    return formattedNumber.format('0.0a').toUpperCase();\n  }\n  return formattedNumber.format('0.0');\n}\n\nexport function fData(number) {\n  const format = number ? numeral(number).format('0.0 b') : '';\n\n  return result(format, '.0');\n}\n\nfunction result(format, key = '.00') {\n  const isInteger = format.includes(key);\n\n  return isInteger ? format.replace(key, '') : format;\n}\n","import hljs from 'highlight.js';\nimport 'highlight.js/styles/base16/tomorrow-night.css';\n\n// ----------------------------------------------------------------------\n\nhljs.configure({\n  languages: ['javascript', 'sh', 'bash', 'html', 'scss', 'css', 'json'],\n});\n\nif (typeof window !== 'undefined') {\n  window.hljs = hljs;\n}\n"],"names":["StyledEditor","styled","Box","_ref","theme","overflow","position","borderRadius","shape","border","concat","alpha","palette","grey","_objectSpread","typography","body2","fontFamily","minHeight","maxHeight","backgroundColor","fontStyle","color","text","disabled","padding","spacing","h1","h2","h3","h4","h5","h6","StyledEditorToolbar","_ref2","isRTL","direction","fill","primary","main","stroke","outline","borderBottom","marginRight","display","alignItems","justifyContent","width","height","subtitle2","right","left","borderColor","action","focus","marginTop","boxShadow","customShadows","z20","background","paper","margin","HEADINGS","formats","Toolbar","id","isSimple","other","_objectWithoutProperties","_excluded","_jsx","children","_jsxs","className","defaultValue","map","heading","index","value","type","Editor","_ref$id","error","_ref$simple","simple","helperText","sx","modules","toolbar","container","history","delay","maxStack","userOnly","syntax","clipboard","matchVisual","_Fragment","bgcolor","ReactQuill","placeholder","RHFUploadAvatar","name","control","useFormContext","Controller","render","field","fieldState","UploadAvatar","file","FormHelperText","px","textAlign","message","RHFUpload","_ref5","multiple","_excluded3","_ref6","Upload","accept","files","RHFSelect","native","_ref$maxHeight","PaperPropsSx","TextField","select","fullWidth","SelectProps","MenuProps","PaperProps","textTransform","RHFMultiSelect","_ref3","chip","label","options","checkbox","_excluded2","renderValues","selectedIds","selectedItems","filter","item","includes","length","component","flexWrap","gap","Chip","size","join","_ref4","FormControl","InputLabel","Select","displayEmpty","labelId","input","OutlinedInput","renderValue","MenuItem","option","selected","Checkbox","disableRipple","checked","RHFCheckbox","FormControlLabel","RHFMultiCheckbox","row","FormLabel","FormGroup","flexDirection","_defineProperty","formControlLabelClasses","root","mb","mr","onChange","_toConsumableArray","mx","RHFCode","MuiOtpInput","autoFocus","TextFieldsProps","RHFSwitch","Switch","RHFEditor","_useFormContext","watch","setValue","isSubmitSuccessful","formState","values","useEffect","shouldValidate","RHFSlider","Slider","valueLabelDisplay","RHFTextField","event","Number","target","RHFRadioGroup","labelledby","RadioGroup","Radio","RHFAutocomplete","Autocomplete","newValue","renderInput","params","FormProvider","onSubmit","methods","Form","getRatio","arguments","undefined","forwardRef","ref","ratio","overlay","_ref$disabledEffect","disabledEffect","alt","src","afterLoad","delayTime","threshold","beforeLoad","delayMethod","wrapperProps","scrollPosition","_ref$effect","effect","visibleByDefault","wrapperClassName","useIntersectionObserver","useTheme","overlayStyles","content","top","zIndex","LazyLoadImage","placeholderSrc","objectFit","verticalAlign","backgroundSize","pt","RejectionFiles","fileRejections","Paper","variant","py","mt","borderStyle","errors","_fileData","fileData","path","my","Typography","noWrap","fData","code","MultiFilePreview","thumbnail","onRemove","AnimatePresence","initial","key","_fileData$name","_fileData$size","isNotFormatFile","Stack","m","div","varFade","inUp","FileThumbnail","tooltip","imageView","imgSx","IconButton","onClick","p","Iconify","icon","ListItemText","secondary","secondaryTypographyProps","SingleFilePreview","_ref$imgUrl","imgUrl","Image","_ref$multiple","onDelete","onUpload","onRemoveAll","_useDropzone","useDropzone","getRootProps","getInputProps","isDragActive","isDragReject","hasFile","hasFiles","hasError","renderPlaceholder","UploadIllustration","maxWidth","textDecoration","renderSinglePreview","preview","removeSinglePreview","common","white","renderMultiPreview","Button","startIcon","cursor","transition","transitions","create","opacity","pointerEvents","UploadBox","flexShrink","renderPreview","duration","shorter","renderContent","fNumber","number","numeral","format","fCurrency","result","fPercent","fShortenNumber","formattedNumber","toUpperCase","replace","hljs","configure","languages","window"],"sourceRoot":""}