1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[958],{3889:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(95155);a(12115);var r=a(85203),l=a.n(r);let i=e=>{let{className:t,...a}=e;return(0,s.jsx)("h2",{className:l()("font-bold text-[32px] md:text-[48px]",t),...a})}},9212:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(95155),r=a(85203),l=a.n(r);a(12115);var i=a(12177);let n=e=>{let{className:t,inputClassName:a,...r}=e;return(0,s.jsx)(i.Ay,{className:l()("mb-4 ",t),inputClassName:l()("border border-gray-300 h-14",a),...r})}},12177:(e,t,a)=>{a.d(t,{hH:()=>h,Ay:()=>u});var s=a(95155);a(12115);var r=a(85203),l=a.n(r),i=a(98134),n=a.n(i);let o=e=>{let{name:t="",formik:a}=e,r=(!!n()(a.touched,t)||!!a.submitCount)&&!!a.errors&&n()(a.errors,t);return(0,s.jsx)(s.Fragment,{children:!!r&&(0,s.jsx)("div",{className:"text-[#FFAC9D] text-sm pt-1.5",children:r})})};var c=a(15239);let d={src:"/_next/static/media/caret-down-light.ebcbb923.svg",height:6,width:9,blurWidth:0,blurHeight:0},m=e=>(0,s.jsx)("input",{...e}),h=e=>(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{...e,className:"appearance-none w-full h-14 pl-4 pr-10 rounded-md border border-gray-300",children:e.children}),(0,s.jsx)("span",{className:"absolute inset-y-0 right-4 flex items-center pointer-events-none",children:(0,s.jsx)(c.default,{src:d,alt:"logo",className:"w-[15px]"})})]}),u=e=>{var t;let{formik:a,className:r,inputClassName:i,name:n,InputElement:c=m,...d}=e;return(0,s.jsxs)("div",{className:l()("text-black mb-4",r),children:[(0,s.jsx)(c,{className:l()("px-4 py-2 rounded-md w-full outline-0 focus:border-0 focus:ring",i),...d,name:n,value:null==(t=a.values)?void 0:t[n],onChange:a.handleChange}),(0,s.jsx)(o,{name:n,formik:a})]})}},23305:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(95155);a(12115);let r=()=>(0,s.jsx)("svg",{width:"22",height:"18",viewBox:"0 0 22 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{id:"Vector",d:"M0 17.3105V14.4772H22V17.3105H0ZM0 10.2272V7.39388H22V10.2272H0ZM0 3.14388V0.310547H22V3.14388H0Z",fill:"#104B3D"})})},29471:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(95155);a(12115);var r=a(85203),l=a.n(r);let i=e=>(0,s.jsx)("section",{className:l()("w-full",e.wrapperClassName,{"px-4 md:px-16 lg:px-20":e.padding}),children:(0,s.jsx)("div",{className:l()("w-[1440px] max-w-full mx-auto",e.className),children:e.children})})},38201:(e,t,a)=>{a.d(t,{A:()=>s});let s={api:{baseUrl:a(95704).env.NEXT_PUBLIC_API_URL||"https://api.beta.shara.co"},appLinks:{faqKE:"https://sites.google.com/shara.co/helpcentre/kenya",faqNG:"https://sites.google.com/shara.co/helpcentre/nigeria",privacyPolicy:"https://www.shara.co/privacy.html",playStoreNG:"https://play.google.com/store/apps/details?id=co.shara.lite&utm_source=website&utm_medium=button&utm_campaign=webapp",playStoreKE:"https://play.google.com/store/apps/details?id=com.onitbank.app&utm_source=website&utm_medium=button&utm_campaign=webapp",termsAndConditions:"https://www.shara.co/nigeria-terms.html"}}},74457:(e,t,a)=>{a.d(t,{Y:()=>o,LocaleProvider:()=>h,A:()=>u});var s=a(95155),r=a(12115);let l=JSON.parse('{"currency.symbol":"â¦","hero.form.amount":"â¦10M","hero.form.title":"Get up to â¦10 Million today!","hero.form.revenue.placeholder":"Monthly Sales (â¦)","hero.form.state.placeholder":"State","highlights.1.title":"Over â¦50BN Disbursed","highlights.2.title":"100k Loans Taken","highlights.3.title":"7,000+ Shara Businesses","requirements.1":"Based in Nigeria","requirements.2":"Sole trader, partnership, or limited company","requirements.3":"Basic information about your business","requirements.4":"Bank statement","industries.description":"We fully service businesses across various sectors such as FMCG Wholesale, Fashion, Computing & Phones, Building Materials, Automobile Spare parts, Consumer Electronics, Food & Other perishables, Agro-Allied, Health & Beauty, Gas & Energy, Chemicals, Pharmaceutical and Local Production.","industries.cities":"Our commercial operations cut across Lagos, Kano, Abuja, Port Harcourt, Aba, Uyo, Warri, Ibadan, Enugu and Ogun.","company.name":"Shara Technology Management Nigeria Ltd","company.address":"1-7 Muri Okunola Street,<br/>Victoria Island, Lagos","company.email":"[email protected]","company.phone":"09030486624"}'),i=JSON.parse('{"currency.symbol":"KES ","hero.form.amount":"200k","hero.form.title":"Get your loan estimate instantly!","hero.form.revenue.placeholder":"Monthly Sales (KES)","hero.form.state.placeholder":"County","highlights.1.title":"Over KES 1B Disbursed","highlights.2.title":"230k Loans Taken","highlights.3.title":"5,000+ Shara Businesses","requirements.1":"Based in Nairobi","requirements.2":"Sole trader, partnership, or limited company","requirements.3":"Basic information about your business","requirements.4":"Mpesa statement","industries.description":"We fully service businesses across various sectors such as Fast-Moving Consumer Goods (FMCG), Computing and Phones, Construction, Hardware, Furniture and Home Improvement, Gas and Energy, Fashion and Apparel, Automotive and Mechanics, Beauty and Personal Care, Home Appliances and Large Electronics, Health and Pharmaceuticals, Media and Advertising, and, Office and School Supplies.","industries.cities":"Our commercial operations cut across Nairobi, Kiambu, Kajiado, Machakos, Nakuru, Nyandarua, Murangâa, Embu and Kirinyaga Counties.","company.address":"","company.email":"[email protected]","company.phone":"+254716333888"}'),n="lang";var o=function(e){return e.KE="ke",e.NG="ng",e}({});let c={ng:l,ke:i},d=localStorage.getItem(n)||"ng",m=(0,r.createContext)({translations:c[d],changeLocale:e=>{},currentLocale:d}),h=e=>
1{let[t,a]=(0,r.useState)(d),l=(0,r.useCallback)(e=>{localStorage.setItem(n,e),a(e)},[]);return(0,s.jsx)(m.Provider,{value:{changeLocale:l,currentLocale:t,translations:c[t]},children:e.children})},u=m},75059:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(95155);a(12115);var r=a(85203),l=a.n(r),i=a(11107);let n=e=>{let{className:t,isLoading:a,children:r,...n}=e;return(0,s.jsx)("button",{className:l()("rounded-xl bg-primary px-6 py-3 text-white font-semibold disabled:opacity-70",t),disabled:a,...n,children:a?(0,s.jsx)("div",{className:"flex justify-center items-center",children:(0,s.jsx)(i.LW,{color:"white",height:25,width:25})}):r})}},75740:(e,t,a)=>{a.d(t,{A:()=>d});var s=a(95155),r=a(12115),l=a(15239),i=a(38201),n=a(74457),o=a(29471);let c={src:"/_next/static/media/shara-alt.db3bf9ac.svg",height:30,width:118,blurWidth:0,blurHeight:0},d=()=>{let{translations:e}=(0,r.useContext)(n.A),t=(0,r.useMemo)(()=>[{title:"Privacy Policy",url:i.A.appLinks.privacyPolicy}],[]);return(0,s.jsx)("footer",{className:"w-full bg-primary text-white",children:(0,s.jsxs)(o.A,{className:"flex justify-between py-14 flex-col items-center md:items-start md:flex-row",padding:!0,children:[(0,s.jsxs)("div",{className:"flex flex-col items-center text-center mb-6 md:items-start md:text-left md:mb-0",children:[(0,s.jsx)(l.default,{className:"mb-4 md:mb-4",src:c,alt:"shara"}),(0,s.jsxs)("div",{children:[e["company.name"]&&(0,s.jsx)("div",{className:"mb-4 text-base font-medium opacity-80",children:e["company.name"]}),(0,s.jsx)("ul",{className:"flex mb-6",children:t.map((e,t)=>(0,s.jsx)("li",{className:"text-base text-sm pr-8 last-of-type:pr-0",children:(0,s.jsx)("a",{href:e.url,target:"_blank",children:e.title})},t))}),(0,s.jsxs)("span",{className:"text-[#60728B]",children:["\xa9"," ",(0,s.jsxs)("span",{className:"opacity-30 !text-[#B8C1CB]",children:[new Date().getFullYear()," Shara Inc. All Rights Reserved"]})]})]})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"flex flex-col items-center text-base opacity-80 md:items-start mt-12",children:[(0,s.jsx)("div",{className:"mb-4 font-light",dangerouslySetInnerHTML:{__html:e["company.address"]}}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"flex items-center mb-2 font-light",children:(0,s.jsx)("a",{href:"mailto:".concat(e["company.email"]),children:e["company.email"]})}),e["company.phone"]&&(0,s.jsx)("div",{className:"flex items-center font-light",children:(0,s.jsx)("a",{href:"tel:".concat(e["company.phone"]),children:e["company.phone"]})})]})]})})]})})}},79832:(e,t,a)=>{a.d(t,{E:()=>r});var s=a(12115);let r=e=>{let{wrapperRef:t,onClick:a}=e;(0,s.useEffect)(()=>{function e(e){var s;!t.current||(null==t||null==(s=t.current)?void 0:s.contains(e.target))||null==a||a()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[t,a])}},83291:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(95155);a(12115);var r=a(85203),l=a.n(r),i=a(12177),n=a(9212);let o=e=>{let{inputClassName:t,value:a,...r}=e;return(0,s.jsx)(n.A,{inputClassName:l()({"text-gray-400":!a}),InputElement:i.hH,...r})}},88479:(e,t,a)=>{a.d(t,{A:()=>w});var s=a(95155),r=a(12115),l=a(85203),i=a.n(l),n=a(15239),o=a(52619),c=a.n(o),d=a(20063),m=a(29471),h=a(74457),u=a(79832);let p=e=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,s.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,s.jsx)("path",{d:"M18 9c.852 0 1.297 .986 .783 1.623l-.076 .084l-6 6a1 1 0 0 1 -1.32 .083l-.094 -.083l-6 -6l-.083 -.094l-.054 -.077l-.054 -.096l-.017 -.036l-.027 -.067l-.032 -.108l-.01 -.053l-.01 -.06l-.004 -.057v-.118l.005 -.058l.009 -.06l.01 -.052l.032 -.108l.027 -.067l.07 -.132l.065 -.09l.073 -.081l.094 -.083l.077 -.054l.096 -.054l.036 -.017l.067 -.027l.108 -.032l.053 -.01l.06 -.01l.057 -.004l12.059 -.002z",strokeWidth:"0",fill:"currentColor"})]}),x={[h.Y.NG]:{country:"Nigeria",code:h.Y.NG,flag:{src:"/_next/static/media/ng-flag.1fd4478c.svg",height:30,width:31,blurWidth:0,blurHeight:0},active:!0},[h.Y.KE]:{country:"Kenya",code:h.Y.KE,flag:{src:"/_next/static/media/ke-flag.1d5de35f.svg",height:600,width:900,blurWidth:0,blurHeight:0},active:!0}},g=Object.values(x).filter(e=>e.active),b=e=>{let{position:t}=e,{currentLocale:a,changeLocale:l}=(0,r.useContext)(h.A),[o,c]=(0,r.useState)(!1),d=(0,r.useRef)(null);(0,u.E)({wrapperRef:d,onClick:()=>c(!1)});let m=(0,r.useCallback)(()=>{c(!o)},[o]),b=(0,r.useCallback)(e=>{l(e),c(!1)},[l]);return(0,s.jsxs)("div",{className:"relative text-black",ref:d,children:[(0,s.jsxs)("button",{className:"relative flex items-center border-[2.5px] border-solid border-[#B9B9B9] rounded-3xl py-[5px] px-2.5 hover:opacity-80",onClick:m,children:[(0,s.jsx)(n.default,{className:"!w-7 !h-7 object-cover object-center mr-2.5 rounded-full border-[2.5px] border-solid border-[#B9B9B9] md:w-8",src:x[a].flag,alt:"flag"}),(0,s.jsx)("div",{className:i()("font-medium mr-3.5",{"text-primary":"top"===t,"text-white":"bottom"===t}),children:x[a].country}),(0,s.jsx)(p,{className:i()("w-5 transform transition-transform",{"rotate-180":"bottom"===t&&o,"text-primary":"top"===t,"text-white":"bottom"===t})})]}),o&&(0,s.jsx)("div",{className:i()("flex flex-col bg-white z-50 absolute right-0 shadow-xl w-56 ",{"border-[#B9B9B9] top-[calc(100%+10px)]":"top"===t,"bottom-[calc(100%+10px)]":"bottom"===t}),children:g.map(e=>(0,s.jsxs)("button",{className:"flex items-center px-8 py-3.5 transform hover:bg-[#F7F7F7] hover:scale-105",onClick:()=>{b(e.code),window.location.reload()},children:[(0,s.jsx)(n.default,{className:"w-8 mr-2",src:e.flag,alt:"flag",height:32}),(0,s.jsx)("div",{className:"font-medium text-sm",children:e.country})]},e.code))})]})};var f=a(95153),v=a(23305);let y={src:"/_next/static/media/shara.18c1427e.svg",height:39,width:107,blurWidth:0,blurHeight:0},j=e=>{let{isActive:t,...a}=e;return(0,s.jsx)("li",{className:i()("w-full mt-5 text-center font-semibold md:mt-0 md:w-auto md:last-of-type:mr-0 md:mr-8 xl:mr-16",{"text-primary-300":t,"text-primary":!t}),...a})},w=()=>{let e=(0,d.usePathname)(),[t,a]=(0,r.useState)(!1);return(0,s.jsx)("nav",{className:"pt-4 bg-white",children:(0,s.jsx)(m.A,{padding:!0,children:(0,s.jsxs)("div",{className:"relative flex w-full items-center justify-between ",children:[(0,s.jsx)(c(),{href:"/",className:"mr-5",children:(0,s.jsx)(n.default,{src:y,alt:"logo",className:"w-[150px]"})}),(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)("button",{onClick:()=>a(!t),children:(0,s.jsx)(v.A,{})})}),(0,s.jsxs)("ul",{className:i()("w-full items-center absolute flex flex-wrap z-10 bg-white top-12 pb-8 md:justify-end md:top-0 md:flex md:pb-0 md:flex-nowrap md:relative",{hidden:!t}),children:[(0,s.jsx)(j,{children:(0,s.jsx)(c(),{href:"/about",children:(0,s.jsx)("p",{children:"About"})})}),(0,s.jsx)(j,{isActive:"/calculator"===e,children:(0,s.jsx)(c(),{href:"/calculator",children:(0,s.jsx)("p",{children:"Loan Calculator"})})}),(0,s.jsx)(j,{children:(0,s.jsx)("div",{className:"flex flex-col items-center",children:(0,s.jsx)(b,{position:"top"})})}),(0,s.jsx)(j,{children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(f.A,{})})})]})]})})})}},95153:(e,t,a)=>{a.d(t,{A:()=>p});var s=a(95155),r=a(12115),l=a(52619),i=a.n(l),n=a(15239),o=a(38201),c=a(75059);let d={src:"/_next/static/media/playstore-mini.77fb823d.svg",height:18,width:18,blurWidth:0,blurHeight:0};var m=a(23832),h=a(74457);let u=()=>{m.Ay.event({category:"Engagement",action:"Click",label:"Download App"})},p=()=>{let{currentLocale:e}=(0,r.useContext)(h.A),t=e===h.Y.KE;return(0,s.jsx)(i(),{href:t?o.A.appLinks.playStoreKE:o.A.appLinks.playStoreNG,target:"_blank",onClick:u,children:(0,s.jsxs)(c.A,{className:"py-4 flex items-center",children:[(0,s.jsx)(n.default,{className:"mr-1.5",src:d,alt:"playstore"}),(0,s.jsx)("span",{children:"Download Shara"})]})})}}}]);
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.