(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[183],{BUlc:function(o,n,t){"use strict";function e(o){if(o){return new URL(o).hostname.includes("bookingkit")}return!1}t.d(n,"a",(function(){return e}))},"KHd+":function(o,n,t){"use strict";function e(o,n,t,e,i,r,a,s){var l,c="function"==typeof o?o.options:o;if(n&&(c.render=n,c.staticRenderFns=t,c._compiled=!0),e&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(o){(o=o||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(o=__VUE_SSR_CONTEXT__),i&&i.call(this,o),o&&o._registeredComponents&&o._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var k=c.render;c.render=function(o,n){return l.call(n),k(o,n)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:o,options:c}}t.d(n,"a",(function(){return e}))},XlOE:function(o,n,t){"use strict";t.r(n);var e=function(){var o=this,n=o.$createElement,t=o._self._c||n;return t("div",{staticClass:"tb-w-booking-information"},[o.bookingInformation.information?t("div",{staticClass:"mt-4 rte",domProps:{innerHTML:o._s(o.bookingInformation.information)}}):o._e(),o._v(" "),o.bookingInformation.url?[t("tb-w-button",{staticClass:"mt-4 text-center",attrs:{variant:"cta",icon:"ticket",href:o.hasBookingkitBookingUrl?null:o.bookingInformation.url,"open-in-new-tab":!o.hasBookingkitBookingUrl||null},on:{click:function(n){o.hasBookingkitBookingUrl&&o.displayModalFor(o.bookingInformation.url)}}},[o._v("\n            "+o._s(o.$t("message.book"))+"\n        ")])]:o._e(),o._v(" "),o.bookingInformation.voucherUrl?[t("tb-w-button",{staticClass:"mt-4 text-center",attrs:{variant:"cta",icon:"gift",href:o.hasBookingkitVoucherUrl?null:o.bookingInformation.voucherUrl,"open-in-new-tab":!o.hasBookingkitVoucherUrl||null},on:{click:function(n){o.hasBookingkitVoucherUrl&&o.displayModalFor(o.bookingInformation.voucherUrl)}}},[o._v("\n            "+o._s(o.$t("message.buyVoucher"))+"\n        ")])]:o._e(),o._v(" "),o.hasBookingkitVoucherUrl||o.hasBookingkitBookingUrl?[t("tb-w-modal",{attrs:{show:o.displayBookingkitModal,width:"large",height:"large","close-icon-color":"white","seamless-content":""},on:{close:function(n){o.displayBookingkitModal=!1}}},[t("tb-w-iframe",{attrs:{source:o.bookingkitUrl,"full-height":""}})],1)]:o._e(),o._v(" "),o.bookingInformation.hotlineInformation||o.bookingInformation.hotline?[t("hr",{staticClass:"my-4"}),o._v(" "),t("h3",{staticClass:"text-lg"},[o._v("\n            "+o._s(o.$t("message.ticketHotline"))+"\n        ")]),o._v(" "),o.bookingInformation.hotlineInformation?t("div",{staticClass:"mt-3 rte",domProps:{innerHTML:o._s(o.bookingInformation.hotlineInformation)}}):o._e(),o._v(" "),o.bookingInformation.hotline?t("a",{staticClass:"block mt-3 text-link-500 font-semibol",attrs:{href:"tel:"+o.bookingInformation.hotline}},[o._v("\n            "+o._s(o.bookingInformation.hotline)+"\n        ")]):o._e()]:o._e()],2)};e._withStripped=!0;var i=t("BUlc"),r={name:"TbWBookingInformation",props:{bookingInformation:{type:Object,required:!0}},data:()=>({displayBookingkitModal:!1,bookingkitUrl:""}),computed:{hasBookingkitVoucherUrl(){return Object(i.a)(this.bookingInformation.voucherUrl)},hasBookingkitBookingUrl(){return Object(i.a)(this.bookingInformation.url)}},methods:{displayModalFor(o){this.bookingkitUrl=o,this.displayBookingkitModal=!0},isBookingkitLink:i.a},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{book:"Buchen",buyVoucher:"Gutschein kaufen",ticketHotline:"Ticket-Hotline"}},en:{message:{book:"Book",buyVoucher:"Buy voucher",ticketHotline:"Ticket hotline"}},fr:{message:{book:"Réserver",buyVoucher:"Acheter un bon d'achat",ticketHotline:"Hotline pour les billets"}},it:{message:{book:"Prenotare",buyVoucher:"Acquista un voucher",ticketHotline:"Hotline per i biglietti"}},es:{message:{book:"Reservar",buyVoucher:"Comprar un bono",ticketHotline:"Servicio de atención telefónica"}},nl:{message:{book:"Boeken",buyVoucher:"Voucher kopen",ticketHotline:"Ticket hotline"}},cs:{message:{book:"Rezervovat",buyVoucher:"Koupit voucher",ticketHotline:"Horká linka pro prodej letenek"}}}}},a=t("KHd+"),s=Object(a.a)(r,e,[],!1,null,null,null);s.options.__file="node_modules/@newland/toubiz-widget/src/components/tb-w-booking-information.vue";n.default=s.exports}}]);