PageSourceSearch

https://myka.ng/assets/PolicyRenewPaymentSuccessPage-BDBXsBhC.js

js myka.ng collected 2026-10-09 22:41:28 UTC 3,376 bytes, 1 lines download raw bytes

1import{d as h,u as b,r as p,j as e}from"./vendor-react-DfYGAhtm.js";import{A as f,d as j}from"./vendor-icons-1odZwi-b.js";import{s as y}from"./success-C0L8gZxS.js";import{g as S}from"./green_strip-C4meNRuY.js";import{m as r,y as C}from"./index-DsBgCU7r.js";import{S as x}from"./StepPageLayout-DdZUweau.js";import{f as W}from"./currency-tq8RhIEU.js";import{F as s,S as k,a as n,V as d,T as t,H as w,v as m}from"./vendor-ui-DA_r9yXk.js";import"./vendor-state-BsBVN-fX.js";import"./vendor-forms-BP-7CbAP.js";const L=()=>{const i=h(),c=b(),o=p.useMemo(()=>{const l=c.state,g=l?.policyId?.trim();return l==null||g===""?null:l},[c.state]),a=o!=null;p.useEffect(()=>{a||i("/policies",{replace:!0})},[a,i]);const u=()=>{i("/home",{replace:!0})};return!a||o==null?e.jsx(x,{items:[],contentMaxW:"500px",mobileContentOnly:!0,onGoBack:()=>i("/policies"),children:e.jsx(s,{justify:"center",align:"center",minH:"40vh",children:e.jsx(k,{size:"lg",color:r.orange[500]})})}):e.jsx(x,{items:[],contentMaxW:"500px",mobileContentOnly:!0,onGoBack:()=>i(`/policies/${o.policyId}`),children:e.jsx(n,{borderRadius:"33px",p:{base:6,md:"47px 39px"},backgroundImage:`linear-gradient(139.29deg,  #F8FCF4 50%, #F2F8EC 100%), url(${S})`,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:"stretch",children:[e.jsxs(s,{direction:"column",align:"center",w:"full",maxW:"448px",children:[e.jsx(C,{data:y,autoplay:!0}),e.jsxs(d,{gap:4,textAlign:"center",children:[e.jsx(t,{fontSize:{base:"30px",md:"34px"},lineHeight:{base:"38px",md:"42px"},fontWeight:"600",color:"#5E7297",letterSpacing:"-2px",children:"Payment successful!"}),e.jsx(t,{fontSize:"14px",color:"#5E7297",maxW:"351.77px",lineHeight:"22px",textAlign:"center",children:`Your renewal with ${o.insurerName} is confirmed for ${o.renewalPeriodLabel}.`}),e.jsxs(t,{fontSize:"13px",fontWeight:"600",color:"#5E7297",lineHeight:"20px",children:[W(o.totalPaid)," ·"," ",o.planTitle]})]})]}),e.jsx(n,{bg:"white",border:"0.5px solid rgba(0, 0, 0, 0.07)",borderRadius:"12px",h:{base:"auto",md:"72px"},w:"full",maxW:"399px",mx:"auto",px:{base:3,md:"16.5px"},py:{base:3,md:"0.5px"},display:"flex",alignItems:"center",children:e.jsxs(w,{align:"center",gap:"12px",children:[e.jsx(n,{flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",w:"30.43px",h:"30.43px",p:2,borderRadius:"md",bg:r.success[50],children:e.jsx(m,{as:f,boxSize:7,color:r.success[500]})}),e.jsxs(n,{children:[e.jsx(t,{fontWeight:"500",fontSize:"13px",lineHeight:"19.5px",color:"#5E7297",mb:"2px",children:"What happens next?"}),e.jsx(t,{fontSize:"11px",lineHeight:"14px",color:"rgba(31, 54, 95, 0.59)",maxW:"324px",children:"We'll send your updated policy schedule and certificate to your registered email and WhatsApp. You can view this policy anytime under My Policies."})]})]})}),e.jsx(s,{justify:"center",children:e.jsxs(s,{as:"button",onClick:u,align:"center",gap:2,px:8,py:3,bg:"white",border:"1px solid",borderColor:r.border.primary,borderRadius:"full",cursor:"pointer",_hover:{bg:r.gray[50],borderColor:r.gray[300]},transition:"all 0.15s",children:[e.jsx(t,{fontWeight:"semibold",fontSize:"sm",color:r.text.label,children:"Back to Dashboard"}),e.jsx(m,{as:j,boxSize:4,color:r.orange[500]})]})})]})})})};export{L 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.