/*
 * ATTENTION: An "eval-source-map" devtool has been used.
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(() => {
var exports = {};
exports.id = "app/page";
exports.ids = ["app/page"];
exports.modules = {

/***/ "../../client/components/action-async-storage.external":
/*!*******************************************************************************!*\
  !*** external "next/dist/client/components/action-async-storage.external.js" ***!
  \*******************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/action-async-storage.external.js");

/***/ }),

/***/ "../../client/components/request-async-storage.external":
/*!********************************************************************************!*\
  !*** external "next/dist/client/components/request-async-storage.external.js" ***!
  \********************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/request-async-storage.external.js");

/***/ }),

/***/ "../../client/components/static-generation-async-storage.external":
/*!******************************************************************************************!*\
  !*** external "next/dist/client/components/static-generation-async-storage.external.js" ***!
  \******************************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/static-generation-async-storage.external.js");

/***/ }),

/***/ "next/dist/compiled/next-server/app-page.runtime.dev.js":
/*!*************************************************************************!*\
  !*** external "next/dist/compiled/next-server/app-page.runtime.dev.js" ***!
  \*************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/compiled/next-server/app-page.runtime.dev.js");

/***/ }),

/***/ "node:crypto":
/*!******************************!*\
  !*** external "node:crypto" ***!
  \******************************/
/***/ ((module) => {

"use strict";
module.exports = require("node:crypto");

/***/ }),

/***/ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas%5Capp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D!":
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas%5Capp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D! ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   GlobalError: () => (/* reexport default from dynamic */ next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2___default.a),\n/* harmony export */   __next_app__: () => (/* binding */ __next_app__),\n/* harmony export */   originalPathname: () => (/* binding */ originalPathname),\n/* harmony export */   pages: () => (/* binding */ pages),\n/* harmony export */   routeModule: () => (/* binding */ routeModule),\n/* harmony export */   tree: () => (/* binding */ tree)\n/* harmony export */ });\n/* harmony import */ var next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/server/future/route-modules/app-page/module.compiled */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/module.compiled.js?d969\");\n/* harmony import */ var next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var next_dist_server_future_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/dist/server/future/route-kind */ \"(rsc)/./node_modules/next/dist/server/future/route-kind.js\");\n/* harmony import */ var next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/dist/client/components/error-boundary */ \"(rsc)/./node_modules/next/dist/client/components/error-boundary.js\");\n/* harmony import */ var next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! next/dist/server/app-render/entry-base */ \"(rsc)/./node_modules/next/dist/server/app-render/entry-base.js\");\n/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__) if([\"default\",\"tree\",\"pages\",\"GlobalError\",\"originalPathname\",\"__next_app__\",\"routeModule\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__[__WEBPACK_IMPORT_KEY__]\n/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);\n\"TURBOPACK { transition: next-ssr }\";\n\n\n// We inject the tree and pages here so that we can use them in the route\n// module.\nconst tree = {\n        children: [\n        '',\n        {\n        children: ['__PAGE__', {}, {\n          page: [() => Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/page.tsx */ \"(rsc)/./app/page.tsx\")), \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\"],\n          \n        }]\n      },\n        {\n        'layout': [() => Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/layout.tsx */ \"(rsc)/./app/layout.tsx\")), \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\layout.tsx\"],\n'not-found': [() => Promise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! next/dist/client/components/not-found-error */ \"(rsc)/./node_modules/next/dist/client/components/not-found-error.js\", 23)), \"next/dist/client/components/not-found-error\"],\n        \n      }\n      ]\n      }.children;\nconst pages = [\"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\"];\n\n\nconst __next_app_require__ = __webpack_require__\nconst __next_app_load_chunk__ = () => Promise.resolve()\nconst originalPathname = \"/page\";\nconst __next_app__ = {\n    require: __next_app_require__,\n    loadChunk: __next_app_load_chunk__\n};\n\n// Create and export the route module that will be consumed.\nconst routeModule = new next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({\n    definition: {\n        kind: next_dist_server_future_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_PAGE,\n        page: \"/page\",\n        pathname: \"/\",\n        // The following aren't used in production.\n        bundlePath: \"\",\n        filename: \"\",\n        appPaths: []\n    },\n    userland: {\n        loaderTree: tree\n    }\n});\n\n//# sourceMappingURL=app-page.js.map//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(rsc)/./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas%5Capp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D!\n");

/***/ }),

/***/ "(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cpage.tsx%22%2C%22ids%22%3A%5B%5D%7D&server=true!":
/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cpage.tsx%22%2C%22ids%22%3A%5B%5D%7D&server=true! ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

eval("Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/page.tsx */ \"(ssr)/./app/page.tsx\"));\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWZsaWdodC1jbGllbnQtZW50cnktbG9hZGVyLmpzP21vZHVsZXM9JTdCJTIycmVxdWVzdCUyMiUzQSUyMkMlM0ElNUMlNUNVc2VycyU1QyU1Q0FkbWluaXN0cmF0b3IlNUMlNUNEb2N1bWVudHMlNUMlNUNjdWVudGFzJTVDJTVDZmluYW56YXMlNUMlNUNhcHAlNUMlNUNwYWdlLnRzeCUyMiUyQyUyMmlkcyUyMiUzQSU1QiU1RCU3RCZzZXJ2ZXI9dHJ1ZSEiLCJtYXBwaW5ncyI6IkFBQUEsd0lBQTBHIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vZmluYW56YXMvPzJiYmMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0KC8qIHdlYnBhY2tNb2RlOiBcImVhZ2VyXCIgKi8gXCJDOlxcXFxVc2Vyc1xcXFxBZG1pbmlzdHJhdG9yXFxcXERvY3VtZW50c1xcXFxjdWVudGFzXFxcXGZpbmFuemFzXFxcXGFwcFxcXFxwYWdlLnRzeFwiKTtcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cpage.tsx%22%2C%22ids%22%3A%5B%5D%7D&server=true!\n");

/***/ }),

/***/ "(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cproviders.tsx%22%2C%22ids%22%3A%5B%22Providers%22%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cfont%5C%5Cgoogle%5C%5Ctarget.css%3F%7B%5C%22path%5C%22%3A%5C%22app%5C%5C%5C%5Clayout.tsx%5C%22%2C%5C%22import%5C%22%3A%5C%22Inter%5C%22%2C%5C%22arguments%5C%22%3A%5B%7B%5C%22subsets%5C%22%3A%5B%5C%22latin%5C%22%5D%2C%5C%22variable%5C%22%3A%5C%22--font-inter%5C%22%2C%5C%22display%5C%22%3A%5C%22swap%5C%22%7D%5D%2C%5C%22variableName%5C%22%3A%5C%22inter%5C%22%7D%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cglobals.css%22%2C%22ids%22%3A%5B%5D%7D&server=true!":
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cproviders.tsx%22%2C%22ids%22%3A%5B%22Providers%22%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cfont%5C%5Cgoogle%5C%5Ctarget.css%3F%7B%5C%22path%5C%22%3A%5C%22app%5C%5C%5C%5Clayout.tsx%5C%22%2C%5C%22import%5C%22%3A%5C%22Inter%5C%22%2C%5C%22arguments%5C%22%3A%5B%7B%5C%22subsets%5C%22%3A%5B%5C%22latin%5C%22%5D%2C%5C%22variable%5C%22%3A%5C%22--font-inter%5C%22%2C%5C%22display%5C%22%3A%5C%22swap%5C%22%7D%5D%2C%5C%22variableName%5C%22%3A%5C%22inter%5C%22%7D%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cglobals.css%22%2C%22ids%22%3A%5B%5D%7D&server=true! ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

eval("Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/providers.tsx */ \"(ssr)/./app/providers.tsx\"));\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWZsaWdodC1jbGllbnQtZW50cnktbG9hZGVyLmpzP21vZHVsZXM9JTdCJTIycmVxdWVzdCUyMiUzQSUyMkMlM0ElNUMlNUNVc2VycyU1QyU1Q0FkbWluaXN0cmF0b3IlNUMlNUNEb2N1bWVudHMlNUMlNUNjdWVudGFzJTVDJTVDZmluYW56YXMlNUMlNUNhcHAlNUMlNUNwcm92aWRlcnMudHN4JTIyJTJDJTIyaWRzJTIyJTNBJTVCJTIyUHJvdmlkZXJzJTIyJTVEJTdEJm1vZHVsZXM9JTdCJTIycmVxdWVzdCUyMiUzQSUyMkMlM0ElNUMlNUNVc2VycyU1QyU1Q0FkbWluaXN0cmF0b3IlNUMlNUNEb2N1bWVudHMlNUMlNUNjdWVudGFzJTVDJTVDZmluYW56YXMlNUMlNUNub2RlX21vZHVsZXMlNUMlNUNuZXh0JTVDJTVDZm9udCU1QyU1Q2dvb2dsZSU1QyU1Q3RhcmdldC5jc3MlM0YlN0IlNUMlMjJwYXRoJTVDJTIyJTNBJTVDJTIyYXBwJTVDJTVDJTVDJTVDbGF5b3V0LnRzeCU1QyU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-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cproviders.tsx%22%2C%22ids%22%3A%5B%22Providers%22%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cfont%5C%5Cgoogle%5C%5Ctarget.css%3F%7B%5C%22path%5C%22%3A%5C%22app%5C%5C%5C%5Clayout.tsx%5C%22%2C%5C%22import%5C%22%3A%5C%22Inter%5C%22%2C%5C%22arguments%5C%22%3A%5B%7B%5C%22subsets%5C%22%3A%5B%5C%22latin%5C%22%5D%2C%5C%22variable%5C%22%3A%5C%22--font-inter%5C%22%2C%5C%22display%5C%22%3A%5C%22swap%5C%22%7D%5D%2C%5C%22variableName%5C%22%3A%5C%22inter%5C%22%7D%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Capp%5C%5Cglobals.css%22%2C%22ids%22%3A%5B%5D%7D&server=true!\n");

/***/ }),

/***/ "(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Capp-router.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cclient-page.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cerror-boundary.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Clayout-router.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cnot-found-boundary.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Crender-from-template-context.js%22%2C%22ids%22%3A%5B%5D%7D&server=true!":
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Capp-router.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cclient-page.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cerror-boundary.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Clayout-router.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cnot-found-boundary.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Crender-from-template-context.js%22%2C%22ids%22%3A%5B%5D%7D&server=true! ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

eval("Promise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/app-router.js */ \"(ssr)/./node_modules/next/dist/client/components/app-router.js\", 23));\n;\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/client-page.js */ \"(ssr)/./node_modules/next/dist/client/components/client-page.js\", 23));\n;\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/error-boundary.js */ \"(ssr)/./node_modules/next/dist/client/components/error-boundary.js\", 23));\n;\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/layout-router.js */ \"(ssr)/./node_modules/next/dist/client/components/layout-router.js\", 23));\n;\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/not-found-boundary.js */ \"(ssr)/./node_modules/next/dist/client/components/not-found-boundary.js\", 23));\n;\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/render-from-template-context.js */ \"(ssr)/./node_modules/next/dist/client/components/render-from-template-context.js\", 23));\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWZsaWdodC1jbGllbnQtZW50cnktbG9hZGVyLmpzP21vZHVsZXM9JTdCJTIycmVxdWVzdCUyMiUzQSUyMkMlM0ElNUMlNUNVc2VycyU1QyU1Q0FkbWluaXN0cmF0b3IlNUMlNUNEb2N1bWVudHMlNUMlNUNjdWVudGFzJTVDJTVDZmluYW56YXMlNUMlNUNub2RlX21vZHVsZXMlNUMlNUNuZXh0JTVDJTVDZGlzdCU1QyU1Q2NsaWVudCU1QyU1Q2NvbXBvbmVudHMlNUMlNUNhcHAtcm91dGVyLmpzJTIyJTJDJTIyaWRzJTIyJTNBJTVCJTVEJTdEJm1v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cXG5vZGVfbW9kdWxlc1xcXFxuZXh0XFxcXGRpc3RcXFxcY2xpZW50XFxcXGNvbXBvbmVudHNcXFxccmVuZGVyLWZyb20tdGVtcGxhdGUtY29udGV4dC5qc1wiKTtcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Capp-router.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cclient-page.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cerror-boundary.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Clayout-router.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Cnot-found-boundary.js%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CAdministrator%5C%5CDocuments%5C%5Ccuentas%5C%5Cfinanzas%5C%5Cnode_modules%5C%5Cnext%5C%5Cdist%5C%5Cclient%5C%5Ccomponents%5C%5Crender-from-template-context.js%22%2C%22ids%22%3A%5B%5D%7D&server=true!\n");

/***/ }),

/***/ "(ssr)/./app/page.tsx":
/*!**********************!*\
  !*** ./app/page.tsx ***!
  \**********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ Home)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_layout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/layout */ \"(ssr)/./components/layout/index.ts\");\n/* harmony import */ var _components_dashboard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/dashboard */ \"(ssr)/./components/dashboard/index.ts\");\n/* harmony import */ var _app_providers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/app/providers */ \"(ssr)/./app/providers.tsx\");\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _components_alerts__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/components/alerts */ \"(ssr)/./components/alerts/index.ts\");\n/* harmony import */ var _components_modals_AddDebtModal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/modals/AddDebtModal */ \"(ssr)/./components/modals/AddDebtModal.tsx\");\n/* harmony import */ var _components_modals_AddCardModal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/modals/AddCardModal */ \"(ssr)/./components/modals/AddCardModal.tsx\");\n/* harmony import */ var _components_modals_AddPaymentModal__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/components/modals/AddPaymentModal */ \"(ssr)/./components/modals/AddPaymentModal.tsx\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\n\n\n\n\n\n\n\nfunction Home() {\n    // Sidebar control\n    const sidebar = (0,_app_providers__WEBPACK_IMPORTED_MODULE_4__.useSidebar)();\n    // Datos del store\n    const markAlertAsRead = (0,_lib_store__WEBPACK_IMPORTED_MODULE_5__.useFinanzasStore)((state)=>state.markAlertAsRead);\n    const deleteAlert = (0,_lib_store__WEBPACK_IMPORTED_MODULE_5__.useFinanzasStore)((state)=>state.deleteAlert);\n    // Alertas\n    const { unreadAlerts, unreadCount, regenerateAlerts } = (0,_components_alerts__WEBPACK_IMPORTED_MODULE_6__.useAlerts)();\n    // Estados locales para modales\n    const [isAddDebtModalOpen, setIsAddDebtModalOpen] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [isAddCardModalOpen, setIsAddCardModalOpen] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [isAddPaymentModalOpen, setIsAddPaymentModalOpen] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    // Efecto para regenerar alertas al cargar la página\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        regenerateAlerts();\n    }, [\n        regenerateAlerts\n    ]);\n    // Efecto para manejar resize de ventana\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        const handleResize = ()=>{\n            if (window.innerWidth >= 1024) {\n                sidebar.open();\n            } else {\n                sidebar.close();\n            }\n        };\n        // Estado inicial\n        handleResize();\n        window.addEventListener(\"resize\", handleResize);\n        return ()=>window.removeEventListener(\"resize\", handleResize);\n    }, [\n        sidebar\n    ]);\n    // Handlers para modales\n    const handleAddDebt = ()=>{\n        setIsAddDebtModalOpen(true);\n    };\n    const handleAddCard = ()=>{\n        setIsAddCardModalOpen(true);\n    };\n    const handleAddPayment = ()=>{\n        setIsAddPaymentModalOpen(true);\n    };\n    // Primeras 3 alertas no leídas\n    const topAlerts = unreadAlerts.slice(0, 3);\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"flex min-h-screen bg-slate-950\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_layout__WEBPACK_IMPORTED_MODULE_2__.Sidebar, {\n                isOpen: sidebar.isOpen,\n                onClose: sidebar.close,\n                unreadAlertsCount: unreadCount\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                lineNumber: 70,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex flex-1 flex-col lg:ml-0\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_layout__WEBPACK_IMPORTED_MODULE_2__.Header, {\n                        onMenuClick: sidebar.toggle,\n                        title: \"Dashboard\"\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                        lineNumber: 79,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"main\", {\n                        className: \"flex-1 p-4 md:p-6 lg:p-8 pb-20 lg:pb-8\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"mx-auto max-w-7xl space-y-6\",\n                            children: [\n                                topAlerts.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-3\",\n                                    children: topAlerts.map((alert)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_alerts__WEBPACK_IMPORTED_MODULE_6__.AlertBanner, {\n                                            alert: alert,\n                                            onDismiss: ()=>deleteAlert(alert.id),\n                                            onMarkRead: ()=>markAlertAsRead(alert.id)\n                                        }, alert.id, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                                            lineNumber: 88,\n                                            columnNumber: 19\n                                        }, this))\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                                    lineNumber: 86,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_dashboard__WEBPACK_IMPORTED_MODULE_3__.SummarySection, {}, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                                    lineNumber: 99,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_dashboard__WEBPACK_IMPORTED_MODULE_3__.QuickActions, {\n                                    onAddDebt: handleAddDebt,\n                                    onAddCard: handleAddCard,\n                                    onAddPayment: handleAddPayment\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                                    lineNumber: 102,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_dashboard__WEBPACK_IMPORTED_MODULE_3__.RecentActivity, {\n                                    limit: 5\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                                    lineNumber: 109,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                            lineNumber: 83,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                        lineNumber: 82,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                lineNumber: 77,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_layout__WEBPACK_IMPORTED_MODULE_2__.MobileNav, {\n                unreadAlertsCount: unreadCount\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                lineNumber: 115,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_modals_AddDebtModal__WEBPACK_IMPORTED_MODULE_7__.AddDebtModal, {\n                isOpen: isAddDebtModalOpen,\n                onClose: ()=>setIsAddDebtModalOpen(false)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                lineNumber: 118,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_modals_AddCardModal__WEBPACK_IMPORTED_MODULE_8__.AddCardModal, {\n                isOpen: isAddCardModalOpen,\n                onClose: ()=>setIsAddCardModalOpen(false)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                lineNumber: 123,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_modals_AddPaymentModal__WEBPACK_IMPORTED_MODULE_9__.AddPaymentModal, {\n                isOpen: isAddPaymentModalOpen,\n                onClose: ()=>setIsAddPaymentModalOpen(false)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n                lineNumber: 128,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\page.tsx\",\n        lineNumber: 68,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./app/page.tsx\n");

/***/ }),

/***/ "(ssr)/./app/providers.tsx":
/*!***************************!*\
  !*** ./app/providers.tsx ***!
  \***************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Providers: () => (/* binding */ Providers),\n/* harmony export */   useSidebar: () => (/* binding */ useSidebar)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* __next_internal_client_entry_do_not_use__ Providers,useSidebar auto */ \n\nconst SidebarContext = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)(undefined);\nfunction Providers({ children }) {\n    const [isSidebarOpen, setIsSidebarOpen] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true);\n    const toggleSidebar = ()=>setIsSidebarOpen((prev)=>!prev);\n    const closeSidebar = ()=>setIsSidebarOpen(false);\n    const openSidebar = ()=>setIsSidebarOpen(true);\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(SidebarContext.Provider, {\n        value: {\n            isOpen: isSidebarOpen,\n            toggle: toggleSidebar,\n            close: closeSidebar,\n            open: openSidebar\n        },\n        children: children\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\providers.tsx\",\n        lineNumber: 22,\n        columnNumber: 5\n    }, this);\n}\nfunction useSidebar() {\n    const context = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(SidebarContext);\n    if (context === undefined) {\n        throw new Error(\"useSidebar must be used within a Providers\");\n    }\n    return context;\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9hcHAvcHJvdmlkZXJzLnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBRXVFO0FBU3ZFLE1BQU1HLCtCQUFpQkgsb0RBQWFBLENBQWlDSTtBQUU5RCxTQUFTQyxVQUFVLEVBQUVDLFFBQVEsRUFBMkI7SUFDN0QsTUFBTSxDQUFDQyxlQUFlQyxpQkFBaUIsR0FBR04sK0NBQVFBLENBQUM7SUFFbkQsTUFBTU8sZ0JBQWdCLElBQU1ELGlCQUFpQixDQUFDRSxPQUFTLENBQUNBO0lBQ3hELE1BQU1DLGVBQWUsSUFBTUgsaUJBQWlCO0lBQzVDLE1BQU1JLGNBQWMsSUFBTUosaUJBQWlCO0lBRTNDLHFCQUNFLDhEQUFDTCxlQUFlVSxRQUFRO1FBQ3RCQyxPQUFPO1lBQ0xDLFFBQVFSO1lBQ1JTLFFBQVFQO1lBQ1JRLE9BQU9OO1lBQ1BPLE1BQU1OO1FBQ1I7a0JBRUNOOzs7Ozs7QUFHUDtBQUVPLFNBQVNhO0lBQ2QsTUFBTUMsVUFBVW5CLGlEQUFVQSxDQUFDRTtJQUMzQixJQUFJaUIsWUFBWWhCLFdBQVc7UUFDekIsTUFBTSxJQUFJaUIsTUFBTTtJQUNsQjtJQUNBLE9BQU9EO0FBQ1QiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9maW5hbnphcy8uL2FwcC9wcm92aWRlcnMudH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kZWJhcixcbiAgICAgIH19XG4gICAgPlxuICAgICAge2NoaWxkcmVufVxuICAgIDwvU2lkZWJhckNvbnRleHQuUHJvdmlkZXI+XG4gICk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiB1c2VTaWRlYmFyKCkge1xuICBjb25zdCBjb250ZXh0ID0gdXNlQ29udGV4dChTaWRlYmFyQ29udGV4dCk7XG4gIGlmIChjb250ZXh0ID09PSB1bmRlZmluZWQpIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJ1c2VTaWRlYmFyIG11c3QgYmUgdXNlZCB3aXRoaW4gYSBQcm92aWRlcnNcIik7XG4gIH1cbiAgcmV0dXJuIGNvbnRleHQ7XG59XG4iXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsInVzZUNvbnRleHQiLCJ1c2VTdGF0ZSIsIlNpZGViYXJDb250ZXh0IiwidW5kZWZpbmVkIiwiUHJvdmlkZXJzIiwiY2hpbGRyZW4iLCJpc1NpZGViYXJPcGVuIiwic2V0SXNTaWRlYmFyT3BlbiIsInRvZ2dsZVNpZGViYXIiLCJwcmV2IiwiY2xvc2VTaWRlYmFyIiwib3BlblNpZGViYXIiLCJQcm92aWRlciIsInZhbHVlIiwiaXNPcGVuIiwidG9nZ2xlIiwiY2xvc2UiLCJvcGVuIiwidXNlU2lkZWJhciIsImNvbnRleHQiLCJFcnJvciJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./app/providers.tsx\n");

/***/ }),

