{"ast":null,"code":"var _jsxFileName = \"D:\\\\DSP_Management\\\\src\\\\components\\\\Sidebar\\\\SidebarContent.js\",\n  _this = this,\n  _s = $RefreshSig$();\nimport { Box, Button, Flex, Link, Stack, Text, useColorModeValue } from \"@chakra-ui/react\";\nimport IconBox from \"components/Icons/IconBox\";\nimport { DspLogo } from \"components/Icons/Icons\";\nimport { Separator } from \"components/Separator/Separator\";\nimport React from \"react\";\nimport { NavLink, useLocation } from \"react-router-dom\";\n\n// this function creates the links and collapses that appear in the sidebar (left menu)\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nvar SidebarContent = function SidebarContent(_ref) {\n  _s();\n  var logoText = _ref.logoText,\n    routes = _ref.routes;\n  // to check for active links and opened collapses\n  var location = useLocation();\n\n  // verifies if routeName is the one active (in browser input)\n  var activeRoute = function activeRoute(routeName) {\n    return location.pathname === routeName ? \"active\" : \"\";\n  };\n  var activeBg = useColorModeValue(\"main.900\", \"main.900\");\n  var inactiveBg = useColorModeValue(\"white\", \"white\");\n  var activeColor = useColorModeValue(\"white\", \"white\");\n  var inactiveColor = useColorModeValue(\"text.300\", \"gray.400\");\n  var renderNavItem = function renderNavItem(prop) {\n    var isActive = activeRoute(prop.layout + prop.path) === \"active\";\n    return /*#__PURE__*/_jsxDEV(NavLink, {\n      to: prop.layout + prop.path,\n      children: isActive ? /*#__PURE__*/_jsxDEV(Button, {\n        boxSize: \"initial\",\n        justifyContent: \"flex-start\",\n        alignItems: \"center\",\n        bg: activeBg,\n        mb: {\n          xl: \"12px\"\n        },\n        mx: {\n          xl: \"auto\"\n        },\n        ps: {\n          sm: \"10px\",\n          xl: \"16px\"\n        },\n        py: \"12px\",\n        borderRadius: \"15px\",\n        _hover: \"none\",\n        w: \"100%\",\n        _active: {\n          bg: \"inherit\",\n          transform: \"none\",\n          borderColor: \"transparent\"\n        },\n        _focus: {\n          boxShadow: \"none\"\n        },\n        children: /*#__PURE__*/_jsxDEV(Flex, {\n          children: [typeof prop.icon === \"string\" ? /*#__PURE__*/_jsxDEV(Icon, {\n            children: prop.icon\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 59,\n            columnNumber: 17\n          }, _this) : /*#__PURE__*/_jsxDEV(IconBox, {\n            bg: inactiveBg,\n            color: \"main.900\",\n            h: \"30px\",\n            w: \"30px\",\n            me: \"12px\",\n            children: prop.icon\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 61,\n            columnNumber: 17\n          }, _this), /*#__PURE__*/_jsxDEV(Text, {\n            color: activeColor,\n            my: \"auto\",\n            fontSize: \"sm\",\n            fontWeight: 500,\n            children: document.documentElement.dir === \"rtl\" ? prop.rtlName : prop.name\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 71,\n            columnNumber: 15\n          }, _this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 57,\n          columnNumber: 13\n        }, _this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 38,\n        columnNumber: 11\n      }, _this) : /*#__PURE__*/_jsxDEV(Button, {\n        boxSize: \"initial\",\n        justifyContent: \"flex-start\",\n        alignItems: \"center\",\n        bg: \"transparent\",\n        mb: {\n          xl: \"12px\"\n        },\n        mx: {\n          xl: \"auto\"\n        },\n        py: \"12px\",\n        ps: {\n          sm: \"10px\",\n          xl: \"16px\"\n        },\n        borderRadius: \"15px\",\n        _hover: \"none\",\n        w: \"100%\",\n        _active: {\n          bg: \"inherit\",\n          transform: \"none\",\n          borderColor: \"transparent\"\n        },\n        _focus: {\n          boxShadow: \"none\"\n        },\n        children: /*#__PURE__*/_jsxDEV(Flex, {\n          children: [typeof prop.icon === \"string\" ? /*#__PURE__*/_jsxDEV(Icon, {\n            children: prop.icon\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 98,\n            columnNumber: 17\n          }, _this) : /*#__PURE__*/_jsxDEV(IconBox, {\n            bg: inactiveBg,\n            color: \"sub.900\",\n            h: \"30px\",\n            w: \"30px\",\n            me: \"12px\",\n            children: prop.icon\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 100,\n            columnNumber: 17\n          }, _this), /*#__PURE__*/_jsxDEV(Text, {\n            color: activeColor,\n            my: \"auto\",\n            fontSize: \"sm\",\n            fontWeight: 400,\n            children: document.documentElement.dir === \"rtl\" ? prop.rtlName : prop.name\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 110,\n            columnNumber: 15\n          }, _this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 96,\n          columnNumber: 13\n        }, _this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 77,\n        columnNumber: 11\n      }, _this)\n    }, \"\".concat(prop.layout).concat(prop.path).concat(prop.name), false, {\n      fileName: _jsxFileName,\n      lineNumber: 36,\n      columnNumber: 7\n    }, _this);\n  };\n  var _renderCategoryBlock = function renderCategoryBlock(categoryProp) {\n    var _categoryProp$views;\n    return /*#__PURE__*/_jsxDEV(React.Fragment, {\n      children: [/*#__PURE__*/_jsxDEV(Text, {\n        color: inactiveColor,\n        fontWeight: 400,\n        mb: {\n          xl: \"0px\"\n        },\n        mx: \"auto\",\n        ps: {\n          sm: \"10px\",\n          xl: \"16px\"\n        },\n        py: \"12px\",\n        children: document.documentElement.dir === \"rtl\" ? categoryProp.rtlName : categoryProp.name\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 123,\n        columnNumber: 9\n      }, _this), (_categoryProp$views = categoryProp.views) === null || _categoryProp$views === void 0 ? void 0 : _categoryProp$views.map(function (v) {\n        if (!v || v.redirect) return null;\n        if (v.category) {\n          return _renderCategoryBlock(v);\n        }\n        return renderNavItem(v);\n      })]\n    }, \"cat-\".concat(categoryProp.name), true, {\n      fileName: _jsxFileName,\n      lineNumber: 122,\n      columnNumber: 7\n    }, _this);\n  };\n  var splitRoutes = function splitRoutes(routesArr) {\n    var top = [];\n    var bottom = [];\n    var _categoryHasBottom = function categoryHasBottom(categoryProp) {\n      var views = categoryProp.views || [];\n      return views.some(function (v) {\n        if (!v) return false;\n        if (v.bottom) return true;\n        if (v.category) return _categoryHasBottom(v);\n        return false;\n      });\n    };\n    routesArr.forEach(function (prop) {\n      if (!prop || prop.redirect) return;\n      if (prop.category) {\n        if (_categoryHasBottom(prop)) bottom.push(_renderCategoryBlock(prop));else top.push(_renderCategoryBlock(prop));\n        return;\n      }\n      if (prop.bottom) bottom.push(renderNavItem(prop));else top.push(renderNavItem(prop));\n    });\n    return {\n      top: top,\n      bottom: bottom\n    };\n  };\n  var _splitRoutes = splitRoutes(routes),\n    topLinks = _splitRoutes.top,\n    bottomLinks = _splitRoutes.bottom;\n  return /*#__PURE__*/_jsxDEV(Flex, {\n    direction: \"column\",\n    h: \"100%\",\n    children: [/*#__PURE__*/_jsxDEV(Box, {\n      pt: \"25px\",\n      mb: \"12px\",\n      children: [/*#__PURE__*/_jsxDEV(Link, {\n        href: \"\".concat(process.env.PUBLIC_URL, \"/#/\"),\n        target: \"_blank\",\n        display: \"flex\",\n        lineHeight: \"100%\",\n        mb: \"30px\",\n        fontWeight: \"bold\",\n        justifyContent: \"center\",\n        alignItems: \"center\",\n        fontSize: \"11px\",\n        children: /*#__PURE__*/_jsxDEV(DspLogo, {\n          w: \"300px\",\n          h: \"100px\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 193,\n          columnNumber: 11\n        }, _this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 182,\n        columnNumber: 9\n      }, _this), /*#__PURE__*/_jsxDEV(Separator, {}, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 195,\n        columnNumber: 9\n      }, _this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 181,\n      columnNumber: 7\n    }, _this), /*#__PURE__*/_jsxDEV(Flex, {\n      direction: \"column\",\n      flex: \"1\",\n      minH: 0,\n      children: [/*#__PURE__*/_jsxDEV(Box, {\n        flex: \"1\",\n        overflowY: \"auto\",\n        children: /*#__PURE__*/_jsxDEV(Stack, {\n          direction: \"column\",\n          mb: \"40px\",\n          children: /*#__PURE__*/_jsxDEV(Box, {\n            children: topLinks\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 202,\n            columnNumber: 13\n          }, _this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 201,\n          columnNumber: 11\n        }, _this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 200,\n        columnNumber: 9\n      }, _this), bottomLinks.length > 0 && /*#__PURE__*/_jsxDEV(Box, {\n        mt: \"auto\",\n        pb: \"16px\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 208,\n        columnNumber: 11\n      }, _this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 198,\n      columnNumber: 7\n    }, _this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 180,\n    columnNumber: 5\n  }, _this);\n};\n_s(SidebarContent, \"GfVnvAPf2yGp15XceAovkCHcqIk=\", false, function () {\n  return [useLocation, useColorModeValue, useColorModeValue, useColorModeValue, useColorModeValue];\n});\n_c = SidebarContent;\nexport default SidebarContent;\nvar _c;\n$RefreshReg$(_c, \"SidebarContent\");","map":{"version":3,"names":["Box","Button","Flex","Link","Stack","Text","useColorModeValue","IconBox","DspLogo","Separator","React","NavLink","useLocation","jsxDEV","_jsxDEV","SidebarContent","_ref","_s","logoText","routes","location","activeRoute","routeName","pathname","activeBg","inactiveBg","activeColor","inactiveColor","renderNavItem","prop","isActive","layout","path","to","children","boxSize","justifyContent","alignItems","bg","mb","xl","mx","ps","sm","py","borderRadius","_hover","w","_active","transform","borderColor","_focus","boxShadow","icon","Icon","fileName","_jsxFileName","lineNumber","columnNumber","_this","color","h","me","my","fontSize","fontWeight","document","documentElement","dir","rtlName","name","concat","renderCategoryBlock","categoryProp","_categoryProp$views","Fragment","views","map","v","redirect","category","splitRoutes","routesArr","top","bottom","categoryHasBottom","some","forEach","push","_splitRoutes","topLinks","bottomLinks","direction","pt","href","process","env","PUBLIC_URL","target","display","lineHeight","flex","minH","overflowY","length","mt","pb","_c","$RefreshReg$"],"sources":["D:/DSP_Management/src/components/Sidebar/SidebarContent.js"],"sourcesContent":["import {\n  Box,\n  Button,\n  Flex,\n  Link,\n  Stack,\n  Text,\n  useColorModeValue,\n} from \"@chakra-ui/react\";\nimport IconBox from \"components/Icons/IconBox\";\nimport { DspLogo } from \"components/Icons/Icons\";\nimport { Separator } from \"components/Separator/Separator\";\nimport React from \"react\";\nimport { NavLink, useLocation } from \"react-router-dom\";\n\n// this function creates the links and collapses that appear in the sidebar (left menu)\n\nconst SidebarContent = ({ logoText, routes }) => {\n  // to check for active links and opened collapses\n  let location = useLocation();\n\n  // verifies if routeName is the one active (in browser input)\n  const activeRoute = (routeName) => {\n    return location.pathname === routeName ? \"active\" : \"\";\n  };\n\n  const activeBg = useColorModeValue(\"main.900\", \"main.900\");\n  const inactiveBg = useColorModeValue(\"white\", \"white\");\n  const activeColor = useColorModeValue(\"white\", \"white\");\n  const inactiveColor = useColorModeValue(\"text.300\", \"gray.400\");\n\n  const renderNavItem = (prop) => {\n    const isActive = activeRoute(prop.layout + prop.path) === \"active\";\n\n    return (\n      <NavLink to={prop.layout + prop.path} key={`${prop.layout}${prop.path}${prop.name}`}>\n        {isActive ? (\n          <Button\n            boxSize=\"initial\"\n            justifyContent=\"flex-start\"\n            alignItems=\"center\"\n            bg={activeBg}\n            mb={{ xl: \"12px\" }}\n            mx={{ xl: \"auto\" }}\n            ps={{ sm: \"10px\", xl: \"16px\" }}\n            py=\"12px\"\n            borderRadius=\"15px\"\n            _hover=\"none\"\n            w=\"100%\"\n            _active={{\n              bg: \"inherit\",\n              transform: \"none\",\n              borderColor: \"transparent\",\n            }}\n            _focus={{ boxShadow: \"none\" }}\n          >\n            <Flex>\n              {typeof prop.icon === \"string\" ? (\n                <Icon>{prop.icon}</Icon>\n              ) : (\n                <IconBox\n                  bg={inactiveBg}\n                  color=\"main.900\"\n                  h=\"30px\"\n                  w=\"30px\"\n                  me=\"12px\"\n                >\n                  {prop.icon}\n                </IconBox>\n              )}\n              <Text color={activeColor} my=\"auto\" fontSize=\"sm\" fontWeight={500}>\n                {document.documentElement.dir === \"rtl\" ? prop.rtlName : prop.name}\n              </Text>\n            </Flex>\n          </Button>\n        ) : (\n          <Button\n            boxSize=\"initial\"\n            justifyContent=\"flex-start\"\n            alignItems=\"center\"\n            bg=\"transparent\"\n            mb={{ xl: \"12px\" }}\n            mx={{ xl: \"auto\" }}\n            py=\"12px\"\n            ps={{ sm: \"10px\", xl: \"16px\" }}\n            borderRadius=\"15px\"\n            _hover=\"none\"\n            w=\"100%\"\n            _active={{\n              bg: \"inherit\",\n              transform: \"none\",\n              borderColor: \"transparent\",\n            }}\n            _focus={{ boxShadow: \"none\" }}\n          >\n            <Flex>\n              {typeof prop.icon === \"string\" ? (\n                <Icon>{prop.icon}</Icon>\n              ) : (\n                <IconBox\n                  bg={inactiveBg}\n                  color=\"sub.900\"\n                  h=\"30px\"\n                  w=\"30px\"\n                  me=\"12px\"\n                >\n                  {prop.icon}\n                </IconBox>\n              )}\n              <Text color={activeColor} my=\"auto\" fontSize=\"sm\" fontWeight={400}>\n                {document.documentElement.dir === \"rtl\" ? prop.rtlName : prop.name}\n              </Text>\n            </Flex>\n          </Button>\n        )}\n      </NavLink>\n    );\n  };\n\n  const renderCategoryBlock = (categoryProp) => {\n    return (\n      <React.Fragment key={`cat-${categoryProp.name}`}>\n        <Text\n          color={inactiveColor}\n          fontWeight={400}\n          mb={{ xl: \"0px\" }}\n          mx=\"auto\"\n          ps={{ sm: \"10px\", xl: \"16px\" }}\n          py=\"12px\"\n        >\n          {document.documentElement.dir === \"rtl\"\n            ? categoryProp.rtlName\n            : categoryProp.name}\n        </Text>\n        {categoryProp.views?.map((v) => {\n          if (!v || v.redirect) return null;\n          if (v.category) {\n            return renderCategoryBlock(v);\n          }\n          return renderNavItem(v);\n        })}\n      </React.Fragment>\n    );\n  };\n\n  const splitRoutes = (routesArr) => {\n    const top = [];\n    const bottom = [];\n\n    const categoryHasBottom = (categoryProp) => {\n      const views = categoryProp.views || [];\n\n      return views.some((v) => {\n        if (!v) return false;\n        if (v.bottom) return true;\n        if (v.category) return categoryHasBottom(v);\n        return false;\n      });\n    };\n\n    routesArr.forEach((prop) => {\n      if (!prop || prop.redirect) return;\n\n      if (prop.category) {\n        if (categoryHasBottom(prop)) bottom.push(renderCategoryBlock(prop));\n        else top.push(renderCategoryBlock(prop));\n        return;\n      }\n\n      if (prop.bottom) bottom.push(renderNavItem(prop));\n      else top.push(renderNavItem(prop));\n    });\n\n    return { top, bottom };\n  };\n\n  const { top: topLinks, bottom: bottomLinks } = splitRoutes(routes);\n\n  return (\n    <Flex direction=\"column\" h=\"100%\">\n      <Box pt={\"25px\"} mb=\"12px\">\n        <Link\n          href={`${process.env.PUBLIC_URL}/#/`}\n          target=\"_blank\"\n          display=\"flex\"\n          lineHeight=\"100%\"\n          mb=\"30px\"\n          fontWeight=\"bold\"\n          justifyContent=\"center\"\n          alignItems=\"center\"\n          fontSize=\"11px\"\n        >\n          <DspLogo w=\"300px\" h=\"100px\" />\n        </Link>\n        <Separator />\n      </Box>\n\n      <Flex direction=\"column\" flex=\"1\" minH={0}>\n        {/* 상단 영역 */}\n        <Box flex=\"1\" overflowY=\"auto\">\n          <Stack direction=\"column\" mb=\"40px\">\n            <Box>{topLinks}</Box>\n          </Stack>\n        </Box>\n\n        {/* 하단 고정 영역 */}\n        {bottomLinks.length > 0 && (\n          <Box mt=\"auto\" pb=\"16px\">\n            {/* <Separator />\n            <Box pt=\"12px\" mb=\"20px\">{bottomLinks}</Box> */}\n          </Box>\n        )}\n      </Flex>\n    </Flex>\n  );\n};\n\nexport default SidebarContent;\n"],"mappings":";;;AAAA,SACEA,GAAG,EACHC,MAAM,EACNC,IAAI,EACJC,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,iBAAiB,QAC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