(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2113,32085,63139],{832085:function(e,s,t){"use strict";t.r(s),t.d(s,{ArrowNorthEast:function(){return n}});var l=t(552322);let n=(0,t(164448).defineIcon)({className:"arrowNorthEast",viewBox:"0 0 14 14",svg:(0,l.jsx)("path",{d:"M4.5 1v2h5.086L1 11.586 2.414 13 11 4.414V9.5h2V1H4.5Z",fill:"currentColor"})})},663139:function(e,s,t){"use strict";t.r(s),t.d(s,{ToggleArrow:function(){return n}});var l=t(552322);let n=(0,t(164448).defineIcon)({className:"toggleArrow",viewBox:"0 0 15 15",svg:(0,l.jsx)("path",{d:"M1.77.885L13.23 7.5 1.77 14.115V.885z"})})},299433:function(e,s,t){"use strict";t.d(s,{x:function(){return u}});var l=t(552322),n=t(509020),i=t(855910),a=t(293086),r=t(938101),o=t(962093),c=t(390262),d=t(120888),h=t(233982);function u(e){let{illustration:s,title:t,subTitle:u,children:g}=e,{isMobile:p}=(0,d.G)();return(0,l.jsx)("section",{className:h.illustrationHero,children:(0,l.jsxs)(i.D,{rowGap:"s",children:[(0,l.jsxs)(a.H,{tag:"header",customSpan:{xs:10,s:10,m:8,l:7,xl:6},customStart:{xs:1,s:2,m:1,l:1,xl:1},customOrder:{xs:2,s:2,m:1,l:1,xl:1},children:[t&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.D,{level:"h1",size:p?"l":"xl",children:t}),(0,l.jsx)(r.L,{height:12})]}),u&&(0,l.jsxs)("span",{className:h.heroSubtitle,children:[(0,l.jsx)(o.x,{tag:"p",children:u}),(0,l.jsx)(r.L,{height:20})]}),g]}),s&&s.src&&(0,l.jsx)(a.H,{tag:"picture",customSpan:{xs:6,s:6,m:3,l:3,xl:2},customStart:{xs:4,s:4,m:10,l:10,xl:11},customOrder:{xs:1,s:1,m:2,l:2,xl:2},children:(0,l.jsx)("div",{className:h.illustration,children:(0,l.jsx)(n.E,{src:s.src,width:s.width||0,height:s.height||0,layout:s.width&&s.height?"intrinsic":"responsive",alt:""})})})]})})}},927589:function(e,s,t){"use strict";t.d(s,{C:function(){return b}});var l=t(552322),n=t(72779),i=t.n(n),a=t(239097),r=t.n(a),o=t(996974),c=t(183428),d=t(152706),h=t(307335),u=t(509020),g=t(787923),p=t(522991),m=t(938101),x=t(962093),_=t(390262),f=t(643281),j=t(120888),v=t(606898);function b(e){var s,t,n;let a;let{title:b,description:S,slug:C,notionAcademyLessons:M,callout:N,lessonsToShow:L,layout:y="full",cta:w}=e,k=void 0!==M?M.length:0,I=L&&k-L,{isMobile:H}=(0,j.G)();return M&&(null==M?void 0:M.length)>0&&(a=M[0]),(0,l.jsxs)("section",{className:i()(v.lessonModule,{"lesson-module-condensed":"condensed"===y,"lesson-module-full":"full"===y}),children:[(0,l.jsxs)("article",{className:v.lessonModuleLessons,children:[(0,l.jsxs)("header",{className:v.lessonModuleHeader,children:["readMore"===w&&(0,l.jsx)(x.x,{size:"body",fontWeight:"semibold",tag:"small",color:"red",children:(0,l.jsx)(c._H,{defaultMessage:"Up next",id:"helpCenterLessonModule.header.upNext",description:"A call to action imploring a reader to take an action"})}),b&&(0,l.jsx)(_.D,{level:"h2",size:H||"condensed"===y?"xs":"m",children:(0,l.jsx)(g.u,{underline:"none",href:(0,f.Ic)(`notion-academy/course/${C}`),eventData:{name:"help_center_lesson"},children:b})}),S&&"full"===y&&(0,l.jsx)("span",{className:v.lessonModuleSubtitle,children:(0,l.jsx)(x.x,{tag:"p",children:S})})]}),(0,l.jsx)(x.x,{fontWeight:"regular",size:"footnote",tag:"small",color:"light",children:(0,l.jsx)(c._H,{id:"helpCenterLessonModule.footer.totalLessons",description:"The amount of lessons in a course",values:{count:k,totalLessons:k},defaultMessage:(0,c.Ho)("count",{one:"{totalLessons} lesson",other:"{count} lessons"})})}),M&&(0,l.jsxs)("nav",{children:[M.map((e,s)=>{if(void 0!==L&&L<=s)return null;let{title:t,slug:n,duration:i}=e;return(0,l.jsx)("section",{className:v.lessonModuleLesson,children:t&&(0,l.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:(0,f.Ic)(`notion-academy/lesson/${n}`),children:(0,l.jsxs)("a",{children:[(0,l.jsx)(x.x,{fontWeight:"semibold",size:"body",tag:"span",children:t}),i&&(0,l.jsx)("time",{dateTime:`HMS:${i}`,children:(0,l.jsx)(x.x,{fontWeight:"regular",size:"body",tag:"span",color:"light",children:i})})]})})},`lesson-${e.id}`)}),void 0!==I&&I>0&&(0,l.jsx)("footer",{className:v.lessonModuleLessonFooter,children:(0,l.jsx)(g.u,{underline:"none",href:(0,f.Ic)(`notion-academy/course/${C}`),eventData:{name:"remaining_lessons"},children:(0,l.jsx)(x.x,{fontWeight:"regular",size:"caption",tag:"span",color:"light",children:(0,l.jsx)(c._H,{id:"helpCenterLessonModule.footer.remainingLessons",defaultMessage:"{remainingLessons} more…",description:"The amount of lessons remaining in a course",values:{remainingLessons:I}})})})})]})]}),a&&(null==a?void 0:a.heroVideo)&&(0,l.jsxs)("figure",{className:v.lessonModulePreview,children:[(0,l.jsx)("picture",{className:v.lessonModulePoster,children:(0,l.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:(0,f.Ic)(`notion-academy/lesson/${null==a?void 0:a.slug}`),children:(0,l.jsxs)("a",{children:[(0,l.jsx)("span",{className:v.lessonModuleIcon,children:(0,l.jsx)(p.J,{size:"l"})}),(0,l.jsx)(u.E,{src:(0,o.px)(null==a?void 0:null===(s=a.heroVideo)||void 0===s?void 0:s.videoId),layout:"fill",className:v.image,alt:""})]})})}),(0,l.jsx)("figcaption",{children:(0,l.jsx)(x.x,{size:"footnote",tag:"p",fontWeight:"regular",color:"medium",children:null==a?void 0:a.title})})]}),N&&(0,l.jsxs)("footer",{className:v.footnote,children:[(0,l.jsx)(x.x,{size:"body",tag:"p",fontWeight:"bold",children:N.title}),(0,l.jsx)(h.m,{fontSize:"s",document:N.body,color:"medium"}),(null===(t=N.cta)||void 0===t?void 0:t.url)&&(null===(n=N.cta)||void 0===n?void 0:n.text)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(m.L,{height:12}),(0,l.jsx)(d.z,{arrowType:"right",variant:"primary",href:N.cta.url,children:N.cta.text})]})]})]})}},675672:function(e,s,t){"use strict";t.d(s,{k:function(){return N}});var l=t(552322),n=t(239097),i=t.n(n),a=t(202784),r=t(772769),o=t(183428),c=t(240926),d=t(491414),h=t(387430),u=t(832085),g=t(475312),p=t(509020),m=t(246569),x=t(172467),_=t(33527),f=t(875362),j=t(643281),v=t(762375),b=t(757800),S=t(707155),C=t(60445),M=t(997804);function N(e){let{contentTree:s,guidesTagGroup:t,locale:n,notionAcademyCourses:N,pills:L}=e,y=(0,S.j)()??"",w=(0,o.YB)(),[k,I]=(0,a.useState)(!1),H=(0,a.useRef)(null),B=(0,b.z)("help_center_redesign_v2"),T=!["/help","/help/results"].includes(y)||!B,P=null==t?void 0:t.fields.tags.filter(c.lm).map(e=>({name:e.fields.name,slug:e.fields.slug,url:`${r._j.help}/guides/category/${e.fields.slug}`})),z=null==N?void 0:N.map(e=>({name:e.title,slug:e.slug,url:`${r._j.help}/notion-academy/course/${e.slug}`})),A=w.formatMessage({id:"helpCenter.sideBar.guide.subtitle",defaultMessage:"Step by step tutorials",description:"Subtitle for Guide section of help sidebar"},{localizedNotion:(0,v.w)(n)}),E=w.formatMessage({id:"helpCenter.sideBar.academy.subtitle",defaultMessage:"Grow with Notion",description:"Subtitle for Notion Academy section of help sidebar"},{localizedNotion:(0,v.w)(n)});return(0,l.jsxs)("section",{className:M.helpCenterSidebarContent,children:[(0,l.jsx)("section",{className:M.helpCenterSidebarSearch,children:T&&(0,l.jsx)(x.u,{ref:H,alignment:"flex-start",marginTop:"160",modalTrigger:(0,l.jsx)(m.I,{readOnly:!0,name:"search",before:(0,l.jsx)(g.SearchThick,{style:{display:"block",fill:"var(color-text-light)",width:14,height:14}}),"aria-label":w.formatMessage({id:"search.accessibleLabel",description:"Accessible label for a search bar",defaultMessage:"Search"}),placeholder:w.formatMessage({id:"helpArticlePage.StickySidebar.search.placeholder",defaultMessage:"Search",description:"Action prompting the user to search for content"})}),children:(0,l.jsx)(C.Z,{onClose:()=>{H.current&&H.current.closeModal()},pills:L})},"help-center-sidebar-search-modal")}),(0,l.jsxs)("nav",{className:M.helpCenterSidebarNav,children:[(0,l.jsxs)("section",{className:M.navSection,children:[(0,l.jsxs)("section",{className:M.navSectionTitle,children:[(0,l.jsx)("picture",{className:M.navImage,children:(0,l.jsx)(p.E,{src:h.Z.shared.illustrations.referenceBadgeSmallPng,width:44,height:35,alt:""})}),(0,l.jsx)("header",{children:(0,l.jsxs)(i(),{prefetch:!1,className:M.navTitleLink,href:(0,j.Ic)("reference"),onClick:()=>(0,d._g)({name:"help_center_preview_link",label:"Help Center Learn",href:(0,j.Ic)("reference")}),children:[(0,l.jsx)(f.Z,{as:"span",variant:"sans-100-bold",children:(0,l.jsx)(o._H,{defaultMessage:"Help",id:"helpCenter.sideBar.reference.title",description:"Title for Reference section of help sidebar"})}),(0,l.jsx)(f.Z,{as:"span",variant:"sans-100-regular",color:"text-medium",children:(0,l.jsx)("span",{className:M.navSubtitle,children:(0,l.jsx)(o._H,{defaultMessage:"Reference docs",id:"helpCenter.sideBar.reference.subtitle",description:"Subtitle for Reference section of help sidebar"})})})]})})]}),s&&s.map((e,s)=>(0,l.jsx)(_.k,{buttonText:e.name,buttonURL:(0,j.Ic)(`category/${e.slug}`),entries:e.entries,callback:I,status:k?"closed":"resting"},`${e.name}-${s}`))]}),(0,l.jsxs)("section",{className:M.navSection,children:[(0,l.jsxs)("section",{className:M.navSectionTitle,children:[(0,l.jsx)("picture",{className:M.navImage,children:(0,l.jsx)(p.E,{src:h.Z.shared.illustrations.guidesBadgeSmallPng,width:44,height:35,alt:""})}),(0,l.jsx)("header",{children:(0,l.jsxs)(i(),{prefetch:!1,href:(0,j.Ic)("guides"),className:M.navTitleLink,onClick:()=>(0,d._g)({name:"help_center_preview_link",label:"Help Center Guides",href:(0,j.Ic)("guides")}),children:[(0,l.jsx)(f.Z,{as:"span",variant:"sans-100-bold",children:(0,l.jsx)("span",{children:(0,l.jsx)(o._H,{defaultMessage:"Guides",description:"Title for guide section of help sidebar",id:"helpCenter.sideBar.guide.title"})})}),(0,l.jsx)(f.Z,{as:"span",variant:"sans-100-regular",color:"text-medium",children:(0,l.jsx)("span",{className:M.navSubtitle,children:A})})]})})]}),(null==P?void 0:P.length)&&(0,l.jsx)(_.k,{entries:P,buttonText:w.formatMessage({id:"helpCenter.sideBar.academy.categories.useCase",defaultMessage:"Browse by use case",description:"Notion academy guides category"}),buttonURL:(0,j.Ic)("guides"),callback:I,status:k?"closed":"resting",showPreview:!0})]}),(0,l.jsxs)("section",{className:M.navSection,children:[(0,l.jsxs)("section",{className:M.navSectionTitle,children:[(0,l.jsx)("picture",{className:M.navImage,children:(0,l.jsx)(p.E,{src:h.Z.shared.illustrations.notionAcademyBadgePng,width:44,height:35,alt:""})}),(0,l.jsx)("header",{children:(0,l.jsxs)(i(),{prefetch:!1,href:(0,j.Ic)("notion-academy"),className:M.navTitleLink,onClick:()=>(0,d._g)({name:"help_center_preview_link",label:"Help Center Notion Academy",href:(0,j.Ic)("notion-academy")}),children:[(0,l.jsx)(f.Z,{as:"span",variant:"sans-100-bold",children:(0,l.jsx)("span",{children:(0,l.jsx)(o._H,{defaultMessage:"Notion Academy",description:"Title for notion academy section of help sidebar",id:"helpCenter.sideBar.notionAcademy.title"})})}),(0,l.jsx)(f.Z,{as:"span",variant:"sans-100-regular",color:"text-medium",children:(0,l.jsx)("span",{className:M.navSubtitle,children:E})})]})})]}),(null==z?void 0:z.length)&&(0,l.jsx)(_.k,{entries:z,buttonText:w.formatMessage({id:"helpCenter.sideBar.academy.categories.notionAcademy",defaultMessage:"All courses",description:"Notion academy guides category"}),buttonURL:(0,j.Ic)("notion-academy"),callback:I,status:k?"closed":"resting",showPreview:!0})]}),(0,l.jsx)("section",{className:M.navSection,children:(0,l.jsxs)("section",{className:M.navSectionTitle,children:[(0,l.jsx)("picture",{className:M.navImage,children:(0,l.jsx)(p.E,{src:h.Z.shared.illustrations.apiBadgeSmallPng,width:44,height:35,alt:""})}),(0,l.jsx)("header",{children:(0,l.jsxs)("a",{className:M.navTitleLink,href:r.$e.developerPortal,target:"_blank",onClick:()=>(0,d._g)({name:"help_center_sidebar_link",label:"Notion Developer Portal",href:r.$e.developerPortal}),children:[(0,l.jsxs)(f.Z,{as:"span",variant:"sans-100-bold",children:[(0,l.jsx)("span",{children:(0,l.jsx)(o._H,{defaultMessage:"API",id:"helpCenter.sideBar.api.title"})}),(0,l.jsx)(u.ArrowNorthEast,{style:{display:"inline",fill:"var(color-text-light)",width:10,height:10,marginLeft:3}})]}),(0,l.jsx)(f.Z,{as:"span",variant:"sans-100-regular",color:"text-medium",children:(0,l.jsx)("span",{className:M.navSubtitle,children:(0,l.jsx)(o._H,{defaultMessage:"Create integrations",id:"helpCenter.sideBar.api.subtitle"})})})]})})]})})]})]})}},702393:function(e,s,t){"use strict";t.d(s,{H:function(){return p}});var l=t(552322),n=t(72779),i=t.n(n),a=t(682876),r=t(202784),o=t(183428),c=t(491414),d=t(314750),h=t(757800),u=t(292586),g=t(413151);function p(){let e=(0,o.YB)(),s=(0,a.useRouter)(),[t,n]=(0,r.useState)(""),p=!(0,u.k)().m,m=(0,h.z)("help_center_redesign_v2");return p&&m?(0,l.jsx)("div",{className:g.mobileSearchContainer,children:(0,l.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),t.trim()){(0,c._y)({query:t,from:"mobile_search"});let e=new URLSearchParams({q:t});s.push(`/help/results?${e.toString()}`)}},className:g.mobileSearchForm,children:[(0,l.jsx)("span",{className:g.searchIcon,children:(0,l.jsx)(d.W,{style:{display:"block",fill:"var(--color-text-light)",width:24,height:24}})}),(0,l.jsx)("input",{value:t,"aria-label":e.formatMessage({id:"search.accessibleLabel",description:"Accessible label for a search bar",defaultMessage:"Search"}),placeholder:e.formatMessage({id:"helpArticlePage.StickySidebar.search.placeholder",defaultMessage:"Search",description:"Action prompting the user to search for content"}),onChange:e=>n(e.target.value),className:i()(g.searchInput)})]})}):null}},33527:function(e,s,t){"use strict";t.d(s,{k:function(){return m}});var l=t(552322),n=t(72779),i=t.n(n),a=t(239097),r=t.n(a),o=t(202784),c=t(183428),d=t(491414),h=t(832085),u=t(663139),g=t(962093),p=t(708487);function m(e){let{buttonText:s,buttonURL:t,callback:n,entries:a,toggle:u=!1,status:m="resting",showPreview:_}=e,[f,j]=(0,o.useState)(u),v=(0,c.YB)().formatMessage({defaultMessage:"Expand {buttonText} section",id:"toggleList.buttonText.toggle"},{buttonText:s});(0,o.useEffect)(()=>{n&&n(f)},[n,f]);let b=null==a?void 0:a[0];return void 0===a?null:(0,l.jsxs)("dl",{className:p.toggleList,children:[(0,l.jsxs)("dt",{"data-toggled":f,className:p.toggle,children:[(0,l.jsx)("button",{onClick:()=>j(e=>!e),"data-toggled":f,className:p.toggleButton,type:"button","aria-label":v,title:v,children:(0,l.jsx)("span",{className:p.toggleIconContainer,children:(0,l.jsx)("span",{className:p.toggleIcon,children:(0,l.jsx)(x,{})})})}),(0,l.jsx)(g.x,{tag:"span",size:"caption",color:"medium",children:(0,l.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:t,children:(0,l.jsx)("a",{className:p.link,onClick:()=>{(0,d._g)({name:"toggle_list_button_link",href:t,label:s})},children:s})})})]}),_&&(0,l.jsxs)("dd",{className:i()(p.toggleListPreview,p.toggleListDescription),"data-toggled":f,children:[(0,l.jsx)("span",{className:p.previewIcon,children:(0,l.jsx)(h.ArrowNorthEast,{style:{display:"block",fill:"rgba(0,0,0,0.4)",width:10,height:10}})}),b.url&&(0,l.jsx)(g.x,{tag:"span",size:"caption",color:"medium",children:(0,l.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:b.url,children:(0,l.jsx)("a",{className:p.link,onClick:()=>{(0,d._g)({name:"toggle_list_entry_link",href:b.url,label:b.name})},children:b.name})})})]}),null==a?void 0:a.map(e=>(0,l.jsx)("dd",{className:p.toggleListDescription,"data-toggled":f,children:(null==e?void 0:e.url)&&(0,l.jsx)(g.x,{tag:"span",size:"caption",color:"medium",children:(0,l.jsx)(r(),{prefetch:!1,legacyBehavior:!0,href:e.url,children:(0,l.jsx)("a",{className:p.link,onClick:()=>{(0,d._g)({name:"toggle_list_entry_link",href:e.url,label:e.name})},children:e.name})})})},`${e.name}-${e.url}`))]})}function x(){return(0,l.jsx)(u.ToggleArrow,{style:{display:"inline",height:8,width:8}})}},120888:function(e,s,t){"use strict";t.d(s,{G:function(){return a}});var l=t(202784),n=t(278338),i=t(698964);function a(){let[e,s]=(0,l.useState)(!1);return l.useEffect(()=>{let e=()=>{window.outerWidthwindow.removeEventListener("resize",t)},[]),{isMobile:e}}},997804:function(e){e.exports={helpCenterSidebarContent:"HelpCenterSidebarContent_helpCenterSidebarContent__rRBk7",helpCenterSidebarSearch:"HelpCenterSidebarContent_helpCenterSidebarSearch__c73to",helpCenterSidebarNav:"HelpCenterSidebarContent_helpCenterSidebarNav__wOAY1",navSection:"HelpCenterSidebarContent_navSection__fb5g3",navSectionTitle:"HelpCenterSidebarContent_navSectionTitle__HHoQS",navImage:"HelpCenterSidebarContent_navImage__Pq9BR",navTitleLink:"HelpCenterSidebarContent_navTitleLink__PEEjz",navSubtitle:"HelpCenterSidebarContent_navSubtitle__OR3nf"}},413151:function(e){e.exports={mobileSearchContainer:"MobileSearchInput_mobileSearchContainer___VW8U",mobileSearchForm:"MobileSearchInput_mobileSearchForm___L1cq",searchIcon:"MobileSearchInput_searchIcon__Xk3pr",searchInput:"MobileSearchInput_searchInput__5_1LB"}},233982:function(e){e.exports={illustrationHero:"helpCenterIllustrationHero_illustrationHero__yT9fo",illustration:"helpCenterIllustrationHero_illustration___dUQt",heroSubtitle:"helpCenterIllustrationHero_heroSubtitle__8QDaX"}},606898:function(e){e.exports={footnote:"helpCenterLessonModule_footnote__hsjeU",lessonModule:"helpCenterLessonModule_lessonModule__hp30o",lessonModuleHeader:"helpCenterLessonModule_lessonModuleHeader__BJEMH",lessonModuleSubtitle:"helpCenterLessonModule_lessonModuleSubtitle__sdVny",lessonModulePoster:"helpCenterLessonModule_lessonModulePoster__XRxGd",lessonModulePreview:"helpCenterLessonModule_lessonModulePreview__CT4WV",lessonModuleIcon:"helpCenterLessonModule_lessonModuleIcon__0rOXf",lessonModuleLesson:"helpCenterLessonModule_lessonModuleLesson__iBziH",lessonModuleLessonFooter:"helpCenterLessonModule_lessonModuleLessonFooter__i6E5w",lessonModuleLessons:"helpCenterLessonModule_lessonModuleLessons__TPft6",image:"helpCenterLessonModule_image__ReQas"}},708487:function(e){e.exports={toggleList:"toggleList_toggleList__X4yHc",toggleListDescription:"toggleList_toggleListDescription___3yk5",toggleListPreview:"toggleList_toggleListPreview__yT9hJ",previewIcon:"toggleList_previewIcon__B_KC2",toggle:"toggleList_toggle__2BG0K",toggleButton:"toggleList_toggleButton__ChT62",toggleIconContainer:"toggleList_toggleIconContainer__pRUKZ",toggleIcon:"toggleList_toggleIcon__2B9O_",link:"toggleList_link__safdF"}}}]);