if (!window['d21_sdk_initialized']) {window['d21_sdk_initialized'] = true;var d21_uuid='2843e88b-3c3d-47d3-98aa-73be0c4c37e3';var d21_culture='';var d21_widget_url='https://widgets-default.dirs21.de';var d21_app_version='1.1.5.046';var d21_allowed_languages='pl-PL,ar-SA,de-CH,de-DE,de-AT,en-US,en-GB,es-ES,fr-FR,it-IT,nl-NL,ru-RU,zh-CN,da-DK,sv-SE';var d21_socket_host='http://tocc-socket-pub.default.svc.cluster.local:3003';var d21_tocc_host='https://api-default.tocc.dirs21.de';var d21_cdn_url='https://api-default.tocc.dirs21.de/v1/cdn';var d21_tourdata_url='https://www.dirs21.de/TourData';var d21_ibe_api_host='https://ibe-api-v4-default.dirs21.de';var d21_config=JSON.parse('{"Amenities":[],"AvailCalendar":{"IsActive":false,"IsIBETrigger":false,"WeekCount":2},"Chat":{"IsActive":null},"CustomCode":{"Code":null,"IsActive":false},"DisplayMode":"ArrivalLos","EventList":{"DefaultPageSize":10,"HasCalendar":true,"HasFilter":false,"IsActive":false},"FieldText":{"Version":{"Key":null}},"GoogleAnalytics":{"Code":null,"ForeignType":0,"HasCrossDomainTracking":false,"InvocationType":null,"IsActive":false,"ProviderID":null,"Steps":null,"TrackingGroup":null,"TrackingId":null,"Type":0,"UACode":null},"HourlyTick":null,"IBE":{"AddOnLimit":10,"Affiliates":[{"_id":3,"IsActive":false,"Name":null,"Type":"BahnBonus"},{"_id":12,"IsActive":false,"Name":null,"Type":"MilesAndMore"}],"Broker_Token":"X5ypJJ","Channel":"www.meiers-zum-weissen-ross.de","Channel_Token":"VVmVmY","City":{"Content":{"Description":"Umgrenzt von Kornfeldern und den tiefen Buchenwäldern des Elms, liegt die bezaubernde KleinstadtKönigslutter. Die Wandergebiete des Naturparks Elm - Lappwald beginnen unmittelbar vor der Haustür.","Keywords":["Königslutter, Bornum, Harz, Braunschweiger Land,"],"Name":"Königslutter","Notes":null,"Slogan":"."},"Country":{"Capital":null,"Currencies":[],"ISO3166_2":null,"ISO3166_3":null,"LanguageCodes":[],"Name":null,"_id":0},"Directory":"/harz/koenigslutter","GeoCoordinate":{"Altitude":null,"Latitude":52.2535,"Longitude":10.8121,"_id":0},"GroupIDs":[1,53,40077,40084],"PostalCodes":["38150","38151","38152","38154"],"State":{"Country":{"Capital":null,"Currencies":[],"ISO3166_2":null,"ISO3166_3":null,"LanguageCodes":[],"Name":null,"_id":0},"Name":null,"_id":0},"WeatherLink":"home.wetteronline.de/cgi-bin/nph-h?PLZ=38154&PLZN=Königslutter&L=de","_id":0},"Commission":0.0,"Content":{"Notes":null},"CreditCard":{"HasCvc":null,"HasTwoFactorAuth":true,"IsActive":false,"IsGenerallyDisabled":false,"IsSelectedByHost":true},"CSSSelectors":[],"Currency":{"HasCustomSet":null,"HasIcons":false,"IsConvertActive":false,"Set":[],"Standard":"1"},"DeutscheBahn":{"Channel":{},"IsActive":null},"Directory":"/meiers-zum-weissen-rossde/","EarliestArrival":null,"FieldtextGroup":"-1","GroupID":-1,"Guests":{"RequestDataFor":null,"ShowDateOfBirthFor":null},"InputFields":{"Billing":{"IsRequired":null,"IsVisible":null,"IsUnfolded":null},"City":{"IsRequired":true,"IsVisible":true},"Company":{"IsRequired":false,"IsVisible":true},"ContactPersonName":{"IsRequired":null,"IsVisible":null},"Country":{"IsRequired":true,"IsVisible":true},"DateOfBirthAdults":{"IsRequired":null,"IsVisible":null},"DateOfBirthChildren":{"IsRequired":null,"IsVisible":null},"Fax":{"IsRequired":null,"IsVisible":null},"FirstName":{"IsRequired":true,"IsVisible":true},"GuestDataAdults":{"IsRequired":null,"IsVisible":null},"GuestDataChildren":{"IsRequired":null,"IsVisible":null},"Mail":{"IsRequired":true,"IsVisible":true},"Mobile":{"IsRequired":true,"IsVisible":true},"Name":{"IsRequired":true,"IsVisible":true},"Newsletter":{"IsRequired":null,"IsVisible":null},"PurposeOfTravel":{"IsRequired":null,"IsVisible":null},"Salutation":{"IsRequired":true,"IsVisible":true},"Street":{"IsRequired":true,"IsVisible":true},"Telephone":{"IsRequired":null,"IsVisible":null},"Title":{"IsRequired":null,"IsVisible":null},"VAT":{"IsRequired":null,"IsVisible":null},"ZIP":{"IsRequired":true,"IsVisible":true}},"Insurance":{"AgencyNumber":"False","Channel":"","IsActive":false,"ListType":null},"IsActive":true,"Language":{"Default":"-1","HasChangeActive":false,"HasCustomSet":null,"Set":[]},"Logo":null,"PartnerCode":null,"PartnerProgrammID":"-1","Payment":{"IsActive":null,"Overwrites":{"Guarantee":{"Conditions":{"PaymentMethods":[],"PrePaymentGreaterThen":null},"IsActive":false}},"Sets":[],"Settings":{"HasCardCheck":false,"HasOptionalPayment":false},"Token":{"Provider":null}},"PopUp":{"IsActive":null},"PriceComparison":{"IsActive":null,"Provider":{"Name":null}},"Property_Token":"YxApmm","Rates":{"OrderBy":null},"Region":{"Name":null,"_id":0},"RoomLimit":10,"RoomList":{"OrderBy":null},"Settings":{"AvailablePeriod":{"Unit":"months","Value":null},"CustomCookieBanner":null,"DomainsAllowed":["*.dirs21.de"],"Features":[],"GoogleMapsLink":null,"Group":{"HasPriceSortingAscending":false,"HasPriceSortingDescending":false,"Occupancy":{"MaxOccupancy":null,"MinOccupancy":null}},"HasAddOnsAccordion":false,"HasAdvancedCookie":true,"HasAffiliate":null,"HasAffiliateMultipleSelection":false,"HasAllGuestsObligatory":null,"HasAllowLoyaltyAffiliatesSelectionMix":false,"HasAlreadyBookedPeriod":false,"HasAlternativeProperties":null,"HasArrivalTimeDropdown":null,"HasBookingConditions":null,"HasCallUsTextIfNoAvailability":null,"HasChargeableButton":null,"HasChildSelectDisabled":null,"HasCitySelection":false,"HasCustomConfirmationField":null,"HasDataPrivacyRegulation":null,"HasGalleryInGrid":null,"HasGuaranteeFollowUp":null,"HasGuestNotesField":null,"HasGuestQuestions":null,"HasGuestQuestionsOpened":null,"HasHotelAddressFieldActive":false,"HasIBEAsRoomList":null,"HasImageHint":null,"HasLeadSourceField":null,"HasMapsLink":false,"HasPaymentPreview":null,"HasPriceShownPerNight":null,"HasPromotionCodeInConfirmVisible":null,"HasPromotionCodeVisible":false,"HasRateDescriptionVisible":null,"HasRatesOnlyInRoomGrid":null,"HasRecaptchaField":null,"HasRoomGroups":null,"HasSpecialClassification":false,"HasStickyHeader":null,"HotelierIBE":{"HasCustomConfirmationField":null,"HasLeadSourceField":null,"IgnoreCreditCard":null,"IsActive":null,"IsFullAvailabilityVisible":null},"IsABTestingActive":null,"IsDuplicateNameCheckActive":null,"IsFullAvailabilityVisible":null,"IsPaymentDisabledForPrepayment":false,"IsProductLocationFilterEnabled":null,"IsQuickbookCalendar":null,"Notifications":{"HasNoGuestNotification":false,"HasNoHostNotification":false},"SeperatorPrices":"","ShouldAllowLowerPricesWithChildren":null,"ShouldPreventCookieOverlay":null,"UseReworkedCalendarValidation":null},"Terms":null},"IsActive":true,"IsGroupSDK":false,"LoyaltyProgram":{"Channel":"","ConfirmationUrl":null,"HasAmazonLogin":false,"HasFacebookLogin":false,"HasGoogleLogin":false,"HasLoginByNumber":false,"HasRegistration":false,"IsActive":false},"MetaSearchers":null,"Overlay":{"Delay":-1,"Description":"","HasPromotion":false,"IsActive":false},"PackageSlider":{"Inquiry":{"IsActive":null,"URL":null},"IsActive":null},"Preselect":{"AdultCount":2,"DayOffset":0,"DefaultLOS":1,"DefaultOccupancy":"a,a","LOS":1,"MaxAge":null,"MaxLOS":30,"MinLOS":1,"MinNumberOfAdults":1},"PromotionMessage":{"IsActive":false},"QuickBook":{"GeoSearchRadius":0,"HasCities":false,"HasCityFilter":null,"HasHorizontalOrientation":false,"HasMinPriceVisible":false,"HasNoHeadline":null,"HasPackageLink":false,"HasPriceText":false,"HasPromotionCodeVisible":null,"HasPropertyTypeSearch":false,"HasPurposeOfTravelField":false,"HasRadiusSearch":false,"HasRebookLink":false,"HasSearchByPropertyType":false,"IsActive":true,"IsExtended":false,"IsHidden":false,"MaxTick":null,"PriceComparison":{"IsActive":false,"MaxShownPrices":5,"Type":""},"StartDate":{"Date":"0001-01-01T00:00:00Z","HasStartDate":null}},"ReservationIncentive":{"HasBestRateInformation":null,"HasLatestReservationCount":null,"HasLatestRoomReservationCount":null,"IsActive":false,"IsLastBookingTimeVisible":null,"Timespan":"2.00:00:00"},"Settings":{"HasCartData":null,"HasChildrenSelectable":true,"HasOpenInNewTab":false,"IsCurrencyConvertToBrowserLanguage":null,"MaxNumberOfPackages":null,"MaxNumberOfRates":null,"Notifications":[{"IsActive":false,"Type":"SMS"},{"IsActive":true,"Type":"Email"},{"IsActive":false,"Type":"Fax"}],"ShouldAllowMultipleInit":null,"ShouldInitAfterDocumentReady":null,"ShouldPreventGA":null,"UseCustomRequireJS":null},"ThirdPartyLibraries":{"HasJQuery":true,"ShouldPreventGoogleFonts":false,"HasHQuery":null},"Type":"","VenueList":{"DefaultPageSize":null,"HasFilter":null,"IsActive":null},"Version":"1.1","VoucherShop":{"Directory":null,"IsActive":null,"LogoUrl":null},"_id":16623,"ColorSchema":{"Primary":"#000","Secondary":"#000","Tertiary":"#000"},"PriceComparison":{"IsActive":false,"HasBookingLinkDisabled":false,"HasDateSelect":true,"MaxShownPrices":5},"WidgetUrl":"https://widgets-default.dirs21.de"}'.replace(/[\t\n\r\f\v]/gmi, ''));var d21_ticketing_host='https://ticketing.dirs21.de';var d21_voucher_host='https://shop.dirs21.de/';var d21_ticketconfig=JSON.parse('null'.replace(/[\t\n\r\f\v]/gmi, ''));(function () { let start = new Date(), isReady = false, isDebug = (window && window.location && window.location.href ? window.location.href.toLowerCase().indexOf("d21_debug=true") !== -1 : false); var fn = (source) => { if (isReady) return; isReady = true; // let appendCoreScript = () => { let script = document.createElement("script"); script.id = "d21-core-js"; script.src = d21_widget_url + "/Static/Scripts/1.1/d21.core.sdk.js?v=" + d21_app_version; script.async = true; script.defer = true; document.body.appendChild(script); if (isDebug) { let end = new Date(); console.log("init by " + source, (end - start) + "ms"); } }; // if (document.body) { appendCoreScript(); } else { let appendInterval = window.setInterval(() => { if (document.body) { // window.clearInterval(appendInterval); // appendCoreScript(); } }, 10); } }; if (d21_config.Settings.ShouldInitAfterDocumentReady) { if (document.readyState === "complete") { fn("isready"); } else { // document.addEventListener("readystatechange", () => { if (document.readyState == "complete") { fn("readystatechange"); } }); } } else { fn("default"); } })(); }