{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 settings = document.createElement('script');settings.id = 'd21-widget-settings';settings.type = 'application/json';settings.text = '{"General":{"Directory":"/hotelzur-postde/","IsGroup":false,"ShouldOpenInNewTab":false,"CustomDomain":null,"ShouldWaitUntilDocumentReady":null,"Theme":{"Light":{"PrimaryColor":"#b39269","SecondaryColor":"#39140c","BorderRadius":0.5,"Font":{"Default":"Rubik","Decorative":"Open Sans","Body":"Open Sans"}},"Dark":{"PrimaryColor":"#b39269","SecondaryColor":"#39140c","BorderRadius":0.5,"Font":{"Default":"Rubik","Decorative":"Rubik","Body":"Rubik"}}},"Occupancy":{"DefaultLos":1,"DefaultAdults":2,"DefaultChildren":[]},"ProductLimit":5,"HideChildrenInput":false},"Properties":[{"WidgetId":"2f5d286a-75f8-4390-8bc6-5ee943e141e8","WidgetType":"quickbook","Description":null,"DisplayTheme":"System","IsCenteredAutomatically":true,"IsPrimaryConfig":true,"Fields":{"IsHorizontal":true,"IsJustButton":false,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"InputMode":"CheckInAndNights","Filter":"NoFilter","PreselectedRoom":"null","HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":-1,"CustomOccupancyAdults":-1,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"_uuid":"2f5d286a-75f8-4390-8bc6-5ee943e141e8","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":true,"HasSmallSearchButton":false,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"CheckInAndNights","IsJustButton":false,"HasPromotionCode":false,"undefined":null,"PreselectedRoom":"null"}},{"WidgetId":"8e825fc2-6481-4f16-8ace-15d8dbbc532e","WidgetType":"roomList","Description":null,"DisplayTheme":"System","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":7,"GroupFilter":"NoFilter","FilterMinimumPrice":50.0,"FilterMaximumPrice":65.0,"FilterPriceLap":5.0,"UseFilter":true,"_uuid":"8e825fc2-6481-4f16-8ace-15d8dbbc532e","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"NoFilter","undefined":null,"UseFilter":true,"IsPagination":false,"ItemsPerPage":7,"VisiblePageCount":5}},{"WidgetId":"cec38b1f-351e-46e6-ab90-401c7452dfbd","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,"_uuid":"cec38b1f-351e-46e6-ab90-401c7452dfbd","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"GroupFilter":"NoFilter"}},{"WidgetId":"4e866dc8-231d-4056-beab-42ae440f8c3c","WidgetType":"availabilityCalendar","Description":null,"DisplayTheme":"System","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"CustomLos":1,"HasAdditionalRow":true,"HasDoubleView":false,"HasPromotionCode":false,"HasLargeView":true,"ProductIds":[],"TariffIds":[],"_uuid":"4e866dc8-231d-4056-beab-42ae440f8c3c","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeView":true,"HasAdditionalRow":true,"HasPromotionCode":false,"HasDoubleView":false,"CustomLOS":1,"RestrictToRoom":"null"}}]}';document.head.appendChild(settings);sessionStorage.setItem('d21_uuid', '9ce1da75-6c56-4d8b-bb4d-816c07b91b61');const d21_css = document.createElement('link');d21_css.href = 'https://v5.widgets.dirs21.de/style.css?v=5.0.0.0.411';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.411';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.411'; 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.411'; 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.411'; availabilityCalendar.async = true; availabilityCalendar.type = 'module'; availabilityCalendar.defer = true; document.body.appendChild(availabilityCalendar);}}