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AAS,CAC9CgC,GAAIvG,EACJ4F,IAAKA,EACLE,WAAWU,EAAAA,EAAAA,GAAKN,EAAQtC,KAAMkC,GAC9BnC,WAAYA,GACXoC,EAAO,CACRlH,OAAO0F,EAAAA,EAAAA,GAAS,CACd/C,QACAC,UACC5C,KAEP,G","sources":["pages/DashboardAppPage.js","../node_modules/@mui/material/styles/cssUtils.js","../node_modules/@mui/material/Skeleton/skeletonClasses.js","../node_modules/@mui/material/Skeleton/Skeleton.js"],"sourcesContent":["import { useState, useEffect } from 'react';\nimport Skeleton from '@mui/material/Skeleton';\nimport Iconify from 'src/components/iconify';\n// @mui\nimport { useTheme } from '@mui/material/styles';\nimport { Grid, Container, Typography, Stack, Button, MenuItem, Menu, Box } from '@mui/material';\nimport { AppWidgetSummary } from '../sections/@dashboard/app';\nimport { useNavigate } from 'react-router-dom';\nimport { baseURL } from 'src/constants/baseURL';\nimport { useSelector, useDispatch } from 'react-redux';\nimport api from 'src/features/auth/Api';\nimport { toast } from 'react-toastify';\n\nconst USER_FILTER_OPTIONS = [\n { value: 'currentweek', label: 'Current week' },\n { value: 'lastweek', label: 'Last week' },\n { value: 'last4weeks', label: 'Last 4 weeks' },\n { value: 'last12weeks', label: 'Last 12 weeks' }\n];\n\nexport default function DashboardAppPage() {\n const theme = useTheme();\n const [stats, setStats] = useState({});\n const [loading, setLoading] = useState(true);\n const [open, setOpen] = useState(null);\n const [filter, setFilter] = useState('Current week');\n const [timeRange, setTimeRange] = useState('currentweek');\n\n const { userInfo } = useSelector((state) => state.auth);\n\n const getAuctioneerStats = async () => {\n setLoading(true);\n try {\n const response = await api.post(`${baseURL}/auctioneer/auctioneer-stats`, {\n auctioneer_id: userInfo?.user_id,\n timeRange\n });\n if (response?.status == 200) {\n setStats(response?.data?.data);\n setLoading(false);\n }\n } catch (error) {\n setLoading(false);\n toast.error('Error while getting statistics');\n }\n };\n\n const handleOpen = (event) => {\n setOpen(event.currentTarget);\n };\n\n const handleClose = () => {\n setOpen(null);\n };\n\n const applyFilters = (value, label) => {\n console.log(value, label);\n setTimeRange(value);\n setFilter(label);\n setOpen(null);\n };\n\n useEffect(() => {\n getAuctioneerStats();\n }, [timeRange]);\n\n return (\n <>\n <Container maxWidth=\"xl\" style={{ paddingTop: '70px' }}>\n {/* /// Filter */}\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n mb={5}\n sx={{\n '@media (min-width:600px)': {\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center'\n }\n }}\n >\n <Typography variant=\"h4\" sx={{ mb: 5 }}>\n Hi, Welcome back {userInfo?.firstname || ''} {userInfo?.lastname || ''}\n </Typography>\n\n <Stack direction=\"row\" alignItems=\"center\" justifyContent=\"end\" mb={5}>\n <Button\n color=\"inherit\"\n disableRipple\n onClick={handleOpen}\n endIcon={<Iconify icon={open ? 'eva:chevron-up-fill' : 'eva:chevron-down-fill'} />}\n >\n <Typography\n component=\"span\"\n variant=\"subtitle2\"\n sx={{ borderBottom: '1px solid black' }}\n >\n {filter}\n </Typography>\n </Button>\n <Menu\n keepMounted\n anchorEl={open}\n open={Boolean(open)}\n onClose={handleClose}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'right'\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n >\n {USER_FILTER_OPTIONS.map((option) => (\n <MenuItem\n key={option.value + '_' + option?.condition}\n selected={option.value === 'currentweek'}\n onClick={() => applyFilters(option.value, option.label)}\n sx={{ typography: 'body2' }}\n >\n {option.label}\n </MenuItem>\n ))}\n </Menu>\n </Stack>\n </Box>\n <Grid container spacing={3}>\n {/* //// Sekeleton */}\n {loading ? (\n <>\n <Grid item xs={12} sm={6} md={4}>\n <Skeleton\n variant=\"rectangular\"\n width=\"100%\"\n height={150}\n sx={{ bgcolor: '#ededed' }}\n />\n </Grid>\n <Grid item xs={12} sm={6} md={4}>\n <Skeleton\n variant=\"rectangular\"\n width=\"100%\"\n height={150}\n sx={{ bgcolor: '#ededed' }}\n />\n </Grid>\n <Grid item xs={12} sm={6} md={4}>\n <Skeleton\n variant=\"rectangular\"\n width=\"100%\"\n height={150}\n sx={{ bgcolor: '#ededed' }}\n />\n </Grid>\n </>\n ) : (\n <>\n <Grid item xs={12} sm={6} md={4}>\n <AppWidgetSummary\n title=\"Total Sale\"\n price={stats?.total_sales}\n style={{ backgroundColor: '#ffffff' }}\n />\n </Grid>\n <Grid item xs={12} sm={6} md={4}>\n <AppWidgetSummary\n title=\"Net Proceeds\"\n price={stats?.net_proceeds}\n style={{ backgroundColor: '#ffffff' }}\n />\n </Grid>\n\n <Grid item xs={12} sm={6} md={4}>\n <AppWidgetSummary\n title=\"Units Sold\"\n total={stats?.sold_units}\n style={{ backgroundColor: '#ffffff' }}\n />\n </Grid>\n </>\n )}\n </Grid>\n </Container>\n </>\n );\n}\n","export function isUnitless(value) {\n return String(parseFloat(value)).length === String(value).length;\n}\n\n// Ported from Compass\n// https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss\n// Emulate the sass function \"unit\"\nexport function getUnit(input) {\n return String(input).match(/[\\d.\\-+]*\\s*(.*)/)[1] || '';\n}\n\n// Emulate the sass function \"unitless\"\nexport function toUnitless(length) {\n return parseFloat(length);\n}\n\n// Convert any CSS <length> or <percentage> value to any another.\n// From https://github.com/KyleAMathews/convert-css-length\nexport function convertLength(baseFontSize) {\n return (length, toUnit) => {\n const fromUnit = getUnit(length);\n\n // Optimize for cases where `from` and `to` units are accidentally the same.\n if (fromUnit === toUnit) {\n return length;\n }\n\n // Convert input length to pixels.\n let pxLength = toUnitless(length);\n if (fromUnit !== 'px') {\n if (fromUnit === 'em') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n } else if (fromUnit === 'rem') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n }\n }\n\n // Convert length in pixels to the output unit\n let outputLength = pxLength;\n if (toUnit !== 'px') {\n if (toUnit === 'em') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else if (toUnit === 'rem') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else {\n return length;\n }\n }\n return parseFloat(outputLength.toFixed(5)) + toUnit;\n };\n}\nexport function alignProperty({\n size,\n grid\n}) {\n const sizeBelow = size - size % grid;\n const sizeAbove = sizeBelow + grid;\n return size - sizeBelow < sizeAbove - size ? sizeBelow : sizeAbove;\n}\n\n// fontGrid finds a minimal grid (in rem) for the fontSize values so that the\n// lineHeight falls under a x pixels grid, 4px in the case of Material Design,\n// without changing the relative line height\nexport function fontGrid({\n lineHeight,\n pixels,\n htmlFontSize\n}) {\n return pixels / (lineHeight * htmlFontSize);\n}\n\n/**\n * generate a responsive version of a given CSS property\n * @example\n * responsiveProperty({\n * cssProperty: 'fontSize',\n * min: 15,\n * max: 20,\n * unit: 'px',\n * breakpoints: [300, 600],\n * })\n *\n * // this returns\n *\n * {\n * fontSize: '15px',\n * '@media (min-width:300px)': {\n * fontSize: '17.5px',\n * },\n * '@media (min-width:600px)': {\n * fontSize: '20px',\n * },\n * }\n * @param {Object} params\n * @param {string} params.cssProperty - The CSS property to be made responsive\n * @param {number} params.min - The smallest value of the CSS property\n * @param {number} params.max - The largest value of the CSS property\n * @param {string} [params.unit] - The unit to be used for the CSS property\n * @param {Array.number} [params.breakpoints] - An array of breakpoints\n * @param {number} [params.alignStep] - Round scaled value to fall under this grid\n * @returns {Object} responsive styles for {params.cssProperty}\n */\nexport function responsiveProperty({\n cssProperty,\n min,\n max,\n unit = 'rem',\n breakpoints = [600, 900, 1200],\n transform = null\n}) {\n const output = {\n [cssProperty]: `${min}${unit}`\n };\n const factor = (max - min) / breakpoints[breakpoints.length - 1];\n breakpoints.forEach(breakpoint => {\n let value = min + factor * breakpoint;\n if (transform !== null) {\n value = transform(value);\n }\n output[`@media (min-width:${breakpoint}px)`] = {\n [cssProperty]: `${Math.round(value * 10000) / 10000}${unit}`\n };\n });\n return output;\n}","import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';\nimport generateUtilityClass from '../generateUtilityClass';\nexport function getSkeletonUtilityClass(slot) {\n return generateUtilityClass('MuiSkeleton', slot);\n}\nconst skeletonClasses = generateUtilityClasses('MuiSkeleton', ['root', 'text', 'rectangular', 'rounded', 'circular', 'pulse', 'wave', 'withChildren', 'fitContent', 'heightAuto']);\nexport default skeletonClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"animation\", \"className\", \"component\", \"height\", \"style\", \"variant\", \"width\"];\nlet _ = t => t,\n _t,\n _t2,\n _t3,\n _t4;\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { keyframes, css } from '@mui/system';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { alpha, unstable_getUnit as getUnit, unstable_toUnitless as toUnitless } from '../styles';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport { getSkeletonUtilityClass } from './skeletonClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n animation,\n hasChildren,\n width,\n height\n } = ownerState;\n const slots = {\n root: ['root', variant, animation, hasChildren && 'withChildren', hasChildren && !width && 'fitContent', hasChildren && !height && 'heightAuto']\n };\n return composeClasses(slots, getSkeletonUtilityClass, classes);\n};\nconst pulseKeyframe = keyframes(_t || (_t = _`\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n`));\nconst waveKeyframe = keyframes(_t2 || (_t2 = _`\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n`));\nconst SkeletonRoot = styled('span', {\n name: 'MuiSkeleton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], ownerState.animation !== false && styles[ownerState.animation], ownerState.hasChildren && styles.withChildren, ownerState.hasChildren && !ownerState.width && styles.fitContent, ownerState.hasChildren && !ownerState.height && styles.heightAuto];\n }\n})(({\n theme,\n ownerState\n}) => {\n const radiusUnit = getUnit(theme.shape.borderRadius) || 'px';\n const radiusValue = toUnitless(theme.shape.borderRadius);\n return _extends({\n display: 'block',\n // Create a \"on paper\" color with sufficient contrast retaining the color\n backgroundColor: theme.vars ? theme.vars.palette.Skeleton.bg : alpha(theme.palette.text.primary, theme.palette.mode === 'light' ? 0.11 : 0.13),\n height: '1.2em'\n }, ownerState.variant === 'text' && {\n marginTop: 0,\n marginBottom: 0,\n height: 'auto',\n transformOrigin: '0 55%',\n transform: 'scale(1, 0.60)',\n borderRadius: `${radiusValue}${radiusUnit}/${Math.round(radiusValue / 0.6 * 10) / 10}${radiusUnit}`,\n '&:empty:before': {\n content: '\"\\\\00a0\"'\n }\n }, ownerState.variant === 'circular' && {\n borderRadius: '50%'\n }, ownerState.variant === 'rounded' && {\n borderRadius: (theme.vars || theme).shape.borderRadius\n }, ownerState.hasChildren && {\n '& > *': {\n visibility: 'hidden'\n }\n }, ownerState.hasChildren && !ownerState.width && {\n maxWidth: 'fit-content'\n }, ownerState.hasChildren && !ownerState.height && {\n height: 'auto'\n });\n}, ({\n ownerState\n}) => ownerState.animation === 'pulse' && css(_t3 || (_t3 = _`\n animation: ${0} 1.5s ease-in-out 0.5s infinite;\n `), pulseKeyframe), ({\n ownerState,\n theme\n}) => ownerState.animation === 'wave' && css(_t4 || (_t4 = _`\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: ${0} 1.6s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ${0},\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n `), waveKeyframe, (theme.vars || theme).palette.action.hover));\nconst Skeleton = /*#__PURE__*/React.forwardRef(function Skeleton(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiSkeleton'\n });\n const {\n animation = 'pulse',\n className,\n component = 'span',\n height,\n style,\n variant = 'text',\n width\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n animation,\n component,\n variant,\n hasChildren: Boolean(other.children)\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(SkeletonRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState\n }, other, {\n style: _extends({\n width,\n height\n }, style)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Skeleton.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 \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n /**\n * The animation.\n * If `false` the animation effect is disabled.\n * @default 'pulse'\n */\n animation: PropTypes.oneOf(['pulse', 'wave', false]),\n /**\n * Optional children to infer width and height from.\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 * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Height of the skeleton.\n * Useful when you don't want to adapt the skeleton to a text element but for instance a card.\n */\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n style: PropTypes.object,\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 /**\n * The type of content that will be rendered.\n * @default 'text'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rectangular', 'rounded', 'text']), PropTypes.string]),\n /**\n * Width of the skeleton.\n * Useful when the skeleton is inside an inline element with no width of its own.\n */\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])\n} : void 0;\nexport default Skeleton;"],"names":["USER_FILTER_OPTIONS","value","label","DashboardAppPage","useTheme","stats","setStats","useState","loading","setLoading","open","setOpen","filter","setFilter","timeRange","setTimeRange","userInfo","useSelector","state","auth","useEffect","async","response","api","baseURL","auctioneer_id","user_id","status","data","error","toast","getAuctioneerStats","maxWidth","style","paddingTop","display","flexDirection","alignItems","mb","sx","justifyContent","variant","firstname","lastname","direction","color","disableRipple","onClick","event","currentTarget","endIcon","icon","component","borderBottom","keepMounted","anchorEl","Boolean","onClose","anchorOrigin","vertical","horizontal","transformOrigin","map","option","selected","applyFilters","console","log","typography","condition","container","spacing","item","xs","sm","md","width","height","bgcolor","title","price","total_sales","backgroundColor","net_proceeds","total","sold_units","getUnit","input","String","match","toUnitless","length","parseFloat","getSkeletonUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","_t","_t2","_t3","_t4","pulseKeyframe","keyframes","waveKeyframe","SkeletonRoot","styled","name","overridesResolver","props","styles","ownerState","root","animation","hasChildren","withChildren","fitContent","heightAuto","theme","radiusUnit","shape","borderRadius","radiusValue","_extends","vars","palette","Skeleton","bg","alpha","text","primary","mode","marginTop","marginBottom","transform","Math","round","content","visibility","css","action","hover","React","inProps","ref","useThemeProps","className","other","_objectWithoutPropertiesLoose","children","classes","slots","composeClasses","useUtilityClasses","_jsx","as","clsx"],"sourceRoot":""}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists