import{j as t,r as y,c as tt,f as he}from"./jsx-runtime-CgWCn3gT.js";import{l as r}from"./styled-components.browser.esm-CQ4IZagM.js";import{ao as Ge,ap as Ve,p as ot,aq as nt,m as ze,r as ye,I as it,ar as st,q as xe,s as me,as as rt,at}from"./legacy-shell-D4JdMu14.js";import{u as ct,P as lt}from"./PricingPromotion-Cg1c_py4.js";import{p as dt}from"./providerSeo-RwIhoovz.js";import{u as pt}from"./useTranslation-CksCcIr-.js";import{S as ut}from"./index-CcHKj0sM.js";const W={exports:{}};{let o=function(n,s){return n===s?0:n<s?-1:1},g=function(n){return[...n].sort(o)},I=function(n){return`/compare/${n.map(encodeURIComponent).join("/")}`},B=function(n){return`${z}${I(g(n))}`},k=function(n){const s=A.filter(d=>L(d)&&(!n||n.has(d))),a=[],u=new Set;for(let d=0;d<s.length;d+=1)for(let c=d+1;c<s.length;c+=1){const l=g([s[d],s[c]]),x=l.join("|");u.has(x)||(u.add(x),a.push(l))}return a},q=function(n,s,{minImpressions:a=G,limit:u=V,maxModels:d=4}={}){if(!Array.isArray(n)||!s)return[];const c=`${z}/compare/`,l=new Map;for(const x of n){const f=x&&Array.isArray(x.keys)?x.keys[0]:null;if(typeof f!="string"||!f.startsWith(c))continue;const w=f.slice(c.length).split(/[?#]/)[0].split("/").filter(Boolean);if(w.length<2||w.length>d)continue;let j;try{j=w.map(decodeURIComponent)}catch{continue}if(new Set(j).size!==j.length||j.some(m=>!L(m)||!s.has(m)))continue;const U=g(j),S=B(U),te=l.get(S)||{pair:U,url:S,impressions:0,clicks:0};te.impressions+=Number(x.impressions)||0,te.clicks+=Number(x.clicks)||0,l.set(S,te)}return[...l.values()].filter(x=>x.impressions>=a).sort((x,f)=>f.impressions-x.impressions||f.clicks-x.clicks||o(x.url,f.url)).slice(0,u)},i=function(n){const s=A.filter(d=>L(d)&&(!n||n.has(d))),a=new Set(s),u=new Set(A);return{kept:s,dropped:A.filter(d=>!a.has(d)),drift:[...new Set(O.flat().filter(d=>!u.has(d)))]}},M=function(n,s){const a=n.split("-");for(let u=a.length-1;u>=1;u-=1)if(s.has(a.slice(0,u).join("-")))return!0;return!1},b=function(n,s){const a=n?.model;return!a||!L(a)||a==="auto"||a.endsWith("-free")||H.test(a)||ee.test(a)||h.test(a)||Number(n.completion_ratio)===0?!1:A.includes(a)?!0:!M(a,s)},$=function(n,{recentCount:s=30}={}){if(!Array.isArray(n)||n.length===0)return[];const a=new Set(n.map(f=>f.model)),u=new Map(n.map(f=>[f.model,f])),d=new Map(n.map((f,w)=>[f.model,w])),c=n.slice(0,s).filter(f=>b(f,a)),l=new Set(c.map(f=>f.model));for(const f of A)l.has(f)||!u.has(f)||(l.add(f),c.push(u.get(f)));const x=f=>{const w=A.indexOf(f.model);return w>=0?w:A.length+(d.get(f.model)??1e6)};return c.sort((f,w)=>x(f)-x(w))},P=function(n,s,{limit:a=4}={}){const u=n?.model;if(!u||!Array.isArray(s))return[];const d=[],c=new Set;for(const l of s){if(d.length>=a)break;if(l.model===u)continue;const x=l.developer_id??l.developer??l.model;c.has(x)||(c.add(x),d.push({model:l.model,developer:l.developer||"",url:I(g([u,l.model]))}))}return d},T=function(n,s,a=()=>!1){if(!Array.isArray(n)||n.length===0||!s)return[];const u=$(n.filter(c=>!a(c))),d=new Map;for(const c of n)if(s.has(c.model))for(const l of P(c,u)){if(!s.has(l.model))continue;const x=g([c.model,l.model]);d.set(B(x),x)}return[...d.entries()].sort(([c],[l])=>o(c,l)).map(([c,l])=>({url:c,pair:l}))};const _=W,{SITE_DOMAIN:z,isSafeModelName:L}=Ge,A=["qwen3.8-max-preview","kimi-k3","qwen3.8-max","qwen3.7-flash","glm-5.2","grok-4.5","claude-opus-5","claude-sonnet-5","gpt-5.6-luna","gemini-3.6-flash","deepseek-v4-flash","gpt-5.5","gemini-3.1-pro-preview"],O=[["kimi-k3","qwen3.8-max-preview"],["claude-opus-5","gpt-5.6-luna"],["claude-opus-5","claude-sonnet-5"],["gemini-3.1-pro-preview","gpt-5.5"],["glm-5.2","kimi-k3"],["gemini-3.6-flash","qwen3.8-max"],["deepseek-v4-flash","glm-5.2"],["claude-opus-5","grok-4.5"]],G=10,V=1e3,H=/^(coding-|cc-|deep-|north-)/,ee=/-(\d{4}|\d{6}|\d{8})$/,h=/(image|audio|transcribe|tts|video|content-safety|omni)/;_.exports={SEED_MODELS:A,POPULAR_PAIRS:O,canonicalCompareNames:g,compareUrlPath:I,canonicalCompareUrl:B,buildSeedPairs:k,buildDemandPairs:q,auditSeeds:i,buildComparePeerPool:$,buildComparePeers:P,buildLinkedPairs:T}}W.exports.SEED_MODELS;const ht=W.exports.POPULAR_PAIRS;W.exports.canonicalCompareNames;const xt=W.exports.compareUrlPath,Do=W.exports.canonicalCompareUrl;W.exports.buildSeedPairs;W.exports.buildDemandPairs;W.exports.auditSeeds;W.exports.buildComparePeerPool;W.exports.buildComparePeers;W.exports.buildLinkedPairs;const se={exports:{}};{let o=function(s){return typeof s=="string"&&s.startsWith("zh")},g=function(s,a){const u=s.filter(Boolean);return u.length?o(a)?u.join("、"):u.length===1?u[0]:`${u.slice(0,-1).join(", ")} and ${u[u.length-1]}`:""},I=function(s,a,u){const d=(s?String(s).split(","):[]).map(l=>l.trim()).filter(l=>Object.prototype.hasOwnProperty.call(a,l)),c=a===O?L(d.join(","),u):z(d.join(","),u);return[...new Set(c)]},B=function(s){if(!s)return null;let a;try{a=typeof s=="string"?JSON.parse(s):s}catch{return null}const u={};for(const[d,c]of Object.entries(a||{})){if(!c||typeof c!="object")continue;const l=[],x=f=>Object.values(f).forEach(w=>{typeof w=="number"?l.push(Math.round(w)):w&&typeof w=="object"&&x(w)});if(x(c),l.length>=3){const f={};let w=0;if(l.forEach(j=>{f[j]=(f[j]||0)+1,w=Math.max(w,f[j])}),w/l.length>=.8)continue}u[d]=c}return Object.keys(u).length?u:null},k=function(s,a,u){const d=u||{},c=Array.isArray(d.priceMultipliers)?d.priceMultipliers:[];return(s||[]).filter(l=>l&&l.model).map((l,x)=>{const{model_ratio_num:f,completion_ratio_num:w}=V(l),j=Number(c[x]),U=Number.isFinite(j)&&j>0&&j<1?j:1,S=B(l.capability_scores);return{id:l.model,name:G(l)||l.model,developer:l.developer||"",discounted:U<1,modalities:I(l.modalities,O,a),features:I(l.features,A,a),cacheRead:H(H(f,Number(l.cache_ratio)||0),U),input:H(f,U),output:H(w,U),ctx:Number(l.context_window||l.context_length)||0,maxOutput:Number(l.max_output)||0,latency:Number(l.latency)||0,throughput:Number(l.throughput)||0,coding:Number(S&&S.text&&S.text.coding)||0}})},q=function(s,a,u){const d=u||{},c=Array.isArray(d.developerNames)?d.developerNames:[],l=k(s,a);if(l.length<2)return"";const x=o(a),f=l.map((j,U)=>{const S=c[U]||j.developer;return S?x?`${S} 的 ${j.name}`:`${j.name} from ${S}`:j.name});if(x){const j=l.length===2?"这两个模型":`这 ${l.length} 个模型`;return`对比 ${g(f,a)} 的基准测试、价格、上下文长度等关键指标。${j}与数百个其他模型都可以通过 AIHubMix API 调用。`}const w=l.length===2?"both models":`all ${l.length} models`;return`Compare ${g(f,a)} on key metrics including benchmarks, price, context length, and other model features. Access ${w} and hundreds of others through the AIHubMix API.`},i=function(s,a,u){const d=k(s,a,u);if(d.length<2)return[];const c=o(a),l=d.map(m=>m.name).join(", "),x=[],f=[...d].filter(m=>m.output>0).sort((m,E)=>m.output-E.output);if(f.length>=2){const m=f[0],E=f[f.length-1];x.push({q:c?`${l}：哪个更便宜？`:`Which is cheaper: ${l}?`,a:c?`${m.name}：每百万输出 token ${h(m.output)}；${E.name}：${h(E.output)}。用上方的成本计算器按自己的用量估算。`:`${m.name}: ${h(m.output)}/M output tokens; ${E.name}: ${h(E.output)}/M. Use the cost calculator above to estimate your own workload.`})}const w=[...d].filter(m=>m.coding>0).sort((m,E)=>E.coding-m.coding);w.length>=2&&x.push({q:c?"两者的代码 arena 得分如何？":"How do their coding arena scores compare?",a:c?`${w[0].name}：${Math.round(w[0].coding)}；${w[1].name}：${Math.round(w[1].coding)}（LMArena 代码榜）。`:`${w[0].name}: ${Math.round(w[0].coding)}; ${w[1].name}: ${Math.round(w[1].coding)} (LMArena coding leaderboard).`});const j=[...d].filter(m=>m.latency>0).sort((m,E)=>m.latency-E.latency);if(j.length>=2&&x.push({q:c?"哪个响应更快？":"Which responds faster?",a:c?`${j[0].name}：首 token 延迟 ${j[0].latency.toFixed(1)}s，为 AIHubMix 实测值；一天之内各模型的表现变化见上方的实时性能图表。`:`${j[0].name}: ${j[0].latency.toFixed(1)}s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.`}),d.filter(m=>m.ctx>0).length===d.length){const m=g(d.map(R=>c?`${R.name} ${n(R.ctx)}`:`${R.name} accepts ${n(R.ctx)}`),a),re=d.filter(R=>R.maxOutput>0).length===d.length?c?` 单次请求的最大输出 token：${g(d.map(R=>`${R.name} ${n(R.maxOutput)}`),a)}。`:` Maximum output per request is ${g(d.map(R=>`${n(R.maxOutput)} tokens on ${R.name}`),a)}.`:"";x.push({q:c?"两者的上下文窗口分别是多少？":"How large is each context window?",a:c?`以 token 计的上下文窗口：${m}。${re}`:`${m} input tokens.${re}`})}const S=[...d].filter(m=>m.throughput>0).sort((m,E)=>E.throughput-m.throughput);S.length>=2&&x.push({q:c?"哪个生成 token 更快？":"Which one generates tokens faster?",a:c?`${g(S.map(m=>`${m.name} ${m.throughput.toFixed(1)} tok/s`),a)}，均为 AIHubMix 上的实测输出吞吐，与首 token 延迟是两个不同的指标。`:`${g(S.map(m=>`${m.name} at ${m.throughput.toFixed(1)} tok/s`),a)}, measured as output throughput on AIHubMix — a separate metric from time to first token.`});const te=d.map(m=>{const E=[];return m.modalities.length&&E.push(c?`接受${g(m.modalities,a)}输入`:`accepts ${g(m.modalities,a)} input`),m.features.length&&E.push(c?`支持${g(m.features,a)}`:`supports ${g(m.features,a)}`),E.length?c?`${m.name} ${E.join("，")}`:`${m.name} ${E.join(" and ")}`:""}).filter(Boolean);return te.length>=2&&x.push({q:c?"两者分别支持哪些输入与能力？":"What inputs and capabilities does each model support?",a:`${te.join(c?"；":"; ")}${c?"。":"."}`}),x.push({q:c?`可以用同一个 API key 调用 ${g(d.map(m=>m.name),a)} 吗？`:`Can I call ${g(d.map(m=>m.name),a)} with the same API key?`,a:c?"可以。AIHubMix 把本页所有模型放在同一个 OpenAI 兼容接口后面，切换模型只需要改请求里的 model 字段，不用换 key、换 SDK 或另开账号。":"Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK."}),x},M=function(s,a){const u=i(s,"en",a);return u.length?{"@type":"FAQPage",mainEntity:u.map(d=>({"@type":"Question",name:d.q,acceptedAnswer:{"@type":"Answer",text:d.a}}))}:null},b=function(s,a){const u=k(s,"en",a);if(u.length<2)return"";const d=u.map(x=>x.name).join(" vs "),c=[];u.every(x=>x.output>0)&&c.push(`${u.map(x=>h(x.output)).join(" vs ")} per million output tokens`),u.every(x=>x.ctx>0)&&c.push(`${u.map(x=>T(x.ctx)).join(" vs ")} context`);const l=c.length?`${c.join(", ")}. `:"";return _(`${d}: ${l}Full pricing, latency and benchmark comparison on AIHubMix.`,160)};const $=se,P=Ve,{formatTokensCompact:T,truncateAtWord:_,humanizeFeatures:z,humanizeModalities:L,FEATURE_LABELS:A,MODALITY_LABELS:O,modelDisplayName:G}=Ge,{getModelDerivedFields:V,floatingMultiply:H,formatUsdPrice:ee}=P,h=s=>`$${ee(s)}`,n=s=>s==null?"-":Number(s).toLocaleString("en-US");$.exports={parseScores:B,buildCompareViews:k,buildCompareIntro:q,buildCompareFaq:i,buildCompareFaqJsonLd:M,buildCompareDescription:b}}const mt=se.exports.parseScores;se.exports.buildCompareViews;const ft=se.exports.buildCompareIntro,gt=se.exports.buildCompareFaq,_o=se.exports.buildCompareFaqJsonLd,Lo=se.exports.buildCompareDescription,Se=o=>o==null?"-":o>=1e9?(o/1e9).toFixed(o>=1e10?0:1)+"B":o>=1e6?(o/1e6).toFixed(o>=1e7?0:1)+"M":o>=1e3?(o/1e3).toFixed(o>=1e4?0:1)+"K":String(Math.round(o*10)/10),Fe=({series:o})=>t.jsx(Ct,{children:o.map(g=>t.jsxs(vt,{children:[t.jsx(Xe,{$color:g.color}),g.id]},g.id))}),wt=340,Ce=150,oe=40,fe=6,ve=8,De=18,le=({title:o,points:g,series:I,fmt:B=Se,clipP95:k=!1,zoomLo:q=!1})=>{const[i,M]=y.useState(null),b=y.useRef(null),$=y.useRef(null),[P,T]=y.useState(wt),_=!!g?.length;if(y.useEffect(()=>{const n=$.current;if(!n||typeof ResizeObserver>"u")return;const s=new ResizeObserver(()=>{const a=n.clientWidth;a>0&&T(Math.round(a))});return s.observe(n),()=>s.disconnect()},[_]),!g?.length)return t.jsxs(ke,{children:[t.jsx("h4",{children:o}),t.jsx(_e,{children:"-"})]});const z=[];if(g.forEach(n=>I.forEach(s=>{const a=n.values[s.id];a!=null&&z.push(a)})),!z.length)return t.jsxs(ke,{children:[t.jsx("h4",{children:o}),t.jsx(_e,{children:"-"})]});let L=0,A;if(k){const n=[...z].sort((a,u)=>a-u),s=n[Math.floor(n.length*.95)];A=Math.max(s*1.5,n[0]*1.1)||1}else A=Math.max(...z)*1.1||1;q&&(L=Math.min(...z)*.99);const O=g.length,G=n=>O===1?oe+(P-oe-fe)/2:oe+n/(O-1)*(P-oe-fe),V=n=>ve+(1-(Math.min(n,A)-L)/(A-L))*(Ce-ve-De),H=[0,.5,1].map(n=>L+(A-L)*n),ee=I.map(n=>{let s="",a=!1;return g.forEach((u,d)=>{const c=u.values[n.id];c!=null?(s+=(a?"L":"M")+G(d).toFixed(1)+","+V(c).toFixed(1),a=!0):a=!1}),{...n,d:s}}),h=n=>{const s=b.current?.getBoundingClientRect();if(!s)return;const a=(n.clientX-s.left)/s.width*P,u=Math.max(0,Math.min(O-1,Math.round((a-oe)/(P-oe-fe)*(O-1))));M({i:u,x:n.clientX-s.left,y:n.clientY-s.top})};return t.jsxs(ke,{children:[t.jsx("h4",{children:o}),t.jsxs(Et,{ref:$,children:[t.jsxs("svg",{ref:b,viewBox:`0 0 ${P} ${Ce}`,onMouseMove:h,onMouseLeave:()=>M(null),children:[H.map(n=>t.jsxs("g",{children:[t.jsx("line",{x1:oe,x2:P-fe,y1:V(n),y2:V(n),stroke:"#F3F4F6",strokeWidth:"1"}),t.jsx("text",{x:oe-5,y:V(n)+3,textAnchor:"end",fontSize:"9",fill:"#9ca3af",children:Se(n)})]},n)),ee.map(n=>t.jsx("path",{d:n.d,fill:"none",stroke:n.color,strokeWidth:"2",strokeLinejoin:"round",strokeLinecap:"round"},n.id)),i!=null&&t.jsx("line",{x1:G(i.i),x2:G(i.i),y1:ve,y2:Ce-De,stroke:"#9ca3af",strokeWidth:"1",strokeDasharray:"3,3"})]}),i!=null&&t.jsxs(kt,{style:{left:Math.min(i.x+12,Math.max(P-170,0)),top:8},children:[t.jsx("b",{children:g[i.i].t}),I.map(n=>{const s=g[i.i].values[n.id];return t.jsxs("span",{children:[t.jsx(Xe,{$color:n.color,$small:!0}),n.id,": ",s!=null?B(s):"-"]},n.id)})]})]}),t.jsxs($t,{children:[t.jsx("span",{children:g[0].t}),t.jsx("span",{children:g[Math.floor(O/2)].t}),t.jsx("span",{children:g[O-1].t})]})]})},bt=({rows:o,note:g})=>{const I=o.flatMap(b=>b.points.map($=>$.value));if(!I.length)return null;let B=Math.floor((Math.min(...I)-15)/20)*20,k=Math.ceil((Math.max(...I)+15)/20)*20;const q=Math.max(Math.ceil((k-B)/4/20)*20,20),i=[];for(let b=B;b<=k;b+=q)i.push(b);k=Math.max(k,i[i.length-1]);const M=b=>(b-B)/(k-B)*100;return t.jsxs("div",{children:[t.jsxs(At,{children:[t.jsx(It,{children:i.map(b=>t.jsx("span",{className:"tick",style:{left:`${M(b)}%`},children:b},b))}),t.jsx(Mt,{children:i.map(b=>t.jsx("span",{className:"gridline",style:{left:`${M(b)}%`}},b))}),o.map(b=>{const $=[...b.points].sort((_,z)=>_.value-z.value),P=M($[0].value),T=M($[$.length-1].value);return t.jsxs(Pt,{children:[t.jsx(St,{children:b.label}),t.jsxs(Bt,{children:[t.jsx(zt,{style:{left:`${P}%`,width:`${Math.max(T-P,.5)}%`}}),$.map(_=>t.jsx(Dt,{$color:_.color,style:{left:`${M(_.value)}%`},title:`${_.id} · ${b.label}: ${_.value.toFixed(1)}`},_.id)),t.jsx(Le,{style:{left:`calc(${P}% - 10px)`,transform:"translate(-100%, -50%)"},children:Math.round($[0].value)}),t.jsx(Le,{style:{left:`calc(${T}% + 10px)`},children:Math.round($[$.length-1].value)})]})]},b.label)})]}),g&&t.jsx(jt,{children:g})]})},jt=r.p.withConfig({componentId:"sc-zxyztw-0"})(["font-size:11px;color:#9ca3af;margin-top:10px;"]),yt=r.div.withConfig({componentId:"sc-zxyztw-1"})(["background:#FFF;border:1px solid #E5E7EB;border-radius:16px;padding:20px 24px 16px;margin-bottom:16px;"]),Ee=r.div.withConfig({componentId:"sc-zxyztw-2"})(["display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px;flex-wrap:wrap;"]),Ft=r.div.withConfig({componentId:"sc-zxyztw-3"})(["font-size:15px;font-weight:600;color:#111827;"]),Ct=r.div.withConfig({componentId:"sc-zxyztw-4"})(["display:flex;gap:14px;font-size:12px;color:#374151;flex-wrap:wrap;"]),vt=r.span.withConfig({componentId:"sc-zxyztw-5"})(["display:inline-flex;align-items:center;gap:6px;"]),Xe=r.span.withConfig({componentId:"sc-zxyztw-6"})(["width:","px;height:","px;border-radius:50%;background:",";flex-shrink:0;"],o=>o.$small?8:10,o=>o.$small?8:10,o=>o.$color),ke=r.div.withConfig({componentId:"sc-zxyztw-7"})(["background:#FFF;border:1px solid #E5E7EB;border-radius:16px;padding:16px 16px 10px;h4{font-size:13px;font-weight:600;color:#111827;margin:0 0 10px;}svg{width:100%;height:150px;display:block;}"]),Et=r.div.withConfig({componentId:"sc-zxyztw-8"})(["position:relative;"]),kt=r.div.withConfig({componentId:"sc-zxyztw-9"})(["position:absolute;z-index:20;pointer-events:none;background:#111827;color:#F9FAFB;font-size:12px;padding:8px 12px;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,0.2);line-height:1.6;white-space:nowrap;b{display:block;}span{display:flex;align-items:center;gap:6px;}"]),_e=r.div.withConfig({componentId:"sc-zxyztw-10"})(["height:150px;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:12px;"]),$t=r.div.withConfig({componentId:"sc-zxyztw-11"})(["display:flex;justify-content:space-between;font-size:10px;color:#9ca3af;margin-top:4px;"]),At=r.div.withConfig({componentId:"sc-zxyztw-12"})(["position:relative;"]),It=r.div.withConfig({componentId:"sc-zxyztw-13"})(["position:relative;height:22px;margin-left:180px;margin-right:56px;.tick{position:absolute;top:0;transform:translateX(-50%);font-size:11px;color:#9ca3af;}@media (max-width:900px){margin-left:110px;}"]),Mt=r.div.withConfig({componentId:"sc-zxyztw-14"})(["position:absolute;top:22px;bottom:4px;left:180px;right:56px;pointer-events:none;.gridline{position:absolute;top:0;bottom:0;width:1px;background:#F3F4F6;}@media (max-width:900px){left:110px;}"]),Pt=r.div.withConfig({componentId:"sc-zxyztw-15"})(["display:flex;align-items:center;min-height:32px;&:hover{background:#F9FAFB;border-radius:8px;}"]),St=r.div.withConfig({componentId:"sc-zxyztw-16"})(["width:180px;flex-shrink:0;font-size:13px;color:#626773;padding-right:16px;box-sizing:border-box;@media (max-width:900px){width:110px;}"]),Bt=r.div.withConfig({componentId:"sc-zxyztw-17"})(["flex:1;position:relative;height:32px;margin-right:56px;"]),zt=r.div.withConfig({componentId:"sc-zxyztw-18"})(["position:absolute;top:50%;height:2px;transform:translateY(-50%);background:#E5E7EB;border-radius:1px;"]),Dt=r.div.withConfig({componentId:"sc-zxyztw-19"})(["position:absolute;top:50%;width:12px;height:12px;transform:translate(-50%,-50%);border-radius:50%;box-shadow:0 0 0 2px #FFFFFF;background:",";cursor:default;"],o=>o.$color),Le=r.span.withConfig({componentId:"sc-zxyztw-20"})(["position:absolute;top:50%;transform:translateY(-50%);font-size:11px;color:#6B7280;white-space:nowrap;"]),{getModelDerivedFields:_t,floatingMultiply:de,formatUsdPrice:Lt,isPricingPending:Ot}=Ve,Oe=4,Re=["#2563EB","#14B8A6","#D97706","#EC4899"],ge=xt,Rt=[{key:"text",title:"Text",rows:[["Overall",o=>o.text?.overall],["Coding",o=>o.text?.coding],["Math",o=>o.text?.math],["Hard prompts",o=>o.text?.hard_prompts],["Instruction following",o=>o.text?.instruction_following],["Multi-turn",o=>o.text?.multi_turn],["Creative writing",o=>o.text?.creative_writing],["Longer query",o=>o.text?.longer_query],["Chinese",o=>o.text?.language?.chinese],["English",o=>o.text?.language?.english]]},{key:"vision",title:"Vision",rows:[["Overall",o=>o.vision?.overall],["OCR",o=>o.vision?.ocr],["Diagram",o=>o.vision?.diagram],["Homework",o=>o.vision?.homework]]},{key:"code_webdev",title:"WebDev Arena",rows:[["Overall",o=>o.code_webdev?.overall],["React",o=>o.code_webdev?.react],["HTML",o=>o.code_webdev?.html],["Gaming",o=>o.code_webdev?.gaming],["Simulations",o=>o.code_webdev?.simulations],["Data analytics",o=>o.code_webdev?.data_analytics]]}],Ne=(o,g=2)=>`$${Number(o||0).toLocaleString("en-US",{minimumFractionDigits:g,maximumFractionDigits:g})}`,ne=o=>`$${Lt(o)}`,Te=o=>o==null?"-":Number(o).toLocaleString("en-US"),$e=o=>o?String(o).split(",").map(g=>g.trim()).filter(Boolean):[],Oo=({modelNames:o=[],initialRecords:g=[],initialDevelopers:I=[],relatedPairs:B=ht,pairNames:k={}})=>{const q=tt(),{t:i,i18n:M}=pt(),[b]=y.useState(g),[$,P]=y.useState({}),[T,_]=y.useState(null),[z,L]=y.useState(null),[A,O]=y.useState([]),[G,V]=y.useState(!1),H=y.useMemo(()=>Object.fromEntries((I||[]).map(e=>[e.id,e])),[I]),ee=ct(y.useMemo(()=>b.map(e=>e?.promotion||null),[b])),h=y.useMemo(()=>b.map((e,p)=>{const{model_ratio_num:F,completion_ratio_num:D}=_t(e),C=ee?.[p],N=C?.active?ot(C.offPercent):1,v=dt(H[e.developer_id]);return{id:e.model,name:ze(e)||e.model,rec:e,color:Re[p%Re.length],developer:v?.name||e.developer,providerHref:v?.href||null,icon:H[e.developer_id]?.icon,desc:nt(M.language)?e.desc||e.desc_en:e.desc_en||e.desc,pricePending:Ot(e),input:F,output:D,cacheRead:Number(e.cache_ratio)>0&&Number(e.cache_ratio)!==1?de(F,e.cache_ratio):0,promo:C,effMult:N,ctx:e.context_window||e.context_length,maxOutput:e.max_output,releaseDate:e.release_date,latency:e.latency,throughput:e.throughput,modalities:$e(e.modalities),features:$e(e.features),endpoints:$e(e.endpoints),scores:mt(e.capability_scores),supplier:Array.isArray(e.supplier_models)&&e.supplier_models.length?e.supplier_models[0]:null}}),[b,ee,H,M.language]),n=y.useMemo(()=>h.map(e=>({id:e.id,color:e.color})),[h]),s=h.length>=2,a=y.useMemo(()=>h.map(e=>e.effMult),[h]),u=y.useMemo(()=>h.map(e=>e.developer),[h]),d=y.useMemo(()=>s?ft(b,M.language,{developerNames:u}):"",[s,b,M.language,u]),c=async()=>{const e=await xe.get(`${me.MODEL_USAGE_COUNT}?day=7`),p={};(e.data?.data||[]).forEach(F=>{F.model&&(p[F.model]=F.call_count)}),P(p)},l=async()=>{const e=await xe.get(`${me.MODEL_USAGE_DETAIL}?day=30`),p=new Set(o),F=new Map;(e.data?.data||[]).forEach(C=>{p.has(C.model)&&(F.has(C.date)||F.set(C.date,{}),F.get(C.date)[C.model]={req:C.call_count,tok:C.token_used})});const D=[...F.keys()].sort().map(C=>({t:C.slice(5),values:Object.fromEntries(o.map(N=>[N,F.get(C)[N]?.req??null])),tokens:Object.fromEntries(o.map(N=>[N,F.get(C)[N]?.tok??null]))}));_(D)},x=async e=>{const p=e.filter(v=>v.supplier?.supplier_id).map(v=>({supplier_id:v.supplier.supplier_id,model:v.supplier.model||v.id}));if(!p.length)return;const F=await xe.post(me.MODEL_PERFORMANCE,{days:3,items:p}),D=Object.fromEntries(e.map(v=>[v.id,v.supplier?`${v.supplier.supplier_id}:${v.supplier.model||v.id}`:null])),N=(F.data?.data||[]).filter((v,ce)=>ce%2===0).map(v=>{const ce=(J,ae)=>{const ue=v.y?.[D[J]];return!ue||ue[ae]===-1||ue[ae]==null?null:ue[ae]};return{t:String(v.x).slice(5,16),thr:Object.fromEntries(e.map(J=>[J.id,ce(J.id,"throughput")])),lat:Object.fromEntries(e.map(J=>[J.id,ce(J.id,"latency")])),up:Object.fromEntries(e.map(J=>{const ae=ce(J.id,"uptime");return[J.id,ae==null?null:ae*100]}))}});L(N)};y.useEffect(()=>{typeof window>"u"||(c().catch(()=>{}),l().catch(()=>{}))},[o.join(",")]),y.useEffect(()=>{typeof window>"u"||!h.length||z||x(h).catch(()=>{})},[h.length]);const f=e=>q(ge(e)),w=e=>p=>{p.metaKey||p.ctrlKey||p.shiftKey||p.altKey||(p.preventDefault(),q(e))},j=e=>{o.length<=1||f(o.filter(p=>p!==e))},U=async e=>{const p=await xe.get(`${me.MODEL_INFO_PAGINATION}?p=0&num=50&merge_versions=1&model=${encodeURIComponent(e||"")}`),F=Array.isArray(p.data?.data)?p.data.data:p.data?.data?.data||[];O(F.filter(D=>D.model&&D.model!=="auto"&&!o.includes(D.model)).map(D=>({value:D.model,label:ze(D)||D.model})))},S=y.useRef(null),te=e=>{clearTimeout(S.current),S.current=setTimeout(()=>U(e).catch(()=>{}),250)},m=()=>{rt({models:o}),at(`https://aihubmix.com${ge(o)}`),V(!0),setTimeout(()=>V(!1),1500)},E=y.useMemo(()=>Rt.map(e=>{const p=h.filter(C=>C.scores&&e.rows.some(([,N])=>N(C.scores)!=null));if(p.length<2)return null;const F=e.rows.map(([C,N])=>({label:C,points:p.filter(v=>N(v.scores)!=null).map(v=>({id:v.id,color:v.color,value:N(v.scores)}))})).filter(C=>C.points.length),D=h.filter(C=>!p.includes(C));return{key:e.key,title:e.title,rows:F,withData:p,missing:D}}).filter(Boolean),[h]),[re,R]=y.useState(1e3),[we,Ye]=y.useState(2e3),[be,Je]=y.useState(500),Be=y.useMemo(()=>h.map(e=>{const p=re*30*(we/1e6*e.input+be/1e6*e.output);return{m:e,base:p,eff:p*e.effMult}}).sort((e,p)=>e.m.pricePending-p.m.pricePending||e.eff-p.eff),[h,re,we,be]),Qe=Math.max(...Be.map(e=>e.eff),1e-9),Ze=y.useMemo(()=>(T||[]).map(e=>({t:e.t,values:e.values})),[T]),et=y.useMemo(()=>(T||[]).map(e=>({t:e.t,values:e.tokens})),[T]),je=(e,p)=>{if(e.pricePending)return t.jsx(Y,{className:"serif",$price:!0,children:i("Price TBD")});const F=e.promo?.active,D=F?de(p,e.effMult):p;return t.jsxs(Y,{className:"serif",$price:!0,children:[F&&t.jsx(pe,{children:ne(p)}),ne(D),F&&t.jsxs(lo,{children:["−",e.promo.offPercent,"%"]})]})};return t.jsxs(Tt,{children:[t.jsxs(Ut,{href:"/models",className:"serif",children:["← ",i("Models")]}),t.jsxs(qt,{className:"serif",$compact:h.length>2,children:[h.map((e,p)=>t.jsxs(he.Fragment,{children:[p>0&&t.jsx(Ht,{children:" vs "}),e.name||e.id]},e.id)),h.length<2&&` ${i("Compare")}`]}),t.jsx(Gt,{children:d||i("Compare pricing, specs, live performance and arena scores side by side. Up to 4 models.")}),t.jsxs(Vt,{children:[h.map(e=>t.jsxs(Xt,{children:[e.icon&&t.jsx("img",{src:ye(e.icon),alt:e.developer}),e.name||e.id,h.length>1&&t.jsx(Kt,{onClick:()=>j(e.id),title:i("Remove"),children:"✕"})]},e.id)),o.length<Oe&&t.jsx(Yt,{showSearch:!0,value:null,placeholder:`+ ${i("Add model")} · ${o.length}/${Oe}`,filterOption:!1,onSearch:te,onDropdownVisibleChange:e=>{e&&!A.length&&U("").catch(()=>{})},onSelect:e=>f([...o,e]),options:A,size:"middle",popupMatchSelectWidth:!1,dropdownStyle:{minWidth:360}}),t.jsx(Jt,{children:t.jsxs(Qt,{onClick:m,$copied:G,title:`aihubmix.com${ge(o)}`,children:[t.jsx(it,{name:G?"IcCheck":"IcFiles",size:14}),i(G?"Copied":"Copy link")]})})]}),t.jsx(Zt,{$count:Math.max(h.length,1),children:h.map(e=>t.jsxs(eo,{children:[e.promo?.active&&t.jsx(to,{children:t.jsx(lt,{promotion:e.promo})}),t.jsxs(oo,{children:[t.jsx(no,{$linked:!!e.providerHref,children:e.icon&&(e.providerHref?t.jsx("a",{href:e.providerHref,onClick:w(e.providerHref),title:`${e.developer} models`,children:t.jsx("img",{src:ye(e.icon),alt:`${e.developer} logo`})}):t.jsx("img",{src:ye(e.icon),alt:e.developer}))}),t.jsxs("div",{style:{minWidth:0},children:[t.jsx(io,{className:"serif",children:e.name||e.id}),t.jsxs(so,{children:[e.providerHref?t.jsx(ro,{href:e.providerHref,onClick:w(e.providerHref),children:e.developer}):e.developer," · ",e.modalities.join(", ")," → text"]})]})]}),t.jsx(ao,{children:e.desc}),t.jsxs(co,{children:[t.jsxs(Ae,{children:[t.jsx("span",{children:i("Input")}),t.jsx(Ie,{className:"serif",children:e.pricePending?i("Price TBD"):t.jsxs(t.Fragment,{children:[e.promo?.active&&t.jsx(pe,{children:ne(e.input)}),ne(e.promo?.active?de(e.input,e.effMult):e.input)," ",t.jsx("small",{children:"/M"})]})})]}),t.jsxs(Ae,{children:[t.jsx("span",{children:i("Output")}),t.jsx(Ie,{className:"serif",children:e.pricePending?i("Price TBD"):t.jsxs(t.Fragment,{children:[e.promo?.active&&t.jsx(pe,{children:ne(e.output)}),ne(e.promo?.active?de(e.output,e.effMult):e.output)," ",t.jsx("small",{children:"/M"})]})})]}),e.cacheRead>0&&t.jsxs(Ae,{children:[t.jsx("span",{children:i("col cache read")}),t.jsxs(Ie,{className:"serif",children:[e.promo?.active&&t.jsx(pe,{children:ne(e.cacheRead)}),ne(e.promo?.active?de(e.cacheRead,e.effMult):e.cacheRead)," ",t.jsx("small",{children:"/M"})]})]})]}),$[e.id]!=null&&t.jsxs(po,{children:[t.jsx("b",{children:Se($[e.id])})," ",i("requests this week")]}),t.jsx(uo,{children:t.jsx(ho,{href:`/model/${encodeURIComponent(e.id)}`,children:i("Details")})})]},e.id))}),!s&&t.jsx(xo,{children:h.length===0?i("Pick two models above, or start from one of the comparisons below."):i("Pick a second model to start comparing.")}),h.length===0&&t.jsxs(t.Fragment,{children:[t.jsxs(Q,{children:[t.jsx(Z,{className:"serif",children:i("What a comparison shows")}),t.jsx(ie,{children:i("Every comparison puts 2 to 4 models side by side on the same objective metrics.")}),t.jsxs(qe,{children:[t.jsx("li",{children:i("Pricing per million input and output tokens, with any active discount applied.")}),t.jsx("li",{children:i("Context window and maximum output length.")}),t.jsx("li",{children:i("Latency and throughput, as rolling averages measured on AIHubMix.")}),t.jsx("li",{children:i("Arena scores, where the model has been rated.")}),t.jsx("li",{children:i("Real usage on AIHubMix: weekly requests and token trends.")}),t.jsx("li",{children:i("A monthly cost estimate for your own request volume.")})]})]}),t.jsxs(Q,{children:[t.jsx(Z,{className:"serif",children:i("How it works")}),t.jsxs(qe,{children:[t.jsx("li",{children:i("Add models with the picker above. The URL holds your selection, so a comparison can be shared or bookmarked.")}),t.jsx("li",{children:i("Figures are a cached snapshot; the page states when it was taken and refreshes on demand.")}),t.jsx("li",{children:i("Every model on AIHubMix is callable through one API key and one base URL, so the prices below are what you would actually pay.")})]})]})]}),s&&t.jsxs(t.Fragment,{children:[t.jsxs(Q,{children:[t.jsx(Z,{className:"serif",children:i("Specs & Pricing")}),t.jsx(ie,{children:i("Prices are per million tokens. Latency and throughput are rolling averages measured on AIHubMix.")}),t.jsxs(mo,{children:[t.jsxs(fo,{$count:h.length,children:[t.jsx("div",{}),h.map(e=>t.jsx(go,{children:e.name||e.id},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Input price")}),h.map(e=>t.jsx(he.Fragment,{children:je(e,e.input)},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Output price")}),h.map(e=>t.jsx(he.Fragment,{children:je(e,e.output)},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Cache read")}),h.map(e=>e.cacheRead>0?t.jsx(he.Fragment,{children:je(e,e.cacheRead)},e.id):t.jsx(Y,{className:"serif",$price:!0,children:"-"},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Context window")}),h.map(e=>t.jsx(Y,{children:Te(e.ctx)},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Max output")}),h.map(e=>t.jsx(Y,{children:Te(e.maxOutput)},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Latency (first token)")}),h.map(e=>t.jsx(Y,{children:e.latency?`${Number(e.latency).toFixed(1)} s`:"-"},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Throughput")}),h.map(e=>t.jsx(Y,{children:e.throughput?`${Number(e.throughput).toFixed(1)} tok/s`:"-"},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Modalities")}),h.map(e=>t.jsx(Y,{children:e.modalities.map(p=>t.jsx(He,{children:p},p))},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Features")}),h.map(e=>t.jsx(Y,{children:e.features.map(p=>t.jsx(He,{children:p.replace(/_/g," ")},p))},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Endpoints")}),h.map(e=>t.jsx(Y,{$mono:!0,children:e.endpoints.join(" · ")},e.id))]}),t.jsxs(X,{$count:h.length,children:[t.jsx(K,{children:i("Released")}),h.map(e=>t.jsx(Y,{children:e.releaseDate?st(String(e.releaseDate).trim(),M.language):"-"},e.id))]})]}),t.jsx(Me,{children:i("Promotional prices show the discounted rate; see each model page for promotion windows.")})]}),t.jsxs(Q,{children:[t.jsxs(Z,{className:"serif",children:[i("Usage on AIHubMix")," ",t.jsx(Ue,{children:i("Past 30 Days")})]}),t.jsx(ie,{children:i("Daily traffic served through AIHubMix — how demand for each model is trending.")}),t.jsxs(Ee,{children:[t.jsx("div",{}),t.jsx(Fe,{series:n})]}),t.jsxs(We,{$cols:2,children:[t.jsx(le,{title:i("Tokens / day"),points:et,series:n}),t.jsx(le,{title:i("Requests / day"),points:Ze,series:n})]})]}),t.jsxs(Q,{children:[t.jsxs(Z,{className:"serif",children:[i("Live Performance")," ",t.jsx(Ue,{children:i("last 3 days")})]}),t.jsx(ie,{children:i("Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.")}),t.jsxs(Ee,{children:[t.jsx("div",{}),t.jsx(Fe,{series:n})]}),t.jsxs(We,{$cols:3,children:[t.jsx(le,{title:i("Throughput (TPS)"),points:(z||[]).map(e=>({t:e.t,values:e.thr})),series:n,fmt:e=>`${e.toFixed(1)} tok/s`}),t.jsx(le,{title:i("Latency (s)"),points:(z||[]).map(e=>({t:e.t,values:e.lat})),series:n,fmt:e=>`${e.toFixed(2)} s`,clipP95:!0}),t.jsx(le,{title:i("Uptime (%)"),points:(z||[]).map(e=>({t:e.t,values:e.up})),series:n,fmt:e=>`${e.toFixed(1)}%`,zoomLo:!0})]})]}),E.length>0&&t.jsxs(Q,{children:[t.jsx(Z,{className:"serif",children:i("Arena Scores")}),t.jsx(ie,{children:i("LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.")}),E.map(e=>t.jsxs(yt,{children:[t.jsxs(Ee,{children:[t.jsx(Ft,{children:e.title}),t.jsx(Fe,{series:e.withData.map(p=>({id:p.id,color:p.color}))})]}),t.jsx(bt,{rows:e.rows,note:e.missing.length?`${i("No published ratings for")} ${e.missing.map(p=>p.name||p.id).join(", ")}.`:null})]},e.key)),t.jsx(Me,{children:i("Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.")})]}),t.jsxs(Q,{children:[t.jsx(Z,{className:"serif",children:i("Cost Calculator")}),t.jsx(ie,{children:i("Estimate your monthly bill for the same workload on each model.")}),t.jsxs(wo,{children:[t.jsxs(bo,{children:[t.jsxs(Pe,{children:[t.jsx("label",{children:i("Requests / day")}),t.jsx("input",{value:re,inputMode:"numeric",onChange:e=>R(Number(e.target.value.replace(/[^\d]/g,""))||0)})]}),t.jsxs(Pe,{children:[t.jsx("label",{children:i("Avg input tokens / request")}),t.jsx("input",{value:we,inputMode:"numeric",onChange:e=>Ye(Number(e.target.value.replace(/[^\d]/g,""))||0)})]}),t.jsxs(Pe,{children:[t.jsx("label",{children:i("Avg output tokens / request")}),t.jsx("input",{value:be,inputMode:"numeric",onChange:e=>Je(Number(e.target.value.replace(/[^\d]/g,""))||0)})]})]}),Be.map(({m:e,base:p,eff:F})=>t.jsxs(jo,{children:[t.jsx(yo,{children:e.name||e.id}),t.jsx(Fo,{children:t.jsx(Co,{style:{width:`${(F/Qe*100).toFixed(1)}%`,background:e.color}})}),t.jsx(vo,{className:"serif",children:e.pricePending?i("Price TBD"):t.jsxs(t.Fragment,{children:[e.promo?.active&&t.jsx(pe,{children:Ne(p,0)}),Ne(F,F<100?2:0),t.jsx("small",{children:" /mo"})]})})]},e.id)),t.jsx(Me,{children:i("Monthly = daily × 30. Discounted rates applied where a promotion is active.")})]})]}),t.jsxs(Q,{children:[t.jsx(Z,{className:"serif",children:"FAQ"}),t.jsx(Nt,{records:b,lang:M.language,priceMultipliers:a})]})]}),t.jsxs(Q,{children:[t.jsx(Z,{className:"serif",children:i("Popular Comparisons")}),t.jsx(ie,{children:i("Related model match-ups readers also look at.")}),t.jsx(Eo,{children:B.filter(([e,p])=>!(o.includes(e)&&o.includes(p))).map(([e,p])=>t.jsxs(ko,{href:ge([e,p]),children:[t.jsx("span",{children:k[e]||e}),t.jsx(Wt,{children:"vs"}),t.jsx("span",{children:k[p]||p})]},`${e}|${p}`))})]})]})},Nt=({records:o,lang:g,priceMultipliers:I})=>{const B=gt(o,g,{priceMultipliers:I});return t.jsx("div",{children:B.map(({q:k,a:q})=>t.jsxs($o,{children:[t.jsx("summary",{children:k}),t.jsx("p",{children:q})]},k))})},Tt=r.div.withConfig({componentId:"sc-af797x-0"})(["padding:24px 0;width:100%;.serif{font-family:'OldStandardTT-Bold','OldStandardTT-Bold-Fallback','Old Standard TT',Georgia,serif;font-weight:700;}"]),Ut=r.a.withConfig({componentId:"sc-af797x-1"})(["display:inline-flex;align-items:center;gap:6px;color:#111 !important;font-size:15px;margin-bottom:16px;text-decoration:none !important;&:hover{opacity:0.7;}"]),qt=r.h1.withConfig({componentId:"sc-af797x-2"})(["font-size:","px;color:#111111;line-height:1.2;margin:0;"],o=>o.$compact?26:32),Ht=r.span.withConfig({componentId:"sc-af797x-3"})(["color:#9ca3af;"]),Wt=r.span.withConfig({componentId:"sc-af797x-4"})(["color:#9ca3af;font-size:11px;"]),Gt=r.p.withConfig({componentId:"sc-af797x-5"})(["color:#626773;font-size:14px;margin:8px 0 0;"]),Vt=r.div.withConfig({componentId:"sc-af797x-6"})(["display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 24px;"]),Xt=r.span.withConfig({componentId:"sc-af797x-7"})(["display:inline-flex;align-items:center;gap:8px;background:#FFF;border:0.5px solid rgba(0,0,0,0.1);box-shadow:0 2px 8px 0 rgba(0,0,0,0.06);border-radius:16px;padding:8px 12px;font-size:14px;font-weight:500;color:#111;img{width:20px;height:20px;border-radius:4px;}"]),Kt=r.button.withConfig({componentId:"sc-af797x-8"})(["border:none;background:none;color:#9ca3af;cursor:pointer;font-size:13px;padding:2px 4px;border-radius:6px;line-height:1;&:hover{color:#EF4444;background:rgba(239,68,68,0.08);}"]),Yt=r(ut).withConfig({componentId:"sc-af797x-9"})(["min-width:280px;.ant-select-selector{border-radius:16px !important;}"]),Jt=r.div.withConfig({componentId:"sc-af797x-10"})(["margin-left:auto;display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;"]),Qt=r.button.withConfig({componentId:"sc-af797x-11"})(["display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 12px;background:#FFF;border:1px solid ",";border-radius:8px;font-size:12px;color:",";cursor:pointer;white-space:nowrap;transition:color 0.15s,border-color 0.15s;&:hover{border-color:",";color:",";}"],o=>o.$copied?"rgba(92, 153, 31, 0.35)":"#E3E3E3",o=>o.$copied?"#5C991F":"#626773",o=>o.$copied?"rgba(92, 153, 31, 0.35)":"#2563EB",o=>o.$copied?"#5C991F":"#2563EB"),Zt=r.div.withConfig({componentId:"sc-af797x-12"})(["display:grid;grid-template-columns:repeat(",",1fr);gap:16px;margin-bottom:40px;@media (max-width:900px){grid-template-columns:1fr 1fr;}@media (max-width:600px){grid-template-columns:1fr;}"],o=>o.$count),eo=r.article.withConfig({componentId:"sc-af797x-13"})(["background:#FFF;border-radius:24px;padding:18px;border:0.5px solid rgba(0,0,0,0.1);box-shadow:0 2px 8px 0 rgba(0,0,0,0.06);display:flex;flex-direction:column;gap:10px;position:relative;transition:box-shadow 0.2s ease;&:hover{box-shadow:0 6px 20px rgba(0,0,0,0.08);}"]),to=r.div.withConfig({componentId:"sc-af797x-14"})(["position:absolute;top:-10px;right:14px;"]),oo=r.div.withConfig({componentId:"sc-af797x-15"})(["display:flex;align-items:center;gap:10px;"]),no=r.div.withConfig({componentId:"sc-af797x-16"})(["width:40px;height:40px;border:1px solid rgba(0,0,0,0.08);border-radius:8px;overflow:hidden;flex-shrink:0;a{display:block;width:100%;height:100%;}"," img{width:100%;height:100%;object-fit:cover;}"],o=>o.$linked&&`
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    &:hover {
      border-color: rgba(0, 0, 0, 0.2);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
  `),io=r.div.withConfig({componentId:"sc-af797x-17"})(["font-size:16px;color:#111;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),so=r.div.withConfig({componentId:"sc-af797x-18"})(["font-size:12px;color:#626773;margin-top:1px;"]),ro=r.a.withConfig({componentId:"sc-af797x-19"})(["color:#2563EB;text-decoration:none;&:hover{color:#6180F9;text-decoration:underline;text-underline-offset:2px;}"]),ao=r.p.withConfig({componentId:"sc-af797x-20"})(["font-size:12px;color:#626773;line-height:1.6;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;"]),co=r.div.withConfig({componentId:"sc-af797x-21"})(["background:#F7F7F7;border-radius:8px;padding:8px 12px;"]),Ae=r.div.withConfig({componentId:"sc-af797x-22"})(["display:flex;align-items:center;justify-content:space-between;padding:5px 0;border-bottom:1px solid #FFF;font-size:12px;color:#626773;&:last-child{border-bottom:none;}"]),Ie=r.span.withConfig({componentId:"sc-af797x-23"})(["font-size:15px;color:#111;small{font-size:11px;color:#9ca3af;font-family:Inter,sans-serif;font-weight:400;}"]),pe=r.span.withConfig({componentId:"sc-af797x-24"})(["font-size:12px;color:#9ca3af;text-decoration:line-through;margin-right:5px;font-family:Inter,sans-serif;font-weight:400;"]),lo=r.span.withConfig({componentId:"sc-af797x-25"})(["display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:8px;font-size:11px;font-weight:600;color:#EB267B;background:rgba(235,38,123,0.1);border:1px solid #EB267B;margin-left:6px;"]),po=r.span.withConfig({componentId:"sc-af797x-26"})(["font-size:12px;color:#626773;b{color:#111;}"]),uo=r.div.withConfig({componentId:"sc-af797x-27"})(["display:flex;gap:8px;margin-top:auto;"]),ho=r.a.withConfig({componentId:"sc-af797x-28"})(["flex:1;height:36px;border-radius:16px;background:#2563EB;color:#FFF !important;font-size:13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;text-decoration:none !important;transition:background 0.15s;&:hover{background:#6180F9;}"]),xo=r.p.withConfig({componentId:"sc-af797x-29"})(["color:#626773;font-size:14px;margin:24px 0 64px;"]),Q=r.section.withConfig({componentId:"sc-af797x-30"})(["margin-bottom:40px;padding-bottom:32px;border-bottom:1px solid #EEEEEE;&:last-of-type{border-bottom:none;}"]),Z=r.h2.withConfig({componentId:"sc-af797x-31"})(["font-size:24px;color:#111111;margin:0 0 4px;"]),Ue=r.span.withConfig({componentId:"sc-af797x-32"})(["font-size:14px;color:#626773;font-family:Inter,-apple-system,sans-serif;font-weight:400;"]),ie=r.p.withConfig({componentId:"sc-af797x-33"})(["font-size:13px;color:#626773;margin:0 0 20px;"]),Me=r.p.withConfig({componentId:"sc-af797x-34"})(["font-size:11px;color:#9ca3af;margin-top:10px;"]),qe=r.ul.withConfig({componentId:"sc-af797x-35"})(["margin:0;padding-left:20px;color:#353941;font-size:14px;line-height:1.9;"]),mo=r.div.withConfig({componentId:"sc-af797x-36"})(["background:#FFF;border:1px solid #E5E7EB;border-radius:16px;overflow:hidden;"]),Ke=o=>`200px repeat(${o.$count}, 1fr)`,fo=r.div.withConfig({componentId:"sc-af797x-37"})(["display:grid;grid-template-columns:",";gap:8px;padding:12px 16px;align-items:center;background:#F9FAFB;border-bottom:1px solid #E5E7EB;font-size:13px;font-weight:600;color:#353941;@media (max-width:900px){grid-template-columns:110px repeat(",",1fr);}"],Ke,o=>o.$count),go=r.div.withConfig({componentId:"sc-af797x-38"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),X=r.div.withConfig({componentId:"sc-af797x-39"})(["display:grid;grid-template-columns:",";gap:8px;padding:12px 16px;align-items:center;border-bottom:1px solid #F3F4F6;&:last-child{border-bottom:none;}&:hover{background:#F9FAFB;}@media (max-width:900px){grid-template-columns:110px repeat(",",1fr);}"],Ke,o=>o.$count),K=r.div.withConfig({componentId:"sc-af797x-40"})(["font-size:13px;color:#626773;"]),Y=r.div.withConfig({componentId:"sc-af797x-41"})(["font-size:","px;color:#111;display:flex;align-items:center;gap:6px;flex-wrap:wrap;",""],o=>o.$price?15:14,o=>o.$mono&&"font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;"),He=r.span.withConfig({componentId:"sc-af797x-42"})(["display:inline-flex;height:20px;padding:0 8px;align-items:center;background:#F7F7F7;border-radius:8px;font-size:11px;color:#353941;"]),We=r.div.withConfig({componentId:"sc-af797x-43"})(["display:grid;grid-template-columns:repeat(",",1fr);gap:16px;@media (max-width:900px){grid-template-columns:1fr;}"],o=>o.$cols),wo=r.div.withConfig({componentId:"sc-af797x-44"})(["background:#FFF;border:1px solid #E5E7EB;border-radius:16px;padding:24px;"]),bo=r.div.withConfig({componentId:"sc-af797x-45"})(["display:flex;gap:24px;flex-wrap:wrap;margin-bottom:24px;"]),Pe=r.div.withConfig({componentId:"sc-af797x-46"})(["display:flex;flex-direction:column;gap:6px;label{font-size:12px;color:#626773;}input{width:160px;height:40px;padding:0 14px;font-size:15px;color:#111;border:1px solid #E3E3E3;border-radius:16px;outline:none;font-family:'OldStandardTT-Bold','OldStandardTT-Bold-Fallback','Old Standard TT',Georgia,serif;font-weight:700;&:focus{border-color:#2563EB;box-shadow:0 0 0 3px rgba(37,99,235,0.3);}}"]),jo=r.div.withConfig({componentId:"sc-af797x-47"})(["display:flex;align-items:center;gap:12px;min-height:44px;"]),yo=r.div.withConfig({componentId:"sc-af797x-48"})(["width:190px;flex-shrink:0;font-size:13px;color:#353941;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;@media (max-width:900px){width:120px;}"]),Fo=r.div.withConfig({componentId:"sc-af797x-49"})(["flex:1;position:relative;height:16px;"]),Co=r.div.withConfig({componentId:"sc-af797x-50"})(["position:absolute;left:0;top:50%;transform:translateY(-50%);height:10px;border-radius:0 4px 4px 0;min-width:2px;"]),vo=r.div.withConfig({componentId:"sc-af797x-51"})(["width:180px;flex-shrink:0;text-align:right;font-size:16px;color:#111;small{font-size:11px;color:#9ca3af;font-family:Inter,sans-serif;font-weight:400;}"]),Eo=r.div.withConfig({componentId:"sc-af797x-52"})(["display:grid;grid-template-columns:repeat(4,1fr);gap:12px;@media (max-width:900px){grid-template-columns:1fr 1fr;}"]),ko=r.a.withConfig({componentId:"sc-af797x-53"})(["display:flex;align-items:center;gap:8px;padding:12px 14px;background:#FFF;border:0.5px solid rgba(0,0,0,0.1);border-radius:16px;font-size:13px;color:#353941 !important;text-decoration:none !important;transition:box-shadow 0.2s ease;span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}&:hover{box-shadow:0 6px 20px rgba(0,0,0,0.08);color:#2563EB !important;}"]),$o=r.details.withConfig({componentId:"sc-af797x-54"})(["border-bottom:1px solid #EEEEEE;summary{list-style:none;cursor:pointer;padding:16px 0;font-size:15px;font-weight:600;color:#111;display:flex;justify-content:space-between;align-items:center;&::-webkit-details-marker{display:none;}&::after{content:'+';color:#9ca3af;font-size:18px;font-weight:400;}}&[open] summary::after{content:'−';}p{font-size:13px;color:#626773;line-height:1.7;padding-bottom:16px;margin:0;}"]);export{Oo as C,Oe as M,_o as a,Lo as b,Do as c};
