{const urlParameters = new URL(window.location.href).searchParams;const isStagingFromLink = urlParameters.get('d21_widgets_staging');const isStagingBackEnd = false;if ((isStagingFromLink && isStagingBackEnd) || !isStagingFromLink) {const locale = document.querySelector('html').getAttribute('lang') || 'de-DE';const localeLoader = document.createElement('script');localeLoader.id = 'd21-locale';localeLoader.type = 'application/json';document.head.appendChild(localeLoader);fetch('https://js-sdk.dirs21.de/locale/' + locale + "?version=Default").then(async (x) => { x.json().then(t => document.querySelector('#d21-locale').innerHTML = JSON.stringify(t)); });const styles = document.createElement('style');styles.type = 'text/css';styles.id = 'd21-widget-style';styles.textContent = ``;document.head.appendChild(styles);sessionStorage.setItem('d21_config', '{"General":{"Directory":"/hotel-villa-saxer/","IsGroup":false,"ShouldOpenInNewTab":false,"CustomDomain":null,"ShouldWaitUntilDocumentReady":false,"Theme":{"Light":{"PrimaryColor":"#131616","SecondaryColor":"#5c5a5a","BorderRadius":0.5,"Font":{"Default":"Roboto","Decorative":"Roboto","Body":"Roboto"}},"Dark":{"PrimaryColor":"#2563eb","SecondaryColor":"#132228","BorderRadius":0.5,"Font":{"Default":"Rubik","Decorative":"Rubik","Body":"Rubik"}}},"Preselect":{"LOS":1,"Adults":2,"Children":[]},"ProductLimit":5,"HideChildrenInput":false},"Properties":[{"WidgetId":"cc5ab070-cf51-4465-a4e8-e6727a4fb4ee","WidgetType":"quickbook","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"IsHorizontal":true,"IsJustButton":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"InputMode":"TravelPeriod","Filter":"NoFilter","PreselectedRoom":"null","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":10,"MinimumPersons":1,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":true,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"TravelPeriod","IsJustButton":false,"HasPromotionCode":false,"PreselectedRoom":"null","OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"e52ab870-4c11-4add-a3ec-812c457466f0","WidgetType":"roomList","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":5,"GroupFilter":"NoFilter","HasFilterPrice":false,"FilterMinimumPrice":50.0,"FilterMaximumPrice":65.0,"FilterPriceLap":5.0,"UseFilter":false,"UseCalendar":true,"RoomBuild":"Default","PreselectedHotels":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"NoFilter","UseFilter":true,"IsPagination":false,"ItemsPerPage":7,"VisiblePageCount":5}},{"WidgetId":"e9b55be3-19ab-40e4-af6a-c7dbd67da38f","WidgetType":"packageList","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":5,"GroupFilter":"NoFilter","HasFilterPrice":false,"FilterMinimumPrice":50.0,"FilterMaximumPrice":65.0,"FilterPriceLap":5.0,"UseFilter":true,"UseCalendar":false,"PreselectedHotels":[],"PreselectedCategories":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"GroupFilter":"NoFilter"}},{"WidgetId":"5ea05f95-7eee-482a-8381-c7a58f3b4222","WidgetType":"voucherShop","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"VoucherBuild":"","UsePages":false,"ItemsPerPage":5,"UseFilter":true,"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"SlideAnimation":true,"UseBullets":true,"VoucherBuild":""}},{"WidgetId":"4ffa162e-039a-4313-a498-0f6d9119cc53","WidgetType":"availabilityCalendar","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"CustomLos":1,"HasAdditionalRow":true,"HasDoubleView":false,"HasPromotionCode":false,"HasLargeView":true,"ProductIds":[],"TariffIds":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeView":false,"HasAdditionalRow":true,"HasPromotionCode":false,"HasDoubleView":false,"CustomLOS":1,"RestrictToRoom":"null"}},{"WidgetId":"5828836c-be65-b66d-8db7-fdb39e660cdd","WidgetType":"quickbook","Description":"DZ Superior Plus mit Küche","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"TravelPeriod","Filter":"NoFilter","PreselectedRoom":"e8f8a748-4330-4b4c-b47f-7f5e32b42f89","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"cae09021-df71-c671-d7e0-b5eea9fbe77d","WidgetType":"quickbook","Description":"DZ Superior Plus","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"e1ccb95c-21ea-42b2-8a58-195075952395","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"70040a54-289b-90a3-a0db-0397f4919442","WidgetType":"quickbook","Description":"DZ Superior","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"d75dcc48-eff9-4d15-b797-00942b1123d4","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"19be0ef2-ff8b-db7a-53a2-1bd1bed9e8fb","WidgetType":"quickbook","Description":"DZ Komfort Plus","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"33770030-6c29-445c-b5ec-0586542d3836","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"2ec282b5-cfe2-7ad1-d3db-3b9155194147","WidgetType":"quickbook","Description":"DZ Komfort","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"d97bef2f-bf33-457d-841e-f37b4cdc6fd4","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"685f5f90-d2ce-31ed-c187-49be7ac844e0","WidgetType":"quickbook","Description":"EZ Komfort Plus","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"39e9f9f1-a663-4682-9c71-f585331ba6cc","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"bf7b2825-3077-84ce-7432-b2d96b1b9e6e","WidgetType":"quickbook","Description":"EZ Komfort","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"64ae052a-f59d-43a6-a1a3-43b408b770d4","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"09ebee98-2285-797e-5565-956efdbf5c44","WidgetType":"quickbook","Description":"Junior Suite","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":false,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":true,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"a3946457-b7ac-41ed-8e0a-f9e3bb828403","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"HasPromotionCode":false,"ExtraField":"None","PreselectedProperties":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":"null","IsJustButton":false,"HasPromotionCode":false,"OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}}]}');sessionStorage.setItem('d21_uuid', '192f0125-b84a-48da-9658-8f70ce474461');const d21_css = document.createElement('link');d21_css.href = 'https://v5.widgets.dirs21.de/style.css?v=5.0.0.0.672';d21_css.rel = 'stylesheet';document.head.appendChild(d21_css);const quickbook = document.createElement('script');quickbook.src = 'https://v5.widgets.dirs21.de/quickbook.js?v=5.0.0.0.672';quickbook.async = true;quickbook.type = 'module';quickbook.defer = true;document.body.appendChild(quickbook);if (Array.from(document.querySelectorAll('.d21-roomList, #d21-roomList')).length > 0) { const roomList = document.createElement('script'); roomList.src = 'https://v5.widgets.dirs21.de/roomList.js?v=5.0.0.0.672'; roomList.async = true; roomList.type = 'module'; roomList.defer = true; document.body.appendChild(roomList);}if (Array.from(document.querySelectorAll('.d21-packageList, #d21-packageList, #d21-widgets-packages')).length > 0) { const packageList = document.createElement('script'); packageList.src = 'https://v5.widgets.dirs21.de/packageList.js?v=5.0.0.0.672'; packageList.async = true; packageList.type = 'module'; packageList.defer = true; document.body.appendChild(packageList);}if (Array.from(document.querySelectorAll('.d21-availabilityCalendar, .d21-smallAvailabilityCalendar, #d21-bigAvailabilityCalendar, .d21-roomAvailability')).length > 0) { const availabilityCalendar = document.createElement('script'); availabilityCalendar.src = 'https://v5.widgets.dirs21.de/availabilityCalendar.js?v=5.0.0.0.672'; availabilityCalendar.async = true; availabilityCalendar.type = 'module'; availabilityCalendar.defer = true; document.body.appendChild(availabilityCalendar);}if (Array.from(document.querySelectorAll('.d21-voucherShop')).length > 0) { const voucherShop = document.createElement('script'); voucherShop.src = 'https://v5.widgets.dirs21.de/voucherShop.js?v=5.0.0.0.672'; voucherShop.async = true; voucherShop.type = 'module'; voucherShop.defer = true; document.body.appendChild(voucherShop);}} else { const scriptElement = document.querySelector("script[src*='192f0125-b84a-48da-9658-8f70ce474461']"); let src = scriptElement.src; src = src.replace('js-sdk.dirs21.de', 'js-sdk-staging.dirs21.de'); src = src.replace('&?', '?'); src = src.replace('?&', '?'); scriptElement.remove(); const newScript = document.createElement('script'); newScript.src = src; document.body.appendChild(newScript); let labelStaging = document.createElement('div'); labelStaging.innerHTML = 'Staging'; labelStaging.classList.add('d21-label-staging-mode'); document.body.appendChild(labelStaging);}}