{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).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 = `.d21-container-view {
background-color: #fdf8d1 !important;
}.d21-container-view {
background-color: #fdf8d1 !important;
}.d21-container-view {
background-color: #fdf8d1 !important;
}`;document.head.appendChild(styles);sessionStorage.setItem('d21_config', '{"General":{"Directory":"/jaegerhof-willebadessende/","IsGroup":false,"ShouldOpenInNewTab":false,"CustomDomain":null,"ShouldWaitUntilDocumentReady":false,"Theme":{"Light":{"PrimaryColor":"#c12c26","SecondaryColor":"#5c5a5a","BorderRadius":0.0,"Font":{"Default":"Rubik","Decorative":"Rubik","Body":"Rubik"}},"Dark":{"PrimaryColor":"#2563eb","SecondaryColor":"#132228","BorderRadius":0.5,"Font":{"Default":"Rubik","Decorative":"Rubik","Body":"Rubik"}}},"Occupancy":{"DefaultLos":1,"DefaultAdults":2,"DefaultChildren":[]},"ProductLimit":5,"HideChildrenInput":false},"Properties":[{"WidgetId":"948785bd-a674-4933-af99-76dd72be7491","WidgetType":"quickbook","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"IsHorizontal":false,"IsJustButton":true,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"InputMode":"TravelPeriod","Filter":"NoFilter","PreselectedRoom":"null","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MaximumPersons":10,"MinimumPersons":1,"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"TravelPeriod","IsJustButton":true,"HasPromotionCode":false,"PreselectedRoom":"null","OccupancyDiffersFromIBE":false,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":[],"MinimumPersons":1,"MaximumPersons":10}},{"WidgetId":"df7388a3-4195-43ed-84b1-086d2d63e500","WidgetType":"roomList","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":0,"GroupFilter":"NoFilter","FilterMinimumPrice":0.0,"FilterMaximumPrice":0.0,"FilterPriceLap":0.0,"UseFilter":false,"UseCalendar":true,"RoomBuild":null,"CustomStyles":null,"UseCustomStyles":true},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"NoFilter","IsPagination":false,"ItemsPerPage":7,"VisiblePageCount":5,"UseFilter":true}},{"WidgetId":"a73410cd-fe6b-4321-8e17-d6d4546bb280","WidgetType":"packageList","Description":"Arrangements","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":0,"GroupFilter":"NoFilter","FilterMinimumPrice":50.0,"FilterMaximumPrice":65.0,"FilterPriceLap":5.0,"UseFilter":false,"UseCalendar":true,"PreselectedCategory":null,"CustomStyles":null,"UseCustomStyles":true},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"GroupFilter":"NoFilter","IsPagination":false,"ItemsPerPage":7,"VisiblePageCount":5,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"UseFilter":true}},{"WidgetId":"7ecdc82d-fbfa-4102-af3c-14a1bd58188c","WidgetType":"availabilityCalendar","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"CustomLos":0,"HasAdditionalRow":false,"HasDoubleView":true,"HasPromotionCode":false,"HasLargeView":true,"ProductIds":[],"TariffIds":null,"CustomStyles":null,"UseCustomStyles":true},"WidgetProperties":{"HasLargeView":true,"HasAdditionalRow":true,"HasPromotionCode":true,"HasDoubleView":true,"CustomLOS":1,"RestrictToRoom":"null"}}]}');sessionStorage.setItem('d21_uuid', 'bbcd6425-bce0-403c-8de2-a842841ce6c0');const d21_css = document.createElement('link');d21_css.href = 'https://v5.widgets.dirs21.de/style.css?v=5.0.0.0.469';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.469';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.469'; 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.469'; 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.469'; availabilityCalendar.async = true; availabilityCalendar.type = 'module'; availabilityCalendar.defer = true; document.body.appendChild(availabilityCalendar);}}