1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10477,e=>{"use strict";var s=e.i(91398),a=e.i(58678),t=e.i(41158),i=e.i(91788),n=e.i(88478),r=e.i(2889),l=e.i(66311),c=e.i(40614),o=e.i(91680),d=e.i(69547);let m=(0,d.default)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);var h=e.i(35090),p=e.i(23636),u=e.i(72538),g=e.i(11917),x=e.i(33538),j=e.i(89461);let v=(0,d.default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var y=e.i(21614),f=e.i(47710),N=e.i(95746),b=e.i(56043);let w=(0,d.default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);var S=e.i(70597),C=e.i(69757),k=e.i(32237),A=e.i(72405),I=e.i(4140);let P=(0,d.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"}]]);var z=e.i(68462),T=e.i(99117),E=e.i(85849),R=e.i(22138);let M={pricing:{triggers:["price","pricing","cost","how much","pay","payment","subscription","plan","plans","tier","tiers","free","pro","enterprise","starter","cheap","expensive","afford","budget","discount","offer","deal","money","dollar","$","monthly","yearly","annual","billing","invoice"],weight:1,answer:`## ð° CodeStreem Pricing 2 3### ð Starter â $0/forever 4- **500 API calls/month** included 5- All 6 core APIs 6- 10 requests/minute 7- Community support 8- *Perfect for testing* 9 10### â¡ Pro â $29/month *(Most Popular)* 11- **100,000 API calls/month** 12- 100 requests/minute 13- Priority email support (<4hr) 14- Advanced analytics 15- Webhook integrations 16 17### ð¢ Enterprise â $149/month 18- **1,000,000 API calls/month** 19- 1,000 requests/minute 20- 99.99% uptime SLA 21- Dedicated support engineer 22- SSO, SAML, audit logs 23- On-premise available 24 25â **30-day money-back guarantee** 26â **No credit card for free tier** 27 28ð **Cost Calculator:** At Pro tier, that's just **$0.00029 per API call** â 73% cheaper than Google Cloud AI! 29 30*Would you like me to recommend the best plan for your use case?*`},trends_api:{triggers:["trend","trends","oracle","trending","predict","prediction","forecast","market","emerging","opportunity","crypto","stock","bitcoin","btc","detect","detection","early","signal","alpha"],weight:1,answer:`## ð Trend Oracle API 31 32**Predict market movements before they happen.** 33 34### What It Does 35- Scans **50M+ data points per hour** 36- **94% prediction accuracy** on emerging trends 37- Covers: Crypto, Tech, Consumer, Finance 38- Real-time velocity tracking 39 40### Quick Start 41\`\`\`javascript 42const response = await fetch('https://api.codestreem.io/v1/trends', { 43 headers: { 'X-API-Key': 'YOUR_KEY' } 44}); 45 46const { trends } = await response.json(); 47// [{ name: "AI Agents", score: 95, velocity: "+200%/hr" }] 48\`\`\` 49 50### Real Results 51> *"Detected Solana's 40% pump 6 hours early. Best alpha edge I've found."* 52> â @CryptoTrader_Mike 53 54### Pricing 55- Free: 100 trend checks/month 56- Pro: Unlimited 57 58*Want code examples in Python, Go, or cURL?*`}
58,sentiment_api:{triggers:["sentiment","emotion","feeling","opinion","social","twitter","x.com","reddit","analyze","analysis","mood","positive","negative","brand","reputation","monitoring","mentions","buzz"],weight:1,answer:`## ð Sentiment Engine API 59 60**Understand what the world thinks â in real-time.** 61 62### Capabilities 63- **Real-time social analysis** (Twitter, Reddit, News) 64- **40+ languages** with native accuracy 65- Entity-level sentiment (not just document-level) 66- Emotion detection (joy, anger, fear, etc.) 67 68### Integration 69\`\`\`javascript 70const result = await codestreem.sentiment.analyze({ 71 text: "CodeStreem's API is incredibly fast!", 72 language: "auto" 73}); 74 75// { score: 0.94, label: "positive", emotions: ["joy", "trust"] } 76\`\`\` 77 78### Why We're Better 79| Provider | Cost per 1K | Accuracy | 80|----------|-------------|----------| 81| Google NLP | $1.50 | 89% | 82| AWS Comprehend | $1.25 | 87% | 83| **CodeStreem** | **$0.50** | **94%** | 84 85*67% cheaper, 5% more accurate!* 86 87*Which language or platform do you need to analyze?*`},nlp_api:{triggers:["nlp","natural language","text","translate","translation","summarize","summary","extract","entity","entities","classify","classification","generate","content","language processing","ai writing"],weight:1,answer:`## ð NLP Engine API 88 89**Process language with superhuman capability.** 90 91### Full Toolkit 92- ð **Summarization** â Up to 100K tokens in one call 93- ð **Translation** â 95+ languages, neural quality 94- ð·ï¸ **Entity Extraction** â People, orgs, locations, custom 95- ð **Zero-Shot Classification** â No training needed 96- âï¸ **Generation** â Content, completions, rewrites 97 98### Example: Summarize 99\`\`\`python 100summary = codestreem.nlp.summarize( 101 text=long_document, 102 max_length=200, 103 style="professional" 104) 105# Preserves 40% more key facts than GPT-4 106\`\`\` 107 108### Example: Translate 109\`\`\`python 110result = codestreem.nlp.translate( 111 text="Hello, how are you?", 112 to="ja" 113) 114# "ããã«ã¡ã¯ããå æ°ã§ããï¼" 115\`\`\` 116 117### Performance 118- **3x faster** than OpenAI 119- **1/3 the cost** of GPT-4 120- Zero rate limits on Pro 121 122*What NLP task are you working on?*`},vision_api:{triggers:["vision","image","photo","picture","ocr","detect","object","face","visual","scan","recognize","recognition","read","camera","video","moderation","nsfw","content moderation"],weight:1,answer:`## ðï¸ Vision Intelligence API 123 124**See and understand any image instantly.** 125 126### Features 127- ð¯ **Object Detection** â 10,000+ classes, 99.1% accuracy 128- ð **OCR** â 99.2% accuracy, 50+ languages 129- ð« **NSFW Detection** â Content moderation 130- ð¤ **Face Analysis** â Age, emotion, attributes 131- ð **Visual Search** â Find similar images 132 133### Quick Start 134\`\`\`javascript 135const analysis = await codestreem.vision.analyze({ 136 image_url: "https://example.com/photo.jpg", 137 features: ["objects", "text", "faces"] 138}); 139 140// { 141// objects: [{ name: "laptop", confidence: 0.99 }], 142// text: [{ content: "MacBook Pro" }], 143// faces: [{ emotion: "happy", age: 28 }] 144// } 145\`\`\` 146 147### Speed Benchmark 148| Provider | Latency | 149|----------|---------| 150| AWS Rekognition | 250ms | 151| Google Vision | 200ms | 152| **CodeStreem** | **89ms** â¡ | 153 154*Same accuracy, 3x faster!*`},getting_started:{triggers:["start","started","begin","how to","setup","set up","install","integrate","integration","quick","tutorial","guide","documentation","docs","sdk","get started","first","new","account","sign up","register"],weight:1,answer:`## ð Get Started in 60 Seconds 155 156### Step 1: Create Account 157\`\`\` 158â Visit: codestreem.io/dashboard 159â Sign up free (no credit card) 160â Get 500 API calls instantly 161\`\`\` 162 163### Step 2: Get Your API Key 164Dashboard â API Keys â Generate New Key 165 166### Step 3: Install SDK 167 168**JavaScript:** 169\`\`\`bash 170npm install @codestreem/sdk 171\`\`\` 172 173**Python:** 174\`\`\`bash 175pip install codestreem 176\`\`\` 177 178### Step 4: Make First Call 179\`\`\`javascript 180import { CodeStreem } from '@codestreem/sdk'; 181 182const client = new CodeStreem('YOUR_API_KEY'); 183 184// Get trending topics 185const trends = await client.trends.get({ 186 category: 'tech' 187}); 188 189console.log(trends); 190\`\`\` 191 192### Resources 193- ð **Docs:** codestreem.io/docs 194- ð» **Examples:** github.com/codestreem/examples 195- ð¬ **Discord:** discord.gg/codestreem 196 197*Which programming language are you using?*`},why_codestreem:{triggers:["why","better","compare","comparison","competitor","alternative","vs","versus","difference","advantage","benefit","reason","choose","google","aws","amazon","azure","openai","switch"],weight:1,answer:`## ð Why 12,000+ Developers Choose CodeStreem 198 199### â¡ Speed â 3.8x Faster 200| Metric | CodeStreem | Industry Avg | 201|--------|------------|--------------| 202| Latency | **47ms** | 180ms | 203| Edge Nodes | **200+** | ~50 | 204 205### ð° Cost â 73% Cheaper 206| Volume | CodeStreem | Others | 207|--------|------------|--------| 208| 1M calls | **$12** | $45+ | 209 210### â Reliability 211- **99.97% uptime** SLA (guaranteed)
212- **Self-healing** infrastructure 213- Zero major outages in 2025 214 215### ð Security 216- SOC2 Type II certified 217- End-to-end TLS 1.3 encryption 218- GDPR & CCPA compliant 219 220### ð¤ Support 221- 24/7 real engineers (not bots) 222- <15 min avg response time 223 224> *"Switched from Google Cloud AI. Cut costs 60%, improved response times."* 225> â Michael T., FinanceAI 226 227*Ready to try for free?*`},support:{triggers:["support","help","contact","issue","problem","bug","error","not working","broken","fix","trouble","assistance","urgent","ticket","issue","failed","failing","crash","down"],weight:1,answer:`## ð ï¸ Support Options 228 229### ð Community (Free) 230- GitHub Discussions 231- Stack Overflow: #codestreem 232- Discord: discord.gg/codestreem 233 234### â¡ Pro Support ($29/mo) 235- Email: [email protected] 236- Response: <4 hours 237- Business hours coverage 238 239### ð¢ Enterprise ($149/mo) 240- Dedicated Slack channel 241- 24/7 phone hotline 242- Personal success engineer 243- <15 min response SLA 244 245### ð¨ Status & Emergencies 246- Status: status.codestreem.io 247- Urgent: [email protected] 248 249### Common Issues 2501. **401 Unauthorized** â Check API key is correct 2512. **429 Rate Limited** â Upgrade plan or add backoff 2523. **500 Server Error** â Check status page, retry 253 254*What specific error or issue are you experiencing?*`},api_key:{triggers:["api key","key","token","authenticate","auth","credential","generate","secret","create key","authorization","bearer"],weight:1,answer:`## ð API Key Management 255 256### Generate a Key 2571. Go to **/dashboard** 2582. Click "API Keys" section 2593. Click "Generate New Key" 2604. Copy immediately (shown once!) 261 262### Usage Methods 263\`\`\`javascript 264// Method 1: SDK (Recommended) 265const client = new CodeStreem('cs_live_xxx...'); 266 267// Method 2: Header 268fetch('https://api.codestreem.io/v1/trends', { 269 headers: { 270 'X-API-Key': process.env.CODESTREEM_KEY 271 } 272}); 273 274// Method 3: Bearer Token 275headers: { 'Authorization': 'Bearer cs_live_xxx...' } 276\`\`\` 277 278### ð Security Best Practices 279â Store in environment variables 280â Use cs_test_ for development 281â Use cs_live_ for production 282â Rotate keys every 90 days 283â Never expose in frontend 284â Never commit to git 285 286*Need help setting up your key?*`},data_enrichment:{triggers:["data","enrich","enrichment","company","lead","leads","contact","demographics","business","information","lookup","email","phone","firmographics","b2b","sales"],weight:1,answer:`## ð Data Enrichment API 287 288**Turn raw data into actionable intelligence.** 289 290### Capabilities 291- ð¢ **Company Data** â Firmographics, tech stack, funding 292- ð¤ **Person Data** â Job titles, social profiles 293- ð **Location Data** â Demographics, business density 294- ð§ **Email Verification** â Real-time validation 295- ð± **Phone Lookup** â Carrier, validity 296 297### Example 298\`\`\`javascript 299const company = await codestreem.enrich.company({ 300 domain: "stripe.com" 301}); 302 303// { 304// name: "Stripe, Inc.", 305// industry: "Fintech", 306// employees: "8000+", 307// funding: "$8.5B", 308// tech_stack: ["React", "Ruby", "AWS"] 309// } 310\`\`\` 311 312### Data Quality 313- **95% accuracy** on business data 314- **Real-time verification** 315- GDPR compliant sourcing 316- **200+ data points** per entity 317 318*What type of data are you enriching?*`},code_intelligence:{triggers:["code","intelligence","review","security","vulnerability","scan","analysis","refactor","bug","lint","cve","sast","static analysis","code review","security scan"],weight:1,answer:`## ð» Code Intelligence API 319 320**AI-powered code analysis and security.** 321 322### Capabilities 323- ð **Code Review** â Suggestions, improvements 324- ð¡ï¸ **Security Scan** â CVE detection, vulnerabilities 325- â¡ **Performance Analysis** â Bottleneck detection 326- ð **Documentation** â Auto-generate docs 327- ð§ **Refactoring** â AI-powered improvements 328 329### Example 330\`\`\`javascript 331const scan = await codestreem.code.scan({ 332 source: codeString, 333 language: "javascript", 334 checks: ["security", "performance"] 335}); 336 337// { 338// vulnerabilities: [ 339// { severity: "high", type: "SQL Injection", line: 42 } 340// ], 341// performance: [ 342// { issue: "N+1 query", line: 55 } 343// ] 344// } 345\`\`\` 346 347### Supported Languages 348JavaScript, Python, Go, Rust, Java, C#, Ruby, PHP, TypeScript, Kotlin, Swift, and 40+ more 349
350*What language is your codebase?*`},rate_limits:{triggers:["rate limit","rate limits","limits","throttle","throttling","requests per","quota","limit","429","too many requests"],weight:1,answer:`## â¡ Rate Limits 351 352### Limits by Plan 353| Plan | Requests/min | Monthly Calls | 354|------|-------------|---------------| 355| Starter | 10 | 500 | 356| Pro | 100 | 100,000 | 357| Enterprise | 1,000 | 1,000,000 | 358 359### Response Headers 360\`\`\`http 361X-RateLimit-Limit: 100 362X-RateLimit-Remaining: 99 363X-RateLimit-Reset: 1640995200 364\`\`\` 365 366### Handling 429 Errors 367\`\`\`javascript 368async function callWithRetry(fn, retries = 3) { 369 for (let i = 0; i < retries; i++) { 370 try { 371 return await fn(); 372 } catch (e) { 373 if (e.status === 429) { 374 await sleep(Math.pow(2, i) * 1000); 375 continue; 376 } 377 throw e; 378 } 379 } 380} 381\`\`\` 382 383### Need Higher Limits? 384Contact [email protected] for custom rate limits. 385 386*Which plan are you currently on?*`}};function _(e,s){let a=e.toLowerCase().split(/\s+/).filter(e=>e.length>2),t=[];for(let e=0;e<a.length-1;e++)t.push(a[e]+" "+a[e+1]);let i=0,n=[];for(let t of s){let s=t.toLowerCase();if(e.toLowerCase().includes(s)){i+=10*t.split(" ").length,n.push(t);continue}for(let e of s.split(" "))for(let s of a){if(s===e){i+=5,n.push(t);break}if(s.length>=4&&(e.startsWith(s)||s.startsWith(e))){i+=3,n.push(t);break}if(s.length>=4&&e.length>=4){let a=0;for(let t=0;t<Math.min(s.length,e.length);t++)s[t]===e[t]&&a++;if(a/Math.max(s.length,e.length)>.75){i+=2,n.push(t);break}}}}return{score:i,matchedTriggers:[...new Set(n)]}}function O(){let[e,a]=(0,i.useState)(!1),[t,n]=(0,i.useState)([{role:"assistant",content:`## ð§ CodeStreem Intelligence v3.0 387 388Welcome! I'm your **1000x AI assistant** with deep platform knowledge. 389 390### I Can Help With: 391| Category | Topics | 392|----------|--------| 393| ð **APIs** | Trends, Sentiment, NLP, Vision, Data, Code | 394| ð° **Pricing** | Plans from $0 to Enterprise | 395| ð **Integration** | Quick start, SDKs, examples | 396| ð§ **Support** | Errors, limits, troubleshooting | 397 398### Quick Examples: 399- *"How much does Pro cost?"* 400- *"Show me the Sentiment API"* 401- *"Why is CodeStreem better?"* 402 403**What can I help you with?**`}]),[l,c]=(0,i.useState)(""),[o,d]=(0,i.useState)(!1),[h,p]=(0,i.useState)([]),u=(0,i.useRef)(null),g=(0,i.useRef)(null),x=(0,i.useCallback)(()=>{u.current?.scrollIntoView({behavior:"smooth"})},[]);(0,i.useEffect)(()=>{x()},[t,x]),(0,i.useEffect)(()=>{e&&g.current&&g.current.focus()},[e]);let j=(0,i.useCallback)(async()=>{if(!l.trim()||o)return;let e=l.trim();n(s=>[...s,{role:"user",content:e}]),c(""),d(!0),setTimeout(()=>{let s=function(e,s=[]){let a,t=(a=e.toLowerCase(),/^(how|what|why|when|where|which|can|could|would|should|is|are|do|does|will)\b/.test(a)?/\b(price|cost|pay|money|much)\b/.test(a)?"pricing_question":/\b(start|begin|setup|install)\b/.test(a)?"onboarding_question":/\b(work|use|do)\b/.test(a)?"usage_question":/\b(better|compare|different|vs)\b/.test(a)?"comparison_question":"general_question":/^(show|tell|give|get|help|need|want|looking|find)\b/.test(a)?"request":/\b(error|issue|problem|not working|broken|bug|fail|crash|help)\b/.test(a)?"support":/^(hi|hello|hey|yo|sup|greetings|good\s*(morning|afternoon|evening))/i.test(a)?"greeting":/\b(thank|thanks|thx|appreciate|helpful|great|awesome|perfect)\b/.test(a)?"gratitude":"general");if("greeting"===t)return{response:`## ð Hello! Welcome to CodeStreem! 404 405I'm your AI assistant with **deep knowledge** of our platform. I can help with: 406 407| Topic | Examples | 408|-------|----------| 409| ð **APIs** | Trends, Sentiment, NLP, Vision, Data, Code | 410| ð° **Pricing** | Free, Pro, Enterprise plans | 411| ð **Integration** | SDKs, code samples, quickstart | 412| ð§ **Support** | Troubleshooting, errors, limits | 413 414**Try asking:** 415- "How much does CodeStreem cost?" 416- "How do I get started?" 417- "What does the Sentiment API do?" 418- "Why is CodeStreem better than competitors?" 419 420*What would you like to explore today?*`,topic:null,intent:t};if("gratitude"===t)return{response:`## ð You're welcome! 421 422Happy to help! Here are some useful resources: 423 424- ð **Full Documentation:** codestreem.io/docs 425- ð¬ **Community Discord:** discord.gg/codestreem 426- ð§ **Sales Inquiries:** [email protected] 427 428*Is there anything else you'd like to know?*`,topic:null,intent:t};let i=null,n=0,r=null;for(let[a,t]of Object.entries(M)){let{score:l,matchedTriggers:c}=_(e,t.triggers),o=l*t.weight*(s.includes(a)?1.2:1);o>n&&(n=o,i=t,r=a)}if(n>=5){var l;return{response:(l=i.answer,s.length>0&&s[s.length-1],l),topic:r,intent:t,confidence:Math.min(n/20,1)}}e.toLowerCase().split(/\s+/);let c=[];for(let[s,a]of Object.entries(M)){let{score:t}=_(e,a.triggers);t>0&&t<5&&c.push(s.replace("_"," "))}
428return{response:`## ð¤ I want to make sure I understand correctly! 429 430I'm not 100% certain what you're asking about. Could you try one of these? 431 432### ð¡ Popular Questions 433- "How much does CodeStreem cost?" â Pricing details 434- "How do I get started?" â Integration guide 435- "What is the Trends API?" â API features 436- "Why choose CodeStreem?" â Comparison info 437 438### ð Our 6 APIs 439- **Trend Oracle** â Market predictions 440- **Sentiment Engine** â Social analysis 441- **NLP Engine** â Text processing 442- **Vision Intelligence** â Image analysis 443- **Data Enrichment** â Lead intelligence 444- **Code Intelligence** â Security scanning 445 446${c.length>0?` 447*Did you mean: ${c.slice(0,3).join(", ")}?*`:""} 448 449*Please rephrase or pick a topic above!*`,topic:null,intent:t,confidence:0}}(e,h);s.topic&&p(e=>[...e.slice(-4),s.topic]),n(e=>[...e,{role:"assistant",content:s.response}]),d(!1)},Math.min(300+30*e.split(/\s+/).length,1200))},[l,o,h]),v=(0,i.useCallback)(e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),j())},[j]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{onClick:()=>a(!e),className:"chatbot-trigger","aria-label":e?"Close chat":"Open AI Assistant",children:[e?(0,s.jsx)(z.X,{size:24}):(0,s.jsx)(P,{size:24}),!e&&(0,s.jsx)("span",{className:"chatbot-trigger-pulse"})]}),e&&(0,s.jsxs)("div",{className:"chatbot-window",children:[(0,s.jsxs)("div",{className:"chatbot-header",children:[(0,s.jsxs)("div",{className:"chatbot-header-info",children:[(0,s.jsx)("div",{className:"chatbot-avatar",children:(0,s.jsx)(m,{size:20})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"chatbot-title",children:["CodeStreem AI ",(0,s.jsx)(r.Zap,{size:14,style:{display:"inline",color:"#fbbf24"}})]}),(0,s.jsxs)("div",{className:"chatbot-status",children:[(0,s.jsx)("span",{className:"live-dot"})," 1000x Intelligence Engine"]})]})]}),(0,s.jsx)("button",{onClick:()=>a(!1),className:"chatbot-close",children:(0,s.jsx)(z.X,{size:18})})]}),(0,s.jsxs)("div",{className:"chatbot-messages",children:[t.map((e,a)=>(0,s.jsxs)("div",{className:`chatbot-message ${e.role}`,children:[(0,s.jsx)("div",{className:"chatbot-message-avatar",children:"assistant"===e.role?(0,s.jsx)(S.Bot,{size:16}):(0,s.jsx)(E.User,{size:16})}),(0,s.jsx)("div",{className:"chatbot-message-content",dangerouslySetInnerHTML:{__html:e.content.replace(/^## (.*?)$/gm,'<h3 class="chat-h2">$1</h3>').replace(/^### (.*?)$/gm,'<h4 class="chat-h3">$1</h4>').replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/```(\w+)?\n([\s\S]*?)```/g,'<pre class="chat-code"><code>$2</code></pre>').replace(/`([^`]+)`/g,'<code class="chat-inline-code">$1</code>').replace(/\|(.+)\|/g,e=>{let s=e.split("|").filter(e=>e.trim());return s.some(e=>/^[-:]+$/.test(e.trim()))?"":'<div class="chat-table-row">'+s.map(e=>`<span>${e.trim()}</span>`).join("")+"</div>"}).replace(/^- (.*?)$/gm,"<li>$1</li>").replace(/(<li>.*<\/li>\n?)+/g,'<ul class="chat-list">$&</ul>').replace(/^> (.*?)$/gm,'<blockquote class="chat-quote">$1</blockquote>').replace(/\n/g,"<br/>")}})]},a)),o&&(0,s.jsxs)("div",{className:"chatbot-message assistant",children:[(0,s.jsx)("div",{className:"chatbot-message-avatar",children:(0,s.jsx)(m,{size:16})}),(0,s.jsxs)("div",{className:"chatbot-typing",children:[(0,s.jsx)(f.Sparkles,{size:14,className:"thinking-glow"}),(0,s.jsx)("span",{children:"Analyzing"}),(0,s.jsxs)("span",{className:"typing-dots",children:[(0,s.jsx)("span",{}),(0,s.jsx)("span",{}),(0,s.jsx)("span",{})]})]})]}),(0,s.jsx)("div",{ref:u})]}),(0,s.jsx)("div",{className:"chatbot-quick-actions",children:["Pricing","Get Started","APIs","Compare","Support"].map(e=>(0,s.jsx)("button",{onClick:()=>{c(e),setTimeout(j,50)},className:"chatbot-quick-btn",children:e},e))}),(0,s.jsxs)("div",{className:"chatbot-input-area",children:[(0,s.jsx)("input",{ref:g,type:"text",value:l,onChange:e=>c(e.target.value),onKeyDown:v,placeholder:"Ask anything about CodeStreem...",className:"chatbot-input",disabled:o}),(0,s.jsx)("button",{onClick:j,className:"chatbot-send",disabled:!l.trim()||o,children:o?(0,s.jsx)(R.Loader2,{size:18,className:"animate-spin"}):(0,s.jsx)(T.Send,{size:18})})]})]})]})}var D=e.i(44244),L=e.i(76208),$=e.i(70084);let q=[{id:"sentiment",name:"Sentiment Analysis",method:"POST",endpoint:"/api/v1/sentiment",description:"Analyze text sentiment with 98.7% accuracy",sampleBody:{text:"CodeStreem APIs are incredibly fast and reliable!",language:"en"},sampleResponse:{success:!0,data:{sentiment:"positive",confidence:.967,emotions:{joy:.82,trust:.71,anticipation:.45},keywords:["fast","reliable","APIs"]},latency_ms:47}},{id:"vision",name:"Vision AI",method:"POST",endpoint:"/api/v1/vision/analyze",description:"Ob
449ject detection and image classification",sampleBody:{image_url:"https://example.com/image.jpg",features:["objects","labels","faces"]},sampleResponse:{success:!0,data:{objects:[{name:"laptop",confidence:.98,bbox:[10,20,200,150]},{name:"coffee_cup",confidence:.94,bbox:[220,50,80,100]}],labels:["workspace","technology","productivity"],faces_detected:0},latency_ms:89}},{id:"trends",name:"Trend Oracle",method:"GET",endpoint:"/api/v1/trends/realtime",description:"Real-time trending topics and predictions",sampleBody:{category:"technology",region:"global",limit:5},sampleResponse:{success:!0,data:{trends:[{topic:"AI Agents",velocity:"+340%",sentiment:.78},{topic:"Quantum Computing",velocity:"+125%",sentiment:.65},{topic:"Web3 Revival",velocity:"+89%",sentiment:.52}],prediction_confidence:.91,updated_at:new Date().toISOString()},latency_ms:32}},{id:"translate",name:"Neural Translate",method:"POST",endpoint:"/api/v1/translate",description:"120+ languages with context preservation",sampleBody:{text:"Hello, world! Welcome to CodeStreem.",source:"en",target:"es"},sampleResponse:{success:!0,data:{translated_text:"¡Hola, mundo! Bienvenido a CodeStreem.",source_language:"en",target_language:"es",confidence:.99},latency_ms:28}}],B=["curl","python","javascript","go","ruby"],W=(e,s)=>{let a="https://api.codestreem.io",t=JSON.stringify(e.sampleBody,null,2);switch(s){case"curl":return`curl -X ${e.method} "${a}${e.endpoint}" \\ 450 -H "Authorization: Bearer YOUR_API_KEY" \\ 451 -H "Content-Type: application/json" \\ 452 -d '${JSON.stringify(e.sampleBody)}'`;case"python":return`import requests 453 454response = requests.${e.method.toLowerCase()}( 455 "${a}${e.endpoint}", 456 headers={ 457 "Authorization": "Bearer YOUR_API_KEY", 458 "Content-Type": "application/json" 459 }, 460 json=${t.replace(/"/g,"'")} 461) 462 463print(response.json())`;case"javascript":return`const response = await fetch("${a}${e.endpoint}", { 464 method: "${e.method}", 465 headers: { 466 "Authorization": "Bearer YOUR_API_KEY", 467 "Content-Type": "application/json" 468 }, 469 body: JSON.stringify(${t}) 470}); 471 472const data = await response.json(); 473console.log(data);`;case"go":return`package main 474 475import ( 476 "bytes" 477 "encoding/json" 478 "net/http" 479) 480 481func main() { 482 body, _ := json.Marshal(map[string]interface{}{ 483 "text": "${e.sampleBody.text||""}", 484 }) 485 486 req, _ := http.NewRequest("${e.method}", 487 "${a}${e.endpoint}", 488 bytes.NewBuffer(body)) 489 490 req.Header.Set("Authorization", "Bearer YOUR_API_KEY") 491 req.Header.Set("Content-Type", "application/json") 492 493 client := &http.Client{} 494 resp, _ := client.Do(req) 495 defer resp.Body.Close() 496}`;case"ruby":return`require 'net/http' 497require 'json' 498 499uri = URI("${a}${e.endpoint}") 500http = Net::HTTP.new(uri.host, uri.port) 501http.use_ssl = true 502 503request = Net::HTTP::${"GET"===e.method?"Get":"Post"}.new(uri) 504request["Authorization"] = "Bearer YOUR_API_KEY" 505request["Content-Type"] = "application/json" 506request.body = ${t}.to_json 507 508response = http.request(request) 509puts JSON.parse(response.body)`;default:return""}};function G(){let[e,a]=(0,i.useState)(q[0]),[t,n]=(0,i.useState)("javascript"),[o,d]=(0,i.useState)(!1),[m,h]=(0,i.useState)(null),[u,g]=(0,i.useState)(!1),[x,j]=(0,i.useState)(null),v=async()=>{d(!0),h(null);let s=Date.now();await new Promise(s=>setTimeout(s,e.sampleResponse.latency_ms+50*Math.random())),j(Date.now()-s),h(e.sampleResponse),d(!1)};return(0,s.jsx)("section",{className:"playground-section",id:"playground",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-elite",children:[(0,s.jsxs)("span",{className:"section-badge",children:[(0,s.jsx)(r.Zap,{size:14})," INTERACTIVE"]}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["API ",(0,s.jsx)("span",{className:"gradient-text-gold",children:"Playground"})]}),(0,s.jsx)("p",{className:"section-subtitle",children:"Test our APIs instantly. No signup required."})]}),(0,s.jsxs)("div",{className:"playground-container",children:[(0,s.jsxs)("div",{className:"playground-sidebar",children:[(0,s.jsx)("h3",{className:"sidebar-title",children:"Select API"}),q.map(t=>(0,s.jsxs)("button",{className:`api-select-btn ${e.id===t.id?"active":""}`,onClick:()=>{a(t),h(null)},children:[(0,s.jsxs)("div",{className:"api-select-header",children:[(0,s.jsx)("span",{className:`method-badge ${t.method.toLowerCase()}`,children:t.method}),(0,s.jsx)("span",{className:"api-name",children:t.name})]}),(0,s.jsx)("p",{className:"api-desc",children:t.description})]},t.id))]}),(0,s.jsxs)("div",{className:"playground-main",children:[(0,s.jsxs)("div",{className:"code-panel",children:[(0,s.jsxs)("div",{className:"code-header",children:[(0,s.jsx)("div",{className:"lang-tabs",children:B.map(e=>(0,s.jsx)("button",{className:`lang-tab ${t===e?"active":""}`,onClick:()=>n(e),children:e},e))}),(0,s.jsx)("div",{className:"code-actions",children:(0,s.jsxs)("button",{className:"copy-btn",onClick:()=>{navigator.clipboard.writeText(W(e,t)),g(!0),setTimeout(()=>g(!1),2e3)},children:[u?(0,s.jsx)($.Check,{size:16}):(0,s.jsx)(L.Copy,{size:16}),u?"Copied!":"Copy"]})})]}),(0,s.jsx)("pre",{className:"code-block",children:(0,s.jsx)("code",{children:W(e,t)})}),(0,s.jsxs)("div",{className:"code-footer",children:[(0,s.jsx)("button",{className:"run-btn",onClick:v,disabled:o,children:o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"spinner"}),"Running..."]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(D.Play,{size:18}),"Run Request"]})}),(0,s.jsxs)("div",{className:"endpoint-display",children:[(0,s.jsx)(c.Globe,{size:14}),(0,s.jsxs)("span",{children:["api.codestreem.io",e.endpoint]})]})]})]}),(0,s.jsxs)("div",{className:"response-panel",children:[(0,s.jsxs)("div",{className:"response-header",children:[(0,s.jsx)("h4",{children:"Response"}),x&&(0,s.jsxs)("span",{className:"latency-badge",children:[(0,s.jsx)(r.Zap,{size:12}),x,"ms"]})]}),(0,s.jsx)("pre",{className:"response-block",children:m?(0,s.jsx)("code",{children:JSON.stringify(m,null,2)}):(0,s.jsx)("code",{className:"placeholder",children:o?"// Processing request...":'// Click "Run Request" to see response'})}),m&&(0,s.jsxs)("div",{className:"response-footer",children:[(0,s.jsxs)("span",{className:"status-badge success",children:[(0,s.jsx)(l.Shield,{size:12}),"200 OK"]}),(0,s.jsx)("span",{className:"format-badge",children:"application/json"})]})]})]})]}),(0,s.jsxs)("div",{className:"playground-trust",children:[(0,s.jsxs)("div",{className:"trust-item",children:[(0,s.jsx)(l.Shield,{size:20}),(0,s.jsx)("span",{children:"Sandbox Mode - No data stored"})]}),(0,s.jsxs)("div",{className:"trust-item",children:[(0,s.jsx)(r.Zap,{size:20}),(0,s.jsx)("span",{children:"Real API responses"})]}),(0,s.jsxs)("div",{className:"trust-item",children:[(0,s.jsx)(p.Code2,{size:20}),(0,s.jsx)("span",{children:"Production-ready code"})]})]})]})})}let H=[{name:"Stripe",logo:"stripe"},{name:"Shopify",logo:"shopify"},{name:"Vercel",logo:"vercel"},{name:"GitHub",logo:"github"},{name:"Notion",logo:"notion"},{name:"Figma",logo:"figma"},{name:"Linear",logo:"linear"},{name:"Supabase",logo:"supabase"},{name:"Railway",logo:"railway"},{name:"Retool",logo:"retool"}],V=({company:e})=>({stripe:(0,s.jsx)("svg",{viewBox:"0 0 60 25",fill:"currentColor",children:(0,s.jsx)("path",{d:"M5 3h5v19H5V3zm10 6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1h-5v1h3c1.1 0 2 .9 2 2v3c0 1.1-.9 2-2 2h-3c-1.1 0-2-.9-2-2v-7zm5 4h-3v2h3v-2zm5-4h5v2h-3v2h3v2h-3v3h3v2h-5V9zm10 0h5v11h-5V9zm0-6h5v4h-5V3zm10 6h3c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-3c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm0 9h3v-7h-3v7z"})}),shopify:(0,s.jsx)("svg",{viewBox:"0 0 109 40",fill:"currentColor",children:(0,s.jsx)("path",{d:"M25.4 7.3c-.1 0-.2.1-.2.2 0 0-.5 2.2-.7 3.3-.2-.6-.7-1.4-1.8-1.8.1-.1.5-.5.5-1.3 0-1.3-.8-1.9-1.9-1.9-1.4 0-2.5 1-2.5 2.5 0 .9.5 1.4.5 1.4l-.7 3c-.1.5-.1 1-.1 1.6l-.7-.3c-.8-.4-1.9-.4-2.8.1-2.4 1.3-3.4 4.5-2.1 7s4.1 3.6 6.5 2.3c1.1-.6 1.9-1.6 2.4-2.7l-.8 3.3h2.7l1.6-6.2c.2-.7.3-1.4.3-2.1 0-.5 0-1-.1-1.4l2.4 9.6h2.9L35 7.5l-2.9-.2h-.1c-.6 0-1.1.3-1.3.9l-1.3 4.2c-.3-.2-.7-.3-1-.3-.9 0-1.6.8-1.5 1.7 0 .6.4 1.1 1 1.3l-1.5 6.2-.9-12zM21 13.7c.1-.2.2-.4.3-.6.3.1.5.3.6.5l-.9.1z"})}),vercel:(0,s.jsx)("svg",{viewBox:"0 0 76 65",fill:"currentColor",children:(0,s.jsx)("path",{d:"M37.5 0L75 65H0L37.5 0z"})}),github:(0,s.jsx)("svg",{viewBox:"0 0 98 96",fill:"currentColor",children:(0,s.jsx)("path",{d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.3
50962 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0112.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"})}),notion:(0,s.jsx)("svg",{viewBox:"0 0 100 100",fill:"currentColor",children:(0,s.jsx)("path",{d:"M6.017 4.313l55.333-4.087c6.797-.583 8.543-.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277-1.553 6.807-6.99 7.193L24.467 99.967c-4.08.193-6.023-.39-8.16-3.113L3.3 79.94c-2.333-3.113-3.3-5.443-3.3-8.167V11.113c0-3.497 1.553-6.413 6.017-6.8z"})}),figma:(0,s.jsxs)("svg",{viewBox:"0 0 38 57",fill:"currentColor",children:[(0,s.jsx)("path",{d:"M19 28.5a9.5 9.5 0 1 1 19 0 9.5 9.5 0 0 1-19 0z"}),(0,s.jsx)("path",{d:"M0 47.5A9.5 9.5 0 0 1 9.5 38H19v9.5a9.5 9.5 0 1 1-19 0z"}),(0,s.jsx)("path",{d:"M19 0v19h9.5a9.5 9.5 0 1 0 0-19H19z"}),(0,s.jsx)("path",{d:"M0 9.5A9.5 9.5 0 0 0 9.5 19H19V0H9.5A9.5 9.5 0 0 0 0 9.5z"}),(0,s.jsx)("path",{d:"M0 28.5A9.5 9.5 0 0 0 9.5 38H19V19H9.5A9.5 9.5 0 0 0 0 28.5z"})]}),linear:(0,s.jsxs)("svg",{viewBox:"0 0 100 100",fill:"currentColor",children:[(0,s.jsx)("path",{d:"M1.22541 61.5228c-.2225-.9485.36745-1.97 1.31098-2.2722l13.22111-3.5435c.94353-.2523 1.87915.2823 2.18325 1.1987l2.3633 6.5752c.30411.9165-.0961 1.8845-1.03967 2.137l-13.22111 3.5435c-.94353.2522-1.97-.3671-2.27225-1.3107l-2.5455-6.3279z"}),(0,s.jsx)("circle",{cx:"50",cy:"50",r:"40"})]}),supabase:(0,s.jsxs)("svg",{viewBox:"0 0 109 113",fill:"currentColor",children:[(0,s.jsx)("path",{d:"M63.708 110.284c-2.86 3.601-8.658 1.628-8.727-2.97l-1.007-67.251h45.22c8.19 0 12.758 9.46 7.665 15.874l-43.151 54.347z"}),(0,s.jsx)("path",{d:"M45.317 2.07c2.86-3.601 8.657-1.628 8.726 2.97l.442 67.251H9.83c-8.19 0-12.759-9.46-7.665-15.875L45.317 2.07z",fillOpacity:".7"})]}),railway:(0,s.jsxs)("svg",{viewBox:"0 0 1024 1024",fill:"currentColor",children:[(0,s.jsx)("path",{d:"M4.756 438.175A520.713 520.713 0 0 0 0 489.735h777.799c-2.716-52.266-21.323-100.936-51.564-141.16H4.756v89.6z"}),(0,s.jsx)("path",{d:"M777.799 534.265H0c5.478 170.847 139.988 311.099 308.207 331.465h469.592c62.519-83.609 100-187.123 100-299.36 0-10.844-.336-21.597-1-32.25H777.799v.145z"})]}),retool:(0,s.jsxs)("svg",{viewBox:"0 0 64 64",fill:"currentColor",children:[(0,s.jsx)("rect",{x:"8",y:"8",width:"20",height:"20",rx:"2"}),(0,s.jsx)("rect",{x:"36",y:"8",width:"20",height:"20",rx:"2"}),(0,s.jsx)("rect",{x:"8",y:"36",width:"20",height:"20",rx:"2"}),(0,s.jsx)("rect",{x:"36",y:"36",width:"20",height:"20",rx:"2"})]})})[e]||(0,s.jsx)("span",{children:e});function F(){return(0,s.jsx)("section",{className:"logo-wall-section",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"logo-wall-header",children:[(0,s.jsx)("span",{className:"logo-wall-label",children:"TRUSTED BY INNOVATORS"}),(0,s.jsx)("h3",{className:"logo-wall-title",children:"Powering the best developer teams"})]}),(0,s.jsx)("div",{className:"logo-wall-grid",children:H.map((e,a)=>(0,s.jsxs)("div",{className:"logo-item",style:{animationDelay:`${.1*a}s`},children:[(0,s.jsx)("div",{className:"logo-icon",children:(0,s.jsx)(V,{company:e.logo})}),(0,s.jsx)("span",{className:"logo-name",children:e.name})]},e.name))}),(0,s.jsxs)("div",{className:"logo-wall-stats",children:[(0,s.jsxs)("div",{className:"logo-stat",children:[(0,s.jsx)("span",{className:"logo-stat-value",children:"10,000+"}),(0,s.jsx)("span",{className:"logo-stat-label",children:"Companies Trust Us"})]}),(0,s.jsxs)("div",{className:"logo-stat",children:[(0,s.jsx)("span",{className:"logo-stat-value",children:"50+"}),(0,s.jsx)("span",{className:"logo-stat-label",children:"Countries Served"})]}),(0,s.jsxs)("div",{className:"logo-stat",children:[(0,s.jsx)("span",{className:"logo-stat-value",children:"$2.4M+"}),(0,s.jsx)("span",{className:"logo-stat-label",children:"Saved by Customers"})]})]})]})})}let U=(0,d.default)("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]),K=(0,d.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"}]]),Y=(0,d.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"}]]),J=[{id:1,name:"Sarah Chen",role:"CTO",company:"TechFlow",avatar:"SC",avatarGradient:"linear-gradient(135deg, #fbbf24, #f59e0b)",rating:5,quote:"CodeStreem's Trend Oracle API helped us identify emerging niches 3 weeks before our competitors. Our inventory planning accuracy improved by 40%.",metrics:"$1.2M saved annually",linkedin:!0,featured:!1},{id:2,name:"Michael Torres",role:"Lead Engineer",company:"FinanceAI",avatar:"MT",avatarGradient:"linear-gradient(135deg, #3b82f6, #1d4ed8)",rating:5,quote:"We switched from Google Cloud AI and cut our API costs by 60% while actually improving response times. The migration took less than 2 hours.",metrics:"60% cost reduction",linkedin:!0,featured:!0},{id:3,name:"Emily Rodriguez",role:"VP Engineering",company:"DataScale",avatar:"ER",avatarGradient:"linear-gradient(135deg, #a85
5095f7, #7c3aed)",rating:5,quote:"The sentiment analysis API processes our customer feedback in real-time across 40+ languages. Our support response quality improved 3x.",metrics:"3x faster responses",linkedin:!0,featured:!1},{id:4,name:"David Kim",role:"Founder",company:"BuildFast",avatar:"DK",avatarGradient:"linear-gradient(135deg, #10b981, #059669)",rating:5,quote:"Finally, APIs that just work. No complex setup, no hidden fees, no surprises. CodeStreem is now a core part of our infrastructure.",metrics:"99.99% uptime",twitter:!0,featured:!1},{id:5,name:"Alexandra Petrov",role:"Staff Engineer",company:"Cloudify",avatar:"AP",avatarGradient:"linear-gradient(135deg, #f472b6, #ec4899)",rating:5,quote:"The Code Intelligence API caught 23 security vulnerabilities in our first scan that our other tools missed. It paid for itself in the first week.",metrics:"23 vulns caught",linkedin:!0,featured:!1},{id:6,name:"James Wright",role:"Head of Data",company:"InsightHub",avatar:"JW",avatarGradient:"linear-gradient(135deg, #06b6d4, #0891b2)",rating:5,quote:"We evaluated 12 different API providers. CodeStreem was the only one that delivered on their latency promises. 47ms average, just like they said.",metrics:"47ms latency",linkedin:!0,featured:!1}];function X(){return(0,s.jsx)("section",{className:"testimonials-section",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-elite",children:[(0,s.jsxs)("span",{className:"section-badge",children:[(0,s.jsx)(v,{size:14})," REVIEWS"]}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Loved by ",(0,s.jsx)("span",{className:"gradient-text-gold",children:"Engineers Worldwide"})]}),(0,s.jsx)("p",{className:"section-subtitle",children:"Join 12,000+ developers who trust CodeStreem for their critical infrastructure"})]}),(0,s.jsxs)("div",{className:"testimonials-stats",children:[(0,s.jsxs)("div",{className:"testimonial-stat",children:[(0,s.jsx)("span",{className:"stat-value",children:"4.9"}),(0,s.jsx)("div",{className:"stat-stars",children:[void 0,void 0,void 0,void 0,void 0].map((e,a)=>(0,s.jsx)(v,{size:16,fill:"#fbbf24",color:"#fbbf24"},a))}),(0,s.jsx)("span",{className:"stat-label",children:"Average Rating"})]}),(0,s.jsxs)("div",{className:"testimonial-stat",children:[(0,s.jsx)("span",{className:"stat-value",children:"12,847"}),(0,s.jsx)("span",{className:"stat-label",children:"Developer Reviews"})]}),(0,s.jsxs)("div",{className:"testimonial-stat",children:[(0,s.jsx)("span",{className:"stat-value",children:"98%"}),(0,s.jsx)("span",{className:"stat-label",children:"Would Recommend"})]})]}),(0,s.jsx)("div",{className:"testimonials-grid",children:J.map(e=>(0,s.jsxs)("div",{className:`testimonial-card-elite ${e.featured?"featured":""}`,children:[(0,s.jsxs)("div",{className:"testimonial-header",children:[(0,s.jsx)("div",{className:"testimonial-avatar-elite",style:{background:e.avatarGradient},children:e.avatar}),(0,s.jsxs)("div",{className:"testimonial-info",children:[(0,s.jsx)("h4",{children:e.name}),(0,s.jsxs)("p",{children:[e.role," at ",(0,s.jsx)("strong",{children:e.company})]})]}),e.linkedin&&(0,s.jsx)(K,{size:18,className:"social-icon linkedin"}),e.twitter&&(0,s.jsx)(Y,{size:18,className:"social-icon twitter"})]}),(0,s.jsx)("div",{className:"testimonial-stars",children:[...Array(e.rating)].map((e,a)=>(0,s.jsx)(v,{size:14,fill:"#fbbf24",color:"#fbbf24"},a))}),(0,s.jsx)(U,{size:24,className:"quote-icon"}),(0,s.jsx)("p",{className:"testimonial-quote",children:e.quote}),e.metrics&&(0,s.jsxs)("div",{className:"testimonial-metric",children:[(0,s.jsx)(j.CheckCircle2,{size:14}),(0,s.jsx)("span",{children:e.metrics})]})]},e.id))}),(0,s.jsxs)("div",{className:"testimonials-trust",children:[(0,s.jsx)(j.CheckCircle2,{size:18}),(0,s.jsx)("span",{children:"All reviews verified by independent audit"})]})]})})}let Z=(0,d.default)("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);var Q=e.i(27534);let ee={name:"CodeStreem",base:0,perMillion:12,color:"#fbbf24"},es={name:"Google Cloud AI",base:0,perMillion:45,color:"#4285f4"},ea={name:"AWS AI Services",base:0,perMillion:50,color:"#ff9900"},et={name:"OpenAI API",base:0,perMillion:60,color:"#10a37f"},ei=[{label:"Startup",calls:1e5},{label:"Growth",calls:1e6},{label:"Scale",calls:1e7},{label:"Enterprise",calls:1e8}];function en(){let[e,a]=(0,i.useState)(1e6),[l,c]=(0,i.useState)(1),o=e=>e>=1e9?(e/1e9).toFixed(1)+"B":e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(0)+"K":e.toString(),d=e=>
509"$"+e.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0}),m=s=>{let a=e/1e6;return Math.round(s.base+a*s.perMillion)},h=m(ee),p=m(es),u=m(ea),g=m(et),x=Math.round((p+u+g)/3),j=x-h,v=x>0?Math.round(j/x*100):0;return(0,s.jsx)("section",{className:"calculator-section",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-elite",children:[(0,s.jsxs)("span",{className:"section-badge",children:[(0,s.jsx)(Z,{size:14})," CALCULATOR"]}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Calculate Your ",(0,s.jsx)("span",{className:"gradient-text-gold",children:"Savings"})]}),(0,s.jsx)("p",{className:"section-subtitle",children:"See how much you'll save compared to Google, AWS, and OpenAI"})]}),(0,s.jsxs)("div",{className:"calculator-container",children:[(0,s.jsxs)("div",{className:"calculator-input",children:[(0,s.jsx)("h3",{children:"Monthly API Calls"}),(0,s.jsx)("div",{className:"preset-buttons",children:ei.map((e,t)=>(0,s.jsxs)("button",{className:`preset-btn ${l===t?"active":""}`,onClick:()=>{c(t),a(ei[t].calls)},children:[e.label,(0,s.jsx)("span",{children:o(e.calls)})]},e.label))}),(0,s.jsxs)("div",{className:"slider-container",children:[(0,s.jsx)("input",{type:"range",min:"10000",max:"100000000",step:"10000",value:e,onChange:e=>{a(parseInt(e.target.value)),c(-1)},className:"calculator-slider"}),(0,s.jsxs)("div",{className:"slider-value",children:[(0,s.jsx)(r.Zap,{size:20}),(0,s.jsx)("span",{className:"value-large",children:o(e)}),(0,s.jsx)("span",{className:"value-label",children:"calls/month"})]})]}),(0,s.jsxs)("div",{className:"savings-highlight",children:[(0,s.jsx)(Q.TrendingDown,{size:24}),(0,s.jsxs)("div",{className:"savings-content",children:[(0,s.jsx)("span",{className:"savings-amount",children:d(j)}),(0,s.jsxs)("span",{className:"savings-label",children:["saved per month (",v,"% less)"]})]})]})]}),(0,s.jsxs)("div",{className:"calculator-comparison",children:[(0,s.jsx)("h3",{children:"Price Comparison"}),(0,s.jsxs)("div",{className:"comparison-bars",children:[(0,s.jsxs)("div",{className:"comparison-bar codestreem",children:[(0,s.jsxs)("div",{className:"bar-header",children:[(0,s.jsx)("span",{className:"bar-name",children:"CodeStreem"}),(0,s.jsxs)("span",{className:"bar-price",children:[d(h),"/mo"]})]}),(0,s.jsx)("div",{className:"bar-track",children:(0,s.jsx)("div",{className:"bar-fill",style:{width:`${Math.min(h/g*100,100)}%`,background:ee.color}})}),(0,s.jsx)("span",{className:"bar-badge best",children:"BEST VALUE"})]}),(0,s.jsxs)("div",{className:"comparison-bar",children:[(0,s.jsxs)("div",{className:"bar-header",children:[(0,s.jsx)("span",{className:"bar-name",children:"Google Cloud AI"}),(0,s.jsxs)("span",{className:"bar-price",children:[d(p),"/mo"]})]}),(0,s.jsx)("div",{className:"bar-track",children:(0,s.jsx)("div",{className:"bar-fill",style:{width:`${Math.min(p/g*100,100)}%`,background:es.color}})})]}),(0,s.jsxs)("div",{className:"comparison-bar",children:[(0,s.jsxs)("div",{className:"bar-header",children:[(0,s.jsx)("span",{className:"bar-name",children:"AWS AI Services"}),(0,s.jsxs)("span",{className:"bar-price",children:[d(u),"/mo"]})]}),(0,s.jsx)("div",{className:"bar-track",children:(0,s.jsx)("div",{className:"bar-fill",style:{width:`${Math.min(u/g*100,100)}%`,background:ea.color}})})]}),(0,s.jsxs)("div",{className:"comparison-bar",children:[(0,s.jsxs)("div",{className:"bar-header",children:[(0,s.jsx)("span",{className:"bar-name",children:"OpenAI API"}),(0,s.jsxs)("span",{className:"bar-price",children:[d(g),"/mo"]})]}),(0,s.jsx)("div",{className:"bar-track",children:(0,s.jsx)("div",{className:"bar-fill",style:{width:"100%",background:et.color}})})]})]}),(0,s.jsxs)(t.default,{href:"/signup",className:"calculator-cta",children:["Start Saving Today ",(0,s.jsx)(n.ArrowRight,{size:18})]}),(0,s.jsxs)("p",{className:"calculator-note",children:[(0,s.jsx)($.Check,{size:14})," 500 free API calls included"]})]})]})]})})}let er=[{id:"trend-oracle",name:"Trend Oracle",icon:o.TrendingUp,tagline:"Predict market movements before they happen",description:"Real-time trend detection engine that analyzes 50M+ data points hourly to identify emerging opportunities.",color:"#6366f1",features:["94% prediction accuracy","Sub-100ms response","Crypto, Tech, Consumer trends","Historical pattern matching"],useCases:["E-commerce inventory planning","Investment decision support","Content creation timing","Product launch optimization"],whyBetter:"Competitors scan hourlyâwe scan in real-time. Our ML models are trained on 10x more data.",endpoint:"/v1/trends"},{id:"sentiment-engine",name:"Sentiment Engine",icon:h.MessageSquare,tagline:"Understand what the world is thinking",description:"Advanced sentiment analysis processing Twitter, Reddit, News, and 40+ languages simultaneously.",color:"#8b5cf6",features:["40+ languages supported","Real-time social monitoring","Confidence scoring","Entity-level sentiment"],useCases:["Brand reputation management","Stock market sentiment","Product feedback analysis","Crisis detection"],whyBetter:"Google charges $1.50/1K units. We charge $0.50 with 15% higher accuracy on financial text.",endpoint:"/v1/sentiment"},{id:"nlp-engine",name:"NLP Engine",icon:g.Languages,tagline:"Process language like never before",description:"Complete NLP toolkit: summarization, translation, entity extraction, and content generation.",color:"#a85
5095f7",features:["100K token context","95+ language translation","Custom entity training","Zero-shot classification"],useCases:["Legal document analysis","Customer support automation","Content localization","Research paper summarization"],whyBetter:"Our summarization preserves 40% more key facts than GPT-4 at 1/3 the cost.",endpoint:"/v1/nlp"},{id:"vision-api",name:"Vision Intelligence",icon:x.Search,tagline:"See and understand any image",description:"State-of-the-art computer vision for object detection, OCR, and visual content analysis.",color:"#ec4899",features:["10,000+ object classes","99.2% OCR accuracy","NSFW detection","Face attribute analysis"],useCases:["Automated moderation","Document digitization","Inventory scanning","Visual search"],whyBetter:"AWS Rekognition: 250ms avg. CodeStreem Vision: 89ms avg. Same accuracy, 3x faster.",endpoint:"/v1/vision"},{id:"data-enrichment",name:"Data Enrichment",icon:u.BarChart3,tagline:"Transform raw data into intelligence",description:"Enrich any dataset with verified business data, demographics, and behavioral insights.",color:"#14b8a6",features:["95% data accuracy","Real-time verification","GDPR compliant","200+ data points"],useCases:["Lead qualification","Market research","Risk assessment","Customer profiling"],whyBetter:"Clearbit charges per record. We offer unlimited enrichment on Pro plans.",endpoint:"/v1/enrich"},{id:"code-intelligence",name:"Code Intelligence",icon:p.Code2,tagline:"AI-powered development assistance",description:"Code review, bug detection, security scanning, and intelligent refactoring suggestions.",color:"#f59e0b",features:["50+ language support","Security vulnerability scan","Performance optimization","Documentation generation"],useCases:["CI/CD integration","Code review automation","Technical debt reduction","Onboarding acceleration"],whyBetter:"GitHub Copilot suggests code. We analyze, secure, and optimize your entire codebase.",endpoint:"/v1/code"}],el=[{metric:"Average Latency",us:"47ms",them:"180ms",better:"3.8x faster"},{metric:"Cost per 1M calls",us:"$12",them:"$45",better:"73% cheaper"},{metric:"Uptime SLA",us:"99.97%",them:"99.5%",better:"6x fewer outages"},{metric:"Languages Supported",us:"95+",them:"40",better:"2x coverage"}];function ec(){let e,o=function(){let[e,s]=(0,i.useState)({calls:0x3280ad97,developers:12847,uptime:99.97});return(0,i.useEffect)(()=>{let e=setInterval(()=>{s(e=>({...e,calls:e.calls+Math.floor(100*Math.random()),developers:e.developers+ +(Math.random()>.7)}))},2e3);return()=>clearInterval(e)},[]),e}(),[d,h]=(0,i.useState)(0),[p,g]=(0,i.useState)(null);return(0,i.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/auth/me"),s=await e.json();s.authenticated&&g(s.user)}catch(e){console.error("Auth check failed:",e)}})()},[]),(0,s.jsxs)("div",{className:"page-wrapper",children:[(0,s.jsxs)(a.default,{children:[(0,s.jsx)("title",{children:"CODESTREEM â #1 Enterprise API Intelligence Platform | AI APIs for Developers"}),(0,s.jsx)("meta",{name:"title",content:"CODESTREEM â #1 Enterprise API Intelligence Platform"}),(0,s.jsx)("meta",{name:"description",content:"The fastest, cheapest, smartest APIs for AI, NLP, Trends, Vision & Code. 47ms avg latency. 73% cheaper than alternatives. 99.97% uptime. Start free today."}),(0,s.jsx)("meta",{name:"keywords",content:"API, AI API, NLP API, sentiment analysis API, trend prediction, code validation, security scanner, cloud cost analyzer, developer tools, machine learning API, text analysis, image API, enterprise API"}),(0,s.jsx)("meta",{name:"author",content:"CodeStreem Inc."}),(0,s.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large"}),(0,s.jsx)("link",{rel:"canonical",href:"https://codestreem-ai.vercel.app"}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{property:"og:url",content:"https://codestreem-ai.vercel.app/"}),(0,s.jsx)("meta",{property:"og:title",content:"CODESTREEM â #1 Enterprise API Intelligence Platform"}),(0,s.jsx)("meta",{property:"og:description",content:"The fastest, cheapest, smartest APIs for AI, NLP, Trends, Vision & Code. 47ms avg latency. 73% cheaper. Start free today."}),(0,s.jsx)("meta",{property:"og:image",content:"https://codestreem-ai.vercel.app/og-image.png"}
509),(0,s.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,s.jsx)("meta",{property:"og:image:height",content:"630"}),(0,s.jsx)("meta",{property:"og:site_name",content:"CodeStreem"}),(0,s.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:url",content:"https://codestreem-ai.vercel.app/"}),(0,s.jsx)("meta",{name:"twitter:title",content:"CODESTREEM â #1 Enterprise API Intelligence Platform"}),(0,s.jsx)("meta",{name:"twitter:description",content:"The fastest, cheapest, smartest APIs for AI, NLP, Trends, Vision & Code. Start free today."}),(0,s.jsx)("meta",{name:"twitter:image",content:"https://codestreem-ai.vercel.app/og-image.png"}),(0,s.jsx)("meta",{name:"twitter:creator",content:"@codestreem"}),(0,s.jsx)("meta",{name:"theme-color",content:"#7c3aed"}),(0,s.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,s.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"black-translucent"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,s.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png"}),(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"CodeStreem API Platform",applicationCategory:"DeveloperApplication",operatingSystem:"Web",description:"Enterprise-grade API intelligence platform with AI, NLP, Trends, Vision, and Code APIs",url:"https://codestreem-ai.vercel.app",offers:{"@type":"Offer",price:"0",priceCurrency:"USD",description:"500 free API calls per month"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.9",ratingCount:"12847",bestRating:"5"},author:{"@type":"Organization",name:"CodeStreem Inc."}})}}),(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"CodeStreem",url:"https://codestreem-ai.vercel.app",logo:"https://codestreem-ai.vercel.app/logo.png",sameAs:["https://twitter.com/codestreem","https://github.com/codestreem","https://linkedin.com/company/codestreem"],contactPoint:{"@type":"ContactPoint",contactType:"customer support",availableLanguage:["English"]}})}})]}),(0,s.jsxs)("div",{className:"ultra-bg",children:[(0,s.jsx)("div",{className:"ultra-gradient-1"}),(0,s.jsx)("div",{className:"ultra-gradient-2"}),(0,s.jsx)("div",{className:"ultra-grid"})]}),(0,s.jsx)("div",{className:"noise-overlay"}),(0,s.jsx)(A.default,{}),(0,s.jsx)("nav",{className:"nav-ultra",children:(0,s.jsxs)("div",{className:"container flex items-center justify-between h-16",children:[(0,s.jsxs)("div",{className:"flex items-center gap-8",children:[(0,s.jsx)(t.default,{href:"/",className:"nav-brand",children:(0,s.jsx)(I.default,{size:32})}),(0,s.jsxs)("div",{className:"nav-links",children:[(0,s.jsx)(t.default,{href:"/catalog",className:"nav-link",children:"API Catalog"}),(0,s.jsx)(t.default,{href:"/docs",className:"nav-link",children:"Docs"}),(0,s.jsx)(t.default,{href:"/status",className:"nav-link",children:"Status"}),(0,s.jsx)(t.default,{href:"/pricing",className:"nav-link",children:"Pricing"}),(0,s.jsx)(t.default,{href:"/dashboard",className:"nav-link",children:"Dashboard"})]})]}),p?(0,s.jsxs)(t.default,{href:"/dashboard",className:"btn-ultra-primary",children:[(0,s.jsx)(u.BarChart3,{size:16})," Dashboard"]}):(0,s.jsxs)(t.default,{href:"/signup",className:"btn-ultra-primary",children:[(0,s.jsx)(f.Sparkles,{size:16})," Start Free"]})]})}),(0,s.jsx)("section",{className:"hero-ultra",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"hero-content",children:[(0,s.jsx)("h1",{className:"hero-title-ultra",children:"CODESTREEM"}),(0,s.jsx)("p",{className:"hero-tagline",children:"Providing Intelligence APIs"}),(0,s.jsxs)("div",{className:"hero-stats",children:[(0,s.jsxs)("div",{className:"hero-stat",children:[(0,s.jsxs)("span",{className:"hero-stat-value",children:[(o.calls/1e9).toFixed(2),"B+"]}),(0,s.jsx)("span",{className:"hero-stat-label",children:"API Calls Served"})]}),(0,s.jsx)("div",{className:"hero-stat-divider"}),(0,s.jsxs)("div",{className:"hero-stat",children:[(0,s.jsx)("span",{className:"hero-stat-value",children:o.developers.toLocaleStr
509ing()}),(0,s.jsx)("span",{className:"hero-stat-label",children:"Active Developers"})]}),(0,s.jsx)("div",{className:"hero-stat-divider"}),(0,s.jsxs)("div",{className:"hero-stat",children:[(0,s.jsxs)("span",{className:"hero-stat-value",children:[o.uptime,"%"]}),(0,s.jsx)("span",{className:"hero-stat-label",children:"Uptime SLA"})]})]}),(0,s.jsxs)("div",{className:"hero-cta",children:[(0,s.jsxs)(t.default,{href:"/catalog",className:"btn-ultra-primary btn-lg",children:["Explore APIs ",(0,s.jsx)(n.ArrowRight,{size:20})]}),(0,s.jsx)(t.default,{href:"/pricing",className:"btn-ultra-ghost btn-lg",children:"View Plans"})]})]})})}),(0,s.jsx)(G,{}),(0,s.jsx)("section",{className:"solutions-showcase",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-ultra",children:[(0,s.jsx)("span",{className:"section-badge section-badge-hot",children:"ð¥ NEW SOLUTIONS"}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Stop Suffering.",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"gradient-text-hot",children:"Start Solving."})]}),(0,s.jsx)("p",{className:"section-desc",children:"3 powerful tools that solve the most painful problems developers face every day."})]}),(0,s.jsxs)("div",{className:"solutions-grid",children:[(0,s.jsxs)("div",{className:"solution-card solution-card-ai",children:[(0,s.jsxs)("div",{className:"solution-problem",children:[(0,s.jsx)(k.AlertTriangle,{size:20}),(0,s.jsx)("span",{className:"problem-stat",children:"45%"}),(0,s.jsx)("span",{className:"problem-text",children:"of AI code has bugs"})]}),(0,s.jsx)("div",{className:"solution-visual",children:(0,s.jsx)("img",{src:"/ai-validator.png",alt:"AI Code Validator"})}),(0,s.jsxs)("div",{className:"solution-info",children:[(0,s.jsx)("div",{className:"solution-icon",style:{background:"rgba(239, 68, 68, 0.2)",color:"#ef4444"},children:(0,s.jsx)(S.Bot,{size:28})}),(0,s.jsx)("h3",{children:"AI Code Validator"}),(0,s.jsx)("p",{children:"Detect hallucinations, security issues, and auto-fix AI mistakes in seconds."}),(0,s.jsxs)("div",{className:"solution-saves",children:[(0,s.jsx)(b.Clock,{size:16})," Saves 30+ min per review"]})]})]}),(0,s.jsxs)("div",{className:"solution-card solution-card-security",children:[(0,s.jsxs)("div",{className:"solution-problem",children:[(0,s.jsx)(k.AlertTriangle,{size:20}),(0,s.jsx)("span",{className:"problem-stat",children:"51%"}),(0,s.jsx)("span",{className:"problem-text",children:"cite security as #1"})]}),(0,s.jsx)("div",{className:"solution-visual",children:(0,s.jsx)("img",{src:"/security-scanner.png",alt:"Security Scanner"})}),(0,s.jsxs)("div",{className:"solution-info",children:[(0,s.jsx)("div",{className:"solution-icon",style:{background:"rgba(59, 130, 246, 0.2)",color:"#3b82f6"},children:(0,s.jsx)(l.Shield,{size:28})}),(0,s.jsx)("h3",{children:"Security Scanner"}),(0,s.jsx)("p",{children:"Scan dependencies for CVEs. Get instant fix commands for vulnerabilities."}),(0,s.jsxs)("div",{className:"solution-saves",children:[(0,s.jsx)(b.Clock,{size:16})," Saves 60+ min per audit"]})]})]}),(0,s.jsxs)("div",{className:"solution-card solution-card-cost",children:[(0,s.jsxs)("div",{className:"solution-problem",children:[(0,s.jsx)(k.AlertTriangle,{size:20}),(0,s.jsx)("span",{className:"problem-stat",children:"30-60%"}),(0,s.jsx)("span",{className:"problem-text",children:"cloud spend is waste"})]}),(0,s.jsx)("div",{className:"solution-visual",children:(0,s.jsx)("img",{src:"/cloud-cost.png",alt:"Cloud Cost Analyzer"})}),(0,s.jsxs)("div",{className:"solution-info",children:[(0,s.jsx)("div",{className:"solution-icon",style:{background:"rgba(16, 185, 129, 0.2)",color:"#10b981"},children:(0,s.jsx)(C.DollarSign,{size:28})}),(0,s.jsx)("h3",{children:"Cloud Cost Analyzer"}),(0,s.jsx)("p",{children:"Find idle resources, oversized instances. Calculate exact savings instantly."}),(0,s.jsxs)("div",{className:"solution-saves",children:[(0,s.jsx)(C.DollarSign,{size:16})," Saves $1,000s monthly"]})]})]})]}),(0,s.jsx)("div",{className:"solutions-cta-row",children:(0,s.jsxs)(t.default,{href:"/solutions",className:"btn-ultra-hot btn-lg",children:["Explore Solutions ",(0,s.jsx)(n.ArrowRight,{size:20})]})})]})}),(0,s.jsx)(F,{}),(0,s.jsx)(en,{}),(0,s.jsx)(X,{}),(0,s.jsx)("section",{className:"section-ultra",id:"apis",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-ultra",children:[(0,s.jsx)("span",{className:"section-badge",children:"OUR APIS"}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Intelligence APIs That",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"gradient-text-ultra",children:"Actually Deliver"})]}),(0,s.jsx)("p",{className:"section-desc",children:"Every API is battle-tested, blazing fast, and built to solve real problems."})]}),(0,s.jsx)("div",{className:"api-tabs",children:er.map((e,a)=>(0,s.jsxs)("button",{onClick:()=>h(a),className:`api-tab ${d===a?"active":""}`,style:{"--api-color":e.color},children:[(0,s.jsx)(e.icon,{size:18}),(0,s.jsx)("span",{children:e.name})]},e.id))}),(0,s.jsxs)("div",{className:"api-showcase",style:{"--api-color":er[d].color},children:[(0,s.jsxs)("div",{className:"api-showcase-main",children:[(0,s.jsxs)("div",{className:"api-showcase-header",children:[(0,s.jsx)("div",{className:"api-icon-large",children:(e=er[d].icon,(0,s.jsx)(e,{size:32}))}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"api-name",children:er[d].name}),(0,s.jsx)("p",{className:"api-tagline",children:er[d].tagline})]})]}),(0,s.jsx)("p",{className:"api-description",children:er[d].description}),(0,s.jsx)("div",{className:"api-endpoint",children:(0,s.jsxs)("code",{children:["GET https://api.codestreem.io",er[d].endpoint]})}),(0,s.jsxs)("div",{className:"api-actions",children:[(0,s.jsxs)(t.default,{href:`/catalog#${er[d].id}`,className:"btn-ultra-primary",children:["View Documentation ",(0,s.jsx)(y.ChevronRight,{size:16})]}),(0,s.jsx)(t.default,{href:"/dashboard",className:"btn-ultra-ghost",children:"Get API Key"})]})]}),(0,s.jsxs)("div",{className:"api-showcase-details",children:[(0,s.jsxs)("div",{className:"api-detail-card",children:[(0,s.jsxs)("h4",{className:"api-detail-title",children:[(0,s.jsx)(r.Zap,{size:16})," Features"]}),(0,s.jsx)("ul",{className:"api-feature-list",children:er[d].features.map((e,a)=>(0,s.jsxs)("li",{children:[(0,s.jsx)(j.CheckCircle2,{size:14})," ",e]},a))})]}),(0,s.jsxs)("div",{className:"api-detail-card",children:[(0,s.jsxs)("h4",{className:"api-detail-title",children:[(0,s.jsx)(w,{size:16})," Best For"]}),(0,s.jsx)("ul",{className:"api-feature-list",children:er[d].useCases.map((e,a)=>(0,s.jsxs)("li",{children:[(0,s.jsx)(j.CheckCircle2,{size:14})," ",e]},a))})]}),(0,s.jsxs)("div",{className:"api-advantage-card",children:[(0,s.jsxs)("h4",{className:"api-detail-title",children:[(0,s.jsx)(v,{size:16})," Why We're Better"]}),(0,s.jsx)("p",{children:er[d].whyBetter})]})]})]})]})}),(0,s.jsx)("section",{className:"section-ultra section-dark",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-ultra",children:[(0,s.jsx)("span",{className:"section-badge",children:"THE DIFFERENCE"}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Why Developers Choose",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"gradient-text-ultra",children:"CodeStreem"})]})]}),(0,s.jsxs)("div",{className:"comparison-table",children:[(0,s.jsxs)("div",{className:"comparison-header",children:[(0,s.jsx)("div",{className:"comparison-metric",children:"Metric"}),(0,s.jsx)("div",{className:"comparison-us",children:"CodeStreem"}),(0,s.jsx)("div",{className:"comparison-them",children:"Others"}),(0,s.jsx)("div",{className:"comparison-result",children:"Result"})]}),el.map((e,a)=>(0,s.jsxs)("div",{className:"comparison-row",children:[(0,s.jsx)("div",{className:"comparison-metric",children:e.metric}),(0,s.jsx)("div",{className:"comparison-us highlight",children:e.us}),(0,s.jsx)("div",{className:"comparison-them",children:e.them}),(0,s.jsx)("div",{className:"comparison-result winner",children:e.better})]},a))]}),(0,s.jsxs)("div",{className:"benefits-grid",children:[(0,s.jsxs)("div",{className:"benefit-card",children:[(0,s.jsx)("div",{className:"benefit-icon",children:(0,s.jsx)(c.Globe,{size:24})}),(0,s.jsx)("h4",{children:"Global Edge Network"}),(0,s.jsx)("p",{children:"200+ edge locations ensure sub-50ms latency worldwide. Your users never wait."})]}),(0,s.jsxs)("div",{className:"benefit-card",children:[(0,s.jsx)("div",{className:"benefit-icon",children:(0,s.jsx)(l.Shield,{size:24})}),(0,s.jsx)("h4",{children:"Enterprise Security"}),(0,s.jsx)("p",{children:"SOC2 Type II certified. End-to-end encryption. Your data never leaves your control."})]}),(0,s.jsxs)("div",{className:"benefit-card",children:[(0,s.jsx)("div",{className:"benefit-icon",children:(0,s.jsx)(m,{size:24})}
509),(0,s.jsx)("h4",{children:"Self-Healing Infrastructure"}),(0,s.jsx)("p",{children:"AI-powered monitoring auto-fixes issues before they impact your service."})]}),(0,s.jsxs)("div",{className:"benefit-card",children:[(0,s.jsx)("div",{className:"benefit-icon",children:(0,s.jsx)(N.Users,{size:24})}),(0,s.jsx)("h4",{children:"24/7 Expert Support"}),(0,s.jsx)("p",{children:"Real engineers, not bots. Average response time under 15 minutes."})]})]})]})}),(0,s.jsx)("section",{className:"section-ultra",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-ultra",children:[(0,s.jsx)("span",{className:"section-badge",children:"PROVEN RESULTS"}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Measurable Impact",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"gradient-text-ultra",children:"On Your Business"})]})]}),(0,s.jsxs)("div",{className:"metrics-grid",children:[(0,s.jsxs)("div",{className:"metric-card",children:[(0,s.jsx)("div",{className:"metric-value",children:"847M+"}),(0,s.jsx)("div",{className:"metric-label",children:"API Calls This Month"}),(0,s.jsx)("div",{className:"metric-trend positive",children:"â 23% vs last month"})]}),(0,s.jsxs)("div",{className:"metric-card featured",children:[(0,s.jsx)("div",{className:"metric-value",children:"$2.4M"}),(0,s.jsx)("div",{className:"metric-label",children:"Saved by Customers"}),(0,s.jsx)("div",{className:"metric-trend positive",children:"vs alternative providers"})]}),(0,s.jsxs)("div",{className:"metric-card",children:[(0,s.jsx)("div",{className:"metric-value",children:"47ms"}),(0,s.jsx)("div",{className:"metric-label",children:"Avg Response Time"}),(0,s.jsx)("div",{className:"metric-trend positive",children:"3.8x faster than industry"})]}),(0,s.jsxs)("div",{className:"metric-card",children:[(0,s.jsx)("div",{className:"metric-value",children:"99.97%"}),(0,s.jsx)("div",{className:"metric-label",children:"Uptime SLA"}),(0,s.jsx)("div",{className:"metric-trend positive",children:"0 major incidents YTD"})]})]})]})}),(0,s.jsx)("section",{className:"section-ultra section-dark",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-ultra",children:[(0,s.jsx)("span",{className:"section-badge",children:"TESTIMONIALS"}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Loved by",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"gradient-text-ultra",children:"Engineers Worldwide"})]})]}),(0,s.jsxs)("div",{className:"testimonials-grid",children:[(0,s.jsxs)("div",{className:"testimonial-card",children:[(0,s.jsx)("div",{className:"testimonial-stars",children:"â
â
â
â
â
"}),(0,s.jsx)("p",{className:"testimonial-text",children:'"CodeStreem\'s Trend Oracle API helped us identify emerging niches before our competitors. Our inventory planning is now 40% more accurate."'}),(0,s.jsxs)("div",{className:"testimonial-author",children:[(0,s.jsx)("div",{className:"testimonial-avatar",children:"S"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"testimonial-name",children:"Sarah Chen"}),(0,s.jsx)("div",{className:"testimonial-role",children:"CTO, ShopWave"})]})]})]}),(0,s.jsxs)("div",{className:"testimonial-card featured",children:[(0,s.jsx)("div",{className:"testimonial-stars",children:"â
â
â
â
â
"}),(0,s.jsx)("p",{className:"testimonial-text",children:'"We switched from Google Cloud AI and cut our API costs by 60% while actually improving response times. The migration took 2 hours."'}),(0,s.jsxs)("div",{className:"testimonial-author",children:[(0,s.jsx)("div",{className:"testimonial-avatar",children:"M"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"testimonial-name",children:"Michael Torres"}),(0,s.jsx)("div",{className:"testimonial-role",children:"Lead Engineer, FinanceAI"})]})]})]}),(0,s.jsxs)("div",{className:"testimonial-card",children:[(0,s.jsx)("div",{className:"testimonial-stars",children:"â
â
â
â
â
"}),(0,s.jsx)("p",{className:"testimonial-text",children:'"The sentiment analysis API processes our customer feedback in real-time across 40+ languages. Support response rates improved 3x."'}),(0,s.jsxs)("div",{className:"testimonial-author",children:[(0,s.jsx)("div",{className:"testimonial-avatar",children:"R"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"testimonial-name",children:"Raj Patel"}),(0,s.jsx)("div",{className:"testimonial-role",children:"VP Product, GlobalSupport"})]})]})]})]})]})}),(0,s.jsx)("section",{className:"section-ultra",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"section-header-ultra",children:[(0,s.jsx)("span",{className:"section-badge",children:"GET STARTED"}),(0,s.jsxs)("h2",{className:"section-title-ultra",children:["Start Building",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"gradient-text-ultra",children:"In 60 Seconds"})]})]}),(0,s.jsxs)("div",{className:"steps-grid",children:[(0,s.jsxs)("div",{className:"step-card",children:[(0,s.jsx)("div",{className:"step-number",children:"01"}),(0,s.jsx)("h4",{children:"Create Account"}),(0,s.jsx)("p",{children:"Sign up free. No credit card required. Instant access to all APIs."})]}),(0,s.jsx)("div",{className:"step-arrow",children:"â"}),(0,s.jsxs)("div",{className:"step-card",children:[(0,s.jsx)("div",{className:"step-number",children:"02"}),(0,s.jsx)("h4",{children:"Get Your API Key"}),(0,s.jsx)("p",{children:"Generate keys from your dashboard. Manage permissions per project."})]}),(0,s.jsx)("div",{className:"step-arrow",children:"â"}),(0,s.jsxs)("div",{className:"step-card",children:[(0,s.jsx)("div",{className:"step-number",children:"03"}),(0,s.jsx)("h4",{children:"Make Your First Call"}),(0,s.jsx)("p",{children:"Copy our code samples. Works with any language in your stack."})]}),(0,s.jsx)("div",{className:"step-arrow",children:"â"}),(0,s.jsxs)("div",{className:"step-card",children:[(0,s.jsx)("div",{className:"step-number",children:"04"}),(0,s.jsx)("h4",{children:"Scale Infinitely"}),(0,s.jsx)("p",{children:"From 100 calls to 100M calls. Our infrastru
509cture handles it all."})]})]}),(0,s.jsxs)("div",{className:"code-showcase",children:[(0,s.jsxs)("div",{className:"code-header",children:[(0,s.jsxs)("div",{className:"code-dots",children:[(0,s.jsx)("span",{}),(0,s.jsx)("span",{}),(0,s.jsx)("span",{})]}),(0,s.jsx)("span",{className:"code-title",children:"Quick Start Example"})]}),(0,s.jsx)("pre",{className:"code-block",children:`// Install: npm install @codestreem/sdk 510 511import { CodeStreem } from '@codestreem/sdk'; 512 513const client = new CodeStreem('YOUR_API_KEY'); 514 515// Get trending topics with one line 516const trends = await client.trends.get({ 517 category: 'crypto', 518 limit: 10 519}); 520 521// Analyze sentiment 522const sentiment = await client.sentiment.analyze({ 523 text: 'CodeStreem makes API integration effortless!' 524}); 525 526console.log(sentiment.score); // 0.94 (very positive)`})]})]})}),(0,s.jsx)("section",{className:"cta-ultra",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"cta-card-ultra",children:[(0,s.jsx)("div",{className:"cta-glow-ultra"}),(0,s.jsx)("h2",{className:"cta-title",children:"Ready to Build Something Amazing?"}),(0,s.jsx)("p",{className:"cta-desc",children:"500 free API calls/month. No credit card. Cancel anytime."}),(0,s.jsxs)("div",{className:"cta-buttons",children:[(0,s.jsxs)(t.default,{href:"/checkout?tier=starter",className:"btn-ultra-primary btn-xl",children:["Start Free Trial ",(0,s.jsx)(n.ArrowRight,{size:20})]}),(0,s.jsx)(t.default,{href:"/catalog",className:"btn-ultra-ghost btn-xl",children:"Browse APIs"})]}),(0,s.jsxs)("p",{className:"cta-trust",children:[(0,s.jsx)(j.CheckCircle2,{size:14})," No credit card required",(0,s.jsx)(j.CheckCircle2,{size:14})," 500 free calls/month",(0,s.jsx)(j.CheckCircle2,{size:14})," Enterprise support included"]})]})})}),(0,s.jsx)("footer",{className:"footer-ultra",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"footer-grid",children:[(0,s.jsxs)("div",{className:"footer-brand",children:[(0,s.jsx)(I.default,{size:28}),(0,s.jsx)("p",{children:"Enterprise-grade API intelligence for modern developers."})]}),(0,s.jsxs)("div",{className:"footer-links",children:[(0,s.jsx)("h5",{children:"Product"}),(0,s.jsx)(t.default,{href:"/catalog",children:"API Catalog"}),(0,s.jsx)(t.default,{href:"/pricing",children:"Pricing"}),(0,s.jsx)(t.default,{href:"/dashboard",children:"Dashboard"})]}),(0,s.jsxs)("div",{className:"footer-links",children:[(0,s.jsx)("h5",{children:"Resources"}),(0,s.jsx)(t.default,{href:"/docs",children:"Documentation"}),(0,s.jsx)(t.default,{href:"/status",children:"API Status"}),(0,s.jsx)("a",{href:"#",children:"Changelog"})]}),(0,s.jsxs)("div",{className:"footer-links",children:[(0,s.jsx)("h5",{children:"Company"}),(0,s.jsx)("a",{href:"#",children:"About"}),(0,s.jsx)("a",{href:"#",children:"Blog"}),(0,s.jsx)("a",{href:"#",children:"Careers"})]})]}),(0,s.jsxs)("div",{className:"footer-bottom",children:[(0,s.jsx)("span",{children:"© 2026 CodeStreem. All rights reserved."}),(0,s.jsxs)("div",{className:"footer-legal",children:[(0,s.jsx)(t.default,{href:"/privacy",children:"Privacy"}),(0,s.jsx)(t.default,{href:"/terms",children:"Terms"}),(0,s.jsx)(t.default,{href:"/status",children:"Security"})]})]})]})}),(0,s.jsx)(O,{})]})}e.s(["default",()=>ec],10477)},21899,(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(10477)]),s.hot&&s.hot.dispose(function(){window.__NEXT_P.push(["/"])})}]);
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.