PageSourceSearch

https://www.valyu.ai/_next/static/immutable/chunks/0jk5q6zfdw3qz.js

js valyu.ai collected 2026-09-25 02:44:25 UTC 60,205 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,558475,(e,t,r)=>{},813380,(e,t,r)=>{var n=e.i(310188);e.r(558475);var a=e.r(504440),l=a&&"object"==typeof a&&"default"in a?a:{default:a},s=void 0!==n.default&&n.default.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,a=t.optimizeForSpeed,l=void 0===a?s:a;c(i(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",c("boolean"==typeof l,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=l,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(c(i(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];c(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">
1typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&c(i(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var a=document.head||document.getElementsByTagName("head")[0];return r?a.insertBefore(n,r):a.appendChild(n),n},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},m={};function u(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return m[n]||(m[n]="jsx-"+d(e+"-"+r)),m[n]}function h(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return m[r]||(m[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),m[r]}var p=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,a=t.optimizeForSpeed,l=void 0!==a&&a;this._sheet=n||new o({name:"styled-jsx",optimizeForSpeed:l}),this._sheet.inject(),n&&"boolean"==typeof l&&(this._sheet.setOptimizeForSpeed(l),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,a=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var l=a.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=l,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return l.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var a=u(n,r);return{styleId:a,rules:Array.isArray(t)?t.map(function(e){return h(a,e)}):[h(a,t)]}}return{styleId:u(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),x=a.createContext(null);function f(){return new p}function g(){return a.useContext(x)}x.displayName="StyleSheetContext";var b=l.default.useInsertionEffect||l.default.useLayoutEffect,y="u">typeof window?f():void 0;function v(e){var t=y||g();return t&&("u"<typeof window?t.add(e):b(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return u(e[0],e[1])}).join(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,n=a.useContext(x),s=a.useState(function(){return n||t||f()})[0];return l.default.createElement(x.Provider,{value:s},r)},r.createStyleRegistry=f,r.style=v,r.useStyleRegistry=g},168866,(e,t,r)=>{t.exports=e.r(813380).style},990033,e=>{"use strict";let t,r="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),n=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));e.s(["v4",0,function(e,l,s){if(r&&!l&&!e)return r();var i=e,o=s;let c=(i=i||{}).random??i.rng?.()??function(){if(!t){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(n)}();if(c.length<16)throw Error("Random bytes length must be >= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,l){if((o=o||0)<0||o+16>l.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);for(let e=0;e<16;++e)l[o+e]=c[e];return l}
1return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(c)}],990033)},286526,e=>{"use strict";var t=e.i(116906),r=e.i(168866),n=e.i(504440),a=e.i(809017),l=e.i(677572),s=e.i(519455);function i({data:e,yAxisMax:r=100,height:a=480,format:l=e=>`${e}%`,barGap:s=.18,className:o,showValueLabel:c=!0,animate:d=!0}){let m=(0,n.useId)().replace(/:/g,""),u=(0,n.useRef)(null),[h,p]=(0,n.useState)(800),[x,f]=(0,n.useState)(null),[g,b]=(0,n.useState)(!d);(0,n.useEffect)(()=>{let e=u.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e)p(Math.max(280,Math.round(t.contentRect.width)))});return t.observe(e),()=>t.disconnect()},[]),(0,n.useEffect)(()=>{let e=requestAnimationFrame(()=>b(!0));return()=>cancelAnimationFrame(e)},[]);let y=Math.max(1,a-32-36),v=Math.max(1,h-48-16)/Math.max(1,e.length),j=v*(1-s),w=(v-j)/2,A=Array.from({length:6},(e,t)=>r*t/5),N=e=>32+y-Math.max(0,Math.min(r,e))/r*y;return(0,t.jsx)("div",{ref:u,className:o,style:{width:"100%"},children:(0,t.jsxs)("svg",{role:"img","aria-label":"Benchmark bar chart",viewBox:`0 0 ${h} ${a}`,width:"100%",height:"100%",preserveAspectRatio:"none",style:{display:"block"},children:[A.map((e,r)=>{let n=N(e);return(0,t.jsxs)("g",{children:[(0,t.jsx)("line",{x1:48,x2:h-16,y1:n,y2:n,stroke:"currentColor",strokeOpacity:.12,strokeDasharray:"3 3"}),(0,t.jsx)("text",{x:40,y:n,textAnchor:"end",dominantBaseline:"middle",fontSize:11,className:"fill-muted-foreground",children:l(Math.round(e))})]},`y-${r}`)}),e.map((e,r)=>{let n=48+r*v+w,a=32+y-N(e.value),s=g?a:0,i=32+y-s,o=Math.min(6,j/4),u=Math.min(28,.5*j),h=n+(j-u)/2,p=i+s-u-16,b=x===r,A=`${m}-bar-${r}`;return(0,t.jsxs)("g",{onMouseEnter:()=>f(r),onMouseLeave:()=>f(null),onFocus:()=>f(r),onBlur:()=>f(null),tabIndex:0,"aria-label":`${e.name}: ${l(e.value)}`,style:{outline:"none"},children:[b&&(0,t.jsx)("rect",{x:48+r*v,y:32,width:v,height:y,fill:"currentColor",opacity:.04,rx:4}),(0,t.jsx)("path",{d:`
2                  M ${n} ${i+s}
3                  L ${n} ${i+o}
4                  Q ${n} ${i} ${n+o} ${i}
5                  L ${n+j-o} ${i}
6                  Q ${n+j} ${i} ${n+j} ${i+o}
7                  L ${n+j} ${i+s}
8                  Z
9                `,fill:e.fill,style:{transition:d?"d 1000ms cubic-bezier(.2,.8,.2,1)":"none"}}),e.logoUrl&&s>50&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:`${A}-clip`,children:(0,t.jsx)("rect",{x:h,y:p,width:u,height:u,rx:2,ry:2})})}),(0,t.jsx)("image",{href:e.logoUrl,x:h,y:p,width:u,height:u,preserveAspectRatio:"xMidYMid meet",clipPath:`url(#${A}-clip)`})]}),c&&(0,t.jsx)("text",{x:n+j/2,y:i-8,textAnchor:"middle",fontSize:12,className:"fill-foreground",fontWeight:500,children:l(e.value)}),(0,t.jsx)("text",{x:n+j/2,y:32+y+18,textAnchor:"middle",fontSize:12,className:"fill-muted-foreground",children:e.name})]},A)}),null!==x&&(()=>{let r=e[x];if(!r)return null;let n=48+x*v+v/2,a=Math.max(48,N(r.value)-28),s=Math.max(80,7*r.name.length+28);return(0,t.jsxs)("g",{pointerEvents:"none",children:[(0,t.jsx)("rect",{x:n-s/2,y:a-22,width:s,height:26,rx:4,fill:"rgba(15,23,42,0.92)"}),(0,t.jsxs)("text",{x:n,y:a-5,textAnchor:"middle",fontSize:12,fill:"#fff",fontWeight:500,children:[r.name,": ",l(r.value)]})]})})()]})})}let o={default:"text-foreground",primary:"text-primary",emerald:"text-emerald-500",violet:"text-violet-500",coral:"text-rose-500",amber:"text-amber-500",cyan:"text-cyan-500",rose:"text-rose-500",indigo:"text-indigo-500",teal:"text-teal-500",fuchsia:"text-fuchsia-500",grey:"text-gray-500"},c={default:"bg-foreground",primary:"bg-primary",emerald:"bg-emerald-500",violet:"bg-violet-500",coral:"bg-rose-500",amber:"bg-amber-500",cyan:"bg-cyan-500",rose:"bg-rose-500",indigo:"bg-indigo-500",teal:"bg-teal-500",fuchsia:"bg-fuchsia-500",grey:"bg-gray-500"},d={default:"rgb(var(--foreground-rgb))",primary:"rgb(var(--primary-rgb, 145, 64, 248))",emerald:"rgb(10, 188, 124)",violet:"rgb(188, 126, 255)",coral:"rgb(255, 81, 81)",amber:"rgb(240, 182, 14)",cyan:"rgb(10, 188, 201)",rose:"rgb(246, 24, 124)",indigo:"rgb(78, 107, 220)",teal:"rgb(44, 212, 183)",fuchsia:"rgb(189, 18, 163)",grey:"rgb(107, 114, 128)"};Object.entries(d).map(([e,t])=>({label:e.charAt(0).toUpperCase()+e.slice(1),value:e,color:t,className:o[e],bgClassName:c[e]}));var m=e.i(760207),u=e.i(868602),h=e.i(364112);let p={"draco-cost-vs-accuracy":u.DracoCostVsAccuracyChart},x={FreshQA:"accuracy on time-sensitive questions",SimpleQA:"retrieval precision on factual questions",Economics:"accuracy on analyst-style economic queries",Finance:"accuracy on financial information retrieval",MedAgent:"accuracy on medical reasoning questions",DRACO:"accuracy on long-form research · cost per 1k requests"},f=({benchmarks:e,heading:r})=>{let l=(0,n.useMemo)(()=>(e??[]).map((e,t)=>({value:e?.name||`benchmark-${t}`,label:e?.name||`Benchmark ${t+1}`,benchmark:e}
9)),[e]),[s,i]=(0,n.useState)(l[0]?.value||"benchmark-0"),[o,c]=(0,n.useState)(0);(0,n.useEffect)(()=>{c(0)},[s]);let d=Math.max(0,l.findIndex(e=>e.value===s));if(!e||0===e.length||0===l.length)return null;let u=l[d]?.benchmark;return(0,t.jsx)("div",{className:"v2-scope border-t border-[#E7E5EA] bg-white text-[#17141A]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1360px] px-5 py-20 sm:px-10 lg:py-[150px]",children:[(0,t.jsx)("div",{className:"mb-4 text-[12px] font-semibold leading-none text-[#5E3454]",style:{fontFamily:"var(--font-v2-mono), ui-monospace, monospace",letterSpacing:".14em"},children:"BENCHMARKS"}),(0,t.jsx)("h1",{className:"m-0 mb-9 font-medium",style:{fontFamily:"var(--font-v2-serif), Georgia, serif",fontSize:"clamp(28px, 2.9vw, 36px)",lineHeight:1.03,letterSpacing:"-0.015em"},children:r||"State-of-the-art across research benchmarks."}),(0,t.jsx)("div",{className:"v2-hscroll -mx-5 mb-12 overflow-x-auto px-5 sm:mx-0 sm:px-0",children:(0,t.jsx)("div",{className:"flex w-max gap-[6px] sm:flex-wrap",children:l.map(e=>{let r=e.value===s;return(0,t.jsx)("button",{type:"button",onClick:()=>i(e.value),className:"cursor-pointer whitespace-nowrap px-[17px] py-[10px] text-[13.5px] font-semibold transition-colors",style:r?{background:"#17141A",color:"#fff"}:{background:"#fff",color:"#54525c",border:"1px solid #E7E5EA"},children:e.label},e.value)})})}),(0,t.jsxs)("div",{className:"flex flex-col-reverse items-start gap-12 lg:flex-row lg:gap-[72px]",children:[(0,t.jsxs)("div",{className:"w-full flex-none lg:w-[360px]",children:[(0,t.jsx)("div",{className:"mb-5 text-[30px] font-semibold tracking-[-0.02em]",children:u?.name||"Benchmark"}),(0,t.jsx)("div",{className:"mb-7",children:(e=>{let t=(Array.isArray(e?.sections)?e.sections:[]).map(e=>({title:e?.title||"Section",content:e?.content??null})).filter(e=>e.content);if(t.length>0)return t;let r=[];return e?.about&&r.push({title:"About the benchmark",content:e.about}),e?.evaluation&&r.push({title:"Evaluation",content:e.evaluation}),e?.distribution&&r.push({title:"Distribution",content:e.distribution}),r})(u).map((e,r)=>{let n=r===o;return(0,t.jsxs)("div",{className:"border-b border-[#E2DEE5] first:border-t",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>c(n?-1:r),className:"flex w-full items-center justify-between gap-4 py-[14px] text-left text-[15px] font-semibold tracking-[-0.01em] transition-colors",style:{color:n?"#17141A":"#54525c"},children:[e.title,(0,t.jsx)("span",{className:"flex-none text-[17px] font-normal leading-none",style:{color:n?"#5E3454":"#b3aeb8"},children:n?"−":"+"})]}),n&&e.content?(0,t.jsx)("div",{className:"pb-4 text-[14px] leading-[1.6] text-[#54525c] [&_*]:!text-[14px] [&_*]:!leading-[1.6] [&_*]:!text-[#54525c] [&_p]:!m-0 [&_p+p]:!mt-2",children:(0,t.jsx)(m.default,{data:e.content})}):null]},`${e.title}-${r}`)})}),u?.demoButton?.label&&u.demoButton?.url&&(0,t.jsx)("a",{href:u.demoButton.url,target:u.demoButton.newTab?"_blank":void 0,rel:u.demoButton.newTab?"noopener noreferrer":void 0,className:"outline"===u.demoButton.style?"inline-block whitespace-nowrap border border-[#dcd9e0] bg-white px-[21px] py-[12px] text-[14px] font-semibold text-[#141118] transition-colors hover:border-[#b9b4c0]":"inline-block whitespace-nowrap bg-[#5E3454] px-[22px] py-[12px] text-[14px] font-semibold text-white transition-colors hover:bg-[#4d2a45]",children:u.demoButton.label})]}),(0,t.jsx)("div",{className:"w-full flex-1",children:u?(e=>{let r=e.displayType||"entities";if("component"===r){let r=e.componentType?p[e.componentType]:null;return r?(0,t.jsx)("div",{className:"mt-2 h-[420px] w-full sm:h-[460px] lg:h-[500px]",children:(0,t.jsx)(r,{})}):null}if("image"===r){let r=e.image,n="object"==typeof r&&r?.url?r.url:null,l="object"==typeof r&&r?.alt||e.name||"Benchmark image";return n?(0,t.jsx)("div",{className:"relative h-[280px] w-full sm:h-[420px] lg:h-[480px]",children:(0,t.jsx)(a.default,{src:n,alt:l,fill:!0,sizes:"(min-width: 1024px) 50vw, 100vw",className:"object-contain"})}):null}let n=(e.entities||[]).map(e=>({name:e?.name||"Unknown",value:Number(e?.value)||0,cost:e?.cost??null})),l=e.caption||x[e.name]||"accuracy (%)";return(0,t.jsx)(h.V2BenchmarkBars,{rows:n,caption:l,yAxisMax:100})})(u):null})]})]})})},g={"draco-cost-vs-accuracy":u.DracoCostVsAccuracyChart},b={valyu:"/favicon.ico",google:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%234285F4' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%2334A853' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%23EA4335' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E",exa:"/exa logo.png",parallel:"/parallel_logo.svg"},y=e=>{let t=(Array.isArray(e?.sections)?e.sections:[]).map(e=>({title:e?.title||"Section",content:e?.content??null})).filter(e=>e.content);if(t.length>0)return t;let r=[];return e?.about&&r.push({title:"About the benchmark",content:e.about}),e?.evaluation&&r.push({title:"Evaluation",content:e.evaluation}),e?.distribution&&r.push({title:"Distribution",content:e.distribution}),r},v=({benchmarks:e,heading:o})=>{let c=(0,n.useMemo)(()=>e.map((e,t)=>({value:e?.name||`benchmark-${t}`,label:e?.name||`Benchmark ${t+1}`,benchmark:e}
9)),[e]),[u,h]=(0,n.useState)(c[0]?.value||"benchmark-0"),[p,x]=(0,n.useState)(0),f=n.default.useRef(null),v=n.default.useRef(null),[j,w]=(0,n.useState)(!1),[A,N]=(0,n.useState)(0),[k,S]=(0,n.useState)(!1),_=Math.max(0,c.findIndex(e=>e.value===u));return((0,n.useEffect)(()=>{if(!c.length)return;if(!j)return void N(0);let e=y(c[_]?.benchmark);if(!e.length)return;N(0);let t=(p+1)%e.length,r=requestAnimationFrame(()=>N(100)),n=window.setTimeout(()=>{N(0),x(t)},6e3);return()=>{cancelAnimationFrame(r),window.clearTimeout(n)}},[_,p,j,6e3,c]),(0,n.useLayoutEffect)(()=>{N(0)},[p]),(0,n.useEffect)(()=>{x(0),N(0)},[u]),(0,n.useEffect)(()=>{let e=v.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e&&w(e.isIntersecting)},{threshold:.45});return t.observe(e),()=>t.disconnect()},[]),(0,n.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)"),t=()=>S(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,n.useEffect)(()=>{let e=f.current;if(!e)return;let t=e.querySelector(`[data-section-index="${p}"]`);t&&e.scrollTo({top:t.offsetTop,behavior:"smooth"})},[u,p]),e&&0!==e.length&&0!==c.length)?(0,t.jsxs)("div",{ref:v,className:"jsx-b3e1b6a7c9b96113 w-full flex flex-col items-center pt-20 md:pt-48 lg:pt-52 pb-10 md:pb-28 lg:pb-32 bg-white",children:[(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 w-full flex justify-center",children:(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 w-full px-5 md:px-[4vw] lg:px-[7vw] xl:px-[9vw]",children:(0,t.jsxs)("div",{className:"jsx-b3e1b6a7c9b96113 relative",children:[(0,t.jsxs)("div",{className:"jsx-b3e1b6a7c9b96113 flex items-center justify-center gap-10",children:[(0,t.jsx)(a.default,{src:"/assets/images/Screenshot 2026-01-12 at 5.25.05 pm.png",alt:"Benchmark accent left",width:96,height:96,className:"hidden md:block h-24 w-24"}),(0,t.jsx)("p",{style:{fontFamily:'"Helios Extended", "Inter", system-ui, sans-serif',fontWeight:700},className:"jsx-b3e1b6a7c9b96113 text-[30px] md:text-3xl lg:text-4xl font-bold tracking-[-0.018em] text-[#1C1C1C] mb-4 md:mb-5 text-center md:text-left leading-[1.1]",children:"SoTA across several benchmarks"}),(0,t.jsx)(a.default,{src:"/assets/images/Screenshot 2026-01-12 at 5.25.19 pm.png",alt:"Benchmark accent right",width:96,height:96,className:"hidden md:block h-24 w-24"})]}),(0,t.jsxs)(l.Tabs,{value:u,onValueChange:h,className:"w-full mt-4 md:mt-6",children:[(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 flex justify-start md:justify-center -mx-5 md:mx-0 px-5 md:px-0 overflow-x-auto md:overflow-visible scrollbar-hide border-b border-neutral-200 md:border-b-0",children:(0,t.jsx)(l.TabsList,{className:"flex flex-nowrap w-max md:inline-flex md:w-auto md:flex-wrap h-auto items-center md:justify-center md:bg-muted/60 md:rounded-full p-0 md:p-1 gap-4 md:gap-2 md:max-w-full bg-transparent rounded-none",children:c.map(e=>(0,t.jsx)(l.TabsTrigger,{value:e.value,className:"shrink-0 inline-flex items-center justify-center whitespace-nowrap px-0 pb-2 pt-1 md:px-4 md:py-2 md:rounded-full rounded-none text-xs md:text-sm font-medium tracking-tight text-muted-foreground transition-all border-b-2 border-transparent bg-transparent shadow-none data-[state=active]:border-black data-[state=active]:text-black data-[state=active]:bg-transparent data-[state=active]:shadow-none md:border-b-0 md:data-[state=active]:bg-white md:data-[state=active]:text-foreground md:data-[state=active]:shadow-sm",children:e.label},e.value))})}),(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 mt-6 md:mt-8 bg-white py-4 md:py-10 lg:py-12 md:min-h-[600px]",children:(0,t.jsxs)("div",{className:"jsx-b3e1b6a7c9b96113 grid lg:grid-cols-[minmax(0,2fr)_minmax(0,3fr)] gap-8 md:gap-10 lg:gap-12 items-start",children:[(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 min-w-0 mt-4 order-2 md:order-1",children:e.map((e,r)=>{let n=e?.name||`benchmark-${r}`,a=y(e),i=n===u;return(0,t.jsxs)(l.TabsContent,{value:n,className:"mt-0",children:[(0,t.jsx)("div",{style:{fontFamily:'"Helvetica Now Dis
9play", "Inter", system-ui, sans-serif',fontWeight:700},className:"jsx-b3e1b6a7c9b96113 hidden md:block mb-4 md:mb-8 lg:mb-10 text-lg md:text-xl lg:text-2xl font-semibold text-black",children:e?.name||"Benchmark"}),(0,t.jsx)("div",{ref:i?f:void 0,className:"jsx-b3e1b6a7c9b96113 space-y-3 md:space-y-5 lg:space-y-6 pr-0 md:pr-3 md:pb-4",children:a.map((e,r)=>{let n=r===p;return(0,t.jsxs)("div",{"data-section-index":r,className:"jsx-b3e1b6a7c9b96113 relative md:pl-6",children:[(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 pointer-events-none absolute left-0 top-0 h-full w-[2px] overflow-hidden bg-muted-foreground/20 hidden md:block",children:(0,t.jsx)("div",{style:{transform:r<p?"scaleY(1)":r===p?`scaleY(${A/100})`:"scaleY(0)",transitionDuration:r===p?"6000ms":"0ms",transitionTimingFunction:"linear"},className:"jsx-b3e1b6a7c9b96113 h-full w-full origin-top bg-[#4C6FFF] transition-transform"})}),(0,t.jsx)("button",{type:"button",onClick:()=>x(r),style:{fontFamily:'"Helvetica Now Display", "Inter", system-ui, sans-serif',fontWeight:700},className:`jsx-b3e1b6a7c9b96113 w-full text-left text-base md:text-lg lg:text-xl font-semibold ${n?"text-black":"md:text-muted-foreground"}`,children:e.title}),e.content?(0,t.jsx)("div",{className:`jsx-b3e1b6a7c9b96113 mt-1 md:mt-5 lg:mt-6 text-[12px] md:text-sm lg:text-sm text-neutral-700 [&_p]:text-[12px] [&_p]:md:text-sm [&_p]:lg:text-sm [&_p]:text-neutral-700 [&_p]:leading-snug md:[&_p]:leading-relaxed [&_h1]:text-base [&_h1]:md:text-lg [&_h1]:lg:text-xl [&_h2]:text-sm [&_h2]:md:text-base [&_h2]:lg:text-lg [&_h3]:text-[12px] [&_h3]:md:text-sm [&_h3]:lg:text-base [&_*]:text-[12px] [&_*]:md:text-sm [&_*]:lg:text-sm ${n?"block":"block md:hidden"}`,children:(0,t.jsx)(m.default,{data:e.content})}):null]},`${e.title}-${r}`)})}),e?.demoButton?.label&&e.demoButton?.url&&(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 mt-4",children:(0,t.jsx)(s.Button,{asChild:!0,variant:"outline"===e.demoButton.style?"outline":"default",children:(0,t.jsx)("a",{href:e.demoButton.url,target:e.demoButton.newTab?"_blank":void 0,rel:e.demoButton.newTab?"noopener noreferrer":void 0,className:"jsx-b3e1b6a7c9b96113",children:e.demoButton.label})})})]},`desc-${n}`)})}),(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 min-w-0 order-1 md:order-2",children:e.map((e,r)=>{if(!e)return null;let n=e.name||`benchmark-${r}`,s=e.displayType||"entities";if("component"===s){let r=e.componentType,a=r?g[r]:null;return(0,t.jsxs)(l.TabsContent,{value:n,className:"mt-0",children:[(0,t.jsx)("div",{style:{fontFamily:'"Helvetica Now Dis
9play", "Inter", system-ui, sans-serif',fontWeight:700},className:"jsx-b3e1b6a7c9b96113 mb-2 md:hidden text-left text-lg text-black",children:e.name||"Benchmark"}),a?(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 mt-4 md:mt-10 h-[640px] md:h-[420px] lg:h-[480px] w-full",children:(0,t.jsx)(a,{className:"jsx-b3e1b6a7c9b96113"})}):null]},`chart-${n}`)}if("image"===s){let r=e.image,s="object"==typeof r&&r?.url?r.url:null,i="object"==typeof r&&r?.alt||e.name||"Benchmark image";return(0,t.jsxs)(l.TabsContent,{value:n,className:"mt-0",children:[(0,t.jsx)("div",{style:{fontFamily:'"Helvetica Now Display", "Inter", system-ui, sans-serif',fontWeight:700},className:"jsx-b3e1b6a7c9b96113 mb-2 md:hidden text-left text-lg text-black",children:e.name||"Benchmark"}),s?(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 mt-4 md:mt-10 h-[280px] md:h-[420px] lg:h-[480px] w-full relative",children:(0,t.jsx)(a.default,{src:s,alt:i,fill:!0,sizes:"(min-width: 1024px) 50vw, 100vw",className:"object-contain"})}):null]},`chart-${n}`)}let o=e.entities||[],c=e.yAxisMax||100,m=o.map(e=>({name:e?.name||"Unknown",value:e?.value||0,fill:d[e?.color||"primary"]||d.primary,logoUrl:(e=>{let t=e.toLowerCase().trim();for(let[e,r]of Object.entries(b))if(t.includes(e))return r;return null})(e?.name||"")}));return(0,t.jsxs)(l.TabsContent,{value:n,className:"mt-0",children:[(0,t.jsx)("div",{style:{fontFamily:'"Helvetica Now Dis
9play", "Inter", system-ui, sans-serif',fontWeight:700},className:"jsx-b3e1b6a7c9b96113 mb-2 md:hidden text-left text-lg text-black",children:e.name||"Benchmark"}),(0,t.jsx)("div",{className:"jsx-b3e1b6a7c9b96113 mt-4 md:mt-10 w-full",children:(0,t.jsx)(i,{data:m,yAxisMax:c,height:k?480:280,barGap:k?.12:.2,animate:k})})]},`chart-${n}`)})})]})})]})]})})}),(0,t.jsx)(r.default,{id:"b3e1b6a7c9b96113",children:""})]}):null};e.s(["BenchmarksBlockComponent",0,e=>"landingV2"===e.designVariant?(0,t.jsx)(f,{...e}):(0,t.jsx)(v,{...e})],286526)},868602,364112,e=>{"use strict";var t=e.i(116906),r=e.i(504440);let n=[{id:"valyu",name:"Valyu DeepResearch",shortName:"Valyu DeepResearch",variant:"Heavy",accuracy:72.7,cpm:2500,highlight:!0,anchor:"top",distance:14},{id:"perplexity",name:"Perplexity DR (Opus 4.6)",shortName:"Perplexity",accuracy:70.5,cpm:5500,approx:!0,anchor:"left",distance:12,perpOffset:6},{id:"claude-46",name:"Claude Opus 4.6",shortName:"Claude 4.6",accuracy:59.8,cpm:5500,approx:!0,anchor:"left",distance:12,perpOffset:-10},{id:"gemini",name:"Gemini Deep Research",shortName:"Gemini",accuracy:59,cpm:4500,approx:!0,anchor:"left",distance:12},{id:"you",name:"You.com Research",shortName:"You.com",variant:"Exhaustive",accuracy:53,cpm:450,anchor:"left",distance:12},{id:"openai-o3",name:"OpenAI DR (o3)",shortName:"OpenAI o3",accuracy:52.1,cpm:3500,approx:!0,anchor:"top",distance:14},{id:"parallel",name:"Parallel Ultra8x",shortName:"Parallel",accuracy:51.2,cpm:2400,anchor:"bottom",distance:14},{id:"claude-45",name:"Claude Opus 4.5",shortName:"Claude 4.5",accuracy:46.7,cpm:4e3,approx:!0,anchor:"bottom",distance:14},{id:"openai-o4",name:"OpenAI DR (o4-mini)",shortName:"OpenAI o4-mini",accuracy:41.9,cpm:1200,approx:!0,anchor:"left",distance:12},{id:"tavily",name:"Tavily Research",shortName:"Tavily",variant:"Pro",accuracy:38.8,cpm:1060,approx:!0,anchor:"bottom",distance:14},{id:"exa",name:"Exa Deep Reasoning",shortName:"Exa",accuracy:25.9,cpm:15,anchor:"right",distance:12}],a=[{id:"valyu",name:"Valyu DeepResearch",variant:"Heavy",accuracy:72.7,cpm:2500,logo:{kind:"image",src:"/favicon.ico"},highlight:!0,anchor:"top",distance:16},{id:"perplexity",name:"Perplexity DR (Opus 4.6)",accuracy:70.5,cpm:5500,approx:!0,logo:{kind:"image",src:"/perplexity logo.png"},anchor:"left",distance:14,perpOffset:12},{id:"claude-46",name:"Claude Opus 4.6 (web+code)",accuracy:59.8,cpm:5500,approx:!0,logo:{kind:"image",src:"/anthropic logo.svg"},anchor:"left",distance:14,perpOffset:-26},{id:"gemini",name:"Gemini Deep Research",accuracy:59,cpm:4500,approx:!0,logo:{kind:"image",src:"/google logo.webp"},anchor:"left",distance:14,perpOffset:16}
9,{id:"you",name:"You.com Research",variant:"exhaustive",accuracy:53,cpm:450,logo:{kind:"image",src:"/you.com logo"},anchor:"left",distance:14},{id:"openai-o3",name:"OpenAI DR (o3)",accuracy:52.1,cpm:3500,approx:!0,logo:{kind:"image",src:"/openai logo.png"},anchor:"right",distance:14},{id:"parallel",name:"Parallel Ultra8x",accuracy:51.2,cpm:2400,logo:{kind:"image",src:"/parallel_logo.svg"},anchor:"left",distance:14,perpOffset:14},{id:"claude-45",name:"Claude Opus 4.5 (web+code)",accuracy:46.7,cpm:4e3,approx:!0,logo:{kind:"image",src:"/anthropic logo.svg"},anchor:"bottom",distance:16},{id:"openai-o4",name:"OpenAI DR (o4-mini)",accuracy:41.9,cpm:1200,approx:!0,logo:{kind:"image",src:"/openai logo.png"},anchor:"left",distance:14},{id:"tavily",name:"Tavily Research",variant:"pro",accuracy:38.8,cpm:1060,approx:!0,logo:{kind:"image",src:"/tavily logo.png",bg:"#000",pad:1},anchor:"bottom",distance:16},{id:"exa",name:"Exa Deep Reasoning",accuracy:25.9,cpm:15,logo:{kind:"image",src:"/exa logo.png"},anchor:"right",distance:14}],l=[10,100,1e3,1e4],s=[20,30,40,50,60,70,80],i=e=>(Math.log10(Math.max(e,1))-1)/3*100,o=e=>100-(e-20)/60*100,c=(e,t)=>`${t?"~":""}$${e.toLocaleString()}`,d=()=>(0,t.jsxs)("div",{className:"w-full h-full flex flex-col bg-white",children:[(0,t.jsxs)("div",{className:"flex flex-1 min-h-0 gap-3",children:[(0,t.jsx)("div",{className:"flex items-center justify-center select-none",children:(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-[0.25em] text-neutral-400 font-medium whitespace-nowrap",style:{writingMode:"vertical-rl",transform:"rotate(180deg)",fontFamily:'"Neue Montreal", "Inter", system-ui, sans-serif'},children:"Accuracy (%)"})}),(0,t.jsx)("div",{className:"flex-1 relative overflow-hidden",style:{backgroundImage:"radial-gradient(circle, rgba(0,0,0,0.18) 0.9px, transparent 0.9px)",backgroundSize:"16px 16px",backgroundPosition:"8px 8px"},children:n.map(e=>{let n,a,l,s=i(e.cpm),d=o(e.accuracy),m=!!e.highlight;return(0,t.jsxs)(r.default.Fragment,{children:[(0,t.jsx)("div",{className:"absolute z-10",style:{left:`${s}%`,top:`${d}%`,transform:"translate(-50%, -50%)",width:8,height:8,borderRadius:"50%",backgroundColor:m?"#5E3454":"#000"}}),(0,t.jsxs)("div",{className:"absolute z-20",style:(n=e.anchor||"right",a=e.distance??12,l=e.perpOffset??0,"right"===n?{left:`calc(${s}% + ${a}px)`,top:`calc(${d}% + ${l}px)`,transform:"translateY(-50%)"}:"left"===n?{left:`calc(${s}% - ${a}px)`,top:`calc(${d}% + ${l}px)`,transform:"translate(-100%, -50%)"}:"top"===n?{left:`calc(${s}% + ${l}px)`,top:`calc(${d}% - ${a}px)`,transform:"translate(-50%, -100%)"}:{left:`calc(${s}% + ${l}px)`,top:`calc(${d}% + ${a}px)`,transform:"translateX(-50%)"}),children:[(0,t.jsx)("div",{className:"inline-flex items-center rounded px-1.5 py-0.5 text-[9px] font-bold tracking-[0.08em] whitespace-nowrap shadow-sm",style:{backgroundColor:m?"rgba(94, 52, 84, 0.12)":"rgba(255,255,255,0.92)",color:m?"#3C1F35":"#1c1c1c",border:m?"1px solid rgba(94, 52, 84, 0.28)":"1px solid rgba(0,0,0,0.06)",fontFamily:'"Neue Montreal", "Inter", system-ui, sans-serif'},children:(m?e.name:e.shortName).toUpperCase()}),m&&(0,t.jsxs)("div",{className:"text-[8.5px] text-neutral-400 mt-0.5 tracking-[0.04em] whitespace-nowrap",style:{fontFamily:'"Neue Montreal", "Inter", system-ui, sans-serif'},children:[e.accuracy.toFixed(1),"% / ",c(e.cpm,e.approx),"CPM"]})]})]},e.id)})})]}),(0,t.jsx)("div",{className:"text-center text-[10px] uppercase tracking-[0.25em] text-neutral-400 font-medium mt-3",style:{fontFamily:'"Neue Montreal", "Inter", system-ui, sans-serif'},children:"Cost (CPM)"})]}),m=()=>{let[e,n]=(0,r.useState)(null);return(0,t.jsxs)("div",{className:"w-full h-full flex flex-col",children:[(0,t.jsx)("p",{className:"text-xs md:text-sm text-neutral-500 mb-2 pl-12 -mt-6 md:-mt-8 lg:-mt-10",children:"Cost vs accuracy across deep research APIs"}),(0,t.jsxs)("div",{className:"relative flex-1",style:{paddingLeft:48,paddingRight:16,paddingTop:16,paddingBottom:32},children:[(0,t.jsx)("div",{className:"absolute",style:{inset:0,paddingLeft:48,paddingRight:16,paddingTop:16,paddingBottom:32},children:(0,t.jsxs)("div",{className:"relative w-full h-full",children:[s.map(e=>(0,t.jsxs)(r.default.Fragment,{children:[(0,t.jsx)("div",{className:"absolute left-0 right-0 border-t border-dashed border-neutral-200",style:{to
9p:`${o(e)}%`}}),(0,t.jsx)("div",{className:"absolute text-[10px] text-neutral-400",style:{top:`${o(e)}%`,left:-32,transform:"translateY(-50%)"},children:e})]},`y-${e}`)),l.map(e=>(0,t.jsx)("div",{className:"absolute text-[10px] text-neutral-400",style:{left:`${i(e)}%`,bottom:-20,transform:"translateX(-50%)"},children:e>=1e3?`$${(e/1e3).toLocaleString()},000`:`$${e}`},`x-${e}`)),a.map(r=>{let a,l,s,c,d=i(r.cpm),m=o(r.accuracy),h=e===r.id,p=r.anchor||"left",x=r.distance??14,f=r.perpOffset??0,g=r.highlight?"rgba(124, 58, 237, 0.55)":"rgba(163, 163, 163, 0.7)",b="left"===p?{right:x,top:f,transform:"translateY(-50%)"}:"right"===p?{left:x,top:f,transform:"translateY(-50%)"}:"top"===p?{bottom:x,left:f,transform:"translateX(-50%)"}:{top:x,left:f,transform:"translateX(-50%)"},y=(a=0,l=0,"left"===p?(a=-x,l=f):"right"===p?(a=x,l=f):"top"===p?(a=f,l=-x):(a=f,l=x),s=Math.sqrt(a*a+l*l)+2,c=180*Math.atan2(l,a)/Math.PI,{left:0,top:-.5,width:s,height:1,transform:`rotate(${c}deg)`,transformOrigin:"0 50%"});return(0,t.jsxs)("div",{className:"absolute",style:{left:`${d}%`,top:`${m}%`},onMouseEnter:()=>n(r.id),onMouseLeave:()=>n(null),children:[(0,t.jsx)("div",{className:"absolute pointer-events-none",style:{...y,background:g}}),(0,t.jsx)("div",{className:`absolute z-30 rounded-full transition-transform duration-150 ${r.highlight?"bg-[#5E3454]":"bg-neutral-400"}`,style:{width:r.highlight?12:8,height:r.highlight?12:8,left:r.highlight?-6:-4,top:r.highlight?-6:-4,boxShadow:r.highlight?"0 0 0 4px rgba(94, 52, 84, 0.16)":"none",transform:h?"scale(1.2)":"scale(1)"}}),(0,t.jsx)("a",{href:"https://github.com/valyuAI/valyu-benchmarks",target:"_blank",rel:"noopener noreferrer",className:`absolute z-10 block transition-transform duration-200 ease-out ${h?"z-20":""}`,style:{...b,transform:`${b.transform||""} ${h?"scale(1.08)":"scale(1)"}`,transformOrigin:"left"===p?"right center":"right"===p?"left center":"top"===p?"center bottom":"center top"},children:(0,t.jsx)(u,{point:r})})]},r.id)})]})}),(0,t.jsx)("div",{className:"absolute text-[10px] text-neutral-500",style:{left:4,top:"50%",transform:"translate(-50%, -50%) rotate(-90deg)",transformOrigin:"center"},children:"Accuracy (%)"}),(0,t.jsx)("div",{className:"absolute left-1/2 bottom-0 -translate-x-1/2 text-[10px] text-neutral-500",style:{paddingLeft:24},children:"Cost per thousand requests (CPM)"})]})]})},u=({point:e})=>{let{name:r,variant:n,accuracy:a,cpm:l,approx:s,logo:i,highlight:o}=e;return(0,t.jsxs)("div",{className:`inline-flex flex-col gap-px rounded border whitespace-nowrap bg-white ${o?"px-2 py-1.5":"px-1 py-0.5"}`,style:{borderColor:o?"#5E3454":"#E5E7EB",boxShadow:o?"0 0 0 1px #5E3454":"0 1px 2px rgba(15, 23, 42, 0.06)"},children:[(0,t.jsxs)("div",{className:`flex items-center ${o?"gap-1.5":"gap-1"}`,children:[(0,t.jsx)(h,{logo:i,highlight:o}),(0,t.jsx)("span",{className:`font-semibold tracking-tight leading-tight ${o?"text-[10px] md:text-[11px] text-[#5E3454]":"text-[8px] md:text-[9px] text-neutral-900"}`,children:r}),n?(0,t.jsx)("span",{className:`leading-tight text-neutral-400 ${o?"text-[8px] md:text-[9px]":"text-[6px] md:text-[7px]"}`,children:n}):null]}),(0,t.jsxs)("div",{className:`leading-tight ${o?"text-[8px] md:text-[9px] text-[#5E3454]/80":"text-[6px] md:text-[7px] text-neutral-400"}`,style:{paddingLeft:o?20:16},children:[a.toFixed(1),"% / ",c(l,s)," CPM"]})]})},h=({logo:e,highlight:r})=>{let n=r?14:10;if("image"===e.kind){let r=n-(e.pad??0)*2;return(0,t.jsx)("span",{className:"inline-flex items-center justify-center rounded-sm overflow-hidden",style:{width:n,height:n,background:e.bg??"#fff"},children:(0,t.jsx)("img",{src:e.src,alt:"",width:r,height:r,className:"object-contain",style:{width:r,height:r}})})}return(0,t.jsx)("span",{className:"inline-flex items-center justify-center rounded-sm text-[7px] font-bold",style:{width:n,height:n,background:r?"#5E3454":e.bg,color:e.color||"#fff"},children:e.letter})};e.s(["DracoCostVsAccuracyChart",0,()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"h-full md:hidden",children:(0,t.jsx)(d,{})}),(0,t.jsx)("div",{className:"hidden h-full md:block",children:(0,t.jsx)(m,{})})]})],868602);let p="var(--font-v2-mono), ui-monospace, monospace";e.s(["V2BenchmarkBars",0,({rows:e,caption:r,yAxisMax:n=100})=>{let a=n>0?n:100;return(0,t.jsxs)(t.Fragment,{children:[r&&(0,t.jsx)("div",{className:"mb-[26px] text-[12px] font-medium leading-none text-[#9a96a0]",style:{fontFamily:p},children:r}),(0,t.jsx)("div",{className:"flex flex-col gap-5",children:e.map((e,r)=>{let n=e.name.toLowerCase().startsWith("valyu"),l=Math.max(0,Math.min(100,e.value/a*100));return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-[9px] flex items-baseline justify-between gap-3",children:[(0,t.jsx)("span",{className:"text-[15px]",style:{fontWeight:n?600:500,color:n?"#17141A":"#54525c"},children:e.name}),(0,t.jsxs)("span",{className:"flex-none text-[14px] font-medium",style:{fontFamily:p,color:n?"#5E3454":"#8C8A93"},children:[e.value,"%",e.cost?`  \xb7  ${e.cost}`:""]})]}
9),(0,t.jsx)("div",{className:"h-4 bg-[#E7E5EA]",children:(0,t.jsx)("div",{className:"h-full transition-[width] duration-500 ease-out",style:{width:`${l}%`,background:n?"#5E3454":"#cdc6cf"}})})]},`${e.name}-${r}`)})})]})}],364112)},122790,e=>{"use strict";var t=e.i(116906),r=e.i(530941),n=e.i(504440);e.s(["VideoMedia",0,e=>{let{onClick:a,resource:l,videoClassName:s}=e,i=(0,n.useRef)(null);if((0,n.useEffect)(()=>{let{current:e}=i;e&&(e.play().catch(()=>{}),e.addEventListener("suspend",()=>{}))},[]),l&&"object"==typeof l){let{filename:e,url:n}=l,o=n||(e?`/media/${e}`:"");return(0,t.jsx)("video",{autoPlay:!0,className:(0,r.cn)(s),controls:!0,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:i,children:(0,t.jsx)("source",{src:o,type:"video/mp4"})})}return null}])},151641,e=>{"use strict";var t=e.i(116906),r=e.i(504440),n=e.i(530941),a=e.i(809017),l=e.i(656447);let s=e=>{let r,s,{alt:i,fill:o,pictureClassName:c,imgClassName:d,priority:m,resource:u,size:h,src:p,loading:x}=e,f=i,g=p||"",b=u&&"object"==typeof u&&"image/gif"===u.mimeType,y=b&&"object"==typeof u?u.animatedWebpUrl??void 0:void 0;if(!g&&u&&"object"==typeof u){let{alt:e,height:t,url:n,width:a}=u;r=a,s=t,f=e||"";let i=u.updatedAt;g=n?n.startsWith("http")?`${n}?${i}`:`${(0,l.getClientSideURL)()}${n}?${i}`:""}return(0,t.jsxs)("picture",{className:(0,n.cn)(c,b&&"block mx-auto w-full"),children:[y&&(0,t.jsx)("source",{srcSet:y,type:"image/webp"}),(0,t.jsx)(a.default,{alt:f||"",className:(0,n.cn)(d,b&&"block mx-auto w-full h-auto"),fill:o,height:o?void 0:s,placeholder:b?"empty":"blur",blurDataURL:b?void 0:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",priority:m,quality:80,loading:x||(m?void 0:"lazy"),sizes:h||"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",src:g,width:o?void 0:r,unoptimized:b||void 0})]})};var i=e.i(122790);e.s(["Media",0,e=>{let{className:n,htmlElement:a="div",resource:l}=e,o="object"==typeof l&&l?.mimeType?.includes("video"),c=a||r.Fragment;return(0,t.jsx)(c,{...null!==a?{className:n}:{},children:o?(0,t.jsx)(i.VideoMedia,{...e}):(0,t.jsx)(s,{...e})})}],151641)},760207,e=>{"use strict";e.s(["default",()=>E],760207);var t=e.i(116906),r=e.i(530941),n=e.i(151641),a=e.i(436022);let l=[".mp4",".webm",".ogg",".mov"],s=e=>{let s,{captionClassName:i,className:o,enableGutter:c=!0,imgClassName:d,media:m,mediaType:u,url:h,staticImage:p,disableInnerContainer:x}=e;m&&"object"==typeof m&&(s=m.caption);let f="link"===u&&h,g="object"==typeof m&&m&&"url"in m?m.url:void 0,b="object"==typeof p?p?.src:void 0,y=g||b,v=("object"==typeof m&&m&&"alt"in m?m.alt:"")||"",j="object"==typeof m&&!!m&&"mimeType"in m&&m.mimeType?.includes("video"),w=!f&&!j&&!!y;return(0,t.jsxs)("div",{className:(0,r.cn)("",{container:c},o),children:[f?!function(e){try{let t=new URL(e).pathname.toLowerCase();return l.some(e=>t.endsWith(e))}catch{return l.some(t=>e.toLowerCase().includes(t))}}(h)?(0,t.jsx)("img",{alt:"",className:(0,r.cn)(d),src:h}):(0,t.jsx)("video",{autoPlay:!0,className:(0,r.cn)(d),controls:!0,loop:!0,muted:!0,playsInl
9ine:!0,children:(0,t.jsx)("source",{src:h})}):(m||p)&&(w&&y?(0,t.jsx)(a.LightboxImage,{src:y,alt:v,children:(0,t.jsx)(n.Media,{imgClassName:(0,r.cn)("border",d),resource:m,src:p})}):(0,t.jsx)(n.Media,{imgClassName:(0,r.cn)("border",d),resource:m,src:p})),s&&(0,t.jsx)("div",{className:(0,r.cn)("mt-3 text-center text-sm italic text-black",{container:!x},i),children:(0,t.jsx)(E,{data:s,enableGutter:!1,enableProse:!1})})]})},i=({internalDocToHref:e})=>({autolink:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),a=e.fields.newTab?"noopener noreferrer":void 0,l=e.fields.newTab?"_blank":void 0;return(0,t.jsx)("a",{href:e.fields.url,rel:a,target:l,children:n})},link:({node:r,nodesToJSX:n})=>{let a=n({nodes:r.children}),l=r.fields.newTab?"noopener noreferrer":void 0,s=r.fields.newTab?"_blank":void 0,i=r.fields.url??"";return"internal"===r.fields.linkType&&(e?i=e({linkNode:r}):(console.error("Lexical => JSX converter: Link converter: found internal link, but internalDocToHref is not provided"),i="#")),(0,t.jsx)("a",{href:i,rel:l,target:s,children:a})}});var o=e.i(504440);let c={horizontalrule:(0,t.jsx)("hr",{})},d={linebreak:(0,t.jsx)("br",{})};var m=e.i(990033);let u="֑-߿יִ-﷽ﹰ-ﻼ",h="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿";RegExp("^[^"+h+"]*["+u+"]"),RegExp("^[^"+u+"]*["+h+"]");let p={paragraph:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return n?.length?(0,t.jsx)("p",{children:n}):(0,t.jsx)("p",{children:(0,t.jsx)("br",{})})},text:({node:e})=>{let r=e.text;return 1&e.format&&(r=(0,t.jsx)("strong",{children:r})),2&e.format&&(r=(0,t.jsx)("em",{children:r})),4&e.format&&(r=(0,t.jsx)("span",{style:{textDecoration:"line-through"},children:r})),8&e.format&&(r=(0,t.jsx)("span",{style:{textDecoration:"underline"},children:r})),16&e.format&&(r=(0,t.jsx)("code",{children:r})),32&e.format&&(r=(0,t.jsx)("sub",{children:r})),64&e.format&&(r=(0,t.jsx)("sup",{children:r})),r},...d,quote:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("blockquote",{children:n})},table:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("div",{className:"lexical-table-container",children:(0,t.jsx)("table",{className:"lexical-table",style:{borderCollapse:"collapse"},children:(0,t.jsx)("tbody",{children:n})})})},tablecell:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),a=e.headerState>0?"th":"td",l=`lexical-table-cell-header-${e.headerState}`,s={backgroundColor:e.backgroundColor||void 0,border:"1px solid #ccc",padding:"8px"},i=e.colSpan&&e.colSpan>1?e.colSpan:void 0,o=e.rowSpan&&e.rowSpan>1?e.rowSpan:void 0;return(0,t.jsx)(a,{className:`lexical-table-cell ${l}`,colSpan:i,rowSpan:o,style:s,children:n})},tablerow:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("tr",{className:"lexical-table-row",children:n})},heading:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),a=e.tag;return(0,t.jsx)(a,{children:n})},...c,list:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),a=e.tag;return(0,t.jsx)(a,{className:`list-${e?.listType}`,children:n})},listitem:({node:e,nodesToJSX:r,parent:n})=>{let a=e.children.some(e=>"list"===e.type),l=r({nodes:e.children});if(!("listType"in n)||n?.listType!=="check")return(0,t.jsx)("li",{className:`${a?"nestedListItem":""}`,style:a?{listStyleType:"none"}:void 0,value:e?.value,children:l});{let r=(0,m.v4)();return(0,t.jsx)("li",{"aria-checked":e.checked?"true":"false",className:`list-item-checkbox${e.checked?" list-item-checkbox-checked":" list-item-checkbox-unchecked"}${a?" nestedListItem":""}`,role:"checkbox",style:{listStyleType:"none"},tabIndex:-1,value:e?.value,children:a?l:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{checked:e.checked,id:r,readOnly:!0,type:"checkbox"}),(0,t.jsx)("label",{htmlFor:r,children:l}),(0,t.jsx)("br",{})]})})}},...i({}),upload:({node:e})=>{if("object"!=typeof e.value)return null;let r=e.value,n=e.fields?.alt||r?.alt||"",a=r.url;if(!r.mimeType.startsWith("image"))return(0,t.jsx)("a",{href:a,rel:"noopener noreferrer",children:r.filename});if(!r.sizes||!Object.keys(r.sizes).length)return(0,t.jsx)("img",{alt:n,height:r.height,src:a,width:r.width});let l=[];for(let e in r.sizes){let n=r.sizes[e];if(!n||!n.width||!n.height||!n.mimeType||!n.filesize||!n.filename||!n.url)continue;let a=n?.url;l.push((0,t.jsx)("source",{media:`(max-width: ${n.width}px)`,srcSet:a,type:n.mimeType},e))}return l.push((0,t.jsx)("img",{alt:n,height:r?.height,src:a,width:r?.width},"image")),(0,t.jsx)("picture",{children:l})},tab:"	"};function x(e){return r=>{if(e.Component){let t={...r,isEditor:!1,isJSXConverter:!0};return e.Component(t)}if(e.Block){let t=r.node,n={childIndex:r.childIndex,converters:r.converters,formData:t.fields??{},isEditor:!1,isJSXConverter:!0,node:t,nodesToJSX:r.nodesToJSX,parent:r.parent};return o.default.createElement(e.Block,n)}if(e.html){let n={...r,isEditor:!1,isJSXConverter:!0},a="function"==typeof e.html?e.html(n):e.html;return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})}return null}}function f({className:e,converters:r,data:n,disableContainer:a,disableIndent:l,disableTextAlign:s,nodeMap:i}){if(!n)return null;
9let c={};c=r?"function"==typeof r?r({defaultConverters:p}):r:p;let d=n&&!Array.isArray(n)&&"object"==typeof n&&"root"in n&&function({converters:e,data:r,disableIndent:n,disableTextAlign:a,nodeMap:l}){if(function(e){if(!e?.root?.children?.length)return!1;let t=!1;if(e?.root?.children?.length===1&&e?.root?.children[0]?.type==="paragraph"){let r=e?.root?.children[0];if(r?.children&&r?.children?.length!==0){if(r?.children?.length===1){let e=r?.children[0];e?.type!=="text"||e?.text?.length||(t=!0)}}else t=!0}return!t}(r)){let s=l?function(e){let r={};for(let[n,a]of Object.entries(e))if(a&&"object"==typeof a){if("blocks"===n){for(let[e,t]of(r.blocks={},Object.entries(a)))(t.Component||t.Block||t.html)&&(r.blocks[e]=x(t));continue}if("inlineBlocks"===n){for(let[e,t]of(r.inlineBlocks={},Object.entries(a)))(t.Component||t.Block||t.html)&&(r.inlineBlocks[e]=x(t));continue}(a.Component||a.html)&&(r[n]=function(e){return r=>{let n={...r,isEditor:!1,isJSXConverter:!0};if(e.Component)return e.Component(n);if(e.html){let r="function"==typeof e.html?e.html(n):e.html;return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})}return null}}(a))}return r}(l):void 0;return function e({converters:r,disableIndent:n,disableTextAlign:a,nodes:l,parent:s}){let i=r.unknown;return l.map((l,c)=>{let d;"block"===l.type?(d=r?.blocks?.[l?.fields?.blockType])||i||console.error(`Lexical => JSX converter: Blocks converter: found ${l?.fields?.blockType} block, but no converter is provided`):"inlineBlock"===l.type?(d=r?.inlineBlocks?.[l?.fields?.blockType])||i||console.error(`Lexical => JSX converter: Inline Blocks converter: found ${l?.fields?.blockType} inline block, but no converter is provided`):d=r[l.type];try{let m;!d&&i&&(d=i),m=d?"function"==typeof d?d({childIndex:c,converters:r,node:l,nodesToJSX:t=>e({converters:t.converters??r,disableIndent:t.disableIndent??n,disableTextAlign:t.disableTextAlign??a,nodes:t.nodes,parent:t.parent??{...l,parent:s}}),parent:s}):d:(0,t.jsx)("span",{children:"unknown node"},c);let u={};if(!a&&(!Array.isArray(a)||!a?.includes(l.type))&&"format"in l&&l.format)switch(l.format){case"center":u.textAlign="center";break;case"end":case"right":u.textAlign="right";break;case"justify":u.textAlign="justify";break;case"left":break;case"start":u.textAlign="left"}if(!n&&(!Array.isArray(n)||!n?.includes(l.type))&&"indent"in l&&l.indent&&"listitem"!==l.type&&(u.paddingInlineStart=`${40*Number(l.indent)}px`),o.default.isValidElement(m)){if(u.textAlign||u.paddingInlineStart){let e={...u,...m?.props?.style??{}};return o.default.cloneElement(m,{key:c,style:e})}return o.default.cloneElement(m,{key:c})}return m}catch(e){return console.error("Error converting lexical node to JSX:",e,"node:",l),null}}).filter(Boolean)}({converters:s?{...e,...s,blocks:{...e.blocks,...s.blocks},inlineBlocks:{...e.inlineBlocks,...s.inlineBlocks}}:e,disableIndent:n,disableTextAlign:a,nodes:r.root.children,parent:r.root})}return(0,t.jsx)(t.Fragment,{})}({converters:c,data:n,disableIndent:l,disableTextAlign:s,nodeMap:i});return a?(0,t.jsx)(t.Fragment,{children:d}):(0,t.jsx)("div",{className:e??"payload-richtext",children:d})}var g=e.i(265978);let b=({className:e,code:r,language:n})=>(0,t.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,t.jsx)(g.Code,{code:r,language:n})}),y=({className:e,content:n,style:a})=>(0,t.jsx)("div",{className:(0,r.cn)("mx-auto my-8 w-full",e),children:(0,t.jsx)("div",{className:(0,r.cn)("border py-3 px-6 flex items-center rounded",{"border-border bg-card":"info"===a,"border-error bg-error/30":"error"===a,"border-success bg-success/30":"success"===a,"border-warning bg-warning/30":"warning"===a}),children:(0,t.jsx)(E,{data:n,enableGutter:!1,enableProse:!1})})}),v=o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("div",{className:"relative w-full overflow-auto",children:(0,t.jsx)("table",{ref:a,className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})}));v.displayName="Table";let j=o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("thead",{ref:a,className:(0,r.cn)("[&_tr]:border-b [&_tr]:border-dashed",e),...n}));j.displayName="TableHeader";let w=o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("tbody",{ref:a,className:(0,r.cn)("[&_tr:last-child]:border-0",e),...n}));w.displayName="TableBody",o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("tfoot",{ref:a,className:(0,r.cn)("border-t border-dashed bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...n})).displayName="TableFooter";let A=o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("tr",{ref:a,className:(0,r.cn)("border-b border-dashed transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...n}));A.displayName="TableRow";let N=o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("th",{ref:a,className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...n}));N.displayName="TableHead";let k=o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("td",{ref:a,className:(0,r.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...n}));k.displayName="TableCell",o.forwardRef(({className:e,...n},a)=>(0,t.jsx)("caption",{ref:a,className:(0,r.cn)("mt-4 text-sm text-muted-foreground",e),...n})).displayName="TableCaption";let S=e=>e?.children?e.children.flatMap(e=>e?.children?e.children.filter(e=>"text"===e.type).map(e=>e.text||""):[]).join(" "):"",_=({node:e})=>
9{if(!e)return null;let r=(e=>{if(e.children?.some(e=>"tablerow"===e.type))return e.children.filter(e=>"tablerow"===e.type).map(e=>e.children?.filter(e=>"tablecell"===e.type)||[]);if("tablerow"===e.type)return[e.children?.filter(e=>"tablecell"===e.type)||[]];if(e.value?.children?.some(e=>"tablerow"===e.type))return e.value.children.filter(e=>"tablerow"===e.type).map(e=>e.children?.filter(e=>"tablecell"===e.type)||[]);if(e.children){for(let t of e.children)if(t.children?.some(e=>"tablerow"===e.type))return t.children.filter(e=>"tablerow"===e.type).map(e=>e.children?.filter(e=>"tablecell"===e.type)||[])}return[]})(e);if(!r.length)return null;let n=r.length>0&&r[0]?.some?.(e=>1===e.headerState||3===e.headerState);return(0,t.jsx)("div",{className:"my-8 overflow-hidden rounded-xl border border-zinc-200/70 bg-white/95 shadow-sm backdrop-blur-sm",children:(0,t.jsxs)(v,{className:"w-full border-collapse text-left text-sm my-0",children:[n&&r[0]&&(0,t.jsx)(j,{className:"border-b border-solid border-zinc-200/70",style:{background:"linear-gradient(to bottom, white, rgba(250,250,250,0.85))"},children:(0,t.jsx)(A,{className:"bg-transparent hover:bg-transparent",children:r[0].map((e,r)=>(0,t.jsx)(N,{className:"px-6 py-3.5 text-sm font-semibold text-zinc-700 first:rounded-tl-xl first:pl-4 last:pr-3 last:rounded-tr-xl",children:S(e)},r))})}),(0,t.jsx)(w,{children:r.slice(+!!n).map((e,r)=>(0,t.jsx)(A,{className:"border-b border-solid border-zinc-200/60 bg-white/80 transition-all last:border-b-0 hover:bg-primary/5 even:bg-zinc-50/90",children:e.map((e,r)=>(0,t.jsx)(k,{className:"px-6 py-3.5 text-sm text-zinc-700 first:pl-4 last:pr-3",children:S(e)},r))},r))})]})})},C=({linkNode:e})=>{let{value:t,relationTo:r}=e.fields.doc??{value:null,relationTo:null};if(!t)return console.debug("RichText: missing doc value for internal link; outputting # placeholder"),"#";if("object"!=typeof t||!t.slug)return console.debug("RichText: missing populated doc object for internal link; outputting # placeholder"),"#";let n=t.slug;return"blogs"===r?`/blogs/${n}`:`/${n}`},R=({defaultConverters:e})=>{let r={...e,...i({internalDocToHref:C}),blocks:{banner:({node:e})=>(0,t.jsx)(y,{className:"col-start-2 mb-4",...e.fields}),mediaBlock:({node:e})=>(0,t.jsx)(s,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e.fields,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0}),code:({node:e})=>(0,t.jsx)(b,{className:"col-start-2",...e.fields})}};r.upload=({node:e})=>{let r="object"==typeof e.value?e.value:null;if(!r)return null;let l=r.url;if(!r.mimeType?.startsWith("image"))return(0,t.jsx)("a",{href:l,rel:"noopener noreferrer",children:r.filename});let s=r.caption,i=s?.root?.children?.map(e=>e.children?.map(e=>e.text).join("")||"").join(" ").trim(),o=r.alt||r.filename||"",c=(0,t.jsx)(a.LightboxImage,{src:l,alt:o,width:r.width,height:r.height,children:(0,t.jsx)(n.Media,{htmlElement:null,resource:r,alt:o,imgClassName:"w-full h-auto max-w-full",size:"(max-width: 768px) 100vw, 768px"})});return i?(0,t.jsxs)("figure",{className:"my-4",children:[c,(0,t.jsx)("figcaption",{className:"mt-2 text-center text-sm italic text-black",children:i})]}):c};let l=r.text;r.text=({node:e,...r})=>{let n="function"==typeof l?l({node:e,...r}):e.text;if(e.style){let r=[];if(e.style.split(";").forEach(e=>{let[t,n]=e.split(":").map(e=>e.trim());t&&n&&r.push(`${t}: ${n} !important`)}),r.length>0){let e=`richtext-inline-style-${Math.random().toString(36).slice(2,8)}`;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:`.${e}, .${e} * { ${r.join("; ")} }`}),(0,t.jsx)("span",{className:e,children:n})]})}}return n},r.table=({node:e})=>(0,t.jsx)(_,{node:e}),r.tableNode=({node:e})=>(0,t.jsx)(_,{node:e});let o=r.root;return r.root=({node:e,...r})=>(e?.children&&e.children.forEach((r,n)=>{(r?.type==="table"||r?.format==="table"||r?.children?.some(e=>"tablerow"===e.type))&&!r.__lexicalTableProcessed&&(r.__lexicalTableProcessed=!0,e.children[n]={...r,__jsx:(0,t.jsx)(_,{node:r})})}),o({node:e,...r})),r};function E(e){let{className:n,enableProse:a=!0,enableGutter:l=!0,...s}=e;return(0,t.jsx)(f,{converters:R,className:(0,r.cn)("payload-richtext",{container:l,"prose md:prose-lg":a,"max-w-none":a,"[&_a]:text-primary [&_a:hover]:text-primary/80 [&_a]:underline [&_a]:decoration-primary/30 [&_a:hover]:decoration-primary":a,"[&_h1]:!font-medium":a,"[&_h2]:!font-medium":a,"[&_h2]:!mt-[1em]":a,"[&_h2 strong]:!font-medium":a,"[&_h2 b]:!font-medium":a,"[&_h2]:!mb-[0.375em]":a,"[&_code]:font-mono [&_code]:text-sm [&_code]:text-emerald-400 [&_code]:bg-zinc-800/60 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:rounded-md [&_code]:border [&_c
9ode]:border-zinc-700/50":!0,"[&_code]:before:content-none [&_code]:after:content-none":!0},n),...s})}}]);

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.