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,WAA7ByhB,GAAuCrmB,EAAAA,EAAAA,GAAAsI,EAAA,GAA7B,GASnB,OAPAmG,EAAAA,EAAAA,YAAU,WACJs4B,IACF1gB,EAAW,GACX9T,EAAQ60B,QAAQ,qBAADhnC,OAAsBmnB,IAEzC,GAAG,CAACA,EAAWhV,EAASw0B,EAAc1gB,KAE/BjlB,EAAAA,EAAAA,KAAC8iC,GAAY,CAAC3c,UAAWA,EAAY8f,OAAO9f,GAAa,MAClE,C,wDC9nBO,IAAMiC,EAAoB,SAAC3U,GAAa,IAADD,EACjC,QAAPA,EAACI,cAAM,IAAAJ,GAANA,EAAQ0yB,QAGbtyB,OAAOsyB,OAAOC,YAAY1yB,EAAS,IACrC,C","sources":["components/common/SelectTimeControl.js","components/user_bookings/components/BookingSuccessMessage.js","components/user_bookings/assets/images/alert-illustration.svg","components/user_bookings/components/date_selection/LakeBookingInformationModal.js","components/user_bookings/components/SelectLake.js","components/user_bookings/assets/images/package-list.svg","assets/images/Icons/SVG/Edit.js","components/user_bookings/components/SelectLakeAndTickets.js","components/user_bookings/components/SelectSwim.js","components/user_bookings/components/SwimKeyModal.js","components/user_bookings/components/Step2.js","components/user_bookings/assets/images/info.svg","components/user_bookings/assets/images/addIcon.js","components/user_bookings/assets/images/minusIcon.js","components/user_bookings/components/ProductAddOn.js","components/user_bookings/assets/images/information.svg","components/user_bookings/components/UserBookingNavButtons.js","components/user_bookings/assets/images/UserBox.js","components/user_bookings/components/Step3.js","components/user_bookings/components/summaries/SummaryLakeMasthead.js","components/user_bookings/assets/images/Summary.js","components/user_bookings/components/summaries/UserBookingSideSummary.js","components/user_bookings/components/summaries/UserBookingSummary.js","components/user_bookings/components/payment_page/UserBookingPaymentPage.js","components/user_bookings/components/UserBookingSuccessPage.js","components/user_bookings/components/UserBookingFailurePage.js","components/user_bookings/components/date_selection/CalendarColoursModal.js","components/user_bookings/components/date_selection/SelectDate.js","components/user_bookings/assets/images/Timer.js","components/user_bookings/components/date_selection/SelectTime.js","components/user_bookings/components/date_selection/SelectDatesAndTimes.js","components/user_bookings/components/summaries/LicenceInfo.js","components/user_bookings/assets/images/alarm.svg","components/user_bookings/components/QueueModal.js","components/user_bookings/index.js","utils/widgetUtils.js"],"sourcesContent":["import moment from 'moment/moment';\nimport React from 'react';\nimport { Col, Radio, Spin } from 'antd';\n\nfunction SelectTimeControl({\n fisheryPublicId,\n availability,\n loading = false,\n selectedLakeId = null,\n arrivalTime,\n onChangeArrival = () => {},\n departureTime,\n onChangeDeparture = () => {},\n arrivalDate = null,\n departureDate = null,\n}) {\n const HideTimeFishery = process.env.REACT_APP_FISHERY_HIDE_TIME_ID;\n const wadmillFishery = process.env.REACT_APP_FISHERY_TIME_ID;\n const a12Fishery = process.env.REACT_APP_FISHERY_A12_ID;\n const elphicksLake1 = process.env.REACT_APP_ELPHICKS_NORTH_LAKE;\n const elphicksLake2 = process.env.REACT_APP_ELPHICKS_WEST_END;\n const elphicksLake3 = process.env.REACT_APP_ELPHICKS_PULLENS;\n let hasNightArrival = availability?.arrival?.length;\n\n if (\n selectedLakeId === elphicksLake1 ||\n selectedLakeId === elphicksLake2 ||\n selectedLakeId === elphicksLake3\n ) {\n hasNightArrival = 1;\n // when it is 1 the options will have only 1 option will be displayed\n } else {\n }\n const handleTimeLabel = (hour) => {\n // Parse hour string\n const [timeStr, amPmLabel] = hour.split(' ');\n const [hourNumStr, minutesNumStr] = [...timeStr.split(':'), '00']; // Uses 00 as minutes default for values of shape \"07\" compared to \"07:30\" or \"07:00\"\n let hourNum = parseInt(hourNumStr);\n // Only show AM/PM\n if (fisheryPublicId === HideTimeFishery) {\n return amPmLabel;\n }\n\n if (\n selectedLakeId === '72121c5f-52c6-4123-a32c-71fa2f6c17dd' &&\n moment(arrivalDate).format('DD-MM-YYYY') !==\n moment(departureDate).format('DD-MM-YYYY')\n ) {\n const departureHour = availability?.departure?.[1]?.hour;\n\n if (departureHour === '04 PM') {\n let timeLabel = '';\n if (hour === '07 AM') {\n timeLabel = '7am - 12pm';\n } else if (hour === '01 PM') {\n timeLabel = `1pm - 4pm`;\n } else if (hour === '12 PM') {\n timeLabel = '7am - 12pm';\n } else if (hour === '04 PM') {\n timeLabel = '1pm - 4pm';\n } else {\n timeLabel = hour;\n }\n return timeLabel;\n }\n\n if (departureHour === '07 PM') {\n let timeLabel = '';\n if (hour === '07 AM') {\n timeLabel = '7am - 12pm';\n } else if (hour === '01 PM') {\n timeLabel = `1pm - 7pm`;\n } else if (hour === '12 PM') {\n timeLabel = '7am - 12pm';\n } else if (hour === '07 PM') {\n timeLabel = '1pm - 7pm';\n } else {\n timeLabel = hour;\n }\n return timeLabel;\n }\n }\n if (\n fisheryPublicId === wadmillFishery &&\n moment(arrivalDate).format('DD-MM-YYYY') !==\n moment(departureDate).format('DD-MM-YYYY')\n ) {\n // Special case for Wadmill Fishery\n let timeLabel = '';\n if (hour === '07 AM') {\n timeLabel = '7am - 12pm';\n } else if (hour === '01 PM') {\n timeLabel = '1pm - 5pm';\n } else if (hour === '12 PM') {\n timeLabel = '7am - 12pm';\n } else if (hour === '06 PM') {\n timeLabel = '1pm - 5pm';\n } else {\n timeLabel = hour;\n }\n return timeLabel;\n }\n\n if (\n fisheryPublicId === wadmillFishery &&\n moment(arrivalDate).format('DD-MM-YYYY') ===\n moment(departureDate).format('DD-MM-YYYY')\n ) {\n if (hour === '06 PM') {\n return '05 PM';\n }\n }\n // Standard format\n\n return hour;\n };\n\n const arrivalDateString = moment(arrivalDate).format('ddd Do MMMM');\n const departureDateString = moment(departureDate).format('ddd Do MMMM');\n\n return (\n \n {loading && (\n
\n \n
\n )}\n
\n
\n

\n Arrival{' '}\n {moment(arrivalDate).isValid() && (\n

\n ({arrivalDateString})\n

\n )}\n

\n
\n onChangeArrival(e.target.value)}\n value={arrivalTime ? arrivalTime : ''}\n defaultValue={arrivalTime}\n buttonStyle='solid'\n >\n {availability\n ? availability.arrival.slice(0, hasNightArrival).map((item) => {\n return item.is_available ? (\n \n {handleTimeLabel(item.hour)}\n \n ) : (\n \n {handleTimeLabel(item.hour)}\n \n );\n })\n : ''}\n \n
\n
\n
\n
\n
\n

\n Departure{' '}\n {moment(departureDate).isValid() && (\n

\n ({departureDateString})\n

\n )}\n

\n
\n onChangeDeparture(e.target.value)}\n defaultValue={departureTime}\n value={departureTime ? departureTime : ''}\n buttonStyle='solid'\n >\n {availability\n ? availability.departure.map((item) => {\n return item.is_available ? (\n \n {handleTimeLabel(item.hour)}\n \n ) : (\n \n {handleTimeLabel(item.hour)}{' '}\n \n );\n })\n : ''}\n \n
\n
\n
\n \n );\n}\n\nexport default SelectTimeControl;\n","import { Result } from 'antd';\nimport React from 'react';\n\nfunction BookingSuccessMessage({ bookingId, fisheryName, children }) {\n return (\n
\n \n

\n {fisheryName}\n

\n

\n Booking ID:{' '}\n {bookingId}\n

\n

\n You will receive an email confirmation with your ticket shortly\n

\n \n }\n extra={children}\n />\n
\n );\n}\n\nexport default BookingSuccessMessage;\n","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgAlertIllustration(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Capa_1\",\n enableBackground: \"new 0 0 512 512\",\n height: 512,\n viewBox: \"0 0 512 512\",\n width: 512,\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m258.271 372.002h-4.542c-29.09 0-53.208-22.749-54.906-51.789l-15.322-262.002c-.88-15.055 4.549-29.979 14.896-40.949 10.347-10.971 24.93-17.262 40.01-17.262h35.186c15.079 0 29.662 6.291 40.009 17.261 10.348 10.97 15.777 25.896 14.898 40.949l-15.321 262.003c-1.7 29.041-25.819 51.789-54.908 51.789z\",\n fill: \"#ff674f\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m258.271 372.002c29.09 0 53.208-22.748 54.907-51.789l15.321-262.003c.88-15.054-4.55-29.979-14.897-40.949s-24.93-17.261-40.009-17.261h-17.593v372.002z\",\n fill: \"#f2472c\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m256 512c-30.327 0-55-24.673-55-54.999 0-30.327 24.673-55 55-55s55 24.673 55 54.999c0 30.327-24.673 55-55 55z\",\n fill: \"#ff674f\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m256 402.001v109.999c30.327 0 55-24.673 55-55 0-30.326-24.673-54.999-55-54.999z\",\n fill: \"#f2472c\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m151.414 401.758c-5.162 0-10.184-2.665-12.972-7.445-12.065-20.688-18.442-44.313-18.442-68.32 0-24.008 6.377-47.633 18.442-68.32 4.173-7.155 13.356-9.577 20.514-5.4 7.156 4.173 9.574 13.357 5.401 20.514-9.393 16.105-14.357 34.503-14.357 53.206 0 18.702 4.964 37.101 14.357 53.206 4.173 7.156 1.755 16.341-5.401 20.515-2.376 1.385-4.977 2.044-7.542 2.044z\",\n fill: \"#ff9300\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m99.545 431.889c-5.162 0-10.184-2.665-12.972-7.445-17.384-29.812-26.573-63.855-26.573-98.451s9.189-68.639 26.574-98.45c4.172-7.156 13.357-9.575 20.514-5.401s9.575 13.358 5.401 20.515c-14.713 25.228-22.489 54.045-22.489 83.336s7.776 58.108 22.489 83.337c4.173 7.156 1.755 16.341-5.401 20.515-2.377 1.385-4.977 2.044-7.543 2.044z\",\n fill: \"#ffb500\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m47.601 462.065c-5.166 0-10.191-2.67-12.978-7.456-22.65-38.907-34.623-83.381-34.623-128.616 0-45.233 11.973-89.709 34.623-128.616 4.168-7.159 13.351-9.586 20.51-5.416 7.159 4.168 9.584 13.351 5.417 20.51-19.986 34.33-30.55 73.585-30.55 113.522s10.564 79.192 30.55 113.521c4.168 7.159 1.743 16.342-5.417 20.51-2.373 1.382-4.97 2.041-7.532 2.041z\",\n fill: \"#ffe645\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m360.715 401.543c-2.557 0-5.146-.654-7.516-2.029-7.165-4.158-9.602-13.338-5.444-20.503 9.319-16.058 14.245-34.391 14.245-53.018 0-18.628-4.926-36.961-14.245-53.019-4.158-7.165-1.721-16.345 5.444-20.503 7.164-4.157 16.345-1.722 20.503 5.444 11.971 20.627 18.298 44.168 18.298 68.078s-6.327 47.45-18.298 68.076c-2.783 4.795-7.815 7.474-12.987 7.474z\",\n fill: \"#ff9300\"\n })), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m412.583 431.674c-2.56 0-5.152-.656-7.524-2.035-7.162-4.163-9.594-13.344-5.43-20.506 14.635-25.178 22.371-53.927 22.371-83.14s-7.736-57.962-22.371-83.14c-4.164-7.162-1.732-16.343 5.43-20.506 7.158-4.164 16.343-1.734 20.506 5.43 17.294 29.751 26.435 63.713 26.435 98.216s-9.141 68.465-26.435 98.216c-2.785 4.79-7.814 7.465-12.982 7.465z\",\n fill: \"#ffb500\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m464.527 461.849c-2.558 0-5.149-.655-7.52-2.032-7.164-4.16-9.599-13.341-5.438-20.504 19.909-34.277 30.431-73.462 30.431-113.32 0-39.857-10.522-79.043-30.43-113.319-4.161-7.163-1.727-16.344 5.438-20.504 7.161-4.162 16.343-1.729 20.504 5.438 22.562 38.846 34.488 83.242 34.488 128.385s-11.926 89.539-34.488 128.386c-2.784 4.793-7.815 7.47-12.985 7.47z\",\n fill: \"#ffe645\"\n })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAlertIllustration);\nexport default __webpack_public_path__ + \"static/media/alert-illustration.6ce886f699876a24e6eebd3d8af35a10.svg\";\nexport { ForwardRef as ReactComponent };","import { Button, Modal } from 'antd';\nimport alertIllustration from '../../assets/images/alert-illustration.svg';\n\nexport default function LakeBookingInformationModal({\n visible,\n onClose,\n bookingInfo,\n}) {\n return (\n \n

\n Important Booking Information\n

\n
\n \n
\n {bookingInfo}\n
\n \n Close\n \n
\n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport { Button, Col } from 'antd';\nimport ArrowLeft from '../../../assets/images/fishery_profile/icons/ArrowLeft.png';\nimport ArrowRight from '../../../assets/images/fishery_profile/icons/ArrowRight.png';\n\nimport Carousel from 'react-multi-carousel';\nimport 'react-multi-carousel/lib/styles.css';\nimport '../../common/components/sliders/assets/css/sliders.css';\nimport { useGlobalState } from './GlobalState';\nimport axios from 'axios';\nimport moment from 'moment-timezone';\nimport { exotic_fishery } from '../../common/Utils';\nimport { toUTCDate } from '../../../utils/date';\nimport { emptyDatesObject } from '../../availability_calendar/AvailabilityCalendar';\nimport { notification } from '../../../utils/messaging';\nimport { useIsAnglerLoggedInQuery } from '../../user_profile/userProfileSlice';\nimport UserLoginForm from '../../common/UserLoginForm';\nimport MenuDrawer from '../../common/components/menu/MenuDrawer';\n\nconst HideLake1 = 'Suite Management';\nconst HideLake2 = 'The Fishing Lake';\nexport default function SelectLake({\n setMaxGuestPerAngler,\n fishery_id,\n scrollToRef,\n disabled = false,\n}) {\n const [lakeInfo] = useGlobalState('lakeInfo');\n const [lakeDetails, setLakeDetails] = useGlobalState('lakeDetails');\n\n const [userSelectedLakeId, setUserSelectedLakeId] =\n useGlobalState('userSelectedLakeId');\n const [, setUserSelectedLakeName] = useGlobalState('userSelectedLakeName');\n const [, setDisabledDates] = useGlobalState('disabledDates');\n const [, setLimitedDates] = useGlobalState('limitedDates');\n const [, setBookingsLoading] = useGlobalState('bookingsLoading');\n const [, setBookingDates] = useGlobalState('bookingDates');\n const [userSelectedPakage, setUserSelectedPakage] =\n useGlobalState('userSelectedPakage');\n const selectedPackageId =\n lakeDetails?.custom_slot_days?.[userSelectedPakage - 1]?.id;\n\n const [userSelectedAnglers, setUserSelectedAnglers] = useGlobalState(\n 'userSelectedAnglers'\n );\n const [userSelectedRods, setUserSelectedRods] =\n useGlobalState('userSelectedRods');\n const [, setAccommodation] = useGlobalState('accommodation');\n\n const [, setAvailableTime] = useGlobalState('availableTime');\n const [, setArrivalTime] = useGlobalState('arrivalTime');\n const [, setDepartureTime] = useGlobalState('departureTime');\n\n const [, setLakeType] = useGlobalState('lakeType');\n const [, setGuestAllowed] = useGlobalState('guestAllowed');\n const [, setIsLakeExclusive] = useGlobalState('isLakeExclusive');\n const [, setBookingOverlay] = useGlobalState('bookingOverlay');\n const [, setTicketAvailable] = useGlobalState('ticketsAvailable');\n const [, setHowToBook] = useGlobalState('howToBook');\n const [, setEstimatedPricing] = useGlobalState('estimatedPricing');\n const [, setUserSelectedSwims] = useGlobalState('userSelectedSwims');\n const [, setUserBookingData] = useGlobalState('userBookingData');\n const [, setUserSelectedDoubleSwim] = useGlobalState(\n 'userSelectedDoubleSwim'\n );\n const [, setLoading] = useState('loading');\n const [, setMaxRod] = useGlobalState('maxRod');\n const [, setLakeExclusive] = useGlobalState('lakeExclusive');\n const [bookingType, setBookingType] = useGlobalState('bookingType');\n\n const [showSignInDrawer, setShowSignInDrawer] = useState(false);\n const { data: isLoggedIn } = useIsAnglerLoggedInQuery();\n\n // For Floor lake slider\n const responsive = {\n all: {\n breakpoint: { max: 10000, min: 0 },\n items: 1,\n slidesToSlide: 1,\n },\n };\n\n const [carouselNeed, setCarouselNeed] = useState(false);\n\n const ButtonGroup = ({ next, previous, goToSlide, ...rest }) => {\n const {\n carouselState: { totalItems, slidesToShow },\n } = rest;\n\n if (totalItems > slidesToShow && totalItems !== slidesToShow) {\n setCarouselNeed(true);\n } else {\n setCarouselNeed(false);\n }\n\n return (\n carouselNeed && (\n <>\n
\n !disabled && previous()}\n >\n Arrow Left\n \n !disabled && next()}\n >\n Arrow Right\n \n
\n \n )\n );\n };\n\n const getBookingsInfo = (lake_id, lake_exclusive_only = false) => {\n setBookingsLoading(true);\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n let payload_data = {\n anglers: userSelectedAnglers,\n guest: userSelectedRods,\n lake_id: lake_id,\n date: moment(new Date()).format('YYYY-MM-DD'),\n book_lake_exclusive: lake_exclusive_only,\n custom_slot_id: selectedPackageId,\n booking_type: bookingType,\n };\n\n axios\n .post('booking/lake/details', payload_data, axios_config)\n .then((res) => {\n if (res.status === 200) {\n const _result = res.data.result;\n setDisabledDates(_result.fully_booked_dates.map(toUTCDate));\n setLimitedDates(\n _result?.limited_availability_dates?.map((ld) => ({\n ...ld,\n date: toUTCDate(ld.date),\n })) || []\n );\n setLakeDetails(_result);\n setGuestAllowed(_result.guest_allowed);\n setIsLakeExclusive(_result?.lake_exclusive_enabled);\n setLakeType(_result.lake_type);\n setTicketAvailable(_result.swims_tickets_available);\n setMaxRod(_result.max_rod_per_angler);\n setHowToBook(_result.how_to_book);\n setMaxGuestPerAngler(_result.guest_limit_per_angler);\n\n if (lake_id && scrollToRef?.current) {\n scrollToRef.current.scrollIntoView({\n block: 'start',\n inline: 'nearest',\n smooth: true,\n });\n }\n setBookingsLoading(false);\n } else {\n notification.error({\n description: 'Error processing result',\n });\n setBookingsLoading(false);\n setUserSelectedLakeId(null);\n setLoading(false);\n }\n })\n .catch((err) => {\n setUserSelectedLakeId(null);\n if (err && err.response) {\n if (err.response.status === 500) {\n notification.error({\n description: 'Server Response failed. Please try again later',\n });\n } else if (err.response.status === 401) {\n notification.error({\n description:\n 'Your action will not be saved. Please Login and try again!',\n });\n } else if (err.response.status === 400) {\n notification.error({\n description: err.response.data['detail'],\n });\n } else if (err.response.status === 422) {\n if (err.response.data['detail'] === 'Signature has expired') {\n notification.error({\n description:\n 'Login session has been expired. Please Login to continue!',\n });\n } else {\n notification.error({\n description:\n \"OOPS! Server didn't like the request. If this persists please contact support team\",\n });\n }\n } else if (err.response.status === 423) {\n notification.error({\n description:\n 'Sorry ! this booking slot has been booked by another user, Try different booking!',\n });\n }\n }\n setBookingsLoading(false);\n setLoading(false);\n });\n };\n\n const checkUserCanBookLake = (lakeId) => {\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n params: {\n lake_id: lakeId,\n },\n };\n\n axios\n .get('booking/user_can_book', axios_config)\n .then((res) => {\n const { can_book = false, detail = 'Something went wrong!' } =\n res?.data;\n if (res.status !== 200 || !can_book) {\n notification.error({\n description: detail,\n });\n setUserSelectedLakeId(null);\n setUserSelectedLakeName(null);\n setLakeDetails([]);\n }\n })\n .catch((err) => {\n notification.error({\n description: err?.response?.data?.['detail'],\n });\n });\n };\n\n const handleLakeChange = (e, lakeDetails) => {\n if (disabled) {\n return;\n }\n const { id, name: lakeName = '', lake_exclusive_only } = lakeDetails;\n if (userSelectedLakeId !== id) {\n checkUserCanBookLake(id);\n // Reset Form\n setAccommodation(false);\n setAvailableTime(null);\n setEstimatedPricing(null);\n // setUserSelectedSwims(null);\n setUserSelectedAnglers(1);\n setUserSelectedRods(0);\n setLakeExclusive(false);\n // setUserSelectedLakeId(null);\n setBookingDates([{ ...emptyDatesObject }]);\n setArrivalTime(null);\n setDepartureTime(null);\n setUserSelectedPakage(null);\n // setDateText(`${new Date()}reset`);\n setBookingType('');\n }\n setUserSelectedLakeId(id);\n setAccommodation(lakeDetails?.accommodation);\n setUserSelectedLakeName(lakeName);\n getBookingsInfo(id, lake_exclusive_only);\n setUserSelectedSwims([]);\n setUserSelectedDoubleSwim([]);\n setUserBookingData({});\n setBookingOverlay(false);\n };\n\n useEffect(() => {\n if (lakeInfo && lakeInfo.length === 1) {\n handleLakeChange('', lakeInfo[0]);\n }\n }, [lakeInfo]);\n const idsToRemove = [HideLake1, HideLake2];\n const filteredItems =\n fishery_id.toString() === exotic_fishery\n ? lakeInfo?.filter((item) => !idsToRemove.includes(item.name))\n : lakeInfo;\n\n return (\n <>\n }\n arrows={false}\n itemAriaLabel={'lake'}\n >\n {lakeInfo\n ? filteredItems.map((lake, index) => {\n const showMemberOnly =\n !isLoggedIn && lake?.access_type?.access_type === 'Member only';\n return (\n \n \n !showMemberOnly && handleLakeChange(e, lake)\n }\n className='br15 bookings-slider-image'\n src={lake.image}\n />\n \n

\n {lake.name}\n

\n
\n {showMemberOnly && (\n
\n \n

Member-only Lake!

\n

\n setShowSignInDrawer(true)}\n >\n Log In\n \n to book this lake\n

\n
\n \n )}\n \n );\n })\n : ''}\n \n \n setShowSignInDrawer(false)}\n />\n \n \n );\n}\n","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgPackageList(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 22,\n height: 22,\n viewBox: \"0 0 22 22\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M17.9182 2.98371C18.413 2.98371 18.8167 3.38731 18.8167 3.88218V20.414C18.8167 20.9089 18.413 21.3125 17.9182 21.3125H4.08181C3.58694 21.3125 3.18333 20.9089 3.18333 20.414V3.88218C3.18333 3.38736 3.58694 2.98371 4.08181 2.98371H5.98743V3.96533C5.98743 4.72708 6.6067 5.3463 7.36845 5.3463H14.6316C15.3933 5.3463 16.0126 4.72704 16.0126 3.96533V2.98371H17.9182ZM11.2312 13.5341H15.4755C15.7447 13.5341 15.9629 13.3158 15.9629 13.0466C15.9629 12.7774 15.7447 12.5592 15.4755 12.5592H11.2312C10.962 12.5592 10.7438 12.7774 10.7438 13.0466C10.7438 13.3158 10.962 13.5341 11.2312 13.5341ZM11.2312 17.8063H15.4755C15.7447 17.8063 15.9629 17.5881 15.9629 17.3189C15.9629 17.0497 15.7447 16.8315 15.4755 16.8315H11.2312C10.962 16.8315 10.7438 17.0497 10.7438 17.3189C10.7438 17.5881 10.962 17.8063 11.2312 17.8063ZM11.2312 9.26179H15.4755C15.7447 9.26179 15.9629 9.04355 15.9629 8.77435C15.9629 8.50515 15.7447 8.28691 15.4755 8.28691H11.2312C10.962 8.28691 10.7438 8.50515 10.7438 8.77435C10.7438 9.04359 10.962 9.26179 11.2312 9.26179ZM5.95813 9.1945L6.6977 9.93403C6.88801 10.1243 7.19662 10.1243 7.38692 9.93403L7.38959 9.93128L9.16605 8.31914C9.36478 8.13828 9.37926 7.83054 9.1984 7.63181C9.01754 7.43308 8.7098 7.4186 8.51107 7.59945L7.05916 8.91709L6.64735 8.50528C6.45704 8.31497 6.14844 8.31497 5.95808 8.50528C5.76782 8.69559 5.76782 9.00419 5.95813 9.1945ZM5.95813 17.739L6.6977 18.4786C6.88801 18.6689 7.19662 18.6689 7.38692 18.4786L7.38959 18.4758L9.16605 16.8637C9.36478 16.6828 9.37926 16.3751 9.1984 16.1764C9.01754 15.9776 8.7098 15.9631 8.51107 16.144L7.05916 17.4616L6.64735 17.0498C6.45704 16.8595 6.14844 16.8595 5.95808 17.0498C5.76782 17.2401 5.76782 17.5487 5.95813 17.739ZM5.95813 13.4668L6.6977 14.2063C6.88801 14.3966 7.19662 14.3966 7.38692 14.2063L7.38959 14.2036L9.16605 12.5914C9.36478 12.4106 9.37926 12.1028 9.1984 11.9041C9.01754 11.7054 8.7098 11.6909 8.51107 11.8717L7.05916 13.1893L6.64735 12.7775C6.45704 12.5872 6.14844 12.5872 5.95808 12.7775C5.76782 12.9678 5.76782 13.2764 5.95813 13.4668ZM7.3684 2.0509C7.14471 2.0509 6.96222 2.23334 6.96222 2.45708V3.96533C6.96222 4.18902 7.14471 4.37147 7.3684 4.37147H14.6316C14.8553 4.37147 15.0378 4.18898 15.0378 3.96533V2.45704C15.0378 2.23334 14.8553 2.05086 14.6316 2.05086H12.7331C12.5445 1.26865 11.8402 0.6875 11 0.6875C10.1598 0.6875 9.45552 1.26865 9.26685 2.0509H7.3684Z\",\n fill: \"#1F5B8C\"\n })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgPackageList);\nexport default __webpack_public_path__ + \"static/media/package-list.a65bc1f2ba406a161d8706795812c0af.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\nconst SvgEdit = (props) => (\n \n \n \n);\nexport default SvgEdit;\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Col, notification, Row, Select } from 'antd';\nimport { useGlobalState } from './GlobalState';\nimport SelectLake from './SelectLake';\nimport 'react-multi-carousel/lib/styles.css';\nimport axios from 'axios';\nimport moment from 'moment-timezone';\nimport CryptoJS from 'crypto-js';\nimport BookingDetails from '../assets/images/BookingDetails.png';\nimport selectLake from '../assets/images/SelectLake.png';\nimport packageList from '../assets/images/package-list.svg';\nimport { exotic_fishery } from '../../common/Utils';\nimport { useHistory } from 'react-router-dom';\nimport { toUTCDate } from '../../../utils/date';\nimport { emptyDatesObject } from '../../availability_calendar/AvailabilityCalendar';\nimport SelectedInfoPanel from '../../common/SelectedInfoPanel';\nimport SvgEdit from '../../../assets/images/Icons/SVG/Edit';\nimport { useUserIdentification } from '../../../utils/hooks';\nimport { useGetDynamicBookingTextQuery } from '../../user_profile/userProfileSlice';\n\nconst { Option } = Select;\n\nexport default function SelectLakeAndTickets(props) {\n const history = useHistory();\n\n const is_exotic_fishery = props.fishery_id === exotic_fishery;\n const { data: DynamicText } = useGetDynamicBookingTextQuery(props.fishery_id);\n const is_manor = props.fishery_id === process.env.REACT_APP_FISHERY_MANOR_ID;\n const is_woolpack = +props.fishery_id === 10832;\n const [userSelectedAnglers, setUserSelectedAnglers] = useGlobalState(\n 'userSelectedAnglers'\n );\n const [userSelectedLakeName] = useGlobalState('userSelectedLakeName');\n const [lakeExclusive, setLakeExclusive] = useGlobalState('lakeExclusive');\n const [isLakeExclusive, setIsLakeExclusive] =\n useGlobalState('isLakeExclusive');\n const [userSelectedRods, setUserSelectedRods] =\n useGlobalState('userSelectedRods');\n const [userSelectedLakeId, setUserSelectedLakeId] =\n useGlobalState('userSelectedLakeId');\n const [userSelectedPakage, setUserSelectedPakage] =\n useGlobalState('userSelectedPakage');\n const [, setBookingsLoading] = useGlobalState('bookingsLoading');\n const [lakeInfo] = useGlobalState('lakeInfo');\n const [, setDisabledDates] = useGlobalState('disabledDates');\n const [, setLimitedDates] = useGlobalState('limitedDates');\n const [, setLakeInfo] = useGlobalState('lakeInfo');\n const [, setFisheryInfo] = useGlobalState('fisheryInfo');\n const [isInsideWidget] = useGlobalState('isInsideWidget');\n\n const [, setUserBookingData] = useGlobalState('userBookingData');\n const [, setUserSelectedSwims] = useGlobalState('userSelectedSwims');\n const [, setUserSelectedDoubleSwim] = useGlobalState(\n 'userSelectedDoubleSwim'\n );\n\n const [, setAvailableTime] = useGlobalState('availableTime');\n const [, setBookingDates] = useGlobalState('bookingDates');\n const [lakeDetails, setLakeDetails] = useGlobalState('lakeDetails');\n\n const [, setArrivalTime] = useGlobalState('arrivalTime');\n const [, setDepartureTime] = useGlobalState('departureTime');\n const [, setEstimatedPricing] = useGlobalState('estimatedPricing');\n\n const [, setLoading] = useState(true);\n const [guestAllowed] = useGlobalState('guestAllowed');\n const [lakeType, setLakeType] = useGlobalState('lakeType');\n const [ticketAvailable, setTicketAvailable] =\n useGlobalState('ticketsAvailable');\n const [maxGuestPerAngler, setMaxGuestPerAngler] = useState(\n lakeDetails?.guest_limit_per_angler ?? 0\n );\n const [guestOptions, setGuestOptions] = useState([]);\n const [accommodation] = useGlobalState('accommodation');\n const [loginChecked, setLoginChecked] = React.useState(false);\n\n const detailsRef = useRef();\n\n const [bookingType, setBookingType] = useGlobalState('bookingType');\n const is_exotic_arapaima_lake =\n userSelectedLakeId === 'a4688274-3f67-40a5-be8d-a8dc51c053b3';\n const handleBookingTypeChange = (value) => {\n setBookingType(value);\n\n if (value === 'lake_exclusive') {\n handleLakeExclusiveCheckboxChanged(true, value);\n } else {\n handleLakeExclusiveCheckboxChanged(false, value);\n }\n };\n const ADHfishery = 11797;\n const SapphireFishery = 10525;\n\n const getBookingsInfo = (\n lake_id,\n anglers,\n exclusive,\n bookingType,\n packageId = null\n ) => {\n // Reset timing\n // setAvailableTime(null);\n // setArrivalTime(null);\n // setDepartureTime(null);\n //\n\n setBookingsLoading(true);\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n let payload_data = {\n anglers: anglers,\n guest: userSelectedRods,\n lake_id: lake_id,\n date: moment(new Date()).format('YYYY-MM-DD'),\n book_lake_exclusive: exclusive,\n ...(packageId ? { custom_slot_id: packageId } : {}),\n booking_type: bookingType,\n };\n\n axios\n .post('booking/lake/details', payload_data, axios_config)\n .then((res) => {\n if (res.status === 200) {\n const _result = res.data.result;\n setDisabledDates(_result.fully_booked_dates.map(toUTCDate));\n setLimitedDates(\n _result?.limited_availability_dates?.map((ld) => ({\n ...ld,\n date: toUTCDate(ld.date),\n })) || []\n );\n setLakeDetails(_result);\n setIsLakeExclusive(_result?.lake_exclusive_enabled);\n setLakeType(_result.lake_type);\n\n setTicketAvailable(_result.swims_tickets_available);\n setMaxGuestPerAngler(_result.guest_limit_per_angler);\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Error processing result',\n });\n }\n })\n .catch((err) => {\n console.error(err);\n if (err.response) {\n if (err.response.status === 500) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Server Response failed. Please try again later',\n });\n } else if (err.response.status === 401) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Your action will not be saved. Please Login and try again!',\n });\n } else if (err.response.status === 400) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: err.response.data['detail'],\n });\n } else if (err.response.status === 422) {\n if (err.response.data['detail'] === 'Signature has expired') {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Login session has been expired. Please Login to continue!',\n });\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n \"OOPS! Server didn't like the request. If this persists please contact support team\",\n });\n }\n } else if (err.response.status === 423) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Sorry ! this booking slot has been booked by another user, Try different booking!',\n });\n }\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Error processing result',\n });\n }\n })\n .finally(() => {\n setBookingsLoading(false);\n setLoading(false);\n });\n };\n\n const handleAnglerChange = (value) => {\n setUserSelectedAnglers(value);\n setUserBookingData({});\n setUserSelectedSwims([]);\n setUserSelectedDoubleSwim([]);\n setEstimatedPricing(null);\n\n setUserSelectedLakeId(userSelectedLakeId);\n\n userSelectedLakeId &&\n getBookingsInfo(\n userSelectedLakeId,\n value,\n false,\n bookingType,\n lakeDetails?.custom_slot_days &&\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id\n );\n\n // Reset Form\n setAvailableTime(null);\n setLakeExclusive(false);\n // setUserSelectedSwims(null);\n // setUserSelectedLakeId(null);\n setBookingDates([{ ...emptyDatesObject }]);\n setArrivalTime(null);\n setDepartureTime(null);\n };\n\n const handleRodChange = (value) => {\n setUserSelectedRods(value);\n setLakeExclusive(false);\n };\n\n const generateNumAnglersList = (maxAngler) => {\n const isManorFishing = is_manor && !accommodation;\n const maximumAngler = isManorFishing || is_woolpack ? 1 : maxAngler;\n let list = [];\n for (let i = 1; i <= maximumAngler; i++) {\n list.push(i);\n }\n return list;\n };\n\n useEffect(() => {\n const MaxGuest = userSelectedAnglers * maxGuestPerAngler;\n const list = [];\n for (let i = 0; i <= MaxGuest; i++) {\n list.push(i);\n }\n setGuestOptions(list);\n }, [maxGuestPerAngler, userSelectedAnglers]);\n\n const { resetIdentity } = useUserIdentification();\n const logOutUser = () => {\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n axios\n .get('/angler/refresh-revoke', axios_config)\n .then(() => {})\n .catch(() => {})\n .finally(() => {\n axios\n .get('/angler/access-revoke', axios_config)\n .then(() => {\n resetIdentity();\n })\n .catch(() => {})\n .finally(() => window?.location?.reload?.());\n });\n };\n\n const getBookingInfo = () => {\n let getParams = { fishery_id: props.fishery_id };\n\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n withCredentials: true,\n params: getParams,\n };\n\n axios\n .get('booking/details', axios_config)\n .then((res) => {\n if (res.status === 200) {\n let _result = res.data.result;\n if (_result.lakes.length > 0) {\n setLakeInfo(_result.lakes);\n setFisheryInfo(_result.fishery_info);\n }\n setLoading(false);\n } else {\n console.error(res);\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Error processing request',\n });\n setLoading(false);\n }\n })\n .catch((err) => {\n console.error(err);\n if (err.response) {\n if (\n err.response.status === 401 ||\n (err.response.status === 422 &&\n err.response.data.detail === 'Signature has expired')\n ) {\n if (\n err.response.data.detail === 'Signature has expired' &&\n isInsideWidget\n ) {\n logOutUser();\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Please login to continue',\n });\n history.push(`/fishery/${props.fishery_id}`);\n }\n }\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Error processing result',\n });\n }\n setLoading(false);\n });\n };\n\n const logUser = (username, password) => {\n const instance = axios.create({\n withCredentials: true,\n crossDomain: true,\n baseURL: `${process.env.REACT_APP_AXIOS_URL}`,\n 'Access-Control-Allow-Origin': '*',\n sameSite: null,\n secure: false,\n });\n\n const config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n };\n\n const formData = new FormData();\n formData.append('username', username);\n formData.append('password', password);\n\n instance\n .post('login', formData, config)\n .then((res) => {\n if (res.status === 200) {\n window.location.reload(true);\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Incorrect Details. Please try again.',\n });\n }\n })\n .catch((err) => {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Incorrect Details. Please try again.',\n });\n if (err.response) {\n if (err.response.status !== 401 && err.response.status !== 200) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Incorrect Details. Please try again.',\n });\n }\n }\n })\n .finally(() => {});\n };\n\n // Similar to componentDidMount and componentDidUpdate:\n useEffect(() => {\n window.scrollTo(0, 0);\n // Update the document title using the browser API\n if (loginChecked) {\n getBookingInfo();\n }\n }, [loginChecked]);\n\n useEffect(() => {\n if (lakeDetails.lake_exclusive_only) {\n setLakeExclusive(true);\n }\n }, [lakeDetails]);\n\n const handlePackage = (value) => {\n const isExclusive =\n lakeDetails?.custom_slot_days[value - 1]?.booking_type ===\n 'lake_exclusive';\n setLakeExclusive(isExclusive);\n\n getBookingsInfo(\n userSelectedLakeId,\n userSelectedAnglers,\n isExclusive,\n bookingType,\n lakeDetails?.custom_slot_days[value - 1]?.id\n );\n setBookingDates([{ ...emptyDatesObject }]);\n\n setUserSelectedPakage(value);\n setUserSelectedAnglers(1);\n setUserSelectedRods(0);\n\n setEstimatedPricing(null);\n setAvailableTime(null);\n setArrivalTime(null);\n setDepartureTime(null);\n };\n\n useEffect(() => {\n if (window) {\n const search = window.location.search;\n const params = new URLSearchParams(search);\n const paramData = params.get('details');\n\n if (paramData) {\n const cryptkey = CryptoJS.enc.Utf8.parse(\n process.env.REACT_APP_PRIVATE_KEY\n );\n const cryptiv = CryptoJS.enc.Utf8.parse(process.env.REACT_APP_IV);\n\n // Decryption\n const crypted = CryptoJS.enc.Base64.parse(\n decodeURIComponent(paramData.toString())\n );\n var decrypt = CryptoJS.AES.decrypt({ ciphertext: crypted }, cryptkey, {\n iv: cryptiv,\n mode: CryptoJS.mode.CTR,\n });\n const decryptedValue = decrypt.toString(CryptoJS.enc.Utf8).split(':');\n\n const axios_config = {\n headers: {\n Accept: 'application/json',\n // 'Content-Type': 'application/x-www-form-urlencoded',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n if (decryptedValue.length === 2) {\n axios\n .get('auth', axios_config)\n .then((res) => {\n if (res.status === 200) {\n setLoginChecked(true);\n } else {\n logUser(decryptedValue[0], decryptedValue[1]);\n }\n })\n .catch(() => {\n logUser(decryptedValue[0], decryptedValue[1]);\n });\n }\n } else {\n setLoginChecked(true);\n }\n }\n }, []);\n\n const disableNonLakeExclusiveControls = isLakeExclusive && lakeExclusive;\n\n const ticketTypeName =\n (is_exotic_fishery && !is_exotic_arapaima_lake) || accommodation\n ? 'Guests'\n : lakeType.toLowerCase() === 'ticket'\n ? 'Tickets'\n : 'Anglers';\n\n const anglersControl = (\n <>\n

\n {`Total No. of ${ticketTypeName}: `}\n

\n \n {generateNumAnglersList(ticketAvailable).map((id) => {\n return (\n \n );\n })}\n \n \n );\n\n const bookingTypeControl = (\n <>\n

Choose Your Booking Type:

\n \n \n \n {lakeDetails?.lake_exclusive_enabled && (\n \n )}\n \n \n );\n\n const handleLakeExclusiveCheckboxChanged = (\n checked,\n userSelectedBookingType = bookingType\n ) => {\n const selectedPackageIsExclusive =\n lakeDetails?.custom_slot_booking && lakeExclusive;\n if (lakeDetails.lake_exclusive_only || selectedPackageIsExclusive) {\n return;\n }\n setUserSelectedAnglers(1);\n setUserSelectedRods(0);\n setLakeExclusive(checked);\n userSelectedLakeId &&\n getBookingsInfo(\n userSelectedLakeId,\n 1,\n checked,\n userSelectedBookingType,\n lakeDetails?.custom_slot_days &&\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id\n );\n // Reset Form\n setAvailableTime(null);\n setBookingDates([{ ...emptyDatesObject }]);\n setArrivalTime(null);\n setDepartureTime(null);\n setEstimatedPricing(null);\n };\n\n const zeroGuests =\n !guestOptions?.length ||\n (guestOptions.length === 1 && guestOptions[0] === 0);\n\n const guestsControl = guestAllowed !== 'no' && !zeroGuests && (\n <>\n

\n {is_exotic_fishery && !is_exotic_arapaima_lake\n ? 'How many Guests will be fishing?:'\n : ' Non-Angling Guests:'}\n

\n \n {guestOptions.map((id) => {\n return (\n \n );\n })}\n \n \n );\n\n const customPackageControl = (\n <>\n

Choose Your Package:

\n \n {lakeDetails?.custom_slot_days?.map((option, i) => (\n \n {option?.name}\n \n ))}\n \n \n );\n\n const lakeExclusiveControl = (\n
\n

\n

Book Lake Exclusive

\n

\n {`(Up To ${\n lakeDetails?.lake_exclusive_anglers_allowed ?? '10'\n } Anglers Allowed)`}\n

\n

\n \n {\n handleLakeExclusiveCheckboxChanged(e.target.checked);\n }}\n style={{ width: '30px', height: '30px' }}\n />\n \n
\n );\n\n const accomodationControl = (\n
\n

\n

Book Accommodation

\n

\n {`(Up To ${\n lakeDetails?.lake_exclusive_anglers_allowed ?? '10'\n } Guests Allowed)`}\n

\n

\n \n {\n handleLakeExclusiveCheckboxChanged(e.target.checked);\n }}\n style={{ width: '30px', height: '30px' }}\n />\n \n
\n );\n\n console.log(accommodation, lakeExclusive);\n\n return (\n
\n

\n {is_exotic_fishery\n ? 'Great! Let’s book your Exotic Fishing package.'\n : 'Great! Let’s begin your booking session.'}\n

\n \n \n \n \n \n {is_exotic_fishery\n ? 'Please select your package below'\n : lakeInfo?.filter((lake) => lake.accommodation).length > 0\n ? 'Please select your lake or accommodation'\n : DynamicText?.is_active &&\n DynamicText?.properties?.booking_step_1\n ?.lake_selection_prompt\n ? DynamicText?.properties?.booking_step_1\n ?.lake_selection_prompt\n : 'Please select your lake'}\n \n \n \n \n
\n \n
\n \n
\n \n
\n\n
\n \n \n \n {is_exotic_fishery\n ? 'Please select the total number of guests in your party'\n : 'Enter your booking details'}\n \n \n {!userSelectedLakeId && (\n
\n
\n Select your lake first\n
\n
\n )}\n\n
\n {lakeDetails?.lake_type === 'Swim-Ticket' ? (\n <>\n
\n {bookingTypeControl}\n {bookingType === 'lake_exclusive' && !accommodation && (\n <>{lakeExclusiveControl}\n )}\n {lakeExclusive && accommodation && <>{accomodationControl}}\n {(bookingType === 'swim' || bookingType === 'ticket') && (\n <>\n

\n {is_exotic_fishery || accommodation\n ? 'Total Number of Guests'\n : `Total No. of ${ticketTypeName}: `}\n

\n \n {generateNumAnglersList(ticketAvailable).map((id) => {\n return (\n \n );\n })}\n \n

\n {is_exotic_fishery && !is_exotic_arapaima_lake\n ? 'How many Guests will be fishing?:'\n : ' Non-Angling Guests:'}\n

\n \n {guestOptions.map((id) => {\n return (\n \n );\n })}\n \n \n )}\n
\n \n ) : (\n <>\n {lakeDetails?.custom_slot_booking && !userSelectedPakage ? (\n
\n {customPackageControl}\n
\n ) : lakeDetails?.custom_slot_booking && lakeExclusive ? (\n <>\n
\n {customPackageControl}\n
\n\n
\n

\n

\n {DynamicText?.is_active ? (\n DynamicText?.properties?.booking_step_1\n ?.lake_exclusive_label\n ) : (\n <>\n {accommodation ? 'Accommodation' : 'Lake Exclusive'}{' '}\n {`(Up To ${\n lakeDetails?.lake_exclusive_anglers_allowed ??\n '10'\n } ${\n accommodation ? 'Guests' : 'Anglers'\n })`}{' '}\n \n )}\n

\n

\n
\n \n ) : !lakeDetails?.custom_slot_booking && isLakeExclusive ? (\n \n {!lakeDetails.lake_exclusive_only && (\n <>\n
\n

\n Book Ticket(s):\n

\n
\n {anglersControl}\n {guestsControl}\n
\n
\n\n \n OR\n
\n \n )}\n\n
\n

\n Book Whole Lake:\n

\n {lakeExclusiveControl}\n
\n
\n ) : (\n
\n {lakeDetails?.custom_slot_days && customPackageControl}\n {anglersControl}\n {guestsControl}\n
\n )}\n {userSelectedPakage &&\n lakeDetails?.custom_slot_days &&\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]\n ?.description && (\n
\n \n {' '}\n Package Description{' '}\n
\n
\n {\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]\n ?.description\n }\n
\n
\n )}\n \n )}\n \n \n Your Selection(s)

}\n className={'mg-bottom-30 mg-top-65'}\n showPlaceholder={!userSelectedLakeId}\n content={\n \n \n {!is_exotic_fishery && !accommodation ? 'Lake: ' : ''}\n {userSelectedLakeName}\n \n \n {lakeExclusive && accommodation\n ? ''\n : lakeExclusive\n ? DynamicText?.is_active &&\n DynamicText?.properties?.booking_step_1\n ?.booking_summary_booking_type\n ? DynamicText?.properties?.booking_step_1\n ?.booking_summary_booking_type\n : 'Lake Exclusive'\n : `No. of ${ticketTypeName}: ${userSelectedAnglers}`}\n \n \n }\n placeholder='Select a Lake to Get Started'\n icon={}\n iconSize={1.5}\n />\n \n \n \n );\n}\n","import React, { useState } from 'react';\nimport 'react-image-gallery/styles/css/image-gallery.css';\nimport UserImage from '../../../assets/images/common/Icons/User.png';\nimport UserBlueIcon from '../assets/images/user_blue_icon.png';\nimport UserDoubleBlueIcon from '../assets/images/user_double_blue_icon.png';\nimport UserRedIcon from '../assets/images/red.png';\n\nimport { Cell } from 'react-sticky-table';\nimport { useGlobalState } from './GlobalState';\nimport axios from 'axios';\nimport { notification } from 'antd';\nimport { addToDateString } from '../../admin/components/bookings/components/SelectSwim';\n\nexport default function SelectSwim(props) {\n const [, setLoading] = useState(false);\n\n const [userSelectedRods] = useGlobalState('userSelectedRods');\n const [swimAvailableData] = useGlobalState('swimAvailableData');\n\n const [userSelectedAnglers] = useGlobalState('userSelectedAnglers');\n const [unSelectableSwimIds] = useGlobalState('unSelectableSwimIds');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n\n // user selected swims\n const [userSelectedSwims, setUserSelectedSwims] =\n useGlobalState('userSelectedSwims');\n const [, setUserBookingData] = useGlobalState('userBookingData');\n const [userSelectedDoubleSwim, setUserSelectedDoubleSwim] = useGlobalState(\n 'userSelectedDoubleSwim'\n );\n const [bookingType] = useGlobalState('bookingType');\n\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [, setEstimatedPricing] = useGlobalState('estimatedPricing');\n //\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [arrivalTime] = useGlobalState('arrivalTime');\n const [departureTime] = useGlobalState('departureTime');\n const [lakeDetails] = useGlobalState('lakeDetails');\n\n const availableDSwims = swimAvailableData.double_swims;\n const selectedDates = swimAvailableData.selected_dates;\n const swim_id = props.swim_id;\n const date = props.date;\n const index = props.index;\n\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n const handleSwimChange = (e, swim) => {\n // Maintain local variables because of globalstate latency\n let local_variable_swim = userSelectedSwims;\n let local_variable_double_swim = userSelectedDoubleSwim;\n\n // Need not send request to API if it's a double swim\n let call_api = true;\n\n if (\n userSelectedSwims.length + userSelectedDoubleSwim.length <\n userSelectedAnglers\n ) {\n let index = userSelectedSwims.indexOf(swim);\n if (index !== -1) {\n let dsIndex = userSelectedDoubleSwim.indexOf(swim);\n if (availableDSwims.indexOf(swim) > -1 && dsIndex !== 0) {\n local_variable_double_swim = [...userSelectedDoubleSwim, swim];\n setUserSelectedDoubleSwim(local_variable_double_swim);\n // call_api = false;\n } else {\n if (dsIndex === 0) {\n userSelectedDoubleSwim.splice(dsIndex, 1);\n local_variable_double_swim = [...userSelectedDoubleSwim];\n setUserSelectedDoubleSwim(local_variable_double_swim);\n }\n userSelectedSwims.splice(index, 1);\n local_variable_swim = [...userSelectedSwims];\n setUserSelectedSwims(local_variable_swim);\n }\n } else {\n local_variable_swim = [...userSelectedSwims, swim];\n setUserSelectedSwims(local_variable_swim);\n }\n } else {\n setUserBookingData({});\n setUserSelectedSwims([]);\n setUserSelectedDoubleSwim([]);\n local_variable_swim = [];\n local_variable_double_swim = [];\n }\n\n if (call_api) {\n sendDataToServer(local_variable_swim.concat(local_variable_double_swim));\n }\n };\n\n const sendDataToServer = (swimList) => {\n let payload_data = {\n lake_id: userSelectedLakeId,\n arrival_timestamp: arrivalTime,\n departure_timestamp: departureTime,\n anglers: userSelectedAnglers,\n guest: userSelectedRods,\n swims: swimList,\n is_mobile_device: window.innerWidth <= 700,\n book_lake_exclusive: lakeExclusive,\n booking_type: bookingType,\n ...(userSelectedPakage && {\n custom_slot_id:\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id,\n }),\n };\n\n axios\n .post('booking/swim_ticket/availability', payload_data, axios_config)\n .then((res) => {\n if (res.status === 200) {\n setLoading(false);\n }\n })\n .catch((err) => {\n if (err.response) {\n if (err.response.status === 401 || err.response.status === 422) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Please login to continue',\n });\n }\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Error processing result',\n });\n }\n })\n .finally(() => {});\n };\n\n const handleOnclickEvent = (\n e,\n isSelectedDates,\n isUnClickable,\n swim_id,\n date\n ) => {\n if (isSelectedDates) {\n if (isUnClickable) {\n } else {\n handleSwimChange(e, swim_id, date);\n }\n }\n };\n\n const isSelectedDates = selectedDates.indexOf(date) !== -1;\n const isAdjacentDate =\n selectedDates.indexOf(addToDateString(date, -1)) !== -1 ||\n selectedDates.indexOf(addToDateString(date, 1)) !== -1;\n if (\n swimAvailableData.booked_dates &&\n swimAvailableData.booked_dates[swim_id] &&\n swimAvailableData.booked_dates[swim_id].indexOf(date) > -1\n ) {\n return (\n \n
\n {swim_id\n
\n \n );\n } else {\n const isUnClickable =\n unSelectableSwimIds && unSelectableSwimIds.indexOf(swim_id) > -1;\n const userSelectedIcon =\n userSelectedDoubleSwim.indexOf(swim_id) > -1 && isSelectedDates\n ? UserDoubleBlueIcon\n : userSelectedSwims.indexOf(swim_id) > -1 && isSelectedDates\n ? UserBlueIcon\n : UserImage;\n\n const userDoubleSelect =\n userSelectedDoubleSwim.indexOf(swim_id) > -1 && isSelectedDates;\n\n return (\n {\n handleOnclickEvent(e, isSelectedDates, isUnClickable, swim_id, date);\n }}\n // (isSelectedDates && isUnClickable) ? (e) => {} : (e) => {handleSwimChange(e, swim_id, date)}\n >\n
\n \n
\n \n );\n }\n}\n","import { Button, Modal } from 'antd';\nimport '../assets/css/calendar-colours-modal.css';\nimport bookingKey from '../assets/images/BookingKey.png';\nimport React from 'react';\n\nexport default function SwimKeyModal({ visible, onClose }) {\n return (\n \n \n \n Close\n \n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport { Button, Col, Divider, notification, Row } from 'antd';\nimport { useGlobalState } from './GlobalState';\nimport ImageGallery from 'react-image-gallery';\nimport 'react-image-gallery/styles/css/image-gallery.css';\nimport SelectSwim from './SelectSwim';\nimport moment from 'moment-timezone';\nimport axios from 'axios';\nimport { Carousel as ResponsiveCarousel } from 'react-responsive-carousel';\nimport eye from '../assets/images/Eye.png';\nimport 'react-responsive-carousel/lib/styles/carousel.min.css'; // requires a loader\nimport { Cell, Row as RowT, StickyTable } from 'react-sticky-table';\nimport { exotic_fishery } from '../../common/Utils';\nimport { addToDateString } from '../../admin/components/bookings/components/SelectSwim';\nimport SwimKeyModal from './SwimKeyModal';\n\nexport default function Step2({ fishery_id }) {\n const is_exotic_fishery = fishery_id === exotic_fishery;\n const [loading, setLoading] = useState(true);\n const [userSelectedSwims] = useGlobalState('userSelectedSwims');\n const [userSelectedDoubleSwim] = useGlobalState('userSelectedDoubleSwim');\n\n const [enableSwimSelect] = useState(true);\n const [swimImages, setSwimImages] = useState(null);\n\n const [swimAvailableData, setSwimAvailableData] =\n useGlobalState('swimAvailableData');\n const [, setunSelectableSwimIds] = useGlobalState('unSelectableSwimIds');\n\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [userSelectedLakeName] = useGlobalState('userSelectedLakeName');\n const [, setEstimatedPricing] = useGlobalState('estimatedPricing');\n\n const [userSelectedAnglers] = useGlobalState('userSelectedAnglers');\n const [userSelectedRods] = useGlobalState('userSelectedRods');\n const [arrivalTime] = useGlobalState('arrivalTime');\n const [departureTime] = useGlobalState('departureTime');\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [bookingType] = useGlobalState('bookingType');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n const [lakeDetails] = useGlobalState('lakeDetails');\n\n const [showKeyModal, setShowKeyModal] = useState(false);\n const is_exotic_arapaima_lake =\n userSelectedLakeId === 'a4688274-3f67-40a5-be8d-a8dc51c053b3';\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n const generateSlideImages = (images) => {\n let dList = [];\n let swim_names = [];\n\n swimAvailableData.swims.forEach((swim) => {\n let _d = swimAvailableData.double_swims\n ? swimAvailableData.double_swims.indexOf(swim.id) > -1\n ? ' (Double)'\n : ''\n : '';\n swim_names.push(swim.name + _d);\n });\n\n dList.push({\n original: images[0],\n thumbnail: images[0],\n description: is_exotic_fishery ? '' : 'Lake View',\n });\n\n images.slice(1, images.length).forEach((image, index) => {\n dList.push({\n original: image,\n thumbnail: image,\n description: is_exotic_fishery ? '' : swim_names[index],\n });\n });\n\n return dList;\n };\n\n const getSwimClickableEntries = (data) => {\n setunSelectableSwimIds([]);\n let _dates = [];\n let selectedDates = data.selected_dates;\n data.swims.forEach((swim) => {\n data.display_dates.forEach((date) => {\n if (\n data.booked_dates &&\n data.booked_dates[swim.id] &&\n data.booked_dates[swim.id].indexOf(date) > -1\n ) {\n if (selectedDates.indexOf(date) !== -1) {\n _dates.push(swim.id);\n }\n }\n });\n });\n\n const uniqueDates = [...new Set(_dates)];\n\n setunSelectableSwimIds(uniqueDates);\n // This will render next day\n };\n const getSwimAvailability = () => {\n let payload_data = {\n arrival_timestamp: arrivalTime,\n departure_timestamp: departureTime,\n lake_id: userSelectedLakeId,\n anglers: userSelectedAnglers,\n guest: userSelectedRods,\n swims:\n userSelectedDoubleSwim || userSelectedSwims\n ? userSelectedSwims.concat(userSelectedDoubleSwim)\n : [],\n is_mobile_device: window.innerWidth <= 700,\n book_lake_exclusive: lakeExclusive,\n booking_type: bookingType,\n ...(userSelectedPakage && {\n custom_slot_id:\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id,\n }),\n };\n\n axios\n .post('booking/swim_ticket/availability', payload_data, axios_config)\n .then((res) => {\n if (res.status === 200) {\n let res_data = res.data.result;\n setSwimAvailableData(res_data);\n setSwimImages(res_data.images);\n getSwimClickableEntries(res_data);\n setLoading(false);\n }\n })\n .catch((err) => {\n if (err.response) {\n if (err.response.status === 500) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Server Response failed. Please try again later',\n });\n } else if (err.response.status === 401) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Your action will not be saved. Please Login and try again!',\n });\n } else if (err.response.status === 400) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: err.response.data['detail'],\n });\n } else if (err.response.status === 422) {\n if (err.response.data['detail'] === 'Signature has expired') {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Login session has been expired. Please Login to continue!',\n });\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n \"OOPS! Server didn't like the request. If this persists please contact support team\",\n });\n }\n } else if (err.response.status === 423) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Sorry ! this booking slot has been booked by another user, Try different booking!',\n });\n }\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Error processing result',\n });\n }\n })\n .finally(() => {});\n };\n\n const reformatTableDate = (_date) => {\n return moment(new Date(_date)).format('Do MMM').toString();\n };\n\n useEffect(() => {\n window.scrollTo(0, 0);\n getSwimAvailability();\n }, []);\n\n const selectedDates = swimAvailableData?.selected_dates || [];\n const isSelectedDate = (date) => selectedDates.indexOf(date) !== -1;\n const isAdjacentDate = (date) =>\n selectedDates.indexOf(addToDateString(date, -1)) !== -1 ||\n selectedDates.indexOf(addToDateString(date, 1)) !== -1;\n\n return (\n
\n

\n {` Perfect! Time to select your ${\n is_exotic_fishery && !is_exotic_arapaima_lake ? 'room(s)' : 'swim(s)'\n }!`}\n

\n \n \n \n {is_exotic_fishery ? 'Gallery' : 'Swim gallery'}\n \n \n {!loading ? (\n <>\n \n \n \n \n \n {generateSlideImages(swimImages).map((x) => {\n return (\n
\n {x.description}\n {fishery_id !== exotic_fishery && (\n

{x.description}

\n )}\n
\n );\n })}\n \n \n \n \n {is_exotic_arapaima_lake\n ? 'Select from the available swims. All anglers should be added to one swim based on how the arapaima lake works.'\n : is_exotic_fishery\n ? 'Select from the available suites (max 2 guests per suite). King Suites contain one king size bed, Twin Suites contain two single beds.'\n : 'Select your swim(s)'}{' '}\n \n \n setShowKeyModal(false)}\n />\n \n setShowKeyModal(true)}\n >\n Click here to show the booking key\n \n \n \n \n
\n \n \n \n {swimAvailableData\n ? swimAvailableData.display_dates.map((date, index) => {\n return (\n \n {reformatTableDate(date)}\n \n );\n })\n : ''}\n \n {/* */}\n {swimAvailableData\n ? swimAvailableData.swims.map((swim, index) => {\n return (\n \n \n {' '}\n

\n {swim.name}{' '}\n {swim?.swim_type?.toLowerCase() !== 'standard'\n ? swim?.swim_type\n : swim?.swim_size}\n

\n

\n {' '}\n {swim?.swim_type?.toLowerCase() !== 'standard'\n ? swim.swim_size\n : ''}\n

\n
\n {swimAvailableData.display_dates.map((date, i) => {\n return (\n \n );\n })}\n
\n );\n })\n : ''}\n {/* */}\n
\n
\n \n \n
\n \n ) : (\n ''\n )}\n
\n );\n}\n","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgInfo(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 15,\n height: 15,\n viewBox: \"0 0 15 15\",\n fill: \"none\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.49996 0.416656C6.09901 0.416656 4.72952 0.832087 3.56467 1.61041C2.39983 2.38874 1.49194 3.49501 0.955816 4.78932C0.419695 6.08362 0.279421 7.50785 0.552733 8.88188C0.826045 10.2559 1.50067 11.518 2.49129 12.5087C3.48191 13.4993 4.74404 14.1739 6.11807 14.4472C7.49211 14.7205 8.91633 14.5803 10.2106 14.0441C11.5049 13.508 12.6112 12.6001 13.3895 11.4353C14.1679 10.2704 14.5833 8.90094 14.5833 7.49999C14.5833 6.56979 14.4001 5.6487 14.0441 4.78932C13.6881 3.92993 13.1664 3.14907 12.5086 2.49132C11.8509 1.83357 11.07 1.31181 10.2106 0.955843C9.35125 0.599872 8.43016 0.416656 7.49996 0.416656ZM8.2083 11.0417C8.2083 11.2295 8.13367 11.4097 8.00083 11.5425C7.86799 11.6754 7.68782 11.75 7.49996 11.75C7.3121 11.75 7.13193 11.6754 6.9991 11.5425C6.86626 11.4097 6.79163 11.2295 6.79163 11.0417V6.79166C6.79163 6.60379 6.86626 6.42363 6.9991 6.29079C7.13193 6.15795 7.3121 6.08332 7.49996 6.08332C7.68782 6.08332 7.86799 6.15795 8.00083 6.29079C8.13367 6.42363 8.2083 6.60379 8.2083 6.79166V11.0417ZM7.49996 4.66666C7.28982 4.66666 7.0844 4.60434 6.90967 4.48759C6.73494 4.37084 6.59876 4.2049 6.51834 4.01076C6.43792 3.81661 6.41688 3.60298 6.45788 3.39687C6.49887 3.19077 6.60007 3.00145 6.74866 2.85286C6.89725 2.70426 7.08657 2.60307 7.29268 2.56207C7.49878 2.52108 7.71242 2.54212 7.90656 2.62253C8.10071 2.70295 8.26665 2.83914 8.3834 3.01386C8.50015 3.18859 8.56246 3.39401 8.56246 3.60416C8.56246 3.88595 8.45052 4.1562 8.25126 4.35546C8.05201 4.55471 7.78175 4.66666 7.49996 4.66666Z\",\n fill: \"#5C6166\"\n })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgInfo);\nexport default __webpack_public_path__ + \"static/media/info.924debddec3a7d50e294505d521aa48a.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\nconst AddIcon = (props) => (\n \n \n \n \n \n \n \n \n \n \n \n);\nexport default AddIcon;\n","import * as React from 'react';\nconst MinusIcon = (props) => (\n \n \n \n \n \n \n \n \n \n \n \n);\nexport default MinusIcon;\n","import { Button, Col, Modal, Row, Pagination } from 'antd';\nimport info from '../assets/images/info.svg';\nimport AddIcon from '../assets/images/addIcon';\nimport MinusIcon from '../assets/images/minusIcon';\nimport React, { useState, useEffect } from 'react';\nimport { useGlobalState } from './GlobalState';\n\nconst ProductItem = ({ item, onIncrease, onDecrease }) => {\n const { name, quantity, max_quantity, price, description, image } = item;\n const [infoVisible, setInfoVisible] = useState(false);\n return (\n <>\n setInfoVisible(false)}\n width={'min(95%, 30rem)'}\n title={null}\n footer={null}\n closable={false}\n maskClosable\n centered\n >\n
\n
\n {image && (\n \n )}\n
\n \n {name}\n
\n
\n £{price.toFixed(2)}\n
\n
\n {description}\n
\n
\n setInfoVisible(false)}\n >\n Close\n \n
\n \n \n \n \n \n {image ? (\n \n ) : (\n
\n {' '}\n No Image\n
\n )}\n
\n
\n {name}\n {description && (\n setInfoVisible(true)}\n />\n )}\n
\n
\n £{price.toFixed(2)}\n
\n
\n
\n
\n \n \n \n \n \n \n\n
{quantity}
\n \n = max_quantity}\n >\n = max_quantity\n ? '#CCD3D9'\n : '#5C6166'\n : '#5C6166'\n }\n />\n \n \n \n
\n
\n \n \n );\n};\n\nexport default function ProductAddOn() {\n const [cartItems, setCartItems] = useGlobalState('productItem');\n\n const [addedItems, setAddedItems] = useGlobalState('addedProductItem');\n\n const [total, setTotal] = useState(0);\n\n useEffect(() => {\n const calculateTotal = () => {\n return addedItems\n .reduce((total, item) => total + item.quantity * (item.price || 0), 0)\n .toFixed(2);\n };\n\n setTotal(calculateTotal());\n }, [addedItems]);\n\n const handleIncrease = (itemId, quantity, maxQuantity) => {\n if (!maxQuantity || quantity < maxQuantity) {\n setCartItems((prevItems) =>\n prevItems.map((item) =>\n item.id === itemId ? { ...item, quantity: item.quantity + 1 } : item\n )\n );\n\n setAddedItems((prevAddedItems) => {\n const existingItem = prevAddedItems.find(\n (item) => item.product_id === itemId\n );\n\n if (existingItem) {\n return prevAddedItems.map((item) =>\n item.product_id === itemId\n ? {\n ...(item?.name && { name: item?.name }),\n ...(item?.price && { price: item?.price }),\n product_id: item.product_id,\n\n quantity: item.quantity + 1,\n }\n : item\n );\n } else {\n const newItem = cartItems.find((item) => item.id === itemId);\n return [\n ...prevAddedItems,\n {\n ...(newItem?.name && { name: newItem?.name }),\n ...(newItem?.price && { price: newItem?.price }),\n product_id: newItem?.id,\n quantity: 1,\n },\n ];\n }\n });\n }\n };\n\n const handleDecrease = (itemId, quantity) => {\n if (quantity > 0) {\n setCartItems((prevItems) =>\n prevItems.map((item) =>\n item.id === itemId && item.quantity > 0\n ? { ...item, quantity: item.quantity - 1 }\n : item\n )\n );\n\n setAddedItems((prevAddedItems) => {\n const existingItem = prevAddedItems.find(\n (item) => item.product_id === itemId\n );\n\n if (existingItem && existingItem.quantity > 1) {\n return prevAddedItems.map((item) =>\n item.product_id === itemId\n ? {\n ...(item?.name && { name: item?.name }),\n ...(item?.price && { price: item?.price }),\n quantity: item.quantity - 1,\n product_id: item.product_id,\n }\n : item\n );\n } else {\n return prevAddedItems.filter((item) => item.product_id !== itemId);\n }\n });\n }\n };\n const [currentPage, setCurrentPage] = useState(1);\n\n const onChangePagination = (page) => {\n setCurrentPage(page);\n };\n const startIndex = (currentPage - 1) * 5;\n const endIndex = startIndex + 5;\n\n return (\n \n
\n Select your booking add-ons:\n
\n \n {cartItems?.slice(startIndex, endIndex)?.map((item) => (\n \n handleIncrease(item.id, item.quantity, item.max_quantity)\n }\n onDecrease={() => handleDecrease(item.id, item.quantity)}\n />\n ))}\n \n \n \n \n Total booking add-ons:\n {' '}\n £{total}\n \n \n Booking total will be updated at summary step\n \n \n );\n}\n","var _g, _defs;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgInformation(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"information (2) 1\",\n clipPath: \"url(#clip0_6_3)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_2\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector\",\n d: \"M8 0C3.60594 0 0 3.60594 0 8C0 12.3941 3.60594 16 8 16C12.3941 16 16 12.3941 16 8C16 3.60594 12.3941 0 8 0ZM8.9375 11.75C8.9375 12.2668 8.51681 12.6875 8 12.6875C7.48319 12.6875 7.0625 12.2668 7.0625 11.75V7.0625C7.0625 6.54569 7.48319 6.125 8 6.125C8.51681 6.125 8.9375 6.54569 8.9375 7.0625V11.75ZM8 5.1875C7.48319 5.1875 7.0625 4.76681 7.0625 4.25C7.0625 3.73319 7.48319 3.3125 8 3.3125C8.51681 3.3125 8.9375 3.73319 8.9375 4.25C8.9375 4.76681 8.51681 5.1875 8 5.1875Z\",\n fill: \"white\"\n }))))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clip0_6_3\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n width: 16,\n height: 16,\n fill: \"white\"\n })))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgInformation);\nexport default __webpack_public_path__ + \"static/media/information.82f696c6c0d2ae4b79851246a2ce9fd3.svg\";\nexport { ForwardRef as ReactComponent };","import { Button } from 'antd';\nimport React from 'react';\n\nimport '../assets/css/user_booking_nav_buttons.css';\n\nfunction UserBookingNavButtons({\n showNext = true,\n showPrev = true,\n onNext = () => {},\n onPrev = () => {},\n nextProps = {},\n prevProps = {},\n nextText = 'Continue',\n prevText = 'Back',\n prevColourClass = 'bg-grey',\n nextColourClass = 'sb-blue-bg',\n helpText = '',\n pageKey,\n}) {\n const buttonStyle =\n ' user_booking_buttons__button border-0 gSemiBold brFull fs-20 white txt-center h-full pd-7 pd-left-24 pd-right-24 antd-link-button-override';\n\n if (!showNext && !showPrev) {\n return null;\n }\n return (\n
\n
\n {showPrev && (\n \n {prevText}\n \n )}\n {showNext && (\n \n {nextText}\n \n )}\n
\n
\n {helpText}\n
\n
\n );\n}\n\nexport default UserBookingNavButtons;\n","import * as React from 'react';\n\nconst SvgUserBox = (props) => (\n \n \n \n);\nexport default SvgUserBox;\n","import React, { useCallback, useEffect, useMemo, useState } from 'react';\nimport {\n Button,\n Checkbox,\n Col,\n Divider,\n Form,\n Input,\n notification,\n Row,\n Select,\n} from 'antd';\nimport { useGlobalState } from './GlobalState';\nimport ProductAddOn from './ProductAddOn';\nimport axios from 'axios';\nimport { useHistory } from 'react-router';\nimport { exotic_fishery } from '../../common/Utils';\nimport infoIcon from '../assets/images/information.svg';\nimport UserBookingNavButtons from './UserBookingNavButtons';\nimport SvgUserBox from '../assets/images/UserBox';\nimport { costString, getSummaryCosts } from '../../../utils/cost';\nimport {\n useGetMemberSettingsQuery,\n useGetSeasonTicketValidationQuery,\n} from '../../admin/components/settings/settingsSlice';\nimport { sendWidgetMessage } from '../../../utils/widgetUtils';\nimport {\n PRIVACY_POLICY_URL,\n TERMS_AND_CONDITIONS_URL,\n} from '../../../AppConstants';\nimport Summary from '../../admin/components/lake_manager/components/Summary';\nimport {\n useGetAddOnsQuery,\n useGetCustomPropertiesQuery,\n} from '../../admin/components/bookings/bookingSlice';\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport { DatePicker, LocalizationProvider } from '@mui/x-date-pickers';\nimport dayjs from 'dayjs';\nimport countryCodes from '../assets/data/iso3166_country_codes';\nimport { useGetDynamicBookingTextQuery } from '../../user_profile/userProfileSlice';\n\nconst hawkhurst_id = process.env.REACT_APP_FISHERY_HAWKHURST_ID;\nconst sandHurst_id = process.env.REACT_APP_FISHERY_SANDHURST_ID;\nconst lane_fishery_id = process.env.REACT_APP_FISHERY_LANE_ID;\nconst tregonethaLake = process.env.REACT_APP_FISHERY_TREGONETHA_LAKE_ID;\nconst alderLakeId = '1760775b-5ac7-4273-a757-5eb46f676539';\n\nconst comptonsLake = 11833;\nexport default function Step3({ fishery_id }) {\n const [current, setCurrent] = useGlobalState('current');\n const [customPropertyDetails, setCustomPropertyDetails] = useGlobalState(\n 'customPropertiesDetails'\n );\n const [userSelectedAnglers] = useGlobalState('userSelectedAnglers');\n const [estimatedPricing] = useGlobalState('estimatedPricing');\n const [userBookingData, setUserBookingData] =\n useGlobalState('userBookingData');\n const [, setLoading] = useState(true);\n const [accommodation] = useGlobalState('accommodation');\n const [userInfo, setUserInfo] = useGlobalState('userInfo');\n const [maxRod] = useGlobalState('maxRod');\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [lakeType] = useGlobalState('lakeType');\n const [lakeDetails] = useGlobalState('lakeDetails');\n const [bookingType] = useGlobalState('bookingType');\n const [isInsideWidget] = useGlobalState('isInsideWidget');\n\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [cartItems, setCartItems] = useGlobalState('productItem');\n const [disableNext, setDisableNext] = useState(true);\n const [fisheryInfo] = useGlobalState('fisheryInfo');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n const [registerationNumber, setRegistrationNumber] = useState('');\n const { data: memberSetting } = useGetMemberSettingsQuery(fishery_id);\n const { data: DynamicText } = useGetDynamicBookingTextQuery(fishery_id);\n const { data: ProductsData } = useGetAddOnsQuery(\n {\n fisheryId: fishery_id,\n packageId: userSelectedPakage\n ? lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id\n : null,\n lakeId: userSelectedLakeId,\n },\n {\n skip: !fishery_id,\n }\n );\n const { data: customProperties } = useGetCustomPropertiesQuery(\n {\n fisheryId: fishery_id,\n bookingType: lakeExclusive ? 'lake_exclusive' : bookingType,\n lakeId: userSelectedLakeId,\n },\n {\n skip: !fishery_id,\n }\n );\n const { data: seasonTicketHolder } = useGetSeasonTicketValidationQuery({\n lake_id: lakeDetails.lake_id,\n email: userInfo.email,\n });\n const isSeasonTicketHolder = seasonTicketHolder?.season_ticket;\n const is_exotic_arapaima_lake =\n userSelectedLakeId === 'a4688274-3f67-40a5-be8d-a8dc51c053b3';\n const is_exotic_fishery = fishery_id === exotic_fishery;\n const history = useHistory();\n\n const countryOptions = useMemo(() => {\n return (\n countryCodes\n // Move United Kingdom to the start\n .sort(({ Code: x }, { Code: y }) =>\n x === 'GB' ? -1 : y === 'GB' ? 1 : 0\n )\n .map(({ Code, Name }) => ({\n label: Name,\n value: Code,\n }))\n );\n }, []);\n const isNotDuplicated = (anglerDetailsList) => {\n const emailSet = new Set();\n const nameSet = new Set();\n\n for (const userDetail of anglerDetailsList) {\n const { first_name, last_name, email } = userDetail;\n\n // Check for duplicate email\n if (email !== '' && emailSet.has(email.toLowerCase())) {\n return false; // Duplicate email found\n }\n emailSet.add(email.toLowerCase());\n\n // Check for duplicate name (first name + last name)\n const fullName = `${first_name.toLowerCase()} ${last_name.toLowerCase()}`;\n if (fullName.trim() !== '' && nameSet.has(fullName)) {\n return false; // Duplicate name found\n }\n nameSet.add(fullName);\n }\n\n return true; // No duplicates found\n };\n\n const {\n total: estimatedTotal,\n advance: estimatedDeposit,\n balance: estimatedBalance,\n isDiscounted: isEstimateDiscounted,\n discountedTotal: estimatedDiscountedTotal,\n } = getSummaryCosts(lakeExclusive, is_exotic_fishery, estimatedPricing);\n\n const [form] = Form.useForm();\n const sandHurstTicketLake =\n fishery_id === sandHurst_id &&\n lakeType.toLowerCase() === 'ticket' &&\n !lakeExclusive;\n const showErrorNotification = (message) =>\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: message,\n });\n\n const handleGetAnglerDetailsError = useCallback(\n (err) => {\n if (err.response) {\n if (err.response.status === 500) {\n showErrorNotification(\n 'Server Response failed. Please try again later'\n );\n } else if (\n err.response.status === 422 &&\n err.response.data.detail === 'Signature has expired'\n ) {\n showErrorNotification('Please login to continue');\n if (isInsideWidget) {\n sendWidgetMessage({ type: 'widgetCollapse' });\n } else {\n history.push(`/fishery/${fishery_id}`);\n }\n } else if (err.response.status === 422) {\n showErrorNotification(\n \"OOPS! Server didn't like the request. If this persists please contact support team\"\n );\n } else if (err.response.status === 423) {\n showErrorNotification(\n 'Sorry ! this booking slot has been booked by another user, Try different booking!'\n );\n }\n }\n },\n [fishery_id, history]\n );\n\n const copyAsAbove = (index) => {\n if (memberSetting?.enforce_unique_angler) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'This venue requires you to enter unique details for each angler in your booking. Please edit your details to proceed.',\n });\n return;\n }\n\n if (isSeasonTicketHolder) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n \"As a season ticket holder, you can't use your details for multiple anglers in your party. Please enter different details in order to proceed.\",\n });\n return;\n }\n if (\n !memberSetting?.is_duplicate_permitted &&\n lakeDetails?.access_type === 'Member only'\n ) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'This member lake requires you to enter different details for every angler. Please ensure all anglers are registered members.',\n });\n return;\n }\n const value = form.getFieldsValue(true);\n value.angler_details[index].first_name =\n value.angler_details[index - 1].first_name;\n value.angler_details[index].last_name =\n value.angler_details[index - 1].last_name;\n value.angler_details[index].email = value.angler_details[index - 1].email;\n value.angler_details[index].concession =\n value.angler_details[index - 1].concession;\n value.angler_details[index].num_rod =\n value.angler_details[index - 1].num_rod;\n value.angler_details[index].phone_number =\n value.angler_details[index - 1].phone_number;\n form.setFieldsValue({\n angler_details: value.angler_details,\n });\n updatePricing();\n };\n const copyForAll = () => {\n if (memberSetting?.enforce_unique_angler) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'This venue requires you to enter unique details for each angler in your booking. Please edit your details to proceed.',\n });\n return;\n }\n\n if (isSeasonTicketHolder) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n \"As a season ticket holder, you can't use your details for multiple anglers in your party. Please enter different details in order to proceed.\",\n });\n return;\n }\n\n if (\n !memberSetting?.is_duplicate_permitted &&\n lakeDetails?.access_type === 'Member only'\n ) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'This member lake requires you to enter different details for every angler. Please ensure all anglers are registered members.',\n });\n return;\n }\n const value = form.getFieldsValue(true);\n for (let index = 1; index < value.angler_details.length; index++) {\n value.angler_details[index].first_name =\n value.angler_details[0].first_name;\n value.angler_details[index].last_name = value.angler_details[0].last_name;\n value.angler_details[index].email = value.angler_details[0].email;\n value.angler_details[index].concession =\n value.angler_details[0].concession;\n value.angler_details[index].num_rod = value.angler_details[0].num_rod;\n value.angler_details[index].phone_number =\n value.angler_details[0].phone_number;\n }\n form.setFieldsValue({\n angler_details: value.angler_details,\n });\n updatePricing();\n };\n\n const generateList = (maxAngler) => {\n let list = [];\n if (userSelectedLakeId === process.env.REACT_APP_ORCHID_LAKE) {\n for (let i = 2; i <= maxAngler; i++) {\n list.push(i);\n }\n } else {\n for (let i = 1; i <= maxAngler; i++) {\n list.push(i);\n }\n }\n\n return list;\n };\n\n const generateAnglerList = useCallback(\n (anglerInfo = undefined) => {\n let list = [];\n\n list.push({\n first_name: anglerInfo?.first_name,\n last_name: anglerInfo?.last_name,\n email: anglerInfo?.email,\n phone_number: anglerInfo?.contact,\n ...(lakeExclusive || fishery_id === exotic_fishery || accommodation\n ? {}\n : { num_rod: '' }),\n concession: false,\n });\n\n for (let i = 1; i <= userSelectedAnglers - 1; i++) {\n list.push({\n first_name: '',\n last_name: '',\n email: '',\n phone_number: '',\n num_rod: '',\n ...(fishery_id === exotic_fishery || accommodation\n ? {}\n : { num_rod: '' }),\n concession: false,\n });\n }\n form.setFieldsValue({\n angler_details: list,\n });\n return list;\n },\n [form, fishery_id, lakeExclusive, userSelectedAnglers]\n );\n\n const getAnglerDetails = useCallback(() => {\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n let data = [];\n axios\n .get('user', axios_config)\n .then((res) => {\n if (res.status === 200) {\n data = res.data.result;\n setUserInfo(data);\n setLoading(false);\n generateAnglerList(data);\n }\n })\n .catch(handleGetAnglerDetailsError);\n }, [generateAnglerList, handleGetAnglerDetailsError, setUserInfo]);\n\n const onFinish = (formData) => {\n console.log(formData);\n const validAnglerDetails = isNotDuplicated(formData?.angler_details);\n\n if (memberSetting?.enforce_unique_angler && !validAnglerDetails) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'This venue requires you to enter unique details for each angler in your booking. Please edit your details to proceed.',\n });\n return;\n }\n\n if (isSeasonTicketHolder && !validAnglerDetails) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n \"As a season ticket holder, you can't use your details for multiple anglers in your party. Please enter different details in order to proceed.\",\n });\n return;\n }\n\n if (!isFormValid) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Please fill all additional booking information in order to proceed to summary.',\n });\n return;\n }\n\n if (\n !memberSetting?.is_duplicate_permitted &&\n !validAnglerDetails &&\n lakeDetails?.access_type === 'Member only'\n ) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'This member lake requires you to enter different details for every angler. Please ensure all anglers are registered members.',\n });\n return;\n }\n\n setUserBookingData({\n ...formData,\n vehicle_registration_number: registerationNumber,\n proceedSummary: true,\n });\n };\n\n const onchangeFname = () => {};\n\n useEffect(() => {\n if (!userBookingData?.angler_details) {\n window.scrollTo(0, 0);\n // New booking: Initialise angler list with current user's details\n generateAnglerList();\n getAnglerDetails();\n } else {\n // Editing previously entered booking information\n let userAnglerDetails = userBookingData.angler_details;\n\n if (userAnglerDetails.length !== userSelectedAnglers) {\n // Ensure number of anglers matches userSelectedAnglers\n userAnglerDetails = userAnglerDetails.slice(0, userSelectedAnglers);\n for (let i = userAnglerDetails.length; i < userSelectedAnglers; i++) {\n userAnglerDetails.push({\n first_name: '',\n last_name: '',\n email: '',\n phone_number: '',\n ...(fishery_id === exotic_fishery || accommodation\n ? {}\n : { num_rod: '' }),\n concession: false,\n });\n }\n }\n setRegistrationNumber(userBookingData?.vehicle_registration_number);\n form.setFieldsValue({\n angler_details: userAnglerDetails,\n notes: userBookingData?.notes,\n vehicle_registration_number:\n userBookingData?.vehicle_registration_number,\n });\n }\n }, [\n form,\n fishery_id,\n generateAnglerList,\n getAnglerDetails,\n userBookingData,\n userSelectedAnglers,\n ]);\n\n const updatePricing = useCallback(() => {\n setUserBookingData(form.getFieldsValue(true));\n }, [form]);\n\n const isFormValid = customPropertyDetails.every(\n (item) => item.field_value && item.field_value.trim() !== ''\n );\n const updateButtonDisable = () => {\n const termsAndConditionsAgreed = Boolean(\n (accommodation || form?.getFieldValue('agreement')) &&\n form?.getFieldValue('agreement2')\n );\n const priceLoaded = Boolean(estimatedPricing?.amount !== 0);\n setDisableNext(!termsAndConditionsAgreed || !priceLoaded);\n };\n\n const termsText = (\n

\n By completing this booking, you agree that all anglers have read and agree\n to comply with the fishery rules and agree with the{' '}\n \n terms and conditions\n {' '}\n of this venue.\n

\n );\n\n return (\n
\n

\n Almost there! Please enter the booking details!\n

\n\n \n \n \n {(fields) => (\n <>\n {fields.map((field, index) => (\n \n \n \n \n {accommodation\n ? 'Guest Details'\n : is_exotic_fishery && !is_exotic_arapaima_lake\n ? 'Guest'\n : ' Angler'}{' '}\n {!accommodation && index + 1}{' '}\n \n {fields.length > 1 ? (\n index === 0 ? (\n
\n {!isSeasonTicketHolder &&\n !memberSetting?.enforce_unique_angler && (\n <>\n \n Same details for all:\n \n copyForAll(index)}\n style={{ border: 'none' }}\n >\n Apply\n \n \n )}\n
\n ) : (\n
\n {!isSeasonTicketHolder &&\n !memberSetting?.enforce_unique_angler && (\n <>\n \n Same details as above:\n \n copyAsAbove(index)}\n style={{ border: 'none' }}\n >\n Apply\n \n \n )}\n
\n )\n ) : (\n ''\n )}\n
\n\n \n onchangeFname(e)}\n rules={[\n { required: true, message: 'Missing first name' },\n ]}\n >\n \n \n\n \n \n \n\n \n \n \n \n \n \n {lakeExclusive ||\n fishery_id === exotic_fishery ||\n accommodation ? (\n ''\n ) : (\n <>\n \n updatePricing()}\n >\n {generateList(maxRod).map((id) => {\n return (\n \n {id}\n \n );\n })}\n \n \n {!lakeDetails?.is_same_price && (\n \n \n \n )}\n \n )}\n \n \n ))}\n \n )}\n \n {/* */}\n \n \n \n {!lakeExclusive &&\n fishery_id !== exotic_fishery &&\n +fishery_id !== 12060 &&\n !lakeDetails?.is_same_price && (\n

\n Note**: Concession tickets will be checked upon arrival.\n Please check fishery rules if you are unsure if you qualify\n for concession.\n

\n )}\n \n {cartItems?.length > 0 && }\n {customPropertyDetails?.length > 0 && (\n
\n \n \n \n Additional Booking Information (Required)*\n \n
\n\n {customPropertyDetails?.map((item, i) => {\n return (\n
\n \n {item?.field_name}:\n
\n
\n
\n {item?.field_type === 'Dropdown' ||\n item?.field_name === 'Country' ? (\n {\n const updatedDetails = [...customPropertyDetails];\n updatedDetails[i] = {\n ...updatedDetails[i],\n field_value: v,\n };\n setCustomPropertyDetails(updatedDetails);\n }}\n className=' gMedium fs-16 w-full'\n popupClassName={\n 'admin-manage-booking-steps-select-list'\n }\n >\n {item?.field_name === 'Country'\n ? countryOptions?.map((item) => {\n return (\n \n {item?.label}\n \n );\n })\n : item?.field_options?.map((id) => {\n return (\n \n {id}\n \n );\n })}\n \n ) : item?.field_type === 'text' ||\n item?.field_type === 'number' ? (\n {\n const updatedDetails = [...customPropertyDetails];\n updatedDetails[i] = {\n ...updatedDetails[i],\n field_value: e.target.value,\n };\n\n setCustomPropertyDetails(updatedDetails);\n }}\n />\n ) : item?.field_type === 'note' ? (\n {\n const updatedDetails = [...customPropertyDetails];\n updatedDetails[i] = {\n ...updatedDetails[i],\n field_value: e.target.value,\n };\n setCustomPropertyDetails(updatedDetails);\n }}\n className='fs-16'\n />\n ) : item?.field_type === 'date' ? (\n \n {\n const updatedDetails = [\n ...customPropertyDetails,\n ];\n updatedDetails[i] = {\n ...updatedDetails[i],\n field_value:\n dayjs(value).format('YYYY-MM-DD'),\n };\n setCustomPropertyDetails(updatedDetails);\n }}\n slotProps={{\n textField: {\n size: 'small',\n InputLabelProps: { shrink: false }, // Prevent the label from taking up space\n sx: {\n '.MuiInputLabel-root': {\n display: 'none', // Hide label\n },\n\n float: 'right',\n height: '32px', // Set desired height\n '.MuiInputBase-root': {\n fontFamily: 'gMedium',\n marginTop: 0, // Remove top margin\n height: '32px', // Adjust height of the input\n },\n },\n },\n }}\n className='br5 fs-16 bg-white gRegular w-full '\n id='gRegular'\n format='DD/MM/YYYY'\n >\n \n ) : (\n ''\n )}\n
\n
\n
\n );\n })}\n \n )}\n {!accommodation && (\n \n \n

\n {userSelectedLakeId === alderLakeId\n ? \"Enter the FULL NAMES of all anglers in the party + Lead Angler's Full Address [REQUIRED]\"\n : +fishery_id === 12060\n ? 'Non Angling Guests Details'\n : +fishery_id === comptonsLake\n ? 'Please add Lead Angler’s Address + total number and full names of people in your party'\n : lakeExclusive || fishery_id == lane_fishery_id\n ? \"Enter Estimated Number of Anglers and Lead Angler's Full Address [Required]\"\n : 'Notes'}\n

\n \n \n \n \n \n )}\n {fisheryInfo?.capture_vehicle_registration && (\n \n \n

\n Please enter your vehicle registration plate. *\n

\n \n \n
\n
\n \n {\n if (e.target.value.length < 13) {\n setRegistrationNumber(e.target.value.toUpperCase());\n }\n }}\n type='text'\n style={{\n borderRadius: '0 5px 5px 0',\n border: 'none',\n padding: '0 16px',\n background: '#FBC239',\n width: '190px',\n fontSize: '20px',\n }}\n />\n
\n
\n e.g XXXX-XXX{' '}\n
\n
\n \n \n )}\n \n {lakeExclusive && (\n
\n
\n \n {DynamicText?.is_active &&\n DynamicText?.properties?.booking_step_3?.lake_exclusive_header\n ? DynamicText?.properties?.booking_step_3\n ?.lake_exclusive_header\n : `${accommodation ? 'Booking ' : 'Lake Exclusive '}\n Information: (PLEASE READ)`}\n \n
\n\n
\n
\n \n Amount To Pay Today:\n {costString(estimatedDeposit)}\n \n
\n {estimatedBalance > 0 && (\n \n \n Balance Owed:\n {costString(estimatedBalance)}\n \n \n You will be sent a reminder email when the balance is due.{' '}\n \n \n )}\n \n \n Total Price:\n \n {' '}\n {costString(estimatedTotal)}\n \n \n {isEstimateDiscounted && (\n \n \n Promotion Applied:\n \n {costString(estimatedDiscountedTotal)}\n \n )}\n {!accommodation && (\n

\n {DynamicText?.is_active\n ? DynamicText?.properties?.booking_step_3\n ?.header_anglers_info\n : `(Lake Exclusive for up to ${\n lakeDetails?.lake_exclusive_anglers_allowed\n ? lakeDetails.lake_exclusive_anglers_allowed\n : 'X'\n } anglers)`}\n

\n )}\n {lakeDetails?.lake_exclusive_balance_due_reminder > 0 &&\n estimatedBalance > 0 && (\n \n Due{' '}\n \n {lakeDetails?.lake_exclusive_balance_due_reminder\n ? lakeDetails.lake_exclusive_balance_due_reminder\n : '28'}\n {' '}\n days before booking commencement date.{' '}\n \n )}\n \n {userSelectedPakage && (\n \n Package Selected:\n \n {\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]\n ?.name\n }\n \n \n )}\n
\n
\n )}\n \n
\n

\n Accept terms and proceed to checkout:\n

\n
\n
\n \n {!accommodation && (\n \n value\n ? Promise.resolve()\n : Promise.reject('Should accept agreement'),\n },\n ]}\n >\n \n {fishery_id === exotic_fishery && !is_exotic_arapaima_lake\n ? 'By completing this booking, you understand that you are paying a 50% deposit and the balance will be due 4 weeks prior to booking date.'\n : +fishery_id === comptonsLake\n ? termsText\n : is_exotic_arapaima_lake\n ? 'By completing this booking you understand that payment is non-refundable.'\n : `By completing this booking, you agree that all anglers hold valid fishing licenses and agree to comply with the ${\n DynamicText?.is_active &&\n DynamicText?.properties?.booking_step_3\n ?.compliance_fishery_mention\n ? DynamicText?.properties?.booking_step_3\n ?.compliance_fishery_mention\n : 'fishery'\n } rules.`}\n \n \n )}\n \n value\n ? Promise.resolve()\n : Promise.reject('Should accept agreement'),\n },\n ]}\n >\n \n By placing your booking, you confirm and accept swimbooker's{' '}\n \n terms\n {' '}\n and{' '}\n \n privacy policy\n \n .\n \n \n\n \n {\n if (\n lakeType.toLowerCase() === 'ticket' ||\n bookingType === 'ticket' ||\n lakeExclusive\n ) {\n setCurrent(current - 2);\n } else {\n setCurrent(current - 1);\n }\n }}\n nextProps={{\n className: disableNext ? 'disabled' : 'enabled',\n htmlType: isFormValid ? 'submit' : '',\n }}\n nextText='Proceed to Summary'\n nextColourClass='light-green-bg'\n pageKey='anglers'\n />\n \n \n \n );\n}\n","import { useGlobalState } from '../GlobalState';\n\nfunction SummaryFisheryMasthead({ className = '', ...additionalProps }) {\n const [lakeInfo] = useGlobalState('lakeInfo');\n const [fisheryInfo] = useGlobalState('fisheryInfo');\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [userSelectedLakeName] = useGlobalState('userSelectedLakeName');\n\n const lake = userSelectedLakeId\n ? lakeInfo?.find((lake) => lake.id === userSelectedLakeId)\n : null;\n\n return (\n \n \n {userSelectedLakeId && (\n

