!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a09e9c-6b9e-7ee2-9533-6b6cd21375b3")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,191379,e=>{"use strict";let t=(0,e.i(202913).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,t],191379)},557225,630056,e=>{"use strict";var t=e.i(222666),r=e.i(505962),i=e.i(452473),n=e.i(188363),a=e.i(687421),l=e.i(678998);function o(e){return e.toLowerCase()}let s=new Map([[o(a.ProviderName.OpenAI),{url:(0,l.getLocalIconUri)("OpenAI.svg"),className:"dark:invert"}],[o(a.ProviderName.Perplexity),{url:(0,l.getLocalIconUri)("Perplexity.png")}],[o(a.ProviderName.Poolside),{url:(0,l.getLocalIconUri)("poolside-logomark-solid-color.svg")}],[o(a.ProviderName.Perceptron),{url:(0,l.getFaviconUrl)("https://www.perceptron.inc")}],["voyageai",{url:(0,l.getFaviconUrl)("https://www.voyageai.com")}],[o(a.ProviderName.GoogleAIStudio),{url:(0,l.getLocalIconUri)("GoogleAIStudio.svg")}],[o(a.ProviderName.Anthropic),{url:(0,l.getLocalIconUri)("Anthropic.svg")}],[o(a.ProviderName.ClaudeOnAws),{url:(0,l.getLocalIconUri)("Anthropic.svg")}],[o(a.ProviderName.Cohere),{url:(0,l.getLocalIconUri)("Cohere.png")}],[o(a.ProviderName.Deepgram),{url:(0,l.getLocalIconUri)("Deepgram.svg"),className:"dark:invert"}],[o(a.ProviderName.DeepSeek),{url:(0,l.getLocalIconUri)("DeepSeek.png")}],[o(a.ProviderName.Together),{url:(0,l.getFaviconUrl)("https://www.together.ai/")}],[o(a.ProviderName.Infermatic),{url:(0,l.getFaviconUrl)("https://infermatic.ai/")}],[o(a.ProviderName.HuggingFace),{url:(0,l.getFaviconUrl)("https://huggingface.co/")}],[o(a.ProviderName.AI21),{url:(0,l.getFaviconUrl)("https://ai21.com/")}],[o(a.ProviderName.Featherless),{url:(0,l.getFaviconUrl)("https://featherless.ai/")}],[o(a.ProviderName.Reflection),{url:(0,l.getFaviconUrl)("https://railway.app/")}],[o(a.ProviderName.Inflection),{url:(0,l.getFaviconUrl)("https://inflection.ai/")}],[o(a.ProviderName.Minimax),{url:(0,l.getFaviconUrl)("https://minimaxi.com/")}],[o(a.ProviderName.Liquid),{url:(0,l.getFaviconUrl)("https://www.liquid.ai/"),className:"dark:invert"}],[o(a.ProviderName.Inception),{url:(0,l.getLocalIconUri)("Inception.svg"),className:"dark:invert"}],[o(a.ProviderName.Relace),{url:(0,l.getFaviconUrl)("https://www.relace.ai")}],[o(a.ProviderName.Sourceful),{url:(0,l.getFaviconUrl)("https://www.sourceful.com/")}],[o(a.ProviderName.BytePlus),{url:(0,l.getFaviconUrl)("https://www.byteplus.com")}],[o(a.ProviderName.Xiaomi),{url:(0,l.getFaviconUrl)("https://www.mi.com")}],["arcee-ai",{url:(0,l.getFaviconUrl)("https://www.arcee.ai")}],["fish-audio",{url:(0,l.getFaviconUrl)("https://fish.audio/")}],["z-ai",{url:(0,l.getFaviconUrl)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,l.getLocalIconUri)("MoonshotAI.png")}],["morph",{url:(0,l.getFaviconUrl)("https://morphllm.com")}],["qwen",{url:(0,l.getLocalIconUri)("Qwen.png")}],["google",{url:(0,l.getLocalIconUri)("GoogleGemini.svg")}],["microsoft",{url:(0,l.getLocalIconUri)("Microsoft.svg")}],["nousresearch",{url:(0,l.getFaviconUrl)("https://nousresearch.com/")}],["nvidia",{url:(0,l.getFaviconUrl)("https://nvidia.com/")}],["meta-llama",{url:(0,l.getLocalIconUri)("Meta.png")}],["meta",{url:(0,l.getLocalIconUri)("Meta.png")}],["databricks",{url:(0,l.getFaviconUrl)("https://databricks.com/")}],["openrouter",{url:(0,l.getLocalIconUri)("openrouter-glyph-light.svg"),darkUrl:(0,l.getLocalIconUri)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,l.getLocalIconUri)("Mistral.png")}],["x-ai",{url:(0,l.getFaviconUrl)("https://x.ai/")}],["amazon",{url:(0,l.getFaviconUrl)("https://nova.amazon.com/")}],["aion-labs",{url:(0,l.getFaviconUrl)("https://www.aionlabs.ai/")}],["allenai",{url:(0,l.getFaviconUrl)("https://allenai.org/")}],["switchpoint",{url:(0,l.getFaviconUrl)("https://switchpoint.dev/")}],["thedrummer",{url:(0,l.getLocalIconUri)("TheDrummer.png")}],["deepcogito",{url:(0,l.getFaviconUrl)("https://www.deepcogito.com/")}],["baidu",{url:(0,l.getFaviconUrl)("https://www.baidu.com/")}],["kwaipilot",{url:(0,l.getLocalIconUri)("Kwaipilot.png")}],["kwaivgi",{url:(0,l.getLocalIconUri)("KlingAI.png")}],["black-forest-labs",{url:(0,l.getFaviconUrl)("https://bfl.ai")}],["prime-intellect",{url:(0,l.getFaviconUrl)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,l.getFaviconUrl)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,l.getFaviconUrl)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,l.getFaviconUrl)("https://seed.bytedance.com/")}],[o(a.ProviderName.Seed),{url:(0,l.getFaviconUrl)("https://seed.bytedance.com/")}],["writer",{url:(0,l.getFaviconUrl)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,l.getFaviconUrl)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,l.getFaviconUrl)("https://platform.stepfun.ai/")}],[o(a.ProviderName.Recraft),{url:(0,l.getLocalIconUri)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,l.getFaviconUrl)("https://seed.bytedance.com/")}],["alibaba",{url:(0,l.getFaviconUrl)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,l.getFaviconUrl)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,l.getLocalIconUri)("Tencent.png")}],["ibm-granite",{url:(0,l.getLocalIconUri)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,l.getLocalIconUri)("NexAGI.svg"),className:"dark:invert"}],["thinkingmachines",{url:(0,l.getFaviconUrl)("https://thinkingmachines.ai/")}],["sakana",{url:(0,l.getFaviconUrl)("https://sakana.ai")}],[o(a.ProviderName.HeyGen),{url:(0,l.getFaviconUrl)("https://heygen.com")}],["zyphra",{url:(0,l.getLocalIconUri)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,l.getFaviconUrl)("https://www.sesame.com")}],["canopylabs",{url:(0,l.getFaviconUrl)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,l.getLocalIconUri)("Hexgrad.png")}],[o(a.ProviderName.Krea),{url:(0,l.getFaviconUrl)("https://www.krea.ai")}],[o(a.ProviderName.Runway),{url:(0,l.getFaviconUrl)("https://runwayml.com")}],[o(a.ProviderName.Upstage),{url:(0,l.getFaviconUrl)("https://www.upstage.ai/")}],["stealth",{url:(0,l.getLocalIconUri)("Stealth.svg"),className:"invert-0 dark:invert"}]]),c=new Map([["microsoft/mai-",{url:(0,l.getLocalIconUri)("MAI.png")}]]),u=/^\/(?![/\\])/u,d=/^data:image\//iu;function p(e,t){var r;let i=s.get(e.toLowerCase());return t&&(!t.startsWith("data:")||d.test(t))?(r=i?.className,u.test(t)||d.test(t)?{url:t}:t.startsWith("//")?{url:(0,l.getFaviconUrl)(`https:${t}`)}:t.startsWith("http")?{url:(0,l.getFaviconUrl)(t)}:{url:(0,l.getLocalIconUri)(t),className:r}):i??{url:l.HUGGING_FACE_FAVICON_URL}}function g({permaslug:e,author:t,iconUri:r}){let i=e.toLowerCase().replace(/^~/,"");for(let[e,t]of c)if(i.startsWith(e))return t;return p(t,r)}e.s(["getAuthorIconInfo",0,p,"getModelAuthorIconInfo",0,g],630056);var m=e.i(837556);e.s(["AuthorIcon",0,function(e){let a,l,o,s,c,u,d,h=(0,r.c)(25),{author:v,permaslug:f,iconUri:k,className:U,frame:b,frameRingClassName:w,bare:I}=e,N=void 0!==b&&b,F=void 0!==I&&I;if(h[0]!==v||h[1]!==F||h[2]!==U||h[3]!==N||h[4]!==w||h[5]!==k||h[6]!==f){c=Symbol.for("react.early_return_sentinel");e:{if(l=void 0===f?p(v,k):g({permaslug:f,author:v,iconUri:k}),F){let e;h[12]!==U?(e=(0,i.cn)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",U),h[12]=U,h[13]=e):e=h[13],c=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(n.RemoteFavicon,{className:(0,i.cn)("size-full overflow-hidden",l?.className),faviconFor:v,imgSrc:l.url,imgSrcDark:l.darkUrl,size:256})});break e}if(N){c=(0,t.jsx)(m.IconFrame,{className:U,ringClassName:w,children:(0,t.jsx)(n.RemoteFavicon,{className:(0,i.cn)("size-full",l?.className),faviconFor:v,imgSrc:l.url,imgSrcDark:l.darkUrl,size:256})});break e}h[14]!==U?(s=(0,i.cn)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",U),h[14]=U,h[15]=s):s=h[15],a=n.RemoteFavicon,o=(0,i.cn)("overflow-hidden rounded-full",l?.className)}h[0]=v,h[1]=F,h[2]=U,h[3]=N,h[4]=w,h[5]=k,h[6]=f,h[7]=a,h[8]=l,h[9]=o,h[10]=s,h[11]=c}else a=h[7],l=h[8],o=h[9],s=h[10],c=h[11];return c!==Symbol.for("react.early_return_sentinel")?c:(h[16]!==a||h[17]!==v||h[18]!==l.darkUrl||h[19]!==l.url||h[20]!==o?(u=(0,t.jsx)(a,{className:o,faviconFor:v,imgSrc:l.url,imgSrcDark:l.darkUrl,size:256}),h[16]=a,h[17]=v,h[18]=l.darkUrl,h[19]=l.url,h[20]=o,h[21]=u):u=h[21],h[22]!==s||h[23]!==u?(d=(0,t.jsx)("div",{className:s,children:u}),h[22]=s,h[23]=u,h[24]=d):d=h[24],d)}],557225)},837556,e=>{"use strict";var t=e.i(222666),r=e.i(505962),i=e.i(452473);e.s(["IconFrame",0,function(e){let n,a,l,o,s,c,u=(0,r.c)(15),{children:d,className:p,variant:g,decorative:m,ringClassName:h}=e,v=void 0!==m&&m||void 0;u[0]!==p?(n=(0,i.cn)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",p),u[0]=p,u[1]=n):n=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,i.cn)("absolute inset-px flex items-center justify-center","[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-contain","[&_img]:rounded-sm"),u[2]=a):a=u[2],u[3]!==d?(l=(0,t.jsx)("div",{className:a,children:d}),u[3]=d,u[4]=l):l=u[4];let f="app"===(void 0===g?"default":g)&&"dark:inset-px dark:ring-white";return u[5]!==h||u[6]!==f?(o=(0,i.cn)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",f,h),u[5]=h,u[6]=f,u[7]=o):o=u[7],u[8]!==o?(s=(0,t.jsx)("div",{"aria-hidden":!0,className:o}),u[8]=o,u[9]=s):s=u[9],u[10]!==v||u[11]!==n||u[12]!==l||u[13]!==s?(c=(0,t.jsxs)("div",{"aria-hidden":v,className:n,children:[l,s]}),u[10]=v,u[11]=n,u[12]=l,u[13]=s,u[14]=c):c=u[14],c}])},759024,e=>{"use strict";var t=e.i(222666),r=e.i(505962),i=e.i(704318),n=e.i(452473),a=e.i(691038),l=e.i(778084),o=e.i(648156);e.s(["InfoTooltip",0,function(e){var s;let c,u,d,p,g,m,h,v,f=(0,r.c)(33),{align:k,"aria-label":U,children:b,className:w,contentClassName:I,icon:N,side:F,sideOffset:y}=e,x=void 0===F?"bottom":F,L=(0,a.useMediaMd)();f[0]!==U||f[1]!==b?(c=U??("string"==typeof(s=b)&&s.trim().length>0?s.trim():"Information"),f[0]=U,f[1]=b,f[2]=c):c=f[2],f[3]!==w?(u=(0,n.cn)("inline-flex items-center justify-center border-0 bg-transparent p-0 align-middle text-[inherit] leading-[inherit] focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",w),f[3]=w,f[4]=u):u=f[4],f[5]!==N?(d=N??(0,t.jsx)(i.InformationCircleIcon,{className:"inline h-4 w-4 text-muted-foreground"}),f[5]=N,f[6]=d):d=f[6],f[7]!==c||f[8]!==u||f[9]!==d?(p=(0,t.jsx)("button",{type:"button",tabIndex:-1,"aria-label":c,className:u,children:d}),f[7]=c,f[8]=u,f[9]=d,f[10]=p):p=f[10];let _=p;if(L){let e,r;return f[11]!==I?(e=(0,n.cn)("max-w-xs",I),f[11]=I,f[12]=e):e=f[12],f[13]!==k||f[14]!==b||f[15]!==x||f[16]!==y||f[17]!==e||f[18]!==_?(r=(0,t.jsx)(o.Tooltip,{align:k,className:e,content:b,side:x,sideOffset:y,children:_}),f[13]=k,f[14]=b,f[15]=x,f[16]=y,f[17]=e,f[18]=_,f[19]=r):r=f[19],r}return f[20]!==_?(g=(0,t.jsx)(l.PopoverTrigger,{render:_}),f[20]=_,f[21]=g):g=f[21],f[22]!==I?(m=(0,n.cn)("w-52 p-2 text-xs",I),f[22]=I,f[23]=m):m=f[23],f[24]!==k||f[25]!==b||f[26]!==x||f[27]!==y||f[28]!==m?(h=(0,t.jsx)(l.PopoverContent,{align:k,side:x,sideOffset:y,className:m,children:b}),f[24]=k,f[25]=b,f[26]=x,f[27]=y,f[28]=m,f[29]=h):h=f[29],f[30]!==g||f[31]!==h?(v=(0,t.jsxs)(l.Popover,{children:[g,h]}),f[30]=g,f[31]=h,f[32]=v):v=f[32],v}])},188363,e=>{"use strict";var t=e.i(222666),r=e.i(505962),i=e.i(948992),n=e.i(678998),a=e.i(270401);let l=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i;e.s(["RemoteFavicon",0,function(e){let o,s,c,u,d,p,g,m,h,v,f,k,U=(0,r.c)(51),[b,w]=(0,a.useState)(null),[I,N]=(0,a.useState)(null),[F,y]=(0,a.useState)(!1),[x,L]=(0,a.useState)(!1),_=e.size||256,P=e.hasCuratedFaviconUrl??!1;U[0]!==F||U[1]!==x||U[2]!==e.faviconFor||U[3]!==e.imgSrc||U[4]!==_||U[5]!==P?(o=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:i,hasCuratedFaviconUrl:a,imgSrc:o}){if(o)return{source:"given",src:o};if(a&&(e=>{try{let{pathname:t}=new URL(e);return l.test(t)}catch{return!1}})(e)&&!r)return{source:"curated",src:(0,n.getCdnImageUrl)(e)};let s=i?(0,n.getParentSiteUrl)(e):null;return null!==s?{source:"parent-site",src:(0,n.getFaviconUrl)(s,t)}:{source:"site",src:(0,n.getFaviconUrl)(e,t)}}({faviconFor:e.faviconFor,size:_,didCuratedIconFail:F,didSiteIconFail:x,hasCuratedFaviconUrl:P,imgSrc:e.imgSrc}),U[0]=F,U[1]=x,U[2]=e.faviconFor,U[3]=e.imgSrc,U[4]=_,U[5]=P,U[6]=o):o=U[6];let{source:S,src:M}=o;U[7]!==e.faviconFor||U[8]!==_||U[9]!==S?(s=t=>{"site"!==S||_<=16||t>16||null!==(0,n.getParentSiteUrl)(e.faviconFor)&&L(!0)},U[7]=e.faviconFor,U[8]=_,U[9]=S,U[10]=s):s=U[10];let j=s;U[11]!==e.faviconFor||U[12]!==S?(c=t=>{switch(S){case"curated":if((0,n.isOpenRouterHostedUrl)(e.faviconFor))return void w(t);y(!0);return;case"site":if(null===(0,n.getParentSiteUrl)(e.faviconFor))return void w(t);L(!0);return;case"given":case"parent-site":return void w(t);default:w(t)}},U[11]=e.faviconFor,U[12]=S,U[13]=c):c=U[13];let A=c;U[14]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{w(null)},U[14]=u):u=U[14],U[15]!==M?(d=[M],U[15]=M,U[16]=d):d=U[16],(0,a.useEffect)(u,d),U[17]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{y(!1),L(!1)},U[17]=p):p=U[17],U[18]!==e.faviconFor||U[19]!==e.imgSrc||U[20]!==_?(g=[e.faviconFor,e.imgSrc,_],U[18]=e.faviconFor,U[19]=e.imgSrc,U[20]=_,U[21]=g):g=U[21],(0,a.useEffect)(p,g),U[22]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{N(null)},U[22]=m):m=U[22],U[23]!==e.imgSrcDark?(h=[e.imgSrcDark],U[23]=e.imgSrcDark,U[24]=h):h=U[24],(0,a.useEffect)(m,h);let T=`Favicon for ${e.faviconFor}`;U[25]!==_||U[26]!==T?(v={width:_,height:_,alt:T,className:"h-full w-full object-cover"},U[25]=_,U[26]=T,U[27]=v):v=U[27];let C=v;if(e.imgSrcDark){let r,n,a;return U[28]!==b||U[29]!==C||U[30]!==A||U[31]!==j||U[32]!==M?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:b?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...C,src:M,onError:e=>A(e.toString()),onLoad:e=>j(e.currentTarget.naturalWidth)})}),U[28]=b,U[29]=C,U[30]=A,U[31]=j,U[32]=M,U[33]=r):r=U[33],U[34]!==I||U[35]!==C||U[36]!==e.imgSrcDark?(n=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:I?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...C,src:e.imgSrcDark,onError:e=>N(e.toString())})}),U[34]=I,U[35]=C,U[36]=e.imgSrcDark,U[37]=n):n=U[37],U[38]!==e.className||U[39]!==r||U[40]!==n?(a=(0,t.jsxs)("div",{className:e.className,children:[r,n]}),U[38]=e.className,U[39]=r,U[40]=n,U[41]=a):a=U[41],a}return U[42]!==b||U[43]!==C||U[44]!==A||U[45]!==j||U[46]!==M?(f=b?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("picture",{className:"h-full w-full shrink-0",children:(0,t.jsx)("img",{...C,src:M,loading:"lazy",decoding:"async",onError:e=>A(e.toString()),onLoad:e=>j(e.currentTarget.naturalWidth)})}),U[42]=b,U[43]=C,U[44]=A,U[45]=j,U[46]=M,U[47]=f):f=U[47],U[48]!==e.className||U[49]!==f?(k=(0,t.jsx)("div",{className:e.className,children:f}),U[48]=e.className,U[49]=f,U[50]=k):k=U[50],k}])},379684,e=>{"use strict";var t=e.i(222666),r=e.i(505962),i=e.i(734293),n=e.i(452473),a=e.i(654847),l=e.i(191379),o=e.i(551365),s=e.i(971531),c=e.i(639580),u=e.i(664288);let d="text-foreground underline underline-offset-2 decoration-current/40 hover:text-accent-foreground hover:decoration-current transition-colors";e.s(["LINK_CLASSES",0,d,"TextLink",0,function(e){let p,g,m,h,v,f,k,U,b,w,I,N,F,y,x,L,_,P,S,M,j,A,T=(0,r.c)(71);T[0]!==e?({render:U,children:p,className:g,icon:m,iconPosition:b,showExternalIcon:w,prefetch:I,onFocus:h,onMouseEnter:v,onTouchStart:f,...k}=e,T[0]=e,T[1]=p,T[2]=g,T[3]=m,T[4]=h,T[5]=v,T[6]=f,T[7]=k,T[8]=U,T[9]=b,T[10]=w,T[11]=I):(p=T[1],g=T[2],m=T[3],h=T[4],v=T[5],f=T[6],k=T[7],U=T[8],b=T[9],w=T[10],I=T[11]);let C=void 0===b?"end":b,R=void 0!==w&&w,D=void 0===I?"hover":I,z=(0,c.useLocalizedHref)(k.href);T[12]!==z?(N=(0,a.getHrefString)(z),T[12]=z,T[13]=N):N=T[13],T[14]!==D||T[15]!==N?(F={prefetch:D,href:N},T[14]=D,T[15]=N,T[16]=F):F=T[16],T[17]!==h||T[18]!==v||T[19]!==f?(y={onFocus:h,onMouseEnter:v,onTouchStart:f},T[17]=h,T[18]=v,T[19]=f,T[20]=y):y=T[20];let O=(0,s.useLinkPrefetch)(F,y);T[21]!==g?(x=(0,n.cn)(d,"text-xs cursor-pointer",g),T[21]=g,T[22]=x):x=T[22];let $=x;T[23]!==m||T[24]!==R?(L=m??(R?(0,t.jsx)(l.ArrowUpRight,{className:"inline size-3 align-[-1px]"}):null),T[23]=m,T[24]=R,T[25]=L):L=T[25];let E=L;T[26]!==C||T[27]!==E?(_="start"===C&&E?(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:E}):null,T[26]=C,T[27]=E,T[28]=_):_=T[28];let G=_;T[29]!==C||T[30]!==E?(P="end"===C&&E?(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:E}):null,T[29]=C,T[30]=E,T[31]=P):P=T[31];let W=P,H=(0,a.isCrossZoneHref)(z);T[32]!==p||T[33]!==U?(S=U?(0,u.getChildContent)(U):p,T[32]=p,T[33]=U,T[34]=S):S=T[34];let K=S;T[35]!==K||T[36]!==W||T[37]!==z||T[38]!==h||T[39]!==v||T[40]!==f||T[41]!==k||T[42]!==U||T[43]!==$||T[44]!==G?(M=U?{className:$,children:(0,t.jsxs)(t.Fragment,{children:[G,K,W]}),...k,onFocus:h,onMouseEnter:v,onTouchStart:f,href:z}:{},T[35]=K,T[36]=W,T[37]=z,T[38]=h,T[39]=v,T[40]=f,T[41]=k,T[42]=U,T[43]=$,T[44]=G,T[45]=M):M=T[45],T[46]!==U||T[47]!==M?(j={render:U,defaultTagName:"a",props:M},T[46]=U,T[47]=M,T[48]=j):j=T[48];let Z=(0,i.useRender)(j);if(U){if(H)throw Error(`TextLink: cross-zone href "${(0,a.getHrefString)(z)}" cannot be combined with the render prop. Use a plain element instead.`);return Z}if(H){let e,r,i;if(T[49]!==k){let{href:t,replace:r,scroll:i,shallow:n,passHref:a,legacyBehavior:l,locale:o,onNavigate:s,...c}=k;e=c,T[49]=k,T[50]=e}else e=T[50];return T[51]!==z?(r=(0,a.getHrefString)(z),T[51]=z,T[52]=r):r=T[52],T[53]!==e||T[54]!==p||T[55]!==W||T[56]!==h||T[57]!==v||T[58]!==f||T[59]!==$||T[60]!==G||T[61]!==r?(i=(0,t.jsxs)("a",{href:r,className:$,onFocus:h,onMouseEnter:v,onTouchStart:f,...e,children:[G,p,W]}),T[53]=e,T[54]=p,T[55]=W,T[56]=h,T[57]=v,T[58]=f,T[59]=$,T[60]=G,T[61]=r,T[62]=i):i=T[62],i}return T[63]!==p||T[64]!==W||T[65]!==z||T[66]!==O||T[67]!==k||T[68]!==$||T[69]!==G?(A=(0,t.jsxs)(o.default,{className:$,...k,...O,href:z,children:[G,p,W]}),T[63]=p,T[64]=W,T[65]=z,T[66]=O,T[67]=k,T[68]=$,T[69]=G,T[70]=A):A=T[70],A}])},664288,e=>{"use strict";e.s(["getChildContent",0,function(e){let{props:t}=e;if("object"==typeof t&&null!==t&&"children"in t)return t.children}])},12266,e=>{"use strict";var t=e.i(288027);let r={Token:"token",Unit:"unit",Schedule:"schedule"},i={prompt:{kind:r.Token,sku_label:"Input Price",displayMultiplier:1e6,unitLabel:"/M tokens"},completion:{kind:r.Token,sku_label:"Output Price",displayMultiplier:1e6,unitLabel:"/M tokens"},request:{kind:r.Unit,sku_label:"Request",displayMultiplier:1,unitLabel:"/request"},image:{kind:r.Token,sku_label:"Image Input",displayMultiplier:1e3,unitLabel:"/K tokens"},image_token:{kind:r.Token,sku_label:"Image Tokens",displayMultiplier:1e6,unitLabel:"/M tokens"},image_output:{kind:r.Token,sku_label:"Image Output",displayMultiplier:1e6,unitLabel:"/M tokens"},audio:{kind:r.Token,sku_label:"Input Audio",displayMultiplier:1e6,unitLabel:"/M tokens"},audio_output:{kind:r.Token,sku_label:"Output Audio",displayMultiplier:1e6,unitLabel:"/M tokens"},input_audio_cache:{kind:r.Token,sku_label:"Input Audio Cache",displayMultiplier:1e6,unitLabel:"/M tokens"},input_cache_read:{kind:r.Token,sku_label:"Cache Read",displayMultiplier:1e6,unitLabel:"/M tokens"},input_cache_write:{kind:r.Token,sku_label:"Cache Write",displayMultiplier:1e6,unitLabel:"/M tokens"},input_cache_write_1h:{kind:r.Token,sku_label:"Cache Write (1h)",displayMultiplier:1e6,unitLabel:"/M tokens"},web_search:{kind:r.Unit,sku_label:"Web Search",displayMultiplier:1e3,unitLabel:"/1K calls",onlyWhenPositive:!0,isServerTool:!0}};e.s(["DisplayPricingKind",0,r,"PUBLIC_PRICING_DISPLAY_METADATA",0,i,"getPrimaryUnitPrice",0,function(e){let i=e.filter(e=>e.kind===r.Unit&&!0!==e.isServerTool),n=i[0];if(!n)return;let a=void 0!==n.tiers&&n.tiers.length>1,l=a||i.length>1;if(a){let e=(0,t.bn)(1/0),r=n.price;for(let i of n.tiers){let n=(0,t.bn)(i.price);n.gt(0)&&n.lt(e)&&(e=n,r=i.price)}return{price:r,displayMultiplier:n.displayMultiplier,unitLabel:n.unitLabel,hasDetails:l}}return{price:n.price,displayMultiplier:n.displayMultiplier,unitLabel:n.unitLabel,hasDetails:l}}])},678998,e=>{"use strict";e.i(687421);let t=(e,t=256)=>`https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${e}&size=${t}`,r=new Set(["ac","co","com","edu","go","gob","gov","ltd","me","ne","net","nom","or","org","plc","sch"]),i=new Set(["amazonaws.com","azurewebsites.net","cloudfront.net","firebaseapp.com","fly.dev","github.io","gitlab.io","herokuapp.com","ngrok.app","ngrok.io","netlify.app","onrender.com","pages.dev","run.app","vercel.app","web.app","workers.dev"]),n=e=>{try{let t=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===t||t.endsWith(".openrouter.ai")}catch{return!1}},a=t("https://huggingface.co/");e.s(["HUGGING_FACE_FAVICON_URL",0,a,"getCdnImageUrl",0,e=>n(e)?e:`/api/frontend/v1/image-proxy?url=${encodeURIComponent(e)}`,"getFaviconUrl",0,t,"getLocalIconUri",0,e=>`/images/icons/${e}`,"getParentSiteUrl",0,e=>{let t=(e=>{let t=/^[a-z][a-z\d+\-.]*:\/\//iu.test(e)?e:`https://${e}`;try{return new URL(t).hostname.toLowerCase().replace(/\.$/u,"")}catch{return null}})(e);if(null===t)return null;let n=t.split(".").slice(1);if(n.length<2||2===n.length&&2===(n[1]??"").length&&r.has(n[0]??""))return null;let a=n.join(".");return[...i].some(e=>a===e||a.endsWith(`.${e}`))?null:`https://${a}`},"isOpenRouterHostedUrl",0,n])},690387,e=>{"use strict";var t=e.i(288027),r=e.i(12266),i=e.i(190557);let n="/M tokens",a=["prompt","completion","request","image","image_token","image_output","audio","audio_output","input_audio_cache","input_cache_read","input_cache_write","input_cache_write_1h","web_search","internal_reasoning"],l=["Image Input","Input Image"],o=["Image Output","Output Image"];function s(e){return e.length>0&&!e.some(e=>!(0,t.bn)(e.price).isZero()||e.tiers?.some(e=>!(0,t.bn)(e.price).isZero())===!0)}function c(e,n,a){let s,c,p,g,m;if(0===n.length)return;let h=a?.keepTrailingZeroes?"model-price-fixed":"model-price",v=n.filter(e=>"token"===e.kind),f=(c=(s=n.filter(e=>"token"===e.kind)).find(e=>"Input Price"===e.sku_label),p=s.find(e=>"Output Price"===e.sku_label),g=s.find(e=>{var t;return t=e.sku_label,o.includes(t)}),(m=s.find(e=>{var t;return t=e.sku_label,l.includes(t)})??c)&&g?{media:"image",inputItem:m,outputItem:g}:c&&p?{media:"text",inputItem:c,outputItem:p}:void 0);if(f)return function({locale:e,preset:r},{media:n,inputItem:a,outputItem:l}){return{kind:"standard-tokens",media:n,inputPrice:(0,i.formatUsd)((0,t.bn)(a.price).times(a.displayMultiplier),{locale:e,preset:r})??"—",inputUnit:d(a),outputPrice:(0,i.formatUsd)((0,t.bn)(l.price).times(l.displayMultiplier),{locale:e,preset:r})??"—",outputUnit:d(l)}}({locale:e,preset:h},f);let k=(0,r.getPrimaryUnitPrice)(n);if(!k){if(v[0]){let r=v[0],l=`${(0,i.formatUsd)((0,t.bn)(r.price).times(r.displayMultiplier),{locale:e,preset:a?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,o=d(r);return{kind:"custom",label:u(l,o),priceOnly:l,unit:o,hasDetails:n.length>1}}return}let U=`${(0,i.formatUsd)((0,t.bn)(k.price).times(k.displayMultiplier),{locale:e,preset:a?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,b=k.unitLabel;return{kind:"custom",label:k.hasDetails?`from ${u(U,b)}`:u(U,b),priceOnly:k.hasDetails?`from ${U}`:U,unit:b,hasDetails:k.hasDetails}}function u(e,t){var r;return`${e}${(r=t)?r.startsWith("/")?r:` ${r}`:""}`}function d(e){if("token"===e.kind){if(1e6===e.displayMultiplier)return n;if(1e3===e.displayMultiplier)return"/K tokens"}return e.unitLabel}e.s(["STANDARD_TOKEN_MULTIPLIER",0,1e6,"deriveEndpointInlinePricing",0,function(e,r,a){return c(e,a)??function(e,r){if(r&&(0,t.bn)(r.prompt).isFinite()&&(0,t.bn)(r.completion).isFinite()&&!((0,t.bn)(r.prompt).isZero()&&(0,t.bn)(r.completion).isZero()))return{kind:"standard-tokens",media:"text",inputPrice:(0,i.formatUsd)((0,t.bn)(r.prompt).times(1e6),{locale:e,preset:"model-price"})??"—",inputUnit:n,outputPrice:(0,i.formatUsd)((0,t.bn)(r.completion).times(1e6),{locale:e,preset:"model-price"})??"—",outputUnit:n}}(e,r?.pricing)},"deriveInlinePricing",0,c,"getDisplayPricingUnit",0,d,"isDisplayPricingFree",0,s,"isModelFree",0,function(e,r){var i;return e?.is_free===!0||(r.length>0?s(r):!!(i=e?.pricing)&&a.every(e=>{let r=i[e];return void 0===r||(0,t.bn)(r).isZero()}))},"joinPriceAndUnit",0,u])}]); //# sourceMappingURL=1yeczor-hq3bw.js.map //# chunkId=01a09e9c-6b9e-7ee2-9533-6b6cd21375b3