/***/ "(ssr)/./components/alerts/AlertBadge.tsx":
/*!******************************************!*\
  !*** ./components/alerts/AlertBadge.tsx ***!
  \******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AlertBadge: () => (/* binding */ AlertBadge)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ AlertBadge auto */ \n\nfunction AlertBadge({ count, variant = \"default\" }) {\n    if (count === 0) {\n        return null;\n    }\n    if (variant === \"dot\") {\n        return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n            className: \"absolute -top-1 -right-1 h-3 w-3 rounded-full bg-red-500 animate-pulse\"\n        }, void 0, false, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBadge.tsx\",\n            lineNumber: 17,\n            columnNumber: 7\n        }, this);\n    }\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.cn)(\"inline-flex items-center justify-center min-w-[20px] h-5 px-1.5\", \"rounded-full bg-red-500 text-white text-xs font-medium\", \"animate-pulse\"),\n        children: count > 99 ? \"99+\" : count\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBadge.tsx\",\n        lineNumber: 22,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2F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hblxuICAgICAgY2xhc3NOYW1lPXtjbihcbiAgICAgICAgJ2lubGluZS1mbGV4IGl0ZW1zLWNlbnRlciBqdXN0aWZ5LWNlbnRlciBtaW4tdy1bMjBweF0gaC01IHB4LTEuNScsXG4gICAgICAgICdyb3VuZGVkLWZ1bGwgYmctcmVkLTUwMCB0ZXh0LXdoaXRlIHRleHQteHMgZm9udC1tZWRpdW0nLFxuICAgICAgICAnYW5pbWF0ZS1wdWxzZSdcbiAgICAgICl9XG4gICAgPlxuICAgICAge2NvdW50ID4gOTkgPyAnOTkrJyA6IGNvdW50fVxuICAgIDwvc3Bhbj5cbiAgKVxufVxuIl0sIm5hbWVzIjpbImNuIiwiQWxlcnRCYWRnZSIsImNvdW50IiwidmFyaWFudCIsInNwYW4iLCJjbGFzc05hbWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./components/alerts/AlertBadge.tsx\n");

/***/ }),

/***/ "(ssr)/./components/alerts/AlertBanner.tsx":
/*!*******************************************!*\
  !*** ./components/alerts/AlertBanner.tsx ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AlertBanner: () => (/* binding */ AlertBanner)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_Check_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Check,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/check.js\");\n/* harmony import */ var _barrel_optimize_names_Check_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=Check,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/x.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* harmony import */ var _AlertIcon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AlertIcon */ \"(ssr)/./components/alerts/AlertIcon.tsx\");\n/* __next_internal_client_entry_do_not_use__ AlertBanner auto */ \n\n\n\n\nconst severityStyles = {\n    info: {\n        bg: \"bg-blue-900/50\",\n        border: \"border-l-blue-500\",\n        icon: \"text-blue-400\"\n    },\n    warning: {\n        bg: \"bg-amber-900/50\",\n        border: \"border-l-amber-500\",\n        icon: \"text-amber-400\"\n    },\n    danger: {\n        bg: \"bg-red-900/50\",\n        border: \"border-l-red-500\",\n        icon: \"text-red-400\"\n    }\n};\nfunction AlertBanner({ alert, onDismiss, onMarkRead }) {\n    const [isVisible, setIsVisible] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true);\n    const [isExiting, setIsExiting] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const styles = severityStyles[alert.severity];\n    const handleDismiss = ()=>{\n        setIsExiting(true);\n        setTimeout(()=>{\n            setIsVisible(false);\n            onDismiss();\n        }, 300);\n    };\n    const handleMarkRead = ()=>{\n        setIsExiting(true);\n        setTimeout(()=>{\n            setIsVisible(false);\n            onMarkRead();\n        }, 300);\n    };\n    if (!isVisible) {\n        return null;\n    }\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"relative overflow-hidden rounded-r-lg border-l-4 p-4\", \"transition-all duration-300 ease-out\", \"animate-in slide-in-from-top-2\", isExiting && \"animate-out slide-out-to-top-2 opacity-0\", styles.bg, styles.border),\n        role: \"alert\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"flex items-start gap-3\",\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"flex-shrink-0 mt-0.5\", styles.icon),\n                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_AlertIcon__WEBPACK_IMPORTED_MODULE_3__.AlertIcon, {\n                        type: alert.type\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                        lineNumber: 72,\n                        columnNumber: 11\n                    }, this)\n                }, void 0, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                    lineNumber: 71,\n                    columnNumber: 9\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex-1 min-w-0\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                            className: \"font-semibold text-white text-sm\",\n                            children: alert.title\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                            lineNumber: 76,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                            className: \"mt-1 text-sm text-gray-300\",\n                            children: alert.message\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                            lineNumber: 77,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                    lineNumber: 75,\n                    columnNumber: 9\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-center gap-1 flex-shrink-0\",\n                    children: [\n                        !alert.isRead && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: handleMarkRead,\n                            className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"p-1.5 rounded-md transition-colors\", \"text-gray-400 hover:text-white hover:bg-white/10\", \"focus:outline-none focus:ring-2 focus:ring-white/20\"),\n                            title: \"Marcar como le\\xedda\",\n                            \"aria-label\": \"Marcar como le\\xedda\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Check_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                className: \"h-4 w-4\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                                lineNumber: 92,\n                                columnNumber: 15\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                            lineNumber: 82,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: handleDismiss,\n                            className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"p-1.5 rounded-md transition-colors\", \"text-gray-400 hover:text-white hover:bg-white/10\", \"focus:outline-none focus:ring-2 focus:ring-white/20\"),\n                            title: \"Cerrar\",\n                            \"aria-label\": \"Cerrar alerta\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Check_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                className: \"h-4 w-4\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                                lineNumber: 106,\n                                columnNumber: 13\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                            lineNumber: 96,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n                    lineNumber: 80,\n                    columnNumber: 9\n                }, this)\n            ]\n        }, void 0, true, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n            lineNumber: 70,\n            columnNumber: 7\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertBanner.tsx\",\n        lineNumber: 59,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/alerts/AlertBanner.tsx\n");

/***/ }),

/***/ "(ssr)/./components/alerts/AlertIcon.tsx":
/*!*****************************************!*\
  !*** ./components/alerts/AlertIcon.tsx ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AlertIcon: () => (/* binding */ AlertIcon)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=AlertCircle,AlertTriangle,Info!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/circle-alert.js\");\n/* harmony import */ var _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=AlertCircle,AlertTriangle,Info!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/triangle-alert.js\");\n/* harmony import */ var _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=AlertCircle,AlertTriangle,Info!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/info.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ AlertIcon auto */ \n\n\nconst iconMap = {\n    PAYMENT_DUE: _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n    BUDGET_WARNING: _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n    CARD_CLOSING: _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n    CARD_DUE: _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n    SAVINGS_GOAL: _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n    UNUSUAL_SPENDING: _barrel_optimize_names_AlertCircle_AlertTriangle_Info_lucide_react__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n};\nfunction AlertIcon({ type, className }) {\n    const Icon = iconMap[type];\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Icon, {\n        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.cn)(\"h-5 w-5\", className)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertIcon.tsx\",\n        lineNumber: 24,\n        columnNumber: 10\n    }, this);\n}\n//# sourceURL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j4gPSB7XG4gIFBBWU1FTlRfRFVFOiBBbGVydENpcmNsZSxcbiAgQlVER0VUX1dBUk5JTkc6IEFsZXJ0VHJpYW5nbGUsXG4gIENBUkRfQ0xPU0lORzogSW5mbyxcbiAgQ0FSRF9EVUU6IEFsZXJ0Q2lyY2xlLFxuICBTQVZJTkdTX0dPQUw6IEluZm8sXG4gIFVOVVNVQUxfU1BFTkRJTkc6IEFsZXJ0VHJpYW5nbGUsXG59XG5cbmV4cG9ydCBmdW5jdGlvbiBBbGVydEljb24oeyB0eXBlLCBjbGFzc05hbWUgfTogQWxlcnRJY29uUHJvcHMpIHtcbiAgY29uc3QgSWNvbiA9IGljb25NYXBbdHlwZV1cblxuICByZXR1cm4gPEljb24gY2xhc3NOYW1lPXtjbignaC01IHctNScsIGNsYXNzTmFtZSl9IC8+XG59XG4iXSwibmFtZXMiOlsiSW5mbyIsIkFsZXJ0VHJpYW5nbGUiLCJBbGVydENpcmNsZSIsImNuIiwiaWNvbk1hcCIsIlBBWU1FTlRfRFVFIiwiQlVER0VUX1dBUk5JTkciLCJDQVJEX0NMT1NJTkciLCJDQVJEX0RVRSIsIlNBVklOR1NfR09BTCIsIlVOVVNVQUxfU1BFTkRJTkciLCJBbGVydEljb24iLCJ0eXBlIiwiY2xhc3NOYW1lIiwiSWNvbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./components/alerts/AlertIcon.tsx\n");

/***/ }),

/***/ "(ssr)/./components/alerts/AlertItem.tsx":
/*!*****************************************!*\
  !*** ./components/alerts/AlertItem.tsx ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AlertItem: () => (/* binding */ AlertItem)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_Check_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Check,Trash2!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/check.js\");\n/* harmony import */ var _barrel_optimize_names_Check_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=Check,Trash2!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/trash-2.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* harmony import */ var _AlertIcon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AlertIcon */ \"(ssr)/./components/alerts/AlertIcon.tsx\");\n/* __next_internal_client_entry_do_not_use__ AlertItem auto */ \n\n\n\n\nconst severityStyles = {\n    info: \"text-blue-400\",\n    warning: \"text-amber-400\",\n    danger: \"text-red-400\"\n};\nfunction getRelativeTime(date) {\n    const now = new Date();\n    const alertDate = new Date(date);\n    const diffMs = now.getTime() - alertDate.getTime();\n    const diffMins = Math.floor(diffMs / (1000 * 60));\n    const diffHours = Math.floor(diffMs / (1000 * 60 * 60));\n    const diffDays = Math.floor(diffMs / (1000 * 60 * 60 * 24));\n    if (diffMins < 1) {\n        return \"ahora\";\n    }\n    if (diffMins < 60) {\n        return `hace ${diffMins} min`;\n    }\n    if (diffHours < 24) {\n        return `hace ${diffHours} hora${diffHours > 1 ? \"s\" : \"\"}`;\n    }\n    if (diffDays === 1) {\n        return \"ayer\";\n    }\n    if (diffDays < 7) {\n        return `hace ${diffDays} días`;\n    }\n    return alertDate.toLocaleDateString(\"es-AR\", {\n        day: \"numeric\",\n        month: \"short\"\n    });\n}\nfunction AlertItem({ alert, onMarkRead, onDelete }) {\n    const [showActions, setShowActions] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [isExiting, setIsExiting] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const handleMarkRead = ()=>{\n        setIsExiting(true);\n        setTimeout(()=>{\n            onMarkRead();\n        }, 200);\n    };\n    const handleDelete = ()=>{\n        setIsExiting(true);\n        setTimeout(()=>{\n            onDelete();\n        }, 200);\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"group relative flex items-center gap-3 p-3 rounded-lg\", \"transition-all duration-200\", \"hover:bg-white/5\", isExiting && \"opacity-0 -translate-x-4\", !alert.isRead && \"bg-white/[0.02]\"),\n        onMouseEnter: ()=>setShowActions(true),\n        onMouseLeave: ()=>setShowActions(false),\n        role: \"listitem\",\n        children: [\n            !alert.isRead && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                className: \"absolute left-1 top-1/2 -translate-y-1/2 h-2 w-2 rounded-full bg-blue-500\"\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                lineNumber: 84,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"flex-shrink-0\", severityStyles[alert.severity], !alert.isRead && \"ml-3\"),\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_AlertIcon__WEBPACK_IMPORTED_MODULE_3__.AlertIcon, {\n                    type: alert.type,\n                    className: \"h-4 w-4\"\n                }, void 0, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                    lineNumber: 95,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                lineNumber: 88,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex-1 min-w-0\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"text-sm truncate\", alert.isRead ? \"text-gray-400\" : \"text-white font-medium\"),\n                        children: alert.title\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                        lineNumber: 100,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"text-xs text-gray-500 mt-0.5\",\n                        children: getRelativeTime(alert.date)\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                        lineNumber: 108,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                lineNumber: 99,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"flex items-center gap-1 transition-opacity duration-200\", showActions ? \"opacity-100\" : \"opacity-0\"),\n                children: [\n                    !alert.isRead && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        onClick: handleMarkRead,\n                        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"p-1.5 rounded-md transition-colors\", \"text-gray-500 hover:text-green-400 hover:bg-green-400/10\", \"focus:outline-none focus:ring-2 focus:ring-green-400/20\"),\n                        title: \"Marcar como le\\xedda\",\n                        \"aria-label\": \"Marcar como le\\xedda\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Check_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                            className: \"h-3.5 w-3.5\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                            lineNumber: 129,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                        lineNumber: 119,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        onClick: handleDelete,\n                        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"p-1.5 rounded-md transition-colors\", \"text-gray-500 hover:text-red-400 hover:bg-red-400/10\", \"focus:outline-none focus:ring-2 focus:ring-red-400/20\"),\n                        title: \"Eliminar\",\n                        \"aria-label\": \"Eliminar alerta\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Check_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                            className: \"h-3.5 w-3.5\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                            lineNumber: 143,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                        lineNumber: 133,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n                lineNumber: 112,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertItem.tsx\",\n        lineNumber: 70,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/alerts/AlertItem.tsx\n");

/***/ }),

/***/ "(ssr)/./components/alerts/AlertPanel.tsx":
/*!******************************************!*\
  !*** ./components/alerts/AlertPanel.tsx ***!
  \******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AlertPanel: () => (/* binding */ AlertPanel)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CheckCheck,Inbox,Trash2!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/bell.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CheckCheck,Inbox,Trash2!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/check-check.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CheckCheck,Inbox,Trash2!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/trash-2.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CheckCheck,Inbox,Trash2!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/inbox.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _AlertItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AlertItem */ \"(ssr)/./components/alerts/AlertItem.tsx\");\n/* harmony import */ var _AlertBadge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AlertBadge */ \"(ssr)/./components/alerts/AlertBadge.tsx\");\n/* __next_internal_client_entry_do_not_use__ AlertPanel auto */ \n\n\n\n\n\n\nfunction AlertPanel() {\n    const [activeTab, setActiveTab] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"all\");\n    const alerts = (0,_lib_store__WEBPACK_IMPORTED_MODULE_3__.useFinanzasStore)((state)=>state.alerts);\n    const markAlertAsRead = (0,_lib_store__WEBPACK_IMPORTED_MODULE_3__.useFinanzasStore)((state)=>state.markAlertAsRead);\n    const deleteAlert = (0,_lib_store__WEBPACK_IMPORTED_MODULE_3__.useFinanzasStore)((state)=>state.deleteAlert);\n    const clearAllAlerts = (0,_lib_store__WEBPACK_IMPORTED_MODULE_3__.useFinanzasStore)((state)=>state.clearAllAlerts);\n    const unreadAlerts = alerts.filter((alert)=>!alert.isRead);\n    const unreadCount = unreadAlerts.length;\n    const displayedAlerts = activeTab === \"unread\" ? unreadAlerts : alerts;\n    const handleMarkAllRead = ()=>{\n        unreadAlerts.forEach((alert)=>{\n            markAlertAsRead(alert.id);\n        });\n    };\n    const handleClearAll = ()=>{\n        clearAllAlerts();\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"w-full max-w-md bg-gray-900 rounded-xl border border-gray-800 shadow-xl\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex items-center justify-between p-4 border-b border-gray-800\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center gap-2\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"relative\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                        className: \"h-5 w-5 text-gray-400\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                        lineNumber: 41,\n                                        columnNumber: 13\n                                    }, this),\n                                    unreadCount > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_AlertBadge__WEBPACK_IMPORTED_MODULE_5__.AlertBadge, {\n                                        count: unreadCount,\n                                        variant: \"dot\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                        lineNumber: 42,\n                                        columnNumber: 33\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 40,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"font-semibold text-white\",\n                                children: \"Alertas\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 44,\n                                columnNumber: 11\n                            }, this),\n                            unreadCount > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"text-xs text-gray-500\",\n                                children: [\n                                    \"(\",\n                                    unreadCount,\n                                    \")\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 46,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                        lineNumber: 39,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center gap-1\",\n                        children: [\n                            unreadCount > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                onClick: handleMarkAllRead,\n                                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"p-2 rounded-md transition-colors\", \"text-gray-500 hover:text-green-400 hover:bg-green-400/10\", \"focus:outline-none focus:ring-2 focus:ring-green-400/20\"),\n                                title: \"Marcar todas como le\\xeddas\",\n                                \"aria-label\": \"Marcar todas como le\\xeddas\",\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                    className: \"h-4 w-4\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                    lineNumber: 62,\n                                    columnNumber: 15\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 52,\n                                columnNumber: 13\n                            }, this),\n                            alerts.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                onClick: handleClearAll,\n                                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"p-2 rounded-md transition-colors\", \"text-gray-500 hover:text-red-400 hover:bg-red-400/10\", \"focus:outline-none focus:ring-2 focus:ring-red-400/20\"),\n                                title: \"Limpiar todas\",\n                                \"aria-label\": \"Limpiar todas las alertas\",\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                                    className: \"h-4 w-4\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                    lineNumber: 77,\n                                    columnNumber: 15\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 67,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                        lineNumber: 50,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                lineNumber: 38,\n                columnNumber: 7\n            }, this),\n            alerts.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex border-b border-gray-800\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        onClick: ()=>setActiveTab(\"all\"),\n                        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"flex-1 px-4 py-2 text-sm font-medium transition-colors\", \"focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500/20\", activeTab === \"all\" ? \"text-white border-b-2 border-blue-500\" : \"text-gray-500 hover:text-gray-300\"),\n                        children: [\n                            \"Todas\",\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"ml-1.5 text-xs text-gray-600\",\n                                children: [\n                                    \"(\",\n                                    alerts.length,\n                                    \")\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 97,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                        lineNumber: 86,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        onClick: ()=>setActiveTab(\"unread\"),\n                        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"flex-1 px-4 py-2 text-sm font-medium transition-colors\", \"focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500/20\", activeTab === \"unread\" ? \"text-white border-b-2 border-blue-500\" : \"text-gray-500 hover:text-gray-300\"),\n                        children: [\n                            \"No le\\xeddas\",\n                            unreadCount > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"ml-1.5 text-xs text-blue-400\",\n                                children: [\n                                    \"(\",\n                                    unreadCount,\n                                    \")\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 111,\n                                columnNumber: 15\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                        lineNumber: 99,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                lineNumber: 85,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"max-h-[400px] overflow-y-auto\",\n                children: displayedAlerts.length === 0 ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex flex-col items-center justify-center py-12 px-4 text-center\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"h-12 w-12 rounded-full bg-gray-800 flex items-center justify-center mb-3\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Bell_CheckCheck_Inbox_Trash2_lucide_react__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n                                className: \"h-6 w-6 text-gray-600\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                                lineNumber: 122,\n                                columnNumber: 15\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                            lineNumber: 121,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                            className: \"text-gray-400 text-sm\",\n                            children: activeTab === \"unread\" ? \"No tienes alertas sin leer\" : \"No tienes alertas\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                            lineNumber: 124,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                            className: \"text-gray-600 text-xs mt-1\",\n                            children: \"Las alertas aparecer\\xe1n cuando haya pagos pr\\xf3ximos o eventos importantes\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                            lineNumber: 129,\n                            columnNumber: 13\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                    lineNumber: 120,\n                    columnNumber: 11\n                }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"divide-y divide-gray-800/50\",\n                    role: \"list\",\n                    children: displayedAlerts.map((alert)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_AlertItem__WEBPACK_IMPORTED_MODULE_4__.AlertItem, {\n                            alert: alert,\n                            onMarkRead: ()=>markAlertAsRead(alert.id),\n                            onDelete: ()=>deleteAlert(alert.id)\n                        }, alert.id, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                            lineNumber: 136,\n                            columnNumber: 15\n                        }, this))\n                }, void 0, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                    lineNumber: 134,\n                    columnNumber: 11\n                }, this)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n                lineNumber: 118,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\alerts\\\\AlertPanel.tsx\",\n        lineNumber: 36,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/alerts/AlertPanel.tsx\n");

/***/ }),

/***/ "(ssr)/./components/alerts/index.ts":
/*!************************************!*\
  !*** ./components/alerts/index.ts ***!
  \************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AlertBadge: () => (/* reexport safe */ _AlertBadge__WEBPACK_IMPORTED_MODULE_3__.AlertBadge),\n/* harmony export */   AlertBanner: () => (/* reexport safe */ _AlertBanner__WEBPACK_IMPORTED_MODULE_0__.AlertBanner),\n/* harmony export */   AlertIcon: () => (/* reexport safe */ _AlertIcon__WEBPACK_IMPORTED_MODULE_4__.AlertIcon),\n/* harmony export */   AlertItem: () => (/* reexport safe */ _AlertItem__WEBPACK_IMPORTED_MODULE_1__.AlertItem),\n/* harmony export */   AlertPanel: () => (/* reexport safe */ _AlertPanel__WEBPACK_IMPORTED_MODULE_2__.AlertPanel),\n/* harmony export */   useAlerts: () => (/* reexport safe */ _useAlerts__WEBPACK_IMPORTED_MODULE_5__.useAlerts)\n/* harmony export */ });\n/* harmony import */ var _AlertBanner__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AlertBanner */ \"(ssr)/./components/alerts/AlertBanner.tsx\");\n/* harmony import */ var _AlertItem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AlertItem */ \"(ssr)/./components/alerts/AlertItem.tsx\");\n/* harmony import */ var _AlertPanel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AlertPanel */ \"(ssr)/./components/alerts/AlertPanel.tsx\");\n/* harmony import */ var _AlertBadge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AlertBadge */ \"(ssr)/./components/alerts/AlertBadge.tsx\");\n/* harmony import */ var _AlertIcon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AlertIcon */ \"(ssr)/./components/alerts/AlertIcon.tsx\");\n/* harmony import */ var _useAlerts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./useAlerts */ \"(ssr)/./components/alerts/useAlerts.ts\");\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2FsZXJ0cy9pbmRleC50cyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBMkM7QUFDSjtBQUNFO0FBQ0E7QUFDRjtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vZmluYW56YXMvLi9jb21wb25lbnRzL2FsZXJ0cy9pbmRleC50cz9lZjc3Il0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEFsZXJ0QmFubmVyIH0gZnJvbSAnLi9BbGVydEJhbm5lcidcbmV4cG9ydCB7IEFsZXJ0SXRlbSB9IGZyb20gJy4vQWxlcnRJdGVtJ1xuZXhwb3J0IHsgQWxlcnRQYW5lbCB9IGZyb20gJy4vQWxlcnRQYW5lbCdcbmV4cG9ydCB7IEFsZXJ0QmFkZ2UgfSBmcm9tICcuL0FsZXJ0QmFkZ2UnXG5leHBvcnQgeyBBbGVydEljb24gfSBmcm9tICcuL0FsZXJ0SWNvbidcbmV4cG9ydCB7IHVzZUFsZXJ0cyB9IGZyb20gJy4vdXNlQWxlcnRzJ1xuIl0sIm5hbWVzIjpbIkFsZXJ0QmFubmVyIiwiQWxlcnRJdGVtIiwiQWxlcnRQYW5lbCIsIkFsZXJ0QmFkZ2UiLCJBbGVydEljb24iLCJ1c2VBbGVydHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./components/alerts/index.ts\n");

