(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,482128,e=>{"use strict";var t=e.i(651681);let n={name:"blocks",size:24,node:[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i],482128)},729104,e=>{"use strict";var t=e.i(651681);let n={name:"dollar-sign",size:24,node:[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i],729104)},121514,e=>{"use strict";var t=e.i(651681);let n={name:"route",size:24,node:[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i])},856883,e=>{"use strict";var t=e.i(121514);e.s(["f",()=>t.f])},939173,e=>{"use strict";var t=e.i(651681);let n={name:"trending-up",size:24,node:[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i],939173)},654678,e=>{"use strict";var t=e.i(357321);e.s(["f",()=>t.f])},126801,e=>{"use strict";e.s(["f",0,function(e){return e.toISOString().replace("T"," ").split(".")[0]}])},208977,e=>{"use strict";function t(e){if(Number.isNaN(e))return"—";let t=Math.round(e);return t>999?">999%":t<-999?"<-999%":t>0?`+${t}%`:`${t}%`}e.s(["S",0,t,"U",0,function(e){if(Number.isNaN(e))return"—";let t=Math.abs(Math.round(e));return t>999?">999%":`${t}%`},"T",0,function(e,t){if(!Number.isFinite(e))return t;let n=Math.round(e);return 999>=Math.abs(n)?t:`${n.toLocaleString("en-US")}% — ${t}`},"V",0,function(e){return e>=1e12?`${(e/1e12).toFixed(1)}T`:e>=1e9?`${(e/1e9).toFixed(1)}B`:e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toString()},"Z",0,function(e){return t(e/100)}])},153722,e=>{"use strict";e.s(["z",0,function(e){let t=e.split("/")[0];if(!t)return null;let n=t.startsWith("~")?t.slice(1):t;return 0===n.length?null:n},"O",0,function(e){if(!e.startsWith("~")||!e.endsWith("-latest"))return!1;let[t,...n]=e.slice(1).split("/");if(!t||0===n.length)return!1;let i=n.join("/");return 0!==i.length&&"-latest"!==i}])},333131,e=>{"use strict";e.i(988590);var t=e.i(393182);function n(e,{autoViaJev:i=!1}={}){return e===t.f.JevRouter||e===t.f.AutoBeta||e===t.f.AutoCode||void 0!==function(e){if(e!==t.f.Auto)return e?.match(/^([a-z0-9]+(?:-[a-z0-9]+)*)\/auto$/)?.[1]}(e)||i&&e===t.f.Auto}let i=new Map([[t.f.Phaser,t.f.AutoBeta]]);e.s(["j",0,{AnthropicClaudeFable:"~anthropic/claude-fable-latest",AnthropicClaudeOpus:"~anthropic/claude-opus-latest",AnthropicClaudeSonnet:"~anthropic/claude-sonnet-latest",AnthropicClaudeHaiku:"~anthropic/claude-haiku-latest",GoogleGeminiPro:"~google/gemini-pro-latest",GoogleGeminiFlash:"~google/gemini-flash-latest",OpenAIGpt:"~openai/gpt-latest",OpenAIGptSol:"~openai/gpt-sol-latest",OpenAIGptAstra:"~openai/gpt-astra-latest",XAIGrok:"~x-ai/grok-latest",OpenAIGptMini:"~openai/gpt-mini-latest",MoonshotKimi:"~moonshotai/kimi-latest"},"x",0,i,"n",0,function(e){return n(e,{autoViaJev:!0})},"Q",0,n])},219643,e=>{"use strict";e.i(427150);var t=e.i(368966);let n={[t.E.Max]:[t.E.XHigh,t.E.High,t.E.Medium,t.E.Low],[t.E.XHigh]:[t.E.High,t.E.Medium,t.E.Low],[t.E.Minimal]:[t.E.Low,t.E.Medium,t.E.High],[t.E.None]:[],[t.E.Low]:[t.E.Medium,t.E.High],[t.E.Medium]:[t.E.Low,t.E.High],[t.E.High]:[t.E.Medium,t.E.Low]};Object.values(t.V).reverse(),e.s(["w",0,function(e){let n=e?.supported_reasoning_efforts;return n&&0!==n.length?e.is_mandatory_reasoning?[...n]:[...n,t.E.None]:null},"$",0,function(e,t){if(!e)return;if(!t||0===t.length)return e;let i=new Set(t);if(i.has(e))return e;for(let t of n[e])if(i.has(t))return t}])},851671,e=>{"use strict";e.s(["f",0,"v6"])},98988,e=>{"use strict";let t={Composite:"composite",Reasoning:"reasoning",Coding:"coding",Math:"math",Knowledge:"knowledge",Other:"other"},n={artificial_analysis_intelligence_index:{label:"Intelligence Index",description:"Overall intelligence score (v4.0.2)",category:t.Composite,priority:1,isFraction:!1,fullDescription:"Combines 10 evaluations across four weighted categories (25% each): Agents, Coding, General, and Scientific Reasoning. Includes GDPval-AA, τ²-Bench Telecom, Terminal-Bench Hard, SciCode, AA-LCR, AA-Omniscience, IFBench, Humanity's Last Exam, GPQA Diamond, and CritPt.",officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",evaluator:"Artificial Analysis",domain:"General Intelligence"},artificial_analysis_coding_index:{label:"Coding Index",description:"Composite coding capability score",category:t.Composite,priority:2,isFraction:!1,fullDescription:"An aggregated score measuring programming proficiency across competitive programming, scientific computing, and practical coding challenges. Combines results from LiveCodeBench, SciCode, and other coding evaluations.",evaluator:"Artificial Analysis",domain:"Software Engineering"},artificial_analysis_math_index:{label:"Math Index",description:"Composite mathematical reasoning score",category:t.Composite,priority:3,isFraction:!1,fullDescription:"A composite metric evaluating mathematical problem-solving across competition-level mathematics. Combines performance on MATH 500, AIME, and other mathematical reasoning benchmarks.",evaluator:"Artificial Analysis",domain:"Mathematical Reasoning"},artificial_analysis_agentic_index:{label:"Agentic Index",description:"Composite agentic capability score",category:t.Composite,priority:4,isFraction:!1,fullDescription:"A composite metric evaluating agentic capabilities across tool use, planning, and multi-step task execution benchmarks.",officialLink:"https://artificialanalysis.ai/leaderboards/agentic",evaluator:"Artificial Analysis",domain:"Agentic Capabilities"},mmlu_pro:{label:"MMLU-Pro",description:"Advanced knowledge assessment",category:t.Knowledge,priority:1,isFraction:!0,fullDescription:"Advanced knowledge assessment with 12,032 questions across multiple domains in 10-option multiple choice format. This is a standalone evaluation separate from the Intelligence Index.",officialLink:"https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro",evaluator:"TIGER Lab",domain:"Multidisciplinary Knowledge"},gpqa:{label:"GPQA Diamond",description:"Graduate-level scientific reasoning",category:t.Reasoning,priority:1,isFraction:!0,fullDescription:"Graduate-level scientific reasoning with 198 questions covering biology, physics, and chemistry in 4-option multiple choice format. Part of Intelligence Index v4.0.2 Scientific Reasoning category (25% weight).",officialLink:"https://arxiv.org/abs/2311.12022",evaluator:"NYU & Collaborators",domain:"Scientific Reasoning"},hle:{label:"HLE",description:"Humanity's Last Exam",category:t.Reasoning,priority:2,isFraction:!0,fullDescription:"Frontier academic benchmark from Centre for AI Safety featuring 2,158 text-only questions across mathematics, humanities, and natural sciences. Part of Intelligence Index v4.0.2 Scientific Reasoning category (25% weight).",officialLink:"https://arxiv.org/abs/2501.14249",evaluator:"Centre for AI Safety",domain:"Academic Knowledge"},ifbench:{label:"IFBench",description:"Instruction-following benchmark",category:t.Reasoning,priority:3,isFraction:!0,fullDescription:"Instruction-following benchmark with 294 single-turn questions testing counting, formatting, and text manipulation skills. Part of Intelligence Index v4.0.2 General category (25% weight).",officialLink:"https://arxiv.org/abs/2311.07911",evaluator:"Google Research",domain:"Instruction Following"},tau2:{label:"τ²-Bench Telecom",description:"Conversational AI agents in dual-control scenarios",category:t.Reasoning,priority:4,isFraction:!0,fullDescription:'Tests conversational AI agents in dual-control scenarios with 114 tasks where language models simulate both agent and user roles. Measures planning and tool use through "world state" evaluation determining task success. Part of Intelligence Index v4.0.2 Agents category (25% weight).',officialLink:"https://arxiv.org/abs/2506.07982",evaluator:"CMU & MBZUAI",domain:"Agentic Planning & Tool Use"},gdpval_aa:{label:"GDPval-AA",description:"Economically valuable tasks",category:t.Reasoning,priority:6,isFraction:!0,fullDescription:"Evaluates language models on economically valuable tasks spanning 44 US occupations. Features 220 tasks scored via pairwise comparison (ELO rating system). Models complete real-world work tasks with file outputs, assessed blindly by Gemini 3 Pro. Part of Intelligence Index v4.0.2 Agents category (25% weight).",officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",evaluator:"Artificial Analysis",domain:"Real-World Tasks"},aa_omniscience:{label:"AA-Omniscience",description:"Knowledge and hallucination benchmark",category:t.Knowledge,priority:2,isFraction:!0,fullDescription:"Knowledge and hallucination benchmark containing 6,000 questions across 42 topics. Rewards correct answers, penalizes hallucinations, and neutralizes abstentions. Part of Intelligence Index v4.0.2 General category (25% weight).",officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",evaluator:"Artificial Analysis",domain:"Knowledge & Factuality"},aa_omniscience_accuracy:{label:"AA-Omniscience Accuracy",description:"Proportion of correctly answered questions",category:t.Knowledge,priority:3,isFraction:!0,fullDescription:"Measures the proportion of correctly answered questions out of all questions, regardless of whether the model chooses to answer.",officialLink:"https://artificialanalysis.ai/evaluations/omniscience",evaluator:"Artificial Analysis",domain:"Knowledge & Factuality"},aa_omniscience_non_hallucination_rate:{label:"AA-Omniscience Non-Hallucination Rate",description:"Rate of avoiding hallucination among non-correct responses",category:t.Knowledge,priority:4,isFraction:!0,fullDescription:"Measures how often the model avoids hallucinating when it does not know the correct answer. Defined as 1 minus the hallucination rate, i.e. (partial answers + not attempted) / (incorrect + partial answers + not attempted). Higher scores indicate fewer hallucinations.",officialLink:"https://artificialanalysis.ai/evaluations/omniscience",evaluator:"Artificial Analysis",domain:"Knowledge & Factuality"},critpt:{label:"CritPt",description:"Research-level physics reasoning",category:t.Reasoning,priority:7,isFraction:!0,fullDescription:"Research-level physics reasoning with 70 unpublished frontier physics problems accepting numerical answers, symbolic expressions, or Python functions. Part of Intelligence Index v4.0.2 Scientific Reasoning category (25% weight).",officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",evaluator:"Various",domain:"Frontier Physics"},livecodebench:{label:"LiveCodeBench",description:"Python programming benchmark",category:t.Coding,priority:1,isFraction:!0,fullDescription:"Python programming with 315 problems from LeetCode, AtCoder, and Codeforces requiring passing unit tests. Standalone evaluation separate from the Intelligence Index.",officialLink:"https://livecodebench.github.io/",evaluator:"CMU, MBZUAI, UC Berkeley & MIT",domain:"Competitive Programming"},scicode:{label:"SciCode",description:"Python programming for scientific computing",category:t.Coding,priority:2,isFraction:!0,fullDescription:"Python programming benchmark with 338 subproblems solving scientific computing tasks. Includes scientist-annotated background information; all unit tests must pass for scoring. Part of Intelligence Index v4.0.2 Coding category (25% weight).",officialLink:"https://scicode-bench.github.io/",evaluator:"Various",domain:"Scientific Computing"},lcr:{label:"AA-LCR",description:"Long context reasoning evaluation",category:t.Reasoning,priority:5,isFraction:!0,fullDescription:"Long context reasoning evaluation with 100 hard questions spanning 7 document categories (~100k tokens each). Tests reasoning across company reports, legal documents, and academic materials. Part of Intelligence Index v4.0.2 General category (25% weight).",officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",evaluator:"Artificial Analysis",domain:"Long Context Reasoning"},terminalbench_hard:{label:"Terminal-Bench Hard",description:"Agentic coding & terminal use",category:t.Coding,priority:3,isFraction:!0,fullDescription:"Co-developed by Stanford researchers, contains 44 agentic tasks requiring terminal-based execution including software engineering and system administration. Success requires passing all task-specific test suites. Part of Intelligence Index v4.0.2 Coding category (25% weight).",officialLink:"https://arxiv.org/abs/2601.11868",evaluator:"Stanford & Collaborators",domain:"Agentic Terminal Tasks"},terminalbench_v4_0:{label:"Terminal-Bench 4.0",description:"Agentic coding & terminal use",category:t.Coding,priority:4,isFraction:!0,fullDescription:"Agentic tasks requiring terminal-based execution, including software engineering and system administration. Replaced Terminal-Bench 2.1 in Intelligence Index v4.3.",officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",evaluator:"Stanford & Collaborators",domain:"Agentic Terminal Tasks"},terminalbench_v2_1:{label:"Terminal-Bench 2.1",description:"Agentic coding & terminal use",category:t.Coding,priority:5,isFraction:!0,fullDescription:"Agentic tasks requiring terminal-based execution. Part of the Coding Index; no longer run on new models after Intelligence Index v4.3.",officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",evaluator:"Stanford & Collaborators",domain:"Agentic Terminal Tasks"},tau_banking:{label:"τ-Bench Banking",description:"Agentic tool use in a banking domain",category:t.Reasoning,priority:6,isFraction:!0,officialLink:"https://artificialanalysis.ai/methodology/intelligence-benchmarking",domain:"Agentic Tool Use"},aime_25:{label:"AIME 2025",description:"Competition mathematics",category:t.Math,priority:1,isFraction:!0,fullDescription:"Competition mathematics with 30 problems requiring integer answers 1–999 (10 repeats per question). Standalone evaluation separate from the Intelligence Index.",officialLink:"https://www.maa.org/math-competitions/aime",evaluator:"MAA",domain:"Competition Mathematics"},aime:{label:"AIME",description:"Competition mathematics",category:t.Math,priority:2,isFraction:!0,officialLink:"https://www.maa.org/math-competitions/aime",evaluator:"MAA",domain:"Competition Mathematics"},math_500:{label:"MATH-500",description:"Competition mathematics problems",category:t.Math,priority:3,isFraction:!0,domain:"Mathematical Reasoning"}};e.s(["Z",0,t,"R",0,function(e){let i={[t.Composite]:"Overall Indices",[t.Reasoning]:"Reasoning",[t.Coding]:"Coding",[t.Math]:"Mathematics",[t.Knowledge]:"Knowledge",[t.Other]:"Other Benchmarks"},r=[t.Composite,t.Reasoning,t.Coding,t.Knowledge,t.Math,t.Other],a=new Map;for(let[i,r]of Object.entries(e)){let e=function(e){let i=n[e];if(i)return i;let r=e.replaceAll("_"," ").replaceAll(/\b\w/g,e=>e.toUpperCase()).replace(/^Aa /,"Artificial Analysis ");return{label:r,description:`${r} benchmark score`,category:t.Other,priority:100,isFraction:!0}}(i),l=e.category;a.has(l)||a.set(l,[]),a.get(l).push({key:i,value:r,metadata:e})}for(let e of a.values())e.sort((e,t)=>e.metadata.priority-t.metadata.priority);let l=[];for(let e of r){let t=a.get(e);t&&t.length>0&&l.push({category:e,label:i[e],evals:t})}return l}])},353273,e=>{"use strict";var t=e.i(882844),n=e.i(635157);let i={Llm:"llm",TextToImage:"text-to-image",TextToVideo:"text-to-video",ImageToVideo:"image-to-video",TextToSpeech:"text-to-speech",ImageEditing:"image-editing"},r=n.z.object({id:n.z.string(),name:n.z.string(),slug:n.z.string()}),a=n.z.object({id:n.z.string(),slug:n.z.string(),name:n.z.string(),model_creator:r,evaluations:n.z.record(n.z.string(),(0,t.$)().nullable()).optional(),openrouter_api_id:n.z.string().nullish(),huggingface_url:n.z.string().nullish(),pricing:n.z.object({price_1m_input_tokens:(0,t.$)().nullish(),price_1m_output_tokens:(0,t.$)().nullish(),price_1m_blended_3_to_1:(0,t.$)().nullish()}).nullish(),median_output_tokens_per_second:(0,t.$)().nullish(),median_time_to_first_token_seconds:(0,t.$)().nullish(),context_window:(0,t.D)().nullish()});n.z.object({data:n.z.array(a)});let l=n.z.object({style_category:n.z.string().nullish(),subject_matter_category:n.z.string().nullish(),format_category:n.z.string().nullish(),elo:(0,t.D)(),ci95:n.z.string(),appearances:(0,t.D)()}),s=n.z.object({model_type:n.z.literal(i.Llm),evaluations:n.z.record(n.z.string(),(0,t.$)().nullable())}),o=n.z.enum([i.TextToImage,i.TextToVideo,i.ImageToVideo,i.TextToSpeech,i.ImageEditing]),c=n.z.object({model_type:o,elo:(0,t.D)(),rank:(0,t.D)(),ci95:n.z.string(),appearances:(0,t.D)().nullable(),categories:n.z.array(l).optional(),elo_min:(0,t.D)().nullable().optional(),elo_max:(0,t.D)().nullable().optional()}),u=n.z.discriminatedUnion("model_type",[s,c]);n.z.object({aa_id:n.z.string(),aa_slug:n.z.string(),aa_name:n.z.string(),permaslug:n.z.string().nullable(),openrouter_slug:n.z.string().nullable(),heuristic_openrouter_slug:n.z.string().nullable(),benchmark_data:u,last_updated_at:(0,t.D)(),percentiles:n.z.object({intelligence_percentile:(0,t.D)().nullable(),coding_percentile:(0,t.D)().nullable(),agentic_percentile:(0,t.D)().nullable()}).optional()}),e.s(["f",0,i])},560832,e=>{"use strict";var t=e.i(427150);function n(e){return{intelligence:e.artificial_analysis_intelligence_index??null,coding:e.artificial_analysis_coding_index??null,agentic:e.artificial_analysis_agentic_index??null}}e.s(["o",0,66,"c",0,33,"m",0,n,"x",0,function(e){return`${(100*e).toFixed(1)}%`},"C",0,function(e){return 100*e},"l",0,function(e){return e>=.66?"green":e>=.33?"orange":"red"},"$",0,function(e){return e.length<=1?0:e.reduce((e,n,i)=>{let r=function(e){let n=e.percentiles;if(!n)return null;let i=[n.intelligence_percentile,n.coding_percentile,n.agentic_percentile].filter(t.f);return 0===i.length?null:i.reduce((e,t)=>e+t,0)/i.length}(n);return(0,t.f)(r)&&r>e.bestAvg?{bestIdx:i,bestAvg:r}:e},{bestIdx:0,bestAvg:-1/0}).bestIdx},"n",0,function(e){let t=n(e);return null!==t.intelligence||null!==t.coding||null!==t.agentic}])},610586,e=>{"use strict";let t={models:{label:"Models Arena",description:"Head-to-head comparison of AI model outputs across modalities",categories:{codecategories:{label:"Code Categories",description:"Aggregated stats across all code generation categories"},"3d":{label:"3D",description:"3D content generation"},dataviz:{label:"Data Visualization",description:"Data visualization generation"},gamedev:{label:"Game Development",description:"Game development code generation"},uicomponent:{label:"UI Component",description:"UI component generation quality"},logo:{label:"Logo",description:"Logo design generation"},image:{label:"Image",description:"Image generation quality"},video:{label:"Video",description:"Video generation quality"},slides:{label:"Slides",description:"Slide/presentation generation"},videotovideo:{label:"Video to Video",description:"Video-to-video transformation quality"},graphicdesign:{label:"Graphic Design",description:"Graphic design generation quality"},imagetoimage:{label:"Image to Image",description:"Image-to-image transformation quality"},svg:{label:"SVG",description:"SVG generation quality"}}},builders:{label:"Builders Arena",description:"Comparison of AI-powered app builders and coding agents",categories:{mobile:{label:"Mobile",description:"AI builder mobile app generation"},"native-android":{label:"Native Android",description:"AI builder native Android app generation"}}},agents:{label:"Agents Arena",description:"Agentic coding workflows evaluated end-to-end",categories:{agon_webapps:{label:"Agon Web Apps",description:"Agon web application development"},mobileapps:{label:"Mobile Apps",description:"Agentic mobile application development"},nativeapps:{label:"Native Apps",description:"Agentic native application development"},fullstack:{label:"Full Stack",description:"Full stack development workflows"}}}},n=["codecategories","uicomponent","gamedev","dataviz","3d","image","video","svg"],i=t.models,r=i?n.map(e=>({type:`da-${e}`,label:`${i.categories[e]?.label??e} ELO`,daKey:`models-${e}`})):[];({...Object.fromEntries(Object.values(t).flatMap(e=>Object.entries(e.categories).map(([e,t])=>[t.label,e]))),"3D Design":"3d","Game Dev":"gamedev"}),e.s(["h",0,r,"Z",0,n,"I",0,function(e){return t[e]?.label??e},"V",0,function(e,n){return t[e]?.categories[n]?.label??n.replaceAll(/\b([a-z])/g,e=>e.toUpperCase())}])},593305,e=>{"use strict";e.s(["t",0,function(e){return Math.round(e).toString()},"k",0,function(e){return null===e?"N/A":e<1e3?`${Math.round(e)}ms`:`${(e/1e3).toFixed(1)}s`},"w",0,function(e){return`${e.toFixed(1)}%`},"I",0,function(e){return e>=75?"green":e>=50?"orange":"red"}])},312679,e=>{"use strict";var t=e.i(663456),n=e.i(16043),i=e.i(687186);function r(e){return e()}function a(){}function l(){return 0}e.s(["f",0,function(){let e,s,o=(0,t.c)(3),c=(0,n.useRef)(null);if(null===c.current){let e;o[0]===Symbol.for("react.memo_cache_sentinel")?(e={value:0,listeners:new Set},o[0]=e):e=o[0],c.current=e}o[1]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{let t=c.current;if(!t)return a;t.listeners.add(e);let n=(0,i.b)(),l=document.querySelector("#page-content");if(0===n.length||!l)return()=>t.listeners.delete(e);let s=()=>{let e=Number.parseFloat(getComputedStyle(l).getPropertyValue("--sticky-banner-top")),n=Number.isFinite(e)?e:0;n!==t.value&&(t.value=n,t.listeners.forEach(r))};s();let o="u"o?.observe(e));let u="u"{o?.disconnect(),u?.disconnect(),t.listeners.delete(e)}},o[1]=e):e=o[1];let u=e;o[2]===Symbol.for("react.memo_cache_sentinel")?(s=()=>c.current?.value??0,o[2]=s):s=o[2];let d=s;return(0,n.useSyncExternalStore)(u,d,l)}])},832850,e=>{"use strict";var t=e.i(659350),n=e.i(663456),i=e.i(354896),r=e.i(750636),a=e.i(16043),l=e.i(136562),s=e.i(512688),o=e.i(233452),c=e.i(139697),u=e.i(359544),d=e.i(848984),m=e.i(232458);let f=new Set(["ArrowDown","ArrowUp","End","Home","PageDown","PageUp"," ","Spacebar"]);function p({id:e,target:t,precedingElements:n,behavior:i,settleMs:r}){(0,m.m)(e);let a=(0,d.$)(),l="auto"===i||!g(t,a),s="auto"===i||!l,o="onscrollend"in window,c=null,u=null,v=s?"settled":"pending",b=!1,x=0,y=e=>{v=function(e,t){if("released"===e)return e;switch(t.type){case"scroll_started":return"pending"===e?"scrolling":e;case"target_landed":return"settled";case"released":return"released";default:return t}}(v,e)},w=()=>{y({type:"target_landed"}),"settled"===v&&(x=h(t,a))},k=(0,d.j)(),_=new Map,j=new ResizeObserver(()=>{if("released"===v)return;let e=!1;for(let t of n){let n=_.get(t),i=t.getBoundingClientRect().height;_.set(t,i),void 0!==n&&n!==i&&(e=!0)}e&&(b=!0,t.scrollIntoView({behavior:"auto",block:"start"}),window.requestAnimationFrame(()=>{b=!1,x=h(t,a)}))}),A=()=>{"released"!==v&&(y({type:"released"}),null!==c&&(window.clearTimeout(c),c=null),null!==u&&(window.clearTimeout(u),u=null),window.removeEventListener("scroll",S),window.removeEventListener("scrollend",C),window.removeEventListener("wheel",N),window.removeEventListener("touchmove",N),window.removeEventListener("keydown",L),document.removeEventListener("scrollend",C),a?.removeEventListener("scroll",S),a?.removeEventListener("scrollend",C),j.disconnect(),(0,m.l)(e))},M=()=>{null===c&&(c=window.setTimeout(A,r))},S=()=>{if("released"===v)return;if(!o){if("pending"===v){if((0,d.j)()===k)return;y({type:"scroll_started"}),M()}"scrolling"===v&&g(t,a)&&w()}let e=h(t,a),n=Math.abs(e-x)>24&&Math.abs(e)>Math.abs(x);"settled"===v&&!b&&n&&A()},C=()=>{"released"!==v&&(w(),M())},N=()=>{A()},L=e=>{f.has(e.key)&&A()};for(let e of n)_.set(e,e.getBoundingClientRect().height),j.observe(e);return window.addEventListener("scroll",S,{passive:!0}),o&&(window.addEventListener("scrollend",C),document.addEventListener("scrollend",C),a?.addEventListener("scrollend",C)),window.addEventListener("wheel",N,{passive:!0}),window.addEventListener("touchmove",N,{passive:!0}),window.addEventListener("keydown",L),a?.addEventListener("scroll",S,{passive:!0}),s&&M(),l?("smooth"===i&&(u=window.setTimeout(A,7500)),t.scrollIntoView({behavior:i,block:"start"}),"auto"===i&&w()):w(),"pending"===v&&window.requestAnimationFrame(()=>{"released"!==v&&g(t,a)&&(w(),M())}),A}function g(e,t){return 1>=Math.abs(h(e,t))}function h(e,t){let n=e.getBoundingClientRect(),i=t?.isConnected&&(0,d.b)(t)?t.getBoundingClientRect().top:0,r=n.top-i,a=Number.parseFloat(getComputedStyle(e).scrollMarginTop);return r-(Number.isNaN(a)?0:a)}var v=e.i(214530);let b={viewport:{desktopOnly:"lg:block",mobileOnly:"lg:hidden"},container:{desktopOnly:"@3xl:block",mobileOnly:"@3xl:hidden"}};function x(e){return{value:e.id,label:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[(0,t.jsx)(e.icon,{"aria-hidden":!0,className:(0,l.f)("size-4 shrink-0",e.iconClassName)}),(0,t.jsx)("span",{className:"truncate",children:e.label}),(0,t.jsx)(j,{section:e})]})}}function y(e){return!e.mobileOnly}function w(e){return e.el}function k(e){let i,r,s,o,c,u,d,m,f=(0,n.c)(19),{sections:p,activeAnchor:g,onClick:h}=e,v=(0,a.useRef)(null);f[0]===Symbol.for("react.memo_cache_sentinel")?(i=new Map,f[0]=i):i=f[0];let b=(0,a.useRef)(i),[x,y]=(0,a.useState)(null);f[1]!==g?(r=()=>{let e=b.current.get(g);if(!e)return;let t=()=>{y({top:e.offsetTop,height:e.offsetHeight})};t();let n=new ResizeObserver(t);return n.observe(e),v.current&&n.observe(v.current),()=>n.disconnect()},s=[g],f[1]=g,f[2]=r,f[3]=s):(r=f[2],s=f[3]),(0,a.useEffect)(r,s),f[4]===Symbol.for("react.memo_cache_sentinel")?(o=e=>t=>{t?b.current.set(e,t):b.current.delete(e)},f[4]=o):o=f[4];let w=o;if(f[5]!==x?(c=x&&(0,t.jsx)("div",{"aria-hidden":!0,"data-allow-inline-style":!0,className:(0,l.f)("absolute inset-x-0 rounded-md bg-accent pointer-events-none","h-(--pill-height) translate-y-(--pill-top)","transition-[translate] duration-fast ease-in-out-strong motion-reduce:transition-none"),style:{"--pill-height":`${x.height}px`,"--pill-top":`${x.top}px`}}),f[5]=x,f[6]=c):c=f[6],f[7]!==g||f[8]!==h||f[9]!==p){let e;f[11]!==g||f[12]!==h?(e=e=>(0,t.jsx)(_,{section:e,isActive:g===e.id,onClick:h,registerRef:w(e.id)},e.id),f[11]=g,f[12]=h,f[13]=e):e=f[13],u=p.map(e),f[7]=g,f[8]=h,f[9]=p,f[10]=u}else u=f[10];return f[14]!==u?(d=(0,t.jsx)("div",{className:"relative flex flex-col gap-y-px",children:u}),f[14]=u,f[15]=d):d=f[15],f[16]!==c||f[17]!==d?(m=(0,t.jsxs)("div",{ref:v,className:"relative",children:[c,d]}),f[16]=c,f[17]=d,f[18]=m):m=f[18],m}function _(e){let i,r,a,s,o,c,u=(0,n.c)(21),{section:d,isActive:m,onClick:f,registerRef:p}=e,g=d.icon,h=`#${d.id}`;u[0]!==f||u[1]!==d.id?(i=e=>f(e,d.id),u[0]=f,u[1]=d.id,u[2]=i):i=u[2];let v=m?"page":void 0,b=m?"text-accent-foreground":"text-muted-foreground hover:text-accent-foreground hover:bg-card-hover";u[3]!==b?(r=(0,l.f)("relative flex items-center gap-2 px-2 py-1.5 rounded-md text-body font-medium cursor-pointer transition-colors no-underline",b),u[3]=b,u[4]=r):r=u[4];let x=!m&&d.iconClassName;return u[5]!==x?(a=(0,l.f)("size-4",x),u[5]=x,u[6]=a):a=u[6],u[7]!==g||u[8]!==a?(s=(0,t.jsx)(g,{className:a}),u[7]=g,u[8]=a,u[9]=s):s=u[9],u[10]!==d?(o=(0,t.jsx)(j,{section:d}),u[10]=d,u[11]=o):o=u[11],u[12]!==p||u[13]!==d.label||u[14]!==h||u[15]!==i||u[16]!==v||u[17]!==r||u[18]!==s||u[19]!==o?(c=(0,t.jsxs)("a",{ref:p,href:h,onClick:i,"aria-current":v,className:r,children:[s,d.label,o]}),u[12]=p,u[13]=d.label,u[14]=h,u[15]=i,u[16]=v,u[17]=r,u[18]=s,u[19]=o,u[20]=c):c=u[20],c}function j(e){let i,a,l,s=(0,n.c)(7),{section:c}=e;return s[0]!==c.badge?(i=void 0!==c.badge&&(0,t.jsx)(o.Badge,{variant:"secondary",size:"sm",className:"shrink-0",children:c.badge}),s[0]=c.badge,s[1]=i):i=s[1],s[2]!==c.newLabel?(a=void 0!==c.newLabel&&(0,t.jsx)(r.f,{role:"img","aria-label":c.newLabel,className:"size-3.5 shrink-0 text-primary"}),s[2]=c.newLabel,s[3]=a):a=s[3],s[4]!==i||s[5]!==a?(l=(0,t.jsxs)(t.Fragment,{children:[i,a]}),s[4]=i,s[5]=a,s[6]=l):l=s[6],l}function A(e){let t=[];for(let n of e){let e=document.getElementById(n.id);e&&e.getClientRects().length>0&&t.push({id:n.id,el:e})}return t}function M(e){let t=null,n=(0,d.$)(),i=()=>{null===t&&(t=window.requestAnimationFrame(()=>{t=null,e()}))};return window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i,{passive:!0}),n?.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i),n?.removeEventListener("scroll",i),null!==t&&window.cancelAnimationFrame(t)}}e.s(["f",0,function(e){let r,o,f,g,h,_,S,C,N,L,T,I,E,P,$,F,R,q,D,z,O,K,H=(0,n.c)(65),{sections:U,ariaLabel:V,desktopNavTopClass:B,desktopBreakpoint:G,mobileTocTopClass:W,activationLinePx:Z,onSectionView:Q,onSectionSelect:X,desktopNavFooter:J,mobileNavHeader:Y,children:ee}=e,et=void 0===G?"viewport":G,[en,ei]=(0,a.useState)(U[0]?.id??""),er=(0,a.useRef)(U[0]?.id??""),ea=(0,a.useRef)(null),el=(0,a.useRef)(!1),es=(0,s.f)(Q),eo=(0,s.f)(Z),ec=(0,a.useRef)(Z);H[0]!==eo||H[1]!==es||H[2]!==U?(r=e=>{let{shouldUpdateHash:t}=e;if(null!==(0,m.k)())return;let n=A(U);if(0===n.length)return;let i=function(e,t){var n;let i,r=(n=t,i=(0,d.$)(),(0,d.b)(i)?i.getBoundingClientRect().top+n:n),a=function(e,t){let n,i,r=(n=(0,d.$)(),(i=(0,d.b)(n)?{scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,clientHeight:n.clientHeight}:{scrollTop:window.scrollY,scrollHeight:document.documentElement.scrollHeight,clientHeight:window.innerHeight}).scrollHeight<=i.clientHeight?null:i);if(null===r)return null;let a=Math.max(0,r.scrollHeight-r.scrollTop-r.clientHeight),l=e.filter(({el:e})=>e.getBoundingClientRect().top-a>t).length;if(0===l||l>=e.length)return null;if(a<=2)return e.at(-1).id;if(a>=96*l)return null;let s=Math.ceil(a/96);return e[e.length-s].id}(e,r);if(null!==a)return a;let l=e[0].id;for(let{id:t,el:n}of e)if(n.getBoundingClientRect().top-r<=0)l=t;else break;return l}(n,eo.current),r=er.current!==i;if(t&&(r||el.current)&&(el.current=!0,(0,v.Z)(i)),r){if(t&&!(0,m.P)()){let e=U.findIndex(e=>e.id===i),t=U[e];t&&es.current?.(t,e)}er.current=i,ei(i)}},H[0]=eo,H[1]=es,H[2]=U,H[3]=r):r=H[3];let eu=r;H[4]!==Z||H[5]!==eu?(o=()=>{ec.current!==Z&&(ec.current=Z,eu({shouldUpdateHash:!1}))},f=[Z,eu],H[4]=Z,H[5]=eu,H[6]=o,H[7]=f):(o=H[6],f=H[7]),(0,a.useEffect)(o,f),H[8]!==eu||H[9]!==U?(g=()=>{var e;let t,n,i,r=A(U);if(r.length>0&&!el.current){let e=window.location.hash.slice(1);(""===e||r.some(t=>t.id===e))&&(el.current=!0,ea.current=function({elements:e,activeAnchorRef:t,setActiveAnchor:n}){let i=window.location.hash.slice(1);if(!i)return;let r=e.find(e=>e.id===i);if(!r)return;t.current=r.id,n(r.id);let a=e.findIndex(e=>e.id===r.id);return p({id:r.id,target:r.el,precedingElements:e.slice(0,a).map(e=>e.el),behavior:"auto",settleMs:3e3})}({elements:r,activeAnchorRef:er,setActiveAnchor:ei})??null)}eu({shouldUpdateHash:!1});let a=()=>eu({shouldUpdateHash:!0}),l=M(a),s=(0,m.X)(a),o=(e=v.z,t=null,n=(0,d.$)(),i=()=>{null!==t&&window.clearTimeout(t),t=window.setTimeout(()=>{t=null,e()},120)},window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i,{passive:!0}),n?.addEventListener("scroll",i,{passive:!0}),()=>{null!==t&&window.clearTimeout(t),window.removeEventListener("scroll",i),window.removeEventListener("resize",i),n?.removeEventListener("scroll",i)});return()=>{ea.current?.(),ea.current=null,l(),s(),o()}},H[8]=eu,H[9]=U,H[10]=g):g=H[10],H[11]!==U?(h=[U],H[11]=U,H[12]=h):h=H[12],(0,a.useLayoutEffect)(g,h),H[13]!==U?(_=(e,t)=>{ea.current?.();let n=A(U),i=n.findIndex(t=>t.id===e);ea.current=p({id:e,target:t,precedingElements:-1===i?[]:n.slice(0,i).map(w),behavior:"smooth",settleMs:2500})},H[13]=U,H[14]=_):_=H[14];let ed=_;H[15]!==X||H[16]!==ed?(S=e=>{let t=document.querySelector(`#${e}`);t&&(ea.current?.(),ea.current=null,(0,m.m)(e),el.current=!0,er.current=e,ei(e),(0,v.e)(e),X?.(e),ed(e,t))},H[15]=X,H[16]=ed,H[17]=S):S=H[17];let em=S;H[18]!==em?(C=(e,t)=>{e.preventDefault(),em(t)},H[18]=em,H[19]=C):C=H[19];let ef=C;H[20]!==en||H[21]!==U?(N=U.find(e=>e.id===en)??U[0],H[20]=en,H[21]=U,H[22]=N):N=H[22];let ep=N;H[23]!==U?(L=U.filter(y),H[23]=U,H[24]=L):L=H[24];let eg=L,eh=void 0!==ep,ev=(0,a.useRef)(null),eb=(0,a.useRef)(null);H[25]!==eh?(T=()=>{let e=ev.current,t=eb.current;if(!eh||null===e||null===t)return;let n=()=>{e.toggleAttribute("data-stuck",function({markerBottom:e,barTop:t}){return e{"use strict";var t=e.i(659350),n=e.i(663456),i=e.i(480534),r=e.i(136562);let a={[i.$.Flex]:"bg-tier-flex-bg text-tier-flex",[i.$.Priority]:"bg-tier-priority-bg text-tier-priority",[i.$.Ultrafast]:"bg-tier-ultrafast-bg text-tier-ultrafast"};function l(e,t){return(0,r.f)("shrink-0 rounded-sm px-1.5 py-0.5 text-overline",a[e],t)}e.s(["M",0,function(e){let i,r,a,s,o,c=(0,n.c)(10);return c[0]!==e?({tier:a,className:i,...r}=e,c[0]=e,c[1]=i,c[2]=r,c[3]=a):(i=c[1],r=c[2],a=c[3]),c[4]!==i||c[5]!==a?(s=l(a,i),c[4]=i,c[5]=a,c[6]=s):s=c[6],c[7]!==r||c[8]!==s?(o=(0,t.jsx)("span",{...r,className:s}),c[7]=r,c[8]=s,c[9]=o):o=c[9],o},"u",0,l])},426832,e=>{"use strict";e.s(["f",0,function(e,t,n=[]){let i=e.indexOf("?"),r=-1===i?e:e.slice(0,i),a=new URLSearchParams(-1===i?"":e.slice(i+1)),l=new URLSearchParams(t??"");for(let e of n)l.delete(e);l.forEach((e,t)=>{a.set(t,e)});let s=a.toString();return s?`${r}?${s}`:r}])},845893,e=>{"use strict";var t=e.i(387086),n=e.i(289947);e.s(["f",0,function(e,i){let r=(0,n.T)(e,i.label);return i.repeat>1?e((0,t.b)("{label} {repeat}",{label:r,repeat:i.repeat})):r}])},562576,e=>{"use strict";var t=e.i(430022);let n=["3d","1w","1m","3m","1y","all"],i={"3d":3*t.N,"1w":t.b,"1m":31*t.N,"3m":92*t.N,"1y":366*t.N,all:null};e.s(["b",0,n,"S",0,"v8","e",0,i,"Q",0,function(e){return n.some(t=>t===e)}])},819076,e=>{"use strict";var t,n=((t={}).Int4="int4",t.Int8="int8",t.FloatingPoint4="fp4",t.MicroscalingFloatingPoint4="mxfp4",t.NvidiaFloatingPoint4="nvfp4",t.FloatingPoint6="fp6",t.FloatingPoint8="fp8",t.MicroscalingFloatingPoint8="mxfp8",t.FloatingPoint16="fp16",t.BrainFloating16="bf16",t.FloatingPoint32="fp32",t.Unknown="unknown",t);let i={int4:["int4"],int8:["int8"],fp4:["fp4","mxfp4","nvfp4"],mxfp4:["mxfp4"],nvfp4:["nvfp4"],fp6:["fp6"],fp8:["fp8","mxfp8"],mxfp8:["mxfp8"],fp16:["fp16"],bf16:["bf16"],fp32:["fp32"],unknown:["unknown"]};e.s(["v",()=>n,"k",0,function(e,t){return i[e].includes(t)}])},368966,e=>{"use strict";let t={Max:"max",XHigh:"xhigh",High:"high",Medium:"medium",Low:"low",Minimal:"minimal"},n={...t,None:"none"},i={ReasoningEffortNone:"reasoning_effort_none",ChatTemplateKwargs:"chat_template_kwargs",ThinkingDisabled:"thinking_disabled",ReasoningEnabledFalse:"reasoning_enabled_false"};e.s(["V",0,t,"K",0,i,"E",0,n,"x",0,{ContentString:"content-string",ReasoningContent:"reasoning-content",Reasoning:"reasoning",None:"none"}])},880315,e=>{"use strict";var t,n=((t={}).Model="model",t.None="none",t);e.s(["f",()=>n])},658108,e=>{"use strict";var t=e.i(426832);let n="highlighted_model";e.s(["R",0,function(e,t){let n=e.findIndex(e=>e.model.id===t),i=e[n];return void 0===t||void 0===i||null===i.asset?[...e]:[i,...e.slice(0,n),...e.slice(n+1)]},"I",0,function(e){return e?.get(n)||void 0},"n",0,function(e,i){return void 0===i?e:(0,t.f)(e,new URLSearchParams({[n]:i}).toString())}])},257509,614184,e=>{"use strict";e.i(427150);let t={zero:0,one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9},n={ten:10,eleven:11,twelve:12,thirteen:13,fourteen:14,fifteen:15,sixteen:16,seventeen:17,eighteen:18,nineteen:19},i={twenty:20,thirty:30,forty:40,fifty:50,sixty:60,seventy:70,eighty:80,ninety:90},r={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9},a={tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19},l={twentieth:20,thirtieth:30,fortieth:40,fiftieth:50,sixtieth:60,seventieth:70,eightieth:80,ninetieth:90},s={thousand:1e3,million:1e6,billion:1e9},o={total:0,hundreds:0,hundredsKind:"none",low:0,lowKind:"none",isOrdinal:!1,segments:[]},c={1:"st",2:"nd",3:"rd"},u=/^[\s\u002D\u2010\u2011]*$/u,d=/^\d+$/u,m="second",f=/^\p{L}{2,}(?"gap"!==e.kind);return n.slice(i+1).some(e=>Y.test(e.text))||-1===i}function el({segments:e,between:[t,n]}){let i=Math.max(...t.segments),r=Math.min(...n.segments);return e.slice(i+1,Math.max(i+1,r)).some(e=>"cue"===e.kind||ee.test(e.text))}let es=Object.fromEntries(Object.values(A).map(({units:e,hundredths:t})=>[e,t]));function eo(e,t){return Object.hasOwn(e,t)?e[t]:void 0}let ec={point:e=>{var t,n,i,r;let{beforePrevious:a,previous:l,afterNext:s,segments:o}=e,c=em(e);return void 0!==c&&(t=l,n=c,et.test(t.text)&&24>=Number(t.text)&&en.test(n.text)&&59>=Number(n.text))&&!function({segments:e,between:[t,n]}){var i;return void 0!==n&&(i=n.text,J.has(i)||J.has(`${i}s`))&&eb({segments:e,between:[t,n]},D)}({segments:o,between:[c,s]})&&(void 0!==(i=a)&&Q.has(i.text)||void 0!==(r=s)&&X.has(r.text))},and:e=>{var t;let{previous:n,afterNext:i}=e,r=em(e);return t=n,Object.values(A).some(({units:e})=>e===t.text)&&void 0!==r&&ep(r)&&(void 0===i||eg(n,i))},"o'clock":({previous:e})=>ep(e),"00":({previous:e,token:t,segments:n})=>ep(e)&&eb({segments:n,between:[e,t]},R),dash:eu,hyphen:eu};function eu(e){let{beforePrevious:t,previous:n,afterNext:i,segments:r}=e,a=em(e);return void 0!==a&&(eh(n,r)&&eh(a,r)||ed(n,t)||ed(a,i)||function({beforePrevious:e,previous:t,next:n,segments:i}){return void 0!==e&&W.has(e.text)&&!el({segments:i,between:[e,t]})&&T.test(t.text)&&T.test(n.text)}({beforePrevious:t,previous:n,next:a,segments:r}))}function ed(e,t){return void 0!==t&&T.test(e.text)&&T.test(t.text)&&e.segments.some(e=>t.segments.includes(e))}function em({token:e,next:t,segments:n}){return void 0===t||el({segments:n,between:[e,t]})?void 0:t}let ef=[e=>e.flatMap(e=>!C.test(e.text)&&N.test(e.text)?[...e.text.matchAll(L)].map(t=>({text:t[0],segments:e.segments})):[e]),(e,t)=>{let n=[],i=!1;for(let r of e){let e=n.at(-1),a=i?O:I;if(void 0!==e&&ev(e,{segments:t,pattern:a})&&ev(r,{segments:t,pattern:a})&&eb({segments:t,between:[e,r]},P)){n[n.length-1]={text:e.text+r.text,segments:[...e.segments,...r.segments]};continue}i=W.has(r.text)||i&&O.test(r.text),n.push(r)}return n},(e,t)=>{var n;if(!e.some(e=>"st"===e.text))return[...e];let i={segments:t,isCased:(n=t).some((e,t)=>{var i,r;return"word"===e.kind&&H.test(e.text)&&!V.test(e.text)&&(!ea({text:e.text,segments:[t]},n)||V.test((i=n,r=t,i.slice(0,r).findLast(e=>"gap"!==e.kind))?.text??""))})};return e.map((t,n)=>{if("st"!==t.text)return t;let r=function({beforePrevious:e,previous:t,token:n,next:i},r){var a,l;let{segments:s,isCased:o}=r;if(void 0===i)return"street";if(void 0===t||el({segments:s,between:[t,n]}))return er(i,r)?"saint":"street";if(B.has(t.text)&&U.test(i.text))return"saint";return!U.test(i.text)||B.has(i.text)||ep(t)||C.test(t.text)||(a=t,void 0!==(l=e)&&G.has(l.text)&&!B.has(a.text))?"street":o?ev(t,{segments:s,pattern:z})&&!ea(t,s)?"street":er(i,r)?"saint":void 0:void 0}({beforePrevious:e[n-2],previous:e[n-1],token:t,next:e[n+1]},i);return void 0===r?t:{text:r,segments:t.segments}})},e=>e.flatMap((t,n)=>{let i=eo(k,t.text);if(void 0!==i)return i.map(e=>({text:e,segments:t.segments}));let r=eo(_,t.text);if(void 0!==r&&function([e,t]){return void 0!==e&&(!!ep(e)||void 0!==eo(A,e.text)&&void 0!==t&&ep(t))}(e.slice(n+1,n+3)))return[{text:r,segments:t.segments}];let a=eo(j,t.text),l=e[n-1];return void 0!==a&&void 0!==l&&ep(l)?[{text:a,segments:t.segments}]:[t]}),(e,t)=>{let n=[];for(let i=0;i2)&&eb({segments:t,between:[i,r]},F)?{read:[i,l,{text:String(Number(r.text.padEnd(2,"0"))),segments:r.segments},{text:a.hundredths,segments:n.segments}],length:3}:{read:[i,l],length:2}}(e.slice(i,i+3),t);if(void 0===a){void 0!==r&&n.push(r);continue}n.push(...a.read),i+=a.length-1}return n},(e,t)=>{let n=[];for(let i of e){let e=n.at(-1);if(void 0===e||!ep(i)){n.push(i);continue}if(ep(e)&&eb({segments:t,between:[e,i]},F)){n.push({text:ei,segments:e.segments},i);continue}if(function({read:e,token:t,segments:n}){let[i,r,a]=e.slice(-3);return void 0!==i&&void 0!==r&&void 0!==a&&ep(i)&&r.text===ei&&ep(a)&&Z.test(t.text)&&eb({segments:n,between:[a,t]},q)}({read:n,token:i,segments:t})){n[n.length-1]={text:e.text+i.text,segments:[...e.segments,...i.segments]};continue}n.push(i)}return n},(e,t)=>{let n=[];for(let i=0;i2||el({segments:t,between:[n,i]})||el({segments:t,between:[i,r]})||el({segments:t,between:[r,a]})))return[{text:n.text,segments:[...n.segments,...i.segments]},a,{text:String(Number(r.text.padEnd(2,"0"))),segments:r.segments},{text:l,segments:a.segments}]}(e.slice(i,i+4),t);if(void 0===r){let t=e[i];void 0!==t&&n.push(t);continue}n.push(...r),i+=3}return n},(e,t)=>{let n=[];for(let i=0;it===e.text)&&("may"!==e.text||ev(e,{segments:n,pattern:z})||void 0!==t&&K.has(t.text))}(r,{previous:e[i-1],segments:t})){n.push(r);continue}let l=e[i+1],s=l?.text.match(C)?.[1];if(n.push(r),void 0===l||void 0===s&&!ep(l)||el({segments:t,between:[r,l]}))continue;n.push({text:s??l.text,segments:l.segments});let o=e[(i+=1)+1],c=void 0===o||el({segments:t,between:[l,o]})?void 0:function(e,t){let[n,i]=e;if(void 0!==n&&void 0!==i&&/^[1-9]\d$/u.test(n.text)&&/^\d\d$/u.test(i.text)&&eb({segments:t,between:[n,i]},q))return{text:n.text+i.text,segments:[...n.segments,...i.segments]}}(e.slice(i+1,i+3),t);void 0!==c&&(n.push(c),i+=2)}return n},(e,t)=>{let n=[];return e.forEach((i,r)=>{let a=n.at(-1),l=n.at(-2),s=e[r+1],o=e[r+2];if(void 0!==a&&function(e){let{segments:t,previous:n,token:i}=e;return!el({segments:t,between:[n,i]})&&(eo(ec,e.token.text)?.(e)??!1)}({beforePrevious:l,previous:a,token:i,next:s,afterNext:o,segments:t})){n[n.length-1]={text:a.text,segments:[...a.segments,...i.segments]};return}n.push(i)}),n},(e,t)=>{let n=[];for(let i=0;in.units===e.text&&n.hundredths===t.text)}function eh(e,t){return ep(e)||ev(e,{segments:t,pattern:E})}function ev(e,{segments:t,pattern:n}){return e.segments.every(e=>n.test(t[e]?.text??""))}function eb({segments:e,between:[t,n]},i){let r=Math.max(...t.segments),a=Math.min(...n.segments);return!(a<=r)&&e.slice(r+1,a).every(e=>"gap"===e.kind&&i.test(e.text))}let ex=/\[[^\]\n]*\]|\([^)\n]*\)/gu,ey=/[$\u20AC\u00A3%&]|\u00B0[CFcf]?(?!\p{L})|(?"word"===e.kind?[{text:e.text.normalize("NFD").replace(ej,"").normalize("NFC").toLowerCase().replace(ew,"").replace(ek,"and").replace(e_,"'").replace(eA,""),segments:[t]}]:[]);return{segments:_,tokens:(n=[],i=o,r=()=>{var e,t;let r,a;i.segments.length>0&&n.push((r=(e=i).total+e.hundreds+e.low,{text:e.isOrdinal?(a=(t=r)%100)>=11&&a<=13?`${t}th`:`${t}${c[t%10]??"th"}`:String(r),segments:e.segments})),i=o},a=j.map((e,t)=>(function(e,[t,n]){if(void 0===t)return!1;let i=t.segments.at(-1),r=n.segments[0];if(void 0===i||void 0===r)return!1;let a=w(s,t.text)?x:u;return e.slice(i+1,r).every(e=>"gap"===e.kind&&a.test(e.text))})(_,[j[t-1],e])),l=0,k=-1,j.forEach((e,t)=>{if(a[t]||r(),t===k)return void n.push(e);let o=a[t+1]?j[t+1]:void 0,c=function(e,{reading:t,next:n}){var i;let r=y(e);return void 0!==r?r:"hundred"===e?{kind:"hundred"}:w(s,e)?{kind:"scale",value:s[e]}:"and"===e&&"none"===(i=t).lowKind&&i.segments.length>0&&void 0!==n&&void 0!==y(n.text)?{kind:"and"}:void 0}(e.text,{reading:i,next:o});if(void 0===c){r(),n.push(e),o?.text===m&&d.test(e.text)&&(k=t+1);return}if((0===i.segments.length||!function(e,t){switch(t.kind){case"unit":return"full"!==e.lowKind;case"teen":case"tens":return"none"===e.lowKind;case"ordinal":return"unit"===t.reads?"full"!==e.lowKind:"none"===e.lowKind;case"hundred":return"none"===e.hundredsKind&&"none"!==e.lowKind;case"scale":return 0===e.total||e.total>=1e3*t.value;case"and":return!0;default:return t}}(i,c))&&(r(),l=t),i=function(e,{word:t,segments:n}){let i={...e,segments:[...e.segments,...n]};switch(t.kind){case"unit":return{...i,low:i.low+t.value,lowKind:"full"};case"teen":return{...i,low:t.value,lowKind:"full"};case"tens":return{...i,low:t.value,lowKind:"tens"};case"ordinal":return{...i,low:i.low+t.value,lowKind:"full",isOrdinal:!0};case"hundred":return{...i,hundreds:("none"===i.lowKind?1:i.low)*100,hundredsKind:"full",low:0,lowKind:"none"};case"scale":{let e="none"===i.hundredsKind&&"none"===i.lowKind;return{...i,total:i.total+(e?1:i.hundreds+i.low)*t.value,hundreds:0,hundredsKind:"none",low:0,lowKind:"none"}}case"and":return i;default:return t}}(i,{word:c,segments:e.segments}),o?.text===m&&function(e,{word:t,reading:n,start:i,index:r}){return"and"!==t.kind&&!n.isOrdinal&&("full"===n.lowKind||function(e,{start:t,index:n}){var i,r;let a,l=e[t-1],s=e[n+2];return!(void 0!==s&&h.has(s.text))&&(!!(void 0!==l&&(g.has(l.text)||(a=y(i=l.text),d.test(i)||void 0!==a&&"ordinal"!==a.kind)))||void 0!==s&&(b.has(s.text)||(void 0===l||!v.has(l.text))&&(r=s.text,f.test(r)&&!p.has(r))))}(e,{start:i,index:r}))}(j,{word:c,reading:i,start:l,index:t})){r(),k=t+1;return}i.isOrdinal&&r()}),r(),t=n,ef.reduce((e,t)=>t(e,_),[...t]))}}function eS(e){let t=[],n=0;for(let i of e.matchAll(ey))i.index>n&&t.push({kind:"gap",text:e.slice(n,i.index)}),t.push({kind:"word",text:i[0]}),n=i.index+i[0].length;return nt.has(n)?[]:e.segments));return new Set(e.flatMap(e=>e.segments).filter(e=>!n.has(e)))}function eN(e,t){for(let n=t-1;n>=0;n-=1)if(e[n]?.kind!=="gap")return n;return -1}let eL=new Set(["st","saint","street"]);function eT(e,t){let n=t.flatMap((e,t)=>eL.has(e)?[t]:[]),i=0;return e.map((r,a)=>{if(!eL.has(r))return r;let l=n[i]??n.at(-1);if(i+=1,"st"!==r)return r;let s=t[n.filter(e=>"st"!==t[e]).map(n=>({place:n,shared:Number(t[n-1]===e[a-1])+Number(t[n+1]===e[a+1])})).filter(({shared:e})=>e>0).sort((e,t)=>t.shared-e.shared)[0]?.place??l??-1];return void 0===s||"st"===s?"street":s})}function eI(e){return e.filter(e=>"word"===e.kind)}function eE({segments:e,tokens:t},n){let i=eC(t,n);return e.map((e,t)=>"word"===e.kind?{...e,matched:i.has(t)}:e)}function eP(e,t){if(null===e)return null;let{askedWordCount:n,missedWordCount:i,extraWordCount:r}=e,a=t.filter(e=>e.pass).length,l=n+r+t.length;return 0===l?1:(n-i+a)/l}function e$(e,t){return null===e.heard?null:function({asked:e,heard:t}){let n=eM(e),i=eM(t);if(n.tokens.length>2e3||i.tokens.length>2e3)return null;let r=n.tokens.map(e=>e.text),a=i.tokens.map(e=>e.text),l=function(e,t){let n=t.length+1,i=new Uint16Array((e.length+1)*n);for(let r=e.length-1;r>=0;r-=1)for(let a=t.length-1;a>=0;a-=1)i[r*n+a]=e[r]===t[a]?(i[(r+1)*n+a+1]??0)+1:Math.max(i[(r+1)*n+a]??0,i[r*n+a+1]??0);let r=[],a=0,l=0;for(;a=(i[a*n+l+1]??0)){a+=1;continue}l+=1}return r}(eT(r,a),eT(a,r)),s=new Set(l.map(([e])=>e)),o=new Set(l.map(([,e])=>e)),c=eE(n,s),u=eE(i,o),d=eI(c);return{asked:c,heard:u,spoken:function(e){let{asked:t,heard:n,pairs:i}=e,r=eC(t.tokens,new Set(i.map(([e])=>e))),a=(function({asked:e,heard:t,pairs:n}){var i,r;let a,l,s,o=0;return(i=t,a=new Set((r=n).map(([,e])=>e)),l=Array.from({length:r.length+1},()=>[]),s=0,i.tokens.forEach((e,t)=>{for(;s{let r=e.tokens[n[i]?.[0]??-1],a=void 0===r?e.segments.length:Math.min(...r.segments),l=e.tokens.slice((n[i-1]?.[0]??-1)+1,n[i]?.[0]??e.tokens.length),s=Math.max(o,a,...l.map(e=>Math.max(...e.segments)+1)),c={start:o,end:s,extras:t};return o=void 0===r?s:Math.max(o,...r.segments.map(e=>e+1)),c})})(e).map(e=>(function(e,t){let{start:n,end:i,extras:r}=t,a=[],l=[],s=[...r];for(let t=n;te.text),r=function(e,t){return 0===t.length||t.length>e.length?-1:e.findIndex((n,i)=>i+t.length<=e.length&&t.every((t,n)=>e[i+n]===t))}(s.map(e=>e.text),i);-1!==r&&(a.push(t),r>0&&l.push({after:eN(e,t),extras:s.slice(0,r)}),s=s.slice(r+i.length))}return s.length>0&&l.push({after:function(e,{start:t,end:n}){return n===e.length&&e.slice(t,n).every(e=>"word"!==e.kind)?n-1:eN(e,n)}(e,t),extras:s}),{spoken:a,placements:l}})(t.segments,e)),l={matchedSegments:r,spokenCues:new Set(a.flatMap(({spoken:e})=>e))},s=function(e){let t=new Set,n=new Map;for(let{after:i,extras:r}of[...e].sort((e,t)=>e.after-t.after)){let e=[...new Set(r.flatMap(e=>e.segments))].filter(e=>!t.has(e));for(let n of e)t.add(n);n.set(i,[...n.get(i)??[],...e])}return n}(a.flatMap(({placements:e})=>e)),o=(e,t)=>(function(e,{extras:t,side:n}){let i={kind:"gap",text:" "};return t.flatMap(t=>{let r=e[t];if(void 0===r)return[];let a={kind:"extra",text:r.text};return"leading"===n?[a,i]:[i,a]})})(n.segments,{extras:s.get(e)??[],side:t});return[...o(-1,"leading"),...t.segments.flatMap((e,t)=>[function({segment:e,index:t},{matchedSegments:n,spokenCues:i}){switch(e.kind){case"gap":default:return e;case"cue":return{...e,spoken:i.has(t)};case"word":return{...e,matched:n.has(t)}}}({segment:e,index:t},l),...o(t,"trailing")])]}({asked:n,heard:i,pairs:l}),askedWordCount:d.length,missedWordCount:d.filter(e=>!e.matched).length,extraWordCount:eI(u).filter(e=>!e.matched).length}}({asked:e.transcript??t,heard:e.heard.text})}function eF(e,t){return eP(e,t?.checks??[])}function eR(e,t){let n=eF(e,t);return null===n?null:Math.round(100*n)}e.s(["P",0,eP,"S",0,function(e){return(e?.checks??[]).filter(e=>!0!==e.spoken).map(({label:e,pass:t})=>({label:e,pass:t}))}],614184),e.s(["J",0,eR,"v",0,e$,"$",0,eF,"U",0,function(e,t){return eR(e$(e,t),e.delivery)}],257509)},77418,e=>{"use strict";var t=e.i(659350),n=e.i(663456),i=e.i(333131),r=e.i(209615),a=e.i(393182);e.i(707060);var l=e.i(288265),s=e.i(919035),o=e.i(404410),c=e.i(856883),u=e.i(429332),d=e.i(16043),m=e.i(289798),f=e.i(106301),p=e.i(387086),g=e.i(371244);let h=(0,p.b)("Documentation"),v=g.f;var b=e.i(838973);let x=(0,p.b)("Explore"),y=b.f;var w=e.i(140546),k=e.i(381462),_=e.i(667417),j=e.i(27983),A=e.i(309821),M=e.i(482128),S=e.i(729104),C=e.i(901958),N=e.i(767451),L=e.i(939173),T=e.i(544951);let I={providers:{icon:C.f,label:(0,p.b)("Providers"),explainer:(0,p.b)("Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).")},performance:{icon:T.f,label:(0,p.b)("Performance"),explainer:(0,p.b)("Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).")},pricing:{icon:S.f,label:(0,p.b)("Pricing"),explainer:(0,p.b)("The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.")},benchmarks:{icon:A.f,label:(0,p.b)("Benchmarks"),explainer:(0,p.b)("Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.")},uptime:{icon:j.f,label:(0,p.b)("Uptime"),explainer:(0,p.b)("Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.")},apps:{icon:M.f,label:(0,p.b)("Apps"),explainer:(0,p.b)("Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.")},activity:{icon:L.f,label:(0,p.b)("Activity"),explainer:(0,p.b)("Token volume and request traffic to this model over time.")},api:{icon:N.f,label:(0,p.b)("API"),explainer:(0,p.b)("Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.")}},E=(0,p.b)("This model is hosted by one provider. OpenRouter forwards every request without routing."),P=(0,p.b)("Drop-in code to call this model. It runs on the OpenRouter Decisions API rather than the OpenAI-compatible chat endpoint, so the request and response shapes below are specific to structured decisions — chat completions SDKs will not work with it."),$=(0,p.b)("Latency is how long it takes to return the full response (lower is better)."),F={[k.f.TextGeneration]:I.performance?.explainer??$,[k.f.TTS]:(0,p.b)("Latency is how long it takes to deliver the full audio clip (lower is better). First audio is how long before playback can start (lower is better). Streaming providers start sending audio well before the clip is finished."),[k.f.STT]:(0,p.b)("Latency is how long it takes to return the full transcript (lower is better)."),[k.f.ImageGeneration]:(0,p.b)("Latency is how long it takes to generate and return the image (lower is better)."),[k.f.VideoGeneration]:(0,p.b)("Generation time is how long a video takes from submission to completion (lower is better)."),[k.f.Embeddings]:$,[k.f.Rerank]:$,[k.f.Decisions]:$,[k.f.Extractions]:$,[k.f.Unknown]:$};var R=e.i(199168),q=e.i(837808),D=e.i(989393),z=e.i(221612),O=e.i(369677);function K(e){let i,r,a,l=(0,n.c)(10),{caption:s,testId:o,children:c}=e,u=(0,d.useId)();return l[0]!==s||l[1]!==u?(i=(0,t.jsx)("p",{id:u,children:s}),l[0]=s,l[1]=u,l[2]=i):i=l[2],l[3]!==c?(r=(0,t.jsx)("ul",{children:c}),l[3]=c,l[4]=r):r=l[4],l[5]!==u||l[6]!==i||l[7]!==r||l[8]!==o?(a=(0,t.jsxs)("section",{className:"sr-only ph-no-capture","data-dd-privacy":"hidden","data-testid":o,"aria-labelledby":u,children:[i,r]}),l[5]=u,l[6]=i,l[7]=r,l[8]=o,l[9]=a):a=l[9],a}var H=e.i(464608);function U(){let e,i,r=(0,n.c)(11),{model:a,benchmarkPermaslug:l}=(0,O.useModelPage)(),s=(0,R.o)(),{ordinal:o}=(0,D.Y)();r[0]!==a.output_modalities?(e=(0,z.f)(a.output_modalities),r[0]=a.output_modalities,r[1]=e):e=r[1];let c=e,u=(0,H.B)(c,l);if(void 0===c||"success"!==u.status||(0,H.n)(u.data))return null;if(r[2]!==s||r[3]!==a.name||r[4]!==o||r[5]!==u.data.challenges||r[6]!==u.data.showcases){let e,n=[...u.data.challenges,...u.data.showcases];r[8]!==s||r[9]!==a.name?(e=s("Benchmark outputs summary for {modelName}",{modelName:a.name}),r[8]=s,r[9]=a.name,r[10]=e):e=r[10],i=(0,t.jsx)(K,{caption:e,testId:"model-arena-outputs-summary",children:n.map(e=>{let n=function(e,{gt:t,ordinal:n}){if(null===e.rank)return null;let i={position:n(e.rank.position),of:e.rank.of};return e.rank.tied?t("Tied {position} of {of} on this prompt",i):t("{position} of {of} on this prompt",i)}(e,{gt:s,ordinal:o});return(0,t.jsxs)("li",{children:[(0,t.jsx)("a",{href:e.href,tabIndex:-1,children:e.label}),": ",e.modality===q.Z?e.transcript??e.prompt:e.prompt,null===n?null:` (${n})`]},e.id)})}),r[2]=s,r[3]=a.name,r[4]=o,r[5]=u.data.challenges,r[6]=u.data.showcases,r[7]=i}else i=r[7];return i}var V=e.i(782143),B=e.i(98988),G=e.i(353273),W=e.i(610586),Z=e.i(593305),Q=e.i(356713),X=e.i(530798),J=e.i(138257),Y=e.i(618115),ee=e.i(196991),et=e.i(153746),en=e.i(305874),ei=e.i(974558),er=e.i(626524);let ea="Artificial Analysis",el="Design Arena",es="Vals AI";function eo(){let e,i,r,a,s,o,c,u,d,m,f,p,g,h,v=(0,n.c)(35),{model:b,benchmarkPermaslug:x}=(0,O.useModelPage)(),y=(0,J.useLocale)(),w=(0,l.f)();v[0]!==x?(e=(0,er.T)(x),v[0]=x,v[1]=e):e=v[1];let{data:k}=(0,Y.f)(e);v[2]!==k?(i=void 0===k?[]:k,v[2]=k,v[3]=i):i=v[3];let _=i;v[4]!==x?(r=(0,er.q)(x),v[4]=x,v[5]=r):r=v[5];let{data:j}=(0,Y.f)(r);v[6]!==x?(a=(0,er.s)(x),v[6]=x,v[7]=a):a=v[7];let{data:A}=(0,Y.f)(a);if(v[8]!==_||v[9]!==j?.records||v[10]!==w||v[11]!==y||v[12]!==A?.records){c=Symbol.for("react.early_return_sentinel");e:{var M,S;let e,t,n,i,r=_.flatMap(e=>{let{benchmark_data:t}=e;return t.model_type!==G.f.Llm?[{key:`${e.aa_id}:elo`,source:ea,benchmark:`${e.aa_name} Elo`,score:(0,V.f)(t.elo,{locale:y,preset:"integer"})??"—"}]:(0,B.R)(t.evaluations).flatMap(t=>t.evals.flatMap(({key:t,value:n,metadata:i})=>null===n?[]:[{key:`${e.aa_id}:${t}`,source:ea,benchmark:`${e.aa_name} ${i.label}`,score:(0,en.f)(y,n,i.isFraction)}]))});v[16]!==j?.records?(e=j?.records??[],v[16]=j?.records,v[17]=e):e=v[17];let a=(M=e,n=(0,ei.M)(M)[0],M.filter(e=>e.display_name===n).map(e=>({key:`${e.da_model_id}:${e.arena}:${e.category}`,source:el,benchmark:`${e.display_name} ${(0,W.I)(e.arena)} ${(0,W.V)(e.arena,e.category)} Elo`,score:(0,Z.t)(e.elo)})));if(v[18]!==A?.records?(t=A?.records??[],v[18]=A?.records,v[19]=t):t=v[19],0===(s=[...r,...a,...(S=t,!(i=(0,Q.S)(S)[0])?[]:(0,Q.c)(i.recordList).map(e=>({key:`${e.vals_model_key}:${e.benchmark}`,source:es,benchmark:`${e.vals_model_label} ${e.benchmark_title}`,score:(0,en.f)(y,e.accuracy/100,!0)})))]).length){c=null;break e}o=function(e,t){let[n,i,r]=[ea,el,es].filter(e=>t.some(t=>t.source===e));return void 0!==r&&void 0!==i&&void 0!==n?e("{first}, {second} and {third}",{first:n,second:i,third:r}):void 0!==i&&void 0!==n?e("{first} and {second}",{first:n,second:i}):n??""}(w,s)}v[8]=_,v[9]=j?.records,v[10]=w,v[11]=y,v[12]=A?.records,v[13]=s,v[14]=o,v[15]=c}else s=v[13],o=v[14],c=v[15];if(c!==Symbol.for("react.early_return_sentinel"))return c;let C=o;return v[20]!==b.name?(u=(0,t.jsx)(et.d,{children:b.name}),v[20]=b.name,v[21]=u):u=v[21],v[22]!==C?(d=(0,t.jsx)(et.d,{children:C}),v[22]=C,v[23]=d):d=v[23],v[24]!==u||v[25]!==d?(m=(0,t.jsxs)(X.TableCaption,{children:["Benchmark score summary for ",u," (",d,")"]}),v[24]=u,v[25]=d,v[26]=m):m=v[26],v[27]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(X.TableHeader,{children:(0,t.jsxs)(X.TableRow,{children:[(0,t.jsx)(X.TableHead,{children:"Source"}),(0,t.jsx)(X.TableHead,{children:"Benchmark"}),(0,t.jsx)(X.TableHead,{children:"Score"})]})}),v[27]=f):f=v[27],v[28]!==m?(p=(0,t.jsxs)(ee.T,{children:[m,f]}),v[28]=m,v[29]=p):p=v[29],v[30]!==s?(g=(0,t.jsx)(X.TableBody,{children:s.map(ec)}),v[30]=s,v[31]=g):g=v[31],v[32]!==p||v[33]!==g?(h=(0,t.jsx)("div",{className:"sr-only",children:(0,t.jsxs)(X.Table,{"data-testid":"model-benchmarks-summary",children:[p,g]})}),v[32]=p,v[33]=g,v[34]=h):h=v[34],h}function ec(e){return(0,t.jsxs)(X.TableRow,{children:[(0,t.jsx)(X.TableCell,{children:e.source}),(0,t.jsx)(X.TableCell,{children:e.benchmark}),(0,t.jsx)(X.TableCell,{children:e.score})]},e.key)}var eu=e.i(380773),ed=e.i(845893),em=e.i(919873),ef=e.i(184822);function ep(e){return(0,ef._)(e).flatMap(t=>{let n=e?.[t.index],i=n?.output_assets[0];if(void 0===n||void 0===i)return[];let r=function(e){switch(e.modality){case em.f.Image:return e.request.prompt;case em.f.Video:{let t=e.request.prompt?.trim();return void 0===t||0===t.length?null:t}case em.f.Speech:return e.request.input;default:return e}}(n);return null===r?[]:[{key:String(t.index),label:t.label,repeat:t.repeat,prompt:r,assetUrl:i.url,modality:n.modality}]})}var eg=e.i(627203),eh=e.i(32123);function ev(){var e;let i,r,a,l,s,o=(0,n.c)(19),{model:c}=(0,O.useModelPage)(),u=(0,R.o)(),d=(0,R.M)(),m=(e=(0,eg.g)())===_.j.Decisions||e===eh.V?null:e,f=(0,eu.f)({permaslug:c.permaslug,modality:m});o[0]!==f?(i={...f,select:ep},o[0]=f,o[1]=i):i=o[1];let{data:p}=(0,Y.f)(i);o[2]!==p?(r=void 0===p?[]:p,o[2]=p,o[3]=r):r=o[3];let g=r;if(0===g.length)return null;if(o[4]!==u||o[5]!==c.name?(a=u("Example outputs summary for {modelName}",{modelName:c.name}),o[4]=u,o[5]=c.name,o[6]=a):a=o[6],o[7]!==u||o[8]!==d||o[9]!==c.name||o[10]!==g){let e;o[12]!==u||o[13]!==d||o[14]!==c.name?(e=e=>(0,t.jsxs)("li",{children:[(0,ed.f)(d,e),":"," ",(0,t.jsx)("a",{href:e.assetUrl,tabIndex:-1,children:function(e,{gt:t,modelName:n}){return e.modality===em.f.Speech?t("{prompt} — spoken by {modelName}",{prompt:e.prompt,modelName:n}):t("{prompt} — generated with {modelName}",{prompt:e.prompt,modelName:n})}(e,{gt:u,modelName:c.name})})]},e.key),o[12]=u,o[13]=d,o[14]=c.name,o[15]=e):e=o[15],l=g.map(e),o[7]=u,o[8]=d,o[9]=c.name,o[10]=g,o[11]=l}else l=o[11];return o[16]!==a||o[17]!==l?(s=(0,t.jsx)(K,{caption:a,testId:"model-example-outputs-summary",children:l}),o[16]=a,o[17]=l,o[18]=s):s=o[18],s}var eb=e.i(903336),ex=e.i(728439),ey=e.i(768462),ew=e.i(46766),ek=e.i(312679),e_=e.i(832850),ej=e.i(960773),eA=e.i(13457),eM=e.i(109460);function eS(e){let i,r,a,s=(0,n.c)(11),{sections:o,children:c}=e,u=(0,ej.Q)(),d=(0,ek.f)(),m=(0,ew.f)(),f=(0,l.f)(),p=(0,eA.f)("model_page_section_view");s[0]!==u?(i=e=>{u.capture("click_model_page_tab",{tab:e,source:"section_nav"})},s[0]=u,s[1]=i):i=s[1];let g=i;s[2]!==f?(r=f("Model page sections"),s[2]=f,s[3]=r):r=s[3];let h=m+eM.W+d;return s[4]!==c||s[5]!==g||s[6]!==p||s[7]!==o||s[8]!==r||s[9]!==h?(a=(0,t.jsx)(e_.f,{sections:o,ariaLabel:r,desktopNavTopClass:eM._,mobileTocTopClass:eM.d,activationLinePx:h,onSectionView:p,onSectionSelect:g,children:c}),s[4]=c,s[5]=g,s[6]=p,s[7]=o,s[8]=r,s[9]=h,s[10]=a):a=s[10],a}var eC=e.i(616384),eN=e.i(136562),eL=e.i(894868),eT=e.i(954217);function eI(e){let i,r,a,l,s,o,c,u=(0,n.c)(22),{slug:d,name:m,author:f,onModelClick:p,className:g}=e,h=(0,R.o)();u[0]!==g?(i=(0,eN.f)("flex min-w-0 items-center gap-2",g),u[0]=g,u[1]=i):i=u[1],u[2]!==f||u[3]!==d?(r=(0,t.jsx)(eL.f,{frame:!0,author:f,permaslug:d,className:"size-6 shrink-0"}),u[2]=f,u[3]=d,u[4]=r):r=u[4];let v=`/${d}`;u[5]!==m||u[6]!==p||u[7]!==v?(a=(0,t.jsx)(eT.TextLink,{href:v,onClick:p,weight:"medium",className:"truncate text-sm",children:m}),u[5]=m,u[6]=p,u[7]=v,u[8]=a):a=u[8];let b=`/${f}`;return u[9]!==f||u[10]!==h?(l=h("by {author}",{author:f}),u[9]=f,u[10]=h,u[11]=l):l=u[11],u[12]!==b||u[13]!==l?(s=(0,t.jsx)(eT.TextLink,{href:b,children:l}),u[12]=b,u[13]=l,u[14]=s):s=u[14],u[15]!==a||u[16]!==s?(o=(0,t.jsxs)("div",{className:"flex min-w-0 flex-col",children:[a,s]}),u[15]=a,u[16]=s,u[17]=o):o=u[17],u[18]!==i||u[19]!==r||u[20]!==o?(c=(0,t.jsxs)("div",{className:i,children:[r,o]}),u[18]=i,u[19]=r,u[20]=o,u[21]=c):c=u[21],c}function eE(e){let i,r,a,l=(0,n.c)(10),{aliasSlug:s,targetSlug:o,targetName:c,targetAuthor:u}=e,d=(0,ej.Q)();return l[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(ee.T,{children:(0,t.jsx)("h3",{className:"text-sm font-semibold text-muted-foreground",children:"Latest model"})}),l[0]=i):i=l[0],l[1]!==s||l[2]!==d||l[3]!==o?(r=()=>{d.capture("click_latest_alias_target",{alias_slug:s,target_slug:o})},l[1]=s,l[2]=d,l[3]=o,l[4]=r):r=l[4],l[5]!==r||l[6]!==u||l[7]!==c||l[8]!==o?(a=(0,t.jsxs)("div",{className:"flex flex-col gap-4","data-testid":"router-latest-model",children:[i,(0,t.jsx)(eI,{slug:o,name:c,author:u,onModelClick:r})]}),l[5]=r,l[6]=u,l[7]=c,l[8]=o,l[9]=a):a=l[9],a}var eP=e.i(208977),e$=e.i(297510),eF=e.i(153722),eR=e.i(751155),eq=e.i(206020);let eD=[];function ez(){let e,i,r,a,l,s,o,c,u,d=(0,n.c)(25),{model:m}=(0,O.useModelPage)();d[0]!==m.permaslug?(e=(0,eq.f)(m.permaslug),d[0]=m.permaslug,d[1]=e):e=d[1];let{data:f,isError:p}=(0,Y.f)(e);f?.modelNameMap,d[2]!==f?.modelNameMap?(i=f?.modelNameMap??{},d[2]=f?.modelNameMap,d[3]=i):i=d[3];let g=i;d[4]!==f?.analytics||d[5]!==g?(r=()=>(function(e,t){let n=new Map;for(let t of e){let e=n.get(t.model_permaslug)??0;n.set(t.model_permaslug,e+t.total_prompt_tokens+t.total_completion_tokens)}let i=[...n.entries()].toSorted((e,t)=>t[1]-e[1]),r=i.reduce((e,[,t])=>e+t,0);if(0===r)return[];let a=i.slice(0,5),l=i.slice(5).reduce((e,[,t])=>e+t,0),s=a.map(([e,n])=>({permaslug:e,shortName:t[e]??e.split("/").pop()??e,author:(0,eF.z)(e)??"unknown",tokens:n,percentage:n/r*100}));return l>0&&s.push({permaslug:"others",shortName:"Others",author:"",tokens:l,percentage:l/r*100}),s})(f?.analytics??eD,g),d[4]=f?.analytics,d[5]=g,d[6]=r):r=d[6],f?.analytics,d[7]!==r?(a=r(),d[7]=r,d[8]=a):a=d[8];let h=a;return d[9]!==m.short_name?(l=(0,t.jsx)(ee.T,{children:(0,t.jsxs)("h3",{className:"text-sm font-semibold text-muted-foreground",children:["Top models used by ",(0,t.jsx)(et.d,{children:m.short_name})]})}),d[9]=m.short_name,d[10]=l):l=d[10],d[11]!==f||d[12]!==h?(s=void 0!==f&&h.length>0&&(0,t.jsx)("ol",{className:"flex flex-col gap-3",children:h.map(eO)}),d[11]=f,d[12]=h,d[13]=s):s=d[13],d[14]!==f||d[15]!==h?(o=void 0!==f&&0===h.length&&(0,t.jsx)(ee.T,{children:(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No usage data available yet."})}),d[14]=f,d[15]=h,d[16]=o):o=d[16],d[17]!==f||d[18]!==p?(c=p&&void 0===f&&(0,t.jsx)(ee.T,{children:(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Usage data is unavailable right now."})}),d[17]=f,d[18]=p,d[19]=c):c=d[19],d[20]!==l||d[21]!==s||d[22]!==o||d[23]!==c?(u=(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[l,s,o,c]}),d[20]=l,d[21]=s,d[22]=o,d[23]=c,d[24]=u):u=d[24],u}function eO(e,n){return(0,t.jsx)(eK,{entry:e,rank:n+1},e.permaslug)}function eK(e){let i,r,a,s,o,c,u,d,m,f,p=(0,n.c)(28),{entry:g,rank:h}=e,v=(0,J.useLocale)(),b=(0,l.f)(),x="others"===g.permaslug;return p[0]!==h?(i=(0,t.jsxs)("span",{className:"w-5 text-right text-sm text-muted-foreground tabular-nums",children:[h,"."]}),p[0]=h,p[1]=i):i=p[1],p[2]!==g.author||p[3]!==g.permaslug||p[4]!==g.shortName||p[5]!==x?(r=x?(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[(0,t.jsx)("div",{className:(0,eN.f)("flex size-6 shrink-0 items-center justify-center rounded-full","bg-muted text-xs font-medium text-muted-foreground"),children:"+"}),(0,t.jsx)(ee.T,{children:(0,t.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:"Others"})})]}):(0,t.jsx)(eI,{slug:g.permaslug,name:g.shortName,author:g.author,className:"flex-1"}),p[2]=g.author,p[3]=g.permaslug,p[4]=g.shortName,p[5]=x,p[6]=r):r=p[6],p[7]!==b?(a=b("Tokens processed in the last 3 months"),p[7]=b,p[8]=a):a=p[8],p[9]!==g.tokens?(s=(0,eP.V)(g.tokens),p[9]=g.tokens,p[10]=s):s=p[10],p[11]!==s?(o=(0,t.jsx)("span",{className:"text-sm tabular-nums text-foreground",children:s}),p[11]=s,p[12]=o):o=p[12],p[13]!==g.percentage||p[14]!==v?(c=(0,e$.I)(g.percentage,{locale:v,preset:"native-fixed-1"})??"—",p[13]=g.percentage,p[14]=v,p[15]=c):c=p[15],p[16]!==c?(u=(0,t.jsx)("span",{className:"text-xs tabular-nums text-muted-foreground",children:c}),p[16]=c,p[17]=u):u=p[17],p[18]!==o||p[19]!==u?(d=(0,t.jsxs)("div",{className:"flex shrink-0 flex-col items-end",children:[o,u]}),p[18]=o,p[19]=u,p[20]=d):d=p[20],p[21]!==a||p[22]!==d?(m=(0,t.jsx)(eR.Tooltip,{content:a,children:d}),p[21]=a,p[22]=d,p[23]=m):m=p[23],p[24]!==i||p[25]!==r||p[26]!==m?(f=(0,t.jsxs)("li",{className:"flex items-center gap-3",children:[i,r,m]}),p[24]=i,p[25]=r,p[26]=m,p[27]=f):f=p[27],f}let eH=(0,u.default)(()=>e.A(687020).then(e=>e.RouterModelShare),{loadableGenerated:{modules:[809664]},loading:()=>null}),eU=(0,u.default)(()=>e.A(405417).then(e=>e.ModelActivity),{loadableGenerated:{modules:[598702]},loading:()=>null,ssr:!1}),eV=(0,u.default)(()=>e.A(429796).then(e=>e.ModelAPI),{loadableGenerated:{modules:[279704]},loading:()=>null,ssr:!1}),eB=(0,u.default)(()=>e.A(927392).then(e=>e.ModelApps),{loadableGenerated:{modules:[662512]},loading:()=>null}),eG=(0,u.default)(()=>e.A(166757).then(e=>e.ModelBenchmarks),{loadableGenerated:{modules:[858235]},loading:()=>null,ssr:!1}),eW=(0,u.default)(()=>e.A(482535).then(e=>e.ModelArenaOutputs),{loadableGenerated:{modules:[21564]},loading:()=>null,ssr:!1}),eZ=(0,u.default)(()=>e.A(802841).then(e=>e.ModelPricing),{loadableGenerated:{modules:[198751]},loading:()=>null,ssr:!1}),eQ=(0,u.default)(()=>e.A(300180).then(e=>e.ModelPerformance),{loadableGenerated:{modules:[537870]},loading:()=>null}),eX=(0,u.default)(()=>e.A(76221).then(e=>e.ModelUptime),{loadableGenerated:{modules:[719918]},loading:()=>null}),eJ=(0,u.default)(()=>e.A(361089).then(e=>e.ModelPlaygroundSection),{loadableGenerated:{modules:[224116]},loading:()=>(0,t.jsx)(eb.m,{}),ssr:!1});function eY(){let e,i,r,a=(0,n.c)(4),l=(0,H.x)();a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(U,{}),i=(0,t.jsx)(eW,{}),a[0]=e,a[1]=i):(e=a[0],i=a[1]);let s="absent"!==l;return a[2]!==s?(r=(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[e,i,(0,t.jsx)(eG,{hideEmptyState:s})]}),a[2]=s,a[3]=r):r=a[3],r}let e0={providers:ex.ModelProviders,performance:eQ,pricing:eZ,benchmarks:function(){let e,i,r=(0,n.c)(3),{isPrivateView:a}=(0,O.useModelPage)();return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(eo,{}),r[0]=e):e=r[0],r[1]!==a?(i=(0,t.jsxs)(t.Fragment,{children:[e,a?(0,t.jsx)(eG,{}):(0,t.jsx)(eY,{})]}),r[1]=a,r[2]=i):i=r[2],i},apps:eB,activity:eU,uptime:eX};function e1(e){return"overview"!==e&&"api"!==e}function e2(e){return"overview"!==e&&"api"!==e}function e3(e){return e.endpoints.length>1}function e5(e){let i,r,o,u,d,m,p,g=(0,n.c)(22),{routerModelsCard:h,supplementalContent:v,visibleTabSlugs:b,latestAliasTarget:x,jevRouterPermaslug:y}=e,w=I.api,k=(0,s.f)(),_=(0,l.f)(),{isPrivateView:j}=(0,O.useModelPage)();g[0]!==_||g[1]!==j||g[2]!==y?(i=null===y?null:(0,t.jsx)(ey.f,{id:"live-routing",title:_("Live routing"),icon:c.f,explainer:_(y===a.f.AutoCode?"Explore actual agent usage and how the router chooses models for new work.":"Explore actual usage and how the router chooses models for new work."),contentClassName:f.f,children:(0,t.jsx)(eH,{permaslug:y,isPrivate:j})}),g[0]=_,g[1]=j,g[2]=y,g[3]=i):i=g[3],g[4]!==k||g[5]!==b?(r=b.includes("api")&&w&&(0,t.jsx)(ey.f,{id:"api",title:k(w.label),icon:w.icon,explainer:k(w.explainer),children:(0,t.jsx)(eV,{})}),g[4]=k,g[5]=b,g[6]=r):r=g[6],g[7]!==h||g[8]!==v||g[9]!==i||g[10]!==r?(o=(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-10",children:[h,i,r,v]}),g[7]=h,g[8]=v,g[9]=i,g[10]=r,g[11]=o):o=g[11];let A=o;return null!==y&&null===x?A:(g[12]!==x?(u=x&&(0,t.jsx)(eE,{...x}),g[12]=x,g[13]=u):u=g[13],g[14]!==y?(d=null===y?(0,t.jsx)(ez,{}):null,g[14]=y,g[15]=d):d=g[15],g[16]!==u||g[17]!==d?(m=(0,t.jsx)("aside",{className:"hidden md:block",children:(0,t.jsxs)("div",{className:"sticky top-36 flex flex-col gap-8",children:[u,d]})}),g[16]=u,g[17]=d,g[18]=m):m=g[18],g[19]!==A||g[20]!==m?(p=(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-10 md:grid-cols-[minmax(0,2fr)_minmax(20rem,1fr)] md:gap-12",children:[A,m]}),g[19]=A,g[20]=m,g[21]=p):p=g[21],p)}e.s(["ModelPageOverview",0,function(){var e,a;let c,u,d,p,g,b,k,j,A,M,S=(0,n.c)(70),{model:C,hasBenchmarks:N,hasFaqs:L,hasRelatedResources:T,hasDocumentation:$,isPrivateView:R,supplementalContent:q,variantGroups:D,routerModelsCard:z,latestAliasTarget:K}=(0,O.useModelPage)(),H=C.group===r.f.Router,U=(0,eC.N)(C).perfWorkload;S[0]!==D?(c=D.some(e3),S[0]=D,S[1]=c):c=S[1];let V=c,B=(0,eg.d)();(0,eg.I)(),S[2]!==N||S[3]!==R||S[4]!==C?(u=(0,w.M)({model:C,hasBenchmarks:N,isPrivateView:R}),S[2]=N,S[3]=R,S[4]=C,S[5]=u):u=S[5];let G=u;S[6]!==G?(d=G.includes("api"),S[6]=G,S[7]=d):d=S[7];let W=d,Z=I.api,Q=(0,l.f)(),X=(0,s.f)();if(S[8]!==Z||S[9]!==Q||S[10]!==W||S[11]!==$||S[12]!==L||S[13]!==T||S[14]!==X||S[15]!==B||S[16]!==G){let e=G.filter(e2);if(p=[],B){let e,t;S[18]!==X?(e=X(eg.c),S[18]=X,S[19]=e):e=S[19],S[20]!==e?(t={id:eg.w,label:e,icon:eg.P},S[20]=e,S[21]=t):t=S[21],p.push(t)}for(let t of e){let e=I[t];e&&p.push({id:t,label:X(e.label),icon:e.icon})}if(W&&Z){let e,t;S[22]!==Z.label||S[23]!==X?(e=X(Z.label),S[22]=Z.label,S[23]=X,S[24]=e):e=S[24],S[25]!==Z.icon||S[26]!==e?(t={id:"api",label:e,icon:Z.icon,mobileOnly:!0},S[25]=Z.icon,S[26]=e,S[27]=t):t=S[27],p.push(t)}if($){let e,t;S[28]!==X?(e=X(h),S[28]=X,S[29]=e):e=S[29],S[30]!==e?(t={id:"documentation",label:e,icon:v},S[30]=e,S[31]=t):t=S[31],p.push(t)}if(L){let e,t;S[32]!==Q?(e=Q("FAQ"),S[32]=Q,S[33]=e):e=S[33],S[34]!==e?(t={id:"faq",label:e,icon:o.f},S[34]=e,S[35]=t):t=S[35],p.push(t)}if(T){let e,t;S[36]!==X?(e=X(x),S[36]=X,S[37]=e):e=S[37],S[38]!==e?(t={id:"explore",label:e,icon:y},S[38]=e,S[39]=t):t=S[39],p.push(t)}S[8]=Z,S[9]=Q,S[10]=W,S[11]=$,S[12]=L,S[13]=T,S[14]=X,S[15]=B,S[16]=G,S[17]=p}else p=S[17];let J=p;if(H){let e,n,r=K??null;return S[40]!==C.permaslug?(e=(0,i.n)(C.permaslug)?C.permaslug:null,S[40]=C.permaslug,S[41]=e):e=S[41],S[42]!==z||S[43]!==q||S[44]!==r||S[45]!==e||S[46]!==G?(n=(0,t.jsx)(e5,{routerModelsCard:z,supplementalContent:q,visibleTabSlugs:G,latestAliasTarget:r,jevRouterPermaslug:e}),S[42]=z,S[43]=q,S[44]=r,S[45]=e,S[46]=G,S[47]=n):n=S[47],n}let Y=m.h;S[48]!==G?(g=G.includes("pricing"),S[48]=G,S[49]=g):g=S[49],S[50]!==B?(b=B?(0,t.jsxs)("div",{className:"mb-10 last:mb-0",children:[(0,t.jsx)(ev,{}),(0,t.jsx)(eJ,{})]}):null,S[50]=B,S[51]=b):b=S[51];let ee=G.filter(e1).map(e=>{let n=I[e],i=e0[e];if(!n||!i)return null;let r="providers"!==e||V?function({slug:e,explainer:t,perfWorkload:n}){return"performance"===e?F[n]:t}({slug:e,explainer:n.explainer,perfWorkload:U}):E;return(0,t.jsx)(ey.f,{className:"mb-10 last:mb-0",id:e,title:X(n.label),icon:n.icon,explainer:X(r),contentClassName:f.f,children:(0,t.jsx)(i,{})},e)});return S[52]!==Z||S[53]!==W||S[54]!==X||S[55]!==C?(k=W&&Z&&(0,t.jsx)(ey.f,{id:"api",title:X(Z.label),icon:Z.icon,explainer:X((e=C.output_modalities,a=Z.explainer,e.includes(_.j.Decisions)?P:a)),className:"mb-10 last:mb-0 lg:hidden",contentClassName:f.f,children:(0,t.jsx)(eV,{})}),S[52]=Z,S[53]=W,S[54]=X,S[55]=C,S[56]=k):k=S[56],S[57]!==q||S[58]!==b||S[59]!==ee||S[60]!==k?(j=(0,t.jsxs)("div",{children:[b,ee,k,q]}),S[57]=q,S[58]=b,S[59]=ee,S[60]=k,S[61]=j):j=S[61],S[62]!==eS||S[63]!==J||S[64]!==j?(A=(0,t.jsx)(eS,{sections:J,children:j}),S[62]=eS,S[63]=J,S[64]=j,S[65]=A):A=S[65],S[66]!==Y||S[67]!==g||S[68]!==A?(M=(0,t.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-[200px_1fr] gap-6",children:(0,t.jsx)(Y,{hasPricingSection:g,children:A})}),S[66]=Y,S[67]=g,S[68]=A,S[69]=M):M=S[69],M}],77418)},903336,e=>{"use strict";var t=e.i(659350),n=e.i(663456),i=e.i(232458),r=e.i(670168);e.i(707060);var a=e.i(919035),l=e.i(16043),s=e.i(768462),o=e.i(627203);function c(){let e,i=(0,n.c)(1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(r.l,{"aria-hidden":!0,className:"min-h-[min(300px,56vw)] h-64 bg-muted/40 sm:h-80 lg:min-h-104"}),i[0]=e):e=i[0],e}function u(){(0,i.E)()}e.s(["o",0,c,"m",0,function(){let e,i,r,d,m=(0,n.c)(6),f=(0,a.f)();return m[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],m[0]=e):e=m[0],(0,l.useEffect)(u,e),m[1]!==f?(i=f(o.c),m[1]=f,m[2]=i):i=m[2],m[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(c,{}),m[3]=r):r=m[3],m[4]!==i?(d=(0,t.jsx)(s.f,{id:o.w,title:i,icon:o.P,contentClassName:"overflow-hidden p-0",children:r}),m[4]=i,m[5]=d):d=m[5],d}])},768462,e=>{"use strict";var t=e.i(659350),n=e.i(663456),i=e.i(136562),r=e.i(109460),a=e.i(950008);e.s(["f",0,function(e){let l,s,o,c,u,d,m,f,p,g,h,v,b=(0,n.c)(32),{id:x,title:y,icon:w,explainer:k,children:_,className:j,headerActions:A,titleAccessory:M,contentClassName:S}=e;b[0]!==j?(l=(0,i.f)(r.$,j),b[0]=j,b[1]=l):l=b[1];let C=k?"mb-1.5":"mb-3";b[2]!==C?(s=(0,i.f)("flex flex-wrap items-center gap-x-4 gap-y-2",C),b[2]=C,b[3]=s):s=b[3],b[4]!==w?(o=(0,t.jsx)(w,{className:"h-4 w-4 shrink-0 text-muted-foreground"}),b[4]=w,b[5]=o):o=b[5],b[6]!==y?(c=(0,t.jsx)("h2",{className:"text-base font-medium",children:y}),b[6]=y,b[7]=c):c=b[7],b[8]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(a.ModelSectionShareSlotTarget,{}),b[8]=u):u=b[8],b[9]!==o||b[10]!==c||b[11]!==M?(d=(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[o,c,M,u]}),b[9]=o,b[10]=c,b[11]=M,b[12]=d):d=b[12],b[13]!==A?(m=A?(0,t.jsx)("div",{className:"ml-auto min-w-0 shrink",children:A}):null,b[13]=A,b[14]=m):m=b[14],b[15]!==s||b[16]!==d||b[17]!==m?(f=(0,t.jsxs)("div",{className:s,children:[d,m]}),b[15]=s,b[16]=d,b[17]=m,b[18]=f):f=b[18],b[19]!==k?(p=k?(0,t.jsx)("p",{className:"mb-4 max-w-2xl text-xs leading-relaxed text-muted-foreground",children:k}):null,b[19]=k,b[20]=p):p=b[20];let N=S??"p-4 sm:p-5";return b[21]!==N?(g=(0,i.f)("rounded-lg border border-border",N),b[21]=N,b[22]=g):g=b[22],b[23]!==_||b[24]!==g?(h=(0,t.jsx)("div",{className:g,children:_}),b[23]=_,b[24]=g,b[25]=h):h=b[25],b[26]!==x||b[27]!==l||b[28]!==p||b[29]!==h||b[30]!==f?(v=(0,t.jsx)(a.ModelSectionShareSlotProvider,{children:(0,t.jsxs)(a.ModelSectionShareGroup,{id:x,className:l,children:[f,p,h]})}),b[26]=x,b[27]=l,b[28]=p,b[29]=h,b[30]=f,b[31]=v):v=b[31],v}])},989393,e=>{"use strict";var t=e.i(663456),n=e.i(797521);e.i(707060);var i=e.i(288265);e.s(["c",0,"--","Y",0,function(){let e,r,a,l,s,o=(0,t.c)(11),c=(0,n.f)(),u=(0,i.f)();return o[0]!==c?(e=e=>c.usd(e,{preset:"benchmark-native"})??"--",r=e=>c.duration(e,{preset:"latency-fixed-seconds"})??"--",a=e=>c.percentPoints(e,{preset:"native-rounded-integer"})??"--",o[0]=c,o[1]=e,o[2]=r,o[3]=a):(e=o[1],r=o[2],a=o[3]),o[4]!==u?(l=e=>u("{position, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}",{position:e}),o[4]=u,o[5]=l):l=o[5],o[6]!==e||o[7]!==r||o[8]!==a||o[9]!==l?(s={cost:e,duration:r,percent:a,ordinal:l},o[6]=e,o[7]=r,o[8]=a,o[9]=l,o[10]=s):s=o[10],s}])},305874,851296,974558,e=>{"use strict";var t=e.i(297272),n=e.i(560832);e.s(["f",0,function(e,i,r){return r?(0,n.x)(i):(0,t.B)(i,{locale:e,fractionDigits:1})??"—"}],305874);var i=e.i(659350),r=e.i(663456),a=e.i(112252),l=e.i(359544),s=e.i(326e3),o=e.i(199168);function c(e){let t,n,c,d,m,f,p,g,h,v,b,x,y,w,k,_,j,A=(0,r.c)(43),{options:M,value:S,onValueChange:C}=e,N=(0,o.o)();if(A[0]!==N||A[1]!==C||A[2]!==M||A[3]!==S){v=Symbol.for("react.early_return_sentinel");e:{let e,r;if(A[14]!==S?(e=e=>e.value===S,A[14]=S,A[15]=e):e=A[15],void 0===(c=M.find(e))){v=null;break e}A[16]!==N?(r=N("Model variant"),A[16]=N,A[17]=r):r=A[17];let o=(0,i.jsx)(l.f,{title:r,trigger:(0,i.jsx)(a.f,{"aria-label":N("Model variant: {label}",{label:c.label}),className:"min-w-0",children:c.label}),options:M,value:S,onValueChange:C});A[18]!==o?(h=(0,i.jsx)("div",{className:"flex min-w-0 md:hidden",children:o}),A[18]=o,A[19]=h):h=A[19],g="hidden md:block",n=s.Select,f=S,p=C,t=s.SelectTrigger,d="w-auto",m=N("Model variant: {label}",{label:c.label})}A[0]=N,A[1]=C,A[2]=M,A[3]=S,A[4]=t,A[5]=n,A[6]=c,A[7]=d,A[8]=m,A[9]=f,A[10]=p,A[11]=g,A[12]=h,A[13]=v}else t=A[4],n=A[5],c=A[6],d=A[7],m=A[8],f=A[9],p=A[10],g=A[11],h=A[12],v=A[13];return v!==Symbol.for("react.early_return_sentinel")?v:(A[20]!==c.label?(b=(0,i.jsx)(s.SelectValue,{children:c.label}),A[20]=c.label,A[21]=b):b=A[21],A[22]!==t||A[23]!==d||A[24]!==m||A[25]!==b?(x=(0,i.jsx)(t,{className:d,"aria-label":m,children:b}),A[22]=t,A[23]=d,A[24]=m,A[25]=b,A[26]=x):x=A[26],A[27]!==M?(y=M.map(u),A[27]=M,A[28]=y):y=A[28],A[29]!==y?(w=(0,i.jsx)(s.SelectContent,{children:y}),A[29]=y,A[30]=w):w=A[30],A[31]!==n||A[32]!==w||A[33]!==f||A[34]!==p||A[35]!==x?(k=(0,i.jsxs)(n,{value:f,onValueChange:p,children:[x,w]}),A[31]=n,A[32]=w,A[33]=f,A[34]=p,A[35]=x,A[36]=k):k=A[36],A[37]!==k||A[38]!==g?(_=(0,i.jsx)("div",{className:g,children:k}),A[37]=k,A[38]=g,A[39]=_):_=A[39],A[40]!==_||A[41]!==h?(j=(0,i.jsxs)(i.Fragment,{children:[h,_]}),A[40]=_,A[41]=h,A[42]=j):j=A[42],j)}function u(e){return(0,i.jsx)(s.SelectItem,{value:e.value,children:e.label},e.value)}function d(e){return{value:e,label:e}}e.s(["f",0,c],851296),e.s(["G",0,function(e){let t,n,a=(0,r.c)(6),{variantList:l,selectedVariant:s,onVariantChange:o}=e;return l.length<=1?null:(a[0]!==l?(t=l.map(d),a[0]=l,a[1]=t):t=a[1],a[2]!==o||a[3]!==s||a[4]!==t?(n=(0,i.jsx)(c,{options:t,value:s,onValueChange:o}),a[2]=o,a[3]=s,a[4]=t,a[5]=n):n=a[5],n)},"M",0,function(e){let t=new Map;for(let n of e){let e=t.get(n.display_name);e?(e.total+=n.elo,e.count+=1):t.set(n.display_name,{total:n.elo,count:1})}return[...t.entries()].toSorted(([,e],[,t])=>t.count-e.count||t.total/t.count-e.total/e.count).map(([e])=>e)}],974558)},106301,e=>{"use strict";e.s(["f",0,"p-0 max-md:border-0 md:p-5"])},839952,e=>{"use strict";var t=e.i(837808),n=e.i(189360),i=e.i(658108);let r=["http://127.0.0.1:9002","http://localhost:9002"];function a(e){let t="https://openrouter.ai";if(e.startsWith(`${t}/images/`))return e.slice(t.length);for(let t of r){let n=`${t}/model-assets-dev/`;if(e.startsWith(n))return e.slice(t.length)}return e}var l=e.i(614184),s=e.i(427150);function o(e){return{id:e.permaslug,name:e.name,author:e.author}}var c=e.i(257509);function u(e,{standing:t,modelPermaslug:r}){var a;let l,s;return{id:e.slug,kind:"style"===e.kind?"showcase":"challenge",label:e.navLabel,prompt:e.prompt,href:(l=(0,n.x)(e.modality,e.slug),s=e.variantCount>1?`${l}?variant=${encodeURIComponent(e.variantSlug)}`:l,(0,i.n)(s,r)),costUsd:e.costUsd,durationMs:e.durationMs,score:void 0===e.score?null:{score:(a=e.score).checks.filter(e=>e.pass).length,total:a.checks.length,checks:a.checks.map(e=>({label:e.label,pass:e.pass})),...void 0!==a.judges&&{judges:a.judges.map(e=>({id:e.permaslug,name:e.name,author:e.author}))}},rank:t?.challenges[e.slug]??null}}e.s(["y",0,function(e,n){let i=e.challenges.filter(e=>null!==e.rank),r=i.reduce((e,n)=>{let i=n.modality===t.Z?(0,c.$)(n.correctness,n.delivery):null!==n.score?0===n.score.total?null:n.score.score/n.score.total:null;return null===i||null!==e&&i{var n,d;return n={standing:r,modelPermaslug:i},e.modality===t.Z?{...u(e,n),modality:e.modality,audioUrl:a(e.asset.url),peaks:e.asset.peaks??[],voice:e.asset.voice,transcript:e.asset.transcript,correctness:(0,c.v)({heard:(d=e.heard,(0,s.f)(d)?{text:d.text,judge:o(d.judge)}:null),transcript:e.asset.transcript},e.prompt),delivery:function(e){if(!(0,s.f)(e))return null;let t=(0,l.S)(e);return 0===t.length?null:{checks:t,judges:(e.judges??[]).map(o)}}(e.score)}:{...u(e,n),modality:e.modality,url:a(e.asset.url),thumbnailUrl:null===e.asset.thumbnailUrl?null:a(e.asset.thumbnailUrl),frameThumbnailUrls:(e.asset.frameThumbnailUrls??[]).map(a),width:e.asset.width,height:e.asset.height}});return{modality:n,challenges:d.filter(e=>"challenge"===e.kind),showcases:d.filter(e=>"showcase"===e.kind),standing:r}}],839952)},585351,e=>{"use strict";var t=e.i(126801),n=e.i(851671),i=e.i(819750),r=e.i(524287),a=e.i(119816),l=e.i(430022),s=e.i(562576),o=e.i(613497),c=e.i(173465),u=e.i(368174);function d(e){return(t,n)=>{var i,r,a;if(null===e||void 0===n)return;let l=n.queryKey.at(-1);if(i=l,(0,u.f)(i)&&"permaslug"in i&&"variant"in i&&"perfWorkload"in i&&"latencyMetric"in i){return(r=e,a=l,r.permaslug===a.permaslug&&r.variant===a.variant&&r.perfWorkload===a.perfWorkload&&r.latencyMetric===a.latencyMetric)?t:void 0}}}let m=(0,r.f)("model-page",{endpointStats:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort}],providerTableEndpointStats:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort}],uptimeRecent:e=>[null===e?null:{permaslug:e}],uptimeRecentPrivate:(e,t)=>[null===e||null===t?null:{entityId:e,endpointIds:t}],endpointUptimeHourly:e=>[{endpointId:e.endpointId,entityId:e.entityId,isPrivateView:e.isPrivateView}],appStats:e=>[{permaslug:e.permaslug,variant:e.variant}],modelActivity:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant}],benchmarkScores:e=>[{permaslug:e}],topColos:e=>[{permaslug:e}],providerTokenChart:e=>[{permaslug:e.permaslug,providerSlug:e.providerSlug,variant:e.variant}]});function f(e,n=new Date){if(e.history.length>=72)return e.history.map(e=>({date:(0,l.y)(e.date),uptime:e.uptime})).toReversed();let i=new Map(e.history.map(e=>[e.date,e.uptime]));return Array.from({length:72},(e,r)=>{let a=new Date(n);return a.setUTCHours(a.getUTCHours()-(71-r)),a.setUTCMinutes(0),a.setUTCSeconds(0),a.setUTCMilliseconds(0),{date:a,uptime:i.get((0,t.f)(a))??null}})}let p=(0,r.f)("model-uptime",{recent:({permaslug:e,variant:t,isPrivateView:n})=>[{permaslug:e,variant:t,isPrivateView:n}]}),g=(0,r.f)("model-pricing",{summary:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant}],listed:({permaslug:e,variant:t,range:n})=>[{permaslug:e,variant:t,range:n}],effectiveChart:({permaslug:e,variant:t,range:n})=>[{permaslug:e,variant:t,range:n}]});function h(e){return{response:e,summaries:e.providerSummaries,totalTokens:e.providerSummaries.reduce((e,t)=>e+t.totalTokens,0)}}e.s(["S",0,function(e){return(0,c.f)({queryKey:m.appStats(e),queryFn:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/top-apps-for-model",{searchParams:{permaslug:e.permaslug,variant:e.variant},signal:t})})},"v",0,function(e){return(0,c.f)({queryKey:m.benchmarkScores(e),queryFn:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/benchmark-scores",{searchParams:{permaslug:e},signal:t})})},"w",0,function(e,t,n){return(0,c.f)({queryKey:g.effectiveChart({permaslug:e,variant:t,range:n}),queryFn:null===n?o.V:({signal:r})=>(0,i.f)("/api/frontend/v1/stats/effective-pricing",{searchParams:{permaslug:e,variant:t,shape:s.S,range:n},signal:r}),placeholderData:o.y})},"K",0,function(e){return(0,c.f)({queryKey:g.summary(e),queryFn:null===e?o.V:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/effective-pricing",{searchParams:{permaslug:e.permaslug,variant:e.variant,shape:s.S},signal:t}),select:h,staleTime:6e5,refetchOnWindowFocus:!1})},"T",0,function(e){return(0,c.f)({queryKey:m.endpointStats(e),queryFn:null===e?o.V:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/endpoint",{searchParams:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort},signal:t}),placeholderData:d(e)})},"V",0,function({endpointId:e,entityId:t,isPrivateView:n}){return(0,c.f)({queryKey:m.endpointUptimeHourly({endpointId:e,entityId:t,isPrivateView:n}),queryFn:null===e||n&&null===t?o.V:({signal:t})=>(0,i.f)(n?"/api/frontend/v1/private/stats/uptime-hourly-private":"/api/frontend/v1/stats/uptime-hourly",{searchParams:n?{endpointIds:e}:{id:e},signal:t}),select:f,staleTime:a.y.COALESCE_MOUNTS})},"U",0,function(e,t,r){return(0,c.f)({queryKey:g.listed({permaslug:e,variant:t,range:r}),queryFn:null===r?o.V:({signal:a})=>(0,i.f)("/api/frontend/v1/stats/listed-pricing",{searchParams:{permaslug:e,variant:t,shape:n.f,range:r},signal:a}),placeholderData:o.y})},"g",0,function(e){return(0,c.f)({queryKey:m.modelActivity(e),queryFn:null===e?o.V:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/model-activity",{searchParams:{permaslug:e.permaslug,variant:e.variant},signal:t})})},"D",0,function(e){let{permaslug:t,variant:n,isPrivateView:r}=e;return(0,c.f)({queryKey:p.recent({permaslug:t,variant:n,isPrivateView:r}),queryFn:({signal:e})=>(0,i.f)(r?"/api/frontend/v1/private/stats/model-uptime-recent-private":"/api/frontend/v1/stats/model-uptime-recent",{searchParams:{permaslug:t,variant:n},signal:e})})},"h",0,function(e){return(0,c.f)({queryKey:m.providerTableEndpointStats(e),queryFn:null===e?o.V:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/endpoint",{searchParams:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort},signal:t}),placeholderData:d(e)})},"F",0,function(e){return(0,c.f)({queryKey:m.providerTokenChart(e),queryFn:null===e.providerSlug?o.V:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/provider-token-chart",{searchParams:{provider:e.providerSlug,permaslug:e.permaslug,variant:e.variant},signal:t})})},"n",0,function(e){return(0,c.f)({queryKey:m.topColos(e),queryFn:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/top-colos-for-model",{searchParams:{permaslug:e},signal:t})})},"W",0,function(e){return(0,c.f)({queryKey:m.uptimeRecent(e),queryFn:null===e?o.V:({signal:t})=>(0,i.f)("/api/frontend/v1/stats/uptime-recent",{searchParams:{permaslug:e},signal:t})})},"a",0,function(e,t){return(0,c.f)({queryKey:m.uptimeRecentPrivate(e,t),queryFn:null===e||null===t?o.V:({signal:e})=>(0,i.f)("/api/frontend/v1/private/stats/uptime-recent-private",{searchParams:{endpointIds:t},signal:e})})}],585351)},464608,e=>{"use strict";var t=e.i(663456),n=e.i(618115),i=e.i(626524),r=e.i(221612),a=e.i(839952),l=e.i(369677);function s(e,r){let l,s,o,c=(0,t.c)(10),u=e??"image";c[0]!==r||c[1]!==u?(l=(0,i.D)(r,u),c[0]=r,c[1]=u,c[2]=l):l=c[2],c[3]!==r||c[4]!==u?(s=e=>(0,a.M)(e,{tab:u,modelPermaslug:r}),c[3]=r,c[4]=u,c[5]=s):s=c[5];let d=void 0!==e;return c[6]!==l||c[7]!==s||c[8]!==d?(o={...l,select:s,enabled:d},c[6]=l,c[7]=s,c[8]=d,c[9]=o):o=c[9],(0,n.f)(o)}function o(e){return 0===e.challenges.length&&0===e.showcases.length}e.s(["n",0,o,"x",0,function(){let e,n=(0,t.c)(2),{model:i,benchmarkPermaslug:a}=(0,l.useModelPage)();n[0]!==i.output_modalities?(e=(0,r.f)(i.output_modalities),n[0]=i.output_modalities,n[1]=e):e=n[1];let c=e,u=s(c,a);return void 0===c?"absent":"success"!==u.status?u.status:o(u.data)?"absent":"present"},"B",0,s])},13457,e=>{"use strict";var t=e.i(663456);e.i(140570);var n=e.i(960773);e.i(16043),e.s(["f",0,function(e){let i,r=(0,t.c)(3),a=(0,n.Q)();return r[0]!==e||r[1]!==a?(i=(t,n)=>{Math.random()>=.1||a.capture(e,{section:t.id,section_label:t.label,section_index:n,source:"scroll_spy",sample_rate:.1})},r[0]=e,r[1]=a,r[2]=i):i=r[2],i}])},626524,356713,e=>{"use strict";var t=e.i(663456);let n=["index","coding","math","academic","finance","legal","healthcare","education","cyber"];function i(e){let t=new Map;for(let n of e){let e=t.get(n.vals_model_key);if(e){e.recordList.push(n);continue}t.set(n.vals_model_key,{valsModelKey:n.vals_model_key,label:n.vals_model_label,recordList:[n]})}return[...t.values()].toSorted((e,t)=>t.recordList.length-e.recordList.length||e.valsModelKey.localeCompare(t.valsModelKey))}function r(e,t){let n=e.split(".").map(Number),i=t.split(".").map(Number),r=Math.max(n.length,i.length);for(let e=0;e({industry:e,recordList:t.toSorted((e,t)=>e.benchmark_title.localeCompare(t.benchmark_title))})).toSorted((e,t)=>l(e.industry,t.industry))},"S",0,i,"z",0,function(e){return e.split(/[-_\s]+/).filter(e=>e.length>0).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")},"c",0,function(e){let t=new Map;for(let n of e){let e=t.get(n.benchmark_family);(!e||r(n.benchmark_version,e.benchmark_version)>0)&&t.set(n.benchmark_family,n)}return[...t.values()]}],356713);var o=e.i(702596),c=e.i(819750),u=e.i(524287),d=e.i(342837),m=e.i(837808),f=e.i(173465),p=e.i(613497),g=e.i(238819);let h=(0,u.f)("model-benchmarks",{artificialAnalysis:e=>[null===e?null:{slug:e}],allArtificialAnalysis:()=>[],designArena:e=>[null===e?null:{slug:e}],valsAi:e=>[null===e?null:{slug:e}],arenaStrip:(e,t)=>[{permaslug:e,tab:t,view:m.U}]}),v={tiles:[]};async function b(e){try{return await e}catch(e){if(e instanceof o.o&&e.errorT.status===d.g.S404_Not_Found)return v;throw e}}function x(e){return(0,f.f)({queryKey:h.valsAi(e),queryFn:null===e?p.V:({signal:t})=>(0,c.f)("/api/frontend/v1/private/vals-ai-benchmarks",{searchParams:{slug:e},signal:t})})}function y(e){return x(e)}function w(e){var t,n=[...(function(e){let t=new Map;for(let n of e){let e=new Set;for(let i of n){let n=JSON.stringify([i.benchmark_family,i.benchmark_version]);if(e.has(n))continue;e.add(n);let r=t.get(i.benchmark_family)??new Map;t.set(i.benchmark_family,r);let a=r.get(i.benchmark_version);if(a){a.modelCount+=1;continue}r.set(i.benchmark_version,{reference:i,modelCount:1})}}return new Map([...t].map(([e,t])=>[e,[...t.values()]]))})(t=e.map(e=>i(e.data?.records??[])[0]?.recordList??[])).values()].flatMap(e=>{let n=e.toSorted(s)[0];if(!n)return[];let{benchmark_family:i,benchmark_version:r}=n.reference;return[{family:i,version:r,title:n.reference.benchmark_title,industry:n.reference.benchmark_industry,recordByModel:t.map(e=>e.find(e=>e.benchmark_family===i&&e.benchmark_version===r)??null)}]});let r=new Map;for(let e of n){let t=r.get(e.industry)??[];t.push(e),r.set(e.industry,t)}return[...r.entries()].map(([e,t])=>({industry:e,benchmarkList:t.toSorted((e,t)=>e.title.localeCompare(t.title))})).toSorted((e,t)=>l(e.industry,t.industry))}e.s(["K",0,function(){return(0,f.f)({queryKey:h.allArtificialAnalysis(),queryFn:({signal:e})=>(0,c.f)("/api/frontend/v1/private/artificial-analysis-benchmarks/all",{signal:e})})},"D",0,function(e,t){return(0,f.f)({queryKey:h.arenaStrip(e,t),queryFn:({signal:n})=>b((0,c.f)(`/api/frontend/v1/arena/explore/models/${e}`,{searchParams:{tab:t,view:m.U},signal:n})),staleTime:6e4})},"T",0,function(e){return(0,f.f)({queryKey:h.artificialAnalysis(e),queryFn:null===e?p.V:({signal:t})=>(0,c.f)("/api/frontend/v1/private/artificial-analysis-benchmarks",{searchParams:{slug:e},signal:t})})},"q",0,function(e){return(0,f.f)({queryKey:h.designArena(e),queryFn:null===e?p.V:({signal:t})=>(0,c.f)("/api/frontend/v1/private/design-arena-benchmarks",{searchParams:{slug:e},signal:t})})},"t",0,function(e){let n,i,r=(0,t.c)(4);return r[0]!==e?(n=e.map(y),r[0]=e,r[1]=n):n=r[1],r[2]!==n?(i={queries:n,combine:w},r[2]=n,r[3]=i):i=r[3],(0,g.f)(i)},"s",0,x],626524)},206020,e=>{"use strict";var t=e.i(819750),n=e.i(524287),i=e.i(173465),r=e.i(613497);let a=(0,n.f)("router-activity",{detail:e=>[e]});e.s(["f",0,function(e){return(0,i.f)({queryKey:a.detail(e),queryFn:null===e?r.V:({signal:n})=>(0,t.f)("/api/frontend/v1/stats/router-activity",{searchParams:{permaslug:e},signal:n})})}])}]); //# sourceMappingURL=1h4wb70ztcxlu.js.map