PageSourceSearch

https://www.elevolt.co.ke/_next/static/chunks/7538-1fb710fc310110a9.js

js elevolt.co.ke collected 2026-10-04 21:46:21 UTC 12,634 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7cacb7fc-5f00-4248-a5e7-f1b63c9ee838",e._sentryDebugIdIdentifier="sentry-dbid-7cacb7fc-5f00-4248-a5e7-f1b63c9ee838")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7538],{82591:function(e,n,r){var i=r(52322),s=r(76467),t=r(59417),a=r(99603),l=r(13980),d=r.n(l);let o=e=>{let{currentSignerName:n,yourOrder:r,currentOrder:l,totalSigners:d,variant:o="banner"}=e,c=r-l;return"compact"===o?(0,i.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 bg-amber-50 border border-amber-200 rounded-lg text-sm",children:[(0,i.jsx)(a.G,{className:"text-amber-500",icon:t.B2l}),(0,i.jsxs)(s.Z,{as:"span",color:"text-amber-700",variant:"bodySmall",children:["Waiting for ",n||"previous signer"]}),(0,i.jsxs)(s.Z,{as:"span",className:"ml-auto",color:"text-amber-500",variant:"bodySmall",children:[c," ahead"]})]}):(0,i.jsxs)("div",{className:"bg-amber-50 border border-amber-200 rounded-lg p-6 my-6",children:[(0,i.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,i.jsx)("div",{className:"w-12 h-12 bg-amber-100 rounded-full flex items-center justify-center",children:(0,i.jsx)(a.G,{className:"text-amber-600 text-xl",icon:t.hnx})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(s.Z,{color:"text-amber-800",variant:"sectionHeader",children:"Waiting for Your Turn"}),(0,i.jsx)(s.Z,{color:"text-amber-600",variant:"bodySmall",children:"This document uses sequential signing"})]})]}),(0,i.jsx)("div",{className:"bg-white rounded-lg p-4 border border-amber-100 mb-4",children:(0,i.jsxs)("div",{className:"flex items-center gap-2 text-gray-700",children:[(0,i.jsx)(a.G,{className:"text-amber-500",icon:t.SZw}),(0,i.jsxs)(s.Z,{as:"span",variant:"bodySmall",children:["Waiting for"," ",(0,i.jsx)(s.Z,{as:"span",variant:"bodySmall",weight:"font-medium",children:n||"previous signer"})," ","to sign"]}),(0,i.jsxs)(s.Z,{as:"span",className:"ml-1",color:"text-gray-400",variant:"bodySmall",children:["(step ",l," of ",d,")"]})]})}),(0,i.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(s.Z,{as:"span",color:"text-gray-600",variant:"bodySmall",children:"Your position:"}),(0,i.jsxs)(s.Z,{as:"span",color:"text-amber-700",variant:"bodySmall",weight:"font-semibold",children:["#",r," of ",d]})]}),c>0&&(0,i.jsxs)(s.Z,{as:"span",color:"text-amber-600",variant:"bodySmall",children:[c," ",1===c?"signer":"signers"," ahead of you"]})]}),(0,i.jsx)("div",{className:"mt-4 pt-4 border-t border-amber-100",children:(0,i.jsxs)(s.Z,{className:"flex items-center gap-2",variant:"bodySmall",children:[(0,i.jsx)("span",{className:"w-2 h-2 bg-green-400 rounded-full animate-pulse"}),"You'll be notified by email when it's your turn to sign"]})})]})};o.propTypes={currentSignerName:d().string,yourOrder:d().number.isRequired,currentOrder:d().number.isRequired,totalSigners:d().number.isRequired,variant:d().oneOf(["banner","compact"])},o.defaultProps={currentSignerName:null,variant:"banner"},n.Z=o},62372:function(e,n,r){r.d(n,{K:function(){return d}});var i=r(52322);r(2784);var s=r(13980),t=r.n(s),a=r(12524),l=r.n(a);let d=e=>{let{label:n,placeholder:r,name:s,error:t,rows:a,onChange:d,value:o,defaultValue:c,className:u,onKeyUp:m,onKeyDownHandler:g,onBlur:b,disabled:h,required:x=!1}=e,f=l()("block","text-sm","font-medium","tracking-wide","mb-1",{"text-gray-700":!t,"text-red-400":t}),p=l()("appearance-none","w-full","px-3","py-2","text-gray-700","bg-white","border","rounded-lg","leading-tight","transition-colors","duration-200","focus:outline-none","focus:ring-2","focus:ring-blue-500","focus:border-transparent","disabled:bg-gray-100","disabled:text-gray-500","disabled:cursor-not-allowed",{"border-gray-300":!t,"border-red-400":t,"focus:ring-red-500":t},u);return(0,i.jsxs)(i.Fragment,{children:[!!n&&(0,i.jsxs)("label",{className:f,htmlFor:s,children:[n,!!x&&(0,i.jsx)("span",{className:"text-red-400 text-xs ml-1",children:"*"})]}),(0,i.jsx)("textarea",{className:p,defaultValue:c,disabled:h,id:s,name:s,onBlur:b,onChange:d,onKeyDown:g,onKeyUp:m,placeholder:r,required:x,rows:a,value:o}),!!t&&(0,i.jsx)("span",{className:"text-red-400 text-xs mt-1 block",children:t})]})};d.propTypes={label:t().string,value:t().string,placeholder:t().string,name:t().string.isRequired,rows:t().number,error:t().string,onChange:t
1().func.isRequired,defaultValue:t().string,className:t().string,onKeyUp:t().func,onKeyDownHandler:t().func,onBlur:t().func,disabled:t().bool,required:t().bool}},39261:function(e,n,r){var i=r(52322),s=r(2369),t=r(92942),a=r(13980),l=r.n(a),d=r(32128),o=r(47023),c=r(71058);let u=e=>{let{title:n,senderName:r}=e;return(0,i.jsx)("div",{className:"mb-6 p-4 bg-gray-50 rounded-lg border border-gray-200",children:(0,i.jsxs)("div",{className:"flex items-center gap-3",children:[(0,i.jsx)("div",{className:"w-10 h-10 bg-blue-50 rounded-lg flex items-center justify-center",children:(0,i.jsx)(t.FontAwesomeIcon,{className:"text-blue-500",icon:s.cwv})}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"font-medium text-gray-900",children:n||"Document"}),(0,i.jsxs)("p",{className:"text-sm text-gray-500",children:["From: ",r||"Unknown"]})]})]})})};u.propTypes={title:l().string,senderName:l().string};let m=e=>{let{fields:n,fieldValues:r}=e;return(0,i.jsxs)("div",{className:"mb-6",children:[(0,i.jsx)("h3",{className:"text-sm font-semibold text-gray-900 mb-3",children:"Your Responses"}),(0,i.jsx)("div",{className:"bg-white border border-gray-200 rounded-lg divide-y divide-gray-100",children:n.map(e=>{let n=r[e.id],s=(0,c.ZD)(e,n);return(0,i.jsxs)("div",{className:"flex items-center justify-between p-3",children:[(0,i.jsx)("span",{className:"text-sm text-gray-600",children:e.field_label||e.field_type}),(0,i.jsx)("span",{className:"text-sm font-medium text-gray-900",children:s})]},e.id)})})]})};m.propTypes={fields:l().array.isRequired,fieldValues:l().object.isRequired};let g=e=>{let{checked:n,onChange:r}=e;return(0,i.jsx)("div",{className:"p-4 bg-yellow-50 border border-yellow-200 rounded-lg mb-6",children:(0,i.jsx)(d.J,{checked:n,label:(0,i.jsx)("span",{className:"text-sm text-gray-700",children:"I agree that my electronic signature is legally binding and has the same validity as a handwritten signature. I have reviewed the document and consent to sign it."}),name:"consent",onChange:e=>r(e.target.checked)})})};g.propTypes={checked:l().bool.isRequired,onChange:l().func.isRequired};let b=e=>{var n;let{request:r,fields:a,fieldValues:l,consentGiven:d,onConsentChange:c,canSign:b,isSigningPending:h,onBack:x,onSign:f}=e;return(0,i.jsxs)("div",{className:"p-6",children:[(0,i.jsx)(u,{senderName:null==r?void 0:null===(n=r.requester)||void 0===n?void 0:n.name,title:null==r?void 0:r.title}),a.length>0&&(0,i.jsx)(m,{fieldValues:l,fields:a}),(0,i.jsx)(g,{checked:d,onChange:c}),(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)(o.Z,{beforeIcon:(0,i.jsx)(t.FontAwesomeIcon,{className:"mr-2",icon:s.A35}),design:"secondary",onClick:x,children:"Back to Document"}),(0,i.jsx)(o.Z,{beforeIcon:(0,i.jsx)(t.FontAwesomeIcon,{className:"mr-2",icon:s.LEp}),design:"primary",disabled:!b,loading:h,onClick:f,children:"Sign Document"})]})]})};b.propTypes={request:l().object,fields:l().array.isRequired,fieldValues:l().object.isRequired,consentGiven:l().bool.isRequired,onConsentChange:l().func.isRequired,canSign:l().bool.isRequired,isSigningPending:l().bool,onBack:l().func.isRequired,onSign:l().func.isRequired},n.ZP=b},59376:function(e,n,r){var i=r(52322),s=r(13980),t=r.n(s),a=r(47023),l=r(62372),d=r(97203);let o=e=>{let{show:n,onClose:r,reason:s,onReasonChange:t,onConfirm:o,isLoading:c}=e;return(0,i.jsxs)(d.B,{centerY:!0,fullWidth:!0,maxWidth:"28rem",onClose:r,show:n,title:"Decline to Sign",children:[(0,i.jsx)("p",{className:"text-sm text-gray-600 mb-4",children:"Please provide a reason for declining this document. The sender will be notified."}),(0,i.jsx)(l.K,{name:"declineReason",onChange:e=>t(e.target.value),placeholder:"Enter your reason for declining...",rows:4,value:s}),(0,i.jsxs)("div",{className:"flex items-center justify-end gap-3 mt-4",children:[(0,i.jsx)(a.Z,{design:"secondary",onClick:r,children:"Cancel"}),(0,i.jsx)(a.Z,{design:"danger",disabled:!s.trim(),loading:c,onClick:o,children:"Decline Document"})]})]})};o.propTypes={show:t().bool.isRequired,onClose:t().func.isRequired,reason:t().string.isRequired,onReasonChange:t().func.isRequired,onConfirm:t().func.isRequired,isLoading:t
1().bool},n.Z=o},32252:function(e,n,r){var i=r(52322),s=r(13980),t=r.n(s),a=r(2784),l=r(47023),d=r(97203),o=r(68183);let c=e=>{let{show:n,field:r,onClose:s,onCapture:t}=e,c=(null==r?void 0:r.field_type)==="signature",[u,m]=(0,a.useState)(null),g=(0,a.useCallback)(e=>{m(e)},[]),b=(0,a.useCallback)(()=>{(null==u?void 0:u.dataUrl)&&(t(u),m(null))},[u,t]),h=(0,a.useCallback)(()=>{m(null),s()},[s]);return(0,i.jsxs)(d.B,{centerY:!0,footer:(0,i.jsxs)("div",{className:"flex items-center justify-between gap-3 mt-4",children:[(0,i.jsx)(l.Z,{design:"secondary",onClick:h,children:"Cancel"}),(0,i.jsx)(l.Z,{design:"primary",disabled:!(null==u?void 0:u.dataUrl),onClick:b,children:c?"Save Signature":"Save Initials"})]}),fullWidth:!0,maxWidth:"32rem",onClose:h,show:n,title:c?"Add Your Signature":"Add Your Initials",children:[(0,i.jsx)("p",{className:"text-sm text-gray-600 mb-4",children:c?"Draw, type, or upload your signature below.":"Draw or type your initials below."}),(0,i.jsx)(o.Z,{defaultMode:"draw",onChange:g,showModes:c?["draw","type","upload"]:["draw","type"]})]})};c.propTypes={show:t().bool.isRequired,field:t().object,onClose:t().func.isRequired,onCapture:t().func.isRequired},n.Z=c},51058:function(e,n,r){var i=r(52322),s=r(13980),t=r.n(s),a=r(32472);let l=e=>{let{currentStep:n,stepConfig:r=a.mH}=e;return(0,i.jsx)("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:r.map((e,r)=>(0,i.jsxs)("span",{children:[r>0&&(0,i.jsx)("span",{className:"mx-1",children:"/"}),(0,i.jsx)("span",{className:n===e.id?"text-blue-600 font-medium":"",children:e.label})]},e.id))})};l.propTypes={currentStep:t().string.isRequired,stepConfig:t().arrayOf(t().shape({id:t().string.isRequired,label:t().string.isRequired}))},n.Z=l},32472:function(e,n,r){r.d(n,{Ss:function(){return i},hn:function(){return t},mH:function(){return s}});let i={SIGNING:"signing",CONFIRM:"confirm",SUCCESS:"success",DECLINED:"declined"},s=[{id:i.SIGNING,label:"1. Review & Sign"},{id:i.CONFIRM,label:"2. Confirm"}],t={expired:{title:"Signing Link Expired",message:"This signing link has expired. Please contact the sender for a new link."},invalid:{title:"Invalid Signing Link",message:"This signing link is invalid. Please check the link or contact the sender."},already_signed:{title:"Already Signed",message:"You have already signed this document."},cancelled:{title:"Request Cancelled",message:"This signature request has been cancelled by the sender."},not_found:{title:"Document Not Found",message:"This document could not be found. It may have been deleted."},unauthorized:{title:"Access Denied",message:"You are not authorized to sign this document."},server_error:{title:"Something Went Wrong",message:"An error occurred while loading the document. Please try again."}}},71058:function(e,n,r){r.d(n,{F_:function(){return i},Of:function(){return s},Td:function(){return t},Y2:function(){return l},ZD:function(){return a}});let i=e=>{let n={};return e.forEach(e=>{e.field_value&&(n[e.id]=e.field_value)}),n},s=(e,n)=>{let r={};return e.forEach(e=>{if(!e.required)return;let i=n[e.id];"checkbox"!==e.field_type||i?"signature"!==e.field_type||(null==i?void 0:i.dataUrl)?"initial"!==e.field_type||i&&""!==String(i).trim()?i&&("string"!=typeof i||""!==i.trim())||(r[e.id]="This field is required"):r[e.id]="Initials required":r[e.id]="Signature required":r[e.id]="This checkbox is required"}),r},t=(e,n)=>e.every(e=>{if(!e.required)return!0;let r=n[e.id];return"checkbox"===e.field_type?!!r:"signature"===e.field_type?!!(null==r?void 0:r.dataUrl):r&&String(r).trim().length>0}),a=(e,n)=>"signature"===e.field_type?(null==n?void 0:n.dataUrl)?"Captured":"Not provided":"checkbox"===e.field_type?n?"Checked":"Unchecked":n||"Not provided",l=(e,n)=>e.filter(e=>"signature"!==e.field_type).map(e=>{let r=n[e.id],i="";return i="checkbox"===e.field_type?r?"true":"false":String(r||""),{field_id:e.id,value:i}})}}]);

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.