PageSourceSearch

https://artificialanalysis.ai/_next/static/chunks/71526-d0aa5f2ef0a3fd2f.js

js artificialanalysis.ai collected 2026-09-24 15:16:09 UTC 11,976 bytes, 2 lines download raw bytes

1!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]="01a0d3f6-06ee-7761-8512-dacd8f2aad77")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71526],{719:(e,t,s)=>{s.d(t,{t:()=>l});var a=s(28071),r=s(98746);let n=0,l=(0,a.v)((e,t)=>({visible:!1,phase:"processing",plan:"plus",onDismiss:null,show:t=>{let{plan:s,verify:a,pollContext:r,onDismiss:l}=t,i=n+=1;e({visible:!0,phase:"processing",plan:s,onDismiss:null!=l?l:null}),o(i,a,r)},dismiss:()=>{n+=1;let{onDismiss:s}=t();e({visible:!1,phase:"processing",onDismiss:null}),null==s||s()}}));async function o(e,t,s){let a=await i(t,e=>e);e===n&&(a||r.Ay.capture("aa_plans.upgrade_poll_timeout",{plan:s.plan,billing_interval:s.billingInterval,seats:s.seats,org_id:s.orgId}),l.setState({phase:"success"}))}async function i(e,t){let{maxAttempts:s=8,intervalMs:a=1e3}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(let n=0;n<s;n++){try{if(t(await e()))return!0}catch(e){r.Ay.captureException(e,{context:"poll_until",attempt:n+1,maxAttempts:s})}n<s-1&&await new Promise(e=>setTimeout(e,a))}return!1}},5300:(e,t,s)=>{s.d(t,{useRouter:()=>o});var a=s(36772),r=s(35908),n=s(25776),l=s(76398);function o(){let e,t,s,o,i,c=(0,a.c)(16),u=(0,r.useRouter)(),d=(0,n.Ym)();c[0]!==d?(e=function(e){return(t,s)=>{e((0,l.l)(t,d),s)}},c[0]=d,c[1]=e):e=c[1];let p=e;return c[2]!==p||c[3]!==u.push?(t=p(u.push),c[2]=p,c[3]=u.push,c[4]=t):t=c[4],c[5]!==p||c[6]!==u.replace?(s=p(u.replace),c[5]=p,c[6]=u.replace,c[7]=s):s=c[7],c[8]!==p||c[9]!==u.prefetch?(o=p(u.prefetch),c[8]=p,c[9]=u.prefetch,c[10]=o):o=c[10],c[11]!==u||c[12]!==t||c[13]!==s||c[14]!==o?(i={...u,push:t,replace:s,prefetch:o},c[11]=u,c[12]=t,c[13]=s,c[14]=o,c[15]=i):i=c[15],i}},57181:(e,t,s)=>{s.d(t,{Hm:()=>u,OF:()=>o,a8:()=>l,rd:()=>n.useRouter});var a=s(87755),r=s(23139),n=s(5300);let{usePathname:l,useRouter:o,redirect:i,permanentRedirect:c,getPathname:u}=(0,a.A)(r.DT)},70512:(e,t,s)=>{s.d(t,{UpgradeCelebrationOverlay:()=>g});var a=s(58212),r=s(36772),n=s(96040),l=s(55082),o=s(20754),i=s(86212),c=s(79475),u=s(32080),d=s(27757),p=s(70400),m=s(719);function g(){let e,t,s,g,h,y,v,w,N,j,k,Y,_,A,D,E,z,R,C,L,S,T,B,I,O,W,H,J=(0,r.c)(122),{visible:K,phase:P,plan:U,dismiss:V}=(0,m.t)((0,o.k)(x)),X=(0,n.useRef)(null);if(J[0]!==P||J[1]!==K?(e=()=>{if(K&&"processing"===P)return window.addEventListener("beforeunload",f),()=>window.removeEventListener("beforeunload",f)},t=[K,P],J[0]=P,J[1]=K,J[2]=e,J[3]=t):(e=J[2],t=J[3]),(0,n.useEffect)(e,t),J[4]!==K?(s=()=>{if(!K)return;let e=document.activeElement;return()=>null==e?void 0:e.focus()},g=[K],J[4]=K,J[5]=s,J[6]=g):(s=J[5],g=J[6]),(0,n.useEffect)(s,g),J[7]!==K?(h=()=>
1{if(!K)return;let e=X.current;if(!e)return;let[t]=b(e);(null!=t?t:e).focus();let s=t=>{if("Tab"!==t.key)return;let s=b(e),[a]=s,r=s[s.length-1];if(!a||!r){t.preventDefault(),e.focus();return}let n=document.activeElement;t.shiftKey&&(n===a||!e.contains(n))?(t.preventDefault(),r.focus()):t.shiftKey||n!==r&&e.contains(n)||(t.preventDefault(),a.focus())};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},J[7]=K,J[8]=h):h=J[8],J[9]!==P||J[10]!==K?(y=[K,P],J[9]=P,J[10]=K,J[11]=y):y=J[11],(0,n.useEffect)(h,y),!K)return null;let $=d.NB[U].name,q="Artificial Analysis ".concat($);if(J[12]!==q||J[13]!==P||J[14]!==U){var F,G;let e,t,s,r,n,o,i,m,g,f,x,b,h,y,S,T,B,I,O,W;v=null!=(F=d.J6[U])?F:[];let H=null!=(G=u.WR[U])?G:u.WR.plus;j=X,k="dialog",Y="true",_="processing"===P?"Verifying payment":"Welcome to ".concat(q),A=-1,D="fixed inset-0 z-[100] flex items-center justify-center bg-black/80 outline-none";let K="processing"===P?"scale-100 opacity-100":"pointer-events-none scale-110 opacity-0";J[29]!==K?(e=(0,c.cn)("absolute transition-all duration-500 ease-out",K),J[29]=K,J[30]=e):e=J[30],J[31]!==H.label?(t=(0,c.cn)("mb-5",H.label),J[31]=H.label,J[32]=t):t=J[32],J[33]!==t?(s=(0,a.jsx)(p.g,{size:32,className:t}),J[33]=t,J[34]=s):s=J[34],J[35]!==H.label?(r=(0,c.cn)("h-5 w-5 animate-spin",H.label),J[35]=H.label,J[36]=r):r=J[36],J[37]!==r?(n=(0,a.jsx)(l.A,{className:r}),J[37]=r,J[38]=n):n=J[38],J[39]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.jsx)("p",{className:"mt-4 text-sm font-medium text-foreground",children:"Verifying payment"}),i=(0,a.jsx)("p",{className:"mt-1.5 text-xs text-muted-foreground",children:"Please don't navigate away"}),J[39]=o,J[40]=i):(o=J[39],i=J[40]),J[41]!==s||J[42]!==n?(m=(0,a.jsxs)("div",{className:"flex flex-col items-center rounded-lg border bg-background px-10 py-8 shadow-lg",children:[s,n,o,i]}),J[41]=s,J[42]=n,J[43]=m):m=J[43],J[44]!==e||J[45]!==m?(E=(0,a.jsx)("div",{className:e,children:m}),J[44]=e,J[45]=m,J[46]=E):E=J[46];let V="success"===P?"scale-100 opacity-100":"pointer-events-none scale-90 opacity-0";J[47]!==V?(N=(0,c.cn)("absolute w-full max-w-md px-4 transition-all duration-500 ease-out",V),J[47]=V,J[48]=N):N=J[48],C="rounded-lg border bg-background p-8 shadow-lg",J[49]!==H.label?(g=(0,c.cn)("mb-6 transition-all duration-500",H.label),J[49]=H.label,J[50]=g):g=J[50];let $=+("success"===P),M="success"===P?"translateY(0)":"translateY(6px)";J[51]!==$||J[52]!==M?(f={opacity:$,transform:M},J[51]=$,J[52]=M,J[53]=f):f=J[53],J[54]!==g||J[55]!==f?(x=(0,a.jsx)(p.g,{size:36,className:g,style:f}),J[54]=g,J[55]=f,J[56]=x):x=J[56],J[57]!==H.line?(b=(0,c.cn)("h-px transition-all duration-500 delay-100",H.line),J[57]=H.line,J[58]=b):b=J[58];let Q="success"===P?"2.5rem":"0rem";J[59]!==Q?(h={width:Q},J[59]=Q,J[60]=h):h=J[60],J[61]!==b||J[62]!==h?(y=(0,a.jsx)("div",{className:b,style:h}),J[61]=b,J[62]=h,J[63]=y):y=J[63],J[64]!==H.label?(S=(0,c.cn)("mt-5 text-xs font-medium uppercase tracking-[0.15em] transition-all duration-500 delay-150",H.label),J[64]=H.label,J[65]=S):S=J[65];let Z=+("success"===P),ee="success"===P?"translateY(0)":"translateY(4px)";J[66]!==Z||J[67]!==ee?(T={opacity:Z,transform:ee},J[66]=Z,J[67]=ee,J[68]=T):T=J[68],J[69]!==q||J[70]!==S||J[71]!==T?(B=(0,a.jsx)("p",{className:S,style:T,children:q}),J[69]=q,J[70]=S,J[71]=T,J[72]=B):B=J[72];let et=+("success"===P),es="success"===P?"translateY(0)":"translateY(6px)";J[73]!==et||J[74]!==es?(I=(0,a.jsx)("h2",{className:"mt-3 text-2xl font-bold tracking-tight text-foreground transition-all duration-500",style:{transitionDelay:"250ms",opacity:et,transform:es},children:"You're all set."}),J[73]=et,J[74]=es,J[75]=I):I=J[75];let ea=+("success"===P),er="success"===P?"translateY(0)":"translateY(6px)";J[76]!==ea||J[77]!==er?(O=(0,a.jsx)("p",{className:"mt-2 text-sm text-muted-foreground transition-all duration-500",style:{transitionDelay:"350ms",opacity:ea,transform:er},children:"Your plan is active. Here's what's now available to you."}),J[76]=ea,J[77]=er,J[78]=O):O=J[78],J[79]!==x||J[80]!==y||J[81]!==B||J[82]!==I||J[83]!==O?(L=(0,a.jsxs)("div",{className:"flex flex-col items-center text-center",children:[x,y,B,I,O]}),J[79]=x,J[80]=y,J[81]=B,J[82]=I,J[83]=O,J[84]=L):L=J[84];let en=+("success"===P),el="success"===P?"scaleX(1)":"scaleX(0.6)";J[85]!==en||J[86]!==el?(w=(0,a.jsx)("div",{className:"mt-6 h-px w-full bg-border transition-all duration-500",style:{transitionDelay:"400ms",opacity:en,transform:el}}),J[85]=en,J[86]=el,J[87]=w):w=J[87],z="mt-5 space-y-3.5",J[88]!==H.dot||J[89]!==P?(W=(e,t)=>
1(0,a.jsxs)("li",{className:"flex items-baseline gap-3 text-sm text-foreground transition-all duration-500",style:{transitionDelay:"".concat(500+80*t,"ms"),opacity:+("success"===P),transform:"success"===P?"translateY(0)":"translateY(6px)"},children:[(0,a.jsx)("span",{className:(0,c.cn)("block h-1 w-1 flex-shrink-0 translate-y-[-1px] rounded-full",H.dot)}),(0,a.jsx)("span",{className:"leading-snug",children:e})]},e),J[88]=H.dot,J[89]=P,J[90]=W):W=J[90],R=v.map(W),J[12]=q,J[13]=P,J[14]=U,J[15]=v,J[16]=w,J[17]=N,J[18]=j,J[19]=k,J[20]=Y,J[21]=_,J[22]=A,J[23]=D,J[24]=E,J[25]=z,J[26]=R,J[27]=C,J[28]=L}else v=J[15],w=J[16],N=J[17],j=J[18],k=J[19],Y=J[20],_=J[21],A=J[22],D=J[23],E=J[24],z=J[25],R=J[26],C=J[27],L=J[28];J[91]!==z||J[92]!==R?(S=(0,a.jsx)("ul",{className:z,children:R}),J[91]=z,J[92]=R,J[93]=S):S=J[93];let M="".concat(500+80*v.length+100,"ms"),Q=+("success"===P),Z="success"===P?"translateY(0)":"translateY(6px)";J[94]!==M||J[95]!==Q||J[96]!==Z?(T={transitionDelay:M,opacity:Q,transform:Z},J[94]=M,J[95]=Q,J[96]=Z,J[97]=T):T=J[97];let ee="success"!==P;return J[98]!==V||J[99]!==ee?(B=(0,a.jsx)(i.$,{onClick:V,disabled:ee,className:"h-10 w-full text-sm font-medium shadow",children:"Continue"}),J[98]=V,J[99]=ee,J[100]=B):B=J[100],J[101]!==T||J[102]!==B?(I=(0,a.jsx)("div",{className:"mt-8 transition-all duration-500",style:T,children:B}),J[101]=T,J[102]=B,J[103]=I):I=J[103],J[104]!==w||J[105]!==S||J[106]!==I||J[107]!==C||J[108]!==L?(O=(0,a.jsxs)("div",{className:C,children:[L,w,S,I]}),J[104]=w,J[105]=S,J[106]=I,J[107]=C,J[108]=L,J[109]=O):O=J[109],J[110]!==N||J[111]!==O?(W=(0,a.jsx)("div",{className:N,children:O}),J[110]=N,J[111]=O,J[112]=W):W=J[112],J[113]!==j||J[114]!==k||J[115]!==Y||J[116]!==_||J[117]!==A||J[118]!==D||J[119]!==E||J[120]!==W?(H=(0,a.jsxs)("div",{ref:j,role:k,"aria-modal":Y,"aria-label":_,tabIndex:A,className:D,children:[E,W]}),J[113]=j,J[114]=k,J[115]=Y,J[116]=_,J[117]=A,J[118]=D,J[119]=E,J[120]=W,J[121]=H):H=J[121],H}function f(e){e.preventDefault()}function x(e){return{visible:e.visible,phase:e.phase,plan:e.plan,dismiss:e.dismiss}}function b(e){return Array.from(e.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'))}},86935:(e,t,s)=>{s.d(t,{Toaster:()=>d});var a=s(58212),r=s(36772),n=s(60144),l=s(81340),o=s(60441),i=s(70366),c=s(55082),u=s(61082);let d=e=>{let t,s,d,p=(0,r.c)(4);return p[0]===Symbol.for("react.memo_cache_sentinel")?(t={success:(0,a.jsx)(n.A,{className:"size-5 shrink-0 fill-green-700 text-white"}),error:(0,a.jsx)(l.A,{className:"size-5 shrink-0 fill-red-700 text-white"}),info:(0,a.jsx)(o.A,{className:"size-5 shrink-0 fill-blue-700 text-white"}),warning:(0,a.jsx)(i.A,{className:"size-5 shrink-0 fill-amber-700 text-white"}),loading:(0,a.jsx)(c.A,{className:"size-5 shrink-0 animate-spin text-neutral-700"})},s={classNames:{toast:"group toast group-[.toaster]:!bg-white group-[.toaster]:!text-black group-[.toaster]:!font-brand-sans group-[.toaster]:!border group-[.toaster]:!border-black group-[.toaster]:!rounded-none group-[.toaster]:!shadow-none",success:"group-[.toaster]:data-[type=success]:!bg-green-50 group-[.toaster]:data-[type=success]:!border-green-500",error:"group-[.toaster]:data-[type=error]:!bg-red-50 group-[.toaster]:data-[type=error]:!border-red-500",info:"group-[.toaster]:data-[type=info]:!bg-blue-50 group-[.toaster]:data-[type=info]:!border-blue-500",warning:"group-[.toaster]:data-[type=warning]:!bg-amber-50 group-[.toaster]:data-[type=warning]:!border-amber-500",loading:"group-[.toaster]:data-[type=loading]:!bg-neutral-50",title:"!text-[15px] !font-medium !leading-tight",description:"group-[.toast]:!text-neutral-600 !text-[13px] !leading-snug !mt-0.5",actionButton:"group-[.toast]:!bg-black group-[.toast]:!text-white group-[.toast]:!rounded-none group-[.toast]:!font-medium group-[.toast]:!text-[12px] group-[.toast]:hover:!bg-black/90",cancelButton:"group-[.toast]:!bg-transparent group-[.toast]:!text-black group-[.toast]:!border group-[.toast]:!border-black group-[.toast]:!rounded-none group-[.toast]:!font-medium group-[.toast]:!text-[12px] group-[.toast]:hover:!bg-black group-[.toast]:hover:!text-white"}},p[0]=t,p[1]=s):(t=p[0],s=p[1]),p[2]!==e?(d=(0,a.jsx)(u.l$,{...e,className:"toaster group",icons:t,toastOptions:s}),p[2]=e,p[3]=d):d=p[3],d}},88459:(e,t,s)=>{s.d(t,{J:()=>a});
1class a extends Error{constructor(e){super("Unreachable code: ".concat(e))}}}}]);
2//# chunkId=01a0d3f6-06ee-7761-8512-dacd8f2aad77

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.