(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{138:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r="https://storage.googleapis.com",a="zync-media",o="assets",l="static",c=function(e){return"".concat([r,a,o,l,e].join("/"))}},153:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(17),a=n.n(r),o=n(53),l=n.n(o),c=n(0),i=n.n(c),u=n(138),s=function(e){var t=e.alt,n=e.iconRef,r=e.assetName,o=l()(e,["alt","iconRef","assetName"]);return i.a.createElement("img",a()({style:{color:"white"},alt:t||"icon",src:Object(u.a)(r),ref:n},o))}},154:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),a=n.n(r),o=n(138),l={Podcast:Object(o.a)("podcast.svg"),Spotify:Object(o.a)("spotify.svg"),Facebook:Object(o.a)("facebook.svg"),Twitter:Object(o.a)("twitter.svg"),LinkedIn:Object(o.a)("linkedin.svg"),YouTube:Object(o.a)("youtube.svg")},c=function(e){var t=e.socialMediaLinks,n=void 0===t?[]:t,r=e.primaryContrast,o=e.title,c=void 0===o?"Find us on":o;return n.some((function(e){return e.url}))?a.a.createElement("div",{className:"relative z-10"},c&&a.a.createElement("h3",{className:"md:text-2xl font-bold font-inter mb-4",style:{color:r}},c),a.a.createElement("div",{className:"flex gap-1.5 items-center w-fit px-2.5 py-1 rounded-full",style:{backgroundColor:r,padding:"0.25rem 0.5rem"}},n.filter((function(e){return e.url})).map((function(e){var t=e.text,n=e.url;return a.a.createElement("a",{key:n,href:n,target:"_blank",rel:"noopener noreferrer"},a.a.createElement("img",{src:l[t],alt:t}))})))):null}},155:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),a=function(e){return Object(r.useEffect)((function(){if(e){var t=document.querySelector("link[rel=icon]"),n=document.querySelector("link[rel=apple-touch-icon]");return t&&(t.href=e),n&&(n.href=e),function(){}}}),[e]),{}}},156:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:[],r=n.length?"/":"";return t?e+t+r+n.join("/"):void 0},a=function(e){return r("https://",e)},o=function(e,t){return r("https://",e,[t,"episode"])},l=function(e,t,n){return r("https://",e,[t,"feed",n])}},169:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(10),a=n.n(r),o=n(0),l=n.n(o),c=function(){return l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},l.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 8V6H21V8H3ZM3 13H21V11H3V13ZM3 18H21V16H3V18Z",fill:"white"}))},i=n(156),u=n(17),s=n.n(u),m=n(153),d=function(e){return l.a.createElement(m.a,s()({assetName:"icon-arrow-up.svg"},e))},f=function(e){var t=e.url,n=e.primaryContrast,r=e.text,c=Object(o.useState)(!1),i=a()(c,2),u=i[0],s=i[1],m={color:n,textDecoration:"underline ".concat(n)},d={color:n};return l.a.createElement("a",{href:t,style:u?m:d,className:"font-inter text-lg font-semibold",onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)},rel:"noopener noreferrer"},r)},p=function(e){var t=e.accentColor,n=e.accentContrast,r=e.cta,c=Object(o.useState)(!1),i=a()(c,2),u=i[0],s=i[1],m=r||{},f=m.url,p=void 0===f?"":f,g=m.text,h=void 0===g?"":g,v={color:n,textDecoration:"underline ".concat(n),backgroundColor:t},x={color:n,backgroundColor:t};return l.a.createElement("a",{href:p,style:u?v:x,className:"font-inter text-lg font-semibold px-6 py-4 rounded-[48px] shadow-100 w-fit",onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)},rel:"noopener noreferrer"},l.a.createElement("div",{className:"flex gap-[5px] items-center"},h,l.a.createElement("div",{className:"rotate-45"},l.a.createElement(d,null))))},g=function(e){var t,n,r,u=e.workspace,s=Object(o.useState)(!1),m=a()(s,2),d=m[0],g=m[1],h=u||{},v=h.brandKit,x=h.integrations,b=v.logoUrl,E=v.primaryColor,y=v.accentColor,w=v.primaryContrast,k=v.accentContrast,j=((x||{}).customDomain||{}).menuItems||{},N=j.logo,O=void 0===N?[]:N,C=j.customLinks,S=void 0===C?[]:C,P=j.cta,M=void 0===P?[]:P;return l.a.createElement("div",{className:"h-[86px] shadow-400 w-full py-4 flex items-center max-h-[86px] justify-center sticky top-0 z-20",style:{backgroundColor:E}},l.a.createElement("div",{className:"flex w-full h-full justify-between max-w-[1220px]"},l.a.createElement("div",{className:"flex items-center h-full"},null!==(t=O[0])&&void 0!==t&&t.url?l.a.createElement("a",{className:"h-full",href:null===(n=O[0])||void 0===n?void 0:n.url,rel:"noopener noreferrer"},l.a.createElement("img",{src:b,alt:"logo",className:"object-contain h-full",style:{height:36,maxHeight:36}})):l.a.createElement("img",{src:b,alt:"logo",className:"object-contain h-full",style:{height:36,maxHeight:36}})),l.a.createElement("div",{className:"flex items-center"},l.a.createElement("button",{className:"md:hidden w-9 h-9 rounded-full flex items-center justify-center",onClick:function(){return g((function(e){return!e}))},style:{backgroundColor:d?"rgba(255, 255, 255, 0.20)":"transparent"}},l.a.createElement(c,null)),l.a.createElement("div",{className:Object(i.a)("md:flex gap-4 md:items-center md:static absolute md:flex-row flex-col left-0 top-[86px] w-full md:p-0 py-4 px-[25px] md:shadow-none shadow-100 z-20",d?"flex":"hidden"),style:{backgroundColor:d?E:"transparent"}},S.map((function(e){var t=e||{},n=t.text,r=void 0===n?"":n,a=t.url,o=void 0===a?"":a;return 0===o.trim().length?null:l.a.createElement(f,{key:o+r,url:o,text:r,primaryContrast:w})})),(null===(r=M[0])||void 0===r?void 0:r.url.length)>0&&l.a.createElement(p,{accentColor:y,accentContrast:k,cta:M[0]})))))}},183:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(15),a=n(0);function o(){var e=Object(r.useLocation)().pathname;return Object(a.useEffect)((function(){window.scrollTo({top:0,left:0,behavior:"instant"})}),[e]),null}},57:function(e,t,n){"use strict";n.r(t);var r=n(0),a=n.n(r),o=n(138),l=n(15),c=n(171),i=n.n(c),u=n(18),s=n(10),m=n.n(s),d=n(155),f=n(172),p=n(182),g=n.n(p),h=n(338),v=n(54),x=n.n(v),b=n(52),E=n.n(b),y=[100,300,400,500,700],w=["Alfa","Balsamiq Sans","Cairo","Caveat","Comfortaa","Corinthia","Cormorant Garamond","Exo","Fuzzy Bubbles","Libre Baskerville","Luxurious Script","Meow Script","Merriweather","Montserrat Alternates","Open Sans","Patua One","Permanent Marker","Playfair Display","Poppins","Raleway","Righteous","Roboto","Roboto Mono","Roboto Slab","Source Sans Pro","Ubuntu","Vollkorn"];w.map((function(e){return{font:e,weights:y}}));function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t=c?"handled":"not-handled"},handlePastedText:function(e){return d.getCurrentContent().getPlainText().length+e.length>c?"handled":"not-handled"},onBlur:function(){return o(v)},stripPastedStyles:!0,handleKeyCommand:function(e){if(e===U)return"handled";var t=f.RichUtils.handleKeyCommand(d,e);return t?(p(t),"handled"):"not-handled"},readOnly:!l,keyBindingFn:D,customStyleMap:S})}},I=n(169),V=n(156),z=n(157),B=n(183),_=n(154),K=function(e){var t=e.speakers;return a.a.createElement("h2",{className:"text-base md:text-3xl font-bold font-inter mb-5 text-[#121212]"},"Featuring ",function(e){var t=e.length;if(0===t)return"";if(1===t)return e[0].fullName;if(2===t)return"".concat(e[0].fullName," and ").concat(e[1].fullName);var n=e.map((function(e){return e.fullName})),r=n.pop();return"".concat(n.join(", "),", and ").concat(r)}(t))},J=function(e){var t=e.recording,n=e.alternateVideoUrl,r=t||{},o=r.playbackUrl,l=r.thumbnailUrl;return a.a.createElement("div",{className:"w-[calc(100%_-_1rem)] mx-auto rounded-[20px] overflow-hidden"},a.a.createElement(i.a,{className:"react-player aspect-video",width:"100%",height:"auto",url:n.trim().length>0?n:o,playing:!0,controls:!0,light:l,loop:!1,volume:1,muted:!1,pip:!1}))},G=function(e){var t=e.summary,n=e.title,r=e.primaryContrast,o=e.socialMediaLinks,l=A({initialValue:t,isActive:!1}).Editor;return a.a.createElement("div",{className:"flex flex-col gap-5 font-inter leading-9"},a.a.createElement("div",null,a.a.createElement("h2",{className:"-mt-6 md:mt-0 text-[#121212] text-xl md:text-2xl font-bold"},n),a.a.createElement(_.a,{primaryContrast:r,socialMediaLinks:o,title:null})),l)};t.default=function(){var e,t,n,c=Object(u.useRouteData)(),i=c.episode,s=c.workspace,f=function(e){var t=(e||{}).mustRegisterToAccessEpisode,n=Object(r.useState)(null),a=m()(n,2),o=a[0],l=a[1];return Object(r.useEffect)((function(){void 0!==t&&l(t)}),[t]),{episodePageData:e,isLoading:!1,meetingSeriesId:e.meetingSeriesId,showAccessForm:o,setShowAccessForm:l}}(i),p=(f.isLoading,f.episodePageData),g=f.meetingSeriesId,h=(f.showAccessForm,f.setShowAccessForm,p||{}),v=h.speakers,x=h.recording,b=h.title,E=h.summary,y=h.highlights,w=void 0===y?[]:y,k=(h.enabledFieldsRsvp,h.thumbnailUrl),j=h.description,N=h.episodeSettingsEpisodeVideoUrl,O=void 0===N?"":N,C=H(j),S=s||{},P=S.workspaceId,M=S.brandKit,R=((S.integrations||{}).customDomain||{}).faviconUrl;if(Object(d.a)(R||(null==M?void 0:M.logoUrl)),!x)return a.a.createElement(a.a.Fragment,null,a.a.createElement(u.Head,null,a.a.createElement("title",null,b),a.a.createElement("meta",{name:"description",content:C}),a.a.createElement("meta",{property:"og:title",content:b}),a.a.createElement("meta",{property:"og:description",content:C}),a.a.createElement("meta",{property:"og:image",content:k}),a.a.createElement("link",{rel:"icon",href:null==M?void 0:M.logoUrl}),a.a.createElement("link",{rel:"apple-touch-icon",href:null==M?void 0:M.logoUrl})),a.a.createElement("div",{className:"flex flex-col justify-center items-center w-full h-full text-purple text-xl font-medium"},a.a.createElement("p",null,"There is no recording available for this episode.")));var T=(null==s||null===(e=s.integrations)||void 0===e||null===(t=e.customDomain)||void 0===t||null===(n=t.menuItems)||void 0===n?void 0:n.socialMedia)||[],F=Object(z.a)(s.settings.domain,g);return a.a.createElement(a.a.Fragment,null,a.a.createElement(B.a,null),a.a.createElement(u.Head,null,a.a.createElement("title",null,b),a.a.createElement("meta",{name:"description",content:C}),a.a.createElement("meta",{property:"og:title",content:b}),a.a.createElement("meta",{property:"og:description",content:C}),a.a.createElement("meta",{property:"og:image",content:k}),a.a.createElement("link",{rel:"canonical",href:F})),a.a.createElement("div",{className:"min-h-full"},a.a.createElement(I.a,{workspace:s}),a.a.createElement("img",{src:Object(o.a)("decoration-dots.png"),alt:"decoration dots",className:"w-[394px] h-[162px] absolute object-contain object-left"}),a.a.createElement("div",{className:"pt-[30px] px-[15px] md:p-[60px] max-w-[1220px] mx-auto"},a.a.createElement("div",{className:"w-[75px] h-[9px] mb-[14px]",style:{backgroundColor:M.primaryColor}}),a.a.createElement("h1",{className:"w-full text-[22px] md:tracking-[-2px] text-[#121212] md:text-[60px] font-extrabold mb-[22px] md:line-clamp-2 font-jakarta",style:{lineHeight:1.25},title:b},b),!(null==v||!v.length)&&a.a.createElement(K,{speakers:v}),a.a.createElement("div",{className:Object(V.a)("flex flex-col md:flex-row gap-5 w-full",w&&0!==(null==w?void 0:w.length)?"":"justify-center")},a.a.createElement("div",{className:"flex flex-col gap-[30px] py-5 md:pr-[60px] w-full md:w-2/3"},a.a.createElement(J,{recording:x,alternateVideoUrl:O}),a.a.createElement("div",{className:"w-[50px] min-h-[6px]",style:{backgroundColor:M.primaryColor}}),a.a.createElement(G,{summary:E,title:b,episodeName:"",showName:"",socialMediaLinks:T,primaryContrast:M.primaryContrast})),!(null==w||!w.length)&&a.a.createElement("div",{className:"flex flex-col gap-5 p-[30px] w-full md:w-[40%] h-fit rounded-[20px] relative"},a.a.createElement("div",{className:"absolute inset-0 isolate -z-10"},a.a.createElement("div",{className:"absolute w-full h-full rounded-2xl",style:{backgroundColor:M.backgroundColor,opacity:.05}}),a.a.createElement("div",{className:"absolute w-full h-full bg-white -z-20 rounded-2xl"})),a.a.createElement("h3",{className:"text-[#121212] text-[24px] font-extrabold md:font-bold tracking-[1.5px]"},"Episode highlights"),w.map((function(e){return a.a.createElement("div",{className:"flex flex-col gap-2.5",key:e.highlightId},a.a.createElement(l.Link,{to:"/".concat(P,"/feed/").concat(e.highlightId),className:"w-full flex flex-col gap-2.5",target:"_blank",rel:"noopener noreferrer"},a.a.createElement("img",{src:e.HIGHLIGHT_THUMBNAIL.imageUrl,alt:"highlight thumbnail",className:"rounded-lg"}),a.a.createElement("h4",{className:"font-inter text-lg font-semibold text-[#121212] mb-3"},e.title)))})))))))}}}]);