!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-6c56-7b43-a6d3-1576cf11ebcb")}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),o=e.i(188363),n=e.i(687421),a=e.i(678998);function c(e){return e.toLowerCase()}let l=new Map([[c(n.ProviderName.OpenAI),{url:(0,a.getLocalIconUri)("OpenAI.svg"),className:"dark:invert"}],[c(n.ProviderName.Perplexity),{url:(0,a.getLocalIconUri)("Perplexity.png")}],[c(n.ProviderName.Poolside),{url:(0,a.getLocalIconUri)("poolside-logomark-solid-color.svg")}],[c(n.ProviderName.Perceptron),{url:(0,a.getFaviconUrl)("https://www.perceptron.inc")}],["voyageai",{url:(0,a.getFaviconUrl)("https://www.voyageai.com")}],[c(n.ProviderName.GoogleAIStudio),{url:(0,a.getLocalIconUri)("GoogleAIStudio.svg")}],[c(n.ProviderName.Anthropic),{url:(0,a.getLocalIconUri)("Anthropic.svg")}],[c(n.ProviderName.ClaudeOnAws),{url:(0,a.getLocalIconUri)("Anthropic.svg")}],[c(n.ProviderName.Cohere),{url:(0,a.getLocalIconUri)("Cohere.png")}],[c(n.ProviderName.Deepgram),{url:(0,a.getLocalIconUri)("Deepgram.svg"),className:"dark:invert"}],[c(n.ProviderName.DeepSeek),{url:(0,a.getLocalIconUri)("DeepSeek.png")}],[c(n.ProviderName.Together),{url:(0,a.getFaviconUrl)("https://www.together.ai/")}],[c(n.ProviderName.Infermatic),{url:(0,a.getFaviconUrl)("https://infermatic.ai/")}],[c(n.ProviderName.HuggingFace),{url:(0,a.getFaviconUrl)("https://huggingface.co/")}],[c(n.ProviderName.AI21),{url:(0,a.getFaviconUrl)("https://ai21.com/")}],[c(n.ProviderName.Featherless),{url:(0,a.getFaviconUrl)("https://featherless.ai/")}],[c(n.ProviderName.Reflection),{url:(0,a.getFaviconUrl)("https://railway.app/")}],[c(n.ProviderName.Inflection),{url:(0,a.getFaviconUrl)("https://inflection.ai/")}],[c(n.ProviderName.Minimax),{url:(0,a.getFaviconUrl)("https://minimaxi.com/")}],[c(n.ProviderName.Liquid),{url:(0,a.getFaviconUrl)("https://www.liquid.ai/"),className:"dark:invert"}],[c(n.ProviderName.Inception),{url:(0,a.getLocalIconUri)("Inception.svg"),className:"dark:invert"}],[c(n.ProviderName.Relace),{url:(0,a.getFaviconUrl)("https://www.relace.ai")}],[c(n.ProviderName.Sourceful),{url:(0,a.getFaviconUrl)("https://www.sourceful.com/")}],[c(n.ProviderName.BytePlus),{url:(0,a.getFaviconUrl)("https://www.byteplus.com")}],[c(n.ProviderName.Xiaomi),{url:(0,a.getFaviconUrl)("https://www.mi.com")}],["arcee-ai",{url:(0,a.getFaviconUrl)("https://www.arcee.ai")}],["fish-audio",{url:(0,a.getFaviconUrl)("https://fish.audio/")}],["z-ai",{url:(0,a.getFaviconUrl)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,a.getLocalIconUri)("MoonshotAI.png")}],["morph",{url:(0,a.getFaviconUrl)("https://morphllm.com")}],["qwen",{url:(0,a.getLocalIconUri)("Qwen.png")}],["google",{url:(0,a.getLocalIconUri)("GoogleGemini.svg")}],["microsoft",{url:(0,a.getLocalIconUri)("Microsoft.svg")}],["nousresearch",{url:(0,a.getFaviconUrl)("https://nousresearch.com/")}],["nvidia",{url:(0,a.getFaviconUrl)("https://nvidia.com/")}],["meta-llama",{url:(0,a.getLocalIconUri)("Meta.png")}],["meta",{url:(0,a.getLocalIconUri)("Meta.png")}],["databricks",{url:(0,a.getFaviconUrl)("https://databricks.com/")}],["openrouter",{url:(0,a.getLocalIconUri)("openrouter-glyph-light.svg"),darkUrl:(0,a.getLocalIconUri)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,a.getLocalIconUri)("Mistral.png")}],["x-ai",{url:(0,a.getFaviconUrl)("https://x.ai/")}],["amazon",{url:(0,a.getFaviconUrl)("https://nova.amazon.com/")}],["aion-labs",{url:(0,a.getFaviconUrl)("https://www.aionlabs.ai/")}],["allenai",{url:(0,a.getFaviconUrl)("https://allenai.org/")}],["switchpoint",{url:(0,a.getFaviconUrl)("https://switchpoint.dev/")}],["thedrummer",{url:(0,a.getLocalIconUri)("TheDrummer.png")}],["deepcogito",{url:(0,a.getFaviconUrl)("https://www.deepcogito.com/")}],["baidu",{url:(0,a.getFaviconUrl)("https://www.baidu.com/")}],["kwaipilot",{url:(0,a.getLocalIconUri)("Kwaipilot.png")}],["kwaivgi",{url:(0,a.getLocalIconUri)("KlingAI.png")}],["black-forest-labs",{url:(0,a.getFaviconUrl)("https://bfl.ai")}],["prime-intellect",{url:(0,a.getFaviconUrl)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,a.getFaviconUrl)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,a.getFaviconUrl)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,a.getFaviconUrl)("https://seed.bytedance.com/")}],[c(n.ProviderName.Seed),{url:(0,a.getFaviconUrl)("https://seed.bytedance.com/")}],["writer",{url:(0,a.getFaviconUrl)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,a.getFaviconUrl)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,a.getFaviconUrl)("https://platform.stepfun.ai/")}],[c(n.ProviderName.Recraft),{url:(0,a.getLocalIconUri)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,a.getFaviconUrl)("https://seed.bytedance.com/")}],["alibaba",{url:(0,a.getFaviconUrl)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,a.getFaviconUrl)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,a.getLocalIconUri)("Tencent.png")}],["ibm-granite",{url:(0,a.getLocalIconUri)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,a.getLocalIconUri)("NexAGI.svg"),className:"dark:invert"}],["thinkingmachines",{url:(0,a.getFaviconUrl)("https://thinkingmachines.ai/")}],["sakana",{url:(0,a.getFaviconUrl)("https://sakana.ai")}],[c(n.ProviderName.HeyGen),{url:(0,a.getFaviconUrl)("https://heygen.com")}],["zyphra",{url:(0,a.getLocalIconUri)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,a.getFaviconUrl)("https://www.sesame.com")}],["canopylabs",{url:(0,a.getFaviconUrl)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,a.getLocalIconUri)("Hexgrad.png")}],[c(n.ProviderName.Krea),{url:(0,a.getFaviconUrl)("https://www.krea.ai")}],[c(n.ProviderName.Runway),{url:(0,a.getFaviconUrl)("https://runwayml.com")}],[c(n.ProviderName.Upstage),{url:(0,a.getFaviconUrl)("https://www.upstage.ai/")}],["stealth",{url:(0,a.getLocalIconUri)("Stealth.svg"),className:"invert-0 dark:invert"}]]),s=new Map([["microsoft/mai-",{url:(0,a.getLocalIconUri)("MAI.png")}]]),m=/^\/(?![/\\])/u,u=/^data:image\//iu;function d(e,t){var r;let i=l.get(e.toLowerCase());return t&&(!t.startsWith("data:")||u.test(t))?(r=i?.className,m.test(t)||u.test(t)?{url:t}:t.startsWith("//")?{url:(0,a.getFaviconUrl)(`https:${t}`)}:t.startsWith("http")?{url:(0,a.getFaviconUrl)(t)}:{url:(0,a.getLocalIconUri)(t),className:r}):i??{url:a.HUGGING_FACE_FAVICON_URL}}function h({permaslug:e,author:t,iconUri:r}){let i=e.toLowerCase().replace(/^~/,"");for(let[e,t]of s)if(i.startsWith(e))return t;return d(t,r)}e.s(["getAuthorIconInfo",0,d,"getModelAuthorIconInfo",0,h],630056);var g=e.i(837556);e.s(["AuthorIcon",0,function(e){let n,a,c,l,s,m,u,p=(0,r.c)(25),{author:f,permaslug:v,iconUri:y,className:w,frame:U,frameRingClassName:F,bare:N}=e,k=void 0!==U&&U,b=void 0!==N&&N;if(p[0]!==f||p[1]!==b||p[2]!==w||p[3]!==k||p[4]!==F||p[5]!==y||p[6]!==v){s=Symbol.for("react.early_return_sentinel");e:{if(a=void 0===v?d(f,y):h({permaslug:v,author:f,iconUri:y}),b){let e;p[12]!==w?(e=(0,i.cn)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",w),p[12]=w,p[13]=e):e=p[13],s=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(o.RemoteFavicon,{className:(0,i.cn)("size-full overflow-hidden",a?.className),faviconFor:f,imgSrc:a.url,imgSrcDark:a.darkUrl,size:256})});break e}if(k){s=(0,t.jsx)(g.IconFrame,{className:w,ringClassName:F,children:(0,t.jsx)(o.RemoteFavicon,{className:(0,i.cn)("size-full",a?.className),faviconFor:f,imgSrc:a.url,imgSrcDark:a.darkUrl,size:256})});break e}p[14]!==w?(l=(0,i.cn)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",w),p[14]=w,p[15]=l):l=p[15],n=o.RemoteFavicon,c=(0,i.cn)("overflow-hidden rounded-full",a?.className)}p[0]=f,p[1]=b,p[2]=w,p[3]=k,p[4]=F,p[5]=y,p[6]=v,p[7]=n,p[8]=a,p[9]=c,p[10]=l,p[11]=s}else n=p[7],a=p[8],c=p[9],l=p[10],s=p[11];return s!==Symbol.for("react.early_return_sentinel")?s:(p[16]!==n||p[17]!==f||p[18]!==a.darkUrl||p[19]!==a.url||p[20]!==c?(m=(0,t.jsx)(n,{className:c,faviconFor:f,imgSrc:a.url,imgSrcDark:a.darkUrl,size:256}),p[16]=n,p[17]=f,p[18]=a.darkUrl,p[19]=a.url,p[20]=c,p[21]=m):m=p[21],p[22]!==l||p[23]!==m?(u=(0,t.jsx)("div",{className:l,children:m}),p[22]=l,p[23]=m,p[24]=u):u=p[24],u)}],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 o,n,a,c,l,s,m=(0,r.c)(15),{children:u,className:d,variant:h,decorative:g,ringClassName:p}=e,f=void 0!==g&&g||void 0;m[0]!==d?(o=(0,i.cn)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",d),m[0]=d,m[1]=o):o=m[1],m[2]===Symbol.for("react.memo_cache_sentinel")?(n=(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"),m[2]=n):n=m[2],m[3]!==u?(a=(0,t.jsx)("div",{className:n,children:u}),m[3]=u,m[4]=a):a=m[4];let v="app"===(void 0===h?"default":h)&&"dark:inset-px dark:ring-white";return m[5]!==p||m[6]!==v?(c=(0,i.cn)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",v,p),m[5]=p,m[6]=v,m[7]=c):c=m[7],m[8]!==c?(l=(0,t.jsx)("div",{"aria-hidden":!0,className:c}),m[8]=c,m[9]=l):l=m[9],m[10]!==f||m[11]!==o||m[12]!==a||m[13]!==l?(s=(0,t.jsxs)("div",{"aria-hidden":f,className:o,children:[a,l]}),m[10]=f,m[11]=o,m[12]=a,m[13]=l,m[14]=s):s=m[14],s}])},188363,e=>{"use strict";var t=e.i(222666),r=e.i(505962),i=e.i(948992),o=e.i(678998),n=e.i(270401);let a=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i;e.s(["RemoteFavicon",0,function(e){let c,l,s,m,u,d,h,g,p,f,v,y,w=(0,r.c)(51),[U,F]=(0,n.useState)(null),[N,k]=(0,n.useState)(null),[b,S]=(0,n.useState)(!1),[I,$]=(0,n.useState)(!1),P=e.size||256,x=e.hasCuratedFaviconUrl??!1;w[0]!==b||w[1]!==I||w[2]!==e.faviconFor||w[3]!==e.imgSrc||w[4]!==P||w[5]!==x?(c=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:i,hasCuratedFaviconUrl:n,imgSrc:c}){if(c)return{source:"given",src:c};if(n&&(e=>{try{let{pathname:t}=new URL(e);return a.test(t)}catch{return!1}})(e)&&!r)return{source:"curated",src:(0,o.getCdnImageUrl)(e)};let l=i?(0,o.getParentSiteUrl)(e):null;return null!==l?{source:"parent-site",src:(0,o.getFaviconUrl)(l,t)}:{source:"site",src:(0,o.getFaviconUrl)(e,t)}}({faviconFor:e.faviconFor,size:P,didCuratedIconFail:b,didSiteIconFail:I,hasCuratedFaviconUrl:x,imgSrc:e.imgSrc}),w[0]=b,w[1]=I,w[2]=e.faviconFor,w[3]=e.imgSrc,w[4]=P,w[5]=x,w[6]=c):c=w[6];let{source:L,src:C}=c;w[7]!==e.faviconFor||w[8]!==P||w[9]!==L?(l=t=>{"site"!==L||P<=16||t>16||null!==(0,o.getParentSiteUrl)(e.faviconFor)&&$(!0)},w[7]=e.faviconFor,w[8]=P,w[9]=L,w[10]=l):l=w[10];let R=l;w[11]!==e.faviconFor||w[12]!==L?(s=t=>{switch(L){case"curated":if((0,o.isOpenRouterHostedUrl)(e.faviconFor))return void F(t);S(!0);return;case"site":if(null===(0,o.getParentSiteUrl)(e.faviconFor))return void F(t);$(!0);return;case"given":case"parent-site":return void F(t);default:F(t)}},w[11]=e.faviconFor,w[12]=L,w[13]=s):s=w[13];let j=s;w[14]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{F(null)},w[14]=m):m=w[14],w[15]!==C?(u=[C],w[15]=C,w[16]=u):u=w[16],(0,n.useEffect)(m,u),w[17]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{S(!1),$(!1)},w[17]=d):d=w[17],w[18]!==e.faviconFor||w[19]!==e.imgSrc||w[20]!==P?(h=[e.faviconFor,e.imgSrc,P],w[18]=e.faviconFor,w[19]=e.imgSrc,w[20]=P,w[21]=h):h=w[21],(0,n.useEffect)(d,h),w[22]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{k(null)},w[22]=g):g=w[22],w[23]!==e.imgSrcDark?(p=[e.imgSrcDark],w[23]=e.imgSrcDark,w[24]=p):p=w[24],(0,n.useEffect)(g,p);let O=`Favicon for ${e.faviconFor}`;w[25]!==P||w[26]!==O?(f={width:P,height:P,alt:O,className:"h-full w-full object-cover"},w[25]=P,w[26]=O,w[27]=f):f=w[27];let T=f;if(e.imgSrcDark){let r,o,n;return w[28]!==U||w[29]!==T||w[30]!==j||w[31]!==R||w[32]!==C?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:U?(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",{...T,src:C,onError:e=>j(e.toString()),onLoad:e=>R(e.currentTarget.naturalWidth)})}),w[28]=U,w[29]=T,w[30]=j,w[31]=R,w[32]=C,w[33]=r):r=w[33],w[34]!==N||w[35]!==T||w[36]!==e.imgSrcDark?(o=(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",{...T,src:e.imgSrcDark,onError:e=>k(e.toString())})}),w[34]=N,w[35]=T,w[36]=e.imgSrcDark,w[37]=o):o=w[37],w[38]!==e.className||w[39]!==r||w[40]!==o?(n=(0,t.jsxs)("div",{className:e.className,children:[r,o]}),w[38]=e.className,w[39]=r,w[40]=o,w[41]=n):n=w[41],n}return w[42]!==U||w[43]!==T||w[44]!==j||w[45]!==R||w[46]!==C?(v=U?(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",{...T,src:C,loading:"lazy",decoding:"async",onError:e=>j(e.toString()),onLoad:e=>R(e.currentTarget.naturalWidth)})}),w[42]=U,w[43]=T,w[44]=j,w[45]=R,w[46]=C,w[47]=v):v=w[47],w[48]!==e.className||w[49]!==v?(y=(0,t.jsx)("div",{className:e.className,children:v}),w[48]=e.className,w[49]=v,w[50]=y):y=w[50],y}])},379684,e=>{"use strict";var t=e.i(222666),r=e.i(505962),i=e.i(734293),o=e.i(452473),n=e.i(654847),a=e.i(191379),c=e.i(551365),l=e.i(971531),s=e.i(639580),m=e.i(664288);let u="text-foreground underline underline-offset-2 decoration-current/40 hover:text-accent-foreground hover:decoration-current transition-colors";e.s(["LINK_CLASSES",0,u,"TextLink",0,function(e){let d,h,g,p,f,v,y,w,U,F,N,k,b,S,I,$,P,x,L,C,R,j,O=(0,r.c)(71);O[0]!==e?({render:w,children:d,className:h,icon:g,iconPosition:U,showExternalIcon:F,prefetch:N,onFocus:p,onMouseEnter:f,onTouchStart:v,...y}=e,O[0]=e,O[1]=d,O[2]=h,O[3]=g,O[4]=p,O[5]=f,O[6]=v,O[7]=y,O[8]=w,O[9]=U,O[10]=F,O[11]=N):(d=O[1],h=O[2],g=O[3],p=O[4],f=O[5],v=O[6],y=O[7],w=O[8],U=O[9],F=O[10],N=O[11]);let T=void 0===U?"end":U,A=void 0!==F&&F,Z=void 0===N?"hover":N,_=(0,s.useLocalizedHref)(y.href);O[12]!==_?(k=(0,n.getHrefString)(_),O[12]=_,O[13]=k):k=O[13],O[14]!==Z||O[15]!==k?(b={prefetch:Z,href:k},O[14]=Z,O[15]=k,O[16]=b):b=O[16],O[17]!==p||O[18]!==f||O[19]!==v?(S={onFocus:p,onMouseEnter:f,onTouchStart:v},O[17]=p,O[18]=f,O[19]=v,O[20]=S):S=O[20];let D=(0,l.useLinkPrefetch)(b,S);O[21]!==h?(I=(0,o.cn)(u,"text-xs cursor-pointer",h),O[21]=h,O[22]=I):I=O[22];let z=I;O[23]!==g||O[24]!==A?($=g??(A?(0,t.jsx)(a.ArrowUpRight,{className:"inline size-3 align-[-1px]"}):null),O[23]=g,O[24]=A,O[25]=$):$=O[25];let E=$;O[26]!==T||O[27]!==E?(P="start"===T&&E?(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:E}):null,O[26]=T,O[27]=E,O[28]=P):P=O[28];let M=P;O[29]!==T||O[30]!==E?(x="end"===T&&E?(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:E}):null,O[29]=T,O[30]=E,O[31]=x):x=O[31];let G=x,H=(0,n.isCrossZoneHref)(_);O[32]!==d||O[33]!==w?(L=w?(0,m.getChildContent)(w):d,O[32]=d,O[33]=w,O[34]=L):L=O[34];let Y=L;O[35]!==Y||O[36]!==G||O[37]!==_||O[38]!==p||O[39]!==f||O[40]!==v||O[41]!==y||O[42]!==w||O[43]!==z||O[44]!==M?(C=w?{className:z,children:(0,t.jsxs)(t.Fragment,{children:[M,Y,G]}),...y,onFocus:p,onMouseEnter:f,onTouchStart:v,href:_}:{},O[35]=Y,O[36]=G,O[37]=_,O[38]=p,O[39]=f,O[40]=v,O[41]=y,O[42]=w,O[43]=z,O[44]=M,O[45]=C):C=O[45],O[46]!==w||O[47]!==C?(R={render:w,defaultTagName:"a",props:C},O[46]=w,O[47]=C,O[48]=R):R=O[48];let K=(0,i.useRender)(R);if(w){if(H)throw Error(`TextLink: cross-zone href "${(0,n.getHrefString)(_)}" cannot be combined with the render prop. Use a plain element instead.`);return K}if(H){let e,r,i;if(O[49]!==y){let{href:t,replace:r,scroll:i,shallow:o,passHref:n,legacyBehavior:a,locale:c,onNavigate:l,...s}=y;e=s,O[49]=y,O[50]=e}else e=O[50];return O[51]!==_?(r=(0,n.getHrefString)(_),O[51]=_,O[52]=r):r=O[52],O[53]!==e||O[54]!==d||O[55]!==G||O[56]!==p||O[57]!==f||O[58]!==v||O[59]!==z||O[60]!==M||O[61]!==r?(i=(0,t.jsxs)("a",{href:r,className:z,onFocus:p,onMouseEnter:f,onTouchStart:v,...e,children:[M,d,G]}),O[53]=e,O[54]=d,O[55]=G,O[56]=p,O[57]=f,O[58]=v,O[59]=z,O[60]=M,O[61]=r,O[62]=i):i=O[62],i}return O[63]!==d||O[64]!==G||O[65]!==_||O[66]!==D||O[67]!==y||O[68]!==z||O[69]!==M?(j=(0,t.jsxs)(c.default,{className:z,...y,...D,href:_,children:[M,d,G]}),O[63]=d,O[64]=G,O[65]=_,O[66]=D,O[67]=y,O[68]=z,O[69]=M,O[70]=j):j=O[70],j}])},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}])},17591,e=>{"use strict";let t={calendar:"gregory",numberingSystem:"latn"},r={"en-US":{...t,hourCycle:"h12",weekStartsOn:0},"zh-CN":{...t,hourCycle:"h23",weekStartsOn:1},"ru-RU":{...t,hourCycle:"h23",weekStartsOn:1},es:{...t,hourCycle:"h23",weekStartsOn:1},"pt-BR":{...t,hourCycle:"h23",weekStartsOn:0},"de-DE":{...t,hourCycle:"h23",weekStartsOn:1},"fr-FR":{...t,hourCycle:"h23",weekStartsOn:1},"ja-JP":{...t,hourCycle:"h23",weekStartsOn:0},"ko-KR":{...t,hourCycle:"h12",weekStartsOn:0}};e.s(["FORMAT_POLICY",0,r])},180711,e=>{"use strict";var t=e.i(693697),r=e.i(796560);e.s(["calendarDateForInstant",0,function(e,i){let o=(0,r.parseInstant)(e);if((0,t.isErr)(o)||(0,t.isErr)((0,r.parseTimeZone)(i.timeZone)))return;let n=Object.fromEntries(new Intl.DateTimeFormat("en-US",{calendar:"gregory",numberingSystem:"latn",timeZone:i.timeZone,year:"numeric",month:"2-digit",day:"2-digit",era:"short"}).formatToParts(o.data).map(e=>[e.type,e.value]));if("AD"!==n.era||!n.year||!n.month||!n.day)return;let a=(0,r.parseCalendarDate)(`${n.year.padStart(4,"0")}-${n.month}-${n.day}`);return(0,t.isErr)(a)?void 0:a.data}])},230953,e=>{"use strict";var t=e.i(693697),r=e.i(180711),i=e.i(17591);let o={numeric:{year:"numeric",month:"numeric",day:"numeric"},"numeric-day-month":{month:"numeric",day:"numeric"},short:{year:"numeric",month:"2-digit",day:"2-digit"},medium:{year:"numeric",month:"short",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},"month-year":{year:"numeric",month:"long"},"month-year-short":{year:"numeric",month:"short"},month:{month:"long"},"month-short":{month:"short"},"day-month":{month:"short",day:"numeric"},weekday:{weekday:"short"},"weekday-date":{weekday:"short",month:"short",day:"numeric",year:"numeric"},"weekday-long-date":{weekday:"long",month:"long",day:"numeric",year:"numeric"},"weekday-day-month":{weekday:"short",month:"short",day:"numeric"}},n={"table-default":"day-month","table-default-seconds":"day-month","table-compact":"numeric-day-month","table-compact-seconds":"numeric-day-month",long:"long",numeric:"numeric","numeric-seconds":"numeric",zoned:"medium","export-timestamp":"short","medium-short":"medium","cluster-24h":"day-month","medium-numeric-hour":"medium","chart-24h":"day-month","chart-numeric-hour":"day-month","chart-hour-only":"day-month",short:"short",medium:"medium",full:"short",iso:"short","iso-seconds":"short",chart:"day-month"};function a(e){return{...i.FORMAT_POLICY[e.locale],...o[e.preset],timeZone:e.timeZone}}function c(e){return{...i.FORMAT_POLICY[e.locale],timeZone:e.timeZone,hour:["numeric","numeric-seconds","hour-only","compact","compact-seconds","schedule"].includes(e.preset)?"numeric":"2-digit",...["hour","hour-only"].includes(e.preset)?{}:{minute:"2-digit"},...["seconds","numeric-seconds","compact-seconds"].includes(e.preset)?{second:"2-digit"}:{}}}let l=["янв.","февр.","марта","апр.","мая","июня","июля","авг.","сент.","окт.","нояб.","дек."],s=["янв.","февр.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."];function m(e,t,r){let i=a(t);if("ru-RU"!==t.locale||"short"!==i.month)return r.date(i).format(e);let o=Object.fromEntries(r.date(a({...t,preset:"short"})).formatToParts(e).map(e=>[e.type,e.value])),n=l[Number(o.month)-1];if(void 0===n||void 0===o.day||void 0===o.year)return;if("month-short"===t.preset)return s[Number(o.month)-1];if("month-year-short"===t.preset)return`${s[Number(o.month)-1]} ${o.year} г.`;let c=`${Number(o.day)} ${n}`;return void 0===i.year?c:`${c} ${o.year} г.`}let u={"medium-short":{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"},"cluster-24h":{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",hourCycle:"h23"},"table-default":{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"},"table-default-seconds":{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"},"table-compact":{month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit"},"table-compact-seconds":{month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},long:{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"2-digit"},numeric:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit"},"numeric-seconds":{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},"export-timestamp":{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",timeZoneName:"short"},zoned:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",timeZoneName:"short"},"medium-numeric-hour":{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"},"chart-24h":{month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hourCycle:"h23"},"chart-hour-only":{month:"short",day:"numeric",hour:"numeric"},"chart-numeric-hour":{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}};function d(e){return void 0!==e&&/^\d$/u.test(e)}function h(e,t,r){let i=r.date(c(t)).formatToParts(e);if("en-US"!==t.locale)return i.map(({value:e})=>e).join("");let o=Object.fromEntries(i.map(({type:e,value:t})=>[e,t])),n="compact-seconds"===t.preset?`:${o.second}`:"",a=o.dayPeriod??"";return`${o.hour}:${o.minute}${n}${"schedule"===t.preset?a:a.toLowerCase()}`}let g={"en-US":{chart:", ",medium:", ",numeric:", "},"zh-CN":{chart:" ",medium:" ",numeric:" "},"ru-RU":{chart:", ",medium:", ",numeric:", "},es:{chart:", ",medium:", ",numeric:", "},"pt-BR":{chart:", ",medium:", ",numeric:", "},"de-DE":{chart:", ",medium:", ",numeric:", "},"fr-FR":{chart:", ",medium:", ",numeric:" "},"ja-JP":{chart:" ",medium:" ",numeric:" "},"ko-KR":{chart:" ",medium:" ",numeric:" "}};var p=e.i(796560),f=e.i(676885);let v={"en-US":{names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],compose:(e,t)=>`${t}, ${e}`},"zh-CN":{names:["周日","周一","周二","周三","周四","周五","周六"],compose:(e,t)=>`${e}${t}`},"ru-RU":{names:["вс","пн","вт","ср","чт","пт","сб"],compose:(e,t)=>`${t}, ${e}`},es:{names:["dom","lun","mar","mié","jue","vie","sáb"],compose:(e,t)=>`${t}, ${e}`},"pt-BR":{names:["dom.","seg.","ter.","qua.","qui.","sex.","sáb."],compose:(e,t)=>`${t}, ${e}`},"de-DE":{names:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],compose:(e,t)=>`${t}, ${e}`},"fr-FR":{names:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],compose:(e,t)=>`${t} ${e}`},"ja-JP":{names:["日","月","火","水","木","金","土"],compose:(e,t)=>`${e}(${t})`},"ko-KR":{names:["일","월","화","수","목","금","토"],compose:(e,t)=>`${e} (${t})`}};function y(e,i,o){let n=(0,p.parseInstant)(e);if((0,t.isErr)(n)||!o.isTimeZoneValid(i))return;let a=new Date(n.data).getUTCFullYear();return(1===a||9999===a)&&void 0===(0,r.calendarDateForInstant)(n.data,{timeZone:i})?void 0:n.data}function w(e,t,r){var a;let c=Object.fromEntries(r.date((a=t,{...i.FORMAT_POLICY[a.locale],...o[n[a.preset]],timeZone:a.timeZone,hour:"2-digit",minute:"2-digit",..."full"===a.preset||"iso-seconds"===a.preset?{second:"2-digit"}:{},..."iso"===a.preset||"iso-seconds"===a.preset?{hourCycle:"h23"}:{}})).formatToParts(e).map(e=>[e.type,e.value])),l=`${c.year?.padStart(4,"0")}-${c.month}-${c.day}`,s=`${c.hour?.padStart(2,"0")}:${c.minute}`;return`${l} ${s}${"iso-seconds"===t.preset?`:${c.second}`:""}`}function U(e,t,r=(0,f.getFormatRuntime)(t.locale)){let i=y(e,t.timeZone,r);if(void 0!==i)return"weekday"===t.preset||"weekday-date"===t.preset||"weekday-long-date"===t.preset||"weekday-day-month"===t.preset?function(e,t,r){let i,o;if("weekday-long-date"===t.preset){var n=e,c=t,l=r;let i=l.date(a(c)).formatToParts(n).find(e=>"weekday"===e.type)?.value,o=m(n,{...c,preset:"long"},l);return void 0!==i&&void 0!==o?"zh-CN"===c.locale||"ja-JP"===c.locale||"ko-KR"===c.locale?`${o} ${i}`:"fr-FR"===c.locale?`${i} ${o}`:`${i}, ${o}`:void 0}let s=v[t.locale],u=s.names[i=Object.fromEntries(r.date(a({...t,preset:"short"})).formatToParts(e).map(e=>[e.type,e.value])),(o=new Date(0)).setUTCFullYear(Number(i.year),Number(i.month)-1,Number(i.day)),o.getUTCDay()];if(void 0===u)return;if("weekday"===t.preset)return u;let d="weekday-date"===t.preset?"medium":"day-month",h=m(e,{...t,preset:d},r);return void 0===h?void 0:s.compose(h,u)}(i,t,r):m(i,t,r)}function F(e,t,r=(0,f.getFormatRuntime)(t.locale)){let o=y(e,t.timeZone,r);if(void 0!==o){if("iso"===t.preset||"iso-seconds"===t.preset)return w(o,t,r);if(Object.hasOwn(u,t.preset))return function e(t,r,o){if("cluster-24h"===r.preset){if("ru-RU"===r.locale)return e(t,{...r,preset:"chart-24h"},o);let n=o.date({...i.FORMAT_POLICY[r.locale],timeZone:r.timeZone,month:"short",day:"numeric"}).format(t),a=o.date({...i.FORMAT_POLICY[r.locale],timeZone:r.timeZone,hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(t);return`${n}, ${a}`}if("medium-short"===r.preset){if("ru-RU"===r.locale)return e(t,{...r,preset:"medium-numeric-hour"},o);let n=o.date({...i.FORMAT_POLICY[r.locale],timeZone:r.timeZone,dateStyle:"medium",timeStyle:"short"}).format(t);return"en-US"===r.locale||"fr-FR"===r.locale?n.replace(/ (?:at|à) (?=\d{1,2}:)/,", "):n}if("table-compact"===r.preset||"table-compact-seconds"===r.preset){let e=o.date(a({...r,preset:"numeric-day-month"})).format(t),i=h(t,{...r,preset:"table-compact"===r.preset?"compact":"compact-seconds"},o);return`${e} ${i}`}let n=o.date({...i.FORMAT_POLICY[r.locale],...u[r.preset],timeZone:r.timeZone}),c="chart-hour-only"===r.preset?function(e,t){let r=e.format(t),i=e.formatToParts(t).find(e=>"hour"===e.type)?.value;if(!i||!/^0\d$/u.test(i))return r;let o=function(e,t){let r=e.indexOf(t);for(;-1!==r;){let i=e[r-1],o=e[r+t.length];if(!d(i)&&!d(o))return r;r=e.indexOf(t,r+1)}return -1}(r,i);return -1===o?r:`${r.slice(0,o)}${i.slice(1)}${r.slice(o+i.length)}`}(n,t):n.format(t);if("es"===r.locale)return c.replace(/ a las (?=\d{1,2}:)/,", ");if("short"!==u[r.preset].month)return c;if("ru-RU"===r.locale){let e=n.formatToParts(t).find(e=>"month"===e.type)?.value,i=l[Number(o.date({timeZone:r.timeZone,month:"numeric"}).formatToParts(t).find(e=>"month"===e.type)?.value)-1];return e&&i?c.replace(e,i):c}return c}(o,{...t,preset:t.preset},r);let e=m(o,{...t,preset:n[t.preset]},r);if(void 0===e)return;let s="full"===t.preset?"seconds":"short",p="chart"===t.preset||"medium"===t.preset?t.preset:"numeric",f=r.date(c({...t,preset:s})).format(o);return`${e}${g[t.locale][p]}${f}`}}e.s(["formatCalendarDate",0,function(e,r,i=(0,f.getFormatRuntime)(r.locale)){let o=(0,p.parseCalendarDate)(e);if(!(0,t.isErr)(o))return U(`${o.data}T00:00:00Z`,{...r,timeZone:"UTC"},i)},"formatDate",0,U,"formatDateRange",0,function(e,t,r=(0,f.getFormatRuntime)(t.locale)){let i=y(e.from,t.timeZone,r),o=y(e.to,t.timeZone,r);if(void 0===i||void 0===o||o"timeZoneName"===e.type)?.value}],230953)},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"]),o=e=>{try{let t=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===t||t.endsWith(".openrouter.ai")}catch{return!1}},n=t("https://huggingface.co/");e.s(["HUGGING_FACE_FAVICON_URL",0,n,"getCdnImageUrl",0,e=>o(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 o=t.split(".").slice(1);if(o.length<2||2===o.length&&2===(o[1]??"").length&&r.has(o[0]??""))return null;let n=o.join(".");return[...i].some(e=>n===e||n.endsWith(`.${e}`))?null:`https://${n}`},"isOpenRouterHostedUrl",0,o])}]); //# sourceMappingURL=0xjp4z3m6lbjs.js.map //# chunkId=01a09e9c-6c56-7b43-a6d3-1576cf11ebcb