1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={assign:function(){return i},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return o}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});function s(e){let t={};for(let[r,a]of e.entries()){let e=t[r];void 0===e?t[r]=a:Array.isArray(e)?e.push(a):t[r]=[e,a]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)t.append(r,l(e));else t.set(r,l(a));return t}function i(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,a]of r.entries())e.append(t,a)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let s=e.r(90809)._(e.r(98183)),l=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,a=e.protocol||"",n=e.pathname||"",o=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(s.urlQueryToSearchParams(i)));let u=e.search||i&&`?${i}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||l.test(a))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),u&&"?"!==u[0]&&(u="?"+u),n=n.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${a}${c}${n}${u}${o}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return v},NormalizeError:function(){return b},PageNotFoundError:function(){return g},SP:function(){return f},ST:function(){return x},WEB_VITALS:function(){return s},execOnce:function(){return l},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return i},isResSent:function(){return p},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return m},stringifyError:function(){return k}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,r=!1;return(...a)=>(r||(r=!0,t=e(...a)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function p(e){return e.finished||e.headersSent}function m(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(r&&p(r))return a;if(!a)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${a}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}let f="u">typeof performance,x=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class b extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let a=e.r(18967),n=e.r(52817);function s(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return y},useLinkStatus:function(){return g}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let s=e.r(90809),l=e.r(43476),o=s._(e.r(71645)),i=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),p=e.r(5550);e.r(33525);let m=e.r(91949),h=e.r(73668),f=e.r(9396);function x(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function y(t){var r;let a,n,s,[i,y]=(0,o.useOptimistic)(m.IDLE_LINK_STATUS),g=(0,o.useRef)(null),{href:v,as:j,children:k,prefetch:w=null,passHref:N,replace:S,shallow:_,scroll:P,onClick:E,onMouseEnter:C,onTouchStart:A,legacyBehavior:T=!1,onNavigate:$,ref:R,unstable_dynamicOnHover:G,...M}=t;a=k,T&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let I=o.default.useContext(c.AppRouterContext),L=!1!==w,H=!1!==w?null===(r=w)||"auto"===r?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,{href:O,as:F}=o.default.useMemo(()=>{let e=x(v);return{href:e,as:j?x(j):e}},[v,j]);if(T){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=o.default.Children.only(a)}let U=T?n&&"object"==typeof n&&n.ref:R,D=o.default.useCallback(e=>(null!==I&&(g.current=(0,m.mountLinkInstance)(e,O,I,H,L,y)),()=>{g.current&&((0,m.unmountLinkForCurrentNavigation)(g.current),g.current=null),(0,m.unmountPrefetchableInstance)(e)}),[L,O,I,H,y]),B={ref:(0,u.useMergedRef)(D,U),onClick(t){T||"function"!=typeof E||E(t),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!I||t.defaultPrevented||function(t,r,a,n,s,l,i){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);o.default.startTransition(()=>{d(a||r,s?"replace":"push",l??!0,n.current)})}}(t,O,F,g,S,P,$)},onMouseEnter(e){T||"function"!=typeof C||C(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),I&&L&&(0,m.onNavigationIntent)(e.currentTarget,!0===G)},onTouchStart:function(e){T||"function"!=typeof A||A(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),I&&L&&(0,m.onNavigationIntent)(e.currentTarget,!0===G)}};return(0,d.isAbsoluteUrl)(F)?B.href=F:T&&!N&&("a"!==n.type||"href"in n.props)||(B.href=(0,p.addBasePath)(F)),s=T?o.default.cloneElement(n,B):(0,l.jsx)("a",{...M,...B,children:a}),(0,l.jsx)(b.Provider,{value:i,children:s})}e.r(84508);let b=(0,o.createContext)(m.IDLE_LINK_STATUS),g=()=>(0,o.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},72520,e=>{"use strict";let t=(0,e.i(75254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],72520)},31171,e=>{"use strict";
1let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},37727,41947,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t],41947),e.s(["X",()=>t],37727)},27234,e=>{"use strict";var t=e.i(43476),r=e.i(932),a=e.i(46932),n=e.i(71645),s=e.i(49652);let l={some:0,all:1};function o(e,{root:t,margin:r,amount:a,once:i=!1,initial:c=!1}={}){let[u,d]=(0,n.useState)(c);return(0,n.useEffect)(()=>{if(!e.current||i&&u)return;let n={root:t&&t.current||void 0,margin:r,amount:a};return function(e,t,{root:r,margin:a,amount:n="some"}={}){let o=(0,s.resolveElements)(e),i=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let r=i.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?i.set(e.target,r):c.unobserve(e.target)}else"function"==typeof r&&(r(e),i.delete(e.target))})},{root:r,rootMargin:a,threshold:"number"==typeof n?n:l[n]});return o.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),i?void 0:()=>d(!1)),n)},[t,e,r,i,a]),u}var i=e.i(75157);function c(e){let s,l,c,u,d,p,m,h=(0,r.c)(22),{children:f,className:x,delay:y,duration:b,viewportOnce:g,variant:v,staggerChildren:j}=e,k=void 0===y?0:y,w=void 0===b?.5:b,N=void 0===g||g,S=void 0===v?"fadeUp":v,_=(0,n.useRef)(null);h[0]!==N?(s={once:N,margin:"-10% 0px"},h[0]=N,h[1]=s):s=h[1];
1let P=o(_,s),E=20*("fadeUp"===S),C="slideRight"===S?-20:20*("slideLeft"===S),A="scaleUp"===S?.95:1;h[2]!==E||h[3]!==C||h[4]!==A?(l={opacity:0,y:E,x:C,scale:A},h[2]=E,h[3]=C,h[4]=A,h[5]=l):l=h[5],h[6]!==j?(c=j?{staggerChildren:j}:{},h[6]=j,h[7]=c):c=h[7],h[8]!==k||h[9]!==w||h[10]!==c?(u={opacity:1,y:0,x:0,scale:1,transition:{duration:w,delay:k,ease:"easeOut",...c}},h[8]=k,h[9]=w,h[10]=c,h[11]=u):u=h[11],h[12]!==u||h[13]!==l?(d={hidden:l,visible:u},h[12]=u,h[13]=l,h[14]=d):d=h[14];let T=d,$=P?"visible":"hidden";return h[15]!==x?(p=(0,i.cn)(x),h[15]=x,h[16]=p):p=h[16],h[17]!==f||h[18]!==$||h[19]!==p||h[20]!==T?(m=(0,t.jsx)(a.motion.div,{ref:_,initial:"hidden",animate:$,variants:T,className:p,children:f}),h[17]=f,h[18]=$,h[19]=p,h[20]=T,h[21]=m):m=h[21],m}function u(e){let s,l,c,u,d,p=(0,r.c)(12),{children:m,className:h,stagger:f,viewportOnce:x}=e,y=void 0===f?.1:f,b=void 0===x||x,g=(0,n.useRef)(null);p[0]!==b?(s={once:b,margin:"-10% 0px"},p[0]=b,p[1]=s):s=p[1];let v=o(g,s);p[2]===Symbol.for("react.memo_cache_sentinel")?(l={},p[2]=l):l=p[2],p[3]!==y?(c={hidden:l,visible:{transition:{staggerChildren:y}}},p[3]=y,p[4]=c):c=p[4];let j=c,k=v?"visible":"hidden";return p[5]!==h?(u=(0,i.cn)(h),p[5]=h,p[6]=u):u=p[6],p[7]!==m||p[8]!==j||p[9]!==k||p[10]!==u?(d=(0,t.jsx)(a.motion.div,{ref:g,initial:"hidden",animate:k,variants:j,className:u,children:m}),p[7]=m,p[8]=j,p[9]=k,p[10]=u,p[11]=d):d=p[11],d}e.s(["AnimationWrapper",()=>c,"StaggerContainer",()=>u],27234)},15288,e=>{"use strict";var t=e.i(43476),r=e.i(932),a=e.i(75157);function n(e){let n,s,l,o,i=(0,r.c)(8);return i[0]!==e?({className:n,...s}=e,i[0]=e,i[1]=n,i[2]=s):(n=i[1],s=i[2]),i[3]!==n?(l=(0,a.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",n),i[3]=n,i[4]=l):l=i[4],i[5]!==s||i[6]!==l?(o=(0,t.jsx)("div",{"data-slot":"card",className:l,...s}),i[5]=s,i[6]=l,i[7]=o):o=i[7],o}function s(e){let n,s,l,o,i=(0,r.c)(8);return i[0]!==e?({className:n,...s}=e,i[0]=e,i[1]=n,i[2]=s):(n=i[1],s=i[2]),i[3]!==n?(l=(0,a.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",n),i[3]=n,i[4]=l):l=i[4],i[5]!==s||i[6]!==l?(o=(0,t.jsx)("div",{"data-slot":"card-header",className:l,...s}),i[5]=s,i[6]=l,i[7]=o):o=i[7],o}function l(e){let n,s,l,o,i=(0,r.c)(8);return i[0]!==e?({className:n,...s}=e,i[0]=e,i[1]=n,i[2]=s):(n=i[1],s=i[2]),i[3]!==n?(l=(0,a.cn)("px-6",n),i[3]=n,i[4]=l):l=i[4],i[5]!==s||i[6]!==l?(o=(0,t.jsx)("div",{"data-slot":"card-content",className:l,...s}),i[5]=s,i[6]=l,i[7]=o):o=i[7],o}e.s(["Card",()=>n,"CardContent",()=>l,"CardHeader",()=>s])},45569,e=>{"use strict";var t=e.i(43476),r=e.i(932),a=e.i(19455),n=e.i(15288),s=e.i(72520),l=e.i(22016);function o(){let e,o,i,c,u=(0,r.c)(4);return u[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-4 text-slate-900 dark:text-white",children:"Start Your Free Trial Now"}),o=(0,t.jsx)("p",{className:"text-slate-600 dark:text-slate-400 mb-8 max-w-xl mx-auto",children:"Start your 14-day free trial. Cancel anytime."}),u[0]=e,u[1]=o):(e=u[0],o=u[1]),u[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(a.Button,{variant:"outline",size:"lg",asChild:!0,children:(0,t.jsx)(l.default,{href:"#",children:"Request a demo"})}),u[2]=i):i=u[2],u[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("section",{className:"py-20 px-6 md:px-12",children:(0,t.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,t.jsx)(n.Card,{className:"bg-gradient-to-br from-slate-50 to-white dark:from-slate-900 dark:to-slate-800 border-2 shadow-xl",children:(0,t.jsxs)(n.CardContent,{className:"p-12 text-center",children:[e,o,(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[i,(0,t.jsx)(a.Button,{size:"lg",asChild:!0,children:(0,t.jsxs)(l.default,{href:"https://accounts.xtrakit.com/signup",target:"_blank",children:["Start free trial",(0,t.jsx)(s.ArrowRight,{className:"ml-2 h-4 w-4"})]})})]}),(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-500 mt-6",children:"No credit card required"})]})})})}),u[3]=c):c=u[3],c}e.s(["TrialCTA",()=>o])},64659,e=>{"use strict";var t=e.i(31171);e.s(["ChevronDown",()=>t.default])},74518,e=>{"use strict";e.i(47167);var t=e.i(43476),r=e.i(71645),a=e.i(2874),n=e.i(54231),s=e.i(932),l=e.i(64659),o=e.i(75157);
1let i=[{code:"GHS",label:"Ghana",symbol:"GHâµ",locale:"en-GH"},{code:"NGN",label:"Nigeria",symbol:"â¦",locale:"en-NG"},{code:"KES",label:"Kenya",symbol:"KSh",locale:"en-KE"},{code:"ZAR",label:"South Africa",symbol:"R",locale:"en-ZA"},{code:"USD",label:"International",symbol:"$",locale:"en-US"}];function c(e){let a,n,c,p,m,h,f,x,y,b,g,v,j,k,w,N,S,_=(0,s.c)(44),{billingCycle:P,setBillingCycle:E,currency:C,setCurrency:A,productCategory:T,setProductCategory:$}=e,[R,G]=r.useState(!1);_[0]!==C?(a=i.find(e=>e.code===C)||i[0],_[0]=C,_[1]=a):a=_[1];let M=a,I="payments"===T;_[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("div",{className:"absolute top-10 left-[20%] text-yellow-500 dark:text-yellow-400 opacity-80 animate-pulse hidden md:block",children:(0,t.jsx)(u,{className:"w-8 h-8"})}),_[2]=n):n=_[2],_[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"absolute top-14 right-[25%] text-primary dark:text-primary opacity-80 animate-bounce-slow hidden md:block",children:(0,t.jsx)(d,{className:"w-8 h-8"})}),p=(0,t.jsx)("h1",{className:"text-4xl md:text-5xl font-bold text-slate-900 dark:text-white mb-4",children:"Best plans made for you"}),_[3]=c,_[4]=p):(c=_[3],p=_[4]);let L=I?"No monthly fee â you are charged only when money moves.":"Pay annually and SAVE MORE! (2 Months Free)";_[5]!==L?(m=(0,t.jsx)("p",{className:"text-slate-500 dark:text-slate-400 mb-8",children:L}),_[5]=L,_[6]=m):m=_[6],_[7]!==$?(h=()=>$("core"),_[7]=$,_[8]=h):h=_[8];let H="core"===T?"bg-white dark:bg-slate-700 text-primary shadow-sm ring-1 ring-slate-200 dark:ring-slate-600":"text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200";_[9]!==H?(f=(0,o.cn)("px-8 py-2.5 rounded-lg text-sm font-semibold transition-all",H),_[9]=H,_[10]=f):f=_[10],_[11]!==h||_[12]!==f?(x=(0,t.jsx)("button",{onClick:h,className:f,children:"Core Features"}),_[11]=h,_[12]=f,_[13]=x):x=_[13],_[14]!==$?(y=()=>$("hr-payroll"),_[14]=$,_[15]=y):y=_[15];let O="hr-payroll"===T?"bg-white dark:bg-slate-700 text-primary shadow-sm ring-1 ring-slate-200 dark:ring-slate-600":"text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200";_[16]!==O?(b=(0,o.cn)("px-8 py-2.5 rounded-lg text-sm font-semibold transition-all",O),_[16]=O,_[17]=b):b=_[17],_[18]!==y||_[19]!==b?(g=(0,t.jsx)("button",{onClick:y,className:b,children:"HR & Payroll"}),_[18]=y,_[19]=b,_[20]=g):g=_[20],_[21]!==$?(v=()=>$("payments"),_[21]=$,_[22]=v):v=_[22];let F="payments"===T?"bg-white dark:bg-slate-700 text-primary shadow-sm ring-1 ring-slate-200 dark:ring-slate-600":"text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200";return _[23]!==F?(j=(0,o.cn)("px-8 py-2.5 rounded-lg text-sm font-semibold transition-all",F),_[23]=F,_[24]=j):j=_[24],_[25]!==v||_[26]!==j?(k=(0,t.jsx)("button",{onClick:v,className:j,children:"Payments"}),_[25]=v,_[26]=j,_[27]=k):k=_[27],_[28]!==x||_[29]!==g||_[30]!==k?(w=(0,t.jsx)("div",{className:"flex justify-center mb-6",children:(0,t.jsxs)("div",{className:"bg-slate-100 dark:bg-slate-800 p-1 rounded-xl flex items-center space-x-1",children:[x,g,k]})}),_[28]=x,_[29]=g,_[30]=k,_[31]=w):w=_[31],_[32]!==P||_[33]!==C||_[34]!==R||_[35]!==I||_[36]!==M||_[37]!==E||_[38]!==A?(N=!I&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex justify-center mb-8",children:(0,t.jsxs)("div",{className:"bg-slate-100 dark:bg-slate-800 p-1 rounded-full flex items-center space-x-1",children:[(0,t.jsx)("button",{onClick:()=>E("monthly"),className:(0,o.cn)("px-6 py-2 rounded-full text-sm font-medium transition-all","monthly"===P?"bg-primary text-white shadow-sm":"text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200"),children:"Monthly"}),(0,t.jsx)("button",{onClick:()=>E("annually"),className:(0,o.cn)("px-6 py-2 rounded-full text-sm font-medium transition-all","annually"===P?"bg-primary text-white shadow-sm":"text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200"),children:"Annually"})]})}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)("div",{className:"relative inline-block text-left",children:[(0,t.jsxs)("button",{onClick:()=>G(!R),className:"flex items-center space-x-2 px-4 py-2 border dark:border-slate-700 rounded-lg text-sm text-slate-700 dark:text-slate-300 bg-white dark:bg-slate-900 hover:bg-slate-50 dark:hover:bg-slate-800 transition-colors",children:[(0,t.jsx)("span",{children:M.label}),(0,t.jsx)(l.ChevronDown,{className:(0,o.cn)("w-4 h-4 text-slate-400 transition-transform",R&&"rotate-180")}
1)]}),R&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-10",onClick:()=>G(!1)}),(0,t.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 mt-2 w-48 rounded-md shadow-lg bg-white dark:bg-slate-900 border dark:border-slate-700 ring-1 ring-black ring-opacity-5 z-20 overflow-hidden",children:(0,t.jsx)("div",{className:"py-1",children:i.map(e=>(0,t.jsx)("button",{onClick:()=>{A(e.code),G(!1)},className:(0,o.cn)("w-full text-left px-4 py-2 text-sm transition-colors",C===e.code?"bg-slate-100 dark:bg-slate-800 text-primary font-medium":"text-slate-700 dark:text-slate-300 hover:bg-slate-50 dark:hover:bg-slate-800"),children:e.label},e.code))})})]})]})})]}),_[32]=P,_[33]=C,_[34]=R,_[35]=I,_[36]=M,_[37]=E,_[38]=A,_[39]=N):N=_[39],_[40]!==w||_[41]!==N||_[42]!==m?(S=(0,t.jsxs)("div",{className:"relative pt-16 pb-12 text-center",children:[n,c,p,m,w,N]}),_[40]=w,_[41]=N,_[42]=m,_[43]=S):S=_[43],S}function u(e){let r,a,n=(0,s.c)(3),{className:l}=e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",fill:"currentColor"}),n[0]=r):r=n[0],n[1]!==l?(a=(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:l,children:r}),n[1]=l,n[2]=a):a=n[2],a}function d(e){let r,a,n,l,o,i,c,u,d,p,m=(0,s.c)(11),{className:h}=e;return m[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("circle",{cx:"12",cy:"12",r:"5",fill:"currentColor"}),a=(0,t.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),n=(0,t.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),l=(0,t.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),o=(0,t.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),i=(0,t.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),c=(0,t.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),u=(0,t.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),d=(0,t.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"}),m[0]=r,m[1]=a,m[2]=n,m[3]=l,m[4]=o,m[5]=i,m[6]=c,m[7]=u,m[8]=d):(r=m[0],a=m[1],n=m[2],l=m[3],o=m[4],i=m[5],c=m[6],u=m[7],d=m[8]),m[9]!==h?(p=(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:h,children:[r,a,n,l,o,i,c,u,d]}),m[9]=h,m[10]=p):p=m[10],p}var p=e.i(75254);let m=(0,p.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var h=e.i(37727),f=e.i(19455);let x=null;async function y(){if(x&&Date.now()-x.timestamp<36e5)return x.rates;try{let e=await fetch("https://open.er-api.com/v6/latest/GHS");if(!e.ok)throw Error("Failed to fetch exchange rates");let t=await e.json();if("success"!==t.result||!t.rates)throw Error("Invalid API response");let r={GHS:1,NGN:1.03*(t.rates.NGN||111.11),KES:1.03*(t.rates.KES||11.11),ZAR:1.03*(t.rates.ZAR||2.22),USD:1.03*(t.rates.USD||.22)};return x={rates:r,timestamp:Date.now()},r}catch(e){return console.error("Error fetching exchange rates, using fallback:",e),{GHS:1,NGN:1.03*111.11,KES:1.03*11.11,ZAR:1.03*2.22,USD:.2266}}}let b=new Set(["b","strong","i","em","u","s","strike","del","span","small","mark","sup","sub","code","a"]);[...b];let g=new Set(["br","hr"]),v="script|style|iframe|object|embed|noscript|template|svg|math";function j(e){if(!e)return"";let t=String(e);return(t=(t=(t=t.replace(RegExp(`<\\s*(${v})\\b[\\s\\S]*?<\\s*\\/\\s*\\1\\s*>`,"gi"),"")).replace(RegExp(`<\\s*\\/?\\s*(${v})\\b[^>]*>`,"gi"),"")).replace(/<!--[\s\S]*?-->/g,"")).replace(/<\s*(\/)?\s*([a-zA-Z][a-zA-Z0-9-]*)\b([^>]*)>/g,(e,t,r,a)=>{let n=r.toLowerCase();if(!b.has(n))return"";if(t)return g.has(n)?"":`</${n}>`;if("a"===n){let e=function(e){let t=e.match(/\bhref\s*=\s*("([^"]*)"|'([^']*)'|([^\s>]+))/i),r=t?.[2]??t?.[3]??t?.[4];if(!r)return null;let a=r.replace(/&#(\d+);?/g,(e,t)=>String.fromCharCode(Number(t))).replace(/&#x([0-9a-f]+);?/gi,(e,t)=>String.fromCharCode(parseInt(t,16))).replace(/[�-��\s]/g,"").trim();return/^(https?:\/\/|mailto:|tel:|\/)/i.test(a)?a.replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):null}(a);return e?`<a href="${e}" target="_blank" rel="noopener noreferrer nofollow">`:"<a>"}return g.has(n),`<${n}>`})}function k(e){return e?String(e).replace(/<\s*br\s*\/?\s*>/gi,"\n").replace(/<\s*\/?\s*(li|p|div|ul|ol|h[1-6]|tr)\b[^>]*>/gi,"\n").split(/\n+/).map(e=>j(e).trim()).map(e=>e.replace(/^(?:[â¢Â·â£âªâ¦*ââ-]|•|•)\s*/,"").trim()).filter(e=>(!e?"":String(e).replace(/<[^>]*>/g,"").replace(/ /gi," ").replace(/&/gi,"&").replace(/</gi,"<").replace(/>/gi,">").replace(/"/gi,'"').replace(/'/g,"'").replace(/\s+/g," ").trim()).length>0):[]}function w(e){let r,a,n,l,o=(0,s.c)(19),{billingCycle:i,currency:c,exchangeRates:u,productCategory:d,subscriptionPlans:p,hrSubscriptionPlans:m,loading:h}=e;if(o[0]!==i||o[1]!==c||o[2]!==u||o[3]!==m||o[4]!==h||o[5]!==d||o[6]!==p){n=Symbol.for("react.early_return_sentinel");e:{let e,s;if(console.log("PricingCards props:",{billingCycle:i,currency:c,exchangeRates:u,productCategory:d,subscriptionPlans:p,hrSubscriptionPlans:m,loading:h}),"core"===d){let t,r;console.log("Processing API plans:",p),t={}
1,p.forEach(e=>{let r=e.subscription_plan;r&&(t[r]||(t[r]={}),1===e.subscription_months?t[r].monthly=e:(12===e.subscription_months||14===e.subscription_months)&&(t[r].annual=e))}),console.log("Grouped plans:",t),r=[],["Starter","Growth","Enterprise"].forEach(e=>{let a=t[e];if(!a?.monthly)return;let n=a.monthly,s=a.annual||n,l=Number(n.subscription_price)||0,o=Number(s.subscription_price)||0;r.push({name:e,description:"",monthlyPrice:l,annualPrice:o,features:k(n.subscription_description??null),buttonText:"Get Started",popular:"popular"in n&&!!n.popular})}),console.log("Final processed API plans:",r),e=r}else{let t,r;console.log("Processing HR API plans:",m),t={},m.forEach(e=>{let r=e.subscription_plan;r&&(t[r]||(t[r]={}),1===e.subscription_months?t[r].monthly=e:(12===e.subscription_months||14===e.subscription_months)&&(t[r].annual=e))}),console.log("Grouped HR plans:",t),r=[],["Starter","Growth","Enterprise"].forEach(e=>{let a=t[e];if(!a?.monthly)return;let n=a.monthly,s=a.annual||n,l=Number(n.subscription_price)||0,o=Number(s.subscription_price)||0;r.push({name:e,description:"",monthlyPrice:l,annualPrice:o,features:k(n.subscription_description??null),buttonText:"Try For Free",priceSuffix:n.price_suffix,popular:!!n.popular})}),console.log("Final processed HR API plans:",r),e=r}if(console.log("Final plans to render:",e),h){let e;o[10]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-7xl mx-auto px-6 md:px-12 pb-20",children:[1,2,3].map(N)}),o[10]=e):e=o[10],n=e;break e}r="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-7xl mx-auto px-6 md:px-12 pb-20",o[11]!==i||o[12]!==c||o[13]!==u||o[14]!==d?(s=(e,r)=>(0,t.jsx)(S,{plan:e,billingCycle:i,currency:c,exchangeRates:u},`${d}-${e.name}-${r}`),o[11]=i,o[12]=c,o[13]=u,o[14]=d,o[15]=s):s=o[15],a=e.map(s)}o[0]=i,o[1]=c,o[2]=u,o[3]=m,o[4]=h,o[5]=d,o[6]=p,o[7]=r,o[8]=a,o[9]=n}else r=o[7],a=o[8],n=o[9];return n!==Symbol.for("react.early_return_sentinel")?n:(o[16]!==r||o[17]!==a?(l=(0,t.jsx)("div",{className:r,children:a}),o[16]=r,o[17]=a,o[18]=l):l=o[18],l)}function N(e){return(0,t.jsx)("div",{className:"h-[600px] rounded-3xl bg-slate-100 dark:bg-slate-800 animate-pulse"},e)}function S(e){let r,a,n,l,c,u,d,p,m,h,x,y,b,g,v,k,w,N,S,C,A,T,$,R,G=(0,s.c)(73),{plan:M,billingCycle:I,currency:L,exchangeRates:H}=e;if(G[0]!==I||G[1]!==L||G[2]!==H||G[3]!==M.annualPrice||G[4]!==M.description||G[5]!==M.monthlyPrice||G[6]!==M.name||G[7]!==M.popular||G[8]!==M.priceSuffix){let e,s=i.find(e=>e.code===L)||i[0],f="monthly"===I?M.monthlyPrice:M.annualPrice,y=f;try{if(H){let e;if(G[20]!==L||G[21]!==H||G[22]!==f){let t;t=f*(H[L]||1),e="GHS"===L||"USD"===L?Math.round(100*t)/100:Math.round(t),G[20]=L,G[21]=H,G[22]=f,G[23]=e}else e=G[23];y=e}}catch(e){console.error("Error converting price:",e),y=f}y=Number(y)||0,r=M.priceSuffix?`${M.priceSuffix} / ${"monthly"===I?"Month":"Year"}`:`Per ${"monthly"===I?"Month":"Year"}`;let b=M.popular?"border-primary shadow-lg scale-105 z-10":"border-slate-100 dark:border-slate-800";G[24]!==b?(x=(0,o.cn)("relative flex flex-col p-8 rounded-3xl bg-sky-100/50 dark:bg-slate-900 border-2 transition-all duration-300 hover:shadow-xl",b),G[24]=b,G[25]=x):x=G[25],G[26]!==M.popular?(n=M.popular&&(0,t.jsx)("div",{className:"absolute top-4 right-4 bg-primary text-white text-[10px] font-bold px-3 py-1 rounded-full uppercase tracking-wider",children:"Popular"}),G[26]=M.popular,G[27]=n):n=G[27],p="mb-8",G[28]!==M.name?(m=(0,t.jsx)("h3",{className:"text-2xl font-bold text-slate-900 dark:text-white mb-2",children:M.name}),G[28]=M.name,G[29]=m):m=G[29],G[30]!==M.description?(e=j(M.description),G[30]=M.description,G[31]=e):e=G[31],G[32]!==e?(h=(0,t.jsx)("p",{className:"text-slate-500 dark:text-slate-400 text-sm mb-6",dangerouslySetInnerHTML:{__html:e}}),G[32]=e,G[33]=h):h=G[33],d="flex items-baseline mb-1",a="text-5xl font-bold text-slate-900 dark:text-white",l=s.symbol,c=" ",u=y.toLocaleString(s.locale,{minimumFractionDigits:2*(y%1!=0),maximumFractionDigits:2}),G[0]=I,G[1]=L,G[2]=H,G[3]=M.annualPrice,G[4]=M.description,G[5]=M.monthlyPrice,G[6]=M.name,G[7]=M.popular,G[8]=M.priceSuffix,G[9]=r,G[10]=a,G[11]=n,G[12]=l,G[13]=c,G[14]=u,G[15]=d,G[16]=p,G[17]=m,G[18]=h,G[19]=x}
1else r=G[9],a=G[10],n=G[11],l=G[12],c=G[13],u=G[14],d=G[15],p=G[16],m=G[17],h=G[18],x=G[19];G[34]!==a||G[35]!==l||G[36]!==c||G[37]!==u?(y=(0,t.jsxs)("span",{className:a,children:[l,c,u]}),G[34]=a,G[35]=l,G[36]=c,G[37]=u,G[38]=y):y=G[38],G[39]!==y||G[40]!==d?(b=(0,t.jsx)("div",{className:d,children:y}),G[39]=y,G[40]=d,G[41]=b):b=G[41],G[42]!==r?(g=(0,t.jsx)("p",{className:"text-slate-500 dark:text-slate-400 text-xs font-medium uppercase tracking-wider",children:r}),G[42]=r,G[43]=g):g=G[43],G[44]!==b||G[45]!==g||G[46]!==p||G[47]!==m||G[48]!==h?(v=(0,t.jsxs)("div",{className:p,children:[m,h,b,g]}),G[44]=b,G[45]=g,G[46]=p,G[47]=m,G[48]=h,G[49]=v):v=G[49];let O=M.popular?"bg-[#1e293b] dark:bg-primary hover:bg-slate-800 dark:hover:bg-primary/90":"bg-primary hover:bg-primary/90";return G[50]!==O?(k=(0,o.cn)("w-full py-6 rounded-xl font-bold mb-4",O),G[50]=O,G[51]=k):k=G[51],G[52]!==M.buttonText||G[53]!==k?(w=(0,t.jsx)(f.Button,{className:k,children:M.buttonText}),G[52]=M.buttonText,G[53]=k,G[54]=w):w=G[54],G[55]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)("p",{className:"text-center text-[10px] text-slate-400 mb-8 italic",children:"(With 14-day free trial)"}),G[55]=N):N=G[55],G[56]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)("p",{className:"text-xs font-bold text-slate-900 dark:text-slate-200 uppercase tracking-widest mb-4",children:"Key features:"}),G[56]=S):S=G[56],G[57]!==M.features?(C=M.features.map(P),G[57]=M.features,G[58]=C):C=G[58],G[59]!==M.notIncluded?(A=M.notIncluded?.map(_),G[59]=M.notIncluded,G[60]=A):A=G[60],G[61]!==C||G[62]!==A?(T=(0,t.jsxs)("div",{className:"space-y-4 flex-1",children:[S,(0,t.jsxs)("ul",{className:"space-y-3",children:[C,A]})]}),G[61]=C,G[62]=A,G[63]=T):T=G[63],G[64]!==M.popular?($=M.popular&&(0,t.jsx)("div",{className:"absolute bottom-4 right-4 text-orange-400/30",children:(0,t.jsx)(E,{className:"w-16 h-16"})}),G[64]=M.popular,G[65]=$):$=G[65],G[66]!==n||G[67]!==v||G[68]!==w||G[69]!==T||G[70]!==$||G[71]!==x?(R=(0,t.jsxs)("div",{className:x,children:[n,v,w,N,T,$]}),G[66]=n,G[67]=v,G[68]=w,G[69]=T,G[70]=$,G[71]=x,G[72]=R):R=G[72],R}function _(e,r){return(0,t.jsxs)("li",{className:"flex items-start gap-3 opacity-60",children:[(0,t.jsx)("div",{className:"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-red-100 dark:bg-red-900/30",children:(0,t.jsx)(h.X,{className:"h-3 w-3 text-red-500",strokeWidth:3})}),(0,t.jsx)("span",{className:"text-sm text-slate-400",dangerouslySetInnerHTML:{__html:j(e)}})]},`not-included-${r}`)}function P(e,r){return(0,t.jsxs)("li",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-primary/20",children:(0,t.jsx)(m,{className:"h-3 w-3 text-primary",strokeWidth:3})}),(0,t.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-300",dangerouslySetInnerHTML:{__html:j(e)}})]},`feature-${r}`)}function E(e){let r,a,n,l=(0,s.c)(4),{className:o}=e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M50,10 L50,20 M50,80 L50,90 M10,50 L20,50 M80,50 L90,50 M21.7,21.7 L28.8,28.8 M71.2,71.2 L78.3,78.3 M21.7,78.3 L28.8,71.2 M71.2,28.8 L78.3,21.7",stroke:"currentColor",strokeWidth:"4"}),a=(0,t.jsx)("circle",{cx:"50",cy:"50",r:"5"}),l[0]=r,l[1]=a):(r=l[0],a=l[1]),l[2]!==o?(n=(0,t.jsxs)("svg",{viewBox:"0 0 100 100",className:o,fill:"currentColor",children:[r,a]}),l[2]=o,l[3]=n):n=l[3],n}let C=(0,p.default)("arrow-down-left",[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]]),A=(0,p.default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var T=e.i(61659);let $=[{key:"collections",title:"Accept customer payments",rate:"1.5%",caption:"added at checkout",description:"Mobile money collections. The fee is added on top of the amount owed, so the customer pays it at checkout and the full invoice amount reaches your wallet.",icon:C},{key:"payouts",title:"Send business payouts",rate:"1.0%",caption:"per transaction, capped at GHS 10.00",description:"Mobile money payouts. Above GHS 1,000 the fee is capped at GHS 10.00 regardless of amount, and it is always shown before you confirm a payout.",icon:A}];function R(){let e,r,a=(0,s.c)(2);return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-2",children:$.map(G)}),a[0]=e):e=a[0],a[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)("div",{className:"mx-auto max-w-5xl px-4 pb-4",children:[e,(0,t.jsxs)("div",{className:"mt-8 flex items-start gap-3 rounded-xl border border-slate-200 bg-slate-50 p-4 dark:border-slate-800 dark:bg-slate-900/40",children:[(0,t.jsx)(T.Credit
1Card,{className:"mt-0.5 h-4 w-4 shrink-0 text-slate-400"}),(0,t.jsx)("p",{className:"text-xs leading-relaxed text-slate-500 dark:text-slate-400",children:"Rates shown are for mobile money. Bank transfers are charged on a fixed scale by amount rather than a percentage â contact us for the current bank payout schedule. There is no monthly fee for payments: the collection fee is paid by your customer at checkout, and the payout fee is taken from your wallet only when you send money out."})]})]}),a[1]=r):r=a[1],r}function G(e){let r=e.icon;return(0,t.jsxs)("div",{className:"rounded-2xl border border-slate-200 bg-white p-8 transition-colors hover:border-primary/40 dark:border-slate-800 dark:bg-slate-900/40",children:[(0,t.jsx)("span",{className:"inline-flex rounded-lg bg-primary/10 p-2 text-primary",children:(0,t.jsx)(r,{className:"h-5 w-5"})}),(0,t.jsx)("p",{className:"mt-10 text-base text-slate-600 dark:text-slate-300",children:e.title}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[(0,t.jsx)("span",{className:"text-5xl font-bold tracking-tight text-slate-900 dark:text-white",children:e.rate}),(0,t.jsx)("span",{className:"text-sm font-medium text-slate-500 dark:text-slate-400",children:e.caption})]}),(0,t.jsx)("p",{className:"mt-4 text-sm leading-relaxed text-slate-500 dark:text-slate-400",children:e.description})]},e.key)}var M=e.i(73443);function I(e){let r,a,n,l,o,i,c,u,d,p,m=(0,s.c)(17),{productCategory:h,subscriptionPlans:f,hrSubscriptionPlans:x}=e;if(m[0]!==x||m[1]!==h||m[2]!==f){let e=[];
1if("core"===h){let t,r;t={},f.forEach(e=>{let r=e.subscription_plan;r&&(t[r]||(t[r]={}),1===e.subscription_months?t[r].monthly=e:(12===e.subscription_months||14===e.subscription_months)&&(t[r].annual=e))}),r=[],["Starter","Growth","Enterprise"].forEach(e=>{let a=t[e];if(!a?.monthly)return;let n=a.monthly,s=a.annual||n,l=Number(n.subscription_price??0),o=Number(s.subscription_price??0);r.push({name:e,description:"",monthlyPrice:l,annualPrice:o,features:[],buttonText:"Get Started",popular:"Growth"===e})}),e=r}else{let t,r;t={},x.forEach(e=>{let r=e.subscription_plan;r&&(t[r]||(t[r]={}),1===e.subscription_months?t[r].monthly=e:(12===e.subscription_months||14===e.subscription_months)&&(t[r].annual=e))}),r=[],["Starter","Growth","Enterprise"].forEach(e=>{let a=t[e];if(!a?.monthly)return;let n=a.monthly,s=a.annual||n,l=Number(n.subscription_price??0),o=Number(s.subscription_price??0);r.push({name:e,description:"",monthlyPrice:l,annualPrice:o,features:[],buttonText:"Get Started",popular:!!n.popular})}),e=r}let t=q;r="How much does XtraKit cost?",a=(()=>{if("hr-payroll"===h){let r=e.find(B),a=e.find(D),n=e.find(U);return`HR & Payroll Starter pricing starts at GHS ${t(r?.monthlyPrice)} per employee per month, the Growth plan offers additional features for businesses at GHS ${t(a?.monthlyPrice)} per employee per month, and the Enterprise plan offers solutions for businesses at scale at GHS ${t(n?.monthlyPrice)} per employee per month. Annually, the Starter plan costs GHS ${t(r?.annualPrice)} per employee, the Growth plan is GHS ${t(a?.annualPrice)} per employee annually, and the Enterprise plan is GHS ${t(n?.annualPrice)} per employee per year.`}let r=e.find(F),a=e.find(O),n=e.find(H),s="core"===h?"2-user":"employee",l="core"===h?"5-user":"employee",o="core"===h?"15-user":"employee";return`Starter pricing starts at GHS ${t(r?.monthlyPrice)} per ${s} per month for the starter plan, the Growth plan offers additional features for businesses at GHS ${t(a?.monthlyPrice)} per ${l} per month, and the Enterprise plan offers solutions for businesses at scale at GHS ${t(n?.monthlyPrice)} per ${o} per month. Annually, the Starter plan costs GHS ${t(r?.annualPrice)} per ${s}, the Growth plan is GHS ${t(a?.annualPrice)} per ${l} annually, and the Enterprise plan is GHS ${function(e){let t=Number(e);return isNaN(t)?"0":t.toLocaleString()}(n?.annualPrice)} per ${o} per year.`})(),m[0]=x,m[1]=h,m[2]=f,m[3]=r,m[4]=a}else r=m[3],a=m[4];m[5]!==r||m[6]!==a?(n={question:r,answer:a},m[5]=r,m[6]=a,m[7]=n):n=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(l={question:"What are my payment options?",answer:"We accept all major credit cards, debit cards, and local mobile money payments. You can choose to pay monthly or annually for a significant discount."},o={question:"How do I know which plan is best for my business?",answer:"The Starter plan is great for new or small businesses. The Growth plan is designed for growing businesses needing more users and advanced features. The Enterprise plan is best for large-scale operations requiring maximum features and priority support."},i={question:"What if I pick the wrong plan?",answer:"You can upgrade or downgrade your plan at any time from your dashboard settings. If you upgrade, the new features will be available immediately and your billing will be adjusted proportionally."},c={question:"How does the free trial work?",answer:"Every plan comes with a 14-day free trial. You'll get full access to all features in your chosen plan. No credit card is required to start, and you can cancel anytime during the trial."},m[8]=l,m[9]=o,m[10]=i,m[11]=c):(l=m[8],o=m[9],i=m[10],c=m[11]),m[12]!==n?(u=[n,l,o,i,c],m[12]=n,m[13]=u):u=m[13];let y=u;return m[14]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("h2",{className:"text-3xl font-bold text-center text-slate-900 dark:text-white mb-12",children:"Frequently asked questions:"}),m[14]=d):d=m[14],m[15]!==y?(p=(0,t.jsxs)("div",{className:"max-w-4xl mx-auto px-6 md:px-12 py-20",children:[d,(0,t.jsx)("div",{className:"bg-sky-50/50 dark:bg-slate-900 rounded-3xl p-8 border border-sky-100 dark:border-slate-800",children:(0,t.jsx)(M.Accordion,{type:"single",collapsible:!0,className:"w-full",children:y.map(L)})})]}),m[15]=y,m[16]=p):p=m[16],p}function L(e,r){return(0,t.jsxs)(M.AccordionItem,{value:`item-${r}`,className:"border-b-sky-100 dark:border-b-slate-800",children:[(0,t.jsx)(M.AccordionTrigger,{className:"text-left font-semibold text-slate-800 dark:text-slate-200 hover:no-underline py-6",children:e.question}
1),(0,t.jsx)(M.AccordionContent,{className:"text-slate-600 dark:text-slate-400 leading-relaxed pb-6",children:e.answer})]},r)}function H(e){return"Enterprise"===e.name}function O(e){return"Growth"===e.name}function F(e){return"Starter"===e.name}function U(e){return"Enterprise"===e.name}function D(e){return"Growth"===e.name}function B(e){return"Starter"===e.name}function q(e){let t=Number(e);return isNaN(t)?"0.00":t.toFixed(2)}var K=e.i(27234),W=e.i(45569),z=e.i(9165);function Z(){let[e,s]=r.useState("monthly"),[l,o]=r.useState("GHS"),[i,u]=r.useState("core"),[d,p]=r.useState(null),[m,h]=r.useState([]),[f,x]=r.useState([]),[b,g]=r.useState(!0);return r.useEffect(()=>{(async()=>{try{console.log("Fetching data..."),console.log("API URL:","https://api.xtrakit.com/api");let[e,t,r]=await Promise.all([y(),z.subscriptionApi.getPlans(),z.subscriptionApi.getHrPlans()]);console.log("Exchange rates:",e),console.log("Plans API response:",t),console.log("HR Plans API response:",r),p(e),t.status?(console.log("Setting plans:",t.data),h(t.data)):console.error("Plans API returned status false:",t),r.status?(console.log("Setting HR plans:",r.data),x(r.data)):console.error("HR Plans API returned status false:",r)}catch(e){console.error("Error fetching data:",e),e instanceof Error&&(console.error("Error message:",e.message),console.error("Error stack:",e.stack))}finally{g(!1)}})()},[]),(0,t.jsxs)("main",{className:"min-h-screen bg-background text-foreground selection:bg-primary selection:text-primary-foreground",children:[(0,t.jsx)(a.Navbar,{}),(0,t.jsxs)("div",{className:"bg-sky-50/30 dark:bg-slate-950/20",children:[(0,t.jsx)(K.AnimationWrapper,{children:(0,t.jsx)(c,{billingCycle:e,setBillingCycle:s,currency:l,setCurrency:o,productCategory:i,setProductCategory:u})}),(0,t.jsx)(K.AnimationWrapper,{delay:.1,children:"payments"===i?(0,t.jsx)(R,{}):(0,t.jsx)(w,{billingCycle:e,currency:l,exchangeRates:d,productCategory:i,subscriptionPlans:m,hrSubscriptionPlans:f,loading:b})}),(0,t.jsx)("p",{className:"text-center text-xs text-slate-400 pb-12",children:"Prices exclude any applicable taxes."})]}),"payments"!==i&&(0,t.jsx)(K.AnimationWrapper,{delay:.2,children:(0,t.jsx)(I,{productCategory:i,subscriptionPlans:m,hrSubscriptionPlans:f,loading:b})}),(0,t.jsx)(K.AnimationWrapper,{delay:.3,children:(0,t.jsx)(W.TrialCTA,{})}),(0,t.jsx)(n.Footer,{})]})}e.s(["default",()=>Z],74518)}]);
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.