{"ast":null,"code":"var _jsxFileName = \"D:\\\\DSP_Management\\\\src\\\\components\\\\PopUp\\\\LogoutPopUp.js\",\n  _s = $RefreshSig$();\nimport React from \"react\";\nimport { Box, AlertDialog, AlertDialogBody, AlertDialogFooter, AlertDialogHeader, AlertDialogContent, AlertDialogOverlay, AlertDialogCloseButton, Button } from \"@chakra-ui/react\";\nimport { NavLink, useLocation } from \"react-router-dom\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nfunction LogoutPopUp(_ref) {\n  _s();\n  var isOpen = _ref.isOpen,\n    onClose = _ref.onClose,\n    onConfirm = _ref.onConfirm;\n  var cancelRef = React.useRef();\n  return /*#__PURE__*/_jsxDEV(AlertDialog, {\n    isOpen: isOpen,\n    leastDestructiveRef: cancelRef,\n    onClose: onClose,\n    isCentered: true,\n    motionPreset: \"slideInBottom\",\n    children: [/*#__PURE__*/_jsxDEV(AlertDialogOverlay, {}, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 31,\n      columnNumber: 7\n    }, this), /*#__PURE__*/_jsxDEV(AlertDialogContent, {\n      borderRadius: \"20px\",\n      children: [/*#__PURE__*/_jsxDEV(AlertDialogHeader, {\n        textColor: \"text.900\",\n        mt: \"36px\",\n        align: \"center\",\n        children: \"\\uB85C\\uADF8\\uC544\\uC6C3 \\uD558\\uC2DC\\uACA0\\uC2B5\\uB2C8\\uAE4C?\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 35,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(AlertDialogCloseButton, {\n        top: \"12px\",\n        right: \"12px\",\n        color: \"text.300\",\n        sx: {\n          _focus: {\n            boxShadow: \"none\",\n            outline: \"none\",\n            bg: \"transparent\"\n          }\n        }\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 36,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(AlertDialogFooter, {\n        p: \"0\",\n        m: \"0\",\n        children: /*#__PURE__*/_jsxDEV(Box, {\n          display: \"flex\",\n          width: \"100%\",\n          mt: \"48px\",\n          children: [/*#__PURE__*/_jsxDEV(Button, {\n            ref: cancelRef,\n            onClick: onClose,\n            flex: \"1\",\n            p: \"28px\",\n            borderRadius: \"0\",\n            borderBottomLeftRadius: \"20px\",\n            bg: \"textbox\",\n            color: \"text.700\",\n            fontSize: \"lg\",\n            fontWeight: \"700\",\n            _hover: {\n              bg: \"gray.200\"\n            },\n            children: \"\\uCDE8\\uC18C\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 50,\n            columnNumber: 13\n          }, this), /*#__PURE__*/_jsxDEV(NavLink, {\n            to: \"/auth/signin\",\n            style: {\n              flex: 2,\n              display: \"block\"\n            },\n            children: /*#__PURE__*/_jsxDEV(Button, {\n              onClick: onConfirm,\n              width: \"100%\",\n              p: \"28px\",\n              borderRadius: \"0\",\n              borderBottomRightRadius: \"20px\",\n              bg: \"main.900\",\n              color: \"white\",\n              fontSize: \"lg\",\n              fontWeight: \"700\",\n              _hover: {\n                bg: \"main.900\"\n              },\n              children: \"\\uB85C\\uADF8\\uC544\\uC6C3\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 71,\n              columnNumber: 15\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 66,\n            columnNumber: 13\n          }, this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 49,\n          columnNumber: 11\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 48,\n        columnNumber: 9\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 32,\n      columnNumber: 7\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 24,\n    columnNumber: 5\n  }, this);\n}\n_s(LogoutPopUp, \"Y+dGSNwH3NtA7WLcY5ZdCuteC+E=\");\n_c = LogoutPopUp;\nexport default LogoutPopUp;\nvar _c;\n$RefreshReg$(_c, \"LogoutPopUp\");","map":{"version":3,"names":["React","Box","AlertDialog","AlertDialogBody","AlertDialogFooter","AlertDialogHeader","AlertDialogContent","AlertDialogOverlay","AlertDialogCloseButton","Button","NavLink","useLocation","jsxDEV","_jsxDEV","LogoutPopUp","_ref","_s","isOpen","onClose","onConfirm","cancelRef","useRef","leastDestructiveRef","isCentered","motionPreset","children","fileName","_jsxFileName","lineNumber","columnNumber","borderRadius","textColor","mt","align","top","right","color","sx","_focus","boxShadow","outline","bg","p","m","display","width","ref","onClick","flex","borderBottomLeftRadius","fontSize","fontWeight","_hover","to","style","borderBottomRightRadius","_c","$RefreshReg$"],"sources":["D:/DSP_Management/src/components/PopUp/LogoutPopUp.js"],"sourcesContent":["import React from \"react\";\r\nimport {\r\n  Box,\r\n  AlertDialog,\r\n  AlertDialogBody,\r\n  AlertDialogFooter,\r\n  AlertDialogHeader,\r\n  AlertDialogContent,\r\n  AlertDialogOverlay,\r\n  AlertDialogCloseButton,\r\n  Button,\r\n} from \"@chakra-ui/react\";\r\n\r\nimport { NavLink, useLocation } from \"react-router-dom\";\r\n\r\nfunction LogoutPopUp({\r\n  isOpen,\r\n  onClose,\r\n  onConfirm,\r\n}) {\r\n  const cancelRef = React.useRef();\r\n\r\n  return (\r\n    <AlertDialog\r\n      isOpen={isOpen}\r\n      leastDestructiveRef={cancelRef}\r\n      onClose={onClose}\r\n      isCentered\r\n      motionPreset=\"slideInBottom\"\r\n    >\r\n      <AlertDialogOverlay />\r\n      <AlertDialogContent\r\n        borderRadius=\"20px\"\r\n      >\r\n        <AlertDialogHeader textColor=\"text.900\" mt=\"36px\" align=\"center\">로그아웃 하시겠습니까?</AlertDialogHeader>\r\n        <AlertDialogCloseButton\r\n          top=\"12px\"\r\n          right=\"12px\"\r\n          color=\"text.300\"\r\n          sx={{\r\n            _focus: {\r\n              boxShadow: \"none\",\r\n              outline: \"none\",\r\n              bg: \"transparent\",\r\n            },\r\n          }}\r\n        />\r\n        <AlertDialogFooter p=\"0\" m=\"0\">\r\n          <Box display=\"flex\" width=\"100%\" mt=\"48px\">\r\n            <Button\r\n              ref={cancelRef}\r\n              onClick={onClose}\r\n              flex=\"1\"\r\n              p=\"28px\"\r\n              borderRadius=\"0\"\r\n              borderBottomLeftRadius=\"20px\"\r\n              bg=\"textbox\" \r\n              color=\"text.700\"\r\n              fontSize=\"lg\"\r\n              fontWeight=\"700\"\r\n              _hover={{ bg: \"gray.200\" }}\r\n            >\r\n              취소\r\n            </Button>\r\n\r\n            <NavLink to=\"/auth/signin\"\r\n              style={{\r\n                flex: 2,\r\n                display: \"block\",\r\n              }}>\r\n              <Button\r\n                onClick={onConfirm}\r\n                width=\"100%\"  \r\n                p=\"28px\"\r\n                borderRadius=\"0\"\r\n                borderBottomRightRadius=\"20px\"\r\n                bg=\"main.900\"          \r\n                color=\"white\"\r\n                fontSize=\"lg\"\r\n                fontWeight=\"700\"\r\n                _hover={{ bg: \"main.900\" }}\r\n              >\r\n                로그아웃\r\n              </Button>\r\n            </NavLink>\r\n          </Box>\r\n        </AlertDialogFooter>\r\n      </AlertDialogContent>\r\n    </AlertDialog>\r\n  );\r\n}\r\n\r\nexport default LogoutPopUp;\r\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,GAAG,EACHC,WAAW,EACXC,eAAe,EACfC,iBAAiB,EACjBC,iBAAiB,EACjBC,kBAAkB,EAClBC,kBAAkB,EAClBC,sBAAsB,EACtBC,MAAM,QACD,kBAAkB;AAEzB,SAASC,OAAO,EAAEC,WAAW,QAAQ,kBAAkB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAExD,SAASC,WAAWA,CAAAC,IAAA,EAIjB;EAAAC,EAAA;EAAA,IAHDC,MAAM,GAAAF,IAAA,CAANE,MAAM;IACNC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IACPC,SAAS,GAAAJ,IAAA,CAATI,SAAS;EAET,IAAMC,SAAS,GAAGpB,KAAK,CAACqB,MAAM,CAAC,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