{"version":3,"file":"static/chunks/pages/important-notices-0b10e6efeb2720e69ce9.js","mappings":"8LAwCA,MA9BA,YAA2E,QAAzDA,KAAAA,OAAyD,MAAlD,KAAkD,MAA5CC,SAAAA,OAA4C,MAAjC,GAAiC,MAA7BC,QAAAA,OAA6B,MAAnB,GAAmB,EACnEC,EAAgBH,ECTE,SAACA,GAAD,OACxBI,EAAAA,EAAAA,GAAO,IAAIC,KAAKL,GAAO,YDQMM,CAAWN,GAAQ,KAEhD,OAAKC,GAAaE,IAAiBD,GAWjC,qBAASK,UAAU,mBAAmB,cAAY,SAAlD,WACE,gBAAKA,UAAU,wBAAwB,cAAY,cAAnD,SACGJ,KAGH,iBAAKI,UAAU,qBAAf,WACE,gBAAIA,UAAU,mDAAd,UACGN,GACD,kBAAMM,UAAU,YAAhB,cAA8BJ,SAEhC,cAAGI,UAAU,OAAb,SAAqBL,WAnBvB,oBACEK,UAAU,sDACV,cAAY,SAFd,UAIE,cAAGA,UAAU,cAAb,SAA4BL,O,qkBEDpC,MAdA,YAA6D,IAAvCM,EAAuC,EAAvCA,QACpB,OACE,8BACGA,GAAWA,EAAQC,OAClBD,EAAQE,KAAI,SAACC,GAAD,OAAY,mBAAC,EAAD,OAAYA,GAAZ,IAAoBC,IAAKD,EAAOE,UAExD,gBAAKN,UAAU,cAAf,UACE,mDCGV,EAZ+B,CAC7B,CAAEL,QAAS,yDCab,MAXA,WACE,OACE,iBAAKK,UAAU,wCAAf,WACE,gBAAKA,UAAU,oBAAoB,UAAQ,wBAA3C,UACE,eAAIA,UAAU,sBAAd,kCAEF,SAAC,EAAD,CAAYC,QAASA,S,uBCVtBM,OAAOC,SAAWD,OAAOC,UAAY,IAAIC,KAAK,CAC7C,qBACA,WACE,OAAO,EAAQ,Y","sources":["webpack://_N_E/./src/components/pages/important-notices/Notice.tsx","webpack://_N_E/./src/utils/formatDate.ts","webpack://_N_E/./src/components/pages/important-notices/NoticeList.tsx","webpack://_N_E/./src/utils/notices.ts","webpack://_N_E/./pages/important-notices.tsx","webpack://_N_E/?a326"],"sourcesContent":["import React from 'react'\nimport { formatDate } from '@utils/formatDate'\n\nexport interface NoticeProps {\n headline?: string\n details: string\n date?: string\n id?: string\n}\n\nfunction Notice({ date = null, headline = '', details = '' }: NoticeProps) {\n const formattedDate = date ? formatDate(date) : null\n\n if (!headline && !formattedDate && details) {\n return (\n \n

{details}

\n \n )\n }\n return (\n
\n
\n {formattedDate}\n
\n\n
\n

\n {headline}\n {formattedDate}\n

\n

{details}

\n
\n
\n )\n}\n\nexport default Notice\n","import { format } from 'date-fns'\n\nexport const formatDate = (date: string | number | Date) =>\n format(new Date(date), 'MM/dd/yy')\n","import React from 'react'\n\nimport Notice, { NoticeProps } from './Notice'\n\nfunction NoticeList({ notices }: { notices: NoticeProps[] }) {\n return (\n <>\n {notices && notices.length ? (\n notices.map((notice) => )\n ) : (\n
\n

No Active Notices

\n
\n )}\n \n )\n}\n\nexport default NoticeList\n","import { NoticeProps } from '@components/pages/important-notices/Notice'\n\nconst notices: NoticeProps[] = [\n { details: 'There are no new important notices or notifications.' },\n // {\n // headline: 'Weather-Related Closures',\n // details: `\n // IAH, HOU & MSY closed Jan 21st due to severe weather\n // `,\n // date: '01/21/2025',\n // id: 'health-and-wellness',\n // },\n]\n\nexport default notices\n","import React from 'react'\n\nimport NoticeList from '@components/pages/important-notices/NoticeList'\nimport notices from '@utils/notices'\n\nfunction ImportantNotices() {\n return (\n
\n
\n

Important Notices

\n
\n \n
\n )\n}\n\nexport default ImportantNotices\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/important-notices\",\n function () {\n return require(\"private-next-pages/important-notices.tsx\");\n }\n ]);\n "],"names":["date","headline","details","formattedDate","format","Date","formatDate","className","notices","length","map","notice","key","id","window","__NEXT_P","push"],"sourceRoot":""}