{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":"/wellnesshotelrothfussde/","IsGroup":false,"ShouldOpenInNewTab":false,"CustomDomain":null,"ShouldWaitUntilDocumentReady":false,"Theme":{"Light":{"PrimaryColor":"#a0bd42","SecondaryColor":"#808080","BorderRadius":0.75,"Font":{"Default":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/96463/poppins-regular.ttf","Decorative":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/96463/poppins-regular.ttf","Body":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/96463/poppins-regular.ttf"}},"Dark":{"PrimaryColor":"#9fbc41","SecondaryColor":"#808080","BorderRadius":0.75,"Font":{"Default":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/96463/poppins-regular.ttf","Decorative":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/96463/poppins-regular.ttf","Body":"https://api-default.tocc.dirs21.de/v1/cdn/fonts/96463/poppins-regular.ttf"}}},"Occupancy":{"DefaultLos":1,"DefaultAdults":2,"DefaultChildren":[]},"ProductLimit":5,"HideChildrenInput":true},"Properties":[{"WidgetId":"ea94fe76-b047-46cf-a5cb-8c22fb3337cc","WidgetType":"quickbook","Description":"Default QuickBook","DisplayTheme":"Light","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"IsHorizontal":true,"IsJustButton":false,"HasSmallSearchButton":true,"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":true,"HasSmallSearchButton":true,"HasDropdownsOnTop":false,"Filter":"NoFilter","InputMode":"TravelPeriod","IsJustButton":false,"HasPromotionCode":false,"undefined":null,"PreselectedRoom":"null"}},{"WidgetId":"28cce54c-f7ba-4e43-8216-d368bf19ddd6","WidgetType":"roomList","Description":"Default QuickBook","DisplayTheme":"System","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"UsePages":false,"ItemsPerPage":5,"GroupFilter":"NoFilter","FilterMinimumPrice":50.0,"FilterMaximumPrice":65.0,"FilterPriceLap":5.0,"UseFilter":true,"UseCalendar":false,"RoomBuild":null,"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeImage":false,"SlideAnimation":true,"UseBullets":true,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"NoFilter"}},{"WidgetId":"bd1d0dfe-ec40-43db-ac1c-a187c41e5f06","WidgetType":"voucherShop","Description":"Default QuickBook","DisplayTheme":"System","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"VoucherBuild":"","UsePages":false,"ItemsPerPage":5,"UseFilter":true,"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"SlideAnimation":true,"UseBullets":true,"VoucherBuild":""}},{"WidgetId":"42e8a86c-9adc-4bf4-9820-918e21cf28f1","WidgetType":"availabilityCalendar","Description":"Default QuickBook","DisplayTheme":"System","IsCenteredAutomatically":false,"IsPrimaryConfig":true,"Fields":{"CustomLos":1,"HasAdditionalRow":true,"HasDoubleView":false,"HasPromotionCode":false,"HasLargeView":false,"ProductIds":[],"TariffIds":[],"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"HasLargeView":false,"HasAdditionalRow":true,"HasPromotionCode":false}},{"WidgetId":"51fca89a-3655-57f9-16fd-75ad9f414fac","WidgetType":"packageList","Description":"","DisplayTheme":"System","IsCenteredAutomatically":true,"IsPrimaryConfig":false,"Fields":{"UsePages":false,"ItemsPerPage":5,"GroupFilter":"NoFilter","FilterMinimumPrice":50.0,"FilterMaximumPrice":750.0,"FilterPriceLap":5.0,"UseFilter":true,"UseCalendar":true,"PreselectedCategory":null,"CustomStyles":"","UseCustomStyles":false},"WidgetProperties":{"IsHorizontal":null,"HasSmallSearchButton":null,"HasDropdownsOnTop":null,"Filter":"NoFilter","InputMode":"CheckInAndNights","PreselectedRoom":null,"IsJustButton":null,"HasPromotionCode":null,"OccupancyDiffersFromIBE":null,"CustomLOS":1,"CustomOccupancyAdults":2,"CustomOccupancyChildren":null,"MinimumPersons":1,"MaximumPersons":10,"SlideAnimation":true,"UseBullets":true,"UseFilter":true,"IsPagination":false,"ItemsPerPage":7,"VisiblePageCount":5,"FilterMinimumPrice":50,"FilterMaximumPrice":65,"FilterPriceLap":5,"GroupFilter":"null"}}]}');sessionStorage.setItem('d21_uuid', '61fa90bc-f602-4056-872c-274064de8e0b');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);}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.469'; voucherShop.async = true; voucherShop.type = 'module'; voucherShop.defer = true; document.body.appendChild(voucherShop);}}