PageSourceSearch

https://www.careerfairy.io/_next/static/chunks/pages/group/[groupI…/registration-sources-cbc87f16f7b32e05.js

js careerfairy.io collected 2026-09-24 12:05:52 UTC 54,866 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d18d10a9-82ca-4634-91f5-ab93ff31b844",e._sentryDebugIdIdentifier="sentry-dbid-d18d10a9-82ca-4634-91f5-ab93ff31b844")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1689,8468],{31134:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(7896),i=n(31461),o=n(2784);n(48570);var a=n(40489),s=n(76224),u=n(65992),l=n(43853),c=n(47645),d=n(6970);function getBottomNavigationUtilityClass(e){return(0,d.ZP)("MuiBottomNavigation",e)}(0,c.Z)("MuiBottomNavigation",["root"]);var p=n(52322);let f=["children","className","component","onChange","showLabels","value"],useUtilityClasses=e=>{let{classes:t}=e;return(0,s.Z)({root:["root"]},getBottomNavigationUtilityClass,t)},m=(0,u.ZP)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper})),v=o.forwardRef(function(e,t){let n=(0,l.Z)({props:e,name:"MuiBottomNavigation"}),{children:s,className:u,component:c="div",onChange:d,showLabels:v=!1,value:h}=n,g=(0,i.Z)(n,f),x=(0,r.Z)({},n,{component:c,showLabels:v}),C=useUtilityClasses(x);return(0,p.jsx)(m,(0,r.Z)({as:c,className:(0,a.Z)(C.root,u),ref:t,ownerState:x},g,{children:o.Children.map(s,(e,t)=>{if(!o.isValidElement(e))return null;let n=void 0===e.props.value?t:e.props.value;return o.cloneElement(e,{selected:n===h,showLabel:void 0!==e.props.showLabel?e.props.showLabel:v,value:n,onChange:d})})}))});var h=v},22554:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(31461),i=n(7896),o=n(2784),a=n(40489),s=n(76224),u=n(65992),l=n(43853),c=n(90766),d=n(47645),p=n(6970);function getBottomNavigationActionUtilityClass(e){return(0,p.ZP)("MuiBottomN
1avigationAction",e)}let f=(0,d.Z)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]);var m=n(52322);let v=["className","icon","label","onChange","onClick","selected","showLabel","value"],useUtilityClasses=e=>{let{classes:t,showLabel:n,selected:r}=e;return(0,s.Z)({root:["root",!n&&!r&&"iconOnly",r&&"selected"],label:["label",!n&&!r&&"iconOnly",r&&"selected"]},getBottomNavigationActionUtilityClass,t)},h=(0,u.ZP)(c.Z,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})(({theme:e,ownerState:t})=>(0,i.Z)({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${f.selected}`]:{color:(e.vars||e).palette.primary.main}})),g=(0,u.ZP)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})(({theme:e,ownerState:t})=>(0,i.Z)({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${f.selected}`]:{fontSize:e.typography.pxToRem(14)}})),x=o.forwardRef(function(e,t){let n=(0,l.Z)({props:e,name:"MuiBottomNavigationAction"}),{className:o,icon:s,label:u,onChange:c,onClick:d,value:p}
1=n,f=(0,r.Z)(n,v),x=useUtilityClasses(n);return(0,m.jsxs)(h,(0,i.Z)({ref:t,className:(0,a.Z)(x.root,o),focusRipple:!0,onClick:e=>{c&&c(e,p),d&&d(e)},ownerState:n},f,{children:[s,(0,m.jsx)(g,{className:x.label,ownerState:n,children:u})]}))});var C=x},26449:function(e,t,n){"use strict";n(2784);var r=n(6620),i=n(52322);t.Z=(0,r.Z)((0,i.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},82686:function(e,t,n){"use strict";n(2784);var r=n(6620),i=n(52322);t.Z=(0,r.Z)((0,i.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},75252:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/group/[groupId]/admin/analytics/live-streams/registration-sources",function(){return n(36804)}])},53457:function(e,t,n){"use strict";var r=n(32670),i=n(87963),o=n(22970),a=n(55044),s=n(5632),u=n(2784),l=n(89178),c=n(65480),d=n(18231);t.Z=function(){var e,t=(0,s.useRouter)(),n=t.push,p=t.asPath,f=(0,l.a)(),m=f.authenticatedUser,v=f.userData,h=f.isLoggedOut,g=(0,i._)((0,u.useState)(!1),2),x=g[0],C=g[1],S=(0,u.useCallback)((e=(0,r._)(function(e,t){var r,i;return(0,o.Jh)(this,function(o){switch(o.label){case 0:if(h)return[2,void n({pathname:"/signup",query:{absolutePath:p}})];o.label=1;case 1:return o.trys.push([1,3,4,5]),C(!0),[4,a.hE.toggleUpvoteQuestion(a.hE.getLivestreamRef(t.id),e.id,m)];case 2:return"upvoted"===(r=o.sent())&&c.B5.upvoteQuestion(t,v),[2,r];case 3:return i=o.sent(),(0,d.LS)(i,{message:"Error upvoting question",details:{question:e,livestream:t,userData:v}}),[3,5];case 4:return C(!1),[7];case 5:return[2]}})}),function(t,n){return e.apply(this,arguments)}),[h,n,p,m,v]),y=(0,u.useCallback)(function(e){var t,n;return(null===(t=e.emailOfVoters)||void 0===t?void 0:t.includes(m.email))||(null===(n=e.voterIds)||void 0===n?void 0:n.includes(m.uid))},[m.email,m.uid]);return(0,u.useMemo)(function(){return{toggleUpvoteQuestion:S,isUpvoting:x,hasUpvotedQuestion:y}},[y,x,S])}},83573:function(e,t,n){"use strict";n.d(t,{ap:function(){return s.a},$p:function(){return useAgoraRtcToken},cG:function(){return m.c},Xv:function(){return useSideDrawer},p1:function(){return useStreamIsLandscape},PI:function(){return u.P}});var r=n(83486),i=n(2784),o=n(61408),a=n(37078),useSideDrawer=function(){var e=(0,r.T)(),t=(0,a.fP)(),n=t.isOpen,s=t.activeView;return{isOpen:n,toggle:(0,i.useCallback)(function(){return e((0,o.Rp)())},[e]),activeView:s}},s=n(2376),u=n(77487),l=n(27149),useStreamIsLandscape=function(){var e=(0,u.P)(),t=(0,l.Z)("(orientation: landscape)");return e&&t},c=n(55044),d=n(18231),p=n(89178),f=n(2303),useAgoraRtcToken=function(e){var t=(0,p.a)().authenticatedUser,n=e?"get-agora-rtc-token-".concat(JSON.stringify(e)):null,r=(0,i.useMemo)(function(){return{onError:function(e,n){return(0,d.LS)(e,{message:"Failed to fetch Agora RTC token",userUid:null==t?void 0:t.uid,args:n})}}},[null==t?void 0:t.uid]),o=(0,f.Z)(n,function(){return c.hE.fetchAgoraRtcToken(e)},r),a=o.data,s=o.isValidating,u=o.error,l=o.mutate,m=o.isLoading;return{token:a,isLoading:s||m,isError:!!u,reFetchToken:l}},m=n(8212)},2376:function(e,t,n){"use strict";n.d(t,{a:function(){return useActiveSidePanelView}});var r=n(83486),i=n(61408),o=n(37078),useActiveSidePanelView=function(e){var t=(0,o.fP)(),n=t.isOpen,a=t.activeView,s=(0,r.T)();return{isActive:a===e&&n,handleSetActive:function(){s((0,i.uG)(e))}}}},8212:function(e,t,n){"use strict";n.d(t,{c:function(){return useLivestreamData}});var r=n(5632),i=n(57963),useLivestreamData=function(){var e=(0,r.useRouter)().query.streamId;return(0,i._)("livestreams",[e.toString()]).data}},77487:function(e,t,n){"use strict";n.d(t,{P:function(){return useStreamIsMobile}});var r=n(58784),useStreamIsMobile=function(e){return(0,r.Z)(e||"tablet")}},82060:function(e,t,n){"use strict";n.d(t,{Hw:function(){return useCollectionSWR},i9:function(){return useDocumentSWR}});var r=n(24022),i=n(4670),o=n(63413),a=n(2784),s=n(3255),u=n(85090),l=n(18231);function getDocKey(e){return"firestore/doc/".concat(e.path)}var c=[],d={revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,keepPreviousData:!0};function useDocumentSWR(e,t){var n,a=e?getDocKey(e):null,c=(0,s.kY)().cache,p=a?null===(n=c.get(a))||void 0===n?void 0:n.data:void 0,f=(0,u.Z)(a,function(t,n){var r=n.next;return(0,o.cf)(e,function(e){r(null,e.exists()?e.data():null)},function(e){(0,l.LS)(e,{message:"useDocumentSWR: onSnapshot error"}),r(e)})},(0,i._)((0,r._)({},d),{fallbackData:null!=t?t:p})),m=f.data,v=f.error;return{data:m,error:v,isLoading:null!==a&&void 0===m&&!v}}function useCollectionSWR(e,t){var n,p=(0,a.useMemo)(function(){var t,n,r;return e?(n=(t=c.findIndex(function(t){return(0,o.iE)(t,e)}))>-1?t:c.push(e)-1,r=e.firestore.app.name,"firestore/collection/".concat(r,"/").concat(n)):null},[e]),f=(0,s.kY)(),m=f.cache,v=f.mutate,h=p?null===(n=m.get(p))||void 0===n?void 0:n.data:void 0,g=(0,u.Z)(p,function(t,n){var r=n.next;return(0,o.cf)(e,function(e){r(null,e.docs.map(function(e){return e.data()})),e.docs.forEach(function(e){v(getDocKey(e.ref),e.data(),{revalidate:!1})})},function(e){(0,l.LS)(e,{message:"useCollectionSWR: onSnapshot error"}),r(e)})},(0,i._)((0,r._)({},d),{fallbackData:null!=t?t:h})),x=g.data,C=g.error;return{data:x,error:C,isLoading:null!==p&&void 0===x&&!C}}},36757:function(e,t){"use strict";t.Z=function(e){return e.condition?e.children:e.fallback}},11743:function(e,t,n){"use strict";n.d(t,{I:function(){return ResponsiveDialogLayout}});var r=n(52322),i=n(92679),o=n(69089),a=n(35936),s=n(5971),u=n(6060),l=n(42921),c=n(87037),d=n(58784),p=n(2784),f=n(83776),m=n(13497),v=(0,f.e)({header:{display:"flex",justifyContent:"space-between",alignItems:"center",p:{xs:1.5,md:"16px 24px"}},closeButton:{flexShrink:0,p:0,"& svg":{width:"24px",height:"24px"}},dialogContent:{p:0},dialogActions:function(e){return{display:"flex",position:"sticky",bottom:0,padding:2,justifyContent:"flex-end",alignItems:"center",borderTop:"1px solid ".concat(e.brand.black[300]),background:e.brand.white[200]}},drawer:{maxHeight:"95%"}}),ResponsiveDialogLayout=function(e){var t=e.children,n=e.open,i=e.handleClose,a=e.hideDragHandle,s=e.dialogPaperStyles,u=e.TransitionComponent,l=e.SlideProps,c=e.TransitionProps,p=e.dataTestId,h=e.drawerStyles;return(0,d.Z)()?(0,r.jsx)(m.Z,{open:n,anchor:"bottom",sx:h,PaperProps:{sx:(0,f.E)(v.drawer,s),"data-testid":p},onOpen:function(){},onClose:i,disableEnforceFocus:!0,hideDragHandle:a,SlideProps:l,children:t}):(0,r.jsx)(o.Z,{open:n,maxWidth:"md",onClose:i,PaperProps:{sx:s,"data-testid":p},fullWidth:!0,disableEnforceFocus:!0,TransitionComponent:u,TransitionProps:c,children:t})},h=(0,p.forwardRef)(function(e,t){var n=e.children,i=e.sx;return(0,d.Z)()?(0,r.jsx)(l.Z,{ref:t,sx:(0,f.E)(v.dialogContent,i),children:n}):(0,r.jsx)(u.Z,{ref:t,sx:(0,f.E)(v.dialogContent,i),children:n})});h.displayName="ResponsiveDialogLayout.Content",ResponsiveDialogLayout.Header=function(e){var t=e.handleClose,n=e.children,o=e.sx,s=(0,d.Z)(),u=(0,r.jsxs)(r.Fragment,{children:[n,(0,r.jsx)(c.Z,{color:"inherit",onClick:t,"aria-label":"close",className:"close-button",sx:v.closeButton,children:(0,r.jsx)(i.Z,{})})]});return s?(0,r.jsx)(l.Z,{sx:(0,f.E)(v.header,o),children:u}):(0,r.jsx)(a.Z,{sx:(0,f.E)(v.header,o),children:u})},ResponsiveDialogLayout.Actions=function(e){var t=e.children;return(0,d.Z)()?(0,r.jsx)(l.Z,{sx:v.dialogActions,children:t}):(0,r.jsx)(s.Z,{sx:v.dialogActions,children:t})},ResponsiveDialogLayout.Content=h},10599:function(e,t,n){"use strict";var r=n(20606),i=n(24022),o=n(4670),a=n(83286),s=n(73509),u=n(52322),l=n(2784),c=n(96161),d=n(92768),p=n(27149),f=n(38951),m=n(12450),v=n(47746),h=n(65992),g=n(36076),x=n(79312),C=n(42921);function renderRow(e){var t=e.data,n=e.index,r=e.style,a=t[n],s=(0,o._)((0,i._)({},r),{top:r.top+8});return a.hasOwnProperty("group")?(0,u.jsx)(f.Z,{component:"div",style:s,children:a.group},a.key):(0,u.jsx)(x.Z,(0,o._)((0,i._)({component:"li"},a[0]),{noWrap:!0,style:s,children:a[1]}))}var S=l.createContext({}),y=l.forwardRef(function(e,t){var n=l.useContext(S);return(0,u.jsx)("div",(0,i._)({ref:t},e,n))}),b=l.forwardRef(function(e,t){var n,r=e.children,i=e.listBoxSx,o=e.listBoxItemHeight,c=(0,a._)(e,["children","listBoxSx","listBoxItemHeight"]),d=[];r.forEach(function(e){d.push(e),d.push.apply(d,(0,s._)(e.children||[]))});var f=(0,v.Z)(),m=(0,p.Z)(f.breakpoints.up("sm"),{noSsr:!0}),h=d.length,x=o||(m?36:48),getChildSize=function(e){return e.hasOwnProperty("group")?48:x},b=(n=l.useRef(null),l.useEffect(function(){null!=n.current&&n.current.resetAfterIndex(0,!0)},[h]),n);return(0,u.jsx)(C.Z,{sx:i,ref:t,children:(0,u.jsx)(S.Provider,{value:c,children:(0,u.jsx)(g.S_,{itemData:d,height:(h>8?8*x:d.map(getChildSize).reduce(function(e,t){return e+t},0))+16,width:"100%",ref:b,outerElementType:y,innerElementType:"ul",itemSize:function(e){return getChildSize(d[e])},overscanCount:5,itemCount:h,children:renderRow})})})}),k=(0,h.ZP)(m.Z)((0,r._)({},"& .".concat(c.Z.listbox),{boxSizing:"border-box","& ul":{padding:0,margin:0}}));t.Z=function(e){var t=e.listBoxCustomProps,n=(0,a._)(e,["listBoxCustomProps"]),r=(0,l.useCallback)(function(e){return(0,u.jsx)(b,(0,o._)((0,i._)({},e),{listBoxItemHeight:null==t?void 0:t.listBoxItemHeight,listBoxSx:null==t?void 0:t.listBoxSx}))},[null==t?void 0:t.listBoxItemHeight,null==t?void 0:t.listBoxSx]);return(0,u.jsx)(d.Z,(0,o._)((0,i._)({},n),{disableListWrap:!0,PopperComponent:k,ListboxComponent:r,renderGroup:function(e){return e}}))}},13497:function(e,t,n){"use strict";var r=n(24022),i=n(52322),o=n(76649),a=(0,n(65992).ZP)(function(e){return(0,i.jsx)(o.Z,(0,r._)({anchor:"bottom"},e))},{shouldForwardProp:function(e){return"hideDragHandle"!==e}})(function(e){return{"& .MuiPaper-root":{":before":e.hideDragHandle?{}
1:{content:'""',display:"block",margin:"auto",marginTop:"8.5px",marginBottom:"8.5px",width:"92px",height:"3px !important",minHeight:"4px !important",maxHeight:"4px !important",backgroundColor:"rgb(149, 149, 149)",borderRadius:"10px"},borderTopLeftRadius:12,borderTopRightRadius:12}}});t.Z=a},35476:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(65992),i=n(26167),o=(0,r.ZP)(i.t)(function(e){var t=e.theme;return{paddingTop:t.spacing(1),paddingBottom:t.spacing(2)}})},6489:function(e,t,n){"use strict";n.d(t,{Z:function(){return search_filter_GeneralSearchFilter}});var r=n(87963),i=n(52322),o=n(2784),a=n(96562),s=n(92096),u=n(56961),l=n(82056),c=n(83993),d=n(83776),p=n(73509),f=n(63413),m=n(51195),v=n(52883),h=n(1766),search_filter_useTimeFramedLivestreamStats=function(e){var t=e.timeFrame,n=e.order,r=void 0===n?"desc":n,i=(0,h._)().group,s=(0,o.useMemo)(function(){var e=a.Lm[t],n=[(0,f.ar)("id","==","livestreamStats"),(0,f.ar)("livestream.groupIds","array-contains",i.id),(0,f.ar)("livestream.start",">=",e.start),(0,f.Xo)("livestream.start",r)];return e.end&&n.push((0,f.ar)("livestream.start","<=",e.end)),f.IO.apply(void 0,[(0,f.B$)(m.O,"stats")].concat((0,p._)(n)))},[i.id,r,t]);return(0,v.L)(s,{suspense:!1,idField:"id"})},g=n(35199),x=n(21148),C=n(58784),S=n(42654),y=n(20606),b=n(24022),k=n(4670),_=n(10599),j=n(42921),w=n(90838),L=n(79312),A=n(96607),R=(0,d.e)({livestreamStatSelect:function(e){var t;return t={borderRadius:1,flex:1,minWidth:"auto !important","& .MuiInputBase-input":{overflow:"hidden",textOverflow:"ellipsis"}},(0,y._)(t,e.breakpoints.down("sm"),{minWidth:"auto !important"}),(0,y._)(t,"& input",{"&::placeholder":{color:e.palette.text.primary,opacity:1}}),t},listBox:{"& li":{backgroundColor:"transparent !important","&:hover":{backgroundColor:function(e){return e.palette.action.hover+" !important"}}}},listItem:{flex:1,display:"flex"}}),renderOption=function(e,t,n){var r=n.selected;return[e,(0,i.jsxs)(j.Z,{sx:R.listItem,children:[(0,i.jsx)(l.Z,{"aria-label":t.livestream.title,primary:t.livestream.title,primaryTypographyProps:{whiteSpace:"pre-line",sx:(0,b._)({},(0,A.K6)(3))},secondary:(0,A.T8)(t.livestream.start)}),(0,i.jsx)(j.Z,{display:"flex",alignItems:"center",children:(0,i.jsx)(x.P2,{checked:r})})]},t.livestream.id)]},isOptionEqualToValue=function(e,t){return e.livestream.id===t.livestream.id},getLabelFn=function(e){return e.livestream.title},Z={listBoxSx:R.listBox,listBoxItemHeight:95},search_filter_LivestreamAutoComplete=function(e){var t=e.livestreamStats,n=e.loading,a=e.localSelectedStats,s=e.handleChange,u=(0,r._)((0,o.useState)(!1),2),l=u[0],c=u[1],d=(null==t?void 0:t.length)===0,p=(null==a?void 0:a.length)===0,f=(null==a?void 0:a.length)>0,m=(0,o.useMemo)(function(){return n?"Loading...":f?"":d?"No live streams":l?"Select live streams":p?"All live streams":"Select livestreams"},[p,f,n,d,l]),v=(0,o.useCallback)(function(e){if(p)return"";if((null==e?void 0:e.length)===0)return d?"No live streams":"All live streams";if((null==e?void 0:e.length)===1){var t,n;return null===(n=e[0])||void 0===n?void 0:null===(t=n.livestream)||void 0===t?void 0:t.title}return"".concat(null==e?void 0:e.length," live streams selected")},[p,d]),h=(0,o.useCallback)(function(e){if(n)return(0,i.jsx)(w.Z,{color:"inherit",size:15});var t=v(e);return(0,i.jsx)(L.Z,{whiteSpace:"pre-line",children:t})},[v,n]),g=(0,o.useCallback)(function(e){return(0,i.jsx)(x.tH,(0,k._)((0,b._)({},e),{sx:R.livestreamStatSelect,placeholder:m,variant:"outlined"}))},[m]),C=(0,o.useCallback)(function(){c(!1)},[]),S=(0,o.useCallback)(function(){c(!0)},[]);return(0,i.jsx)(_.Z,{multiple:!0,clearOnBlur:!0,open:l,onOpen:S,onClose:C,id:"select-livestream",options:null!=t?t:[],disableCloseOnSelect:!0,loading:n,disabled:d||n,fullWidth:!0,clearText:"Clear filter",listBoxCustomProps:Z,noOptionsText:d?"No live streams":"No results",freeSolo:!1,onChange:s,value:a,getOptionLabel:getLabelFn,isOptionEqualToValue:isOptionEqualToValue,renderOption:renderOption,renderInput:g,renderTags:h})},P=(0,d.e)({root:{display:"flex",flex:1},wrapper:{flex:1,p:1},timeFrameSelect:{minWidth:{sm:350},justifyContent:"center"},listIcon:{display:"flex",justifyContent:"flex-end"}}),O={renderValue:function(e){return e}},search_filter_GeneralSearchFilter=function(e){var t=e.order,n=(0,C.Z)(),d=(0,r._)((0,o.useState)([]),2),p=d[0],f=d[1],m=(0,a.fR)(),v=m.setLivestreamStats,h=m.setLivestreamStatsTimeFrame,y=m.livestreamStatsTimeFrame,b=search_filter_useTimeFramedLivestreamStats({timeFrame:y,order:void 0===t?"desc":t}).data,k=void 0===b,_=(0,o.useCallback)(function(e){h(e.target.value),f([])},[h]);(0,o.useEffect)(function(){0===p.length?v(null!=b?b:[]):v(p)},[b,p,v]),(0,o.useEffect)(function(){p.length>0&&f(function(e){return e.map(function(e){var t=null==b?void 0:b.find(function(t){return t.livestream.id===e.livestream.id});return null!=t?t:e})})},[b,p.length]);var j=(0,o.useCallback)(function(e,t){f(t)},[]);return(0,i.jsx)(s.Z,{sx:P.root,children:(0,i.jsxs)(g.Z,{direction:n?"column":"row",sx:P.wrapper,spacing:1,divider:(0,i.jsx)(u.Z,{flexItem:!0,orientation:n?"horizontal":"vertical"}),children:[(0,i.jsx)(search_filter_LivestreamAutoComplete,{livestreamStats:b,localSelectedStats:p,loading:k,handleChange:j}),(0,i.jsx)(x.tH,{sx:P.timeFrameSelect,id:"select-timeframe",select:!0,SelectProps:O,disabled:k,value:y,variant:"outlined",onChange:_,children:Object.keys(a.Lm).map(function(e){return(0,i.jsxs)(x.CM,{value:e,children:[(0,i.jsx)(l.Z,{primary:e}),e===y?(0,i.jsx)(c.Z,{sx:P.listIcon,children:(0,i.jsx)(S.Z,{fontSize:"small"})}):null]},e)})})]})})}},21148:function(e,t,n){"use strict";n.d(t,{CM:function(){return h},P2:function(){return StyledCheckbox},tH:function(){return v}});var r=n(20606),i=n(24022),o=n(4670),a=n(52322),s=n(65992),u=n(53242),l=n(3431),c=n(42921),d=n(95341),p=n(63539),f=n(42654);n(2784);var m=(0,n(83776).e)({checkboxIconWrapper:function(e){return{width:20,height:20,borderRadius:1,bgcolor:e.palette.neutral[50],color:e.palette.secondary.light,display:"flex",justifyContent:"center",alignItems:"center","&:hover":{backgroundColor:e.palette.neutral[100]},zIndex:1}},checkedIconSx:function(e){return{width:20,height:20,borderRadius:1,bgcolor:e.palette.secondary.light,color:e.palette.neutral[800],display:"flex",justifyContent:"center",alignItems:"center"}},stars:{color:"secondary.main"},feedbacksHeader:{display:"flex",alignItems:"center",justifyContent:"center"},rating:{mt:"-6px !important",ml:"-3px !important"}}),v=(0,s.ZP)(u.Z)(function(e){return{"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"transparent !important"}},"& input":{"&::placeholder":{color:e.theme.palette.text.primary,opacity:1}},"& .MuiOutlinedInput-root.Mui-disabled":{"& fieldset":{borderColor:"transparent"}},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"}}}),h=(0,s.ZP)(d.Z)(function(e){var t,n=e.theme;return t={},(0,r._)(t,n.breakpoints.down("sm"),{minWidth:"auto !important"}),(0,r._)(t,"&.".concat(p.Z.selected),{backgroundColor:"transparent"}),(0,r._)(t,"&:hover",{backgroundColor:n.palette.action.hover+" !important"}),(0,r._)(t,"&.".concat(p.Z.focusVisible),{backgroundColor:n.palette.action.hover+" !important"}),t}),StyledCheckbox=function(e){return(0,a.jsx)(l.Z,(0,o._)((0,i._)({},e),{icon:(0,a.jsx)(c.Z,{sx:m.checkboxIconWrapper}),disableRipple:!0,checkedIcon:(0,a.jsx)(c.Z,{sx:m.checkedIconSx,children:(0,a.jsx)(f.Z,{fontSize:"small"})})}))}},29574:function(e,t,n){"use strict";var r=n(24022),i=n(4670),o=n(52322),a=n(42921),s=n(90838);n(2784),t.Z=function(e){return(0,o.jsx)(a.Z,(0,i._)((0,r._)({display:"flex",justifyContent:"center"},e),{children:(0,o.jsx)(s.Z,{})}))}},43958:function(e,t,n){"use strict";var r=n(24022),i=n(4670),o=n(83286),a=n(52322),s=n(92679),u=n(41712),l=n(35199),c=n(79312),d=n(15694),p=n(76649),f=n(28207),m=n(69089),v=n(5971),h=n(6060),g=n(35936),x=n(87037),C=n(94131),S=n(58784),y=n(83776),b={xs:56,tablet:64},k=(0,y.e)({iconWrapper:{"& svg":{height:{xs:b.xs,tablet:b.tablet},width:{xs:b.xs,tablet:b.tablet},fontSize:{xs:b.xs,tablet:b.tablet}}},closeIcon:{position:"absolute",top:0,right:0,p:2.5,"& svg":{width:"32px !important",height:"32px !important"}},titleWrapper:{position:"relative",pt:2.5,px:4,pb:0},description:{textAlign:"center",color:"neutral.700",pt:1.5,pb:{xs:4,tablet:3}},actions:{justifyContent:"center","& button":{whiteSpace:"nowrap"},pb:3,pt:0,px:4},actionsStack:{pt:4},content:{pb:0,px:4},paper:{py:3,px:3.5,borderRadius:"12px 12px 0 0"},defaultMaxWidth:{maxWidth:430}}),MobileDrawer=function(e){var t=e.open,n=e.handleClose,o=e.hideCloseIcon,s=e.title,u=e.description,d=e.additionalContent,m=e.icon,v=e.primaryAction,h=e.secondaryAction,g=e.sx,x=e.mobileButtonsHorizontal,C=!!n,S=C?p.Z:f.ZP;return(0,a.jsxs)(S,(0,i._)((0,r._)({onClose:n,open:t,anchor:"bottom",PaperProps:{sx:k.paper}},C&&{onOpen:function(){}}),{sx:g,ModalProps:{keepMounted:!1},children:[(0,a.jsxs)(l.Z,{alignItems:"center",spacing:{xs:2,tablet:3},sx:k.iconWrapper,children:[m,(0,a.jsx)(c.Z,{fontWeight:600,variant:"desktopBrandedH4",textAlign:"center",children:s})]}),!!(n&&!o)&&(0,a.jsx)(CloseIconButton,{handleClose:n}),!!u&&(0,a.jsx)(c.Z,{id:"confirmation-dialog-description",sx:k.description,variant:"medium",children:u}),d,(0,a.jsxs)(l.Z,{direction:x?"row":{xs:"column-reverse",sm:"row"},spacing:1.5,justifyContent:"center",width:"100%",children:[!!h&&(0,a.jsx)(ActionButton,(0,r._)({},h)),(0,a.jsx)(ActionButton,(0,r._)({autoFocus:!0},v))]})]}))},CloseIconButton=function(e){var t=e.handleClose;return(0,a.jsx)(C.Z,{sx:k.closeIcon,children:(0,a.jsx)(x.Z,{color:"inherit",onClick:t,"aria-label":"close",children:(0,a.jsx)(s.Z,{})})})},ActionButton=function(e){var t=e.text,n=e.callback,s=(0,o._)(e,["text","callback"]);return(0,a.jsx)(u.Z,(0,i._)((0,r._)({},s),{onClick:n,translate:"no",children:t}))};t.Z=function(e){var t=e.open,n=e.handleClose,i=e.hideCloseIcon,o=e.title,s=e.description,u=e.additionalContent,p=e.icon,f=e.primaryAction,x=e.secondaryAction,C=e.width,y=e.sx,b=e.TransitionComponent,_=(0,S.Z)();return _?(0,a.jsx)(MobileDrawer,(0,r._)({}
1,e)):(0,a.jsxs)(m.Z,{open:t,onClose:n,"aria-labelledby":"confirmation-dialog-title","aria-describedby":"confirmation-dialog-description",maxWidth:!C&&"xs",TransitionComponent:b,TransitionProps:{unmountOnExit:!0},fullScreen:_,PaperProps:{sx:[C?{width:C}:k.defaultMaxWidth]},sx:y,children:[(0,a.jsxs)(g.Z,{sx:[k.titleWrapper,k.iconWrapper],id:"confirmation-dialog-title",children:[(0,a.jsxs)(l.Z,{alignItems:"center",spacing:{xs:2,tablet:3},children:[p,(0,a.jsx)(c.Z,{fontWeight:700,variant:"desktopBrandedH4",component:"h4",textAlign:"center",children:o})]}),!!(n&&!i)&&(0,a.jsx)(CloseIconButton,{handleClose:n})]}),(0,a.jsxs)(h.Z,{sx:k.content,children:[!!s&&(0,a.jsx)(c.Z,{id:"confirmation-dialog-description",sx:k.description,variant:"medium",component:d.Z,children:s}),u]}),(0,a.jsx)(v.Z,{sx:k.actions,children:(0,a.jsxs)(l.Z,{direction:"row",spacing:1.5,width:"100%",children:[!!x&&(0,a.jsx)(ActionButton,(0,r._)({fullWidth:!0},x)),(0,a.jsx)(ActionButton,(0,r._)({fullWidth:!0,autoFocus:!0},f))]})})]})}},36804:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return $}});var r=n(52322),i=n(53645),o=n(41075),a=n(2784),s=n(1766),u=n(79312),l=n(42921),c=n(55006),d=n(29574),p=n(24022),f=n(4670),m=n(87963),v=n(73509),h=n(19744),g=n(43282),x=n(56961),C=n(92096),S=n(7671),y=n(47746),b=n(12533),k=n(83776),_=n(58784),j=n(21148),w=n(63761),L=n(3255),A=n(45604),R=n(25194),Z=n(24555),P=(0,a.createContext)(null),useDataFromFunction=function(e,t){var n=(0,w.Z)(),r=(0,L.ZP)(0==t.length?null:[A.Gn.getRegistrationSources,{groupId:e,livestreamIds:t}],n,w.k).data;return(0,a.useMemo)(function(){var e;return null!==(e=null==r?void 0:r.map(R.WT.deserialize))&&void 0!==e?e:[]},[r])},useUtmData=function(){return(0,a.useContext)(P)},RegistrationSources_RegistrationSourcesContext=function(e){var t=e.children,n=e.group,i=e.streamsFromTimeFrameAndFuture,o=(0,a.useMemo)(function(){return i.map(function(e){return e.id})},[i]),s=useDataFromFunction(n.id,o),u=(0,a.useMemo)(function(){var e=(0,v._)(i).sort(Z.sortLivestreamsDesc);return{utmData:(0,g.Sw)(s,e),livestreams:e}},[s,i]);return(0,r.jsx)(P.Provider,{value:u,children:t})},O=(0,k.e)({chart:{display:"flex",flexDirection:{xs:"column",sm:"row"},height:{sm:350}},filterWrapper:{display:"flex",flexDirection:"column",justifyContent:"space-around",mt:{xs:2,sm:0}},filterSection:{display:"flex",cursor:"pointer",alignItems:"center"}}),Chart=function(e){var t=e.stats,n=e.filters,i=(0,y.Z)(),o=(0,a.useMemo)(function(){return{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{mode:"x"},scales:{xAxes:[{type:"time",distribution:"series",time:{unit:"day"},gridLines:{display:!1,drawBorder:!1},ticks:{maxTicksLimit:15}}],yAxes:[{gridLines:{borderDash:[2],borderDashOffset:[2],color:i.palette.divider,drawBorder:!1,zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2],zeroLineColor:i.palette.divider},ticks:{beginAtZero:!0,precision:0}}]}}},[i]),s=(0,a.useMemo)(function(){var e={labels:Object.keys(t),datasets:[]},r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)!function(){var t,r=a.value;(null===(t=n.find(function(e){return e.displayName===r.source.displayName}))||void 0===t?void 0:t.active)&&e.datasets.push({label:r.source.displayName,pointBackgroun
1dColor:r.source.color,borderColor:r.source.color,fill:!1,borderWidth:2,data:(0,g.du)(r.dates.map(function(e){return{x:e,y:1}}))})}()}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return e},[n,t]);return(0,r.jsx)(b.x1,{data:s,options:o})},RegistrationSources_AggregatedSourcesChart=function(){var e=(0,s._)().group,t=useUtmData().utmData,n=(0,_.Z)(),i=(0,m._)((0,a.useState)(h.q.filter(function(t){return!("sparks"===t.id&&!e.sparksAdminPageFlag)}).map(function(e){return(0,f._)((0,p._)({},e),{active:!0})})),2),o=i[0],c=i[1],d=(0,a.useMemo)(function(){return(0,g.MQ)(t)},[t]),y=(0,a.useCallback)(function(e){var t=o.findIndex(function(t){return t.displayName===e.displayName}),n=(0,f._)((0,p._)({},e),{active:!e.active});c(function(e){return(0,v._)(e.slice(0,t)).concat([n],(0,v._)(e.slice(t+1)))})},[o]),b=(0,a.useCallback)(function(){return(0,r.jsx)(l.Z,{sx:O.filterWrapper,children:o.map(function(e,t){return(0,r.jsxs)(r.Fragment,{children:[t>0?(0,r.jsx)(x.Z,{}):null,(0,r.jsxs)(l.Z,{sx:O.filterSection,onClick:function(){return y(e)},children:[(0,r.jsx)(j.P2,{checked:e.active}),(0,r.jsxs)(l.Z,{children:[(0,r.jsx)(u.Z,{variant:"body1",fontWeight:400,children:e.displayName}),(0,r.jsx)(l.Z,{sx:{width:"36px",borderRadius:"6px",border:"2px solid ".concat(e.color)}})]})]},e.displayName)]})})})},[y,o]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(C.Z,{children:[(0,r.jsx)(x.Z,{}),(0,r.jsx)(S.Z,{children:(0,r.jsxs)(l.Z,{sx:O.chart,children:[(0,r.jsx)(l.Z,{width:{xs:"100%",sm:"80%"},children:(0,r.jsx)(Chart,{stats:d,filters:o})}),(0,r.jsxs)(l.Z,{width:{xs:"100%",sm:"20%"},display:"flex",children:[n?null:(0,r.jsx)(x.Z,{orientation:"vertical",sx:{mx:2}}),b()]})]})})]})})},T=n(14647),I=n(67222),D=n(50075),E=n(36908),B=n(70969),M=n(27104),F=n(23883),N=n(30750),W=n(96607),U=[{title:"Live stream title",field:"title",width:"45%",headerStyle:{fontWeight:600,fontSize:"13px",padding:"24px"},render:function(e){return(0,r.jsx)(u.Z,{ml:1,fontWeight:500,children:e.title})}},{title:"Live stream date",field:"date",headerStyle:{fontWeight:600,fontSize:"13px"},render:function(e){return(0,r.jsx)(u.Z,{fontWeight:400,children:(0,W.T8)(e.start)})},type:"date"},{title:"Sources",width:"40%",textAlign:"end",headerStyle:{fontWeight:600,fontSize:"13px",paddingRight:"24px",textAlign:"end"},sorting:!1,render:function(e){return(0,r.jsx)(PercentageTable,{livestreamId:e.id,utmData:e.utmData})}}],z=(0,k.e)({cell:{borderBottom:0,paddingBottom:1,width:40,textAlign:"center"},nameCell:{borderBottom:0,paddingBottom:1,textAlign:"right",minWidth:185,maxWidth:185},progressCell:{minWidth:100,borderBottom:0,paddingBottom:1}}),PercentageTable=function(e){var t=e.livestreamId,n=e.utmData,i=(0,s._)().group,o=(0,a.useMemo)(function(){var e=(0,g.LV)(n,t);return h.q.filter(function(e){return!("sparks"===e.id&&!i.sparksAdminPageFlag)}).map(function(t){var n=e.findIndex(function(e){return e.source.displayName===t.displayName});return n>=0?e[n]:{percent:0,total:0,source:t}})},[i.sparksAdminPageFlag,t,n]);return(0,r.jsx)(D.Z,{padding:"none",children:(0,r.jsx)(E.Z,{children:o.map(function(e,t){return(0,r.jsxs)(B.Z,{sx:{marginBottom:1},children:[(0,r.jsx)(M.Z,{sx:z.nameCell,children:(0,r.jsx)(F.Z,{title:e.source.helpDescription,placement:"bottom",children:(0,r.jsx)(u.Z,{pr:2,variant:"body2",fontWeight:400,color:"text.primary",children:e.source.displayName})})}),(0,r.jsx)(M.Z,{sx:z.progressCell,children:(0,r.jsx)(ProgressBar,{source:e})}),(0,r.jsx)(M.Z,{sx:z.cell,children:(0,r.jsx)(u.Z,{pl:2,variant:"body2",color:"text.secondary",children:e.total})})]},t)})})})},ProgressBar=function(e){var t=e.source;return(0,r.jsx)(F.Z,{title:t.source.displayName,arrow:!0,placement:"top",children:(0,r.jsx)(N.Z,{sx:{borderRadius:5,minHeight:5,minWidth:50,"&.MuiLinearProgress-colorPrimary:not(.MuiLinearProgress-buffer)":{backgroundColor:"rgba(0, 0, 0, 0.1)"},"& .MuiLinearProgress-colorPrimary":{backgroundColor:"rgba(0, 0, 0, 0.1)"},"& .MuiLinearProgress-barColorPrimary":{backgroundColor:t.source.color}},variant:"determinate",value:t.percent})})},RegistrationSources_LivestreamsTable=function(){var e=useUtmData(),t=e.livestreams,n=e.utmData,i=(0,_.Z)(),o=(0,a.useMemo)(function(){return t.map(function(e){return(0,f._)((0,p._)({},e),{utmData:n})})},[t,n]),s=(0,a.useMemo)(function(){return o.map(function(e){return"".concat(e.id)}).join("-")},[o]),l=(0,a.useCallback)(function(e,t){window&&window.open((0,T.Gd)(t.id),"_blank")},[]);return(null==t?void 0:t.length)&&n?(0,r.jsx)(C.Z,{children:(0,r.jsx)(I.ZP,{columns:U,onRowClick:l,data:o,title:(0,r.jsx)(u.Z,{variant:"h6",children:"Livestreams"}),options:{toolbar:!1,draggable:!1,tableLayout:i?"auto":"fixed",emptyRowsWhenPaging:!1}},s)}):null},Loader=function(){return(0,r.jsxs)(l.Z,{sx:{width:"100%"},children:[(0,r.jsx)(d.Z,{sx:{m:3}}),(0,r.jsx)(u.Z,{textAlign:"center",children:"Crunching the data and creating the visualizations for you.."})]})},RegistrationSources=function(e){return e.loading&&0===e.streamsFromTimeFrameAndFuture.length?(0,r.jsx)(Loader,{}):(0,r.jsx)(c.Z,{fallback:(0,r.jsx)(Loader,{}),children:(0,r.jsx)(RegistrationSources_RegistrationSourcesContext,{group:e.group,streamsFromTimeFrameAndFuture:e.streamsFromTimeFrameAndFuture,children:(0,r.jsx)(l.Z,{p:3,pr:0,width:"100%",children:(0,r.jsxs)(o.ZP,{container:!0,spacing:3,children:[(0,r.jsx)(o.ZP,{item:!0,xs:12,children:(0,r.jsx)(RegistrationSources_AggregatedSourcesChart,{})}),(0,r.jsx)(o.ZP,{item:!0,xs:12,children:(0,r.jsx)(RegistrationSources_LivestreamsTable,{})})]})})})})},H=n(35476),V=n(96562),G=n(6489),q=(0,a.memo)(function(){var e=(0,s._)().group,t=(0,V.fR)(),n=t.livestreamStats,i=t.setLivestreamStatsTimeFrame;(0,a.useEffect)(function(){i("Last 1 year")},[]);var u=(0,a.useMemo)(function(){return void 0===n},[n]),l=(0,a.useMemo)(function(){return(null==n?void 0:n.map(function(e){return e.livestream}))||[]},[n]);return(0,r.jsx)(H.$,{children:(0,r.jsxs)(o.ZP,{container:!0,spacing:3,children:[(0,r.jsx)(o.ZP,{xs:12,item:!0,children:(0,r.jsx)(G.Z,{})}),(0,r.jsx)(RegistrationSources,{group:e,loading:u,streamsFromTimeFrameAndFuture:l})]})})}),registration_sources=function(){return(0,r.jsx)(V.OE,{children:(0,r.jsx)(q,{})})},RegistrationSourcesPage=function(){return(0,r.jsx)(registration_sources,{})};RegistrationSourcesPage.getLayout=function(e){return(0,i.M)({titleComponent:"Analytics",dashboardHeadTitle:"CareerFairy | Registration Sources of",subNavigationFor:"analytics"})(e)};var $=RegistrationSourcesPage},37078:function(e,t,n){"use strict";n.d(t,{Aj:function(){return useShowEndScreen},GB:function(){return useShowWaitingRoom},J$:function(){return useAssistantMode},Kg:function(){return useIsScreenShareMode},LP:function(){return useCompanyLogoUrl},Lj:function(){return useLivestreamGroupIds},M9:function(){return useStreamHandRaiseEnabled},NE:function(){return useShareVideoDialogOpen},Re:function(){return useRtcConnectionState},Ru:function(){return useHasEnded},SR:function(){return useCurrentScreenSharer},Th:function(){return userIsSpeakingSelector},Ti:function(){return useStreamChatDisabled},U0:function(){return useStreamHasJobs},UN:function(){return useIsTestLivestream},YA:function(){return useOpenStream},a0:function(){return useUploadPDFPresentationDialogOpen},cE:function(){return useLivestreamMode},dd:function(){return useCurrentViewCount},eS:function(){return useNumberOfHandRaiseNotifications},fP:function(){return useSidePanel},fj:function(){return useHasStarted},gk:function(){return useStartsAt},hK:function(){return audioLevelsSelector},hY:function(){return useEmotes},jb:function(){return useStartedAt},kM:function(){return useAutoplayState},m$:function(){return useIsConnectedOnDifferentBrowser},mx:function(){return useIsSpotlightMode},ni:function(){return useStreamTitle},pT:function(){return useFailedToConnectToRTM},pc:function(){return useIsPanel},q9:function(){return useUserUid},qF:function(){return useSettingsMenuOpen},rO:function(){return useIsRecordingWindow},sP:function(){return useCompanyName},tM:function(){return useIsSpyMode},u:function(){return useSpeakerId}
1,we:function(){return useVirtualBackgroundMode},xp:function(){return useDeniedPermissionsDialogOpen}});var r=n(70860),i=n(83486),o=n(95680),a=n(61408),audioLevelsSelector=function(e){return e.streamingApp.audioLevels},userIsSpeakingSelector=function(e){return function(t){var n;return(null===(n=t.streamingApp.audioLevels[e])||void 0===n?void 0:n.level)>60}},useSidePanel=function(){return(0,i.C)(function(e){return e.streamingApp.sidePanel})},useSettingsMenuOpen=function(){return(0,i.C)(function(e){return e.streamingApp.settingsMenu.isOpen})},useIsSpotlightMode=function(){return(0,i.C)(function(e){return e.streamingApp.streamLayout===a.hV.SPOTLIGHT})},useIsScreenShareMode=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.mode===r.kF.DESKTOP})},useLivestreamMode=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.mode})},useCurrentScreenSharer=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.screenSharerId})},useCurrentViewCount=function(){return(0,i.C)(function(e){if(e.streamingApp.rtmSignalingState.failedToConnect)return e.streamingApp.livestreamState.numberOfParticipants;var t=e.streamingApp.rtmSignalingState.viewCount;return e.streamingApp.livestreamState.isRecordingBotInRoom?t-1:t})},useIsConnectedOnDifferentBrowser=function(){return(0,i.C)(function(e){return e.streamingApp.isLoggedInOnDifferentBrowser})},useFailedToConnectToRTM=function(){return(0,i.C)(function(e){return e.streamingApp.rtmSignalingState.failedToConnect})},useHasStarted=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.hasStarted})},useStartedAt=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.startedAt})},useStartsAt=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.startsAt})},useHasEnded=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.hasEnded})},useOpenStream=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.openStream})},useCompanyLogoUrl=function(){return(0,i.C)(function(e){var t=e.streamingApp.livestreamState,n=t.companyLogoUrl;return t.test?o.BT:n})},useCompanyName=function(){return(0,i.C)(function(e){var t=e.streamingApp.livestreamState,n=t.companyName;return t.test?"Test Company":n})},useStreamTitle=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.title})},useStreamHandRaiseEnabled=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.handRaiseEnabled})},useNumberOfHandRaiseNotifications=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.numberOfHandRaiseNotifications})},useStreamHasJobs=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.hasJobs})},useStreamChatDisabled=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.chatDisabled})},useUploadPDFPresentationDialogOpen=function(){return(0,i.C)(function(e){return e.streamingApp.uploadPDFPresentationDialogOpen})},useShareVideoDialogOpen=function(){return(0,i.C)(function(e){return e.streamingApp.shareVideoDialogOpen})},useDeniedPermissionsDialogOpen=function(){return(0,i.C)(function(e){return e.streamingApp.deniedPermissionsDialogOpen})},useEmotes=function(){return(0,i.C)(function(e){return e.streamingApp.emotes})},useVirtualBackgroundMode=function(){return(0,i.C)(function(e){return e.streamingApp.virtualBackgroundMode})},useShowWaitingRoom=function(e){return(0,i.C)(function(t){var n=t.streamingApp.livestreamState,r=n.hasStarted,i=n.hasEnded,o=t.streamingApp.isSpyMode;return!e&&!o&&!i&&void 0===r})},useShowEndScreen=function(e){return(0,i.C)(function(t){var n=t.streamingApp.livestreamState,r=n.hasStarted,i=n.hasEnded,o=t.streamingApp.isSpyMode;return!e&&!o&&i&&!1===r})},useIsTestLivestream=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.test})},useIsRecordingWindow=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.isRecordingWindow})},useIsSpyMode=function(){return(0,i.C)(function(e){return e.streamingApp.isSpyMode})},useAssistantMode=function(){return(0,i.C)(function(e){return e.streamingApp.isAssistantMode})},useSpeakerId=function(){return(0,i.C)(function(e){return e.streamingApp.speakerId})},useUserUid=function(){return(0,i.C)(function(e){return e.streamingApp.userUid})},useAutoplayState=function(){return(0,i.C)(function(e){return e.streamingApp.autoplayState})},useRtcConnectionState=function(){return(0,i.C)(function(e){return e.streamingApp.rtcState.connectionState})},useIsPanel=function(){return(0,i.C)(function(e){return"panel"===e.streamingApp.livestreamState.livestreamType})},useLivestreamGroupIds=function(){return(0,i.C)(function(e){return e.streamingApp.livestreamState.groupIds})}},45604:function(e,t){"use strict";t.Gn=void 0,t.Gn={exampleHttp:"exampleHttpFunction_v1",customerIORecommendedLivestreamsWebhook:"customerIORecommendedLivestreamsWebhook",customerIORecommendedSparksWebhook:"customerIORecommendedSparksWebhook",customerIORecommendedJobsWebhook:"customerIORecommendedJobsWebhook",getAdminUsers:"getAdminUsers_v1",setAdminUserDisabled:"setAdminUserDisabled_v1",unregisterLivestreamUsers:"unregisterLivestreamUsers_v1",createNewGroupAdminUserAccount:"createNewGroupAdminUserAccount",sendNewlyPublishedEventEmail:"sendNewlyPublishedEventEmail",startPlan:"startPlan_v5",sendReminderToNearEndSparksTrialPlanCreationPeriod:"sendReminderToNearEndSparksTrialPlanCreationPeriod_v2",endOfSparksTrialEmails:"endOfSparksTrialEmails_v2",manualEndOfSparksTrialEmails:"manualEndOfSparksTrialEmails",createSpark:"createSpark_v6",updateSpark:"updateSpark_v5",deleteSpark:"deleteSpark_v4",createNewUserAccount:"createNewUserAccount_v8",createNewOAuthUserAccount:"createNewOAuthUserAccount_v2",updateLinkedProviders:"updateLinkedProviders_v1",upsertLivestreamSpeaker:"upsertLivestreamSpeaker_v4",disableUserLivestreamMessaging:"disableUserLivestreamMessaging",deleteLivestream:"deleteLivestream",updateCreatorRoles:"updateCreatorRoles",getLivestreamsICalendarEvents:"getLivestreamsICalendarEvents_v2",onLivestreamStartScheduleNoShowReminder:"onLivestreamStartScheduleNoShowReminder",sendLivestreamNoShowReminder:"sendLivestreamNoShowReminder_v3",sendLivestreamRegistrationConfirmationEmail
1:"sendLivestreamRegistrationConfirmationEmail_v13",sendPhysicalEventRegistrationConfirmationEmail:"sendPhysicalEventRegistrationConfirmationEmail_v2",getRecommendedEvents:"getRecommendedEvents_v8",getRecommendedJobs:"getRecommendedJobs_v2",getRecordingViews:"getRecordingViews",removeAndSyncUserSparkNotification:"removeAndSyncUserSparkNotification_v5",createUserSparksFeedEventNotifications:"createUserSparksFeedEventNotifications_v5",createSparksFeedEventNotifications:"createSparksFeedEventNotifications",getSparksFeed:"getSparksFeed_v14",fetchUserCountryCode:"fetchUserCountryCode_v2",fetchCountriesList:"fetchCountriesList_v2",searchCountries:"searchCountries_v2",searchCities:"searchCities_v2",fetchCountryCitiesList:"fetchCountryCitiesList_v2",fetchCountryStatesList:"fetchCountryStatesList_v2",fetchCountryCityData:"fetchCountryCityData_v2",fetchCityData:"fetchCityData_v2",fetchCountryData:"fetchCountryData_v2",searchLocations:"searchLocations_v3",getLocation:"getLocation_v2",searchLocationOptions:"searchLocationOptions_v2",keepFunctionsWarm:"keepFunctionsWarm",keepOnCallFunctionsWarm:"keepOnCallFunctionsWarm_v2",backfillUserData:"backfillUserData_v2",sendPasswordResetEmail:"sendPasswordResetEmail_v2",getRegistrationSources:"getRegistrationSources_v2",getGroupTalentEngagement:"getGroupTalentEngagement",removeFromTalentPool:"removeFromTalentPool",getTotalUsersMatchingTargeting:"getTotalUsersMatchingTargeting_v2",trackOfflineEventAction:"trackOfflineEventAction",trackCustomJobView:"trackCustomJobView",notifySlackWhenSparksTrialStarts:"notifySlackWhenSparksTrialStarts",notifySlackWhenOfflineEventIsPublished:"notifySlackWhenOfflineEventIsPublished",syncLivestreams:"syncLivestreams_v2",syncUserLivestreamData:"syncUserLivestreamData_v2",onCreateLivestreamRatingAnswer:"onCreateLivestreamRatingAnswer_v2",syncLivestreamStats:"syncLivestreamStats_v2",checkExpiredPlans:"checkExpiredPlans_v2",manualCheckExpiredPlans:"manualCheckExpiredPlans_v2",stripeWebHook:"stripeWebHook_v3",fetchStripeCustomerSession:"fetchStripeCustomerSession_v3",fetchStripePrice:"fetchStripePrice_v3",fetchStripeSessionStatus:"fetchStripeSessionStatus_v3",startLivestreamTranscription:"startLivestreamTranscription",manualBatchLivestreamTranscriptions:"manualBatchLivestreamTranscriptions",processBatchLivestreamTranscriptions:"processBatchLivestreamTranscriptions",startLivestreamChapterization:"startLivestreamChapterization",initiateChapterizationOnTranscriptionCompleted:"initiateChapterizationOnTranscriptionCompleted",startLivestreamSubtitleGeneration:"startLivestreamSubtitleGeneration",initiateSubtitleGenerationOnTranscriptionCompleted:"initiateSubtitleGenerationOnTranscriptionCompleted",generateLivestreamSubtitleTrack:"generateLivestreamSubtitleTrack",generateQuestionsOnLivestreamPublish:"generateQuestionsOnLivestreamPublish",startLivestreamDynamicQuestionsGeneration:"startLivestreamDynamicQuestionsGeneration",createChapter:"createChapter",updateChapter:"updateChapter",deleteChapter:"deleteChapter",generateChapterThumbnails:"generateChapterThumbnails",triggerFeaturedCompaniesSync:"triggerFeaturedCompaniesSync",createCoffeeChatRound:"createCoffeeChatRound",updateCoffeeChatRound:"updateCoffeeChatRound",deleteCoffeeChatRound:"deleteCoffeeChatRound",getCoffeeChatRoundAccessToken:"getCoffeeChatRoundAccessToken",generateCoffeeChatVipTokens:"generateCoffeeChatVipTokens",redeemCoffeeChatVipToken:"redeemCoffeeChatVipToken",setCoffeeChatRoundApplicationsClosed:"setCoffeeChatRoundApplicationsClosed",submitCoffeeChatApplication:"submitCoffeeChatApplication_v1",inviteApplicantToChat:"inviteApplicantToChat",refuseChatApplication:"refuseChatApplication",bookCoffeeChatSchedule:"bookCoffeeChatSchedule",cancelCoffeeChatSchedule:"cancelCoffeeChatSchedule",cancelChatInvitation:"cancelChatInvitation",resendChatInvitation:"resendChatInvitation",rescheduleApplicantToChat:"rescheduleApplicantToChat",markChatAsCompleted:"markChatAsCompleted",manualRetryCoffeeChatEmail:"manualRetryCoffeeChatEmail",submitCoffeeChatFeedback:"submitCoffeeChatFeedback",notifySlackWhenACoffeeChatRoundIsPublished:"notifySlackWhe
1nACoffeeChatRoundIsPublished",saveBuddyAvailability:"saveBuddyAvailability",getCoffeeChatBookingSlots:"getCoffeeChatBookingSlots",onCreatorUpdatedFanOutBuddies:"onCreatorUpdatedFanOutBuddies",getRecommendedCompanies:"getRecommendedCompanies_v1"}},25194:function(e,t){"use strict";var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};t.WT=void 0;var n=function(){function RegistrationSourcesResponseItem(){}return RegistrationSourcesResponseItem.serialize=function(e){var t,n,r,i,o={livestreamId:e.livestreamId,registered:{date:null===(n=null===(t=e.registered)||void 0===t?void 0:t.date)||void 0===n?void 0:n.toMillis(),utm:null===(r=e.registered)||void 0===r?void 0:r.utm,sparkId:null===(i=e.registered)||void 0===i?void 0:i.sparkId}};return Object.assign(new RegistrationSourcesResponseItem,o)},RegistrationSourcesResponseItem.deserialize=function(e){var t,n,r,i,o=__assign(__assign({},e),{registered:{date:(null===(t=e.registered)||void 0===t?void 0:t.date)?new Date(null===(n=e.registered)||void 0===n?void 0:n.date):null,utm:null===(r=e.registered)||void 0===r?void 0:r.utm,sparkId:null===(i=e.registered)||void 0===i?void 0:i.sparkId}});return Object.assign(new RegistrationSourcesResponseItem,o)},RegistrationSourcesResponseItem}();t.WT=n},9841:function(e,t,n){"use strict";n.d(t,{$M:function(){return userIsTargetedLevels},FH:function(){return i},UV:function(){return userIsTargetedApp}});var r=["AT","AD","BE","BG","CH","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LI","LU","MC","MT","NL","NO","PL","PT","RO","RS","SE","SI","SK","SM"],i=["DE","CH"],userIsTargetedApp=function(e){var t;return e&&r.includes(e.universityCountryCode)&&(!e.cioPushTokens||(null===(t=e.cioPushTokens)||void 0===t?void 0:t.length)===0)},userIsTargetedLevels=function(e){return e&&(i.includes(e.universityCountryCode)||i.includes(e.countryIsoCode))}},19744:function(e,t,n){"use strict";n.d(t,{L:function(){return i},q:function(){return o}});var r,i={PlatformNormal:"platform-normal",PlatformPromo:"platform-promo",Social:"social",Sparks:"sparks",University:"university",Other:"other"},o=[{displayName:"Platform Registrations",id:i.PlatformNormal,helpDescription:"User registered through our platform not tied to any campaign.",color:"#2B28BC",match:function(e){return!e}},{displayName:"Platform User Promo",id:i.PlatformPromo,helpDescription:"User registered through a campaign inside our Platform.",color:"#1ED0D0",match:function(e){var t=/^careerfairy$/i.test(null==e?void 0:e.utm_source),n=/^(pushnotification|email)$/i.test(null==e?void 0:e.utm_medium);return t&&n}},{displayName:"Sparks",id:i.Sparks,helpDescription:"User registered through Sparks.",color:"#FFC200",match:function(e){return!1}},{displayName:"Social",id:i.Social,helpDescription:"User registered through a social media ad (Facebook, Instagram, etc).",color:"#00FF47",match:(r=/instagram|facebook|meta|twitter|linkedin|tiktok/i,function(e){return matchAnyMapValue(e,r)})},{displayName:"University Network Promo",id:i.University,helpDescription:"User registered through a university campaign.",color:"#FF4D4D",match:function(e){return[/[a-z]{2}[-_]newsletter$/i,/student[_-]assoc[_-][a-z]{2}|unicc[_-][a-z]{2}|student[_-]council[_-][a-z]{2}/i,/^professors$/i].some(function(t){return t.test(null==e?void 0:e.utm_source)})}},{displayName:"Other",id:i.Other,helpDescription:"User registered through an unknown campaign.",color:"#7D7AFF",match:function(e){return!!e}}],matchAnyMapValue=function(e,t){for(var n in e)if(t.test(e[n]))return!0;return!1}},43282:function(e,t,n){"use strict";n.d(t,{LV:function(){return sourcesByLivestream},MQ:function(){return sourcesByDate},Sw:function(){return fixLivestreamRegistrationDates},du:function(){return rollupByDay}});var r=n(24022),i=n(4670),o=n(19744),sourcesByDate=function(e){var t=[];function addToResults(e,n){var o=t.findIndex(function(t){return t.source.displayName===e.displayName});if(o>-1){var a=t[o];t[o]=(0,i._)((0,r._)({},a),{dates:a.dates.concat(n.registered.date)})}else t.push({source:e,dates:[n.registered.date]})}var n=!0,a=!1,s=void 0;try{for(var u,l=e[Symbol.iterator]();!(n=(u=l.next()).done);
1n=!0)!function(){var e=u.value;if(null===(i=e.registered)||void 0===i?void 0:i.date){if(e.registered.sparkId)addToResults(o.q.find(function(e){return e.id==o.L.Sparks}),e);else{var t=!0,n=!1,r=void 0;try{for(var i,a,s=o.q[Symbol.iterator]();!(t=(a=s.next()).done);t=!0){var l=a.value;if(l.match(e.registered.utm)){addToResults(l,e);break}}}catch(e){n=!0,r=e}finally{try{t||null==s.return||s.return()}finally{if(n)throw r}}}}}()}catch(e){a=!0,s=e}finally{try{n||null==l.return||l.return()}finally{if(a)throw s}}return t},rollupByDay=function(e){var t={},n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value,u=s.x.toISOString().slice(0,10);t[u]?t[u]=t[u]+s.y:t[u]=s.y}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var l=[];for(var c in t)l.push({x:new Date(c),y:t[c]});return l.sort(function(e,t){return t.x.getTime()-e.x.getTime()})},sourcesByLivestream=function(e,t){if(!e||0===e.length)return[];var n=t?e.filter(function(e){return e.livestreamId===t}):e;return sourcesByDate(n).map(function(e){return{source:e.source,total:e.dates.length,percent:Math.round(e.dates.length/n.length*100)}}).sort(function(e,t){return t.total-e.total})},fixLivestreamRegistrationDates=function(e,t){return e.map(function(e){var n;if((null===(n=e.registered)||void 0===n?void 0:n.date)&&158441184e4===e.registered.date.getTime()){var r=t.find(function(t){return e.livestreamId===t.id});e.registered.date=r.start.toDate()}return e})}},87306:function(e,t,n){"use strict";var r=n(2784),i=n(13980),o=n.n(i);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=(0,r.forwardRef)(function(e,t){var n=e.color,i=e.size,o=void 0===i?24:i,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["color","size"]);return r.createElement("svg",_extends({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:void 0===n?"currentColor":n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),r.createElement("path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"}))});a.propTypes={color:o().string,size:o().oneOfType([o().string,o().number])},a.displayName="Hexagon",t.Z=a},17309:function(e,t,n){"use strict";var r=n(2784),i=n(13980),o=n.n(i);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=(0,r.forwardRef)(function(e,t){var n=e.color,i=e.size,o=void 0===i?24:i,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["color","size"]);return r.createElement("svg",_extends({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:void 0===n?"currentColor":n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),r.createElement("circle",{cx:"12",cy:"12",r:"10"}),r.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"16"}),r.createElement("line",{x1:"8",y1:"12",x2:"16",y2:"12"}))});a.propTypes={color:o().string,size:o().oneOfType([o().string,o().number])},a.displayName="PlusCircle",t.Z=a},15334:function(e,t,n){"use strict";var r=n(2784),i=n(13980),o=n.n(i);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}
1var a=(0,r.forwardRef)(function(e,t){var n=e.color,i=e.size,o=void 0===i?24:i,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["color","size"]);return r.createElement("svg",_extends({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:void 0===n?"currentColor":n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),r.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),r.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"16"}),r.createElement("line",{x1:"8",y1:"12",x2:"16",y2:"12"}))});a.propTypes={color:o().string,size:o().oneOfType([o().string,o().number])},a.displayName="PlusSquare",t.Z=a}},function(e){e.O(0,[4185,9411,3661,2212,82,1446,5188,960,1139,1251,6523,6573,3486,8115,8325,3034,3396,4381,2482,8804,2533,6659,6262,8255,5507,5947,3645,9774,2888,179],function(){return e(e.s=75252)}),_N_E=e.O()}]);

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.