1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="7ea2033a-d76e-49f1-a86b-89392292870d",e._sentryDebugIdIdentifier="sentry-dbid-7ea2033a-d76e-49f1-a86b-89392292870d")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6273],{386:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/invite",function(){return t(63038)}])},63038:function(e,a,t){"use strict";t.r(a),t.d(a,{__N_SSP:function(){return E}});var r=t(85893),s=t(67294),n=t(11163),i=t(37871),d=t(9008),l=t.n(d),o=t(41664),c=t.n(o),x=t(12640),g=t(86501),h=t(70034),m=t(21557),b=t(64118),u=t(90112),p=t(97864),f=t(67777),y=t(10279),w=t(10283),k=t(79304),j=t(56183),v=t(95019);let N=e=>{let{isOpen:a,onClose:t,inviteLink:n}=e,{t:d}=(0,i.$G)("common"),[l,o]=(0,s.useState)(!1),c=async()=>{try{await navigator.clipboard.writeText(n),o(!0),g.Am.success(d("link-copied","Link copied to clipboard!")),setTimeout(()=>o(!1),2e3)}catch(e){console.error("Failed to copy: ",e),g.Am.error(d("copy-failed","Failed to copy link"))}},x=d("share-text","Hey! I found this great AI assistant called kakak.ai. It's a real time-saver - helps with writing, coding, research and more. If you sign up with my link, we both get free Pro credits. Worth trying!"),h=e=>{let a=encodeURIComponent("".concat(x," ").concat(n)),t=encodeURIComponent(n),r={whatsapp:"https://wa.me/?text=".concat(a),telegram:"https://t.me/share/url?url=".concat(t,"&text=").concat(encodeURIComponent(x)),facebook:"https://www.facebook.com/sharer/sharer.php?u=".concat(t),twitter:"https://twitter.com/intent/tweet?text=".concat(a),linkedin:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(t)};window.open(r[e],"_blank","width=600,height=400")};return a?(0,r.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",children:(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-[14px] p-6 w-full max-w-md
1shadow-md",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,r.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:d("share","Share")}),(0,r.jsx)("button",{onClick:t,className:"w-8 h-8 rounded-[10px] bg-[#F1F4F1] dark:bg-gray-700 text-gray-500 dark:text-gray-400 flex items-center justify-center hover:bg-gray-200 dark:hover:bg-gray-600 transition-all duration-150",children:"â"})]}),(0,r.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:d("share-description","Copy the link and send it to your friends, they can access and use kakak.ai")}),(0,r.jsxs)("div",{className:"flex items-center gap-2 mb-4 p-3 bg-[#F1F4F1] dark:bg-gray-700 rounded-[10px]",children:[(0,r.jsx)("input",{type:"text",value:n,readOnly:!0,className:"flex-1 bg-transparent text-sm text-gray-600 dark:text-gray-300 outline-none"}),(0,r.jsxs)("button",{onClick:c,className:"inline-flex items-center gap-2 h-10 px-5 rounded-full bg-brand-green text-brand-green-text font-semibold text-sm shadow-brand transition-all duration-150 hover:bg-brand-green-2 active:scale-[0.97]",children:[l?(0,r.jsx)(b.Z,{className:"w-4 h-4"}):(0,r.jsx)(u.Z,{className:"w-4 h-4"}),l?d("copied","Copied!"):d("copy","Copy")]})]}),(0,r.jsx)("div",{className:"flex gap-3 mb-6",children:[{platform:"whatsapp",bg:"bg-[#25D366] hover:bg-[#1EAE52]",icon:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.488"})})},{platform:"telegram",bg:"bg-brand-green hover:bg-brand-green-2",icon:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"})})},{platform:"facebook",bg:"bg-brand-green hover:bg-brand-green-2",icon:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})},{platform:"twitter",bg:"bg-gray-800 hover:bg-gray-900",icon:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{platform:"linkedin",bg:"bg-brand-green-2 hover:bg-brand-green-2",icon:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}].map(e=>{let{platform:a,bg:t,icon:s}=e;return(0,r.jsx)("button",{onClick:()=>h(a),className:"flex-1 h-10 rounded-full ".concat(t," text-white flex items-center justify-center transition-all duration-150 active:scale-[0.97]"),title:a.charAt(0).toUpperCase()+a.slice(1),children:s},a)})}),(0,r.jsxs)("div",{className:"bg-[#F1F4F1] dark:bg-gray-700 p-4 rounded-[10px]",children:[(0,r.jsx)("h4",{className:"text-sm font-medium mb-2",children:d("text-preview","Text Preview")}),(0,r.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400 mb-2",children:x}),(0,r.jsx)("p",{className:"text-sm text-brand-green dark:text-brand-green",children:n}),(0,r.jsxs)("button",{onClick:()=>{navigator.clipboard.writeText("".concat(x," ").concat(n)),g.Am.success(d("text-copied","Text copied to clipboard!"))},className:"mt-2 text-sm text-brand-green hover:text-brand-green dark:text-brand-green dark:hover:text-brand-green flex items-center gap-1",children:[(0,r.jsx)(u.Z,{className:"w-4 h-4"}),d("copy","Copy")]})]})]})}):null},C=e=>{let{question:a,answer:t}
1=e,[n,i]=(0,s.useState)(!1);return(0,r.jsxs)("div",{className:"border-b border-gray-200 dark:border-gray-700",children:[(0,r.jsxs)("button",{className:"w-full py-4 text-left flex justify-between items-center hover:bg-gray-50 dark:hover:bg-gray-800 px-4 rounded-lg",onClick:()=>i(!n),children:[(0,r.jsx)("span",{className:"font-medium",children:a}),n?(0,r.jsx)(p.Z,{className:"w-5 h-5 text-gray-500"}):(0,r.jsx)(f.Z,{className:"w-5 h-5 text-gray-500"})]}),n&&(0,r.jsx)("div",{className:"pb-4 px-4 text-gray-600 dark:text-gray-400",children:t})]})},F=()=>(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-[14px] shadow-sm border border-gray-200 dark:border-gray-700 animate-pulse",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 bg-gray-200 dark:bg-gray-700 rounded-[10px]"}),(0,r.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-28"})]}),(0,r.jsx)("div",{className:"h-9 bg-gray-200 dark:bg-gray-700 rounded w-16 mt-2"})]});var E=!0;a.default=()=>{let e=(0,n.useRouter)(),{t:a}=(0,i.$G)("common"),{user:t,isLoading:d}=(0,x.aF)(),[o,b]=(0,s.useState)({totalReferrals:0,totalCreditsEarned:0}),[u,f]=(0,s.useState)(!1),[E,I]=(0,s.useState)(""),[A,Z]=(0,s.useState)(!1),[_,S]=(0,s.useState)(!1),[q,P]=(0,s.useState)(!1),T=E?"https://kakak.ai/invitation?inv=".concat(E):"",H=(0,s.useCallback)(async()=>{if(t){Z(!0),P(!1);try{let e=await fetch("/api/affiliate/setup");if(e.ok){let t=await e.json();b({totalReferrals:t.totalReferrals||0,totalCreditsEarned:t.proCreditsEarned||0}),t.referralCode&&I(t.referralCode),t.isNewAffiliate&&g.Am.success(a("auto-joined-affiliate","Welcome to the affiliate program! Your referral code has been generated."))}else P(!0),g.Am.error(a("setup-failed","Failed to load affiliate data"))}catch(e){console.error("Error fetching setup:",e),P(!0)}finally{Z(!1)}}},[t,a]),R=(0,s.useCallback)(async()=>{S(!0);try{await H()}catch(e){console.error("Error generating code:",e),g.Am.error(a("generate-code-failed","Failed to generate invite code"))}finally{S(!1)}},[H,a]);(0,s.useEffect)(()=>{t&&H()},[t,H]);let B=()=>{sessionStorage.setItem("redirectAfterLogin",window.location.pathname),window.location.href="/signin"},L=!t&&!d;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l(),{children:[(0,r.jsx)("title",{children:a("invite-friends-title","Invite Friends - kakak.ai")}),(0,r.jsx)("meta",{name:"description",content:a("invite-friends-desc","Undang teman ke kakak.ai dan dapatkan bonus Pro Credit gratis untuk akses model AI premium seperti GPT-5, Claude, dan Gemini. Semakin banyak teman yang bergabung, semakin banyak kredit yang Anda dapatkan!")})]}),(0,r.jsxs)("div",{className:"min-h-screen bg-gray-50 dark:bg-gray-900",children:[(0,r.jsx)(h.h,{user:t,showNavigation:!0,showLoginButton:!1,customNavItems:[{label:a("home","en"===e.locale?"Home":"Beranda"),href:"/"}]}),(0,r.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 pt-24",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsx)("div",{className:"flex items-center justify-center mb-6",children:(0,r.jsxs)("div",{className:"flex -space-x-2",children:[(0,r.jsx)("div",{className:"w-12 h-12 bg-brand-green rounded-full flex items-center justify-center",children:(0,r.jsx)(y.Z,{className:"w-6 h-6 text-white"})}),(0,r.jsx)("div",{className:"w-12 h-12 bg-green-500 rounded-full flex items-center justify-center",children:(0,r.jsx)(w.Z,{className:"w-6 h-6 text-white"})})]})}),(0,r.jsx)("h1",{className:"text-4xl sm:text-5xl font-bold text-gray-900 dark:text-white mb-4",children:a("get-free-credits","Dapatkan bonus Pro Credit untuk Model Pro seperti Kakak Academic Pro, Kakak Pro & Kakak Infographic Pro")}),(0,r.jsx)("p",{className:"text-xl text-gray-600 dark:text-gray-400 mb-8",children:a("invite-subtitle","by inviting your friends to use kakak.ai.")}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[(0,r.jsx)("button",{onClick:()=>{if(!t){B();return}if(!E){R();return}f(!0)},className:"inline-flex items-center gap-2 h-14 px-9 rounded-full bg-brand-green text-brand-green-text font-semibold text-base shadow-brand transition-all duration-150 hover:bg-brand-green-2 active:scale-[0.97]",children:_?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k.Z,{className:"w-5 h-5 animate-spin"}),a("generating-code","Generating code...")]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.Z,{className:"w-5 h-5"}),a("share-now","Share Now")]})}),(0,r.jsxs)(c(),{href:"/",className:"inline-flex items-center gap-1.5 h-10 px-5 rounded-full bg-[#F1F4F1] dark:bg-gray-800 text-gray-600 dark:text-gray-400 font-medium text-sm transition-all duration-150 hover:bg-gray-200 dark:hover:bg-gray-700",children:[(0,r.jsx)(p.Z,{className:"w-4 h-4 rotate-90"}),a("back-to-app","Back to App")]})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-12",children:[L?(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-[14px] shadow-sm border border-gray-200 dark:border-gray-700",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-[10px] bg-[#E8FAF4] flex items-center justify-center",children:(0,r.jsx)(y.Z,{className:"w-5 h-5 text-brand-green"})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a("total-referrals","Total Referrals")})]}),(0,r.jsx)("p",{className:"text-3xl font-bold text-gray-900 dark:text-white",children:"--"}),(0,r.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-2",children:a("login-to-view-referral-stats","Login to view your referral statistics")})]}):d||A?(0,r.jsx)(F,{}):q?(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-[14px] shadow-sm border border-red-200 dark:border-red-800",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-[10px] bg-[#FEE2E2] flex items-center justify-center",children:(0,r.jsx)(y.Z,{className:"w-5 h-5 text-red-400"})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a("total-referrals","Total Referrals")})]}),(0,r.jsx)("p",{className:"text-sm text-red-500 dark:text-red-400 mb-3",children:a("stats-load-error","Could not load statistics")}),(0,r.jsxs)("button",{onClick:H,className:"inline-flex items-center gap-1.5 h-8 px-4 roun
1ded-full bg-[#F1F4F1] dark:bg-gray-700 text-sm font-medium text-gray-600 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-600 transition-all duration-150",children:[(0,r.jsx)(k.Z,{className:"w-3.5 h-3.5"}),a("retry","Retry")]})]}):(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-[14px] shadow-sm border border-gray-200 dark:border-gray-700",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-[10px] bg-[#E8FAF4] flex items-center justify-center",children:(0,r.jsx)(y.Z,{className:"w-5 h-5 text-brand-green"})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a("total-referrals","Total Referrals")})]}),(0,r.jsx)("p",{className:"text-3xl font-bold text-gray-900 dark:text-white",children:o.totalReferrals})]}),L?(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-[14px] shadow-sm border border-gray-200 dark:border-gray-700",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-[10px] bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:(0,r.jsx)(w.Z,{className:"w-5 h-5 text-green-600"})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a("credits-earned","Credits Earned")})]}),(0,r.jsx)("p",{className:"text-3xl font-bold text-gray-900 dark:text-white",children:"--"}),(0,r.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-2",children:a("login-to-view-earnings","Login to view your earnings")})]}):d||A?(0,r.jsx)(F,{}):q?(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-[14px] shadow-sm border border-red-200 dark:border-red-800",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-[10px] bg-[#FEE2E2] flex items-center justify-center",children:(0,r.jsx)(w.Z,{className:"w-5 h-5 text-red-400"})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a("credits-earned","Credits Earned")})]}),(0,r.jsx)("p",{className:"text-sm text-red-500 dark:text-red-400 mb-3",children:a("stats-load-error","Could not load statistics")}),(0,r.jsxs)("button",{onClick:H,className:"inline-flex items-center gap-1.5 h-8 px-4 rounded-full bg-[#F1F4F1] dark:bg-gray-700 text-sm font-medium text-gray-600 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-600 transition-all duration-150",children:[(0,r.jsx)(k.Z,{className:"w-3.5 h-3.5"}),a("retry","Retry")]})]}):(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-[14px] shadow-sm border border-gray-200 dark:border-gray-700",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 rounded-[10px] bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:(0,r.jsx)(w.Z,{className:"w-5 h-5 text-green-600"})}),(0,r.jsx)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a("credits-earned","Credits Earned")})]}),(0,r.jsx)("p",{className:"text-3xl font-bold text-gray-900 dark:text-white",children:o.totalCreditsEarned})]})]}),t&&!A&&!q&&!E&&(0,r.jsxs)("div",{className:"bg-[#FEF3C7] dark:bg-[#FEF3C7]/10 border border-[#F59E0B]/30 rounded-[14px] p-4 mb-6 text-center",children:[(0,r.jsx)("p",{className:"text-[#78350F] dark:text-[#F59E0B] text-sm mb-3",children:a("no-invite-code","Your invite code hasn't been generated yet.")}),(0,r.jsxs)("button",{onClick:R,disabled:_,className:"inline-flex items-center gap-2 h-10 px-5 rounded-full bg-[#FEF3C7] dark:bg-[#78350F]/20 text-[#78350F] dark:text-[#F59E0B] font-semibold text-sm transition-all duration-150 hover:bg-[#FDE68A] dark:hover:bg-[#78350F]/30 disabled:opacity-40",children:[_?(0,r.jsx)(k.Z,{className:"w-4 h-4 animate-spin"}):(0,r.jsx)(v.Z,{className:"w-4 h-4"}),_?a("generating-code","Generating..."):a("generate-invite-code","Generate Invite Code")]})]}),(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-[14px] shadow-sm border border-gray-200 dark:border-gray-700 p-8 mb-12",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold text-center mb-8",children:a("invitation-process","Invitation Process")}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[{icon:(0,r.jsx)(j.Z,{className:"w-8 h-8 text-brand-green"}),bg:"bg-[#E8FAF4] dark:bg-brand-green/10",title:a("step-1","Step 1"),desc:a("step-1-desc","Share the invitation link
1with friends or post on social media.")},{icon:(0,r.jsx)(y.Z,{className:"w-8 h-8 text-green-600"}),bg:"bg-green-100 dark:bg-green-900",title:a("step-2","Step 2"),desc:a("step-2-desc","Friends sign up and log in to kakak.ai via your link.")},{icon:(0,r.jsx)(w.Z,{className:"w-8 h-8 text-brand-purple"}),bg:"bg-[#EEEFFE] dark:bg-brand-purple/10",title:a("step-3","Step 3"),desc:a("step-3-desc","Check your invitation rewards and records.")}].map((e,a)=>(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"w-16 h-16 ".concat(e.bg," rounded-full flex items-center justify-center mx-auto mb-4"),children:e.icon}),(0,r.jsx)("h3",{className:"text-lg font-semibold mb-2",children:e.title}),(0,r.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:e.desc})]},a))})]}),(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-[14px] shadow-sm border border-gray-200 dark:border-gray-700 p-8",children:[(0,r.jsx)("h2",{className:"text-2xl font-bold mb-6",children:a("faq","Frequently Asked Questions")}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C,{question:a("faq-what-is","What is the kakak.ai Invitation Program?"),answer:a("faq-what-is-answer","The kakak.ai Invitation Program rewards you for bringing new users to our platform. You and your friends both receive Pro credits when they sign up using your invitation link.")}),(0,r.jsx)(C,{question:a("faq-how-participate","How can I participate in the program?"),answer:a("faq-how-participate-answer","Simply share your unique invitation link with friends. When they sign up and verify their account, you both receive rewards.")}),(0,r.jsx)(C,{question:a("faq-what-rewards","What rewards can I earn?"),answer:a("faq-what-rewards-answer","You earn 200 Pro credits for each successful referral. There's no limit to how many friends you can invite!")}),(0,r.jsx)(C,{question:a("faq-friend-rewards","What do my invited friends receive?"),answer:a("faq-friend-rewards-answer","Your friends also receive 200 Pro credits when they sign up using your invitation link, giving them a great start with kakak.ai.")}),(0,r.jsx)(C,{question:a("faq-invitation-limit","Is there a limit to the number of invitations I can send?"),answer:a("faq-invitation-limit-answer","No! You can invite as many friends as you want. The more friends you invite, the more credits you can earn.")})]}),(0,r.jsxs)("p",{className:"text-center text-gray-600 dark:text-gray-400 mt-6",children:[a("partner-learn-more","Want to learn more about this program?")," ",(0,r.jsx)("a",{href:"https://help.kakak.ai/partner",target:"_blank",rel:"noopener noreferrer",className:"text-brand-green font-medium hover:underline",children:a("partner-learn-more-link","Visit the Help Center")})]})]})]}),(0,r.jsx)(m.$,{user:t,showSEOContent:!1}),T&&(0,r.jsx)(N,{isOpen:u,onClose:()=>f(!1),inviteLink:T})]})]})}}},function(e){e.O(0,[3246,9464,4578,9358,9451,7062,8343,1394,132,465,6202,1569,7172,1091,9396,1557,924,842,4382,1406,2417,7943,2586,2297,5976,1448,1561,7701,2170,7673,8163,2888,9922,179],function(){return e(e.s=386)}),_N_E=e.O()}]);
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.