\n
icon}\n />\n {title}
\n \n {!showPlaceholder ? (\n content\n ) : (\n {placeholder}\n )}\n
\n \n );\n}\n\nexport default SelectedInfoPanel;\n","import moment from 'moment';\nimport { month, ordinal_suffix_of } from '../components/common/Utils';\nimport dayjs from 'dayjs';\n\nconst getDayName = (dayIndex) => {\n const days = [\n 'Sunday',\n 'Monday',\n 'Tuesday',\n 'Wednesday',\n 'Thursday',\n 'Friday',\n 'Saturday',\n ];\n return days[dayIndex];\n};\n\nconst getFullDate = (date) => {\n if (!date) {\n return null;\n }\n const day = String(date.getDate()).padStart(2, '0');\n const month = String(date.getMonth() + 1).padStart(2, '0');\n const year = date.getFullYear();\n\n return year + '-' + month + '-' + day;\n};\n\n/**\n * Returns the next date after Today which is not in blockedDates\n * @param blockedDates {Array