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AnBFma,4BACAC,EAkBEpa,EAlBFoa,4BACAC,EAiBEra,EAjBFqa,kCACAC,EAgBEta,EAhBFsa,0BACAC,EAeEva,EAfFua,gCAGAC,GAYExa,EAdFya,6BAcEza,EAbF0a,0BAaE1a,EAZFwa,iCACAG,EAWE3a,EAXF2a,gCACAC,EAUE5a,EAVF4a,2BACAC,EASE7a,EATF6a,yBACAC,EAQE9a,EARF8a,+BACAC,EAOE/a,EAPF+a,2BACAC,EAMEhb,EANFgb,iCACAC,EAKEjb,EALFib,0BACAC,EAIElb,EAJFkb,gCACAC,EAGEnb,EAHFmb,qCACAC,EAEEpb,EAFFob,gCACAC,EACErb,EADFqb,+B,wHC5Sa,SAASnF,EAAgBpO,GACtC,OACEsC,EAAAA,EAAAA,KAAA,OAAKvI,GAAG,mBAAmByI,UAAWxC,EAAMwC,UAAUC,UACpDH,EAAAA,EAAAA,KAACkR,IAAqB,CAACC,QAAS,CAACC,KAAMjR,SAAUzC,EAAMqO,WAG7D,C","sources":["components/admin/components/bookings/bookingSlice.js","components/admin/components/bookings/components/GlobalState.js","components/admin/components/bookings/components/SelectSwim.js","components/admin/components/lake_manager/components/GlobalState.js","components/admin/components/lake_manager/components/Summary.js","components/admin/components/settings/settingsSlice.js","components/common/MarkdownContent.js"],"sourcesContent":["import { apiSlice } from '../../../../store/apiSlice';\n\nexport const extendedApiSlice = apiSlice\n .enhanceEndpoints({\n addTagTypes: ['ProductAddon', 'BookingInfo', 'customProperties'],\n })\n .injectEndpoints({\n endpoints: (builder) => ({\n getAddOns: builder.query({\n query: ({ fisheryId, packageId, lakeId }) => ({\n url: `booking/fishery/products`,\n params: {\n fishery_id: fisheryId,\n package_id: packageId,\n lake_id: lakeId,\n },\n }),\n providesTags: (result, error) =>\n error ? [] : [{ type: 'ProductAddon' }],\n }),\n getCustomProperties: builder.query({\n query: ({ fisheryId, bookingType, lakeId, online = false }) => ({\n url: `fishery/booking/custom_properties`,\n params: {\n fishery_id: fisheryId,\n booking_type: bookingType,\n lake_id: lakeId,\n online_booking: online,\n },\n }),\n providesTags: (result, error) =>\n error ? [] : [{ type: 'customProperties' }],\n }),\n getBookingInfo: builder.query({\n query: (id) => ({\n url: `fishery/booking/info?id=${id}`,\n }),\n providesTags: (result, error) =>\n error ? [] : [{ type: 'BookingInfo' }],\n }),\n resendBookingConfirmation: builder.mutation({\n query: (id) => ({\n url: `fishery/booking/resend_confirmation?booking_id=${id}`,\n method: 'POST',\n data: {},\n }),\n }),\n initiateRefund: builder.mutation({\n query: (data) => ({\n url: `fishery/initiate_refund`,\n method: 'POST',\n data: data,\n }),\n invalidatesTags: (result, error) => [\n { type: 'BookingInfo' },\n { type: 'RefundValue' },\n ],\n }),\n updateTaxiInformation: builder.mutation({\n query: (data) => ({\n url: `fishery/booking/taxi_information`,\n method: 'PUT',\n data: data,\n }),\n }),\n editCustomProperties: builder.mutation({\n query: (data) => ({\n url: `fishery/booking/custom_properties`,\n method: 'PUT',\n data: data,\n }),\n }),\n checkPassword: builder.mutation({\n query: (data) => ({\n url: `fishery/check_password`,\n method: 'POST',\n data: data,\n }),\n }),\n resendBalanceReminder: builder.mutation({\n query: (id) => ({\n url: `fishery/booking/send_reminder?booking_id=${id}`,\n method: 'POST',\n data: {},\n }),\n }),\n }),\n });\n\nexport const {\n useGetAddOnsQuery,\n useGetBookingInfoQuery,\n useResendBookingConfirmationMutation,\n useResendBalanceReminderMutation,\n useGetCustomPropertiesQuery,\n useEditCustomPropertiesMutation,\n useUpdateTaxiInformationMutation,\n useInitiateRefundMutation,\n useCheckPasswordMutation\n} = extendedApiSlice;\n","import { createGlobalState } from 'react-hooks-global-state';\nimport EditBookingData from '../assets/data/edit_booking.json';\nimport { emptyDatesObject } from '../../../../availability_calendar/AvailabilityCalendar';\n\nexport const { GlobalStateProvider, useGlobalState } = createGlobalState({\n editBookingDetails: [],\n loadingCalenderDateAvailability: false,\n bookingId: null,\n // disabledDates: [\"2021-04-29\", \"2021-04-30\", \"2021-05-5\"],\n disabledDates: [new Date('2021, 1, 12')],\n bookingDates: [{ ...emptyDatesObject }],\n customSlotData: null,\n userSelectedBookingPackage: null,\n customPropertyDetails: null,\n taxiDetails: {\n taxi_booked: false,\n pickup_date: '',\n pickup_location: '',\n dropoff_date: '',\n dropoff_location: '',\n },\n availableTime: null,\n arrivalTime: null,\n isArrivalFixed: null,\n isDepartureFixed: null,\n departureTime: null,\n\n swimAvailableData: null,\n unSelectableSwimIds: [],\n\n lakeInfoList: null,\n lakeListInfo: null,\n userSelectedLakeName: null,\n userSelectedBookingType: null,\n userSelectedLakeId: null,\n userSelectedLakeInfo: null,\n userSelectedTicket: null,\n userSelectedSwims: [],\n userSelectedDoubleSwim: [],\n anglers: 10000,\n estimatedPricing: null,\n payableAmount: null,\n payment: 'card',\n userInputSwimBookerId: [{ value: '', loading: false }],\n userDetails: null,\n addedProductItem: [],\n productItem: [],\n userInputDetails: [\n {\n first_name: '',\n last_name: '',\n email: '',\n no_email: false,\n phone_number: '',\n profile_image: '',\n num_rod: 1,\n concession: false,\n },\n ],\n noOfTickets: [],\n userInputLabel: ['First Name', 'Last Name', 'Email', 'Phone Number'],\n guest: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n userInputName: ['first_name', 'last_name', 'phone_number', 'num_rod'],\n userSelectedAnglers: null,\n userSelectedGuests: null,\n notes: '',\n registration: '',\n loading: true,\n packageId: null,\n selectedArrival: undefined,\n selectedDeparture: undefined,\n\n // bookingId: null,\n // // disabledDates: [\"2021-04-29\", \"2021-04-30\", \"2021-05-5\"],\n // disabledDates: [new Date('2021, 1, 12')],\n // bookingDates: [\n // {\n // startDate: new Date('2021, 05, 11'),\n // endDate: addDays(new Date('2021, 05, 11'), 3),\n // key: 'selection',\n // end_date: new Date('2021, 05, 14')\n // }\n // ],\n\n // availableTime: AvailableTime,\n // arrivalTime: \"2021-05-11 08:00:00\",\n // departureTime: \"2021-05-14 20:00:00\",\n // swimAvailableData: null,\n // unSelectableSwimIds: [],\n // lakeInfoList: {\n // \"all_lakes\": [{\n // \"id\": \"7ef199b1-c66b-41e2-9d77-b46e0715fbc8\",\n // \"name\": \"Alpha Lake\"\n // }, {\n // \"id\": \"78980c03-8eb4-407d-bdf6-b2a1326537ac\",\n // \"name\": \"Top Lake\"\n // }],\n // \"default\": {\n // \"id\": \"7ef199b1-c66b-41e2-9d77-b46e0715fbc8\",\n // \"name\": \"Alpha Lake\"\n // }\n // },\n // userSelectedLakeName: null,\n // userSelectedLakeId: null,\n // userSelectedSwims: [],\n // userSelectedDoubleSwim: [],\n // anglers: 3,\n // estimatedPricing: {\n // \"amount\": 58,\n // \"currency\": \"GBP\"\n // },\n // userInputSwimBookerId: null,\n // userDetails: AnglerDetails,\n});\n","import React, { useEffect } 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';\n\nexport const addToDateString = (strDate, daysAmount) => {\n const d = new Date(strDate);\n const d2 = new Date(new Date().setDate(d.getDate() + daysAmount));\n return d2.toISOString().split('T')[0];\n};\n\nexport default function SelectSwim(props) {\n const [, setUserSelectedGuests] = useGlobalState('userSelectedGuests');\n\n const [swimAvailableData] = useGlobalState('swimAvailableData');\n\n const [anglers] = useGlobalState('anglers');\n const [unSelectableSwimIds] = useGlobalState('unSelectableSwimIds');\n\n // user selected swims\n const [userSelectedSwims, setUserSelectedSwims] =\n useGlobalState('userSelectedSwims');\n const [userSelectedDoubleSwim, setUserSelectedDoubleSwim] = useGlobalState(\n 'userSelectedDoubleSwim'\n );\n\n const availableDSwims = swimAvailableData.double_swims;\n const selectedDates = swimAvailableData.selected_dates;\n\n const swim_id = props.swim_id;\n const date = props.date;\n const index = props.index;\n\n const handleSwimChange = (e, swim) => {\n setUserSelectedGuests(null);\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 (userSelectedSwims.length + userSelectedDoubleSwim.length < anglers) {\n let index = userSelectedSwims.indexOf(swim);\n if (index !== -1) {\n let dsIndex = userSelectedDoubleSwim.indexOf(swim);\n\n if (availableDSwims.indexOf(swim) > -1 && dsIndex === -1) {\n local_variable_double_swim = [...userSelectedDoubleSwim, swim];\n setUserSelectedDoubleSwim(local_variable_double_swim);\n call_api = false;\n } else {\n if (dsIndex > -1) {\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 setUserSelectedSwims([]);\n setUserSelectedDoubleSwim([]);\n // local_variable_swim = [];\n // local_variable_double_swim = [];\n }\n\n if (call_api) {\n // sendDataToServer(local_variable_swim);\n }\n };\n useEffect(() => {\n if (\n swimAvailableData?.booked_dates[userSelectedSwims[0]]?.indexOf(\n selectedDates[0]\n ) > -1\n ) {\n setUserSelectedSwims([]);\n }\n }, [availableDSwims]);\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 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 swimAvailableData.edited_dates &&\n swimAvailableData.edited_dates[swim_id] &&\n swimAvailableData.edited_dates[swim_id].indexOf(date) === -1\n ) {\n return (\n \n
\n {swim_id\n
\n \n );\n } else 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 >\n
\n \n
\n \n );\n }\n}\n","import { createGlobalState } from 'react-hooks-global-state';\n\nexport const { GlobalStateProvider, useGlobalState } = createGlobalState({\n // Constant do not remove\n defaultRodHours: [\n { name: 12, isChecked: true },\n { name: 24, isChecked: true },\n { name: 36, isChecked: true },\n { name: 48, isChecked: true },\n { name: 60, isChecked: true },\n { name: 72, isChecked: true },\n ],\n exclusiveRodHours: [\n { name: 12, isChecked: true },\n { name: 24, isChecked: true },\n { name: 36, isChecked: true },\n { name: 48, isChecked: true },\n { name: 60, isChecked: true },\n { name: 72, isChecked: true },\n ],\n // rodHours: [12, 24, 36, 48, 60, 72],\n rodHours: [\n { name: 12, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 24, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 36, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 48, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 60, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 72, isChecked: true, 1: '', 2: '', 3: '' },\n ],\n rodNos: ['1', '2', '3'],\n cRodKeys: [\n 'twelve',\n 'twenty_four',\n 'thirty_six',\n 'forty_eight',\n 'sixty',\n 'seventy_two',\n ],\n rodKeys: ['one', 'two', 'three'],\n availableSwimTypes: ['Single', 'Double', 'Triple'],\n maxRod: 3,\n winterTiming: false,\n lakeSpecies: [\n 'Carp',\n 'Pike',\n 'Chub',\n 'Catfish',\n 'Sturgeon',\n 'Tench',\n 'Perch',\n 'Roach',\n 'Rudd',\n 'Barbel',\n 'Bream',\n 'Dace',\n 'Grayling',\n 'Mirror Carp',\n 'Common Carp',\n 'Crucian Carp',\n 'Grass Carp',\n 'Leather Carp',\n 'Koi Carp',\n 'F1',\n 'Trout',\n 'Goldfish',\n 'Orph',\n ],\n maxAnglers: [\n 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,\n 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,\n 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,\n ],\n\n newSwimTypeForm: [],\n editLakeData: [],\n editingLake: false,\n\n // When user goes back and next we need this information to\n // either create a new lake or update\n // This will lake_id will be set once user click next on /lake_manager/swims page\n // First time it will be empty\n\n // Post return call with lake id and swim id's\n lakeId: '',\n swimType: [],\n swimTypeDetail: '',\n swimTypeId: '',\n selectedSwimType: [{ value: 'Standard' }],\n selectedSwimSize: [{ value: '' }],\n doubleCheck: [{ value: false }],\n // Get call\n lakeInfoList: null,\n newSwimSize: '',\n\n amPmChecked: false,\n // START\n // Populate data for post call\n lakeName: '',\n lakeServiceType: '',\n lakeServiceTypeName: '',\n lakeUserInput: null,\n\n // Placeholder for user\n nonAnglingGuest: 'no',\n\n customSlot: false,\n customSlotType: [],\n customSlotDetail: '',\n lakeExclusive: false,\n lakeExclusiveOnly: false,\n limitSimultaneous: 'no',\n lakeDescription: '',\n lakeRules: '',\n lakeInfo: '',\n customInfo: '',\n\n anglersAllowed: 1,\n chargingType: '',\n deposit: null,\n depositType: '',\n balanceDue: null,\n balanceDueType: '',\n balanceInAdvance: null,\n balanceInAdvanceType: '',\n onlineBalancePayments: false,\n balanceCancellation: false,\n balanceCancellationDue: null,\n balanceCancellationDueType: '',\n balanceNotification: false,\n balanceNotificationDue: null,\n balanceNotificationDueType: '',\n finalReminderActive: false,\n finalReminderDue: null,\n emailInfo: '',\n //\n concessionChecked: false,\n recurringValue: null,\n recurringPricing: '',\n userPricingInfo: null,\n userConcessionPricing: null,\n userInputSwims: [{ id: '', name: '', type: null, price: '', double: '' }],\n // userInputSwims: [\n // {\"id\": \"abcd1\", \"name\": \"\", \"type\": null, \"price\": \"\", \"notes\": \"\", \"image\": null },\n // {\"id\": \"abcd2\", \"name\": \"\", \"type\": null, \"price\": \"\", \"notes\": \"\", \"image\": null },\n // {\"id\": \"abcd5\", \"name\": \"\", \"type\": null, \"price\": \"\", \"notes\": \"\", \"image\": null },\n // {\"id\": \"abcd6\", \"name\": \"\", \"type\": null, \"price\": \"\", \"notes\": \"\", \"image\": null }\n // ],\n // END\n newRecurringPricing: '',\n lakeMainImage: '',\n lakeImages: ['', '', '', ''],\n summary: null,\n booking_days: null,\n description: null,\n angler_allowed: 0,\n});\n","import React, { useEffect, useState } from 'react';\nimport { Link, withRouter } from 'react-router-dom'; // <--- import `withRouter`. We will use this in the bottom of our file.\nimport { Col, notification, Row, Spin } from 'antd';\nimport { useGlobalState } from './GlobalState';\nimport '../../lake_manager/assets/css/summary.css';\nimport Slider from 'react-slick';\nimport ArrowLeft from '../../../assets/images/lake_manager/LeftArrow.png';\nimport ArrowRight from '../../../assets/images/lake_manager/RightArrow.png';\nimport axios from 'axios';\nimport MarkdownContent from '../../../../common/MarkdownContent';\n\nconst admin_url = process.env.REACT_APP_ADMIN_PATH;\n\nfunction SampleNextArrow(props) {\n const { className, onClick } = props;\n return (\n \n );\n}\n\nfunction SamplePrevArrow(props) {\n const { className, onClick } = props;\n return (\n \n );\n}\n\nfunction Summary(props) {\n const [loading, setLoading] = useState(true);\n const [lakeId] = useGlobalState('lakeId');\n\n const [lakeName] = useGlobalState('lakeName');\n\n const [summary, setSummary] = useGlobalState('summary');\n\n const [, setLakeMainImage] = useGlobalState('lakeMainImage');\n const [, setLakeImages] = useGlobalState('lakeImages');\n const [, setRodHours] = useGlobalState('rodHours');\n const [, setSwimTypeId] = useGlobalState('swimTypeId');\n const [, setLakeUserInput] = useGlobalState('lakeUserInput');\n const [, setMaxRod] = useGlobalState('maxRod');\n const [, setLimitSimultaneous] = useGlobalState('limitSimultaneous');\n const [, setNonAnglingGuest] = useGlobalState('nonAnglingGuest');\n const [, setUserConcessionPricing] = useGlobalState('userConcessionPricing');\n const [, setUserPricingInfo] = useGlobalState('userPricingInfo');\n const [, setRecurringValue] = useGlobalState('recurringValue');\n const [, setRecurringPricing] = useGlobalState('recurringPricing');\n const [, setNewRecurringPricing] = useGlobalState('newRecurringPricing');\n const [, setSwimTypeDetail] = useGlobalState('swimTypeDetail');\n const [, Setchecked] = useGlobalState('doubleCheck');\n const [, setselectedSwimType] = useGlobalState('selectedSwimType');\n const [, setselectedSwimSize] = useGlobalState('selectedSwimSize');\n const [, setIsChecked] = useGlobalState('concessionChecked');\n\n const settings = {\n infinite: false,\n slidesToShow: 8,\n slidesToScroll: 1,\n nextArrow: ,\n prevArrow: ,\n responsive: [\n {\n breakpoint: 1400,\n settings: {\n slidesToShow: 7,\n },\n },\n {\n breakpoint: 1300,\n settings: {\n slidesToShow: 6,\n },\n },\n {\n breakpoint: 1200,\n settings: {\n slidesToShow: 5,\n },\n },\n {\n breakpoint: 992,\n settings: {\n slidesToShow: 4,\n },\n },\n {\n breakpoint: 768,\n settings: {\n slidesToShow: 5,\n },\n },\n {\n breakpoint: 620,\n settings: {\n slidesToShow: 4,\n },\n },\n {\n breakpoint: 500,\n settings: {\n slidesToShow: 3,\n },\n },\n {\n breakpoint: 400,\n settings: {\n slidesToShow: 2,\n },\n },\n {\n breakpoint: 300,\n settings: {\n slidesToShow: 1,\n },\n },\n ],\n };\n\n const getSummary = () => {\n const data = { lake_id: lakeId };\n\n const config = {\n headers: {\n // 'Accept': 'application/json',\n // 'content-type': 'multipart/form-data'\n },\n withCredentials: true,\n crossDomain: true,\n baseURL: `${process.env.REACT_APP_AXIOS_URL}fishery`,\n 'Access-Control-Allow-Origin': '*',\n sameSite: null,\n secure: false,\n params: data,\n };\n\n axios\n .get('/lake/summary', config)\n .then((res) => {\n if (res.status === 200) {\n let data = res.data.result;\n console.log(data);\n\n setSummary(data);\n console.log(summary);\n setLakeMainImage(data.lake_main_image);\n setLakeImages(data.lake_secondary_images);\n // setUserInputSwims(data.swims);\n setLoading(false);\n } else {\n setLoading(false);\n }\n })\n .catch((err) => {\n setLoading(false);\n if (err.response) {\n if (err.response.status === 401) {\n props.history.push('/admin/login');\n }\n }\n });\n };\n\n const onFinish = () => {\n notification.success({\n message:
Success!
,\n style: { border: '1px #2CB972 solid' },\n placement: window?.innerWidth <= 500 ? 'bottom' : 'topRight',\n className: 'gRegular br10',\n description: 'Congratulations! Your lake has been set up successfully!',\n });\n setSwimTypeId('');\n setRodHours([\n { name: 12, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 24, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 36, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 48, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 60, isChecked: true, 1: '', 2: '', 3: '' },\n { name: 72, isChecked: true, 1: '', 2: '', 3: '' },\n ]);\n setLakeUserInput(null);\n setMaxRod(3);\n setLimitSimultaneous('no');\n setNonAnglingGuest('no');\n setUserPricingInfo(null);\n setUserConcessionPricing(null);\n setRecurringValue(0);\n setRecurringPricing('');\n setNewRecurringPricing('');\n setSwimTypeDetail('');\n Setchecked([{ value: false }]);\n setIsChecked(false);\n setselectedSwimSize([{ value: '' }]);\n setselectedSwimType([{ value: '' }]);\n };\n\n useEffect(() => {\n if (lakeName) {\n getSummary();\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 start over',\n });\n props.history.push(`${admin_url}/lake_manager`);\n }\n }, []);\n\n return (\n
\n {!loading && summary ? (\n \n \n

\n Let’s check everything you’ve entered.\n

\n

\n Once you're happy with all the info below, just click 'finish' to\n add your lake to swimbooker.\n

\n\n \n \n \n \n \n \n Lake Name: {' '}\n \n \n \n {summary.lake_name ? summary.lake_name : 'test'}\n \n \n \n \n \n Lake Type: {' '}\n \n \n \n {summary.service_type ? summary.service_type : 'test'}\n \n \n \n \n \n Angling Type: {' '}\n \n \n \n {summary.lake_type ? summary.lake_type : 'test'}\n \n \n \n \n \n Lake Access: {' '}\n \n \n \n {summary.access_type ? summary.access_type : 'test'}\n \n \n \n \n \n No. Of Swims: {' '}\n \n \n \n {summary.total_swims ? summary.total_swims : 'test'}\n \n \n \n \n \n Max. Sim. Bookings: {' '}\n \n \n \n {summary.max_sim_booking\n ? summary.max_sim_booking\n : 'test'}\n \n \n \n \n \n Swim Types: {' '}\n \n \n \n {summary.swim_types\n ? summary.swim_types.map((s, i) => {\n return i === 0\n ? s.name\n : i === summary.swim_types.length - 1\n ? ' & ' + s.name\n : ', ' + s.name;\n })\n : 'test'}\n \n \n \n \n \n Max. Rods. Per Angler: {' '}\n \n \n \n {summary.max_rod_per_angler\n ? summary.max_rod_per_angler\n : 'test'}\n \n \n \n\n \n \n Species: {' '}\n \n \n \n {summary.species\n ? summary.species.map((species, i) => {\n return i === 0\n ? species\n : i === summary.species.length - 1\n ? ' & ' + species\n : ', ' + species;\n })\n : 'test'}\n \n \n \n \n \n

Description:

\n

\n \n

\n

Rules:

\n

\n \n

\n \n
\n \n \n

\n Imagery:\n

\n \n \n \n {summary.images.map((data, index) => (\n \n {index}\n \n ))}\n \n \n
\n \n
\n\n \n
\n
\n \n Back\n \n
\n
\n \n Finish\n \n
\n
\n
\n \n
\n ) : loading && !summary ? (\n
\n {' '}\n
\n ) : (\n

Error fetching summary data.

\n )}\n
\n );\n}\n\nexport default withRouter(Summary);\n","import { apiSlice } from '../../../../store/apiSlice';\n\nexport const extendedApiSlice = apiSlice\n .enhanceEndpoints({\n addTagTypes: [\n 'FisheryLakes',\n 'Promotions',\n 'Product',\n 'access',\n 'member-setting',\n 'membership-form',\n 'membership-plan',\n 'custom-slot-plan',\n 'user-season-ticket',\n 'PrintSettings',\n 'BookingSettings',\n ],\n })\n .injectEndpoints({\n endpoints: (builder) => ({\n getLakes: builder.query({\n query: () => ({\n url: 'fishery/lakes',\n }),\n }),\n getPromotions: builder.query({\n query: () => ({\n url: 'fishery/promotions',\n }),\n providesTags: ['Promotions'],\n }),\n createPromotion: builder.mutation({\n query: (data) => ({\n url: `fishery/create-promotion`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'Promotions' }],\n }),\n updatePromotion: builder.mutation({\n query: (data) => ({\n url: `fishery/promotion/update`,\n method: 'put',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'Promotions' }],\n }),\n deletePromotion: builder.mutation({\n query: (id) => ({\n url: `fishery/promotion`,\n method: 'delete',\n params: { id },\n }),\n invalidatesTags: (result, error) => [{ type: 'Promotions' }],\n }),\n getProducts: builder.query({\n query: () => ({\n url: 'fishery/products',\n }),\n providesTags: ['Product'],\n }),\n createProduct: builder.mutation({\n query: (data) => ({\n url: `fishery/products`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'Product' }],\n }),\n updateProduct: builder.mutation({\n query: (data) => ({\n url: `fishery/products/update`,\n method: 'put',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'Product' }],\n }),\n deleteProduct: builder.mutation({\n query: (product_id) => ({\n url: `fishery/products/delete`,\n method: 'delete',\n params: { product_id },\n }),\n invalidatesTags: (result, error) => [{ type: 'Product' }],\n }),\n getAccessCodes: builder.query({\n query: () => ({\n url: 'fishery/access_code/settings',\n }),\n providesTags: ['access'],\n }),\n createAccessCode: builder.mutation({\n query: (data) => ({\n url: `fishery/access_code/settings`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'access' }],\n }),\n updateAccessCode: builder.mutation({\n query: (data) => ({\n url: `fishery/access_code/settings`,\n method: 'put',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'access' }],\n }),\n deleteAccessCode: builder.mutation({\n query: (access_code_id) => ({\n url: `fishery/access_code/settings`,\n method: 'delete',\n params: { access_code_id },\n }),\n invalidatesTags: (result, error) => [{ type: 'access' }],\n }),\n getCustomProperty: builder.query({\n query: () => ({\n url: 'fishery/booking/properties',\n }),\n providesTags: ['custom-property'],\n }),\n createCustomProperty: builder.mutation({\n query: (data) => ({\n url: `fishery/booking/properties`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'custom-property' }],\n }),\n updateCustomPropertyOrder: builder.mutation({\n query: (data) => ({\n url: `fishery/booking/properties/update_order`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'custom-property' }],\n }),\n updateCustomProperty: builder.mutation({\n query: (data) => ({\n url: `fishery/booking/properties/update`,\n method: 'put',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'custom-property' }],\n }),\n deletecustomProperty: builder.mutation({\n query: (id) => ({\n url: `fishery/booking/properties/delete`,\n method: 'delete',\n params: { id: id },\n }),\n invalidatesTags: (result, error) => [{ type: 'custom-property' }],\n }),\n getMemberSettings: builder.query({\n query: (fishery_id) => ({\n url: 'fishery/members/settings',\n params: { fishery_id },\n }),\n providesTags: ['member-setting'],\n }),\n updateMemberSettings: builder.mutation({\n query: (data) => ({\n url: `fishery/member/settings`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'member-setting' }],\n }),\n getMembershipForm: builder.query({\n query: (form_type) => ({\n url: 'fishery/membership/form',\n params: { form_type },\n useDefaultErrorHandler: false,\n }),\n providesTags: ['membership-form'],\n }),\n updateMembershipForm: builder.mutation({\n query: (data) => ({\n url: `fishery/membership/form`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [\n { type: 'membership-form' },\n { type: 'members' },\n { type: 'special-members' },\n ],\n }),\n getAllMembershipPlan: builder.query({\n query: (fishery_id) => ({\n url: 'fishery/membership_plans',\n params: { fishery_id },\n useDefaultErrorHandler: false,\n }),\n providesTags: ['membership-plan'],\n }),\n getAllCustomSlots: builder.query({\n query: (fishery_id) => ({\n url: 'booking/fishery/custom_slots',\n params: { fishery_id },\n }),\n providesTags: ['custom-slot-plan'],\n }),\n getMembershipPlan: builder.query({\n query: (plan_id) => ({\n url: 'fishery/membership/plan',\n params: { plan_id },\n }),\n }),\n deleteMembershipPlan: builder.mutation({\n query: (plan_id) => ({\n url: 'fishery/membership/plan',\n params: { plan_id },\n method: 'delete',\n }),\n invalidatesTags: (result, error) => [{ type: 'membership-form' }],\n }),\n updateMembershipPlan: builder.mutation({\n query: (data) => ({\n url: `fishery/membership/plan`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'membership-form' }],\n }),\n updatePlanOrder: builder.mutation({\n query: (data) => ({\n url: `fishery/membership/plan/update_order`,\n method: 'post',\n data,\n }),\n invalidatesTags: (result, error) => [{ type: 'membership-form' }],\n }),\n getSeasonTicketValidation: builder.query({\n query: (args) => ({\n url: `user/has_season_ticket?email=${encodeURIComponent(\n args.email\n )}&lake_id=${args.lake_id}`,\n }),\n providesTags: ['user-season-ticket'],\n }),\n getPrintSettings: builder.query({\n query: () => ({\n url: `fishery/settings/printer`,\n }),\n providesTags: ['PrintSettings'],\n }),\n updatePrintSettings: builder.mutation({\n query: (newSettings) => ({\n url: `fishery/settings/printer`,\n data: newSettings,\n method: 'PUT',\n }),\n invalidatesTags: (result, error) => ['PrintSettings'],\n }),\n getBookingSettings: builder.query({\n query: () => ({\n url: 'fishery/booking/settings',\n }),\n providesTags: ['BookingSettings'],\n }),\n updateBookingSettings: builder.mutation({\n query: (newSettings) => ({\n url: `fishery/booking/settings`,\n data: newSettings,\n method: 'POST',\n }),\n invalidatesTags: (result, error) => ['BookingSettings'],\n }),\n }),\n });\n\nexport const {\n useGetLakesQuery,\n useGetPromotionsQuery,\n useGetAllCustomSlotsQuery,\n useCreatePromotionMutation,\n useUpdatePromotionMutation,\n useDeletePromotionMutation,\n useGetProductsQuery,\n useCreateProductMutation,\n useDeleteProductMutation,\n useUpdateProductMutation,\n useGetMemberSettingsQuery,\n useUpdateMemberSettingsMutation,\n useGetAccessCodesQuery,\n useCreateAccessCodeMutation,\n useDeleteAccessCodeMutation,\n useUpdateAccessCodeMutation,\n useGetSeasonTicketValidationQuery,\n useGetMembershipFormQuery,\n useUpdateMembershipFormMutation,\n useGetAllMembershipPlanQuery,\n useGetMembershipPlanQuery,\n useDeleteMembershipPlanMutation,\n useUpdateMembershipPlanMutation,\n useUpdatePlanOrderMutation,\n useGetPrintSettingsQuery,\n useUpdatePrintSettingsMutation,\n useGetBookingSettingsQuery,\n useUpdateBookingSettingsMutation,\n useGetCustomPropertyQuery,\n useUpdateCustomPropertyMutation,\n useUpdateCustomPropertyOrderMutation,\n useCreateCustomPropertyMutation,\n useDeletecustomPropertyMutation,\n} = extendedApiSlice;\n","import React from 'react';\nimport gfm from 'remark-gfm';\nimport ReactMarkdownWithHtml from 'react-markdown/with-html';\nimport './assets/css/markdown_content.css';\n\nexport default function MarkdownContent(props) {\n return (\n
\n \n
\n );\n}\n"],"names":["extendedApiSlice","apiSlice","addTagTypes","injectEndpoints","endpoints","builder","getAddOns","query","_ref","url","params","fishery_id","fisheryId","package_id","packageId","lake_id","lakeId","providesTags","result","error","type","getCustomProperties","_ref2","bookingType","_ref2$online","online","booking_type","online_booking","getBookingInfo","id","concat","resendBookingConfirmation","mutation","method","data","initiateRefund","invalidatesTags","updateTaxiInformation","editCustomProperties","checkPassword","resendBalanceReminder","useGetAddOnsQuery","useGetBookingInfoQuery","useResendBookingConfirmationMutation","useResendBalanceReminderMutation","useGetCustomPropertiesQuery","useEditCustomPropertiesMutation","useUpdateTaxiInformationMutation","useInitiateRefundMutation","useCheckPasswordMutation","_createGlobalState","createGlobalState","editBookingDetails","loadingCalenderDateAvailability","bookingId","disabledDates","Date","bookingDates","_objectSpread","emptyDatesObject","customSlotData","userSelectedBookingPackage","customPropertyDetails","taxiDetails","taxi_booked","pickup_date","pickup_location","dropoff_date","dropoff_location","availableTime","arrivalTime","isArrivalFixed","isDepartureFixed","departureTime","swimAvailableData","unSelectableSwimIds","lakeInfoList","lakeListInfo","userSelectedLakeName","userSelectedBookingType","userSelectedLakeId","userSelectedLakeInfo","userSelectedTicket","userSelectedSwims","userSelectedDoubleSwim","anglers","estimatedPricing","payableAmount","payment","userInputSwimBookerId","value","loading","userDetails","addedProductItem","productItem","userInputDetails","first_name","last_name","email","no_email","phone_number","profile_image","num_rod","concession","noOfTickets","userInputLabel","guest","userInputName","userSelectedAnglers","userSelectedGuests","notes","registration","selectedArrival","undefined","selectedDeparture","useGlobalState","GlobalStateProvider","addToDateString","strDate","daysAmount","d","setDate","getDate","toISOString","split","SelectSwim","props","_useGlobalState","setUserSelectedGuests","_slicedToArray","_useGlobalState3","_useGlobalState5","_useGlobalState7","_useGlobalState9","_useGlobalState10","setUserSelectedSwims","_useGlobalState11","_useGlobalState12","setUserSelectedDoubleSwim","availableDSwims","double_swims","selectedDates","selected_dates","swim_id","date","index","useEffect","_swimAvailableData$bo","booked_dates","indexOf","handleOnclickEvent","e","isSelectedDates","isUnClickable","swim","local_variable_swim","local_variable_double_swim","length","dsIndex","_toConsumableArray","splice","handleSwimChange","isAdjacentDate","edited_dates","_jsx","Cell","className","children","alt","src","UserRedIcon","width","userSelectedIcon","UserDoubleBlueIcon","UserBlueIcon","UserImage","userDoubleSelect","onClick","defaultRodHours","name","isChecked","exclusiveRodHours","rodHours","rodNos","cRodKeys","rodKeys","availableSwimTypes","maxRod","winterTiming","lakeSpecies","maxAnglers","newSwimTypeForm","editLakeData","editingLake","swimType","swimTypeDetail","swimTypeId","selectedSwimType","selectedSwimSize","doubleCheck","newSwimSize","amPmChecked","lakeName","lakeServiceType","lakeServiceTypeName","lakeUserInput","nonAnglingGuest","customSlot","customSlotType","customSlotDetail","lakeExclusive","lakeExclusiveOnly","limitSimultaneous","lakeDescription","lakeRules","lakeInfo","customInfo","anglersAllowed","chargingType","deposit","depositType","balanceDue","balanceDueType","balanceInAdvance","balanceInAdvanceType","onlineBalancePayments","balanceCancellation","balanceCancellationDue","balanceCancellationDueType","balanceNotification","balanceNotificationDue","balanceNotificationDueType","finalReminderActive","finalReminderDue","emailInfo","concessionChecked","recurringValue","recurringPricing","userPricingInfo","userConcessionPricing","userInputSwims","price","double","newRecurringPricing","lakeMainImage","lakeImages","summary","booking_days","description","angler_allowed","admin_url","process","SampleNextArrow","ArrowRight","SamplePrevArrow","ArrowLeft","withRouter","_useState","useState","_useState2","setLoading","_useGlobalState6","setSummary","setLakeMainImage","setLakeImages","setRodHours","_useGlobalState13","setSwimTypeId","_useGlobalState15","setLakeUserInput","_useGlobalState17","setMaxRod","_useGlobalState19","setLimitSimultaneous","_useGlobalState21","setNonAnglingGuest","_useGlobalState23","setUserConcessionPricing","_useGlobalState25","setUserPricingInfo","_useGlobalState27","setRecurringValue","_useGlobalState29","setRecurringPricing","_useGlobalState31","setNewRecurringPricing","_useGlobalState33","setSwimTypeDetail","_useGlobalState35","Setchecked","_useGlobalState37","setselectedSwimType","_useGlobalState39","setselectedSwimSize","_useGlobalState41","setIsChecked","settings","infinite","slidesToShow","slidesToScroll","nextArrow","prevArrow","responsive","breakpoint","_window2","config","headers","withCredentials","crossDomain","baseURL","sameSite","secure","axios","then","res","status","console","log","lake_main_image","lake_secondary_images","catch","err","response","history","push","getSummary","notification","message","style","border","placement","window","innerWidth","Row","align","justify","_jsxs","Col","span","xs","md","xl","lake_name","service_type","lake_type","access_type","total_swims","max_sim_booking","swim_types","map","s","i","max_rod_per_angler","species","MarkdownContent","content","rules","sm","Slider","images","Link","to","_window","Spin","getLakes","getPromotions","createPromotion","updatePromotion","deletePromotion","getProducts","createProduct","updateProduct","deleteProduct","product_id","getAccessCodes","createAccessCode","updateAccessCode","deleteAccessCode","access_code_id","getCustomProperty","createCustomProperty","updateCustomPropertyOrder","updateCustomProperty","deletecustomProperty","getMemberSettings","updateMemberSettings","getMembershipForm","form_type","useDefaultErrorHandler","updateMembershipForm","getAllMembershipPlan","getAllCustomSlots","getMembershipPlan","plan_id","deleteMembershipPlan","updateMembershipPlan","updatePlanOrder","getSeasonTicketValidation","args","encodeURIComponent","getPrintSettings","updatePrintSettings","newSettings","getBookingSettings","updateBookingSettings","useGetLakesQuery","useGetPromotionsQuery","useGetAllCustomSlotsQuery","useCreatePromotionMutation","useUpdatePromotionMutation","useDeletePromotionMutation","useGetProductsQuery","useCreateProductMutation","useDeleteProductMutation","useUpdateProductMutation","useGetMemberSettingsQuery","useUpdateMemberSettingsMutation","useGetAccessCodesQuery","useCreateAccessCodeMutation","useDeleteAccessCodeMutation","useUpdateAccessCodeMutation","useGetSeasonTicketValidationQuery","useGetMembershipFormQuery","useUpdateMembershipFormMutation","useDeleteMembershipPlanMutation","useGetAllMembershipPlanQuery","useGetMembershipPlanQuery","useUpdateMembershipPlanMutation","useUpdatePlanOrderMutation","useGetPrintSettingsQuery","useUpdatePrintSettingsMutation","useGetBookingSettingsQuery","useUpdateBookingSettingsMutation","useGetCustomPropertyQuery","useUpdateCustomPropertyMutation","useUpdateCustomPropertyOrderMutation","useCreateCustomPropertyMutation","useDeletecustomPropertyMutation","ReactMarkdownWithHtml","plugins","gfm"],"sourceRoot":""}