{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 = ``;document.head.appendChild(styles);sessionStorage.setItem('d21_config', '{"General":{"Directory":"/hotel-vater-rheinde/","IsGroup":false,"ShouldOpenInNewTab":false,"CustomDomain":null,"ShouldWaitUntilDocumentReady":null,"Theme":{"Light":{"PrimaryColor":"#0055b8","SecondaryColor":"#efefef","BorderRadius":0.3,"Font":{"Default":"Open Sans","Decorative":"Open Sans","Body":"Open Sans"}},"Dark":{"PrimaryColor":"#5E8286","SecondaryColor":"#AAAD85","BorderRadius":0.3,"Font":{"Default":"Open Sans","Decorative":"Open Sans","Body":"Open Sans"}}},"Occupancy":{"DefaultLos":1,"DefaultAdults":1,"DefaultChildren":[]},"ProductLimit":5,"HideChildrenInput":false},"Properties":[{"WidgetId":"77102706-d675-4224-ab0f-bcc36abc5b66","WidgetType":"quickbook","Description":null,"DisplayTheme":"System","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":false,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"null","HasSlimMode":false,"OccupancyDiffersFromIBE":true,"CustomLos":-1,"CustomOccupancyAdults":1,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"_uuid":"77102706-d675-4224-ab0f-bcc36abc5b66","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","IsJustButton":false,"HasPromotionCode":false,"undefined":null,"PreselectedRoom":"null","OccupancyDiffersFromIBE":true,"CustomOccupancyChildren":[],"CustomOccupancyAdults":1}},{"WidgetId":"ce0436f9-c205-4180-8807-d9c9f7bd6a15","WidgetType":"roomList","Description":null,"DisplayTheme":null,"IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":-1,"GroupFilter":"NoFilter","FilterMinimumPrice":50.0,"FilterMaximumPrice":65.0,"FilterPriceLap":5.0,"UseFilter":false,"UseCalendar":true,"_uuid":"ce0436f9-c205-4180-8807-d9c9f7bd6a15","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"NoFilter"}},{"WidgetId":"dec7116c-71ed-4386-b4db-dba0f9329bf8","WidgetType":"packageList","Description":null,"DisplayTheme":null,"IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":-1,"GroupFilter":"NoFilter","FilterMinimumPrice":-1.0,"FilterMaximumPrice":-1.0,"FilterPriceLap":-1.0,"UseFilter":false,"UseCalendar":true,"_uuid":"dec7116c-71ed-4386-b4db-dba0f9329bf8","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"GroupFilter":"NoFilter"}},{"WidgetId":"5d8d9340-f3e8-4156-81a1-c26d09b84963","WidgetType":"voucherShop","Description":null,"DisplayTheme":null,"IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"VoucherBuild":"","UsePages":false,"ItemsPerPage":-1,"UseFilter":false,"_uuid":"5d8d9340-f3e8-4156-81a1-c26d09b84963","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"SlideAnimation":true,"UseBullets":true,"VoucherBuild":""}},{"WidgetId":"66ccfe09-1665-4615-8517-281786bba6d1","WidgetType":"availabilityCalendar","Description":null,"DisplayTheme":null,"IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"CustomLos":-1,"HasAdditionalRow":true,"HasDoubleView":false,"HasPromotionCode":false,"HasLargeView":false,"ProductIds":[],"TariffIds":[],"_uuid":"66ccfe09-1665-4615-8517-281786bba6d1","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeView":false,"HasAdditionalRow":true,"HasPromotionCode":false}}]}');sessionStorage.setItem('d21_uuid', 'ddbdb8fb-59b1-45c5-a494-672ce7a3e680');const d21_css = document.createElement('link');d21_css.href = 'https://v5.widgets.dirs21.de/style.css?v=5.0.0.0.424';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.424';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.424'; 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.424'; 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.424'; 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.424'; voucherShop.async = true; voucherShop.type = 'module'; voucherShop.defer = true; document.body.appendChild(voucherShop);}}