PageSourceSearch

https://static.onetimessquare.com/_nuxt/CRNsPVgx.js

js onetimessquare.com collected 2026-09-24 21:22:20 UTC 3,879 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B2BPO4A0.js","./DhGoxTYm.js","./entry.CagLkyM1.css","./GettingHere.YmDgUtYI.css","./BMC9XBRx.js","./Transportation.r-emejgb.css"])))=>i.map(i=>d[i]);
2import{m as w,g as l,o as n,v as k,d as z,T as G,w as q,c as A,aT as J,f as u,x as d,j as r,b as y,t as v,F as S,r as L,k as Q,e as m,h as $,i as _,B as h,aq as B,C as T,ab as O,ac as E}from"./DhGoxTYm.js";import{_ as U}from"./0ShH6MYM.js";import{u as W}from"./Bl46Vjqa.js";import{u as X}from"./CREANO3Q.js";const Y={},Z={class:"flex flex-col gap-[1.5rem] plan-visit-section"};function tt(i,c){return n(),l("div",Z,[k(i.$slots,"default")])}const et=w(Y,[["render",tt]]),nt={};function st(i,c){return n(),l("h2",null,[k(i.$slots,"default")])}const at=w(nt,[["render",st]]),ot={},rt={class:"plan-visit-section-content flex flex-col gap-[1.5rem] text-[2rem]"};function lt(i,c){return n(),l("div",rt,[k(i.$slots,"default")])}const it=w(ot,[["render",lt]]),ct={class:"plan-your-visit-container !py-24"},ut={class:"plan-your-visit-content"},_t={key:0,class:"flex flex-col gap-[5rem]"},pt={class:"plan-menu"},dt=["innerHTML"],mt={id:"getting-here"}
2,ft={id:"transportation"},vt={key:4},Tt=z({__name:"index",props:{showMenu:{type:Boolean,default:!1},travelSectionsOnly:{type:Boolean,default:!1}},async setup(i){let c,V;const N=O(()=>E(()=>import("./B2BPO4A0.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),b=O(()=>E(()=>import("./BMC9XBRx.js"),__vite__mapDeps([4,1,2,5]),import.meta.url)),{locale:ht}=G(),{translate:D}=W(),{data:H,error:gt}=([c,V]=q(()=>X("plan-your-visit")),c=await c,V(),c);function I(t){if(!t||typeof t!="object")return"";const o=D(t);if(o&&o.trim().toLowerCase()!=="error")return o;const s=t.value;return String(s??"")}function M(t){return t.replace(/<a(\s[^>]*)?>([^<]+)<\/a>/gi,(o,s="",a)=>a.trim()?`<a${/class="([^"]*)"/.test(s)?s.replace(/class="([^"]*)"/,'class="$1 plan-link"'):`${s} class="plan-link"`}>${a}</a>`:o)}function F(t){return t.toLowerCase().trim().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}const f=A(()=>{var o,s,a;const t=(a=(s=(o=H.value)==null?void 0:o.fields)==null?void 0:s.items)==null?void 0:a.value;return Array.isArray(t)?t.map(e=>{var C;const g=I(e.name),R=((C=e.content)==null?void 0:C.value)??"",j=M(R),x=F(g);return{name:g,content:j,slug:x,to:`#${x}`}}).filter(e=>e.name&&e.slug):[]}),K=A(()=>f.value.map(t=>({name:t.name,to:t.to}))),p=i,P=J();return(t,o)=>{const s=Q,a=U;return n(),l("div",null,[u("div",ct,[u("div",ut,[u("h1",null,v(t.$t("plan_your_visit.title")),1),p.showMenu&&!p.travelSectionsOnly?(n(),l("div",_t,[u("nav",pt,[(n(!0),l(S,null,L(K.value,e=>(n(),y(s,{key:`${e.to}-${e.name}`,class:"plan-link",to:e.to},{default:m(()=>[$(v(e.name),1)]),_:2},1032,["to"]))),128)),r(s,{class:"plan-link",to:"#getting-here"},{default:m(()=>[$(v(t.$t("plan_your_visit.menu.getting_here")),1)]),_:1}),r(s,{class:"plan-link",to:"#transportation"},{default:m(()=>[$(v(t.$t("plan_your_visit.menu.transportation")),1)]),_:1})])])):d("",!0),r(a),!p.travelSectionsOnly&&f.value.length?(n(!0),l(S,{key:1},L(f.value,(e,g)=>(n(),l(S,{key:e.to},[r(_(et),{id:e.slug},{default:m(()=>[r(_(at),null,{default:m(()=>[$(v(e.name),1)]),_:2},1024),r(_(it),null,{default:m(()=>[u("div",{class:"flex flex-col gap-[1.5rem] text-[2rem]",innerHTML:e.content},null,8,dt)]),_:2},1024)]),_:2},1032,["id"]),g<f.value.length-1?(n(),y(a,{key:0})):d("",!0)],64))),128)):d("",!0),!p.travelSectionsOnly&&f.value.length?(n(),y(a,h(B({key:2},t.$attrs)),null,16)):d("",!0),u("section",mt,[r(_(N),h(T(t.$attrs)),null,16)]),r(a,h(T(t.$attrs)),null,16),u("section",ft,[r(_(b),h(T(t.$attrs)),null,16)]),!p.travelSectionsOnly&&_(P).whatToKnow?(n(),y(a,h(B({key:3},t.$attrs)),null,16)):d("",!0),!p.travelSectionsOnly&&_(P).whatToKnow?(n(),l("section",vt,[k(t.$slots,"whatToKnow")])):d("",!0)])])])}}});export{et as P,Tt as _,at as a,it as b};

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.