(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,912147,e=>{"use strict";var s=e.i(659350),t=e.i(663456),l=e.i(788843),i=e.i(136562),n=e.i(490112);e.s(["f",0,function(e){let r,c,o,a,d,m,x,h,f,u,p,j,g,b=(0,t.c)(28);b[0]!==e?({children:r,className:c,size:d,weight:h,icon:o,iconPosition:m,showExternalIcon:x,...a}=e,b[0]=e,b[1]=r,b[2]=c,b[3]=o,b[4]=a,b[5]=d,b[6]=m,b[7]=x,b[8]=h):(r=b[1],c=b[2],o=b[3],a=b[4],d=b[5],m=b[6],x=b[7],h=b[8]);let k=void 0===m?"end":m,N=void 0!==x&&x;b[9]!==o||b[10]!==N?(f=o??(N?(0,s.jsx)(l.f,{className:"inline size-3 align-[-1px]"}):null),b[9]=o,b[10]=N,b[11]=f):f=b[11];let _=f;return b[12]!==c||b[13]!==d||b[14]!==h?(u=(0,i.f)((0,n.X)({size:d,weight:h}),c),b[12]=c,b[13]=d,b[14]=h,b[15]=u):u=b[15],b[16]!==k||b[17]!==_?(p="start"===k&&_&&(0,s.jsx)("span",{className:"mr-0.5 inline-flex",children:_}),b[16]=k,b[17]=_,b[18]=p):p=b[18],b[19]!==k||b[20]!==_?(j="end"===k&&_&&(0,s.jsx)("span",{className:"ml-0.5 inline-flex",children:_}),b[19]=k,b[20]=_,b[21]=j):j=b[21],b[22]!==r||b[23]!==a||b[24]!==u||b[25]!==p||b[26]!==j?(g=(0,s.jsxs)("a",{className:u,...a,children:[p,r,j]}),b[22]=r,b[23]=a,b[24]=u,b[25]=p,b[26]=j,b[27]=g):g=b[27],g}])},462578,e=>{"use strict";var s=e.i(659350),t=e.i(663456),l=e.i(912147),i=e.i(670168),n=e.i(954217),r=e.i(960773);e.i(707060);var c=e.i(300326),o=e.i(196991),a=e.i(153746),d=e.i(493022),m=e.i(45008);function x(e){let i,n=(0,t.c)(4),{headline:d}=e,m=(0,r.Q)();return n[0]!==d.apiAccessModelRef||n[1]!==d.modelCount||n[2]!==m?(i=d.modelCount>0?(0,s.jsxs)(o.T,{children:[" ","Access ",(0,s.jsx)(a.d,{children:d.apiAccessModelRef}),(0,s.jsx)(c.f,{branch:1===d.modelCount?"one":"other",one:" and hundreds of other AI models through the ",other:" and hundreds of others through the "}),(0,s.jsx)(l.f,{href:"/docs/quickstart",target:"_blank",rel:"noreferrer",className:"text-sm md:text-base",onClick:()=>{m.capture("compare_click_api_docs")},children:"OpenRouter API"}),"."]}):(0,s.jsxs)(o.T,{children:[" ","Access hundreds of AI models through the"," ",(0,s.jsx)(l.f,{href:"/docs/quickstart",target:"_blank",rel:"noreferrer",className:"text-sm md:text-base",onClick:()=>{m.capture("compare_click_api_docs")},children:"OpenRouter API"}),"."]}),n[0]=d.apiAccessModelRef,n[1]=d.modelCount,n[2]=m,n[3]=i):i=n[3],i}function h(){let e,l,i=(0,t.c)(2);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,s.jsx)(n.TextLink,{href:"/models",children:"model catalog"}),i[0]=e):e=i[0],i[1]===Symbol.for("react.memo_cache_sentinel")?(l=(0,s.jsxs)(o.T,{children:[" ","Browse the ",e," or explore"," ",(0,s.jsx)(n.TextLink,{href:"/rankings",children:"model rankings"})," to find candidates."]}),i[1]=l):l=i[1],l}function f(e){let l,i,n,r=(0,t.c)(9),{headline:c,isRootCompareRoute:o,hasModel1:a}=e;return r[0]!==a||r[1]!==o?(l=o&&!a&&(0,s.jsx)(h,{}),r[0]=a,r[1]=o,r[2]=l):l=r[2],r[3]!==c?(i=(0,s.jsx)(x,{headline:c}),r[3]=c,r[4]=i):i=r[4],r[5]!==c.description||r[6]!==l||r[7]!==i?(n=(0,s.jsxs)("p",{"data-slot":"compare-intro-description",className:"max-w-3xl text-sm text-foreground md:text-base",children:[c.description,l,i]}),r[5]=c.description,r[6]=l,r[7]=i,r[8]=n):n=r[8],n}e.s(["CompareServerHeadline",0,function(e){let l,n,r,c,o,a=(0,t.c)(18),{headline:x}=e,{routeKey:h,isSelectionStale:u,clientHeadline:p,shouldShowLoadingSkeleton:j,isRootCompareRoute:g,hasModel1:b}=(0,m.W)();a[0]!==p||a[1]!==x||a[2]!==u||a[3]!==h?(l=(0,d.O)(x,{routeKey:h,isSelectionStale:u})?x:p,a[0]=p,a[1]=x,a[2]=u,a[3]=h,a[4]=l):l=a[4];let k=l,N=j&&k!==x;return a[5]!==k||a[6]!==N?(n=N?(0,s.jsx)(i.l,{className:"h-[1lh] w-full max-w-2xl"}):k.title,a[5]=k,a[6]=N,a[7]=n):n=a[7],a[8]!==n?(r=(0,s.jsx)("h1",{className:"text-2xl font-semibold tracking-tight md:text-3xl",children:n}),a[8]=n,a[9]=r):r=a[9],a[10]!==k||a[11]!==b||a[12]!==g||a[13]!==N?(c=N?(0,s.jsx)("div",{className:"max-w-3xl text-sm md:text-base",children:(0,s.jsx)(i.l,{className:"h-[2lh] w-full"})}):(0,s.jsx)(f,{headline:k,isRootCompareRoute:g,hasModel1:b}),a[10]=k,a[11]=b,a[12]=g,a[13]=N,a[14]=c):c=a[14],a[15]!==r||a[16]!==c?(o=(0,s.jsx)("div",{className:"flex flex-col gap-4 md:flex-row md:items-end md:justify-between",children:(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[r,c]})}),a[15]=r,a[16]=c,a[17]=o):o=a[17],o}])}]); //# sourceMappingURL=2f3wthzndftcz.js.map