if (!window['d21_sdk_initialized']) {window['d21_sdk_initialized'] = true;var d21_uuid='f9e69929-ca2e-4f76-ac9e-dada38ebcd3c';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":true,"IsIBETrigger":false,"WeekCount":0},"Chat":{"IsActive":null},"CustomCode":{"Code":null,"IsActive":false},"DisplayMode":"ArrivalDeparture","EventList":{"DefaultPageSize":10,"HasCalendar":true,"HasFilter":false,"IsActive":false},"FieldText":{"Version":{"Key":"81326_klosterpforte"}},"GoogleAnalytics":{"Code":null,"ForeignType":0,"HasCrossDomainTracking":false,"InvocationType":null,"IsActive":true,"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":"X5C8Ur","Channel":"www.klosterpforte.de","Channel_Token":"VVmTAy","City":{"Content":{"Description":null,"Keywords":[],"Name":null,"Notes":null,"Slogan":null},"Country":{"Capital":null,"Currencies":[],"ISO3166_2":null,"ISO3166_3":null,"LanguageCodes":[],"Name":null,"_id":0},"Directory":null,"GeoCoordinate":{"Altitude":null,"Latitude":null,"Longitude":null,"_id":0},"GroupIDs":[],"PostalCodes":[],"State":{"Country":{"Capital":null,"Currencies":[],"ISO3166_2":null,"ISO3166_3":null,"LanguageCodes":[],"Name":null,"_id":0},"Name":null,"_id":0},"WeatherLink":null,"_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":"/klosterpfortede/","EarliestArrival":null,"FieldtextGroup":"-1","GroupID":-1,"Guests":{"RequestDataFor":null,"ShowDateOfBirthFor":null},"InputFields":{"Billing":{"IsRequired":false,"IsVisible":true,"IsUnfolded":null},"City":{"IsRequired":false,"IsVisible":true},"Company":{"IsRequired":null,"IsVisible":null},"ContactPersonName":null,"Country":{"IsRequired":null,"IsVisible":null},"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":null,"IsVisible":null},"Name":{"IsRequired":true,"IsVisible":true},"Newsletter":{"IsRequired":null,"IsVisible":null},"PurposeOfTravel":{"IsRequired":null,"IsVisible":null},"Salutation":{"IsRequired":null,"IsVisible":null},"Street":{"IsRequired":false,"IsVisible":true},"Telephone":{"IsRequired":false,"IsVisible":true},"Title":{"IsRequired":null,"IsVisible":null},"VAT":null,"ZIP":{"IsRequired":false,"IsVisible":true}},"Insurance":{"AgencyNumber":"HTL214","Channel":"Allianz","IsActive":true,"ListType":null},"IsActive":true,"Language":{"Default":null,"HasChangeActive":false,"HasCustomSet":null,"Set":[]},"Logo":null,"PartnerCode":null,"PartnerProgrammID":null,"Payment":{"IsActive":null,"Overwrites":null,"Sets":[],"Settings":null,"Token":null},"PopUp":{"IsActive":null},"PriceComparison":{"IsActive":null,"Provider":{"Name":null}},"Property_Token":"Yx3TqL","Rates":null,"Region":{"Name":null,"_id":0},"RoomLimit":10,"RoomList":{"OrderBy":null},"Settings":{"AvailablePeriod":null,"CustomCookieBanner":null,"DomainsAllowed":["*.dirs21.de"],"Features":[],"GoogleMapsLink":null,"Group":{"HasPriceSortingAscending":false,"HasPriceSortingDescending":false,"Occupancy":null},"HasAddOnsAccordion":null,"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":true,"HasGuaranteeFollowUp":null,"HasGuestNotesField":null,"HasGuestQuestions":null,"HasGuestQuestionsOpened":null,"HasHotelAddressFieldActive":false,"HasIBEAsRoomList":null,"HasImageHint":null,"HasLeadSourceField":null,"HasMapsLink":null,"HasPaymentPreview":null,"HasPriceShownPerNight":null,"HasPromotionCodeInConfirmVisible":null,"HasPromotionCodeVisible":false,"HasRateDescriptionVisible":true,"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":["Trivago","GoogleHotelFinder"],"Overlay":{"Delay":-1,"Description":"","HasPromotion":false,"IsActive":false},"PackageList":{"DefaultPageSize":10,"HasAmenities":true,"HasCalendar":true,"HasCDNImages":null,"HasCityName":false,"HasFilter":true,"HasNoOccupancyPreselect":false,"HasNoPackageCount":false,"HasSortByPosition":true,"Inquiry":{"IsActive":false,"URL":null},"IsActive":true},"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":true,"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"},"RoomList":{"DefaultPageSize":10,"HasAmenities":true,"HasCalendar":true,"HasCDNImages":null,"HasCityFilter":null,"HasFilter":true,"HasMinMaxPersons":false,"HasSortByPosition":false,"Inquiry":{"IsActive":false,"URL":null},"IsActive":true,"IsMinPriceHidden":null},"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":null,"VenueList":{"DefaultPageSize":null,"HasFilter":null,"IsActive":null},"Version":"1.1","VoucherShop":null,"_id":22413,"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"); } })(); }