\n {userSelectedLakeName}\n

\n )}\n

\n {fisheryInfo?.venue_name}\n

\n \n \n );\n}\n\nexport default SummaryFisheryMasthead;\n","import * as React from 'react';\n\nconst SvgSummary = (props) => (\n \n \n \n);\nexport default SvgSummary;\n","import { Divider } from 'antd';\nimport React, { useCallback, useEffect } from 'react';\n\nimport { useGlobalState } from '../GlobalState';\nimport { exotic_fishery } from '../../../common/Utils';\nimport SummaryLakeMasthead from './SummaryLakeMasthead';\nimport moment from 'moment';\nimport { notification } from '../../../../utils/messaging';\n\nimport { costString, getSummaryCosts } from '../../../../utils/cost';\nimport axios from 'axios';\nimport SvgSummary from '../../assets/images/Summary';\nimport dayjs from 'dayjs';\nimport { useGetDynamicBookingTextQuery } from '../../../user_profile/userProfileSlice';\n\nfunction SideSummaryTimeRow({\n selectedDate,\n isFixedTime,\n selectedTimeAndDate,\n itemStyle,\n}) {\n const parsedTime = dayjs(selectedTimeAndDate);\n const parsedDate = dayjs(selectedTimeAndDate || selectedDate);\n\n return (\n
\n

\n {parsedDate.isValid()\n ? parsedDate.format('MMMM Do YYYY')\n : 'Please select a date'}\n

\n {parsedTime.isValid() && (\n

\n {isFixedTime ? isFixedTime : parsedTime.format('HH:mm a')}\n

\n )}\n
\n );\n}\n\nexport default function UserBookingSideSummary({ fisheryId }) {\n const USER_BOOKING_STEP_ORDER = [\n 'lake',\n 'dates',\n 'swims',\n 'anglers',\n 'summary',\n 'payment',\n 'success',\n 'failure',\n ];\n const { data: DynamicText } = useGetDynamicBookingTextQuery(fisheryId);\n\n const HideFishery = process.env.REACT_APP_FISHERY_PRICE_HIDE;\n const [bookingDates] = useGlobalState('bookingDates');\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [userSelectedAnglers] = useGlobalState('userSelectedAnglers');\n const [userSelectedRods] = useGlobalState('userSelectedRods');\n const [userSelectedSwims] = useGlobalState('userSelectedSwims');\n const [userSelectedDoubleSwim] = useGlobalState('userSelectedDoubleSwim');\n const [userBookingData, setUserBookingData] =\n useGlobalState('userBookingData');\n const [estimatedPricing, setEstimatedPricing] =\n useGlobalState('estimatedPricing');\n\n const [guestAllowed] = useGlobalState('guestAllowed');\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [lakeDetails] = useGlobalState('lakeDetails');\n const [arrivalTime] = useGlobalState('arrivalTime');\n const [departureTime] = useGlobalState('departureTime');\n const [bookingType] = useGlobalState('bookingType');\n const [addedProductItems] = useGlobalState('addedProductItem');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n const [accommodation] = useGlobalState('accommodation');\n const [lakeType] = useGlobalState('lakeType');\n const [isArrivalFixed, setIsArrivalFixed] = useGlobalState('isArrivalFixed');\n const [isDepartureFixed, setIsDepartureFixed] =\n useGlobalState('isDepartureFixed');\n const is_exotic_fishery = fisheryId === exotic_fishery;\n const is_exotic_arapaima_lake =\n userSelectedLakeId === 'a4688274-3f67-40a5-be8d-a8dc51c053b3';\n const [current, setCurrent] = useGlobalState('current');\n\n const subTitleStyle = 'gSemiBold mg-bottom-2';\n const summaryTitleStyle = 'gSemiBold mg-bottom-2 fs-18';\n const itemStyle = 'sb-grey2 mg-bottom-10';\n const paddingClass = 'pd-15';\n\n const hideGuests =\n lakeExclusive || is_exotic_fishery || guestAllowed === 'no';\n const hidePrice = fisheryId === HideFishery;\n\n const anglersWord =\n is_exotic_fishery && !is_exotic_arapaima_lake ? 'Guest' : 'Angler';\n\n const {\n total: estimatedTotal,\n advance: estimatedDeposit,\n isDiscounted: isEstimateDiscounted,\n discountedTotal: estimatedDiscountedTotal,\n payable: estimatedPayable,\n } = getSummaryCosts(\n lakeExclusive,\n is_exotic_fishery && !is_exotic_arapaima_lake,\n estimatedPricing\n );\n const estimatedPayableTotal = isEstimateDiscounted\n ? estimatedDiscountedTotal\n : estimatedTotal;\n\n const anglersCost =\n estimatedPricing?.pricing_details?.pricing_breakdown?.anglers?.reduce(\n (acc, { price }) => acc + price,\n 0\n );\n const guestsCost = estimatedTotal - anglersCost;\n\n const updatePricing = useCallback(() => {\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n if (\n !userSelectedLakeId ||\n !arrivalTime ||\n !departureTime ||\n !userSelectedAnglers ||\n (!(\n lakeType.toLowerCase() === 'ticket' ||\n bookingType === 'ticket' ||\n lakeExclusive\n ) &&\n current !== USER_BOOKING_STEP_ORDER.indexOf('swims') &&\n userSelectedSwims.concat(userSelectedDoubleSwim).length == 0)\n ) {\n return;\n }\n\n const payload_data = {\n lake_id: userSelectedLakeId,\n arrival_timestamp: arrivalTime,\n departure_timestamp: departureTime,\n num_anglers: userSelectedAnglers,\n num_guest: userSelectedRods,\n swim_ids: userSelectedSwims.concat(userSelectedDoubleSwim),\n angler_details: userBookingData?.angler_details || [],\n booking_type: lakeExclusive ? 'lake_exclusive' : bookingType,\n apply_promotion: true,\n add_on_details: addedProductItems,\n ...(userSelectedPakage && {\n custom_slot_id:\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id,\n }),\n };\n\n axios\n .post('booking/lake/booking/cost', payload_data, axios_config)\n .then((res) => {\n if (res.status === 200) {\n setEstimatedPricing(res.data.result);\n if (userBookingData?.proceedSummary) {\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('summary'));\n setUserBookingData({\n ...userBookingData,\n\n proceedSummary: false,\n });\n }\n }\n })\n .catch((err) => {\n if (err.response) {\n if (\n err.response.status === 401 ||\n (err.response.status === 422 &&\n err.response.data.detail === 'Signature has expired')\n ) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Please login to continue',\n });\n } else if (err.response.status === 400) {\n if (err.response.data.detail) {\n notification.error({\n description: err.response.data.detail,\n });\n }\n }\n }\n })\n .finally(() => {});\n }, [\n addedProductItems,\n arrivalTime,\n bookingType,\n departureTime,\n lakeDetails?.custom_slot_days,\n lakeExclusive,\n setEstimatedPricing,\n userBookingData?.angler_details,\n userSelectedAnglers,\n userSelectedDoubleSwim,\n userSelectedLakeId,\n userSelectedPakage,\n userSelectedRods,\n userSelectedSwims,\n ]);\n\n useEffect(() => {\n updatePricing();\n }, [updatePricing]);\n\n let totalHelpText;\n if (accommodation) {\n totalHelpText = '';\n } else if (DynamicText?.is_active) {\n totalHelpText =\n DynamicText?.properties?.booking_step_1?.lake_exclusive_label;\n } else if (lakeExclusive) {\n totalHelpText = `For Up To ${\n lakeDetails?.lake_exclusive_anglers_allowed ?? '10'\n } Anglers`;\n } else {\n totalHelpText = `For ${userSelectedAnglers} ${anglersWord}${\n userSelectedAnglers !== 1 ? 's' : ''\n }`;\n if (!hideGuests) {\n totalHelpText += ` & ${userSelectedRods} Guest${\n userSelectedRods !== 1 ? 's' : ''\n }`;\n }\n }\n\n return (\n
\n \n \n Booking Summary\n \n
\n \n\n \n\n

Arrival:

\n \n

Departure:

\n \n {!accommodation && (\n <>\n \n\n

Details:

\n {lakeExclusive && (\n
\n

\n {DynamicText?.is_active &&\n DynamicText?.properties?.booking_step_1\n ?.booking_summary_booking_type\n ? DynamicText?.properties?.booking_step_1\n ?.booking_summary_booking_type\n : 'Lake Exclusive'}\n

\n

{costString(estimatedTotal)}

\n
\n )}\n {!lakeExclusive && (\n
\n

\n {userSelectedAnglers} x {anglersWord}\n {userSelectedAnglers !== 1 ? 's' : ''}\n

\n

{costString(anglersCost)}

\n
\n )}\n {!hideGuests && (\n
\n

\n {userSelectedRods} x Guest{userSelectedRods !== 1 ? 's' : ''}\n

\n

{costString(guestsCost)}

\n
\n )}\n \n )}\n
\n {!hidePrice && (\n \n
\n

Total:

\n \n {costString(estimatedTotal)}\n

\n
\n {isEstimateDiscounted && (\n
\n

\n Promotion Applied:\n

\n

\n {costString(estimatedDiscountedTotal)}\n

\n
\n )}\n {Boolean(estimatedDeposit) &&\n estimatedDeposit < estimatedPayableTotal && (\n
\n

Deposit:

\n

\n {costString(estimatedDeposit)}\n

\n
\n )}\n

{totalHelpText}

\n
\n )}\n \n );\n}\n","import React, { useCallback, useEffect, useState } from 'react';\nimport { Button, Divider, message, Spin } from 'antd';\nimport { useGlobalState } from '../GlobalState';\nimport { formatDate, formatDateWithTime } from '../../../../utils/date';\nimport axios from 'axios';\nimport { USER_BOOKING_STEP_ORDER } from '../../index';\nimport moment from 'moment';\nimport Moment from 'moment';\nimport InfoIcon from '../../../../assets/images/Icons/SVG/InfoIcon';\nimport CalendarIcon from '../../../../assets/images/Icons/SVG/CalendarIcon';\nimport SummaryFisheryMasthead from './SummaryFisheryMasthead';\nimport { exotic_fishery } from '../../../common/Utils';\nimport { LoadingOutlined } from '@ant-design/icons';\nimport { notification } from '../../../../utils/messaging';\nimport {\n useGetDynamicBookingTextQuery,\n useGetUserHasSubscriptionQuery,\n useGetUserWalletQuery,\n useReevaluateEngagementMutation,\n} from '../../../user_profile/userProfileSlice';\nimport UserBookingPaymentTotal from './UserBookingPaymentTotal';\nimport { apiSlice } from '../../../../store/apiSlice';\nimport { useDispatch } from 'react-redux';\nimport { getSummaryCosts } from '../../../../utils/cost';\nimport BoxIcon from '../../../../assets/images/Icons/SVG/BoxIcon';\nimport SummaryDivider from './SummaryDivider';\n\nconst handleNewBookingError = (err) => {\n if (err.response) {\n if (err.response.status === 401 || err.response.status === 422) {\n if (err.response.data.detail[0].msg && err.response.status === 422) {\n notification.error({\n description: err.response.data.detail[0].msg,\n });\n }\n } else if (err.response.status === 400 || err.response.status === 423) {\n notification.error({\n description: err.response.data.detail,\n });\n } else {\n }\n } else {\n notification.error({\n description: 'Error processing booking result',\n });\n }\n};\n\nconst spinIcon = (\n \n);\n\nfunction nameListToString(names) {\n if (!names?.length) {\n return '';\n }\n if (names.length === 1) {\n return names[0];\n }\n return names.slice(0, -1).join(', ') + ' & ' + names.at(-1);\n}\n\nfunction UserBookingSummary({ fisheryPublicId }) {\n const is_exotic_fishery = fisheryPublicId === exotic_fishery;\n const { data: DynamicText } = useGetDynamicBookingTextQuery(fisheryPublicId);\n const dispatch = useDispatch();\n const [current, setCurrent] = useGlobalState('current');\n const [, setPaymentFormData] = useGlobalState('paymentFormData');\n const [, setReservationExpiryTime] = useGlobalState('reservationExpiryTime');\n const [userSelectedAnglers] = useGlobalState('userSelectedAnglers');\n const [userSelectedLakeName] = useGlobalState('userSelectedLakeName');\n const [userSelectedRods] = useGlobalState('userSelectedRods');\n const [estimatedPricing, setEstimatedPricing] =\n useGlobalState('estimatedPricing');\n const [, setFinalPricing] = useGlobalState('finalPricing');\n const [, setStoredCards] = useGlobalState('storedCards');\n const [, setStoredCardsError] = useGlobalState('storedCardsError');\n const [arrivalTime] = useGlobalState('arrivalTime');\n const [departureTime] = useGlobalState('departureTime');\n const [userSelectedSwims] = useGlobalState('userSelectedSwims');\n const [userSelectedDoubleSwim] = useGlobalState('userSelectedDoubleSwim');\n const [fisheryInfo] = useGlobalState('fisheryInfo');\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [lakeDetails] = useGlobalState('lakeDetails');\n const [swimAvailableData] = useGlobalState('swimAvailableData');\n const [userBookingData] = useGlobalState('userBookingData');\n const [, setBookingId] = useGlobalState('bookingId');\n const [, setPaymentError] = useGlobalState('paymentError');\n const [, setPaymentSuccessRedirect] = useGlobalState(\n 'paymentSuccessRedirect'\n );\n const [bookingType] = useGlobalState('bookingType');\n const [addedProductItems] = useGlobalState('addedProductItem');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n const [accommodation] = useGlobalState('accommodation');\n const [isArrivalFixed, setIsArrivalFixed] = useGlobalState('isArrivalFixed');\n const [isDepartureFixed, setIsDepartureFixed] =\n useGlobalState('isDepartureFixed');\n const [customPropertyDetails, setCustomPropertyDetails] = useGlobalState(\n 'customPropertiesDetails'\n );\n const [triggerEngagementReevaluation] = useReevaluateEngagementMutation();\n const { data: { is_active: isWalletActive } = { is_active: false } } =\n useGetUserWalletQuery();\n const { data: userHasSubscription } = useGetUserHasSubscriptionQuery();\n const walletEnabled = userHasSubscription && isWalletActive;\n const is_exotic_arapaima_lake =\n userSelectedLakeId === 'a4688274-3f67-40a5-be8d-a8dc51c053b3';\n const cost = getSummaryCosts(\n lakeExclusive,\n is_exotic_fishery && !is_exotic_arapaima_lake,\n estimatedPricing\n );\n\n const [bookingInProgress, setBookingInProgress] = useState(false);\n const [loadingFinalPriceEstimate, setLoadingFinalPriceEstimate] =\n useState(true);\n const [usingWalletAmountPence, setUsingWalletAmountPence] = useState(null);\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, []);\n\n const loadFinalPricing = useCallback(() => {\n let cost_payload = {\n lake_id: userSelectedLakeId,\n arrival_timestamp: arrivalTime,\n departure_timestamp: departureTime,\n num_anglers: userSelectedAnglers,\n num_guest: userSelectedRods,\n swim_ids: userSelectedSwims.concat(userSelectedDoubleSwim),\n angler_details: userBookingData.angler_details,\n booking_type: lakeExclusive ? 'lake_exclusive' : bookingType,\n apply_promotion: true,\n add_on_details: addedProductItems,\n ...(userSelectedPakage && {\n custom_slot_id:\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id,\n }),\n };\n\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n axios\n .post('booking/lake/booking/cost', cost_payload, axios_config)\n .then((res) => {\n if (res.status === 200) {\n setEstimatedPricing(res.data.result);\n setLoadingFinalPriceEstimate(false);\n }\n })\n .catch((err) => {\n handleNewBookingError(err);\n setBookingInProgress(false);\n });\n }, [\n addedProductItems,\n arrivalTime,\n bookingType,\n departureTime,\n lakeDetails?.custom_slot_days,\n lakeExclusive,\n setEstimatedPricing,\n userBookingData.angler_details,\n userSelectedAnglers,\n userSelectedDoubleSwim,\n userSelectedLakeId,\n userSelectedPakage,\n userSelectedRods,\n userSelectedSwims,\n ]);\n\n useEffect(() => {\n loadFinalPricing();\n }, [loadFinalPricing]);\n\n const labelClass = 'gSemiBold';\n const summaryFieldClass = 'fs-18';\n\n const back = () => {\n setCurrent(current - 1);\n };\n\n const createBooking = () => {\n setBookingInProgress(true);\n setReservationExpiryTime(null);\n\n let payload_data = {\n lake_id: userSelectedLakeId,\n arrival_timestamp: arrivalTime,\n departure_timestamp: departureTime,\n anglers: userSelectedAnglers,\n guest: userSelectedRods,\n swims: userSelectedSwims.concat(userSelectedDoubleSwim),\n amount: estimatedPricing?.amount,\n details: userBookingData,\n notes: userBookingData.notes,\n vehicle_registration_number: userBookingData?.vehicle_registration_number,\n custom_properties: customPropertyDetails,\n book_lake_exclusive: lakeExclusive,\n booking_type: bookingType,\n use_wallet: walletEnabled\n ? Boolean(usingWalletAmountPence > 0)\n : undefined,\n wallet_amount_to_spend: walletEnabled\n ? (usingWalletAmountPence / 100).toFixed(2)\n : 0,\n add_on_details: addedProductItems,\n ...(userSelectedPakage && {\n custom_slot_id:\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id,\n }),\n };\n const axios_new_config = {\n baseURL: `${process.env.REACT_APP_AXIOS_URL}`,\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n axios\n .post('booking/new', payload_data, axios_new_config)\n .then((res) => {\n if (res.status === 200) {\n let _result = res.data.result;\n setBookingId({\n public_id: _result.public_id,\n booking_id: _result.booking_id,\n });\n if (_result?.stored_cards?.status) {\n if (_result?.stored_cards?.status === 200) {\n setStoredCards(_result?.stored_cards?.details || []);\n setStoredCardsError(null);\n } else {\n setStoredCardsError(\n 'There was an error fetching your stored cards.'\n );\n }\n }\n const payableCost = lakeExclusive\n ? _result.booking_price?.advance_price\n : _result.booking_price?.total_price;\n setFinalPricing(payableCost);\n if (parseFloat(payableCost) > 0) {\n setReservationExpiryTime(Moment(moment.now()).add(15, 'minutes'));\n setPaymentFormData(null);\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('payment'));\n } else {\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n axios\n .post(\n 'payment/direct/confirm_free',\n {},\n {\n ...axios_config,\n params: { booking_public_id: _result.public_id },\n }\n )\n .then((res) => {\n if (res.status === 200) {\n setPaymentSuccessRedirect(res?.data?.redirect);\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('success'));\n axios.post('webhooks/trigger_pending');\n triggerEngagementReevaluation();\n dispatch(apiSlice.util.invalidateTags(['CreditHistory']));\n }\n })\n .catch((err) => {\n setPaymentError(err?.response?.data?.detail);\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('failure'));\n setBookingInProgress(false);\n });\n }\n } else {\n message.error('Error processing result');\n setBookingInProgress(false);\n }\n })\n .catch((err) => {\n handleNewBookingError(err);\n setBookingInProgress(false);\n });\n };\n\n const numTickets = userSelectedAnglers;\n const numSwims =\n (userSelectedSwims?.length || 0) + (userSelectedDoubleSwim?.length || 0);\n const selectedSwimNames = (swimAvailableData?.swims || [])\n .filter((s) => userSelectedSwims?.includes(s.id))\n .map((s) => s.name);\n const hasAddOns = Boolean(addedProductItems?.length);\n\n return (\n <>\n \n Booking Summary\n \n swimbooker™\n \n \n \n \n } />\n {fisheryPublicId !== exotic_fishery && (\n

\n {DynamicText?.is_active &&\n DynamicText?.properties?.booking_step_2?.booking_type ? (\n ''\n ) : (\n \n {accommodation ? 'Booked' : 'Lake'}:\n \n )}\n {userSelectedLakeName}\n

\n )}\n {!accommodation && (\n

\n \n {DynamicText?.is_active &&\n DynamicText?.properties?.booking_summary?.lake_text\n ? DynamicText?.properties?.booking_summary?.lake_text\n : 'Selected'}\n :\n {' '}\n {DynamicText?.is_active &&\n DynamicText?.properties?.booking_summary?.lake_text\n ? lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.name\n : lakeExclusive\n ? 'Lake Exclusive'\n : numSwims\n ? nameListToString(selectedSwimNames)\n : `${numTickets} Ticket${numTickets > 1 ? 's' : ''}`}\n

\n )}\n {(!lakeExclusive || lakeDetails?.lake_exclusive_anglers_allowed) &&\n !accommodation && (\n

\n {DynamicText?.is_active ? (\n DynamicText?.properties?.booking_step_1?.lake_exclusive_label\n ) : (\n <>\n \n {lakeExclusive ? 'Max ' : ''}\n {is_exotic_fishery && !is_exotic_arapaima_lake\n ? 'No. of Guests:'\n : 'No. of Anglers:'}\n \n {lakeExclusive\n ? lakeDetails.lake_exclusive_anglers_allowed\n : userSelectedAnglers}\n \n )}\n

\n )}\n {!lakeExclusive && !accommodation && !is_exotic_arapaima_lake && (\n

\n \n {fisheryPublicId !== exotic_fishery\n ? 'No. of Guests:'\n : 'No. of Anglers:'}\n {' '}\n {userSelectedRods}\n

\n )}\n } />\n

