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]="4b89e28e-1654-4455-9115-32766f31c52d",e._sentryDebugIdIdentifier="sentry-dbid-4b89e28e-1654-4455-9115-32766f31c52d")}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})}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1728,13877,66411],{0x6a355238:(e,t,C)=>{C.d(t,{D5:()=>V,QN:()=>p,vr:()=>x});var a=C(0x22102fd88),n=C(0x12c9046cd),L=C(0xac309a83),r=C(0x1bd175d8c),o=C(0x253a5c787),i=C(0x2443efed0),s=C(0xfc89b4a4),l=C(0xa5acf583),c=C(0xb804d868);let d="ak-session-token",u=e=>{let{host:t,apiKey:C,nonce:n,integrity:L,onCompleted:r,onShown:o,onShow:l,onHide:c,onError:d,onScriptError:u,setArkoseEnforcement:f}=e,h=e=>{e.setConfig({onCompleted:r,onShown:o,onShow:l,onHide:c,onError:d}),f(e)};return(0,s.useEffect)(()=>()=>{window.setupEnforcement=void 0},[]),(0,a.jsx)(i.default,{id:"arkose-script",src:"https://".concat(t,"/v2/").concat(C,"/api.js"),type:"text/javascript","data-callback":"setupEnforcement",async:!0,defer:!0,onLoad:()=>{window.setupEnforcement||(window.setupEnforcement=h)},onError:u,nonce:n,integrity:L,crossOrigin:"anonymous"})},f=()=>{let e=(0,r.V)(),t=(0,l.fZ)(),C=(0,L.fS)("ak_enabled");return!e&&t&&C},h=(0,s.createContext)({isReady:!1,isChallenging:!1,lastCallerId:void 0,needsToken:!1,startTokenFlow:()=>{}});function p(e){let{host:t,apiKey:C,nonce:n,integrity:L,children:r}=e,i=f(),[l,p]=(0,s.useState)(i&&!!t&&!!C&&!!L);(0,s.useEffect)(()=>{L&&i&&t&&C&&p(!0)},[L,i,t,C]);let[x,V]=(0,s.useState)(void 0),[g,m]=(0,s.useState)(void 0),[v,H]=(0,s.useState)(void 0),[y,w]=(0,s.useState)(!1),[b,M]=(0,c.Vc)(d,void 0),_=l&&!b;return(0,a.jsxs)(h.Provider,{value:{isReady:!!x,isChallenging:y,needsToken:_,lastCallerId:g,startTokenFlow:(e,t)=>{m(e),H(t),null==x||x.run()}},children:[r,l&&(0,a.jsx)(u,{host:t,apiKey:C,nonce:n,integrity:L,onCompleted:e=>{M(e.token),v&&(v(),H(void 0))},onShown:()=>w(!0),onShow:()=>w(!0),onHide:()=>w(!1),onError:e=>{(0,o.Cp)(e.error)},onScriptError:e=>{p(!1),(0,o.Cp)(e)},setArkoseEnforcement:V})]})}function x(){return(0,s.useContext)(h)}let V=()=>{let e=f(),[t,C,a]=(0,c.Vc)(d,void 0),{mutateAsync:L}=(0,n.L2)("api/arkose/verify","POST");return(0,s.useCallback)(async()=>{e&&t&&(a(),await L({session_token:t}))},[e,L,t,a])}},0x7aef6a06:(e,t,C)=>{C.d(t,{CZ:()=>l,Cy:()=>r,HT:()=>i,TR:()=>s,q:()=>L.ensureRelativeUrl,rt:()=>o});var a=C(0x495c605f),n=C(0x20e00cddd),L=C(0xedac311);let r=(e,t,C,r,o)=>{if(o&&!localStorage.getItem(n.EB.ACCEPTED_US_GOVERNMENT_SYSTEM_NOTIFICATION))return"/us-govt-system-warning";if(!t||!t.startsWith("/")||"/"===t||"/?"===t)return C;if((0,a.Xs)(e,r)){let e=new URL(C,window.location.origin),a=new URLSearchParams(e.search);return a.set("returnTo",t),"".concat(e.pathname,"?").concat(a.toString())}return(0,L.ensureRelativeUrl)(t)},o=function(e,t){let C=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/login",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n="".concat(e,"?").concat(t),L=new URLSearchParams(a);return L.append("returnTo",n),"".concat(C,"?").concat(L.toString())};function i(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t&&e.push(...Object.keys(localStorage).filter(e=>e.startsWith("".concat(n.sn,".")))),e.reduce((e,t)=>{let C=localStorage.getItem(t);return null!==C&&e.push([t,C]),e},[])}function s(e){e.forEach(e=>{let[t,C]=e;localStorage.setItem(t,C)})}function l(e){if(!e)return null;try{let t=decodeURIComponent(e);return new URL(t,window.location.origin).searchParams}catch(e){return null}}},0xc459f9d1:(e,t,C)=>{C.d(t,{C:()=>s,u:()=>i});var a=C(0x22102fd88),n=C(0x7dbd6363),L=C(0x9845e38c),r=C(0x1a1f6dda6),o=C(0xfc89b4a4);function i(e){let{didCopy:t,className:C,...L}=e;return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(n.Copy,{className:(0,r.A)(C,"transition-all",t?"opacity-0 scale-50":"opacity-100 scale-100"),...L}),(0,a.jsx)(n.Check,{className:(0,r.A)(C,"absolute top-0 left-0 transition-all",t?"opacity-100 scale-100":"opacity-0 scale-50"),size:L.size,vectorSizeOverride:L.vectorSizeOverride})]})}function s(){let[e,t]=(0,o.useState)(!1),[C,a]=(0,o.useState)(void 0);return{didCopy:e,copyToClipboard:(0,o.useCallback)(async e=>{let n,r,o=()=>{t(!0),a(setTimeout(()=>t(!1),2e3))};if(C&&clearTimeout(C),"string"==typeof e)n=e.trim();else if(e&&"object"==typeof e)n=e.text.trim(),r=e.html;else throw Error("Invalid clipboard input; no plain text provided");try{if(r)try{await navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([n],{type:"text/plain"}),"text/html":new Blob([r],{type:"text/html"})})]),o();return}catch(e){try{let e=new ClipboardEvent("copy",{bubbles:!0,cancelable:!0}),t=new DataTransfer;if(t.setData("text/plain",n),t.setData("text/html",r),Object.defineProperty(e,"clipboardData",{value:t,writable:!1}),document.dispatchEvent(e),e.defaultPrevented)return void o()}catch(e){}}await navigator.clipboard.writeText(n),o()}catch(e){L.v.error(L.u.CLIPBOARD,"Clipboard copy failed",e)}},[C])}}},0x14c467420:(e,t,C)=>{C.r(t),C.d(t,{FullPageNotice:()=>s});var a=C(0x22102fd88),n=C(0x1a1f6dda6);function L(e){let{className:t,height:C=28}=e;return(0,a.jsxs)("svg",{height:C,viewBox:"0 0 837 95",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,n.A)(t),"aria-label":"Claude Console",children:[(0,a.jsx)("path",{d:"M18.3673 62.6803L36.7852 52.3525L37.0888 51.4479L36.7852 50.9442H35.8744L32.7879 50.7564L22.2634 50.4747L13.1556 50.0992L4.30088 49.6297L2.07454 49.1603L0 46.3906L0.202395 45.0292L2.07454 43.7617L4.75627 43.9964L10.6763 44.4189L19.5817 45.0292L26.0077 45.4047L35.5708 46.3906H37.0888L37.2912 45.7803L36.7852 45.4047L36.3804 45.0292L27.1715 38.7855L17.2035 32.2133L11.9919 28.4108L9.20895 26.4861L7.79219 24.7022L7.18501 20.7588L9.71494 17.9422L13.1556 18.1769L14.0158 18.4116L17.5071 21.0874L24.9451 26.8616L34.6601 33.9972L36.0768 35.1708L36.6473 34.7858L36.7346 34.5136L36.0768 33.4339L30.8146 23.9041L25.1981 14.1866L22.6682 10.1494L22.0104 7.75518C21.7556 6.75045 21.6056 5.91921 21.6056 4.89156L24.4897 0.948214L26.1089 0.431824L30.005 0.948214L31.6242 2.35655L34.0529 7.89601L37.949 16.5808L44.0208 28.4108L45.7918 31.9316L46.7532 35.1708L47.1073 36.1567H47.7145V35.5933L48.2205 28.9272L49.1313 20.7588L50.0421 10.2432L50.3457 7.28573L51.813 3.71794L54.7477 1.79322L57.0247 2.87294L58.8968 5.54878L58.6438 7.28573L57.5307 14.5152L55.3549 25.8288L53.9382 33.4339H54.7477L55.7091 32.448L59.5546 27.378L65.9806 19.3035L68.8142 16.1113L72.1537 12.5905L74.2788 10.9005H78.3267L81.2614 15.3133L79.9459 19.8669L75.7968 25.1247L72.3561 29.5844L67.4227 36.194L64.3615 41.5083L64.636 41.9468L65.3735 41.8839L76.5051 39.4897L82.5264 38.41L89.7114 37.1894L92.9497 38.6917L93.3039 40.2408L92.0389 43.3861L84.3479 45.2639L75.3414 47.0947L61.9295 50.252L61.7809 50.3714L61.9563 50.6315L68.0046 51.1789L70.5851 51.3197H76.9099L88.6994 52.2117L91.7859 54.2303L93.6075 56.7184L93.3039 58.6431L88.5476 61.0373L82.1722 59.535L67.2456 55.9673L62.1351 54.6998H61.4268V55.1223L65.677 59.3003L73.5198 66.342L83.2854 75.4493L83.7914 77.7026L82.5264 79.4865L81.2108 79.2987L72.6091 72.8204L69.2695 69.9098L61.7809 63.5723H61.275V64.2295L62.9953 66.7645L72.1537 80.5193L72.6091 84.7443L71.9513 86.1057L69.5731 86.9507L66.9926 86.4812L61.5786 78.9232L56.0633 70.4731L51.6106 62.8681L51.0728 63.2076L48.4229 91.5043L47.2085 92.9596L44.375 94.0393L41.9969 92.2554L40.7319 89.3449L41.9969 83.5707L43.5148 76.0595L44.7292 70.0976L45.8424 62.6803L46.5222 60.2025L46.4622 60.0367L45.919 60.128L40.3271 67.7973L31.8265 79.2987L25.0969 86.4812L23.4778 87.1385L20.6948 85.6832L20.9478 83.1012L22.5164 80.8009L31.8265 68.9709L37.443 61.6006L41.0628 57.3699L41.0276 56.758L40.8277 56.7409L16.0904 72.8673L11.6883 73.4306L9.76554 71.6468L10.0185 68.7362L10.9293 67.7973L18.3673 62.6803Z",fill:"#D97757"}),(0,a.jsx)("path",{d:"M201.402 16.8878V75.2417C201.402 79.082 203.368 79.925 208.52 80.5807V84.702H183.043V80.5807C188.195 79.925 190.162 79.082 190.162 75.2417V18.8548L183.511 15.7638V13.3285L198.498 8.8325H201.87L201.402 16.8878Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M150.073 79.4567C154.475 79.4567 158.128 78.801 161.031 77.4897C166.932 74.8671 170.492 69.9028 173.489 61.6601H178.453L176.393 79.7377C168.431 83.4843 159.439 85.6386 148.106 85.6386C140.144 85.6386 133.213 84.0463 127.405 80.768C115.791 74.3051 109.609 62.6905 109.609 49.5772C109.609 41.8029 111.388 34.9653 114.854 29.0644C121.785 17.2624 134.243 10.7058 148.855 10.7058C159.252 10.7058 167.775 12.9538 174.613 17.3561L175.269 33.7477H170.398C166.37 21.8521 159.345 16.8878 147.918 16.8878C130.965 16.8878 123.284 28.7834 123.284 45.9242C123.284 52.0125 124.221 57.5388 126.188 62.5968C130.028 72.8064 138.177 79.4567 150.073 79.4567Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M259.381 78.239C256.664 78.239 255.353 76.0847 255.353 71.8697V52.2935C255.353 38.8993 248.235 33.7477 235.402 33.7477C224.069 33.7477 215.826 38.431 215.826 46.2052C215.826 48.5469 216.669 50.3266 218.355 51.5442L226.972 50.4202C226.598 47.7976 226.41 46.2052 226.41 45.5496C226.41 41.1473 228.752 38.8993 233.529 38.8993C240.554 38.8993 244.113 43.8636 244.113 51.8252V54.4479L226.317 59.7868C220.416 61.3791 217.044 62.7841 214.796 66.0624C213.672 67.7484 213.11 69.9964 213.11 72.7127C213.11 80.2997 218.355 85.6386 227.253 85.6386C233.716 85.6386 239.43 82.735 244.394 77.2087C246.174 82.735 248.89 85.6386 253.761 85.6386C257.695 85.6386 261.254 84.0463 264.439 80.9553L263.502 77.677C262.097 78.0517 260.786 78.239 259.381 78.239ZM244.113 73.0874C239.524 76.553 236.807 78.0517 232.592 78.0517C227.722 78.0517 224.724 75.2417 224.724 70.2774C224.724 66.9054 226.317 64.9385 229.689 63.8145L244.113 59.2248V73.0874Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M412.712 75.8037C419.924 75.8037 426.762 71.6824 430.228 65.5005L433.412 66.3434C432.007 77.396 421.985 85.6386 409.715 85.6386C395.29 85.6386 385.362 75.0544 385.362 59.7868C385.362 44.5193 396.133 33.7477 410.558 33.7477C421.329 33.7477 428.916 40.2106 431.352 51.4505L395.995 62.2971C398.156 70.6895 404.155 75.8037 412.712 75.8037ZM419.081 50.0456C417.77 43.7699 413.93 40.2106 408.591 40.2106C400.629 40.2106 395.103 46.2052 395.103 54.8225C395.103 55.7292 395.14 56.6097 395.208 57.4714L419.081 50.0456Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M375.152 73.4621V16.8878L375.62 8.8325H372.248L357.262 13.3285V15.7638L363.912 18.8548V37.4006C360.634 34.9653 356.325 33.7477 351.173 33.7477C336.281 33.7477 324.666 45.0813 324.666 62.0348C324.666 75.991 333.002 85.6386 346.771 85.6386C353.89 85.6386 360.072 82.173 363.912 76.834L363.444 85.6386H365.411L382.645 82.3603V78.1454L380.21 77.958C376.182 77.5834 375.152 76.7404 375.152 73.4621ZM363.912 72.4317C360.915 75.5227 356.512 77.396 351.548 77.396C341.339 77.396 336.187 69.3408 336.187 58.5692C336.187 46.4862 342.088 39.3676 351.454 39.3676C358.573 39.3676 363.912 43.4889 363.912 51.0759V72.4317Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M314.456 43.3953V73.4621C314.456 76.7404 315.487 77.5834 319.514 77.958L321.95 78.1454V82.3603L304.715 85.6386H302.748L303.216 76.4594C298.814 81.7983 292.913 85.6386 285.701 85.6386C276.241 85.6386 270.34 80.6744 270.34 70.1838V45.4559C270.34 42.3649 269.028 41.1473 264.626 40.4916L262.94 40.2106V36.0893L279.238 33.7477H282.048L281.58 43.3953V68.5914C281.58 74.8671 284.858 77.5834 290.197 77.5834C294.974 77.5834 299.002 75.5227 303.216 72.2444V45.4559C303.216 42.3649 301.905 41.1473 297.503 40.4916L295.911 40.2106V36.0893L312.208 33.7477H314.925L314.456 43.3953Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M498.626 79.3766C503.013 79.3766 506.679 78.7186 509.624 77.4026C512.57 76.0866 515.014 74.1439 516.956 71.5746C518.899 69.0052 520.622 65.6526 522.126 61.5166H527.108L525.04 79.6586C521.03 81.5386 516.706 83.0112 512.068 84.0766C507.494 85.0792 502.355 85.5806 496.652 85.5806C488.631 85.5806 481.706 83.9512 475.878 80.6926C470.05 77.4339 465.601 73.0472 462.53 67.5326C459.522 62.0179 458.018 55.9706 458.018 49.3906C458.018 41.6199 459.742 34.7892 463.188 28.8986C466.698 22.9452 471.429 18.3706 477.382 15.1746C483.398 11.9786 490.072 10.3806 497.404 10.3806C507.807 10.3806 516.424 12.6052 523.254 17.0546L523.818 33.2226H518.93C516.925 27.3319 514.105 23.1019 510.47 20.5326C506.836 17.9006 502.167 16.5846 496.464 16.5846C487.942 16.5846 481.675 19.3106 477.664 24.7626C473.716 30.1519 471.742 37.1392 471.742 45.7246C471.742 51.8032 472.714 57.4119 474.656 62.5506C476.599 67.6266 479.576 71.6999 483.586 74.7706C487.66 77.8412 492.673 79.3766 498.626 79.3766Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M559.591 85.5806C554.578 85.5806 550.16 84.5152 546.337 82.3846C542.514 80.1912 539.538 77.2146 537.407 73.4546C535.276 69.6319 534.211 65.3079 534.211 60.4826C534.211 55.0932 535.433 50.3619 537.877 46.2886C540.321 42.2152 543.611 39.0819 547.747 36.8886C551.883 34.6326 556.458 33.5046 561.471 33.5046C566.485 33.5046 570.902 34.6012 574.725 36.7946C578.61 38.9252 581.618 41.9019 583.749 45.7246C585.88 49.5472 586.945 53.8399 586.945 58.6026C586.945 63.9919 585.723 68.7232 583.279 72.7966C580.835 76.8699 577.514 80.0346 573.315 82.2906C569.179 84.4839 564.605 85.5806 559.591 85.5806ZM562.223 79.5646C566.422 79.5646 569.586 77.9666 571.717 74.7706C573.848 71.5746 574.913 67.2819 574.913 61.8926C574.913 55.3752 573.472 50.0172 570.589 45.8186C567.769 41.6199 563.853 39.5206 558.839 39.5206C554.641 39.5206 551.476 41.1186 549.345 44.3146C547.214 47.5106 546.149 51.8032 546.149 57.1926C546.149 63.7099 547.559 69.0679 550.379 73.2666C553.262 77.4652 557.21 79.5646 562.223 79.5646Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M634.203 50.4246C634.203 47.3539 633.451 45.1606 631.947 43.8446C630.443 42.5286 628.156 41.8706 625.085 41.8706C622.766 41.8706 620.291 42.3719 617.659 43.3746C615.027 44.3146 612.74 45.5052 610.797 46.9466V75.1466C610.797 77.0892 611.33 78.4052 612.395 79.0946C613.523 79.7212 615.372 80.1912 617.941 80.5046V84.6406H592.373V80.5046C594.942 80.1912 596.76 79.7212 597.825 79.0946C598.953 78.4052 599.517 77.0892 599.517 75.1466V44.4086L592.843 40.7426V38.2046L607.883 33.4106H611.267L610.797 42.7166C613.116 40.2099 615.967 38.0479 619.351 36.2306C622.735 34.4132 626.182 33.5046 629.691 33.5046C634.579 33.5046 638.433 34.7579 641.253 37.2646C644.073 39.7712 645.483 43.6566 645.483 48.9206V75.1466C645.483 77.0892 646.016 78.4052 647.081 79.0946C648.209 79.7212 650.058 80.1912 652.627 80.5046V84.6406H627.059V80.5046C629.628 80.1912 631.446 79.7212 632.511 79.0946C633.639 78.4052 634.203 77.0892 634.203 75.1466V50.4246Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M676.191 85.5806C672.431 85.5806 668.984 85.1419 665.851 84.2646C662.78 83.3872 660.211 82.1966 658.143 80.6926L657.579 68.1906H662.467C663.344 72.2639 664.911 75.3032 667.167 77.3086C669.423 79.3139 672.462 80.3166 676.285 80.3166C679.481 80.3166 681.956 79.6586 683.711 78.3426C685.528 76.9639 686.437 75.0212 686.437 72.5146C686.437 70.5092 685.779 68.9739 684.463 67.9086C683.147 66.8432 681.047 65.9346 678.165 65.1826L671.397 63.2086C667.01 61.9552 663.689 60.2319 661.433 58.0386C659.239 55.7826 658.143 52.5552 658.143 48.3566C658.143 43.7192 659.772 40.0846 663.031 37.4526C666.289 34.8206 670.707 33.5046 676.285 33.5046C682.677 33.5046 688.16 34.8519 692.735 37.5466V49.0146H688.035C687.283 45.4426 685.904 42.8419 683.899 41.2126C681.893 39.5832 679.199 38.7686 675.815 38.7686C673.371 38.7686 671.397 39.3639 669.893 40.5546C668.451 41.6826 667.731 43.3432 667.731 45.5366C667.731 47.3539 668.232 48.7639 669.235 49.7666C670.3 50.7066 672.024 51.5212 674.405 52.2106L681.737 54.2786C686.562 55.5946 690.134 57.4432 692.453 59.8246C694.771 62.1432 695.931 65.5272 695.931 69.9766C695.931 74.8646 694.113 78.6872 690.479 81.4446C686.907 84.2019 682.144 85.5806 676.191 85.5806Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M726.739 85.5806C721.725 85.5806 717.307 84.5152 713.485 82.3846C709.662 80.1912 706.685 77.2146 704.555 73.4546C702.424 69.6319 701.359 65.3079 701.359 60.4826C701.359 55.0932 702.581 50.3619 705.025 46.2886C707.469 42.2152 710.759 39.0819 714.895 36.8886C719.031 34.6326 723.605 33.5046 728.619 33.5046C733.632 33.5046 738.05 34.6012 741.873 36.7946C745.758 38.9252 748.766 41.9019 750.897 45.7246C753.027 49.5472 754.093 53.8399 754.093 58.6026C754.093 63.9919 752.871 68.7232 750.427 72.7966C747.983 76.8699 744.661 80.0346 740.463 82.2906C736.327 84.4839 731.752 85.5806 726.739 85.5806ZM729.371 79.5646C733.569 79.5646 736.734 77.9666 738.865 74.7706C740.995 71.5746 742.061 67.2819 742.061 61.8926C742.061 55.3752 740.619 50.0172 737.737 45.8186C734.917 41.6199 731 39.5206 725.987 39.5206C721.788 39.5206 718.623 41.1186 716.493 44.3146C714.362 47.5106 713.297 51.8032 713.297 57.1926C713.297 63.7099 714.707 69.0679 717.527 73.2666C720.409 77.4652 724.357 79.5646 729.371 79.5646Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M777.004 75.1466C777.004 77.0892 777.537 78.4052 778.602 79.0946C779.73 79.7212 781.579 80.1912 784.148 80.5046V84.6406H758.58V80.5046C761.15 80.1912 762.967 79.7212 764.032 79.0946C765.16 78.4052 765.724 77.0892 765.724 75.1466V18.5586L759.05 15.4566V13.0126L774.09 8.50057H777.474L777.004 16.5846V75.1466Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M815.595 75.866C822.763 75.866 829.558 71.77 833.003 65.626L836.168 66.4639C834.772 77.4486 824.811 85.6406 812.616 85.6406C798.28 85.6406 788.412 75.1213 788.412 59.9475C788.412 44.7737 799.118 34.0683 813.454 34.0683C824.159 34.0683 831.7 40.4915 834.12 51.6624L798.98 62.4423C801.129 70.7833 807.09 75.866 815.595 75.866ZM821.925 50.2661C820.622 44.029 816.805 40.4915 811.499 40.4915C803.586 40.4915 798.094 46.4493 798.094 55.0137C798.094 55.9148 798.131 56.7899 798.198 57.6463L821.925 50.2661Z",fill:"currentColor"})]})}function r(e){let{className:t,height:C=26}=e,L=Math.round(431*C/50);return(0,a.jsxs)("svg",{width:L,height:C,viewBox:"0 0 431 50",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,n.A)("transition-colors duration-200",t),"aria-label":"Claude API Docs",children:[(0,a.jsx)("path",{d:"M23.1516 45.525L23.8096 42.611L24.5616 38.851L25.1726 35.843L25.7366 32.13L26.0656 30.908L26.0186 30.814L25.7836 30.861L22.9636 34.715L18.6866 40.496L15.3026 44.068L14.5036 44.397L13.0936 43.692L13.2346 42.376L14.0336 41.248L18.6866 35.279L21.5066 31.566L23.3396 29.451L23.2926 29.169H23.1986L10.7906 37.253L8.58158 37.535L7.59458 36.642L7.73558 35.185L8.20558 34.715L11.9186 32.13L21.1776 26.96L21.3186 26.49L21.1776 26.255H20.7076L19.1566 26.161L13.8926 26.02L9.33358 25.832L4.86858 25.597L3.74058 25.362L2.70658 23.952L2.80058 23.247L3.74058 22.636L5.10358 22.73L8.06458 22.965L12.5296 23.247L15.7726 23.435L20.5666 23.952H21.3186L21.4126 23.623L21.1776 23.435L20.9896 23.247L16.3366 20.145L11.3546 16.855L8.72258 14.928L7.31258 13.941L6.60758 13.048L6.32558 11.074L7.59458 9.664L9.33358 9.805L9.75658 9.899L11.4956 11.262L15.2086 14.129L20.0966 17.748L20.8016 18.312L21.1306 18.124V17.983L20.8016 17.466L18.1696 12.672L15.3496 7.784L14.0806 5.763L13.7516 4.541C13.6263 4.118 13.5636 3.648 13.5636 3.131L15.0206 1.157L15.8196 0.874997L17.7936 1.157L18.5926 1.862L19.8146 4.635L21.7416 9.006L24.7966 14.928L25.6896 16.714L26.1596 18.312L26.3476 18.829H26.6766V18.547L26.9116 15.163L27.3816 11.074L27.8516 5.81L27.9926 4.306L28.7446 2.52L30.2016 1.58L31.3296 2.097L32.2696 3.46L32.1286 4.306L31.6116 7.925L30.4836 13.612L29.7786 17.466H30.2016L30.6716 16.949L32.5986 14.411L35.8416 10.369L37.2516 8.771L38.9436 6.985L40.0246 6.139H42.0456L43.5026 8.348L42.8446 10.651L40.7766 13.283L39.0376 15.492L36.5466 18.829L35.0426 21.508L35.1836 21.696H35.5126L41.1056 20.474L44.1606 19.957L47.7326 19.346L49.3776 20.098L49.5656 20.85L48.9076 22.448L45.0536 23.388L40.5416 24.281L33.8206 25.879L33.7266 25.926L33.8206 26.067L36.8286 26.349L38.1446 26.443H41.3406L47.2626 26.866L48.8136 27.9L49.7066 29.122L49.5656 30.109L47.1686 31.284L43.9726 30.532L36.4526 28.746L33.9146 28.135H33.5386V28.323L35.7006 30.438L39.6016 33.963L44.5366 38.522L44.7716 39.65L44.1606 40.59L43.5026 40.496L39.1786 37.206L37.4866 35.749L33.7266 32.6H33.4916V32.929L34.3376 34.198L38.9436 41.107L39.1786 43.222L38.8496 43.88L37.6276 44.303L36.3586 44.068L33.6326 40.308L30.8596 36.031L28.6036 32.224L28.3686 32.412L27.0056 46.606L26.3946 47.311L24.9846 47.875L23.8096 46.982L23.1516 45.525Z",fill:"#D97757"}),(0,a.jsx)("path",{d:"M77.9697 42.47C74.2881 42.47 71.0059 41.7415 68.1232 40.2845C65.2562 38.8118 63.0159 36.7517 61.4022 34.104C59.7886 31.4563 58.9817 28.417 58.9817 24.986C58.9817 21.3357 59.8042 18.0927 61.4492 15.257C63.1099 12.4213 65.4051 10.2202 68.3347 8.6535C71.2644 7.07116 74.5936 6.28 78.3222 6.28C80.5626 6.28 82.7951 6.52283 85.0197 7.0085C87.2601 7.4785 89.2262 8.21483 90.9182 9.2175V16.949H88.8032C88.2079 14.1133 87.0407 12.0532 85.3017 10.7685C83.5784 9.48383 81.2206 8.8415 78.2282 8.8415C75.3612 8.8415 72.9799 9.48383 71.0842 10.7685C69.1886 12.0532 67.7864 13.847 66.8777 16.15C65.9691 18.4373 65.5147 21.1007 65.5147 24.14C65.5147 27.1323 66.0239 29.8192 67.0422 32.2005C68.0606 34.5818 69.5724 36.4618 71.5777 37.8405C73.5831 39.2192 75.9957 39.9085 78.8157 39.9085C80.7271 39.9085 82.3642 39.5325 83.7272 38.7805C85.1059 38.0285 86.2652 37.0023 87.2052 35.702C88.1452 34.386 89.0226 32.7723 89.8372 30.861H92.0462L90.5422 39.3445C88.9129 40.3942 86.9702 41.1775 84.7142 41.6945C82.4582 42.2115 80.2101 42.47 77.9697 42.47ZM94.1377 39.9555C95.0621 39.8458 95.7827 39.7048 96.2997 39.5325C96.8324 39.3445 97.2162 39.0938 97.4512 38.7805C97.6862 38.4672 97.8037 38.0677 97.8037 37.582V11.9905L94.1377 10.604V9.0295L101.517 6.28H103.397V37.582C103.397 38.0677 103.514 38.4672 103.749 38.7805C103.984 39.0938 104.36 39.3445 104.877 39.5325C105.41 39.7048 106.138 39.8458 107.063 39.9555V42H94.1377V39.9555ZM115.64 42.47C114.293 42.47 113.102 42.2193 112.068 41.718C111.034 41.2167 110.227 40.5117 109.648 39.603C109.084 38.6943 108.802 37.6447 108.802 36.454C108.802 34.715 109.35 33.2815 110.447 32.1535C111.559 31.0098 113.267 30.109 115.57 29.451L124.1 27.0305V24.469C124.1 22.7927 123.701 21.5237 122.902 20.662C122.118 19.8003 120.951 19.3695 119.4 19.3695C118.037 19.3695 116.956 19.7847 116.157 20.615C115.374 21.4453 114.982 22.5733 114.982 23.999V26.114H111.175C110.721 25.832 110.368 25.4638 110.118 25.0095C109.883 24.5395 109.765 24.0225 109.765 23.4585C109.765 22.3462 110.196 21.3278 111.058 20.4035C111.919 19.4635 113.087 18.7193 114.559 18.171C116.032 17.6227 117.646 17.3485 119.4 17.3485C121.594 17.3485 123.458 17.6775 124.993 18.3355C126.529 18.9935 127.696 19.9648 128.495 21.2495C129.294 22.5342 129.693 24.0852 129.693 25.9025V37.065C129.693 37.6133 129.803 38.052 130.022 38.381C130.257 38.71 130.633 38.9763 131.15 39.18C131.683 39.368 132.419 39.5168 133.359 39.6265V41.671C131.996 42.1567 130.688 42.3995 129.435 42.3995C127.915 42.3995 126.693 42.0392 125.769 41.3185C124.86 40.5978 124.32 39.5638 124.147 38.2165C123.004 39.6265 121.719 40.6918 120.293 41.4125C118.868 42.1175 117.317 42.47 115.64 42.47ZM118.39 38.71C119.392 38.71 120.387 38.475 121.374 38.005C122.377 37.5193 123.286 36.8457 124.1 35.984V29.1925L117.708 31.096C116.612 31.425 115.773 31.942 115.194 32.647C114.614 33.3363 114.324 34.1823 114.324 35.185C114.324 35.8743 114.497 36.4853 114.841 37.018C115.186 37.5507 115.664 37.9658 116.275 38.2635C116.901 38.5612 117.606 38.71 118.39 38.71ZM144.287 42.47C141.78 42.47 139.877 41.8355 138.576 40.5665C137.276 39.2818 136.626 37.4097 136.626 34.95V22.824L132.96 21.5315V19.957L140.362 17.3485H142.219V33.9865C142.219 35.4748 142.595 36.5793 143.347 37.3C144.099 38.0207 145.258 38.381 146.825 38.381C147.827 38.381 148.901 38.1538 150.044 37.6995C151.204 37.2452 152.285 36.6185 153.287 35.8195V22.824L149.621 21.5315V19.957L157.024 17.3485H158.88V35.655C158.88 36.2033 158.99 36.642 159.209 36.971C159.444 37.3 159.82 37.5585 160.337 37.7465C160.854 37.9345 161.591 38.0912 162.546 38.2165V40.261L155.144 42.235H153.287V38.0755C151.971 39.4385 150.506 40.5117 148.893 41.295C147.295 42.0783 145.759 42.47 144.287 42.47ZM175.189 42.47C173.074 42.47 171.171 41.9922 169.479 41.0365C167.802 40.0652 166.486 38.7335 165.531 37.0415C164.575 35.3338 164.097 33.4225 164.097 31.3075C164.097 28.5502 164.669 26.114 165.813 23.999C166.972 21.884 168.594 20.2468 170.677 19.0875C172.761 17.9282 175.174 17.3485 177.915 17.3485C178.808 17.3485 179.717 17.4425 180.641 17.6305C181.581 17.8185 182.466 18.0848 183.297 18.4295V11.9905L179.631 10.604V9.0295L187.01 6.28H188.89V35.655C188.89 36.2033 188.999 36.642 189.219 36.971C189.454 37.3 189.83 37.5585 190.347 37.7465C190.864 37.9345 191.6 38.0912 192.556 38.2165V40.261L185.153 42.235H183.297V39.0155C182.122 40.1278 180.837 40.9817 179.443 41.577C178.048 42.1723 176.631 42.47 175.189 42.47ZM177.492 38.6865C178.432 38.6865 179.411 38.4907 180.43 38.099C181.448 37.6917 182.404 37.1433 183.297 36.454V21.931C181.761 20.6777 180.085 20.051 178.268 20.051C176.482 20.051 174.962 20.474 173.709 21.32C172.455 22.166 171.508 23.3253 170.865 24.798C170.239 26.2707 169.925 27.9392 169.925 29.8035C169.925 31.5738 170.207 33.1248 170.771 34.4565C171.335 35.7882 172.181 36.83 173.309 37.582C174.453 38.3183 175.847 38.6865 177.492 38.6865ZM206.233 42.47C203.93 42.47 201.854 41.9452 200.005 40.8955C198.157 39.8458 196.707 38.3888 195.658 36.5245C194.624 34.6445 194.107 32.5295 194.107 30.1795C194.107 27.7982 194.639 25.6283 195.705 23.67C196.77 21.7117 198.227 20.1685 200.076 19.0405C201.94 17.9125 204.008 17.3485 206.28 17.3485C208.003 17.3485 209.609 17.7088 211.097 18.4295C212.586 19.1502 213.831 20.1607 214.834 21.461C215.852 22.7613 216.526 24.2497 216.855 25.926L199.794 31.096C200.264 33.164 201.196 34.7855 202.59 35.9605C204 37.1198 205.731 37.6995 207.784 37.6995C209.507 37.6995 211.05 37.2922 212.413 36.4775C213.776 35.6472 214.983 34.3938 216.032 32.7175L217.842 33.2815C217.403 35.1302 216.628 36.7517 215.515 38.146C214.419 39.5247 213.071 40.59 211.473 41.342C209.875 42.094 208.128 42.47 206.233 42.47ZM210.745 25.221C210.525 24.1713 210.165 23.2548 209.664 22.4715C209.178 21.6725 208.567 21.0615 207.831 20.6385C207.094 20.1998 206.272 19.9805 205.363 19.9805C204.22 19.9805 203.201 20.3173 202.308 20.991C201.415 21.6647 200.718 22.6203 200.217 23.858C199.715 25.08 199.465 26.4978 199.465 28.1115C199.465 28.3778 199.473 28.5893 199.488 28.746L210.745 25.221ZM224.343 39.885C225.157 39.8223 225.808 39.6892 226.293 39.4855C226.795 39.2818 227.21 38.9842 227.539 38.5925C227.868 38.2008 228.181 37.6682 228.479 36.9945L241.733 6.515H244.67L242.25 11.826L232.309 35.4905C231.871 36.5402 231.714 37.3705 231.839 37.9815C231.965 38.5925 232.333 39.0468 232.944 39.3445C233.555 39.6265 234.424 39.8067 235.552 39.885V42H224.343V39.885ZM249.511 30.3675H233.038L234.048 27.6885H248.501L249.511 30.3675ZM247.349 39.885C248.477 39.8067 249.347 39.6265 249.958 39.3445C250.569 39.0468 250.937 38.5925 251.062 37.9815C251.188 37.3705 251.031 36.5402 250.592 35.4905L240.652 11.826L241.733 6.515H244.67L257.924 36.9945C258.222 37.6838 258.535 38.2243 258.864 38.616C259.193 38.992 259.608 39.2818 260.11 39.4855C260.611 39.6892 261.261 39.8223 262.06 39.885V42H247.349V39.885ZM273.282 36.36C273.282 37.2217 273.4 37.8953 273.635 38.381C273.885 38.851 274.293 39.2035 274.857 39.4385C275.421 39.6578 276.22 39.8067 277.254 39.885V42H263.224V39.885C264.274 39.8067 265.081 39.6578 265.645 39.4385C266.209 39.2035 266.608 38.851 266.843 38.381C267.078 37.8953 267.196 37.2217 267.196 36.36V12.39C267.196 11.5283 267.078 10.8625 266.843 10.3925C266.608 9.90683 266.209 9.55433 265.645 9.335C265.081 9.1 264.274 8.94333 263.224 8.865V6.75H273.282V36.36ZM279.557 6.75C282.236 6.75 284.554 7.11816 286.513 7.8545C288.471 8.59083 289.975 9.64833 291.025 11.027C292.074 12.4057 292.599 14.0428 292.599 15.9385C292.599 17.8968 292.098 19.5967 291.095 21.038C290.108 22.4637 288.683 23.5603 286.818 24.328C284.97 25.0957 282.776 25.4795 280.238 25.4795H270.932V22.8475H278.1C280.058 22.8475 281.625 22.6282 282.8 22.1895C283.99 21.7508 284.86 21.0537 285.408 20.098C285.957 19.1423 286.231 17.8812 286.231 16.3145C286.231 14.0742 285.487 12.3587 283.998 11.168C282.51 9.97733 280.364 9.382 277.559 9.382H270.932V6.75H279.557ZM295.076 39.885C296.126 39.8067 296.932 39.6578 297.496 39.4385C298.06 39.2035 298.46 38.851 298.695 38.381C298.93 37.8953 299.047 37.2217 299.047 36.36V12.39C299.047 11.5283 298.93 10.8625 298.695 10.3925C298.46 9.90683 298.06 9.55433 297.496 9.335C296.932 9.1 296.126 8.94333 295.076 8.865V6.75H309.105V8.865C308.071 8.94333 307.272 9.1 306.708 9.335C306.144 9.55433 305.737 9.90683 305.486 10.3925C305.251 10.8625 305.134 11.5283 305.134 12.39V36.36C305.134 37.2217 305.251 37.8953 305.486 38.381C305.737 38.851 306.144 39.2035 306.708 39.4385C307.272 39.6578 308.071 39.8067 309.105 39.885V42H295.076V39.885ZM328.083 35.3495C328.083 36.3365 328.263 37.1198 328.624 37.6995C328.984 38.2792 329.564 38.7022 330.363 38.9685C331.162 39.2348 332.243 39.368 333.606 39.368H333.935V42H318.025V39.885C319.075 39.8067 319.882 39.6578 320.446 39.4385C321.01 39.2035 321.409 38.851 321.644 38.381C321.879 37.8953 321.997 37.2217 321.997 36.36V12.39C321.997 11.5283 321.879 10.8625 321.644 10.3925C321.409 9.90683 321.01 9.55433 320.446 9.335C319.882 9.1 319.075 8.94333 318.025 8.865V6.75H328.083V35.3495ZM334.663 6.75C338.58 6.75 342.034 7.455 345.027 8.865C348.019 10.2593 350.338 12.249 351.983 14.834C353.643 17.4033 354.474 20.3878 354.474 23.7875C354.474 27.2342 353.659 30.344 352.03 33.117C350.4 35.89 348.16 38.0677 345.309 39.65C342.473 41.2167 339.308 42 335.815 42H326.015V39.368H335.18C337.624 39.368 339.818 38.757 341.76 37.535C343.703 36.2973 345.223 34.574 346.319 32.365C347.432 30.156 347.988 27.6415 347.988 24.8215C347.988 21.6882 347.385 18.9622 346.178 16.6435C344.988 14.3092 343.288 12.5153 341.079 11.262C338.885 10.0087 336.316 9.382 333.371 9.382H326.015V6.75H334.663ZM369.596 42.47C367.199 42.47 365.044 41.953 363.133 40.919C361.237 39.885 359.749 38.4515 358.668 36.6185C357.603 34.7855 357.07 32.7097 357.07 30.391C357.07 28.0253 357.642 25.8477 358.786 23.858C359.945 21.8527 361.512 20.2703 363.486 19.111C365.46 17.936 367.622 17.3485 369.972 17.3485C372.369 17.3485 374.515 17.8655 376.411 18.8995C378.322 19.9335 379.81 21.3748 380.876 23.2235C381.957 25.0565 382.497 27.1245 382.497 29.4275C382.497 31.7932 381.917 33.9787 380.758 35.984C379.614 37.9737 378.056 39.556 376.082 40.731C374.108 41.8903 371.946 42.47 369.596 42.47ZM370.136 40.026C371.483 40.026 372.651 39.6578 373.638 38.9215C374.625 38.1695 375.377 37.0885 375.894 35.6785C376.426 34.2685 376.693 32.5843 376.693 30.626C376.693 28.5423 376.379 26.678 375.753 25.033C375.142 23.388 374.28 22.1112 373.168 21.2025C372.071 20.2782 370.818 19.816 369.408 19.816C368.06 19.816 366.893 20.192 365.906 20.944C364.935 21.6803 364.183 22.7535 363.65 24.1635C363.133 25.5735 362.875 27.2577 362.875 29.216C362.875 31.2997 363.188 33.164 363.815 34.809C364.441 36.4383 365.303 37.7152 366.4 38.6395C367.512 39.5638 368.757 40.026 370.136 40.026ZM407.346 36.031C406.265 38.146 404.855 39.7518 403.116 40.8485C401.377 41.9295 399.34 42.47 397.006 42.47C394.656 42.47 392.572 41.9765 390.755 40.9895C388.953 39.9868 387.551 38.5847 386.549 36.783C385.562 34.9813 385.068 32.9055 385.068 30.5555C385.068 28.0802 385.624 25.8398 386.737 23.8345C387.865 21.8135 389.408 20.2312 391.366 19.0875C393.324 17.9282 395.51 17.3485 397.923 17.3485C399.646 17.3485 401.189 17.6148 402.552 18.1475C403.915 18.6645 404.98 19.3852 405.748 20.3095C406.531 21.2338 406.923 22.2835 406.923 23.4585C406.923 24.0225 406.798 24.5395 406.547 25.0095C406.296 25.4638 405.936 25.832 405.466 26.114H401.73V24.939C401.73 23.2313 401.338 21.9467 400.555 21.085C399.771 20.2077 398.628 19.769 397.124 19.769C395.823 19.769 394.672 20.1372 393.669 20.8735C392.666 21.5942 391.883 22.6125 391.319 23.9285C390.771 25.2445 390.497 26.7563 390.497 28.464C390.497 30.4537 390.826 32.1613 391.484 33.587C392.142 35.0127 393.089 36.1015 394.327 36.8535C395.565 37.6055 397.037 37.9815 398.745 37.9815C400.03 37.9815 401.283 37.7073 402.505 37.159C403.727 36.595 404.886 35.7647 405.983 34.668L407.346 36.031ZM413 34.339C413.501 36.313 414.269 37.7778 415.303 38.7335C416.353 39.6892 417.747 40.167 419.486 40.167C420.536 40.167 421.437 40.0182 422.189 39.7205C422.956 39.4072 423.544 38.9607 423.951 38.381C424.358 37.8013 424.562 37.112 424.562 36.313C424.562 35.467 424.335 34.7855 423.881 34.2685C423.426 33.7358 422.831 33.3207 422.095 33.023C421.358 32.7253 420.426 32.4433 419.298 32.177C418.985 32.0987 418.664 32.0282 418.335 31.9655C416.282 31.4955 414.684 30.9707 413.541 30.391C412.397 29.7957 411.574 29.0672 411.073 28.2055C410.587 27.3282 410.345 26.208 410.345 24.845C410.345 23.4507 410.76 22.1817 411.59 21.038C412.436 19.8943 413.588 18.9935 415.045 18.3355C416.502 17.6775 418.123 17.3485 419.909 17.3485C421.617 17.3485 423.121 17.5287 424.421 17.889C425.737 18.2337 427.037 18.7977 428.322 19.581V24.6805H425.502C425.032 23.0198 424.327 21.7665 423.387 20.9205C422.447 20.0745 421.233 19.6515 419.745 19.6515C418.852 19.6515 418.068 19.8003 417.395 20.098C416.721 20.38 416.196 20.7795 415.82 21.2965C415.444 21.7978 415.256 22.3853 415.256 23.059C415.256 23.8423 415.475 24.469 415.914 24.939C416.368 25.409 416.964 25.7693 417.7 26.02C418.436 26.2707 419.494 26.5605 420.873 26.8895C423.082 27.3908 424.813 27.9627 426.066 28.605C427.319 29.2473 428.22 30.0463 428.769 31.002C429.317 31.942 429.591 33.1327 429.591 34.574C429.591 36.1407 429.16 37.5193 428.299 38.71C427.453 39.9007 426.246 40.825 424.68 41.483C423.113 42.141 421.303 42.47 419.251 42.47C417.59 42.47 415.953 42.2428 414.34 41.7885C412.742 41.3185 411.355 40.684 410.18 39.885V34.339H413Z",fill:"currentColor"})]})}var o=C(0x1f093edcc),i=C(0x78375882);function s(e){let{productSurface:t,headline:C,subheading:s,button:l,testId:c,compact:d,loading:u}=e;return(0,a.jsx)("div",{"data-testid":c,className:(0,n.A)("grid place-content-center min-h-min text-center gap-2 pt-24 pb-32 px-4 mx-auto h-screen",d?"max-w-min":"w-fit"),children:u?(0,a.jsx)(i.Loading,{delay:1e3}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mb-10 text-center",children:"console"===t?(0,a.jsx)(L,{className:"inline-block",height:34}):"docs"===t?(0,a.jsx)(r,{className:"inline-block",height:34}):(0,a.jsx)(o.S,{className:"inline-block h-6 -ml-1"})}),(0,a.jsx)("h2",{className:"font-ui-serif text-4xl text-text-200",children:C}),s&&(0,a.jsx)("h3",{className:"font-large text-text-500",children:s}),(0,a.jsx)("div",{className:"mx-0 mt-4 min-w-[16rem]",children:l})]})})}C(0xfc89b4a4)},0x19273021e:(e,t,C)=>{C.d(t,{Jh:()=>m,KN:()=>x,Ws:()=>f,bH:()=>v,f0:()=>h,fH:()=>H,v5:()=>p,z5:()=>g});var a=C(0x22102fd88),n=C(0xf32c56dd),L=C(0x12c9046cd),r=C(0xa5acf583),o=C(0x14de19ae8),i=C(0x1016c6ed2),s=C(0xac309a83),l=C(0x10a2d47e3),c=C(0x17e725145),d=C(0xc3731bfa),u=C(0x38e6572);let f="This application requires one of these plans",h="This application is not authorized",p={"user:profile":{messageId:"oauth.scope.user.profile",description:(0,a.jsx)(u.A,{defaultMessage:"Access your Anthropic profile information",id:"EvXAQK/bGO"})},"user:inference":{messageId:"oauth.scope.user.inference",description:(0,a.jsx)(u.A,{defaultMessage:"Contribute to your Claude subscription usage",id:"Srbd8zdRfZ"})},"user:chat:read":{messageId:"oauth.scope.user.chat.read",description:(0,a.jsx)(u.A,{defaultMessage:"Read your conversations",id:"tP+tU2ijW1"})},"user:chat":{messageId:"oauth.scope.chat",description:(0,a.jsx)(u.A,{defaultMessage:"Create, continue, and delete your conversations",id:"ABf9wj7LhM"})},"user:file_upload":{messageId:"oauth.scope.user.file_upload",description:(0,a.jsx)(u.A,{defaultMessage:"Upload files on your behalf",id:"JIdIkswZw2"})},"user:sessions:claude_code":{messageId:"oauth.scope.user.sessions.claude_code",description:(0,a.jsx)(u.A,{defaultMessage:"Access your Claude Code sessions",id:"39jWfLQ2ze"})},"user:mcp_servers":{messageId:"oauth.scope.user.mcp_servers",description:(0,a.jsx)(u.A,{defaultMessage:"Use and manage your connectors",id:"XUNFVA5Hbv"})},"org:profile":{messageId:"oauth.scope.org.profile",description:(0,a.jsx)(u.A,{defaultMessage:"Access profile information for all members in your organization",id:"5CqC2vx+3K"})},"org:inference":{messageId:"oauth.scope.org.inference",description:(0,a.jsx)(u.A,{defaultMessage:"Make API calls on behalf of your organization",id:"l/AJQVR0UT"})},"org:create_api_key":{messageId:"oauth.scope.org.create_api_key",description:(0,a.jsx)(u.A,{defaultMessage:"Generate API keys on your behalf",id:"Li8bwfrwx/"})},"user:office":{messageId:"oauth.scope.user.office",description:(0,a.jsx)(u.A,{defaultMessage:"Access your profile for Office add-in authentication",id:"/YkWN+yU13"})}};function x(e){let{activeOrganization:t}=(0,o.YL)();return(0,L.Sk)("/v1/oauth/".concat(null==t?void 0:t.uuid,"/authorize?client_id=").concat(e),{enabled:!!e})}function V(e,t){return new Promise((C,a)=>{if("undefined"==typeof chrome||!chrome.runtime)return void a(Error("Chrome extension API not available"));chrome.runtime.sendMessage(e,{type:"oauth_redirect",redirect_uri:t},()=>{chrome.runtime.lastError?a(Error(chrome.runtime.lastError.message)):C()})})}function g(e,t,C){let{activeOrganization:a}=(0,o.YL)(),{claudeBrowserExtensionClientId:l,claudeBrowserExtensionId:c,antOnlyClaudeBrowserExtensionId:d}=(0,r._r)(),{track:u}=(0,n.st)(),p=(0,s.fS)("crochet_eligible_for_ant_only_build");return(0,L.L2)("/v1/oauth/".concat(null==a?void 0:a.uuid,"/authorize"),"POST",{meta:{noToast:e=>{var t,a;return!!(null==C?void 0:C.suppressToast)&&((null==(t=e.message)?void 0:t.includes(f))||(null==(a=e.message)?void 0:a.includes(h)))}},onSuccess:async(t,C)=>{if(u({event_key:"oauth.authorize.success",client_id:C.client_id,client_name:e}),t.redirect_uri)if(C.client_id===l)if("undefined"!=typeof chrome&&chrome.runtime)if(p&&d)try{await V(d,t.redirect_uri)}catch(e){await V(c,t.redirect_uri)}else await V(c,t.redirect_uri);else throw Error("Chrome extension API not available. Ensure there is an installed extension connectable from this domain.");else window.location.assign(t.redirect_uri)},onError:(C,a)=>{let n="unknown";C instanceof i.LG&&(n=C.type),u({event_key:"oauth.authorize.failure",client_id:a.client_id,client_name:e,error_type:n}),t&&t(C)}})}function m(e){let{activeOrganization:t}=(0,o.YL)(),C=null==t?void 0:t.uuid,a="/api/oauth/organizations/".concat(C,"/oauth_tokens");if(e){let t=new URLSearchParams({application_slug:e});a="".concat(a,"?").concat(t.toString())}return(0,L.Sk)(a,{enabled:!!C})}function v(){let{activeOrganization:e}=(0,o.YL)(),t=null==e?void 0:e.uuid;return(0,L.L2)(e=>"/api/oauth/organizations/".concat(t,"/oauth_tokens/").concat(e,"/revoke"),"POST",{enabled:!!t})}function H(){let{activeOrganization:e}=(0,o.YL)(),t=null==e?void 0:e.uuid,{data:C,refetch:a}=m((0,l.wc)()[l.j$]||""),n=(0,c.useQueryClient)(),L=v(),r=(0,d.useMutation)({mutationFn:async()=>{if(!C||0===C.length)return;let e=[];for(let t of C)try{await L.mutateAsync(t.id)}catch(t){e.push(t)}if(e.length===C.length)throw Error("Failed to revoke any Cuttlefish tokens")},onSuccess:()=>{n.invalidateQueries({queryKey:["/api/oauth/organizations/".concat(t,"/oauth_tokens")]}),a()}});return{mutate:r.mutate,isPending:r.isPending||L.isPending}}},0x1f093edcc:(e,t,C)=>{C.d(t,{S:()=>L});var a=C(0x22102fd88),n=C(0x1a1f6dda6);function L(e){let{className:t}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 24",className:(0,n.A)("text-text-000",t),fill:"currentColor",children:[(0,a.jsx)("path",{d:"M11.376 24L10.776 23.544L10.44 22.8L10.776 21.312L11.16 19.392L11.472 17.856L11.76 15.96L11.928 15.336L11.904 15.288L11.784 15.312L10.344 17.28L8.16 20.232L6.432 22.056L6.024 22.224L5.304 21.864L5.376 21.192L5.784 20.616L8.16 17.568L9.6 15.672L10.536 14.592L10.512 14.448H10.464L4.128 18.576L3 18.72L2.496 18.264L2.568 17.52L2.808 17.28L4.704 15.96L9.432 13.32L9.504 13.08L9.432 12.96H9.192L8.4 12.912L5.712 12.84L3.384 12.744L1.104 12.624L0.528 12.504L0 11.784L0.048 11.424L0.528 11.112L1.224 11.16L2.736 11.28L5.016 11.424L6.672 11.52L9.12 11.784H9.504L9.552 11.616L9.432 11.52L9.336 11.424L6.96 9.84L4.416 8.16L3.072 7.176L2.352 6.672L1.992 6.216L1.848 5.208L2.496 4.488L3.384 4.56L3.6 4.608L4.488 5.304L6.384 6.768L8.88 8.616L9.24 8.904L9.408 8.808V8.736L9.24 8.472L7.896 6.024L6.456 3.528L5.808 2.496L5.64 1.872C5.576 1.656 5.544 1.416 5.544 1.152L6.288 0.144001L6.696 0L7.704 0.144001L8.112 0.504001L8.736 1.92L9.72 4.152L11.28 7.176L11.736 8.088L11.976 8.904L12.072 9.168H12.24V9.024L12.36 7.296L12.6 5.208L12.84 2.52L12.912 1.752L13.296 0.840001L14.04 0.360001L14.616 0.624001L15.096 1.32L15.024 1.752L14.76 3.6L14.184 6.504L13.824 8.472H14.04L14.28 8.208L15.264 6.912L16.92 4.848L17.64 4.032L18.504 3.12L19.056 2.688H20.088L20.832 3.816L20.496 4.992L19.44 6.336L18.552 7.464L17.28 9.168L16.512 10.536L16.584 10.632H16.752L19.608 10.008L21.168 9.744L22.992 9.432L23.832 9.816L23.928 10.2L23.592 11.016L21.624 11.496L19.32 11.952L15.888 12.768L15.84 12.792L15.888 12.864L17.424 13.008L18.096 13.056H19.728L22.752 13.272L23.544 13.8L24 14.424L23.928 14.928L22.704 15.528L21.072 15.144L17.232 14.232L15.936 13.92H15.744V14.016L16.848 15.096L18.84 16.896L21.36 19.224L21.48 19.8L21.168 20.28L20.832 20.232L18.624 18.552L17.76 17.808L15.84 16.2H15.72V16.368L16.152 17.016L18.504 20.544L18.624 21.624L18.456 21.96L17.832 22.176L17.184 22.056L15.792 20.136L14.376 17.952L13.224 16.008L13.104 16.104L12.408 23.352L12.096 23.712L11.376 24Z",shapeRendering:"optimizeQuality",fill:"#D97757"}),(0,a.jsx)("path",{shapeRendering:"optimizeQuality",d:"M39.504 21.2643C37.688 21.2643 36.06 20.9003 34.62 20.1723C33.18 19.4443 32.048 18.4163 31.224 17.0883C30.408 15.7603 30 14.2243 30 12.4803C30 10.6563 30.412 9.03233 31.236 7.60833C32.06 6.17633 33.196 5.06833 34.644 4.28433C36.1 3.49233 37.74 3.09633 39.564 3.09633C40.692 3.09633 41.82 3.22033 42.948 3.46833C44.084 3.71633 45.072 4.09633 45.912 4.60833V8.56833H44.832C44.536 7.16833 43.96 6.12433 43.104 5.43633C42.256 4.74833 41.076 4.40433 39.564 4.40433C38.164 4.40433 36.996 4.73233 36.06 5.38833C35.132 6.03633 34.444 6.93633 33.996 8.08833C33.548 9.24033 33.324 10.5643 33.324 12.0603C33.324 13.5483 33.576 14.8883 34.08 16.0803C34.584 17.2723 35.328 18.2163 36.312 18.9123C37.296 19.6003 38.476 19.9443 39.852 19.9443C40.796 19.9443 41.608 19.7483 42.288 19.3563C42.968 18.9643 43.54 18.4363 44.004 17.7723C44.468 17.1003 44.908 16.2803 45.324 15.3123H46.464L45.684 19.6803C44.892 20.2003 43.936 20.5963 42.816 20.8683C41.704 21.1323 40.6 21.2643 39.504 21.2643ZM47.964 21.0003V19.9563C48.356 19.9003 48.668 19.8403 48.9 19.7763C49.14 19.7043 49.332 19.5883 49.476 19.4283C49.628 19.2683 49.704 19.0443 49.704 18.7563V5.83233L47.964 5.08833V4.28433L51.612 2.73633H52.56V18.7563C52.56 19.0523 52.632 19.2803 52.776 19.4403C52.928 19.6003 53.12 19.7123 53.352 19.7763C53.592 19.8403 53.912 19.9003 54.312 19.9563V21.0003H47.964ZM59.028 21.2643C58.38 21.2643 57.792 21.1363 57.264 20.8803C56.736 20.6243 56.32 20.2563 56.016 19.7763C55.712 19.2963 55.56 18.7363 55.56 18.0963C55.56 17.1203 55.86 16.3443 56.46 15.7683C57.068 15.1843 57.916 14.7403 59.004 14.4363L63.24 13.2363V11.7123C63.24 10.8883 63.048 10.2523 62.664 9.80433C62.288 9.34833 61.708 9.12033 60.924 9.12033C60.228 9.12033 59.704 9.33233 59.352 9.75633C59.008 10.1723 58.836 10.7483 58.836 11.4843V12.6123H56.988C56.764 12.4683 56.588 12.2763 56.46 12.0363C56.34 11.7883 56.28 11.5163 56.28 11.2203C56.28 10.5563 56.516 9.98833 56.988 9.51633C57.46 9.03633 58.06 8.67633 58.788 8.43633C59.516 8.19633 60.256 8.07633 61.008 8.07633C62.592 8.07633 63.836 8.44033 64.74 9.16833C65.644 9.89633 66.096 11.0003 66.096 12.4803V18.5403C66.096 18.8603 66.168 19.1043 66.312 19.2723C66.456 19.4403 66.644 19.5603 66.876 19.6323C67.116 19.6963 67.44 19.7563 67.848 19.8123V20.8563C67.536 20.9683 67.208 21.0563 66.864 21.1203C66.528 21.1843 66.204 21.2163 65.892 21.2163C65.148 21.2163 64.548 21.0483 64.092 20.7123C63.644 20.3683 63.372 19.8643 63.276 19.2003C62.716 19.8643 62.08 20.3763 61.368 20.7363C60.664 21.0883 59.884 21.2643 59.028 21.2643ZM60.444 19.3443C60.948 19.3443 61.44 19.2283 61.92 18.9963C62.408 18.7563 62.848 18.4403 63.24 18.0483V14.3403L60.168 15.2523C59.592 15.4283 59.152 15.7003 58.848 16.0683C58.544 16.4363 58.392 16.9003 58.392 17.4603C58.392 17.8203 58.48 18.1443 58.656 18.4323C58.832 18.7203 59.076 18.9443 59.388 19.1043C59.7 19.2643 60.052 19.3443 60.444 19.3443ZM73.608 21.2643C72.32 21.2643 71.356 20.9283 70.716 20.2563C70.084 19.5843 69.768 18.6363 69.768 17.4123V10.9083L68.016 10.2603L68.112 9.45633L71.664 8.07633H72.624V16.9323C72.624 17.6923 72.812 18.2563 73.188 18.6243C73.564 18.9923 74.14 19.1763 74.916 19.1763C75.428 19.1763 75.964 19.0603 76.524 18.8283C77.084 18.5883 77.6 18.2803 78.072 17.9043V10.9083L76.32 10.2603V9.45633L79.98 8.07633H80.928V17.8323C80.928 18.1523 81 18.4003 81.144 18.5763C81.288 18.7443 81.476 18.8643 81.708 18.9363C81.948 19.0083 82.272 19.0723 82.68 19.1283V20.1603L79.02 21.1803H78.072V19.0803C77.44 19.7363 76.728 20.2643 75.936 20.6643C75.144 21.0643 74.368 21.2643 73.608 21.2643ZM89.328 21.2643C88.264 21.2643 87.312 21.0083 86.472 20.4963C85.632 19.9763 84.976 19.2683 84.504 18.3723C84.032 17.4763 83.796 16.4843 83.796 15.3963C83.796 13.9643 84.08 12.6963 84.648 11.5923C85.224 10.4883 86.032 9.62833 87.072 9.01233C88.112 8.38833 89.32 8.07633 90.696 8.07633C91.12 8.07633 91.556 8.12433 92.004 8.22033C92.46 8.30833 92.896 8.43633 93.312 8.60433V5.82033L91.56 5.08833V4.28433L95.22 2.73633H96.168V17.8323C96.168 18.1523 96.24 18.4003 96.384 18.5763C96.536 18.7443 96.728 18.8643 96.96 18.9363C97.2 19.0083 97.52 19.0723 97.92 19.1283V20.1603L94.26 21.1803H93.312V19.5843C92.752 20.1123 92.132 20.5243 91.452 20.8203C90.78 21.1163 90.072 21.2643 89.328 21.2643ZM90.504 19.3323C90.976 19.3323 91.456 19.2363 91.944 19.0443C92.432 18.8523 92.888 18.5883 93.312 18.2523V10.3563C92.584 9.76433 91.776 9.46833 90.888 9.46833C89.992 9.46833 89.236 9.69633 88.62 10.1523C88.004 10.6083 87.54 11.2283 87.228 12.0123C86.924 12.7883 86.772 13.6563 86.772 14.6163C86.772 15.5283 86.908 16.3403 87.18 17.0523C87.452 17.7563 87.868 18.3123 88.428 18.7203C88.988 19.1283 89.68 19.3323 90.504 19.3323ZM105.252 21.2643C104.068 21.2643 103.004 20.9883 102.06 20.4363C101.116 19.8843 100.376 19.1163 99.84 18.1323C99.304 17.1483 99.036 16.0443 99.036 14.8203C99.036 13.5563 99.308 12.4123 99.852 11.3883C100.404 10.3563 101.156 9.54833 102.108 8.96433C103.068 8.37233 104.136 8.07633 105.312 8.07633C106.216 8.07633 107.048 8.26433 107.808 8.64033C108.568 9.01633 109.2 9.54433 109.704 10.2243C110.216 10.9043 110.552 11.6883 110.712 12.5763L101.928 15.2883C102.168 16.4003 102.644 17.2763 103.356 17.9163C104.076 18.5563 104.968 18.8763 106.032 18.8763C106.92 18.8763 107.716 18.6523 108.42 18.2043C109.124 17.7483 109.748 17.0603 110.292 16.1403L111.228 16.4403C111.012 17.4003 110.62 18.2443 110.052 18.9723C109.484 19.7003 108.784 20.2643 107.952 20.6643C107.128 21.0643 106.228 21.2643 105.252 21.2643ZM107.628 12.2043C107.516 11.6523 107.324 11.1683 107.052 10.7523C106.788 10.3283 106.46 10.0003 106.068 9.76833C105.676 9.53633 105.244 9.42033 104.772 9.42033C104.18 9.42033 103.656 9.60033 103.2 9.96033C102.752 10.3123 102.4 10.8163 102.144 11.4723C101.896 12.1203 101.772 12.8723 101.772 13.7283C101.772 13.8803 101.776 13.9963 101.784 14.0763L107.628 12.2043Z"})]})}},0x206528fcb:(e,t,C)=>{C.d(t,{Cu:()=>M,F7:()=>y,VL:()=>b,WX:()=>H,bd:()=>v,bl:()=>w,nY:()=>m});var a=C(0x6a355238),n=C(0xa5acf583),L=C(0x24553dffe),r=C(0x14de19ae8),o=C(0x139b5e710),i=C(0x21369b9e6),s=C(0x865ff458),l=C(0x495c605f),c=C(0x20e00cddd),d=C(0x49fac030);C(0xc1dd9efc);var u=C(0xac309a83),f=C(0x17e725145),h=C(0x4d348f95),p=C(0xfc89b4a4),x=C(0x17aa9d8d7),V=C(0x7aef6a06),g=C(0xc6857cab);let m=()=>{let e=(0,h.useRouter)(),t=(0,L.l)();return{refresh:()=>{e.refresh()},switchAndRefresh:(e,C)=>{t.set(c.eT.LAST_ACTIVE_ORG,e),C?location.pathname=C:location.reload()}}},v=e=>{let{account:t}=(0,r.YL)(),C=(0,s.y_)(e),n=(0,a.D5)(),L=(0,u.fS)("age_gate_reverification");return((0,p.useEffect)(()=>{t&&n()},[t,n]),t&&((0,l.VH)({account:t,isClaudeDot:e})||(0,l.Bs)(t,e)))?"/onboarding":t&&(0,l.u5)(t,e,L)?"/age-verification":t&&(0,l.NJ)(t,e)?"/invites":t&&(0,l.Ah)(t,e)?"/create":t&&C?"/upgrade":e?"/new":"/dashboard"},H=(e,t,C)=>{let a=(0,i.S)(),{mutateAsync:n}=(0,x.nX)();return(0,p.useCallback)(async()=>{if(!e||!a||0===t.length)return;let L=t.map(e=>({document_id:"v3:".concat(e,":").concat(a[e]),accepted_via_checkbox:C}));await n({acceptances:L})},[e,a,t,n,C])},y=e=>{let t=(0,i.S)(),{mutateAsync:C}=(0,x.nX)();return(0,p.useCallback)(async a=>{if(!e||!t)return;let n=Object.entries(a).map(e=>{let[C,a]=e;return{document_id:"v3:".concat(C,":").concat(t[C]),accepted_via_checkbox:a}});0!==n.length&&await C({acceptances:n})},[e,t,C])},w=(e,t)=>{let{account:C,refetch:a,setActiveOrganizationUuid:n}=(0,r.YL)(),[L,i]=(0,p.useState)(!1),[s,l]=(0,p.useState)(!1),c=b(),{addSuccess:u}=(0,o.Yf)(),{data:h}=(0,x.kd)(e),V=(0,f.useQueryClient)();return(0,p.useEffect)(()=>{C&&L&&s&&(t?t(c):c())},[s,c,L,C,t]),(0,p.useCallback)(async()=>{i(!0);let e=await a();if(await V.invalidateQueries({queryKey:[d.Jz]}),(null==h?void 0:h.organization_uuid)&&(n(h.organization_uuid),u("Joined ".concat(h.organization_name))),e&&"google"in window){var t,C,L;null==(L=window.google)||null==(C=L.accounts)||null==(t=C.id)||t.cancel()}l(!0)},[h,u,a,n,V])},b=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,h.useSearchParams)().get("returnTo"),C=M(e);return(0,p.useCallback)(()=>{C(t)},[C,t])},M=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{account:t}=(0,r.YL)(),[C,a]=(0,p.useState)(!1),L=(0,h.useRouter)(),[o,i]=(0,p.useState)(null),s=(0,h.usePathname)(),l=(0,h.useSearchParams)(),c=(0,n.fZ)(),d=v(c);return(0,p.useEffect)(()=>{(C||e)&&!t&&L.push((0,V.rt)(s,l.toString()))},[t,L,C,e,s,l]),(0,p.useEffect)(()=>{if(C&&t){let e=(0,V.Cy)(t,o,d,c,!!g.env.NEXT_PUBLIC_SHOW_US_GOVT_SYSTEM_USE_NOTIFICATION);e!==window.location.href.replace(window.location.origin,"")&&(L.replace(e),L.refresh())}},[t,L,C,o,d,c]),(0,p.useCallback)(e=>{e&&i(decodeURIComponent(e)),a(!0)},[])}},0x21369b9e6:(e,t,C)=>{C.d(t,{LegalDocsProvider:()=>r,S:()=>o});var a=C(0x22102fd88),n=C(0xfc89b4a4);let L=(0,n.createContext)(void 0),r=e=>{let{value:t,children:C}=e;return(0,a.jsx)(L.Provider,{value:t,children:C})};function o(){return(0,n.useContext)(L)}}}]);