PageSourceSearch

https://www.host-pilot.ai/assets/DiscoveryInterestPage-UyE9cnnL.js

js host-pilot.ai collected 2026-10-05 12:05:45 UTC 3,123 bytes, 1 lines download raw bytes

1import{r as i,j as e,b}from"./DocumentFrame-TeeHRRHz.js";import{b as y}from"./analytics-DIKVoLwt.js";import{d as j,L as f}from"./marketingPageFamilies-qGkwviUq.js";import"./previewEntry-DQH0Phvn.js";function k({kind:l}){const[c]=j(),[d,x]=i.useState(""),[m,u]=i.useState(""),[o,a]=i.useState("idle"),s=c.get("site")||"",h=c.get("property")||"",t=l==="claim_stay",n=t?"Claim this Host-Pilot Stay":"Bring this Stay to Life";async function g(r){r.preventDefault(),a("sending");try{const p=await fetch("/api/get-website-content?discovery=interest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({kind:l,siteSlug:s,propertyId:h,email:d,message:m})});a(p.ok?"sent":"error"),p.ok&&!t&&y("concept_interest_submitted",{concept_slug:s})}catch{a("error")}}return e.jsxs("main",{className:"min-h-screen bg-stone-50 px-4 py-16",children:[e.jsxs(b,{children:[e.jsxs("title",{children:[n," | Host-Pilot"]}),e.jsx("meta",{name:"robots",content:"noindex, follow"})]}),e.jsxs("div",{className:"mx-auto max-w-2xl rounded-3xl border border-stone-200 bg-white p-8 shadow-sm md:p-12",children:[e.jsxs(f,{to:t?"/stays":"/concepts",className:"text-sm font-semibold text-emerald-700",children:["← Back to ",t?"Stays":"Concepts"]}),e.jsx("h1",{className:"mt-6 text-4xl font-bold",children:n}),e.jsx("p",{className:"mt-4 leading-7 text-slate-700",children:t?"This starts an ownership review; it does not transfer control automatically. Tell us how you are connected to the property. Approved owners keep the existing property URL and gain normal Host-Pilot controls.":"Tell us about your land, existing property or project. V1 records interest only; concepts are creative digital property directions, not certified architectural or engineering plans."}),s&&e.jsxs("p",{className:"mt-4 rounded-lg bg-stone-100 px-4 py-3 text-sm",children:["Site: ",e.jsxs("strong",{children:[s,".host-pilot.ai"]})]}),o==="sent"?e.jsxs("div",{className:"mt-8 rounded-xl bg-emerald-50 p-5 text-emerald-900",children:[e.jsx("strong",{children:"Request received."})," The Host-Pilot team will review it before any state or ownership changes."]}):e.jsxs("form",{onSubmit:g,className:"mt-8 space-y-5",children:[e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-semibold",children:"Email"}),e.jsx("input",{required:!0,type:"email",value:d,onChange:r=>x(r.target.value),className:"mt-2 w-full rounded-xl border border-stone-300 px-4 py-3"})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-semibold",children:t?"Ownership evidence or context":"Your setting and idea"}),e.jsx("textarea",{required:!0,rows:6,value:m,onChange:r=>u(r.target.value),className:"mt-2 w-full rounded-xl border border-stone-300 px-4 py-3"})]}),e.jsx("button",{disabled:o==="sending"||!s,className:"w-full rounded-xl bg-slate-950 px-5 py-3 font-semibold text-white disabled:opacity-50",children:o==="sending"?"Sending…":n}),o==="error"&&e.jsx("p",{className:"text-sm text-red-700",children:"We could not save the request. Check the site and try again."})]})]})]})}export{k as DiscoveryInterestPage};

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.