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D,CAAC,OAAQ,CAAE+P,GAAI,KAAMC,GAAI,IAAKC,GAAI,KAAMC,GAAI,KAAMlQ,IAAK,UAAU,CACnE,sECYM,IAAA8E,EAAO2K,CAAAA,EAAAA,SAAAA,CAAAA,EAAiB,OAhBM,CAClC,CAAC,OAAQ,CAAEI,EAAG,4CAA6C7P,IAAK,UAAU,CAC1E,CAAC,SAAU,CAAEmQ,GAAI,KAAMC,GAAI,IAAKC,EAAG,IAAKrQ,IAAK,UAAU,CACzD","sources":["webpack://_N_E/?41f9","webpack://_N_E/./node_modules/.pnpm/next@14.2.3_@babel+core@7.24.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/api/image.js","webpack://_N_E/./node_modules/.pnpm/next@14.2.3_@babel+core@7.24.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/api/navigation.js","webpack://_N_E/../../../src/shared/lib/image-external.tsx","webpack://_N_E/./src/config/constants.ts","webpack://_N_E/./src/layers/presentation/components/common/Logo.tsx","webpack://_N_E/./src/layers/presentation/components/common/Menu.tsx","webpack://_N_E/./src/layers/presentation/components/common/Navbar.tsx","webpack://_N_E/./src/layers/presentation/context/GlobalStateContext.tsx","webpack://_N_E/./src/layers/presentation/i18n/client.ts","webpack://_N_E/./src/layers/presentation/services/patients.ts","webpack://_N_E/./src/layers/presentation/utils/fetchWrapper.ts","webpack://_N_E/./src/layers/support/monitoring/logger.ts","webpack://_N_E/./src/types/modelEnums.ts","webpack://_N_E/./src/utils/cn.ts","webpack://_N_E/../../../../../shared/src/utils.ts","webpack://_N_E/../defaultAttributes.ts","webpack://_N_E/../Icon.ts","webpack://_N_E/../createLucideIcon.ts","webpack://_N_E/../../../src/icons/log-in.ts","webpack://_N_E/../../../src/icons/log-out.ts","webpack://_N_E/../../../src/icons/user.ts"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+accordion@2.0.35_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4_7gfxagymnsmgtnupiswpcwzaxa/node_modules/@nextui-org/accordion/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+autocomplete@2.1.2_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3_ajyhbeiijjrhtt2iu6dy3lf6gu/node_modules/@nextui-org/autocomplete/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+avatar@2.0.30_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4__dmcmm6xqozt72febvvyq5n472e/node_modules/@nextui-org/avatar/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+badge@2.0.29_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_t_ikwutd6mz4lcq2uds5vauklada/node_modules/@nextui-org/badge/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+breadcrumbs@2.0.10_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3_fyrlcf65hcfa7p25nm6wwj2j6q/node_modules/@nextui-org/breadcrumbs/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+button@2.0.34_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4__jxdrzmk2p4p6xfb6emeanlwk3y/node_modules/@nextui-org/button/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+calendar@2.0.7_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_sgldg6igizeftx47rffzqp7poi/node_modules/@nextui-org/calendar/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+card@2.0.31_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_pozlf56zf77uxfm24mqykclyty/node_modules/@nextui-org/card/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+checkbox@2.1.2_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ud4p7dpapjf3pr46mnhrid6dqq/node_modules/@nextui-org/checkbox/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+chip@2.0.30_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_du26g5ujy5y5apgukiljzvnupm/node_modules/@nextui-org/chip/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+date-input@2.1.1_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4_qlprp5mmngtswvwhmqo7fbvofu/node_modules/@nextui-org/date-input/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+date-picker@2.1.2_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3._bnrs5cds3jvn25y7op2a5bu2oa/node_modules/@nextui-org/date-picker/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+dropdown@2.1.26_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4._t67jgfcht5mqt25nqzrfrcsvxu/node_modules/@nextui-org/dropdown/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"ResizablePanel\"] */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+framer-utils@2.0.21_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts-node@10.9.1_@typ_bqb5waypttai2eugm3w563vyku/node_modules/@nextui-org/framer-utils/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+image@2.0.29_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_t_zyqase3va6pl6ljk4b7wbk5sje/node_modules/@nextui-org/image/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+input@2.2.2_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_irqezsdxvuzjflg4w3paajshyu/node_modules/@nextui-org/input/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+link@2.0.32_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_dbt5ulnnk5otu6eq6ujokah5zq/node_modules/@nextui-org/link/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+listbox@2.1.22_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_5zbi6aplkyzcyvaqx76d4hukvy/node_modules/@nextui-org/listbox/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+menu@2.0.25_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_b3kwk3fdljpvbn6kbjlueqjeve/node_modules/@nextui-org/menu/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+modal@2.0.36_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_t_xo4ucnw74u5t5ogtrrx2rxfhbi/node_modules/@nextui-org/modal/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+navbar@2.0.33_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4__uri5ov7fxijplqcftaw5yhi5he/node_modules/@nextui-org/navbar/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+pagination@2.0.33_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3._dsegacxasxcl6dzspaw4fduyea/node_modules/@nextui-org/pagination/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+popover@2.1.24_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_p76gbyzlx7g6fyxmatuolt362a/node_modules/@nextui-org/popover/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+progress@2.0.31_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4._jssdvtfj3rh54lsgyzushklq3q/node_modules/@nextui-org/progress/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+radio@2.1.2_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_ve7xrbx22wjexijxdekwxnkwsu/node_modules/@nextui-org/radio/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+ripple@2.0.30_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4__44voaklcmh4wmqvg2ukjvxvtsy/node_modules/@nextui-org/ripple/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+scroll-shadow@2.1.17_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss_62oa24l7yanv6nknaar36zpz6u/node_modules/@nextui-org/scroll-shadow/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+select@2.2.2_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_t_6yo4nko2jhx6l3ape4mxoqywni/node_modules/@nextui-org/select/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+skeleton@2.0.29_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4._5h33rbbgws5eafgy7dw26ao7tu/node_modules/@nextui-org/skeleton/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+slider@2.2.12_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4__o6qm6x4bq6usflyw2ijban4njq/node_modules/@nextui-org/slider/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+snippet@2.0.38_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_jasvbr3lol43sliijjdrhfkgq4/node_modules/@nextui-org/snippet/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+switch@2.0.31_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4__5qyqezbr5pxh7fyeng5wvgljxm/node_modules/@nextui-org/switch/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts-node@10.9.1_@types+node_5jqdwowbm4ingxxpdo2cqjf36i/node_modules/@nextui-org/system/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+table@2.0.36_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_t_usoslzeuh2dabi266gunzuz2lm/node_modules/@nextui-org/table/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+tabs@2.0.32_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_evolzuis3l33c2mr2hm523lohi/node_modules/@nextui-org/tabs/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+tooltip@2.0.36_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_66bjeu6xoypnotr3ocuk6ev2dm/node_modules/@nextui-org/tooltip/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/@nextui-org+user@2.0.31_@nextui-org+system@2.2.2_@nextui-org+theme@2.2.6_tailwindcss@3.4.4_ts_urxumhs6uh4epknbqvhyu42n6i/node_modules/@nextui-org/user/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src2150190915/src/right2hope/src/layers/presentation/components/common/Navbar.tsx\");\n","export { default } from \"../shared/lib/image-external\";\nexport * from \"../shared/lib/image-external\";\n\n//# sourceMappingURL=image.js.map","export * from \"../client/components/navigation\";\n\n//# sourceMappingURL=navigation.js.map",null,"export const CANCER_TYPE_PARAM_ID = 20;\nexport const CANCER_SUBTYPE_PARAM_ID = 21;\n","import React from 'react';\nimport { Link } from '@nextui-org/react';\nimport Image from 'next/image';\nimport { cn } from '@/utils/cn';\n\ninterface LogoProps {\n size?: number;\n showText?: boolean;\n className?: string;\n variant?: 'default' | 'transparent' | 'dark';\n}\n\nconst Logo: React.FC = ({\n size = 60,\n showText = true,\n className = '',\n variant = 'default',\n}) => {\n return (\n \n
\n
\n \n
\n {showText && (\n \n Right2Hope\n \n )}\n
\n \n );\n};\n\nexport default Logo;\n","'use client';\n\nimport { Button, ButtonGroup } from '@nextui-org/react';\nimport { useRouter } from 'next/navigation';\nimport React from 'react';\n\ninterface MenuItem {\n icon?: React.ReactNode;\n href?: string;\n onPress?: () => void;\n label: string;\n isActive?: boolean;\n}\n\ninterface TopMenuProps {\n menuItems: MenuItem[];\n className: string;\n}\n\nconst TopMenu: React.FC = ({ menuItems, className }) => {\n const router = useRouter();\n\n const handleItemClick = (item: MenuItem) => {\n if (item.href) {\n router.push(item.href);\n } else if (item.onPress) {\n item.onPress();\n }\n };\n\n return (\n \n {menuItems.map((item, index) => (\n handleItemClick(item)}\n >\n {item.label}\n \n ))}\n \n );\n};\n\nexport default TopMenu;\n","'use client';\n\nimport { useGlobalState } from '@/layers/presentation/context/GlobalStateContext';\nimport { useTranslation } from '@/layers/presentation/i18n/client';\nimport { UserType } from '@/types/modelEnums';\nimport { cn } from '@/utils/cn';\nimport {\n Button,\n Link,\n NavbarBrand,\n NavbarContent,\n NavbarItem,\n NavbarMenu,\n NavbarMenuItem,\n NavbarMenuToggle,\n Navbar as NextUINavbar,\n} from '@nextui-org/react';\nimport { LogIn, LogOut, User } from 'lucide-react';\nimport { usePathname } from 'next/navigation';\nimport { useState } from 'react';\nimport Logo from './Logo';\nimport Menu from './Menu';\n\ntype NavbarVariant = 'default' | 'transparent' | 'dark';\n\ninterface NavbarProps {\n variant?: NavbarVariant;\n}\n\nconst Navbar: React.FC = ({ variant = 'default' }) => {\n const { t } = useTranslation();\n const { user } = useGlobalState();\n const [isMenuOpen, setIsMenuOpen] = useState(false);\n const pathname = usePathname();\n\n // Determine the appropriate auth path based on the current route\n const getAuthPath = () => {\n if (pathname.startsWith('/patient/') || pathname.startsWith('/about/patients')) {\n return '/users/auth/patient';\n } else if (pathname.startsWith('/provider/') || pathname.startsWith('/about/providers')) {\n return '/users/auth/provider';\n }\n // Default to provider auth path if no specific context\n return '/users/auth/provider';\n };\n\n const variantStyles = {\n default:\n 'bg-white/90 backdrop-blur-[50px] !backdrop-grayscale-[0.5] border-b border-primary',\n transparent: 'bg-transparent',\n dark: 'bg-primary/90 backdrop-blur-[50px]',\n };\n\n const textStyles = {\n default: 'text-primary',\n transparent: 'text-primary',\n dark: 'text-white',\n };\n\n const isActive = (href: string) => {\n // For first-level paths like /provider, /sponsor - require exact match\n if (href.split('/').filter(Boolean).length === 1) {\n return pathname === href;\n }\n // For deeper paths, allow matching with subpaths\n return pathname === href || pathname.startsWith(`${href}/`);\n };\n\n const menuItems = [\n ...((user?.type === UserType.PROVIDER && [\n {\n href: '/provider',\n label: t('components:navbar.provider.main'),\n isActive: isActive('/provider'),\n },\n {\n href: '/provider/programs',\n label: t('components:navbar.provider.searchPrograms'),\n isActive: isActive('/provider/programs'),\n },\n {\n href: '/provider/patients',\n label: t('components:navbar.provider.patients'),\n isActive: isActive('/provider/patients'),\n },\n ]) ||\n []),\n ...((user?.type === UserType.SPONSOR && [\n {\n href: '/sponsor',\n label: t('components:navbar.sponsor.main'),\n isActive: isActive('/sponsor'),\n },\n {\n href: '/sponsor/programs',\n label: t('components:navbar.sponsor.myPrograms'),\n isActive: isActive('/sponsor/programs'),\n },\n {\n href: '/sponsor/programRequests',\n label: t('components:navbar.sponsor.programRequests'),\n isActive: isActive('/sponsor/programRequests'),\n },\n {\n href: '/sponsor/reports',\n label: t('components:navbar.sponsor.reports'),\n isActive: isActive('/sponsor/reports'),\n },\n ]) ||\n []),\n ...((user?.type === UserType.PATIENT && [\n {\n href: '/patient',\n label: t('components:navbar.patient.main'),\n isActive: isActive('/patient'),\n },\n {\n href: '/patient/programs',\n label: t('components:navbar.patient.myPrograms'),\n isActive: isActive('/patient/programs'),\n },\n ]) ||\n []),\n ...((!user && [\n {\n href: '/about/patients',\n label: t('components:navbar.about.forPatients'),\n isActive: isActive('/about/patients'),\n },\n {\n href: '/about/providers',\n label: t('components:navbar.about.forProviders'),\n isActive: isActive('/about/providers'),\n },\n {\n href: '/about/sponsors',\n label: t('components:navbar.about.forSponsors'),\n isActive: isActive('/about/sponsors'),\n },\n {\n href: '/about/contact-us',\n label: t('components:navbar.about.contactUs'),\n isActive: isActive('/about/contact-us'),\n },\n {\n href: '/about/faq',\n label: t('components:navbar.about.faq'),\n isActive: isActive('/about/faq'),\n },\n ]) ||\n []),\n {\n href: '/blog',\n label: t('components:navbar.blog'),\n isActive: isActive('/blog'),\n },\n ];\n\n return (\n \n \n \n \n \n \n\n \n \n \n\n \n \n {user ? (\n
\n }\n className={cn('border-1', textStyles[variant])}\n >\n {t('components:navbar.myProfile')}\n \n }\n className={cn('border-1', textStyles[variant])}\n >\n Logout\n \n
\n ) : (\n }\n className={cn('border-1', variant === 'dark' && 'text-white')}\n href={getAuthPath()}\n >\n Login or Sign Up\n \n )}\n
\n\n \n
\n\n \n {menuItems.map((item, index) => (\n \n setIsMenuOpen(false)}\n >\n {item.label}\n \n \n ))}\n\n \n {user ? (\n <>\n setIsMenuOpen(false)}\n >\n
\n \n {t('components:navbar.myProfile')}\n
\n \n setIsMenuOpen(false)}\n >\n
\n \n Logout\n
\n \n \n ) : (\n setIsMenuOpen(false)}\n >\n
\n \n Login or Create an Account\n
\n \n )}\n
\n
\n \n );\n};\n\nexport default Navbar;\n","'use client';\n\nimport { fetchpatientParamsDictionary } from '@/layers/presentation/services/patients';\nimport logger from '@/layers/support/monitoring/logger';\nimport { UserType } from '@/types/modelEnums';\nimport {\n ProviderProfile,\n PatientParam,\n PatientParamValues,\n PatientProfile,\n SponsorProfile,\n User,\n ValidProfiles,\n} from '@/types/models';\nimport React, { createContext, ReactNode, useContext, useEffect, useState } from 'react';\n\nconst LOG_MODULE = 'FE [Presentation / Context / GlobalStateContext]';\n\ninterface GlobalStateContextType {\n patientParamsDictionary: PatientParam[];\n isLoadingParams: boolean;\n error: string | null;\n user: User | null;\n profile: ValidProfiles | null;\n selectedOptions: PatientParamValues;\n query: string;\n setUser: (user: User | null) => void;\n setProfile: (profile: ValidProfiles | null) => void;\n getProviderProfile: () => ProviderProfile | null;\n getPatientProfile: () => PatientProfile | null;\n getSponsorProfile: () => SponsorProfile | null;\n setSelectedOptions: React.Dispatch>;\n setQuery: (query: string) => void;\n}\n\nconst GlobalStateContext = createContext(undefined);\n\nexport const GlobalStateProvider: React.FC<{ children: ReactNode }> = ({ children }) => {\n const [patientParamsDictionary, setpatientParamsDictionary] = useState([]);\n const [isLoadingParams, setIsLoadingParams] = useState(true);\n const [error, setError] = useState(null);\n const [user, setUser] = useState(null);\n const [profile, setProfile] = useState(null);\n const [selectedOptions, setSelectedOptions] = useState({});\n const [query, setQuery] = useState('');\n\n const getProviderProfile = (): ProviderProfile | null => {\n return user?.type === UserType.PROVIDER ? (profile as ProviderProfile) : null;\n };\n\n const getPatientProfile = (): PatientProfile | null => {\n return user?.type === UserType.PATIENT ? (profile as PatientProfile) : null;\n };\n\n const getSponsorProfile = (): SponsorProfile | null => {\n return user?.type === UserType.SPONSOR ? (profile as SponsorProfile) : null;\n };\n\n logger.debug('Global state updated', {\n module: LOG_MODULE,\n data: {\n patientParamsDictionary,\n isLoadingParams,\n error,\n user,\n profile,\n },\n });\n\n useEffect(() => {\n const fetchParams = async () => {\n setIsLoadingParams(true);\n try {\n const { patientParamsDictionary } = await fetchpatientParamsDictionary();\n setpatientParamsDictionary(patientParamsDictionary);\n } catch (error) {\n setError((error as Error).message);\n } finally {\n setIsLoadingParams(false);\n }\n };\n\n fetchParams();\n }, []);\n\n return (\n \n {children}\n \n );\n};\n\nexport const useGlobalState = () => {\n const context = useContext(GlobalStateContext);\n if (context === undefined) {\n throw new Error('useGlobalState must be used within a GlobalStateProvider');\n }\n return context;\n};\n","'use client';\n\nimport { useTranslation as useReactI18nextTranslation } from 'react-i18next';\n\n/**\n * useTranslation hook provides the translation function and i18n instance.\n */\nexport const useTranslation = () => {\n const { t, i18n } = useReactI18nextTranslation();\n return { t, i18n };\n};\n","import logger from '@/layers/support/monitoring/logger';\nimport { FitStatus } from '@/types/modelEnums';\nimport {\n PatientExtended,\n PatientParam,\n PatientParamValues,\n PatientProfile,\n ProviderProfile,\n} from '@/types/models';\nimport {\n NewPatientByUserIdRequest,\n NewPatientRequest,\n PatientParamValuesExtended,\n} from '@/types/patients';\nimport { fetchWrapper } from '../utils/fetchWrapper';\nimport { CANCER_TYPE_PARAM_ID } from '@/config/constants';\n\nconst LOG_MODULE = 'FE [Presentation / Services / Patients]';\n\nconst API_URL = '/api/users/patients';\n\nexport const fetchPatients = async (filters: Record): Promise => {\n logger.debug(`${LOG_MODULE} fetchPatients: begin`, { filters });\n\n try {\n const result = await fetchWrapper.get(\n `${API_URL}?filters=${JSON.stringify(filters)}`,\n );\n\n logger.debug(`${LOG_MODULE} fetchPatients: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} fetchPatients`, { error });\n throw error;\n }\n};\n\nexport const fetchPatientById = async (id: string): Promise => {\n logger.debug(`${LOG_MODULE} fetchPatientById: begin`, { id });\n\n try {\n const result = await fetchWrapper.get(`${API_URL}/${id}`);\n\n logger.debug(`${LOG_MODULE} fetchPatientById: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} fetchPatientById`, { error });\n throw error;\n }\n};\n\nexport const fetchPatientByUserId = async (id: string): Promise => {\n logger.debug(`${LOG_MODULE} fetchPatientByUserId: begin`, { id });\n\n try {\n const result = await fetchWrapper.get(`${API_URL}/user/${id}`);\n\n logger.debug(`${LOG_MODULE} fetchPatientByUserId: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} fetchPatientByUserId`, { error });\n throw error;\n }\n};\n\nexport const createPatient = async (patient: NewPatientRequest): Promise => {\n logger.debug(`${LOG_MODULE} createPatient: begin`, { patient });\n\n try {\n const result = await fetchWrapper.post(API_URL, patient);\n\n logger.debug(`${LOG_MODULE} createPatient: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} createPatient`, { error });\n throw error;\n }\n};\n\nexport const createPatientByUserId = async (\n patient: NewPatientByUserIdRequest,\n): Promise => {\n logger.debug(`${LOG_MODULE} createPatientByUserId: begin`, { patient });\n\n try {\n const result = await fetchWrapper.post(\n `${API_URL}/user/${patient.user_id}`,\n patient,\n );\n\n logger.debug(`${LOG_MODULE} createPatientByUserId: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} createPatientByUserId`, { error });\n throw error;\n }\n};\n\nexport const updatePatient = async (\n id: string,\n patient: Partial,\n): Promise => {\n logger.debug(`${LOG_MODULE} updatePatient: begin`, { id, patient });\n\n try {\n const result = await fetchWrapper.put(`${API_URL}/${id}`, patient);\n\n logger.debug(`${LOG_MODULE} updatePatient: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} updatePatient`, { error });\n throw error;\n }\n};\n\nexport const deletePatient = async (id: string): Promise => {\n logger.debug(`${LOG_MODULE} deletePatient: begin`, { id });\n\n try {\n const result = await fetchWrapper.delete(`${API_URL}/${id}`);\n\n logger.debug(`${LOG_MODULE} deletePatient: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} deletePatient`, { error });\n throw error;\n }\n};\n\nexport const fetchpatientParamsDictionary = async (): Promise<{\n patientParamsDictionary: PatientParam[];\n}> => {\n logger.debug(`${LOG_MODULE} fetchpatientParamsDictionary: begin`);\n\n try {\n const result = await fetchWrapper.get<{ patientParamsDictionary: PatientParam[] }>(\n `${API_URL}/params`,\n );\n\n logger.debug(`${LOG_MODULE} fetchpatientParamsDictionary: end`);\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} fetchpatientParamsDictionary`, { error });\n throw error;\n }\n};\n\nexport const getPatientParamBySlug = (params: PatientParam[], slug: string): PatientParam => {\n logger.debug(`${LOG_MODULE} getPatientParamBySlug: begin`, { params, slug });\n\n try {\n const result = params.find(param => param.slug === slug) as PatientParam;\n\n logger.debug(`${LOG_MODULE} getPatientParamBySlug: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} getPatientParamBySlug`, { error });\n throw error;\n }\n};\n\nexport const getPatientParamValuesExtended = (\n patientParamsDictionary: PatientParam[],\n selectedOptions: PatientParamValues,\n): PatientParamValuesExtended => {\n logger.debug(`${LOG_MODULE} getPatientParamValuesExtended: begin`, {\n selectedOptions,\n });\n\n const result: PatientParamValuesExtended = {};\n\n try {\n selectedOptions &&\n Object.keys(selectedOptions).forEach(paramId => {\n const param = patientParamsDictionary.find(p => Number(p.id) === Number(paramId));\n if (param && Array.isArray(selectedOptions[paramId])) {\n const values = selectedOptions[paramId].map(optionId => {\n const option = param.options.find(o => Number(o.id) === Number(optionId));\n return {\n value: optionId,\n label: option ? option.option : '',\n };\n });\n\n result[param.id] = {\n param,\n values,\n };\n }\n });\n\n logger.debug(`${LOG_MODULE} getPatientParamValuesExtended: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} getPatientParamValuesExtended`, { error });\n throw error;\n }\n};\n\nexport const updatePatientParamValues = async (\n id: string,\n params: PatientParamValues,\n): Promise => {\n logger.debug(`${LOG_MODULE} updatePatientParamValues: begin`, { id, params });\n\n try {\n const result = await fetchWrapper.put(`${API_URL}/${id}/params`, params);\n\n logger.debug(`${LOG_MODULE} updatePatientParamValues: end`, { result });\n return result;\n } catch (error) {\n logger.error(`${LOG_MODULE} updatePatientParamValues`, { error });\n throw error;\n }\n};\n\ntype Params = PatientParamValues;\n\nexport function doesPatientFitProgram(patientParams: Params, programParams: Params): FitStatus {\n logger.debug(`${LOG_MODULE} doesPatientFitProgram: begin`, {\n patientParams,\n programParams,\n });\n\n const cancerTypeIdStr = CANCER_TYPE_PARAM_ID.toString();\n const programCancerTypes = programParams[cancerTypeIdStr] || [];\n const patientCancerTypes = patientParams[cancerTypeIdStr] || [];\n\n logger.debug(`${LOG_MODULE} doesPatientFitProgram: Checking cancer types`, {\n cancerTypeId: cancerTypeIdStr,\n programCancerTypes,\n patientCancerTypes,\n });\n\n if (\n !Array.isArray(programCancerTypes) ||\n programCancerTypes.length === 0 ||\n !Array.isArray(patientCancerTypes) ||\n patientCancerTypes.length === 0\n ) {\n logger.debug(\n `${LOG_MODULE} doesPatientFitProgram: No cancer types specified or invalid format`,\n {\n programCancerTypes,\n patientCancerTypes,\n },\n );\n return FitStatus.NOT_FIT;\n }\n\n const hasMatchingCancerType = programCancerTypes.some(programOption =>\n patientCancerTypes.includes(programOption),\n );\n\n const fitStatus = hasMatchingCancerType ? FitStatus.FULLY_FIT : FitStatus.NOT_FIT;\n\n logger.debug(`${LOG_MODULE} doesPatientFitProgram: end`, {\n hasMatchingCancerType,\n fitStatus,\n });\n\n return fitStatus;\n}\n","import logger from '@/layers/support/monitoring/logger';\nimport { handleError } from './errorHandler';\n\nconst LOG_MODULE = 'FE [Presentation / Utils / fetchWrapper]';\n\nexport const fetchWrapper = {\n get: async (url: string): Promise => {\n logger.debug(`${LOG_MODULE} get: begin`, { url });\n\n try {\n const response = await fetch(url);\n if (!response.ok) {\n throw new Error('Failed to fetch data');\n }\n const data = await response.json(); // Await the JSON response\n\n logger.debug(`${LOG_MODULE} get: end`, { data });\n return data;\n } catch (error) {\n logger.error(`${LOG_MODULE} get`, { error });\n throw error;\n }\n },\n\n post: async (url: string, body: any): Promise => {\n logger.debug(`${LOG_MODULE} post: begin`, { url, body });\n\n try {\n const response = await fetch(url, {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify(body),\n });\n if (!response.ok) {\n throw new Error('Failed to post data');\n }\n const data = await response.json();\n\n logger.debug(`${LOG_MODULE} post: end`, { data });\n return data;\n } catch (error) {\n logger.error(`${LOG_MODULE} post`, { error });\n throw error;\n }\n },\n\n put: async (url: string, body: any): Promise => {\n logger.debug(`${LOG_MODULE} put: begin`, { url, body });\n\n try {\n const response = await fetch(url, {\n method: 'PUT',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify(body),\n });\n if (!response.ok) {\n throw new Error('Failed to update data');\n }\n const data = await response.json();\n\n logger.debug(`${LOG_MODULE} put: end`, { data });\n return data;\n } catch (error) {\n logger.error(`${LOG_MODULE} put`, { error });\n throw error;\n }\n },\n\n delete: async (url: string): Promise => {\n logger.debug(`${LOG_MODULE} delete: begin`, { url });\n\n try {\n const response = await fetch(url, { method: 'DELETE' });\n if (!response.ok) {\n throw new Error('Failed to delete data');\n }\n const data = await response.json();\n\n logger.debug(`${LOG_MODULE} delete: end`, { data });\n return data;\n } catch (error) {\n logger.error(`${LOG_MODULE} delete`, { error });\n throw error;\n }\n },\n};\n","import log from 'loglevel';\n\n// Set default level to INFO\nconst defaultLevel = log.levels.INFO;\n\n// Get log level from environment variable - check both backend and frontend env vars\nconst envLogLevel = (process.env.LOG_LEVEL || process.env.NEXT_PUBLIC_LOG_LEVEL)?.toLowerCase();\n\n// Use environment variable if valid, otherwise use default\nconst validLevels = ['trace', 'debug', 'info', 'warn', 'error', 'silent'] as const;\ntype LogLevel = (typeof validLevels)[number];\n\nconst logLevel =\n envLogLevel && validLevels.includes(envLogLevel as LogLevel)\n ? (envLogLevel as log.LogLevelDesc)\n : defaultLevel;\n\nlog.setLevel(logLevel);\n\n// Check if we're running in a browser environment\nconst isBrowser = typeof window !== 'undefined';\n\ninterface LogEntry {\n timestamp: string;\n message: string;\n module?: string;\n data?: any;\n}\n\n// Helper function to create structured log object\nconst createStructuredLog = (message: string, args: any[]): string | [LogEntry] => {\n const timestamp = new Date().toISOString();\n\n // For browser console, return objects directly\n if (isBrowser) {\n // If using new format (message + {module, data})\n if (args.length === 1 && typeof args[0] === 'object' && 'module' in args[0]) {\n const { module, data } = args[0];\n return [\n {\n timestamp,\n message,\n module,\n data,\n },\n ];\n }\n\n // For old format or other cases\n return [\n {\n timestamp,\n message,\n data: args.length === 1 ? args[0] : args.length > 1 ? args : undefined,\n },\n ];\n }\n\n // For server-side/CloudWatch, return JSON string\n const logObject =\n args.length === 1 && typeof args[0] === 'object' && 'module' in args[0]\n ? {\n timestamp,\n message,\n module: args[0].module,\n data: args[0].data,\n }\n : {\n timestamp,\n message,\n data: args.length === 1 ? args[0] : args.length > 1 ? args : undefined,\n };\n\n return JSON.stringify(logObject);\n};\n\n// Custom log methods that preserve object formatting in browser console\nconst logger = {\n info: (message: string, ...args: any[]) => {\n const logData = createStructuredLog(message, args);\n isBrowser ? log.info(...(logData as [LogEntry])) : log.info(logData);\n },\n warn: (message: string, ...args: any[]) => {\n const logData = createStructuredLog(message, args);\n isBrowser ? log.warn(...(logData as [LogEntry])) : log.warn(logData);\n },\n error: (message: string, ...args: any[]) => {\n const logData = createStructuredLog(message, args);\n isBrowser ? log.error(...(logData as [LogEntry])) : log.error(logData);\n },\n debug: (message: string, ...args: any[]) => {\n const logData = createStructuredLog(message, args);\n isBrowser ? log.debug(...(logData as [LogEntry])) : log.debug(logData);\n },\n setLevel: (level: log.LogLevelDesc) => log.setLevel(level),\n};\n\nexport default logger;\n","// Define enums for user types\nexport enum UserType {\n PATIENT = 'Patient',\n PROVIDER = 'Provider',\n SPONSOR = 'Sponsor',\n PLATFORM_OWNER = 'PlatformOwner',\n ADMIN = 'Admin',\n}\n\nexport enum ProgramStatus {\n DRAFT = 'Draft',\n ACTIVE = 'Active',\n INACTIVE = 'Inactive',\n ARCHIVED = 'Archived',\n}\n\nexport enum ProgramStatusColor {\n Draft = 'warning',\n Active = 'success',\n Inactive = 'default',\n Archived = 'default',\n}\n\n// Define enums for param types and levels\nexport enum ParamType {\n Text = 'Text',\n Number = 'Number',\n Date = 'Date',\n Location = 'Location',\n Boolean = 'Boolean',\n Select = 'Select',\n}\n\nexport enum ParamLevel {\n Mandatory = 'Mandatory',\n Basic = 'Basic',\n Additional = 'Additional',\n Advanced = 'Advanced',\n}\n\nexport enum FormType {\n ProgramRequest = 'ProgramRequest',\n ICF = 'ICF',\n Patient = 'Patient',\n Provider = 'Provider',\n}\n\nexport enum UserGender {\n Male = 'Male',\n Female = 'Female',\n Other = 'Other',\n}\n\nexport enum ProviderVerificationStatus {\n NonVerified = 'Non-verified',\n Pending = 'Pending',\n Verified = 'Verified',\n Rejected = 'Rejected',\n}\n\nexport enum NotificationType {\n Info = 'info',\n Warning = 'warning',\n Error = 'error',\n Success = 'success',\n}\n\n// Define FitStatus enum\nexport enum FitStatus {\n FULLY_FIT = 'fullyFit',\n PARTIALLY_FIT = 'partiallyFit',\n NOT_FIT = 'notFit',\n}\n\nexport enum ProgramRequestStatus {\n None = 'Not sent',\n Sent = 'Sent',\n Pending = 'Pending',\n Approved = 'Approved',\n Declined = 'Declined',\n Withdrawn = 'Withdrawn',\n}\n\nexport enum ProgramRequestType {\n Simple = 'Simple',\n Full = 'Full',\n}\n\nexport enum ProgramRequestStatusColor {\n Pending = 'warning',\n Approved = 'success',\n Declined = 'danger',\n Withdrawn = 'default',\n}\n","import { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n","import { CamelToPascal } from './utility-types';\n\n/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n\n/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) => {\n return createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n );\n },\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),\n ...props,\n }),\n );\n\n Component.displayName = `${iconName}`;\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4', key: 'u53s6r' }],\n ['polyline', { points: '10 17 15 12 10 7', key: '1ail0h' }],\n ['line', { x1: '15', x2: '3', y1: '12', y2: '12', key: 'v6grx8' }],\n];\n\n/**\n * @component @name LogIn\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgM2g0YTIgMiAwIDAgMSAyIDJ2MTRhMiAyIDAgMCAxLTIgMmgtNCIgLz4KICA8cG9seWxpbmUgcG9pbnRzPSIxMCAxNyAxNSAxMiAxMCA3IiAvPgogIDxsaW5lIHgxPSIxNSIgeDI9IjMiIHkxPSIxMiIgeTI9IjEyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/log-in\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LogIn = createLucideIcon('LogIn', __iconNode);\n\nexport default LogIn;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4', key: '1uf3rs' }],\n ['polyline', { points: '16 17 21 12 16 7', key: '1gabdz' }],\n ['line', { x1: '21', x2: '9', y1: '12', y2: '12', key: '1uyos4' }],\n];\n\n/**\n * @component @name LogOut\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOSAyMUg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yaDQiIC8+CiAgPHBvbHlsaW5lIHBvaW50cz0iMTYgMTcgMjEgMTIgMTYgNyIgLz4KICA8bGluZSB4MT0iMjEiIHgyPSI5IiB5MT0iMTIiIHkyPSIxMiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/log-out\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LogOut = createLucideIcon('LogOut', __iconNode);\n\nexport default LogOut;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2', key: '975kel' }],\n ['circle', { cx: '12', cy: '7', r: '4', key: '17ys0d' }],\n];\n\n/**\n * @component @name User\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTkgMjF2LTJhNCA0IDAgMCAwLTQtNEg5YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/user\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst User = createLucideIcon('User', __iconNode);\n\nexport default User;\n"],"names":["Promise","resolve","then","__webpack_require__","bind","default","_default","getImageProps","imgProps","props","getImgProps","defaultLoader","imgConf","process","key","value","Object","entries","undefined","Image","CANCER_TYPE_PARAM_ID","CANCER_SUBTYPE_PARAM_ID","common_Logo","size","showText","className","variant","param","jsx_runtime","jsx","Link","href","jsxs","div","src","alt","fill","priority","span","cn","Menu","menuItems","router","useRouter","handleItemClick","item","push","onPress","ButtonGroup","concat","map","index","Button","startContent","icon","isActive","onClick","label","common_Navbar","t","useTranslation","user","useGlobalState","isMenuOpen","setIsMenuOpen","useState","pathname","usePathname","getAuthPath","startsWith","textStyles","transparent","dark","split","filter","Boolean","length","type","UserType","PROVIDER","SPONSOR","PATIENT","NextUINavbar","maxWidth","variantStyles","onMenuOpenChange","NavbarContent","NavbarBrand","Logo","justify","NavbarItem","as","User","LogOut","LogIn","NavbarMenuToggle","aria-label","NavbarMenu","NavbarMenuItem","Fragment","GlobalStateContext","createContext","GlobalStateProvider","children","patientParamsDictionary","setpatientParamsDictionary","isLoadingParams","setIsLoadingParams","error","setError","setUser","profile","setProfile","selectedOptions","setSelectedOptions","query","setQuery","logger","debug","module","data","useEffect","fetchParams","fetchpatientParamsDictionary","message","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","Provider","getProviderProfile","getPatientProfile","getSponsorProfile","context","useContext","i18n","useReactI18nextTranslation","LOG_MODULE","API_URL","fetchPatients","filters","result","fetchWrapper","get","JSON","stringify","fetchPatientById","id","fetchPatientByUserId","createPatient","patient","post","createPatientByUserId","user_id","updatePatient","put","getPatientParamBySlug","params","slug","find","getPatientParamValuesExtended","keys","forEach","paramId","p","Number","Array","isArray","values","optionId","option","options","o","updatePatientParamValues","doesPatientFitProgram","patientParams","programParams","cancerTypeIdStr","toString","programCancerTypes","patientCancerTypes","cancerTypeId","FitStatus","NOT_FIT","hasMatchingCancerType","some","programOption","includes","fitStatus","FULLY_FIT","url","response","fetch","ok","json","body","method","headers","delete","defaultLevel","log","INFO","envLogLevel","env","LOG_LEVEL","_this","toLowerCase","logLevel","validLevels","createStructuredLog","args","timestamp","Date","toISOString","__webpack_exports__","Z","info","logData","warn","setLevel","level","ProgramStatus","ProgramStatusColor","ParamType","ParamLevel","FormType","UserGender","ProviderVerificationStatus","NotificationType","ProgramRequestStatus","ProgramRequestType","ProgramRequestStatusColor","_len","arguments","inputs","_key","twMerge","clsx","toKebabCase","string","replace","mergeClasses","classes","array","trim","indexOf","join","defaultAttributes","xmlns","width","height","viewBox","stroke","strokeWidth","strokeLinecap","strokeLinejoin","Icon","forwardRef","ref","color","absoluteStrokeWidth","iconNode","rest","createElement","tag","attrs","createLucideIcon","iconName","Component","displayName","d","points","x1","x2","y1","y2","cx","cy","r"],"sourceRoot":""}