/***/ }),

/***/ "(ssr)/./components/alerts/useAlerts.ts":
/*!****************************************!*\
  !*** ./components/alerts/useAlerts.ts ***!
  \****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useAlerts: () => (/* binding */ useAlerts)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _lib_alerts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/alerts */ \"(ssr)/./lib/alerts.ts\");\n/* __next_internal_client_entry_do_not_use__ useAlerts auto */ \n\n\nfunction useAlerts() {\n    const alerts = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.alerts);\n    const addAlert = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.addAlert);\n    const clearAllAlerts = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.clearAllAlerts);\n    const fixedDebts = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.fixedDebts);\n    const variableDebts = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.variableDebts);\n    const creditCards = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.creditCards);\n    const monthlyBudgets = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.monthlyBudgets);\n    const currentMonth = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.currentMonth);\n    const currentYear = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)((state)=>state.currentYear);\n    const unreadAlerts = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>alerts.filter((alert)=>!alert.isRead), [\n        alerts\n    ]);\n    const unreadCount = unreadAlerts.length;\n    const regenerateAlerts = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(()=>{\n        const params = {\n            fixedDebts,\n            variableDebts,\n            creditCards,\n            monthlyBudgets,\n            currentMonth,\n            currentYear\n        };\n        const newAlerts = (0,_lib_alerts__WEBPACK_IMPORTED_MODULE_2__.generateAlerts)(params);\n        // Clear existing alerts and add new ones\n        clearAllAlerts();\n        newAlerts.forEach((alertDraft)=>{\n            addAlert({\n                ...alertDraft,\n                isRead: false\n            });\n        });\n        return newAlerts.length;\n    }, [\n        fixedDebts,\n        variableDebts,\n        creditCards,\n        monthlyBudgets,\n        currentMonth,\n        currentYear,\n        clearAllAlerts,\n        addAlert\n    ]);\n    const dismissAll = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(()=>{\n        clearAllAlerts();\n    }, [\n        clearAllAlerts\n    ]);\n    return {\n        alerts,\n        unreadCount,\n        unreadAlerts,\n        regenerateAlerts,\n        dismissAll\n    };\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/alerts/useAlerts.ts\n");

/***/ }),

/***/ "(ssr)/./components/dashboard/DashboardHeader.tsx":
/*!**************************************************!*\
  !*** ./components/dashboard/DashboardHeader.tsx ***!
  \**************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DashboardHeader: () => (/* binding */ DashboardHeader)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_RefreshCw_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=RefreshCw!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/refresh-cw.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ DashboardHeader auto */ \n\n\n\nfunction DashboardHeader({ onRefresh, isRefreshing = false }) {\n    const now = new Date();\n    const currentMonth = now.getMonth() + 1;\n    const currentYear = now.getFullYear();\n    const monthName = (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.getMonthName)(currentMonth);\n    // Formatear fecha actual\n    const formattedDate = new Intl.DateTimeFormat(\"es-AR\", {\n        weekday: \"long\",\n        day: \"numeric\",\n        month: \"long\",\n        year: \"numeric\"\n    }).format(now);\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"flex flex-col gap-4 border-b border-slate-700 bg-slate-800/50 px-6 py-4 sm:flex-row sm:items-center sm:justify-between\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h1\", {\n                        className: \"text-2xl font-bold text-white\",\n                        children: [\n                            \"Dashboard\",\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"ml-2 text-lg font-normal text-slate-400\",\n                                children: [\n                                    monthName,\n                                    \" \",\n                                    currentYear\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\DashboardHeader.tsx\",\n                                lineNumber: 34,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\DashboardHeader.tsx\",\n                        lineNumber: 32,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"mt-1 text-sm capitalize text-slate-400\",\n                        children: formattedDate\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\DashboardHeader.tsx\",\n                        lineNumber: 38,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\DashboardHeader.tsx\",\n                lineNumber: 31,\n                columnNumber: 7\n            }, this),\n            onRefresh && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                onClick: onRefresh,\n                disabled: isRefreshing,\n                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.cn)(\"inline-flex items-center gap-2 rounded-lg border border-slate-600\", \"bg-slate-700 px-4 py-2 text-sm font-medium text-white\", \"transition-colors hover:bg-slate-600\", \"focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-offset-2 focus:ring-offset-slate-800\", \"disabled:cursor-not-allowed disabled:opacity-50\"),\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_RefreshCw_lucide_react__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.cn)(\"h-4 w-4\", isRefreshing && \"animate-spin\")\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\DashboardHeader.tsx\",\n                        lineNumber: 55,\n                        columnNumber: 11\n                    }, this),\n                    isRefreshing ? \"Actualizando...\" : \"Actualizar\"\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\DashboardHeader.tsx\",\n                lineNumber: 44,\n                columnNumber: 9\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\DashboardHeader.tsx\",\n        lineNumber: 30,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/dashboard/DashboardHeader.tsx\n");

/***/ }),

/***/ "(ssr)/./components/dashboard/ExpenseChart.tsx":
/*!***********************************************!*\
  !*** ./components/dashboard/ExpenseChart.tsx ***!
  \***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ExpenseChart: () => (/* binding */ ExpenseChart)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=Cell,Pie,PieChart,ResponsiveContainer,Tooltip!=!recharts */ \"(ssr)/./node_modules/recharts/es6/component/ResponsiveContainer.js\");\n/* harmony import */ var _barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=Cell,Pie,PieChart,ResponsiveContainer,Tooltip!=!recharts */ \"(ssr)/./node_modules/recharts/es6/chart/PieChart.js\");\n/* harmony import */ var _barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Cell,Pie,PieChart,ResponsiveContainer,Tooltip!=!recharts */ \"(ssr)/./node_modules/recharts/es6/polar/Pie.js\");\n/* harmony import */ var _barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=Cell,Pie,PieChart,ResponsiveContainer,Tooltip!=!recharts */ \"(ssr)/./node_modules/recharts/es6/component/Cell.js\");\n/* harmony import */ var _barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=Cell,Pie,PieChart,ResponsiveContainer,Tooltip!=!recharts */ \"(ssr)/./node_modules/recharts/es6/component/Tooltip.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ ExpenseChart auto */ \n\n\n// Colores por categoría\nconst CATEGORY_COLORS = {\n    // Deudas fijas\n    housing: \"#10b981\",\n    services: \"#3b82f6\",\n    subscription: \"#8b5cf6\",\n    other: \"#64748b\",\n    // Deudas variables\n    shopping: \"#f59e0b\",\n    food: \"#ef4444\",\n    entertainment: \"#ec4899\",\n    health: \"#06b6d4\",\n    transport: \"#84cc16\"\n};\n// Nombres de categorías en español\nconst CATEGORY_NAMES = {\n    housing: \"Vivienda\",\n    services: \"Servicios\",\n    subscription: \"Suscripciones\",\n    other: \"Otros\",\n    shopping: \"Compras\",\n    food: \"Comida\",\n    entertainment: \"Entretenimiento\",\n    health: \"Salud\",\n    transport: \"Transporte\"\n};\nfunction ExpenseChart({ fixedDebts, variableDebts }) {\n    // Agrupar gastos por categoría\n    const categoryTotals = new Map();\n    // Agregar deudas fijas no pagadas\n    fixedDebts.filter((debt)=>!debt.isPaid).forEach((debt)=>{\n        const current = categoryTotals.get(debt.category) || 0;\n        categoryTotals.set(debt.category, current + debt.amount);\n    });\n    // Agregar deudas variables no pagadas\n    variableDebts.filter((debt)=>!debt.isPaid).forEach((debt)=>{\n        const current = categoryTotals.get(debt.category) || 0;\n        categoryTotals.set(debt.category, current + debt.amount);\n    });\n    // Convertir a formato de datos para el gráfico\n    const data = Array.from(categoryTotals.entries()).map(([category, value])=>({\n            name: CATEGORY_NAMES[category] || category,\n            value,\n            color: CATEGORY_COLORS[category] || \"#64748b\",\n            category\n        })).filter((item)=>item.value > 0).sort((a, b)=>b.value - a.value);\n    // Calcular total\n    const total = data.reduce((sum, item)=>sum + item.value, 0);\n    if (data.length === 0) {\n        return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"flex h-64 items-center justify-center rounded-xl border border-slate-700 bg-slate-800\",\n            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                className: \"text-slate-500\",\n                children: \"No hay gastos pendientes\"\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                lineNumber: 84,\n                columnNumber: 9\n            }, this)\n        }, void 0, false, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n            lineNumber: 83,\n            columnNumber: 7\n        }, this);\n    }\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"rounded-xl border border-slate-700 bg-slate-800 p-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                className: \"mb-4 text-lg font-semibold text-white\",\n                children: \"Distribuci\\xf3n de Gastos\"\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                lineNumber: 91,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex flex-col gap-6 lg:flex-row\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"h-64 w-full lg:w-1/2\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_2__.ResponsiveContainer, {\n                            width: \"100%\",\n                            height: \"100%\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_3__.PieChart, {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_4__.Pie, {\n                                        data: data,\n                                        cx: \"50%\",\n                                        cy: \"50%\",\n                                        innerRadius: 60,\n                                        outerRadius: 90,\n                                        paddingAngle: 2,\n                                        dataKey: \"value\",\n                                        children: data.map((entry, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_5__.Cell, {\n                                                fill: entry.color\n                                            }, `cell-${index}`, false, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                                lineNumber: 110,\n                                                columnNumber: 19\n                                            }, this))\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                        lineNumber: 100,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Cell_Pie_PieChart_ResponsiveContainer_Tooltip_recharts__WEBPACK_IMPORTED_MODULE_6__.Tooltip, {\n                                        formatter: (value)=>typeof value === \"number\" ? (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.formatCurrency)(value) : value,\n                                        contentStyle: {\n                                            backgroundColor: \"#1e293b\",\n                                            border: \"1px solid #334155\",\n                                            borderRadius: \"8px\",\n                                            color: \"#fff\"\n                                        }\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                        lineNumber: 113,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                lineNumber: 99,\n                                columnNumber: 13\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                            lineNumber: 98,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                        lineNumber: 97,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex w-full flex-col justify-center gap-3 lg:w-1/2\",\n                        children: [\n                            data.map((item)=>{\n                                const percentage = total > 0 ? item.value / total * 100 : 0;\n                                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex items-center gap-3\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"h-4 w-4 rounded-full\",\n                                            style: {\n                                                backgroundColor: item.color\n                                            }\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                            lineNumber: 134,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"flex-1\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"flex items-center justify-between\",\n                                                    children: [\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                            className: \"text-sm font-medium text-slate-300\",\n                                                            children: item.name\n                                                        }, void 0, false, {\n                                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                                            lineNumber: 140,\n                                                            columnNumber: 21\n                                                        }, this),\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                            className: \"text-sm text-slate-400\",\n                                                            children: [\n                                                                percentage.toFixed(1),\n                                                                \"%\"\n                                                            ]\n                                                        }, void 0, true, {\n                                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                                            lineNumber: 143,\n                                                            columnNumber: 21\n                                                        }, this)\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                                    lineNumber: 139,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                    className: \"text-xs text-slate-500\",\n                                                    children: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.formatCurrency)(item.value)\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                                    lineNumber: 147,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                            lineNumber: 138,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, item.category, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                    lineNumber: 133,\n                                    columnNumber: 15\n                                }, this);\n                            }),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"mt-4 border-t border-slate-700 pt-4\",\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex items-center justify-between\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                            className: \"text-sm font-medium text-slate-400\",\n                                            children: \"Total\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                            lineNumber: 158,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                            className: \"font-mono text-lg font-bold text-emerald-400\",\n                                            children: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.formatCurrency)(total)\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                            lineNumber: 159,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                    lineNumber: 157,\n                                    columnNumber: 13\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                                lineNumber: 156,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                        lineNumber: 129,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n                lineNumber: 95,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\ExpenseChart.tsx\",\n        lineNumber: 90,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/dashboard/ExpenseChart.tsx\n");

/***/ }),

/***/ "(ssr)/./components/dashboard/MetricCard.tsx":
/*!*********************************************!*\
  !*** ./components/dashboard/MetricCard.tsx ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   MetricCard: () => (/* binding */ MetricCard)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_TrendingDown_TrendingUp_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=TrendingDown,TrendingUp!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/trending-up.js\");\n/* harmony import */ var _barrel_optimize_names_TrendingDown_TrendingUp_lucide_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=TrendingDown,TrendingUp!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/trending-down.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ MetricCard auto */ \n\n\n\nfunction MetricCard({ title, amount, subtitle, trend, icon: Icon, color = \"text-emerald-400\" }) {\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"relative overflow-hidden rounded-xl border border-slate-700 bg-slate-800 p-6 shadow-lg\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.cn)(\"absolute right-4 top-4\", color),\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Icon, {\n                    className: \"h-10 w-10 opacity-80\"\n                }, void 0, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                    lineNumber: 31,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                lineNumber: 30,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"relative\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-sm font-medium text-slate-400\",\n                        children: title\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                        lineNumber: 37,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"mt-2 font-mono text-3xl font-bold text-emerald-400\",\n                        children: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_1__.formatCurrency)(amount)\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                        lineNumber: 40,\n                        columnNumber: 9\n                    }, this),\n                    subtitle && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"mt-1 text-sm text-slate-500\",\n                        children: subtitle\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                        lineNumber: 46,\n                        columnNumber: 11\n                    }, this),\n                    trend && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mt-3 flex items-center gap-1.5\",\n                        children: [\n                            trend.isPositive ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_TrendingDown_TrendingUp_lucide_react__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                        className: \"h-4 w-4 text-emerald-500\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                                        lineNumber: 54,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: \"text-sm font-medium text-emerald-500\",\n                                        children: [\n                                            \"+\",\n                                            trend.value,\n                                            \"%\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                                        lineNumber: 55,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_TrendingDown_TrendingUp_lucide_react__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                        className: \"h-4 w-4 text-rose-500\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                                        lineNumber: 61,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: \"text-sm font-medium text-rose-500\",\n                                        children: [\n                                            \"-\",\n                                            trend.value,\n                                            \"%\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                                        lineNumber: 62,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"text-sm text-slate-500\",\n                                children: \"vs mes anterior\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                                lineNumber: 67,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                        lineNumber: 51,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n                lineNumber: 35,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\MetricCard.tsx\",\n        lineNumber: 28,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/dashboard/MetricCard.tsx\n");

/***/ }),

/***/ "(ssr)/./components/dashboard/QuickActions.tsx":
/*!***********************************************!*\
  !*** ./components/dashboard/QuickActions.tsx ***!
  \***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   QuickActions: () => (/* binding */ QuickActions)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_CreditCard_Plus_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! __barrel_optimize__?names=CreditCard,Plus,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/plus.js\");\n/* harmony import */ var _barrel_optimize_names_CreditCard_Plus_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=CreditCard,Plus,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/credit-card.js\");\n/* harmony import */ var _barrel_optimize_names_CreditCard_Plus_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=CreditCard,Plus,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/wallet.js\");\n/* __next_internal_client_entry_do_not_use__ QuickActions auto */ \n\nfunction QuickActions({ onAddDebt, onAddCard, onAddPayment }) {\n    const actions = [\n        {\n            label: \"Agregar Deuda\",\n            icon: _barrel_optimize_names_CreditCard_Plus_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n            onClick: onAddDebt,\n            color: \"bg-emerald-500 hover:bg-emerald-600\"\n        },\n        {\n            label: \"Nueva Tarjeta\",\n            icon: _barrel_optimize_names_CreditCard_Plus_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n            onClick: onAddCard,\n            color: \"bg-blue-500 hover:bg-blue-600\"\n        },\n        {\n            label: \"Registrar Pago\",\n            icon: _barrel_optimize_names_CreditCard_Plus_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n            onClick: onAddPayment,\n            color: \"bg-violet-500 hover:bg-violet-600\"\n        }\n    ];\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"grid grid-cols-1 gap-4 sm:grid-cols-3\",\n        children: actions.map((action)=>{\n            const Icon = action.icon;\n            return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                onClick: action.onClick,\n                className: `\n              group flex flex-col items-center gap-3 rounded-xl p-6\n              transition-all duration-200 ease-out\n              ${action.color}\n              focus:outline-none focus:ring-2 focus:ring-white/50 focus:ring-offset-2 focus:ring-offset-slate-800\n            `,\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"rounded-full bg-white/20 p-4 transition-transform group-hover:scale-110\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Icon, {\n                            className: \"h-8 w-8 text-white\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\QuickActions.tsx\",\n                            lineNumber: 60,\n                            columnNumber: 15\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\QuickActions.tsx\",\n                        lineNumber: 59,\n                        columnNumber: 13\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                        className: \"font-medium text-white\",\n                        children: action.label\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\QuickActions.tsx\",\n                        lineNumber: 62,\n                        columnNumber: 13\n                    }, this)\n                ]\n            }, action.label, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\QuickActions.tsx\",\n                lineNumber: 49,\n                columnNumber: 11\n            }, this);\n        })\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\QuickActions.tsx\",\n        lineNumber: 45,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2Rhc2hib2FyZC9RdWlja0FjdGlvbnMudHN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFFdUQ7QUFlaEQsU0FBU0csYUFBYSxFQUMzQkMsU0FBUyxFQUNUQyxTQUFTLEVBQ1RDLFlBQVksRUFDTTtJQUNsQixNQUFNQyxVQUEwQjtRQUM5QjtZQUNFQyxPQUFPO1lBQ1BDLE1BQU1ULGtHQUFJQTtZQUNWVSxT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GRDYXJkIiwib25BZGRQYXltZW50IiwiYWN0aW9ucyIsImxhYmVsIiwiaWNvbiIsIm9uQ2xpY2siLCJjb2xvciIsImRpdiIsImNsYXNzTmFtZSIsIm1hcCIsImFjdGlvbiIsIkljb24iLCJidXR0b24iLCJzcGFuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./components/dashboard/QuickActions.tsx\n");

/***/ }),

/***/ "(ssr)/./components/dashboard/RecentActivity.tsx":
/*!*************************************************!*\
  !*** ./components/dashboard/RecentActivity.tsx ***!
  \*************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   RecentActivity: () => (/* binding */ RecentActivity)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_ArrowUpRight_CreditCard_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowUpRight,CreditCard,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/wallet.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowUpRight_CreditCard_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowUpRight,CreditCard,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/arrow-up-right.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowUpRight_CreditCard_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowUpRight,CreditCard,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/credit-card.js\");\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ RecentActivity auto */ \n\n\n\n\nfunction RecentActivity({ limit = 5 }) {\n    const { fixedDebts, variableDebts, cardPayments, creditCards } = (0,_lib_store__WEBPACK_IMPORTED_MODULE_1__.useFinanzasStore)();\n    // Combinar todas las actividades\n    const activities = [\n        // Deudas fijas recientes\n        ...fixedDebts.slice(0, limit).map((debt)=>({\n                id: debt.id,\n                type: \"fixed_debt\",\n                title: debt.name,\n                amount: debt.amount,\n                date: new Date().toISOString(),\n                description: `Vence el día ${debt.dueDay}`\n            })),\n        // Deudas variables recientes\n        ...variableDebts.slice(0, limit).map((debt)=>({\n                id: debt.id,\n                type: \"variable_debt\",\n                title: debt.name,\n                amount: debt.amount,\n                date: debt.date,\n                description: debt.notes\n            })),\n        // Pagos de tarjetas recientes\n        ...cardPayments.slice(0, limit).map((payment)=>{\n            const card = creditCards.find((c)=>c.id === payment.cardId);\n            return {\n                id: payment.id,\n                type: \"card_payment\",\n                title: `Pago - ${card?.name || \"Tarjeta\"}`,\n                amount: payment.amount,\n                date: payment.date,\n                description: payment.description\n            };\n        })\n    ];\n    // Ordenar por fecha (más recientes primero)\n    const sortedActivities = activities.sort((a, b)=>new Date(b.date).getTime() - new Date(a.date).getTime()).slice(0, limit);\n    // Configuración por tipo de actividad\n    const activityConfig = {\n        fixed_debt: {\n            icon: _barrel_optimize_names_ArrowUpRight_CreditCard_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n            label: \"Deuda Fija\",\n            color: \"text-amber-400\",\n            bgColor: \"bg-amber-400/10\"\n        },\n        variable_debt: {\n            icon: _barrel_optimize_names_ArrowUpRight_CreditCard_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n            label: \"Gasto\",\n            color: \"text-rose-400\",\n            bgColor: \"bg-rose-400/10\"\n        },\n        card_payment: {\n            icon: _barrel_optimize_names_ArrowUpRight_CreditCard_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n            label: \"Pago Tarjeta\",\n            color: \"text-blue-400\",\n            bgColor: \"bg-blue-400/10\"\n        }\n    };\n    if (sortedActivities.length === 0) {\n        return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"rounded-xl border border-slate-700 bg-slate-800 p-6\",\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                    className: \"mb-4 text-lg font-semibold text-white\",\n                    children: \"Actividad Reciente\"\n                }, void 0, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                    lineNumber: 93,\n                    columnNumber: 9\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex h-32 items-center justify-center\",\n                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"text-slate-500\",\n                        children: \"No hay actividad reciente\"\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                        lineNumber: 97,\n                        columnNumber: 11\n                    }, this)\n                }, void 0, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                    lineNumber: 96,\n                    columnNumber: 9\n                }, this)\n            ]\n        }, void 0, true, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n            lineNumber: 92,\n            columnNumber: 7\n        }, this);\n    }\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"rounded-xl border border-slate-700 bg-slate-800 p-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                className: \"mb-4 text-lg font-semibold text-white\",\n                children: \"Actividad Reciente\"\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                lineNumber: 105,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"space-y-3\",\n                children: sortedActivities.map((activity)=>{\n                    const config = activityConfig[activity.type];\n                    const Icon = config.icon;\n                    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center gap-4 rounded-lg border border-slate-700/50 bg-slate-700/30 p-4 transition-colors hover:bg-slate-700/50\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"flex h-10 w-10 items-center justify-center rounded-full\", config.bgColor),\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Icon, {\n                                    className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"h-5 w-5\", config.color)\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                    lineNumber: 126,\n                                    columnNumber: 17\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                lineNumber: 120,\n                                columnNumber: 15\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex-1 min-w-0\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center justify-between gap-2\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                                className: \"truncate font-medium text-white\",\n                                                children: activity.title\n                                            }, void 0, false, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                                lineNumber: 132,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"shrink-0 font-mono font-medium\", activity.type === \"card_payment\" ? \"text-emerald-400\" : \"text-rose-400\"),\n                                                children: [\n                                                    activity.type === \"card_payment\" ? \"+\" : \"-\",\n                                                    (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.formatCurrency)(activity.amount)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                                lineNumber: 135,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                        lineNumber: 131,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"mt-1 flex items-center gap-2 text-sm text-slate-400\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.cn)(\"text-xs\", config.color),\n                                                children: config.label\n                                            }, void 0, false, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                                lineNumber: 149,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                children: \"•\"\n                                            }, void 0, false, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                                lineNumber: 152,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                children: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_2__.formatShortDate)(activity.date)\n                                            }, void 0, false, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                                lineNumber: 153,\n                                                columnNumber: 19\n                                            }, this),\n                                            activity.description && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                        children: \"•\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                                        lineNumber: 156,\n                                                        columnNumber: 23\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                        className: \"truncate\",\n                                                        children: activity.description\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                                        lineNumber: 157,\n                                                        columnNumber: 23\n                                                    }, this)\n                                                ]\n                                            }, void 0, true)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                        lineNumber: 148,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                                lineNumber: 130,\n                                columnNumber: 15\n                            }, this)\n                        ]\n                    }, activity.id, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                        lineNumber: 115,\n                        columnNumber: 13\n                    }, this);\n                })\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n                lineNumber: 109,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\RecentActivity.tsx\",\n        lineNumber: 104,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/dashboard/RecentActivity.tsx\n");

