PageSourceSearch

https://www.matterhorngotthardbahn.ch/_nuxt/_slug_.HawCXrQv.js

js matterhorngotthardbahn.ch collected 2026-10-02 03:13:43 UTC 6,620 bytes, 7 lines download raw bytes

1import{L as y,aa as h,y as k,c as r,o as P,au as $,av as C,x as T,aw as U,ad as x,ax as A,u as E,ay as l,az as f,aA as b,a6 as v,N as B,a7 as O,a8 as z,aB as R,e as F,aC as D,ab as _}from"./entry.EKnbqgTX.js";import{d as N}from"./component.6VmCBwi9.js";import{u as q}from"./use-content-read-tracker.smHhNO54.js";import{u as H,a as J}from"./use-schema-jsonld.J_NtFLqB.js";import{u as V}from"./use-braze-load-event.49TrKVMx.js";import{h as G}from"./has-og-image-url.6Hks-qPk.js";import"./asyncData.IUzj92Jf.js";const W=N({name:"PagesSlug",components:{PageLoadingContainer:h(()=>_(()=>import("./page-loading-container.EJn-SXL7.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)),Page:h(()=>_(()=>import("./page.5tZOHkv7.js"),__vite__mapDeps([6,2,3,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68]),import.meta.url))},setup(){function t(){l(new R("Page not found"),!1)}const a=F(),i=a.$store,s=k(),e=r(()=>i.getters["pages/byIdOrSlug"](s.params?.slug)),c=r(()=>i.getters["pages/slugs"]),n=a.$config.public.BASE_URL+s.path,{ogImageUrl:o}=G(e.value),g=r(()=>i.getters["config/currentLanguageCode"]),S=i.getters["config/__"],{startTracking:I}=q();P(()=>{e.value?.id&&I(e.value,60)});const d=r(()=>e.value?.canonical&&typeof e.value?.canonical=="string"?e.value?.canonical.startsWith("http")?e.value?.canonical:s.params.slug?`https://${e.value?.canonical}/${g.value}/pages/${s.params.slug}`:`https://${e.value?.canonical}/${g.value}/`:a.$config.public.BASE_URL+s.path),L=r(()=>e.value?.keywords?e.value?.keywords.split(",").map(u=>S(u.trim())).join(", "):"");$()(c.value);const w=C({identifierAttribute:"id",addDirAttribute:!0,addSeoAttributes:!0}),p=[];(!e.value?.noIndex||d.value!==n)&&p.push({rel:"canonical",href:d.value});const m=H();return e.value?.noIndex?m.value="noindex, follow":m.value="index, follow",J(e.value),T({title:e.value?.metaTitle||e.value?.title,link:[...w.value.link?.filter(u=>u.rel!=="canonical")||[],...p],meta:[{hid:"og:image",property:"og:image",content:o},{hid:"og:title",property:"og:title",content:e.value?.metaTitle||e.value?.title},{hid:"og:description",property:"og:description",content:e.value?.excerpt||e.value?.metaDescription},{hid:"description",name:"description",content:e.value?.metaDescription||e.value?.excerpt},{hid:"keywords",name:"keywords",content:L}]}),V(e.value?.slug),{redirectTo404:t}},mounted(){this.page?.id&&this.$digitalDataLayer.pushPage({},!1,"",document.referrer,this.page?.id),this.$bus.$on(U.USER_LOGGED_IN,()=>{this.showToUser===!1?location.reload():this.checkPermission()}),this.checkPermission()},computed:{...x({__:"config/__",pageByIdOrSlug:"pages/byIdOrSlug",currentLanguageCode:"config/currentLanguageCode",userInitialized:"user/index/userLoginCallFinished",customerSegments:"user/index/customerSegments",contentFilters:"contentFilters"}),pageSlug(){return this.$route.params.slug},page(){return this.pageByIdOrSlug(this.pageSlug)},localUserInitialized(){return this.userInitialized},showLoading(){return this.page&&Array.isArray(this.page.cSegments)&&this.page.cSegments.length>0?this.userInitialized?!this.showToUser:!0:!1},showToUser(){return this.page?A(this.page.cSegments,this.customerSegments,this.$store.getters["user/index/userCallWasCalled"]):!1},isLoggedIn(){return E().isLoggedIn},contentFiltersJson(){return JSON.stringify(this.contentFilters)}},methods:{checkPermission(){if(!this.page){this.redirectTo404();return}this.localUserInitialized===!0&&this.showToUser===!1&&l(new f("Permission required"),!1)}},watch:{localUserInitialized(t){if(!this.page){this.redirectTo404();return}t===!0&&this.showToUser===!1&&l(new f("Permission required"),!1)},async contentFiltersJson(){const{start:t,finish:a}=b();this.$nextTick(()=>t()),await this.$store.dispatch("pages/loadFilteredByIdOrSlug",{idOrSlug:this.$route.params.slug,handleFilter:!1}),a()}}},"$XMmgTtzhj0");function j(t,a,i,s,e,c){const n=v("Page"),o=v("PageLoadingContainer");return B(),O(o,{loading:t.showLoading,"has-content":!!t.page},{default:z(()=>[D(n,{id:t.page.id,"quick-booking-widget":t.page.quickBookingWidget},null,8,["id","quick-booking-widget"])]),_:1},8,["loading","has-content"])}const ae=y(W,[["render",j]]);export{ae as default};
2function __vite__mapDeps(indexes) {
3  if (!__vite__mapDeps.viteFileDeps) {
4    __vite__mapDeps.viteFileDeps = ["./page-loading-container.EJn-SXL7.js","./page-loading-container.vue.mFsKyWAq.js","./entry.EKnbqgTX.js","./entry.O9KOVcsn.css","./loading-indicator.i9GAPVQl.js","./loading-indicator.VGHaQcck.css","./page.5tZOHkv7.js","./oev-plus-quick-booking-widget.09FxRGRV.js","./use-reactive-breakpoints.6v4w4D3w.js","./oev-plus-search-header.NN6YRBZb.js","./map-section-header.VUYPdUz2.js","./componentBase.NY2S2zJD.js","./map-section-header.5S6HiMvq.css","./client-only.I_xDj-FI.js","./duration.9tDu_sfO.js","./input-modal-mobile.P56YmenN.js","./use-focus-trap.cO3Om9UO.js","./is-element-visible._LEGGY8N.js","./generic-close-button.qoBVxw6n.js","./navigation-button.KRKcIroQ.js","./navigation-button.x2ayvC3n.css","./input-modal-mobile.gdJH2Xg6.css","./useScrollToKeepInView.c5N_mLqD.js","./spinner.MKRBD7Ci.js","./spinner.5Hm6A8TJ.css","./icon-svg.V2h_sL4l.js","./icon-svg.3pVHMq3X.css","./useKeyboardListNavigation.icVIGI_c.js","./Button.fhvNspso.js","./generic-link.koezWb8b.js","./index.tsdXPcWo.js","./Button.eUkKJYuQ.css","./date-picker-input.2LFshZVZ.js","./minMax.57XLrXWE.js","./index.ms-WBOke.js","./disable-tab-focus.cJQIWO-n.js","./date-picker-input.nXr3e7Hx.css","./style.ES6JC7Ip.css","./link-btn.ZK_ldLKn.js","./link-btn.iBGwA3jG.css","./input-switch.csJhcCuS.js","./id.zkMysmKN.js","./input-switch.Z8HDer7q.css","./oev-plus-search-header.QvCQI44o.css","./loading-skeleton.L6l2UsiG.js","./loading-skeleton.u_L_26kB.css","./use-package-availability.E4P2dai4.js","./base64.PtKcICU5.js","./browser-atob.OHhyGKCb.js","./oev-plus-quick-booking-widget.3zm2__I_.css","./live-info-bar.qRLW6LWh.js","./isToday.9duT8DmX.js","./asyncData.IUzj92Jf.js","./swiper-element-bundle.u0lCgNdk.js","./swiper-a11y.H3MQ7RLr.js","./navigation-button.UB1YH57o.js","./navigation-button.4s_2av1F.css","./live-info-bar.oc4RfLby.css","./swiper.be0Qcn06.css","./rich-text-document.U7MRbgBO.js","./link.mbRA84-q.js","./link.hcze6LbP.css","./rich-text-document.eJU1TWYj.css","./component.6VmCBwi9.js","./use-show-header-switch.ECWWI_jw.js","./use-deep-link.h6bk432P.js","./safe-access.ZLlTBWHi.js","./resolveSwissPassFlags.MC_BzyFU.js","./page.z_PdqfhA.css"]
5  }
6  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.