1import{j as e,d as S,u as j,r as o}from"./vendor-react-DfYGAhtm.js";import{u as y,e as H}from"./vendor-state-BsBVN-fX.js";import{g as R}from"./green_strip-C4meNRuY.js";import{S as E}from"./StepPageLayout-DdZUweau.js";import{d as W,I as k}from"./vendor-icons-1odZwi-b.js";import{m as x,y as F,bd as w,be as C,bf as u}from"./index-DsBgCU7r.js";import{F as c,T as r,v as d,V as m,a as l,H as v}from"./vendor-ui-DA_r9yXk.js";import{s as z}from"./success-C0L8gZxS.js";import{g as A,H as T}from"./flowGuard-BvyU_Hq7.js";import"./vendor-forms-BP-7CbAP.js";import"./routes-Dr23NpA-.js";const B=({onGoToDashboard:s})=>e.jsx(c,{justify:"center",children:e.jsxs(c,{as:"button",onClick:s,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(d,{as:W,boxSize:"21px",color:x.orange[500]})]})}),I=()=>e.jsxs(c,{direction:"column",align:"center",w:"full",maxW:"448px",children:[e.jsx(F,{data:z,autoplay:!0}),e.jsxs(m,{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 health insurance. Our team will review your submission and get back to you within 24 hours."})]})]}),P=()=>e.jsx(l,{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(v,{align:"center",gap:"12px",children:[e.jsx(l,{flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",w:"30.43px",h:"30.43px",children:e.jsx(d,{as:k,boxSize:7,color:"#5FB939"})}),e.jsxs(l,{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."})]})]})}),K=()=>{const s=S(),h=j(),g=o.useRef(!1),t=y(),p=H(f=>f.groupHealth.submissionResult),a=h.state?.submissionResult,i=p??a;o.useEffect(()=>{a&&!p&&t(w(a))},[a,p,t]),o.useEffect(()=>{i&&t(C())},[i,t]);const n=A(T.Submitted,null,null,i??null);if(o.useEffect(()=>{n&&s(n,{replace:!0})},[n,s]),o.useEffect(()=>()=>{t(u())},[t]),n||!i)return null;const b=()=>{g.current=!0,t(u()),s("/home",{replace:!0})};return e.jsx(E,{items:[],hideGoBack:!0,contentMaxW:"500px",mobileContentOnly:!0,children:e.jsx(l,{borderRadius:"33px",p:{base:6,md:"47px 39px"},backgroundImage:`linear-gradient(139.29deg, #F8FCF4 50%, #F2F8EC 100%), url(${R})`,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(m,{gap:4,align:"center",children:[e.jsx(I,{}),e.jsx(P,{}),e.jsx(B,{onGoToDashboard:b})]})})})};export{K 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.