1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1fed52e1-588c-4a44-a97d-8e84cd1bc2da",e._sentryDebugIdIdentifier="sentry-dbid-1fed52e1-588c-4a44-a97d-8e84cd1bc2da")}()}catch(e){}!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var a=1;a<arguments.length;a++){var l=arguments[a];if(null!=l)for(var s in l)l.hasOwnProperty(s)&&(e[s]=l[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:mercor-site":!0})}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5960],{7335:(e,a,l)=>{l.d(a,{L:()=>o});var s=l(60072),r=l(85785),t=l(17698),n=l.n(t),i=l(38291),d=l(14375);let o=e=>{var a,l,t,o;let{selectedBenchmark:c,onBenchmarkChange:m,readyBenchmarks:x,getBenchmarkHref:u}=e,p=x&&x.length>0?x:Object.values(i.xx).filter(e=>e.isReady).map(e=>({id:e.id,displayName:e.displayName,leaderboardKey:e.leaderboardKey}));return(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"sr-only mb-2 block text-sm font-medium text-gray-700",children:"Benchmark"}),(0,s.jsxs)(d.rI,{modal:!1,children:[(0,s.jsxs)(d.ty,{className:"flex w-fit items-center justify-between gap-2 rounded-md bg-white px-6 py-2 text-sm hover:bg-gray-50",children:[(0,s.jsx)("span",{className:"text-gray-900",children:null!=(o=null!=(t=null==(a=p.find(e=>e.id===c))?void 0:a.displayName)?t:null==(l=i.xx[c])?void 0:l.displayName)?o:"Select Benchmark"}),(0,s.jsx)(r.A,{className:"h-4 w-4 text-gray-500"})]}),(0,s.jsx)(d.SQ,{forceMount:!0,align:"start",className:"w-[200px]",children:p.map(e=>{let a=e.id,l=null==u?void 0:u(a);return l?(0,s.jsx)(d._2,{asChild:!0,className:"hover:bg-indigo-50 focus:bg-indigo-50",children:(0,s.jsx)(n(),{href:l,scroll:!1,children:e.displayName})},e.id):(0,s.jsx)(d._2,{onClick:()=>m(a),className:"hover:bg-indigo-50 focus:bg-indigo-50",children:e.displayName},e.id)})})]})]})}},15960:(e,a,l)=>{l.d(a,{A:()=>H});var s=l(60072),r=l(93569),t=l(17698),n=l.n(t),i=l(10983),d=l(60004),o=l(35598);function c(e){let{className:a,...l}=e;return(0,s.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-muted",a),...l})}let m=["w-full","w-11/12","w-full","w-4/5"],x=e=>{let{lines:a=4,className:l}=e;return(0,s.jsxs)("div",{className:(0,r.cn)("w-full max-w-xl space-y-4",l),"aria-hidden":"true",children:[(0,s.jsx)(c,{className:"h-6 w-1/3"}),(0,s.jsx)("div",{className:"space-y-2.5",children:Array.from({length:a}).map((e,l)=>(0,s.jsx)(c,{className:(0,r.cn)("h-4",((e,a)=>e===a-1?"w-2/3":m[e%m.length])(l,a))},l))})]})};var u=l(25078),p=l(41731),h=l(38291),f=l(9643);let g=(e,a)=>{let l=e.trim().toLowerCase(),s=a.trim().toLowerCase();return l<s?-1:l>s?1:e<a?-1:+(e>a)};var y=l(70892);async function v(e){let a=await fetch("/api/apex/trajectory/?id=".concat(encodeURIComponent(e)));if(!a.ok)throw Error("Failed to load trajectory (".concat(a.status,")"));return a.json()}var b=l(90405),j=l(91973),N=l(43503),w=l(53656),k=l(13585),_=l(7335),A=l(59684),T=l(44438),D=l(37966),S=l(44494),M=l(96569),E=l(85785);let C=e=>{let{phase:a,isFirst:l,isLast:t,defaultOpen:n}=e;return(0,s.jsxs)("div",{className:"relative flex",children:[(0,s.jsxs)("div",{className:"relative mr-2 flex flex-col items-center",style:{width:"20px"},children:[!l&&(0,s.jsx)("div",{className:"absolute left-1/2 top-0 h-[40px] w-px -translate-x-1/2 bg-gray-200"}),(0,s.jsx)("div",{className:"absolute left-1/2 top-[40px] z-10 h-3 w-3 -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-600 bg-white"}),(0,s.jsx)("div",{className:"absolute left-[calc(50%+6px)] top-[40px] h-px w-[calc(50%-6px+8px)] -translate-y-1/2 bg-gray-200"}),!t&&(0,s.jsx)("div",{className:"absolute left-1/2 top-[40px] h-[calc(100%-40px)] w-px -translate-x-1/2 bg-gray-200"})]}),(0,s.jsxs)("details",{className:(0,r.cn)("group flex-1",!t&&"mb-5"),name:"timeline-accordion",open:n,children:[(0,s.jsxs)("summary",{className:"flex cursor-pointer list-none items-center justify-between rounded-lg border border-gray-200 bg-white p-4 shadow-[0_3px_0_0_rgba(243,244,246,0.8),0_4px_0_0_rgba(209,213,219,0.5)] transition-all hover:border-gray-300 focus-visible:border-gray-300 group-open:shadow-none [&::-webkit-details-marker]:hidden",children:[(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"font-medium text-foreground",children:a.title}),(0,s.jsx)("p",{className:"mt-0.5 text-sm text-foreground",children:a.subtitle})]}),(0,s.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,s.jsx)("span",{className:"text-sm text-gray-500",children:"Episodes"}),(0,s.jsx)("span",{className:"text-4xl font-thin text-gray-500",children:a.episodeRange}),(0,s.jsx)(E.A,{className:"h-5 w-5 self-center text-gray-600 transition-transform duration-200 group-open:rotate-180"})]})]}),(0,s.jsxs)("article",{className:"relative z-[-1] -mt-2 rounded-b-lg border border-gray-200 bg-gray-50 p-4",children:[a.details.analysis&&(0,s.jsxs)("div",{className:"flex gap-4 pt-2",children:[(0,s.jsx)("span",{className:"w-24 shrink-0 text-sm font-medium text-gray-700",children:"Analysis"}),(0,s.jsx)("p",{className:"text-sm text-gray-700",children:a.details.analysis})]}),a.details.plan&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("hr",{className:"-mx-4 my-4 border-gray-100"}),(0,s.jsxs)("div",{className:"flex gap-4",children:[(0,s.jsx)("span",{className:"w-24 shrink-0 text-sm font-medium text-gray-700",children:"Plan"}),(0,s.jsx)("p",{className:"text-sm text-gray-700",children:a.details.plan})]})]}),a.details.commands&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("hr",{className:"-mx-4 my-4 border-gray-100"}),(0,s.jsxs)("div",{className:"flex gap-4 pb-2",children:[(0,s.jsx)("span",{className:"w-24 shrink-0 text-sm font-medium text-gray-700",children:"Commands"}),(0,s.jsx)("p",{className:"text-sm text-gray-700",children:a.details.commands})]})]})]})]})]})},I=e=>{let{timelineData:a}=e;return a?(0,s.jsxs)("div",{className:"mt-6",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-4 text-sm font-normal text-gray-500",children:[(0,s.jsxs)("span",{children:["Duration: ",a.duration]}),(0,s.jsx)("span",{children:"|"}),(0,s.jsxs)("span",{children:["Total number of steps: ",a.totalSteps]})]}),a.phases.map((e,l)=>(0,s.jsx)(C,{phase:e,isFirst:0===l,isLast:l===a.phases.length-1,defaultOpen:0===l},"".concat(e.title,"-").concat(l)))]}):(0,s.jsx)("div",{className:"mt-6 rounded-lg border border-gray-200 bg-gray-50 p-8 text-center",children:(0,s.jsx)("p",{className:"text-gray-500",children:"No timeline data available for this model."})})};var R=l(6170),L=l(28677),P=l(86466),K=l(52177),q=l(80209);let B=()=>(0,s.jsx)("div",{className:"mt-6 w-full max-w-xl space-y-4 rounded-md",children:(0,s.jsx)(x,{lines:30})}),F=e=>{let{isApexSwe:a,isLoading:l,trajectory:r,trajectoryDiff:t,timeline:n}=e;return l?(0,s.jsx)(B,{}):!r&&(n||a)?(0,s.jsx)(I,{timelineData:n}):(0,s.jsx)(q.A,{diffData:t,trajectoryData:r})},H=e=>{var a,t,c,m,x,E,C,I,q,B,H,O,z,U,W,Q,X,Y,G;let{passes:J,domain:V,benchmarkKind:$,availableTabs:Z,harnessOptions:ee,leaderboardData:ea,leaderboardDict:el,availableDomains:es,readyBenchmarks:er,sampleTaskPage:et,breadcrumbs:en,resolvedSeoTitle:ei,initialPass:ed,initialHarness:eo}=e,ec=ea||[],em=(0,b.JM)({availablePasses:J}),ex=(0,b.W8)(ee),eu=(0,i.useRouter)(),{asPath:ep}
1=eu,eh="string"==typeof eu.query.pass?eu.query.pass:void 0,ef="string"==typeof eu.query.harness?eu.query.harness:void 0,eg=(0,d.useMemo)(()=>eh&&(null==J?void 0:J.some(e=>e.value===eh))?eh:null!=ed?ed:em,[eh,J,ed,em]),ey=(0,d.useMemo)(()=>{if(ee&&!(ee.length<=1))return ef&&ee.some(e=>e.value===ef)?ef:null!=eo?eo:ex},[ef,ee,eo,ex]),[ev,eb]=(0,d.useState)(""),ej=!!h.Uz[V.leaderboard],eN=h.Uz[V.leaderboard]||"apex-v1",ew=eN===h.xx["apex-swe"].id,ek=eN===h.xx["apex-agents"].id,e_="mercor-apex"===$?void 0:$,eA=null!=et?et:!!e_,eT=eA?Z:void 0,eD=!eT||eT.length>0,eS=ek?"This sample task is provided for illustration only. The scores may not reflect an agent's overall performance on the leaderboard.":eA?"This sample task is provided for illustration only. The scores may not reflect a model's overall performance on this benchmark.":"This sample task is provided for illustration only. The scores may not reflect a model's overall performance within this domain. Domain scores represent the average across 100 held-out prompts. Sample tasks are passed to models with relevant source documents.",eM=(0,d.useMemo)(()=>{if(eg){var e,a;let l=null==(e=V.chartAxisRanges)?void 0:e.find(e=>e.pass===eg);if(l)return{min:l.min,max:l.max};let s=null==(a=V.benchmarkChartAxisRanges)?void 0:a.find(e=>e.pass===eg);if(s)return{min:s.min,max:s.max}}return V.xAxisRange?{min:V.xAxisRange.min,max:V.xAxisRange.max}:ek?{min:0,max:40}:e_?void 0:{min:40,max:80}},[ek,e_,eg,V]),[eE,eC]=(0,d.useState)("task"),eI=!eT||eT.some(e=>e===eE)?eE:eT.length>0?eT[0]:"task",eR=ec.find(e=>e.model_name===ev),{data:eL,isInitialLoading:eP}=function(e){return(0,y.I)({queryKey:["apexTrajectory",e],queryFn:()=>v(e),enabled:!!e,staleTime:1/0})}("trajectory"===eI&&null!=(B=null==eR?void 0:eR.trajectory_ref_id)?B:void 0),eK=null!=(O=null!=(H=null==eL?void 0:eL.trajectory)?H:null==eR?void 0:eR.trajectory)?O:null,eq=null!=(U=null!=(z=null==eL?void 0:eL.trajectory_diff)?z:null==eR?void 0:eR.trajectory_diff)?U:null,eB="trajectory"===eI&&!eP&&!eK,eF=function(e){let[a,s]=(0,d.useState)(null);return(0,d.useEffect)(()=>{if(!e||a)return;let r=!1;return l.e(4858).then(l.bind(l,54858)).then(e=>{r||s(e)}),()=>{r=!0}},[e,a]),a}(eB),eH=eB&&!eF,eO=null!=(W=null!=eK?eK:null==eF||null==(a=eF.APEX_AGENTS_TRAJECTORY_DATA[ev])?void 0:a[V.slug])?W:null,ez=null!=(Q=null!=eq?eq:null==eF||null==(t=eF.APEX_AGENTS_DIFF_DATA[ev])?void 0:t[V.slug])?Q:null,eU=null!=(Y=null!=(X=null==eR?void 0:eR.timeline)?X:null==eF||null==(c=eF.APEX_SWE_TIMELINE_DATA[ev])?void 0:c[V.slug])?Y:null,eW=(0,d.useMemo)(()=>[...null!=es?es:f.si.filter(e=>e.leaderboard===V.leaderboard)].sort((e,a)=>g(e.title,a.title)),[V.leaderboard,es]),eQ=(0,d.useMemo)(()=>ec.map(e=>(0,N._K)(e.overall_score,eg,ey)).some(e=>null!=e),[ec,eg,ey]),eX=(0,d.useCallback)(e=>(function(e,a){var l;let s=null==a?void 0:a.find(a=>a.id===e),r=null!=(l=null==s?void 0:s.leaderboardKey)?l:h.q2[e],t="/apex/".concat(r,"/"),n=h.xx[e];if(!(null==n?void 0:n.hasDomainPages))return(null==n?void 0:n.sampleTaskPath)&&(null==s?void 0:s.firstDomainHasScores)?"".concat(n.sampleTaskPath,"/"):t;if(null==s?void 0:s.firstDomainSlug)return"/apex/".concat(r,"/").concat(s.firstDomainSlug,"/");let i=f.si.filter(e=>e.leaderboard===r).sort((e,a)=>g(e.title,a.title))[0];return i?"/apex/".concat(r,"/").concat(i.slug,"/"):t})(e,er),[er]),eY=(0,d.useCallback)(e=>{var a,l;let s=null!=(l=null==er||null==(a=er.find(a=>a.id===e))?void 0:a.leaderboardKey)?l:h.q2[e];return"/apex/".concat(s,"/")},[er]),eG=(0,d.useMemo)(()=>{let e=new URLSearchParams;for(let a of Object.keys(eu.query)){if("slug"===a||"pass"===a||"harness"===a)continue;let l=eu.query[a];"string"==typeof l&&l?e.set(a,l):Array.isArray(l)&&l[0]&&e.set(a,l[0])}let a=e.toString();return a?"?".concat(a):""},[eu.query]),eJ=(0,d.useCallback)(e=>{if("apex-v1-leaderboard"===V.leaderboard){let a="/apex/".concat(V.leaderboard,"/").concat(V.slug,"/");return"mean-score"===e?"".concat(a).concat(eG):"".concat(a).concat(e,"/").concat(eG)}return(0,j.Y)(ep,{pass:e,harness:ey})},[V.leaderboard,V.slug,eG,ep,ey]),eV=(0,d.useCallback)(e=>(0,j.Y)(ep,{pass:eg,harness:e}),[ep,eg]),e$=(0,d.useMemo)(()=>er&&er.length>0?er:Object.values(h.xx).filter(e=>e.isReady).map(e=>({id:e.id,displayName:e.displayName,leaderboardKey:e.leaderboardKey})),[er]),eZ=(0,p.j6)(V.leaderboard,V.benchmarkDisplayName);(0,d.useEffect)(()=>{let e=()=>{let e=null!=ei?ei:(0,p.NQ)(V),a=e.replace(/ \| Mercor$/,""),l="sample-task"===window.location.hash.replace(/^#/,"");document.title=l&&!a.endsWith("Sample task")?"".concat(a," â Sample task | Mercor"):e};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[V,ei]),(0,d.useEffect)(()=>{var e,a;let l=null==ea?void 0:ea.filter(e=>void 0!==(0,N._K)(e.overall_score,eg,ey)),s=null==l||null==(e=l.toSorted((e,a)=>{var l,s;let r=null!=(l=(0,N._K)(e.overall_score,eg,ey))?l:0;return(null!=(s=(0,N._K)(a.overall_score,eg,ey))?s:0)-r}))?void 0:e[0],r=null==(a=window.location.hash)?void 0:a.replace("#","");if(r&&ea){eb((null==s?void 0:s.model_name)||""),"sample-task"===r?setTimeout(()=>{var e;
1null==(e=document.getElementById("sample-task"))||e.scrollIntoView({behavior:"smooth"})},100):eC("world"===r?"environment":"rubric"===r||"prompt"===r?"task":r);return}eb((window.innerWidth>=768||eA)&&s?s.model_name:"")},[eg,ey,ea,eA]);let e0=null!=en?en:e_?(0,u.xB)({kind:e_,benchmarkDisplayName:null!=(G=V.benchmarkDisplayName)?G:V.leaderboard,leaderboardKey:V.leaderboard,leaf:"Sample task"}):(0,u._j)(V.leaderboard,V.title,V.benchmarkDisplayName);return(0,s.jsx)(w.A,{breadcrumbs:e0,children:(0,s.jsxs)("div",{className:"mx-auto flex w-full flex-col pb-12 text-center",children:[(0,s.jsx)("h1",{className:"mt-12 text-[38px] font-normal leading-[38px] max-[480px]:text-[30px] max-[480px]:leading-[30px] sm:text-[42px] sm:leading-[42px] md:text-5xl",children:eA?eZ:(0,s.jsxs)(s.Fragment,{children:[eZ,": ",V.title]})}),!eA&&V.companies&&V.companies.length>0?(0,s.jsxs)("div",{className:"mx-auto mt-8 max-w-[600px] text-gray-800",children:["Created by experts from ",V.companies]}):V.description&&(0,s.jsx)("div",{className:"mx-auto mt-8 max-w-[600px] text-gray-800",children:V.description}),!eA&&V.advisors&&(0,s.jsxs)("div",{className:"mx-auto mt-3 max-w-[600px] text-gray-800",children:["Advised by ",V.advisors]}),(0,s.jsx)("div",{className:"mt-6 flex w-full flex-col items-center justify-center gap-6",children:(0,s.jsxs)("div",{className:"flex flex-row items-center gap-3",children:[(0,s.jsx)(o.A,{}),!eA&&(0,s.jsx)(n(),{href:f.kO,target:"_blank",rel:"noopener noreferrer",className:"rounded-md bg-gray-100 px-6 py-[9.5px] text-sm duration-200 hover:bg-gray-200",children:"Read research"})]})}),(0,s.jsxs)("div",{id:"sample-task",className:"mt-8 flex scroll-mt-8 flex-wrap items-center gap-3 border-b border-gray-200 pb-3",children:[(0,s.jsxs)("nav",{className:"sr-only","aria-label":"Leaderboard filters (link shortcuts)",children:[e$.map(e=>(0,s.jsx)(n(),{href:eY(e.id),children:e.displayName},e.id)),!eA&&eW.map(e=>(0,s.jsx)(n(),{href:"/apex/".concat(V.leaderboard,"/").concat(e.slug,"/"),children:e.title},e.slug))]}),ej&&(0,s.jsx)(_.L,{selectedBenchmark:eN,onBenchmarkChange:()=>{},readyBenchmarks:er,getBenchmarkHref:eX}),!eA&&(0,s.jsx)(T.c,{currentDomain:V,availableDomains:eW}),J&&J.length>1&&eg&&(0,s.jsx)(K.H,{availablePasses:J,currentPass:eg,getPassHref:eJ}),ee&&ee.length>1&&ey&&(0,s.jsx)(R.y,{currentHarness:ey,availableHarnesses:ee,getHarnessHref:eV})]}),eQ?(0,s.jsxs)("div",{className:(0,r.cn)("mx-auto flex w-full flex-row overflow-hidden rounded-lg",!ev&&"max-w-[1100px]"),children:[(0,s.jsx)(A.A,{pass:eg,harness:ey,variant:e_,results:ec,setActiveModel:eb,activeModel:ev,leaderboardDict:el,fixedRange:eM}),(0,s.jsxs)("div",{className:(0,r.cn)("gap-6 pb-6 pt-5 text-start max-lg:w-full",ev?"lg:w-1/2":"hidden"),children:[(0,s.jsx)(L.A,{pass:eg,harness:ey,activeModel:ev,results:ec,setActiveModel:eb,leaderboardDict:el,fixedRange:eM,domainTitle:eA?void 0:V.title,disclaimer:eA?eS:void 0,passLabel:(null==J||null==(m=J.find(e=>e.value===eg))?void 0:m.label)||("mean-score"===eg?"Mean Score":eg),numTasks:V.numTasks,harnessLabel:(null==ee||null==(x=ee.find(e=>e.value===ey))?void 0:x.label)||ey}),(0,s.jsx)("hr",{className:"mb-6 mt-2 border-gray-200"}),eD?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h2",{className:"my-3 text-lg font-medium sm:px-6 md:pl-10",children:["Sample task",void 0!==V.numTasks&&null!==V.numTasks&&(0,s.jsxs)("span",{className:"px-1 text-sm font-normal text-gray-400",children:[" ","(1 out of ",V.numTasks,")"]})]}),(0,s.jsx)(P.A,{activeTab:eI,setActiveTab:eC,benchmarkType:h.Uz[V.leaderboard]||"apex-v1",tabIds:eT}),(0,s.jsx)("p",{className:"mt-6 text-sm text-gray-500 max-md:hidden sm:px-6 md:pl-10",children:eS}),"task"===eI&&(0,s.jsxs)("div",{id:"task",className:"mt-6 sm:px-3 md:pl-10",children:[(0,s.jsx)(D.A,{value:(null==V||null==(E=V.data)?void 0:E.prompt)||"",collapsible:!0}),(0,s.jsx)(M.A,{modelName:ev,criteria:(null==V||null==(C=V.data)?void 0:C.criteria)||[],results:ec,benchmarkType:h.Uz[V.leaderboard]||"apex-v1"})]}),"environment"===eI&&(!!eT||ew||ek)&&(0,s.jsx)("div",{id:"environment",className:"w-full sm:px-3 md:pl-10",children:(0,s.jsx)(k.A,{worldData:(null==V||null==(I=V.data)?void 0:I.world)||null,projectScenario:null==V||null==(q=V.data)?void 0:q.projectScenario,domainTitle:eA||null==V?void 0:V.title})}),"trajectory"===eI&&(!!eT||ew||ek)&&(0,s.jsx)("div",{id:"trajectory",className:"w-full sm:px-3 md:pl-10",children:(0,s.jsx)(F,{isApexSwe:ew,isLoading:eP||eH,trajectory:eO,trajectoryDiff:ez,timeline:eU})}),"response"===eI&&(0,s.jsx)("div",{id:"response",className:"w-full sm:px-3 md:pl-10",children:!eT||(null==eR?void 0:eR.model_response)?ec.filter(e=>e.model_name===ev).map(e=>(0,s.jsx)(S.A,{item:e},e.model_name)):(0,s.jsx)("div",{className:"mt-6 rounded-lg border border-gray-200 bg-gray-50 p-8 text-center",children:(0,s.jsx)("p",{className:"text-sm text-gray-500",children:"No response available for this model."})})})]}):(0,s.jsx)("div",{className:"w-full sm:px-3 md:pl-10",children:(0,s.jsx)("div",{className:"mt-6 rounded-lg border border-gray-200 bg-gray-50 p-8 text-center",children:(0,s.jsx)("p",{className:"text-sm text-gray-500",children:"No sample task available for this domain yet."})})})]})]}):(0,s.jsx)("div",{className:"mx-auto mt-12 flex w-full flex-col items-center justify-center gap-6",children:(0,s.jsx)("div",{className:"text-center text-gray-500",children:"No data available"})})]})})}},44438:(e,a,l)=>{l.d(a,{c:()=>d});var s=l(60072),r=l(85785),t=l(17698),n=l.n(t),i=l(14375);let d=e=>{let{currentDomain:a,availableDomains:l}=e,t=null==a?void 0:a.leaderboard;return l.length<=1?(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"sr-only mb-2 block text-sm font-medium text-gray-700",children:"Domain"}),(0,s.jsx)("span",{className:"flex w-fit items-center px-4 py-2 text-sm text-gray-900",children:(null==a?void 0:a.title)||"Select domain"})]}):(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"sr-only mb-2 block text-sm font-medium text-gray-700",children:"Domain"}),(0,s.jsxs)(i.rI,{modal:!1,children:[(0,s.jsxs)(i.ty,{className:"flex w-fit items-center justify-between gap-2 rounded-md bg-white px-4 py-2 text-sm hover:bg-gray-50",children:[(0,s.jsx)("span",{className:"text-gray-900",children:(null==a?void 0:a.title)||"Select domain"}),(0,s.jsx)(r.A,{className:"h-4 w-4 flex-shrink-0 text-gray-500"})]}),(0,s.jsx)(i.SQ,{forceMount:!0,align:"start",className:"w-[280px]",children:l.map(e=>(0,s.jsx)(i._2,{asChild:!0,className:"hover:bg-indigo-50 focus:bg-indigo-50",children:(0,s.jsx)(n(),{href:"/apex/".concat(null!=t?t:e.leaderboard,"/").concat(e.slug,"/"),scroll:!1,children:e.title})},e.slug))})]})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.