PageSourceSearch

https://myka.ng/assets/SubmittedPage-yfPK9bZh.js

js myka.ng collected 2026-10-09 22:42:37 UTC 3,698 bytes, 1 lines download raw bytes

1import{j as e,r as d,d as j,u as S,N as C}from"./vendor-react-DfYGAhtm.js";import{u as w,e as P}from"./vendor-state-BsBVN-fX.js";import{g as F}from"./green_strip-C4meNRuY.js";import{S as z}from"./StepPageLayout-DdZUweau.js";import{m as t,y as E,g as v,b7 as D}from"./index-DsBgCU7r.js";import{bs as I,D as k}from"./vendor-icons-1odZwi-b.js";import{F as s,T as r,v as p,V as c,a as x}from"./vendor-ui-DA_r9yXk.js";import{s as B}from"./success-C0L8gZxS.js";import{u as G}from"./useGadgetStepBreadcrumbs-BQrYEyhX.js";import{G as N}from"./routes-CNOe4p0Z.js";import"./ocrConfig-B-KSx9JM.js";import"./gadgetPostPaymentFlowConfig-ChCU4qBA.js";import"./vendor-forms-BP-7CbAP.js";import"./stepBreadcrumbs-FCtSk5Kj.js";import"./LinkPaymentMethodOption-CuZHpNDU.js";import"./checkoutSessionStore-BRM5sYZN.js";const T=({certificateName:o,certificateNumber:i})=>e.jsxs(s,{align:"center",justify:"space-between",w:"full",bg:"white",border:"1px solid",borderColor:t.border.primary,borderRadius:"xl",px:5,py:4,children:[e.jsxs(s,{direction:"column",gap:.5,children:[e.jsx(r,{fontWeight:"semibold",fontSize:"sm",color:t.text.primary,children:o}),e.jsxs(r,{fontSize:"xs",color:t.text.gray,children:["Certificate No: ",i]})]}),e.jsxs(s,{align:"center",gap:1.5,color:t.orange[500],cursor:"pointer",_hover:{color:t.orange[600]},transition:"color 0.15s",children:[e.jsx(p,{as:I,boxSize:4}),e.jsx(r,{fontSize:"sm",fontWeight:"semibold",children:"Download PDF"})]})]}),A=({policyNumber:o})=>{const[i,a]=d.useState(!1),n=()=>{navigator.clipboard.writeText(o),a(!0),setTimeout(()=>a(!1),2e3)};return e.jsxs(c,{gap:4,align:"center",w:"full",children:[e.jsx(E,{data:B,autoplay:!0}),e.jsxs(c,{gap:4,textAlign:"center",children:[e.jsx(r,{fontSize:{base:"30px",md:"34px"},lineHeight:{base:"38px",md:"42px"},fontWeight:"600",color:"#5E7297",letterSpacing:"-2px",textAlign:"center",children:"Policy Issued"}),e.jsx(r,{fontSize:"14px",color:"#5E7297",maxW:"351px",lineHeight:"22px",textAlign:"center",children:"Your gadget insurance is now active! You are legally covered and a copy has been sent to your email."})]}),e.jsxs(x,{bg:"white",border:"1px solid",borderColor:t.border.primary,borderRadius:"xl",px:6,py:4,w:"full",children:[e.jsx(r,{fontSize:"xs",fontWeight:"semibold",letterSpacing:"wider",color:t.text.gray,textTransform:"uppercase",textAlign:"center",mb:2,children:"Your Policy Number"}),e.jsxs(s,{align:"center",justify:"center",gap:3,children:[e.jsx(r,{fontSize:"xl",fontWeight:"bold",color:t.text.primary,letterSpacing:"wide",children:o}),e.jsx(p,{as:k,boxSize:5,color:i?t.success[500]:t.text.gray,cursor:"pointer",onClick:n,"aria-label":i?"Copied!":"Copy policy number",transition:"color 0.15s"})]})]})]})},R="GI/2026/00821",W=o=>o||`GI-2026-${Math.floor(1e4+Math.random()*9e4)}`,te=()=>{const{items:o}=G(),i=w(),a=j(),n=S(),{createdPolicy:m}=P(y=>y.gadgetFlow),u=n.state?.createdPolicy,l=m??u??null,[g,b]=d.useState(!1);if(!l&&!g)return e.jsx(C,{to:`/${N.ConfirmPay}`,replace:!0});const f=W(l?.ourReference??""),h=()=>{b(!0),i(D()),a("/home",{replace:!0})};return e.jsx(z,{items:o,hideGoBack:!0,contentMaxW:"500px",mobileContentOnly:!0,children:e.jsx(x,{borderRadius:"33px",p:{base:6,md:"47px 39px"},backgroundImage:`linear-gradient(139.29deg,  #F8FCF4 50%, #F2F8EC 100%), url(${F})`,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(c,{gap:4,align:"stretch",children:[e.jsx(A,{policyNumber:f}),e.jsx(T,{certificateName:"Gadget Insurance Certificate",certificateNumber:R}),e.jsx(v,{buttonType:"secondary",text:"Back to Dashboard",onClick:h,size:"lg"})]})})})};export{te 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.