\n Arrival Details:{' '}\n {isArrivalFixed\n ? `${formatDate(arrivalTime)} ${isArrivalFixed}`\n : formatDateWithTime(arrivalTime)}\n

\n

\n Departure Details:{' '}\n {isDepartureFixed\n ? `${formatDate(departureTime)} ${isDepartureFixed}`\n : formatDateWithTime(departureTime)}\n

\n {hasAddOns && (\n <>\n } />\n {addedProductItems\n .filter(({ quantity }) => quantity)\n .map(({ product_id, name, quantity }) => (\n

\n {quantity}x {name}\n

\n ))}\n \n )}\n \n \n\n {bookingInProgress ? (\n
\n \n
\n ) : (\n createBooking()}\n disabled={bookingInProgress || loadingFinalPriceEstimate}\n >\n {cost.payable > 0 ? 'Proceed to Payment' : 'Book Now'}\n \n )}\n
\n \n
\n \n \n );\n}\n\nexport default UserBookingSummary;\n","import React from 'react';\nimport { useGlobalState } from '../GlobalState';\nimport { USER_BOOKING_STEP_ORDER } from '../../index';\n\nimport PaymentPage from './PaymentPage';\n\nfunction UserBookingPaymentPage() {\n const [bookingId] = useGlobalState('bookingId');\n const [fisheryInfo] = useGlobalState('fisheryInfo');\n const [, setCurrent] = useGlobalState('current');\n const [finalPricing] = useGlobalState('finalPricing');\n const [isInsideWidget] = useGlobalState('isInsideWidget');\n const [reservationExpiryTime, setReservationExpiryTime] = useGlobalState(\n 'reservationExpiryTime'\n );\n\n const onPaymentSuccess = () =>\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('success'));\n\n const onPaymentFailure = () =>\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('failure'));\n\n return (\n \n Booking ID:{' '}\n {bookingId?.public_id}\n

\n }\n paymentExpiryTime={reservationExpiryTime}\n onClickCountdownEndedBack={() => {\n setReservationExpiryTime(Date.now());\n setCurrent(0);\n }}\n />\n );\n}\n\nexport default UserBookingPaymentPage;\n","import { Button, List } from 'antd';\nimport React, { useEffect } from 'react';\nimport { useGlobalState } from './GlobalState';\nimport { CheckCircleOutlined } from '@ant-design/icons';\nimport { sendWidgetMessage } from '../../../utils/widgetUtils';\nimport { useGetUserHasSubscriptionQuery } from '../../user_profile/userProfileSlice';\nimport { useHistory } from 'react-router-dom';\nimport LoadingSpinner from '../../common/LoadingSpinner';\nimport BookingSuccessMessage from './BookingSuccessMessage';\n\nfunction UserBookingSuccessPage({ fisheryPublicId }) {\n const history = useHistory();\n const [bookingId] = useGlobalState('bookingId');\n const [fisheryInfo] = useGlobalState('fisheryInfo');\n const [isInsideWidget] = useGlobalState('isInsideWidget');\n const { data: userHasSubscription } = useGetUserHasSubscriptionQuery();\n\n const [paymentSuccessRedirect] = useGlobalState('paymentSuccessRedirect');\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, []);\n\n useEffect(() => {\n if (paymentSuccessRedirect) {\n window.location.href =\n paymentSuccessRedirect + `&widget=${isInsideWidget}`;\n }\n }, [history, isInsideWidget, paymentSuccessRedirect]);\n\n const video =\n 'https://swimbooker-fishery-details.s3.eu-west-2.amazonaws.com/web_assets/videos/blue-and-grey-premium-luxurlky-geometric-triangles-2022-11-08-01-56-18-utc.mp4';\n const videoWebM =\n 'https://swimbooker-fishery-details.s3.eu-west-2.amazonaws.com/web_assets/videos/blue-and-grey-premium-luxurlky-geometric-triangles-2022-11-08-01-56-18-utc.webm';\n const swimbookerPlusBanner = (\n <>\n

\n You could have earned cashback on that booking!\n

\n \n \n Learn more about swimbooker+\n \n \n

\n Wait! Have you heard about\n swimbooker+?\n

\n
\n (\n \n {' '}\n {item}\n \n )}\n />\n

