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a,wBAAoB,mBAAgB,KACnD,wBAAoB,OAAQ,CAAE1J,UAAW,gCAEzC,KACA,wBAAoB,OAAQ,CAAEA,UAAW,kCACrC,IACAnK,EAAE,sBAAuB,eACrC,wBAAoB,QAAS,CAAEmK,WAAW,QAAQ,kKAAmK,oBAAqByJ,IAChO,uIACA,qMAAsMxO,GACxM,4GAA6GsH,GAAIjM,EAAMiM,IAAMjM,EAAMyM,UAAW,aAAczM,EAAMyM,UAAWJ,SAAUA,EAAUzE,KAAM+E,EAAW0G,UAAWrT,EAAMqT,UAAW1P,MAAO3D,EAAMsT,iBAAmBtT,EAAM2D,MAAQA,EAAOuO,YAAaA,GAAe,GAAI/F,SAzBpU,SAAUoH,GACzB,IAAI5P,EAAQ4P,EAAM5H,OAAOhI,MACzBkO,EAASlO,GACLwI,GACAA,EAASxI,EAEjB,EAmB+W6P,QAAS,WAAc,OAAO1B,EAAS,GAAK,EAAG2B,OAAQR,EAAkBS,WAAW,QAAY,WAAc,OAAO3B,GAAW,IAAI4B,aAAc,MAAO,iBAAkBhP,EAAO,gBAAiB3E,EAAMoT,SAAUQ,IAAK5T,EAAM4T,IAAKC,UAAW7T,EAAM6T,UAAWjC,IAAKA,KAC3mBjN,EAAS,wBAAoB,MAAO,CAAEqH,KAAM,QAAStC,UAAW,uCAAyC/E,GAAW,wBAAoB,MAAO,CAAE+E,UAAW,SACxK,G","sources":["webpack:///./src/components/clearstep/BookAppointment/BookAppointmentForm/bookAppointmentUtil.ts","webpack:///./src/components/clearstep/CVSCareLocation/CVSCareLocation.tsx","webpack:///./src/components/clearstep/CVSCareLocation/CVSCareLocation.css?2963","webpack:///./src/components/svg/Compass.tsx","webpack:///./src/components/svg/CoronavirusIcon.tsx","webpack:///./src/components/svg/SuccessIcon.tsx","webpack:///./src/components/tailwind_clearstep/PartnerLocationAppointmentScheduling/PartnerLocationAppointmentScheduling.tsx","webpack:///./src/components/tailwind_clearstep/PartnerLocationAppointmentScheduling/NoAvailableAppointments.tsx","webpack:///./src/components/tailwind_common/Tab.tsx","webpack:///./src/components/tailwind_common/FindCarePlaceholder.tsx","webpack:///./src/components/tailwind_common/Loading.tsx","webpack:///./src/components/tailwind_common/Modal/Modal.Lazy.tsx","webpack:///./src/components/tailwind_common/Modal/Modal.Lazy.Wrapped.tsx","webpack:///./src/components/tailwind_common/TextField.tsx"],"sourcesContent":["export var isTomorrow = function (date) {\n var tomorrow = new Date();\n tomorrow.setDate(tomorrow.getDate() + 1);\n return (tomorrow.getDate() === date.getDate() &&\n tomorrow.getMonth() === date.getMonth() &&\n tomorrow.getFullYear() === date.getFullYear());\n};\nexport var isToday = function (date) { return new Date().toDateString() === date.toDateString(); };\nexport var getTodayOrTomorrow = function (apptString) {\n var apptDate = new Date(apptString);\n if (isToday(apptDate)) {\n return 'Today, ';\n }\n if (isTomorrow(apptDate)) {\n return 'Tomorrow, ';\n }\n return \"\".concat(apptDate.toLocaleDateString('en-US', { weekday: 'long' }), \", \");\n};\nexport var formatDateForDisplay = function (apptString) {\n if (apptString) {\n var date = new Date(apptString);\n return date.toLocaleString('en-US', { month: 'long', day: 'numeric', year: 'numeric' });\n }\n return '';\n};\nexport var formatTimeForDisplay = function (apptString) {\n var date = new Date(apptString);\n var time = date.toLocaleTimeString([], { hour: 'numeric', minute: '2-digit' }).toLowerCase();\n return time;\n};\nexport var getFormattedDate = function (apptString) {\n return \"\".concat(getTodayOrTomorrow(apptString) + formatDateForDisplay(apptString), \" at \").concat(formatTimeForDisplay(apptString));\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport 'i18next';\nimport { twMerge } from 'tailwind-merge';\nimport Modal from '../../tailwind_common/Modal/Modal.Lazy.Wrapped';\nimport '../proto/care_locations_pb';\nimport { formatAddress, formatStructuredAddress, mapsDirectionsURL, mapURL, } from '../util/CareLocationHelpers';\nimport PartnerLocationAppointmentScheduling, { Day, } from '../../tailwind_clearstep/PartnerLocationAppointmentScheduling/PartnerLocationAppointmentScheduling';\nimport { CompassIcon } from '../../svg/Compass';\nimport { MapIcon } from '../../svg/Map';\nimport { MapPinIcon } from '../../svg/MapPin';\nimport { CoronavirusIcon } from '../../svg/CoronavirusIcon';\nimport { logEvent, MessageType } from '../../../util/EventLog';\nimport { addParams, UTMContext } from '../../../util/UTM';\nimport { SuccessIcon } from '../../svg/SuccessIcon';\nimport styles from './CVSCareLocation.css';\nimport { InfoIcon } from '../../svg/InfoIcon';\nimport { bookAppointment } from '../../../api/ConversationResults';\nimport ButtonWithIcon from '../../tailwind_common/ButtonWithIcon';\nimport Checkbox from '../../tailwind_common/Checkbox';\nimport LinkWithIcon from '../../tailwind_common/LinkWithIcon';\nimport Loading from '../../tailwind_common/Loading';\nimport Button from '../../tailwind_common/Button';\nimport TextField from '../../tailwind_common/TextField';\nimport { THEME } from '../util/Theme';\n/* eslint-disable react/jsx-no-literals */\n/*\n disabling jsx-no-literals as CVS does not currently require translation\n*/\nvar GenderOptions;\n(function (GenderOptions) {\n GenderOptions[\"FEMALE\"] = \"Female\";\n GenderOptions[\"MALE\"] = \"Male\";\n})(GenderOptions || (GenderOptions = {}));\nvar YesNoOptions;\n(function (YesNoOptions) {\n YesNoOptions[\"YES\"] = \"Yes\";\n YesNoOptions[\"NO\"] = \"No\";\n})(YesNoOptions || (YesNoOptions = {}));\nvar CovidRiskType;\n(function (CovidRiskType) {\n CovidRiskType[\"VACCINE\"] = \"Vaccine\";\n CovidRiskType[\"SYMPTOMS\"] = \"Symptoms\";\n})(CovidRiskType || (CovidRiskType = {}));\nvar CVSCareLocation = /** @class */ (function (_super) {\n __extends(CVSCareLocation, _super);\n function CVSCareLocation(props) {\n var _this = _super.call(this, props) || this;\n _this.getBookingFormErrorText = function () {\n var _a = _this.state, showBookingValidationError = _a.showBookingValidationError, showBookingServerError = _a.showBookingServerError;\n if (showBookingValidationError) {\n return 'Please complete all fields to book your appointment.';\n }\n if (showBookingServerError) {\n return 'Sorry, we encountered an error. Please try again.';\n }\n return '';\n };\n _this.getBookingModalTitle = function () {\n var _a = _this.state, showCovidPrescreen = _a.showCovidPrescreen, showCovidFallback = _a.showCovidFallback, showBookingForm = _a.showBookingForm, showAppointmentBooked = _a.showAppointmentBooked, showLoading = _a.showLoading;\n if (showCovidPrescreen) {\n return 'COVID-19 safety precautions';\n }\n if (showCovidFallback) {\n return 'COVID-19 pre-screen';\n }\n if (showBookingForm) {\n return 'Book appointment';\n }\n if (showLoading) {\n return 'Booking your MinuteClinic appointment...';\n }\n if (showAppointmentBooked) {\n return 'Your MinuteClinic confirmation';\n }\n return '';\n };\n _this.handleClickCVSLink = function (name) {\n var insuranceStatus = _this.props.insuranceStatus;\n logEvent(MessageType.CLICKED_PARTNER_CARE_OPTION, {\n name: name,\n insuranceStatus: insuranceStatus,\n }, { partner: THEME.partner });\n };\n _this.handleSelectAppointmentDay = function (day) {\n _this.setState({ selectedAppointmentDay: day });\n };\n _this.handleSelectAppointment = function (selectedAppointment) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n if (selectedAppointment) {\n _this.setState({\n selectedAppointment: selectedAppointment,\n bookAppointmentData: __assign(__assign({}, bookAppointmentData), { timeZone: new Date(selectedAppointment.time)\n .toLocaleTimeString('en-us', { timeZoneName: 'short' })\n .split(' ')[2] }),\n });\n }\n };\n _this.handleStartBookAppointment = function () {\n _this.setState({ showBookingModal: true, showCovidPrescreen: true });\n };\n _this.handleBookAppointment = function () { return __awaiter(_this, void 0, void 0, function () {\n var _a, complaint, location, zipCode, isNewPatient, _b, selectedAppointment, bookAppointmentData, needBookingData, requestBody, response;\n var _c;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n _a = this.props, complaint = _a.complaint, location = _a.location, zipCode = _a.zipCode, isNewPatient = _a.isNewPatient;\n _b = this.state, selectedAppointment = _b.selectedAppointment, bookAppointmentData = _b.bookAppointmentData;\n needBookingData = false;\n Object.values(bookAppointmentData).forEach(function (value) {\n if (!value) {\n needBookingData = true;\n }\n });\n if (needBookingData) {\n this.setState({ showBookingValidationError: true });\n return [2 /*return*/];\n }\n this.setState({ showLoading: true, showBookingForm: false, showBookingServerError: false });\n logEvent(MessageType.BUTTON_CLICK, {\n name: 'Book appointment',\n zipCode: zipCode,\n }, { partner: THEME.partner });\n requestBody = {\n complaint: complaint,\n convoId: window.conversationId,\n careLocation: location,\n time: (selectedAppointment === null || selectedAppointment === void 0 ? void 0 : selectedAppointment.time) || '',\n patientInfo: bookAppointmentData,\n isNewPatient: isNewPatient,\n appointmentId: '',\n };\n return [4 /*yield*/, bookAppointment(requestBody)];\n case 1:\n response = _d.sent();\n if (!response || response.error || ((_c = response.data) === null || _c === void 0 ? void 0 : _c.error) || !response.data.confirmationCode) {\n this.bookAppointmentErrorHandler();\n }\n else {\n this.bookAppointmentSuccessHandler(response.data);\n }\n return [2 /*return*/];\n }\n });\n }); };\n _this.bookAppointmentErrorHandler = function () {\n _this.setState({ showBookingServerError: true, showLoading: false, showBookingForm: true });\n logEvent(MessageType.APPOINTMENT_FAILED, {}, { partner: THEME.partner });\n };\n _this.bookAppointmentSuccessHandler = function (bookAppointmentResponse) {\n if (bookAppointmentResponse.confirmationCode) {\n _this.setState({\n minuteClinicConfirmationCode: bookAppointmentResponse.confirmationCode,\n showAppointmentBooked: true,\n showLoading: false,\n bookAppointmentData: {\n firstName: '',\n lastName: '',\n dateOfBirth: '',\n gender: '',\n emailAddress: '',\n phoneNumber: '',\n canText: '',\n timeZone: '',\n zipCode: '',\n address: '',\n },\n });\n logEvent(MessageType.APPOINTMENT_BOOKED, {}, { partner: THEME.partner });\n }\n };\n _this.handleCloseBookingModal = function () {\n var showAppointmentBooked = _this.state.showAppointmentBooked;\n var zipCode = _this.props.zipCode;\n logEvent(MessageType.BUTTON_CLICK, {\n name: 'Close book appointment modal',\n booked_appointment: showAppointmentBooked,\n }, { partner: THEME.partner });\n _this.setState({\n showBookingModal: false,\n showCovidPrescreen: false,\n showCovidFallback: false,\n showBookingForm: false,\n showLoading: false,\n showAppointmentBooked: false,\n showBookingValidationError: false,\n covidRiskData: {\n vaccine: '',\n symptoms: '',\n },\n covidPrescreenData: {\n fever: false,\n cough: false,\n shortnessOfBreath: false,\n testedPositive: '',\n contactWithDiagnosed: '',\n },\n bookAppointmentData: {\n firstName: '',\n lastName: '',\n dateOfBirth: '',\n gender: '',\n emailAddress: '',\n phoneNumber: '',\n canText: '',\n timeZone: '',\n zipCode: zipCode,\n address: '',\n },\n showBookingServerError: false,\n });\n };\n _this.handleShowMapModal = function () {\n _this.setState({ showMapModal: true });\n };\n _this.handleCloseMapModal = function () {\n _this.setState({ showMapModal: false });\n };\n _this.handleResetBookingValidation = function () {\n _this.setState({ showBookingValidationError: false });\n };\n _this.handleUpdateFever = function () {\n var covidPrescreenData = _this.state.covidPrescreenData;\n var fever = covidPrescreenData.fever;\n _this.setState({ covidPrescreenData: __assign(__assign({}, covidPrescreenData), { fever: !fever }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateCough = function () {\n var covidPrescreenData = _this.state.covidPrescreenData;\n var cough = covidPrescreenData.cough;\n _this.setState({ covidPrescreenData: __assign(__assign({}, covidPrescreenData), { cough: !cough }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateShortnessOfBreath = function () {\n var covidPrescreenData = _this.state.covidPrescreenData;\n var shortnessOfBreath = covidPrescreenData.shortnessOfBreath;\n _this.setState({\n covidPrescreenData: __assign(__assign({}, covidPrescreenData), { shortnessOfBreath: !shortnessOfBreath }),\n }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateTestedPositive = function (option) {\n var covidPrescreenData = _this.state.covidPrescreenData;\n var testedPositive = covidPrescreenData.testedPositive;\n var YES = YesNoOptions.YES, NO = YesNoOptions.NO;\n var parsedTestedPositive = '';\n if (option === YES && testedPositive !== YES) {\n parsedTestedPositive = YES;\n }\n if (option === NO && testedPositive !== NO) {\n parsedTestedPositive = NO;\n }\n _this.setState({\n covidPrescreenData: __assign(__assign({}, covidPrescreenData), { testedPositive: parsedTestedPositive }),\n }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateCovidRisk = function (type, option) {\n var covidRiskData = _this.state.covidRiskData;\n var YES = YesNoOptions.YES, NO = YesNoOptions.NO;\n var VACCINE = CovidRiskType.VACCINE, SYMPTOMS = CovidRiskType.SYMPTOMS;\n if (option === YES || NO) {\n if (type === VACCINE) {\n _this.setState({\n covidRiskData: __assign(__assign({}, covidRiskData), { vaccine: option }),\n covidPrescreenData: {\n fever: false,\n cough: false,\n shortnessOfBreath: false,\n testedPositive: '',\n contactWithDiagnosed: '',\n },\n });\n }\n if (type === SYMPTOMS) {\n _this.setState({\n covidRiskData: __assign(__assign({}, covidRiskData), { symptoms: option }),\n });\n if (option === YES) {\n _this.setState({\n covidPrescreenData: {\n fever: false,\n cough: false,\n shortnessOfBreath: false,\n testedPositive: '',\n contactWithDiagnosed: '',\n },\n });\n }\n if (option === NO) {\n _this.setState({\n covidPrescreenData: {\n fever: false,\n cough: false,\n shortnessOfBreath: false,\n testedPositive: NO,\n contactWithDiagnosed: NO,\n },\n });\n }\n }\n }\n };\n _this.handleUpdateContactWithDiagnosed = function (option) {\n var covidPrescreenData = _this.state.covidPrescreenData;\n var contactWithDiagnosed = covidPrescreenData.contactWithDiagnosed;\n var YES = YesNoOptions.YES, NO = YesNoOptions.NO;\n var parsedContactWithDiagnosed = '';\n if (option === YES) {\n if (contactWithDiagnosed === YES) {\n parsedContactWithDiagnosed = '';\n }\n else {\n parsedContactWithDiagnosed = YES;\n }\n }\n if (option === NO) {\n if (contactWithDiagnosed === NO) {\n parsedContactWithDiagnosed = '';\n }\n else {\n parsedContactWithDiagnosed = NO;\n }\n }\n _this.setState({\n covidPrescreenData: __assign(__assign({}, covidPrescreenData), { contactWithDiagnosed: parsedContactWithDiagnosed }),\n }, _this.handleResetBookingValidation);\n };\n _this.handleFinishCovidPrescreen = function () {\n var covidPrescreenData = _this.state.covidPrescreenData;\n var fever = covidPrescreenData.fever, cough = covidPrescreenData.cough, shortnessOfBreath = covidPrescreenData.shortnessOfBreath, contactWithDiagnosed = covidPrescreenData.contactWithDiagnosed, testedPositive = covidPrescreenData.testedPositive;\n var YES = YesNoOptions.YES;\n if (!testedPositive || !contactWithDiagnosed) {\n _this.setState({ showBookingValidationError: true });\n return;\n }\n logEvent(MessageType.BUTTON_CLICK, {\n name: 'Submit COVID pre-screen',\n data: covidPrescreenData,\n }, { partner: THEME.partner });\n var hasCovidSymptom = fever || cough || shortnessOfBreath;\n if ((fever && cough) ||\n (fever && shortnessOfBreath) ||\n testedPositive === YES ||\n (contactWithDiagnosed === YES && hasCovidSymptom)) {\n // TODO(annie): add logging here\n _this.setState({\n showCovidPrescreen: false,\n showCovidFallback: true,\n showBookingValidationError: false,\n });\n return;\n }\n _this.setState({ showCovidPrescreen: false, showBookingForm: true });\n };\n _this.handleUpdateFirstName = function (firstName) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { firstName: firstName }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateLastName = function (lastName) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { lastName: lastName }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateDateOfBirth = function (dateOfBirth) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { dateOfBirth: dateOfBirth }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateGender = function (option) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n var gender = bookAppointmentData.gender;\n var parsedGender = '';\n if (option === GenderOptions.FEMALE && gender !== 'F') {\n parsedGender = 'F';\n }\n if (option === GenderOptions.MALE && gender !== 'M') {\n parsedGender = 'M';\n }\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { gender: parsedGender }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateAddress = function (address) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { address: address }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateEmailAddress = function (emailAddress) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { emailAddress: emailAddress }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdatePhoneNumber = function (phoneNumber) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { phoneNumber: phoneNumber }) }, _this.handleResetBookingValidation);\n };\n _this.handleUpdateCanText = function (option) {\n var bookAppointmentData = _this.state.bookAppointmentData;\n var canText = bookAppointmentData.canText;\n var parsedCanText = '';\n if (option === YesNoOptions.YES && canText !== 'Y') {\n parsedCanText = 'Y';\n }\n if (option === YesNoOptions.NO && canText !== 'N') {\n parsedCanText = 'N';\n }\n _this.setState({ bookAppointmentData: __assign(__assign({}, bookAppointmentData), { canText: parsedCanText }) }, _this.handleResetBookingValidation);\n };\n _this.renderClinic = function () {\n var location = _this.props.location;\n var structuredAddress = location.structuredAddress, description = location.description, distance = location.distance;\n var route = structuredAddress.route, locality = structuredAddress.locality, administrativeAreaLevel1 = structuredAddress.administrativeAreaLevel1, postalCode = structuredAddress.postalCode;\n var showDistance = !!distance;\n var showMap = !!location.latitude && !!location.longitude;\n return (React.createElement(\"div\", { className: styles.cvsCareLocation__clinic },\n React.createElement(\"div\", { className: styles.cvsCareLocation__clinicIcon },\n React.createElement(\"img\", { src: \"/static/images/partners/cvs/minute_clinic_icon.png\", alt: \"MinuteClinic\" })),\n React.createElement(\"div\", { className: styles.cvsCareLocation__clinicData },\n description && React.createElement(\"div\", { className: styles.cvsCareLocation__description }, description),\n React.createElement(\"div\", { className: styles.cvsCareLocation__text },\n React.createElement(\"p\", null, formatAddress(route)),\n React.createElement(\"p\", null, \"\".concat(formatAddress(locality), \", \").concat(administrativeAreaLevel1, \" \").concat(postalCode))),\n showDistance && (React.createElement(\"div\", { className: styles.cvsCareLocation__distance },\n React.createElement(MapPinIcon, null),\n React.createElement(\"p\", null, \"\".concat(distance, \" miles away\")))),\n React.createElement(LinkWithIcon, { text: \"Get directions\", icon: React.createElement(CompassIcon, null), href: mapsDirectionsURL(structuredAddress).href }),\n showMap && (React.createElement(ButtonWithIcon, { text: \"View map\", icon: React.createElement(MapIcon, null), onClick: _this.handleShowMapModal })))));\n };\n _this.renderBookingFormClinicDetails = function () {\n var _a = _this.state, selectedAppointment = _a.selectedAppointment, selectedAppointmentDay = _a.selectedAppointmentDay;\n return (React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormClinicDetails },\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormClinicDetail },\n React.createElement(\"h2\", null, \"Location\"),\n _this.renderClinic()),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormClinicDetail },\n React.createElement(\"h2\", null, \"Appointment time\"),\n React.createElement(\"p\", null, \"\".concat(selectedAppointmentDay).concat((selectedAppointment === null || selectedAppointment === void 0 ? void 0 : selectedAppointment.time) &&\n \" at \".concat(new Date(selectedAppointment === null || selectedAppointment === void 0 ? void 0 : selectedAppointment.time).toLocaleTimeString('en-US', {\n hour: 'numeric',\n minute: '2-digit',\n })), \" \")))));\n };\n _this.renderBackToResultsButton = function () { return (React.createElement(\"div\", { className: styles.cvsCareLocation__bookingModalBackToResults },\n React.createElement(Button, { styledText: true, onClick: _this.handleCloseBookingModal }, \"Back to symptom check results\"))); };\n _this.state = {\n showMapModal: false,\n showBookingModal: false,\n showCovidPrescreen: false,\n showCovidFallback: false,\n showBookingForm: false,\n selectedAppointmentDay: Day.TODAY,\n selectedAppointment: null,\n covidRiskData: {\n vaccine: '',\n symptoms: '',\n },\n covidPrescreenData: {\n fever: false,\n cough: false,\n shortnessOfBreath: false,\n testedPositive: '',\n contactWithDiagnosed: '',\n },\n bookAppointmentData: {\n firstName: '',\n lastName: '',\n dateOfBirth: '',\n gender: '',\n phoneNumber: '',\n emailAddress: '',\n canText: '',\n timeZone: '',\n zipCode: props.zipCode,\n address: '',\n },\n showBookingValidationError: false,\n showLoading: false,\n showAppointmentBooked: false,\n minuteClinicConfirmationCode: '',\n showBookingServerError: false,\n };\n return _this;\n }\n CVSCareLocation.prototype.render = function () {\n var _this = this;\n var _a = this.props, location = _a.location, lastLocation = _a.lastLocation, firstLocation = _a.firstLocation;\n var _b = this.state, showMapModal = _b.showMapModal, showBookingModal = _b.showBookingModal, selectedAppointment = _b.selectedAppointment, selectedAppointmentDay = _b.selectedAppointmentDay, covidPrescreenData = _b.covidPrescreenData, showBookingForm = _b.showBookingForm, showCovidFallback = _b.showCovidFallback, bookAppointmentData = _b.bookAppointmentData, showBookingValidationError = _b.showBookingValidationError, showLoading = _b.showLoading, showAppointmentBooked = _b.showAppointmentBooked, covidRiskData = _b.covidRiskData, showCovidPrescreen = _b.showCovidPrescreen, showBookingServerError = _b.showBookingServerError, minuteClinicConfirmationCode = _b.minuteClinicConfirmationCode;\n var vaccine = covidRiskData.vaccine, symptoms = covidRiskData.symptoms;\n var fever = covidPrescreenData.fever, cough = covidPrescreenData.cough, shortnessOfBreath = covidPrescreenData.shortnessOfBreath, testedPositive = covidPrescreenData.testedPositive, contactWithDiagnosed = covidPrescreenData.contactWithDiagnosed;\n var firstName = bookAppointmentData.firstName, lastName = bookAppointmentData.lastName, phoneNumber = bookAppointmentData.phoneNumber, emailAddress = bookAppointmentData.emailAddress, dateOfBirth = bookAppointmentData.dateOfBirth, canText = bookAppointmentData.canText, gender = bookAppointmentData.gender, address = bookAppointmentData.address;\n var YES = YesNoOptions.YES, NO = YesNoOptions.NO;\n var VACCINE = CovidRiskType.VACCINE, SYMPTOMS = CovidRiskType.SYMPTOMS;\n return (React.createElement(UTMContext.Consumer, null, function (utmParams) {\n var _a, _b;\n return (React.createElement(\"div\", { className: twMerge('cvsCareLocation', 'w-full border-x-0 border-b-0 border-t border-solid border-ui-light-gray pt-6', firstLocation && 'border-t-0', !lastLocation && 'pb-6') },\n React.createElement(\"div\", { className: styles.cvsCareLocation__content },\n _this.renderClinic(),\n React.createElement(\"div\", { className: styles.cvsCareLocation__scheduling },\n React.createElement(PartnerLocationAppointmentScheduling, { locationId: location.externalId, schedule: location.schedule, selectedAppointment: selectedAppointment, selectedAppointmentDay: selectedAppointmentDay, onSelectAppointment: _this.handleSelectAppointment, onSelectDay: _this.handleSelectAppointmentDay, onBookAppointment: _this.handleStartBookAppointment }))),\n React.createElement(Modal, { isOpen: showMapModal, onClose: _this.handleCloseMapModal, title: \"Your nearby MinuteClinic location\" },\n React.createElement(\"div\", { className: styles.cvsCareLocation__map },\n React.createElement(\"p\", null, formatStructuredAddress(location.structuredAddress)),\n React.createElement(\"a\", { href: mapsDirectionsURL(location.structuredAddress).href, target: \"_blank\", onClick: function () { }, rel: \"noopener noreferrer\" },\n React.createElement(\"img\", { src: mapURL(location), alt: \"Map for care location\" })))),\n React.createElement(Modal, { isOpen: showBookingModal, title: _this.getBookingModalTitle() || '', onClose: _this.handleCloseBookingModal, disableCloseOnClickOutside: true },\n showCovidPrescreen && (React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreener },\n React.createElement(\"p\", null, \"To best protect our patients and communities, please answer the following questions before booking an appointment.\"),\n vaccine === YES && symptoms === YES && (React.createElement(\"div\", { className: styles.cvsCareLocation__blocked },\n React.createElement(InfoIcon, { fill: \"black\" }),\n React.createElement(\"p\", null, \"Unfortunately, you\\u2019re not eligible for an in-person MinuteClinic visit at this time. Please refer to our virtual care options instead.\"))),\n React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreenerQuestions },\n React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreenerQuestion },\n React.createElement(\"p\", null,\n \"Have you had a COVID-19 vaccine in the past \",\n React.createElement(\"b\", null, \"7 days?\"), \" (More questions may appear based on your answer.)\"),\n React.createElement(\"div\", { role: \"radiogroup\", \"aria-label\": \"Have you had a COVID-19 vaccine in the past 7 days?\", className: styles.cvsCareLocation__covidScreenerOptions },\n React.createElement(\"input\", { id: \"vaccinePositive\", type: \"radio\", checked: vaccine === YES, onChange: function () { return _this.handleUpdateCovidRisk(VACCINE, YES); } }),\n React.createElement(\"label\", { htmlFor: \"vaccinePositive\" }, \"Yes\"),\n React.createElement(\"input\", { id: \"vaccineNegative\", type: \"radio\", checked: vaccine === NO, onChange: function () { return _this.handleUpdateCovidRisk(VACCINE, NO); } }),\n React.createElement(\"label\", { htmlFor: \"vaccineNegative\" }, \"No\"))),\n vaccine === YES && (React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreenerQuestion },\n React.createElement(\"p\", null,\n \"Have you had any new onset of loss of \",\n React.createElement(\"b\", null, \"taste or smell?\"), \" (More questions may appear based on your answer.)\"),\n React.createElement(\"div\", { role: \"radiogroup\", \"aria-label\": \"Have you had any new onset of loss of taste or smell?\", className: styles.cvsCareLocation__covidScreenerOptions },\n React.createElement(\"input\", { id: \"symptomPositive\", type: \"radio\", checked: symptoms === YES, onChange: function () { return _this.handleUpdateCovidRisk(SYMPTOMS, YES); } }),\n React.createElement(\"label\", { htmlFor: \"symptomPositive\" }, \"Yes\"),\n React.createElement(\"input\", { id: \"symptomNegative\", type: \"radio\", checked: symptoms === NO, onChange: function () { return _this.handleUpdateCovidRisk(SYMPTOMS, NO); } }),\n React.createElement(\"label\", { htmlFor: \"symptomNegative\" }, \"No\")))),\n vaccine === NO && (React.createElement(\"div\", null,\n React.createElement(\"div\", { className: styles.cvsCareLocation__symptomCheckbox },\n React.createElement(\"p\", { id: \"symptom-prompt\" },\n \"In the past \",\n React.createElement(\"b\", null, \"7 days\"),\n \", have you experienced any of these symptoms? Select any that apply.\"),\n React.createElement(\"div\", { role: \"group\", \"aria-labelledby\": \"symptom-prompt\", className: styles.cvsCareLocation__covidScreenerOptions },\n React.createElement(\"input\", { id: \"fever\", type: \"checkbox\", checked: fever, onChange: _this.handleUpdateFever }),\n React.createElement(\"label\", { htmlFor: \"fever\" }, \"Fever\"),\n React.createElement(\"input\", { id: \"cough\", type: \"checkbox\", checked: cough, onChange: _this.handleUpdateCough }),\n React.createElement(\"label\", { htmlFor: \"cough\" }, \"Cough\"),\n React.createElement(\"input\", { id: \"shortnessOfBreath\", type: \"checkbox\", checked: shortnessOfBreath, onChange: _this.handleUpdateShortnessOfBreath }),\n React.createElement(\"label\", { htmlFor: \"shortnessOfBreath\" }, \"Shortness of Breath\"))),\n React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreenerQuestion },\n React.createElement(\"p\", { id: \"test-result-prompt\" },\n \"In the past \",\n React.createElement(\"b\", null, \"14 days\"),\n \", have you been tested for COVID-19 with a positive or unknown result? \",\n React.createElement(\"b\", null, \"(required)\")),\n React.createElement(\"div\", { role: \"radiogroup\", \"aria-labelledby\": \"test-result-prompt\", className: styles.cvsCareLocation__covidScreenerOptions },\n React.createElement(\"input\", { id: \"testPositive\", type: \"radio\", checked: testedPositive === YES, onChange: function () { return _this.handleUpdateTestedPositive(YES); } }),\n React.createElement(\"label\", { htmlFor: \"testPositive\" }, \"Yes\"),\n React.createElement(\"input\", { id: \"testNegative\", type: \"radio\", checked: testedPositive === NO, onChange: function () { return _this.handleUpdateTestedPositive(NO); } }),\n React.createElement(\"label\", { htmlFor: \"testNegative\" }, \"No\"))),\n React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreenerQuestion },\n React.createElement(\"p\", { id: \"exposure-prompt\" },\n \"In the past \",\n React.createElement(\"b\", null, \"14 days\"),\n \", have you had known exposure to a COVID-19 patient? \",\n React.createElement(\"b\", null, \"(required)\")),\n React.createElement(\"div\", { role: \"radiogroup\", \"aria-labelledby\": \"exposure-prompt\", className: styles.cvsCareLocation__covidScreenerOptions },\n React.createElement(\"input\", { id: \"contactPositive\", type: \"radio\", checked: contactWithDiagnosed === YES, onChange: function () { return _this.handleUpdateContactWithDiagnosed(YES); } }),\n React.createElement(\"label\", { htmlFor: \"contactPositive\" }, \"Yes\"),\n React.createElement(\"input\", { id: \"contactNegative\", type: \"radio\", checked: contactWithDiagnosed === NO, onChange: function () { return _this.handleUpdateContactWithDiagnosed(NO); } }),\n React.createElement(\"label\", { htmlFor: \"contactNegative\" }, \"No\")))))),\n vaccine === null ||\n (symptoms === null && (React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormSubmit },\n React.createElement(\"p\", { className: classNames(styles.cvsCareLocation__bookingValidationError, (_a = {},\n _a[styles['cvsCareLocation__bookingValidationError--showing']] = showBookingValidationError,\n _a)) }, \"Please complete all required questions before continuing.\")))),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormSubmit },\n React.createElement(Button, { disabled: vaccine === YES && symptoms === YES, onClick: function () { return _this.handleFinishCovidPrescreen(); } }, \"Continue\")))),\n showCovidFallback && (React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreener },\n React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreenerFallbackAdviceHeader },\n React.createElement(\"div\", null,\n React.createElement(CoronavirusIcon, null),\n React.createElement(\"h2\", null, \"You may be at risk for COVID-19\")),\n React.createElement(\"p\", null, \"Since you may have been exposed to COVID-19, we ask that you do not book a MinuteClinic visit at this time.\"),\n React.createElement(\"p\", null,\n React.createElement(\"b\", null, \"If you believe you are experiencing a medical emergency, \"),\n \"call 911 immediately.\"),\n React.createElement(\"p\", null,\n React.createElement(\"b\", null, \"If you believe you are sick with COVID-19, \"),\n \" we recommend following the CDC's guidance.\")),\n React.createElement(\"div\", { className: styles.cvsCareLocation__covidScreenerFallbackAdvice },\n React.createElement(\"p\", null,\n React.createElement(\"b\", null, \"Telemedicine services \"),\n \" can be an effective option for screening from the comfort of your home. See if an\",\n ' ',\n React.createElement(\"a\", { href: addParams('https://www.cvs.com/minuteclinic/virtual-care/e-clinic', utmParams, {\n content: window.conversationId,\n }), onClick: function () { return _this.handleClickCVSLink('E-Clinic Visit'); }, target: \"_blank\", rel: \"noreferrer\" }, \"E-Clinic Visit\"),\n ' ',\n \"or\",\n ' ',\n React.createElement(\"a\", { href: addParams('https://www.cvs.com/minuteclinic/virtual-care/video-visit', utmParams, {\n content: window.conversationId,\n }), onClick: function () { return _this.handleClickCVSLink('Video Visit'); }, target: \"_blank\", rel: \"noreferrer\" }, \"Video Visit\"),\n ' ',\n \"is right for you.\"),\n React.createElement(\"p\", null,\n React.createElement(\"b\", null, \"Not sure which telemedicine option is right for you?\"),\n \" Check out our\",\n ' ',\n React.createElement(\"a\", { href: addParams('https://www.cvs.com/minuteclinic/virtual-care/telehealth-options', utmParams, {\n content: window.conversationId,\n }), onClick: function () { return _this.handleClickCVSLink('comparison page'); }, target: \"_blank\", rel: \"noreferrer\" },\n \"comparison page\",\n ' '),\n ' ',\n \"to learn more.\"),\n React.createElement(\"p\", null,\n React.createElement(\"b\", null, \"We offer testing \"),\n \" at select locations.\",\n ' ',\n React.createElement(\"a\", { href: addParams('https://www.cvs.com/minuteclinic/covid-19-testing', utmParams, {\n content: window.conversationId,\n }), onClick: function () {\n return _this.handleClickCVSLink('Find out how to get tested for COVID-19.');\n }, target: \"_blank\", rel: \"noreferrer\" }, \"Find out how to get tested for COVID-19.\"))),\n _this.renderBackToResultsButton())),\n showBookingForm && (React.createElement(\"div\", { className: styles.cvsCareLocation__bookingForm },\n _this.renderBookingFormClinicDetails(),\n React.createElement(\"div\", { role: \"group\", \"aria-label\": \"Appointment information\", className: styles.cvsCareLocation__bookingFormFields },\n React.createElement(TextField, { label: \"First name (legal name)\", ariaLabel: \"First name\", onChange: _this.handleUpdateFirstName, initialValue: firstName }),\n React.createElement(TextField, { label: \"Last name\", ariaLabel: \"Last name\", onChange: _this.handleUpdateLastName, initialValue: lastName }),\n React.createElement(TextField, { inputType: \"date\", label: \"Date of birth\", ariaLabel: \"Date of birth\", onChange: _this.handleUpdateDateOfBirth, initialValue: dateOfBirth }),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormHelperText },\n React.createElement(\"p\", null,\n \"Patients must be 18 months or older. Minors must be accompanied by an adult.\",\n React.createElement(\"br\", null),\n React.createElement(\"a\", { href: addParams('https://www.cvs.com/minuteclinic/services', utmParams, {\n content: window.conversationId,\n }), target: \"_blank\", rel: \"noreferrer\", onClick: function () { return _this.handleClickCVSLink('Other restrictions may apply.'); } }, \"Other restrictions may apply.\"))),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormFieldsCheckboxQuestion },\n React.createElement(\"p\", { id: \"gender-prompt\" }, \"Gender\"),\n React.createElement(\"div\", { role: \"radiogroup\", \"aria-labelledby\": \"gender-prompt\", className: styles.cvsCareLocation__bookingFormFieldsCheckboxOptions },\n React.createElement(Checkbox, { checked: gender === 'F', label: GenderOptions.FEMALE, onChange: function () { return _this.handleUpdateGender(GenderOptions.FEMALE); } }),\n React.createElement(Checkbox, { checked: gender === 'M', label: GenderOptions.MALE, onChange: function () { return _this.handleUpdateGender(GenderOptions.MALE); } }))),\n React.createElement(TextField, { label: \"Address\", ariaLabel: \"Address\", onChange: _this.handleUpdateAddress, initialValue: address }),\n React.createElement(TextField, { label: \"Email address\", ariaLabel: \"Email address\", onChange: _this.handleUpdateEmailAddress, initialValue: emailAddress }),\n React.createElement(TextField, { label: \"Mobile phone number (e.g. 5555555555)\", ariaLabel: \"Mobile phone number (e.g. 5555555555)\", onChange: _this.handleUpdatePhoneNumber, inputType: \"tel\", initialValue: phoneNumber }),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormFieldsCheckboxQuestion },\n React.createElement(\"p\", { id: \"text-reminders-prompt\" }, \"Can CVS text you appointment reminders?*\"),\n React.createElement(\"div\", { role: \"radiogroup\", \"aria-labelledby\": \"text-reminders-prompt\", className: styles.cvsCareLocation__bookingFormFieldsCheckboxOptions },\n React.createElement(Checkbox, { checked: canText === 'Y', label: YesNoOptions.YES, onChange: function () { return _this.handleUpdateCanText(YesNoOptions.YES); } }),\n React.createElement(Checkbox, { checked: canText === 'N', label: YesNoOptions.NO, onChange: function () { return _this.handleUpdateCanText(YesNoOptions.NO); } })))),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormSubmit },\n React.createElement(\"p\", { className: classNames(styles.cvsCareLocation__bookingValidationError, (_b = {},\n _b[styles['cvsCareLocation__bookingValidationError--showing']] = showBookingValidationError || showBookingServerError,\n _b)) }, _this.getBookingFormErrorText()),\n React.createElement(Button, { onClick: _this.handleBookAppointment, actionType: \"book_appt\", clickType: \"direct\" }, \"Book appointment\")),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormHelperText },\n React.createElement(\"p\", null,\n \"By continuing, you are agreeing to the MinuteClinic\",\n ' ',\n React.createElement(\"a\", { href: \"https://www.cvs.com/minuteclinic/info/terms-use\", target: \"_blank\", rel: \"noreferrer\" }, \"Terms of Use\"),\n ' ',\n \"and\",\n ' ',\n React.createElement(\"a\", { href: \"https://www.cvs.com/minuteclinic/info/privacy-policy\", target: \"_blank\", rel: \"noreferrer\" }, \"Privacy Policy\"),\n \".\")),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormHelperText },\n React.createElement(\"p\", null, \"*Your carrier's message and data rates apply. Participating carriers include T-Mobile, Verizon Wireless, AT&T, Sprint, Boost, U.S. Cellular, MetroPCS, Virgin Mobile, and Cricket. You can opt out of the notifications and alerts at any time by sending STOP to 35437. For help with text alerts, send HELP to 35437 or call us at 1-888-389-2727.\")))),\n showLoading && (React.createElement(\"div\", { className: styles.cvsCareLocation__bookingFormLoading },\n React.createElement(Loading, null))),\n showAppointmentBooked && (React.createElement(\"div\", { className: styles.cvsCareLocation__bookingForm },\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingConfirmationMessage },\n React.createElement(SuccessIcon, null),\n React.createElement(\"p\", null, \"You've successfully reserved your visit, and we sent an email confirmation to you. We're looking forward to helping you get better and stay healthy.\")),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingConfirmationBlock },\n React.createElement(\"h2\", null, \"Confirmation code\"),\n React.createElement(\"p\", null, minuteClinicConfirmationCode)),\n _this.renderBookingFormClinicDetails(),\n React.createElement(\"div\", { className: styles.cvsCareLocation__bookingConfirmationBlock },\n React.createElement(\"h2\", null, \"Need to reschedule or cancel?\"),\n React.createElement(\"p\", null,\n \"Visit the\",\n ' ',\n React.createElement(\"a\", { href: addParams('https://www.cvs.com/minuteclinic/?show_reschedule=true', utmParams, {\n content: window.conversationId,\n }), onClick: function () { return _this.handleClickCVSLink('MinuteClinic cancel page'); }, target: \"_blank\", rel: \"noreferrer\" }, \"MinuteClinic page\"),\n ' ',\n \"to update your appointment.\")),\n _this.renderBackToResultsButton())))));\n }));\n };\n return CVSCareLocation;\n}(React.Component));\nexport default CVSCareLocation;\n","// extracted by mini-css-extract-plugin\nexport default {\"cvsCareLocation\":\"cvsCareLocation\",\"cvsCareLocation__content\":\"cvsCareLocation__content\",\"cvsCareLocation__clinic\":\"cvsCareLocation__clinic\",\"cvsCareLocation__scheduling\":\"cvsCareLocation__scheduling\",\"cvsCareLocation__clinicIcon\":\"cvsCareLocation__clinicIcon\",\"cvsCareLocation__clinicData\":\"cvsCareLocation__clinicData\",\"cvsCareLocation__description\":\"cvsCareLocation__description\",\"cvsCareLocation__text\":\"cvsCareLocation__text\",\"cvsCareLocation__dataWithIcon\":\"cvsCareLocation__dataWithIcon\",\"cvsCareLocation__distance\":\"cvsCareLocation__distance\",\"buttonWithIcon\":\"buttonWithIcon\",\"linkWithIcon\":\"linkWithIcon\",\"cvsCareLocation__map\":\"cvsCareLocation__map\",\"btn\":\"btn\",\"cvsCareLocation__bookingForm\":\"cvsCareLocation__bookingForm\",\"cvsCareLocation__covidScreener\":\"cvsCareLocation__covidScreener\",\"cvsCareLocation__covidScreenerQuestions\":\"cvsCareLocation__covidScreenerQuestions\",\"cvsCareLocation__covidScreenerOptions\":\"cvsCareLocation__covidScreenerOptions\",\"checkbox\":\"checkbox\",\"cvsCareLocation__covidScreenerQuestion\":\"cvsCareLocation__covidScreenerQuestion\",\"cvsCareLocation__symptomCheckbox\":\"cvsCareLocation__symptomCheckbox\",\"cvsCareLocation__blocked\":\"cvsCareLocation__blocked\",\"cvsCareLocation__covidScreenerFallbackAdviceHeader\":\"cvsCareLocation__covidScreenerFallbackAdviceHeader\",\"cvsCareLocation__covidScreenerFallbackAdvice\":\"cvsCareLocation__covidScreenerFallbackAdvice\",\"cvsCareLocation__bookingModalBackToResults\":\"cvsCareLocation__bookingModalBackToResults\",\"cvsCareLocation__minuteClinicLogo\":\"cvsCareLocation__minuteClinicLogo\",\"cvsCareLocation__bookingFormClinicDetails\":\"cvsCareLocation__bookingFormClinicDetails\",\"cvsCareLocation__bookingFormClinicDetail\":\"cvsCareLocation__bookingFormClinicDetail\",\"cvsCareLocation__bookingFormFields\":\"cvsCareLocation__bookingFormFields\",\"textFieldContainer\":\"textFieldContainer\",\"textField\":\"textField\",\"textField--box\":\"textField--box\",\"cvsCareLocation__bookingFormHelperText\":\"cvsCareLocation__bookingFormHelperText\",\"cvsCareLocation__bookingFormFieldsCheckboxQuestion\":\"cvsCareLocation__bookingFormFieldsCheckboxQuestion\",\"cvsCareLocation__bookingFormFieldsCheckboxOptions\":\"cvsCareLocation__bookingFormFieldsCheckboxOptions\",\"cvsCareLocation__bookingFormSubmit\":\"cvsCareLocation__bookingFormSubmit\",\"cvsCareLocation__bookingValidationError\":\"cvsCareLocation__bookingValidationError\",\"cvsCareLocation__bookingValidationError--showing\":\"cvsCareLocation__bookingValidationError--showing\",\"cvsCareLocation__bookingFormLoading\":\"cvsCareLocation__bookingFormLoading\",\"cvsCareLocation__bookingConfirmationMessage\":\"cvsCareLocation__bookingConfirmationMessage\",\"cvsCareLocation__bookingConfirmationBlock\":\"cvsCareLocation__bookingConfirmationBlock\"};","import * as React from 'react';\nexport var CompassIcon = function (_a) {\n var _b = _a.width, width = _b === void 0 ? '24' : _b, _c = _a.strokeWidth, strokeWidth = _c === void 0 ? '2' : _c;\n return (React.createElement(\"svg\", { width: width, height: width, viewBox: \"0 0 24 24\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\" },\n React.createElement(\"path\", { d: \"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\", stroke: \"var(--primary-color)\", strokeWidth: strokeWidth, strokeLinecap: \"round\", strokeLinejoin: \"round\" }),\n React.createElement(\"path\", { d: \"M16.24 7.75977L14.12 14.1198L7.76001 16.2398L9.88001 9.87977L16.24 7.75977Z\", stroke: \"var(--primary-color)\", strokeWidth: strokeWidth, strokeLinecap: \"round\", strokeLinejoin: \"round\" })));\n};\n","import * as React from 'react';\nexport var CoronavirusIcon = function () { return (React.createElement(\"svg\", { width: \"56\", height: \"56\", viewBox: \"0 0 56 56\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\" },\n React.createElement(\"circle\", { cx: \"28\", cy: \"28\", r: \"28\", fill: \"var(--primary-color)\" }),\n React.createElement(\"path\", { d: \"M29.5833 14.9097L29.0826 14.0441L28.5833 14.3329V14.9097H29.5833ZM26.4167 14.9097H27.4167V14.3329L26.9174 14.0441L26.4167 14.9097ZM26.4167 17.0289L26.5583 18.0188L27.4167 17.896V17.0289H26.4167ZM18.5644 22.1825L17.9908 23.0016L18.8584 23.6091L19.4151 22.7081L18.5644 22.1825ZM16.7979 20.9455L15.8355 20.6738L15.6425 21.3573L16.2243 21.7647L16.7979 20.9455ZM14.4554 23.1711L15.029 22.352L14.6659 22.0977L14.2336 22.1961L14.4554 23.1711ZM17.2858 25.1529L18.2524 25.4091L18.4312 24.7342L17.8593 24.3338L17.2858 25.1529ZM17.4563 31.4261L17.9258 32.309L18.6666 31.9151L18.4075 31.1172L17.4563 31.4261ZM13.9425 33.2944L13.381 34.1219L13.8798 34.4603L14.412 34.1774L13.9425 33.2944ZM15.3252 36.1457L14.8557 35.2627L14.3672 35.5225L14.3277 36.0744L15.3252 36.1457ZM18.8577 34.2674L19.6819 33.7013L19.1765 32.9654L18.3882 33.3845L18.8577 34.2674ZM23.5547 38.1559L24.5363 38.3467L24.689 37.5612L23.9561 37.24L23.5547 38.1559ZM23.0656 40.6719L23.1229 41.6703L23.8989 41.6257L24.0472 40.8628L23.0656 40.6719ZM25.9869 42.2394L25.0052 42.0486L24.9334 42.4182L25.1232 42.7435L25.9869 42.2394ZM26.6169 38.9979L26.7405 38.0055L25.8135 37.8902L25.6353 38.8071L26.6169 38.9979ZM32.9826 37.9029L33.8486 37.4029L33.3762 36.5846L32.5324 37.0099L32.9826 37.9029ZM34.6706 40.8265L35.5635 41.2766L35.8067 40.7943L35.5366 40.3265L34.6706 40.8265ZM37.3235 39.0882L36.4575 39.5882L36.7647 40.1204L37.3783 40.0867L37.3235 39.0882ZM35.5866 36.0799L34.902 35.351L34.3244 35.8935L34.7206 36.5799L35.5866 36.0799ZM38.2364 32.2567L38.2539 31.2569L37.5744 31.245L37.3132 31.8724L38.2364 32.2567ZM40.8766 32.3028L41.81 31.9439L41.568 31.3147L40.894 31.303L40.8766 32.3028ZM41.3961 29.1447L41.3786 30.1446L41.8587 30.153L42.1654 29.7836L41.3961 29.1447ZM39.0291 29.1034L38.0339 29.0051L37.9273 30.0843L39.0116 30.1033L39.0291 29.1034ZM38.1352 23.5079L37.5196 22.7199L36.9046 23.2003L37.2212 23.9136L38.1352 23.5079ZM40.8861 21.3587L41.3173 20.4565L40.7585 20.1893L40.2704 20.5707L40.8861 21.3587ZM39.0924 18.7415L39.7081 19.5295L40.1298 19.2L40.0896 18.6663L39.0924 18.7415ZM36.4389 20.8146L35.6778 21.4633L36.2994 22.1926L37.0546 21.6026L36.4389 20.8146ZM29.5833 17.0289H28.5833V17.896L29.4417 18.0188L29.5833 17.0289ZM30.1667 12.1667C30.1667 12.9674 29.7328 13.6679 29.0826 14.0441L30.0841 15.7753C31.3269 15.0564 32.1667 13.7102 32.1667 12.1667H30.1667ZM28 10C29.1966 10 30.1667 10.97 30.1667 12.1667H32.1667C32.1667 9.86548 30.3012 8 28 8V10ZM25.8333 12.1667C25.8333 10.97 26.8034 10 28 10V8C25.6988 8 23.8333 9.86548 23.8333 12.1667H25.8333ZM26.9174 14.0441C26.2672 13.6679 25.8333 12.9674 25.8333 12.1667H23.8333C23.8333 13.7102 24.6731 15.0564 25.9159 15.7753L26.9174 14.0441ZM27.4167 17.0289V14.9097H25.4167V17.0289H27.4167ZM19.4151 22.7081C20.9533 20.2185 23.5421 18.4503 26.5583 18.0188L26.2751 16.039C22.654 16.5569 19.554 18.6783 17.7137 21.6568L19.4151 22.7081ZM16.2243 21.7647L17.9908 23.0016L19.138 21.3633L17.3714 20.1264L16.2243 21.7647ZM15.9167 20.0833C15.9167 20.2895 15.8882 20.4873 15.8355 20.6738L17.7603 21.2172C17.8624 20.8556 17.9167 20.475 17.9167 20.0833H15.9167ZM13.75 17.9167C14.9466 17.9167 15.9167 18.8867 15.9167 20.0833H17.9167C17.9167 17.7821 16.0512 15.9167 13.75 15.9167V17.9167ZM11.5833 20.0833C11.5833 18.8867 12.5534 17.9167 13.75 17.9167V15.9167C11.4488 15.9167 9.58333 17.7821 9.58333 20.0833H11.5833ZM13.75 22.25C12.5534 22.25 11.5833 21.28 11.5833 20.0833H9.58333C9.58333 22.3845 11.4488 24.25 13.75 24.25V22.25ZM14.2336 22.1961C14.079 22.2312 13.9173 22.25 13.75 22.25V24.25C14.0676 24.25 14.3781 24.2143 14.6773 24.1462L14.2336 22.1961ZM17.8593 24.3338L15.029 22.352L13.8819 23.9903L16.7122 25.9721L17.8593 24.3338ZM17.9167 28C17.9167 27.103 18.0336 26.2348 18.2524 25.4091L16.3191 24.8968C16.0564 25.8881 15.9167 26.9285 15.9167 28H17.9167ZM18.4075 31.1172C18.0891 30.1368 17.9167 29.0895 17.9167 28H15.9167C15.9167 29.3018 16.1229 30.5575 16.5052 31.7349L18.4075 31.1172ZM14.412 34.1774L17.9258 32.309L16.9869 30.5431L13.473 32.4115L14.412 34.1774ZM12.1667 33.75C12.6184 33.75 13.035 33.8871 13.381 34.1219L14.504 32.4669C13.8371 32.0144 13.0312 31.75 12.1667 31.75V33.75ZM10 35.9167C10 34.72 10.97 33.75 12.1667 33.75V31.75C9.86548 31.75 8 33.6155 8 35.9167H10ZM12.1667 38.0833C10.97 38.0833 10 37.1133 10 35.9167H8C8 38.2179 9.86548 40.0833 12.1667 40.0833V38.0833ZM14.3277 36.0744C14.2475 37.1969 13.3102 38.0833 12.1667 38.0833V40.0833C14.3669 40.0833 16.1682 38.3785 16.3226 36.217L14.3277 36.0744ZM18.3882 33.3845L14.8557 35.2627L15.7946 37.0286L19.3271 35.1504L18.3882 33.3845ZM23.9561 37.24C22.2229 36.4802 20.743 35.2461 19.6819 33.7013L18.0334 34.8336C19.3033 36.6826 21.0748 38.1607 23.1532 39.0717L23.9561 37.24ZM24.0472 40.8628L24.5363 38.3467L22.573 37.965L22.084 40.4811L24.0472 40.8628ZM21.0833 43.8333C21.0833 42.6794 21.9859 41.7356 23.1229 41.6703L23.0083 39.6736C20.8191 39.7993 19.0833 41.6132 19.0833 43.8333H21.0833ZM23.25 46C22.0534 46 21.0833 45.0299 21.0833 43.8333H19.0833C19.0833 46.1345 20.9488 48 23.25 48V46ZM25.4167 43.8333C25.4167 45.0299 24.4466 46 23.25 46V48C25.5512 48 27.4167 46.1345 27.4167 43.8333H25.4167ZM25.1232 42.7435C25.3096 43.0628 25.4167 43.434 25.4167 43.8333H27.4167C27.4167 43.0703 27.2106 42.3523 26.8505 41.7353L25.1232 42.7435ZM25.6353 38.8071L25.0052 42.0486L26.9685 42.4302L27.5986 39.1887L25.6353 38.8071ZM28 38.0833C27.573 38.0833 27.1527 38.0568 26.7405 38.0055L26.4934 39.9902C26.9874 40.0517 27.4902 40.0833 28 40.0833V38.0833ZM32.5324 37.0099C31.171 37.6963 29.6321 38.0833 28 38.0833V40.0833C29.9519 40.0833 31.7984 39.6198 33.4328 38.7958L32.5324 37.0099ZM35.5366 40.3265L33.8486 37.4029L32.1166 38.4029L33.8045 41.3265L35.5366 40.3265ZM33.7776 40.3764C33.4931 40.9407 33.3333 41.5782 33.3333 42.25H35.3333C35.3333 41.8979 35.4166 41.5682 35.5635 41.2766L33.7776 40.3764ZM33.3333 42.25C33.3333 44.5512 35.1988 46.4167 37.5 46.4167V44.4167C36.3034 44.4167 35.3333 43.4466 35.3333 42.25H33.3333ZM37.5 46.4167C39.8012 46.4167 41.6667 44.5512 41.6667 42.25H39.6667C39.6667 43.4466 38.6966 44.4167 37.5 44.4167V46.4167ZM41.6667 42.25C41.6667 39.9488 39.8012 38.0833 37.5 38.0833V40.0833C38.6966 40.0833 39.6667 41.0534 39.6667 42.25H41.6667ZM37.5 38.0833C37.4225 38.0833 37.3453 38.0855 37.2686 38.0897L37.3783 40.0867C37.4185 40.0845 37.4591 40.0833 37.5 40.0833V38.0833ZM34.7206 36.5799L36.4575 39.5882L38.1895 38.5882L36.4527 35.5799L34.7206 36.5799ZM37.3132 31.8724C36.7614 33.198 35.934 34.3815 34.902 35.351L36.2713 36.8087C37.5061 35.6488 38.4976 34.2314 39.1596 32.6411L37.3132 31.8724ZM40.894 31.303L38.2539 31.2569L38.219 33.2566L40.8591 33.3027L40.894 31.303ZM43.8333 33.3333C42.9123 33.3333 42.1231 32.7582 41.81 31.9439L39.9432 32.6617C40.5434 34.2227 42.0574 35.3333 43.8333 35.3333V33.3333ZM46 31.1667C46 32.3633 45.0299 33.3333 43.8333 33.3333V35.3333C46.1345 35.3333 48 33.4679 48 31.1667H46ZM43.8333 29C45.0299 29 46 29.9701 46 31.1667H48C48 28.8655 46.1345 27 43.8333 27V29ZM42.1654 29.7836C42.5644 29.3032 43.163 29 43.8333 29V27C42.5433 27 41.3895 27.5875 40.6268 28.5058L42.1654 29.7836ZM39.0116 30.1033L41.3786 30.1446L41.4136 28.1449L39.0465 28.1036L39.0116 30.1033ZM38.0833 28C38.0833 28.3395 38.0666 28.6748 38.0339 29.0051L40.0242 29.2018C40.0633 28.8062 40.0833 28.4053 40.0833 28H38.0833ZM37.2212 23.9136C37.7751 25.1614 38.0833 26.5434 38.0833 28H40.0833C40.0833 26.2585 39.7143 24.6005 39.0492 23.1022L37.2212 23.9136ZM40.2704 20.5707L37.5196 22.7199L38.7509 24.2959L41.5017 22.1467L40.2704 20.5707ZM42.25 20.6667C41.914 20.6667 41.5986 20.5909 41.3173 20.4565L40.4548 22.2609C40.9996 22.5213 41.6092 22.6667 42.25 22.6667V20.6667ZM44.4167 18.5C44.4167 19.6966 43.4466 20.6667 42.25 20.6667V22.6667C44.5512 22.6667 46.4167 20.8012 46.4167 18.5H44.4167ZM42.25 16.3333C43.4466 16.3333 44.4167 17.3034 44.4167 18.5H46.4167C46.4167 16.1988 44.5512 14.3333 42.25 14.3333V16.3333ZM40.0833 18.5C40.0833 17.3034 41.0534 16.3333 42.25 16.3333V14.3333C39.9488 14.3333 38.0833 16.1988 38.0833 18.5H40.0833ZM40.0896 18.6663C40.0854 18.6116 40.0833 18.5561 40.0833 18.5H38.0833C38.0833 18.6064 38.0873 18.712 38.0952 18.8167L40.0896 18.6663ZM37.0546 21.6026L39.7081 19.5295L38.4767 17.9535L35.8233 20.0266L37.0546 21.6026ZM29.4417 18.0188C31.9265 18.3743 34.121 19.6366 35.6778 21.4633L37.2 20.166C35.3377 17.9809 32.708 16.4657 29.7249 16.039L29.4417 18.0188ZM28.5833 14.9097V17.0289H30.5833V14.9097H28.5833Z\", fill: \"white\" }),\n React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M27.9999 14.7C29.5739 14.7 30.8499 13.424 30.8499 11.85C30.8499 10.276 29.5739 9 27.9999 9C26.4259 9 25.1499 10.276 25.1499 11.85C25.1499 13.424 26.4259 14.7 27.9999 14.7ZM45.0999 18.4999C45.0999 20.0739 43.8239 21.3499 42.2499 21.3499C40.6759 21.3499 39.3999 20.0739 39.3999 18.4999C39.3999 16.9259 40.6759 15.6499 42.2499 15.6499C43.8239 15.6499 45.0999 16.9259 45.0999 18.4999ZM16.5999 20.3998C16.5999 21.9738 15.3239 23.2498 13.7499 23.2498C12.1759 23.2498 10.8999 21.9738 10.8999 20.3998C10.8999 18.8258 12.1759 17.5498 13.7499 17.5498C15.3239 17.5498 16.5999 18.8258 16.5999 20.3998ZM14.7 35.6C14.7 37.174 13.424 38.45 11.85 38.45C10.276 38.45 9 37.174 9 35.6C9 34.026 10.276 32.75 11.85 32.75C13.424 32.75 14.7 34.026 14.7 35.6ZM23.2499 46.9998C24.8239 46.9998 26.0999 45.7238 26.0999 44.1498C26.0999 42.5758 24.8239 41.2998 23.2499 41.2998C21.6759 41.2998 20.3999 42.5758 20.3999 44.1498C20.3999 45.7238 21.6759 46.9998 23.2499 46.9998ZM40.3499 42.2499C40.3499 43.8239 39.0739 45.0999 37.4999 45.0999C35.9259 45.0999 34.6499 43.8239 34.6499 42.2499C34.6499 40.6759 35.9259 39.3999 37.4999 39.3999C39.0739 39.3999 40.3499 40.6759 40.3499 42.2499ZM44.15 33.7C45.7241 33.7 47 32.424 47 30.85C47 29.276 45.7241 28 44.15 28C42.576 28 41.3 29.276 41.3 30.85C41.3 32.424 42.576 33.7 44.15 33.7Z\", fill: \"white\" }))); };\n","import * as React from 'react';\nexport var SuccessIcon = function (props) { return (React.createElement(\"svg\", { className: props.className, width: \"56\", height: \"56\", viewBox: \"0 0 56 56\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\" },\n React.createElement(\"circle\", { cx: \"28\", cy: \"28\", r: \"28\", fill: \"#02701f\" }),\n React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M42.66 19.7496C42.8492 19.5555 42.8492 19.2459 42.66 19.0518L40.0445 16.3674C39.8484 16.166 39.5248 16.1659 39.3285 16.3672L23.288 32.8148C23.0917 33.0161 22.7681 33.016 22.5719 32.8146L16.6902 26.7779C16.4944 26.5769 16.1716 26.5764 15.9752 26.7766L13.3424 29.4597C13.1521 29.6537 13.1515 29.9642 13.3412 30.1588L22.5715 39.6324C22.7678 39.8338 23.0915 39.8338 23.2877 39.6324L42.66 19.7496Z\", fill: \"white\" }))); };\n","import React, { useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { twMerge } from 'tailwind-merge';\nimport { onEnter } from '../../../util/KeyPressHandlers';\nimport { logEvent } from '../../../util/EventLog';\nimport { MessageType } from '../../clearstep/proto/logging_pb';\nimport '../../clearstep/proto/care_locations_pb';\nimport { THEME } from '../../clearstep/util/Theme';\nimport { NoAvailableAppointments } from './NoAvailableAppointments';\nimport { isToday, isTomorrow, } from '../../clearstep/BookAppointment/BookAppointmentForm/bookAppointmentUtil';\nimport Loading from '../../tailwind_common/Loading';\nimport Tab from '../../tailwind_common/Tab';\nimport Button from '../../tailwind_common/Button';\nvar newSlot = function (slot) { return ({ time: slot.time, date: new Date(slot.time), id: slot.id }); };\nvar formatDate = function (date) {\n return date.toLocaleDateString('en-US', { month: 'short', day: 'numeric' });\n};\nvar getNextAppointmentSlots = function (slots) {\n var _a, _b;\n if (!slots.length) {\n return {\n firstDay: {\n dateString: '',\n appointments: [],\n },\n secondDay: {\n dateString: '',\n appointments: [],\n },\n };\n }\n var sortedAppointments = slots.sort(function (a, b) { return a.date.valueOf() - b.date.valueOf(); });\n var firstDay = slots[0];\n var firstDaySlots = slots.filter(function (slot) { return slot.date.getDate() === firstDay.date.getDate(); });\n var firstIsToday = isToday(firstDay.date);\n var firstDayResults = {\n dateString: firstIsToday ? Day.TODAY : formatDate(firstDay.date),\n appointments: firstDaySlots,\n };\n var secondDate = sortedAppointments.find(function (slot) { return slot.date.getDate() !== firstDay.date.getDate(); });\n if (!secondDate) {\n return { firstDay: firstDayResults };\n }\n var secondDaySlots = slots.filter(function (slot) { return slot.date.getDate() === (secondDate === null || secondDate === void 0 ? void 0 : secondDate.date.getDate()); });\n var secondIsTomorrow = ((_a = secondDaySlots[0]) === null || _a === void 0 ? void 0 : _a.date) ? isTomorrow(secondDaySlots[0].date) : false;\n var secondDayResults = {\n dateString: secondIsTomorrow ? Day.TOMORROW : formatDate((_b = secondDaySlots[0]) === null || _b === void 0 ? void 0 : _b.date),\n appointments: secondDaySlots,\n };\n return {\n firstDay: firstDayResults,\n secondDay: secondDayResults,\n };\n};\nexport var Day;\n(function (Day) {\n Day[\"TODAY\"] = \"Today\";\n Day[\"TOMORROW\"] = \"Tomorrow\";\n})(Day || (Day = {}));\nvar PartnerLocationAppointmentScheduling = function (props) {\n var _a, _b;\n var t = useTranslation().t;\n var schedule = props.schedule, onSelectDay = props.onSelectDay, selectedAppointmentDay = props.selectedAppointmentDay;\n var slots = (_b = (_a = schedule === null || schedule === void 0 ? void 0 : schedule.slots) === null || _a === void 0 ? void 0 : _a.map(function (s) { return newSlot(s); })) !== null && _b !== void 0 ? _b : [];\n var _c = getNextAppointmentSlots(slots), firstDay = _c.firstDay, _d = _c.secondDay, secondDay = _d === void 0 ? { dateString: null, appointments: [] } : _d;\n var firstDayString = firstDay.dateString, firstDaySlots = firstDay.appointments;\n var secondDayString = secondDay.dateString, secondDaySlots = secondDay.appointments;\n var currentSlots = selectedAppointmentDay === firstDayString ? firstDaySlots : secondDaySlots;\n var haveAppointments = !!(currentSlots === null || currentSlots === void 0 ? void 0 : currentSlots.length);\n var loading = schedule && !Object.keys(schedule).length;\n var showNoAppointments = (!loading && !haveAppointments) || (schedule && !!schedule.error);\n useEffect(function () {\n onSelectDay(firstDayString);\n }, [schedule]);\n var handleSelectAppointment = function (slot) {\n var onSelectAppointment = props.onSelectAppointment, locationId = props.locationId;\n onSelectAppointment(slot);\n logEvent(MessageType.BUTTON_CLICK, {\n name: 'Select appointment slot',\n appointment_time: slot.date,\n location_id: locationId,\n }, { partner: THEME.partner });\n };\n var handleBookAppointment = function () {\n var onBookAppointment = props.onBookAppointment, selectedAppointment = props.selectedAppointment;\n logEvent(MessageType.APPOINTMENT_INITIATED, {}, { partner: THEME.partner });\n logEvent(MessageType.BUTTON_CLICK, {\n name: selectedAppointment ? 'Book appointment' : 'Find more availability',\n }, { partner: THEME.partner });\n onBookAppointment();\n };\n var handleSelectAppointmentDay = function (day) {\n var onSelectDay = props.onSelectDay, onSelectAppointment = props.onSelectAppointment, locationId = props.locationId;\n onSelectDay(day);\n onSelectAppointment(null);\n logEvent(MessageType.BUTTON_CLICK, {\n name: 'Select appointment day',\n day: day,\n location_id: locationId,\n }, { partner: THEME.partner });\n };\n var getSlotTimeForRendering = function (slot) {\n return slot.date.toLocaleTimeString('en-US', { hour: 'numeric', minute: '2-digit' });\n };\n var renderAvailableAppointments = function (slots) {\n var selectedAppointment = props.selectedAppointment;\n var truncatedSlots = slots.slice(0, 18);\n return truncatedSlots.map(function (appointmentSlot) { return (React.createElement(\"div\", { className: twMerge('cursor-pointer rounded-md border border-solid border-primary bg-white px-5 py-2.5 text-center text-sm font-semibold text-black', 'hover:bg-primary hover:text-white', appointmentSlot.time === (selectedAppointment === null || selectedAppointment === void 0 ? void 0 : selectedAppointment.time) && 'bg-primary text-white'), key: appointmentSlot.time, onClick: function () { return handleSelectAppointment(appointmentSlot); }, onKeyPress: onEnter(function () { return handleSelectAppointment(appointmentSlot); }), role: \"button\", tabIndex: 0, \"data-action-type\": \"book_app\", \"data-click-type\": \"select_appt_slot\" }, getSlotTimeForRendering(appointmentSlot))); });\n };\n var renderBookAppointmentButton = function () {\n var selectedAppointment = props.selectedAppointment;\n var clickType = 'see_availability';\n if (!selectedAppointment) {\n clickType = 'start_book_appt_flow';\n }\n return (React.createElement(Button, { onClick: handleBookAppointment, actionType: \"book_appt\", clickType: clickType }, selectedAppointment\n ? t('careLocation.bookingAppointment.selectedAppointmentText', 'Book appointment')\n : t('careLocation.bookingAppointment.nonSelectedAppointmentText', 'See more availability')));\n };\n return (React.createElement(\"div\", { className: \"flex flex-col items-center\" },\n React.createElement(\"div\", { className: \"flex flex-row mobile:self-start\" },\n firstDayString && (React.createElement(Tab, { tabLabel: firstDayString, active: selectedAppointmentDay === firstDayString, onClick: function () { return handleSelectAppointmentDay(firstDayString); } })),\n secondDayString && (React.createElement(Tab, { tabLabel: secondDayString, active: selectedAppointmentDay === secondDayString, onClick: function () { return handleSelectAppointmentDay(secondDayString); } }))),\n currentSlots && haveAppointments && (React.createElement(\"div\", { className: \"flex w-full flex-col\" },\n React.createElement(\"div\", { className: \"my-5 grid grid-cols-3 gap-3\" }, renderAvailableAppointments(currentSlots)),\n renderBookAppointmentButton())),\n loading && (React.createElement(Loading, { text: t('careLocation.bookingAppointment.loadingText', 'Finding appointments...') ||\n 'Finding appointments...' })),\n showNoAppointments && (React.createElement(NoAvailableAppointments, { schedule: schedule, handleBookAppointment: handleBookAppointment, availabilityLink: props.availabilityLink }))));\n};\nexport default PartnerLocationAppointmentScheduling;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport '../../clearstep/proto/care_locations_pb';\nimport '../../clearstep/proto/partners_pb';\nimport Button from '../../tailwind_common/Button';\nimport { MessageType, linkToAndLogConvo } from '../../../util/EventLog';\nimport { THEME } from '../../clearstep/util/Theme';\nexport var NoAvailableAppointments = function (props) {\n var t = useTranslation().t;\n var schedule = props.schedule;\n return (React.createElement(\"div\", { className: \"mt-4 flex flex-col items-center\" },\n React.createElement(\"p\", { className: \"pl-2 text-base font-normal text-gray-700\" }, (schedule && schedule.error) ||\n t('careLocation.bookingAppointment.noAvailableAppointments.alertText', 'This provider does not have any open appointments available in the next 4 weeks.')),\n React.createElement(\"div\", { className: \"mt-4 flex w-full flex-col\" },\n React.createElement(Button, { onClick: function () {\n return linkToAndLogConvo(props.availabilityLink || '', MessageType.CLICKED_PARTNER_CARE_OPTION, {\n partner: THEME.partner,\n });\n }, useMarginTop: false, className: \"h-fit w-full\", innerClassName: \"font-normal\" }, t('careLocation.bookingAppointment.nonSelectedAppointmentText', 'See more availability')))));\n};\n","import * as React from 'react';\nimport { twMerge } from 'tailwind-merge';\nimport { onEnter } from '../../util/KeyPressHandlers';\nvar Tab = function (props) {\n var active = props.active, tabLabel = props.tabLabel, onClick = props.onClick;\n return (React.createElement(\"div\", { className: twMerge('flex cursor-pointer list-none flex-col items-center px-8 pb-4 text-common-dark-gray focus:outline-none mobile:text-[12px]', active && 'border-0 border-b-2 border-solid border-primary text-black outline-none'), role: \"tab\", tabIndex: 0, onKeyPress: onEnter(function () { return onClick(tabLabel); }), onClick: function () { return onClick(tabLabel); } },\n React.createElement(\"p\", { className: \"text-[18px] font-semibold\" }, tabLabel)));\n};\nexport default Tab;\n","import * as React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Markdown from 'markdown-to-jsx';\nimport { twMerge } from 'tailwind-merge';\nimport { isDemo } from '../clearstep/util/AppHelpers';\nimport { THEME } from '../clearstep/util/Theme';\nimport { renderLink } from '../clearstep/util/MarkdownHelpers';\nimport { MessageType } from '../clearstep/proto/logging_pb';\nimport Loading from './Loading';\nvar FindCarePlaceholder = function (props) {\n var loadingCareLocation = props.loadingCareLocation, text = props.text, setZipFocus = props.setZipFocus, wrapperClassName = props.wrapperClassName;\n var t = useTranslation().t;\n var defaultText = isDemo()\n ? t('placeholderZipPrompt.demo', '[Enter your zip code and insurance information](zip-focus) above to see options near you')\n : THEME.symptomCheckCustomizations.requireMembership\n ? t('placeholderZipPrompt.requireMembership', 'Please select [filter options above](zip-focus) to see care options')\n : t('placeholderZipPrompt.noMembership', '[Enter your zip code](zip-focus) above to see options near you');\n var focusZipInput = function (href, children) { return (React.createElement(\"button\", { className: \"m-0 cursor-pointer text-base font-medium text-common-blue-500 underline\", onClick: function () {\n if (typeof setZipFocus === 'function') {\n setZipFocus(true);\n }\n } }, children)); };\n return (React.createElement(\"div\", { className: twMerge('flex h-57.5 w-full flex-col items-center justify-center rounded-2xl bg-bot-light-gray mobile:mb-4 mobile:box-border mobile:px-4', wrapperClassName) },\n loadingCareLocation && React.createElement(Loading, null),\n !loadingCareLocation && (React.createElement(\"div\", { className: \"flex flex-col items-center text-center text-base\" },\n React.createElement(Markdown, { options: {\n overrides: {\n p: function (innerProps) { return (React.createElement(\"p\", { className: \"m-0 text-base font-medium\" }, innerProps.children)); },\n span: function (innerProps) { return (React.createElement(\"span\", { className: \"m-0 text-base font-medium\" }, innerProps.children)); },\n a: function (innerProps) {\n if (innerProps.href === 'zip-focus') {\n return focusZipInput(innerProps.href, innerProps.children);\n }\n return renderLink(innerProps.href, innerProps.children, MessageType.LINK_CLICK);\n },\n },\n } }, text || defaultText)))));\n};\nexport default FindCarePlaceholder;\n","import * as React from 'react';\nimport { twMerge } from 'tailwind-merge';\nvar Loading = function (props) {\n var innerDivStyleTW = 'w-full h-full absolute border-4 border-primary border-solid bg-transparent opacity-90 rounded-full transform-origin-center animate-ripple';\n return (React.createElement(\"div\", { className: \"flex flex-col items-center justify-center\" },\n React.createElement(\"div\", { className: \"relative inline-block h-16 w-16 mobile:h-8 mobile:w-8\" },\n React.createElement(\"div\", { className: innerDivStyleTW }),\n React.createElement(\"div\", { className: twMerge(innerDivStyleTW, 'animation-delay-700') })),\n props.text && React.createElement(\"p\", { className: \"pt-5 text-center text-[18px] font-semibold\" }, props.text)));\n};\nexport default Loading;\n","import { lazy } from 'react';\nvar LLModal = lazy(function () { return import('../Modal'); });\nexport default LLModal;\n","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport React, { Suspense } from 'react';\nimport LLModal from './Modal.Lazy';\n/**\n * Wraps lazy-loaded Modal component in a Suspense handler. Only uses lazy component\n * when modal is open.\n * Modal.Lazy can be imported directly if used inside higher level Suspense wrapper.\n */\nvar WrappedLLModal = function (props) { return (React.createElement(Suspense, { fallback: \"\" }, props.isOpen && React.createElement(LLModal, __assign({}, props)))); };\nexport default WrappedLLModal;\n","import React, { Suspense, forwardRef, useEffect, useRef } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport 'i18next';\nimport { twMerge } from 'tailwind-merge';\nimport { onEnter as onlyOnEnter } from '../../util/KeyPressHandlers';\nexport var TextFieldVariant = {\n Default: 0,\n LineOnly: 1,\n};\nvar TextField = function (props, ref) {\n var _a = React.useState(props.initialValue || ''), value = _a[0], setValue = _a[1];\n var _b = React.useState(props.error), error = _b[0], setError = _b[1];\n var _c = props.onEnter, onEnter = _c === void 0 ? function () { } : _c, _d = props.inputType, inputType = _d === void 0 ? 'text' : _d, _e = props.disabled, disabled = _e === void 0 ? false : _e, _f = props.placeholder, placeholder = _f === void 0 ? '' : _f, _g = props.variant, variant = _g === void 0 ? TextFieldVariant.Default : _g, _h = props.onChange, onChange = _h === void 0 ? undefined : _h, _j = props.boldLabel, boldLabel = _j === void 0 ? false : _j, className = props.className, innerClassName = props.innerClassName;\n var t = useTranslation('translation', { useSuspense: false }).t;\n var usePrevious = function (value) {\n var ref = useRef();\n useEffect(function () {\n ref.current = value;\n }, [value]);\n return ref.current;\n };\n var prevInitialValue = usePrevious(props.initialValue);\n var prevError = usePrevious(error);\n var prevValidate = usePrevious(props.validate);\n useEffect(function () {\n if (props.initialValue && prevInitialValue !== props.initialValue) {\n setValue(props.initialValue || '');\n }\n }, [prevInitialValue, props.initialValue]);\n useEffect(function () {\n if (prevError !== props.error) {\n setError(props.error);\n }\n }, [prevError, props.error]);\n useEffect(function () {\n if (!prevValidate !== props.validate) {\n handleValidation();\n }\n });\n var handleValidation = function () {\n var validators = props.validators;\n if (!validators) {\n return;\n }\n validators.forEach(function (validate) {\n var error = validate(value);\n if (error) {\n setError(error);\n }\n });\n };\n var handleChange = function (event) {\n var value = event.target.value;\n setValue(value);\n if (onChange) {\n onChange(value);\n }\n };\n var isLineOnly = function () { return variant === TextFieldVariant.LineOnly; };\n return (React.createElement(Suspense, { fallback: \"\" },\n React.createElement(\"div\", { className: twMerge('textFieldContainer flex flex-col items-start font-primary font-medium focus-within:text-common-dark-gray', isLineOnly() && 'block', className) },\n isLineOnly() ? (React.createElement(\"div\", { className: twMerge('text-[12px] text-transparent', !!value && 'text-common-dark-gray') }, props.placeholder)) : null,\n React.createElement(\"div\", { className: twMerge('textFieldInner flex flex-col', innerClassName) },\n props.label && (React.createElement(\"label\", { className: twMerge('pb-2 text-[12px]', boldLabel && 'text-[15px] font-bold'), htmlFor: props.ariaLabel },\n props.label,\n ' ',\n props.required && (React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: \"font-bold text-common-tomato\" }, \n // eslint-disable-next-line react/jsx-no-literals\n '*'),\n React.createElement(\"span\", { className: \"text-[12px] text-common-tomato\" },\n ' ',\n t('common.formRequired', 'required')))))),\n React.createElement(\"input\", { className: twMerge('flex h-10.5 max-w-[40vw] overflow-hidden bg-white font-primary font-medium disabled:border-none disabled:bg-ui-light-gray disabled:placeholder-common-dark-gray', 'mobile:max-w-none', isLineOnly()\n ? 'h-6.25 border-b border-solid border-none border-dark-gray text-sm text-black placeholder:text-gray-500 focus:placeholder-transparent'\n : 'box-border rounded-md border border-solid border-ui-light-gray p-3 text-base text-black placeholder:text-[15px] placeholder:text-gray-500 focus:rounded-full focus:rounded-md focus:shadow-focus', !!error &&\n 'border border-solid border-tomato focus:border focus:border-solid focus:border-tomato focus:outline-none'), id: props.id || props.ariaLabel, \"aria-label\": props.ariaLabel, disabled: disabled, type: inputType, inputMode: props.inputMode, value: props.usePropsForValue ? props.value : value, placeholder: placeholder || '', onChange: handleChange, onFocus: function () { return setError(''); }, onBlur: handleValidation, onKeyDown: onlyOnEnter(function () { return onEnter(); }), autoComplete: \"off\", \"aria-invalid\": !!error, \"aria-required\": props.required, max: props.max, maxLength: props.maxLength, ref: ref })),\n error ? (React.createElement(\"div\", { role: \"alert\", className: \"mt-1 text-[12px] text-common-tomato\" }, error)) : (React.createElement(\"div\", { className: \"h-4\" })))));\n};\nexport default forwardRef(TextField);\n"],"names":["isTomorrow","date","tomorrow","Date","setDate","getDate","getMonth","getFullYear","isToday","toDateString","getFormattedDate","apptString","concat","apptDate","toLocaleDateString","weekday","getTodayOrTomorrow","toLocaleString","month","day","year","formatDateForDisplay","toLocaleTimeString","hour","minute","toLowerCase","formatTimeForDisplay","extendStatics","GenderOptions","YesNoOptions","CovidRiskType","__extends","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","_super","CVSCareLocation","props","_this","getBookingFormErrorText","_a","state","showBookingValidationError","showBookingServerError","getBookingModalTitle","showCovidPrescreen","showCovidFallback","showBookingForm","showAppointmentBooked","showLoading","handleClickCVSLink","name","insuranceStatus","CLICKED_PARTNER_CARE_OPTION","partner","handleSelectAppointmentDay","setState","selectedAppointmentDay","handleSelectAppointment","selectedAppointment","bookAppointmentData","timeZone","time","timeZoneName","split","handleStartBookAppointment","showBookingModal","handleBookAppointment","thisArg","_arguments","generator","complaint","location","zipCode","isNewPatient","_b","needBookingData","requestBody","response","_c","body","f","y","g","_","label","sent","trys","ops","next","verb","Symbol","iterator","v","op","done","value","pop","push","e","step","__generator","_d","values","forEach","BUTTON_CLICK","convoId","window","conversationId","careLocation","patientInfo","appointmentId","error","data","confirmationCode","bookAppointmentErrorHandler","bookAppointmentSuccessHandler","P","Promise","resolve","reject","fulfilled","rejected","result","then","APPOINTMENT_FAILED","bookAppointmentResponse","minuteClinicConfirmationCode","firstName","lastName","dateOfBirth","gender","emailAddress","phoneNumber","canText","address","APPOINTMENT_BOOKED","handleCloseBookingModal","booked_appointment","covidRiskData","vaccine","symptoms","covidPrescreenData","fever","cough","shortnessOfBreath","testedPositive","contactWithDiagnosed","handleShowMapModal","showMapModal","handleCloseMapModal","handleResetBookingValidation","handleUpdateFever","handleUpdateCough","handleUpdateShortnessOfBreath","handleUpdateTestedPositive","option","YES","NO","parsedTestedPositive","handleUpdateCovidRisk","type","VACCINE","SYMPTOMS","handleUpdateContactWithDiagnosed","parsedContactWithDiagnosed","handleFinishCovidPrescreen","handleUpdateFirstName","handleUpdateLastName","handleUpdateDateOfBirth","handleUpdateGender","parsedGender","FEMALE","MALE","handleUpdateAddress","handleUpdateEmailAddress","handleUpdatePhoneNumber","handleUpdateCanText","parsedCanText","renderClinic","structuredAddress","description","distance","route","locality","administrativeAreaLevel1","postalCode","showDistance","showMap","latitude","longitude","className","src","alt","MapPin","LinkWithIcon","text","icon","Compass","href","ButtonWithIcon","Map","onClick","renderBookingFormClinicDetails","renderBackToResultsButton","Button","styledText","TODAY","render","lastLocation","firstLocation","UTM","Consumer","utmParams","PartnerLocationAppointmentScheduling","locationId","externalId","schedule","onSelectAppointment","onSelectDay","onBookAppointment","isOpen","onClose","title","target","rel","disableCloseOnClickOutside","InfoIcon","fill","role","id","checked","onChange","htmlFor","disabled","CoronavirusIcon","content","TextField","ariaLabel","initialValue","inputType","Checkbox","actionType","clickType","Loading","SuccessIcon","CompassIcon","width","strokeWidth","height","viewBox","xmlns","stroke","strokeLinecap","strokeLinejoin","cx","cy","r","fillRule","clipRule","Day","NoAvailableAppointments","availabilityLink","useMarginTop","innerClassName","active","tabLabel","tabIndex","onKeyPress","formatDate","slots","firstDay","dateString","appointments","secondDay","sortedAppointments","sort","a","valueOf","firstDaySlots","filter","slot","firstDayResults","secondDate","find","secondDaySlots","TOMORROW","getNextAppointmentSlots","map","firstDayString","secondDayString","currentSlots","haveAppointments","loading","keys","showNoAppointments","useEffect","appointment_time","location_id","APPOINTMENT_INITIATED","slice","appointmentSlot","key","renderAvailableAppointments","loadingCareLocation","setZipFocus","wrapperClassName","defaultText","symptomCheckCustomizations","requireMembership","options","overrides","innerProps","children","span","LINK_CLICK","innerDivStyleTW","lazy","Suspense","fallback","forwardRef","ref","setValue","setError","onEnter","_e","_f","placeholder","_g","variant","_h","undefined","_j","boldLabel","useSuspense","usePrevious","useRef","current","prevInitialValue","prevError","prevValidate","validate","handleValidation","validators","isLineOnly","required","inputMode","usePropsForValue","event","onFocus","onBlur","onKeyDown","autoComplete","max","maxLength"],"sourceRoot":""}