try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="be6cc88e-3dbb-478e-9010-6e7b1154ed9b",e._sentryDebugIdIdentifier="sentry-dbid-be6cc88e-3dbb-478e-9010-6e7b1154ed9b")}catch(e){}{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:anthropic-apps":!0})}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85367],{0x13786cdd:(e,t,a)=>{"use strict";a.d(t,{X:()=>c});var s=a(0x22102fd88),l=a(0xdf5c3676),n=a(0x18c2bb2d),i=a(0xfc89b4a4),r=a(0x865ff458),o=a(0x21d6385a2);let c=(0,i.memo)(e=>{let{children:t}=e,[a,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(!1),{data:x}=(0,r.hz)(),{resolvedMode:m}=(0,l.D)();(0,i.useEffect)(()=>{c(!0)},[]);let f=(0,o.N)(null==x?void 0:x.promotionId),p=(0,i.useCallback)(()=>{u(!0)},[]);return a?(0,s.jsx)("div",{className:"hidden min-[1000px]:flex rounded-2xl w-full h-[85vh] min-h-[500px] justify-center items-center overflow-hidden mb-8",children:(0,s.jsx)(n.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"relative w-full h-full flex items-center justify-center",children:t?(0,s.jsx)("div",{className:"relative w-full h-full rounded-2xl bg-bg-200 shadow-[0_4px_20px_0_hsl(var(--always-black)/4%)] flex justify-center items-center",children:t}):f?(0,s.jsx)("img",{src:"dark"===m?"/images/home-page-assets/guest_pass_login_dark.svg":"/images/home-page-assets/guest_pass_login.svg",alt:"",className:"w-full h-full object-cover rounded-2xl shadow-[0_4px_20px_0_hsl(var(--always-black)/4%)]"}):d?(0,s.jsx)("img",{src:"/images/home-page-assets/claude_login.png",alt:"",className:"w-full h-full object-cover rounded-2xl shadow-[0_4px_20px_0_hsl(var(--always-black)/4%)]",style:{objectPosition:"80% 20%"}}):(0,s.jsx)("video",{src:"/images/home-page-assets/videos/claude_login.mp4",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover rounded-2xl shadow-[0_4px_20px_0_hsl(var(--always-black)/4%)]",style:{objectPosition:"80% 20%"},onError:p})})}):(0,s.jsx)("div",{className:"hidden min-[1000px]:flex rounded-2xl w-full h-[85vh] min-h-[500px] justify-center items-center overflow-hidden mb-8"})});c.displayName="LoginPageHeroAsset"},0x1c225fe1:(e,t,a)=>{"use strict";a.d(t,{KI:()=>r,QK:()=>c,Tp:()=>o,_g:()=>n,g9:()=>i,jR:()=>d});var s=a(0x12c9046cd),l=a(0x14de19ae8);let n=()=>(0,s.L2)("/api/referral/code","POST"),i=()=>(0,s.Sk)("/api/referral/count",{queryKey:["referral_count"]}),r=e=>(0,s.Sk)("/api/referral/code/".concat(e),{queryKey:["referral_code_info",e],enabled:!!e}),o=()=>(0,s.Sk)("/api/referral",{queryKey:["referral"],meta:{noToast:!0}}),c=e=>{var t;let{activeOrganization:a}=(0,l.YL)(),n=null!=(t=null==a?void 0:a.uuid)?t:"";return(0,s.Sk)("/api/organizations/".concat(n,"/referral/eligibility?campaign=").concat(e),{queryKey:["referral_eligibility",n,e],enabled:!!n,meta:{noToast:!0}})},d=(e,t)=>{var a,n;let{activeOrganization:i}=(0,l.YL)(),r=null!=(a=null==i?void 0:i.uuid)?a:"";return(0,s.Sk)("/api/organizations/".concat(r,"/referral/redemptions?campaign=").concat(e),{queryKey:["referral_redemptions",r,e],enabled:!!r&&(null==(n=null==t?void 0:t.enabled)||n),meta:{noToast:!0}})}},0x1d0b0d13:(e,t,a)=>{"use strict";a.d(t,{S0:()=>l,Uf:()=>i,fr:()=>r,jQ:()=>s,ro:()=>n});let s="calc(100% - 2 * clamp(2rem, calc(1.43rem + 2.86vw), 4rem))",l="max-w-[90rem]",n="max-w-3xl min-[1000px]:max-w-[90rem]",i="h-[4.5rem] min-[1000px]:h-[5.25rem]",r=()=>({width:s})},0x5dceb7cc:(e,t,a)=>{"use strict";a.d(t,{z:()=>n});var s=a(0x22102fd88),l=a(0x1d0b0d13);function n(){return(0,s.jsx)("div",{className:l.Uf})}},0x6f465107:()=>{},0x133ce3a6b:(e,t,a)=>{"use strict";a.d(t,{o:()=>r});var s=a(0x865ff458),l=a(0xfc89b4a4),n=a(0x1c225fe1),i=a(0x21d6385a2);function r(){let{data:e,mutate:t}=(0,s.hz)(),{data:a}=(0,n.Tp)();return(0,l.useEffect)(()=>{(null==a?void 0:a.referral_code)&&(a.campaign===i.A.EVERGREEN_CLAUDE_DISCOUNT||(0,i.N)(a.campaign))&&(null==e?void 0:e.promotionId)!==a.campaign&&t({promotionId:a.campaign,referralCode:a.referral_code})},[e,a,t]),(0,s.Hc)()}},0x138a360ba:(e,t,a)=>{"use strict";a.d(t,{LoginForm:()=>T});var s=a(0x22102fd88),l=a(0x17aa9d8d7),n=a(0x1f16c1247),i=a(0x206528fcb),r=a(0x14de19ae8),o=a(0x23977865),c=a(0x1bd175d8c),d=a(0x23e5d6187),u=a(0x1a1f6dda6),x=a(0x4d348f95),m=a(0xfc89b4a4),f=a(0x38e6572),p=a(0x139b5e710),h=a(0x246846ae8),g=a(0x225bae024),b=a(0x1ab0d1ca1);function v(){let e=(0,b.A)(),t=(0,x.useRouter)(),{addError:a}=(0,p.Yf)(),[n,i]=(0,m.useState)(""),[r,o]=(0,m.useState)(""),[c,d]=(0,m.useState)(""),u="true"===(0,x.useSearchParams)().get("show_highside_header_inputs"),v={};n&&(v["x-client-dn"]=n),r&&(v["x-forwarded-preferred-username"]=r),c&&(v["x-forwarded-email"]=c);let{mutate:y}=(0,l.QP)(v,{onSuccess:()=>t.push("/"),onError:e=>{a("Login failed. You can check your credentials and try again.",{error:e})}});return(0,s.jsx)(h.lV,{onSubmit:()=>y(null),children:(0,s.jsxs)(j,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-2xl font-medium text-center",children:(0,s.jsx)(f.A,{defaultMessage:"Sign in to Claude",id:"FT1heKkksm"})}),(0,s.jsx)("p",{className:"text-sm text-center text-text-300",children:(0,s.jsx)(f.A,{defaultMessage:"To continue, press the button below.",id:"L7ftd3koc/"})})]}),u&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{children:(0,s.jsx)(h.ks,{label:e.formatMessage({defaultMessage:"x-client-dn",id:"mZS0+KF+Q4"}),placeholder:e.formatMessage({defaultMessage:"x-client-dn",id:"mZS0+KF+Q4"}),"data-1p-ignore":!0,onChange:e=>i(e.target.value)})}),(0,s.jsx)(_,{children:(0,s.jsx)(h.ks,{label:e.formatMessage({defaultMessage:"x-forwarded-preferred-username",id:"JrnJ/EqqrF"}),placeholder:e.formatMessage({defaultMessage:"x-forwarded-preferred-username",id:"JrnJ/EqqrF"}),"data-1p-ignore":!0,onChange:e=>o(e.target.value)})}),(0,s.jsx)(_,{children:(0,s.jsx)(h.ks,{label:e.formatMessage({defaultMessage:"x-forwarded-email",id:"30xtnSNBGE"}),placeholder:e.formatMessage({defaultMessage:"x-forwarded-email",id:"30xtnSNBGE"}),"data-1p-ignore":!0,onChange:e=>d(e.target.value)})})]}),(0,s.jsx)(g.$,{type:"submit",variant:"primary",children:(0,s.jsx)(f.A,{defaultMessage:"Sign in",id:"SQJto27U8S"})})]})})}function j(e){let{className:t,children:a}=e;return(0,s.jsx)("div",{className:(0,u.A)("mt-8 mx-4 sm:mx-auto p-7 max-w-lg min-w-xs border-0.5 border-border-300 rounded-[2rem] flex flex-col gap-6 bg-bg-100 shadow-[0_4px_24px_0_hsl(var(--always-black)/1.57%),0_4px_32px_0_hsl(var(--always-black)/1.57%),0_2px_64px_0_hsl(var(--always-black)/1.18%),0_16px_32px_0_hsl(var(--always-black)/1.18%)]",t),children:a})}function _(e){let{children:t}=e;return(0,s.jsx)("div",{className:"flex flex-col",children:t})}var y=a(0x144cd8dd7),w=a(0x5c94dea2),N=a(0x12c402068),M=a(0x21d6385a2),k=a(0x133ce3a6b),C=a(0x234eb6b38);let S=e=>{let{children:t}=e;return(0,s.jsx)("div",{className:"mt-8 -mb-20 mx-4 sm:mx-auto max-w-md min-w-xs pt-3 pb-14 px-2 rounded-t-[2rem] bg-accent-secondary-900",children:(0,s.jsx)(N.x,{children:(0,s.jsx)("div",{className:"w-full flex justify-center",children:(0,s.jsx)("p",{className:"text-xs text-accent-secondary-000 flex items-center gap-1",children:t})})})})},E=()=>{let[e,t]=(0,m.useState)(!1),{displayText:a}=(0,C.q)(),{data:l}=(0,k.o)(),n=!!(null==l?void 0:l.promotionId),i=(0,M.N)(null==l?void 0:l.promotionId);return((0,m.useEffect)(()=>{t(!0)},[]),e)?i?(0,s.jsxs)(S,{children:[(0,s.jsx)(y.o,{size:14,weight:"bold"}),(0,s.jsx)(f.A,{defaultMessage:"Guest pass applied",id:"nJIUVgVcH1"})]}):!a||n?null:(0,s.jsxs)(S,{children:[(0,s.jsx)(w.x,{size:14,weight:"bold"}),(0,s.jsx)(f.A,{defaultMessage:"{displayText} \xb7 Free month of Pro for new company email signups",id:"J0ffkcfMim",values:{displayText:a}})]}):null};var A=a(0xc6857cab);function T(e){var t;let{legalDocumentTypes:a,legalAcceptanceLinks:l,acceptLegalDocsViaCheckbox:n,variant:o}=e,{account:c}=(0,r.YL)(),[d,u]=(0,m.useState)(null);(0,m.useEffect)(()=>{u(localStorage.getItem("lastLoginMethod"))},[]);let f=(0,i.WX)(c,a,n),p=(0,x.useSearchParams)(),h=(0,m.useCallback)(e=>{!async function(){A.env.NEXT_PUBLIC_DISABLE_LEGAL_ACCEPTANCES||await f(),e()}()},[f]);return A.env.NEXT_PUBLIC_ENABLE_HIGHSIDE_HEADER_BASED_AUTH?(0,s.jsx)(v,{}):(0,s.jsx)(L,{..."student"===o?{emailPlaceholder:"Enter your university email",continueButtonText:"Continue"}:{},returnTo:null!=(t=p.get("returnTo"))?t:void 0,updateAndNavigate:h,legalAcceptanceLinks:l,legalDocumentTypes:a,lastLoginMethod:d})}function L(e){let{forceEmail:t,initialEmail:a,joinToken:i,returnTo:r,updateAndNavigate:u,legalAcceptanceLinks:p,legalDocumentTypes:h,lastLoginMethod:g,emailPlaceholder:b,continueButtonText:v}=e,j=(0,c.V)(),_=(0,c.V)(o.MZ),y=j?_?n.al.DesktopApp:null:n.al.Browser,[w,N]=(0,m.useState)(!1),M=(0,x.useSearchParams)(),k=M.get("email"),C=M.get("force_login"),[S,T]=(0,m.useState)(a||k||""),[L]=(0,d.o)(S,200),P=(0,m.useRef)(!1),D="1"!==A.env.NEXT_PUBLIC_DISABLE_SOCIAL_AUTH,U="1"!==A.env.NEXT_PUBLIC_DISABLE_SSO_AUTH,B="1"!==A.env.NEXT_PUBLIC_DISABLE_MAGIC_LINK_AUTH,R=A.env.NEXT_PUBLIC_DEFAULT_LOGIN_METHODS?function(){try{return JSON.parse(A.env.NEXT_PUBLIC_DEFAULT_LOGIN_METHODS)}catch(e){return["google","magic_link"]}}():["google","magic_link"],[q,z]=(0,m.useState)("true"===M.get("sso")),{data:F}=(0,l.vt)(L,"claude-ai"),O="1"===A.env.NEXT_PUBLIC_ENABLE_DOMAIN_REDIRECT&&(null==F?void 0:F.allowed_claude_domain)&&F.allowed_claude_domain!==window.location.host,G=O?F.allowed_claude_domain:void 0,H=(0,m.useCallback)(()=>{if(G){let e="".concat(window.location.protocol,"//").concat(G,"/login?email=").concat(encodeURIComponent(L),"&force_login=sso");window.location.href=e}},[G,L]),K=D&&null!==y,X=!K||q||F&&!F.methods.includes("google"),Q=[];D&&Q.push("google"),U&&Q.push("sso"),B&&Q.push("magic_link");let V=R.filter(e=>Q.includes(e)),Y=F?F.methods.filter(e=>Q.includes(e)):V,J=(0,m.useCallback)(()=>!!O&&(H(),!0),[O,H]),[Z,W]=(0,m.useState)(!1);return(0,m.useEffect)(()=>{"sso"===C&&k&&!P.current&&!w&&L===k&&F&&(P.current=!0,W(!0))},[C,k,L,w,F]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(E,{}),(0,s.jsxs)(I,{className:"space-y-2 dark:bg-bg-300",children:[(0,s.jsx)("div",{className:"flex flex-col gap-5",children:(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[K&&!w&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.hI,{joinToken:i,postAuthCallback:u,lastLoginMethod:g,authFlow:y,disabled:X,onSsoRequiredError:e=>{z(!0),e&&T(e)}}),(0,s.jsx)("p",{className:"text-text-300 pb-px text-center text-xs uppercase",children:(0,s.jsx)(f.A,{defaultMessage:"or",id:"Ntjkqd0GjZ"})})]}),(0,s.jsx)(n.Kx,{email:S,setEmail:T,joinToken:i,forceEmail:t,initialEmail:a,returnTo:r,postAuthCallback:u,legalDocumentTypes:h,onLoginInitiated:N,lastLoginMethod:g,allowedLoginMethods:Y,emailPlaceholder:b,continueButtonText:v,onBeforeSsoSubmit:J,shouldAutoTriggerSso:Z,onAutoTriggerSsoComplete:()=>W(!1)}),O&&(0,s.jsxs)("div",{className:"flex flex-col gap-3 p-4 bg-bg-200 rounded-xl border border-border-300",children:[(0,s.jsx)("div",{className:"text-sm text-center text-text-200",children:(0,s.jsx)(f.A,{defaultMessage:"Your organization uses a custom domain for Claude.",id:"ccj/jRRXC+"})}),(0,s.jsx)("div",{className:"text-xs text-center text-text-300",children:(0,s.jsx)(f.A,{defaultMessage:"Sign in above to continue to {domain}",id:"B00iF/bqTf",values:{domain:G}})})]})]})}),!w&&!A.env.NEXT_PUBLIC_DISABLE_LEGAL_ACCEPTANCES&&(0,s.jsx)("div",{className:"",children:p})]})]})}function I(e){let{className:t,children:a}=e;return(0,s.jsx)("div",{className:(0,u.A)("mt-8 mx-4 sm:mx-auto p-7 max-w-md min-w-xs text-center border-0.5 border-border-300 rounded-[2rem] flex flex-col [&_label]:hidden bg-bg-100 shadow-[0_4px_24px_0_hsl(var(--always-black)/1.57%),0_4px_32px_0_hsl(var(--always-black)/1.57%),0_2px_64px_0_hsl(var(--always-black)/1.18%),0_16px_32px_0_hsl(var(--always-black)/1.18%)]",t),children:a})}},0x13e0f4110:(e,t,a)=>{"use strict";a.d(t,{F:()=>T});var s=a(0x22102fd88),l=a(0xa5acf583),n=a(0x16d08f926),i=a(0xfc89b4a4),r=a(0x1ab0d1ca1),o=a(0x1f16c1247),c=a(0x38e6572),d=a(0x1d0b0d13),u=a(0x225bae024),x=a(0x18c2bb2d);function m(e){let{isAnimating:t,onClick:a,className:l="",ariaLabel:n}=e;return(0,s.jsxs)("button",{onClick:a,className:"p-2 text-text-500 hover:text-text-100 transition-all duration-300 flex flex-col justify-center items-center w-6 h-6 relative ".concat(l),"aria-label":n,children:[(0,s.jsx)("span",{className:"absolute w-4 h-[1px] bg-current transition-all duration-300 ease-out ".concat(t?"rotate-45 translate-y-0":"-translate-y-1.5")}),(0,s.jsx)("span",{className:"absolute w-4 h-[1px] bg-current transition-all duration-300 ease-out ".concat(t?"opacity-0":"opacity-100")}),(0,s.jsx)("span",{className:"absolute h-[1px] bg-current transition-all duration-300 ease-out ".concat(t?"w-4 -rotate-45 translate-y-0":"w-2 translate-y-1.5 -translate-x-1")})]})}function f(e){let{variant:t="inline",onTryClaudeClick:a}=e;return"stacked"===t?(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(u.$,{size:"lg",variant:"secondary",className:"px-5 w-1/2 text-text-400 dark:text-text-100 border-border-300 hover:text-text-100 [&:hover]:bg-transparent [&:hover]:border-border-300 transition-all duration-200",children:(0,s.jsx)("a",{href:"https://claude.com/contact-sales",children:(0,s.jsx)(c.A,{defaultMessage:"Contact sales",id:"W0Tn8YkSr3"})})}),(0,s.jsx)(u.$,{size:"lg",variant:"primary",className:"px-5 w-1/2 transition-all duration-200",onClick:a,children:(0,s.jsx)(c.A,{defaultMessage:"Try Claude",id:"pZ4CtGSlwT"})})]}):(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(u.$,{variant:"secondary",className:"px-5 text-text-400 dark:text-text-100 border-border-300 hover:text-text-100 [&:hover]:bg-transparent [&:hover]:border-border-300 transition-all duration-200",size:"default",children:(0,s.jsx)("a",{href:"https://claude.com/contact-sales",target:"_blank",children:(0,s.jsx)(c.A,{defaultMessage:"Contact sales",id:"W0Tn8YkSr3"})})}),(0,s.jsx)(u.$,{variant:"primary",size:"default",className:"px-5 transition-all duration-200",onClick:a,children:(0,s.jsx)(c.A,{defaultMessage:"Try Claude",id:"pZ4CtGSlwT"})})]})}function p(){return(0,s.jsx)(x.P.div,{className:"border-t-[0.5px] border-border-300",variants:{hidden:{opacity:0,scaleX:0},visible:{opacity:1,scaleX:1,transition:{duration:.2,ease:[.22,1,.36,1]}}}})}let h={mobileMenu:{initial:{clipPath:"inset(0 0 100% 0)"},animate:{clipPath:"inset(0 0 0 0)"},exit:{clipPath:"inset(0 0 100% 0)"},transition:{duration:.6,ease:[.22,1,.36,1]}},backdrop:{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3}},navSection:{hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.3,ease:[.22,1,.36,1]}}},staggeredContent:{visible:{transition:{staggerChildren:.04,delayChildren:.2}}},ctaButtons:{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},transition:{delay:.3,duration:.3,ease:[.22,1,.36,1]}}};a(0x6f465107);var g=a(0x7dbd6363),b=a(0x1b03847fb),v=a(0x18f9bc151);let j=(0,i.memo)(e=>{let{label:t,items:a,sections:l}=e,[n,r]=(0,i.useState)(!1),[o,c]=(0,i.useState)(null),d=(0,i.useRef)(null),u=(0,i.useRef)(null),x=(0,i.useCallback)(e=>{e.preventDefault()},[]),m=(0,i.useCallback)(e=>{e.target.blur()},[]),f=(0,s.jsxs)("button",{className:"flex items-center gap-1 text-text-300 hover:text-text-100 transition-colors text-[15px]",onMouseDown:x,onFocus:m,children:[(0,s.jsx)("span",{children:t}),(0,s.jsx)(v.a,{size:12,className:"transition-transform duration-300 ease-in-out ".concat(n?"-rotate-180":"")})]}),p=(0,i.useCallback)(()=>{d.current&&(clearTimeout(d.current),d.current=null),r(!0)},[]),h=(0,i.useCallback)(()=>{d.current=setTimeout(()=>{r(!1)},150)},[]),j=(0,i.useCallback)(e=>{u.current&&(clearTimeout(u.current),u.current=null),c(e)},[]),_=(0,i.useCallback)(()=>{u.current=setTimeout(()=>{c(null)},200)},[]);return(0,s.jsx)("div",{className:"relative",onMouseEnter:p,onMouseLeave:h,children:(0,s.jsx)(b.ms,{trigger:f,unstyledTrigger:!0,modal:!1,open:n,onOpenChange:r,"data-theme":"claude",className:"navbar-dropdown-content dark:bg-bg-200",children:l?(0,s.jsx)("div",{className:"min-w-[200px]",children:l.map((e,t)=>{var a;let n=t>0?l[t-1]:null,i=null==n?void 0:n.hideSeparator;return(0,s.jsxs)("div",{className:i?"mt-2":"",children:[(0,s.jsxs)(b.RP,{children:[e.title&&(0,s.jsx)(b.o_,{className:"text-xs mb-1 text-text-200",children:e.title}),e.items.map((e,a)=>{let l="section-".concat(t,"-").concat(a),n=o===l,i=null!==o&&!n;return(0,s.jsx)(b.tJ,{asChild:!0,children:(0,s.jsxs)("a",{href:e.href,className:"text-[20px] leading-7 flex items-center justify-between transition-colors duration-200 py-2.5 px-1 ".concat(i?"text-text-400":"text-text-100"),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,onMouseEnter:()=>j(l),onMouseLeave:_,children:[(0,s.jsx)("span",{children:e.label}),e.isExternal&&(0,s.jsx)(g.ArrowOutSquare,{className:i?"text-text-400":"text-text-100"})]})},e.href||a)})]}),t{let a="item-".concat(t),l=o===a,n=null!==o&&!l;return(0,s.jsx)(b.tJ,{asChild:!0,className:"h-11",children:(0,s.jsxs)("a",{href:e.href,className:"text-[20px] leading-7 flex items-center justify-between transition-colors duration-200 py-2.5 px-1 ".concat(n?"text-text-400":"text-text-100"),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,onMouseEnter:()=>j(a),onMouseLeave:_,children:[(0,s.jsx)("span",{children:e.label}),e.isExternal&&(0,s.jsx)(g.ArrowOutSquare,{className:n?"text-text-400":"text-text-100"})]})},e.href||t)})})})})});j.displayName="NavbarDropdown";var _=a(0x1cd2ec21c),y=a(0x160045b25);function w(e){let{isOpen:t,isAnimating:a,onClose:l,navbarConfig:n,onTryClaudeClick:i}=e;return(0,s.jsx)(y.N,{children:t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.P.div,{...h.backdrop,className:"hidden sm:block min-[1000px]:hidden fixed inset-0 z-40",onClick:l}),(0,s.jsxs)(x.P.div,{...h.mobileMenu,className:"min-[1000px]:hidden fixed inset-y-0 right-0 w-full sm:w-[30rem] sm:min-w-[30rem] bg-bg-000 dark:bg-bg-200 z-50 flex flex-col sm:border-l border-border-400 sm:shadow-[0_4px_20px_0_hsl(var(--always-black)/4%)]",onClick:e=>{e.target===e.currentTarget&&l()},children:[(0,s.jsx)(N,{isAnimating:a,onClose:l}),(0,s.jsx)(M,{navbarConfig:n}),(0,s.jsx)(k,{onTryClaudeClick:()=>{null==i||i(),l()}})]})]})})}function N(e){let{isAnimating:t,onClose:a}=e,l=(0,r.A)();return(0,s.jsxs)("div",{className:"relative flex items-center justify-between mx-auto",style:{width:d.jQ},children:[(0,s.jsx)("div",{className:"h-[72px] pointer-events-none",children:(0,s.jsx)(n.S,{className:"h-[72px] sm:hidden w-[7.5rem]"})}),(0,s.jsx)(m,{isAnimating:t,onClick:a,ariaLabel:l.formatMessage({defaultMessage:"Close menu",id:"dg8ZEbPJCa"})})]})}function M(e){let{navbarConfig:t}=e,a=(0,r.A)();return(0,s.jsx)(_.r,{containerClassName:"flex-1",className:"h-full px-8 mt-8",gradientHeight:48,children:(0,s.jsxs)(x.P.div,{className:"py-8 space-y-5",initial:"hidden",animate:"visible",exit:"hidden",variants:h.staggeredContent,children:[(0,s.jsx)(C,{title:a.formatMessage({defaultMessage:"Meet Claude",id:"KvrB2MkS1H"}),sections:t.meetClaude.sections}),(0,s.jsx)(p,{}),(0,s.jsx)(C,{title:a.formatMessage({defaultMessage:"Platform",id:"Mmuj1Rb6ck"}),sections:t.platform.sections}),(0,s.jsx)(p,{}),(0,s.jsx)(C,{title:a.formatMessage({defaultMessage:"Solutions",id:"asqGnVRb8g"}),sections:t.solutions.sections}),(0,s.jsx)(p,{}),(0,s.jsx)(C,{title:a.formatMessage({defaultMessage:"Pricing",id:"5WwopwNIIR"}),sections:t.pricing.sections}),(0,s.jsx)(p,{}),(0,s.jsx)(C,{title:a.formatMessage({defaultMessage:"Learn",id:"IbrSk1x1M4"}),sections:t.learn.sections})]})})}function k(e){let{onTryClaudeClick:t}=e;return(0,s.jsx)(x.P.div,{className:"relative p-8 pt-4",...h.ctaButtons,children:(0,s.jsx)(f,{variant:"stacked",onTryClaudeClick:t})})}function C(e){let{title:t,items:a,sections:l}=e,[n,r]=(0,i.useState)(!1),[o,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(null),m=(0,i.useRef)(null),f=(0,i.useRef)(null),p=e=>{m.current&&(clearTimeout(m.current),m.current=null),u(e)},g=()=>{m.current=setTimeout(()=>{u(null)},200)};return(0,s.jsxs)(x.P.div,{ref:f,variants:h.navSection,onMouseEnter:()=>{o||r(!0)},onMouseLeave:()=>{o||r(!1)},children:[(0,s.jsxs)("button",{onClick:()=>{let e=!o;c(e),r(e),e&&setTimeout(()=>{var e;null==(e=f.current)||e.scrollIntoView({behavior:"smooth",block:"center"})},100)},className:"flex items-center justify-between w-full text-left py-2 group",children:[(0,s.jsx)("h3",{className:"transition-colors duration-200 text-[17px] ".concat(n?"text-text-100":"text-text-300"),children:t}),(0,s.jsxs)("div",{className:"relative w-4 h-4 flex items-center justify-center",children:[(0,s.jsx)("span",{className:"absolute w-4 h-[1px] bg-text-400 transition-all duration-300 ease-out"}),(0,s.jsx)("span",{className:"absolute w-4 h-[1px] bg-text-400 transition-all duration-300 ease-out ".concat(n?"rotate-0":"-rotate-90")})]})]}),(0,s.jsx)("div",{className:"transition-all duration-500 ease-in-out overflow-hidden ".concat(n?"max-h-140 opacity-100":"max-h-0 opacity-0"),children:(0,s.jsx)("div",{className:"",children:l?(0,s.jsx)(S,{sections:l,hoveredItem:d,onItemHover:p,onItemLeave:g}):(0,s.jsx)(E,{items:a,hoveredItem:d,onItemHover:p,onItemLeave:g})})})]})}function S(e){let{sections:t,hoveredItem:a,onItemHover:l,onItemLeave:n}=e;return(0,s.jsx)("div",{className:"mt-8 space-y-8 mb-8",children:t.map((e,t)=>(0,s.jsxs)("div",{children:[e.title&&(0,s.jsx)("h4",{className:"text-text-400 text-xs mb-3 mt-5",children:e.title}),(0,s.jsx)("div",{className:"space-y-4 ".concat(t>0&&!e.title?"-mt-4":""),children:e.items.map((e,i)=>{let r="section-".concat(t,"-").concat(i);return(0,s.jsx)(A,{item:e,shouldDim:null!==a&&a!==r,onMouseEnter:()=>l(r),onMouseLeave:n},e.href||i)})})]},t))})}function E(e){let{items:t,hoveredItem:a,onItemHover:l,onItemLeave:n}=e;return t?(0,s.jsx)("div",{className:"mt-4 space-y-4",children:t.map((e,t)=>{let i="item-".concat(t);return(0,s.jsx)(A,{item:e,shouldDim:null!==a&&a!==i,onMouseEnter:()=>l(i),onMouseLeave:n},e.href||t)})}):null}function A(e){let{item:t,shouldDim:a,onMouseEnter:l,onMouseLeave:n}=e;return(0,s.jsxs)("a",{href:t.href,className:"block text-[15px] transition-colors duration-200 flex items-center justify-between ".concat(a?"text-text-400":"text-text-100"),target:t.isExternal?"_blank":void 0,rel:t.isExternal?"noopener noreferrer":void 0,onMouseEnter:l,onMouseLeave:n,children:[(0,s.jsx)("span",{children:t.label}),t.isExternal&&(0,s.jsx)(g.ArrowOutSquare,{size:20,className:a?"text-text-400":"text-text-100"})]})}function T(e){let{onTryClaudeClick:t}=e,[a,n]=(0,i.useState)(!1),[u,x]=(0,i.useState)(!1),p=function(e){let t=(0,o.UD)(e),a={meetClaude:{sections:[{title:(0,s.jsx)(c.A,{defaultMessage:"Products",id:"7NFfmzxoF9"}),items:["claude","claude-code","cowork"]},{title:(0,s.jsx)(c.A,{defaultMessage:"Features",id:"ZXp0z1T7ZD"}),items:["claude-chrome","claude-excel","claude-slack","skills"]},{title:(0,s.jsx)(c.A,{defaultMessage:"Models",id:"blWvagsLt7"}),items:["opus","sonnet","haiku"]}]},platform:{sections:[{items:["developer-platform","developer-docs","pricing-api","regional-compliance"]},{items:["console-login"]}]},solutions:{sections:[{title:(0,s.jsx)(c.A,{defaultMessage:"Use cases",id:"QNkMhhn08n"}),items:["ai-agents","coding"]},{title:(0,s.jsx)(c.A,{defaultMessage:"Industries",id:"lINmquCkE5"}),items:["customer-support","education","financial-services","government","healthcare","life-sciences","nonprofits"]}]},pricing:{sections:[{items:["pricing-overview","api-plan"]},{title:(0,s.jsx)(c.A,{defaultMessage:"Plans",id:"Q5CLtpsYtW"}),items:["max-plan","team-plan","enterprise-plan"]}]},learn:{sections:[{items:["blog","courses","customer-stories","events","tutorials","use-cases"]},{items:["news"]}]}};return(0,i.useMemo)(()=>({meetClaude:{sections:a.meetClaude.sections.map(e=>({title:e.title,items:e.items.map(e=>t[e]),hideSeparator:e.hideSeparator}))},platform:{sections:a.platform.sections.map(e=>({title:e.title,items:e.items.map(e=>t[e])}))},solutions:{sections:a.solutions.sections.map(e=>({title:e.title,items:e.items.map(e=>t[e])}))},pricing:{sections:a.pricing.sections.map(e=>({title:e.title,items:e.items.map(e=>t[e])}))},learn:{sections:a.learn.sections.map(e=>({title:e.title,items:e.items.map(e=>t[e])}))}}),[t,a])}((0,l._r)()),h=(0,r.A)(),g=(0,i.useCallback)(e=>{e?(n(!0),setTimeout(()=>x(!0),5)):(x(!1),setTimeout(()=>n(!1),50))},[]),b=(0,i.useCallback)(()=>{t?t():window.location.href="/"},[t]);return(0,i.useEffect)(()=>{let e=()=>{window.matchMedia("(min-width: 1000px)").matches&&a&&g(!1)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[a,g]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("nav",{className:"fixed top-0 left-0 right-0 w-full bg-bg-100 dark:bg-bg-300 z-header",children:(0,s.jsxs)("div",{className:"flex items-center justify-between ".concat(d.S0," mx-auto"),style:{width:d.jQ},children:[(0,s.jsx)(L,{}),(0,s.jsxs)("div",{className:"flex items-center gap-6",children:[(0,s.jsx)(I,{navbarConfig:p,intl:h}),(0,s.jsx)("div",{className:"hidden sm:flex items-center",children:(0,s.jsx)(f,{onTryClaudeClick:b})}),(0,s.jsx)("div",{className:"min-[1000px]:hidden",children:(0,s.jsx)(m,{isAnimating:u,onClick:()=>g(!a),className:a?"opacity-0 pointer-events-none":"opacity-100",ariaLabel:h.formatMessage({defaultMessage:"Toggle menu",id:"NuF5YcKWhi"})})})]})]})}),(0,s.jsx)(w,{isOpen:a,isAnimating:u,onClose:()=>g(!1),navbarConfig:p,onTryClaudeClick:b})]})}function L(){return(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("a",{href:"#",children:(0,s.jsx)(n.S,{className:"".concat(d.Uf," w-[7.5rem]")})})})}function I(e){let{navbarConfig:t,intl:a}=e;return(0,s.jsxs)("div",{className:"hidden min-[1000px]:flex items-center gap-6 py-6",children:[(0,s.jsx)(j,{label:a.formatMessage({defaultMessage:"Meet Claude",id:"KvrB2MkS1H"}),sections:t.meetClaude.sections}),(0,s.jsx)(j,{label:a.formatMessage({defaultMessage:"Platform",id:"Mmuj1Rb6ck"}),sections:t.platform.sections}),(0,s.jsx)(j,{label:a.formatMessage({defaultMessage:"Solutions",id:"asqGnVRb8g"}),sections:t.solutions.sections}),(0,s.jsx)(j,{label:a.formatMessage({defaultMessage:"Pricing",id:"5WwopwNIIR"}),sections:t.pricing.sections}),(0,s.jsx)(j,{label:a.formatMessage({defaultMessage:"Learn",id:"IbrSk1x1M4"}),sections:t.learn.sections})]})}},0x146cf16c2:(e,t,a)=>{"use strict";a.d(t,{LegalAcceptanceLinks:()=>i});var s=a(0x22102fd88),l=a(0x1f16c1247),n=a(0x38e6572);function i(e){let{showAffirmativeConsentForMarketingEmail:t}=e;return(0,s.jsx)("div",{className:"text-xs text-text-400 leading-relaxed",children:t?(0,s.jsx)(n.A,{defaultMessage:"By continuing, you acknowledge Anthropic’s Privacy Policy.",id:"8qzCpf4q7/",values:{privacyLink:e=>(0,s.jsx)(l.cU,{type:"privacy",children:e})}}):(0,s.jsx)(n.A,{defaultMessage:"By continuing, you acknowledge Anthropic’s Privacy Policy and agree to get occasional product update and promotional emails.",id:"qQRDnbY8/6",values:{privacyLink:e=>(0,s.jsx)(l.cU,{type:"privacy",children:e})}})})}},0x16d08f926:(e,t,a)=>{"use strict";a.d(t,{S:()=>s.S});var s=a(0x1f093edcc)},0x21d6385a2:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,N:()=>l});var s=function(e){return e.CLAUDE_INVITE_CONTEST="claude_invite_contest",e.EVERGREEN_CLAUDE_DISCOUNT="evergreen_claude_discount",e.CLAUDE_CODE_GUEST_PASS="claude_code_guest_pass",e.CLAUDE_CODE_GUEST_PASS_A47C="claude_code_guest_pass_a47c",e}({});function l(e){return"claude_code_guest_pass"===e||"claude_code_guest_pass_a47c"===e}},0x234eb6b38:(e,t,a)=>{"use strict";a.d(t,{q:()=>c});var s=a(0xac309a83),l=a(0xc6536c20),n=a(0xfc89b4a4),i=a(0x1ab0d1ca1),r=a(0x156c4e43b);let o=r.Ik({coral:r.Yj()});function c(){let[e,t]=(0,n.useState)(null),a=(0,i.A)(),r=(0,s.fS)("silver_metal_compass"),c=(0,s.iW)("crystal_bridge_falcon",null,o.nullable());return(0,n.useEffect)(()=>{if(!r||!(null==c?void 0:c.coral))return;let e=()=>{let e=l.c9.fromISO(c.coral),s=l.c9.now(),n=e.diff(s);if(n.milliseconds<=0)return t(null),!1;let i=Math.floor(n.milliseconds/1e3),r=Math.floor(i/3600),o=Math.floor(i%3600/60),d=[];return r>0&&d.push(a.formatMessage({defaultMessage:"{value, plural, one {#h} other {#h}}",id:"toZ1QpleRE",description:"Hours in countdown timer"},{value:r})),(o>0||r>0)&&d.push(a.formatMessage({defaultMessage:"{value, plural, one {#m} other {#m}}",id:"31se92/223",description:"Minutes in countdown timer"},{value:o})),d.push(a.formatMessage({defaultMessage:"{value, plural, one {#s} other {#s}}",id:"DVUSGKMNCv",description:"Seconds in countdown timer"},{value:i%60})),t(d.join(" ")),!0};e();let s=setInterval(()=>{e()||clearInterval(s)},1e3);return()=>clearInterval(s)},[r,null==c?void 0:c.coral,a]),{displayText:e}}}}]);