and far more...

\n
\n \n );\n\n if (paymentSuccessRedirect) {\n return (\n
\n \n
\n );\n }\n\n return (\n
\n \n {\n if (isInsideWidget) {\n sendWidgetMessage({ type: 'widgetCollapse' });\n }\n }}\n >\n {isInsideWidget ? 'Close Booking Widget' : 'Return to Profile'}\n \n {!isInsideWidget && !userHasSubscription && swimbookerPlusBanner}\n \n
\n );\n}\n\nexport default UserBookingSuccessPage;\n","import { Button } from 'antd';\nimport React from 'react';\nimport { useGlobalState } from './GlobalState';\nimport { USER_BOOKING_STEP_ORDER } from '../index';\nimport { sendWidgetMessage } from '../../../utils/widgetUtils';\nimport PaymentFailure from './payment_page/PaymentFailure';\n\nfunction UserBookingFailurePage({ fisheryPublicId }) {\n const [bookingId] = useGlobalState('bookingId');\n const [isInsideWidget] = useGlobalState('isInsideWidget');\n const [, setCurrent] = useGlobalState('current');\n\n const [finalPricing] = useGlobalState('finalPricing');\n const isFreeBooking = parseFloat(finalPricing) === 0;\n\n return (\n \n Booking ID:{' '}\n {bookingId?.public_id}\n

\n }\n retryPaymentButton={\n {\n if (!isFreeBooking) {\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('payment'));\n } else {\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('summary'));\n }\n }}\n >\n < Back to {isFreeBooking ? 'summary' : 'payment'}\n \n }\n paymentSuccessfulButton={\n {\n if (isInsideWidget) {\n sendWidgetMessage({ type: 'widgetCollapse' });\n } else {\n // use href -- do nothing here\n }\n }}\n >\n < Back to profile\n \n }\n />\n );\n}\n\nexport default UserBookingFailurePage;\n","import { Button, Modal } from 'antd';\nimport '../../assets/css/calendar-colours-modal.css';\n\nfunction CalendarKeyItem({ colour, withTriangle = false, name, description }) {\n return (\n
\n
\n \n

{name}

\n
\n
{description}
\n
\n );\n}\n\nexport default function CalendarColoursModal({ visible, onClose }) {\n return (\n \n

Booking Help

\n
\n \n If a date is a showing as red, it indicates that there are no\n available arrival or departure times for the number of tickets\n selected.\n \n }\n />\n \n If a date is showing as orange, it indicates that all day sessions\n are fully booked for the number of tickets selected. However, you\n can still select it as the previous or following night session\n might still be available.\n \n }\n />\n \n If a date is showing as green, it indicates that all time slots\n for that date are available to be booked.\n \n }\n />\n \n If a green date is showing with a small red marker, it indicates\n that the night session of that date is fully booked for the number\n of tickets selected. You can still select this date for a day\n session.\n \n }\n />\n \n Close\n \n
\n \n );\n}\n","import React, { useCallback, useMemo, useState } from 'react';\nimport { useGlobalState } from '../GlobalState';\nimport { Button, notification } from 'antd';\nimport axios from 'axios';\nimport { getFullDate, toUTCDate } from '../../../../utils/date';\nimport { exotic_fishery } from '../../../common/Utils';\nimport SvgCalendar from '../../../../assets/images/Icons/SVG/Calendar';\nimport CalendarColoursModal from './CalendarColoursModal';\nimport LakeBookingInformationModal from './LakeBookingInformationModal';\nimport SvgUserBox from '../../assets/images/UserBox';\nimport AvailabilityCalendar, {\n emptyDatesObject,\n} from '../../../availability_calendar/AvailabilityCalendar';\nimport moment from 'moment';\nimport { useLocalStorage } from '../../../../utils/hooks';\nimport { useGetDynamicBookingTextQuery } from '../../../user_profile/userProfileSlice';\n\nconst errorNotification = ({\n message = 'There was an issue!',\n description = undefined,\n}) =>\n notification.error({\n message:
{message}
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: description,\n });\n\nconst warningNotification = ({\n message = 'Please be aware!',\n description = undefined,\n}) =>\n notification.warning({\n message:
{message}
,\n style: { border: '1px #F7C046 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: description,\n });\n\nexport default function SelectDate({\n maxVisibleDate,\n maxBookableDate,\n maxBookableErrorMessage,\n fishery_id,\n customSlotId,\n registerTimeRequest,\n unregisterTimeRequest,\n}) {\n const [bookingDates, setBookingDates] = useGlobalState('bookingDates');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n const [disabledDates, setDisabledDates] = useGlobalState('disabledDates');\n const [limitedDates, setLimitedDates] = useGlobalState('limitedDates');\n const [accommodation] = useGlobalState('accommodation');\n const [, setAvailableTime] = useGlobalState('availableTime');\n const [, setArrivalTime] = useGlobalState('arrivalTime');\n const [, setDepartureTime] = useGlobalState('departureTime');\n const [, setEstimatedPricing] = useGlobalState('estimatedPricing');\n const [, setUserBookingData] = useGlobalState('userBookingData');\n const [, setUserSelectedSwims] = useGlobalState('userSelectedSwims');\n const [, setUserSelectedDoubleSwim] = useGlobalState(\n 'userSelectedDoubleSwim'\n );\n const [userSelectedRods] = useGlobalState('userSelectedRods');\n const [loading, setBookingsLoading] = useGlobalState('bookingsLoading');\n const [, setTicketAvailable] = useGlobalState('ticketsAvailable');\n const [dateText] = useGlobalState('dateText');\n\n const [howToBook] = useGlobalState('howToBook');\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [userSelectedAnglers] = useGlobalState('userSelectedAnglers');\n const [current, setCurrent] = useGlobalState('current');\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [lakeDetails, setLakeDetails] = useGlobalState('lakeDetails');\n const [bookingType] = useGlobalState('bookingType');\n const is_exotic_arapaima_lake =\n userSelectedLakeId === 'a4688274-3f67-40a5-be8d-a8dc51c053b3';\n const { data: DynamicText } = useGetDynamicBookingTextQuery(fishery_id);\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n const getTimeAvailability = (data) => {\n registerTimeRequest();\n axios\n .post(\n 'booking/lake/availability',\n {\n ...data,\n ...(userSelectedPakage && {\n custom_slot_id:\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id,\n }),\n },\n axios_config\n )\n .then((res) => {\n if (res.status === 200) {\n let res_data = res.data.result;\n\n if (res_data.is_available) {\n setAvailableTime(res_data);\n } else {\n warningNotification({\n description: res_data.message,\n });\n }\n }\n })\n .catch((err) => {\n if (err.response) {\n if (err.response.status === 500) {\n errorNotification({\n description: 'Server Response failed. Please try again later',\n });\n } else if (err.response.status === 401) {\n warningNotification({\n description:\n 'Your action will not be saved. Please Login and try again!',\n });\n } else if (err.response.status === 400) {\n warningNotification({\n description: err.response.data['detail'],\n });\n } else if (err.response.status === 422) {\n if (err.response.data['detail'] === 'Signature has expired') {\n errorNotification({\n description:\n 'Login session has been expired. Please Login to continue!',\n });\n } else {\n errorNotification({\n description:\n \"OOPS! Server didn't like the request. If this persists please contact support team\",\n });\n }\n } else if (err.response.status === 423) {\n errorNotification({\n description:\n 'Sorry ! this booking slot has been booked by another user, Try different booking!',\n });\n }\n } else {\n errorNotification({\n message: 'Error processing result',\n });\n }\n })\n .finally(() => {\n unregisterTimeRequest();\n });\n };\n\n const handleDateChange = (selectedRange) => {\n // Reset timing\n setAvailableTime(null);\n setArrivalTime(null);\n setDepartureTime(null);\n setEstimatedPricing(null);\n\n const startDate = getFullDate(selectedRange.startDate);\n\n const endDate = getFullDate(selectedRange.endDate);\n\n if (moment(selectedRange.startDate).isSame(selectedRange.endDate, 'day')) {\n const noNightDate = limitedDates\n .filter((ld) => ld.type === 'no-night')\n .find((ld) =>\n moment(ld.date).isSame(toUTCDate(selectedRange.startDate), 'day')\n );\n if (noNightDate) {\n warningNotification({\n description:\n 'The next night session is fully booked. You can still select this date for a day session.',\n });\n }\n }\n\n let payload_data = {\n anglers: userSelectedAnglers,\n guest: userSelectedRods,\n start_date: startDate,\n end_date: endDate,\n lake_id: userSelectedLakeId,\n book_lake_exclusive: lakeExclusive,\n booking_type: bookingType,\n };\n // Keeps array reference invariant to prevent calendar month reset\n bookingDates[0] = selectedRange;\n setBookingDates(bookingDates);\n getTimeAvailability(payload_data);\n setUserBookingData({});\n setUserSelectedSwims([]);\n setUserSelectedDoubleSwim([]);\n };\n\n const getBlockedBookingDates = (date) => {\n let _date = moment(date).format('YYYY-MM-DD');\n // return;\n setBookingsLoading(true);\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n\n let payload_data = {\n anglers: userSelectedAnglers,\n guest: userSelectedRods,\n lake_id: userSelectedLakeId,\n date: _date,\n book_lake_exclusive: lakeExclusive,\n custom_slot_id: customSlotId,\n booking_type: bookingType,\n };\n\n axios\n .post('booking/lake/details', payload_data, axios_config)\n .then((res) => {\n if (res.status === 200) {\n const _result = res.data.result;\n setDisabledDates([\n ...disabledDates,\n ..._result.fully_booked_dates.map(toUTCDate).filter(\n /* Don't add dates which have already been stored */\n (d) =>\n !disabledDates.some(\n (prevDate) => prevDate.toISOString() === d.toISOString()\n )\n ),\n ]);\n setLimitedDates([\n ...limitedDates,\n ...(\n _result?.limited_availability_dates?.map((ld) => ({\n ...ld,\n date: toUTCDate(ld.date),\n })) || []\n ).filter(\n /* Don't add dates which have already been stored */\n (ld) =>\n !limitedDates.some(\n (prevLDate) =>\n prevLDate.date.toISOString() === ld.date.toISOString()\n )\n ),\n ]);\n setLakeDetails(_result);\n setTicketAvailable(_result.swims_tickets_available);\n } else {\n errorNotification({\n description: 'Error processing result',\n });\n }\n })\n .catch((err) => {\n console.error(err);\n if (err.response) {\n if (err.response.status === 401 || err.response.status === 422) {\n errorNotification({\n description: 'Please login to continue',\n });\n }\n } else {\n errorNotification({\n description: 'Error processing result',\n });\n }\n })\n .finally(() => setBookingsLoading(false));\n };\n\n const clearSelectedDates = () => {\n if (!bookingDates?.[0]?.startDate) {\n return;\n }\n // Keeps the object reference invariant to prevent calendar re-render (weird bug with DateRangePicker)\n bookingDates[0] = { ...emptyDatesObject };\n setBookingDates(bookingDates);\n setEstimatedPricing(null);\n setAvailableTime(null);\n setArrivalTime(null);\n setDepartureTime(null);\n };\n\n const wordAndCount = (word, count) =>\n `${count} ${word}${count === 1 ? '' : 's'}`;\n\n const anglerCountNotice = (\n
\n
\n \n \n Showing availability for{' '}\n {accommodation\n ? 'your selection'\n : DynamicText?.is_active &&\n DynamicText?.properties?.booking_step_2?.booking_type\n ? DynamicText?.properties?.booking_step_2?.booking_type\n : lakeExclusive\n ? 'Lake Exclusive'\n : fishery_id === exotic_fishery && is_exotic_arapaima_lake\n ? '2 anglers'\n : fishery_id === exotic_fishery\n ? ` ${wordAndCount('guest', userSelectedAnglers)}`\n : ` ${wordAndCount('angler', userSelectedAnglers)}`}\n \n
\n \n
\n );\n\n const explanationLinkStyle = 'txt-underline blue-2 gSemiBold fs-15 cp';\n\n const [showColoursExplanationModal, setShowColoursExplanationModal] =\n useState(false);\n const coloursExplanation = (\n <>\n setShowColoursExplanationModal(false)}\n />\n \n setShowColoursExplanationModal(true)}\n >\n What do the colours mean?\n \n \n \n );\n\n const [seenInformationMap, setSeenInformationMap] = useLocalStorage(\n 'lakeInfoMap',\n {}\n );\n const updateLakeInfoSeenMap = useCallback(\n (lake_id, value) => {\n setSeenInformationMap((prev) => {\n const copy = Object.assign({}, prev);\n copy[lake_id] = value;\n return copy;\n });\n },\n [setSeenInformationMap]\n );\n\n const [showBookingInfoModal, setShowBookingInfoModal] = useState(\n !seenInformationMap?.[userSelectedLakeId]\n );\n const bookingInformationExplanation = (\n <>\n {\n setShowBookingInfoModal(false);\n updateLakeInfoSeenMap(userSelectedLakeId, true);\n }}\n bookingInfo={howToBook}\n />\n {userSelectedLakeId && howToBook > '' && (\n \n setShowBookingInfoModal(true)}\n >\n View Important Booking Information\n \n \n )}\n \n );\n\n return (\n <>\n
\n \n Step 1: Select Dates\n
\n
\n {anglerCountNotice}\n {!accommodation && coloursExplanation}\n {bookingInformationExplanation}\n
\n \n \n );\n}\n","import * as React from 'react';\n\nconst SvgTimer = (props) => (\n \n \n \n);\nexport default SvgTimer;\n","import React, { useEffect, useRef } from 'react';\n\nimport { useGlobalState } from '../GlobalState';\nimport { Col } from 'antd';\nimport moment from 'moment';\nimport SvgTimer from '../../assets/images/Timer';\nimport SelectTimeControl from '../../../common/SelectTimeControl';\n\nexport default function SelectTime({ fishery_id, loading }) {\n const [arrivalTime, setArrivalTime] = useGlobalState('arrivalTime');\n const [departureTime, setDepartureTime] = useGlobalState('departureTime');\n const [isArrivalFixed, setIsArrivalFixed] = useGlobalState('isArrivalFixed');\n const [isDepartureFixed, setIsDepartureFixed] =\n useGlobalState('isDepartureFixed');\n const [availableTime] = useGlobalState('availableTime');\n const [bookingDates] = useGlobalState('bookingDates');\n const [lakeDetails] = useGlobalState('lakeDetails');\n\n const sectionRef = useRef();\n\n const is24HourLakeWithNoDeparture = Boolean(\n lakeDetails?.is_24_hour_lake &&\n moment(bookingDates?.[0]?.endDate).isSame(\n bookingDates?.[0]?.startDate,\n 'day'\n )\n );\n\n /* Prevents showing arrival dates for 24 hour lakes if no departure is selected */\n const hasValidDeparture =\n moment(bookingDates?.[0]?.endDate).isValid() &&\n !is24HourLakeWithNoDeparture;\n\n const hasSelectedDates =\n Boolean(bookingDates?.[0]?.startDate) && hasValidDeparture;\n\n useEffect(() => {\n if (loading || !hasValidDeparture || !sectionRef?.current) {\n return;\n }\n if (\n moment(bookingDates?.[0]?.startDate).isSame(\n bookingDates?.[0]?.endDate,\n 'day'\n )\n ) {\n return;\n }\n sectionRef.current.scrollIntoView({\n block: 'start',\n inline: 'nearest',\n smooth: true,\n });\n }, [bookingDates, hasValidDeparture, loading]);\n useEffect(() => {\n if (availableTime?.arrival?.length === 1) {\n setArrivalTime(availableTime?.arrival?.[0]?.arrival_ts);\n }\n if (availableTime?.departure?.length === 1) {\n setDepartureTime(availableTime?.departure?.[0]?.departure_ts);\n }\n }, [availableTime]);\n\n useEffect(() => {\n if (arrivalTime && availableTime?.arrival) {\n let arrivalOptionSelected = availableTime?.arrival?.filter(\n (item) => item.arrival_ts === arrivalTime\n );\n if (\n arrivalOptionSelected[0]?.hour == 'Dawn' ||\n arrivalOptionSelected[0]?.hour == 'Dusk'\n ) {\n setIsArrivalFixed(arrivalOptionSelected[0]?.hour);\n } else {\n setIsArrivalFixed(null);\n }\n } else {\n setIsArrivalFixed(null);\n }\n if (departureTime && availableTime?.departure) {\n let departureOptionSelected = availableTime?.departure?.filter(\n (item) => item.departure_ts === departureTime\n );\n\n if (\n departureOptionSelected[0]?.hour == 'Dawn' ||\n departureOptionSelected[0]?.hour == 'Dusk'\n ) {\n setIsDepartureFixed(departureOptionSelected[0]?.hour);\n } else {\n setIsDepartureFixed(null);\n }\n } else {\n setIsDepartureFixed(null);\n }\n }, [arrivalTime, departureTime]);\n const arrivalDate =\n availableTime?.arrival?.[0]?.arrival_ts ?? bookingDates?.[0]?.startDate;\n const departureDate =\n availableTime?.departure?.[0]?.departure_ts ?? bookingDates?.[0]?.endDate;\n\n return (\n \n \n \n Step 2: Select Times\n \n
\n {hasSelectedDates ? (\n \n ) : (\n
\n Available Times Will Load After Selecting Dates\n
\n )}\n
\n \n );\n}\n","import React, { useEffect, useMemo, useState } from 'react';\nimport { Col, Row } from 'antd';\nimport { useGlobalState } from '../GlobalState';\nimport SelectDate from './SelectDate';\nimport SelectTime from './SelectTime';\nimport moment from 'moment/moment';\n\nexport default function SelectDatesAndTimes({ fishery_id }) {\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [fisheryInfo] = useGlobalState('fisheryInfo');\n const [lakeDetails] = useGlobalState('lakeDetails');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [lakeInfo] = useGlobalState('lakeInfo');\n\n const [inFlightTimeRequests, setInFlightTimeRequests] = useState(0);\n const registerTimeRequest = () => setInFlightTimeRequests((prev) => prev + 1);\n const unregisterTimeRequest = () =>\n setInFlightTimeRequests((prev) => Math.max(prev - 1, 0));\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, []);\n const is_exotic_arapaima_lake =\n userSelectedLakeId === 'a4688274-3f67-40a5-be8d-a8dc51c053b3';\n const [maxBookableDate, maxBookableMessage] = useMemo(() => {\n let messageReason = '';\n let max_date = new Date();\n if (fisheryInfo?.booking_days_is_active && lakeExclusive) {\n lakeInfo.forEach((lake) => {\n if (lake.id === userSelectedLakeId) {\n max_date.setDate(\n max_date.getDate() + lake.lake_exclusive_booking_days\n );\n }\n });\n } else if (\n fisheryInfo?.booking_days_is_active &&\n fisheryInfo?.booking_days > 0\n ) {\n max_date.setDate(max_date.getDate() + fisheryInfo.booking_days);\n messageReason = `${fisheryInfo.booking_days} days in advance`;\n } else if (\n fisheryInfo?.booking_date_is_active &&\n fisheryInfo?.booking_date\n ) {\n max_date = new Date(fisheryInfo.booking_date);\n } else if (fishery_id === '10201' || fishery_id === '10832') {\n const currentYear = new Date().getFullYear();\n // Dec. 31st next year\n max_date = new Date(currentYear + 1, 11, 31);\n } else {\n // 1 year from now\n max_date.setFullYear(max_date.getFullYear() + 1);\n }\n if (!messageReason) {\n messageReason = `up to ${moment(max_date).format('Do MMMM YYYY')}`;\n }\n const message = `At ${fisheryInfo.venue_name}, you can only book ${messageReason}. Please select different dates.`;\n return [max_date, message];\n }, [fisheryInfo, fishery_id, lakeExclusive, lakeInfo, userSelectedLakeId]);\n\n const maxAvailabilityDate = useMemo(() => {\n let max_date = new Date();\n if (\n fisheryInfo?.availability_days_is_active &&\n fisheryInfo?.availability_days > 0\n ) {\n max_date.setDate(max_date.getDate() + fisheryInfo?.availability_days);\n } else if (\n fisheryInfo?.availability_date_is_active &&\n fisheryInfo?.availability_date\n ) {\n max_date = new Date(fisheryInfo?.availability_date);\n } else {\n max_date.setFullYear(max_date.getFullYear() + 1);\n }\n return max_date;\n }, [fisheryInfo]);\n\n return (\n
\n \n

\n Almost there! Time to select your{' '}\n {is_exotic_arapaima_lake ? 'date!' : 'dates and times.'}\n

\n \n \n \n \n \n \n \n
\n );\n}\n","import React from 'react';\nimport { TERMS_AND_CONDITIONS_URL } from '../../../../AppConstants';\n\nfunction LicenceInfo({ fisheryId }) {\n const comptonsLake = 11833;\n\n return (\n
\n

IMPORTANT:

\n\n
    \n {+fisheryId !== comptonsLake && (\n
  • \n It is illegal to fish without a license in the UK. You can buy a\n fishing license from the government here (\n \n Buy a rod fishing licence\n \n ).\n
  • \n )}\n
  • \n Any changes or cancellations to your booking after payment and\n confirmation have to be made via the fishery. For swimbookerâ„¢ booking\n policies{' '}\n \n click here\n \n .\n
  • \n
\n
\n );\n}\n\nexport default LicenceInfo;\n","var _g;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgAlarm(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 66,\n height: 69,\n viewBox: \"0 0 66 69\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_2\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_3\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_4\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_5\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_6\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector\",\n d: \"M59.04 44.8V53.76C59.04 62.02 47.28 68.88 33 68.88C18.58 68.88 6.95999 62.16 6.95999 53.76V44.8H59.04Z\",\n fill: \"#3D3D3D\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_2\",\n d: \"M33 59.92C47.3815 59.92 59.04 53.1505 59.04 44.8C59.04 36.4495 47.3815 29.68 33 29.68C18.6185 29.68 6.95999 36.4495 6.95999 44.8C6.95999 53.1505 18.6185 59.92 33 59.92Z\",\n fill: \"#686868\"\n }))))), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_7\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_8\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_9\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_10\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_3\",\n d: \"M55.54 40.6V43.82C55.54 50.96 45.46 56.84 33 56.84C20.54 56.84 10.32 50.96 10.32 43.82V40.6H55.54Z\",\n fill: \"#929393\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_4\",\n d: \"M33 53.62C45.4485 53.62 55.54 47.7907 55.54 40.6C55.54 33.4093 45.4485 27.58 33 27.58C20.5515 27.58 10.46 33.4093 10.46 40.6C10.46 47.7907 20.5515 53.62 33 53.62Z\",\n fill: \"#BFBFBF\"\n }))))), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_11\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_12\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_13\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_14\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_5\",\n d: \"M53.3 39.34C53.3 45.92 44.2 51.24 33 51.24C21.8 51.24 12.7 45.92 12.7 39.48C12.7 38.5 12.98 37.52 13.4 36.54L17.6 13.44H48.4L52.74 36.54C53.16 37.38 53.3 38.36 53.3 39.34Z\",\n fill: \"#E22020\"\n }), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_15\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_6\",\n d: \"M48.4 13.44C48.4 18.2 41.12 21.98 33 21.98C24.88 21.98 17.6 18.06 17.6 13.44C17.6 8.82 24.88 4.9 33 4.9C41.12 4.9 48.4 8.68 48.4 13.44Z\",\n fill: \"#FF413C\"\n }))))))), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_16\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_17\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_7\",\n d: \"M64.64 29.82C65.62 30.38 65.62 31.22 64.64 31.78C63.66 32.34 62.26 32.34 61.28 31.78L53.3 27.16C52.32 26.6 52.32 25.76 53.3 25.2C54.28 24.64 55.68 24.64 56.66 25.2L64.64 29.82Z\",\n fill: \"#FF413C\"\n })), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_18\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_8\",\n d: \"M12.7 5.04C13.68 5.6 13.68 6.44 12.7 7C11.72 7.56 10.32 7.56 9.34 7L1.36 2.38C0.38 1.82 0.38 0.98 1.36 0.42C2.34 -0.14 3.74 -0.14 4.72 0.42L12.7 5.04Z\",\n fill: \"#FF413C\"\n }))), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_19\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_20\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_9\",\n d: \"M1.36 29.82C0.38 30.38 0.38 31.22 1.36 31.78C2.34 32.34 3.74 32.34 4.72 31.78L12.7 27.16C13.68 26.6 13.68 25.76 12.7 25.2C11.72 24.64 10.32 24.64 9.34 25.2L1.36 29.82Z\",\n fill: \"#FF413C\"\n })), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group_21\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"Vector_10\",\n d: \"M53.3 5.04C52.32 5.6 52.32 6.44 53.3 7C54.28 7.56 55.68 7.56 56.66 7L64.64 2.38C65.62 1.82 65.62 0.98 64.64 0.42C63.66 -0.14 62.26 -0.14 61.28 0.42L53.3 5.04Z\",\n fill: \"#FF413C\"\n }))))));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAlarm);\nexport default __webpack_public_path__ + \"static/media/alarm.1eed4f46d53e6579ce1ff6ffbf6463ef.svg\";\nexport { ForwardRef as ReactComponent };","import { usePreventScroll } from '../../../utils/hooks';\nimport { Button, Modal } from 'antd';\nimport { useGlobalState } from './GlobalState';\nimport React, { useRef } from 'react';\nimport alarm from '../assets/images/alarm.svg';\nimport loadingAnimation from '../assets/animations/loading-spinner.json';\nimport Lottie from 'lottie-react';\nimport { sendWidgetMessage } from '../../../utils/widgetUtils';\n\nfunction QueueModal({ open = false, fisheryPublicId }) {\n usePreventScroll('BookingQueue', open);\n const spinnerRef = useRef(null);\n const [fisheryInfo] = useGlobalState('fisheryInfo');\n const [isInsideWidget] = useGlobalState('isInsideWidget');\n\n return (\n \n
\n Alarm\n

\n We are currently experiencing a high volume of users trying to book\n this venue.\n

\n

\n You are being held in a digital queue and will be permitted to book\n once you reach the front of the queue.\n

\n \n {\n if (isInsideWidget) {\n sendWidgetMessage({ type: 'widgetCollapse' });\n }\n }}\n >\n {isInsideWidget\n ? 'Close Booking Widget'\n : 'Return to Fishery Profile'}\n \n {\n if (!window?.location) {\n return;\n }\n window.location.reload();\n }}\n >\n Refresh Page\n \n

