!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f99e352b-926f-5114-a3cb-c9dd2947ed22")}catch(e){}}(); (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1301,2626,3406,3574,3730,6053,6424,6799,7177,7830,7983,8643],{45813:e=>{"use strict";e.exports=cookie},66528:(e,t,n)=>{Promise.resolve().then(n.bind(n,39141)),Promise.resolve().then(n.bind(n,99673)),Promise.resolve().then(n.bind(n,45730)),Promise.resolve().then(n.t.bind(n,8219,23)),Promise.resolve().then(n.bind(n,23908)),Promise.resolve().then(n.bind(n,38345)),Promise.resolve().then(n.t.bind(n,84620,23)),Promise.resolve().then(n.t.bind(n,10116,23)),Promise.resolve().then(n.t.bind(n,77259,23)),Promise.resolve().then(n.bind(n,4338)),Promise.resolve().then(n.bind(n,90491)),Promise.resolve().then(n.bind(n,25940)),Promise.resolve().then(n.bind(n,25894)),Promise.resolve().then(n.t.bind(n,68390,23)),Promise.resolve().then(n.bind(n,1966)),Promise.resolve().then(n.bind(n,25437)),Promise.resolve().then(n.bind(n,98467)),Promise.resolve().then(n.bind(n,31731)),Promise.resolve().then(n.bind(n,97167)),Promise.resolve().then(n.bind(n,60297))},39141:(e,t,n)=>{"use strict";n.d(t,{GracefulHydrationErrorBoundary:()=>a});var r=n(9479),i=n(72303),o=n(25940);class a extends i.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){var n,r;null===(n=(r=this.props).onCatch)||void 0===n||n.call(r,e)}showToast(){this.hasShownToastRef||(this.hasShownToastRef=!0,o.toasts.error("An error occurred while rendering this page."))}render(){let{as:e,onCatch:t,children:n,...i}=this.props;if(this.state.hasError){if(!this.contentRef.current)throw this.state.error;return this.showToast(),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(e,{dangerouslySetInnerHTML:{__html:this.contentRef.current.innerHTML||""},ref:this.contentRef,suppressHydrationWarning:!0,...i})})}return(0,r.jsx)(e,{ref:this.contentRef,...i,children:n})}constructor(e){super(e),this.hasShownToastRef=!1,this.state={hasError:!1},this.contentRef=(0,i.createRef)()}}},99673:(e,t,n)=>{"use strict";n.d(t,{RootHooks:()=>g});var r=n(13697),i=n(72260),o=n(72303),a=n(43),l=n(17980),s=n(13664),c=n(287),u=n(73098),d=n(60210),v=n(73981),f=function(e){return e.DeploymentInviteScreenOpened="DeploymentInviteScreenOpened",e.DeploymentInviteSent="DeploymentInviteSent",e.DeploymentShareOpened="DeploymentShareOpened",e.PageView="PageView",e.RecentsImpression="RecentsImpression",e.RecentsTabClick="RecentsTabClick",e.RecentsEntityClick="RecentsEntityClick",e.UsageSideNavSectionClick="UsageSideNavSectionClick",e.UsageViewPlanClicked="UsageViewPlanClicked",e.UsageViewInvoicesClicked="UsageViewInvoicesClicked",e.UsageManageNotificationsClicked="UsageManageNotificationsClicked",e.UsageTopPathsFilterChange="UsageTopPathsFilterChange",e.UsageOverviewRowClicked="UsageOverviewRowClicked",e.BillingOverviewViewInvoicesClicked="BillingOverviewViewInvoicesClicked",e.BillingOverviewViewUsageClicked="BillingOverviewViewUsageClicked",e.BillingOverviewShowAllClicked="BillingOverviewShowAllClicked",e.ProjectOverviewActiveBranchesSearchFocused="ProjectOverviewActiveBranchesSearchFocused",e.ProjectOverviewActiveBranchesDeploymentPreviewClicked="ProjectOverviewActiveBranchesDeploymentPreviewClicked",e.ProjectOverviewActiveBranchesDeploymentBranchClicked="ProjectOverviewActiveBranchesDeploymentBranchClicked",e.ProjectOverviewActiveBranchesDeploymentStatusClicked="ProjectOverviewActiveBranchesDeploymentStatusClicked",e.ProjectOverviewActiveBranchesDeploymentCommentClicked="ProjectOverviewActiveBranchesDeploymentCommentClicked",e.ProjectOverviewActiveBranchesDeploymentOptionsClicked="ProjectOverviewActiveBranchesDeploymentOptionsClicked",e.ProjectOverviewActiveBranchesDeploymentRedeployClicked="ProjectOverviewActiveBranchesDeploymentRedeployClicked",e.ProjectOverviewActiveBranchesDeploymentViewBuildLogsClicked="ProjectOverviewActiveBranchesDeploymentViewBuildLogsClicked",e.ProjectOverviewActiveBranchesDeploymentViewRuntimeLogsClicked="ProjectOverviewActiveBranchesDeploymentViewRuntimeLogsClicked",e.ProjectOverviewActiveBranchesDeploymentViewPullRequestClicked="ProjectOverviewActiveBranchesDeploymentViewPullRequestClicked",e.ProjectOverviewActiveBranchesDeploymentCopyBranchUrlClicked="ProjectOverviewActiveBranchesDeploymentCopyBranchUrlClicked",e.ToolbarWrappedUrlContextMenuOpened="ToolbarWrappedUrlContextMenuOpened",e}({}),m=n(15400),h=n(4199),p=n(60391);function g(){return!function(){var e;let{user:t,team:n,teams:r,isLoading:u,isValidating:d}=(0,l.F)(),v=(0,s.Z)(null==t?void 0:t.uid),f=null!==(e=null==r?void 0:r.some(e=>"vercel"===e.slug))&&void 0!==e&&e;(0,o.useEffect)(()=>{u||d||(null==t?void 0:t.uid)||!v||(0,a._$)()},[u,d,v,t]),(0,o.useEffect)(()=>{u||d||(0,a._$)()},[u,d]),(0,o.useEffect)(()=>{u||d||((null==t?void 0:t.uid)?i.zS.identify(t.uid,t.email):i.zS.reset())},[u,d,t]),(0,o.useEffect)(()=>{var e,r,o;u||d||i.zS.setGlobalProperties({isLoggedIn:!!t,isVercelian:f,...t?{plan:null===(e=t.billing)||void 0===e?void 0:e.plan,userVersion:t.version,userDefaultTeamId:t.defaultTeamId}:{},...(null==n?void 0:n.membership)?{plan:null===(r=n.billing)||void 0===r?void 0:r.plan,isTrial:(null===(o=n.billing)||void 0===o?void 0:o.status)==="trialing",role:n.membership.role,teamId:n.id,slug:n.slug}:{}})},[n,t,f,u,d]),(0,o.useEffect)(()=>{if(!t||u||d)return;let e=(0,c.V)(t,r);null!==e&&i.zS.setTraits({isVercelian:f,...e})},[r,t,f,u,d])}(),!function(){let{track:e,isReady:t}=(0,v.uB)(),n=(0,u.r)(),r=(0,o.useRef)(void 0),i=function(){let e=(0,d.useSearchParams)(),t=(0,d.usePathname)(),[n,r]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=new MutationObserver(function(){setTimeout(()=>{r(window.location.pathname+window.location.search)})});e.observe(window.document,{childList:!0,subtree:!0});let t=()=>{r(window.location.pathname+window.location.search)};return window.addEventListener("popstate",t),()=>{window.removeEventListener("popstate",t),e.disconnect()}},[]),(0,o.useMemo)(()=>window.location.pathname+window.location.search,[n,t,e])}();(0,o.useEffect)(()=>{i&&t&&r.current!==i&&(r.current=i,e(f.PageView,{route:n.pathname}))},[i,t])}(),(0,m.SM)(),(0,m.wk)(),(0,r.useAnalyticsAutoTrack)({analytics:i.zS}),(0,h.FZ)(),(0,p.useHydrationSentinel)(),null}},45730:(e,t,n)=>{"use strict";n.d(t,{ClientScripts:()=>h});var r=n(9479),i=n(72303),o=n(65449),a=n(65471),l=n(60210),s=n(72260),c=n(4375);function u(){return!function(){let e=(0,l.usePathname)();(0,i.useEffect)(()=>{let t=0;function n(){let n=document.documentElement.scrollHeight-window.innerHeight,r=Math.trunc((window.scrollY||(document.documentElement||document.body.parentNode||document.body).scrollTop)/(n/4));tdocument.removeEventListener("scroll",n)},[e])}(),null}var d=n(70168),v=n(67939),f=n(43509);let m="preview"===v.eJ;function h(){let e=(0,o.r)();return(0,f.D)({aliases:["Enable Draft Mode","Disable Draft Mode"],label:"Toggle Draft Mode",badge:"Marketing",onSelect:async()=>{await fetch("/api/force-draft-mode-marketing?toggle=1"),location.reload()}}),(0,r.jsxs)(i.Suspense,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(a.AnalyticsScripts,{}),m||e?(0,r.jsx)(d.N,{}):null]})}},84350:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});let r=new Map,i={getItem(e){try{return window.localStorage.getItem(e)}catch(n){var t;return null!==(t=r.get(e))&&void 0!==t?t:null}},removeItem(e){try{window.localStorage.removeItem(e),r.delete(e)}catch(e){}},setItem(e,t){try{window.localStorage.setItem(e,t),r.set(e,t)}catch(e){}}}},4338:(e,t,n)=>{"use strict";n.d(t,{CompatRouterAllowed:()=>l,Tj:()=>a});var r=n(9479),i=n(72303);let o=(0,i.createContext)(!1);function a(){return(0,i.useContext)(o)}function l(e){let{children:t}=e;return(0,r.jsx)(i.Suspense,{children:(0,r.jsx)(o.Provider,{value:!0,children:t})})}},73098:(e,t,n)=>{"use strict";n.d(t,{r:()=>v});var r=n(60323),i=n(72303),o=n(60210),a=n(4338),l=n(73124);let s={},c="true"===l.env.NEXT_PUBLIC_TESTMODE;function u(e,t,n){let i=null!=t?t:e;if("string"==typeof i)return i;let o=i,{pathname:a,query:l}=o;if(a||(a=n.pathname),a.includes("[")&&("string"==typeof l&&(l=Object.fromEntries(new URLSearchParams(l))),l)){let e={...l};a=a.replace(/\[[^\]]+]/g,t=>{let n=t.slice(1,-1),r=!1;n.startsWith("...")&&(n=n.substring(3),r=!0);let i=e[n];return(delete e[n],null==i)?"":r?Array.isArray(i)?i.join("/"):String(i):String(Array.isArray(i)?i[0]:i)}),o={...o,query:e}}return(0,r.format)({...o,pathname:a})}var d=n(45986);function v(){return(0,d.useRouter)()||function(){if(!(0,a.Tj)()&&c){var e;console.warn("WARNING: Disallowed compat router invocation in the /app folder. It should be either removed or allow-list using CompatRouterAllowed. The invocation stack:",(null!==(e=Error().stack)&&void 0!==e?e:"").split("\n").slice(3).slice(0,10).join("\n"))}let t=(0,o.useRouter)(),n=(0,o.usePathname)(),r=(0,o.useParams)(),l=(0,o.useSearchParams)(),[d,v]=(0,i.useReducer)(e=>e+1,0);return(0,i.useMemo)(()=>(function(e,t,n,r,i,o){var a,l;let c=null!==(a=null==r?void 0:r.toString())&&void 0!==a?a:"";return{isReady:null!==t,pathname:null!==(l=function(e,t){if(null===e)return null;if(""===e||!t)return e;let n=e;for(let[e,r]of Object.entries(t)){let t,i;if("lang"===e||(Array.isArray(r)?(i="...".concat(e),t=r.join("/")):(i=e,t=null!=r?r:""),!t))continue;let o=0;for(;-1!==o;)if(-1!==(o=n.indexOf("/".concat(t),o))){let e=o+t.length+1;if(e>=n.length||"/"===n[e]||"?"===n[e]||"#"===n[e]){n="".concat(n.substring(0,o+1),"[").concat(i,"]").concat(n.substring(e));break}o+=t.length+1}}return n}(t,n))&&void 0!==l?l:"",get asPath(){let e="".concat(null!=t?t:"").concat(c?"?".concat(c):"");return i>0&&(e+=window.location.hash),e},get query(){return function(e,t){let{lang:n,...r}=null!=e?e:s,i=null;if(t)for(let e of(i={},t.keys())){let n=t.getAll(e);1===n.length&&void 0!==n[0]?i[e]=n[0]:n.length>0&&(i[e]=n)}return{...i,...r}}(n,r)},push(t,n,r){let i=u(t,n,this);e.push(i,r)},replace(n,r,i){let a=u(n,r,this),l=new URL(a,window.location.href),s=new URL(this.asPath,window.location.href),c=function(e){let t=e.indexOf("#");return -1!==t?e.substring(t):""}(a),d=window.location.hash!==c;if(l.toString()!==s.toString()){if(l.pathname===t&&((null==i?void 0:i.shallow)||d)){var v;window.history.replaceState(void 0,"",a),o(),d&&(null===(v=null==i?void 0:i.scroll)||void 0===v||v)&&function(e){let t=e.replace("#","");if(""===t||"top"===t){window.scrollTo(0,0);return}let n=decodeURIComponent(t),r=document.getElementById(n);if(r){r.scrollIntoView();return}let i=document.getElementsByName(n)[0];i&&i.scrollIntoView()}(c)}else e.replace(a,i)}},reload(){e.refresh()},back(){e.back()},forward(){e.forward()},prefetch(t,n,r){let i=u(t,n,this);return e.prefetch(i)}}})(t,n,r,l,d,v),[t,n,r,l,d])}()}},90491:(e,t,n)=>{"use strict";n.d(t,{InpMonitor:()=>s});var r=n(72303),i=n(89440);let o=["auxclick","click","contextmenu","dblclick","mousedown","mouseup","pointerdown","pointerup","pointercancel","touchstart","touchend","touchcancel","gotpointercapture","lostpointercapture","keydown","keypress","keyup","beforeinput","input","compositionstart","compositionupdate","compositionend"],a=()=>"requestIdleCallback"in window?l():null,l=()=>{let e;let t=new Set,n=e=>{requestIdleCallback(()=>{for(let n of t)n(e)})},r=()=>{if(document.hidden){e={startTime:performance.now()};return}e&&(e.endTime=performance.now())};document.addEventListener("visibilitychange",r);let i=new WeakMap,a=new WeakMap,l=e=>{let{target:t}=e;if(!t)return;let n=a.get(t);n||(n=[],a.set(t,n)),n.push(e)},s=(e,t)=>{let n=a.get(e);if(!n)return[];let r=[],i=t.start-20,o=new Set(t.durations.map(e=>e.event));for(let e=n.length;e--;){let t=n[e];if(t){if(t.startTime{if(!e)return;let r=i.get(e);("render"!==t||(null==r?void 0:r.durations.length))&&r&&(r.durations.push({event:t,duration:n}),r.totalDuration+=n)},u=(e,t,n)=>{if(!t)return;let r=n-t.duration;t.duration=n,e.totalDuration+=r},d=new PerformanceObserver(e=>{for(let t of e.getEntries())l(t)});d.observe({type:"event"});let v=e=>{if(!e)return;let t=i.get(e);t&&(i.delete(e),setTimeout(()=>{let r=s(e,t),i=r[0],o=r.at(-1);if(i&&o){let e=i.processingStart-i.startTime;u(t,t.durations[0],e);let n=Math.max(.1,o.duration-(o.processingEnd-o.startTime));u(t,t.durations.at(-1),n);let a=0,l=r[0];for(let e of t.durations){if(!l)break;e.event===l.name&&(u(t,e,l.processingEnd-l.processingStart),l=r[++a])}}t.durations.length&&(t.totalDuration>=200&&(t.isSilent=!1),p.entries.push(t),++p.entryCount,m(),n(t))},250))},f=t=>{let{target:n,timeStamp:r}=t;if(!n||i.get(n))return;a.delete(n);let o=Math.max(0,performance.now()-r),l=performance.now()-o,s={target:n,start:l,durations:[],totalDuration:0,isSilent:!0};i.set(n,s),c(n,"input delay",o),requestAnimationFrame(()=>{setTimeout(()=>{let t=s.start+s.totalDuration,r=Math.max(1,performance.now()-t);(null==e?void 0:e.endTime)&&e.endTime>l&&(r-=e.endTime-e.startTime),c(n,"render",Math.max(0,r)),v(n)})})},m=()=>{let e=p.entries.slice().sort((e,t)=>t.totalDuration-e.totalDuration);e.splice(10),p.entries=e;let t=e[Math.min(Math.floor(p.entryCount/50),e.length-1)];t&&(p.inp=t.totalDuration,p.inpIndex=p.entries.indexOf(t))},h=e=>{let{target:t,type:n,isTrusted:r}=e;if(!t||!r||"VERCEL-LIVE-FEEDBACK"===t.tagName)return;let i=performance.now();f(e);let o=!1,a=e=>{cancelAnimationFrame(l),window.removeEventListener(n,a),o||(o=!0,c(t,n,("object"==typeof e?performance.now():i+1)-i))};window.addEventListener(n,a,{once:!0});let l=requestAnimationFrame(a)};for(let e of o)window.addEventListener(e,h,{capture:!0});let p={inp:0,inpIndex:-1,entries:[],entryCount:0,clearEntries:()=>{p.entries.splice(0),p.inp=0,p.inpIndex=-1,n()},subscribe:e=>t.add(e),unsubscribe:e=>t.delete(e),cleanup:()=>{for(let e of(document.removeEventListener("visibilitychange",r),d.disconnect(),o))window.removeEventListener(e,h,{capture:!0})}};return p};function s(){return(0,r.useEffect)(()=>{let e=a();if(e)return e.subscribe(e=>{if(!e)return;let t=!!window.next.appDir,{target:n,totalDuration:r,durations:o}=e;if(r<200)return;let a=c(o),l=c(o,!0),s=u(n),d="".concat(s," : ").concat(l),v="".concat(s," : ").concat(a),f=u(n,!0),m="".concat(f," : ").concat(l),h={path:s,event:l,pathWithEvent:d,pathWithLongestDuration:v,pathsWithClass:f,pathsWithClassWithEvent:m,isAppRouter:t,chrome:navigator.userAgent.includes("Chrome"),android:/Android/i.test(navigator.userAgent)};(0,i.u4)("long-inp-200",h),r<400||(0,i.u4)("long-inp-400",h)}),()=>e.cleanup()},[]),null}function c(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r="";for(let{duration:i,event:o}of e)(!t||"input delay"!==o&&"render"!==o)&&(i<=n||(n=i,r=o));return r}function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e,r=[];do{let e=n.tagName.toLowerCase();if("body"===e)break;if(n.id){r.unshift("".concat(e,"#").concat(n.id));continue}if(n.getAttribute("data-testid")){r.unshift("".concat(e,'[data-testid="').concat(n.getAttribute("data-testid"),'"]'));continue}if(t&&n.classList.length){r.unshift("".concat(e,".").concat(n.classList[0]));continue}r.unshift(e)}while(n=n.parentElement);return r.join(" > ")}},73127:(e,t,n)=>{"use strict";n.d(t,{useEthycaConsentBanner:()=>c});var r=n(9479),i=n(72303),o=n(33877),a=n(14775);n(27576);var l=n(27048);let s=["essential","marketing","analytics"];function c(){var e;let{cookiesToDeleteOnOptOut:t,cookieDomain:n="",cookiePath:c="/"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isShowBannerLoading:d,showBanner:v}=(0,l.useShowConsentBanner)(),f="undefined"!=typeof navigator&&null!==(e=navigator.globalPrivacyControl)&&void 0!==e&&e,[m,h]=(0,i.useState)([]);function p(){var e;if(!window.Fides)return;let r=[...Object.keys(e=window.Fides.consent).filter(t=>e[t]),...s.filter(t=>!(t in e))];s.forEach(e=>{r.includes(e)||t&&Object.keys(o.A.get()).forEach(r=>{t.forEach((t,i)=>{new RegExp(i).test(r)&&t!==e&&o.A.remove(r,{path:c,domain:n})})})}),h(r)}function g(){window.Fides&&(window.Fides.gtm(),p())}return((0,i.useEffect)(()=>((function(e){let t=o.A.get("fides_consent");if(t)try{let{consent:{analytics:r,marketing:i,functional:a},fides_meta:l}=JSON.parse(t);if(!0===r||!0===i||!0===a)return;let s=new Date(l.createdAt),u=new Date(l.updatedAt);(s{window.removeEventListener("FidesUpdated",p),window.removeEventListener("FidesInitialized",g)}),[]),f||d)?{categoriesAccepted:[],ethycaScript:null}:v?{categoriesAccepted:m,ethycaScript:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(a.default,{src:"/_stream/external/vercel.fides-cdn.ethyca.com/fides.js?geolocation=EEA",strategy:"lazyOnload"})]})}:{categoriesAccepted:[...s],ethycaScript:null}}function u(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=new MutationObserver(e=>{for(let n of e){if("childList"!==n.type)return;let e=Array.from(document.head.getElementsByTagName("style")).find(e=>e.innerHTML.includes("--fides"));e&&(e.remove(),t(!0))}});return e.observe(document.head,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[]),e?null:(0,r.jsx)("style",{children:"\n #fides-overlay {\n display: none !important;\n }\n "})}},27048:(e,t,n)=>{"use strict";n.d(t,{showConsentBanner:()=>o,useShowConsentBanner:()=>a});var r=n(51808);let i="/api/show-consent-banner";function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return fetch(e).then(e=>e.json())}function a(){let{showBannerApiUrl:e=i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:t,isLoading:n}=(0,r.A)(e,e=>o(e),{shouldRetryOnError:!1});return{showBanner:!!(null==t?void 0:t.showBanner),isShowBannerLoading:!!(!t||n)}}},69727:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AVATAR_SHA:()=>m,AVATAR_SHA_LENGTH:()=>f,Avatar:()=>g,AvatarC:()=>p,GenericAvatar:()=>h});var r,i=n(9479),o=n(72303),a=n(83844),l=n(59854),s=n(6615),c=n(73124);new URL(null!==(r=c.env.VERCEL_API_URL)&&void 0!==r?r:"https://api.vercel.com").host,c.env.NEXT_PUBLIC_API_REGISTRATION_DEV,c.env.NEXT_PUBLIC_API_PROJECTS_DEV,c.env.NEXT_PUBLIC_API_INTEGRATION_CONTROLLER_DEV;var u=n(89195),d=n(97365),v=n.n(d);let f=40,m=new RegExp("^[0-9a-f]{".concat(f,"}$")),h=(0,o.memo)(e=>{let{title:t,src:n,size:r=80,placeholder:c,className:d,imageClassName:f,letter:m,letterStyles:h,hash:p,style:g,priority:w,onLoadingComplete:y,ariaHidden:x,onError:b,mask:S=!0}=e,_=(0,o.useContext)(s.BlurBase64Context),[C,E]=(0,o.useState)(!1),k=p&&(null==_?void 0:_[p]);t=c?"Placeholder Avatar":m?"Avatar with initials: ".concat(m):t;let P=null==n?void 0:n.replace("/api/www/avatar/?","/api/www/avatar?");return(0,i.jsxs)("span",{"aria-hidden":x,"aria-label":t,className:(0,a.$)(v().avatar,d),"data-geist-avatar":"","data-mask":S,"data-resolved":C,"data-version":"v1",role:"img",style:{"--size":(0,u.px)(r),...g},children:[c?null:(0,i.jsx)(l.Image,{alt:t||"",blurDataURL:k||void 0,className:f,decoding:"sync",height:r,loading:"eager",onError:()=>{E(!0),null==b||b()},onLoad:()=>{E(!0),null==y||y()},placeholder:k?"blur":"empty",priority:w,srcDark:P||"",srcLight:P||"",title:t,unoptimized:!k,width:r},n),m?(0,i.jsx)("span",{style:h,children:m}):null]},n)});h.displayName="GenericAvatar";let p=e=>{let{teamId:t,username:n,uid:r,hash:o,url:a,placeholder:l,title:s,...c}=e;if(l)return(0,i.jsx)(h,{placeholder:!0,...c});let u=o&&m.test(o),d=u?o:null!=n?"?u=".concat(n):null!=t?"?teamId=".concat(t):(r||"")+"?",v=a||"".concat("/api/www/avatar","/").concat(d+(u?"?":"&"),"s=").concat(2*c.size);return(0,i.jsx)(h,{hash:o,src:v,...c,title:s||(n?"Avatar for ".concat(n):"")})};p.displayName="Avatar";let g=(0,o.memo)(p)},97984:(e,t,n)=>{"use strict";n.d(t,{c:()=>v,x:()=>d});var r=n(9479),i=n(72303),o=n(71966),a=n(40106),l=n(34533),s=n(91399),c=n.n(s);let u=(0,i.createContext)({rootOrigin:{x:0,y:0},rootBounds:{width:0,height:0},portalRef:null,activeId:null,setActiveId:()=>void 0,hoveredId:null,setHoveredId:()=>void 0,updateActiveContextCard:()=>void 0,skipTransition:!1,rootVisible:!1,distanceFromLast:0,lastOrigin:null});function d(e){let{children:t}=e,[n,l]=(0,i.useState)(!1);(0,i.useEffect)(()=>l(!0),[]);let[s,d]=(0,a.A)(),v=(0,i.useRef)(null),[f,m]=(0,i.useState)(null),[h,p]=(0,i.useState)(!1),[g,w]=(0,i.useState)(null),y=(0,i.useRef)(null);function x(e){y.current=e,p(null!==e)}let b=e=>{((null==e?void 0:e.id)===y.current||null===e)&&m(e)},S=(0,i.useMemo)(()=>f?{width:f.contentSize.width+2,height:f.contentSize.height+2,x:f.origin.x,y:f.origin.y,offsetX:f.offset.x,offsetY:f.offset.y,side:f.side}:{width:0,height:0,x:0,y:0,offsetX:0,offsetY:0,side:"top"},[f]),_=function(e){let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{t.current=e}),t.current}(S),C=(0,i.useMemo)(()=>{if(!_)return 0;let e=Math.max(S.x,_.x),t=Math.min(S.x+S.width,_.x+_.width),n=Math.max(S.y,_.y),r=Math.min(S.y+S.height,_.y+_.height);if(e{var e,t;return Math.sqrt(((null!==(e=null==_?void 0:_.x)&&void 0!==e?e:0)-S.x)**2+((null!==(t=null==_?void 0:_.y)&&void 0!==t?t:0)-S.y)**2)},[S.x,S.y,null==_?void 0:_.x,null==_?void 0:_.y]),k=(0,i.useMemo)(()=>_?{x:_.x-S.x,y:_.y-S.y}:null,[S,_]),P=(0,i.useMemo)(()=>E>150||C>100,[E,C]),j=(0,i.useMemo)(()=>({updateActiveContextCard:b,rootOrigin:{...S},rootBounds:d,portalRef:v,setActiveId:x,activeId:y,setHoveredId:w,hoveredId:g,skipTransition:P,rootVisible:h,distanceFromLast:E,lastOrigin:k}),[S,d,g,P,h,E,k]),A=(0,i.useMemo)(()=>"top"===S.side?0:"bottom"===S.side?180:"left"===S.side?270:90,[S]);return(0,r.jsxs)(u.Provider,{value:j,children:[t,n?(0,o.createPortal)((0,r.jsx)("div",{className:c().portal,ref:s,children:(0,r.jsxs)("div",{className:c().contextCardRootVisibility,style:{opacity:h?1:0},children:[(0,r.jsx)("div",{className:c().contextCardTip,"data-skip-transition":P,style:{transform:"translate(".concat(S.x-S.offsetX,"px, ").concat(S.y-S.offsetY,"px) rotate(").concat(A,"deg)")},children:(0,r.jsxs)("svg",{height:"10",viewBox:"0 0 14 10",width:"14",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M7.00009 8.11236L1.46893 0H12.5312L7.00009 8.11236Z",fill:"var(--ds-background-100)"}),(0,r.jsx)("path",{d:"M0.94043 1L7.00009 9.8875L13.0597 1H11.8494L7.00009 8.11236L2.15075 1H0.94043Z",fill:"var(--ds-gray-400)"})]})}),(0,r.jsx)("div",{className:c().contextCardRoot,"data-skip-transition":P,style:{transform:"translate(".concat(S.x,"px,").concat(S.y,"px)"),width:S.width,height:S.height},children:(0,r.jsx)("div",{ref:v})})]})}),document.body):null]})}let v={Provider:d,Trigger:function(e){let{content:t,children:n,side:s="right",align:d="center",sideOffset:v=16,alignOffset:f=0,ignoreCardPointerEvents:m=!1,noPadding:h}=e,p=(0,i.useRef)(null),g=(0,i.useRef)(null),[w,y]=(0,a.A)(),{portalRef:x,updateActiveContextCard:b,activeId:S,setActiveId:_,hoveredId:C,setHoveredId:E,skipTransition:k,rootVisible:P}=(0,i.useContext)(u),j=(0,i.useId)(),A=(0,l.usePrefersReducedMotion)(),[T,O]=(0,i.useState)(!1),[I,L]=(0,i.useState)(!1),[R,D]=(0,i.useState)(!1),M=(0,i.useRef)(null),B=(0,i.useRef)(null);(0,i.useEffect)(()=>{T&&y.width>0&&y.height>0&&(_(j),U())},[T,y]);let N=(0,i.useRef)(null);function U(){g.current&&b({id:j,...function e(t){let n,r;if(!p.current)throw Error("Trigger not found");if(!g.current)throw Error("Content not found");let i=null!=t?t:s,o=p.current.getBoundingClientRect(),a=g.current.getBoundingClientRect(),l={width:a.width,height:a.height},c=o.width/2,u=o.height/2,m=a.width/2,h=a.height/2,w=o.top,y=o.left,x=y+c-m+f;"start"===d&&(x=y-a.width+f+14),"end"===d&&(x=y+o.width+f-14);let b=w+u-h+f;switch("start"===d&&(b=w-a.height+f+14),"end"===d&&(b=w+o.height+f-14),i){case"top":n={x:x,y:w-a.height-v};break;case"right":n={x:y+o.width+v,y:b};break;case"bottom":n={x:x,y:w+o.height+v};break;case"left":n={x:y-a.width-v,y:b};break;default:throw Error("Unknown side")}if(n.x<0&&!t&&"left"===s)return e("right");if(n.x+a.width>document.documentElement.clientWidth&&!t&&"right"===s)return e("left");let S=n.x-y-f;"center"===d&&(S=n.x-y-c-f+7),"end"===d&&(S=n.x-y-o.width-f+14);let _=n.y-w;switch("center"===d&&(_=n.y-w-u+7),"end"===d&&(_=n.y-w-o.height+14),i){case"top":r={x:S-1,y:n.y-w+v};break;case"right":r={x:n.x-y-o.width+10-v,y:_-3};break;case"bottom":r={x:S-1,y:n.y-w-o.height+10-v-2};break;case"left":r={x:n.x-y+v+2,y:_-3};break;default:throw Error("Unknown side")}return{origin:n,contentSize:l,offset:r,side:i}}()})}return(0,i.useEffect)(()=>{N.current&&clearTimeout(N.current),C!==j?D(!1):N.current=setTimeout(()=>{D(!0)},0)},[C,j,A,k]),(0,i.useEffect)(()=>(document.addEventListener("scroll",U,!0),window.addEventListener("resize",U),()=>{document.removeEventListener("scroll",U,!0),window.removeEventListener("resize",U)}),[]),(0,r.jsxs)("div",{className:c().contextCardTrigger,onMouseEnter:function(){M.current&&clearTimeout(M.current),B.current&&clearTimeout(B.current),E(j),O(!0)},onMouseLeave:function(){O(!1),M.current&&clearTimeout(M.current),M.current=setTimeout(()=>{S.current===j&&_(null)},500),L(!0),B.current&&clearTimeout(B.current),B.current=setTimeout(()=>{L(!1)},2e3)},ref:p,children:[n,x.current&&(T||I)?(0,o.createPortal)((0,r.jsx)("div",{className:c().contextCardContent,ref:g,style:{...h?{padding:0}:{},pointerEvents:P&&R&&!m?"all":"none"},children:(0,r.jsx)("div",{className:c().contextCardContentVisibility,ref:w,style:{opacity:Number(R)},children:t})},j),x.current):null]})}}},59854:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Image:()=>d});var r=n(9479),i=n(72303),o=n(95985),a=n(83844),l=n(6615),s=n(28269),c=n.n(s);function u(e){let t;return"string"==typeof e&&e.startsWith("/")&&!e.startsWith("/api")&&(t=e=>{let{src:t,width:n,quality:r="auto"}=e,i=["f_auto","c_limit","q_".concat(r)];n&&i.push("w_".concat(2*Number(n)));let o=t.endsWith(".svg")?t:"/".concat(i.join(",")).concat(t);return"https://assets.vercel.com/image/upload".concat(o)}),t}let d=(0,i.memo)(e=>{let{srcLight:t,srcDark:n,onLoad:s,onError:d,...v}=e,f=(0,i.useContext)(l.BlurBase64Context),m=null==f?void 0:f[t],h=null==f?void 0:f[n],p=u(t),g=u(n),w=e.className,y=(0,i.useMemo)(()=>({...v}),[v]);if("intrinsic"!==e.layout&&e.layout){if("responsive"===e.layout){let e=w?" ".concat(w):"";w="".concat(String(c().responsive)).concat(e)}else"fill"===e.layout&&(y.fill=!0)}else{let e=w?" ".concat(w):"";w="".concat(String(c().intrinsic)).concat(e)}y.objectFit&&(y.style=y.style||{},y.style.objectFit=y.objectFit),y.objectPosition&&(y.style=y.style||{},y.style.objectPosition=y.objectPosition),delete y.layout,delete y.objectFit,delete y.objectPosition;let x=(0,i.useMemo)(()=>({...y,src:t,loader:p,blurDataURL:m,placeholder:m?"blur":"empty"}),[y,m,p,t]),b=(0,i.useMemo)(()=>({...y,src:n,loader:g,blurDataURL:h,placeholder:h?"blur":"empty"}),[h,g,n,y]),S=t!==n;return(0,i.useMemo)(()=>S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{"data-version":"v1",...x,className:(0,a.$)(w,c().lightMode),onError:d?()=>d("light"):void 0,onLoad:s?()=>s("light"):void 0}),(0,r.jsx)(o.default,{"data-version":"v1",...b,className:(0,a.$)(w,c().darkMode),onError:d?()=>d("dark"):void 0,onLoad:s?()=>s("dark"):void 0})]}):(0,r.jsx)(o.default,{"data-version":"v1",...x,className:w,onError:d?()=>d():void 0,onLoad:s?()=>s():void 0}),[w,b,S,x,d,s])});d.displayName="Image"},82798:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,l:()=>o});var r=n(9479),i=n(72303);let o=(0,i.createContext)({forceShowTooltips:!1,setForceShowTooltips:()=>{}});function a(e){let{children:t}=e,[n,a]=(0,i.useState)(!1),l=(0,i.useMemo)(()=>({forceShowTooltips:n,setForceShowTooltips:a}),[n]);return(0,r.jsx)(o.Provider,{value:l,children:t})}},15542:(e,t,n)=>{"use strict";n.d(t,{ON:()=>m,a7:()=>g,lo:()=>p});var r=n(9479),i=n(72303),o=n(22429),a=n(60210),l=n(82798),s=n(97984),c=n(10116),u=n.n(c),d=n(77259),v=n.n(d);let f={light:"light-theme",dark:"dark-theme"};function m(e){let{children:t,storageKey:n="geist-theme",setBackgroundColor:a=!0,...c}=e;return u(),v(),(0,r.jsxs)(o.N,{attribute:"class",disableTransitionOnChange:!0,storageKey:n,value:f,...c,children:[(0,r.jsx)(i.Suspense,{children:(0,r.jsx)(w,{setBackgroundColor:a})}),(0,r.jsx)(l.B,{children:(0,r.jsx)(s.x,{children:t})})]})}let h={dashboard:{light:"#FFFFFF",dark:"#0A0A0A"},marketing:{light:"#FAFAFA",dark:"#000000"}},p=e=>{let{resolvedTheme:t}=(0,o.D)(),n=(0,a.useSelectedLayoutSegments)(),r=h[e||y(n)];return{metaThemeColor:"dark"===t?r.dark:r.light}},g=e=>{let{color:t,setBackgroundColor:n}=e,r=Array.from(document.querySelectorAll('meta[name="theme-color"]'));if(0===r.length){let e=document.createElement("meta");e.setAttribute("name","theme-color"),document.head.appendChild(e),r.push(e)}r.forEach(e=>{e.setAttribute("content",t)}),n&&(document.documentElement.style.backgroundColor=t)};function w(e){let{setBackgroundColor:t=!0}=e,{metaThemeColor:n}=p();return(0,i.useEffect)(()=>{g({color:n,setBackgroundColor:t})},[n,t]),null}let y=e=>{if(null===e||0===e.length)return"marketing";for(let t of e){if(t.includes("dashboard"))return"dashboard";if(t.includes("auth")){if("signup"===e[1])return"marketing";return"dashboard"}if(t.includes("(team)"))return"dashboard"}return"marketing"}},25894:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GeistProvider:()=>r.ON,setMetaThemeColor:()=>r.a7,useGetMetaThemeColor:()=>r.lo});var r=n(15542)},34533:(e,t,n)=>{"use strict";n.r(t),n.d(t,{usePrefersReducedMotion:()=>i});var r=n(72303);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{ssr:t=!1}=e,[n,i]=(0,r.useState)(t);return(0,r.useEffect)(()=>{if(!window.matchMedia){i(!1);return}let e=window.matchMedia("(prefers-reduced-motion: reduce)");function t(e){i(e.matches)}return i(e.matches),e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),n}},6615:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BlurBase64:()=>a,BlurBase64Context:()=>i,withBlurBase64:()=>o});var r=n(9479);let i=(0,n(72303).createContext)(null),o=e=>t=>{let{...n}=t;return(0,r.jsx)(i.Provider,{value:n.blurBase64DataURLs,children:(0,r.jsx)(e,{...n})})};function a(e){let{blurBase64DataURLs:t,children:n}=e;return(0,r.jsx)(i.Provider,{value:t,children:n})}},13664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(72303);function i(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current}},95921:(e,t,n)=>{"use strict";function r(e){let t=a();for(let n of(t.data=e,t.listeners))try{n(e)}catch(e){console.warn("@vercel/otel: failed to call client listener:",e)}}function i(e){let t=a();return t.listeners.push(e),()=>{let n=t.listeners.indexOf(e);-1!==n&&t.listeners.splice(n,1)}}async function o(){let e;let t=a();if(t.data)return t.data;let n=await new Promise(t=>{e=i(t)});return null==e||e(),n}function a(){let e=window;return e.__NEXT__OTEL__||(e.__NEXT__OTEL__={data:void 0,listeners:[]}),e.__NEXT__OTEL__}n.d(t,{Fc:()=>o,Vy:()=>r,cB:()=>i})},25437:(e,t,n)=>{"use strict";n.d(t,{TelemetryClient:()=>u});var r=n(72303),i=n(95921),o=n(30489),a=n(49761),l=n(92077),s=n(73124),c=n(60210);function u(){let e=function(){let e=(0,c.usePathname)(),t=(0,c.useParams)();return(0,r.useMemo)(()=>(function(e,t){if(null===e)return null;if(""===e||!t)return e;let n=e;for(let[e,r]of Object.entries(t)){let t,i;if("lang"===e||(Array.isArray(r)?(i="...".concat(e),t=r.join("/")):(i=e,t=null!=r?r:""),!t))continue;let o=0;for(;-1!==o;)if(-1!==(o=n.indexOf("/".concat(t),o))){let e=o+t.length+1;if(e>=n.length||"/"===n[e]||"?"===n[e]||"#"===n[e]){n="".concat(n.substring(0,o+1),"[").concat(i,"]").concat(n.substring(e));break}o+=t.length+1}}return n})(e,t),[e,t])}();return(0,r.useEffect)(()=>{function t(){let t=function(){let e=document.querySelector('meta[name="initiator-trace"]'),t=null==e?void 0:e.getAttribute("content");if(!t)return;let n=(0,o.CM)(t);if(n)return{...n,isRemote:!0}}(),n=function(){let e=document.querySelector('meta[name="trace-attributes"]'),t=null==e?void 0:e.getAttribute("content");if(t)try{return JSON.parse(t)}catch(e){return}}();(0,i.Vy)({disabled:!1,initiatorTrace:t,attributes:{...n,...e?{"next.route":e}:void 0}})}let n=new MutationObserver(()=>{t()});return n.observe(document.head,{attributes:!0,subtree:!0}),t(),()=>n.disconnect()},[e]),null}!function(){if("true"===s.env.OTEL_SDK_DISABLED||"true"===s.env.NEXT_PUBLIC_OTEL_SDK_DISABLED||l.f.some(e=>e.test(window.navigator.userAgent)))return Promise.resolve(void 0);let e=function(){let e=[],t=!0,n=[],r=console.error;console.error=function(){for(var n,i=arguments.length,o=Array(i),l=0;l{var n;e.push({args:[t.error],spanContext:null===(n=a.u.getActiveSpan())||void 0===n?void 0:n.spanContext()})};window.addEventListener("error",t),n.push(()=>window.removeEventListener("error",t));let r=t=>{var n;e.push({args:[t.reason],spanContext:null===(n=a.u.getActiveSpan())||void 0===n?void 0:n.spanContext()})};window.addEventListener("unhandledrejection",r),n.push(()=>window.removeEventListener("unhandledrejection",r))}return()=>{for(let e of(t=!1,n))e();let r=e.slice(0);return e.length=0,r}}();Promise.all([n.e(7760),n.e(876)]).then(n.bind(n,28495)).then(t=>{let{installOTel:n}=t;return n({flushErrorBuffer:e})})}()},92077:(e,t,n)=>{"use strict";n.d(t,{J:()=>i,f:()=>r});let r=[/Zoom Marketplace/],i=[{regex:/^middleware/,ratio:.2},{regex:/^lib\/fetch-api/,ratio:.2},{regex:/^app\/lib\/fetch-api/,ratio:.4}]},30489:(e,t,n)=>{"use strict";n.d(t,{CM:()=>d,FF:()=>f,Fu:()=>c,GQ:()=>s,Pe:()=>l,dO:()=>u,eL:()=>v});var r=n(73260),i=n(17e3),o=n(73124);let a=Math.random().toString(36).slice(2);function l(e){return null!=e}function s(){return u({"node.ci":!!o.env.CI||void 0,"node.env":"production","runtime.name":"","runtime.instance":a,env:"production",sha:"9cda9b3e161a8cf34b24fb5a502402e392e2c9ea",host:o.env.CI?"buildtime":o.env.VERCEL_URL||"vercel-marketing-9pml0k4g1.vercel.sh"})}function c(e,t,n){let i={};"string"==typeof t?i[r.IX.EXCEPTION_MESSAGE]=t:t&&(t.code?i[r.IX.EXCEPTION_TYPE]=t.code.toString():t.name&&(i[r.IX.EXCEPTION_TYPE]=t.name),t.message&&(i[r.IX.EXCEPTION_MESSAGE]=t.message),t.stack&&(i[r.IX.EXCEPTION_STACKTRACE]=t.stack)),i[r.IX.EXCEPTION_ESCAPED]=!1,n&&Object.assign(i,n),(i[r.IX.EXCEPTION_TYPE]||i[r.IX.EXCEPTION_MESSAGE])&&e.addEvent("exception",i)}function u(e){return Object.fromEntries(Object.entries(e).filter(e=>{let[t,n]=e;return void 0!==n}))}function d(e){var t;return null!==(t=(0,i.ZI)(e))&&void 0!==t?t:void 0}function v(e){let{traceId:t,spanId:n,traceFlags:r}=e;return"00-".concat(t,"-").concat(n,"-0").concat((r||0).toString(16))}function f(e){let t={},n=new Set;for(let i of e){var r;let e=i.spanContext().traceId;if(n.has(e))continue;if(i.name.includes("api/otel")){n.add(e),delete t[e];continue}let o=t[e];o||(o={traceId:e,resources:[],spans:[]},t[e]=o);let{resource:a}=i,l=null!==(r=a.attributes["service.name"])&&void 0!==r?r:"otel";o.resources.some(e=>e.name===l)||o.resources.push({name:l,attributes:a.attributes}),o.spans.push(function(e,t){let{spanId:n,traceFlags:r,traceState:i}=e.spanContext(),{name:o,kind:a,parentSpanId:l,status:s,instrumentationLibrary:c,attributes:u,links:d,events:v,startTime:f,endTime:p,duration:g}=e;return{name:o,kind:a,resource:t,library:{name:c.name,version:c.version},spanId:n,parentSpanId:l,status:s,traceFlags:r,attributes:u,links:d.map(m),events:v.map(h),startTime:f,endTime:p,duration:g}}(i,l))}let i=Object.values(t);for(let e of i)e.spans.sort((e,t)=>(e.parentSpanId?1:0)-(t.parentSpanId?1:0));return i}function m(e){let{context:t,attributes:n}=e;return{traceId:t.traceId,spanId:t.spanId,attributes:n}}function h(e){let{time:t,name:n,attributes:r}=e;return{time:t,name:n,attributes:r}}},65471:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AnalyticsScripts:()=>l});var r=n(9479),i=n(72303),o=n(72260),a=n(21144);function l(e){let t=navigator.webdriver;return(0,r.jsx)(i.Suspense,{children:t?null:(0,r.jsx)(s,{...e})})}function s(e){let{disableKoalaAutocapture:t=!1,children:n}=e,{categoriesAccepted:l,ethycaScript:s}=(0,a.or)(),c=(0,i.useMemo)(()=>(o.zS.setKoalaAutocapture(!t),(0,r.jsxs)(r.Fragment,{children:[o.zS.getScripts(l),n]})),[t,l,n]);return(0,r.jsxs)(r.Fragment,{children:[s,c]})}},21144:(e,t,n)=>{"use strict";let r;n.d(t,{GG:()=>s,L$:()=>l,or:()=>c});var i=n(73127),o=n(72260),a=n(73124);let l="vercel.com",s="vercel.sh";function c(){return(0,i.useEthycaConsentBanner)({cookiesToDeleteOnOptOut:o.zS.getAllCookiesMappedToConsentCategory(),cookieDomain:r})}r="production"===a.env.VERCEL_ENV?".".concat(l):"preview"===a.env.VERCEL_ENV?".".concat(s):"localhost"},60391:(e,t,n)=>{"use strict";n.r(t),n.d(t,{hasHydrated:()=>o,useHydrationSentinel:()=>i});var r=n(72303);function i(){(0,r.useEffect)(()=>{window.__hydration_complete=!0},[])}function o(){return!0===window.__hydration_complete}},4199:(e,t,n)=>{"use strict";n.d(t,{FZ:()=>s,Ze:()=>d,k2:()=>a,zB:()=>u});var r=n(72303);let i=new Set(Object.values(function(e){return e.Source="utm_source",e.Medium="utm_medium",e.Campaign="utm_campaign",e.Content="utm_content",e.Term="utm_term",e}({}))),o={utm_source:"",utm_medium:"",utm_campaign:"",utm_content:"",utm_term:""};function a(e){let t=Object.entries(e).filter(e=>{let[t]=e;return"string"==typeof t&&i.has(t)}).reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},{});return{...o,...t}}function l(){let e=c();try{let t=new URL(e).searchParams;return Object.fromEntries(t.entries())}catch(e){return{}}}function s(){let e=l(),[t,n]=(0,r.useState)();return(0,r.useEffect)(()=>{var t,r;if(e.gclid){let r=new Date;r.setDate(r.getDate()+90);let i={value:e.gclid,expiration:r};null===(t=localStorage)||void 0===t||t.setItem("gclid",JSON.stringify(i)),n(e.gclid)}else{let e=null===(r=localStorage)||void 0===r?void 0:r.getItem("gclid");if(e){let t=JSON.parse(e);new Date(t.expiration)>new Date&&n(t.value)}}},[e.gclid]),t}function c(){let[e,t]=(0,r.useState)("");return(0,r.useEffect)(()=>{t("localhost"===window.location.hostname?"https://".concat("vercel.com","/dev-mode").concat(window.location.pathname).concat(window.location.search):window.location.toString())},[]),e}function u(){let e=function(){let e=l();return(0,r.useMemo)(()=>a(e),[e])}(),t=s(),n=c(),i=function(){let[e,t]=(0,r.useState)("undefined"!=typeof document?document.referrer:"");return(0,r.useEffect)(()=>{t(document.referrer)},[]),e}(),{firstReferrer:o}=d(i);return(0,r.useMemo)(()=>({utm:e,gclid:t,url:n,referrer:i,firstReferrer:o}),[e,t,n,i,o])}let d=e=>{var t,n;if("undefined"==typeof localStorage)return{firstReferrer:""};let r=JSON.parse((null===(t=localStorage)||void 0===t?void 0:t.getItem("referrers"))||'{"firstReferrer": ""}');return""!==r.firstReferrer&&r.firstReferrer||(r.firstReferrer=e,null===(n=localStorage)||void 0===n||n.setItem("referrers",JSON.stringify(r))),{firstReferrer:r.firstReferrer}}},15400:(e,t,n)=>{"use strict";n.d(t,{JX:()=>u,SM:()=>c,h7:()=>v,wk:()=>d});var r=n(72303),i=n(81482),o=n.n(i),a=n(60210),l=n(4199);let s="lpid";function c(){(0,r.useEffect)(()=>{v()},[])}let u=()=>{let e=JSON.parse(sessionStorage.getItem("uval")||'{"currentUrl": "", "prevUrl": ""}');return window.location.href!==e.currentUrl&&(e.prevUrl=e.currentUrl,e.currentUrl=window.location.href,sessionStorage.setItem("uval",JSON.stringify(e))),{currentUrl:e.currentUrl||window.location.href,prevUrl:e.prevUrl}};function d(){let e=(0,a.usePathname)();(0,r.useEffect)(()=>{u()},[e])}function v(){let e=sessionStorage.getItem(s);try{var t,n;null===e&&sessionStorage.setItem(s,window.location.href);let r=e||window.location.href,{pathname:i,searchParams:a}=o()(r,{require_protocol:!0})?new URL(r):r.startsWith("/")?new URL(r,window.location.origin):new URL(window.location.href),c=Object.fromEntries(a.entries()),u=(0,l.k2)(c),d=JSON.parse((null===(t=localStorage)||void 0===t?void 0:t.getItem("utmValues"))||'{"currentUtm": {}, "prevUtm": {}}');return(0===Object.keys(d.prevUtm).length||Object.values(d.prevUtm).every(e=>""===e))&&(d.prevUtm=u),d.currentUtm=u,null===(n=localStorage)||void 0===n||n.setItem("utmValues",JSON.stringify(d)),{pathname:i,href:r,queryParams:c,utm:u,prevUtm:d.prevUtm}}catch(e){return console.error(e),null}}},287:(e,t,n)=>{"use strict";function r(e,t){var n;if(null===e||null===t)return null;let r=t.find(e=>{let{billing:t}=e;return!!(null==t?void 0:t.trial)}),a=(null==r?void 0:null===(n=r.billing)||void 0===n?void 0:n.trial)?r.billing.trial:null,l=t.find(e=>{let{billing:t}=e;return(null==t?void 0:t.plan)==="hobby"}),s=i(t,"pro"),c=!!s,u=i(t,"enterprise"),d=!!u;return{userId:e.uid,email:e.email,hobbyStartDate:(null==e?void 0:e.date)?new Date(e.date).toUTCString():null,isTrial:!!r,trialStartDate:a?new Date(a.start).toUTCString():null,trialEndDate:a?new Date(a.end).toUTCString():null,hasDowngradedTrial:!!l,isPro:c,proStartDate:c?o(s):null,isEnterprise:d,enterpriseStartDate:d?o(u):null}}function i(e,t){return e&&0!==e.length?e.filter(e=>{let{billing:n}=e;return(null==n?void 0:n.plan)===t}).reduce((e,t)=>e?t.created&&(!e.created||new Date(t.created)r})},96916:(e,t,n)=>{"use strict";n.d(t,{KK:()=>r,PU:()=>i});var r=function(e){return e.TemplateClonedSimple="vercel_templates.v0.template_cloned_simple",e.VercelActivity="vercel_app.v0.vercel_activity",e.ContactSalesFormFill="vercel_contact_sales.v0.contact_sales_form_fill",e}({});let i=async(e,t)=>fetch("/api/stream/internal",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({topic:e,record:t})}).catch(()=>null)},73981:(e,t,n)=>{"use strict";let r;n.d(t,{aj:()=>m,uB:()=>d});var i=n(80225),o=n(72303),a=n(73098),l=n(60210),s=n(17980),c=n(4199),u=n(96916);function d(){var e,t,n,r,i,c,u,d;let f=(0,o.useRef)({}),m=(0,o.useRef)(!1),{user:h,team:p,isLoading:g,isTeam:w}=(0,s.F)();m.current=null!==(i=null==h?void 0:null===(e=h.email)||void 0===e?void 0:e.endsWith("@zeit.pub"))&&void 0!==i&&i;let y=(0,a.r)(),x=(0,l.useParams)(),b=(0,l.useSearchParams)();return f.current={projectId:null!==(u=null!==(c=null==x?void 0:x.projectId)&&void 0!==c?c:null==b?void 0:b.get("projectId"))&&void 0!==u?u:Array.isArray(d=y.query.project)?d[0]:d,userId:null==h?void 0:h.uid,teamId:w?null==p?void 0:p.id:null,userRole:w?null==p?void 0:null===(t=p.membership)||void 0===t?void 0:t.role:null,billingPlan:w?null==p?void 0:null===(n=p.billing)||void 0===n?void 0:n.plan:null==h?void 0:null===(r=h.billing)||void 0===r?void 0:r.plan,route:y.pathname},{isReady:!g,track:(0,o.useRef)((e,t)=>m.current?Promise.resolve():v(e,{...f.current,...t})).current}}let v=async(e,t)=>{let{projectId:n,deploymentId:o,teamId:a,userRole:l,billingPlan:s,userId:c,route:d,...v}=t;await (0,u.PU)(u.KK.VercelActivity,{session_id:function(){var e;return r||(r=null!==(e=sessionStorage.getItem("sid"))&&void 0!==e?e:void 0)||(r=(0,i.A)(),sessionStorage.setItem("sid",r)),r}(),project_id:n,deployment_id:o,user_id:c,team_id:a,user_role:l,billing_plan:s,origin:window.origin,path:window.location.pathname,referrer:document.referrer||null,vercel_app:"vercel.com",action:e,user_agent:navigator.userAgent,browser_width:"number"==typeof window.innerWidth?Math.round(window.innerWidth):null,browser_height:"number"==typeof window.innerHeight?Math.round(window.innerHeight):null,meta:JSON.stringify(v),session_referrer:m(),route:d})},f="srid";function m(){let e=sessionStorage.getItem(f);return null===e?(sessionStorage.setItem(f,document.referrer||""),document.referrer):e?((0,c.Ze)(e),e):null}},17980:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});var r=n(72303),i=n(98467),o=n(31731);function a(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{isLoggedOut:t,isNorthstar:n,flags:a,data:l,error:s,mutate:c,isValidating:u,isLoading:d}=(0,o.Jd)(e),{isTeam:v,team:f,teams:m,teamFlags:h,error:p,mutate:g,isValidating:w,isLoading:y}=(0,i.dA)(),x=(null==l?void 0:l.user)||null,b=v?f:!1===v?x:null,S=(0,r.useCallback)(()=>Promise.all([c(),g()]),[c,g]),_=x&&!1===v?x.name||x.username:f?f.name||f.slug:"";return{account:b,isTeam:v,user:x,team:f,teams:m,name:_,flags:v?h:a,error:s||p,mutate:S,isLoggedOut:t,isLoading:(d||y)&&!t&&!b,isValidating:u&&w,isNorthstar:n}}},65449:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(17980);function i(){let{teams:e}=(0,r.F)();return!!(null==e?void 0:e.find(e=>"vercel"===e.slug))}},98467:(e,t,n)=>{"use strict";n.d(t,{RootTeamProvider:()=>m,dA:()=>h});var r=n(72303),i=n(48757),o=n(45986),a=n(1646),l=n(63176),s=n(35718),c=n(60210),u=n(31731);let d=function(){for(var e=arguments.length,t=Array(e),n=0;nPromise.resolve(void 0)});function m(e){let{children:t}=e,n=d(l.fOm,async e=>{if(v){let e=await v;return v=null,e}return(0,a.ff)(e)},void 0);return(0,r.createElement)(f.Provider,{value:n},t)}let h=(e,t)=>{let n;let i=(0,r.useContext)(f),a=(0,o.useRouter)(),l=function(){var e;let t=(0,c.useParams)(),n=function(){var e;let t=(0,c.useSearchParams)();return null!==(e=null==t?void 0:t.get("teamSlug"))&&void 0!==e?e:null}();return null!==(e=null==t?void 0:t.teamSlug)&&void 0!==e?e:n}(),s=e||l||function(e){return Array.isArray(e)?e[0]:e}(null==a?void 0:a.query.teamSlug),u=i.data,{team:d,teamFlags:v,allTeamsSlugToFlagsMap:m}=(0,r.useMemo)(()=>{var e,n,r;let i=u||t,o=Object.fromEntries(null!==(r=null==i?void 0:null===(e=i.teams)||void 0===e?void 0:e.map(e=>[e.slug,e.flags]))&&void 0!==r?r:[]),a=null==i?void 0:null===(n=i.teams)||void 0===n?void 0:n.find(e=>e.slug===s);if(!a)return{team:null,allTeamsSlugToFlagsMap:o};let{flags:l,...c}=a;return{team:c,teamFlags:l,allTeamsSlugToFlagsMap:o}},[u,t,s]);return d?n=!0:u&&(!a||a.isReady)&&(n=!1),Object.assign(i,{isTeam:n,teamSlug:s,team:d,teams:(null==u?void 0:u.teams)||(null==t?void 0:t.teams)||null,isReady:(!a||a.isReady)&&(!!(u||t)||!s),teamFlags:v,allTeamsSlugToFlagsMap:m,mutate:i.mutate})}},67939:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>r,L$:()=>i,eJ:()=>o});let r="Vercel",i="vercel.com",o="production"},97167:(e,t,n)=>{"use strict";n.d(t,{FacePopover:()=>j});var r=n(9479),i=n(69727),o=n(12669),a=n(49901),l=n(45154),s=n(17223),c=n(60210),u=n(72303),d=n(73173),v=n(83844),f=n(72260),m=n(4375),h=n(45986),p=n(71377),g=n(32048),w=n(84350),y=n(42007);async function x(e){let{attributes:t,req:n,statusCode:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(404===r)return Promise.resolve();(null==n?void 0:n.headers)&&(n.headers.cookie="xxxxx hidden for security xxxxx"),(0,y.Cp)(e,{attributes:{...t,status_code:r,"http.method":null==n?void 0:n.method,"http.status_code":r&&r>99?r:void 0,request_url:null==n?void 0:n.url}})}let b=e=>Array.isArray(e)?e[e.length-1]:e||void 0;var S=n(68841),_=n(19017),C=n.n(_);let E={"/pricing":{content:"Would you like a personalized demo of Vercel?",delay:20},"/blog/introducing-conformance":{content:"Would you like a personalized demo of Vercel?",delay:20},"/enterprise":{content:"Would you like a personalized demo of Vercel?",delay:20},"/blog/introducing-the-vercel-waf":{content:"Would you like a personalized demo of Vercel?",delay:15},"/blog/vercel-ship-2024":{content:"Would you like a personalized demo of Vercel?",delay:15},"/blog/feature-flags":{content:"Would you like a personalized demo of Vercel?",delay:15}},k={Elselyn:{name:"Elselyn",image:"https://user-images.githubusercontent.com/25478266/197800971-58fce238-1f7f-413b-bec5-bcb37069cb26.png",alt:"Elselyn is a software engineer who loves to code and build things."}},P=(0,s.P)(a.E);function j(){var e;let{fit:t}=(0,g.J)({companySize:200}),[n,a]=(0,u.useState)(!1),[y,_]=(0,u.useState)(!1),j=(0,c.usePathname)(),{face:A}=function(){let[e]=(0,u.useState)("Elselyn");return{face:k[e]}}(),T=(0,h.useRouter)(),O=b((0,p.h)().get("marketfit")||(null==T?void 0:T.query.marketfit)),{hasLoaded:I,clear:L,get:R,set:D}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2592e6,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[r,i]=(0,u.useState)(!1),o=(0,u.useRef)(null);return(0,u.useEffect)(()=>{let r=w.U.getItem(e);if(r){let n=JSON.parse(r),a=n.__date;if(t&&a){let n=new Date(a);if(t&&n.getTime(){try{if(o.current)return o.current[e]}catch(e){x(e)}},[]),set:(0,u.useCallback)((n,r)=>{try{o.current=o.current||{},o.current[n]=r,t&&(o.current.__date=new Date().toISOString()),w.U.setItem(e,JSON.stringify(o.current))}catch(e){x(e)}},[t,e]),clear:(0,u.useCallback)(()=>{try{w.U.removeItem(e),o.current=null}catch(e){x(e)}},[e])}}("vercel-site-face-popover",7776e6);(0,u.useEffect)(()=>{O&&"1"===O&&_(!0)},[O]),(0,u.useEffect)(()=>{I&&1===(R("dismissions")||0)&&_(!0)},[I,R]);let M=(0,u.useCallback)(()=>{if(t!==g.i.SalesLed)return;let e=R("dismissions")||0,n=(Date.now()-(R("lastShown")||0))/864e5;n>=2&&n<=60&&L(),(!(e>=1)||y)&&(a(!0),D("lastShown",Date.now()),f.zS.track(m.s.FACE_POPUP_SHOWN,{path:j,face:A.name}))},[j,A.name,t,L,R,D,y]),B=(0,u.useCallback)(()=>{f.zS.track(m.s.FACE_POPUP_CLICKED,{path:j,face:A.name}),a(!1)},[j,A.name]);return((0,u.useEffect)(()=>{if(!j)return;let e=E[j];if(!e)return;let t=setTimeout(()=>{M()},1e3*(e.delay||0));return()=>{clearTimeout(t)}},[j,M]),n)?(0,r.jsxs)(o.B,{className:C().popup,gap:4,children:[(0,r.jsxs)(s.P.div,{animate:{opacity:1,y:0},className:C().textContainer,initial:{opacity:0,y:5},transition:{delay:.2},children:[(0,r.jsx)(s.P.div,{className:(0,v.$)(C().textbox),children:(0,r.jsx)(S.Link,{className:C().requestLink,href:"/contact/sales/demo",onClick:B,children:(0,r.jsx)(P,{animate:{opacity:1},exit:{opacity:0},variant:"copy-14",children:(null===(e=E[j||""])||void 0===e?void 0:e.content)||"Would you like a personalized demo of Vercel?"})})}),(0,r.jsx)(l.Button,{"aria-label":"Close popup",className:C().close,onClick:()=>{D("dismissions",(R("dismissions")||0)+1),f.zS.track(m.s.FACE_POPUP_DISMISSED,{path:j,face:A.name}),a(!1)},shape:"circle",size:"tiny",svgOnly:!0,type:"secondary",children:(0,r.jsx)(d.F,{size:10})})]}),(0,r.jsx)(s.P.div,{animate:{opacity:1,y:0},className:C().avatarContainer,initial:{opacity:0,y:5},children:(0,r.jsx)(S.Link,{href:"/contact/sales/demo",onClick:B,children:(0,r.jsx)(i.Avatar,{className:C().avatar,size:64,title:A.name,url:A.image})})})]}):null}},2853:(e,t,n)=>{"use strict";n.d(t,{jL:()=>i,kl:()=>o});var r=n(84514);let i=e=>{let{redirect:t,next:n}=e,r=new URL("/login","https://vercel.com");return n&&r.searchParams.set("next",n),t("".concat(r.pathname).concat(r.search))};function o(e){if(!e||!(0,r.r)(e))return null;let t=Array.isArray(e)?e[0]:e;return t?decodeURIComponent(t):null}},43:(e,t,n)=>{"use strict";n.d(t,{_$:()=>l,xR:()=>s});var r=n(63176),i=n(1646);let o=()=>Object.prototype.hasOwnProperty.call(globalThis,"navigator")&&"function"==typeof globalThis.navigator.sendBeacon,a=async(e,t)=>{if(o()){let n=t?new Blob([JSON.stringify(t)],{type:"application/json"}):void 0;return Promise.resolve(navigator.sendBeacon(e,n))}return(0,i.ff)(e.toString(),{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:t}).then(()=>!0,()=>!1)},l=()=>a(r.o$9),s=()=>fetch(r.o$9,{method:"DELETE"})},60297:(e,t,n)=>{"use strict";n.d(t,{LogoutScreen:()=>O,W:()=>T});var r=n(9479),i=n(60210),o=n(25940),a=n(83242),l=n(12669),s=n(49901),c=n(72303),u=n(78233);function d(e){let{fill:t="currentColor",...n}=e;return(0,r.jsx)("svg",{"aria-label":"Vercel Logo",fill:t,viewBox:"0 0 75 65",...n,children:(0,r.jsx)("path",{d:"M37.59.25l36.95 64H.64l36.95-64z"})})}var v=n(2853),f=n(41712),m=n.n(f),h=n(48757),p=n(33877),g=n(23682),w=n(72260),y=n(4375),x=n(91157),b=n(1646),S=n(63176),_=n(84350),C=n(43);let E="loggedOut";async function k(e){let{source:t}=e;try{if(!(await (0,b.ff)("".concat(S.CwE,"/current"),{method:"DELETE",throwOnHTTPError:!0})).tokenId)throw Error("Unable to log out");w.zS.track(y.q.LOGOUT,{source:t})}catch(e){if(!(0,g.G)(e)||404!==e.status&&403!==e.status)return e}await P()}async function P(){_.U.setItem(E,"1"),_.U.removeItem(E),p.A.remove("team"),p.A.remove("isLoggedIn"),p.A.remove("userCache"),p.A.remove("teamsCache"),(0,x.vU)(),delete globalThis.__loggedIn,await Promise.allSettled([(0,h.Tk)(S.B5,null,!0),await (0,C.xR)()]),w.zS.reset()}window.addEventListener("storage",e=>{e.key===E&&"1"===e.newValue&&(0,v.jL)({next:"".concat(window.location.pathname).concat(window.location.search),redirect:e=>window.location.assign(e)})});let j=null,A=e=>function(t){return j?j(e)(t):L(e)(t)},T=()=>A((0,i.useRouter)());function O(){let[e,t]=(0,c.useState)(!1),n=(0,i.usePathname)();(0,c.useEffect)(()=>{j||(j=v)},[]),(0,c.useEffect)(()=>{(null==n?void 0:n.startsWith("/login"))&&e&&t(!1)},[n,e]);let v=e=>async n=>{let{next:r,source:i,redirectType:a}=n;t(!0),await k({source:i})?(t(!1),o.toasts.error("There was an error logging you out.")):I(e,r,a)};return(0,r.jsx)(u.Z,{children:e?(0,r.jsxs)(l.B,{className:m().logoutScreen,children:[(0,r.jsx)("header",{className:m().header,children:(0,r.jsx)(d,{color:"var(--geist-foreground)",height:22})}),(0,r.jsxs)(l.B,{align:"center",flex:1,gap:2,justify:"center",children:[(0,r.jsx)(a.y,{size:24}),(0,r.jsx)(s.E,{align:"center",as:"h1",variant:"heading-24",children:"Logging out"})]})]}):null})}function I(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"redirect-to-login-with-next-param-after-logout";switch(n){case"redirect-to-login-with-next-param-after-logout":e.push("/login".concat(t?"?next=".concat(t):""));break;case"redirect-to-next-after-logout":e.push(t||"/login")}}let L=e=>async t=>{let{next:n,source:r,redirectType:i}=t;await k({source:r})?o.toasts.error("There was an error logging you out."):I(e,n,i)}},8219:()=>{},27576:()=>{},97365:e=>{e.exports={avatar:"avatar_avatar__3ccqO",loading:"avatar_loading__a78DD"}},91399:e=>{e.exports={portal:"context-card_portal__7uIMS",contextCardTip:"context-card_contextCardTip__JXUxK",contextCardRoot:"context-card_contextCardRoot__jBE_M",contextCardRootContent:"context-card_contextCardRootContent__MNlHW",contextCardContent:"context-card_contextCardContent__0vsq8",contextCardContentVisibility:"context-card_contextCardContentVisibility__OmjsA",contextCardTrigger:"context-card_contextCardTrigger__Pejgm",contextCardRootVisibility:"context-card_contextCardRootVisibility__WD8Ja"}},28269:e=>{e.exports={intrinsic:"image_intrinsic__ulrJk",responsive:"image_responsive__KVHzd",darkMode:"image_darkMode__PGyg1",lightMode:"image_lightMode__SmqSs"}},19017:e=>{e.exports={popup:"face-popover_popup__aJwSG",textContainer:"face-popover_textContainer__Pe6BX",close:"face-popover_close__PKOTQ",textbox:"face-popover_textbox__kmjDy",requestLink:"face-popover_requestLink__mCvfI",avatarContainer:"face-popover_avatarContainer__gvqZF",avatar:"face-popover_avatar__XOMyf"}},41712:e=>{e.exports={logoutScreen:"with-redirect_logoutScreen__kYzM_",fadeIn:"with-redirect_fadeIn___QByS",header:"with-redirect_header__ecLgJ"}}},e=>{var t=t=>e(e.s=t);e.O(0,[41,6398,8260,6518,8912,348,8087,5428,2033,4414,5217,2931,3205,7648,870,7223,5866,3315,403,4636,1731,5940,2223,9816,79,2941,7358],()=>t(66528)),_N_E=e.O()}]); //# debugId=f99e352b-926f-5114-a3cb-c9dd2947ed22