(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,922969,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,r],922969)},338749,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"}))});e.s(["f",0,r],338749)},778553,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});e.s(["f",0,r],778553)},775593,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"}))});e.s(["f",0,r],775593)},575731,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"}))});e.s(["f",0,r],575731)},773151,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-up-down",size:24,node:[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],773151)},747236,e=>{"use strict";var t=e.i(651681);let r={name:"shield-check",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i])},110513,e=>{"use strict";var t=e.i(747236);e.s(["f",()=>t.f])},663993,943878,e=>{"use strict";var t=e.i(651681);let r={name:"square-arrow-out-up-right",size:24,node:[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]],aliases:["arrow-up-right-from-square"]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],943878),e.s(["f",0,i],663993)},466528,e=>{"use strict";var t=e.i(16043);function r(e){let t;return"string"==typeof e&&"%"===e[e.length-1]&&!isNaN(t=parseFloat(e.substring(0,e.length-1)))&&isFinite(t)}function i(e,t,r){0===t&&!r&&e?.style&&e?.children.length>0&&(e.style.display="none")}let n={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"};function a(e,t){return[e.static,0===t&&e.staticHeightZero,"number"==typeof t&&t>0?e.staticHeightSpecific:null,"auto"===t&&e.staticHeightAuto].filter(e=>e).join(" ")}let l=["animateOpacity","animationStateClasses","applyInlineTransitions","children","className","contentClassName","contentRef","delay","duration","easing","height","onHeightAnimationEnd","onHeightAnimationStart","style","disableDisplayNone"],s=t.default.forwardRef((e,s)=>{let{animateOpacity:o=!1,animationStateClasses:u={},applyInlineTransitions:c=!0,children:d,className:m="",contentClassName:f,delay:p=0,disableDisplayNone:g=!1,duration:h=500,easing:v="ease",height:x,onHeightAnimationEnd:y,onHeightAnimationStart:b,style:w,contentRef:R}=e,k={...e};l.forEach(e=>{delete k[e]});let j=(0,t.useRef)(x),_=(0,t.useRef)(null),T=(0,t.useRef)(void 0),I=(0,t.useRef)(void 0),N=(0,t.useRef)({...n,...u}),S="u">typeof window,A=(0,t.useRef)(!!S&&!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion)").matches),M=A.current?0:p,C=A.current?0:h,L=x,E="visible";"number"==typeof x?(L=x<0?0:x,E="hidden"):r(L)&&(L="0%"===x?0:x,E="hidden");let[P,O]=(0,t.useState)(L),[U,D]=(0,t.useState)(E),[F,z]=(0,t.useState)(!1),[K,$]=(0,t.useState)(a(N.current,x));(0,t.useEffect)(()=>{i(_.current,P,g)},[]),(0,t.useEffect)(()=>{if(x!==j.current&&_.current){var e;let t,n;e=_.current,0===j.current&&e?.style&&(e.style.display=""),_.current.style.overflow="hidden";let l=_.current.offsetHeight;_.current.style.overflow="";let s=C+M,o="hidden",u="auto"===j.current;"number"==typeof x?n=t=x<0?0:x:r(x)?n=t="0%"===x?0:x:(t=l,n="auto",o=void 0),u&&(n=t,t=l);let c=[N.current.animating,("auto"===j.current||xj.current)&&N.current.animatingDown,0===n&&N.current.animatingToHeightZero,"auto"===n&&N.current.animatingToHeightAuto,"number"==typeof n&&n>0?N.current.animatingToHeightSpecific:null].filter(e=>e).join(" "),d=a(N.current,n);O(t),D("hidden"),z(!u),$(c),clearTimeout(I.current),clearTimeout(T.current),u?I.current=setTimeout(()=>{O(n),D(o),z(!0),b?.(n),T.current=setTimeout(()=>{z(!1),$(d),i(_.current,n,g),y?.(n)},s)},50):(b?.(t),I.current=setTimeout(()=>{O(n),D(o),z(!1),$(d),"auto"!==x&&i(_.current,t,g),y?.(t)},s))}return j.current=L,()=>{clearTimeout(I.current),clearTimeout(T.current)}},[x]);let W={...w,height:P,overflow:U||w?.overflow};F&&c&&(W.transition=`height ${C}ms ${v} ${M}ms`,w?.transition&&(W.transition=`${w.transition}, ${W.transition}`),W.WebkitTransition=W.transition);let H={};o&&(H.transition=`opacity ${C}ms ${v} ${M}ms`,H.WebkitTransition=H.transition,0===P&&(H.opacity=0));let Y=void 0!==k["aria-hidden"]?k["aria-hidden"]:0===x;return t.default.createElement("div",{...k,"aria-hidden":Y,className:`${K} ${m}`,style:W,ref:s},t.default.createElement("div",{className:f,style:H,ref:e=>{_.current=e,R&&(R.current=e)}},d))});e.s(["f",0,s])},579841,e=>{"use strict";var t=e.i(667417);let r=new Set([t.j.Embeddings,t.j.Rerank,t.j.Decisions,t.j.TTS,t.j.Transcription]);t.j.Embeddings,t.j.Rerank,t.j.Decisions;let i=new Set([t.j.Text,t.j.Image]);function n(e){return 0===e.length||e.some(e=>i.has(e))&&!e.some(e=>r.has(e))}function a(e){return e.includes(t.j.Video)&&!n(e)}e.s(["l",0,function(e){return 0===e.output_modalities.length?e.has_text_output:e.output_modalities.includes(t.j.Text)},"L",0,function(e){return n(e)||a(e)},"a",0,n,"W",0,a])},481066,e=>{"use strict";var t=e.i(572201),r=e.i(195759);e.s(["f",0,(e,{shorten:i=!1,keepNote:n=!1,preserveVariant:a=!1}={})=>{if(!i&&!0===n)return e;let l=e.split(": ")[1]||e;if(n)return l;let s=l.split(" (")[0];if(!a)return s;let o=Object.values(t.e).filter(e=>e!==t.d.Standard&&e!==t.e.All).map(e=>(0,r.x)(e)),u=[...l.matchAll(/\(([^()]*)\)/g)].filter(([,e])=>o.some(t=>0===t.localeCompare(e??"",void 0,{sensitivity:"accent"}))).map(([,e])=>`(${e})`);return`${s}${u.length>0?` ${u.join(" ")}`:""}`}])},195759,e=>{"use strict";var t=e.i(988590),r=e.i(572201),i=e.i(983739);function n(e,t){switch(t){case r.e.SelfMod:return`${e.name} (self-moderated)`;case r.e.Standard:case r.e.All:return e.name;case r.e.Free:case r.e.Nitro:case r.e.Floor:case r.e.Extended:case r.e.Exacto:case r.e.Online:case r.e.Thinking:case r.e.Batch:return`${e.name} (${t})`;default:return""}}let a=(e,i)=>{let n=e.split(r.q).slice(1),a=[];for(let e of n)(0,t.q)(e,i)&&a.push(e);return a},l={Nitro:r.B.Nitro,Floor:r.B.Floor,Exacto:r.B.Exacto},s={[l.Nitro]:i.f.Throughput,[l.Floor]:i.f.Price,[l.Exacto]:i.f.Exacto};e.s(["P",0,s,"K",0,l,"s",0,function(e,t){let r=n({name:""},t);return""===r?{name:e.name,short_name:e.short_name}:{name:e.name.endsWith(r)?e.name.slice(0,-r.length):e.name,short_name:e.short_name.endsWith(r)?e.short_name.slice(0,-r.length):e.short_name}},"_",0,e=>{let i;return((i=a(e,r.B)).length>0?i:[r.e.All]).findLast(e=>(0,t.q)(e,l))},"z",0,e=>a(e,r.d)[0]??r.e.Standard,"I",0,function(e,t){return e.short_name.includes(`(${t})`)?e.short_name:n(e,t).split(":")[1]?.trim()??e.short_name},"x",0,function(e){switch(e){case r.e.Free:return"Free";case r.e.Nitro:return"Nitro";case r.e.Floor:return"Floor";case r.e.Extended:return"Extended";case r.e.Exacto:return"Exacto";case r.e.Standard:return"Standard";case r.e.Online:return"Online";case r.e.All:return"All";case r.e.Thinking:return"Thinking";case r.e.Batch:return"Batch";case r.e.SelfMod:return"Self-Moderated";default:return""}}])},706792,e=>{"use strict";var t=e.i(140691);let r={Token:"token",Unit:"unit",Schedule:"schedule"};r.Token,r.Token,r.Unit,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Unit;let i=["Image Input","Input Image"],n=["Image Output","Output Image"];e.s(["H",0,r,"T",0,function(e){let t=e.filter(e=>e.kind===r.Token),a=t.find(e=>"Input Price"===e.sku_label),l=t.find(e=>"Output Price"===e.sku_label),s=t.find(e=>{var t;return t=e.sku_label,n.includes(t)}),o=t.find(e=>{var t;return t=e.sku_label,i.includes(t)})??a;return o&&s?{media:"image",inputItem:o,outputItem:s}:a&&l?{media:"text",inputItem:a,outputItem:l}:void 0},"U",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.I)(1/0),r=n.price;for(let i of n.tiers){let n=(0,t.I)(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}}])},894868,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(829622),a=e.i(722841),l=e.i(987457);e.s(["f",0,function(e){let s,o,u,c,d,m,f,p=(0,r.c)(25),{author:g,permaslug:h,iconUri:v,className:x,frame:y,frameRingClassName:b,bare:w}=e,R=void 0!==y&&y,k=void 0!==w&&w;if(p[0]!==g||p[1]!==k||p[2]!==x||p[3]!==R||p[4]!==b||p[5]!==v||p[6]!==h){d=Symbol.for("react.early_return_sentinel");e:{if(o=null==h?(0,a.$)(g,v):(0,a.h)({permaslug:h,author:g,iconUri:v}),k){let e;p[12]!==x?(e=(0,i.f)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",x),p[12]=x,p[13]=e):e=p[13],d=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("size-full overflow-hidden",o?.className),faviconFor:g,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}if(R){d=(0,t.jsx)(l.f,{className:x,ringClassName:b,children:(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("size-full",o?.className),faviconFor:g,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}p[14]!==x?(c=(0,i.f)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",x),p[14]=x,p[15]=c):c=p[15],s=n.RemoteFavicon,u=(0,i.f)("overflow-hidden rounded-full",o?.className)}p[0]=g,p[1]=k,p[2]=x,p[3]=R,p[4]=b,p[5]=v,p[6]=h,p[7]=s,p[8]=o,p[9]=u,p[10]=c,p[11]=d}else s=p[7],o=p[8],u=p[9],c=p[10],d=p[11];return d!==Symbol.for("react.early_return_sentinel")?d:(p[16]!==s||p[17]!==g||p[18]!==o.darkUrl||p[19]!==o.url||p[20]!==u?(m=(0,t.jsx)(s,{className:u,faviconFor:g,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256}),p[16]=s,p[17]=g,p[18]=o.darkUrl,p[19]=o.url,p[20]=u,p[21]=m):m=p[21],p[22]!==c||p[23]!==m?(f=(0,t.jsx)("div",{className:c,children:m}),p[22]=c,p[23]=m,p[24]=f):f=p[24],f)}])},987457,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562);e.s(["f",0,function(e){let n,a,l,s,o,u,c=(0,r.c)(15),{children:d,className:m,variant:f,decorative:p,ringClassName:g}=e,h=void 0!==p&&p||void 0;c[0]!==m?(n=(0,i.f)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",m),c[0]=m,c[1]=n):n=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,i.f)("absolute inset-px flex items-center justify-center","[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-contain","[&_img]:rounded-sm"),c[2]=a):a=c[2],c[3]!==d?(l=(0,t.jsx)("div",{className:a,children:d}),c[3]=d,c[4]=l):l=c[4];let v="app"===(void 0===f?"default":f)&&"dark:inset-px dark:ring-white";return c[5]!==g||c[6]!==v?(s=(0,i.f)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",v,g),c[5]=g,c[6]=v,c[7]=s):s=c[7],c[8]!==s?(o=(0,t.jsx)("div",{"aria-hidden":!0,className:s}),c[8]=s,c[9]=o):o=c[9],c[10]!==h||c[11]!==n||c[12]!==l||c[13]!==o?(u=(0,t.jsxs)("div",{"aria-hidden":h,className:n,children:[l,o]}),c[10]=h,c[11]=n,c[12]=l,c[13]=o,c[14]=u):u=c[14],u}])},640947,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(829622),a=e.i(987457);e.s(["f",0,e=>{let l,s,o,u,c=(0,r.c)(26),{providerName:d,providerIcon:m,className:f,frame:p}=e;c[0]!==m.url.length||c[1]!==d?(l=0===m.url.length?(0,t.jsx)("span",{"aria-hidden":!0,className:"flex size-full items-center justify-center rounded-sm bg-muted text-sm font-medium text-muted-foreground",children:d.trim().charAt(0).toUpperCase()}):null,c[0]=m.url.length,c[1]=d,c[2]=l):l=c[2];let g=l;if(void 0!==p&&p){let e,r,l;return c[3]!==f?(e=(0,i.f)("size-8",f),c[3]=f,c[4]=e):e=c[4],c[5]!==g||c[6]!==m.className||c[7]!==m.darkUrl||c[8]!==m.url||c[9]!==d?(r=g??(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("size-full",m.className),faviconFor:d,imgSrc:m.url,imgSrcDark:m.darkUrl,size:256}),c[5]=g,c[6]=m.className,c[7]=m.darkUrl,c[8]=m.url,c[9]=d,c[10]=r):r=c[10],c[11]!==e||c[12]!==r?(l=(0,t.jsx)(a.f,{className:e,children:r}),c[11]=e,c[12]=r,c[13]=l):l=c[13],l}let h=null===g&&"bg-muted/40 p-1 shadow-inner";return c[14]!==f||c[15]!==h?(s=(0,i.f)("flex items-center justify-center","h-8 w-8 rounded-lg",h,f),c[14]=f,c[15]=h,c[16]=s):s=c[16],c[17]!==g||c[18]!==m.className||c[19]!==m.darkUrl||c[20]!==m.url||c[21]!==d?(o=g??(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("overflow-hidden rounded-sm",m.className),faviconFor:d,imgSrc:m.url,imgSrcDark:m.darkUrl,size:256}),c[17]=g,c[18]=m.className,c[19]=m.darkUrl,c[20]=m.url,c[21]=d,c[22]=o):o=c[22],c[23]!==s||c[24]!==o?(u=(0,t.jsx)("div",{className:s,children:o}),c[23]=s,c[24]=o,c[25]=u):u=c[25],u}])},722841,e=>{"use strict";var t=e.i(51365);let r=[["microsoft/mai-",(0,t.r)("MAI.png")]];var i=e.i(771271);function n(e){return e.toLowerCase()}let a=new Map([[n(i.R.OpenAI),{url:(0,t.r)("OpenAI.svg"),className:"dark:invert"}],[n(i.R.Perplexity),{url:(0,t.r)("Perplexity.png")}],[n(i.R.Poolside),{url:(0,t.r)("poolside-logomark-solid-color.svg")}],[n(i.R.Perceptron),{url:(0,t.e)("https://www.perceptron.inc")}],["voyageai",{url:(0,t.e)("https://www.voyageai.com")}],[n(i.R.GoogleAIStudio),{url:(0,t.r)("GoogleAIStudio.svg")}],[n(i.R.Anthropic),{url:(0,t.r)("Anthropic.svg")}],[n(i.R.ClaudeOnAws),{url:(0,t.r)("Anthropic.svg")}],[n(i.R.Cohere),{url:(0,t.r)("Cohere.png")}],[n(i.R.Deepgram),{url:(0,t.r)("Deepgram.svg"),className:"dark:invert"}],[n(i.R.DeepSeek),{url:(0,t.r)("DeepSeek.png")}],[n(i.R.Together),{url:(0,t.e)("https://www.together.ai/")}],[n(i.R.Infermatic),{url:(0,t.e)("https://infermatic.ai/")}],[n(i.R.HuggingFace),{url:(0,t.e)("https://huggingface.co/")}],[n(i.R.Unbiased),{url:(0,t.r)("Unbiased.png")}],[n(i.R.AI21),{url:(0,t.e)("https://ai21.com/")}],[n(i.R.Featherless),{url:(0,t.e)("https://featherless.ai/")}],[n(i.R.Reflection),{url:(0,t.e)("https://railway.app/")}],[n(i.R.Inflection),{url:(0,t.e)("https://inflection.ai/")}],[n(i.R.Minimax),{url:(0,t.e)("https://minimaxi.com/")}],[n(i.R.Liquid),{url:(0,t.r)("Liquid.png"),className:"dark:invert"}],[n(i.R.Inception),{url:(0,t.r)("Inception.svg"),className:"dark:invert"}],[n(i.R.Relace),{url:(0,t.e)("https://www.relace.ai")}],[n(i.R.Sourceful),{url:(0,t.e)("https://www.sourceful.com/")}],[n(i.R.Speechify),{url:(0,t.e)("https://speechify.ai/")}],[n(i.R.BytePlus),{url:(0,t.e)("https://www.byteplus.com")}],[n(i.R.Xiaomi),{url:(0,t.e)("https://www.mi.com")}],["arcee-ai",{url:(0,t.e)("https://www.arcee.ai")}],[n(i.R.AssemblyAI),{url:(0,t.e)("https://www.assemblyai.com/")}],["fish-audio",{url:(0,t.e)("https://fish.audio/")}],[n(i.R.ElevenLabs),{url:(0,t.e)("https://elevenlabs.io/"),className:"dark:invert"}],["z-ai",{url:(0,t.e)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,t.r)("MoonshotAI.png")}],["morph",{url:(0,t.e)("https://morphllm.com")}],[n(i.R.TypeSafe),{url:(0,t.e)("https://typesafe.ai")}],["qwen",{url:(0,t.r)("Qwen.png")}],["google",{url:(0,t.r)("GoogleGemini.svg")}],["microsoft",{url:(0,t.r)("Microsoft.svg")}],["nousresearch",{url:(0,t.e)("https://nousresearch.com/")}],["nvidia",{url:(0,t.e)("https://nvidia.com/")}],["meta-llama",{url:(0,t.r)("Meta.png")}],["meta",{url:(0,t.r)("Meta.png")}],["databricks",{url:(0,t.e)("https://databricks.com/")}],["openrouter",{url:(0,t.r)("openrouter-glyph-light.svg"),darkUrl:(0,t.r)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,t.r)("Mistral.png")}],["x-ai",{url:(0,t.e)("https://x.ai/")}],["amazon",{url:(0,t.e)("https://nova.amazon.com/")}],["aion-labs",{url:(0,t.e)("https://www.aionlabs.ai/")}],["allenai",{url:(0,t.e)("https://allenai.org/")}],["switchpoint",{url:(0,t.e)("https://switchpoint.dev/")}],["thedrummer",{url:(0,t.r)("TheDrummer.png")}],["deepcogito",{url:(0,t.e)("https://www.deepcogito.com/")}],["baidu",{url:(0,t.e)("https://www.baidu.com/")}],["kwaipilot",{url:(0,t.r)("Kwaipilot.png")}],["kwaivgi",{url:(0,t.r)("KlingAI.png")}],["black-forest-labs",{url:(0,t.e)("https://bfl.ai")}],["prime-intellect",{url:(0,t.e)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,t.e)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,t.e)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,t.e)("https://seed.bytedance.com/")}],[n(i.R.Seed),{url:(0,t.e)("https://seed.bytedance.com/")}],["writer",{url:(0,t.e)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,t.e)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,t.e)("https://platform.stepfun.ai/")}],[n(i.R.Recraft),{url:(0,t.r)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,t.e)("https://seed.bytedance.com/")}],["alibaba",{url:(0,t.e)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,t.e)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,t.r)("Tencent.png")}],["ibm-granite",{url:(0,t.r)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,t.r)("NexAGI.svg"),className:"dark:invert"}],[n(i.R.Unbiased),{url:(0,t.r)("Unbiased.png")}],["apodex",{url:(0,t.r)("Apodex.svg"),darkUrl:(0,t.r)("Apodex-dark.svg")}],["elorian",{url:(0,t.r)("Elorian.svg"),darkUrl:(0,t.r)("Elorian-dark.svg")}],["xingchen-agi",{url:(0,t.r)("XingChen-Shield.png")}],["prism-ml",{url:(0,t.r)("PrismML.svg"),darkUrl:(0,t.r)("PrismML-dark.svg")}],["thinkingmachines",{url:(0,t.e)("https://thinkingmachines.ai/")}],["sakana",{url:(0,t.e)("https://sakana.ai")}],[n(i.R.HeyGen),{url:(0,t.e)("https://heygen.com")}],["zyphra",{url:(0,t.r)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,t.e)("https://www.sesame.com")}],["canopylabs",{url:(0,t.e)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,t.r)("Hexgrad.png")}],[n(i.R.Krea),{url:(0,t.e)("https://www.krea.ai")}],[n(i.R.Runway),{url:(0,t.e)("https://runwayml.com")}],[n(i.R.Upstage),{url:(0,t.e)("https://www.upstage.ai/")}],[n(i.R.Fireworks),{url:(0,t.e)("https://fireworks.ai")}],["stealth",{url:(0,t.r)("Stealth.svg"),className:"invert-0 dark:invert"}],[n(i.R.Recursive),{url:(0,t.r)("Recursive.svg"),className:"dark:invert"}],["ricursiveai",{url:(0,t.r)("RicursiveAI.svg"),darkUrl:(0,t.r)("RicursiveAI-dark.svg")}]]),l=/^\/(?![/\\])/u,s=/^data:image\//iu;function o(e,r){var i;let n=a.get(e.toLowerCase());return r&&(!r.startsWith("data:")||s.test(r))?(i=n?.className,l.test(r)||s.test(r)?{url:r}:r.startsWith("//")?{url:(0,t.e)(`https:${r}`)}:r.startsWith("http")?{url:(0,t.e)(r)}:{url:(0,t.r)(r),className:i}):n??{url:t.t}}e.s(["$",0,o,"h",0,function({permaslug:e,author:t,iconUri:i}){let n,a=(n=e.toLowerCase().replace(/^~/u,""),r.find(([e])=>n.startsWith(e))?.[1]??null);return null!==a?{url:a}:o(t,i)}],722841)},829622,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(214051),n=e.i(51365),a=e.i(288265),l=e.i(16043);e.s(["RemoteFavicon",0,function(e){let s,o,u,c,d,m,f,p,g,h,v,x,y,b=(0,r.c)(55),w=(0,a.f)(),[R,k]=(0,l.useState)(null),[j,_]=(0,l.useState)(null),[T,I]=(0,l.useState)(!1),[N,S]=(0,l.useState)(!1),A=e.size||256;b[0]!==T||b[1]!==N||b[2]!==e.curatedIconAppId||b[3]!==e.faviconFor||b[4]!==e.imgSrc||b[5]!==A?(s=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:i,curatedIconAppId:a,imgSrc:l}){if(l)return{source:"given",src:l};if(void 0!==a&&(0,n.Q)(e)&&!r)return{source:"curated",src:(0,n.$)(e)?e:(0,n.g)(a)};let s=i?(0,n.Z)(e):null;return null!==s?{source:"parent-site",src:(0,n.e)(s,t)}:{source:"site",src:(0,n.e)(e,t)}}({faviconFor:e.faviconFor,size:A,didCuratedIconFail:T,didSiteIconFail:N,curatedIconAppId:e.curatedIconAppId,imgSrc:e.imgSrc}),b[0]=T,b[1]=N,b[2]=e.curatedIconAppId,b[3]=e.faviconFor,b[4]=e.imgSrc,b[5]=A,b[6]=s):s=b[6];let{source:M,src:C}=s;b[7]!==e.faviconFor||b[8]!==A||b[9]!==M?(o=t=>{"site"!==M||A<=16||t>16||null!==(0,n.Z)(e.faviconFor)&&S(!0)},b[7]=e.faviconFor,b[8]=A,b[9]=M,b[10]=o):o=b[10];let L=o;b[11]!==e.faviconFor||b[12]!==M?(u=t=>{switch(M){case"curated":if((0,n.$)(e.faviconFor))return void k(t);I(!0);return;case"site":if(null===(0,n.Z)(e.faviconFor))return void k(t);S(!0);return;case"given":case"parent-site":return void k(t);default:k(t)}},b[11]=e.faviconFor,b[12]=M,b[13]=u):u=b[13];let E=u;b[14]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{k(null)},b[14]=c):c=b[14],b[15]!==C?(d=[C],b[15]=C,b[16]=d):d=b[16],(0,l.useEffect)(c,d),b[17]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{I(!1),S(!1)},b[17]=m):m=b[17],b[18]!==e.curatedIconAppId||b[19]!==e.faviconFor||b[20]!==e.imgSrc||b[21]!==A?(f=[e.faviconFor,e.curatedIconAppId,e.imgSrc,A],b[18]=e.curatedIconAppId,b[19]=e.faviconFor,b[20]=e.imgSrc,b[21]=A,b[22]=f):f=b[22],(0,l.useEffect)(m,f),b[23]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{_(null)},b[23]=p):p=b[23],b[24]!==e.imgSrcDark?(g=[e.imgSrcDark],b[24]=e.imgSrcDark,b[25]=g):g=b[25],(0,l.useEffect)(p,g),b[26]!==w||b[27]!==e.faviconFor?(h=w("Favicon for {faviconFor}",{faviconFor:e.faviconFor}),b[26]=w,b[27]=e.faviconFor,b[28]=h):h=b[28],b[29]!==A||b[30]!==h?(v={width:A,height:A,alt:h,className:"h-full w-full object-cover"},b[29]=A,b[30]=h,b[31]=v):v=b[31];let P=v;if(e.imgSrcDark){let r,n,a;return b[32]!==R||b[33]!==P||b[34]!==E||b[35]!==L||b[36]!==C?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:R?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...P,src:C,onError:e=>E(e.toString()),onLoad:e=>L(e.currentTarget.naturalWidth)})}),b[32]=R,b[33]=P,b[34]=E,b[35]=L,b[36]=C,b[37]=r):r=b[37],b[38]!==j||b[39]!==P||b[40]!==e.imgSrcDark?(n=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:j?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...P,src:e.imgSrcDark,onError:e=>_(e.toString())})}),b[38]=j,b[39]=P,b[40]=e.imgSrcDark,b[41]=n):n=b[41],b[42]!==e.className||b[43]!==r||b[44]!==n?(a=(0,t.jsxs)("div",{className:e.className,children:[r,n]}),b[42]=e.className,b[43]=r,b[44]=n,b[45]=a):a=b[45],a}return b[46]!==R||b[47]!==P||b[48]!==E||b[49]!==L||b[50]!==C?(x=R?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.f,{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",{...P,src:C,loading:"lazy",decoding:"async",onError:e=>E(e.toString()),onLoad:e=>L(e.currentTarget.naturalWidth)})}),b[46]=R,b[47]=P,b[48]=E,b[49]=L,b[50]=C,b[51]=x):x=b[51],b[52]!==e.className||b[53]!==x?(y=(0,t.jsx)("div",{className:e.className,children:x}),b[52]=e.className,b[53]=x,b[54]=y):y=b[54],y}])},530685,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(340800),n=e.i(782143),a=e.i(288265),l=e.i(136562),s=e.i(315368),o=e.i(138257),u=e.i(304903);e.s(["f",0,function(e){let c,d,m,f,p,g,h,v,x=(0,r.c)(49),{coordinate:y,active:b,label:w,payload:R,totalConfig:k,chartHeight:j,isHighRes:_,displayTimezone:T}=e,I=(0,a.f)(),N=(0,o.useLocale)(),S=(0,u.P)(void 0===T?"utc":T);if(!b||!y||void 0===y.x||!w)return null;let A="string"==typeof w?w:"";if(x[0]!==j||x[1]!==y.x||x[2]!==A||x[3]!==I||x[4]!==_||x[5]!==N||x[6]!==R||x[7]!==S||x[8]!==k){d=Symbol.for("react.early_return_sentinel");e:{let e=(0,s.I)(A);if(k){var M;let r,a,l,s,o,u,c,m;if(x[11]!==N||x[12]!==R){let e=R?R.reduce((e,t)=>e+(Number(t.value)||0),0):0;r=(0,n.f)(e,{locale:N,preset:"decimal-3"})??"—",x[11]=N,x[12]=R,x[13]=r}else r=x[13];let f=r,p=_?(0,i.P)(e,{locale:N,timeZone:S,preset:"numeric"})??"—":void 0,g=(0,i.C)(e,{locale:N,timeZone:S,preset:"weekday-day-month"})??"—";if(x[14]!==I||x[15]!==k.bucketMs)a=k.bucketMs?(M=k.bucketMs,M<6e4?I("{count}s",{count:M/1e3}):M<36e5?I("{count}m",{count:M/6e4}):M<864e5?I("{count}h",{count:M/36e5}):I("{count}d",{count:M/864e5})):void 0,x[14]=I,x[15]=k.bucketMs,x[16]=a;else a=x[16];let h=a,v=j??0,b=`${y.x}px`;x[17]!==b?(l={"--tooltip-left":b},x[17]=b,x[18]=l):l=x[18],x[19]!==f||x[20]!==k.suffix?(s=(0,t.jsxs)("span",{className:"rounded-sm px-1.5 py-0.5 text-xs font-medium whitespace-nowrap",children:["~",f,k.suffix]}),x[19]=f,x[20]=k.suffix,x[21]=s):s=x[21],x[22]!==l||x[23]!==s?(o=(0,t.jsx)("div",{className:"absolute pointer-events-none z-overlay left-(--tooltip-left) -top-7 -translate-x-1/2","data-allow-inline-style":!0,style:l,children:s}),x[22]=l,x[23]=s,x[24]=o):o=x[24];let w=`${y.x}px`,T=`${v-26}px`;x[25]!==w||x[26]!==T?(u={"--tooltip-left":w,"--tooltip-top":T},x[25]=w,x[26]=T,x[27]=u):u=x[27],x[28]!==h?(c=h&&(0,t.jsx)("span",{className:"rounded-sm px-1 py-px font-semibold",children:h}),x[28]=h,x[29]=c):c=x[29];let A=(0,t.jsx)("div",{className:"absolute pointer-events-none z-overlay left-(--tooltip-left) top-(--tooltip-top) -translate-x-1/2","data-allow-inline-style":!0,style:u,children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-sm shadow-md border bg-background px-1.5 py-0.5 text-2xs whitespace-nowrap",children:[c,p&&`${p} `,g]})});x[30]!==A||x[31]!==o?(m=(0,t.jsxs)(t.Fragment,{children:[o,A]}),x[30]=A,x[31]=o,x[32]=m):m=x[32],d=m;break e}c=_?(0,i.P)(e,{locale:N,timeZone:S,preset:"numeric"})??"—":(0,i.C)(e,{locale:N,timeZone:S,preset:"medium"})??"—"}x[0]=j,x[1]=y.x,x[2]=A,x[3]=I,x[4]=_,x[5]=N,x[6]=R,x[7]=S,x[8]=k,x[9]=c,x[10]=d}else c=x[9],d=x[10];if(d!==Symbol.for("react.early_return_sentinel"))return d;let C=c,L=y.x>200,E=L?"-translate-x-full":"translate-x-0";x[33]!==E?(m=(0,l.f)("absolute pointer-events-none z-overlay flex items-center gap-2 left-(--tooltip-left) -top-5",E),x[33]=E,x[34]=m):m=x[34];let P=`${y.x+(L?2.5:-2.5)}px`;return x[35]!==P?(f={"--tooltip-left":P},x[35]=P,x[36]=f):f=x[36],x[37]!==C||x[38]!==L?(p=L&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:C}),x[37]=C,x[38]=L,x[39]=p):p=x[39],x[40]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)("div",{className:"size-1 md:size-2 rounded-full bg-border"}),x[40]=g):g=x[40],x[41]!==C||x[42]!==L?(h=!L&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:C}),x[41]=C,x[42]=L,x[43]=h):h=x[43],x[44]!==h||x[45]!==m||x[46]!==f||x[47]!==p?(v=(0,t.jsxs)("div",{className:m,"data-allow-inline-style":!0,style:f,children:[p,g,h]}),x[44]=h,x[45]=m,x[46]=f,x[47]=p,x[48]=v):v=x[48],v}])},695880,e=>{"use strict";var t=e.i(659350),r=e.i(782143),i=e.i(297510),n=e.i(368174),a=e.i(288265),l=e.i(16043),s=e.i(527629),o=e.i(968416),u=e.i(590387),c=e.i(699707),d=e.i(503608),m=e.i(364029),f=e.i(663673),p=e.i(569284),g=e.i(804599),h=e.i(836466),v=e.i(760638),x=e.i(136562),y=e.i(885024),b=e.i(315368);let w=[.1431,.1483,.1525,.1515,.1484,.1257,.1305];var R=e.i(535072),k=e.i(138257),j=e.i(304903),_=e.i(261499),T=e.i(522396),I=e.i(860674),N=e.i(82224),S=e.i(397618),A=e.i(70294),M=e.i(707951),C=e.i(775922),L=e.i(336810),E=e.i(530685);function P(e){return Object.values(e).reduce((e,t)=>e+t,0)}function O(e){let{row:t,allKeys:r,project:i}=e;return{[L.l]:t.x,...Object.fromEntries([...r].map(e=>[e,i(t.ys[e]??0)]))}}function U(e,t){return e.map(e=>Object.entries(e.ys).reduce((e,[r,i])=>t?.has(r)?e:e+i,0))}function D(e,t){let r=U(e,t).filter(e=>e>0);return 0===r.length?1:10**Math.floor(Math.log10(Math.min(...r)))}let F={fill:"currentColor",className:"text-muted"},z={" ":.171,",":.285,".":.301,":":.301,"-":.515,"'":.256,"%":.986,0:.6,1:.6,2:.6,3:.6,4:.6,5:.6,6:.6,7:.6,8:.6,9:.6,a:.573,b:.668,c:.601,d:.668,e:.615,f:.395,g:.66,h:.576,i:.233,j:.233,k:.553,l:.233,m:.911,n:.576,o:.655,p:.668,q:.668,r:.344,s:.51,t:.392,u:.576,v:.525,w:.811,x:.499,y:.544,z:.454,A:.662,B:.694,C:.78,D:.742,E:.609,F:.582,G:.819,H:.736,I:.26,J:.385,K:.658,L:.533,M:.846,N:.737,O:.878,P:.644,Q:.878,R:.644,S:.646,T:.517,U:.703,V:.66,W:.99,X:.608,Y:.629,Z:.582},K=[3,3,0,0],$=(0,I.f)("tabular-nums"),W=(0,I.f)();function H(e,{locale:t,isPercentage:n}){return n?`${(0,i.I)(e,{locale:t,preset:"native-fixed-1"})??"—"}`:(0,r.f)(e,{locale:t,preset:"compact-chart-thousands"})??"—"}e.s(["StackedBarChart",0,function({data:e,colors:I=L.N,height:Y=L.i,barSize:B=50,maxBarSize:V,hideZeroTotalTooltip:Z=!1,yAxisLabel:G,yAxisLabelClassName:q,yAxisHidden:X,yAxisWidth:Q,yAxisMaxOnly:J,yAxisRightSide:ee,onClick:et,onBarClick:er,getIsSeriesClickable:ei,onLabel:en,onTooltipLabel:ea,onIcon:el,isPercentage:es=!1,hiddenSeries:eo,highlight:eu,forecast:ec,forecastFromTimestamp:ed,isAnimationActive:em=!1,legendConfig:ef,"data-testid":ep,displayTimezone:eg="local",tooltipTotalConfig:eh,roundedBars:ev=!1,valueFormatter:ex,yAxisTickFormatter:ey,referenceArea:eb,referenceLine:ew,xAxisTickFormatter:eR,colorMapping:ek,showPercentage:ej,showLogScaleToggle:e_=!1,headerControl:eT,allowTooltipToRight:eI=!1,useRichTooltip:eN=!1,renderBarHoverContent:eS,getSegmentFill:eA,shouldHighlightHoveredSeries:eM=!1}){var eC;let eL=(0,j.P)(eg),eE=(0,a.f)(),eP=(0,k.useLocale)(),[eO,eU]=(0,l.useState)(null),[eD,eF]=(0,l.useState)(null),[ez,eK]=(0,l.useState)(),[e$,eW]=(0,l.useState)(!1),eH=eu??ez,eY=(0,l.useDeferredValue)(eH),eB=(0,l.useDeferredValue)(eO),eV=ej??es,eZ=function({yAxisWidth:e,yAxisLabel:t}){return void 0!==e?e:t?72:void 0}({yAxisWidth:Q,yAxisLabel:G}),eG=(0,R.x)(),{containerRef:eq,containerWidth:eX,tooltipWrapperStyle:eQ,tooltipContentClassName:eJ,tooltipAllowEscapeViewBox:e0}=(0,N.f)({enabled:eI&&eG,hasBlockingLegend:void 0!==ef}),e1=(0,l.useMemo)(()=>ex??(e=>H(e,{locale:eP,isPercentage:eV})),[eP,ex,eV]),e2=ef?.position==="right"&&eG,e6=(0,l.useMemo)(()=>new Set(e.flatMap(e=>Object.keys(e.ys))),[e]),e5=(0,l.useMemo)(()=>{var t;return eV?e.map(e=>{let t=P(e.ys);return O({row:e,allKeys:e6,project:e=>t>0?e/t*100:0})}):ec?(t=function({data:e,rollup:t,forecastFromTimestamp:r}){if(0===e.length)return[];let i=r?new Date(r):new Date,n=[];for(let r of e){let a={x:r.x,ys:{...r.ys}};if(!function(e,t){if(0===e.length)return!1;let r=(0,b.I)(e.at(-1)?.x||""),i=(0,b.I)(t.x);return r.getTime()===i.getTime()}(e,r)||!function({dataPointX:e,now:t,rollup:r}){let i=(0,b.I)(e);switch(r){case y.n.OneMinute:return i.getUTCFullYear()===t.getUTCFullYear()&&i.getUTCMonth()===t.getUTCMonth()&&i.getUTCDate()===t.getUTCDate()&&i.getUTCHours()===t.getUTCHours()&&i.getUTCMinutes()===t.getUTCMinutes();case y.n.OneHour:return i.getUTCFullYear()===t.getUTCFullYear()&&i.getUTCMonth()===t.getUTCMonth()&&i.getUTCDate()===t.getUTCDate()&&i.getUTCHours()===t.getUTCHours();case y.n.OneDay:return i.getUTCFullYear()===t.getUTCFullYear()&&i.getUTCMonth()===t.getUTCMonth()&&i.getUTCDate()===t.getUTCDate();case y.n.OneWeek:{let e=e=>{let t=e.getUTCDay();return Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()+(0===t?-6:1-t))};return e(i)===e(t)}case y.n.OneMonth:return i.getUTCFullYear()===t.getUTCFullYear()&&i.getUTCMonth()===t.getUTCMonth();default:return!1}}({dataPointX:r.x,now:i,rollup:t})){n.push(a);continue}let l=function(e,t){switch(t){case y.n.OneMinute:return 60/Math.max(1,e.getUTCSeconds());case y.n.OneHour:return 60/Math.max(1,e.getUTCMinutes());case y.n.OneDay:return 24/Math.max(1,e.getUTCHours());case y.n.OneWeek:{let t=(e.getUTCDay()||7)-1,r=e.getUTCHours()/24,i=0;for(let e=0;ee+t,0),o=e.findIndex(e=>e.x===r.x),u=o>0?e[o-1]:null,c=u?Object.values(u.ys).reduce((e,t)=>e+t,0):s,d=s*(l-1),m=Math.min(d,1.1*c);s>c&&c>0?a.forecast={total:d}:m>0&&(a.forecast={total:m}),n.push(a)}return n}({data:e,rollup:ec,forecastFromTimestamp:ed}),t.map(e=>{let t={__RECHARTS_X_LABEL__:e.x};if(Object.assign(t,e.ys),void 0!==e.forecast){let r="number"==typeof e.forecast?e.forecast:Object.values(e.forecast).reduce((e,t)=>e+t,0);r>0&&(t[ec]=r)}return t})):e.map(e=>O({row:e,allKeys:e6,project:e=>e}))},[e,eV,ec,ed,e6]),e4=(0,l.useMemo)(()=>{if(!e$||eV)return e5;let t=D(e,eo),r=ec?[...e6,ec]:[...e6];return e5.map(e=>(function({entry:e,seriesKeys:t,lowerBound:r,hiddenSeries:i}){let n=t.flatMap(t=>{let r=e[t];return"number"!=typeof r||i?.has(t)?[]:[[t,r]]}),a=n.reduce((e,[,t])=>e+t,0);if(a<=r)return e;let l=a/r,s={...e},o=0,u=0;for(let[e,t]of n){o+=t;let i=r*l**(o/a);s[e]=i-u,u=i}return s})({entry:e,seriesKeys:r,lowerBound:t,hiddenSeries:eo}))},[e5,e$,eV,e,eo,e6,ec]),e3=(0,l.useMemo)(()=>(function(e){let{data:t,isPercentage:r,yAxisMaxOnly:i}=e;return i&&0!==t.length?r?100:Math.max(...t.map(e=>P(e.ys))):0})({data:e,isPercentage:eV,yAxisMaxOnly:J??!1}),[e,eV,J]),e8=(0,l.useMemo)(()=>{let t,r,i;return e$?(t=D(e,eo),r=Math.max(0,...U(e,eo)),Array.from({length:Math.max(i=Math.round(Math.log10(t)),Math.ceil(Math.log10(r)))-i+1},(e,t)=>10**(i+t))):void 0},[e$,e,eo]),e7=(0,l.useMemo)(()=>{if(ek)return ek;if(!e||0===e.length)return new Map;let t=[...new Set(e.flatMap(e=>Object.keys(e.ys)))],r=new Map;return t.forEach((e,t)=>{r.set(e,I[t%I.length]||L.F.Slate400)}),r},[e,I,ek]),e9=(0,l.useMemo)(()=>{if(!e||0===e.length||void 0===ef)return new Map;let t=new Map;return e.forEach(e=>{let r=Object.values(e.ys).reduce((e,t)=>e+t,0),i=Object.entries(e.ys).map(([e,t])=>({name:e,value:t,percentage:r>0?t/r*100:0,color:e7.get(e)||L.F.Slate400})),n=i.findIndex(e=>"others"===e.name.toLowerCase()),a=-1!==n?i.splice(n,1)[0]:void 0;i.sort((e,t)=>(t.value??-1/0)-(e.value??-1/0)),a&&i.push(a),t.set(e.x,i)}),t},[e,e7,ef]),te=(0,l.useMemo)(()=>{if(void 0===ef)return[];let t=[];if(eB)t=e9.get(eB.x)||[];else if(e&&e.length>0){let r=e.at(-1);t=e9.get(r.x)||[]}return void 0!==ef.maxItems&&t.length>ef.maxItems?t.slice(0,ef.maxItems):t},[eB,e9,e,ef]),tt=(0,l.useCallback)(e=>{eU(e)},[]),tr=(0,l.useRef)(new Set),ti=(0,l.useCallback)(e=>{tr.current.add(e),(void 0!==eS||eM)&&eF(e)},[eS,eM]),tn=(0,l.useCallback)(e=>{tr.current.delete(e),(void 0!==eS||eM)&&eF(t=>t===e?null:t)},[eS,eM]),ta=(0,l.useCallback)(e=>{void 0===eu&&eK(e)},[eu]),tl=(0,l.useCallback)(()=>{void 0===eu&&eK(void 0)},[eu]),ts=(0,l.useMemo)(()=>ev?function(e){let{rows:t,allKeys:r,hiddenSeries:i}=e,n=[...r].reverse().filter(e=>!i?.has(e)),a=new Map;for(let e of t){let t=e[L.l];if("string"!=typeof t&&"number"!=typeof t)continue;let r=n.find(t=>{let r=e[t];return"number"==typeof r&&r>0});void 0!==r&&a.set(t,r)}return a}({rows:e5,allKeys:e6,hiddenSeries:eo}):new Map,[ev,e6,e5,eo]),to=!e5.some(e=>Object.values(e).some(Boolean)),tu=(0,l.useMemo)(()=>ec?`${ec}:${[...e6].join("\0")}`:void 0,[e6,ec]),{containsMultipleYears:tc,containsMultipleDays:td,isHighRes:tm}=(0,l.useMemo)(()=>{let t=e.map(e=>e.x);return(0,L.D)(e5,t)},[e5,e]),tf=(0,l.useCallback)((e,t)=>tm?(0,b.M)(eP,{value:e,shouldIncludeDay:td,timeZone:eL}):(0,b.$)(eP,e,tc&&0===t),[tm,td,tc,eP,eL]),tp=void 0===eZ?-18:0,tg=(eC=!!(G||X),ee?eC?5:48:eC?32:5),th=(0,l.useMemo)(()=>({left:tg,right:5}),[tg]),tv=eR??tf,tx=(0,l.useMemo)(()=>(function({labels:e,plotWidth:t,padding:r,fontSize:i,minTickGap:n}){let a=e.length;if(0===a||!Number.isFinite(t)||t<=0)return;let l=(t-r.left-r.right)/a,s=e.map((e,t)=>({coordinate:r.left+l*(t+.5),halfWidth:[...e].reduce((e,t)=>e+(z[t]??1)*i*1.07,0)/2}));for(let e=1;e<=a;e++)if(function({step:e,ticks:t,plotWidth:r,minTickGap:i}){let n=0;for(let[a,{coordinate:l,halfWidth:s}]of t.filter((t,r)=>r%e==0).entries()){let e=l-s>=n&&l+s<=r;if(a>0&&!e)return!1;n=l+s+i}return!0}({step:e,ticks:s,plotWidth:t,minTickGap:n}))return e-1;return a-1})({labels:e4.map((e,t)=>tv(String(e[L.l]),t)),plotWidth:Math.round(eX)-tp-(X?0:eZ??60),padding:th,fontSize:12,minTickGap:32}),[e4,tv,eX,tp,X,eZ,th]),ty=Math.ceil(te.length/2),tb=te.slice(0,ty),tw=te.slice(ty),tR=(0,l.useMemo)(()=>to?null:(0,t.jsx)(p.$,{ref:eq,width:"100%",height:Y,className:"relative z-10 w-full [&_svg]:outline-hidden",children:(0,t.jsxs)(c.f,{data:e4,className:"group",margin:{top:12*!X,left:tp},barSize:void 0===V?B:void 0,maxBarSize:V,onMouseMove:(t,r)=>{t?.activeLabel&&tt(e.find(e=>e.x===t.activeLabel)||null)},onTouchMove:(t,r)=>{t?.activeLabel&&tt(e.find(e=>e.x===t.activeLabel)||null)},onMouseLeave:()=>{(ef?.dismissTooltipOnLeave||eN)&&tt(null)},children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("pattern",{id:"forecastStripes",patternUnits:"userSpaceOnUse",width:"6",height:"6",patternTransform:"rotate(45)",children:[(0,t.jsx)("rect",{width:"6",height:"6",className:"fill-chart-tokens-uncached"}),(0,t.jsx)("rect",{width:"3",height:"6",className:"fill-background",fillOpacity:"0.15"})]})}),(0,t.jsx)("style",{children:` @keyframes glowPulse { 0% { opacity: 0.7; } 50% { opacity: 0.9; } 100% { opacity: 0.7; } } .forecast-bar { transition: opacity 0.3s ease-in-out; opacity: 0.8; } .forecast-bar:hover { animation: glowPulse 3s ease-in-out infinite; } `}),(0,t.jsx)(h.f,{dataKey:L.l,padding:th,fontSize:12,tickLine:!1,axisLine:!1,tickMargin:8,minTickGap:32,tick:void 0!==tx&&$,interval:tx,tickFormatter:tv}),(0,t.jsx)(v.f,{hide:X,width:eZ,fontSize:12,orientation:ee?"right":void 0,tickLine:!1,axisLine:!1,scale:e$?"log":"auto",allowDataOverflow:e$||void 0,ticks:e8??(J?[0,e3]:void 0),tick:W,interval:e8?"preserveEnd":0,padding:J?{top:15}:void 0,tickFormatter:e=>J||0!==e?eV?(0,i.I)(Math.round(e),{locale:eP,preset:"fee"})??"—":ey?.(Number(e))??(0,r.f)(e,{locale:eP,preset:"compact-rounded-thousands"})??"—":"",domain:e8?[e8[0],e8.at(-1)]:eV?[0,100]:J&&void 0!==e3?[0,e3]:void 0,className:(0,x.f)(G?"origin-left translate-x-4 md:translate-x-6 text-xs":""),children:G&&(0,t.jsx)(u.Q,{value:G,angle:-90,position:"insideLeft",offset:-10,className:(0,x.f)("fill-muted-foreground text-xs [text-anchor:middle]",q)})}),(0,t.jsx)(g.f,{active:void 0!==ef&&!ef.dismissTooltipOnLeave&&!eN||void 0,isAnimationActive:!1,wrapperStyle:eQ,allowEscapeViewBox:e0,cursor:!eM&&e5.length>1&&F,content:e=>{if(!e.active||!e.payload||ef?.hideTooltip||Z&&!e.payload.some(e=>"number"==typeof e.value&&e.value>0))return null;if(void 0!==eS&&null!==eD&&"string"==typeof e.label){let t=eS({x:e.label,seriesKey:eD});if(null!==t)return t}let r=e$?e5.find(t=>t[L.l]===e.label):void 0,i=e.payload.map(e=>{let t=r&&"string"==typeof e.dataKey?r[e.dataKey]:void 0;return"number"==typeof t?{...e,value:t}:e});return void 0===ef||eN?(0,t.jsx)(A.f,{...e,payload:i,shouldShowTime:tm,displayTimezone:eg,wrapperClassName:(0,x.f)(e.wrapperClassName,eJ),onLabel:ea??en,sortOrder:A.g.Descending,highlightedRef:tr,forecast:ec,valueFormatter:e1,...eN?{maxItems:Math.max(1,Math.floor((Y-A.b)/A.U))}:{}}):(0,t.jsx)(E.f,{...e,payload:i,totalConfig:eh,chartHeight:Y,isHighRes:tm,displayTimezone:eg})}}),[...e6].map(e=>(0,t.jsx)(s.e,{hide:eo?eo.has(e):void 0,onClick:t=>{if(ei?.(e)===!1)return;et?.(e);let r=t?.payload,i=r?.[L.l];"string"==typeof i&&er?.({x:i,seriesKey:e})},onMouseEnter:()=>ti(e),onMouseLeave:()=>tn(e),className:(0,x.f)(_.m,eM&&null!==eD?(0,L.I)(eD===e):[void 0!==eY&&(0,L.I)(eY===e),"group-hover:opacity-100 group-hover:hover:opacity-80"],(!!et||!!er)&&ei?.(e)!==!1&&"cursor-pointer"),dataKey:e,fill:(0,M.F)(e,e7),stackId:"a",isAnimationActive:em,shape:ev?function({barKey:e,topBarKeyByX:r,xLabelKey:i}){return function(a){let l=(0,n.f)(a.payload)?a.payload:void 0,s=l?.[i],o=("string"==typeof s||"number"==typeof s)&&r.get(s)===e;return(0,t.jsx)(d.f,{...a,radius:o?K:0})}}({barKey:e,topBarKeyByX:ts,xLabelKey:L.l}):void 0,children:void 0!==eA&&e4.map(r=>{let i=String(r[L.l]);return(0,t.jsx)(o.f,{fill:eA({x:i,seriesKey:e})??(0,M.F)(e,e7),stroke:"var(--color-card)",strokeWidth:1},i)})},e)),ec&&(0,t.jsx)(s.e,{hide:!1,className:"forecast-bar",dataKey:ec,fill:"url(#forecastStripes)",stackId:"a",isAnimationActive:em},tu),ew&&(0,t.jsx)(f.f,{y:ew.y,stroke:"currentColor",strokeDasharray:"3 3",className:"text-muted-foreground",ifOverflow:"extendDomain"}),eb&&(0,t.jsx)(m.f,{x1:eb.x1,x2:eb.x2,fill:"currentColor",fillOpacity:.12,stroke:"none",ifOverflow:"visible"})]})}),[eP,e6,B,V,Z,e7,I,eq,ev,ts,td,tc,e,eg,ec,tu,b.$,b.M,L.I,tt,ti,tn,to,Y,eo,eY,tr,em,tm,eV,ei,et,er,en,ea,L.l,e5,e4,tp,th,tx,tf,ef,e1,G,q,X,eZ,ey,J,ee,e3,eb,ew,eR,eh,e$,e8,e0,eJ,eQ,eN,eS,eA,eD,eM,eL]),tk=e_||eT?(0,t.jsxs)("div",{className:"flex items-center gap-2 self-end",children:[eT,e_&&(0,t.jsxs)(T.c,{"aria-label":eE("Y-axis scale"),size:"sm",value:e$?"log":"linear",onValueChange:e=>{eW("log"===e)},children:[(0,t.jsx)(T.Y,{value:"linear",children:eE("Linear")}),(0,t.jsx)(T.Y,{value:"log",children:eE("Log")})]})]}):null;if(to)return tk?(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[tk,(0,t.jsx)(C.f,{height:Y})]}):(0,t.jsx)(C.f,{height:Y});let tj=tk?(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[tk,tR]}):tR;if(void 0===ef)return ep?(0,t.jsx)("div",{"data-testid":ep,className:"contents",children:tj}):tj;let t_=e2||ef?.forceSingleColumn,tT=!!el,tI=(0,x.f)("grid grid-cols-1 md:grid-cols-2 gap-5",tT?"md:gap-20":"md:gap-16"),tN=te.length>0&&(0,t.jsxs)("div",{className:(0,x.f)("flex flex-col gap-5",e2?"w-64 shrink-0 pb-8":!ef?.forceSingleColumn&&!tT&&"px-2 md:px-16"),children:[(0,t.jsx)("div",{className:(0,x.f)(t_?"flex flex-col gap-3":tI),children:t_?te.map((e,r)=>(0,t.jsx)(S.f,{data:e,index:r,offset:1,onLabel:en,onIcon:el,isHighlighted:void 0===eH?void 0:eH===e.name,onMouseEnter:()=>ta(e.name),onMouseLeave:tl,isRanking:ef?.isRanking??!0,showPercentage:ef?.showPercentage??!0,valueFormatter:ef?.valueFormatter},e.name)):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex flex-col gap-y-5",children:tb.map((e,r)=>(0,t.jsx)(S.f,{data:e,index:r,offset:1,onLabel:en,onIcon:el,isHighlighted:void 0===eH?void 0:eH===e.name,onMouseEnter:()=>ta(e.name),onMouseLeave:tl,isRanking:ef?.isRanking??!0,showPercentage:ef?.showPercentage??!0,valueFormatter:ef?.valueFormatter},e.name))}),(0,t.jsx)("div",{className:"flex flex-col gap-y-5",children:tw.map((e,r)=>(0,t.jsx)(S.f,{data:e,index:r,offset:ty+1,onLabel:en,onIcon:el,isHighlighted:void 0===eH?void 0:eH===e.name,onMouseEnter:()=>ta(e.name),onMouseLeave:tl,isRanking:ef?.isRanking??!0,showPercentage:ef?.showPercentage??!0,valueFormatter:ef?.valueFormatter},e.name))})]})}),ef?.description&&(0,t.jsx)("p",{className:"text-muted-foreground text-sm pt-3",children:ef.description})]});return(0,t.jsxs)("div",{"data-testid":ep,className:(0,x.f)("relative",e2?"flex flex-row gap-6 items-center":"flex flex-col gap-10"),children:[(0,t.jsx)("div",{className:e2?"flex-1 min-w-0":void 0,children:tj}),tN]})},"TEST_formatDefaultTooltipValue",0,H],695880)},860674,82224,e=>{"use strict";var t=e.i(659350),r=e.i(261019),i=e.i(136562);e.s(["f",0,function(e){return({payload:n,index:a,tickFormatter:l,...s})=>(0,t.jsx)(r.f,{...s,className:(0,i.f)("recharts-cartesian-axis-tick-value",e),width:void 0,children:String(l?l(n.value,a):n.value)})}],860674);var n=e.i(663456),a=e.i(16043),l=e.i(336810);e.s(["f",0,function(e){let t,r,i,s,o,u,c,d,m=(0,n.c)(18),{enabled:f,hasBlockingLegend:p}=e,g=void 0!==p&&p;m[0]===Symbol.for("react.memo_cache_sentinel")?(t={containerWidth:0,spaceOnRight:0},m[0]=t):t=m[0];let[h,v]=(0,a.useState)(t),x=(0,a.useRef)(null),y=(0,a.useRef)(null);m[1]===Symbol.for("react.memo_cache_sentinel")?(r=e=>{if(y.current=e,!e){let e=x.current;e&&queueMicrotask(()=>{x.current===e&&null===y.current&&(e.disconnect(),x.current=null)});return}if(x.current?.element!==e){var t;let r,i;x.current?.disconnect(),x.current={element:e,disconnect:(t=e=>{v(t=>t.containerWidth===e.containerWidth&&t.spaceOnRight===e.spaceOnRight?t:e)},r=()=>{let r=e.getBoundingClientRect();t({containerWidth:r.width,spaceOnRight:window.innerWidth-r.right})},(i="u"{i?.disconnect(),window.removeEventListener("resize",r)})}}},m[1]=r):r=m[1];let b=r;m[2]===Symbol.for("react.memo_cache_sentinel")?(i=()=>()=>{x.current?.disconnect(),x.current=null},s=[],m[2]=i,m[3]=s):(i=m[2],s=m[3]),(0,a.useEffect)(i,s),m[4]!==f||m[5]!==g||m[6]!==h?(o=function({enabled:e,spaceOnRight:t,containerWidth:r,hasBlockingLegend:i=!1}){return e&&!i&&r>0&&t>=24+l.U+8}({enabled:f,hasBlockingLegend:g,...h}),m[4]=f,m[5]=g,m[6]=h,m[7]=o):o=m[7];let w=o;m[8]!==h.containerWidth||m[9]!==w?(u=function({containerWidth:e,shouldUseRightPlacement:t}){return t?{zIndex:10,position:"absolute",left:e+24,top:16,width:"max-content",transform:"none",transition:"none"}:{zIndex:10}}({containerWidth:h.containerWidth,shouldUseRightPlacement:w}),m[8]=h.containerWidth,m[9]=w,m[10]=u):u=m[10];let R=u,k=w?"absolute left-0 top-0":void 0;m[11]!==w?(c={x:w,y:w},m[11]=w,m[12]=c):c=m[12];let j=c;return m[13]!==h.containerWidth||m[14]!==j||m[15]!==k||m[16]!==R?(d={containerRef:b,containerWidth:h.containerWidth,tooltipWrapperStyle:R,tooltipContentClassName:k,tooltipAllowEscapeViewBox:j},m[13]=h.containerWidth,m[14]=j,m[15]=k,m[16]=R,m[17]=d):d=m[17],d}],82224)},707951,e=>{"use strict";var t=e.i(336810);e.s(["Y",0,function(e,r=t.N){let i=e.filter(e=>"Others"!==e).sort(),n=new Map;return i.forEach((e,i)=>{n.set(e,r[i%r.length]??t.F.Slate400)}),e.includes("Others")&&n.set("Others",t.F.Slate400),n},"F",0,function(e,r,i=t.F.Slate400){return r.get(e)??i}])},808125,e=>{"use strict";var t=e.i(667417),r=e.i(387086);let i={[t.D.Text]:(0,r.b)("Text"),[t.D.Image]:(0,r.b)("Image"),[t.D.File]:(0,r.b)("File"),[t.D.Audio]:(0,r.b)("Audio"),[t.D.Video]:(0,r.b)("Video")},n={[t.j.Text]:(0,r.b)("Text"),[t.j.Image]:(0,r.b)("Image"),[t.j.Embeddings]:(0,r.b)("Embeddings"),[t.j.Audio]:(0,r.b)("Audio"),[t.j.Video]:(0,r.b)("Video"),[t.j.Rerank]:(0,r.b)("Rerank"),[t.j.Decisions]:(0,r.b)("Decisions"),[t.j.TTS]:(0,r.b)("Speech"),[t.j.Transcription]:(0,r.b)("Transcription")};e.s(["Z",0,i,"L",0,n])},503741,e=>{"use strict";var t=e.i(989487),r=e.i(960773);e.s(["m",0,"v3","D",0,{Playground:"model_page_playground",SidePanelSeed:"model_page_sidepanel_seed",PlaygroundSection:"model_page_playground_section"},"O",0,function(e){let i=Object.fromEntries(Object.entries(e).map(([e,r])=>[(0,t.h)(e),r]));r.j.capture("playground_v3:fetch_responses",i)}])},369214,e=>{"use strict";var t=e.i(667417);let r=[t.j.Image,t.j.Video];e.s(["f",0,r])},67284,e=>{"use strict";e.s(["f",0,"/provider/_dashboard"])},146229,e=>{"use strict";var t=e.i(663456),r=e.i(618115),i=e.i(73668),n=e.i(173465),a=e.i(613497),l=e.i(819750),s=e.i(524287),o=e.i(67284);let u=(0,s.f)("provider-dashboard-access",{detail:(e,t)=>[{providerSlug:e,entityId:t}]});e.s(["f",0,function(e){let s,c,d=(0,t.c)(6),{contextEntityId:m}=(0,i.useEntity)();if(d[0]!==m||d[1]!==e)s=(0,n.f)({queryKey:u.detail(e,m),queryFn:null===m?a.V:({signal:t})=>(0,l.f)(`${o.f}/api/v1/providers/${encodeURIComponent(e)}/access`,{signal:t})}),d[0]=m,d[1]=e,d[2]=s;else s=d[2];let{data:f}=(0,r.f)(s),p=void 0!==f;return d[3]!==f||d[4]!==p?(c={access:f,hasResolved:p},d[3]=f,d[4]=p,d[5]=c):c=d[5],c}],146229)},51365,e=>{"use strict";e.i(640216);let t=new Set(["ac","co","com","edu","go","gob","gov","ltd","me","ne","net","nom","or","org","plc","sch"]),r=(e,t=256)=>`https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${e}&size=${t}`,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=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i,a=r("https://huggingface.co/");e.s(["t",0,a,"g",0,e=>`/api/frontend/v1/apps/${e}/icon`,"e",0,r,"r",0,e=>`/images/icons/${e}`,"Z",0,e=>{let r=(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===r)return null;let n=r.split(".").slice(1);if(n.length<2||2===n.length&&2===(n[1]??"").length&&t.has(n[0]??""))return null;let a=n.join(".");return[...i].some(e=>a===e||a.endsWith(`.${e}`))?null:`https://${a}`},"Q",0,e=>{try{return n.test(new URL(e).pathname)}catch{return!1}},"$",0,e=>{try{let t=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===t||t.endsWith(".openrouter.ai")}catch{return!1}}],51365)},927099,e=>{"use strict";e.i(647204),e.i(368174),e.i(882844);var t=e.i(635157);t.z.object({endpoint_slug:t.z.string().min(1).optional(),continuation:t.z.literal(!0).optional(),deferred_delta:t.z.string().min(1).optional(),compaction_summary:t.z.string().min(1).optional()}).passthrough();var r=e.i(983335);function i(e){let t=r.U[e];return t?[r.G[e],r.G[t]]:[r.G[e]]}var n=e.i(988590);e.i(691880);let a=["org_","user_"];function l(e){let t=e.split("/")[1];return void 0!==t&&a.some(e=>t.startsWith(e))?t:null}var s=e.i(480534);function o(e){let t=e.indexOf("/"),r=-1===t?e:e.slice(0,t),i=l(e);return null===i?r:`${r}/${i}`}function u(e){if(!e.includes("/"))return null;let t=e.split("/").at(-1);return(0,n.q)(t,s.$)?t:null}function c(e){let t=u(e);return null===t?e:e.slice(0,e.length-t.length-1)}function d(e){let t=e.split("/");return t.length<3?null:t.slice(0,2).join("/")}function m(e){return null===e?[]:[e]}e.s(["H",0,function(e,t){let n=new Set(e.filter(e=>!(0,r.T)(e))),a=new Set,l=new Set;for(let e of n){let t=[e].filter(r.I).flatMap(i);for(let r of(0===t.length&&l.add(e),t))a.add(r)}for(let e of t)n.has(e.provider_name)&&(a.add(o(e.provider_slug)),l.delete(e.provider_name));for(let e of l)a.add(e);return a},"y",0,function(e){let t=new Map;for(let r of e){if(void 0!==r.service_tier)continue;let e=t.get(r.model.permaslug)??new Set;e.add(r.provider_slug),t.set(r.model.permaslug,e)}return t},"v",0,function(e){if(void 0===e.service_tier)return;let t=e.provider_slug.split("/").at(-1);return(0,s.U)(e.service_tier).find(e=>e===t)??e.service_tier},"O",0,function(e){return void 0===e.service_tier?c(e.provider_slug):e.provider_slug.split("/").slice(0,-1).join("/")},"u",0,o,"T",0,function(e,t,r){return(function(e,t){if(null===l(e.provider_slug))return t(e);let r={...e,provider_slug:function(e){if(null===l(e))return e;let[t,,...r]=e.split("/");return[t,...r].join("/")}(e.provider_slug)};return[...new Set([...t(e),...t(r)])]})(e,e=>(function(e,t){let r=e.provider_slug;if(void 0===e.service_tier){let e,t=null===(e=u(r))?null:`${o(r)}/${e}`,i=c(r);return[...new Set([r,...null===t?[]:[t],i,...m(d(i)),o(r)])]}let i=r.split("/").slice(0,-1).join("/");return[...new Set([...(function(e){if(void 0===e.service_tier)return[e.provider_slug];let t=e.provider_slug.split("/").slice(0,-1).join("/"),r=o(e.provider_slug),i=(0,s.U)(e.service_tier),n=d(t);return[...new Set([...[t,...null===n?[]:[n]].flatMap(e=>i.map(t=>`${e}/${t}`)),...i.map(e=>`${r}/${e}`)])].filter(e=>!e.startsWith("/"))})(e).filter(e=>!t?.has(e)),...""===i?[]:[i],...m(d(i)),o(r)])]})(e,r)).some(e=>t.has(e))}],927099)},989487,e=>{"use strict";let t=/(?<=[\p{Ll}\d])(?=\p{Lu})|(?<=\p{Lu})(?=\p{Lu}\p{Ll})/u,r=/(?<=[\p{Ll}\d])(?=\p{Lu})|(?<=\p{Lu})(?=\p{Lu}\p{Ll})|(?<=\d)(?=\p{Ll})|(?<=\p{L})(?=\d)/u;function i(e,{style:n,options:a={}}){let l=0,s=e.length;for(;ll&&a.suffixCharacters?.includes(e.charAt(s-1));)s--;let o=(a.split??(e=>(function(e,i){let n=e.match(/[\p{L}\d]+/giu);if(null===n)return[];let a=i?r:t;if(1===n.length)return n[0].split(a);let l=[];for(let e of n)for(let t of e.split(a))l.push(t);return l})(e,a.separateNumbers)))(e.slice(l,s)),u=a.locale,c=a.locale,d=!1===u?e=>e.toLowerCase():e=>e.toLocaleLowerCase(u),m=!1===c?e=>e.toUpperCase():e=>e.toLocaleUpperCase(c),f="camel"===n||"pascal"===n,p=(e,t)=>{let r=e[0];return(f&&!a.mergeAmbiguousCharacters&&t>0&&/^[0-9]$/.test(r)?"_":"")+m(r)+d(e.slice(1))},g=p;"lower"===n&&(g=d),"camel"===n&&(g=(e,t)=>0===t?d(e):p(e,t)),"sentence"===n&&(g=(e,t)=>0===t?p(e,t):d(e));let h=o.map(g);return e.slice(0,l)+h.join(a.delimiter??(f?"":" "))+e.slice(s)}e.s(["j",0,function(e,t){return i(e,{style:"capital",options:t})},"O",0,function(e,t){return i(e,{style:"lower",options:{delimiter:"-",...t}})},"F",0,function(e,t){return i(e,{style:"sentence",options:t})},"h",0,function(e,t){return i(e,{style:"lower",options:{delimiter:"_",...t}})}])},640216,e=>{"use strict";var t=e.i(914571),r=e.i(647204),i=e.i(30012);function n(e){let t=e.replaceAll(/^\[|\]$/g,""),r=o(t);if(r)return n(r);if(a(t)){let e=Number.parseInt(t.split(".")[0]??"",10);return 0===e||127===e}let i=l(t);if(i)return i.slice(0,15).every(e=>0===e)&&(0===i[15]||1===i[15]);let s=u(t);return"localhost"===s||s.endsWith(".localhost")||s.includes(":")}function a(e){let t=e.split(".");return 4===t.length&&t.every(e=>/^\d{1,3}$/.test(e)&&Number(e)>=0&&255>=Number(e))}function l(e){let t=e.replaceAll(/^\[|\]$/g,"").toLowerCase(),r=t.indexOf("%");if(-1!==r){if(0===r||r===t.length-1)return null;t=t.slice(0,r)}if(!t.includes(":"))return null;if(t.includes(".")){let e=t.lastIndexOf(":");if(-1===e)return null;let r=t.slice(e+1);if(!a(r))return null;let i=r.split(".").map(Number),n=(i[0]??0)<<8|(i[1]??0),l=(i[2]??0)<<8|(i[3]??0);t=`${t.slice(0,e+1)}${n.toString(16)}:${l.toString(16)}`}let i=t.indexOf("::");if(i!==t.lastIndexOf("::"))return null;let n=-1!==i?function(e,t){let r=e.slice(0,t),i=e.slice(t+2),n=""===r?[]:r.split(":"),a=""===i?[]:i.split(":");if(n.some(e=>""===e)||a.some(e=>""===e))return null;let l=8-n.length-a.length;return l<1?null:[...n,...Array.from({length:l},()=>"0"),...a]}(t,i):t.split(":");return null===n||8!==n.length||n.some(e=>!/^[0-9a-f]{1,4}$/.test(e))?null:n.flatMap(e=>{let t=Number.parseInt(e,16);return[t>>8&255,255&t]})}function s(e){return 254===e[0]&&((e[1]??0)&192)==128}function o(e){let t=l(e);if(null===t)return null;let r=t.slice(0,10).every(e=>0===e)&&255===t[10]&&255===t[11],i=t.slice(0,12).every(e=>0===e),n=t.slice(0,15).every(e=>0===e)&&(0===t[15]||1===t[15]);return!r&&!i||i&&n?null:`${t[12]}.${t[13]}.${t[14]}.${t[15]}`}function u(e){let t=e.toLowerCase(),r=t.length;for(;r>0&&"."===t[r-1];)r-=1;return t.slice(0,r)}t.n,e.s(["b",0,function(e,t){return"https:"===e.protocol||"http:"===e.protocol&&t&&n(e.hostname)},"i",0,function(e){let t=u(e);return"cfargotunnel.com"===t||t.endsWith(".cfargotunnel.com")},"y",0,n,"r",0,function(e){let t=u(e);return"openrouter.ai"===t||t.endsWith(".openrouter.ai")},"E",0,function(e,t={}){let c,d,m,f;try{c=new URL(e)}catch{return(0,r.Y)("Invalid URL format")}let p=c.hostname.toLowerCase(),g=c.protocol,h=(0,i.T)()&&!0;if(n(p)&&h)return"http:"!==g&&"https:"!==g?(0,r.Y)("Only HTTP and HTTPS protocols are allowed"):(0,r.N)(!0);if(n(p))return(0,r.Y)("Localhost URLs are not allowed");if(function e(t){let r=o(t.replaceAll(/^\[|\]$/g,""));if(r)return e(r)||n(r);if(a(t)){let e=t.split(".").map(Number);if(4!==e.length||e.some(e=>Number.isNaN(e)))return!1;let[r,i]=e;return void 0!==r&&void 0!==i&&(10===r||172===r&&i>=16&&i<=31||192===r&&168===i||100===r&&i>=64&&i<=127||169===r&&254===i)}if(null!==l(t)){let e=l(t);return null!==e&&(((e[0]??0)&254)==252||s(e))}return!1}(p))return(0,r.Y)("Private IP addresses are not allowed");if(function(e){if(a(e)){let t=e.split(".").map(Number);if(4===t.length&&169===t[0]&&254===t[1])return!0}if(null!==l(e)){let t=l(e);return null!==t&&s(t)}return!1}(p)||"metadata.google.internal"===(d=u(p))||d.endsWith(".metadata.google.internal")||(m=u(p)).endsWith(".svc")||m.endsWith(".svc.cluster.local")||m.endsWith(".cluster.local")||(f=u(p)).endsWith(".internal")||f.endsWith(".local"))return(0,r.Y)("Unsupported URL, public internet addresses only");if(!h&&"https:"!==g){if(!t.allowHttp)return(0,r.Y)("Only HTTPS URLs are allowed");if("http:"!==g)return(0,r.Y)("Only HTTP and HTTPS protocols are allowed")}return h&&"http:"!==g&&"https:"!==g?(0,r.Y)("Only HTTP and HTTPS protocols are allowed in dev"):(0,r.N)(!0)}],640216)},814492,e=>{"use strict";var t,r,i=e.i(169798),n=e.i(335609),a=e.i(647204);e.i(30012);var l=e.i(882844),s=e.i(635157);let o=(r=[(t=s.z.object({PROVIDER_ENCRYPTION_KEY:s.z.string().nullish(),SIGNUP_CF_SEAL_KEY:s.z.string().nullish(),CALLBACK_URL_ENCRYPTION_KEY:s.z.string().nullish(),AUTH_USER_SALT:s.z.string().default("default-salt"),CI:s.z.string().default(""),SITE_URL:s.z.string().nullish()}),e=>{let r=(0,l.C)(t,e??i.default.env);return(0,a.V)(r)?(0,a.Y)(r.error.message):(0,a.N)(r.data)})],function(e){let t=[];for(let i of r){let r=i(e);if((0,a.V)(r))return r;t.push(r.data)}return(0,a.N)(Object.assign({},...t))});var u=e.i(640216);e.s(["G",0,()=>{var e;return e={production:"https://internal.openrouter.ai",local:"http://localhost:3001"},(0,u.y)(window.location.hostname)?e.local:e.production},"P",0,()=>{let e=[(0,a.u)(o()).SITE_URL,i.default?.env?.NEXT_PUBLIC_SITE_URL,i.default?.env?.NEXT_PUBLIC_VERCEL_URL].map(e=>e?.trim()).find(e=>!!e)??"https://openrouter.ai";return(0,n.d)(e.includes("http")?e:`https://${e}`)},"c",0,function(e){let t=e.replaceAll(/([!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~])/g,"_");return t.match(/^(?:\d|--|-\d)/)?`_${t}`:t}],814492)},691880,e=>{"use strict";e.i(647204);var t,r=((t={}).Global="global",t.Europe="europe",t.Us="us",t);let i={global:"openrouter.ai",europe:"eu.openrouter.ai",us:"us.openrouter.ai"};new Set(Object.values(i)),e.s(["P",()=>r,"_",0,i])},667417,e=>{"use strict";var t,r,i=e.i(988590),n=((t={}).Text="text",t.Image="image",t.Embeddings="embeddings",t.Audio="audio",t.Video="video",t.Rerank="rerank",t.Decisions="decisions",t.TTS="speech",t.Transcription="transcription",t),a=((r={}).Text="text",r.Image="image",r.File="file",r.Audio="audio",r.Video="video",r);let l=(0,i.v)(a),s=(0,i.v)(n);e.s(["v",0,l,"D",()=>a,"Z",0,s,"j",()=>n,"f",0,["text","image","video","speech","transcription","embeddings","rerank","decisions","audio"],"K",0,function(e){return 1===e.length&&e.includes("text")}])},983739,e=>{"use strict";var t,r=((t={}).Price="price",t.Throughput="throughput",t.Latency="latency",t.Exacto="exacto",t);e.s(["f",()=>r])},983335,e=>{"use strict";var t=e.i(988590),r=e.i(771271);function i(e){var t;let{envKey:r,...i}=e;return{...i,envKey:void 0===r?(t=e.slug,`${t.toUpperCase().replaceAll("-","_")}_API_KEY`):r}}let n={[r.R.AnyScale]:i({slug:"anyscale",isDead:!0}),[r.R.Atoma]:i({slug:"atoma",isDead:!0}),[r.R.CentML]:i({slug:"centml",isDead:!0}),[r.R.CrofAI]:i({slug:"crofai",isDead:!0}),[r.R.Enfer]:i({slug:"enfer",isDead:!0}),[r.R.GoPomelo]:i({slug:"gopomelo",isDead:!0}),[r.R.HuggingFace]:i({slug:"huggingface",isDead:!0}),[r.R.Hyperbolic]:i({slug:"hyperbolic",isDead:!0}),[r.R.HyperbolicQuantized]:i({slug:"hyperbolic-quantized",isDead:!0}),[r.R.InoCloud]:i({slug:"inocloud",isDead:!0}),[r.R.Kluster]:i({slug:"klusterai",isDead:!0}),[r.R.Lambda]:i({slug:"lambda",isDead:!0}),[r.R.Lepton]:i({slug:"lepton",isDead:!0}),[r.R.Lynn]:i({slug:"lynn",isDead:!0}),[r.R.LynnPrivate]:i({slug:"lynn-private",isDead:!0}),[r.R.Mancer]:i({slug:"mancer-old",isDead:!0}),[r.R.Modal]:i({slug:"modal"}),[r.R.NCompass]:i({slug:"ncompass",isDead:!0}),[r.R.Nineteen]:i({slug:"nineteen",isDead:!0}),[r.R.OctoAI]:i({slug:"octoai",isDead:!0}),[r.R.Recursal]:i({slug:"recursal",isDead:!0}),[r.R.Reflection]:i({slug:"reflection",isDead:!0}),[r.R.Replicate]:i({slug:"replicate",isDead:!0,iconInvertTheme:"dark"}),[r.R.SambaNovaCloaked]:i({slug:"sambanova-cloaked",isDead:!0}),[r.R.SFCompute]:i({slug:"sf-compute",isDead:!0,iconInvertTheme:"dark"}),[r.R.Targon]:i({slug:"targon",isDead:!0}),[r.R.TogetherLite]:i({slug:"together-lite",isDead:!0}),[r.R.Ubicloud]:i({slug:"ubicloud",isDead:!0}),[r.R.ZeroOneAI]:i({slug:"01ai",isDead:!0}),[r.R.AkashML]:i({slug:"akashml",envKey:"AKASH_API_KEY"}),[r.R.AI21]:i({slug:"ai21"}),[r.R.AionLabs]:i({slug:"aion-labs"}),[r.R.Alibaba]:i({slug:"alibaba",envKey:null}),[r.R.Ambient]:i({slug:"ambient",envKey:null}),[r.R.AntDigital]:i({slug:"antdigital",envKey:"ANT_DIGITAL_API_KEY"}),[r.R.Baidu]:i({slug:"baidu"}),[r.R.AmazonBedrock]:i({slug:"amazon-bedrock"}),[r.R.AmazonNova]:i({slug:"amazon-nova"}),[r.R.Anthropic]:i({slug:"anthropic",envKey:null}),[r.R.ArceeAI]:i({slug:"arcee-ai",envKey:null}),[r.R.AssemblyAI]:i({slug:"assemblyai"}),[r.R.AtlasCloud]:i({slug:"atlas-cloud"}),[r.R.Avian]:i({slug:"avian"}),[r.R.Azure]:i({slug:"azure",envKey:null}),[r.R.Baseten]:i({slug:"baseten",envKey:null}),[r.R.BytePlus]:i({slug:"byteplus"}),[r.R.BlackForestLabs]:i({slug:"black-forest-labs"}),[r.R.Cerebras]:i({slug:"cerebras"}),[r.R.Chutes]:i({slug:"chutes",envKey:null}),[r.R.Cirrascale]:i({slug:"cirrascale"}),[r.R.ClaudeOnAws]:i({slug:"claude-on-aws"}),[r.R.Clarifai]:i({slug:"clarifai"}),[r.R.Cloudflare]:i({slug:"cloudflare",envKey:"CLOUDFLARE_AI_JSON_API_KEY"}),[r.R.Cohere]:i({slug:"cohere",envKey:null}),[r.R.CoreWeave]:i({slug:"coreweave",envKey:"WANDB_API_KEY"}),[r.R.Cosine]:i({slug:"cosine"}),[r.R.Crucible]:i({slug:"crucible",isManagedOnly:!0}),[r.R.Crusoe]:i({slug:"crusoe"}),[r.R.Darkbloom]:i({slug:"darkbloom"}),[r.R.Databricks]:i({slug:"databricks"}),[r.R.Decart]:i({slug:"decart"}),[r.R.Deepgram]:i({slug:"deepgram"}),[r.R.DeepInfra]:i({slug:"deepinfra"}),[r.R.DeepSeek]:i({slug:"deepseek",envKey:null}),[r.R.DekaLLM]:i({slug:"dekallm"}),[r.R.DigitalOcean]:i({slug:"digitalocean",envKey:"DIGITAL_OCEAN_API_KEY"}),[r.R.ElevenLabs]:i({slug:"elevenlabs"}),[r.R.Featherless]:i({slug:"featherless"}),[r.R.Fireworks]:i({slug:"fireworks"}),[r.R.FishAudio]:i({slug:"fish-audio"}),[r.R.Friendli]:i({slug:"friendli"}),[r.R.GMICloud]:i({slug:"gmicloud",envKey:"GMI_CLOUD_API_KEY",iconInvertTheme:"dark"}),[r.R.Google]:i({slug:"google-vertex",envKey:null}),[r.R.GoogleAIStudio]:i({slug:"google-ai-studio"}),[r.R.Groq]:i({slug:"groq"}),[r.R.HeyGen]:i({slug:"heygen"}),[r.R.Inception]:i({slug:"inception",envKey:null,iconInvertTheme:"dark"}),[r.R.Inceptron]:i({slug:"inceptron"}),[r.R.InferenceNet]:i({slug:"inference-net",iconInvertTheme:"dark"}),[r.R.Ionstream]:i({slug:"ionstream"}),[r.R.Infermatic]:i({slug:"infermatic"}),[r.R.IONet]:i({slug:"io-net"}),[r.R.InferactVLLM]:i({slug:"inferact-vllm"}),[r.R.Inflection]:i({slug:"inflection"}),[r.R.KT]:i({slug:"kt"}),[r.R.Liquid]:i({slug:"liquid",iconInvertTheme:"dark"}),[r.R.Makora]:i({slug:"makora"}),[r.R.Mara]:i({slug:"mara"}),[r.R.MancerPrivate]:i({slug:"mancer"}),[r.R.Meta]:i({slug:"meta"}),[r.R.Minimax]:i({slug:"minimax"}),[r.R.ModelRun]:i({slug:"modelrun",envKey:"MODEL_RUN_API_KEY"}),[r.R.Mistral]:i({slug:"mistral",envKey:null}),[r.R.Modular]:i({slug:"modular"}),[r.R.MoonshotAI]:i({slug:"moonshotai"}),[r.R.Morph]:i({slug:"morph",envKey:"MORPH_LLM_API_KEY"}),[r.R.VoyageAI]:i({slug:"voyageai"}),[r.R.TypeSafe]:i({slug:"typesafe",envKey:"TYPESAFE_AI_API_KEY"}),[r.R.NearAI]:i({slug:"near-ai"}),[r.R.Nebius]:i({slug:"nebius",iconInvertTheme:"dark"}),[r.R.NexAGI]:i({slug:"nex-agi"}),[r.R.NextBit]:i({slug:"nextbit"}),[r.R.Novita]:i({slug:"novita"}),[r.R.Nvidia]:i({slug:"nvidia"}),[r.R.Ollama]:i({slug:"ollama"}),[r.R.OpenAI]:i({slug:"openai",iconInvertTheme:"dark"}),[r.R.OpenInference]:i({slug:"open-inference",envKey:"OPENINFERENCE_API_KEY",iconInvertTheme:"light"}),[r.R.Parallel]:i({slug:"parallel",envKey:"PARALLEL_DECISIONS_API_KEY"}),[r.R.Parasail]:i({slug:"parasail"}),[r.R.ParetoAlpha]:i({slug:"pareto-alpha"}),[r.R.ParticleAI]:i({slug:"particle-ai",envKey:"PARTICLE_API_KEY",iconInvertTheme:"dark"}),[r.R.PearlResearch]:i({slug:"pearl-research"}),[r.R.Poolside]:i({slug:"poolside"}),[r.R.PrimaLabs]:i({slug:"primalabs",iconInvertTheme:"dark"}),[r.R.PrimeIntellect]:i({slug:"primeintellect",envKey:"PRIME_INTELLECT_API_KEY"}),[r.R.Perceptron]:i({slug:"perceptron"}),[r.R.Perplexity]:i({slug:"perplexity"}),[r.R.Phala]:i({slug:"phala"}),[r.R.Recraft]:i({slug:"recraft",iconInvertTheme:"dark"}),[r.R.Recursive]:i({slug:"recursive",envKey:"RECURSIVE_SGLANG_API_KEY",iconInvertTheme:"dark"}),[r.R.Reka]:i({slug:"reka"}),[r.R.Relace]:i({slug:"relace"}),[r.R.Respan]:i({slug:"respan"}),[r.R.River]:i({slug:"river",envKey:"RIVER_AI_API_KEY"}),[r.R.SailResearch]:i({slug:"sail-research",envKey:"SAIL_PARTNER_API_KEY"}),[r.R.SakanaAI]:i({slug:"sakana"}),[r.R.SambaNova]:i({slug:"sambanova"}),[r.R.ScaleDown]:i({slug:"scaledown"}),[r.R.Seed]:i({slug:"seed",envKey:null}),[r.R.SiliconFlow]:i({slug:"siliconflow",envKey:"SILICON_FLOW_API_KEY"}),[r.R.Sourceful]:i({slug:"sourceful",envKey:null}),[r.R.Speechify]:i({slug:"speechify"}),[r.R.StepFun]:i({slug:"stepfun",envKey:"STEP_FUN_API_KEY"}),[r.R.Stealth]:i({slug:"stealth",iconInvertTheme:"dark",isManagedOnly:!0}),[r.R.StreamLake]:i({slug:"streamlake"}),[r.R.Switchpoint]:i({slug:"switchpoint"}),[r.R.Tencent]:i({slug:"tencent"}),[r.R.Tenstorrent]:i({slug:"tenstorrent"}),[r.R.ThinkingMachines]:i({slug:"thinkingmachines",envKey:null}),[r.R.Together]:i({slug:"together"}),[r.R.Unbiased]:i({slug:"unbiased",envKey:"UNBIASED_AI_API_KEY"}),[r.R.Upstage]:i({slug:"upstage",envKey:null}),[r.R.Venice]:i({slug:"venice",envKey:null}),[r.R.Wafer]:i({slug:"wafer"}),[r.R.WandB]:i({slug:"wandb-legacy",envKey:"WANDB_API_KEY"}),[r.R.Quiver]:i({slug:"quiver"}),[r.R.Krea]:i({slug:"krea"}),[r.R.Runway]:i({slug:"runway"}),[r.R.Xiaomi]:i({slug:"xiaomi"}),[r.R.XAI]:i({slug:"xai",envKey:null}),[r.R.ZAI]:i({slug:"z-ai",iconInvertTheme:"dark"}),[r.R.FakeProvider]:i({slug:"fake-provider",isInternal:!0})};Object.values(r.R).flatMap(e=>{let t=n[e];return t.isDead||null===t.envKey?[]:[t.envKey]});let a=Object.fromEntries(Object.entries(r.R).filter(e=>!m(e[1]))),l=(0,t.x)(a),s=Object.values(a).filter(e=>!0!==n[e].isInternal),o=Object.fromEntries(Object.values(r.R).map(e=>[e,n[e].slug])),u=Object.entries(o).filter(e=>d(e[0])),c=Object.fromEntries(u);function d(e){return l.has(e)}function m(e){return(0,r.Z)(e)&&!0===n[e].isDead}function f(e){if(!(0,r.Z)(e))return!1;let{isManagedOnly:t,isInternal:i}=n[e];return!0===t||!0===i}new Set(Object.values(a).filter(e=>!f(e)));let p=Object.fromEntries(u.map(([e,t])=>[t,e])),g={"amazon-bedrock/claude-on-aws":r.R.ClaudeOnAws,"anthropic/2":r.R.ClaudeOnAws,"sakana-ai":r.R.SakanaAI,wandb:r.R.CoreWeave},h=Object.entries(g).filter(([,e])=>d(e)).map(([e])=>e),v={[r.R.WandB]:r.R.CoreWeave};function x(e){let t=e.toLowerCase();return Object.hasOwn(p,t)?p[t]:Object.hasOwn(g,t)?g[t]:void 0}e.s(["H",0,a,"u",0,h,"A",0,function(e){let t=x(e);return t?o[t]:void 0},"c",0,x,"T",0,m,"M",0,f,"I",0,d,"k",0,function(e){return!(0,r.Z)(e)},"U",0,v,"G",0,o,"Q",0,c,"Y",0,p,"h",0,function(e){return void 0!==e&&(0,r.Z)(e)?e:void 0},"d",0,s],983335)},480534,e=>{"use strict";e.i(427150);var t=e.i(988590);let r={Default:"default",Flex:"flex",Priority:"priority",Ultrafast:"ultrafast"},i={Flex:r.Flex,Priority:r.Priority,Ultrafast:r.Ultrafast},n={Fast:"fast"},a={Flex:i.Flex,Priority:i.Priority,Ultrafast:i.Ultrafast,Fast:n.Fast};a.Flex,a.Priority,a.Ultrafast,a.Fast;let l={...a,Turbo:"turbo",Highspeed:"highspeed",Prime:"prime"},s={[l.Flex]:i.Flex,[l.Priority]:i.Priority,[l.Ultrafast]:i.Ultrafast,[l.Fast]:i.Priority,[l.Turbo]:i.Priority,[l.Highspeed]:i.Priority,[l.Prime]:i.Priority};function o(e){return s[e]}let u={[l.Flex]:"Flex",[l.Priority]:"Priority",[l.Ultrafast]:"Ultrafast",[l.Fast]:"Fast",[l.Turbo]:"Turbo",[l.Highspeed]:"Highspeed",[l.Prime]:"Prime"};function c(e){let a=function(e){if("string"!=typeof e)return null;let i=(0,t.q)(e,n)?o(e):e;return(0,t.q)(i,r)?i:null}(e);return null!==a&&(0,t.q)(a,i)?a:null}r.Default,r.Default,l.Fast,r.Priority,r.Default,e.s(["$",0,i,"H",0,r,"e",0,n,"X",0,l,"B",0,c,"I",0,function(e){return Array.isArray(e)?e.map(c).filter(e=>null!==e):null},"C",0,o,"N",0,function(e){return u[e]},"U",0,function(e){return Object.values(l).filter(t=>o(t)===e)}])},84130,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(134611),n=e.i(481066),a=e.i(942960),l=e.i(695880),s=e.i(535072),o=e.i(895966),u=e.i(205194);e.i(16043);var c=e.i(785087),d=e.i(62705),m=e.i(758261);function f(e){return(0,a.f)(e)}function p(e){return Object.keys(e.ys)}e.s(["ModelCharts",0,function(e){let g,h,v,x,y,b,w,R=(0,r.c)(35),{data:k,isPercentage:j,forecast:_,forecastFromTimestamp:T,shouldNavigateOnClick:I,otherModelsHref:N,showLogScaleToggle:S,headerControl:A,colorMapping:M,openLinksInNewTab:C,shortenModelNames:L,yAxisLabel:E,valueFormatter:P,yAxisTickFormatter:O,getModelInfoByPermaslug:U}=e,D=void 0!==j&&j,F=void 0!==S&&S,z=void 0!==C&&C,K=void 0!==L&&L,$=(0,s.x)(),W=(0,u.f)();R[0]!==k||R[1]!==U?(g=[...new Set(k.flatMap(p))].map(f).filter(e=>"others"!==e.toLowerCase()&&(U?.(e)??null)===null),R[0]=k,R[1]=U,R[2]=g):g=R[2];let H=g,Y=(0,o.f)(H);R[3]!==Y||R[4]!==U?(h=e=>U?.(e)??Y.getPrimaryModelInfoByPermaslug(e),R[3]=Y,R[4]=U,R[5]=h):h=R[5];let B=h;e:{let e;if(!K){let e;R[6]===Symbol.for("react.memo_cache_sentinel")?(e=new Map,R[6]=e):e=R[6],v=e;break e}if(R[7]!==k||R[8]!==B){let t=new Map;for(let e of k)for(let r of Object.keys(e.ys)){let e=B((0,a.f)(r));t.set(r,e?(0,c.b)(e,r):{name:r,distinctName:r})}e=(0,c.q)(t),R[7]=k,R[8]=B,R[9]=e}else e=R[9];v=e}let V=v;R[10]!==V||R[11]!==B||R[12]!==K?(x=e=>{if(!e||"string"!=typeof e)return"--";if("others"===e.toLowerCase())return"Others";let t=B((0,a.f)(e)),r=t?(0,c.b)(t,e).name:e;return K?V.get(e)??(0,n.f)(r,{shorten:!0,preserveVariant:!0}):r},R[10]=V,R[11]=B,R[12]=K,R[13]=x):x=R[13];let Z=x;R[14]!==B||R[15]!==z||R[16]!==N||R[17]!==W?(y=e=>{if("others"===e.toLowerCase())return void(z?(0,m.S)(e,N):W.push(N??"/models?fmt=cards"));let t=B((0,a.f)(e));if(!t)return;let r=(0,m.B)(e,(0,i.i)(t));z?(0,m.S)(r,N):W.push(r)},R[14]=B,R[15]=z,R[16]=N,R[17]=W,R[18]=y):y=R[18];let G=y,q=$&&(void 0===I||I)?G:void 0;R[19]!==B?(b=e=>(0,d.f)(e,e=>B((0,a.f)(e))),R[19]=B,R[20]=b):b=R[20];let X=b,Q=$?E:void 0;return R[21]!==M||R[22]!==k||R[23]!==_||R[24]!==T||R[25]!==X||R[26]!==A||R[27]!==D||R[28]!==Z||R[29]!==F||R[30]!==q||R[31]!==Q||R[32]!==P||R[33]!==O?(w=(0,t.jsx)(l.StackedBarChart,{data:k,isPercentage:D,onLabel:Z,onClick:q,getIsSeriesClickable:X,forecast:_,forecastFromTimestamp:T,isAnimationActive:!1,yAxisLabel:Q,valueFormatter:P,yAxisTickFormatter:O,showLogScaleToggle:F,headerControl:A,colorMapping:M,allowTooltipToRight:!0}),R[21]=M,R[22]=k,R[23]=_,R[24]=T,R[25]=X,R[26]=A,R[27]=D,R[28]=Z,R[29]=F,R[30]=q,R[31]=Q,R[32]=P,R[33]=O,R[34]=w):w=R[34],w}])},634374,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(134611),n=e.i(942960),a=e.i(195759),l=e.i(895966),s=e.i(572201);e.i(16043);var o=e.i(84130);function u(e){var t;let r;return[e.permaslug,(t=e,(r=t.endpoint?.variant??s.e.Standard)===s.e.Standard?t:{...t,...(0,a.s)(t,r),endpoint:null})]}function c(e){return(0,n.f)(e)}function d(e){return"others"!==e.toLowerCase()}function m(e){return Object.keys(e.ys)}e.s(["ScopedModelCharts",0,function(e){let n,a,s,f,p,g,h,v,x=(0,r.c)(21);x[0]!==e?({models:a,...n}=e,x[0]=e,x[1]=n,x[2]=a):(n=x[1],a=x[2]),x[3]!==a?(s=new Map(a.filter(e=>(0,i.i)(e)===e.slug).map(e=>[e.permaslug,e])),x[3]=a,x[4]=s):s=x[4];let y=s;if(x[5]!==n.data||x[6]!==y){let e;x[8]!==y?(e=e=>!y.has(e),x[8]=y,x[9]=e):e=x[9],f=new Set(n.data.flatMap(m).filter(d).map(c).filter(e)),x[5]=n.data,x[6]=y,x[7]=f}else f=x[7];x[10]!==f?(p=[...f],x[10]=f,x[11]=p):p=x[11];let b=p,{getPrimaryModelInfoByPermaslug:w}=(0,l.f)(b);x[12]!==a?(g=new Map(a.map(u)),x[12]=a,x[13]=g):g=x[13];let R=g;x[14]!==R||x[15]!==w||x[16]!==y?(h=e=>y.get(e)??w(e)??R.get(e)??null,x[14]=R,x[15]=w,x[16]=y,x[17]=h):h=x[17];let k=h;return x[18]!==n||x[19]!==k?(v=(0,t.jsx)(o.ModelCharts,{...n,getModelInfoByPermaslug:k}),x[18]=n,x[19]=k,x[20]=v):v=x[20],v}])},785087,62705,e=>{"use strict";var t=e.i(481066),r=e.i(195759),i=e.i(572201);e.s(["q",0,function(e){let r=new Map([...e].map(([e,r])=>[e,(0,t.f)(r.name,{shorten:!0,preserveVariant:!0})])),i=new Map;for(let[e,t]of r){let r=i.get(t)??[];r.push(e),i.set(t,r)}let n=new Map(r);for(let r of i.values()){if(r.length<2)continue;let i=new Map(r.flatMap(r=>{let i=e.get(r);return i?[[r,(0,t.f)(i.distinctName,{shorten:!0,keepNote:!0})]]:[]})),a=new Set(i.values()).size{"use strict";var t=e.i(942960),r=e.i(195759),i=e.i(572201);e.s(["B",0,function(e,n){let a=(0,r.z)(e);return a===i.d.Standard?`/${n}`:`/${(0,i.k)((0,t.f)(n),a)}`},"S",0,function(e,t){let r="others"===e.toLowerCase()?t??"/models?fmt=cards":e.startsWith("/")?e:`/${e}`;window.open(r,"_blank","noopener,noreferrer")}])},795625,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(547242);e.s(["f",0,function(e){let a,l,s,o,u,c=(0,r.c)(12),{title:d,description:m,className:f}=e;return c[0]!==f?(a=(0,i.f)("flex-none gap-2 px-6 py-16 md:px-6 md:py-16",f),c[0]=f,c[1]=a):a=c[1],c[2]!==d?(l=void 0!==d&&(0,t.jsx)(n.p,{className:"text-sm",children:d}),c[2]=d,c[3]=l):l=c[3],c[4]!==m?(s=(0,t.jsx)(n.Y,{className:"text-sm",children:m}),c[4]=m,c[5]=s):s=c[5],c[6]!==l||c[7]!==s?(o=(0,t.jsxs)(n.c,{className:"max-w-md",children:[l,s]}),c[6]=l,c[7]=s,c[8]=o):o=c[8],c[9]!==a||c[10]!==o?(u=(0,t.jsx)(n.e,{className:a,children:o}),c[9]=a,c[10]=o,c[11]=u):u=c[11],u}])},901148,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(134611),n=e.i(136562),a=e.i(620931),l=e.i(640947),s=e.i(9285),o=e.i(129067),u=e.i(797521),c=e.i(778553),d=e.i(814492),m=e.i(196991),f=e.i(288265),p=e.i(139697),g=e.i(967605),h=e.i(73668),v=e.i(960773);function x(e){let i,n,a,l,s,o,u,x=(0,r.c)(21),{slug:y,iconOnly:b,posthogEvent:w}=e,R=void 0!==b&&b,k=void 0===w?"provider_dashboard_mission_control_click":w,{isActingUserInternalAdmin:j}=(0,h.useEntity)(),_=(0,v.Q)(),T=(0,f.f)();if(!j)return null;x[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,d.G)(),x[0]=i):i=x[0];let I=`${i}/provider/${encodeURIComponent(y)}/edit`,N=R?"icon-sm":"sm";x[1]!==T||x[2]!==R?(n=R?T("Edit (Internal)"):void 0,x[1]=T,x[2]=R,x[3]=n):n=x[3],x[4]!==I?(a=(0,t.jsx)(g.Link,{href:I}),x[4]=I,x[5]=a):a=x[5],x[6]!==_||x[7]!==k||x[8]!==y?(l=()=>_.capture(k,{provider_slug:y}),x[6]=_,x[7]=k,x[8]=y,x[9]=l):l=x[9];let S=R?"size-3":"size-4";return x[10]!==S?(s=(0,t.jsx)(c.f,{className:S}),x[10]=S,x[11]=s):s=x[11],x[12]!==R?(o=!R&&(0,t.jsx)("span",{className:"sr-only sm:not-sr-only",children:(0,t.jsx)(m.T,{children:"Edit (Internal)"})}),x[12]=R,x[13]=o):o=x[13],x[14]!==o||x[15]!==N||x[16]!==n||x[17]!==a||x[18]!==l||x[19]!==s?(u=(0,t.jsxs)(p.Button,{variant:"outline",size:N,"aria-label":n,className:"text-warning hover:text-warning/80",render:a,onClick:l,children:[s,o]}),x[14]=o,x[15]=N,x[16]=n,x[17]=a,x[18]=l,x[19]=s,x[20]=u):u=x[20],u}var y=e.i(885024);e.i(707060);var b=e.i(359980),w=e.i(153746),R=e.i(634374),k=e.i(795625),j=e.i(193241),_=e.i(939044),T=e.i(146229),I=e.i(927099),N=e.i(663993);function S(e){let i,n,a,l,s,o,u=(0,r.c)(12),{providerSlug:c}=e,d=(0,v.Q)();u[0]!==c?(i=(0,I.u)(c),u[0]=c,u[1]=i):i=u[1];let f=i,{hasResolved:h}=(0,T.f)(f);if(!h)return null;let x=`/provider/${f}/dashboard`;return u[2]!==x?(n=(0,t.jsx)(g.Link,{href:x}),u[2]=x,u[3]=n):n=u[3],u[4]!==f||u[5]!==d?(a=()=>d.capture("provider_page_dashboard_click",{provider_slug:f}),u[4]=f,u[5]=d,u[6]=a):a=u[6],u[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(N.f,{className:"size-4"}),u[7]=l):l=u[7],u[8]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("span",{className:"sr-only sm:not-sr-only",children:(0,t.jsx)(m.T,{children:"Provider dashboard"})}),u[8]=s):s=u[8],u[9]!==n||u[10]!==a?(o=(0,t.jsxs)(p.Button,{variant:"outline",size:"sm",render:n,onClick:a,children:[l,s]}),u[9]=n,u[10]=a,u[11]=o):o=u[11],o}e.i(406201),e.s(["ProviderPageView",0,function(e){let c,d,f,p,g,h,v,T,I,N,A,M,C,L,E,P,O,U,D,F,z,K,$=(0,r.c)(68),{providerSlug:W,provider:H,description:Y,models:B,modelDescriptions:V,isHipaaEligible:Z,chartData:G,cachedAt:q}=e,X=(0,u.f)(),Q=(0,o.R)("hipaaWorkspaces"),J=H.dataPolicy.termsOfServiceURL||H.dataPolicy.privacyPolicyURL;$[0]!==H.icon||$[1]!==H.name?(c=(0,t.jsx)(l.f,{frame:!0,providerName:H.name,providerIcon:H.icon},H.name),$[0]=H.icon,$[1]=H.name,$[2]=c):c=$[2];let ee=!H.displayName&&"font-mono";$[3]!==ee?(d=(0,n.f)(ee),$[3]=ee,$[4]=d):d=$[4],$[5]!==H.displayName||$[6]!==d?(f=(0,t.jsx)("h1",{className:d,children:H.displayName}),$[5]=H.displayName,$[6]=d,$[7]=f):f=$[7],$[8]!==Z||$[9]!==Q?(p=Q&&(0,t.jsx)(_.X,{isEligible:Z,scope:_.A.Provider}),$[8]=Z,$[9]=Q,$[10]=p):p=$[10],$[11]!==W?(g=(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,t.jsx)(x,{slug:W,posthogEvent:"provider_page_mission_control_click"}),(0,t.jsx)(S,{providerSlug:W})]}),$[11]=W,$[12]=g):g=$[12],$[13]!==c||$[14]!==f||$[15]!==p||$[16]!==g?(h=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[c,f,p,g]}),$[13]=c,$[14]=f,$[15]=p,$[16]=g,$[17]=h):h=$[17],$[18]!==H.displayName?(v=(0,t.jsxs)(m.T,{children:["Browse models provided by ",(0,t.jsx)(w.d,{children:H.displayName})]}),$[18]=H.displayName,$[19]=v):v=$[19],$[20]!==J?(T=J&&(0,t.jsxs)("span",{className:"text-sm text-muted-foreground",children:[" ",(0,t.jsxs)(m.T,{children:["(",(0,t.jsx)("a",{href:J,children:"Terms of Service"}),")"]})]}),$[20]=J,$[21]=T):T=$[21],$[22]!==v||$[23]!==T?(I=(0,t.jsxs)("p",{className:"text-muted-foreground",children:[v,T]}),$[22]=v,$[23]=T,$[24]=I):I=$[24];let et=B.length;if($[25]!==X||$[26]!==B.length?(N=X.number(B.length,{preset:"integer"}),$[25]=X,$[26]=B.length,$[27]=N):N=$[27],$[28]!==N?(A=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.d,{children:N})," model"]}),$[28]=N,$[29]=A):A=$[29],$[30]!==X||$[31]!==B.length?(M=X.number(B.length,{preset:"integer"}),$[30]=X,$[31]=B.length,$[32]=M):M=$[32],$[33]!==M?(C=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.d,{children:M})," models"]}),$[33]=M,$[34]=C):C=$[34],$[35]!==B.length||$[36]!==A||$[37]!==C?(L=(0,t.jsx)("p",{className:"shrink-0 text-sm text-muted-foreground",children:(0,t.jsx)(m.T,{children:(0,t.jsx)(b.f,{n:et,one:A,other:C})})}),$[35]=B.length,$[36]=A,$[37]=C,$[38]=L):L=$[38],$[39]!==I||$[40]!==L?(E=(0,t.jsxs)("div",{className:"flex flex-row justify-between gap-4",children:[I,L]}),$[39]=I,$[40]=L,$[41]=E):E=$[41],$[42]!==E||$[43]!==h?(P=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[h,E]}),$[42]=E,$[43]=h,$[44]=P):P=$[44],$[45]!==q||$[46]!==G||$[47]!==B?(O=G.length>0&&(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:(0,t.jsx)(m.T,{children:"Tokens processed on OpenRouter"})})}),(0,t.jsx)(R.ScopedModelCharts,{models:B,data:G,forecast:y.n.OneDay,forecastFromTimestamp:q})]}),$[45]=q,$[46]=G,$[47]=B,$[48]=O):O=$[48],$[49]!==B.length||$[50]!==H.displayName?(U=0===B.length&&(0,t.jsx)(k.f,{title:(0,t.jsx)(m.T,{children:"No active models"}),description:(0,t.jsxs)(m.T,{children:[(0,t.jsx)(w.d,{children:H.displayName})," has no models available on OpenRouter right now. Check back later."]})}),$[49]=B.length,$[50]=H.displayName,$[51]=U):U=$[51],$[52]===Symbol.for("react.memo_cache_sentinel")?(D=(0,n.f)("w-full"),$[52]=D):D=$[52],$[53]!==Q||$[54]!==V||$[55]!==B){let e;$[57]!==Q||$[58]!==V?(e=e=>{let r=(0,i.i)(e);return(0,t.jsxs)("li",{className:(0,n.f)("group w-full","flex flex-col justify-center"),children:[(0,t.jsx)("div",{className:"relative flex h-44 items-center",children:(0,t.jsx)(j.ModelsPageListItem,{model:e,description:V[r],isHipaaUiEnabled:Q,shouldShowPinControls:!1})}),(0,t.jsx)("div",{className:(0,n.f)("justify-center","w-full group-last:hidden"),children:(0,t.jsx)(s.f,{})})]},r)},$[57]=Q,$[58]=V,$[59]=e):e=$[59],F=B.map(e),$[53]=Q,$[54]=V,$[55]=B,$[56]=F}else F=$[56];return $[60]!==F?(z=(0,t.jsx)("ul",{className:D,children:F}),$[60]=F,$[61]=z):z=$[61],$[62]!==Y||$[63]!==P||$[64]!==O||$[65]!==U||$[66]!==z?(K=(0,t.jsx)("div",{className:"mx-auto w-full min-w-0 px-4",children:(0,t.jsx)(a.f,{className:"flex min-h-screen min-w-0 flex-col gap-8 xl:py-20",children:(0,t.jsxs)("section",{className:"flex flex-col gap-6",children:[P,Y,O,U,z]})})}),$[62]=Y,$[63]=P,$[64]=O,$[65]=U,$[66]=z,$[67]=K):K=$[67],K}],901148)},706911,e=>{"use strict";var t=e.i(579841);e.s(["f",0,function(e){return(0,t.l)(e)?e.context_length:null}])},761512,e=>{"use strict";var t=e.i(667417),r=e.i(207298);let i=(0,r.f)("",{variants:{modality:{[t.j.Text]:"bg-modality-text/12",[t.j.Image]:"bg-modality-image/12",[t.j.Audio]:"bg-modality-audio/12",[t.j.Video]:"bg-modality-video/12",[t.j.Embeddings]:"bg-modality-embeddings/12",[t.j.Rerank]:"bg-modality-rerank/12",[t.j.Decisions]:"bg-modality-rerank/12",[t.j.TTS]:"bg-modality-tts/12",[t.j.Transcription]:"bg-modality-transcription/12"}}}),n=(0,r.f)("",{variants:{modality:{[t.j.Text]:"border-modality-text",[t.j.Image]:"border-modality-image",[t.j.Audio]:"border-modality-audio",[t.j.Video]:"border-modality-video",[t.j.Embeddings]:"border-modality-embeddings",[t.j.Rerank]:"border-modality-rerank",[t.j.Decisions]:"border-modality-rerank",[t.j.TTS]:"border-modality-tts",[t.j.Transcription]:"border-modality-transcription"}}}),a=(0,r.f)("",{variants:{modality:{[t.j.Text]:"",[t.j.Image]:"",[t.j.Audio]:"",[t.j.Video]:"",[t.j.Embeddings]:"",[t.j.Rerank]:"",[t.j.Decisions]:"",[t.j.TTS]:"",[t.j.Transcription]:""},isActive:{true:"",false:""}},compoundVariants:[{modality:t.j.Text,isActive:!0,class:"text-modality-text"},{modality:t.j.Image,isActive:!0,class:"text-modality-image"},{modality:t.j.Audio,isActive:!0,class:"text-modality-audio"},{modality:t.j.Video,isActive:!0,class:"text-modality-video"},{modality:t.j.Embeddings,isActive:!0,class:"text-modality-embeddings"},{modality:t.j.Rerank,isActive:!0,class:"text-modality-rerank"},{modality:t.j.Decisions,isActive:!0,class:"text-modality-rerank"},{modality:t.j.TTS,isActive:!0,class:"text-modality-tts"},{modality:t.j.Transcription,isActive:!0,class:"text-modality-transcription"},{modality:t.j.Text,isActive:!1,class:"group-hover:text-modality-text"},{modality:t.j.Image,isActive:!1,class:"group-hover:text-modality-image"},{modality:t.j.Audio,isActive:!1,class:"group-hover:text-modality-audio"},{modality:t.j.Video,isActive:!1,class:"group-hover:text-modality-video"},{modality:t.j.Embeddings,isActive:!1,class:"group-hover:text-modality-embeddings"},{modality:t.j.Rerank,isActive:!1,class:"group-hover:text-modality-rerank"},{modality:t.j.Decisions,isActive:!1,class:"group-hover:text-modality-rerank"},{modality:t.j.TTS,isActive:!1,class:"group-hover:text-modality-tts"},{modality:t.j.Transcription,isActive:!1,class:"group-hover:text-modality-transcription"}],defaultVariants:{isActive:!0}});e.s(["p",0,i,"i",0,n,"W",0,a])},42129,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(359903),a=e.i(139697),l=e.i(261499);function s(e){let s,o,u,c,d=(0,r.c)(10),{onClick:m,isOpen:f,className:p}=e;d[0]!==p?(s=(0,i.f)("shrink-0",p),d[0]=p,d[1]=s):s=d[1];let g=f&&"-scale-y-100";return d[2]!==g?(o=(0,i.f)("size-4 mx-auto","text-muted-foreground",l.a,g),d[2]=g,d[3]=o):o=d[3],d[4]!==o?(u=(0,t.jsx)(n.f,{className:o}),d[4]=o,d[5]=u):u=d[5],d[6]!==m||d[7]!==s||d[8]!==u?(c=(0,t.jsx)(a.Button,{size:"icon-sm",variant:"ghost",className:s,onClick:m,children:u}),d[6]=m,d[7]=s,d[8]=u,d[9]=c):c=d[9],c}var o=e.i(16043),u=e.i(466528);e.s(["ModelDescriptionAccordionShell",0,function(e){let n,a,l,c,d,m,f,p,g,h,v,x=(0,r.c)(26),{children:y}=e,[b,w]=(0,o.useState)(!1),[R,k]=(0,o.useState)(!1),j=(0,o.useRef)(null);x[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{let e=new ResizeObserver(()=>{j.current&&k(j.current.scrollHeight>64)});return j.current&&e.observe(j.current),()=>{e.disconnect()}},a=[],x[0]=n,x[1]=a):(n=x[0],a=x[1]),(0,o.useEffect)(n,a),x[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,i.f)("flex gap-1 w-full"),x[2]=l):l=x[2];let _=b?"auto":64,T=R&&"cursor-pointer";x[3]!==T?(c=(0,i.f)("relative max-h-fit w-full",T),x[3]=T,x[4]=c):c=x[4],x[5]!==R||x[6]!==b?(d=()=>R&&w(!b),x[5]=R,x[6]=b,x[7]=d):d=x[7],x[8]!==y?(m=(0,t.jsx)("div",{ref:j,children:y}),x[8]=y,x[9]=m):m=x[9];let I=b||!R?"opacity-0":"opacity-100";return x[10]!==I?(f=(0,i.f)(I,"absolute bottom-0 transition-opacity pointer-events-none","h-10 w-full max-w-screen-4xl","bg-gradient-to-b from-transparent via-background/75 to-background"),x[10]=I,x[11]=f):f=x[11],x[12]!==f?(p=(0,t.jsx)("div",{className:f}),x[12]=f,x[13]=p):p=x[13],x[14]!==p||x[15]!==_||x[16]!==c||x[17]!==d||x[18]!==m?(g=(0,t.jsxs)(u.f,{height:_,className:c,duration:250,onClick:d,children:[m,p]}),x[14]=p,x[15]=_,x[16]=c,x[17]=d,x[18]=m,x[19]=g):g=x[19],x[20]!==R||x[21]!==b?(h=R&&(0,t.jsx)(s,{onClick:()=>w(!b),isOpen:b}),x[20]=R,x[21]=b,x[22]=h):h=x[22],x[23]!==g||x[24]!==h?(v=(0,t.jsxs)("div",{className:l,children:[g,h]}),x[23]=g,x[24]=h,x[25]=v):v=x[25],v}],42129)},690387,e=>{"use strict";var t=e.i(293747),r=e.i(706792),i=e.i(140691);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"];function l(e){return e.length>0&&!e.some(e=>!(0,i.I)(e.price).isZero()||e.tiers?.some(e=>!(0,i.I)(e.price).isZero())===!0)}function s(e,n,a){if(0===n.length)return;let l=a?.keepTrailingZeroes?"model-price-fixed":"model-price",s=n.filter(e=>"token"===e.kind),c=(0,r.T)(n);if(c)return function({locale:e,preset:r},{media:n,inputItem:a,outputItem:l}){return{kind:"standard-tokens",media:n,inputPrice:(0,t.f)((0,i.I)(a.price).times(a.displayMultiplier),{locale:e,preset:r})??"—",inputUnit:u(a),outputPrice:(0,t.f)((0,i.I)(l.price).times(l.displayMultiplier),{locale:e,preset:r})??"—",outputUnit:u(l)}}({locale:e,preset:l},c);let d=(0,r.U)(n);if(!d){if(s[0]){let r=s[0],l=`${(0,t.f)((0,i.I)(r.price).times(r.displayMultiplier),{locale:e,preset:a?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,c=u(r);return{kind:"custom",label:o(l,c),priceOnly:l,unit:c,hasDetails:n.length>1}}return}let m=`${(0,t.f)((0,i.I)(d.price).times(d.displayMultiplier),{locale:e,preset:a?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,f=d.unitLabel;return{kind:"custom",label:d.hasDetails?`from ${o(m,f)}`:o(m,f),priceOnly:d.hasDetails?`from ${m}`:m,unit:f,hasDetails:d.hasDetails}}function o(e,t){var r;return`${e}${(r=t)?r.startsWith("/")?r:` ${r}`:""}`}function u(e){if("token"===e.kind){if(1e6===e.displayMultiplier)return n;if(1e3===e.displayMultiplier)return"/K tokens"}return e.unitLabel}e.s(["z",0,1e6,"u",0,function(e,r,a){return s(e,a)??function(e,r){if(r&&(0,i.I)(r.prompt).isFinite()&&(0,i.I)(r.completion).isFinite()&&!((0,i.I)(r.prompt).isZero()&&(0,i.I)(r.completion).isZero()))return{kind:"standard-tokens",media:"text",inputPrice:(0,t.f)((0,i.I)(r.prompt).times(1e6),{locale:e,preset:"model-price"})??"—",inputUnit:n,outputPrice:(0,t.f)((0,i.I)(r.completion).times(1e6),{locale:e,preset:"model-price"})??"—",outputUnit:n}}(e,r?.pricing)},"J",0,s,"w",0,u,"C",0,l,"h",0,function(e,t){var r;return e?.is_free===!0||(t.length>0?l(t):!!(r=e?.pricing)&&a.every(e=>{let t=r[e];return void 0===t||(0,i.I)(t).isZero()}))},"i",0,o])},700050,e=>{"use strict";var t=e.i(960773),r=e.i(503741),i=e.i(989487);function n(e,n){let a=`playground_${r.m}:${e}`,l=Object.fromEntries(Object.entries(n||{}).map(([e,t])=>[(0,i.h)(e),t]));t.j.capture(a,l)}e.s(["q",0,function(e){n("artifact_create",e)},"l",0,function(e){n("artifact_delete",e)},"J",0,function(e){n("artifact_version_create",e)},"s",0,function(e){n("aspect_ratio_select",e)},"X",0,function(e){n("character_duplicate",e)},"D",0,function(e){n("character_remove",e)},"E",0,function(e){n("character_restore",e)},"K",0,function(e){for(let t of e.modelSlugs)n("character_add",{model:t,source:e.source})},"u",0,function(e){n("citation_icons_expand",e)},"P",0,function(e){n("conversation_search_open",e)},"t",0,function(e){n("intern_turn",e)},"p",0,function(e){n("message_delete",e)},"L",0,function(e){n("message_send_init",e)},"z",0,function(e){n("model_pin",e)},"g",0,function(e){n("model_preset_click",e)},"T",0,function(e){n("model_unpin",e)},"Y",0,function(e){n("pinned_model_select",e)},"v",0,function(e){n("preset_apply",e)},"m",0,function(e){n("prompt_preset_click",e)},"r",0,function(){n("room_clear_characters")},"i",0,function(){n("room_clear_history")},"w",0,function(e){n("room_create",e)},"b",0,function(e){n("room_delete",e)},"U",0,function(e){n("room_delete_all",e)},"j",0,function(e){n("room_duplicate",e)},"e",0,function(){n("room_export_chat")},"V",0,function(){n("room_export_markdown")},"x",0,function(){n("room_import")},"Z",0,function(e){n("room_load_complete",e)},"F",0,function(e){n("room_load_failed",e)},"C",0,function(e){n("room_load_triggered",e)},"M",0,function(){n("room_share_models")},"a",0,function(e){n("room_summary_title_generated",e)},"n",0,function(e){n("room_update_title",e)},"G",0,function(e){n("tool_chip_expand",e)},"h",0,function(){n("tool_docs_click")},"_",0,function(e){n("tool_toggle",e)}])}]); //# sourceMappingURL=1s5n-5tyyuzyn.js.map