/***/ }),

/***/ "(ssr)/./components/dashboard/SummarySection.tsx":
/*!*************************************************!*\
  !*** ./components/dashboard/SummarySection.tsx ***!
  \*************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SummarySection: () => (/* binding */ SummarySection)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=AlertCircle,CreditCard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/wallet.js\");\n/* harmony import */ var _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=AlertCircle,CreditCard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/credit-card.js\");\n/* harmony import */ var _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=AlertCircle,CreditCard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/piggy-bank.js\");\n/* harmony import */ var _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! __barrel_optimize__?names=AlertCircle,CreditCard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/circle-alert.js\");\n/* harmony import */ var _MetricCard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MetricCard */ \"(ssr)/./components/dashboard/MetricCard.tsx\");\n/* harmony import */ var _ExpenseChart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ExpenseChart */ \"(ssr)/./components/dashboard/ExpenseChart.tsx\");\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* harmony import */ var _lib_alerts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/lib/alerts */ \"(ssr)/./lib/alerts.ts\");\n/* __next_internal_client_entry_do_not_use__ SummarySection auto */ \n\n\n\n\n\n\n\nfunction SummarySection() {\n    const { fixedDebts, variableDebts, creditCards, monthlyBudgets, alerts, currentMonth, currentYear } = (0,_lib_store__WEBPACK_IMPORTED_MODULE_3__.useFinanzasStore)();\n    // Calcular métricas\n    const totalFixedDebts = (0,_lib_utils__WEBPACK_IMPORTED_MODULE_4__.calculateTotalFixedDebts)(fixedDebts);\n    const totalVariableDebts = (0,_lib_utils__WEBPACK_IMPORTED_MODULE_4__.calculateTotalVariableDebts)(variableDebts);\n    const totalPendingDebts = totalFixedDebts + totalVariableDebts;\n    const totalCardBalance = creditCards.reduce((sum, card)=>sum + card.currentBalance, 0);\n    const currentBudget = (0,_lib_alerts__WEBPACK_IMPORTED_MODULE_5__.getCurrentMonthBudget)(monthlyBudgets, currentMonth, currentYear);\n    const currentSpending = (0,_lib_alerts__WEBPACK_IMPORTED_MODULE_5__.calculateCurrentSpending)(fixedDebts, variableDebts);\n    // Presupuesto disponible (ingresos - gastos actuales)\n    const availableBudget = currentBudget ? currentBudget.totalIncome - currentSpending : 0;\n    // Meta de ahorro proyectada\n    const projectedSavings = currentBudget ? currentBudget.totalIncome - currentSpending : 0;\n    const savingsGoal = currentBudget?.savingsGoal || 0;\n    // Alertas no leídas (primeras 3)\n    const unreadAlerts = alerts.filter((alert)=>!alert.isRead).slice(0, 3);\n    // Colores por severidad de alerta\n    const severityColors = {\n        danger: \"border-rose-500 bg-rose-500/10 text-rose-400\",\n        warning: \"border-amber-500 bg-amber-500/10 text-amber-400\",\n        info: \"border-blue-500 bg-blue-500/10 text-blue-400\"\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"space-y-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_MetricCard__WEBPACK_IMPORTED_MODULE_1__.MetricCard, {\n                        title: \"Deudas Pendientes\",\n                        amount: totalPendingDebts,\n                        subtitle: `${fixedDebts.filter((d)=>!d.isPaid).length + variableDebts.filter((d)=>!d.isPaid).length} pagos pendientes`,\n                        icon: _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n                        color: \"text-rose-400\"\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                        lineNumber: 74,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_MetricCard__WEBPACK_IMPORTED_MODULE_1__.MetricCard, {\n                        title: \"Balance en Tarjetas\",\n                        amount: totalCardBalance,\n                        subtitle: `${creditCards.length} tarjetas activas`,\n                        icon: _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n                        color: \"text-blue-400\"\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                        lineNumber: 82,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_MetricCard__WEBPACK_IMPORTED_MODULE_1__.MetricCard, {\n                        title: \"Presupuesto Disponible\",\n                        amount: availableBudget,\n                        subtitle: currentBudget ? `de ${currentBudget.totalIncome.toLocaleString(\"es-AR\", {\n                            style: \"currency\",\n                            currency: \"ARS\"\n                        })} ingresos` : \"Sin presupuesto definido\",\n                        icon: _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n                        color: \"text-emerald-400\"\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                        lineNumber: 90,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_MetricCard__WEBPACK_IMPORTED_MODULE_1__.MetricCard, {\n                        title: \"Meta de Ahorro\",\n                        amount: projectedSavings,\n                        subtitle: savingsGoal > 0 ? `${(projectedSavings / savingsGoal * 100).toFixed(0)}% de la meta` : \"Sin meta definida\",\n                        icon: _barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n                        color: \"text-violet-400\"\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                        lineNumber: 105,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                lineNumber: 73,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"grid grid-cols-1 gap-6 lg:grid-cols-2\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_ExpenseChart__WEBPACK_IMPORTED_MODULE_2__.ExpenseChart, {\n                        fixedDebts: fixedDebts,\n                        variableDebts: variableDebts\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                        lineNumber: 121,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"rounded-xl border border-slate-700 bg-slate-800 p-6\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"mb-4 text-lg font-semibold text-white\",\n                                children: \"Alertas Destacadas\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                lineNumber: 125,\n                                columnNumber: 11\n                            }, this),\n                            unreadAlerts.length === 0 ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex h-48 items-center justify-center\",\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"text-slate-500\",\n                                    children: \"No hay alertas pendientes\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                    lineNumber: 131,\n                                    columnNumber: 15\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                lineNumber: 130,\n                                columnNumber: 13\n                            }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"space-y-3\",\n                                children: unreadAlerts.map((alert)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_4__.cn)(\"flex items-start gap-3 rounded-lg border p-4\", severityColors[alert.severity]),\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_AlertCircle_CreditCard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n                                                className: \"mt-0.5 h-5 w-5 shrink-0\"\n                                            }, void 0, false, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                                lineNumber: 143,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                                        className: \"font-medium\",\n                                                        children: alert.title\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                                        lineNumber: 145,\n                                                        columnNumber: 21\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                        className: \"mt-1 text-sm opacity-90\",\n                                                        children: alert.message\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                                        lineNumber: 146,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                                lineNumber: 144,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, alert.id, true, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                        lineNumber: 136,\n                                        columnNumber: 17\n                                    }, this))\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                                lineNumber: 134,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                        lineNumber: 124,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n                lineNumber: 119,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\dashboard\\\\SummarySection.tsx\",\n        lineNumber: 71,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/dashboard/SummarySection.tsx\n");

/***/ }),

/***/ "(ssr)/./components/dashboard/index.ts":
/*!***************************************!*\
  !*** ./components/dashboard/index.ts ***!
  \***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DashboardHeader: () => (/* reexport safe */ _DashboardHeader__WEBPACK_IMPORTED_MODULE_1__.DashboardHeader),\n/* harmony export */   ExpenseChart: () => (/* reexport safe */ _ExpenseChart__WEBPACK_IMPORTED_MODULE_2__.ExpenseChart),\n/* harmony export */   MetricCard: () => (/* reexport safe */ _MetricCard__WEBPACK_IMPORTED_MODULE_0__.MetricCard),\n/* harmony export */   QuickActions: () => (/* reexport safe */ _QuickActions__WEBPACK_IMPORTED_MODULE_3__.QuickActions),\n/* harmony export */   RecentActivity: () => (/* reexport safe */ _RecentActivity__WEBPACK_IMPORTED_MODULE_5__.RecentActivity),\n/* harmony export */   SummarySection: () => (/* reexport safe */ _SummarySection__WEBPACK_IMPORTED_MODULE_4__.SummarySection)\n/* harmony export */ });\n/* harmony import */ var _MetricCard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MetricCard */ \"(ssr)/./components/dashboard/MetricCard.tsx\");\n/* harmony import */ var _DashboardHeader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DashboardHeader */ \"(ssr)/./components/dashboard/DashboardHeader.tsx\");\n/* harmony import */ var _ExpenseChart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ExpenseChart */ \"(ssr)/./components/dashboard/ExpenseChart.tsx\");\n/* harmony import */ var _QuickActions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./QuickActions */ \"(ssr)/./components/dashboard/QuickActions.tsx\");\n/* harmony import */ var _SummarySection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SummarySection */ \"(ssr)/./components/dashboard/SummarySection.tsx\");\n/* harmony import */ var _RecentActivity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RecentActivity */ \"(ssr)/./components/dashboard/RecentActivity.tsx\");\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2Rhc2hib2FyZC9pbmRleC50cyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBeUM7QUFDVTtBQUNOO0FBQ0E7QUFDSTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vZmluYW56YXMvLi9jb21wb25lbnRzL2Rhc2hib2FyZC9pbmRleC50cz81ODdmIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IE1ldHJpY0NhcmQgfSBmcm9tICcuL01ldHJpY0NhcmQnXG5leHBvcnQgeyBEYXNoYm9hcmRIZWFkZXIgfSBmcm9tICcuL0Rhc2hib2FyZEhlYWRlcidcbmV4cG9ydCB7IEV4cGVuc2VDaGFydCB9IGZyb20gJy4vRXhwZW5zZUNoYXJ0J1xuZXhwb3J0IHsgUXVpY2tBY3Rpb25zIH0gZnJvbSAnLi9RdWlja0FjdGlvbnMnXG5leHBvcnQgeyBTdW1tYXJ5U2VjdGlvbiB9IGZyb20gJy4vU3VtbWFyeVNlY3Rpb24nXG5leHBvcnQgeyBSZWNlbnRBY3Rpdml0eSB9IGZyb20gJy4vUmVjZW50QWN0aXZpdHknXG4iXSwibmFtZXMiOlsiTWV0cmljQ2FyZCIsIkRhc2hib2FyZEhlYWRlciIsIkV4cGVuc2VDaGFydCIsIlF1aWNrQWN0aW9ucyIsIlN1bW1hcnlTZWN0aW9uIiwiUmVjZW50QWN0aXZpdHkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./components/dashboard/index.ts\n");

/***/ }),

/***/ "(ssr)/./components/layout/Header.tsx":
/*!**************************************!*\
  !*** ./components/layout/Header.tsx ***!
  \**************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Header: () => (/* binding */ Header)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_Menu_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Menu!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/menu.js\");\n/* harmony import */ var _barrel_optimize_names_format_date_fns__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=format!=!date-fns */ \"(ssr)/./node_modules/date-fns/format.js\");\n/* harmony import */ var date_fns_locale__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! date-fns/locale */ \"(ssr)/./node_modules/date-fns/locale/es.js\");\n/* harmony import */ var _Logo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Logo */ \"(ssr)/./components/layout/Logo.tsx\");\n/* __next_internal_client_entry_do_not_use__ Header auto */ \n\n\n\n\nfunction Header({ onMenuClick, title }) {\n    const currentDate = (0,_barrel_optimize_names_format_date_fns__WEBPACK_IMPORTED_MODULE_2__.format)(new Date(), \"EEEE, d 'de' MMMM 'de' yyyy\", {\n        locale: date_fns_locale__WEBPACK_IMPORTED_MODULE_3__.es\n    });\n    // Capitalizar primera letra\n    const formattedDate = currentDate.charAt(0).toUpperCase() + currentDate.slice(1);\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"header\", {\n        className: \"sticky top-0 z-30 bg-slate-900/95 backdrop-blur-sm border-b border-slate-800\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"flex items-center justify-between h-16 px-4 md:px-6\",\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-center gap-4\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: onMenuClick,\n                            className: \"lg:hidden p-2 -ml-2 text-slate-400 hover:text-slate-200 hover:bg-slate-800 rounded-lg transition-colors\",\n                            \"aria-label\": \"Abrir men\\xfa\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Menu_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                className: \"w-6 h-6\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                                lineNumber: 32,\n                                columnNumber: 13\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                            lineNumber: 27,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center gap-3\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"lg:hidden\",\n                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_Logo__WEBPACK_IMPORTED_MODULE_1__.Logo, {\n                                        size: \"sm\",\n                                        showText: false\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                                        lineNumber: 37,\n                                        columnNumber: 15\n                                    }, this)\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                                    lineNumber: 36,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h1\", {\n                                    className: \"text-lg md:text-xl font-semibold text-slate-100\",\n                                    children: title\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                                    lineNumber: 39,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                            lineNumber: 35,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                    lineNumber: 26,\n                    columnNumber: 9\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-center gap-4\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"hidden md:flex items-center gap-2\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_Logo__WEBPACK_IMPORTED_MODULE_1__.Logo, {\n                                size: \"sm\",\n                                showText: true\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                                lineNumber: 48,\n                                columnNumber: 13\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                            lineNumber: 47,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"time\", {\n                            className: \"text-sm text-slate-400 hidden sm:block\",\n                            children: formattedDate\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                            lineNumber: 50,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n                    lineNumber: 46,\n                    columnNumber: 9\n                }, this)\n            ]\n        }, void 0, true, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n            lineNumber: 24,\n            columnNumber: 7\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Header.tsx\",\n        lineNumber: 23,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2xheW91dC9IZWFkZXIudHN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBRW9DO0FBQ0Y7QUFDRztBQUNQO0FBT3ZCLFNBQVNJLE9BQU8sRUFBRUMsV0FBVyxFQUFFQyxLQUFLLEVBQWU7SUFDeEQsTUFBTUMsY0FBY04sOEVBQU1BLENBQUMsSUFBSU8sUUFBUSwrQkFBK0I7UUFDcEVDLFFBQVFQLCtDQUFFQTtJQUNaO0lBRUEsNEJBQTRCO0lBQzVCLE1BQU1RLGdCQUNKSCxZQUFZSSxNQUFNLENBQU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XY+XG4gICAgICA8L2Rpdj5cbiAgICA8L2hlYWRlcj5cbiAgKTtcbn1cbiJdLCJuYW1lcyI6WyJNZW51IiwiZm9ybWF0IiwiZXMiLCJMb2dvIiwiSGVhZGVyIiwib25NZW51Q2xpY2siLCJ0aXRsZSIsImN1cnJlbnREYXRlIiwiRGF0ZSIsImxvY2FsZSIsImZvcm1hdHRlZERhdGUiLCJjaGFyQXQiLCJ0b1VwcGVyQ2FzZSIsInNsaWNlIiwiaGVhZGVyIiwiY2xhc3NOYW1lIiwiZGl2IiwiYnV0dG9uIiwib25DbGljayIsImFyaWEtbGFiZWwiLCJzaXplIiwic2hvd1RleHQiLCJoMSIsInRpbWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./components/layout/Header.tsx\n");

/***/ }),

/***/ "(ssr)/./components/layout/Logo.tsx":
/*!************************************!*\
  !*** ./components/layout/Logo.tsx ***!
  \************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Logo: () => (/* binding */ Logo)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! __barrel_optimize__?names=Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/wallet.js\");\n\n\nconst sizeMap = {\n    sm: {\n        icon: 24,\n        text: \"text-lg\"\n    },\n    md: {\n        icon: 32,\n        text: \"text-xl\"\n    },\n    lg: {\n        icon: 40,\n        text: \"text-2xl\"\n    }\n};\nfunction Logo({ size = \"md\", showText = true }) {\n    const { icon, text } = sizeMap[size];\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"flex items-center gap-2\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex items-center justify-center\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n                    className: \"text-emerald-500\",\n                    size: icon,\n                    strokeWidth: 2\n                }, void 0, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Logo.tsx\",\n                    lineNumber: 29,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Logo.tsx\",\n                lineNumber: 28,\n                columnNumber: 7\n            }, this),\n            showText && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                className: `font-bold text-slate-100 ${text}`,\n                children: \"Finanzas\"\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Logo.tsx\",\n                lineNumber: 32,\n                columnNumber: 9\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Logo.tsx\",\n        lineNumber: 27,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL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wID0ge1xuICBzbToge1xuICAgIGljb246IDI0LFxuICAgIHRleHQ6ICd0ZXh0LWxnJyxcbiAgfSxcbiAgbWQ6IHtcbiAgICBpY29uOiAzMixcbiAgICB0ZXh0OiAndGV4dC14bCcsXG4gIH0sXG4gIGxnOiB7XG4gICAgaWNvbjogNDAsXG4gICAgdGV4dDogJ3RleHQtMnhsJyxcbiAgfSxcbn07XG5cbmV4cG9ydCBmdW5jdGlvbiBMb2dvKHsgc2l6ZSA9ICdtZCcsIHNob3dUZXh0ID0gdHJ1ZSB9OiBMb2dvUHJvcHMpIHtcbiAgY29uc3QgeyBpY29uLCB0ZXh0IH0gPSBzaXplTWFwW3NpemVdO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdiBjbGFzc05hbWU9XCJmbGV4IGl0ZW1zLWNlbnRlciBnYXAtMlwiPlxuICAgICAgPGRpdiBjbGFzc05hbWU9XCJmbGV4IGl0ZW1zLWNlbnRlciBqdXN0aWZ5LWNlbnRlclwiPlxuICAgICAgICA8V2FsbGV0IGNsYXNzTmFtZT1cInRleHQtZW1lcmFsZC01MDBcIiBzaXplPXtpY29ufSBzdHJva2VXaWR0aD17Mn0gLz5cbiAgICAgIDwvZGl2PlxuICAgICAge3Nob3dUZXh0ICYmIChcbiAgICAgICAgPHNwYW4gY2xhc3NOYW1lPXtgZm9udC1ib2xkIHRleHQtc2xhdGUtMTAwICR7dGV4dH1gfT5GaW5hbnphczwvc3Bhbj5cbiAgICAgICl9XG4gICAgPC9kaXY+XG4gICk7XG59XG4iXSwibmFtZXMiOlsiV2FsbGV0Iiwic2l6ZU1hcCIsInNtIiwiaWNvbiIsInRleHQiLCJtZCIsImxnIiwiTG9nbyIsInNpemUiLCJzaG93VGV4dCIsImRpdiIsImNsYXNzTmFtZSIsInN0cm9rZVdpZHRoIiwic3BhbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./components/layout/Logo.tsx\n");

/***/ }),

/***/ "(ssr)/./components/layout/MobileNav.tsx":
/*!*****************************************!*\
  !*** ./components/layout/MobileNav.tsx ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   MobileNav: () => (/* binding */ MobileNav)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/layout-dashboard.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/wallet.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/credit-card.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/piggy-bank.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,PiggyBank,Wallet!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/bell.js\");\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/link */ \"(ssr)/./node_modules/next/dist/api/link.js\");\n/* harmony import */ var next_navigation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/navigation */ \"(ssr)/./node_modules/next/dist/api/navigation.js\");\n/* __next_internal_client_entry_do_not_use__ MobileNav auto */ \n\n\n\nconst navigationItems = [\n    {\n        name: \"Dashboard\",\n        href: \"/\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n    },\n    {\n        name: \"Deudas\",\n        href: \"/debts\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n    },\n    {\n        name: \"Tarjetas\",\n        href: \"/cards\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n    },\n    {\n        name: \"Presupuesto\",\n        href: \"/budget\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n    },\n    {\n        name: \"Alertas\",\n        href: \"/alerts\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_PiggyBank_Wallet_lucide_react__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n        hasBadge: true\n    }\n];\nfunction MobileNav({ unreadAlertsCount = 0 }) {\n    const pathname = (0,next_navigation__WEBPACK_IMPORTED_MODULE_2__.usePathname)();\n    const isActive = (href)=>{\n        if (href === \"/\") {\n            return pathname === \"/\";\n        }\n        return pathname.startsWith(href);\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"nav\", {\n        className: \"fixed bottom-0 left-0 right-0 z-40 bg-slate-900 border-t border-slate-800 lg:hidden\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"ul\", {\n            className: \"flex items-center justify-around h-16\",\n            children: navigationItems.map((item)=>{\n                const active = isActive(item.href);\n                const Icon = item.icon;\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                    className: \"flex-1\",\n                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_link__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n                        href: item.href,\n                        className: `\n                  flex flex-col items-center justify-center gap-1 py-2\n                  transition-colors relative\n                  ${active ? \"text-emerald-500\" : \"text-slate-400 hover:text-slate-300\"}\n                `,\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"relative\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Icon, {\n                                        className: \"w-6 h-6\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n                                        lineNumber: 57,\n                                        columnNumber: 19\n                                    }, this),\n                                    item.hasBadge && unreadAlertsCount > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: \"absolute -top-1 -right-1 flex items-center justify-center min-w-[16px] h-4 px-1 text-[10px] font-semibold bg-red-500 text-white rounded-full\",\n                                        children: unreadAlertsCount > 99 ? \"99+\" : unreadAlertsCount\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n                                        lineNumber: 59,\n                                        columnNumber: 21\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n                                lineNumber: 56,\n                                columnNumber: 17\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"text-[10px] font-medium\",\n                                children: item.name\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n                                lineNumber: 64,\n                                columnNumber: 17\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n                        lineNumber: 44,\n                        columnNumber: 15\n                    }, this)\n                }, item.name, false, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n                    lineNumber: 43,\n                    columnNumber: 13\n                }, this);\n            })\n        }, void 0, false, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n            lineNumber: 37,\n            columnNumber: 7\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\MobileNav.tsx\",\n        lineNumber: 36,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/layout/MobileNav.tsx\n");

/***/ }),

