PageSourceSearch

https://reworkdigital.io/_next/static/chunks/pages/admin/findme-monitoring-a9f63419a5a88c0c.js

js reworkdigital.io collected 2026-10-05 02:41:46 UTC 20,581 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17998],{10877:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},21174:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Activity",[["path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",key:"d5dnw9"}]])},23551:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},32e3:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},55634:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("AlertCircle",[["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"}]])},60418:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},73244:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/findme-monitoring",function(){return s(93389)}])},79247:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},93389:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>f});var a=s(37876),r=s(14232),l=s(89099),d=s(19412),i=s(42009),n=s(50873),c=s(67609),x=s(23551),o=s(55634),m=s(32e3),h=s(21174),b=s(60418),p=s(79247);let u={youtube:{color:"from-red-500 to-red-600",icon:"\uD83C\uDFA5",quota:"10,000 units/day",cost:"Free"},serpapi:{color:"from-blue-500 to-blue-600",icon:"\uD83D\uDCC8",quota:"100 searches/month",cost:"$15/mo (paid)"},producthunt:{color:"from-orange-500 to-orange-600",icon:"\uD83D\uDE80",quota:"Unlimited",cost:"Free"},discord:{color:"from-purple-500 to-purple-600",icon:"\uD83D\uDCAC",quota:"Unlimited",cost:"Free"}},g=function(e){let{refreshInterval:t=3e4}=e,[s,l]=(0,r.useState)(null),[d,i]=(0,r.useState)(!0),[n,c]=(0,r.useState)(!1),[g,j]=(0,r.useState)(null),[N,f]=(0,r.useState)(null),k=async()=>{try{c(!0);let e=await fetch("/api/findme-api-usage?hours=24"),t=await e.json();l(t.apis||[]),j(new Date)}catch(e){console.error("Failed to fetch API stats:",e)}finally{c(!1),i(!1)}};if((0,r.useEffect)(()=>{k();let e=setInterval(k,t);return()=>clearInterval(e)},[t]),d)return(0,a.jsx)("div",{className:"flex items-center justify-center p-8",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)(x.A,{className:"w-8 h-8 animate-spin text-blue-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-sm text-slate-600",children:"Loading API statistics..."})]})});if(!s||0===s.length)return(0,a.jsx)("div",{className:"bg-amber-50 border border-amber-200 rounded-lg p-4",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 text-amber-700",children:[(0,a.jsx)(o.A,{className:"w-5 h-5"}),(0,a.jsx)("p",{className:"text-sm",children:"No API usage data available yet"})]})});let v=s.filter(e=>e.quotaPercentage>80),y=s.filter(e=>e.errorRate<5);return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-slate-900 dark:text-white",children:"Finprob API Usage"}),(0,a.jsx)("p",{className:"text-sm text-slate-600 dark:text-slate-400 mt-1",children:"Real-time monitoring of all 4 data sources"})]}),(0,a.jsxs)("button",{onClick:k,disabled:n,className:"flex items-center gap-2 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:opacity-50 transition-colors",children:[(0,a.jsx)(x.A,{className:"w-4 h-4 ".concat(n?"animate-spin":"")}),"Refresh"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-4",children:[(0,a.jsxs)("div",{className:"bg-gradient-to-br from-green-50 to-green-100 dark:from-green-900/20 dark:to-green-800/20 p-4 rounded-lg border border-green-200 dark:border-green-800",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)(m.A,{className:"w-4 h-4 text-green-600"}),(0,a.jsx)("span",{className:"text-xs font-semibold text-green-700 dark:text-green-400",children:"Healthy"})]}),(0,a.jsxs)("p",{className:"text-2xl font-bold text-green-900 dark:text-green-100",children:[y.length,"/4"]}),(0,a.jsx)("p",{className:"text-xs text-green-700 dark:text-green-400 mt-1",children:"APIs with <5% errors"})]}),(0,a.jsxs)("div",{className:"bg-gradient-to-br from-blue-50 to-blue-100 dar
1k:from-blue-900/20 dark:to-blue-800/20 p-4 rounded-lg border border-blue-200 dark:border-blue-800",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)(h.A,{className:"w-4 h-4 text-blue-600"}),(0,a.jsx)("span",{className:"text-xs font-semibold text-blue-700 dark:text-blue-400",children:"Requests"})]}),(0,a.jsx)("p",{className:"text-2xl font-bold text-blue-900 dark:text-blue-100",children:s.reduce((e,t)=>e+t.totalRequests,0).toLocaleString()}),(0,a.jsx)("p",{className:"text-xs text-blue-700 dark:text-blue-400 mt-1",children:"Last 24 hours"})]}),(0,a.jsxs)("div",{className:"bg-gradient-to-br from-amber-50 to-amber-100 dark:from-amber-900/20 dark:to-amber-800/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)(b.A,{className:"w-4 h-4 text-amber-600"}),(0,a.jsx)("span",{className:"text-xs font-semibold text-amber-700 dark:text-amber-400",children:"Over Quota"})]}),(0,a.jsxs)("p",{className:"text-2xl font-bold text-amber-900 dark:text-amber-100",children:[v.length,"/4"]}),(0,a.jsx)("p",{className:"text-xs text-amber-700 dark:text-amber-400 mt-1",children:"APIs >80% quota used"})]}),(0,a.jsxs)("div",{className:"bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-900/20 dark:to-slate-800/20 p-4 rounded-lg border border-slate-200 dark:border-slate-800",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)(p.A,{className:"w-4 h-4 text-slate-600"}),(0,a.jsx)("span",{className:"text-xs font-semibold text-slate-700 dark:text-slate-400",children:"Last Updated"})]}),(0,a.jsx)("p",{className:"text-2xl font-bold text-slate-900 dark:text-slate-100",children:g?g.toLocaleTimeString():"-"}),(0,a.jsx)("p",{className:"text-xs text-slate-700 dark:text-slate-400 mt-1",children:"Auto-refresh every 30s"})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:s.map(e=>{let t=u[e.apiName],s=e.quotaPercentage>80,r=e.errorRate<5;return(0,a.jsxs)("div",{onClick:()=>f(N===e.apiName?null:e.apiName),className:"rounded-lg border-2 p-4 cursor-pointer transition-all ".concat(N===e.apiName?"border-blue-500 bg-blue-50 dark:bg-blue-900/20":"border-slate-200 dark:border-slate-700 hover:border-slate-300"),children:[(0,a.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("span",{className:"text-2xl",children:t.icon}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold text-slate-900 dark:text-white capitalize",children:e.apiName}),(0,a.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400",children:t.quota})]})]}),(0,a.jsx)("div",{className:"flex items-center gap-1",children:r?(0,a.jsx)(m.A,{className:"w-5 h-5 text-green-500"}):s?(0,a.jsx)(b.A,{className:"w-5 h-5 text-amber-500"}):(0,a.jsx)(o.A,{className:"w-5 h-5 text-orange-500"})})]}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("span",{className:"text-xs font-medium text-slate-700 dark:text-slate-300",children:"Quota Usage"}),(0,a.jsxs)("span",{className:"text-xs font-semibold ".concat(s?"text-red-600":"text-slate-600"),children:[e.totalQuotaUsed.toLocaleString()," / ",e.quotaLimit.toLocaleString()]})]}),(0,a.jsx)("div",{className:"w-full bg-slate-200 dark:bg-slate-700 rounded-full h-2",children:(0,a.jsx)("div",{className:"h-2 rounded-full transition-all ".concat(s?"bg-red-500":"bg-green-500"),style:{width:"".concat(Math.min(e.quotaPercentage,100),"%")}})}),(0,a.jsxs)("p",{className:"text-xs mt-1 ".concat(s?"text-red-600":"text-slate-600"),children:[e.quotaPercentage.toFixed(1),"% used"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400 mb-1",children:"Requests"}),(0,a.jsx)("p",{className:"text-lg font-bold text-slate-900 dark:text-white",children:e.totalRequests.toLocaleString()}),(0,a.jsxs)("p",{className:"text-xs text-green-600",children:["✓ ",e.successfulRequests.toLocaleStr
1ing()]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400 mb-1",children:"Response Time"}),(0,a.jsxs)("p",{className:"text-lg font-bold text-slate-900 dark:text-white",children:[e.avgResponseTime,"ms"]}),e.errorRate>0&&(0,a.jsxs)("p",{className:"text-xs text-red-600",children:["✗ ",e.failedRequests," failed"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400 mb-1",children:"Error Rate"}),(0,a.jsxs)("p",{className:"text-lg font-bold ".concat(e.errorRate>5?"text-red-600":"text-green-600"),children:[e.errorRate.toFixed(1),"%"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400 mb-1",children:"Cost"}),(0,a.jsx)("p",{className:"text-lg font-bold text-slate-900 dark:text-white",children:t.cost})]})]}),N===e.apiName&&(0,a.jsxs)("div",{className:"mt-4 pt-4 border-t border-slate-200 dark:border-slate-700 space-y-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-xs font-semibold text-slate-700 dark:text-slate-300 mb-2",children:"Top Endpoints"}),(0,a.jsx)("div",{className:"space-y-1",children:e.topEndpoints.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,a.jsx)("span",{className:"text-slate-600 dark:text-slate-400",children:e.endpoint}),(0,a.jsxs)("span",{className:"font-medium text-slate-900 dark:text-white",children:[e.count," calls"]})]},t))})]}),e.lastRequest&&(0,a.jsxs)("div",{className:"text-xs text-slate-600 dark:text-slate-400",children:["Last request: ",new Date(e.lastRequest).toLocaleString()]})]})]},e.apiName)})}),v.length>0&&(0,a.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(b.A,{className:"w-5 h-5 text-red-600 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-red-900 dark:text-red-200 mb-1",children:"Quota Alert"}),(0,a.jsxs)("p",{className:"text-sm text-red-800 dark:text-red-300",children:[v.map(e=>e.apiName).join(", ")," ",1===v.length?"is":"are"," using more than 80% of quota. Consider upgrading or optimizing requests."]})]})]})})]})};var j=s(10877),N=s(47798);function f(){let e=(0,l.useRouter)(),[t,s]=(0,r.useState)(!0),[o,p]=(0,r.useState)(!1),[u,f]=(0,r.useState)(null),[k,v]=(0,r.useState)("overview"),[y,w]=(0,r.useState)(!1);(0,r.useEffect)(()=>{A()},[]),(0,r.useEffect)(()=>{o&&q()},[o]);let A=async()=>{try{let t=(0,n.getFirebaseAuth)();(0,d.onAuthStateChanged)(t,async t=>{if(t){let s=(0,n.getFirebaseFirestore)(),a=await (0,i.getDoc)((0,i.doc)(s,"users",t.uid));a.exists()&&"admin"===a.data().role?p(!0):e.replace("/")}else e.replace("/login");s(!1)})}catch(t){s(!1),e.replace("/")}},q=async()=>{try{w(!0);let e=await fetch("/api/findme-feature-test"),t=await e.json();f(t)}catch(e){console.error("Failed to fetch test results:",e)}finally{w(!1)}};return t?(0,a.jsx)("div",{className:"flex items-center justify-center min-h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)(x.A,{className:"w-8 h-8 animate-spin text-blue-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-slate-600",children:"Loading dashboard..."})]})}):o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.Ay,{title:"Finprob Monitoring | Admin",description:"Finprob API usage and feature monitoring dashboard"}),(0,a.jsxs)("div",{className:"min-h-screen bg-slate-50 dark:bg-slate-900",children:[(0,a.jsx)("div",{className:"bg-white dark:bg-slate-800 border-b border-slate-200 dark:border-slate-700",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-6 py-6",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-3xl font-bold text-slate-900 dark:text-white",children:"Finprob Monitoring"}),(0,a.jsx)("p",{className:"text-slate-600 dark:text-slate-400 mt-1",children:"Real-time monitoring of all discovery methods and API usage"})]}),(0,a.jsxs)("button",{onClick:q,disabled:y,className:"flex items-center gap-2 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:opacity-50 transition-colors",children:[(0,a.jsx)(x.A,{className:"w-4 h-4 ".concat(y?"animate-spin":"")}),"Refresh"]})]})})}),(0,a.jsx)("div",{className:"bg-white dark:bg-slate-800 border-b border-slate-200 dark:border-slate-700",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-6",children:(0,a.jsx)("div",{className:"flex gap-8",children:[{id:"overview",label:"Overview",icon:j.A},{id:"features",label:"Features",icon:m.A},{id:"methods",label:"Methods",icon:h.A}].map(e=>(0,a.jsxs)("button",{onClick:()=>v(e.id),className:"flex items-center gap-2 px-4 py-4 border-b-2 transition-colors ".concat(k===e.id?"border-blue-600 text-blue-600":"border-transparent text-slate-600 hover:text-slate-900"),children:[(0,a.jsx)(e.icon,{className:"w-4 h-4"}),e.label]},e.id))})})}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6 py-8",children:["overview"===k&&(0,a.jsxs)("div",{className:"space-y-8",children:[u&&(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-4",children:[(0,a.jsxs)("div",{className:"rounded-lg p-6 border-2 ".concat("healthy"===u.systemHealth?"bg-green-50 dark:bg-green-900/20 border-green-200 dark:border-green-800":"degraded"===u.systemHealth?"bg-amber-50 dark:bg-amber-900/20 border-amber-200 dark:border-amber-800":"bg-red-50 dark:bg-red-900/20 border-red-200 dark:border-red-800"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:["healthy"===u.systemHealth?(0,a.jsx)(m.A,{className:"w-5 h-5 text-green-600"}):(0,a.jsx)(b.A,{className:"w-5 h-5 text-amber-600"}),(0,a.jsx)("span",{className:"font-semibold text-slate-900 dark:text-white capitalize",children:u.systemHealth})]}),(0,a.jsx)("p",{className:"text-2xl font-bold text-slate-900 dark:text-white",children:u.systemHealth.toUpperCase()})]}),(0,a.jsxs)("div",{className:"bg-blue-50 dark:bg-blue-900/20 border-2 border-blue-200 dark:border-blue-800 rounded-lg p-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,a.jsx)(m.A,{className:"w-5 h-5 text-blue-600"}),(0,a.jsx)("span",{className:"font-semibold text-slate-900 dark:text-white",children:"Tests Passed"})]}),(0,a.jsxs)("p",{className:"text-2xl font-bold text-slate-900 dark:text-white",children:[u.passedTests,"/",u.totalTests]})]}),(0,a.jsxs)("div",{className:"bg-slate-50 dark:bg-slate-800 border-2 border-slate-200 dark:border-slate-700 rounded-lg p-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,a.jsx)(h.A,{className:"w-5 h-5 text-slate-600"}),(0,a.jsx)("span",{className:"font-semibold text-slate-900 dark:text-white",children:"Methods Active"})]}),(0,a.jsxs)("p",{className:"text-2xl font-bold text-slate-900 dark:text-white",children:[u.discoveryMethods.filter(e=>"complete"===e.implementation).length,"/7"]})]}),(0,a.jsxs)("div",{className:"bg-purple-50 dark:bg-purple-900/20 border-2 border-purple-200 dark:border-purple-800 rounded-lg p-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,a.jsx)(N.A,{className:"w-5 h-5 text-purple-600"}),(0,a.jsx)("span",{className:"font-semibold text-slate-900 dark:text-white",children:"Data Sources"})]}),(0,a.jsx)("p",{className:"text-2xl font-bold text-slate-900 dark:text-white",children:"5"}
1),(0,a.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400 mt-1",children:"Real data pipelines"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-xl font-bold text-slate-900 dark:text-white mb-4",children:"API Usage"}),(0,a.jsx)(g,{refreshInterval:3e4})]}),u&&u.recommendations.length>0&&(0,a.jsxs)("div",{className:"bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg p-6",children:[(0,a.jsx)("h3",{className:"font-semibold text-blue-900 dark:text-blue-200 mb-3",children:"Recommendations"}),(0,a.jsx)("ul",{className:"space-y-2",children:u.recommendations.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-start gap-2 text-sm text-blue-800 dark:text-blue-300",children:[(0,a.jsx)("span",{className:"text-blue-600 dark:text-blue-400 mt-0.5",children:"•"}),e]},t))})]})]}),"features"===k&&u&&(0,a.jsx)("div",{className:"space-y-4",children:u.featureTests.map((e,t)=>(0,a.jsx)("div",{className:"border-2 rounded-lg p-4 ".concat("pass"===e.status?"bg-green-50 dark:bg-green-900/20 border-green-200 dark:border-green-800":"warning"===e.status?"bg-amber-50 dark:bg-amber-900/20 border-amber-200 dark:border-amber-800":"bg-red-50 dark:bg-red-900/20 border-red-200 dark:border-red-800"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:["pass"===e.status?(0,a.jsx)(m.A,{className:"w-4 h-4 text-green-600"}):(0,a.jsx)(b.A,{className:"w-4 h-4 text-amber-600"}),(0,a.jsx)("h4",{className:"font-semibold text-slate-900 dark:text-white",children:e.feature}),(0,a.jsx)("span",{className:"text-xs font-medium text-slate-600 dark:text-slate-400 bg-slate-200 dark:bg-slate-700 px-2 py-0.5 rounded",children:e.method})]}),(0,a.jsx)("p",{className:"text-sm text-slate-600 dark:text-slate-400 mb-2",children:e.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 text-xs text-slate-600 dark:text-slate-500",children:[(0,a.jsxs)("span",{children:["Endpoint: ",e.endpoint]}),(0,a.jsxs)("span",{children:["Data: ",e.expectedDataSource]})]})]}),(0,a.jsx)("div",{className:"text-xs font-semibold px-3 py-1 rounded-full bg-white dark:bg-slate-800 text-slate-900 dark:text-white",children:e.status.toUpperCase()})]})},t))}),"methods"===k&&u&&(0,a.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:u.discoveryMethods.map((e,t)=>(0,a.jsxs)("div",{className:"bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-lg p-6",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold text-slate-900 dark:text-white",children:e.name}),(0,a.jsx)("p",{className:"text-sm text-slate-600 dark:text-slate-400 mt-1",children:e.description})]}),(0,a.jsx)("div",{className:"text-xs font-semibold px-3 py-1 rounded-full bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400",children:e.implementation.toUpperCase()})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs font-semibold text-slate-700 dark:text-slate-300 mb-2",children:"Data Sources"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:e.dataSources.map((e,t)=>(0,a.jsx)("span",{className:"text-xs bg-blue-100 dark:bg-blue-900/30 text-blue-700 dark:text-blue-400 px-2 py-1 rounded",children:e},t))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs font-semibold text-slate-700 dark:text-slate-300 mb-2",children:"Signal Types"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:e.signalTypes.map((e,t)=>(0,a.jsx)("span",{className:"text-xs bg-purple-100 dark:bg-purple-900/30 text-purple-700 dark:text-purple-400 px-2 py-1 rounded",children:e},t))})]})]})]},t))})]})]})]}):null}}},e=>{e.O(0,[90636,46593,38792],()=>e(e.s=73244)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.