(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,869057,966980,e=>{"use strict";let t=new Map;e.s(["f",0,function(e,r,n){return null==e?"":(function(e,r){let n=JSON.stringify({locale:function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}(e),options:r}),i=t.get(n);if(i)return i;let a=new Intl.NumberFormat(e,r);return t.set(n,a),a})(r,n).format(e)}],869057),e.s(["f",0,function(e,t,r){return(e-t)*100/(r-t)}],966980)},61885,45924,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],45924),e.s(["f",0,n],61885)},962363,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n])},934416,e=>{"use strict";var t=e.i(962363);e.s(["f",()=>t.f])},580573,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n])},309317,e=>{"use strict";var t=e.i(580573);e.s(["f",()=>t.f])},869853,e=>{"use strict";var t=e.i(651681);let r={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n])},705925,e=>{"use strict";var t=e.i(869853);e.s(["f",()=>t.f])},170298,e=>{"use strict";var t=e.i(16043);function r(e,t,r){if(r<1){let n=t*Math.sqrt(1-r*r);return 1-Math.exp(-r*t*e)*(Math.cos(n*e)+r*t/n*Math.sin(n*e))}let n=Math.sqrt(r*r-1),i=-t*(r+n),a=-t*(r-n),s=-i/(a-i);return 1-(1-s)*Math.exp(i*e)-s*Math.exp(a*e)}var n=new Map;function i(e,t){let r=e.length,n=t.length,i=Array.from({length:r+1},()=>Array(n+1).fill(0));for(let a=r-1;a>=0;a--)for(let r=n-1;r>=0;r--)i[a][r]=e[a]===t[r]?i[a+1][r+1]+1:Math.max(i[a+1][r],i[a][r+1]);let a=[],s=[],l=0,o=0;for(;l=i[l][o+1]?l++:o++;return[a,s]}var a=0;function s(){return`\0n${a++}`}function l(e){return e>="0"&&e<="9"}function o(e){for(let t of e)if(l(t))return!0;return!1}function u(e){let t="";for(let r of e)l(r)||c.includes(r)||(t+=r);return t}var c=".,'    ",d=/\p{Sc}/u;function m(e,t){return t.includes(e)||d.test(e)}function h(e){let t=0,r=e.length;for(;tt&&m(e[r-1],"%.,!?:;)\"'”’");)r--;if(t>=r||!l(e[t])||!l(e[r-1]))return!1;for(let n=t;n({id:s(),string:" "===e?" ":e,kind:f(e)}));let o=t.map(e=>" "===e.string?" ":e.string),u=null!=r?function(e,t,r,n){let i=new Map,a=v(e,n),s=v(t,n),l=(e,t)=>i.set(s[e],a[t]),o=0;for(;o0){let e=o-u;for(let t=0;t=0&&t=0&&ta&&o>a&&e[s-1]===t[o-1]&&!l(e[s-1]);)n.set(o-1,s-1),s--,o--;let u=k(e,a,s,r),c=k(t,a,o,r),d=N(e,a,u),m=N(t,a,c);if(d>0&&m>0&&Math.abs(d-m)>=y)return n;if(!f(a,u,a,c,!0))for(let e=1;u-e>=a&&c-e>=a;e++)h(u-e,c-e);if(ue[t]).reverse(),c.map(e=>t[e]).reverse());for(let e=0;e0}return n}(o,a,n),c=new Set;for(let[,e]of u)c.add(t[e].id);let d=[];for(let e=0;e=t;i--)if(e[i]===n)return i;return r}function j(){let e=new Set;return{reserve(t){e.add(t)},has:t=>e.has(t),take(t){if(!e.has(t))return e.add(t),t;let r=1;for(;e.has(`${t}~${r}`);)r++;let n=`${t}~${r}`;return e.add(n),n}}}function S(e){let t=[],r=[],n=()=>{if(0===r.length)return;let e=r.map(e=>e.string).join("");h(e)?t.push(...g(e)):t.push(...r),r=[]};for(let i of e)" "===i.string||i.string===` `?(n(),t.push(i)):r.push(i);return n(),t}function M(e,t,r=!0){let n=e.includes(` `),i=e.includes(" ")||n,a=j();if(n){let n=e.split(` `),i=[],s=0;return n.forEach((e,r)=>{r>0&&(i.push({id:a.take(`newline-${s}`),string:` `}),s+=1),e.length>0&&i.push(...R(e,t,!0,s,a)),s+=e.length}),r?S(i):i}let s=R(e,t,i,0,a);return r?S(s):s}function R(e,t,r,n,i){var a,s,l,o;let u,c,d;return"u">typeof Intl.Segmenter?function(e,t,r){let n=[];for(let i of Array.from(e)){let e=t+i.index;" "===i.segment?n.push({id:r.take(`space-${e}`),string:" "}):n.push({id:$(i.segment,e,r),string:i.segment})}return n}(new Intl.Segmenter(t,{granularity:r?"word":"grapheme"}).segment(e)[Symbol.iterator](),n,i):(a=e,s=r,l=n,o=i,u=s?a.split(" "):a.split(""),c=[],d=l,u.forEach((e,t)=>{s&&t>0&&(c.push({id:o.take(`space-${d}`),string:" "}),d+=1),c.push({id:$(e,d,o),string:e}),d+=e.length}),c)}function $(e,t,r){return r.has(e)?r.take(`${e}-${t}`):r.take(e)}var A="torph-root",_="torph-item",C="torph-id",T="torph-kind",L="torph-slot",I="torph-exiting",E="torph-sr",z="torph-debug",F="empty",P={linear:[0,0,1,1],ease:[.25,.1,.25,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},O=(e,t,r)=>{let n=1-r;return 3*n*n*r*e+3*n*r*r*t+r*r*r};function q(e,t,r,n){return i=>{if(i<=0)return 0;if(i>=1)return 1;let a=0,s=1;for(let t=0;t<24;t+=1){let t=(a+s)/2;O(e,r,t)e.cancel()),{tx:t,ty:r,opacity:n}}function G(e,t,r,n,i,a,s,l){let o=(r,n,i,s,l)=>{let o=e.animate([{[t]:`${r}px`},{[t]:`${n}px`}],{duration:a,easing:i,fill:"both"});return void 0!==l&&(o.currentTime=l),{anim:o,from:r,to:n,easing:i,curve:s,startedAt:performance.now()-(l??0)}};if(i&&null!==i.elapsed&&.5>Math.abs(i.to-n))return o(i.from,i.to,i.easing,i.curve,i.elapsed);let u=n-r,c=s,d=l;if(l&&Math.abs(u)>.5){let e=function(e,t){let r=Math.max(0,Math.min(8,t)-U(e,0));if(!(r>0))return{curve:e,k:0};let n=Math.max(3,Math.ceil(r/(.1*Math.E))-1);return{curve:t=>t>=1?1:e(t)+r*t*Math.pow(1-t,n),k:r}}(l,(i?.velocity??0)*a/u);e.k>0&&(d=e.curve,c=function(e,t){let r=Math.min(120,Math.max(32,Math.round(t/8))),n=[];for(let t=0;t=t||n<0?null:n;return{from:e.from,to:e.to,easing:e.easing,curve:e.curve,elapsed:i,velocity:null!==i&&e.curve?(e.to-e.from)*U(e.curve,i/t)/t:0}}var Y=new WeakMap;function H(e){e.style.width="",e.style.height="",e.style.transitionProperty=""}function K(e){let t=Y.get(e);t&&(Y.delete(e),t.stop(),t.onCancel?.())}function Z(e){let t=Array.from(e.children),r={},n=e.getBoundingClientRect();return t.forEach((e,t)=>{if(e.hasAttribute(I)||e.hasAttribute(E)||"BR"===e.tagName)return;let i=e.getAttribute(C)||`child-${t}`,a=e.getBoundingClientRect(),{tx:s,ty:l}=D(e);r[i]={x:a.left-n.left-s,y:a.top-n.top-l}}),r}function X(e,t,r){let n=e[r],i=t[r];return n&&i?{dx:n.x-i.x,dy:n.y-i.y}:{dx:0,dy:0}}function Q(e,t,r,n="backward-first"){let[i,a]="backward-first"===n?["backward","forward"]:["forward","backward"],s=n=>{if("backward"===n){for(let n=e-1;n>=0;n--)if(r.has(t[n]))return t[n]}else for(let n=e+1;ne.cancel());let o=r+s,u=n+l;0===o&&0===u||e.animate({transform:`translate(${o}px, ${u}px)`,offset:0},{duration:i,easing:a,fill:"both"})}function en(e){let t=e.map(e=>e.getBoundingClientRect()),r=Math.min(...t.map(e=>e.left)),n=Math.max(...t.map(e=>e.right)),i=Math.min(...t.map(e=>e.top)),a=Math.max(...t.map(e=>e.bottom)),s=(r+n)/2,l=(i+a)/2;return t.map(e=>`${s-e.left}px ${l-e.top}px`)}function ei(e,t){let r=[],n=[],i=()=>{n.length>=6&&r.push(n),n=[]};for(let r of e)t.has(r)?n.push(r):i();return i(),r}function ea(e,t){if(1!==e.segments.length||e.word.length<=1)return e.segments;let r=e.segments[0],n=e.word.split("").map((e,t)=>({id:`${r.id}:${t}`,string:e}));return t.set(r.id,n),n}function es(e,t){let r=[],n=0;for(let i=0;i span { display: inline-block; will-change: opacity, transform; } /* * Softens the clip above into a gradient, positionally rather than on a timer, so * it stays in step with the slide at any duration. The band (--torph-fade, 0 for a * hard edge) must eat into the box: the clip trims at the border box, so a ramp * reaching past it sits in territory already removed and is never seen. no-clip * plus repeat-x is what carries the profile across glyph overhang. */ @supports (mask-clip: no-clip) or (-webkit-mask-clip: no-clip) { [${L}] { --torph-mask: linear-gradient( to bottom, transparent, #000 var(--torph-fade, 0.15em), #000 calc(100% - var(--torph-fade, 0.15em)), transparent ); -webkit-mask-image: var(--torph-mask); mask-image: var(--torph-mask); -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; -webkit-mask-clip: no-clip; mask-clip: no-clip; } } [${A}][${z}] { outline: 2px solid magenta; [${_}] { outline: 2px solid cyan; outline-offset: -4px; } }`,eo=null,eu=0,ec=class e{instance=null;lastText="";lastCursorIndex;configKey="";attach(t,r){this.instance?.destroy(),this.instance=new eh({element:t,...r}),this.configKey=e.serializeConfig(r),""!==this.lastText&&this.instance.update(this.lastText,this.lastCursorIndex)}update(e,t){this.lastText=e,this.lastCursorIndex=t,this.instance?.update(e,t)}needsRecreate(t){return e.serializeConfig(t)!==this.configKey}destroy(){this.instance?.destroy(),this.instance=null}static serializeConfig(e){return JSON.stringify({ease:e.ease,duration:e.duration,locale:e.locale,scale:e.scale,numbers:e.numbers,decimals:e.decimals,debug:e.debug,disabled:e.disabled,respectReducedMotion:e.respectReducedMotion})}},ed="span",em={locale:"en",duration:400,ease:"cubic-bezier(0.19, 1, 0.22, 1)",disabled:!1,respectReducedMotion:!0,debug:!1,scale:!0,numbers:!0},eh=class{element;options={};data;currentMeasures={};prevMeasures={};previousSegments=[];isInitialRender=!0;reducedMotion=null;srNode=null;hasSetup=!1;constructor(e){let t=Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e)),{ease:i,...a}={...em,...t},{ease:s,duration:l}=function(e,t){if("object"==typeof e){let t=function(e){let{stiffness:t=100,damping:i=10,mass:a=1,precision:s=.001}=e??{},l=`${t}:${i}:${a}:${s}`,o=n.get(l);if(o)return o;let u=Math.sqrt(t/a),c=i/(2*Math.sqrt(t*a)),d=function(e,t,n){let i=0;for(let a=0;a<10;a+=.001)if(Math.abs(r(a,e,t)-1)>n)i=0;else if((i+=.001)>.1)return Math.ceil((a-i+.001)*1e3);return 1e4}(u,c,s),m=Math.min(100,Math.max(32,Math.round(d/15))),h=[];for(let e=0;e2&&"1"===h[h.length-2];)h.splice(h.length-2,1);let f={easing:`linear(${h.join(", ")})`,duration:d};return n.set(l,f),f}(e);return{ease:t.easing,duration:t.duration}}return{ease:e,duration:t}}(i,a.duration);this.options={...a,ease:s,duration:l},this.element=e.element,this.options.respectReducedMotion&&(this.reducedMotion=function(){if(typeof window>"u")return{prefersReducedMotion:!1,destroy:()=>{}};let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t={prefersReducedMotion:e.matches,destroy:function(){e.removeEventListener("change",r)}};function r(e){t.prefersReducedMotion=e.matches}return e.addEventListener("change",r),t}()),this.data="",this.isDisabled()||this.setup()}setup(){this.hasSetup||(this.hasSetup=!0,this.element.setAttribute(A,""),this.options.debug&&this.element.setAttribute(z,""),eu++,eo||((eo=document.createElement("style")).dataset.torph="true",eo.textContent=el,document.head.appendChild(eo)))}destroy(){var e;let t;this.reducedMotion?.destroy(),e=this.element,(t=Y.get(e))&&(Y.delete(e),t.stop()),H(e),this.element.getAnimations().forEach(e=>e.cancel()),this.srNode?.remove(),this.srNode=null,this.element.removeAttribute(A),this.element.removeAttribute(z),this.hasSetup&&(this.hasSetup=!1,--eu>0||!eo||(eo.remove(),eo=null))}isDisabled(){return!!(this.options.disabled||this.reducedMotion?.prefersReducedMotion)}update(e,t){let r="number"==typeof e?e.toLocaleString(this.options.locale,{minimumFractionDigits:this.options.decimals,maximumFractionDigits:this.options.decimals}):e;if(r!==this.data){if(this.data=r,this.isDisabled()){"string"==typeof r&&(this.srNode=null,this.element.textContent=r,this.previousSegments=[],this.isInitialRender=!0);return}if(this.setup(),this.data instanceof HTMLElement)throw Error("HTMLElement not yet supported");this.options.onAnimationStart&&!this.isInitialRender&&this.options.onAnimationStart(),this.createTextGroup(this.data,this.element,t)}}createTextGroup(e,t,r){var n,a,s,l;let c,d,m,x,v,{width:b,height:w}=B(t),y=!1!==this.options.numbers;if(this.syncAccessibleText(e),this.previousSegments.length>0){let t=function(e,t,r,n={}){let a=t.includes(" "),s=t.includes(` `),l=function(e){let t=[],r=[],n=()=>{0!==r.length&&(t.push({word:r.map(e=>e.string).join(""),segments:r}),r=[])};for(let t of e)" "===t.string||t.string===` `?n():r.push(t);return n(),t}(e),c=!1!==n.numbers,d=e=>c&&h(e),m=e=>d(e)?"\0#":e,x=c&&(o(t)||l.some(e=>o(e.word)));if(l.length<=1&&!a&&!s&&!x)return{segments:M(t,r,c),splits:new Map};let v=[],b=[],w=t.split(/( |\n)/),y=[];for(let e of w)" "===e||e===` `?y.push(e):e.length>0&&(b.push(y),v.push(e),y=[]);let N=y,k=l.map(e=>e.word);if(k.length*v.length>1e6)return{segments:M(t,r,c),splits:new Map};let[S,R]=i(k.map(m),v.map(m)),$=new Set(S),A=new Set(R),_=new Map;for(let e=0;et).filter(e=>!$.has(e)),T=v.map((e,t)=>t).filter(e=>!A.has(e)),L=new Set;for(let e of T)for(let t of C)if(!L.has(t)&&m(v[e])===m(k[t])){_.set(e,t),L.add(t);break}L.size>0&&(C=C.filter(e=>!L.has(e)),T=T.filter(e=>!_.has(e)));let I=new Map,E=new Set,z=es(k.length,$),F=es(v.length,A);if(C.length*T.length<=2500)for(let e of T){let t=-1,r=.4;for(let n of C){var P,O;if(E.has(n)||z[n]!==F[e])continue;let a=(P=k[n],O=v[e],(o(P)||o(O))&&u(P)===u(O)?1:function(e,t){if(0===e.length||0===t.length)return 0;let[r]=i(e.split(""),t.split(""));return r.length/Math.max(e.length,t.length)}(P,O));a>r&&(r=a,t=n)}t>=0&&(I.set(e,t),E.add(t))}let q=v.map((e,t)=>{let r=_.get(t),n=r??I.get(t);return void 0===n?{mode:"fresh"}:d(e)?{mode:"number",oi:n}:void 0!==r?{mode:"reuse",oi:n}:{mode:"morph",oi:n}}),U=1===q.filter(e=>"number"===e.mode).length?n.cursorIndex:void 0,D=function(e){let t=String(e),r=p.get(t);if(r)return r;let n=".";try{n=new Intl.NumberFormat(e).formatToParts(1.1).find(e=>"decimal"===e.type)?.value??"."}catch{}return p.set(t,n),n}(r),B=j();for(let e of q){if("fresh"===e.mode)continue;let t=l[e.oi];if("reuse"!==e.mode&&1===t.segments.length){let e=t.segments[0];for(let r=0;r0?[" "]:[]));let t=q[e],r=v[e];if("reuse"===t.mode)for(let e of l[t.oi].segments)W.push(e);else if("number"===t.mode){let e=l[t.oi];W.push(...g(r,ea(e,G).map(e=>({...e,kind:e.kind??f(e.string)})),void 0===U?void 0:U-V,D))}else if("morph"===t.mode){let e=l[t.oi],n=e.word,a=ea(e,G),s=n.split(""),o=r.split(""),[u,c]=i(s,o),d=new Map;for(let e=0;e!e.hasAttribute(E)),S=new Set(x.map(e=>e.id)),R=k.filter(e=>!S.has(e.getAttribute(C))&&!e.hasAttribute(I)),$=new Set(R),A=k.map(e=>e.getAttribute(C)),_=function(e,t,r,n){let i=new Set(r.filter((r,i)=>n.has(r)&&!t.has(e[i]))),a=new Map;for(let n=0;ne.cancel()),r.set(n,{left:t+a,top:i+s,width:l,height:o,opacity:u})}for(let e=t.length-1;e>=0;e--)"BR"===t[e].tagName&&(t[e].remove(),t.splice(e,1));t.forEach(e=>{let t=r.get(e);e.setAttribute(I,""),e.style.position="absolute",e.style.pointerEvents="none",e.style.left=`${t.left}px`,e.style.top=`${t.top}px`,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.opacity=String(t.opacity)})})(t,R),n=x,c=new Map,k.forEach(e=>{let t=e.getAttribute(C);S.has(t)&&!e.hasAttribute(I)&&(c.set(t,e),e.remove())}),Array.from(t.childNodes).forEach(e=>{e.nodeType===Node.TEXT_NODE&&e.remove()}),n.forEach(e=>{let r=c.get(e.id);if(r&&c.delete(e.id),e.string===` `)return void(r&&"BR"===r.tagName?t.appendChild(r):t.appendChild(J("br",e.id)));if(r&&"BR"!==r.tagName)r.style.transformOrigin="",ee(r,e),t.appendChild(r);else{let r=J("span",e.id);ee(r,e),t.appendChild(r)}}),this.currentMeasures=Z(this.element);let L=x.reduce((e,t)=>t.string===` `?e+1:e,1),z=(t.offsetHeight||20*L)/L;t.style.width=`${b}px`,t.offsetWidth;let O=Z(this.element);t.style.width="",this.updateStyles(x,O,z);let U=this.isInitialRender?[]:ei(k,new Set(R)),W=new Set(U.flat());for(let e of U)!function(e,t){let{duration:r,ease:n}=t,i=en(e);e.forEach((e,t)=>{e.getAnimations().forEach(e=>e.cancel()),e.style.transformOrigin=i[t],e.animate({transform:"scale(0.8)",offset:1},{duration:r,easing:n,fill:"both"}),e.animate({opacity:0,offset:1},{duration:.45*r,easing:"linear",fill:"both"}).onfinish=()=>e.remove()})}(e,{duration:this.options.duration,ease:this.options.ease});if(R.forEach(e=>{if(this.isInitialRender||e.getAttribute(C)===F)return void e.remove();if(W.has(e))return;let t=_.get(e),{dx:r,dy:n}=t?X(this.currentMeasures,this.prevMeasures,t):{dx:0,dy:0};e.hasAttribute(T)?function(e,t){let{dx:r,dy:n,slideDistance:i,duration:a,ease:s}=t,l=et(e);e.animate({transform:`translate(${r}px, ${n}px)`,offset:1},{duration:a,easing:s,fill:"both"}),l.animate({transform:`translate(0px, ${i}px)`,offset:1},{duration:a,easing:s,fill:"both"}),l.animate({opacity:0,offset:1},{duration:.45*a,easing:"linear",fill:"both"}).onfinish=()=>e.remove()}(e,{dx:r,dy:n,slideDistance:z,duration:this.options.duration,ease:this.options.ease}):function(e,t){let{dx:r,dy:n,duration:i,ease:a,scale:s}=t;e.animate({transform:s?`translate(${r}px, ${n}px) scale(0.95)`:`translate(${r}px, ${n}px)`,offset:1},{duration:i,easing:a,fill:"both"}),e.animate({opacity:0,offset:1},{duration:.25*i,easing:"linear",fill:"both"}).onfinish=()=>e.remove()}(e,{dx:r,dy:n,duration:this.options.duration,ease:this.options.ease,scale:this.options.scale})}),this.previousSegments=x,this.isInitialRender){this.isInitialRender=!1,t.style.width="",t.style.height="";return}N?(a=this.options.duration,s=this.options.onAnimationComplete,l=this.options.onAnimationCancel,K(t),t.style.transitionProperty="none",t.style.width=`${b}px`,t.style.height=`${w}px`,d=setTimeout(()=>{Y.delete(t),H(t),s?.()},a),m=e=>({from:e,to:e,easing:"linear",curve:null,elapsed:null,velocity:0}),Y.set(t,{stop:()=>clearTimeout(d),onCancel:l,snapshot:()=>({width:m(b),height:m(w)})})):function(e,t,r,n,i,a,s){let l=Y.get(e)?.snapshot();if(K(e),0===t||0===r){H(e),s?.();return}e.style.transitionProperty="none",e.style.width="",e.style.height="",e.offsetWidth;let{width:o,height:u}=B(e),c=function(e){let t=e.trim().toLowerCase(),r=P[t];if(r)return q(...r);let n=/^cubic-bezier\(([^)]*)\)$/.exec(t);if(n){let e=n[1].split(",").map(e=>Number(e.trim()));return 4!==e.length||e.some(e=>!Number.isFinite(e))?null:q(e[0],e[1],e[2],e[3])}let i=/^linear\(([^)]*)\)$/.exec(t);return i?function(e){let t=[],r=[];for(let n of e.split(",")){let e=n.trim().split(/\s+/).filter(Boolean),i=Number(e[0]);if(!Number.isFinite(i))return null;let a=e.slice(1);if(a.length>2)return null;if(0===a.length){t.push(i),r.push(null);continue}for(let e of a){if(!e.endsWith("%"))return null;let n=Number(e.slice(0,-1));if(!Number.isFinite(n))return null;t.push(i),r.push(n/100)}}if(t.length<2)return null;let n=function(e){let t=[...e];(null===t[0]||void 0===t[0])&&(t[0]=0),null===t[t.length-1]&&(t[t.length-1]=1);for(let e=1;e0===t?e:Math.max(e,r[t-1]))}(r);return e=>{if(e<=n[0])return t[0];let r=n.length-1;if(e>=n[r])return t[r];let i=0;for(;i{d.anim.cancel(),m.anim.cancel()};d.anim.onfinish=()=>{Y.delete(e),h(),H(e),a?.()},Y.set(e,{stop:h,onCancel:s,snapshot:()=>({width:V(d,n),height:V(m,n)})})}(t,b,w,this.options.duration,this.options.ease,this.options.onAnimationComplete,this.options.onAnimationCancel)}updateStyles(e,t,r){if(this.isInitialRender)return;let n=Array.from(this.element.children).filter(e=>!e.hasAttribute(E)),i=e.map(e=>e.id),a=new Map(e.map(e=>[e.id,e.kind])),s=n.filter(e=>!e.hasAttribute(I)&&"BR"!==e.tagName&&e.getAttribute(C)!==F),l=new Set(s.filter(e=>!this.prevMeasures[e.getAttribute(C)])),o=new Set;for(let e of ei(s,l))e.forEach(e=>o.add(e)),function(e,t){let{duration:r,ease:n}=t,i=en(e);e.forEach((e,t)=>{let a=W(e);e.style.transformOrigin=i[t],e.animate({transform:"scale(0.8)",offset:0},{duration:r,easing:n,fill:"both"});let s=a.opacity>=1?0:a.opacity;e.animate([{opacity:s},{opacity:1}],{duration:.35*r,easing:"linear",fill:"both"})})}(e,{duration:this.options.duration,ease:this.options.ease});let u=new Set(i.filter(e=>this.prevMeasures[e]));n.forEach((n,s)=>{if(n.hasAttribute(I)||"BR"===n.tagName||o.has(n))return;let l=n.getAttribute(C)||`child-${s}`;if(l===F)return;let c=!this.prevMeasures[l],d=c?Q(e.findIndex(e=>e.id===l),i,u):l,{dx:m,dy:h}=d?X(this.prevMeasures,t,d):{dx:0,dy:0},f=a.get(l);f&&c?function(e,t){let{deltaX:r,deltaY:n,slideDistance:i,kind:a,duration:s,ease:l}=t;er(e,{deltaX:r,deltaY:n,duration:s,ease:l});let o=et(e),u=W(o);o.animate({transform:`translate(0px, ${u.ty+("digit"===a?-i:i)}px)`,offset:0},{duration:s,easing:l,fill:"both"});let c=u.opacity>=1?0:u.opacity;c<1&&o.animate([{opacity:c},{opacity:1}],{duration:.25*s,easing:"linear",fill:"both"})}(n,{deltaX:m,deltaY:h,slideDistance:r,kind:f,duration:this.options.duration,ease:this.options.ease}):f?er(n,{deltaX:m,deltaY:h,duration:this.options.duration,ease:this.options.ease}):function(e,t){let{deltaX:r,deltaY:n,isNew:i,duration:a,ease:s}=t,l=W(e),o=r+l.tx,u=n+l.ty,c=i&&l.opacity>=1?0:l.opacity;e.animate([{transform:`translate(${o}px, ${u}px) scale(${i?.95:1})`},{transform:"none"}],{duration:a,easing:s,fill:"both"}),c<1&&e.animate([{opacity:c},{opacity:1}],{duration:a*(i?.5:.25),delay:i?.25*a:0,easing:"linear",fill:"both"})}(n,{deltaX:m,deltaY:h,isNew:c,duration:this.options.duration,ease:this.options.ease})})}syncAccessibleText(e){if(!this.srNode||this.srNode.parentNode!==this.element){let e=document.createElement("span");e.setAttribute(E,""),this.element.prepend(e),this.srNode=e}this.srNode.textContent=e}};function ef(e){let r=t.default.useRef(null),n=t.default.useRef(new ec),i=ec.serializeConfig(e),a=t.default.useRef(e);return a.current=e,t.default.useEffect(()=>{let t=n.current;return r.current&&t.attach(r.current,{...e,onAnimationStart:()=>a.current.onAnimationStart?.(),onAnimationComplete:()=>a.current.onAnimationComplete?.()}),()=>{t.destroy()}},[i]),{ref:r,update:t.default.useCallback((e,t)=>{n.current.update(e,t)},[])}}e.s(["TextMorph",0,({children:e,cursorIndex:r,className:n,style:i,as:a=ed,...s})=>{let{ref:l,update:o}=ef(s),u="number"==typeof e?e:function e(r){if("string"==typeof r)return r;if("number"==typeof r)return String(r);if(!r||"boolean"==typeof r)return"";if(Array.isArray(r))return r.map(e).join("");throw t.default.isValidElement(r)?Error("TextMorph only accepts text content. Found a React element — use strings, numbers, or expressions instead."):Error(`TextMorph received an unsupported child of type "${typeof r}".`)}(e),c=t.default.useRef(r);c.current=r;let d=t.default.useRef({__html:String(u).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"
")});return t.default.useEffect(()=>{o(u,c.current)},[u,o]),t.default.createElement(a,{ref:l,className:n,style:i,dangerouslySetInnerHTML:d.current})},"useTextMorph",0,ef],170298)},894868,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(829622),a=e.i(722841),s=e.i(987457);e.s(["f",0,function(e){let l,o,u,c,d,m,h,f=(0,r.c)(25),{author:p,permaslug:g,iconUri:x,className:v,frame:b,frameRingClassName:w,bare:y}=e,N=void 0!==b&&b,k=void 0!==y&&y;if(f[0]!==p||f[1]!==k||f[2]!==v||f[3]!==N||f[4]!==w||f[5]!==x||f[6]!==g){d=Symbol.for("react.early_return_sentinel");e:{if(o=null==g?(0,a.$)(p,x):(0,a.h)({permaslug:g,author:p,iconUri:x}),k){let e;f[12]!==v?(e=(0,n.f)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",v),f[12]=v,f[13]=e):e=f[13],d=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("size-full overflow-hidden",o?.className),faviconFor:p,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}if(N){d=(0,t.jsx)(s.f,{className:v,ringClassName:w,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("size-full",o?.className),faviconFor:p,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}f[14]!==v?(c=(0,n.f)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",v),f[14]=v,f[15]=c):c=f[15],l=i.RemoteFavicon,u=(0,n.f)("overflow-hidden rounded-full",o?.className)}f[0]=p,f[1]=k,f[2]=v,f[3]=N,f[4]=w,f[5]=x,f[6]=g,f[7]=l,f[8]=o,f[9]=u,f[10]=c,f[11]=d}else l=f[7],o=f[8],u=f[9],c=f[10],d=f[11];return d!==Symbol.for("react.early_return_sentinel")?d:(f[16]!==l||f[17]!==p||f[18]!==o.darkUrl||f[19]!==o.url||f[20]!==u?(m=(0,t.jsx)(l,{className:u,faviconFor:p,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256}),f[16]=l,f[17]=p,f[18]=o.darkUrl,f[19]=o.url,f[20]=u,f[21]=m):m=f[21],f[22]!==c||f[23]!==m?(h=(0,t.jsx)("div",{className:c,children:m}),f[22]=c,f[23]=m,f[24]=h):h=f[24],h)}])},987457,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);e.s(["f",0,function(e){let i,a,s,l,o,u,c=(0,r.c)(15),{children:d,className:m,variant:h,decorative:f,ringClassName:p}=e,g=void 0!==f&&f||void 0;c[0]!==m?(i=(0,n.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]=i):i=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.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?(s=(0,t.jsx)("div",{className:a,children:d}),c[3]=d,c[4]=s):s=c[4];let x="app"===(void 0===h?"default":h)&&"dark:inset-px dark:ring-white";return c[5]!==p||c[6]!==x?(l=(0,n.f)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",x,p),c[5]=p,c[6]=x,c[7]=l):l=c[7],c[8]!==l?(o=(0,t.jsx)("div",{"aria-hidden":!0,className:l}),c[8]=l,c[9]=o):o=c[9],c[10]!==g||c[11]!==i||c[12]!==s||c[13]!==o?(u=(0,t.jsxs)("div",{"aria-hidden":g,className:i,children:[s,o]}),c[10]=g,c[11]=i,c[12]=s,c[13]=o,c[14]=u):u=c[14],u}])},640947,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(829622),a=e.i(987457);e.s(["f",0,e=>{let s,l,o,u,c=(0,r.c)(26),{providerName:d,providerIcon:m,className:h,frame:f}=e;c[0]!==m.url.length||c[1]!==d?(s=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]=s):s=c[2];let p=s;if(void 0!==f&&f){let e,r,s;return c[3]!==h?(e=(0,n.f)("size-8",h),c[3]=h,c[4]=e):e=c[4],c[5]!==p||c[6]!==m.className||c[7]!==m.darkUrl||c[8]!==m.url||c[9]!==d?(r=p??(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("size-full",m.className),faviconFor:d,imgSrc:m.url,imgSrcDark:m.darkUrl,size:256}),c[5]=p,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?(s=(0,t.jsx)(a.f,{className:e,children:r}),c[11]=e,c[12]=r,c[13]=s):s=c[13],s}let g=null===p&&"bg-muted/40 p-1 shadow-inner";return c[14]!==h||c[15]!==g?(l=(0,n.f)("flex items-center justify-center","h-8 w-8 rounded-lg",g,h),c[14]=h,c[15]=g,c[16]=l):l=c[16],c[17]!==p||c[18]!==m.className||c[19]!==m.darkUrl||c[20]!==m.url||c[21]!==d?(o=p??(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("overflow-hidden rounded-sm",m.className),faviconFor:d,imgSrc:m.url,imgSrcDark:m.darkUrl,size:256}),c[17]=p,c[18]=m.className,c[19]=m.darkUrl,c[20]=m.url,c[21]=d,c[22]=o):o=c[22],c[23]!==l||c[24]!==o?(u=(0,t.jsx)("div",{className:l,children:o}),c[23]=l,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 n=e.i(771271);function i(e){return e.toLowerCase()}let a=new Map([[i(n.R.OpenAI),{url:(0,t.r)("OpenAI.svg"),className:"dark:invert"}],[i(n.R.Perplexity),{url:(0,t.r)("Perplexity.png")}],[i(n.R.Poolside),{url:(0,t.r)("poolside-logomark-solid-color.svg")}],[i(n.R.Perceptron),{url:(0,t.e)("https://www.perceptron.inc")}],["voyageai",{url:(0,t.e)("https://www.voyageai.com")}],[i(n.R.GoogleAIStudio),{url:(0,t.r)("GoogleAIStudio.svg")}],[i(n.R.Anthropic),{url:(0,t.r)("Anthropic.svg")}],[i(n.R.ClaudeOnAws),{url:(0,t.r)("Anthropic.svg")}],[i(n.R.Cohere),{url:(0,t.r)("Cohere.png")}],[i(n.R.Deepgram),{url:(0,t.r)("Deepgram.svg"),className:"dark:invert"}],[i(n.R.DeepSeek),{url:(0,t.r)("DeepSeek.png")}],[i(n.R.Together),{url:(0,t.e)("https://www.together.ai/")}],[i(n.R.Infermatic),{url:(0,t.e)("https://infermatic.ai/")}],[i(n.R.HuggingFace),{url:(0,t.e)("https://huggingface.co/")}],[i(n.R.Unbiased),{url:(0,t.r)("Unbiased.png")}],[i(n.R.AI21),{url:(0,t.e)("https://ai21.com/")}],[i(n.R.Featherless),{url:(0,t.e)("https://featherless.ai/")}],[i(n.R.Reflection),{url:(0,t.e)("https://railway.app/")}],[i(n.R.Inflection),{url:(0,t.e)("https://inflection.ai/")}],[i(n.R.Minimax),{url:(0,t.e)("https://minimaxi.com/")}],[i(n.R.Liquid),{url:(0,t.r)("Liquid.png"),className:"dark:invert"}],[i(n.R.Inception),{url:(0,t.r)("Inception.svg"),className:"dark:invert"}],[i(n.R.Relace),{url:(0,t.e)("https://www.relace.ai")}],[i(n.R.Sourceful),{url:(0,t.e)("https://www.sourceful.com/")}],[i(n.R.Speechify),{url:(0,t.e)("https://speechify.ai/")}],[i(n.R.BytePlus),{url:(0,t.e)("https://www.byteplus.com")}],[i(n.R.Xiaomi),{url:(0,t.e)("https://www.mi.com")}],["arcee-ai",{url:(0,t.e)("https://www.arcee.ai")}],[i(n.R.AssemblyAI),{url:(0,t.e)("https://www.assemblyai.com/")}],["fish-audio",{url:(0,t.e)("https://fish.audio/")}],[i(n.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")}],[i(n.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/")}],[i(n.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/")}],[i(n.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"}],[i(n.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")}],[i(n.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")}],[i(n.R.Krea),{url:(0,t.e)("https://www.krea.ai")}],[i(n.R.Runway),{url:(0,t.e)("https://runwayml.com")}],[i(n.R.Upstage),{url:(0,t.e)("https://www.upstage.ai/")}],[i(n.R.Fireworks),{url:(0,t.e)("https://fireworks.ai")}],["stealth",{url:(0,t.r)("Stealth.svg"),className:"invert-0 dark:invert"}],[i(n.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")}]]),s=/^\/(?![/\\])/u,l=/^data:image\//iu;function o(e,r){var n;let i=a.get(e.toLowerCase());return r&&(!r.startsWith("data:")||l.test(r))?(n=i?.className,s.test(r)||l.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:n}):i??{url:t.t}}e.s(["$",0,o,"h",0,function({permaslug:e,author:t,iconUri:n}){let i,a=(i=e.toLowerCase().replace(/^~/u,""),r.find(([e])=>i.startsWith(e))?.[1]??null);return null!==a?{url:a}:o(t,n)}],722841)},1423,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(16043),i=e.i(367898),a=e.i(869057),s=e.i(788968),l=e.i(966980),o=e.i(93836),u=e.i(107397);let c=n.createContext(void 0);function d(){let e=n.useContext(c);if(void 0===e)throw Error((0,u.f)(51));return e}let m={status:e=>"progressing"===e?{"data-progressing":""}:"complete"===e?{"data-complete":""}:"indeterminate"===e?{"data-indeterminate":""}:null},h=n.forwardRef(function(e,r){let{format:u,getAriaValueText:d,locale:h,max:f=100,min:p=0,value:g,render:x,className:v,children:b,style:w,...y}=e,[N,k]=n.useState(),j="indeterminate",S=null,M=null,R="",$="indeterminate progress";if(null!=g&&Number.isFinite(g)){let e=(0,l.f)(g,p,f);S=(0,s.f)(Number.isNaN(e)?0:e,0,100),j=(M=(0,s.f)(g,p,f))===f?"complete":"progressing",$=R=u?(0,a.f)(M,h,u):(0,a.f)(S/100,h,{style:"percent"})}let A=n.useMemo(()=>({status:j}),[j]),_={"aria-labelledby":N,"aria-valuemax":f,"aria-valuemin":p,"aria-valuenow":M??void 0,"aria-valuetext":d?d(R,g):$,role:"progressbar",children:(0,t.jsxs)(n.Fragment,{children:[b,(0,t.jsx)("span",{role:"presentation",style:i.p,children:"x"})]})},C=n.useMemo(()=>({formattedValue:R,percentageValue:S,setLabelId:k,state:A,value:g}),[R,S,k,A,g]),T=(0,o.a)("div",e,{state:A,ref:r,props:[_,y],stateAttributesMapping:m});return(0,t.jsx)(c.Provider,{value:C,children:T})}),f=n.forwardRef(function(e,t){let{render:r,className:n,style:i,...a}=e,{state:s}=d();return(0,o.a)("div",e,{state:s,ref:t,props:a,stateAttributesMapping:m})}),p=n.forwardRef(function(e,t){let{render:r,className:n,style:i,...a}=e,{percentageValue:s,state:l}=d(),u=null==s?{}:{insetInlineStart:0,height:"inherit",width:`${s}%`};return(0,o.a)("div",e,{state:l,ref:t,props:[{style:u},a],stateAttributesMapping:m})});e.s(["Indicator",0,p,"Root",0,h,"Track",0,f],372909);var g=e.i(372909),g=g,x=g,v=g,b=e.i(136562),w=e.i(207298);let y=(0,w.f)("relative h-4 w-full overflow-hidden rounded-full [&>[role=presentation]]:!absolute",{variants:{track:{default:"bg-secondary",muted:"bg-muted",border:"bg-border",foreground:"bg-foreground/20 dark:bg-foreground/10"}},defaultVariants:{track:"default"}}),N=(0,w.f)((0,b.f)("h-full rounded-full","transition-[width,background-color] duration-fast ease-smooth-out motion-reduce:transition-colors"),{variants:{variant:{accent:"bg-primary",neutral:"bg-foreground",positive:"bg-positive",warning:"bg-warning",promo:"bg-promo",negative:"bg-negative"}},defaultVariants:{variant:"accent"}});e.s(["f",0,function(e){let n,i,a,s,l,o,u,c,d,m,h,f,p,w,k=(0,r.c)(28);k[0]!==e?({className:n,indicatorClassName:i,indicatorColor:a,max:o,track:u,value:c,variant:d,ref:l,...s}=e,k[0]=e,k[1]=n,k[2]=i,k[3]=a,k[4]=s,k[5]=l,k[6]=o,k[7]=u,k[8]=c,k[9]=d):(n=k[1],i=k[2],a=k[3],s=k[4],l=k[5],o=k[6],u=k[7],c=k[8],d=k[9]);let j=void 0===o?100:o,S=Math.min(100,Math.max(0,("number"==typeof c?c:0)/("number"==typeof j&&j>0?j:100)*100));return k[10]!==n||k[11]!==u?(m=(0,b.f)(y({track:u}),n),k[10]=n,k[11]=u,k[12]=m):m=k[12],k[13]!==i||k[14]!==a||k[15]!==d?(h=(0,b.f)(N({variant:d}),void 0!==a&&"bg-(--indicator-color)",i),k[13]=i,k[14]=a,k[15]=d,k[16]=h):h=k[16],k[17]!==a?(f=void 0===a?void 0:{"--indicator-color":a},k[17]=a,k[18]=f):f=k[18],k[19]!==h||k[20]!==f?(p=(0,t.jsx)(g.Track,{className:"h-full w-full",children:(0,t.jsx)(x.Indicator,{className:h,"data-allow-inline-style":!0,style:f})}),k[19]=h,k[20]=f,k[21]=p):p=k[21],k[22]!==S||k[23]!==s||k[24]!==l||k[25]!==m||k[26]!==p?(w=(0,t.jsx)(v.Root,{ref:l,value:S,className:m,...s,children:p}),k[22]=S,k[23]=s,k[24]=l,k[25]=m,k[26]=p,k[27]=w):w=k[27],w}],1423)},829622,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(214051),i=e.i(51365),a=e.i(288265),s=e.i(16043);e.s(["RemoteFavicon",0,function(e){let l,o,u,c,d,m,h,f,p,g,x,v,b,w=(0,r.c)(55),y=(0,a.f)(),[N,k]=(0,s.useState)(null),[j,S]=(0,s.useState)(null),[M,R]=(0,s.useState)(!1),[$,A]=(0,s.useState)(!1),_=e.size||256;w[0]!==M||w[1]!==$||w[2]!==e.curatedIconAppId||w[3]!==e.faviconFor||w[4]!==e.imgSrc||w[5]!==_?(l=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:n,curatedIconAppId:a,imgSrc:s}){if(s)return{source:"given",src:s};if(void 0!==a&&(0,i.Q)(e)&&!r)return{source:"curated",src:(0,i.$)(e)?e:(0,i.g)(a)};let l=n?(0,i.Z)(e):null;return null!==l?{source:"parent-site",src:(0,i.e)(l,t)}:{source:"site",src:(0,i.e)(e,t)}}({faviconFor:e.faviconFor,size:_,didCuratedIconFail:M,didSiteIconFail:$,curatedIconAppId:e.curatedIconAppId,imgSrc:e.imgSrc}),w[0]=M,w[1]=$,w[2]=e.curatedIconAppId,w[3]=e.faviconFor,w[4]=e.imgSrc,w[5]=_,w[6]=l):l=w[6];let{source:C,src:T}=l;w[7]!==e.faviconFor||w[8]!==_||w[9]!==C?(o=t=>{"site"!==C||_<=16||t>16||null!==(0,i.Z)(e.faviconFor)&&A(!0)},w[7]=e.faviconFor,w[8]=_,w[9]=C,w[10]=o):o=w[10];let L=o;w[11]!==e.faviconFor||w[12]!==C?(u=t=>{switch(C){case"curated":if((0,i.$)(e.faviconFor))return void k(t);R(!0);return;case"site":if(null===(0,i.Z)(e.faviconFor))return void k(t);A(!0);return;case"given":case"parent-site":return void k(t);default:k(t)}},w[11]=e.faviconFor,w[12]=C,w[13]=u):u=w[13];let I=u;w[14]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{k(null)},w[14]=c):c=w[14],w[15]!==T?(d=[T],w[15]=T,w[16]=d):d=w[16],(0,s.useEffect)(c,d),w[17]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{R(!1),A(!1)},w[17]=m):m=w[17],w[18]!==e.curatedIconAppId||w[19]!==e.faviconFor||w[20]!==e.imgSrc||w[21]!==_?(h=[e.faviconFor,e.curatedIconAppId,e.imgSrc,_],w[18]=e.curatedIconAppId,w[19]=e.faviconFor,w[20]=e.imgSrc,w[21]=_,w[22]=h):h=w[22],(0,s.useEffect)(m,h),w[23]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{S(null)},w[23]=f):f=w[23],w[24]!==e.imgSrcDark?(p=[e.imgSrcDark],w[24]=e.imgSrcDark,w[25]=p):p=w[25],(0,s.useEffect)(f,p),w[26]!==y||w[27]!==e.faviconFor?(g=y("Favicon for {faviconFor}",{faviconFor:e.faviconFor}),w[26]=y,w[27]=e.faviconFor,w[28]=g):g=w[28],w[29]!==_||w[30]!==g?(x={width:_,height:_,alt:g,className:"h-full w-full object-cover"},w[29]=_,w[30]=g,w[31]=x):x=w[31];let E=x;if(e.imgSrcDark){let r,i,a;return w[32]!==N||w[33]!==E||w[34]!==I||w[35]!==L||w[36]!==T?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:N?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...E,src:T,onError:e=>I(e.toString()),onLoad:e=>L(e.currentTarget.naturalWidth)})}),w[32]=N,w[33]=E,w[34]=I,w[35]=L,w[36]=T,w[37]=r):r=w[37],w[38]!==j||w[39]!==E||w[40]!==e.imgSrcDark?(i=(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)(n.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...E,src:e.imgSrcDark,onError:e=>S(e.toString())})}),w[38]=j,w[39]=E,w[40]=e.imgSrcDark,w[41]=i):i=w[41],w[42]!==e.className||w[43]!==r||w[44]!==i?(a=(0,t.jsxs)("div",{className:e.className,children:[r,i]}),w[42]=e.className,w[43]=r,w[44]=i,w[45]=a):a=w[45],a}return w[46]!==N||w[47]!==E||w[48]!==I||w[49]!==L||w[50]!==T?(v=N?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.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",{...E,src:T,loading:"lazy",decoding:"async",onError:e=>I(e.toString()),onLoad:e=>L(e.currentTarget.naturalWidth)})}),w[46]=N,w[47]=E,w[48]=I,w[49]=L,w[50]=T,w[51]=v):v=w[51],w[52]!==e.className||w[53]!==v?(b=(0,t.jsx)("div",{className:e.className,children:v}),w[52]=e.className,w[53]=v,w[54]=b):b=w[54],b}])},165757,e=>{"use strict";let t={P50Latency:"p50_latency",P75Latency:"p75_latency",P90Latency:"p90_latency",P99Latency:"p99_latency",P50Throughput:"p50_throughput",P75Throughput:"p75_throughput",P90Throughput:"p90_throughput",P99Throughput:"p99_throughput",PriceInput:"price_input",PriceOutput:"price_output",RequestCount:"request_count"},r={[t.P50Latency]:"P50 Latency",[t.P75Latency]:"P75 Latency",[t.P90Latency]:"P90 Latency",[t.P99Latency]:"P99 Latency",[t.P50Throughput]:"P50 Throughput",[t.P75Throughput]:"P75 Throughput",[t.P90Throughput]:"P90 Throughput",[t.P99Throughput]:"P99 Throughput",[t.PriceInput]:"Input Price",[t.PriceOutput]:"Output Price",[t.RequestCount]:"Requests"},n=e=>r[e];Object.fromEntries(Object.values(t).map(e=>[n(e),e])),t.RequestCount,t.P50Throughput,t.P50Latency;let i={Linear:"linear",Log:"log"};i.Linear,i.Log,e.s(["C",0,t,"Z",0,"#94A3B8","x",0,i,"T",0,function(e,t){switch(t){case"model":default:return e.label;case"provider":return e.provider_name;case"author":return e.model_author}},"H",0,n])},119488,e=>{"use strict";var t=e.i(663456),r=e.i(16043);e.s(["f",0,function(e){let n,i,a,s,l,o,u,c=(0,t.c)(25);c[0]!==e?(n=void 0===e?{}:e,c[0]=e,c[1]=n):n=c[1];let{threshold:d,root:m,rootMargin:h,freezeOnceVisible:f,initialIsIntersecting:p,onChange:g}=n,x=void 0===d?0:d,v=void 0===m?null:m,b=void 0===h?"0%":h,w=void 0!==f&&f,[y,N]=(0,r.useState)(null),[k,j]=(0,r.useState)(void 0!==p&&p),[S,M]=(0,r.useState)(void 0);c[2]!==g?(i=(e,t)=>{g?.(e,t)},c[2]=g,c[3]=i):i=c[3];let R=(0,r.useEffectEvent)(i),$=!!S&&k&&w;c[4]!==y||c[5]!==w||c[6]!==$||c[7]!==R||c[8]!==v||c[9]!==b||c[10]!==x?(a=()=>{if(!y||!("IntersectionObserver"in window)||$)return;let e=new IntersectionObserver(t=>{for(let r of t)j(r.isIntersecting),M(r),R(r.isIntersecting,r),r.isIntersecting&&w&&e.disconnect()},{threshold:x,root:v,rootMargin:b});return e.observe(y),()=>{e.disconnect()}},c[4]=y,c[5]=w,c[6]=$,c[7]=R,c[8]=v,c[9]=b,c[10]=x,c[11]=a):a=c[11],c[12]!==x?(s=JSON.stringify(x),c[12]=x,c[13]=s):s=c[13],c[14]!==y||c[15]!==w||c[16]!==$||c[17]!==v||c[18]!==b||c[19]!==s?(l=[y,s,v,b,$,w],c[14]=y,c[15]=w,c[16]=$,c[17]=v,c[18]=b,c[19]=s,c[20]=l):l=c[20],(0,r.useEffect)(a,l),c[21]===Symbol.for("react.memo_cache_sentinel")?(o=e=>{N(e??null)},c[21]=o):o=c[21];let A=o;return c[22]!==S||c[23]!==k?(u={ref:A,isIntersecting:k,entry:S},c[22]=S,c[23]=k,c[24]=u):u=c[24],u}])},866969,e=>{"use strict";var t=e.i(663456),r=e.i(16043),n=e.i(143253);e.s(["f",0,function(e,i){let a,s,l,o,u=(0,t.c)(6),c=(0,r.useRef)(e);u[0]!==e?(a=()=>{c.current=e},s=[e],u[0]=e,u[1]=a,u[2]=s):(a=u[1],s=u[2]),(0,n.f)(a,s),u[3]!==i?(l=()=>{if(null===i)return;let e=setInterval(()=>{c.current()},i);return()=>{clearInterval(e)}},o=[i],u[3]=i,u[4]=l,u[5]=o):(l=u[4],o=u[5]),(0,r.useEffect)(l,o)}])},605908,e=>{"use strict";var t=e.i(30368),r=e.i(315368),n=e.i(206601);function i(e){if("number"==typeof e)return Number.isFinite(e)?e:null;if("string"!=typeof e)return null;let t=Number.parseFloat(e);return Number.isFinite(t)?t:null}e.s(["L",0,function(e,t){return t<=0?"—":(0,n.h)(e,t)},"X",0,function(e,r){return Number.isFinite(r)?(0,t.f)(e).number(r>=1e3?r:Math.round(r),{preset:r>=1e3?"compact-significant-thousands":"integer"})??"—":"—"},"x",0,function(e,r){return Number.isFinite(r)?(0,t.f)(e).usd(r,{preset:r>=1e3?"compact-significant-thousands":"activity-export"})??"—":"—"},"Z",0,function(e,r){return(0,t.f)(e).percentPoints(100*r,{preset:"native-fixed-1"})??"—"},"M",0,function(e,r){let n=i(r);if(null===n)return"—";let a=Math.abs(n)>=1e3;return(0,t.f)(e).number(a?n:Math.round(n),{preset:a?"compact-significant-thousands":"integer"})??"—"},"H",0,function(e,{value:n,granularity:i,timeZone:a="UTC",dateTimePreset:s="chart-24h"}){if("string"!=typeof n||0===n.length)return"";let l=(0,t.f)(e),o=(0,r.I)(n);return"hour"===i||"minute"===i?l.dateTime(o,{timeZone:a,preset:s})??n:l.date(o,{timeZone:"UTC",preset:"month"===i?"month-year-short":"day-month"})??n},"$",0,function(e,r){var n;let a=i(r);if(null===a)return"—";let s=0===(n=a)||Math.abs(n)>=.01?"":n<0?">-":"<",l=(0,t.f)(e).usd(""===s?a:.01,{preset:"compact-significant-thousands"})??"—";return`${s}${l}`},"n",0,function(e,r){return(0,t.f)(e).number(r,{preset:"compact-significant-thousands"})??"—"},"o",0,function(e,r){return(0,t.f)(e).usd(r,{preset:"compact-significant-thousands"})??"—"}])},315368,e=>{"use strict";var t=e.i(30368),r=e.i(272114),n=e.i(647204);let i=e=>{let t=(0,r.z)(e);return new Date((0,n.V)(t)?0/0:t.data)};e.s(["$",0,function(e,r,n=!1){return(0,t.f)(e).date(i(r),{timeZone:"UTC",preset:n?"medium":"day-month"})??"—"},"M",0,function(e,{value:r,shouldIncludeDay:n=!1,timeZone:a}){let s=(0,t.f)(e),l=i(r);return(n?s.dateTime(l,{timeZone:a,preset:"chart-numeric-hour"}):s.time(l,{timeZone:a,preset:"numeric"}))??"—"},"I",0,i,"n",0,function(e,t){return"utc"===e||"UTC"===t?void 0:t}])},206601,e=>{"use strict";var t=e.i(30368),r=e.i(165757);function n(e,r){return(0,t.f)(e).duration(r,{preset:"latency-fixed-seconds"})??"—"}function i(e,r){let n=(0,t.f)(e).nativeNumber(Math.round(r));return void 0===n?"—":`${n} tok/s`}function a(e,r){return(0,t.f)(e).number(r,{preset:"performance-count"})??"—"}e.s(["M",0,function(e,r){return r<=0?"—":(0,t.f)(e).duration(r,{preset:"performance"})??"—"},"h",0,n,"y",0,function(e,s,l){if(s.includes("latency"))return n(e,l);if(s.includes("throughput"))return i(e,l);if(s.includes("price")){if(l<.005)return"";let r=(0,t.f)(e).usd(l,{preset:"native-fixed-2"});return void 0===r?"—":`${r}/M`}return s===r.C.RequestCount?a(e,l):(0,t.f)(e).number(l,{preset:"decimal-3"})??"—"},"w",0,a,"S",0,i])},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}`,n=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"]),i=/\.(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 i=r.split(".").slice(1);if(i.length<2||2===i.length&&2===(i[1]??"").length&&t.has(i[0]??""))return null;let a=i.join(".");return[...n].some(e=>a===e||a.endsWith(`.${e}`))?null:`https://${a}`},"Q",0,e=>{try{return i.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)},640216,e=>{"use strict";var t=e.i(914571),r=e.i(647204),n=e.i(30012);function i(e){let t=e.replaceAll(/^\[|\]$/g,""),r=o(t);if(r)return i(r);if(a(t)){let e=Number.parseInt(t.split(".")[0]??"",10);return 0===e||127===e}let n=s(t);if(n)return n.slice(0,15).every(e=>0===e)&&(0===n[15]||1===n[15]);let l=u(t);return"localhost"===l||l.endsWith(".localhost")||l.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 s(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 n=r.split(".").map(Number),i=(n[0]??0)<<8|(n[1]??0),s=(n[2]??0)<<8|(n[3]??0);t=`${t.slice(0,e+1)}${i.toString(16)}:${s.toString(16)}`}let n=t.indexOf("::");if(n!==t.lastIndexOf("::"))return null;let i=-1!==n?function(e,t){let r=e.slice(0,t),n=e.slice(t+2),i=""===r?[]:r.split(":"),a=""===n?[]:n.split(":");if(i.some(e=>""===e)||a.some(e=>""===e))return null;let s=8-i.length-a.length;return s<1?null:[...i,...Array.from({length:s},()=>"0"),...a]}(t,n):t.split(":");return null===i||8!==i.length||i.some(e=>!/^[0-9a-f]{1,4}$/.test(e))?null:i.flatMap(e=>{let t=Number.parseInt(e,16);return[t>>8&255,255&t]})}function l(e){return 254===e[0]&&((e[1]??0)&192)==128}function o(e){let t=s(e);if(null===t)return null;let r=t.slice(0,10).every(e=>0===e)&&255===t[10]&&255===t[11],n=t.slice(0,12).every(e=>0===e),i=t.slice(0,15).every(e=>0===e)&&(0===t[15]||1===t[15]);return!r&&!n||n&&i?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&&i(e.hostname)},"i",0,function(e){let t=u(e);return"cfargotunnel.com"===t||t.endsWith(".cfargotunnel.com")},"y",0,i,"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,h;try{c=new URL(e)}catch{return(0,r.Y)("Invalid URL format")}let f=c.hostname.toLowerCase(),p=c.protocol,g=(0,n.T)()&&!0;if(i(f)&&g)return"http:"!==p&&"https:"!==p?(0,r.Y)("Only HTTP and HTTPS protocols are allowed"):(0,r.N)(!0);if(i(f))return(0,r.Y)("Localhost URLs are not allowed");if(function e(t){let r=o(t.replaceAll(/^\[|\]$/g,""));if(r)return e(r)||i(r);if(a(t)){let e=t.split(".").map(Number);if(4!==e.length||e.some(e=>Number.isNaN(e)))return!1;let[r,n]=e;return void 0!==r&&void 0!==n&&(10===r||172===r&&n>=16&&n<=31||192===r&&168===n||100===r&&n>=64&&n<=127||169===r&&254===n)}if(null!==s(t)){let e=s(t);return null!==e&&(((e[0]??0)&254)==252||l(e))}return!1}(f))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!==s(e)){let t=s(e);return null!==t&&l(t)}return!1}(f)||"metadata.google.internal"===(d=u(f))||d.endsWith(".metadata.google.internal")||(m=u(f)).endsWith(".svc")||m.endsWith(".svc.cluster.local")||m.endsWith(".cluster.local")||(h=u(f)).endsWith(".internal")||h.endsWith(".local"))return(0,r.Y)("Unsupported URL, public internet addresses only");if(!g&&"https:"!==p){if(!t.allowHttp)return(0,r.Y)("Only HTTPS URLs are allowed");if("http:"!==p)return(0,r.Y)("Only HTTP and HTTPS protocols are allowed")}return g&&"http:"!==p&&"https:"!==p?(0,r.Y)("Only HTTP and HTTPS protocols are allowed in dev"):(0,r.N)(!0)}],640216)},330924,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(297510),i=e.i(605908),a=e.i(138257),s=e.i(199168);e.i(707060);var l=e.i(387086),o=e.i(196991),u=e.i(61885),c=e.i(309317),d=e.i(136562),m=e.i(1423),h=e.i(16043),f=e.i(824620),p=e.i(5178),g=e.i(416526),x=e.i(881313),v=e.i(9739);let b=[{name:"Research",interval:(0,l.b)("Monthly"),spend:"$1,140",limit:"$3,000",share:38,isLimitReached:!1,note:void 0},{name:"Support",interval:(0,l.b)("Weekly"),spend:"$4,120",limit:"$5,000",share:82,isLimitReached:!1,note:(0,l.b)("Alert at 80%")},{name:"Production",interval:(0,l.b)("Daily"),spend:"$2,000",limit:"$2,000",share:100,isLimitReached:!0,note:(0,l.b)("Limit reached")}];function w(){let e,n,i,a,l=(0,r.c)(11),o=(0,s.o)(),u=(0,s.M)(),c=(0,h.useRef)(null),p=(0,x.f)(c),w=(0,f.useReducedSafe)(),[k]=(0,h.useState)(N),j=w?void 0:k;return l[0]!==o?(e=o("Illustration: budgets for three workspaces: Research at $1,140 of a $3,000 monthly budget, Support at $4,120 of a $5,000 weekly budget, past its alert at 80%, and Production at its $2,000 daily limit"),l[0]=o,l[1]=e):e=l[1],l[2]!==p||l[3]!==u||l[4]!==j?(n=b.map((e,r)=>(0,t.jsxs)("li",{className:"flex flex-col gap-2.5",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 @md:text-prose",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-0.5 @md:flex-row @md:items-baseline @md:gap-2",children:[(0,t.jsx)("span",{className:"truncate font-medium text-foreground",children:e.name}),(0,t.jsx)("span",{className:"text-muted-foreground",children:u(e.interval)})]}),(0,t.jsxs)("div",{className:"flex shrink-0 flex-col items-end gap-0.5 @md:flex-row-reverse @md:items-baseline @md:gap-3",children:[(0,t.jsxs)("span",{className:"tabular-nums text-muted-foreground",children:[(0,t.jsx)("span",{className:"text-foreground",children:(0,t.jsx)(g.f,{value:e.spend,isArmed:void 0!==j,isRunning:p,delayMs:void 0===j?0:j.delayMs+j.staggerMs*r,stepMs:j?.rollStepMs})}),` / ${e.limit}`]}),(0,t.jsx)(y,{budget:e})]})]}),(0,t.jsx)(m.f,{value:e.share,variant:e.isLimitReached?"negative":"neutral",track:"foreground",className:(0,d.f)("h-1.5",e.isLimitReached&&"ent-hit-stretch"),indicatorClassName:e.isLimitReached?"ent-fill-hit":"ent-fill"})]},e.name)),l[2]=p,l[3]=u,l[4]=j,l[5]=n):n=l[5],l[6]!==n?(i=(0,t.jsx)("ul",{ref:c,className:"ent-stagger flex flex-col gap-6 @container [--ent-row-stagger:var(--duration-quick)]",children:n}),l[6]=n,l[7]=i):i=l[7],l[8]!==e||l[9]!==i?(a=(0,t.jsx)(v.f,{label:e,children:i}),l[8]=e,l[9]=i,l[10]=a):a=l[10],a}function y(e){let n,i,a=(0,r.c)(10),{budget:l}=e,o=(0,s.M)();if(void 0===l.note)return null;if(!l.isLimitReached){let e,r;return a[0]!==l.note||a[1]!==o?(e=o(l.note),a[0]=l.note,a[1]=o,a[2]=e):e=a[2],a[3]!==e?(r=(0,t.jsx)("span",{className:"text-muted-foreground",children:e}),a[3]=e,a[4]=r):r=a[4],r}return a[5]!==l.note||a[6]!==o?(n=o(l.note),a[5]=l.note,a[6]=o,a[7]=n):n=a[7],a[8]!==n?(i=(0,t.jsx)("span",{className:"ent-hit-note text-negative-text [--ent-sweep-rest:var(--color-negative-text)]",children:(0,t.jsx)("span",{className:"ent-label-sweep [--ent-sweep-from:var(--color-muted-foreground)]",children:n})}),a[8]=n,a[9]=i):i=a[9],i}function N(){let e=(0,p.f)("--duration-medium"),t=(0,p.f)("--duration-fast"),r=(0,p.f)("--duration-stagger"),n=(0,p.f)("--duration-quick");if(void 0!==e&&void 0!==t&&void 0!==r&&void 0!==n)return{delayMs:e,staggerMs:n,rollStepMs:(t+r-n)/4}}let k=[1165,1115,1317,1112,2716,623,728,1150,1323,1189,1211,3154,688,719,1495,1650,1504,1439,1714,1677,788,1380,1381,1484,1740,1451,2025,865,1673,1444],j=[{label:(0,l.b)("Total spend"),value:k.reduce((e,t)=>e+t,0),change:12.3,daily:k},{label:(0,l.b)("Blended $/1M"),value:1.74,change:-18.2,daily:[1.82,1.92,2.26,3.23,2.15,2.01,1.25,2.15,1.79,3.34,2.2,2.09,1.75,1.27,1.79,2.01,2.7,1.46,1.88,1.92,1.2,1.56,1.81,2.96,1.6,1.82,1.86,.93,1.24,1.63]}],S=[1,2,2.5,5,10];function M(){let e,l,d,m=(0,r.c)(8),h=(0,s.o)(),f=(0,s.M)(),p=(0,a.useLocale)();return m[0]!==h?(e=h("Illustration: total spend of $41,920, up 12.3% on the previous period, at a blended $1.74 per million tokens, down 18.2%"),m[0]=h,m[1]=e):e=m[1],m[2]!==p||m[3]!==f?(l=j.map(e=>{var r;let a,s,l,d,m;return(0,t.jsxs)("div",{className:"flex flex-col gap-1.5 rounded-xl border border-border bg-card p-5 md:p-6 @md:text-prose",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:f(e.label)}),(0,t.jsx)("span",{className:"text-display font-medium tracking-tight tabular-nums text-foreground",children:(0,i.x)(p,e.value)})]}),(0,t.jsx)("svg",{viewBox:"0 0 96 48","aria-hidden":"true",className:"h-12 w-24 shrink-0 text-positive",children:(0,t.jsx)("path",{d:(l=(a=Math.max(...r=e.daily)/4,s=10**Math.floor(Math.log10(a)),(S.find(e=>e*s>=a)??10)*s*4),m=(d=r.map((e,t)=>({x:5+86*t/(r.length-1),y:5+(1-e/l)*38}))).map((e,t)=>(function e(t,r){let n=t[r-1],i=t[r],a=t[r+1];if(void 0===i)return 0;if(void 0!==n&&void 0!==a){let e=(i.y-n.y)/(i.x-n.x),t=(a.y-i.y)/(a.x-i.x),r=(e*(a.x-i.x)+t*(i.x-n.x))/(a.x-n.x);return(Math.sign(e)+Math.sign(t))*Math.min(Math.abs(e),Math.abs(t),.5*Math.abs(r))}let s=n??a;return void 0===s?0:(3*((i.y-s.y)/(i.x-s.x))-e(t,void 0===n?1:r-1))/2})(d,t)),d.map((e,t)=>{let r=d[t-1];if(void 0===r)return`M${e.x.toFixed(2)} ${e.y.toFixed(2)}`;let n=(e.x-r.x)/3,i=m[t-1]??0,a=m[t]??0;return`C${(r.x+n).toFixed(2)} ${(r.y+n*i).toFixed(2)} ${(e.x-n).toFixed(2)} ${(e.y-n*a).toFixed(2)} ${e.x.toFixed(2)} ${e.y.toFixed(2)}`}).join(" ")),fill:"none",stroke:"currentColor",strokeWidth:1.5})})]}),(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-positive-text",children:[e.change>0?(0,t.jsx)(c.f,{className:"size-3.5","aria-hidden":"true"}):(0,t.jsx)(u.f,{className:"size-3.5","aria-hidden":"true"}),(0,t.jsx)("span",{className:"tabular-nums",children:(0,n.I)(Math.abs(e.change),{locale:p,preset:"native-fixed-1"})}),(0,t.jsx)(o.T,{children:(0,t.jsx)("span",{className:"ml-auto text-muted-foreground",children:"vs prev period"})})]})]},e.label)}),m[2]=p,m[3]=f,m[4]=l):l=m[4],m[5]!==e||m[6]!==l?(d=(0,t.jsx)("div",{role:"img","aria-label":e,className:"grid gap-3 @md:grid-cols-2",children:l}),m[5]=e,m[6]=l,m[7]=d):d=m[7],d}e.s(["ActivityAndBudgetsVisual",0,function(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("div",{className:"flex flex-col gap-3 @container",children:[(0,t.jsx)(M,{}),(0,t.jsx)(w,{})]}),n[0]=e):e=n[0],e}],330924)},701848,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(376885),i=e.i(136562),a=e.i(139697),s=e.i(16043),l=e.i(26989),o=e.i(289694);function u(){return!1}function c(){let e=document.querySelector(`#${l.r}`);return e?.dataset.chosen!==void 0||window.location.hash===`#${l.r}`}function d(e){let t=document.querySelector(`#${l.r}`);if(null===t)return()=>{};let r=new MutationObserver(e);return r.observe(t,{attributes:!0,attributeFilter:["data-chosen"]}),()=>r.disconnect()}e.s(["ClosingAction",0,function(e){let l,m,h,f=(0,r.c)(9),{audience:p,href:g,label:x}=e,v="existing"===p===function(){let{isSignedIn:e}=(0,n.f)(),t=(0,s.useSyncExternalStore)(d,c,u);return!0===e||t}(),b=v?"default":"outline",w=!v&&"bg-transparent";return f[0]!==w?(l=(0,i.f)("w-full",w),f[0]=w,f[1]=l):l=f[1],f[2]!==g||f[3]!==x?(m=(0,t.jsx)(o.UtmForwardingLink,{href:g,"data-closing-action":"",children:x}),f[2]=g,f[3]=x,f[4]=m):m=f[4],f[5]!==b||f[6]!==l||f[7]!==m?(h=(0,t.jsx)(a.Button,{size:"lg",variant:b,className:l,render:m}),f[5]=b,f[6]=l,f[7]=m,f[8]=h):h=f[8],h}],701848)},828019,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(139697),i=e.i(960773),a=e.i(199168);e.i(707060);var s=e.i(196991),l=e.i(378643),o=e.i(958244),u=e.i(306),c=e.i(26989),d=e.i(136562),m=e.i(894868),h=e.i(1423),f=e.i(119488),p=e.i(866969),g=e.i(387086),x=e.i(16043),v=e.i(824620);let b=2.38,w="$2.38",y=1.74,N="$1.74",k=[{label:(0,g.b)("Code generation"),colorClassName:"[--ent-task-color:var(--color-chart-2)]",share:"58%",authors:["openai","deepseek","minimax","z-ai","nvidia"]},{label:(0,g.b)("Multi-step planning"),colorClassName:"[--ent-task-color:var(--color-chart-8)]",share:"51%",authors:["deepseek","z-ai","minimax","qwen","stepfun"]},{label:(0,g.b)("Classification"),colorClassName:"[--ent-task-color:var(--color-chart-4)]",share:"39%",authors:["deepseek","minimax","z-ai","moonshotai","inception"]},{label:(0,g.b)("Data extraction"),colorClassName:"[--ent-task-color:var(--color-chart-1)]",share:"41%",authors:["minimax","stepfun","deepseek","z-ai","qwen"]}],j=[{task:0,author:0},{task:2,author:1},{task:1,author:0},{task:3,author:2},{task:0,author:1},{task:2,author:3},{task:1,author:2},{task:3,author:0},{task:0,author:2},{task:2,author:0},{task:1,author:4},{task:3,author:1}];function S(){let e,n,i,l,o,u,c,d,m,h,g,S=(0,r.c)(18),_=(0,a.o)(),C=(0,v.useReducedSafe)(),[T,L]=(0,x.useState)(0),[I,E]=(0,x.useState)(0);S[0]!==T?(e={onChange:e=>{e||(T>0&&E(R),L(0))}},S[0]=T,S[1]=e):e=S[1];let{ref:z,isIntersecting:F}=(0,f.f)(e),P=F&&!C&&T<=3;S[2]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{L(M)},S[2]=n):n=S[2],(0,p.f)(n,P?1500:null);let O=C||T<1||T>3?void 0:j[(3*I+T-1)%j.length];return S[3]!==_?(i=_("Illustration: the top five models routed for each task, and a blended cost of $1.74 per million tokens routed versus $2.38 on one model"),S[3]=_,S[4]=i):i=S[4],S[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 px-5 pt-5 text-muted-foreground max-[375px]:px-4 md:px-6 md:pt-6",children:[(0,t.jsx)("span",{children:(0,t.jsx)(s.T,{children:"Top 5 models by task"})}),(0,t.jsx)("span",{children:(0,t.jsx)(s.T,{children:"Top 5 share of tokens"})})]}),S[5]=l):l=S[5],S[6]!==O?(o=k.map((e,r)=>(0,t.jsx)(A,{task:e,routedAuthor:O?.task===r?O.author:void 0},e.label)),S[6]=O,S[7]=o):o=S[7],S[8]!==o?(u=(0,t.jsx)("ul",{className:"px-5 pt-2 pb-1 max-[375px]:px-4 md:px-6",children:o}),S[8]=o,S[9]=u):u=S[9],S[10]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 text-muted-foreground",children:[(0,t.jsx)("span",{className:"text-pretty",children:(0,t.jsx)(s.T,{children:"Example: blended cost per 1M tokens"})}),(0,t.jsx)("span",{className:"tabular-nums text-positive-text",children:"−27%"})]}),S[10]=c):c=S[10],S[11]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)($,{label:(0,t.jsx)(s.T,{children:"One model"}),price:w,share:100}),S[11]=d):d=S[11],S[12]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(s.T,{children:"Routed"}),S[12]=m):m=S[12],S[13]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsxs)("div",{className:"border-t border-border px-5 py-4 max-[375px]:px-4 md:px-6 md:py-5",children:[c,(0,t.jsxs)("div",{className:"mt-3 grid grid-cols-[auto_1fr_auto] items-center gap-x-4 gap-y-2",children:[d,(0,t.jsx)($,{label:m,price:N,share:Math.round(y/b*100),isRouted:!0})]})]}),S[13]=h):h=S[13],S[14]!==z||S[15]!==i||S[16]!==u?(g=(0,t.jsxs)("div",{ref:z,role:"img","aria-label":i,className:"min-w-0 overflow-hidden rounded-xl border border-border bg-card text-body",children:[l,u,h]}),S[14]=z,S[15]=i,S[16]=u,S[17]=g):g=S[17],g}function M(e){return e+1}function R(e){return e+1}function $(e){let n,i,a,s,l,o=(0,r.c)(15),{label:u,price:c,share:m,isRouted:f}=e,p=void 0!==f&&f,g=p?"text-foreground":"text-muted-foreground";o[0]!==u||o[1]!==g?(n=(0,t.jsx)("span",{className:g,children:u}),o[0]=u,o[1]=g,o[2]=n):n=o[2];let x=p?void 0:"bg-muted-foreground/40";o[3]!==m||o[4]!==x?(i=(0,t.jsx)(h.f,{value:m,variant:"neutral",track:"muted",className:"h-1.5",indicatorClassName:x}),o[3]=m,o[4]=x,o[5]=i):i=o[5];let v=p?"font-medium text-foreground":"text-muted-foreground";return o[6]!==v?(a=(0,d.f)("text-right tabular-nums",v),o[6]=v,o[7]=a):a=o[7],o[8]!==c||o[9]!==a?(s=(0,t.jsx)("span",{className:a,children:c}),o[8]=c,o[9]=a,o[10]=s):s=o[10],o[11]!==n||o[12]!==i||o[13]!==s?(l=(0,t.jsxs)(t.Fragment,{children:[n,i,s]}),o[11]=n,o[12]=i,o[13]=s,o[14]=l):l=o[14],l}function A(e){let n,i,s,l,o,u,c,h,f=(0,r.c)(23),{task:p,routedAuthor:g}=e,x=(0,a.M)();f[0]!==p.colorClassName?(n=(0,d.f)("flex flex-wrap items-center gap-x-3 gap-y-2 border-b border-border py-3.5 last:border-b-0",p.colorClassName),f[0]=p.colorClassName,f[1]=n):n=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("span",{className:"size-2 shrink-0 rounded-full bg-(--ent-task-color)"}),f[2]=i):i=f[2];let v=void 0===g?void 0:"";if(f[3]!==x||f[4]!==p.label?(s=x(p.label),f[3]=x,f[4]=p.label,f[5]=s):s=f[5],f[6]!==v||f[7]!==s?(l=(0,t.jsxs)("span",{className:"flex w-full min-w-0 items-center gap-2.5 sm:w-auto sm:flex-1",children:[i,(0,t.jsx)("span",{className:"ent-land truncate text-section font-medium text-foreground [--ent-sweep-color:var(--ent-task-color)]","data-landed":v,children:s})]}),f[6]=v,f[7]=s,f[8]=l):l=f[8],f[9]!==g||f[10]!==p.authors){let e;f[12]!==g?(e=(e,r)=>(0,t.jsxs)("span",{className:"group/icon relative transition-opacity duration-fast ease-smooth-out data-[dimmed]:opacity-35 motion-reduce:transition-none","data-routed":g===r?"":void 0,"data-dimmed":void 0!==g&&g!==r?"":void 0,children:[(0,t.jsx)(m.f,{author:e,frame:!0,className:"size-6"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute -inset-1 rounded-lg border border-foreground/50 opacity-0 transition-opacity duration-fast ease-smooth-out group-data-[routed]/icon:opacity-100 motion-reduce:transition-none"})]},e),f[12]=g,f[13]=e):e=f[13],o=p.authors.map(e),f[9]=g,f[10]=p.authors,f[11]=o}else o=f[11];return f[14]!==o?(u=(0,t.jsx)("span",{className:"flex flex-1 items-center gap-1.5 sm:flex-none",children:o}),f[14]=o,f[15]=u):u=f[15],f[16]!==p.share?(c=(0,t.jsx)("span",{className:"w-10 shrink-0 text-right tabular-nums text-muted-foreground",children:p.share}),f[16]=p.share,f[17]=c):c=f[17],f[18]!==n||f[19]!==l||f[20]!==u||f[21]!==c?(h=(0,t.jsxs)("li",{className:n,children:[l,u,c]}),f[18]=n,f[19]=l,f[20]=u,f[21]=c,f[22]=h):h=f[22],h}var _=e.i(792856),C=e.i(289694);function T(e){e.preventDefault(),function(e){let t=document.querySelector(`#${e}`);if(null===t)return;t.dataset.chosen="";let r=window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.scrollIntoView({behavior:r?"auto":"smooth",block:"start"});let n=new URL(window.location.href);n.hash=e,window.history.replaceState(window.history.state,"",n);let i=!1,a=()=>{var e;let r,n;i||(i=!0,t.focus({preventScroll:!0}),void 0===t.dataset.arrived&&(t.dataset.arrived="",e=t,r=!1,(n=new IntersectionObserver(([t])=>{if(void 0!==t){if(t.isIntersecting){r=!0;return}r&&(delete e.dataset.arrived,n.disconnect())}})).observe(e)))};r?a():(window.addEventListener("scrollend",a,{once:!0}),window.setTimeout(a,900))}(c.r)}e.s(["EnterpriseHero",0,function(){let e,d,m,h,f,p,g,x,v,b,w,y,N,k,j,M,R,$,A=(0,r.c)(36),L=(0,i.Q)(),I=(0,a.o)();if(A[0]!==I)e={title:I("Your inference control plane"),body:I("One gateway to infinite supply with smart routing, enforced security controls, automatic failover, and every dollar traced."),demoLabel:I("Book a demo"),apiKeyLabel:I("Get an API key")},A[0]=I,A[1]=e;else e=A[1];let E=e;return A[2]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("div",{"aria-hidden":!0,className:"ent-grid pointer-events-none absolute inset-0 -z-10 hidden sm:block"}),m=(0,t.jsx)("div",{"aria-hidden":!0,className:"ent-hero-scrim pointer-events-none absolute inset-x-0 top-0 -z-10 h-full"}),A[2]=d,A[3]=m):(d=A[2],m=A[3]),A[4]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("p",{className:"my-0 text-size-section text-muted-foreground",children:(0,t.jsx)(s.T,{children:"OpenRouter AI Gateway"})}),A[4]=h):h=A[4],A[5]!==E.title?(f=(0,t.jsx)("h1",{className:"font-brand my-0 w-full text-balance text-hero font-bold leading-[1.1] tracking-tight text-foreground sm:text-hero-lg md:text-hero-xl md:tracking-[-0.04em]",children:E.title}),A[5]=E.title,A[6]=f):f=A[6],A[7]!==E.body?(p=(0,t.jsx)("p",{className:"my-0 max-w-xl text-pretty text-size-section font-normal leading-prose text-muted-foreground",children:E.body}),A[7]=E.body,A[8]=p):p=A[8],A[9]!==L?(g=()=>{L.capture("click_enterprise_hero_contact_sales")},A[9]=L,A[10]=g):g=A[10],A[11]!==E.demoLabel?(x=(0,t.jsx)(C.UtmForwardingLink,{href:c.u,children:E.demoLabel}),A[11]=E.demoLabel,A[12]=x):x=A[12],A[13]!==g||A[14]!==x?(v=(0,t.jsx)(n.Button,{size:"lg",className:"w-full sm:w-auto",onClick:g,render:x}),A[13]=g,A[14]=x,A[15]=v):v=A[15],A[16]!==E.apiKeyLabel?(b=(0,t.jsx)(n.Button,{size:"lg",variant:"outline",className:"w-full sm:w-auto",render:(0,t.jsx)(l.f,{children:E.apiKeyLabel})}),A[16]=E.apiKeyLabel,A[17]=b):b=A[17],A[18]!==v||A[19]!==b?(w=(0,t.jsxs)("div",{className:"flex w-full flex-col gap-3 pt-2 sm:w-auto sm:flex-row sm:gap-4",children:[v,b]}),A[18]=v,A[19]=b,A[20]=w):w=A[20],A[21]!==I?(y=I("Already on OpenRouter? See what Enterprise adds"),A[21]=I,A[22]=y):y=A[22],A[23]!==y?(N=(0,t.jsx)(o.f,{href:`#${c.r}`,onClick:T,children:y}),A[23]=y,A[24]=N):N=A[24],A[25]!==w||A[26]!==N||A[27]!==f||A[28]!==p?(k=(0,t.jsxs)("div",{className:"flex flex-col items-start gap-5 md:gap-6",children:[h,f,p,w,N]}),A[25]=w,A[26]=N,A[27]=f,A[28]=p,A[29]=k):k=A[29],A[30]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsxs)("div",{className:"relative min-w-0",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"ent-card-glow pointer-events-none absolute -inset-x-[30%] -inset-y-[45%] -z-10"}),(0,t.jsx)(S,{})]}),A[30]=j):j=A[30],A[31]!==k?(M=(0,t.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-2 lg:gap-16",children:[k,j]}),A[31]=k,A[32]=M):M=A[32],A[33]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsx)("div",{className:"lg:mt-auto",children:(0,t.jsx)(u.CustomerLogos,{})}),A[33]=R):R=A[33],A[34]!==M?($=(0,t.jsxs)("header",{className:"relative isolate overflow-hidden",children:[d,m,(0,t.jsxs)(_.t,{className:"flex flex-col gap-14 pb-14 pt-16 md:gap-20 md:pb-16 md:pt-24 lg:min-h-[min(calc(100svh-var(--navbar-height)-var(--navbar-top,0px)-6rem),50rem)] lg:pb-12",children:[M,R]})]}),A[34]=M,A[35]=$):$=A[35],$}],828019)},868460,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(119488),i=e.i(824620);e.s(["PillarVisual",0,function(e){let a,s,l=(0,r.c)(5),{children:o}=e;l[0]===Symbol.for("react.memo_cache_sentinel")?(a={freezeOnceVisible:!0,rootMargin:i.REVEAL_MARGIN},l[0]=a):a=l[0];let{ref:u,isIntersecting:c}=(0,n.f)(a),d=c?"":void 0;return l[1]!==o||l[2]!==u||l[3]!==d?(s=(0,t.jsx)(i.Reveal,{className:"min-w-0",children:(0,t.jsx)("div",{ref:u,"data-entered":d,children:o})}),l[1]=o,l[2]=u,l[3]=d,l[4]=s):s=l[4],s}])},160985,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(894868),a=e.i(751155),s=e.i(199630),l=e.i(199168),o=e.i(207298);e.i(707060);var u=e.i(196991),c=e.i(705925),d=e.i(16043),m=e.i(824620),h=e.i(881313),f=e.i(9739);let p="bg-positive",g=(0,o.f)("flex-1 rounded-sm transition-colors duration-quick ease-smooth-out motion-reduce:transition-none",{variants:{state:{idle:"bg-foreground/8",serving:p,negative:"bg-negative",accent:p}}}),x=(0,o.f)("",{variants:{tone:{negative:"text-negative-text [--ent-sweep-rest:var(--color-negative-text)]",accent:"text-positive-text [--ent-sweep-rest:var(--color-positive-text)]"}}}),v=["12:00","12:10","12:20","12:30"];function b(e){let n,s,o,d,m,h,p,g,x,v,b,N,k,j,S,M=(0,r.c)(31),{bodyRef:R,isLit:$}=e,A=(0,l.o)();M[0]!==A?(n=A("Rate limited"),M[0]=A,M[1]=n):n=M[1],M[2]!==n?(s={provider:"Anthropic",detail:null,legend:n,tone:"negative",outsideWindow:"serving"},M[2]=n,M[3]=s):s=M[3],M[4]!==A?(o=A("Bring your own key"),M[4]=A,M[5]=o):o=M[5],M[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsxs)(a.TooltipNonInteractiveTrigger,{tabIndex:-1,className:"flex shrink-0 cursor-help items-center gap-1 text-warning opacity-75 transition-opacity duration-quick ease-smooth-out hover:opacity-100 data-[popup-open]:opacity-100",children:[(0,t.jsx)(c.f,{className:"size-3.5","aria-hidden":"true"}),(0,t.jsx)("span",{className:"hidden @md:inline",children:"BYOK"})]}),M[6]=d):d=M[6],M[7]!==o?(m=(0,t.jsx)(a.Tooltip,{content:o,children:d}),M[7]=o,M[8]=m):m=M[8],M[9]!==A?(h=A("Served by fallback"),M[9]=A,M[10]=h):h=M[10],M[11]!==m||M[12]!==h?(p={provider:"Amazon Bedrock",detail:m,legend:h,tone:"accent",outsideWindow:"idle"},M[11]=m,M[12]=h,M[13]=p):p=M[13],M[14]!==s||M[15]!==p?(g=[s,p],M[14]=s,M[15]=p,M[16]=g):g=M[16];let _=g;return M[17]!==A?(x=A("Illustration: over half an hour of traffic, Anthropic is rate limited for eight minutes. For exactly that window OpenRouter serves the requests from Amazon Bedrock with your own key, then returns them to Anthropic, so every minute is served. Failed requests are not charged."),M[17]=A,M[18]=x):x=M[18],M[19]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.f,{bare:!0,author:"anthropic",className:"size-4"}),(0,t.jsx)("span",{className:"truncate font-mono text-caption",children:"anthropic/claude-opus-5.5"})]}),b=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.T,{children:"Charged for failed requests"}),(0,t.jsx)("span",{className:"font-medium tabular-nums text-foreground",children:"$0.00"})]}),M[19]=v,M[20]=b):(v=M[19],b=M[20]),M[21]!==$||M[22]!==_?(N=(0,t.jsx)("div",{className:"flex flex-col gap-6",children:_.map(e=>(0,t.jsx)(w,{lane:e,isLit:$},e.provider))}),M[21]=$,M[22]=_,M[23]=N):N=M[23],M[24]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)(y,{}),M[24]=k):k=M[24],M[25]!==R||M[26]!==N?(j=(0,t.jsxs)("div",{ref:R,className:"flex flex-col gap-3 @container",children:[N,k]}),M[25]=R,M[26]=N,M[27]=j):j=M[27],M[28]!==j||M[29]!==x?(S=(0,t.jsx)(f.f,{label:x,title:v,footer:b,children:j}),M[28]=j,M[29]=x,M[30]=S):S=M[30],S}function w(e){let i,a,s,l,o,u,c,d,m,h,f=(0,r.c)(24),{lane:p,isLit:v}=e;return f[0]!==p.provider?(i=(0,t.jsx)("span",{className:"truncate font-medium text-foreground",children:p.provider}),f[0]=p.provider,f[1]=i):i=f[1],f[2]!==p.detail||f[3]!==i?(a=(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[i,p.detail]}),f[2]=p.detail,f[3]=i,f[4]=a):a=f[4],f[5]!==v||f[6]!==p.tone?(s=(0,n.f)("shrink-0 transition-opacity duration-fast ease-smooth-out motion-reduce:transition-none",x({tone:p.tone}),v?"opacity-100 delay-(--sweep-delay)":"opacity-0"),f[5]=v,f[6]=p.tone,f[7]=s):s=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(l={"--sweep-delay":k(9)},f[8]=l):l=f[8],f[9]===Symbol.for("react.memo_cache_sentinel")?(o={"--sweep-delay":k(9)},f[9]=o):o=f[9],f[10]!==p.legend?(u=(0,t.jsx)("span",{className:"ent-label-sweep [--ent-sweep-from:var(--color-muted-foreground)] [animation-delay:var(--sweep-delay)]","data-allow-inline-style":!0,style:o,children:p.legend}),f[10]=p.legend,f[11]=u):u=f[11],f[12]!==s||f[13]!==u?(c=(0,t.jsx)("span",{className:s,"data-allow-inline-style":!0,style:l,children:u}),f[12]=s,f[13]=u,f[14]=c):c=f[14],f[15]!==a||f[16]!==c?(d=(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 @md:text-prose",children:[a,c]}),f[15]=a,f[16]=c,f[17]=d):d=f[17],f[18]!==v||f[19]!==p?(m=(0,t.jsx)("div",{className:"flex h-9 gap-0.5 @md:h-11 @md:gap-1",children:Array.from({length:30},(e,r)=>{let n=v?function({lane:e,index:t}){return t>=9&&t<17?e.tone:e.outsideWindow}({lane:p,index:r}):"idle";return(0,t.jsx)("span",{className:g({state:n}),"data-state":n,"data-allow-inline-style":!0,style:{"--sweep-delay":k(r)}},r)})}),f[18]=v,f[19]=p,f[20]=m):m=f[20],f[21]!==d||f[22]!==m?(h=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[d,m]}),f[21]=d,f[22]=m,f[23]=h):h=f[23],h}function y(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"relative h-5 text-caption text-muted-foreground",children:v.map(N)}),n[0]=e):e=n[0],e}function N(e,r){return(0,t.jsx)("span",{className:(0,n.f)("absolute top-0 left-(--tick-left) tabular-nums",r>0&&r{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(16043),i=e.i(170298),a=e.i(5178);let s=/^(\D*?)(\d{1,3}(?:,\d{3})+|\d+)(\D*)$/;function l(e){let t=s.exec(e);if(!t)return;let[,r="",n="",i=""]=t;return{prefix:r,integer:Number(n.replaceAll(",","")),suffix:i,isGrouped:n.includes(",")}}let o={stiffness:200,damping:20};function u(e){return window.clearTimeout(e)}function c(){return(0,a.f)("--duration-quick")}e.s(["f",0,function(e){let a,s,d,m,h=(0,r.c)(17),{value:f,isArmed:p,isRunning:g,delayMs:x,stepMs:v}=e,b=void 0===x?0:x,[w]=(0,n.useState)(c),y=v??w,[N,k]=(0,n.useState)(f),j=(0,n.useRef)(!1),S=l(f);if(h[0]!==b||h[1]!==p||h[2]!==g||h[3]!==y||h[4]!==f?(a=()=>{let e=function(e){let t=l(e);if(!t)return[e];let r=Math.max(t.integer-4,0);return[...Array.from({length:t.integer-r},(e,n)=>{let i=r+n,a=t.isGrouped?String(i).replaceAll(/\B(?=(\d{3})+(?!\d))/g,","):String(i);return`${t.prefix}${a}${t.suffix}`}),e]}(f);if(!p||void 0===y||e.length<2){j.current=!1,k(f);return}if(!g){j.current=!0,k(e[0]??f);return}if(!j.current)return void k(f);let t=e.slice(1).map((e,t)=>window.setTimeout(()=>k(e),b+y*(t+1)));return()=>t.forEach(u)},s=[b,p,g,y,f],h[0]=b,h[1]=p,h[2]=g,h[3]=y,h[4]=f,h[5]=a,h[6]=s):(a=h[5],s=h[6]),(0,n.useEffect)(a,s),!S){let e;return h[7]!==f?(e=(0,t.jsx)("span",{children:f}),h[7]=f,h[8]=e):e=h[8],e}let M=S.prefix,R=i.TextMorph,$=N.slice(S.prefix.length,N.length-S.suffix.length);return h[9]!==R||h[10]!==o||h[11]!==$?(d=(0,t.jsx)(R,{ease:o,children:$}),h[9]=R,h[10]=o,h[11]=$,h[12]=d):d=h[12],h[13]!==S.prefix||h[14]!==S.suffix||h[15]!==d?(m=(0,t.jsxs)("span",{className:"inline-block",children:[M,d,S.suffix]}),h[13]=S.prefix,h[14]=S.suffix,h[15]=d,h[16]=m):m=h[16],m}],416526)},258726,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(894868),i=e.i(640947),a=e.i(623304),s=e.i(199168),l=e.i(51365),o=e.i(771271);e.i(707060);var u=e.i(196991),c=e.i(9739);let d=[{name:"Claude Opus 5.5",author:"anthropic"},{name:"GPT-6 Sol",author:"openai"},{name:"Gemini 3.8 Flash",author:"google"}],m=[{providerName:o.R.AmazonBedrock,icon:"Bedrock.svg"},{providerName:o.R.Azure,icon:"Azure.svg"},{providerName:o.R.Google,icon:"GoogleVertex.svg",name:"Google Vertex"}];function h(e){return{name:"name"in e?e.name:e.providerName,icon:(0,t.jsx)(i.f,{frame:!0,providerName:e.providerName,providerIcon:{url:(0,l.r)(e.icon)},className:"size-4"})}}function f(e){return{name:e.name,icon:(0,t.jsx)(n.f,{author:e.author,frame:!0,className:"size-4"})}}function p(e){let n,i,a,s,l=(0,r.c)(9),{label:o,chips:u}=e;return l[0]!==o?(n=(0,t.jsx)("span",{className:"shrink-0 font-medium text-foreground @md:text-prose",children:o}),l[0]=o,l[1]=n):n=l[1],l[2]!==u?(i=u.map(g),l[2]=u,l[3]=i):i=l[3],l[4]!==i?(a=(0,t.jsx)("ul",{className:"ent-chips m-0 flex list-none flex-wrap gap-1.5 p-0 @md:justify-end",children:i}),l[4]=i,l[5]=a):a=l[5],l[6]!==n||l[7]!==a?(s=(0,t.jsxs)("div",{className:"flex flex-col gap-2 @md:flex-row @md:items-center @md:justify-between @md:gap-4",children:[n,a]}),l[6]=n,l[7]=a,l[8]=s):s=l[8],s}function g(e){return(0,t.jsxs)("li",{className:void 0===e.icon?"ent-chip rounded-full border border-border px-2.5 py-1 text-foreground":"ent-chip flex items-center gap-1.5 rounded-full border border-border py-1 pr-2.5 pl-1.5 text-foreground",children:[e.icon,e.name]},e.name)}e.s(["SecurityVisual",0,function(){let e,n,i,l,o,g,x,v,b,w,y,N,k=(0,r.c)(17),j=(0,s.o)();return k[0]!==j?(e=j("Illustration: the workspace's default guardrail, with zero data retention on, three allowed models, three allowed providers, and requests restricted to the Europe data region. Requests through other regions are rejected with a 403 before any inference."),k[0]=j,k[1]=e):e=k[1],k[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(u.T,{children:"Workspace guardrail"}),i=(0,t.jsx)(u.T,{children:"Default"}),l=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.T,{children:"Requests through other regions"}),(0,t.jsx)("span",{className:"ent-result font-medium tabular-nums text-foreground",children:"403 Forbidden"})]}),k[2]=n,k[3]=i,k[4]=l):(n=k[2],i=k[3],l=k[4]),k[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("span",{className:"font-medium text-foreground",children:(0,t.jsx)(u.T,{children:"Zero data retention"})}),k[5]=o):o=k[5],k[6]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 @md:text-prose",children:[(0,t.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[o,(0,t.jsx)("span",{className:"text-muted-foreground",children:(0,t.jsx)(u.T,{children:"Only route to provider endpoints that don't store your data."})})]}),(0,t.jsx)(a.Z,{checked:!0,disabled:!0,className:"ent-flip"})]}),k[6]=g):g=k[6],k[7]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)(p,{label:(0,t.jsx)(u.T,{children:"Allowed models"}),chips:d.map(f)}),k[7]=x):x=k[7],k[8]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)(p,{label:(0,t.jsx)(u.T,{children:"Allowed providers"}),chips:m.map(h)}),k[8]=v):v=k[8],k[9]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)(u.T,{children:"Data regions"}),k[9]=b):b=k[9],k[10]!==j?(w=j("Europe"),k[10]=j,k[11]=w):w=k[11],k[12]!==w?(y=(0,t.jsxs)("div",{className:"ent-stagger flex flex-col gap-6 @container",children:[g,x,v,(0,t.jsx)(p,{label:b,chips:[{name:w}]})]}),k[12]=w,k[13]=y):y=k[13],k[14]!==e||k[15]!==y?(N=(0,t.jsx)(c.f,{label:e,title:n,meta:i,footer:l,children:y}),k[14]=e,k[15]=y,k[16]=N):N=k[16],N}])},176157,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(119488),i=e.i(16043),a=e.i(824620),s=e.i(5178),l=e.i(416526);function o(){return(0,s.f)("--duration-micro")}e.s(["StatTickUp",0,function(e){let s,u,c,d,m=(0,r.c)(11),{value:h,order:f}=e,p=(0,a.useReducedSafe)();m[0]===Symbol.for("react.memo_cache_sentinel")?(s={freezeOnceVisible:!0,rootMargin:"0px 0px -15% 0px"},m[0]=s):s=m[0];let{ref:g,isIntersecting:x}=(0,n.f)(s),[v,b]=(0,i.useState)(!1),[w]=(0,i.useState)(o);m[1]!==g?(u=e=>{g(e),e&&e.getBoundingClientRect().top>=window.innerHeight&&b(!0)},m[1]=g,m[2]=u):u=m[2];let y=u,N=v&&!p&&void 0!==w,k=(w??0)*f;return m[3]!==x||m[4]!==N||m[5]!==k||m[6]!==h?(c=(0,t.jsx)(l.f,{value:h,isArmed:N,isRunning:x,delayMs:k}),m[3]=x,m[4]=N,m[5]=k,m[6]=h,m[7]=c):c=m[7],m[8]!==y||m[9]!==c?(d=(0,t.jsx)("span",{ref:y,className:"inline-block",children:c}),m[8]=y,m[9]=c,m[10]=d):d=m[10],d}])},585143,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(894868),a=e.i(261499),s=e.i(199168);e.i(707060);var l=e.i(196991),o=e.i(16043),u=e.i(824620),c=e.i(5178),d=e.i(881313),m=e.i(9739);let h=[{name:"Claude Opus 5.5",slug:"~anthropic/claude-opus-latest",author:"anthropic"},{name:"GPT-6 Sol",slug:"openai/gpt-6-sol",author:"openai"},{name:"Gemini 3.8 Flash",slug:"~google/gemini-flash-latest",author:"google"},{name:"DeepSeek V4.1 Flash",slug:"deepseek/deepseek-v4.1-flash",author:"deepseek"},{name:"Grok 4.7",slug:"x-ai/grok-4.7",author:"x-ai"},{name:"Kimi K3",slug:"~moonshotai/kimi-latest",author:"moonshotai"},{name:"Qwen3.8 Max",slug:"qwen/qwen3.8-max",author:"qwen"},{name:"MiniMax M3",slug:"minimax/minimax-m3",author:"minimax"},{name:"GLM 5.3",slug:"z-ai/glm-5.3",author:"z-ai"},{name:"Mercury 2.5",slug:"inception/mercury-2.5",author:"inception"}],f=[h[3],h[2],h[1],h[0]],p=h[0],g="latest",x="font-mono text-caption sm:text-body lg:text-prose";function v(e){return window.clearTimeout(e)}function b(e){let i,a,s,l,o=(0,r.c)(12),{model:u,isSelected:c,onPick:d}=e;o[0]!==u||o[1]!==d?(i=()=>d(u),o[0]=u,o[1]=d,o[2]=i):i=o[2];let m=c?"bg-muted text-foreground":"text-muted-foreground hover:text-foreground";return o[3]!==m?(a=(0,n.f)("inline-flex h-7 shrink-0 items-center gap-1.5 rounded-full border border-border px-2.5 text-overline",m),o[3]=m,o[4]=a):a=o[4],o[5]!==u.author?(s=(0,t.jsx)(N,{author:u.author}),o[5]=u.author,o[6]=s):s=o[6],o[7]!==u.name||o[8]!==i||o[9]!==a||o[10]!==s?(l=(0,t.jsxs)("li",{onPointerEnter:i,className:a,children:[s,u.name]}),o[7]=u.name,o[8]=i,o[9]=a,o[10]=s,o[11]=l):l=o[11],l}function w(e){let n,i,a=(0,r.c)(5),{name:s,children:l}=e,o=`${s}: `;return a[0]!==o?(n=(0,t.jsx)("span",{className:"text-faint",children:o}),a[0]=o,a[1]=n):n=a[1],a[2]!==l||a[3]!==n?(i=(0,t.jsxs)("span",{className:"flex items-center whitespace-pre text-foreground",children:[n,l]}),a[2]=l,a[3]=n,a[4]=i):i=a[4],i}function y(e){let n,i,a,s=(0,r.c)(7),{slug:l}=e;if(!l.endsWith(g)){let e,r=`"${l}"`;return s[0]!==r?(e=(0,t.jsx)(t.Fragment,{children:r}),s[0]=r,s[1]=e):e=s[1],e}s[2]!==l?(n=l.slice(0,-g.length),s[2]=l,s[3]=n):n=s[3];let o=`"${n}`;return s[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("span",{className:"text-positive-text [--ent-sweep-rest:var(--color-positive-text)]",children:(0,t.jsx)("span",{className:"ent-label-sweep [--ent-sweep-at:var(--duration-quick)] [--ent-sweep-from:var(--color-foreground)]",children:g})}),s[4]=i):i=s[4],s[5]!==o?(a=(0,t.jsxs)(t.Fragment,{children:[o,i,'"']}),s[5]=o,s[6]=a):a=s[6],a}function N(e){let n,a=(0,r.c)(2),{author:s}=e;return a[0]!==s?(n=(0,t.jsx)(i.f,{bare:!0,author:s,className:"size-3.5"}),a[0]=s,a[1]=n):n=a[1],n}function k(){let e=(0,c.f)("--duration-medium"),t=(0,c.f)("--duration-very-slow");if(void 0!==e&&void 0!==t)return e+2*t}e.s(["VelocityVisual",0,function(){let e,i,c,g,j,S,M,R,$,A,_,C,T,L,I,E,z,F,P,O=(0,r.c)(39),q=(0,s.o)(),U=(0,o.useRef)(null),D=(0,d.f)(U),B=(0,u.useReducedSafe)(),[W]=(0,o.useState)(k),[G,V]=(0,o.useState)(p),Y=(0,o.useRef)(!1),H=(0,o.useRef)(null),[K,Z]=(0,o.useState)();O[0]!==W||O[1]!==D||O[2]!==B?(e=()=>{if(Y.current)return;if(B||void 0===W)return void V(p);if(!D)return void V(f[0]);let e=f.slice(1).map((e,t)=>window.setTimeout(()=>{Y.current||V(e)},W+2e3*t));return()=>e.forEach(v)},i=[D,B,W],O[0]=W,O[1]=D,O[2]=B,O[3]=e,O[4]=i):(e=O[3],i=O[4]),(0,o.useEffect)(e,i),O[5]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{let e=H.current;if(!e)return;let t=new ResizeObserver(()=>Z(e.offsetWidth));return t.observe(e),()=>t.disconnect()},O[5]=c):c=O[5],O[6]!==G.slug?(g=[G.slug],O[6]=G.slug,O[7]=g):g=O[7],(0,o.useEffect)(c,g),O[8]===Symbol.for("react.memo_cache_sentinel")?(j=e=>{Y.current=!0,V(e)},O[8]=j):j=O[8];let X=j;O[9]!==q?(S=q("Illustration: two lines of code, a base URL pointing at OpenRouter and a model string you can swap for any model or for a family's latest release, such as DeepSeek V4.1 Flash, the latest Gemini Flash, GPT-6 Sol and the latest Claude Opus"),O[9]=q,O[10]=S):S=O[10],O[11]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsx)("span",{className:(0,n.f)("text-faint",x),children:(0,t.jsx)(l.T,{children:"Swap the string for any model"})}),O[11]=M):M=O[11],O[12]!==G.slug?(R=h.map(e=>(0,t.jsx)(b,{model:e,isSelected:e.slug===G.slug,onPick:X},e.slug)),O[12]=G.slug,O[13]=R):R=O[13],O[14]!==R?($=(0,t.jsxs)("div",{className:"flex w-full min-w-0 flex-col gap-3",children:[M,(0,t.jsx)("ul",{className:"-mr-5 my-0 flex list-none gap-1.5 overflow-hidden pl-0 mask-r-from-60% md:-mr-6",children:R})]}),O[14]=R,O[15]=$):$=O[15],O[16]===Symbol.for("react.memo_cache_sentinel")?(_=(0,n.f)("flex flex-col items-start gap-3 bg-transparent p-0 lg:py-2",x),A=(0,t.jsx)(w,{name:"baseURL",children:'"https://openrouter.ai/api/v1"'}),O[16]=A,O[17]=_):(A=O[16],_=O[17]);let Q=void 0!==K&&"w-(--slug-width)";O[18]!==Q?(C=(0,n.f)("inline-flex overflow-x-clip transition-[width] duration-quick ease-smooth-out motion-reduce:transition-none",Q),O[18]=Q,O[19]=C):C=O[19],O[20]!==K?(T=void 0===K?void 0:{"--slug-width":`${K}px`},O[20]=K,O[21]=T):T=O[21];let J=G.slug;return O[22]===Symbol.for("react.memo_cache_sentinel")?(L=(0,n.f)("inline-flex shrink-0 items-center gap-1.5",a.H),O[22]=L):L=O[22],O[23]!==G.author?(I=(0,t.jsx)("span",{className:"hidden sm:flex",children:(0,t.jsx)(N,{author:G.author})}),O[23]=G.author,O[24]=I):I=O[24],O[25]!==G.slug?(E=(0,t.jsx)("span",{children:(0,t.jsx)(y,{slug:G.slug})}),O[25]=G.slug,O[26]=E):E=O[26],O[27]!==G.slug||O[28]!==I||O[29]!==E?(z=(0,t.jsxs)("span",{ref:H,className:L,children:[I,E]},J),O[27]=G.slug,O[28]=I,O[29]=E,O[30]=z):z=O[30],O[31]!==C||O[32]!==T||O[33]!==z?(F=(0,t.jsxs)("code",{ref:U,className:_,children:[A,(0,t.jsx)(w,{name:"model",children:(0,t.jsx)("span",{className:"inline-flex sm:-my-0.5 sm:rounded-full sm:border sm:border-border sm:bg-muted sm:px-2.5 sm:py-0.5",children:(0,t.jsx)("span",{className:C,"data-allow-inline-style":!0,style:T,children:z})})})]}),O[31]=C,O[32]=T,O[33]=z,O[34]=F):F=O[34],O[35]!==F||O[36]!==S||O[37]!==$?(P=(0,t.jsx)(m.f,{label:S,footer:$,children:F}),O[35]=F,O[36]=S,O[37]=$,O[38]=P):P=O[38],P}])},9739,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);e.s(["f",0,function(e){let i,a,s,l,o,u=(0,r.c)(15),{label:c,title:d,meta:m,footer:h,className:f,children:p}=e;return u[0]!==f?(i=(0,n.f)("m-0 min-w-0 overflow-hidden rounded-xl border border-border bg-card text-body",f),u[0]=f,u[1]=i):i=u[1],u[2]!==m||u[3]!==d?(a=void 0===d?null:(0,t.jsxs)("div",{className:"flex h-11 items-center justify-between gap-3 border-b border-border px-5 md:px-6",children:[(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-2 text-foreground",children:d}),void 0===m?null:(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground",children:m})]}),u[2]=m,u[3]=d,u[4]=a):a=u[4],u[5]!==p?(s=(0,t.jsx)("div",{className:"p-5 md:p-6",children:p}),u[5]=p,u[6]=s):s=u[6],u[7]!==h?(l=void 0===h?null:(0,t.jsx)("div",{className:"flex flex-wrap items-center justify-between gap-2 border-t border-border px-5 py-3 text-muted-foreground md:px-6",children:h}),u[7]=h,u[8]=l):l=u[8],u[9]!==c||u[10]!==i||u[11]!==a||u[12]!==s||u[13]!==l?(o=(0,t.jsxs)("figure",{role:"img","aria-label":c,className:i,children:[a,s,l]}),u[9]=c,u[10]=i,u[11]=a,u[12]=s,u[13]=l,u[14]=o):o=u[14],o}])},26989,e=>{"use strict";e.s(["u",0,"/enterprise/form?intent=sales_inquiry","r",0,"upgrade"])},289694,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(463686),i=e.i(16043);e.i(406201);var a=e.i(967605),s=e.i(263149);function l(e){let i,l,o,u,c=(0,r.c)(9);c[0]!==e?({href:i,...l}=e,c[0]=e,c[1]=i,c[2]=l):(i=c[1],l=c[2]);let d=(0,n.useSearchParams)();return c[3]!==i||c[4]!==d?(o=(0,s.e)(i,d?.toString()??""),c[3]=i,c[4]=d,c[5]=o):o=c[5],c[6]!==l||c[7]!==o?(u=(0,t.jsx)(a.Link,{href:o,...l}),c[6]=l,c[7]=o,c[8]=u):u=c[8],u}e.s(["UtmForwardingLink",0,function(e){let n,s=(0,r.c)(2);return s[0]!==e?(n=(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)(a.Link,{...e}),children:(0,t.jsx)(l,{...e})}),s[0]=e,s[1]=n):n=s[1],n}])},263149,e=>{"use strict";var t=e.i(671795),r=e.i(537843);let n=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],i="https://same-site.invalid";function a(e){return Object.fromEntries(n.flatMap(t=>{let r=e(t)?.trim().slice(0,256);return r?[[t,r]]:[]}))}e.s(["t",0,n,"Y",0,function({search:e,cookies:n}){let i=new URLSearchParams(e),s=a(e=>i.get(e));if(Object.keys(s).length>0)return s;let l=(0,r.N)((0,t.i)(n,r.L));return void 0===l?{}:a(e=>l[e])},"e",0,function(e,t){let r=new URLSearchParams(t),n=Object.entries(a(e=>r.get(e)));if(0===n.length)return e;let s=new URL(e,i);return n.forEach(([e,t])=>s.searchParams.set(e,t)),s.origin===i?`${s.pathname}${s.search}${s.hash}`:s.toString()}])},5178,e=>{"use strict";e.s(["f",0,function(e){if("u"{"use strict";var t=e.i(663456),r=e.i(16043);e.s(["f",0,function(e){let n,i,a=(0,t.c)(3),[s,l]=(0,r.useState)(!1);return a[0]!==e?(n=()=>{let t=e.current;if(!t)return;let r=()=>l(null!==t.closest("[data-entered]"));r();let n=new MutationObserver(r);for(let e=t.parentElement;e;e=e.parentElement)n.observe(e,{attributes:!0,attributeFilter:["data-entered"]});return()=>n.disconnect()},i=[e],a[0]=e,a[1]=n,a[2]=i):(n=a[1],i=a[2]),(0,r.useEffect)(n,i),s}])},958244,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(934416);e.i(406201);var a=e.i(967605);e.s(["f",0,function(e){let s,l,o,u,c=(0,r.c)(10),{href:d,onClick:m,className:h,children:f}=e;return c[0]!==h?(s=(0,n.f)("group/arrow relative inline-block rounded-sm py-1 text-balance text-body after:absolute after:inset-x-0 after:-inset-y-2 outline-hidden duration-quick ease-smooth-out focus-visible:text-foreground focus-visible:shadow-focus",h),c[0]=h,c[1]=s):s=c[1],c[2]!==f?(l=(0,t.jsx)("span",{className:"decoration-current/40 underline-offset-4 group-hover/arrow:underline",children:f}),c[2]=f,c[3]=l):l=c[3],c[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(i.f,{className:"ml-1.5 inline-block size-4 align-middle text-muted-foreground/60 transition-[color,translate] duration-micro ease-smooth-out group-hover/arrow:translate-x-0.5 group-hover/arrow:text-foreground group-hover/arrow:duration-quick group-focus-visible/arrow:translate-x-0.5 group-focus-visible/arrow:text-foreground motion-reduce:transition-none","aria-hidden":"true"}),c[4]=o):o=c[4],c[5]!==d||c[6]!==m||c[7]!==s||c[8]!==l?(u=(0,t.jsxs)(a.Link,{href:d,onClick:m,variant:"subtle",className:s,children:[l,"⁠",o]}),c[5]=d,c[6]=m,c[7]=s,c[8]=l,c[9]=u):u=c[9],u}])},306,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(119488),a=e.i(199168),s=e.i(96659);let l=[{name:"Lovable",src:"/images/home/customers/loveable-light.svg",darkSrc:"/images/home/customers/loveable-dark.svg",width:120,height:32,sizeClassName:"w-[62px] sm:w-[120px] md:w-auto md:basis-[120px]",marqueeClassName:"w-[96px]",gridClassName:"w-[88px] max-w-full"},{name:"Replit",src:"/images/home/customers/replit-light.svg",darkSrc:"/images/home/customers/replit-dark.svg",width:120,height:32,sizeClassName:"w-[62px] sm:w-[120px] md:w-auto md:basis-[120px]",marqueeClassName:"w-[96px]",gridClassName:"w-[88px] max-w-full"},{name:"Amplitude",src:"/images/home/customers/amplitude-light.svg",darkSrc:"/images/home/customers/amplitude-light.svg",width:136,height:32,sizeClassName:"w-[71px] sm:w-[136px] md:w-auto md:basis-[136px]",marqueeClassName:"w-[109px]",gridClassName:"w-[100px] max-w-full"},{name:"Nvidia",src:"/images/home/customers/nvidia-light.svg",darkSrc:"/images/home/customers/nvidia-dark.svg",width:132,height:32,sizeClassName:"w-[69px] sm:w-[132px] md:w-auto md:basis-[132px]",marqueeClassName:"w-[106px]",gridClassName:"w-[97px] max-w-full"},{name:"Zoom",src:"/images/home/customers/zoom-light.svg",darkSrc:"/images/home/customers/zoom-light.svg",width:92,height:32,sizeClassName:"w-[48px] sm:w-[92px] md:w-auto md:basis-[92px]",marqueeClassName:"w-[74px]",gridClassName:"w-[68px] max-w-full"},{name:"WTW",src:"/images/home/customers/wtw-light.svg",darkSrc:"/images/home/customers/wtw-dark.svg",width:80,height:32,sizeClassName:"w-[42px] sm:w-[80px] md:w-auto md:basis-[80px]",marqueeClassName:"w-[64px]",gridClassName:"w-[59px] max-w-full"},{name:"NIST",src:"/images/home/customers/nist-light.svg",darkSrc:"/images/home/customers/nist-dark.svg",width:88,height:32,sizeClassName:"w-[46px] sm:w-[88px] md:w-auto md:basis-[88px]",marqueeClassName:"w-[70px]",gridClassName:"w-[65px] max-w-full"},{name:"AMD",src:"/images/home/customers/amd-light.svg",darkSrc:"/images/home/customers/amd-dark.svg",width:96,height:32,sizeClassName:"w-[50px] sm:w-[96px] md:w-auto md:basis-[96px]",marqueeClassName:"w-[77px]",gridClassName:"w-[70px] max-w-full"}];function o(e){let i,a,l,o,m,h,f,p,g,x=(0,r.c)(26),{logo:v,alt:b,layout:w}=e,y="grid"===w?v.gridClassName:v.sizeClassName;x[0]!==y?(i=(0,n.f)("ent-logo group/logo relative flex min-w-0 items-center justify-center",y),x[0]=y,x[1]=i):i=x[1];let N=v.src,k=v.width,j=v.height;x[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.f)(c,"opacity-0"),x[2]=a):a=x[2],x[3]!==b||x[4]!==v.height||x[5]!==v.src||x[6]!==v.width?(l=(0,t.jsx)(s.default,{src:N,alt:b,width:k,height:j,className:a}),x[3]=b,x[4]=v.height,x[5]=v.src,x[6]=v.width,x[7]=l):l=x[7],x[8]!==v.src?(o=(0,t.jsx)(u,{src:v.src,className:"transition-opacity duration-quick ease-smooth-out group-hover/logo:opacity-0"}),x[8]=v.src,x[9]=o):o=x[9];let S=v.src,M=v.width,R=v.height;x[10]===Symbol.for("react.memo_cache_sentinel")?(m=(0,n.f)(d,"dark:hidden"),x[10]=m):m=x[10],x[11]!==v.height||x[12]!==v.src||x[13]!==v.width?(h=(0,t.jsx)(s.default,{src:S,alt:"","aria-hidden":!0,width:M,height:R,className:m}),x[11]=v.height,x[12]=v.src,x[13]=v.width,x[14]=h):h=x[14];let $=v.darkSrc,A=v.width,_=v.height;return x[15]===Symbol.for("react.memo_cache_sentinel")?(f=(0,n.f)(d,"hidden dark:block"),x[15]=f):f=x[15],x[16]!==v.darkSrc||x[17]!==v.height||x[18]!==v.width?(p=(0,t.jsx)(s.default,{src:$,alt:"","aria-hidden":!0,width:A,height:_,className:f}),x[16]=v.darkSrc,x[17]=v.height,x[18]=v.width,x[19]=p):p=x[19],x[20]!==h||x[21]!==p||x[22]!==i||x[23]!==l||x[24]!==o?(g=(0,t.jsxs)("div",{className:i,children:[l,o,h,p]}),x[20]=h,x[21]=p,x[22]=i,x[23]=l,x[24]=o,x[25]=g):g=x[25],g}function u(e){let i,a,s,l=(0,r.c)(7),{src:o,className:u}=e;l[0]!==u?(i=(0,n.f)("pointer-events-none absolute inset-0 bg-muted-foreground mask-(--logo-mask) mask-contain mask-center mask-no-repeat [-webkit-mask-image:var(--logo-mask)] [-webkit-mask-size:contain] [-webkit-mask-position:center] [-webkit-mask-repeat:no-repeat]",u),l[0]=u,l[1]=i):i=l[1];let c=`url(${o})`;return l[2]!==c?(a={"--logo-mask":c},l[2]=c,l[3]=a):a=l[3],l[4]!==i||l[5]!==a?(s=(0,t.jsx)("span",{"aria-hidden":!0,className:i,"data-allow-inline-style":!0,style:a}),l[4]=i,l[5]=a,l[6]=s):s=l[6],s}let c="h-auto w-full object-contain transition-opacity duration-quick ease-smooth-out",d=(0,n.f)(c,"pointer-events-none absolute inset-0 m-auto opacity-0 group-hover/logo:opacity-100");function m(e){let a,o,c,d,m=(0,r.c)(10),{logoAlt:h,layout:f}=e,{ref:p,isIntersecting:g}=(0,i.f)(),x=g?"":void 0;return m[0]===Symbol.for("react.memo_cache_sentinel")?(a=[0,1],m[0]=a):a=m[0],m[1]!==f||m[2]!==h?(o=a.map(e=>(0,t.jsx)("ul",{"aria-hidden":1===e||void 0,className:"my-0 flex shrink-0 list-none items-center gap-12 pl-0 pr-12",children:l.map(r=>(0,t.jsxs)("li",{className:(0,n.f)("relative shrink-0","grid"===f?r.gridClassName:r.marqueeClassName),children:[(0,t.jsx)(s.default,{src:r.src,alt:0===e?h(r.name):"",width:r.width,height:r.height,className:"h-auto w-full object-contain opacity-0"}),(0,t.jsx)(u,{src:r.src})]},r.name))},e)),m[1]=f,m[2]=h,m[3]=o):o=m[3],m[4]!==x||m[5]!==o?(c=(0,t.jsx)("div",{className:"ent-marquee-mask overflow-hidden",children:(0,t.jsx)("div",{className:"ent-marquee flex w-max","data-running":x,children:o})}),m[4]=x,m[5]=o,m[6]=c):c=m[6],m[7]!==p||m[8]!==c?(d=(0,t.jsx)("div",{ref:p,className:"relative md:hidden motion-reduce:hidden",children:c}),m[7]=p,m[8]=c,m[9]=d):d=m[9],d}e.s(["CustomerLogos",0,function(e){let i,s,u,c,d,h,f=(0,r.c)(16),{layout:p}=e,g=void 0===p?"row":p,x=(0,a.o)();f[0]!==x?(i=e=>x("{name} logo",{name:e}),f[0]=x,f[1]=i):i=f[1];let v=i;f[2]!==g||f[3]!==v?(s=(0,t.jsx)(m,{logoAlt:v,layout:g}),f[2]=g,f[3]=v,f[4]=s):s=f[4];let b="grid"===g?"justify-items-start gap-x-6 gap-y-4":"justify-items-center gap-x-6 md:flex md:flex-nowrap md:justify-between md:gap-x-10 lg:gap-x-12 xl:gap-x-16";return f[5]!==b?(u=(0,n.f)("grid w-full grid-cols-4 items-center gap-y-8 max-md:motion-safe:hidden",b),f[5]=b,f[6]=u):u=f[6],f[7]!==g||f[8]!==v?(c=l.map(e=>(0,t.jsx)(o,{logo:e,alt:v(e.name),layout:g},e.name)),f[7]=g,f[8]=v,f[9]=c):c=f[9],f[10]!==u||f[11]!==c?(d=(0,t.jsx)("div",{className:u,children:c}),f[10]=u,f[11]=c,f[12]=d):d=f[12],f[13]!==s||f[14]!==d?(h=(0,t.jsxs)(t.Fragment,{children:[s,d]}),f[13]=s,f[14]=d,f[15]=h):h=f[15],h}])},824620,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(16043);let i=[.21,.6,.35,1],a="-80px",s=`cubic-bezier(${i.join(", ")})`,l="data-marketing-reveal",o="data-marketing-hydrated",u="3000ms",c="marketing-reveal-fallback",d=(0,n.createContext)(function(e){if("function"!=typeof e.getAnimations)return 0;let t=e.getAnimations().find(e=>"animationName"in e&&e.animationName===c);return Number(t?.currentTime??0)}),m="(prefers-reduced-motion: reduce)";function h(e){let t=window.matchMedia(m);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function f(){return window.matchMedia(m).matches}function p(){return(0,n.useSyncExternalStore)(h,f,g)}function g(){return!1}function x(e){return e.isIntersecting}let v={opacity:1,transform:"none"};function b(e){let i,u,c,m,h,f=(0,r.c)(10),{trigger:g,children:b,delay:w,y,className:N}=e,k=p(),j=(0,n.useRef)(null),S=(m=(0,r.c)(2),h=function(e){let t,i,a=(0,r.c)(4),s=(0,n.useContext)(d),[l,o]=(0,n.useState)(!1);return a[0]!==s||a[1]!==e?(t=()=>{let t=e.current;t&&3e3>s(t)&&o(!0)},i=[s,e],a[0]=s,a[1]=e,a[2]=t,a[3]=i):(t=a[2],i=a[3]),(0,n.useLayoutEffect)(t,i),l}(j),m[0]!==h?(c=h?{[l]:"",[o]:""}:{[l]:""},m[0]=h,m[1]=c):c=m[1],c),M=function(e,t){let i,s,l=(0,r.c)(4),[o,u]=(0,n.useState)(!1);return l[0]!==e||l[1]!==t?(i=()=>{let r=e.current;if(!r)return;if("mount"===t||"u"u(!0));return()=>cancelAnimationFrame(e)}let n=new IntersectionObserver(e=>{e.some(x)&&(u(!0),n.disconnect())},{rootMargin:a});return n.observe(r),()=>n.disconnect()},s=[e,t],l[0]=e,l[1]=t,l[2]=i,l[3]=s):(i=l[2],s=l[3]),(0,n.useEffect)(i,s),o}(j,g);return f[0]!==w||f[1]!==k||f[2]!==M||f[3]!==y?(i=function({reduced:e,revealed:t,delay:r,y:n}){if(e)return v;if(!t)return{opacity:0,transform:`translateY(${n}px)`};let i=`600ms ${s} ${r}s`;return{...v,transition:`opacity ${i}, transform ${i}`}}({reduced:k,revealed:M,delay:w,y}),f[0]=w,f[1]=k,f[2]=M,f[3]=y,f[4]=i):i=f[4],f[5]!==b||f[6]!==N||f[7]!==S||f[8]!==i?(u=(0,t.jsx)("div",{ref:j,...S,className:N,style:i,children:b}),f[5]=b,f[6]=N,f[7]=S,f[8]=i,f[9]=u):u=f[9],u}let w=`@keyframes ${c}{to{opacity:1;transform:none}}[${l}]:not([${o}]){animation:${c} 1ms linear ${u} forwards}`,y=`[${l}]{opacity:1!important;transform:none!important}`;e.s(["MARKETING_REVEAL_FALLBACK_DELAY",0,u,"MarketingRevealFallback",0,function(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:w}),(0,t.jsx)("noscript",{children:(0,t.jsx)("style",{children:y})})]}),n[0]=e):e=n[0],e},"REVEAL_EASE",0,i,"REVEAL_MARGIN",0,a,"Reveal",0,function(e){let n,i=(0,r.c)(5),{children:a,delay:s,y:l,className:o}=e,u=void 0===s?0:s,c=void 0===l?24:l;return i[0]!==a||i[1]!==o||i[2]!==u||i[3]!==c?(n=(0,t.jsx)(b,{trigger:"viewport",delay:u,y:c,className:o,children:a}),i[0]=a,i[1]=o,i[2]=u,i[3]=c,i[4]=n):n=i[4],n},"RevealOnMount",0,function(e){let n,i=(0,r.c)(5),{children:a,delay:s,y:l,className:o}=e,u=void 0===s?0:s,c=void 0===l?16:l;return i[0]!==a||i[1]!==o||i[2]!==u||i[3]!==c?(n=(0,t.jsx)(b,{trigger:"mount",delay:u,y:c,className:o,children:a}),i[0]=a,i[1]=o,i[2]=u,i[3]=c,i[4]=n):n=i[4],n},"useReducedSafe",0,p])},792856,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);function i(e){let i,a,s=(0,r.c)(5),{className:l,children:o}=e;return s[0]!==l?(i=(0,n.f)("mx-auto w-full max-w-7xl px-4 md:px-6",l),s[0]=l,s[1]=i):i=s[1],s[2]!==o||s[3]!==i?(a=(0,t.jsx)("div",{className:i,children:o}),s[2]=o,s[3]=i,s[4]=a):a=s[4],a}let a="font-brand text-size-display font-bold tracking-tight text-foreground md:text-4xl",s="text-size-section leading-relaxed text-muted-foreground";e.s(["t",0,i,"g",0,s,"j",0,a,"Z",0,function(e){let a,s,l,o=(0,r.c)(8),{id:u,className:c,children:d}=e;return o[0]!==c?(a=(0,n.f)("py-14 md:py-20",c),o[0]=c,o[1]=a):a=o[1],o[2]!==d?(s=(0,t.jsx)(i,{className:"flex flex-col gap-10 md:gap-12",children:d}),o[2]=d,o[3]=s):s=o[3],o[4]!==u||o[5]!==a||o[6]!==s?(l=(0,t.jsx)("section",{id:u,className:a,children:s}),o[4]=u,o[5]=a,o[6]=s,o[7]=l):l=o[7],l},"w",0,function(e){let n,i,l,o,u,c=(0,r.c)(12);return c[0]!==e?({overline:i,...n}=e,c[0]=e,c[1]=n,c[2]=i):(n=c[1],i=c[2]),c[3]!==i?(l=void 0===i?null:(0,t.jsx)("p",{className:"text-overline uppercase tracking-wider text-accent-foreground",children:i}),c[3]=i,c[4]=l):l=c[4],c[5]!==n.children||c[6]!==n.lead||c[7]!==n.title?(o=n.children??(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:a,children:n.title}),void 0===n.lead?null:(0,t.jsx)("p",{className:s,children:n.lead})]}),c[5]=n.children,c[6]=n.lead,c[7]=n.title,c[8]=o):o=c[8],c[9]!==l||c[10]!==o?(u=(0,t.jsxs)("div",{className:"mx-auto flex max-w-2xl flex-col items-center gap-3 text-center",children:[l,o]}),c[9]=l,c[10]=o,c[11]=u):u=c[11],u}])},378643,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(376885),i=e.i(138257);e.i(406201);var a=e.i(967605),s=e.i(980189);let l="/workspaces/default/keys";e.s(["f",0,function(e){let o,u,c=(0,r.c)(8),{isLoaded:d,isSignedIn:m}=(0,n.f)(),h=(0,i.useLocale)();c[0]!==d||c[1]!==m||c[2]!==h?(o=function(e,t){let r;return e.isLoaded?e.isSignedIn?{href:l,prefetch:void 0}:{href:(r=encodeURIComponent((0,s.f)(l,t)),`/sign-in?redirect_url=${r}`),prefetch:void 0}:{href:l,prefetch:!1}}({isLoaded:d,isSignedIn:m},h),c[0]=d,c[1]=m,c[2]=h,c[3]=o):o=c[3];let f=o;return c[4]!==e||c[5]!==f.href||c[6]!==f.prefetch?(u=(0,t.jsx)(a.Link,{...e,href:f.href,prefetch:f.prefetch}),c[4]=e,c[5]=f.href,c[6]=f.prefetch,c[7]=u):u=c[7],u}],378643)}]); //# sourceMappingURL=122_qaorda193.js.map