1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,702543,388567,308212,571040,999312,732803,919616,e=>{"use strict";var t=e.i(382763);let s=(0,t.default)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);e.s(["Gift",0,s],702543);let r=(0,t.default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,r],388567);let a=(0,t.default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["Share2",0,a],308212);let l=(0,t.default)("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);e.s(["Twitter",0,l],571040);let i=(0,t.default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["MessageCircle",0,i],999312);let n=(0,t.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,n],732803);let d=(0,t.default)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);e.s(["Linkedin",0,d],919616)},42317,e=>{"use strict";let t=(0,e.i(382763).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],42317)},929039,e=>{"use strict";let t=(0,e.i(382763).default)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);e.s(["LogIn",0,t],929039)},853857,e=>{"use strict";let t=(0,e.i(382763).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",0,t],853857)},893267,e=>{"use strict";var t=e.i(359578),s=e.i(246436),r=e.i(385333),a=e.i(42317);let l=(0,e.i(382763).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var i=e.i(519455);e.i(428111);var n=e.i(904452),d=e.i(375679);e.s(["PricingCard",0,function({isLoggedIn:e}){let c=(0,r.useRouter)(),[o,x]=(0,s.useState)(!1),[m,u]=(0,s.useState)(10),h=Number.isFinite(m)&&m>=10&&m<=200,f=h?10*m:0,g=h?10*m:0,p=g-m,j=async()=>{if(!e)return void c.push("/sign-in?redirect_url=/pricing");if(h){(0,d.trackCheckoutStart)({price_id:`custom_${m}`,price_amount:m,currency:"USD"}),x(!0);try{let e=await fetch("/api/stripe/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({amountUsd:m})}),t=await e.json();t.url?window.location.href=t.url:((0,d.trackPaymentError)({error_type:t?.error||"no_checkout_url",price_id:`custom_${m}`}),x(!1))}catch(e){(0,d.trackPaymentError)({error_type:e instanceof Error?e.message:"unknown",price_id:`custom_${m}`}),x(!1)}}};return(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 z-10",children:(0,t.jsx)("div",{className:"px-4 py-1 rounded-full bg-gold text-navy text-sm font-bold",children:"90% OFF"})}),(0,t.jsxs)("div",{className:"p-8 rounded-2xl bg-card border-2 border-gold shadow-lg",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-muted-foreground mb-2",children:"Early Supp
1orter Pack"}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-1 mb-1",children:[(0,t.jsx)("span",{className:"text-5xl font-bold text-foreground",children:"$"}),(0,t.jsx)("input",{type:"number",min:10,max:200,step:1,value:Number.isFinite(m)?m:"",onChange:e=>u(Math.floor(Number(e.target.value))),"aria-label":"Top-up amount in US dollars",className:"w-28 text-5xl font-bold text-foreground bg-transparent text-center border-b-2 border-gold/40 focus:border-gold focus:outline-none transition-colors"})]}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground mb-2",children:["Choose any amount from $",10," to $",200]}),(0,t.jsx)("div",{className:"text-muted-foreground",children:h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"line-through",children:["$",g]}),(0,t.jsxs)("span",{className:"ml-2 text-gold font-semibold",children:["Save $",p]})]}):(0,t.jsxs)("span",{className:"text-red-500",children:["Enter $",10,"â$",200]})})]}),(0,t.jsx)("div",{className:"text-center mb-6",children:(0,t.jsxs)("div",{className:"inline-flex items-center justify-center gap-2 px-4 py-3 rounded-xl bg-secondary",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-gold",children:f.toLocaleString()}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"credits"})]})}),(0,t.jsxs)("ul",{className:"space-y-3 mb-8",children:[(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-gold",children:"â"}),"1 credit = 1 AI question"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-gold",children:"â"}),"Credits never expire"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-gold",children:"â"}),"Keep your ",n.FREE_DAILY_AI_LIMIT," free daily AI interactions"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-gold",children:"â"}),"One-time purchase, no subscription"]})]}),(0,t.jsx)(i.Button,{onClick:j,disabled:o||!h,variant:"gold",className:"w-full h-12 font-semibold text-base",children:o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Loader2,{className:"w-5 h-5 mr-2 animate-spin"}),"Loading..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{className:"w-5 h-5 mr-2 flex-shrink-0"}),e?`Buy ${f.toLocaleString()} credits`:"Sign In to Buy"]})}),(0,t.jsx)("p",{className:"text-xs text-center text-muted-foreground mt-4",children:"Secure payment powered by Stripe"})]})]})}],893267)},172706,e=>{"use strict";var t=e.i(359578);e.i(428111);var s=e.i(904452);e.s(["RegularPriceCard",0,function(){return(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 z-10",children:(0,t.jsx)("div",{className:"px-4 py-1 rounded-full bg-secondary text-foreground text-sm font-bold border border-border",children:"REGULAR"})}),(0,t.jsxs)("div",{className:"p-8 rounded-2xl bg-card border-2 border-border shadow-lg relative overflow-hidden",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-2",children:"Regular Price"}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-3 mb-2",children:(0,t.jsx)("span",{className:"text-5xl font-bold text-foreground",children:"$100"})}),(0,t.jsx)("div",{className:"text-muted-foreground",children:"Standard pricing"})]}),(0,t.jsx)("div",{className:"text-center mb-6",children:(0,t.jsxs)("div",{className:"inline-flex items-center justify-center gap-2 px-4 py-3 rounded-xl bg-secondary",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-foreground",children:"100"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"credits"})]})}),(0,t.jsxs)("ul",{className:"space-y-3 mb-8",children:[(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{children:"â"}),"1 credit = 1 AI question"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{children:"â"}),"Credits never expire"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{children:"â"}),"Keep your ",s.FREE_DAILY_AI_LIMIT," free daily AI interactions"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{children:"â"}),"One-time purchase, no subscription"]})]}),(0,t.jsx)("div",{className:"w-full h-12 bg-muted rounded-lg flex items-center justify-center text-muted-foreground font-semibold cursor-not-allowed opacity-50",children:"Buy Now - $100"}),(0,t.jsx)("p",{className:"text-xs text-center text-muted-foreground mt-4",children:"Save 90% with Early Supp
1orter pricing â"})]})]})}])},435243,e=>{"use strict";var t=e.i(359578),s=e.i(385333),r=e.i(121373),a=e.i(519455),l=e.i(929039),i=e.i(290019);e.s(["RewardedAdCard",0,function({isLoggedIn:e}){let n=(0,s.useRouter)();return(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 z-10",children:(0,t.jsx)("div",{className:"px-4 py-1 rounded-full bg-blue-600 text-white text-sm font-bold",children:"FREE"})}),(0,t.jsxs)("div",{className:"p-8 rounded-2xl bg-card border-2 border-blue-600/50 shadow-lg h-full flex flex-col",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-muted-foreground mb-2",children:"Watch Ads for Credits"}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-3 mb-2",children:(0,t.jsx)("span",{className:"text-5xl font-bold text-foreground",children:"$0"})}),(0,t.jsx)("div",{className:"text-muted-foreground",children:(0,t.jsx)("span",{className:"text-blue-600 font-semibold",children:"No payment needed"})})]}),(0,t.jsx)("div",{className:"text-center mb-6",children:(0,t.jsxs)("div",{className:"inline-flex items-center justify-center gap-2 px-4 py-3 rounded-xl bg-secondary",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-blue-600",children:"5"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"credits"})]})}),(0,t.jsxs)("ul",{className:"space-y-3 mb-8 flex-1",children:[(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-blue-600",children:"â"}),"Watch a short ad"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-blue-600",children:"â"}),"Earn 5 credits instantly"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-blue-600",children:"â"}),"Credits never expire"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-blue-600",children:"â"}),"No daily limit"]})]}),e?(0,t.jsx)(i.RewardedAdButton,{variant:"pricing",onCreditsEarned:()=>{n.refresh()}}):(0,t.jsx)(r.default,{href:"/sign-in?redirect_url=/pricing",className:"w-full",children:(0,t.jsxs)(a.Button,{className:"w-full h-12 bg-blue-600 hover:bg-blue-700 text-white font-semibold text-base",children:[(0,t.jsx)(l.LogIn,{className:"w-5 h-5 mr-2"}),"Sign In to Start"]})}),(0,t.jsx)("p",{className:"text-xs text-center text-muted-foreground mt-4",children:"No payment needed"})]})]})}])},290019,e=>{"use strict";var t=e.i(359578),s=e.i(246436),r=e.i(385333),a=e.i(853857),l=e.i(42317),i=e.i(329478);let n=(0,e.i(382763).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var d=e.i(519455),c=e.i(375679);e.s(["RewardedAdButton",0,function({onCreditsEarned:e,variant:o}){let x=(0,r.useRouter)(),[m,u]=(0,s.useState)("idle"),[h,f]=(0,s.useState)(""),g=(0,s.useRef)(null),p="chat"===o?"font-semibold px-6":"w-full h-12 font-semibold text-base",j=async()=>{let e;u("loading"),f(""),(0,c.trackRewardedAdStart)({source:o});try{let e=await fetch("/api/credits/rewarded-ad",{method:"GET"});if(401===e.status)return void x.push("/sign-in?redirect_url=/pricing");let t=await e.json();if(!e.ok||!t.eligible||!t.nonce){u("limit"),setTimeout(()=>u("idle"),4e3);return}g.current=t.nonce}catch{u("error"),f("Network error. Please try again.");return}window.ezRewardedAds=window.ezRewardedAds||{},window.ezRewardedAds.cmd=window.ezRewardedAds.cmd||[];let t=!1,s=()=>{u("nofill"),setTimeout(()=>u("idle"),4e3)},r=()=>{if(t)return;t=!0,e&&window.clearTimeout(e);let r=window.ezRewardedAds;r?.requestWithOverlay?r.requestWithOverlay(async e=>{e.status&&e.reward?await b():e.status?u("idle"):s()},{header:"Watch a Short Ad",body:["Earn 5 AI credits by watching a short ad.","Credits never expire!"],accept:"Watch Ad",cancel:"Maybe Later"},{rewardName:`ai_credits_${o}`,alwaysCallback:!0,minCPM:5}):s()};window.ezRewardedAds.ready&&window.ezRewardedAds.requestWithOverlay?r():(window.ezRewardedAds.cmd.push(r),t||(e=window.setTimeout(()=>{t||(t=!0,s())},5e3)))},b=async()=>{let t=g.current;if(g.current=null,!t){u("error"),f("Missing ad token. Please try again.");return}try{let s=await fetch("/api/credits/rewarded-ad",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({nonce:t})}
1),r=await s.json();s.ok?(u("success"),(0,c.trackRewardedAdComplete)({source:o,credits_earned:r.earned}),e(r.earned),setTimeout(()=>u("idle"),2e3)):401===s.status?x.push("/sign-in?redirect_url=/pricing"):429===s.status?(u("limit"),setTimeout(()=>u("idle"),4e3)):(u("error"),f(r.error||"Failed to grant credits"))}catch{u("error"),f("Network error. Please try again.")}};return"nofill"===m?(0,t.jsxs)("div",{className:"chat"===o?"":"w-full",children:[(0,t.jsxs)(d.Button,{disabled:!0,className:p,style:{backgroundColor:"#f59e0b",color:"#fff",opacity:1},children:[(0,t.jsx)(n,{className:"w-4 h-4 mr-2"}),"No ads right now"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1 text-center",children:"Try again shortly"})]}):"limit"===m?(0,t.jsxs)("div",{className:"chat"===o?"":"w-full",children:[(0,t.jsxs)(d.Button,{disabled:!0,className:p,style:{backgroundColor:"#f59e0b",color:"#fff",opacity:1},children:[(0,t.jsx)(n,{className:"w-4 h-4 mr-2"}),"Daily limit reached"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1 text-center",children:"Come back tomorrow for more credits"})]}):"success"===m?(0,t.jsx)("div",{className:"chat"===o?"":"w-full",children:(0,t.jsxs)(d.Button,{disabled:!0,className:p,style:{backgroundColor:"#22c55e",color:"#fff",opacity:1},children:[(0,t.jsx)(i.Check,{className:"w-4 h-4 mr-2"}),"+5 Credits!"]})}):(0,t.jsxs)("div",{className:"chat"===o?"":"w-full",children:[(0,t.jsx)(d.Button,{onClick:j,disabled:"loading"===m,className:p,style:{backgroundColor:"#2563eb",color:"#fff"},children:"loading"===m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Loader2,{className:"w-4 h-4 mr-2 animate-spin"}),"Loading..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Play,{className:"w-4 h-4 mr-2"}),"chat"===o?"Ad +5 Credits":"Watch Ad"]})}),"error"===m&&(0,t.jsx)("p",{className:"text-xs text-red-500 mt-1 text-center",children:h})]})}],290019)},83930,e=>{"use strict";var t=e.i(359578),s=e.i(246436),r=e.i(702543),a=e.i(388567),l=e.i(329478),i=e.i(308212),n=e.i(571040),d=e.i(999312),c=e.i(732803),o=e.i(919616),x=e.i(519455),m=e.i(776639),u=e.i(121373),h=e.i(375679);e.i(428111),e.s(["ReferralSection",0,function({isLoggedIn:e,referralCode:f,referralCount:g=0,referralCreditsEarned:p=0}){let[j,b]=(0,s.useState)(!1),[N,y]=(0,s.useState)(!1),w=window.location.origin,v=f?`${w}/invite/${f}`:"",k={twitter:`I'm using OpenExamPrep to study for my licensing exam - it's free! Join me and get 100 bonus AI credits ð`,linkedin:"I've been using OpenExamPrep to study for my professional licensing exam. It has AI tutoring, 1000+ practice questions, and study guides - all free! If you're preparing for SIE, Series 7, Real Estate, or Insurance exams, check it out:",whatsapp:"Hey! I found this great free exam prep site for SIE, Series 7, Real Estate & Insurance exams. It has AI tutoring and tons of practice questions. You get 100 bonus credits if you sign up with my link:",email:{subject:"Free Exam Prep Resource",body:`Hey! 2 3I've been using OpenExamPrep to study for my licensing exam and wanted to share it with you. 4 5It's completely free and has AI tutoring, practice questions, and study guides for SIE, Series 7, Real Estate & Insurance exams. 6 7Sign up with my link and you'll get 100 bonus AI credits: 8${v} 9 10Good luck with your studies!`}},C=async()=>{await navigator.clipboard.writeText(v),b(!0),setTimeout(()=>b(!1),2e3),(0,h.trackReferralShare)({share_method:"copy"})};return e?(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 z-10",children:(0,t.jsx)("div",{className:"px-4 py-1 rounded-full bg-green-500 text-white text-sm font-bold",children:"FREE"})}),(0,t.jsxs)("div",{className:"p-8 rounded-2xl bg-card border-2 border-green-500/50 shadow-lg h-full flex flex-col",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-muted-foreground mb-2",children:"Invite Friends"}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-3 mb-2",children:(0,t.jsx)("span",{className:"text-5xl font-bold text-foreground",children:"$0"})}),(0,t.jsx)("div",{className:"text-muted-foreground",children:(0,t.jsx)("span",{className:"text-green-500 font-semibold",children:"100% Free"})})]}),(0,t.jsx)("div",{className:"text-center mb-6",children:(0,t.jsxs)("div",{className:"inline-flex items-center justify-center gap-2 px-4 py-3 rounded-xl bg-secondary",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-green-500",children:"100"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"credits each"})]})}),g>0?(0,t.jsxs)("div",{className:"flex justify-center gap-6 mb-6 p-3 rounded-xl bg-green-500/10 border border-green-500/30",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-xl font-bold text-foreground",children:g}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Friends"})]}),(0,t.jsx)("div",{className:"border-l border-green-500/30"}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-xl font-bold text-green-500",children:p}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Earned"})]})]}):(0,t.jsxs)("ul",{className:"space-y-3 mb-6",children:[(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-green-500",children:"â"}),"You get 100 credits"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-green-500",children:"â"}),"Your friend gets 100 credits"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-green-500",children:"â"}),"No limit on referrals"]})]}),(0,t.jsx)("div",{className:"flex-1"}),(0,t.jsxs)(m.Dialog,{open:N,onOpenChange:y,children:[(0,t.jsx)(m.DialogTrigger,{asChild:!0,children:(0,t.jsxs)(x.Button,{className:"w-full h-12 bg-green-500 hover:bg-green-600 text-white font-semibold text-base",children:[(0,t.jsx)(i.Share2,{className:"w-5 h-5 mr-2"}),"Share Your Link"]})}),(0,t.jsxs)(m.DialogContent,{className:"sm:max-w-md",children:[(0,t.jsxs)(m.DialogHeader,{children:[(0,t.jsx)(m.DialogTitle,{className:"font-serif",children:"Share Your Invite Link"}),(0,t.jsx)(m.DialogDescription,{children:"Both you and your friend get 100 credits when they sign up!"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 p-3 rounded-lg bg-secondary border border-border",children:[(0,t.jsx)("input",{type:"text",value:v,readOnly:!0,className:"flex-1 bg-transparent text-sm text-foreground outline-none"}),(0,t.jsx)(x.Button,{variant:"ghost",size:"sm",onClick:C,className:"flex-shrink-0",children:j?(0,t.jsx)(l.Check,{className:"w-4 h-4 text-green-500"}):(0,t.jsx)(a.Copy,{className:"w-4 h-4"})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3 mt-4",children:[(0,t.jsxs)(x.Button,{variant:"outline",onClick:()=>{let e=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(v)}`;window.open(e,"_blank","width=550,height=420"),(0,h.trackReferralShare)({share_method:"linkedin"})},className:"flex items-center gap-2",children:[(0,t.jsx)(o.Linkedin,{className:"w-4 h-4 text-[#0077b5]"}),"LinkedIn"]}),(0,t.jsxs)(x.Button,{variant:"outline",onClick:()=>{let e=`https://twitter.com/intent/tweet?text=${encodeURIComponent(k.twitter)}&url=${encodeURIComponent(v)}`;window.open(e,"_blank","width=550,height=420"),(0,h.trackReferralShare)({share_method:"twitter"})},className:"flex items-center gap-2",children:[(0,t.jsx)(n.Twitter,{className:"w-4 h-4 text-[#1da1f2]"}),"Twitter"]}),(0,t.jsxs)(x.Button,{variant:"outline",onClick:()=>{let e=`https://wa.me/?text=${encodeURIComponent(k.whatsapp+"\n"+v)}`;window.open(e,"_blank"),(0,h.trackReferralShare)({share_method:"whatsapp"})},className:"flex items-center gap-2",children:[(0,t.jsx)(d.MessageCircle,{className:"w-4 h-4 text-[#25d366]"}),"WhatsApp"]}),(0,t.jsxs)(x.Button,{variant:"outline",onClick:()=>{let e=`mailto:?subject=${encodeURIComponent(k.email.subject)}&body=${encodeURIComponent(k.email.body)}`;window.location.href=e,(0,h.trackReferralShare)({share_method:"email"})},className:"flex items-center gap-2",children:[(0,t.jsx)(c.Mail,{className:"w-4 h-4 text-muted-foreground"}),"Email"]})]}),(0,t.jsxs)("div",{className:"mt-4 p-3 rounded-lg bg-secondary/50 border border-border",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Sample message:"}),(0,t.jsxs)("p",{className:"text-sm text-foreground",children:['"',k.twitter,'"']})]})]})]}),(0,t.jsx)("p",{className:"text-xs text-center text-muted-foreground mt-4",children:"Unlimited referrals, unlimited credits"})]})]}):(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 z-10",children:(0,t.jsx)("div",{className:"px-4 py-1 rounded-full bg-green-500 text-white text-sm font-bold",children:"FREE"})}),(0,t.jsxs)("div",{className:"p-8 rounded-2xl bg-card border-2 border-green-500/50 shadow-lg h-full flex flex-col",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-muted-foreground mb-2",children:"Invite Friends"}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-3 mb-2",children:(0,t.jsx)("span",{className:"text-5xl font-bold text-foreground",children:"$0"})}),(0,t.jsx)("div",{className:"text-muted-foreground",children:(0,t.jsx)("span",{className:"text-green-500 font-semibold",children:"100% Free"})})]}),(0,t.jsx)("div",{className:"text-center mb-6",children:(0,t.jsxs)("div",{className:"inline-flex items-center justify-center gap-2 px-4 py-3 rounded-xl bg-secondary",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-green-500",children:"100"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"credits each"})]})}),(0,t.jsxs)("ul",{className:"space-y-3 mb-8 flex-1",children:[(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-green-500",children:"â"}),"You get 100 credits"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-green-500",children:"â"}),"Your friend gets 100 credits"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-green-500",children:"â"}),"No limit on referrals"]}),(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-foreground",children:[(0,t.jsx)("span",{className:"text-green-500",children:"â"}),"Share via social or email"]})]}),(0,t.jsx)(u.default,{href:"/sign-in?redirect_url=/pricing",className:"w-full",children:(0,t.jsxs)(x.Button,{className:"w-full h-12 bg-green-500 hover:bg-green-600 text-white font-semibold text-base",children:[(0,t.jsx)(r.Gift,{className:"w-5 h-5 mr-2"}),"Sign In to Start"]})}),(0,t.jsx)("p",{className:"text-xs text-center text-muted-foreground mt-4",children:"Unlimited referrals, unlimited credits"})]})]})}])}]);
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.