PageSourceSearch

https://myka.ng/assets/ActivationSuccessPage-CH0UNtwH.js

js myka.ng collected 2026-10-09 22:42:50 UTC 5,864 bytes, 1 lines download raw bytes

1import{j as e,r as h,d as g,u as f,N as b}from"./vendor-react-DfYGAhtm.js";import{bH as j,as as y,D as S,z as v}from"./vendor-icons-1odZwi-b.js";import{S as F}from"./StepPageLayout-DdZUweau.js";import{m as s,t as C,y as z,g as H}from"./index-DsBgCU7r.js";import{a as w}from"./currency-tq8RhIEU.js";import{a as l,H as A,R as P}from"./HealthFormShell-BdiFYoa2.js";import{a as i,F as c,T as o,v as u,G as k,V as p,n as R}from"./vendor-ui-DA_r9yXk.js";import{s as W}from"./success-C0L8gZxS.js";import{c as E}from"./healthPolicyActivation-BCt2rMDw.js";import"./vendor-state-BsBVN-fX.js";import"./vendor-forms-BP-7CbAP.js";import"./routes-Dr23NpA-.js";const D="/assets/health-id-card-bg-MJLlCJZQ.jpg",d=({label:r,value:n,align:a="start"})=>e.jsxs(i,{textAlign:a,children:[e.jsx(o,{fontSize:"12.4px",lineHeight:"18.7px",color:"rgba(255, 255, 255, 0.5)",children:r}),e.jsx(o,{fontSize:"17.4px",lineHeight:"24.9px",fontWeight:"medium",children:n})]}),I=({reference:r,providerName:n,planName:a,memberCount:t,annualPremium:x})=>e.jsxs(i,{position:"relative",overflow:"hidden",borderRadius:"30px",p:{base:6,md:"30px"},color:"white",fontFamily:l.bodyFont,children:[e.jsx(i,{"aria-hidden":!0,position:"absolute",inset:0,backgroundImage:`url(${D})`,backgroundSize:"cover",backgroundPosition:"center",pointerEvents:"none"}),e.jsx(i,{"aria-hidden":!0,position:"absolute",inset:0,bg:"rgba(31, 54, 95, 0.23)",pointerEvents:"none"}),e.jsx(i,{"aria-hidden":!0,position:"absolute",top:"-30px",right:"-29px",boxSize:"139px",borderRadius:"full",bg:"rgba(255, 255, 255, 0.05)",filter:"blur(15px)",pointerEvents:"none"}),e.jsxs(i,{position:"relative",children:[e.jsxs(c,{justify:"space-between",align:"flex-start",gap:4,children:[e.jsxs(i,{minW:0,children:[e.jsx(o,{fontSize:"12.4px",lineHeight:"18.7px",letterSpacing:"1.24px",textTransform:"uppercase",color:"rgba(255, 255, 255, 0.5)",children:"Policy reference"}),e.jsx(o,{fontSize:"18.7px",lineHeight:"28px",fontWeight:"medium",mt:"5px",wordBreak:"break-all",children:r})]}),e.jsx(u,{as:j,boxSize:"30px",flexShrink:0,color:"white"})]}),e.jsx(o,{fontFamily:"heading",fontSize:"24.9px",lineHeight:"37.3px",fontWeight:"medium",letterSpacing:"-1px",pt:"20px",children:n}),e.jsx(o,{fontSize:"18.7px",lineHeight:"28px",color:"rgba(255, 255, 255, 0.6)",children:a}),e.jsxs(k,{templateColumns:"1fr 1fr",gap:"15px",pt:"15px",children:[e.jsx(d,{label:"People covered",value:`${t} ${t===1?"person":"people"}`}),e.jsx(d,{label:"Annual Premium",value:w(x),align:"end"})]})]})]}),B=({message:r})=>e.jsx(i,{bg:"white",border:"1px solid",borderColor:"rgba(31, 54, 95, 0.08)",borderRadius:"25px",px:{base:5,md:"26px"},py:{base:5,md:"24px"},children:e.jsxs(c,{gap:"14px",align:"flex-start",children:[e.jsx(c,{boxSize:"36px",borderRadius:"full",bg:"#FFF7ED",align:"center",justify:"center",flexShrink:0,children:e.jsx(u,{as:y,boxSize:"18px",color:s.orange[500]})}),e.jsxs(p,{align:"stretch",gap:"4px",children:[e.jsx(o,{fontFamily:"heading",fontSize:"16px",lineHeight:"24px",fontWeight:"medium",color:s.text.primary,children:"Certificate processing"}),e.jsx(o,{fontFamily:l.bodyFont,fontSize:"14px",lineHeight:"21px",color:s.text.secondary,children:r})]})]})}),N=({label:r,reference:n})=>{const[a,t]=h.useState(!1),x=async()=>{await navigator.clipboard.writeText(n),t(!0),C.success("Reference copied"),window.setTimeout(()=>t(!1),1400)};return e.jsxs(i,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minH:"67px",py:"12px",px:"16px",bg:"#FAFCF6",borderRadius:"6px",boxShadow:"0px 12.766px 15.212px rgba(0, 0, 0, 0.04)",children:[e.jsx(o,{fontFamily:l.bodyFont,fontSize:"12.3px",fontWeight:"medium",color:s.text.tertiary,textTransform:"uppercase",letterSpacing:"0.06em",children:r}),e.jsxs(i,{display:"flex",alignItems:"center",gap:"4px",children:[e.jsx(o,{fontFamily:"'Fragment Mono', monospace",fontSize:{base:"16px",md:"19.6px"},color:"#1B2D4B",textAlign:"center",wordBreak:"break-all",children:n}),e.jsx(R,{"aria-label":a?"Copied!":"Copy reference",variant:"ghost",size:"sm",color:a?s.success[600]:s.text.tertiary,onClick:()=>void x(),children:e.jsx(S,{size:16})})]})]})},M=({title:r,subtitle:n})=>e.jsxs(p,{gap:"12px",align:"center",children:[e.jsx(i,{w:"160px",h:"160px","aria-hidden":!0,
1children:e.jsx(z,{data:W,autoplay:!0,loop:!1})}),e.jsxs(p,{gap:"8px",align:"center",textAlign:"center",children:[e.jsx(o,{fontFamily:"heading",fontSize:{base:"30px",md:"36px"},lineHeight:"1.1",fontWeight:"semibold",letterSpacing:"-1.2px",color:s.text.primary,children:r}),e.jsx(o,{fontFamily:l.bodyFont,fontSize:"16px",lineHeight:"1.35",letterSpacing:"-0.3px",color:s.text.primary,maxW:"420px",children:n})]})]}),m="Your certificate is being processed. We'll notify you via email and WhatsApp once it's ready.",q=()=>{const r=g(),a=f().state?.submittedPolicy,t=E(a);return t==null?e.jsx(b,{to:"/policies",replace:!0}):e.jsx(F,{items:[],hideGoBack:!0,contentMaxW:"960px",mobileContentOnly:!0,children:e.jsx(A,{children:e.jsxs(i,{maxW:"621px",mx:"auto",fontFamily:l.bodyFont,children:[e.jsx(M,{title:"Policy Secured.",subtitle:t.isProcessing?m:"Your health insurance policy is now fully active."}),e.jsxs(p,{gap:"24px",align:"stretch",mt:{base:8,md:"48px"},children:[e.jsx(N,{label:"Policy reference",reference:t.reference}),e.jsx(I,{reference:t.reference,providerName:t.providerName,planName:t.planName,memberCount:t.memberCount,annualPremium:t.annualPremium,startDate:t.startDate,endDate:t.endD
1ate}),t.isProcessing&&e.jsx(B,{message:m})]}),e.jsx(c,{justify:"center",mt:{base:8,md:"45px"},children:e.jsx(H,{type:"button",buttonType:"primary",text:"View policy",icon:e.jsx(v,{size:16}),iconPosition:"right",w:{base:"100%",sm:"280px"},h:"55px",px:0,fontSize:"16px",borderRadius:"47px",border:"0.584px solid rgba(255, 255, 255, 0.01)",boxShadow:P.ctaShadow,onClick:()=>r(`/policies/${t.policyId}`)})})]})})})};export{q 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.