{"version":3,"file":"static/js/4293.a3861d4c.chunk.js","mappings":"wPAWA,MAmDA,EAnDuBA,KACnB,MAAOC,EAAUC,GAAeC,EAAAA,WAEhCA,EAAAA,WAAgB,MACZ,uBACUC,GACT,CAFD,EAEI,GACL,IAEH,MAAMA,EAAoBC,gBAChBC,EAAAA,EACDF,kBAAkB,GAADG,OAAIC,EAAAA,GAAaC,sBAAqB,KAAAF,OAAIC,EAAAA,GAAaE,gBACxEC,MAAMC,IACH,MAAM,KAAEC,GAASD,EAASC,KAC1BX,EAAYW,EAAK,IAEpBC,OAAM,IAAMC,EAAAA,GAAMC,MAAMC,EAAAA,EAASC,qBAAoB,EAG9D,OACIC,EAAAA,EAAAA,MAAAC,EAAAA,SAAA,CAAAC,SAAA,EACIC,EAAAA,EAAAA,KAACC,EAAAA,EAAM,CAAAF,UACHC,EAAAA,EAAAA,KAAA,SAAAD,SAAO,qCAEVpB,IACGqB,EAAAA,EAAAA,KAAA,OAAKE,UAAU,YAAWH,UACtBC,EAAAA,EAAAA,KAACG,EAAAA,EAAS,CAACC,SAAS,KAAIL,UACpBC,EAAAA,EAAAA,KAAA,WAASE,UAAU,eAAcH,UAC7BF,EAAAA,EAAAA,MAAA,OAAKK,UAAU,YAAWH,SAAA,EACtBC,EAAAA,EAAAA,KAAA,MAAIE,UAAU,YAAWH,UACrBC,EAAAA,EAAAA,KAAA,OAAKK,IAAKC,EAAAA,EAAOC,UAAWC,IAAI,cAEpCX,EAAAA,EAAAA,MAACY,EAAAA,EAAU,CAACC,QAAQ,KAAIX,SAAA,CAAC,YACbC,EAAAA,EAAAA,KAAA,QAAAD,SAAM,WAAa,iBAG/BC,EAAAA,EAAAA,KAAA,KACIE,UAAU,2BACVS,wBAAyB,CACrBC,QAAQC,EAAAA,EAAAA,IAAgBlC,EAAUO,EAAAA,GAAaE,6BAQ5E,C","sources":["pages/Home.tsx"],"sourcesContent":["import React from 'react';\nimport { Container, Typography } from '@mui/material';\nimport images from 'assets/images';\nimport { ISettingModel } from 'models/settings';\nimport { toast } from 'react-toastify';\nimport settingService from 'services/settings/setting-service';\nimport messages from 'shared/constants/messages';\nimport { SettingNames } from 'shared/enums/settings';\nimport { getSettingValue } from 'shared/utils/commonFunctions';\nimport { Helmet } from 'react-helmet';\n\nconst Home: React.FC = () => {\n const [settings, setSettings] = React.useState>();\n\n React.useEffect(() => {\n (async function () {\n await getSettingsByName();\n })();\n }, []);\n\n const getSettingsByName = async () => {\n await settingService\n .getSettingsByName(`${SettingNames.CMS_CONTACT_US_MOBILE},${SettingNames.CMS_HOME_PAGE}`)\n .then((response) => {\n const { data } = response.data;\n setSettings(data);\n })\n .catch(() => toast.error(messages.SomethingWentWrong));\n };\n\n return (\n <>\n \n PHMSO: Welcome to PHMSO Portal\n \n {settings && (\n
\n \n
\n
\n \n \"doctor\"\n \n \n Pacific Health MSO, Inc.\n \n\n

\n
\n
\n
\n
\n )}\n \n );\n};\n\nexport default Home;\n"],"names":["Home","settings","setSettings","React","getSettingsByName","async","settingService","concat","SettingNames","CMS_CONTACT_US_MOBILE","CMS_HOME_PAGE","then","response","data","catch","toast","error","messages","SomethingWentWrong","_jsxs","_Fragment","children","_jsx","Helmet","className","Container","maxWidth","src","images","DoctorBg2","alt","Typography","variant","dangerouslySetInnerHTML","__html","getSettingValue"],"sourceRoot":""}