!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a09684-07c0-7290-aa26-7812908d9f2d")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96662,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1l5mqgml1pl2h.js","static/immutable/chunks/1lqv1rkcx9ean.js","static/immutable/chunks/43v5ohvkvi4el.css"].map(t=>e.l(t))).then(()=>t(349615)))},270095,e=>{"use strict";var t=e.i(222666),r=e.i(505962),a=e.i(452473),s=e.i(270401),l=e.i(332626),n=e.i(133974),i=e.i(779100),o=e.i(61291),c=e.i(586404),d=e.i(486977),m=e.i(497802),h=e.i(2819),u=e.i(382145),x=e.i(826742);function f(e){let a,s,l,c,d,f,j,y,S,N=(0,r.c)(23),{lanes:_}=e,v=(0,i.useLocale)();if(N[0]!==_||N[1]!==v){let e,r,i=(0,u.buildBudgetMatrix)(v,_);N[8]!==_?(e=new Set(_.map(p)).size>1||_.some(b),N[8]=_,N[9]=e):e=N[9];let j=e;f="overflow-x-auto border-b border-border",s=n.Table,N[10]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(n.TableCaption,{children:"Accuracy by search provider and search budget (maximum agent turns)."}),N[10]=c):c=N[10],N[11]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(n.TableHead,{className:"sticky left-0 z-10 min-w-36 bg-table",children:"Search provider"}),N[11]=r):r=N[11],d=(0,t.jsx)(n.TableHeader,{children:(0,t.jsxs)(n.TableRow,{children:[r,i.budgets.map(g)]})}),a=n.TableBody,l=i.rows.map(e=>(0,t.jsxs)(n.TableRow,{children:[(0,t.jsx)(n.TableRowHead,{className:"sticky left-0 z-10 bg-table font-medium",children:(0,t.jsx)(h.SearchEngineLabel,{engine:e.engine,glyphClassName:"size-5",model:[...e.cells.values()][0]?.model})}),i.budgets.map(r=>{let a=e.cells.get(r);return(0,t.jsx)(n.TableCell,{className:"text-right tabular-nums",children:void 0===a?(0,t.jsx)("span",{className:"text-muted-foreground","aria-label":`No ${(0,m.getSearchEngineMeta)(e.engine,[...e.cells.values()][0]?.model).fullLabel} run at ${(0,x.budgetDisplayLabel)(r)}`,children:"—"}):(0,t.jsxs)("span",{title:`${a.correct}/${a.total} correct`,children:[(0,t.jsx)("span",{className:"font-semibold text-foreground",children:(0,o.formatPercentPoints)(a.scorePercent,{locale:v,preset:"native-fixed-1"})??"—"}),j&&(0,t.jsx)("span",{className:"mt-0.5 block text-2xs text-muted-foreground",children:(0,m.modelNameWithReasoningEffort)(a.model,a.reasoningEffort)})]})},r)})]},e.id)),N[0]=_,N[1]=v,N[2]=a,N[3]=s,N[4]=l,N[5]=c,N[6]=d,N[7]=f}else a=N[2],s=N[3],l=N[4],c=N[5],d=N[6],f=N[7];return N[12]!==a||N[13]!==l?(j=(0,t.jsx)(a,{children:l}),N[12]=a,N[13]=l,N[14]=j):j=N[14],N[15]!==s||N[16]!==c||N[17]!==d||N[18]!==j?(y=(0,t.jsxs)(s,{children:[c,d,j]}),N[15]=s,N[16]=c,N[17]=d,N[18]=j,N[19]=y):y=N[19],N[20]!==f||N[21]!==y?(S=(0,t.jsx)("div",{className:f,children:y}),N[20]=f,N[21]=y,N[22]=S):S=N[22],S}function g(e){return(0,t.jsx)(n.TableHead,{className:"min-w-32 text-right",children:(0,t.jsx)(d.BenchmarkTerm,{explanation:"The maximum number of agent turns allowed for the search process. A run may use fewer turns.",children:(0,x.budgetDisplayLabel)(e)})},e)}function b(e){return(0,c.isDefinedAndNotNull)(e.reasoning_effort)}function p(e){return e.model_permaslug}var j=e.i(126154),y=e.i(648156),S=e.i(193975),N=e.i(370066);function _(e){let a,s,l=(0,r.c)(9),{lanes:n,colors:c}=e,d=(0,i.useLocale)();if(l[0]!==c||l[1]!==n||l[2]!==d){let e,r=(0,u.buildQualityRows)(d,n);l[4]!==c||l[5]!==d?(e=e=>(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)_4.5rem] items-center gap-3 border-b border-border/70 px-3 py-4 last:border-b-0 sm:grid-cols-[minmax(10rem,0.9fr)_minmax(14rem,2fr)_8rem]",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)(h.SearchEngineLabel,{engine:e.engine,className:"max-w-full text-sm font-medium",glyphClassName:"size-5",model:e.model}),(0,t.jsxs)("div",{className:"mt-1 truncate text-2xs text-muted-foreground",children:[(0,m.modelNameWithReasoningEffort)(e.model,e.reasoningEffort)," ",(0,t.jsx)(j.DotSeparator,{})," ",e.budgetDisplay]})]}),(0,t.jsx)(y.Tooltip,{content:(0,t.jsx)(L,{row:e}),children:(0,t.jsx)("div",{className:"relative col-span-2 h-7 w-full cursor-help bg-muted/60 sm:col-span-1",role:"img","aria-label":`${(0,m.getSearchEngineMeta)(e.engine,e.model).fullLabel}, ${(0,m.modelNameWithReasoningEffort)(e.model,e.reasoningEffort)}, ${e.budgetDisplay}: ${(0,S.formatNativeFixed)(e.scorePercent,{locale:d,fractionDigits:1})??"—"} percent correct, 95 percent confidence range ${(0,S.formatNativeFixed)(e.ciLow,{locale:d,fractionDigits:1})??"—"} to ${(0,S.formatNativeFixed)(e.ciHigh,{locale:d,fractionDigits:1})??"—"} percent`,children:(0,t.jsxs)("svg",{"aria-hidden":!0,className:"size-full",preserveAspectRatio:"none",viewBox:"0 0 100 28",children:[(0,t.jsx)("rect",{fill:c.get((0,m.searchEngineSeriesKey)(e.engine,e.model))??"hsl(var(--foreground))",height:"28",opacity:"0.7",width:v(e.scorePercent)}),(0,t.jsx)("line",{stroke:"currentColor",strokeOpacity:"0.7",x1:v(e.ciLow),x2:v(e.ciHigh),y1:"14",y2:"14"}),(0,t.jsx)("line",{stroke:"currentColor",strokeOpacity:"0.7",x1:v(e.ciLow),x2:v(e.ciLow),y1:"8",y2:"20"}),(0,t.jsx)("line",{stroke:"currentColor",strokeOpacity:"0.7",x1:v(e.ciHigh),x2:v(e.ciHigh),y1:"8",y2:"20"})]})})}),(0,t.jsx)("span",{className:"col-start-2 row-start-1 text-right text-sm font-semibold tabular-nums text-foreground sm:col-auto sm:row-auto",children:(0,o.formatPercentPoints)(e.scorePercent,{locale:d,preset:"native-fixed-1"})??"—"})]},e.id),l[4]=c,l[5]=d,l[6]=e):e=l[6],a=r.map(e),l[0]=c,l[1]=n,l[2]=d,l[3]=a}else a=l[3];return l[7]!==a?(s=(0,t.jsx)("div",{children:a}),l[7]=a,l[8]=s):s=l[8],s}function v(e){return Math.max(0,Math.min(100,e))}function L(e){let a,s,l,n,c,d,h,u,x,f,g,b,p,y,S,_,v,L,C,T=(0,r.c)(46),{row:M}=e,E=(0,i.useLocale)();T[0]!==M.engine||T[1]!==M.model?(a=(0,m.getSearchEngineMeta)(M.engine,M.model),T[0]=M.engine,T[1]=M.model,T[2]=a):a=T[2];let w=a.fullLabel;T[3]!==M.model||T[4]!==M.reasoningEffort?(s=(0,m.modelNameWithReasoningEffort)(M.model,M.reasoningEffort),T[3]=M.model,T[4]=M.reasoningEffort,T[5]=s):s=T[5];let A=s;return T[6]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(j.DotSeparator,{}),T[6]=l):l=T[6],T[7]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(j.DotSeparator,{}),T[7]=n):n=T[7],T[8]!==w||T[9]!==A||T[10]!==M.budgetDisplay?(c=(0,t.jsxs)("p",{className:"font-medium text-foreground",children:[w," ",l," ",A," ",n," ",M.budgetDisplay]}),T[8]=w,T[9]=A,T[10]=M.budgetDisplay,T[11]=c):c=T[11],T[12]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("dt",{className:"text-muted-foreground",children:"Correct answers"}),T[12]=d):d=T[12],T[13]!==E||T[14]!==M.scorePercent?(h=(0,o.formatPercentPoints)(M.scorePercent,{locale:E,preset:"native-fixed-1"})??"—",T[13]=E,T[14]=M.scorePercent,T[15]=h):h=T[15],T[16]!==h?(u=(0,t.jsx)("dd",{className:"text-right",children:h}),T[16]=h,T[17]=u):u=T[17],T[18]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("dt",{className:"text-muted-foreground",children:"Tasks"}),T[18]=x):x=T[18],T[19]!==E||T[20]!==M.correct?(f=(0,N.formatNumber)(M.correct,{locale:E,preset:"integer"})??"—",T[19]=E,T[20]=M.correct,T[21]=f):f=T[21],T[22]!==E||T[23]!==M.total?(g=(0,N.formatNumber)(M.total,{locale:E,preset:"integer"})??"—",T[22]=E,T[23]=M.total,T[24]=g):g=T[24],T[25]!==f||T[26]!==g?(b=(0,t.jsxs)("dd",{className:"text-right",children:[f," of"," ",g]}),T[25]=f,T[26]=g,T[27]=b):b=T[27],T[28]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("dt",{className:"text-muted-foreground",children:"95% confidence range"}),T[28]=p):p=T[28],T[29]!==E||T[30]!==M.ciLow?(y=(0,o.formatPercentPoints)(M.ciLow,{locale:E,preset:"native-fixed-1"})??"—",T[29]=E,T[30]=M.ciLow,T[31]=y):y=T[31],T[32]!==E||T[33]!==M.ciHigh?(S=(0,o.formatPercentPoints)(M.ciHigh,{locale:E,preset:"native-fixed-1"})??"—",T[32]=E,T[33]=M.ciHigh,T[34]=S):S=T[34],T[35]!==y||T[36]!==S?(_=(0,t.jsxs)("dd",{className:"text-right",children:[y,"–",S]}),T[35]=y,T[36]=S,T[37]=_):_=T[37],T[38]!==b||T[39]!==_||T[40]!==u?(v=(0,t.jsxs)("dl",{className:"mt-2 grid grid-cols-[auto_1fr] gap-x-4 gap-y-1 tabular-nums",children:[d,u,x,b,p,_]}),T[38]=b,T[39]=_,T[40]=u,T[41]=v):v=T[41],T[42]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)("p",{className:"mt-2 text-muted-foreground",children:"The whisker draws this 95% confidence range; wider ranges mean fewer samples and less certainty. This is the provider's strongest lane."}),T[42]=L):L=T[42],T[43]!==v||T[44]!==c?(C=(0,t.jsxs)("div",{className:"min-w-56",children:[c,v,L]}),T[43]=v,T[44]=c,T[45]=C):C=T[45],C}var C=e.i(56092),T=e.i(433110),M=e.i(539297),E=e.i(528164),w=e.i(956506),A=e.i(557225),P=e.i(759024),H=e.i(99074),D=e.i(477986),R=e.i(714170);let k=["score","cost","latency","samples"];function O(e){let a,l,o,c,d,u,f,g,b,p,j,y,S,_,v,L,C,O,V,$,F,z,U=(0,r.c)(55),{lanes:W,showModelIdentity:Q}=e,G=void 0!==Q&&Q,J=(0,i.useLocale)(),[X,Y]=(0,s.useState)("score"),[Z,ee]=(0,s.useState)("descending"),[et,er]=(0,s.useState)(!1),ea=(0,s.useId)();U[0]!==W?(a=new Map(W.toSorted(B).map(K)),U[0]=W,U[1]=a):a=U[1];let es=a;U[2]!==W||U[3]!==Z||U[4]!==X?(l=function({lanes:e,key:t,direction:r}){let a="ascending"===r?1:-1,s=e=>{switch(t){case"score":return e.score;case"cost":return(0,x.positiveMetric)(e.cost_per_task);case"latency":return(0,x.positiveMetric)((0,T.searchLatencyMeanMs)(e));case"samples":return e.total_samples;default:return t}};return e.toSorted((e,t)=>{let r=s(e),l=s(t);return null===r?+(null!==l):null===l?-1:a*(r-l)})}({lanes:W,key:X,direction:Z}),U[2]=W,U[3]=Z,U[4]=X,U[5]=l):l=U[5];let el=l;U[6]!==et||U[7]!==el?(o=et?el:el.slice(0,10),U[6]=et,U[7]=el,U[8]=o):o=U[8];let en=o,ei=Math.max(0,el.length-10);U[9]!==W?(c=W.some(I),U[9]=W,U[10]=c):c=U[10];let eo=c;U[11]===Symbol.for("react.memo_cache_sentinel")?(d=function(e){let t=k.find(t=>t===e?.key);if(null===e||void 0===t){Y("score"),ee("descending");return}Y(t),ee("asc"===e.direction?"ascending":"descending")},U[11]=d):d=U[11];let ec=d,ed="ascending"===Z?"asc":"desc";if(U[12]!==X||U[13]!==ed?(u={key:X,direction:ed},U[12]=X,U[13]=ed,U[14]=u):u=U[14],U[15]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(n.TableCaption,{children:"Every verified search configuration. Initially ranked by correct answers."}),U[15]=f):f=U[15],U[16]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(n.TableHead,{className:"w-10 text-right",children:"#"}),U[16]=g):g=U[16],U[17]!==G?(b=G&&(0,t.jsx)(n.TableHead,{children:"Model"}),U[17]=G,U[18]=b):b=U[18],U[19]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(n.TableHead,{children:"Search provider"}),U[19]=p):p=U[19],U[20]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)(n.TableHead,{children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:["Search budget",(0,t.jsx)(P.InfoTooltip,{children:"The maximum number of agent turns allowed for search. The run may use fewer turns."})]})}),U[20]=j):j=U[20],U[21]!==eo?(y=eo&&(0,t.jsx)(n.TableHead,{children:"Reasoning effort"}),U[21]=eo,U[22]=y):y=U[22],U[23]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(n.TableHead,{className:"text-right",sortKey:"score",sortFirstDirection:"descending",children:"Correct answers"}),_=(0,t.jsx)(n.TableHead,{className:"text-right",sortKey:"cost",children:"Cost / question"}),v=(0,t.jsx)(n.TableHead,{className:"text-right",sortKey:"latency",children:"Mean generation time / question"}),L=(0,t.jsx)(n.TableHead,{className:"text-right",sortKey:"samples",children:"Questions"}),U[23]=S,U[24]=_,U[25]=v,U[26]=L):(S=U[23],_=U[24],v=U[25],L=U[26]),U[27]!==b||U[28]!==y?(C=(0,t.jsx)(n.TableHeader,{children:(0,t.jsxs)(n.TableRow,{children:[g,b,p,j,y,S,_,v,L]})}),U[27]=b,U[28]=y,U[29]=C):C=U[29],U[30]!==J||U[31]!==es||U[32]!==G||U[33]!==eo||U[34]!==en){let e;U[36]!==J||U[37]!==es||U[38]!==G||U[39]!==eo?(e=e=>(0,t.jsxs)(n.TableRow,{children:[(0,t.jsx)(n.TableRowHead,{className:"text-right tabular-nums text-muted-foreground",children:es.get((0,x.laneKey)(e))}),G&&(0,t.jsx)(n.TableCell,{children:(0,t.jsxs)("span",{className:"flex min-w-36 items-center gap-2",children:[(0,t.jsx)(A.AuthorIcon,{author:e.model_permaslug.split("/")[0]??e.model_permaslug,className:"size-5",frame:!0}),(0,t.jsx)("span",{className:"font-medium",children:(0,m.modelNameFromPermaslug)(e.model_permaslug)})]})}),(0,t.jsx)(n.TableCell,{className:"font-medium",children:(0,t.jsx)(h.SearchEngineLabel,{engine:e.search_engine,glyphClassName:"size-5",model:e.model_permaslug})}),(0,t.jsx)(n.TableCell,{className:"text-muted-foreground",children:(0,x.budgetDisplayLabel)((0,M.budgetLabel)(e))}),eo&&(0,t.jsx)(n.TableCell,{className:"text-muted-foreground",children:e.reasoning_effort??""}),(0,t.jsx)(n.TableCell,{className:"text-right tabular-nums font-medium",children:(0,R.formatPercent)(J,e.score)}),(0,t.jsx)(n.TableCell,{className:"text-right tabular-nums",children:(0,R.formatCost)(J,(0,x.positiveMetric)(e.cost_per_task))}),(0,t.jsx)(n.TableCell,{className:"text-right tabular-nums",children:(0,R.formatDurationMs)(J,(0,x.positiveMetric)((0,T.searchLatencyMeanMs)(e)))}),(0,t.jsx)(n.TableCell,{className:"text-right tabular-nums text-muted-foreground",children:(0,N.formatNumber)(e.total_samples,{locale:J,preset:"integer"})??"—"})]},(0,x.laneKey)(e)),U[36]=J,U[37]=es,U[38]=G,U[39]=eo,U[40]=e):e=U[40],O=en.map(e),U[30]=J,U[31]=es,U[32]=G,U[33]=eo,U[34]=en,U[35]=O}else O=U[35];return U[41]!==O||U[42]!==ea?(V=(0,t.jsx)(n.TableBody,{id:ea,children:O}),U[41]=O,U[42]=ea,U[43]=V):V=U[43],U[44]!==C||U[45]!==V||U[46]!==u?($=(0,t.jsxs)(n.Table,{compact:!0,sort:u,onSortChange:ec,children:[f,C,V]}),U[44]=C,U[45]=V,U[46]=u,U[47]=$):$=U[47],U[48]!==ei||U[49]!==et||U[50]!==ea?(F=ei>0&&(0,t.jsx)("div",{className:"flex justify-center border-t border-border px-4 py-3",children:(0,t.jsxs)(E.Button,{"aria-controls":ea,"aria-expanded":et,onClick:()=>er(q),size:"sm",variant:"outline",children:[et?"Show less":`Show ${ei} more`,et?(0,t.jsx)(D.ChevronUp,{className:"size-4"}):(0,t.jsx)(H.ChevronDown,{className:"size-4"})]})}),U[48]=ei,U[49]=et,U[50]=ea,U[51]=F):F=U[51],U[52]!==$||U[53]!==F?(z=(0,t.jsxs)(w.Card,{className:"overflow-hidden",children:[$,F]}),U[52]=$,U[53]=F,U[54]=z):z=U[54],z}function q(e){return!e}function I(e){return(0,c.isDefinedAndNotNull)(e.reasoning_effort)}function K(e,t){return[(0,x.laneKey)(e),t+1]}function B(e,t){return t.score-e.score}var V=e.i(231701);function $(e){let a,s,l,n,c,d,h,u,f,g,b,p,j,y,S,N,_,v,L=(0,r.c)(61),{kind:C,lanes:T,colors:M,models:E,model:w,onModelChange:A}=e,P=(0,i.useLocale)();if(L[0]!==M||L[1]!==C||L[2]!==T||L[3]!==P||L[4]!==w||L[5]!==E||L[6]!==A){let e,r,i,N,_,v,H,D;L[22]!==C?(e=e=>{let t="cost"===C?e.costPerTask:e.latencyMs;return null===t?[]:[{...e,metricValue:t,isPareto:"cost"===C?e.isCostPareto:e.isLatencyPareto}]},L[22]=C,L[23]=e):e=L[23];let R=(0,x.buildEfficiencyPoints)(T).flatMap(e),k="cost"===C?"Price versus quality":"Mean generation time versus quality";a=V.SearchEfficiencyChart,b=C,p=R,j=M,y=E,S=w,l=A,n="Score",L[24]!==C?(c=(0,t.jsx)(F,{kind:C}),d=(0,t.jsxs)(t.Fragment,{children:["No valid ",C," telemetry for this model."]}),L[24]=C,L[25]=c,L[26]=d):(c=L[25],d=L[26]),h=`${k} for ${R.length} verified search configurations with a Pareto frontier line. Exact values follow in an accessible table.`,u="sr-only",L[27]!==k?(f=(0,t.jsxs)("caption",{children:[k,", exact configuration values"]}),L[27]=k,L[28]=f):f=L[28],L[29]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("th",{children:"Search provider"}),i=(0,t.jsx)("th",{children:"Model"}),N=(0,t.jsx)("th",{children:"Search budget"}),_=(0,t.jsx)("th",{children:"Answer quality"}),L[29]=r,L[30]=i,L[31]=N,L[32]=_):(r=L[29],i=L[30],N=L[31],_=L[32]);let O="cost"===C?"Cost per question":"Mean generation time";L[33]!==O?(v=(0,t.jsx)("th",{children:O}),L[33]=O,L[34]=v):v=L[34],L[35]===Symbol.for("react.memo_cache_sentinel")?(H=(0,t.jsx)("th",{children:"On the efficiency and quality frontier"}),L[35]=H):H=L[35],L[36]!==v?(g=(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[r,i,N,_,v,H]})}),L[36]=v,L[37]=g):g=L[37],L[38]!==C||L[39]!==P?(D=e=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,m.getSearchEngineMeta)(e.engine,e.model).fullLabel}),(0,t.jsx)("td",{children:e.modelName}),(0,t.jsx)("td",{children:e.budget}),(0,t.jsx)("td",{children:(0,o.formatPercentPoints)(e.scorePercent,{locale:P,preset:"native-fixed-1"})??"—"}),(0,t.jsx)("td",{children:(0,V.formatSearchEfficiencyValue)(P,C,e.metricValue)}),(0,t.jsx)("td",{children:e.isPareto?"yes":"no"})]},e.id),L[38]=C,L[39]=P,L[40]=D):D=L[40],s=R.map(D),L[0]=M,L[1]=C,L[2]=T,L[3]=P,L[4]=w,L[5]=E,L[6]=A,L[7]=a,L[8]=s,L[9]=l,L[10]=n,L[11]=c,L[12]=d,L[13]=h,L[14]=u,L[15]=f,L[16]=g,L[17]=b,L[18]=p,L[19]=j,L[20]=y,L[21]=S}else a=L[7],s=L[8],l=L[9],n=L[10],c=L[11],d=L[12],h=L[13],u=L[14],f=L[15],g=L[16],b=L[17],p=L[18],j=L[19],y=L[20],S=L[21];return L[41]!==s?(N=(0,t.jsx)("tbody",{children:s}),L[41]=s,L[42]=N):N=L[42],L[43]!==N||L[44]!==u||L[45]!==f||L[46]!==g?(_=(0,t.jsxs)("table",{className:u,children:[f,g,N]}),L[43]=N,L[44]=u,L[45]=f,L[46]=g,L[47]=_):_=L[47],L[48]!==a||L[49]!==l||L[50]!==n||L[51]!==c||L[52]!==d||L[53]!==h||L[54]!==_||L[55]!==b||L[56]!==p||L[57]!==j||L[58]!==y||L[59]!==S?(v=(0,t.jsx)(a,{kind:b,points:p,colors:j,models:y,model:S,onModelChange:l,yAxisName:n,tooltipContent:c,emptyText:d,chartAriaLabel:h,accessibleFallback:_}),L[48]=a,L[49]=l,L[50]=n,L[51]=c,L[52]=d,L[53]=h,L[54]=_,L[55]=b,L[56]=p,L[57]=j,L[58]=y,L[59]=S,L[60]=v):v=L[60],v}function F(e){let a,s,l,n,c,d,m,u,x,f,g,b,p=(0,r.c)(33),{active:y,payload:S,kind:N}=e,_=(0,i.useLocale)(),v=S?.[0]?.payload;if(!y||void 0===v)return null;p[0]!==v.engine||p[1]!==v.model?(a=(0,t.jsx)(h.SearchEngineLabel,{engine:v.engine,className:"font-medium text-foreground",glyphClassName:"size-4",model:v.model}),p[0]=v.engine,p[1]=v.model,p[2]=a):a=p[2],p[3]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(j.DotSeparator,{}),p[3]=s):s=p[3],p[4]!==v.budget||p[5]!==v.modelName?(l=(0,t.jsxs)("p",{className:"mt-1 text-muted-foreground",children:[v.modelName," ",s," ",v.budget]}),p[4]=v.budget,p[5]=v.modelName,p[6]=l):l=p[6],p[7]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("dt",{className:"text-muted-foreground",children:"Score"}),p[7]=n):n=p[7],p[8]!==_||p[9]!==v.scorePercent?(c=(0,o.formatPercentPoints)(v.scorePercent,{locale:_,preset:"native-fixed-1"})??"—",p[8]=_,p[9]=v.scorePercent,p[10]=c):c=p[10],p[11]!==c?(d=(0,t.jsx)("dd",{className:"text-right",children:c}),p[11]=c,p[12]=d):d=p[12];let L="cost"===N?"Average cost / question":"Mean generation time";return p[13]!==L?(m=(0,t.jsx)("dt",{className:"text-muted-foreground",children:L}),p[13]=L,p[14]=m):m=p[14],p[15]!==N||p[16]!==_||p[17]!==v.metricValue?(u=(0,V.formatSearchEfficiencyValue)(_,N,v.metricValue),p[15]=N,p[16]=_,p[17]=v.metricValue,p[18]=u):u=p[18],p[19]!==u?(x=(0,t.jsx)("dd",{className:"text-right",children:u}),p[19]=u,p[20]=x):x=p[20],p[21]!==N||p[22]!==v.isPareto?(f=v.isPareto&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:"cost"===N?"Cost and quality":"Time and quality"}),(0,t.jsx)("dd",{className:"text-right",children:"On the frontier"})]}),p[21]=N,p[22]=v.isPareto,p[23]=f):f=p[23],p[24]!==x||p[25]!==f||p[26]!==d||p[27]!==m?(g=(0,t.jsxs)("dl",{className:"mt-2 grid grid-cols-2 gap-x-4 gap-y-1 tabular-nums",children:[n,d,m,x,f]}),p[24]=x,p[25]=f,p[26]=d,p[27]=m,p[28]=g):g=p[28],p[29]!==a||p[30]!==g||p[31]!==l?(b=(0,t.jsxs)("div",{className:"min-w-44 border border-border bg-popover px-3 py-2 text-xs shadow-md",children:[a,l,g]}),p[29]=a,p[30]=g,p[31]=l,p[32]=b):b=p[32],b}var z=e.i(788606),U=e.i(893348);e.s(["SearchSuiteDashboard",0,function(e){var n,i;let o,c,d,h,u,g,b,p,j,y,S,N,v,L,T,M,E,w,A,P,H,D,R,k,q,I,K,B,V,F,W,Q=(0,r.c)(85),{lanes:G,copy:J,modelNamesByPermaslug:X}=e;Q[0]!==G||Q[1]!==X?(o=(0,x.listModels)(G,X),Q[0]=G,Q[1]=X,Q[2]=o):o=Q[2];let Y=o,[Z,ee]=(0,s.useState)(x.ALL_MODELS_VALUE),[et,er]=(0,s.useState)(x.ALL_MODELS_VALUE),[ea,es]=(0,s.useState)(x.ALL_MODELS_VALUE),[el,en]=(0,s.useState)(x.ALL_MODELS_VALUE),[ei,eo]=(0,s.useState)(x.ALL_MODELS_VALUE);if(0===Y.length)return null;if(Q[3]!==el||Q[4]!==G||Q[5]!==ea||Q[6]!==ei||Q[7]!==et||Q[8]!==Z){let e,t;p=(0,x.lanesForModel)(G,Z),g=(0,x.lanesForModel)(G,et),d=(0,x.lanesForModel)(G,ea),Q[17]!==el||Q[18]!==G?(e=(0,x.lanesForModel)(G,el),Q[17]=el,Q[18]=G,Q[19]=e):e=Q[19],c=e,Q[20]!==G||Q[21]!==ei?(t=(0,x.lanesForModel)(G,ei),Q[20]=G,Q[21]=ei,Q[22]=t):t=Q[22],h=t,b=(0,m.createSearchEngineColorMapping)(p),u=(0,m.createSearchEngineColorMapping)(g),j=(0,m.createSearchEngineColorMapping)(d),Q[3]=el,Q[4]=G,Q[5]=ea,Q[6]=ei,Q[7]=et,Q[8]=Z,Q[9]=c,Q[10]=d,Q[11]=h,Q[12]=u,Q[13]=g,Q[14]=b,Q[15]=p,Q[16]=j}else c=Q[9],d=Q[10],h=Q[11],u=Q[12],g=Q[13],b=Q[14],p=Q[15],j=Q[16];let ec=j;Q[23]===Symbol.for("react.memo_cache_sentinel")?(y=(0,a.cn)("flex flex-col gap-5 border-t border-border pt-8",l.BENCHMARK_SECTION_SCROLL_MT_CLASS),Q[23]=y):y=Q[23],Q[24]!==J.quality?(S=(0,t.jsx)(C.SearchDashboardSectionHeading,{index:"02",title:"Quality results",description:J.quality}),Q[24]=J.quality,Q[25]=S):S=Q[25],Q[26]!==Y||Q[27]!==Z?(N=(0,t.jsx)(z.SearchModelTabs,{ariaLabel:"Model for overall quality",models:Y,value:Z,onValueChange:ee}),Q[26]=Y,Q[27]=Z,Q[28]=N):N=Q[28],Q[29]!==b||Q[30]!==p?(v=(0,t.jsx)(_,{lanes:p,colors:b}),Q[29]=b,Q[30]=p,Q[31]=v):v=Q[31],Q[32]!==S||Q[33]!==N||Q[34]!==v?(L=(0,t.jsxs)("section",{id:U.SEARCH_BENCHMARK_SECTION_IDS.quality,className:y,children:[S,N,v]}),Q[32]=S,Q[33]=N,Q[34]=v,Q[35]=L):L=Q[35],Q[36]===Symbol.for("react.memo_cache_sentinel")?(T=(0,a.cn)("flex flex-col gap-5 border-t border-border pt-8",l.BENCHMARK_SECTION_SCROLL_MT_CLASS),M=(0,t.jsx)(C.SearchDashboardSectionHeading,{index:"03",title:"Price and speed",description:"Compare answer quality with average cost and mean generation time per question. The Pareto line shows the best quality available at each price or time level."}),Q[36]=T,Q[37]=M):(T=Q[36],M=Q[37]),Q[38]!==Y||Q[39]!==u||Q[40]!==g||Q[41]!==et?(E=(0,t.jsx)($,{kind:"cost",lanes:g,colors:u,models:Y,model:et,onModelChange:er}),Q[38]=Y,Q[39]=u,Q[40]=g,Q[41]=et,Q[42]=E):E=Q[42],Q[43]!==ec||Q[44]!==d||Q[45]!==ea||Q[46]!==Y?(w=(0,t.jsx)($,{kind:"latency",lanes:d,colors:ec,models:Y,model:ea,onModelChange:es}),Q[43]=ec,Q[44]=d,Q[45]=ea,Q[46]=Y,Q[47]=w):w=Q[47],Q[48]!==E||Q[49]!==w?(A=(0,t.jsxs)("section",{id:U.SEARCH_BENCHMARK_SECTION_IDS.efficiency,className:T,children:[M,(0,t.jsxs)("div",{className:"grid gap-4",children:[E,w]})]}),Q[48]=E,Q[49]=w,Q[50]=A):A=Q[50],Q[51]===Symbol.for("react.memo_cache_sentinel")?(P=(0,a.cn)("flex flex-col gap-5 border-t border-border pt-8",l.BENCHMARK_SECTION_SCROLL_MT_CLASS),Q[51]=P):P=Q[51],Q[52]!==J.depth||Q[53]!==J.depthTitle?(H=(0,t.jsx)(C.SearchDashboardSectionHeading,{index:"04",title:J.depthTitle,description:J.depth}),Q[52]=J.depth,Q[53]=J.depthTitle,Q[54]=H):H=Q[54],Q[55]!==el||Q[56]!==Y?(D=(0,t.jsx)(z.SearchModelTabs,{ariaLabel:"Model for search depth",models:Y,value:el,onValueChange:en}),Q[55]=el,Q[56]=Y,Q[57]=D):D=Q[57],Q[58]!==c?(R=(0,t.jsx)(f,{lanes:c}),Q[58]=c,Q[59]=R):R=Q[59],Q[60]!==H||Q[61]!==D||Q[62]!==R?(k=(0,t.jsxs)("section",{id:U.SEARCH_BENCHMARK_SECTION_IDS.depth,className:P,children:[H,D,R]}),Q[60]=H,Q[61]=D,Q[62]=R,Q[63]=k):k=Q[63],Q[64]===Symbol.for("react.memo_cache_sentinel")?(q=(0,a.cn)("flex flex-col gap-5",l.BENCHMARK_SECTION_SCROLL_MT_CLASS),Q[64]=q):q=Q[64],Q[65]!==ei||Q[66]!==Y?(n=Y,I=(i=ei)===x.ALL_MODELS_VALUE?"all models":n.find(e=>e.id===i)?.name??"selected model",Q[65]=ei,Q[66]=Y,Q[67]=I):I=Q[67];let ed=`Every verified configuration for ${I}. Sort by quality, cost, speed, or question count.`;Q[68]!==ed?(K=(0,t.jsx)(C.SearchDashboardSectionHeading,{index:"05",title:"All search configurations",description:ed}),Q[68]=ed,Q[69]=K):K=Q[69],Q[70]!==ei||Q[71]!==Y?(B=(0,t.jsx)(z.SearchModelTabs,{ariaLabel:"Model for all search configurations",models:Y,value:ei,onValueChange:eo,allLabel:"All"}),Q[70]=ei,Q[71]=Y,Q[72]=B):B=Q[72];let em=ei===x.ALL_MODELS_VALUE;return Q[73]!==h||Q[74]!==em?(V=(0,t.jsx)(O,{lanes:h,showModelIdentity:em}),Q[73]=h,Q[74]=em,Q[75]=V):V=Q[75],Q[76]!==K||Q[77]!==B||Q[78]!==V?(F=(0,t.jsxs)("section",{id:U.SEARCH_BENCHMARK_SECTION_IDS.leaderboard,className:q,children:[K,B,V]}),Q[76]=K,Q[77]=B,Q[78]=V,Q[79]=F):F=Q[79],Q[80]!==A||Q[81]!==k||Q[82]!==F||Q[83]!==L?(W=(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[L,A,k,F]}),Q[80]=A,Q[81]=k,Q[82]=F,Q[83]=L,Q[84]=W):W=Q[84],W}],270095)}]); //# sourceMappingURL=3gsayaxc26g6k.js.map //# chunkId=01a09684-07c0-7290-aa26-7812908d9f2d