@hotelcard/ui 0.0.26 → 0.0.28
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +266 -266
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("react"),fn=require("react-i18next"),gn=require("react-dom"),pn={order:"Bestellen","order-navigation":"Bestellen","order-hc":"HotelCard bestellen","my-account":"Mein Konto",search:"Suchen","back-to-top":"Nach oben"},_n={"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"},wn={"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"},vn={"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"},xn={"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.-"},bn={"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"},yn={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"},jn={"no-results":"Zurzeit entsprechen keine Aufenthalte Ihrer Suche"},Nn="Hotels suchen - HotelCard",kn="Suchen Sie nach Hotels nach Stadt, Region oder Hotelname",Mn="Suche",Ln="Hotels werden geladen...",$n="Erneut versuchen",Sn="Karte schließen",Dn={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%."},Hn={close_search:"Suche schließen",placeholder_anywhere:"Überall",recent_searches:"Letzte Suchen",remove_recent:"Aus letzten Suchen entfernen",all_destinations:"Alle Reiseziele"},Pn={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"},Bn={list:"Liste"},In={properties_found:"{{count}} Unterkünfte gefunden",properties_found_location:"{{location}}: {{count}} Unterkünfte gefunden"},An={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"},Wn={home:"Startseite"},Tn={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"},Rn={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"},En={hotels:"Hotels",cities:"Städte",regions:"Regionen",countries:"Länder","no-results":"Keine Ergebnisse gefunden"},zn={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"},Vn={apply:"Anwenden",months_selected:"{{count}} Monate"},Fn={"5_stars":"5 Sterne","4_stars":"4 Sterne","3_stars":"3 Sterne","2_stars":"2 Sterne",not_classified:"Nicht klassifiziert",swiss_lodge:"Swiss Lodge"},On={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."},Zn={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"},Yn={search_failed:"Suche fehlgeschlagen",load_more_failed:"Weitere Hotels konnten nicht geladen werden"},qn={title:"Etwas ist schiefgelaufen",description:"Die Hotels konnten nicht geladen werden. Bitte versuchen Sie es erneut.",retry:"Erneut versuchen"},Gn={label:"Seitennavigation",previous:"Vorherige Seite",previous_short:"Zurück",next:"Nächste Seite",next_short:"Weiter",page:"Seite {{page}}"},Jn={rating:"Bewertung",price_from:"pro Zimmer & Nacht ab",not_available:"Nicht verfügbar für Ihre Suchkriterien"},Xn={new:"Neu"},Kn={button:pn,link:_n,general:wn,label:vn,product:xn,subheadline:bn,form:Cn,filter:yn,headline:jn,meta_title:Nn,meta_description:kn,title:Mn,loading:Ln,retry:$n,close_map:Sn,seo:Dn,modal:Hn,map:Pn,view:Bn,breadcrumb:In,aria:An,breadcrumb_nav:Wn,guest_selector:Tn,search_form:Rn,dropdown:En,filters:zn,date_selector:Vn,star_rating:Fn,results:On,no_results:Zn,errors:Yn,error:qn,pagination:Gn,hotel_card:Jn,badges:Xn},Qn={order:"Order","order-navigation":"Join","order-hc":"Order HotelCard","my-account":"My account",search:"Search","back-to-top":"Back to top"},Un={"member-benefits":"Member Benefits","view-all-hotels":"View all hotel deals","search-by-map":"Map search","search-by-region":"Hotels by region","search-by-experience":"Hotels by experience","travel-inspiration":"Travel inspiration","booking-tips-and-tricks":"Booking tips",home:"Home","all-hotel-deals":"All hotel deals","search-results":"Search results"},es={"signed-out":"Log in and book","room-price":"from CHF xxx / room",guarantee:"14-day money-back guarantee",contact:"More questions? Contact us.","breakfast-included":"Breakfast included","free-cancellation":"Free cancellation","suggested-destinations":"Not sure where to travel next?","when-months":"When do you want to go?","hotel-deals-found":"hotel deals found","no-results":"Explore different destinations, change your dates, or remove some filters.","unavailable-for-selected-days":"Unavailable for selected dates.","cant-accommodate-all":"Hotel can’t accommodate all guests.","reset-destination":"Reset destination search to use region filters."},ts={"price-from":"from ","price-for":"/ room","per-room-night":"per room & night from",new:"New",anytime:"Anytime",anywhere:"All destinations",dates:"Dates",flexible:"Flexible",where:"Where",when:"When",who:"Who",nearby:"Nearby",hotels:"Hotel",filter:"Filter",sort:"Sort",map:"Map",rating:"Rating","rating-excellent":"Excellent","rating-very-good":"Very good","rating-good":"Good","rating-fair":"Fair","rating-none":"No rating",clear:"Clear"},ns={"6m":"6-month subscription","1y":"1-year subscription","2y":"2-year subscription","3y":"3-year subscription","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.-"},ss={"your-hc":"Your HotelCard","popular-hotels":"Popular hotel deals","no-results":"Explore different destinations, change your dates, or remove some filters.","sort-by":"Sort by"},as={guests:"guests",guest:"guest",adults:"Adults",children:"Children",pet:"Pet","age-of-child":"Child’s age",age:"Age","age-error":"Please select age"},rs={filters:"Filters",destination:"Destination",experience:"Experience","show-all":"Show all",price:"Price",discount:"Discount",services:"Services",meals:"Meals","hotel-category":"Hotel category",reviews:"Reviews",mobility:"Mobility","wellness-spa":"Wellness & Spa","price-high-low":"Price high to low","price-low-high":"Price low to high","best-rating":"Best guest rating","most-popular":"Most popular","newest-hotels":"Newest",relevance:"Relevance",selected:"Selected:","clear-all":"Clear all",options:"Options","hotellerie-suisse":"Classification HotellerieSuisse",trustyou:"Reviews from travelers on TrustYou®","select-all":"Select all",reset:"Reset","breakfast-included":"Breakfast included"},is={"no-results":"No stays match your search right now"},os="Search Hotels - HotelCard",ls="Search for hotels by city, region, or hotel name",cs="Search",ds="Loading hotels...",us="Retry",hs="Close map",ms={default_title:"Search Hotel Deals - HotelCard",location_title:"Hotels in {{location}}",region_title:"Hotels in {{region}}",experience_title:"{{experience}} Hotels",default_description:"Discover {{count}} hotels with exclusive HotelCard discounts.",location_description:"Find {{count}} hotels in {{location}} with exclusive discounts up to 50% off."},fs={close_search:"Close search",placeholder_anywhere:"Anywhere",recent_searches:"Recent searches",remove_recent:"Remove from recent searches",all_destinations:"All destinations"},gs={open_search:"Open search",open_filters:"Open filters",switch_to_list:"Switch to list view",zoom_in:"Zoom in",zoom_out:"Zoom out",no_location_data:"No hotels with location data available",hotels_missing_coordinates:"{{count}} hotels found but missing coordinates",no_hotels_in_area:"No hotels found in this area"},ps={list:"List"},_s={properties_found:"{{count}} properties found",properties_found_location:"{{location}}: {{count}} properties found"},ws={search_results_breadcrumb:"Search results",close:"Close",previous_image:"Previous image",next_image:"Next image",add_to_favorites:"Add to favorites",remove_from_favorites:"Remove from favorites",list_view:"Switch to list view",map_view:"Switch to map view"},vs={home:"Home"},xs={adults_description:"Ages 13 or above",children_description:"Ages 2-12",infants_description:"Under 2",decrease_adults:"Decrease adults",increase_adults:"Increase adults",decrease_children:"Decrease children",increase_children:"Increase children",decrease_infants:"Decrease infants",increase_infants:"Increase infants",toggle_infants:"Toggle pet"},bs={location_placeholder:"Search for hotels, cities, regions...",distance_any:"- km",distance_5:"+ 5 km",distance_10:"+ 10 km",distance_20:"+ 20 km",distance_30:"+ 30 km",distance_50:"+ 50 km",searching:"Searching...",reset_filters:"Reset"},Cs={hotels:"Hotels",cities:"Cities",regions:"Regions",countries:"Countries","no-results":"No results found"},ys={show_filters:"Show filters",open_filters:"Open filters",filter_by:"Filter by:",hotel_rating:"Hotel rating",show_results:"Show {{count}} results",apply_filters:"Apply filters",close_filters:"Close filters",view_in_map:"View in a Map",popular_filters:"Popular filters",show_less:"Show less",selected:"Selected",clear_all:"Clear all",options:{instant_booking:"Immediately bookable",pets_allowed:"Pets allowed",free_cancellation:"Free cancellation"}},js={apply:"Apply",months_selected:"{{count}} months"},Ns={"5_stars":"5 stars","4_stars":"4 stars","3_stars":"3 stars","2_stars":"2 stars",not_classified:"Not classified",swiss_lodge:"Swiss Lodge"},ks={hotels_found:"{{count}} hotels found",load_more:"Load more",loading:"Loading...",end_of_results:"You've reached the end of results",no_results:"No hotels found",try_different_search:"Try adjusting your search criteria",unavailable_banner_title:"More hotels that might interest you",unavailable_banner_description:"These hotels don't currently have availability matching your search criteria."},Ms={search_failed:"Search failed",load_more_failed:"Failed to load more hotels"},Ls={title:"Something went wrong",description:"We couldn't load the hotels. Please try again.",retry:"Try again"},$s={title:"No stays match your search right now.",description:"Explore different destinations, change your dates, or remove some filters.",description_with_filters:"Explore different destinations, change your dates, or remove some filters.",clear_filters:"Clear all filters"},Ss={label:"Pagination",previous:"Previous page",previous_short:"Previous",next:"Next page",next_short:"Next",page:"Page {{page}}"},Ds={rating:"Rating",price_from:"per room & night from",not_available:"Not available for your search criteria"},Hs={new:"New"},Ps="Clear location",Bs="Clear date",Is="Clear guests",As={button:Qn,link:Un,general:es,label:ts,product:ns,subheadline:ss,form:as,filter:rs,headline:is,meta_title:os,meta_description:ls,title:cs,loading:ds,retry:us,close_map:hs,seo:ms,modal:fs,map:gs,view:ps,breadcrumb:_s,aria:ws,breadcrumb_nav:vs,guest_selector:xs,search_form:bs,dropdown:Cs,filters:ys,date_selector:js,star_rating:Ns,results:ks,errors:Ms,error:Ls,no_results:$s,pagination:Ss,hotel_card:Ds,badges:Hs,clear_location:Ps,clear_date:Bs,clear_guests:Is},Ws={order:"Commander","order-navigation":"Commander","order-hc":"Commander l'HotelCard","my-account":"Mon compte",search:"Rechercher","back-to-top":"Haut de page"},Ts={"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"},Rs={"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"},Es={"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"},zs={"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.-"},Vs={"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"},Fs={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"},Os={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"},Zs={"no-results":"Aucun séjour ne correspond à votre recherche pour le moment"},Ys="Rechercher des hôtels - HotelCard",qs="Recherchez des hôtels par ville, région ou nom d'hôtel",Gs="Recherche",Js="Chargement des hôtels...",Xs="Réessayer",Ks="Fermer la carte",Qs={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%."},Us={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"},ea={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"},ta={list:"Liste"},na={properties_found:"{{count}} hébergements trouvés",properties_found_location:"{{location}}: {{count}} hébergements trouvés"},sa={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"},aa={home:"Accueil"},ra={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"},ia={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"},oa={hotels:"Hôtels",cities:"Villes",regions:"Régions",countries:"Pays","no-results":"Aucun résultat trouvé"},la={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"},ca={apply:"Appliquer",months_selected:"{{count}} mois"},da={"5_stars":"5 étoiles","4_stars":"4 étoiles","3_stars":"3 étoiles","2_stars":"2 étoiles",not_classified:"Non classé",swiss_lodge:"Swiss Lodge"},ua={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."},ha={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"},ma={search_failed:"La recherche a échoué",load_more_failed:"Impossible de charger plus d'hôtels"},fa={title:"Une erreur s'est produite",description:"Les hôtels n'ont pas pu être chargés. Veuillez réessayer.",retry:"Réessayer"},ga={label:"Pagination",previous:"Page précédente",previous_short:"Précédent",next:"Page suivante",next_short:"Suivant",page:"Page {{page}}"},pa={rating:"Note",price_from:"par chambre & nuit dès",not_available:"Non disponible selon vos critères de recherche"},_a={new:"Nouveau"},wa={button:Ws,link:Ts,general:Rs,label:Es,product:zs,subheadline:Vs,form:Fs,filter:Os,headline:Zs,meta_title:Ys,meta_description:qs,title:Gs,loading:Js,retry:Xs,close_map:Ks,seo:Qs,modal:Us,map:ea,view:ta,breadcrumb:na,aria:sa,breadcrumb_nav:aa,guest_selector:ra,search_form:ia,dropdown:oa,filters:la,date_selector:ca,star_rating:da,results:ua,no_results:ha,errors:ma,error:fa,pagination:ga,hotel_card:pa,badges:_a},va={order:"Ordina ora","order-navigation":"Ordina ora","order-hc":"Ordina HotelCard","my-account":"Il mio profilo",search:"Cerca","back-to-top":"Torna su"},xa={"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"},ba={"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"},ya={"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.-"},ja={"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"},Na={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à"},ka={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"},Ma={"no-results":"Al momento nessun soggiorno corrisponde alla tua ricerca"},La="Cerca Hotel - HotelCard",$a="Cerca hotel per città, regione o nome dell'hotel",Sa="Ricerca",Da="Caricamento hotel...",Ha="Riprova",Pa="Chiudi mappa",Ba={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%."},Ia={close_search:"Chiudi ricerca",placeholder_anywhere:"Ovunque",recent_searches:"Ricerche recenti",remove_recent:"Rimuovi dalle ricerche recenti",all_destinations:"Tutte le destinazioni"},Aa={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"},Wa={list:"Lista"},Ta={properties_found:"{{count}} strutture trovate",properties_found_location:"{{location}}: {{count}} strutture trovate"},Ra={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"},Ea={home:"Home"},za={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"},Va={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"},Fa={hotels:"Hotel",cities:"Città",regions:"Regioni",countries:"Paesi","no-results":"Nessun risultato trovato"},Oa={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"},Za={apply:"Applica",months_selected:"{{count}} mesi"},Ya={"5_stars":"5 stelle","4_stars":"4 stelle","3_stars":"3 stelle","2_stars":"2 stelle",not_classified:"Non classificato",swiss_lodge:"Swiss Lodge"},qa={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."},Ga={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"},Ja={search_failed:"Ricerca fallita",load_more_failed:"Impossibile caricare altri hotel"},Xa={title:"Qualcosa è andato storto",description:"Non è stato possibile caricare gli hotel. Riprova.",retry:"Riprova"},Ka={label:"Paginazione",previous:"Pagina precedente",previous_short:"Precedente",next:"Pagina successiva",next_short:"Successivo",page:"Pagina {{page}}"},Qa={rating:"Valutazione",price_from:"per camera e notte da",not_available:"Non disponibile per i tuoi criteri di ricerca"},Ua={new:"Nuovo"},er={button:va,link:xa,general:ba,label:Ca,product:ya,subheadline:ja,form:Na,filter:ka,headline:Ma,meta_title:La,meta_description:$a,title:Sa,loading:Da,retry:Ha,close_map:Pa,seo:Ba,modal:Ia,map:Aa,view:Wa,breadcrumb:Ta,aria:Ra,breadcrumb_nav:Ea,guest_selector:za,search_form:Va,dropdown:Fa,filters:Oa,date_selector:Za,star_rating:Ya,results:qa,no_results:Ga,errors:Ja,error:Xa,pagination:Ka,hotel_card:Qa,badges:Ua},st={de:Kn,en:As,fr:wa,it:er};function tr(t,s){const n=s.split(".");let a=t;for(const r of n){if(a==null||typeof a!="object")return;a=a[r]}return typeof a=="string"?a:void 0}function Lt(t){const s=st[t]||st.en;return(n,a)=>tr(s,n)??a??n}const nr=Lt("de"),sr={locale:"de",currency:"CHF",isDesktop:!1,t:nr},$t=g.createContext(sr),ar=({locale:t="de",currency:s="CHF",isDesktop:n=!1,t:a,children:r})=>{const i=g.useMemo(()=>a??Lt(t),[t,a]),c=g.useMemo(()=>({locale:t,currency:s,isDesktop:n,t:i}),[t,s,n,i]);return e.jsx($t.Provider,{value:c,children:r})},fe=()=>g.useContext($t),ue=t=>`hc-btn-${t}`,$e=g.forwardRef(({variant:t="primary",size:s="medium",leftIcon:n,rightIcon:a,children:r,className:i="",disabled:c,iconOnly:l=!1,style:o,...u},d)=>{const h=()=>{const m=[ue("button")];return t==="link"?(m.push(ue("link")),m.push(ue(s)),m.join(" ")):l?(m.push(ue("icon-only")),m.push(ue(s)),m.push(ue(t)),m.join(" ")):(m.push(ue("standard")),m.push(ue(s)),m.push(ue(t)),m.join(" "))};return e.jsx("button",{ref:d,style:o,className:`${h()} ${i}`,disabled:c,...u,children:l?r:e.jsxs(e.Fragment,{children:[n&&e.jsx("span",{className:ue("icon-wrapper"),children:n}),e.jsx("span",{className:ue("text-wrapper"),children:r}),a&&e.jsx("span",{className:ue("icon-wrapper"),children:a})]})})});$e.displayName="Button";const Se=t=>`hc-badge-${t}`,it=({color:t="primary",size:s="large",style:n="heavy",icon:a=!1,children:r,className:i=""})=>{const c=`${t}${n.charAt(0).toUpperCase()}${n.slice(1)}`,l=[Se("badge"),Se(`badge--${s}`),Se(`badge--${c}`),i].filter(Boolean).join(" "),o=[Se("icon"),Se(`icon--${s}`)].join(" "),u=[Se("text"),s==="large"&&a?Se("text--largeWithIcon"):""].filter(Boolean).join(" ");return e.jsxs("div",{className:l,children:[a&&e.jsx("div",{className:o}),e.jsx("div",{className:u,children:r})]})};it.displayName="Badge";const oe=t=>`hc-rating-${t}`,rr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_full)",children:e.jsx("path",{d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004Z",fill:"#FBB041"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_full",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),ir=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("defs",{children:e.jsx("clipPath",{id:"half",children:e.jsx("rect",{x:"0",y:"0",width:"12",height:"24"})})}),e.jsx("path",{clipPath:"url(#half)",d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004Z",fill:"#FBB041"}),e.jsx("path",{d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004ZM12.0004 3.86071L9.47898 8.81426C9.3263 9.11182 9.04275 9.32187 8.71122 9.37438L3.23656 10.2496L7.15389 14.1835C7.38945 14.4198 7.49851 14.7568 7.44616 15.0893L6.58243 20.5811L11.5249 18.0606C11.8215 17.9074 12.1749 17.9074 12.4759 18.0606L17.4183 20.5811L16.5546 15.0893C16.5023 14.7568 16.6113 14.4198 16.8469 14.1835L20.7642 10.2496L15.2895 9.37438C14.958 9.32187 14.6745 9.11182 14.5218 8.81426L12.0004 3.86071Z",fill:"#9A5A00"})]}),or=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_empty)",children:e.jsx("path",{d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004ZM12.0004 3.86071L9.47898 8.81426C9.3263 9.11182 9.04275 9.32187 8.71122 9.37438L3.23656 10.2496L7.15389 14.1835C7.38945 14.4198 7.49851 14.7568 7.44616 15.0893L6.58243 20.5811L11.5249 18.0606C11.8215 17.9074 12.1749 17.9074 12.4759 18.0606L17.4183 20.5811L16.5546 15.0893C16.5023 14.7568 16.6113 14.4198 16.8469 14.1835L20.7642 10.2496L15.2895 9.37438C14.958 9.32187 14.6745 9.11182 14.5218 8.81426L12.0004 3.86071Z",fill:"#9A5A00"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_empty",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),ot=({variant:t="stars",value:s,maxValue:n=5,showValue:a=!1,name:r,date:i,quote:c,size:l="medium",className:o=""})=>{const u=Math.min(Math.max(0,s),n),d=Math.floor(u),h=u%1>=.5,m=n-d-(h?1:0),w=()=>{const p=[oe("star"),oe(`star--${l}`)].filter(Boolean).join(" "),f=[];for(let b=0;b<d;b++)f.push(e.jsx("span",{className:p,children:e.jsx(rr,{})},`full-${b}`));h&&f.push(e.jsx("span",{className:p,children:e.jsx(ir,{})},"half"));for(let b=0;b<m;b++)f.push(e.jsx("span",{className:p,children:e.jsx(or,{})},`empty-${b}`));return f};if(t==="stars"){const p=[oe("starsContainer"),o].filter(Boolean).join(" ");return e.jsxs("div",{className:p,children:[e.jsx("div",{className:oe("starContainer"),children:w()}),a&&e.jsx("span",{className:oe("valueDisplay"),children:u.toLocaleString("de-CH")})]})}if(t==="result"){const p=[oe("resultContainer"),o].filter(Boolean).join(" ");return e.jsxs("div",{className:p,children:[e.jsx("span",{className:oe("resultChar"),children:"N"}),e.jsx("div",{children:w()})]})}const _=[oe("blockContainer"),o].filter(Boolean).join(" ");return e.jsxs("div",{className:_,children:[e.jsxs("div",{className:oe("blockHeader"),children:[e.jsxs("div",{className:oe("blockHeaderLeft"),children:[r&&e.jsx("span",{className:oe("blockName"),children:r}),e.jsx("div",{children:w()})]}),i&&e.jsx("span",{className:oe("blockDate"),children:i})]}),c&&e.jsx("p",{className:oe("blockQuote"),children:c})]})};ot.displayName="Rating";const ke=t=>`hc-divider-${t}`,St=({label:t,orientation:s="horizontal",className:n=""})=>{const a=s==="horizontal";if(!t){const l=ke(a?"lineStandalone--horizontal":"lineStandalone--vertical");return e.jsx("div",{className:[l,n].filter(Boolean).join(" "),role:"separator","aria-orientation":s})}const r=ke(a?"container--horizontal":"container--vertical"),i=ke(a?"line--horizontal":"line--vertical"),c=[ke("container"),r,n].filter(Boolean).join(" ");return e.jsxs("div",{className:c,role:"separator","aria-orientation":s,"aria-label":typeof t=="string"?t:void 0,children:[e.jsx("div",{className:i}),e.jsx("span",{className:ke("label"),children:t}),e.jsx("div",{className:i})]})};St.displayName="Divider";const Me=t=>`hc-chip-${t}`,lr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_chip_close)",children:e.jsx("path",{d:"M12 2.25C14.5859 2.25 17.0658 3.27723 18.8943 5.10571C20.7228 6.93419 21.75 9.41414 21.75 12C21.75 14.5859 20.7228 17.0658 18.8943 18.8943C17.0658 20.7228 14.5859 21.75 12 21.75C9.41414 21.75 6.93419 20.7228 5.10571 18.8943C3.27723 17.0658 2.25 14.5859 2.25 12C2.25 9.41414 3.27723 6.93419 5.10571 5.10571C6.93419 3.27723 9.41414 2.25 12 2.25ZM12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24ZM7.82812 7.82812C7.3875 8.26875 7.3875 8.98125 7.82812 9.41719L10.4062 11.9953L7.82812 14.5734C7.3875 15.0141 7.3875 15.7266 7.82812 16.1625C8.26875 16.5984 8.98125 16.6031 9.41719 16.1625L11.9953 13.5844L14.5734 16.1625C15.0141 16.6031 15.7266 16.6031 16.1625 16.1625C16.5984 15.7219 16.6031 15.0094 16.1625 14.5734L13.5844 11.9953L16.1625 9.41719C16.6031 8.97656 16.6031 8.26406 16.1625 7.82812C15.7219 7.39219 15.0094 7.3875 14.5734 7.82812L11.9953 10.4062L9.41719 7.82812C8.97656 7.3875 8.26406 7.3875 7.82812 7.82812Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_chip_close",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),lt=({label:t,count:s,size:n="small",state:a="idle",removable:r=!0,onClick:i,onRemove:c,className:l="",disabled:o=!1})=>{const u=o?"disabled":a,d=[Me("chip"),Me(`chip--${n}`),Me(`chip--${u}`),l].filter(Boolean).join(" "),h=[Me("label"),Me(`label--${n}`)].join(" "),m=[Me("countBadge"),Me(`countBadge--${n}`)].join(" "),w=()=>{o||(r&&c?c():i&&i())},_=p=>{o||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),r&&c?c():i&&i())};return e.jsxs("button",{type:"button",className:d,onClick:w,onKeyDown:_,disabled:o,"aria-label":r?`Remove filter: ${t}`:t,children:[e.jsx("span",{className:h,children:t}),s!==void 0&&e.jsx("span",{className:m,children:s}),r&&e.jsx("span",{className:Me("closeIcon"),"aria-hidden":"true",children:e.jsx(lr,{})})]})};lt.displayName="Chip";const te=t=>`hc-checkbox-${t}`,Dt=({label:t,checked:s,defaultChecked:n=!1,onChange:a,disabled:r=!1,error:i=!1,name:c,id:l,className:o="",size:u="medium"})=>{const[d,h]=g.useState(n),[m,w]=g.useState(!1),_=s!==void 0?s:d,p=L=>{const E=L.target.checked;s===void 0&&h(E),a==null||a(E)},f=[te("container"),r&&te("container--disabled"),o].filter(Boolean).join(" "),b=[te("wrapper"),te(`wrapper--${u}`)].filter(Boolean).join(" "),C=[te("box"),te(`box--${u}`),_&&te("box--checked"),r&&te("box--disabled"),i&&!_&&te("box--error"),m&&te("box--focused")].filter(Boolean).join(" "),j=[te("input"),r&&te("input--disabled")].filter(Boolean).join(" "),W=[te("checkmark"),te(`checkmark--${u}`),_&&te("checkmark--checked")].filter(Boolean).join(" "),z=[te("label"),r&&te("label--disabled"),i&&!r&&te("label--error")].filter(Boolean).join(" ");return e.jsxs("label",{className:f,children:[e.jsxs("div",{className:b,children:[e.jsx("div",{className:C}),e.jsx("input",{type:"checkbox",id:l,name:c,checked:_,onChange:p,disabled:r,className:j,onFocus:()=>w(!0),onBlur:()=>w(!1),"aria-invalid":i}),e.jsx("svg",{className:W,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"var(--content-action-highlight-inverse-idle, #ffffff)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),t&&e.jsx("span",{className:z,children:t})]})};Dt.displayName="Checkbox";const ve=t=>`hc-radio-${t}`,Ht=({id:t,checked:s,onChange:n,name:a,value:r,disabled:i=!1,className:c="",label:l,autoComplete:o})=>{const u=()=>{!i&&!s&&n(!0)},d=_=>{!i&&(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),s||n(!0))},h=[ve("container"),i&&ve("container--disabled"),c].filter(Boolean).join(" "),m=[ve("outerCircle"),s&&ve("outerCircle--checked"),i&&ve("outerCircle--disabled")].filter(Boolean).join(" "),w=[ve("innerDot"),s&&ve("innerDot--checked")].filter(Boolean).join(" ");return e.jsxs("div",{role:"radio","aria-checked":s,tabIndex:i?-1:0,onClick:u,onKeyDown:d,className:h,"aria-disabled":i,children:[e.jsxs("div",{className:ve("wrapper"),children:[e.jsx("input",{id:t,type:"radio",name:a,value:r,checked:s,disabled:i,autoComplete:o,onChange:()=>{},className:ve("hiddenInput")}),e.jsx("div",{className:m}),e.jsx("div",{className:w})]}),l&&e.jsx("label",{htmlFor:t,className:ve("label"),children:l})]})};Ht.displayName="RadioButton";const et=t=>`hc-section-${t}`,cr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"9 18 15 12 9 6"})}),Pt=({title:t,showAllLabel:s,onShowAllClick:n,className:a=""})=>{const r=[et("header"),a].filter(Boolean).join(" ");return e.jsxs("div",{className:r,children:[e.jsx("h2",{className:et("title"),children:t}),s&&n&&e.jsxs("button",{className:et("showAllButton"),onClick:n,children:[e.jsx("span",{children:s}),e.jsx(cr,{})]})]})};Pt.displayName="SectionHeader";const tt=t=>`hc-modal-${t}`,dr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:e.jsx("path",{d:"M0.330469 1.91953C-0.110156 1.47891 -0.110156 0.766406 0.330469 0.330469C0.771094 -0.105469 1.48359 -0.110156 1.91953 0.330469L8.99766 7.40859L16.0758 0.330469C16.5164 -0.110156 17.2289 -0.110156 17.6648 0.330469C18.1008 0.771094 18.1055 1.48359 17.6648 1.91953L10.5867 8.99766L17.6648 16.0758C18.1055 16.5164 18.1055 17.2289 17.6648 17.6648C17.2242 18.1008 16.5117 18.1055 16.0758 17.6648L8.99766 10.5867L1.91953 17.6648C1.47891 18.1055 0.766406 18.1055 0.330469 17.6648C-0.105469 17.2242 -0.110156 16.5117 0.330469 16.0758L7.40859 8.99766L0.330469 1.91953Z",fill:"currentColor"})}),Bt=({isOpen:t,onClose:s,children:n,width:a="var(--grid-tablet-device-width, 600px)",className:r="",showCloseButton:i=!0,disableBackdropClick:c=!1})=>{const l=g.useRef(null);g.useEffect(()=>{const h=m=>{m.key==="Escape"&&t&&s()};return t&&(document.addEventListener("keydown",h),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",h),document.body.style.overflow=""}},[t,s]);const o=h=>{h.target===h.currentTarget&&!c&&s()};if(!t)return null;const u=[tt("content"),r].filter(Boolean).join(" "),d=e.jsx("div",{className:tt("backdrop"),onClick:o,children:e.jsxs("div",{ref:l,className:u,style:{maxWidth:a},children:[i&&e.jsx("button",{className:tt("closeButton"),onClick:s,"aria-label":"Close modal",children:e.jsx(dr,{})}),n]})});return typeof document<"u"?gn.createPortal(d,document.body):d};Bt.displayName="Modal";const F=t=>`hc-card-${t}`,ut=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_card_star)",children:e.jsx("path",{d:"M4.80018 0.366577C4.93104 0.366577 5.05173 0.440968 5.11135 0.557659L6.18011 2.66102L8.50521 3.03152C8.63462 3.05194 8.74222 3.14383 8.78294 3.26927C8.82365 3.39472 8.79021 3.53183 8.6986 3.62518L7.03366 5.29533L7.40155 7.6277C7.42191 7.75752 7.3681 7.88879 7.26195 7.9661C7.15581 8.04341 7.01476 8.05508 6.89843 7.99528L4.80018 6.92463L2.70192 7.99528C2.58559 8.05508 2.44454 8.04341 2.33839 7.9661C2.23225 7.88879 2.17844 7.75898 2.1988 7.6277L2.56523 5.29533L0.901751 3.62518C0.808689 3.53183 0.776699 3.39472 0.817413 3.26927C0.858128 3.14383 0.964277 3.05194 1.09515 3.03152L3.42024 2.66102L4.49045 0.557659C4.55007 0.440968 4.67076 0.366577 4.80163 0.366577H4.80018Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_card_star",children:e.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(0.800049 0.199951)"})})})]}),ur=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 36 38",fill:"#478EFA",className:F("ratingSvg"),children:e.jsx("path",{d:"M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z"})}),hr='data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="%23e5e7eb"%3E%3Crect width="100" height="100" /%3E%3C/svg%3E',ht=(t,s)=>Array.from({length:t},(n,a)=>s(a)),It=({image:t,imageAlt:s="",label:n,price:a,stars:r,isSuperior:i=!1,badge:c,onClick:l,className:o="",variant:u="mobile",hasRating:d,withPadding:h=!1,withHeight:m=!1,ratingInfo:w,context:_,swissLodgeLabel:p="Swiss Lodge"})=>{const f=u==="desktop",b=[F("card"),F(`card--${u}`),l&&F("card--clickable"),h&&F("card--withPadding"),m&&F("card--withHeight"),o].filter(Boolean).join(" "),C=[F("starsRow"),_==="hotel-deals"&&F("starsRow--fixed")].filter(Boolean).join(" "),j=[F("label"),F(f?"label--desktop":"label--mobile"),_==="hotel-deals"&&F("label--hotelDeals"),!f&&_!=="hotel-deals"&&F("label--mobileOverflow"),!d&&F("label--noRating")].filter(Boolean).join(" "),W=[F("price"),_==="hotel-deals"&&d&&F("price--hotelDealsWithRating"),_==="hotel-deals"&&!d&&F("price--hotelDealsNoRating"),_!=="hotel-deals"&&!d&&F("price--noRating"),_!=="hotel-deals"&&d&&F("price--regularWithRating")].filter(Boolean).join(" "),z=t||hr,L=P=>{l&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),l())},E=()=>w?e.jsxs("span",{className:F("ratingInfo"),children:[e.jsx(ur,{}),e.jsx("span",{className:F("ratingLabel"),children:w.label}),e.jsx("span",{className:F("ratingValue"),children:w.value})]}):null;return e.jsxs("div",{className:b,onClick:l,onKeyDown:L,role:l?"button":void 0,tabIndex:l?0:void 0,children:[e.jsxs("div",{className:F("imageContainer"),children:[e.jsx("img",{src:z,alt:s,className:F("image"),loading:"lazy"}),e.jsx("div",{className:F("shadowOverlay")}),c&&e.jsx("div",{className:F("badgeWrapper"),children:e.jsx(it,{color:c.variant||"primary",size:f?"large":"small",children:c.text})})]}),e.jsxs("div",{className:F("textContainer"),children:[e.jsx("div",{className:C,children:r!==void 0&&r>0?e.jsx(e.Fragment,{children:r===6?e.jsx("span",{className:F("swissLodge"),children:p}):e.jsx(e.Fragment,{children:f?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:F("starsContainer"),children:[ht(Math.floor(r),P=>e.jsx(ut,{},P)),i&&e.jsx("span",{className:F("superiorBadge"),children:"(s)"})]}),e.jsx("div",{children:E()})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:F("starsContainer"),children:ht(Math.floor(r),P=>e.jsx(ut,{},P))}),i&&e.jsx("span",{className:F("superiorBadge"),children:"(s)"}),E()]})})}):e.jsx("div",{className:F("starsPlaceholder"),children:" "})}),n&&e.jsx("div",{className:j,children:n}),a&&e.jsx("div",{className:W,children:a})]})]})};It.displayName="Card";const re=t=>`hc-dropdown-${t}`,mr=()=>e.jsx("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",children:e.jsx("path",{d:"M1 1L6 6L11 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),At=({options:t=[],disabled:s=!1,error:n=!1,defaultValue:a,value:r,onChange:i,className:c="",name:l,id:o,placeholder:u="Select..."})=>{var S;const[d,h]=g.useState(a||""),[m,w]=g.useState(!1),[_,p]=g.useState(!1),f=g.useRef(null),b=r!==void 0?r:d,C=((S=t.find(v=>v.value===b))==null?void 0:S.label)||u;g.useEffect(()=>{const v=A=>{f.current&&!f.current.contains(A.target)&&w(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[]);const j=v=>{r===void 0&&h(v),i==null||i(v),w(!1)},W=v=>{s||(v.key==="Enter"||v.key===" "?(v.preventDefault(),w(!m)):v.key==="Escape"&&w(!1))},z=[re("container"),s&&re("container--disabled"),c].filter(Boolean).join(" "),L=[re("button"),n&&re("button--error"),_&&!n&&re("button--focus"),s&&re("button--disabled"),m&&re("button--open")].filter(Boolean).join(" "),E=[re("chevron"),m&&re("chevron--open")].filter(Boolean).join(" "),P=[re("list"),m&&re("list--open")].filter(Boolean).join(" ");return e.jsxs("div",{ref:f,className:z,children:[e.jsxs("div",{className:L,tabIndex:s?-1:0,onClick:()=>!s&&w(!m),onKeyDown:W,onFocus:()=>!s&&p(!0),onBlur:()=>p(!1),role:"combobox","aria-haspopup":"listbox","aria-expanded":m,"aria-disabled":s,children:[e.jsx("span",{children:C}),e.jsx("span",{className:E,children:e.jsx(mr,{})})]}),e.jsx("ul",{role:"listbox",className:P,children:t.map(v=>e.jsx("li",{role:"option","aria-selected":b===v.value,onClick:()=>j(v.value),className:`${re("option")} ${b===v.value?re("option--selected"):""}`,children:v.label},v.value))}),e.jsxs("select",{id:o,name:l,value:b,onChange:v=>j(v.target.value),disabled:s,className:re("hiddenSelect"),children:[!b&&e.jsx("option",{value:"",children:u}),t.map(v=>e.jsx("option",{value:v.value,children:v.label},v.value))]})]})};At.displayName="Dropdown";const ie=t=>`hc-input-${t}`,Wt=({label:t,placeholder:s="Placeholder",helper:n,value:a,defaultValue:r="",onChange:i,onFocus:c,onBlur:l,type:o="text",error:u=!1,disabled:d=!1,leftIcon:h,rightIcon:m,prefix:w,className:_="",inputClassName:p="",wrapperClassName:f="",name:b,id:C,required:j=!1,autoComplete:W,autoFocus:z=!1,readOnly:L=!1,inputProps:E})=>{const[P,S]=g.useState(r),[v,A]=g.useState(!1),N=g.useRef(null),$=a!==void 0?a:P,B=J=>{const ae=J.target.value;a===void 0&&S(ae),i==null||i(ae)},T=()=>{A(!0),c==null||c()},y=()=>{A(!1),l==null||l()},R=[ie("container"),_].filter(Boolean).join(" "),Q=[ie("label"),(d||L)&&ie("label--disabled")].filter(Boolean).join(" "),U=[ie("wrapper"),v&&ie("wrapper--focus"),u&&ie("wrapper--error"),(d||L)&&ie("wrapper--disabled"),f].filter(Boolean).join(" "),se=[ie("input"),(d||L)&&ie("input--disabled"),p].filter(Boolean).join(" "),q=[ie("helper"),u&&ie("helper--error"),(d||L)&&ie("helper--disabled")].filter(Boolean).join(" ");return e.jsxs("div",{className:R,children:[t&&e.jsx("label",{htmlFor:C,className:Q,children:t}),e.jsxs("div",{className:U,onClick:()=>{var J;return!d&&!L&&((J=N.current)==null?void 0:J.focus())},children:[h&&e.jsx("div",{className:ie("icon"),children:h}),w&&e.jsx("div",{className:ie("prefix"),children:w}),e.jsx("input",{ref:N,type:o,id:C,name:b,value:$,onChange:B,onFocus:T,onBlur:y,placeholder:s,disabled:d,required:j,autoComplete:W,autoFocus:z,readOnly:L,className:se,...E}),m&&m]}),n&&e.jsx("div",{className:q,children:n})]})};Wt.displayName="Input";const le=t=>`hc-block-${t}`,Tt=({variant:t="icon",visual:s,label:n,description:a,style:r="primary",onClick:i,showArrow:c=!0,className:l=""})=>{if(t==="icon"){const u=[le("icon"),i&&le("icon--clickable"),l].filter(Boolean).join(" "),d=le(r==="primary"?"icon-container--primary":"icon-container--secondary");return e.jsxs("div",{className:u,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,children:[e.jsx("div",{className:d,children:s}),e.jsxs("div",{className:le("text-container"),children:[e.jsx("div",{className:le("icon-label"),children:n}),a&&e.jsx("div",{className:le("icon-description"),children:a})]})]})}const o=[le("image"),i&&le("image--clickable"),l].filter(Boolean).join(" ");return e.jsxs("div",{className:o,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,children:[e.jsx("div",{className:le("image-container"),children:s}),e.jsxs("div",{className:le("footer"),children:[e.jsx("span",{className:le("image-label"),children:n}),c&&e.jsx("span",{className:le("arrow"),children:"→"})]})]})};Tt.displayName="Block";const Ie=t=>`hc-review-${t}`,Rt=({name:t,date:s,rating:n,quote:a,className:r})=>{const i=[Ie("container"),r].filter(Boolean).join(" ");return e.jsxs("div",{className:i,children:[e.jsx("div",{className:Ie("name"),children:t}),e.jsxs("div",{className:Ie("frame"),children:[e.jsx("div",{className:Ie("stars"),children:e.jsx(ot,{variant:"stars",value:n,size:"medium"})}),e.jsx("div",{className:Ie("quote"),children:a})]}),e.jsx("div",{className:Ie("date"),children:s})]})};Rt.displayName="ReviewCard";const be=t=>`hc-faq-${t}`,fr=({isOpen:t})=>{const s=[be("chevron"),t&&be("chevron--open")].filter(Boolean).join(" ");return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,children:e.jsx("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},Et=({items:t,defaultOpenIndex:s=null,allowMultiple:n=!1,className:a})=>{const[r,i]=g.useState(s!==null?new Set([s]):new Set),c=o=>{i(u=>{const d=new Set(u);return d.has(o)?d.delete(o):(n||d.clear(),d.add(o)),d})},l=[be("container"),a].filter(Boolean).join(" ");return e.jsx("div",{className:l,children:t.map((o,u)=>{const d=r.has(u),h=be(d?"answer--open":"answer");return e.jsxs("div",{className:be("item"),children:[e.jsx($e,{variant:"link",size:"medium",className:be("question-btn"),onClick:()=>c(u),"aria-expanded":d,"aria-controls":`faq-answer-${u}`,rightIcon:e.jsx("div",{className:be("icon-container"),children:e.jsx(fr,{isOpen:d})}),children:e.jsx("span",{className:be("question-text"),children:o.question})}),e.jsx("div",{id:`faq-answer-${u}`,className:h,children:e.jsx("p",{className:be("answer-text"),children:o.answer})})]},u)})})};Et.displayName="FAQ";const ce=t=>`hc-benefits-${t}`,zt=({title:t="Ihre Vorteile mit HotelCard",subtitle:s="Mit HotelCard sparen Sie bei jedem Aufenthalt",benefits:n=[{title:"Über 500 Hotels",description:"Grosse Auswahl in der ganzen Schweiz"},{title:"Bis zu 50% Rabatt",description:"Exklusive Mitglieder-Preise"},{title:"Kein Buchungszwang",description:"Buchen Sie, wann Sie möchten"},{title:"Kostenlose Stornierung",description:"Flexible Buchungsbedingungen"}],contactTitle:a="Haben Sie Fragen?",contactDescription:r="Unser Kundenservice hilft Ihnen gerne weiter",contactButtonText:i="Kontakt aufnehmen",onContactClick:c,className:l})=>{const o=[ce("section"),l].filter(Boolean).join(" ");return e.jsx("section",{className:o,children:e.jsxs("div",{className:ce("container"),children:[e.jsxs("div",{className:ce("header"),children:[e.jsx("h2",{className:ce("title"),children:t}),s&&e.jsx("p",{className:ce("subtitle"),children:s})]}),e.jsx("div",{className:ce("grid"),children:n.map((u,d)=>e.jsxs("div",{className:ce("item"),children:[e.jsx("h3",{className:ce("item-title"),children:u.title}),u.description&&e.jsx("p",{className:ce("item-description"),children:u.description})]},d))}),a&&e.jsxs("div",{className:ce("contact-card"),children:[e.jsx("h3",{className:ce("contact-title"),children:a}),r&&e.jsx("p",{className:ce("contact-description"),children:r}),i&&e.jsx($e,{variant:"secondary",size:"medium",onClick:c,className:ce("contact-btn"),children:i})]})]})})};zt.displayName="Benefits";const ge=t=>`hc-pin-${t}`,gr=({className:t})=>e.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M8 14.2333L6.96667 13.2933C3.6 10.24 1.33333 8.18667 1.33333 5.66667C1.33333 3.61333 2.94667 2 5 2C6.16 2 7.27333 2.54 8 3.39333C8.72667 2.54 9.84 2 11 2C13.0533 2 14.6667 3.61333 14.6667 5.66667C14.6667 8.18667 12.4 10.24 9.03333 13.2933L8 14.2333Z"})}),pr=({className:t})=>e.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M6.66667 13.3333V9.33333H9.33333V13.3333H12.6667V8H14.6667L8 2L1.33333 8H3.33333V13.3333H6.66667Z"})}),Vt=g.forwardRef(({variant:t="price",viewed:s=!1,currency:n="CHF",price:a=0,showFavorite:r=!1,disabled:i=!1,onClick:c,className:l=""},o)=>{const u=s?"secondary":"primary",d=[ge("pin"),ge(u),t==="hotel"&&ge("hotel"),l].filter(Boolean).join(" "),h=typeof a=="number"?Math.round(a).toString():a;return e.jsxs("button",{ref:o,type:"button",className:d,disabled:i,onClick:c,children:[e.jsx("div",{className:ge("body"),children:t==="price"?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:ge("currency"),children:n}),e.jsx("span",{className:ge("price"),children:h}),r&&e.jsx("div",{className:ge("favorite-container"),children:e.jsx(gr,{className:ge("favorite-icon")})})]}):e.jsx(pr,{className:ge("hotel-icon")})}),e.jsx("div",{className:ge("pointer"),children:e.jsx("div",{className:ge("pointer-inner")})})]})});Vt.displayName="Pin";const _r=(t,s)=>{const[n,a]=g.useState(t);return g.useEffect(()=>{const r=setTimeout(()=>a(t),s);return()=>clearTimeout(r)},[t,s]),n},Fe=()=>{const[t,s]=g.useState(typeof window<"u"?window.innerWidth:1024);return g.useEffect(()=>{const n=()=>{s(window.innerWidth)};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),{isDesktop:t>=1024}},Ge=()=>{const{locale:t,currency:s}=fe();return{locale:t,currency:s}},We=t=>{const{t:s,i18n:n}=fn.useTranslation(t);return{t:(r,i,c)=>{let l,o;typeof i=="string"?o=i:(i&&(l=i),o=c);const u=s(r,l??{}),d=String(u);return d===r&&o!==void 0?o:d},i18n:n}},wr="_container_fbu27_1",vr="_button_fbu27_7",xr="_icon_fbu27_40",br="_label_fbu27_46",Cr="_backdrop_fbu27_56",yr="_dropdown_fbu27_83",jr="_dropdownMobile_fbu27_376",Ne={container:wr,button:vr,"button--disabled":"_button--disabled_fbu27_25",icon:xr,label:br,backdrop:Cr,dropdown:yr,"dropdown--open":"_dropdown--open_fbu27_102",dropdownMobile:jr},Nr="_container_16lek_13",kr="_containerDropdown_16lek_22",Mr="_containerExpanded_16lek_27",Lr="_sectionTitle_16lek_40",$r="_header_16lek_57",Sr="_tabs_16lek_84",Dr="_tab_16lek_84",Hr="_tabActive_16lek_115",Pr="_applyButtonContainer_16lek_128",Br="_content_16lek_137",Ir="_flexibleContent_16lek_159",Ar="_contentHeading_16lek_172",Wr="_monthGrid_16lek_187",Tr="_monthGridMobile_16lek_196",Rr="_monthButton_16lek_205",Er="_monthButtonDisabled_16lek_222",zr="_monthButtonSelected_16lek_227",Vr="_monthLabel_16lek_257",Fr="_monthYear_16lek_267",Or="_anytimeButton_16lek_288",Zr="_datesContent_16lek_300",Yr="_contentDatesActive_16lek_308",Z={container:Nr,containerDropdown:kr,containerExpanded:Mr,sectionTitle:Lr,header:$r,tabs:Sr,tab:Dr,tabActive:Hr,applyButtonContainer:Pr,content:Br,flexibleContent:Ir,contentHeading:Ar,monthGrid:Wr,monthGridMobile:Tr,monthButton:Rr,monthButtonDisabled:Er,monthButtonSelected:zr,monthLabel:Vr,monthYear:Fr,anytimeButton:Or,datesContent:Zr,contentDatesActive:Yr},qr="_container_1sjwb_1",Gr="_navigation_1sjwb_5",Jr="_navButton_1sjwb_12",Xr="_prevIconButton_1sjwb_30",Kr="_nextIconButton_1sjwb_31",Qr="_positionAbs_1sjwb_32",Ur="_monthTitle_1sjwb_60",ei="_desktopLayout_1sjwb_74",ti="_calendarsContainer_1sjwb_81",ni="_calendar_1sjwb_81",si="_weekDaysRow_1sjwb_103",ai="_weekDay_1sjwb_103",ri="_weekDayWeekend_1sjwb_122",ii="_daysGrid_1sjwb_126",oi="_dayCell_1sjwb_131",li="_dayButton_1sjwb_138",ci="_containerMobile_1sjwb_246",di="_calendarsContainerMobile_1sjwb_250",ui="_monthTitleMobile_1sjwb_255",hi="_navButtonDisabled_1sjwb_267",H={container:qr,navigation:Gr,navButton:Jr,prevIconButton:Xr,nextIconButton:Kr,positionAbs:Qr,monthTitle:Ur,desktopLayout:ei,calendarsContainer:ti,calendar:ni,weekDaysRow:si,weekDay:ai,weekDayWeekend:ri,daysGrid:ii,dayCell:oi,dayButton:li,"dayButton--disabled":"_dayButton--disabled_1sjwb_164","dayButton--start":"_dayButton--start_1sjwb_175","dayButton--end":"_dayButton--end_1sjwb_176","dayButton--inRange":"_dayButton--inRange_1sjwb_191",containerMobile:ci,calendarsContainerMobile:di,monthTitleMobile:ui,navButtonDisabled:hi},Ft=({startDate:t,endDate:s,onDateSelect:n,minDate:a,locale:r="de-CH"})=>{const{isDesktop:i}=Fe(),[c,l]=g.useState(new Date),o=y=>t===y,u=y=>s===y,d=y=>!t||!s?!1:y>t&&y<s,h=y=>new Date(y.getFullYear(),y.getMonth()+1,0),m=y=>new Date(y.getFullYear(),y.getMonth()+1,0).getDate(),w=y=>{const R=new Date(y.getFullYear(),y.getMonth(),1).getDay();return R===0?6:R-1},_=y=>y.toLocaleDateString(r,{month:"long",year:"numeric"}),f=(()=>{const y=[],R=new Date(2020,0,6);for(let Q=0;Q<7;Q++){const U=new Date(R);U.setDate(R.getDate()+Q),y.push(U.toLocaleDateString(r,{weekday:"short"}).slice(0,2))}return y})(),b=y=>{const R=new Date,Q=new Date(R.getFullYear()+1,R.getMonth(),R.getDate()),U=y.split("-").map(Number),se=new Date(U[0],U[1]-1,U[2]);if(a){const q=a.split("-").map(Number),J=new Date(q[0],q[1]-1,q[2]);if(se<J)return!0}return se>Q},C=y=>{const R=new Date(c.getFullYear(),c.getMonth()+y,1),Q=m(R),U=w(R),se=[];for(let q=0;q<U;q++)se.push(e.jsx("div",{className:H.dayCell},`empty-${q}`));for(let q=1;q<=Q;q++){const J=`${R.getFullYear()}-${String(R.getMonth()+1).padStart(2,"0")}-${String(q).padStart(2,"0")}`,ae=b(J),Ce=o(J),x=u(J),D=d(J),G=[H.dayCell,H.dayButton,ae&&H["dayButton--disabled"],Ce&&H["dayButton--start"],x&&H["dayButton--end"],D&&H["dayButton--inRange"]].filter(Boolean).join(" ");se.push(e.jsx("button",{type:"button",className:G,onClick:()=>!ae&&n(J),disabled:ae,children:q},q))}return se},j=()=>{l(new Date(c.getFullYear(),c.getMonth()-1,1))},W=()=>{l(new Date(c.getFullYear(),c.getMonth()+1,1))},z=new Date(c.getFullYear(),c.getMonth()-1,1),L=a?h(z)<new Date(a):!1,E=new Date,P=new Date(E.getFullYear()+1,E.getMonth(),1),S=new Date(c.getFullYear(),c.getMonth()+1,1),v=S>=P,A=S>P,N=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:H.positionAbs,children:e.jsx("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"})}),$=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:H.positionAbs,children:e.jsx("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"})}),B=[H.container,!i&&H.containerMobile].filter(Boolean).join(" "),T=[H.calendarsContainer,!i&&H.calendarsContainerMobile].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[!i&&e.jsxs("div",{className:H.navigation,children:[e.jsx("button",{type:"button",className:[H.navButton,H.prevIconButton,L&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:j,disabled:L,children:e.jsx(N,{})}),e.jsx("h3",{className:H.monthTitleMobile,children:_(c)}),e.jsx("button",{type:"button",className:[H.navButton,H.nextIconButton,A&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:W,disabled:A,children:e.jsx($,{})})]}),i?e.jsxs("div",{className:H.desktopLayout,children:[e.jsx("button",{type:"button",className:[H.navButton,H.prevIconButton,L&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:j,disabled:L,children:e.jsx(N,{})}),e.jsxs("div",{className:T,children:[e.jsxs("div",{className:H.calendar,children:[e.jsx("h3",{className:H.monthTitle,children:_(c)}),e.jsx("div",{className:H.weekDaysRow,children:f.map((y,R)=>e.jsx("div",{className:`${H.weekDay} ${R>=5?H.weekDayWeekend:""}`,children:y},y))}),e.jsx("div",{className:H.daysGrid,children:C(0)})]}),e.jsxs("div",{className:H.calendar,children:[e.jsx("h3",{className:H.monthTitle,children:_(S)}),e.jsx("div",{className:H.weekDaysRow,children:f.map((y,R)=>e.jsx("div",{className:`${H.weekDay} ${R>=5?H.weekDayWeekend:""}`,children:y},y))}),e.jsx("div",{className:H.daysGrid,children:C(1)})]})]}),e.jsx("button",{type:"button",className:[H.navButton,H.nextIconButton,v&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:W,disabled:v,children:e.jsx($,{})})]}):e.jsx("div",{className:T,children:e.jsxs("div",{className:H.calendar,children:[e.jsx("div",{className:H.weekDaysRow,children:f.map((y,R)=>e.jsx("div",{className:`${H.weekDay} ${R>=5?H.weekDayWeekend:""}`,children:y},y))}),e.jsx("div",{className:H.daysGrid,children:C(0)})]})})]})},mi=t=>({de:"de-CH",en:"en-GB",fr:"fr-CH",it:"it-CH"})[t]||"de-CH",Ot=({initialDateRange:t={start:null,end:null},initialMonthFilter:s=null,onChange:n,onMonthFilterChange:a,variant:r="dropdown",showApplyButton:i=!0,onApply:c,className:l=""})=>{const{t:o}=We(),{locale:u}=Ge(),{isDesktop:d}=Fe(),h=mi(u),[m,w]=g.useState(t),[_,p]=g.useState(t.start?"dates":"anytime"),f=s||[],b=f.length===0;g.useEffect(()=>{t.start||t.end?(w(t),p("dates")):(w(t),s&&s.length>0&&p("anytime"))},[t,s]);const j=(()=>{const B=[],T=new Date;for(let y=0;y<12;y++){const R=new Date(T.getFullYear(),T.getMonth()+y,1);B.push({label:R.toLocaleDateString(h,{month:"long"}),year:R.getFullYear(),value:`${R.getFullYear()}-${String(R.getMonth()+1).padStart(2,"0")}`,disabled:!1})}return B})(),W=()=>{w({start:null,end:null}),n==null||n(null),a==null||a(null)},z=B=>{const T=f.includes(B)?f.filter(y=>y!==B):[...f,B];w({start:null,end:null}),n==null||n(null),T.length===0?a==null||a(null):a==null||a(T)},L=()=>{_==="anytime"?f.length===0&&(n==null||n(null)):m.start&&m.end&&(n==null||n(m)),c==null||c()},E=B=>{p(B),B==="anytime"&&(w({start:null,end:null}),n==null||n(null)),a==null||a(null)},P=()=>new Date().toISOString().split("T")[0],S=B=>{const T=new Date(B);return T.setDate(T.getDate()+1),T.toISOString().split("T")[0]},v=B=>{if(!m.start||m.start&&m.end){const T={start:B,end:null};w(T),n==null||n(T)}else if(B===m.start){const T=S(B),y={start:m.start,end:T};w(y),n==null||n(y)}else if(B>m.start){const T={start:m.start,end:B};w(T),n==null||n(T)}else{const T={start:B,end:null};w(T),n==null||n(T)}},A=[Z.container,r==="expanded"?Z.containerExpanded:Z.containerDropdown,l].filter(Boolean).join(" "),N=[Z.monthGrid,!d&&Z.monthGridMobile].filter(Boolean).join(" "),$=[Z.content,_==="dates"&&Z.contentDatesActive].filter(Boolean).join(" ");return e.jsxs("div",{className:A,children:[r==="expanded"&&e.jsx("h2",{className:Z.sectionTitle,children:o("search:label.when")}),e.jsxs("div",{className:Z.header,children:[e.jsxs("div",{className:Z.tabs,children:[e.jsx("button",{type:"button",className:`${Z.tab} ${_==="dates"?Z.tabActive:""}`,onClick:()=>E("dates"),children:o("search:label.dates")}),e.jsx("button",{type:"button",className:`${Z.tab} ${_==="anytime"?Z.tabActive:""}`,onClick:()=>E("anytime"),children:o("search:label.flexible")})]}),i&&e.jsx("div",{className:Z.applyButtonContainer,children:e.jsx($e,{variant:"secondary",size:"medium",onClick:L,children:o("search:date_selector.apply")})})]}),e.jsx("div",{className:$,children:_==="anytime"?e.jsxs("div",{className:Z.flexibleContent,children:[e.jsx("h3",{className:Z.contentHeading,children:o("search:general.when-months")}),e.jsxs("div",{className:N,children:[e.jsx("button",{type:"button",className:`${Z.monthButton} ${Z.anytimeButton} ${b?Z.monthButtonSelected:""}`,onClick:W,children:e.jsx("span",{className:Z.monthLabel,children:o("search:label.anytime")})}),j.map(B=>e.jsxs("button",{type:"button",className:`${Z.monthButton} ${f.includes(B.value)?Z.monthButtonSelected:""} ${B.disabled?Z.monthButtonDisabled:""}`,onClick:()=>!B.disabled&&z(B.value),disabled:B.disabled,children:[e.jsx("span",{className:Z.monthLabel,children:B.label}),e.jsx("span",{className:Z.monthYear,children:B.year})]},B.value))]})]}):e.jsx("div",{className:Z.datesContent,children:e.jsx(Ft,{startDate:m.start,endDate:m.end,locale:h,onDateSelect:v,minDate:P()})})})]})},fi=t=>({de:"de-CH",en:"en-GB",fr:"fr-CH",it:"it-CH"})[t]||"de-CH",gi=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M19 4H18V2H16V4H8V2H6V4H5C3.9 4 3 4.9 3 6V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V9H19V20Z",fill:"currentColor"})}),Zt=({initialDateRange:t={start:null,end:null},initialMonthFilter:s=null,onChange:n,onMonthFilterChange:a,onClose:r,disabled:i=!1,className:c,icon:l})=>{const{t:o}=We(),{locale:u}=Ge(),{isDesktop:d}=Fe(),h=fi(u),[m,w]=g.useState(t),[_,p]=g.useState(!1),[f,b]=g.useState(s||[]),C=g.useRef(null);g.useEffect(()=>{w(v=>v.start===t.start&&v.end===t.end?v:t),b(v=>{const A=s||[];return v.length===A.length&&v.every((N,$)=>N===A[$])?v:A})},[t.start,t.end,s]),g.useEffect(()=>{if(!_)return;const v=A=>{if(C.current&&!C.current.contains(A.target)){const N=m.start&&m.end?m:null,$=f.length?f:null;n==null||n(N),a==null||a($),p(!1),r==null||r(N,$)}};return document.addEventListener("pointerdown",v),()=>{document.removeEventListener("pointerdown",v)}},[_,m,f,n,a,r]);const j=g.useMemo(()=>{const v=new Date;return Array.from({length:12},(A,N)=>{const $=new Date(v.getFullYear(),v.getMonth()+N,1);return{label:$.toLocaleDateString(h,{month:"long"}),year:$.getFullYear(),value:`${$.getFullYear()}-${String($.getMonth()+1).padStart(2,"0")}`}})},[h]),W=()=>{if(m.start&&m.end){const v=A=>new Date(A).toLocaleDateString(h,{month:"short",day:"numeric"});return`${v(m.start)} - ${v(m.end)}`}if(f.length===1){const v=j.find(A=>A.value===f[0]);return v?`${v.label} ${v.year}`:o("search:label.flexible")}return f.length>1?o("search:date_selector.months_selected",{count:f.length}):o("search:label.flexible")},z=v=>{w(v??{start:null,end:null})},L=v=>{b(v||[])},E=()=>{m.start&&m.end?n==null||n(m):n==null||n(null),a==null||a(f.length?f:null),p(!1)},P=[Ne.button,i&&Ne["button--disabled"],c].filter(Boolean).join(" "),S=[Ne.dropdown,_&&Ne["dropdown--open"],!d&&Ne.dropdownMobile].filter(Boolean).join(" ");return e.jsxs("div",{ref:C,className:Ne.container,children:[e.jsxs("button",{type:"button",className:P,onClick:()=>!i&&p(v=>!v),disabled:i,children:[e.jsx("span",{className:Ne.icon,children:l||e.jsx(gi,{})}),e.jsx("span",{className:Ne.label,children:W()})]}),_&&e.jsx("div",{className:Ne.backdrop,onClick:()=>{const v=m.start&&m.end?m:null,A=f.length?f:null;n==null||n(v),a==null||a(A),p(!1),r==null||r(v,A)},"aria-hidden":"true"}),e.jsx("div",{className:S,children:e.jsx(Ot,{initialDateRange:m,initialMonthFilter:f.length?f:null,onChange:z,onMonthFilterChange:L,variant:"dropdown",showApplyButton:!0,onApply:E})})]})},mt=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M0 10C0 9.48047 0.477679 9.0625 1.07143 9.0625H18.9286C19.5223 9.0625 20 9.48047 20 10C20 10.5195 19.5223 10.9375 18.9286 10.9375H1.07143C0.477679 10.9375 0 10.5195 0 10Z",fill:"currentColor"})}),ft=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M11.0714 2.1875C11.0714 1.66797 10.5938 1.25 10 1.25C9.40625 1.25 8.92857 1.66797 8.92857 2.1875V9.0625H1.07143C0.477679 9.0625 0 9.48047 0 10C0 10.5195 0.477679 10.9375 1.07143 10.9375H8.92857V17.8125C8.92857 18.332 9.40625 18.75 10 18.75C10.5938 18.75 11.0714 18.332 11.0714 17.8125V10.9375H18.9286C19.5223 10.9375 20 10.5195 20 10C20 9.48047 19.5223 9.0625 18.9286 9.0625H11.0714V2.1875Z",fill:"currentColor"})}),pi=()=>e.jsx("svg",{className:"hc-guest-content__select-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M11.24 16.6873C11.6598 17.1042 12.3386 17.1042 12.7539 16.6873L19.6852 9.81633C20.1049 9.39939 20.1049 8.7252 19.6852 8.3127C19.2654 7.9002 18.5866 7.89577 18.1713 8.3127L11.9992 14.4296L5.82701 8.3127C5.40724 7.89577 4.72846 7.89577 4.31316 8.3127C3.89785 8.72964 3.89338 9.40383 4.31316 9.81633L11.2445 16.6873H11.24Z",fill:"#6B7280"})}),Yt=({guests:t,onChange:s,petFilter:n=0,onPetChange:a,showPetToggle:r=!0,className:i="",childAgeErrors:c=[],onErrorClear:l})=>{const{t:o}=fe(),u={adults:o("form.adults","Adults"),children:o("form.children","Children"),pet:o("form.pet","Pet"),ageOfChild:o("form.age-of-child","Age of child"),age:o("form.age","Age"),decreaseAdults:"Decrease adults",increaseAdults:"Increase adults",decreaseChildren:"Decrease children",increaseChildren:"Increase children",togglePets:"Toggle pets"},d=Array.isArray(t.childrenAges)?t.childrenAges:[],h=p=>{if(p==="children"&&t.children>=6||p==="adults"&&t.adults>=10)return;const f=p==="children"?[...d,null]:d;s({...t,[p]:t[p]+1,childrenAges:f})},m=p=>{if(p==="adults"&&t.adults<=1||p==="children"&&t.children<=0)return;const f=p==="children"?d.slice(0,-1):d;s({...t,[p]:t[p]-1,childrenAges:f})},w=(p,f)=>{const b=[...d];b[p]=f===""?null:parseInt(f,10),s({...t,childrenAges:b}),l==null||l(p)},_=["hc-guest-content",i].filter(Boolean).join(" ");return e.jsxs("div",{className:_,children:[e.jsxs("div",{className:"hc-guest-content__row",children:[e.jsx("div",{className:"hc-guest-content__label",children:e.jsx("span",{className:"hc-guest-content__name",children:u.adults})}),e.jsxs("div",{className:"hc-guest-content__counter",children:[e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>m("adults"),disabled:t.adults<=1,"aria-label":u.decreaseAdults,children:e.jsx(mt,{})}),e.jsx("span",{className:"hc-guest-content__counter-value",children:t.adults}),e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>h("adults"),disabled:t.adults>=10,"aria-label":u.increaseAdults,children:e.jsx(ft,{})})]})]}),e.jsxs("div",{className:"hc-guest-content__row hc-guest-content__row--children",children:[e.jsxs("div",{className:"hc-guest-content__row-header",children:[e.jsx("div",{className:"hc-guest-content__label",children:e.jsx("span",{className:"hc-guest-content__name",children:u.children})}),e.jsxs("div",{className:"hc-guest-content__counter",children:[e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>m("children"),disabled:t.children<=0,"aria-label":u.decreaseChildren,children:e.jsx(mt,{})}),e.jsx("span",{className:"hc-guest-content__counter-value",children:t.children}),e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>h("children"),disabled:t.children>=6,"aria-label":u.increaseChildren,children:e.jsx(ft,{})})]})]}),t.children>0&&e.jsx("div",{className:"hc-guest-content__children-dropdowns",style:{gridTemplateColumns:t.children===1?"1fr":"repeat(2, 1fr)"},children:Array.from({length:t.children}).map((p,f)=>{var W;const b=d[f],C=c.some(z=>z.index===f),j=(W=c.find(z=>z.index===f))==null?void 0:W.message;return e.jsxs("div",{className:"hc-guest-content__child-dropdown",children:[e.jsx("label",{htmlFor:`child-age-${f}`,children:u.ageOfChild}),e.jsxs("div",{className:"hc-guest-content__select-wrapper",children:[e.jsxs("select",{id:`child-age-${f}`,value:b??"",onChange:z=>w(f,z.target.value),className:`hc-guest-content__select ${C?"hc-guest-content__select--error":""}`,"aria-invalid":C,"aria-describedby":C?`error-${f}`:void 0,children:[e.jsx("option",{value:"",children:u.age}),Array.from({length:18},(z,L)=>e.jsx("option",{value:L,children:L},L))]}),e.jsx(pi,{})]}),C&&e.jsx("span",{id:`error-${f}`,className:"hc-guest-content__error-text",children:j})]},f)})})]}),r&&e.jsxs("div",{className:"hc-guest-content__row",children:[e.jsx("div",{className:"hc-guest-content__label",children:e.jsx("span",{className:"hc-guest-content__name",children:u.pet})}),e.jsx("div",{className:"hc-guest-content__toggle-wrapper",children:e.jsxs("label",{className:"hc-guest-content__toggle",children:[e.jsx("input",{type:"checkbox",checked:n===1,onChange:p=>a==null?void 0:a(p.target.checked?1:0),"aria-label":u.togglePets}),e.jsx("span",{className:"hc-guest-content__slider"})]})})]})]})},_i="_container_kxilw_1",wi="_button_kxilw_7",vi="_icon_kxilw_40",xi="_label_kxilw_46",bi="_dropdown_kxilw_54",De={container:_i,button:wi,"button--disabled":"_button--disabled_kxilw_25",icon:vi,label:xi,dropdown:bi,"dropdown--open":"_dropdown--open_kxilw_74"},Ci=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{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",fill:"currentColor"})}),qt=({initialGuests:t={adults:2,children:0,childrenAges:[]},initialPetValue:s=0,onChange:n,onPetChange:a,onClose:r,disabled:i=!1,className:c,icon:l,childAgeErrors:o=[]})=>{const{t:u}=We(),[d,h]=g.useState(t),[m,w]=g.useState(s),[_,p]=g.useState(!1),f=g.useRef(null),[b,C]=g.useState([]),j=d.adults+d.children;g.useEffect(()=>{h(t)},[t]),g.useEffect(()=>{o.length>0&&(C(o),p(!0))},[o]),g.useEffect(()=>{const S=v=>{f.current&&!f.current.contains(v.target)&&(p(!1),r==null||r(d,m))};return _&&document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[_,d,m,r]);const W=S=>{h(S),n==null||n(S),S.children!==d.children&&C([])},z=S=>{w(S),a==null||a(S)},L=S=>{C(v=>v.filter(A=>A.index!==S))},E=[De.button,i&&De["button--disabled"],c].filter(Boolean).join(" "),P=[De.dropdown,_&&De["dropdown--open"]].filter(Boolean).join(" ");return e.jsxs("div",{ref:f,className:De.container,children:[e.jsxs("button",{type:"button",className:E,onClick:()=>!i&&p(!_),disabled:i,children:[e.jsx("span",{className:De.icon,children:l||e.jsx(Ci,{})}),e.jsxs("span",{className:De.label,children:[j," ",u(j===1?"search:form.guest":"search:form.guests")]})]}),e.jsx("div",{className:P,children:e.jsx(Yt,{guests:d,onChange:W,petFilter:m,onPetChange:z,showPetToggle:!0,childAgeErrors:b,onErrorClear:L})})]})},yi="_container_1ndc1_1",ji="_iconWrapper_1ndc1_10",Ni="_iconWrapperActive_1ndc1_26",ki="_input_1ndc1_30",Mi="_clearButton_1ndc1_57",Li="_loadingIndicator_1ndc1_82",$i="_dropdown_1ndc1_92",Si="_dropdownHeader_1ndc1_120",Di="_section_1ndc1_130",Hi="_sectionHeader_1ndc1_141",Pi="_suggestion_1ndc1_151",Bi="_suggestionSelected_1ndc1_165",Ii="_icon_1ndc1_10",Ai="_suggestionContent_1ndc1_184",Wi="_suggestionName_1ndc1_192",Ti="_suggestionNameBold_1ndc1_201",Ri="_suggestionMeta_1ndc1_210",Ei="_emptyState_1ndc1_219",M={container:yi,iconWrapper:ji,iconWrapperActive:Ni,input:ki,clearButton:Mi,loadingIndicator:Li,dropdown:$i,dropdownHeader:Si,section:Di,sectionHeader:Hi,suggestion:Pi,suggestionSelected:Bi,icon:Ii,suggestionContent:Ai,suggestionName:Wi,suggestionNameBold:Ti,suggestionMeta:Ri,emptyState:Ei},zi=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_location)",children:e.jsx("path",{d:"M9.75 2.25C11.7391 2.25 13.6468 3.04018 15.0533 4.4467C16.4598 5.85322 17.25 7.76088 17.25 9.75C17.25 11.7391 16.4598 13.6468 15.0533 15.0533C13.6468 16.4598 11.7391 17.25 9.75 17.25C7.76088 17.25 5.85322 16.4598 4.4467 15.0533C3.04018 13.6468 2.25 11.7391 2.25 9.75C2.25 7.76088 3.04018 5.85322 4.4467 4.4467C5.85322 3.04018 7.76088 2.25 9.75 2.25ZM9.75 19.5C12.0375 19.5 14.1422 18.7125 15.8016 17.3953L22.0781 23.6719C22.5187 24.1125 23.2312 24.1125 23.6672 23.6719C24.1031 23.2313 24.1078 22.5188 23.6672 22.0828L17.3953 15.8016C18.7125 14.1422 19.5 12.0375 19.5 9.75C19.5 4.36406 15.1359 0 9.75 0C4.36406 0 0 4.36406 0 9.75C0 15.1359 4.36406 19.5 9.75 19.5ZM13.5 8.25C13.5 6.17812 11.8219 4.5 9.75 4.5C7.67812 4.5 6 6.17812 6 8.25C6 10.5375 8.17969 13.4813 9.21562 14.7469C9.49687 15.0891 10.0031 15.0891 10.2797 14.7469C11.3156 13.4813 13.4953 10.5375 13.4953 8.25H13.5ZM8.25 8.25C8.25 7.85218 8.40804 7.47064 8.68934 7.18934C8.97064 6.90804 9.35217 6.75 9.75 6.75C10.1478 6.75 10.5294 6.90804 10.8107 7.18934C11.092 7.47064 11.25 7.85218 11.25 8.25C11.25 8.64782 11.092 9.02936 10.8107 9.31066C10.5294 9.59196 10.1478 9.75 9.75 9.75C9.35217 9.75 8.97064 9.59196 8.68934 9.31066C8.40804 9.02936 8.25 8.64782 8.25 8.25Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_location",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Vi=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16",fill:"none",children:e.jsx("path",{d:"M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z",fill:"#1F2937"})}),gt=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1151_67394)",children:e.jsx("path",{d:"M8.125 1.875C9.7826 1.875 11.3723 2.53348 12.5444 3.70558C13.7165 4.87768 14.375 6.4674 14.375 8.125C14.375 9.7826 13.7165 11.3723 12.5444 12.5444C11.3723 13.7165 9.7826 14.375 8.125 14.375C6.4674 14.375 4.87768 13.7165 3.70558 12.5444C2.53348 11.3723 1.875 9.7826 1.875 8.125C1.875 6.4674 2.53348 4.87768 3.70558 3.70558C4.87768 2.53348 6.4674 1.875 8.125 1.875ZM8.125 16.25C10.0312 16.25 11.7852 15.5937 13.168 14.4961L18.3984 19.7266C18.7656 20.0937 19.3594 20.0937 19.7227 19.7266C20.0859 19.3594 20.0898 18.7656 19.7227 18.4023L14.4961 13.168C15.5937 11.7852 16.25 10.0312 16.25 8.125C16.25 3.63672 12.6133 0 8.125 0C3.63672 0 0 3.63672 0 8.125C0 12.6133 3.63672 16.25 8.125 16.25ZM11.25 6.875C11.25 5.14844 9.85156 3.75 8.125 3.75C6.39844 3.75 5 5.14844 5 6.875C5 8.78125 6.81641 11.2344 7.67969 12.2891C7.91406 12.5742 8.33594 12.5742 8.56641 12.2891C9.42969 11.2344 11.2461 8.78125 11.2461 6.875H11.25ZM6.875 6.875C6.875 6.54348 7.0067 6.22554 7.24112 5.99112C7.47554 5.7567 7.79348 5.625 8.125 5.625C8.45652 5.625 8.77446 5.7567 9.00888 5.99112C9.2433 6.22554 9.375 6.54348 9.375 6.875C9.375 7.20652 9.2433 7.52446 9.00888 7.75888C8.77446 7.9933 8.45652 8.125 8.125 8.125C7.79348 8.125 7.47554 7.9933 7.24112 7.75888C7.0067 7.52446 6.875 7.20652 6.875 6.875Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1151_67394",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Fi=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_nearme_desktop)",children:e.jsx("path",{d:"M9.0625 2.8125C9.0625 2.56386 9.16127 2.3254 9.33709 2.14959C9.5129 1.97377 9.75136 1.875 10 1.875C10.2486 1.875 10.4871 1.97377 10.6629 2.14959C10.8387 2.3254 10.9375 2.56386 10.9375 2.8125C10.9375 3.06114 10.8387 3.2996 10.6629 3.47541C10.4871 3.65123 10.2486 3.75 10 3.75C9.75136 3.75 9.5129 3.65123 9.33709 3.47541C9.16127 3.2996 9.0625 3.06114 9.0625 2.8125ZM12.8125 2.8125C12.8125 2.06658 12.5162 1.35121 11.9887 0.823762C11.4613 0.296316 10.7459 0 10 0C9.25408 0 8.53871 0.296316 8.01126 0.823762C7.48382 1.35121 7.1875 2.06658 7.1875 2.8125C7.1875 3.55842 7.48382 4.27379 8.01126 4.80124C8.53871 5.32868 9.25408 5.625 10 5.625C10.7459 5.625 11.4613 5.32868 11.9887 4.80124C12.5162 4.27379 12.8125 3.55842 12.8125 2.8125ZM5.625 9.6875V10.7305C5.625 11.3125 5.85547 11.8672 6.26562 12.2773L6.94141 12.9531L7.32812 15.0742C7.51563 16.1133 8.42188 16.8711 9.48047 16.8711H10.5195C11.5781 16.8711 12.4844 16.1133 12.6719 15.0742L13.0586 12.9531L13.7344 12.2773C14.1445 11.8672 14.375 11.3125 14.375 10.7305V9.6875C14.375 7.78906 12.8359 6.25 10.9375 6.25H9.0625C7.16406 6.25 5.625 7.78906 5.625 9.6875ZM9.0625 8.125H10.9375C11.8008 8.125 12.5 8.82422 12.5 9.6875V10.7305C12.5 10.8125 12.4688 10.8945 12.4102 10.9531L11.5234 11.8359C11.3867 11.9688 11.2969 12.1445 11.2656 12.332L10.8281 14.7422C10.8008 14.8906 10.6719 15 10.5195 15H9.48047C9.32812 15 9.19922 14.8906 9.17188 14.7422L8.73438 12.332C8.69922 12.1445 8.60938 11.9727 8.47656 11.8359L7.59375 10.9531C7.53516 10.8945 7.50391 10.8164 7.50391 10.7305V9.6875C7.50391 8.82422 8.20312 8.125 9.06641 8.125H9.0625ZM5.23047 13.457C4.58203 13.5547 3.97266 13.6758 3.42188 13.8203C2.54688 14.0469 1.75781 14.3398 1.16406 14.7305C0.589844 15.1055 0 15.7031 0 16.5664C0 17.4297 0.589844 18.0273 1.16406 18.4023C1.75781 18.7852 2.54688 19.0781 3.42188 19.3047C5.18359 19.7617 7.53516 20 10 20C12.4648 20 14.8164 19.7617 16.5781 19.3047C17.4531 19.0781 18.2422 18.7852 18.8359 18.3945C19.4102 18.0195 20 17.4219 20 16.5586C20 15.6953 19.4102 15.0977 18.8359 14.7227C18.2422 14.3359 17.4492 14.0391 16.5781 13.8125C16.0273 13.6719 15.4219 13.5508 14.7695 13.4492L14.5625 15.3164C15.125 15.4023 15.6445 15.5078 16.1094 15.6289C18.3203 16.1992 18.3203 16.9141 16.1094 17.4844C14.5508 17.8867 12.3672 18.1172 10 18.1172C7.63281 18.1172 5.44922 17.8867 3.89062 17.4844C1.67969 16.9141 1.67969 16.1992 3.89062 15.6289C4.35547 15.5078 4.875 15.4023 5.4375 15.3164L5.23047 13.4492V13.457Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_nearme_desktop",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Oi=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1151_67415)",children:e.jsx("path",{d:"M0.9375 0C0.417969 0 0 0.417969 0 0.9375C0 1.45703 0.417969 1.875 0.9375 1.875H1.25V18.125H0.9375C0.417969 18.125 0 18.543 0 19.0625C0 19.582 0.417969 20 0.9375 20H19.0625C19.582 20 20 19.582 20 19.0625C20 18.543 19.582 18.125 19.0625 18.125H18.75V1.875H19.0625C19.582 1.875 20 1.45703 20 0.9375C20 0.417969 19.582 0 19.0625 0H0.9375ZM16.875 18.125H11.25V15H13.125C13.4688 15 13.7539 14.7188 13.6992 14.3789C13.4023 12.6055 11.8594 11.25 10 11.25C8.14062 11.25 6.59766 12.6016 6.30078 14.3789C6.24219 14.7188 6.52734 15 6.875 15H8.75V18.125H3.125V1.875H16.875V18.125ZM5.625 3.75C5.28125 3.75 5 4.03125 5 4.375V5.625C5 5.96875 5.28125 6.25 5.625 6.25H6.875C7.21875 6.25 7.5 5.96875 7.5 5.625V4.375C7.5 4.03125 7.21875 3.75 6.875 3.75H5.625ZM8.75 4.375V5.625C8.75 5.96875 9.03125 6.25 9.375 6.25H10.625C10.9688 6.25 11.25 5.96875 11.25 5.625V4.375C11.25 4.03125 10.9688 3.75 10.625 3.75H9.375C9.03125 3.75 8.75 4.03125 8.75 4.375ZM13.125 3.75C12.7812 3.75 12.5 4.03125 12.5 4.375V5.625C12.5 5.96875 12.7812 6.25 13.125 6.25H14.375C14.7188 6.25 15 5.96875 15 5.625V4.375C15 4.03125 14.7188 3.75 14.375 3.75H13.125ZM5 8.125V9.375C5 9.71875 5.28125 10 5.625 10H6.875C7.21875 10 7.5 9.71875 7.5 9.375V8.125C7.5 7.78125 7.21875 7.5 6.875 7.5H5.625C5.28125 7.5 5 7.78125 5 8.125ZM9.375 7.5C9.03125 7.5 8.75 7.78125 8.75 8.125V9.375C8.75 9.71875 9.03125 10 9.375 10H10.625C10.9688 10 11.25 9.71875 11.25 9.375V8.125C11.25 7.78125 10.9688 7.5 10.625 7.5H9.375ZM12.5 8.125V9.375C12.5 9.71875 12.7812 10 13.125 10H14.375C14.7188 10 15 9.71875 15 9.375V8.125C15 7.78125 14.7188 7.5 14.375 7.5H13.125C12.7812 7.5 12.5 7.78125 12.5 8.125Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1151_67415",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Zi=()=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M10 10.8333C11.3807 10.8333 12.5 9.71404 12.5 8.33333C12.5 6.95262 11.3807 5.83333 10 5.83333C8.61929 5.83333 7.5 6.95262 7.5 8.33333C7.5 9.71404 8.61929 10.8333 10 10.8333Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 18.3333C10 18.3333 16.6667 13.3333 16.6667 8.33333C16.6667 4.65143 13.6819 1.66667 10 1.66667C6.31811 1.66667 3.33334 4.65143 3.33334 8.33333C3.33334 13.3333 10 18.3333 10 18.3333Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Yi=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M7.5 2.5L2.5 5V17.5L7.5 15M7.5 2.5L12.5 5M7.5 2.5V15M12.5 5L17.5 2.5V15L12.5 17.5M12.5 5V17.5M12.5 17.5L7.5 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),qi=()=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"10",cy:"10",r:"8.25",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M2.5 10H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("path",{d:"M10 1.75C10 1.75 6.25 5 6.25 10C6.25 15 10 18.25 10 18.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("path",{d:"M10 1.75C10 1.75 13.75 5 13.75 10C13.75 15 10 18.25 10 18.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),Gt=({value:t,onChange:s,onSelect:n,onSubmit:a,onAutocomplete:r,placeholder:i="Enter location",disabled:c=!1,className:l=""})=>{const{t:o}=We(),{locale:u}=Ge(),[d,h]=g.useState([]),[m,w]=g.useState(!1),[_,p]=g.useState(!1),[f,b]=g.useState(-1),[C,j]=g.useState(!1),W=g.useRef(null),z=g.useRef(null),L=g.useRef(),E=_||t.trim().length>0,P=g.useMemo(()=>{const x=d.filter(I=>I.type==="hotel"),D=d.filter(I=>I.type==="city"),G=d.filter(I=>I.type==="region"),ye=d.filter(I=>I.type==="country");return{hotels:x,cities:D,regions:G,countries:ye}},[d]),S=g.useMemo(()=>[...[{type:"anywhere",name:o("search:label.anywhere","All destinations")},{type:"nearme",name:o("search:label.nearby","Near me")}],...P.cities,...P.regions,...P.countries,...P.hotels],[P,o]),v=async x=>{if(x.length<3||!r){h([]);return}try{j(!0);const D=await r(x);h(D),b(-1)}catch(D){console.error("Autocomplete error:",D),h([])}finally{j(!1)}};g.useEffect(()=>(L.current&&clearTimeout(L.current),L.current=setTimeout(()=>{v(t)},300),()=>{L.current&&clearTimeout(L.current)}),[t]),g.useEffect(()=>{const x=D=>{z.current&&!z.current.contains(D.target)&&W.current&&!W.current.contains(D.target)&&w(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[]);const A=x=>{s(x.target.value),w(!0)},N=x=>{var D;x.stopPropagation(),s(""),(D=W.current)==null||D.focus()},$=x=>{if(x.type==="anywhere"){s(""),w(!1),setTimeout(()=>a==null?void 0:a("",null,null,!1),0);return}if(x.type==="nearme"){"geolocation"in navigator?navigator.geolocation.getCurrentPosition(I=>{const k={lat:I.coords.latitude,lng:I.coords.longitude};s(o("search:label.nearby","Near me")),w(!1),setTimeout(()=>a==null?void 0:a(o("search:label.nearby","Near me"),k,null,!1),0)},()=>{s(""),w(!1),setTimeout(()=>a==null?void 0:a("",null,null,!1),0)},{enableHighAccuracy:!1,timeout:1e4,maximumAge:3e5}):(s(""),w(!1),setTimeout(()=>a==null?void 0:a("",null,null,!1),0));return}const D=x.name,G=B(x),ye=x.type==="region"?x.id:null;s(D),w(!1),n&&"city"in x&&n(x),setTimeout(()=>a==null?void 0:a(D,G,ye,!0,x.type),0)},B=x=>!(x!=null&&x.latitude)||!(x!=null&&x.longitude)?null:{lat:x.latitude,lng:x.longitude},T=x=>{if(!m||S.length===0){(x.key==="ArrowDown"||x.key==="ArrowUp")&&w(!0);return}switch(x.key){case"ArrowDown":x.preventDefault(),b(D=>D<S.length-1?D+1:D);break;case"ArrowUp":x.preventDefault(),b(D=>D>0?D-1:-1);break;case"Enter":x.preventDefault(),f>=0&&f<S.length&&$(S[f]);break;case"Escape":x.preventDefault(),w(!1),b(-1);break}},y=x=>{switch(x){case"hotel":return e.jsx(Oi,{});case"city":return e.jsx(Zi,{});case"region":return e.jsx(Yi,{});case"country":return e.jsx(qi,{});case"anywhere":return e.jsx(gt,{});case"nearme":return e.jsx(Fi,{});default:return e.jsx(gt,{})}},R=(x,D)=>{if(!D||D.length<3)return e.jsx("span",{children:x});const G=x.toLowerCase(),ye=D.toLowerCase(),I=G.indexOf(ye);if(I===-1)return e.jsx("span",{children:x});const k=x.slice(0,I),V=x.slice(I,I+D.length),ee=x.slice(I+D.length);return e.jsxs("span",{children:[k,e.jsx("span",{className:M.suggestionNameBold,children:V}),ee]})},U=2,se=U+P.cities.length,q=se+P.regions.length,J=q+P.countries.length,ae=d.length>0,Ce=t.length>=2&&!ae&&!C;return e.jsxs("div",{className:M.container,children:[e.jsx("span",{className:`${M.iconWrapper} ${E?M.iconWrapperActive:""}`,children:e.jsx(zi,{})}),e.jsx("input",{ref:W,type:"text",value:t,onChange:A,onKeyDown:T,onFocus:()=>{p(!0),w(!0)},onBlur:()=>p(!1),placeholder:_?"":i,disabled:c,className:`${M.input} ${l}`,"aria-label":"Search location","aria-autocomplete":"list","aria-expanded":m,autoComplete:"off"}),t.trim().length>0&&e.jsx("button",{type:"button",className:M.clearButton,onClick:N,"aria-label":o("search:label.clear","Clear"),children:e.jsx(Vi,{})}),C&&e.jsx("div",{className:M.loadingIndicator,children:e.jsx("span",{children:"..."})}),m&&e.jsxs("div",{ref:z,className:M.dropdown,children:[!ae&&!Ce&&e.jsx("div",{className:M.dropdownHeader,children:o("search:general.suggested-destinations","Suggested destinations")}),!ae&&!Ce&&e.jsxs("div",{className:M.section,children:[e.jsxs("button",{type:"button",className:`${M.suggestion} ${f===0?M.suggestionSelected:""}`,onClick:()=>$({type:"anywhere",name:o("search:label.anywhere","All destinations")}),onMouseEnter:()=>b(0),children:[e.jsx("span",{className:M.icon,children:y("anywhere")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:o("search:label.anywhere","All destinations")})})]}),e.jsxs("button",{type:"button",className:`${M.suggestion} ${f===1?M.suggestionSelected:""}`,onClick:()=>$({type:"nearme",name:o("search:label.nearby","Near me")}),onMouseEnter:()=>b(1),children:[e.jsx("span",{className:M.icon,children:y("nearme")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:o("search:label.nearby","Near me")})})]})]}),P.cities.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.cities","Cities")}),e.jsx("div",{children:P.cities.map((x,D)=>{const G=U+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("city")}),e.jsxs("div",{className:M.suggestionContent,children:[e.jsx("div",{className:M.suggestionName,children:R(x.name,t)}),x.region&&e.jsx("div",{className:M.suggestionMeta,children:x.region})]})]},`city-${x.name}-${D}`)})})]}),P.regions.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.regions","Regions")}),e.jsx("div",{children:P.regions.map((x,D)=>{const G=se+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("region")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:R(x.name,t)})})]},`region-${x.name}-${D}`)})})]}),P.countries.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.countries","Countries")}),e.jsx("div",{children:P.countries.map((x,D)=>{const G=q+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("country")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:R(x.name,t)})})]},`country-${x.name}-${D}`)})})]}),P.hotels.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.hotels","Hotels")}),e.jsx("div",{children:P.hotels.map((x,D)=>{const G=J+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("hotel")}),e.jsxs("div",{className:M.suggestionContent,children:[e.jsx("div",{className:M.suggestionName,children:R(x.name,t)}),x.city&&e.jsxs("div",{className:M.suggestionMeta,children:[x.city,x.region&&`, ${x.region}`]})]})]},`hotel-${x.name}-${D}`)})})]}),Ce&&e.jsx("div",{className:M.emptyState,children:o("search:dropdown.no-results","No results found")})]})]})},Gi="_overlay_w2b2v_9",Ji="_sheet_w2b2v_29",Xi="_header_w2b2v_50",Ki="_title_w2b2v_57",Qi="_optionsList_w2b2v_71",Ui="_optionItem_w2b2v_77",eo="_radio_w2b2v_94",to="_radioActive_w2b2v_108",no="_radioInner_w2b2v_113",so="_optionLabel_w2b2v_121",xe={overlay:Gi,sheet:Ji,header:Xi,title:Ki,optionsList:Qi,optionItem:Ui,radio:eo,radioActive:to,radioInner:no,optionLabel:so},ao=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M2.77539 4.09961C2.4082 3.73242 2.4082 3.13867 2.77539 2.77539C3.14258 2.41211 3.73633 2.4082 4.09961 2.77539L9.99805 8.67383L15.8965 2.77539C16.2637 2.4082 16.8574 2.4082 17.2207 2.77539C17.584 3.14258 17.5879 3.73633 17.2207 4.09961L11.3223 9.99805L17.2207 15.8965C17.5879 16.2637 17.5879 16.8574 17.2207 17.2207C16.8535 17.584 16.2598 17.5879 15.8965 17.2207L9.99805 11.3223L4.09961 17.2207C3.73242 17.5879 3.13867 17.5879 2.77539 17.2207C2.41211 16.8535 2.4082 16.2598 2.77539 15.8965L8.67383 9.99805L2.77539 4.09961Z",fill:"#1F2937"})}),ro=({isOpen:t,onClose:s,value:n,onChange:a})=>{const{t:r}=We(),i=[{value:"relevance",labelKey:"search:filter.relevance",defaultLabel:"Relevance"},{value:"price_asc",labelKey:"search:filter.price-low-high",defaultLabel:"Price low to high"},{value:"price_desc",labelKey:"search:filter.price-high-low",defaultLabel:"Price high to low"},{value:"rating",labelKey:"search:filter.best-rating",defaultLabel:"Best guest rating"}],c=l=>{a(l),s()};return g.useEffect(()=>{if(t)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[t]),t?e.jsx("div",{className:xe.overlay,onClick:s,children:e.jsxs("div",{className:xe.sheet,onClick:l=>l.stopPropagation(),children:[e.jsxs("div",{className:xe.header,children:[e.jsx("h2",{className:xe.title,children:r("search:subheadline.sort-by")}),e.jsx($e,{variant:"secondary",size:"small",iconOnly:!0,onClick:s,"aria-label":r("common:close","Close"),children:e.jsx(ao,{})})]}),e.jsx("div",{className:xe.optionsList,children:i.map(l=>e.jsxs("button",{type:"button",className:xe.optionItem,onClick:()=>c(l.value),role:"radio","aria-checked":n===l.value,children:[e.jsx("span",{className:`${xe.radio} ${n===l.value?xe.radioActive:""}`,children:n===l.value&&e.jsx("span",{className:xe.radioInner})}),e.jsx("span",{className:xe.optionLabel,children:r(l.labelKey,l.defaultLabel)})]},l.value))})]})}):null},io="_container_1hlf3_15",oo="_containerCompact_1hlf3_27",lo="_inputsContainer_1hlf3_37",co="_inputWrapper_1hlf3_55",uo="_input_1hlf3_37",ho="_divider_1hlf3_116",mo="_controlWrapper_1hlf3_128",fo="_control_1hlf3_128",go="_buttonWrapper_1hlf3_179",po="_mobileContainer_1hlf3_263",_o="_mobileSummary_1hlf3_271",wo="_mobileSummaryIcon_1hlf3_291",vo="_mobileSummaryText_1hlf3_306",xo="_mobileSummaryTitle_1hlf3_316",bo="_mobileSummarySubtitle_1hlf3_331",Co="_mobileActionBar_1hlf3_350",yo="_mobileActionButton_1hlf3_357",jo="_mobileActionDivider_1hlf3_397",No="_clearButton_1hlf3_408",Y={container:io,containerCompact:oo,inputsContainer:lo,inputWrapper:co,input:uo,divider:ho,controlWrapper:mo,control:fo,buttonWrapper:go,mobileContainer:po,mobileSummary:_o,mobileSummaryIcon:wo,mobileSummaryText:vo,mobileSummaryTitle:xo,mobileSummarySubtitle:bo,mobileActionBar:Co,mobileActionButton:yo,mobileActionDivider:jo,clearButton:No},ko=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1029_77629)",children:e.jsx("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"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1029_77629",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Mo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1029_77637)",children:e.jsx("path",{d:"M0.882623 3.33334C0.52601 3.33334 0.202485 3.54724 0.0664579 3.87916C-0.0695696 4.21108 0.00763518 4.59094 0.257632 4.84541L4.7061 9.30788V13.6634C4.7061 13.8994 4.79801 14.1244 4.96345 14.2904L7.90458 17.2408C8.15826 17.4952 8.53693 17.569 8.8678 17.4325C9.19868 17.2961 9.41191 16.9678 9.41191 16.6101V9.30419L13.8604 4.84172C14.1141 4.58725 14.1876 4.20739 14.0516 3.87547C13.9155 3.54355 13.592 3.33334 13.2354 3.33334H0.882623ZM6.21343 8.31212L3.01495 5.10357H11.1067L7.90826 8.31212C7.74282 8.47808 7.65091 8.70305 7.65091 8.93908V14.4748L6.47446 13.2946V8.93908C6.47446 8.70305 6.38255 8.47808 6.21711 8.31212H6.21343ZM17.353 3.33334C16.864 3.33334 16.4706 3.72795 16.4706 4.21845C16.4706 4.70896 16.864 5.10357 17.353 5.10357H19.1177C19.6066 5.10357 20 4.70896 20 4.21845C20 3.72795 19.6066 3.33334 19.1177 3.33334H17.353ZM12.6472 9.52916C12.1582 9.52916 11.7648 9.92378 11.7648 10.4143C11.7648 10.9048 12.1582 11.2994 12.6472 11.2994H19.1177C19.6066 11.2994 20 10.9048 20 10.4143C20 9.92378 19.6066 9.52916 19.1177 9.52916H12.6472ZM12.6472 15.725C12.1582 15.725 11.7648 16.1196 11.7648 16.6101C11.7648 17.1006 12.1582 17.4952 12.6472 17.4952H19.1177C19.6066 17.4952 20 17.1006 20 16.6101C20 16.1196 19.6066 15.725 19.1177 15.725H12.6472Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1029_77637",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Lo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1029_63361)",children:e.jsx("path",{d:"M8.53479 6.02796C8.87132 6.36448 9.41548 6.36448 9.74842 6.02796C10.0814 5.69144 10.0849 5.14727 9.74842 4.81433L6.02877 1.08752C5.69225 0.750995 5.14808 0.750995 4.81514 1.08752L1.08833 4.81075C0.751807 5.14727 0.751807 5.69144 1.08833 6.02438C1.42485 6.35732 1.96902 6.3609 2.30196 6.02438L4.55738 3.76896V18.3075C4.55738 18.7836 4.94044 19.1667 5.41659 19.1667C5.89273 19.1667 6.27579 18.7836 6.27579 18.3075V3.76896L8.53121 6.02438L8.53479 6.02796ZM17.6997 13.9756L15.4442 16.231V1.69254C15.4442 1.2164 15.0612 0.833336 14.585 0.833336C14.1089 0.833336 13.7258 1.2164 13.7258 1.69254V16.231L11.4704 13.9756C11.1339 13.6391 10.5897 13.6391 10.2568 13.9756C9.92384 14.3121 9.92026 14.8563 10.2568 15.1893L13.98 18.9125C14.3165 19.249 14.8607 19.249 15.1936 18.9125L18.9169 15.1893C19.2534 14.8527 19.2534 14.3086 18.9169 13.9756C18.5804 13.6427 18.0362 13.6391 17.7032 13.9756H17.6997Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1029_63361",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),$o=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1116_37956)",children:e.jsx("path",{d:"M20 1.875C20 1.55078 19.832 1.25 19.5586 1.07813C19.2852 0.906252 18.9375 0.890627 18.6484 1.03516L13.7695 3.44141L7.03125 1.14844C6.49609 0.964846 5.91016 1 5.39453 1.23828L0.539063 3.52735C0.210938 3.67969 0 4.01172 0 4.375V18.125C0 18.4453 0.164063 18.7461 0.433594 18.918C0.703125 19.0898 1.04297 19.1094 1.33594 18.9727L6.30859 16.6328L12.9766 18.8555C13.5117 19.0352 14.0898 19 14.6016 18.7578L19.4609 16.4727C19.7891 16.3164 20 15.9883 20 15.625V1.875ZM5.625 3.20703V14.8867L1.875 16.6523V4.97266L5.625 3.20703ZM7.5 15.0547V3.29297L12.5 4.99219V16.7227L7.5 15.0547ZM14.375 5.23438L18.125 3.38281V15.0313L14.375 16.7969V5.23438Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1116_37956",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),So=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M6.625 0C7.24844 0 7.75 0.501562 7.75 1.125V3H15.25V1.125C15.25 0.501562 15.7516 0 16.375 0C16.9984 0 17.5 0.501562 17.5 1.125V3H19C20.6547 3 22 4.34531 22 6V19.5C22 21.1547 20.6547 22.5 19 22.5H4C2.34531 22.5 1 21.1547 1 19.5V6C1 4.34531 2.34531 3 4 3H5.5V1.125C5.5 0.501562 6.00156 0 6.625 0ZM19 20.25C19.4125 20.25 19.75 19.9125 19.75 19.5V16.5H15.625V20.25H19ZM19.75 14.25V10.5H15.625V14.25H19.75ZM13.375 14.25V10.5H9.625V14.25H13.375ZM7.375 14.25V10.5H3.25V14.25H7.375ZM3.25 16.5V19.5C3.25 19.9125 3.5875 20.25 4 20.25H7.375V16.5H3.25ZM9.625 16.5V20.25H13.375V16.5H9.625ZM6.625 5.25H4C3.5875 5.25 3.25 5.5875 3.25 6V8.25H19.75V6C19.75 5.5875 19.4125 5.25 19 5.25H6.625Z",fill:"#4B5563"})}),Do=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M8.25 6C8.25 5.00544 8.64509 4.05161 9.34835 3.34835C10.0516 2.64509 11.0054 2.25 12 2.25C12.9946 2.25 13.9484 2.64509 14.6517 3.34835C15.3549 4.05161 15.75 5.00544 15.75 6C15.75 6.99456 15.3549 7.94839 14.6517 8.65165C13.9484 9.35491 12.9946 9.75 12 9.75C11.0054 9.75 10.0516 9.35491 9.34835 8.65165C8.64509 7.94839 8.25 6.99456 8.25 6ZM18 6C18 4.4087 17.3679 2.88258 16.2426 1.75736C15.1174 0.632141 13.5913 0 12 0C10.4087 0 8.88258 0.632141 7.75736 1.75736C6.63214 2.88258 6 4.4087 6 6C6 7.5913 6.63214 9.11742 7.75736 10.2426C8.88258 11.3679 10.4087 12 12 12C13.5913 12 15.1174 11.3679 16.2426 10.2426C17.3679 9.11742 18 7.5913 18 6ZM3.75 22.5C3.75 19.1859 6.43594 16.5 9.75 16.5H14.25C17.5641 16.5 20.25 19.1859 20.25 22.5V22.875C20.25 23.4984 20.7516 24 21.375 24C21.9984 24 22.5 23.4984 22.5 22.875V22.5C22.5 17.9438 18.8062 14.25 14.25 14.25H9.75C5.19375 14.25 1.5 17.9438 1.5 22.5V22.875C1.5 23.4984 2.00156 24 2.625 24C3.24844 24 3.75 23.4984 3.75 22.875V22.5Z",fill:"#4B5563"})}),pt=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16",fill:"none",children:e.jsx("path",{d:"M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z",fill:"#1F2937"})}),Ho=({onSearch:t,onGuestChange:s,onQueryChange:n,onDateRangeChange:a,onMonthFilterChange:r,onAutocomplete:i,getGuestsDisplay:c,getDateDisplay:l,onMobileClick:o,onFilterClick:u,onSortClick:d,initialQuery:h="",initialGuests:m={adults:2,children:0,childrenAges:[]},initialPetFilter:w=0,initialDateRange:_=null,initialMonthFilter:p=null,disabled:f=!1,viewMode:b="list",onViewModeChange:C,hideViewToggle:j=!1,compact:W=!1})=>{const{isDesktop:z}=Fe(),{t:L}=fe(),[E,P]=g.useState(h),[S,v]=g.useState(m),[A,N]=g.useState(w),[$,B]=g.useState(_),[T,y]=g.useState(p),[R,Q]=g.useState([]);g.useEffect(()=>{v(m),P(h),B(_),y(p)},[m,h,_,p]);const U=k=>{k.preventDefault();const V=q();if(V.length>0){Q(V);return}t({query:E.trim(),guests:S,petFilter:A,dateRange:$,monthFilter:T})},se=k=>{v(k)},q=()=>{const k=[],V=Array.isArray(S.childrenAges)?S.childrenAges:[];for(let ee=0;ee<S.children;ee++){const we=V[ee];we==null&&k.push({index:ee,message:L("form.age-error")})}return k},J=()=>E.trim()||L("label.anywhere"),ae=k=>{k.stopPropagation(),B(null),y(null),t({query:E.trim(),guests:S,petFilter:A,dateRange:null,monthFilter:null})},Ce=k=>{k.stopPropagation();const V={adults:2,children:0,childrenAges:[]};v(V),t({query:E.trim(),guests:V,petFilter:A,dateRange:$,monthFilter:T})},x=k=>{P(k)},D=(k,V)=>{B(k),y(V);const ee=q();if(ee.length>0){Q(ee);return}t({query:E.trim(),guests:S,petFilter:A,dateRange:k,monthFilter:V})},G=(k,V)=>{v(k),N(V);const ee=Array.isArray(k.childrenAges)?k.childrenAges:[],we=[];for(let je=0;je<k.children;je++){const Re=ee[je];Re==null&&we.push({index:je,message:L("form.age-error")})}if(we.length>0){Q(we);return}t({query:E.trim(),guests:k,petFilter:V,dateRange:$,monthFilter:T})};E.trim();const ye=$!==null||T!==null&&T.length>0,I=S.adults!==2||S.children!==0;return z?e.jsx("form",{onSubmit:U,className:`${Y.container} ${W?Y.containerCompact:""}`,children:e.jsxs("div",{className:Y.inputsContainer,children:[e.jsx("div",{className:Y.inputWrapper,children:e.jsx(Gt,{value:E,onChange:x,onAutocomplete:i,onSubmit:(k,V,ee,we,je)=>{t({query:we?k.trim():"",guests:S,petFilter:A,dateRange:$,monthFilter:T,coordinates:V,regionsFilter:ee?[`region_${ee}`]:[],destinationMode:je})},placeholder:L("label.anywhere"),disabled:f,className:Y.input})}),e.jsx("div",{className:Y.divider}),e.jsxs("div",{className:Y.controlWrapper,children:[e.jsx(Zt,{initialDateRange:$||{start:null,end:null},initialMonthFilter:T,onChange:k=>{B(k),a==null||a(k)},onMonthFilterChange:k=>{y(k),r==null||r(k)},onClose:D,disabled:f,className:Y.control,icon:e.jsx(So,{})}),ye&&e.jsx("button",{type:"button",className:Y.clearButton,onClick:ae,"aria-label":L("label.clear","Clear date"),children:e.jsx(pt,{})})]}),e.jsx("div",{className:Y.divider}),e.jsxs("div",{className:Y.controlWrapper,"data-test":"test",children:[e.jsx(qt,{initialGuests:S,initialPetValue:A,onChange:se,onPetChange:N,onClose:G,disabled:f,className:Y.control,icon:e.jsx(Do,{}),childAgeErrors:R}),I&&e.jsx("button",{type:"button",className:Y.clearButton,onClick:Ce,"aria-label":L("label.clear","Clear guests"),children:e.jsx(pt,{})})]}),e.jsx("div",{className:Y.buttonWrapper,children:e.jsx($e,{variant:"primary",size:"small",type:"submit",disabled:f,children:L("button.search")})})]})}):e.jsxs("div",{className:Y.mobileContainer,children:[e.jsxs("button",{type:"button",className:Y.mobileSummary,onClick:o,disabled:f,children:[e.jsx("span",{className:Y.mobileSummaryIcon,children:e.jsx(ko,{})}),e.jsxs("div",{className:Y.mobileSummaryText,children:[e.jsx("span",{className:Y.mobileSummaryTitle,children:J()}),e.jsxs("span",{className:Y.mobileSummarySubtitle,children:[l()," · ",c()]})]})]}),!j&&!W&&e.jsxs("div",{className:Y.mobileActionBar,children:[e.jsxs("button",{type:"button",className:Y.mobileActionButton,onClick:u,disabled:f,children:[e.jsx(Mo,{}),e.jsx("span",{children:L("label.filter")})]}),e.jsx("div",{className:Y.mobileActionDivider}),b==="list"&&e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",className:Y.mobileActionButton,onClick:d,disabled:f,children:[e.jsx(Lo,{}),e.jsx("span",{children:L("label.sort")})]}),e.jsx("div",{className:Y.mobileActionDivider})]}),e.jsxs("button",{type:"button",className:Y.mobileActionButton,onClick:()=>C==null?void 0:C("map"),disabled:f,children:[e.jsx($o,{}),e.jsx("span",{children:L("label.map")})]})]})]})},Po=5,_t=50,wt='data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="300" fill="%23e5e7eb"%3E%3Crect width="400" height="300" /%3E%3C/svg%3E',Bo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_building)",children:e.jsx("path",{d:"M0.75 0C0.334375 0 0 0.334375 0 0.75C0 1.16562 0.334375 1.5 0.75 1.5H1V14.5H0.75C0.334375 14.5 0 14.8344 0 15.25C0 15.6656 0.334375 16 0.75 16H15.25C15.6656 16 16 15.6656 16 15.25C16 14.8344 15.6656 14.5 15.25 14.5H15V1.5H15.25C15.6656 1.5 16 1.16562 16 0.75C16 0.334375 15.6656 0 15.25 0H0.75ZM13.5 14.5H9V12H10.5C10.775 12 11.0031 11.775 10.9594 11.5031C10.7219 10.0844 9.4875 9 8 9C6.5125 9 5.27813 10.0813 5.04063 11.5031C4.99375 11.775 5.22188 12 5.5 12H7V14.5H2.5V1.5H13.5V14.5ZM4.5 3C4.225 3 4 3.225 4 3.5V4.5C4 4.775 4.225 5 4.5 5H5.5C5.775 5 6 4.775 6 4.5V3.5C6 3.225 5.775 3 5.5 3H4.5ZM7 3.5V4.5C7 4.775 7.225 5 7.5 5H8.5C8.775 5 9 4.775 9 4.5V3.5C9 3.225 8.775 3 8.5 3H7.5C7.225 3 7 3.225 7 3.5ZM10.5 3C10.225 3 10 3.225 10 3.5V4.5C10 4.775 10.225 5 10.5 5H11.5C11.775 5 12 4.775 12 4.5V3.5C12 3.225 11.775 3 11.5 3H10.5ZM4 6.5V7.5C4 7.775 4.225 8 4.5 8H5.5C5.775 8 6 7.775 6 7.5V6.5C6 6.225 5.775 6 5.5 6H4.5C4.225 6 4 6.225 4 6.5ZM7.5 6C7.225 6 7 6.225 7 6.5V7.5C7 7.775 7.225 8 7.5 8H8.5C8.775 8 9 7.775 9 7.5V6.5C9 6.225 8.775 6 8.5 6H7.5ZM10 6.5V7.5C10 7.775 10.225 8 10.5 8H11.5C11.775 8 12 7.775 12 7.5V6.5C12 6.225 11.775 6 11.5 6H10.5C10.225 6 10 6.225 10 6.5Z",fill:"white"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_building",children:e.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),Io=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"#1F2937",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Ao=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"#1F2937",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Wo=({filled:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t?"hc-hotel-card__heart-icon--filled":"hc-hotel-card__heart-icon",children:[e.jsxs("g",{clipPath:"url(#clip0_heart)",children:[e.jsx("path",{d:"M12.7031 4.58281C13.875 2.96094 15.7594 2 17.7609 2C21.2062 2 24 4.79375 24 8.23906C24 11.4547 21.9891 14.2812 20.2922 16.3391C18.225 18.8516 15.7313 21.0312 14.0203 22.3344C13.4438 22.775 12.7312 22.9953 12 22.9953C11.2688 22.9953 10.5562 22.775 9.97969 22.3344C8.26875 21.0312 5.775 18.8516 3.70781 16.3438C2.01094 14.2859 0 11.4547 0 8.23906C0 4.79375 2.79375 2 6.23906 2C8.24063 2 10.125 2.96094 11.2969 4.58281L12 5.55313L12.7031 4.58281Z",fill:"white"}),e.jsx("path",{d:"M17.7609 4.25C16.4812 4.25 15.2766 4.86406 14.5266 5.9L12.9141 8.13125C12.7031 8.42188 12.3656 8.59531 12.0047 8.59531C11.6438 8.59531 11.3062 8.42188 11.0953 8.13125L9.48281 5.9C8.73281 4.86406 7.52813 4.25 6.24844 4.25C4.04531 4.25 2.25938 6.03594 2.25938 8.23906C2.25938 10.5781 3.75938 12.8516 5.45156 14.9094C7.37813 17.2531 9.73594 19.3156 11.3531 20.5484C11.5031 20.6609 11.7234 20.7453 12.0094 20.7453C12.2953 20.7453 12.5156 20.6609 12.6656 20.5484C14.2828 19.3156 16.6406 17.2484 18.5672 14.9094C20.2641 12.8516 21.7594 10.5781 21.7594 8.23906C21.7594 6.03594 19.9734 4.25 17.7703 4.25H17.7609ZM12.7031 4.58281C13.875 2.96094 15.7594 2 17.7609 2C21.2062 2 24 4.79375 24 8.23906C24 11.4547 21.9891 14.2812 20.2922 16.3391C18.225 18.8516 15.7313 21.0312 14.0203 22.3344C13.4438 22.775 12.7312 22.9953 12 22.9953C11.2688 22.9953 10.5562 22.775 9.97969 22.3344C8.26875 21.0312 5.775 18.8516 3.70781 16.3438C2.01094 14.2859 0 11.4547 0 8.23906C0 4.79375 2.79375 2 6.23906 2C8.24063 2 10.125 2.96094 11.2969 4.58281L12 5.55313L12.7031 4.58281Z",fill:"#4B5563"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_heart",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Jt=({images:t,hotelName:s,badges:n,isFavorite:a,onFavoriteClick:r})=>{const i={removeFromFavorites:"Remove from favorites",addToFavorites:"Add to favorites",previousImage:"Previous image",nextImage:"Next image"},c=t.slice(0,Po),[l,o]=g.useState(0),[u,d]=g.useState(new Set),[h,m]=g.useState(null),[w,_]=g.useState(null),[p,f]=g.useState(!1),b=g.useRef(null),C=N=>{d($=>new Set($).add(N))},j=N=>u.has(N)?wt:c[N]||wt,W=()=>{o(N=>N===0?c.length-1:N-1)},z=()=>{o(N=>N===c.length-1?0:N+1)},L=N=>{N.preventDefault(),N.stopPropagation(),W()},E=N=>{N.preventDefault(),N.stopPropagation(),z()},P=N=>{N.stopPropagation(),_(null),m(N.targetTouches[0].clientX),f(!0)},S=N=>{N.stopPropagation(),h&&_(N.targetTouches[0].clientX)},v=N=>{if(N.stopPropagation(),f(!1),!h||!w)return;const $=h-w;$>_t?z():$<-_t&&W(),m(null),_(null)},A=N=>{N.preventDefault(),N.stopPropagation(),r()};return e.jsxs("div",{className:"hc-hotel-card__image-section",ref:b,onTouchStart:P,onTouchMove:S,onTouchEnd:v,style:{cursor:p?"grabbing":"grab"},children:[e.jsx("img",{src:j(l),alt:`${s} - Image ${l+1} of ${c.length}`,className:"hc-hotel-card__image",loading:"lazy",onError:()=>C(l),draggable:"false"}),e.jsx("div",{className:"hc-hotel-card__image-overlay"}),e.jsxs("div",{className:"hc-hotel-card__top-overlay",children:[e.jsx("div",{className:"hc-hotel-card__badges-column",children:n==null?void 0:n.map((N,$)=>e.jsxs("div",{className:"hc-hotel-card__new-badge",children:[e.jsx(Bo,{}),e.jsx("span",{children:N})]},$))}),e.jsx("button",{className:"hc-hotel-card__favorite-button",onClick:A,"aria-label":a?i.removeFromFavorites:i.addToFavorites,type:"button",children:e.jsx(Wo,{filled:a})})]}),c.length>1&&e.jsxs(e.Fragment,{children:[e.jsx("button",{className:"hc-hotel-card__nav-button hc-hotel-card__nav-button--left",onClick:L,"aria-label":i.previousImage,type:"button",children:e.jsx(Io,{})}),e.jsx("button",{className:"hc-hotel-card__nav-button hc-hotel-card__nav-button--right",onClick:E,"aria-label":i.nextImage,type:"button",children:e.jsx(Ao,{})}),e.jsx("div",{className:"hc-hotel-card__image-indicator",children:c.map((N,$)=>e.jsx("span",{className:`hc-hotel-card__indicator-dot ${$===l?"hc-hotel-card__indicator-dot--active":""}`},$))})]})]})},To=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_star)",children:e.jsx("path",{d:"M4.80018 0.366577C4.93104 0.366577 5.05173 0.440968 5.11135 0.557659L6.18011 2.66102L8.50521 3.03152C8.63462 3.05194 8.74222 3.14383 8.78294 3.26927C8.82365 3.39472 8.79021 3.53183 8.6986 3.62518L7.03366 5.29533L7.40155 7.6277C7.42191 7.75752 7.3681 7.88879 7.26195 7.9661C7.15581 8.04341 7.01476 8.05508 6.89843 7.99528L4.80018 6.92463L2.70192 7.99528C2.58559 8.05508 2.44454 8.04341 2.33839 7.9661C2.23225 7.88879 2.17844 7.75898 2.1988 7.6277L2.56523 5.29533L0.901751 3.62518C0.808689 3.53183 0.776699 3.39472 0.817413 3.26927C0.858128 3.14383 0.964277 3.05194 1.09515 3.03152L3.42024 2.66102L4.49045 0.557659C4.55007 0.440968 4.67076 0.366577 4.80163 0.366577H4.80018Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_star",children:e.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(0.800049 0.199951)"})})})]}),Ro=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M8 1.5C5.51562 1.5 3.5 3.51562 3.5 6C3.5 9.5 8 14 8 14C8 14 12.5 9.5 12.5 6C12.5 3.51562 10.4844 1.5 8 1.5ZM8 7.75C7.0325 7.75 6.25 6.9675 6.25 6C6.25 5.0325 7.0325 4.25 8 4.25C8.9675 4.25 9.75 5.0325 9.75 6C9.75 6.9675 8.9675 7.75 8 7.75Z",fill:"#6B7280"})}),Eo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_breakfast)",children:e.jsx("path",{d:"M8 1.5C9.525 1.5 10.9281 2.025 12.0344 2.90313L9.4125 5.525L7.975 1.5H8ZM13.0969 3.96563C13.4656 4.43125 13.7719 4.94687 14.0031 5.5H11.5625L13.0969 3.96563ZM10.0594 7H14.3969C15.1875 7 15.8563 6.23438 15.5656 5.39375C14.4844 2.25625 11.5062 0 8 0C3.58125 0 0 3.58125 0 8C0 11.5062 2.25625 14.4844 5.39375 15.5656C6.23438 15.8563 7 15.1875 7 14.3969V10.0594L7.12187 9.9375L7.39375 10.0531C7.8625 10.2531 8.40938 10.15 8.76875 9.7875L9.80625 8.75C10.1469 8.40938 10.2625 7.9 10.1 7.44688L9.97188 7.0875L10.0625 6.99687L10.0594 7ZM5.6375 9.30313L2.90313 12.0344C2.025 10.925 1.5 9.52188 1.5 8C1.5 7.84375 1.50625 7.69062 1.51562 7.5375L5.63438 9.30313H5.6375ZM3.96563 13.0969L5.5 11.5625V14.0031C4.94375 13.7719 4.42813 13.4656 3.96563 13.0969ZM1.80313 6.02812C2.48438 3.8875 4.24687 2.225 6.45 1.6875L8.63437 7.80625L7.82812 8.6125L1.80313 6.03125V6.02812Z",fill:"#006962"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_breakfast",children:e.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),zo=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M0.838695 4.18584L2.62218 6.00458C2.85502 6.24202 3.23153 6.24202 3.4619 6.00458C3.69227 5.76713 3.69474 5.38317 3.4619 5.14825L2.69401 4.36518L3.66406 4.36518C3.9974 4.36518 4.33073 4.36518 4.37346 4.36518C4.66406 4.36518 4.66406 4.36518 4.9974 4.36518L5.22309 4.36518H5.22804H11.5644C11.5644 5.25687 12.2753 5.98184 13.1497 5.98184V8.61902C13.5386 8.66196 13.9151 8.83625 14.2123 9.13938L14.3387 9.26821V4.76682C14.3387 3.87513 13.6278 3.15016 12.7533 3.15016H4.37346H2.69649L3.46438 2.3671C3.69722 2.12965 3.69722 1.74569 3.46438 1.51077C3.23153 1.27585 2.85502 1.27332 2.62218 1.50825L0.838695 3.32699C0.605852 3.56443 0.605852 3.94839 0.838695 4.18331V4.18584ZM1.65612 6.73207V11.2335C1.65612 12.1251 2.36704 12.8501 3.24144 12.8501H13.3008L12.5329 13.6332C12.3 13.8706 12.3 14.2546 12.5329 14.4895C12.7657 14.7244 13.1422 14.727 13.3726 14.4895L15.1561 12.6708C15.3889 12.4333 15.3889 12.0494 15.1561 11.8144L13.3726 9.9957C13.1398 9.75826 12.7633 9.75826 12.5329 9.9957C12.3025 10.2331 12.3 10.6171 12.5329 10.852L13.3008 11.6351L12.3307 11.6351C11.974 11.6351 11.9036 11.6351 11.737 11.6351C11.6641 11.6351 11.6354 11.6351 11.5644 11.6351H4.43043C4.43043 10.7434 3.71952 10.0184 2.84511 10.0184V7.38126C2.45622 7.33832 2.0797 7.16402 1.78245 6.8609L1.65612 6.73207ZM10.3754 8.00014C10.3754 7.35699 10.1248 6.74019 9.67888 6.28541C9.23292 5.83064 8.62807 5.57515 7.9974 5.57515C7.36672 5.57515 6.76187 5.83064 6.31591 6.28541C5.86996 6.74019 5.61942 7.35699 5.61942 8.00014C5.61942 8.64329 5.86996 9.26009 6.31591 9.71486C6.76187 10.1696 7.36672 10.4251 7.9974 10.4251C8.62807 10.4251 9.23292 10.1696 9.67888 9.71486C10.1248 9.26009 10.3754 8.64329 10.3754 8.00014Z",fill:"#006962"})}),Vo=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M13.5 4.5L6 12L2.5 8.5",stroke:"#006962",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Fo=()=>e.jsx("svg",{width:"32",height:"24",viewBox:"0 0 36 38",fill:"#478EFA",className:"hc-hotel-card__rating-badge-bg",children:e.jsx("path",{d:"M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z"})}),Xt=({name:t,stars:s,isSuperior:n=!1,rating:a,location:r,benefits:i,price:c,currency:l="CHF",isAvailable:o=!0,onClick:u})=>{const{t:d}=fe(),h={ratingExcellent:d("label.rating-excellent","Excellent"),ratingVeryGood:d("label.rating-very-good","Very good"),ratingGood:d("label.rating-good","Good"),ratingFair:d("label.rating-fair","Fair"),rating:d("label.rating","Rating"),priceFrom:d("label.per-room-night","per room & night from"),notAvailable:d("general.unavailable-for-selected-days","Not available"),swissLodge:"Swiss Lodge"},m=p=>p>=4.4?h.ratingExcellent:p>=4.1?h.ratingVeryGood:p>=3.8?h.ratingGood:p>=3.5?h.ratingFair:h.rating,w=p=>{switch(p){case"free-breakfast":return e.jsx(Eo,{});case"free-cancellation":return e.jsx(zo,{});default:return e.jsx(Vo,{})}},_=p=>{if(!p||p<=0)return null;if(p===6)return e.jsx("span",{className:"hc-hotel-card__swiss-lodge",children:h.swissLodge});const f=Math.min(Math.floor(p),5);return e.jsx(e.Fragment,{children:Array.from({length:f},(b,C)=>e.jsx(To,{},C))})};return e.jsxs("div",{className:"hc-hotel-card__content",onClick:u,style:{cursor:u?"pointer":void 0},children:[e.jsxs("div",{className:"hc-hotel-card__header-section",children:[e.jsxs("div",{className:"hc-hotel-card__rating-section",children:[e.jsxs("div",{className:"hc-hotel-card__stars",children:[_(s),n&&e.jsx("span",{className:"hc-hotel-card__stars-indicator",children:"(s)"})]}),a>0&&e.jsxs("div",{className:"hc-hotel-card__rating-wrapper",children:[e.jsx("span",{className:"hc-hotel-card__rating-text",children:m(a)}),e.jsxs("div",{className:"hc-hotel-card__rating-badge",children:[e.jsx(Fo,{}),e.jsx("span",{className:"hc-hotel-card__rating-number",children:a.toFixed(1)})]})]})]}),e.jsx("h3",{className:"hc-hotel-card__hotel-name",children:t})]}),e.jsxs("div",{className:"hc-hotel-card__location-section",children:[e.jsx("span",{className:"hc-hotel-card__pin-icon",children:e.jsx(Ro,{})}),e.jsx("span",{className:"hc-hotel-card__location",children:r})]}),e.jsxs("div",{className:"hc-hotel-card__benefits-and-pricing",children:[i.length>0&&e.jsx("div",{className:"hc-hotel-card__benefits-section",children:i.slice(0,3).map((p,f)=>e.jsxs("div",{className:"hc-hotel-card__benefit",children:[e.jsx("span",{className:"hc-hotel-card__benefit-icon",children:w(p.id)}),e.jsx("span",{className:"hc-hotel-card__benefit-text",children:p.label})]},f))}),e.jsxs("div",{className:"hc-hotel-card__pricing-section",children:[o&&e.jsx("div",{className:"hc-hotel-card__price-label",children:h.priceFrom}),!o&&e.jsx("div",{className:"hc-hotel-card__not-available",children:h.notAvailable}),o&&e.jsxs("div",{className:"hc-hotel-card__price-container",children:[e.jsx("span",{className:"hc-hotel-card__current-price",children:`${l} ${c.current}`}),c.original&&c.original>c.current&&e.jsx("span",{className:"hc-hotel-card__original-price",children:`${l} ${c.original}`}),c.discount&&c.discount>0&&e.jsxs("span",{className:"hc-hotel-card__discount-badge",children:["-",c.discount," %"]})]})]})]})]})},Oo=({hotel:t,onFavoriteClick:s,onContentClick:n,className:a})=>e.jsxs("div",{className:`hc-hotel-card ${a||""}`,children:[e.jsx(Jt,{images:t.images,hotelName:t.name,badges:t.badges,isFavorite:t.isFavorite,onFavoriteClick:s}),t.usp&&e.jsx("div",{className:"hc-hotel-card__usp-banner",children:t.usp}),e.jsx(Xt,{name:t.name,stars:t.stars,isSuperior:t.isSuperior,rating:t.rating,location:t.location,benefits:t.benefits,price:t.price,currency:t.currency,isAvailable:t.isAvailable,onClick:n})]}),Zo="_filterRow_17z8r_8",Yo="_filterRowDisabled_17z8r_22",qo="_checkboxLabel_17z8r_46",Go="_checkboxButton_17z8r_53",Jo="_checkbox_17z8r_46",Xo="_checkboxBox_17z8r_74",Ko="_checkboxBoxDisabled_17z8r_96",Qo="_checkIcon_17z8r_106",Uo="_filterLabel_17z8r_116",el="_filterLabelDisabled_17z8r_125",tl="_filterCount_17z8r_129",nl="_filterCountDisabled_17z8r_138",he={filterRow:Zo,filterRowDisabled:Yo,checkboxLabel:qo,checkboxButton:Go,checkbox:Jo,checkboxBox:Xo,checkboxBoxDisabled:Ko,checkIcon:Qo,filterLabel:Uo,filterLabelDisabled:el,filterCount:tl,filterCountDisabled:nl},Te=({id:t,label:s,count:n,checked:a,disabled:r=!1,onChange:i,className:c="",trackName:l})=>e.jsxs("label",{className:`${he.filterRow} ${r?he.filterRowDisabled:""} ${c}`,tabIndex:r?-1:0,"data-track":l,children:[e.jsxs("div",{className:he.checkboxLabel,children:[e.jsxs("div",{className:he.checkboxButton,children:[e.jsx("input",{id:t,type:"checkbox",className:he.checkbox,checked:a,disabled:r,onChange:i}),e.jsx("span",{className:`${he.checkboxBox} ${r?he.checkboxBoxDisabled:""}`,children:a&&e.jsx("svg",{viewBox:"0 0 12 10",fill:"none",className:he.checkIcon,children:e.jsx("path",{d:"M1 5L4.5 8.5L11 1",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsx("span",{className:`${he.filterLabel} ${r?he.filterLabelDisabled:""}`,children:s})]}),n!==void 0&&e.jsx("span",{className:`${he.filterCount} ${r?he.filterCountDisabled:""}`,children:n})]}),sl="_section_6jsxa_5",al="_header_6jsxa_9",rl="_title_6jsxa_21",il="_chevron_6jsxa_29",ol="_chevronExpanded_6jsxa_37",ll="_content_6jsxa_41",cl="_contentExpanded_6jsxa_47",dl="_contentInner_6jsxa_51",ul="_showAllButton_6jsxa_55",hl="_showAllChevron_6jsxa_75",ml="_showAllChevronUp_6jsxa_82",pe={section:sl,header:al,title:rl,chevron:il,chevronExpanded:ol,content:ll,contentExpanded:cl,contentInner:dl,showAllButton:ul,showAllChevron:hl,showAllChevronUp:ml},fl=({title:t,children:s,defaultExpanded:n=!0,showAllText:a,showLessText:r,hasShowAll:i=!1,initialItemsToShow:c=5,className:l=""})=>{const{t:o}=fe(),[u,d]=g.useState(n),[h,m]=g.useState(!1),w=a??o("filter.show-all","Show all"),_=r??o("filter.show-less","Show less");g.useEffect(()=>{n&&!u&&d(!0)},[n]);const p=()=>{d(!u)},f=()=>{m(!h)},b=g.Children.toArray(s),C=i&&b.length>c,j=C&&!h?b.slice(0,c):b;return e.jsxs("div",{className:`${pe.section} ${l}`,children:[e.jsxs("button",{type:"button",className:pe.header,onClick:p,"aria-expanded":u,children:[e.jsx("span",{className:pe.title,children:t}),e.jsx("svg",{className:`${pe.chevron} ${u?pe.chevronExpanded:""}`,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),e.jsx("div",{className:`${pe.content} ${u?pe.contentExpanded:""}`,"aria-hidden":!u,children:e.jsxs("div",{className:pe.contentInner,children:[j,C&&e.jsxs("button",{type:"button",className:pe.showAllButton,onClick:f,children:[h?_:w,e.jsx("svg",{className:`${pe.showAllChevron} ${h?pe.showAllChevronUp:""}`,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})})]})},gl="_priceRangeWrapper_10ufi_5",pl="_priceInputs_10ufi_12",_l="_priceInputWrapper_10ufi_18",wl="_priceInput_10ufi_12",vl="_priceInputDivider_10ufi_41",xl="_histogram_10ufi_48",bl="_histogramBar_10ufi_56",Cl="_histogramBarActive_10ufi_64",yl="_sliderContainer_10ufi_69",jl="_sliderTrack_10ufi_75",Nl="_sliderActiveTrack_10ufi_86",kl="_sliderHandle_10ufi_95",Ml="_sliderHandleActive_10ufi_119",ne={priceRangeWrapper:gl,priceInputs:pl,priceInputWrapper:_l,priceInput:wl,priceInputDivider:vl,histogram:xl,histogramBar:bl,histogramBarActive:Cl,sliderContainer:yl,sliderTrack:jl,sliderActiveTrack:Nl,sliderHandle:kl,sliderHandleActive:Ml},Ll=[12,25,38,45,52,48,42,35,28,22,18,15,12,10,8,6,5,4,3,2],$l=({minPrice:t,maxPrice:s,value:n,onChange:a,onApply:r,histogram:i=Ll,currency:c,onDragStart:l,onDragEnd:o,debounceDelay:u=500})=>{const{t:d,currency:h}=fe(),m=c??h,w=g.useRef(null),[_,p]=g.useState(null),[f,b]=g.useState(!1),C=g.useRef(n),j=g.useRef(null),[W,z]=g.useState(""),[L,E]=g.useState(""),[P,S]=g.useState(!1),[v,A]=g.useState(!1),N=s-t,$=N>0?(n.min-t)/N*100:0,B=N>0?(n.max-t)/N*100:100,T=Math.max(...i,1),y=g.useCallback(I=>{const k=I/i.length*100,V=(I+1)/i.length*100;return k<B&&V>$},[i.length,$,B]),R=12,Q=g.useCallback(I=>{r&&(j.current&&clearTimeout(j.current),j.current=setTimeout(()=>{r(I)},u))},[r,u]),U=g.useCallback(I=>{if(!w.current||!_)return;const k=w.current.getBoundingClientRect(),V=k.width-R*2,ee=k.left+R,we=Math.max(0,Math.min(100,(I-ee)/V*100)),je=Math.round(t+we/100*N);let Re=n.min,dt=n.max;if(_==="min"){const Ue=Math.min(je,n.max-1);Re=Math.max(t,Ue)}else{const Ue=Math.max(je,n.min+1);dt=Math.min(s,Ue)}const Qe={min:Re,max:dt};a(Qe),C.current=Qe,f||Q(Qe)},[_,t,s,N,n,a,f,Q]),se=I=>k=>{k.preventDefault(),p(I),b(!0),l==null||l()},q=I=>k=>{k.preventDefault(),p(I),b(!0),l==null||l()},J=g.useCallback(()=>{f&&r&&r(C.current),p(null),b(!1),o==null||o()},[f,r,o]);g.useEffect(()=>{if(!_)return;const I=V=>{U(V.clientX)},k=V=>{V.touches.length>0&&U(V.touches[0].clientX)};return document.addEventListener("mousemove",I),document.addEventListener("mouseup",J),document.addEventListener("touchmove",k,{passive:!1}),document.addEventListener("touchend",J),()=>{document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",J),document.removeEventListener("touchmove",k),document.removeEventListener("touchend",J),j.current&&clearTimeout(j.current)}},[_,U,J]);const ae=()=>{S(!0),z(n.min.toString())},Ce=()=>{A(!0),E(n.max.toString())},x=I=>{const k=I.target.value.replace(/[^0-9]/g,"");z(k)},D=I=>{const k=I.target.value.replace(/[^0-9]/g,"");E(k)},G=()=>{S(!1);const I=parseInt(W,10);if(!isNaN(I)){const V={min:Math.max(t,Math.min(I,n.max-1)),max:n.max};a(V),r&&Q(V)}},ye=()=>{A(!1);const I=parseInt(L,10);if(!isNaN(I)){const k=Math.min(s,Math.max(I,n.min+1)),V={min:n.min,max:k};a(V),r&&Q(V)}};return g.useEffect(()=>()=>{j.current&&clearTimeout(j.current)},[]),e.jsxs("div",{className:ne.priceRangeWrapper,children:[e.jsxs("div",{className:ne.priceInputs,children:[e.jsx("div",{className:ne.priceInputWrapper,children:e.jsx("input",{type:"text",inputMode:"numeric",className:ne.priceInput,value:P?W:`${m} ${n.min}`,onChange:x,onFocus:ae,onBlur:G,"aria-label":d("filter.min-price","Minimum price")})}),e.jsx("div",{className:ne.priceInputDivider,children:"—"}),e.jsx("div",{className:ne.priceInputWrapper,children:e.jsx("input",{type:"text",inputMode:"numeric",className:ne.priceInput,value:v?L:`${m} ${n.max}`,onChange:D,onFocus:Ce,onBlur:ye,"aria-label":d("filter.max-price","Maximum price")})})]}),e.jsx("div",{className:ne.histogram,children:i.map((I,k)=>{const V=I/T*100,ee=y(k);return e.jsx("div",{className:`${ne.histogramBar} ${ee?ne.histogramBarActive:""}`,style:{height:`${Math.max(V,10)}%`}},k)})}),e.jsxs("div",{className:ne.sliderContainer,ref:w,children:[e.jsx("div",{className:ne.sliderTrack}),e.jsx("div",{className:ne.sliderActiveTrack,style:{left:`calc(12px + (100% - 24px) * ${$/100})`,width:`calc((100% - 24px) * ${(B-$)/100})`}}),e.jsx("div",{className:`${ne.sliderHandle} ${_==="min"?ne.sliderHandleActive:""}`,style:{left:`calc(12px + (100% - 24px) * ${$/100})`},onMouseDown:se("min"),onTouchStart:q("min"),role:"slider","aria-label":d("filter.min-price","Minimum price"),"aria-valuenow":n.min,"aria-valuemin":t,"aria-valuemax":n.max,tabIndex:0}),e.jsx("div",{className:`${ne.sliderHandle} ${_==="max"?ne.sliderHandleActive:""}`,style:{left:`calc(12px + (100% - 24px) * ${B/100})`},onMouseDown:se("max"),onTouchStart:q("max"),role:"slider","aria-label":d("filter.max-price","Maximum price"),"aria-valuenow":n.max,"aria-valuemin":n.min,"aria-valuemax":s,tabIndex:0})]})]})},Sl="_filterList_1qs1m_5",Dl="_starsContainer_1qs1m_10",Hl="_starIcon_1qs1m_16",Pl="_footer_1qs1m_22",Bl="_footerText_1qs1m_28",Ee={filterList:Sl,starsContainer:Dl,starIcon:Hl,footer:Pl,footerText:Bl},Kt=[{value:"5",stars:5,label:null},{value:"4",stars:4,label:null},{value:"3",stars:3,label:null},{value:"2",stars:2,label:null},{value:"swiss_lodge",stars:0,label:"Swiss Lodge"},{value:"not_classified",stars:0,label:"No category"}],Il=({selected:t,counts:s={},onChange:n,className:a=""})=>{const{t:r}=fe(),i=l=>{t.includes(l)?n(t.filter(o=>o!==l)):n([...t,l])},c=l=>l.stars>0?null:l.value==="swiss_lodge"?r("filter.swiss-lodge","Swiss Lodge"):l.value==="not_classified"?r("filter.no-category","No category"):l.label;return e.jsxs("div",{className:a,children:[e.jsx("div",{className:Ee.filterList,children:Kt.map(l=>{const o=s[l.value],u=o===0&&!t.includes(l.value);return e.jsx(Te,{id:`category-${l.value}`,label:l.stars>0?e.jsx("div",{className:Ee.starsContainer,children:Array.from({length:l.stars}).map((d,h)=>e.jsx("svg",{className:Ee.starIcon,viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M12 0L14.6942 8.2918H23.4127L16.3593 13.4164L19.0534 21.7082L12 16.5836L4.94658 21.7082L7.64074 13.4164L0.587322 8.2918H9.30583L12 0Z"})},h))}):c(l),count:o,checked:t.includes(l.value),disabled:u,onChange:()=>i(l.value),trackName:`filter-category-${l.value}`},l.value)})}),e.jsx("div",{className:Ee.footer,children:e.jsx("span",{className:Ee.footerText,children:r("filter.hotellerie-suisse","Classification HotellerieSuisse")})})]})},Al="_filterList_1to6r_5",Wl="_filterRange_1to6r_10",Tl="_footer_1to6r_15",Rl="_footerText_1to6r_21",Oe={filterList:Al,filterRange:Wl,footer:Tl,footerText:Rl},Qt=[{value:"excellent",labelKey:"rating-excellent",range:"(4.4+)"},{value:"very_good",labelKey:"rating-very-good",range:"(4.1 – 4.3)"},{value:"good",labelKey:"rating-good",range:"(3.8 – 4.0)"},{value:"fair",labelKey:"rating-fair",range:"(3.5 – 3.7)"},{value:"no_rating",labelKey:"rating-none",range:""}],El=({selected:t,counts:s={},onChange:n,className:a="",isPlaceSearchActive:r=!1})=>{const{t:i}=fe(),c=o=>{t.includes(o)?n(t.filter(u=>u!==o)):n([...t,o])},l=o=>({"rating-excellent":i("label.rating-excellent","Excellent"),"rating-very-good":i("label.rating-very-good","Very Good"),"rating-good":i("label.rating-good","Good"),"rating-fair":i("label.rating-fair","Fair"),"rating-none":i("label.rating-none","No rating")})[o]??o;return e.jsxs("div",{className:a,children:[e.jsx("div",{className:Oe.filterList,children:Qt.map(o=>{const u=s[o.value],d=!r&&u===0&&!t.includes(o.value);return e.jsx(Te,{id:`review-${o.value}`,label:e.jsxs(e.Fragment,{children:[l(o.labelKey),o.range&&e.jsxs("span",{className:Oe.filterRange,children:[" ",o.range]})]}),count:u,checked:t.includes(o.value),disabled:d,onChange:()=>c(o.value),trackName:`filter-review-${o.value}`},o.value)})}),e.jsx("div",{className:Oe.footer,children:e.jsx("span",{className:Oe.footerText,children:i("filter.trustyou","Reviews from TrustYou®")})})]})},zl="_filterList_1cd71_5",Vl="_showMoreBtn_1cd71_10",Fl="_arrowIcon_1cd71_30",Ol="_arrowUp_1cd71_41",Ze={filterList:zl,showMoreBtn:Vl,arrowIcon:Fl,arrowUp:Ol},Zl=({selected:t,themes:s=[],onChange:n,className:a=""})=>{const{t:r}=fe(),[i,c]=g.useState(!1),l=i?s:s.slice(0,5),o=s.length>5,u=d=>{t.includes(d)?n(t.filter(h=>h!==d)):n([...t,d])};return s.length===0?null:e.jsxs("div",{className:`${Ze.filterList} ${a}`,children:[l.map(d=>{const h=String(d.id),m=d.count===0&&!t.includes(h);return e.jsx(Te,{id:`experience-${d.id}`,label:d.name,count:d.count>0?d.count:void 0,checked:t.includes(h),disabled:m,onChange:()=>u(h),trackName:`filter-experience-${d.id}`},d.id)}),o&&e.jsxs("button",{type:"button",className:Ze.showMoreBtn,onClick:()=>c(!i),children:[i?r("filter.show-less","Show less"):r("filter.show-all","Show all"),e.jsx("span",{className:`${Ze.arrowIcon} ${i?Ze.arrowUp:""}`,children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M9.36927 13.9061C9.71908 14.2535 10.2847 14.2535 10.6308 13.9061L16.4069 8.1803C16.7567 7.83285 16.7567 7.27102 16.4069 6.92727C16.0571 6.58352 15.4915 6.57983 15.1454 6.92727L10.0019 12.0247L4.85845 6.92727C4.50864 6.57983 3.94299 6.57983 3.5969 6.92727C3.25081 7.27472 3.24709 7.83655 3.5969 8.1803L9.37299 13.9061H9.36927Z",fill:"currentColor"})})})]})]})},Yl="_filterList_k73l5_10",ql="_regionItem_k73l5_16",Gl="_countryRow_k73l5_22",Jl="_countryRowExpanded_k73l5_37",Xl="_countryInfo_k73l5_46",Kl="_countryName_k73l5_53",Ql="_countBadge_k73l5_61",Ul="_chevron_k73l5_79",ec="_chevronExpanded_k73l5_87",tc="_subRegions_k73l5_92",nc="_mobileSelectAllActions_k73l5_104",sc="_selectAllBtn_k73l5_117",ac="_resetAllBtn_k73l5_118",de={filterList:Yl,regionItem:ql,countryRow:Gl,countryRowExpanded:Jl,countryInfo:Xl,countryName:Kl,countBadge:Ql,chevron:Ul,chevronExpanded:ec,subRegions:tc,mobileSelectAllActions:nc,selectAllBtn:sc,resetAllBtn:ac},rc=({regions:t,selected:s,onChange:n,className:a="",isPlaceSearchActive:r=!1})=>{const{t:i}=fe(),[c,l]=g.useState(new Set(["country_215"])),o=g.useRef(!1);g.useEffect(()=>{if(o.current||t.length===0||s.length===0)return;const h=new Set;t.forEach(m=>{var w;(w=m.subRegions)!=null&&w.some(_=>s.includes(_.value))&&h.add(m.value)}),h.size>0&&(l(h),o.current=!0)},[t,s]);const u=h=>{l(m=>{const w=new Set(m);return w.has(h)?w.delete(h):w.add(h),w})},d=h=>{s.includes(h)?n(s.filter(m=>m!==h)):n([...s,h])};return t.length===0?null:e.jsx("div",{className:`${de.filterList} ${a}`,children:t.map(h=>{const m=h.subRegions&&h.subRegions.length>0,w=c.has(h.value);return e.jsxs("div",{className:de.regionItem,children:[e.jsxs("button",{type:"button",className:`${de.countryRow} ${w?de.countryRowExpanded:""}`,onClick:()=>u(h.value),"aria-expanded":w,disabled:r,children:[e.jsxs("div",{className:de.countryInfo,children:[e.jsx("span",{className:de.countryName,children:h.label}),h.count!==void 0&&e.jsx("span",{className:de.countBadge,children:h.count})]}),m&&e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:`${de.chevron} ${w?de.chevronExpanded:""}`,children:e.jsx("path",{d:"M9.36927 13.9061C9.71908 14.2535 10.2847 14.2535 10.6308 13.9061L16.4069 8.18027C16.7567 7.83283 16.7567 7.271 16.4069 6.92725C16.0571 6.5835 15.4915 6.5798 15.1454 6.92725L10.0019 12.0247L4.85845 6.92725C4.50864 6.5798 3.94299 6.5798 3.5969 6.92725C3.25081 7.2747 3.24709 7.83652 3.5969 8.18027L9.37299 13.9061H9.36927Z",fill:"#6B7280"})})]}),m&&w&&(()=>{const _=h.subRegions.some(b=>b.count===void 0||b.count>0),p=h.subRegions.map(b=>b.value),f=p.some(b=>s.includes(b));return e.jsxs("div",{className:de.mobileSelectAllActions,children:[e.jsx("button",{type:"button",className:de.selectAllBtn,disabled:!_,onClick:()=>{const b=h.subRegions.filter(j=>j.count===void 0||j.count>0).map(j=>j.value),C=Array.from(new Set([...s,...b]));n(C)},children:i("filter.select-all","Select all")}),e.jsx("button",{type:"button",className:de.resetAllBtn,disabled:!f,onClick:()=>{n(s.filter(b=>!p.includes(b)))},children:i("filter.reset","Reset")})]})})(),m&&w&&e.jsx("div",{className:de.subRegions,children:h.subRegions.map(_=>{const p=_.count===0&&!s.includes(_.value)||r&&!s.includes(_.value);return e.jsx(Te,{id:`region-${_.value}`,label:_.label,count:_.count,checked:s.includes(_.value),disabled:p,onChange:()=>d(_.value),trackName:`filter-region-${_.value}`},_.value)})})]},h.value)})})},ic="_filterList_pnmpu_5",oc={filterList:ic},Je=({selected:t,counts:s={},options:n=[],onChange:a,className:r="",trackPrefix:i="filter"})=>{const c=l=>{t.includes(l)?a(t.filter(o=>o!==l)):a([...t,l])};return n.length===0?null:e.jsx("div",{className:`${oc.filterList} ${r}`,children:n.map(l=>{const o=s[l.key],u=o===0&&!t.includes(l.key);return e.jsx(Te,{id:`${i}-${l.key}`,label:l.name,count:o,checked:t.includes(l.key),disabled:u,onChange:()=>c(l.key),trackName:`filter-${i}-${l.key}`},l.key)})})},lc=t=>e.jsx(Je,{...t,trackPrefix:"meals"}),cc=t=>e.jsx(Je,{...t,trackPrefix:"transport"}),dc=t=>e.jsx(Je,{...t,trackPrefix:"wellness"}),uc="_container_ft4s7_5",hc="_chipsWrapper_ft4s7_10",mc="_selectedText_ft4s7_16",fc="_chips_ft4s7_10",gc="_clearAllBtn_ft4s7_34",ze={container:uc,chipsWrapper:hc,selectedText:mc,chips:fc,clearAllBtn:gc},pc=({filters:t,onRemove:s,onClearAll:n,className:a=""})=>{const{t:r}=fe();return t.length===0?null:e.jsx("div",{className:`${ze.container} ${a}`,children:e.jsxs("div",{className:ze.chipsWrapper,children:[e.jsxs("p",{className:ze.selectedText,children:[r("filter.selected","Selected:")," "]}),e.jsxs("div",{className:ze.chips,children:[t.map(i=>e.jsx(lt,{label:i.label,size:"small",state:"idle",removable:!0,onRemove:()=>s(i)},i.id)),n&&e.jsx($e,{variant:"link",className:ze.clearAllBtn,onClick:n,children:r("filter.clear-all","Clear all")})]})]})})},Ut=({filled:t=!1,className:s="",size:n=24})=>e.jsx("svg",{width:n,height:n,viewBox:"0 0 24 24",className:s,fill:t?"currentColor":"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"})});Ut.displayName="HeartIcon";const en=({filled:t=!0,className:s="",size:n=9})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 9 9",fill:"none",className:s,children:[e.jsx("g",{clipPath:"url(#clip0_star_icon)",children:e.jsx("path",{d:"M4.80018 0.366577C4.93104 0.366577 5.05173 0.440968 5.11135 0.557659L6.18011 2.66102L8.50521 3.03152C8.63462 3.05194 8.74222 3.14383 8.78294 3.26927C8.82365 3.39472 8.79021 3.53183 8.6986 3.62518L7.03366 5.29533L7.40155 7.6277C7.42191 7.75752 7.3681 7.88879 7.26195 7.9661C7.15581 8.04341 7.01476 8.05508 6.89843 7.99528L4.80018 6.92463L2.70192 7.99528C2.58559 8.05508 2.44454 8.04341 2.33839 7.9661C2.23225 7.88879 2.17844 7.75898 2.1988 7.6277L2.56523 5.29533L0.901751 3.62518C0.808689 3.53183 0.776699 3.39472 0.817413 3.26927C0.858128 3.14383 0.964277 3.05194 1.09515 3.03152L3.42024 2.66102L4.49045 0.557659C4.55007 0.440968 4.67076 0.366577 4.80163 0.366577H4.80018Z",fill:t?"#1F2937":"#D1D5DB"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_star_icon",children:e.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(0.800049 0.199951)"})})})]});en.displayName="StarIcon";const tn=({className:t="",size:s=20})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:t,children:e.jsx("polyline",{points:"15 18 9 12 15 6"})});tn.displayName="ChevronLeftIcon";const nn=({className:t="",size:s=20})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:t,children:e.jsx("polyline",{points:"9 18 15 12 9 6"})});nn.displayName="ChevronRightIcon";const sn=({className:t="",size:s=16})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 16 16",fill:"none",className:t,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1.5C5.51472 1.5 3.5 3.51472 3.5 6C3.5 7.52671 4.48181 9.28285 5.83073 10.8739C6.48993 11.6504 7.18485 12.3259 7.73205 12.8316C7.8331 12.9249 7.92519 13.0096 8.00599 13.0857C8.08539 13.0108 8.17547 12.9276 8.27398 12.8362C8.81849 12.3312 9.51007 11.656 10.1655 10.8792C11.5093 9.28692 12.5 7.52773 12.5 6C12.5 3.51472 10.4853 1.5 8 1.5ZM8 14C7.57347 14.4982 7.57321 14.498 7.57291 14.4977L7.57178 14.4967L7.56899 14.4942L7.56002 14.4864C7.5525 14.4798 7.54197 14.4706 7.52861 14.4588C7.5019 14.4353 7.46403 14.4016 7.41618 14.3584C7.3205 14.272 7.18745 14.1481 7.02576 13.9917C6.70282 13.6792 6.26632 13.238 5.81302 12.7042C4.89319 11.6202 3 9.61329 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6C13 9.61229 11.0969 11.6169 10.1732 12.6989C9.71743 13.2324 9.27901 13.6735 8.95477 13.9862C8.79239 14.1428 8.65889 14.267 8.56288 14.3537C8.51486 14.3971 8.47683 14.4309 8.45001 14.4545C8.43659 14.4664 8.42601 14.4757 8.41845 14.4823L8.40942 14.4902L8.40661 14.4927L8.40546 14.4937C8.40517 14.494 8.40492 14.4942 8 14ZM8 14L8.40492 14.4942C8.17766 14.6895 7.84451 14.6919 7.57291 14.4977L8 14Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 4.5C7.17157 4.5 6.5 5.17157 6.5 6C6.5 6.82843 7.17157 7.5 8 7.5C8.82843 7.5 9.5 6.82843 9.5 6C9.5 5.17157 8.82843 4.5 8 4.5ZM6 6C6 4.89543 6.89543 4 8 4C9.10457 4 10 4.89543 10 6C10 7.10457 9.10457 8 8 8C6.89543 8 6 7.10457 6 6Z",fill:"currentColor"})]});sn.displayName="PinIcon";const _c=(t,s="CHF",n="de-CH")=>new Intl.NumberFormat(n,{style:"currency",currency:s,minimumFractionDigits:0,maximumFractionDigits:0}).format(t);function _e(t){const s=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&s==="[object Date]"?new t.constructor(+t):typeof t=="number"||s==="[object Number]"||typeof t=="string"||s==="[object String]"?new Date(t):new Date(NaN)}function Pe(t,s){return t instanceof Date?new t.constructor(s):new Date(s)}const an=6048e5,wc=864e5,rn=6e4,on=36e5;let vc={};function Xe(){return vc}function Be(t,s){var l,o,u,d;const n=Xe(),a=(s==null?void 0:s.weekStartsOn)??((o=(l=s==null?void 0:s.locale)==null?void 0:l.options)==null?void 0:o.weekStartsOn)??n.weekStartsOn??((d=(u=n.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,r=_e(t),i=r.getDay(),c=(i<a?7:0)+i-a;return r.setDate(r.getDate()-c),r.setHours(0,0,0,0),r}function qe(t){return Be(t,{weekStartsOn:1})}function ln(t){const s=_e(t),n=s.getFullYear(),a=Pe(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const r=qe(a),i=Pe(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const c=qe(i);return s.getTime()>=r.getTime()?n+1:s.getTime()>=c.getTime()?n:n-1}function vt(t){const s=_e(t);return s.setHours(0,0,0,0),s}function xt(t){const s=_e(t),n=new Date(Date.UTC(s.getFullYear(),s.getMonth(),s.getDate(),s.getHours(),s.getMinutes(),s.getSeconds(),s.getMilliseconds()));return n.setUTCFullYear(s.getFullYear()),+t-+n}function xc(t,s){const n=vt(t),a=vt(s),r=+n-xt(n),i=+a-xt(a);return Math.round((r-i)/wc)}function bc(t){const s=ln(t),n=Pe(t,0);return n.setFullYear(s,0,4),n.setHours(0,0,0,0),qe(n)}function Cc(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function yc(t){if(!Cc(t)&&typeof t!="number")return!1;const s=_e(t);return!isNaN(Number(s))}function jc(t){const s=_e(t),n=Pe(t,0);return n.setFullYear(s.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Nc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kc=(t,s,n)=>{let a;const r=Nc[t];return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",s.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function me(t){return(s={})=>{const n=s.width?String(s.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const Mc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Lc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$c={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Sc={date:me({formats:Mc,defaultWidth:"full"}),time:me({formats:Lc,defaultWidth:"full"}),dateTime:me({formats:$c,defaultWidth:"full"})},Dc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Hc=(t,s,n,a)=>Dc[t];function X(t){return(s,n)=>{const a=n!=null&&n.context?String(n.context):"standalone";let r;if(a==="formatting"&&t.formattingValues){const c=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):c;r=t.formattingValues[l]||t.formattingValues[c]}else{const c=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;r=t.values[l]||t.values[c]}const i=t.argumentCallback?t.argumentCallback(s):s;return r[i]}}const Pc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ic={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ac={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Wc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Tc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Rc=(t,s)=>{const n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ec={ordinalNumber:Rc,era:X({values:Pc,defaultWidth:"wide"}),quarter:X({values:Bc,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:Ic,defaultWidth:"wide"}),day:X({values:Ac,defaultWidth:"wide"}),dayPeriod:X({values:Wc,defaultWidth:"wide",formattingValues:Tc,defaultFormattingWidth:"wide"})};function K(t){return(s,n={})=>{const a=n.width,r=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],i=s.match(r);if(!i)return null;const c=i[0],l=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],o=Array.isArray(l)?Vc(l,h=>h.test(c)):zc(l,h=>h.test(c));let u;u=t.valueCallback?t.valueCallback(o):o,u=n.valueCallback?n.valueCallback(u):u;const d=s.slice(c.length);return{value:u,rest:d}}}function zc(t,s){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&s(t[n]))return n}function Vc(t,s){for(let n=0;n<t.length;n++)if(s(t[n]))return n}function Ke(t){return(s,n={})=>{const a=s.match(t.matchPattern);if(!a)return null;const r=a[0],i=s.match(t.parsePattern);if(!i)return null;let c=t.valueCallback?t.valueCallback(i[0]):i[0];c=n.valueCallback?n.valueCallback(c):c;const l=s.slice(r.length);return{value:c,rest:l}}}const Fc=/^(\d+)(th|st|nd|rd)?/i,Oc=/\d+/i,Zc={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Yc={any:[/^b/i,/^(a|c)/i]},qc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gc={any:[/1/i,/2/i,/3/i,/4/i]},Jc={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Xc={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kc={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Qc={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Uc={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},e1={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},t1={ordinalNumber:Ke({matchPattern:Fc,parsePattern:Oc,valueCallback:t=>parseInt(t,10)}),era:K({matchPatterns:Zc,defaultMatchWidth:"wide",parsePatterns:Yc,defaultParseWidth:"any"}),quarter:K({matchPatterns:qc,defaultMatchWidth:"wide",parsePatterns:Gc,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:Jc,defaultMatchWidth:"wide",parsePatterns:Xc,defaultParseWidth:"any"}),day:K({matchPatterns:Kc,defaultMatchWidth:"wide",parsePatterns:Qc,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:Uc,defaultMatchWidth:"any",parsePatterns:e1,defaultParseWidth:"any"})},cn={code:"en-US",formatDistance:kc,formatLong:Sc,formatRelative:Hc,localize:Ec,match:t1,options:{weekStartsOn:0,firstWeekContainsDate:1}};function n1(t){const s=_e(t);return xc(s,jc(s))+1}function s1(t){const s=_e(t),n=+qe(s)-+bc(s);return Math.round(n/an)+1}function dn(t,s){var d,h,m,w;const n=_e(t),a=n.getFullYear(),r=Xe(),i=(s==null?void 0:s.firstWeekContainsDate)??((h=(d=s==null?void 0:s.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((w=(m=r.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,c=Pe(t,0);c.setFullYear(a+1,0,i),c.setHours(0,0,0,0);const l=Be(c,s),o=Pe(t,0);o.setFullYear(a,0,i),o.setHours(0,0,0,0);const u=Be(o,s);return n.getTime()>=l.getTime()?a+1:n.getTime()>=u.getTime()?a:a-1}function a1(t,s){var l,o,u,d;const n=Xe(),a=(s==null?void 0:s.firstWeekContainsDate)??((o=(l=s==null?void 0:s.locale)==null?void 0:l.options)==null?void 0:o.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(u=n.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??1,r=dn(t,s),i=Pe(t,0);return i.setFullYear(r,0,a),i.setHours(0,0,0,0),Be(i,s)}function r1(t,s){const n=_e(t),a=+Be(n,s)-+a1(n,s);return Math.round(a/an)+1}function O(t,s){const n=t<0?"-":"",a=Math.abs(t).toString().padStart(s,"0");return n+a}const Le={y(t,s){const n=t.getFullYear(),a=n>0?n:1-n;return O(s==="yy"?a%100:a,s.length)},M(t,s){const n=t.getMonth();return s==="M"?String(n+1):O(n+1,2)},d(t,s){return O(t.getDate(),s.length)},a(t,s){const n=t.getHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,s){return O(t.getHours()%12||12,s.length)},H(t,s){return O(t.getHours(),s.length)},m(t,s){return O(t.getMinutes(),s.length)},s(t,s){return O(t.getSeconds(),s.length)},S(t,s){const n=s.length,a=t.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return O(r,s.length)}},Ae={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},bt={G:function(t,s,n){const a=t.getFullYear()>0?1:0;switch(s){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,s,n){if(s==="yo"){const a=t.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return Le.y(t,s)},Y:function(t,s,n,a){const r=dn(t,a),i=r>0?r:1-r;if(s==="YY"){const c=i%100;return O(c,2)}return s==="Yo"?n.ordinalNumber(i,{unit:"year"}):O(i,s.length)},R:function(t,s){const n=ln(t);return O(n,s.length)},u:function(t,s){const n=t.getFullYear();return O(n,s.length)},Q:function(t,s,n){const a=Math.ceil((t.getMonth()+1)/3);switch(s){case"Q":return String(a);case"QQ":return O(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,s,n){const a=Math.ceil((t.getMonth()+1)/3);switch(s){case"q":return String(a);case"qq":return O(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,s,n){const a=t.getMonth();switch(s){case"M":case"MM":return Le.M(t,s);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,s,n){const a=t.getMonth();switch(s){case"L":return String(a+1);case"LL":return O(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,s,n,a){const r=r1(t,a);return s==="wo"?n.ordinalNumber(r,{unit:"week"}):O(r,s.length)},I:function(t,s,n){const a=s1(t);return s==="Io"?n.ordinalNumber(a,{unit:"week"}):O(a,s.length)},d:function(t,s,n){return s==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Le.d(t,s)},D:function(t,s,n){const a=n1(t);return s==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):O(a,s.length)},E:function(t,s,n){const a=t.getDay();switch(s){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(t,s,n,a){const r=t.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(s){case"e":return String(i);case"ee":return O(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,s,n,a){const r=t.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(s){case"c":return String(i);case"cc":return O(i,s.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,s,n){const a=t.getDay(),r=a===0?7:a;switch(s){case"i":return String(r);case"ii":return O(r,s.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,s,n){const r=t.getHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,s,n){const a=t.getHours();let r;switch(a===12?r=Ae.noon:a===0?r=Ae.midnight:r=a/12>=1?"pm":"am",s){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,s,n){const a=t.getHours();let r;switch(a>=17?r=Ae.evening:a>=12?r=Ae.afternoon:a>=4?r=Ae.morning:r=Ae.night,s){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,s,n){if(s==="ho"){let a=t.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Le.h(t,s)},H:function(t,s,n){return s==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Le.H(t,s)},K:function(t,s,n){const a=t.getHours()%12;return s==="Ko"?n.ordinalNumber(a,{unit:"hour"}):O(a,s.length)},k:function(t,s,n){let a=t.getHours();return a===0&&(a=24),s==="ko"?n.ordinalNumber(a,{unit:"hour"}):O(a,s.length)},m:function(t,s,n){return s==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Le.m(t,s)},s:function(t,s,n){return s==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Le.s(t,s)},S:function(t,s){return Le.S(t,s)},X:function(t,s,n){const a=t.getTimezoneOffset();if(a===0)return"Z";switch(s){case"X":return yt(a);case"XXXX":case"XX":return He(a);case"XXXXX":case"XXX":default:return He(a,":")}},x:function(t,s,n){const a=t.getTimezoneOffset();switch(s){case"x":return yt(a);case"xxxx":case"xx":return He(a);case"xxxxx":case"xxx":default:return He(a,":")}},O:function(t,s,n){const a=t.getTimezoneOffset();switch(s){case"O":case"OO":case"OOO":return"GMT"+Ct(a,":");case"OOOO":default:return"GMT"+He(a,":")}},z:function(t,s,n){const a=t.getTimezoneOffset();switch(s){case"z":case"zz":case"zzz":return"GMT"+Ct(a,":");case"zzzz":default:return"GMT"+He(a,":")}},t:function(t,s,n){const a=Math.trunc(t.getTime()/1e3);return O(a,s.length)},T:function(t,s,n){const a=t.getTime();return O(a,s.length)}};function Ct(t,s=""){const n=t>0?"-":"+",a=Math.abs(t),r=Math.trunc(a/60),i=a%60;return i===0?n+String(r):n+String(r)+s+O(i,2)}function yt(t,s){return t%60===0?(t>0?"-":"+")+O(Math.abs(t)/60,2):He(t,s)}function He(t,s=""){const n=t>0?"-":"+",a=Math.abs(t),r=O(Math.trunc(a/60),2),i=O(a%60,2);return n+r+s+i}const jt=(t,s)=>{switch(t){case"P":return s.date({width:"short"});case"PP":return s.date({width:"medium"});case"PPP":return s.date({width:"long"});case"PPPP":default:return s.date({width:"full"})}},un=(t,s)=>{switch(t){case"p":return s.time({width:"short"});case"pp":return s.time({width:"medium"});case"ppp":return s.time({width:"long"});case"pppp":default:return s.time({width:"full"})}},i1=(t,s)=>{const n=t.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return jt(t,s);let i;switch(a){case"P":i=s.dateTime({width:"short"});break;case"PP":i=s.dateTime({width:"medium"});break;case"PPP":i=s.dateTime({width:"long"});break;case"PPPP":default:i=s.dateTime({width:"full"});break}return i.replace("{{date}}",jt(a,s)).replace("{{time}}",un(r,s))},o1={p:un,P:i1},l1=/^D+$/,c1=/^Y+$/,d1=["D","DD","YY","YYYY"];function u1(t){return l1.test(t)}function h1(t){return c1.test(t)}function m1(t,s,n){const a=f1(t,s,n);if(console.warn(a),d1.includes(t))throw new RangeError(a)}function f1(t,s,n){const a=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${s}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const g1=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,p1=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_1=/^'([^]*?)'?$/,w1=/''/g,v1=/[a-zA-Z]/;function x1(t,s,n){var d,h,m,w,_,p,f,b;const a=Xe(),r=(n==null?void 0:n.locale)??a.locale??cn,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(d=n==null?void 0:n.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((w=(m=a.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((p=(_=n==null?void 0:n.locale)==null?void 0:_.options)==null?void 0:p.weekStartsOn)??a.weekStartsOn??((b=(f=a.locale)==null?void 0:f.options)==null?void 0:b.weekStartsOn)??0,l=_e(t);if(!yc(l))throw new RangeError("Invalid time value");let o=s.match(p1).map(C=>{const j=C[0];if(j==="p"||j==="P"){const W=o1[j];return W(C,r.formatLong)}return C}).join("").match(g1).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const j=C[0];if(j==="'")return{isToken:!1,value:b1(C)};if(bt[j])return{isToken:!0,value:C};if(j.match(v1))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");return{isToken:!1,value:C}});r.localize.preprocessor&&(o=r.localize.preprocessor(l,o));const u={firstWeekContainsDate:i,weekStartsOn:c,locale:r};return o.map(C=>{if(!C.isToken)return C.value;const j=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&h1(j)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&u1(j))&&m1(j,s,String(t));const W=bt[j[0]];return W(l,j,r.localize,u)}).join("")}function b1(t){const s=t.match(_1);return s?s[1].replace(w1,"'"):t}function Nt(t,s,n){const a=Be(t,n),r=Be(s,n);return+a==+r}function C1(t,s){const a=k1(t);let r;if(a.date){const o=M1(a.date,2);r=L1(o.restDateString,o.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const i=r.getTime();let c=0,l;if(a.time&&(c=$1(a.time),isNaN(c)))return new Date(NaN);if(a.timezone){if(l=S1(a.timezone),isNaN(l))return new Date(NaN)}else{const o=new Date(i+c),u=new Date(0);return u.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),u.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),u}return new Date(i+c+l)}const Ye={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},y1=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,j1=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,N1=/^([+-])(\d{2})(?::?(\d{2}))?$/;function k1(t){const s={},n=t.split(Ye.dateTimeDelimiter);let a;if(n.length>2)return s;if(/:/.test(n[0])?a=n[0]:(s.date=n[0],a=n[1],Ye.timeZoneDelimiter.test(s.date)&&(s.date=t.split(Ye.timeZoneDelimiter)[0],a=t.substr(s.date.length,t.length))),a){const r=Ye.timezone.exec(a);r?(s.time=a.replace(r[1],""),s.timezone=r[1]):s.time=a}return s}function M1(t,s){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+s)+"})|(\\d{2}|[+-]\\d{"+(2+s)+"})$)"),a=t.match(n);if(!a)return{year:NaN,restDateString:""};const r=a[1]?parseInt(a[1]):null,i=a[2]?parseInt(a[2]):null;return{year:i===null?r:i*100,restDateString:t.slice((a[1]||a[2]).length)}}function L1(t,s){if(s===null)return new Date(NaN);const n=t.match(y1);if(!n)return new Date(NaN);const a=!!n[4],r=Ve(n[1]),i=Ve(n[2])-1,c=Ve(n[3]),l=Ve(n[4]),o=Ve(n[5])-1;if(a)return I1(s,l,o)?D1(s,l,o):new Date(NaN);{const u=new Date(0);return!P1(s,i,c)||!B1(s,r)?new Date(NaN):(u.setUTCFullYear(s,i,Math.max(r,c)),u)}}function Ve(t){return t?parseInt(t):1}function $1(t){const s=t.match(j1);if(!s)return NaN;const n=nt(s[1]),a=nt(s[2]),r=nt(s[3]);return A1(n,a,r)?n*on+a*rn+r*1e3:NaN}function nt(t){return t&&parseFloat(t.replace(",","."))||0}function S1(t){if(t==="Z")return 0;const s=t.match(N1);if(!s)return 0;const n=s[1]==="+"?-1:1,a=parseInt(s[2]),r=s[3]&&parseInt(s[3])||0;return W1(a,r)?n*(a*on+r*rn):NaN}function D1(t,s,n){const a=new Date(0);a.setUTCFullYear(t,0,4);const r=a.getUTCDay()||7,i=(s-1)*7+n+1-r;return a.setUTCDate(a.getUTCDate()+i),a}const H1=[31,null,31,30,31,30,31,31,30,31,30,31];function hn(t){return t%400===0||t%4===0&&t%100!==0}function P1(t,s,n){return s>=0&&s<=11&&n>=1&&n<=(H1[s]||(hn(t)?29:28))}function B1(t,s){return s>=1&&s<=(hn(t)?366:365)}function I1(t,s,n){return s>=1&&s<=53&&n>=0&&n<=6}function A1(t,s,n){return t===24?s===0&&n===0:n>=0&&n<60&&s>=0&&s<60&&t>=0&&t<25}function W1(t,s){return s>=0&&s<=59}const kt={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},T1=(t,s,n)=>{let a;const r=n!=null&&n.addSuffix?kt[t].withPreposition:kt[t].standalone;return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",String(s)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:"vor "+a:a},R1={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},E1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},z1={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},V1={date:me({formats:R1,defaultWidth:"full"}),time:me({formats:E1,defaultWidth:"full"}),dateTime:me({formats:z1,defaultWidth:"full"})},F1={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},O1=(t,s,n,a)=>F1[t],Z1={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},Y1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},at={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},q1={narrow:at.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:at.wide},G1={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},J1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},X1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},K1=t=>Number(t)+".",Q1={ordinalNumber:K1,era:X({values:Z1,defaultWidth:"wide"}),quarter:X({values:Y1,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:at,formattingValues:q1,defaultWidth:"wide"}),day:X({values:G1,defaultWidth:"wide"}),dayPeriod:X({values:J1,defaultWidth:"wide",formattingValues:X1,defaultFormattingWidth:"wide"})},U1=/^(\d+)(\.)?/i,ed=/\d+/i,td={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},nd={any:[/^v/i,/^n/i]},sd={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},ad={any:[/1/i,/2/i,/3/i,/4/i]},rd={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},id={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},od={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},ld={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},cd={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},dd={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},ud={ordinalNumber:Ke({matchPattern:U1,parsePattern:ed,valueCallback:t=>parseInt(t)}),era:K({matchPatterns:td,defaultMatchWidth:"wide",parsePatterns:nd,defaultParseWidth:"any"}),quarter:K({matchPatterns:sd,defaultMatchWidth:"wide",parsePatterns:ad,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:rd,defaultMatchWidth:"wide",parsePatterns:id,defaultParseWidth:"any"}),day:K({matchPatterns:od,defaultMatchWidth:"wide",parsePatterns:ld,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:cd,defaultMatchWidth:"wide",parsePatterns:dd,defaultParseWidth:"any"})},mn={code:"de",formatDistance:T1,formatLong:V1,formatRelative:O1,localize:Q1,match:ud,options:{weekStartsOn:1,firstWeekContainsDate:4}},hd={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},md=(t,s,n)=>{let a;const r=hd[t];return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",String(s)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+a:"il y a "+a:a},fd={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},gd={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pd={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_d={date:me({formats:fd,defaultWidth:"full"}),time:me({formats:gd,defaultWidth:"full"}),dateTime:me({formats:pd,defaultWidth:"full"})},wd={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},vd=(t,s,n,a)=>wd[t],xd={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},bd={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},Cd={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},yd={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},jd={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},Nd=(t,s)=>{const n=Number(t),a=s==null?void 0:s.unit;if(n===0)return"0";const r=["year","week","hour","minute","second"];let i;return n===1?i=a&&r.includes(a)?"ère":"er":i="ème",n+i},kd=["MMM","MMMM"],Md={preprocessor:(t,s)=>t.getDate()===1||!s.some(a=>a.isToken&&kd.includes(a.value))?s:s.map(a=>a.isToken&&a.value==="do"?{isToken:!0,value:"d"}:a),ordinalNumber:Nd,era:X({values:xd,defaultWidth:"wide"}),quarter:X({values:bd,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:Cd,defaultWidth:"wide"}),day:X({values:yd,defaultWidth:"wide"}),dayPeriod:X({values:jd,defaultWidth:"wide"})},Ld=/^(\d+)(ième|ère|ème|er|e)?/i,$d=/\d+/i,Sd={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},Dd={any:[/^av/i,/^ap/i]},Hd={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},Pd={any:[/1/i,/2/i,/3/i,/4/i]},Bd={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Id={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ad={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},Wd={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Td={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Rd={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Ed={ordinalNumber:Ke({matchPattern:Ld,parsePattern:$d,valueCallback:t=>parseInt(t)}),era:K({matchPatterns:Sd,defaultMatchWidth:"wide",parsePatterns:Dd,defaultParseWidth:"any"}),quarter:K({matchPatterns:Hd,defaultMatchWidth:"wide",parsePatterns:Pd,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:Bd,defaultMatchWidth:"wide",parsePatterns:Id,defaultParseWidth:"any"}),day:K({matchPatterns:Ad,defaultMatchWidth:"wide",parsePatterns:Wd,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:Td,defaultMatchWidth:"any",parsePatterns:Rd,defaultParseWidth:"any"})},zd={code:"fr",formatDistance:md,formatLong:_d,formatRelative:vd,localize:Md,match:Ed,options:{weekStartsOn:1,firstWeekContainsDate:4}},Vd={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},Fd=(t,s,n)=>{let a;const r=Vd[t];return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",s.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+a:a+" fa":a},Od={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Zd={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Yd={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},qd={date:me({formats:Od,defaultWidth:"full"}),time:me({formats:Zd,defaultWidth:"full"}),dateTime:me({formats:Yd,defaultWidth:"full"})},ct=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function Gd(t){switch(t){case 0:return"'domenica scorsa alle' p";default:return"'"+ct[t]+" scorso alle' p"}}function Mt(t){return"'"+ct[t]+" alle' p"}function Jd(t){switch(t){case 0:return"'domenica prossima alle' p";default:return"'"+ct[t]+" prossimo alle' p"}}const Xd={lastWeek:(t,s,n)=>{const a=t.getDay();return Nt(t,s,n)?Mt(a):Gd(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(t,s,n)=>{const a=t.getDay();return Nt(t,s,n)?Mt(a):Jd(a)},other:"P"},Kd=(t,s,n,a)=>{const r=Xd[t];return typeof r=="function"?r(s,n,a):r},Qd={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},Ud={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},eu={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},tu={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},nu={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},su={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},au=(t,s)=>{const n=Number(t);return String(n)},ru={ordinalNumber:au,era:X({values:Qd,defaultWidth:"wide"}),quarter:X({values:Ud,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:eu,defaultWidth:"wide"}),day:X({values:tu,defaultWidth:"wide"}),dayPeriod:X({values:nu,defaultWidth:"wide",formattingValues:su,defaultFormattingWidth:"wide"})},iu=/^(\d+)(º)?/i,ou=/\d+/i,lu={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},cu={any:[/^a/i,/^(d|e)/i]},du={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},uu={any:[/1/i,/2/i,/3/i,/4/i]},hu={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},mu={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},fu={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},gu={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},pu={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},_u={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},wu={ordinalNumber:Ke({matchPattern:iu,parsePattern:ou,valueCallback:t=>parseInt(t,10)}),era:K({matchPatterns:lu,defaultMatchWidth:"wide",parsePatterns:cu,defaultParseWidth:"any"}),quarter:K({matchPatterns:du,defaultMatchWidth:"wide",parsePatterns:uu,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:hu,defaultMatchWidth:"wide",parsePatterns:mu,defaultParseWidth:"any"}),day:K({matchPatterns:fu,defaultMatchWidth:"wide",parsePatterns:gu,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:pu,defaultMatchWidth:"any",parsePatterns:_u,defaultParseWidth:"any"})},vu={code:"it",formatDistance:Fd,formatLong:qd,formatRelative:Kd,localize:ru,match:wu,options:{weekStartsOn:1,firstWeekContainsDate:4}},xu={de:mn,en:cn,fr:zd,it:vu},rt=(t,s="dd. MMM yyyy",n="de")=>{const a=typeof t=="string"?C1(t):t;return x1(a,s,{locale:xu[n]||mn})},bu=(t,s,n="de")=>{const a=rt(t,"dd.",n),r=rt(s,"dd. MMM yyyy",n);return`${a} - ${r}`},Cu=(t,s)=>t<=0?0:Math.round((t-s)/t*100);exports.Badge=it;exports.Benefits=zt;exports.Block=Tt;exports.Button=$e;exports.CATEGORY_OPTIONS=Kt;exports.Card=It;exports.Checkbox=Dt;exports.CheckboxFilter=Je;exports.ChevronLeftIcon=tn;exports.ChevronRightIcon=nn;exports.Chip=lt;exports.CollapsibleFilterSection=fl;exports.DateSelector=Zt;exports.Divider=St;exports.Dropdown=At;exports.DualCalendar=Ft;exports.ExperienceFilter=Zl;exports.FAQ=Et;exports.FilterCheckboxItem=Te;exports.GuestContent=Yt;exports.GuestSelector=qt;exports.HeartIcon=Ut;exports.HotelCard=Oo;exports.HotelCardContent=Xt;exports.HotelCardImage=Jt;exports.HotelCardUIProvider=ar;exports.HotelCategoryFilter=Il;exports.Input=Wt;exports.LocationAutocomplete=Gt;exports.MealsFilter=lc;exports.MobileSortModal=ro;exports.Modal=Bt;exports.Pin=Vt;exports.PinIcon=sn;exports.PriceRangeFilter=$l;exports.REVIEW_OPTIONS=Qt;exports.RadioButton=Ht;exports.Rating=ot;exports.RegionsFilter=rc;exports.ReviewCard=Rt;exports.ReviewsFilter=El;exports.SearchControlsBar=Ho;exports.SectionHeader=Pt;exports.SelectedFiltersRow=pc;exports.StarIcon=en;exports.TransportFilter=cc;exports.WellnessFilter=dc;exports.WhenContent=Ot;exports.calculateDiscount=Cu;exports.formatDate=rt;exports.formatDateRange=bu;exports.formatPrice=_c;exports.translations=st;exports.useDebounce=_r;exports.useResponsive=Fe;exports.useTranslation=We;exports.useUIContext=fe;exports.useWindowData=Ge;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("react"),fn=require("react-i18next"),gn=require("react-dom"),pn={order:"Bestellen","order-navigation":"Bestellen","order-hc":"HotelCard bestellen","my-account":"Mein Konto",search:"Suchen","back-to-top":"Nach oben"},_n={"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"},wn={"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"},vn={"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"},xn={"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.-"},bn={"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"},yn={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"},jn={"no-results":"Zurzeit entsprechen keine Aufenthalte Ihrer Suche"},Nn="Hotels suchen - HotelCard",kn="Suchen Sie nach Hotels nach Stadt, Region oder Hotelname",Mn="Suche",Ln="Hotels werden geladen...",$n="Erneut versuchen",Sn="Karte schließen",Dn={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%."},Hn={close_search:"Suche schließen",placeholder_anywhere:"Überall",recent_searches:"Letzte Suchen",remove_recent:"Aus letzten Suchen entfernen",all_destinations:"Alle Reiseziele"},Pn={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"},Bn={list:"Liste"},In={properties_found:"{{count}} Unterkünfte gefunden",properties_found_location:"{{location}}: {{count}} Unterkünfte gefunden"},An={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"},Wn={home:"Startseite"},Tn={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"},Rn={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"},En={hotels:"Hotels",cities:"Städte",regions:"Regionen",countries:"Länder","no-results":"Keine Ergebnisse gefunden"},zn={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"},Vn={apply:"Anwenden",months_selected:"{{count}} Monate"},Fn={"5_stars":"5 Sterne","4_stars":"4 Sterne","3_stars":"3 Sterne","2_stars":"2 Sterne",not_classified:"Nicht klassifiziert",swiss_lodge:"Swiss Lodge"},On={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."},Zn={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"},Yn={search_failed:"Suche fehlgeschlagen",load_more_failed:"Weitere Hotels konnten nicht geladen werden"},qn={title:"Etwas ist schiefgelaufen",description:"Die Hotels konnten nicht geladen werden. Bitte versuchen Sie es erneut.",retry:"Erneut versuchen"},Gn={label:"Seitennavigation",previous:"Vorherige Seite",previous_short:"Zurück",next:"Nächste Seite",next_short:"Weiter",page:"Seite {{page}}"},Jn={rating:"Bewertung",price_from:"pro Zimmer & Nacht ab",not_available:"Nicht verfügbar für Ihre Suchkriterien"},Xn={new:"Neu"},Kn={button:pn,link:_n,general:wn,label:vn,product:xn,subheadline:bn,form:Cn,filter:yn,headline:jn,meta_title:Nn,meta_description:kn,title:Mn,loading:Ln,retry:$n,close_map:Sn,seo:Dn,modal:Hn,map:Pn,view:Bn,breadcrumb:In,aria:An,breadcrumb_nav:Wn,guest_selector:Tn,search_form:Rn,dropdown:En,filters:zn,date_selector:Vn,star_rating:Fn,results:On,no_results:Zn,errors:Yn,error:qn,pagination:Gn,hotel_card:Jn,badges:Xn},Qn={order:"Order","order-navigation":"Join","order-hc":"Order HotelCard","my-account":"My account",search:"Search","back-to-top":"Back to top"},Un={"member-benefits":"Member Benefits","view-all-hotels":"View all hotel deals","search-by-map":"Map search","search-by-region":"Hotels by region","search-by-experience":"Hotels by experience","travel-inspiration":"Travel inspiration","booking-tips-and-tricks":"Booking tips",home:"Home","all-hotel-deals":"All hotel deals","search-results":"Search results"},es={"signed-out":"Log in and book","room-price":"from CHF xxx / room",guarantee:"14-day money-back guarantee",contact:"More questions? Contact us.","breakfast-included":"Breakfast included","free-cancellation":"Free cancellation","suggested-destinations":"Not sure where to travel next?","when-months":"When do you want to go?","hotel-deals-found":"hotel deals found","no-results":"Explore different destinations, change your dates, or remove some filters.","unavailable-for-selected-days":"Unavailable for selected dates.","cant-accommodate-all":"Hotel can’t accommodate all guests.","reset-destination":"Reset destination search to use region filters."},ts={"price-from":"from ","price-for":"/ room","per-room-night":"per room & night from",new:"New",anytime:"Anytime",anywhere:"All destinations",dates:"Dates",flexible:"Flexible",where:"Where",when:"When",who:"Who",nearby:"Nearby",hotels:"Hotel",filter:"Filter",sort:"Sort",map:"Map",rating:"Rating","rating-excellent":"Excellent","rating-very-good":"Very good","rating-good":"Good","rating-fair":"Fair","rating-none":"No rating",clear:"Clear"},ns={"6m":"6-month subscription","1y":"1-year subscription","2y":"2-year subscription","3y":"3-year subscription","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.-"},ss={"your-hc":"Your HotelCard","popular-hotels":"Popular hotel deals","no-results":"Explore different destinations, change your dates, or remove some filters.","sort-by":"Sort by"},as={guests:"guests",guest:"guest",adults:"Adults",children:"Children",pet:"Pet","age-of-child":"Child’s age",age:"Age","age-error":"Please select age"},rs={filters:"Filters",destination:"Destination",experience:"Experience","show-all":"Show all",price:"Price",discount:"Discount",services:"Services",meals:"Meals","hotel-category":"Hotel category",reviews:"Reviews",mobility:"Mobility","wellness-spa":"Wellness & Spa","price-high-low":"Price high to low","price-low-high":"Price low to high","best-rating":"Best guest rating","most-popular":"Most popular","newest-hotels":"Newest",relevance:"Relevance",selected:"Selected:","clear-all":"Clear all",options:"Options","hotellerie-suisse":"Classification HotellerieSuisse",trustyou:"Reviews from travelers on TrustYou®","select-all":"Select all",reset:"Reset","breakfast-included":"Breakfast included"},is={"no-results":"No stays match your search right now"},os="Search Hotels - HotelCard",ls="Search for hotels by city, region, or hotel name",cs="Search",ds="Loading hotels...",us="Retry",hs="Close map",ms={default_title:"Search Hotel Deals - HotelCard",location_title:"Hotels in {{location}}",region_title:"Hotels in {{region}}",experience_title:"{{experience}} Hotels",default_description:"Discover {{count}} hotels with exclusive HotelCard discounts.",location_description:"Find {{count}} hotels in {{location}} with exclusive discounts up to 50% off."},fs={close_search:"Close search",placeholder_anywhere:"Anywhere",recent_searches:"Recent searches",remove_recent:"Remove from recent searches",all_destinations:"All destinations"},gs={open_search:"Open search",open_filters:"Open filters",switch_to_list:"Switch to list view",zoom_in:"Zoom in",zoom_out:"Zoom out",no_location_data:"No hotels with location data available",hotels_missing_coordinates:"{{count}} hotels found but missing coordinates",no_hotels_in_area:"No hotels found in this area"},ps={list:"List"},_s={properties_found:"{{count}} properties found",properties_found_location:"{{location}}: {{count}} properties found"},ws={search_results_breadcrumb:"Search results",close:"Close",previous_image:"Previous image",next_image:"Next image",add_to_favorites:"Add to favorites",remove_from_favorites:"Remove from favorites",list_view:"Switch to list view",map_view:"Switch to map view"},vs={home:"Home"},xs={adults_description:"Ages 13 or above",children_description:"Ages 2-12",infants_description:"Under 2",decrease_adults:"Decrease adults",increase_adults:"Increase adults",decrease_children:"Decrease children",increase_children:"Increase children",decrease_infants:"Decrease infants",increase_infants:"Increase infants",toggle_infants:"Toggle pet"},bs={location_placeholder:"Search for hotels, cities, regions...",distance_any:"- km",distance_5:"+ 5 km",distance_10:"+ 10 km",distance_20:"+ 20 km",distance_30:"+ 30 km",distance_50:"+ 50 km",searching:"Searching...",reset_filters:"Reset"},Cs={hotels:"Hotels",cities:"Cities",regions:"Regions",countries:"Countries","no-results":"No results found"},ys={show_filters:"Show filters",open_filters:"Open filters",filter_by:"Filter by:",hotel_rating:"Hotel rating",show_results:"Show {{count}} results",apply_filters:"Apply filters",close_filters:"Close filters",view_in_map:"View in a Map",popular_filters:"Popular filters",show_less:"Show less",selected:"Selected",clear_all:"Clear all",options:{instant_booking:"Immediately bookable",pets_allowed:"Pets allowed",free_cancellation:"Free cancellation"}},js={apply:"Apply",months_selected:"{{count}} months"},Ns={"5_stars":"5 stars","4_stars":"4 stars","3_stars":"3 stars","2_stars":"2 stars",not_classified:"Not classified",swiss_lodge:"Swiss Lodge"},ks={hotels_found:"{{count}} hotels found",load_more:"Load more",loading:"Loading...",end_of_results:"You've reached the end of results",no_results:"No hotels found",try_different_search:"Try adjusting your search criteria",unavailable_banner_title:"More hotels that might interest you",unavailable_banner_description:"These hotels don't currently have availability matching your search criteria."},Ms={search_failed:"Search failed",load_more_failed:"Failed to load more hotels"},Ls={title:"Something went wrong",description:"We couldn't load the hotels. Please try again.",retry:"Try again"},$s={title:"No stays match your search right now.",description:"Explore different destinations, change your dates, or remove some filters.",description_with_filters:"Explore different destinations, change your dates, or remove some filters.",clear_filters:"Clear all filters"},Ss={label:"Pagination",previous:"Previous page",previous_short:"Previous",next:"Next page",next_short:"Next",page:"Page {{page}}"},Ds={rating:"Rating",price_from:"per room & night from",not_available:"Not available for your search criteria"},Hs={new:"New"},Ps="Clear location",Bs="Clear date",Is="Clear guests",As={button:Qn,link:Un,general:es,label:ts,product:ns,subheadline:ss,form:as,filter:rs,headline:is,meta_title:os,meta_description:ls,title:cs,loading:ds,retry:us,close_map:hs,seo:ms,modal:fs,map:gs,view:ps,breadcrumb:_s,aria:ws,breadcrumb_nav:vs,guest_selector:xs,search_form:bs,dropdown:Cs,filters:ys,date_selector:js,star_rating:Ns,results:ks,errors:Ms,error:Ls,no_results:$s,pagination:Ss,hotel_card:Ds,badges:Hs,clear_location:Ps,clear_date:Bs,clear_guests:Is},Ws={order:"Commander","order-navigation":"Commander","order-hc":"Commander l'HotelCard","my-account":"Mon compte",search:"Rechercher","back-to-top":"Haut de page"},Ts={"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"},Rs={"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"},Es={"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"},zs={"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.-"},Vs={"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"},Fs={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"},Os={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"},Zs={"no-results":"Aucun séjour ne correspond à votre recherche pour le moment"},Ys="Rechercher des hôtels - HotelCard",qs="Recherchez des hôtels par ville, région ou nom d'hôtel",Gs="Recherche",Js="Chargement des hôtels...",Xs="Réessayer",Ks="Fermer la carte",Qs={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%."},Us={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"},ea={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"},ta={list:"Liste"},na={properties_found:"{{count}} hébergements trouvés",properties_found_location:"{{location}}: {{count}} hébergements trouvés"},sa={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"},aa={home:"Accueil"},ra={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"},ia={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"},oa={hotels:"Hôtels",cities:"Villes",regions:"Régions",countries:"Pays","no-results":"Aucun résultat trouvé"},la={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"},ca={apply:"Appliquer",months_selected:"{{count}} mois"},da={"5_stars":"5 étoiles","4_stars":"4 étoiles","3_stars":"3 étoiles","2_stars":"2 étoiles",not_classified:"Non classé",swiss_lodge:"Swiss Lodge"},ua={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."},ha={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"},ma={search_failed:"La recherche a échoué",load_more_failed:"Impossible de charger plus d'hôtels"},fa={title:"Une erreur s'est produite",description:"Les hôtels n'ont pas pu être chargés. Veuillez réessayer.",retry:"Réessayer"},ga={label:"Pagination",previous:"Page précédente",previous_short:"Précédent",next:"Page suivante",next_short:"Suivant",page:"Page {{page}}"},pa={rating:"Note",price_from:"par chambre & nuit dès",not_available:"Non disponible selon vos critères de recherche"},_a={new:"Nouveau"},wa={button:Ws,link:Ts,general:Rs,label:Es,product:zs,subheadline:Vs,form:Fs,filter:Os,headline:Zs,meta_title:Ys,meta_description:qs,title:Gs,loading:Js,retry:Xs,close_map:Ks,seo:Qs,modal:Us,map:ea,view:ta,breadcrumb:na,aria:sa,breadcrumb_nav:aa,guest_selector:ra,search_form:ia,dropdown:oa,filters:la,date_selector:ca,star_rating:da,results:ua,no_results:ha,errors:ma,error:fa,pagination:ga,hotel_card:pa,badges:_a},va={order:"Ordina ora","order-navigation":"Ordina ora","order-hc":"Ordina HotelCard","my-account":"Il mio profilo",search:"Cerca","back-to-top":"Torna su"},xa={"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"},ba={"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"},ya={"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.-"},ja={"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"},Na={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à"},ka={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"},Ma={"no-results":"Al momento nessun soggiorno corrisponde alla tua ricerca"},La="Cerca Hotel - HotelCard",$a="Cerca hotel per città, regione o nome dell'hotel",Sa="Ricerca",Da="Caricamento hotel...",Ha="Riprova",Pa="Chiudi mappa",Ba={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%."},Ia={close_search:"Chiudi ricerca",placeholder_anywhere:"Ovunque",recent_searches:"Ricerche recenti",remove_recent:"Rimuovi dalle ricerche recenti",all_destinations:"Tutte le destinazioni"},Aa={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"},Wa={list:"Lista"},Ta={properties_found:"{{count}} strutture trovate",properties_found_location:"{{location}}: {{count}} strutture trovate"},Ra={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"},Ea={home:"Home"},za={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"},Va={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"},Fa={hotels:"Hotel",cities:"Città",regions:"Regioni",countries:"Paesi","no-results":"Nessun risultato trovato"},Oa={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"},Za={apply:"Applica",months_selected:"{{count}} mesi"},Ya={"5_stars":"5 stelle","4_stars":"4 stelle","3_stars":"3 stelle","2_stars":"2 stelle",not_classified:"Non classificato",swiss_lodge:"Swiss Lodge"},qa={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."},Ga={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"},Ja={search_failed:"Ricerca fallita",load_more_failed:"Impossibile caricare altri hotel"},Xa={title:"Qualcosa è andato storto",description:"Non è stato possibile caricare gli hotel. Riprova.",retry:"Riprova"},Ka={label:"Paginazione",previous:"Pagina precedente",previous_short:"Precedente",next:"Pagina successiva",next_short:"Successivo",page:"Pagina {{page}}"},Qa={rating:"Valutazione",price_from:"per camera e notte da",not_available:"Non disponibile per i tuoi criteri di ricerca"},Ua={new:"Nuovo"},er={button:va,link:xa,general:ba,label:Ca,product:ya,subheadline:ja,form:Na,filter:ka,headline:Ma,meta_title:La,meta_description:$a,title:Sa,loading:Da,retry:Ha,close_map:Pa,seo:Ba,modal:Ia,map:Aa,view:Wa,breadcrumb:Ta,aria:Ra,breadcrumb_nav:Ea,guest_selector:za,search_form:Va,dropdown:Fa,filters:Oa,date_selector:Za,star_rating:Ya,results:qa,no_results:Ga,errors:Ja,error:Xa,pagination:Ka,hotel_card:Qa,badges:Ua},nt={de:Kn,en:As,fr:wa,it:er};function tr(t,s){const n=s.split(".");let a=t;for(const r of n){if(a==null||typeof a!="object")return;a=a[r]}return typeof a=="string"?a:void 0}function Lt(t){const s=nt[t]||nt.en;return(n,a)=>tr(s,n)??a??n}const nr=Lt("de"),sr={locale:"de",currency:"CHF",isDesktop:!1,t:nr},$t=g.createContext(sr),ar=({locale:t="de",currency:s="CHF",isDesktop:n=!1,t:a,children:r})=>{const i=g.useMemo(()=>a??Lt(t),[t,a]),c=g.useMemo(()=>({locale:t,currency:s,isDesktop:n,t:i}),[t,s,n,i]);return e.jsx($t.Provider,{value:c,children:r})},ae=()=>g.useContext($t),he=t=>`hc-btn-${t}`,$e=g.forwardRef(({variant:t="primary",size:s="medium",leftIcon:n,rightIcon:a,children:r,className:i="",disabled:c,iconOnly:l=!1,style:o,...u},d)=>{const h=()=>{const m=[he("button")];return t==="link"?(m.push(he("link")),m.push(he(s)),m.join(" ")):l?(m.push(he("icon-only")),m.push(he(s)),m.push(he(t)),m.join(" ")):(m.push(he("standard")),m.push(he(s)),m.push(he(t)),m.join(" "))};return e.jsx("button",{ref:d,style:o,className:`${h()} ${i}`,disabled:c,...u,children:l?r:e.jsxs(e.Fragment,{children:[n&&e.jsx("span",{className:he("icon-wrapper"),children:n}),e.jsx("span",{className:he("text-wrapper"),children:r}),a&&e.jsx("span",{className:he("icon-wrapper"),children:a})]})})});$e.displayName="Button";const Se=t=>`hc-badge-${t}`,rt=({color:t="primary",size:s="large",style:n="heavy",icon:a=!1,children:r,className:i=""})=>{const c=`${t}${n.charAt(0).toUpperCase()}${n.slice(1)}`,l=[Se("badge"),Se(`badge--${s}`),Se(`badge--${c}`),i].filter(Boolean).join(" "),o=[Se("icon"),Se(`icon--${s}`)].join(" "),u=[Se("text"),s==="large"&&a?Se("text--largeWithIcon"):""].filter(Boolean).join(" ");return e.jsxs("div",{className:l,children:[a&&e.jsx("div",{className:o}),e.jsx("div",{className:u,children:r})]})};rt.displayName="Badge";const le=t=>`hc-rating-${t}`,rr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_full)",children:e.jsx("path",{d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004Z",fill:"#FBB041"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_full",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),ir=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("defs",{children:e.jsx("clipPath",{id:"half",children:e.jsx("rect",{x:"0",y:"0",width:"12",height:"24"})})}),e.jsx("path",{clipPath:"url(#half)",d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004Z",fill:"#FBB041"}),e.jsx("path",{d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004ZM12.0004 3.86071L9.47898 8.81426C9.3263 9.11182 9.04275 9.32187 8.71122 9.37438L3.23656 10.2496L7.15389 14.1835C7.38945 14.4198 7.49851 14.7568 7.44616 15.0893L6.58243 20.5811L11.5249 18.0606C11.8215 17.9074 12.1749 17.9074 12.4759 18.0606L17.4183 20.5811L16.5546 15.0893C16.5023 14.7568 16.6113 14.4198 16.8469 14.1835L20.7642 10.2496L15.2895 9.37438C14.958 9.32187 14.6745 9.11182 14.5218 8.81426L12.0004 3.86071Z",fill:"#9A5A00"})]}),or=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_empty)",children:e.jsx("path",{d:"M12.0004 0.5C12.393 0.5 12.7551 0.723172 12.9339 1.07325L16.1402 7.38333L23.1155 8.49482C23.5037 8.55608 23.8265 8.83176 23.9487 9.20809C24.0708 9.58442 23.9705 9.99576 23.6957 10.2758L18.7008 15.2863L19.8045 22.2834C19.8656 22.6728 19.7042 23.0667 19.3857 23.2986C19.0673 23.5305 18.6441 23.5655 18.2951 23.3861L12.0004 20.1742L5.70561 23.3861C5.35663 23.5655 4.93349 23.5305 4.61504 23.2986C4.29659 23.0667 4.13519 22.6772 4.19626 22.2834L5.29555 15.2863L0.305106 10.2758C0.0259198 9.99576 -0.0700504 9.58442 0.0520935 9.20809C0.174237 8.83176 0.492684 8.55608 0.885289 8.49482L7.86058 7.38333L11.0712 1.07325C11.2501 0.723172 11.6121 0.5 12.0047 0.5H12.0004ZM12.0004 3.86071L9.47898 8.81426C9.3263 9.11182 9.04275 9.32187 8.71122 9.37438L3.23656 10.2496L7.15389 14.1835C7.38945 14.4198 7.49851 14.7568 7.44616 15.0893L6.58243 20.5811L11.5249 18.0606C11.8215 17.9074 12.1749 17.9074 12.4759 18.0606L17.4183 20.5811L16.5546 15.0893C16.5023 14.7568 16.6113 14.4198 16.8469 14.1835L20.7642 10.2496L15.2895 9.37438C14.958 9.32187 14.6745 9.11182 14.5218 8.81426L12.0004 3.86071Z",fill:"#9A5A00"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_empty",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),it=({variant:t="stars",value:s,maxValue:n=5,showValue:a=!1,name:r,date:i,quote:c,size:l="medium",className:o=""})=>{const u=Math.min(Math.max(0,s),n),d=Math.floor(u),h=u%1>=.5,m=n-d-(h?1:0),w=()=>{const p=[le("star"),le(`star--${l}`)].filter(Boolean).join(" "),f=[];for(let b=0;b<d;b++)f.push(e.jsx("span",{className:p,children:e.jsx(rr,{})},`full-${b}`));h&&f.push(e.jsx("span",{className:p,children:e.jsx(ir,{})},"half"));for(let b=0;b<m;b++)f.push(e.jsx("span",{className:p,children:e.jsx(or,{})},`empty-${b}`));return f};if(t==="stars"){const p=[le("starsContainer"),o].filter(Boolean).join(" ");return e.jsxs("div",{className:p,children:[e.jsx("div",{className:le("starContainer"),children:w()}),a&&e.jsx("span",{className:le("valueDisplay"),children:u.toLocaleString("de-CH")})]})}if(t==="result"){const p=[le("resultContainer"),o].filter(Boolean).join(" ");return e.jsxs("div",{className:p,children:[e.jsx("span",{className:le("resultChar"),children:"N"}),e.jsx("div",{children:w()})]})}const _=[le("blockContainer"),o].filter(Boolean).join(" ");return e.jsxs("div",{className:_,children:[e.jsxs("div",{className:le("blockHeader"),children:[e.jsxs("div",{className:le("blockHeaderLeft"),children:[r&&e.jsx("span",{className:le("blockName"),children:r}),e.jsx("div",{children:w()})]}),i&&e.jsx("span",{className:le("blockDate"),children:i})]}),c&&e.jsx("p",{className:le("blockQuote"),children:c})]})};it.displayName="Rating";const ke=t=>`hc-divider-${t}`,St=({label:t,orientation:s="horizontal",className:n=""})=>{const a=s==="horizontal";if(!t){const l=ke(a?"lineStandalone--horizontal":"lineStandalone--vertical");return e.jsx("div",{className:[l,n].filter(Boolean).join(" "),role:"separator","aria-orientation":s})}const r=ke(a?"container--horizontal":"container--vertical"),i=ke(a?"line--horizontal":"line--vertical"),c=[ke("container"),r,n].filter(Boolean).join(" ");return e.jsxs("div",{className:c,role:"separator","aria-orientation":s,"aria-label":typeof t=="string"?t:void 0,children:[e.jsx("div",{className:i}),e.jsx("span",{className:ke("label"),children:t}),e.jsx("div",{className:i})]})};St.displayName="Divider";const Me=t=>`hc-chip-${t}`,lr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_chip_close)",children:e.jsx("path",{d:"M12 2.25C14.5859 2.25 17.0658 3.27723 18.8943 5.10571C20.7228 6.93419 21.75 9.41414 21.75 12C21.75 14.5859 20.7228 17.0658 18.8943 18.8943C17.0658 20.7228 14.5859 21.75 12 21.75C9.41414 21.75 6.93419 20.7228 5.10571 18.8943C3.27723 17.0658 2.25 14.5859 2.25 12C2.25 9.41414 3.27723 6.93419 5.10571 5.10571C6.93419 3.27723 9.41414 2.25 12 2.25ZM12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24ZM7.82812 7.82812C7.3875 8.26875 7.3875 8.98125 7.82812 9.41719L10.4062 11.9953L7.82812 14.5734C7.3875 15.0141 7.3875 15.7266 7.82812 16.1625C8.26875 16.5984 8.98125 16.6031 9.41719 16.1625L11.9953 13.5844L14.5734 16.1625C15.0141 16.6031 15.7266 16.6031 16.1625 16.1625C16.5984 15.7219 16.6031 15.0094 16.1625 14.5734L13.5844 11.9953L16.1625 9.41719C16.6031 8.97656 16.6031 8.26406 16.1625 7.82812C15.7219 7.39219 15.0094 7.3875 14.5734 7.82812L11.9953 10.4062L9.41719 7.82812C8.97656 7.3875 8.26406 7.3875 7.82812 7.82812Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_chip_close",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),ot=({label:t,count:s,size:n="small",state:a="idle",removable:r=!0,onClick:i,onRemove:c,className:l="",disabled:o=!1})=>{const u=o?"disabled":a,d=[Me("chip"),Me(`chip--${n}`),Me(`chip--${u}`),l].filter(Boolean).join(" "),h=[Me("label"),Me(`label--${n}`)].join(" "),m=[Me("countBadge"),Me(`countBadge--${n}`)].join(" "),w=()=>{o||(r&&c?c():i&&i())},_=p=>{o||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),r&&c?c():i&&i())};return e.jsxs("button",{type:"button",className:d,onClick:w,onKeyDown:_,disabled:o,"aria-label":r?`Remove filter: ${t}`:t,children:[e.jsx("span",{className:h,children:t}),s!==void 0&&e.jsx("span",{className:m,children:s}),r&&e.jsx("span",{className:Me("closeIcon"),"aria-hidden":"true",children:e.jsx(lr,{})})]})};ot.displayName="Chip";const te=t=>`hc-checkbox-${t}`,Dt=({label:t,checked:s,defaultChecked:n=!1,onChange:a,disabled:r=!1,error:i=!1,name:c,id:l,className:o="",size:u="medium"})=>{const[d,h]=g.useState(n),[m,w]=g.useState(!1),_=s!==void 0?s:d,p=L=>{const E=L.target.checked;s===void 0&&h(E),a==null||a(E)},f=[te("container"),r&&te("container--disabled"),o].filter(Boolean).join(" "),b=[te("wrapper"),te(`wrapper--${u}`)].filter(Boolean).join(" "),C=[te("box"),te(`box--${u}`),_&&te("box--checked"),r&&te("box--disabled"),i&&!_&&te("box--error"),m&&te("box--focused")].filter(Boolean).join(" "),j=[te("input"),r&&te("input--disabled")].filter(Boolean).join(" "),W=[te("checkmark"),te(`checkmark--${u}`),_&&te("checkmark--checked")].filter(Boolean).join(" "),z=[te("label"),r&&te("label--disabled"),i&&!r&&te("label--error")].filter(Boolean).join(" ");return e.jsxs("label",{className:f,children:[e.jsxs("div",{className:b,children:[e.jsx("div",{className:C}),e.jsx("input",{type:"checkbox",id:l,name:c,checked:_,onChange:p,disabled:r,className:j,onFocus:()=>w(!0),onBlur:()=>w(!1),"aria-invalid":i}),e.jsx("svg",{className:W,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"var(--content-action-highlight-inverse-idle, #ffffff)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),t&&e.jsx("span",{className:z,children:t})]})};Dt.displayName="Checkbox";const ve=t=>`hc-radio-${t}`,Ht=({id:t,checked:s,onChange:n,name:a,value:r,disabled:i=!1,className:c="",label:l,autoComplete:o})=>{const u=()=>{!i&&!s&&n(!0)},d=_=>{!i&&(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),s||n(!0))},h=[ve("container"),i&&ve("container--disabled"),c].filter(Boolean).join(" "),m=[ve("outerCircle"),s&&ve("outerCircle--checked"),i&&ve("outerCircle--disabled")].filter(Boolean).join(" "),w=[ve("innerDot"),s&&ve("innerDot--checked")].filter(Boolean).join(" ");return e.jsxs("div",{role:"radio","aria-checked":s,tabIndex:i?-1:0,onClick:u,onKeyDown:d,className:h,"aria-disabled":i,children:[e.jsxs("div",{className:ve("wrapper"),children:[e.jsx("input",{id:t,type:"radio",name:a,value:r,checked:s,disabled:i,autoComplete:o,onChange:()=>{},className:ve("hiddenInput")}),e.jsx("div",{className:m}),e.jsx("div",{className:w})]}),l&&e.jsx("label",{htmlFor:t,className:ve("label"),children:l})]})};Ht.displayName="RadioButton";const Ue=t=>`hc-section-${t}`,cr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"9 18 15 12 9 6"})}),Pt=({title:t,showAllLabel:s,onShowAllClick:n,className:a=""})=>{const r=[Ue("header"),a].filter(Boolean).join(" ");return e.jsxs("div",{className:r,children:[e.jsx("h2",{className:Ue("title"),children:t}),s&&n&&e.jsxs("button",{className:Ue("showAllButton"),onClick:n,children:[e.jsx("span",{children:s}),e.jsx(cr,{})]})]})};Pt.displayName="SectionHeader";const et=t=>`hc-modal-${t}`,dr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:e.jsx("path",{d:"M0.330469 1.91953C-0.110156 1.47891 -0.110156 0.766406 0.330469 0.330469C0.771094 -0.105469 1.48359 -0.110156 1.91953 0.330469L8.99766 7.40859L16.0758 0.330469C16.5164 -0.110156 17.2289 -0.110156 17.6648 0.330469C18.1008 0.771094 18.1055 1.48359 17.6648 1.91953L10.5867 8.99766L17.6648 16.0758C18.1055 16.5164 18.1055 17.2289 17.6648 17.6648C17.2242 18.1008 16.5117 18.1055 16.0758 17.6648L8.99766 10.5867L1.91953 17.6648C1.47891 18.1055 0.766406 18.1055 0.330469 17.6648C-0.105469 17.2242 -0.110156 16.5117 0.330469 16.0758L7.40859 8.99766L0.330469 1.91953Z",fill:"currentColor"})}),Bt=({isOpen:t,onClose:s,children:n,width:a="var(--grid-tablet-device-width, 600px)",className:r="",showCloseButton:i=!0,disableBackdropClick:c=!1})=>{const l=g.useRef(null);g.useEffect(()=>{const h=m=>{m.key==="Escape"&&t&&s()};return t&&(document.addEventListener("keydown",h),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",h),document.body.style.overflow=""}},[t,s]);const o=h=>{h.target===h.currentTarget&&!c&&s()};if(!t)return null;const u=[et("content"),r].filter(Boolean).join(" "),d=e.jsx("div",{className:et("backdrop"),onClick:o,children:e.jsxs("div",{ref:l,className:u,style:{maxWidth:a},children:[i&&e.jsx("button",{className:et("closeButton"),onClick:s,"aria-label":"Close modal",children:e.jsx(dr,{})}),n]})});return typeof document<"u"?gn.createPortal(d,document.body):d};Bt.displayName="Modal";const F=t=>`hc-card-${t}`,ut=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_card_star)",children:e.jsx("path",{d:"M4.80018 0.366577C4.93104 0.366577 5.05173 0.440968 5.11135 0.557659L6.18011 2.66102L8.50521 3.03152C8.63462 3.05194 8.74222 3.14383 8.78294 3.26927C8.82365 3.39472 8.79021 3.53183 8.6986 3.62518L7.03366 5.29533L7.40155 7.6277C7.42191 7.75752 7.3681 7.88879 7.26195 7.9661C7.15581 8.04341 7.01476 8.05508 6.89843 7.99528L4.80018 6.92463L2.70192 7.99528C2.58559 8.05508 2.44454 8.04341 2.33839 7.9661C2.23225 7.88879 2.17844 7.75898 2.1988 7.6277L2.56523 5.29533L0.901751 3.62518C0.808689 3.53183 0.776699 3.39472 0.817413 3.26927C0.858128 3.14383 0.964277 3.05194 1.09515 3.03152L3.42024 2.66102L4.49045 0.557659C4.55007 0.440968 4.67076 0.366577 4.80163 0.366577H4.80018Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_card_star",children:e.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(0.800049 0.199951)"})})})]}),ur=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 36 38",fill:"#478EFA",className:F("ratingSvg"),children:e.jsx("path",{d:"M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z"})}),hr='data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="%23e5e7eb"%3E%3Crect width="100" height="100" /%3E%3C/svg%3E',ht=(t,s)=>Array.from({length:t},(n,a)=>s(a)),It=({image:t,imageAlt:s="",label:n,price:a,stars:r,isSuperior:i=!1,badge:c,onClick:l,className:o="",variant:u="mobile",hasRating:d,withPadding:h=!1,withHeight:m=!1,ratingInfo:w,context:_,swissLodgeLabel:p="Swiss Lodge"})=>{const f=u==="desktop",b=[F("card"),F(`card--${u}`),l&&F("card--clickable"),h&&F("card--withPadding"),m&&F("card--withHeight"),o].filter(Boolean).join(" "),C=[F("starsRow"),_==="hotel-deals"&&F("starsRow--fixed")].filter(Boolean).join(" "),j=[F("label"),F(f?"label--desktop":"label--mobile"),_==="hotel-deals"&&F("label--hotelDeals"),!f&&_!=="hotel-deals"&&F("label--mobileOverflow"),!d&&F("label--noRating")].filter(Boolean).join(" "),W=[F("price"),_==="hotel-deals"&&d&&F("price--hotelDealsWithRating"),_==="hotel-deals"&&!d&&F("price--hotelDealsNoRating"),_!=="hotel-deals"&&!d&&F("price--noRating"),_!=="hotel-deals"&&d&&F("price--regularWithRating")].filter(Boolean).join(" "),z=t||hr,L=P=>{l&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),l())},E=()=>w?e.jsxs("span",{className:F("ratingInfo"),children:[e.jsx(ur,{}),e.jsx("span",{className:F("ratingLabel"),children:w.label}),e.jsx("span",{className:F("ratingValue"),children:w.value})]}):null;return e.jsxs("div",{className:b,onClick:l,onKeyDown:L,role:l?"button":void 0,tabIndex:l?0:void 0,children:[e.jsxs("div",{className:F("imageContainer"),children:[e.jsx("img",{src:z,alt:s,className:F("image"),loading:"lazy"}),e.jsx("div",{className:F("shadowOverlay")}),c&&e.jsx("div",{className:F("badgeWrapper"),children:e.jsx(rt,{color:c.variant||"primary",size:f?"large":"small",children:c.text})})]}),e.jsxs("div",{className:F("textContainer"),children:[e.jsx("div",{className:C,children:r!==void 0&&r>0?e.jsx(e.Fragment,{children:r===6?e.jsx("span",{className:F("swissLodge"),children:p}):e.jsx(e.Fragment,{children:f?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:F("starsContainer"),children:[ht(Math.floor(r),P=>e.jsx(ut,{},P)),i&&e.jsx("span",{className:F("superiorBadge"),children:"(s)"})]}),e.jsx("div",{children:E()})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:F("starsContainer"),children:ht(Math.floor(r),P=>e.jsx(ut,{},P))}),i&&e.jsx("span",{className:F("superiorBadge"),children:"(s)"}),E()]})})}):e.jsx("div",{className:F("starsPlaceholder"),children:" "})}),n&&e.jsx("div",{className:j,children:n}),a&&e.jsx("div",{className:W,children:a})]})]})};It.displayName="Card";const ie=t=>`hc-dropdown-${t}`,mr=()=>e.jsx("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",children:e.jsx("path",{d:"M1 1L6 6L11 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),At=({options:t=[],disabled:s=!1,error:n=!1,defaultValue:a,value:r,onChange:i,className:c="",name:l,id:o,placeholder:u="Select..."})=>{var S;const[d,h]=g.useState(a||""),[m,w]=g.useState(!1),[_,p]=g.useState(!1),f=g.useRef(null),b=r!==void 0?r:d,C=((S=t.find(v=>v.value===b))==null?void 0:S.label)||u;g.useEffect(()=>{const v=A=>{f.current&&!f.current.contains(A.target)&&w(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[]);const j=v=>{r===void 0&&h(v),i==null||i(v),w(!1)},W=v=>{s||(v.key==="Enter"||v.key===" "?(v.preventDefault(),w(!m)):v.key==="Escape"&&w(!1))},z=[ie("container"),s&&ie("container--disabled"),c].filter(Boolean).join(" "),L=[ie("button"),n&&ie("button--error"),_&&!n&&ie("button--focus"),s&&ie("button--disabled"),m&&ie("button--open")].filter(Boolean).join(" "),E=[ie("chevron"),m&&ie("chevron--open")].filter(Boolean).join(" "),P=[ie("list"),m&&ie("list--open")].filter(Boolean).join(" ");return e.jsxs("div",{ref:f,className:z,children:[e.jsxs("div",{className:L,tabIndex:s?-1:0,onClick:()=>!s&&w(!m),onKeyDown:W,onFocus:()=>!s&&p(!0),onBlur:()=>p(!1),role:"combobox","aria-haspopup":"listbox","aria-expanded":m,"aria-disabled":s,children:[e.jsx("span",{children:C}),e.jsx("span",{className:E,children:e.jsx(mr,{})})]}),e.jsx("ul",{role:"listbox",className:P,children:t.map(v=>e.jsx("li",{role:"option","aria-selected":b===v.value,onClick:()=>j(v.value),className:`${ie("option")} ${b===v.value?ie("option--selected"):""}`,children:v.label},v.value))}),e.jsxs("select",{id:o,name:l,value:b,onChange:v=>j(v.target.value),disabled:s,className:ie("hiddenSelect"),children:[!b&&e.jsx("option",{value:"",children:u}),t.map(v=>e.jsx("option",{value:v.value,children:v.label},v.value))]})]})};At.displayName="Dropdown";const oe=t=>`hc-input-${t}`,Wt=({label:t,placeholder:s="Placeholder",helper:n,value:a,defaultValue:r="",onChange:i,onFocus:c,onBlur:l,type:o="text",error:u=!1,disabled:d=!1,leftIcon:h,rightIcon:m,prefix:w,className:_="",inputClassName:p="",wrapperClassName:f="",name:b,id:C,required:j=!1,autoComplete:W,autoFocus:z=!1,readOnly:L=!1,inputProps:E})=>{const[P,S]=g.useState(r),[v,A]=g.useState(!1),N=g.useRef(null),$=a!==void 0?a:P,B=J=>{const re=J.target.value;a===void 0&&S(re),i==null||i(re)},T=()=>{A(!0),c==null||c()},y=()=>{A(!1),l==null||l()},R=[oe("container"),_].filter(Boolean).join(" "),Q=[oe("label"),(d||L)&&oe("label--disabled")].filter(Boolean).join(" "),U=[oe("wrapper"),v&&oe("wrapper--focus"),u&&oe("wrapper--error"),(d||L)&&oe("wrapper--disabled"),f].filter(Boolean).join(" "),se=[oe("input"),(d||L)&&oe("input--disabled"),p].filter(Boolean).join(" "),q=[oe("helper"),u&&oe("helper--error"),(d||L)&&oe("helper--disabled")].filter(Boolean).join(" ");return e.jsxs("div",{className:R,children:[t&&e.jsx("label",{htmlFor:C,className:Q,children:t}),e.jsxs("div",{className:U,onClick:()=>{var J;return!d&&!L&&((J=N.current)==null?void 0:J.focus())},children:[h&&e.jsx("div",{className:oe("icon"),children:h}),w&&e.jsx("div",{className:oe("prefix"),children:w}),e.jsx("input",{ref:N,type:o,id:C,name:b,value:$,onChange:B,onFocus:T,onBlur:y,placeholder:s,disabled:d,required:j,autoComplete:W,autoFocus:z,readOnly:L,className:se,...E}),m&&m]}),n&&e.jsx("div",{className:q,children:n})]})};Wt.displayName="Input";const ce=t=>`hc-block-${t}`,Tt=({variant:t="icon",visual:s,label:n,description:a,style:r="primary",onClick:i,showArrow:c=!0,className:l=""})=>{if(t==="icon"){const u=[ce("icon"),i&&ce("icon--clickable"),l].filter(Boolean).join(" "),d=ce(r==="primary"?"icon-container--primary":"icon-container--secondary");return e.jsxs("div",{className:u,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,children:[e.jsx("div",{className:d,children:s}),e.jsxs("div",{className:ce("text-container"),children:[e.jsx("div",{className:ce("icon-label"),children:n}),a&&e.jsx("div",{className:ce("icon-description"),children:a})]})]})}const o=[ce("image"),i&&ce("image--clickable"),l].filter(Boolean).join(" ");return e.jsxs("div",{className:o,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,children:[e.jsx("div",{className:ce("image-container"),children:s}),e.jsxs("div",{className:ce("footer"),children:[e.jsx("span",{className:ce("image-label"),children:n}),c&&e.jsx("span",{className:ce("arrow"),children:"→"})]})]})};Tt.displayName="Block";const Ie=t=>`hc-review-${t}`,Rt=({name:t,date:s,rating:n,quote:a,className:r})=>{const i=[Ie("container"),r].filter(Boolean).join(" ");return e.jsxs("div",{className:i,children:[e.jsx("div",{className:Ie("name"),children:t}),e.jsxs("div",{className:Ie("frame"),children:[e.jsx("div",{className:Ie("stars"),children:e.jsx(it,{variant:"stars",value:n,size:"medium"})}),e.jsx("div",{className:Ie("quote"),children:a})]}),e.jsx("div",{className:Ie("date"),children:s})]})};Rt.displayName="ReviewCard";const be=t=>`hc-faq-${t}`,fr=({isOpen:t})=>{const s=[be("chevron"),t&&be("chevron--open")].filter(Boolean).join(" ");return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,children:e.jsx("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},Et=({items:t,defaultOpenIndex:s=null,allowMultiple:n=!1,className:a})=>{const[r,i]=g.useState(s!==null?new Set([s]):new Set),c=o=>{i(u=>{const d=new Set(u);return d.has(o)?d.delete(o):(n||d.clear(),d.add(o)),d})},l=[be("container"),a].filter(Boolean).join(" ");return e.jsx("div",{className:l,children:t.map((o,u)=>{const d=r.has(u),h=be(d?"answer--open":"answer");return e.jsxs("div",{className:be("item"),children:[e.jsx($e,{variant:"link",size:"medium",className:be("question-btn"),onClick:()=>c(u),"aria-expanded":d,"aria-controls":`faq-answer-${u}`,rightIcon:e.jsx("div",{className:be("icon-container"),children:e.jsx(fr,{isOpen:d})}),children:e.jsx("span",{className:be("question-text"),children:o.question})}),e.jsx("div",{id:`faq-answer-${u}`,className:h,children:e.jsx("p",{className:be("answer-text"),children:o.answer})})]},u)})})};Et.displayName="FAQ";const de=t=>`hc-benefits-${t}`,zt=({title:t="Ihre Vorteile mit HotelCard",subtitle:s="Mit HotelCard sparen Sie bei jedem Aufenthalt",benefits:n=[{title:"Über 500 Hotels",description:"Grosse Auswahl in der ganzen Schweiz"},{title:"Bis zu 50% Rabatt",description:"Exklusive Mitglieder-Preise"},{title:"Kein Buchungszwang",description:"Buchen Sie, wann Sie möchten"},{title:"Kostenlose Stornierung",description:"Flexible Buchungsbedingungen"}],contactTitle:a="Haben Sie Fragen?",contactDescription:r="Unser Kundenservice hilft Ihnen gerne weiter",contactButtonText:i="Kontakt aufnehmen",onContactClick:c,className:l})=>{const o=[de("section"),l].filter(Boolean).join(" ");return e.jsx("section",{className:o,children:e.jsxs("div",{className:de("container"),children:[e.jsxs("div",{className:de("header"),children:[e.jsx("h2",{className:de("title"),children:t}),s&&e.jsx("p",{className:de("subtitle"),children:s})]}),e.jsx("div",{className:de("grid"),children:n.map((u,d)=>e.jsxs("div",{className:de("item"),children:[e.jsx("h3",{className:de("item-title"),children:u.title}),u.description&&e.jsx("p",{className:de("item-description"),children:u.description})]},d))}),a&&e.jsxs("div",{className:de("contact-card"),children:[e.jsx("h3",{className:de("contact-title"),children:a}),r&&e.jsx("p",{className:de("contact-description"),children:r}),i&&e.jsx($e,{variant:"secondary",size:"medium",onClick:c,className:de("contact-btn"),children:i})]})]})})};zt.displayName="Benefits";const ge=t=>`hc-pin-${t}`,gr=({className:t})=>e.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M8 14.2333L6.96667 13.2933C3.6 10.24 1.33333 8.18667 1.33333 5.66667C1.33333 3.61333 2.94667 2 5 2C6.16 2 7.27333 2.54 8 3.39333C8.72667 2.54 9.84 2 11 2C13.0533 2 14.6667 3.61333 14.6667 5.66667C14.6667 8.18667 12.4 10.24 9.03333 13.2933L8 14.2333Z"})}),pr=({className:t})=>e.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M6.66667 13.3333V9.33333H9.33333V13.3333H12.6667V8H14.6667L8 2L1.33333 8H3.33333V13.3333H6.66667Z"})}),Vt=g.forwardRef(({variant:t="price",viewed:s=!1,currency:n="CHF",price:a=0,showFavorite:r=!1,disabled:i=!1,onClick:c,className:l=""},o)=>{const u=s?"secondary":"primary",d=[ge("pin"),ge(u),t==="hotel"&&ge("hotel"),l].filter(Boolean).join(" "),h=typeof a=="number"?Math.round(a).toString():a;return e.jsxs("button",{ref:o,type:"button",className:d,disabled:i,onClick:c,children:[e.jsx("div",{className:ge("body"),children:t==="price"?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:ge("currency"),children:n}),e.jsx("span",{className:ge("price"),children:h}),r&&e.jsx("div",{className:ge("favorite-container"),children:e.jsx(gr,{className:ge("favorite-icon")})})]}):e.jsx(pr,{className:ge("hotel-icon")})}),e.jsx("div",{className:ge("pointer"),children:e.jsx("div",{className:ge("pointer-inner")})})]})});Vt.displayName="Pin";const _r=(t,s)=>{const[n,a]=g.useState(t);return g.useEffect(()=>{const r=setTimeout(()=>a(t),s);return()=>clearTimeout(r)},[t,s]),n},Ve=()=>{const[t,s]=g.useState(typeof window<"u"?window.innerWidth:1024);return g.useEffect(()=>{const n=()=>{s(window.innerWidth)};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),{isDesktop:t>=1024}},qe=()=>{const{locale:t,currency:s}=ae();return{locale:t,currency:s}},lt=t=>{const{t:s,i18n:n}=fn.useTranslation(t);return{t:(r,i,c)=>{let l,o;typeof i=="string"?o=i:(i&&(l=i),o=c);const u=s(r,l??{}),d=String(u);return d===r&&o!==void 0?o:d},i18n:n}},wr="_container_fbu27_1",vr="_button_fbu27_7",xr="_icon_fbu27_40",br="_label_fbu27_46",Cr="_backdrop_fbu27_56",yr="_dropdown_fbu27_83",jr="_dropdownMobile_fbu27_376",Ne={container:wr,button:vr,"button--disabled":"_button--disabled_fbu27_25",icon:xr,label:br,backdrop:Cr,dropdown:yr,"dropdown--open":"_dropdown--open_fbu27_102",dropdownMobile:jr},Nr="_container_16lek_13",kr="_containerDropdown_16lek_22",Mr="_containerExpanded_16lek_27",Lr="_sectionTitle_16lek_40",$r="_header_16lek_57",Sr="_tabs_16lek_84",Dr="_tab_16lek_84",Hr="_tabActive_16lek_115",Pr="_applyButtonContainer_16lek_128",Br="_content_16lek_137",Ir="_flexibleContent_16lek_159",Ar="_contentHeading_16lek_172",Wr="_monthGrid_16lek_187",Tr="_monthGridMobile_16lek_196",Rr="_monthButton_16lek_205",Er="_monthButtonDisabled_16lek_222",zr="_monthButtonSelected_16lek_227",Vr="_monthLabel_16lek_257",Fr="_monthYear_16lek_267",Or="_anytimeButton_16lek_288",Zr="_datesContent_16lek_300",Yr="_contentDatesActive_16lek_308",Z={container:Nr,containerDropdown:kr,containerExpanded:Mr,sectionTitle:Lr,header:$r,tabs:Sr,tab:Dr,tabActive:Hr,applyButtonContainer:Pr,content:Br,flexibleContent:Ir,contentHeading:Ar,monthGrid:Wr,monthGridMobile:Tr,monthButton:Rr,monthButtonDisabled:Er,monthButtonSelected:zr,monthLabel:Vr,monthYear:Fr,anytimeButton:Or,datesContent:Zr,contentDatesActive:Yr},qr="_container_1sjwb_1",Gr="_navigation_1sjwb_5",Jr="_navButton_1sjwb_12",Xr="_prevIconButton_1sjwb_30",Kr="_nextIconButton_1sjwb_31",Qr="_positionAbs_1sjwb_32",Ur="_monthTitle_1sjwb_60",ei="_desktopLayout_1sjwb_74",ti="_calendarsContainer_1sjwb_81",ni="_calendar_1sjwb_81",si="_weekDaysRow_1sjwb_103",ai="_weekDay_1sjwb_103",ri="_weekDayWeekend_1sjwb_122",ii="_daysGrid_1sjwb_126",oi="_dayCell_1sjwb_131",li="_dayButton_1sjwb_138",ci="_containerMobile_1sjwb_246",di="_calendarsContainerMobile_1sjwb_250",ui="_monthTitleMobile_1sjwb_255",hi="_navButtonDisabled_1sjwb_267",H={container:qr,navigation:Gr,navButton:Jr,prevIconButton:Xr,nextIconButton:Kr,positionAbs:Qr,monthTitle:Ur,desktopLayout:ei,calendarsContainer:ti,calendar:ni,weekDaysRow:si,weekDay:ai,weekDayWeekend:ri,daysGrid:ii,dayCell:oi,dayButton:li,"dayButton--disabled":"_dayButton--disabled_1sjwb_164","dayButton--start":"_dayButton--start_1sjwb_175","dayButton--end":"_dayButton--end_1sjwb_176","dayButton--inRange":"_dayButton--inRange_1sjwb_191",containerMobile:ci,calendarsContainerMobile:di,monthTitleMobile:ui,navButtonDisabled:hi},Ft=({startDate:t,endDate:s,onDateSelect:n,minDate:a,locale:r="de-CH"})=>{const{isDesktop:i}=Ve(),[c,l]=g.useState(new Date),o=y=>t===y,u=y=>s===y,d=y=>!t||!s?!1:y>t&&y<s,h=y=>new Date(y.getFullYear(),y.getMonth()+1,0),m=y=>new Date(y.getFullYear(),y.getMonth()+1,0).getDate(),w=y=>{const R=new Date(y.getFullYear(),y.getMonth(),1).getDay();return R===0?6:R-1},_=y=>y.toLocaleDateString(r,{month:"long",year:"numeric"}),f=(()=>{const y=[],R=new Date(2020,0,6);for(let Q=0;Q<7;Q++){const U=new Date(R);U.setDate(R.getDate()+Q),y.push(U.toLocaleDateString(r,{weekday:"short"}).slice(0,2))}return y})(),b=y=>{const R=new Date,Q=new Date(R.getFullYear()+1,R.getMonth(),R.getDate()),U=y.split("-").map(Number),se=new Date(U[0],U[1]-1,U[2]);if(a){const q=a.split("-").map(Number),J=new Date(q[0],q[1]-1,q[2]);if(se<J)return!0}return se>Q},C=y=>{const R=new Date(c.getFullYear(),c.getMonth()+y,1),Q=m(R),U=w(R),se=[];for(let q=0;q<U;q++)se.push(e.jsx("div",{className:H.dayCell},`empty-${q}`));for(let q=1;q<=Q;q++){const J=`${R.getFullYear()}-${String(R.getMonth()+1).padStart(2,"0")}-${String(q).padStart(2,"0")}`,re=b(J),Ce=o(J),x=u(J),D=d(J),G=[H.dayCell,H.dayButton,re&&H["dayButton--disabled"],Ce&&H["dayButton--start"],x&&H["dayButton--end"],D&&H["dayButton--inRange"]].filter(Boolean).join(" ");se.push(e.jsx("button",{type:"button",className:G,onClick:()=>!re&&n(J),disabled:re,children:q},q))}return se},j=()=>{l(new Date(c.getFullYear(),c.getMonth()-1,1))},W=()=>{l(new Date(c.getFullYear(),c.getMonth()+1,1))},z=new Date(c.getFullYear(),c.getMonth()-1,1),L=a?h(z)<new Date(a):!1,E=new Date,P=new Date(E.getFullYear()+1,E.getMonth(),1),S=new Date(c.getFullYear(),c.getMonth()+1,1),v=S>=P,A=S>P,N=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:H.positionAbs,children:e.jsx("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"})}),$=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:H.positionAbs,children:e.jsx("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"})}),B=[H.container,!i&&H.containerMobile].filter(Boolean).join(" "),T=[H.calendarsContainer,!i&&H.calendarsContainerMobile].filter(Boolean).join(" ");return e.jsxs("div",{className:B,children:[!i&&e.jsxs("div",{className:H.navigation,children:[e.jsx("button",{type:"button",className:[H.navButton,H.prevIconButton,L&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:j,disabled:L,children:e.jsx(N,{})}),e.jsx("h3",{className:H.monthTitleMobile,children:_(c)}),e.jsx("button",{type:"button",className:[H.navButton,H.nextIconButton,A&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:W,disabled:A,children:e.jsx($,{})})]}),i?e.jsxs("div",{className:H.desktopLayout,children:[e.jsx("button",{type:"button",className:[H.navButton,H.prevIconButton,L&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:j,disabled:L,children:e.jsx(N,{})}),e.jsxs("div",{className:T,children:[e.jsxs("div",{className:H.calendar,children:[e.jsx("h3",{className:H.monthTitle,children:_(c)}),e.jsx("div",{className:H.weekDaysRow,children:f.map((y,R)=>e.jsx("div",{className:`${H.weekDay} ${R>=5?H.weekDayWeekend:""}`,children:y},y))}),e.jsx("div",{className:H.daysGrid,children:C(0)})]}),e.jsxs("div",{className:H.calendar,children:[e.jsx("h3",{className:H.monthTitle,children:_(S)}),e.jsx("div",{className:H.weekDaysRow,children:f.map((y,R)=>e.jsx("div",{className:`${H.weekDay} ${R>=5?H.weekDayWeekend:""}`,children:y},y))}),e.jsx("div",{className:H.daysGrid,children:C(1)})]})]}),e.jsx("button",{type:"button",className:[H.navButton,H.nextIconButton,v&&H.navButtonDisabled].filter(Boolean).join(" "),onClick:W,disabled:v,children:e.jsx($,{})})]}):e.jsx("div",{className:T,children:e.jsxs("div",{className:H.calendar,children:[e.jsx("div",{className:H.weekDaysRow,children:f.map((y,R)=>e.jsx("div",{className:`${H.weekDay} ${R>=5?H.weekDayWeekend:""}`,children:y},y))}),e.jsx("div",{className:H.daysGrid,children:C(0)})]})})]})},mi=t=>({de:"de-CH",en:"en-GB",fr:"fr-CH",it:"it-CH"})[t]||"de-CH",Ot=({initialDateRange:t={start:null,end:null},initialMonthFilter:s=null,onChange:n,onMonthFilterChange:a,variant:r="dropdown",showApplyButton:i=!0,onApply:c,className:l=""})=>{const{t:o}=ae(),{locale:u}=qe(),{isDesktop:d}=Ve(),h=mi(u),[m,w]=g.useState(t),[_,p]=g.useState(t.start?"dates":"anytime"),f=s||[],b=f.length===0;g.useEffect(()=>{t.start||t.end?(w(t),p("dates")):(w(t),s&&s.length>0&&p("anytime"))},[t,s]);const j=(()=>{const B=[],T=new Date;for(let y=0;y<12;y++){const R=new Date(T.getFullYear(),T.getMonth()+y,1);B.push({label:R.toLocaleDateString(h,{month:"long"}),year:R.getFullYear(),value:`${R.getFullYear()}-${String(R.getMonth()+1).padStart(2,"0")}`,disabled:!1})}return B})(),W=()=>{w({start:null,end:null}),n==null||n(null),a==null||a(null)},z=B=>{const T=f.includes(B)?f.filter(y=>y!==B):[...f,B];w({start:null,end:null}),n==null||n(null),T.length===0?a==null||a(null):a==null||a(T)},L=()=>{_==="anytime"?f.length===0&&(n==null||n(null)):m.start&&m.end&&(n==null||n(m)),c==null||c()},E=B=>{p(B),B==="anytime"&&(w({start:null,end:null}),n==null||n(null)),a==null||a(null)},P=()=>new Date().toISOString().split("T")[0],S=B=>{const T=new Date(B);return T.setDate(T.getDate()+1),T.toISOString().split("T")[0]},v=B=>{if(!m.start||m.start&&m.end){const T={start:B,end:null};w(T),n==null||n(T)}else if(B===m.start){const T=S(B),y={start:m.start,end:T};w(y),n==null||n(y)}else if(B>m.start){const T={start:m.start,end:B};w(T),n==null||n(T)}else{const T={start:B,end:null};w(T),n==null||n(T)}},A=[Z.container,r==="expanded"?Z.containerExpanded:Z.containerDropdown,l].filter(Boolean).join(" "),N=[Z.monthGrid,!d&&Z.monthGridMobile].filter(Boolean).join(" "),$=[Z.content,_==="dates"&&Z.contentDatesActive].filter(Boolean).join(" ");return e.jsxs("div",{className:A,children:[r==="expanded"&&e.jsx("h2",{className:Z.sectionTitle,children:o("label.when")}),e.jsxs("div",{className:Z.header,children:[e.jsxs("div",{className:Z.tabs,children:[e.jsx("button",{type:"button",className:`${Z.tab} ${_==="dates"?Z.tabActive:""}`,onClick:()=>E("dates"),children:o("label.dates")}),e.jsx("button",{type:"button",className:`${Z.tab} ${_==="anytime"?Z.tabActive:""}`,onClick:()=>E("anytime"),children:o("label.flexible")})]}),i&&e.jsx("div",{className:Z.applyButtonContainer,children:e.jsx($e,{variant:"secondary",size:"medium",onClick:L,children:o("date_selector.apply")})})]}),e.jsx("div",{className:$,children:_==="anytime"?e.jsxs("div",{className:Z.flexibleContent,children:[e.jsx("h3",{className:Z.contentHeading,children:o("general.when-months")}),e.jsxs("div",{className:N,children:[e.jsx("button",{type:"button",className:`${Z.monthButton} ${Z.anytimeButton} ${b?Z.monthButtonSelected:""}`,onClick:W,children:e.jsx("span",{className:Z.monthLabel,children:o("label.anytime")})}),j.map(B=>e.jsxs("button",{type:"button",className:`${Z.monthButton} ${f.includes(B.value)?Z.monthButtonSelected:""} ${B.disabled?Z.monthButtonDisabled:""}`,onClick:()=>!B.disabled&&z(B.value),disabled:B.disabled,children:[e.jsx("span",{className:Z.monthLabel,children:B.label}),e.jsx("span",{className:Z.monthYear,children:B.year})]},B.value))]})]}):e.jsx("div",{className:Z.datesContent,children:e.jsx(Ft,{startDate:m.start,endDate:m.end,locale:h,onDateSelect:v,minDate:P()})})})]})},fi=t=>({de:"de-CH",en:"en-GB",fr:"fr-CH",it:"it-CH"})[t]||"de-CH",gi=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M19 4H18V2H16V4H8V2H6V4H5C3.9 4 3 4.9 3 6V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V9H19V20Z",fill:"currentColor"})}),Zt=({initialDateRange:t={start:null,end:null},initialMonthFilter:s=null,onChange:n,onMonthFilterChange:a,onClose:r,disabled:i=!1,className:c,icon:l})=>{const{t:o}=ae(),{locale:u}=qe(),{isDesktop:d}=Ve(),h=fi(u),[m,w]=g.useState(t),[_,p]=g.useState(!1),[f,b]=g.useState(s||[]),C=g.useRef(null);g.useEffect(()=>{w(v=>v.start===t.start&&v.end===t.end?v:t),b(v=>{const A=s||[];return v.length===A.length&&v.every((N,$)=>N===A[$])?v:A})},[t.start,t.end,s]),g.useEffect(()=>{if(!_)return;const v=A=>{if(C.current&&!C.current.contains(A.target)){const N=m.start&&m.end?m:null,$=f.length?f:null;n==null||n(N),a==null||a($),p(!1),r==null||r(N,$)}};return document.addEventListener("pointerdown",v),()=>{document.removeEventListener("pointerdown",v)}},[_,m,f,n,a,r]);const j=g.useMemo(()=>{const v=new Date;return Array.from({length:12},(A,N)=>{const $=new Date(v.getFullYear(),v.getMonth()+N,1);return{label:$.toLocaleDateString(h,{month:"long"}),year:$.getFullYear(),value:`${$.getFullYear()}-${String($.getMonth()+1).padStart(2,"0")}`}})},[h]),W=()=>{if(m.start&&m.end){const v=A=>new Date(A).toLocaleDateString(h,{month:"short",day:"numeric"});return`${v(m.start)} - ${v(m.end)}`}if(f.length===1){const v=j.find(A=>A.value===f[0]);return v?`${v.label} ${v.year}`:o("label.flexible")}return f.length>1?o("date_selector.months_selected",{count:f.length}):o("label.flexible")},z=v=>{w(v??{start:null,end:null})},L=v=>{b(v||[])},E=()=>{m.start&&m.end?n==null||n(m):n==null||n(null),a==null||a(f.length?f:null),p(!1)},P=[Ne.button,i&&Ne["button--disabled"],c].filter(Boolean).join(" "),S=[Ne.dropdown,_&&Ne["dropdown--open"],!d&&Ne.dropdownMobile].filter(Boolean).join(" ");return e.jsxs("div",{ref:C,className:Ne.container,children:[e.jsxs("button",{type:"button",className:P,onClick:()=>!i&&p(v=>!v),disabled:i,children:[e.jsx("span",{className:Ne.icon,children:l||e.jsx(gi,{})}),e.jsx("span",{className:Ne.label,children:W()})]}),_&&e.jsx("div",{className:Ne.backdrop,onClick:()=>{const v=m.start&&m.end?m:null,A=f.length?f:null;n==null||n(v),a==null||a(A),p(!1),r==null||r(v,A)},"aria-hidden":"true"}),e.jsx("div",{className:S,children:e.jsx(Ot,{initialDateRange:m,initialMonthFilter:f.length?f:null,onChange:z,onMonthFilterChange:L,variant:"dropdown",showApplyButton:!0,onApply:E})})]})},mt=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M0 10C0 9.48047 0.477679 9.0625 1.07143 9.0625H18.9286C19.5223 9.0625 20 9.48047 20 10C20 10.5195 19.5223 10.9375 18.9286 10.9375H1.07143C0.477679 10.9375 0 10.5195 0 10Z",fill:"currentColor"})}),ft=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M11.0714 2.1875C11.0714 1.66797 10.5938 1.25 10 1.25C9.40625 1.25 8.92857 1.66797 8.92857 2.1875V9.0625H1.07143C0.477679 9.0625 0 9.48047 0 10C0 10.5195 0.477679 10.9375 1.07143 10.9375H8.92857V17.8125C8.92857 18.332 9.40625 18.75 10 18.75C10.5938 18.75 11.0714 18.332 11.0714 17.8125V10.9375H18.9286C19.5223 10.9375 20 10.5195 20 10C20 9.48047 19.5223 9.0625 18.9286 9.0625H11.0714V2.1875Z",fill:"currentColor"})}),pi=()=>e.jsx("svg",{className:"hc-guest-content__select-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M11.24 16.6873C11.6598 17.1042 12.3386 17.1042 12.7539 16.6873L19.6852 9.81633C20.1049 9.39939 20.1049 8.7252 19.6852 8.3127C19.2654 7.9002 18.5866 7.89577 18.1713 8.3127L11.9992 14.4296L5.82701 8.3127C5.40724 7.89577 4.72846 7.89577 4.31316 8.3127C3.89785 8.72964 3.89338 9.40383 4.31316 9.81633L11.2445 16.6873H11.24Z",fill:"#6B7280"})}),Yt=({guests:t,onChange:s,petFilter:n=0,onPetChange:a,showPetToggle:r=!0,className:i="",childAgeErrors:c=[],onErrorClear:l})=>{const{t:o}=ae(),u={adults:o("form.adults","Adults"),children:o("form.children","Children"),pet:o("form.pet","Pet"),ageOfChild:o("form.age-of-child","Age of child"),age:o("form.age","Age"),decreaseAdults:"Decrease adults",increaseAdults:"Increase adults",decreaseChildren:"Decrease children",increaseChildren:"Increase children",togglePets:"Toggle pets"},d=Array.isArray(t.childrenAges)?t.childrenAges:[],h=p=>{if(p==="children"&&t.children>=6||p==="adults"&&t.adults>=10)return;const f=p==="children"?[...d,null]:d;s({...t,[p]:t[p]+1,childrenAges:f})},m=p=>{if(p==="adults"&&t.adults<=1||p==="children"&&t.children<=0)return;const f=p==="children"?d.slice(0,-1):d;s({...t,[p]:t[p]-1,childrenAges:f})},w=(p,f)=>{const b=[...d];b[p]=f===""?null:parseInt(f,10),s({...t,childrenAges:b}),l==null||l(p)},_=["hc-guest-content",i].filter(Boolean).join(" ");return e.jsxs("div",{className:_,children:[e.jsxs("div",{className:"hc-guest-content__row",children:[e.jsx("div",{className:"hc-guest-content__label",children:e.jsx("span",{className:"hc-guest-content__name",children:u.adults})}),e.jsxs("div",{className:"hc-guest-content__counter",children:[e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>m("adults"),disabled:t.adults<=1,"aria-label":u.decreaseAdults,children:e.jsx(mt,{})}),e.jsx("span",{className:"hc-guest-content__counter-value",children:t.adults}),e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>h("adults"),disabled:t.adults>=10,"aria-label":u.increaseAdults,children:e.jsx(ft,{})})]})]}),e.jsxs("div",{className:"hc-guest-content__row hc-guest-content__row--children",children:[e.jsxs("div",{className:"hc-guest-content__row-header",children:[e.jsx("div",{className:"hc-guest-content__label",children:e.jsx("span",{className:"hc-guest-content__name",children:u.children})}),e.jsxs("div",{className:"hc-guest-content__counter",children:[e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>m("children"),disabled:t.children<=0,"aria-label":u.decreaseChildren,children:e.jsx(mt,{})}),e.jsx("span",{className:"hc-guest-content__counter-value",children:t.children}),e.jsx("button",{type:"button",className:"hc-guest-content__counter-button",onClick:()=>h("children"),disabled:t.children>=6,"aria-label":u.increaseChildren,children:e.jsx(ft,{})})]})]}),t.children>0&&e.jsx("div",{className:"hc-guest-content__children-dropdowns",style:{gridTemplateColumns:t.children===1?"1fr":"repeat(2, 1fr)"},children:Array.from({length:t.children}).map((p,f)=>{var W;const b=d[f],C=c.some(z=>z.index===f),j=(W=c.find(z=>z.index===f))==null?void 0:W.message;return e.jsxs("div",{className:"hc-guest-content__child-dropdown",children:[e.jsx("label",{htmlFor:`child-age-${f}`,children:u.ageOfChild}),e.jsxs("div",{className:"hc-guest-content__select-wrapper",children:[e.jsxs("select",{id:`child-age-${f}`,value:b??"",onChange:z=>w(f,z.target.value),className:`hc-guest-content__select ${C?"hc-guest-content__select--error":""}`,"aria-invalid":C,"aria-describedby":C?`error-${f}`:void 0,children:[e.jsx("option",{value:"",children:u.age}),Array.from({length:18},(z,L)=>e.jsx("option",{value:L,children:L},L))]}),e.jsx(pi,{})]}),C&&e.jsx("span",{id:`error-${f}`,className:"hc-guest-content__error-text",children:j})]},f)})})]}),r&&e.jsxs("div",{className:"hc-guest-content__row",children:[e.jsx("div",{className:"hc-guest-content__label",children:e.jsx("span",{className:"hc-guest-content__name",children:u.pet})}),e.jsx("div",{className:"hc-guest-content__toggle-wrapper",children:e.jsxs("label",{className:"hc-guest-content__toggle",children:[e.jsx("input",{type:"checkbox",checked:n===1,onChange:p=>a==null?void 0:a(p.target.checked?1:0),"aria-label":u.togglePets}),e.jsx("span",{className:"hc-guest-content__slider"})]})})]})]})},_i="_container_kxilw_1",wi="_button_kxilw_7",vi="_icon_kxilw_40",xi="_label_kxilw_46",bi="_dropdown_kxilw_54",De={container:_i,button:wi,"button--disabled":"_button--disabled_kxilw_25",icon:vi,label:xi,dropdown:bi,"dropdown--open":"_dropdown--open_kxilw_74"},Ci=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{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",fill:"currentColor"})}),qt=({initialGuests:t={adults:2,children:0,childrenAges:[]},initialPetValue:s=0,onChange:n,onPetChange:a,onClose:r,disabled:i=!1,className:c,icon:l,childAgeErrors:o=[]})=>{const{t:u}=ae(),[d,h]=g.useState(t),[m,w]=g.useState(s),[_,p]=g.useState(!1),f=g.useRef(null),[b,C]=g.useState([]),j=d.adults+d.children;g.useEffect(()=>{h(t)},[t]),g.useEffect(()=>{o.length>0&&(C(o),p(!0))},[o]),g.useEffect(()=>{const S=v=>{f.current&&!f.current.contains(v.target)&&(p(!1),r==null||r(d,m))};return _&&document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[_,d,m,r]);const W=S=>{h(S),n==null||n(S),S.children!==d.children&&C([])},z=S=>{w(S),a==null||a(S)},L=S=>{C(v=>v.filter(A=>A.index!==S))},E=[De.button,i&&De["button--disabled"],c].filter(Boolean).join(" "),P=[De.dropdown,_&&De["dropdown--open"]].filter(Boolean).join(" ");return e.jsxs("div",{ref:f,className:De.container,children:[e.jsxs("button",{type:"button",className:E,onClick:()=>!i&&p(!_),disabled:i,children:[e.jsx("span",{className:De.icon,children:l||e.jsx(Ci,{})}),e.jsxs("span",{className:De.label,children:[j," ",u(j===1?"form.guest":"form.guests")]})]}),e.jsx("div",{className:P,children:e.jsx(Yt,{guests:d,onChange:W,petFilter:m,onPetChange:z,showPetToggle:!0,childAgeErrors:b,onErrorClear:L})})]})},yi="_container_1ndc1_1",ji="_iconWrapper_1ndc1_10",Ni="_iconWrapperActive_1ndc1_26",ki="_input_1ndc1_30",Mi="_clearButton_1ndc1_57",Li="_loadingIndicator_1ndc1_82",$i="_dropdown_1ndc1_92",Si="_dropdownHeader_1ndc1_120",Di="_section_1ndc1_130",Hi="_sectionHeader_1ndc1_141",Pi="_suggestion_1ndc1_151",Bi="_suggestionSelected_1ndc1_165",Ii="_icon_1ndc1_10",Ai="_suggestionContent_1ndc1_184",Wi="_suggestionName_1ndc1_192",Ti="_suggestionNameBold_1ndc1_201",Ri="_suggestionMeta_1ndc1_210",Ei="_emptyState_1ndc1_219",M={container:yi,iconWrapper:ji,iconWrapperActive:Ni,input:ki,clearButton:Mi,loadingIndicator:Li,dropdown:$i,dropdownHeader:Si,section:Di,sectionHeader:Hi,suggestion:Pi,suggestionSelected:Bi,icon:Ii,suggestionContent:Ai,suggestionName:Wi,suggestionNameBold:Ti,suggestionMeta:Ri,emptyState:Ei},zi=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_location)",children:e.jsx("path",{d:"M9.75 2.25C11.7391 2.25 13.6468 3.04018 15.0533 4.4467C16.4598 5.85322 17.25 7.76088 17.25 9.75C17.25 11.7391 16.4598 13.6468 15.0533 15.0533C13.6468 16.4598 11.7391 17.25 9.75 17.25C7.76088 17.25 5.85322 16.4598 4.4467 15.0533C3.04018 13.6468 2.25 11.7391 2.25 9.75C2.25 7.76088 3.04018 5.85322 4.4467 4.4467C5.85322 3.04018 7.76088 2.25 9.75 2.25ZM9.75 19.5C12.0375 19.5 14.1422 18.7125 15.8016 17.3953L22.0781 23.6719C22.5187 24.1125 23.2312 24.1125 23.6672 23.6719C24.1031 23.2313 24.1078 22.5188 23.6672 22.0828L17.3953 15.8016C18.7125 14.1422 19.5 12.0375 19.5 9.75C19.5 4.36406 15.1359 0 9.75 0C4.36406 0 0 4.36406 0 9.75C0 15.1359 4.36406 19.5 9.75 19.5ZM13.5 8.25C13.5 6.17812 11.8219 4.5 9.75 4.5C7.67812 4.5 6 6.17812 6 8.25C6 10.5375 8.17969 13.4813 9.21562 14.7469C9.49687 15.0891 10.0031 15.0891 10.2797 14.7469C11.3156 13.4813 13.4953 10.5375 13.4953 8.25H13.5ZM8.25 8.25C8.25 7.85218 8.40804 7.47064 8.68934 7.18934C8.97064 6.90804 9.35217 6.75 9.75 6.75C10.1478 6.75 10.5294 6.90804 10.8107 7.18934C11.092 7.47064 11.25 7.85218 11.25 8.25C11.25 8.64782 11.092 9.02936 10.8107 9.31066C10.5294 9.59196 10.1478 9.75 9.75 9.75C9.35217 9.75 8.97064 9.59196 8.68934 9.31066C8.40804 9.02936 8.25 8.64782 8.25 8.25Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_location",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Vi=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16",fill:"none",children:e.jsx("path",{d:"M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z",fill:"#1F2937"})}),gt=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1151_67394)",children:e.jsx("path",{d:"M8.125 1.875C9.7826 1.875 11.3723 2.53348 12.5444 3.70558C13.7165 4.87768 14.375 6.4674 14.375 8.125C14.375 9.7826 13.7165 11.3723 12.5444 12.5444C11.3723 13.7165 9.7826 14.375 8.125 14.375C6.4674 14.375 4.87768 13.7165 3.70558 12.5444C2.53348 11.3723 1.875 9.7826 1.875 8.125C1.875 6.4674 2.53348 4.87768 3.70558 3.70558C4.87768 2.53348 6.4674 1.875 8.125 1.875ZM8.125 16.25C10.0312 16.25 11.7852 15.5937 13.168 14.4961L18.3984 19.7266C18.7656 20.0937 19.3594 20.0937 19.7227 19.7266C20.0859 19.3594 20.0898 18.7656 19.7227 18.4023L14.4961 13.168C15.5937 11.7852 16.25 10.0312 16.25 8.125C16.25 3.63672 12.6133 0 8.125 0C3.63672 0 0 3.63672 0 8.125C0 12.6133 3.63672 16.25 8.125 16.25ZM11.25 6.875C11.25 5.14844 9.85156 3.75 8.125 3.75C6.39844 3.75 5 5.14844 5 6.875C5 8.78125 6.81641 11.2344 7.67969 12.2891C7.91406 12.5742 8.33594 12.5742 8.56641 12.2891C9.42969 11.2344 11.2461 8.78125 11.2461 6.875H11.25ZM6.875 6.875C6.875 6.54348 7.0067 6.22554 7.24112 5.99112C7.47554 5.7567 7.79348 5.625 8.125 5.625C8.45652 5.625 8.77446 5.7567 9.00888 5.99112C9.2433 6.22554 9.375 6.54348 9.375 6.875C9.375 7.20652 9.2433 7.52446 9.00888 7.75888C8.77446 7.9933 8.45652 8.125 8.125 8.125C7.79348 8.125 7.47554 7.9933 7.24112 7.75888C7.0067 7.52446 6.875 7.20652 6.875 6.875Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1151_67394",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Fi=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_nearme_desktop)",children:e.jsx("path",{d:"M9.0625 2.8125C9.0625 2.56386 9.16127 2.3254 9.33709 2.14959C9.5129 1.97377 9.75136 1.875 10 1.875C10.2486 1.875 10.4871 1.97377 10.6629 2.14959C10.8387 2.3254 10.9375 2.56386 10.9375 2.8125C10.9375 3.06114 10.8387 3.2996 10.6629 3.47541C10.4871 3.65123 10.2486 3.75 10 3.75C9.75136 3.75 9.5129 3.65123 9.33709 3.47541C9.16127 3.2996 9.0625 3.06114 9.0625 2.8125ZM12.8125 2.8125C12.8125 2.06658 12.5162 1.35121 11.9887 0.823762C11.4613 0.296316 10.7459 0 10 0C9.25408 0 8.53871 0.296316 8.01126 0.823762C7.48382 1.35121 7.1875 2.06658 7.1875 2.8125C7.1875 3.55842 7.48382 4.27379 8.01126 4.80124C8.53871 5.32868 9.25408 5.625 10 5.625C10.7459 5.625 11.4613 5.32868 11.9887 4.80124C12.5162 4.27379 12.8125 3.55842 12.8125 2.8125ZM5.625 9.6875V10.7305C5.625 11.3125 5.85547 11.8672 6.26562 12.2773L6.94141 12.9531L7.32812 15.0742C7.51563 16.1133 8.42188 16.8711 9.48047 16.8711H10.5195C11.5781 16.8711 12.4844 16.1133 12.6719 15.0742L13.0586 12.9531L13.7344 12.2773C14.1445 11.8672 14.375 11.3125 14.375 10.7305V9.6875C14.375 7.78906 12.8359 6.25 10.9375 6.25H9.0625C7.16406 6.25 5.625 7.78906 5.625 9.6875ZM9.0625 8.125H10.9375C11.8008 8.125 12.5 8.82422 12.5 9.6875V10.7305C12.5 10.8125 12.4688 10.8945 12.4102 10.9531L11.5234 11.8359C11.3867 11.9688 11.2969 12.1445 11.2656 12.332L10.8281 14.7422C10.8008 14.8906 10.6719 15 10.5195 15H9.48047C9.32812 15 9.19922 14.8906 9.17188 14.7422L8.73438 12.332C8.69922 12.1445 8.60938 11.9727 8.47656 11.8359L7.59375 10.9531C7.53516 10.8945 7.50391 10.8164 7.50391 10.7305V9.6875C7.50391 8.82422 8.20312 8.125 9.06641 8.125H9.0625ZM5.23047 13.457C4.58203 13.5547 3.97266 13.6758 3.42188 13.8203C2.54688 14.0469 1.75781 14.3398 1.16406 14.7305C0.589844 15.1055 0 15.7031 0 16.5664C0 17.4297 0.589844 18.0273 1.16406 18.4023C1.75781 18.7852 2.54688 19.0781 3.42188 19.3047C5.18359 19.7617 7.53516 20 10 20C12.4648 20 14.8164 19.7617 16.5781 19.3047C17.4531 19.0781 18.2422 18.7852 18.8359 18.3945C19.4102 18.0195 20 17.4219 20 16.5586C20 15.6953 19.4102 15.0977 18.8359 14.7227C18.2422 14.3359 17.4492 14.0391 16.5781 13.8125C16.0273 13.6719 15.4219 13.5508 14.7695 13.4492L14.5625 15.3164C15.125 15.4023 15.6445 15.5078 16.1094 15.6289C18.3203 16.1992 18.3203 16.9141 16.1094 17.4844C14.5508 17.8867 12.3672 18.1172 10 18.1172C7.63281 18.1172 5.44922 17.8867 3.89062 17.4844C1.67969 16.9141 1.67969 16.1992 3.89062 15.6289C4.35547 15.5078 4.875 15.4023 5.4375 15.3164L5.23047 13.4492V13.457Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_nearme_desktop",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Oi=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1151_67415)",children:e.jsx("path",{d:"M0.9375 0C0.417969 0 0 0.417969 0 0.9375C0 1.45703 0.417969 1.875 0.9375 1.875H1.25V18.125H0.9375C0.417969 18.125 0 18.543 0 19.0625C0 19.582 0.417969 20 0.9375 20H19.0625C19.582 20 20 19.582 20 19.0625C20 18.543 19.582 18.125 19.0625 18.125H18.75V1.875H19.0625C19.582 1.875 20 1.45703 20 0.9375C20 0.417969 19.582 0 19.0625 0H0.9375ZM16.875 18.125H11.25V15H13.125C13.4688 15 13.7539 14.7188 13.6992 14.3789C13.4023 12.6055 11.8594 11.25 10 11.25C8.14062 11.25 6.59766 12.6016 6.30078 14.3789C6.24219 14.7188 6.52734 15 6.875 15H8.75V18.125H3.125V1.875H16.875V18.125ZM5.625 3.75C5.28125 3.75 5 4.03125 5 4.375V5.625C5 5.96875 5.28125 6.25 5.625 6.25H6.875C7.21875 6.25 7.5 5.96875 7.5 5.625V4.375C7.5 4.03125 7.21875 3.75 6.875 3.75H5.625ZM8.75 4.375V5.625C8.75 5.96875 9.03125 6.25 9.375 6.25H10.625C10.9688 6.25 11.25 5.96875 11.25 5.625V4.375C11.25 4.03125 10.9688 3.75 10.625 3.75H9.375C9.03125 3.75 8.75 4.03125 8.75 4.375ZM13.125 3.75C12.7812 3.75 12.5 4.03125 12.5 4.375V5.625C12.5 5.96875 12.7812 6.25 13.125 6.25H14.375C14.7188 6.25 15 5.96875 15 5.625V4.375C15 4.03125 14.7188 3.75 14.375 3.75H13.125ZM5 8.125V9.375C5 9.71875 5.28125 10 5.625 10H6.875C7.21875 10 7.5 9.71875 7.5 9.375V8.125C7.5 7.78125 7.21875 7.5 6.875 7.5H5.625C5.28125 7.5 5 7.78125 5 8.125ZM9.375 7.5C9.03125 7.5 8.75 7.78125 8.75 8.125V9.375C8.75 9.71875 9.03125 10 9.375 10H10.625C10.9688 10 11.25 9.71875 11.25 9.375V8.125C11.25 7.78125 10.9688 7.5 10.625 7.5H9.375ZM12.5 8.125V9.375C12.5 9.71875 12.7812 10 13.125 10H14.375C14.7188 10 15 9.71875 15 9.375V8.125C15 7.78125 14.7188 7.5 14.375 7.5H13.125C12.7812 7.5 12.5 7.78125 12.5 8.125Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1151_67415",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Zi=()=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M10 10.8333C11.3807 10.8333 12.5 9.71404 12.5 8.33333C12.5 6.95262 11.3807 5.83333 10 5.83333C8.61929 5.83333 7.5 6.95262 7.5 8.33333C7.5 9.71404 8.61929 10.8333 10 10.8333Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 18.3333C10 18.3333 16.6667 13.3333 16.6667 8.33333C16.6667 4.65143 13.6819 1.66667 10 1.66667C6.31811 1.66667 3.33334 4.65143 3.33334 8.33333C3.33334 13.3333 10 18.3333 10 18.3333Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Yi=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M7.5 2.5L2.5 5V17.5L7.5 15M7.5 2.5L12.5 5M7.5 2.5V15M12.5 5L17.5 2.5V15L12.5 17.5M12.5 5V17.5M12.5 17.5L7.5 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),qi=()=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"10",cy:"10",r:"8.25",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M2.5 10H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("path",{d:"M10 1.75C10 1.75 6.25 5 6.25 10C6.25 15 10 18.25 10 18.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("path",{d:"M10 1.75C10 1.75 13.75 5 13.75 10C13.75 15 10 18.25 10 18.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),Gt=({value:t,onChange:s,onSelect:n,onSubmit:a,onAutocomplete:r,placeholder:i="Enter location",disabled:c=!1,className:l=""})=>{const{t:o}=lt(),{locale:u}=qe(),[d,h]=g.useState([]),[m,w]=g.useState(!1),[_,p]=g.useState(!1),[f,b]=g.useState(-1),[C,j]=g.useState(!1),W=g.useRef(null),z=g.useRef(null),L=g.useRef(),E=_||t.trim().length>0,P=g.useMemo(()=>{const x=d.filter(I=>I.type==="hotel"),D=d.filter(I=>I.type==="city"),G=d.filter(I=>I.type==="region"),ye=d.filter(I=>I.type==="country");return{hotels:x,cities:D,regions:G,countries:ye}},[d]),S=g.useMemo(()=>[...[{type:"anywhere",name:o("search:label.anywhere","All destinations")},{type:"nearme",name:o("search:label.nearby","Near me")}],...P.cities,...P.regions,...P.countries,...P.hotels],[P,o]),v=async x=>{if(x.length<3||!r){h([]);return}try{j(!0);const D=await r(x);h(D),b(-1)}catch(D){console.error("Autocomplete error:",D),h([])}finally{j(!1)}};g.useEffect(()=>(L.current&&clearTimeout(L.current),L.current=setTimeout(()=>{v(t)},300),()=>{L.current&&clearTimeout(L.current)}),[t]),g.useEffect(()=>{const x=D=>{z.current&&!z.current.contains(D.target)&&W.current&&!W.current.contains(D.target)&&w(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[]);const A=x=>{s(x.target.value),w(!0)},N=x=>{var D;x.stopPropagation(),s(""),(D=W.current)==null||D.focus()},$=x=>{if(x.type==="anywhere"){s(""),w(!1),setTimeout(()=>a==null?void 0:a("",null,null,!1),0);return}if(x.type==="nearme"){"geolocation"in navigator?navigator.geolocation.getCurrentPosition(I=>{const k={lat:I.coords.latitude,lng:I.coords.longitude};s(o("search:label.nearby","Near me")),w(!1),setTimeout(()=>a==null?void 0:a(o("search:label.nearby","Near me"),k,null,!1),0)},()=>{s(""),w(!1),setTimeout(()=>a==null?void 0:a("",null,null,!1),0)},{enableHighAccuracy:!1,timeout:1e4,maximumAge:3e5}):(s(""),w(!1),setTimeout(()=>a==null?void 0:a("",null,null,!1),0));return}const D=x.name,G=B(x),ye=x.type==="region"?x.id:null;s(D),w(!1),n&&"city"in x&&n(x),setTimeout(()=>a==null?void 0:a(D,G,ye,!0,x.type),0)},B=x=>!(x!=null&&x.latitude)||!(x!=null&&x.longitude)?null:{lat:x.latitude,lng:x.longitude},T=x=>{if(!m||S.length===0){(x.key==="ArrowDown"||x.key==="ArrowUp")&&w(!0);return}switch(x.key){case"ArrowDown":x.preventDefault(),b(D=>D<S.length-1?D+1:D);break;case"ArrowUp":x.preventDefault(),b(D=>D>0?D-1:-1);break;case"Enter":x.preventDefault(),f>=0&&f<S.length&&$(S[f]);break;case"Escape":x.preventDefault(),w(!1),b(-1);break}},y=x=>{switch(x){case"hotel":return e.jsx(Oi,{});case"city":return e.jsx(Zi,{});case"region":return e.jsx(Yi,{});case"country":return e.jsx(qi,{});case"anywhere":return e.jsx(gt,{});case"nearme":return e.jsx(Fi,{});default:return e.jsx(gt,{})}},R=(x,D)=>{if(!D||D.length<3)return e.jsx("span",{children:x});const G=x.toLowerCase(),ye=D.toLowerCase(),I=G.indexOf(ye);if(I===-1)return e.jsx("span",{children:x});const k=x.slice(0,I),V=x.slice(I,I+D.length),ee=x.slice(I+D.length);return e.jsxs("span",{children:[k,e.jsx("span",{className:M.suggestionNameBold,children:V}),ee]})},U=2,se=U+P.cities.length,q=se+P.regions.length,J=q+P.countries.length,re=d.length>0,Ce=t.length>=2&&!re&&!C;return e.jsxs("div",{className:M.container,children:[e.jsx("span",{className:`${M.iconWrapper} ${E?M.iconWrapperActive:""}`,children:e.jsx(zi,{})}),e.jsx("input",{ref:W,type:"text",value:t,onChange:A,onKeyDown:T,onFocus:()=>{p(!0),w(!0)},onBlur:()=>p(!1),placeholder:_?"":i,disabled:c,className:`${M.input} ${l}`,"aria-label":"Search location","aria-autocomplete":"list","aria-expanded":m,autoComplete:"off"}),t.trim().length>0&&e.jsx("button",{type:"button",className:M.clearButton,onClick:N,"aria-label":o("search:label.clear","Clear"),children:e.jsx(Vi,{})}),C&&e.jsx("div",{className:M.loadingIndicator,children:e.jsx("span",{children:"..."})}),m&&e.jsxs("div",{ref:z,className:M.dropdown,children:[!re&&!Ce&&e.jsx("div",{className:M.dropdownHeader,children:o("search:general.suggested-destinations","Suggested destinations")}),!re&&!Ce&&e.jsxs("div",{className:M.section,children:[e.jsxs("button",{type:"button",className:`${M.suggestion} ${f===0?M.suggestionSelected:""}`,onClick:()=>$({type:"anywhere",name:o("search:label.anywhere","All destinations")}),onMouseEnter:()=>b(0),children:[e.jsx("span",{className:M.icon,children:y("anywhere")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:o("search:label.anywhere","All destinations")})})]}),e.jsxs("button",{type:"button",className:`${M.suggestion} ${f===1?M.suggestionSelected:""}`,onClick:()=>$({type:"nearme",name:o("search:label.nearby","Near me")}),onMouseEnter:()=>b(1),children:[e.jsx("span",{className:M.icon,children:y("nearme")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:o("search:label.nearby","Near me")})})]})]}),P.cities.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.cities","Cities")}),e.jsx("div",{children:P.cities.map((x,D)=>{const G=U+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("city")}),e.jsxs("div",{className:M.suggestionContent,children:[e.jsx("div",{className:M.suggestionName,children:R(x.name,t)}),x.region&&e.jsx("div",{className:M.suggestionMeta,children:x.region})]})]},`city-${x.name}-${D}`)})})]}),P.regions.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.regions","Regions")}),e.jsx("div",{children:P.regions.map((x,D)=>{const G=se+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("region")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:R(x.name,t)})})]},`region-${x.name}-${D}`)})})]}),P.countries.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.countries","Countries")}),e.jsx("div",{children:P.countries.map((x,D)=>{const G=q+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("country")}),e.jsx("div",{className:M.suggestionContent,children:e.jsx("div",{className:M.suggestionName,children:R(x.name,t)})})]},`country-${x.name}-${D}`)})})]}),P.hotels.length>0&&e.jsxs("div",{className:M.section,children:[e.jsx("div",{className:M.sectionHeader,children:o("search:dropdown.hotels","Hotels")}),e.jsx("div",{children:P.hotels.map((x,D)=>{const G=J+D;return e.jsxs("button",{type:"button",className:`${M.suggestion} ${G===f?M.suggestionSelected:""}`,onClick:()=>$(x),onMouseEnter:()=>b(G),children:[e.jsx("span",{className:M.icon,children:y("hotel")}),e.jsxs("div",{className:M.suggestionContent,children:[e.jsx("div",{className:M.suggestionName,children:R(x.name,t)}),x.city&&e.jsxs("div",{className:M.suggestionMeta,children:[x.city,x.region&&`, ${x.region}`]})]})]},`hotel-${x.name}-${D}`)})})]}),Ce&&e.jsx("div",{className:M.emptyState,children:o("search:dropdown.no-results","No results found")})]})]})},Gi="_overlay_w2b2v_9",Ji="_sheet_w2b2v_29",Xi="_header_w2b2v_50",Ki="_title_w2b2v_57",Qi="_optionsList_w2b2v_71",Ui="_optionItem_w2b2v_77",eo="_radio_w2b2v_94",to="_radioActive_w2b2v_108",no="_radioInner_w2b2v_113",so="_optionLabel_w2b2v_121",xe={overlay:Gi,sheet:Ji,header:Xi,title:Ki,optionsList:Qi,optionItem:Ui,radio:eo,radioActive:to,radioInner:no,optionLabel:so},ao=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M2.77539 4.09961C2.4082 3.73242 2.4082 3.13867 2.77539 2.77539C3.14258 2.41211 3.73633 2.4082 4.09961 2.77539L9.99805 8.67383L15.8965 2.77539C16.2637 2.4082 16.8574 2.4082 17.2207 2.77539C17.584 3.14258 17.5879 3.73633 17.2207 4.09961L11.3223 9.99805L17.2207 15.8965C17.5879 16.2637 17.5879 16.8574 17.2207 17.2207C16.8535 17.584 16.2598 17.5879 15.8965 17.2207L9.99805 11.3223L4.09961 17.2207C3.73242 17.5879 3.13867 17.5879 2.77539 17.2207C2.41211 16.8535 2.4082 16.2598 2.77539 15.8965L8.67383 9.99805L2.77539 4.09961Z",fill:"#1F2937"})}),ro=({isOpen:t,onClose:s,value:n,onChange:a})=>{const{t:r}=lt(),i=[{value:"relevance",labelKey:"search:filter.relevance",defaultLabel:"Relevance"},{value:"price_asc",labelKey:"search:filter.price-low-high",defaultLabel:"Price low to high"},{value:"price_desc",labelKey:"search:filter.price-high-low",defaultLabel:"Price high to low"},{value:"rating",labelKey:"search:filter.best-rating",defaultLabel:"Best guest rating"}],c=l=>{a(l),s()};return g.useEffect(()=>{if(t)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[t]),t?e.jsx("div",{className:xe.overlay,onClick:s,children:e.jsxs("div",{className:xe.sheet,onClick:l=>l.stopPropagation(),children:[e.jsxs("div",{className:xe.header,children:[e.jsx("h2",{className:xe.title,children:r("search:subheadline.sort-by")}),e.jsx($e,{variant:"secondary",size:"small",iconOnly:!0,onClick:s,"aria-label":r("common:close","Close"),children:e.jsx(ao,{})})]}),e.jsx("div",{className:xe.optionsList,children:i.map(l=>e.jsxs("button",{type:"button",className:xe.optionItem,onClick:()=>c(l.value),role:"radio","aria-checked":n===l.value,children:[e.jsx("span",{className:`${xe.radio} ${n===l.value?xe.radioActive:""}`,children:n===l.value&&e.jsx("span",{className:xe.radioInner})}),e.jsx("span",{className:xe.optionLabel,children:r(l.labelKey,l.defaultLabel)})]},l.value))})]})}):null},io="_container_1hlf3_15",oo="_containerCompact_1hlf3_27",lo="_inputsContainer_1hlf3_37",co="_inputWrapper_1hlf3_55",uo="_input_1hlf3_37",ho="_divider_1hlf3_116",mo="_controlWrapper_1hlf3_128",fo="_control_1hlf3_128",go="_buttonWrapper_1hlf3_179",po="_mobileContainer_1hlf3_263",_o="_mobileSummary_1hlf3_271",wo="_mobileSummaryIcon_1hlf3_291",vo="_mobileSummaryText_1hlf3_306",xo="_mobileSummaryTitle_1hlf3_316",bo="_mobileSummarySubtitle_1hlf3_331",Co="_mobileActionBar_1hlf3_350",yo="_mobileActionButton_1hlf3_357",jo="_mobileActionDivider_1hlf3_397",No="_clearButton_1hlf3_408",Y={container:io,containerCompact:oo,inputsContainer:lo,inputWrapper:co,input:uo,divider:ho,controlWrapper:mo,control:fo,buttonWrapper:go,mobileContainer:po,mobileSummary:_o,mobileSummaryIcon:wo,mobileSummaryText:vo,mobileSummaryTitle:xo,mobileSummarySubtitle:bo,mobileActionBar:Co,mobileActionButton:yo,mobileActionDivider:jo,clearButton:No},ko=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1029_77629)",children:e.jsx("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"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1029_77629",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Mo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1029_77637)",children:e.jsx("path",{d:"M0.882623 3.33334C0.52601 3.33334 0.202485 3.54724 0.0664579 3.87916C-0.0695696 4.21108 0.00763518 4.59094 0.257632 4.84541L4.7061 9.30788V13.6634C4.7061 13.8994 4.79801 14.1244 4.96345 14.2904L7.90458 17.2408C8.15826 17.4952 8.53693 17.569 8.8678 17.4325C9.19868 17.2961 9.41191 16.9678 9.41191 16.6101V9.30419L13.8604 4.84172C14.1141 4.58725 14.1876 4.20739 14.0516 3.87547C13.9155 3.54355 13.592 3.33334 13.2354 3.33334H0.882623ZM6.21343 8.31212L3.01495 5.10357H11.1067L7.90826 8.31212C7.74282 8.47808 7.65091 8.70305 7.65091 8.93908V14.4748L6.47446 13.2946V8.93908C6.47446 8.70305 6.38255 8.47808 6.21711 8.31212H6.21343ZM17.353 3.33334C16.864 3.33334 16.4706 3.72795 16.4706 4.21845C16.4706 4.70896 16.864 5.10357 17.353 5.10357H19.1177C19.6066 5.10357 20 4.70896 20 4.21845C20 3.72795 19.6066 3.33334 19.1177 3.33334H17.353ZM12.6472 9.52916C12.1582 9.52916 11.7648 9.92378 11.7648 10.4143C11.7648 10.9048 12.1582 11.2994 12.6472 11.2994H19.1177C19.6066 11.2994 20 10.9048 20 10.4143C20 9.92378 19.6066 9.52916 19.1177 9.52916H12.6472ZM12.6472 15.725C12.1582 15.725 11.7648 16.1196 11.7648 16.6101C11.7648 17.1006 12.1582 17.4952 12.6472 17.4952H19.1177C19.6066 17.4952 20 17.1006 20 16.6101C20 16.1196 19.6066 15.725 19.1177 15.725H12.6472Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1029_77637",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Lo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1029_63361)",children:e.jsx("path",{d:"M8.53479 6.02796C8.87132 6.36448 9.41548 6.36448 9.74842 6.02796C10.0814 5.69144 10.0849 5.14727 9.74842 4.81433L6.02877 1.08752C5.69225 0.750995 5.14808 0.750995 4.81514 1.08752L1.08833 4.81075C0.751807 5.14727 0.751807 5.69144 1.08833 6.02438C1.42485 6.35732 1.96902 6.3609 2.30196 6.02438L4.55738 3.76896V18.3075C4.55738 18.7836 4.94044 19.1667 5.41659 19.1667C5.89273 19.1667 6.27579 18.7836 6.27579 18.3075V3.76896L8.53121 6.02438L8.53479 6.02796ZM17.6997 13.9756L15.4442 16.231V1.69254C15.4442 1.2164 15.0612 0.833336 14.585 0.833336C14.1089 0.833336 13.7258 1.2164 13.7258 1.69254V16.231L11.4704 13.9756C11.1339 13.6391 10.5897 13.6391 10.2568 13.9756C9.92384 14.3121 9.92026 14.8563 10.2568 15.1893L13.98 18.9125C14.3165 19.249 14.8607 19.249 15.1936 18.9125L18.9169 15.1893C19.2534 14.8527 19.2534 14.3086 18.9169 13.9756C18.5804 13.6427 18.0362 13.6391 17.7032 13.9756H17.6997Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1029_63361",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),$o=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_1116_37956)",children:e.jsx("path",{d:"M20 1.875C20 1.55078 19.832 1.25 19.5586 1.07813C19.2852 0.906252 18.9375 0.890627 18.6484 1.03516L13.7695 3.44141L7.03125 1.14844C6.49609 0.964846 5.91016 1 5.39453 1.23828L0.539063 3.52735C0.210938 3.67969 0 4.01172 0 4.375V18.125C0 18.4453 0.164063 18.7461 0.433594 18.918C0.703125 19.0898 1.04297 19.1094 1.33594 18.9727L6.30859 16.6328L12.9766 18.8555C13.5117 19.0352 14.0898 19 14.6016 18.7578L19.4609 16.4727C19.7891 16.3164 20 15.9883 20 15.625V1.875ZM5.625 3.20703V14.8867L1.875 16.6523V4.97266L5.625 3.20703ZM7.5 15.0547V3.29297L12.5 4.99219V16.7227L7.5 15.0547ZM14.375 5.23438L18.125 3.38281V15.0313L14.375 16.7969V5.23438Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1116_37956",children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),So=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M6.625 0C7.24844 0 7.75 0.501562 7.75 1.125V3H15.25V1.125C15.25 0.501562 15.7516 0 16.375 0C16.9984 0 17.5 0.501562 17.5 1.125V3H19C20.6547 3 22 4.34531 22 6V19.5C22 21.1547 20.6547 22.5 19 22.5H4C2.34531 22.5 1 21.1547 1 19.5V6C1 4.34531 2.34531 3 4 3H5.5V1.125C5.5 0.501562 6.00156 0 6.625 0ZM19 20.25C19.4125 20.25 19.75 19.9125 19.75 19.5V16.5H15.625V20.25H19ZM19.75 14.25V10.5H15.625V14.25H19.75ZM13.375 14.25V10.5H9.625V14.25H13.375ZM7.375 14.25V10.5H3.25V14.25H7.375ZM3.25 16.5V19.5C3.25 19.9125 3.5875 20.25 4 20.25H7.375V16.5H3.25ZM9.625 16.5V20.25H13.375V16.5H9.625ZM6.625 5.25H4C3.5875 5.25 3.25 5.5875 3.25 6V8.25H19.75V6C19.75 5.5875 19.4125 5.25 19 5.25H6.625Z",fill:"#4B5563"})}),Do=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M8.25 6C8.25 5.00544 8.64509 4.05161 9.34835 3.34835C10.0516 2.64509 11.0054 2.25 12 2.25C12.9946 2.25 13.9484 2.64509 14.6517 3.34835C15.3549 4.05161 15.75 5.00544 15.75 6C15.75 6.99456 15.3549 7.94839 14.6517 8.65165C13.9484 9.35491 12.9946 9.75 12 9.75C11.0054 9.75 10.0516 9.35491 9.34835 8.65165C8.64509 7.94839 8.25 6.99456 8.25 6ZM18 6C18 4.4087 17.3679 2.88258 16.2426 1.75736C15.1174 0.632141 13.5913 0 12 0C10.4087 0 8.88258 0.632141 7.75736 1.75736C6.63214 2.88258 6 4.4087 6 6C6 7.5913 6.63214 9.11742 7.75736 10.2426C8.88258 11.3679 10.4087 12 12 12C13.5913 12 15.1174 11.3679 16.2426 10.2426C17.3679 9.11742 18 7.5913 18 6ZM3.75 22.5C3.75 19.1859 6.43594 16.5 9.75 16.5H14.25C17.5641 16.5 20.25 19.1859 20.25 22.5V22.875C20.25 23.4984 20.7516 24 21.375 24C21.9984 24 22.5 23.4984 22.5 22.875V22.5C22.5 17.9438 18.8062 14.25 14.25 14.25H9.75C5.19375 14.25 1.5 17.9438 1.5 22.5V22.875C1.5 23.4984 2.00156 24 2.625 24C3.24844 24 3.75 23.4984 3.75 22.875V22.5Z",fill:"#4B5563"})}),pt=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16",fill:"none",children:e.jsx("path",{d:"M8.55417 0C7.84583 0 7.16667 0.279167 6.66667 0.779167L0.391667 7.05833C0.141667 7.30833 0 7.64583 0 8C0 8.35417 0.141667 8.69167 0.391667 8.94167L6.66667 15.2208C7.16667 15.7208 7.84583 16 8.55417 16H21.3333C22.8042 16 24 14.8042 24 13.3333V2.66667C24 1.19583 22.8042 0 21.3333 0H8.55417ZM22 2.66667V13.3333C22 13.7 21.7 14 21.3333 14H8.55417C8.37917 14 8.20833 13.9292 8.08333 13.8042L2.275 8L8.07917 2.19583C8.20417 2.07083 8.375 2 8.55 2H21.3333C21.7 2 22 2.3 22 2.66667ZM11.8375 5.17083C11.4458 5.5625 11.4458 6.19583 11.8375 6.58333L13.25 7.99583L11.8375 9.40833C11.4458 9.8 11.4458 10.4333 11.8375 10.8208C12.2292 11.2083 12.8625 11.2125 13.25 10.8208L14.6625 9.40833L16.075 10.8208C16.4667 11.2125 17.1 11.2125 17.4875 10.8208C17.875 10.4292 17.8792 9.79583 17.4875 9.40833L16.075 7.99583L17.4875 6.58333C17.8792 6.19167 17.8792 5.55833 17.4875 5.17083C17.0958 4.78333 16.4625 4.77917 16.075 5.17083L14.6625 6.58333L13.25 5.17083C12.8583 4.77917 12.225 4.77917 11.8375 5.17083Z",fill:"#1F2937"})}),Ho=({onSearch:t,onGuestChange:s,onQueryChange:n,onDateRangeChange:a,onMonthFilterChange:r,onAutocomplete:i,getGuestsDisplay:c,getDateDisplay:l,onMobileClick:o,onFilterClick:u,onSortClick:d,initialQuery:h="",initialGuests:m={adults:2,children:0,childrenAges:[]},initialPetFilter:w=0,initialDateRange:_=null,initialMonthFilter:p=null,disabled:f=!1,viewMode:b="list",onViewModeChange:C,hideViewToggle:j=!1,compact:W=!1})=>{const{isDesktop:z}=Ve(),{t:L}=ae(),[E,P]=g.useState(h),[S,v]=g.useState(m),[A,N]=g.useState(w),[$,B]=g.useState(_),[T,y]=g.useState(p),[R,Q]=g.useState([]);g.useEffect(()=>{v(m),P(h),B(_),y(p)},[m,h,_,p]);const U=k=>{k.preventDefault();const V=q();if(V.length>0){Q(V);return}t({query:E.trim(),guests:S,petFilter:A,dateRange:$,monthFilter:T})},se=k=>{v(k)},q=()=>{const k=[],V=Array.isArray(S.childrenAges)?S.childrenAges:[];for(let ee=0;ee<S.children;ee++){const we=V[ee];we==null&&k.push({index:ee,message:L("form.age-error")})}return k},J=()=>E.trim()||L("label.anywhere"),re=k=>{k.stopPropagation(),B(null),y(null),t({query:E.trim(),guests:S,petFilter:A,dateRange:null,monthFilter:null})},Ce=k=>{k.stopPropagation();const V={adults:2,children:0,childrenAges:[]};v(V),t({query:E.trim(),guests:V,petFilter:A,dateRange:$,monthFilter:T})},x=k=>{P(k)},D=(k,V)=>{B(k),y(V);const ee=q();if(ee.length>0){Q(ee);return}t({query:E.trim(),guests:S,petFilter:A,dateRange:k,monthFilter:V})},G=(k,V)=>{v(k),N(V);const ee=Array.isArray(k.childrenAges)?k.childrenAges:[],we=[];for(let je=0;je<k.children;je++){const Te=ee[je];Te==null&&we.push({index:je,message:L("form.age-error")})}if(we.length>0){Q(we);return}t({query:E.trim(),guests:k,petFilter:V,dateRange:$,monthFilter:T})};E.trim();const ye=$!==null||T!==null&&T.length>0,I=S.adults!==2||S.children!==0;return z?e.jsx("form",{onSubmit:U,className:`${Y.container} ${W?Y.containerCompact:""}`,children:e.jsxs("div",{className:Y.inputsContainer,children:[e.jsx("div",{className:Y.inputWrapper,children:e.jsx(Gt,{value:E,onChange:x,onAutocomplete:i,onSubmit:(k,V,ee,we,je)=>{t({query:we?k.trim():"",guests:S,petFilter:A,dateRange:$,monthFilter:T,coordinates:V,regionsFilter:ee?[`region_${ee}`]:[],destinationMode:je})},placeholder:L("label.anywhere"),disabled:f,className:Y.input})}),e.jsx("div",{className:Y.divider}),e.jsxs("div",{className:Y.controlWrapper,children:[e.jsx(Zt,{initialDateRange:$||{start:null,end:null},initialMonthFilter:T,onChange:k=>{B(k),a==null||a(k)},onMonthFilterChange:k=>{y(k),r==null||r(k)},onClose:D,disabled:f,className:Y.control,icon:e.jsx(So,{})}),ye&&e.jsx("button",{type:"button",className:Y.clearButton,onClick:re,"aria-label":L("label.clear","Clear date"),children:e.jsx(pt,{})})]}),e.jsx("div",{className:Y.divider}),e.jsxs("div",{className:Y.controlWrapper,"data-test":"test",children:[e.jsx(qt,{initialGuests:S,initialPetValue:A,onChange:se,onPetChange:N,onClose:G,disabled:f,className:Y.control,icon:e.jsx(Do,{}),childAgeErrors:R}),I&&e.jsx("button",{type:"button",className:Y.clearButton,onClick:Ce,"aria-label":L("label.clear","Clear guests"),children:e.jsx(pt,{})})]}),e.jsx("div",{className:Y.buttonWrapper,children:e.jsx($e,{variant:"primary",size:"small",type:"submit",disabled:f,children:L("button.search")})})]})}):e.jsxs("div",{className:Y.mobileContainer,children:[e.jsxs("button",{type:"button",className:Y.mobileSummary,onClick:o,disabled:f,children:[e.jsx("span",{className:Y.mobileSummaryIcon,children:e.jsx(ko,{})}),e.jsxs("div",{className:Y.mobileSummaryText,children:[e.jsx("span",{className:Y.mobileSummaryTitle,children:J()}),e.jsxs("span",{className:Y.mobileSummarySubtitle,children:[l()," · ",c()]})]})]}),!j&&!W&&e.jsxs("div",{className:Y.mobileActionBar,children:[e.jsxs("button",{type:"button",className:Y.mobileActionButton,onClick:u,disabled:f,children:[e.jsx(Mo,{}),e.jsx("span",{children:L("label.filter")})]}),e.jsx("div",{className:Y.mobileActionDivider}),b==="list"&&e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",className:Y.mobileActionButton,onClick:d,disabled:f,children:[e.jsx(Lo,{}),e.jsx("span",{children:L("label.sort")})]}),e.jsx("div",{className:Y.mobileActionDivider})]}),e.jsxs("button",{type:"button",className:Y.mobileActionButton,onClick:()=>C==null?void 0:C("map"),disabled:f,children:[e.jsx($o,{}),e.jsx("span",{children:L("label.map")})]})]})]})},Po=5,_t=50,wt='data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="300" fill="%23e5e7eb"%3E%3Crect width="400" height="300" /%3E%3C/svg%3E',Bo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_building)",children:e.jsx("path",{d:"M0.75 0C0.334375 0 0 0.334375 0 0.75C0 1.16562 0.334375 1.5 0.75 1.5H1V14.5H0.75C0.334375 14.5 0 14.8344 0 15.25C0 15.6656 0.334375 16 0.75 16H15.25C15.6656 16 16 15.6656 16 15.25C16 14.8344 15.6656 14.5 15.25 14.5H15V1.5H15.25C15.6656 1.5 16 1.16562 16 0.75C16 0.334375 15.6656 0 15.25 0H0.75ZM13.5 14.5H9V12H10.5C10.775 12 11.0031 11.775 10.9594 11.5031C10.7219 10.0844 9.4875 9 8 9C6.5125 9 5.27813 10.0813 5.04063 11.5031C4.99375 11.775 5.22188 12 5.5 12H7V14.5H2.5V1.5H13.5V14.5ZM4.5 3C4.225 3 4 3.225 4 3.5V4.5C4 4.775 4.225 5 4.5 5H5.5C5.775 5 6 4.775 6 4.5V3.5C6 3.225 5.775 3 5.5 3H4.5ZM7 3.5V4.5C7 4.775 7.225 5 7.5 5H8.5C8.775 5 9 4.775 9 4.5V3.5C9 3.225 8.775 3 8.5 3H7.5C7.225 3 7 3.225 7 3.5ZM10.5 3C10.225 3 10 3.225 10 3.5V4.5C10 4.775 10.225 5 10.5 5H11.5C11.775 5 12 4.775 12 4.5V3.5C12 3.225 11.775 3 11.5 3H10.5ZM4 6.5V7.5C4 7.775 4.225 8 4.5 8H5.5C5.775 8 6 7.775 6 7.5V6.5C6 6.225 5.775 6 5.5 6H4.5C4.225 6 4 6.225 4 6.5ZM7.5 6C7.225 6 7 6.225 7 6.5V7.5C7 7.775 7.225 8 7.5 8H8.5C8.775 8 9 7.775 9 7.5V6.5C9 6.225 8.775 6 8.5 6H7.5ZM10 6.5V7.5C10 7.775 10.225 8 10.5 8H11.5C11.775 8 12 7.775 12 7.5V6.5C12 6.225 11.775 6 11.5 6H10.5C10.225 6 10 6.225 10 6.5Z",fill:"white"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_building",children:e.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),Io=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"#1F2937",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Ao=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"#1F2937",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Wo=({filled:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t?"hc-hotel-card__heart-icon--filled":"hc-hotel-card__heart-icon",children:[e.jsxs("g",{clipPath:"url(#clip0_heart)",children:[e.jsx("path",{d:"M12.7031 4.58281C13.875 2.96094 15.7594 2 17.7609 2C21.2062 2 24 4.79375 24 8.23906C24 11.4547 21.9891 14.2812 20.2922 16.3391C18.225 18.8516 15.7313 21.0312 14.0203 22.3344C13.4438 22.775 12.7312 22.9953 12 22.9953C11.2688 22.9953 10.5562 22.775 9.97969 22.3344C8.26875 21.0312 5.775 18.8516 3.70781 16.3438C2.01094 14.2859 0 11.4547 0 8.23906C0 4.79375 2.79375 2 6.23906 2C8.24063 2 10.125 2.96094 11.2969 4.58281L12 5.55313L12.7031 4.58281Z",fill:"white"}),e.jsx("path",{d:"M17.7609 4.25C16.4812 4.25 15.2766 4.86406 14.5266 5.9L12.9141 8.13125C12.7031 8.42188 12.3656 8.59531 12.0047 8.59531C11.6438 8.59531 11.3062 8.42188 11.0953 8.13125L9.48281 5.9C8.73281 4.86406 7.52813 4.25 6.24844 4.25C4.04531 4.25 2.25938 6.03594 2.25938 8.23906C2.25938 10.5781 3.75938 12.8516 5.45156 14.9094C7.37813 17.2531 9.73594 19.3156 11.3531 20.5484C11.5031 20.6609 11.7234 20.7453 12.0094 20.7453C12.2953 20.7453 12.5156 20.6609 12.6656 20.5484C14.2828 19.3156 16.6406 17.2484 18.5672 14.9094C20.2641 12.8516 21.7594 10.5781 21.7594 8.23906C21.7594 6.03594 19.9734 4.25 17.7703 4.25H17.7609ZM12.7031 4.58281C13.875 2.96094 15.7594 2 17.7609 2C21.2062 2 24 4.79375 24 8.23906C24 11.4547 21.9891 14.2812 20.2922 16.3391C18.225 18.8516 15.7313 21.0312 14.0203 22.3344C13.4438 22.775 12.7312 22.9953 12 22.9953C11.2688 22.9953 10.5562 22.775 9.97969 22.3344C8.26875 21.0312 5.775 18.8516 3.70781 16.3438C2.01094 14.2859 0 11.4547 0 8.23906C0 4.79375 2.79375 2 6.23906 2C8.24063 2 10.125 2.96094 11.2969 4.58281L12 5.55313L12.7031 4.58281Z",fill:"#4B5563"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_heart",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),Jt=({images:t,hotelName:s,badges:n,isFavorite:a,onFavoriteClick:r})=>{const i={removeFromFavorites:"Remove from favorites",addToFavorites:"Add to favorites",previousImage:"Previous image",nextImage:"Next image"},c=t.slice(0,Po),[l,o]=g.useState(0),[u,d]=g.useState(new Set),[h,m]=g.useState(null),[w,_]=g.useState(null),[p,f]=g.useState(!1),b=g.useRef(null),C=N=>{d($=>new Set($).add(N))},j=N=>u.has(N)?wt:c[N]||wt,W=()=>{o(N=>N===0?c.length-1:N-1)},z=()=>{o(N=>N===c.length-1?0:N+1)},L=N=>{N.preventDefault(),N.stopPropagation(),W()},E=N=>{N.preventDefault(),N.stopPropagation(),z()},P=N=>{N.stopPropagation(),_(null),m(N.targetTouches[0].clientX),f(!0)},S=N=>{N.stopPropagation(),h&&_(N.targetTouches[0].clientX)},v=N=>{if(N.stopPropagation(),f(!1),!h||!w)return;const $=h-w;$>_t?z():$<-_t&&W(),m(null),_(null)},A=N=>{N.preventDefault(),N.stopPropagation(),r()};return e.jsxs("div",{className:"hc-hotel-card__image-section",ref:b,onTouchStart:P,onTouchMove:S,onTouchEnd:v,style:{cursor:p?"grabbing":"grab"},children:[e.jsx("img",{src:j(l),alt:`${s} - Image ${l+1} of ${c.length}`,className:"hc-hotel-card__image",loading:"lazy",onError:()=>C(l),draggable:"false"}),e.jsx("div",{className:"hc-hotel-card__image-overlay"}),e.jsxs("div",{className:"hc-hotel-card__top-overlay",children:[e.jsx("div",{className:"hc-hotel-card__badges-column",children:n==null?void 0:n.map((N,$)=>e.jsxs("div",{className:"hc-hotel-card__new-badge",children:[e.jsx(Bo,{}),e.jsx("span",{children:N})]},$))}),e.jsx("button",{className:"hc-hotel-card__favorite-button",onClick:A,"aria-label":a?i.removeFromFavorites:i.addToFavorites,type:"button",children:e.jsx(Wo,{filled:a})})]}),c.length>1&&e.jsxs(e.Fragment,{children:[e.jsx("button",{className:"hc-hotel-card__nav-button hc-hotel-card__nav-button--left",onClick:L,"aria-label":i.previousImage,type:"button",children:e.jsx(Io,{})}),e.jsx("button",{className:"hc-hotel-card__nav-button hc-hotel-card__nav-button--right",onClick:E,"aria-label":i.nextImage,type:"button",children:e.jsx(Ao,{})}),e.jsx("div",{className:"hc-hotel-card__image-indicator",children:c.map((N,$)=>e.jsx("span",{className:`hc-hotel-card__indicator-dot ${$===l?"hc-hotel-card__indicator-dot--active":""}`},$))})]})]})},To=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_star)",children:e.jsx("path",{d:"M4.80018 0.366577C4.93104 0.366577 5.05173 0.440968 5.11135 0.557659L6.18011 2.66102L8.50521 3.03152C8.63462 3.05194 8.74222 3.14383 8.78294 3.26927C8.82365 3.39472 8.79021 3.53183 8.6986 3.62518L7.03366 5.29533L7.40155 7.6277C7.42191 7.75752 7.3681 7.88879 7.26195 7.9661C7.15581 8.04341 7.01476 8.05508 6.89843 7.99528L4.80018 6.92463L2.70192 7.99528C2.58559 8.05508 2.44454 8.04341 2.33839 7.9661C2.23225 7.88879 2.17844 7.75898 2.1988 7.6277L2.56523 5.29533L0.901751 3.62518C0.808689 3.53183 0.776699 3.39472 0.817413 3.26927C0.858128 3.14383 0.964277 3.05194 1.09515 3.03152L3.42024 2.66102L4.49045 0.557659C4.55007 0.440968 4.67076 0.366577 4.80163 0.366577H4.80018Z",fill:"#1F2937"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_star",children:e.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(0.800049 0.199951)"})})})]}),Ro=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M8 1.5C5.51562 1.5 3.5 3.51562 3.5 6C3.5 9.5 8 14 8 14C8 14 12.5 9.5 12.5 6C12.5 3.51562 10.4844 1.5 8 1.5ZM8 7.75C7.0325 7.75 6.25 6.9675 6.25 6C6.25 5.0325 7.0325 4.25 8 4.25C8.9675 4.25 9.75 5.0325 9.75 6C9.75 6.9675 8.9675 7.75 8 7.75Z",fill:"#6B7280"})}),Eo=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_breakfast)",children:e.jsx("path",{d:"M8 1.5C9.525 1.5 10.9281 2.025 12.0344 2.90313L9.4125 5.525L7.975 1.5H8ZM13.0969 3.96563C13.4656 4.43125 13.7719 4.94687 14.0031 5.5H11.5625L13.0969 3.96563ZM10.0594 7H14.3969C15.1875 7 15.8563 6.23438 15.5656 5.39375C14.4844 2.25625 11.5062 0 8 0C3.58125 0 0 3.58125 0 8C0 11.5062 2.25625 14.4844 5.39375 15.5656C6.23438 15.8563 7 15.1875 7 14.3969V10.0594L7.12187 9.9375L7.39375 10.0531C7.8625 10.2531 8.40938 10.15 8.76875 9.7875L9.80625 8.75C10.1469 8.40938 10.2625 7.9 10.1 7.44688L9.97188 7.0875L10.0625 6.99687L10.0594 7ZM5.6375 9.30313L2.90313 12.0344C2.025 10.925 1.5 9.52188 1.5 8C1.5 7.84375 1.50625 7.69062 1.51562 7.5375L5.63438 9.30313H5.6375ZM3.96563 13.0969L5.5 11.5625V14.0031C4.94375 13.7719 4.42813 13.4656 3.96563 13.0969ZM1.80313 6.02812C2.48438 3.8875 4.24687 2.225 6.45 1.6875L8.63437 7.80625L7.82812 8.6125L1.80313 6.03125V6.02812Z",fill:"#006962"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_breakfast",children:e.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),zo=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M0.838695 4.18584L2.62218 6.00458C2.85502 6.24202 3.23153 6.24202 3.4619 6.00458C3.69227 5.76713 3.69474 5.38317 3.4619 5.14825L2.69401 4.36518L3.66406 4.36518C3.9974 4.36518 4.33073 4.36518 4.37346 4.36518C4.66406 4.36518 4.66406 4.36518 4.9974 4.36518L5.22309 4.36518H5.22804H11.5644C11.5644 5.25687 12.2753 5.98184 13.1497 5.98184V8.61902C13.5386 8.66196 13.9151 8.83625 14.2123 9.13938L14.3387 9.26821V4.76682C14.3387 3.87513 13.6278 3.15016 12.7533 3.15016H4.37346H2.69649L3.46438 2.3671C3.69722 2.12965 3.69722 1.74569 3.46438 1.51077C3.23153 1.27585 2.85502 1.27332 2.62218 1.50825L0.838695 3.32699C0.605852 3.56443 0.605852 3.94839 0.838695 4.18331V4.18584ZM1.65612 6.73207V11.2335C1.65612 12.1251 2.36704 12.8501 3.24144 12.8501H13.3008L12.5329 13.6332C12.3 13.8706 12.3 14.2546 12.5329 14.4895C12.7657 14.7244 13.1422 14.727 13.3726 14.4895L15.1561 12.6708C15.3889 12.4333 15.3889 12.0494 15.1561 11.8144L13.3726 9.9957C13.1398 9.75826 12.7633 9.75826 12.5329 9.9957C12.3025 10.2331 12.3 10.6171 12.5329 10.852L13.3008 11.6351L12.3307 11.6351C11.974 11.6351 11.9036 11.6351 11.737 11.6351C11.6641 11.6351 11.6354 11.6351 11.5644 11.6351H4.43043C4.43043 10.7434 3.71952 10.0184 2.84511 10.0184V7.38126C2.45622 7.33832 2.0797 7.16402 1.78245 6.8609L1.65612 6.73207ZM10.3754 8.00014C10.3754 7.35699 10.1248 6.74019 9.67888 6.28541C9.23292 5.83064 8.62807 5.57515 7.9974 5.57515C7.36672 5.57515 6.76187 5.83064 6.31591 6.28541C5.86996 6.74019 5.61942 7.35699 5.61942 8.00014C5.61942 8.64329 5.86996 9.26009 6.31591 9.71486C6.76187 10.1696 7.36672 10.4251 7.9974 10.4251C8.62807 10.4251 9.23292 10.1696 9.67888 9.71486C10.1248 9.26009 10.3754 8.64329 10.3754 8.00014Z",fill:"#006962"})}),Vo=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M13.5 4.5L6 12L2.5 8.5",stroke:"#006962",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Fo=()=>e.jsx("svg",{width:"32",height:"24",viewBox:"0 0 36 38",fill:"#478EFA",className:"hc-hotel-card__rating-badge-bg",children:e.jsx("path",{d:"M4 0C1.79086 0 0 1.79086 0 4V32V38L9 32H32C34.2091 32 36 30.2091 36 28V0H4Z"})}),Xt=({name:t,stars:s,isSuperior:n=!1,rating:a,location:r,benefits:i,price:c,currency:l="CHF",isAvailable:o=!0,onClick:u})=>{const{t:d}=ae(),h={ratingExcellent:d("label.rating-excellent","Excellent"),ratingVeryGood:d("label.rating-very-good","Very good"),ratingGood:d("label.rating-good","Good"),ratingFair:d("label.rating-fair","Fair"),rating:d("label.rating","Rating"),priceFrom:d("label.per-room-night","per room & night from"),notAvailable:d("general.unavailable-for-selected-days","Not available"),swissLodge:"Swiss Lodge"},m=p=>p>=4.4?h.ratingExcellent:p>=4.1?h.ratingVeryGood:p>=3.8?h.ratingGood:p>=3.5?h.ratingFair:h.rating,w=p=>{switch(p){case"free-breakfast":return e.jsx(Eo,{});case"free-cancellation":return e.jsx(zo,{});default:return e.jsx(Vo,{})}},_=p=>{if(!p||p<=0)return null;if(p===6)return e.jsx("span",{className:"hc-hotel-card__swiss-lodge",children:h.swissLodge});const f=Math.min(Math.floor(p),5);return e.jsx(e.Fragment,{children:Array.from({length:f},(b,C)=>e.jsx(To,{},C))})};return e.jsxs("div",{className:"hc-hotel-card__content",onClick:u,style:{cursor:u?"pointer":void 0},children:[e.jsxs("div",{className:"hc-hotel-card__header-section",children:[e.jsxs("div",{className:"hc-hotel-card__rating-section",children:[e.jsxs("div",{className:"hc-hotel-card__stars",children:[_(s),n&&e.jsx("span",{className:"hc-hotel-card__stars-indicator",children:"(s)"})]}),a>0&&e.jsxs("div",{className:"hc-hotel-card__rating-wrapper",children:[e.jsx("span",{className:"hc-hotel-card__rating-text",children:m(a)}),e.jsxs("div",{className:"hc-hotel-card__rating-badge",children:[e.jsx(Fo,{}),e.jsx("span",{className:"hc-hotel-card__rating-number",children:a.toFixed(1)})]})]})]}),e.jsx("h3",{className:"hc-hotel-card__hotel-name",children:t})]}),e.jsxs("div",{className:"hc-hotel-card__location-section",children:[e.jsx("span",{className:"hc-hotel-card__pin-icon",children:e.jsx(Ro,{})}),e.jsx("span",{className:"hc-hotel-card__location",children:r})]}),e.jsxs("div",{className:"hc-hotel-card__benefits-and-pricing",children:[i.length>0&&e.jsx("div",{className:"hc-hotel-card__benefits-section",children:i.slice(0,3).map((p,f)=>e.jsxs("div",{className:"hc-hotel-card__benefit",children:[e.jsx("span",{className:"hc-hotel-card__benefit-icon",children:w(p.id)}),e.jsx("span",{className:"hc-hotel-card__benefit-text",children:p.label})]},f))}),e.jsxs("div",{className:"hc-hotel-card__pricing-section",children:[o&&e.jsx("div",{className:"hc-hotel-card__price-label",children:h.priceFrom}),!o&&e.jsx("div",{className:"hc-hotel-card__not-available",children:h.notAvailable}),o&&e.jsxs("div",{className:"hc-hotel-card__price-container",children:[e.jsx("span",{className:"hc-hotel-card__current-price",children:`${l} ${c.current}`}),c.original&&c.original>c.current&&e.jsx("span",{className:"hc-hotel-card__original-price",children:`${l} ${c.original}`}),c.discount&&c.discount>0&&e.jsxs("span",{className:"hc-hotel-card__discount-badge",children:["-",c.discount," %"]})]})]})]})]})},Oo=({hotel:t,onFavoriteClick:s,onContentClick:n,className:a})=>e.jsxs("div",{className:`hc-hotel-card ${a||""}`,children:[e.jsx(Jt,{images:t.images,hotelName:t.name,badges:t.badges,isFavorite:t.isFavorite,onFavoriteClick:s}),t.usp&&e.jsx("div",{className:"hc-hotel-card__usp-banner",children:t.usp}),e.jsx(Xt,{name:t.name,stars:t.stars,isSuperior:t.isSuperior,rating:t.rating,location:t.location,benefits:t.benefits,price:t.price,currency:t.currency,isAvailable:t.isAvailable,onClick:n})]}),Zo="_filterRow_17z8r_8",Yo="_filterRowDisabled_17z8r_22",qo="_checkboxLabel_17z8r_46",Go="_checkboxButton_17z8r_53",Jo="_checkbox_17z8r_46",Xo="_checkboxBox_17z8r_74",Ko="_checkboxBoxDisabled_17z8r_96",Qo="_checkIcon_17z8r_106",Uo="_filterLabel_17z8r_116",el="_filterLabelDisabled_17z8r_125",tl="_filterCount_17z8r_129",nl="_filterCountDisabled_17z8r_138",me={filterRow:Zo,filterRowDisabled:Yo,checkboxLabel:qo,checkboxButton:Go,checkbox:Jo,checkboxBox:Xo,checkboxBoxDisabled:Ko,checkIcon:Qo,filterLabel:Uo,filterLabelDisabled:el,filterCount:tl,filterCountDisabled:nl},We=({id:t,label:s,count:n,checked:a,disabled:r=!1,onChange:i,className:c="",trackName:l})=>e.jsxs("label",{className:`${me.filterRow} ${r?me.filterRowDisabled:""} ${c}`,tabIndex:r?-1:0,"data-track":l,children:[e.jsxs("div",{className:me.checkboxLabel,children:[e.jsxs("div",{className:me.checkboxButton,children:[e.jsx("input",{id:t,type:"checkbox",className:me.checkbox,checked:a,disabled:r,onChange:i}),e.jsx("span",{className:`${me.checkboxBox} ${r?me.checkboxBoxDisabled:""}`,children:a&&e.jsx("svg",{viewBox:"0 0 12 10",fill:"none",className:me.checkIcon,children:e.jsx("path",{d:"M1 5L4.5 8.5L11 1",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.jsx("span",{className:`${me.filterLabel} ${r?me.filterLabelDisabled:""}`,children:s})]}),n!==void 0&&e.jsx("span",{className:`${me.filterCount} ${r?me.filterCountDisabled:""}`,children:n})]}),sl="_section_6jsxa_5",al="_header_6jsxa_9",rl="_title_6jsxa_21",il="_chevron_6jsxa_29",ol="_chevronExpanded_6jsxa_37",ll="_content_6jsxa_41",cl="_contentExpanded_6jsxa_47",dl="_contentInner_6jsxa_51",ul="_showAllButton_6jsxa_55",hl="_showAllChevron_6jsxa_75",ml="_showAllChevronUp_6jsxa_82",pe={section:sl,header:al,title:rl,chevron:il,chevronExpanded:ol,content:ll,contentExpanded:cl,contentInner:dl,showAllButton:ul,showAllChevron:hl,showAllChevronUp:ml},fl=({title:t,children:s,defaultExpanded:n=!0,showAllText:a,showLessText:r,hasShowAll:i=!1,initialItemsToShow:c=5,className:l=""})=>{const{t:o}=ae(),[u,d]=g.useState(n),[h,m]=g.useState(!1),w=a??o("filter.show-all","Show all"),_=r??o("filter.show-less","Show less");g.useEffect(()=>{n&&!u&&d(!0)},[n]);const p=()=>{d(!u)},f=()=>{m(!h)},b=g.Children.toArray(s),C=i&&b.length>c,j=C&&!h?b.slice(0,c):b;return e.jsxs("div",{className:`${pe.section} ${l}`,children:[e.jsxs("button",{type:"button",className:pe.header,onClick:p,"aria-expanded":u,children:[e.jsx("span",{className:pe.title,children:t}),e.jsx("svg",{className:`${pe.chevron} ${u?pe.chevronExpanded:""}`,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),e.jsx("div",{className:`${pe.content} ${u?pe.contentExpanded:""}`,"aria-hidden":!u,children:e.jsxs("div",{className:pe.contentInner,children:[j,C&&e.jsxs("button",{type:"button",className:pe.showAllButton,onClick:f,children:[h?_:w,e.jsx("svg",{className:`${pe.showAllChevron} ${h?pe.showAllChevronUp:""}`,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})})]})},gl="_priceRangeWrapper_10ufi_5",pl="_priceInputs_10ufi_12",_l="_priceInputWrapper_10ufi_18",wl="_priceInput_10ufi_12",vl="_priceInputDivider_10ufi_41",xl="_histogram_10ufi_48",bl="_histogramBar_10ufi_56",Cl="_histogramBarActive_10ufi_64",yl="_sliderContainer_10ufi_69",jl="_sliderTrack_10ufi_75",Nl="_sliderActiveTrack_10ufi_86",kl="_sliderHandle_10ufi_95",Ml="_sliderHandleActive_10ufi_119",ne={priceRangeWrapper:gl,priceInputs:pl,priceInputWrapper:_l,priceInput:wl,priceInputDivider:vl,histogram:xl,histogramBar:bl,histogramBarActive:Cl,sliderContainer:yl,sliderTrack:jl,sliderActiveTrack:Nl,sliderHandle:kl,sliderHandleActive:Ml},Ll=[12,25,38,45,52,48,42,35,28,22,18,15,12,10,8,6,5,4,3,2],$l=({minPrice:t,maxPrice:s,value:n,onChange:a,onApply:r,histogram:i=Ll,currency:c,onDragStart:l,onDragEnd:o,debounceDelay:u=500})=>{const{t:d,currency:h}=ae(),m=c??h,w=g.useRef(null),[_,p]=g.useState(null),[f,b]=g.useState(!1),C=g.useRef(n),j=g.useRef(null),[W,z]=g.useState(""),[L,E]=g.useState(""),[P,S]=g.useState(!1),[v,A]=g.useState(!1),N=s-t,$=N>0?(n.min-t)/N*100:0,B=N>0?(n.max-t)/N*100:100,T=Math.max(...i,1),y=g.useCallback(I=>{const k=I/i.length*100,V=(I+1)/i.length*100;return k<B&&V>$},[i.length,$,B]),R=12,Q=g.useCallback(I=>{r&&(j.current&&clearTimeout(j.current),j.current=setTimeout(()=>{r(I)},u))},[r,u]),U=g.useCallback(I=>{if(!w.current||!_)return;const k=w.current.getBoundingClientRect(),V=k.width-R*2,ee=k.left+R,we=Math.max(0,Math.min(100,(I-ee)/V*100)),je=Math.round(t+we/100*N);let Te=n.min,dt=n.max;if(_==="min"){const Qe=Math.min(je,n.max-1);Te=Math.max(t,Qe)}else{const Qe=Math.max(je,n.min+1);dt=Math.min(s,Qe)}const Ke={min:Te,max:dt};a(Ke),C.current=Ke,f||Q(Ke)},[_,t,s,N,n,a,f,Q]),se=I=>k=>{k.preventDefault(),p(I),b(!0),l==null||l()},q=I=>k=>{k.preventDefault(),p(I),b(!0),l==null||l()},J=g.useCallback(()=>{f&&r&&r(C.current),p(null),b(!1),o==null||o()},[f,r,o]);g.useEffect(()=>{if(!_)return;const I=V=>{U(V.clientX)},k=V=>{V.touches.length>0&&U(V.touches[0].clientX)};return document.addEventListener("mousemove",I),document.addEventListener("mouseup",J),document.addEventListener("touchmove",k,{passive:!1}),document.addEventListener("touchend",J),()=>{document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",J),document.removeEventListener("touchmove",k),document.removeEventListener("touchend",J),j.current&&clearTimeout(j.current)}},[_,U,J]);const re=()=>{S(!0),z(n.min.toString())},Ce=()=>{A(!0),E(n.max.toString())},x=I=>{const k=I.target.value.replace(/[^0-9]/g,"");z(k)},D=I=>{const k=I.target.value.replace(/[^0-9]/g,"");E(k)},G=()=>{S(!1);const I=parseInt(W,10);if(!isNaN(I)){const V={min:Math.max(t,Math.min(I,n.max-1)),max:n.max};a(V),r&&Q(V)}},ye=()=>{A(!1);const I=parseInt(L,10);if(!isNaN(I)){const k=Math.min(s,Math.max(I,n.min+1)),V={min:n.min,max:k};a(V),r&&Q(V)}};return g.useEffect(()=>()=>{j.current&&clearTimeout(j.current)},[]),e.jsxs("div",{className:ne.priceRangeWrapper,children:[e.jsxs("div",{className:ne.priceInputs,children:[e.jsx("div",{className:ne.priceInputWrapper,children:e.jsx("input",{type:"text",inputMode:"numeric",className:ne.priceInput,value:P?W:`${m} ${n.min}`,onChange:x,onFocus:re,onBlur:G,"aria-label":d("filter.min-price","Minimum price")})}),e.jsx("div",{className:ne.priceInputDivider,children:"—"}),e.jsx("div",{className:ne.priceInputWrapper,children:e.jsx("input",{type:"text",inputMode:"numeric",className:ne.priceInput,value:v?L:`${m} ${n.max}`,onChange:D,onFocus:Ce,onBlur:ye,"aria-label":d("filter.max-price","Maximum price")})})]}),e.jsx("div",{className:ne.histogram,children:i.map((I,k)=>{const V=I/T*100,ee=y(k);return e.jsx("div",{className:`${ne.histogramBar} ${ee?ne.histogramBarActive:""}`,style:{height:`${Math.max(V,10)}%`}},k)})}),e.jsxs("div",{className:ne.sliderContainer,ref:w,children:[e.jsx("div",{className:ne.sliderTrack}),e.jsx("div",{className:ne.sliderActiveTrack,style:{left:`calc(12px + (100% - 24px) * ${$/100})`,width:`calc((100% - 24px) * ${(B-$)/100})`}}),e.jsx("div",{className:`${ne.sliderHandle} ${_==="min"?ne.sliderHandleActive:""}`,style:{left:`calc(12px + (100% - 24px) * ${$/100})`},onMouseDown:se("min"),onTouchStart:q("min"),role:"slider","aria-label":d("filter.min-price","Minimum price"),"aria-valuenow":n.min,"aria-valuemin":t,"aria-valuemax":n.max,tabIndex:0}),e.jsx("div",{className:`${ne.sliderHandle} ${_==="max"?ne.sliderHandleActive:""}`,style:{left:`calc(12px + (100% - 24px) * ${B/100})`},onMouseDown:se("max"),onTouchStart:q("max"),role:"slider","aria-label":d("filter.max-price","Maximum price"),"aria-valuenow":n.max,"aria-valuemin":n.min,"aria-valuemax":s,tabIndex:0})]})]})},Sl="_filterList_1qs1m_5",Dl="_starsContainer_1qs1m_10",Hl="_starIcon_1qs1m_16",Pl="_footer_1qs1m_22",Bl="_footerText_1qs1m_28",Re={filterList:Sl,starsContainer:Dl,starIcon:Hl,footer:Pl,footerText:Bl},Kt=[{value:"5",stars:5,label:null},{value:"4",stars:4,label:null},{value:"3",stars:3,label:null},{value:"2",stars:2,label:null},{value:"swiss_lodge",stars:0,label:"Swiss Lodge"},{value:"not_classified",stars:0,label:"No category"}],Il=({selected:t,counts:s={},onChange:n,className:a=""})=>{const{t:r}=ae(),i=l=>{t.includes(l)?n(t.filter(o=>o!==l)):n([...t,l])},c=l=>l.stars>0?null:l.value==="swiss_lodge"?r("filter.swiss-lodge","Swiss Lodge"):l.value==="not_classified"?r("filter.no-category","No category"):l.label;return e.jsxs("div",{className:a,children:[e.jsx("div",{className:Re.filterList,children:Kt.map(l=>{const o=s[l.value],u=o===0&&!t.includes(l.value);return e.jsx(We,{id:`category-${l.value}`,label:l.stars>0?e.jsx("div",{className:Re.starsContainer,children:Array.from({length:l.stars}).map((d,h)=>e.jsx("svg",{className:Re.starIcon,viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M12 0L14.6942 8.2918H23.4127L16.3593 13.4164L19.0534 21.7082L12 16.5836L4.94658 21.7082L7.64074 13.4164L0.587322 8.2918H9.30583L12 0Z"})},h))}):c(l),count:o,checked:t.includes(l.value),disabled:u,onChange:()=>i(l.value),trackName:`filter-category-${l.value}`},l.value)})}),e.jsx("div",{className:Re.footer,children:e.jsx("span",{className:Re.footerText,children:r("filter.hotellerie-suisse","Classification HotellerieSuisse")})})]})},Al="_filterList_1to6r_5",Wl="_filterRange_1to6r_10",Tl="_footer_1to6r_15",Rl="_footerText_1to6r_21",Fe={filterList:Al,filterRange:Wl,footer:Tl,footerText:Rl},Qt=[{value:"excellent",labelKey:"rating-excellent",range:"(4.4+)"},{value:"very_good",labelKey:"rating-very-good",range:"(4.1 – 4.3)"},{value:"good",labelKey:"rating-good",range:"(3.8 – 4.0)"},{value:"fair",labelKey:"rating-fair",range:"(3.5 – 3.7)"},{value:"no_rating",labelKey:"rating-none",range:""}],El=({selected:t,counts:s={},onChange:n,className:a="",isPlaceSearchActive:r=!1})=>{const{t:i}=ae(),c=o=>{t.includes(o)?n(t.filter(u=>u!==o)):n([...t,o])},l=o=>({"rating-excellent":i("label.rating-excellent","Excellent"),"rating-very-good":i("label.rating-very-good","Very Good"),"rating-good":i("label.rating-good","Good"),"rating-fair":i("label.rating-fair","Fair"),"rating-none":i("label.rating-none","No rating")})[o]??o;return e.jsxs("div",{className:a,children:[e.jsx("div",{className:Fe.filterList,children:Qt.map(o=>{const u=s[o.value],d=!r&&u===0&&!t.includes(o.value);return e.jsx(We,{id:`review-${o.value}`,label:e.jsxs(e.Fragment,{children:[l(o.labelKey),o.range&&e.jsxs("span",{className:Fe.filterRange,children:[" ",o.range]})]}),count:u,checked:t.includes(o.value),disabled:d,onChange:()=>c(o.value),trackName:`filter-review-${o.value}`},o.value)})}),e.jsx("div",{className:Fe.footer,children:e.jsx("span",{className:Fe.footerText,children:i("filter.trustyou","Reviews from TrustYou®")})})]})},zl="_filterList_1cd71_5",Vl="_showMoreBtn_1cd71_10",Fl="_arrowIcon_1cd71_30",Ol="_arrowUp_1cd71_41",Oe={filterList:zl,showMoreBtn:Vl,arrowIcon:Fl,arrowUp:Ol},Zl=({selected:t,themes:s=[],onChange:n,className:a=""})=>{const{t:r}=ae(),[i,c]=g.useState(!1),l=i?s:s.slice(0,5),o=s.length>5,u=d=>{t.includes(d)?n(t.filter(h=>h!==d)):n([...t,d])};return s.length===0?null:e.jsxs("div",{className:`${Oe.filterList} ${a}`,children:[l.map(d=>{const h=String(d.id),m=d.count===0&&!t.includes(h);return e.jsx(We,{id:`experience-${d.id}`,label:d.name,count:d.count>0?d.count:void 0,checked:t.includes(h),disabled:m,onChange:()=>u(h),trackName:`filter-experience-${d.id}`},d.id)}),o&&e.jsxs("button",{type:"button",className:Oe.showMoreBtn,onClick:()=>c(!i),children:[i?r("filter.show-less","Show less"):r("filter.show-all","Show all"),e.jsx("span",{className:`${Oe.arrowIcon} ${i?Oe.arrowUp:""}`,children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M9.36927 13.9061C9.71908 14.2535 10.2847 14.2535 10.6308 13.9061L16.4069 8.1803C16.7567 7.83285 16.7567 7.27102 16.4069 6.92727C16.0571 6.58352 15.4915 6.57983 15.1454 6.92727L10.0019 12.0247L4.85845 6.92727C4.50864 6.57983 3.94299 6.57983 3.5969 6.92727C3.25081 7.27472 3.24709 7.83655 3.5969 8.1803L9.37299 13.9061H9.36927Z",fill:"currentColor"})})})]})]})},Yl="_filterList_k73l5_10",ql="_regionItem_k73l5_16",Gl="_countryRow_k73l5_22",Jl="_countryRowExpanded_k73l5_37",Xl="_countryInfo_k73l5_46",Kl="_countryName_k73l5_53",Ql="_countBadge_k73l5_61",Ul="_chevron_k73l5_79",ec="_chevronExpanded_k73l5_87",tc="_subRegions_k73l5_92",nc="_mobileSelectAllActions_k73l5_104",sc="_selectAllBtn_k73l5_117",ac="_resetAllBtn_k73l5_118",ue={filterList:Yl,regionItem:ql,countryRow:Gl,countryRowExpanded:Jl,countryInfo:Xl,countryName:Kl,countBadge:Ql,chevron:Ul,chevronExpanded:ec,subRegions:tc,mobileSelectAllActions:nc,selectAllBtn:sc,resetAllBtn:ac},rc=({regions:t,selected:s,onChange:n,className:a="",isPlaceSearchActive:r=!1})=>{const{t:i}=ae(),[c,l]=g.useState(new Set(["country_215"])),o=g.useRef(!1);g.useEffect(()=>{if(o.current||t.length===0||s.length===0)return;const h=new Set;t.forEach(m=>{var w;(w=m.subRegions)!=null&&w.some(_=>s.includes(_.value))&&h.add(m.value)}),h.size>0&&(l(h),o.current=!0)},[t,s]);const u=h=>{l(m=>{const w=new Set(m);return w.has(h)?w.delete(h):w.add(h),w})},d=h=>{s.includes(h)?n(s.filter(m=>m!==h)):n([...s,h])};return t.length===0?null:e.jsx("div",{className:`${ue.filterList} ${a}`,children:t.map(h=>{const m=h.subRegions&&h.subRegions.length>0,w=c.has(h.value);return e.jsxs("div",{className:ue.regionItem,children:[e.jsxs("button",{type:"button",className:`${ue.countryRow} ${w?ue.countryRowExpanded:""}`,onClick:()=>u(h.value),"aria-expanded":w,disabled:r,children:[e.jsxs("div",{className:ue.countryInfo,children:[e.jsx("span",{className:ue.countryName,children:h.label}),h.count!==void 0&&e.jsx("span",{className:ue.countBadge,children:h.count})]}),m&&e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:`${ue.chevron} ${w?ue.chevronExpanded:""}`,children:e.jsx("path",{d:"M9.36927 13.9061C9.71908 14.2535 10.2847 14.2535 10.6308 13.9061L16.4069 8.18027C16.7567 7.83283 16.7567 7.271 16.4069 6.92725C16.0571 6.5835 15.4915 6.5798 15.1454 6.92725L10.0019 12.0247L4.85845 6.92725C4.50864 6.5798 3.94299 6.5798 3.5969 6.92725C3.25081 7.2747 3.24709 7.83652 3.5969 8.18027L9.37299 13.9061H9.36927Z",fill:"#6B7280"})})]}),m&&w&&(()=>{const _=h.subRegions.some(b=>b.count===void 0||b.count>0),p=h.subRegions.map(b=>b.value),f=p.some(b=>s.includes(b));return e.jsxs("div",{className:ue.mobileSelectAllActions,children:[e.jsx("button",{type:"button",className:ue.selectAllBtn,disabled:!_,onClick:()=>{const b=h.subRegions.filter(j=>j.count===void 0||j.count>0).map(j=>j.value),C=Array.from(new Set([...s,...b]));n(C)},children:i("filter.select-all","Select all")}),e.jsx("button",{type:"button",className:ue.resetAllBtn,disabled:!f,onClick:()=>{n(s.filter(b=>!p.includes(b)))},children:i("filter.reset","Reset")})]})})(),m&&w&&e.jsx("div",{className:ue.subRegions,children:h.subRegions.map(_=>{const p=_.count===0&&!s.includes(_.value)||r&&!s.includes(_.value);return e.jsx(We,{id:`region-${_.value}`,label:_.label,count:_.count,checked:s.includes(_.value),disabled:p,onChange:()=>d(_.value),trackName:`filter-region-${_.value}`},_.value)})})]},h.value)})})},ic="_filterList_pnmpu_5",oc={filterList:ic},Ge=({selected:t,counts:s={},options:n=[],onChange:a,className:r="",trackPrefix:i="filter"})=>{const c=l=>{t.includes(l)?a(t.filter(o=>o!==l)):a([...t,l])};return n.length===0?null:e.jsx("div",{className:`${oc.filterList} ${r}`,children:n.map(l=>{const o=s[l.key],u=o===0&&!t.includes(l.key);return e.jsx(We,{id:`${i}-${l.key}`,label:l.name,count:o,checked:t.includes(l.key),disabled:u,onChange:()=>c(l.key),trackName:`filter-${i}-${l.key}`},l.key)})})},lc=t=>e.jsx(Ge,{...t,trackPrefix:"meals"}),cc=t=>e.jsx(Ge,{...t,trackPrefix:"transport"}),dc=t=>e.jsx(Ge,{...t,trackPrefix:"wellness"}),uc="_container_ft4s7_5",hc="_chipsWrapper_ft4s7_10",mc="_selectedText_ft4s7_16",fc="_chips_ft4s7_10",gc="_clearAllBtn_ft4s7_34",Ee={container:uc,chipsWrapper:hc,selectedText:mc,chips:fc,clearAllBtn:gc},pc=({filters:t,onRemove:s,onClearAll:n,className:a=""})=>{const{t:r}=ae();return t.length===0?null:e.jsx("div",{className:`${Ee.container} ${a}`,children:e.jsxs("div",{className:Ee.chipsWrapper,children:[e.jsxs("p",{className:Ee.selectedText,children:[r("filter.selected","Selected:")," "]}),e.jsxs("div",{className:Ee.chips,children:[t.map(i=>e.jsx(ot,{label:i.label,size:"small",state:"idle",removable:!0,onRemove:()=>s(i)},i.id)),n&&e.jsx($e,{variant:"link",className:Ee.clearAllBtn,onClick:n,children:r("filter.clear-all","Clear all")})]})]})})},Ut=({filled:t=!1,className:s="",size:n=24})=>e.jsx("svg",{width:n,height:n,viewBox:"0 0 24 24",className:s,fill:t?"currentColor":"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"})});Ut.displayName="HeartIcon";const en=({filled:t=!0,className:s="",size:n=9})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 9 9",fill:"none",className:s,children:[e.jsx("g",{clipPath:"url(#clip0_star_icon)",children:e.jsx("path",{d:"M4.80018 0.366577C4.93104 0.366577 5.05173 0.440968 5.11135 0.557659L6.18011 2.66102L8.50521 3.03152C8.63462 3.05194 8.74222 3.14383 8.78294 3.26927C8.82365 3.39472 8.79021 3.53183 8.6986 3.62518L7.03366 5.29533L7.40155 7.6277C7.42191 7.75752 7.3681 7.88879 7.26195 7.9661C7.15581 8.04341 7.01476 8.05508 6.89843 7.99528L4.80018 6.92463L2.70192 7.99528C2.58559 8.05508 2.44454 8.04341 2.33839 7.9661C2.23225 7.88879 2.17844 7.75898 2.1988 7.6277L2.56523 5.29533L0.901751 3.62518C0.808689 3.53183 0.776699 3.39472 0.817413 3.26927C0.858128 3.14383 0.964277 3.05194 1.09515 3.03152L3.42024 2.66102L4.49045 0.557659C4.55007 0.440968 4.67076 0.366577 4.80163 0.366577H4.80018Z",fill:t?"#1F2937":"#D1D5DB"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_star_icon",children:e.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(0.800049 0.199951)"})})})]});en.displayName="StarIcon";const tn=({className:t="",size:s=20})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:t,children:e.jsx("polyline",{points:"15 18 9 12 15 6"})});tn.displayName="ChevronLeftIcon";const nn=({className:t="",size:s=20})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:t,children:e.jsx("polyline",{points:"9 18 15 12 9 6"})});nn.displayName="ChevronRightIcon";const sn=({className:t="",size:s=16})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 16 16",fill:"none",className:t,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1.5C5.51472 1.5 3.5 3.51472 3.5 6C3.5 7.52671 4.48181 9.28285 5.83073 10.8739C6.48993 11.6504 7.18485 12.3259 7.73205 12.8316C7.8331 12.9249 7.92519 13.0096 8.00599 13.0857C8.08539 13.0108 8.17547 12.9276 8.27398 12.8362C8.81849 12.3312 9.51007 11.656 10.1655 10.8792C11.5093 9.28692 12.5 7.52773 12.5 6C12.5 3.51472 10.4853 1.5 8 1.5ZM8 14C7.57347 14.4982 7.57321 14.498 7.57291 14.4977L7.57178 14.4967L7.56899 14.4942L7.56002 14.4864C7.5525 14.4798 7.54197 14.4706 7.52861 14.4588C7.5019 14.4353 7.46403 14.4016 7.41618 14.3584C7.3205 14.272 7.18745 14.1481 7.02576 13.9917C6.70282 13.6792 6.26632 13.238 5.81302 12.7042C4.89319 11.6202 3 9.61329 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6C13 9.61229 11.0969 11.6169 10.1732 12.6989C9.71743 13.2324 9.27901 13.6735 8.95477 13.9862C8.79239 14.1428 8.65889 14.267 8.56288 14.3537C8.51486 14.3971 8.47683 14.4309 8.45001 14.4545C8.43659 14.4664 8.42601 14.4757 8.41845 14.4823L8.40942 14.4902L8.40661 14.4927L8.40546 14.4937C8.40517 14.494 8.40492 14.4942 8 14ZM8 14L8.40492 14.4942C8.17766 14.6895 7.84451 14.6919 7.57291 14.4977L8 14Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 4.5C7.17157 4.5 6.5 5.17157 6.5 6C6.5 6.82843 7.17157 7.5 8 7.5C8.82843 7.5 9.5 6.82843 9.5 6C9.5 5.17157 8.82843 4.5 8 4.5ZM6 6C6 4.89543 6.89543 4 8 4C9.10457 4 10 4.89543 10 6C10 7.10457 9.10457 8 8 8C6.89543 8 6 7.10457 6 6Z",fill:"currentColor"})]});sn.displayName="PinIcon";const _c=(t,s="CHF",n="de-CH")=>new Intl.NumberFormat(n,{style:"currency",currency:s,minimumFractionDigits:0,maximumFractionDigits:0}).format(t);function _e(t){const s=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&s==="[object Date]"?new t.constructor(+t):typeof t=="number"||s==="[object Number]"||typeof t=="string"||s==="[object String]"?new Date(t):new Date(NaN)}function Pe(t,s){return t instanceof Date?new t.constructor(s):new Date(s)}const an=6048e5,wc=864e5,rn=6e4,on=36e5;let vc={};function Je(){return vc}function Be(t,s){var l,o,u,d;const n=Je(),a=(s==null?void 0:s.weekStartsOn)??((o=(l=s==null?void 0:s.locale)==null?void 0:l.options)==null?void 0:o.weekStartsOn)??n.weekStartsOn??((d=(u=n.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,r=_e(t),i=r.getDay(),c=(i<a?7:0)+i-a;return r.setDate(r.getDate()-c),r.setHours(0,0,0,0),r}function Ye(t){return Be(t,{weekStartsOn:1})}function ln(t){const s=_e(t),n=s.getFullYear(),a=Pe(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const r=Ye(a),i=Pe(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const c=Ye(i);return s.getTime()>=r.getTime()?n+1:s.getTime()>=c.getTime()?n:n-1}function vt(t){const s=_e(t);return s.setHours(0,0,0,0),s}function xt(t){const s=_e(t),n=new Date(Date.UTC(s.getFullYear(),s.getMonth(),s.getDate(),s.getHours(),s.getMinutes(),s.getSeconds(),s.getMilliseconds()));return n.setUTCFullYear(s.getFullYear()),+t-+n}function xc(t,s){const n=vt(t),a=vt(s),r=+n-xt(n),i=+a-xt(a);return Math.round((r-i)/wc)}function bc(t){const s=ln(t),n=Pe(t,0);return n.setFullYear(s,0,4),n.setHours(0,0,0,0),Ye(n)}function Cc(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function yc(t){if(!Cc(t)&&typeof t!="number")return!1;const s=_e(t);return!isNaN(Number(s))}function jc(t){const s=_e(t),n=Pe(t,0);return n.setFullYear(s.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Nc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kc=(t,s,n)=>{let a;const r=Nc[t];return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",s.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function fe(t){return(s={})=>{const n=s.width?String(s.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const Mc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Lc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$c={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Sc={date:fe({formats:Mc,defaultWidth:"full"}),time:fe({formats:Lc,defaultWidth:"full"}),dateTime:fe({formats:$c,defaultWidth:"full"})},Dc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Hc=(t,s,n,a)=>Dc[t];function X(t){return(s,n)=>{const a=n!=null&&n.context?String(n.context):"standalone";let r;if(a==="formatting"&&t.formattingValues){const c=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):c;r=t.formattingValues[l]||t.formattingValues[c]}else{const c=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;r=t.values[l]||t.values[c]}const i=t.argumentCallback?t.argumentCallback(s):s;return r[i]}}const Pc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ic={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ac={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Wc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Tc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Rc=(t,s)=>{const n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ec={ordinalNumber:Rc,era:X({values:Pc,defaultWidth:"wide"}),quarter:X({values:Bc,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:Ic,defaultWidth:"wide"}),day:X({values:Ac,defaultWidth:"wide"}),dayPeriod:X({values:Wc,defaultWidth:"wide",formattingValues:Tc,defaultFormattingWidth:"wide"})};function K(t){return(s,n={})=>{const a=n.width,r=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],i=s.match(r);if(!i)return null;const c=i[0],l=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],o=Array.isArray(l)?Vc(l,h=>h.test(c)):zc(l,h=>h.test(c));let u;u=t.valueCallback?t.valueCallback(o):o,u=n.valueCallback?n.valueCallback(u):u;const d=s.slice(c.length);return{value:u,rest:d}}}function zc(t,s){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&s(t[n]))return n}function Vc(t,s){for(let n=0;n<t.length;n++)if(s(t[n]))return n}function Xe(t){return(s,n={})=>{const a=s.match(t.matchPattern);if(!a)return null;const r=a[0],i=s.match(t.parsePattern);if(!i)return null;let c=t.valueCallback?t.valueCallback(i[0]):i[0];c=n.valueCallback?n.valueCallback(c):c;const l=s.slice(r.length);return{value:c,rest:l}}}const Fc=/^(\d+)(th|st|nd|rd)?/i,Oc=/\d+/i,Zc={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Yc={any:[/^b/i,/^(a|c)/i]},qc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gc={any:[/1/i,/2/i,/3/i,/4/i]},Jc={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Xc={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kc={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Qc={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Uc={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},e1={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},t1={ordinalNumber:Xe({matchPattern:Fc,parsePattern:Oc,valueCallback:t=>parseInt(t,10)}),era:K({matchPatterns:Zc,defaultMatchWidth:"wide",parsePatterns:Yc,defaultParseWidth:"any"}),quarter:K({matchPatterns:qc,defaultMatchWidth:"wide",parsePatterns:Gc,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:Jc,defaultMatchWidth:"wide",parsePatterns:Xc,defaultParseWidth:"any"}),day:K({matchPatterns:Kc,defaultMatchWidth:"wide",parsePatterns:Qc,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:Uc,defaultMatchWidth:"any",parsePatterns:e1,defaultParseWidth:"any"})},cn={code:"en-US",formatDistance:kc,formatLong:Sc,formatRelative:Hc,localize:Ec,match:t1,options:{weekStartsOn:0,firstWeekContainsDate:1}};function n1(t){const s=_e(t);return xc(s,jc(s))+1}function s1(t){const s=_e(t),n=+Ye(s)-+bc(s);return Math.round(n/an)+1}function dn(t,s){var d,h,m,w;const n=_e(t),a=n.getFullYear(),r=Je(),i=(s==null?void 0:s.firstWeekContainsDate)??((h=(d=s==null?void 0:s.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((w=(m=r.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,c=Pe(t,0);c.setFullYear(a+1,0,i),c.setHours(0,0,0,0);const l=Be(c,s),o=Pe(t,0);o.setFullYear(a,0,i),o.setHours(0,0,0,0);const u=Be(o,s);return n.getTime()>=l.getTime()?a+1:n.getTime()>=u.getTime()?a:a-1}function a1(t,s){var l,o,u,d;const n=Je(),a=(s==null?void 0:s.firstWeekContainsDate)??((o=(l=s==null?void 0:s.locale)==null?void 0:l.options)==null?void 0:o.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(u=n.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??1,r=dn(t,s),i=Pe(t,0);return i.setFullYear(r,0,a),i.setHours(0,0,0,0),Be(i,s)}function r1(t,s){const n=_e(t),a=+Be(n,s)-+a1(n,s);return Math.round(a/an)+1}function O(t,s){const n=t<0?"-":"",a=Math.abs(t).toString().padStart(s,"0");return n+a}const Le={y(t,s){const n=t.getFullYear(),a=n>0?n:1-n;return O(s==="yy"?a%100:a,s.length)},M(t,s){const n=t.getMonth();return s==="M"?String(n+1):O(n+1,2)},d(t,s){return O(t.getDate(),s.length)},a(t,s){const n=t.getHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,s){return O(t.getHours()%12||12,s.length)},H(t,s){return O(t.getHours(),s.length)},m(t,s){return O(t.getMinutes(),s.length)},s(t,s){return O(t.getSeconds(),s.length)},S(t,s){const n=s.length,a=t.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return O(r,s.length)}},Ae={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},bt={G:function(t,s,n){const a=t.getFullYear()>0?1:0;switch(s){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,s,n){if(s==="yo"){const a=t.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return Le.y(t,s)},Y:function(t,s,n,a){const r=dn(t,a),i=r>0?r:1-r;if(s==="YY"){const c=i%100;return O(c,2)}return s==="Yo"?n.ordinalNumber(i,{unit:"year"}):O(i,s.length)},R:function(t,s){const n=ln(t);return O(n,s.length)},u:function(t,s){const n=t.getFullYear();return O(n,s.length)},Q:function(t,s,n){const a=Math.ceil((t.getMonth()+1)/3);switch(s){case"Q":return String(a);case"QQ":return O(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,s,n){const a=Math.ceil((t.getMonth()+1)/3);switch(s){case"q":return String(a);case"qq":return O(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,s,n){const a=t.getMonth();switch(s){case"M":case"MM":return Le.M(t,s);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,s,n){const a=t.getMonth();switch(s){case"L":return String(a+1);case"LL":return O(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,s,n,a){const r=r1(t,a);return s==="wo"?n.ordinalNumber(r,{unit:"week"}):O(r,s.length)},I:function(t,s,n){const a=s1(t);return s==="Io"?n.ordinalNumber(a,{unit:"week"}):O(a,s.length)},d:function(t,s,n){return s==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Le.d(t,s)},D:function(t,s,n){const a=n1(t);return s==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):O(a,s.length)},E:function(t,s,n){const a=t.getDay();switch(s){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(t,s,n,a){const r=t.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(s){case"e":return String(i);case"ee":return O(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,s,n,a){const r=t.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(s){case"c":return String(i);case"cc":return O(i,s.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,s,n){const a=t.getDay(),r=a===0?7:a;switch(s){case"i":return String(r);case"ii":return O(r,s.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,s,n){const r=t.getHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,s,n){const a=t.getHours();let r;switch(a===12?r=Ae.noon:a===0?r=Ae.midnight:r=a/12>=1?"pm":"am",s){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,s,n){const a=t.getHours();let r;switch(a>=17?r=Ae.evening:a>=12?r=Ae.afternoon:a>=4?r=Ae.morning:r=Ae.night,s){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,s,n){if(s==="ho"){let a=t.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Le.h(t,s)},H:function(t,s,n){return s==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Le.H(t,s)},K:function(t,s,n){const a=t.getHours()%12;return s==="Ko"?n.ordinalNumber(a,{unit:"hour"}):O(a,s.length)},k:function(t,s,n){let a=t.getHours();return a===0&&(a=24),s==="ko"?n.ordinalNumber(a,{unit:"hour"}):O(a,s.length)},m:function(t,s,n){return s==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Le.m(t,s)},s:function(t,s,n){return s==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Le.s(t,s)},S:function(t,s){return Le.S(t,s)},X:function(t,s,n){const a=t.getTimezoneOffset();if(a===0)return"Z";switch(s){case"X":return yt(a);case"XXXX":case"XX":return He(a);case"XXXXX":case"XXX":default:return He(a,":")}},x:function(t,s,n){const a=t.getTimezoneOffset();switch(s){case"x":return yt(a);case"xxxx":case"xx":return He(a);case"xxxxx":case"xxx":default:return He(a,":")}},O:function(t,s,n){const a=t.getTimezoneOffset();switch(s){case"O":case"OO":case"OOO":return"GMT"+Ct(a,":");case"OOOO":default:return"GMT"+He(a,":")}},z:function(t,s,n){const a=t.getTimezoneOffset();switch(s){case"z":case"zz":case"zzz":return"GMT"+Ct(a,":");case"zzzz":default:return"GMT"+He(a,":")}},t:function(t,s,n){const a=Math.trunc(t.getTime()/1e3);return O(a,s.length)},T:function(t,s,n){const a=t.getTime();return O(a,s.length)}};function Ct(t,s=""){const n=t>0?"-":"+",a=Math.abs(t),r=Math.trunc(a/60),i=a%60;return i===0?n+String(r):n+String(r)+s+O(i,2)}function yt(t,s){return t%60===0?(t>0?"-":"+")+O(Math.abs(t)/60,2):He(t,s)}function He(t,s=""){const n=t>0?"-":"+",a=Math.abs(t),r=O(Math.trunc(a/60),2),i=O(a%60,2);return n+r+s+i}const jt=(t,s)=>{switch(t){case"P":return s.date({width:"short"});case"PP":return s.date({width:"medium"});case"PPP":return s.date({width:"long"});case"PPPP":default:return s.date({width:"full"})}},un=(t,s)=>{switch(t){case"p":return s.time({width:"short"});case"pp":return s.time({width:"medium"});case"ppp":return s.time({width:"long"});case"pppp":default:return s.time({width:"full"})}},i1=(t,s)=>{const n=t.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return jt(t,s);let i;switch(a){case"P":i=s.dateTime({width:"short"});break;case"PP":i=s.dateTime({width:"medium"});break;case"PPP":i=s.dateTime({width:"long"});break;case"PPPP":default:i=s.dateTime({width:"full"});break}return i.replace("{{date}}",jt(a,s)).replace("{{time}}",un(r,s))},o1={p:un,P:i1},l1=/^D+$/,c1=/^Y+$/,d1=["D","DD","YY","YYYY"];function u1(t){return l1.test(t)}function h1(t){return c1.test(t)}function m1(t,s,n){const a=f1(t,s,n);if(console.warn(a),d1.includes(t))throw new RangeError(a)}function f1(t,s,n){const a=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${s}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const g1=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,p1=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_1=/^'([^]*?)'?$/,w1=/''/g,v1=/[a-zA-Z]/;function x1(t,s,n){var d,h,m,w,_,p,f,b;const a=Je(),r=(n==null?void 0:n.locale)??a.locale??cn,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(d=n==null?void 0:n.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((w=(m=a.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((p=(_=n==null?void 0:n.locale)==null?void 0:_.options)==null?void 0:p.weekStartsOn)??a.weekStartsOn??((b=(f=a.locale)==null?void 0:f.options)==null?void 0:b.weekStartsOn)??0,l=_e(t);if(!yc(l))throw new RangeError("Invalid time value");let o=s.match(p1).map(C=>{const j=C[0];if(j==="p"||j==="P"){const W=o1[j];return W(C,r.formatLong)}return C}).join("").match(g1).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const j=C[0];if(j==="'")return{isToken:!1,value:b1(C)};if(bt[j])return{isToken:!0,value:C};if(j.match(v1))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");return{isToken:!1,value:C}});r.localize.preprocessor&&(o=r.localize.preprocessor(l,o));const u={firstWeekContainsDate:i,weekStartsOn:c,locale:r};return o.map(C=>{if(!C.isToken)return C.value;const j=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&h1(j)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&u1(j))&&m1(j,s,String(t));const W=bt[j[0]];return W(l,j,r.localize,u)}).join("")}function b1(t){const s=t.match(_1);return s?s[1].replace(w1,"'"):t}function Nt(t,s,n){const a=Be(t,n),r=Be(s,n);return+a==+r}function C1(t,s){const a=k1(t);let r;if(a.date){const o=M1(a.date,2);r=L1(o.restDateString,o.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const i=r.getTime();let c=0,l;if(a.time&&(c=$1(a.time),isNaN(c)))return new Date(NaN);if(a.timezone){if(l=S1(a.timezone),isNaN(l))return new Date(NaN)}else{const o=new Date(i+c),u=new Date(0);return u.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),u.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),u}return new Date(i+c+l)}const Ze={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},y1=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,j1=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,N1=/^([+-])(\d{2})(?::?(\d{2}))?$/;function k1(t){const s={},n=t.split(Ze.dateTimeDelimiter);let a;if(n.length>2)return s;if(/:/.test(n[0])?a=n[0]:(s.date=n[0],a=n[1],Ze.timeZoneDelimiter.test(s.date)&&(s.date=t.split(Ze.timeZoneDelimiter)[0],a=t.substr(s.date.length,t.length))),a){const r=Ze.timezone.exec(a);r?(s.time=a.replace(r[1],""),s.timezone=r[1]):s.time=a}return s}function M1(t,s){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+s)+"})|(\\d{2}|[+-]\\d{"+(2+s)+"})$)"),a=t.match(n);if(!a)return{year:NaN,restDateString:""};const r=a[1]?parseInt(a[1]):null,i=a[2]?parseInt(a[2]):null;return{year:i===null?r:i*100,restDateString:t.slice((a[1]||a[2]).length)}}function L1(t,s){if(s===null)return new Date(NaN);const n=t.match(y1);if(!n)return new Date(NaN);const a=!!n[4],r=ze(n[1]),i=ze(n[2])-1,c=ze(n[3]),l=ze(n[4]),o=ze(n[5])-1;if(a)return I1(s,l,o)?D1(s,l,o):new Date(NaN);{const u=new Date(0);return!P1(s,i,c)||!B1(s,r)?new Date(NaN):(u.setUTCFullYear(s,i,Math.max(r,c)),u)}}function ze(t){return t?parseInt(t):1}function $1(t){const s=t.match(j1);if(!s)return NaN;const n=tt(s[1]),a=tt(s[2]),r=tt(s[3]);return A1(n,a,r)?n*on+a*rn+r*1e3:NaN}function tt(t){return t&&parseFloat(t.replace(",","."))||0}function S1(t){if(t==="Z")return 0;const s=t.match(N1);if(!s)return 0;const n=s[1]==="+"?-1:1,a=parseInt(s[2]),r=s[3]&&parseInt(s[3])||0;return W1(a,r)?n*(a*on+r*rn):NaN}function D1(t,s,n){const a=new Date(0);a.setUTCFullYear(t,0,4);const r=a.getUTCDay()||7,i=(s-1)*7+n+1-r;return a.setUTCDate(a.getUTCDate()+i),a}const H1=[31,null,31,30,31,30,31,31,30,31,30,31];function hn(t){return t%400===0||t%4===0&&t%100!==0}function P1(t,s,n){return s>=0&&s<=11&&n>=1&&n<=(H1[s]||(hn(t)?29:28))}function B1(t,s){return s>=1&&s<=(hn(t)?366:365)}function I1(t,s,n){return s>=1&&s<=53&&n>=0&&n<=6}function A1(t,s,n){return t===24?s===0&&n===0:n>=0&&n<60&&s>=0&&s<60&&t>=0&&t<25}function W1(t,s){return s>=0&&s<=59}const kt={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},T1=(t,s,n)=>{let a;const r=n!=null&&n.addSuffix?kt[t].withPreposition:kt[t].standalone;return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",String(s)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:"vor "+a:a},R1={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},E1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},z1={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},V1={date:fe({formats:R1,defaultWidth:"full"}),time:fe({formats:E1,defaultWidth:"full"}),dateTime:fe({formats:z1,defaultWidth:"full"})},F1={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},O1=(t,s,n,a)=>F1[t],Z1={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},Y1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},st={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},q1={narrow:st.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:st.wide},G1={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},J1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},X1={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},K1=t=>Number(t)+".",Q1={ordinalNumber:K1,era:X({values:Z1,defaultWidth:"wide"}),quarter:X({values:Y1,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:st,formattingValues:q1,defaultWidth:"wide"}),day:X({values:G1,defaultWidth:"wide"}),dayPeriod:X({values:J1,defaultWidth:"wide",formattingValues:X1,defaultFormattingWidth:"wide"})},U1=/^(\d+)(\.)?/i,ed=/\d+/i,td={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},nd={any:[/^v/i,/^n/i]},sd={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},ad={any:[/1/i,/2/i,/3/i,/4/i]},rd={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},id={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},od={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},ld={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},cd={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},dd={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},ud={ordinalNumber:Xe({matchPattern:U1,parsePattern:ed,valueCallback:t=>parseInt(t)}),era:K({matchPatterns:td,defaultMatchWidth:"wide",parsePatterns:nd,defaultParseWidth:"any"}),quarter:K({matchPatterns:sd,defaultMatchWidth:"wide",parsePatterns:ad,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:rd,defaultMatchWidth:"wide",parsePatterns:id,defaultParseWidth:"any"}),day:K({matchPatterns:od,defaultMatchWidth:"wide",parsePatterns:ld,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:cd,defaultMatchWidth:"wide",parsePatterns:dd,defaultParseWidth:"any"})},mn={code:"de",formatDistance:T1,formatLong:V1,formatRelative:O1,localize:Q1,match:ud,options:{weekStartsOn:1,firstWeekContainsDate:4}},hd={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},md=(t,s,n)=>{let a;const r=hd[t];return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",String(s)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+a:"il y a "+a:a},fd={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},gd={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pd={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_d={date:fe({formats:fd,defaultWidth:"full"}),time:fe({formats:gd,defaultWidth:"full"}),dateTime:fe({formats:pd,defaultWidth:"full"})},wd={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},vd=(t,s,n,a)=>wd[t],xd={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},bd={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},Cd={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},yd={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},jd={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},Nd=(t,s)=>{const n=Number(t),a=s==null?void 0:s.unit;if(n===0)return"0";const r=["year","week","hour","minute","second"];let i;return n===1?i=a&&r.includes(a)?"ère":"er":i="ème",n+i},kd=["MMM","MMMM"],Md={preprocessor:(t,s)=>t.getDate()===1||!s.some(a=>a.isToken&&kd.includes(a.value))?s:s.map(a=>a.isToken&&a.value==="do"?{isToken:!0,value:"d"}:a),ordinalNumber:Nd,era:X({values:xd,defaultWidth:"wide"}),quarter:X({values:bd,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:Cd,defaultWidth:"wide"}),day:X({values:yd,defaultWidth:"wide"}),dayPeriod:X({values:jd,defaultWidth:"wide"})},Ld=/^(\d+)(ième|ère|ème|er|e)?/i,$d=/\d+/i,Sd={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},Dd={any:[/^av/i,/^ap/i]},Hd={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},Pd={any:[/1/i,/2/i,/3/i,/4/i]},Bd={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Id={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ad={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},Wd={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Td={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Rd={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Ed={ordinalNumber:Xe({matchPattern:Ld,parsePattern:$d,valueCallback:t=>parseInt(t)}),era:K({matchPatterns:Sd,defaultMatchWidth:"wide",parsePatterns:Dd,defaultParseWidth:"any"}),quarter:K({matchPatterns:Hd,defaultMatchWidth:"wide",parsePatterns:Pd,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:Bd,defaultMatchWidth:"wide",parsePatterns:Id,defaultParseWidth:"any"}),day:K({matchPatterns:Ad,defaultMatchWidth:"wide",parsePatterns:Wd,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:Td,defaultMatchWidth:"any",parsePatterns:Rd,defaultParseWidth:"any"})},zd={code:"fr",formatDistance:md,formatLong:_d,formatRelative:vd,localize:Md,match:Ed,options:{weekStartsOn:1,firstWeekContainsDate:4}},Vd={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},Fd=(t,s,n)=>{let a;const r=Vd[t];return typeof r=="string"?a=r:s===1?a=r.one:a=r.other.replace("{{count}}",s.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+a:a+" fa":a},Od={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Zd={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Yd={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},qd={date:fe({formats:Od,defaultWidth:"full"}),time:fe({formats:Zd,defaultWidth:"full"}),dateTime:fe({formats:Yd,defaultWidth:"full"})},ct=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function Gd(t){switch(t){case 0:return"'domenica scorsa alle' p";default:return"'"+ct[t]+" scorso alle' p"}}function Mt(t){return"'"+ct[t]+" alle' p"}function Jd(t){switch(t){case 0:return"'domenica prossima alle' p";default:return"'"+ct[t]+" prossimo alle' p"}}const Xd={lastWeek:(t,s,n)=>{const a=t.getDay();return Nt(t,s,n)?Mt(a):Gd(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(t,s,n)=>{const a=t.getDay();return Nt(t,s,n)?Mt(a):Jd(a)},other:"P"},Kd=(t,s,n,a)=>{const r=Xd[t];return typeof r=="function"?r(s,n,a):r},Qd={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},Ud={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},eu={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},tu={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},nu={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},su={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},au=(t,s)=>{const n=Number(t);return String(n)},ru={ordinalNumber:au,era:X({values:Qd,defaultWidth:"wide"}),quarter:X({values:Ud,defaultWidth:"wide",argumentCallback:t=>t-1}),month:X({values:eu,defaultWidth:"wide"}),day:X({values:tu,defaultWidth:"wide"}),dayPeriod:X({values:nu,defaultWidth:"wide",formattingValues:su,defaultFormattingWidth:"wide"})},iu=/^(\d+)(º)?/i,ou=/\d+/i,lu={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},cu={any:[/^a/i,/^(d|e)/i]},du={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},uu={any:[/1/i,/2/i,/3/i,/4/i]},hu={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},mu={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},fu={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},gu={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},pu={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},_u={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},wu={ordinalNumber:Xe({matchPattern:iu,parsePattern:ou,valueCallback:t=>parseInt(t,10)}),era:K({matchPatterns:lu,defaultMatchWidth:"wide",parsePatterns:cu,defaultParseWidth:"any"}),quarter:K({matchPatterns:du,defaultMatchWidth:"wide",parsePatterns:uu,defaultParseWidth:"any",valueCallback:t=>t+1}),month:K({matchPatterns:hu,defaultMatchWidth:"wide",parsePatterns:mu,defaultParseWidth:"any"}),day:K({matchPatterns:fu,defaultMatchWidth:"wide",parsePatterns:gu,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:pu,defaultMatchWidth:"any",parsePatterns:_u,defaultParseWidth:"any"})},vu={code:"it",formatDistance:Fd,formatLong:qd,formatRelative:Kd,localize:ru,match:wu,options:{weekStartsOn:1,firstWeekContainsDate:4}},xu={de:mn,en:cn,fr:zd,it:vu},at=(t,s="dd. MMM yyyy",n="de")=>{const a=typeof t=="string"?C1(t):t;return x1(a,s,{locale:xu[n]||mn})},bu=(t,s,n="de")=>{const a=at(t,"dd.",n),r=at(s,"dd. MMM yyyy",n);return`${a} - ${r}`},Cu=(t,s)=>t<=0?0:Math.round((t-s)/t*100);exports.Badge=rt;exports.Benefits=zt;exports.Block=Tt;exports.Button=$e;exports.CATEGORY_OPTIONS=Kt;exports.Card=It;exports.Checkbox=Dt;exports.CheckboxFilter=Ge;exports.ChevronLeftIcon=tn;exports.ChevronRightIcon=nn;exports.Chip=ot;exports.CollapsibleFilterSection=fl;exports.DateSelector=Zt;exports.Divider=St;exports.Dropdown=At;exports.DualCalendar=Ft;exports.ExperienceFilter=Zl;exports.FAQ=Et;exports.FilterCheckboxItem=We;exports.GuestContent=Yt;exports.GuestSelector=qt;exports.HeartIcon=Ut;exports.HotelCard=Oo;exports.HotelCardContent=Xt;exports.HotelCardImage=Jt;exports.HotelCardUIProvider=ar;exports.HotelCategoryFilter=Il;exports.Input=Wt;exports.LocationAutocomplete=Gt;exports.MealsFilter=lc;exports.MobileSortModal=ro;exports.Modal=Bt;exports.Pin=Vt;exports.PinIcon=sn;exports.PriceRangeFilter=$l;exports.REVIEW_OPTIONS=Qt;exports.RadioButton=Ht;exports.Rating=it;exports.RegionsFilter=rc;exports.ReviewCard=Rt;exports.ReviewsFilter=El;exports.SearchControlsBar=Ho;exports.SectionHeader=Pt;exports.SelectedFiltersRow=pc;exports.StarIcon=en;exports.TransportFilter=cc;exports.WellnessFilter=dc;exports.WhenContent=Ot;exports.calculateDiscount=Cu;exports.formatDate=at;exports.formatDateRange=bu;exports.formatPrice=_c;exports.translations=nt;exports.useDebounce=_r;exports.useResponsive=Ve;exports.useTranslation=lt;exports.useUIContext=ae;exports.useWindowData=qe;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|