/***/ "(ssr)/./components/layout/PageContainer.tsx":
/*!*********************************************!*\
  !*** ./components/layout/PageContainer.tsx ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   PageContainer: () => (/* binding */ PageContainer)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction PageContainer({ children, title }) {\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"main\", {\n        className: \"min-h-screen bg-slate-950\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"max-w-7xl mx-auto p-4 md:p-6 lg:p-8 pb-24 lg:pb-8\",\n            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"space-y-6\",\n                children: children\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\PageContainer.tsx\",\n                lineNumber: 12,\n                columnNumber: 9\n            }, this)\n        }, void 0, false, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\PageContainer.tsx\",\n            lineNumber: 11,\n            columnNumber: 7\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\PageContainer.tsx\",\n        lineNumber: 10,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2xheW91dC9QYWdlQ29udGFpbmVyLnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBT08sU0FBU0EsY0FBYyxFQUFFQyxRQUFRLEVBQUVDLEtBQUssRUFBc0I7SUFDbkUscUJBQ0UsOERBQUNDO1FBQUtDLFdBQVU7a0JBQ2QsNEVBQUNDO1lBQUlELFdBQVU7c0JBQ2IsNEVBQUNDO2dCQUFJRCxXQUFVOzBCQUNaSDs7Ozs7Ozs7Ozs7Ozs7OztBQUtYIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vZmluYW56YXMvLi9jb21wb25lbnRzL2xheW91dC9QYWdlQ29udGFpbmVyLnRzeD8zMDliIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0JztcblxuaW50ZXJmYWNlIFBhZ2VDb250YWluZXJQcm9wcyB7XG4gIGNoaWxkcmVuOiBSZWFjdE5vZGU7XG4gIHRpdGxlOiBzdHJpbmc7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBQYWdlQ29udGFpbmVyKHsgY2hpbGRyZW4sIHRpdGxlIH06IFBhZ2VDb250YWluZXJQcm9wcykge1xuICByZXR1cm4gKFxuICAgIDxtYWluIGNsYXNzTmFtZT1cIm1pbi1oLXNjcmVlbiBiZy1zbGF0ZS05NTBcIj5cbiAgICAgIDxkaXYgY2xhc3NOYW1lPVwibWF4LXctN3hsIG14LWF1dG8gcC00IG1kOnAtNiBsZzpwLTggcGItMjQgbGc6cGItOFwiPlxuICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInNwYWNlLXktNlwiPlxuICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L21haW4+XG4gICk7XG59XG4iXSwibmFtZXMiOlsiUGFnZUNvbnRhaW5lciIsImNoaWxkcmVuIiwidGl0bGUiLCJtYWluIiwiY2xhc3NOYW1lIiwiZGl2Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./components/layout/PageContainer.tsx\n");

/***/ }),

/***/ "(ssr)/./components/layout/Section.tsx":
/*!***************************************!*\
  !*** ./components/layout/Section.tsx ***!
  \***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Section: () => (/* binding */ Section)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction Section({ title, children, action }) {\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"section\", {\n        className: \"bg-slate-900 rounded-lg border border-slate-800\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex items-center justify-between px-4 py-3 md:px-6 md:py-4 border-b border-slate-800\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n                        className: \"text-base md:text-lg font-semibold text-slate-100\",\n                        children: title\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Section.tsx\",\n                        lineNumber: 18,\n                        columnNumber: 9\n                    }, this),\n                    action && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        onClick: action.onClick,\n                        className: \"px-3 py-1.5 text-sm font-medium text-emerald-400 bg-emerald-500/10 hover:bg-emerald-500/20 border border-emerald-500/20 rounded-lg transition-colors\",\n                        children: action.label\n                    }, void 0, false, {\n                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Section.tsx\",\n                        lineNumber: 22,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Section.tsx\",\n                lineNumber: 17,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"p-4 md:p-6\",\n                children: children\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Section.tsx\",\n                lineNumber: 30,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Section.tsx\",\n        lineNumber: 16,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2xheW91dC9TZWN0aW9uLnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBYU8sU0FBU0EsUUFBUSxFQUFFQyxLQUFLLEVBQUVDLFFBQVEsRUFBRUMsTUFBTSxFQUFnQjtJQUMvRCxxQkFDRSw4REFBQ0M7UUFBUUMsV0FBVTs7MEJBQ2pCLDhEQUFDQztnQkFBSUQsV0FBVTs7a0NBQ2IsOERBQUNFO3dCQUFHRixXQUFVO2tDQUNYSjs7Ozs7O29CQUVGRSx3QkFDQyw4REFBQ0s7d0JBQ0NDLFNBQVNOLE9BQU9NLE9BQU87d0JBQ3ZCSixXQUFVO2tDQUVURixPQUFPTyxLQUFLOzs7Ozs7Ozs7Ozs7MEJBSW5CLDhEQUFDSjtnQkFBSUQsV0FBVTswQkFDWkg7Ozs7Ozs7Ozs7OztBQUlUIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vZmluYW56YXMvLi9jb21wb25lbnRzL2xheW91dC9TZWN0aW9uLnRzeD9lZjE1Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0JztcblxuaW50ZXJmYWNlIFNlY3Rpb25BY3Rpb24ge1xuICBsYWJlbDogc3RyaW5nO1xuICBvbkNsaWNrOiAoKSA9PiB2b2lkO1xufVxuXG5pbnRlcmZhY2UgU2VjdGlvblByb3BzIHtcbiAgdGl0bGU6IHN0cmluZztcbiAgY2hpbGRyZW46IFJlYWN0Tm9kZTtcbiAgYWN0aW9uPzogU2VjdGlvbkFjdGlvbjtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIFN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IsInRpdGxlIiwiY2hpbGRyZW4iLCJhY3Rpb24iLCJzZWN0aW9uIiwiY2xhc3NOYW1lIiwiZGl2IiwiaDIiLCJidXR0b24iLCJvbkNsaWNrIiwibGFiZWwiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./components/layout/Section.tsx\n");

/***/ }),

/***/ "(ssr)/./components/layout/Sidebar.tsx":
/*!***************************************!*\
  !*** ./components/layout/Sidebar.tsx ***!
  \***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Sidebar: () => (/* binding */ Sidebar)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/layout-dashboard.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/wallet.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/credit-card.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/piggy-bank.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/lightbulb.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/settings.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/bell.js\");\n/* harmony import */ var _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! __barrel_optimize__?names=Bell,CreditCard,LayoutDashboard,Lightbulb,PiggyBank,Settings,Wallet,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/x.js\");\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/link */ \"(ssr)/./node_modules/next/dist/api/link.js\");\n/* harmony import */ var next_navigation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/navigation */ \"(ssr)/./node_modules/next/dist/api/navigation.js\");\n/* harmony import */ var _Logo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Logo */ \"(ssr)/./components/layout/Logo.tsx\");\n/* __next_internal_client_entry_do_not_use__ Sidebar auto */ \n\n\n\n\nconst navigationItems = [\n    {\n        name: \"Dashboard\",\n        href: \"/\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n    },\n    {\n        name: \"Deudas\",\n        href: \"/debts\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n    },\n    {\n        name: \"Tarjetas\",\n        href: \"/cards\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n    },\n    {\n        name: \"Presupuesto\",\n        href: \"/budget\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n    },\n    {\n        name: \"Servicios\",\n        href: \"/services\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n    },\n    {\n        name: \"Configuraci\\xf3n\",\n        href: \"/settings\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n    },\n    {\n        name: \"Alertas\",\n        href: \"/alerts\",\n        icon: _barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n        hasBadge: true\n    }\n];\nfunction Sidebar({ isOpen, onClose, unreadAlertsCount = 0 }) {\n    const pathname = (0,next_navigation__WEBPACK_IMPORTED_MODULE_2__.usePathname)();\n    const isActive = (href)=>{\n        if (href === \"/\") {\n            return pathname === \"/\";\n        }\n        return pathname.startsWith(href);\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n        children: [\n            isOpen && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"fixed inset-0 bg-black/50 z-40 lg:hidden\",\n                onClick: onClose,\n                \"aria-hidden\": \"true\"\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                lineNumber: 51,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"aside\", {\n                className: `\n          fixed top-0 left-0 z-50 h-full w-64 bg-slate-900 border-r border-slate-800\n          transform transition-transform duration-300 ease-in-out\n          lg:translate-x-0 lg:static lg:h-screen\n          ${isOpen ? \"translate-x-0\" : \"-translate-x-full\"}\n        `,\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex flex-col h-full\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center justify-between p-4 border-b border-slate-800\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_Logo__WEBPACK_IMPORTED_MODULE_3__.Logo, {\n                                    size: \"md\",\n                                    showText: true\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                    lineNumber: 70,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                    onClick: onClose,\n                                    className: \"lg:hidden p-2 text-slate-400 hover:text-slate-200 hover:bg-slate-800 rounded-lg transition-colors\",\n                                    \"aria-label\": \"Cerrar men\\xfa\",\n                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Bell_CreditCard_LayoutDashboard_Lightbulb_PiggyBank_Settings_Wallet_X_lucide_react__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n                                        className: \"w-5 h-5\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                        lineNumber: 76,\n                                        columnNumber: 15\n                                    }, this)\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                    lineNumber: 71,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                            lineNumber: 69,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"nav\", {\n                            className: \"flex-1 overflow-y-auto py-4 px-3\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"ul\", {\n                                className: \"space-y-1\",\n                                children: navigationItems.map((item)=>{\n                                    const active = isActive(item.href);\n                                    const Icon = item.icon;\n                                    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_link__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n                                            href: item.href,\n                                            onClick: onClose,\n                                            className: `\n                        flex items-center gap-3 px-3 py-2.5 rounded-lg text-sm font-medium\n                        transition-colors relative\n                        ${active ? \"bg-slate-800 text-emerald-400 border-l-2 border-emerald-500\" : \"text-slate-300 hover:bg-slate-800 hover:text-slate-100\"}\n                      `,\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Icon, {\n                                                    className: \"w-5 h-5 flex-shrink-0\"\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                                    lineNumber: 101,\n                                                    columnNumber: 23\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                    className: \"flex-1\",\n                                                    children: item.name\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                                    lineNumber: 102,\n                                                    columnNumber: 23\n                                                }, this),\n                                                item.hasBadge && unreadAlertsCount > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                    className: \"inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-xs font-semibold bg-red-500 text-white rounded-full\",\n                                                    children: unreadAlertsCount > 99 ? \"99+\" : unreadAlertsCount\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                                    lineNumber: 104,\n                                                    columnNumber: 25\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                            lineNumber: 89,\n                                            columnNumber: 21\n                                        }, this)\n                                    }, item.name, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                        lineNumber: 88,\n                                        columnNumber: 19\n                                    }, this);\n                                })\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                lineNumber: 82,\n                                columnNumber: 13\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                            lineNumber: 81,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"p-4 border-t border-slate-800\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-xs text-slate-500 text-center\",\n                                children: [\n                                    \"Finanzas v\",\n                                    process.env.NEXT_PUBLIC_APP_VERSION || \"1.0.0\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                                lineNumber: 117,\n                                columnNumber: 13\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                            lineNumber: 116,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                    lineNumber: 67,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\layout\\\\Sidebar.tsx\",\n                lineNumber: 59,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/layout/Sidebar.tsx\n");

/***/ }),

/***/ "(ssr)/./components/layout/index.ts":
/*!************************************!*\
  !*** ./components/layout/index.ts ***!
  \************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Header: () => (/* reexport safe */ _Header__WEBPACK_IMPORTED_MODULE_1__.Header),\n/* harmony export */   Logo: () => (/* reexport safe */ _Logo__WEBPACK_IMPORTED_MODULE_3__.Logo),\n/* harmony export */   MobileNav: () => (/* reexport safe */ _MobileNav__WEBPACK_IMPORTED_MODULE_2__.MobileNav),\n/* harmony export */   PageContainer: () => (/* reexport safe */ _PageContainer__WEBPACK_IMPORTED_MODULE_4__.PageContainer),\n/* harmony export */   Section: () => (/* reexport safe */ _Section__WEBPACK_IMPORTED_MODULE_5__.Section),\n/* harmony export */   Sidebar: () => (/* reexport safe */ _Sidebar__WEBPACK_IMPORTED_MODULE_0__.Sidebar)\n/* harmony export */ });\n/* harmony import */ var _Sidebar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Sidebar */ \"(ssr)/./components/layout/Sidebar.tsx\");\n/* harmony import */ var _Header__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Header */ \"(ssr)/./components/layout/Header.tsx\");\n/* harmony import */ var _MobileNav__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MobileNav */ \"(ssr)/./components/layout/MobileNav.tsx\");\n/* harmony import */ var _Logo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Logo */ \"(ssr)/./components/layout/Logo.tsx\");\n/* harmony import */ var _PageContainer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./PageContainer */ \"(ssr)/./components/layout/PageContainer.tsx\");\n/* harmony import */ var _Section__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Section */ \"(ssr)/./components/layout/Section.tsx\");\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9jb21wb25lbnRzL2xheW91dC9pbmRleC50cyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBb0M7QUFDRjtBQUNNO0FBQ1Y7QUFDa0I7QUFDWiIsInNvdXJjZXMiOlsid2VicGFjazovL2ZpbmFuemFzLy4vY29tcG9uZW50cy9sYXlvdXQvaW5kZXgudHM/ODdlOCJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBTaWRlYmFyIH0gZnJvbSAnLi9TaWRlYmFyJztcbmV4cG9ydCB7IEhlYWRlciB9IGZyb20gJy4vSGVhZGVyJztcbmV4cG9ydCB7IE1vYmlsZU5hdiB9IGZyb20gJy4vTW9iaWxlTmF2JztcbmV4cG9ydCB7IExvZ28gfSBmcm9tICcuL0xvZ28nO1xuZXhwb3J0IHsgUGFnZUNvbnRhaW5lciB9IGZyb20gJy4vUGFnZUNvbnRhaW5lcic7XG5leHBvcnQgeyBTZWN0aW9uIH0gZnJvbSAnLi9TZWN0aW9uJztcbiJdLCJuYW1lcyI6WyJTaWRlYmFyIiwiSGVhZGVyIiwiTW9iaWxlTmF2IiwiTG9nbyIsIlBhZ2VDb250YWluZXIiLCJTZWN0aW9uIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./components/layout/index.ts\n");

/***/ }),

/***/ "(ssr)/./components/modals/AddCardModal.tsx":
/*!********************************************!*\
  !*** ./components/modals/AddCardModal.tsx ***!
  \********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AddCardModal: () => (/* binding */ AddCardModal)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _barrel_optimize_names_CreditCard_Palette_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=CreditCard,Palette,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/credit-card.js\");\n/* harmony import */ var _barrel_optimize_names_CreditCard_Palette_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=CreditCard,Palette,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/x.js\");\n/* harmony import */ var _barrel_optimize_names_CreditCard_Palette_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=CreditCard,Palette,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/palette.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ AddCardModal auto */ \n\n\n\n\nconst COLORS = [\n    {\n        name: \"Slate\",\n        value: \"#64748b\"\n    },\n    {\n        name: \"Blue\",\n        value: \"#3b82f6\"\n    },\n    {\n        name: \"Cyan\",\n        value: \"#06b6d4\"\n    },\n    {\n        name: \"Emerald\",\n        value: \"#10b981\"\n    },\n    {\n        name: \"Violet\",\n        value: \"#8b5cf6\"\n    },\n    {\n        name: \"Rose\",\n        value: \"#f43f5e\"\n    },\n    {\n        name: \"Amber\",\n        value: \"#f59e0b\"\n    }\n];\nfunction AddCardModal({ isOpen, onClose }) {\n    const addCreditCard = (0,_lib_store__WEBPACK_IMPORTED_MODULE_2__.useFinanzasStore)((state)=>state.addCreditCard);\n    const [name, setName] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [lastFour, setLastFour] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [limit, setLimit] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [closingDay, setClosingDay] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [dueDay, setDueDay] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [selectedColor, setSelectedColor] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(COLORS[1].value);\n    if (!isOpen) return null;\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        if (!name || !limit || !closingDay || !dueDay) return;\n        addCreditCard({\n            name,\n            lastFourDigits: lastFour || \"****\",\n            closingDay: parseInt(closingDay),\n            dueDay: parseInt(dueDay),\n            currentBalance: 0,\n            creditLimit: parseFloat(limit),\n            color: selectedColor\n        });\n        // Reset\n        setName(\"\");\n        setLastFour(\"\");\n        setLimit(\"\");\n        setClosingDay(\"\");\n        setDueDay(\"\");\n        setSelectedColor(COLORS[1].value);\n        onClose();\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm p-4 animate-in fade-in duration-200\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"w-full max-w-lg rounded-xl bg-slate-900 border border-slate-800 shadow-2xl overflow-hidden scale-100 animate-in zoom-in-95 duration-200\",\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-center justify-between p-6 border-b border-slate-800\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n                            className: \"text-xl font-semibold text-white flex items-center gap-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CreditCard_Palette_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                    className: \"text-cyan-500\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 68,\n                                    columnNumber: 25\n                                }, this),\n                                \" Nueva Tarjeta\"\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                            lineNumber: 67,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: onClose,\n                            className: \"text-slate-400 hover:text-white transition-colors\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CreditCard_Palette_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                size: 20\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                lineNumber: 71,\n                                columnNumber: 25\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                            lineNumber: 70,\n                            columnNumber: 21\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                    lineNumber: 66,\n                    columnNumber: 17\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n                    onSubmit: handleSubmit,\n                    className: \"p-6 space-y-5\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"grid grid-cols-3 gap-4\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"col-span-2 space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                            children: \"Nombre Banco / Tarjeta\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 80,\n                                            columnNumber: 29\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"text\",\n                                            placeholder: \"Ej: Visa Santander\",\n                                            value: name,\n                                            onChange: (e)=>setName(e.target.value),\n                                            className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none\",\n                                            required: true,\n                                            autoFocus: true\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 81,\n                                            columnNumber: 29\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 79,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"col-span-1 space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                            children: \"Ult. 4 Dig.\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 92,\n                                            columnNumber: 29\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"text\",\n                                            maxLength: 4,\n                                            placeholder: \"1234\",\n                                            value: lastFour,\n                                            onChange: (e)=>setLastFour(e.target.value),\n                                            className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none text-center tracking-widest\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 93,\n                                            columnNumber: 29\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 91,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                            lineNumber: 78,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                    children: \"L\\xedmite de Cr\\xe9dito\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 106,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"relative\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                            className: \"absolute left-4 top-1/2 -translate-y-1/2 text-slate-400 font-semibold\",\n                                            children: \"$\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 108,\n                                            columnNumber: 29\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"number\",\n                                            step: \"0.01\",\n                                            placeholder: \"0.00\",\n                                            value: limit,\n                                            onChange: (e)=>setLimit(e.target.value),\n                                            className: \"w-full pl-8 pr-4 py-3 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white text-lg font-mono outline-none\",\n                                            required: true\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 109,\n                                            columnNumber: 29\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 107,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                            lineNumber: 105,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"grid grid-cols-2 gap-4\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                            children: \"D\\xeda Cierre\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 124,\n                                            columnNumber: 29\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"relative\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                    type: \"number\",\n                                                    min: \"1\",\n                                                    max: \"31\",\n                                                    placeholder: \"20\",\n                                                    value: closingDay,\n                                                    onChange: (e)=>setClosingDay(e.target.value),\n                                                    className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none\",\n                                                    required: true\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                                    lineNumber: 126,\n                                                    columnNumber: 33\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                    className: \"absolute right-4 top-1/2 -translate-y-1/2 text-slate-500 text-sm\",\n                                                    children: \"del mes\"\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                                    lineNumber: 136,\n                                                    columnNumber: 33\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 125,\n                                            columnNumber: 29\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 123,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                            children: \"D\\xeda Vencimiento\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 142,\n                                            columnNumber: 29\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"relative\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                    type: \"number\",\n                                                    min: \"1\",\n                                                    max: \"31\",\n                                                    placeholder: \"5\",\n                                                    value: dueDay,\n                                                    onChange: (e)=>setDueDay(e.target.value),\n                                                    className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none\",\n                                                    required: true\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                                    lineNumber: 144,\n                                                    columnNumber: 33\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                    className: \"absolute right-4 top-1/2 -translate-y-1/2 text-slate-500 text-sm\",\n                                                    children: \"del mes\"\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                                    lineNumber: 154,\n                                                    columnNumber: 33\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 143,\n                                            columnNumber: 29\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 141,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                            lineNumber: 121,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider flex items-center gap-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CreditCard_Palette_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                            size: 12\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 162,\n                                            columnNumber: 29\n                                        }, this),\n                                        \" Color de Tarjeta\"\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 161,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex gap-3 overflow-x-auto pb-2\",\n                                    children: COLORS.map((color)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                            type: \"button\",\n                                            onClick: ()=>setSelectedColor(color.value),\n                                            className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_3__.cn)(\"w-8 h-8 rounded-full border-2 transition-all\", selectedColor === color.value ? \"border-white scale-110 shadow-lg\" : \"border-transparent opacity-70 hover:opacity-100 hover:scale-105\"),\n                                            style: {\n                                                backgroundColor: color.value\n                                            },\n                                            title: color.name\n                                        }, color.value, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                            lineNumber: 166,\n                                            columnNumber: 33\n                                        }, this))\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                    lineNumber: 164,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                            lineNumber: 160,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"pt-2\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"submit\",\n                                className: \"w-full py-3 bg-cyan-500 hover:bg-cyan-400 text-white font-semibold rounded-lg shadow-lg shadow-cyan-500/20 transition-all active:scale-[0.98]\",\n                                children: \"Crear Tarjeta\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                                lineNumber: 184,\n                                columnNumber: 25\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                            lineNumber: 183,\n                            columnNumber: 21\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n                    lineNumber: 75,\n                    columnNumber: 17\n                }, this)\n            ]\n        }, void 0, true, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n            lineNumber: 63,\n            columnNumber: 13\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddCardModal.tsx\",\n        lineNumber: 62,\n        columnNumber: 9\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/modals/AddCardModal.tsx\n");

/***/ }),

