{"version":3,"file":"index.CpwYa9jz.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/inputs/themes/styles/universalMusic.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/inputs/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/inputs/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/hooks/useFormatDate.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/utils/minTime.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/hooks/useCalendarMobileModal.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/hooks/useCalendarMobileTimeModal.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/themes/styles/universalMusic.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/components/modal/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/calendar/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/autocomplete/views/mobile/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/autocomplete/views/mobile/themes/styles/universalMusic.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/autocomplete/views/mobile/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/autocomplete/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/autocomplete/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/autocomplete/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/inputs/autocomplete-modal/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/components/person-counter-select/views/mobile/themes/styles/universalMusic.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/components/person-counter-select/views/mobile/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/components/person-counter-select/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/components/person-counter-select/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/views/mobile/themes/styles/universalMusic.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/views/mobile/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-forms/components/others/person-counter/views/mobile/index.js"],"sourcesContent":["import { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst universalMusicStyles = {\n Inputs: ()=>/*#__PURE__*/ css([\n `> *{`,\n `{&:first-child{input{border:1px solid `,\n `;`,\n ` border-right:unset;}}&:last-child{input{border:1px solid `,\n `;`,\n `}}}}`\n ], ({ theme })=>theme.media.phone.only, ({ theme })=>theme.colors.grays.light, BorderRadius({\n topLeft: '4px',\n bottomLeft: '4px'\n }), ({ theme })=>theme.colors.grays.light, BorderRadius({\n topRight: '4px',\n bottomRight: '4px'\n }))\n};\n\nexport { universalMusicStyles as default };\n//# sourceMappingURL=universalMusic.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport universalMusicStyles from './styles/universalMusic.js';\n\nconst universalMusicThemes = createThemes({\n partnershipsUniversalMusic: universalMusicStyles\n});\n\nexport { universalMusicThemes as default };\n//# sourceMappingURL=index.js.map\n","import { FlexMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport universalMusicThemes from './themes/index.js';\n\nconst Inputs = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Inputs\"\n})([\n `width:100%;`,\n ` position:relative;> div{border-right:1px solid `,\n `;width:50%;&:first-child{input{`,\n `}}&:last-child{border-right:none;input{`,\n `}}&:not(:last-child):not(:first-child){input{`,\n `}}}`,\n ``\n], FlexMixin(), ({ theme })=>theme.colors.grays.light, BorderRadius({\n topRight: '0',\n bottomRight: '0'\n}), BorderRadius({\n topLeft: '0',\n bottomLeft: '0'\n}), BorderRadius({\n all: '0'\n}), universalMusicThemes('Inputs'));\n\nexport { Inputs };\n//# sourceMappingURL=styled.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { useContext, useState, useEffect } from 'react';\nimport { calendarFormatData } from '../helpers/index.js';\n\nconst useFormatInputDate = (date, enableTime = false)=>{\n const { Language } = useContext(contextBabylon);\n const [inputValue, setInputValue] = useState(date ? ' ' : '');\n useEffect(()=>{\n if (date) {\n calendarFormatData(date, enableTime ? 'ddd DD MMM YYYY HH:mm' : 'ddd DD MMM YYYY', Language).then((formatedDate)=>{\n setInputValue(formatedDate);\n }).catch(console.error);\n }\n }, [\n Language,\n date,\n enableTime\n ]);\n return inputValue;\n};\n\nexport { useFormatInputDate as default };\n//# sourceMappingURL=useFormatDate.js.map\n","import { getHours, getMinutes } from '@babylon/ui-kit-helpers/date';\n\nconst getHoursAndMinutesFromString = (time, currentDate, enableTime, minOrMax)=>{\n const [hours, minutes] = time.split(':');\n let finalHours = parseInt(hours);\n let finalMinutes = parseInt(minutes);\n if (enableTime) {\n if (minOrMax === 'min') {\n finalHours = Math.min(getHours(currentDate), parseInt(hours));\n finalMinutes = Math.min(getMinutes(currentDate), parseInt(minutes));\n } else if (minOrMax === 'max') {\n finalHours = Math.max(getHours(currentDate), parseInt(hours));\n finalMinutes = Math.max(getMinutes(currentDate), parseInt(minutes));\n }\n }\n return {\n hours: finalHours,\n minutes: finalMinutes\n };\n};\n\nexport { getHoursAndMinutesFromString };\n//# sourceMappingURL=minTime.js.map\n","import { formatDateWithoutLocale } from '@babylon/ui-kit-helpers/date';\nimport { useRef, useMemo, useCallback } from 'react';\nimport { getHoursAndMinutesFromString } from '../utils/minTime.js';\n\nconst useCalendarMobileModal = (props)=>{\n const { visible, confirm, onChange: propsOnChange, minTime = '00:00', maxTime = '23:59', mode = 'single', enableTime = false, minDate, value } = props;\n const containerRef = useRef(null);\n const finalMinDate = useMemo(()=>{\n if (!minDate) return undefined;\n if (minDate === 'today') return new Date();\n if (minDate instanceof Date) return minDate;\n return new Date(minDate);\n }, [\n minDate\n ]);\n const updateWeekdaysPosition = useCallback(()=>{\n if (!containerRef.current) return;\n const wrapper = containerRef.current.querySelector('.flatpickr-wrapper');\n const weekdays = containerRef.current.querySelector('.flatpickr-weekdays');\n if (!wrapper || !weekdays) return;\n const wrapperTop = wrapper.offsetTop;\n weekdays.style.top = `${wrapperTop}px`;\n }, []);\n const updateMonthsPosition = useCallback((self)=>{\n if (!containerRef.current) return;\n const currDate = finalMinDate ?? new Date();\n self.changeMonth(currDate.getMonth(), false);\n self.changeYear(currDate.getFullYear());\n const months = containerRef.current.querySelectorAll('.flatpickr-month');\n const dayContainers = containerRef.current.querySelectorAll('.dayContainer');\n const days = containerRef.current.querySelector('.flatpickr-days');\n if (!days) return;\n const daysTop = days.offsetTop;\n for(let i = 0, length = months.length; i < length; i++){\n const month = months[i];\n const dayContainer = dayContainers[i];\n if (!month || !dayContainer) continue;\n const dayContainerTop = dayContainer.offsetTop;\n const monthHeight = month.offsetHeight;\n month.style.top = `${daysTop + dayContainerTop - monthHeight}px`;\n }\n }, [\n finalMinDate\n ]);\n const updateScrollPosition = useCallback((self)=>{\n if (!containerRef.current) return;\n const selectedDate = self.selectedDates[0];\n if (!selectedDate) return;\n const selectedMonth = selectedDate.getMonth();\n const selectedYear = selectedDate.getFullYear();\n const offsetYears = selectedYear - self.currentYear;\n const offsetYearsIndex = offsetYears * 12;\n const targetMonthIndex = selectedMonth - self.currentMonth + offsetYearsIndex;\n const months = containerRef.current.querySelectorAll('.flatpickr-month');\n const month = months[targetMonthIndex];\n const monthTop = parseInt(month.style.top.replace('px', ''));\n const weekdays = containerRef.current.querySelector('.flatpickr-weekdays');\n const weekdaysHeight = weekdays?.offsetHeight ?? 0;\n containerRef.current.scroll?.({\n top: monthTop - weekdaysHeight,\n behavior: 'smooth'\n });\n }, []);\n const onReady = useCallback((_dates, _currentDateString, self)=>{\n requestAnimationFrame(()=>{\n if (visible) {\n updateMonthsPosition(self);\n updateWeekdaysPosition();\n updateScrollPosition(self);\n }\n });\n }, [\n updateMonthsPosition,\n updateScrollPosition,\n updateWeekdaysPosition,\n visible\n ]);\n const onChange = useCallback((dates)=>{\n const finalDates = [\n ...dates\n ];\n for (const [index, date] of dates.entries()){\n const dateTime = formatDateWithoutLocale(date, 'HH:mm');\n if (dateTime <= minTime) {\n const { hours, minutes } = getHoursAndMinutesFromString(minTime, value[index], enableTime, 'max');\n finalDates[index] = new Date(date.getFullYear(), date.getMonth(), date.getDate(), hours, minutes);\n } else if (dateTime >= maxTime) {\n const { hours, minutes } = getHoursAndMinutesFromString(maxTime, value[index], enableTime, 'min');\n finalDates[index] = new Date(date.getFullYear(), date.getMonth(), date.getDate(), hours, minutes);\n }\n }\n propsOnChange?.(finalDates);\n if (mode === 'single' && !enableTime) {\n confirm();\n }\n }, [\n confirm,\n enableTime,\n maxTime,\n minTime,\n mode,\n propsOnChange,\n value\n ]);\n return {\n containerRef,\n onReady,\n onChange\n };\n};\n\nexport { useCalendarMobileModal as default };\n//# sourceMappingURL=useCalendarMobileModal.js.map\n","import contextBabylon from '@babylon/ui-kit-context';\nimport { formatDate, setHours, setMinutes } from '@babylon/ui-kit-helpers/date';\nimport cloneDeep from 'clone-deep';\nimport { useContext, useRef, useState, useEffect, useMemo, useCallback } from 'react';\nimport { useBoolean } from 'usehooks-ts';\n\nconst useCalendarMobileTimeModal = (props)=>{\n const { value, onChange, enableTime = false, mode, minTime = '00:00', maxTime = '23:59', visible = false } = props;\n const { Language } = useContext(contextBabylon);\n const { value: isTimeVisible, setTrue: showTime, setFalse: hideTime } = useBoolean(false);\n const lastValue = useRef(value);\n const [selectedDateIndex, setSelectedDateIndex] = useState(value.length - 1);\n useEffect(()=>{\n if (!enableTime) return;\n if (lastValue.current !== value) {\n if (lastValue.current[0]?.valueOf() !== value[0]?.valueOf()) {\n setSelectedDateIndex(0);\n } else if (value?.length > 1 && lastValue.current[1]?.valueOf() !== value[1]?.valueOf()) {\n setSelectedDateIndex(1);\n }\n lastValue.current = value;\n if (visible) showTime();\n }\n }, [\n enableTime,\n showTime,\n value,\n visible\n ]);\n const [timeString, setTimeString] = useState('');\n useEffect(()=>{\n if (!enableTime) return;\n formatDate(value[selectedDateIndex], 'ddd D MMM YYYY - HH:mm[h]', Language).then(setTimeString).catch(console.error);\n }, [\n Language,\n enableTime,\n selectedDateIndex,\n value\n ]);\n useEffect(()=>{\n if (!enableTime) return;\n if (!isTimeVisible) setTimeString('');\n }, [\n enableTime,\n isTimeVisible\n ]);\n const times = useMemo(()=>{\n let times = [];\n for(let i = 0; i < 24; i++){\n const hours = String(i).padStart(2, '0');\n const oClock = `${hours}:00`;\n const halfPast = `${hours}:30`;\n if (oClock >= minTime && oClock <= maxTime) {\n times.push({\n label: oClock,\n value: oClock\n });\n }\n if (halfPast >= minTime && halfPast <= maxTime) {\n times.push({\n label: halfPast,\n value: halfPast\n });\n }\n }\n return times;\n }, [\n maxTime,\n minTime\n ]);\n const timeValue = useMemo(()=>{\n const date = value[selectedDateIndex] || value[0];\n if (!date) return times[0];\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const roundedMinutes = Math.round(minutes / 30);\n const finalMinutes = roundedMinutes === 2 || roundedMinutes === 0 ? '00' : '30';\n let finalHours = String(roundedMinutes === 2 ? hours + 1 : hours);\n if (finalHours === '24') {\n finalHours = '00';\n }\n const finalTime = `${finalHours.padStart(2, '0')}:${finalMinutes.padStart(2, '0')}`;\n return times.find((time)=>time.value === finalTime);\n }, [\n selectedDateIndex,\n times,\n value\n ]);\n const handleOnTimeChange = useCallback((newValue)=>{\n if (Array.isArray(newValue)) return;\n const typedNewValue = newValue;\n if (typeof typedNewValue?.value !== 'string' || !onChange) return;\n const [hours, minutes] = typedNewValue.value.split(':');\n const newDates = cloneDeep(value);\n newDates[selectedDateIndex] = setHours(newDates[selectedDateIndex], Number(hours));\n newDates[selectedDateIndex] = setMinutes(newDates[selectedDateIndex], Number(minutes));\n onChange(newDates);\n }, [\n onChange,\n selectedDateIndex,\n value\n ]);\n const onConfirm = useCallback((hide)=>()=>{\n if (mode === 'single') hide();\n if (mode === 'range' && value.length === 2) hide();\n hideTime();\n }, [\n hideTime,\n mode,\n value.length\n ]);\n return {\n times,\n timeString,\n timeValue,\n handleOnTimeChange,\n isTimeVisible,\n showTime,\n hideTime,\n onConfirm\n };\n};\n\nexport { useCalendarMobileTimeModal as default };\n//# sourceMappingURL=useCalendarMobileTimeModal.js.map\n","import { ModalHeader, ModalHeaderText, ModalFooter } from '@babylon/ui-kit-structures/components/others/modal/styled';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Padding, Border, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolMobileCalendarStyles = {\n FlatpickrCalendarWrapper: ()=>/*#__PURE__*/ css([\n `.flatpickr-wrapper{.flatpickr-calendar{.flatpickr-months .flatpickr-month .flatpickr-current-month{.cur-month{`,\n `}.numInputWrapper{.cur-year{`,\n ` position:relative;top:-1px;}}}.flatpickr-innerContainer{.flatpickr-rContainer{.flatpickr-weekdays{height:39px;.flatpickr-weekdaycontainer{.flatpickr-weekday{text-transform:capitalize;}}}.flatpickr-days{`,\n ` .dayContainer{.flatpickr-day{height:44px;border:none;box-shadow:none !important;&:hover{background:`,\n `;border-color:`,\n `;}&.today{border-color:`,\n `;border-style:dashed;border-width:1px;color:`,\n `;}&.startRange,&.endRange,&.selected{color:`,\n `;background:`,\n `;border-color:`,\n `;&:hover{background:`,\n `;border-color:`,\n `;}}&.inRange{background:`,\n `;border-color:`,\n `;color:`,\n `;}}}}}}&::after{display:none;}}}.flatpickr-wrapper{.flatpickr-calendar{.flatpickr-innerContainer{.flatpickr-rContainer{.flatpickr-weekdays{`,\n `;`,\n `}}}}}`\n ], FontMixin({\n weight: 'semiBold',\n size: 'medium'\n }), FontMixin({\n weight: 'semiBold',\n size: 'medium'\n }), Padding({\n all: '12px'\n }), ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.secondary.lighter, ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.green?.lightest, ({ theme })=>theme.colors.secondary.base, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>Border({\n bottom: `1px solid ${theme.colors.grays.lighter}`\n }), Padding({\n y: '12px'\n })),\n TimeValue: ()=>/*#__PURE__*/ css([\n ``,\n `;background-color:`,\n `;`,\n ` color:`,\n `;`\n ], ({ theme })=>Border({\n bottom: `1px solid ${theme.colors.grays.lighter}`\n }), ({ theme })=>theme.colors.status.success, FontMixin({\n size: 'medium',\n height: 'base'\n }), ({ theme })=>theme.colors.grays.darker),\n Modal: ()=>/*#__PURE__*/ css([\n ``,\n `{background-color:`,\n `;`,\n `{text-align:center;font-weight:600;}}`\n ], ModalHeader, ({ theme })=>theme.colors.secondary.base, ModalHeaderText),\n ModalTimeWrapper: ()=>/*#__PURE__*/ css([\n ``,\n `{& > div{`,\n `}}`,\n `{box-shadow:0px -1px 8px 0px #0000001f;}`\n ], ModalHeader, Margin({\n left: 'unset'\n }), ModalFooter)\n};\n\nexport { liverpoolMobileCalendarStyles as default };\n//# sourceMappingURL=liverpool.js.map\n","import { ModalHeader, ModalHeaderText, ModalFooter } from '@babylon/ui-kit-structures/components/others/modal/styled';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst universalMusicMobileCalendarStyles = {\n FlatpickrCalendarWrapper: ()=>/*#__PURE__*/ css([\n `.flatpickr-wrapper{.flatpickr-calendar{.flatpickr-months .flatpickr-month .flatpickr-current-month{.cur-month{`,\n `}.numInputWrapper{.cur-year{`,\n `}}}.flatpickr-innerContainer{.flatpickr-rContainer{.flatpickr-days{.dayContainer{.flatpickr-day{border:none;box-shadow:none !important;&:hover{background:`,\n `;border-color:`,\n `;}&.today{border:1px solid `,\n `;color:`,\n `;}&.startRange,&.endRange,&.selected{color:`,\n `;background:`,\n `;border-color:`,\n `;&:hover{background:`,\n `;border-color:`,\n `;}}&.inRange{background-color:`,\n `;border-color:`,\n `;color:`,\n `;}}}}}}&::after{display:none;}.flatpickr-day.is-event{color:`,\n `;text-decoration-line:underline;text-decoration-thickness:2px;border:0px;}.flatpickr-day.inRange.is-event{color:`,\n ` !important;text-decoration-color:`,\n `;}.flatpickr-day.endRange.is-event{color:`,\n `;text-decoration-color:`,\n `;}}}`\n ], FontMixin({\n weight: 'semiBold',\n size: 'large'\n }), FontMixin({\n size: 'large'\n }), ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.status.success, ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.grays.lighter, ({ theme })=>theme.colors.secondary.base, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.status.error, ({ theme })=>theme.colors.status.error, ({ theme })=>theme.colors.status.error, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.white.base),\n Modal: ()=>/*#__PURE__*/ css([\n ``,\n `{background-color:`,\n `;`,\n `{color:`,\n `;text-align:start;}}`,\n `{button{color:`,\n `;background-color:`,\n `;}}`\n ], ModalHeader, ({ theme })=>theme.colors.primary.base, ModalHeaderText, ({ theme })=>theme.colors.white.base, ModalFooter, ({ theme })=>theme.colors.primary.base, ({ theme })=>theme.colors.status.success)\n};\n\nexport { universalMusicMobileCalendarStyles as default };\n//# sourceMappingURL=universalMusic.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport liverpoolMobileCalendarStyles from './styles/liverpool.js';\nimport universalMusicMobileCalendarStyles from './styles/universalMusic.js';\n\nconst calendarMobileThemes = createThemes({\n partnershipsLiverpool: liverpoolMobileCalendarStyles,\n partnershipsUniversalMusic: universalMusicMobileCalendarStyles\n});\n\nexport { calendarMobileThemes as default };\n//# sourceMappingURL=index.js.map\n","import Modal from '@babylon/ui-kit-structures/components/others/modal';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport calendarMobileThemes from './themes/index.js';\n\nconst FlatpickrCalendarWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"FlatpickrCalendarWrapper\"\n})([\n ``,\n ` min-height:100%;.flatpickr-wrapper{display:block;position:relative;.flatpickr-calendar{border-radius:0;filter:none;max-height:unset;width:100% !important;padding:0;margin:0;.flatpickr-months{`,\n ` .flatpickr-month{position:absolute;width:100%;z-index:`,\n `;`,\n ` .flatpickr-current-month{position:relative;left:0;width:auto;text-align:center;`,\n ` padding:0;.cur-month{`,\n ` margin:0;}.numInputWrapper{pointer-events:none;.cur-year{`,\n ` line-height:1;}}}}.flatpickr-next-month,.flatpickr-prev-month{display:none;}}.flatpickr-innerContainer{padding-top:72px;.flatpickr-rContainer{display:block;width:100%;.flatpickr-weekdays{background-color:`,\n `;border-bottom:1px solid `,\n `;height:46px;position:fixed;top:0;width:100%;z-index:`,\n `;`,\n ` .flatpickr-weekdaycontainer{display:none;&:first-of-type{`,\n ` `,\n `}.flatpickr-weekday{text-transform:uppercase;}}}.flatpickr-days{`,\n ` width:100%!important;`,\n ` .dayContainer{margin-bottom:52px;`,\n ` width:100%;min-width:initial;max-width:initial;padding:0;.flatpickr-day{border-radius:8px;max-width:initial;`,\n ` height:40px;border:none;box-shadow:none !important;&:hover{background:`,\n `;border-color:`,\n `;}&.today{color:`,\n `;}&.startRange,&.endRange,&.selected{color:`,\n `;background:`,\n `;border-color:`,\n `;&:hover{background:`,\n `;border-color:`,\n `;}}&.startRange{border-radius:8px 0 0 8px;}&.endRange{border-radius:0 8px 8px 0;}&.inRange{background:`,\n `;border-color:`,\n `;color:`,\n `;border-radius:0;}}}}}}.flatpickr-day-footer{position:sticky;bottom:0;background-color:`,\n `;padding:16px;z-index:`,\n `;.flatpickr-day-footer-literal{`,\n `}}&::after{display:none;}}}`,\n ``\n], FlexMixin({\n direction: 'column'\n}), FlexMixin({\n direction: 'column',\n justify: 'flex-start'\n}), ({ theme })=>theme.zIndex.lowest, FlexMixin({\n justify: 'center',\n align: 'center'\n}), FlexMixin({\n justify: 'center',\n align: 'center'\n}), FontMixin({\n weight: 'regular'\n}), FontMixin({\n size: 'base',\n weight: 'regular'\n}), ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.zIndex.lowest, Padding({\n x: '8px',\n y: '0px'\n}), FlexMixin({\n justify: 'flex-start'\n}), Padding({\n right: '0px'\n}), FlexMixin({\n direction: 'column'\n}), Padding({\n all: '8px'\n}), FlexMixin({\n justify: 'space-between'\n}), FontMixin({\n size: 'base'\n}), ({ theme })=>theme.colors.primary.lightest, ({ theme })=>theme.colors.primary.lightest, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.primary.lightest, ({ theme })=>theme.colors.primary.lightest, ({ theme })=>theme.colors.primary.lighter, ({ theme })=>theme.colors.white.base, ({ theme })=>theme.zIndex.lowest, FontMixin({\n size: 'medium',\n height: 'medium'\n}), calendarMobileThemes('FlatpickrCalendarWrapper'));\nconst TimeValue = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TimeValue\"\n})([\n ``,\n ` padding:16px;border-bottom:2px solid `,\n `;span{`,\n `}`,\n ``\n], FontMixin({\n size: 'base',\n height: 'base',\n weight: 'light'\n}), ({ theme })=>theme.colors.primary.lighter, FontMixin({\n weight: 'regular'\n}), calendarMobileThemes('TimeValue'));\nconst ModalWrapper = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"ModalWrapper\"\n})([\n ``,\n ``\n], calendarMobileThemes('Modal'));\nconst ModalTimeWrapper = /*#__PURE__*/ styled(Modal).withConfig({\n displayName: \"ModalTimeWrapper\"\n})([\n ``,\n ``\n], calendarMobileThemes('ModalTimeWrapper'));\n\nexport { FlatpickrCalendarWrapper, ModalTimeWrapper, ModalWrapper, TimeValue };\n//# sourceMappingURL=styled.js.map\n","import { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport { ButtonPanel } from '@babylon/ui-kit-base/components/buttons/button';\nimport SelectMobile from '../../../../../select/views/mobile/index.js';\nimport FlatpickrCalendar from '../../../../../../lib/flatpickr-calendar/index.js';\nimport { differenceInMonths } from '@babylon/ui-kit-helpers/date';\nimport Skeleton from '@babylon/ui-kit-structures/components/others/skeleton';\nimport { useMemo, useCallback } from 'react';\nimport { useTheme } from 'styled-components';\nimport useCalendartDates from '../../../../hooks/useCalendarDates.js';\nimport useCalendarMobileModal from './hooks/useCalendarMobileModal.js';\nimport useCalendarMobileTimeModal from './hooks/useCalendarMobileTimeModal.js';\nimport { ModalWrapper, FlatpickrCalendarWrapper, ModalTimeWrapper, TimeValue } from './styled.js';\n\nconst CalendarMobileModal = (props)=>{\n const { value = [\n new Date()\n ], onBlur, locale, mode = 'single', minDate = 'today', maxDate, showMonths = 12, disabledDates = [], enableTime = false, monthSelectorType = 'static', minuteIncrement = 30, noCalendar = false, disableMobile = true, time24h = true, minTime = '00:00', maxTime = '23:59', visible = false, confirm, cancel, modalTitle = '', timeModalTitle = '', selectionLabel = '', modalConfirm, events, releaseDays, eventDay, modalColor = 'primary', modalVariant = 'fullScreen', modalIconRight, datePickerRef } = props;\n const theme = /*#__PURE__*/ useTheme();\n const { containerRef, onReady, onChange } = useCalendarMobileModal(props);\n const { times, timeString, timeValue, handleOnTimeChange, isTimeVisible, hideTime, onConfirm } = useCalendarMobileTimeModal(props);\n const { finalEnableDates, firstDayEnabled } = useCalendartDates(props);\n const calendarOptions = useMemo(()=>({\n altInputClass: '',\n wrap: false,\n disable: disabledDates,\n defaultDate: value,\n defaultMinute: 0,\n time_24hr: time24h,\n minDate: firstDayEnabled,\n mode,\n showMonths: minDate !== 'today' && minDate && maxDate ? differenceInMonths(maxDate, minDate) + 2 : showMonths,\n disableMobile,\n monthSelectorType,\n noCalendar,\n minuteIncrement,\n minTime,\n maxTime,\n inline: true,\n static: true\n }), [\n disableMobile,\n disabledDates,\n firstDayEnabled,\n maxDate,\n maxTime,\n minDate,\n minTime,\n minuteIncrement,\n mode,\n monthSelectorType,\n noCalendar,\n showMonths,\n time24h,\n value\n ]);\n const renderInput = useCallback((_props, ref)=>/*#__PURE__*/ jsx(\"div\", {\n ref: ref\n }), []);\n const confirmModal = ()=>{\n confirm();\n onBlur?.();\n };\n const cancelModal = ()=>{\n cancel();\n onBlur?.();\n };\n const CalendarMobileModalSkeleton = useCallback(()=>/*#__PURE__*/ jsx(Skeleton, {\n style: {\n flex: '1 1 auto'\n }\n }), []);\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(ModalWrapper, {\n \"data-testid\": \"CalendarMobileModal\",\n visible: visible,\n hide: cancelModal,\n header: modalTitle,\n contentRef: containerRef,\n iconRight: modalIconRight,\n content: visible && /*#__PURE__*/ jsx(FlatpickrCalendarWrapper, {\n children: /*#__PURE__*/ jsx(FlatpickrCalendar, {\n id: \"calendar-id\",\n locale: locale,\n render: renderInput,\n value: value,\n options: calendarOptions,\n onReady: onReady,\n onChange: onChange,\n enableDates: finalEnableDates,\n events: events,\n releaseDays: releaseDays,\n SkeletonComponent: CalendarMobileModalSkeleton,\n eventDay: eventDay,\n ref: datePickerRef\n })\n }),\n variant: modalVariant,\n color: modalColor,\n footer: !enableTime && mode === 'range' && value.length === 2 && /*#__PURE__*/ jsx(ButtonPanel, {\n onClick: confirmModal,\n children: modalConfirm\n }),\n closeOnClickOut: true\n }),\n enableTime && /*#__PURE__*/ jsx(ModalTimeWrapper, {\n \"data-testid\": \"CalendarMobileTimeModal\",\n visible: isTimeVisible,\n hide: hideTime,\n variant: modalVariant,\n color: modalColor,\n iconLeft: \"angle-left\",\n iconRight: \"\",\n header: timeModalTitle || modalTitle,\n content: /*#__PURE__*/ jsxs(\"div\", {\n children: [\n /*#__PURE__*/ jsxs(TimeValue, {\n children: [\n selectionLabel,\n \" \",\n /*#__PURE__*/ jsx(\"span\", {\n children: timeString\n })\n ]\n }),\n /*#__PURE__*/ jsx(SelectMobile, {\n value: timeValue,\n onChange: handleOnTimeChange,\n options: times,\n enableSearch: false,\n variant: \"without-modal\",\n menuVariant: \"floating\"\n })\n ]\n }),\n footer: /*#__PURE__*/ jsx(ButtonPanel, {\n onClick: onConfirm(confirmModal),\n children: modalConfirm\n }),\n closeOnClickOut: true,\n zIndex: theme.zIndex.higher + 1\n })\n ]\n });\n};\n\nexport { CalendarMobileModal as default };\n//# sourceMappingURL=index.js.map\n","import { InputWrapper } from '../../../input/styled.js';\nimport styled from 'styled-components';\n\nconst CalendarMobileInputWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CalendarMobileInputWrapper\"\n})([\n `cursor:pointer;width:100%;&.calendar-range-input{width:50%;}`,\n `{pointer-events:none;}`\n], InputWrapper);\n\nexport { CalendarMobileInputWrapper };\n//# sourceMappingURL=styled.js.map\n","import { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport Input from '../../../input/index.js';\nimport { Inputs } from '../../../../others/inputs/styled.js';\nimport isEqual from '@babylon/ui-kit-helpers/is-equal';\nimport { nullFunction } from '@babylon/ui-kit-helpers/null';\nimport { forwardRef, useState } from 'react';\nimport { useBoolean } from 'usehooks-ts';\nimport useFormCalendar from '../../hooks/useFormCalendar.js';\nimport useFormatInputDate from '../../hooks/useFormatDate.js';\nimport CalendarMobileModal from './components/modal/index.js';\nimport { CalendarMobileInputWrapper } from './styled.js';\n\nconst CalendarMobileSingle = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { value, label, disabled = false, error, hasError, onClick, onBlur, onFocus, isVisible = false, enableTime = false, icon } = props;\n const inputValue = useFormatInputDate(value[0], enableTime);\n return /*#__PURE__*/ jsx(CalendarMobileInputWrapper, {\n \"data-testid\": \"CalendarMobileInputWrapper\",\n onClick: onClick,\n children: /*#__PURE__*/ jsx(Input, {\n type: \"button\",\n label: label,\n value: inputValue,\n onChange: nullFunction,\n disabled: disabled,\n error: error,\n hasError: hasError,\n ref: ref,\n onFocus: onFocus,\n onBlur: onBlur,\n isFocused: isVisible,\n icon: icon\n })\n });\n});\nCalendarMobileSingle.displayName = 'CalendarMobileSingle';\nconst CalendarMobileRange = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { value = [\n new Date(),\n new Date()\n ], startDateLabel, endDateLabel, disabled = false, enableTime = false, error, hasError, onClick, onBlur, onFocus, isVisible = false, icon, inputVariant = 'split' } = props;\n const startInputValue = useFormatInputDate(value[0], enableTime);\n const endInputValue = useFormatInputDate(value[1], enableTime);\n if (inputVariant === 'default') {\n let inputValue = startInputValue;\n if (endInputValue && endInputValue !== ' ') {\n inputValue += ` → ${endInputValue}`;\n }\n return /*#__PURE__*/ jsx(CalendarMobileInputWrapper, {\n \"data-testid\": \"CalendarMobileInputWrapper\",\n onClick: onClick,\n children: /*#__PURE__*/ jsx(Input, {\n type: \"button\",\n label: startDateLabel,\n value: inputValue,\n onChange: nullFunction,\n disabled: disabled,\n error: error,\n hasError: hasError,\n onBlur: onBlur,\n isFocused: isVisible,\n icon: icon,\n ref: ref,\n onFocus: onFocus\n })\n });\n }\n return /*#__PURE__*/ jsxs(Inputs, {\n children: [\n /*#__PURE__*/ jsx(CalendarMobileInputWrapper, {\n \"data-testid\": \"CalendarMobileInputWrapper\",\n onClick: onClick,\n className: \"calendar-range-input\",\n children: /*#__PURE__*/ jsx(Input, {\n type: \"button\",\n label: startDateLabel,\n value: startInputValue,\n onChange: nullFunction,\n disabled: disabled,\n error: error,\n hasError: hasError,\n ref: ref,\n onFocus: onFocus,\n onBlur: onBlur,\n isFocused: isVisible\n })\n }),\n /*#__PURE__*/ jsx(CalendarMobileInputWrapper, {\n onClick: onClick,\n className: \"calendar-range-input\",\n children: /*#__PURE__*/ jsx(Input, {\n type: \"button\",\n label: endDateLabel,\n value: endInputValue,\n onChange: nullFunction,\n disabled: disabled,\n hasError: hasError,\n onBlur: onBlur\n })\n })\n ]\n });\n});\nCalendarMobileRange.displayName = 'CalendarMobileRange';\nconst CalendarMobile = /*#__PURE__*/ forwardRef((props, ref)=>{\n const isSingle = props.mode === 'single';\n const { className = '', ...calendarProps } = props;\n const [tempValue, setTempValue] = useState(props.value);\n const { value: isVisible, toggle: toggleVisibility } = useBoolean();\n const showModal = ()=>{\n if (props.disabled) return;\n setTempValue(props.value);\n toggleVisibility();\n };\n const cancel = ()=>{\n if (!isEqual(tempValue, props.value)) {\n props.onChange?.(tempValue);\n }\n toggleVisibility();\n };\n return /*#__PURE__*/ jsxs(Fragment, {\n children: [\n /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"Calendar\",\n className: className,\n children: isSingle ? /*#__PURE__*/ jsx(CalendarMobileSingle, {\n ...props,\n onClick: showModal,\n onFocus: showModal,\n ref: props.inputRef,\n isVisible: isVisible\n }) : /*#__PURE__*/ jsx(CalendarMobileRange, {\n ...props,\n onClick: showModal,\n onFocus: showModal,\n ref: props.inputRef,\n isVisible: isVisible\n })\n }),\n /*#__PURE__*/ jsx(CalendarMobileModal, {\n visible: isVisible,\n confirm: toggleVisibility,\n cancel: cancel,\n datePickerRef: ref,\n ...calendarProps\n })\n ]\n });\n});\nCalendarMobile.displayName = 'CalendarMobile';\nconst FormCalendarMobile = (props)=>{\n const finalProps = useFormCalendar(props);\n return /*#__PURE__*/ jsx(CalendarMobile, {\n ...finalProps\n });\n};\n\nexport { FormCalendarMobile, CalendarMobile as default };\n//# sourceMappingURL=index.js.map\n","import { Border, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst liverPoolAutocompleteMobileStyles = {\n HeaderSuggestionMobile: ()=>/*#__PURE__*/ css([\n ``,\n `;background-color:`,\n `;`\n ], ({ theme })=>Border({\n x: 'unset',\n top: 'unset',\n bottom: `1px solid ${theme.colors.grays.lighter}`\n }), ({ theme })=>theme.colors.grays.lightestL),\n LabelSuggestionMobile: ()=>/*#__PURE__*/ css([\n ``,\n ` &:active,&:focus{color:`,\n `;}`\n ], Padding({\n left: '16px'\n }), ({ theme })=>theme.colors.white.base),\n IconWrapperMobile: ()=>/*#__PURE__*/ css([\n ``,\n ``\n ], Padding({\n left: '16px',\n right: '8px'\n })),\n AutocompleteInputModal: ()=>/*#__PURE__*/ css([\n ``,\n `;`\n ], ({ theme })=>Border({\n bottom: `1px solid ${theme.colors.grays.lighter}`\n }))\n};\n\nexport { liverPoolAutocompleteMobileStyles as default };\n//# sourceMappingURL=liverpool.js.map\n","import { css } from 'styled-components';\n\nconst universalMusicAutocompleteMobileStyles = {\n HeaderSuggestionMobile: ()=>/*#__PURE__*/ css([\n `color:`,\n ` !important;background-color:`,\n `;`\n ], ({ theme })=>theme.colors.grays.base, ({ theme })=>theme.colors.grays.lightest),\n IconWrapperMobile: ()=>/*#__PURE__*/ css([\n `color:`,\n `;`\n ], ({ theme })=>theme.colors.grays.dark),\n LabelSuggestionMobile: ()=>/*#__PURE__*/ css([\n `background-color:`,\n `;span{color:`,\n `;}&:hover{background-color:`,\n `;color:`,\n `;cursor:pointer;}`\n ], ({ theme })=>theme.colors.secondary.lightest, ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.colors.secondary.lightest, ({ theme })=>theme.colors.grays.dark)\n};\n\nexport { universalMusicAutocompleteMobileStyles as default };\n//# sourceMappingURL=universalMusic.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverPoolAutocompleteMobileStyles from './styles/liverpool.js';\nimport universalMusicAutocompleteMobileStyles from './styles/universalMusic.js';\n\nconst autocompleteMobileThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverPoolAutocompleteMobileStyles,\n [ThemeId.partnershipsUniversalMusic]: universalMusicAutocompleteMobileStyles\n});\n\nexport { autocompleteMobileThemes as default };\n//# sourceMappingURL=index.js.map\n","import Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport Tooltip from '@babylon/ui-kit-base/components/others/tooltip';\nimport { TooltipBox, TooltipArrow } from '@babylon/ui-kit-base/components/others/tooltip/components/view/styled';\nimport { TooltipContent } from '@babylon/ui-kit-base/components/others/tooltip/styled';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled, { css } from 'styled-components';\nimport Input from '../../../input/index.js';\nimport autocompleteMobileThemes from './themes/index.js';\n\nconst TooltipMobile = /*#__PURE__*/ styled(Tooltip).withConfig({\n displayName: \"TooltipMobile\"\n})([\n `&&{--tooltip-filter:unset;--tooltip-max-width:100%;--tooltip-min-height:100%;--tooltip-popper-bottom-padding:0px;--tooltip-content-border-radius:0px;--tooltip-content-padding:0px;`,\n `{text-align:left;}`,\n `{width:100%;overflow-y:auto;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-thumb{background:`,\n `;`,\n `}&::-webkit-scrollbar-track{background:`,\n `;}}`,\n `{display:none;}}`\n], TooltipContent, TooltipBox, ({ theme })=>theme.colors.grays.base, BorderRadius({\n all: '10px'\n}), ({ theme })=>theme.colors.grays.light, TooltipArrow);\nconst HeaderSuggestionMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"HeaderSuggestionMobile\"\n})([\n ``,\n ` `,\n ` background-color:`,\n `;border:1px solid `,\n `;color:`,\n `;text-transform:uppercase;padding:10px 0;`,\n ``\n], FlexMixin({\n align: 'center'\n}), FontMixin({\n weight: 'regular',\n size: 'base'\n}), ({ theme })=>theme.colors.headerSuggestionSearcher?.background, ({ theme })=>theme.colors.grays.light, ({ theme })=>theme.colors.headerSuggestionSearcher?.base, autocompleteMobileThemes('HeaderSuggestionMobile'));\nconst IconWrapperMobile = /*#__PURE__*/ styled(Icon).withConfig({\n displayName: \"IconWrapperMobile\"\n})([\n ``,\n ` color:`,\n `;padding:0 12px;`,\n ``\n], FontMixin({\n size: 'large'\n}), ({ theme })=>theme.colors.grays.base, autocompleteMobileThemes('IconWrapperMobile'));\nconst LabelSuggestionMobile = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"LabelSuggestionMobile\"\n})([\n ``,\n ` overflow:hidden;padding:12px 20px 12px 44px;text-overflow:ellipsis;white-space:nowrap;color:`,\n `;`,\n `;&:hover{background-color:`,\n `;color:`,\n `;cursor:pointer;}`,\n ``\n], FontMixin({\n size: 'base',\n weight: 'light',\n height: 'medium'\n}), ({ theme })=>theme.colors.grays.darker, ({ theme, $highlight })=>$highlight && /*#__PURE__*/ css([\n `background-color:`,\n `;color:`,\n `;`\n ], theme.colors.secondary.light, theme.colors.grays.dark), ({ theme })=>theme.colors.secondary.light, ({ theme })=>theme.colors.grays.dark, autocompleteMobileThemes('LabelSuggestionMobile'));\nconst AutocompleteInputModal = /*#__PURE__*/ styled(Input).withConfig({\n displayName: \"AutocompleteInputModal\"\n})([\n `border-bottom:1px solid `,\n `;`,\n ``\n], ({ theme })=>theme.colors.grays.light, autocompleteMobileThemes('AutocompleteInputModal'));\n\nexport { AutocompleteInputModal, HeaderSuggestionMobile, IconWrapperMobile, LabelSuggestionMobile, TooltipMobile };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx, Fragment } from 'react/jsx-runtime';\nimport contextBabylon from '@babylon/ui-kit-context';\nimport ScrollIntoView from '@babylon/ui-kit-structures/components/others/scroll-into-view';\nimport useIsLiverpool from '@babylon/ui-kit-styles/hooks/useIsLiverpool';\nimport { forwardRef, useContext, useRef, useImperativeHandle, useCallback, Children } from 'react';\nimport useAutocomplete from '../../hooks/useAutocomplete.js';\nimport useFormAutocomplete from '../../hooks/useFormAutocomplete.js';\nimport { boldText } from '../../utils/index.js';\nimport { HEADER_ICON, autocompleteLiterals } from '../../utils/autocomplete.js';\nimport { AutocompleteInputModal, TooltipMobile, HeaderSuggestionMobile, IconWrapperMobile, LabelSuggestionMobile } from './styled.js';\n\nconst AutocompleteMobile = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { Language } = useContext(contextBabylon);\n const { disabled = false, literals = {}, persistentMenu, icon, onBlur, hideHeaderSuggestion = false, isFaqs = false, label = '', placeholder = '', inputRef } = props;\n const refInputMobile = useRef(null);\n useImperativeHandle(ref, ()=>refInputMobile.current);\n useImperativeHandle(inputRef, ()=>refInputMobile.current);\n const refSuggestionMobile = useRef(null);\n const autocomplete = useAutocomplete(refSuggestionMobile, props);\n const { store, searchSuggestion, onChange, openSuggestions, tempValue } = autocomplete;\n const onSuggestionClick = useCallback((suggestion)=>()=>{\n onChange(suggestion);\n }, [\n onChange\n ]);\n const handleOnFocus = useCallback((e)=>{\n refInputMobile.current?.select();\n openSuggestions();\n e.target.select();\n }, [\n openSuggestions\n ]);\n // TODO: Eliminar cuando Liverpool ponga el literal en el modelo\n const { isLiverpool } = useIsLiverpool();\n return /*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"Autocomplete\",\n children: [\n /*#__PURE__*/ jsx(AutocompleteInputModal, {\n ref: refInputMobile,\n value: isFaqs ? tempValue : store.value ?? '',\n onChange: searchSuggestion,\n onBlur: onBlur,\n icon: icon,\n onFocus: handleOnFocus,\n autoComplete: \"off\",\n autoFocus: true,\n disabled: disabled,\n \"data-testid\": \"AutocompleteInputModal\",\n isFocused: false,\n label: label,\n placeholder: isLiverpool ? placeholder || 'Escribe aquí...' : placeholder\n }),\n (store.showSuggestions || persistentMenu) && /*#__PURE__*/ jsx(\"div\", {\n ref: refSuggestionMobile,\n children: /*#__PURE__*/ jsx(TooltipMobile, {\n referenceElement: refInputMobile.current,\n isNegative: false,\n placement: \"bottom-start\",\n children: Children.toArray(store.suggestions?.map(({ key, suggestions })=>/*#__PURE__*/ jsxs(Fragment, {\n children: [\n !hideHeaderSuggestion && /*#__PURE__*/ jsxs(HeaderSuggestionMobile, {\n \"data-testid\": \"item-header-suggestion\",\n children: [\n /*#__PURE__*/ jsx(IconWrapperMobile, {\n className: `nico-${HEADER_ICON[key]}`\n }),\n literals?.[key] ? literals?.[key] : autocompleteLiterals[Language.toLowerCase()][key]\n ]\n }),\n Children.toArray(suggestions.map((suggestion)=>{\n const isSelectSuggestion = store.selectingSuggestion?.id === suggestion.id;\n return /*#__PURE__*/ jsx(ScrollIntoView, {\n scrollToView: isSelectSuggestion,\n children: /*#__PURE__*/ jsx(LabelSuggestionMobile, {\n $highlight: isSelectSuggestion,\n onClick: onSuggestionClick(suggestion),\n children: /*#__PURE__*/ jsx(\"span\", {\n dangerouslySetInnerHTML: {\n __html: boldText(suggestion.text, store.query)\n }\n })\n })\n });\n }))\n ]\n })))\n })\n })\n ]\n });\n});\nAutocompleteMobile.displayName = 'AutocompleteMobile';\nconst FormAutocompleteMobile = (props)=>{\n const finalProps = useFormAutocomplete(props);\n return /*#__PURE__*/ jsx(AutocompleteMobile, {\n ...finalProps\n });\n};\n\nexport { FormAutocompleteMobile, AutocompleteMobile as default };\n//# sourceMappingURL=index.js.map\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport AutocompleteDesktop, { FormAutocompleteDesktop } from './views/desktop/index.js';\nimport AutocompleteMobile, { FormAutocompleteMobile } from './views/mobile/index.js';\n\nconst Autocomplete = generateViewsComponent(AutocompleteDesktop, AutocompleteMobile);\nconst FormAutocomplete = generateViewsComponent(FormAutocompleteDesktop, FormAutocompleteMobile);\n\nexport { FormAutocomplete, Autocomplete as default };\n//# sourceMappingURL=index.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport InputPanel from '../../others/input-panel/index.js';\nimport { useInput } from '../../../hooks/useInput/index.js';\nimport useIsMobile from '@babylon/ui-kit-hooks/device/useIsMobile';\nimport { forwardRef, useRef, useImperativeHandle, useState, useEffect, useCallback, useMemo } from 'react';\nimport Autocomplete from '../autocomplete/index.js';\n\nconst AutocompleteModal = /*#__PURE__*/ forwardRef((props, ref)=>{\n const refInputMobile = useRef(null);\n useImperativeHandle(ref, ()=>refInputMobile.current);\n const { disabled = false, label, literals, hasError = false, onChange } = props ?? {};\n const { modalTitle = '' } = literals ?? {};\n const [value, setValue] = useState(props.value);\n useEffect(()=>{\n setValue(props.value);\n }, [\n props.value\n ]);\n const isMobile = useIsMobile();\n const onChangeAutocomplete = useCallback((close)=>(suggestion)=>{\n setValue(suggestion);\n close();\n if (onChange) onChange(suggestion);\n }, [\n onChange\n ]);\n const renderPanelContent = useCallback(({ close })=>/*#__PURE__*/ jsx(Autocomplete, {\n ...props,\n onChange: onChangeAutocomplete(close),\n forceGetDataOnRender: isMobile\n }), [\n isMobile,\n onChangeAutocomplete,\n props\n ]);\n const inputProps = useMemo(()=>({\n label,\n value: value?.text ?? '',\n hasError,\n disabled\n }), [\n disabled,\n hasError,\n label,\n value?.text\n ]);\n const panel = useMemo(()=>({\n header: modalTitle,\n content: renderPanelContent\n }), [\n modalTitle,\n renderPanelContent\n ]);\n const modalProps = useMemo(()=>({\n color: 'primary'\n }), []);\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"AutocompleteModal\",\n children: /*#__PURE__*/ jsx(InputPanel, {\n ref: ref,\n inputProps: inputProps,\n panel: panel,\n modalProps: modalProps\n })\n });\n});\nAutocompleteModal.displayName = 'AutocompleteModal';\nconst FormAutocompleteModal = (props)=>{\n const { isHiddenRequired: _isHiddenRequired, ...rest } = props;\n const { field, error, hasError, label } = useInput(props);\n return /*#__PURE__*/ jsx(AutocompleteModal, {\n ...rest,\n ...field,\n error: error,\n hasError: hasError,\n label: label\n });\n};\n\nexport { FormAutocompleteModal, AutocompleteModal as default };\n//# sourceMappingURL=index.js.map\n","import { InputComponentWrapper } from '../../../../../../../../inputs/input/styled.js';\nimport { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst universalMusicPersonCounterSelectStyles = {\n PersonCounter: ()=>/*#__PURE__*/ css([\n `i.nico-angle-down,i.nico-angle-up{cursor:pointer;color:`,\n `;`,\n `}`,\n `{input{border:0px;}}`\n ], ({ theme })=>theme.colors.grays.darker, FontMixin({\n size: 'medium'\n }), InputComponentWrapper)\n};\n\nexport { universalMusicPersonCounterSelectStyles as default };\n//# sourceMappingURL=universalMusic.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport universalMusicPersonCounterSelectStyles from './styles/universalMusic.js';\n\nconst personCounterSelectThemes = createThemes({\n [ThemeId.partnershipsUniversalMusic]: universalMusicPersonCounterSelectStyles\n});\n\nexport { personCounterSelectThemes as default };\n//# sourceMappingURL=index.js.map\n","import SelectMobile from '../../../../../../inputs/select/views/mobile/index.js';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\nimport personCounterSelectThemes from './themes/index.js';\n\nconst PersonCounter = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"PersonCounter\"\n})([\n ``,\n ` input{width:`,\n `;height:52px;}.input-without-label{padding:0 16px 0 3px;min-height:38px;}&:not(:last-child){border-bottom:1px solid `,\n `;}`,\n ``\n], FlexMixin({\n align: 'center',\n justify: 'end'\n}), ({ $hasAgeLabel })=>$hasAgeLabel ? '100px' : '70px', ({ theme })=>theme.colors.grays.light, personCounterSelectThemes('PersonCounter'));\nconst Label = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"Label\"\n})([\n ``,\n ` color:`,\n `;margin-right:auto;text-transform:capitalize;`\n], FontMixin({\n size: 'base',\n weight: 'light',\n height: 'small'\n}), ({ theme })=>theme.colors.black.base);\nconst Select = /*#__PURE__*/ styled(SelectMobile).withConfig({\n displayName: \"Select\"\n})([\n `.css-1fpemmr-control{display:none;}`\n]);\n\nexport { Label, PersonCounter, Select };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport usePersonCounterSelect from '../../hooks/usePersonCounterSelect.js';\nimport { PersonCounter, Label, Select } from './styled.js';\n\nconst PersonCounterSelectMobile = (props)=>{\n const { value, options, ageLabel = '', selectedOptionIndex = 0, ageLabelLiteral = '' } = props;\n const { handleOnChange } = usePersonCounterSelect(props);\n const passangerAge = ageLabel.includes('#number#') ? ageLabel.replace('#number#', (selectedOptionIndex + 1).toString()) : `${ageLabel} ${selectedOptionIndex + 1}`;\n return /*#__PURE__*/ jsxs(PersonCounter, {\n \"data-testid\": \"PersonCounterSelect\",\n $hasAgeLabel: value?.value != value?.label,\n className: \"person-counter-select\",\n children: [\n /*#__PURE__*/ jsx(Label, {\n children: passangerAge\n }),\n /*#__PURE__*/ jsx(Select, {\n header: ageLabelLiteral,\n value: value,\n options: options,\n menuVariant: \"floating\",\n onChange: handleOnChange\n }),\n ' '\n ]\n });\n};\n\nexport { PersonCounterSelectMobile as default };\n//# sourceMappingURL=index.js.map\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\nimport { CounterButtonMobileWrapper } from '../../../../../../inputs/counter/components/counter-button/views/mobile/styled.js';\n\nconst universalMusicPersonCounterStyles = {\n CounterContent: ()=>/*#__PURE__*/ css([\n `--header-default-color:`,\n `;`\n ], ({ theme })=>theme.colors.grays.darker),\n OptionsTitle: ()=>/*#__PURE__*/ css([\n `strong{`,\n `}`\n ], FontMixin({\n weight: 'regular'\n })),\n CounterButtons: ()=>/*#__PURE__*/ css([\n ``,\n `{`,\n ` &:not(:disabled){background-color:`,\n `;}}`\n ], CounterButtonMobileWrapper, BorderRadius({\n all: '50%'\n }), ({ theme })=>theme.colors.primary.base)\n};\n\nexport { universalMusicPersonCounterStyles as default };\n//# sourceMappingURL=universalMusic.js.map\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport universalMusicPersonCounterStyles from './styles/universalMusic.js';\n\nconst personCounterThemes = createThemes({\n [ThemeId.partnershipsUniversalMusic]: universalMusicPersonCounterStyles\n});\n\nexport { personCounterThemes as default };\n//# sourceMappingURL=index.js.map\n","import Tooltip from '@babylon/ui-kit-base/components/others/tooltip';\nimport { TooltipContent } from '@babylon/ui-kit-base/components/others/tooltip/components/view/styled';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport Counter from '../../../../inputs/counter/index.js';\nimport { CounterButtonMobileWrapper } from '../../../../inputs/counter/components/counter-button/views/mobile/styled.js';\nimport { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { BorderRadius, Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport personCounterThemes from './themes/index.js';\n\nconst CounterContent = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"CounterContent\"\n})([\n ``,\n ` padding:12px 0px;&:not(:last-child){border-bottom:1px solid `,\n `;}`,\n ``\n], FlexMixin({\n align: 'center',\n justify: 'space-between'\n}), ({ theme })=>theme.colors.grays.light, personCounterThemes('CounterContent'));\nconst Title = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Title\"\n})([\n ``,\n ` `,\n ` margin-right:4px;color:`,\n `;& > span{padding-left:8px;color:`,\n `;`,\n `}`\n], FontMixin({\n size: 'base',\n weight: 'light',\n height: 'small'\n}), FlexMixin(), ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.colors.grays.base, FontMixin({\n size: 'small',\n weight: 'light',\n height: 'small'\n}));\nconst Info = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"Info\"\n})([\n ``,\n ` margin-top:4px;color:`,\n `;`\n], FontMixin({\n size: 'small',\n weight: 'regular',\n height: 'small'\n}), ({ theme })=>theme.colors.text.dark);\nconst OptionsTitle = /*#__PURE__*/ styled(InnerMarkdownHTML).withConfig({\n displayName: \"OptionsTitle\"\n})([\n ``,\n ` color:`,\n `;padding-top:20px;`,\n ``\n], FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'small'\n}), ({ theme })=>theme.colors.grays.dark, personCounterThemes('OptionsTitle'));\nconst CounterButtons = /*#__PURE__*/ styled(Counter).withConfig({\n displayName: \"CounterButtons\"\n})([\n ``,\n `{`,\n `}label{color:`,\n `;}`,\n ``\n], CounterButtonMobileWrapper, BorderRadius({\n all: '2pt'\n}), ({ theme })=>theme.colors.black.base, personCounterThemes('CounterButtons'));\nconst PersonCounterSelectTitle = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"PersonCounterSelectTitle\"\n})([\n `margin-top:12px;`,\n ` color:`,\n `;`\n], FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'small'\n}), ({ theme })=>theme.colors.grays.dark);\nconst IconWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"IconWrapper\"\n})([\n `i{color:`,\n `;font-size:20px;margin-left:4px;}`\n], ({ theme })=>theme.colors.primary.base);\nconst TooltipStyled = /*#__PURE__*/ styled(Tooltip).withConfig({\n displayName: \"TooltipStyled\"\n})([\n ``,\n `{color:`,\n `;`,\n ` padding:8px 16px;text-align:left;max-width:280px;}`\n], TooltipContent, ({ theme })=>theme.colors.text, FontMixin({\n size: 'small',\n weight: 'light',\n height: 'base'\n}));\nconst ContentLabel = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"ContentLabel\"\n})([\n ``\n]);\nconst Label = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Label\"\n})([\n ``,\n `;span{`,\n `}`\n], FlexMixin(), Margin({\n left: '4px'\n}));\n\nexport { ContentLabel, CounterButtons, CounterContent, IconWrapper, Info, Label, OptionsTitle, PersonCounterSelectTitle, Title, TooltipStyled };\n//# sourceMappingURL=styled.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Icon from '@babylon/ui-kit-base/components/icons/icon';\nimport { useRef, useState, Children } from 'react';\nimport PersonCounterSelectMobile from '../../components/person-counter-select/views/mobile/index.js';\nimport usePersonCounter from '../../hooks/usePersonCounter.js';\nimport { CounterContent, Title, ContentLabel, Label, Info, IconWrapper, TooltipStyled, CounterButtons, OptionsTitle } from './styled.js';\n\nconst PersonCounterMobile = (props)=>{\n const { label = '', description = '', info, tooltip, max = 0, min = 0, onChange, select = {}, selectedOptions = [], value = 0, disableIncrement = false, labelForEachOption = '', ageLabel = '' } = props;\n const { hasOptions, selectedValues } = usePersonCounter(props);\n const hoverIconRef = useRef(null);\n const [hoverIcon, setHoverIcon] = useState(false);\n if ((!value && value !== 0) ?? !onChange) return null;\n return /*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"PersonCounter\",\n className: \"person-counter-wrapper\",\n children: [\n /*#__PURE__*/ jsxs(CounterContent, {\n children: [\n /*#__PURE__*/ jsxs(Title, {\n children: [\n /*#__PURE__*/ jsxs(ContentLabel, {\n children: [\n /*#__PURE__*/ jsxs(Label, {\n children: [\n label,\n description && /*#__PURE__*/ jsx(\"span\", {\n children: description\n })\n ]\n }),\n info ? /*#__PURE__*/ jsx(Info, {\n children: info\n }) : ''\n ]\n }),\n tooltip && /*#__PURE__*/ jsxs(IconWrapper, {\n onMouseOver: ()=>setHoverIcon(true),\n onMouseOut: ()=>setHoverIcon(false),\n ref: hoverIconRef,\n children: [\n /*#__PURE__*/ jsx(Icon, {\n className: `nico-info`\n }),\n hoverIcon && /*#__PURE__*/ jsx(TooltipStyled, {\n isNegative: false,\n referenceElement: hoverIconRef.current,\n placement: \"bottom\",\n options: {\n placement: 'bottom'\n },\n children: tooltip\n })\n ]\n })\n ]\n }),\n /*#__PURE__*/ jsx(CounterButtons, {\n min: min,\n max: max,\n value: value,\n disableIncrement: disableIncrement,\n onChange: onChange\n }, value)\n ]\n }),\n hasOptions && /*#__PURE__*/ jsxs(\"div\", {\n \"data-testid\": \"PersonCounterOptions\",\n children: [\n select?.label && /*#__PURE__*/ jsx(OptionsTitle, {\n tag: \"p\",\n content: select?.label\n }),\n /*#__PURE__*/ jsx(\"div\", {\n children: Children.toArray(selectedOptions?.map((_, selectedOptionIndex)=>/*#__PURE__*/ jsx(PersonCounterSelectMobile, {\n selectedOptionIndex: selectedOptionIndex,\n value: selectedValues[selectedOptionIndex],\n options: select?.options,\n onChange: select?.onChange,\n ageLabel: labelForEachOption,\n ageLabelLiteral: ageLabel\n })))\n })\n ]\n })\n ]\n });\n};\n\nexport { PersonCounterMobile as default };\n//# sourceMappingURL=index.js.map\n"],"names":["universalMusicStyles","css","theme","BorderRadius","universalMusicThemes","createThemes","Inputs","styled","FlexMixin","useFormatInputDate","date","enableTime","Language","useContext","contextBabylon","inputValue","setInputValue","useState","useEffect","calendarFormatData","formatedDate","getHoursAndMinutesFromString","time","currentDate","minOrMax","hours","minutes","finalHours","finalMinutes","getHours","getMinutes","useCalendarMobileModal","props","visible","confirm","propsOnChange","minTime","maxTime","mode","minDate","value","containerRef","useRef","finalMinDate","useMemo","updateWeekdaysPosition","useCallback","wrapper","weekdays","wrapperTop","updateMonthsPosition","self","currDate","months","dayContainers","days","daysTop","i","length","month","dayContainer","dayContainerTop","monthHeight","updateScrollPosition","selectedDate","selectedMonth","offsetYearsIndex","targetMonthIndex","monthTop","weekdaysHeight","_b","_a","onReady","_dates","_currentDateString","onChange","dates","finalDates","index","dateTime","formatDateWithoutLocale","useCalendarMobileTimeModal","isTimeVisible","showTime","hideTime","useBoolean","lastValue","selectedDateIndex","setSelectedDateIndex","_c","_d","timeString","setTimeString","formatDate","times","oClock","halfPast","timeValue","roundedMinutes","finalTime","handleOnTimeChange","newValue","typedNewValue","newDates","cloneDeep","setHours","setMinutes","onConfirm","hide","liverpoolMobileCalendarStyles","FontMixin","Padding","Border","ModalHeader","ModalHeaderText","Margin","ModalFooter","universalMusicMobileCalendarStyles","calendarMobileThemes","FlatpickrCalendarWrapper","TimeValue","ModalWrapper","Modal","ModalTimeWrapper","CalendarMobileModal","onBlur","locale","maxDate","showMonths","disabledDates","monthSelectorType","minuteIncrement","noCalendar","disableMobile","time24h","cancel","modalTitle","timeModalTitle","selectionLabel","modalConfirm","events","releaseDays","eventDay","modalColor","modalVariant","modalIconRight","datePickerRef","useTheme","finalEnableDates","firstDayEnabled","useCalendartDates","calendarOptions","differenceInMonths","renderInput","_props","ref","jsx","confirmModal","cancelModal","CalendarMobileModalSkeleton","Skeleton","jsxs","Fragment","FlatpickrCalendar","ButtonPanel","SelectMobile","CalendarMobileInputWrapper","InputWrapper","CalendarMobileSingle","forwardRef","label","disabled","error","hasError","onClick","onFocus","isVisible","icon","Input","nullFunction","CalendarMobileRange","startDateLabel","endDateLabel","inputVariant","startInputValue","endInputValue","CalendarMobile","isSingle","className","calendarProps","tempValue","setTempValue","toggleVisibility","showModal","isEqual","FormCalendarMobile","finalProps","useFormCalendar","liverPoolAutocompleteMobileStyles","universalMusicAutocompleteMobileStyles","autocompleteMobileThemes","ThemeId","TooltipMobile","Tooltip","TooltipContent","TooltipBox","TooltipArrow","HeaderSuggestionMobile","IconWrapperMobile","Icon","LabelSuggestionMobile","$highlight","AutocompleteInputModal","AutocompleteMobile","literals","persistentMenu","hideHeaderSuggestion","isFaqs","placeholder","inputRef","refInputMobile","useImperativeHandle","refSuggestionMobile","autocomplete","useAutocomplete","store","searchSuggestion","openSuggestions","onSuggestionClick","suggestion","handleOnFocus","e","isLiverpool","useIsLiverpool","Children","key","suggestions","HEADER_ICON","autocompleteLiterals","isSelectSuggestion","ScrollIntoView","boldText","FormAutocompleteMobile","useFormAutocomplete","Autocomplete","generateViewsComponent","AutocompleteDesktop","FormAutocompleteDesktop","AutocompleteModal","setValue","isMobile","useIsMobile","onChangeAutocomplete","close","renderPanelContent","inputProps","panel","modalProps","InputPanel","FormAutocompleteModal","_isHiddenRequired","rest","field","useInput","universalMusicPersonCounterSelectStyles","InputComponentWrapper","personCounterSelectThemes","PersonCounter","$hasAgeLabel","Label","Select","PersonCounterSelectMobile","options","ageLabel","selectedOptionIndex","ageLabelLiteral","handleOnChange","usePersonCounterSelect","passangerAge","universalMusicPersonCounterStyles","CounterButtonMobileWrapper","personCounterThemes","CounterContent","Title","Info","OptionsTitle","InnerMarkdownHTML","CounterButtons","Counter","IconWrapper","TooltipStyled","ContentLabel","PersonCounterMobile","description","info","tooltip","max","min","select","selectedOptions","disableIncrement","labelForEachOption","hasOptions","selectedValues","usePersonCounter","hoverIconRef","hoverIcon","setHoverIcon","_"],"mappings":"glBAGA,MAAMA,GAAuB,CACzB,OAAQ,IAAkBC,EAAI,CACtB,OACA,yCACA,IACA,6DACA,IACA,MACZ,EAAW,CAAC,CAAE,MAAAC,CAAO,IAAGA,EAAM,MAAM,MAAM,KAAM,CAAC,CAAE,MAAAA,CAAK,IAAKA,EAAM,OAAO,MAAM,MAAOC,EAAa,CACxF,QAAS,MACT,WAAY,KACxB,CAAS,EAAG,CAAC,CAAE,MAAAD,KAAUA,EAAM,OAAO,MAAM,MAAOC,EAAa,CACpD,SAAU,MACV,YAAa,KACzB,CAAS,CAAC,CACV,ECfMC,GAAuBC,EAAa,CACtC,2BAA4BL,EAChC,CAAC,ECAKM,GAAuBC,EAAO,IAAI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