PageSourceSearch

https://nowmyplace.fly.dev/build/routes/index.$lang-DLHLMSZZ.js

js nowmyplace.fly.dev collected 2026-10-03 08:27:13 UTC 7,454 bytes, 1 lines download raw bytes

1import{a as U}from"/build/_shared/chunk-CQ4ZLHU4.js";import{a as H}from"/build/_shared/chunk-LHV6JTOG.js";import{a as G}from"/build/_shared/chunk-BFFVZXYT.js";import"/build/_shared/chunk-QQX3Q75H.js";import"/build/_shared/chunk-XEJZKUWX.js";import"/build/_shared/chunk-QN2X3BZ2.js";import"/build/_shared/chunk-3YLHXUAU.js";import"/build/_shared/chunk-NGIKGSHE.js";import{a as B,b as L}from"/build/_shared/chunk-MTY5EUX5.js";import"/build/_shared/chunk-H5UJJ74Q.js";import"/build/_shared/chunk-SKA73Y4H.js";import"/build/_shared/chunk-SJ66X5JG.js";import{a as S}from"/build/_shared/chunk-GXHDXE3X.js";import{a as T}from"/build/_shared/chunk-GROGPAQF.js";import"/build/_shared/chunk-U3G4DUQF.js";import"/build/_shared/chunk-CAUP462X.js";import{a as J}from"/build/_shared/chunk-VZQVWFLO.js";import{a as E,b as f,c as b}from"/build/_shared/chunk-UCO34VTP.js";import"/build/_shared/chunk-Q53E24JO.js";import"/build/_shared/chunk-NIEWVFJ5.js";import{a as M}from"/build/_shared/chunk-I5LLZ5AZ.js";import{a as C}from"/build/_shared/chunk-KHL7GCZ6.js";import"/build/_shared/chunk-WWU4OZ3C.js";import{c as w,l as y,m as I,p as R}from"/build/_shared/chunk-HZ4SZ5H3.js";import{a as d,b as m}from"/build/_shared/chunk-KO3OK2JV.js";import{c as z,e as c}from"/build/_shared/chunk-ADMCF34Z.js";var O=z((de,D)=>{D.exports={}});var X=c(J()),v=c(d());var q=c(d());var g=c(m());function K(e){var o;let i=E(),r=f((o=e.image)==null?void 0:o.src_set,i.IMG_BASE,2);return(0,g.jsx)("header",{className:"c-hero c-hero--home",style:{backgroundImage:`url('${r}')`},children:(0,g.jsx)(M,{children:(0,g.jsxs)("article",{className:"c-hero__content",children:[(0,g.jsx)("h1",{className:"c-hero__title t-title t-title--1",children:e.subt
1itle}),(0,g.jsx)(G,{autocompleteFocus:!1})]})})})}var F=K;var ce=c(d());var s=c(m());function Q(e){var i,r,o;return(0,s.jsxs)("a",{href:e.url,className:"c-tile c-tile--link c-tile--vertical",children:[(0,s.jsx)("figure",{className:"c-tile__figure",children:(0,s.jsx)(b,{srcSet:(i=e.image)==null?void 0:i.src_set,title:e.title?e.title:(r=e.image)==null?void 0:r.title,alt:e.title?e.title:(o=e.image)==null?void 0:o.alt_text})}),(0,s.jsxs)("div",{className:"c-tile__content l-mobile-flex u-flex-between u-flex-middle",children:[(0,s.jsx)("h3",{className:"c-tile__title t-title t-title--6",children:e.title}),(0,s.jsx)(C,{icon:"arrow-circle"})]})]})}var P=Q;var se=c(d());var n=c(m());function W(e){var r,o,a;let i=e.className||"";return(0,n.jsxs)("section",{className:"c-cta "+i,children:[(0,n.jsx)("figure",{className:"c-cta__figure",children:(0,n.jsx)(b,{isLocalImage:e.isLocalImage,srcSet:(r=e.image)==null?void 0:r.src_set,srcindex:"2",title:e.title?e.title:(o=e.image)==null?void 0:o.title,alt:e.title?e.title:(a=e.image)==null?void 0:a.alt_text})}),(0,n.jsxs)("div",{className:"c-cta__content",children:[(0,n.jsx)("h3",{className:"c-cta__surtitle t-title t-title--6",children:e.subt
1itle}),(0,n.jsx)("h2",{className:"c-cta__title t-title t-title--3",children:e.title}),(0,n.jsx)("span",{className:"c-cta__meta",children:e.meta}),(0,n.jsx)(S,{url:e.url,className:" c-cta__button",text:e.cta})]})]})}var A=W;var Y=c(O());var t=c(m());var Z=e=>{var r,o;let i={};if(e.data!=null){let{main_image:a,sub_title:u,title_tag:_}=(o=(r=e.data)==null?void 0:r.home)==null?void 0:o.page,N=e.data.env,h=a?f(a.src_set,N.IMG_BASE,2):"";e.data.hasFilter==!1?i={...i,"og:image":h}:i={...i,"og:image":h},u?i={...i,title:`${_} - NowMyPlace`,description:u}:i={...i,title:`${_} - NowMyPlace`}}return i};function V(){var x,k,p,$;let e=I(),{lang:i}=w(),r=R(),[o]=y(),a=(x=o.data)==null?void 0:x.header.labels,u=e==null?void 0:e.home.page.category,_=v.default.useRef(null),[N,h]=v.default.useState(!0);return((k=r.data)==null?void 0:k.nearby.nearBy.length)==0&&N&&(alert(a.exp_none_near),h(!1)),((p=r.data)==null?void 0:p.nearby.nearBy.length)>0&&(($=_.current)==null||$.scrollIntoView({behavior:"smooth"})),(0,t.jsxs)("main",{className:"u-overflow-hidden",children:[(0,t.jsx)(F,{subtitle:e==null?void 0:e.home.page.sub_title,image:e==null?void 0:e.home.page.main_image}),(0,t.jsxs)("section",{className:"c-content-block",children:[(0,t.jsx)("header",{className:"c-content-block__header c-content-block__header--centered",children:(0,t.jsxs)("div",{className:"l-container",children:[(0,t.jsx)(U,{lang:i}),(0,t.jsx)("h2",{className:"t-title t-title--small t-title--2",children:e==null?void 0:e.home.page.title}),(0,t.jsx)("h3",{className:"t-lead t-lead2",children:a.exp_mood})]})}),(0,t.jsx)("ul",{className:"l-mobile-grid u-grid-4 u-grid-4--small l-container",children:u.map(l=>(0,t.jsx)("li",{children:(0,t.jsx)(P,{url:`/${i}/${l.url}`,title:l.title,image:l.preview_image})},l.id))})]}),(0,t.jsx)("div",{className:"l-container l-container--gift",children:(0,t.jsx)(H,{title:a.gc_hp3,meta:a.gc_hp2,url:`/${i}/gift-card/new`,btnText:a.gc_hp4})}),(0,t.jsxs)("section",{className:"c-content-block",children:[(0,t.jsx)("header",{className:"c-content-block__header",children:(0,t.jsx)("div",{className:"l-container",children:(0,t.jsx)("h2",{className:"t-title t-title--2",children:a.must_see})})}),(0,t.jsxs)("ul",{className:"c-card-grid c-card-grid--3 l-mobile-grid u-grid-4 u-grid-4--small l-container",children:[e==null?void 0:e.home.page.place.map(l=>(0,t.jsx)("li",{children:(0,t.jsx)(B,{url:`/${i}/${l.url}`,title:l.title,text:l.sub_title,image:l.preview_image,cta:a.best_exp})},l.id)),(0,t.jsx)("div",{className:"c-content-block__footer",children:(0,t.jsx)("a",{href:`/${i}/place`,className:"c-button",children:a.load_others})})]})]}),(e==null?void 0:e.home.page.experience_top)&&(0,t.jsx)("div",{className:"l-container",children:(0,t.jsx)(A,{title:e==null?void 0:e.home.page.experience_top.title,meta:e==null?void 0:e.home.page.experience_top.location,subtitle:a.exp_highlights,url:`/${i}/${e==null?void 0:e.home.page.experience_top.url}`,image:e==null?void 0:e.home.page.experience_top.preview_image,cta:a.discover_more})}),(e==null?void 0:e.home.page.experience_last.length)>0?(0,t.jsxs)("section",{className:"c-content-block",children:[(0,t.jsx)("header",{className:"c-content-block__header",children:(0,t.jsx)("div",{className:"l-container",children:(0,t.jsx)("h2",{className:"t-title t-title--2",children:a.last_seen})})}),(0,t.jsx)("ul",{className:"c-card-grid l-mobile-grid u-grid-4 l-container",children:e==null?void 0:e.home.page.experience_last.map(l=>(0,t.jsx)("li",{children:(0,t.jsx)(T,{status:l.available_status,available_label:l.available_label,available_from:l.available_from,url:`/${i}/${l.url}`,title:l.title,text:l.sub_title,place:l.location,hours:l.hours_short,max_person:l.max_pax_short,startingPrice:l.base_price,person:l.base_payer,image:l.preview_image,experience_id:l.id,discount:l.group_discount})},l.id))})]}):null,(0,t.jsxs)("section",{className:"c-content-block",children:[(0,t.jsx)("header",{className:"c-content-block__header",children:(0,t.jsx)("div",{className:"l-container",children:(0,t.jsx)("h2",{className:"t-title t-title--2",children:"Now My Blog"})})}),(0,t.jsxs)("ul",{className:"c-content-block--news l-mobile-grid u-grid-4 u-grid-4--small l-container",children:[e==null?void 0:e.home.page.blog.map(l=>(0,t.jsx)("li",{children:(0,t.jsx)(L,{url:`/${i}/${l.url}`,title:l.title,cat:l.blog_category,date:l.blog_date,image:l.preview_image})},l.id)),(0,t.jsx)("div",{className:"c-content-block__footer",children:(0,t.jsx)("a",{href:`/${i}/blog`,className:"c-button",children:a.load_others})})]})]})]})}export{V as default,Z as meta};

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.