!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]="01a0a104-2b08-7ff0-ac92-5d74a10c68a8")}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)},963,e=>{"use strict";var t,r,i=((t={}).Text="text",t.Image="image",t.Embeddings="embeddings",t.Audio="audio",t.Video="video",t.Rerank="rerank",t.TTS="speech",t.Transcription="transcription",t);let n=new Set(["embeddings","rerank","speech","transcription"]),a=new Set(["embeddings","rerank"]),l=new Set(["text","image"]);function o(e){return 0===e.length||e.some(e=>l.has(e))&&!e.some(e=>n.has(e))}function s(e){return e.includes("video")&&!o(e)}var c=((r={}).Text="text",r.Image="image",r.File="file",r.Audio="audio",r.Video="video",r);e.s(["InputModality",()=>c,"NON_GENERATIVE_OUTPUT_MODALITIES",0,a,"OUTPUT_MODALITY_LABELS",0,{text:"Text",image:"Image",embeddings:"Embeddings",audio:"Audio",video:"Video",rerank:"Rerank",speech:"Speech",transcription:"Transcription"},"OutputModality",()=>i,"USER_FACING_OUTPUT_MODALITIES",0,["text","image","video","speech","transcription","embeddings","rerank","audio"],"isChatroomSelectableModel",0,function(e){return o(e)||s(e)},"isChattableModel",0,o,"isNonChattableVideoModel",0,s,"isTextOnly",0,function(e){return 1===e.length&&e.includes("text")}])},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:N}=e,I=void 0!==b&&b,F=void 0!==N&&N;if(h[0]!==v||h[1]!==F||h[2]!==U||h[3]!==I||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(I){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]=I,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}])},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),[N,I]=(0,a.useState)(null),[F,y]=(0,a.useState)(!1),[_,L]=(0,a.useState)(!1),S=e.size||256,x=e.hasCuratedFaviconUrl??!1;U[0]!==F||U[1]!==_||U[2]!==e.faviconFor||U[3]!==e.imgSrc||U[4]!==S||U[5]!==x?(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:S,didCuratedIconFail:F,didSiteIconFail:_,hasCuratedFaviconUrl:x,imgSrc:e.imgSrc}),U[0]=F,U[1]=_,U[2]=e.faviconFor,U[3]=e.imgSrc,U[4]=S,U[5]=x,U[6]=o):o=U[6];let{source:P,src:T}=o;U[7]!==e.faviconFor||U[8]!==S||U[9]!==P?(s=t=>{"site"!==P||S<=16||t>16||null!==(0,n.getParentSiteUrl)(e.faviconFor)&&L(!0)},U[7]=e.faviconFor,U[8]=S,U[9]=P,U[10]=s):s=U[10];let M=s;U[11]!==e.faviconFor||U[12]!==P?(c=t=>{switch(P){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]=P,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]!==T?(d=[T],U[15]=T,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]!==S?(g=[e.faviconFor,e.imgSrc,S],U[18]=e.faviconFor,U[19]=e.imgSrc,U[20]=S,U[21]=g):g=U[21],(0,a.useEffect)(p,g),U[22]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{I(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 C=`Favicon for ${e.faviconFor}`;U[25]!==S||U[26]!==C?(v={width:S,height:S,alt:C,className:"h-full w-full object-cover"},U[25]=S,U[26]=C,U[27]=v):v=U[27];let D=v;if(e.imgSrcDark){let r,n,a;return U[28]!==b||U[29]!==D||U[30]!==A||U[31]!==M||U[32]!==T?(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",{...D,src:T,onError:e=>A(e.toString()),onLoad:e=>M(e.currentTarget.naturalWidth)})}),U[28]=b,U[29]=D,U[30]=A,U[31]=M,U[32]=T,U[33]=r):r=U[33],U[34]!==N||U[35]!==D||U[36]!==e.imgSrcDark?(n=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:N?(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",{...D,src:e.imgSrcDark,onError:e=>I(e.toString())})}),U[34]=N,U[35]=D,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]!==D||U[44]!==A||U[45]!==M||U[46]!==T?(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",{...D,src:T,loading:"lazy",decoding:"async",onError:e=>A(e.toString()),onLoad:e=>M(e.currentTarget.naturalWidth)})}),U[42]=b,U[43]=D,U[44]=A,U[45]=M,U[46]=T,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,N,I,F,y,_,L,S,x,P,T,M,A,C=(0,r.c)(71);C[0]!==e?({render:U,children:p,className:g,icon:m,iconPosition:b,showExternalIcon:w,prefetch:N,onFocus:h,onMouseEnter:v,onTouchStart:f,...k}=e,C[0]=e,C[1]=p,C[2]=g,C[3]=m,C[4]=h,C[5]=v,C[6]=f,C[7]=k,C[8]=U,C[9]=b,C[10]=w,C[11]=N):(p=C[1],g=C[2],m=C[3],h=C[4],v=C[5],f=C[6],k=C[7],U=C[8],b=C[9],w=C[10],N=C[11]);let D=void 0===b?"end":b,j=void 0!==w&&w,O=void 0===N?"hover":N,R=(0,c.useLocalizedHref)(k.href);C[12]!==R?(I=(0,a.getHrefString)(R),C[12]=R,C[13]=I):I=C[13],C[14]!==O||C[15]!==I?(F={prefetch:O,href:I},C[14]=O,C[15]=I,C[16]=F):F=C[16],C[17]!==h||C[18]!==v||C[19]!==f?(y={onFocus:h,onMouseEnter:v,onTouchStart:f},C[17]=h,C[18]=v,C[19]=f,C[20]=y):y=C[20];let E=(0,s.useLinkPrefetch)(F,y);C[21]!==g?(_=(0,n.cn)(d,"text-xs cursor-pointer",g),C[21]=g,C[22]=_):_=C[22];let z=_;C[23]!==m||C[24]!==j?(L=m??(j?(0,t.jsx)(l.ArrowUpRight,{className:"inline size-3 align-[-1px]"}):null),C[23]=m,C[24]=j,C[25]=L):L=C[25];let $=L;C[26]!==D||C[27]!==$?(S="start"===D&&$?(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:$}):null,C[26]=D,C[27]=$,C[28]=S):S=C[28];let G=S;C[29]!==D||C[30]!==$?(x="end"===D&&$?(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:$}):null,C[29]=D,C[30]=$,C[31]=x):x=C[31];let W=x,H=(0,a.isCrossZoneHref)(R);C[32]!==p||C[33]!==U?(P=U?(0,u.getChildContent)(U):p,C[32]=p,C[33]=U,C[34]=P):P=C[34];let Z=P;C[35]!==Z||C[36]!==W||C[37]!==R||C[38]!==h||C[39]!==v||C[40]!==f||C[41]!==k||C[42]!==U||C[43]!==z||C[44]!==G?(T=U?{className:z,children:(0,t.jsxs)(t.Fragment,{children:[G,Z,W]}),...k,onFocus:h,onMouseEnter:v,onTouchStart:f,href:R}:{},C[35]=Z,C[36]=W,C[37]=R,C[38]=h,C[39]=v,C[40]=f,C[41]=k,C[42]=U,C[43]=z,C[44]=G,C[45]=T):T=C[45],C[46]!==U||C[47]!==T?(M={render:U,defaultTagName:"a",props:T},C[46]=U,C[47]=T,C[48]=M):M=C[48];let K=(0,i.useRender)(M);if(U){if(H)throw Error(`TextLink: cross-zone href "${(0,a.getHrefString)(R)}" cannot be combined with the render prop. Use a plain element instead.`);return K}if(H){let e,r,i;if(C[49]!==k){let{href:t,replace:r,scroll:i,shallow:n,passHref:a,legacyBehavior:l,locale:o,onNavigate:s,...c}=k;e=c,C[49]=k,C[50]=e}else e=C[50];return C[51]!==R?(r=(0,a.getHrefString)(R),C[51]=R,C[52]=r):r=C[52],C[53]!==e||C[54]!==p||C[55]!==W||C[56]!==h||C[57]!==v||C[58]!==f||C[59]!==z||C[60]!==G||C[61]!==r?(i=(0,t.jsxs)("a",{href:r,className:z,onFocus:h,onMouseEnter:v,onTouchStart:f,...e,children:[G,p,W]}),C[53]=e,C[54]=p,C[55]=W,C[56]=h,C[57]=v,C[58]=f,C[59]=z,C[60]=G,C[61]=r,C[62]=i):i=C[62],i}return C[63]!==p||C[64]!==W||C[65]!==R||C[66]!==E||C[67]!==k||C[68]!==z||C[69]!==G?(A=(0,t.jsxs)(o.default,{className:z,...k,...E,href:R,children:[G,p,W]}),C[63]=p,C[64]=W,C[65]=R,C[66]=E,C[67]=k,C[68]=z,C[69]=G,C[70]=A):A=C[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}])},463522,e=>{"use strict";e.s(["isValidDate",0,function(e){return!Number.isNaN(e.getTime())},"oneDayMS",0,864e5,"oneHourSeconds",0,3600,"oneMinuteMS",0,6e4,"oneMonthMS",0,2592e6,"oneWeekMS",0,6048e5,"parseClickhouseTimestampUTC",0,function(e){if(!e)return new Date(NaN);let t=e.replace(" ","T");return new Date(/[zZ]$|[+-]\d{2}:\d{2}$/.test(t)?t:`${t}Z`)},"safeParseDate",0,function(e,t){if(!e)return t;if(e instanceof Date)return Number.isNaN(e.getTime())?t:e;if("string"==typeof e||"number"==typeof e){let t=new Date(e);if(!Number.isNaN(t.getTime()))return t}return t},"startOfUTCMonth",0,function(e,t=0){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+t,1))},"toDateString",0,e=>e.toISOString().split("T")[0]])},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])},408784,e=>{"use strict";var t=e.i(988855),r=e.i(704355);e.s(["compareCanonicalText",0,function(e,i){return(0,t.compareDisplayText)(e,i,{locale:r.DEFAULT_LOCALE})}])}]); //# sourceMappingURL=1za4pj04v6k-a.js.map //# chunkId=01a0a104-2b08-7ff0-ac92-5d74a10c68a8