(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,659635,e=>{"use strict";var t,i=e.i(16043),r=e.i(997932),n=e.i(389475),a=e.i(815922),o=e.i(533124),l=e.i(788968),s=e.i(113739),d=e.i(132887),c=e.i(957854),u=e.i(811673),m=e.i(93836),f=e.i(393298),h=e.i(700788),p=e.i(141436),v=e.i(967090),g=e.i(621441),b=e.i(76129),x=e.i(581065);function y(e,t){return e-t}function _(e,t,i,r,n,a){let o=(0,l.f)(e,i,r);if(!n)return o;let s=a.slice();return s[t]=(0,l.f)(o,a[t-1]??-1/0,a[t+1]??1/0),s.sort(y)}function w(e,t,i){if(!Array.isArray(e))return!0;let r=t*i;for(let t=0;t=r))return!1;return!0}var j=e.i(825086);let k=()=>null,S={activeThumbIndex:k,max:k,min:k,minStepsBetweenValues:k,step:k,values:k,...j.s};var E=e.i(107397);let z=i.createContext(void 0);function A(){let e=i.useContext(z);if(void 0===e)throw Error((0,E.f)(62));return e}var C=e.i(111407),N=e.i(24220),N=N,M=e.i(356919),T=e.i(659350);let R=i.forwardRef(function(e,t){let{"aria-labelledby":j,className:k,defaultValue:E,disabled:A=!1,id:R,format:L,largeStep:I=10,locale:F,render:O,max:P=100,min:V=0,minStepsBetweenValues:B=0,form:D,name:$,onValueChange:q,onValueCommitted:H,orientation:U="horizontal",step:Z=1,thumbCollisionBehavior:W="push",thumbAlignment:Y="center",value:K,style:G,...X}=e,J=(0,u.f)(R),Q=(0,x.u)(J),ee=(0,a.f)(q),et=(0,a.f)(H),{clearErrors:ei}=(0,g.f)(),{state:er,disabled:en,name:ea,setTouched:eo,setDirty:el,validityData:es,validation:ed}=(0,p.f)(),{labelId:ec}=(0,b.f)(),[eu,em]=i.useState(),ef=j??(0,x.$)(ec,eu),eh=en||A,ep=ea??$,[ev,eg]=(0,n.f)({controlled:K,default:E??V,name:"Slider"}),eb=i.useRef(null),ex=i.useRef(null),ey=i.useRef([]),e_=i.useRef(null),ew=i.useRef(-1),ej=i.useRef(null),ek=i.useRef(C.f.none),[eS,eE]=i.useState(-1),[ez,eA]=i.useState(-1),[eC,eN]=i.useState(!1),[eM,eT]=i.useState(()=>new Map),[eR,eL]=i.useState([void 0,void 0]),eI=(0,a.f)(e=>{eE(e),-1!==e&&eA(e)}),eF=(0,a.f)(e=>{e&&(ex.current=e)}),eO=Array.isArray(ev),eP=i.useMemo(()=>eO?ev.map(e=>(0,l.f)(e,V,P)).sort(y):[(0,l.f)(ev,V,P)],[P,V,eO,ev]),eV=eO?eP:eP[0];(0,v.f)(ed.inputRef,J,eV,void 0,!eh,$),(0,c.f)(eV,()=>{ei(ep),ed.change(eV);let e=es.initialValue;el(Array.isArray(eV)&&Array.isArray(e)?!(0,s.f)(eV,e):eV!==e)});let eB=(0,a.f)((e,t)=>{var i,r;if(Number.isNaN(e)||(i=e)===(r=ev)||Array.isArray(i)&&Array.isArray(r)&&(0,s.f)(i,r))return!1;let n=t.event,a=new n.constructor(n.type,n);return Object.defineProperty(a,"target",{writable:!0,value:{value:e,name:ep}}),t.event=a,ee(e,t),!t.isCanceled&&(ek.current=t.reason,eg(e),!0)}),eD=(0,a.f)((e,t,i)=>{let r=_(e,t,V,P,eO,eP);if(w(r,Z,B)){let e="key"in i?M.f.keyboard:N.inputChange,n=eB(r,(0,d.j)(e,i.nativeEvent,void 0,{activeThumbIndex:t}));eo(!0),n&&et(r,(0,d.U)(e,i.nativeEvent))}});(0,o.f)(()=>{if(!eh)return;let e=(0,f.T)((0,r.f)(eb.current));(0,f.I)(eb.current,e)&&e.blur(),-1!==eS&&eI(-1)},[eS,eh,eI]);let e$=i.useMemo(()=>({...er,activeThumbIndex:eS,disabled:eh,dragging:eC,orientation:U,max:P,min:V,minStepsBetweenValues:B,step:Z,values:eP}),[er,eS,eh,eC,P,V,B,U,Z,eP]),eq=i.useMemo(()=>({active:eS,controlRef:ex,disabled:eh,dragging:eC,validation:ed,format:L,handleInputChange:eD,indicatorPosition:eR,inset:"center"!==Y,isArrayValue:eO,labelId:ef,rootLabelId:Q,largeStep:I,lastUsedThumbIndex:ez,lastChangeReasonRef:ek,form:D,locale:F,max:P,min:V,minStepsBetweenValues:B,name:ep,onValueCommitted:et,orientation:U,pressedThumbCenterOffsetRef:e_,pressedThumbIndexRef:ew,pressedValuesRef:ej,registerFieldControlRef:eF,renderBeforeHydration:"edge"===Y,setActive:eI,setDragging:eN,setIndicatorPosition:eL,setLabelId:em,setValue:eB,state:e$,step:Z,thumbCollisionBehavior:W,thumbMap:eM,thumbRefs:ey,values:eP}),[eS,ef,Q,eh,eC,ed,L,eD,eR,I,ez,D,F,P,V,B,ep,et,U,eO,eF,eI,eB,e$,Z,W,Y,eM,eP]),eH=(0,m.a)("div",e,{state:e$,ref:[t,eb],props:[{"aria-labelledby":ef,id:J,role:"group"},X,e=>ed.getValidationProps(eh,e)],stateAttributesMapping:S});return(0,T.jsx)(z.Provider,{value:eq,children:(0,T.jsx)(h.f,{elementsRef:ey,onMapChange:eT,children:eH})})});var L=e.i(807257),I=e.i(976987),F=e.i(223732),O=e.i(792343),P=e.i(195845),V=N,B=N,D=e.i(269098);function $(e,t){let i=e.getBoundingClientRect();return t?(i.top+i.bottom)/2:(i.left+i.right)/2}function q(e){if(0===e)return 0;if(1>Math.abs(e)){let t=e.toExponential().split("e-"),i=t[0].split(".")[1];return(i?i.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}function H(e,t,i){return Number((Math.round((e-i)/t)*t+i).toFixed(Math.max(q(t),q(i))))}function U(e,t,i,r,n,a,o,s){let d=e.slice(),c=a*o,u=d.length-1,m=s??e;d[t]=(0,l.f)(i,r+t*c,n-(u-t)*c);for(let e=t+1;e<=u;e+=1){let t=d[e-1]+c,i=n-(u-e)*c,r=m[e],a=Math.max(d[e],t);r=0;e-=1){let t=d[e+1]-c,i=r+e*c,n=m[e],a=Math.min(d[e],t);n>a&&(a=Math.min(n,t)),d[e]=(0,l.f)(a,i,t)}for(let e=0;e<=u;e+=1)d[e]=Number(d[e].toFixed(12));return d}function Z(e,t){if(null!=t.current&&e.changedTouches){for(let i=0;i1,Q="vertical"===j,ee=i.useRef(null),et=i.useRef(null),ei=(0,a.f)(e=>{e&&null==et.current&&(et.current=(0,F.f)(e).getComputedStyle(e))}),er=i.useRef(null),en=i.useRef(0),ea=i.useRef(0),eo=i.useRef(null),el=i.useRef(!1),es=(0,P.f)(G);function ed(e){return e?.querySelector('input[type="range"]')}function ec(e){E.current=e,K.current[e]||(k.current=null)}function eu(){E.current=-1,k.current=null}function em(e){return!!(0,L.m)(e)&&K.current.some(t=>!!(0,L.m)(t)&&!!(0,f.I)(t,e)&&ed(t)?.disabled===!0)}function ef(e){let t=ee.current,i=E.current;if(!t||i<0||i>=G.length)return i>=G.length&&(eo.current=null),null;let{width:r,height:n,bottom:a,left:o,right:s}=t.getBoundingClientRect(),d=function(e,t){if(!e)return{start:0,end:0};function i(e){let t=null!=e?parseFloat(e):0;return Number.isNaN(t)?0:t}let r=t?"Top":"InlineStart",n=t?"Bottom":"InlineEnd";return{start:i(e[`border${r}Width`])+i(e[`padding${r}`]),end:i(e[`border${n}Width`])+i(e[`padding${n}`])}}(et.current,Q),c=ea.current,u=(Q?n:r)-d.start-d.end-2*c,m=k.current??0,f=e.x-m,h=e.y-m,p=Q?a-h-d.end:("rtl"===X?s-f:f-o)-d.start,g=(b-x)*(0,l.f)((p-c)/u,0,1)+x;return(g=H(g,W,x),g=(0,l.f)(g,x,b),J)?function(e,t,i,r,n,a,o,s,d,c){let u=i??t,m=r??t;if(!(u.length>1))return{value:a,thumbIndex:0,didSwap:!1};let f=d*c;if("push"===e)return{value:U(u,n,a,o,s,d,c),thumbIndex:n,didSwap:!1};let h=u.slice(),p=h[n-1],v=h[n+1],g=null!=p?p+f:o,b=null!=v?v-f:s,x=Number((0,l.f)(a,g,b).toFixed(12));if(h[n]=x,"swap"!==e)return{value:h,thumbIndex:n,didSwap:!1};{let e=u[n],t=a>e,i=a=v-1e-7,g=i&&null!=p&&a<=p+1e-7;if(!r&&!g)return{value:h,thumbIndex:n,didSwap:!1};let b=r?n+1:n-1,y=h.map((e,t)=>{if(t===n)return x;let i=m[t];return null!=i?i:u[t]}),_=a;_=r?Math.max(a,h[b]):Math.min(a,h[b]);let w=U(h,b,_,o,s,d,c,y),j=r?b-1:b+1,k=w[j-1],S=w[j+1],E=null!=k?k+f:o;E=Math.max(E,o+j*f);let z=null!=S?S-f:s;z=Math.min(z,s-(w.length-1-j)*f);let A=(0,l.f)(x,E,z);return w[j]=Number(A.toFixed(12)),{value:w,thumbIndex:b,didSwap:!0}}}(Y,G,es.current,z.current,i,g,x,b,W,y):{value:v?[g]:g,thumbIndex:i,didSwap:!1}}function eh(e){z.current=J?G.slice():null,eo.current=null,es.current=G;let t=E.current,i=t;if(t>-1&&t0&&G[e-1]===b;)e-=1;i=e}}else{let t,r=Q?"y":"x";i=-1;for(let n=0;n-1&&i!==t&&ec(i),p){let e=K.current[i];(0,L.m)(e)&&(ea.current=e.getBoundingClientRect()[Q?"height":"width"]/2)}}function ep(e){let t=ed(K.current?.[e]);t&&t.focus({preventScroll:!0,focusVisible:!1})}function ev(e,t,i){let r=R(e.value,(0,d.j)(t,i,void 0,{activeThumbIndex:e.thumbIndex}));return r&&(eo.current=e.value,es.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(ec(e.thumbIndex),ep(e.thumbIndex))),r}let eg=(0,a.f)(e=>{let t=Z(e,er);if(null==t)return;if(en.current+=1,"pointermove"===e.type&&0===e.buttons)return void eb(e);let i=ef(t);null!=i&&w(i.value,W,y)&&(!h&&en.current>2&&T(!0),ev(i,V.drag,e))}),eb=(0,a.f)(e=>{if(null==Z(e,er))return;M(-1),T(!1),k.current=null;let t=eo.current;if(Array.isArray(t)&&t.length!==G.length&&(eo.current=null),null!=eo.current){let t=g.current;_(eo.current,(0,d.U)(t,e))}"pointerType"in e&&ee.current?.hasPointerCapture(e.pointerId)&&ee.current?.releasePointerCapture(e.pointerId),E.current=-1,e_()}),ex=(0,a.f)(e=>{null==er.current&&eb(e)}),ey=(0,a.f)(e=>{let t=el.current;if(el.current=!1,u)return;if(em((0,f.Z)(e)))return void eu();let i=e.changedTouches[0];if(null==i)return;if(er.current=i.identifier,!t){let t={x:i.clientX,y:i.clientY};eh(t);let r=ef(t);if(null==r)return;ep(r.thumbIndex),ev(r,B.trackPress,e),en.current=0}let n=(0,r.f)(ee.current);n.addEventListener("touchmove",eg,{passive:!0}),n.addEventListener("touchend",eb,{passive:!0}),n.addEventListener("touchcancel",eb,{passive:!0})}),e_=(0,a.f)(()=>{let e=(0,r.f)(ee.current);e.removeEventListener("pointermove",eg),e.removeEventListener("pointerup",eb),e.removeEventListener("pointercancel",ex),e.removeEventListener("touchmove",eg),e.removeEventListener("touchend",eb),e.removeEventListener("touchcancel",eb),er.current=null,z.current=null,eo.current=null,el.current=!1}),ew=(0,O.z)();return i.useEffect(()=>{let e=ee.current;if(!e)return()=>e_();let t=(0,I.f)(e,"touchstart",ey,{passive:!0});return()=>{t(),ew.cancel(),e_()}},[e_,ey,ee,ew]),i.useEffect(()=>{u&&e_()},[u,e_]),(0,m.a)("div",e,{state:q,ref:[t,C,ee,ei],props:[{"data-base-ui-slider-control":N?"":void 0,onPointerDown(e){var t;el.current=!1;let i=ee.current,n=(0,f.Z)(e.nativeEvent);if(!i||u||e.defaultPrevented||!(0,L.m)(n)||0!==e.button)return;if(em(n))return void eu();let a={x:e.clientX,y:e.clientY};eh(a);let o=ef(a);if(null==o)return;(0,f.I)(K.current[o.thumbIndex],(0,f.T)((0,r.f)(i)))?e.preventDefault():ew.request(()=>{ep(o.thumbIndex)}),T(!0),null==k.current&&ev(o,B.trackPress,e.nativeEvent),e.nativeEvent.pointerId&&i.setPointerCapture(e.nativeEvent.pointerId),en.current=0,el.current="touch"===(t=e.pointerType)||"pen"===t;let l=(0,r.f)(i);l.addEventListener("pointermove",eg,{passive:!0}),l.addEventListener("pointerup",eb,{once:!0}),l.addEventListener("pointercancel",ex,{once:!0})}},c],stateAttributesMapping:S})}),Y=i.forwardRef(function(e,t){let{render:i,className:r,style:n,...a}=e,{state:o}=A();return(0,m.a)("div",e,{state:o,ref:t,props:[{style:{position:"relative"}},a],stateAttributesMapping:S})});var K=e.i(82153),G=e.i(367898),X=e.i(150649),J=e.i(869057),Q=e.i(195618),ee=e.i(668641),et=e.i(966980),ei=e.i(597233),er=e.i(485997),en=e.i(856465),ea=e.i(176322),eo=e.i(227012),el=e.i(461430);let es=new Set([...ei.J,ei.v,ei.I]),ed=i.forwardRef(function(e,r){let n,s,d,{render:c,children:h,className:v,"aria-describedby":g,"aria-label":b,"aria-labelledby":x,"aria-valuetext":y,disabled:w=!1,getAriaLabel:j,getAriaValueText:k,id:E,index:z,inputRef:C,onBlur:N,onFocus:M,onKeyDown:R,tabIndex:L,style:I,...O}=e,P=(0,u.f)(E),{active:V,lastUsedThumbIndex:B,controlRef:U,disabled:Z,validation:W,format:Y,handleInputChange:ed,inset:ec,isArrayValue:eu,labelId:em,largeStep:ef,locale:eh,max:ep,min:ev,minStepsBetweenValues:eg,form:eb,name:ex,orientation:ey,pressedThumbCenterOffsetRef:e_,pressedThumbIndexRef:ew,renderBeforeHydration:ej,setActive:ek,setIndicatorPosition:eS,state:eE,step:ez,thumbRefs:eA,values:eC}=A(),eN=(0,D.f)(),eM=w||Z,eT=eC.length>1,eR="vertical"===ey,eL="rtl"===eN,{setTouched:eI,validationMode:eF}=(0,p.f)(),eO=i.useRef(null),eP=i.useRef(null),eV=(0,ea.f)(eM,eP),eB=i.useRef(!1),eD=(0,a.f)(e=>{eB.current||M?.(e)}),e$=(0,a.f)(e=>{eB.current||N?.(e)}),eq=(0,u.f)(),eH=(0,el.f)(),eU=eT?eq:eH,eZ=i.useMemo(()=>({inputId:eU}),[eU]),{ref:eW,index:eY}=(0,er.f)({metadata:eZ}),eK=eT?z??eY:0,eG=eK===eC.length-1,eX=eC[eK],eJ=(0,et.f)(eX,ev,ep),[eQ,e0]=i.useState(),e1=(0,ee.f)(),e2=B>=0&&B{let e=U.current,t=eO.current;if(!e||!t)return;let i=t.getBoundingClientRect(),r=e.getBoundingClientRect(),n=eR?"height":"width",a=r[n]-i[n],o=(i[n]/2+a*eJ/100)/r[n]*100,l=Number.isFinite(o)?o:void 0;e0(l),0===eK?eS(e=>[l,e[1]]):eG&&eS(e=>[e[0],l])});(0,o.f)(()=>{ec&&queueMicrotask(e5)},[e5,ec]),(0,o.f)(()=>{ec&&e5()},[e5,ec,eJ]),(0,o.f)(()=>{if(!ec)return;let e=U.current,t=eO.current;if(!e||!t)return;let i=(0,F.f)(e).ResizeObserver;if("function"!=typeof i)return;let r=new i(e5);return r.observe(e),r.observe(t),()=>{r.disconnect()}},[U,e5,ec]);let e3=eR?"bottom":"insetInlineStart",e6=eR?"left":"top";eT?V===eK?n=2:e2===eK&&(n=1):V===eK&&(n=1),s=ec||Number.isFinite(eJ)?{position:"absolute",[e3]:ec?"var(--position)":`${eJ}%`,[e6]:"50%",translate:`${(eR||!eL?-1:1)*50}% ${(eR?1:-1)*50}%`,zIndex:n,...ec&&{"--position":`${eQ??0}%`,visibility:ej&&e1||void 0===eQ?"hidden":void 0}}:G.p,eR&&(d=eL?"vertical-rl":"vertical-lr");let e4="function"==typeof j?j(eK):b,e7=(0,Q.w)({"aria-label":e4,"aria-labelledby":x??(null==e4?em:void 0),"aria-describedby":g,"aria-orientation":ey,"aria-valuenow":eX,"aria-valuetext":"function"==typeof k?k((0,J.f)(eX,eh,Y),eX,eK):y??function(e,t,i,r){if(!(t<0))return 2===e.length?`${(0,J.f)(e[t],r,i)} ${0===t?"start":"end"} range`:i?(0,J.f)(e[t],r,i):void 0}(eC,eK,Y,eh),disabled:eM,form:eb,id:eU,max:ep,min:ev,name:ex,onChange(e){ed(e.currentTarget.valueAsNumber,eK,e)},onFocus(e){let t=eB.current;eB.current=!1,ek(eK),eV(!0),t&&e.stopPropagation()},onBlur(e){eB.current?e.stopPropagation():(ek(-1),eA.current.some(t=>(0,f.I)(t,e.relatedTarget))||(eI(!0),eV(!1),"onBlur"===eF&&W.commit(_(eX,eK,ev,ep,eu,eC))))},onKeyDown(e){var t;let i;if(e.defaultPrevented||!es.has(e.key))return;ei.J.has(e.key)&&e.stopPropagation();let r=null,n=0,a=e.shiftKey?ef:ez,o=H(eX,ez,ev);switch(e.key){case ei.V:n=1;break;case ei.q:n=eL?-1:1;break;case ei.e:n=-1;break;case ei.b:n=eL?1:-1;break;case ei.v:a=ef,n=1;break;case ei.I:a=ef,n=-1;break;case ei.C:r=eT&&Number.isFinite(eC[eK+1])?eC[eK+1]-ez*eg:ep;break;case ei.Z:r=eT&&Number.isFinite(eC[eK-1])?eC[eK-1]+ez*eg:ev}if(0!==n&&(i=Number((o+(t=a)*n).toFixed(Math.max(q(o),q(t),q(ev)))),r=(0,l.f)(i,ev,ep)),null!==r){let t=e.currentTarget;(0,eo.F)(t)||(eB.current=!0,t.blur(),t.focus({preventScroll:!0,focusVisible:!0})),ed(r,eK,e),e.preventDefault()}},step:ez,style:{...G.p,width:"100%",height:"100%",writingMode:d},tabIndex:L,type:"range",value:eX??""},e=>W.getValidationProps(eM,e),{onFocus:eD,onBlur:e$,onKeyDown:R}),e9=(0,K.A)(eP,W.inputRef,C);return(0,m.a)("div",e,{state:eE,ref:[r,eW,eO],props:[{"data-index":eK,children:(0,T.jsxs)(i.Fragment,{children:[h,(0,T.jsx)("input",{ref:e9,...e7,suppressHydrationWarning:!0}),ec&&eG&&ej&&(t||(t=(0,T.jsx)(en.f,{script:X.f})))]}),id:P,onPointerDown(e){if(eM)return;ew.current=eK;let t=$(e.currentTarget,eR);e_.current=(eR?e.clientY:e.clientX)-t},style:s,suppressHydrationWarning:ej||void 0},O],stateAttributesMapping:S})}),ec=i.forwardRef(function(e,t){var i,r,n;let a,o,l,{render:s,className:d,style:c,...u}=e,{indicatorPosition:f,inset:h,max:p,min:v,orientation:g,renderBeforeHydration:b,state:x,values:y}=A(),_=(0,ee.f)(),w=y.length>1,j=(i="vertical"===g,r=h?f[0]:(0,et.f)(y[0],v,p),n=h?f[1]:(0,et.f)(y[y.length-1],v,p),a={visibility:h&&b&&_||h&&(void 0===r||w&&void 0===n)?"hidden":void 0,position:i?"absolute":"relative",[i?"width":"height"]:"inherit"},o=`${r??0}%`,l=`${(n??0)-(r??0)}%`,h&&(a["--start-position"]=o,o="var(--start-position)",w&&(a["--relative-size"]=l,l="var(--relative-size)")),a[i?"bottom":"insetInlineStart"]=w?o:0,a[i?"height":"width"]=w?l:o,a);return(0,m.a)("div",e,{state:x,ref:t,props:[{"data-base-ui-slider-indicator":b?"":void 0,style:j,suppressHydrationWarning:b||void 0},u],stateAttributesMapping:S})});e.s(["Control",0,W,"Indicator",0,ec,"Root",0,R,"Thumb",0,ed,"Track",0,Y],659635)},89427,e=>{"use strict";var t=e.i(659635);e.s(["f",0,t])},940815,e=>{"use strict";var t=e.i(659635);e.s(["f",0,t])},789073,e=>{"use strict";var t=e.i(659635);e.s(["f",0,t])},678541,e=>{"use strict";var t=e.i(659635);e.s(["f",0,t])},790316,e=>{"use strict";var t=e.i(659635);e.s(["f",0,t])},869057,966980,e=>{"use strict";let t=new Map;e.s(["f",0,function(e,i,r){return null==e?"":(function(e,i){let r=JSON.stringify({locale:function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}(e),options:i}),n=t.get(r);if(n)return n;let a=new Intl.NumberFormat(e,i);return t.set(r,a),a})(i,r).format(e)}],869057),e.s(["f",0,function(e,t,i){return(e-t)*100/(i-t)}],966980)},658295,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))});e.s(["f",0,i],658295)},215891,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))});e.s(["f",0,i],215891)},710968,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"}))});e.s(["f",0,i],710968)},616108,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"}))});e.s(["f",0,i],616108)},922969,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,i],922969)},338749,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"}))});e.s(["f",0,i],338749)},657288,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});e.s(["f",0,i],657288)},778553,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});e.s(["f",0,i],778553)},470239,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["f",0,i],470239)},227049,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"}))});e.s(["f",0,i],227049)},973523,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"}))});e.s(["f",0,i],973523)},93695,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v.756a49.106 49.106 0 0 1 9.152 1 .75.75 0 0 1-.152 1.485h-1.918l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 18.75 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84l2.474-10.124H12.75v13.28c1.293.076 2.534.343 3.697.776a.75.75 0 0 1-.262 1.453h-8.37a.75.75 0 0 1-.262-1.453c1.162-.433 2.404-.7 3.697-.775V6.24H6.332l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 5.25 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84L4.168 6.241H2.25a.75.75 0 0 1-.152-1.485 49.105 49.105 0 0 1 9.152-1V3a.75.75 0 0 1 .75-.75Zm4.878 13.543 1.872-7.662 1.872 7.662h-3.744Zm-9.756 0L5.25 8.131l-1.872 7.662h3.744Z",clipRule:"evenodd"}))});e.s(["f",0,i],93695)},36238,e=>{"use strict";var t=e.i(782775);e.s(["f",()=>t.f])},222790,65082,e=>{"use strict";var t=e.i(651681);let i={name:"list",size:24,node:[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]};i.node;let r=(0,t.f)(i);e.s(["f",0,r],222790);var n=e.i(74303);e.s(["f",()=>n.f],65082)},747236,e=>{"use strict";var t=e.i(651681);let i={name:"shield-check",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]};i.node;let r=(0,t.f)(i);e.s(["f",0,r])},110513,e=>{"use strict";var t=e.i(747236);e.s(["f",()=>t.f])},441795,e=>{"use strict";var t=e.i(651681);let i={name:"star",size:24,node:[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]};i.node;let r=(0,t.f)(i);e.s(["f",0,r],441795)},74303,e=>{"use strict";var t=e.i(651681);let i={name:"table-2",size:24,node:[["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]};i.node;let r=(0,t.f)(i);e.s(["f",0,r])},838028,e=>{"use strict";var t=e.i(5580);e.s(["f",()=>t.p])},579841,e=>{"use strict";var t=e.i(667417);let i=new Set([t.j.Embeddings,t.j.Rerank,t.j.Decisions,t.j.TTS,t.j.Transcription]);t.j.Embeddings,t.j.Rerank,t.j.Decisions;let r=new Set([t.j.Text,t.j.Image]);function n(e){return 0===e.length||e.some(e=>r.has(e))&&!e.some(e=>i.has(e))}function a(e){return e.includes(t.j.Video)&&!n(e)}e.s(["l",0,function(e){return 0===e.output_modalities.length?e.has_text_output:e.output_modalities.includes(t.j.Text)},"L",0,function(e){return n(e)||a(e)},"a",0,n,"W",0,a])},195759,e=>{"use strict";var t=e.i(988590),i=e.i(572201),r=e.i(983739);function n(e,t){switch(t){case i.e.SelfMod:return`${e.name} (self-moderated)`;case i.e.Standard:case i.e.All:return e.name;case i.e.Free:case i.e.Nitro:case i.e.Floor:case i.e.Extended:case i.e.Exacto:case i.e.Online:case i.e.Thinking:case i.e.Batch:return`${e.name} (${t})`;default:return""}}let a=(e,r)=>{let n=e.split(i.q).slice(1),a=[];for(let e of n)(0,t.q)(e,r)&&a.push(e);return a},o={Nitro:i.B.Nitro,Floor:i.B.Floor,Exacto:i.B.Exacto},l={[o.Nitro]:r.f.Throughput,[o.Floor]:r.f.Price,[o.Exacto]:r.f.Exacto};e.s(["P",0,l,"K",0,o,"s",0,function(e,t){let i=n({name:""},t);return""===i?{name:e.name,short_name:e.short_name}:{name:e.name.endsWith(i)?e.name.slice(0,-i.length):e.name,short_name:e.short_name.endsWith(i)?e.short_name.slice(0,-i.length):e.short_name}},"_",0,e=>{let r;return((r=a(e,i.B)).length>0?r:[i.e.All]).findLast(e=>(0,t.q)(e,o))},"z",0,e=>a(e,i.d)[0]??i.e.Standard,"I",0,function(e,t){return e.short_name.includes(`(${t})`)?e.short_name:n(e,t).split(":")[1]?.trim()??e.short_name},"x",0,function(e){switch(e){case i.e.Free:return"Free";case i.e.Nitro:return"Nitro";case i.e.Floor:return"Floor";case i.e.Extended:return"Extended";case i.e.Exacto:return"Exacto";case i.e.Standard:return"Standard";case i.e.Online:return"Online";case i.e.All:return"All";case i.e.Thinking:return"Thinking";case i.e.Batch:return"Batch";case i.e.SelfMod:return"Self-Moderated";default:return""}}])},610586,e=>{"use strict";let t={models:{label:"Models Arena",description:"Head-to-head comparison of AI model outputs across modalities",categories:{codecategories:{label:"Code Categories",description:"Aggregated stats across all code generation categories"},"3d":{label:"3D",description:"3D content generation"},dataviz:{label:"Data Visualization",description:"Data visualization generation"},gamedev:{label:"Game Development",description:"Game development code generation"},uicomponent:{label:"UI Component",description:"UI component generation quality"},logo:{label:"Logo",description:"Logo design generation"},image:{label:"Image",description:"Image generation quality"},video:{label:"Video",description:"Video generation quality"},slides:{label:"Slides",description:"Slide/presentation generation"},videotovideo:{label:"Video to Video",description:"Video-to-video transformation quality"},graphicdesign:{label:"Graphic Design",description:"Graphic design generation quality"},imagetoimage:{label:"Image to Image",description:"Image-to-image transformation quality"},svg:{label:"SVG",description:"SVG generation quality"}}},builders:{label:"Builders Arena",description:"Comparison of AI-powered app builders and coding agents",categories:{mobile:{label:"Mobile",description:"AI builder mobile app generation"},"native-android":{label:"Native Android",description:"AI builder native Android app generation"}}},agents:{label:"Agents Arena",description:"Agentic coding workflows evaluated end-to-end",categories:{agon_webapps:{label:"Agon Web Apps",description:"Agon web application development"},mobileapps:{label:"Mobile Apps",description:"Agentic mobile application development"},nativeapps:{label:"Native Apps",description:"Agentic native application development"},fullstack:{label:"Full Stack",description:"Full stack development workflows"}}}},i=["codecategories","uicomponent","gamedev","dataviz","3d","image","video","svg"],r=t.models,n=r?i.map(e=>({type:`da-${e}`,label:`${r.categories[e]?.label??e} ELO`,daKey:`models-${e}`})):[];({...Object.fromEntries(Object.values(t).flatMap(e=>Object.entries(e.categories).map(([e,t])=>[t.label,e]))),"3D Design":"3d","Game Dev":"gamedev"}),e.s(["h",0,n,"Z",0,i,"I",0,function(e){return t[e]?.label??e},"V",0,function(e,i){return t[e]?.categories[i]?.label??i.replaceAll(/\b([a-z])/g,e=>e.toUpperCase())}])},678628,e=>{"use strict";e.s(["f",0,"(width < 40rem), (height <= 30rem)"])},548204,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(16043),n=e.i(815922),a=e.i(93836),o=e.i(741780),l=e.i(3758),s=e.i(420304),d=e.i(240070);let c={...s.l,...d.f},u=r.forwardRef(function(e,i){let{render:s,className:d,defaultOpen:u=!1,disabled:m=!1,onOpenChange:f,open:h,style:p,...v}=e,g=(0,n.f)(f),b=(0,o.f)({open:h,defaultOpen:u,onOpenChange:g,disabled:m}),x=r.useMemo(()=>({open:b.open,disabled:b.disabled,transitionStatus:b.transitionStatus}),[b.open,b.disabled,b.transitionStatus]),y=r.useMemo(()=>({...b,onOpenChange:g,state:x}),[b,g,x]),_=(0,a.a)("div",e,{state:x,ref:i,props:v,stateAttributesMapping:c});return(0,t.jsx)(l.p.Provider,{value:y,children:_})});var m=e.i(225421);let f={...s.J,...d.f},h=r.forwardRef(function(e,t){let{panelId:i,open:r,handleTrigger:n,state:o,disabled:s}=(0,l.$)(),{className:d,disabled:c=s,render:u,nativeButton:h=!0,style:p,...v}=e,{getButtonProps:g,buttonRef:b}=(0,m.f)({disabled:c,native:h});return(0,a.a)("button",e,{state:o,ref:[t,b],props:[{"aria-controls":r?i:void 0,"aria-expanded":r,onClick:n},v,g],stateAttributesMapping:f})});var p=e.i(533124),v=e.i(612308),g=e.i(22525);let b=r.forwardRef(function(e,t){let{className:i,hiddenUntilFound:r,keepMounted:n,render:o,id:s,style:d,...u}=e,{defaultPanelId:m,mounted:f,onOpenChange:h,open:b,setMounted:x,setPanelIdState:y,setOpen:_,state:w,transitionStatus:j}=(0,l.$)(),k=s||void 0,S=k??m;(0,p.f)(()=>(y(e=>k??(null===e?void 0:e)),()=>{y(e=>e===k?null:e)}),[k,y]);let{height:E,props:z,ref:A,shouldPreventOpenAnimation:C,shouldRender:N,transitionStatus:M,width:T}=(0,g.f)({externalRef:t,hiddenUntilFound:r??!1,id:S,keepMounted:n??!1,mounted:f,onOpenChange:h,open:b,setMounted:x,setOpen:_,transitionStatus:j}),R={...w,transitionStatus:M},L=(0,v.f)(d,R),I=(0,a.a)("div",{...e,style:void 0},{state:R,ref:A,props:[z,{style:{"--collapsible-panel-height":void 0===E?"auto":`${E}px`,"--collapsible-panel-width":void 0===T?"auto":`${T}px`}},u,L?{style:L}:void 0,C?{style:{animationName:"none"}}:void 0],stateAttributesMapping:c});return N?I:null});e.s(["Panel",0,b,"Root",0,u,"Trigger",0,h],772956);var x=e.i(772956),x=x,y=x,_=x,w=e.i(136562),j=e.i(159125);e.s(["Collapsible",0,function(e){let r,n,a=(0,i.c)(4);return a[0]!==e?({...r}=e,a[0]=e,a[1]=r):r=a[1],a[2]!==r?(n=(0,t.jsx)(x.Root,{"data-slot":"collapsible",...r}),a[2]=r,a[3]=n):n=a[3],n},"CollapsibleContent",0,function(e){let r,n,a,o,l=(0,i.c)(8);return l[0]!==e?({className:r,...n}=e,l[0]=e,l[1]=r,l[2]=n):(r=l[1],n=l[2]),l[3]!==r?(a=e=>(0,w.f)("h-(--collapsible-panel-height)",j.f,"function"==typeof r?r(e):r),l[3]=r,l[4]=a):a=l[4],l[5]!==n||l[6]!==a?(o=(0,t.jsx)(_.Panel,{"data-slot":"collapsible-content",className:a,...n}),l[5]=n,l[6]=a,l[7]=o):o=l[7],o},"CollapsibleTrigger",0,function(e){let r,n,a=(0,i.c)(4);return a[0]!==e?({...r}=e,a[0]=e,a[1]=r):r=a[1],a[2]!==r?(n=(0,t.jsx)(y.Trigger,{"data-slot":"collapsible-trigger",...r}),a[2]=r,a[3]=n):n=a[3],n}],548204)},317780,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(940815),n=e.i(790316),a=e.i(789073),o=e.i(89427),l=e.i(678541),s=e.i(207298),d=e.i(288265),c=e.i(16043),u=e.i(136562),m=e.i(797521);let f=(0,s.f)("absolute rounded-full data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full",{variants:{colorMode:{default:"bg-primary",gradient:"bg-(--indicator-color)"}},defaultVariants:{colorMode:"default"}}),h=(0,s.f)("block size-4 cursor-pointer rounded-full border-2 border-background shadow-lg transition-colors focus-visible:outline-hidden focus-visible:border-focus-border focus-visible:shadow-focus disabled:pointer-events-none disabled:opacity-50",{variants:{colorMode:{default:"bg-primary",gradient:"bg-current text-(--indicator-color)"}},defaultVariants:{colorMode:"default"}}),p=(0,s.f)("min-w-8 text-center text-xs font-normal tabular-nums",{variants:{colorMode:{default:"",gradient:"text-(--indicator-color)"}},defaultVariants:{colorMode:"default"}});function v(e,t){if(t){e.id=t;return}e.removeAttribute("id")}e.s(["f",0,function(e){var s,g,b,x;let y,_,w,j,k,S,E,z,A,C,N,M,T,R,L,I,F,O,P,V,B,D,$,q,H,U,Z,W,Y,K=(0,i.c)(49);K[0]!==e?({"aria-label":y,"aria-labelledby":_,className:w,defaultValue:j,id:S,min:N,max:M,colorMode:T,fill:R,getThumbAriaValueText:k,onValueChange:E,ref:z,showValue:L,style:C,value:I,...A}=e,K[0]=e,K[1]=y,K[2]=_,K[3]=w,K[4]=j,K[5]=k,K[6]=S,K[7]=E,K[8]=z,K[9]=A,K[10]=C,K[11]=N,K[12]=M,K[13]=T,K[14]=R,K[15]=L,K[16]=I):(y=K[1],_=K[2],w=K[3],j=K[4],k=K[5],S=K[6],E=K[7],z=K[8],A=K[9],C=K[10],N=K[11],M=K[12],T=K[13],R=K[14],L=K[15],I=K[16]);let G=void 0===N?0:N,X=void 0===M?100:M,J=void 0===T?"default":T,Q=void 0===R?"start":R,ee=void 0!==L&&L,et=(0,d.f)(),ei=(0,m.f)();K[17]!==j||K[18]!==G?(F=()=>j??G,K[17]=j,K[18]=G,K[19]=F):F=K[19];let[er,en]=(0,c.useState)(F),ea=Array.isArray(s=function({value:e,uncontrolledValue:t,min:i}){return e??t??i}({value:I,uncontrolledValue:er,min:G}))?s:[Number(s)],eo=(g=ea,b=G,0===g.length?b:Math.max(...g)),el=X-G,es=el>0?Math.max(0,Math.min(1,(eo-G)/el)):0,ed=(0,c.useRef)(null);K[20]!==E?(O=(e,t)=>{en(e),E?.(e,t)},K[20]=E,K[21]=O):O=K[21];let ec=O;K[22]!==S||K[23]!==z?(P=e=>{ed.current=e,e&&v(e,S),function(e,t){if(e){if("function"==typeof e)return e(t);e.current=t}}(z,e)},K[22]=S,K[23]=z,K[24]=P):P=K[24];let eu=P;K[25]!==S?(B=()=>{ed.current&&v(ed.current,S)},V=[S],K[25]=S,K[26]=V,K[27]=B):(V=K[26],B=K[27]),(0,c.useEffect)(B,V);let em="end"===Q&&"default"===J;e:{if("gradient"===J){let e;K[28]!==es?(e=function(e){if(e<=.5){let t=2*e,i=Math.round(0+229*t),r=Math.round(191+-31*t),n=Math.round(111+-111*t);return`rgb(${i}, ${r}, ${n})`}let t=(e-.5)*2,i=Math.round(229+26*t),r=Math.round(160+-115*t),n=Math.round(0+85*t);return`rgb(${i}, ${r}, ${n})`}(es),K[28]=es,K[29]=e):e=K[29],D=e;break e}D=void 0}let ef=D;K[30]!==w?($=(0,u.f)("flex items-center gap-3",w),K[30]=w,K[31]=$):$=K[31];let eh=em?"bg-primary":"bg-muted";return K[32]!==eh?(q=(0,u.f)("relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2",eh),K[32]=eh,K[33]=q):q=K[33],K[34]!==J||K[35]!==em?(H=(0,u.f)(f({colorMode:J}),em&&"default"===J&&"bg-background"),K[34]=J,K[35]=em,K[36]=H):H=K[36],K[37]!==J||K[38]!==ef?(U="gradient"===J?{"--indicator-color":ef}:void 0,K[37]=J,K[38]=ef,K[39]=U):U=K[39],K[40]!==em?(Z=em&&(0,t.jsx)("span",{className:"absolute inset-0 bg-muted"}),K[40]=em,K[41]=Z):Z=K[41],K[42]!==H||K[43]!==U||K[44]!==Z?(W=(0,t.jsx)(r.f.Indicator,{className:H,"data-allow-inline-style":!0,style:U,children:Z}),K[42]=H,K[43]=U,K[44]=Z,K[45]=W):W=K[45],K[46]!==q||K[47]!==W?(Y=(0,t.jsx)(n.f.Track,{className:q,children:W}),K[46]=q,K[47]=W,K[48]=Y):Y=K[48],(0,t.jsxs)("div",{className:$,style:C,children:[(0,t.jsx)(a.f.Root,{"aria-label":"string"==typeof y?y:void 0,"aria-labelledby":_,value:I,defaultValue:j,min:G,max:X,onValueChange:ec,className:"relative flex w-full touch-none select-none items-center data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",...A,children:(0,t.jsxs)(o.f.Control,{className:"relative flex w-full cursor-pointer items-center data-[orientation=horizontal]:h-8 data-[orientation=vertical]:h-full data-[orientation=vertical]:w-8 data-[orientation=vertical]:justify-center",children:[Y,ea.map((e,i)=>(0,t.jsx)(l.f.Thumb,{"aria-label":function(e,{ariaLabel:t,index:i,thumbCount:r}){return Array.isArray(t)?t[i]:"string"==typeof t?r<=1?t:0===i?e("{ariaLabel} minimum",{ariaLabel:t}):1===i?e("{ariaLabel} maximum",{ariaLabel:t}):e("{ariaLabel} thumb {thumbNumber}",{ariaLabel:t,thumbNumber:i+1}):void 0}(et,{ariaLabel:y,index:i,thumbCount:ea.length}),"aria-labelledby":_,getAriaValueText:k?()=>k(i):void 0,index:i,inputRef:0===i?eu:void 0,className:h({colorMode:J}),"data-allow-inline-style":!0,style:"gradient"===J?{"--indicator-color":ef}:void 0},i))]})}),ee&&(0,t.jsx)("span",{className:p({colorMode:J}),"data-allow-inline-style":!0,style:"gradient"===J?{"--indicator-color":ef}:void 0,children:(x=ea,(0,ei.list)(x.map(e=>e.toString())))})]})}])},939056,e=>{"use strict";e.s(["f",0,function(e,t,i){if(i.options.scrollMargin<=0)return!1;let r=i.scrollOffset??0;return i.itemSizeCache.has(e.key)?e.end<=r&&"backward"!==i.scrollDirection:e.start{"use strict";var t=e.i(663456),i=e.i(16043),r=e.i(143253);e.s(["f",0,function(e,n){let a,o,l,s,d=(0,t.c)(6),c=(0,i.useRef)(e);d[0]!==e?(a=()=>{c.current=e},o=[e],d[0]=e,d[1]=a,d[2]=o):(a=d[1],o=d[2]),(0,r.f)(a,o),d[3]!==n?(l=()=>{if(null===n)return;let e=setInterval(()=>{c.current()},n);return()=>{clearInterval(e)}},s=[n],d[3]=n,d[4]=l,d[5]=s):(l=d[4],s=d[5]),(0,i.useEffect)(l,s)}])},369214,e=>{"use strict";var t=e.i(667417);let i=[t.j.Image,t.j.Video];e.s(["f",0,i])},81,e=>{"use strict";e.s(["O",0,function(e){return e.includes("%")?e.replace(/[^\w!~*'();/?:@&=+$,#.%-]+|%(?![a-z\d]{2})/gi,e=>encodeURI(e.toWellFormed?.()??e.replaceAll(/[\uD800-\uDFFF]/gu,"�"))):/^[a-z\d;/?:@&=+$,#_.!~*'()-]*$/i.test(e)?e:encodeURI(e.toWellFormed?.()??e.replaceAll(/[\uD800-\uDFFF]/gu,"�"))},"C",0,function(e){try{return decodeURIComponent(e)}catch{return e}}])},814492,e=>{"use strict";var t,i,r=e.i(169798),n=e.i(335609),a=e.i(647204);e.i(30012);var o=e.i(882844),l=e.i(635157);let s=(i=[(t=l.z.object({PROVIDER_ENCRYPTION_KEY:l.z.string().nullish(),SIGNUP_CF_SEAL_KEY:l.z.string().nullish(),CALLBACK_URL_ENCRYPTION_KEY:l.z.string().nullish(),AUTH_USER_SALT:l.z.string().default("default-salt"),CI:l.z.string().default(""),SITE_URL:l.z.string().nullish()}),e=>{let i=(0,o.C)(t,e??r.default.env);return(0,a.V)(i)?(0,a.Y)(i.error.message):(0,a.N)(i.data)})],function(e){let t=[];for(let r of i){let i=r(e);if((0,a.V)(i))return i;t.push(i.data)}return(0,a.N)(Object.assign({},...t))});var d=e.i(640216);e.s(["G",0,()=>{var e;return e={production:"https://internal.openrouter.ai",local:"http://localhost:3001"},(0,d.y)(window.location.hostname)?e.local:e.production},"P",0,()=>{let e=[(0,a.u)(s()).SITE_URL,r.default?.env?.NEXT_PUBLIC_SITE_URL,r.default?.env?.NEXT_PUBLIC_VERCEL_URL].map(e=>e?.trim()).find(e=>!!e)??"https://openrouter.ai";return(0,n.d)(e.includes("http")?e:`https://${e}`)},"c",0,function(e){let t=e.replaceAll(/([!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~])/g,"_");return t.match(/^(?:\d|--|-\d)/)?`_${t}`:t}],814492)},667417,e=>{"use strict";var t,i,r=e.i(988590),n=((t={}).Text="text",t.Image="image",t.Embeddings="embeddings",t.Audio="audio",t.Video="video",t.Rerank="rerank",t.Decisions="decisions",t.TTS="speech",t.Transcription="transcription",t),a=((i={}).Text="text",i.Image="image",i.File="file",i.Audio="audio",i.Video="video",i);let o=(0,r.v)(a),l=(0,r.v)(n);e.s(["v",0,o,"D",()=>a,"Z",0,l,"j",()=>n,"f",0,["text","image","video","speech","transcription","embeddings","rerank","decisions","audio"],"K",0,function(e){return 1===e.length&&e.includes("text")}])},983739,e=>{"use strict";var t,i=((t={}).Price="price",t.Throughput="throughput",t.Latency="latency",t.Exacto="exacto",t);e.s(["f",()=>i])},756247,e=>{"use strict";e.s(["f",0,{Temperature:"temperature",TopP:"top_p",TopK:"top_k",MinP:"min_p",TopA:"top_a",FrequencyPenalty:"frequency_penalty",PresencePenalty:"presence_penalty",RepetitionPenalty:"repetition_penalty",MaxTokens:"max_tokens",MaxCompletionTokens:"max_completion_tokens",LogitBias:"logit_bias",Logprobs:"logprobs",TopLogprobs:"top_logprobs",Prediction:"prediction",Seed:"seed",ResponseFormat:"response_format",StructuredOutputs:"structured_outputs",Stop:"stop",Tools:"tools",ToolChoice:"tool_choice",ParallelToolCalls:"parallel_tool_calls",IncludeReasoning:"include_reasoning",Reasoning:"reasoning",ReasoningEffort:"reasoning_effort",WebSearchOptions:"web_search_options",Verbosity:"verbosity"}])},346023,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(136562),n=e.i(139697);e.i(707060);var a=e.i(196991),o=e.i(612927);let l={Inline:"inline",Floating:"floating"};e.s(["b",0,function(e){let s=(0,i.c)(10),{placement:d,hasActiveFilters:c,onReset:u}=e;switch(d){case l.Inline:{let e;return s[0]!==c||s[1]!==u?(e=c?(0,t.jsx)(n.Button,{variant:"ghost",size:"sm",onClick:u,children:(0,t.jsx)(a.T,{children:"Reset filters"})}):null,s[0]=c,s[1]=u,s[2]=e):e=s[2],e}case l.Floating:{let e,i,l,d,m=c?"opacity-100":"opacity-0";return s[3]!==m?(e=(0,r.f)(m),s[3]=m,s[4]=e):e=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(o.X,{className:"size-4"}),l=(0,t.jsx)(a.T,{children:"Reset filters"}),s[5]=i,s[6]=l):(i=s[5],l=s[6]),s[7]!==u||s[8]!==e?(d=(0,t.jsxs)(n.Button,{shape:"pill",variant:"outline",size:"sm",tone:"subdued",onClick:u,className:e,children:[i,l]}),s[7]=u,s[8]=e,s[9]=d):d=s[9],d}default:return d}},"I",0,l])},322454,442796,222360,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(139697),n=e.i(547242);e.i(707060);var a=e.i(196991);e.s(["f",0,function(e){let o,l,s,d,c=(0,i.c)(5),{onRetry:u}=e;return c[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(n.p,{children:(0,t.jsx)(a.T,{children:"Couldn't load your catalog"})}),c[0]=o):o=c[0],c[1]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)(n.c,{role:"alert",children:[o,(0,t.jsx)(n.Y,{children:(0,t.jsx)(a.T,{children:"Your workspace limits which models you can use, and we couldn't load that list."})})]}),c[1]=l):l=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(a.T,{children:"Retry"}),c[2]=s):s=c[2],c[3]!==u?(d=(0,t.jsxs)(n.e,{className:"mt-8",children:[l,(0,t.jsx)(n.X,{children:(0,t.jsx)(r.Button,{variant:"outline",size:"sm",onClick:u,children:s})})]}),c[3]=u,c[4]=d):d=c[4],d}],322454);var o=e.i(134611);e.s(["f",0,function(e,t){let i=new Set(t);return e.filter(e=>i.has((0,o.i)(e)))}],442796);var l=e.i(300326),s=e.i(61811),d=e.i(210412);function c(e){return e.setIsPinnedOnly}e.s(["f",0,function(e){let o,u,m,f,h,p,v,g=(0,i.c)(13),{hasPins:b}=e,x=(0,s.f)(c),y=b?"filtered":"empty";return g[0]!==y?(o=(0,t.jsx)(n.p,{children:(0,t.jsx)(a.T,{children:(0,t.jsx)(l.f,{branch:y,filtered:"No pinned models match your filters.",empty:"No pinned models yet."})})}),g[0]=y,g[1]=o):o=g[1],g[2]!==x?(u=()=>x(!1),g[2]=x,g[3]=u):u=g[3],g[4]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(a.T,{children:"Show all models"}),g[4]=m):m=g[4],g[5]!==u?(f=(0,t.jsx)(r.Button,{variant:"outline",size:"sm",onClick:u,children:m}),g[5]=u,g[6]=f):f=g[6],g[7]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(d.Z,{}),g[7]=h):h=g[7],g[8]!==f?(p=(0,t.jsx)(n.Y,{children:(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[f,h]})}),g[8]=f,g[9]=p):p=g[9],g[10]!==o||g[11]!==p?(v=(0,t.jsx)(n.e,{className:"mt-8",entrance:!0,children:(0,t.jsxs)(n.c,{children:[o,p]})}),g[10]=o,g[11]=p,g[12]=v):v=g[12],v}],222360)},223023,341951,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(136562),n=e.i(702441),a=e.i(954217),o=e.i(388114),l=e.i(143324),s=e.i(561348),d=e.i(193241),c=e.i(340351),u=e.i(81),m=e.i(986704),f=e.i(16043);let h=/^(https?|ircs?|mailto|xmpp)$/i,p={1:"h1",2:"h2",4:"h4",5:"h5",6:"h6"},v=c.Z.blockquote,g="function"==typeof v?v:"blockquote",b=c.Z.h3,x="function"==typeof b?b:"h3",y=c.Z.hr,_="function"==typeof y?y:"hr";function w(e){let r,n=(0,i.c)(2),{children:a}=e;return n[0]!==a?(r=(0,t.jsx)(c.s,{className:"leading-[inherit]",children:a}),n[0]=a,n[1]=r):r=n[1],r}function j(e){var r;let n,a,o,l,s,d,c=(0,i.c)(6),{alt:m,title:f,url:p}=e;c[0]!==p?(n=(r=(0,u.O)(p)).indexOf(":"),a=r.indexOf("?"),o=r.indexOf("#"),l=r.indexOf("/"),s=-1===n||-1!==l&&n>l||-1!==a&&n>a||-1!==o&&n>o||h.test(r.slice(0,n))?r:"",c[0]=p,c[1]=s):s=c[1];let v=m??void 0,g=f??void 0;return c[2]!==s||c[3]!==v||c[4]!==g?(d=(0,t.jsx)("img",{src:s,alt:v,title:g}),c[2]=s,c[3]=v,c[4]=g,c[5]=d):d=c[5],d}function k(e){let r,n,a,o=(0,i.c)(6),{markdown:l}=e;return o[0]!==l?(n=(0,m.f)(l),r=new Map,function e(t,i){t.forEach(t=>{if("definition"===t.type){let e=t.identifier.toUpperCase();i.has(e)||i.set(e,t)}"children"in t&&e(t.children,i)})}(n.children,r),o[0]=l,o[1]=r,o[2]=n):(r=o[1],n=o[2]),o[3]!==r||o[4]!==n.children?(a=(0,t.jsx)(S,{nodes:n.children,definitions:r,isSeparated:!0}),o[3]=r,o[4]=n.children,o[5]=a):a=o[5],a}function S(e){let r,n,a,o,l=(0,i.c)(12),{definitions:s,isLoose:d,nodes:c,isSeparated:u,shouldTrimFirstText:m}=e,h=void 0!==d&&d,p=void 0!==u&&u,v=void 0!==m&&m;if(l[0]!==s||l[1]!==h||l[2]!==p||l[3]!==c||l[4]!==v){let e=c.filter(E);n=(r=h&&e.length>0)?"\n":null,a=e.map((i,r)=>(0,t.jsxs)(f.Fragment,{children:[p&&r>0?"\n":null,(0,t.jsx)(z,{node:i,definitions:s,shouldTrimStart:0===r&&v&&"text"===i.type||r>0&&e[r-1]?.type==="break"})]},r)),l[0]=s,l[1]=h,l[2]=p,l[3]=c,l[4]=v,l[5]=r,l[6]=n,l[7]=a}else r=l[5],n=l[6],a=l[7];let g=r?"\n":null;return l[8]!==n||l[9]!==a||l[10]!==g?(o=(0,t.jsxs)(t.Fragment,{children:[n,a,g]}),l[8]=n,l[9]=a,l[10]=g,l[11]=o):o=l[11],o}function E(e){return"definition"!==e.type}function z(e){let r=(0,i.c)(43),{definitions:n,node:a,shouldTrimStart:o}=e;switch(a.type){case"blockquote":{let e;return r[0]!==n||r[1]!==a.children?(e=(0,t.jsx)(g,{children:(0,t.jsx)(S,{nodes:a.children,definitions:n,isSeparated:!0,isLoose:!0})}),r[0]=n,r[1]=a.children,r[2]=e):e=r[2],e}case"break":{let e;return r[3]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),"\n"]}),r[3]=e):e=r[3],e}case"code":{let e,i,n;r[4]!==a.lang?(e=a.lang?.split(/\s+/)[0],r[4]=a.lang,r[5]=e):e=r[5];let l=e,s=a.value?`${a.value} `:"",d=l?`language-${l}`:void 0;return r[6]!==o||r[7]!==s?(i=o?A(s):s,r[6]=o,r[7]=s,r[8]=i):i=r[8],r[9]!==d||r[10]!==i?(n=(0,t.jsx)("pre",{children:(0,t.jsx)(c.S,{className:d,children:i})}),r[9]=d,r[10]=i,r[11]=n):n=r[11],n}case"definition":case"delete":case"footnoteDefinition":case"footnoteReference":case"mdxFlowExpression":case"mdxJsxFlowElement":case"mdxJsxTextElement":case"mdxTextExpression":case"mdxjsEsm":case"table":case"tableCell":case"tableRow":case"yaml":case"list":case"listItem":return null;case"html":return a.value;case"image":{let e;return r[12]!==a.alt||r[13]!==a.title||r[14]!==a.url?(e=(0,t.jsx)(j,{url:a.url,alt:a.alt,title:a.title}),r[12]=a.alt,r[13]=a.title,r[14]=a.url,r[15]=e):e=r[15],e}case"imageReference":{let e,i;r[16]!==n||r[17]!==a.identifier?(e=n.get(a.identifier.toUpperCase()),r[16]=n,r[17]=a.identifier,r[18]=e):e=r[18];let o=e;if(!o)return null;return r[19]!==o.title||r[20]!==o.url||r[21]!==a.alt?(i=(0,t.jsx)(j,{url:o.url,alt:a.alt,title:o.title}),r[19]=o.title,r[20]=o.url,r[21]=a.alt,r[22]=i):i=r[22],i}case"inlineCode":{let e,i,n;if(r[23]!==a.value||r[24]!==o){let t=a.value.replaceAll(/\r?\n|\r/g," ");e=c.S,i=o?A(t):t,r[23]=a.value,r[24]=o,r[25]=e,r[26]=i}else e=r[25],i=r[26];return r[27]!==e||r[28]!==i?(n=(0,t.jsx)(e,{children:i}),r[27]=e,r[28]=i,r[29]=n):n=r[29],n}case"emphasis":case"strong":case"heading":case"link":case"linkReference":case"paragraph":{let e,i,l;r[30]!==a?(e=function(e){switch(e.type){case"emphasis":return"em";case"strong":return"strong";case"heading":return 3===e.depth?x:p[e.depth];case"link":case"linkReference":return"span";case"paragraph":return w;default:return e}}(a),r[30]=a,r[31]=e):e=r[31];let s=e;return r[32]!==n||r[33]!==a.children||r[34]!==o?(i=(0,t.jsx)(S,{nodes:a.children,definitions:n,shouldTrimFirstText:o}),r[32]=n,r[33]=a.children,r[34]=o,r[35]=i):i=r[35],r[36]!==s||r[37]!==i?(l=(0,t.jsx)(s,{children:i}),r[36]=s,r[37]=i,r[38]=l):l=r[38],l}case"text":{let e;if(r[39]!==a.value||r[40]!==o){let t=a.value.replaceAll(/(\r?\n|\r)[\t ]+/g,"$1").replaceAll(/[\t ]+(\r?\n|\r)/g,"$1");e=o?A(t):t,r[39]=a.value,r[40]=o,r[41]=e}else e=r[41];return e}case"thematicBreak":{let e;return r[42]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(_,{}),r[42]=e):e=r[42],e}default:return a}}function A(e){return e.replace(/^[\t ]+/,"")}function C(e){let r,n=(0,i.c)(2),{children:a}=e;return n[0]!==a?(r=(0,t.jsx)("div",{"data-testid":"model-list-item-description",className:"line-clamp-2 text-xs tracking-normal text-muted-foreground",children:(0,t.jsx)(k,{markdown:a})}),n[0]=a,n[1]=r):r=n[1],r}function N(e){let r,n,a=(0,i.c)(4),{description:o}=e;return a[0]!==o?(r=o.replaceAll("\n"," "),a[0]=o,a[1]=r):r=a[1],a[2]!==r?(n=(0,t.jsx)(C,{children:r}),a[2]=r,a[3]=n):n=a[3],n}var M=e.i(501072),T=e.i(340563);let R="data-clerk-session",L="data-models-first-paint",I={cookieName:T.Z,attribute:R,catalogFilterKey:M.j,catalogFilterOff:M.k.Off},F=`(${(function(e){try{if(!document.cookie.split(";").some(t=>{let i=t.trim(),r=i.indexOf("=");if(-1===r)return!1;let n=i.slice(0,r),a=i.slice(r+1);return(n===e.cookieName||0===n.indexOf(`${e.cookieName}_`))&&""!==a&&"0"!==a}))return;let t=!1;try{t=window.localStorage.getItem(e.catalogFilterKey)===e.catalogFilterOff}catch{}t||document.documentElement.setAttribute(e.attribute,"true")}catch{}}).toString()})(${JSON.stringify(I)});`,O=`html[${R}='true'] [${L}]{display:none}`;function P(e){let s,c,u,m,f,h,p=(0,i.c)(21),{model:v,categories:g,analytics:b,outputModalityIntent:x}=e,y=(0,l.S)(v,{outputModalityIntent:x}),_=(0,o.f)();p[0]!==_?({prefetch:c,...s}=_,p[0]=_,p[1]=s,p[2]=c):(s=p[1],c=p[2]);let w=n.N,j=(0,r.f)("relative flex items-center","px-4 md:above-phone:px-5",y&&"cursor-pointer");return p[3]!==v.name||p[4]!==y||p[5]!==c?(u=y?(0,t.jsx)(a.TextLink,{href:y,prefetch:c,className:"absolute inset-0 z-0","aria-label":v.name}):null,p[3]=v.name,p[4]=y,p[5]=c,p[6]=u):u=p[6],p[7]!==v.description?(m=(0,t.jsx)(N,{description:v.description}),p[7]=v.description,p[8]=m):m=p[8],p[9]!==b||p[10]!==g||p[11]!==v||p[12]!==x||p[13]!==m?(f=(0,t.jsx)("div",{className:"pointer-events-none flex w-full items-center",children:(0,t.jsx)(d.ModelsPageListItemListRow,{model:v,description:m,categories:g,analytics:b,outputModalityIntent:x})}),p[9]=b,p[10]=g,p[11]=v,p[12]=x,p[13]=m,p[14]=f):f=p[14],p[15]!==w||p[16]!==s||p[17]!==j||p[18]!==u||p[19]!==f?(h=(0,t.jsxs)(w,{interactive:!0,...s,className:j,children:[u,f]}),p[15]=w,p[16]=s,p[17]=j,p[18]=u,p[19]=f,p[20]=h):h=p[20],h}e.s(["B",0,L,"x",0,function(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:O}}),(0,t.jsx)("script",{dangerouslySetInnerHTML:{__html:F}})]}),r[0]=e):e=r[0],e}],341951),e.s(["T",0,function(e){let r,n,a,o=(0,i.c)(10),{initialListing:l}=e;if(!l?.models.length)return null;if(o[0]===Symbol.for("react.memo_cache_sentinel")?(r={[L]:""},o[0]=r):r=o[0],o[1]!==l.analytics||o[2]!==l.categories||o[3]!==l.models){let e;o[5]!==l.analytics||o[6]!==l.categories?(e=e=>(0,t.jsx)("li",{className:"group flex w-full flex-col justify-center px-0.5 py-1",children:(0,t.jsx)(P,{model:e,categories:l.categories,analytics:l.analytics,outputModalityIntent:null})},e.endpoint?.id??e.permaslug),o[5]=l.analytics,o[6]=l.categories,o[7]=e):e=o[7],n=l.models.slice(0,s.C).map(e),o[1]=l.analytics,o[2]=l.categories,o[3]=l.models,o[4]=n}else n=o[4];return o[8]!==n?(a=(0,t.jsx)("div",{className:"relative w-full",...r,children:(0,t.jsx)("ul",{className:"relative w-full py-2",children:n})}),o[8]=n,o[9]=a):a=o[9],a},"k",0,P],223023)},542969,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(670168),n=e.i(493630);e.s(["ModelsPageListItemSkeleton",0,function(e){let a,o,l,s,d,c,u,m,f=(0,i.c)(10),{shouldShowCategories:h}=e,p=void 0===h||h;return f[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(r.l,{className:"hidden size-6 shrink-0 rounded-full md:block"}),f[0]=a):a=f[0],f[1]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsxs)(n.f.TitleCluster,{children:[a,(0,t.jsx)("span",{className:"inline-block md:block",children:(0,t.jsx)(r.l,{className:"h-6 w-40 md:h-6.5 md:w-56"})}),(0,t.jsx)(r.l,{className:"hidden size-5 shrink-0 rounded-md md:block"}),(0,t.jsx)(r.l,{className:"hidden size-5 shrink-0 rounded-md md:block"}),(0,t.jsx)(r.l,{className:"ml-1 hidden size-5 shrink-0 rounded md:block"})]}),f[1]=o):o=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)(n.f.HeaderRow,{children:[o,(0,t.jsx)(n.f.WeeklyTokens,{children:(0,t.jsx)(r.l,{className:"h-4 w-24 rounded-full"})})]}),f[2]=l):l=f[2],f[3]!==p?(s=p&&(0,t.jsx)(n.f.Categories,{children:(0,t.jsx)(r.l,{className:"h-6 w-36 rounded-full"})}),f[3]=p,f[4]=s):s=f[4],f[5]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("div",{className:"flex h-lh items-center",children:(0,t.jsx)(r.l,{className:"h-4 w-full"})}),f[5]=d):d=f[5],f[6]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(n.f.Description,{children:(0,t.jsxs)("div",{className:"flex flex-col text-body",children:[d,(0,t.jsx)("div",{className:"flex h-lh items-center",children:(0,t.jsx)(r.l,{className:"h-4 w-4/5"})})]})}),f[6]=c):c=f[6],f[7]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)(n.f.Footer,{children:[(0,t.jsx)("span",{className:"flex h-lh items-center",children:(0,t.jsx)(r.l,{className:"h-4 w-14"})}),(0,t.jsx)(n.f.FooterDivider,{className:"hidden md:inline"}),(0,t.jsx)(r.l,{className:"hidden h-4 w-24 md:block"}),(0,t.jsx)(n.f.FooterDivider,{}),(0,t.jsx)(r.l,{className:"h-4 w-20"}),(0,t.jsx)(n.f.FooterDivider,{}),(0,t.jsx)(r.l,{className:"h-4 w-28"}),(0,t.jsx)(n.f.FooterDivider,{}),(0,t.jsx)(r.l,{className:"h-4 w-28"})]}),f[7]=u):u=f[7],f[8]!==s?(m=(0,t.jsxs)(n.f.ListRoot,{"data-testid":"model-list-item-skeleton",isLinked:!1,children:[l,s,c,u]}),f[8]=s,f[9]=m):m=f[9],m}])},361570,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(279496),n=e.i(136562),a=e.i(139697),o=e.i(217411),l=e.i(535072),s=e.i(199168);e.i(707060);var d=e.i(196991),c=e.i(149423),u=e.i(210412);let m=(0,t.jsx)(u.v,{}),f=e=>{let r,a,o=(0,i.c)(3);return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.f)("sticky top-[calc(var(--navbar-height)+var(--sticky-banner-top,0px))] z-10 h-[calc(100dvh-var(--navbar-height)-var(--sticky-banner-top,0px))] md:h-[calc(100dvh-var(--navbar-height)-var(--sticky-banner-top,0px))]","w-66","hidden md:above-phone:flex flex-col","shrink-0 gap-0 overflow-hidden","border-r border-border bg-card","pl-6 pt-3 text-sm"),o[0]=r):r=o[0],o[1]!==e.children?(a=(0,t.jsx)("nav",{className:r,children:(0,t.jsx)("div",{className:"flex-1 overflow-y-auto overflow-x-hidden overscroll-contain",children:e.children})}),o[1]=e.children,o[2]=a):a=o[2],a},h=e=>{let l,s,u,m,f,h,p,v,g,b=(0,i.c)(17),x=e.clearsMobileActionBar?"-translate-x-6 -translate-y-[calc(4rem+env(safe-area-inset-bottom))] sm:-translate-y-6":"-translate-x-6 -translate-y-6";b[0]!==x?(l=(0,n.f)("fixed bottom-0 right-0 z-overlay",x),b[0]=x,b[1]=l):l=b[1],b[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(c.f,{className:"size-4"}),b[2]=s):s=b[2],b[3]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(o.V,{render:(0,t.jsxs)(a.Button,{shape:"pill",size:"md",variant:"outline",tone:"subdued",className:"md:above-phone:hidden",children:[s," ",(0,t.jsx)(d.T,{children:"Filter"})]})}),b[3]=u):u=b[3],b[4]!==e.sheetTitle?(m=(0,t.jsx)(o.L,{className:"sr-only",children:e.sheetTitle}),b[4]=e.sheetTitle,b[5]=m):m=b[5];let y=e.children;return b[6]===Symbol.for("react.memo_cache_sentinel")?(f=(0,n.f)("fixed bottom-12 right-0 z-fixed cursor-pointer duration-0","-translate-x-6 -translate-y-6","above-phone:hidden"),b[6]=f):f=b[6],b[7]!==e.resetButton?(h=(0,t.jsx)("div",{className:f,children:e.resetButton}),b[7]=e.resetButton,b[8]=h):h=b[8],b[9]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(o.O,{render:(0,t.jsxs)(a.Button,{shape:"pill",size:"md",variant:"outline",tone:"subdued",className:(0,n.f)("fixed bottom-6 right-6 z-fixed duration-0","above-phone:hidden"),children:[(0,t.jsx)(r.f,{className:"h-4 w-4"}),(0,t.jsx)(d.T,{children:"Close"})]})}),b[9]=p):p=b[9],b[10]!==e.children||b[11]!==m||b[12]!==h?(v=(0,t.jsxs)(o.j,{children:[u,(0,t.jsxs)(o.U,{side:"left",className:"w-full sm:w-135",showCloseButton:!1,children:[m,y,h,p]})]}),b[10]=e.children,b[11]=m,b[12]=h,b[13]=v):v=b[13],b[14]!==l||b[15]!==v?(g=(0,t.jsx)("div",{className:l,children:v}),b[14]=l,b[15]=v,b[16]=g):g=b[16],g};e.s(["ModelsPageNav",0,e=>{let r,n,a,o,d=(0,i.c)(14),{children:c,sheetTitle:u,resetButton:p,clearsMobileActionBar:v}=e,g=void 0===p?m:p,b=void 0!==v&&v,x=(0,s.o)(),y=(0,l.j)("(min-width: 768px) and (height > 30rem)");d[0]!==x||d[1]!==u?(r=u??x("Model Filters"),d[0]=x,d[1]=u,d[2]=r):r=d[2];let _=r;d[3]!==c||d[4]!==b||d[5]!==g||d[6]!==_?(n=(0,t.jsx)(h,{sheetTitle:_,resetButton:g,clearsMobileActionBar:b,children:c}),d[3]=c,d[4]=b,d[5]=g,d[6]=_,d[7]=n):n=d[7];let w=n;d[8]!==c||d[9]!==y?(a=!1!==y&&(0,t.jsx)(f,{children:c}),d[8]=c,d[9]=y,d[10]=a):a=d[10];let j=!0!==y&&w;return d[11]!==a||d[12]!==j?(o=(0,t.jsxs)(t.Fragment,{children:[a,j]}),d[11]=a,d[12]=j,d[13]=o):o=d[13],o}])},637528,e=>{"use strict";var t=e.i(663456),i=e.i(376885),r=e.i(702596),n=e.i(16018),a=e.i(340563),o=e.i(618115);e.i(16043);var l=e.i(557986);e.s(["f",0,function(e){let s,d,c,u,m,f,h=(0,t.c)(35),{isLoaded:p,orgId:v,userId:g}=(0,i.f)(),b="true"===e.private,x=b&&!p;if(h[0]!==v||h[1]!==e||h[2]!==b||h[3]!==g){let t=(0,l.A)({showPrivate:b,orgId:v,userId:g});d=o.f,s=(0,l.Y)(e,t),h[0]=v,h[1]=e,h[2]=b,h[3]=g,h[4]=s,h[5]=d}else s=h[4],d=h[5];let y=!x;h[6]!==s||h[7]!==y?(c={...s,enabled:y},h[6]=s,h[7]=y,h[8]=c):c=h[8];let{data:_,isLoading:w,isPlaceholderData:j,error:k}=d(c),{allowedModelIds:S,isCatalogPending:E,isCatalogError:z,retryCatalog:A}=(0,a.o)();h[9]!==S||h[10]!==z||h[11]!==E||h[12]!==_?(u=!_||E||z?void 0:[...(0,n.f)(_.models,S)],h[9]=S,h[10]=z,h[11]=E,h[12]=_,h[13]=u):u=h[13];let C=u,N=_?.analytics,M=_?.categories,T=_?.modality_counts,R=null===S&&!E&&!z,L=_?.benchmarks,I=_?.endpoint_perf,F=_?.benchmark_ranges,O=_?.throughput_values,P=_?.fastest_throughput,V=C?.length??0,B=x||w||E;return h[14]!==k?(m=(0,r.i)(k),h[14]=k,h[15]=m):m=h[15],h[16]!==z||h[17]!==E||h[18]!==j||h[19]!==C||h[20]!==A||h[21]!==b||h[22]!==I||h[23]!==F||h[24]!==O||h[25]!==P||h[26]!==V||h[27]!==B||h[28]!==m||h[29]!==N||h[30]!==M||h[31]!==T||h[32]!==R||h[33]!==L?(f={models:C,analytics:N,categories:M,modalityCounts:T,showModalityCounts:R,benchmarks:L,endpointPerf:I,benchmarkRanges:F,throughputValues:O,fastestThroughput:P,modelCount:V,isLoading:B,isCallerCatalogPending:E,isCallerCatalogError:z,retryCallerCatalog:A,isPlaceholderData:j,error:m,showPrivate:b},h[16]=z,h[17]=E,h[18]=j,h[19]=C,h[20]=A,h[21]=b,h[22]=I,h[23]=F,h[24]=O,h[25]=P,h[26]=V,h[27]=B,h[28]=m,h[29]=N,h[30]=M,h[31]=T,h[32]=R,h[33]=L,h[34]=f):f=h[34],f}])},947795,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(678628),n=e.i(143253),a=e.i(16043),o=e.i(368823);function l(e,t){let i=t?"true":"false";e.dataset.modelsControlsHidden!==i&&(e.dataset.modelsControlsHidden=i)}let s=(0,a.createContext)(f),d=(0,a.createContext)(null);function c(){return(0,a.useContext)(s)}function u(e){""!==e.style.getPropertyValue("translate")&&e.style.removeProperty("translate")}function m(e,t){let n,a=(0,i.c)(3);return a[0]!==t||a[1]!==e?(n=()=>{let i=e.current;if(!i||!window.matchMedia(r.f).matches)return void f();let n="true"===i.dataset.modelsControlsHidden,a=n&&Number.parseFloat(i.style.getPropertyValue("--models-controls-hide-distance"))||0,o=Math.max(0,i.getBoundingClientRect().top+window.scrollY-t+a);n&&Math.round(o)!==Math.round(window.scrollY)&&(i.dataset.modelsControlsHold="true"),h(o)},a[0]=t,a[1]=e,a[2]=n):n=a[2],n}function f(){h(0)}function h(e){window.scrollTo({top:Math.max(0,e),left:0,behavior:"auto"})}function p(e){let t=getComputedStyle(e).getPropertyValue("--models-viewport-height").trim();if(!t.endsWith("px"))return window.innerHeight;let i=Number.parseFloat(t);return i>0?i:window.innerHeight}function v({element:e,name:t,value:i}){e.style.getPropertyValue(t)!==i&&e.style.setProperty(t,i)}e.s(["ModelsPageScrollProvider",0,function(e){let r,n=(0,i.c)(3),{children:l}=e,c=(0,a.useRef)(null),u=m(c,(0,o.u)());return n[0]!==l||n[1]!==u?(r=(0,t.jsx)(d.Provider,{value:c,children:(0,t.jsx)(s.Provider,{value:u,children:l})}),n[0]=l,n[1]=u,n[2]=r):r=n[2],r},"ModelsPageScrollRegion",0,function(e){let c,f,g,b,x,y,_,w,j,k,S=(0,i.c)(24),{children:E,stickyChildren:z}=e,A=(0,a.useContext)(d),C=(0,a.useRef)(null),N=A??C,M=(0,a.useRef)(null),T=(0,o.u)();S[0]!==T||S[1]!==N?(c={regionRef:N,stackRef:M,navbarOffset:T},S[0]=T,S[1]=N,S[2]=c):c=S[2],function(e){let t,n,o=(0,i.c)(5),{regionRef:s,stackRef:d,navbarOffset:c}=e;o[0]!==c||o[1]!==s||o[2]!==d?(t=()=>{let e,t=s.current,i=d.current;if(!t||!i)return;let n=window.matchMedia(r.f),a=0,o=()=>{a=t.getBoundingClientRect().top+window.scrollY;let e=i.querySelector("[data-models-autohide]"),r=e?e.getBoundingClientRect().bottom-i.getBoundingClientRect().top:0;t.style.setProperty("--models-controls-hide-distance",`${r}px`)},u=window.scrollY,m=()=>{e=void 0;let i=window.scrollY,r=i-u;if(u=i,"true"===t.dataset.modelsControlsHold)return void delete t.dataset.modelsControlsHold;let o="false"!==t.dataset.modelsStickyChrome&&a-i0&&l(t,!0)},f=()=>{let e=document.activeElement;return null!==e&&e.matches(":focus-visible")&&(i.querySelector("[data-models-autohide]")?.contains(e)??!1)},h=()=>{f()&&l(t,!1)},p=()=>{void 0===e&&(e=requestAnimationFrame(m))},v=()=>{o(),p()};o();let g=new ResizeObserver(v);return g.observe(i),g.observe(document.body),window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",v),i.addEventListener("focusin",h),n.addEventListener("change",v),()=>{g.disconnect(),window.removeEventListener("scroll",p),window.removeEventListener("resize",v),i.removeEventListener("focusin",h),n.removeEventListener("change",v),void 0!==e&&cancelAnimationFrame(e),l(t,!1)}},n=[s,d,c],o[0]=c,o[1]=s,o[2]=d,o[3]=t,o[4]=n):(t=o[3],n=o[4]),(0,a.useEffect)(t,n)}(c);let R=m(N,T);S[3]!==N.current?(f=()=>{let e,t=N.current,i=M.current;if(!t||!i)return;let r=0,n=0,a=0,o=new Set([i]),l=()=>{for(let e of o)e===i||e.isConnected||o.delete(e);let e=t.querySelector(".or-table-page-scroll__header"),r=t.querySelector(".or-table-page-scroll__corner-cap");e&&o.add(e),r&&o.add(r)},s=()=>{let e=t.getBoundingClientRect();r=e.bottom+window.scrollY,a=p(t),n=Math.min(e.height,a)},d=()=>{if(e=void 0,"true"!==t.dataset.modelsStickyChrome)return void o.forEach(u);let i=r-window.scrollY,l=Math.min(Math.max((n-i)/n,0),1),s=`0 ${-l*a}px`;o.forEach(e=>{var t,i;t=e,i=s,t.style.getPropertyValue("translate")!==i&&t.style.setProperty("translate",i)})},c=()=>{void 0===e&&(e=requestAnimationFrame(d))},m=()=>{s(),c()};l(),s(),d(),window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",m,{passive:!0});let f=new ResizeObserver(m);f.observe(t),f.observe(document.body);let h=new MutationObserver(()=>{l(),c()});return h.observe(t,{attributes:!0,attributeFilter:["data-models-sticky-chrome"],childList:!0,subtree:!0}),()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",m),f.disconnect(),h.disconnect(),void 0!==e&&cancelAnimationFrame(e),o.forEach(u)}},S[3]=N.current,S[4]=f):f=S[4],S[5]===Symbol.for("react.memo_cache_sentinel")?(g=[],S[5]=g):g=S[5],(0,n.f)(f,g),S[6]!==T||S[7]!==N.current?(b=()=>{let e,t=N.current,i=M.current;if(!t||!i)return;let r=()=>{e=void 0;let{height:r}=i.getBoundingClientRect(),{height:n,top:a}=t.getBoundingClientRect(),o=p(t);v({element:t,name:"--or-table-sticky-top",value:`${T+r-2}px`}),v({element:t,name:"--or-table-sticky-chrome-overlap",value:"1px"});let l=n>o-T,s=l?"true":"false",d="true"===t.dataset.modelsStickyChrome&&!l;t.dataset.modelsStickyChrome!==s&&(t.dataset.modelsStickyChrome=s),d&&"true"===t.dataset.modelsControlsHidden&&(t.dataset.modelsControlsHidden="false",a{void 0===e&&(e=requestAnimationFrame(r))};r(),window.addEventListener("resize",n,{passive:!0});let a=new ResizeObserver(n);return a.observe(i),a.observe(t),()=>{window.removeEventListener("resize",n),a.disconnect(),void 0!==e&&cancelAnimationFrame(e)}},S[6]=T,S[7]=N.current,S[8]=b):b=S[8],S[9]!==T?(x=[T],S[9]=T,S[10]=x):x=S[10],(0,n.f)(b,x),S[11]===Symbol.for("react.memo_cache_sentinel")?(y={"--models-region-min-height":"calc(100dvh - var(--navbar-top, 0px) - var(--navbar-height))"},S[11]=y):y=S[11];let L=`${Math.max(0,T-1)}px`;return S[12]!==L?(_={"--models-controls-top":L},S[12]=L,S[13]=_):_=S[13],S[14]!==z||S[15]!==_?(w=(0,t.jsx)("div",{ref:M,className:"models-scroll-region__sticky-controls sticky z-30 bg-background overflow-anchor-none",style:_,children:z}),S[14]=z,S[15]=_,S[16]=w):w=S[16],S[17]!==E||S[18]!==N||S[19]!==w?(j=(0,t.jsxs)("div",{ref:N,className:"models-scroll-region relative min-h-(--models-region-min-height) min-w-0 flex-1","data-allow-inline-style":!0,style:y,children:[w,E]}),S[17]=E,S[18]=N,S[19]=w,S[20]=j):j=S[20],S[21]!==R||S[22]!==j?(k=(0,t.jsx)(s.Provider,{value:R,children:j}),S[21]=R,S[22]=j,S[23]=k):k=S[23],k},"useModelsPageScrollToStart",0,c,"useModelsPageScrollToStartOnPhone",0,function(){let e,t=(0,i.c)(2),n=c();return t[0]!==n?(e=()=>{window.matchMedia(r.f).matches&&n()},t[0]=n,t[1]=e):e=t[1],e}],947795)},210412,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(16043),n=e.i(346023),a=e.i(892662),o=e.i(2763);let l=()=>{let e,t,r,n=(0,i.c)(8),{searchParams:l,setSearchParams:s}=(0,o.f)();n[0]!==l||n[1]!==s?(e=()=>{var e;s((e=l,{...a.O,private:"true"===e.private?"true":null}))},n[0]=l,n[1]=s,n[2]=e):e=n[2];let d=e;n[3]!==l?(t=Object.entries(l).some(([e,t])=>{var i,r;return"order"!==(i=e)&&"q"!==i&&"fmt"!==i&&"active"!==i&&"private"!==i&&(Array.isArray(r=t)?r.length>0:void 0!==r)}),n[3]=l,n[4]=t):t=n[4];let c=t;return n[5]!==c||n[6]!==d?(r={resetFilters:d,hasFilters:c},n[5]=c,n[6]=d,n[7]=r):r=n[7],r};function s(){let e,r=(0,i.c)(3),{resetFilters:a,hasFilters:o}=l();return r[0]!==o||r[1]!==a?(e=(0,t.jsx)(n.b,{placement:n.I.Inline,hasActiveFilters:o,onReset:a}),r[0]=o,r[1]=a,r[2]=e):e=r[2],e}function d(){let e,r=(0,i.c)(3),{resetFilters:a,hasFilters:o}=l();return r[0]!==o||r[1]!==a?(e=(0,t.jsx)(n.b,{placement:n.I.Floating,hasActiveFilters:o,onReset:a}),r[0]=o,r[1]=a,r[2]=e):e=r[2],e}e.s(["Z",0,function(){let e,n=(0,i.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(s,{})}),n[0]=e):e=n[0],e},"v",0,function(){let e,n=(0,i.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(d,{})}),n[0]=e):e=n[0],e}])},151312,e=>{"use strict";var t=e.i(610586);e.i(707060);var i=e.i(387086);let r={codecategories:{label:(0,i.b)("Code Categories"),tooltip:(0,i.b)("Design Arena Code Categories ELO")},uicomponent:{label:(0,i.b)("UI Component"),tooltip:(0,i.b)("Design Arena UI Component ELO")},gamedev:{label:(0,i.b)("Game Development"),tooltip:(0,i.b)("Design Arena Game Development ELO")},dataviz:{label:(0,i.b)("Data Visualization"),tooltip:(0,i.b)("Design Arena Data Visualization ELO")},"3d":{label:(0,i.b)("3D"),tooltip:(0,i.b)("Design Arena 3D ELO")},image:{label:(0,i.b)("Image"),tooltip:(0,i.b)("Design Arena Image ELO")},video:{label:(0,i.b)("Video"),tooltip:(0,i.b)("Design Arena Video ELO")},svg:{label:(0,i.b)("SVG"),tooltip:(0,i.b)("Design Arena SVG ELO")}};e.s(["f",0,function(e){let n=e.replace(/^models-/,""),a=t.Z.find(e=>e===n);return void 0!==a?r[a]:{label:(0,i.b)("Unknown"),tooltip:(0,i.b)("Unknown Design Arena category")}}])},61811,e=>{"use strict";let t=(0,e.i(313939).f)(e=>({isPinnedOnly:!1,setIsPinnedOnly:t=>e({isPinnedOnly:t}),togglePinnedOnly:()=>e(e=>({isPinnedOnly:!e.isPinnedOnly}))}));e.s(["f",0,t])},557986,561348,e=>{"use strict";var t=e.i(819750),i=e.i(524287),r=e.i(613497),n=e.i(173465);let a={fmt:e.i(885024).P.Cards,active:"true"};e.s(["M",0,a,"G",0,2e4,"C",0,20],561348);let o=(0,i.f)("models",{providerFilters:()=>[],search:(e,t)=>[{searchParams:e,entityScope:t}]});e.s(["Y",0,function(e,i){let a="true"===e.private?"/api/frontend/v1/private/models/find":"/api/frontend/v1/models/find";return(0,n.f)({queryKey:o.search(e,i),queryFn:({signal:i})=>(0,t.f)(a,{searchParams:e,signal:i,timeoutMs:2e4}),placeholderData:r.y})},"A",0,function({showPrivate:e,orgId:t,userId:i}){return e&&i?t?`${t}:${i}`:i:null},"N",0,function(){return(0,n.f)({queryKey:o.providerFilters(),queryFn:({signal:e})=>(0,t.f)("/api/frontend/v1/provider-filters",{signal:e})})}],557986)},2763,329384,340965,892662,e=>{"use strict";var t=e.i(663456),i=e.i(19773);e.i(16043);var r=e.i(947795);function n(e){return`min_da_elo_${e}`}function a(e){return`max_da_elo_${e}`}let o=e.i(610586).Z.flatMap(e=>[n(e),a(e)]);function l(e){return Object.fromEntries(o.map(t=>[t,e(t)]))}e.s(["d",0,l,"u",0,function(e){return`models-${e}`},"Y",0,a,"b",0,n],329384);var s=e.i(668379),d=e.i(885024),c=e.i(667417),u=e.i(209615),m=e.i(572201),f=e.i(771271),h=e.i(756247),p=e.i(988590);e.i(882844);var v=e.i(635157);let g=["most-popular","newest","oldest","top-weekly","weekly-tokens-low-to-high","discount-high-to-low","pricing-low-to-high","pricing-high-to-low","context-high-to-low","context-low-to-high","throughput-high-to-low","throughput-low-to-high","latency-low-to-high","latency-high-to-low","intelligence-high-to-low","intelligence-low-to-high","coding-high-to-low","coding-low-to-high","agentic-high-to-low","agentic-low-to-high","da-elo-high-to-low","da-elo-low-to-high"],b=(0,p.b)(h.f),x=(0,p.b)(s.f),y=(0,p.b)(u.f),_=v.z.string().optional().transform(e=>e?.split(",").map(e=>e.trim())),w=_.transform(e=>e?.filter(b)),j=_.transform(e=>e?.map(e=>c.v.get(e.toLowerCase())).filter(e=>void 0!==e)),k=_.transform(e=>e?.map(e=>c.Z.get(e.toLowerCase())).filter(e=>void 0!==e)),S=_.transform(e=>e?.map(e=>f.g.get(e.toLowerCase())).filter(e=>void 0!==e)),E=_.transform(e=>e?.filter(x)),z=_.transform(e=>e?.filter(y));v.z.object({q:v.z.string().optional(),fmt:v.z.enum(d.P).optional().default(d.P.Cards),arch:z,categories:E,input_modalities:j,output_modalities:k,variant:v.z.enum(m.d).optional(),providers:S,model_authors:_,context:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),pricing:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_price:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_price:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),supported_parameters:w,distillable:v.z.enum(["true","false"]).optional(),zdr:v.z.literal("true").optional(),hipaa:v.z.literal("true").optional(),discount:v.z.literal("true").optional(),region:v.z.enum(["eu","us"]).optional(),order:v.z.enum(g).optional(),active:v.z.literal("true").optional(),private:v.z.literal("true").optional(),min_output_price:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_output_price:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_age_days:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),max_age_days:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),min_intelligence_index:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_intelligence_index:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_coding_index:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_coding_index:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_agentic_index:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_agentic_index:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),...l(()=>v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0)),min_tool_success_rate:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_tool_success_rate:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_throughput:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_throughput:v.z.union([v.z.number(),v.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0)}),e.s(["f",0,g],340965);let A={q:i.d,fmt:(0,i.E)(Object.values(d.P)).withDefault(d.P.Cards),arch:(0,i.e)((0,i.E)(Object.values(u.f))),categories:(0,i.e)((0,i.E)(Object.values(s.f))),input_modalities:(0,i.e)((0,i.E)(Object.values(c.D))),output_modalities:(0,i.e)((0,i.E)(Object.values(c.j))),variant:(0,i.E)(Object.values(m.d)),providers:(0,i.e)((0,i.E)(Object.values(f.R))),model_authors:(0,i.e)(i.d),context:i.w,pricing:i.g,min_price:i.g,max_price:i.g,supported_parameters:(0,i.e)((0,i.E)(Object.values(h.f))),distillable:(0,i.b)(["true","false"]),zdr:(0,i.b)(["true"]),hipaa:(0,i.b)(["true"]),discount:(0,i.b)(["true"]),region:(0,i.b)(["eu","us"]),order:(0,i.b)(g),active:(0,i.b)(["true","false"]),private:(0,i.b)(["true"]),min_output_price:i.g,max_output_price:i.g,min_age_days:i.w,max_age_days:i.w,min_intelligence_index:i.g,max_intelligence_index:i.g,min_coding_index:i.g,max_coding_index:i.g,min_agentic_index:i.g,max_agentic_index:i.g,...l(()=>i.g),min_tool_success_rate:i.g,max_tool_success_rate:i.g,min_throughput:i.w,max_throughput:i.w};(0,i.C)(A);let C={q:null,fmt:null,arch:null,categories:null,input_modalities:null,output_modalities:null,variant:null,providers:null,model_authors:null,context:null,pricing:null,min_price:null,max_price:null,supported_parameters:null,distillable:null,zdr:null,hipaa:null,discount:null,region:null,order:null,active:null,private:null,min_output_price:null,max_output_price:null,min_age_days:null,max_age_days:null,min_intelligence_index:null,max_intelligence_index:null,min_coding_index:null,max_coding_index:null,min_agentic_index:null,max_agentic_index:null,...l(()=>null),min_tool_success_rate:null,max_tool_success_rate:null,min_throughput:null,max_throughput:null};function N(e){return{q:e.q??void 0,fmt:e.fmt,arch:e.arch??void 0,categories:e.categories??void 0,input_modalities:e.input_modalities??void 0,output_modalities:e.output_modalities??void 0,variant:e.variant??void 0,providers:e.providers??void 0,model_authors:e.model_authors??void 0,context:e.context??void 0,pricing:e.pricing??void 0,min_price:e.min_price??void 0,max_price:e.max_price??void 0,supported_parameters:e.supported_parameters??void 0,distillable:e.distillable??void 0,zdr:e.zdr??void 0,hipaa:e.hipaa??void 0,discount:e.discount??void 0,region:e.region??void 0,order:e.order??void 0,active:"false"===e.active?void 0:"true",private:e.private??void 0,min_output_price:e.min_output_price??void 0,max_output_price:e.max_output_price??void 0,min_age_days:e.min_age_days??void 0,max_age_days:e.max_age_days??void 0,min_intelligence_index:e.min_intelligence_index??void 0,max_intelligence_index:e.max_intelligence_index??void 0,min_coding_index:e.min_coding_index??void 0,max_coding_index:e.max_coding_index??void 0,min_agentic_index:e.min_agentic_index??void 0,max_agentic_index:e.max_agentic_index??void 0,...l(t=>e[t]??void 0),min_tool_success_rate:e.min_tool_success_rate??void 0,max_tool_success_rate:e.max_tool_success_rate??void 0,min_throughput:e.min_throughput??void 0,max_throughput:e.max_throughput??void 0}}e.s(["O",0,C,"A",0,A,"r",0,N],892662);let M={history:"push",shallow:!0};e.s(["f",0,function(){let e,n,a,o=(0,t.c)(9),[l,s]=(0,i.i)(A,M),d=(0,r.useModelsPageScrollToStartOnPhone)();o[0]!==d||o[1]!==s?(e=(e,t)=>(d(),s(e,t)),o[0]=d,o[1]=s,o[2]=e):e=o[2];let c=e;o[3]!==l?(n=N(l),o[3]=l,o[4]=n):n=o[4];let u=n;return o[5]!==l||o[6]!==u||o[7]!==c?(a={query:l,searchParams:u,setSearchParams:c},o[5]=l,o[6]=u,o[7]=c,o[8]=a):a=o[8],a}],2763)},706911,e=>{"use strict";var t=e.i(579841);e.s(["f",0,function(e){return(0,t.l)(e)?e.context_length:null}])},761512,e=>{"use strict";var t=e.i(667417),i=e.i(207298);let r=(0,i.f)("",{variants:{modality:{[t.j.Text]:"bg-modality-text/12",[t.j.Image]:"bg-modality-image/12",[t.j.Audio]:"bg-modality-audio/12",[t.j.Video]:"bg-modality-video/12",[t.j.Embeddings]:"bg-modality-embeddings/12",[t.j.Rerank]:"bg-modality-rerank/12",[t.j.Decisions]:"bg-modality-rerank/12",[t.j.TTS]:"bg-modality-tts/12",[t.j.Transcription]:"bg-modality-transcription/12"}}}),n=(0,i.f)("",{variants:{modality:{[t.j.Text]:"border-modality-text",[t.j.Image]:"border-modality-image",[t.j.Audio]:"border-modality-audio",[t.j.Video]:"border-modality-video",[t.j.Embeddings]:"border-modality-embeddings",[t.j.Rerank]:"border-modality-rerank",[t.j.Decisions]:"border-modality-rerank",[t.j.TTS]:"border-modality-tts",[t.j.Transcription]:"border-modality-transcription"}}}),a=(0,i.f)("",{variants:{modality:{[t.j.Text]:"",[t.j.Image]:"",[t.j.Audio]:"",[t.j.Video]:"",[t.j.Embeddings]:"",[t.j.Rerank]:"",[t.j.Decisions]:"",[t.j.TTS]:"",[t.j.Transcription]:""},isActive:{true:"",false:""}},compoundVariants:[{modality:t.j.Text,isActive:!0,class:"text-modality-text"},{modality:t.j.Image,isActive:!0,class:"text-modality-image"},{modality:t.j.Audio,isActive:!0,class:"text-modality-audio"},{modality:t.j.Video,isActive:!0,class:"text-modality-video"},{modality:t.j.Embeddings,isActive:!0,class:"text-modality-embeddings"},{modality:t.j.Rerank,isActive:!0,class:"text-modality-rerank"},{modality:t.j.Decisions,isActive:!0,class:"text-modality-rerank"},{modality:t.j.TTS,isActive:!0,class:"text-modality-tts"},{modality:t.j.Transcription,isActive:!0,class:"text-modality-transcription"},{modality:t.j.Text,isActive:!1,class:"group-hover:text-modality-text"},{modality:t.j.Image,isActive:!1,class:"group-hover:text-modality-image"},{modality:t.j.Audio,isActive:!1,class:"group-hover:text-modality-audio"},{modality:t.j.Video,isActive:!1,class:"group-hover:text-modality-video"},{modality:t.j.Embeddings,isActive:!1,class:"group-hover:text-modality-embeddings"},{modality:t.j.Rerank,isActive:!1,class:"group-hover:text-modality-rerank"},{modality:t.j.Decisions,isActive:!1,class:"group-hover:text-modality-rerank"},{modality:t.j.TTS,isActive:!1,class:"group-hover:text-modality-tts"},{modality:t.j.Transcription,isActive:!1,class:"group-hover:text-modality-transcription"}],defaultVariants:{isActive:!0}});e.s(["p",0,r,"i",0,n,"W",0,a])},779060,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(136562),n=e.i(18728),a=e.i(803979);e.s(["MobileActionBar",0,function(e){var o,l;let s,d,c,u,m,f,h=(0,i.c)(19),{children:p,hiddenFrom:v,isCompact:g,controlSize:b}=e,x=void 0===v?"md":v,y=void 0!==g&&g,_=void 0===b?"sm":b,w=(0,a.f)(),j="sm"===x?"sm:hidden":"md:hidden";if(!w)return null;let k=y?"gap-2 px-4 py-2 pb-[calc(0.5rem+env(safe-area-inset-bottom))]":"gap-3 p-4 pb-[calc(1rem+env(safe-area-inset-bottom))]";return h[0]!==j||h[1]!==k?(s=(0,r.f)("peer fixed inset-x-0 bottom-0 z-overlay mx-auto flex w-full border-border/50 border-t bg-background empty:hidden",k,j),h[0]=j,h[1]=k,h[2]=s):s=h[2],h[3]!==p||h[4]!==x||h[5]!==s?(d=(0,t.jsx)("div",{"data-mobile-action-bar":x,className:s,children:p}),h[3]=p,h[4]=x,h[5]=s,h[6]=d):d=h[6],h[7]!==_||h[8]!==j||h[9]!==y?(c=(0,r.f)("peer-empty:hidden",(o=y,l=_,o?"default"===l?"h-[calc(3.5rem+env(safe-area-inset-bottom))]":"h-[calc(3rem+env(safe-area-inset-bottom))]":"h-[calc(4.5rem+env(safe-area-inset-bottom))]"),j),h[7]=_,h[8]=j,h[9]=y,h[10]=c):c=h[10],h[11]!==c?(u=(0,t.jsx)("div",{"aria-hidden":!0,className:c}),h[11]=c,h[12]=u):u=h[12],h[13]!==d||h[14]!==u?(m=(0,t.jsxs)(t.Fragment,{children:[d,u]}),h[13]=d,h[14]=u,h[15]=m):m=h[15],h[16]!==w||h[17]!==m?(f=(0,n.createPortal)(m,w),h[16]=w,h[17]=m,h[18]=f):f=h[18],f}])},668883,e=>{"use strict";var t=e.i(659350),i=e.i(663456),r=e.i(215891),n=e.i(136562),a=e.i(139697),o=e.i(732571),l=e.i(16043);function s(){globalThis.scrollTo({top:0,behavior:"smooth"})}e.s(["ScrollToTopButton",0,function(e){let d,c,u,m,f=(0,i.c)(8),{threshold:h,className:p}=e,v=!function(e){let t,r,n,a,o,s=(0,i.c)(8),[d,c]=(0,l.useState)(!1);s[0]!==e?(t=()=>{c(globalThis.scrollY>e)},s[0]=e,s[1]=t):t=s[1];let u=t;return s[2]!==u?(r=()=>(globalThis.addEventListener("scroll",u),()=>globalThis.removeEventListener("scroll",u)),n=[u],s[2]=u,s[3]=r,s[4]=n):(r=s[3],n=s[4]),(0,l.useEffect)(r,n),s[5]!==u?(a=()=>{u()},o=[u],s[5]=u,s[6]=a,s[7]=o):(a=s[6],o=s[7]),(0,l.useEffect)(a,o),d}(void 0===h?400:h);return f[0]!==p?(d=(0,n.f)("hidden md:flex",p),f[0]=p,f[1]=d):d=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(r.f,{className:"size-5"}),f[2]=c):c=f[2],f[3]!==d?(u=(0,t.jsx)(a.Button,{shape:"pill",variant:"outline",className:d,size:"icon",onClick:s,children:c}),f[3]=d,f[4]=u):u=f[4],f[5]!==v||f[6]!==u?(m=(0,t.jsx)(o.f,{className:"fixed bottom-16 right-16 ease-smooth-out",inClassName:"slide-in-from-bottom-(length:--distance-base) duration-fast",outClassName:"slide-out-to-bottom-(length:--distance-base) duration-quick",hidden:v,children:u}),f[5]=v,f[6]=u,f[7]=m):m=f[7],m}],668883)},803979,e=>{"use strict";var t=e.i(663456),i=e.i(199630);e.s(["f",0,function(){let e,r=(0,t.c)(2),n=(0,i.f)();return r[0]!==n?(e=n?document.querySelector("#portal-container")??document.body:null,r[0]=n,r[1]=e):e=r[1],e}])}]); //# sourceMappingURL=1-t-pqotu0zzx.js.map