(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[341,446,447,448],{"KHd+":function(e,n,a){"use strict";function t(e,n,a,t,s,r,o,i){var d,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=a,l._compiled=!0),t&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),o?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=d):s&&(d=i?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),d)if(l.functional){l._injectStyles=d;var c=l.render;l.render=function(e,n){return d.call(n),c(e,n)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,d):[d]}return{exports:e,options:l}}a.d(n,"a",(function(){return t}))},"ciR/":function(e,n,a){"use strict";a.r(n);var t=function(){var e=this.$createElement;return(this._self._c||e)("tb-w-button",{attrs:{icon:"calendar-arrow-down","icon-size":"1.125",variant:"white",modifier:"flat",href:this.downloadUrl,download:""}},[this._v("\n    "+this._s(this.$t("message.saveToCalendar"))+"\n")])};t._withStripped=!0;var s=a("xBaG"),r=a("sG1I"),o={name:"TbWEventDateCalendarDownloadButton",props:{eventDateId:{type:String,required:!0}},computed:{...Object(s.e)(["apiCredentials","language"]),downloadUrl(){var e;const n=`${null===(e=this.apiCredentials)||void 0===e?void 0:e.baseUri}/api/v1/eventDate/${this.eventDateId}/ics`,a={api_token:this.apiCredentials.apiToken,language:this.language};return Object(r.a)(n,a)}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{saveToCalendar:"im Kalender speichern"}},en:{message:{saveToCalendar:"save to calendar"}},fr:{message:{saveToCalendar:"enregistrer dans le calendrier"}},it:{message:{saveToCalendar:"Salva nel calendario"}},es:{message:{saveToCalendar:"Guardar en calendario"}},nl:{message:{saveToCalendar:"Opslaan in kalender"}},cs:{message:{saveToCalendar:"Uložit do kalendáře"}}}}},i=a("KHd+"),d=Object(i.a)(o,t,[],!1,null,null,null);n.default=d.exports},sG1I:function(e,n,a){"use strict";function t(e,n={}){const a=new URL(e);if(Object.entries(n).length)for(const[e,t]of Object.entries(n))a.searchParams.append(e,t);return a.href}a.d(n,"a",(function(){return t}))}}]);