PageSourceSearch

https://www.readysethome.ai/assets/PublicOfferStatus-t-tGIG3Z.js

js readysethome.ai collected 2026-10-05 15:03:39 UTC 2,745 bytes, 1 lines download raw bytes

1import{j as e}from"./ui-vendor-CwKPOJE8.js";import{aU as d,Q as u,W as g,a4 as h}from"./index-BdZNXa7t.js";import{i as b,r as s}from"./react-vendor-BoB-7tOT.js";import{p as y,a as j}from"./publicLang-DgOttRnU.js";import{B as w}from"./BuyerSideOfferCard-D7g1BD6y.js";import"./supabase-QBQ6M2WM.js";import"./utils-BomB368b.js";import"./charts-DdJgN9kB.js";import"./reply-cSODIMI2.js";const N={en:{loading:"Loading…",badTitle:"This offer link is not valid",badBody:"Double-check the link in your email, or contact the listing agent directly.",eyebrow:"Your offer",done:"Done — the listing agent has been told.",footer:"Answering here records your response for the listing agent. The signed contract is what binds the parties."},es:{loading:"Cargando…",badTitle:"Este enlace de oferta no es válido",badBody:"Revisa el enlace de tu correo o comunícate directamente con el agente de la propiedad.",eyebrow:"Tu oferta",done:"Listo — se le avisó al agente de la propiedad.",footer:"Responder aquí registra tu respuesta para el agente de la propiedad. Lo que obliga a las partes es el contrato firmado."}};function R(){const t=y(N),m=j(),{offerToken:a}=b(),[i,x]=s.useState(null),[l,r]=s.useState("loading"),[c,p]=s.useState(""),o=s.useCallback(async()=>{if(!a){r("missing");return}try{const n=await d.getStatusByToken(a);if(!n){r("missing");return}x(n),r("ready")}catch{r("missing")}},[a]);return s.useEffect(()=>{o()},[o]),l==="loading"?e.jsxs("div",{className:"min-h-screen flex items-center justify-center bg-stone-100 text-stone-500",children:[e.jsx(u,{className:"w-6 h-6 animate-spin mr-2"})," ",t.loading]}):l==="missing"||!i?e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-stone-100 p-6",children:e.jsxs("div",{className:"max-w-md text-center",children:[e.jsx(g,{className:"w-10 h-10 text-stone-400 mx-auto mb-3"}),e.jsx("h1",{className:"text-xl font-bold text-stone-800",children:t.badTitle}),e.jsx("p",{className:"text-stone-600 mt-2",children:t.badBody})]})}):e.jsx("div",{className:"min-h-screen bg-stone-100 py-8 px-4",children:e.jsxs("div",{className:"max-w-2xl mx-auto space-y-3",children:[e.jsx("p",{className:"text-[11px] uppercase tracking-widest font-semibold text-amber-800",children:t.eyebrow}),c&&e.jsx("p",{className:"text-sm text-emerald-800 bg-emerald-50 border border-emerald-200 rounded-lg px-3 py-2",children:c}),e.jsx(w,{offer:i,lang:m,askName:!0,onAction:async(n,f)=>{await d.buyerLinkAction(a,n,f),p(t.done),await o()}}),e.jsx("p",{className:"text-center text-xs text-stone-400 pt-2",children:t.footer}),e.jsxs("p",{className:"text-center text-[11px] text-stone-400",children:[h()?"ReadySetHome.ai":"LendMatchPro.ai"," · © 2026 Online Commerce Hub, LLC"]})]})})}export{R as default};

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.