!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]="01a09f3e-7ae9-7402-8d10-8b7964963d94")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,427327,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(553215),a=e.i(528164),i=e.i(956506),s=e.i(252358),o=e.i(779100);e.i(406201);var l=e.i(806024),c=e.i(179492),d=e.i(439755),u=e.i(439042),m=e.i(93902);e.s(["BusinessClosingCta",0,function(){let e,h,x,g,f,p,v,b=(0,r.c)(13),y=(0,o.useLocale)();b[0]!==y?(e=(0,c.getHero)(y),b[0]=y,b[1]=e):e=b[1];let j=e,N=(0,s.usePosthogClient)();return b[2]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("h2",{className:"font-brand text-balance text-[length:var(--text-display)] font-bold leading-tight tracking-tight text-foreground md:text-[length:var(--text-hero)]",children:c.CLOSING.title}),b[2]=h):h=b[2],b[3]!==N?(x=()=>{N.capture(n.PostHogEvent.UpgradeToBusinessCtaClicked,{source:d.BUSINESS_LANDING_SOURCE.closing})},b[3]=N,b[4]=x):x=b[4],b[5]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(l.Link,{href:c.CLOSING.cta.href,children:c.CLOSING.cta.label}),b[5]=g):g=b[5],b[6]!==x?(f=(0,t.jsx)("div",{className:"mt-8 w-full sm:w-auto",children:(0,t.jsx)(a.Button,{size:"lg",className:"w-full sm:w-auto",onClick:x,render:g})}),b[6]=x,b[7]=f):f=b[7],b[8]!==j.microcopy?(p=(0,t.jsx)("p",{className:"mx-auto mt-5 max-w-[460px] text-[length:var(--text-body)] leading-relaxed text-muted-foreground",children:j.microcopy}),b[8]=j.microcopy,b[9]=p):p=b[9],b[10]!==f||b[11]!==p?(v=(0,t.jsx)("section",{className:"border-t border-border py-16 md:py-24",children:(0,t.jsx)(m.Container,{children:(0,t.jsx)(u.Reveal,{className:"mx-auto max-w-[820px]",children:(0,t.jsxs)(i.Card,{className:"flex flex-col items-center rounded-xl px-6 py-8 text-center md:py-10",children:[h,f,p]})})})}),b[10]=f,b[11]=p,b[12]=v):v=b[12],v}])},171738,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(956506),a=e.i(133974),i=e.i(779100),s=e.i(266698),o=e.i(699937),l=e.i(420028),c=e.i(270401),d=e.i(179492),u=e.i(81307),m=e.i(439042),h=e.i(93902);let x=s.motion.create(a.TableRow),g=s.motion.create(a.TableBody),f=d.PLAN_COLUMNS.indexOf("Business");function p(e){return e===f?"bg-[var(--accent-subtle)]":void 0}function v(e){let{group:r,rows:n}=e;return(0,t.jsxs)(c.Fragment,{children:[(0,t.jsxs)(x,{variants:m.rowVariants,className:"hover:bg-transparent",children:[(0,t.jsx)(a.TableCell,{colSpan:1,className:"pt-6 text-[length:var(--text-overline)] uppercase tracking-[0.08em] text-muted-foreground",children:r}),d.PLAN_COLUMNS.map(j)]}),n.map(b)]},r)}function b(e){return(0,t.jsxs)(x,{variants:m.rowVariants,children:[(0,t.jsx)(a.TableCell,{className:"text-[length:var(--text-body)] text-foreground",children:e.label}),e.cells.map(y)]},e.label)}function y(e,r){return(0,t.jsx)(a.TableCell,{className:["text-[length:var(--text-body)] text-muted-foreground",p(r)].filter(Boolean).join(" "),children:(0,t.jsx)(w,{cell:e})},d.PLAN_COLUMNS[r])}function j(e,r){return(0,t.jsx)(a.TableCell,{className:p(r)},e)}function N(e,r){return(0,t.jsx)(a.TableHead,{className:r===f?"bg-[var(--accent-subtle)] text-accent-foreground":void 0,children:e},e)}function S(e){return e.rows.length>0}function _(e){return!e.gatedBy||u.FEATURES[e.gatedBy]}function C(e){let a,i,s,o,l,u=(0,r.c)(14),{groups:m}=e,[h,x]=(0,c.useState)(-1===f?0:f);if(u[0]!==h?(a=d.PLAN_COLUMNS.map((e,r)=>{let n=r===h;return(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":n,onClick:()=>x(r),className:["min-h-10 flex-1 rounded-[var(--radius-sm)] px-2 text-[length:var(--text-body)] transition-colors",n?"bg-background text-accent-foreground shadow-sm":"text-muted-foreground"].join(" "),children:e},e)}),u[0]=h,u[1]=a):a=u[1],u[2]!==a?(i=(0,t.jsx)("div",{role:"tablist","aria-label":"Plan",className:"flex gap-1 rounded-[var(--radius-md)] bg-muted p-0.5",children:a}),u[2]=a,u[3]=i):i=u[3],u[4]!==m||u[5]!==h){let e;u[7]!==h?(e=(e,r)=>{let{group:n,rows:a}=e;return(0,t.jsxs)("div",{className:0===r?void 0:"mt-5",children:[(0,t.jsx)("p",{className:"text-[length:var(--text-overline)] uppercase tracking-[0.08em] text-muted-foreground",children:n}),(0,t.jsx)("dl",{className:"mt-2 flex flex-col gap-2",children:a.map(e=>{let r=e.cells[h];return(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-4",children:[(0,t.jsx)("dt",{className:"text-[length:var(--text-body)] text-muted-foreground",children:e.label}),(0,t.jsx)("dd",{className:"shrink-0 text-right text-[length:var(--text-body)] text-foreground",children:void 0===r?null:(0,t.jsx)(w,{cell:r})})]},e.label)})})]},n)},u[7]=h,u[8]=e):e=u[8],s=m.map(e),u[4]=m,u[5]=h,u[6]=s}else s=u[6];return u[9]!==s?(o=(0,t.jsx)(n.Card,{className:"mt-4 p-5",children:s}),u[9]=s,u[10]=o):o=u[10],u[11]!==i||u[12]!==o?(l=(0,t.jsxs)("div",{children:[i,o]}),u[11]=i,u[12]=o,u[13]=l):l=u[13],l}function w(e){let n,a=(0,r.c)(4),{cell:i}=e,s=i.value.toLowerCase();if("yes"===s){let e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Check,{"aria-hidden":!0,className:"size-4 text-[var(--positive-text)]"}),(0,t.jsx)("span",{className:"sr-only",children:"Yes"})]}),a[0]=e):e=a[0],e}if("no"===s){let e;return a[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Minus,{"aria-hidden":!0,className:"size-4 text-muted-foreground"}),(0,t.jsx)("span",{className:"sr-only",children:"No"})]}),a[1]=e):e=a[1],e}return a[2]!==i.value?(n=(0,t.jsx)(t.Fragment,{children:i.value}),a[2]=i.value,a[3]=n):n=a[3],n}e.s(["BusinessCompareTable",0,function(){let e,n,s,o,l,c,u,x,f,p,b=(0,r.c)(26),y=(0,i.useLocale)(),j=(0,d.getCompareRows)(y).filter(_),w=(0,m.useReducedSafe)(),k=d.COMPARE_GROUP_ORDER.map(e=>({group:e,rows:j.filter(t=>t.group===e)})).filter(S),E=h.Section;b[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(h.SectionHeading,{overline:"Compare",title:"What changes between plans",lead:"Most of the platform is identical across plans. This is what changes, and what does not."}),b[0]=e):e=b[0];let R=a.Table;b[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(a.TableHeader,{children:(0,t.jsxs)(a.TableRow,{children:[(0,t.jsx)(a.TableHead,{className:"w-[34%]",children:"Feature"}),d.PLAN_COLUMNS.map(N)]})}),b[1]=n):n=b[1];let A=!w&&"hidden";b[2]!==w?(s=w?{animate:"shown"}:{whileInView:"shown"},b[2]=w,b[3]=s):s=b[3],b[4]===Symbol.for("react.memo_cache_sentinel")?(o={once:!0,margin:"-60px"},l={},b[4]=o,b[5]=l):(o=b[4],l=b[5]),b[6]!==w?(c={hidden:l,shown:{transition:w?{}:{staggerChildren:.025}}},b[6]=w,b[7]=c):c=b[7];let U=k.map(v);return b[8]!==g||b[9]!==U||b[10]!==A||b[11]!==s||b[12]!==o||b[13]!==c?(u=(0,t.jsx)(g,{initial:A,...s,viewport:o,variants:c,children:U}),b[8]=g,b[9]=U,b[10]=A,b[11]=s,b[12]=o,b[13]=c,b[14]=u):u=b[14],b[15]!==R||b[16]!==u||b[17]!==n?(x=(0,t.jsx)("div",{className:"mt-12 hidden md:block",children:(0,t.jsxs)(R,{children:[n,u]})}),b[15]=R,b[16]=u,b[17]=n,b[18]=x):x=b[18],b[19]!==k?(f=(0,t.jsx)("div",{className:"mt-10 md:hidden",children:(0,t.jsx)(C,{groups:k})}),b[19]=k,b[20]=f):f=b[20],b[21]!==E||b[22]!==x||b[23]!==f||b[24]!==e?(p=(0,t.jsxs)(E,{id:"compare",className:"border-t border-border",children:[e,x,f]}),b[21]=E,b[22]=x,b[23]=f,b[24]=e,b[25]=p):p=b[25],p}])},894184,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(553215),a=e.i(617353),i=e.i(252358);e.i(406201);var s=e.i(806024),o=e.i(439755);e.s(["BusinessFaqList",0,function(e){let l,c,d=(0,r.c)(7),{items:u}=e,m=(0,i.usePosthogClient)();if(d[0]!==u||d[1]!==m){let e;d[3]!==m?(e=e=>(0,t.jsxs)(a.AccordionItem,{value:e.q,children:[(0,t.jsx)(a.AccordionTrigger,{className:"text-left",children:e.q}),(0,t.jsxs)(a.AccordionContent,{children:[(0,t.jsx)("p",{className:"text-[length:var(--text-body)] leading-relaxed text-muted-foreground",children:e.a}),void 0===e.links||0===e.links.length?null:(0,t.jsx)("div",{className:"mt-3 flex flex-wrap items-center gap-x-4 gap-y-2",children:e.links.map(e=>(0,t.jsx)(s.Link,{href:e.href,onClick:()=>{m.capture(n.PostHogEvent.RegionalRoutingDocsClicked,{source:o.BUSINESS_LANDING_SOURCE.faq,link_text:e.label})},className:"text-[length:var(--text-body)] text-foreground underline decoration-muted-foreground/40 underline-offset-4 transition-colors hover:decoration-foreground",children:e.label},e.href))})]})]},e.q),d[3]=m,d[4]=e):e=d[4],l=u.map(e),d[0]=u,d[1]=m,d[2]=l}else l=d[2];return d[5]!==l?(c=(0,t.jsx)(a.Accordion,{type:"single",collapsible:!0,className:"mx-auto mt-8 max-w-[820px]",children:l}),d[5]=l,d[6]=c):c=d[6],c}])},904207,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(553215),a=e.i(956506),i=e.i(252358),s=e.i(191379),o=e.i(202913);let l=(0,o.default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);var c=e.i(863458);let d=(0,o.default)("file-check-corner",[["path",{d:"M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6",key:"g5mvt7"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m14 20 2 2 4-4",key:"15kota"}]]);var u=e.i(213648);e.i(406201);var m=e.i(806024),h=e.i(179492),x=e.i(81307),g=e.i(439755),f=e.i(439042);let p={"in-region":u.Globe,workspaces:c.Building2,notifications:l,dpa:d},v={"in-region":"border-[var(--chart-1)]/20 bg-[var(--chart-1)]/12",workspaces:"border-[var(--chart-2)]/20 bg-[var(--chart-2)]/12",notifications:"border-[var(--chart-4)]/20 bg-[var(--chart-4)]/12",dpa:"border-[var(--chart-8)]/20 bg-[var(--chart-8)]/12"};function b(e){return!e.gatedBy||x.FEATURES[e.gatedBy]}e.s(["BusinessFeatureCards",0,function(){let e,o,l,c,d,u=(0,r.c)(10),x=(0,i.usePosthogClient)();if(u[0]!==x){let r=h.FEATURE_CARDS.filter(b),i=r.length>=4?"lg:grid-cols-4":"lg:grid-cols-3";e=f.Stagger,o=.07,l=`grid items-stretch gap-4 sm:grid-cols-2 ${i}`,c=r.map(e=>{let r=p[e.id];return(0,t.jsx)(f.StaggerItem,{className:"h-full",children:(0,t.jsxs)(a.Card,{className:"flex h-full flex-col p-5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[void 0===r?null:(0,t.jsx)("span",{className:`flex size-9 shrink-0 items-center justify-center rounded-[var(--radius-md)] border text-muted-foreground ${v[e.id]??"border-border bg-muted"}`,children:(0,t.jsx)(r,{"aria-hidden":!0,className:"size-4"})}),(0,t.jsx)("h3",{className:"text-[length:var(--text-heading)] font-semibold leading-snug text-foreground",children:e.title})]}),(0,t.jsx)("p",{className:"mt-3 text-[length:var(--text-body)] leading-[var(--leading-body)] text-muted-foreground",children:e.body}),void 0===e.links||0===e.links.length?null:(0,t.jsx)("div",{className:"mt-4 flex flex-wrap items-center gap-x-4 gap-y-2",children:e.links.map(r=>(0,t.jsxs)(m.Link,{href:r.href,onClick:()=>{x.capture(n.PostHogEvent.RegionalRoutingDocsClicked,{source:g.BUSINESS_LANDING_SOURCE.featureCard,card:e.id,link_text:r.label})},className:"inline-flex items-center gap-1 text-[length:var(--text-body)] text-foreground underline decoration-current/40 underline-offset-2 transition-colors hover:text-accent-foreground",children:[r.label,(0,t.jsx)(s.ArrowUpRight,{"aria-hidden":!0,className:"size-3.5"})]},r.href))})]})},e.id)}),u[0]=x,u[1]=e,u[2]=o,u[3]=l,u[4]=c}else e=u[1],o=u[2],l=u[3],c=u[4];return u[5]!==e||u[6]!==o||u[7]!==l||u[8]!==c?(d=(0,t.jsx)(e,{gap:o,className:l,children:c}),u[5]=e,u[6]=o,u[7]=l,u[8]=c,u[9]=d):d=u[9],d}],904207)},531977,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(553215),a=e.i(528164),i=e.i(252358),s=e.i(779100),o=e.i(270401);e.i(406201);var l=e.i(806024),c=e.i(526718),d=e.i(179492),u=e.i(439755),m=e.i(439042),h=e.i(93902);e.s(["BusinessHero",0,function(){let e,x,g,f,p,v,b,y,j,N,S,_,C,w,k,E,R=(0,r.c)(38),A=(0,s.useLocale)();R[0]!==A?(e=(0,d.getHero)(A),R[0]=A,R[1]=e):e=R[1];let U=e,L=(0,i.usePosthogClient)(),[P,O]=(0,m.useEnteredView)("0px"),B=(0,o.useRef)(!1);return R[2]!==O||R[3]!==L?(x=()=>{O&&!B.current&&(B.current=!0,L.capture(n.PostHogEvent.UpgradeToBusinessCtaViewed,{source:u.BUSINESS_LANDING_SOURCE.hero}))},g=[O,L],R[2]=O,R[3]=L,R[4]=x,R[5]=g):(x=R[4],g=R[5]),(0,o.useEffect)(x,g),R[6]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsxs)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 hidden sm:block",children:[(0,t.jsx)("div",{className:"biz-grid absolute inset-0"}),(0,t.jsx)("div",{className:"biz-grid-sweep absolute inset-[-20%]"})]}),p=(0,t.jsx)("div",{"aria-hidden":!0,className:"biz-hero-scrim pointer-events-none absolute inset-x-0 top-0 -z-10 h-full"}),R[6]=f,R[7]=p):(f=R[6],p=R[7]),R[8]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)(m.RevealOnMount,{y:12,children:(0,t.jsx)(c.HeroKicker,{children:"OpenRouter Business"})}),R[8]=v):v=R[8],R[9]!==U.title?(b=(0,t.jsx)(m.RevealOnMount,{delay:.08,y:20,children:(0,t.jsx)("h1",{className:"mt-6 text-balance font-brand text-[length:var(--text-hero)] font-bold leading-[1.05] tracking-tight text-foreground md:text-6xl md:tracking-[-0.04em]",children:U.title})}),R[9]=U.title,R[10]=b):b=R[10],R[11]!==U.sub?(y=(0,t.jsx)(m.RevealOnMount,{delay:.16,children:(0,t.jsx)("p",{className:"mx-auto mt-6 max-w-[640px] text-pretty text-[length:var(--text-prose)] leading-[var(--leading-prose)] text-muted-foreground",children:U.sub})}),R[11]=U.sub,R[12]=y):y=R[12],R[13]!==L?(j=()=>{L.capture(n.PostHogEvent.UpgradeToBusinessCtaClicked,{source:u.BUSINESS_LANDING_SOURCE.hero})},R[13]=L,R[14]=j):j=R[14],R[15]!==U.cta.href||R[16]!==U.cta.label?(N=(0,t.jsx)(l.Link,{href:U.cta.href,children:U.cta.label}),R[15]=U.cta.href,R[16]=U.cta.label,R[17]=N):N=R[17],R[18]!==j||R[19]!==N?(S=(0,t.jsx)(a.Button,{size:"lg",className:"w-full sm:w-auto",onClick:j,render:N}),R[18]=j,R[19]=N,R[20]=S):S=R[20],R[21]!==L?(_=()=>{L.capture(n.PostHogEvent.UpgradeToEnterpriseCtaClicked,{source:u.BUSINESS_LANDING_SOURCE.hero})},R[21]=L,R[22]=_):_=R[22],R[23]!==U.secondary.href||R[24]!==U.secondary.label||R[25]!==_?(C=(0,t.jsx)(l.Link,{href:U.secondary.href,onClick:_,className:"text-[length:var(--text-body)] text-foreground underline decoration-muted-foreground/40 underline-offset-4 transition-colors hover:decoration-foreground",children:U.secondary.label}),R[23]=U.secondary.href,R[24]=U.secondary.label,R[25]=_,R[26]=C):C=R[26],R[27]!==P||R[28]!==S||R[29]!==C?(w=(0,t.jsx)(m.RevealOnMount,{delay:.24,children:(0,t.jsxs)("div",{ref:P,className:"mt-9 flex flex-col items-center gap-5 sm:flex-row sm:gap-7",children:[S,C]})}),R[27]=P,R[28]=S,R[29]=C,R[30]=w):w=R[30],R[31]!==U.microcopy?(k=(0,t.jsx)(m.RevealOnMount,{delay:.32,children:(0,t.jsx)("p",{className:"mx-auto mt-7 max-w-[540px] text-[length:var(--text-overline)] leading-relaxed text-muted-foreground",children:U.microcopy})}),R[31]=U.microcopy,R[32]=k):k=R[32],R[33]!==w||R[34]!==k||R[35]!==b||R[36]!==y?(E=(0,t.jsxs)("header",{className:"relative isolate overflow-hidden border-b border-border",children:[f,p,(0,t.jsx)(h.Container,{className:"py-20 md:py-28",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-[880px] flex-col items-center text-center",children:[v,b,y,w,k]})})]}),R[33]=w,R[34]=k,R[35]=b,R[36]=y,R[37]=E):E=R[37],E}])},439042,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(779100),a=e.i(193975),i=e.i(266698),s=e.i(215230),o=e.i(956287),l=e.i(445351),c=e.i(270401);let d=[.21,.6,.35,1],u="-80px",m="(prefers-reduced-motion: reduce)";function h(e){let t=window.matchMedia(m);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function x(){return window.matchMedia(m).matches}function g(){return(0,c.useSyncExternalStore)(h,x,f)}function f(){return!1}function p(e){let t,n,a=(0,r.c)(6),{target:i,isActive:s,duration:o}=e,l=void 0===o?1e3:o,d=g(),[u,m]=(0,c.useState)(i);return a[0]!==l||a[1]!==s||a[2]!==d||a[3]!==i?(t=()=>{if(!s||d)return void m(i);let e=0,t=performance.now(),r=n=>{let a=Math.min(1,(n-t)/l);m(i*(1-(1-a)**3)),a<1&&(e=requestAnimationFrame(r))};return e=requestAnimationFrame(r),()=>cancelAnimationFrame(e)},n=[i,s,l,d],a[0]=l,a[1]=s,a[2]=d,a[3]=i,a[4]=t,a[5]=n):(t=a[4],n=a[5]),(0,c.useEffect)(t,n),u}function v(e){let n,a,s,o,c=(0,r.c)(10),{progress:d,start:u,end:m,accent:h,children:x}=e;c[0]!==m||c[1]!==u?(n=[u,m],c[0]=m,c[1]=u,c[2]=n):n=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(a=[.18,1],c[3]=a):a=c[3];let g=(0,l.useTransform)(d,n,a);c[4]!==g?(s={opacity:g},c[4]=g,c[5]=s):s=c[5];let f=h?"text-accent-foreground":void 0;return c[6]!==x||c[7]!==s||c[8]!==f?(o=(0,t.jsxs)(i.motion.span,{style:s,className:f,children:[x," "]}),c[6]=x,c[7]=s,c[8]=f,c[9]=o):o=c[9],o}e.s(["Kicker",0,function(e){let n,a=(0,r.c)(2),{children:i}=e;return a[0]!==i?(n=(0,t.jsx)("span",{className:"text-[length:var(--text-overline)] font-medium uppercase tracking-[0.16em] text-accent-foreground",children:i}),a[0]=i,a[1]=n):n=a[1],n},"Reveal",0,function(e){let n,a,s,o,l,c,m=(0,r.c)(16),{children:h,delay:x,y:f,className:p}=e,v=void 0===x?0:x,b=void 0===f?24:f,y=g();m[0]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:1,y:0},m[0]=n):n=m[0];let j=n;return m[1]!==y||m[2]!==b?(a=!y&&{opacity:0,y:b},m[1]=y,m[2]=b,m[3]=a):a=m[3],m[4]!==y?(s=y?{animate:j}:{whileInView:j},m[4]=y,m[5]=s):s=m[5],m[6]===Symbol.for("react.memo_cache_sentinel")?(o={once:!0,margin:u},m[6]=o):o=m[6],m[7]!==v||m[8]!==y?(l=y?{duration:0}:{duration:.6,delay:v,ease:d},m[7]=v,m[8]=y,m[9]=l):l=m[9],m[10]!==h||m[11]!==p||m[12]!==a||m[13]!==s||m[14]!==l?(c=(0,t.jsx)(i.motion.div,{className:p,initial:a,...s,viewport:o,transition:l,children:h}),m[10]=h,m[11]=p,m[12]=a,m[13]=s,m[14]=l,m[15]=c):c=m[15],c},"RevealOnMount",0,function(e){let n,a,s,o,l=(0,r.c)(12),{children:c,delay:u,y:m,className:h}=e,x=void 0===u?0:u,f=void 0===m?16:m,p=g();return l[0]!==p||l[1]!==f?(n=!p&&{opacity:0,y:f},l[0]=p,l[1]=f,l[2]=n):n=l[2],l[3]===Symbol.for("react.memo_cache_sentinel")?(a={opacity:1,y:0},l[3]=a):a=l[3],l[4]!==x||l[5]!==p?(s=p?{duration:0}:{duration:.6,delay:x,ease:d},l[4]=x,l[5]=p,l[6]=s):s=l[6],l[7]!==c||l[8]!==h||l[9]!==n||l[10]!==s?(o=(0,t.jsx)(i.motion.div,{className:h,initial:n,animate:a,transition:s,children:c}),l[7]=c,l[8]=h,l[9]=n,l[10]=s,l[11]=o):o=l[11],o},"Stagger",0,function(e){let n,a,s,o,l,c=(0,r.c)(14),{children:d,gap:m,delay:h,className:x}=e,f=void 0===m?.06:m,p=void 0===h?0:h,v=g(),b=!v&&"hidden";return c[0]!==v?(n=v?{animate:"shown"}:{whileInView:"shown"},c[0]=v,c[1]=n):n=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a={once:!0,margin:u},s={},c[2]=a,c[3]=s):(a=c[2],s=c[3]),c[4]!==p||c[5]!==f||c[6]!==v?(o={hidden:s,shown:{transition:v?{}:{staggerChildren:f,delayChildren:p}}},c[4]=p,c[5]=f,c[6]=v,c[7]=o):o=c[7],c[8]!==d||c[9]!==x||c[10]!==b||c[11]!==n||c[12]!==o?(l=(0,t.jsx)(i.motion.div,{className:x,initial:b,...n,viewport:a,variants:o,children:d}),c[8]=d,c[9]=x,c[10]=b,c[11]=n,c[12]=o,c[13]=l):l=c[13],l},"StaggerItem",0,function(e){let n,a,s,o,l=(0,r.c)(9),{children:c,y:u,className:m}=e,h=void 0===u?16:u;return l[0]!==h?(n={opacity:0,y:h},l[0]=h,l[1]=n):n=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(a={opacity:1,y:0,transition:{duration:.5,ease:d}},l[2]=a):a=l[2],l[3]!==n?(s={hidden:n,shown:a},l[3]=n,l[4]=s):s=l[4],l[5]!==c||l[6]!==m||l[7]!==s?(o=(0,t.jsx)(i.motion.div,{className:m,variants:s,children:c}),l[5]=c,l[6]=m,l[7]=s,l[8]=o):o=l[8],o},"WordsOnScroll",0,function({lines:e,className:r}){let n=(0,c.useRef)(null),a=g(),{scrollYProgress:i}=(0,o.useScroll)({target:n,offset:["start 0.92","start 0.42"]}),s=e.reduce((e,t)=>e+t.text.split(" ").length,0),l=0;return(0,t.jsx)("div",{ref:n,className:r,children:e.map((e,r)=>(0,t.jsx)("div",{children:e.text.split(" ").map((n,o)=>{let c=l++,d=`${r}-${o}-${n}`;return a?(0,t.jsxs)("span",{className:e.accent?"text-accent-foreground":void 0,children:[n," "]},d):(0,t.jsx)(v,{progress:i,start:c/s,end:Math.min(1,(c+1.4)/s),accent:e.accent,children:n},d)})},e.text))})},"rowVariants",0,{hidden:{opacity:0},shown:{opacity:1,transition:{duration:.4,ease:d}}},"useCountUp",0,function(e){let t,i,s=(0,r.c)(8),{target:o,isActive:l,duration:c,decimals:d}=e,u=void 0===c?1e3:c,m=void 0===d?0:d,h=(0,n.useLocale)();s[0]!==u||s[1]!==l||s[2]!==o?(t={target:o,isActive:l,duration:u},s[0]=u,s[1]=l,s[2]=o,s[3]=t):t=s[3];let x=p(t);return s[4]!==m||s[5]!==h||s[6]!==x?(i=(0,a.formatNativeFixed)(x,{locale:h,fractionDigits:m})??"—",s[4]=m,s[5]=h,s[6]=x,s[7]=i):i=s[7],i},"useCountUpValue",0,p,"useEnteredView",0,function(e){let t,n,a=(0,r.c)(4),i=void 0===e?u:e,o=(0,c.useRef)(null);a[0]!==i?(t={once:!0,margin:i},a[0]=i,a[1]=t):t=a[1];let l=(0,s.useInView)(o,t);return a[2]!==l?(n=[o,l],a[2]=l,a[3]=n):n=a[3],n},"useReducedSafe",0,g])},701734,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473),a=e.i(956506),i=e.i(779100),s=e.i(61291),o=e.i(179492),l=e.i(567340),c=e.i(439042),d=e.i(93902);function u(e){let o,l,d,u,m,h,x,g,f=(0,r.c)(22),{fee:p,hasEmphasis:v}=e,b=(0,i.useLocale)(),[y,j]=(0,c.useEnteredView)();f[0]!==j||f[1]!==p.percent?(o={target:p.percent,isActive:j,duration:900},f[0]=j,f[1]=p.percent,f[2]=o):o=f[2];let N=(0,c.useCountUpValue)(o),S=p.percent%1==0;f[3]!==S||f[4]!==N?(l=S?Math.round(N):N,f[3]=S,f[4]=N,f[5]=l):l=f[5];let _=l,C=S?"fee":"analytics",w=void 0!==v&&v&&"border-[var(--accent-border)] bg-[var(--accent-subtle)]";return f[6]!==w?(d=(0,n.cn)("h-full p-5",w),f[6]=w,f[7]=d):d=f[7],f[8]!==p.plan?(u=(0,t.jsx)("p",{className:"text-[length:var(--text-overline)] uppercase tracking-[0.08em] text-muted-foreground",children:p.plan}),f[8]=p.plan,f[9]=u):u=f[9],f[10]!==_||f[11]!==b||f[12]!==C?(m=(0,s.formatPercentPoints)(_,{locale:b,preset:C})??"—",f[10]=_,f[11]=b,f[12]=C,f[13]=m):m=f[13],f[14]!==m?(h=(0,t.jsx)("p",{className:"mt-2 font-brand text-[length:var(--text-display)] font-bold tabular-nums tracking-tight text-foreground",children:m}),f[14]=m,f[15]=h):h=f[15],f[16]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("p",{className:"mt-1 text-[length:var(--text-body)] text-muted-foreground",children:"on credit purchases"}),f[16]=x):x=f[16],f[17]!==y||f[18]!==d||f[19]!==u||f[20]!==h?(g=(0,t.jsxs)(a.Card,{ref:y,className:d,children:[u,h,x]}),f[17]=y,f[18]=d,f[19]=u,f[20]=h,f[21]=g):g=f[21],g}e.s(["BusinessPricing",0,function(){let e,n,a,i,s=(0,r.c)(4);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.SectionHeading,{overline:"Pricing",title:o.PRICING.title}),s[0]=e):e=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(c.StaggerItem,{children:(0,t.jsx)(u,{fee:l.STANDARD_FEE})}),s[1]=n):n=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsxs)(c.Stagger,{gap:.1,className:"mx-auto mt-10 grid max-w-[640px] gap-4 sm:grid-cols-2",children:[n,(0,t.jsx)(c.StaggerItem,{children:(0,t.jsx)(u,{fee:l.BUSINESS_FEE,hasEmphasis:!0})})]}),s[2]=a):a=s[2],s[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsxs)(d.Section,{id:"pricing",className:"border-t border-border",children:[e,a,(0,t.jsx)(c.Reveal,{delay:.15,children:(0,t.jsx)("p",{className:"mx-auto mt-8 max-w-[640px] text-pretty text-center text-[length:var(--text-prose)] leading-[var(--leading-prose)] text-muted-foreground",children:o.PRICING.body})})]}),s[3]=i):i=s[3],i}])},618675,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(553215),a=e.i(252358),i=e.i(199479),s=e.i(266698),o=e.i(270401);e.i(406201);var l=e.i(806024),c=e.i(585489),d=e.i(439755),u=e.i(859672);function m(e){let n,a,i,s,l,d=(0,r.c)(16),{samples:m,region:h}=e,x=void 0===h?c.Region.Eu:h,[g,f]=(0,o.useState)(0),p=m[g];if(void 0===p)return null;if(d[0]!==g||d[1]!==m){let e;d[3]!==g?(e=(e,r)=>{let n=r===g;return(0,t.jsx)("button",{role:"tab",type:"button","aria-selected":n,onClick:()=>f(r),className:n?"inline-flex min-h-10 items-center justify-center rounded-[var(--radius-md)] bg-secondary px-3 text-[length:var(--text-body)] text-secondary-foreground transition-colors sm:min-h-8":"inline-flex min-h-10 items-center justify-center rounded-[var(--radius-md)] px-3 text-[length:var(--text-body)] text-muted-foreground transition-colors hover:bg-[var(--card-hover)] hover:text-accent-foreground sm:min-h-8",children:e.label},e.label)},d[3]=g,d[4]=e):e=d[4],n=m.map(e),d[0]=g,d[1]=m,d[2]=n}else n=d[2];if(d[5]!==n?(a=(0,t.jsx)("div",{role:"tablist","aria-label":"Regional endpoint examples",className:"mb-3 flex flex-wrap gap-1",children:n}),d[5]=n,d[6]=a):a=d[6],d[7]!==p.code||d[8]!==x){var v;v=p.code,i=x===c.Region.Eu?v:v.replaceAll(/\beu\.openrouter\.ai/g,`${x}.openrouter.ai`),d[7]=p.code,d[8]=x,d[9]=i}else i=d[9];return d[10]!==p.language||d[11]!==i?(s=(0,t.jsx)(u.CodeBlock,{value:i,language:p.language}),d[10]=p.language,d[11]=i,d[12]=s):s=d[12],d[13]!==a||d[14]!==s?(l=(0,t.jsxs)("div",{className:"min-w-0",children:[a,s]}),d[13]=a,d[14]=s,d[15]=l):l=d[15],l}var h=e.i(439042),x=e.i(956506),g=e.i(678915),f=e.i(892154),f=f,p=e.i(939152);let v=[.21,.6,.35,1],b=["M422,142 C544,142 580,62 724,62","M422,154 C544,154 580,118 724,118","M422,166 C544,166 580,174 724,174"],y=[40,96,152];function j(e){let n,a,i,o,l,c,d,u,m,x,v,j,w,k,E,R,A,U,L,P,O,B,I,T,D,M,F,z,G,H=(0,r.c)(49),{region:q}=e,W=(0,h.useReducedSafe)();H[0]!==q?(n=q.toUpperCase(),H[0]=q,H[1]=n):n=H[1];let V=n,$=`${q}.openrouter.ai`;H[2]===Symbol.for("react.memo_cache_sentinel")?(a={hidden:{pathLength:0,opacity:0},shown:S},H[2]=a):a=H[2];let K=a;H[3]===Symbol.for("react.memo_cache_sentinel")?(i={hidden:{opacity:0,y:6},shown:N},H[3]=i):i=H[3];let Y=i,Z=!W&&"hidden";H[4]!==W?(o=W?{animate:"shown"}:{whileInView:"shown"},H[4]=W,H[5]=o):o=H[5],H[6]===Symbol.for("react.memo_cache_sentinel")?(l={once:!0,margin:"-60px"},H[6]=l):l=H[6];let J=`Requests sent to ${$} are routed only to providers inside the ${V}. A request with no in-region provider fails rather than leaving the region.`;H[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("rect",{x:"470",y:"16",width:"474",height:"196",rx:"12",className:"fill-[var(--accent-subtle)] stroke-accent-foreground/45",strokeWidth:"1",strokeDasharray:"4 4"}),d=(0,t.jsx)("rect",{x:"486",y:"30",width:"46",height:"22",rx:"6",className:"fill-card stroke-accent-foreground/45",strokeWidth:"1"}),H[7]=c,H[8]=d):(c=H[7],d=H[8]),H[9]!==V?(u=(0,t.jsxs)(s.motion.g,{variants:Y,custom:0,children:[c,d,(0,t.jsx)("text",{x:"509",y:"45",textAnchor:"middle",fontSize:11,className:"fill-accent-foreground font-mono",children:V})]}),H[9]=V,H[10]=u):u=H[10],H[11]===Symbol.for("react.memo_cache_sentinel")?(m=b.map((e,r)=>(0,t.jsx)(s.motion.path,{d:e,fill:"none",strokeWidth:"1.5",strokeLinecap:"round",className:"stroke-[var(--positive-text)]",variants:K,custom:r},e)),x=(0,t.jsx)(s.motion.path,{d:"M422,180 C452,232 520,294 686,294",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",strokeDasharray:"3 4",className:"stroke-[var(--text-faint)]",variants:K,custom:3}),H[11]=m,H[12]=x):(m=H[11],x=H[12]),H[13]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsxs)(s.motion.g,{variants:Y,custom:4,className:"stroke-[var(--text-faint)]",children:[(0,t.jsx)("line",{x1:696,y1:288,x2:708,y2:300,strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("line",{x1:708,y1:288,x2:696,y2:300,strokeWidth:"1.5",strokeLinecap:"round"})]}),H[13]=v):v=H[13],H[14]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsxs)(s.motion.g,{variants:Y,custom:0,children:[(0,t.jsx)("rect",{x:"8",y:"132",width:"132",height:"44",rx:"8",className:"fill-card stroke-border",strokeWidth:"1"}),(0,t.jsx)("text",{x:"74",y:"159",textAnchor:"middle",fontSize:12,className:"fill-foreground",children:"Your request"})]}),w=(0,t.jsx)(s.motion.path,{d:"M148,154 L228,154",fill:"none",strokeWidth:"1.5",strokeLinecap:"round",className:"stroke-border",variants:K,custom:0}),H[14]=j,H[15]=w):(j=H[14],w=H[15]),H[16]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)("rect",{x:"236",y:"122",width:"186",height:"64",rx:"8",className:"fill-card stroke-border",strokeWidth:"1"}),E=(0,t.jsx)("text",{x:"252",y:"146",fontSize:12,className:"fill-muted-foreground font-mono",children:"ENDPOINT YOU CALL"}),H[16]=k,H[17]=E):(k=H[16],E=H[17]),H[18]!==$?(R=(0,t.jsxs)(s.motion.g,{variants:Y,custom:1,children:[k,E,(0,t.jsx)("text",{x:"252",y:"168",fontSize:12,className:"fill-foreground font-mono",children:$})]}),H[18]=$,H[19]=R):R=H[19],H[20]!==V?(A=y.map((e,r)=>(0,t.jsxs)(s.motion.g,{variants:Y,custom:2+r,children:[(0,t.jsx)("rect",{x:"724",y:e,width:"200",height:"44",rx:"8",className:"fill-card stroke-border",strokeWidth:"1"}),(0,t.jsxs)("text",{x:"744",y:e+28,fontSize:12,className:"fill-foreground",children:["Provider in ",V]})]},e)),H[20]=V,H[21]=A):A=H[21],H[22]===Symbol.for("react.memo_cache_sentinel")?(U=(0,t.jsxs)(s.motion.g,{variants:Y,custom:5,children:[(0,t.jsx)("rect",{x:"724",y:"272",width:"200",height:"44",rx:"8",className:"fill-transparent stroke-[var(--text-faint)]",strokeWidth:"1",strokeDasharray:"4 4"}),(0,t.jsx)("text",{x:"744",y:"300",fontSize:12,className:"fill-muted-foreground",children:"Provider elsewhere"})]}),H[22]=U):U=H[22];let Q=`provider.region = ${V}`;H[23]!==Q?(L=(0,t.jsx)(_,{x:236,y:244,label:"REGION",value:Q,variants:Y,custom:5}),H[23]=Q,H[24]=L):L=H[24],H[25]===Symbol.for("react.memo_cache_sentinel")?(P=(0,t.jsx)(_,{x:236,y:284,label:"NO FALLBACK",value:"never to providers outside the region",variants:Y,custom:6}),H[25]=P):P=H[25],H[26]!==u||H[27]!==R||H[28]!==A||H[29]!==L||H[30]!==J?(O=(0,t.jsxs)("svg",{viewBox:"0 0 960 340",className:"h-auto w-full",role:"img","aria-label":J,children:[u,m,x,v,j,w,R,A,U,L,P]}),H[26]=u,H[27]=R,H[28]=A,H[29]=L,H[30]=J,H[31]=O):O=H[31],H[32]!==O||H[33]!==Z||H[34]!==o?(B=(0,t.jsx)(s.motion.div,{className:"hidden md:block",initial:Z,...o,viewport:l,children:O}),H[32]=O,H[33]=Z,H[34]=o,H[35]=B):B=H[35],H[36]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsx)(g.ArrowRight,{"aria-hidden":!0,className:"size-4 text-muted-foreground"}),H[36]=I):I=H[36],H[37]!==$?(T=(0,t.jsx)(C,{icon:I,label:"Endpoint you call",value:$,isMono:!0}),H[37]=$,H[38]=T):T=H[38],H[39]===Symbol.for("react.memo_cache_sentinel")?(D=(0,t.jsx)(p.ShieldCheck,{"aria-hidden":!0,className:"size-4 text-[var(--positive-text)]"}),H[39]=D):D=H[39];let X=`Routed only inside the ${V}`;return H[40]!==X?(M=(0,t.jsx)(C,{icon:D,label:X,value:"Providers in region only, chosen before the request leaves."}),H[40]=X,H[41]=M):M=H[41],H[42]===Symbol.for("react.memo_cache_sentinel")?(F=(0,t.jsx)(C,{icon:(0,t.jsx)(f.default,{"aria-hidden":!0,className:"size-4 text-muted-foreground"}),label:"No in-region provider",value:"The request fails rather than leaving the region."}),H[42]=F):F=H[42],H[43]!==T||H[44]!==M?(z=(0,t.jsxs)("div",{className:"flex flex-col gap-3 md:hidden",children:[T,M,F]}),H[43]=T,H[44]=M,H[45]=z):z=H[45],H[46]!==B||H[47]!==z?(G=(0,t.jsxs)("div",{children:[B,z]}),H[46]=B,H[47]=z,H[48]=G):G=H[48],G}function N(e){return{opacity:1,y:0,transition:{duration:.45,delay:.5+.1*e,ease:v}}}function S(e){return{pathLength:1,opacity:1,transition:{pathLength:{duration:.9,delay:.15+.12*e,ease:v},opacity:{duration:.2,delay:.15+.12*e}}}}function _(e){let n,a,i,o,l,c=(0,r.c)(24),{x:d,y:u,label:m,value:h,variants:x,custom:g}=e,f=7.2*m.length+16,p=7.2*h.length+16,v=f+p;c[0]!==v||c[1]!==d||c[2]!==u?(n=(0,t.jsx)("rect",{x:d,y:u,width:v,height:"24",rx:"6",className:"fill-[var(--doc-surface)] stroke-border",strokeWidth:"1"}),c[0]=v,c[1]=d,c[2]=u,c[3]=n):n=c[3];let b=d+f,y=d+f,j=u+24;c[4]!==b||c[5]!==y||c[6]!==j||c[7]!==u?(a=(0,t.jsx)("line",{x1:b,y1:u,x2:y,y2:j,className:"stroke-border",strokeWidth:"1"}),c[4]=b,c[5]=y,c[6]=j,c[7]=u,c[8]=a):a=c[8];let N=d+f/2,S=u+16;c[9]!==m||c[10]!==N||c[11]!==S?(i=(0,t.jsx)("text",{x:N,y:S,textAnchor:"middle",fontSize:12,className:"fill-muted-foreground font-mono",children:m}),c[9]=m,c[10]=N,c[11]=S,c[12]=i):i=c[12];let _=d+f+p/2,C=u+16;return c[13]!==_||c[14]!==C||c[15]!==h?(o=(0,t.jsx)("text",{x:_,y:C,textAnchor:"middle",fontSize:12,className:"fill-foreground font-mono",children:h}),c[13]=_,c[14]=C,c[15]=h,c[16]=o):o=c[16],c[17]!==g||c[18]!==o||c[19]!==n||c[20]!==a||c[21]!==i||c[22]!==x?(l=(0,t.jsxs)(s.motion.g,{variants:x,custom:g,children:[n,a,i,o]}),c[17]=g,c[18]=o,c[19]=n,c[20]=a,c[21]=i,c[22]=x,c[23]=l):l=c[23],l}function C(e){let n,a,i,s,o,l=(0,r.c)(13),{icon:c,label:d,value:u,isMono:m}=e;l[0]!==c?(n=(0,t.jsx)("div",{className:"mt-0.5 shrink-0",children:c}),l[0]=c,l[1]=n):n=l[1],l[2]!==d?(a=(0,t.jsx)("p",{className:"text-[length:var(--text-overline)] uppercase tracking-[0.08em] text-muted-foreground",children:d}),l[2]=d,l[3]=a):a=l[3];let h=void 0!==m&&m?"mt-1 break-all font-mono text-[length:var(--text-body)] text-foreground":"mt-1 text-[length:var(--text-body)] leading-relaxed text-foreground";return l[4]!==h||l[5]!==u?(i=(0,t.jsx)("p",{className:h,children:u}),l[4]=h,l[5]=u,l[6]=i):i=l[6],l[7]!==a||l[8]!==i?(s=(0,t.jsxs)("div",{className:"min-w-0",children:[a,i]}),l[7]=a,l[8]=i,l[9]=s):s=l[9],l[10]!==n||l[11]!==s?(o=(0,t.jsxs)(x.Card,{className:"flex gap-3 p-4",children:[n,s]}),l[10]=n,l[11]=s,l[12]=o):o=l[12],o}e.s(["BusinessRegionExplorer",0,function(e){let u,x,g,f,p,v,b,y,N,S,_,C,w,k,E,R,A,U,L,P=(0,r.c)(45),{samples:O}=e,[B,I]=(0,o.useState)(c.Region.Eu),T=(0,h.useReducedSafe)(),D=(0,a.usePosthogClient)();return P[0]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("span",{children:"https://"}),P[0]=u):u=P[0],P[1]!==T?(x=!T&&{y:"-100%",opacity:0},P[1]=T,P[2]=x):x=P[2],P[3]===Symbol.for("react.memo_cache_sentinel")?(g={y:"0%",opacity:1},P[3]=g):g=P[3],P[4]!==T?(f=T?void 0:{y:"100%",opacity:0},P[4]=T,P[5]=f):f=P[5],P[6]===Symbol.for("react.memo_cache_sentinel")?(p={duration:.28,ease:[.21,.6,.35,1]},P[6]=p):p=P[6],P[7]!==B||P[8]!==x||P[9]!==f?(v=(0,t.jsx)("span",{className:"relative inline-flex overflow-hidden",children:(0,t.jsx)(i.AnimatePresence,{mode:"popLayout",initial:!1,children:(0,t.jsx)(s.motion.span,{initial:x,animate:g,exit:f,transition:p,className:"rounded-[var(--radius-sm)] bg-[var(--accent-subtle)] px-1 text-accent-foreground",children:B},B)})}),P[7]=B,P[8]=x,P[9]=f,P[10]=v):v=P[10],P[11]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)("span",{children:".openrouter.ai/api/v1"}),P[11]=b):b=P[11],P[12]!==v?(y=(0,t.jsxs)("p",{className:"flex min-w-0 flex-wrap items-baseline font-mono text-[length:var(--text-body)] text-muted-foreground",children:[u,v,b]}),P[12]=v,P[13]=y):y=P[13],P[14]!==B?(N=(0,c.modelsFilterUrl)(B),P[14]=B,P[15]=N):N=P[15],P[16]!==D||P[17]!==B?(S=()=>{D.capture(n.PostHogEvent.RegionalRoutingDocsClicked,{source:d.BUSINESS_LANDING_SOURCE.regionExplorer,region:B,link_text:"browse_models"})},P[16]=D,P[17]=B,P[18]=S):S=P[18],P[19]!==B?(_=B.toUpperCase(),P[19]=B,P[20]=_):_=P[20],P[21]!==S||P[22]!==_||P[23]!==N?(C=(0,t.jsxs)(l.Link,{href:N,onClick:S,className:"whitespace-nowrap text-[length:var(--text-body)] text-foreground underline decoration-muted-foreground/40 underline-offset-4 transition-colors hover:decoration-foreground",children:["Browse ",_,"-eligible models"]}),P[21]=S,P[22]=_,P[23]=N,P[24]=C):C=P[24],P[25]!==D||P[26]!==B?(w=c.REGIONS.map(e=>{let r=e.id===B;return(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":r,onClick:()=>{I(e.id),D.capture(n.PostHogEvent.BusinessLandingRegionToggled,{region:e.id})},className:r?"inline-flex min-h-10 items-center justify-center rounded-[var(--radius-sm)] bg-background px-3 text-[length:var(--text-body)] text-accent-foreground shadow-sm transition-colors sm:min-h-8":"inline-flex min-h-10 items-center justify-center rounded-[var(--radius-sm)] px-3 text-[length:var(--text-body)] text-muted-foreground transition-colors hover:text-accent-foreground sm:min-h-8",children:e.label},e.id)}),P[25]=D,P[26]=B,P[27]=w):w=P[27],P[28]!==w?(k=(0,t.jsx)("div",{role:"tablist","aria-label":"Region",className:"flex shrink-0 gap-1 rounded-[var(--radius-md)] bg-muted p-0.5",children:w}),P[28]=w,P[29]=k):k=P[29],P[30]!==C||P[31]!==k?(E=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-5 gap-y-3",children:[C,k]}),P[30]=C,P[31]=k,P[32]=E):E=P[32],P[33]!==E||P[34]!==y?(R=(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[y,E]}),P[33]=E,P[34]=y,P[35]=R):R=P[35],P[36]!==B?(A=(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)(j,{region:B})}),P[36]=B,P[37]=A):A=P[37],P[38]!==B||P[39]!==O?(U=(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)(m,{samples:O,region:B})}),P[38]=B,P[39]=O,P[40]=U):U=P[40],P[41]!==R||P[42]!==A||P[43]!==U?(L=(0,t.jsxs)("div",{className:"min-w-0",children:[R,A,U]}),P[41]=R,P[42]=A,P[43]=U,P[44]=L):L=P[44],L}],618675)},93902,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473),a=e.i(439042);function i(e){let a,i,s=(0,r.c)(5),{className:o,children:l}=e;return s[0]!==o?(a=(0,n.cn)("mx-auto w-full max-w-screen-xl px-5 md:px-8",o),s[0]=o,s[1]=a):a=s[1],s[2]!==l||s[3]!==a?(i=(0,t.jsx)("div",{className:a,children:l}),s[2]=l,s[3]=a,s[4]=i):i=s[4],i}e.s(["Container",0,i,"Section",0,function(e){let a,s,o,l=(0,r.c)(8),{id:c,className:d,children:u}=e;return l[0]!==d?(a=(0,n.cn)("py-14 md:py-20",d),l[0]=d,l[1]=a):a=l[1],l[2]!==u?(s=(0,t.jsx)(i,{children:u}),l[2]=u,l[3]=s):s=l[3],l[4]!==c||l[5]!==a||l[6]!==s?(o=(0,t.jsx)("section",{id:c,className:a,children:s}),l[4]=c,l[5]=a,l[6]=s,l[7]=o):o=l[7],o},"SectionHeading",0,function(e){let i,s,o,l,c,d,u=(0,r.c)(16),{overline:m,title:h,lead:x,align:g}=e,f="center"===(void 0===g?"center":g),p=f&&"mx-auto max-w-[820px] items-center text-center";u[0]!==p?(i=(0,n.cn)("flex flex-col gap-5",p),u[0]=p,u[1]=i):i=u[1],u[2]!==m?(s=void 0===m?null:(0,t.jsx)(a.Kicker,{children:m}),u[2]=m,u[3]=s):s=u[3];let v=!f&&"max-w-[640px]";return u[4]!==v?(o=(0,n.cn)("font-brand text-balance text-[length:var(--text-display)] font-bold leading-[1.15] tracking-tight text-foreground md:text-5xl md:tracking-[-0.03em]",v),u[4]=v,u[5]=o):o=u[5],u[6]!==o||u[7]!==h?(l=(0,t.jsx)("h2",{className:o,children:h}),u[6]=o,u[7]=h,u[8]=l):l=u[8],u[9]!==x?(c=void 0===x?null:(0,t.jsx)("p",{className:"max-w-[576px] text-pretty text-[length:var(--text-prose)] leading-[var(--leading-prose)] text-muted-foreground",children:x}),u[9]=x,u[10]=c):c=u[10],u[11]!==i||u[12]!==s||u[13]!==l||u[14]!==c?(d=(0,t.jsxs)(a.Reveal,{className:i,children:[s,l,c]}),u[11]=i,u[12]=s,u[13]=l,u[14]=c,u[15]=d):d=u[15],d}])},439755,e=>{"use strict";e.s(["BUSINESS_LANDING_SOURCE",0,{hero:"business_landing_hero",featureCard:"business_landing_feature_card",regionExplorer:"business_landing_region_explorer",faq:"business_landing_faq",closing:"business_landing_closing"}])},179492,567340,e=>{"use strict";var t=e.i(704355),r=e.i(61291);let n={plan:"Standard",percent:5.5},a={plan:"Business",percent:8};function i(e,t){return(0,r.formatPercentPoints)(t%1==0?t:Math.round(10*t)/10,{locale:e,preset:"fee"})??"—"}e.s(["BUSINESS_FEE",0,a,"STANDARD_FEE",0,n,"formatFeePercent",0,i],567340);var s=e.i(585489);let o="/settings/manage-plan";function l(e){return{title:"Run inference in a region you choose",sub:"OpenRouter Business routes your requests to providers inside the EU or the US, on the same API key and the same account. Upgrade from your settings, then point your requests at the regional endpoint.",cta:{label:"Upgrade to Business",href:o},secondary:{label:"Talk to us about Enterprise",href:"/enterprise/form"},microcopy:`${i(e,a.percent)} platform fee on credit purchases, no monthly minimum, no contract.`}}let c=l(t.DEFAULT_LOCALE),d=[{id:"in-region",title:"In-region routing",body:"Requests route to providers inside the EU or the US. Browse the models available in each region.",links:[{label:"EU models",href:(0,s.modelsFilterUrl)(s.Region.Eu)},{label:"US models",href:(0,s.modelsFilterUrl)(s.Region.Us)},{label:"Read the docs",href:s.DOCS_PAGE}]},{id:"workspaces",title:"Workspaces",body:"Separate environments for teams, projects, or staging and production. Business raises the cap.",links:[{label:"Read the docs",href:s.WORKSPACES_DOCS_PAGE}]},{id:"notifications",title:"Advanced notifications",body:"Alerts for new model launches and for model and provider price changes, to Slack, a webhook, or email.",gatedBy:"advancedNotifications"},{id:"dpa",title:"DPA",body:"The DPA applies to your organization through the Terms of Service. Read it, or request a signed copy.",links:[{label:"Read the DPA",href:"/data-processing-agreement"},{label:"Request a signed copy",href:o}]}];function u(e){return[{label:"Platform fee",group:"Cost",cells:[{value:i(e,n.percent)},{value:i(e,a.percent)},{value:"Custom"}]},{label:"Monthly minimum",group:"Cost",cells:[{value:"None"},{value:"None"},{value:"Custom"}]},{label:"EU routing",group:"In-Region Routing",cells:[{value:"no"},{value:"yes"},{value:"yes"}]},{label:"US routing",group:"In-Region Routing",cells:[{value:"no"},{value:"yes"},{value:"yes"}]},{label:"Workspace limit",group:"Controls",cells:[{value:"5"},{value:"1,000"},{value:"Custom"}]},{label:"Zero Data Retention",group:"Controls",cells:[{value:"yes"},{value:"yes"},{value:"yes"}]},{label:"Guardrails and spend controls",group:"Controls",cells:[{value:"yes"},{value:"yes"},{value:"yes"}]},{label:"DPA",group:"Procurement",cells:[{value:"Via ToS"},{value:"Via ToS, signed copy on request"},{value:"Customizations available"}]},{label:"SSO and SCIM",group:"Procurement",cells:[{value:"no"},{value:"no"},{value:"yes"}]},{label:"Post-paid invoicing",group:"Procurement",cells:[{value:"no"},{value:"no"},{value:"yes"}]},{label:"How you buy",group:"Buying",cells:[{value:"Credit purchases"},{value:"Credit purchases"},{value:"Contract through sales"}]},{label:"Model and price-change alerts",group:"Controls",cells:[{value:"no"},{value:"yes"},{value:"yes"}],gatedBy:"advancedNotifications"}]}u(t.DEFAULT_LOCALE),i(t.DEFAULT_LOCALE,a.percent),(0,s.modelsFilterUrl)(s.Region.Eu),(0,s.modelsFilterUrl)(s.Region.Us);let m={title:"Upgrade from your settings",cta:c.cta};e.s(["CLOSING",0,m,"COMPARE_GROUP_ORDER",0,["Cost","In-Region Routing","Controls","Procurement","Buying"],"FEATURE_CARDS",0,d,"PLAN_COLUMNS",0,["Standard","Business","Enterprise"],"PRICING",0,{title:"One fee, on credit purchases",body:"The fee is on credit purchases, not on inference. You pay for inference at provider rates either way. No monthly minimum, no seat license, no contract."},"getCompareRows",0,u,"getHero",0,l],179492)},81307,e=>{"use strict";e.s(["FEATURES",0,{advancedNotifications:!1,deprecationAlerts:!1}])},585489,e=>{"use strict";let t={Eu:"eu",Us:"us"},r=[{id:t.Eu,label:"EU"},{id:t.Us,label:"US"}];t.Eu,e.s(["DOCS_PAGE",0,"/docs/guides/features/in-region-routing","REGIONS",0,r,"Region",0,t,"WORKSPACES_DOCS_PAGE",0,"/docs/guides/features/workspaces","modelsFilterUrl",0,function(e){return`/models?region=${e}`}])}]); //# sourceMappingURL=2e8s8unoxxtpo.js.map //# chunkId=01a09f3e-7ae9-7402-8d10-8b7964963d94