(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,962363,e=>{"use strict";var r=e.i(651681);let l={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};l.node;let t=(0,r.f)(l);e.s(["f",0,t])},934416,e=>{"use strict";var r=e.i(962363);e.s(["f",()=>r.f])},894868,e=>{"use strict";var r=e.i(659350),l=e.i(663456),t=e.i(136562),a=e.i(829622),s=e.i(722841),i=e.i(987457);e.s(["f",0,function(e){let n,c,o,u,d,m,h,f=(0,l.c)(25),{author:p,permaslug:g,iconUri:v,className:x,frame:w,frameRingClassName:b,bare:_}=e,N=void 0!==w&&w,k=void 0!==_&&_;if(f[0]!==p||f[1]!==k||f[2]!==x||f[3]!==N||f[4]!==b||f[5]!==v||f[6]!==g){d=Symbol.for("react.early_return_sentinel");e:{if(c=null==g?(0,s.$)(p,v):(0,s.h)({permaslug:g,author:p,iconUri:v}),k){let e;f[12]!==x?(e=(0,t.f)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",x),f[12]=x,f[13]=e):e=f[13],d=(0,r.jsx)("div",{className:e,children:(0,r.jsx)(a.RemoteFavicon,{className:(0,t.f)("size-full overflow-hidden",c?.className),faviconFor:p,imgSrc:c.url,imgSrcDark:c.darkUrl,size:256})});break e}if(N){d=(0,r.jsx)(i.f,{className:x,ringClassName:b,children:(0,r.jsx)(a.RemoteFavicon,{className:(0,t.f)("size-full",c?.className),faviconFor:p,imgSrc:c.url,imgSrcDark:c.darkUrl,size:256})});break e}f[14]!==x?(u=(0,t.f)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",x),f[14]=x,f[15]=u):u=f[15],n=a.RemoteFavicon,o=(0,t.f)("overflow-hidden rounded-full",c?.className)}f[0]=p,f[1]=k,f[2]=x,f[3]=N,f[4]=b,f[5]=v,f[6]=g,f[7]=n,f[8]=c,f[9]=o,f[10]=u,f[11]=d}else n=f[7],c=f[8],o=f[9],u=f[10],d=f[11];return d!==Symbol.for("react.early_return_sentinel")?d:(f[16]!==n||f[17]!==p||f[18]!==c.darkUrl||f[19]!==c.url||f[20]!==o?(m=(0,r.jsx)(n,{className:o,faviconFor:p,imgSrc:c.url,imgSrcDark:c.darkUrl,size:256}),f[16]=n,f[17]=p,f[18]=c.darkUrl,f[19]=c.url,f[20]=o,f[21]=m):m=f[21],f[22]!==u||f[23]!==m?(h=(0,r.jsx)("div",{className:u,children:m}),f[22]=u,f[23]=m,f[24]=h):h=f[24],h)}])},987457,e=>{"use strict";var r=e.i(659350),l=e.i(663456),t=e.i(136562);e.s(["f",0,function(e){let a,s,i,n,c,o,u=(0,l.c)(15),{children:d,className:m,variant:h,decorative:f,ringClassName:p}=e,g=void 0!==f&&f||void 0;u[0]!==m?(a=(0,t.f)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",m),u[0]=m,u[1]=a):a=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.f)("absolute inset-px flex items-center justify-center","[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-contain","[&_img]:rounded-sm"),u[2]=s):s=u[2],u[3]!==d?(i=(0,r.jsx)("div",{className:s,children:d}),u[3]=d,u[4]=i):i=u[4];let v="app"===(void 0===h?"default":h)&&"dark:inset-px dark:ring-white";return u[5]!==p||u[6]!==v?(n=(0,t.f)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",v,p),u[5]=p,u[6]=v,u[7]=n):n=u[7],u[8]!==n?(c=(0,r.jsx)("div",{"aria-hidden":!0,className:n}),u[8]=n,u[9]=c):c=u[9],u[10]!==g||u[11]!==a||u[12]!==i||u[13]!==c?(o=(0,r.jsxs)("div",{"aria-hidden":g,className:a,children:[i,c]}),u[10]=g,u[11]=a,u[12]=i,u[13]=c,u[14]=o):o=u[14],o}])},722841,e=>{"use strict";var r=e.i(51365);let l=[["microsoft/mai-",(0,r.r)("MAI.png")]];var t=e.i(771271);function a(e){return e.toLowerCase()}let s=new Map([[a(t.R.OpenAI),{url:(0,r.r)("OpenAI.svg"),className:"dark:invert"}],[a(t.R.Perplexity),{url:(0,r.r)("Perplexity.png")}],[a(t.R.Poolside),{url:(0,r.r)("poolside-logomark-solid-color.svg")}],[a(t.R.Perceptron),{url:(0,r.e)("https://www.perceptron.inc")}],["voyageai",{url:(0,r.e)("https://www.voyageai.com")}],[a(t.R.GoogleAIStudio),{url:(0,r.r)("GoogleAIStudio.svg")}],[a(t.R.Anthropic),{url:(0,r.r)("Anthropic.svg")}],[a(t.R.ClaudeOnAws),{url:(0,r.r)("Anthropic.svg")}],[a(t.R.Cohere),{url:(0,r.r)("Cohere.png")}],[a(t.R.Deepgram),{url:(0,r.r)("Deepgram.svg"),className:"dark:invert"}],[a(t.R.DeepSeek),{url:(0,r.r)("DeepSeek.png")}],[a(t.R.Together),{url:(0,r.e)("https://www.together.ai/")}],[a(t.R.Infermatic),{url:(0,r.e)("https://infermatic.ai/")}],[a(t.R.HuggingFace),{url:(0,r.e)("https://huggingface.co/")}],[a(t.R.Unbiased),{url:(0,r.r)("Unbiased.png")}],[a(t.R.AI21),{url:(0,r.e)("https://ai21.com/")}],[a(t.R.Featherless),{url:(0,r.e)("https://featherless.ai/")}],[a(t.R.Reflection),{url:(0,r.e)("https://railway.app/")}],[a(t.R.Inflection),{url:(0,r.e)("https://inflection.ai/")}],[a(t.R.Minimax),{url:(0,r.e)("https://minimaxi.com/")}],[a(t.R.Liquid),{url:(0,r.r)("Liquid.png"),className:"dark:invert"}],[a(t.R.Inception),{url:(0,r.r)("Inception.svg"),className:"dark:invert"}],[a(t.R.Relace),{url:(0,r.e)("https://www.relace.ai")}],[a(t.R.Sourceful),{url:(0,r.e)("https://www.sourceful.com/")}],[a(t.R.Speechify),{url:(0,r.e)("https://speechify.ai/")}],[a(t.R.BytePlus),{url:(0,r.e)("https://www.byteplus.com")}],[a(t.R.Xiaomi),{url:(0,r.e)("https://www.mi.com")}],["arcee-ai",{url:(0,r.e)("https://www.arcee.ai")}],[a(t.R.AssemblyAI),{url:(0,r.e)("https://www.assemblyai.com/")}],["fish-audio",{url:(0,r.e)("https://fish.audio/")}],[a(t.R.ElevenLabs),{url:(0,r.e)("https://elevenlabs.io/"),className:"dark:invert"}],["z-ai",{url:(0,r.e)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,r.r)("MoonshotAI.png")}],["morph",{url:(0,r.e)("https://morphllm.com")}],[a(t.R.TypeSafe),{url:(0,r.e)("https://typesafe.ai")}],["qwen",{url:(0,r.r)("Qwen.png")}],["google",{url:(0,r.r)("GoogleGemini.svg")}],["microsoft",{url:(0,r.r)("Microsoft.svg")}],["nousresearch",{url:(0,r.e)("https://nousresearch.com/")}],["nvidia",{url:(0,r.e)("https://nvidia.com/")}],["meta-llama",{url:(0,r.r)("Meta.png")}],["meta",{url:(0,r.r)("Meta.png")}],["databricks",{url:(0,r.e)("https://databricks.com/")}],["openrouter",{url:(0,r.r)("openrouter-glyph-light.svg"),darkUrl:(0,r.r)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,r.r)("Mistral.png")}],["x-ai",{url:(0,r.e)("https://x.ai/")}],["amazon",{url:(0,r.e)("https://nova.amazon.com/")}],["aion-labs",{url:(0,r.e)("https://www.aionlabs.ai/")}],["allenai",{url:(0,r.e)("https://allenai.org/")}],["switchpoint",{url:(0,r.e)("https://switchpoint.dev/")}],["thedrummer",{url:(0,r.r)("TheDrummer.png")}],["deepcogito",{url:(0,r.e)("https://www.deepcogito.com/")}],["baidu",{url:(0,r.e)("https://www.baidu.com/")}],["kwaipilot",{url:(0,r.r)("Kwaipilot.png")}],["kwaivgi",{url:(0,r.r)("KlingAI.png")}],["black-forest-labs",{url:(0,r.e)("https://bfl.ai")}],["prime-intellect",{url:(0,r.e)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,r.e)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,r.e)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,r.e)("https://seed.bytedance.com/")}],[a(t.R.Seed),{url:(0,r.e)("https://seed.bytedance.com/")}],["writer",{url:(0,r.e)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,r.e)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,r.e)("https://platform.stepfun.ai/")}],[a(t.R.Recraft),{url:(0,r.r)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,r.e)("https://seed.bytedance.com/")}],["alibaba",{url:(0,r.e)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,r.e)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,r.r)("Tencent.png")}],["ibm-granite",{url:(0,r.r)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,r.r)("NexAGI.svg"),className:"dark:invert"}],[a(t.R.Unbiased),{url:(0,r.r)("Unbiased.png")}],["apodex",{url:(0,r.r)("Apodex.svg"),darkUrl:(0,r.r)("Apodex-dark.svg")}],["elorian",{url:(0,r.r)("Elorian.svg"),darkUrl:(0,r.r)("Elorian-dark.svg")}],["xingchen-agi",{url:(0,r.r)("XingChen-Shield.png")}],["prism-ml",{url:(0,r.r)("PrismML.svg"),darkUrl:(0,r.r)("PrismML-dark.svg")}],["thinkingmachines",{url:(0,r.e)("https://thinkingmachines.ai/")}],["sakana",{url:(0,r.e)("https://sakana.ai")}],[a(t.R.HeyGen),{url:(0,r.e)("https://heygen.com")}],["zyphra",{url:(0,r.r)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,r.e)("https://www.sesame.com")}],["canopylabs",{url:(0,r.e)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,r.r)("Hexgrad.png")}],[a(t.R.Krea),{url:(0,r.e)("https://www.krea.ai")}],[a(t.R.Runway),{url:(0,r.e)("https://runwayml.com")}],[a(t.R.Upstage),{url:(0,r.e)("https://www.upstage.ai/")}],[a(t.R.Fireworks),{url:(0,r.e)("https://fireworks.ai")}],["stealth",{url:(0,r.r)("Stealth.svg"),className:"invert-0 dark:invert"}],[a(t.R.Recursive),{url:(0,r.r)("Recursive.svg"),className:"dark:invert"}],["ricursiveai",{url:(0,r.r)("RicursiveAI.svg"),darkUrl:(0,r.r)("RicursiveAI-dark.svg")}]]),i=/^\/(?![/\\])/u,n=/^data:image\//iu;function c(e,l){var t;let a=s.get(e.toLowerCase());return l&&(!l.startsWith("data:")||n.test(l))?(t=a?.className,i.test(l)||n.test(l)?{url:l}:l.startsWith("//")?{url:(0,r.e)(`https:${l}`)}:l.startsWith("http")?{url:(0,r.e)(l)}:{url:(0,r.r)(l),className:t}):a??{url:r.t}}e.s(["$",0,c,"h",0,function({permaslug:e,author:r,iconUri:t}){let a,s=(a=e.toLowerCase().replace(/^~/u,""),l.find(([e])=>a.startsWith(e))?.[1]??null);return null!==s?{url:s}:c(r,t)}],722841)},829622,e=>{"use strict";var r=e.i(659350),l=e.i(663456),t=e.i(214051),a=e.i(51365),s=e.i(288265),i=e.i(16043);e.s(["RemoteFavicon",0,function(e){let n,c,o,u,d,m,h,f,p,g,v,x,w,b=(0,l.c)(55),_=(0,s.f)(),[N,k]=(0,i.useState)(null),[j,y]=(0,i.useState)(null),[S,R]=(0,i.useState)(!1),[I,A]=(0,i.useState)(!1),C=e.size||256;b[0]!==S||b[1]!==I||b[2]!==e.curatedIconAppId||b[3]!==e.faviconFor||b[4]!==e.imgSrc||b[5]!==C?(n=function({faviconFor:e,size:r,didCuratedIconFail:l,didSiteIconFail:t,curatedIconAppId:s,imgSrc:i}){if(i)return{source:"given",src:i};if(void 0!==s&&(0,a.Q)(e)&&!l)return{source:"curated",src:(0,a.$)(e)?e:(0,a.g)(s)};let n=t?(0,a.Z)(e):null;return null!==n?{source:"parent-site",src:(0,a.e)(n,r)}:{source:"site",src:(0,a.e)(e,r)}}({faviconFor:e.faviconFor,size:C,didCuratedIconFail:S,didSiteIconFail:I,curatedIconAppId:e.curatedIconAppId,imgSrc:e.imgSrc}),b[0]=S,b[1]=I,b[2]=e.curatedIconAppId,b[3]=e.faviconFor,b[4]=e.imgSrc,b[5]=C,b[6]=n):n=b[6];let{source:F,src:L}=n;b[7]!==e.faviconFor||b[8]!==C||b[9]!==F?(c=r=>{"site"!==F||C<=16||r>16||null!==(0,a.Z)(e.faviconFor)&&A(!0)},b[7]=e.faviconFor,b[8]=C,b[9]=F,b[10]=c):c=b[10];let z=c;b[11]!==e.faviconFor||b[12]!==F?(o=r=>{switch(F){case"curated":if((0,a.$)(e.faviconFor))return void k(r);R(!0);return;case"site":if(null===(0,a.Z)(e.faviconFor))return void k(r);A(!0);return;case"given":case"parent-site":return void k(r);default:k(r)}},b[11]=e.faviconFor,b[12]=F,b[13]=o):o=b[13];let $=o;b[14]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{k(null)},b[14]=u):u=b[14],b[15]!==L?(d=[L],b[15]=L,b[16]=d):d=b[16],(0,i.useEffect)(u,d),b[17]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{R(!1),A(!1)},b[17]=m):m=b[17],b[18]!==e.curatedIconAppId||b[19]!==e.faviconFor||b[20]!==e.imgSrc||b[21]!==C?(h=[e.faviconFor,e.curatedIconAppId,e.imgSrc,C],b[18]=e.curatedIconAppId,b[19]=e.faviconFor,b[20]=e.imgSrc,b[21]=C,b[22]=h):h=b[22],(0,i.useEffect)(m,h),b[23]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{y(null)},b[23]=f):f=b[23],b[24]!==e.imgSrcDark?(p=[e.imgSrcDark],b[24]=e.imgSrcDark,b[25]=p):p=b[25],(0,i.useEffect)(f,p),b[26]!==_||b[27]!==e.faviconFor?(g=_("Favicon for {faviconFor}",{faviconFor:e.faviconFor}),b[26]=_,b[27]=e.faviconFor,b[28]=g):g=b[28],b[29]!==C||b[30]!==g?(v={width:C,height:C,alt:g,className:"h-full w-full object-cover"},b[29]=C,b[30]=g,b[31]=v):v=b[31];let T=v;if(e.imgSrcDark){let l,a,s;return b[32]!==N||b[33]!==T||b[34]!==$||b[35]!==z||b[36]!==L?(l=(0,r.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:N?(0,r.jsx)("span",{className:"bg-muted",children:(0,r.jsx)(t.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,r.jsx)("img",{...T,src:L,onError:e=>$(e.toString()),onLoad:e=>z(e.currentTarget.naturalWidth)})}),b[32]=N,b[33]=T,b[34]=$,b[35]=z,b[36]=L,b[37]=l):l=b[37],b[38]!==j||b[39]!==T||b[40]!==e.imgSrcDark?(a=(0,r.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:j?(0,r.jsx)("span",{className:"bg-muted",children:(0,r.jsx)(t.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,r.jsx)("img",{...T,src:e.imgSrcDark,onError:e=>y(e.toString())})}),b[38]=j,b[39]=T,b[40]=e.imgSrcDark,b[41]=a):a=b[41],b[42]!==e.className||b[43]!==l||b[44]!==a?(s=(0,r.jsxs)("div",{className:e.className,children:[l,a]}),b[42]=e.className,b[43]=l,b[44]=a,b[45]=s):s=b[45],s}return b[46]!==N||b[47]!==T||b[48]!==$||b[49]!==z||b[50]!==L?(x=N?(0,r.jsx)("span",{className:"bg-muted",children:(0,r.jsx)(t.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,r.jsx)("picture",{className:"h-full w-full shrink-0",children:(0,r.jsx)("img",{...T,src:L,loading:"lazy",decoding:"async",onError:e=>$(e.toString()),onLoad:e=>z(e.currentTarget.naturalWidth)})}),b[46]=N,b[47]=T,b[48]=$,b[49]=z,b[50]=L,b[51]=x):x=b[51],b[52]!==e.className||b[53]!==x?(w=(0,r.jsx)("div",{className:e.className,children:x}),b[52]=e.className,b[53]=x,b[54]=w):w=b[54],w}])},51365,e=>{"use strict";e.i(640216);let r=new Set(["ac","co","com","edu","go","gob","gov","ltd","me","ne","net","nom","or","org","plc","sch"]),l=(e,r=256)=>`https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${e}&size=${r}`,t=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"]),a=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i,s=l("https://huggingface.co/");e.s(["t",0,s,"g",0,e=>`/api/frontend/v1/apps/${e}/icon`,"e",0,l,"r",0,e=>`/images/icons/${e}`,"Z",0,e=>{let l=(e=>{let r=/^[a-z][a-z\d+\-.]*:\/\//iu.test(e)?e:`https://${e}`;try{return new URL(r).hostname.toLowerCase().replace(/\.$/u,"")}catch{return null}})(e);if(null===l)return null;let a=l.split(".").slice(1);if(a.length<2||2===a.length&&2===(a[1]??"").length&&r.has(a[0]??""))return null;let s=a.join(".");return[...t].some(e=>s===e||s.endsWith(`.${e}`))?null:`https://${s}`},"Q",0,e=>{try{return a.test(new URL(e).pathname)}catch{return!1}},"$",0,e=>{try{let r=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===r||r.endsWith(".openrouter.ai")}catch{return!1}}],51365)},640216,e=>{"use strict";var r=e.i(914571),l=e.i(647204),t=e.i(30012);function a(e){let r=e.replaceAll(/^\[|\]$/g,""),l=c(r);if(l)return a(l);if(s(r)){let e=Number.parseInt(r.split(".")[0]??"",10);return 0===e||127===e}let t=i(r);if(t)return t.slice(0,15).every(e=>0===e)&&(0===t[15]||1===t[15]);let n=o(r);return"localhost"===n||n.endsWith(".localhost")||n.includes(":")}function s(e){let r=e.split(".");return 4===r.length&&r.every(e=>/^\d{1,3}$/.test(e)&&Number(e)>=0&&255>=Number(e))}function i(e){let r=e.replaceAll(/^\[|\]$/g,"").toLowerCase(),l=r.indexOf("%");if(-1!==l){if(0===l||l===r.length-1)return null;r=r.slice(0,l)}if(!r.includes(":"))return null;if(r.includes(".")){let e=r.lastIndexOf(":");if(-1===e)return null;let l=r.slice(e+1);if(!s(l))return null;let t=l.split(".").map(Number),a=(t[0]??0)<<8|(t[1]??0),i=(t[2]??0)<<8|(t[3]??0);r=`${r.slice(0,e+1)}${a.toString(16)}:${i.toString(16)}`}let t=r.indexOf("::");if(t!==r.lastIndexOf("::"))return null;let a=-1!==t?function(e,r){let l=e.slice(0,r),t=e.slice(r+2),a=""===l?[]:l.split(":"),s=""===t?[]:t.split(":");if(a.some(e=>""===e)||s.some(e=>""===e))return null;let i=8-a.length-s.length;return i<1?null:[...a,...Array.from({length:i},()=>"0"),...s]}(r,t):r.split(":");return null===a||8!==a.length||a.some(e=>!/^[0-9a-f]{1,4}$/.test(e))?null:a.flatMap(e=>{let r=Number.parseInt(e,16);return[r>>8&255,255&r]})}function n(e){return 254===e[0]&&((e[1]??0)&192)==128}function c(e){let r=i(e);if(null===r)return null;let l=r.slice(0,10).every(e=>0===e)&&255===r[10]&&255===r[11],t=r.slice(0,12).every(e=>0===e),a=r.slice(0,15).every(e=>0===e)&&(0===r[15]||1===r[15]);return!l&&!t||t&&a?null:`${r[12]}.${r[13]}.${r[14]}.${r[15]}`}function o(e){let r=e.toLowerCase(),l=r.length;for(;l>0&&"."===r[l-1];)l-=1;return r.slice(0,l)}r.n,e.s(["b",0,function(e,r){return"https:"===e.protocol||"http:"===e.protocol&&r&&a(e.hostname)},"i",0,function(e){let r=o(e);return"cfargotunnel.com"===r||r.endsWith(".cfargotunnel.com")},"y",0,a,"r",0,function(e){let r=o(e);return"openrouter.ai"===r||r.endsWith(".openrouter.ai")},"E",0,function(e,r={}){let u,d,m,h;try{u=new URL(e)}catch{return(0,l.Y)("Invalid URL format")}let f=u.hostname.toLowerCase(),p=u.protocol,g=(0,t.T)()&&!0;if(a(f)&&g)return"http:"!==p&&"https:"!==p?(0,l.Y)("Only HTTP and HTTPS protocols are allowed"):(0,l.N)(!0);if(a(f))return(0,l.Y)("Localhost URLs are not allowed");if(function e(r){let l=c(r.replaceAll(/^\[|\]$/g,""));if(l)return e(l)||a(l);if(s(r)){let e=r.split(".").map(Number);if(4!==e.length||e.some(e=>Number.isNaN(e)))return!1;let[l,t]=e;return void 0!==l&&void 0!==t&&(10===l||172===l&&t>=16&&t<=31||192===l&&168===t||100===l&&t>=64&&t<=127||169===l&&254===t)}if(null!==i(r)){let e=i(r);return null!==e&&(((e[0]??0)&254)==252||n(e))}return!1}(f))return(0,l.Y)("Private IP addresses are not allowed");if(function(e){if(s(e)){let r=e.split(".").map(Number);if(4===r.length&&169===r[0]&&254===r[1])return!0}if(null!==i(e)){let r=i(e);return null!==r&&n(r)}return!1}(f)||"metadata.google.internal"===(d=o(f))||d.endsWith(".metadata.google.internal")||(m=o(f)).endsWith(".svc")||m.endsWith(".svc.cluster.local")||m.endsWith(".cluster.local")||(h=o(f)).endsWith(".internal")||h.endsWith(".local"))return(0,l.Y)("Unsupported URL, public internet addresses only");if(!g&&"https:"!==p){if(!r.allowHttp)return(0,l.Y)("Only HTTPS URLs are allowed");if("http:"!==p)return(0,l.Y)("Only HTTP and HTTPS protocols are allowed")}return g&&"http:"!==p&&"https:"!==p?(0,l.Y)("Only HTTP and HTTPS protocols are allowed in dev"):(0,l.N)(!0)}],640216)},685135,e=>{"use strict";var r=e.i(659350),l=e.i(663456),t=e.i(139697),a=e.i(797521),s=e.i(761821);e.i(707060);var i=e.i(300326),n=e.i(196991),c=e.i(153746);e.i(406201);var o=e.i(967605),u=e.i(325896);function d(){(0,u.m)(u.A.ModelsOutboundClicked,{source:u.N.Header})}e.s(["DiscoveryPageHeader",0,function(e){let u,m,h,f,p,g,v,x,w,b,_=(0,l.c)(19),{modelCount:N,titleElement:k}=e,j=void 0===k?"h1":k,y=(0,a.f)(),S=(0,s.S)(),R=N??S.modelCount;_[0]===Symbol.for("react.memo_cache_sentinel")?(u=(0,r.jsx)(n.T,{children:"Discover models"}),_[0]=u):u=_[0];let I=u;_[1]!==j?(m="h1"===j?(0,r.jsx)("h1",{children:I}):(0,r.jsx)("p",{className:"font-brand text-title font-semibold text-foreground",children:I}),_[1]=j,_[2]=m):m=_[2],_[3]===Symbol.for("react.memo_cache_sentinel")?(h=(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:(0,r.jsx)(n.T,{children:"Practical starting points from real OpenRouter usage, production performance, and independent benchmarks."})}),_[3]=h):h=_[3],_[4]!==m?(f=(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[m,h]}),_[4]=m,_[5]=f):f=_[5],_[6]===Symbol.for("react.memo_cache_sentinel")?(p=(0,r.jsx)(o.Link,{href:"/models"}),_[6]=p):p=_[6];let A=R>0?"counted":"uncounted";return _[7]!==R||_[8]!==y?(g=y.number(R,{preset:"integer"}),_[7]=R,_[8]=y,_[9]=g):g=_[9],_[10]!==g?(v=(0,r.jsxs)(r.Fragment,{children:["Browse all ",(0,r.jsx)(c.d,{children:g})," models"]}),_[10]=g,_[11]=v):v=_[11],_[12]===Symbol.for("react.memo_cache_sentinel")?(x=(0,r.jsx)(r.Fragment,{children:"Browse all models"}),_[12]=x):x=_[12],_[13]!==A||_[14]!==v?(w=(0,r.jsx)(t.Button,{variant:"outline",size:"sm",onClick:d,className:"shrink-0",render:p,children:(0,r.jsx)(n.T,{children:(0,r.jsx)(i.f,{branch:A,counted:v,uncounted:x})})}),_[13]=A,_[14]=v,_[15]=w):w=_[15],_[16]!==w||_[17]!==f?(b=(0,r.jsxs)("header",{className:"flex flex-wrap items-start justify-between gap-3",children:[f,w]}),_[16]=w,_[17]=f,_[18]=b):b=_[18],b}])},452880,649864,633154,49199,e=>{"use strict";var r=e.i(659350),l=e.i(663456),t=e.i(136562),a=e.i(670168);e.i(707060);var s=e.i(288265);e.s(["f",0,5],649864);var i=e.i(16043),n=e.i(539326);let c="scrollbar-hide flex gap-3 overflow-x-auto overscroll-x-contain pb-1 [&>li]:shrink-0 [&>li]:basis-[min(82vw,20rem)] sm:[&>li]:basis-[calc((100%_-_0.75rem)/2)] md:[&>li]:basis-[calc((100%_-_1.5rem)/3)] lg:[&>li]:basis-[calc((100%_-_3rem)/4.25)]";e.s(["N",0,c,"e",0,function(e){let a,s,o,u,d=(0,l.c)(7),{ariaLabel:m,itemCount:h,children:f}=e,p=(0,i.useRef)(null);return d[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=p.current;if(!e)return;let r=()=>{let r=(0,n.G)(e,{maxFadePx:32});e.style.maskImage=r,e.style.webkitMaskImage=r};r(),e.addEventListener("scroll",r,{passive:!0});let l="u"{e.removeEventListener("scroll",r),l?.disconnect()}},d[0]=a):a=d[0],d[1]!==h?(s=[h],d[1]=h,d[2]=s):s=d[2],(0,i.useEffect)(a,s),d[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.f)(c,"[mask-image:linear-gradient(to_right,rgb(0_0_0_/_0.2),#000_0,#000_calc(100%_-_32px),rgb(0_0_0_/_0.2))]","[-webkit-mask-image:linear-gradient(to_right,rgb(0_0_0_/_0.2),#000_0,#000_calc(100%_-_32px),rgb(0_0_0_/_0.2))]"),d[3]=o):o=d[3],d[4]!==m||d[5]!==f?(u=(0,r.jsx)("div",{className:"relative min-w-0",children:(0,r.jsx)("ol",{ref:p,"aria-label":m,className:o,children:f})}),d[4]=m,d[5]=f,d[6]=u):u=d[6],u}],633154);var o=e.i(702441),u=e.i(894868),d=e.i(934416);e.i(406201);var m=e.i(967605);let h="overflow-hidden rounded-lg border border-border/60",f="flex min-h-16 items-center gap-2 bg-card px-3 py-2.5",p="flex items-center gap-2";e.s(["z",0,p,"N",0,f,"k",0,h,"m",0,function(e){let a,s,i,n,c,h,p,g,v,x,w=(0,l.c)(32),{identity:b,preview:_,variant:N,isPreviewInteractive:k,onHoverStart:j,onHoverEnd:y}=e,S=void 0!==k&&k,R="compact"===N?"block p-3":"relative block aspect-video overflow-hidden bg-muted",I="default"===N&&"bg-muted/40";w[0]!==I?(a=(0,t.f)("group flex w-full flex-col border-border/60 transition-colors hover:border-border",I),w[0]=I,w[1]=a):a=w[1],w[2]!==b.href||w[3]!==b.onClick||w[4]!==S||w[5]!==_||w[6]!==R?(s=S?(0,r.jsx)("div",{className:R,children:_}):(0,r.jsx)(m.Link,{href:b.href,"aria-hidden":!0,tabIndex:-1,onClick:b.onClick,className:R,children:_}),w[2]=b.href,w[3]=b.onClick,w[4]=S,w[5]=_,w[6]=R,w[7]=s):s=w[7];let A=b.href,C=b.ariaLabel,F=b.onClick;return w[8]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.f)(f,"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"),w[8]=i):i=w[8],w[9]!==b.author||w[10]!==b.permaslug?(n=(0,r.jsx)(u.f,{author:b.author,permaslug:b.permaslug,bare:!0,className:"size-7"}),w[9]=b.author,w[10]=b.permaslug,w[11]=n):n=w[11],w[12]!==b.name?(c=(0,r.jsx)("span",{className:"truncate text-sm font-semibold leading-normal text-foreground transition-colors group-hover:text-accent-foreground",children:b.name}),w[12]=b.name,w[13]=c):c=w[13],w[14]!==b.author?(h=(0,r.jsx)("span",{className:"truncate text-xs leading-normal text-muted-foreground",children:b.author}),w[14]=b.author,w[15]=h):h=w[15],w[16]!==c||w[17]!==h?(p=(0,r.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col gap-0",children:[c,h]}),w[16]=c,w[17]=h,w[18]=p):p=w[18],w[19]===Symbol.for("react.memo_cache_sentinel")?(g=(0,r.jsx)(d.f,{className:"size-4 shrink-0 text-muted-foreground"}),w[19]=g):g=w[19],w[20]!==b.ariaLabel||w[21]!==b.href||w[22]!==b.onClick||w[23]!==p||w[24]!==n?(v=(0,r.jsxs)(m.Link,{href:A,"aria-label":C,onClick:F,className:i,children:[n,p,g]}),w[20]=b.ariaLabel,w[21]=b.href,w[22]=b.onClick,w[23]=p,w[24]=n,w[25]=v):v=w[25],w[26]!==y||w[27]!==j||w[28]!==v||w[29]!==a||w[30]!==s?(x=(0,r.jsxs)(o.N,{onMouseEnter:j,onMouseLeave:y,onFocus:j,onBlur:y,className:a,children:[s,v]}),w[26]=y,w[27]=j,w[28]=v,w[29]=a,w[30]=s,w[31]=x):x=w[31],x}],49199);let g=["1","2","3","4","5"],v=["a","b","c","d"],x=["a","b","c","d","e","f","g","h"],w=["a","b","c","d","e","f","g","h"];function b(){let e,t,s=(0,l.c)(2);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(a.l,{className:"min-h-120 rounded-lg"}),s[0]=e):e=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsxs)("section",{className:"grid grid-cols-1 gap-3 lg:grid-cols-[minmax(0,11fr)_minmax(0,9fr)]",children:[e,(0,r.jsxs)("div",{className:"grid min-h-120 auto-rows-fr grid-cols-1 gap-3 sm:grid-cols-2",children:[v.map(_),(0,r.jsx)(a.l,{className:"min-h-32 rounded-lg sm:col-span-2"})]})]}),s[1]=t):t=s[1],t}function _(e){return(0,r.jsx)(a.l,{className:"min-h-32 rounded-lg"},e)}function N(){let e,t,i,n,c=(0,l.c)(6),o=(0,s.f)();return c[0]!==o?(e=o("Loading routers"),c[0]=o,c[1]=e):e=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsxs)("div",{className:"flex items-baseline justify-between gap-1.5",children:[(0,r.jsx)(a.l,{className:"h-5.5 w-20"}),(0,r.jsx)(a.l,{className:"h-5 w-28"})]}),c[2]=t):t=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,r.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-flow-col lg:auto-cols-fr lg:grid-cols-none",children:Array.from({length:5},k)}),c[3]=i):i=c[3],c[4]!==e?(n=(0,r.jsxs)("section",{"aria-busy":"true","aria-label":e,className:"flex flex-col gap-2",children:[t,i]}),c[4]=e,c[5]=n):n=c[5],n}function k(e,l){return(0,r.jsx)(a.l,{className:"h-31 rounded-lg"},l)}function j(){let e,t=(0,l.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-10 lg:grid-cols-2 lg:gap-6",children:[(0,r.jsx)(y,{}),(0,r.jsx)(y,{})]}),t[0]=e):e=t[0],e}function y(){let e,t,s=(0,l.c)(2);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,r.jsx)(a.l,{className:"h-5 w-36"}),(0,r.jsx)(a.l,{className:"h-4 w-56"})]}),(0,r.jsx)(a.l,{className:"h-5 w-20"})]}),s[0]=e):e=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsxs)("section",{className:"flex h-full min-h-100 min-w-0 flex-col gap-3 rounded-lg border border-border bg-card p-5",children:[e,(0,r.jsx)("div",{className:"flex flex-1 flex-col gap-2 pt-2",children:g.map(S)})]}),s[1]=t):t=s[1],t}function S(e){return(0,r.jsxs)("div",{className:"flex items-center gap-3 py-1",children:[(0,r.jsx)(a.l,{className:"size-7 shrink-0 rounded-md"}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,r.jsx)(a.l,{className:"h-4 w-40"}),(0,r.jsx)(a.l,{className:"h-3 w-24"})]}),(0,r.jsx)(a.l,{className:"h-4 w-16 shrink-0"})]},e)}function R(e){let s,i,n,o,u=(0,l.c)(6),{variant:d}=e;return u[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,r.jsx)(a.l,{className:"h-5 w-32"}),(0,r.jsx)(a.l,{className:"h-4 w-72"})]}),(0,r.jsx)(a.l,{className:"h-5 w-40"})]}),u[0]=s):s=u[0],u[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.f)(c,"overflow-x-hidden"),u[1]=i):i=u[1],u[2]!==d?(n=w.map(e=>(0,r.jsx)("li",{children:(0,r.jsxs)("div",{className:(0,t.f)(h,"default"===d?"bg-muted/40":"bg-card"),children:["default"===d?(0,r.jsx)(a.l,{className:"relative aspect-video w-full rounded-none"}):(0,r.jsx)("div",{className:"block p-3",children:(0,r.jsxs)("div",{className:p,children:[(0,r.jsx)(a.l,{className:"size-8 shrink-0 rounded-md"}),(0,r.jsx)(a.l,{className:"h-3 flex-1"}),(0,r.jsx)(a.l,{className:"h-3 w-8 shrink-0"})]})}),(0,r.jsxs)("div",{className:f,children:[(0,r.jsx)(a.l,{className:"size-7 rounded-md"}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0",children:[(0,r.jsx)(a.l,{className:"h-3.5 w-24"}),(0,r.jsx)(a.l,{className:"h-3 w-16"})]}),(0,r.jsx)(a.l,{className:"size-4 shrink-0"})]})]})},e)),u[2]=d,u[3]=n):n=u[3],u[4]!==n?(o=(0,r.jsxs)("section",{className:"flex flex-col gap-2",children:[s,(0,r.jsx)("div",{className:"relative min-w-0",children:(0,r.jsx)("ol",{"aria-hidden":"true",className:i,children:n})})]}),u[4]=n,u[5]=o):o=u[5],o}function I(){let e,t,s=(0,l.c)(2);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,r.jsx)(a.l,{className:"h-5 w-48"}),(0,r.jsx)(a.l,{className:"h-4 w-80"})]}),s[0]=e):e=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsxs)("section",{className:"flex flex-col gap-3",children:[e,(0,r.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4",children:x.map(A)})]}),s[1]=t):t=s[1],t}function A(e){return(0,r.jsx)(a.l,{className:"min-h-44 rounded-lg"},e)}e.s(["DiscoveryPageSkeleton",0,function(){let e,t,s,i=(0,l.c)(3);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(b,{}),t=(0,r.jsx)(N,{}),i[0]=e,i[1]=t):(e=i[0],t=i[1]),i[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,r.jsxs)("div",{className:"flex flex-col gap-10",children:[e,t,(0,r.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,r.jsx)(j,{}),(0,r.jsx)(j,{})]}),(0,r.jsx)(R,{variant:"default"}),(0,r.jsx)(R,{variant:"default"}),(0,r.jsx)(I,{}),(0,r.jsx)(a.l,{className:"h-20 rounded-lg"})]}),i[2]=s):s=i[2],s},"RouterStripSkeleton",0,N,"SpotlightSkeleton",0,R],452880)},325896,e=>{"use strict";var r=e.i(960773);e.s(["A",0,{PageViewed:"page_viewed",SignalCardClicked:"signal_card_clicked",RouterCardClicked:"router_card_clicked",LaneRowClicked:"lane_row_clicked",LaneViewMoreClicked:"lane_view_more_clicked",LaneSheetRowClicked:"lane_sheet_row_clicked",ImageFamilyClicked:"image_family_clicked",AudioFamilyClicked:"audio_family_clicked",SpeechSamplePlayed:"speech_sample_played",VideoFamilyClicked:"video_family_clicked",ModalityCardClicked:"modality_card_clicked",ModelSheetOpened:"model_sheet_opened",ModelsOutboundClicked:"models_outbound_clicked",PageUnavailable:"page_unavailable",PageEmptyTraffic:"page_empty_traffic"},"N",0,{Header:"header",FooterBanner:"footer_banner",RoutersViewAll:"routers_view_all",ImageModelsViewAll:"image_models_view_all",AudioModelsViewAll:"audio_models_view_all",VideoModelsViewAll:"video_models_view_all",ModalitySheetFooter:"modality_sheet_footer"},"m",0,function(e,l){r.j.capture(`discovery:${e}`,l)}])},539326,e=>{"use strict";function r(e,r){return e<=0?0:Math.min(e,r)}e.s(["v",0,"flex size-[22px] items-center justify-center rounded-full border border-border/60 bg-popover/50 shadow-sm backdrop-blur-sm transition-opacity","G",0,function(e,l={}){let{scrollLeft:t,scrollWidth:a,clientWidth:s}=e,{maxFadePx:i=64,edgeAlpha:n=.2}=l,c=a-s;if(c<=0)return"none";let o=`rgb(0 0 0 / ${n})`,u=r(t,i),d=r(c-t,i);return`linear-gradient(to right, ${o} 0, #000 ${u}px, #000 calc(100% - ${d}px), ${o} 100%)`}])}]); //# sourceMappingURL=3mt7pbqcufpt6.js.map