/***/ "(ssr)/./components/modals/AddDebtModal.tsx":
/*!********************************************!*\
  !*** ./components/modals/AddDebtModal.tsx ***!
  \********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AddDebtModal: () => (/* binding */ AddDebtModal)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CheckCircle2,FileText,Tag,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/x.js\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CheckCircle2,FileText,Tag,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/tag.js\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CheckCircle2,FileText,Tag,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/calendar.js\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CheckCircle2,FileText,Tag,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/circle-check.js\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CheckCircle2,FileText,Tag,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/file-text.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ AddDebtModal auto */ \n\n\n\n\nfunction AddDebtModal({ isOpen, onClose }) {\n    const [activeTab, setActiveTab] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"variable\");\n    const [name, setName] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [amount, setAmount] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [dateStr, setDateStr] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(new Date().toISOString().split(\"T\")[0]) // For variable: YYYY-MM-DD\n    ;\n    const [dueDay, setDueDay] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"1\") // For fixed: 1-31\n    ;\n    const [categoryFixed, setCategoryFixed] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"housing\");\n    const [categoryVariable, setCategoryVariable] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"shopping\");\n    const [isAutoDebit, setIsAutoDebit] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [notes, setNotes] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const addFixedDebt = (0,_lib_store__WEBPACK_IMPORTED_MODULE_2__.useFinanzasStore)((state)=>state.addFixedDebt);\n    const addVariableDebt = (0,_lib_store__WEBPACK_IMPORTED_MODULE_2__.useFinanzasStore)((state)=>state.addVariableDebt);\n    if (!isOpen) return null;\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        if (!name || !amount) return;\n        const numAmount = parseFloat(amount);\n        if (isNaN(numAmount)) return;\n        if (activeTab === \"fixed\") {\n            addFixedDebt({\n                name,\n                amount: numAmount,\n                dueDay: parseInt(dueDay),\n                category: categoryFixed,\n                isAutoDebit,\n                isPaid: false,\n                notes: notes || undefined\n            });\n        } else {\n            addVariableDebt({\n                name,\n                amount: numAmount,\n                date: new Date(dateStr).toISOString(),\n                category: categoryVariable,\n                isPaid: false,\n                notes: notes || undefined\n            });\n        }\n        // Reset and Close\n        setName(\"\");\n        setAmount(\"\");\n        setNotes(\"\");\n        onClose();\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm p-4 animate-in fade-in duration-200\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"w-full max-w-lg rounded-xl bg-slate-900 border border-slate-800 shadow-2xl overflow-hidden scale-100 animate-in zoom-in-95 duration-200\",\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-center justify-between p-6 border-b border-slate-800\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n                            className: \"text-xl font-semibold text-white\",\n                            children: \"Agregar Gasto / Deuda\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 74,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: onClose,\n                            className: \"text-slate-400 hover:text-white transition-colors\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                size: 20\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                lineNumber: 76,\n                                columnNumber: 25\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 75,\n                            columnNumber: 21\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                    lineNumber: 73,\n                    columnNumber: 17\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex p-1 mx-6 mt-6 bg-slate-800/50 rounded-lg\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: ()=>setActiveTab(\"variable\"),\n                            className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_3__.cn)(\"flex-1 py-2 text-sm font-medium rounded-md transition-all duration-200\", activeTab === \"variable\" ? \"bg-cyan-500 text-white shadow-lg\" : \"text-slate-400 hover:text-white\"),\n                            children: \"Variable (\\xdanico)\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 82,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: ()=>setActiveTab(\"fixed\"),\n                            className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_3__.cn)(\"flex-1 py-2 text-sm font-medium rounded-md transition-all duration-200\", activeTab === \"fixed\" ? \"bg-cyan-500 text-white shadow-lg\" : \"text-slate-400 hover:text-white\"),\n                            children: \"Fijo (Recurrente)\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 91,\n                            columnNumber: 21\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                    lineNumber: 81,\n                    columnNumber: 17\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n                    onSubmit: handleSubmit,\n                    className: \"p-6 space-y-5\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                    children: \"Monto\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 106,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"relative\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                            className: \"absolute left-4 top-1/2 -translate-y-1/2 text-slate-400 font-semibold\",\n                                            children: \"$\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 108,\n                                            columnNumber: 29\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"number\",\n                                            step: \"0.01\",\n                                            placeholder: \"0.00\",\n                                            value: amount,\n                                            onChange: (e)=>setAmount(e.target.value),\n                                            className: \"w-full pl-8 pr-4 py-3 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white text-lg font-mono outline-none transition-all placeholder:text-slate-600\",\n                                            required: true,\n                                            autoFocus: true\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 109,\n                                            columnNumber: 29\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 107,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 105,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                    children: \"Descripci\\xf3n\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 124,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                    type: \"text\",\n                                    placeholder: \"Ej: Supermercado Coto, Netflix, Alquiler\",\n                                    value: name,\n                                    onChange: (e)=>setName(e.target.value),\n                                    className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none transition-all placeholder:text-slate-600\",\n                                    required: true\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 125,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 123,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"grid grid-cols-2 gap-4\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider flex items-center gap-1\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                                    size: 12\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                    lineNumber: 140,\n                                                    columnNumber: 33\n                                                }, this),\n                                                \" Categor\\xeda\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 139,\n                                            columnNumber: 29\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"select\", {\n                                            value: activeTab === \"fixed\" ? categoryFixed : categoryVariable,\n                                            onChange: (e)=>activeTab === \"fixed\" ? setCategoryFixed(e.target.value) : setCategoryVariable(e.target.value),\n                                            className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none appearance-none cursor-pointer\",\n                                            children: activeTab === \"fixed\" ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"housing\",\n                                                        children: \"Vivienda\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 149,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"services\",\n                                                        children: \"Servicios\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 150,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"subscription\",\n                                                        children: \"Suscripciones\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 151,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"other\",\n                                                        children: \"Otro\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 152,\n                                                        columnNumber: 41\n                                                    }, this)\n                                                ]\n                                            }, void 0, true) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"food\",\n                                                        children: \"Comida / Super\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 156,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"shopping\",\n                                                        children: \"Compras\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 157,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"transport\",\n                                                        children: \"Transporte\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 158,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"health\",\n                                                        children: \"Salud\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 159,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"entertainment\",\n                                                        children: \"Entretenimiento\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 160,\n                                                        columnNumber: 41\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                        value: \"other\",\n                                                        children: \"Otro\"\n                                                    }, void 0, false, {\n                                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                        lineNumber: 161,\n                                                        columnNumber: 41\n                                                    }, this)\n                                                ]\n                                            }, void 0, true)\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 142,\n                                            columnNumber: 29\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 138,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider flex items-center gap-1\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                                    size: 12\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                    lineNumber: 170,\n                                                    columnNumber: 33\n                                                }, this),\n                                                \" \",\n                                                activeTab === \"fixed\" ? \"D\\xeda Vencimiento\" : \"Fecha\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 169,\n                                            columnNumber: 29\n                                        }, this),\n                                        activeTab === \"fixed\" ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"relative\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                    type: \"number\",\n                                                    min: \"1\",\n                                                    max: \"31\",\n                                                    value: dueDay,\n                                                    onChange: (e)=>setDueDay(e.target.value),\n                                                    className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none\",\n                                                    required: true\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                    lineNumber: 174,\n                                                    columnNumber: 37\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                    className: \"absolute right-4 top-1/2 -translate-y-1/2 text-slate-500 text-sm\",\n                                                    children: \"del mes\"\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                                    lineNumber: 183,\n                                                    columnNumber: 37\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 173,\n                                            columnNumber: 33\n                                        }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"date\",\n                                            value: dateStr,\n                                            onChange: (e)=>setDateStr(e.target.value),\n                                            className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none [color-scheme:dark]\",\n                                            required: true\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 186,\n                                            columnNumber: 33\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 168,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 135,\n                            columnNumber: 21\n                        }, this),\n                        activeTab === \"fixed\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center gap-2 px-4 py-3 bg-slate-800/30 rounded-lg cursor-pointer\",\n                            onClick: ()=>setIsAutoDebit(!isAutoDebit),\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_3__.cn)(\"w-5 h-5 rounded border flex items-center justify-center transition-colors\", isAutoDebit ? \"bg-cyan-500 border-cyan-500\" : \"border-slate-600 bg-transparent\"),\n                                    children: isAutoDebit && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                        size: 14,\n                                        className: \"text-white\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                        lineNumber: 200,\n                                        columnNumber: 49\n                                    }, this)\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 199,\n                                    columnNumber: 29\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                    className: \"text-sm text-slate-300 select-none\",\n                                    children: \"D\\xe9bito Autom\\xe1tico\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 202,\n                                    columnNumber: 29\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 198,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider flex items-center gap-1\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CheckCircle2_FileText_Tag_X_lucide_react__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                                            size: 12\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                            lineNumber: 209,\n                                            columnNumber: 29\n                                        }, this),\n                                        \" Notas (Opcional)\"\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 208,\n                                    columnNumber: 25\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"textarea\", {\n                                    value: notes,\n                                    onChange: (e)=>setNotes(e.target.value),\n                                    placeholder: \"Detalles adicionales...\",\n                                    className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none min-h-[80px] text-sm resize-none placeholder:text-slate-600\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                    lineNumber: 211,\n                                    columnNumber: 25\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 207,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"pt-2\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"submit\",\n                                className: \"w-full py-3 bg-cyan-500 hover:bg-cyan-400 text-white font-semibold rounded-lg shadow-lg shadow-cyan-500/20 transition-all active:scale-[0.98]\",\n                                children: [\n                                    \"Agregar \",\n                                    activeTab === \"fixed\" ? \"Gasto Fijo\" : \"Gasto\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                                lineNumber: 220,\n                                columnNumber: 25\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                            lineNumber: 219,\n                            columnNumber: 21\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n                    lineNumber: 102,\n                    columnNumber: 17\n                }, this)\n            ]\n        }, void 0, true, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n            lineNumber: 70,\n            columnNumber: 13\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddDebtModal.tsx\",\n        lineNumber: 69,\n        columnNumber: 9\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/modals/AddDebtModal.tsx\n");

/***/ }),

/***/ "(ssr)/./components/modals/AddPaymentModal.tsx":
/*!***********************************************!*\
  !*** ./components/modals/AddPaymentModal.tsx ***!
  \***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AddPaymentModal: () => (/* binding */ AddPaymentModal)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _lib_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/lib/store */ \"(ssr)/./lib/store.ts\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CreditCard,Layers,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/x.js\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CreditCard,Layers,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/credit-card.js\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CreditCard,Layers,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/calendar.js\");\n/* harmony import */ var _barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=Calendar,CreditCard,Layers,X!=!lucide-react */ \"(ssr)/./node_modules/lucide-react/dist/esm/icons/layers.js\");\n/* harmony import */ var _lib_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/lib/utils */ \"(ssr)/./lib/utils.ts\");\n/* __next_internal_client_entry_do_not_use__ AddPaymentModal auto */ \n\n\n\n\nfunction AddPaymentModal({ isOpen, onClose }) {\n    const cards = (0,_lib_store__WEBPACK_IMPORTED_MODULE_2__.useFinanzasStore)((state)=>state.creditCards);\n    const addCardPayment = (0,_lib_store__WEBPACK_IMPORTED_MODULE_2__.useFinanzasStore)((state)=>state.addCardPayment);\n    const [selectedCardId, setSelectedCardId] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(cards[0]?.id || \"\");\n    const [description, setDescription] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [amount, setAmount] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [dateStr, setDateStr] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(new Date().toISOString().split(\"T\")[0]);\n    const [hasInstallments, setHasInstallments] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [installments, setInstallments] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"1\");\n    const [totalInstallments, setTotalInstallments] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"12\");\n    if (!isOpen) return null;\n    // Ensure card selection if cards exist\n    if (!selectedCardId && cards.length > 0) {\n        setSelectedCardId(cards[0].id);\n    }\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        if (!description || !amount || !selectedCardId) return;\n        addCardPayment({\n            cardId: selectedCardId,\n            amount: parseFloat(amount),\n            date: new Date(dateStr).toISOString(),\n            description,\n            installments: hasInstallments ? {\n                current: parseInt(installments),\n                total: parseInt(totalInstallments)\n            } : undefined\n        });\n        // Reset\n        setDescription(\"\");\n        setAmount(\"\");\n        setHasInstallments(false);\n        setInstallments(\"1\");\n        setTotalInstallments(\"12\");\n        onClose();\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm p-4 animate-in fade-in duration-200\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"w-full max-w-lg rounded-xl bg-slate-900 border border-slate-800 shadow-2xl overflow-hidden scale-100 animate-in zoom-in-95 duration-200\",\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-center justify-between p-6 border-b border-slate-800\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n                            className: \"text-xl font-semibold text-white\",\n                            children: \"Registrar Consumo / Pago\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 64,\n                            columnNumber: 21\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: onClose,\n                            className: \"text-slate-400 hover:text-white transition-colors\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                size: 20\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                lineNumber: 66,\n                                columnNumber: 25\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 65,\n                            columnNumber: 21\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                    lineNumber: 63,\n                    columnNumber: 17\n                }, this),\n                cards.length === 0 ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"p-8 text-center space-y-4\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                            className: \"mx-auto text-slate-600 mb-2\",\n                            size: 48\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 72,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                            className: \"text-lg font-medium text-white\",\n                            children: \"No tienes tarjetas registradas\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 73,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                            className: \"text-slate-400\",\n                            children: \"Debes agregar una tarjeta antes de registrar pagos.\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 74,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: onClose,\n                            className: \"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-white rounded-lg transition\",\n                            children: \"Entendido\"\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 75,\n                            columnNumber: 25\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                    lineNumber: 71,\n                    columnNumber: 21\n                }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n                    onSubmit: handleSubmit,\n                    className: \"p-6 space-y-5\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                    children: \"Tarjeta\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 87,\n                                    columnNumber: 29\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"grid grid-cols-1 sm:grid-cols-2 gap-3 max-h-[120px] overflow-y-auto pr-1\",\n                                    children: cards.map((card)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            onClick: ()=>setSelectedCardId(card.id),\n                                            className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_3__.cn)(\"cursor-pointer p-3 rounded-lg border flex items-center gap-3 transition-all\", selectedCardId === card.id ? \"border-cyan-500 bg-cyan-500/10 ring-1 ring-cyan-500\" : \"border-slate-800 bg-slate-950 hover:border-slate-700\"),\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"w-3 h-3 rounded-full\",\n                                                    style: {\n                                                        backgroundColor: card.color\n                                                    }\n                                                }, void 0, false, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                                    lineNumber: 100,\n                                                    columnNumber: 41\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"flex flex-col truncate\",\n                                                    children: [\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                            className: \"text-sm font-medium text-white truncate\",\n                                                            children: card.name\n                                                        }, void 0, false, {\n                                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                                            lineNumber: 102,\n                                                            columnNumber: 45\n                                                        }, this),\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                            className: \"text-xs text-slate-500\",\n                                                            children: [\n                                                                \"**** \",\n                                                                card.lastFourDigits\n                                                            ]\n                                                        }, void 0, true, {\n                                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                                            lineNumber: 103,\n                                                            columnNumber: 45\n                                                        }, this)\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                                    lineNumber: 101,\n                                                    columnNumber: 41\n                                                }, this)\n                                            ]\n                                        }, card.id, true, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 90,\n                                            columnNumber: 37\n                                        }, this))\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 88,\n                                    columnNumber: 29\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 86,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                    children: \"Monto\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 112,\n                                    columnNumber: 29\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"relative\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                            className: \"absolute left-4 top-1/2 -translate-y-1/2 text-slate-400 font-semibold\",\n                                            children: \"$\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 114,\n                                            columnNumber: 33\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"number\",\n                                            step: \"0.01\",\n                                            placeholder: \"0.00\",\n                                            value: amount,\n                                            onChange: (e)=>setAmount(e.target.value),\n                                            className: \"w-full pl-8 pr-4 py-3 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white text-lg font-mono outline-none\",\n                                            required: true,\n                                            autoFocus: true\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 115,\n                                            columnNumber: 33\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 113,\n                                    columnNumber: 29\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 111,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                    children: \"Descripci\\xf3n\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 130,\n                                    columnNumber: 29\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                    type: \"text\",\n                                    placeholder: \"Ej: Cena McDonalds, Compra ML\",\n                                    value: description,\n                                    onChange: (e)=>setDescription(e.target.value),\n                                    className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none\",\n                                    required: true\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 131,\n                                    columnNumber: 29\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 129,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"text-xs font-medium text-slate-400 uppercase tracking-wider flex items-center gap-1\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                            size: 12\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 144,\n                                            columnNumber: 33\n                                        }, this),\n                                        \" Fecha\"\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 143,\n                                    columnNumber: 29\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                    type: \"date\",\n                                    value: dateStr,\n                                    onChange: (e)=>setDateStr(e.target.value),\n                                    className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 text-white outline-none [color-scheme:dark]\",\n                                    required: true\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 146,\n                                    columnNumber: 29\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 142,\n                            columnNumber: 25\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center gap-2 px-4 py-3 bg-slate-800/30 rounded-lg cursor-pointer\",\n                            onClick: ()=>setHasInstallments(!hasInstallments),\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: (0,_lib_utils__WEBPACK_IMPORTED_MODULE_3__.cn)(\"w-5 h-5 rounded border flex items-center justify-center transition-colors\", hasInstallments ? \"bg-cyan-500 border-cyan-500\" : \"border-slate-600 bg-transparent\"),\n                                    children: hasInstallments && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Calendar_CreditCard_Layers_X_lucide_react__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                        size: 14,\n                                        className: \"text-white\"\n                                    }, void 0, false, {\n                                        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                        lineNumber: 158,\n                                        columnNumber: 53\n                                    }, this)\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 157,\n                                    columnNumber: 29\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                    className: \"text-sm text-slate-300 select-none\",\n                                    children: \"Es una compra en cuotas\"\n                                }, void 0, false, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 160,\n                                    columnNumber: 29\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 156,\n                            columnNumber: 25\n                        }, this),\n                        hasInstallments && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"grid grid-cols-2 gap-4 animate-in slide-in-from-top-2\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                            children: \"Cuota N\\xb0\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 167,\n                                            columnNumber: 37\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"number\",\n                                            min: \"1\",\n                                            value: installments,\n                                            onChange: (e)=>setInstallments(e.target.value),\n                                            className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg text-white\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 168,\n                                            columnNumber: 37\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 166,\n                                    columnNumber: 33\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"text-xs font-medium text-slate-400 uppercase tracking-wider\",\n                                            children: \"Total Cuotas\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 177,\n                                            columnNumber: 37\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"number\",\n                                            min: \"1\",\n                                            value: totalInstallments,\n                                            onChange: (e)=>setTotalInstallments(e.target.value),\n                                            className: \"w-full px-4 py-2.5 bg-slate-950 border border-slate-800 rounded-lg text-white\"\n                                        }, void 0, false, {\n                                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                            lineNumber: 178,\n                                            columnNumber: 37\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                    lineNumber: 176,\n                                    columnNumber: 33\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 165,\n                            columnNumber: 29\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"pt-2\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"submit\",\n                                className: \"w-full py-3 bg-cyan-500 hover:bg-cyan-400 text-white font-semibold rounded-lg shadow-lg shadow-cyan-500/20 transition-all active:scale-[0.98]\",\n                                children: \"Registrar Pago\"\n                            }, void 0, false, {\n                                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                                lineNumber: 190,\n                                columnNumber: 29\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                            lineNumber: 189,\n                            columnNumber: 25\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n                    lineNumber: 83,\n                    columnNumber: 21\n                }, this)\n            ]\n        }, void 0, true, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n            lineNumber: 60,\n            columnNumber: 13\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\components\\\\modals\\\\AddPaymentModal.tsx\",\n        lineNumber: 59,\n        columnNumber: 9\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./components/modals/AddPaymentModal.tsx\n");

/***/ }),

