@hotelcard/ui 0.0.33 → 0.0.34
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.
Potentially problematic release.
This version of @hotelcard/ui might be problematic. Click here for more details.
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +163 -163
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as s, Fragment as De } from "react/jsx-runtime";
|
|
|
2
2
|
import Bt, { useMemo as Ee, useContext as Ut, createContext as Qt, forwardRef as It, useState as $, useRef as he, useEffect as le, useCallback as Ue } from "react";
|
|
3
3
|
import { useTranslation as en } from "react-i18next";
|
|
4
4
|
import { createPortal as tn } from "react-dom";
|
|
5
|
-
const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "HotelCard bestellen", "my-account": "Mein Konto", search: "Suchen", "back-to-top": "Nach oben" }, rn = { "member-benefits": "Member Benefits", "view-all-hotels": "Alle Hoteldeals ansehen", "search-by-map": "Kartenansicht", "search-by-region": "Hotels nach Region", "search-by-experience": "Hotels nach Erlebnis", "travel-inspiration": "Reiseinspiration", "booking-tips-and-tricks": "Buchungstipps", home: "Startseite", "all-hotel-deals": "Alle Hotelangebote", "search-results": "Suchergebnisse" }, an = { "signed-out": "Anmelden und buchen", "room-price": "ab CHF xxx / Zimmer", guarantee: "14 Tage Geld-zurück-Garantie", contact: "Weitere Fragen? Kontaktieren Sie uns.", "breakfast-included": "Frühstück inbegriffen", "free-cancellation": "Kostenlose Stornierung", "suggested-destinations": "Vorgeschlagene Reiseziele", "when-months": "Wann möchtest du reisen?", "hotel-deals-found": "Hotelangebote gefunden", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "unavailable-for-selected-days": "Für die ausgewählten Daten nicht verfügbar.", "cant-accommodate-all": "Das Hotel kann nicht alle Gäste beherbergen.", "reset-destination": "Zielsuche zurücksetzen, um Regionen zu filtern" }, on = { "price-from": "ab ", "price-for": "/ Zimmer", "per-room-night": "pro Zimmer & Nacht ab", new: "Neu", anytime: "Jederzeit", anywhere: "Alle Reiseziele", dates: "Datum", flexible: "Flexibel", where: "Wohin", when: "Wann", who: "Wer", nearby: "In der Nähe", hotels: "Hotel", filter: "Filter", sort: "Sortieren", map: "Karte", rating: "Bewertung", "rating-excellent": "Ausgezeichnet", "rating-very-good": "Sehr gut", "rating-good": "Gut", "rating-fair": "Ansprechend", "rating-none": "Keine Bewertung", clear: "Löschen" }, sn = { "6m": "6-Monatsabo", "1y": "1-Jahresabo", "2y": "2-Jahresabo", "3y": "3-Jahresabo", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-" }, ln = { "your-hc": "Ihre HotelCard", "popular-hotels": "Beliebte Hotelangebote", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "sort-by": "Sortieren nach" }, cn = { guests: "Gäste", guest: "Gast", adults: "Erwachsene", children: "Kinder", pet: "Haustier", "age-of-child": "Alter des Kindes", age: "Alter", "age-error": "Bitte wählen Sie das Alter aus" }, dn = { filters: "Filter", destination: "Reiseziel", experience: "Erlebnis", "show-all": "Alle anzeigen", price: "Preis", discount: "Rabatt", services: "Leistungen", meals: "Verpflegung", "hotel-category": "Hotelkategorie", reviews: "Bewertungen", mobility: "Mobilität", "wellness-spa": "Wellness & Spa", "price-high-low": "Preis: absteigend", "price-low-high": "Preis: aufsteigend", "best-rating": "Beste Bewertung", "most-popular": "Beliebt", "newest-hotels": "Neueste", relevance: "Relevanz", selected: "Ausgewählt:", "clear-all": "Alles löschen", options: "Leistungen", "hotellerie-suisse": "Klassifikation HotellerieSuisse", trustyou: "Bewertungen von Reisenden auf Trust You®", "select-all": "Alle auswählen", reset: "Zurücksetzen", "breakfast-included": "Frühstück inbegriffen" }, un = { "no-results": "Zurzeit entsprechen keine Aufenthalte Ihrer Suche" }, hn = "Hotels suchen - HotelCard", mn = "Suchen Sie nach Hotels nach Stadt, Region oder Hotelname", fn = "Suche", gn = "Hotels werden geladen...", pn = "Erneut versuchen", wn = "Karte schließen", _n = { default_title: "Hoteldeals suchen - HotelCard", location_title: "Hotels in {{location}}", region_title: "Hotels in {{region}}", experience_title: "{{experience}} Hotels", default_description: "Entdecken Sie {{count}} Hotels mit exklusiven HotelCard-Rabatten.", location_description: "Finden Sie {{count}} Hotels in {{location}} mit exklusiven Rabatten von bis zu 50%." }, vn = { close_search: "Suche schließen", placeholder_anywhere: "Überall", recent_searches: "Letzte Suchen", remove_recent: "Aus letzten Suchen entfernen", all_destinations: "Alle Reiseziele" }, bn = { open_search: "Suche öffnen", open_filters: "Filter öffnen", switch_to_list: "Zur Listenansicht wechseln", zoom_in: "Vergrößern", zoom_out: "Verkleinern", no_location_data: "Keine Hotels mit Standortdaten verfügbar", hotels_missing_coordinates: "{{count}} Hotels gefunden, aber Koordinaten fehlen", no_hotels_in_area: "Keine Hotels in diesem Gebiet gefunden" }, Cn = { list: "Liste" }, yn = { properties_found: "{{count}} Unterkünfte gefunden", properties_found_location: "{{location}}: {{count}} Unterkünfte gefunden" }, Nn = { search_results_breadcrumb: "Suchergebnisse", close: "Schließen", previous_image: "Vorheriges Bild", next_image: "Nächstes Bild", add_to_favorites: "Zu Favoriten hinzufügen", remove_from_favorites: "Aus Favoriten entfernen", list_view: "Zur Listenansicht wechseln", map_view: "Zur Kartenansicht wechseln" },
|
|
5
|
+
const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "HotelCard bestellen", "my-account": "Mein Konto", search: "Suchen", "back-to-top": "Nach oben" }, rn = { "member-benefits": "Member Benefits", "view-all-hotels": "Alle Hoteldeals ansehen", "search-by-map": "Kartenansicht", "search-by-region": "Hotels nach Region", "search-by-experience": "Hotels nach Erlebnis", "travel-inspiration": "Reiseinspiration", "booking-tips-and-tricks": "Buchungstipps", home: "Startseite", "all-hotel-deals": "Alle Hotelangebote", "search-results": "Suchergebnisse" }, an = { "signed-out": "Anmelden und buchen", "room-price": "ab CHF xxx / Zimmer", guarantee: "14 Tage Geld-zurück-Garantie", contact: "Weitere Fragen? Kontaktieren Sie uns.", "breakfast-included": "Frühstück inbegriffen", "free-cancellation": "Kostenlose Stornierung", "suggested-destinations": "Vorgeschlagene Reiseziele", "when-months": "Wann möchtest du reisen?", "hotel-deals-found": "Hotelangebote gefunden", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "unavailable-for-selected-days": "Für die ausgewählten Daten nicht verfügbar.", "cant-accommodate-all": "Das Hotel kann nicht alle Gäste beherbergen.", "reset-destination": "Zielsuche zurücksetzen, um Regionen zu filtern" }, on = { "price-from": "ab ", "price-for": "/ Zimmer", "per-room-night": "pro Zimmer & Nacht ab", new: "Neu", anytime: "Jederzeit", anywhere: "Alle Reiseziele", dates: "Datum", flexible: "Flexibel", where: "Wohin", when: "Wann", who: "Wer", nearby: "In der Nähe", hotels: "Hotel", filter: "Filter", sort: "Sortieren", map: "Karte", rating: "Bewertung", "rating-excellent": "Ausgezeichnet", "rating-very-good": "Sehr gut", "rating-good": "Gut", "rating-fair": "Ansprechend", "rating-none": "Keine Bewertung", clear: "Löschen" }, sn = { "6m": "6-Monatsabo", "1y": "1-Jahresabo", "2y": "2-Jahresabo", "3y": "3-Jahresabo", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-" }, ln = { "your-hc": "Ihre HotelCard", "popular-hotels": "Beliebte Hotelangebote", "no-results": "Probieren Sie andere Reiseziele, ändern Sie Ihre Daten oder entfernen Sie einige Filter.", "sort-by": "Sortieren nach" }, cn = { guests: "Gäste", guest: "Gast", adults: "Erwachsene", children: "Kinder", pet: "Haustier", "age-of-child": "Alter des Kindes", age: "Alter", "age-error": "Bitte wählen Sie das Alter aus" }, dn = { filters: "Filter", destination: "Reiseziel", experience: "Erlebnis", "show-all": "Alle anzeigen", price: "Preis", discount: "Rabatt", services: "Leistungen", meals: "Verpflegung", "hotel-category": "Hotelkategorie", reviews: "Bewertungen", mobility: "Mobilität", "wellness-spa": "Wellness & Spa", "price-high-low": "Preis: absteigend", "price-low-high": "Preis: aufsteigend", "best-rating": "Beste Bewertung", "most-popular": "Beliebt", "newest-hotels": "Neueste", relevance: "Relevanz", selected: "Ausgewählt:", "clear-all": "Alles löschen", options: "Leistungen", "hotellerie-suisse": "Klassifikation HotellerieSuisse", trustyou: "Bewertungen von Reisenden auf Trust You®", "select-all": "Alle auswählen", reset: "Zurücksetzen", "breakfast-included": "Frühstück inbegriffen" }, un = { "no-results": "Zurzeit entsprechen keine Aufenthalte Ihrer Suche" }, hn = "Hotels suchen - HotelCard", mn = "Suchen Sie nach Hotels nach Stadt, Region oder Hotelname", fn = "Suche", gn = "Hotels werden geladen...", pn = "Erneut versuchen", wn = "Karte schließen", _n = { default_title: "Hoteldeals suchen - HotelCard", location_title: "Hotels in {{location}}", region_title: "Hotels in {{region}}", experience_title: "{{experience}} Hotels", default_description: "Entdecken Sie {{count}} Hotels mit exklusiven HotelCard-Rabatten.", location_description: "Finden Sie {{count}} Hotels in {{location}} mit exklusiven Rabatten von bis zu 50%." }, vn = { close_search: "Suche schließen", placeholder_anywhere: "Überall", recent_searches: "Letzte Suchen", remove_recent: "Aus letzten Suchen entfernen", all_destinations: "Alle Reiseziele" }, bn = { open_search: "Suche öffnen", open_filters: "Filter öffnen", switch_to_list: "Zur Listenansicht wechseln", zoom_in: "Vergrößern", zoom_out: "Verkleinern", no_location_data: "Keine Hotels mit Standortdaten verfügbar", hotels_missing_coordinates: "{{count}} Hotels gefunden, aber Koordinaten fehlen", no_hotels_in_area: "Keine Hotels in diesem Gebiet gefunden" }, Cn = { list: "Liste" }, yn = { properties_found: "{{count}} Unterkünfte gefunden", properties_found_location: "{{location}}: {{count}} Unterkünfte gefunden" }, Nn = { search_results_breadcrumb: "Suchergebnisse", close: "Schließen", previous_image: "Vorheriges Bild", next_image: "Nächstes Bild", add_to_favorites: "Zu Favoriten hinzufügen", remove_from_favorites: "Aus Favoriten entfernen", list_view: "Zur Listenansicht wechseln", map_view: "Zur Kartenansicht wechseln" }, xn = { home: "Startseite" }, kn = { decrease_adults: "Erwachsene verringern", increase_adults: "Erwachsene erhöhen", decrease_children: "Kinder verringern", increase_children: "Kinder erhöhen", decrease_infants: "Kleinkinder verringern", increase_infants: "Kleinkinder erhöhen", toggle_infants: "Haustiere umschalten" }, Mn = { location_placeholder: "Hotels, Städte, Regionen suchen...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Suche läuft...", reset_filters: "Filter zurücksetzen" }, Ln = { hotels: "Hotels", cities: "Städte", regions: "Regionen", countries: "Länder", "no-results": "Keine Ergebnisse gefunden" }, $n = { show_filters: "Filter anzeigen", open_filters: "Filter öffnen", filter_by: "Filtern nach:", hotel_rating: "Hotelbewertung", show_results: "{{count}} Ergebnisse anzeigen", apply_filters: "Filter anwenden", close_filters: "Filter schließen", view_in_map: "Auf der Karte anzeigen", popular_filters: "Beliebte Filter", destinations: "Reiseziele", options_title: "Optionen", options: { instant_booking: "Sofort buchbar", pets_allowed: "Haustiere erlaubt", free_cancellation: "Kostenlose Stornierung" }, category: { footer_prefix: "Hotelklassifikation gemäss " }, show_less: "Weniger anzeigen", selected: "Ausgewählt", clear_all: "Alle löschen" }, Sn = { apply: "Anwenden", months_selected: "{{count}} Monate" }, Hn = { "5_stars": "5 Sterne", "4_stars": "4 Sterne", "3_stars": "3 Sterne", "2_stars": "2 Sterne", not_classified: "Nicht klassifiziert", swiss_lodge: "Swiss Lodge" }, Dn = { hotels_found: "{{count}} Hotels gefunden", load_more: "Mehr laden", loading: "Laden...", end_of_results: "Sie haben das Ende der Ergebnisse erreicht", no_results: "Keine Hotels gefunden", try_different_search: "Versuchen Sie, Ihre Suchkriterien anzupassen", unavailable_banner_title: "Weitere Hotels, die Sie interessieren könnten", unavailable_banner_description: "Diese Hotels haben derzeit keine Verfügbarkeit, die Ihren Suchkriterien entspricht." }, Pn = { title: "Derzeit sind keine Unterkünfte verfügbar, die Ihren Suchkriterien entsprechen.", subtitle: "Versuchen Sie, Ihre Suchkriterien anzupassen oder die Filter zurückzusetzen", description: "Entdecken Sie verschiedene Reiseziele, ändern Sie Ihre Reisedaten oder entfernen Sie einige Filter.", description_with_filters: "Entdecken Sie verschiedene Reiseziele, ändern Sie Ihre Reisedaten oder entfernen Sie einige Filter.", clear_filters: "Filter zurücksetzen" }, Bn = { search_failed: "Suche fehlgeschlagen", load_more_failed: "Weitere Hotels konnten nicht geladen werden" }, In = { title: "Etwas ist schiefgelaufen", description: "Die Hotels konnten nicht geladen werden. Bitte versuchen Sie es erneut.", retry: "Erneut versuchen" }, An = { label: "Seitennavigation", previous: "Vorherige Seite", previous_short: "Zurück", next: "Nächste Seite", next_short: "Weiter", page: "Seite {{page}}" }, Wn = { rating: "Bewertung", price_from: "pro Zimmer & Nacht ab", not_available: "Nicht verfügbar für Ihre Suchkriterien" }, Tn = { new: "Neu" }, Vn = {
|
|
6
6
|
button: nn,
|
|
7
7
|
link: rn,
|
|
8
8
|
general: an,
|
|
@@ -24,8 +24,8 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
24
24
|
view: Cn,
|
|
25
25
|
breadcrumb: yn,
|
|
26
26
|
aria: Nn,
|
|
27
|
-
breadcrumb_nav:
|
|
28
|
-
guest_selector:
|
|
27
|
+
breadcrumb_nav: xn,
|
|
28
|
+
guest_selector: kn,
|
|
29
29
|
search_form: Mn,
|
|
30
30
|
dropdown: Ln,
|
|
31
31
|
filters: $n,
|
|
@@ -77,9 +77,9 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
77
77
|
clear_location: br,
|
|
78
78
|
clear_date: Cr,
|
|
79
79
|
clear_guests: yr
|
|
80
|
-
},
|
|
81
|
-
button:
|
|
82
|
-
link:
|
|
80
|
+
}, xr = { order: "Commander", "order-navigation": "Commander", "order-hc": "Commander l'HotelCard", "my-account": "Mon compte", search: "Rechercher", "back-to-top": "Haut de page" }, kr = { "member-benefits": "Member Benefits", "view-all-hotels": "Découvrez toutes nos offres", "search-by-map": "Recherche sur la carte", "search-by-region": "Hôtels par région", "search-by-experience": "Hôtels par expérience", "travel-inspiration": "Inspiration voyage", "booking-tips-and-tricks": "Conseils réservation", home: "Accueil", "all-hotel-deals": "Toutes les offres d’hôtels", "search-results": "Résultats de recherche" }, Mr = { "signed-out": "Se connecter et réserver", "room-price": "à partir de CHF XXX par chambre", guarantee: "Garantie de remboursement de 14 jours", contact: "D’autres questions ? Contactez-nous.", "breakfast-included": "Petit-déjeuner inclus", "free-cancellation": "Annulation gratuite", "suggested-destinations": "Suggestions de destinations", "when-months": "Quand souhaitez-vous partir ?", "hotel-deals-found": "offres d’hôtel trouvées", "no-results": "Explorez d’autres destinations, modifiez vos dates ou retirez certains filtres.", "unavailable-for-selected-days": "Indisponible aux dates sélectionnées.", "cant-accommodate-all": "L’hôtel ne peut pas accueillir tous les voyageurs.", "reset-destination": "Réinitialiser la destination et filtrer par région" }, Lr = { "price-from": "à partir de ", "price-for": "par chambre", "per-room-night": "par chambre & nuit dès", new: "Nouveau", anytime: "À tout moment", anywhere: "Toutes les destinations", dates: "Dates", flexible: "Flexible", where: "Destination", when: "Quand", who: "Voyageurs", nearby: "À proximité", hotels: "Hôtel", filter: "Filtrer", sort: "Trier", map: "Carte", rating: "Note", "rating-excellent": "Excellent", "rating-very-good": "Très bien", "rating-good": "Bien", "rating-fair": "Moyen", "rating-none": "Aucune notation", clear: "Effacer" }, $r = { "6m": "Abonnement de 6 mois", "1y": "Abonnement 1 an", "2y": "Abonnement 2 ans", "3y": "Abonnement 3 ans", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-" }, Sr = { "your-hc": "Votre HotelCard", "popular-hotels": "Offres d’hôtels populaires", "no-results": "Explorez d’autres destinations, modifiez vos dates ou retirez certains filtres.", "sort-by": "Trier par" }, Hr = { guests: "personnes", guest: "personne", adults: "Adultes", children: "Enfants", pet: "Animal domestique", "age-of-child": "Âge de l’enfant", age: "Âge", "age-error": "Veuillez sélectionner l’âge" }, Dr = { filters: "Filtres", destination: "Destination", experience: "Expérience", "show-all": "Tout afficher", price: "Prix", discount: "Réduction", services: "Services", meals: "Repas", "hotel-category": "Catégorie d’hôtel", reviews: "Avis", mobility: "Mobilité", "wellness-spa": "Bien-être & Spa", "price-high-low": "Prix : du plus bas", "price-low-high": "Prix : du plus élevé", "best-rating": "Meilleure note", "most-popular": "Plus populaires", "newest-hotels": "Plus récents", relevance: "Pertinence", selected: "Sélectionné:", "clear-all": "Tout effacer", options: "Services", "hotellerie-suisse": "Classification HotellerieSuisse", trustyou: "Avis de voyageurs sur TrustYou®", "select-all": "Tout sélectionner", reset: "Réinitialiser", "breakfast-included": "Petit-déjeuner inclus" }, Pr = { "no-results": "Aucun séjour ne correspond à votre recherche pour le moment" }, Br = "Rechercher des hôtels - HotelCard", Ir = "Recherchez des hôtels par ville, région ou nom d'hôtel", Ar = "Recherche", Wr = "Chargement des hôtels...", Tr = "Réessayer", Vr = "Fermer la carte", Er = { default_title: "Rechercher des offres d'hôtels - HotelCard", location_title: "Hôtels à {{location}}", region_title: "Hôtels en {{region}}", experience_title: "Hôtels {{experience}}", default_description: "Découvrez {{count}} hôtels avec des réductions exclusives HotelCard.", location_description: "Trouvez {{count}} hôtels à {{location}} avec des réductions exclusives jusqu'à 50%." }, zr = { close_search: "Fermer la recherche", placeholder_anywhere: "Partout", recent_searches: "Recherches récentes", remove_recent: "Supprimer des recherches récentes", all_destinations: "Toutes les destinations" }, Rr = { open_search: "Ouvrir la recherche", open_filters: "Ouvrir les filtres", switch_to_list: "Passer à la vue liste", zoom_in: "Agrandir", zoom_out: "Réduire", no_location_data: "Aucun hôtel avec données de localisation", hotels_missing_coordinates: "{{count}} hôtels trouvés mais coordonnées manquantes", no_hotels_in_area: "Aucun hôtel trouvé dans cette zone" }, jr = { list: "Liste" }, Fr = { properties_found: "{{count}} hébergements trouvés", properties_found_location: "{{location}}: {{count}} hébergements trouvés" }, Or = { search_results_breadcrumb: "Résultats de la recherche", close: "Fermer", previous_image: "Image précédente", next_image: "Image suivante", add_to_favorites: "Ajouter aux favoris", remove_from_favorites: "Retirer des favoris", list_view: "Passer à la vue liste", map_view: "Passer à la vue carte" }, Zr = { home: "Accueil" }, qr = { decrease_adults: "Diminuer les adultes", increase_adults: "Augmenter les adultes", decrease_children: "Diminuer les enfants", increase_children: "Augmenter les enfants", decrease_infants: "Diminuer les bébés", increase_infants: "Augmenter les bébés", toggle_infants: "Basculer les animaux" }, Yr = { location_placeholder: "Rechercher des hôtels, villes, régions...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Recherche en cours...", reset_filters: "Réinitialiser les filtres" }, Gr = { hotels: "Hôtels", cities: "Villes", regions: "Régions", countries: "Pays", "no-results": "Aucun résultat trouvé" }, Jr = { show_filters: "Afficher les filtres", open_filters: "Ouvrir les filtres", filter_by: "Filtrer par:", hotel_rating: "Classement de l'hôtel", show_results: "Afficher {{count}} résultats", apply_filters: "Appliquer les filtres", close_filters: "Fermer les filtres", view_in_map: "Voir sur la carte", popular_filters: "Filtres populaires", destinations: "Destinations", options_title: "Options", options: { instant_booking: "Réservation immédiate", pets_allowed: "Animaux acceptés", free_cancellation: "Annulation gratuite" }, category: { footer_prefix: "Classification hôtelière selon " }, show_less: "Afficher moins", selected: "Sélectionné", clear_all: "Tout effacer" }, Kr = { apply: "Appliquer", months_selected: "{{count}} mois" }, Xr = { "5_stars": "5 étoiles", "4_stars": "4 étoiles", "3_stars": "3 étoiles", "2_stars": "2 étoiles", not_classified: "Non classé", swiss_lodge: "Swiss Lodge" }, Ur = { hotels_found: "{{count}} hôtels trouvés", load_more: "Charger plus", loading: "Chargement...", end_of_results: "Vous avez atteint la fin des résultats", no_results: "Aucun hôtel trouvé", try_different_search: "Essayez d'ajuster vos critères de recherche", unavailable_banner_title: "D'autres hôtels qui pourraient vous intéresser", unavailable_banner_description: "Ces hôtels n'ont actuellement pas de disponibilité correspondant à vos critères de recherche." }, Qr = { title: "Aucun hébergement ne correspond à votre recherche pour le moment.", subtitle: "Essayez d'ajuster vos critères de recherche ou réinitialisez les filtres", description: "Explorez différentes destinations, modifiez vos dates ou supprimez certains filtres.", description_with_filters: "Explorez différentes destinations, modifiez vos dates ou supprimez certains filtres.", clear_filters: "Réinitialiser les filtres" }, ea = { search_failed: "La recherche a échoué", load_more_failed: "Impossible de charger plus d'hôtels" }, ta = { title: "Une erreur s'est produite", description: "Les hôtels n'ont pas pu être chargés. Veuillez réessayer.", retry: "Réessayer" }, na = { label: "Pagination", previous: "Page précédente", previous_short: "Précédent", next: "Page suivante", next_short: "Suivant", page: "Page {{page}}" }, ra = { rating: "Note", price_from: "par chambre & nuit dès", not_available: "Non disponible selon vos critères de recherche" }, aa = { new: "Nouveau" }, ia = {
|
|
81
|
+
button: xr,
|
|
82
|
+
link: kr,
|
|
83
83
|
general: Mr,
|
|
84
84
|
label: Lr,
|
|
85
85
|
product: $r,
|
|
@@ -113,7 +113,7 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
113
113
|
pagination: na,
|
|
114
114
|
hotel_card: ra,
|
|
115
115
|
badges: aa
|
|
116
|
-
}, oa = { order: "Ordina ora", "order-navigation": "Ordina ora", "order-hc": "Ordina HotelCard", "my-account": "Il mio profilo", search: "Cerca", "back-to-top": "Torna su" }, sa = { "member-benefits": "Member Benefits", "view-all-hotels": "Tutte le offerte hotel", "search-by-map": "Ricerca sulla mappa", "search-by-region": "Hotel per regione", "search-by-experience": "Hotel per esperienza", "travel-inspiration": "Ispirazioni di viaggio", "booking-tips-and-tricks": "Consigli prenotazione", home: "Home", "all-hotel-deals": "Tutte le offerte hotel", "search-results": "Risultati di ricerca" }, la = { "signed-out": "Accedi e prenota", "room-price": "a partire da CHF xxx per camera", guarantee: "Garanzia di rimborso di 14 giorni", contact: "Altre domande? Contattaci.", "breakfast-included": "Colazione inclusa", "free-cancellation": "Cancellazione gratuita", "suggested-destinations": "Destinazioni suggerite", "when-months": "Quando vuoi viaggiare?", "hotel-deals-found": "offerte hotel trovate", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "unavailable-for-selected-days": "Non disponibile per le date selezionate.", "cant-accommodate-all": "L’hotel non può accogliere tutti gli ospiti.", "reset-destination": "Reimposta la destinazione e filtra per regione" }, ca = { "price-from": "a partire da ", "price-for": "per camera", "per-room-night": "per camera e notte da", new: "Nuovo", anytime: "In qualsiasi momento", anywhere: "Tutte le destinazioni", dates: "Date", flexible: "Flessibile", where: "Dove", when: "Date", who: "Chi", nearby: "Nelle vicinanze", hotels: "Hotel", filter: "Filtra", sort: "Ordina", map: "Mappa", rating: "Rating", "rating-excellent": "Eccellente", "rating-very-good": "Ottimo", "rating-good": "Buono", "rating-fair": "Sufficiente", "rating-none": "Nessun voto", clear: "Cancella" }, da = { "6m": "Abbonamento di 6 mesi", "1y": "Abbonamento 1 anno", "2y": "Abbonamento 2 anni", "3y": "Abbonamento 3 anni", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-" }, ua = { "your-hc": "La sua HotelCard", "popular-hotels": "Offerte hotel popolari", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "sort-by": "Ordina per" }, ha = { guests: "ospiti", guest: "ospite", adults: "Adulti", children: "Bambini", pet: "Animale domestico", "age-of-child": "L'età del bambino", age: "L'età", "age-error": "Seleziona l’età" }, ma = { filters: "Filtri", destination: "Destinazione", experience: "Esperienza", "show-all": "Mostra tutto", price: "Prezzo", discount: "Sconto", services: "Servizi", meals: "Pasti", "hotel-category": "Categoria hotel", reviews: "Recensioni", mobility: "Mobilità", "wellness-spa": "Wellness & Spa", "price-high-low": "Prezzo: dal più basso", "price-low-high": "Prezzo: dal più alto", "best-rating": "Miglior voto", "most-popular": "Più popolari", "newest-hotels": "Più recenti", relevance: "Rilevanza", selected: "Selezionato:", "clear-all": "Cancella tutto", options: "Servizi", "hotellerie-suisse": "Classificazione HotellerieSuisse", trustyou: "Recensioni dei viaggiatori su TrustYou®", "select-all": "Seleziona tutto", reset: "Reimposta", "breakfast-included": "Colazione inclusa" }, fa = { "no-results": "Al momento nessun soggiorno corrisponde alla tua ricerca" }, ga = "Cerca Hotel - HotelCard", pa = "Cerca hotel per città, regione o nome dell'hotel", wa = "Ricerca", _a = "Caricamento hotel...", va = "Riprova", ba = "Chiudi mappa", Ca = { default_title: "Cerca offerte hotel - HotelCard", location_title: "Hotel a {{location}}", region_title: "Hotel in {{region}}", experience_title: "Hotel {{experience}}", default_description: "Scopri {{count}} hotel con sconti esclusivi HotelCard.", location_description: "Trova {{count}} hotel a {{location}} con sconti esclusivi fino al 50%." }, ya = { close_search: "Chiudi ricerca", placeholder_anywhere: "Ovunque", recent_searches: "Ricerche recenti", remove_recent: "Rimuovi dalle ricerche recenti", all_destinations: "Tutte le destinazioni" }, Na = { open_search: "Apri ricerca", open_filters: "Apri filtri", switch_to_list: "Passa alla vista elenco", zoom_in: "Ingrandisci", zoom_out: "Riduci", no_location_data: "Nessun hotel con dati di posizione", hotels_missing_coordinates: "{{count}} hotel trovati ma coordinate mancanti", no_hotels_in_area: "Nessun hotel trovato in questa zona" },
|
|
116
|
+
}, oa = { order: "Ordina ora", "order-navigation": "Ordina ora", "order-hc": "Ordina HotelCard", "my-account": "Il mio profilo", search: "Cerca", "back-to-top": "Torna su" }, sa = { "member-benefits": "Member Benefits", "view-all-hotels": "Tutte le offerte hotel", "search-by-map": "Ricerca sulla mappa", "search-by-region": "Hotel per regione", "search-by-experience": "Hotel per esperienza", "travel-inspiration": "Ispirazioni di viaggio", "booking-tips-and-tricks": "Consigli prenotazione", home: "Home", "all-hotel-deals": "Tutte le offerte hotel", "search-results": "Risultati di ricerca" }, la = { "signed-out": "Accedi e prenota", "room-price": "a partire da CHF xxx per camera", guarantee: "Garanzia di rimborso di 14 giorni", contact: "Altre domande? Contattaci.", "breakfast-included": "Colazione inclusa", "free-cancellation": "Cancellazione gratuita", "suggested-destinations": "Destinazioni suggerite", "when-months": "Quando vuoi viaggiare?", "hotel-deals-found": "offerte hotel trovate", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "unavailable-for-selected-days": "Non disponibile per le date selezionate.", "cant-accommodate-all": "L’hotel non può accogliere tutti gli ospiti.", "reset-destination": "Reimposta la destinazione e filtra per regione" }, ca = { "price-from": "a partire da ", "price-for": "per camera", "per-room-night": "per camera e notte da", new: "Nuovo", anytime: "In qualsiasi momento", anywhere: "Tutte le destinazioni", dates: "Date", flexible: "Flessibile", where: "Dove", when: "Date", who: "Chi", nearby: "Nelle vicinanze", hotels: "Hotel", filter: "Filtra", sort: "Ordina", map: "Mappa", rating: "Rating", "rating-excellent": "Eccellente", "rating-very-good": "Ottimo", "rating-good": "Buono", "rating-fair": "Sufficiente", "rating-none": "Nessun voto", clear: "Cancella" }, da = { "6m": "Abbonamento di 6 mesi", "1y": "Abbonamento 1 anno", "2y": "Abbonamento 2 anni", "3y": "Abbonamento 3 anni", "price-6m": "79.-", "price-6m-disc": "59.-", "price-1y": "99.-", "price-1y-disc": "79.-", "price-2y": "198.-", "price-2y-disc": "173.-", "price-3y": "297.-", "price-3y-disc": "247.-", "price-gift": "99.-", "price-gift-disc": "59.-" }, ua = { "your-hc": "La sua HotelCard", "popular-hotels": "Offerte hotel popolari", "no-results": "Prova altre destinazioni, cambia le date o rimuovi qualche filtro.", "sort-by": "Ordina per" }, ha = { guests: "ospiti", guest: "ospite", adults: "Adulti", children: "Bambini", pet: "Animale domestico", "age-of-child": "L'età del bambino", age: "L'età", "age-error": "Seleziona l’età" }, ma = { filters: "Filtri", destination: "Destinazione", experience: "Esperienza", "show-all": "Mostra tutto", price: "Prezzo", discount: "Sconto", services: "Servizi", meals: "Pasti", "hotel-category": "Categoria hotel", reviews: "Recensioni", mobility: "Mobilità", "wellness-spa": "Wellness & Spa", "price-high-low": "Prezzo: dal più basso", "price-low-high": "Prezzo: dal più alto", "best-rating": "Miglior voto", "most-popular": "Più popolari", "newest-hotels": "Più recenti", relevance: "Rilevanza", selected: "Selezionato:", "clear-all": "Cancella tutto", options: "Servizi", "hotellerie-suisse": "Classificazione HotellerieSuisse", trustyou: "Recensioni dei viaggiatori su TrustYou®", "select-all": "Seleziona tutto", reset: "Reimposta", "breakfast-included": "Colazione inclusa" }, fa = { "no-results": "Al momento nessun soggiorno corrisponde alla tua ricerca" }, ga = "Cerca Hotel - HotelCard", pa = "Cerca hotel per città, regione o nome dell'hotel", wa = "Ricerca", _a = "Caricamento hotel...", va = "Riprova", ba = "Chiudi mappa", Ca = { default_title: "Cerca offerte hotel - HotelCard", location_title: "Hotel a {{location}}", region_title: "Hotel in {{region}}", experience_title: "Hotel {{experience}}", default_description: "Scopri {{count}} hotel con sconti esclusivi HotelCard.", location_description: "Trova {{count}} hotel a {{location}} con sconti esclusivi fino al 50%." }, ya = { close_search: "Chiudi ricerca", placeholder_anywhere: "Ovunque", recent_searches: "Ricerche recenti", remove_recent: "Rimuovi dalle ricerche recenti", all_destinations: "Tutte le destinazioni" }, Na = { open_search: "Apri ricerca", open_filters: "Apri filtri", switch_to_list: "Passa alla vista elenco", zoom_in: "Ingrandisci", zoom_out: "Riduci", no_location_data: "Nessun hotel con dati di posizione", hotels_missing_coordinates: "{{count}} hotel trovati ma coordinate mancanti", no_hotels_in_area: "Nessun hotel trovato in questa zona" }, xa = { list: "Lista" }, ka = { properties_found: "{{count}} strutture trovate", properties_found_location: "{{location}}: {{count}} strutture trovate" }, Ma = { search_results_breadcrumb: "Risultati della ricerca", close: "Chiudi", previous_image: "Immagine precedente", next_image: "Immagine successiva", add_to_favorites: "Aggiungi ai preferiti", remove_from_favorites: "Rimuovi dai preferiti", list_view: "Passa alla vista elenco", map_view: "Passa alla vista mappa" }, La = { home: "Home" }, $a = { decrease_adults: "Diminuisci adulti", increase_adults: "Aumenta adulti", decrease_children: "Diminuisci bambini", increase_children: "Aumenta bambini", decrease_infants: "Diminuisci neonati", increase_infants: "Aumenta neonati", toggle_infants: "Attiva/disattiva animali" }, Sa = { location_placeholder: "Cerca hotel, città, regioni...", distance_any: "- km", distance_5: "+ 5 km", distance_10: "+ 10 km", distance_20: "+ 20 km", distance_30: "+ 30 km", distance_50: "+ 50 km", searching: "Ricerca in corso...", reset_filters: "Ripristina filtri" }, Ha = { hotels: "Hotel", cities: "Città", regions: "Regioni", countries: "Paesi", "no-results": "Nessun risultato trovato" }, Da = { show_filters: "Mostra filtri", open_filters: "Apri filtri", filter_by: "Filtra per:", hotel_rating: "Categoria hotel", show_results: "Mostra {{count}} risultati", apply_filters: "Applica filtri", close_filters: "Chiudi filtri", view_in_map: "Visualizza sulla mappa", popular_filters: "Filtri popolari", destinations: "Destinazioni", options_title: "Opzioni", options: { instant_booking: "Prenotazione immediata", pets_allowed: "Animali ammessi", free_cancellation: "Cancellazione gratuita" }, category: { footer_prefix: "Classificazione alberghiera secondo " }, show_less: "Mostra meno", selected: "Selezionato", clear_all: "Cancella tutto" }, Pa = { apply: "Applica", months_selected: "{{count}} mesi" }, Ba = { "5_stars": "5 stelle", "4_stars": "4 stelle", "3_stars": "3 stelle", "2_stars": "2 stelle", not_classified: "Non classificato", swiss_lodge: "Swiss Lodge" }, Ia = { hotels_found: "{{count}} hotel trovati", load_more: "Carica altri", loading: "Caricamento...", end_of_results: "Hai raggiunto la fine dei risultati", no_results: "Nessun hotel trovato", try_different_search: "Prova a modificare i criteri di ricerca", unavailable_banner_title: "Altri hotel che potrebbero interessarti", unavailable_banner_description: "Questi hotel non hanno attualmente disponibilità corrispondente ai tuoi criteri di ricerca." }, Aa = { title: "Al momento non ci sono alloggi che corrispondono ai criteri di ricerca.", subtitle: "Prova a modificare i criteri di ricerca o ripristina i filtri", description: "Esplora diverse destinazioni, modifica le date o rimuovi alcuni filtri.", description_with_filters: "Esplora diverse destinazioni, modifica le date o rimuovi alcuni filtri.", clear_filters: "Ripristina filtri" }, Wa = { search_failed: "Ricerca fallita", load_more_failed: "Impossibile caricare altri hotel" }, Ta = { title: "Qualcosa è andato storto", description: "Non è stato possibile caricare gli hotel. Riprova.", retry: "Riprova" }, Va = { label: "Paginazione", previous: "Pagina precedente", previous_short: "Precedente", next: "Pagina successiva", next_short: "Successivo", page: "Pagina {{page}}" }, Ea = { rating: "Valutazione", price_from: "per camera e notte da", not_available: "Non disponibile per i tuoi criteri di ricerca" }, za = { new: "Nuovo" }, Ra = {
|
|
117
117
|
button: oa,
|
|
118
118
|
link: sa,
|
|
119
119
|
general: la,
|
|
@@ -132,8 +132,8 @@ const nn = { order: "Bestellen", "order-navigation": "Bestellen", "order-hc": "H
|
|
|
132
132
|
seo: Ca,
|
|
133
133
|
modal: ya,
|
|
134
134
|
map: Na,
|
|
135
|
-
view:
|
|
136
|
-
breadcrumb:
|
|
135
|
+
view: xa,
|
|
136
|
+
breadcrumb: ka,
|
|
137
137
|
aria: Ma,
|
|
138
138
|
breadcrumb_nav: La,
|
|
139
139
|
guest_selector: $a,
|
|
@@ -858,12 +858,12 @@ const pe = (e) => `hc-input-${e}`, si = ({
|
|
|
858
858
|
readOnly: B = !1,
|
|
859
859
|
inputProps: O
|
|
860
860
|
}) => {
|
|
861
|
-
const [W, T] = $(i), [C, S] = $(!1),
|
|
861
|
+
const [W, T] = $(i), [C, S] = $(!1), k = he(null), I = a !== void 0 ? a : W, A = (J) => {
|
|
862
862
|
const de = J.target.value;
|
|
863
863
|
a === void 0 && T(de), o == null || o(de);
|
|
864
864
|
}, j = () => {
|
|
865
865
|
S(!0), d == null || d();
|
|
866
|
-
},
|
|
866
|
+
}, x = () => {
|
|
867
867
|
S(!1), c == null || c();
|
|
868
868
|
}, Z = [pe("container"), w].filter(Boolean).join(" "), ne = [
|
|
869
869
|
pe("label"),
|
|
@@ -891,7 +891,7 @@ const pe = (e) => `hc-input-${e}`, si = ({
|
|
|
891
891
|
className: ae,
|
|
892
892
|
onClick: () => {
|
|
893
893
|
var J;
|
|
894
|
-
return !h && !B && ((J =
|
|
894
|
+
return !h && !B && ((J = k.current) == null ? void 0 : J.focus());
|
|
895
895
|
},
|
|
896
896
|
children: [
|
|
897
897
|
m && /* @__PURE__ */ t("div", { className: pe("icon"), children: m }),
|
|
@@ -899,14 +899,14 @@ const pe = (e) => `hc-input-${e}`, si = ({
|
|
|
899
899
|
/* @__PURE__ */ t(
|
|
900
900
|
"input",
|
|
901
901
|
{
|
|
902
|
-
ref:
|
|
902
|
+
ref: k,
|
|
903
903
|
type: l,
|
|
904
904
|
id: N,
|
|
905
905
|
name: y,
|
|
906
906
|
value: I,
|
|
907
907
|
onChange: A,
|
|
908
908
|
onFocus: j,
|
|
909
|
-
onBlur:
|
|
909
|
+
onBlur: x,
|
|
910
910
|
placeholder: r,
|
|
911
911
|
disabled: h,
|
|
912
912
|
required: M,
|
|
@@ -1114,7 +1114,7 @@ const be = (e) => `hc-benefits-${e}`, hi = ({
|
|
|
1114
1114
|
] }) });
|
|
1115
1115
|
};
|
|
1116
1116
|
hi.displayName = "Benefits";
|
|
1117
|
-
const
|
|
1117
|
+
const ke = (e) => `hc-pin-${e}`, mi = ({ className: e }) => /* @__PURE__ */ t(
|
|
1118
1118
|
"svg",
|
|
1119
1119
|
{
|
|
1120
1120
|
className: e,
|
|
@@ -1148,9 +1148,9 @@ const xe = (e) => `hc-pin-${e}`, mi = ({ className: e }) => /* @__PURE__ */ t(
|
|
|
1148
1148
|
className: c = ""
|
|
1149
1149
|
}, l) => {
|
|
1150
1150
|
const u = r ? "secondary" : "primary", h = [
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
e === "hotel" &&
|
|
1151
|
+
ke("pin"),
|
|
1152
|
+
ke(u),
|
|
1153
|
+
e === "hotel" && ke("hotel"),
|
|
1154
1154
|
c
|
|
1155
1155
|
].filter(Boolean).join(" "), m = typeof a == "number" ? Math.round(a).toString() : a;
|
|
1156
1156
|
return /* @__PURE__ */ s(
|
|
@@ -1162,12 +1162,12 @@ const xe = (e) => `hc-pin-${e}`, mi = ({ className: e }) => /* @__PURE__ */ t(
|
|
|
1162
1162
|
disabled: o,
|
|
1163
1163
|
onClick: d,
|
|
1164
1164
|
children: [
|
|
1165
|
-
/* @__PURE__ */ t("div", { className:
|
|
1166
|
-
/* @__PURE__ */ t("span", { className:
|
|
1167
|
-
/* @__PURE__ */ t("span", { className:
|
|
1168
|
-
i && /* @__PURE__ */ t("div", { className:
|
|
1169
|
-
] }) : /* @__PURE__ */ t(fi, { className:
|
|
1170
|
-
/* @__PURE__ */ t("div", { className:
|
|
1165
|
+
/* @__PURE__ */ t("div", { className: ke("body"), children: e === "price" ? /* @__PURE__ */ s(De, { children: [
|
|
1166
|
+
/* @__PURE__ */ t("span", { className: ke("currency"), children: n }),
|
|
1167
|
+
/* @__PURE__ */ t("span", { className: ke("price"), children: m }),
|
|
1168
|
+
i && /* @__PURE__ */ t("div", { className: ke("favorite-container"), children: /* @__PURE__ */ t(mi, { className: ke("favorite-icon") }) })
|
|
1169
|
+
] }) : /* @__PURE__ */ t(fi, { className: ke("hotel-icon") }) }),
|
|
1170
|
+
/* @__PURE__ */ t("div", { className: ke("pointer"), children: /* @__PURE__ */ t("div", { className: ke("pointer-inner") }) })
|
|
1171
1171
|
]
|
|
1172
1172
|
}
|
|
1173
1173
|
);
|
|
@@ -1213,10 +1213,10 @@ const g5 = (e, r) => {
|
|
|
1213
1213
|
dropdown: Ci,
|
|
1214
1214
|
"dropdown--open": "_dropdown--open_fbu27_102",
|
|
1215
1215
|
dropdownMobile: yi
|
|
1216
|
-
}, Ni = "
|
|
1216
|
+
}, Ni = "_container_4hex0_13", xi = "_containerDropdown_4hex0_22", ki = "_containerExpanded_4hex0_27", Mi = "_sectionTitle_4hex0_40", Li = "_header_4hex0_57", $i = "_tabs_4hex0_84", Si = "_tab_4hex0_84", Hi = "_tabActive_4hex0_115", Di = "_applyButtonContainer_4hex0_128", Pi = "_content_4hex0_137", Bi = "_flexibleContent_4hex0_159", Ii = "_contentHeading_4hex0_174", Ai = "_monthGrid_4hex0_189", Wi = "_monthGridMobile_4hex0_198", Ti = "_monthButton_4hex0_207", Vi = "_monthButtonDisabled_4hex0_224", Ei = "_monthButtonSelected_4hex0_229", zi = "_monthLabel_4hex0_259", Ri = "_monthYear_4hex0_269", ji = "_anytimeButton_4hex0_290", Fi = "_datesContent_4hex0_302", Oi = "_contentDatesActive_4hex0_310", Q = {
|
|
1217
1217
|
container: Ni,
|
|
1218
|
-
containerDropdown:
|
|
1219
|
-
containerExpanded:
|
|
1218
|
+
containerDropdown: xi,
|
|
1219
|
+
containerExpanded: ki,
|
|
1220
1220
|
sectionTitle: Mi,
|
|
1221
1221
|
header: Li,
|
|
1222
1222
|
tabs: $i,
|
|
@@ -1268,25 +1268,25 @@ const g5 = (e, r) => {
|
|
|
1268
1268
|
minDate: a,
|
|
1269
1269
|
locale: i = "de-CH"
|
|
1270
1270
|
}) => {
|
|
1271
|
-
const { isDesktop: o } = rt(), [d, c] = $(/* @__PURE__ */ new Date()), l = (
|
|
1272
|
-
const Z = new Date(
|
|
1271
|
+
const { isDesktop: o } = rt(), [d, c] = $(/* @__PURE__ */ new Date()), l = (x) => e === x, u = (x) => r === x, h = (x) => !e || !r ? !1 : x > e && x < r, m = (x) => new Date(x.getFullYear(), x.getMonth() + 1, 0), f = (x) => new Date(x.getFullYear(), x.getMonth() + 1, 0).getDate(), v = (x) => {
|
|
1272
|
+
const Z = new Date(x.getFullYear(), x.getMonth(), 1).getDay();
|
|
1273
1273
|
return Z === 0 ? 6 : Z - 1;
|
|
1274
|
-
}, w = (
|
|
1275
|
-
const
|
|
1274
|
+
}, w = (x) => x.toLocaleDateString(i, { month: "long", year: "numeric" }), p = (() => {
|
|
1275
|
+
const x = [], Z = new Date(2020, 0, 6);
|
|
1276
1276
|
for (let ne = 0; ne < 7; ne++) {
|
|
1277
1277
|
const ae = new Date(Z);
|
|
1278
|
-
ae.setDate(Z.getDate() + ne),
|
|
1278
|
+
ae.setDate(Z.getDate() + ne), x.push(ae.toLocaleDateString(i, { weekday: "short" }).slice(0, 2));
|
|
1279
1279
|
}
|
|
1280
|
-
return
|
|
1281
|
-
})(), y = (
|
|
1282
|
-
const Z = /* @__PURE__ */ new Date(), ne = new Date(Z.getFullYear() + 1, Z.getMonth(), Z.getDate()), ae =
|
|
1280
|
+
return x;
|
|
1281
|
+
})(), y = (x) => {
|
|
1282
|
+
const Z = /* @__PURE__ */ new Date(), ne = new Date(Z.getFullYear() + 1, Z.getMonth(), Z.getDate()), ae = x.split("-").map(Number), te = new Date(ae[0], ae[1] - 1, ae[2]);
|
|
1283
1283
|
if (a) {
|
|
1284
1284
|
const G = a.split("-").map(Number), J = new Date(G[0], G[1] - 1, G[2]);
|
|
1285
1285
|
if (te < J) return !0;
|
|
1286
1286
|
}
|
|
1287
1287
|
return te > ne;
|
|
1288
|
-
}, N = (
|
|
1289
|
-
const Z = new Date(d.getFullYear(), d.getMonth() +
|
|
1288
|
+
}, N = (x) => {
|
|
1289
|
+
const Z = new Date(d.getFullYear(), d.getMonth() + x, 1), ne = f(Z), ae = v(Z), te = [];
|
|
1290
1290
|
for (let G = 0; G < ae; G++)
|
|
1291
1291
|
te.push(/* @__PURE__ */ t("div", { className: F.dayCell }, `empty-${G}`));
|
|
1292
1292
|
for (let G = 1; G <= ne; G++) {
|
|
@@ -1317,7 +1317,7 @@ const g5 = (e, r) => {
|
|
|
1317
1317
|
c(new Date(d.getFullYear(), d.getMonth() - 1, 1));
|
|
1318
1318
|
}, E = () => {
|
|
1319
1319
|
c(new Date(d.getFullYear(), d.getMonth() + 1, 1));
|
|
1320
|
-
}, R = new Date(d.getFullYear(), d.getMonth() - 1, 1), B = a ? m(R) < new Date(a) : !1, O = /* @__PURE__ */ new Date(), W = new Date(O.getFullYear() + 1, O.getMonth(), 1), T = new Date(d.getFullYear(), d.getMonth() + 1, 1), C = T >= W, S = T > W,
|
|
1320
|
+
}, R = new Date(d.getFullYear(), d.getMonth() - 1, 1), B = a ? m(R) < new Date(a) : !1, O = /* @__PURE__ */ new Date(), W = new Date(O.getFullYear() + 1, O.getMonth(), 1), T = new Date(d.getFullYear(), d.getMonth() + 1, 1), C = T >= W, S = T > W, k = () => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", className: F.positionAbs, children: /* @__PURE__ */ t("path", { d: "M6.09652 9.36666C5.74908 9.71647 5.74908 10.2821 6.09652 10.6282L11.8223 16.4043C12.1698 16.7541 12.7316 16.7541 13.0754 16.4043C13.4191 16.0545 13.4228 15.4888 13.0754 15.1428L7.97791 9.9993L13.0754 4.85584C13.4228 4.50603 13.4228 3.94038 13.0754 3.59429C12.7279 3.2482 12.1661 3.24448 11.8223 3.59429L6.09652 9.36666Z", fill: "#1F2937" }) }), I = () => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", className: F.positionAbs, children: /* @__PURE__ */ t("path", { d: "M13.9035 9.36666C14.2509 9.71647 14.2509 10.2821 13.9035 10.6282L8.17767 16.4043C7.83023 16.7541 7.2684 16.7541 6.92465 16.4043C6.5809 16.0545 6.5772 15.4888 6.92465 15.1428L12.0221 9.9993L6.92465 4.85584C6.5772 4.50603 6.5772 3.94038 6.92465 3.59429C7.27209 3.2482 7.83392 3.24448 8.17767 3.59429L13.9035 9.37039V9.36666Z", fill: "#1F2937" }) }), A = [
|
|
1321
1321
|
F.container,
|
|
1322
1322
|
!o && F.containerMobile
|
|
1323
1323
|
].filter(Boolean).join(" "), j = [
|
|
@@ -1337,7 +1337,7 @@ const g5 = (e, r) => {
|
|
|
1337
1337
|
].filter(Boolean).join(" "),
|
|
1338
1338
|
onClick: M,
|
|
1339
1339
|
disabled: B,
|
|
1340
|
-
children: /* @__PURE__ */ t(
|
|
1340
|
+
children: /* @__PURE__ */ t(k, {})
|
|
1341
1341
|
}
|
|
1342
1342
|
),
|
|
1343
1343
|
/* @__PURE__ */ t("h3", { className: F.monthTitleMobile, children: w(d) }),
|
|
@@ -1368,31 +1368,31 @@ const g5 = (e, r) => {
|
|
|
1368
1368
|
].filter(Boolean).join(" "),
|
|
1369
1369
|
onClick: M,
|
|
1370
1370
|
disabled: B,
|
|
1371
|
-
children: /* @__PURE__ */ t(
|
|
1371
|
+
children: /* @__PURE__ */ t(k, {})
|
|
1372
1372
|
}
|
|
1373
1373
|
),
|
|
1374
1374
|
/* @__PURE__ */ s("div", { className: j, children: [
|
|
1375
1375
|
/* @__PURE__ */ s("div", { className: F.calendar, children: [
|
|
1376
1376
|
/* @__PURE__ */ t("h3", { className: F.monthTitle, children: w(d) }),
|
|
1377
|
-
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((
|
|
1377
|
+
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((x, Z) => /* @__PURE__ */ t(
|
|
1378
1378
|
"div",
|
|
1379
1379
|
{
|
|
1380
1380
|
className: `${F.weekDay} ${Z >= 5 ? F.weekDayWeekend : ""}`,
|
|
1381
|
-
children:
|
|
1381
|
+
children: x
|
|
1382
1382
|
},
|
|
1383
|
-
|
|
1383
|
+
x
|
|
1384
1384
|
)) }),
|
|
1385
1385
|
/* @__PURE__ */ t("div", { className: F.daysGrid, children: N(0) })
|
|
1386
1386
|
] }),
|
|
1387
1387
|
/* @__PURE__ */ s("div", { className: F.calendar, children: [
|
|
1388
1388
|
/* @__PURE__ */ t("h3", { className: F.monthTitle, children: w(T) }),
|
|
1389
|
-
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((
|
|
1389
|
+
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((x, Z) => /* @__PURE__ */ t(
|
|
1390
1390
|
"div",
|
|
1391
1391
|
{
|
|
1392
1392
|
className: `${F.weekDay} ${Z >= 5 ? F.weekDayWeekend : ""}`,
|
|
1393
|
-
children:
|
|
1393
|
+
children: x
|
|
1394
1394
|
},
|
|
1395
|
-
|
|
1395
|
+
x
|
|
1396
1396
|
)) }),
|
|
1397
1397
|
/* @__PURE__ */ t("div", { className: F.daysGrid, children: N(1) })
|
|
1398
1398
|
] })
|
|
@@ -1414,13 +1414,13 @@ const g5 = (e, r) => {
|
|
|
1414
1414
|
] }) : (
|
|
1415
1415
|
/* Mobile: Single calendar below navigation */
|
|
1416
1416
|
/* @__PURE__ */ t("div", { className: j, children: /* @__PURE__ */ s("div", { className: F.calendar, children: [
|
|
1417
|
-
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((
|
|
1417
|
+
/* @__PURE__ */ t("div", { className: F.weekDaysRow, children: p.map((x, Z) => /* @__PURE__ */ t(
|
|
1418
1418
|
"div",
|
|
1419
1419
|
{
|
|
1420
1420
|
className: `${F.weekDay} ${Z >= 5 ? F.weekDayWeekend : ""}`,
|
|
1421
|
-
children:
|
|
1421
|
+
children: x
|
|
1422
1422
|
},
|
|
1423
|
-
|
|
1423
|
+
x
|
|
1424
1424
|
)) }),
|
|
1425
1425
|
/* @__PURE__ */ t("div", { className: F.daysGrid, children: N(0) })
|
|
1426
1426
|
] }) })
|
|
@@ -1449,8 +1449,8 @@ const g5 = (e, r) => {
|
|
|
1449
1449
|
}, [e, r]);
|
|
1450
1450
|
const M = (() => {
|
|
1451
1451
|
const A = [], j = /* @__PURE__ */ new Date();
|
|
1452
|
-
for (let
|
|
1453
|
-
const Z = new Date(j.getFullYear(), j.getMonth() +
|
|
1452
|
+
for (let x = 0; x < 12; x++) {
|
|
1453
|
+
const Z = new Date(j.getFullYear(), j.getMonth() + x, 1);
|
|
1454
1454
|
A.push({
|
|
1455
1455
|
label: Z.toLocaleDateString(m, { month: "long" }),
|
|
1456
1456
|
year: Z.getFullYear(),
|
|
@@ -1462,7 +1462,7 @@ const g5 = (e, r) => {
|
|
|
1462
1462
|
})(), E = () => {
|
|
1463
1463
|
v({ start: null, end: null }), n == null || n(null), a == null || a(null);
|
|
1464
1464
|
}, R = (A) => {
|
|
1465
|
-
const j = p.includes(A) ? p.filter((
|
|
1465
|
+
const j = p.includes(A) ? p.filter((x) => x !== A) : [...p, A];
|
|
1466
1466
|
v({ start: null, end: null }), n == null || n(null), j.length === 0 ? a == null || a(null) : a == null || a(j);
|
|
1467
1467
|
}, B = () => {
|
|
1468
1468
|
w === "anytime" ? p.length === 0 && (n == null || n(null)) : f.start && f.end && (n == null || n(f)), d == null || d();
|
|
@@ -1476,8 +1476,8 @@ const g5 = (e, r) => {
|
|
|
1476
1476
|
const j = { start: A, end: null };
|
|
1477
1477
|
v(j), n == null || n(j);
|
|
1478
1478
|
} else if (A === f.start) {
|
|
1479
|
-
const j = T(A),
|
|
1480
|
-
v(
|
|
1479
|
+
const j = T(A), x = { start: f.start, end: j };
|
|
1480
|
+
v(x), n == null || n(x);
|
|
1481
1481
|
} else if (A > f.start) {
|
|
1482
1482
|
const j = { start: f.start, end: A };
|
|
1483
1483
|
v(j), n == null || n(j);
|
|
@@ -1489,7 +1489,7 @@ const g5 = (e, r) => {
|
|
|
1489
1489
|
Q.container,
|
|
1490
1490
|
i === "expanded" ? Q.containerExpanded : Q.containerDropdown,
|
|
1491
1491
|
c
|
|
1492
|
-
].filter(Boolean).join(" "),
|
|
1492
|
+
].filter(Boolean).join(" "), k = [
|
|
1493
1493
|
Q.monthGrid,
|
|
1494
1494
|
!h && Q.monthGridMobile
|
|
1495
1495
|
].filter(Boolean).join(" "), I = [
|
|
@@ -1523,7 +1523,7 @@ const g5 = (e, r) => {
|
|
|
1523
1523
|
] }),
|
|
1524
1524
|
/* @__PURE__ */ t("div", { className: I, children: w === "anytime" ? /* @__PURE__ */ s("div", { className: Q.flexibleContent, children: [
|
|
1525
1525
|
/* @__PURE__ */ t("h3", { className: Q.contentHeading, children: l("general.when-months") }),
|
|
1526
|
-
/* @__PURE__ */ s("div", { className:
|
|
1526
|
+
/* @__PURE__ */ s("div", { className: k, children: [
|
|
1527
1527
|
/* @__PURE__ */ t(
|
|
1528
1528
|
"button",
|
|
1529
1529
|
{
|
|
@@ -1584,14 +1584,14 @@ const g5 = (e, r) => {
|
|
|
1584
1584
|
le(() => {
|
|
1585
1585
|
v((C) => C.start === e.start && C.end === e.end ? C : e), y((C) => {
|
|
1586
1586
|
const S = r || [];
|
|
1587
|
-
return C.length === S.length && C.every((
|
|
1587
|
+
return C.length === S.length && C.every((k, I) => k === S[I]) ? C : S;
|
|
1588
1588
|
});
|
|
1589
1589
|
}, [e.start, e.end, r]), le(() => {
|
|
1590
1590
|
if (!w) return;
|
|
1591
1591
|
const C = (S) => {
|
|
1592
1592
|
if (N.current && !N.current.contains(S.target)) {
|
|
1593
|
-
const
|
|
1594
|
-
n == null || n(
|
|
1593
|
+
const k = f.start && f.end ? f : null, I = p.length ? p : null;
|
|
1594
|
+
n == null || n(k), a == null || a(I), _(!1), i == null || i(k, I);
|
|
1595
1595
|
}
|
|
1596
1596
|
};
|
|
1597
1597
|
return document.addEventListener("pointerdown", C), () => {
|
|
@@ -1600,8 +1600,8 @@ const g5 = (e, r) => {
|
|
|
1600
1600
|
}, [w, f, p, n, a, i]);
|
|
1601
1601
|
const M = Ee(() => {
|
|
1602
1602
|
const C = /* @__PURE__ */ new Date();
|
|
1603
|
-
return Array.from({ length: 12 }, (S,
|
|
1604
|
-
const I = new Date(C.getFullYear(), C.getMonth() +
|
|
1603
|
+
return Array.from({ length: 12 }, (S, k) => {
|
|
1604
|
+
const I = new Date(C.getFullYear(), C.getMonth() + k, 1);
|
|
1605
1605
|
return {
|
|
1606
1606
|
label: I.toLocaleDateString(m, { month: "long" }),
|
|
1607
1607
|
year: I.getFullYear(),
|
|
@@ -1856,7 +1856,7 @@ const g5 = (e, r) => {
|
|
|
1856
1856
|
d: "M12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12ZM12 14C9.33 14 4 15.34 4 18V20H20V18C20 15.34 14.67 14 12 14Z",
|
|
1857
1857
|
fill: "currentColor"
|
|
1858
1858
|
}
|
|
1859
|
-
) }),
|
|
1859
|
+
) }), xo = ({
|
|
1860
1860
|
initialGuests: e = { adults: 2, children: 0, childrenAges: [] },
|
|
1861
1861
|
initialPetValue: r = 0,
|
|
1862
1862
|
onChange: n,
|
|
@@ -1925,8 +1925,8 @@ const g5 = (e, r) => {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
) })
|
|
1927
1927
|
] });
|
|
1928
|
-
},
|
|
1929
|
-
container:
|
|
1928
|
+
}, ko = "_container_1ndc1_1", Mo = "_iconWrapper_1ndc1_10", Lo = "_iconWrapperActive_1ndc1_26", $o = "_input_1ndc1_30", So = "_clearButton_1ndc1_57", Ho = "_loadingIndicator_1ndc1_82", Do = "_dropdown_1ndc1_92", Po = "_dropdownHeader_1ndc1_120", Bo = "_section_1ndc1_130", Io = "_sectionHeader_1ndc1_141", Ao = "_suggestion_1ndc1_151", Wo = "_suggestionSelected_1ndc1_165", To = "_icon_1ndc1_10", Vo = "_suggestionContent_1ndc1_184", Eo = "_suggestionName_1ndc1_192", zo = "_suggestionNameBold_1ndc1_201", Ro = "_suggestionMeta_1ndc1_210", jo = "_emptyState_1ndc1_219", V = {
|
|
1929
|
+
container: ko,
|
|
1930
1930
|
iconWrapper: Mo,
|
|
1931
1931
|
iconWrapperActive: Lo,
|
|
1932
1932
|
input: $o,
|
|
@@ -2013,7 +2013,7 @@ const g5 = (e, r) => {
|
|
|
2013
2013
|
}, []);
|
|
2014
2014
|
const S = (b) => {
|
|
2015
2015
|
r(b.target.value), v(!0);
|
|
2016
|
-
},
|
|
2016
|
+
}, k = (b) => {
|
|
2017
2017
|
var H;
|
|
2018
2018
|
b.stopPropagation(), r(""), (H = E.current) == null || H.focus();
|
|
2019
2019
|
}, I = (b) => {
|
|
@@ -2061,7 +2061,7 @@ const g5 = (e, r) => {
|
|
|
2061
2061
|
b.preventDefault(), v(!1), y(-1);
|
|
2062
2062
|
break;
|
|
2063
2063
|
}
|
|
2064
|
-
},
|
|
2064
|
+
}, x = (b) => {
|
|
2065
2065
|
switch (b) {
|
|
2066
2066
|
case "hotel":
|
|
2067
2067
|
return /* @__PURE__ */ t(qo, {});
|
|
@@ -2119,7 +2119,7 @@ const g5 = (e, r) => {
|
|
|
2119
2119
|
{
|
|
2120
2120
|
type: "button",
|
|
2121
2121
|
className: V.clearButton,
|
|
2122
|
-
onClick:
|
|
2122
|
+
onClick: k,
|
|
2123
2123
|
"aria-label": l("search:label.clear", "Clear"),
|
|
2124
2124
|
children: /* @__PURE__ */ t(Oo, {})
|
|
2125
2125
|
}
|
|
@@ -2136,7 +2136,7 @@ const g5 = (e, r) => {
|
|
|
2136
2136
|
onClick: () => I({ type: "anywhere", name: l("search:label.anywhere", "All destinations") }),
|
|
2137
2137
|
onMouseEnter: () => y(0),
|
|
2138
2138
|
children: [
|
|
2139
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2139
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: x("anywhere") }),
|
|
2140
2140
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: l("search:label.anywhere", "All destinations") }) })
|
|
2141
2141
|
]
|
|
2142
2142
|
}
|
|
@@ -2149,7 +2149,7 @@ const g5 = (e, r) => {
|
|
|
2149
2149
|
onClick: () => I({ type: "nearme", name: l("search:label.nearby", "Near me") }),
|
|
2150
2150
|
onMouseEnter: () => y(1),
|
|
2151
2151
|
children: [
|
|
2152
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2152
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: x("nearme") }),
|
|
2153
2153
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: l("search:label.nearby", "Near me") }) })
|
|
2154
2154
|
]
|
|
2155
2155
|
}
|
|
@@ -2167,7 +2167,7 @@ const g5 = (e, r) => {
|
|
|
2167
2167
|
onClick: () => I(b),
|
|
2168
2168
|
onMouseEnter: () => y(K),
|
|
2169
2169
|
children: [
|
|
2170
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2170
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: x("city") }),
|
|
2171
2171
|
/* @__PURE__ */ s("div", { className: V.suggestionContent, children: [
|
|
2172
2172
|
/* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }),
|
|
2173
2173
|
b.region && /* @__PURE__ */ t("div", { className: V.suggestionMeta, children: b.region })
|
|
@@ -2190,7 +2190,7 @@ const g5 = (e, r) => {
|
|
|
2190
2190
|
onClick: () => I(b),
|
|
2191
2191
|
onMouseEnter: () => y(K),
|
|
2192
2192
|
children: [
|
|
2193
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2193
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: x("region") }),
|
|
2194
2194
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }) })
|
|
2195
2195
|
]
|
|
2196
2196
|
},
|
|
@@ -2210,7 +2210,7 @@ const g5 = (e, r) => {
|
|
|
2210
2210
|
onClick: () => I(b),
|
|
2211
2211
|
onMouseEnter: () => y(K),
|
|
2212
2212
|
children: [
|
|
2213
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2213
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: x("country") }),
|
|
2214
2214
|
/* @__PURE__ */ t("div", { className: V.suggestionContent, children: /* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }) })
|
|
2215
2215
|
]
|
|
2216
2216
|
},
|
|
@@ -2230,7 +2230,7 @@ const g5 = (e, r) => {
|
|
|
2230
2230
|
onClick: () => I(b),
|
|
2231
2231
|
onMouseEnter: () => y(K),
|
|
2232
2232
|
children: [
|
|
2233
|
-
/* @__PURE__ */ t("span", { className: V.icon, children:
|
|
2233
|
+
/* @__PURE__ */ t("span", { className: V.icon, children: x("hotel") }),
|
|
2234
2234
|
/* @__PURE__ */ s("div", { className: V.suggestionContent, children: [
|
|
2235
2235
|
/* @__PURE__ */ t("div", { className: V.suggestionName, children: Z(b.name, e) }),
|
|
2236
2236
|
b.city && /* @__PURE__ */ s("div", { className: V.suggestionMeta, children: [
|
|
@@ -2315,7 +2315,7 @@ const g5 = (e, r) => {
|
|
|
2315
2315
|
]
|
|
2316
2316
|
}
|
|
2317
2317
|
) }) : null;
|
|
2318
|
-
}, ls = "_container_1hlf3_15", cs = "_containerCompact_1hlf3_27", ds = "_inputsContainer_1hlf3_37", us = "_inputWrapper_1hlf3_55", hs = "_input_1hlf3_37", ms = "_divider_1hlf3_116", fs = "_controlWrapper_1hlf3_128", gs = "_control_1hlf3_128", ps = "_buttonWrapper_1hlf3_179", ws = "_mobileContainer_1hlf3_263", _s = "_mobileSummary_1hlf3_271", vs = "_mobileSummaryIcon_1hlf3_291", bs = "_mobileSummaryText_1hlf3_306", Cs = "_mobileSummaryTitle_1hlf3_316", ys = "_mobileSummarySubtitle_1hlf3_331", Ns = "_mobileActionBar_1hlf3_350",
|
|
2318
|
+
}, ls = "_container_1hlf3_15", cs = "_containerCompact_1hlf3_27", ds = "_inputsContainer_1hlf3_37", us = "_inputWrapper_1hlf3_55", hs = "_input_1hlf3_37", ms = "_divider_1hlf3_116", fs = "_controlWrapper_1hlf3_128", gs = "_control_1hlf3_128", ps = "_buttonWrapper_1hlf3_179", ws = "_mobileContainer_1hlf3_263", _s = "_mobileSummary_1hlf3_271", vs = "_mobileSummaryIcon_1hlf3_291", bs = "_mobileSummaryText_1hlf3_306", Cs = "_mobileSummaryTitle_1hlf3_316", ys = "_mobileSummarySubtitle_1hlf3_331", Ns = "_mobileActionBar_1hlf3_350", xs = "_mobileActionButton_1hlf3_357", ks = "_mobileActionDivider_1hlf3_397", Ms = "_clearButton_1hlf3_408", ee = {
|
|
2319
2319
|
container: ls,
|
|
2320
2320
|
containerCompact: cs,
|
|
2321
2321
|
inputsContainer: ds,
|
|
@@ -2332,8 +2332,8 @@ const g5 = (e, r) => {
|
|
|
2332
2332
|
mobileSummaryTitle: Cs,
|
|
2333
2333
|
mobileSummarySubtitle: ys,
|
|
2334
2334
|
mobileActionBar: Ns,
|
|
2335
|
-
mobileActionButton:
|
|
2336
|
-
mobileActionDivider:
|
|
2335
|
+
mobileActionButton: xs,
|
|
2336
|
+
mobileActionDivider: ks,
|
|
2337
2337
|
clearButton: Ms
|
|
2338
2338
|
}, Ls = () => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
|
|
2339
2339
|
/* @__PURE__ */ t("g", { clipPath: "url(#clip0_1029_77629)", children: /* @__PURE__ */ t("path", { d: "M17.25 9.75C17.25 7.76088 16.4598 5.85322 15.0533 4.4467C13.6468 3.04018 11.7391 2.25 9.75 2.25C7.76088 2.25 5.85322 3.04018 4.4467 4.4467C3.04018 5.85322 2.25 7.76088 2.25 9.75C2.25 11.7391 3.04018 13.6468 4.4467 15.0533C5.85322 16.4598 7.76088 17.25 9.75 17.25C11.7391 17.25 13.6468 16.4598 15.0533 15.0533C16.4598 13.6468 17.25 11.7391 17.25 9.75ZM15.8016 17.3953C14.1422 18.7125 12.0375 19.5 9.75 19.5C4.36406 19.5 0 15.1359 0 9.75C0 4.36406 4.36406 0 9.75 0C15.1359 0 19.5 4.36406 19.5 9.75C19.5 12.0375 18.7125 14.1422 17.3953 15.8016L23.6719 22.0781C24.1125 22.5187 24.1125 23.2312 23.6719 23.6672C23.2313 24.1031 22.5188 24.1078 22.0828 23.6672L15.8016 17.3953Z", fill: "#4B5563" }) }),
|
|
@@ -2370,9 +2370,9 @@ const g5 = (e, r) => {
|
|
|
2370
2370
|
hideViewToggle: M = !1,
|
|
2371
2371
|
compact: E = !1
|
|
2372
2372
|
}) => {
|
|
2373
|
-
const { isDesktop: R } = rt(), { t: B } = me(), [O, W] = $(m), [T, C] = $(f), [S,
|
|
2373
|
+
const { isDesktop: R } = rt(), { t: B } = me(), [O, W] = $(m), [T, C] = $(f), [S, k] = $(v), [I, A] = $(w), [j, x] = $(_), [Z, ne] = $([]);
|
|
2374
2374
|
le(() => {
|
|
2375
|
-
C(f), W(m), A(w),
|
|
2375
|
+
C(f), W(m), A(w), x(_);
|
|
2376
2376
|
}, [f, m, w, _]);
|
|
2377
2377
|
const ae = (D) => {
|
|
2378
2378
|
D.preventDefault();
|
|
@@ -2402,7 +2402,7 @@ const g5 = (e, r) => {
|
|
|
2402
2402
|
}
|
|
2403
2403
|
return D;
|
|
2404
2404
|
}, J = () => O.trim() || B("label.anywhere"), de = (D) => {
|
|
2405
|
-
D.stopPropagation(), A(null),
|
|
2405
|
+
D.stopPropagation(), A(null), x(null), e({
|
|
2406
2406
|
query: O.trim(),
|
|
2407
2407
|
guests: T,
|
|
2408
2408
|
petFilter: S,
|
|
@@ -2422,7 +2422,7 @@ const g5 = (e, r) => {
|
|
|
2422
2422
|
}, b = (D) => {
|
|
2423
2423
|
W(D);
|
|
2424
2424
|
}, H = (D, g) => {
|
|
2425
|
-
A(D),
|
|
2425
|
+
A(D), x(g);
|
|
2426
2426
|
const L = G();
|
|
2427
2427
|
if (L.length > 0) {
|
|
2428
2428
|
ne(L);
|
|
@@ -2436,7 +2436,7 @@ const g5 = (e, r) => {
|
|
|
2436
2436
|
monthFilter: g
|
|
2437
2437
|
});
|
|
2438
2438
|
}, K = (D, g) => {
|
|
2439
|
-
C(D),
|
|
2439
|
+
C(D), k(g);
|
|
2440
2440
|
const L = Array.isArray(D.childrenAges) ? D.childrenAges : [], X = [];
|
|
2441
2441
|
for (let fe = 0; fe < D.children; fe++) {
|
|
2442
2442
|
const ie = L[fe];
|
|
@@ -2491,7 +2491,7 @@ const g5 = (e, r) => {
|
|
|
2491
2491
|
A(D), a == null || a(D);
|
|
2492
2492
|
},
|
|
2493
2493
|
onMonthFilterChange: (D) => {
|
|
2494
|
-
|
|
2494
|
+
x(D), i == null || i(D);
|
|
2495
2495
|
},
|
|
2496
2496
|
onClose: H,
|
|
2497
2497
|
disabled: p,
|
|
@@ -2513,12 +2513,12 @@ const g5 = (e, r) => {
|
|
|
2513
2513
|
/* @__PURE__ */ t("div", { className: ee.divider }),
|
|
2514
2514
|
/* @__PURE__ */ s("div", { className: ee.controlWrapper, "data-test": "test", children: [
|
|
2515
2515
|
/* @__PURE__ */ t(
|
|
2516
|
-
|
|
2516
|
+
xo,
|
|
2517
2517
|
{
|
|
2518
2518
|
initialGuests: T,
|
|
2519
2519
|
initialPetValue: S,
|
|
2520
2520
|
onChange: te,
|
|
2521
|
-
onPetChange:
|
|
2521
|
+
onPetChange: k,
|
|
2522
2522
|
onClose: K,
|
|
2523
2523
|
disabled: p,
|
|
2524
2524
|
className: ee.control,
|
|
@@ -2658,26 +2658,26 @@ const g5 = (e, r) => {
|
|
|
2658
2658
|
addToFavorites: "Add to favorites",
|
|
2659
2659
|
previousImage: "Previous image",
|
|
2660
2660
|
nextImage: "Next image"
|
|
2661
|
-
}, d = e.slice(0, Bs), [c, l] = $(0), [u, h] = $(/* @__PURE__ */ new Set()), [m, f] = $(null), [v, w] = $(null), [_, p] = $(!1), y = he(null), N = (
|
|
2662
|
-
h((I) => new Set(I).add(
|
|
2663
|
-
}, M = (
|
|
2664
|
-
l((
|
|
2661
|
+
}, d = e.slice(0, Bs), [c, l] = $(0), [u, h] = $(/* @__PURE__ */ new Set()), [m, f] = $(null), [v, w] = $(null), [_, p] = $(!1), y = he(null), N = (k) => {
|
|
2662
|
+
h((I) => new Set(I).add(k));
|
|
2663
|
+
}, M = (k) => u.has(k) ? Ct : d[k] || Ct, E = () => {
|
|
2664
|
+
l((k) => k === 0 ? d.length - 1 : k - 1);
|
|
2665
2665
|
}, R = () => {
|
|
2666
|
-
l((
|
|
2667
|
-
}, B = (
|
|
2668
|
-
|
|
2669
|
-
}, O = (
|
|
2670
|
-
|
|
2671
|
-
}, W = (
|
|
2672
|
-
|
|
2673
|
-
}, T = (
|
|
2674
|
-
|
|
2675
|
-
}, C = (
|
|
2676
|
-
if (
|
|
2666
|
+
l((k) => k === d.length - 1 ? 0 : k + 1);
|
|
2667
|
+
}, B = (k) => {
|
|
2668
|
+
k.preventDefault(), k.stopPropagation(), E();
|
|
2669
|
+
}, O = (k) => {
|
|
2670
|
+
k.preventDefault(), k.stopPropagation(), R();
|
|
2671
|
+
}, W = (k) => {
|
|
2672
|
+
k.stopPropagation(), w(null), f(k.targetTouches[0].clientX), p(!0);
|
|
2673
|
+
}, T = (k) => {
|
|
2674
|
+
k.stopPropagation(), m && w(k.targetTouches[0].clientX);
|
|
2675
|
+
}, C = (k) => {
|
|
2676
|
+
if (k.stopPropagation(), p(!1), !m || !v) return;
|
|
2677
2677
|
const I = m - v;
|
|
2678
2678
|
I > bt ? R() : I < -bt && E(), f(null), w(null);
|
|
2679
|
-
}, S = (
|
|
2680
|
-
|
|
2679
|
+
}, S = (k) => {
|
|
2680
|
+
k.preventDefault(), k.stopPropagation(), i();
|
|
2681
2681
|
};
|
|
2682
2682
|
return /* @__PURE__ */ s(
|
|
2683
2683
|
"div",
|
|
@@ -2702,9 +2702,9 @@ const g5 = (e, r) => {
|
|
|
2702
2702
|
),
|
|
2703
2703
|
/* @__PURE__ */ t("div", { className: "hc-hotel-card__image-overlay" }),
|
|
2704
2704
|
/* @__PURE__ */ s("div", { className: "hc-hotel-card__top-overlay", children: [
|
|
2705
|
-
/* @__PURE__ */ t("div", { className: "hc-hotel-card__badges-column", children: n == null ? void 0 : n.map((
|
|
2705
|
+
/* @__PURE__ */ t("div", { className: "hc-hotel-card__badges-column", children: n == null ? void 0 : n.map((k, I) => /* @__PURE__ */ s("div", { className: "hc-hotel-card__new-badge", children: [
|
|
2706
2706
|
/* @__PURE__ */ t(Is, {}),
|
|
2707
|
-
/* @__PURE__ */ t("span", { children:
|
|
2707
|
+
/* @__PURE__ */ t("span", { children: k })
|
|
2708
2708
|
] }, I)) }),
|
|
2709
2709
|
/* @__PURE__ */ t(
|
|
2710
2710
|
"button",
|
|
@@ -2738,7 +2738,7 @@ const g5 = (e, r) => {
|
|
|
2738
2738
|
children: /* @__PURE__ */ t(Ws, {})
|
|
2739
2739
|
}
|
|
2740
2740
|
),
|
|
2741
|
-
/* @__PURE__ */ t("div", { className: "hc-hotel-card__image-indicator", children: d.map((
|
|
2741
|
+
/* @__PURE__ */ t("div", { className: "hc-hotel-card__image-indicator", children: d.map((k, I) => /* @__PURE__ */ t(
|
|
2742
2742
|
"span",
|
|
2743
2743
|
{
|
|
2744
2744
|
className: `hc-hotel-card__indicator-dot ${I === c ? "hc-hotel-card__indicator-dot--active" : ""}`
|
|
@@ -2957,7 +2957,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
2957
2957
|
const { t: u, apiBaseUrl: h, locale: m } = me(), [f, v] = $([]), [w, _] = $(-1), [p, y] = $(!1), [N, M] = $(!1), [E, R] = $(!1), B = he(null), O = l || B, W = he(), T = he(null), C = N || e.trim().length > 0, S = Ee(() => {
|
|
2958
2958
|
const g = f.filter((ie) => ie.type === "hotel"), L = f.filter((ie) => ie.type === "city"), X = f.filter((ie) => ie.type === "region"), fe = f.filter((ie) => ie.type === "country");
|
|
2959
2959
|
return { hotels: g, cities: L, regions: X, countries: fe };
|
|
2960
|
-
}, [f]),
|
|
2960
|
+
}, [f]), k = Ee(() => [
|
|
2961
2961
|
...[
|
|
2962
2962
|
{ type: "anywhere", name: u("label.anywhere") },
|
|
2963
2963
|
{ type: "nearme", name: u("label.nearby") }
|
|
@@ -2997,7 +2997,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
2997
2997
|
}, j = (g) => {
|
|
2998
2998
|
var L;
|
|
2999
2999
|
g.stopPropagation(), r(""), (L = O.current) == null || L.focus();
|
|
3000
|
-
},
|
|
3000
|
+
}, x = (g) => {
|
|
3001
3001
|
if (g.type === "anywhere") {
|
|
3002
3002
|
r(""), R(!1), n("");
|
|
3003
3003
|
return;
|
|
@@ -3037,21 +3037,21 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3037
3037
|
}
|
|
3038
3038
|
);
|
|
3039
3039
|
}, ae = (g) => {
|
|
3040
|
-
if (!E ||
|
|
3040
|
+
if (!E || k.length === 0) {
|
|
3041
3041
|
(g.key === "ArrowDown" || g.key === "ArrowUp") && R(!0);
|
|
3042
3042
|
return;
|
|
3043
3043
|
}
|
|
3044
3044
|
switch (g.key) {
|
|
3045
3045
|
case "ArrowDown":
|
|
3046
3046
|
g.preventDefault(), _(
|
|
3047
|
-
(L) => L <
|
|
3047
|
+
(L) => L < k.length - 1 ? L + 1 : L
|
|
3048
3048
|
);
|
|
3049
3049
|
break;
|
|
3050
3050
|
case "ArrowUp":
|
|
3051
3051
|
g.preventDefault(), _((L) => L > 0 ? L - 1 : -1);
|
|
3052
3052
|
break;
|
|
3053
3053
|
case "Enter":
|
|
3054
|
-
g.preventDefault(), w >= 0 && w <
|
|
3054
|
+
g.preventDefault(), w >= 0 && w < k.length && x(k[w]);
|
|
3055
3055
|
break;
|
|
3056
3056
|
case "Escape":
|
|
3057
3057
|
g.preventDefault(), R(!1), _(-1);
|
|
@@ -3141,7 +3141,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3141
3141
|
{
|
|
3142
3142
|
type: "button",
|
|
3143
3143
|
className: `${P.suggestion} ${w === 0 ? P.suggestionSelected : ""}`,
|
|
3144
|
-
onClick: () =>
|
|
3144
|
+
onClick: () => x({ type: "anywhere", name: u("label.anywhere") }),
|
|
3145
3145
|
onMouseEnter: () => _(0),
|
|
3146
3146
|
children: [
|
|
3147
3147
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("anywhere") }),
|
|
@@ -3172,7 +3172,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3172
3172
|
{
|
|
3173
3173
|
type: "button",
|
|
3174
3174
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3175
|
-
onClick: () =>
|
|
3175
|
+
onClick: () => x(g),
|
|
3176
3176
|
onMouseEnter: () => _(X),
|
|
3177
3177
|
children: [
|
|
3178
3178
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("city") }),
|
|
@@ -3195,7 +3195,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3195
3195
|
{
|
|
3196
3196
|
type: "button",
|
|
3197
3197
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3198
|
-
onClick: () =>
|
|
3198
|
+
onClick: () => x(g),
|
|
3199
3199
|
onMouseEnter: () => _(X),
|
|
3200
3200
|
children: [
|
|
3201
3201
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("region") }),
|
|
@@ -3215,7 +3215,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3215
3215
|
{
|
|
3216
3216
|
type: "button",
|
|
3217
3217
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3218
|
-
onClick: () =>
|
|
3218
|
+
onClick: () => x(g),
|
|
3219
3219
|
onMouseEnter: () => _(X),
|
|
3220
3220
|
children: [
|
|
3221
3221
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("country") }),
|
|
@@ -3235,7 +3235,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3235
3235
|
{
|
|
3236
3236
|
type: "button",
|
|
3237
3237
|
className: `${P.suggestion} ${X === w ? P.suggestionSelected : ""}`,
|
|
3238
|
-
onClick: () =>
|
|
3238
|
+
onClick: () => x(g),
|
|
3239
3239
|
onMouseEnter: () => _(X),
|
|
3240
3240
|
children: [
|
|
3241
3241
|
/* @__PURE__ */ t("span", { className: P.suggestionIcon, children: te("hotel") }),
|
|
@@ -3255,11 +3255,11 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3255
3255
|
z && /* @__PURE__ */ t("div", { className: P.emptyState, children: u("dropdown.no-results") })
|
|
3256
3256
|
] })
|
|
3257
3257
|
] });
|
|
3258
|
-
}, yl = "_overlay_qqu9j_19", Nl = "_modal_qqu9j_34",
|
|
3258
|
+
}, yl = "_overlay_qqu9j_19", Nl = "_modal_qqu9j_34", xl = "_header_qqu9j_49", kl = "_closeButton_qqu9j_57", Ml = "_content_qqu9j_86", Ll = "_whereSection_qqu9j_102", $l = "_sectionTitle_qqu9j_118", Sl = "_collapsibleSection_qqu9j_297", Hl = "_expandedContent_qqu9j_320", Dl = "_collapsibleLabel_qqu9j_326", Pl = "_collapsibleValue_qqu9j_338", Bl = "_footer_qqu9j_356", Il = "_searchButton_qqu9j_366", Al = "_whenSection_qqu9j_416", Wl = "_whoGuestSection_qqu9j_434", re = {
|
|
3259
3259
|
overlay: yl,
|
|
3260
3260
|
modal: Nl,
|
|
3261
|
-
header:
|
|
3262
|
-
closeButton:
|
|
3261
|
+
header: xl,
|
|
3262
|
+
closeButton: kl,
|
|
3263
3263
|
content: Ml,
|
|
3264
3264
|
whereSection: Ll,
|
|
3265
3265
|
sectionTitle: $l,
|
|
@@ -3284,11 +3284,11 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3284
3284
|
getGuestsDisplay: u,
|
|
3285
3285
|
showHeader: h = !0
|
|
3286
3286
|
}) => {
|
|
3287
|
-
const { t: m } = me(), [f, v] = $(n), [w, _] = $(a), [p, y] = $(i), [N, M] = $(o), [E, R] = $(d), [B, O] = $(void 0), [W, T] = $([]), [C, S] = $(""), [
|
|
3287
|
+
const { t: m } = me(), [f, v] = $(n), [w, _] = $(a), [p, y] = $(i), [N, M] = $(o), [E, R] = $(d), [B, O] = $(void 0), [W, T] = $([]), [C, S] = $(""), [k, I] = $([]), [A, j] = $("where");
|
|
3288
3288
|
le(() => {
|
|
3289
3289
|
_(a), v(n), R(d), M(o);
|
|
3290
3290
|
}, [a, n, d, o]);
|
|
3291
|
-
const
|
|
3291
|
+
const x = () => {
|
|
3292
3292
|
const q = [], b = Array.isArray(w.childrenAges) ? w.childrenAges : [];
|
|
3293
3293
|
for (let H = 0; H < w.children; H++) {
|
|
3294
3294
|
const K = b[H];
|
|
@@ -3299,7 +3299,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3299
3299
|
}
|
|
3300
3300
|
return q;
|
|
3301
3301
|
}, Z = () => {
|
|
3302
|
-
const q =
|
|
3302
|
+
const q = x();
|
|
3303
3303
|
if (q.length > 0) {
|
|
3304
3304
|
I(q), j("who");
|
|
3305
3305
|
return;
|
|
@@ -3411,7 +3411,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3411
3411
|
petFilter: p,
|
|
3412
3412
|
onPetChange: te,
|
|
3413
3413
|
showPetToggle: !0,
|
|
3414
|
-
childAgeErrors:
|
|
3414
|
+
childAgeErrors: k,
|
|
3415
3415
|
onErrorClear: G
|
|
3416
3416
|
}
|
|
3417
3417
|
)
|
|
@@ -3655,7 +3655,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3655
3655
|
onDragEnd: l,
|
|
3656
3656
|
debounceDelay: u = 500
|
|
3657
3657
|
}) => {
|
|
3658
|
-
const { t: h, currency: m } = me(), f = d ?? m, v = he(null), [w, _] = $(null), [p, y] = $(!1), N = he(n), M = he(null), [E, R] = $(""), [B, O] = $(""), [W, T] = $(!1), [C, S] = $(!1),
|
|
3658
|
+
const { t: h, currency: m } = me(), f = d ?? m, v = he(null), [w, _] = $(null), [p, y] = $(!1), N = he(n), M = he(null), [E, R] = $(""), [B, O] = $(""), [W, T] = $(!1), [C, S] = $(!1), k = r - e, I = k > 0 ? (n.min - e) / k * 100 : 0, A = k > 0 ? (n.max - e) / k * 100 : 100, j = Math.max(...o, 1), x = Ue((z) => {
|
|
3659
3659
|
const D = z / o.length * 100, g = (z + 1) / o.length * 100;
|
|
3660
3660
|
return D < A && g > I;
|
|
3661
3661
|
}, [o.length, I, A]), Z = 12, ne = Ue((z) => {
|
|
@@ -3664,7 +3664,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3664
3664
|
}, u));
|
|
3665
3665
|
}, [i, u]), ae = Ue((z) => {
|
|
3666
3666
|
if (!v.current || !w) return;
|
|
3667
|
-
const D = v.current.getBoundingClientRect(), g = D.width - Z * 2, L = D.left + Z, X = Math.max(0, Math.min(100, (z - L) / g * 100)), fe = Math.round(e + X / 100 *
|
|
3667
|
+
const D = v.current.getBoundingClientRect(), g = D.width - Z * 2, L = D.left + Z, X = Math.max(0, Math.min(100, (z - L) / g * 100)), fe = Math.round(e + X / 100 * k);
|
|
3668
3668
|
let ie = n.min, Xe = n.max;
|
|
3669
3669
|
if (w === "min") {
|
|
3670
3670
|
const qe = Math.min(fe, n.max - 1);
|
|
@@ -3675,7 +3675,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3675
3675
|
}
|
|
3676
3676
|
const Ze = { min: ie, max: Xe };
|
|
3677
3677
|
a(Ze), N.current = Ze, p || ne(Ze);
|
|
3678
|
-
}, [w, e, r,
|
|
3678
|
+
}, [w, e, r, k, n, a, p, ne]), te = (z) => (D) => {
|
|
3679
3679
|
D.preventDefault(), _(z), y(!0), c == null || c();
|
|
3680
3680
|
}, G = (z) => (D) => {
|
|
3681
3681
|
D.preventDefault(), _(z), y(!0), c == null || c();
|
|
@@ -3751,7 +3751,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3751
3751
|
) })
|
|
3752
3752
|
] }),
|
|
3753
3753
|
/* @__PURE__ */ t("div", { className: ue.histogram, children: o.map((z, D) => {
|
|
3754
|
-
const g = z / j * 100, L =
|
|
3754
|
+
const g = z / j * 100, L = x(D);
|
|
3755
3755
|
return /* @__PURE__ */ t(
|
|
3756
3756
|
"div",
|
|
3757
3757
|
{
|
|
@@ -3805,12 +3805,12 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3805
3805
|
)
|
|
3806
3806
|
] })
|
|
3807
3807
|
] });
|
|
3808
|
-
}, Cc = "_filterList_1qs1m_5", yc = "_starsContainer_1qs1m_10", Nc = "_starIcon_1qs1m_16",
|
|
3808
|
+
}, Cc = "_filterList_1qs1m_5", yc = "_starsContainer_1qs1m_10", Nc = "_starIcon_1qs1m_16", xc = "_footer_1qs1m_22", kc = "_footerText_1qs1m_28", Ye = {
|
|
3809
3809
|
filterList: Cc,
|
|
3810
3810
|
starsContainer: yc,
|
|
3811
3811
|
starIcon: Nc,
|
|
3812
|
-
footer:
|
|
3813
|
-
footerText:
|
|
3812
|
+
footer: xc,
|
|
3813
|
+
footerText: kc
|
|
3814
3814
|
}, Mc = [
|
|
3815
3815
|
{ value: "5", stars: 5, label: null },
|
|
3816
3816
|
{ value: "4", stars: 4, label: null },
|
|
@@ -3903,7 +3903,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3903
3903
|
showMoreBtn: Bc,
|
|
3904
3904
|
arrowIcon: Ic,
|
|
3905
3905
|
arrowUp: Ac
|
|
3906
|
-
},
|
|
3906
|
+
}, x5 = ({
|
|
3907
3907
|
selected: e,
|
|
3908
3908
|
themes: r = [],
|
|
3909
3909
|
onChange: n,
|
|
@@ -3956,7 +3956,7 @@ const Ys = "_container_qwg4p_16", Gs = "_containerDropdown_qwg4p_23", Js = "_con
|
|
|
3956
3956
|
mobileSelectAllActions: qc,
|
|
3957
3957
|
selectAllBtn: Yc,
|
|
3958
3958
|
resetAllBtn: Gc
|
|
3959
|
-
},
|
|
3959
|
+
}, k5 = ({
|
|
3960
3960
|
regions: e,
|
|
3961
3961
|
selected: r,
|
|
3962
3962
|
onChange: n,
|
|
@@ -4273,7 +4273,7 @@ function Nt(e) {
|
|
|
4273
4273
|
const r = Le(e);
|
|
4274
4274
|
return r.setHours(0, 0, 0, 0), r;
|
|
4275
4275
|
}
|
|
4276
|
-
function
|
|
4276
|
+
function xt(e) {
|
|
4277
4277
|
const r = Le(e), n = new Date(
|
|
4278
4278
|
Date.UTC(
|
|
4279
4279
|
r.getFullYear(),
|
|
@@ -4288,7 +4288,7 @@ function kt(e) {
|
|
|
4288
4288
|
return n.setUTCFullYear(r.getFullYear()), +e - +n;
|
|
4289
4289
|
}
|
|
4290
4290
|
function c1(e, r) {
|
|
4291
|
-
const n = Nt(e), a = Nt(r), i = +n -
|
|
4291
|
+
const n = Nt(e), a = Nt(r), i = +n - xt(n), o = +a - xt(a);
|
|
4292
4292
|
return Math.round((i - o) / s1);
|
|
4293
4293
|
}
|
|
4294
4294
|
function d1(e) {
|
|
@@ -4375,7 +4375,7 @@ const f1 = {
|
|
|
4375
4375
|
const i = f1[e];
|
|
4376
4376
|
return typeof i == "string" ? a = i : r === 1 ? a = i.one : a = i.other.replace("{{count}}", r.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + a : a + " ago" : a;
|
|
4377
4377
|
};
|
|
4378
|
-
function
|
|
4378
|
+
function xe(e) {
|
|
4379
4379
|
return (r = {}) => {
|
|
4380
4380
|
const n = r.width ? String(r.width) : e.defaultWidth;
|
|
4381
4381
|
return e.formats[n] || e.formats[e.defaultWidth];
|
|
@@ -4397,15 +4397,15 @@ const p1 = {
|
|
|
4397
4397
|
medium: "{{date}}, {{time}}",
|
|
4398
4398
|
short: "{{date}}, {{time}}"
|
|
4399
4399
|
}, v1 = {
|
|
4400
|
-
date:
|
|
4400
|
+
date: xe({
|
|
4401
4401
|
formats: p1,
|
|
4402
4402
|
defaultWidth: "full"
|
|
4403
4403
|
}),
|
|
4404
|
-
time:
|
|
4404
|
+
time: xe({
|
|
4405
4405
|
formats: w1,
|
|
4406
4406
|
defaultWidth: "full"
|
|
4407
4407
|
}),
|
|
4408
|
-
dateTime:
|
|
4408
|
+
dateTime: xe({
|
|
4409
4409
|
formats: _1,
|
|
4410
4410
|
defaultWidth: "full"
|
|
4411
4411
|
})
|
|
@@ -4440,7 +4440,7 @@ const y1 = {
|
|
|
4440
4440
|
narrow: ["1", "2", "3", "4"],
|
|
4441
4441
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
4442
4442
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
4443
|
-
},
|
|
4443
|
+
}, x1 = {
|
|
4444
4444
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
4445
4445
|
abbreviated: [
|
|
4446
4446
|
"Jan",
|
|
@@ -4470,7 +4470,7 @@ const y1 = {
|
|
|
4470
4470
|
"November",
|
|
4471
4471
|
"December"
|
|
4472
4472
|
]
|
|
4473
|
-
},
|
|
4473
|
+
}, k1 = {
|
|
4474
4474
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
4475
4475
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
4476
4476
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -4569,11 +4569,11 @@ const y1 = {
|
|
|
4569
4569
|
argumentCallback: (e) => e - 1
|
|
4570
4570
|
}),
|
|
4571
4571
|
month: oe({
|
|
4572
|
-
values:
|
|
4572
|
+
values: x1,
|
|
4573
4573
|
defaultWidth: "wide"
|
|
4574
4574
|
}),
|
|
4575
4575
|
day: oe({
|
|
4576
|
-
values:
|
|
4576
|
+
values: k1,
|
|
4577
4577
|
defaultWidth: "wide"
|
|
4578
4578
|
}),
|
|
4579
4579
|
dayPeriod: oe({
|
|
@@ -4830,7 +4830,7 @@ const Ae = {
|
|
|
4830
4830
|
afternoon: "afternoon",
|
|
4831
4831
|
evening: "evening",
|
|
4832
4832
|
night: "night"
|
|
4833
|
-
},
|
|
4833
|
+
}, kt = {
|
|
4834
4834
|
// Era
|
|
4835
4835
|
G: function(e, r, n) {
|
|
4836
4836
|
const a = e.getFullYear() > 0 ? 1 : 0;
|
|
@@ -5479,7 +5479,7 @@ function cd(e, r, n) {
|
|
|
5479
5479
|
const M = N[0];
|
|
5480
5480
|
if (M === "'")
|
|
5481
5481
|
return { isToken: !1, value: dd(N) };
|
|
5482
|
-
if (
|
|
5482
|
+
if (kt[M])
|
|
5483
5483
|
return { isToken: !0, value: N };
|
|
5484
5484
|
if (M.match(ld))
|
|
5485
5485
|
throw new RangeError(
|
|
@@ -5497,7 +5497,7 @@ function cd(e, r, n) {
|
|
|
5497
5497
|
if (!N.isToken) return N.value;
|
|
5498
5498
|
const M = N.value;
|
|
5499
5499
|
(!(n != null && n.useAdditionalWeekYearTokens) && td(M) || !(n != null && n.useAdditionalDayOfYearTokens) && ed(M)) && nd(M, r, String(e));
|
|
5500
|
-
const E =
|
|
5500
|
+
const E = kt[M[0]];
|
|
5501
5501
|
return E(c, M, i.localize, u);
|
|
5502
5502
|
}).join("");
|
|
5503
5503
|
}
|
|
@@ -5576,7 +5576,7 @@ function wd(e, r) {
|
|
|
5576
5576
|
if (!n) return /* @__PURE__ */ new Date(NaN);
|
|
5577
5577
|
const a = !!n[4], i = Je(n[1]), o = Je(n[2]) - 1, d = Je(n[3]), c = Je(n[4]), l = Je(n[5]) - 1;
|
|
5578
5578
|
if (a)
|
|
5579
|
-
return
|
|
5579
|
+
return xd(r, c, l) ? bd(r, c, l) : /* @__PURE__ */ new Date(NaN);
|
|
5580
5580
|
{
|
|
5581
5581
|
const u = /* @__PURE__ */ new Date(0);
|
|
5582
5582
|
return !yd(r, o, d) || !Nd(r, i) ? /* @__PURE__ */ new Date(NaN) : (u.setUTCFullYear(r, o, Math.max(i, d)), u);
|
|
@@ -5589,7 +5589,7 @@ function _d(e) {
|
|
|
5589
5589
|
const r = e.match(md);
|
|
5590
5590
|
if (!r) return NaN;
|
|
5591
5591
|
const n = lt(r[1]), a = lt(r[2]), i = lt(r[3]);
|
|
5592
|
-
return
|
|
5592
|
+
return kd(n, a, i) ? n * Zt + a * Ot + i * 1e3 : NaN;
|
|
5593
5593
|
}
|
|
5594
5594
|
function lt(e) {
|
|
5595
5595
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
@@ -5617,10 +5617,10 @@ function yd(e, r, n) {
|
|
|
5617
5617
|
function Nd(e, r) {
|
|
5618
5618
|
return r >= 1 && r <= (Kt(e) ? 366 : 365);
|
|
5619
5619
|
}
|
|
5620
|
-
function
|
|
5620
|
+
function xd(e, r, n) {
|
|
5621
5621
|
return r >= 1 && r <= 53 && n >= 0 && n <= 6;
|
|
5622
5622
|
}
|
|
5623
|
-
function
|
|
5623
|
+
function kd(e, r, n) {
|
|
5624
5624
|
return e === 24 ? r === 0 && n === 0 : n >= 0 && n < 60 && r >= 0 && r < 60 && e >= 0 && e < 25;
|
|
5625
5625
|
}
|
|
5626
5626
|
function Md(e, r) {
|
|
@@ -5805,15 +5805,15 @@ const Ht = {
|
|
|
5805
5805
|
medium: "{{date}} {{time}}",
|
|
5806
5806
|
short: "{{date}} {{time}}"
|
|
5807
5807
|
}, Dd = {
|
|
5808
|
-
date:
|
|
5808
|
+
date: xe({
|
|
5809
5809
|
formats: $d,
|
|
5810
5810
|
defaultWidth: "full"
|
|
5811
5811
|
}),
|
|
5812
|
-
time:
|
|
5812
|
+
time: xe({
|
|
5813
5813
|
formats: Sd,
|
|
5814
5814
|
defaultWidth: "full"
|
|
5815
5815
|
}),
|
|
5816
|
-
dateTime:
|
|
5816
|
+
dateTime: xe({
|
|
5817
5817
|
formats: Hd,
|
|
5818
5818
|
defaultWidth: "full"
|
|
5819
5819
|
})
|
|
@@ -6179,15 +6179,15 @@ const Ht = {
|
|
|
6179
6179
|
medium: "{{date}}, {{time}}",
|
|
6180
6180
|
short: "{{date}}, {{time}}"
|
|
6181
6181
|
}, o2 = {
|
|
6182
|
-
date:
|
|
6182
|
+
date: xe({
|
|
6183
6183
|
formats: r2,
|
|
6184
6184
|
defaultWidth: "full"
|
|
6185
6185
|
}),
|
|
6186
|
-
time:
|
|
6186
|
+
time: xe({
|
|
6187
6187
|
formats: a2,
|
|
6188
6188
|
defaultWidth: "full"
|
|
6189
6189
|
}),
|
|
6190
|
-
dateTime:
|
|
6190
|
+
dateTime: xe({
|
|
6191
6191
|
formats: i2,
|
|
6192
6192
|
defaultWidth: "full"
|
|
6193
6193
|
})
|
|
@@ -6330,7 +6330,7 @@ const Ht = {
|
|
|
6330
6330
|
narrow: /^[jfmasond]/i,
|
|
6331
6331
|
abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
|
|
6332
6332
|
wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
|
|
6333
|
-
},
|
|
6333
|
+
}, x2 = {
|
|
6334
6334
|
narrow: [
|
|
6335
6335
|
/^j/i,
|
|
6336
6336
|
/^f/i,
|
|
@@ -6359,7 +6359,7 @@ const Ht = {
|
|
|
6359
6359
|
/^n/i,
|
|
6360
6360
|
/^d/i
|
|
6361
6361
|
]
|
|
6362
|
-
},
|
|
6362
|
+
}, k2 = {
|
|
6363
6363
|
narrow: /^[lmjvsd]/i,
|
|
6364
6364
|
short: /^(di|lu|ma|me|je|ve|sa)/i,
|
|
6365
6365
|
abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,
|
|
@@ -6403,11 +6403,11 @@ const Ht = {
|
|
|
6403
6403
|
month: se({
|
|
6404
6404
|
matchPatterns: N2,
|
|
6405
6405
|
defaultMatchWidth: "wide",
|
|
6406
|
-
parsePatterns:
|
|
6406
|
+
parsePatterns: x2,
|
|
6407
6407
|
defaultParseWidth: "any"
|
|
6408
6408
|
}),
|
|
6409
6409
|
day: se({
|
|
6410
|
-
matchPatterns:
|
|
6410
|
+
matchPatterns: k2,
|
|
6411
6411
|
defaultMatchWidth: "wide",
|
|
6412
6412
|
parsePatterns: M2,
|
|
6413
6413
|
defaultParseWidth: "any"
|
|
@@ -6511,15 +6511,15 @@ const Ht = {
|
|
|
6511
6511
|
medium: "{{date}} {{time}}",
|
|
6512
6512
|
short: "{{date}} {{time}}"
|
|
6513
6513
|
}, W2 = {
|
|
6514
|
-
date:
|
|
6514
|
+
date: xe({
|
|
6515
6515
|
formats: B2,
|
|
6516
6516
|
defaultWidth: "full"
|
|
6517
6517
|
}),
|
|
6518
|
-
time:
|
|
6518
|
+
time: xe({
|
|
6519
6519
|
formats: I2,
|
|
6520
6520
|
defaultWidth: "full"
|
|
6521
6521
|
}),
|
|
6522
|
-
dateTime:
|
|
6522
|
+
dateTime: xe({
|
|
6523
6523
|
formats: A2,
|
|
6524
6524
|
defaultWidth: "full"
|
|
6525
6525
|
})
|
|
@@ -6847,11 +6847,11 @@ export {
|
|
|
6847
6847
|
Ga as Divider,
|
|
6848
6848
|
oi as Dropdown,
|
|
6849
6849
|
ho as DualCalendar,
|
|
6850
|
-
|
|
6850
|
+
x5 as ExperienceFilter,
|
|
6851
6851
|
ui as FAQ,
|
|
6852
6852
|
Ke as FilterCheckboxItem,
|
|
6853
6853
|
jt as GuestContent,
|
|
6854
|
-
|
|
6854
|
+
xo as GuestSelector,
|
|
6855
6855
|
n1 as HeartIcon,
|
|
6856
6856
|
_5 as HotelCard,
|
|
6857
6857
|
Zs as HotelCardContent,
|
|
@@ -6869,7 +6869,7 @@ export {
|
|
|
6869
6869
|
Dc as REVIEW_OPTIONS,
|
|
6870
6870
|
Xa as RadioButton,
|
|
6871
6871
|
Vt as Rating,
|
|
6872
|
-
|
|
6872
|
+
k5 as RegionsFilter,
|
|
6873
6873
|
ci as ReviewCard,
|
|
6874
6874
|
N5 as ReviewsFilter,
|
|
6875
6875
|
w5 as SearchControlsBar,
|