PageSourceSearch

https://triathlon.org/events/_nuxt/ryiJ2LdQ.js

js triathlon.org collected 2026-10-01 10:33:23 UTC 4,850 bytes, 1 lines download raw bytes

1import{u as D}from"./AD-EzWrO.js";import{u as E}from"./BlWck1t7.js";import{u as A}from"./BXa3qvl-.js";import{ba as T,bp as y,bh as e,b5 as B,bu as L,b7 as f,bg as b,b8 as l,b9 as F,bi as k,bl as N,bk as K,bj as g,bo as P,b6 as r}from"./QrANltfT.js";import{u as G,a as j,A as R,D as U,C as V,T as $}from"./BqRqL5sE.js";import{E as z}from"./DRuv9kH_.js";import{r as H}from"./BN-jUOno.js";import"./UzMIW_7D.js";import"./BJ99M0qN.js";import"./CLMEcs4z.js";import"./xnDD2XwB.js";import"./CCd6PVO8.js";import"./BDvWmOzO.js";import"./Acsz0czT.js";import"./CGtwPYJc.js";import"./gRX2IVr1.js";import"./C8tdCacw.js";import"./BX5QSdEP.js";import"./BKz-n-kN.js";import"./B1UGltTs.js";import"./Bt6jTN3U.js";import"./SD2fVsY9.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new o.Error().stack;i&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[i]="85a0d9aa-5f04-47d1-8425-deb6d1d0dd94",o._sentryDebugIdIdentifier="sentry-dbid-85a0d9aa-5f04-47d1-8425-deb6d1d0dd94")}catch{}})();function W(o,i){const{t:p}=T(),s=t=>!!t&&t.trim().length>0;return{sections:y(()=>
1{const t=typeof o=="function"?o():e(o),c=typeof i=="function"?i():e(i);if(!t&&!c)return[];const a=[];if(t){const n=[];s(t.general_travel_info)&&n.push({field:"general_travel_info",translationKey:"travel.generalInfo",content:t.general_travel_info.trim()}),n.length>0&&a.push({id:"general",translationKey:"travel.generalInformation",subsections:n});const u=[];s(t.host_hotel)&&u.push({field:"host_hotel",translationKey:"travel.hostHotel",content:t.host_hotel.trim()}),s(t.homestay)&&u.push({field:"homestay",translationKey:"travel.homestay",content:t.homestay.trim()}),u.length>0&&a.push({id:"accommodation",translationKey:"travel.accommodation",subsections:u});const d=[];s(t.closest_airport)&&d.push({field:"closest_airport",translationKey:"travel.closestAirport",content:t.closest_airport.trim()}),s(t.local_transport)&&d.push({field:"local_transport",translationKey:"travel.localTransport",content:t.local_transport.trim()}),d.length>0&&a.push({id:"travel",translationKey:"travel.travel",subsections:d});const h=[];s(t.visa_info)&&h.push({field:"visa_info",translationKey:"travel.visaInfo",content:t.visa_info.trim()}),h.length>0&&a.push({id:"visa",translationKey:"travel.visa",subsections:h});const v=[];s(t.tourism_info)&&v.push({field:"tourism_info",translationKey:"travel.tourismInfo",content:t.tourism_info.trim()}),v.length>0&&a.push({id:"tourism",translationKey:"travel.tourism",subsections:v})}return c&&c.documents&&c.documents.length>0&&a.push({id:"documents",translationKey:"documents.title",subsections:[{field:"documents",translationKey:"documents.title",content:""}]}),a}),getSectionTitle:t=>p(t.translationKey),hasContent:s}}const q={class:"min-h-screen bg-[#F5F5F5]"},J={class:"px-4 lg:px-6 py-8 w-full mx-auto xl:max-w-[1600px]"},M={key:0,class:"flex items-center justify-center min-h-[400px]"},O={class:"text-center"},Q={class:"mt-4 text-gray-600"},X={key:1,class:"flex flex-col md:flex-row gap-6"},Y={class:"w-full md:w-1/3 flex-shrink-0"},Z={class:"md:sticky md:top-5 space-y-4"},tt={class:"w-full md:w-2/3 min-w-0 flex-grow"},et={key:0},kt=B({__name:"travel",setup(o){const{t:i}=T(),p=P(),{event:s,isLoading:w,languages:S}=D(),{currentTranslation:t}=A(s,S),c=L(),a=y(()=>H(s.value)),{sections:n,getSectionTitle:u}=W(t,s),d=y(()=>n.value.map(_=>_.id)),{activeSection:h,scrollToSection:v}=G(d),C=_=>{v(_)};return E(s,i("travel.title"),`Travel guide, accommodation, and transportation info for ${s.value?.name||"this World Triathlon event"}`),(_,x)=>(r(),f("div",q,[b(z,{event:e(s),size:"large","locale-path":e(c)},null,8,["event","locale-path"]),l("div",J,[e(w)?(r(),f("div",M,[l("div",O,[x[0]||(x[0]=l("div",{class:"animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-primary-transitionBlue mx-auto"},null,-1)),l("p",Q,F(e(i)("results.loading")),1)])])):e(s)&&e(n).length>0?(r(),f("div",X,[l("aside",Y,[l("div",Z,[b(j,{sections:e(n),"active-section":e(h),"on-section-click":C,"show-print-button":!0},null,8,["sections","active-section"]),b(R,{"athletes-guides":e(a),"directus-uri":e(p).public.directusCmsUri,"is-wtcs-event":e(s).is_wtcs_event},null,8,["athletes-guides","directus-uri","is-wtcs-event"])])]),l("main",tt,[e(n).length>0?(r(),f("div",et,[(r(!0),f(k,null,N(e(n),(m,I)=>(r(),f(k,{key:m.id},[m.id==="documents"&&e(s)?(r(),g(U,{key:0,id:m.id,documents:e(s).documents,"directus-uri":e(p).public.directusCmsUri},null,8,["id","documents","directus-uri"])):(r(),g(V,{key:1,id:m.id,title:e(u)(m),subsections:m.subsections,"show-print-button":I===0},null,8,["id","title","subsections","show-print-button"]))],64))),128))])):K("",!0)])])):e(s)&&e(n).length===0?(r(),g($,{key:2,"description-key":"travel.notAvailableInLanguage"})):K("",!0)])]))}});export{kt as default};

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.