/***/ "(ssr)/./lib/alerts.ts":
/*!***********************!*\
  !*** ./lib/alerts.ts ***!
  \***********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   calculateCurrentSpending: () => (/* binding */ calculateCurrentSpending),\n/* harmony export */   generateAlerts: () => (/* binding */ generateAlerts),\n/* harmony export */   getCurrentMonthBudget: () => (/* binding */ getCurrentMonthBudget),\n/* harmony export */   getUpcomingCardEvents: () => (/* binding */ getUpcomingCardEvents),\n/* harmony export */   getUpcomingFixedDebts: () => (/* binding */ getUpcomingFixedDebts)\n/* harmony export */ });\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils */ \"(ssr)/./lib/utils.ts\");\n\n/**\n * Obtiene las deudas fijas no pagadas que vencen en los próximos N días\n */ function getUpcomingFixedDebts(fixedDebts, days) {\n    const today = new Date();\n    const currentDay = today.getDate();\n    const currentMonth = today.getMonth();\n    const currentYear = today.getFullYear();\n    return fixedDebts.filter((debt)=>!debt.isPaid).map((debt)=>{\n        // Calcular la fecha de vencimiento para este mes\n        let dueDate = new Date(currentYear, currentMonth, debt.dueDay);\n        // Si ya pasó, calcular para el mes siguiente\n        if (currentDay > debt.dueDay) {\n            dueDate = new Date(currentYear, currentMonth + 1, debt.dueDay);\n        }\n        const daysUntil = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.getDaysUntil)(dueDate);\n        return {\n            debt,\n            daysUntil,\n            dueDate\n        };\n    }).filter(({ daysUntil })=>daysUntil >= 0 && daysUntil <= days).sort((a, b)=>a.daysUntil - b.daysUntil);\n}\n/**\n * Obtiene el presupuesto del mes actual\n */ function getCurrentMonthBudget(monthlyBudgets, month, year) {\n    return monthlyBudgets.find((budget)=>budget.month === month && budget.year === year) || null;\n}\n/**\n * Calcula el gasto actual del mes (deudas fijas + variables no pagadas)\n */ function calculateCurrentSpending(fixedDebts, variableDebts) {\n    const fixedSpending = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.calculateTotalFixedDebts)(fixedDebts);\n    const variableSpending = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.calculateTotalVariableDebts)(variableDebts);\n    return fixedSpending + variableSpending;\n}\n/**\n * Obtiene los eventos próximos de tarjetas (cierre o vencimiento)\n */ function getUpcomingCardEvents(creditCards, days) {\n    const events = [];\n    for (const card of creditCards){\n        // Calcular próximo cierre\n        const closingDate = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.getNextDateByDay)(card.closingDay);\n        const daysUntilClosing = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.getDaysUntil)(closingDate);\n        if (daysUntilClosing >= 0 && daysUntilClosing <= days) {\n            events.push({\n                card,\n                type: \"closing\",\n                daysUntil: daysUntilClosing,\n                date: closingDate\n            });\n        }\n        // Calcular próximo vencimiento\n        const dueDate = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.getNextDateByDay)(card.dueDay);\n        const daysUntilDue = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.getDaysUntil)(dueDate);\n        if (daysUntilDue >= 0 && daysUntilDue <= days) {\n            events.push({\n                card,\n                type: \"due\",\n                daysUntil: daysUntilDue,\n                date: dueDate\n            });\n        }\n    }\n    // Ordenar por días hasta el evento\n    return events.sort((a, b)=>a.daysUntil - b.daysUntil);\n}\n/**\n * Genera alertas de pagos próximos (deudas fijas)\n */ function generatePaymentDueAlerts(fixedDebts) {\n    const upcomingDebts = getUpcomingFixedDebts(fixedDebts, 3);\n    const alerts = [];\n    for (const { debt, daysUntil } of upcomingDebts){\n        const severity = daysUntil <= 1 ? \"danger\" : \"warning\";\n        const daysText = daysUntil === 0 ? \"hoy\" : daysUntil === 1 ? \"ma\\xf1ana\" : `en ${daysUntil} días`;\n        alerts.push({\n            type: \"PAYMENT_DUE\",\n            title: \"Pago pr\\xf3ximo\",\n            message: `'${debt.name}' vence ${daysText}: ${(0,_utils__WEBPACK_IMPORTED_MODULE_0__.formatCurrency)(debt.amount)}`,\n            severity,\n            relatedId: debt.id\n        });\n    }\n    return alerts;\n}\n/**\n * Genera alertas de presupuesto\n */ function generateBudgetAlerts(fixedDebts, variableDebts, monthlyBudgets, currentMonth, currentYear) {\n    const currentBudget = getCurrentMonthBudget(monthlyBudgets, currentMonth, currentYear);\n    if (!currentBudget) {\n        return [];\n    }\n    const totalBudget = currentBudget.fixedExpenses + currentBudget.variableExpenses;\n    if (totalBudget <= 0) {\n        return [];\n    }\n    const currentSpending = calculateCurrentSpending(fixedDebts, variableDebts);\n    const percentageUsed = currentSpending / totalBudget * 100;\n    if (percentageUsed < 80) {\n        return [];\n    }\n    const severity = percentageUsed > 95 ? \"danger\" : \"warning\";\n    return [\n        {\n            type: \"BUDGET_WARNING\",\n            title: \"Presupuesto al l\\xedmite\",\n            message: `Has usado el ${percentageUsed.toFixed(1)}% de tu presupuesto mensual`,\n            severity\n        }\n    ];\n}\n/**\n * Genera alertas de eventos de tarjetas (cierre y vencimiento)\n */ function generateCardAlerts(creditCards) {\n    const events = getUpcomingCardEvents(creditCards, 3);\n    const closingAlerts = [];\n    const dueAlerts = [];\n    for (const event of events){\n        if (event.type === \"closing\") {\n            const daysText = event.daysUntil === 0 ? \"hoy\" : event.daysUntil === 1 ? \"ma\\xf1ana\" : `en ${event.daysUntil} días`;\n            closingAlerts.push({\n                type: \"CARD_CLOSING\",\n                title: \"Cierre de tarjeta pr\\xf3ximo\",\n                message: `Tu tarjeta ${event.card.name} cierra ${daysText}. Balance: ${(0,_utils__WEBPACK_IMPORTED_MODULE_0__.formatCurrency)(event.card.currentBalance)}`,\n                severity: \"info\",\n                relatedId: event.card.id\n            });\n        } else {\n            const severity = event.daysUntil <= 2 ? \"warning\" : \"info\";\n            const daysText = event.daysUntil === 0 ? \"hoy\" : event.daysUntil === 1 ? \"ma\\xf1ana\" : `en ${event.daysUntil} días`;\n            dueAlerts.push({\n                type: \"CARD_DUE\",\n                title: \"Vencimiento de tarjeta\",\n                message: `Vencimiento de ${event.card.name} ${daysText}. Balance: ${(0,_utils__WEBPACK_IMPORTED_MODULE_0__.formatCurrency)(event.card.currentBalance)}`,\n                severity,\n                relatedId: event.card.id\n            });\n        }\n    }\n    return [\n        ...closingAlerts,\n        ...dueAlerts\n    ];\n}\n/**\n * Genera alertas de meta de ahorro\n */ function generateSavingsAlerts(fixedDebts, variableDebts, monthlyBudgets, currentMonth, currentYear) {\n    const currentBudget = getCurrentMonthBudget(monthlyBudgets, currentMonth, currentYear);\n    if (!currentBudget || currentBudget.savingsGoal <= 0) {\n        return [];\n    }\n    const currentSpending = calculateCurrentSpending(fixedDebts, variableDebts);\n    const projectedSavings = currentBudget.totalIncome - currentSpending;\n    if (projectedSavings >= currentBudget.savingsGoal) {\n        return [];\n    }\n    const percentageBelow = (currentBudget.savingsGoal - projectedSavings) / currentBudget.savingsGoal * 100;\n    return [\n        {\n            type: \"SAVINGS_GOAL\",\n            title: \"Meta de ahorro\",\n            message: `Vas ${percentageBelow.toFixed(0)}% por debajo de tu meta de ahorro mensual`,\n            severity: \"info\"\n        }\n    ];\n}\n/**\n * Elimina alertas duplicadas basándose en tipo y relatedId\n */ function deduplicateAlerts(alerts) {\n    const seen = new Set();\n    return alerts.filter((alert)=>{\n        const key = `${alert.type}-${alert.relatedId || \"global\"}`;\n        if (seen.has(key)) {\n            return false;\n        }\n        seen.add(key);\n        return true;\n    });\n}\n/**\n * Genera todas las alertas inteligentes basadas en el estado actual\n */ function generateAlerts(params) {\n    const { fixedDebts, variableDebts, creditCards, monthlyBudgets, currentMonth, currentYear } = params;\n    const allAlerts = [\n        ...generatePaymentDueAlerts(fixedDebts),\n        ...generateBudgetAlerts(fixedDebts, variableDebts, monthlyBudgets, currentMonth, currentYear),\n        ...generateCardAlerts(creditCards),\n        ...generateSavingsAlerts(fixedDebts, variableDebts, monthlyBudgets, currentMonth, currentYear)\n    ];\n    // Eliminar duplicados y ordenar por severidad (danger > warning > info)\n    const uniqueAlerts = deduplicateAlerts(allAlerts);\n    const severityOrder = {\n        danger: 0,\n        warning: 1,\n        info: 2\n    };\n    return uniqueAlerts.sort((a, b)=>severityOrder[a.severity] - severityOrder[b.severity]);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./lib/alerts.ts\n");

/***/ }),

/***/ "(ssr)/./lib/store.ts":
/*!**********************!*\
  !*** ./lib/store.ts ***!
  \**********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useFinanzasStore: () => (/* binding */ useFinanzasStore)\n/* harmony export */ });\n/* harmony import */ var zustand__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! zustand */ \"(ssr)/./node_modules/zustand/esm/react.mjs\");\n/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! zustand/middleware */ \"(ssr)/./node_modules/zustand/esm/middleware.mjs\");\n/* harmony import */ var _store_slices_debtsSlice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store/slices/debtsSlice */ \"(ssr)/./lib/store/slices/debtsSlice.ts\");\n/* harmony import */ var _store_slices_cardsSlice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./store/slices/cardsSlice */ \"(ssr)/./lib/store/slices/cardsSlice.ts\");\n/* harmony import */ var _store_slices_budgetSlice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./store/slices/budgetSlice */ \"(ssr)/./lib/store/slices/budgetSlice.ts\");\n/* harmony import */ var _store_slices_alertsSlice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./store/slices/alertsSlice */ \"(ssr)/./lib/store/slices/alertsSlice.ts\");\n/* harmony import */ var _store_slices_servicesSlice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./store/slices/servicesSlice */ \"(ssr)/./lib/store/slices/servicesSlice.ts\");\n\n\n\n\n\n\n\nconst useFinanzasStore = (0,zustand__WEBPACK_IMPORTED_MODULE_5__.create)()((0,zustand_middleware__WEBPACK_IMPORTED_MODULE_6__.persist)((...a)=>({\n        ...(0,_store_slices_debtsSlice__WEBPACK_IMPORTED_MODULE_0__.createDebtsSlice)(...a),\n        ...(0,_store_slices_cardsSlice__WEBPACK_IMPORTED_MODULE_1__.createCardsSlice)(...a),\n        ...(0,_store_slices_budgetSlice__WEBPACK_IMPORTED_MODULE_2__.createBudgetSlice)(...a),\n        ...(0,_store_slices_alertsSlice__WEBPACK_IMPORTED_MODULE_3__.createAlertsSlice)(...a),\n        ...(0,_store_slices_servicesSlice__WEBPACK_IMPORTED_MODULE_4__.createServicesSlice)(...a)\n    }), {\n    name: \"finanzas-storage\"\n}));\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9saWIvc3RvcmUudHMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBZ0M7QUFDWTtBQUU0QjtBQUNBO0FBQ0c7QUFDQTtBQUVNO0FBTTFFLE1BQU1PLG1CQUFtQlAsK0NBQU1BLEdBQ3BDQywyREFBT0EsQ0FDTCxDQUFDLEdBQUdPLElBQU87UUFDVCxHQUFHTiwwRUFBZ0JBLElBQUlNLEVBQUU7UUFDekIsR0FBR0wsMEVBQWdCQSxJQUFJSyxFQUFFO1FBQ3pCLEdBQUdKLDRFQUFpQkEsSUFBSUksRUFBRTtRQUMxQixHQUFHSCw0RUFBaUJBLElBQUlHLEVBQUU7UUFDMUIsR0FBR0YsZ0ZBQW1CQSxJQUFJRSxFQUFFO0lBQzlCLElBQ0E7SUFDRUMsTUFBTTtBQUdSLElBRUgiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9maW5hbnphcy8uL2xpYi9zdG9yZS50cz9lODQyIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNyZWF0ZSB9IGZyb20gJ3p1c3RhbmQnXG5pbXBvcnQgeyBwZXJzaXN0IH0gZnJvbSAnenVzdGFuZC9taWRkbGV3YXJlJ1xuaW1wb3J0IHsgQXBwU3RhdGUgfSBmcm9tICdAL2xpYi90eXBlcydcbmltcG9ydCB7IGNyZWF0ZURlYnRzU2xpY2UsIERlYnRzU2xpY2UgfSBmcm9tICcuL3N0b3JlL3NsaWNlcy9kZWJ0c1NsaWNlJ1xuaW1wb3J0IHsgY3JlYXRlQ2FyZHNTbGljZSwgQ2FyZHNTbGlj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3JhZ2UnLFxuICAgICAgLy8gT3B0aW9uYWw6IEZpbHRlciB3aGF0IGdldHMgcGVyc2lzdGVkIGlmIG5lZWRlZCBpbiB0aGUgZnV0dXJlXG4gICAgICAvLyBwYXJ0aWFsaXplOiAoc3RhdGUpID0+ICh7IC4uLiB9KSBcbiAgICB9XG4gIClcbilcbiJdLCJuYW1lcyI6WyJjcmVhdGUiLCJwZXJzaXN0IiwiY3JlYXRlRGVidHNTbGljZSIsImNyZWF0ZUNhcmRzU2xpY2UiLCJjcmVhdGVCdWRnZXRTbGljZSIsImNyZWF0ZUFsZXJ0c1NsaWNlIiwiY3JlYXRlU2VydmljZXNTbGljZSIsInVzZUZpbmFuemFzU3RvcmUiLCJhIiwibmFtZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./lib/store.ts\n");

/***/ }),

/***/ "(ssr)/./lib/store/slices/alertsSlice.ts":
/*!*****************************************!*\
  !*** ./lib/store/slices/alertsSlice.ts ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createAlertsSlice: () => (/* binding */ createAlertsSlice)\n/* harmony export */ });\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! uuid */ \"(ssr)/./node_modules/uuid/dist-node/v4.js\");\n\nconst createAlertsSlice = (set)=>({\n        alerts: [],\n        addAlert: (alert)=>set((state)=>({\n                    alerts: [\n                        ...state.alerts,\n                        {\n                            ...alert,\n                            id: (0,uuid__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n                            date: new Date().toISOString()\n                        }\n                    ]\n                })),\n        markAlertAsRead: (id)=>set((state)=>({\n                    alerts: state.alerts.map((a)=>a.id === id ? {\n                            ...a,\n                            isRead: true\n                        } : a)\n                })),\n        deleteAlert: (id)=>set((state)=>({\n                    alerts: state.alerts.filter((a)=>a.id !== id)\n                })),\n        clearAllAlerts: ()=>set(()=>({\n                    alerts: []\n                }))\n    });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9saWIvc3RvcmUvc2xpY2VzL2FsZXJ0c1NsaWNlLnRzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQ21DO0FBWTVCLE1BQU1FLG9CQUErQyxDQUFDQyxNQUFTO1FBQ2xFQyxRQUFRLEVBQUU7UUFFVkMsVUFBVSxDQUFDQyxRQUNQSCxJQUFJLENBQUNJLFFBQVc7b0JBQ1pILFFBQVE7MkJBQ0RHLE1BQU1ILE1BQU07d0JBQ2Y7NEJBQ0ksR0FBR0UsS0FBSzs0QkFDUkUsSUFBSVAsZ0RBQU1BOzRCQUNWUSxNQUFNLElBQUlDLE9BQU9DLFdBQVc7d0JBQ2hDO3FCQUNIO2dCQUNMO1FBRUpDLGlCQUFpQixDQUFDSixLQUNkTCxJQUFJLENBQUNJLFFBQVc7b0JBQ1pILFFBQVFHLE1BQU1ILE1BQU0sQ0FBQ1MsR0FBRyxDQUFDLENBQUNDLElBQ3RCQSxFQUFFTixFQUFFLEtBQUtBLEtBQUs7NEJBQUUsR0FBR00sQ0FBQzs0QkFBRUMsUUFBUTt3QkFBSyxJQUFJRDtnQkFFL0M7UUFFSkUsYUFBYSxDQUFDUixLQUNWTCxJQUFJLENBQUNJLFFBQVc7b0JBQ1pILFFBQVFHLE1BQU1ILE1BQU0sQ0FBQ2EsTUFBTSxDQUFDLENBQUNILElBQU1BLEVBQUVOLEVBQUUsS0FBS0E7Z0JBQ2hEO1FBRUpVLGdCQUFnQixJQUNaZixJQUFJLElBQU87b0JBQ1BDLFFBQVEsRUFBRTtnQkFDZDtJQUNSLEdBQUUiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9maW5hbnphcy8uL2xpYi9zdG9yZS9zbGljZXMvYWxlcnRzU2xp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JcbiAgICBtYXJrQWxlcnRBc1JlYWQ6IChpZCkgPT5cclxuICAgICAgICBzZXQoKHN0YXRlKSA9PiAoe1xyXG4gICAgICAgICAgICBhbGVydHM6IHN0YXRlLmFsZXJ0cy5tYXAoKGEpID0+XHJcbiAgICAgICAgICAgICAgICBhLmlkID09PSBpZCA/IHsgLi4uYSwgaXNSZWFkOiB0cnVlIH0gOiBhXHJcbiAgICAgICAgICAgICksXHJcbiAgICAgICAgfSkpLFxyXG5cclxuICAgIGRlbGV0ZUFsZXJ0OiAoaWQpID0+XHJcbiAgICAgICAgc2V0KChzdGF0ZSkgPT4gKHtcclxuICAgICAgICAgICAgYWxlcnRzOiBzdGF0ZS5hbGVydHMuZmlsdGVyKChhKSA9PiBhLmlkICE9PSBpZCksXHJcbiAgICAgICAgfSkpLFxyXG5cclxuICAgIGNsZWFyQWxsQWxlcnRzOiAoKSA9PlxyXG4gICAgICAgIHNldCgoKSA9PiAoe1xyXG4gICAgICAgICAgICBhbGVydHM6IFtdLFxyXG4gICAgICAgIH0pKSxcclxufSlcclxuIl0sIm5hbWVzIjpbInY0IiwidXVpZHY0IiwiY3JlYXRlQWxlcnRzU2xpY2UiLCJzZXQiLCJhbGVydHMiLCJhZGRBbGVydCIsImFsZXJ0Iiwic3RhdGUiLCJpZCIsImRhdGUiLCJEYXRlIiwidG9JU09TdHJpbmciLCJtYXJrQWxlcnRBc1JlYWQiLCJtYXAiLCJhIiwiaXNSZWFkIiwiZGVsZXRlQWxlcnQiLCJmaWx0ZXIiLCJjbGVhckFsbEFsZXJ0cyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./lib/store/slices/alertsSlice.ts\n");

/***/ }),

/***/ "(ssr)/./lib/store/slices/budgetSlice.ts":
/*!*****************************************!*\
  !*** ./lib/store/slices/budgetSlice.ts ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createBudgetSlice: () => (/* binding */ createBudgetSlice)\n/* harmony export */ });\nconst now = new Date();\nconst createBudgetSlice = (set)=>({\n        monthlyBudgets: [],\n        currentMonth: now.getMonth() + 1,\n        currentYear: now.getFullYear(),\n        setMonthlyBudget: (budget)=>set((state)=>{\n                const existingIndex = state.monthlyBudgets.findIndex((b)=>b.month === budget.month && b.year === budget.year);\n                if (existingIndex >= 0) {\n                    const newBudgets = [\n                        ...state.monthlyBudgets\n                    ];\n                    newBudgets[existingIndex] = budget;\n                    return {\n                        monthlyBudgets: newBudgets\n                    };\n                }\n                return {\n                    monthlyBudgets: [\n                        ...state.monthlyBudgets,\n                        budget\n                    ]\n                };\n            }),\n        updateMonthlyBudget: (month, year, updates)=>set((state)=>({\n                    monthlyBudgets: state.monthlyBudgets.map((b)=>b.month === month && b.year === year ? {\n                            ...b,\n                            ...updates\n                        } : b)\n                }))\n    });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9saWIvc3RvcmUvc2xpY2VzL2J1ZGdldFNsaWNlLnRzIiwibWFwcGluZ3MiOiI7Ozs7QUFHQSxNQUFNQSxNQUFNLElBQUlDO0FBV1QsTUFBTUMsb0JBQStDLENBQUNDLE1BQVM7UUFDbEVDLGdCQUFnQixFQUFFO1FBQ2xCQyxjQUFjTCxJQUFJTSxRQUFRLEtBQUs7UUFDL0JDLGFBQWFQLElBQUlRLFdBQVc7UUFFNUJDLGtCQUFrQixDQUFDQyxTQUNmUCxJQUFJLENBQUNRO2dCQUNELE1BQU1DLGdCQUFnQkQsTUFBTVAsY0FBYyxDQUFDUyxTQUFTLENBQ2hELENBQUNDLElBQU1BLEVBQUVDLEtBQUssS0FBS0wsT0FBT0ssS0FBSyxJQUFJRCxFQUFFRSxJQUFJLEtBQUtOLE9BQU9NLElBQUk7Z0JBRTdELElBQU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HZvaWRcclxuICAgIHVwZGF0ZU1vbnRobHlCdWRnZXQ6IChtb250aDogbnVtYmVyLCB5ZWFyOiBudW1iZXIsIHVwZGF0ZXM6IFBhcnRpYWw8TW9udGhseUJ1ZGdldD4pID0+IHZvaWRcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IGNyZWF0ZUJ1ZGdldFNsaWNlOiBTdGF0ZUNyZWF0b3I8QnVkZ2V0U2xpY2U+ID0gKHNldCkgPT4gKHtcclxuICAgIG1vbnRobHlCdWRnZXRzOiBbXSxcclxuICAgIGN1cnJlbnRNb250aDogbm93LmdldE1vbnRoKCkgKyAxLFxyXG4gICAgY3VycmVudFllYXI6IG5vdy5nZXRGdWxsWWVhcigpLFxyXG5cclxuICAgIHNldE1vbnRobHlCdWRnZXQ6IChidWRnZXQpID0+XHJcbiAgICAgICAgc2V0KChzdGF0ZSkgPT4ge1xyXG4gICAgICAgICAgICBjb25zdCBleGlzdGluZ0luZGV4ID0gc3RhdGUubW9udGhseUJ1ZGdldHMuZmluZEluZGV4KFxyXG4gICAgICAgICAgICAgICAgKGIpID0+IGIubW9udGggPT09IGJ1ZGdldC5tb250aCAmJiBiLnllYXIgPT09IGJ1ZGdldC55ZWFyXHJcbiAgICAgICAgICAgIClcclxuICAgICAgICAgICAgaWYgKGV4aXN0aW5nSW5kZXggPj0gMCkge1xyXG4gICAgICAgICAgICAgICAgY29uc3QgbmV3QnVkZ2V0cyA9IFsuLi5zdGF0ZS5tb250aGx5QnVkZ2V0c11cclxuICAgICAgICAgICAgICAgIG5ld0J1ZGdldHNbZXhpc3RpbmdJbmRleF0gPSBidWRnZXRcclxuICAgICAgICAgICAgICAgIHJldHVybiB7IG1vbnRobHlCdWRnZXRzOiBuZXdCdWRnZXRzIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICByZXR1cm4geyBtb250aGx5QnVkZ2V0czogWy4uLnN0YXRlLm1vbnRobHlCdWRnZXRzLCBidWRnZXRdIH1cclxuICAgICAgICB9KSxcclxuXHJcbiAgICB1cGRhdGVNb250aGx5QnVkZ2V0OiAobW9udGgsIHllYXIsIHVwZGF0ZXMpID0+XHJcbiAgICAgICAgc2V0KChzdGF0ZSkgPT4gKHtcclxuICAgICAgICAgICAgbW9udGhseUJ1ZGdldHM6IHN0YXRlLm1vbnRobHlCdWRnZXRzLm1hcCgoYikgPT5cclxuICAgICAgICAgICAgICAgIGIubW9udGggPT09IG1vbnRoICYmIGIueWVhciA9PT0geWVhciA/IHsgLi4uYiwgLi4udXBkYXRlcyB9IDogYlxyXG4gICAgICAgICAgICApLFxyXG4gICAgICAgIH0pKSxcclxufSlcclxuIl0sIm5hbWVzIjpbIm5vdyIsIkRhdGUiLCJjcmVhdGVCdWRnZXRTbGljZSIsInNldCIsIm1vbnRobHlCdWRnZXRzIiwiY3VycmVudE1vbnRoIiwiZ2V0TW9udGgiLCJjdXJyZW50WWVhciIsImdldEZ1bGxZZWFyIiwic2V0TW9udGhseUJ1ZGdldCIsImJ1ZGdldCIsInN0YXRlIiwiZXhpc3RpbmdJbmRleCIsImZpbmRJbmRleCIsImIiLCJtb250aCIsInllYXIiLCJuZXdCdWRnZXRzIiwidXBkYXRlTW9udGhseUJ1ZGdldCIsInVwZGF0ZXMiLCJtYXAiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./lib/store/slices/budgetSlice.ts\n");

/***/ }),

