1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4214],{4214:function(e,t,s){s.d(t,{Z:function(){return u}});var n=s(5893),l=s(7294),i=s(1664),r=s.n(i),a=s(5675),o=s.n(a),d=s(1163),c=s(6631),x=s(1180),f=s(7033);function u(){let[e,t]=(0,l.useState)(!1),[s,i]=(0,l.useState)([{name:"Case Studies",active:!1,link:"/ng/blog/case-study"},{name:"Product Updates",active:!1,link:"/ng/blog/product-update",disabled:!1},{name:"SME Resource Hub",active:!1,link:"/ng/blog/sme-resource-hub",disabled:!1},{name:"Inside Budpay",active:!1,link:"/ng/blog/inside-budpay"}]);return(0,l.useEffect)(()=>{let e=e=>{e.target.closest('[data-target="navTarget"]')||e.target.closest('[data-target="navTargetInnerMenu"]')||(s.forEach(e=>e.active=!1),i([...s]))};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),(0,n.jsxs)("div",{className:"sticky top-0 z-50 backgroundBlur",children:[(0,n.jsx)(f.Z,{}),(0,n.jsxs)("nav",{"data-target":"navTarget",className:"w-full max-w-[77rem] mx-auto flex justify-between items-center px-2 lg:px-6 py-3 lg:py-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(r(),{href:"/ng",className:"hidden lg:block",children:(0,n.jsx)(o(),{src:"/assets/img/budpay_logo_new.png",width:180,height:100,alt:"BudPay UK"})}),(0,n.jsx)(r(),{href:"/ng",className:"lg:hidden",children:(0,n.jsx)(o(),{src:"/assets/img/budpay_logo_new.png",width:130,height:100,alt:"BudPay UK"})})]}),(0,n.jsx)("div",{className:"".concat(e?" block ":" hidden "," lg:block absolute lg:relative top-28 lg:top-0 z-30 lg:z-0 w-full h-screen lg:h-auto bg-[#050311] lg:bg-transparent py-2"),children:(0,n.jsx)(h,{navLinks:s,setNavLinks:i,setOpenMobileNav:t})}),(0,n.jsxs)("div",{className:"flex items-center gap-x-5 lg:gap-x-4",children:[(0,n.jsxs)(r(),{className:"hidden lg:block",href:x.v.APP_URL_REGISTER||"",children:[" ",(0,n.jsx)(c.Z,{type:"smPrimaryButton",text:"Get Started"})]}),(0,n.jsx)(r(),{href:x.v.APP_URL_LOGIN||"",children:(0,n.jsx)(c.Z,{type:"smOutlineButton",text:"Login"})}),(0,n.jsx)("div",{className:"lg:hidden",children:e?(0,n.jsx)("div",{onClick:()=>t(!1),children:(0,n.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M1.5 1.5L22.8627 22.5627",stroke:"#ffffff",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M22.8625 1.5L1.49986 22.5627",stroke:"#ffffff",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}):(0,n.jsx)("div",{onClick:()=>t(!0),children:(0,n.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M1.5 12H22.5",stroke:"#ffffff",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M1.5 21H22.5",stroke:"#ffffff",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M1.5 3H22.5",stroke:"#ffffff",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})})})]})]})]})}function h(e){let{navLinks:t,setNavLinks:s,setOpenMobileNav:i}=e,a=(0,d.useRouter)(),[o,c]=(0,l.useState)("whiteHoverBG"),x=e=>{if(!e.subLinks)return null;let t=e.subLinks.findIndex(e=>e.active);return e.subLinks[t].subLinksData},f=e=>{let n=t.findIndex(e=>e.active);if(-1===n)return;let l=t[n].subLinks;e<0||e>=l.length||(l.forEach(e=>e.active=!1),l[e].active=!0,s([...t]))},u=e=>{if(!t[e].subLinks){var n;a.push(null===(n=t[e])||void 0===n?void 0:n.link);return}if(t[e].active){t[e].active=!1,s([...t]);return}t.forEach(e=>e.active=!1),t[e].active=!0,s([...t])};return(0,n.jsx)("ul",{className:"w-full lg:w-auto flex flex-col lg:flex-row justify-between lg:justify-center gap-x-4 md:gap-x-8 lg:gap-x-12 text-sm text-[#ffffffc2]",children:t.map((e,t)=>(0,n.jsxs)("li",{className:"".concat((null==e?void 0:e.disabled)?" opacity-50 ":" "," lg:relative cursor-pointer w-full py-5 px-3 lg:w-auto lg:px-0 lg:py-0 border-y border-y-[#ffffff19]"),children:[(0,n.jsx)("span",{onClick:()=>u(t),className:"whitespace-nowrap w-full lg:w-auto block lg:inline-block ".concat(e.active?" font-semibold ":" font-normal "),children:e.name}),e.active&&x(e)&&(0,n.jsx)("div",{"data-target":"navTargetInnerMenu",className:"absolute top-0 lg:top-10 -left-1 z-30 w-full lg:w-auto h-[87%] lg:h-auto ".concat(o," text-gray-900 duration-500 rounded-lg ").concat(1===e.subLinks.length?" lg:min-w-[300px] lg:left-0 "
1:x(e).length<=3?" lg:min-w-[700px] lg:left-0 ":" lg:min-w-[1000px] lg:-left-36 "),children:(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row auto-cols-auto",children:[(0,n.jsxs)("div",{onClick:()=>u(t),className:"lg:hidden flex items-center gap-x-1.5 px-4 pt-5 pb-2.5",children:[(0,n.jsxs)("svg",{width:"19",height:"19",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M4 12H20.5",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4 12L10.364 18.364",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4 12L10.364 5.63604",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,n.jsx)("h6",{className:"text-sm",children:"Back"})]}),e.subLinks.length>1&&(0,n.jsx)("div",{className:"flex flex-row lg:flex-col gap-6 font-semibold text-base lg:px-8 lg:py-6 p-6 pt-4 pr-0 lg:pr-24",children:e.subLinks.map((e,t)=>(0,n.jsx)("h4",{onClick:()=>f(t),className:"".concat(e.active?" text-[#000000] ":" text-[#0000006a] hover:text-[#00000088] "," cursor-pointer"),children:e.name},t))}),(0,n.jsx)("div",{className:"w-full lg:w-auto px-2 lg:px-4 py-2 lg:py-4",children:(0,n.jsx)("div",{className:"flex flex-col gap-y-4 duration-300",children:(e.subLinks.length>1?x(e).slice(0,3):x(e)).map((e,t)=>(0,n.jsx)(r(),{href:e.link,onClick:()=>i(!1),children:(0,n.jsxs)("div",{className:"cursor-pointer flex gap-x-4 px-2.5 py-4 rounded-lg hover:bg-[#ffffff8f] hover:outline outline-1 outline-[#0000000e] box-border",onMouseEnter:()=>c(e.gradientBG),children:[(0,n.jsx)("div",{children:e.icon}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex items-center gap-x-1.5 pb-1.5",children:[(0,n.jsx)("h4",{className:"font-medium",children:e.title}),(null==e?void 0:e.status)&&(0,n.jsx)("span",{className:"text-center text-[10.5px] border border-[#ffffff64] text-[#ffffff64] rounded-full px-2 py-1",children:null==e?void 0:e.status})]}),(0,n.jsx)("p",{className:"text-[#02041299] text-xs font-light",children:e.description})]})]})},t))})}),e.subLinks.length>1&&x(e).length>3&&(0,n.jsx)("div",{className:"px-2 lg:px-4 py-0 lg:py-4",children:(0,n.jsx)("div",{className:"flex flex-col gap-y-4 duration-300",children:x(e).slice(3).map((e,t)=>(0,n.jsx)(r(),{href:(null==e?void 0:e.link)||"#",onClick:()=>i(!1),children:(0,n.jsxs)("div",{className:"cursor-pointer flex gap-x-4 px-2.5 py-4 rounded-lg hover:bg-[#ffffff8f] hover:outline outline-1 outline-[#0000000e] box-border",onMouseEnter:()=>c(e.gradientBG),children:[(0,n.jsx)("div",{children:e.icon||""}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex items-center gap-x-1.5 pb-1.5",children:[(0,n.jsx)("h4",{className:"font-medium",children:e.title}),(null==e?void 0:e.status)&&(0,n.jsx)("span",{className:"text-center text-[10.5px] border border-[#00000064] text-[#000000be] rounded-full px-2 py-0.5",children:null==e?void 0:e.status})]}),(0,n.jsx)("p",{className:"text-[#02041299] text-xs font-light",children:e.description})]})]})},t))})})]})})]},t))})}}}]);
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.