"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74597,69405,83259,43554,98544,37098,15934],{969405:function(e,t,n){n.r(t),n.d(t,{AppleLogo:function(){return o}});var r=n(552322);let o=(0,n(164448).defineIcon)({className:"appleLogo",viewBox:"0 0 170 170",svg:(0,r.jsx)("path",{d:"m150.37 130.25c-2.45 5.66-5.35 10.87-8.71 15.66-4.58 6.53-8.33 11.05-11.22 13.56-4.48 4.12-9.28 6.23-14.42 6.35-3.69 0-8.14-1.05-13.32-3.18-5.197-2.12-9.973-3.17-14.34-3.17-4.58 0-9.492 1.05-14.746 3.17-5.262 2.13-9.501 3.24-12.742 3.35-4.929 0.21-9.842-1.96-14.746-6.52-3.13-2.73-7.045-7.41-11.735-14.04-5.032-7.08-9.169-15.29-12.41-24.65-3.471-10.11-5.211-19.9-5.211-29.378 0-10.857 2.346-20.221 7.045-28.068 3.693-6.303 8.606-11.275 14.755-14.925s12.793-5.51 19.948-5.629c3.915 0 9.049 1.211 15.429 3.591 6.362 2.388 10.447 3.599 12.238 3.599 1.339 0 5.877-1.416 13.57-4.239 7.275-2.618 13.415-3.702 18.445-3.275 13.63 1.1 23.87 6.473 30.68 16.153-12.19 7.386-18.22 17.731-18.1 31.002 0.11 10.337 3.86 18.939 11.23 25.769 3.34 3.17 7.07 5.62 11.22 7.36-0.9 2.61-1.85 5.11-2.86 7.51zm-31.26-123.01c0 8.1021-2.96 15.667-8.86 22.669-7.12 8.324-15.732 13.134-25.071 12.375-0.119-0.972-0.188-1.995-0.188-3.07 0-7.778 3.386-16.102 9.399-22.908 3.002-3.446 6.82-6.3113 11.45-8.597 4.62-2.2516 8.99-3.4968 13.1-3.71 0.12 1.0831 0.17 2.1663 0.17 3.2409z"})})},983259:function(e,t,n){n.r(t),n.d(t,{Firefox:function(){return o}});var r=n(552322);let o=(0,n(164448).defineIcon)({className:"firefox",viewBox:"0 0 18 18",svg:(0,r.jsx)("path",{d:"M17.3885 8.22741C17.3637 8.06437 17.3388 7.96847 17.3388 7.96847C17.3388 7.96847 17.2751 8.04237 17.1696 8.18172C17.1368 7.7934 17.0667 7.40915 16.9603 7.03426C16.8269 6.56537 16.6499 6.11001 16.4317 5.67412C16.2944 5.38492 16.1329 5.10788 15.9488 4.84596C15.8826 4.74705 15.8151 4.65114 15.7463 4.55825C15.4247 4.03303 15.0558 3.71204 14.6287 3.10502C14.3506 2.63889 14.1611 2.12535 14.0696 1.59031C13.9525 1.9126 13.8627 2.24416 13.8011 2.5815C13.3628 2.13922 12.9814 1.82499 12.7512 1.61062C11.6156 0.550036 11.7476 0 11.7476 0C11.7476 0 9.62648 2.36769 10.5455 4.83411C10.8625 5.67119 11.4102 6.40134 12.1251 6.94004C13.0141 7.67343 13.9715 8.25054 14.4764 9.7252C14.07 8.94911 13.456 8.30125 12.7027 7.85395C12.9295 8.38919 13.0447 8.96508 13.0412 9.54637C13.0408 10.15 12.9044 10.7458 12.6422 11.2894C12.38 11.8331 11.9987 12.3108 11.5265 12.6869C11.0544 13.063 10.5037 13.3279 9.91515 13.4621C9.32662 13.5962 8.71544 13.596 8.12699 13.4615C7.78067 13.3966 7.44539 13.2827 7.13129 13.123C6.66319 12.8397 6.25731 12.4645 5.93813 12.0201L5.93249 12.0105L6.00357 12.0365C6.16934 12.0939 6.33902 12.1393 6.5113 12.1724C7.193 12.3169 7.90328 12.233 8.53261 11.9338C9.16783 11.5812 9.55257 11.32 9.86454 11.4233H9.87019C10.1748 11.5203 10.4151 11.2247 10.1974 10.9155C10.0129 10.6737 9.76538 10.4872 9.48201 10.3766C9.19864 10.266 8.8903 10.2354 8.59072 10.2882C7.95493 10.3807 7.37218 10.8326 6.53894 10.3948C6.48531 10.3669 6.43315 10.3362 6.38267 10.3029C6.32626 10.2707 6.56151 10.352 6.50679 10.3153C6.32482 10.2241 6.14984 10.1197 5.98326 10.0028C5.97085 9.9926 6.10907 10.0422 6.09609 10.0321C5.88005 9.88505 5.6946 9.69749 5.55 9.4798C5.47626 9.34656 5.43451 9.198 5.42804 9.04585C5.42158 8.89371 5.45059 8.74214 5.51277 8.60313C5.59033 8.46489 5.70849 8.35382 5.85126 8.28495C5.95901 8.33798 6.02557 8.37804 6.02557 8.37804C6.02557 8.37804 5.97649 8.28777 5.94998 8.24039C5.95957 8.237 5.96803 8.24039 5.97762 8.23418C6.07183 8.2748 6.28057 8.38086 6.39057 8.44573C6.46542 8.48732 6.53 8.54515 6.57956 8.61497C6.57956 8.61497 6.61736 8.59636 6.58915 8.51738C6.55049 8.41932 6.48227 8.33572 6.39396 8.27818H6.40298C6.4872 8.32108 6.56761 8.37109 6.64331 8.42768C6.71262 8.26767 6.74538 8.09422 6.73921 7.91995C6.74677 7.82422 6.73349 7.72799 6.70029 7.63789C6.67039 7.58147 6.71721 7.55891 6.76967 7.61814C6.76065 7.57165 6.74567 7.52653 6.72511 7.48388V7.47936C6.72511 7.47936 6.75501 7.44044 6.76855 7.42633C6.80584 7.38935 6.84665 7.3561 6.8904 7.32704C7.15382 7.16406 7.43025 7.02311 7.71686 6.90563C7.95042 6.80352 8.14392 6.72567 8.18341 6.70311C8.24182 6.6653 8.2971 6.62285 8.3487 6.57617C8.543 6.41094 8.67448 6.18383 8.72103 5.93306C8.7261 5.89979 8.7293 5.86626 8.73062 5.83264V5.80443V5.78751V5.78074V5.7734C8.69677 5.64647 8.47789 5.55113 7.33381 5.44395C7.13641 5.41245 6.95297 5.32252 6.80717 5.18576C6.66136 5.04901 6.55988 4.8717 6.51581 4.67672V4.68179C6.49945 4.72354 6.48478 4.76585 6.47012 4.80873C6.48478 4.76642 6.49945 4.7241 6.51581 4.68179V4.67277C6.73351 4.10267 7.1256 3.61582 7.63619 3.2816C7.66553 3.25791 7.51885 3.28781 7.54819 3.26355C7.64542 3.21589 7.74524 3.1737 7.84718 3.13718C7.89852 3.11574 7.62717 3.01194 7.38741 3.03733C7.24041 3.04524 7.096 3.07924 6.96092 3.13774C7.01733 3.08923 7.18657 3.02492 7.14652 3.02492C6.83995 3.08426 6.54576 3.19549 6.27662 3.35381C6.2761 3.32653 6.28189 3.2995 6.29354 3.27483C6.0792 3.36566 5.89189 3.51022 5.74971 3.69455C5.75383 3.662 5.75571 3.6292 5.75535 3.59639C5.65724 3.66955 5.56773 3.75358 5.48851 3.84687L5.48344 3.85082C4.85182 3.60603 4.16331 3.5473 3.49936 3.68157L3.49372 3.6765H3.50049C3.36259 3.56457 3.24355 3.43124 3.1479 3.2816L3.13887 3.28386L3.12815 3.27145C3.08472 3.20713 3.04015 3.13436 2.99445 3.05312C2.96173 2.99671 2.92845 2.9307 2.89516 2.86244C2.89516 2.85793 2.89009 2.85624 2.88783 2.85567C2.87429 2.85567 2.8647 2.91829 2.85342 2.90193V2.89855C2.73712 2.59518 2.68283 2.27156 2.69377 1.94685L2.68474 1.95136C2.49771 2.07953 2.35657 2.26416 2.28194 2.47826C2.24753 2.55555 2.22553 2.59786 2.20296 2.64017C2.20296 2.64356 2.20296 2.63453 2.20296 2.62043C2.20804 2.5815 2.22497 2.50139 2.22102 2.5076C2.21707 2.51381 2.21425 2.51832 2.2103 2.52396C2.1542 2.58748 2.1066 2.65803 2.0687 2.73382C2.03428 2.80305 2.00596 2.87516 1.98408 2.94932C1.98069 2.96117 1.98408 2.93917 1.98408 2.91322C1.98408 2.88727 1.98916 2.84101 1.98408 2.8506L1.97167 2.87485C1.72734 3.41661 1.57482 3.99522 1.52036 4.58702C1.5055 4.68746 1.49965 4.78904 1.50287 4.89053V4.89955C1.32821 5.08992 1.17375 5.29789 1.04197 5.52011C0.601898 6.26344 0.273624 7.06749 0.0676967 7.90642C0.213748 7.5865 0.388401 7.28043 0.589526 6.99195C0.200042 7.98004 5.1334e-05 9.03263 0 10.0947C0.0663437 9.78363 0.151114 9.47676 0.253863 9.17573C0.191081 10.4302 0.432629 11.6813 0.957909 12.8223C1.66222 14.4042 2.83374 15.7326 4.3151 16.6291V16.6291C4.91723 17.0368 5.57657 17.3528 6.27154 17.5667C6.36293 17.6 6.45545 17.6327 6.55022 17.6643C6.52032 17.6525 6.49381 17.6395 6.46391 17.6265C7.28751 17.8736 8.14269 17.9994 9.00254 18C12.0455 18 13.0502 16.8413 13.1428 16.7256C13.2931 16.5898 13.4153 16.4257 13.5021 16.2427V16.2427C13.5608 16.2186 13.62 16.1929 13.6798 16.1654L13.7176 16.1485L13.7859 16.1163C14.2445 15.9002 14.6757 15.6301 15.0704 15.3119C15.6626 14.8876 16.0865 14.2685 16.2681 13.563C16.3759 13.3064 16.3818 13.0183 16.2845 12.7575C16.3157 12.7082 16.3478 12.6555 16.3809 12.5995C17.0343 11.5494 17.405 10.3482 17.4567 9.11255V9.10916C17.4567 9.07588 17.4567 9.04259 17.4567 9.00931C17.4575 8.74715 17.4347 8.48546 17.3885 8.22741V8.22741Z"})})},443554:function(e,t,n){n.r(t),n.d(t,{GoogleChrome:function(){return o}});var r=n(552322);let o=(0,n(164448).defineIcon)({className:"googleChrome",viewBox:"0 0 14 14",svg:(0,r.jsx)("path",{d:"M7,14 C6.80955,14 6.62088,13.9924 6.43428,13.9775 L9.57162,8.54344 C9.5804,8.5288 9.58908,8.51405 9.59766,8.4992 C10.2622,7.34816 10.0773,5.93979 9.23745,5 L13.7101,5 C13.8987,5.63371 14,6.30503 14,7 C14,10.866 10.866,14 7,14 Z M7.09065,4 C6.02314,3.96852 4.97292,4.50947 4.4015,5.4992 C4.29626,5.68148 4.21233,5.87021 4.14892,6.06252 L1.91358,2.19079 C3.18958,0.841703 4.99649,0 7,0 C9.7924,0 12.2029,1.63505 13.3264,4 L7.09065,4 Z M1.23906,3.0225 L4.39037,8.48073 C4.64516,8.93043 5.01959,9.32016 5.49958,9.59728 C6.16481,9.98135 6.916,10.0817 7.61301,9.93584 L5.37591,13.8106 C2.29308,13.0782 0,10.3069 0,7 C0,5.52257 0.457709,4.15205 1.23906,3.0225 Z M9,7 C9,8.10457 8.10457,9 7,9 C5.89543,9 5,8.10457 5,7 C5,5.89543 5.89543,5 7,5 C8.10457,5 9,5.89543 9,7 Z"})})},998544:function(e,t,n){n.r(t),n.d(t,{GoogleLogo:function(){return o}});var r=n(552322);let o=(0,n(164448).defineIcon)({className:"googleLogo",viewBox:"0 0 14 14",svg:(0,r.jsx)("path",{d:"M6.8 5.985V8.4H10.633C10.467 9.415 9.467 11.41 6.8 11.41C4.467 11.41 2.6 9.415 2.6 7C2.6 4.585 4.5 2.59 6.8 2.59C8.133 2.59 9 3.185 9.5 3.675L11.333 1.855C10.167 0.7 8.633 0 6.8 0C3.033 0 0 3.115 0 7C0 10.885 3.033 14 6.8 14C10.733 14 13.3 11.165 13.3 7.175C13.3 6.72 13.267 6.37 13.2 6.02H6.8V5.985V5.985Z"})})},537098:function(e,t,n){n.r(t),n.d(t,{Safari:function(){return o}});var r=n(552322);let o=(0,n(164448).defineIcon)({className:"safari",viewBox:"0 0 18 18",svg:(0,r.jsx)("path",{d:"m9.00464 17.9907c4.92006 0 8.99536-4.0753 8.99536-8.99534 0-4.92006-4.0846-8.99536-9.00464-8.99536-4.92006 0-8.99536 4.0753-8.99536 8.99536 0 4.92004 4.08458 8.99534 9.00464 8.99534zm-3.75039-4.4466c-.61268.2971-1.08612-.195-.79834-.8076l2.49716-5.15218c.14853-.31562.35276-.51057.63125-.64053l5.14288-2.48788c.6591-.31563 1.114.17637.8169.80763l-2.4879 5.14286c-.1392.2971-.3435.5013-.6405.6405zm3.75039-3.4162c.62197 0 1.12326-.50129 1.12326-1.12326s-.50129-1.12326-1.12326-1.12326-1.12326.50129-1.12326 1.12326.50129 1.12326 1.12326 1.12326z"})})},215934:function(e,t,n){n.r(t),n.d(t,{WindowsLogo:function(){return o}});var r=n(552322);let o=(0,n(164448).defineIcon)({className:"windowsLogo",viewBox:"0 0 88 88",svg:(0,r.jsx)("path",{d:"m0,12.402,35.687-4.8602,0.0156,34.423-35.67,0.20313zm35.67,33.529,0.0277,34.453-35.67-4.9041-0.002-29.78zm4.3261-39.025,47.318-6.906,0,41.527-47.318,0.37565zm47.329,39.349-0.0111,41.34-47.318-6.6784-0.0663-34.739z"})})},274597:function(e,t,n){n.d(t,{J:function(){return g}});var r=n(552322),o=n(202784),a=n(772769),s=n(183428),l=n(491414),i=n(969405),C=n(983259),c=n(443554),d=n(998544),p=n(537098),u=n(215934),f=n(152706),x=n(83860),m=n(819126),j=n.n(m),h=n(267523);function g(e){let{variant:t="primary",format:n,title:o,style:s}=e;switch(n){case"windows":return(0,r.jsx)(v,{variant:t,title:o});case"mac":return(0,r.jsx)(w,{variant:t,title:o});case"appStore":return(0,r.jsx)(L,{route:a._j.appStore,variant:t,title:o});case"playStore":return(0,r.jsx)(b,{route:a._j.playStore,variant:t,title:o});case"chromeWebClipper":return(0,r.jsx)(S,{variant:t,title:o,style:s});case"firefoxWebClipper":return(0,r.jsx)(A,{variant:t,title:o,style:s});case"safariWebClipper":return(0,r.jsx)(M,{variant:t,title:o,style:s});case"notionCalendarIOS":return(0,r.jsx)(L,{route:a._j.notionCalendarAppStore,variant:t,title:o});case"notionCalendarAndroid":return(0,r.jsx)(b,{route:a._j.notionCalendarPlayStore,variant:t,title:o});case"notionCalendarWindows":return(0,r.jsx)(_,{variant:t,title:o});case"notionCalendarMac":return(0,r.jsx)(y,{variant:t,title:o})}}function w(e){let{variant:t,title:n}=e,C=(0,x.F)(),c=(0,o.useCallback)(()=>{l.dy(C,{app_platform:"mac-universal"})},[C]);return(0,r.jsxs)(f.z,{href:a._j.downloadMac,variant:t||"secondary",onClick:c,suppressHrefLocale:!0,children:[(0,r.jsx)(i.AppleLogo,{style:k})," ",n||(0,r.jsx)(s._H,{id:"downloadMacLabel",defaultMessage:"Download for Mac"})]})}function v(e){let{variant:t,title:n}=e,i=(0,x.F)(),C=(0,o.useCallback)(()=>{l.dy(i,{app_platform:"windows"})},[i]);return(0,r.jsxs)(f.z,{href:a._j.downloadWindows,variant:t||"secondary",onClick:C,suppressHrefLocale:!0,children:[(0,r.jsx)(u.WindowsLogo,{style:H})," ",n||(0,r.jsx)(s._H,{id:"downloadWindowsLabel",defaultMessage:"Download for Windows"})]})}function _(e){let{variant:t,title:n}=e,i=(0,x.F)(),C=(0,o.useCallback)(()=>{l.dy(i,{app_platform:"windows"})},[i]);return(0,r.jsxs)(f.z,{href:a._j.downloadCalendarWindows,variant:t||"secondary",onClick:C,suppressHrefLocale:!0,children:[(0,r.jsx)(u.WindowsLogo,{style:H})," ",n||(0,r.jsx)(s._H,{id:"downloadWindowsLabel",defaultMessage:"Download for Windows"})]})}function y(e){let{variant:t="secondary",title:n}=e,C=(0,x.F)(),c=(0,o.useCallback)(()=>{l.dy(C,{app_platform:"mac-universal"})},[C]);return(0,r.jsxs)(f.z,{href:a._j.downloadCalendarMac,variant:t,onClick:c,suppressHrefLocale:!0,children:[(0,r.jsx)(i.AppleLogo,{style:k})," ",n||(0,r.jsx)(s._H,{id:"appleAppStoreLabel",defaultMessage:"Apple App Store",description:"The name of Apple's app store. Appears in an app download button."})]})}function L(e){let{route:t,variant:n,title:C}=e,c=(0,x.F)(),d=(0,o.useCallback)(()=>{t===a._j.appStore?l.MU(c):t===a._j.notionCalendarAppStore&&l.Pd(c)},[c,t]);return(0,r.jsxs)(f.z,{href:t,variant:n||"secondary",onClick:d,suppressHrefLocale:!0,children:[(0,r.jsx)(i.AppleLogo,{style:k})," ",C||(0,r.jsx)(s._H,{id:"appleAppStoreLabel",defaultMessage:"Apple App Store",description:"The name of Apple's app store. Appears in an app download button."})]})}function b(e){let{route:t,variant:n,title:i}=e,C=function(e){let{urlAnalytics:t}=(0,h.O)(),n=(0,o.useMemo)(()=>t?{utm_source:t.utm_source,utm_medium:t.utm_medium,utm_campaign:t.utm_campaign,utm_term:t.utm_term,utm_content:t.utm_content}:void 0,[t]);return(0,o.useMemo)(()=>{let t=new URL(e),r=Object.fromEntries(Object.entries(n??{}).filter(e=>{let[t]=e;return t.startsWith("utm_")}));return t.searchParams.set("referrer",j().stringify({...r,referer:"undefined"!=typeof document?document.referrer:""})),t.href},[n,e])}(t),c=(0,x.F)(),p=(0,o.useCallback)(()=>{t===a._j.playStore?l.ld(c):t===a._j.notionCalendarPlayStore&&l.rv(c)},[c,t]);return(0,r.jsxs)(f.z,{href:C,variant:n||"secondary",onClick:p,children:[(0,r.jsx)(d.GoogleLogo,{style:k}),i||(0,r.jsx)(s._H,{id:"AppButtonPlayStore.googleAppStore",defaultMessage:"Google App Store",description:"The name of Google's App Store appearing in an app download button."})]})}function S(e){let{variant:t,title:n,style:i}=e,C=(0,x.F)(),d=(0,o.useCallback)(()=>{l.JY(C)},[C]),p=a._j.prodChromeExtension;return(0,r.jsxs)(f.z,{variant:t||"secondary",onClick:d,style:i,href:p,children:[(0,r.jsx)(c.GoogleChrome,{style:z})," ",n||(0,r.jsx)(s._H,{id:"installChromeWebClipperLabel",defaultMessage:"Install for Chrome",description:"Do not extend beyond 20 characters"})]})}function A(e){let{variant:t,title:n,style:i}=e,c=(0,x.F)(),d=(0,o.useCallback)(()=>{l.JY(c)},[c]),p=a._j.prodFirefoxExtension;return(0,r.jsxs)(f.z,{variant:t||"secondary",onClick:d,style:i,href:p,children:[(0,r.jsx)(C.Firefox,{style:z})," ",n||(0,r.jsx)(s._H,{id:"installFirefoxWebClipperLabel",defaultMessage:"Install for Firefox",description:"Do not extend beyond 20 characters"})]})}function M(e){let{variant:t,title:n,style:i}=e,C=(0,x.F)(),c=(0,o.useCallback)(()=>{l.JY(C)},[C]),d=a._j.prodSafariExtension;return(0,r.jsxs)(f.z,{variant:t||"secondary",onClick:c,style:i,href:d,children:[(0,r.jsx)(p.Safari,{style:z})," ",n||(0,r.jsx)(s._H,{id:"appButton.installSafariWebClipper.label",defaultMessage:"Install for Safari",description:"Do not extend beyond 20 characters"})]})}let k={fill:"currentColor",width:16,height:16,marginRight:6},H={fill:"currentColor",width:14,height:14,marginRight:8},z={fill:"currentColor",width:16,height:16,marginRight:8}},267523:function(e,t,n){n.d(t,{O:function(){return a}});var r=n(202784),o=n(165379);function a(){let e=(0,r.useContext)(o.fC);if(!e)throw Error("useAnalyticsContext must be used within an AnalyticsProvider");return e}}}]);