1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34723,57026],{57026:function(e,n,t){"use strict";t.d(n,{Ph:function(){return l}});var o=t(67294),i=t(83234),r=t(38655),s=t(54520),cx=(...e)=>e.filter(Boolean).join(" "),dataAttr=e=>e?"":void 0,a=(0,r.Gp)(function(e,n){let{children:t,placeholder:i,className:s,...a}=e;return o.createElement(r.m$.select,{...a,ref:n,className:cx("chakra-select",s)},i&&o.createElement("option",{value:""},i),t)});a.displayName="SelectField";var l=(0,r.Gp)((e,n)=>{var t;let l=(0,r.jC)("Select",e),{rootProps:d,placeholder:c,icon:u,color:m,height:v,h:f,minH:p,minHeight:_,iconColor:S,iconSize:h,...C}=(0,s.Lr)(e),[g,E]=function(e,n){let t={},o={};for(let[i,r]of Object.entries(e))n.includes(i)?t[i]=r:o[i]=r;return[t,o]}(C,s.oE),y=(0,i.Yp)(E),b={paddingEnd:"2rem",...l.field,_focus:{zIndex:"unset",...null==(t=l.field)?void 0:t._focus}};return o.createElement(r.m$.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:m},...g,...d},o.createElement(a,{ref:n,height:f??v,minH:p??_,placeholder:c,...y,__css:b},e.children),o.createElement(SelectIcon,{"data-disabled":dataAttr(y.disabled),...(S||m)&&{color:S||m},__css:l.icon,...h&&{fontSize:h}},u))});l.displayName="Select";var DefaultIcon=e=>o.createElement("svg",{viewBox:"0 0 24 24",...e},o.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),d=(0,r.m$)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),SelectIcon=e=>{let{children:n=o.createElement(DefaultIcon,null),...t}=e,i=(0,o.cloneElement)(n,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return o.createElement(d,{...t,className:"chakra-select__icon-wrapper"},(0,o.isValidElement)(n)?i:null)};SelectIcon.displayName="SelectIcon"}
1,79212:function(e){e.exports=function(e,n){n.prototype.isSameOrAfter=function(e,n){return this.isSame(e,n)||this.isAfter(e,n)}}},10202:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/conference/[eventId]/session/[sessionId]/overview",function(){return t(65830)}])},1342:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{noSSR:function(){return noSSR},default:function(){return dynamic}});let o=t(38754),i=(t(67294),o._(t(24304)));function convertModule(e){return{default:(null==e?void 0:e.default)||e}}function noSSR(e,n){return delete n.webpack,delete n.modules,e(n)}function dynamic(e,n){let t=i.default,o={loading:e=>{let{error:n,isLoading:t,pastDelay:o}=e;return null}};e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o={...o,...e}),o={...o,...n};let r=o.loader;return(o.loadableGenerated&&(o={...o,...o.loadableGenerated},delete o.loadableGenerated),"boolean"!=typeof o.ssr||o.ssr)?t({...o,loader:()=>null!=r?r().then(convertModule):Promise.resolve(convertModule(()=>null))}):(delete o.webpack,delete o.modules,noSSR(t,o))}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},30043:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"LoadableContext",{enumerable:!0,get:function(){return r}});let o=t(38754),i=o._(t(67294)),r=i.default.createContext(null)},24304:function(e,n,t){"use strict";/** 2@copyright (c) 2017-present James Kyle <[email protected]> 3 MIT License 4 Permission is hereby granted, free of charge, to any person obtaining 5a copy of this software and associated documentation files (the 6"Software"), to deal in the Software without restriction, including 7without limitation the rights to use, copy, modify, merge, publish, 8distribute, sublicense, and/or sell copies of the Software, and to 9permit persons to whom the Software is furnished to do so, subject to 10the following conditions: 11 The above copyright notice and this permission notice shall be 12included in all copies or substantial portions of the Software. 13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 14EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 15MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 16NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 17LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 18OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 19WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE 20*/Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return d}});let o=t(38754),i=o._(t(67294)),r=t(30043),s=[],a=[],l=!1;function load(e){let n=e(),t={loading:!0,loaded:null,error:null};return t.promise=n.then(e=>(t.loading=!1,t.loaded=e,e)).catch(e=>{throw t.loading=!1,t.error=e,e}),t}let LoadableSubscription=class LoadableSubscription{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:n}=this;e.loading&&("number"==typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},n.delay)),"number"==typeof n.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},n.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,n){this._loadFn=e,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}};function Loadable(e){return function(e,n){let t=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},n),o=null;
20function init(){if(!o){let n=new LoadableSubscription(e,t);o={getCurrentValue:n.getCurrentValue.bind(n),subscribe:n.subscribe.bind(n),retry:n.retry.bind(n),promise:n.promise.bind(n)}}return o.promise()}if(!l){let e=t.webpack?t.webpack():t.modules;e&&a.push(n=>{for(let t of e)if(n.includes(t))return init()})}function LoadableComponent(e,n){!function(){init();let e=i.default.useContext(r.LoadableContext);e&&Array.isArray(t.modules)&&t.modules.forEach(n=>{e(n)})}();let s=i.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return i.default.useImperativeHandle(n,()=>({retry:o.retry}),[]),i.default.useMemo(()=>{var n;return s.loading||s.error?i.default.createElement(t.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:o.retry}):s.loaded?i.default.createElement((n=s.loaded)&&n.default?n.default:n,e):null},[e,s])}return LoadableComponent.preload=()=>init(),LoadableComponent.displayName="LoadableComponent",i.default.forwardRef(LoadableComponent)}(load,e)}function flushInitializers(e,n){let t=[];for(;e.length;){let o=e.pop();t.push(o(n))}return Promise.all(t).then(()=>{if(e.length)return flushInitializers(e,n)})}Loadable.preloadAll=()=>new Promise((e,n)=>{flushInitializers(s).then(e,n)}),Loadable.preloadReady=e=>(void 0===e&&(e=[]),new Promise(n=>{let res=()=>(l=!0,n());flushInitializers(a,e).then(res,res)})),window.__NEXT_PRELOADREADY=Loadable.preloadReady;let d=Loadable},2551:function(e,n,t){"use strict";t.d(n,{Q:function(){return ConfirmDialog}});var o=t(85893),i=t(6491),r=t(2821),s=t(48641),a=t(3038),l=t(47741),d=t(67294);let ConfirmDialog=e=>{let{body:n,confirmButtonText:t,cancelButtonText:c,isOpen:u,onClose:m,onConfirm:v,shouldHideCancelButton:f,title:p,heading:_,shouldCloseOnConfirmation:S=!0,confirmButtonColorScheme:h,alternativeButtonText:C,onClickAlternativeOption:g,alertText:E}=e,[y,b]=d.useState(!1),x=d.useRef(null),onClickConfirm=async()=>{if(null===v){m();return}b(!0);try{await v(),S&&m()}finally{b(!1)}};return(0,o.jsxs)(r.aR,{leastDestructiveRef:x,isOpen:u,onClose:m,size:"xl",isCentered:!0,children:[(0,o.jsx)(r.dh,{}),(0,o.jsxs)(r._T,{children:[(0,o.jsx)(r.fY,{border:"1px solid",borderColor:"strokePrimary.500",children:p}),(0,o.jsx)(r.lq,{}),(0,o.jsxs)(r.iP,{minH:"50px",children:[_&&(0,o.jsx)(s.xv,{fontWeight:"semibold",fontSize:"20px",mb:"2",mt:"2",children:_}),(0,o.jsx)(s.xv,{size:"sm",fontWeight:"medium",children:n}),(null!=E?E:"").length>0&&(0,o.jsxs)(a.bZ,{status:"error",borderRadius:"md",mt:4,border:"0",children:[(0,o.jsx)(i.szr,{boxSize:5,color:"red.500",mr:0,mt:"2px"}),(0,o.jsx)(a.Cd,{mr:2}),(0,o.jsx)(a.X,{color:"red.500",fontWeight:"medium",children:E})]})]}),(0,o.jsx)(r.xo,{children:(0,o.jsxs)(s.Ug,{spacing:"4",children:[f?null:(0,o.jsx)(l.zx,{ref:x,type:"button",variant:"outline",colorScheme:"primary",borderColor:"primary.500",onClick:m,isDisabled:y,children:null!=c?c:"Cancel"}),C&&(0,o.jsx)(l.zx,{ref:x,variant:"outline",colorScheme:"primary",borderColor:"primary.500",onClick:g,isDisabled:y,children:C}),(0,o.jsx)(l.zx,{onClick:onClickConfirm,type:"button",isLoading:y,colorScheme:h,children:t})]})})]})]})}},69150:function(e,n,t){"use strict";t.r(n),t.d(n,{ConfirmDialog:function(){return o.Q}});var o=t(2551)},70483:function(e,n,t){"use strict";t.d(n,{O:function(){return ModalToJoinExternalEvent}});var o=t(85893),i=t(48641),r=t(2821),s=t(3038),a=t(47741),l=t(9041),d=t(41664),c=t.n(d);t(67294);var u=t(16502),m=t(15927),v=t(16225),f=t(47503),p=t(82729),_=t(50456),S=t(50319);function _templateObject(){let e=(0,p._)(["\n mutation UseTrackEventInteraction_SaveEventInteraction(\n $input: SaveEventInteractionInput!\n ) {\n saveEventInteraction(input: $input) {\n _\n }\n }\n"]);return _templateObject=function(){return e},e}let h=(0,_.Ps)(_templateObject()),useTrackEventInteraction=e=>{let[n]=(0,S.D)(h);return{trackEventInteraction:t=>{n({variables:{input:{eventMetadata:e.eventMetadata,interaction:t}}})}}};var C=t(86678),g=t(73567),E=t(6491),y=t(93064);let ModalToJoinExternalEvent=e=>{var n,d,p,_,S,h,b,x,P;let{trackEventInteraction:I}=useTrackEventInteraction({eventMetadata:"eventId"in e.meta?{simpleEventId:e.meta.eventId}:"sessionId"in e.meta?{conferenceSessionId:e.meta.sessionId}:"booth"===e.meta.type?{conferenceBoothId:e.meta.boothId}:(e.meta,{simpleEventId:e.simpleEventOrConferenceId})}),j=!!(!e.isCourseWorkshop&&(e.isAgoraMeet||e.venue&&e.venue.online&&"EventVenue_TradewingPlatform"===e.venue.online.__typename&&e.venue.online.stream&&"EventVenue_TradewingPlatform_Stream_Agora_Video_Call"===e.venue.online.stream.__typename)),O=("meetId"in e.meta?e.meta.meetId:void 0)||e.meetId||(e.venue&&e.venue.online&&"EventVenue_TradewingPlatform"===e.venue.online.__typename?e.venue.online.agoraMeetId:void 0),A=(null===(d=e.venue)||void 0===d?void 0:null===(n=d.online)||void 0===n?void 0:n.__typename)==="EventVenue_TradewingPlatform"&&(null===(p=e.venue.online.stream)||void 0===p?void 0:p.__typename)==="EventVenue_TradewingPlatform_Stream_Prerecorded"?null===(_=e.venue.online.stream.videoFile)||void 0===_?void 0:_._id:void 0,T=(null===(h=e.venue)||void 0===h?void 0:null===(S=h.online)||void 0===S?void 0:S.__typename)==="EventVenue_Exter
20nalPlatform"?e.venue.online.url:void 0,D=(null===(x=e.venue)||void 0===x?void 0:null===(b=x.online)||void 0===b?void 0:b.__typename)==="EventVenue_ExternalPlatform"?e.venue.online.externalPlatformName:void 0,getTargetHref=()=>"sessionId"in e.meta?"/events/conferences/".concat(e.simpleEventOrConferenceId,"/sessions/").concat(e.meta.sessionId):"boothId"in e.meta?"/events/conferences/".concat(e.simpleEventOrConferenceId,"/booth/").concat(e.meta.boothId):"eventId"in e.meta?j?"/events/".concat(e.simpleEventOrConferenceId,"/meet"):"/virtualEvent/".concat(e.simpleEventOrConferenceId):"meetId"in e.meta&&O?"/events/".concat(e.simpleEventOrConferenceId,"/meet/").concat(O):"/virtualEvent/".concat(e.simpleEventOrConferenceId),trackJoinOnTradewingClick=(n,t,o)=>{let i,r=e.simpleEventOrConferenceId,s="event",a="simple";"sessionId"in e.meta?(r=e.meta.sessionId,s="conference_session",a="conference",i="session"):"boothId"in e.meta&&(r=e.meta.boothId,s="conference_booth",a="conference",i="booth"),(0,u.zL)({entity_id:r,entity_type:s,event_id:e.simpleEventOrConferenceId,event_type:a,event_name:e.meta.name,event_role:e.isCurrentUserSpeaker?"speaker":e.isJoiningWithSpecialPermissions?"admin":"participant",event_subevent_type:i,event_join_target_path:n,event_join_cta_text:t,event_join_source:"modal_join_cta",event_join_surface:"event_join_modal",event_join_mode:o,page_section:"events"});let l={entity_id:r,entity_type:s,event_id:e.simpleEventOrConferenceId,event_type:a,event_name:e.meta.name,event_role:e.isCurrentUserSpeaker?"speaker":e.isJoiningWithSpecialPermissions?"admin":"participant",event_subevent_type:i,event_join_mode:o};"external_platform"===o&&(0,u.iM)(l),"prerecorded"===o&&(0,u.yp)({...l,entity_type:"event_recording",recording_source:"Watch on an External Platform"===t?"prerecorded_external":"published_recording"})};return(0,o.jsxs)(r.u_,{isOpen:e.isOpen,onClose:e.onClose,isCentered:!0,scrollBehavior:"inside",size:"lg",children:[(0,o.jsx)(r.ZA,{}),(0,o.jsxs)(r.hz,{children:[(0,o.jsxs)(r.xB,{children:[{simple_event:"Event",session:"Session",booth:"Booth",agoraMeet:"Meet"}[e.meta.type]," ","Details"]}),(0,o.jsx)(r.ol,{}),(0,o.jsx)(r.fe,{children:(0,o.jsxs)(i.Kq,{spacing:"4",children:[e.isJoiningWithSpecialPermissions&&(0,o.jsxs)(s.bZ,{colorScheme:"gray",children:[(0,o.jsx)(s.zM,{}),e.isFuture?(0,o.jsxs)(s.X,{children:[(0,o.jsxs)(g.n,{children:["As"," ",e.isCurrentUserSpeaker?"a speaker":"an event admin",", you are able to preview this event early."]})," ","Regular attendees can only join during the scheduled event time."]}):e.isPast?(0,o.jsxs)(s.X,{children:[(0,o.jsx)(g.n,{children:"This event has ended."})," As"," ",e.isCurrentUserSpeaker?"a speaker":"an event admin",", you have permission to view the event page."]}):(0,o.jsxs)(s.X,{children:["As"," ",e.isCurrentUserSpeaker?"a speaker":"an event admin",", you have permission to view the event page."]})]}),(e.venue?e.venue.online?null:(0,o.jsxs)(i.xv,{children:["This ",{simple_event:"event",session:"session",booth:"booth",agoraMeet:"meet"}[e.meta.type]," will be hosted on Tradewing."]}):(0,o.jsxs)(i.xv,{children:["This ",{simple_event:"event",session:"session",booth:"booth",agoraMeet:"meet"}[e.meta.type]," will be available at the scheduled time."]}))||(e.isPast&&e.hasCanonicalVideo?(0,o.jsxs)(i.xv,{children:["This"," ",{simple_event:"event's",session:"session's",booth:"booth's",agoraMeet:"meet's"}[e.meta.type]," ","recording is available on ",(0,o.jsx)(g.n,{children:"Tradewing"}),"."]}):e.venue&&e.venue.online?(0,o.jsxs)(i.xv,{children:["This"," ",{simple_event:"event",session:"session",booth:"booth",agoraMeet:"meet"}[e.meta.type]," ","is hosted on"," ",(0,o.jsx)(g.n,{children:"EventVenue_TradewingPlatform"===e.venue.online.__typename?"Tradewing":e.venue.online.externalPlatformName?e.venue.online.externalPlatformName:"an external platform"}),"."]}):null),e.venue&&e.venue.online&&!e.isPast&&"EventVenue_ExternalPlatform"===e.venue.online.__typename&&e.venue.online.additionalDetails&&(0,l.convertFromRaw)(e.venue.online.additionalDetails).getPlainText().length>0&&(0,o.jsx)(i.xu,{bg:"gray.50",p:"4",borderRadius:"lg",children:(0,o.jsx)(m.Q_,{children:(0,o.jsx)(m.Ic,{as:C.M,children:(0,o.jsx)(v.$,{rawDraftContentState:e.venue.online.additionalDetails})})})})]})}),(0,o.jsxs)(r.mz,{children:[(0,o.jsx)(a.zx,{variant:"outline",colorScheme:"gray",onClick:e.onClose,mr:"2",children:"Close"}),e.venue&&e.venue.online&&"EventVenue_TradewingPlatform"===e.venue.online.__typename&&e.venue.online.stream&&"EventVenue_TradewingPlatform_Stream_Prerecorded"===e.venue.online.stream.__typename&&e.venue.online.stream.videoFile&&(0,y.f9)(e.venue.online.stream.videoFile)?(0,o.jsx)(c(),{href:e.venue.online.stream.videoFile._id,target:"_blank",onClick:()=>trackJoinOnTradewingClick(null!=A?A:"","Watch on an External Platform","prerecorded"),children:(0,o.jsx)(a.zx,{rightIcon:(0,o.jsx)(E.h0n,{}),children:"Watch on an External Platform"})}):e.venue&&e.venue.online&&"EventVenue_TradewingPlatform"===e.venue.online.__typename?["simple_event","session","booth","agoraMeet"].includes(e.meta.type)?(0,o.jsx)(a.zx,{rightIcon:(0,o.jsx)(E.h0n,{}),onClick:()=>{let n=getTargetHref();if(trackJoinOnTradewingClick(n,"Join on Tradewing","tradewing"),"sessionId"in e.meta){let e=t(11163).default;e.push(n)}else window.open(n,"_blank")},children:"Join on Tradewing"}):null:e.isPast&&e.hasCanonicalVideo?["simple_event","session","booth","agoraMeet"].includes(e.meta.type)?(0,o.jsx)(a.zx,{rightIcon:(0,o.jsx)(E.h0n,{}),onClick:()=>{let n=getTargetHref();if(trackJoinOnTradewingClick(n,"Watch on Tradewing","prerecorded"),"sessionId"in e.meta){let e=t(11163).default;e.push(n)}else window.open(n,"_blank")},children:"Watch on Tradewing"}
20):null:e.venue&&e.venue.online&&"EventVenue_ExternalPlatform"===e.venue.online.__typename&&e.venue.online.url?(0,o.jsxs)(a.zx,{as:"a",href:e.venue.online.url,target:"_blank",rel:"noopener",rightIcon:(0,o.jsx)(E.h0n,{}),onClick:()=>{trackJoinOnTradewingClick(null!=T?T:"","Join on ".concat(null!=D?D:"an External Platform"),"external_platform"),I(f.SI.CLICKED_EXTERNAL_EVENT_LINK)},children:["Join on"," ",null!==(P=e.venue.online.externalPlatformName)&&void 0!==P?P:"an External Platform"]}):(0,o.jsx)(c(),{href:getTargetHref(),target:"_blank",onClick:()=>trackJoinOnTradewingClick(getTargetHref(),e.isPast&&e.hasCanonicalVideo?"Watch on Tradewing":"Join on Tradewing",e.isPast&&e.hasCanonicalVideo?"prerecorded":"tradewing"),children:(0,o.jsx)(a.zx,{rightIcon:(0,o.jsx)(E.h0n,{}),children:e.isPast&&e.hasCanonicalVideo?"Watch on Tradewing":"Join on Tradewing"})})]})]})]})}},39174:function(e,n,t){"use strict";t.d(n,{A:function(){return NoMatchPage}});var o=t(85893),i=t(48641),r=t(23887),s=t(47741),a=t(11163);t(67294);let NoMatchPage=()=>{let e=(0,a.useRouter)();return(0,o.jsxs)(i.gC,{p:"12",spacing:"4",textAlign:"center",children:[(0,o.jsx)(r.Ee,{src:"https://tradewing-public.s3.us-east-2.amazonaws.com/tradewing-logo.png",alt:"Tradewing",width:"50px",height:"50px"}),(0,o.jsx)(i.xv,{textStyle:"xlBodyStrong",children:"Page Not Found"}),(0,o.jsx)(i.xv,{children:"Please check that you have the correct URL and try again. If you need help finding and accessing your community, please contact [email protected]."}),(0,o.jsx)(s.zx,{onClick:()=>e.push("/"),children:"Return to Site"})]})}},95695:function(e,n,t){"use strict";t.d(n,{L:function(){return r}});var o=t(82729),i=t(50456);function _templateObject(){let e=(0,o._)(['\n fragment PreviewRenderer_VersionFileFragment on VersionFile {\n _id\n file {\n _id\n name\n url\n type\n imageProxy(input: {})\n }\n dateCreated\n originalPost {\n _id\n }\n originalComment {\n _id\n }\n author {\n _id\n displayName\n proxyProfilePictureUrl(\n input: { w: 40, h: 40, fit: "facearea", facepad: 10.0 }\n )\n }\n }\n']);return _templateObject=function(){return e},e}let r=(0,i.Ps)(_templateObject())},65830:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return R}});var o=t(85893),i=t(11163),r=t(67294),s=t(82729),a=t(50456),l=t(37887),d=t(48641),c=t(69171),u=t(48076),m=t(91663),v=t(50319),f=t(80419),p=t(87536),_=t(87844);function _templateObject(){let e=(0,s._)(["\n mutation AudienceCardWithFormConferenceSession_UpdateConferenceSession(\n $input: UpdateConferenceSessionInput!\n ) {\n updateConferenceSession(input: $input) {\n result {\n _id\n visibility {\n type\n ticketIds\n userIds\n }\n }\n }\n }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,s._)(["\n fragment AudienceCardWithFormConferenceSession_ConferenceSession on ConferenceSession {\n _id\n visibility {\n type\n ticketIds\n userIds\n }\n }\n"]);return _templateObject1=function(){return e},e}let S=(0,a.Ps)(_templateObject()),AudienceCardWithFormConferenceSession=e=>{let n=(0,f.pm)(),[t]=(0,v.D)(S,{onCompleted:()=>{n({status:"success",description:"You successfully updated the event audience"})},onError:()=>{n({status:"error",description:"An unexpected error occurred"})}}),i=r.useMemo(()=>({sessionVisibilityType:e.conferenceSession.visibility.type,sessionAudienceTicketIds:e.conferenceSession.visibility.ticketIds||[],audienceUserIds:e.conferenceSession.visibility.userIds||[]}),[e.conferenceSession.visibility.ticketIds,e.conferenceSession.visibility.type,e.conferenceSession.visibility.userIds]),s=(0,p.cI)({defaultValues:i}),{reset:a}=s;r.useEffect(()=>a(i),[i,a]);let l=s.handleSubmit(async n=>{await t({variables:{input:{conferenceSessionId:e.conferenceSession._id,patch:{visibility:{userIds:n.audienceUserIds,ticketIds:n.sessionAudienceTicketIds,type:n.sessionVisibilityType}}}}})});return(0,o.jsx)(p.RV,{...s,children:(0,o.jsx)(_.M,{onSubmit:l})})};AudienceCardWithFormConferenceSession.conferenceSessionFragment=(0,a.Ps)(_templateOb
20ject1());var h=t(42084);function DateAndTimeCardWithFormConferenceSession_templateObject(){let e=(0,s._)(["\n mutation DateAndTimeCardWithFormConferenceSession_UpdateConferenceSession(\n $input: UpdateConferenceSessionInput!\n ) {\n updateConferenceSession(input: $input) {\n result {\n _id\n startDate\n endDate\n }\n }\n }\n"]);return DateAndTimeCardWithFormConferenceSession_templateObject=function(){return e},e}function DateAndTimeCardWithFormConferenceSession_templateObject1(){let e=(0,s._)(["\n query DateAndTimeCardWithFormConferenceSession_Event(\n $eventInput: EventInput!\n ) {\n event(input: $eventInput) {\n eventV2 {\n _id\n timeZone\n }\n }\n }\n"]);return DateAndTimeCardWithFormConferenceSession_templateObject1=function(){return e},e}function _templateObject2(){let e=(0,s._)(["\n fragment DateAndTimeCardWithFormConferenceSession_ConferenceSession on ConferenceSession {\n _id\n startDate\n endDate\n }\n"]);return _templateObject2=function(){return e},e}let C=(0,a.Ps)(DateAndTimeCardWithFormConferenceSession_templateObject()),g=(0,a.Ps)(DateAndTimeCardWithFormConferenceSession_templateObject1()),DateAndTimeCardWithFormConferenceSession=e=>{var n,t;let s=(0,f.pm)(),a=(0,i.useRouter)(),d=a.query.eventId.toString(),c=(0,l.a)(g,{variables:{eventInput:{_id:d}},skip:!d}),[u]=(0,v.D)(C,{onCompleted:()=>{s({status:"success",description:"You successfully updated the date and time"})},onError:()=>{s({status:"error",description:"An unexpected error occurred"})}}),m=r.useMemo(()=>{var n,t,o;return{startDate:new Date(e.conferenceSession.startDate),endDate:new Date(e.conferenceSession.endDate),timeZone:null!==(o=null===(t=c.data)||void 0===t?void 0:null===(n=t.event.eventV2)||void 0===n?void 0:n.timeZone)&&void 0!==o?o:void 0}},[e.conferenceSession.endDate,e.conferenceSession.startDate,null===(t=c.data)||void 0===t?void 0:null===(n=t.event.eventV2)||void 0===n?void 0:n.timeZone]),_=(0,p.cI)({defaultValues:m}),{reset:S}=_;r.useEffect(()=>S(m),[m,S]);let E=_.handleSubmit(async n=>{if(!n.startDate)throw Error("Unexpected Missing Start Date");if(!n.endDate)throw Error("Unexpected Missing End Date");await u({variables:{input:{conferenceSessionId:e.conferenceSession._id,patch:{startDate:n.startDate.toISOString(),endDate:n.endDate.toISOString()}}}})});return(0,o.jsx)(p.RV,{..._,children:(0,o.jsx)(h.K,{isSponsored:!1,isEventPast:!1,isEventImminent:!1,hostedEventsIntervalEndDate:null,onSubmit:E,isTimeZoneEditorDisabled:!0})})};DateAndTimeCardWithFormConferenceSession.conferenceSessionFragment=(0,a.Ps)(_templateObject2());var E=t(16064),y=t(69990);function SpeakersCardWithFormConferenceSession_templateObject(){let e=(0,s._)(["\n mutation SpeakersCardWithFormConferenceSession_UpdateConferenceSession(\n $input: UpdateConferenceSessionInput!\n ) {\n updateConferenceSession(input: $input) {\n result {\n _id\n speakers {\n user {\n _id\n }\n isHidden\n }\n venue {\n ...VenueFragment\n }\n }\n }\n }\n ","\n"]);return SpeakersCardWithFormConferenceSession_templateObject=function(){return e},e}function SpeakersCardWithFormConferenceSession_templateObject1(){let e=(0,s._)(["\n fragment SpeakersCardWithFormConferenceSession_ConferenceSession on ConferenceSession {\n _id\n speakers {\n user {\n _id\n }\n isHidden\n }\n }\n"]);return SpeakersCardWithFormConferenceSession_templateObject1=function(){return e},e}let b=(0,a.Ps)(SpeakersCardWithFormConferenceSession_templateObject(),E.xW),SpeakersCardWithFormConferenceSession=e=>{let n=(0,f.pm)(),[t]=(0,v.D)(b,{onCompleted:()=>{n({status:"success",description:"You successfully updated the event speakers"})},onError:()=>{n({status:"error",description:"An unexpected error occurred"})}}),i=r.useMemo(()=>({speakers:e.conferenceSession.speakers?e.conferenceSession.speakers.map(e=>({_id:e.user._id,isHidden:e.isHidden})):[]}),[e.conferenceSession]),s=(0,p.cI)({defaultValues:i}),{reset:a}=s;r.useEffect(()=>a(i),[i,a]);let l=s.handleSubmit(async n=>{await t({variables:{input:{conferenceSessionId:e.conferenceSession._id,patch:{speakers:n.speakers.map(e=>({existingUserId:e._id,isHidden:e.isHidden}))}}}})});return(0,o.jsx)(p.RV,{...s,children:(0,o.jsx)(y.L,{onSubmit:l})})};SpeakersCardWithFormConferenceSession.conferenceSessionFragment=(0,a.Ps)(SpeakersCardWithFormConferenceSession_templateOb
20ject1());var x=t(16173);function SponsorsCardWithFormConferenceSession_templateObject(){let e=(0,s._)(["\n mutation SponsorsCardWithFormConferenceSession_UpdateConferenceSession(\n $input: UpdateConferenceSessionInput!\n ) {\n updateConferenceSession(input: $input) {\n result {\n _id\n sponsors {\n additionalSponsors {\n ... on Organization {\n _id\n }\n }\n keySponsor {\n ... on Organization {\n _id\n }\n }\n }\n }\n }\n }\n"]);return SponsorsCardWithFormConferenceSession_templateObject=function(){return e},e}function SponsorsCardWithFormConferenceSession_templateObject1(){let e=(0,s._)(["\n fragment SponsorsCardWithFormConferenceSession_ConferenceSession on ConferenceSession {\n _id\n sponsors {\n keySponsor {\n ... on Organization {\n _id\n }\n }\n additionalSponsors {\n ... on Organization {\n _id\n }\n }\n }\n }\n"]);return SponsorsCardWithFormConferenceSession_templateObject1=function(){return e},e}let P=(0,a.Ps)(SponsorsCardWithFormConferenceSession_templateObject()),SponsorsCardWithFormConferenceSession=e=>{let n=(0,f.pm)(),[t]=(0,v.D)(P,{onCompleted:()=>{n({status:"success",description:"You successfully updated the sponsors"})},onError:()=>{n({status:"error",description:"An unexpected error occurred"})}}),i=r.useMemo(()=>{var n,t;return{featuredSponsor:(null===(n=e.conferenceSession.sponsors)||void 0===n?void 0:n.keySponsor)?{_id:e.conferenceSession.sponsors.keySponsor._id}:null,additionalSponsors:(null===(t=e.conferenceSession.sponsors)||void 0===t?void 0:t.additionalSponsors)?e.conferenceSession.sponsors.additionalSponsors.map(e=>({_id:e._id})):[]}},[e.conferenceSession]),s=(0,p.cI)({defaultValues:i}),{reset:a}=s;r.useEffect(()=>a(i),[i,a]);let l=s.handleSubmit(async n=>{await t({variables:{input:{conferenceSessionId:e.conferenceSession._id,patch:{sponsorData:{keySponsorInput:n.featuredSponsor?{existingOrganizationId:n.featuredSponsor._id}:void 0,additionalSponsorInputs:n.additionalSponsors.length>0?n.additionalSponsors.map(e=>({existingOrganizationId:e._id})):void 0}}}}})});return(0,o.jsx)(p.RV,{...s,children:(0,o.jsx)(x.Q,{onSubmit:l})})};SponsorsCardWithFormConferenceSession.conferenceSessionFragment=(0,a.Ps)(SponsorsCardWithFormConferenceSession_templateObject1());var I=t(47503),j=t(40933),O=t(21345),A=t(5422),T=t(809);function VideoSettingsCardWithFormConferenceSession_templateObject(){let e=(0,s._)(["\n mutation VideoSettingsCardWithFormConferenceSession_UpdateConferenceSession(\n $input: UpdateConferenceSessionInput!\n ) {\n updateConferenceSession(input: $input) {\n result {\n _id\n venue {\n ...VenueFragment\n }\n canonicalVideoFile {\n _id\n }\n }\n }\n }\n ","\n"]);return VideoSettingsCardWithFormConferenceSession_templateObject=function(){return e},e}function VideoSettingsCardWithFormConferenceSession_templateObject1(){let e=(0,s._)(["\n fragment VideoSettingsCardWithFormConferenceSession_ConferenceSession on ConferenceSession {\n _id\n endDate\n canonicalVideoFile {\n _id\n }\n venue {\n ...VenueFragment\n online {\n __typename\n ... on EventVenue_TradewingPlatform {\n agoraMeetId\n stream {\n __typename\n ... on EventVenue_TradewingPlatform_Stream_Agora_Video_Call {\n agoraMeetSettings {\n maxParticipants\n waitingRoomEnabled\n }\n }\n ... on EventVenue_TradewingPlatform_Stream_Prerecorded {\n videoFile {\n _id\n hlsVideoStreamUrl\n s3DownloadUrl\n filename\n }\n }\n ... on EventVenue_TradewingPlatform_Stream_Live {\n virtualEvent {\n _id\n autoRecord\n canRecord\n dialInCode\n dialInEnabled\n dialInPhoneNumber\n listenerDialInCode\n numActiveAttendees\n maxParticipants\n }\n }\n }\n }\n }\n }\n speakers {\n isHidden\n user {\n _id\n }\n }\n parentEvent {\n _id\n }\n }\n ","\n"]);
20return VideoSettingsCardWithFormConferenceSession_templateObject1=function(){return e},e}let D=(0,a.Ps)(VideoSettingsCardWithFormConferenceSession_templateObject(),E.xW),VideoSettingsCardWithFormConferenceSession=e=>{let n=(0,f.pm)(),[t]=(0,v.D)(D,{onCompleted:()=>{n({status:"success",description:"You successfully updated the location"})},onError:()=>{n({status:"error",description:"An unexpected error occurred"})}}),i=r.useMemo(()=>{var n,t,o,i,r,s,a,l,d,c,u,m,v,f,p,_,S,h,C,g;return{videoStreamType:e.conferenceSession.venue.online&&"EventVenue_ExternalPlatform"===e.conferenceSession.venue.online.__typename?O.Aq.EXTERNAL:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&(null===(n=e.conferenceSession.venue.online.stream)||void 0===n?void 0:n.__typename)==="EventVenue_TradewingPlatform_Stream_Prerecorded"?O.Aq.PRE_RECORDED_VIDEO:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&(null===(t=e.conferenceSession.venue.online.stream)||void 0===t?void 0:t.__typename)==="EventVenue_TradewingPlatform_Stream_Agora_Video_Call"?O.Aq.AGORA_VIDEO_CALL:null,externalPlatformMeetingUrl:e.conferenceSession.venue.online&&"EventVenue_ExternalPlatform"===e.conferenceSession.venue.online.__typename&&e.conferenceSession.venue.online.url||null,externalPlatformAdditionalDetails:e.conferenceSession.venue.online&&"EventVenue_ExternalPlatform"===e.conferenceSession.venue.online.__typename&&e.conferenceSession.venue.online.additionalDetails||null,externalPlatformName:e.conferenceSession.venue.online&&"EventVenue_ExternalPlatform"===e.conferenceSession.venue.online.__typename&&e.conferenceSession.venue.online.externalPlatformName||null,isLiveVideoStreamRecordingEnabled:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Live"===e.conferenceSession.venue.online.stream.__typename&&e.conferenceSession.venue.online.stream.virtualEvent&&e.conferenceSession.venue.online.stream.virtualEvent.canRecord||!1,isLiveVideoStreamAutomaticRecordingEnabled:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Live"===e.conferenceSession.venue.online.stream.__typename&&e.conferenceSession.venue.online.stream.virtualEvent&&e.conferenceSession.venue.online.stream.virtualEvent.autoRecord||!1,isLiveVideoStreamDialInEnabled:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Live"===e.conferenceSession.venue.online.stream.__typename&&e.conferenceSession.venue.online.stream.virtualEvent&&e.conferenceSession.venue.online.stream.virtualEvent.dialInEnabled||!1,waitingRoomEnabled:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Agora_Video_Call"===e.conferenceSession.venue.online.stream.__typename&&e.conferenceSession.venue.online.stream.agoraMeetSettings&&e.conferenceSession.venue.online.stream.agoraMeetSettings.waitingRoomEnabled||!1,isPreRecordedVideoAutomaticPublishingEnabled:!!e.conferenceSession.canonicalVideoFile&&!!e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Prerecorded"===e.conferenceSession.venue.online.stream.__typename&&!!e.conferenceSession.venue.online.stream.videoFile&&e.conferenceSession.canonicalVideoFile._id===e.conferenceSession.venue.online.stream.videoFile._id,preRecordedVideoId:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Prerecorded"===e.conferenceSession.venue.online.stream.__typename&&e.conferenceSession.venue.online.stream.videoFile&&e.conferenceSession.venue.online.stream.videoFile._id||"",preRecordedVideoType:e.conferenceSession.venue.online&&"EventVenue_TradewingPlatform"===e.conferenceSession.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Prerecorded"===e.conferenceSession.venue.online.stream.__typename&&e.conferenceSession.venue.online.stream.videoFile&&e.conferenceSession.venue.online.stream.videoFile._id&&!e.conferenceSession.venue.online.stream.videoFile._id.includes("http")?j.U.FILE:j.U.LINK,audienceParticipationCapacity:(null===(o=e.conferenceSession.venue.online)||void 0===o?void 0:o.__typename)==="EventVenue_TradewingPlatform"&&((null===(i=e.conferenceSession.venue.online.stream)||void 0===i?void 0:i.__typename)==="EventVenue_TradewingPlatform_Stream_Live"||(null===(r=e.conferenceSession.venue.online.stream)||void 0===r?void 0:r.__typename)==="EventVenue_TradewingPlatform_Stream_Agora_Video_Call")?"EventVenue_TradewingPlatform_Stream_Agora_Video_Call"===e.conferenceSession.venue.online.stream.__typename?e.conferenceSession.venue.online.stream.agoraMeetSettings.maxParticipants:e.conferenceSession.venue.online.stream.virtualEvent.maxParticipants:T.p,speakers:e.conferenceSession.speakers?e.conferenceSession.speakers.map(e=>({_id:e.user._id,isHidden:e.isHidden})):[],venueType:e.conferenceSession.venue.type,shouldSaveAsDefaultLiveStreamSettings:!1,address:{administrativeArea:(null===(a=e.conferenceSession.venue.inPersonLocation)||void 0===a?void 0:null===(s=a.address)||void 0===s?void 0:s.administrativeArea)||null,country:(null===(d=e.conferenceSession.venue.inPersonLocation)||void 0===d?void 0:null===(l=d.address)||void 0===l?void 0:l.country)||null,locality:(null===(u=e.conferenceSession.venue.inPersonLocation)||void 0===u?void 0:null===(c=u.address)||void 0===c?void 0:c.locality)||null,name:(null===(v=e.conferenceSession.venue.inPersonLocation)||void 0===v?void 0:null===(m=v.address)||void 0===m?void 0:m.name)||null,postalCode:(null===(p=e.conferenceSession.venue.inPersonLocation)||void 0===p?void 0:null===(f=p.address)||void 0===f?void 0:f.postalCode)||null,streetAddress:(null===(S=e.conferenceSession.venue.inPersonLocation)||void 0===S?void 0:null===(_=S.address)||void 0===_?void 0:_.streetAddress)||null,streetAddressLine2:(null===(C=e.conferenceSession.venue.inPersonLocation)||void 0===C?void 0:null===(h=C.address)||void 0===h?void 0:h.streetAddressLine2)||null},inPersonDescription:(null===(g=e.conferenceSession.venue.inPersonLocation)||void 0===g?void 0:g.description)||null}},[e.conferenceSession]),s=(0,p.cI)({defaultValues:i}),{reset:a}=s;r.useEffect(()=>a(i),[a,i]);let l=s.handleSubmit(async n=>{if(!n.venueType)throw Error("Unexpected Missing Venue Type");await t({variables:{input:{conferenceSessionId:e.conferenceSession._id,patch:{canonicalVideoFileId:n.videoStreamType===O.Aq.PRE_RECORDED_VIDEO?n.isPreRecordedVideoAutomaticPublishingEnabled?n.preRecordedVideoId:null:void 0,venue:{type:n.venueType,inPersonLocation:n.venueType===I.Fd.IN_PERSON||n.venueType===I.Fd.HYBRID?{address:{administrativeArea:n.address.administrativeArea,country:n.address.country,locality:n.address.locality,name:n.address.name,postalCode:n.address.postalCode,streetAddress:n.address.streetAddress,streetAddressLine2:n.address.streetAddressLine2},description:n.inPersonDescription}:void 0,online:n.venueType===I.Fd.ONLINE||n.venueType===I.Fd.HYBRID?{type:(()=>
20{if(!n.videoStreamType)throw Error("Unexpected Missing Video Stream Type");return({[O.Aq.EXTERNAL]:I.a1.EXTERNAL,[O.Aq.PRE_RECORDED_VIDEO]:I.a1.TRADEWING,[O.Aq.AGORA_VIDEO_CALL]:I.a1.TRADEWING})[n.videoStreamType]})(),externalPlatform:n.videoStreamType===O.Aq.EXTERNAL?{additionalDetails:n.externalPlatformAdditionalDetails,url:n.externalPlatformMeetingUrl}:void 0,tradewingPlatform:n.videoStreamType===O.Aq.PRE_RECORDED_VIDEO||n.videoStreamType===O.Aq.AGORA_VIDEO_CALL?{type:({[O.Aq.PRE_RECORDED_VIDEO]:I.MI.PRE_RECORDED_VIDEO,[O.Aq.AGORA_VIDEO_CALL]:I.MI.AGORA_VIDEO_CALL})[n.videoStreamType],agoraMeetSettings:n.videoStreamType===O.Aq.AGORA_VIDEO_CALL?{maxParticipants:n.audienceParticipationCapacity,waitingRoomEnabled:n.waitingRoomEnabled}:void 0,preRecordedVideo:n.videoStreamType===O.Aq.PRE_RECORDED_VIDEO?{videoFileId:n.preRecordedVideoId}:void 0}:void 0}:void 0}}}}})});return(0,o.jsx)(p.RV,{...s,children:(0,o.jsx)(A.m,{onSubmit:l,isConferenceSession:!0,entityId:{conferenceSessionId:e.conferenceSession._id,conferenceEventId:e.conferenceSession.parentEvent._id},endDate:new Date(e.conferenceSession.endDate)})})};function ConferenceSessionOverviewPageContent_templateObject(){let e=(0,s._)(["\n query ConferenceSessionOverviewPageContent_ConferenceSession(\n $conferenceSessionId: String!\n ) {\n conferenceSession(input: { conferenceSessionId: $conferenceSessionId }) {\n result {\n _id\n ...AboutSessionCardWithForm_ConferenceSession\n ...DateAndTimeCardWithFormConferenceSession_ConferenceSession\n ...VideoSettingsCardWithFormConferenceSession_ConferenceSession\n ...AudienceCardWithFormConferenceSession_ConferenceSession\n ...SpeakersCardWithFormConferenceSession_ConferenceSession\n ...SponsorsCardWithFormConferenceSession_ConferenceSession\n }\n }\n }\n ","\n ","\n ","\n ","\n ","\n ","\n"]);return ConferenceSessionOverviewPageContent_templateObject=function(){return e},e}VideoSettingsCardWithFormConferenceSession.conferenceSessionFragment=(0,a.Ps)(VideoSettingsCardWithFormConferenceSession_templateObject1(),E.xW);let w=(0,a.Ps)(ConferenceSessionOverviewPageContent_templateObject(),m.LF.conferenceSessionFragment,DateAndTimeCardWithFormConferenceSession.conferenceSessionFragment,VideoSettingsCardWithFormConferenceSession.conferenceSessionFragment,AudienceCardWithFormConferenceSession.conferenceSessionFragment,SpeakersCardWithFormConferenceSession.conferenceSessionFragment,SponsorsCardWithFormConferenceSession.conferenceSessionFragment),ConferenceSessionOverviewPageContent=e=>{var n,t,i,r,s,a,v;let{conferenceSessionId:f}=e,p=(0,l.a)(w,{variables:{conferenceSessionId:f}});return p.loading?(0,o.jsx)(c.g,{}):!p.error&&(null===(n=p.data)||void 0===n?void 0:n.conferenceSession.result)?(0,o.jsxs)(d.rj,{templateColumns:{base:"1fr",lg:"repeat(2, 1fr)"},gap:"6",children:[(0,o.jsx)(m.LF,{conferenceSession:null===(t=p.data)||void 0===t?void 0:t.conferenceSession.result}),(0,o.jsx)(DateAndTimeCardWithFormConferenceSession,{conferenceSession:null===(i=p.data)||void 0===i?void 0:i.conferenceSession.result}),(0,o.jsx)(VideoSettingsCardWithFormConferenceSession,{conferenceSession:null===(r=p.data)||void 0===r?void 0:r.conferenceSession.result}),(0,o.jsx)(AudienceCardWithFormConferenceSession,{conferenceSession:null===(s=p.data)||void 0===s?void 0:s.conferenceSession.result}),(0,o.jsx)(SpeakersCardWithFormConferenceSession,{conferenceSession:null===(a=p.data)||void 0===a?void 0:a.conferenceSession.result}),(0,o.jsx)(SponsorsCardWithFormConferenceSession,{conferenceSession:null===(v=p.data)||void 0===v?void 0:v.conferenceSession.result})]}):(0,o.jsx)(u.S,{})};var F=t(72196),V=t(93064),R=(0,t(52609).z)(()=>{let e=(0,i.useRouter)(),n=e.query.sessionId.toString();return(0,o.jsx)(F.k,{conferenceSessionId:n,children:(0,o.jsx)(ConferenceSessionOverviewPageContent,{conferenceSessionId:n})})},{requiresEvery:[V.lj.ADMIN_ROLE,V.lj.FEATURE_FLAG_CONFERENCES]})},39615:function(e,n,t){"use strict";t.d(n,{E:function(){return getExternalUrl}});let getExternalUrl=e=>e?e.match(/^http?:\/\//i)||e.match(/^https?:\/\//i)?e:"http://"+e:void 0},52609:function(e,n,t){"use strict";t.d(n,{z:function(){return restrictedRoute}});var o=t(85893),i=t(11163),r=t(67294),s=t(39174),a=t(63205),l=t(62893),d=t(69171),c=t(47503),u=t
20(45893),m=t(93064);let v=new Map([[m.lj.AUTHENTICATION,e=>{var n;return!!(null===(n=e.user)||void 0===n?void 0:n._id)}],[m.lj.ADMIN_ROLE,e=>{var n,t;return(null===(n=e.user)||void 0===n?void 0:n.role)===c.uA.ADMIN||(null===(t=e.user)||void 0===t?void 0:t.role)===c.uA.MORGOTH}],[m.lj.MORGOTH_ROLE,e=>{var n;return(null===(n=e.user)||void 0===n?void 0:n.role)===c.uA.MORGOTH}],[m.lj.COMMUNITY_ACCESS,e=>{var n;return(null==e?void 0:null===(n=e.tenant)||void 0===n?void 0:n.communityAccessConfig)===c.iX.PUBLIC?!e.user||e.user.canAccessCommunity:!!e.user&&e.user.canAccessCommunity}],[m.lj.COMMUNITY_READ_ONLY_ACCESS,e=>{var n;return!!(null===(n=e.user)||void 0===n?void 0:n.canAccessCommunityReadOnly)}],[m.lj.SPONSOR_DASHBOARD_ACCESS,e=>{var n,t;return!!(null===(t=e.user)||void 0===t?void 0:null===(n=t.rosterOrganization)||void 0===n?void 0:n.currentUserOrganizationPermission.canManageOrganizationSponsorship)}],[m.lj.SPONSOR_DIRECTORY_ACCESS,e=>{var n,t,o;switch(null===(n=e.tenant)||void 0===n?void 0:n.sponsorDirectoryAccessConfig){case c.pZ.PUBLIC:return!0;case c.pZ.LOGGED_IN_USERS:return!!(null===(t=e.user)||void 0===t?void 0:t._id);case c.pZ.HIDDEN:return!1;default:throw Error("unknown sponsorDirectoryAccessConfig: ".concat(null===(o=e.tenant)||void 0===o?void 0:o.sponsorDirectoryAccessConfig))}}],[m.lj.MEMBER_DIRECTORY_ACCESS,e=>{var n;return!!(null===(n=e.tenant)||void 0===n?void 0:n.currentUserPermissions.canAccessMemberDirectory)}],[m.lj.EVENTS_FEED_ACCESS,e=>{var n;return!!(null===(n=e.tenant)||void 0===n?void 0:n.currentUserPermissions.canAccessEventsFeed)}],[m.lj.ORGANIZATION_DASHBOARD_ACCESS,e=>{var n,t;return!!(null===(t=e.user)||void 0===t?void 0:null===(n=t.rosterOrganization)||void 0===n?void 0:n.currentUserOrganizationPermission.canManageOrganizationProfile)}],[m.lj.DM_PAGE_ACCESS,e=>{var n;return!!(null===(n=e.user)||void 0===n?void 0:n.canAccessDMPage)}],[m.lj.ORGANIZATION_MEMBERSHIP_ACCESS,e=>{var n,t;return!!(null===(t=e.user)||void 0===t?void 0:null===(n=t.rosterOrganization)||void 0===n?void 0:n.currentUserOrganizationPermission.canManageOrganizationMembership)}],[m.lj.FEATURE_FLAG_CMS,e=>{var n,t;return!!(null===(t=e.tenant)||void 0===t?void 0:null===(n=t.featureFlags)||void 0===n?void 0:n.cms)}],[m.lj.FEATURE_FLAG_CONFERENCES,e=>{var n,t;return!!(null===(t=e.tenant)||void 0===t?void 0:null===(n=t.featureFlags)||void 0===n?void 0:n.conferences)}],[m.lj.FEATURE_FLAG_WEBFLOW,e=>{var n,t;return!!(null===(t=e.tenant)||void 0===t?void 0:null===(n=t.featureFlags)||void 0===n?void 0:n.webflow)}],[m.lj.PAID_MODULE_WEBSITE_BUILDER,e=>{var n,t;return!!(null===(t=e.tenant)||void 0===t?void 0:null===(n=t.paidModules)||void 0===n?void 0:n.websiteBuilder)}]]),useRequiredPermission=e=>{let n=(0,u.x)();if(!e.requiresEvery&&!e.requiresSome)return{hasPermission:!0,loading:!1};if(n.loading)return{hasPermission:!1,loading:!0};let t=null==e||!e.requiresEvery||(null==e?void 0:e.requiresEvery.map(e=>v.get(e)).every(e=>!e||e(n))),o=null==e||!e.requiresSome||(null==e?void 0:e.requiresSome.map(e=>v.get(e)).some(e=>!!e&&e(n)));return{hasPermission:t&&o,loading:!1}},restrictedRoute=(e,n,t)=>c=>{let u=(0,i.useRouter)(),m=useRequiredPermission(n),v=(0,l.T)(),f=(0,a.U)(),p=m.loading||v.isLoading||f.loading,_=!!t&&!!t.requiresMemberManagement&&!f.isActive;return(r.useEffect(()=>{p||m.hasPermission&&!_||v.isAuthenticated||!u.isReady||u.replace({pathname:"/login",query:{redirect:u.asPath}})},[p,u,_,v.isAuthenticated,m.hasPermission]),p)?(0,o.jsx)(d.g,{}):!m.hasPermission||_?v.isAuthenticated?(0,o.jsx)(s.A,{}):(0,o.jsx)(d.g,{}):(0,o.jsx)(e,{...c})}},48521:function(){},5152:function(e,n,t){e.exports=t(1342)}},function(e){e.O(0,[79412,9669,9041,69741,5206,32512,24062,30588,64986,96317,55643,66854,56112,38885,20764,75591,91663,48683,49774,92888,40179],function(){return e(e.s=10202)}),_N_E=e.O()}]); 21//# sourceMappingURL=overview-172c648b02aea002.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.