{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":"/v8hotelde/","IsGroup":false,"ShouldOpenInNewTab":false,"CustomDomain":null,"ShouldWaitUntilDocumentReady":null,"Theme":{"Light":{"PrimaryColor":"#ff6600","SecondaryColor":"#cccccc","BorderRadius":0.5,"Font":{"Default":"Montserrat","Decorative":"Montserrat","Body":"Montserrat"}},"Dark":{"PrimaryColor":"#ff6600","SecondaryColor":"#ff6600","BorderRadius":0.5,"Font":{"Default":"Montserrat","Decorative":"Montserrat","Body":"Montserrat"}}},"Occupancy":{"DefaultLos":1,"DefaultAdults":2,"DefaultChildren":[]},"ProductLimit":5,"HideChildrenInput":false},"Properties":[{"WidgetId":"a5b30054-0ec3-41d4-acaf-c313f09fea7a","WidgetType":"quickbook","Description":null,"DisplayTheme":null,"IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"IsHorizontal":false,"IsJustButton":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":false,"InputMode":"1","Filter":"NoFilter","PreselectedRoom":null,"HasSlimMode":false,"OccupancyDiffersFromIBE":false,"CustomLos":-1,"CustomOccupancyAdults":-1,"CustomOccupancyChildren":[],"MaximumPersons":0,"MinimumPersons":0,"_uuid":"a5b30054-0ec3-41d4-acaf-c313f09fea7a","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":false,"HasSmallSearchButton":true,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":1,"IsJustButton":false,"HasPromotionCode":null}},{"WidgetId":"68dd8101-2c85-4907-b984-2541b812c815","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,"_uuid":"68dd8101-2c85-4907-b984-2541b812c815","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"NoFilter"}},{"WidgetId":"26ee1c94-24fd-46cd-a407-a0cba09b90ea","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":"26ee1c94-24fd-46cd-a407-a0cba09b90ea","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"GroupFilter":"NoFilter"}},{"WidgetId":"52f6b0e6-37b2-4c6e-b57b-181960f4f68e","WidgetType":"voucherShop","Description":null,"DisplayTheme":null,"IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"VoucherBuild":"","UsePages":false,"ItemsPerPage":-1,"UseFilter":false,"_uuid":"52f6b0e6-37b2-4c6e-b57b-181960f4f68e","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"SlideAnimation":true,"UseBullets":true,"VoucherBuild":""}},{"WidgetId":"0de8694a-bd38-4932-9ed3-93166a46f405","WidgetType":"availabilityCalendar","Description":null,"DisplayTheme":null,"IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"CustomLos":-1,"HasAdditionalRow":true,"HasDoubleView":false,"HasPromotionCode":false,"HasLargeView":false,"ProductIds":[],"TariffIds":[],"_uuid":"0de8694a-bd38-4932-9ed3-93166a46f405","CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeView":false,"HasAdditionalRow":true,"HasPromotionCode":false}}]}';document.head.appendChild(settings);sessionStorage.setItem('d21_uuid', '65a2a55d-5975-46a5-b47f-ca1f55ee8d73');const d21_css = document.createElement('link');d21_css.href = 'https://v5.widgets.dirs21.de/style.css?v=5.0.0.0.400';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.400';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.400'; 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.400'; 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.400'; 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.400'; voucherShop.async = true; voucherShop.type = 'module'; voucherShop.defer = true; document.body.appendChild(voucherShop);}}