PageSourceSearch

https://commonspirit.events/_next/static/chunks/10829.c08aa2da7fb91620.js

js commonspirit.events collected 2026-10-08 22:44:19 UTC 21,746 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10829],{10829:(e,t,n)=>{n.d(t,{f:()=>Z,A:()=>J});var r=n(95155),i=n(22790),s=n(11929),l=n(71991),o=n(30896),a=n(75662),d=n(12115),u=n(27747),c=n(41942),v=n(80317),m=n(60193),h=n(84389),p=n(3087),x=n(50301),g=n(23317),y=n(41574),A=n(24205),f=n(21333),I=n(12858),j=n(23928),w=n(2830),b=n(48857),S=n(80969),k=n(83650),T=n(87383),C=n(66587),E=n(98670),P=n(13609),F=n(88457),M=n(22354),R=n(32150),L=n(2632),D=n(42464),_=n(16093),U=n(7761),O=n(72407),z=n(37406),B=n(30482),H=n(27122),G=n(36817),W=n(47088),V=n(35504),Y=n(22974),N=n(9775);let $=new Map;function K(e){var t,n,i,s,l,o,u;let{sessionData:m,isPreview:h=!1}=e,{t:p}=(0,a.Bd)(),x=(0,P.jL)(),{liveSessions:g,sessionMessages:y}=(0,P.GV)(e=>e.stream),A=(0,d.useRef)(null),[f,I]=(0,d.useState)("PRIMARY"),j=(0,d.useRef)(0),w=(0,d.useRef)(0),b=(0,d.useRef)(null),S=(0,d.useRef)(null),[k,T]=(0,d.useState)(null),[C,E]=(0,d.useState)("off"),F=(0,d.useCallback)((e,t)=>{T({captions:e,partial:t})},[]),M=Array.isArray(null==m?void 0:m.sessionFormat)&&m.sessionFormat.includes(O.Ut.LIVE_STREAM)?null==m||null==(t=m.liveStream)?void 0:t.status:"",R=Array.isArray(null==m?void 0:m.sessionFormat)&&m.sessionFormat.includes(O.Ut.LIVE_STREAM)?(null==m||null==(n=m.liveStream)?void 0:n.message)||"Waiting for stream to start":"Waiting for host to start the session",L=(0,d.useMemo)(()=>g.find(e=>e.sessionId===m.sessionId),[g,m.sessionId]),D=(0,d.useRef)(null);(0,d.useEffect)(()=>{var e,t;if("live"!==M)return;let n="".concat(m.sessionId,":").concat((null==(e=m.liveStream)?void 0:e.streamId)||"");if(null==L?void 0:L.isLive){D.current=n;return}D.current!==n&&(D.current=n,x((0,V.XI)({isLive:!0,sessionId:m.sessionId,tenantId:m.tenantId,eventId:m.eventId,streamId:(null==(t=m.liveStream)?void 0:t.streamId)||""})))},[x,null==L?void 0:L.isLive,M,m.eventId,null==(i=m.liveStream)?void 0:i.streamId,m.sessionId,m.tenantId]),(0,d.useEffect)(()=>{R&&x((0,V.yH)({message:R,sessionId:m.sessionId,tenantId:m.tenantId,eventId:m.eventId}))},[x,R,M,m.eventId,m.sessionId,m.tenantId]);let _=(0,d.useMemo)(()=>{var e;return null==(e=y.find(e=>e.sessionId===m.sessionId))?void 0:e.message},[m.sessionId,y]),{isLive:U,streamId:z}=(0,d.useMemo)(()=>Array.isArray(m.sessionFormat)&&m.sessionFormat.includes(O.Ut.LIVE_STREAM)?{isLive:!!(null==L?void 0:L.isLive),streamId:null==L?void 0:L.streamId}:{isLive:new Date(null==m?void 0:m.startTime).getTime()<=new Date().getTime(),streamId:null},[L,m.sessionFormat,null==m?void 0:m.startTime]),K=Array.isArray(null==m?void 0:m.sessionFormat)&&m.sessionFormat.includes(O.Ut.VOD)&&(h||(null==m||null==(s=m.vod)?void 0:s.isPublished))&&(null==m||null==(l=m.vod)?void 0:l.output),Q=(0,d.useMemo)(()=>{var e,t,n;let r=Array.isArray(null==m?void 0:m.sessionFormat)&&m.sessionFormat.includes(O.Ut.LIVE_STREAM);return r&&U?null==(e=m.liveStream)?void 0:e.playbackUrl:K?null==m||null==(t=m.vod)?void 0:t.output:r?null==(n=m.liveStream)?void 0:n.playbackUrl:void 0},[m,U,K]),{url:X}=(0,G.A)({path:W.locations.sessionLiveStreamCover(null==m?void 0:m.tenantId,null==m?void 0:m.eventId,null==m?void 0:m.sessionId)}),J=(0,d.useMemo)(()=>{let e=Array.isArray(null==m?void 0:m.sessionFormat)&&m.sessionFormat.includes(O.Ut.LIVE_STREAM);return{enabled:!h,tenantId:null==m?void 0:m.tenantId,eventId:null==m?void 0:m.eventId,sessionId:null==m?void 0:m.sessionId,type:(0,O.uY)(U,!!K,e),streamId:z||""}},[U,K,h,null==m?void 0:m.eventId,null==m?void 0:m.sessionFormat,null==m?void 0:m.sessionId,null==m?void 0:m.tenantId,z]),Z=(0,d.useCallback)(e=>{((null==e?void 0:e.code)===404||(null==e?void 0:e.code)===-1)&&I(t=>{if("PRIMARY"===t||"RETRYING_PRIMARY"===t){var n,r,i;return j.current<2?(j.current+=1,b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{var e;let t=null==(e=A.current)?void 0:e.getPlayerInstance();t&&!t.isDisposed()&&(t.error(null),t.addClass("vjs-retrying"),t.src(Q),t.autoplay(!0),t.play()),b.current=null},3e3),"RETRYING_PRIMARY"):(b.current&&(clearTimeout(b.current),b.current=null),null==(r=m.liveStream)||null==(n=r.failover)?void 0:n.playbackUrl)?(null==(i=A.current)||i.switchSource(m.liveStream.failover.playbackUrl,"primary_stream_failed_after_retries"),j.current=0,"FALLBACK"):"FAILED"}return"FALLBACK"===t||"RETRYING_FALLBACK"===t?w.current<2?(w.current+=1,b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{var e,t,n;let r=null==(e=A.current)?void 0:e.getPlayerInstance();r&&!r.isDisposed()&&(null==(n=m.liveStream)||null==(t=n.failover)?void 0:t.playbackUrl)&&(r.error(null),r.addClass("vjs-retrying"),r.src(m.liveStream.failover.playbackUrl),r.autoplay(!0),r.play()),b.current=null},3e3),"RETRYING_FALLBACK"):(b.current&&(clearTimeout(b.current),b.current=null),(0,H.r)({message:"Both primary and fallback streams failed, restarting failover process",extra:{sessionId:m.sessionId,eventId:m.eventId,tenantId:m.tenantId,error:e,primaryRetries:j.current,fallbackRetries:w.current}}),b.current=setTimeout(()=>{var e;j.current=0,w.current=0;let t=null==(e=A.current)?void 0:e.getPlayerInstance();t&&!t.isDisposed()&&(t.error(null),t.addClass("vjs-retrying"),t.src(Q),t.autoplay(!0),t.play(),I("PRIMARY")),b.current=null},1e4),"FAILED"):t})},[Q,null==(u=m.liveStream)||null==(o=u.failover)?void 0:o.playbackUrl,m.sessionId,m.eventId,m.tenantId,2,2]),q=(0,d.useCallback)((e,t)=>{let n=new Date().toISOString();(0,H.r)({message:"Stream failover activated",extra:{sessionId:m.sessionId,eventId:m.eventId,tenantId:m.tenantId,reason:t,newSource:e,streamState:f,primaryRetries:j.current,fallbackRetries:w.current,timestamp:n}})},[f,m.sessionId,m.eventId,m.tenantId]),ee=(0,d.useCallback)(e=>{j.current=0,w.current=0,I("PRIMARY"),Z({code:-1,message:"Stream ended, restarting"})}
1,[Z]),et=(0,d.useMemo)(()=>new Date(null==m?void 0:m.startTime).getTime()>new Date().getTime(),[null==m?void 0:m.startTime]);(0,d.useEffect)(()=>()=>{b.current&&(clearTimeout(b.current),b.current=null)},[]);let en=(0,d.useMemo)(()=>{let e=Array.isArray(m.sessionFormat)&&m.sessionFormat.includes(O.Ut.LIVE_STREAM),t=Array.isArray(m.sessionFormat)&&m.sessionFormat.includes(O.Ut.VOD);return e&&"external"===m.liveStreamHost&&m.liveStreamExternalUrl?m.liveStreamExternalUrl:t&&"external"===m.vodHost&&m.vodExternalUrl?m.vodExternalUrl:null},[m.liveStreamExternalUrl,m.liveStreamHost,m.sessionFormat,m.vodExternalUrl,m.vodHost]);return(0,d.useEffect)(()=>{if(!en){S.current=null;return}if(S.current===en)return;let e=Date.now(),t=$.get(en);t&&e-t<1500||(window.open(en,"_blank","noopener,noreferrer"),S.current=en,$.set(en,e))},[en]),(0,r.jsx)(c.A,{sx:{height:"100%",width:"100%",position:"relative",overflow:"auto",backgroundColor:e=>e.palette.common.black,color:e=>e.palette.common.white},children:(()=>{let e=Array.isArray(m.sessionFormat)&&m.sessionFormat.includes(O.Ut.LIVE_STREAM),t=Array.isArray(m.sessionFormat)&&m.sessionFormat.includes(O.Ut.VOD);if(Array.isArray(m.sessionFormat)&&m.sessionFormat.includes(O.Ut.IN_PERSON)&&!e&&!t)return null;if(en)return(0,r.jsxs)(c.A,{sx:{m:"auto",gap:2,alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},children:[(0,r.jsx)(v.A,{variant:"h5",children:p("eventPortal.sessionPlayer.redirecting")}),(0,r.jsx)(v.A,{component:"a",href:en,target:"_blank",rel:"noopener noreferrer",variant:"body2",sx:{color:"primary.light",textDecoration:"underline",cursor:"pointer"},children:p("eventPortal.sessionPlayer.redirectFallback")})]});if(U||K){var n,i;let t=e&&U;return(0,r.jsx)(c.A,{sx:{height:"100%",width:"100%",flexGrow:1,position:"relative"},children:(0,r.jsx)(N.A,{src:Q||"",poster:X,analytics:J,playerDefaultsOptions:{fill:!0},vodSubtitles:t?void 0:(null==m||null==(n=m.vod)?void 0:n.translatedSubtitles)||null,ref:A,onStreamError:Z,onSourceSwitch:q,onStreamEnd:ee,onCaptionData:F,onCaptionLangChange:E,captionData:t?k:void 0,selectedCaptionLang:C,availableCaptionLanguages:null==(i=m.liveStream)?void 0:i.captionLanguages})})}return et?(0,r.jsx)(c.A,{sx:{height:"100%",width:"100%",flexGrow:1,background:"url(".concat(X,") no-repeat center center"),backgroundSize:"contain"},children:(0,r.jsxs)(c.A,{sx:{m:"auto",backgroundColor:"rgba(0, 0, 0, 0.5)",borderRadius:1,px:3,pb:3},children:[(0,r.jsx)(c.A,{children:(0,r.jsx)(Y.A,{time:(null==m?void 0:m.startTime)||""})}),(0,r.jsxs)(v.A,{sx:{textAlign:"center",mt:2},variant:"h4",children:[(0,B.GP)(new Date(null==m?void 0:m.startTime),"MMMM dd")," at"," ",(0,B.GP)(new Date(null==m?void 0:m.startTime),"h:mm a")]})]})}):(0,r.jsx)(c.A,{sx:{height:"100%",width:"100%",flexGrow:1,background:"url(".concat(X,") no-repeat center center"),backgroundSize:"contain"},children:(0,r.jsx)(c.A,{sx:{m:"auto",backgroundColor:"rgba(0, 0, 0, 0.5)",borderRadius:1,px:5,py:3},children:(0,r.jsx)(v.A,{sx:{textAlign:"center"},variant:"h4",children:_||R||"Stream has ended"})})})})()})}var Q=n(15181),X=n(51839);function J(e){var t,n,i;let{sessionData:s,onClose:l,sessionTrackObj:o,sessionTypeObj:a,speakersObj:y,eventData:I,isPreview:w=!1,...M}=e,D=(0,f.Q)("down","md"),{user:_}=(0,k.Z)(),B=(0,j.M2)(s,"title"),H=(0,j.Ix)(),G=(0,A.C)(),W=(0,A.C)(!0),V=null==I||null==(n=I["registration-levels"])||null==(t=n.find(e=>{var t,n;return(null==e?void 0:e.registrationLevelId)===(null==I||null==(n=I.registration)||null==(t=n.registration)?void 0:t.registrationLevelId)}))?void 0:t.levelType,{tenant:Y}=(0,T.n)(),N=(0,P.jL)(),{liveSessions:$}=(0,P.GV)(e=>e.stream),J=!(Array.isArray(null==s?void 0:s.sessionFormat)&&s.sessionFormat.includes(O.Ut.LIVE_STREAM)&&$.some(e=>e.sessionId===s.sessionId&&e.isLive))&&!!(null==Y?void 0:Y.enableAi)&&!!(null==s||null==(i=s.vod)?void 0:i.aiSummary),q=(null==_?void 0:_.attendeeId)||(null==_?void 0:_.id),ee=(0,d.useMemo)(()=>{var e;if(!q||!(null==s||null==(e=s.team)?void 0:e.length))return[];let t=s.team.find(e=>e.attendeeId===q);return((null==t?void 0:t.roles)||[]).map(e=>(0,O.EQ)(e))},[null==s?void 0:s.team,q]),et=!!q&&(0,O.EB)(s,q),en=!!q&&(0,O.z)(s,q),er=s.showChat||s.showPoll||s.showQandA||en||D,ei=en?"engagement":"chat",es=(0,A.C)(V===U.K.INPERSON&&er);(0,d.useEffect)(()=>(window.$crisp&&(window.$crisp.push(["do","chat:hide"]),window.$crisp.push(["on","chat:closed",()=>{window.$crisp&&window.$crisp.push(["do","chat:hide"])}
1])),()=>{window.$crisp&&(window.$crisp.push(["off","chat:closed"]),window.$crisp.push(["do","chat:show"]))}),[]);let[el,eo]=(0,d.useState)(!1),[ea,ed]=(0,d.useState)((null==s?void 0:s.surveyId)||""),{refetch:eu}=(0,F.LS)({eventId:(null==I?void 0:I.id)||"",tenantId:(null==Y?void 0:Y.id)||"",sessionId:(null==s?void 0:s.sessionId)||""},{skip:!(null==I?void 0:I.id)||!(null==Y?void 0:Y.id)||!(null==s?void 0:s.sessionId)}),ec=async()=>{let e=(null==s?void 0:s.surveyId)||"";try{var t;e=(null==(t=(await eu()).data)?void 0:t.surveyId)||e}catch(e){console.error("Failed to refresh session before opening survey",e)}e?(ed(e),eo(!0)):(N((0,E.CX)()),l())},ev=s.sessionType?a[s.sessionType||""]:void 0,em=b.yH,eh=(0,b.tt)(null==ev?void 0:ev.color)||em;return(0,r.jsxs)(u.A,{fullScreen:!0,onClose:ec,...M,children:[(0,r.jsxs)(c.A,{px:{xs:2,md:5},height:{xs:C.El.H_MOBILE,md:C.El.H_DESKTOP},sx:{backgroundColor:"background.paper"},flexDirection:"row",justifyContent:"space-between",alignItems:"center",children:[(0,r.jsxs)(c.A,{direction:"row",spacing:2,alignItems:"center",children:[(0,r.jsx)(v.A,{variant:"h5",children:B}),!D&&et&&ee.length>0&&(0,r.jsx)(r.Fragment,{children:ee.map(e=>(0,r.jsx)(R.A,{variant:"soft",color:"info",children:e},e))}),!D&&H(ev,"name")&&(0,r.jsx)(R.A,{variant:"soft",sx:{...eh&&{...(0,b.Tl)(eh)}},children:H(ev,"name")}),!D&&(0,r.jsx)(v.A,{sx:{color:"text.secondary"},variant:"body2",children:(0,S.KQ)(s.startTime,s.endTime,null==I?void 0:I.timezone)?(0,S.Ae)(s.startTime,s.endTime,null==I?void 0:I.timezone,"MMMM d, yyyy"):"".concat((0,S.un)(s.startTime,null==I?void 0:I.timezone,"MMMM d, yyyy"),", ").concat((0,S.fk)(s.startTime,!s.endTime,null==I?void 0:I.timezone)," - ").concat((0,S.fk)(s.endTime,!0,null==I?void 0:I.timezone))})]}),(0,r.jsxs)(c.A,{direction:"row",spacing:1,alignItems:"center",children:[!D&&J&&(0,r.jsx)(Q.A,{summary:s.vod.aiSummary}),(0,r.jsx)(m.A,{onClick:ec,children:(0,r.jsx)(L.A,{icon:"eva:close-fill",width:24,height:24})})]})]}),(0,r.jsx)(h.A,{}),(0,r.jsxs)(c.A,{height:{xs:"calc(100vh - ".concat(C.El.H_MOBILE,"px)"),md:"calc(100vh - ".concat(C.El.H_DESKTOP,"px)")},flexDirection:{xs:"column",md:"row"},position:"relative",width:1,children:[!(es.value&&W.value)&&!(D&&es.value)&&(0,r.jsxs)(c.A,{height:{xs:270,md:"100%"},flexGrow:1,flexShrink:0,justifyContent:{md:"center"},children:[(0,r.jsx)(K,{sessionData:s,isPreview:w}),D&&J&&(0,r.jsx)(c.A,{direction:"row",alignItems:"center",justifyContent:"flex-end",sx:{px:1.5,py:.5,backgroundColor:e=>e.palette.background.paper},children:(0,r.jsx)(Q.A,{summary:s.vod.aiSummary})}),!D&&(0,r.jsxs)(c.A,{flexShrink:0,sx:{backgroundColor:e=>e.palette.background.paper,p:2,mt:{md:"auto"}},flexDirection:"row",alignItems:"center",justifyContent:"space-between",children:[(0,r.jsx)(p.A,{startIcon:(0,r.jsx)(L.A,{icon:"mdi:information-outline",width:24,height:24}),variant:"outlined",onClick:G.onTrue,children:"Session Information"}),(0,r.jsxs)(c.A,{direction:"row",spacing:1,alignItems:"center",children:[(null==Y?void 0:Y.enableChatSupport)&&(0,r.jsx)(x.A,{title:"Contact Support",placement:"left",children:(0,r.jsx)(m.A,{onClick:()=>{window.$crisp&&(window.$crisp.push(["do","chat:show"]),setTimeout(()=>{window.$crisp.push(["do","chat:open"])},100))},color:"default",sx:{border:e=>"1px solid ".concat(e.palette.divider)},children:(0,r.jsx)(L.A,{icon:"mdi:help-circle-outline",width:24,height:24})})}),er&&(0,r.jsx)(x.A,{title:"".concat(W.value?"Hide":"Show"," ").concat(ei," panel"),placement:"left",children:(0,r.jsx)(m.A,{onClick:W.onToggle,color:"primary",sx:{border:e=>"1px solid ".concat(e.palette.divider)},children:(0,r.jsx)(L.A,{icon:W.value?"mdi:chevron-right":"mdi:message-text-outline",width:24,height:24})})})]})]})]}),er&&(0,r.jsx)(g.A,{in:D||W.value,timeout:300,children:(0,r.jsx)(c.A,{height:{xs:es.value?"100%":"auto",md:"100%"},minHeight:{xs:es.value?"100%":"80vh"},width:{xs:"100%",md:W.value?es.value?"100%":395:0},sx:{backgroundColor:"background.neutral",borderLeft:e=>"1px solid ".concat(e.palette.divider),padding:{xs:0,sm:3,md:0},overflow:"hidden",transition:e=>e.transitions.create(["width","height"],{duration:e.transitions.duration.standard}),display:D||W.value?"flex":"none"},children:(0,r.jsx)(c.A,{sx:{backgroundColor:"background.paper"},height:1,width:1,children:(0,r.jsx)(z.A,{canManageEngagement:en,showDetail
1s:D||es.value,drawerExpanded:es.value,onToggleExpand:es.onToggle,onCollapsePanel:W.onFalse,isMobile:D,sessionData:s,sessionTrackObj:o,sessionTypeObj:a,speakersObj:y,eventData:I})})})})]}),(0,r.jsx)(X.A,{fullScreen:!0,maxWidth:"lg",sx:{"& .MuiDialog-paper":{height:{md:"calc(100vh - 200px)"},top:{md:100}}},onClose:G.onFalse,open:G.value,eventData:I,sessionData:s,sessionTrackObj:o,sessionTypeObj:a,speakersObj:y}),ea&&(0,r.jsx)(Z,{open:el,onClose:()=>{eo(!1),N((0,E.CX)()),l()},surveyId:ea,eventId:(null==I?void 0:I.id)||"",tenantId:(null==Y?void 0:Y.id)||""})]})}function Z(e){let{open:t,onClose:n,surveyId:h,eventId:x,tenantId:g}=e,{t:A}=(0,a.Bd)(),{user:f}=(0,k.Z)(),{enqueueSnackbar:j}=(0,l.dh)(),[b]=(0,M.FW)(),[S,T]=(0,d.useState)(!1),[C,E]=(0,d.useState)(!1),[P,F]=(0,d.useState)(!1),{data:R,isLoading:U}=(0,M.cK)({eventId:x,surveyId:h,tenantId:g,isPublic:!(null==f?void 0:f.id)},{skip:!t||!x||!h,refetchOnMountOrArgChange:!0}),{data:O,isLoading:z,refetch:B}=(0,M.Ci)({eventId:x,tenantId:g,surveyId:h,attendeeId:null==f?void 0:f.id},{skip:!t||!x||!h||!(null==f?void 0:f.id)}),H=!!O,G=(0,d.useCallback)(async e=>{try{await b({eventId:x,tenantId:g,surveyId:h,isPublic:!(null==f?void 0:f.id),body:{attendeeId:(null==f?void 0:f.id)||"guest_".concat((0,s.A)()),submission:e.data}}).unwrap(),T(!0),B(),setTimeout(()=>{n()},3e3)}catch(e){var t;if(console.error(e),(0,_.p)(e))return void F(!0);j((null==e||null==(t=e.data)?void 0:t.error)||A("eventPortal.survey.submitFailed"),{variant:"error"})}},[b,x,g,h,null==f?void 0:f.id,n,j,A,B]),W=(0,d.useRef)(G);(0,d.useEffect)(()=>{W.current=G},[G]);let V=(0,d.useMemo)(()=>{if(!(null==R?void 0:R.dataJson)||!(0,_._)(R.status))return null;try{(0,w.Q)();let e=new i.Kxg(R.dataJson);return e.applyTheme((null==R?void 0:R.surveyTheme)||D.z),e.onComplete.add(e=>W.current(e)),e}catch(e){return console.error(e),null}},[R]);(0,I.U)(V),(0,d.useEffect)(()=>{t&&(E(!1),T(!1),F(!1),null==V||V.clear(!1,!0))},[t,V]);let Y=P||R&&!(0,_._)(R.status)||!C&&!z||C&&S,N=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,r.jsx)(m.A,{onClick:n,"aria-label":"close",sx:{position:"absolute",right:e?-8:24,top:e?"50%":12,transform:e?"translateY(-50%)":void 0,color:e=>e.palette.text.secondary},children:(0,r.jsx)(L.A,{icon:"eva:close-fill",width:24,height:24})})};return(0,r.jsxs)(u.A,{open:t,onClose:n,maxWidth:"sm",fullWidth:!0,"aria-labelledby":"session-survey-dialog-title",children:[!Y&&N(),(0,r.jsx)(c.A,{sx:{p:4,pt:5,textAlign:"center"},spacing:3,children:(()=>{if(P||R&&!(0,_._)(R.status))return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v.A,{id:"session-survey-dialog-title",variant:"h4",sx:{position:"relative",width:"100%",px:5},children:[A("eventPortal.survey.closedTitle"),N(!0)]}),(0,r.jsx)(v.A,{variant:"body1",sx:{color:"text.secondary"},children:A("eventPortal.survey.closedDesc")}),(0,r.jsx)(p.A,{variant:"outlined",color:"inherit",onClick:n,sx:{alignSelf:"center",minWidth:120,py:1.5},children:A("actions.close")})]});if(!C){if(z)return(0,r.jsx)(v.A,{sx:{py:4},children:A("eventPortal.survey.loading")});let e=(null==R?void 0:R.allowMultipleSubmissions)===!0;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v.A,{id:"session-survey-dialog-title",variant:"h4",sx:{position:"relative",width:"100%",px:5},children:[H?A("eventPortal.survey.alreadySubmittedTitle"):A("eventPortal.survey.promptTitle"),N(!0)]}),(0,r.jsx)(v.A,{variant:"body1",sx:{color:"text.secondary"},children:H?A("eventPortal.survey.alreadySubmittedDesc"):A("eventPortal.survey.promptDesc")}),(0,r.jsxs)(c.A,{direction:"row",spacing:2,justifyContent:"center",sx:{mt:2},children:[(0,r.jsx)(p.A,{variant:"outlined",color:"inherit",onClick:n,sx:{minWidth:120,py:1.5},children:H?A("actions.close"):A("eventPortal.survey.skip")}),(!H||e)&&(0,r.jsx)(p.A,{variant:"contained",color:"primary",onClick:()=>E(!0),sx:{minWidth:120,py:1.5},children:H?A("eventPortal.survey.retake"):A("eventPortal.survey.start")})]})]})}return S?(0,r.jsxs)(c.A,{sx:{py:4,alignItems:"center"},spacing:2,children:[(0,r.jsx)(L.A,{icon:"mdi:checkbox-marked-circle-outline",width:64,height:64,color:"success.main"}),(0,r.jsxs)(v.A,{id:"session-survey-dialog-title",variant:"h4",sx:{position:"relative",width:"100%",px:5},children:[A("eventPortal.survey.thankYou"),N(!0)]}),(0,r.jsx)(v.A,{variant:"body1",sx:{color:"text.secondary"},children:A("eventPortal.survey.submitted")})]}):U?(0,r.jsx)(v.A,{sx:{py:4},children:A("eventPortal.survey.loading")}
1):V?(0,r.jsx)(y.A,{sx:{textAlign:"left","& .sd-root-modern":{p:0,boxShadow:"none"}},children:(0,r.jsx)(o.BN,{model:V})}):(0,r.jsx)(v.A,{sx:{py:4,color:"error.main"},children:A("eventPortal.survey.loadFailed")})})()})]})}},15181:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(95155),i=n(12115),s=n(75662),l=n(50301),o=n(60193),a=n(55077),d=n(41942),u=n(80317),c=n(41574),v=n(70110),m=n(2632),h=n(81987);function p(e){let{summary:t}=e,[n,p]=(0,i.useState)(!1),{t:x}=(0,s.Bd)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.A,{title:x("eventPortal.aiSummary.tooltip"),placement:"top",children:(0,r.jsx)(o.A,{onClick:()=>p(!0),size:"small",children:(0,r.jsx)(m.A,{icon:"mdi:auto-awesome",width:18})})}),(0,r.jsx)(a.Ay,{anchor:"right",open:n,onClose:(e,t)=>"backdropClick"!==t&&p(!1),sx:{zIndex:1400},PaperProps:{sx:{width:{xs:"100%",sm:420},maxWidth:"100vw"}},children:(0,r.jsxs)(d.A,{sx:{height:"100%"},children:[(0,r.jsxs)(d.A,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{px:2.5,py:2,borderBottom:e=>"1px solid ".concat(e.palette.divider)},children:[(0,r.jsxs)(d.A,{direction:"row",alignItems:"center",spacing:1.5,children:[(0,r.jsx)(m.A,{icon:"mdi:auto-awesome",width:20,sx:{color:"text.secondary"}}),(0,r.jsxs)(d.A,{children:[(0,r.jsx)(u.A,{variant:"subtitle1",children:x("eventPortal.aiSummary.title")}),(0,r.jsx)(u.A,{variant:"caption",sx:{color:"text.secondary"},children:x("eventPortal.aiSummary.autoGenerated")})]})]}),(0,r.jsx)(o.A,{onClick:()=>p(!1),children:(0,r.jsx)(m.A,{icon:"eva:close-fill",width:20})})]}),(0,r.jsxs)(c.A,{sx:{p:2.5,flexGrow:1,overflow:"auto"},children:[(0,r.jsx)(v.A,{icon:(0,r.jsx)(m.A,{icon:"mdi:robot-outline",width:16}),label:x("eventPortal.aiSummary.generatedByAi"),size:"small",variant:"outlined",color:"default",sx:{mb:1}}),(0,r.jsx)(c.A,{sx:{"& > :first-of-type":{marginTop:"0 !important"},"& h1":{fontSize:"1.2rem !important",fontWeight:"700 !important",lineHeight:"1.3 !important",marginTop:"14px !important",marginBottom:"8px !important",color:e=>e.palette.text.primary},"& h2":{fontSize:"0.95rem !important",fontWeight:"700 !important",lineHeight:"1.3 !important",marginTop:"22px !important",marginBottom:"6px !important",color:e=>e.palette.text.primary},"& h3":{fontSize:"0.875rem !important",fontWeight:"600 !important",lineHeight:"1.3 !important",marginTop:"16px !important",marginBottom:"4px !important"},"& ul, & ol":{pl:2.5,mt:"4px !important","& ::marker":{color:e=>e.palette.text.disabled}},"& li":{mb:"4px !important",fontSize:"0.84rem !important",lineHeight:"1.5 !important",color:e=>e.palette.text.primary},"& p":{mb:1,fontSize:"0.84rem !important",fontWeight:"400 !important",lineHeight:"1.55 !important",color:e=>e.palette.text.secondary}},children:(0,r.jsx)(h.A,{children:t.text})})]})]})})]})}}}]);

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.