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,cAACmG,EAAM,QAGH,EAEZ,MCZA,KCgBAgD,E,SAAAA,KAEAC,SAASC,iBAAiB,oBAAoB,YAC/BC,EAAAA,EAAAA,GAAWF,SAASG,eAAe,SAC3CC,OAAOxJ,EAAAA,cAAC8I,EAAW,MAC1B,G","sources":["webpack:///./node_modules/@mui/icons-material/ArrowCircleRight.js","webpack:///./src/apps/tools/routes/Login/Login.tsx","webpack:///./src/apps/tools/routes/ResetPassword/ResetPassword.tsx","webpack:///./src/apps/tools/routes/ResetPassword/ForgotPassword.tsx","webpack:///./src/apps/tools/routes/Home/AppCard.tsx","webpack:///./src/apps/tools/routes/Home/Home.tsx","webpack:///./src/apps/tools/routes/Profile/Profile.tsx","webpack:///./src/apps/tools/routes/index.tsx","webpack:///./src/apps/tools/theme/index.ts","webpack:///./src/apps/tools/compositions/NavDrawer/NavDrawer.tsx","webpack:///./src/apps/tools/compositions/NavBar/NavBar.tsx","webpack:///./src/apps/tools/compositions/NavBar/index.ts","webpack:///./src/apps/tools/compositions/NavDrawer/index.ts","webpack:///./src/apps/tools/compositions/Application/Context.tsx","webpack:///./src/apps/tools/compositions/Application/Application.tsx","webpack:///./src/apps/tools/compositions/Application/index.ts","webpack:///./src/tools.tsx"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10 10-4.48 10-10zm-10 1H8v-2h4V8l4 4-4 4v-3z\"\n}), 'ArrowCircleRight');\nexports.default = _default;","import React from 'react'\nimport { Link as RouterLink } from 'react-router-dom'\nimport { Box, Link, Text, Page } from 'components'\nimport { LoginForm } from 'compositions/LoginForm'\nimport OrdoLogo from 'theme/ordo-logo.svg'\n\nexport const Login: React.FC = () => {\n return \n \n \n \n \n\n Sign in\n\n \n\n \n Forgot password?\n \n \n \n}\n\nexport default Login\n","import React from 'react'\nimport { Link as RouterLink } from 'react-router-dom'\nimport { Box, Link, Text, Page } from 'components'\nimport { ResetPasswordForm } from 'compositions/ResetPasswordForm'\nimport OrdoLogo from 'theme/ordo-logo.svg'\n\nexport const ResetPassword: React.FC = () => {\n return \n \n \n \n \n\n Reset password\n\n \n \n \n}\n\nexport default ResetPassword\n","import React from 'react'\nimport { Link as RouterLink } from 'react-router-dom'\nimport { Box, Link, Text, Page } from 'components'\nimport { ForgotPasswordForm } from 'compositions/ResetPasswordForm'\nimport OrdoLogo from 'theme/ordo-logo.svg'\n\nexport const ForgotPassword: React.FC = () => {\n return \n \n \n \n \n\n Forgot password\n\n \n \n \n}\n\nexport default ForgotPassword\n","import React from 'react'\nimport { Box, Card, CardHeader, CardContent, Link, Text } from 'components'\nimport type { Property } from 'csstype'\nimport type { ResponsiveStyleValue } from '@mui/system'\nimport type { Theme } from '@mui/material/styles'\nimport ArrowCircleRight from '@mui/icons-material/ArrowCircleRight'\n\nexport type AppCardProps = {\n loginUrl: string\n title: string\n description: string\n icon: React.ReactElement\n color: ResponsiveStyleValue | ((theme: Theme) => ResponsiveStyleValue)\n backgroundColor: ResponsiveStyleValue | ((theme: Theme) => ResponsiveStyleValue)\n}\n\nexport const AppCard: React.FC = ({ loginUrl, title, description, icon, color, backgroundColor }) => {\n return \n \n { icon }\n\n { title }\n\n \n }\n titleTypographyProps={{\n color: color,\n }}\n sx={{ p: 0 }}\n />\n \n { description }\n \n \n}\n\nexport default AppCard\n","import React from 'react'\nimport { useLoginUrl, useMe } from 'hooks'\nimport {\n Market as MarketIcon,\n Campus as CampusIcon,\n Kitchen as KitchenIcon,\n Kiosk as KioskIcon,\n Admin as AdminIcon,\n} from 'icons'\nimport { Box, Page, Text } from 'components'\nimport { AppCard } from './AppCard'\n\nexport const Home: React.FC = () => {\n const { me, hasMarketAccess, hasKioskAccess, hasKitchenAccess, hasCampusAccess, hasLuxoAccess } = useMe()\n const marketLoginUrl = useLoginUrl('market')\n const campusLoginUrl = useLoginUrl('campus')\n const kitchenLoginUrl = useLoginUrl('kitchen')\n const kioskLoginUrl = useLoginUrl('kiosk')\n const luxoLoginUrl = useLoginUrl('luxo')\n\n return \n Hi {me.firstName}!\n Jump back in\n\n \n { hasKioskAccess && }\n color={(theme) => theme.palette.kiosk.dark}\n backgroundColor={(theme) => theme.palette.kiosk.light}\n title=\"Cafeteria Kiosk\"\n description=\"View school’s orders and handout food.\"\n /> }\n\n { hasKitchenAccess && }\n color={(theme) => theme.palette.kitchen.dark}\n backgroundColor={(theme) => theme.palette.kitchen.light}\n title=\"Kitchen Manager\"\n description=\"Review orders, menu, recipes, and more.\"\n /> }\n\n { hasCampusAccess && }\n color={(theme) => theme.palette.campus.dark}\n backgroundColor={(theme) => theme.palette.campus.light}\n title=\"School Admin\"\n description=\"Manage your lunch program, documents, and more.\"\n /> }\n\n { hasMarketAccess && }\n color={(theme) => theme.palette.market.dark}\n backgroundColor={(theme) => theme.palette.market.light}\n title=\"Order Meals\"\n description=\"Create orders and manage your family account.\"\n /> }\n\n { hasLuxoAccess && }\n color={(theme) => theme.palette.luxo.main}\n backgroundColor={(theme) => theme.palette.luxo.light}\n title=\"Ordo Admin\"\n description=\"Internal tools for Ordo team members only.\"\n /> }\n \n \n}\n\nexport default Home\n","import React from 'react'\nimport { Page } from 'components'\nimport { ManageProfile } from 'compositions'\n\nexport const Profile: React.FC = () => \n \n\n\nexport default Profile\n","import React from 'react'\nimport {\n Home as HomeIcon,\n ManageAccount as ManageAccountIcon,\n} from 'icons'\nimport { Routes, RouteDefinitions } from 'compositions/Routes'\nimport { Login } from './Login'\nimport { ResetPassword, ForgotPassword } from './ResetPassword'\nimport { Home } from './Home'\nimport { Profile } from './Profile'\n\nexport const routes: RouteDefinitions = [\n { path: '/', element: , name: 'Home', icon: HomeIcon, navMenu: false },\n { path: 'profile', element: , name: 'Manage Account', icon: ManageAccountIcon, navMenu: false },\n { path: 'login', element: , name: 'Login', public: true, navMenu: false },\n { path: 'users/password/new', element: , name: 'Forgot Password', public: true, navMenu: false },\n { path: 'users/password/edit', element: , name: 'Reset Password', public: true, navMenu: false },\n { path: '*', element: , name: 'Login', public: true, navMenu: false },\n]\n\nexport const Router: React.FC = () => {\n return \n}\n\nexport default Router\n","import type {} from '@mui/x-date-pickers-pro/themeAugmentation'\nimport { deepmerge } from '@mui/utils'\nimport { createTheme, ThemeOptions } from '@mui/material/styles'\nimport { options as baseOptions } from 'theme'\n\nexport const options: ThemeOptions = {}\n\nexport const theme = createTheme(deepmerge(baseOptions, options))\n\nexport default theme\n","import React from 'react'\nimport { useLocation } from 'react-router'\nimport { useMe } from 'hooks'\nimport { Link as RouterLink } from 'react-router-dom'\nimport {\n NavDrawer as AppNavDrawer,\n NavDrawerProps,\n NavMenuItemWrapper,\n} from 'compositions/NavDrawer'\nimport { MenuLink } from 'components'\nimport { ManageAccount as ManageAccountIcon } from 'icons'\n\nexport const AccountMenuItems: React.FC<{ me: ReturnType }> = () => {\n const location = useLocation()\n\n return <>\n \n \n \n My Profile\n \n \n >\n}\n\nexport const NavDrawer: React.FC> = (props) =>{\n return \n}\n\nexport default NavDrawer","import React from 'react'\nimport { NavBar as AppNavBar, NavBarProps } from 'compositions/NavBar'\nimport { Box } from 'components'\nimport { AccountMenuItems } from '../NavDrawer/NavDrawer'\n\nexport const NavBar: React.FC = (props) => \n \n {/* Portal for rendering filters, etc. on mobile */}\n \n\n\nexport default NavBar","import { NavBar } from './NavBar'\n\nexport { NavBar }\nexport default NavBar","import { NavDrawer } from './NavDrawer'\n\nexport { NavDrawer }\nexport default NavDrawer","import React, { PropsWithChildren, createContext, useCallback, useReducer } from 'react'\nimport { useLocalStorage } from 'hooks'\n\nexport type ToolsContext = object\n\nconst initialState: ToolsContext = {}\n\nexport const ApplicationContext = createContext(initialState)\n\nexport type ContextAction = undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst contextReducer = (state: ToolsContext, action: ContextAction) => {\n return state\n // switch(action.type) {\n // case 'SET_CURRENT_SCHOOL':\n // return {\n // ...state,\n // currentSchoolLocation: action.payload,\n // }\n // default:\n // return state\n // }\n}\n\nexport const ContextProvider: React.FC = ({ children }) => {\n const [stored, setStored] = useLocalStorage('toolsContext', initialState)\n\n const localStorageReducer = useCallback(\n (state: ToolsContext, action: ContextAction) => {\n const newState = contextReducer(state, action)\n setStored(newState)\n return newState\n },\n [setStored]\n )\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [state, dispatch] = useReducer(localStorageReducer, stored)\n\n const contextValue: ToolsContext = {\n ...state,\n }\n\n return \n {children}\n \n}\n\nexport default ContextProvider","import React from 'react'\nimport { Wrapper, Layout } from 'compositions/Application'\nimport Routes from '@tools/routes'\nimport { theme } from '@tools/theme'\nimport NavBar from '@tools/compositions/NavBar'\nimport NavDrawer from '@tools/compositions/NavDrawer'\nimport { ContextProvider } from './Context'\n\nexport const Application: React.FC = () =>\n \n \n \n \n \n \n \n\nexport default Application\n","import { Application } from './Application'\nimport { ApplicationContext, ToolsContext } from './Context'\n\nexport type { ToolsContext }\nexport { Application, ApplicationContext }\nexport default Application\n","/* eslint no-console:0 */\n// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within src and only use these pack files to reference\n// that code so it'll be compiled.\n//\n// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate\n// layout file, like app/views/layouts/application.html.erb\n\n// Uncomment to copy all static images under ./images to the output folder and reference\n// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)\n// or the `imagePath` JavaScript helper below.\n//\n// const images = require.context('./images', true)\n// const imagePath = (name) => images(name, true)\n\nimport React from 'react'\nimport { createRoot } from 'react-dom/client'\nimport Application from '@tools/compositions/Application'\nimport initSentry from 'utils/sentry'\n\ninitSentry()\n\ndocument.addEventListener('DOMContentLoaded', (): void => {\n const root = createRoot(document.getElementById('root'))\n root.render()\n})\n"],"names":["_interopRequireDefault","exports","_createSvgIcon","_jsxRuntime","_default","default","jsx","d","Login","React","Page","Box","sx","width","md","mx","mb","textAlign","Link","component","RouterLink","to","OrdoLogo","height","Text","variant","LoginForm","display","ml","ResetPassword","ResetPasswordForm","ForgotPassword","ForgotPasswordForm","AppCard","_ref","loginUrl","title","description","icon","color","backgroundColor","Card","flexGrow","flexBasis","xs","xl","CardHeader","alignItems","px","pt","pb","href","p","lineHeight","pl","fontWeight","ArrowCircleRight","fontSize","titleTypographyProps","CardContent","py","my","Home","_useMe","useMe","me","hasMarketAccess","hasKioskAccess","hasKitchenAccess","hasCampusAccess","hasLuxoAccess","marketLoginUrl","useLoginUrl","campusLoginUrl","kitchenLoginUrl","kioskLoginUrl","luxoLoginUrl","autoHeight","fullWidth","firstName","justifyContent","flexWrap","gap","KioskIcon","theme","palette","kiosk","dark","light","KitchenIcon","kitchen","CampusIcon","campus","MarketIcon","market","AdminIcon","luxo","main","Profile","ManageProfile","routes","path","element","name","HomeIcon","navMenu","ManageAccountIcon","public","Routes","appName","createTheme","deepmerge","baseOptions","AccountMenuItems","location","useLocation","NavMenuItemWrapper","locationMatch","pathname","MenuLink","marginRight","NavDrawer","props","AppNavDrawer","Object","assign","NavBar","AppNavBar","id","initialState","ApplicationContext","createContext","ContextProvider","children","_useLocalStorage2","_slicedToArray","useLocalStorage","stored","setStored","localStorageReducer","useCallback","state","action","newState","contextReducer","_useReducer2","useReducer","contextValue","_objectSpread","Provider","value","Application","Wrapper","Layout","navBar","navDrawer","initSentry","document","addEventListener","createRoot","getElementById","render"],"sourceRoot":""}