@mirai/core 0.4.42 → 0.4.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.sentryclirc +3 -0
- package/build/Core.Notifications.js +4 -1
- package/build/Core.Notifications.js.map +1 -1
- package/build/Core.constants.js +4 -1
- package/build/Core.constants.js.map +1 -1
- package/build/Core.js +4 -1
- package/build/Core.js.map +1 -1
- package/build/Core.provider.js +4 -1
- package/build/Core.provider.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.constants.js +4 -1
- package/build/components/BannerLoyalty/BannerLoyalty.constants.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.js +4 -1
- package/build/components/BannerLoyalty/BannerLoyalty.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.l10n.js +4 -1
- package/build/components/BannerLoyalty/BannerLoyalty.l10n.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js +4 -1
- package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js.map +1 -1
- package/build/components/BannerLoyalty/index.js +4 -1
- package/build/components/BannerLoyalty/index.js.map +1 -1
- package/build/components/Booking/Booking.constants.js +4 -1
- package/build/components/Booking/Booking.constants.js.map +1 -1
- package/build/components/Booking/Booking.js +4 -1
- package/build/components/Booking/Booking.js.map +1 -1
- package/build/components/Booking/Booking.l10n.js +4 -1
- package/build/components/Booking/Booking.l10n.js.map +1 -1
- package/build/components/Booking/Booking.skeleton.js +4 -1
- package/build/components/Booking/Booking.skeleton.js.map +1 -1
- package/build/components/Booking/components/Field/Field.js +4 -1
- package/build/components/Booking/components/Field/Field.js.map +1 -1
- package/build/components/Booking/components/Field/Field.l10n.js +4 -1
- package/build/components/Booking/components/Field/Field.l10n.js.map +1 -1
- package/build/components/Booking/components/Field/index.js +4 -1
- package/build/components/Booking/components/Field/index.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.js +4 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js +4 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/index.js +4 -1
- package/build/components/Booking/components/Hotelverse/index.js.map +1 -1
- package/build/components/Booking/components/index.js +4 -1
- package/build/components/Booking/components/index.js.map +1 -1
- package/build/components/Booking/helpers/getButtonPaymentKey.js +4 -1
- package/build/components/Booking/helpers/getButtonPaymentKey.js.map +1 -1
- package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js +4 -1
- package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js.map +1 -1
- package/build/components/Booking/helpers/index.js +4 -1
- package/build/components/Booking/helpers/index.js.map +1 -1
- package/build/components/Booking/index.js +4 -1
- package/build/components/Booking/index.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormCancel.js +4 -1
- package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormEdit.js +4 -1
- package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormResend.js +4 -1
- package/build/components/Booking/partials/Booking.FormResend.js.map +1 -1
- package/build/components/Booking/partials/Booking.Information.js +4 -1
- package/build/components/Booking/partials/Booking.Information.js.map +1 -1
- package/build/components/Booking/partials/Booking.Menu.js +4 -1
- package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
- package/build/components/Booking/partials/Booking.Modal.js +4 -1
- package/build/components/Booking/partials/Booking.Modal.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalAgency.js +4 -1
- package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -1
- package/build/components/Booking/partials/Booking.Payment.js +4 -1
- package/build/components/Booking/partials/Booking.Payment.js.map +1 -1
- package/build/components/Booking/partials/index.js +4 -1
- package/build/components/Booking/partials/index.js.map +1 -1
- package/build/components/BookingQuery/BookingQuery.constants.js +4 -1
- package/build/components/BookingQuery/BookingQuery.constants.js.map +1 -1
- package/build/components/BookingQuery/BookingQuery.js +4 -1
- package/build/components/BookingQuery/BookingQuery.js.map +1 -1
- package/build/components/BookingQuery/BookingQuery.l10n.js +4 -1
- package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -1
- package/build/components/BookingQuery/helpers/getErrorText.js +4 -1
- package/build/components/BookingQuery/helpers/getErrorText.js.map +1 -1
- package/build/components/BookingQuery/helpers/index.js +4 -1
- package/build/components/BookingQuery/helpers/index.js.map +1 -1
- package/build/components/BookingQuery/index.js +4 -1
- package/build/components/BookingQuery/index.js.map +1 -1
- package/build/components/ButtonFinder/ButtonFinder.js +4 -1
- package/build/components/ButtonFinder/ButtonFinder.js.map +1 -1
- package/build/components/ButtonFinder/ButtonFinder.l10n.js +4 -1
- package/build/components/ButtonFinder/ButtonFinder.l10n.js.map +1 -1
- package/build/components/ButtonFinder/index.js +4 -1
- package/build/components/ButtonFinder/index.js.map +1 -1
- package/build/components/Chat/Chat.constants.js +4 -1
- package/build/components/Chat/Chat.constants.js.map +1 -1
- package/build/components/Chat/Chat.js +4 -1
- package/build/components/Chat/Chat.js.map +1 -1
- package/build/components/Chat/Chat.l10n.js +4 -1
- package/build/components/Chat/Chat.l10n.js.map +1 -1
- package/build/components/Chat/components/Avatar/Avatar.js +4 -1
- package/build/components/Chat/components/Avatar/Avatar.js.map +1 -1
- package/build/components/Chat/components/Avatar/index.js +4 -1
- package/build/components/Chat/components/Avatar/index.js.map +1 -1
- package/build/components/Chat/components/Input/Input.js +4 -1
- package/build/components/Chat/components/Input/Input.js.map +1 -1
- package/build/components/Chat/components/Input/Input.l10n.js +4 -1
- package/build/components/Chat/components/Input/Input.l10n.js.map +1 -1
- package/build/components/Chat/components/Input/index.js +4 -1
- package/build/components/Chat/components/Input/index.js.map +1 -1
- package/build/components/Chat/components/InputRich/InputRich.List.js +4 -1
- package/build/components/Chat/components/InputRich/InputRich.List.js.map +1 -1
- package/build/components/Chat/components/InputRich/InputRich.js +4 -1
- package/build/components/Chat/components/InputRich/InputRich.js.map +1 -1
- package/build/components/Chat/components/InputRich/InputRich.l10n.js +4 -1
- package/build/components/Chat/components/InputRich/InputRich.l10n.js.map +1 -1
- package/build/components/Chat/components/InputRich/helpers/getVerboseList.js +4 -1
- package/build/components/Chat/components/InputRich/helpers/getVerboseList.js.map +1 -1
- package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js +4 -1
- package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js.map +1 -1
- package/build/components/Chat/components/InputRich/helpers/index.js +4 -1
- package/build/components/Chat/components/InputRich/helpers/index.js.map +1 -1
- package/build/components/Chat/components/InputRich/index.js +4 -1
- package/build/components/Chat/components/InputRich/index.js.map +1 -1
- package/build/components/Chat/components/Message/Message.constants.js +4 -1
- package/build/components/Chat/components/Message/Message.constants.js.map +1 -1
- package/build/components/Chat/components/Message/Message.js +4 -1
- package/build/components/Chat/components/Message/Message.js.map +1 -1
- package/build/components/Chat/components/Message/components/Booking.js +4 -1
- package/build/components/Chat/components/Message/components/Booking.js.map +1 -1
- package/build/components/Chat/components/Message/components/Booking.l10n.js +4 -1
- package/build/components/Chat/components/Message/components/Booking.l10n.js.map +1 -1
- package/build/components/Chat/components/Message/components/Card.js +4 -1
- package/build/components/Chat/components/Message/components/Card.js.map +1 -1
- package/build/components/Chat/components/Message/components/Environment.js +4 -1
- package/build/components/Chat/components/Message/components/Environment.js.map +1 -1
- package/build/components/Chat/components/Message/components/index.js +4 -1
- package/build/components/Chat/components/Message/components/index.js.map +1 -1
- package/build/components/Chat/components/Message/helpers/getActionIcon.js +4 -1
- package/build/components/Chat/components/Message/helpers/getActionIcon.js.map +1 -1
- package/build/components/Chat/components/Message/helpers/getTime.js +4 -1
- package/build/components/Chat/components/Message/helpers/getTime.js.map +1 -1
- package/build/components/Chat/components/Message/helpers/index.js +4 -1
- package/build/components/Chat/components/Message/helpers/index.js.map +1 -1
- package/build/components/Chat/components/Message/index.js +4 -1
- package/build/components/Chat/components/Message/index.js.map +1 -1
- package/build/components/Chat/components/Message/intents/Book.js +4 -1
- package/build/components/Chat/components/Message/intents/Book.js.map +1 -1
- package/build/components/Chat/components/Message/intents/BookingQuery.js +4 -1
- package/build/components/Chat/components/Message/intents/BookingQuery.js.map +1 -1
- package/build/components/Chat/components/Message/intents/HotelInfo.js +4 -1
- package/build/components/Chat/components/Message/intents/HotelInfo.js.map +1 -1
- package/build/components/Chat/components/Message/intents/Offers.js +4 -1
- package/build/components/Chat/components/Message/intents/Offers.js.map +1 -1
- package/build/components/Chat/components/Message/intents/Unknown.js +4 -1
- package/build/components/Chat/components/Message/intents/Unknown.js.map +1 -1
- package/build/components/Chat/components/Message/intents/index.js +4 -1
- package/build/components/Chat/components/Message/intents/index.js.map +1 -1
- package/build/components/Chat/components/Offline/Offline.js +4 -1
- package/build/components/Chat/components/Offline/Offline.js.map +1 -1
- package/build/components/Chat/components/Offline/index.js +4 -1
- package/build/components/Chat/components/Offline/index.js.map +1 -1
- package/build/components/Chat/components/index.js +4 -1
- package/build/components/Chat/components/index.js.map +1 -1
- package/build/components/Chat/helpers/getVerboseDate.js +4 -1
- package/build/components/Chat/helpers/getVerboseDate.js.map +1 -1
- package/build/components/Chat/helpers/index.js +4 -1
- package/build/components/Chat/helpers/index.js.map +1 -1
- package/build/components/Chat/index.js +4 -1
- package/build/components/Chat/index.js.map +1 -1
- package/build/components/Checkout/Checkout.constants.js +4 -1
- package/build/components/Checkout/Checkout.constants.js.map +1 -1
- package/build/components/Checkout/Checkout.js +4 -1
- package/build/components/Checkout/Checkout.js.map +1 -1
- package/build/components/Checkout/Checkout.l10n.js +4 -1
- package/build/components/Checkout/Checkout.l10n.js.map +1 -1
- package/build/components/Checkout/Checkout.skeleton.js +4 -1
- package/build/components/Checkout/Checkout.skeleton.js.map +1 -1
- package/build/components/Checkout/components/InputRadio/InputRadio.js +4 -1
- package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -1
- package/build/components/Checkout/components/InputRadio/index.js +4 -1
- package/build/components/Checkout/components/InputRadio/index.js.map +1 -1
- package/build/components/Checkout/components/index.js +4 -1
- package/build/components/Checkout/components/index.js.map +1 -1
- package/build/components/Checkout/helpers/getButtonPaymentKey.js +4 -1
- package/build/components/Checkout/helpers/getButtonPaymentKey.js.map +1 -1
- package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js +4 -1
- package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js.map +1 -1
- package/build/components/Checkout/helpers/getFieldProps.js +4 -1
- package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
- package/build/components/Checkout/helpers/getSchemaProps.js +4 -1
- package/build/components/Checkout/helpers/getSchemaProps.js.map +1 -1
- package/build/components/Checkout/helpers/getVariant.js +4 -1
- package/build/components/Checkout/helpers/getVariant.js.map +1 -1
- package/build/components/Checkout/helpers/index.js +4 -1
- package/build/components/Checkout/helpers/index.js.map +1 -1
- package/build/components/Checkout/helpers/testDNI.js +4 -1
- package/build/components/Checkout/helpers/testDNI.js.map +1 -1
- package/build/components/Checkout/index.js +4 -1
- package/build/components/Checkout/index.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Confirmation.js +4 -1
- package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Form.js +4 -1
- package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
- package/build/components/Checkout/partials/index.js +4 -1
- package/build/components/Checkout/partials/index.js.map +1 -1
- package/build/components/Deals/Deals.Calendar.js +4 -1
- package/build/components/Deals/Deals.Calendar.js.map +1 -1
- package/build/components/Deals/Deals.constants.js +4 -1
- package/build/components/Deals/Deals.constants.js.map +1 -1
- package/build/components/Deals/Deals.js +4 -1
- package/build/components/Deals/Deals.js.map +1 -1
- package/build/components/Deals/Deals.l10n.js +4 -1
- package/build/components/Deals/Deals.l10n.js.map +1 -1
- package/build/components/Deals/Deals.skeleton.js +4 -1
- package/build/components/Deals/Deals.skeleton.js.map +1 -1
- package/build/components/Deals/helpers/calcFromDate.js +4 -1
- package/build/components/Deals/helpers/calcFromDate.js.map +1 -1
- package/build/components/Deals/helpers/calcMinStay.js +4 -1
- package/build/components/Deals/helpers/calcMinStay.js.map +1 -1
- package/build/components/Deals/helpers/calcNightWithDeals.js +4 -1
- package/build/components/Deals/helpers/calcNightWithDeals.js.map +1 -1
- package/build/components/Deals/helpers/calcToDate.js +4 -1
- package/build/components/Deals/helpers/calcToDate.js.map +1 -1
- package/build/components/Deals/helpers/calcTooltips.js +4 -1
- package/build/components/Deals/helpers/calcTooltips.js.map +1 -1
- package/build/components/Deals/helpers/getCurrency.js +4 -1
- package/build/components/Deals/helpers/getCurrency.js.map +1 -1
- package/build/components/Deals/helpers/index.js +4 -1
- package/build/components/Deals/helpers/index.js.map +1 -1
- package/build/components/Deals/helpers/validate.js +4 -1
- package/build/components/Deals/helpers/validate.js.map +1 -1
- package/build/components/Deals/index.js +4 -1
- package/build/components/Deals/index.js.map +1 -1
- package/build/components/Environment/Environment.State.js +4 -1
- package/build/components/Environment/Environment.State.js.map +1 -1
- package/build/components/Environment/Environment.js +4 -1
- package/build/components/Environment/Environment.js.map +1 -1
- package/build/components/Environment/index.js +4 -1
- package/build/components/Environment/index.js.map +1 -1
- package/build/components/Finder/Finder.compact.js +4 -1
- package/build/components/Finder/Finder.compact.js.map +1 -1
- package/build/components/Finder/Finder.constants.js +4 -1
- package/build/components/Finder/Finder.constants.js.map +1 -1
- package/build/components/Finder/Finder.js +4 -1
- package/build/components/Finder/Finder.js.map +1 -1
- package/build/components/Finder/Finder.l10n.js +4 -1
- package/build/components/Finder/Finder.l10n.js.map +1 -1
- package/build/components/Finder/components/Calendar/Calendar.constants.js +4 -1
- package/build/components/Finder/components/Calendar/Calendar.constants.js.map +1 -1
- package/build/components/Finder/components/Calendar/Calendar.js +4 -1
- package/build/components/Finder/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Finder/components/Calendar/Calendar.l10n.js +4 -1
- package/build/components/Finder/components/Calendar/Calendar.l10n.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/calcMinStay.js +4 -1
- package/build/components/Finder/components/Calendar/helpers/calcMinStay.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/calcTooltips.js +4 -1
- package/build/components/Finder/components/Calendar/helpers/calcTooltips.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js +4 -1
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js +4 -1
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/index.js +4 -1
- package/build/components/Finder/components/Calendar/helpers/index.js.map +1 -1
- package/build/components/Finder/components/Calendar/index.js +4 -1
- package/build/components/Finder/components/Calendar/index.js.map +1 -1
- package/build/components/Finder/components/Places/Places.js +4 -1
- package/build/components/Finder/components/Places/Places.js.map +1 -1
- package/build/components/Finder/components/Places/Places.l10n.js +4 -1
- package/build/components/Finder/components/Places/Places.l10n.js.map +1 -1
- package/build/components/Finder/components/Places/helpers/calcColumns.js +4 -1
- package/build/components/Finder/components/Places/helpers/calcColumns.js.map +1 -1
- package/build/components/Finder/components/Places/helpers/index.js +4 -1
- package/build/components/Finder/components/Places/helpers/index.js.map +1 -1
- package/build/components/Finder/components/Places/index.js +4 -1
- package/build/components/Finder/components/Places/index.js.map +1 -1
- package/build/components/Finder/components/index.js +4 -1
- package/build/components/Finder/components/index.js.map +1 -1
- package/build/components/Finder/helpers/getAvailableWidth.js +4 -1
- package/build/components/Finder/helpers/getAvailableWidth.js.map +1 -1
- package/build/components/Finder/helpers/getDataSource.js +4 -1
- package/build/components/Finder/helpers/getDataSource.js.map +1 -1
- package/build/components/Finder/helpers/getFieldPosition.js +4 -1
- package/build/components/Finder/helpers/getFieldPosition.js.map +1 -1
- package/build/components/Finder/helpers/getForwarderUrl.js +4 -1
- package/build/components/Finder/helpers/getForwarderUrl.js.map +1 -1
- package/build/components/Finder/helpers/getHotels.js +4 -1
- package/build/components/Finder/helpers/getHotels.js.map +1 -1
- package/build/components/Finder/helpers/getOccupationDataSource.js +4 -1
- package/build/components/Finder/helpers/getOccupationDataSource.js.map +1 -1
- package/build/components/Finder/helpers/getPlaceCaption.js +4 -1
- package/build/components/Finder/helpers/getPlaceCaption.js.map +1 -1
- package/build/components/Finder/helpers/getPlacesOptions.js +4 -1
- package/build/components/Finder/helpers/getPlacesOptions.js.map +1 -1
- package/build/components/Finder/helpers/index.js +4 -1
- package/build/components/Finder/helpers/index.js.map +1 -1
- package/build/components/Finder/helpers/parseCalendarProps.js +4 -1
- package/build/components/Finder/helpers/parseCalendarProps.js.map +1 -1
- package/build/components/Finder/helpers/parseValue.js +4 -1
- package/build/components/Finder/helpers/parseValue.js.map +1 -1
- package/build/components/Finder/helpers/setStorage.js +4 -1
- package/build/components/Finder/helpers/setStorage.js.map +1 -1
- package/build/components/Finder/helpers/validate.js +4 -1
- package/build/components/Finder/helpers/validate.js.map +1 -1
- package/build/components/Finder/index.js +4 -1
- package/build/components/Finder/index.js.map +1 -1
- package/build/components/Header/Header.js +4 -1
- package/build/components/Header/Header.js.map +1 -1
- package/build/components/Header/Header.l10n.js +4 -1
- package/build/components/Header/Header.l10n.js.map +1 -1
- package/build/components/Header/components/BookingProcess/BookingProcess.js +4 -1
- package/build/components/Header/components/BookingProcess/BookingProcess.js.map +1 -1
- package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js +4 -1
- package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js.map +1 -1
- package/build/components/Header/components/BookingProcess/index.js +4 -1
- package/build/components/Header/components/BookingProcess/index.js.map +1 -1
- package/build/components/Header/components/index.js +4 -1
- package/build/components/Header/components/index.js.map +1 -1
- package/build/components/Header/index.js +4 -1
- package/build/components/Header/index.js.map +1 -1
- package/build/components/Profile/Profile.constants.js +4 -1
- package/build/components/Profile/Profile.constants.js.map +1 -1
- package/build/components/Profile/Profile.js +4 -1
- package/build/components/Profile/Profile.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.Search.js +4 -1
- package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.constants.js +4 -1
- package/build/components/Profile/components/Bookings/Bookings.constants.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.js +4 -1
- package/build/components/Profile/components/Bookings/Bookings.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.l10n.js +4 -1
- package/build/components/Profile/components/Bookings/Bookings.l10n.js.map +1 -1
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js +4 -1
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js.map +1 -1
- package/build/components/Profile/components/Bookings/helpers/index.js +4 -1
- package/build/components/Profile/components/Bookings/helpers/index.js.map +1 -1
- package/build/components/Profile/components/Bookings/index.js +4 -1
- package/build/components/Profile/components/Bookings/index.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Account.js +4 -1
- package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Password.js +4 -1
- package/build/components/Profile/components/Settings/Settings.Password.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Signout.js +4 -1
- package/build/components/Profile/components/Settings/Settings.Signout.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.constants.js +4 -1
- package/build/components/Profile/components/Settings/Settings.constants.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.js +4 -1
- package/build/components/Profile/components/Settings/Settings.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.l10n.js +4 -1
- package/build/components/Profile/components/Settings/Settings.l10n.js.map +1 -1
- package/build/components/Profile/components/Settings/index.js +4 -1
- package/build/components/Profile/components/Settings/index.js.map +1 -1
- package/build/components/Profile/components/index.js +4 -1
- package/build/components/Profile/components/index.js.map +1 -1
- package/build/components/Profile/index.js +4 -1
- package/build/components/Profile/index.js.map +1 -1
- package/build/components/Rates/Rates.Content.js +4 -1
- package/build/components/Rates/Rates.Content.js.map +1 -1
- package/build/components/Rates/Rates.Footer.js +4 -1
- package/build/components/Rates/Rates.Footer.js.map +1 -1
- package/build/components/Rates/Rates.Header.js +4 -1
- package/build/components/Rates/Rates.Header.js.map +1 -1
- package/build/components/Rates/Rates.RoomSelector.js +4 -1
- package/build/components/Rates/Rates.RoomSelector.js.map +1 -1
- package/build/components/Rates/Rates.Skeleton.js +4 -1
- package/build/components/Rates/Rates.Skeleton.js.map +1 -1
- package/build/components/Rates/Rates.Unavailability.js +4 -1
- package/build/components/Rates/Rates.Unavailability.js.map +1 -1
- package/build/components/Rates/Rates.constants.js +4 -1
- package/build/components/Rates/Rates.constants.js.map +1 -1
- package/build/components/Rates/Rates.js +4 -1
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/Rates.l10n.js +4 -1
- package/build/components/Rates/Rates.l10n.js.map +1 -1
- package/build/components/Rates/components/CardHotel/CardHotel.js +4 -1
- package/build/components/Rates/components/CardHotel/CardHotel.js.map +1 -1
- package/build/components/Rates/components/CardHotel/CardHotel.l10n.js +4 -1
- package/build/components/Rates/components/CardHotel/CardHotel.l10n.js.map +1 -1
- package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js +4 -1
- package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js.map +1 -1
- package/build/components/Rates/components/CardHotel/helpers/index.js +4 -1
- package/build/components/Rates/components/CardHotel/helpers/index.js.map +1 -1
- package/build/components/Rates/components/CardHotel/index.js +4 -1
- package/build/components/Rates/components/CardHotel/index.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.Amenity.js +4 -1
- package/build/components/Rates/components/Filters/Filters.Amenity.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.BookingOption.js +4 -1
- package/build/components/Rates/components/Filters/Filters.BookingOption.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.Button.js +4 -1
- package/build/components/Rates/components/Filters/Filters.Button.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.constants.js +4 -1
- package/build/components/Rates/components/Filters/Filters.constants.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.js +4 -1
- package/build/components/Rates/components/Filters/Filters.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.l10n.js +4 -1
- package/build/components/Rates/components/Filters/Filters.l10n.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.js +4 -1
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js +4 -1
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js +4 -1
- package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js +4 -1
- package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/index.js +4 -1
- package/build/components/Rates/components/Filters/components/InputRange/index.js.map +1 -1
- package/build/components/Rates/components/Filters/components/index.js +4 -1
- package/build/components/Rates/components/Filters/components/index.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/countFilters.js +4 -1
- package/build/components/Rates/components/Filters/helpers/countFilters.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js +4 -1
- package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/getStrictSearch.js +4 -1
- package/build/components/Rates/components/Filters/helpers/getStrictSearch.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/index.js +4 -1
- package/build/components/Rates/components/Filters/helpers/index.js.map +1 -1
- package/build/components/Rates/components/Filters/index.js +4 -1
- package/build/components/Rates/components/Filters/index.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.js +4 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js +4 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/index.js +4 -1
- package/build/components/Rates/components/Hotelverse/index.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Preview.js +4 -1
- package/build/components/Rates/components/Item/Item.Preview.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Rates.js +4 -1
- package/build/components/Rates/components/Item/Item.Rates.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Summary.js +4 -1
- package/build/components/Rates/components/Item/Item.Summary.js.map +1 -1
- package/build/components/Rates/components/Item/Item.js +4 -1
- package/build/components/Rates/components/Item/Item.js.map +1 -1
- package/build/components/Rates/components/Item/Item.l10n.js +4 -1
- package/build/components/Rates/components/Item/Item.l10n.js.map +1 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.js +4 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.js.map +1 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js +4 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js.map +1 -1
- package/build/components/Rates/components/Item/components/Amenities/index.js +4 -1
- package/build/components/Rates/components/Item/components/Amenities/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Countdown/Countdown.js +4 -1
- package/build/components/Rates/components/Item/components/Countdown/Countdown.js.map +1 -1
- package/build/components/Rates/components/Item/components/Countdown/index.js +4 -1
- package/build/components/Rates/components/Item/components/Countdown/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Features/Features.js +4 -1
- package/build/components/Rates/components/Item/components/Features/Features.js.map +1 -1
- package/build/components/Rates/components/Item/components/Features/index.js +4 -1
- package/build/components/Rates/components/Item/components/Features/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js +4 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js +4 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +4 -1
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/index.js +4 -1
- package/build/components/Rates/components/Item/components/ModalInfo/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js +4 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js +4 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js +4 -1
- package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalUrl/index.js +4 -1
- package/build/components/Rates/components/Item/components/ModalUrl/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Option/Option.js +4 -1
- package/build/components/Rates/components/Item/components/Option/Option.js.map +1 -1
- package/build/components/Rates/components/Item/components/Option/index.js +4 -1
- package/build/components/Rates/components/Item/components/Option/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js +4 -1
- package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js +4 -1
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js +4 -1
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/index.js +4 -1
- package/build/components/Rates/components/Item/components/PriceDetails/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js +4 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js.map +1 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js +4 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js.map +1 -1
- package/build/components/Rates/components/Item/components/RateDetails/index.js +4 -1
- package/build/components/Rates/components/Item/components/RateDetails/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/Slider.js +4 -1
- package/build/components/Rates/components/Item/components/Slider/Slider.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js +4 -1
- package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/index.js +4 -1
- package/build/components/Rates/components/Item/components/Slider/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js +4 -1
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js.map +1 -1
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js +4 -1
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js.map +1 -1
- package/build/components/Rates/components/Item/components/TooltipDates/index.js +4 -1
- package/build/components/Rates/components/Item/components/TooltipDates/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/index.js +4 -1
- package/build/components/Rates/components/Item/components/index.js.map +1 -1
- package/build/components/Rates/components/Item/index.js +4 -1
- package/build/components/Rates/components/Item/index.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.js +4 -1
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js +4 -1
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js +4 -1
- package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/helpers/index.js +4 -1
- package/build/components/Rates/components/ModalClubRate/helpers/index.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/index.js +4 -1
- package/build/components/Rates/components/ModalClubRate/index.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js +4 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.js +4 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js +4 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/helpers/getCaption.js +4 -1
- package/build/components/Rates/components/ModalExtras/helpers/getCaption.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/helpers/index.js +4 -1
- package/build/components/Rates/components/ModalExtras/helpers/index.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/index.js +4 -1
- package/build/components/Rates/components/ModalExtras/index.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.js +4 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js +4 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/helpers/customMarker.js +4 -1
- package/build/components/Rates/components/ModalMapView/helpers/customMarker.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/helpers/index.js +4 -1
- package/build/components/Rates/components/ModalMapView/helpers/index.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js +4 -1
- package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/index.js +4 -1
- package/build/components/Rates/components/ModalMapView/index.js.map +1 -1
- package/build/components/Rates/components/index.js +4 -1
- package/build/components/Rates/components/index.js.map +1 -1
- package/build/components/Rates/helpers/fetchRates.js +4 -1
- package/build/components/Rates/helpers/fetchRates.js.map +1 -1
- package/build/components/Rates/helpers/filterItem.js +4 -1
- package/build/components/Rates/helpers/filterItem.js.map +1 -1
- package/build/components/Rates/helpers/getBoard.js +4 -1
- package/build/components/Rates/helpers/getBoard.js.map +1 -1
- package/build/components/Rates/helpers/getCheckoutParams.js +4 -1
- package/build/components/Rates/helpers/getCheckoutParams.js.map +1 -1
- package/build/components/Rates/helpers/getClubInclude.js +4 -1
- package/build/components/Rates/helpers/getClubInclude.js.map +1 -1
- package/build/components/Rates/helpers/getClubRate.js +4 -1
- package/build/components/Rates/helpers/getClubRate.js.map +1 -1
- package/build/components/Rates/helpers/getFeatures.js +4 -1
- package/build/components/Rates/helpers/getFeatures.js.map +1 -1
- package/build/components/Rates/helpers/getFinderParams.js +4 -1
- package/build/components/Rates/helpers/getFinderParams.js.map +1 -1
- package/build/components/Rates/helpers/getForwarderUrl.js +4 -1
- package/build/components/Rates/helpers/getForwarderUrl.js.map +1 -1
- package/build/components/Rates/helpers/getLabelTaxes.js +4 -1
- package/build/components/Rates/helpers/getLabelTaxes.js.map +1 -1
- package/build/components/Rates/helpers/index.js +4 -1
- package/build/components/Rates/helpers/index.js.map +1 -1
- package/build/components/Rates/helpers/select.js +4 -1
- package/build/components/Rates/helpers/select.js.map +1 -1
- package/build/components/Rates/helpers/showClubRate.js +4 -1
- package/build/components/Rates/helpers/showClubRate.js.map +1 -1
- package/build/components/Rates/helpers/signout.js +4 -1
- package/build/components/Rates/helpers/signout.js.map +1 -1
- package/build/components/Rates/index.js +4 -1
- package/build/components/Rates/index.js.map +1 -1
- package/build/components/Session/Session.Account.Info.js +4 -1
- package/build/components/Session/Session.Account.Info.js.map +1 -1
- package/build/components/Session/Session.Account.js +4 -1
- package/build/components/Session/Session.Account.js.map +1 -1
- package/build/components/Session/Session.Login.Modal.js +4 -1
- package/build/components/Session/Session.Login.Modal.js.map +1 -1
- package/build/components/Session/Session.Login.js +4 -1
- package/build/components/Session/Session.Login.js.map +1 -1
- package/build/components/Session/Session.constants.js +4 -1
- package/build/components/Session/Session.constants.js.map +1 -1
- package/build/components/Session/Session.js +4 -1
- package/build/components/Session/Session.js.map +1 -1
- package/build/components/Session/Session.l10n.js +4 -1
- package/build/components/Session/Session.l10n.js.map +1 -1
- package/build/components/Session/helpers/getDomain.js +4 -1
- package/build/components/Session/helpers/getDomain.js.map +1 -1
- package/build/components/Session/helpers/getProfileUrl.js +4 -1
- package/build/components/Session/helpers/getProfileUrl.js.map +1 -1
- package/build/components/Session/helpers/getSignupUrl.js +4 -1
- package/build/components/Session/helpers/getSignupUrl.js.map +1 -1
- package/build/components/Session/helpers/index.js +4 -1
- package/build/components/Session/helpers/index.js.map +1 -1
- package/build/components/Session/index.js +4 -1
- package/build/components/Session/index.js.map +1 -1
- package/build/components/Signup/Signup.constants.js +4 -1
- package/build/components/Signup/Signup.constants.js.map +1 -1
- package/build/components/Signup/Signup.js +4 -1
- package/build/components/Signup/Signup.js.map +1 -1
- package/build/components/Signup/Signup.l10n.js +4 -1
- package/build/components/Signup/Signup.l10n.js.map +1 -1
- package/build/components/Signup/index.js +4 -1
- package/build/components/Signup/index.js.map +1 -1
- package/build/components/__shared__/BookingDates/BookingDates.constants.js +4 -1
- package/build/components/__shared__/BookingDates/BookingDates.constants.js.map +1 -1
- package/build/components/__shared__/BookingDates/BookingDates.js +4 -1
- package/build/components/__shared__/BookingDates/BookingDates.js.map +1 -1
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js +4 -1
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js.map +1 -1
- package/build/components/__shared__/BookingDates/index.js +4 -1
- package/build/components/__shared__/BookingDates/index.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.constants.js +4 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.constants.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.js +4 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js +4 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js.map +1 -1
- package/build/components/__shared__/BookingDetails/index.js +4 -1
- package/build/components/__shared__/BookingDetails/index.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.constants.js +4 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.constants.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.js +4 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js +4 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js.map +1 -1
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js +4 -1
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js.map +1 -1
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js +4 -1
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js.map +1 -1
- package/build/components/__shared__/BookingSummary/index.js +4 -1
- package/build/components/__shared__/BookingSummary/index.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.Row.js +4 -1
- package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.constants.js +4 -1
- package/build/components/__shared__/BookingTable/BookingTable.constants.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.js +4 -1
- package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js +4 -1
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -1
- package/build/components/__shared__/BookingTable/index.js +4 -1
- package/build/components/__shared__/BookingTable/index.js.map +1 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.js +4 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js +4 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js.map +1 -1
- package/build/components/__shared__/BookingTerms/index.js +4 -1
- package/build/components/__shared__/BookingTerms/index.js.map +1 -1
- package/build/components/__shared__/ButtonMore/ButtonMore.js +4 -1
- package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -1
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js +4 -1
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonMore/index.js +4 -1
- package/build/components/__shared__/ButtonMore/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +4 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js +4 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +4 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/Form/Form.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/Form/Form.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/Form/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/Form/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/components/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js +4 -1
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/index.js +4 -1
- package/build/components/__shared__/ButtonPayment/index.js.map +1 -1
- package/build/components/__shared__/Card/Card.js +4 -1
- package/build/components/__shared__/Card/Card.js.map +1 -1
- package/build/components/__shared__/Card/Cards.js +4 -1
- package/build/components/__shared__/Card/Cards.js.map +1 -1
- package/build/components/__shared__/Card/index.js +4 -1
- package/build/components/__shared__/Card/index.js.map +1 -1
- package/build/components/__shared__/Countdown/Countdown.js +4 -1
- package/build/components/__shared__/Countdown/Countdown.js.map +1 -1
- package/build/components/__shared__/Countdown/Countdown.l10n.js +4 -1
- package/build/components/__shared__/Countdown/Countdown.l10n.js.map +1 -1
- package/build/components/__shared__/Countdown/index.js +4 -1
- package/build/components/__shared__/Countdown/index.js.map +1 -1
- package/build/components/__shared__/Field/Field.js +4 -1
- package/build/components/__shared__/Field/Field.js.map +1 -1
- package/build/components/__shared__/Field/index.js +4 -1
- package/build/components/__shared__/Field/index.js.map +1 -1
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js +4 -1
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -1
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js +4 -1
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js.map +1 -1
- package/build/components/__shared__/FieldOccupation/index.js +4 -1
- package/build/components/__shared__/FieldOccupation/index.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js +4 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js +4 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js +4 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/index.js +4 -1
- package/build/components/__shared__/FieldPromocode/index.js.map +1 -1
- package/build/components/__shared__/Footer/Footer.js +4 -1
- package/build/components/__shared__/Footer/Footer.js.map +1 -1
- package/build/components/__shared__/Footer/Footer.l10n.js +4 -1
- package/build/components/__shared__/Footer/Footer.l10n.js.map +1 -1
- package/build/components/__shared__/Footer/index.js +4 -1
- package/build/components/__shared__/Footer/index.js.map +1 -1
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js +4 -1
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js.map +1 -1
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js +4 -1
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js.map +1 -1
- package/build/components/__shared__/NotificationRequiredFields/index.js +4 -1
- package/build/components/__shared__/NotificationRequiredFields/index.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.Group.js +4 -1
- package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.constants.js +4 -1
- package/build/components/__shared__/Occupation/Occupation.constants.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.js +4 -1
- package/build/components/__shared__/Occupation/Occupation.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.l10n.js +4 -1
- package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/checkRoom.js +4 -1
- package/build/components/__shared__/Occupation/helpers/checkRoom.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js +4 -1
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js +4 -1
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js +4 -1
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/index.js +4 -1
- package/build/components/__shared__/Occupation/helpers/index.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/toParties.js +4 -1
- package/build/components/__shared__/Occupation/helpers/toParties.js.map +1 -1
- package/build/components/__shared__/Occupation/index.js +4 -1
- package/build/components/__shared__/Occupation/index.js.map +1 -1
- package/build/components/__shared__/Payment/Payment.constants.js +4 -1
- package/build/components/__shared__/Payment/Payment.constants.js.map +1 -1
- package/build/components/__shared__/Payment/Payment.js +4 -1
- package/build/components/__shared__/Payment/Payment.js.map +1 -1
- package/build/components/__shared__/Payment/Payment.l10n.js +4 -1
- package/build/components/__shared__/Payment/Payment.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js +4 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +4 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js +4 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js +4 -1
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js +4 -1
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/index.js +4 -1
- package/build/components/__shared__/Payment/components/AmazonPay/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +4 -1
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -1
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js +4 -1
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/Aplazame/index.js +4 -1
- package/build/components/__shared__/Payment/components/Aplazame/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/Card.constants.js +4 -1
- package/build/components/__shared__/Payment/components/Card/Card.constants.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/Card.js +4 -1
- package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js +4 -1
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +4 -1
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js +4 -1
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +4 -1
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/index.js +4 -1
- package/build/components/__shared__/Payment/components/Card/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js +4 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +4 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js +4 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/index.js +4 -1
- package/build/components/__shared__/Payment/components/Card/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +4 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.js +4 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js +4 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +4 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js +4 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js +4 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/index.js +4 -1
- package/build/components/__shared__/Payment/components/PCI/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js +4 -1
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js.map +1 -1
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js +4 -1
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/Tpv/index.js +4 -1
- package/build/components/__shared__/Payment/components/Tpv/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/index.js +4 -1
- package/build/components/__shared__/Payment/components/index.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/formatExpire.js +4 -1
- package/build/components/__shared__/Payment/helpers/formatExpire.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/getCaption.js +4 -1
- package/build/components/__shared__/Payment/helpers/getCaption.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/getComponent.js +4 -1
- package/build/components/__shared__/Payment/helpers/getComponent.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/getImage.js +4 -1
- package/build/components/__shared__/Payment/helpers/getImage.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/index.js +4 -1
- package/build/components/__shared__/Payment/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/index.js +4 -1
- package/build/components/__shared__/Payment/index.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +4 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +4 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js +4 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/index.js +4 -1
- package/build/components/__shared__/PriceBreakdown/index.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js +4 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js +4 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js +4 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/index.js +4 -1
- package/build/components/__shared__/SelectEnvironment/index.js.map +1 -1
- package/build/components/__shared__/Skeleton/Skeleton.js +4 -1
- package/build/components/__shared__/Skeleton/Skeleton.js.map +1 -1
- package/build/components/__shared__/Skeleton/index.js +4 -1
- package/build/components/__shared__/Skeleton/index.js.map +1 -1
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js +4 -1
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js.map +1 -1
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js +4 -1
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js.map +1 -1
- package/build/components/__shared__/TextRequiredFields/index.js +4 -1
- package/build/components/__shared__/TextRequiredFields/index.js.map +1 -1
- package/build/components/__shared__/index.js +4 -1
- package/build/components/__shared__/index.js.map +1 -1
- package/build/components/helpers/ICON.AMENITIES.js +4 -1
- package/build/components/helpers/ICON.AMENITIES.js.map +1 -1
- package/build/components/helpers/ICON.js +4 -1
- package/build/components/helpers/ICON.js.map +1 -1
- package/build/components/helpers/addScript.js +4 -1
- package/build/components/helpers/addScript.js.map +1 -1
- package/build/components/helpers/constants.js +4 -1
- package/build/components/helpers/constants.js.map +1 -1
- package/build/components/helpers/generateId.js +4 -1
- package/build/components/helpers/generateId.js.map +1 -1
- package/build/components/helpers/getAccommodationLabel.js +4 -1
- package/build/components/helpers/getAccommodationLabel.js.map +1 -1
- package/build/components/helpers/getAccommodationType.js +4 -1
- package/build/components/helpers/getAccommodationType.js.map +1 -1
- package/build/components/helpers/getAgeRange.js +4 -1
- package/build/components/helpers/getAgeRange.js.map +1 -1
- package/build/components/helpers/getCalendarCaption.js +4 -1
- package/build/components/helpers/getCalendarCaption.js.map +1 -1
- package/build/components/helpers/getCountryCode.js +4 -1
- package/build/components/helpers/getCountryCode.js.map +1 -1
- package/build/components/helpers/getGuestLabel.js +4 -1
- package/build/components/helpers/getGuestLabel.js.map +1 -1
- package/build/components/helpers/getNormalizedLocale.js +4 -1
- package/build/components/helpers/getNormalizedLocale.js.map +1 -1
- package/build/components/helpers/getOccupationLabel.js +4 -1
- package/build/components/helpers/getOccupationLabel.js.map +1 -1
- package/build/components/helpers/getOccupationSummary.js +4 -1
- package/build/components/helpers/getOccupationSummary.js.map +1 -1
- package/build/components/helpers/getOccupationTotals.js +4 -1
- package/build/components/helpers/getOccupationTotals.js.map +1 -1
- package/build/components/helpers/getRoomNumber.js +4 -1
- package/build/components/helpers/getRoomNumber.js.map +1 -1
- package/build/components/helpers/getRoomOccupationLabel.js +4 -1
- package/build/components/helpers/getRoomOccupationLabel.js.map +1 -1
- package/build/components/helpers/index.js +4 -1
- package/build/components/helpers/index.js.map +1 -1
- package/build/components/helpers/isJest.js +4 -1
- package/build/components/helpers/isJest.js.map +1 -1
- package/build/components/helpers/opacity.js +4 -1
- package/build/components/helpers/opacity.js.map +1 -1
- package/build/components/helpers/parseHtml.js +4 -1
- package/build/components/helpers/parseHtml.js.map +1 -1
- package/build/components/helpers/parseToParties.js +4 -1
- package/build/components/helpers/parseToParties.js.map +1 -1
- package/build/components/helpers/parseValue.js +4 -1
- package/build/components/helpers/parseValue.js.map +1 -1
- package/build/components/helpers/replaceUrlParams.js +4 -1
- package/build/components/helpers/replaceUrlParams.js.map +1 -1
- package/build/components/helpers/template.js +4 -1
- package/build/components/helpers/template.js.map +1 -1
- package/build/components/helpers/testPassword.js +4 -1
- package/build/components/helpers/testPassword.js.map +1 -1
- package/build/components/helpers/toQueryString.js +4 -1
- package/build/components/helpers/toQueryString.js.map +1 -1
- package/build/components/helpers/toUrlParams.js +4 -1
- package/build/components/helpers/toUrlParams.js.map +1 -1
- package/build/components/helpers/trace.js +4 -1
- package/build/components/helpers/trace.js.map +1 -1
- package/build/components/helpers/valueFormat.js +4 -1
- package/build/components/helpers/valueFormat.js.map +1 -1
- package/build/components/index.js +4 -1
- package/build/components/index.js.map +1 -1
- package/build/contexts/EventManager/EventManager.constants.js +4 -1
- package/build/contexts/EventManager/EventManager.constants.js.map +1 -1
- package/build/contexts/EventManager/EventManager.js +4 -1
- package/build/contexts/EventManager/EventManager.js.map +1 -1
- package/build/contexts/EventManager/index.js +4 -1
- package/build/contexts/EventManager/index.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.constants.js +4 -1
- package/build/contexts/PerformanceManager/PerformanceManager.constants.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.events.js +4 -1
- package/build/contexts/PerformanceManager/PerformanceManager.events.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.js +4 -1
- package/build/contexts/PerformanceManager/PerformanceManager.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.scripts.js +4 -1
- package/build/contexts/PerformanceManager/PerformanceManager.scripts.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/dataLayerPush.js +4 -1
- package/build/contexts/PerformanceManager/helpers/dataLayerPush.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/getConsentMode.js +4 -1
- package/build/contexts/PerformanceManager/helpers/getConsentMode.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js +4 -1
- package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/index.js +4 -1
- package/build/contexts/PerformanceManager/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/index.js +4 -1
- package/build/contexts/PerformanceManager/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/affilired/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/affilired/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/finderReady.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/finderReady.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/logged.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/logged.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/bing/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/bing/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/googleAds/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/googleAds/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/finderReady.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/finderReady.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/SHA256.js +4 -1
- package/build/contexts/PerformanceManager/providers/helpers/SHA256.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js +4 -1
- package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js +4 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js +4 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js +4 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/legacy.js +4 -1
- package/build/contexts/PerformanceManager/providers/helpers/legacy.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js +4 -1
- package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/mirai/index.js +4 -1
- package/build/contexts/PerformanceManager/providers/mirai/index.js.map +1 -1
- package/build/contexts/index.js +4 -1
- package/build/contexts/index.js.map +1 -1
- package/build/helpers/checkSession.js +4 -1
- package/build/helpers/checkSession.js.map +1 -1
- package/build/helpers/consolidateStore.js +4 -1
- package/build/helpers/consolidateStore.js.map +1 -1
- package/build/helpers/debounce.js +4 -1
- package/build/helpers/debounce.js.map +1 -1
- package/build/helpers/fetchConfig.js +4 -1
- package/build/helpers/fetchConfig.js.map +1 -1
- package/build/helpers/fetchCookies.js +4 -1
- package/build/helpers/fetchCookies.js.map +1 -1
- package/build/helpers/fetchCurrency.js +4 -1
- package/build/helpers/fetchCurrency.js.map +1 -1
- package/build/helpers/fetchSession.js +4 -1
- package/build/helpers/fetchSession.js.map +1 -1
- package/build/helpers/fetchUrlParams.js +4 -1
- package/build/helpers/fetchUrlParams.js.map +1 -1
- package/build/helpers/findComponents.js +4 -1
- package/build/helpers/findComponents.js.map +1 -1
- package/build/helpers/findDangerousCSSRules.js +4 -1
- package/build/helpers/findDangerousCSSRules.js.map +1 -1
- package/build/helpers/findInstance.js +4 -1
- package/build/helpers/findInstance.js.map +1 -1
- package/build/helpers/getAccommodationType.js +4 -1
- package/build/helpers/getAccommodationType.js.map +1 -1
- package/build/helpers/getClubUrl.js +4 -1
- package/build/helpers/getClubUrl.js.map +1 -1
- package/build/helpers/getContents.js +4 -1
- package/build/helpers/getContents.js.map +1 -1
- package/build/helpers/getGhost.js +4 -1
- package/build/helpers/getGhost.js.map +1 -1
- package/build/helpers/getLocale.js +4 -1
- package/build/helpers/getLocale.js.map +1 -1
- package/build/helpers/getMetaRates.js +4 -1
- package/build/helpers/getMetaRates.js.map +1 -1
- package/build/helpers/getPerformance.js +4 -1
- package/build/helpers/getPerformance.js.map +1 -1
- package/build/helpers/getTags.js +4 -1
- package/build/helpers/getTags.js.map +1 -1
- package/build/helpers/index.js +4 -1
- package/build/helpers/index.js.map +1 -1
- package/build/helpers/loadEnvironment.js +4 -1
- package/build/helpers/loadEnvironment.js.map +1 -1
- package/build/helpers/loadScript.js +4 -1
- package/build/helpers/loadScript.js.map +1 -1
- package/build/helpers/loadSentry.js +6 -4
- package/build/helpers/loadSentry.js.map +1 -1
- package/build/helpers/prepareRoom.js +4 -1
- package/build/helpers/prepareRoom.js.map +1 -1
- package/build/helpers/sanitizeComponent.js +4 -1
- package/build/helpers/sanitizeComponent.js.map +1 -1
- package/build/helpers/theme.js +4 -1
- package/build/helpers/theme.js.map +1 -1
- package/build/helpers/themeDirection.js +4 -1
- package/build/helpers/themeDirection.js.map +1 -1
- package/build/helpers/toOccupation.js +4 -1
- package/build/helpers/toOccupation.js.map +1 -1
- package/build/index.js +24 -21
- package/build/index.js.map +1 -1
- package/package.json +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getButtonPaymentKey.js","
|
|
1
|
+
{"version":3,"file":"getButtonPaymentKey.js","sources":["../../../../src/components/Checkout/helpers/getButtonPaymentKey.js"],"sourcesContent":["import { dateDiff, parseDate, UTC } from '@mirai/locale';\n\nimport { L10N } from './getButtonPaymentKey.l10n';\nimport { PAYMENT_METHOD, PAYMENT_PROVIDER } from '../../helpers';\n\nconst { BIZUM, CARD, TPV } = PAYMENT_METHOD;\nconst { ACTION_BOOK_NOW, ACTION_NEXT, ACTION_PAY_NOW } = L10N;\n\nexport const getButtonPaymentKey = ({ cardValidation, date, method, provider } = {}) =>\n [BIZUM, TPV].includes(method)\n ? date && dateDiff(UTC(new Date()), parseDate(date)).days > 0\n ? ACTION_BOOK_NOW\n : ACTION_PAY_NOW\n : cardValidation && method === CARD && provider === PAYMENT_PROVIDER.ADDON\n ? ACTION_NEXT\n : ACTION_BOOK_NOW;\n"],"names":["_locale","require","_getButtonPaymentKey","_helpers","BIZUM","CARD","TPV","PAYMENT_METHOD","ACTION_BOOK_NOW","ACTION_NEXT","ACTION_PAY_NOW","L10N","getButtonPaymentKey","cardValidation","date","method","provider","arguments","length","undefined","includes","dateDiff","UTC","Date","parseDate","days","PAYMENT_PROVIDER","ADDON","exports"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,oBAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,MAAM;EAAEG,KAAK;EAAEC,IAAI;EAAEC;AAAI,CAAC,GAAGC,uBAAc;AAC3C,MAAM;EAAEC,eAAe;EAAEC,WAAW;EAAEC;AAAe,CAAC,GAAGC,yBAAI;AAEtD,MAAMC,mBAAmB,GAAG,SAAAA,CAAA;EAAA,IAAC;IAAEC,cAAc;IAAEC,IAAI;IAAEC,MAAM;IAAEC;EAAS,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,OACjF,CAACb,KAAK,EAAEE,GAAG,CAAC,CAACc,QAAQ,CAACL,MAAM,CAAC,GACzBD,IAAI,IAAI,IAAAO,gBAAQ,EAAC,IAAAC,WAAG,EAAC,IAAIC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAAC,iBAAS,EAACV,IAAI,CAAC,CAAC,CAACW,IAAI,GAAG,CAAC,GACzDjB,eAAe,GACfE,cAAc,GAChBG,cAAc,IAAIE,MAAM,KAAKV,IAAI,IAAIW,QAAQ,KAAKU,yBAAgB,CAACC,KAAK,GACxElB,WAAW,GACXD,eAAe;AAAA;AAACoB,OAAA,CAAAhB,mBAAA,GAAAA,mBAAA","debug_id":"7d085908-5a38-5f2d-95af-5a20c13c0953"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7fd326c6-a7e9-51ff-a809-72897e983cc4")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -15,4 +17,5 @@ const L10N = exports.L10N = {
|
|
|
15
17
|
id: 'user.action.pay_now'
|
|
16
18
|
}
|
|
17
19
|
};
|
|
18
|
-
//# sourceMappingURL=getButtonPaymentKey.l10n.js.map
|
|
20
|
+
//# sourceMappingURL=getButtonPaymentKey.l10n.js.map
|
|
21
|
+
//# debugId=7fd326c6-a7e9-51ff-a809-72897e983cc4
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getButtonPaymentKey.l10n.js","
|
|
1
|
+
{"version":3,"file":"getButtonPaymentKey.l10n.js","sources":["../../../../src/components/Checkout/helpers/getButtonPaymentKey.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_BOOK_NOW: { id: 'user.action.book_now' },\n ACTION_NEXT: { id: 'user.action.next' },\n ACTION_PAY_NOW: { id: 'user.action.pay_now' },\n};\n"],"names":["L10N","exports","ACTION_BOOK_NOW","id","ACTION_NEXT","ACTION_PAY_NOW"],"mappings":";;;;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,eAAe,EAAE;IAAEC,EAAE,EAAE;EAAuB,CAAC;EAC/CC,WAAW,EAAE;IAAED,EAAE,EAAE;EAAmB,CAAC;EACvCE,cAAc,EAAE;IAAEF,EAAE,EAAE;EAAsB;AAC9C,CAAC","debug_id":"7fd326c6-a7e9-51ff-a809-72897e983cc4"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="dfce8e29-c1a7-5c67-abfb-2472fd134545")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -82,4 +84,5 @@ const getFieldProps = function () {
|
|
|
82
84
|
};
|
|
83
85
|
};
|
|
84
86
|
exports.getFieldProps = getFieldProps;
|
|
85
|
-
//# sourceMappingURL=getFieldProps.js.map
|
|
87
|
+
//# sourceMappingURL=getFieldProps.js.map
|
|
88
|
+
//# debugId=dfce8e29-c1a7-5c67-abfb-2472fd134545
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFieldProps.js","
|
|
1
|
+
{"version":3,"file":"getFieldProps.js","sources":["../../../../src/components/Checkout/helpers/getFieldProps.js"],"sourcesContent":["import { Action } from '@mirai/ui';\nimport React from 'react';\n\nimport { testDNI } from './testDNI';\nimport { parseHtml } from '../../helpers';\nimport { INPUT, INPUT_TYPE } from '../Checkout.constants';\nimport { L10N } from '../Checkout.l10n';\nimport * as style from '../Checkout.module.css';\n\nconst { OPTION, PHONE, HTML } = INPUT;\n\nexport const getFieldProps = (\n field = '',\n { input, type, ...props } = {},\n { value, error, otherConditions, session, translate = () => {} } = {},\n { name = '', url: { conditions = '' } = {} } = {},\n onPress = () => {},\n) => ({\n ...props,\n checked: input === OPTION ? (value !== undefined ? value : props.checked) || false : undefined,\n children: input === HTML && props.children ? parseHtml(props.children, { small: true }) : undefined,\n disabled: (field === 'email' && session) || undefined,\n error: field !== 'phone' ? value?.length > 0 && !!error : value?.length > 5 && !!error,\n hint: translate(L10N[`${field.toUpperCase()}_HINT`]),\n id: field ? `checkout-${field}` : undefined,\n key: field,\n label:\n props.label ||\n translate(L10N[`LABEL_${field.toUpperCase()}`], {\n club: name,\n clubLink: (\n <Action href={conditions} small target=\"_blank\" style={{ display: 'inline' }}>\n {translate(L10N.LABEL_TERMS_AND_CONDITIONS)}\n </Action>\n ),\n otherConditions: !!otherConditions,\n termsLink: (\n <Action small onPress={onPress} style={{ display: 'inline' }}>\n {translate(L10N.ACTION_MORE_INFO)}\n </Action>\n ),\n }) ||\n field,\n labelPrefix: field === 'phone' ? translate(L10N.LABEL_PHONE_PREFIX) : undefined,\n name: field,\n showRequired: true,\n small: [OPTION, HTML].includes(input),\n success: field !== 'phone' ? !!value && !error : value?.length > 4 && !error,\n test: field === 'dni' ? testDNI : undefined,\n type:\n type === INPUT_TYPE.NUMBER\n ? 'number'\n : type === INPUT_TYPE.EMAIL\n ? 'email'\n : input === PHONE\n ? 'inputPhone'\n : input === OPTION\n ? 'checkbox'\n : undefined,\n value: value || props.value,\n className:\n ['address', 'company', 'comments'].includes(field) || [OPTION, HTML].includes(input) ? style.wide : style.half,\n});\n"],"names":["_ui","require","_react","_interopRequireDefault","_testDNI","_helpers","_Checkout","_Checkout2","style","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","OPTION","PHONE","HTML","INPUT","getFieldProps","field","arguments","length","undefined","input","type","props","value","error","otherConditions","session","translate","name","url","conditions","onPress","checked","children","parseHtml","small","disabled","hint","L10N","concat","toUpperCase","id","key","label","club","clubLink","createElement","Action","href","target","display","LABEL_TERMS_AND_CONDITIONS","termsLink","ACTION_MORE_INFO","labelPrefix","LABEL_PHONE_PREFIX","showRequired","includes","success","test","testDNI","INPUT_TYPE","NUMB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AAA,aAAA","debug_id":"dfce8e29-c1a7-5c67-abfb-2472fd134545"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="39f8e63a-69ca-5b45-b304-7fa113312abe")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -15,4 +17,5 @@ const getSchemaProps = function () {
|
|
|
15
17
|
}));
|
|
16
18
|
};
|
|
17
19
|
exports.getSchemaProps = getSchemaProps;
|
|
18
|
-
//# sourceMappingURL=getSchemaProps.js.map
|
|
20
|
+
//# sourceMappingURL=getSchemaProps.js.map
|
|
21
|
+
//# debugId=39f8e63a-69ca-5b45-b304-7fa113312abe
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSchemaProps.js","
|
|
1
|
+
{"version":3,"file":"getSchemaProps.js","sources":["../../../../src/components/Checkout/helpers/getSchemaProps.js"],"sourcesContent":["export const getSchemaProps = ({ schema = {}, value = {} } = {}) =>\n Object.fromEntries(Object.entries(value).filter(([key]) => schema[key]));\n"],"names":["getSchemaProps","schema","value","arguments","length","undefined","Object","fromEntries","entries","filter","_ref","key","exports"],"mappings":";;;;;;;;AAAO,MAAMA,cAAc,GAAG,SAAAA,CAAA;EAAA,IAAC;IAAEC,MAAM,GAAG,CAAC,CAAC;IAAEC,KAAK,GAAG,CAAC;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,OAC7DG,MAAM,CAACC,WAAW,CAACD,MAAM,CAACE,OAAO,CAACN,KAAK,CAAC,CAACO,MAAM,CAACC,IAAA;IAAA,IAAC,CAACC,GAAG,CAAC,GAAAD,IAAA;IAAA,OAAKT,MAAM,CAACU,GAAG,CAAC;EAAA,EAAC,CAAC;AAAA;AAACC,OAAA,CAAAZ,cAAA,GAAAA,cAAA","debug_id":"39f8e63a-69ca-5b45-b304-7fa113312abe"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8769b13f-daa7-5255-bdeb-dd5a5ce50d93")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -25,4 +27,5 @@ const getVariant = function () {
|
|
|
25
27
|
return value || DEFAULT_VARIANT;
|
|
26
28
|
};
|
|
27
29
|
exports.getVariant = getVariant;
|
|
28
|
-
//# sourceMappingURL=getVariant.js.map
|
|
30
|
+
//# sourceMappingURL=getVariant.js.map
|
|
31
|
+
//# debugId=8769b13f-daa7-5255-bdeb-dd5a5ce50d93
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVariant.js","
|
|
1
|
+
{"version":3,"file":"getVariant.js","sources":["../../../../src/components/Checkout/helpers/getVariant.js"],"sourcesContent":["import { ServiceFeatures } from '@mirai/services';\n\nimport { FEATURE_CHECKOUT_EXPERIMENT, VARIANTS } from '../Checkout.constants';\n\nconst [DEFAULT_VARIANT] = VARIANTS || [];\n\nexport const getVariant = ({ id, isDesktop = true, urlParams: { variant: urlVariant } = {} } = {}) => {\n if (isDesktop) return;\n\n let value;\n\n if (VARIANTS.includes(urlVariant)) {\n value = urlVariant;\n } else if (ServiceFeatures.get(FEATURE_CHECKOUT_EXPERIMENT, id)) {\n value = VARIANTS[Math.floor(Math.random() * VARIANTS.length)];\n }\n\n return value || DEFAULT_VARIANT;\n};\n"],"names":["_services","require","_Checkout","DEFAULT_VARIANT","VARIANTS","getVariant","id","isDesktop","urlParams","variant","urlVariant","arguments","length","undefined","value","includes","ServiceFeatures","get","FEATURE_CHECKOUT_EXPERIMENT","Math","floor","random","exports"],"mappings":";;;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAD,OAAA;AAEA,MAAM,CAACE,eAAe,CAAC,GAAGC,kBAAQ,IAAI,EAAE;AAEjC,MAAMC,UAAU,GAAG,SAAAA,CAAA,EAA4E;EAAA,IAA3E;IAAEC,EAAE;IAAEC,SAAS,GAAG,IAAI;IAAEC,SAAS,EAAE;MAAEC,OAAO,EAAEC;IAAW,CAAC,GAAG,CAAC;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC/F,IAAIJ,SAAS,EAAE;EAEf,IAAIO,KAAK;EAET,IAAIV,kBAAQ,CAACW,QAAQ,CAACL,UAAU,CAAC,EAAE;IACjCI,KAAK,GAAGJ,UAAU;EACpB,CAAC,MAAM,IAAIM,yBAAe,CAACC,GAAG,CAACC,qCAA2B,EAAEZ,EAAE,CAAC,EAAE;IAC/DQ,KAAK,GAAGV,kBAAQ,CAACe,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,MAAM,CAAC,CAAC,GAAGjB,kBAAQ,CAACQ,MAAM,CAAC,CAAC;EAC/D;EAEA,OAAOE,KAAK,IAAIX,eAAe;AACjC,CAAC;AAACmB,OAAA,CAAAjB,UAAA,GAAAA,UAAA","debug_id":"8769b13f-daa7-5255-bdeb-dd5a5ce50d93"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="798ca110-5557-541c-8a93-735b0c27948b")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -47,4 +49,5 @@ Object.keys(_getVariant).forEach(function (key) {
|
|
|
47
49
|
}
|
|
48
50
|
});
|
|
49
51
|
});
|
|
50
|
-
//# sourceMappingURL=index.js.map
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
53
|
+
//# debugId=798ca110-5557-541c-8a93-735b0c27948b
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/Checkout/helpers/index.js"],"sourcesContent":["export * from './getButtonPaymentKey';\nexport * from './getFieldProps';\nexport * from './getSchemaProps';\nexport * from './getVariant';\n"],"names":["_getButtonPaymentKey","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_getFieldProps","_getSchemaProps","_getVariant"],"mappings":";;;;;;;AAAA,IAAAA,oBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,oBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,oBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,oBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,cAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,cAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,cAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,cAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,eAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,eAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,eAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,eAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,WAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,WAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,WAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,WAAA,CAAAP,GAAA;IAAA;EAAA;AAAA","debug_id":"798ca110-5557-541c-8a93-735b0c27948b"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0e05ca8a-aaef-5259-900c-d16793f5ce9f")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -10,4 +12,5 @@ const testDNI = dni => {
|
|
|
10
12
|
return 'TRWAGMYFPDXBNJZSQVHLCKET'[number] === dni.toUpperCase().slice(-1);
|
|
11
13
|
};
|
|
12
14
|
exports.testDNI = testDNI;
|
|
13
|
-
//# sourceMappingURL=testDNI.js.map
|
|
15
|
+
//# sourceMappingURL=testDNI.js.map
|
|
16
|
+
//# debugId=0e05ca8a-aaef-5259-900c-d16793f5ce9f
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testDNI.js","
|
|
1
|
+
{"version":3,"file":"testDNI.js","sources":["../../../../src/components/Checkout/helpers/testDNI.js"],"sourcesContent":["export const testDNI = (dni) => {\n if (typeof dni !== 'string' || !/^[XYZ]?\\d{5,8}[A-Z]$/.test(dni)) return false;\n const number = dni.toUpperCase().slice(0, -1).replace('X', 0).replace('Y', 1).replace('Z', 2) % 23;\n\n return 'TRWAGMYFPDXBNJZSQVHLCKET'[number] === dni.toUpperCase().slice(-1);\n};\n"],"names":["testDNI","dni","test","number","toUpperCase","slice","replace","exports"],"mappings":";;;;;;;;AAAO,MAAMA,OAAO,GAAIC,GAAG,IAAK;EAC9B,IAAI,OAAOA,GAAG,KAAK,QAAQ,IAAI,CAAC,sBAAsB,CAACC,IAAI,CAACD,GAAG,CAAC,EAAE,OAAO,KAAK;EAC9E,MAAME,MAAM,GAAGF,GAAG,CAACG,WAAW,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAACC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAACA,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAACA,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE;EAElG,OAAO,0BAA0B,CAACH,MAAM,CAAC,KAAKF,GAAG,CAACG,WAAW,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC;AAACE,OAAA,CAAAP,OAAA,GAAAA,OAAA","debug_id":"0e05ca8a-aaef-5259-900c-d16793f5ce9f"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c927423f-8923-5ff6-9e1b-b63437425b61")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -10,4 +12,5 @@ Object.defineProperty(exports, "Checkout", {
|
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
14
|
var _Checkout = require("./Checkout");
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
16
|
+
//# debugId=c927423f-8923-5ff6-9e1b-b63437425b61
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Checkout/index.js"],"sourcesContent":["export { Checkout } from './Checkout';\n"],"names":["_Checkout","require"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA","debug_id":"c927423f-8923-5ff6-9e1b-b63437425b61"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8305b27a-a162-5254-abab-67e248a7779e")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -170,4 +172,5 @@ Confirmation.propTypes = {
|
|
|
170
172
|
onError: _propTypes.default.func,
|
|
171
173
|
onValid: _propTypes.default.func
|
|
172
174
|
};
|
|
173
|
-
//# sourceMappingURL=Checkout.Confirmation.js.map
|
|
175
|
+
//# sourceMappingURL=Checkout.Confirmation.js.map
|
|
176
|
+
//# debugId=8305b27a-a162-5254-abab-67e248a7779e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkout.Confirmation.js","names":["_dataSources","require","_locale","_services","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Core","_shared__","_BookingSummary","_helpers","_Checkout","style","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","Confirmation","_ref","dataSource","error","onError","onValid","others","isDesktop","useDevice","translate","useLocale","value","checkout","hotel","language","locale","payment","session","urlParams","useStore","refContainer","useRef","busy","setBusy","useState","responseError","setResponseError","useEffect","current","Event","publish","EVENT","FOOTER_HEIGHT_CHANGE","height","offsetHeight","price","prepayment","currency","method","handleError","handlePress","METRICS","id","handleSubmit","response","ServiceBooking","confirm","form","applyClubDiscount","undefined","catch","NOTIFICATION","small","defaultMessage","L10N","NOTIFICATION_ERROR","code","ERROR","UNKNOWN","CTA","_config$publicKey","_dataSource$payment","config","idtokenprovider","createElement","ButtonPayment","publicKey","large","promise","wide","onPress","testId","getButtonPaymentKey","info","amount","currencyFormat","content","Fragment","BookingSummary","View","className","section","Notification","Text","light","footer","NOTIFICATION_SSL_ENCRYPTION","ref","confirmation","exports","displayName","propTypes","PropTypes","shape","bool","func"],"sources":["../../../../src/components/Checkout/partials/Checkout.Confirmation.jsx"],"sourcesContent":["import { Event, useStore } from '@mirai/data-sources';\nimport { currencyFormat, useLocale } from '@mirai/locale';\nimport { ServiceBooking } from '@mirai/services';\nimport { Notification, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useRef, useState } from 'react';\n\nimport { ERROR } from '../../../Core.constants';\nimport { ButtonPayment } from '../../__shared__';\nimport { BookingSummary } from '../../__shared__/BookingSummary';\nimport { EVENT } from '../../helpers';\nimport { L10N } from '../Checkout.l10n';\nimport * as style from '../Checkout.module.css';\nimport { getButtonPaymentKey } from '../helpers';\n\nconst Confirmation = ({ dataSource = {}, error = false, onError, onValid, ...others }) => {\n const { isDesktop } = useDevice();\n const { translate } = useLocale();\n const { value: { checkout, hotel = {}, language, locale, payment, session = {}, urlParams = {} } = {} } = useStore();\n const refContainer = useRef();\n\n const [busy, setBusy] = useState(false);\n const [responseError, setResponseError] = useState();\n\n useEffect(() => {\n !isDesktop &&\n refContainer?.current &&\n Event.publish(EVENT.FOOTER_HEIGHT_CHANGE, { height: refContainer?.current.offsetHeight });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => setResponseError(), [checkout, payment]);\n\n const { price: { prepayment = {} } = {} } = dataSource;\n const { currency, value } = prepayment[payment?.method] || {};\n\n const handleError = () => setBusy(false);\n\n const handlePress = () => {\n if (error) {\n Event.publish(EVENT.METRICS, { id: 'CHECKOUT:SUBMIT' });\n onError();\n return false;\n }\n setBusy(true);\n };\n\n const handleSubmit = async (value) => {\n if (error) return onError();\n Event.publish(EVENT.METRICS, { id: 'CHECKOUT:SUBMIT' });\n\n onValid();\n setResponseError();\n const response = await ServiceBooking.confirm({\n form: checkout,\n dataSource,\n language,\n payment: { ...payment, ...value },\n session: urlParams.applyClubDiscount === 'true' ? session : undefined,\n ...urlParams,\n }).catch((error) => {\n setBusy(false);\n setResponseError(error);\n\n Event.publish(EVENT.NOTIFICATION, {\n error: true,\n small: true,\n defaultMessage: translate(L10N.NOTIFICATION_ERROR[error?.code || ERROR.UNKNOWN]),\n });\n });\n\n return response;\n };\n\n const CTA = () => {\n const { payment: { config = {} } = {} } = dataSource;\n const { idtokenprovider: id } = urlParams;\n\n return (\n <ButtonPayment\n {...{ ...dataSource?.payment, config: { ...config, publicKey: config.publicKey?.[payment?.method] } }}\n busy={busy}\n hotel={{ ...hotel, id }}\n large\n promise={handleSubmit}\n wide\n onError={handleError}\n onPress={handlePress}\n testId=\"checkout-button\"\n >\n {translate(getButtonPaymentKey({ ...config, ...dataSource?.payment?.info, method: payment?.method }), {\n amount: currencyFormat({ currency, locale, value }),\n })}\n </ButtonPayment>\n );\n };\n\n const content = () => (\n <>\n <BookingSummary dataSource={dataSource} />\n\n <View className={style.section}>\n {responseError && (\n <Notification error small wide>\n {translate(L10N.NOTIFICATION_ERROR[responseError?.code || ERROR.UNKNOWN])}\n </Notification>\n )}\n\n {CTA()}\n\n <Text light small wide className={style.footer}>\n {translate(L10N.NOTIFICATION_SSL_ENCRYPTION)}\n </Text>\n </View>\n </>\n );\n\n return (\n <View ref={refContainer} {...others} className={style.confirmation}>\n {isDesktop ? content() : CTA()}\n </View>\n );\n};\n\nConfirmation.displayName = 'Mirai:Core:Checkout:Confirmation';\n\nConfirmation.propTypes = {\n dataSource: PropTypes.shape({}),\n error: PropTypes.bool,\n onError: PropTypes.func,\n onValid: PropTypes.func,\n};\n\nexport { Confirmation };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,MAAA,GAAAC,uBAAA,CAAAP,OAAA;AAEA,IAAAQ,KAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AACA,IAAAW,QAAA,GAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AACA,IAAAa,KAAA,GAAAN,uBAAA,CAAAP,OAAA;AACA,IAAAc,SAAA,GAAAd,OAAA;AAAiD,SAAAe,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;A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5E,SAAS,CAAC6C,cAAI,CAACgC,2BAA2B,CACvC,CACF,CACN,CACH;EAED,oBACE9H,MAAA,CAAAe,OAAA,CAAAyF,aAAA,CAAC3G,GAAA,CAAA0H,IAAI,EAAAxF,QAAA;IAACgG,GAAG,EAAEnE;EAAa,GAAKd,MAAM;IAAE0E,SAAS,EAAEjH,KAAK,CAACyH;EAAa,IAChEjF,SAAS,GAAGqE,OAAO,CAAC,CAAC,GAAGjB,GAAG,CAAC,CACzB,CAAC;AAEX,CAAC;AAAC8B,OAAA,CAAAzF,YAAA,GAAAA,YAAA;AAEFA,YAAY,CAAC0F,WAAW,GAAG,kCAAkC;AAE7D1F,YAAY,CAAC2F,SAAS,GAAG;EACvBzF,UAAU,EAAE0F,kBAAS,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC;EAC/B1F,KAAK,EAAEyF,kBAAS,CAACE,IAAI;EACrB1F,OAAO,EAAEwF,kBAAS,CAACG,IAAI;EACvB1F,OAAO,EAAEuF,kBAAS,CAACG;AACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Checkout.Confirmation.js","sources":["../../../../src/components/Checkout/partials/Checkout.Confirmation.jsx"],"sourcesContent":["import { Event, useStore } from '@mirai/data-sources';\nimport { currencyFormat, useLocale } from '@mirai/locale';\nimport { ServiceBooking } from '@mirai/services';\nimport { Notification, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useRef, useState } from 'react';\n\nimport { ERROR } from '../../../Core.constants';\nimport { ButtonPayment } from '../../__shared__';\nimport { BookingSummary } from '../../__shared__/BookingSummary';\nimport { EVENT } from '../../helpers';\nimport { L10N } from '../Checkout.l10n';\nimport * as style from '../Checkout.module.css';\nimport { getButtonPaymentKey } from '../helpers';\n\nconst Confirmation = ({ dataSource = {}, error = false, onError, onValid, ...others }) => {\n const { isDesktop } = useDevice();\n const { translate } = useLocale();\n const { value: { checkout, hotel = {}, language, locale, payment, session = {}, urlParams = {} } = {} } = useStore();\n const refContainer = useRef();\n\n const [busy, setBusy] = useState(false);\n const [responseError, setResponseError] = useState();\n\n useEffect(() => {\n !isDesktop &&\n refContainer?.current &&\n Event.publish(EVENT.FOOTER_HEIGHT_CHANGE, { height: refContainer?.current.offsetHeight });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => setResponseError(), [checkout, payment]);\n\n const { price: { prepayment = {} } = {} } = dataSource;\n const { currency, value } = prepayment[payment?.method] || {};\n\n const handleError = () => setBusy(false);\n\n const handlePress = () => {\n if (error) {\n Event.publish(EVENT.METRICS, { id: 'CHECKOUT:SUBMIT' });\n onError();\n return false;\n }\n setBusy(true);\n };\n\n const handleSubmit = async (value) => {\n if (error) return onError();\n Event.publish(EVENT.METRICS, { id: 'CHECKOUT:SUBMIT' });\n\n onValid();\n setResponseError();\n const response = await ServiceBooking.confirm({\n form: checkout,\n dataSource,\n language,\n payment: { ...payment, ...value },\n session: urlParams.applyClubDiscount === 'true' ? session : undefined,\n ...urlParams,\n }).catch((error) => {\n setBusy(false);\n setResponseError(error);\n\n Event.publish(EVENT.NOTIFICATION, {\n error: true,\n small: true,\n defaultMessage: translate(L10N.NOTIFICATION_ERROR[error?.code || ERROR.UNKNOWN]),\n });\n });\n\n return response;\n };\n\n const CTA = () => {\n const { payment: { config = {} } = {} } = dataSource;\n const { idtokenprovider: id } = urlParams;\n\n return (\n <ButtonPayment\n {...{ ...dataSource?.payment, config: { ...config, publicKey: config.publicKey?.[payment?.method] } }}\n busy={busy}\n hotel={{ ...hotel, id }}\n large\n promise={handleSubmit}\n wide\n onError={handleError}\n onPress={handlePress}\n testId=\"checkout-button\"\n >\n {translate(getButtonPaymentKey({ ...config, ...dataSource?.payment?.info, method: payment?.method }), {\n amount: currencyFormat({ currency, locale, value }),\n })}\n </ButtonPayment>\n );\n };\n\n const content = () => (\n <>\n <BookingSummary dataSource={dataSource} />\n\n <View className={style.section}>\n {responseError && (\n <Notification error small wide>\n {translate(L10N.NOTIFICATION_ERROR[responseError?.code || ERROR.UNKNOWN])}\n </Notification>\n )}\n\n {CTA()}\n\n <Text light small wide className={style.footer}>\n {translate(L10N.NOTIFICATION_SSL_ENCRYPTION)}\n </Text>\n </View>\n </>\n );\n\n return (\n <View ref={refContainer} {...others} className={style.confirmation}>\n {isDesktop ? content() : CTA()}\n </View>\n );\n};\n\nConfirmation.displayName = 'Mirai:Core:Checkout:Confirmation';\n\nConfirmation.propTypes = {\n dataSource: PropTypes.shape({}),\n error: PropTypes.bool,\n onError: PropTypes.func,\n onValid: PropTypes.func,\n};\n\nexport { Confirmation };\n"],"names":["_dataSources","require","_locale","_services","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Core","_shared__","_BookingSummary","_helpers","_Checkout","style","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","Confirmation","_ref","dataSource","error","onError","onValid","others","isDesktop","useDevice","translate","useLocale","value","checkout","hotel","language","locale","payment","session","urlParams","useStore","refContainer","useRef","busy","setBusy","useState","responseError","setResponseError","useEffect","current","Event","publish","EVENT","FOOTER_HEIGHT_CHANGE","height","offsetHeight","price","prepayment","currency","method","handleError","handlePress","METRICS","id","handleSubmit","response","ServiceBooking","confirm","form","applyClubDiscount","undefined","catch","NOTIFICATION","small","defaultMessage","L10N","NOTIFICATION_ERROR","code","ERROR","UNKNOWN","CTA","_config$publicKey","_dataSource$payment","config","idtokenprovider","createElement","ButtonPayment","publicKey","large","promise","wide","onPress","testId","getButtonPaymentKey","info","amount","currencyFormat","content","Fragment","BookingSummary","View","className","section","Notification","Text","light","footer","NOTIFICATION_SSL_ENCRYPTION","ref","confirmation","exports","displayName","propTypes","PropTypes","shape","bool","func"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA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254-abab-67e248a7779e"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0bbc53ff-38ca-5c41-a12d-3b9b86aabb2d")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -204,4 +206,5 @@ Form.propTypes = {
|
|
|
204
206
|
variant: _propTypes.default.string,
|
|
205
207
|
onError: _propTypes.default.func
|
|
206
208
|
};
|
|
207
|
-
//# sourceMappingURL=Checkout.Form.js.map
|
|
209
|
+
//# sourceMappingURL=Checkout.Form.js.map
|
|
210
|
+
//# debugId=0bbc53ff-38ca-5c41-a12d-3b9b86aabb2d
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkout.Form.js","names":["_dataSources","require","_locale","_services","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_shared__","_helpers","_Checkout","_Checkout2","style","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","storage","Storage","adapter","LocalAdapter","cache","FORM_STORAGE_CACHE","dataSource","schema","concat","FORM_STORAGE_KEY","generateId","JSON","stringify","entries","filter","_ref","value","input","INPUT","HTML","map","_ref2","Form","_ref3","_payment$config","_payment$config$publi","_payment$info","_payment$info2","currency","repositories","countries","form","tracking","showErrors","onError","others","isDesktop","useDevice","translate","useLocale","club","payment","method","session","useStore","errorForm","setErrorForm","useState","errorPayment","setErrorPayment","setForm","fromEntries","_ref4","formTracked","setFormTracked","modal","setModal","useEffect","getSchemaProps","useLayoutEffect","keys","checkout","handleChange","next","country","phone","code","ServiceCountry","info","getCountryCode","nextFields","getFields","nextFiltered","_ref5","undefined","handleLeave","email","firstName","lastName","Event","publish","EVENT","CHECKOUT_FORM","event","response","_ref6","_ref7","visible","createElement","Fragment","autoComplete","validateOnMount","onChange","onLeave","className","styles","box","Text","bold","headline","wide","L10N","LABEL_PERSONAL_DETAILS","TextRequiredFields","_ref8","field","React","FIELD","InputText","getFieldProps","error","Payment","config","publicKey","date","parseDate","Modal","fit","title","LABEL_CONDITIONS","onClose","ScrollView","snap","vertical","scrollview","BookingTerms","small","exports","displayName","propTypes","PropTypes","shape","bool","variant","string","func"],"sources":["../../../../src/components/Checkout/partials/Checkout.Form.jsx"],"sourcesContent":["import { Event, LocalAdapter, Storage, useStore } from '@mirai/data-sources';\nimport { parseDate, useLocale } from '@mirai/locale';\nimport { ServiceCountry } from '@mirai/services';\nimport { InputText, Form as FormBase, Modal, ScrollView, styles, Text, useDevice } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useLayoutEffect, useState } from 'react';\n\nimport { BookingTerms, Payment, TextRequiredFields } from '../../__shared__';\nimport { EVENT, generateId, getCountryCode } from '../../helpers';\nimport { FIELD, FORM_STORAGE_CACHE, FORM_STORAGE_KEY, INPUT } from '../Checkout.constants';\nimport { L10N } from '../Checkout.l10n';\nimport * as style from '../Checkout.module.css';\nimport { getFieldProps, getSchemaProps } from '../helpers';\n\nconst storage = new Storage({ adapter: LocalAdapter, cache: FORM_STORAGE_CACHE });\n\nconst key = (dataSource, schema) =>\n `${FORM_STORAGE_KEY}:${generateId(\n JSON.stringify({\n ...dataSource,\n schema: Object.entries(schema)\n .filter(([, value]) => value.input !== INPUT.HTML)\n .map(([key]) => key),\n }),\n )}`;\n\nconst Form = ({\n dataSource: { currency, repositories: { countries } = {}, form: schema = {}, tracking = {}, ...dataSource } = {},\n showErrors = false,\n onError = () => {},\n ...others\n}) => {\n const { isDesktop } = useDevice();\n const { translate } = useLocale();\n const {\n set,\n value: { club, payment: { method } = {}, session },\n } = useStore();\n\n const [errorForm, setErrorForm] = useState({});\n const [errorPayment, setErrorPayment] = useState({});\n const [form, setForm] = useState(\n storage.get(key(dataSource, schema)) ||\n Object.fromEntries(Object.entries(schema).map(([key, { value }]) => [key, value])),\n );\n const [formTracked, setFormTracked] = useState();\n const [modal, setModal] = useState(false);\n\n useEffect(() => {\n setForm({ ...form, ...getSchemaProps({ schema, value: session }) });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [session]);\n\n useLayoutEffect(() => {\n if (Object.keys(form).length) storage.set(key(dataSource, schema), form);\n set({ checkout: form });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n useEffect(() => {\n onError({ ...errorForm, ...errorPayment });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [errorForm, errorPayment]);\n\n const handleChange = async (next) => {\n if (!!schema.country && next.country && !next.phone) {\n const { code } = await ServiceCountry.info(getCountryCode(next.country, countries));\n if (code) next.phone = code;\n }\n\n const nextFields = getFields(next);\n const nextFiltered =\n nextFields.length < getFields(form).length\n ? Object.fromEntries(Object.entries(next).filter(([key]) => Object.fromEntries(nextFields)[key] !== undefined))\n : undefined;\n\n setForm(nextFiltered || next);\n };\n\n const handleLeave = () => {\n const { email, firstName, lastName, phone } = errorForm;\n\n if (!formTracked && !email && !firstName && !lastName && !phone) {\n Event.publish(EVENT.CHECKOUT_FORM, { event: EVENT.CHECKOUT_FORM, response: { tracking } });\n setFormTracked(true);\n }\n };\n\n const getFields = (value) =>\n Object.entries(schema)\n .filter(([key]) => !!schema[key])\n .filter(([, { visible }]) => !visible || visible(value));\n\n const { payment } = dataSource || {};\n\n return (\n <>\n <FormBase\n {...others}\n autoComplete=\"off\"\n showErrors={showErrors}\n validateOnMount\n onChange={handleChange}\n onError={setErrorForm}\n onLeave={handleLeave}\n className={styles(style.form, style.box)}\n >\n <Text bold headline={isDesktop} wide>\n {translate(L10N.LABEL_PERSONAL_DETAILS)}\n </Text>\n\n <TextRequiredFields wide />\n\n {getFields(form).map(([key, field = {}]) =>\n React.createElement(\n FIELD[field.input] || InputText,\n getFieldProps(\n key,\n field,\n { value: form[key], error: errorForm[key], session, translate, ...dataSource },\n club,\n () => setModal(true),\n ),\n ),\n )}\n </FormBase>\n\n {payment && (\n <Payment\n {...{\n ...payment,\n config: { ...payment.config, publicKey: payment.config?.publicKey?.[method] },\n info: { ...payment.info, date: payment.info?.date ? parseDate(payment.info?.date) : undefined },\n showErrors,\n }}\n currency={currency}\n onError={setErrorPayment}\n />\n )}\n\n <Modal\n fit\n title={translate(L10N.LABEL_CONDITIONS)}\n visible={modal}\n onClose={() => setModal(false)}\n className={style.modal}\n >\n <ScrollView snap={false} vertical className={style.scrollview}>\n <BookingTerms dataSource={dataSource} small className={style.others} />\n </ScrollView>\n </Modal>\n </>\n );\n};\n\nForm.displayName = 'Mirai:Core:Checkout:Form';\n\nForm.propTypes = {\n dataSource: PropTypes.shape({\n form: PropTypes.shape({}),\n }),\n showErrors: PropTypes.bool,\n variant: PropTypes.string,\n onError: PropTypes.func,\n};\n\nexport { Form };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,MAAA,GAAAC,uBAAA,CAAAP,OAAA;AAEA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AACA,IAAAY,KAAA,GAAAL,uBAAA,CAAAP,OAAA;AACA,IAAAa,SAAA,GAAAb,OAAA;AAA2D,SAAAc,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CA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AAW,GAAG,0BAA0B;AAE7C1G,IAAI,CAAC2G,SAAS,GAAG;EACf3H,UAAU,EAAE4H,kBAAS,CAACC,KAAK,CAAC;IAC1BpG,IAAI,EAAEmG,kBAAS,CAACC,KAAK,CAAC,CAAC,CAAC;EAC1B,CAAC,CAAC;EACFlG,UAAU,EAAEiG,kBAAS,CAACE,IAAI;EAC1BC,OAAO,EAAEH,kBAAS,CAACI,MAAM;EACzBpG,OAAO,EAAEgG,kBAAS,CAACK;AACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Checkout.Form.js","sources":["../../../../src/components/Checkout/partials/Checkout.Form.jsx"],"sourcesContent":["import { Event, LocalAdapter, Storage, useStore } from '@mirai/data-sources';\nimport { parseDate, useLocale } from '@mirai/locale';\nimport { ServiceCountry } from '@mirai/services';\nimport { InputText, Form as FormBase, Modal, ScrollView, styles, Text, useDevice } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useLayoutEffect, useState } from 'react';\n\nimport { BookingTerms, Payment, TextRequiredFields } from '../../__shared__';\nimport { EVENT, generateId, getCountryCode } from '../../helpers';\nimport { FIELD, FORM_STORAGE_CACHE, FORM_STORAGE_KEY, INPUT } from '../Checkout.constants';\nimport { L10N } from '../Checkout.l10n';\nimport * as style from '../Checkout.module.css';\nimport { getFieldProps, getSchemaProps } from '../helpers';\n\nconst storage = new Storage({ adapter: LocalAdapter, cache: FORM_STORAGE_CACHE });\n\nconst key = (dataSource, schema) =>\n `${FORM_STORAGE_KEY}:${generateId(\n JSON.stringify({\n ...dataSource,\n schema: Object.entries(schema)\n .filter(([, value]) => value.input !== INPUT.HTML)\n .map(([key]) => key),\n }),\n )}`;\n\nconst Form = ({\n dataSource: { currency, repositories: { countries } = {}, form: schema = {}, tracking = {}, ...dataSource } = {},\n showErrors = false,\n onError = () => {},\n ...others\n}) => {\n const { isDesktop } = useDevice();\n const { translate } = useLocale();\n const {\n set,\n value: { club, payment: { method } = {}, session },\n } = useStore();\n\n const [errorForm, setErrorForm] = useState({});\n const [errorPayment, setErrorPayment] = useState({});\n const [form, setForm] = useState(\n storage.get(key(dataSource, schema)) ||\n Object.fromEntries(Object.entries(schema).map(([key, { value }]) => [key, value])),\n );\n const [formTracked, setFormTracked] = useState();\n const [modal, setModal] = useState(false);\n\n useEffect(() => {\n setForm({ ...form, ...getSchemaProps({ schema, value: session }) });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [session]);\n\n useLayoutEffect(() => {\n if (Object.keys(form).length) storage.set(key(dataSource, schema), form);\n set({ checkout: form });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n useEffect(() => {\n onError({ ...errorForm, ...errorPayment });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [errorForm, errorPayment]);\n\n const handleChange = async (next) => {\n if (!!schema.country && next.country && !next.phone) {\n const { code } = await ServiceCountry.info(getCountryCode(next.country, countries));\n if (code) next.phone = code;\n }\n\n const nextFields = getFields(next);\n const nextFiltered =\n nextFields.length < getFields(form).length\n ? Object.fromEntries(Object.entries(next).filter(([key]) => Object.fromEntries(nextFields)[key] !== undefined))\n : undefined;\n\n setForm(nextFiltered || next);\n };\n\n const handleLeave = () => {\n const { email, firstName, lastName, phone } = errorForm;\n\n if (!formTracked && !email && !firstName && !lastName && !phone) {\n Event.publish(EVENT.CHECKOUT_FORM, { event: EVENT.CHECKOUT_FORM, response: { tracking } });\n setFormTracked(true);\n }\n };\n\n const getFields = (value) =>\n Object.entries(schema)\n .filter(([key]) => !!schema[key])\n .filter(([, { visible }]) => !visible || visible(value));\n\n const { payment } = dataSource || {};\n\n return (\n <>\n <FormBase\n {...others}\n autoComplete=\"off\"\n showErrors={showErrors}\n validateOnMount\n onChange={handleChange}\n onError={setErrorForm}\n onLeave={handleLeave}\n className={styles(style.form, style.box)}\n >\n <Text bold headline={isDesktop} wide>\n {translate(L10N.LABEL_PERSONAL_DETAILS)}\n </Text>\n\n <TextRequiredFields wide />\n\n {getFields(form).map(([key, field = {}]) =>\n React.createElement(\n FIELD[field.input] || InputText,\n getFieldProps(\n key,\n field,\n { value: form[key], error: errorForm[key], session, translate, ...dataSource },\n club,\n () => setModal(true),\n ),\n ),\n )}\n </FormBase>\n\n {payment && (\n <Payment\n {...{\n ...payment,\n config: { ...payment.config, publicKey: payment.config?.publicKey?.[method] },\n info: { ...payment.info, date: payment.info?.date ? parseDate(payment.info?.date) : undefined },\n showErrors,\n }}\n currency={currency}\n onError={setErrorPayment}\n />\n )}\n\n <Modal\n fit\n title={translate(L10N.LABEL_CONDITIONS)}\n visible={modal}\n onClose={() => setModal(false)}\n className={style.modal}\n >\n <ScrollView snap={false} vertical className={style.scrollview}>\n <BookingTerms dataSource={dataSource} small className={style.others} />\n </ScrollView>\n </Modal>\n </>\n );\n};\n\nForm.displayName = 'Mirai:Core:Checkout:Form';\n\nForm.propTypes = {\n dataSource: PropTypes.shape({\n form: PropTypes.shape({}),\n }),\n showErrors: PropTypes.bool,\n variant: PropTypes.string,\n onError: PropTypes.func,\n};\n\nexport { Form };\n"],"names":["_dataSources","require","_locale","_services","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_shared__","_helpers","_Checkout","_Checkout2","style","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","storage","Storage","adapter","LocalAdapter","cache","FORM_STORAGE_CACHE","dataSource","schema","concat","FORM_STORAGE_KEY","generateId","JSON","stringify","entries","filter","_ref","value","input","INPUT","HTML","map","_ref2","Form","_ref3","_payment$config","_payment$config$publi","_payment$info","_payment$info2","currency","repositories","countries","form","tracking","showErrors","onError","others","isDesktop","useDevice","translate","useLocale","club","payment","method","session","useStore","errorForm","setErrorForm","useState","errorPayment","setErrorPayment","setForm","fromEntries","_ref4","formTracked","setFormTracked","modal","setModal","useEffect","getSchemaProps","useLayoutEffect","keys","checkout","handleChange","next","country","phone","code","ServiceCountry","info","getCountryCode","nextFields","getFields","nextFiltered","_ref5","undefined","handleLeave","email","firstName","lastName","Event","publish","EVENT","CHECKOUT_FORM","event","response","_ref6","_ref7","visible","createElement","Fragment","autoComplete","validateOnMount","onChange","onLeave","className","styles","box","Text","bold","headline","wide","L10N","LABEL_PERSONAL_DETAILS","TextRequiredFields","_ref8","field","React","FIELD","InputText","getFieldProps","error","Payment","config","publicKey","date","parseDate","Modal","fit","title","LABEL_CONDITIONS","onClose","ScrollView","snap","vertical","scrollview","BookingTerms","small","exports","displayName","propTypes","PropTypes","shape","bool","variant","string","func"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,MAAA,GAAAC,uBAAA,CAAAP,OAAA;AAEA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AACA,IAAAY,KAAA,GAAAL,uBAAA,CAAAP,OAAA;AACA,IAAAa,SAAA,GAAAb,OAAA;AAA2D,SAAAc,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,C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EAAEgG,kBAAS,CAACK;AACrB,CAAC","debug_id":"0bbc53ff-38ca-5c41-a12d-3b9b86aabb2d"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="17754529-d8f6-5fb3-a310-c429bdf4f3fb")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -25,4 +27,5 @@ Object.keys(_Checkout2).forEach(function (key) {
|
|
|
25
27
|
}
|
|
26
28
|
});
|
|
27
29
|
});
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
31
|
+
//# debugId=17754529-d8f6-5fb3-a310-c429bdf4f3fb
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/Checkout/partials/index.js"],"sourcesContent":["export * from './Checkout.Confirmation';\nexport * from './Checkout.Form';\n"],"names":["_Checkout","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_Checkout2"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,UAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,UAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,UAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,UAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","debug_id":"17754529-d8f6-5fb3-a310-c429bdf4f3fb"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ee26fdfc-9994-5231-b2ac-1bba587a530a")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -164,4 +166,5 @@ Calendar.propTypes = {
|
|
|
164
166
|
onChange: _propTypes.default.func,
|
|
165
167
|
onPress: _propTypes.default.func
|
|
166
168
|
};
|
|
167
|
-
//# sourceMappingURL=Deals.Calendar.js.map
|
|
169
|
+
//# sourceMappingURL=Deals.Calendar.js.map
|
|
170
|
+
//# debugId=ee26fdfc-9994-5231-b2ac-1bba587a530a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Deals.Calendar.js","names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Deals","_Deals2","style","_helpers","_shared__","_helpers2","_helpers3","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","Calendar","_ref","_getDataSource","_getDataSource$places","_getDataSource$places2","_getDataSource$places3","_getDataSource2","captions","highlights","minNightsWithDeals","pricesInfo","currency","guests","nights","taxType","rangeMaxDays","rangeMinDays","visible","visited","onPress","others","height","isMobile","useDevice","translate","useLocale","value","locale","store","useStore","focus","setFocus","useState","setValue","valueFormat","useEffect","from","to","parseValue","config","hotels","dataSource","lodgingDenomination","individual","hotel","id","tagId","getDataSource","places","options","find","ids","isHotel","undefined","accommodationType","getAccommodationType","getHotels","placesSource","React","createElement","Field","Fragment","caption","getCalendarCaption","dateFormat","error","icon","ICON","CALENDAR","label","L10N","LABEL_WHEN","placeholder","className","fieldCalendar","testId","concat","format","calcFromDate","months","MONTHS_IN_MOBILE","range","calcToDate","tooltips","calcTooltips","onFocus","styles","DEVICE_XS_HEIGHT","calendarXS","View","calendarInfo","BookingDates","Text","small","notification","LABEL_INFO_PRICES","accommodation","LABEL_ACCOMMODATION_TYPE","type","row","footer","Button","disabled","ACTION_NEXT","exports","displayName","propTypes","PropTypes","shape","arrayOf","string","number","bool","onChange","func"],"sources":["../../../src/components/Deals/Deals.Calendar.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { dateFormat, useLocale } from '@mirai/locale';\nimport { Button, Calendar as CalendarBase, styles, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { Fragment, useEffect, useState } from 'react';\n\nimport { DEVICE_XS_HEIGHT } from './Deals.constants';\nimport { L10N } from './Deals.l10n';\nimport * as style from './Deals.module.css';\nimport { calcFromDate, calcToDate, calcTooltips } from './helpers';\nimport { BookingDates, Field } from '../__shared__';\nimport { getDataSource, getHotels } from '../Finder/helpers';\nimport { CALENDAR_FORMAT as format, MONTHS_IN_MOBILE, parseValue, valueFormat } from '../helpers';\nimport { getAccommodationType, getCalendarCaption, ICON } from '../helpers';\n\nconst Calendar = ({\n captions = {},\n highlights = [],\n minNightsWithDeals,\n pricesInfo: { currency, guests, nights, taxType } = {},\n rangeMaxDays,\n rangeMinDays,\n visible,\n visited,\n onPress,\n ...others\n}) => {\n const { height, isMobile } = useDevice();\n const { translate } = useLocale();\n const {\n value: { locale, ...store },\n } = useStore();\n\n const [focus, setFocus] = useState();\n const [value, setValue] = useState(valueFormat(others.value));\n\n useEffect(() => {\n setValue(valueFormat(others.value));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [others.value]);\n\n const [from, to] = parseValue(value);\n\n const { config: { hotels: dataSource, lodgingDenomination: individual } = {}, hotel: { id } = {} } = store || {};\n\n const tagId = getDataSource(store)?.places?.options?.find(\n ({ id: ids = [], isHotel } = {}) => isHotel && ids[0] === id,\n )?.value;\n\n const accommodationType = getAccommodationType({\n dataSource,\n hotels: getHotels(getDataSource(store)?.placesSource, tagId),\n individual: individual && typeof individual === 'object' ? individual[id] : individual,\n });\n\n return React.createElement(\n isMobile ? Field : Fragment,\n isMobile\n ? {\n caption: value.length ? getCalendarCaption(parseValue(value), translate, dateFormat, locale) : undefined,\n error: visited && (!from || !to),\n icon: ICON.CALENDAR,\n label: translate(L10N.LABEL_WHEN),\n placeholder: getCalendarCaption(undefined, translate, dateFormat, locale),\n visible,\n onPress,\n className: style.fieldCalendar,\n testId: `${others.testId}-field`,\n }\n : undefined,\n <>\n <CalendarBase\n {...{\n ...others,\n captions,\n format,\n from: calcFromDate(highlights),\n highlights,\n locale,\n months: isMobile ? MONTHS_IN_MOBILE : undefined,\n range: true,\n rangeMaxDays,\n rangeMinDays,\n to: calcToDate(highlights, rangeMaxDays),\n tooltips: calcTooltips({ focus, from, highlights, minNightsWithDeals, rangeMinDays, to, translate }),\n value,\n onFocus: setFocus,\n className: styles(height < DEVICE_XS_HEIGHT && style.calendarXS),\n }}\n />\n\n <View className={style.calendarInfo}>\n {!isMobile && <BookingDates {...{ focus, from, rangeMinDays, to }} />}\n\n <Text small className={style.notification}>\n {translate(L10N.LABEL_INFO_PRICES, {\n accommodation: translate(L10N.LABEL_ACCOMMODATION_TYPE, { type: accommodationType }),\n currency,\n guests,\n nights,\n taxType,\n })}\n </Text>\n </View>\n\n {isMobile && (\n <View row className={style.footer}>\n <BookingDates {...{ focus, from, rangeMinDays, to }} />\n\n <Button disabled={!from || !to} onPress={onPress} testId={`${others.testId}-button-next`}>\n {translate(L10N.ACTION_NEXT)}\n </Button>\n </View>\n )}\n </>,\n );\n};\n\nCalendar.displayName = 'Mirai:Core:Deals:Calendar';\n\nCalendar.propTypes = {\n captions: PropTypes.shape({}),\n highlights: PropTypes.arrayOf(PropTypes.string),\n minNightsWithDeals: PropTypes.number,\n pricesInfo: PropTypes.shape({\n currency: PropTypes.string,\n guests: PropTypes.number,\n nights: PropTypes.number,\n taxType: PropTypes.number,\n }),\n rangeMaxDays: PropTypes.number,\n rangeMinDays: PropTypes.number,\n visible: PropTypes.bool,\n visited: PropTypes.bool,\n onChange: PropTypes.func,\n onPress: PropTypes.func,\n};\n\nexport { Calendar };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,GAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAC,uBAAA,CAAAN,OAAA;AAEA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,KAAA,GAAAH,uBAAA,CAAAN,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AACA,IAAAW,SAAA,GAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AACA,IAAAa,SAAA,GAAAb,OAAA;AAAkG,SAAAc,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA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,MAAA,CAAKxD,MAAM,CAACuD,MAAM;EAAe,GACtFnD,SAAS,CAAC8C,YAAI,CAACiC,WAAW,CACrB,CACJ,CAER,CACJ,CAAC;AACH,CAAC;AAACC,OAAA,CAAAxG,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACyG,WAAW,GAAG,2BAA2B;AAElDzG,QAAQ,CAAC0G,SAAS,GAAG;EACnBnG,QAAQ,EAAEoG,kBAAS,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC;EAC7BpG,UAAU,EAAEmG,kBAAS,CAACE,OAAO,CAACF,kBAAS,CAACG,MAAM,CAAC;EAC/CrG,kBAAkB,EAAEkG,kBAAS,CAACI,MAAM;EACpCrG,UAAU,EAAEiG,kBAAS,CAACC,KAAK,CAAC;IAC1BjG,QAAQ,EAAEgG,kBAAS,CAACG,MAAM;IAC1BlG,MAAM,EAAE+F,kBAAS,CAACI,MAAM;IACxBlG,MAAM,EAAE8F,kBAAS,CAACI,MAAM;IACxBjG,OAAO,EAAE6F,kBAAS,CAACI;EACrB,CAAC,CAAC;EACFhG,YAAY,EAAE4F,kBAAS,CAACI,MAAM;EAC9B/F,YAAY,EAAE2F,kBAAS,CAACI,MAAM;EAC9B9F,OAAO,EAAE0F,kBAAS,CAACK,IAAI;EACvB9F,OAAO,EAAEyF,kBAAS,CAACK,IAAI;EACvBC,QAAQ,EAAEN,kBAAS,CAACO,IAAI;EACxB/F,OAAO,EAAEwF,kBAAS,CAACO;AACrB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Deals.Calendar.js","sources":["../../../src/components/Deals/Deals.Calendar.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { dateFormat, useLocale } from '@mirai/locale';\nimport { Button, Calendar as CalendarBase, styles, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { Fragment, useEffect, useState } from 'react';\n\nimport { DEVICE_XS_HEIGHT } from './Deals.constants';\nimport { L10N } from './Deals.l10n';\nimport * as style from './Deals.module.css';\nimport { calcFromDate, calcToDate, calcTooltips } from './helpers';\nimport { BookingDates, Field } from '../__shared__';\nimport { getDataSource, getHotels } from '../Finder/helpers';\nimport { CALENDAR_FORMAT as format, MONTHS_IN_MOBILE, parseValue, valueFormat } from '../helpers';\nimport { getAccommodationType, getCalendarCaption, ICON } from '../helpers';\n\nconst Calendar = ({\n captions = {},\n highlights = [],\n minNightsWithDeals,\n pricesInfo: { currency, guests, nights, taxType } = {},\n rangeMaxDays,\n rangeMinDays,\n visible,\n visited,\n onPress,\n ...others\n}) => {\n const { height, isMobile } = useDevice();\n const { translate } = useLocale();\n const {\n value: { locale, ...store },\n } = useStore();\n\n const [focus, setFocus] = useState();\n const [value, setValue] = useState(valueFormat(others.value));\n\n useEffect(() => {\n setValue(valueFormat(others.value));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [others.value]);\n\n const [from, to] = parseValue(value);\n\n const { config: { hotels: dataSource, lodgingDenomination: individual } = {}, hotel: { id } = {} } = store || {};\n\n const tagId = getDataSource(store)?.places?.options?.find(\n ({ id: ids = [], isHotel } = {}) => isHotel && ids[0] === id,\n )?.value;\n\n const accommodationType = getAccommodationType({\n dataSource,\n hotels: getHotels(getDataSource(store)?.placesSource, tagId),\n individual: individual && typeof individual === 'object' ? individual[id] : individual,\n });\n\n return React.createElement(\n isMobile ? Field : Fragment,\n isMobile\n ? {\n caption: value.length ? getCalendarCaption(parseValue(value), translate, dateFormat, locale) : undefined,\n error: visited && (!from || !to),\n icon: ICON.CALENDAR,\n label: translate(L10N.LABEL_WHEN),\n placeholder: getCalendarCaption(undefined, translate, dateFormat, locale),\n visible,\n onPress,\n className: style.fieldCalendar,\n testId: `${others.testId}-field`,\n }\n : undefined,\n <>\n <CalendarBase\n {...{\n ...others,\n captions,\n format,\n from: calcFromDate(highlights),\n highlights,\n locale,\n months: isMobile ? MONTHS_IN_MOBILE : undefined,\n range: true,\n rangeMaxDays,\n rangeMinDays,\n to: calcToDate(highlights, rangeMaxDays),\n tooltips: calcTooltips({ focus, from, highlights, minNightsWithDeals, rangeMinDays, to, translate }),\n value,\n onFocus: setFocus,\n className: styles(height < DEVICE_XS_HEIGHT && style.calendarXS),\n }}\n />\n\n <View className={style.calendarInfo}>\n {!isMobile && <BookingDates {...{ focus, from, rangeMinDays, to }} />}\n\n <Text small className={style.notification}>\n {translate(L10N.LABEL_INFO_PRICES, {\n accommodation: translate(L10N.LABEL_ACCOMMODATION_TYPE, { type: accommodationType }),\n currency,\n guests,\n nights,\n taxType,\n })}\n </Text>\n </View>\n\n {isMobile && (\n <View row className={style.footer}>\n <BookingDates {...{ focus, from, rangeMinDays, to }} />\n\n <Button disabled={!from || !to} onPress={onPress} testId={`${others.testId}-button-next`}>\n {translate(L10N.ACTION_NEXT)}\n </Button>\n </View>\n )}\n </>,\n );\n};\n\nCalendar.displayName = 'Mirai:Core:Deals:Calendar';\n\nCalendar.propTypes = {\n captions: PropTypes.shape({}),\n highlights: PropTypes.arrayOf(PropTypes.string),\n minNightsWithDeals: PropTypes.number,\n pricesInfo: PropTypes.shape({\n currency: PropTypes.string,\n guests: PropTypes.number,\n nights: PropTypes.number,\n taxType: PropTypes.number,\n }),\n rangeMaxDays: PropTypes.number,\n rangeMinDays: PropTypes.number,\n visible: PropTypes.bool,\n visited: PropTypes.bool,\n onChange: PropTypes.func,\n onPress: PropTypes.func,\n};\n\nexport { Calendar };\n"],"names":["_dataSources","require","_locale","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Deals","_Deals2","style","_helpers","_shared__","_helpers2","_helpers3","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","Calendar","_ref","_getDataSource","_getDataSource$places","_getDataSource$places2","_getDataSource$places3","_getDataSource2","captions","highlights","minNightsWithDeals","pricesInfo","currency","guests","nights","taxType","rangeMaxDays","rangeMinDays","visible","visited","onPress","others","height","isMobile","useDevice","translate","useLocale","value","locale","store","useStore","focus","setFocus","useState","setValue","valueFormat","useEffect","from","to","parseValue","config","hotels","dataSource","lodgingDenomination","individual","hotel","id","tagId","getDataSource","places","options","find","ids","isHotel","undefined","accommodationType","getAccommodationType","getHotels","placesSource","React","createElement","Field","Fragment","caption","getCalendarCaption","dateFormat","error","icon","ICON","CALENDAR","label","L10N","LABEL_WHEN","placeholder","className","fieldCalendar","testId","concat","format","calcFromDate","months","MONTHS_IN_MOBILE","range","calcToDate","tooltips","calcTooltips","onFocus","styles","DEVICE_XS_HEIGHT","calendarXS","View","calendarInfo","BookingDates","Text","small","notification","LABEL_INFO_PRICES","accommodation","LABEL_ACCOMMODATION_TYPE","type","row","footer","Button","disabled","ACTION_NEXT","exports","displayName","propTypes","PropTypes","shape","arrayOf","string","number","bool","onChange","func"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,GAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAC,uBAAA,CAAAN,OAAA;AAEA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,KAAA,GAAAH,uBAAA,CAAAN,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AACA,IAAAW,SAAA,GAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AACA,IAAAa,SAAA,GAAAb,OAAA;AAAkG,SAAAc,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,C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AACuD,MAAM;EAAe,GACtFnD,SAAS,CAAC8C,YAAI,CAACiC,WAAW,CACrB,CACJ,CAER,CACJ,CAAC;AACH,CAAC;AAACC,OAAA,CAAAxG,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACyG,WAAW,GAAG,2BAA2B;AAElDzG,QAAQ,CAAC0G,SAAS,GAAG;EACnBnG,QAAQ,EAAEoG,kBAAS,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC;EAC7BpG,UAAU,EAAEmG,kBAAS,CAACE,OAAO,CAACF,kBAAS,CAACG,MAAM,CAAC;EAC/CrG,kBAAkB,EAAEkG,kBAAS,CAACI,MAAM;EACpCrG,UAAU,EAAEiG,kBAAS,CAACC,KAAK,CAAC;IAC1BjG,QAAQ,EAAEgG,kBAAS,CAACG,MAAM;IAC1BlG,MAAM,EAAE+F,kBAAS,CAACI,MAAM;IACxBlG,MAAM,EAAE8F,kBAAS,CAACI,MAAM;IACxBjG,OAAO,EAAE6F,kBAAS,CAACI;EACrB,CAAC,CAAC;EACFhG,YAAY,EAAE4F,kBAAS,CAACI,MAAM;EAC9B/F,YAAY,EAAE2F,kBAAS,CAACI,MAAM;EAC9B9F,OAAO,EAAE0F,kBAAS,CAACK,IAAI;EACvB9F,OAAO,EAAEyF,kBAAS,CAACK,IAAI;EACvBC,QAAQ,EAAEN,kBAAS,CAACO,IAAI;EACxB/F,OAAO,EAAEwF,kBAAS,CAACO;AACrB,CAAC","debug_id":"ee26fdfc-9994-5231-b2ac-1bba587a530a"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d4b75514-33e7-58cf-8031-06f78a4c2fb5")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -13,4 +15,5 @@ const FIELD = exports.FIELD = {
|
|
|
13
15
|
const INVALID_MIN_RANGE_DEALS = exports.INVALID_MIN_RANGE_DEALS = -1;
|
|
14
16
|
const REDIRECT_PATH = exports.REDIRECT_PATH = 'miraiFrontDispatcher.htm';
|
|
15
17
|
const TRACKING = exports.TRACKING = 'DEALS';
|
|
16
|
-
//# sourceMappingURL=Deals.constants.js.map
|
|
18
|
+
//# sourceMappingURL=Deals.constants.js.map
|
|
19
|
+
//# debugId=d4b75514-33e7-58cf-8031-06f78a4c2fb5
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Deals.constants.js","
|
|
1
|
+
{"version":3,"file":"Deals.constants.js","sources":["../../../src/components/Deals/Deals.constants.js"],"sourcesContent":["const DEVICE_XS_HEIGHT = 667;\n\nconst FIELD = {\n CALENDAR: 'calendar',\n OCCUPATION: 'occupation',\n PROMOCODE: 'promocode',\n};\n\nconst INVALID_MIN_RANGE_DEALS = -1;\n\nconst REDIRECT_PATH = 'miraiFrontDispatcher.htm';\n\nconst TRACKING = 'DEALS';\n\nexport { DEVICE_XS_HEIGHT, FIELD, INVALID_MIN_RANGE_DEALS, REDIRECT_PATH, TRACKING };\n"],"names":["DEVICE_XS_HEIGHT","exports","FIELD","CALENDAR","OCCUPATION","PROMOCODE","INVALID_MIN_RANGE_DEALS","REDIRECT_PATH","TRACKING"],"mappings":";;;;;;;;AAAA,MAAMA,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG,GAAG;AAE5B,MAAME,KAAK,GAAAD,OAAA,CAAAC,KAAA,GAAG;EACZC,QAAQ,EAAE,UAAU;EACpBC,UAAU,EAAE,YAAY;EACxBC,SAAS,EAAE;AACb,CAAC;AAED,MAAMC,uBAAuB,GAAAL,OAAA,CAAAK,uBAAA,GAAG,CAAC,CAAC;AAElC,MAAMC,aAAa,GAAAN,OAAA,CAAAM,aAAA,GAAG,0BAA0B;AAEhD,MAAMC,QAAQ,GAAAP,OAAA,CAAAO,QAAA,GAAG,OAAO","debug_id":"d4b75514-33e7-58cf-8031-06f78a4c2fb5"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7aed789d-1664-5b62-bfa9-255986fa4f61")}catch(e){}}();
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
@@ -238,4 +240,5 @@ Deals.propTypes = {
|
|
|
238
240
|
id: _propTypes.default.string,
|
|
239
241
|
skeleton: _propTypes.default.bool
|
|
240
242
|
};
|
|
241
|
-
//# sourceMappingURL=Deals.js.map
|
|
243
|
+
//# sourceMappingURL=Deals.js.map
|
|
244
|
+
//# debugId=7aed789d-1664-5b62-bfa9-255986fa4f61
|