1import{j as e,d as h,r as p}from"./vendor-react-DfYGAhtm.js";import{u as b,e as f}from"./vendor-state-BsBVN-fX.js";import{g as j}from"./green_strip-C4meNRuY.js";import{S as y}from"./StepPageLayout-DdZUweau.js";import{d as S,I as W}from"./vendor-icons-1odZwi-b.js";import{m as x,y as k,bp as w}from"./index-DsBgCU7r.js";import{F as i,T as r,v as l,V as d,a as o,H as F}from"./vendor-ui-DA_r9yXk.js";import{s as v}from"./success-C0L8gZxS.js";import{P as c}from"./routes-D6u-5hjo.js";import"./vendor-forms-BP-7CbAP.js";const z=({onGoToDashboard:t})=>e.jsx(i,{justify:"center",children:e.jsxs(i,{as:"button",onClick:t,align:"center",justify:"center",gap:"4px",px:"16px",py:"12px",bg:"white",border:"1px solid",borderColor:"rgba(213, 213, 213, 0.34)",borderRadius:"40px",cursor:"pointer",minW:"184px",_hover:{bg:x.gray[50]},transition:"all 0.15s",children:[e.jsx(r,{fontWeight:"600",fontSize:"14px",lineHeight:"15.17px",color:"rgba(31, 54, 95, 0.8)",letterSpacing:"-0.07px",children:"Back to Dashboard"}),e.jsx(l,{as:S,boxSize:"21px",color:x.orange[500]})]})}),C=()=>e.jsxs(i,{direction:"column",align:"center",w:"full",maxW:"448px",children:[e.jsx(k,{data:v,autoplay:!0}),e.jsxs(d,{gap:4,textAlign:"center",children:[e.jsx(r,{fontSize:{base:"30px",md:"34px"},lineHeight:{base:"38px",md:"42px"},fontWeight:"600",color:"#5E7297",letterSpacing:"-2px",children:"Request Submitted"}),e.jsx(r,{fontSize:"14px",color:"#5E7297",maxW:"351.77px",lineHeight:"22px",textAlign:"center",children:"Thank you for completing your property assessment. Our team will review your submission and get back to you within 24 hours."})]})]}),E=()=>e.jsx(o,{bg:"white",border:"0.5px solid rgba(0, 0, 0, 0.07)",borderRadius:"12px",h:{base:"auto",md:"72px"},w:"full",maxW:"399px",px:{base:3,md:"16.5px"},py:{base:3,md:"0.5px"},display:"flex",alignItems:"center",children:e.jsxs(F,{align:"center",gap:"12px",children:[e.jsx(o,{flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",w:"30.43px",h:"30.43px",children:e.jsx(l,{as:W,boxSize:7,color:"#5FB939"})}),e.jsxs(o,{children:[e.jsx(r,{fontWeight:"500",fontSize:"13px",lineHeight:"19.5px",color:"#5E7297",mb:"2px",children:"Watch out for your WhatsApp!"}),e.jsx(r,{fontSize:"11px",lineHeight:"14px",color:"rgba(31, 54, 95, 0.59)",maxW:"324px",children:"We'll send your personalized qoute via Whatsapp once it's ready."})]})]})}),O=()=>{const t=h(),n=p.useRef(!1),u=b(),{location:s,createdApplication:a}=f(g=>g.propertyFlow);if(p.useEffect(()=>{if(!n.current){if(!s){t(`/${c.OccupancyLocation}`,{replace:!0});return}a||t(`/${c.ReviewSubmit}`,{replace:!0})}},[s,a,t]),!s||!a)return null;const m=()=>{n.current=!0,u(w()),t("/home",{replace:!0})};return e.jsx(y,{items:[],contentMaxW:"500px",mobileContentOnly:!0,hideGoBack:!0,children:e.jsx(o,{borderRadius:"33px",p:{base:6,md:"47px 39px"},backgroundImage:`linear-gradient(139.29deg, #F8FCF4 50%, #F2F8EC 100%), url(${j})`,backgroundSize:"cover",backgroundPosition:"top center",border:"1px solid",borderColor:"rgba(120, 53, 13, 0.11)",boxShadow:"0px 13px 74.8px 0px rgba(0, 0, 0, 0.01)",children:e.jsxs(d,{gap:4,align:"center",children:[e.jsx(C,{}),e.jsx(E,{}),e.jsx(z,{onGoToDashboard:m})]})})})};export{O 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.