(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[311],{"KHd+":function(e,t,n){"use strict";function a(e,t,n,a,i,l,o,s){var r,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),a&&(d.functional=!0),l&&(d._scopeId="data-v-"+l),o?(r=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__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=r):i&&(r=s?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),r)if(d.functional){d._injectStyles=r;var c=d.render;d.render=function(e,t){return r.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,r):[r]}return{exports:e,options:d}}n.d(t,"a",(function(){return a}))},"ry/E":function(e,t,n){"use strict";n.r(t);var a=function(){var e,t,n,a,i=this,l=i.$createElement,o=i._self._c||l;return o("tb-w-modal",{attrs:{show:i.show,height:"content","seamless-content":"","close-icon-background-color":"white"},on:{close:function(e){return i.$emit("close")}}},[o("img",{staticClass:"max-w-full h-auto",attrs:{src:null===(e=this.article.skiArea.trailPlan)||void 0===e||null===(t=e.sizes)||void 0===t||null===(n=t.medium)||void 0===n?void 0:n["image/jpeg"]}}),i._v(" "),o("div",{staticClass:"p-4 flex flex-wrap justify-center mx-auto text-link-500 hover:text-link-600"},[i.trailPlanLink?o("div",{staticClass:"relative pl-6 my-2 mx-4"},[o("tb-w-icon",{staticClass:"absolute mt-1 left-0",attrs:{icon:"external-link-solid",size:"1"}}),i._v(" "),o("a",{staticClass:"break-words",attrs:{href:i.trailPlanLink,target:"_blank"}},[i._v("\n                "+i._s(i.$t("message.showTrailPlan"))+"\n            ")])],1):i._e(),i._v(" "),i.hasTrailPlanImage?o("tb-w-download",{staticClass:"my-2 mx-4",attrs:{download:null===(a=this.article.skiArea)||void 0===a?void 0:a.trailPlan,"custom-name":i.$t("message.downloadTrailPlan")}}):i._e()],1)])};a._withStripped=!0;var i={name:"TbWTrailplanModal",props:{article:{type:Object,required:!0},show:{type:Boolean,required:!0},hasTrailPlanImage:{type:Boolean,required:!0},trailPlanLink:{type:String,required:!0}},i18n:{fallbackLocale:"en",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{downloadTrailPlan:"Pistenplan herunterladen",showTrailPlan:"Pistenplan anzeigen"}},en:{message:{downloadTrailPlan:"Download trail plan",showTrailPlan:"Show trail plan"}}}}},l=n("KHd+"),o=Object(l.a)(i,a,[],!1,null,null,null);o.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-trailplan-modal.vue";t.default=o.exports}}]);