PageSourceSearch

https://www.wanderlustapp.io/_next/static/chunks/app/contact/page-…?dpl=dpl_GAP987WgYhcLvZA7J58WQtbvWdQ4

js wanderlustapp.io collected 2026-09-24 13:22:09 UTC 12,961 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{24539:(e,s,a)=>{Promise.resolve().then(a.t.bind(a,98500,23)),Promise.resolve().then(a.bind(a,60516)),Promise.resolve().then(a.t.bind(a,57867,23)),Promise.resolve().then(a.t.bind(a,36090,23))},36090:()=>{},42023:(e,s,a)=>{"use strict";a.d(s,{Ck:()=>o,c5:()=>c,qY:()=>r,sx:()=>d});var t=a(78314),n=a(41463);let r=Object.freeze({VISIT:"visit",SIGNUP:"signup",AI_GENERATION_START:"ai_generation_start",AI_GENERATION_COMPLETE:"ai_generation_complete",JOURNEY_SAVED:"journey_saved",SHARE_CREATED:"share_created",INVITED_USER_SIGNUP:"invited_user_signup",AFFILIATE_CLICK:"affiliate_click",BOOKING_IMPORTED:"booking_imported",PAYWALL_VIEW:"paywall_view",UPGRADE_CTA_CLICK:"upgrade_cta_click",BEGIN_CHECKOUT:"begin_checkout",PURCHASE:"purchase"}),i="wl_anon",l=n.env.NEXT_PUBLIC_GOOGLE_ANALYTICS||"G-XWSBN43968";function o(){var e;let s=null;try{s=window.localStorage.getItem(i)}catch(e){}s||(s=function(){if("u"<typeof document)return null;let e=document.cookie.match(/(?:^|;\s*)wl_anon=([^;]+)/);return e?decodeURIComponent(e[1]):null}()),s||(s="u">typeof crypto&&crypto.randomUUID?crypto.randomUUID():`wl_${Date.now()}_${Math.random().toString(36).slice(2)}`);try{window.localStorage.setItem(i,s)}catch(e){}return e=s,"u"<typeof document||(document.cookie=`${i}=${encodeURIComponent(e)}; path=/; max-age=31536000; SameSite=Lax`),s}function c(e,s={}){try{(window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)},window.gtag)?.("event",e,{...s,send_to:l})}catch(e){}}function d(e,s={},a={}){c(e,s);try{(0,t.u4)(e,s)}catch(e){}try{!1!==a.serverPost&&fetch("/api/analytics/track",{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,anonId:o(),props:s,path:window.location.pathname,referrer:document.referrer})}).catch(()=>{})}catch(e){}}},57867:()=>{},60516:(e,s,a)=>{"use strict";a.d(s,{default:()=>u});var t=a(95155),n=a(12115),r=a(98500),i=a.n(r),l=a(42023),o=a(97200);let c=["Product support","Enterprise partnerships","Press & media","Investment opportunities","General inquiry"],d=[{key:"General",value:"[email protected]",href:"mailto:[email protected]"},{key:"Partners",value:"[email protected]",href:"mailto:[email protected]"},{key:"Press",value:"[email protected]",href:"mailto:[email protected]"}],m=[{label:"Help Center",description:"Guides, billing, and account support",href:"/support"},{label:"Press kit",description:"Brand assets and company background",href:"/press"},{label:"Partnerships",description:"Collaborate on curated travel experiences",href:"/advertisers"}],h=[{num:"< 24h",label:"typical response"},{num:o.Jz,label:"cities covered"},{num:o.W,label:"countries we plan in"}];function u(){let[e,s]=(0,n.useState)(!1),[a,r]=(0,n.useState)("idle"),[o,u]=(0,n.use
1State)(""),p=(0,n.useRef)(null);(0,n.useEffect)(()=>{p.current=Date.now()},[]);let f=async a=>{a.preventDefault();let t=a.currentTarget,n=new FormData(t);if(n.get("website")?.toString().trim())return;let i=n.get("first-name")?.toString().trim()||"",o=n.get("last-name")?.toString().trim()||"",c=n.get("email")?.toString().trim()||"",d=n.get("company")?.toString().trim()||"",m=n.get("topic")?.toString().trim()||"",h=t.querySelector("select[name='country'] option:checked"),f=h?.textContent?.trim()||n.get("country")?.toString().trim()||"",x=n.get("phone-number")?.toString().trim()||"",j=n.get("message")?.toString().trim()||"";if(!i||!o||!c||!j){r("error"),u("Please fill out your name, email, and message before submitting.");return}r("loading"),u("");try{let a=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:i,lastName:o,email:c,company:d,topic:m,phoneCountry:f,phoneNumber:x,message:j,agreed:e,renderedAt:p.current})});if(!a.ok){let e=await a.json().catch(()=>({}));throw Error(e?.message||"We couldn't send your message. Please try again.")}t.reset(),s(!1),r("success"),u("Thanks for reaching out — a real person will reply from our inbox shortly."),(0,l.c5)("contact_form_submit",{topic:m})}catch(e){console.error("Contact form submission failed",e),r("error"),u(e.message)}};return(0,t.jsxs)("div",{className:"wl-ed wl-contact",children:[(0,t.jsx)("section",{className:"hero",children:(0,t.jsxs)("div",{className:"container hero-grid",children:[(0,t.jsxs)("div",{className:"hero-left",children:[(0,t.jsxs)("span",{className:"eyebrow",children:[(0,t.jsx)("span",{className:"dot"}),"Talk to us"]}),(0,t.jsxs)("h1",{className:"hero-headline",children:["We'd love to ",(0,t.jsx)("em",{children:"hear from you"}),"."]}),(0,t.jsx)("p",{className:"hero-sub",children:"Planning a custom itinerary, exploring a partnership, or wondering whether your team should write for the journal? Drop us a note — a real person reads every message."}),(0,t.jsx)("div",{className:"hero-meta",children:h.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"m-num",children:e.num}),e.label]},e.label))})]}),(0,t.jsx)("div",{className:"hero-right",children:(0,t.jsxs)("div",{className:"contact-card",children:[(0,t.jsxs)("span",{className:"cc-stamp",children:[(0,t.jsx)("span",{className:"dot"}),"Direct line"]}),(0,t.jsxs)("h2",{className:"cc-head",children:["Skip the form. ",(0,t.jsx)("em",{children:"Just email us."})]}),(0,t.jsx)("p",{className:"cc-sub",children:"Sometimes the fastest path is the shortest. Reach the right desk directly."}),(0,t.jsx)("div",{className:"cc-rows",children:d.map(e=>(0,t.jsxs)("div",{className:"cc-row",children:[(0,t.jsx)("span",{className:"cc-key",children:e.key}),(0,t.jsx)("a",{className:"cc-val",href:e.href,children:e.value})]},e.key))}),(0,t.jsxs)("div",{className:"cc-foot",children:[(0,t.jsx)("span",{children:"VOL 01 \xb7 No. 24"}),(0,t.jsx)("span",{children:"San Francisco, CA"})]})]})})]})}),(0,t.jsx)("section",{className:"wl-section",style:{paddingTop:48},children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"section-intro",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"section-eyebrow",children:"Tell us about it"}),(0,t.jsxs)("h2",{className:"section-title",children:["A short note ",(0,t.jsx)("em",{children:"goes a long way"}),"."]})]}),(0,t.jsx)("p",{children:"Pick a topic, share what you're working on, and any timeline. We'll reply from a real inbox — no autoresponders."})]}),(0,t.jsxs)("div",{className:"form-grid",children:[(0,t.jsxs)("aside",{className:"form-aside",children:[(0,t.jsx)("div",{className:"section-eyebrow",children:"Other ways in"}),(0,t.jsxs)("h3",{children:["Already know ",(0,t.jsx)("em",{children:"where to go?"})]}),(0,t.jsx)("p",{children:"A few common shortcuts — most product questions are faster answered in the help center."}),(0,t.jsx)("ul",{className:"quick-links",children:m.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)(i(),{href:e.href,children:[(0,t.jsxs)("span",{children:[e.label,(0,t.jsx)("small",{children:e.description})]}),(0,t.jsx)("span",{className:"ql-arrow","aria-hidden":"true",children:"→"})]})},e.label))})]}),(0,t.jsxs)("form",{noValidate:!0,onSubmit:f,className:"contact-form","aria-label":"Contact Wanderlust",children:[(0,t.jsxs)("div",{"aria-hidden":"true",style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0},children:[(0,t.jsx)("label",{htmlFor:"website",children:"Leave this field empty"}),(0,t.jsx)("input",{id:"website",name:"website",type:"text",tabIndex:-1,autoComplete:"off",defaultValue:""})]}),(0,t.jsxs)("div",{className:"field-grid",children:[(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"first-name",children:"First name"}),(0,t.jsx)("input",{id:"first-name",name:"first-name",type:"text",autoComplete:"given-name",placeholder:"Ada",className:"field-input"})]}),(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"last-name",children:"Last name"}),(0,t.jsx)("input",{id:"last-name",name:"last-name",type:"text",autoComplete:"family-name",placeholder:"Lovelace",className:"field-input"})]}),(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"email",children:"Email"}),(0,t.jsx)("input",{id:"email",name:"email",type:"email",autoComplete:"email",placeholder:"[email protected]",className:"field-input"})]}),(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"company",children:"Company / outlet"}),(0,t.jsx)("input",{id:"company",name:"company",type:"text",autoComplete:"organization",placeholder:"Optional",className:"field-input"})]}),(0,t.jsxs)("div",{className:"field full",children:[(0,t.jsx)("label",{htmlFor:"topic",children:"How can we help?"}),(0,t.jsx)("select",{id:"topic",name:"topic",className:"field-select",defaultValue:c[0],children:c.map(e=>(0,t.jsx)("option",{value:e,children:e},e))})]}),(0,t.jsxs)("div",{className:"field full",children:[(0,t.jsx)("label",{htmlFor:"phone-number",children:"Phone (optional)"}),(0,t.jsxs)("div",{className:"phone-group",children:[(0,t.jsxs)("select",{id:"country",name:"country",className:"field-select","aria-label":"Country code",children:[(0,t.jsx)("option",{value:"US",children:"US +1"}),(0,t.jsx)("option",{value:"CA",children:"CA +1"}),(0,t.jsx)("option",{value:"GB",children:"UK +44"}),(0,t.jsx)("option",{value:"AU",children:"AU +61"})]}),(0,t.jsx)("input",{id:"phone-number",name:"phone-number",type:"tel",placeholder:"(555) 987-6543",className:"field-input"})]})]}),(0,t.jsxs)("div",{className:"field full",children:[(0,t.jsx)("label",{htmlFor:"message",children:"Project details"}),(0,t.jsx)("textarea",{id:"message",name:"message",rows:5,placeholder:"Tell us about your travelers, timelines, and goals — a few sentences is plenty.",className:"field-textarea",defaultValue:""})]}),(0,t.jsxs)("div",{className:"agree-row",children:[(0,t.jsx)("button",{type:"button",className:"toggle",role:"switch","aria-checked":e,"data-checked":e?"true":"false",onClick:()=>s(e=>!e),children:(0,t.jsxs)("span",{className:"sr-only",children:[e?"Disagree":"Agree"," to receive updates"]})}),(0,t.jsx)("p",{children:"I'd like occasional updates — travel inspiration, product news, and the monthly Wanderlust Dispatch. No spam, unsubscribe anytime."})]})]}),(0,t.jsxs)("div",{className:"form-actions",children:[(0,t.jsx)("button",{type:"submit",disabled:"loading"===a,className:"submit-btn",children:"loading"===a?"Sending…":"Send message →"}),(0,t.jsx)("span",{className:"submit-note",children:"Reply within one business day"})]}),o?(0,t.jsx)("div",{className:`feedback ${"success"===a?"success":"error"}`,role:"status","aria-live":"polite",children:o}):null]})]})]})}),(0,t.jsx)("section",{className:"wl-section",style:{padding:"40px 0 0"},children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"final-cta",children:(0,t.jsxs)("div",{className:"final-cta-inner",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"section-eyebrow",style:{color:"color-mix(in oklab, var(--wl-bg) 60%, transparent)"},children:"Or jump in now"}),(0,t.jsxs)("h2",{children:["Don't need to ",(0,t.jsx)("em",{children:"chat?"}),(0,t.jsx)("br",{}),"Start your ",(0,t.jsx)("em",{children:"first trip."})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{children:"Wanderlust is free to plan with — no card needed. Build your first itinerary in under two minutes, and reach out only if you'd like a hand."}),(0,t.jsxs)("div",{className:"final-cta-actions",children:[(0,t.jsx)(i(),{className:"btn btn-accent",href:"/signup",children:"Plan my trip →"}),(0,t.jsx)(i(),{className:"btn-outline-light",href:"/features",children:"See how it works"})]})]})]})})})})]})}},78314:(e,s,a)=>{"use strict";function t(){return"u">typeof window}a.d(s,{u4:()=>i});function n(){return(t()?window.vam:function(){return"production"}())||"production"}function r(){return"production"===n()}function i(e,s,a){var i,l;if(!t()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(r())console.warn(e);else throw Error(e);return}if(!s){null==(i=window.va)||i.call(window,"event",{name:e,options:a});return}try{let t=function(e,s){if(!e)return;let a=e,t=[];for(let[n,r]of Object.entries(e))"object"==typeof r&&null!==r&&(s.strip?a=function(e,{[e]:s,...a}){return a}(n,a):t.push(n));if(t.length>0&&!s.strip)throw Error(`The following properties are not valid: ${t.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return a}(s,{strip:r()});null==(l=window.va)||l.call(window,"event",{name:e,data:t,options:a})}catch(e){e instanceof Error&&"development"===n()&&console.error(e)}}},97200:(e,s,a)=>{"use strict";a.d(s,{$V:()=>l,Jz:()=>t,OE:()=>r,Oy:()=>o,W:()=>n,e6:()=>c,qU:()=>i});let t="1,300+",n="190+",r=6.99,i=59.99,l=240,o=3.99,c=39.99}},e=>{e.O(0,[1464,4219,8500,8441,3794,7358],()=>e(e.s=24539)),_N_E=e.O()}]);

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.