PageSourceSearch

https://www.nakeddenver.com/_next/static/chunks/pages/contact-26dd97a34c756830.js

js nakeddenver.com collected 2026-10-07 20:21:01 UTC 14,391 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6016bb30-59f1-4a1b-9eca-3087441db120",e._sentryDebugIdIdentifier="sentry-dbid-6016bb30-59f1-4a1b-9eca-3087441db120")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9335],{93328:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return t(68685)}])},7022:function(e,a,t){"use strict";t.d(a,{Z:function(){return Combobox}});var s=t(85893),r=t(67294),n=t(37462),l=t(8971),i=t(31012),o=t(13742);function Combobox(e){let{value:a,onChange:t,options:d,placeholder:c="Select...",allowCustom:m=!1,name:u,disabled:h=!1,className:x="",size:p="md",id:b}=e,[g,f]=(0,r.useState)(""),y=(0,r.useMemo)(()=>d.find(e=>e.value===a),[d,a]),j=(0,r.useMemo)(()=>{if(!g)return d;let e=g.toLowerCase();return d.filter(a=>a.label.toLowerCase().includes(e))},[d,g]),v=m&&""!==g.trim()&&!d.some(e=>e.label.toLowerCase()===g.toLowerCase());return(0,s.jsx)(n.hQ,{value:a,onChange:e=>{t(null!=e?e:""),f("")},disabled:h,name:u,onClose:()=>f(""),children:(0,s.jsxs)("div",{className:"relative ".concat(x),children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(n.gA,{id:b,style:{outline:"none"},className:"w-full rounded-sm border text-neutral-800 placeholder-neutral-400 transition-colors duration-200 ".concat("sm"===p?"px-3 py-1.5 text-sm pr-8":"px-3.5 py-2 pr-10"," ").concat(h?"border-neutral-200 bg-neutral-50 cursor-not-allowed text-neutral-400":"border-neutral-200 bg-neutral-50 hover:bg-white hover:border-neutral-300 focus:bg-white focus:border-primary-500 focus:ring-[3px] focus:ring-primary-500/10"),displayValue:()=>{var e;return null!==(e=null==y?void 0:y.label)&&void 0!==e?e:m?a:""},onChange:e=>f(e.target.value),placeholder:c}),(0,s.jsx)(n.Q$,{className:"group/btn absolute inset-y-1 right-1 flex items-center px-2 text-neutral-400 transition-colors hover:text-neutral-600 focus-visible:ring-2 focus-visible:ring-primary-600",children:(0,s.jsx)(l.Z,{size:"sm"===p?14:16,"aria-hidden":"true",className:"transition-transform duration-200 group-data-[open]/btn:rotate-180"})})]}),(0,s.jsxs)(n.L5,{transition:!0,anchor:"bottom start",className:"z-50 mt-1.5 max-h-64 w-[var(--input-width)] origin-top overflow-auto border border-neutral-300 bg-[#fffdf9] py-1 text-sm shadow-[0_12px_30px_rgba(23,21,18,0.12)] transition duration-150 ease-out focus:outline-none data-[closed]:-translate-y-1 data-[closed]:opacity-0 [&:focus]:!outline-none",children:[0===j.length&&!v&&(0,s.jsx)("div",{className:"px-3 py-6 text-neutral-400 text-center text-xs",children:"No results found"}),v&&(0,s.jsxs)(n.O2,{value:g.trim(),className:"group relative mx-1 cursor-pointer select-none py-2 pl-8 pr-3 text-neutral-600 transition-colors duration-75 data-[focus]:bg-primary-50 data-[focus]:text-primary-700",children:[(0,s.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-2 text-primary-500 opacity-60 group-data-[focus]:opacity-100",children:(0,s.jsx)(i.Z,{size:14,"aria-hidden":"true"})}),(0,s.jsxs)("span",{className:"font-medium",children:["Use “",g.trim(),"”"]})]}),j.map(e=>(0,s.jsxs)(n.O2,{value:e.value,disabled:e.disabled,className:"group relative mx-1 cursor-pointer select-none py-2 pl-8 pr-3 text-neutral-600 transition-colors duration-75 data-[disabled]:cursor-not-allowed data-[disabled]:text-neutral-300 data-[focus]:bg-neutral-100 data-[focus]:text-neutral-900",children:[(0,s.jsx)("span",{className:"block truncate group-data-[selected]:font-medium font-normal group-data-[selected]:text-neutral-900",children:e.label}),(0,s.jsx)("span",{className:"absolute inset-y-0 left-0 hidden items-center pl-2 group-data-[selected]:flex text-primary-500",children:(0,s.jsx)(o.Z,{size:14,strokeWidth:2.5,"aria-hidden":"true"})})]},e.value))]})]})})}},68685:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return ContactPage}});var s=t(85893),r=t(41664),n=t.n(r),l=t(56953),i=t(54976),o=t(67294),d=t(16310),c=t(32125),m=t(7022);let u=d.Ry().shape({name:d.Z_().required("Name is required").min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").matches(/^[a-zA-Z\s'-]+$/,"Name can only contain letters, space
1s, hyphens, and apostrophes"),email:d.Z_().required("Email is required").email("Please enter a valid email address").max(255,"Email must be less than 255 characters"),phone:d.Z_().optional().matches(/^[\d\s\-\(\)\+]*$/,"Please enter a valid phone number").max(20,"Phone number must be less than 20 characters"),company:d.Z_().optional().max(100,"Company name must be less than 100 characters"),interest:d.Z_().optional().oneOf(["story-tip","advertising","partnership","press-release","general-inquiry","other",""],"Please select a valid option"),message:d.Z_().required("Message is required").min(10,"Message must be at least 10 characters").max(5e3,"Message must be less than 5000 characters")});function ContactForm(e){let{className:a=""}=e,[t,r]=(0,o.useState)({name:"",email:"",phone:"",company:"",message:"",interest:""}),[n,l]=(0,o.useState)(!1),[i,h]=(0,o.useState)(""),[x,p]=(0,o.useState)(!1),[b,g]=(0,o.useState)({}),handleChange=e=>{let{name:a,value:t}=e.target;r(e=>({...e,[a]:t})),b[a]&&g(e=>{let t={...e};return delete t[a],t})},handleSubmit=async e=>{e.preventDefault(),l(!0),h(""),g({});try{await u.validate(t,{abortEarly:!1});let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),a=await e.json();e.ok?(p(!0),h(a.message||"Thank you for your message! We'll get back to you soon."),(0,c.Pv)("Contact Form",!0),r({name:"",email:"",phone:"",company:"",message:"",interest:""})):(p(!1),h(a.error||"Failed to send message. Please try again."),(0,c.Pv)("Contact Form",!1))}catch(e){if(e instanceof d.p8){let a={};e.inner.forEach(e=>{e.path&&(a[e.path]=e.message)}),g(a),p(!1),h("Please fix the errors below and try again.")}else p(!1),h("Network error. Please try again."),console.error("Contact form error:",e)}finally{l(!1)}};return(0,s.jsx)("div",{className:"bg-white rounded-2xl p-6 shadow-nd ".concat(a),children:x?(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center text-center py-8",children:[(0,s.jsx)("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:(0,s.jsx)("svg",{className:"w-8 h-8 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),(0,s.jsx)("h3",{className:"text-2xl font-semibold text-neutral-900 mb-2",children:"Message Sent!"}),(0,s.jsx)("p",{className:"text-neutral-600 mb-6",children:"Thank you for reaching out! We'll get back to you within 1-2 business days."}),(0,s.jsx)("button",{type:"button",onClick:()=>p(!1),className:"text-primary-500 hover:text-primary-600 font-medium underline",children:"Send another message"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h3",{className:"text-2xl font-semibold text-nd-black mb-6",children:"Send us a Message"}),(0,s.jsxs)("form",{onSubmit:handleSubmit,className:"space-y-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium text-neutral-700 mb-1",children:"Name *"}),(0,s.jsx)("input",{type:"text",id:"name",name:"name",value:t.name,onChange:handleChange,className:"input-field ".concat(b.name?"border-red-500 focus:ring-red-500":""),disabled:n,"aria-invalid":!!b.name,"aria-describedby":b.name?"name-error":void 0}),b.name&&(0,s.jsx)("p",{id:"name-error",className:"mt-1 text-sm text-red-600",children:b.name})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-neutral-700 mb-1",children:"Email *"}),(0,s.jsx)("input",{type:"email",id:"email",name:"email",value:t.email,onChange:handleChange,className:"input-field ".concat(b.email?"border-red-500 focus:ring-red-500":""),disabled:n,"aria-invalid":!!b.email,"aria-describedby":b.email?"email-error":void 0}),b.email&&(0,s.jsx)("p",{id:"email-error",className:"mt-1 text-sm text-red-600",children:b.email})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"phone",className:"block text-sm font-medium text-neutral-700 mb-1",children:"Phone"}),(0,s.jsx)("input",{type:"tel",id:"phone",name:"phone",value:t.phone,onChange:handleChange,className:"input-field ".concat(b.phone?"border-red-500 focus:ring-red-500":""),disabled:n,"aria-invalid":!!b.phone,"aria-describedby":b.phone?"phone-error":void 0}),b.phone&&(0,s.jsx)("p",{id:"phone-error",className:"mt-1 text-sm text-red-600",children:b.phone})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"company",className:"block text-sm font-medium text-neutral-700 mb-1",children:"Company"}),(0,s.jsx)("input",{type:"text",id:"company",name:"company",value:t.company,onChange:handleChange,className:"input-field ".concat(b.company?"border-red-500 focus:ring-red-500":""),disabled:n,"aria-invalid":!!b.company,"aria-describedby":b.company?"company-error":void 0}),b.company&&(0,s.jsx)("p",{id:"company-error",className:"mt-1 text-sm text-red-600",children:b.company})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"interest",className:"block text-sm font-medium text-neutral-700 mb-1",children:"I'm interested in"}),(0,s.jsx)(m.Z,{value:t.interest,onChange:e=>{r(a=>({...a,interest:e})),b.interest&&g(e=>{let a={...e};return delete a.interest,a})},options:[{value:"",label:"Select an option"},{value:"story-tip",label:"Story Tip"},{value:"advertising",label:"Advertising"},{value:"partnership",label:"Partnership"},{value:"press-release",label:"Press Release"},{value:"general-inquiry",label:"General Inquiry"},{value:"other",label:"Other"}],placeholder:"Select an option",disabled:n}),b.interest&&(0,s.jsx)("p",{id:"interest-error",className:"mt-1 text-sm text-red-600",children:b.interest})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium text-neutral-700 mb-1",children:"Message *"}),(0,s.jsx)("textarea",{id:"message",name:"message",value:t.message,onChange:handleChange,rows:4,className:"input-field resize-none ".concat(b.message?"border-red-500 focus:ring-red-500":""),disabled:n,placeholder:"Tell us about your project or inquiry...","aria-invalid":!!b.message,"aria-describedby":b.message?"message-error":void 0}),b.message&&(0,s.jsx)("p",{id:"message-error",className:"mt-1 text-sm text-red-600",children:b.message})]}),i&&(0,s.jsx)("div",{className:"p-4 rounded-xl ".concat(x?"bg-green-100 text-green-800":"bg-red-100 text-red-800"),children:i}),(0,s.jsx)("button",{type:"submit",disabled:n,className:"btn-primary w-full disabled:opacity-50 disabled:cursor-not-allowed",children:n?"Sending...":"Send Message"})]})]})})}var h=t(92891);function ContactPage(){return(0,s.jsx)(h.Z,{title:"Contact — Naked Denver",description:"Get in touch with Naked Denver about Denver real estate stories, partnerships, and more.",children:(0,s.jsx)("section",{className:"py-12 bg-neutral-50",children:(0,s.jsxs)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[(0,s.jsx)("h1",{className:"text-4xl font-bold text-neutral-900 mb
1-4",children:"Get in touch"}),(0,s.jsx)("p",{className:"text-xl text-neutral-600 max-w-2xl mx-auto",children:"Story tips, partnership ideas, or questions about Denver real estate — we read everything."})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-6 rounded-xl border bg-white p-5",children:[(0,s.jsx)("h2",{className:"font-semibold text-lg",children:"Looking for a real estate broker?"}),(0,s.jsx)("p",{className:"my-2",children:"Tell us about your plans and request a local introduction."}),(0,s.jsx)(n(),{href:"/find-a-broker",className:"underline font-medium",children:"Find a broker"})]}),(0,s.jsx)(ContactForm,{})]}),(0,s.jsxs)("div",{className:"space-y-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-2xl font-semibold text-neutral-900 mb-2",children:"Where we are"}),(0,s.jsx)("p",{className:"text-neutral-600",children:"A small team in Denver, covering what's happening around us."})]}),(0,s.jsxs)("div",{className:"space-y-5",children:[(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"w-11 h-11 bg-primary-50 rounded-lg flex items-center justify-center flex-shrink-0",children:(0,s.jsx)(l.Z,{className:"w-5 h-5 text-primary-700"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold text-neutral-900",children:"Email"}),(0,s.jsx)("a",{href:"mailto:[email protected]",className:"text-neutral-600 hover:text-primary-700",children:"[email protected]"})]})]}),(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"w-11 h-11 bg-primary-50 rounded-lg flex items-center justify-center flex-shrink-0",children:(0,s.jsx)(i.Z,{className:"w-5 h-5 text-primary-700"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold text-neutral-900",children:"Location"}),(0,s.jsx)("p",{className:"text-neutral-600",children:"Denver, Colorado"})]})]})]}),(0,s.jsxs)("div",{className:"bg-white border border-neutral-200 rounded-2xl p-6",children:[(0,s.jsx)("h4",{className:"font-semibold text-neutral-900 mb-2",children:"Hours"}),(0,s.jsxs)("dl",{className:"space-y-1 text-sm text-neutral-600",children:[(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("dt",{children:"Mon–Fri"}),(0,s.jsx)("dd",{children:"9:00 AM – 6:00 PM"})]}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("dt",{children:"Saturday"}),(0,s.jsx)("dd",{children:"10:00 AM – 4:00 PM"})]}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("dt",{children:"Sunday"}),(0,s.jsx)("dd",{children:"Closed"})]})]})]})]})]})]})})})}}},function(e){e.O(0,[6342,3996,4232,350,1700,6310,4593,2891,9774,2888,179],function(){return e(e.s=93328)}),_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.