/***/ "(ssr)/./lib/store/slices/cardsSlice.ts":
/*!****************************************!*\
  !*** ./lib/store/slices/cardsSlice.ts ***!
  \****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createCardsSlice: () => (/* binding */ createCardsSlice)\n/* harmony export */ });\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! uuid */ \"(ssr)/./node_modules/uuid/dist-node/v4.js\");\n\nconst createCardsSlice = (set)=>({\n        creditCards: [],\n        cardPayments: [],\n        addCreditCard: (card)=>set((state)=>({\n                    creditCards: [\n                        ...state.creditCards,\n                        {\n                            ...card,\n                            id: (0,uuid__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()\n                        }\n                    ]\n                })),\n        updateCreditCard: (id, card)=>set((state)=>({\n                    creditCards: state.creditCards.map((c)=>c.id === id ? {\n                            ...c,\n                            ...card\n                        } : c)\n                })),\n        deleteCreditCard: (id)=>set((state)=>({\n                    creditCards: state.creditCards.filter((c)=>c.id !== id)\n                })),\n        addCardPayment: (payment)=>set((state)=>({\n                    cardPayments: [\n                        ...state.cardPayments,\n                        {\n                            ...payment,\n                            id: (0,uuid__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()\n                        }\n                    ]\n                })),\n        deleteCardPayment: (id)=>set((state)=>({\n                    cardPayments: state.cardPayments.filter((p)=>p.id !== id)\n                }))\n    });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9saWIvc3RvcmUvc2xpY2VzL2NhcmRzU2xpY2UudHMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFDbUM7QUFlNUIsTUFBTUUsbUJBQTZDLENBQUNDLE1BQVM7UUFDaEVDLGFBQWEsRUFBRTtRQUNmQyxjQUFjLEVBQUU7UUFFaEJDLGVBQWUsQ0FBQ0MsT0FDWkosSUFBSSxDQUFDSyxRQUFXO29CQUNaSixhQUFhOzJCQUFJSSxNQUFNSixXQUFXO3dCQUFFOzRCQUFFLEdBQUdHLElBQUk7NEJBQUVFLElBQUlSLGdEQUFNQTt3QkFBRztxQkFBRTtnQkFDbEU7UUFFSlMsa0JBQWtCLENBQUNELElBQUlGLE9BQ25CSixJQUFJLENBQUNLLFFBQVc7b0JBQ1pKLGFBQWFJLE1BQU1KLFdBQVcsQ0FBQ08sR0FBRyxDQUFDLENBQUNDLElBQ2hDQSxF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FyZDogKGlkKSA9PlxyXG4gICAgICAgIHNldCgoc3RhdGUpID0+ICh7XHJcbiAgICAgICAgICAgIGNyZWRpdENhcmRzOiBzdGF0ZS5jcmVkaXRDYXJkcy5maWx0ZXIoKGMpID0+IGMuaWQgIT09IGlkKSxcclxuICAgICAgICB9KSksXHJcblxyXG4gICAgYWRkQ2FyZFBheW1lbnQ6IChwYXltZW50KSA9PlxyXG4gICAgICAgIHNldCgoc3RhdGUpID0+ICh7XHJcbiAgICAgICAgICAgIGNhcmRQYXltZW50czogWy4uLnN0YXRlLmNhcmRQYXltZW50cywgeyAuLi5wYXltZW50LCBpZDogdXVpZHY0KCkgfV0sXHJcbiAgICAgICAgfSkpLFxyXG5cclxuICAgIGRlbGV0ZUNhcmRQYXltZW50OiAoaWQpID0+XHJcbiAgICAgICAgc2V0KChzdGF0ZSkgPT4gKHtcclxuICAgICAgICAgICAgY2FyZFBheW1lbnRzOiBzdGF0ZS5jYXJkUGF5bWVudHMuZmlsdGVyKChwKSA9PiBwLmlkICE9PSBpZCksXHJcbiAgICAgICAgfSkpLFxyXG59KVxyXG4iXSwibmFtZXMiOlsidjQiLCJ1dWlkdjQiLCJjcmVhdGVDYXJkc1NsaWNlIiwic2V0IiwiY3JlZGl0Q2FyZHMiLCJjYXJkUGF5bWVudHMiLCJhZGRDcmVkaXRDYXJkIiwiY2FyZCIsInN0YXRlIiwiaWQiLCJ1cGRhdGVDcmVkaXRDYXJkIiwibWFwIiwiYyIsImRlbGV0ZUNyZWRpdENhcmQiLCJmaWx0ZXIiLCJhZGRDYXJkUGF5bWVudCIsInBheW1lbnQiLCJkZWxldGVDYXJkUGF5bWVudCIsInAiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./lib/store/slices/cardsSlice.ts\n");

/***/ }),

/***/ "(ssr)/./lib/store/slices/debtsSlice.ts":
/*!****************************************!*\
  !*** ./lib/store/slices/debtsSlice.ts ***!
  \****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createDebtsSlice: () => (/* binding */ createDebtsSlice)\n/* harmony export */ });\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! uuid */ \"(ssr)/./node_modules/uuid/dist-node/v4.js\");\n\nconst createDebtsSlice = (set)=>({\n        fixedDebts: [],\n        variableDebts: [],\n        addFixedDebt: (debt)=>set((state)=>({\n                    fixedDebts: [\n                        ...state.fixedDebts,\n                        {\n                            ...debt,\n                            id: (0,uuid__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()\n                        }\n                    ]\n                })),\n        updateFixedDebt: (id, debt)=>set((state)=>({\n                    fixedDebts: state.fixedDebts.map((d)=>d.id === id ? {\n                            ...d,\n                            ...debt\n                        } : d)\n                })),\n        deleteFixedDebt: (id)=>set((state)=>({\n                    fixedDebts: state.fixedDebts.filter((d)=>d.id !== id)\n                })),\n        toggleFixedDebtPaid: (id)=>set((state)=>({\n                    fixedDebts: state.fixedDebts.map((d)=>d.id === id ? {\n                            ...d,\n                            isPaid: !d.isPaid\n                        } : d)\n                })),\n        addVariableDebt: (debt)=>set((state)=>({\n                    variableDebts: [\n                        ...state.variableDebts,\n                        {\n                            ...debt,\n                            id: (0,uuid__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()\n                        }\n                    ]\n                })),\n        updateVariableDebt: (id, debt)=>set((state)=>({\n                    variableDebts: state.variableDebts.map((d)=>d.id === id ? {\n                            ...d,\n                            ...debt\n                        } : d)\n                })),\n        deleteVariableDebt: (id)=>set((state)=>({\n                    variableDebts: state.variableDebts.filter((d)=>d.id !== id)\n                })),\n        toggleVariableDebtPaid: (id)=>set((state)=>({\n                    variableDebts: state.variableDebts.map((d)=>d.id === id ? {\n                            ...d,\n                            isPaid: !d.isPaid\n                        } : d)\n                }))\n    });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./lib/store/slices/debtsSlice.ts\n");

/***/ }),

/***/ "(ssr)/./lib/store/slices/servicesSlice.ts":
/*!*******************************************!*\
  !*** ./lib/store/slices/servicesSlice.ts ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createServicesSlice: () => (/* binding */ createServicesSlice)\n/* harmony export */ });\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! uuid */ \"(ssr)/./node_modules/uuid/dist-node/v4.js\");\n\nconst createServicesSlice = (set)=>({\n        serviceBills: [],\n        addServiceBill: (bill)=>set((state)=>({\n                    serviceBills: [\n                        ...state.serviceBills,\n                        {\n                            ...bill,\n                            id: (0,uuid__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n                            isPaid: false\n                        }\n                    ]\n                })),\n        deleteServiceBill: (id)=>set((state)=>({\n                    serviceBills: state.serviceBills.filter((b)=>b.id !== id)\n                })),\n        toggleServiceBillPaid: (id)=>set((state)=>({\n                    serviceBills: state.serviceBills.map((b)=>b.id === id ? {\n                            ...b,\n                            isPaid: !b.isPaid\n                        } : b)\n                }))\n    });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9saWIvc3RvcmUvc2xpY2VzL3NlcnZpY2VzU2xpY2UudHMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFDbUM7QUFXNUIsTUFBTUUsc0JBQW1ELENBQUNDLE1BQVM7UUFDdEVDLGNBQWMsRUFBRTtRQUVoQkMsZ0JBQWdCLENBQUNDLE9BQ2JILElBQUksQ0FBQ0ksUUFBVztvQkFDWkgsY0FBYzsyQkFDUEcsTUFBTUgsWUFBWTt3QkFDckI7N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Y3JlYXRlU2VydmljZXNTbGljZSIsInNldCIsInNlcnZpY2VCaWxscyIsImFkZFNlcnZpY2VCaWxsIiwiYmlsbCIsInN0YXRlIiwiaWQiLCJpc1BhaWQiLCJkZWxldGVTZXJ2aWNlQmlsbCIsImZpbHRlciIsImIiLCJ0b2dnbGVTZXJ2aWNlQmlsbFBhaWQiLCJtYXAiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./lib/store/slices/servicesSlice.ts\n");

/***/ }),

/***/ "(ssr)/./lib/utils.ts":
/*!**********************!*\
  !*** ./lib/utils.ts ***!
  \**********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   calculateCardPayments: () => (/* binding */ calculateCardPayments),\n/* harmony export */   calculateNextClosingDate: () => (/* binding */ calculateNextClosingDate),\n/* harmony export */   calculateNextDueDate: () => (/* binding */ calculateNextDueDate),\n/* harmony export */   calculateTotalFixedDebts: () => (/* binding */ calculateTotalFixedDebts),\n/* harmony export */   calculateTotalVariableDebts: () => (/* binding */ calculateTotalVariableDebts),\n/* harmony export */   cn: () => (/* binding */ cn),\n/* harmony export */   formatCurrency: () => (/* binding */ formatCurrency),\n/* harmony export */   formatDate: () => (/* binding */ formatDate),\n/* harmony export */   formatShortDate: () => (/* binding */ formatShortDate),\n/* harmony export */   getCardUtilization: () => (/* binding */ getCardUtilization),\n/* harmony export */   getDaysUntil: () => (/* binding */ getDaysUntil),\n/* harmony export */   getMonthName: () => (/* binding */ getMonthName),\n/* harmony export */   getNextDateByDay: () => (/* binding */ getNextDateByDay)\n/* harmony export */ });\n/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! clsx */ \"(ssr)/./node_modules/clsx/dist/clsx.mjs\");\n/* harmony import */ var tailwind_merge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tailwind-merge */ \"(ssr)/./node_modules/tailwind-merge/dist/bundle-mjs.mjs\");\n\n\n/**\n * Combina clases de Tailwind CSS usando clsx y tailwind-merge\n * Permite combinar múltiples clases condicionalmente\n */ function cn(...inputs) {\n    return (0,tailwind_merge__WEBPACK_IMPORTED_MODULE_1__.twMerge)((0,clsx__WEBPACK_IMPORTED_MODULE_0__.clsx)(inputs));\n}\n/**\n * Formatea un número como moneda (pesos argentinos/USD)\n * Ejemplo: 1500.50 -> \"$ 1.500,50\"\n */ function formatCurrency(amount) {\n    const formatter = new Intl.NumberFormat(\"es-AR\", {\n        style: \"currency\",\n        currency: \"ARS\",\n        minimumFractionDigits: 2,\n        maximumFractionDigits: 2\n    });\n    return formatter.format(amount);\n}\n/**\n * Formatea una fecha en formato legible en español\n * Ejemplo: \"28 de enero de 2026\"\n */ function formatDate(date) {\n    const d = typeof date === \"string\" ? new Date(date) : date;\n    const formatter = new Intl.DateTimeFormat(\"es-AR\", {\n        day: \"numeric\",\n        month: \"long\",\n        year: \"numeric\"\n    });\n    return formatter.format(d);\n}\n/**\n * Formatea una fecha en formato corto\n * Ejemplo: \"28/01/2026\"\n */ function formatShortDate(date) {\n    const d = typeof date === \"string\" ? new Date(date) : date;\n    const formatter = new Intl.DateTimeFormat(\"es-AR\", {\n        day: \"2-digit\",\n        month: \"2-digit\",\n        year: \"numeric\"\n    });\n    return formatter.format(d);\n}\n/**\n * Calcula los días hasta una fecha específica\n * Retorna un número negativo si la fecha ya pasó\n */ function getDaysUntil(date) {\n    const targetDate = typeof date === \"string\" ? new Date(date) : date;\n    const today = new Date();\n    // Reset hours to compare only dates\n    const target = new Date(targetDate.getFullYear(), targetDate.getMonth(), targetDate.getDate());\n    const current = new Date(today.getFullYear(), today.getMonth(), today.getDate());\n    const diffTime = target.getTime() - current.getTime();\n    const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));\n    return diffDays;\n}\n/**\n * Obtiene la próxima fecha para un día específico del mes\n * Si el día ya pasó este mes, devuelve el del mes siguiente\n */ function getNextDateByDay(dayOfMonth) {\n    const today = new Date();\n    const currentYear = today.getFullYear();\n    const currentMonth = today.getMonth();\n    const currentDay = today.getDate();\n    let targetYear = currentYear;\n    let targetMonth = currentMonth;\n    // Si el día ya pasó este mes, ir al siguiente mes\n    if (currentDay > dayOfMonth) {\n        targetMonth += 1;\n        if (targetMonth > 11) {\n            targetMonth = 0;\n            targetYear += 1;\n        }\n    }\n    // Ajustar si el día no existe en el mes objetivo (ej: 31 de febrero)\n    const lastDayOfMonth = new Date(targetYear, targetMonth + 1, 0).getDate();\n    const targetDay = Math.min(dayOfMonth, lastDayOfMonth);\n    return new Date(targetYear, targetMonth, targetDay);\n}\n/**\n * Obtiene el nombre del mes en español\n * El mes debe ser 1-12 (enero = 1)\n */ function getMonthName(month) {\n    const monthNames = [\n        \"enero\",\n        \"febrero\",\n        \"marzo\",\n        \"abril\",\n        \"mayo\",\n        \"junio\",\n        \"julio\",\n        \"agosto\",\n        \"septiembre\",\n        \"octubre\",\n        \"noviembre\",\n        \"diciembre\"\n    ];\n    if (month < 1 || month > 12) {\n        throw new Error(\"El mes debe estar entre 1 y 12\");\n    }\n    return monthNames[month - 1];\n}\n/**\n * Calcula el total de deudas fijas no pagadas\n */ function calculateTotalFixedDebts(debts) {\n    return debts.filter((debt)=>!debt.isPaid).reduce((total, debt)=>total + debt.amount, 0);\n}\n/**\n * Calcula el total de deudas variables no pagadas\n */ function calculateTotalVariableDebts(debts) {\n    return debts.filter((debt)=>!debt.isPaid).reduce((total, debt)=>total + debt.amount, 0);\n}\n/**\n * Calcula el total de pagos de tarjeta\n * Opcionalmente filtrados por cardId\n */ function calculateCardPayments(payments, cardId) {\n    const filteredPayments = cardId ? payments.filter((payment)=>payment.cardId === cardId) : payments;\n    return filteredPayments.reduce((total, payment)=>total + payment.amount, 0);\n}\n/**\n * Calcula la próxima fecha de cierre de tarjeta\n * Si el día de cierre ya pasó este mes, devuelve el del mes siguiente\n */ function calculateNextClosingDate(closingDay) {\n    return getNextDateByDay(closingDay);\n}\n/**\n * Calcula la próxima fecha de vencimiento de tarjeta\n * Si el día de vencimiento ya pasó este mes, devuelve el del mes siguiente\n */ function calculateNextDueDate(dueDay) {\n    return getNextDateByDay(dueDay);\n}\n/**\n * Calcula el porcentaje de utilización de una tarjeta de crédito\n * Retorna un valor entre 0 y 100\n */ function getCardUtilization(balance, limit) {\n    if (limit <= 0) {\n        return 0;\n    }\n    const utilization = balance / limit * 100;\n    return Math.min(Math.max(utilization, 0), 100);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///(ssr)/./lib/utils.ts\n");

/***/ }),

/***/ "(rsc)/./app/globals.css":
/*!*************************!*\
  !*** ./app/globals.css ***!
  \*************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\"211e7155b7b5\");\nif (false) {}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHJzYykvLi9hcHAvZ2xvYmFscy5jc3MiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGlFQUFlLGNBQWM7QUFDN0IsSUFBSSxLQUFVLEVBQUUsRUFBdUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9maW5hbnphcy8uL2FwcC9nbG9iYWxzLmNzcz9iY2QzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IFwiMjExZTcxNTViN2I1XCJcbmlmIChtb2R1bGUuaG90KSB7IG1vZHVsZS5ob3QuYWNjZXB0KCkgfVxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(rsc)/./app/globals.css\n");

/***/ }),

/***/ "(rsc)/./app/layout.tsx":
/*!************************!*\
  !*** ./app/layout.tsx ***!
  \************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ RootLayout),\n/* harmony export */   metadata: () => (/* binding */ metadata)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(rsc)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var next_font_google_target_css_path_app_layout_tsx_import_Inter_arguments_subsets_latin_variable_font_inter_display_swap_variableName_inter___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! next/font/google/target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\",\"display\":\"swap\"}],\"variableName\":\"inter\"} */ \"(rsc)/./node_modules/next/font/google/target.css?{\\\"path\\\":\\\"app\\\\\\\\layout.tsx\\\",\\\"import\\\":\\\"Inter\\\",\\\"arguments\\\":[{\\\"subsets\\\":[\\\"latin\\\"],\\\"variable\\\":\\\"--font-inter\\\",\\\"display\\\":\\\"swap\\\"}],\\\"variableName\\\":\\\"inter\\\"}\");\n/* harmony import */ var next_font_google_target_css_path_app_layout_tsx_import_Inter_arguments_subsets_latin_variable_font_inter_display_swap_variableName_inter___WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_font_google_target_css_path_app_layout_tsx_import_Inter_arguments_subsets_latin_variable_font_inter_display_swap_variableName_inter___WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _globals_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./globals.css */ \"(rsc)/./app/globals.css\");\n/* harmony import */ var _providers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./providers */ \"(rsc)/./app/providers.tsx\");\n\n\n\n\nconst metadata = {\n    title: \"Finanzas Personales\",\n    description: \"Gestiona tus finanzas personales de forma inteligente\",\n    keywords: [\n        \"finanzas\",\n        \"presupuesto\",\n        \"gastos\",\n        \"ingresos\",\n        \"ahorro\"\n    ]\n};\nfunction RootLayout({ children }) {\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"html\", {\n        lang: \"es\",\n        className: (next_font_google_target_css_path_app_layout_tsx_import_Inter_arguments_subsets_latin_variable_font_inter_display_swap_variableName_inter___WEBPACK_IMPORTED_MODULE_3___default().variable),\n        suppressHydrationWarning: true,\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"body\", {\n            className: `${(next_font_google_target_css_path_app_layout_tsx_import_Inter_arguments_subsets_latin_variable_font_inter_display_swap_variableName_inter___WEBPACK_IMPORTED_MODULE_3___default().className)} antialiased min-h-screen bg-slate-950 text-slate-50`,\n            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_providers__WEBPACK_IMPORTED_MODULE_2__.Providers, {\n                children: children\n            }, void 0, false, {\n                fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\layout.tsx\",\n                lineNumber: 26,\n                columnNumber: 9\n            }, this)\n        }, void 0, false, {\n            fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\layout.tsx\",\n            lineNumber: 25,\n            columnNumber: 7\n        }, this)\n    }, void 0, false, {\n        fileName: \"C:\\\\Users\\\\Administrator\\\\Documents\\\\cuentas\\\\finanzas\\\\app\\\\layout.tsx\",\n        lineNumber: 24,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHJzYykvLi9hcHAvbGF5b3V0LnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFLTUE7QUFIaUI7QUFDaUI7QUFRakMsTUFBTUUsV0FBcUI7SUFDaENDLE9BQU87SUFDUEMsYUFBYTtJQUNiQyxVQUFVO1FBQUM7UUFBWTtRQUFlO1FBQVU7UUFBWTtLQUFTO0FBQ3ZFLEVBQUU7QUFFYSxTQUFTQyxXQUFXLEVBQ2pDQyxRQUFRLEVBR1I7SUFDQSxxQkFDRSw4REFBQ0M7UUFBS0MsTUFBSztRQUFLQyxXQUFXViwyTEFBYztRQUFFWSx3QkFBd0I7a0JBQ2pFLDRFQUFDQztZQUFLSCxXQUFXLENBQUMsRUFBRVYsNExBQWUsQ0FBQyxvREFBb0QsQ0FBQztzQkFDdkYsNEVBQUNDLGlEQUFTQTswQkFBRU07Ozs7Ozs7Ozs7Ozs7Ozs7QUFJcEIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9maW5hbnphcy8uL2FwcC9sYXlvdXQudHN4Pzk5ODgiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBNZXRhZGF0YSB9IGZyb20gXCJuZXh0XCI7XG5pbXBvcnQgeyBJbnRlciB9IGZyb20gXCJuZXh0L2ZvbnQvZ29vZ2xlXCI7XG5pbXBvcnQgXCIuL2dsb2JhbHMuY3NzXCI7XG5pbXBvcnQgeyBQcm92aWRlcnMgfSBmcm9tIFwiLi9wcm92aWRlcnNcIjtcblxuY29uc3QgaW50ZXIgPSBJbnRlcih7XG4gIHN1YnNldHM6I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WJsZSIsInN1cHByZXNzSHlkcmF0aW9uV2FybmluZyIsImJvZHkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(rsc)/./app/layout.tsx\n");

/***/ }),

/***/ "(rsc)/./app/page.tsx":
/*!**********************!*\
  !*** ./app/page.tsx ***!
  \**********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/build/webpack/loaders/next-flight-loader/module-proxy */ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`C:\Users\Administrator\Documents\cuentas\finanzas\app\page.tsx#default`));


/***/ }),

/***/ "(rsc)/./app/providers.tsx":
/*!***************************!*\
  !*** ./app/providers.tsx ***!
  \***************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Providers: () => (/* binding */ e0),
/* harmony export */   useSidebar: () => (/* binding */ e1)
/* harmony export */ });
/* harmony import */ var next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/build/webpack/loaders/next-flight-loader/module-proxy */ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js");


const e0 = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`C:\Users\Administrator\Documents\cuentas\finanzas\app\providers.tsx#Providers`);

const e1 = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`C:\Users\Administrator\Documents\cuentas\finanzas\app\providers.tsx#useSidebar`);


/***/ })

};
;

// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, ["vendor-chunks/next","vendor-chunks/tailwind-merge","vendor-chunks/lucide-react","vendor-chunks/@swc","vendor-chunks/clsx","vendor-chunks/recharts","vendor-chunks/d3-shape","vendor-chunks/es-toolkit","vendor-chunks/date-fns","vendor-chunks/d3-scale","vendor-chunks/d3-array","vendor-chunks/d3-format","vendor-chunks/d3-interpolate","vendor-chunks/d3-time","vendor-chunks/uuid","vendor-chunks/use-sync-external-store","vendor-chunks/zustand","vendor-chunks/d3-time-format","vendor-chunks/d3-color","vendor-chunks/@reduxjs","vendor-chunks/victory-vendor","vendor-chunks/eventemitter3","vendor-chunks/reselect","vendor-chunks/redux","vendor-chunks/redux-thunk","vendor-chunks/react-redux","vendor-chunks/internmap","vendor-chunks/immer","vendor-chunks/decimal.js-light","vendor-chunks/d3-path","vendor-chunks/react-is"], () => (__webpack_exec__("(rsc)/./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas%5Capp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=C%3A%5CUsers%5CAdministrator%5CDocuments%5Ccuentas%5Cfinanzas&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D!")));
module.exports = __webpack_exports__;

})();