(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{463061:function(e,a,n){"use strict";n.d(a,{_:function(){return t.ChevronDown}});var t=n(424703)},424703:function(e,a,n){"use strict";n.r(a),n.d(a,{ChevronDown:function(){return i}});var t=n(552322);let i=(0,n(164448).defineIcon)({className:"chevronDown",viewBox:"0 0 30 30",svg:(0,t.jsx)("polygon",{points:"15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 "})})},881153:function(e,a,n){"use strict";n.r(a),n.d(a,{NavCaret:function(){return i}});var t=n(552322);let i=(0,n(164448).defineIcon)({className:"navCaret",viewBox:"0 0 8 6",svg:(0,t.jsx)("path",{d:"m1 1 3 3 3-3",stroke:"currentColor",strokeWidth:"1.5",fill:"none"})})},669642:function(e,a,n){"use strict";n.r(a),n.d(a,{ShareFacebook:function(){return i}});var t=n(552322);let i=(0,n(164448).defineIcon)({className:"shareFacebook",viewBox:"0 0 18 18",svg:(0,t.jsx)("path",{d:"M17.999 8.999c0-4.97-4.029-8.999-8.999-8.999s-8.999 4.029-8.999 8.999c0 4.492 3.291 8.215 7.593 8.89v-6.289h-2.285v-2.601h2.285v-1.983c0-2.255 1.344-3.501 3.399-3.501 0.985 0 2.015 0.176 2.015 0.176v2.215h-1.135c-1.118 0-1.467 0.694-1.467 1.405v1.688h2.496l-0.399 2.601h-2.097v6.289c4.302-0.675 7.593-4.398 7.593-8.89z"})})},371185:function(e,a,n){"use strict";n.r(a),n.d(a,{ShareInstagram:function(){return i}});var t=n(552322);let i=(0,n(164448).defineIcon)({className:"shareInstagram",viewBox:"0 0 18 18",svg:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.621c2.405 0 2.689.011 3.635.053.879.039 1.354.186 1.67.309.418.162.721.359 1.034.671.316.316.51.615.675 1.034.123.316.271.795.309 1.67.042.949.053 1.234.053 3.635s-.011 2.689-.053 3.635c-.039.879-.186 1.354-.309 1.67a2.802 2.802 0 01-.671 1.034c-.316.316-.615.51-1.034.675-.316.123-.795.271-1.67.309-.949.042-1.234.053-3.635.053s-2.689-.011-3.635-.053c-.879-.039-1.354-.186-1.67-.309a2.802 2.802 0 01-1.034-.671 2.815 2.815 0 01-.675-1.034c-.123-.316-.271-.795-.309-1.67-.042-.949-.053-1.234-.053-3.635s.011-2.689.053-3.635c.039-.879.186-1.354.309-1.67.162-.418.359-.721.671-1.034.316-.316.615-.51 1.034-.675.316-.123.795-.271 1.67-.309.946-.042 1.23-.053 3.635-.053zM9 0C6.557 0 6.251.011 5.291.053 4.335.095 3.677.25 3.108.471a4.389 4.389 0 00-1.596 1.041A4.404 4.404 0 00.471 3.105C.25 3.678.095 4.332.053 5.288.011 6.251 0 6.557 0 9c0 2.443.011 2.749.053 3.709.042.956.197 1.614.418 2.183a4.389 4.389 0 001.041 1.596 4.392 4.392 0 001.593 1.037c.573.221 1.227.376 2.183.418.96.042 1.266.053 3.709.053s2.749-.011 3.709-.053c.956-.042 1.614-.197 2.183-.418a4.413 4.413 0 001.593-1.037c.5-.499.809-1.002 1.037-1.593.221-.573.376-1.227.418-2.183.042-.96.053-1.266.053-3.709s-.011-2.749-.053-3.709c-.042-.956-.197-1.614-.418-2.183a4.21 4.21 0 00-1.03-1.6A4.392 4.392 0 0014.896.474c-.573-.221-1.227-.376-2.183-.418C11.75.01 11.444 0 9 0zm0 4.377A4.625 4.625 0 004.377 9 4.625 4.625 0 009 13.623 4.625 4.625 0 0013.623 9 4.625 4.625 0 009 4.377zm0 7.622A3 3 0 119 6 3 3 0 019 12zm4.806-6.726a1.079 1.079 0 100-2.158 1.079 1.079 0 000 2.158z"})})},233401:function(e,a,n){"use strict";n.r(a),n.d(a,{ShareLinkedIn:function(){return i}});var t=n(552322);let i=(0,n(164448).defineIcon)({className:"shareLinkedIn",viewBox:"0 0 16 16",svg:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{d:"M0 0h16v16H0z"})})}),(0,t.jsx)("path",{d:"M14.81 0H1.18C.53 0 0 .52 0 1.15v13.69C0 15.48.53 16 1.18 16h13.63c.65 0 1.18-.52 1.18-1.15V1.15c0-.64-.53-1.15-1.18-1.15ZM4.75 13.63H2.38V5.99h2.37v7.64ZM3.56 4.96c-.76 0-1.38-.62-1.38-1.37s.62-1.37 1.38-1.37 1.37.62 1.37 1.37-.62 1.37-1.37 1.37Zm10.07 8.67h-2.37V9.92c0-.88-.02-2.02-1.23-2.02s-1.42.97-1.42 1.96v3.77H6.24V5.99h2.27v1.04h.03c.32-.6 1.09-1.23 2.24-1.23 2.4 0 2.85 1.58 2.85 3.64v4.19Z",style:{clipPath:"url(#a)"}})]})})},893765:function(e,a,n){"use strict";n.r(a),n.d(a,{ShareX:function(){return i}});var t=n(552322);let i=(0,n(164448).defineIcon)({className:"shareX",viewBox:"0 0 15 13",svg:(0,t.jsx)("path",{d:"M11.787.523h2.109L9.289 5.788l5.42 7.164h-4.244L7.142 8.607 3.34 12.952H1.23l4.927-5.631L.958.523H5.31l3.004 3.972L11.787.523Zm-.74 11.167h1.169L4.674 1.719H3.421l7.626 9.971Z"})})},637779:function(e,a,n){"use strict";n.r(a),n.d(a,{ShareYouTube:function(){return i}});var t=n(552322);let i=(0,n(164448).defineIcon)({className:"shareYouTube",viewBox:"0 0 18 18",svg:(0,t.jsx)("path",{d:"M9 2.070c-8.845 0-9 0.787-9 6.93s0.155 6.93 9 6.93 9-0.787 9-6.93-0.155-6.93-9-6.93zM11.884 9.301l-4.041 1.886c-0.354 0.164-0.644-0.020-0.644-0.41v-3.553c0-0.39 0.29-0.574 0.644-0.41l4.041 1.886c0.354 0.166 0.354 0.436 0 0.601z"})})},527318:function(e,a,n){"use strict";n.d(a,{i:function(){return s}});var t=n(552322),i=n(202784),o=n(524917);let s=(0,i.forwardRef)((e,a)=>{let{name:n,display:i}=e;return(0,t.jsx)("div",{ref:a,className:o.Qu,id:n,style:{display:i??"inline"}})});s.displayName="AnalyticsScrollPoint"},5939:function(e,a,n){"use strict";n.d(a,{$:function(){return en}});var t=n(552322),i=n(239097),o=n.n(i),s=n(202784),r=n(772769),l=n(183428),c=n(491414),d=n(527318),u=n(787923),m=n(688472),g=n(789903),p=n(433327),f=n(240926),h=n(738949),_=n(385033),v=n(127444),b=n(762375),j=n(83860),N=n(469301),x=n(961268),k=n(476549),M=n(707155),w=n(796516),S=n(881153),y=n(152706),L=n(685627),C=n(875362),I=n(500593);let A=(0,s.forwardRef)((e,a)=>{let{variant:n="tertiary",children:i,...o}=e;return(0,t.jsx)(y.z,{...o,variant:n,ref:a,children:(0,t.jsxs)("span",{className:I.button,children:[(0,t.jsx)("span",{children:(0,t.jsx)(L.LanguageIcon,{style:{width:16,height:16,fill:"var(--color-icon)"}})}),(0,t.jsx)("span",{children:i}),(0,t.jsx)(C.Z,{variant:"sans-150-regular",as:"span",children:(0,t.jsx)(S.NavCaret,{style:{width:8,fill:"var(--color-icon)"}})})]})})});function B(e){try{return new Intl.Locale(e)}catch{let[a]=e.split("-");return{language:a,baseName:e}}}function E(e){let a=B(e),n=(0,b.LL)().map(B);if(n.some(e=>e.baseName===a.baseName))return 4;if(n.some(e=>e.language===a.language))return 3;let t=(0,b.Sf)().map(B);return t.some(e=>e.baseName===a.baseName)?2:t.some(e=>e.language===a.language)?1:0}function D(){let e=(0,l.YB)(),a=(0,x.b)(),n=(0,m.useRouter)(),{isBrowser:i}=(0,j.F)(),[o,r]=(0,s.useState)([]),d=(0,M.j)()??"/",u=(0,s.useMemo)(()=>(0,g.t)(e),[e]),S=u[a]??u["en-US"];(0,s.useEffect)(()=>{let e=[...new Set([...p.uI,...!1===["staging","production"].includes((0,f.Ay)("production"))?p.is:[]])].sort((e,n)=>{var t,i;let o=(null===(t=u[e])||void 0===t?void 0:t.caption)??"",s=(null===(i=u[n])||void 0===i?void 0:i.caption)??"";return o.localeCompare(s,a)});r(i?e.sort((e,a)=>E(a)-E(e)):e)},[a,u,i]);let y=(0,N.Z)(),L=(0,N.Z)(),C=(0,s.useRef)(null),I=(0,s.useRef)(null),[B,D]=(0,k.z)(C.current,I.current);return(0,t.jsxs)("div",{className:w.languagePicker,children:[(0,t.jsx)(A,{id:y,"aria-haspopup":"menu","aria-controls":L,ref:C,onClick:()=>{(0,c.xU)({origin:"language_picker"})},children:S.label}),(0,t.jsx)(h.v,{id:L,"aria-labelledby":y,isOpen:B,placement:"bottom-end",className:w.languagePickerMenu,ref:I,children:o.filter(e=>e in u).map(i=>{let o=u[i],s=e.formatMessage({id:"languagePicker.beta",defaultMessage:"{language} (Beta)",description:"Beta label for languages that are still in development"},{language:o.label});return(0,t.jsx)(h.A,{href:d,locale:(0,b.Jb)(i)?p.ih[i]:i,onClick:e=>{if(e.preventDefault(),i===a){D(!1);return}(0,c.A0)({from_locale:a,locale:i,origin:"language_picker"}),(0,v.JD)({locale:i,callback:()=>{null==n||n.reload()}})},children:(0,t.jsx)(_.W,{label:o.label,description:i.startsWith("zh")?s:(0,f.Ay)(o.caption)})},i)})})]})}A.displayName="LanguagePickerButton";var T=n(938101),z=n(363037),F=n(193891),H=n(262782),P=n(23617),R=n(72779),Z=n.n(R),$=n(962093),O=n(641544),G=n(754438);function W(e){let{label:a,children:n,role:i="list",className:o,...s}=e,r=(0,x.b)(),l=(0,N.Z)();return(0,t.jsxs)("ul",{...s,role:i,className:Z()(G.list,o),"aria-labelledby":(0,O.r)(l,s["aria-labelledby"]),children:[(0,t.jsx)("li",{role:"none",id:l,children:(0,t.jsx)($.x,{fontWeight:(0,b.vO)(r)?"semibold":"bold",size:"nav",children:a})}),n]})}var Y=n(43614),V=n(582392),U=n(669642),q=n(371185),X=n(233401),Q=n(893765),J=n(637779),K=n(35725);function ee(e){let{role:a="list",className:n,...i}=e;return(0,t.jsxs)("ul",{...i,role:a,className:Z()(K.socialList,n),children:[(0,t.jsx)("li",{className:Z()(K.socialListItem,K.instagram),children:(0,t.jsx)(y.z,{variant:"simple",buttonSize:"s",href:r.$e.instagram,ariaLabel:"Instagram",children:(0,t.jsx)(q.ShareInstagram,{style:{fill:"currentColor",width:18,height:18}})})}),(0,t.jsx)("li",{className:Z()(K.socialListItem,K.twitter),children:(0,t.jsx)(y.z,{buttonSize:"s",variant:"simple",href:r.$e.twitter,"aria-label":"X",children:(0,t.jsx)(Q.ShareX,{style:{fill:"currentColor",width:20,height:16}})})}),(0,t.jsx)("li",{className:Z()(K.socialListItem,K.linkedIn),children:(0,t.jsx)(y.z,{buttonSize:"s",variant:"simple",href:r.$e.linkedIn,ariaLabel:"LinkedIn",children:(0,t.jsx)(X.ShareLinkedIn,{style:{fill:"currentColor",width:20,height:18}})})}),(0,t.jsx)("li",{className:Z()(K.socialListItem,K.facebook),children:(0,t.jsx)(y.z,{buttonSize:"s",variant:"simple",href:r.$e.facebook,ariaLabel:"Facebook",children:(0,t.jsx)(U.ShareFacebook,{style:{fill:"currentColor",width:18,height:18}})})}),(0,t.jsx)("li",{className:Z()(K.socialListItem,K.youtube),children:(0,t.jsx)(y.z,{buttonSize:"s",variant:"simple",href:r.$e.youTube,ariaLabel:"YouTube",children:(0,t.jsx)(J.ShareYouTube,{style:{fill:"currentColor",width:18,height:18}})})})]})}function ea(e){let a=e.target.closest("button, a");a&&c._g({label:function(e){let a=e.ownerDocument.createNodeIterator(e,NodeFilter.SHOW_TEXT),n=[],t=null;for(;t=a.nextNode();)n.push(t.textContent);return n.join(" ")}(a),href:a.href,name:"footer_nav_item"})}function en(){let e=(0,l.YB)(),a=(0,F.Fd)(e),n=(0,H.iv)(),i=(0,s.useCallback)(()=>{n.setShowConsentBanner(!0),n.setBannerVisibility("full"),n.setButtonAction("save-selection")},[n]);return(0,t.jsxs)("footer",{className:P.footerOuter,children:[(0,t.jsx)(d.i,{name:"footer"}),(0,t.jsxs)("nav",{className:P.footerInner,"aria-label":e.formatMessage({id:"footer.navigation",defaultMessage:"Main",description:"Accessible name for the main site navigation in the footer"}),children:[(0,t.jsxs)("div",{className:P.footerTop,children:[(0,t.jsx)("div",{children:(0,t.jsx)(o(),{prefetch:!1,className:P.logo,href:r._j.product,"aria-label":e.formatMessage({defaultMessage:"Notion – Home",description:"Accessible name for the Notion home link",id:"footer.home"}),children:(0,t.jsx)(z.R,{})})}),(0,t.jsxs)("div",{className:P.footerTopMain,children:[(0,t.jsx)(ee,{"aria-label":"Social media"}),(0,t.jsxs)("div",{className:P.addendum,children:[(0,t.jsx)(D,{}),(0,t.jsx)(T.L,{height:8}),(0,t.jsx)(V.a,{}),(0,t.jsx)("button",{type:"button",className:P.button,onClick:i,children:(0,t.jsx)(C.Z,{variant:"sans-100-regular",as:"span",color:"gray-600",children:a.items.cookieSettings})}),(0,t.jsx)(T.L,{height:8}),(0,t.jsx)(C.Z,{variant:"sans-100-regular",children:`\xa9 ${new Date().getFullYear()} Notion Labs, Inc.`})]})]})]}),(0,t.jsx)("div",{className:P.footerBottom,children:(0,t.jsxs)("div",{className:P.footerColumns,onClick:ea,children:[(0,t.jsxs)(W,{label:a.mainItems.company,children:[(0,t.jsx)(Y.o,{href:r._j.about,children:a.items.aboutUs}),(0,t.jsx)(Y.o,{href:r._j.careers,children:a.items.careers}),(0,t.jsx)(Y.o,{href:r._j.security,children:a.items.security}),(0,t.jsx)(Y.o,{href:r._j.statusPage,children:a.items.status}),(0,t.jsx)(Y.o,{href:r._j.termsAndPrivacy,children:a.items.termsAndPrivacy})]}),(0,t.jsxs)(W,{label:a.mainItems.download,children:[(0,t.jsx)(Y.o,{href:r._j.mobile,children:a.items.mobileAppPlatforms}),(0,t.jsx)(Y.o,{href:r._j.desktop,children:a.items.desktopAppPlatforms}),(0,t.jsx)(Y.o,{href:r._j.calendarDownload,children:a.mainItems.calendar}),(0,t.jsx)(Y.o,{href:r._j.webClipper,children:a.items.webClipper})]}),(0,t.jsxs)(W,{label:a.mainItems.resources,children:[(0,t.jsx)(Y.o,{href:r._j.help,children:a.items.helpCenter}),(0,t.jsx)(Y.o,{href:r._j.pricing,children:a.items.pricing}),(0,t.jsx)(Y.o,{href:r._j.blog,children:a.items.blog}),(0,t.jsx)(Y.o,{href:r._j.community,suppressHrefLocale:!0,children:a.items.community}),(0,t.jsx)(Y.o,{href:r._j.integrations,children:a.items.integrations}),(0,t.jsx)(Y.o,{href:r._j.templates,children:a.mainItems.templates}),(0,t.jsx)(Y.o,{href:r._j.affiliates,children:a.items.affiliates})]}),(0,t.jsxs)(W,{label:a.mainItems.notionFor,children:[(0,t.jsx)(Y.o,{href:r._j.enterprise,children:a.items.enterprise}),(0,t.jsx)(Y.o,{href:r._j.teams,children:a.items.smallBusiness}),(0,t.jsx)(Y.o,{href:r._j.personal,children:a.items.personal}),(0,t.jsx)(C.Z,{variant:"sans-150-bold",as:"li",color:"black",style:{marginTop:"auto"},children:(0,t.jsx)(u.u,{href:r._j.explore,arrowType:"right",underline:"hover",color:"inherit",eventData:{name:"footer_explore_more"},children:(0,t.jsx)(l._H,{defaultMessage:"Explore more",description:"Footer link to explore more Notion features",id:"footer.exploreMore"})})})]})]})})]})]})}},186405:function(e,a,n){"use strict";n.d(a,{q4:function(){return O}});var t=n(552322),i=n(72779),o=n.n(i),s=n(239097),r=n.n(s),l=n(202784),c=n(772769),d=n(183428),u=n(491414),m=n(797751),g=n(152706),p=n(978442),f=n(787923),h=n(273408),_=n(517839),v=n(131778),b=n(875362),j=n(74015),N=n(83860),x=n(348192),k=n(564753),M=n(567799),w=n(726391),S=n(165379),y=n(834202),L=n(463061);let C=(0,l.forwardRef)(function(e,a){let{id:n,trigger:i,isOpen:s,onOpenChange:r,children:c,className:d,dropdownClassName:m,enableHover:g=!0}=e,[p,f]=(0,l.useState)(!1),[h,_]=(0,l.useState)(!1),[v,b]=(0,l.useState)(!1),[j,N]=(0,l.useState)(!1),[x,k]=(0,l.useState)(!1),M=(0,l.useRef)(null),w=(0,l.useRef)(null),S=(0,l.useRef)(null);(0,l.useEffect)(()=>{if(M.current){var e;let a=(null===(e=M.current.parentElement)||void 0===e?void 0:e.getBoundingClientRect().left)??0;M.current.style.left=`${-a}px`}},[h]);let C=void 0!==s,I=C?s:p||g&&v;return(0,l.useEffect)(()=>(I?(_(!0),S.current&&cancelAnimationFrame(S.current),S.current=requestAnimationFrame(()=>{k(!0)})):k(!1),()=>{S.current&&cancelAnimationFrame(S.current)}),[I]),(0,l.useEffect)(()=>{let e=e=>{if(!I)return;let a=w.current&&e.target instanceof Node&&w.current.contains(e.target),n=M.current&&e.target instanceof Node&&M.current.contains(e.target);a||n||(N(!1),k(!1),C||f(!1),null==r||r(!1,!1))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[I,C,r]),(0,t.jsxs)("div",{ref:a,id:n,className:o()(y.dropdownContainer,d),onMouseEnter:()=>{g&&(b(!0),(0,u.c)({name:"global_navigation_dropdown",label:n}),C&&!s&&(null==r||r(!0,!1)))},onMouseLeave:()=>{b(!1),g&&!j&&(k(!1),C||f(!1),null==r||r(!1,!1))},children:[(0,t.jsxs)("button",{ref:w,onClick:e=>{e.preventDefault();let a=!I||!j;a||k(!1),C||f(a),N(a),null==r||r(a,a)},className:o()(y.link,y.dropdownTrigger,{[y.active]:I}),"aria-haspopup":"true","aria-expanded":I,children:[i,(0,t.jsx)("span",{className:o()(y.chevron,{[y.chevronOpen]:I}),children:(0,t.jsx)(L._,{})})]}),(h||I)&&(0,t.jsx)("div",{ref:M,className:o()(y.dropdown,m,{[y.open]:I&&x,[y.close]:!I}),onTransitionEnd:e=>{"opacity"!==e.propertyName&&"transform"!==e.propertyName||I||_(!1)},children:(0,t.jsx)("div",{children:c})})]})});var I=n(440150),A=n(262056),B=n(596465);function E(e,a){return{teams:[{id:"globalNavigation.teams.engAndProduct",href:"on"===a?c._j.engAndProduct:A.j.engineering,label:e.formatMessage({id:"globalNavigation.teams.engAndProduct",defaultMessage:"Eng & Product",description:"Navigation item for Engineering and Product teams"}),trackingLabel:"eng_and_product"},{id:"globalNavigation.teams.design",href:A.j.design,label:e.formatMessage({id:"globalNavigation.teams.design",defaultMessage:"Design",description:"Navigation item for Design teams"}),trackingLabel:"design"},{id:"globalNavigation.teams.marketing",href:(0,B.d)("marketing"),label:e.formatMessage({id:"globalNavigation.teams.marketing",defaultMessage:"Marketing",description:"Navigation item for Marketing teams"}),trackingLabel:"marketing"},{id:"globalNavigation.teams.it",href:(0,B.d)("ticketing"),label:e.formatMessage({id:"globalNavigation.teams.it",defaultMessage:"IT",description:"Navigation item for IT teams"}),trackingLabel:"it"}],teamSize:[{id:"globalNavigation.teamSize.startups",href:c._j.startups,label:e.formatMessage({id:"globalNavigation.teamSize.startups",defaultMessage:"Startups",description:"Navigation item for Startups"}),trackingLabel:"startups"},{id:"globalNavigation.teamSize.smbs",href:c._j.teams,label:e.formatMessage({id:"globalNavigation.teamSize.smbs",defaultMessage:"SMBs",description:"Navigation item for Small and Medium Businesses"}),trackingLabel:"smbs"},{id:"globalNavigation.teamSize.enterprise",href:c._j.enterprise,label:e.formatMessage({id:"globalNavigation.teamSize.enterprise",defaultMessage:"Enterprise",description:"Navigation item for Enterprise businesses"}),trackingLabel:"enterprise"},{id:"globalNavigation.teamSize.education",href:A.j.education,label:e.formatMessage({id:"globalNavigation.teamSize.education",defaultMessage:"Education",description:"Navigation item for Education sector"}),trackingLabel:"education"}],learn:[{id:"globalNavigation.learn.helpCenter",href:c._j.help,label:e.formatMessage({id:"globalNavigation.learn.helpCenter",defaultMessage:"Help center",description:"Navigation item for Help center"}),trackingLabel:"help_center"},{id:"globalNavigation.learn.customerStories",href:c._j.customers,label:e.formatMessage({id:"globalNavigation.learn.customerStories",defaultMessage:"Customer stories",description:"Navigation item for Customer stories"}),trackingLabel:"customer_stories"},{id:"globalNavigation.learn.blog",href:c._j.blog,label:e.formatMessage({id:"globalNavigation.learn.blog",defaultMessage:"Blog",description:"Navigation item for Blog"}),trackingLabel:"blog"},{id:"globalNavigation.learn.community",href:c._j.community,label:e.formatMessage({id:"globalNavigation.learn.community",defaultMessage:"Community",description:"Navigation item for Community"}),trackingLabel:"community"}],build:[{id:"globalNavigation.build.api",href:c._j.developerPortal,label:e.formatMessage({id:"globalNavigation.build.api",defaultMessage:"API",description:"Navigation item for API"}),trackingLabel:"api"},{id:"globalNavigation.build.templates",href:c._j.templates,label:e.formatMessage({id:"globalNavigation.build.templates",defaultMessage:"Templates",description:"Navigation item for Templates"}),trackingLabel:"templates"},{id:"globalNavigation.build.security",href:c._j.security,label:e.formatMessage({id:"globalNavigation.build.security",defaultMessage:"Security",description:"Navigation item for Security"}),trackingLabel:"security"},{id:"globalNavigation.build.consultants",href:c._j.consultingPartnerProgram,label:e.formatMessage({id:"globalNavigation.build.consultants",defaultMessage:"Consultants",description:"Navigation item for Consultants"}),trackingLabel:"consultants"}]}}function D(e){let{className:a}=e,n=(0,d.YB)(),i=E(n,(0,x.dL)("may_13_pricing_updates"));function s(e){return(0,t.jsx)(r(),{href:e.href,prefetch:!1,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsx)("div",{className:y.subnavItem,children:(0,t.jsx)(I.X,{level:3,variant:"sans-400-semibold",color:"gray-800",children:e.label})})},e.id)}function l(e){return(0,t.jsx)(r(),{href:e.href,prefetch:!1,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsx)("div",{className:y.exploreDropdownSubnavItemSmall,children:(0,t.jsx)(I.X,{level:3,variant:"sans-150-medium",color:"gray-800",children:e.label})})},e.id)}return(0,t.jsxs)("div",{className:o()(a,y.dropdownGridExtended),children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-regular",color:"gray-600",className:y.subtitleHeading,children:n.formatMessage({id:"globalNavigation.teams.title",defaultMessage:"Teams",description:"Title for the teams section in the navigation dropdown"})}),(0,t.jsx)("div",{className:o()(y.dropdownSection),children:(0,t.jsx)("div",{className:y.linksSection,children:i.teams.map(e=>s(e))})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-regular",color:"gray-600",className:y.subtitleHeading,children:n.formatMessage({id:"globalNavigation.teamSize.title",defaultMessage:"Team size",description:"Title for the team size section in the navigation dropdown"})}),(0,t.jsx)("div",{className:y.dropdownSection,children:(0,t.jsx)("div",{className:y.linksSection,children:i.teamSize.map(e=>s(e))})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-regular",color:"gray-600",className:y.subtitleHeadingSmall,children:n.formatMessage({id:"globalNavigation.learn.title",defaultMessage:"Learn",description:"Title for the learn section in the navigation dropdown"})}),(0,t.jsx)("div",{className:y.dropdownSection,children:(0,t.jsx)("div",{className:y.smallLinksSection,children:i.learn.map(e=>l(e))})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-regular",color:"gray-600",className:y.subtitleHeadingSmall,children:n.formatMessage({id:"globalNavigation.build.title",defaultMessage:"Build",description:"Title for the build section in the navigation dropdown"})}),(0,t.jsx)("div",{className:y.dropdownSection,children:(0,t.jsx)("div",{className:y.smallLinksSection,children:i.build.map(e=>l(e))})})]})]})}function T(e){let{className:a}=e,n=(0,x.dL)("may_13_pricing_updates"),i=(0,d.YB)(),s=E(i,n);function l(e){return(0,t.jsx)(r(),{href:e.href,prefetch:!1,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsx)("div",{children:(0,t.jsx)(I.X,{level:3,variant:"sans-300-semibold",color:"gray-800",children:e.label})})},e.id)}function c(e){return(0,t.jsx)(r(),{href:e.href,prefetch:!1,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsx)("div",{children:(0,t.jsx)(I.X,{level:3,variant:"sans-150-medium",color:"gray-800",children:e.label})})},e.id)}return(0,t.jsxs)("div",{className:o()(a,y.mobileDropdownContent),children:[(0,t.jsxs)("div",{className:y.mobileDropdownExploreSection,children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-medium",color:"gray-400",children:i.formatMessage({id:"globalNavigation.teams.title",defaultMessage:"Teams",description:"Title for the teams section in the navigation dropdown"})}),s.teams.map(e=>l(e))]}),(0,t.jsxs)("div",{className:y.mobileDropdownExploreSection,children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-medium",color:"gray-400",children:i.formatMessage({id:"globalNavigation.teamSize.title",defaultMessage:"Team size",description:"Title for the team size section in the navigation dropdown"})}),s.teamSize.map(e=>l(e))]}),(0,t.jsxs)("div",{className:y.mobileDropdownExploreSection,children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-medium",color:"gray-400",children:i.formatMessage({id:"globalNavigation.learn.title",defaultMessage:"Learn",description:"Title for the learn section in the navigation dropdown"})}),s.learn.map(e=>c(e))]}),(0,t.jsxs)("div",{className:y.mobileDropdownExploreSection,children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-medium",color:"gray-400",children:i.formatMessage({id:"globalNavigation.build.title",defaultMessage:"Build",description:"Title for the build section in the navigation dropdown"})}),s.build.map(e=>c(e))]})]})}var z=n(387430),F=n(509020);function H(e){return void 0!==e}function P(e,a){let n=[{id:"globalNavigation.features.enterpriseSearch",href:"on"===a?c._j.enterpriseSearch:c._j.aiConnectors,label:e.formatMessage({id:"globalNavigation.features.enterpriseSearch",defaultMessage:"Enterprise Search",description:"Navigation item for Enterprise Search feature"}),description:e.formatMessage({id:"globalNavigation.features.enterpriseSearch.description",defaultMessage:"Find answers instantly",description:"Short description for the Enterprise Search feature"}),trackingLabel:"enterprise_search",isNew:!0},"on"===a?{id:"globalNavigation.meetingNotes",href:c._j.aiMeetingNotes,label:e.formatMessage({id:"globalNavigation.meetingNotes",defaultMessage:"AI Meeting Notes",description:"Navigation item for AI Meeting Notes"}),description:e.formatMessage({id:"globalNavigation.meetingNotes.description",defaultMessage:"Perfectly written by AI",description:"Short description for AI Meeting Notes"}),trackingLabel:"meeting_notes",isNew:!0}:void 0,{id:"globalNavigation.forms",href:c._j.forms,label:e.formatMessage({id:"globalNavigation.forms",defaultMessage:"Forms",description:"Navigation item for Forms"}),description:e.formatMessage({id:"globalNavigation.forms.description",defaultMessage:"Responses and requests",description:"Short description for Forms"}),trackingLabel:"forms"},{id:"globalNavigation.sites",href:c._j.sites,label:e.formatMessage({id:"globalNavigation.sites",defaultMessage:"Sites",description:"Navigation item for Sites"}),description:e.formatMessage({id:"globalNavigation.sites.description",defaultMessage:"Publish anything, fast",description:"Short description for Sites"}),trackingLabel:"sites"}].filter(H);return{features:[{id:"globalNavigation.notionAI",href:c._j.ai,label:e.formatMessage({id:"globalNavigation.notionAI",defaultMessage:"Notion AI",description:"Navigation item for Notion AI"}),description:e.formatMessage({id:"globalNavigation.notionAI.description",defaultMessage:"Build, write, automate",description:"Short description for Notion AI"}),trackingLabel:"notion_ai"},{id:"globalNavigation.features.docs",href:c._j.docs,label:e.formatMessage({id:"globalNavigation.features.docs",defaultMessage:"Docs",description:"Navigation item for Docs feature"}),description:e.formatMessage({id:"globalNavigation.features.docs.description",defaultMessage:"Simple & powerful",description:"Short description for the Docs feature"}),trackingLabel:"docs"},{id:"globalNavigation.features.wikis",href:c._j.wikis,label:e.formatMessage({id:"globalNavigation.features.wikis",defaultMessage:"Wikis",description:"Navigation item for Wikis feature"}),description:e.formatMessage({id:"globalNavigation.features.wikis.description",defaultMessage:"Centralize your knowledge",description:"Short description for the Wikis feature"}),trackingLabel:"wikis"},{id:"globalNavigation.features.projects",href:c._j.projects,label:e.formatMessage({id:"globalNavigation.features.projects",defaultMessage:"Projects",description:"Navigation item for Projects feature"}),description:e.formatMessage({id:"globalNavigation.features.projects.description",defaultMessage:"Manage any project",description:"Short description for the Projects feature"}),trackingLabel:"projects"}],middle:n,getStarted:[{id:"globalNavigation.getStarted.browseMarketplace",href:c._j.marketplace,label:e.formatMessage({id:"globalNavigation.getStarted.browseMarketplace",defaultMessage:"Browse marketplace",description:"Navigation item for browsing the marketplace"}),description:e.formatMessage({id:"globalNavigation.getStarted.browseMarketplace.description",defaultMessage:"Templates for everything",description:"Short description for marketplace"}),trackingLabel:"browse_marketplace"},{id:"globalNavigation.getStarted.viewIntegrations",href:c._j.integrations,label:e.formatMessage({id:"globalNavigation.getStarted.viewIntegrations",defaultMessage:"View integrations",description:"Navigation item for viewing integrations"}),description:e.formatMessage({id:"globalNavigation.getStarted.viewIntegrations.description",defaultMessage:"Connect your apps with Notion",description:"Short description for integrations"}),trackingLabel:"view_integrations"},{id:"globalNavigation.getStarted.downloadWebClipper",href:c._j.webClipper,label:e.formatMessage({id:"globalNavigation.getStarted.downloadWebClipper",defaultMessage:"Download web clipper",description:"Navigation item for downloading web clipper"}),description:e.formatMessage({id:"globalNavigation.getStarted.downloadWebClipper.description",defaultMessage:"Save from the web into Notion",description:"Short description for web clipper"}),trackingLabel:"download_web_clipper"}]}}function R(e){let{className:a}=e,n=(0,x.dL)("may_13_pricing_updates"),i=(0,d.YB)(),s=(0,N.F)(),l=P(i,n);function p(e){return(0,t.jsx)(r(),{href:e.href,prefetch:!1,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsxs)("div",{className:y.subnavItem,children:[(0,t.jsxs)("div",{className:o()(y.notionDropdownHeading,e.isNew?y.badgeContainer:void 0),children:[(0,t.jsx)(I.X,{level:3,variant:"sans-400-semibold",color:"gray-800",children:e.label}),e.isNew&&(0,t.jsx)(m.Ct,{className:y.badge,variant:"tertiary-rounded",messageType:"new"})]}),(0,t.jsx)(b.Z,{variant:"sans-50-regular",color:"gray-500",children:e.description})]})},e.id)}return(0,t.jsxs)("div",{className:o()(a,y.dropdownGrid),children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-regular",color:"gray-600",className:y.subtitleHeading,children:i.formatMessage({id:"globalNavigation.features.title",defaultMessage:"Features",description:"Title for the features section in the navigation dropdown"})}),(0,t.jsx)("div",{className:y.dropdownSection,children:l.features.map(e=>p(e))})]}),(0,t.jsx)("div",{className:y.middleColumn,children:l.middle.map(p)}),(0,t.jsxs)("div",{children:[(0,t.jsx)(I.X,{level:2,variant:"sans-100-regular",color:"gray-600",className:o()(y.getStartedDropdownSection,y.subtitleHeading),children:i.formatMessage({id:"globalNavigation.getStarted.title",defaultMessage:"Get started",description:"Title for the get started section in the navigation dropdown"})}),(0,t.jsx)("div",{className:y.dropdownSection,children:l.getStarted.slice(0,3).map(function(e){return(0,t.jsx)(r(),{href:e.href,prefetch:!1,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsxs)("div",{className:y.subnavItem,children:[(0,t.jsx)(I.X,{level:3,variant:"sans-150-medium",color:"gray-800",className:y.notionDropdownSmallHeading,children:e.label}),(0,t.jsx)(b.Z,{variant:"sans-50-regular",color:"gray-500",children:e.description})]},e.id)},e.id)})})]}),(0,t.jsxs)("div",{className:y.downloadBox,children:[(0,t.jsxs)("div",{className:y.downloadBoxContent,children:[(0,t.jsx)("div",{className:y.downloadBoxText,children:(0,t.jsx)(b.Z,{variant:"sans-150-medium",color:"gray-900",children:i.formatMessage({id:"globalNavigation.downloadDesktopApp.title",defaultMessage:"Try the Notion desktop app for a faster experience",description:"Title for the download desktop app section"})})}),(0,t.jsx)(S.f6,{value:"blue",children:(0,t.jsx)(g.z,{variant:"primary",href:c._j.download,onClick:()=>(0,u.t)(s,{name:"global_navigation_dropdown_download",href:c._j.download,label:"download_app"}),className:y.downloadButton,children:i.formatMessage({id:"globalNavigation.downloadApp.button",defaultMessage:"Download app",description:"Button text for downloading the app"})})})]}),(0,t.jsx)("div",{className:y.downloadBoxImageContainer,children:(0,t.jsx)(F.E,{className:y.downloadBoxImage,src:z.Z.meta.startupsBackgroundPng,alt:i.formatMessage({id:"globalNavigation.downloadBox.image.alt",defaultMessage:"Notion app illustration of figures around a table",description:"Alt text for the Notion app illustration in the download box"}),width:180,height:130})})]})]})}function Z(e){let{className:a}=e,n=P((0,d.YB)(),(0,x.dL)("may_13_pricing_updates"));function i(e){return(0,t.jsx)(r(),{href:e.href,prefetch:!1,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsxs)("div",{children:[(0,t.jsxs)(I.X,{level:3,variant:"sans-300-semibold",color:"gray-800",className:o()(y.notionDropdownHeading,e.isNew?y.badgeContainer:void 0),children:[e.label,e.isNew&&(0,t.jsx)(m.Ct,{className:y.badge,variant:"tertiary-rounded",messageType:"new"})]}),(0,t.jsx)(b.Z,{variant:"sans-50-regular",color:"gray-500",children:e.description})]})},e.id)}return(0,t.jsxs)("div",{className:o()(a,y.mobileDropdownContent),children:[(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:y.mobileDropdownSection,children:[n.features.map(i),n.middle.map(i)]})}),(0,t.jsx)("div",{className:y.horizontalDivider}),(0,t.jsx)("div",{className:y.mobileDropdownSection,children:n.getStarted.slice(0,2).map(function(e){return(0,t.jsx)(r(),{prefetch:!1,href:e.href,onClick:()=>(0,u._g)({name:"global_navigation_dropdown",label:e.trackingLabel,href:e.href}),children:(0,t.jsxs)("div",{children:[(0,t.jsx)(I.X,{level:3,variant:"sans-150-medium",color:"gray-800",className:o()(y.notionDropdownSmallHeading,e.isNew?y.badgeContainer:void 0),children:e.label}),(0,t.jsx)(b.Z,{color:"gray-500",variant:"sans-50-regular",children:e.description})]},e.id)},e.id)})})]})}function $(e){let{mobileMenuOpen:a,closeMobileMenu:n,headerCTA:i}=e,s=(0,N.F)(),p=(0,d.YB)(),[f,h]=(0,l.useState)(void 0),_=(0,l.useContext)(S.kV),v=(0,l.useRef)(null),[x,k]=(0,l.useState)(a),[M,w]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{a?(k(!0),requestAnimationFrame(()=>{w(!0)})):w(!1)},[a]),x||a)?(0,t.jsx)("div",{className:o()(y.mobileMenu,{[y.open]:M,[y.close]:!a&&x}),onTransitionEnd:e=>{a||k(!1)},children:(0,t.jsxs)("div",{ref:v,className:y.mobileMenuContent,children:[(0,t.jsxs)("div",{className:y.mobileMenuLinks,children:[(0,t.jsxs)("div",{className:y.mobileMenuSection,children:[(0,t.jsx)("button",{className:o()(y.mobileMenuLink,{[y.inactiveLink]:void 0!==f&&"notion"!==f}),onClick:()=>h("notion"===f?void 0:"notion"),children:(0,t.jsxs)("div",{className:y.mobileMenuLinkContent,children:[(0,t.jsx)(b.Z,{variant:"sans-400-semibold",children:p.formatMessage({id:"global.notion",defaultMessage:"Notion",description:"Name of the Notion product"})}),(0,t.jsx)("span",{className:o()(y.chevron,{[y.chevronOpen]:"notion"===f}),children:(0,t.jsx)(L._,{})})]})}),"notion"===f&&(0,t.jsx)("div",{className:y.mobileSubmenu,children:(0,t.jsx)(Z,{})})]}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.mail,className:o()(y.mobileMenuLink,{[y.inactiveLink]:void 0!==f}),onClick:()=>{n(),(0,u._g)({name:"mobile_topbar_nav_item",label:"Mail",href:c._j.mail})},children:(0,t.jsxs)("div",{className:y.mobileMenuLinkContent,children:[(0,t.jsx)(b.Z,{variant:"sans-400-semibold",children:p.formatMessage({id:"global.mail",defaultMessage:"Mail",description:"Name of the Notion Mail product"})}),(0,t.jsx)(m.Ct,{variant:void 0!==f?"muted":"primary-rounded",messageType:"new",className:y.badge})]})}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.calendar,className:o()(y.mobileMenuLink,{[y.inactiveLink]:void 0!==f}),onClick:()=>{n(),(0,u._g)({name:"mobile_topbar_nav_item",label:"Calendar",href:c._j.calendar})},children:(0,t.jsx)(b.Z,{variant:"sans-400-semibold",children:p.formatMessage({defaultMessage:"Calendar",id:"global.calendar",description:"Name of the Notion Calendar product"})})}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.ai,className:o()(y.mobileMenuLink,{[y.inactiveLink]:void 0!==f}),onClick:()=>{n(),(0,u._g)({name:"mobile_topbar_nav_item",label:"AI",href:c._j.ai})},children:(0,t.jsx)(b.Z,{variant:"sans-400-semibold",children:p.formatMessage({defaultMessage:"AI",description:"Name of the Notion AI (Artificial Intelligence) product",id:"global.ai"})})}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.enterprise,className:o()(y.mobileMenuLink,{[y.inactiveLink]:void 0!==f}),onClick:()=>{n(),(0,u._g)({name:"mobile_topbar_nav_item",label:"Enterprise",href:c._j.enterprise})},children:(0,t.jsx)(b.Z,{variant:"sans-400-semibold",children:p.formatMessage({defaultMessage:"Enterprise",description:"Name of the Notion Enterprise product",id:"global.enterprise"})})}),(0,t.jsxs)("div",{className:y.mobileMenuSection,children:[(0,t.jsx)("button",{className:o()(y.mobileMenuLink,{[y.inactiveLink]:void 0!==f&&"more"!==f}),onClick:()=>h("more"===f?void 0:"more"),children:(0,t.jsxs)("div",{className:y.mobileMenuLinkContent,children:[(0,t.jsx)(b.Z,{variant:"sans-400-semibold",children:p.formatMessage({id:"global.more",description:"CTA text prompting users to explore more links about Notion",defaultMessage:"More"})}),(0,t.jsx)("span",{className:o()(y.chevron,{[y.chevronOpen]:"more"===f}),children:(0,t.jsx)(L._,{})})]})}),"more"===f&&(0,t.jsx)("div",{className:y.mobileSubmenu,children:(0,t.jsx)(T,{})})]})]}),(0,t.jsxs)("div",{className:y.mobileMenuActions,children:[(0,t.jsx)(S.f6,{value:"blue",children:(0,t.jsx)(g.z,{variant:"primary",href:c._j.download,className:y.mobileActionButton,onClick:()=>{n(),(0,u.t)(s,{name:"mobile_nav_cta",label:"Download app",href:"#"})},children:p.formatMessage({id:"global.downloadApp",defaultMessage:"Download app",description:"CTA text prompting users to download the Notion app"})})}),"tryMailFree"!==i&&(0,t.jsx)(g.z,{variant:"secondary",href:(0,j.G1)(c._j.login,_),suppressHrefLocale:!0,prefetch:!1,className:y.mobileActionButton,onClick:()=>{n(),(0,u.t)(s,{name:"mobile_nav_cta",label:"Log in",href:c._j.login})},children:p.formatMessage({id:"global.login",description:"CTA text prompting users to log in to Notion",defaultMessage:"Log in"})}),"tryMailFree"===i&&(0,t.jsx)(g.z,{variant:"secondary",href:(0,j.G1)(c._j.mailHome,_),suppressHrefLocale:!0,prefetch:!1,className:y.mobileActionButton,onClick:()=>{n(),(0,u.t)(s,{name:"desktop_nav_mail_cta",label:"Log in",href:c._j.mailHome})},children:p.formatMessage({id:"global.login",description:"CTA text prompting users to log in to Notion",defaultMessage:"Log in"})})]})]})}):null}function O(e){let{headerCTA:a="tryFree",notification:n=null,hideGoogleOneTap:i=!1}=e,s=(0,l.useContext)(S.kV),L=(0,N.F)(),I=(0,d.YB)(),A=(0,S.Fg)(),{closeMobileMenu:B,mobileMenuOpen:E,mobileTriggerRef:T,onMobileTriggerClick:z}=(0,k.O)(),F=(0,x.dL)("acquisition_marketing_nav_centered"),{navStrings:H}=(0,M.Q)(),[P,Z]=(0,l.useState)(!1),O=(0,l.useCallback)(e=>{if(e.currentTarget&&e.currentTarget instanceof Document){let{documentElement:a}=e.currentTarget;Z(!!a&&a.scrollTop>60)}},[]);(0,w.k)("undefined"!=typeof document?document:null,O);let[G,W]=(0,l.useState)(!1),[Y,V]=(0,l.useState)(!1),[U,q]=(0,l.useState)(null),X=G||Y,Q=function(e,a){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];"notion"===e?W(a):"explore"===e&&V(a),a&&n?q(e):a||U!==e||q(null)};return(0,t.jsxs)(t.Fragment,{children:[n?(0,t.jsx)("div",{className:"notification",children:(0,t.jsx)(_.Z,{notification:n})}):null,(0,t.jsx)("div",{className:o()({[y.mobileMenuOpen]:E,[y.stickyWrapper]:!0,[y.isScrolled]:P}),children:(0,t.jsxs)(S.f6,{value:A.name,children:[(0,t.jsx)("nav",{className:o()(y.globalNavigation,{[y.isScrolled]:P,[y.marketingNavCentered]:"v1"===F}),"aria-label":I.formatMessage({id:"header.navigation",defaultMessage:"Main",description:"Accessible name for the main site navigation in the header"}),children:(0,t.jsxs)("div",{className:y.container,children:[(0,t.jsx)(r(),{prefetch:!1,href:c._j.product,className:o()(y.logo,{[y.logoExtended]:"v1"===F}),onClick:()=>{(0,u._g)({name:"desktop_topbar_nav_item",label:"Notion Logo",href:c._j.product})},children:(0,t.jsx)(v.F,{})}),(0,t.jsxs)("div",{className:o()(y.links),children:[(0,t.jsx)(C,{id:"notion",trigger:(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({id:"global.notion",defaultMessage:"Notion",description:"Name of the Notion product"})}),children:(0,t.jsx)(R,{}),isOpen:G,onOpenChange:(e,a)=>Q("notion",e,a),enableHover:null===U}),(0,t.jsxs)(r(),{prefetch:!1,href:c._j.mail,className:y.link,onClick:()=>{(0,u._g)({name:"desktop_topbar_nav_item",label:"Mail",href:c._j.mail})},onMouseEnter:()=>{(0,u.c)({name:"global_navigation_link",label:"Mail",href:c._j.mail})},children:[(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({id:"global.mail",defaultMessage:"Mail",description:"Name of the Notion Mail product"})}),(0,t.jsx)(m.Ct,{variant:X?"muted":"primary-rounded",messageType:"new",className:y.badge})]}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.calendar,className:y.link,onClick:()=>{(0,u._g)({name:"desktop_topbar_nav_item",label:"Calendar",href:c._j.calendar})},onMouseEnter:()=>{(0,u.c)({name:"global_navigation_link",label:"Calendar",href:c._j.calendar})},children:(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({defaultMessage:"Calendar",id:"global.calendar",description:"Name of the Notion Calendar product"})})}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.ai,className:y.link,onClick:()=>{(0,u._g)({name:"desktop_topbar_nav_item",label:"AI",href:c._j.ai})},onMouseEnter:()=>{(0,u.c)({name:"global_navigation_link",label:"AI",href:c._j.ai})},children:(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({defaultMessage:"AI",description:"Name of the Notion AI (Artificial Intelligence) product",id:"global.ai"})})}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.enterprise,className:y.link,onClick:()=>{(0,u._g)({name:"desktop_topbar_nav_item",label:"Enterprise",href:c._j.enterprise})},onMouseEnter:()=>{(0,u.c)({name:"global_navigation_link",label:"Enterprise",href:c._j.enterprise})},children:(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({defaultMessage:"Enterprise",description:"Name of the Notion Enterprise product",id:"global.enterprise"})})}),(0,t.jsx)(r(),{prefetch:!1,href:c._j.pricing,className:y.link,onClick:()=>{(0,u._g)({name:"desktop_topbar_nav_item",label:"Pricing",href:c._j.pricing})},onMouseEnter:()=>{(0,u.c)({name:"global_navigation_link",label:"Pricing",href:c._j.pricing})},children:(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({defaultMessage:"Pricing",description:"Notion's pricing page",id:"global.pricing"})})}),(0,t.jsx)(C,{id:"explore",trigger:(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({id:"global.explore",description:"CTA text prompting users to explore more links about Notion",defaultMessage:"Explore"})}),children:(0,t.jsx)(D,{}),isOpen:Y,onOpenChange:(e,a)=>Q("explore",e,a),enableHover:null===U}),"v1"===F?(0,t.jsx)(r(),{prefetch:!1,href:c._j.contactSales,className:y.link,onClick:()=>{(0,u.t)(L,{name:"desktop_nav_cta",label:"Request a demo",href:c._j.contactSales})},children:(0,t.jsx)(b.Z,{variant:"sans-200-semibold",children:I.formatMessage({id:"global.requestDemo",description:"CTA text prompting users to contact Notion's sales team",defaultMessage:"Request a demo"})})}):null]}),(0,t.jsxs)("div",{className:y.actions,children:[!i&&(0,t.jsx)(p.P,{containerStyle:{top:62,right:18}}),(0,t.jsxs)("span",{className:y.secondaryActions,children:["v1"!==F?(0,t.jsx)(f.u,{href:c._j.contactSales,className:y.link,onClick:()=>{(0,u.t)(L,{name:"desktop_nav_cta",label:"Request a demo",href:c._j.contactSales})},children:(0,t.jsx)(b.Z,{variant:"sans-150-semibold",children:I.formatMessage({id:"global.requestDemo",description:"CTA text prompting users to contact Notion's sales team",defaultMessage:"Request a demo"})})}):null,"v1"!==F?(0,t.jsx)("div",{className:y.divider}):void 0,(0,t.jsx)(f.u,{href:(0,j.G1)(c._j.login,s),suppressHrefLocale:!0,prefetch:!1,className:y.link,onClick:()=>{(0,u.t)(L,{name:"desktop_nav_cta",label:"Log in",href:c._j.login})},children:(0,t.jsx)(b.Z,{variant:"sans-150-medium",children:I.formatMessage({id:"global.login",description:"CTA text prompting users to log in to Notion",defaultMessage:"Log in"})})})]}),(0,t.jsxs)("span",{className:y.primaryCta,children:["tryFree"===a?(0,t.jsx)(g.z,{variant:"primary",href:(0,j.G1)(c._j.signup,s),suppressHrefLocale:!0,onClick:()=>{(0,u.t)(L,{name:"desktop_nav_cta",label:"Get Notion free",href:c._j.signup})},children:(0,t.jsx)(b.Z,{variant:"sans-150-medium",className:y.noWrap,children:I.formatMessage({id:"global.signup",description:"CTA text prompting users to sign up for Notion",defaultMessage:"Get Notion free"})})}):null,"tryMailFree"===a?(0,t.jsx)(g.z,{variant:"primary",href:(0,j.G1)(c._j.mailHome,s),suppressHrefLocale:!0,onClick:()=>{(0,u.t)(L,{name:"desktop_nav_mail_cta",label:H.buttons.getMailFree,href:c._j.mailHome})},children:(0,t.jsx)(b.Z,{variant:"sans-150-medium",className:y.noWrap,children:H.buttons.getMailFree})}):null,"tryCalendarFree"===a?(0,t.jsx)(g.z,{variant:"primary",href:(0,j.G1)(c._j.calendarSignup,s),suppressHrefLocale:!0,onClick:()=>{(0,u.t)(L,{name:"desktop_nav_calendar_cta",label:H.buttons.getCalendarFree,href:c._j.calendarSignup})},children:(0,t.jsx)(b.Z,{variant:"sans-150-medium",className:y.noWrap,children:H.buttons.getCalendarFree})}):null,"contactSales"===a?(0,t.jsx)(g.z,{variant:"primary",href:(0,j.G1)(c._j.contactSales,s),suppressHrefLocale:!0,onClick:()=>{(0,u.t)(L,{name:"desktop_nav_contact_sales",label:H.buttons.contactSales,href:c._j.contactSales})},children:(0,t.jsx)(b.Z,{variant:"sans-150-medium",className:y.noWrap,children:H.buttons.contactSales})}):null]}),(0,t.jsx)("div",{className:y.mobileActions,children:(0,t.jsx)(h.W,{menuOpen:E,onClick:z,ref:T})})]})]})}),(0,t.jsx)($,{mobileMenuOpen:E,closeMobileMenu:B,headerCTA:a})]})})]})}},978442:function(e,a,n){"use strict";n.d(a,{P:function(){return b}});var t=n(552322),i=n(345847),o=n.n(i),s=n(202784),r=n(512726),l=n(457223),c=n(907786);function d(e){try{var a;let n=null===(a=window)||void 0===a?void 0:a.google;n?e(n):c.cM({level:"warning",from:"googleOneTapLogin",type:"googleOneTapLibraryNotFound",error:{message:"Please make sure you have the google onetap library installed"}})}catch(e){c.cM({level:"error",from:"googleOneTapLogin",type:"googleOneTapLibraryLoadError",error:(0,l.Ui)(e)})}}var u=function(e){let{onCancel:a,onSuccess:n,googleAccountConfigs:i,containerStyle:o}=e;if((0,s.useEffect)(()=>(d(e=>{e.accounts.id.initialize({...i,prompt_parent_id:"g_id_onload",itp_support:!0}),e.accounts.id.prompt(e=>{e.isSkippedMoment()&&["user_cancel","tap_outside"].includes(e.getSkippedReason())?a():e.isDismissedMoment()&&("credential_returned"===e.getDismissedReason()?n():a())})}),()=>d(e=>{e.accounts.id.cancel()})),[]),!o)return null;{let a={position:"absolute",...e.containerStyle,zIndex:100};return(0,t.jsx)("div",{id:"g_id_onload","data-prompt_parent_id":"g_id_onload","data-cancel_on_tap_outside":"false",style:a})}},m=n(30297),g=n(772769),p=n(486157),f=n(491414),h=n(967041),_=n(127444),v=n(83860);function b(){let{containerStyle:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[a,n]=(0,s.useState)(!1),[{value:i}]=(0,m.r5)(async()=>{let e=await (0,_.hh)();return(0,p.F9)(e)},[]),l=i?`&${r.J6}=${i}`:"",{isMobile:c=!0}=(0,v.F)();return c||h.vc.isLocalhost&&"local"===h.vc.env&&("undefined"!=typeof document?Number(new URL(document.baseURI).port):void 0)!==3e3?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o(),{src:"https://accounts.google.com/gsi/client",strategy:"lazyOnload",onLoad:()=>{(0,_.jl)().then(e=>{n(!e)})}}),a?(0,t.jsx)(u,{onCancel:()=>{f.TR({actionType:"close"})},onSuccess:()=>{f.TR({actionType:"success"})},googleAccountConfigs:{client_id:h.vc.google.clientId,cancel_on_tap_outside:!1,context:"use",callback:e=>{f.TR({actionType:"click"}),document.location.pathname.includes("lp/business")||document.location.pathname.includes("lp/pm")?window.location.href=`${h.vc.domainBaseUrl}${g.VP.googleOneTapRedirect}?code=${e.credential}&frontPathName=${document.location?document.location.pathname:""}&trialName=perfmark${l}`:window.location.href=`${h.vc.domainBaseUrl}${g.VP.googleOneTapRedirect}?code=${e.credential}&frontPathName=${document.location?document.location.pathname:""}${l}`}},containerStyle:!c&&{top:42,right:-7,transform:"scale(0.9)",transformOrigin:"top right",...e}}):null]})}},527964:function(e,a,n){"use strict";n.d(a,{h:function(){return er}});var t=n(552322),i=n(72779),o=n.n(i),s=n(239097),r=n.n(s),l=n(202784),c=n(772769),d=n(183428),u=n(491414),m=n(152706),g=n(741463),p=n(96212),f=n(240926),h=n(387430),_=n(797751),v=n(978442),b=n(899841),j=n(787923),N=n(764290),x=n(875362),k=n(762375),M=n(193891),w=n(74015),S=n(83860),y=n(961268),L=n(165379),C=n(345495);function I(e){let{navStrings:a,subNavMenus:n}=e,i=(0,l.useMemo)(()=>(function(e){let{navStrings:a}=e;return a?[{label:a.mainItems.product,Component:D},{label:a.mainItems.teams,Component:T},{label:a.mainItems.individuals,Component:z},{label:a.mainItems.download,Component:F},{label:a.mainItems.pricing,href:c._j.pricing,onClick:()=>{u._g({name:"desktop_topbar_parent_nav_item",label:a.mainItems.pricing,href:c._j.pricing})}}]:[]})({navStrings:a}),[a]);return(0,t.jsx)("div",{children:(0,t.jsx)("ul",{className:C.navList,"aria-label":"submenu",children:i.map((e,i)=>{let{Component:o,...s}=e,r=o?(0,t.jsx)(o,{navStrings:a,subNavMenus:n}):null;return(0,t.jsx)(B,{...s,menu:r},i)})})})}function A(e){let{hasPageNav:a,navStrings:n,headerCTA:i="tryFree",hideRequestDemoCTA:s,hideLoginCTA:r,hideGoogleOneTap:d,customCTA:g}=e,p=(0,y.b)(),f=(0,S.F)(),h=(0,l.useContext)(L.kV);return(0,t.jsxs)("div",{className:o()(C.navRight,{[C.nonEnglish]:!(0,k.vO)(p)}),children:[!s&&(0,t.jsxs)(l.Fragment,{children:[(0,t.jsx)("ul",{className:o()(C.navList,C.navListSales),children:(0,t.jsx)(B,{label:n.mainItems.requestADemo,href:c._j.contactSales,onClick:()=>{u._g({name:"desktop_topbar_parent_nav_item",label:n.mainItems.requestADemo,href:c._j.contactSales})}})}),(0,t.jsx)("div",{className:C.divider})]}),!d&&(0,t.jsx)(v.P,{}),(0,t.jsxs)("ul",{className:C.navList,"aria-label":"submenu",children:[!r&&"tryMailFree"!==i&&(0,t.jsx)(B,{label:n.buttons.logIn,href:(0,w.G1)(c._j.login,h),suppressHrefLocale:!0,onClick:()=>{u._g({name:"desktop_topbar_parent_nav_item",label:n.buttons.logIn,href:c._j.login})}}),"tryMailFree"!==i||r?null:(0,t.jsx)(B,{label:n.buttons.logIn,href:(0,w.G1)(c._j.mailHome,h),suppressHrefLocale:!0,onClick:()=>{u.t(f,{name:"desktop_nav_mail_cta",label:n.buttons.logIn,href:c._j.mailHome})}}),(0,t.jsxs)("li",{className:C.ctaItem,children:["tryFree"===i?(0,t.jsx)(m.z,{href:(0,w.G1)(c._j.signup,h),suppressHrefLocale:!0,variant:a?"tertiary":"primary",buttonSize:"s",onClick:()=>{u.t(f,{name:"desktop_nav_sign_up",label:n.buttons.getNotionFree,href:c._j.signup})},children:n.buttons.getNotionFree}):null,"contactSales"===i?(0,t.jsx)(m.z,{href:c._j.contactSales,variant:a?"tertiary":"primary",buttonSize:"s",onClick:()=>{u.t(f,{name:"desktop_nav_contact_sales",label:n.buttons.contactSales,href:c._j.contactSales})},children:n.buttons.contactSales}):null,"tryMailFree"===i?(0,t.jsx)(m.z,{href:(0,w.G1)(c._j.mailHome,h),suppressHrefLocale:!0,variant:a?"tertiary":"primary",buttonSize:"s",onClick:()=>{u.t(f,{name:"desktop_nav_mail_cta",label:n.buttons.getMailFree,href:c._j.mailHome})},children:n.buttons.getMailFree}):null,"tryCalendarFree"===i?(0,t.jsx)(m.z,{href:(0,w.G1)(c._j.calendarSignup,h),suppressHrefLocale:!0,variant:a?"tertiary":"primary",buttonSize:"s",onClick:()=>{u.t(f,{name:"desktop_nav_calendar_cta",label:n.buttons.getCalendarFree,href:c._j.calendarSignup})},children:n.buttons.getCalendarFree}):null,"custom"===i&&g?(0,t.jsx)(m.z,{href:(0,w.G1)(g.href,h),suppressHrefLocale:!0,variant:a?"tertiary":"primary",buttonSize:"s",onClick:()=>{u.t(f,{name:"desktop_nav_cta",label:g.text,href:g.href})},children:g.text}):null]})]})]})}function B(e){let{label:a,menu:n,lockOpen:i,href:s,onClick:r,suppressHrefLocale:l}=e,c=(0,g.Fg)();return(0,t.jsx)("li",{className:o()(C.navItem,{[C.hasMenu]:n,[C.darkMode]:c.isDarkMode}),children:(0,t.jsxs)(b.D,{href:s,onClick:r,suppressHrefLocale:l,onMouseEnter:()=>{u.c({name:"desktop_topbar_parent_nav_item",label:a,href:s})},children:[(0,t.jsx)("div",{className:C.label,style:{[(0,f.Ay)("--nav-caret-svg")]:`url(${h.Z.shared.icons.navCaretSvg})`},children:a}),n&&(0,t.jsx)("div",{className:o()(C.popup,{[C.popupVisible]:i,[C.popupHidden]:!i}),children:n})]})})}function E(e){let{title:a,width:n,items:i}=e,s=(0,g.Fg)();return(0,t.jsxs)("div",{className:C.navMenuSection,style:{[(0,f.Ay)("--nav-menu-section-min-width")]:n?`${n}px`:"auto"},children:[a&&(0,t.jsx)("div",{className:C.navMenuSectionTitle,children:(0,t.jsx)(N.y,{children:a})}),(0,t.jsx)("ul",{className:C.navMenuList,"aria-label":"submenu",children:i.map((e,a)=>(0,t.jsx)("li",{className:C.navMenuItem,children:(0,t.jsx)(b.D,{paddingY:5,paddingX:8,href:e.href,onClick:()=>{u._g({name:"desktop_topbar_nav_item",label:e.label,href:e.href})},isFullWidth:!0,children:(0,t.jsxs)("div",{className:C.navMenuItemInner,children:[e.before&&(0,t.jsx)("div",{className:C.navMenuItemBefore,children:e.before}),e.icon&&(0,t.jsx)("div",{className:o()(C.navMenuItemIcon,{[C.darkMode]:s.isDarkMode}),children:e.icon}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:C.navMenuItemLabel,children:[e.label,(0,t.jsxs)("span",{className:C.navMenuItemBadge,children:[e.isNew&&(0,t.jsx)(_.Ct,{messageType:"new",variant:"tertiary-rounded"}),e.isBeta&&(0,t.jsx)(_.Ct,{messageType:"beta",variant:"muted"}),e.comingSoon&&(0,t.jsx)(_.Ct,{messageType:"comingSoon",variant:"muted"})]})]}),e.description&&(0,t.jsx)("span",{className:C.navMenuItemDescription,children:e.description})]})]})})},`nav-item-${a}`))})]})}function D(e){let{navStrings:a,subNavMenus:n}=e,i=n.product.map(e=>{let{Icon:a,...n}=e;return{before:(0,t.jsx)("div",{className:C.navMenuItemBeforeIcon,style:{width:M.VY,height:M.VY,fill:"var(--color-icon)",color:"var(--color-icon)"},children:a?(0,t.jsx)(a,{}):null}),...n}});return(0,t.jsx)("div",{"aria-label":a.mainItems.product,children:(0,t.jsx)(E,{items:i})})}function T(e){let{navStrings:a,subNavMenus:n}=e,i=n.teams;return(0,t.jsx)("div",{"aria-label":a.mainItems.teams,children:(0,t.jsx)(E,{items:i})})}function z(e){let{navStrings:a,subNavMenus:n}=e,i=n.individuals;return(0,t.jsx)("div",{className:C.individualsMenu,"aria-label":a.mainItems.individuals,children:(0,t.jsx)(E,{items:i})})}function F(e){let{navStrings:a,subNavMenus:n}=e,i=(0,d.YB)(),o=n.downloadDesktop;return(0,t.jsxs)("div",{className:C.downloadMenu,"aria-label":a.mainItems.download,children:[(0,t.jsx)(E,{items:o}),(0,t.jsx)("div",{style:{padding:"0 12px 12px"},children:(0,t.jsx)(x.Z,{variant:"sans-100-regular",color:"gray-500",children:(0,t.jsx)(d._H,{id:"nav.downloadMenu.footer",defaultMessage:"{notion} is always at home right in your browser",description:"Nav download menu footer",values:{notion:(0,k.w)(i.locale),link:e=>(0,t.jsx)(j.u,{href:c._j.signup,suppressHrefLocale:!0,eventData:{name:"desktop_nav_download_menu"},children:e})}})})})]})}function H(e){let{hasPageNav:a,hideNavItems:n,navStrings:i,subNavMenus:o,headerCTA:s="tryFree",hideRequestDemoCTA:r,hideLoginCTA:l,hideGoogleOneTap:c,customCTA:u}=e,m=(0,g.Fg)(),f=(0,d.YB)();return(0,t.jsx)(g.f6,{value:m.name,children:(0,t.jsxs)("nav",{className:p.nav,"aria-label":f.formatMessage({id:"header.navigation",defaultMessage:"Main",description:"Accessible name for the main site navigation in the header"}),children:[(0,t.jsx)("div",{className:p.navLeft,children:!n&&(0,t.jsx)(I,{navStrings:i,subNavMenus:o})}),(0,t.jsx)("div",{className:p.navRight,children:(0,t.jsx)(A,{hasPageNav:a,navStrings:i,headerCTA:s,hideRequestDemoCTA:r,hideLoginCTA:l,customCTA:u,hideGoogleOneTap:c})})]})})}var P=n(186405),R=n(23207),Z=n(573406),$=n(655206);function O(e){let{mobileMenuOpen:a,navStrings:n,subNavMenus:i,mobileCTA:o="tryFree"}=e,s=(0,S.F)(),r=(0,l.useMemo)(()=>(function(e){let{navStrings:a,showMobileProductMenuV2:n}=e;return a?[{label:a.mainItems.product,Component:U,openByDefault:!0},{label:a.mainItems.teams,Component:q},{label:a.mainItems.individuals,Component:X},{label:a.mainItems.download,Component:V},{label:a.mainItems.pricing,href:c._j.pricing},{label:a.mainItems.requestADemo,href:c._j.contactSales}]:[]})({navStrings:n}),[n]),d=(0,t.jsx)(t.Fragment,{children:r.map((e,a)=>{let{Component:o,...s}=e,r=o?(0,t.jsx)(o,{navStrings:n,subNavMenus:i}):null;return(0,t.jsx)(G,{menu:r,...s},a)})}),g=(0,t.jsxs)("div",{className:Z.actions,children:["contactSales"===o?(0,t.jsx)(m.z,{href:c._j.contactSales,variant:"primary",buttonSize:"l",isFullWidth:!0,onClick:()=>{u.t(s,{name:"mobile_nav_contact_sales",label:n.buttons.contactSales,href:c._j.contactSales})},children:n.buttons.contactSales}):null,"tryFree"===o?(0,t.jsx)(m.z,{href:c._j.signup,suppressHrefLocale:!0,variant:"primary",buttonSize:"l",isFullWidth:!0,onClick:()=>{u.t(s,{name:"mobile_nav_sign_up",label:n.buttons.getNotionFree,href:c._j.signup})},children:n.buttons.getNotionFree}):null,"tryMailFree"!==o&&(0,t.jsx)(m.z,{href:c._j.login,suppressHrefLocale:!0,variant:"tertiary",buttonSize:"l",isFullWidth:!0,onClick:()=>{u.t(s,{name:"mobile_nav_log_in",label:n.buttons.logIn,href:c._j.login})},children:n.buttons.logIn}),"tryMailFree"===o&&(0,t.jsx)(m.z,{href:c._j.mailHome,suppressHrefLocale:!0,variant:"tertiary",buttonSize:"l",isFullWidth:!0,onClick:()=>{u.t(s,{name:"desktop_nav_mail_cta",label:n.buttons.logIn,href:c._j.mailHome})},children:n.buttons.logIn})]});return(0,t.jsx)($.d,{isOpen:a,scrollableContent:d,stickyFooterHeight:"120px",stickyFooter:g})}function G(e){let{label:a,menu:n,href:i,openByDefault:s,onClick:c}=e,[d,m]=(0,l.useState)(!!s),p=(0,g.Fg)(),_=o()(Z.section,{[Z.hasMenu]:n},{[Z.isOpen]:d},{[Z.darkMode]:p.isDarkMode}),v=()=>u._g({name:"mobile_parent_nav_item",label:a,href:i});return(0,t.jsxs)("div",{className:_,style:{[(0,f.Ay)("--mobile-nav-caret")]:`url(${h.Z.shared.icons.mobileNavCaretSvg})`},children:[i?(0,t.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:i,children:(0,t.jsx)("a",{className:Z.sectionLabelLink,onClick:()=>{c&&c(),v()},children:(0,t.jsx)("button",{className:Z.sectionLabel,children:a})})}):(0,t.jsx)("button",{className:Z.sectionLabel,"aria-pressed":d?"true":"false",onClick:()=>{c&&c(),m(e=>!e),v()},children:a}),n&&d&&(0,t.jsx)("div",{className:Z.menuDrawer,children:n})]})}function W(e){let{title:a,items:n,children:i}=e;return(0,t.jsxs)("div",{className:Z.navSection,children:[a&&(0,t.jsx)("div",{className:Z.navSectionTitle,children:(0,t.jsx)(N.y,{children:a})}),i||(0,t.jsx)("ul",{className:Z.navList,"aria-label":"submenu",children:null==n?void 0:n.map((e,a)=>(0,t.jsx)(Y,{...e},a))})]})}function Y(e){let{label:a,href:n,Icon:i,isNew:o,isBeta:s,comingSoon:l}=e,c=!!n&&(0,R.xf)(n);return(0,t.jsx)("li",{className:Z.navItem,children:(0,t.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:n,children:(0,t.jsxs)("a",{target:c?"_blank":"_self",onClick:()=>{u._g({name:"mobile_nav_item",label:a,href:n})},className:Z.navItem,children:[i?(0,t.jsx)("span",{className:Z.icon,style:{width:M.VY,height:M.VY,fill:"var(--color-icon)",color:"var(--color-icon)"},children:(0,t.jsx)(i,{})}):null,(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:Z.label,children:a}),(0,t.jsxs)("span",{className:Z.badge,children:[o&&(0,t.jsx)(_.Ct,{messageType:"new",variant:"tertiary-rounded"}),s&&(0,t.jsx)(_.Ct,{messageType:"beta",variant:"muted"}),l&&(0,t.jsx)(_.Ct,{messageType:"comingSoon",variant:"muted"})]})]})]})})})}function V(e){let{subNavMenus:a}=e,n=a.downloadMobile;return(0,t.jsx)("div",{className:Z.menu,children:(0,t.jsx)(W,{items:n})})}function U(e){let{subNavMenus:a,expShowMobileProductMenuV2:n}=e,i=a.product;return(0,t.jsx)("div",{className:Z.menu,children:(0,t.jsx)(W,{items:i})})}function q(e){let{subNavMenus:a}=e,n=a.teams;return(0,t.jsx)("div",{className:Z.menu,children:(0,t.jsx)(W,{items:n})})}function X(e){let{subNavMenus:a}=e,n=a.individuals;return(0,t.jsx)("div",{className:Z.menu,children:(0,t.jsx)(W,{items:n})})}var Q=n(273408),J=n(517839),K=n(363037),ee=n(668301),ea=n(348192),en=n(564753),et=n(567799),ei=n(726391),eo=n(426291),es=n(583784);function er(e){let a=(0,ea.dL)("acquisition_marketing_top_nav_1");return["v1","v2","v3"].includes(e._forceTopNavExperiment?e._forceTopNavExperiment:a)?(0,t.jsx)(P.q4,{headerCTA:e.headerCTA,notification:e.notification,hideGoogleOneTap:e.hideGoogleOneTap}):(0,t.jsx)(el,{...e})}function el(e){let{hideNavItems:a,headerCTA:n="tryFree",notification:i,hasPageNav:s=!1,hideBackgroundOnLoad:p=!1,hideRequestDemoCTA:f,hideLoginCTA:h,hideGoogleOneTap:_,customCTA:v}=e,b=(0,d.YB)(),j=(0,g.Fg)(),N=(0,S.F)(),x=(0,l.useContext)(eo.k),{navStrings:k,subNavMenus:M}=(0,et.Q)(),[y,L]=(0,l.useState)(!1),C=(0,l.useCallback)(e=>{let{documentElement:a}=e.currentTarget;L(!!a&&a.scrollTop>60)},[]);(0,ei.k)("undefined"!=typeof document?document:null,C);let{closeMobileMenu:I,mobileMenuOpen:A,mobileTriggerRef:B,onMobileTriggerClick:E}=(0,en.O)(),D="control"===(0,ea.dL)("marketing_move_signup_to_bottom_screen_v2"),T=(0,l.useCallback)(e=>{u.t(N,{...(0,ee.ok)(e.currentTarget),name:"sticky_mobile_header_sign_up"})},[N]),z={role:"dialog",tabIndex:-1,"aria-label":b.formatMessage({id:"header.mobileDrawer",defaultMessage:"Main menu",description:"Accessible name for the main site navigation dialog on mobile devices"}),onKeyDown:e=>{("Esc"===e.key||"Escape"===e.key)&&I()}};return(0,t.jsxs)(t.Fragment,{children:[i?(0,t.jsx)("div",{className:"notification",children:(0,t.jsx)(J.Z,{notification:i})}):null,(0,t.jsxs)("div",{...A?z:{},className:o()(es.dialog,es.isRedesigned,{[es.mobileNavOpen]:A,[es.hasPageNav]:s,[es.isScrolled]:y,[es.positionSticky]:!s,"position-static":s}),style:{"--color-header-background":p?"transparent":"var(--color-page)"},children:[(0,t.jsx)("header",{className:o()(es.header,{[es.hasNotificationVisible]:!!i}),children:(0,t.jsxs)("div",{className:o()(es.inner,{[es.hasPageNav]:s}),children:[(0,t.jsx)("div",{className:es.logoWrap,children:(0,t.jsx)(r(),{prefetch:!1,href:c._j.product,"aria-label":b.formatMessage({id:"Header.notionLogo",defaultMessage:"Notion – Home",description:"Accessibility label for a Notion logo that links to the homepage"}),children:(0,t.jsx)("span",{className:es.logo,children:(0,t.jsx)(g.f6,{value:j.name,children:(0,t.jsx)(K.R,{})})})})}),(0,t.jsx)("div",{className:es.desktopActions,children:(0,t.jsx)(H,{hasPageNav:s,hideNavItems:a,navStrings:k,subNavMenus:M,headerCTA:n,hideRequestDemoCTA:f,hideLoginCTA:h,customCTA:v,hideGoogleOneTap:_})}),(0,t.jsxs)("div",{className:es.mobileActions,children:[(0,t.jsxs)("span",{className:es.mobileCta,children:["tryFree"===n&&D?(0,t.jsx)(m.z,{href:(0,w.G1)(c._j.signup,x),suppressHrefLocale:!0,variant:"primary",buttonSize:"s",onClick:T,children:k.buttons.getNotionFree}):null,"contactSales"===n?(0,t.jsx)(m.z,{href:c._j.contactSales,variant:"primary",buttonSize:"s",onClick:()=>{u.t(N,{name:"sticky_mobile_header_sign_up",label:k.buttons.contactSales,href:c._j.contactSales})},children:k.buttons.contactSales}):null,"tryMailFree"===n?(0,t.jsx)(m.z,{href:c._j.mailHome,variant:"primary",buttonSize:"s",onClick:()=>{u.t(N,{name:"sticky_mobile_header_try_mail",label:k.buttons.getMailFree,href:c._j.mailHome})},children:k.buttons.getMailFree}):null,"tryCalendarFree"===n?(0,t.jsx)(m.z,{href:c._j.calendarSignup,variant:"primary",buttonSize:"s",onClick:()=>{u.t(N,{name:"sticky_mobile_header_try_calendar",label:k.buttons.getCalendarFree,href:c._j.calendarSignup})},children:k.buttons.getCalendarFree}):null,"custom"===n&&v?(0,t.jsx)(m.z,{href:(0,w.G1)(v.href,x),suppressHrefLocale:!0,variant:s?"tertiary":"primary",buttonSize:"s",onClick:()=>{u.t(N,{name:"sticky_mobile_header_sign_up",label:v.text,href:v.href})},children:v.text}):null]}),!a&&(0,t.jsx)(Q.W,{menuOpen:A,onClick:E,ref:B})]})]})}),(0,t.jsx)(O,{mobileMenuOpen:A,navStrings:k,subNavMenus:M,mobileCTA:n})]})]})}},899841:function(e,a,n){"use strict";n.d(a,{D:function(){return u}});var t=n(552322),i=n(72779),o=n.n(i),s=n(239097),r=n.n(s),l=n(240926),c=n(23207),d=n(55282);function u(e){let{children:a,onClick:n,onMouseEnter:i,href:s,paddingX:u=0,paddingY:m=0,isFullWidth:g,suppressHrefLocale:p,isActive:f,hasBorder:h=!1}=e,_=o()(d.hoverable,{[d.clickable]:n,[d.fullWidth]:g,[d.hasAction]:s||n,[d.isActive]:f,[d.hasBorder]:h}),v={[(0,l.Ay)("--hoverable-padding-x")]:`${u}px`,[(0,l.Ay)("--hoverable-padding-y")]:`${m}px`},b=!!s&&(0,c.xf)(s);return s?(0,t.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:s,locale:!p&&void 0,children:(0,t.jsx)("a",{tabIndex:0,className:_,style:v,onClick:n,onMouseEnter:i,target:b?"_blank":void 0,children:a})}):(0,t.jsx)("button",{type:"button",onClick:n,onMouseEnter:i,className:_,style:v,children:a})}},738949:function(e,a,n){"use strict";n.d(a,{v:function(){return l},A:function(){return m}});var t=n(552322),i=n(72779),o=n.n(i),s=n(202784),r=n(415181);let l=(0,s.forwardRef)((e,a)=>{let{isOpen:n,role:i="list",children:s,className:l,hidden:c,placement:d="bottom",...u}=e;return(0,t.jsx)("ul",{...u,role:i,className:o()(r.menu,{[r.placementBottom]:"bottom"===d,[r.placementBottomStart]:"bottom-start"===d,[r.placementBottomEnd]:"bottom-end"===d},l),hidden:c||!n,ref:a,children:s})});l.displayName="Menu";var c=n(239097),d=n.n(c),u=n(310777);let m=(0,s.forwardRef)((e,a)=>{let{role:n="menuitem",href:i,locale:s,children:r,className:l,...c}=e;return(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(d(),{legacyBehavior:!0,href:i,locale:s,prefetch:!1,children:(0,t.jsx)("a",{...c,role:n,className:o()(u.menuItemLink,l),ref:a,children:r})})})});m.displayName="MenuItemLink"},838232:function(e,a,n){"use strict";n.d(a,{S:function(){return N}});var t=n(552322),i=n(97729),o=n.n(i),s=n(983839),r=n(183428),l=n(387430),c=n(967041),d=n(631718),u=n(149370),m=n(762375),g=n(300100),p=n(23207),f=n(433327),h=n(240926),_=n(165379),v=n(707155);let b={"es-ES":"es-es","es-LA":"es","en-US":"en","pt-BR":"pt","fr-FR":"fr","de-DE":"de","ja-JP":"ja","da-DK":"da","sv-SE":"sv","zh-CN":"zh","zh-TW":"zh-tw","ko-KR":"ko","nb-NO":"nb","nl-NL":"nl","fi-FI":"fi"};var j=n(961268);function N(e){let{title:a,metadata:n,favicon:i}=e,N=(0,r.YB)(),x=(0,v.j)()??"/",k=(0,j.b)(),M={title:(0,g.u)((0,m.w)(k),N.formatMessage({id:"layout.meta.title",defaultMessage:"The all-in-one workspace for your notes, tasks, wikis, and databases.",description:"This is the default meta title that appears when notion.so/product is shared on social."})),description:N.formatMessage({id:"layout.meta.description",defaultMessage:"A new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.",description:"This is the default meta description that appears when notion.so/product is shared on social."}),image:l.Z.meta.defaultPng},w={title:(null==n?void 0:n.title)||M.title,description:(null==n?void 0:n.description)||M.description,image:(null==n?void 0:n.image)||M.image},S=(0,p.UY)(x,k),y=w.image&&(0,s.r)(w.image),L=w&&(null==w?void 0:w.image)&&y?(0,d.Fh)(w.image):`${c.vc.front.domainBaseUrl}${w.image}`,{canonicalUrl:C,...I}=function(e){let a=(0,v.j)()??"/",n=(0,_.Uo)(),t=(null==n?void 0:n.canonicalUrl)!==void 0?null==n?void 0:n.canonicalUrl:a,i=(null==n?void 0:n.supportedLocales)&&n.supportedLocales.length>0?n.supportedLocales:f.uI,o={canonicalUrl:(0,p.UY)(t,e,!0)};return i.forEach(e=>{o[b[(0,h.Ay)(e)]]=(0,p.UY)(t,e,!0)}),o}(k);return(0,t.jsxs)(o(),{children:[(0,t.jsx)("title",{children:a||"Notion"}),(0,t.jsx)("meta",{name:"description",content:w.description},"description"),(0,t.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,t.jsx)("meta",{name:"twitter:site",content:"@NotionHQ"}),(0,t.jsx)("meta",{name:"twitter:title",content:w.title}),(0,t.jsx)("meta",{name:"twitter:description",content:w.description}),(0,t.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,t.jsx)("meta",{name:"twitter:url",content:S}),(0,t.jsx)("meta",{name:"twitter:image",content:L}),(0,t.jsx)("meta",{property:"og:url",content:C}),(0,t.jsx)("meta",{property:"og:title",content:w.title}),(0,t.jsx)("meta",{property:"og:description",content:w.description}),(0,t.jsx)("meta",{property:"og:image",content:L}),(0,t.jsx)("meta",{property:"og:locale",content:k}),(0,t.jsx)("meta",{property:"og:site_name",content:"Notion"}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("link",{rel:"icon",href:i??(0,u.z)()}),(0,t.jsx)("link",{rel:"apple-touch-icon",href:l.Z.logoIosPng}),(0,t.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),(0,t.jsx)("meta",{name:"apple-itunes-app",content:c.vc.iOSAppId.toString()}),(0,t.jsx)("meta",{name:"referrer",content:"strict-origin"}),(0,t.jsx)("meta",{name:"naver-site-verification",content:"ad5c9c7e4607a86395226000f5fe1e4223ce3348"}),(0,t.jsx)("link",{rel:"canonical",href:C}),Object.keys(I).map(e=>{if(e!==b[k]){let a=I[e];return(0,t.jsx)("link",{rel:"alternate",hrefLang:e,href:a},a)}})]})}},685627:function(e,a,n){"use strict";n.r(a),n.d(a,{LanguageIcon:function(){return o}});var t=n(552322),i=n(309596);function o(e){return(0,t.jsxs)(i.t,{...e,children:[(0,t.jsx)("defs",{fill:"currentColor"}),(0,t.jsx)("path",{d:"m20,19.24l2.16,5.76h-4.32l2.16-5.76Zm5.95,4.62c2.49-3.27,6.07-5.64,10.5-6.87-2.61-5.68-8.42-8.99-16.45-8.99C8.89,8,2,14.32,2,24.5c0,5.19,1.8,9.37,5.03,12.22l-5.03,5.03,1.5,2.25c4.06,0,7.8-1.36,10.81-3.63,1.74.41,3.64.63,5.69.63.82,0,1.61-.05,2.39-.11-.25-1.39-.39-2.85-.39-4.39,0-2.73.43-5.23,1.22-7.5h-6.88l-1.12,3h-4.22l6-16h6l2.95,7.86Zm18.05,13.46c.99-.9,1.84-1.99,2.4-3.32h-4.79c.56,1.33,1.41,2.42,2.4,3.32Zm12.97,11.4l5.03,5.03-1.5,2.25c-4.06,0-7.8-1.36-10.81-3.63-1.74.41-3.64.63-5.69.63-11.11,0-18-6.32-18-16.5s6.89-16.5,18-16.5,18,6.32,18,16.5c0,5.19-1.8,9.37-5.03,12.22Zm-3.97-18.72h-7v-3h-4v3h-7v4h2.49c.58,1.97,1.68,3.86,3.22,5.52-2.76,1.36-5.38,1.74-5.38,1.74l1.4,3.75c2.78-.5,5.21-1.48,7.26-2.78,2.05,1.3,4.49,2.29,7.26,2.78l1.4-3.75s-2.62-.38-5.38-1.74c1.55-1.66,2.64-3.55,3.22-5.52h2.49v-4Z",fill:"currentColor"})]})}},385033:function(e,a,n){"use strict";n.d(a,{W:function(){return s}});var t=n(552322),i=n(875362),o=n(461480);function s(e){let{label:a,description:n}=e;return(0,t.jsxs)("div",{className:o.option,children:[(0,t.jsx)("div",{className:o.label,children:(0,t.jsx)(i.Z,{variant:"sans-150-regular",children:a})}),(0,t.jsx)("div",{className:o.description,children:(0,t.jsx)(i.Z,{variant:"sans-100-regular",children:n})})]})}},764290:function(e,a,n){"use strict";n.d(a,{y:function(){return o}});var t=n(552322),i=n(492034);function o(e){let{children:a}=e;return(0,t.jsx)("span",{className:i.smallcaps,children:a})}},573291:function(e,a,n){"use strict";n.d(a,{S:function(){return d}});var t=n(552322),i=n(72779),o=n.n(i),s=n(202784),r=n(962093),l=n(348273),c=n(48511);function d(){let{snackBarState:e}=(0,s.useContext)(l.mv),{snackBarMessage:a,snackBarActive:n}=e;return(0,t.jsx)("div",{className:o()(c.snackBar,{[c.snackBarActive]:n}),children:(0,t.jsx)("div",{role:"status",className:c.snackBarContent,children:(0,t.jsx)(r.x,{tag:"p",size:"body",color:"white",children:a})})})}},414551:function(e,a,n){"use strict";n.d(a,{ON:function(){return l},Wy:function(){return g},BN:function(){return o},TH:function(){return i},uP:function(){return m},Ch:function(){return u}});var t=n(240926);function i(e){return fetch(`/front-api/notifications/${e}`,{cache:"force-cache"}).then(a=>{if(!a.ok)throw Error(`unexpected status code from front-api/notifications for ${e}`);return(0,t.Ay)(a.json())})}function o(e,a){return fetch(`/front-api/notifications/${a}/${e}`,{cache:"force-cache"}).then(n=>{if(!n.ok)throw Error(`unexpected status code from front-api/notifications/${e} for ${a}`);return(0,t.Ay)(n.json())})}let s={generic:Symbol("generic"),validation:Symbol("validation"),unauthorized:Symbol("unauthorized"),conflict:Symbol("conflict")};class r extends Error{get[s.generic](){return!0}}class l extends r{get[s.validation](){return!0}}s.unauthorized;class c extends r{get[s.conflict](){return!0}}function d(e){return!!(e&&"object"==typeof e&&s.generic in e)}function u(e){return d(e)&&s.validation in e}function m(e){return d(e)&&s.conflict in e}async function g(e,a,n){let i=await fetch("/front-api/__admin/contentful",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify([e,a]),...n});if(400===i.status)throw new l;if(401===i.status&&(window.location.href=new URL("/front-api/__admin/contentful/oauth/authorize",window.location.href).href),409===i.status)throw new c;if(!i.ok)throw new r;return(0,t.Ay)(i.json())}},300100:function(e,a,n){"use strict";function t(){for(var e=arguments.length,a=Array(e),n=0;n{if(!document||!e||!a)return;let n=()=>{e.focus()},t=e=>{var a;let t={Esc:n,Escape:n};null===(a=t[e.key])||void 0===a||a.call(t,e)};return e.addEventListener("keydown",t),a.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t),a.addEventListener("keydown",t)}},[e,a]),function(e,a){let{behavior:n="click"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,t.useRouter)(),s=(0,i.useRef)("click"),[r,l]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(o)return o.events.on("routeChangeStart",e),()=>{o.events.off("routeChangeStart",e)};function e(){l(!1)}},[o]),(0,i.useEffect)(()=>{if(!e||!a)return;let t=()=>{l(e=>(s.current=e?s.current:"click",!e))},i=()=>{l(!1)},o=e=>{var a;let n={Esc:i,Escape:i};null===(a=n[e.key])||void 0===a||a.call(n,e)},r=()=>{l(e=>(s.current=e?s.current:"hover",!0))},c=()=>{"hover"===s.current&&l(!1)},d=n=>{let t=n.relatedTarget;e.contains(t)||a.contains(t)||l(!1)};return e.addEventListener("click",t),e.addEventListener("keydown",o),a.addEventListener("keydown",o),"hover"===n&&(e.addEventListener("mouseenter",r),e.addEventListener("mouseleave",c),a.addEventListener("mouseenter",r),a.addEventListener("mouseleave",c)),e.addEventListener("focusout",d),a.addEventListener("focusout",d),()=>{e.removeEventListener("click",t),e.removeEventListener("keydown",o),a.removeEventListener("keydown",o),e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",c),a.removeEventListener("mouseenter",r),a.removeEventListener("mouseleave",c),e.removeEventListener("focusout",d),a.removeEventListener("focusout",d)}},[e,a,n]),[r,l]}(e,a,n)}},567799:function(e,a,n){"use strict";n.d(a,{Q:function(){return s}});var t=n(202784),i=n(183428),o=n(193891);function s(){let e=(0,i.YB)(),a=(0,t.useMemo)(()=>(0,o.Fd)(e),[e]),n=(0,t.useMemo)(()=>(0,o.Mi)({navStrings:a,experiments:{isMailGAEnabled:!0}}),[a,!0]);return{navStrings:a,subNavMenus:n}}},557639:function(e,a,n){"use strict";let t;n.d(a,{z:function(){return y}});var i=n(688472),o=n(202784),s=n(30297),r=n(789903),l=n(292556),c=n(772769),d=n(563562),u=n(183428),m=n(278338),g=n(240926),p=n(491414),f=n(685627),h=n(871725),_=n(127444),v=n(414551),b=n(762375),j=n(420966),N=n(23207),x=n(961268),k=n(878063),M=n(707155);let w="offer",S=!1;function y(e){let{localeNotificationType:a="none"}=e??{},n=(0,u.YB)(),r=(0,i.useRouter)(),l=(0,x.b)(),c=(0,M.j)(),d=c??"/",m=(0,o.useRef)(c),p=(0,o.useCallback)(async()=>{let{searchParams:e}=new URL(window.location.href),a=e.get(w);return a?(0,v.BN)(a,l).catch(e=>(j.g9.error("useNotifications.getNotificationEntry",{entryID:a,error:e}),null)):null},[l]),[f,h]=(0,k.R)("front_closed_notifications",[]),[b,N]=(0,k.R)("front_shown_once_notifications",[]),[y,L]=(0,o.useState)(S),D=(0,o.useCallback)(e=>E(N,e),[N]),[T]=(0,s.r5)(async()=>{let e=await (0,_.ld)("necessary"),t=()=>L(!0);return(await Promise.all([C({locale:l,intl:n,pathname:d,reload:null==r?void 0:r.reload,type:a,onShow:D}),I({userId:e,intl:n,push:null==r?void 0:r.push,setClosedNotifications:t}),A({push:null==r?void 0:r.push,getNotificationEntry:p,setClosedNotifications:t}),B({locale:l,setClosedNotifications:e=>{h(e),L(!0)}})])).filter(g.lm)},[l,n,d,null==r?void 0:r.reload,null==r?void 0:r.push,a,D,p,h]);(0,o.useEffect)(()=>{"resolved"===T.status&&(t=T.value)},[T]),(0,o.useEffect)(()=>{S=y},[y]);let[z,F]=(0,o.useState)(0);(0,o.useEffect)(()=>{let e=sessionStorage.getItem("marketing_notification_seed");if(null===e){let e=Math.floor(101*Math.random());sessionStorage.setItem("marketing_notification_seed",String(e)),F(e)}else F(Number(e))},[]);let H=(0,o.useMemo)(()=>{if(y)return;let e=T.value||t;if(e)return e.find(e=>{let a=z<=(e.percentRollout??100);return!f.includes(e.id)&&a})},[T,y,f,z]);return(0,o.useEffect)(()=>{if(!c||c===m.current||(m.current=c,!H))return;let{id:e}=H;b.includes(e)&&!f.includes(e)&&E(h,e)},[c,m,H,b,f,h]),{notifications:T,firstOpenNotification:H}}async function L(e){let{locale:a}=e;return await (0,_.A$)()?a:(0,b.u_)({locale:a})}async function C(e){let{intl:a,locale:n,reload:t,pathname:i,type:o,onShow:s}=e;if("none"===o)return;let l=await L({locale:n});if(l===n)return;let[c,d]=function(e){var a;let{intl:n,locale:t}=e,i=n.formatMessage({defaultMessage:"View this page in your preferred language.",id:"frontNotificationBanner.notification.localeMismatch.message",description:"Appears at the top of the marketing site when the browser locale is different from the URL locale."}),o=n.formatMessage({defaultMessage:"Change to {locale}",id:"frontNotificationBanner.notification.localeMismatch.cta",description:"CTA to change the language of the site to match the user's system settings."},{locale:(0,r.t)(n)[t].label}),s=(0,b.E8)(t),l=s["frontNotificationBanner.notification.localeMismatch.message"]??i,c=(0,r.t)(n)[t].label;return[l,(null===(a=s["frontNotificationBanner.notification.localeMismatch.cta"])||void 0===a?void 0:a.replace("{locale}",c))??o]}({intl:a,locale:l}),u=(0,N.UY)(i,l);return{id:"localeMismatch",type:"url",message:c,Icon:f.LanguageIcon,button:{text:d,url:u,onClick:()=>{(0,p.A0)({from_locale:n,locale:l,origin:"notification_banner"}),(0,_.JD)({locale:l,callback:()=>{null==t||t()}})},suppressHrefLocale:!0},onShow:s}}async function I(e){let{userId:a,intl:n,push:t,setClosedNotifications:i}=e,o=l.Zk(a);if(!o)return;let s=await (0,h.pt)("getPromoCode",{code:o}),r=()=>{l.$r(a);let e=new URL(window.location.href);e.searchParams.delete(d.Vt),null==t||t(e),E(i,d.Vt)};if(s.error||!s.value||!s.value.promo)return{id:d.Vt,type:"promo",message:n.formatMessage({defaultMessage:"This promo code is no longer valid.",id:"frontNotificationBanner.notification.promoCodeInvalid.message",description:"Appears at the top of the marketing site when a promo code URL is visited and is no longer valid."}),emoji:"\uD83D\uDE22",onClose:r};let u=s.value.promo;return{id:d.Vt,type:"promo",message:u.description||"",onClose:r,button:{text:n.formatMessage({defaultMessage:"Sign up",id:"frontNotificationBanner.notification.promoCodeApplied.signupButton.label"}),url:c._j.signup,onClick:()=>{(0,p.DV)()}}}}async function A(e){let{push:a,getNotificationEntry:n,setClosedNotifications:t}=e,i=await n();if(!i)return null;let{id:o,message:s,buttonText:r,buttonUrl:l,emoji:c,percentRollout:d}=i,u=()=>{E(t,o);let e=new URL(window.location.href);e.searchParams.delete(w),null==a||a(e)};return{id:o,type:"url",message:s,emoji:c,onClose:u,percentRollout:d,button:{text:r,url:l,onClick:()=>{(0,p._6)({contentful_id:o,message:s}),u()}}}}async function B(e){let{locale:a,setClosedNotifications:n}=e;try{let e=await (0,v.TH)(a).catch(e=>(j.g9.error("useNotifications.getAutoNotification",{locale:a,error:e}),null));if(!e)return null;let{id:t,message:i,emoji:o,buttonText:s,buttonUrl:r,percentRollout:l,badgeType:c}=e;if(!t)return null;let d=()=>{E(n,t)};return{id:t,type:"auto",message:i,emoji:o,onClose:()=>{(0,p.fV)({contentful_id:t,message:i}),d()},percentRollout:l,button:{text:s,url:r,onClick:()=>{(0,p._6)({contentful_id:t,message:i}),d()}},badgeType:c}}catch(e){j.g9.error("useNotifications.getAutoNotification",{locale:a,error:e})}}function E(e,a){e(e=>m.jj([...e,a]))}},789903:function(e,a,n){"use strict";function t(e){return{"en-US":{label:"English",caption:e.formatMessage({defaultMessage:"English (US)",id:"languagePicker.captions.englishUS"})},"de-DE":{label:"Deutsch",caption:e.formatMessage({defaultMessage:"German",id:"languagePicker.captions.germanDE",description:"The name of a language represented in a list of languages"})},"ko-KR":{label:"한국어",caption:e.formatMessage({defaultMessage:"Korean",id:"languagePicker.captions.koreanKo"})},"zh-CN":{label:"简体中文",caption:e.formatMessage({defaultMessage:"Simplified Chinese",id:"languagePicker.captions.chineseS"})},"zh-TW":{label:"繁體中文",caption:e.formatMessage({defaultMessage:"Traditional Chinese",id:"languagePicker.captions.chineseT"})},"ja-JP":{label:"日本語",caption:e.formatMessage({defaultMessage:"Japanese",id:"languagePicker.captions.japaneseJa"})},"es-ES":{label:"Espa\xf1ol (Espa\xf1a)",caption:e.formatMessage({defaultMessage:"Spanish (Spain)",id:"languagePicker.captions.spanishEs"})},"es-LA":{label:"Espa\xf1ol (Latinoam\xe9rica)",caption:e.formatMessage({defaultMessage:"Spanish (Latin America)",id:"languagePicker.captions.spanishLatam"})},"pt-BR":{label:"Portugu\xeas (Brasil)",caption:e.formatMessage({defaultMessage:"Portuguese (Brazil)",id:"languagePicker.captions.portugueseBr"})},"fr-FR":{label:"Fran\xe7ais (France)",caption:e.formatMessage({defaultMessage:"French",id:"languagePicker.captions.frenchFr"})},"da-DK":{label:"Dansk",caption:e.formatMessage({defaultMessage:"Danish",id:"languagePicker.captions.danishDk",description:"Allows the user to change their language setting to Danish."})},"fi-FI":{label:"Suomi",caption:e.formatMessage({defaultMessage:"Finnish",id:"languagePicker.captions.finnishFi",description:"Allows the user to change their language setting to Finnish."})},"nb-NO":{label:"Norsk",caption:e.formatMessage({defaultMessage:"Norwegian",id:"languagePicker.captions.norwegianNo",description:"Allows the user to change their language setting to Norwegian."})},"nl-NL":{label:"Nederlands",caption:e.formatMessage({defaultMessage:"Dutch",id:"languagePicker.captions.dutchNl",description:"Allows the user to change their language setting to Dutch."})},"sv-SE":{label:"Svenska",caption:e.formatMessage({defaultMessage:"Swedish",id:"languagePicker.captions.swedishSe",description:"Allows the user to change their language setting to Swedish."})},pseudo:{label:"\uD83E\uDD21Pseudolocale\uD83E\uDD21",caption:e.formatMessage({defaultMessage:"Pseudolocale",id:"languagePicker.captions.pseudolocale",description:"[Do not translate] A fake language added for localization QA purposes."})}}}n.d(a,{t:function(){return t}})},345495:function(e){e.exports={navList:"DesktopNavMenuList_navList__ZLfDZ",navRight:"DesktopNavMenuList_navRight__9vBS1",divider:"DesktopNavMenuList_divider__MYpqV",ctaItem:"DesktopNavMenuList_ctaItem__G4vEF",nonEnglish:"DesktopNavMenuList_nonEnglish__iAwHB",navListSales:"DesktopNavMenuList_navListSales__zSl4U",popup:"DesktopNavMenuList_popup__ccsE5",popupHidden:"DesktopNavMenuList_popupHidden__oSdFG",popupVisible:"DesktopNavMenuList_popupVisible__aI91f",navItem:"DesktopNavMenuList_navItem__wfNzh",label:"DesktopNavMenuList_label__o7awx",hasMenu:"DesktopNavMenuList_hasMenu__MbZMJ",darkMode:"DesktopNavMenuList_darkMode__bc0h2",navMenuSection:"DesktopNavMenuList_navMenuSection__E8JMf",navMenuSectionTitle:"DesktopNavMenuList_navMenuSectionTitle__CNEiS",navMenuList:"DesktopNavMenuList_navMenuList__BMaQn",navMenuItem:"DesktopNavMenuList_navMenuItem___0FYD",navMenuItemInner:"DesktopNavMenuList_navMenuItemInner__rnhRb",navMenuItemBefore:"DesktopNavMenuList_navMenuItemBefore__vpNg6",navMenuItemBeforeIcon:"DesktopNavMenuList_navMenuItemBeforeIcon__hkn05",navMenuItemIcon:"DesktopNavMenuList_navMenuItemIcon__XUJ_Q",navMenuItemLabel:"DesktopNavMenuList_navMenuItemLabel__ZbI_A",navMenuItemBadge:"DesktopNavMenuList_navMenuItemBadge__RygiO",navMenuItemDescription:"DesktopNavMenuList_navMenuItemDescription__Ckki4",individualsMenu:"DesktopNavMenuList_individualsMenu__V_Vtp",downloadMenu:"DesktopNavMenuList_downloadMenu__Fi6XP"}},96212:function(e){e.exports={nav:"desktopNav_nav__P7z6f",hideNavItems:"desktopNav_hideNavItems__7MIsc",navLeft:"desktopNav_navLeft__MgULi",navRight:"desktopNav_navRight__Eim9m"}},23617:function(e){e.exports={footerInner:"footer_footerInner__MQQSo",footerOuter:"footer_footerOuter__kubGm",footerTop:"footer_footerTop__rz2e9",footerTopMain:"footer_footerTopMain__2yt5M",footerBottom:"footer_footerBottom__sYaND",footerColumns:"footer_footerColumns__T50DJ",addendum:"footer_addendum__i1N2u",button:"footer_button__vbjiT",logo:"footer_logo__ssDpx",visuallyHidden:"footer_visuallyHidden__TIPHl"}},754438:function(e){e.exports={list:"footerColumn_list__xEsxo"}},35725:function(e){e.exports={socialList:"footerSocial_socialList__h7Bi4",socialListItem:"footerSocial_socialListItem__wdDDq",twitter:"footerSocial_twitter__Ihb5e",linkedIn:"footerSocial_linkedIn__3_fRQ",facebook:"footerSocial_facebook__4ydhX",instagram:"footerSocial_instagram__RqMRr",youtube:"footerSocial_youtube__fuRqz"}},834202:function(e){e.exports={stickyWrapper:"globalNavigation_stickyWrapper__SYZfy",globalNavigation:"globalNavigation_globalNavigation__7c1YP",isScrolled:"globalNavigation_isScrolled__FEBpp",container:"globalNavigation_container__x43sE",logo:"globalNavigation_logo__i44_w",logoExtended:"globalNavigation_logoExtended__kbbMJ",badge:"globalNavigation_badge__Gkix_",badgeContainer:"globalNavigation_badgeContainer__p0zES",links:"globalNavigation_links__tZquA",link:"globalNavigation_link__ofzIw",button:"globalNavigation_button__VimOF",active:"globalNavigation_active__SsaRU",dropdownTrigger:"globalNavigation_dropdownTrigger__Vd0Te",dropdownItem:"globalNavigation_dropdownItem__Kb38H",dropdownLabel:"globalNavigation_dropdownLabel__B6CjQ",dropdownDescription:"globalNavigation_dropdownDescription__W3_Rm",actions:"globalNavigation_actions__hEI1Y",secondaryActions:"globalNavigation_secondaryActions__5gLqb",primaryCta:"globalNavigation_primaryCta___fviu",mobileActions:"globalNavigation_mobileActions__7AZdH",divider:"globalNavigation_divider__OM57s",horizontalDivider:"globalNavigation_horizontalDivider__fvLDd",dropdown:"globalNavigation_dropdown__vn77x",open:"globalNavigation_open__OEVcP",close:"globalNavigation_close___eHO3",visuallyHidden:"globalNavigation_visuallyHidden__dK6zo",dropdownContainer:"globalNavigation_dropdownContainer__8i441",dropdownGrid:"globalNavigation_dropdownGrid__fmbJC",getStartedDropdownSection:"globalNavigation_getStartedDropdownSection__4tj6R",dropdownGridExtended:"globalNavigation_dropdownGridExtended__UfaTL",dropdownSection:"globalNavigation_dropdownSection__AAvOZ",subtitleHeading:"globalNavigation_subtitleHeading__8TZdK",subtitleHeadingSmall:"globalNavigation_subtitleHeadingSmall__LRb2k",subnavItem:"globalNavigation_subnavItem__cKULm",notionDropdownHeading:"globalNavigation_notionDropdownHeading__fkeG6",exploreDropdownSubnavItemSmall:"globalNavigation_exploreDropdownSubnavItemSmall___GFy3",notionDropdownSmallHeading:"globalNavigation_notionDropdownSmallHeading__yRdQH",linksSection:"globalNavigation_linksSection__bY2SL",smallLinksSection:"globalNavigation_smallLinksSection__4sfln",middleColumn:"globalNavigation_middleColumn__pOkd5",downloadBox:"globalNavigation_downloadBox__gNxht",downloadBoxContent:"globalNavigation_downloadBoxContent__VvNZL",downloadBoxText:"globalNavigation_downloadBoxText__aRRAG",downloadButton:"globalNavigation_downloadButton__H6XgR",downloadBoxImageContainer:"globalNavigation_downloadBoxImageContainer__KEjE3",downloadBoxImage:"globalNavigation_downloadBoxImage__a_uGn",mobileMenuOpen:"globalNavigation_mobileMenuOpen__o1tsx",mobileMenu:"globalNavigation_mobileMenu__9ZjPP",mobileMenuContent:"globalNavigation_mobileMenuContent__mt45y",mobileMenuLinks:"globalNavigation_mobileMenuLinks__iZcqp",mobileMenuSection:"globalNavigation_mobileMenuSection__sreT7",mobileMenuLink:"globalNavigation_mobileMenuLink__M7yat",inactiveLink:"globalNavigation_inactiveLink__oUAWy",mobileMenuLinkContent:"globalNavigation_mobileMenuLinkContent__LKoLC",mobileMenuActions:"globalNavigation_mobileMenuActions__VNA1Z",mobileActionButton:"globalNavigation_mobileActionButton__GG1S2",mobileSubmenu:"globalNavigation_mobileSubmenu__ndil4",slideDown:"globalNavigation_slideDown__fiX_y",mobileDropdownContent:"globalNavigation_mobileDropdownContent__k2NsN",noWrap:"globalNavigation_noWrap__Af_5S",mobileDropdownSection:"globalNavigation_mobileDropdownSection__d09eD",mobileDropdownExploreSection:"globalNavigation_mobileDropdownExploreSection__f0vjE",mobileButton:"globalNavigation_mobileButton__72Z6F",mobileSubnav:"globalNavigation_mobileSubnav__fEQG2",mobileSubnavBack:"globalNavigation_mobileSubnavBack__16RiP",backArrow:"globalNavigation_backArrow__OEHCI",mobileSubnavContent:"globalNavigation_mobileSubnavContent__uFq77",mobileSubnavSection:"globalNavigation_mobileSubnavSection__FMqee",mobileMenuLinkContainer:"globalNavigation_mobileMenuLinkContainer__bodMi",inlineSubnav:"globalNavigation_inlineSubnav__rYSgA",mobileSubnavLink:"globalNavigation_mobileSubnavLink__LJl_6",chevron:"globalNavigation_chevron__FLxoW",chevronOpen:"globalNavigation_chevronOpen__SgjT6",marketingNavCentered:"globalNavigation_marketingNavCentered__j5t3C",fadeIn:"globalNavigation_fadeIn__BTvkx",fadeOut:"globalNavigation_fadeOut__UET7A"}},583784:function(e){e.exports={dialog:"header_dialog__dplE5",mobileNavOpen:"header_mobileNavOpen__GComp",header:"header_header__ts5le",hasPageNav:"header_hasPageNav__YV_iM",hasNotificationVisible:"header_hasNotificationVisible__4_sgc",isScrolled:"header_isScrolled__Hewg_",positionSticky:"header_positionSticky__GQPEM",inner:"header_inner__MsrN6",isRedesigned:"header_isRedesigned__go3Qa",logoWrap:"header_logoWrap__HtTuH",logo:"header_logo__RW0M7",desktopActions:"header_desktopActions__8WAt9",mobileActions:"header_mobileActions__ENxAe",mobileCta:"header_mobileCta__E7st0"}},55282:function(e){e.exports={hoverable:"hoverable_hoverable__9ndMj",clickable:"hoverable_clickable__Pyq_T",isActive:"hoverable_isActive__BELol",fullWidth:"hoverable_fullWidth__2zSZQ",hasAction:"hoverable_hasAction__wCjI7",hasBorder:"hoverable_hasBorder__0V3LK"}},796516:function(e){e.exports={languagePicker:"languagePicker_languagePicker__7tXbz",languagePickerMenu:"languagePicker_languagePickerMenu__o5H7H"}},500593:function(e){e.exports={button:"languagePickerButton_button__QWrdE"}},415181:function(e){e.exports={menu:"menu_menu__rkuLN",placementBottom:"menu_placementBottom__6p9cI",placementBottomStart:"menu_placementBottomStart__RBvSm",placementBottomEnd:"menu_placementBottomEnd__i5mbB"}},310777:function(e){e.exports={menuItemLink:"menuItemLink_menuItemLink__Z27j2"}},573406:function(e){e.exports={actions:"mobileNav_actions__Gr6ql",section:"mobileNav_section__8z2id",sectionLabelLink:"mobileNav_sectionLabelLink__Xp4B_",sectionLabel:"mobileNav_sectionLabel__dYRfM",hasMenu:"mobileNav_hasMenu__fcGEu",darkMode:"mobileNav_darkMode__Q5ix_",isOpen:"mobileNav_isOpen__dtLzm",menuDrawer:"mobileNav_menuDrawer__3cgLA",navSection:"mobileNav_navSection__9wdzs",navSectionTitle:"mobileNav_navSectionTitle__71DLJ",navList:"mobileNav_navList__h5lkj",navItem:"mobileNav_navItem__zBFUj",icon:"mobileNav_icon__t9EaY",label:"mobileNav_label__fFKWC",description:"mobileNav_description__LN4Be",badge:"mobileNav_badge__GZ6I4",downloadWrap:"mobileNav_downloadWrap__R2tQ2",menu:"mobileNav_menu__83rcq"}},461480:function(e){e.exports={option:"option_option__trhct",label:"option_label__gToxX",description:"option_description__h9dkR"}},492034:function(e){e.exports={smallcaps:"smallcaps_smallcaps__B_4vR"}},48511:function(e){e.exports={snackBar:"snackBar_snackBar__IYfOp",snackBarActive:"snackBar_snackBarActive__53Fvf",snackBarContent:"snackBar_snackBarContent__DqGBm"}}}]);