(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4507],{60911:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n,o,a=r(92777),i=r(82262),c=r(10748),l=r(45959),d=r(63553),u=r(37247),f=r(59499),p=r(67294),m=r(47166),h=r.n(m),v=r(22676),_=r.n(v);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}var b=function(e){return p.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:192,height:192,viewBox:"0 0 256 256",role:"img"},e),n||(n=p.createElement("path",{d:"M48 128V40a8 8 0 0 1 8-8h96l56 56v40",fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:16})),o||(o=p.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:16,d:"M152 32v56h56M48 200h16a16 16 0 0 0 0-32H48v48M216 168h-28v48M212 196h-24M128 216a24 24 0 0 0 0-48h-14v48Z"})))},y=r(85893);function j(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,u.Z)(e);if(t){var s=(0,u.Z)(this).constructor;r=Reflect.construct(n,arguments,s)}else r=n.apply(this,arguments);return(0,d.Z)(this,r)}}var x=h().bind(_()),w=function(e){(0,l.Z)(r,e);var t=j(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return e=t.call.apply(t,[this].concat(s)),(0,f.Z)((0,c.Z)(e),"state",{success:!1}),(0,f.Z)((0,c.Z)(e),"handleSuccess",(function(){var t=e.props.onSuccess;e.setState({loading:!1,success:!0}),t&&t()})),e}return(0,i.Z)(r,[{key:"componentDidMount",value:function(){var e=this,t=this.props,r=t.formId,n=t.sfdcCampaignId,o=document.createElement("script");o.src="https://js.hsforms.net/forms/v2.js",document.body.appendChild(o),o.addEventListener("load",(function(){window.hbspt&&window.hbspt.forms.create({portalId:"20523749",formId:r,sfdcCampaignId:n,target:"#hubspotForm",onFormSubmit:function(t){setTimeout((function(){e.handleSuccess()}),1200)}})})),window.jQuery=window.jQuery||function(e){return"string"==typeof e?document.querySelector(s):e}}},{key:"render",value:function(){var e=this.state.success,t=this.props,r=t.title,n=t.successMessage,s=t.downloadAsset,o=void 0===s?null:s;return(0,y.jsxs)("div",{className:x("root"),children:[(0,y.jsxs)("div",{className:x("form-wrapper",{hidden:e}),children:[r&&(0,y.jsx)("h3",{children:r}),(0,y.jsx)("div",{id:"hubspotForm"})]}),e&&(0,y.jsxs)("div",{className:x("success-message",{has_download:o}),children:[n||"Thank you.",o&&(0,y.jsxs)("a",{className:x("download-button"),href:o.fields.file.url,target:"_blank",download:!0,children:[(0,y.jsx)(b,{height:24,width:24}),o.fields.title]})]})]})}}]),r}(p.PureComponent),O=w},55294:function(e,t,r){"use strict";var n=r(92777),s=r(82262),o=r(10748),a=r(45959),i=r(63553),c=r(37247),l=r(59499),d=r(67294),u=r(47166),f=r.n(u),p=r(80569),m=r.n(p),h=r(9980),v=r.n(h),_=r(67315),g=r.n(_),b=r(85893);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,l.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,c.Z)(e);if(t){var s=(0,c.Z)(this).constructor;r=Reflect.construct(n,arguments,s)}else r=n.apply(this,arguments);return(0,i.Z)(this,r)}}var w=f().bind(g()),O=function(e){(0,a.Z)(r,e);var t=x(r);function r(){var e;(0,n.Z)(this,r);for(var s=arguments.length,a=new Array(s),i=0;i<s;i++)a[i]=arguments[i];return e=t.call.apply(t,[this].concat(a)),(0,l.Z)((0,o.Z)(e),"state",{formData:{},loading:!1,success:!1,error:null}),(0,l.Z)((0,o.Z)(e),"handleChange",(function(t){var r=e.state.formData,n=j({},r);if(["email","EMAIL","MMERGE0"].includes(t.target.name))n=j(j({},r),{},{email:t.target.value});else{var s=r.mergeFields||{};n=j(j({},r),{},{mergeFields:j(j({},s),{},(0,l.Z)({},t.target.name,t.target.value))})}e.setState({formData:n,error:null})})),(0,l.Z)((0,o.Z)(e),"handleSuccess",(function(){var t=e.props.onSuccess;e.setState({loading:!1,success:!0}),t&&t()})),(0,l.Z)((0,o.Z)(e),"submit",(function(t){var r=e.state,n=r.formData,s=r.loading,o=r.success;t&&t.preventDefault(),s||o||(e.setState({error:null,loading:!0,success:null}),m().post("/api/subscribe").query(n).end((function(t,r){if(t)e.setState({loading:!1,error:"An error occurred"});else{var n=r.body.error;if(n){var s;switch(n.title){case"Member Exists":return void e.handleSuccess();case"Invalid Resource":s="Please enter a valid address";break;default:s="An error occurred"}return e.setState({loading:!1,error:s}),void setTimeout((function(){e.setState({loading:!1,error:null,formData:{}})}),2500)}e.handleSuccess()}})))})),e}return(0,s.Z)(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.listId,r=e.tags,n=this.state.formData;t&&this.setState({formData:j(j({},n),{},{listId:t,tags:r})})}},{key:"render",value:function(){var e=this,t=this.state,r=t.success,n=t.error,s=this.props,o=s.title,a=s.fields,i=s.submitText,c=s.disclaimer,l=s.successMessage;return(0,b.jsxs)("div",{className:w("root"),children:[(0,b.jsxs)("div",{className:w("form-wrapper",{hidden:r}),children:[(0,b.jsx)("h3",{children:o}),(0,b.jsxs)("form",{className:w("form"),onSubmit:this.submit,children:[a.map((function(t){var r=t.fields,n=r.name,s=r.placeholder,o=r.type,a=r.label,i=r.required;return"textarea"===o?(0,b.jsx)("textarea",{name:n,placeholder:s,"aria-label":a,required:i||!1,onChange:e.handleChange},t.sys.id):(0,b.jsx)("input",{name:n,placeholder:s,type:o||"text","aria-label":a,required:i||!1,onChange:e.handleChange},t.sys.id)})),(0,b.jsx)("button",{type:"submit",disabled:r,children:i||"Submit"})]}),(0,b.jsx)("div",{className:w("messages"),children:(0,b.jsx)("div",{className:w("message",{active:!!n}),children:n})}),c&&(0,b.jsx)("div",{dangerouslySetInnerHTML:{__html:v()({html:!0,breaks:!0}).render(c)}})]}),r&&(0,b.jsx)("div",{className:w("success-message"),children:l||"Thank you."})]})}}]),r}(d.PureComponent);O.defaultProps={listId:null,fields:[],successMessage:null,onSuccess:function(){}},t.Z=O},42872:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return Q},default:function(){return G}});var n=r(92777),s=r(82262),o=r(45959),a=r(63553),i=r(37247),c=r(67294),l=(r(11163),r(47166)),d=r.n(l),u=r(8423),f=r(59499),p=r(41664),m=r.n(p),h=r(9980),v=r.n(h),_=r(31955),g=r(99490),b=r(92477),y=r(48710),j=r(84192),x=r(65257),w=r.n(x),O=r(85893),E=d().bind(w()),k=function(e){var t=e.events;return(0,O.jsxs)("div",{className:E("root"),children:[(0,O.jsx)("h4",{children:"Other Events"}),t.map((function(e){var t=e.fields,r=t.title,n=t.slug,s=t.startDate,o=(0,j.U6)({route:"/events",startDate:s,slug:n}),a=g.ou.fromISO(s).toFormat("MM . dd . yyyy"),i=g.ou.fromISO(s).toFormat("hh:mm a");return(0,O.jsxs)("div",{className:E("item"),children:[(0,O.jsx)("h3",{className:E("title"),children:r}),(0,O.jsx)("div",{className:E("info"),children:(0,O.jsxs)("span",{className:E("date"),children:[a,"\xa0\xa0,\xa0\xa0",i," (PST)"]})}),(0,O.jsx)(m(),{href:o,children:(0,O.jsx)("a",{className:E("cta"),children:"Read More"})})]},e.sys.id)}))]})},N=r(55294),Z=r(60911),S=r(58053),D=r.n(S);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){(0,f.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var I=d().bind(D()),F=function(e){return e?"register_".concat(e):null},H=function(e){var t=e.title,r=e.summary,n=void 0===r?null:r,s=e.videoLink,o=e.category,a=e.startDate,i=e.endDate,l=e.relatedEvents,d=void 0===l?[]:l,u=e.form,f=void 0===u?null:u,p=e.gatedType,h=void 0===p?null:p,j=e.gatedDescription,x=void 0===j?null:j,w=e.pageName,E=(0,c.useState)(!1),S=E[0],D=E[1],P=g.ou.fromISO(a).toFormat("EEEE, MMMM d, h:mma ZZZZ");(0,c.useEffect)((function(){D((function(){if(!f||!h)return!1;var e=F(h);return!e||!_.Z.get(e)}))}),[]);var H=function(){h&&f&&(_.Z.set(F(h),(new Date).toString(),{expires:14}),D(!1))},M=t&&t.length>50?"".concat(t.slice(0,50).trim(),"..."):t,C=i||a,L=!!C&&g.ou.fromISO(C).diffNow()<0,T=!L&&f||S,A=L&&s;return(0,O.jsx)("div",{className:I("root"),children:(0,O.jsxs)("div",{className:I("inner"),children:[(0,O.jsx)(b.Z,{parentFolderName:"Events",parentFolderLink:"/events",folderName:M}),A&&!S&&(0,O.jsxs)("div",{className:I("video-wrapper"),children:[(0,O.jsx)("div",{className:I("video"),children:(0,O.jsx)(y.Z,{src:s})}),d&&(0,O.jsx)("div",{className:I("related"),children:(0,O.jsx)(k,{events:d})})]}),A&&S&&x&&(0,O.jsx)("div",{className:I("gated-message"),children:(0,O.jsx)("span",{children:x})}),(0,O.jsxs)("div",{className:I("main",{has_form:T}),children:[(0,O.jsxs)("div",{className:I("info"),children:[o&&(0,O.jsx)("h4",{className:I("category"),children:(0,O.jsx)(m(),{href:"/event-category/".concat(o.fields.slug),children:(0,O.jsx)("a",{style:{color:o.fields.tintColor||""},children:o.fields.title})})}),(0,O.jsx)("h1",{className:I("title"),children:t}),(0,O.jsx)("span",{className:I("date"),children:P}),n&&(0,O.jsx)("div",{className:I("summary"),dangerouslySetInnerHTML:{__html:v()({breaks:!0}).render(n)}})]}),T&&(0,O.jsxs)("div",{className:I("form-wrapper"),children:[!f.fields.formId&&f.fields.listId&&(0,O.jsx)(N.Z,R(R({},f.fields),{},{onSuccess:H})),f.fields.formId&&(0,O.jsx)(Z.Z,R(R({},f.fields),{},{onSuccess:H,pageName:w}))]})]})]})})},M=r(24684),C=r(58199),L=r(89393),T=r.n(L);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){(0,f.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var z=d().bind(T()),U=function(e){var t=e.speakers;return t.length<1?null:(0,O.jsx)("div",{className:z("container"),children:(0,O.jsxs)("div",{className:z("inner"),children:[(0,O.jsx)("div",{className:z("header"),children:(0,O.jsx)("h2",{children:"Speakers"})}),t.map((function(e){var t=e.fields,r=t.name,n=t.position,s=t.bio,o=t.photo;return(0,O.jsxs)("div",{className:z("speaker"),children:[(0,O.jsx)("div",{className:z("photo-wrapper"),children:(0,O.jsx)("div",{className:z("photo"),children:o&&(0,O.jsx)(C.Z,B(B({},o.fields),{},{plain:!0,sizing:"w=200"}))})}),(0,O.jsxs)("div",{className:z("content"),children:[(0,O.jsxs)("div",{className:z("speaker-info"),children:[(0,O.jsx)("h3",{children:r}),n&&(0,O.jsx)("h4",{children:n})]}),s&&(0,O.jsx)("div",{className:z("biography"),dangerouslySetInnerHTML:{__html:v()({html:!0,breaks:!0}).render(s)}})]})]},e.sys.id)}))]})})},J=r(64379),V=r.n(J);function q(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,i.Z)(e);if(t){var s=(0,i.Z)(this).constructor;r=Reflect.construct(n,arguments,s)}else r=n.apply(this,arguments);return(0,a.Z)(this,r)}}var W=d().bind(V()),X=function(e){(0,o.Z)(r,e);var t=q(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,s.Z)(r,[{key:"render",value:function(){var e=this.props,t=e.site,r=e.title,n=e.mainImage,s=e.summary,o=e.body,a=e.relatedEvents,i=e.category,c=(e.ctaText,e.ctaLink,e.speakers),l=e.startDate,d=e.endDate,f=e.videoLink,p=e.form,m=e.gatedType,h=e.gatedDescription,v="Anyscale - ".concat(r);return(0,O.jsxs)(u.Z,{site:t,title:r,description:s,shareImage:n,children:[(0,O.jsx)(H,{title:r,summary:s,category:i,videoLink:f,startDate:l,endDate:d,relatedEvents:a,form:p,gatedType:m,gatedDescription:h,pageName:v}),o&&(0,O.jsx)("div",{className:W("event-body"),children:(0,O.jsx)(M.Z,{body:o})}),(0,O.jsx)(U,{speakers:c})]})}}]),r}(c.Component);X.defaultProps={sections:[],speakers:[]};var Q=!0,G=X},88520:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/[year]/[month]/[day]/[id]",function(){return r(42872)}])},58053:function(e){e.exports={root:"EventHero_root__FTzsj","video-wrapper":"EventHero_video-wrapper__rPxfr","gated-message":"EventHero_gated-message__8zx8b",video:"EventHero_video__d13M0",related:"EventHero_related__55pFz",main:"EventHero_main__f5WRy",date:"EventHero_date__BmvpI",info:"EventHero_info__dSzl_",has_form:"EventHero_has_form__VRblU",category:"EventHero_category__tAAaV",title:"EventHero_title__rzmxl",summary:"EventHero_summary__awe_d","form-wrapper":"EventHero_form-wrapper__Hv1NH"}},22676:function(e){e.exports={root:"HubspotFormEmbed_root__rb_HI","form-wrapper":"HubspotFormEmbed_form-wrapper__GszB9",hidden:"HubspotFormEmbed_hidden__zTRtM","success-message":"HubspotFormEmbed_success-message__g_8SL",fadeIn:"HubspotFormEmbed_fadeIn__Z_otd",messages:"HubspotFormEmbed_messages__d567I",message:"HubspotFormEmbed_message__90T6s",active:"HubspotFormEmbed_active__dsV4D","download-button":"HubspotFormEmbed_download-button__lRof8"}},67315:function(e){e.exports={root:"RegisterForm_root__JXPJh","form-wrapper":"RegisterForm_form-wrapper__D_7OH",hidden:"RegisterForm_hidden__0PuJB","success-message":"RegisterForm_success-message__S8PjX",fadeIn:"RegisterForm_fadeIn__atwc_",messages:"RegisterForm_messages__QENJ1",message:"RegisterForm_message__WOa7E",active:"RegisterForm_active__AVJXZ"}},65257:function(e){e.exports={root:"RelatedEvents_root__IN8Db",item:"RelatedEvents_item__hQ1YT",title:"RelatedEvents_title__eglLx",info:"RelatedEvents_info___K3HC",cta:"RelatedEvents_cta__tnTaP"}},89393:function(e){e.exports={container:"SpeakerList_container__LoB4V",inner:"SpeakerList_inner__NAA5g",header:"SpeakerList_header__m2bwy",speaker:"SpeakerList_speaker__kt_Rs",content:"SpeakerList_content__7J7WG","speaker-info":"SpeakerList_speaker-info__lH_KD","photo-wrapper":"SpeakerList_photo-wrapper__FEvej"}},64379:function(e){e.exports={"event-body":"Event_event-body__i20_a"}},31955:function(e,t){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var n=function e(t,n){function s(e,s,o){if("undefined"!==typeof document){"number"===typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var i in o)o[i]&&(a+="; "+i,!0!==o[i]&&(a+="="+o[i].split(";")[0]));return document.cookie=e+"="+t.write(s,e)+a}}return Object.create({set:s,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},s=0;s<r.length;s++){var o=r[s].split("="),a=o.slice(1).join("=");try{var i=decodeURIComponent(o[0]);if(n[i]=t.read(a,i),e===i)break}catch(c){}}return e?n[e]:n}},remove:function(e,t){s(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=n}},function(e){e.O(0,[9809,1812,9065,569,9614,8423,7846,9774,2888,179],(function(){return t=88520,e(e.s=t);var t}));var t=e.O();_N_E=t}]);