PageSourceSearch

https://snwolley.ai/_next/static/chunks/2193-c983148ff07036cd.js

js snwolley.ai collected 2026-10-05 12:39:27 UTC 16,987 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2193],{9634:(e,a,r)=>{r.d(a,{O:()=>c,A:()=>d});var t=r(95155),s=r(12115),i=r(96648),n=r(30926);let o=(0,n.createServerReference)("60ece8c1341e09ff607eefed06f8c402ebb8f5e163",n.callServer,void 0,n.findSourceMapURL,"checkAndInstallSunaAgent"),l=(0,s.createContext)(void 0),c=e=>{let{children:a}=e,r=(0,i.U)(),[n,c]=(0,s.useState)(null),[d,x]=(0,s.useState)(null),[m,h]=(0,s.useState)(!0);(0,s.useEffect)(()=>{(async()=>{try{var e;let{data:{session:a}}=await r.auth.getSession();c(a),x(null!=(e=null==a?void 0:a.user)?e:null)}catch(e){console.error("❌ Error getting initial session:",e)}finally{h(!1)}})();let{data:e}=r.auth.onAuthStateChange(async(e,a)=>{var r;c(a),x(null!=(r=null==a?void 0:a.user)?r:null),m&&h(!1),"SIGNED_IN"===e&&(null==a?void 0:a.user)&&await o(a.user.id,a.user.created_at)});return()=>{null==e||e.subscription.unsubscribe()}},[r]);let f=async()=>{try{await r.auth.signOut()}catch(e){console.error("❌ Error signing out:",e)}};return(0,t.jsx)(l.Provider,{value:{supabase:r,session:n,user:d,isLoading:m,signOut:f},children:a})},d=()=>{let e=(0,s.useContext)(l);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}},52193:(e,a,r)=>{r.d(a,{Navbar:()=>H});var t=r(95155),s=r(88661),i=r.n(s),n=r(12115),o=r(59427),l=r(37494),c=r(5379),d=r(32467),x=r(83101),m=r(64269);let h=(0,x.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function f(e){let{className:a,variant:r,size:s,asChild:i=!1,...n}=e,o=i?d.DX:"button";return(0,t.jsx)(o,{"data-slot":"button",className:(0,m.cn)(h({variant:r,size:s,className:a})),...n})}function u(){let{theme:e,setTheme:a}=(0,c.D)();return(0,t.jsxs)(f,{variant:"outline",size:"icon",onClick:()=>a("light"===e?"dark":"light"),className:"cursor-pointer rounded-full h-8 w-8",children:[(0,t.jsx)(o.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0 text-primary"}),(0,t.jsx)(l.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100 text-primary"}),(0,t.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}var p=r(39759),b=r(78192),g=r(91169),j=r(80534),v=r(53854),y=r(52508),w=r(16485),N=r(24033),k=r(65229),_=r(9540),A=r(1473),C=r(45329),S=r(72548),I=r(58944),L=r(52619),z=r.n(L),E=r(15239),P=r(9634),M=r(20063);let G="70rem",F={hidden:{opacity:0},visible:{opacity:1},exit:{opacity:0}},Q={hidden:{opacity:0,y:100},visible:{opacity:1,y:0,rotate:0,transition:{type:"spring",damping:15,stiffness:200,staggerChildren:.03}},exit:{opacity:0,y:100,transition:{duration:.1}}},B={hidden:{opacity:0},visible:{opacity:1}},D={hidden:{opacity:0},visible:{opacity:1}},J={hidden:{opacity:0,y:-10,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{type:"spring",damping:20,stiffness:300,staggerChildren:.02}},exit:{opacity:0,y:-10,scale:.95,transition:{duration:.15}}},O={hidden:{opacity:0,x:-10},visible:{opacity:1,x:0}},T=[{name:"AI Chat Bot",description:"Document analysis and conversational AI",icon:b.A,href:"/services/ai-chatbot"},{name:"Customer Segmentation",description:"Banking customer insights for upsell & cross-sell",icon:g.A,href:"/services/customer-segmentation"},{name:"Sentiment Analysis",description:"Text and voice analysis with speech recognition",icon:j.A,href:"/services/sentiment-analysis"},{name:"Process Automation",description:"Multi-agent workflows for lead generation & recruitment",icon:v.A,href:"/services/automation"},{name:"Snwolley Mobile",description:"Meeting minutes capture and real-time transcription",icon:y.A,href:"/services/snwolley-mobile"}];function H(){let{scrollY:e}
1=(0,C.L)(),[a,r]=(0,n.useState)(!1),[s,o]=(0,n.useState)(!1),[l,d]=(0,n.useState)("hero"),[x,h]=(0,n.useState)(!1),{theme:f,resolvedTheme:b}=(0,c.D)(),[g,j]=(0,n.useState)(!1),{user:v}=(0,P.A)(),y=(0,M.useRouter)(),L=(0,M.usePathname)(),H=(e,a)=>{if(e.startsWith("#")){let a=e.substring(1);if("/"===L){let e=document.getElementById(a);null==e||e.scrollIntoView({behavior:"smooth"})}else y.push("/".concat(e))}else(null==a?void 0:a.toLowerCase())==="home"&&y.push("/")};(0,n.useEffect)(()=>{j(!0)},[]),(0,n.useEffect)(()=>{let e=()=>{let e=p.CQ.nav.links.filter(e=>e.href.startsWith("#")).map(e=>e.href.substring(1));if(0===e.length)return void d("hero");let a=e[0];for(let r of e){let e=document.getElementById(r);if(e){let t=e.getBoundingClientRect();if(t.top<=150&&t.bottom>=150){a=r;break}}}d(a)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,n.useEffect)(()=>e.on("change",e=>{r(e>10)}),[e]);let Z=()=>o(e=>!e),R=e=>!!e.startsWith("#")&&l===e.substring(1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc bg-gradient-to-r from-green-500 to-yellow-500 text-white py-2 overflow-hidden relative",children:(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc flex animate-marquee whitespace-nowrap",children:(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex items-center space-x-8 text-sm font-medium",children:[(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex items-center space-x-2",children:[(0,t.jsx)(w.A,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc",children:"Snwolley 2.0 Launch • Snwolley AI Africa's AI-First Generation Future • Launch Date 15th August 2025, 10am (GMT)"})]}),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex items-center space-x-2",children:[(0,t.jsx)(w.A,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc",children:"Snwolley 2.0 Launch • Snwolley AI Africa's AI-First Generation Future • Launch Date 15th August 2025, 10am (GMT)"})]}),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex items-center space-x-2",children:[(0,t.jsx)(w.A,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc",children:"Snwolley 2.0 Launch • Snwolley AI Africa's AI-First Generation Future • Launch Date 15th August 2025, 10am (GMT)"})]})]})})}),(0,t.jsxs)("header",{className:"jsx-1a81e4079aa78fbc "+((0,m.cn)("sticky z-50 mx-4 flex justify-center transition-all duration-300 md:mx-0",a?"top-6":"top-4 mx-0")||""),children:[(0,t.jsx)(S.P.div,{initial:{width:G},animate:{width:a?"800px":G},transition:{duration:.3,ease:[.25,.1,.25,1]},children:(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc "+((0,m.cn)("mx-auto max-w-7xl rounded-2xl transition-all duration-300  xl:px-0",a?"px-2 border border-border backdrop-blur-lg bg-background/75":"shadow-none px-7")||""),children:(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex h-[56px] items-center justify-between p-4",children:[(0,t.jsx)(z(),{href:"/",className:"flex items-center gap-3",children:(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex items-center gap-2",children:[(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc w-7 h-7",children:(0,t.jsx)(E.default,{src:"/Snwolley_Logo.png",alt:"Snwolley Logo",width:150,height:30,priority:!0})}),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex flex-col",children:[(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc font-bold text-lg text-primary leading-none",children:"Snwolley"}),(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc text-xs text-muted-foreground leading-none",children:"AI for Africa"})]})]})}),(0,t.jsxs)("nav",{className:"jsx-1a81e4079aa78fbc hidden md:flex items-center space-x-8",children:[p.CQ.nav.links.filter(e=>"home"===e.name.toLowerCase()).map(e=>(0,t.jsx)("button",{onClick:()=>H(e.href,e.name),className:"jsx-1a81e4079aa78fbc "+"text-sm font-medium transition-colors ".concat(R(e.href)?"text-primary font-semibold":"text-primary/80 hover:text-primary"),children:e.name},e.id)),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc relative",children:[(0,t.jsxs)("button",{onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),className:"jsx-1a81e4079aa78fbc flex items-center space-x-1 text-sm font-medium text-primary/80 hover:text-primary transition-colors",children:[(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc",children:"Services"}),(0,t.jsx)(N.A,{className:"w-4 h-4"})]}),(0,t.jsx)(I.N,{children:x&&(0,t.jsx)(S.P.div,{className:"absolute top-full left-0 mt-2 w-80 bg-background border border-border rounded-xl shadow-lg p-2 z-50",variants:J,initial:"hidden",animate:"visible",exit:"exit",onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:T.map(e=>(0,t.jsx)(S.P.div,{variants:O,children:(0,t.jsxs)(z(),{href:e.href,className:"flex items-start space-x-3 p-3 rounded-lg hover:bg-muted/50 transition-colors group",onClick:()=>h(!1),children:[(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc flex-shrink-0 w-8 h-8 bg-gradient-to-br from-green-500 to-yellow-500 rounded-lg flex items-center justify-center",children:(0,t.jsx)(e.icon,{className:"w-4 h-4 text-white"})}),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc text-sm font-medium text-primary group-hover:text-primary/90",children:e.name}),(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc text-xs text-muted-foreground mt-1 line-clamp-2",children:e.description})]})]})},e.name))})})]}),p.CQ.nav.links.filter(e=>"home"!==e.name.toLowerCase()&&"use cases"!==e.name.toLowerCase()).map(e=>(0,t.jsx)("button",{onClick:()=>H(e.href,e.name),className:"jsx-1a81e4079aa78fbc "+"text-sm font-medium transition-colors ".concat(R(e.href)?"text-primary font-semibold":"text-primary/80 hover:text-primary"),children:e.name},e.id)),(0,t.jsx)(z(),{href:"mailto:[email protected]",className:"text-sm font-medium text-primary/80 hover:text-primary transition-colors",children:"Pricing"}),(0,t.jsx)(z(),{href:"mailto:[email protected]",className:"text-sm font-medium text-primary/80 hover:text-primary transition-colors",children:"Contact Us"})]}),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex flex-row items-center gap-1 md:gap-3 shrink-0",children:[(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc flex items-center space-x-3",children:v?(0,t.jsx)(z(),{className:"bg-secondary h-8 hidden md:flex items-center justify-center text-sm font-normal tracking-wide rounded-full text-primary-foreground dark:text-secondary-foreground w-fit px-4 shadow-[inset_0_1px_2px_rgba(255,255,255,0.25),0_3px_3px_-1.5px_rgba(16,24,40,0.06),0_1px_1px_rgba(16,24,40,0.08)] border border-white/[0.12]",href:"/dashboard",children:"Go to Chat"}):(0,t.jsx)(z(),{className:"bg-gradient-to-r from-green-600 via-black-500 to-green-400 bg-clip-text text-transparent h-8 hidden md:flex items-center justify-center text-sm font-normal tracking-wide rounded-full text-primary-foreground dark:text-secondary-foreground w-fit px-4 shadow-[inset_0_1px_2px_rgba(255,255,255,0.25),0_3px_3px_-1.5px_rgba(16,24,40,0.06),0_1px_1px_rgba(16,24,40,0.08)] border border-white/[0.12]",href:"/auth",children:"Get started"})}),(0,t.jsx)(u,{}),(0,t.jsx)("button",{onClick:Z,className:"jsx-1a81e4079aa78fbc md:hidden border border-border size-8 rounded-md cursor-pointer flex items-center justify-center",children:s?(0,t.jsx)(k.A,{className:"size-5"}):(0,t.jsx)(_.A,{className:"size-5"})})]})]})})}),(0,t.jsx)(I.N,{children:s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.P.div,{className:"fixed inset-0 bg-black/50 backdrop-blur-sm",initial:"hidden",animate:"visible",exit:"exit",variants:F,transition:{duration:.2},onClick:()=>o(!1)}),(0,t.jsx)(S.P.div,{className:"fixed inset-x-0 w-[95%] mx-auto bottom-3 bg-background border border-border p-4 rounded-xl shadow-lg",initial:"hidden",animate:"visible",exit:"exit",variants:Q,children:(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex items-center justify-between",children:[(0,t.jsx)(z(),{href:"/",className:"flex items-center gap-3",children:(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex items-center gap-2",children:[(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc w-6 h-6 bg-gradient-to-br from-green-500 to-yellow-500 rounded-lg flex items-center justify-center",children:(0,t.jsx)(A.A,{className:"w-4 h-4 text-white"})}),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex flex-col",children:[(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc font-bold text-sm text-primary leading-none",children:"Snwolley"}),(0,t.jsx)("span",{className:"jsx-1a81e4079aa78fbc text-xs text-muted-foreground leading-none",children:"AI for Africa"})]})]})}),(0,t.jsx)("button",{onClick:Z,className:"jsx-1a81e4079aa78fbc border border-border rounded-md p-1 cursor-pointer",children:(0,t.jsx)(k.A,{className:"size-5"})})]}),(0,t.jsx)(S.P.ul,{className:"flex flex-col text-sm mb-4 border border-border rounded-md",variants:B,children:(0,t.jsxs)(I.N,{children:[p.CQ.nav.links.filter(e=>"home"===e.name.toLowerCase()).map(e=>(0,t.jsx)(S.P.li,{className:"p-2.5 border-b border-border",variants:D,children:(0,t.jsx)("button",{onClick:()=>{H(e.href,e.name),o(!1)},className:"jsx-1a81e4079aa78fbc "+"underline-offset-4 hover:text-primary/80 transition-colors ".concat(R(e.href)?"text-primary font-medium":"text-primary/60"),children:e.name})},e.id)),(0,t.jsxs)(S.P.li,{className:"p-2.5 border-b border-border",variants:D,children:[(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc text-primary/60 font-medium mb-2",children:"Services"}),(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc pl-4 space-y-2",children:T.map(e=>(0,t.jsx)(z(),{href:e.href,onClick:()=>o(!1),className:"block text-sm text-primary/80 hover:text-primary",children:e.name},e.name))})]}),p.CQ.nav.links.filter(e=>"home"!==e.name.toLowerCase()&&"use cases"!==e.name.toLowerCase()).map(e=>(0,t.jsx)(S.P.li,{className:"p-2.5 border-b border-border",variants:D,children:(0,t.jsx)("button",{onClick:()=>{H(e.href,e.name),o(!1)},className:"jsx-1a81e4079aa78fbc "+"underline-offset-4 hover:text-primary/80 transition-colors ".concat(R(e.href)?"text-primary font-medium":"text-primary/60"),children:e.name})},e.id)),(0,t.jsx)(S.P.li,{className:"p-2.5 border-b border-border last:border-b-0",variants:D,children:(0,t.jsx)(z(),{href:"mailto:[email protected]",onClick:()=>o(!1),className:"block text-sm text-primary/80 hover:text-primary font-medium",children:"Contact Us"})})]})}),(0,t.jsxs)("div",{className:"jsx-1a81e4079aa78fbc flex flex-col gap-2",children:[v?(0,t.jsx)(z(),{href:"/dashboard",className:"bg-secondary h-8 flex items-center justify-center text-sm font-normal tracking-wide rounded-full text-primary-foreground dark:text-secondary-foreground w-full px-4 shadow-[inset_0_1px_2px_rgba(255,255,255,0.25),0_3px_3px_-1.5px_rgba(16,24,40,0.06),0_1px_1px_rgba(16,24,40,0.08)] border border-white/[0.12] hover:bg-secondary/80 transition-all ease-out active:scale-95",children:"Go to Chat"}):(0,t.jsx)(z(),{href:"/auth",className:"bg-gradient-to-r from-green-600 via-black-500 to-green-400 bg-clip-text text-transparent h-8 flex items-center justify-center text-sm font-normal tracking-wide rounded-full text-primary-foreground dark:text-secondary-foreground w-full px-4 shadow-[inset_0_1px_2px_rgba(255,255,255,0.25),0_3px_3px_-1.5px_rgba(16,24,40,0.06),0_1px_1px_rgba(16,24,40,0.08)] border border-white/[0.12] hover:bg-secondary/80 transition-all ease-out active:scale-95",children:"Get Started"}),(0,t.jsx)("div",{className:"jsx-1a81e4079aa78fbc flex justify-between",children:(0,t.jsx)(u,{})})]})]})})]})})]}),(0,t.jsx)(i(),{id:"1a81e4079aa78fbc",children:"@keyframes marquee{0%{transform:translatex(100%)}100%{transform:translatex(-100%)}}.animate-marquee{animation:marquee 30s linear infinite}"})]})}},96648:(e,a,r)=>{r.d(a,{U:()=>s});var t=r(45831);function s(){return(0,t.createBrowserClient)("https://jfjzkvfpxryphcdpoiht.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImpmanprdmZweHJ5cGhjZHBvaWh0Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTQwNjY3NTQsImV4cCI6MjA2OTY0Mjc1NH0.LpOQZysImNdSOZcivicYRn-80qHe54czs5xpHzH4sHI")}}}]);

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.