\n Note: This high volume is isolated\n to{' '}\n {fisheryInfo?.venue_name ? (\n '{fisheryInfo.venue_name}'\n ) : (\n 'this fishery'\n )}\n . All other venues are live and our systems are fully operational.\n

\n
\n \n );\n}\n\nexport default QueueModal;\n","import { Col, notification } from 'antd';\nimport React, { useEffect, useMemo, useState } from 'react';\n\nimport {\n matchPath,\n useHistory,\n useLocation,\n useParams,\n} from 'react-router-dom';\nimport { useGlobalState } from './components/GlobalState';\nimport SelectLakeAndTickets from './components/SelectLakeAndTickets';\nimport SelectSwims from './components/Step2';\nimport Step3 from './components/Step3';\n\nimport UserBookingSideSummary from './components/summaries/UserBookingSideSummary';\nimport '../admin/components/bookings/assets/css/admin_booking.css';\nimport './assets/css/user_bookings.css';\nimport { Helmet } from 'react-helmet';\nimport axios from 'axios';\nimport { exotic_fishery } from '../common/Utils';\nimport UserBookingSummary from './components/summaries/UserBookingSummary';\nimport UserBookingPaymentPage from './components/payment_page/UserBookingPaymentPage';\nimport UserBookingSuccessPage from './components/UserBookingSuccessPage';\nimport UserBookingFailurePage from './components/UserBookingFailurePage';\nimport UserBookingNavButtons from './components/UserBookingNavButtons';\nimport SelectDatesAndTimes from './components/date_selection/SelectDatesAndTimes';\nimport { emptyDatesObject } from '../availability_calendar/AvailabilityCalendar';\nimport SvgCalendar from '../../assets/images/Icons/SVG/Calendar';\nimport LicenceInfo from './components/summaries/LicenceInfo';\nimport { costString, getSummaryCosts } from '../../utils/cost';\n\nimport {\n useGetAddOnsQuery,\n useGetCustomPropertiesQuery,\n} from '../admin/components/bookings/bookingSlice';\nimport { useGetIsUserInBookingQueueQuery } from '../user_profile/userProfileSlice';\nimport dayjs from 'dayjs';\nimport { usePreventScroll } from '../../utils/hooks';\nimport QueueModal from './components/QueueModal';\n\nexport const USER_BOOKING_STEP_ORDER = [\n 'lake',\n 'dates',\n 'swims',\n 'anglers',\n 'summary',\n 'payment',\n 'success',\n 'failure',\n];\n\nconst HideFishery = process.env.REACT_APP_FISHERY_PRICE_HIDE;\n\nexport function UserBookings({ fisheryId, inWidget = false }) {\n const [current, setCurrent] = useGlobalState('current');\n\n const [userSelectedLakeId] = useGlobalState('userSelectedLakeId');\n const [lakeDetails] = useGlobalState('lakeDetails');\n const [lakeExclusive] = useGlobalState('lakeExclusive');\n const [userSelectedSwims] = useGlobalState('userSelectedSwims');\n const [userSelectedDoubleSwim] = useGlobalState('userSelectedDoubleSwim');\n const [userSelectedAnglers] = useGlobalState('userSelectedAnglers');\n const [userSelectedRods] = useGlobalState('userSelectedRods');\n const [userSelectedPakage] = useGlobalState('userSelectedPakage');\n const [lakeType] = useGlobalState('lakeType');\n const [, setIsInsideWidget] = useGlobalState('isInsideWidget');\n const [, setSwimImages] = useState(null);\n const [customPropertyDetails, setCustomPropertyDetails] = useGlobalState(\n 'customPropertiesDetails'\n );\n const [, setSwimAvailableData] = useGlobalState('swimAvailableData');\n const [estimatedPricing, setEstimatedPricing] =\n useGlobalState('estimatedPricing');\n const [, setunSelectableSwimIds] = useGlobalState('unSelectableSwimIds');\n const [bookingDates, setBookingDates] = useGlobalState('bookingDates');\n const [, setAvailableTime] = useGlobalState('availableTime');\n\n const [arrivalTime, setArrivalTime] = useGlobalState('arrivalTime');\n const [departureTime, setDepartureTime] = useGlobalState('departureTime');\n const [, setDateText] = useGlobalState('dateText');\n const [bookingType] = useGlobalState('bookingType');\n\n const is_exotic_fishery = fisheryId === exotic_fishery;\n const [addedItems, setAddedItems] = useGlobalState('addedProductItem');\n const [, setCartItems] = useGlobalState('productItem');\n const { data: ProductsData } = useGetAddOnsQuery(\n {\n fisheryId: fisheryId,\n packageId: userSelectedPakage\n ? lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id\n : null,\n lakeId: userSelectedLakeId,\n },\n {\n skip: !fisheryId,\n }\n );\n const { data: userIsInQueueResult, refetch: checkQueue } =\n useGetIsUserInBookingQueueQuery(fisheryId, { skip: !fisheryId });\n const isElphicks =\n (fisheryId ?? '0') === process.env.REACT_APP_FISHERY_TIME_ID;\n const isLaunchDay = dayjs().isSame(new Date(2024, 0, 2), 'day');\n\n const userIsInQueue =\n userIsInQueueResult ??\n (isElphicks &&\n isLaunchDay); /* Default to true on launch day whilst fetching */\n usePreventScroll('BookingQueue', userIsInQueue);\n const { data: customProperties } = useGetCustomPropertiesQuery(\n {\n fisheryId: fisheryId,\n bookingType: lakeExclusive ? 'lake_exclusive' : bookingType,\n lakeId: userSelectedLakeId,\n online: true,\n },\n {\n skip: !fisheryId || !userSelectedLakeId,\n }\n );\n useEffect(() => {\n let updatedProperties = customProperties?.map((item) => {\n return {\n ...item,\n field_value: '',\n };\n });\n setCustomPropertyDetails(updatedProperties);\n }, [JSON.stringify(customProperties)]);\n const isFormValid = customPropertyDetails?.every(\n (item) => item.field_value && item.field_value.trim() !== ''\n );\n useEffect(() => {\n /* Check queue status at periodic intervals */\n if (!userIsInQueue) {\n return;\n }\n const timeoutSeconds = Math.floor(Math.random() * 30 + 90);\n const t = setTimeout(() => {\n checkQueue();\n }, timeoutSeconds * 1000);\n\n return () => {\n clearTimeout(t);\n };\n });\n useEffect(() => {\n setCartItems(ProductsData?.map((item) => ({ ...item, quantity: 0 })));\n setAddedItems([]);\n }, [ProductsData]);\n\n useEffect(() => {\n /* Update isInsideWidget state if prop value changes */\n setIsInsideWidget(inWidget);\n }, [inWidget, setIsInsideWidget]);\n\n const {\n total: estimatedTotal,\n advance: estimatedDeposit,\n isDiscounted: isEstimateDiscounted,\n discountedTotal: estimatedDiscountedTotal,\n } = getSummaryCosts(lakeExclusive, is_exotic_fishery, estimatedPricing);\n const estimatedPayableTotal = isEstimateDiscounted\n ? estimatedDiscountedTotal\n : estimatedTotal;\n\n // ensures that steps here match USER_BOOKING_STEP_ORDER\n const steps = useMemo(\n () =>\n USER_BOOKING_STEP_ORDER.map((key) =>\n [\n {\n key: 'lake',\n title: 'Select Lake',\n content: (\n \n ),\n },\n {\n key: 'dates',\n title: 'Select Dates and Times',\n content: ,\n },\n {\n key: 'swims',\n title: 'Select Swims',\n content: ,\n },\n {\n key: 'anglers',\n title: 'Info',\n content: ,\n },\n {\n key: 'summary',\n title: 'Summary',\n content: ,\n },\n {\n key: 'payment',\n title: 'Payment Details',\n content: ,\n },\n {\n key: 'success',\n title: 'Payment Success',\n content: ,\n },\n {\n key: 'failure',\n title: 'Payment Failure',\n content: ,\n },\n ].find((step) => step.key === key)\n ),\n [fisheryId, userIsInQueue]\n );\n\n const getSwimClickableEntries = (data) => {\n setunSelectableSwimIds([]);\n let _dates = [];\n let selectedDates = data.selected_dates;\n data.swims.forEach((swim) => {\n data.display_dates.forEach((date) => {\n if (\n data.booked_dates &&\n data.booked_dates[swim.id] &&\n data.booked_dates[swim.id].indexOf(date) > -1\n ) {\n if (selectedDates.indexOf(date) !== -1) {\n _dates.push(swim.id);\n }\n }\n });\n });\n\n const uniqueDates = [...new Set(_dates)];\n\n setunSelectableSwimIds(uniqueDates);\n // This will render next day\n };\n const resetSelections = () => {\n setAvailableTime(null);\n // Keeps the object reference invariant to prevent calendar re-render (weird bug with DateRangePicker)\n bookingDates[0] = { ...emptyDatesObject };\n setBookingDates(bookingDates);\n setArrivalTime(null);\n setDepartureTime(null);\n setEstimatedPricing(null);\n // setDateText(`${new Date()}reset`);\n };\n const getSwimAvailability = () => {\n let payload_data = {\n arrival_timestamp: arrivalTime,\n departure_timestamp: departureTime,\n lake_id: userSelectedLakeId,\n anglers: userSelectedAnglers,\n guest: userSelectedRods,\n swims: [],\n is_mobile_device: window.innerWidth <= 700,\n book_lake_exclusive: lakeExclusive,\n booking_type: bookingType,\n ...(userSelectedPakage && {\n custom_slot_id:\n lakeDetails?.custom_slot_days[userSelectedPakage - 1]?.id,\n }),\n };\n const axios_config = {\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n };\n axios\n .post('booking/swim_ticket/availability', payload_data, axios_config)\n .then((res) => {\n if (res.status === 200) {\n let res_data = res.data.result;\n if (\n lakeType.toLowerCase() !== 'ticket' &&\n bookingType.toLowerCase() === 'swim'\n ) {\n getSwimClickableEntries(res_data);\n }\n setSwimAvailableData(res_data);\n setSwimImages(res_data.images);\n\n if (\n lakeType.toLowerCase() === 'ticket' ||\n bookingType === 'ticket' ||\n lakeExclusive\n ) {\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('anglers'));\n } else {\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('swims'));\n }\n }\n })\n .catch((err) => {\n console.error(err);\n if (err.response) {\n if (err.response.status === 500) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Server Response failed. Please try again later',\n });\n } else if (err.response.status === 401) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Your action will not be saved. Please Login and try again!',\n });\n } else if (err.response.status === 400) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: err.response.data['detail'],\n });\n } else if (err.response.status === 422) {\n if (err.response.data['detail'] === 'Signature has expired') {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Login session has been expired. Please Login to continue!',\n });\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n \"OOPS! Server didn't like the request. If this persists please contact support team\",\n });\n }\n } else if (err.response.status === 423) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Sorry ! this booking slot has been booked by another user, Try different booking!',\n });\n }\n resetSelections();\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Error processing result',\n });\n console.log(err);\n }\n })\n .finally(() => {});\n };\n\n const isNextDisabled = () => {\n return (\n userIsInQueue ||\n (current === USER_BOOKING_STEP_ORDER.indexOf('lake') &&\n (!userSelectedLakeId ||\n !userSelectedAnglers ||\n (lakeDetails?.lake_type === 'Swim-Ticket' && !bookingType) ||\n (lakeDetails?.custom_slot_booking && !userSelectedPakage))) ||\n (current === USER_BOOKING_STEP_ORDER.indexOf('dates') &&\n !(bookingDates && arrivalTime && departureTime)) ||\n (current === USER_BOOKING_STEP_ORDER.indexOf('swims') &&\n !(\n userSelectedSwims.length + userSelectedDoubleSwim.length >=\n userSelectedAnglers\n ))\n );\n };\n\n const next = () => {\n if (current === USER_BOOKING_STEP_ORDER.indexOf('lake')) {\n if (isNextDisabled()) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Please select all relevant fields to proceed',\n });\n } else {\n setCurrent(current + 1);\n }\n } else if (current === USER_BOOKING_STEP_ORDER.indexOf('dates')) {\n if (!isNextDisabled()) {\n getSwimAvailability();\n } else {\n if (!bookingDates?.[0]?.startDate) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Please select a date to proceed',\n });\n } else if (!arrivalTime) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description:\n 'Please select an arrival and departure time to proceed',\n });\n } else if (!departureTime) {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Please select a departure time to proceed',\n });\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Please select all relevant fields to proceed',\n });\n }\n }\n } else {\n if (current === USER_BOOKING_STEP_ORDER.indexOf('swims')) {\n if (!isNextDisabled()) {\n setCurrent(current + 1);\n } else {\n notification.error({\n message:
There was an issue!
,\n style: { border: '1px #D34545 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: is_exotic_fishery\n ? 'Please select at least one room for all guests'\n : `Please select at least 1 swim for all anglers`,\n });\n }\n } else {\n setCurrent(current + 1);\n }\n }\n };\n\n const prev = () => {\n if (\n current === USER_BOOKING_STEP_ORDER.indexOf('anglers') &&\n (lakeType.toLowerCase() === 'ticket' || lakeExclusive)\n ) {\n setCurrent(USER_BOOKING_STEP_ORDER.indexOf('dates')); // Skip 'swims' step\n } else {\n setCurrent(current - 1);\n }\n };\n\n const htmlHeader = (\n \n \n \n Make a Booking | swimbooker\n \n );\n\n const promotionAppliedMobileSummary = (\n <>\n {isEstimateDiscounted && (\n

\n Promotion Applied: {costString(estimatedDiscountedTotal)}\n

\n )}\n \n );\n\n if (current < USER_BOOKING_STEP_ORDER.indexOf('summary')) {\n return (\n <>\n {htmlHeader}\n
\n \n
\n
\n
\n {steps[current].content}\n
\n USER_BOOKING_STEP_ORDER.indexOf('lake') &&\n current < USER_BOOKING_STEP_ORDER.indexOf('anglers')\n }\n onPrev={prev}\n showNext={current < USER_BOOKING_STEP_ORDER.indexOf('anglers')}\n helpText={\n current === USER_BOOKING_STEP_ORDER.indexOf('lake') ? (\n
\n \n Tap 'Continue' To Select Your Dates\n
\n ) : undefined\n }\n onNext={next}\n nextProps={{\n className: isNextDisabled() ? 'disabled' : 'enabled',\n }}\n pageKey={steps[current].key}\n />\n
\n\n
\n \n {!is_exotic_fishery && }\n
\n
\n
\n {fisheryId !== HideFishery && (\n \n {lakeExclusive ? (\n <>\n

\n Total Price:\n \n {costString(estimatedTotal)}\n \n

\n {promotionAppliedMobileSummary}\n {Boolean(estimatedDeposit) &&\n estimatedDeposit < estimatedPayableTotal && (\n

\n To Pay Today: {costString(estimatedDeposit)}\n

\n )}\n \n ) : is_exotic_fishery ? (\n <>\n

\n 50% Deposit Price:\n \n {costString(estimatedDeposit)}\n \n

\n

\n Total Price: {costString(estimatedTotal)}\n

\n {promotionAppliedMobileSummary}\n \n ) : (\n <>\n

\n {current < USER_BOOKING_STEP_ORDER.indexOf('anglers')\n ? 'Estimated'\n : 'Final'}{' '}\n Price:\n \n {costString(estimatedTotal)}\n \n

\n {promotionAppliedMobileSummary}\n \n )}\n {!isEstimateDiscounted && (\n

\n Calculated On Final Booking Step\n

\n )}\n \n )}\n \n );\n }\n\n // Summary or Payment pages\n return (\n
\n
\n {htmlHeader}\n {steps[current].content}\n
\n
\n );\n}\n\nexport default function UserBookingsPage() {\n const history = useHistory();\n const { pathname } = useLocation();\n const isNewBooking = matchPath(pathname, {\n path: '/booking/new',\n exact: false,\n });\n\n const fisheryId = useParams()['fishery_id'];\n const [, setCurrent] = useGlobalState('current');\n\n useEffect(() => {\n if (isNewBooking) {\n setCurrent(0);\n history.replace(`/booking/progress/${fisheryId}`);\n }\n }, [fisheryId, history, isNewBooking, setCurrent]);\n\n return ;\n}\n","export const sendWidgetMessage = (message) => {\n if (!window?.parent) {\n return;\n }\n window.parent.postMessage(message, '*')\n}\n"],"names":["_ref","_availability$arrival","fisheryPublicId","availability","_ref$loading","loading","_ref$selectedLakeId","selectedLakeId","arrivalTime","_ref$onChangeArrival","onChangeArrival","departureTime","_ref$onChangeDepartur","onChangeDeparture","_ref$arrivalDate","arrivalDate","_ref$departureDate","departureDate","wadmillFishery","process","hasNightArrival","arrival","length","handleTimeLabel","hour","_hour$split","split","_hour$split2","_slicedToArray","timeStr","amPmLabel","_ref2","concat","_toConsumableArray","hourNumStr","parseInt","moment","format","_availability$departu","_availability$departu2","departureHour","departure","arrivalDateString","departureDateString","_jsxs","Col","className","children","_jsx","id","Spin","isValid","Radio","onChange","e","target","value","defaultValue","buttonStyle","slice","map","item","is_available","arrival_ts","disabled","departure_ts","bookingId","fisheryName","Result","status","title","subTitle","_Fragment","extra","LakeBookingInformationModal","visible","onClose","bookingInfo","Modal","open","onCancel","width","footer","closable","maskClosable","centered","style","maxWidth","margin","src","alertIllustration","alt","Button","onClick","HideLake1","HideLake2","SelectLake","_lakeDetails$custom_s","_lakeDetails$custom_s2","setMaxGuestPerAngler","fishery_id","scrollToRef","_ref$disabled","_useGlobalState","useGlobalState","lakeInfo","_useGlobalState3","_useGlobalState4","lakeDetails","setLakeDetails","_useGlobalState5","_useGlobalState6","userSelectedLakeId","setUserSelectedLakeId","_useGlobalState7","setUserSelectedLakeName","_useGlobalState9","setDisabledDates","_useGlobalState11","setLimitedDates","_useGlobalState13","setBookingsLoading","_useGlobalState15","setBookingDates","_useGlobalState17","_useGlobalState18","userSelectedPakage","setUserSelectedPakage","selectedPackageId","custom_slot_days","_useGlobalState19","_useGlobalState20","userSelectedAnglers","setUserSelectedAnglers","_useGlobalState21","_useGlobalState22","userSelectedRods","setUserSelectedRods","_useGlobalState23","setAccommodation","_useGlobalState25","setAvailableTime","_useGlobalState27","setArrivalTime","_useGlobalState29","setDepartureTime","_useGlobalState31","setLakeType","_useGlobalState33","setGuestAllowed","_useGlobalState35","setIsLakeExclusive","_useGlobalState37","setBookingOverlay","_useGlobalState39","setTicketAvailable","_useGlobalState41","setHowToBook","_useGlobalState43","setEstimatedPricing","_useGlobalState45","setUserSelectedSwims","_useGlobalState47","setUserBookingData","_useGlobalState49","setUserSelectedDoubleSwim","_useState","useState","setLoading","_useGlobalState51","setMaxRod","_useGlobalState53","setLakeExclusive","_useGlobalState55","_useGlobalState56","bookingType","setBookingType","_useState3","_useState4","showSignInDrawer","setShowSignInDrawer","isLoggedIn","useIsAnglerLoggedInQuery","data","_useState5","_useState6","carouselNeed","setCarouselNeed","ButtonGroup","next","previous","_rest$carouselState","goToSlide","_objectWithoutProperties","_excluded","carouselState","totalItems","slidesToShow","ArrowLeft","ArrowRight","handleLakeChange","_lakeDetails$name","name","lakeName","lake_exclusive_only","lakeId","axios_config","headers","Accept","withCredentials","params","lake_id","axios","then","res","_res$data","_res$data$can_book","can_book","_res$data$detail","detail","notification","description","catch","err","_err$response","_err$response$data","response","checkUserCanBookLake","_objectSpread","emptyDatesObject","accommodation","arguments","undefined","payload_data","anglers","guest","date","Date","book_lake_exclusive","custom_slot_id","booking_type","_result$limited_avail","_result","result","fully_booked_dates","toUTCDate","limited_availability_dates","ld","guest_allowed","lake_exclusive_enabled","lake_type","swims_tickets_available","max_rod_per_angler","how_to_book","guest_limit_per_angler","current","scrollIntoView","block","inline","smooth","getBookingsInfo","useEffect","idsToRemove","filteredItems","toString","exotic_fishery","filter","includes","Carousel","swipeable","responsive","all","breakpoint","max","min","items","slidesToSlide","infinite","customButtonGroup","arrows","itemAriaLabel","lake","index","_lake$access_type","showMemberOnly","access_type","span","image","type","MenuDrawer","isOpen","setIsOpen","showFooter","UserLoginForm","useMobileButtonStyle","noReload","onLogin","props","xmlns","height","viewBox","fill","d","Option","Select","SelectLakeAndTickets","_lakeDetails$guest_li","_lakeDetails$custom_s5","_lakeDetails$lake_exc","_lakeDetails$lake_exc2","_DynamicText$properti","_DynamicText$properti2","_DynamicText$properti3","_DynamicText$properti4","_DynamicText$properti5","_DynamicText$properti6","_lakeDetails$lake_exc3","_lakeDetails$custom_s6","_lakeDetails$custom_s7","_DynamicText$properti7","_DynamicText$properti8","_DynamicText$properti9","_DynamicText$properti10","history","useHistory","is_exotic_fishery","DynamicText","useGetDynamicBookingTextQuery","is_manor","is_woolpack","_useGlobalState2","userSelectedLakeName","lakeExclusive","_useGlobalState8","isLakeExclusive","_useGlobalState10","_useGlobalState12","_useGlobalState14","setLakeInfo","setFisheryInfo","isInsideWidget","_useGlobalState40","guestAllowed","_useGlobalState50","lakeType","_useGlobalState52","ticketAvailable","maxGuestPerAngler","guestOptions","setGuestOptions","_React$useState","React","_React$useState2","loginChecked","setLoginChecked","detailsRef","useRef","is_exotic_arapaima_lake","exclusive","packageId","_window","message","border","placement","window","innerWidth","_window2","_window8","console","error","_window3","_window4","_window5","_window6","_window7","finally","handleAnglerChange","handleRodChange","generateNumAnglersList","maxAngler","maximumAngler","list","i","push","MaxGuest","resetIdentity","useUserIdentification","getBookingInfo","lakes","fishery_info","_window10","_window11","_window12","_window9","_window9$location","_window9$location$rel","location","reload","call","logOutUser","logUser","username","password","instance","crossDomain","baseURL","sameSite","secure","formData","FormData","append","post","_window13","_window14","_window15","scrollTo","search","paramData","URLSearchParams","get","cryptkey","CryptoJS","cryptiv","crypted","decodeURIComponent","decryptedValue","ciphertext","iv","mode","disableNonLakeExclusiveControls","ticketTypeName","toLowerCase","anglersControl","virtual","bookingTypeControl","handleLakeExclusiveCheckboxChanged","dropdownMatchSelectWidth","checked","_lakeDetails$custom_s4","userSelectedBookingType","selectedPackageIsExclusive","custom_slot_booking","zeroGuests","guestsControl","customPackageControl","_lakeDetails$custom_s3","isExclusive","option","lakeExclusiveControl","lake_exclusive_anglers_allowed","accomodationControl","log","Row","selectLake","is_active","properties","booking_step_1","lake_selection_prompt","position","BookingDetails","verticalAlign","ref","lake_exclusive_label","justifyContent","alignItems","packageList","SelectedInfoPanel","showPlaceholder","content","gap","booking_summary_booking_type","placeholder","icon","SvgEdit","iconSize","SelectSwim","swimAvailableData","unSelectableSwimIds","userSelectedSwims","_useGlobalState16","userSelectedDoubleSwim","availableDSwims","double_swims","selectedDates","selected_dates","swim_id","sendDataToServer","swimList","arrival_timestamp","departure_timestamp","swims","is_mobile_device","handleOnclickEvent","isSelectedDates","isUnClickable","swim","local_variable_swim","local_variable_double_swim","indexOf","dsIndex","splice","handleSwimChange","isAdjacentDate","addToDateString","booked_dates","Cell","UserRedIcon","userSelectedIcon","UserDoubleBlueIcon","UserBlueIcon","UserImage","userDoubleSelect","SwimKeyModal","bookingKey","Step2","_useState2","enableSwimSelect","swimImages","setSwimImages","setSwimAvailableData","setunSelectableSwimIds","_useState7","_useState8","showKeyModal","setShowKeyModal","generateSlideImages","images","dList","swim_names","forEach","_d","original","thumbnail","getSwimAvailability","res_data","_dates","display_dates","uniqueDates","Set","getSwimClickableEntries","isSelectedDate","eye","ImageGallery","thumbnailPosition","showFullscreenButton","showPlayButton","showBullets","showNav","ResponsiveCarousel","showThumbs","showArrows","showIndicators","infiniteLoop","dynamicHeight","autoPlay","x","StickyTable","stickyHeaderCount","leftStickyColumnCount","RowT","_date","_swim$swim_type","_swim$swim_type2","swim_type","swim_size","enable_swim_select","Divider","color","ProductItem","onIncrease","onDecrease","quantity","max_quantity","price","infoVisible","setInfoVisible","objectFit","toFixed","justify","info","gutter","background","cursor","MinusIcon","AddIcon","ProductAddOn","_cartItems$slice","cartItems","setCartItems","addedItems","setAddedItems","total","setTotal","reduce","currentPage","setCurrentPage","startIndex","endIndex","borderBottom","itemId","maxQuantity","prevItems","prevAddedItems","find","product_id","newItem","existingItem","Pagination","page","pageSize","showSizeChanger","_ref$showNext","showNext","_ref$showPrev","showPrev","_ref$onNext","onNext","_ref$onPrev","onPrev","_ref$nextProps","nextProps","_ref$prevProps","prevProps","_ref$nextText","nextText","_ref$prevText","prevText","_ref$prevColourClass","prevColourClass","_ref$nextColourClass","nextColourClass","_ref$helpText","helpText","pageKey","hawkhurst_id","sandHurst_id","lane_fishery_id","tregonethaLake","alderLakeId","comptonsLake","Step3","setCurrent","customPropertyDetails","setCustomPropertyDetails","estimatedPricing","userBookingData","userInfo","setUserInfo","maxRod","_useGlobalState30","disableNext","setDisableNext","fisheryInfo","registerationNumber","setRegistrationNumber","memberSetting","useGetMemberSettingsQuery","seasonTicketHolder","useGetAddOnsQuery","fisheryId","skip","useGetCustomPropertiesQuery","useGetSeasonTicketValidationQuery","email","isSeasonTicketHolder","season_ticket","countryOptions","useMemo","countryCodes","_ref3","Code","y","_ref4","label","Name","_getSummaryCosts","getSummaryCosts","estimatedTotal","estimatedDeposit","advance","estimatedBalance","balance","isEstimateDiscounted","isDiscounted","estimatedDiscountedTotal","discountedTotal","_Form$useForm","Form","form","showErrorNotification","handleGetAnglerDetailsError","useCallback","sendWidgetMessage","generateList","generateAnglerList","anglerInfo","first_name","last_name","phone_number","contact","num_rod","concession","setFieldsValue","angler_details","getAnglerDetails","userAnglerDetails","vehicle_registration_number","notes","updatePricing","getFieldsValue","isFormValid","every","field_value","trim","termsText","href","rel","scrollToFirstError","behavior","onFinish","validAnglerDetails","anglerDetailsList","_step","emailSet","nameSet","_iterator","_createForOfIteratorHelper","s","n","done","userDetail","has","add","fullName","f","isNotDuplicated","enforce_unique_angler","is_duplicate_permitted","proceedSummary","autoComplete","onFieldsChange","termsAndConditionsAgreed","Boolean","getFieldValue","priceLoaded","amount","fields","field","SvgUserBox","display","copyForAll","copyAsAbove","labelCol","offset","wrapperCol","Key","rules","required","Input","validateStatus","is_same_price","sm","md","lg","xl","valuePropName","Checkbox","minHeight","infoIcon","_item$field_options","minWidth","overflowWrap","field_name","field_type","v","updatedDetails","popupClassName","field_options","LocalizationProvider","dateAdapter","AdapterDayjs","DatePicker","fontFamily","dayjs","slotProps","textField","size","InputLabelProps","shrink","sx","float","marginTop","fontSize","rows","capture_vehicle_registration","borderRadius","toUpperCase","padding","booking_step_3","lake_exclusive_header","costString","header_anglers_info","lake_exclusive_balance_due_reminder","validator","_","Promise","resolve","reject","compliance_fishery_mention","TERMS_AND_CONDITIONS_URL","PRIVACY_POLICY_URL","UserBookingNavButtons","htmlType","_ref$className","additionalProps","backgroundImage","backgroundSize","backgroundBlendMode","backgroundPosition","venue_name","SideSummaryTimeRow","selectedDate","isFixedTime","selectedTimeAndDate","itemStyle","parsedTime","parsedDate","UserBookingSideSummary","_estimatedPricing$pri","_estimatedPricing$pri2","_estimatedPricing$pri3","_bookingDates$","_bookingDates$2","totalHelpText","USER_BOOKING_STEP_ORDER","bookingDates","addedProductItems","_useGlobalState38","isArrivalFixed","isDepartureFixed","_useGlobalState42","subTitleStyle","summaryTitleStyle","paddingClass","hideGuests","hidePrice","anglersWord","estimatedPayableTotal","payable","anglersCost","pricing_details","pricing_breakdown","acc","guestsCost","num_anglers","num_guest","swim_ids","apply_promotion","add_on_details","SvgSummary","SummaryLakeMasthead","startDate","endDate","handleNewBookingError","msg","spinIcon","LoadingOutlined","spin","dispatch","useDispatch","setPaymentFormData","setReservationExpiryTime","setFinalPricing","setStoredCards","setStoredCardsError","setBookingId","setPaymentError","setPaymentSuccessRedirect","_useGlobalState57","_useGlobalState58","_useGlobalState59","_useGlobalState60","_useReevaluateEngagem","useReevaluateEngagementMutation","triggerEngagementReevaluation","_useGetUserWalletQuer2","useGetUserWalletQuery","isWalletActive","walletEnabled","useGetUserHasSubscriptionQuery","cost","bookingInProgress","setBookingInProgress","loadingFinalPriceEstimate","setLoadingFinalPriceEstimate","usingWalletAmountPence","setUsingWalletAmountPence","loadFinalPricing","cost_payload","names","labelClass","summaryFieldClass","numTickets","numSwims","selectedSwimNames","hasAddOns","SummaryFisheryMasthead","SummaryDivider","InfoIcon","booking_step_2","booking_summary","lake_text","join","at","CalendarIcon","formatDate","formatDateWithTime","BoxIcon","UserBookingPaymentTotal","indicator","details","custom_properties","use_wallet","wallet_amount_to_spend","axios_new_config","_result$stored_cards","_result$booking_price","_result$booking_price2","_result$stored_cards2","_result$stored_cards3","public_id","booking_id","stored_cards","payableCost","booking_price","advance_price","total_price","parseFloat","Moment","booking_public_id","redirect","apiSlice","createBooking","finalPricing","reservationExpiryTime","PaymentPage","idField","enableStoredCards","enableApplePay","enableSaveCard","onPaymentSuccess","onPaymentFailure","headerContent","paymentExpiryTime","onClickCountdownEndedBack","now","userHasSubscription","paymentSuccessRedirect","swimbookerPlusBanner","zIndex","List","bordered","dataSource","renderItem","CheckCircleOutlined","LoadingSpinner","BookingSuccessMessage","isFreeBooking","PaymentFailure","retryPaymentButton","paymentSuccessfulButton","CalendarKeyItem","colour","_ref$withTriangle","withTriangle","backgroundColor","CalendarColoursModal","errorNotification","_ref$message","_ref$description","warningNotification","_ref2$message","_ref2$description","SelectDate","maxVisibleDate","maxBookableDate","maxBookableErrorMessage","customSlotId","registerTimeRequest","unregisterTimeRequest","disabledDates","limitedDates","_useGlobalState28","dateText","howToBook","_useGlobalState44","wordAndCount","word","count","anglerCountNotice","marginBottom","explanationLinkStyle","showColoursExplanationModal","setShowColoursExplanationModal","coloursExplanation","_useLocalStorage","useLocalStorage","_useLocalStorage2","seenInformationMap","setSeenInformationMap","updateLakeInfoSeenMap","prev","copy","Object","assign","showBookingInfoModal","setShowBookingInfoModal","bookingInformationExplanation","role","SvgCalendar","AvailabilityCalendar","reRenderKey","selectedRanges","fullyBookedDates","limitedAvailabilityDates","selectedPackage","maxDate","maxSelectableDate","maxDateSelectMessage","onDateSelection","selectedRange","getFullDate","isSame","start_date","end_date","getTimeAvailability","onMonthChange","some","prevDate","toISOString","prevLDate","clearSelectedDates","showSelectionTail","is_24_hour_lake","SelectTime","_bookingDates$3","_bookingDates$4","_availableTime$arriva5","_availableTime$arriva6","_availableTime$arriva7","_bookingDates$7","_availableTime$depart5","_availableTime$depart6","_availableTime$depart7","_bookingDates$8","setIsArrivalFixed","setIsDepartureFixed","availableTime","sectionRef","is24HourLakeWithNoDeparture","hasValidDeparture","hasSelectedDates","_bookingDates$5","_bookingDates$6","_availableTime$arriva","_availableTime$depart","_availableTime$arriva2","_availableTime$arriva3","_availableTime$depart2","_availableTime$depart3","_availableTime$arriva4","_arrivalOptionSelecte","_arrivalOptionSelecte2","_arrivalOptionSelecte3","arrivalOptionSelected","_availableTime$depart4","_departureOptionSelec","_departureOptionSelec2","_departureOptionSelec3","departureOptionSelected","opacity","SvgTimer","SelectTimeControl","SelectDatesAndTimes","inFlightTimeRequests","setInFlightTimeRequests","_useMemo","messageReason","max_date","booking_days_is_active","setDate","getDate","lake_exclusive_booking_days","booking_days","booking_date_is_active","booking_date","currentYear","getFullYear","setFullYear","_useMemo2","maxBookableMessage","maxAvailabilityDate","availability_days_is_active","availability_days","availability_date_is_active","availability_date","Math","_ref$open","usePreventScroll","spinnerRef","alarm","Lottie","lottieRef","animationData","loadingAnimation","autoplay","loop","HideFishery","UserBookings","_ref$inWidget","inWidget","setIsInsideWidget","_useGlobalState24","_useGlobalState32","_useGlobalState36","ProductsData","_useGetIsUserInBookin","useGetIsUserInBookingQueueQuery","userIsInQueueResult","checkQueue","refetch","isElphicks","isLaunchDay","userIsInQueue","customProperties","online","updatedProperties","JSON","stringify","timeoutSeconds","floor","random","t","setTimeout","clearTimeout","steps","key","SelectSwims","UserBookingSummary","UserBookingPaymentPage","UserBookingSuccessPage","UserBookingFailurePage","step","isNextDisabled","htmlHeader","Helmet","charSet","promotionAppliedMobileSummary","QueueModal","LicenceInfo","UserBookingsPage","pathname","useLocation","isNewBooking","matchPath","path","exact","useParams","replace","String","parent","postMessage"],"sourceRoot":""}