(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[332],{"+uGB":function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"d",(function(){return r})),i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return l}));var a=i("QuEX");function n(t){return t.primaryCategory.rootline.includes(a.a.BIKE_TOUR)?"biking":"hiking"}const r=Object.freeze(["tourStages","publicTransport","accommodations","infrastructure","lodgings","parking","refreshmentPoints","sights","events","intersections"]);function s(t){var e,i,n,r,s,l;return(null===(e=t.primaryCategory)||void 0===e||null===(i=e.rootline)||void 0===i?void 0:i.includes(a.a.SLOPE))||(null===(n=t.primaryCategory)||void 0===n||null===(r=n.rootline)||void 0===r?void 0:r.includes(a.a.CROSS_COUNTRY_SKIING_TRAIL))||(null===(s=t.primaryCategory)||void 0===s||null===(l=s.rootline)||void 0===l?void 0:l.includes(a.a.TOBOGGAN_RUN))}function l(t){var e,i,n,r,s,l,o,u;return(null===(e=t.primaryCategory)||void 0===e||null===(i=e.rootline)||void 0===i?void 0:i.includes(a.a.TOBOGGAN_SLOPE))||(null===(n=t.primaryCategory)||void 0===n||null===(r=n.rootline)||void 0===r?void 0:r.includes(a.a.SNOW_SHOE_TOUR))||(null===(s=t.primaryCategory)||void 0===s||null===(l=s.rootline)||void 0===l?void 0:l.includes(a.a.WINTER_HIKING_TRAIL))||(null===(o=t.primaryCategory)||void 0===o||null===(u=o.rootline)||void 0===u?void 0:u.includes(a.a.SKI_TOUR))}},hAbX:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t.isStageOfTour?i("tb-w-section",{staticClass:"tb-w-tour-parent-section",scopedSlots:t._u([{key:"content",fn:function(){return[i("tb-w-grid",{staticClass:"mt-4"},[i("tb-w-teaser-card-article",{attrs:{article:t.stageParent}})],1)]},proxy:!0}],null,!1,149819169)},[t._v("\n        "+t._s(t.$t("message.entireTour"))+"\n        ")]):t._e(),t._v(" "),t.totalStagesCount>1?i("tb-w-section",{scopedSlots:t._u([{key:"content",fn:function(){return[t.stageSiblings.length?i("tb-w-line-teaser-list",{attrs:{title:"",items:t.stageSiblings}}):t._e()]},proxy:!0}],null,!1,782141385)},[t._v("\n        "+t._s(t.$t("message.furtherStages"))+"\n\n        ")]):t._e()],1)};a._withStripped=!0;var n=i("eiOJ"),r=i("vGg6"),s=i("+uGB"),l={name:"TbWTourStageRelations",mixins:[n.a],props:{article:{type:Object,required:!0}},computed:{isStageOfTour(){var t;return this.article.type===r.a.TOUR&&"stage"===(null===(t=this.article.tour)||void 0===t?void 0:t.typeOfTour)&&this.stageParent},stageParent(){var t,e,i;return null!==(t=this.article.tourStageRelations)&&void 0!==t&&null!==(e=t.parent)&&void 0!==e&&e.invisible?null:null===(i=this.article.tourStageRelations)||void 0===i?void 0:i.parent},stageSiblings(){var t;return((null===(t=this.article.tourStageRelations)||void 0===t?void 0:t.siblings)||[]).filter(t=>!t.invisible)},totalStagesCount(){return this.stageSiblings.length+1}},methods:{getTourTypeIcon:s.c},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{entireTour:"Gesamte Tour auf einen Blick",furtherStages:"Weitere Etappen",difficultyRating0:"Leicht",difficultyRating1:"Mittel",difficultyRating2:"Schwer",stage:"Etappe",stages:"Etappen"}},en:{message:{entireTour:"Entire tour at one glance",furtherStages:"Further stages",difficultyRating0:"Easy",difficultyRating1:"Medium",difficultyRating2:"Hard",stage:"Stage",stages:"Stages"}},fr:{message:{entireTour:"Visite complète en un coup d'œil",furtherStages:"Autres étapes",difficultyRating0:"Facile",difficultyRating1:"Moyen",difficultyRating2:"Difficile",stage:"Étape",stages:"Étapes"}},it:{message:{entireTour:"Tutto il tour in un colpo d'occhio",furtherStages:"Ulteriori fasi",difficultyRating0:"Facile",difficultyRating1:"Medio",difficultyRating2:"Difficile",stage:"Tappa",stages:"Tappe"}},es:{message:{entireTour:"Tour completo de un vistazo",furtherStages:"Otras etapas",difficultyRating0:"Fácil",difficultyRating1:"Medio",difficultyRating2:"Difícil",stage:"Etapa",stages:"Etapas"}},nl:{message:{entireTour:"Gehele tour in één oogopslag",furtherStages:"Verdere stadia",difficultyRating0:"Gemakkelijk",difficultyRating1:"Middelzwaar",difficultyRating2:"Pittig",stage:"Stadium",stages:"Stadia"}},cs:{message:{entireTour:"Celá prohlídka na jeden pohled",furtherStages:"Další etapy",difficultyRating0:"Snadný",difficultyRating1:"Střední",difficultyRating2:"Tvrdý",stage:"Etapa",stages:"Etapy"}}}}},o=i("KHd+"),u=Object(o.a)(l,a,[],!1,null,null,null);e.default=u.exports}}]);