!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a09e5b-4d72-78a1-a510-b6f3a6962f1a")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,183229,e=>{"use strict";let t=(0,e.i(202913).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Circle",0,t],183229)},693207,e=>{"use strict";let t=(0,e.i(202913).default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);e.s(["default",0,t])},718723,e=>{"use strict";var t=e.i(693207);e.s(["Layers3",()=>t.default])},306390,e=>{"use strict";let t=(0,e.i(202913).default)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]);e.s(["ListChecks",0,t],306390)},674569,e=>{"use strict";let t=(0,e.i(202913).default)("rows-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);e.s(["Rows3",0,t],674569)},351435,983330,e=>{"use strict";let t=(0,e.i(202913).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Target",0,t],351435);var r=e.i(222666),n=e.i(505962),a=e.i(500394);e.i(270401);var i=e.i(256608),l=e.i(332626);e.s(["BenchmarkSectionNav",0,function(e){let t,s,o=(0,n.c)(8),{dataSections:c,staticSections:u,hasData:d,children:m}=e;o[0]!==c||o[1]!==d||o[2]!==u?(t=d?[...c,...u]:u,o[0]=c,o[1]=d,o[2]=u,o[3]=t):t=o[3];let p=t,f=(0,i.useStickyBannerTopOffset)(),h=l.BENCHMARK_SCROLL_SPY_ACTIVATION_LINE_PX+f;return o[4]!==m||o[5]!==p||o[6]!==h?(s=(0,r.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-[200px_1fr] gap-6",children:(0,r.jsx)(a.SectionNav,{sections:p,ariaLabel:"Benchmark page sections",desktopNavTopClass:l.BENCHMARK_DESKTOP_NAV_STICKY_TOP_CLASS,mobileTocTopClass:l.BENCHMARK_MOBILE_TOC_STICKY_TOP_CLASS,activationLinePx:h,children:m})}),o[4]=m,o[5]=p,o[6]=h,o[7]=s):s=o[7],s}],983330)},695942,699458,e=>{"use strict";e.s(["Scatter",()=>el,"computeScatterPoints",()=>et],695942);var t=e.i(270401),r=e.i(470733),n=e.i(989419),a=e.i(853862),i=e.i(153893),l=e.i(603195),s=t,o=e.i(441662),c=e.i(557059),u=e.i(824845);function d(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){var t=(0,c.useAppDispatch)();return(0,s.useEffect)(()=>(t((0,o.addZAxis)(e)),()=>{t((0,o.removeZAxis)(e))}),[e,t]),null}class p extends s.Component{render(){return s.createElement(m,{domain:this.props.domain,id:this.props.zAxisId,dataKey:this.props.dataKey,name:this.props.name,unit:this.props.unit,range:this.props.range,scale:this.props.scale,type:this.props.type,allowDuplicatedCategory:u.implicitZAxis.allowDuplicatedCategory,allowDataOverflow:u.implicitZAxis.allowDataOverflow,reversed:u.implicitZAxis.reversed,includeHidden:u.implicitZAxis.includeHidden})}}d(p,"displayName","ZAxis"),d(p,"defaultProps",{zAxisId:0,range:u.implicitZAxis.range,scale:u.implicitZAxis.scale,type:u.implicitZAxis.type}),e.s(["ZAxis",0,p],699458);var f=e.i(308061),h=e.i(249743),g=e.i(320012),x=e.i(160735),v=e.i(282545),y=e.i(211260),b=e.i(730062),w=["option","isActive"];function S(){return(S=Object.assign.bind()).apply(null,arguments)}function N(e){var{option:r,isActive:n}=e,a=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;na],(e,t)=>e.filter(e=>"scatter"===e.type).find(e=>e.id===t)),P=(0,T.createSelector)([(e,t,r,n,a,i,l)=>(0,j.selectChartDataWithIndexesIfNotInPanorama)(e,t,r,l),(e,t,r,n,a,i,l)=>(0,u.selectAxisWithScale)(e,"xAxis",t,l),(e,t,r,n,a,i,l)=>(0,u.selectTicksOfGraphicalItem)(e,"xAxis",t,l),(e,t,r,n,a,i,l)=>(0,u.selectAxisWithScale)(e,"yAxis",r,l),(e,t,r,n,a,i,l)=>(0,u.selectTicksOfGraphicalItem)(e,"yAxis",r,l),(e,t,r,n)=>(0,u.selectZAxisWithScale)(e,"zAxis",n,!1),L,(e,t,r,n,a,i)=>i],(e,t,r,n,a,i,l,s)=>{var o,{chartData:c,dataStartIndex:u,dataEndIndex:d}=e;if(null!=l&&null!=(o=(null==l?void 0:l.data)!=null&&l.data.length>0?l.data:null==c?void 0:c.slice(u,d+1))&&null!=t&&null!=n&&null!=r&&null!=a&&(null==r?void 0:r.length)!==0&&(null==a?void 0:a.length)!==0)return et({displayedData:o,xAxis:t,yAxis:n,zAxis:i,scatterSettings:l,xAxisTicks:r,yAxisTicks:a,cells:s})}),k=e.i(478880),M=e.i(414757),I=e.i(125259),O=e.i(935964),R=e.i(694384),D=e.i(437171),B=e.i(201742),H=e.i(852105),K=e.i(768462),$=e.i(409117),F=e.i(48378),z=["onMouseEnter","onClick","onMouseLeave"],U=["id"],V=["animationBegin","animationDuration","animationEasing","hide","isAnimationActive","legendType","lineJointType","lineType","shape","xAxisId","yAxisId","zAxisId"];function q(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n({x:e.cx,y:e.cy}));else if("fitting"===o){var{xmin:m,xmax:p,a:h,b:x}=(0,g.getLinearRegression)(i);r=[{x:m,y:h*m+x},{x:p,y:h*p+x}]}var v=W(W(W({},u),{},{fill:"none",stroke:u&&u.fill},d),{},{points:r});return a=t.isValidElement(s)?t.cloneElement(s,v):"function"==typeof s?s(v):t.createElement(f.Curve,G({},v,{type:c})),t.createElement(n.Layer,{className:"recharts-scatter-line",key:"recharts-scatter-line"},a)}function X(e){var{showLabels:r,points:n,children:i}=e,l=(0,F.useViewBox)(),s=(0,t.useMemo)(()=>null==n?void 0:n.map(e=>{var t={x:e.x,y:e.y,width:e.width,height:e.height};return W(W({},t),{},{value:void 0,payload:e.payload,viewBox:t,parentViewBox:l,fill:void 0})}),[l,n]);return t.createElement(a.CartesianLabelListContextProvider,{value:r?s:null},i)}function J(e){var{points:r,allOtherScatterProps:a}=e,{shape:i,activeShape:l,dataKey:s}=a,o=(0,c.useAppSelector)(M.selectActiveTooltipIndex),{onMouseEnter:u,onClick:d,onMouseLeave:m}=a,p=q(a,z),f=(0,E.useMouseEnterItemDispatch)(u,a.dataKey),h=(0,E.useMouseLeaveItemDispatch)(m),g=(0,E.useMouseClickItemDispatch)(d,a.dataKey);if(null==r)return null;var{id:x}=a,y=q(a,U),b=(0,K.svgPropertiesNoEvents)(y);return t.createElement(t.Fragment,null,t.createElement(Y,{points:r,props:y}),r.map((e,r)=>{var a=l&&o===String(r),c=a?l:i,u=W(W(W({key:"symbol-".concat(r)},b),e),{},{[O.DATA_ITEM_INDEX_ATTRIBUTE_NAME]:r,[O.DATA_ITEM_DATAKEY_ATTRIBUTE_NAME]:String(s)});return t.createElement(n.Layer,G({key:"symbol-".concat(null==e?void 0:e.cx,"-").concat(null==e?void 0:e.cy,"-").concat(null==e?void 0:e.size,"-").concat(r),className:"recharts-scatter-symbol"},(0,v.adaptEventsOfChild)(p,e,r),{onMouseEnter:f(e,r),onMouseLeave:h(e,r),onClick:g(e,r)}),t.createElement(N,G({option:c,isActive:a},u)))}))}function Q(e){var{previousPointsRef:r,props:i}=e,{points:l,isAnimationActive:s,animationBegin:o,animationDuration:c,animationEasing:u}=i,d=r.current,m=(0,R.useAnimationId)(i,"recharts-scatter-"),[p,f]=(0,t.useState)(!1),h=(0,t.useCallback)(()=>{f(!1)},[]),x=(0,t.useCallback)(()=>{f(!0)},[]),v=!p;return t.createElement(X,{showLabels:v,points:l},i.children,t.createElement($.JavascriptAnimate,{animationId:m,begin:o,duration:c,isActive:s,easing:u,onAnimationEnd:h,onAnimationStart:x,key:m},e=>{var a=1===e?l:null==l?void 0:l.map((t,r)=>{var n=d&&d[r];if(n){var a=(0,g.interpolateNumber)(n.cx,t.cx),i=(0,g.interpolateNumber)(n.cy,t.cy),l=(0,g.interpolateNumber)(n.size,t.size);return W(W({},t),{},{cx:a(e),cy:i(e),size:l(e)})}var s=(0,g.interpolateNumber)(0,t.size);return W(W({},t),{},{size:s(e)})});return e>0&&(r.current=a),t.createElement(n.Layer,null,t.createElement(J,{points:a,allOtherScatterProps:i,showLabels:v}))}),t.createElement(a.LabelListFromLabelProp,{label:i.label}))}function ee(e){var{dataKey:t,points:r,stroke:n,strokeWidth:a,fill:i,name:l,hide:s,tooltipType:o}=e;return{dataDefinedOnItem:null==r?void 0:r.map(e=>e.tooltipPayload),positions:null==r?void 0:r.map(e=>e.tooltipPosition),settings:{stroke:n,strokeWidth:a,fill:i,nameKey:void 0,dataKey:t,name:(0,x.getTooltipNameProp)(l,t),hide:s,type:o,color:i,unit:""}}}function et(e){var{displayedData:t,xAxis:r,yAxis:n,zAxis:a,scatterSettings:i,xAxisTicks:l,yAxisTicks:s,cells:o}=e,c=(0,g.isNullish)(r.dataKey)?i.dataKey:r.dataKey,u=(0,g.isNullish)(n.dataKey)?i.dataKey:n.dataKey,d=a&&a.dataKey,m=a?a.range:p.defaultProps.range,f=m&&m[0],h=r.scale.bandwidth?r.scale.bandwidth():0,v=n.scale.bandwidth?n.scale.bandwidth():0;return t.map((e,t)=>{var m=(0,x.getValueByDataKey)(e,c),p=(0,x.getValueByDataKey)(e,u),y=!(0,g.isNullish)(d)&&(0,x.getValueByDataKey)(e,d)||"-",b=[{name:(0,g.isNullish)(r.dataKey)?i.name:r.name||r.dataKey,unit:r.unit||"",value:m,payload:e,dataKey:c,type:i.tooltipType},{name:(0,g.isNullish)(n.dataKey)?i.name:n.name||n.dataKey,unit:n.unit||"",value:p,payload:e,dataKey:u,type:i.tooltipType}];"-"!==y&&b.push({name:a.name||a.dataKey,unit:a.unit||"",value:y,payload:e,dataKey:d,type:i.tooltipType});var w=(0,x.getCateCoordinateOfLine)({axis:r,ticks:l,bandSize:h,entry:e,index:t,dataKey:c}),S=(0,x.getCateCoordinateOfLine)({axis:n,ticks:s,bandSize:v,entry:e,index:t,dataKey:u}),N="-"!==y?a.scale(y):f,E=Math.sqrt(Math.max(N,0)/Math.PI);return W(W({},e),{},{cx:w,cy:S,x:w-E,y:S-E,width:2*E,height:2*E,size:N,node:{x:m,y:p,z:y},tooltipPayload:b,tooltipPosition:{x:w,y:S},payload:e},o&&o[t]&&o[t].props)})}var er=(e,t,r)=>({x:e.cx,y:e.cy,value:"x"===r?+e.node.x:+e.node.y,errorVal:(0,x.getValueByDataKey)(e,t)});function en(e){var{hide:a,points:i,className:l,needClip:s,xAxisId:o,yAxisId:c,id:u}=e,d=(0,t.useRef)(null);if(a)return null;var m=(0,r.clsx)("recharts-scatter",l);return t.createElement(n.Layer,{className:m,clipPath:s?"url(#clipPath-".concat(u,")"):null,id:u},s&&t.createElement("defs",null,t.createElement(A.GraphicalItemClipPath,{clipPathId:u,xAxisId:o,yAxisId:c})),t.createElement(C.SetErrorBarContext,{xAxisId:o,yAxisId:c,data:i,dataPointFormatter:er,errorBarOffset:0},t.createElement(n.Layer,{key:"recharts-scatter-symbols"},t.createElement(Q,{props:e,previousPointsRef:d}))))}var ea={xAxisId:0,yAxisId:0,zAxisId:0,legendType:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!l.Global.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"};function ei(e){var r=(0,D.resolveDefaultProps)(e,ea),{animationBegin:n,animationDuration:a,animationEasing:l,hide:s,isAnimationActive:o,legendType:u,lineJointType:d,lineType:m,shape:p,xAxisId:f,yAxisId:g,zAxisId:x}=r,v=q(r,V),{needClip:y}=(0,A.useNeedsClip)(f,g),b=(0,t.useMemo)(()=>(0,i.findAllByType)(e.children,h.Cell),[e.children]),w=(0,k.useIsPanorama)(),S=(0,c.useAppSelector)(t=>P(t,f,g,x,e.id,b,w));return null==y||null==S?null:t.createElement(t.Fragment,null,t.createElement(_.SetTooltipEntrySettings,{fn:ee,args:W(W({},e),{},{points:S})}),t.createElement(en,G({},v,{xAxisId:f,yAxisId:g,zAxisId:x,lineType:m,lineJointType:d,legendType:u,shape:p,hide:s,isAnimationActive:o,animationBegin:n,animationDuration:a,animationEasing:l,points:S,needClip:y})))}var el=t.memo(function(e){var r=(0,D.resolveDefaultProps)(e,ea),n=(0,k.useIsPanorama)();return t.createElement(B.RegisterGraphicalItemId,{id:r.id,type:"scatter"},e=>t.createElement(t.Fragment,null,t.createElement(I.SetLegendPayload,{legendPayload:(e=>{var{dataKey:t,name:r,fill:n,legendType:a,hide:i}=e;return[{inactive:i,dataKey:t,type:a,color:n,value:(0,x.getTooltipNameProp)(r,t),payload:e}]})(r)}),t.createElement(H.SetCartesianGraphicalItem,{type:"scatter",id:e,data:r.data,xAxisId:r.xAxisId,yAxisId:r.yAxisId,zAxisId:r.zAxisId,dataKey:r.dataKey,hide:r.hide,name:r.name,tooltipType:r.tooltipType,isPanorama:n}),t.createElement(ei,G({},r,{id:e}))))});el.displayName="Scatter"},217243,e=>{"use strict";var t=e.i(270401),r=e.i(952750),n=e.i(907579),a=["item"],i=(0,t.forwardRef)((e,i)=>t.createElement(n.CartesianChart,{chartName:"ScatterChart",defaultTooltipEventType:"item",validateTooltipEventTypes:a,tooltipPayloadSearcher:r.arrayTooltipSearcher,categoricalChartProps:e,ref:i}));e.s(["ScatterChart",0,i])},657691,e=>{"use strict";e.i(185473),e.s(["findBestValueModel",0,function(e){let t=Math.max(...e.map(e=>e.median.accuracy),0);return e.filter(e=>e.isParetoOptimal&&null!==e.median.avgCostPerTask&&e.median.accuracy>=t-.05).toSorted((e,t)=>(e.median.avgCostPerTask??1/0)-(t.median.avgCostPerTask??1/0))[0]??null}])},500394,256608,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473),a=e.i(682566),i=e.i(99074),l=e.i(270401),s=e.i(995958),o=e.i(135992);let c=new Set(["ArrowDown","ArrowUp","End","Home","PageDown","PageUp"," ","Spacebar"]);function u({id:e,target:t,precedingElements:r,behavior:n,settleMs:a}){(0,o.setProgrammaticScrollAnchor)(e);let i=(0,s.getPageScrollContainer)(),l="auto"===n||!d(t,i),p="auto"===n||!l,f="onscrollend"in window,h=null,g=null,x=!0,v=p,y=!1,b=p&&!l?m(t,i):0,w=(0,s.getPageScrollTop)(),S=new Map,N=new ResizeObserver(()=>{if(!x)return;let e=!1;for(let t of r){let r=S.get(t),n=t.getBoundingClientRect().height;S.set(t,n),void 0!==r&&r!==n&&(e=!0)}e&&(y=!0,t.scrollIntoView({behavior:"auto",block:"start"}),window.requestAnimationFrame(()=>{y=!1,b=m(t,i)}))}),E=()=>{x&&(x=!1,null!==h&&(window.clearTimeout(h),h=null),null!==g&&(window.clearTimeout(g),g=null),window.removeEventListener("scroll",C),window.removeEventListener("scrollend",A),window.removeEventListener("wheel",T),window.removeEventListener("touchmove",T),window.removeEventListener("keydown",j),document.removeEventListener("scrollend",A),i?.removeEventListener("scroll",C),i?.removeEventListener("scrollend",A),N.disconnect(),(0,o.releaseProgrammaticScrollIf)(e))},_=()=>{null===h&&(h=window.setTimeout(E,a))},C=()=>{if(!x)return;if(!p&&!f){if((0,s.getPageScrollTop)()===w)return;p=!0,_(),d(t,i)&&(v=!0,b=m(t,i))}let e=m(t,i),r=Math.abs(e-b)>24&&Math.abs(e)>Math.abs(b);v&&!y&&r&&E()},A=()=>{x&&(p=!0,v=!0,b=m(t,i),_())},T=()=>{E()},j=e=>{c.has(e.key)&&E()};for(let e of r)S.set(e,e.getBoundingClientRect().height),N.observe(e);return window.addEventListener("scroll",C,{passive:!0}),f&&(window.addEventListener("scrollend",A),document.addEventListener("scrollend",A),i?.addEventListener("scrollend",A)),window.addEventListener("wheel",T,{passive:!0}),window.addEventListener("touchmove",T,{passive:!0}),window.addEventListener("keydown",j),i?.addEventListener("scroll",C,{passive:!0}),p&&_(),l&&("smooth"===n&&(g=window.setTimeout(E,7500)),t.scrollIntoView({behavior:n,block:"start"}),"auto"===n&&(b=m(t,i))),p||window.requestAnimationFrame(()=>{x&&d(t,i)&&(p=!0,_())}),E}function d(e,t){return 1>=Math.abs(m(e,t))}function m(e,t){let r=e.getBoundingClientRect(),n=t?.isConnected&&(0,s.usesContainerScroll)(t)?t.getBoundingClientRect().top:0,a=r.top-n,i=Number.parseFloat(getComputedStyle(e).scrollMarginTop);return a-(Number.isNaN(i)?0:i)}var p=e.i(477328);function f(e){let n,a,i,s,o,c,u,d,m=(0,r.c)(19),{sections:p,activeAnchor:f,onClick:g}=e,x=(0,l.useRef)(null);m[0]===Symbol.for("react.memo_cache_sentinel")?(n=new Map,m[0]=n):n=m[0];let v=(0,l.useRef)(n),[y,b]=(0,l.useState)(null);m[1]!==f?(a=()=>{let e=v.current.get(f);if(!e)return;let t=()=>{b({top:e.offsetTop,height:e.offsetHeight})};t();let r=new ResizeObserver(t);return r.observe(e),x.current&&r.observe(x.current),()=>r.disconnect()},i=[f],m[1]=f,m[2]=a,m[3]=i):(a=m[2],i=m[3]),(0,l.useEffect)(a,i),m[4]===Symbol.for("react.memo_cache_sentinel")?(s=e=>t=>{t?v.current.set(e,t):v.current.delete(e)},m[4]=s):s=m[4];let w=s;if(m[5]!==y?(o=y&&(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-x-0 rounded-md bg-accent transition-[transform,height] duration-300 ease-out pointer-events-none",style:{height:y.height,transform:`translateY(${y.top}px)`}}),m[5]=y,m[6]=o):o=m[6],m[7]!==f||m[8]!==g||m[9]!==p){let e;m[11]!==f||m[12]!==g?(e=e=>(0,t.jsx)(h,{section:e,isActive:f===e.id,onClick:g,registerRef:w(e.id)},e.id),m[11]=f,m[12]=g,m[13]=e):e=m[13],c=p.map(e),m[7]=f,m[8]=g,m[9]=p,m[10]=c}else c=m[10];return m[14]!==c?(u=(0,t.jsx)("div",{className:"relative flex flex-col gap-y-px",children:c}),m[14]=c,m[15]=u):u=m[15],m[16]!==o||m[17]!==u?(d=(0,t.jsxs)("div",{ref:x,className:"relative",children:[o,u]}),m[16]=o,m[17]=u,m[18]=d):d=m[18],d}function h(e){let a,i,l,s,o,c=(0,r.c)(18),{section:u,isActive:d,onClick:m,registerRef:p}=e,f=u.icon,h=`#${u.id}`;c[0]!==m||c[1]!==u.id?(a=e=>m(e,u.id),c[0]=m,c[1]=u.id,c[2]=a):a=c[2];let g=d?"page":void 0,x=d?"text-accent-foreground":"text-muted-foreground hover:text-accent-foreground hover:bg-card-hover";c[3]!==x?(i=(0,n.cn)("relative flex items-center gap-2 px-2 py-1.5 rounded-md text-body font-medium cursor-pointer transition-colors no-underline",x),c[3]=x,c[4]=i):i=c[4];let v=!d&&u.iconClassName;return c[5]!==v?(l=(0,n.cn)("size-4",v),c[5]=v,c[6]=l):l=c[6],c[7]!==f||c[8]!==l?(s=(0,t.jsx)(f,{className:l}),c[7]=f,c[8]=l,c[9]=s):s=c[9],c[10]!==p||c[11]!==u.label||c[12]!==h||c[13]!==a||c[14]!==g||c[15]!==i||c[16]!==s?(o=(0,t.jsxs)("a",{ref:p,href:h,onClick:a,"aria-current":g,className:i,children:[s,u.label]}),c[10]=p,c[11]=u.label,c[12]=h,c[13]=a,c[14]=g,c[15]=i,c[16]=s,c[17]=o):o=c[17],o}function g(e){let t=[];for(let r of e){let e=document.getElementById(r.id);e&&e.getClientRects().length>0&&t.push({id:r.id,el:e})}return t}e.s(["SectionNav",0,function({sections:e,ariaLabel:r,desktopNavTopClass:c,mobileTocTopClass:d,activationLinePx:m,onSectionView:h,onSectionSelect:x,desktopNavFooter:v,mobileNavHeader:y,children:b}){let[w,S]=(0,l.useState)(e[0]?.id??""),N=(0,l.useRef)(e[0]?.id??""),E=(0,l.useRef)(null),_=(0,l.useRef)(null),C=(0,l.useRef)(null),A=(0,l.useRef)(!1),T=(0,l.useRef)(h),j=(0,l.useRef)(m),L=(0,l.useRef)(m);T.current=h,j.current=m;let P=(0,l.useCallback)(({shouldUpdateHash:t})=>{if(null!==(0,o.getProgrammaticScrollAnchor)())return;let r=g(e);if(0===r.length)return;let n=function(e,t){var r;let n,a=(r=t,n=(0,s.getPageScrollContainer)(),(0,s.usesContainerScroll)(n)?n.getBoundingClientRect().top+r:r),i=function(e,t){let r,n,a=(r=(0,s.getPageScrollContainer)(),(n=(0,s.usesContainerScroll)(r)?{scrollTop:r.scrollTop,scrollHeight:r.scrollHeight,clientHeight:r.clientHeight}:{scrollTop:window.scrollY,scrollHeight:document.documentElement.scrollHeight,clientHeight:window.innerHeight}).scrollHeight<=n.clientHeight?null:n);if(null===a)return null;let i=Math.max(0,a.scrollHeight-a.scrollTop-a.clientHeight),l=e.filter(({el:e})=>e.getBoundingClientRect().top-i>t).length;if(0===l||l>=e.length)return null;if(i<=2)return e.at(-1).id;if(i>=96*l)return null;let o=Math.ceil(i/96);return e[e.length-o].id}(e,a);if(null!==i)return i;let l=e[0].id;for(let{id:t,el:r}of e)if(r.getBoundingClientRect().top-a<=0)l=t;else break;return l}(r,j.current),a=N.current!==n;if(t&&(a||A.current)&&(A.current=!0,(0,p.syncUrlHash)(n)),a){if(t&&!(0,o.isHashPinned)()){let t=e.findIndex(e=>e.id===n),r=e[t];r&&T.current?.(r,t)}N.current=n,S(n)}},[e]);(0,l.useEffect)(()=>{L.current!==m&&(L.current=m,P({shouldUpdateHash:!1}))},[m,P]),(0,l.useLayoutEffect)(()=>{var t,r;let n,a,i,l,c,d,m=g(e);if(m.length>0&&!A.current){let e=window.location.hash.slice(1);(""===e||m.some(t=>t.id===e))&&(A.current=!0,E.current=function({elements:e,activeAnchorRef:t,setActiveAnchor:r}){let n=window.location.hash.slice(1);if(!n)return;let a=e.find(e=>e.id===n);if(!a)return;t.current=a.id,r(a.id);let i=e.findIndex(e=>e.id===a.id);return u({id:a.id,target:a.el,precedingElements:e.slice(0,i).map(e=>e.el),behavior:"auto",settleMs:3e3})}({elements:m,activeAnchorRef:N,setActiveAnchor:S})??null)}P({shouldUpdateHash:!1});let f=()=>P({shouldUpdateHash:!0}),h=(t=f,n=null,a=(0,s.getPageScrollContainer)(),i=()=>{null===n&&(n=window.requestAnimationFrame(()=>{n=null,t()}))},window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i,{passive:!0}),a?.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i),a?.removeEventListener("scroll",i),null!==n&&window.cancelAnimationFrame(n)}),x=(0,o.subscribeToRecalcRequest)(f),v=(r=p.clearUrlHashAtTop,l=null,c=(0,s.getPageScrollContainer)(),d=()=>{null!==l&&window.clearTimeout(l),l=window.setTimeout(()=>{l=null,r()},120)},window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),c?.addEventListener("scroll",d,{passive:!0}),()=>{null!==l&&window.clearTimeout(l),window.removeEventListener("scroll",d),window.removeEventListener("resize",d),c?.removeEventListener("scroll",d)});return()=>{E.current?.(),E.current=null,null!==C.current&&(window.clearTimeout(C.current),C.current=null);let e=_.current;e&&(0,o.releaseProgrammaticScrollIf)(e.id),_.current=null,h(),x(),v()}},[e]);let k=(0,l.useCallback)((t,r)=>{E.current?.();let n=g(e),a=n.findIndex(e=>e.id===t);E.current=u({id:t,target:r,precedingElements:-1===a?[]:n.slice(0,a).map(e=>e.el),behavior:"smooth",settleMs:2500})},[e]),M=(0,l.useCallback)((e,t=!0)=>{let r=document.querySelector(`#${e}`);return r?(E.current?.(),E.current=null,(0,o.setProgrammaticScrollAnchor)(e),A.current=!0,N.current=e,S(e),(0,p.updateUrlHash)(e),x?.(e),t&&k(e,r),r):null},[x,k]),I=e.find(e=>e.id===w)??e[0],O=e.filter(e=>!e.mobileOnly);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("aside",{className:"hidden lg:block",children:(0,t.jsxs)("nav",{"aria-label":r,className:(0,n.cn)("sticky flex flex-col gap-y-px",c),children:[(0,t.jsx)(f,{sections:O,activeAnchor:w,onClick:(e,t)=>{e.preventDefault(),M(t)}}),v]})}),(0,t.jsxs)("div",{className:"min-w-0",children:[y&&(0,t.jsx)("div",{className:"lg:hidden mb-2",children:y}),I&&(0,t.jsx)("div",{className:(0,n.cn)("lg:hidden -mx-4 px-4 sticky z-30 bg-background py-2 mb-6",d),children:(0,t.jsxs)(a.DropdownMenu,{onOpenChangeComplete:e=>{if(e)return;let t=_.current;t&&(e=>{let t=_.current;if(!t||t.id!==e)return;_.current=null,null!==C.current&&(window.clearTimeout(C.current),C.current=null);let r=document.querySelector(`#${e}`);r?k(e,r):(0,o.releaseProgrammaticScrollIf)(e)})(t.id)},children:[(0,t.jsxs)(a.DropdownMenuTrigger,{className:"flex items-center justify-between gap-2 w-full min-h-11 px-3 py-2.5 rounded-md bg-muted text-overline cursor-pointer outline-none",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2 min-w-0",children:[(0,t.jsx)(I.icon,{className:(0,n.cn)("w-4 h-4 shrink-0",I.iconClassName)}),(0,t.jsx)("span",{className:"font-medium text-foreground truncate",children:I.label})]}),(0,t.jsx)(i.ChevronDown,{className:"w-4 h-4 text-faint shrink-0"})]}),(0,t.jsx)(a.DropdownMenuContent,{align:"start",className:"w-[var(--anchor-width)]",children:e.map(e=>(0,t.jsxs)(a.DropdownMenuItem,{onClick:()=>{var t;M(e.id,!1)&&(t=e.id,null!==C.current&&window.clearTimeout(C.current),_.current={id:t},C.current=window.setTimeout(()=>{C.current=null;let e=_.current;if(!e||e.id!==t)return;_.current=null;let r=document.querySelector(`#${t}`);r?k(t,r):(0,o.releaseProgrammaticScrollIf)(t)},2e3))},className:(0,n.cn)("text-overline cursor-pointer gap-2 py-2.5",w===e.id&&"bg-accent text-accent-foreground"),children:[(0,t.jsx)(e.icon,{className:(0,n.cn)("w-4 h-4",w!==e.id&&e.iconClassName)}),e.label]},e.id))})]})}),b]})]})}],500394);var x=e.i(323866);function v(e){return e()}function y(){}function b(){return 0}e.s(["useStickyBannerTopOffset",0,function(){let e,t,n=(0,r.c)(3),a=(0,l.useRef)(null);if(null===a.current){let e;n[0]===Symbol.for("react.memo_cache_sentinel")?(e={value:0,listeners:new Set},n[0]=e):e=n[0],a.current=e}n[1]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{let t=a.current;if(!t)return y;t.listeners.add(e);let r=document.querySelector(`#${x.MAINTENANCE_BANNER_PORTAL_ID}`),n=document.querySelector("#page-content");if(!r||!n)return()=>t.listeners.delete(e);let i=()=>{let e=Number.parseFloat(getComputedStyle(n).getPropertyValue("--sticky-banner-top")),r=Number.isFinite(e)?e:0;r!==t.value&&(t.value=r,t.listeners.forEach(v))};i();let l="u"{l?.disconnect(),s?.disconnect(),t.listeners.delete(e)}},n[1]=e):e=n[1];let i=e;n[2]===Symbol.for("react.memo_cache_sentinel")?(t=()=>a.current?.value??0,n[2]=t):t=n[2];let s=t;return(0,l.useSyncExternalStore)(i,s,b)}],256608)},995958,e=>{"use strict";function t(){return document.querySelector("#page-content")}function r(e){return null!==e&&"auto"===getComputedStyle(e).overflowY}e.s(["getPageScrollContainer",0,t,"getPageScrollTop",0,function(){let e=t();return r(e)?e.scrollTop:window.scrollY},"scrollPageToTop",0,function(){let e=t();r(e)?e.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"})},"usesContainerScroll",0,r])},135992,e=>{"use strict";var t=e.i(586404);function r(){let e=globalThis.__openrouterSectionNavScrollLock;if((0,t.isDefinedAndNotNull)(e))return e.hashPinCount??=0,e.recalcListeners??=new Set,e;let r={anchor:null,hashPinCount:0,recalcListeners:new Set};return globalThis.__openrouterSectionNavScrollLock=r,r}e.s(["getProgrammaticScrollAnchor",0,function(){return r().anchor},"isHashPinned",0,function(){return r().hashPinCount>0},"pinHash",0,function(){r().hashPinCount+=1},"releaseProgrammaticScrollIf",0,function(e){let t=r();t.anchor===e&&(t.anchor=null)},"requestSectionNavRecalc",0,function(){for(let e of r().recalcListeners)e()},"setProgrammaticScrollAnchor",0,function(e){r().anchor=e},"subscribeToRecalcRequest",0,function(e){let t=r().recalcListeners;return t.add(e),()=>{t.delete(e)}},"unpinHash",0,function(){let e=r();e.hashPinCount=Math.max(0,e.hashPinCount-1)}])},477328,e=>{"use strict";var t=e.i(995958),r=e.i(135992);function n(e){let t=`#${e}`;if(window.location.hash===t)return;let r=new URL(window.location.href);r.hash=e,window.history.replaceState(null,"",r)}e.s(["clearUrlHashAtTop",0,function(){(0,r.isHashPinned)()||(0,t.getPageScrollTop)()>2||function(){if(""===window.location.hash)return;let{pathname:e,search:t}=window.location;window.history.replaceState(null,"",`${e}${t}`)}()},"syncUrlHash",0,function(e){(0,r.isHashPinned)()||2>=(0,t.getPageScrollTop)()||n(e)},"updateUrlHash",0,n])},74177,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(398449),a=e.i(583801),i=e.i(332626);e.s(["BenchmarkScrolledNav",0,function(e){let l,s=(0,r.c)(3),{title:o}=e,c=(0,a.useNavbarTopOffset)(),u=Math.round(.8*i.NAVBAR_HEIGHT_PX)+c;return s[0]!==u||s[1]!==o?(l=(0,t.jsx)(n.ScrolledNavBar,{titleRowId:i.BENCHMARK_TITLE_ROW_ID,topClass:i.BENCHMARK_SCROLLED_NAV_TOP_CLASS,dataAttribute:"data-benchmark-scrolled-nav",revealOffsetPx:u,containerClassName:"mx-auto max-w-7xl px-6",title:o,actions:null}),s[0]=u,s[1]=o,s[2]=l):l=s[2],l}])},486977,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(759024);e.s(["BenchmarkTerm",0,function(e){let a,i,l,s=(0,r.c)(7),{children:o,explanation:c}=e;return s[0]!==o?(a=(0,t.jsx)("span",{children:o}),s[0]=o,s[1]=a):a=s[1],s[2]!==c?(i=(0,t.jsx)(n.InfoTooltip,{className:"shrink-0",children:c}),s[2]=c,s[3]=i):i=s[3],s[4]!==a||s[5]!==i?(l=(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[a,i]}),s[4]=a,s[5]=i,s[6]=l):l=s[6],l}])},332626,e=>{"use strict";e.s(["BENCHMARK_DESKTOP_NAV_STICKY_TOP_CLASS",0,"top-[calc(126px+var(--sticky-banner-top,0px))]","BENCHMARK_MOBILE_TOC_STICKY_TOP_CLASS",0,"top-[calc(100px+var(--sticky-banner-top,0px))]","BENCHMARK_SCROLLED_NAV_TOP_CLASS",0,"top-[calc(56px+var(--navbar-top,0px))]","BENCHMARK_SCROLL_SPY_ACTIVATION_LINE_PX",0,185,"BENCHMARK_SECTION_SCROLL_MT_CLASS",0,"scroll-mt-[calc(185px+var(--sticky-banner-top,0px))] lg:scroll-mt-[calc(126px+var(--sticky-banner-top,0px))]","BENCHMARK_TITLE_ROW_ID",0,"benchmark-title-row","NAVBAR_HEIGHT_PX",0,56])},714170,e=>{"use strict";var t=e.i(230953),r=e.i(44221),n=e.i(370066),a=e.i(61291),i=e.i(190557);let l=/^(?\d{4}-\d{2}-\d{2})(?:[T ](?