1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39665],{75781:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/conference/[eventId]/expo",function(){return t(74314)}])},85200:function(e,n,t){"use strict";t.d(n,{DY:function(){return AdminPage},hb:function(){return s},lm:function(){return AdminPageHeading},yG:function(){return AdminPageHeader}});var r=t(85893),o=t(48641),i=t(38655);t(67294);let AdminPage=e=>{let{children:n,...t}=e;return(0,r.jsx)(o.xu,{...t,children:n})},AdminPageHeader=e=>{let{children:n,...t}=e;return(0,r.jsx)(o.Kq,{direction:"row",spacing:"4",alignItems:"flex-start",...t,children:n})},AdminPageHeading=e=>{let{children:n,...t}=e;return(0,r.jsx)(o.X6,{size:"md",...t,children:n})},s=(0,i.Gp)((e,n)=>{let{children:t,...i}=e;return(0,r.jsx)(o.xu,{marginY:"5",...i,ref:n,children:t})})},42117:function(e,n,t){"use strict";t.d(n,{s:function(){return EditableCard}});var r=t(85893),o=t(48641),i=t(47741);t(67294);var s=t(52670),a=t(59985);let EditableCard=e=>{let{title:n,titleTooltip:t,onSubmit:c,onClickEdit:l,onClickCancel:d,isEditing:u,isCancelDisabled:p,isSubmitLoading:f,isEditButtonHidden:m,children:v,subtitle:h,...x}=e;return(0,r.jsx)(s.Z,{padding:"6",as:"form",noValidate:!0,...x,children:(0,r.jsxs)(o.Kq,{spacing:"6",children:[(0,r.jsxs)(o.Kq,{direction:"row",alignItems:"center",children:[(0,r.jsxs)(o.gC,{alignItems:"left",children:[(0,r.jsx)(o.xv,{textStyle:"xlBodyStrong",children:n}),t&&(0,r.jsx)(a.N,{info:t}),h&&(0,r.jsx)(o.xv,{textStyle:"compact",color:"gray.500",w:"full",children:h})]}),(0,r.jsx)(o.LZ,{}),!m&&(0,r.jsx)(i.zx,{visibility:u?"hidden":void 0,onClick:l,colorScheme:"gray",variant:"outline",children:"Edit"})]}),v,u&&(0,r.jsxs)(o.Kq,{direction:"row",justifyContent:"flex-end",children:[(0,r.jsx)(i.zx,{variant:"outline",colorScheme:"gray",onClick:d,isDisabled:p,children:"Cancel"}),(0,r.jsx)(i.zx,{onClick:c,isLoading:f,children:"Save Changes"})]})]})})}},89845:function(e,n,t){"use strict";t.d(n,{$r:function(){return l},KI:function(){return PopoverMenuGroup},Sl:function(){return d},l9:function(){return PopoverMenuDivider}});var r=t(85893),o=t(48641),i=t(47741),s=t(38655),a=t(67294),c=t(6491);let l=a.forwardRef((e,n)=>{let{children:t,...i}=e;return(0,r.jsx)(o.Kq,{padding:"2",borderRadius:"lg",ref:n,...i,children:t})});l.displayName="PopoverMenuList";let d=a.forwardRef((e,n)=>{let{isChecked:t,children:o,...a}=e;return(0,r.jsx)(i.zx,{variant:"ghost",colorScheme:"gray",leftIcon:t?(0,r.jsx)(c.nQG,{}):void 0,fontWeight:"normal",whiteSpace:"normal",...a,ref:n,borderRadius:"xl",children:(0,r.jsx)(s.m$.span,{textAlign:"left",noOfLines:1,flex:"1",wordBreak:"break-all",children:o})})});d.displayName="PopoverMenuItem";let PopoverMenuDivider=e=>(0,r.jsx)(o.iz,{my:"2",...e}),PopoverMenuGroup=e=>(0,r.jsxs)(o.Kq,{children:[e.title&&(0,r.jsx)(o.xv,{color:"gray.500",fontSize:"sm",fontWeight:"semibold",mx:"2",textTransform:"uppercase",children:e.title}),e.children]})},82475:function(e,n,t){"use strict";t.d(n,{U:function(){return l}});var r=t(85893),o=t(83234),i=t(47741),s=t(38655),a=t(67294),c=t(6491);let l=a.forwardRef((e,n)=>{let{children:t,...a}=e,l=(0,o.NJ)(),d=(null==l?void 0:l.isDisabled)||a.isDisabled;return(0,r.jsx)(i.zx,{variant:"outline",colorScheme:"gray",backgroundColor:"white",fontWeight:"normal",rightIcon:(0,r.jsx)(c.v4q,{}),justifyContent:"space-between",borderColor:(null==l?void 0:l.isInvalid)?"red.500":void 0,border:(null==l?void 0:l.isInvalid)?"2px":void 0,_hover:{backgroundColor:"white"},w:"full",isDisabled:d,_expanded:{bg:"gray.200"},...a,ref:n,whiteSpace:"normal",textAlign:"left",children:(0,r.jsx)(s.m$.span,{noOfLines:1,wordBreak:"break-all",flex:"1",children:t})})});l.displayName="SelectMenuButton"},87958:function(e,n,t){"use strict";t.d(n,{c:function(){return TokboxDeprecationIcon}});var r=t(82729),o=t(85893),i=t(50456),s=t(97026);t(67294);var a=t(6491),c=t(93064);function _templateObject(){let e=(0,r._)(["\n fragment TokboxDeprecationIcon_EventVenueFragment on EventVenue {\n type\n online {\n ... on EventVenue_ExternalPlatform {\n __typename\n }\n ... on EventVenue_TradewingPlatform {\n __typename\n stream {\n ... on EventVenue_TradewingPlatform_Stream_Live {\n __typename\n }\n ... on EventVenue_TradewingPlatform_Stream_Prerecorded {\n __typename\n }\n }\n }\n }\n }\n"]);
1return _templateObject=function(){return e},e}let TokboxDeprecationIcon=e=>{let{eventVenue:n,endDate:t,...r}=e,i=!!n.online&&"EventVenue_TradewingPlatform"===n.online.__typename&&!!n.online.stream&&"EventVenue_TradewingPlatform_Stream_Live"===n.online.stream.__typename;return i&&(!t||t>new Date(c.mI))?(0,o.jsx)(s.u,{label:c.lg,children:(0,o.jsx)(a.go2,{color:"red.500",...r})}):null};TokboxDeprecationIcon.eventVenueFragment=(0,i.Ps)(_templateObject())},14144:function(e,n,t){"use strict";t.d(n,{W:function(){return VenueTypeBooth},n:function(){return VenueType}});var r=t(85893),o=t(48641);t(67294);var i=t(47503),s=t(6491);let VenueType=e=>{let{venueType:n}=e;return({[i.Fd.IN_PERSON]:(0,r.jsxs)(o.Kq,{direction:"row",alignItems:"center",children:[(0,r.jsx)(s.tEx,{}),(0,r.jsx)(o.xv,{children:"In Person"})]}),[i.Fd.ONLINE]:(0,r.jsxs)(o.Kq,{direction:"row",alignItems:"center",children:[(0,r.jsx)(s.n9J,{}),(0,r.jsx)(o.xv,{children:"Online"})]}),[i.Fd.HYBRID]:(0,r.jsxs)(o.Kq,{direction:"row",alignItems:"center",children:[(0,r.jsxs)(o.Kq,{direction:"row",spacing:"0.5",children:[(0,r.jsx)(s.tEx,{}),(0,r.jsx)(s.n9J,{})]}),(0,r.jsx)(o.xv,{children:"In Person & Online"})]})})[n]},VenueTypeBooth=e=>{let{venueType:n}=e;return({[i.Fd.IN_PERSON]:(0,r.jsxs)(o.Kq,{direction:"row",alignItems:"center",textStyle:"compactStrong",color:"gray.600",children:[(0,r.jsx)(s.tEx,{}),(0,r.jsx)(o.xv,{children:"Booth Created"})]}),[i.Fd.ONLINE]:(0,r.jsxs)(o.Kq,{direction:"row",alignItems:"center",textStyle:"compactStrong",color:"gray.600",children:[(0,r.jsx)(s.n9J,{}),(0,r.jsx)(o.xv,{children:"Booth Created"})]}),[i.Fd.HYBRID]:(0,r.jsxs)(o.Kq,{direction:"row",alignItems:"center",textStyle:"compactStrong",color:"gray.600",children:[(0,r.jsxs)(o.Kq,{direction:"row",spacing:"0.5",children:[(0,r.jsx)(s.tEx,{}),(0,r.jsx)(s.n9J,{})]}),(0,r.jsx)(o.xv,{children:"Booth Created"})]})})[n]}},16064:function(e,n,t){"use strict";t.d(n,{H4:function(){return i},xW:function(){return l}});var r=t(82729),o=t(50456);function _templateObject(){let e=(0,r._)(["\n fragment InPersonAddressFragment on EventVenue_InPersonLocation_Address {\n administrativeArea\n country\n locality\n name\n postalCode\n streetAddress\n streetAddressLine2\n }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n fragment VideoFileFragment on VideoFile {\n _id\n filename\n hlsVideoStreamUrl\n s3DownloadUrl\n thumbnailImageUrl\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n fragment VirtualEventArchiveFragment on VirtualEventArchive {\n _id\n videoFile {\n ...VideoFileFragment\n }\n videoFileId\n }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n fragment SessionInfoFragment on SessionInfo {\n apiKey\n sessionId\n token\n isRecording\n archives {\n ...VirtualEventArchiveFragment\n }\n }\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n fragment VenueFragment on EventVenue {\n type\n inPersonLocation {\n address {\n ...InPersonAddressFragment\n }\n description\n }\n online {\n ... on EventVenue_ExternalPlatform {\n additionalDetails\n externalPlatformName\n url\n }\n ... on EventVenue_TradewingPlatform {\n chatStreamChannelId\n agoraMeetId\n stream {\n ... on EventVenue_TradewingPlatform_Stream_Agora_Video_Call {\n agoraMeetSettings {\n maxParticipants\n waitingRoomEnabled\n }\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 sessionInfo {\n ...SessionInfoFragment\n }\n }\n }\n }\n }\n }\n }\n ","\n ","\n ","\n ","\n"]);
1return _templateObject4=function(){return e},e}let i=(0,o.Ps)(_templateObject()),s=(0,o.Ps)(_templateObject1()),a=(0,o.Ps)(_templateObject2()),c=(0,o.Ps)(_templateObject3()),l=(0,o.Ps)(_templateObject4(),i,c,a,s)},19598:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(38655);let o=(0,r.m$)("div",{baseStyle:{borderRadius:"8px",backgroundColor:"white",shadow:"base"}})},52670:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(19598)},59985:function(e,n,t){"use strict";t.d(n,{N:function(){return InfoPopup}});var r=t(85893),o=t(97026);t(67294);var i=t(6491);let InfoPopup=e=>{let{info:n,iconColor:t}=e;return(0,r.jsx)(r.Fragment,{children:!!n&&(0,r.jsx)(o.u,{label:n,placement:"top",hasArrow:!0,fontSize:"md",py:"2",px:"4",children:(0,r.jsx)(i.BHU,{color:null!=t?t:"gray.400",ml:"1"})})})}},85762:function(e,n,t){"use strict";t.d(n,{j:function(){return useGetAbsoluteUrl}});var r=t(45893);let useGetAbsoluteUrl=function(){var e;let n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,r.x)(),o=!0===n?"https://api.tradewing.com":null===(e=t.tenant)||void 0===e?void 0:e.absoluteUrl,i=o?e=>{let n=e?e.startsWith("/")?e:"/".concat(e):"/";return"".concat(o).concat(n)}:null;return{getAbsoluteUrl:i,loading:t.loading}}},74314:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return q}});var r=t(85893),o=t(11163),i=t(67294),s=t(51210),a=t(82729),c=t(50456),l=t(37887),d=t(69171),u=t(48076),p=t(50319),f=t(90195),m=t(80419),v=t(48641),h=t(87536),x=t(42117),g=t(47741),_=t(2821),j=t(83234),E=t(20979),S=t(6491);let b=i.forwardRef((e,n)=>{let t=(0,f.qY)();return(0,r.jsxs)(v.Kq,{ref:n,direction:"row",children:[(0,r.jsx)(v.xv,{textStyle:"bodyStrong",children:e.value}),e.isEditing&&(0,r.jsx)(g.hU,{icon:(0,r.jsx)(S.dY8,{color:"gray.800"}),variant:"link",colorScheme:"black","aria-label":"edit the sponsor tier name",isLoading:e.isSubmitting,onClick:t.onOpen}),(0,r.jsxs)(_.u_,{isOpen:t.isOpen,onClose:()=>{e.onCancel(),t.onClose()},isCentered:!0,children:[(0,r.jsx)(_.ZA,{}),(0,r.jsxs)(_.hz,{children:[(0,r.jsx)(_.ol,{}),(0,r.jsx)(_.xB,{children:"Rename Sponsor Tier"}),(0,r.jsx)(_.fe,{p:"6",children:(0,r.jsxs)(j.NI,{children:[(0,r.jsx)(j.lX,{children:"Name"}),(0,r.jsx)(E.II,{value:e.value,onChange:n=>e.onChange(n.target.value)})]})}),(0,r.jsx)(_.mz,{pt:"8",children:(0,r.jsx)(g.zx,{onClick:()=>{e.onSubmit(),t.onClose()},isLoading:!1,children:"Save"})})]})]})]})});b.displayName="SponsorShipTierTitleEditor";var C=t(45969),T=t(84856),y=t(41664),I=t.n(y),P=t(87958),O=t(14144),w=t(16064);function _templateObject(){let e=(0,a._)(["\n query BoothButton_ConferenceEventBooths($input: EventInput!) {\n event(input: $input) {\n eventV2 {\n _id\n endDate\n ... on ConferenceEventV2 {\n _id\n conferenceBooths {\n results {\n _id\n hostOrganization {\n _id\n }\n venue {\n ...VenueFragment\n }\n }\n }\n }\n }\n }\n }\n ","\n"]);return _templateObject=function(){return e},e}let N=(0,c.Ps)(_templateObject(),w.xW),BoothButton=e=>{var n,t,i,s;let{organizationId:a}=e,c=(0,o.useRouter)(),p=c.query.eventId.toString(),f=(0,l.a)(N,{variables:{input:{_id:p}}}),m=(null===(t=f.data)||void 0===t?void 0:null===(n=t.event.eventV2)||void 0===n?void 0:n.__typename)==="ConferenceEventV2"?f.data.event.eventV2.conferenceBooths.results.find(e=>e.hostOrganization._id===a):null;if(f.loading)return(0,r.jsx)(d.g,{});if(f.error)return(0,r.jsx)(u.S,{});let h=null===(s=f.data)||void 0===s?void 0:null===(i=s.event.eventV2)||void 0===i?void 0:i.endDate;return m?(0,r.jsxs)(v.Kq,{direction:"row",spacing:"4",alignItems:"center",children:[(0,r.jsx)(O.W,{venueType:m.venue.type}),(0,r.jsx)(I(),{href:"/admin/conference/".concat(p,"/booth/").concat(m._id),children:(0,r.jsxs)(g.zx,{size:"sm",variant:"outline",colorScheme:"gray",leftIcon:(0,r.jsx)(S.nQG,{}),children:["View Booth Details",(0,r.jsx)(P.c,{endDate:h?new Date(h):void 0,eventVenue:m.venue,ml:"2"})]})})]}):(0,r.jsx)(I(),{href:"/admin/conference/".concat(p,"/booth/new?organizationId=").concat(a),children:(0,r.jsx)(g.zx,{size:"sm",children:"Create Booth"})})}
1,V=i.forwardRef((e,n)=>e.isEditing||0!==e.value.length?(0,r.jsxs)(v.Kq,{spacing:"2",children:[(0,r.jsx)(j.NI,{isDisabled:e.isSubmitting,children:e.isEditing&&(0,r.jsx)(T.Y,{placeholder:"Add a company",value:e.value,onAppend:e.onAppend,onRemove:e.onRemove,ref:n,sponsorsToExclude:e.sponsorsToExclude})}),e.value.length>0&&(0,r.jsx)(v.Kq,{spacing:"2",children:e.value.map((n,t)=>(0,r.jsx)(C.B,{organizationId:n._id,onClickRemove:()=>e.onRemove(t),isDisabled:e.isSubmitting,isEditing:e.isEditing,children:!e.isEditing&&(0,r.jsx)(BoothButton,{organizationId:n._id})},n._id))})]}):(0,r.jsx)(v.xv,{textStyle:"compact",color:"gray.600",children:"No sponsors added"}));function ConferenceExpoCard_templateObject(){let e=(0,a._)(['\n fragment ConferenceExpoCard_OrganizationFragment on Organization {\n _id\n displayName\n profilePicture {\n _id\n imageProxy(input: { w: 448, h: 448, fit: "crop" })\n }\n }\n']);return ConferenceExpoCard_templateObject=function(){return e},e}function _templateObject1(){let e=(0,a._)(["\n mutation ConferenceExpoCard_setEventSponsorshipTiersConfig(\n $input: SetEventSponsorshipTiersConfigInput!\n ) {\n setEventSponsorshipTiersConfig(input: $input) {\n result {\n _id\n sponsorshipTierNames {\n firstTier\n secondTier\n thirdTier\n }\n }\n }\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,a._)(["\n mutation ConferenceExpoCard_setEventSponsorship(\n $input: SetEventSponsorshipInput!\n ) {\n setEventSponsorship(input: $input) {\n result {\n _id\n conferenceSponsors {\n firstTierSponsors {\n _id\n ...ConferenceExpoCard_OrganizationFragment\n }\n secondTierSponsors {\n _id\n ...ConferenceExpoCard_OrganizationFragment\n }\n thirdTierSponsors {\n _id\n ...ConferenceExpoCard_OrganizationFragment\n }\n }\n }\n }\n }\n ","\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,a._)(["\n fragment ConferenceExpoCard_ConferenceEvent on ConferenceEventV2 {\n _id\n conferenceSponsors {\n firstTierSponsors {\n _id\n ...ConferenceExpoCard_OrganizationFragment\n }\n secondTierSponsors {\n _id\n ...ConferenceExpoCard_OrganizationFragment\n }\n thirdTierSponsors {\n _id\n ...ConferenceExpoCard_OrganizationFragment\n }\n }\n sponsorshipTierNames {\n firstTier\n secondTier\n thirdTier\n }\n }\n ","\n"]);return _templateObject3=function(){return e},e}V.displayName="SponsorsEditor";let F=(0,c.Ps)(ConferenceExpoCard_templateObject()),A=(0,c.Ps)(_templateObject1()),z=(0,c.Ps)(_templateObject2(),F),ConferenceExpoCard=e=>{let[n,t]=(0,f.kt)(),o=(0,m.pm)(),[s,{loading:a}]=(0,p.D)(z,{onCompleted:()=>{o({status:"success",description:"You successfully updated the event sponsorship."})},onError:()=>{o({status:"error",description:"An unexpected error occurred"})}}),[c]=(0,p.D)(A,{onCompleted:()=>{o({status:"success",description:"You successfully updated the sponsorship tier name."})},onError:()=>{o({status:"error",description:"An unexpected error occurred"})}}),l=i.useMemo(()=>{var n,t,r;return{firstTierSponsorships:e.conferenceEvent.conferenceSponsors.firstTierSponsors?e.conferenceEvent.conferenceSponsors.firstTierSponsors.map(e=>({_id:e._id})):[],secondTierSponsorships:e.conferenceEvent.conferenceSponsors.secondTierSponsors?e.conferenceEvent.conferenceSponsors.secondTierSponsors.map(e=>({_id:e._id})):[],thirdTierSponsorships:e.conferenceEvent.conferenceSponsors.thirdTierSponsors?e.conferenceEvent.conferenceSponsors.thirdTierSponsors.map(e=>({_id:e._id}
1)):[],firstTierName:null!==(n=e.conferenceEvent.sponsorshipTierNames.firstTier)&&void 0!==n?n:"",secondTierName:null!==(t=e.conferenceEvent.sponsorshipTierNames.secondTier)&&void 0!==t?t:"",thirdTierName:null!==(r=e.conferenceEvent.sponsorshipTierNames.thirdTier)&&void 0!==r?r:""}},[e.conferenceEvent.conferenceSponsors.firstTierSponsors,e.conferenceEvent.conferenceSponsors.secondTierSponsors,e.conferenceEvent.conferenceSponsors.thirdTierSponsors,e.conferenceEvent.sponsorshipTierNames.firstTier,e.conferenceEvent.sponsorshipTierNames.secondTier,e.conferenceEvent.sponsorshipTierNames.thirdTier]),d=(0,h.cI)({defaultValues:l}),{reset:u,control:g,handleSubmit:_,resetField:j}=d;i.useEffect(()=>u(l),[l,u]);let E=(0,h.Dq)({control:g,name:"firstTierSponsorships"}),S=(0,h.Dq)({control:g,name:"secondTierSponsorships"}),C=(0,h.Dq)({control:g,name:"thirdTierSponsorships"}),T=_(async n=>{await s({variables:{input:{eventId:e.conferenceEvent._id,data:{firstTierSponsorships:n.firstTierSponsorships.map(e=>({organizationId:e._id})),secondTierSponsorships:n.secondTierSponsorships.map(e=>({organizationId:e._id})),thirdTierSponsorships:n.thirdTierSponsorships.map(e=>({organizationId:e._id}))}}}}),t.off()}),y=_(async n=>{await c({variables:{input:{eventId:e.conferenceEvent._id,data:{firstTier:{displayName:n.firstTierName},secondTier:{displayName:n.secondTierName},thirdTier:{displayName:n.thirdTierName}}}}})}),I=[...S.fields,...C.fields],P=[...E.fields,...C.fields],O=[...E.fields,...S.fields];return(0,r.jsx)(h.RV,{...d,children:(0,r.jsx)(x.s,{title:"Sponsors",subtitle:"Add sponsors to the tiers below. Once a sponsor has been added, you can create a booth for them.",onSubmit:T,onClickEdit:t.on,onClickCancel:()=>{t.off(),u()},isEditing:n,isCancelDisabled:a,isSubmitLoading:a,children:(0,r.jsxs)(v.rj,{templateColumns:{base:"1fr",lg:"repeat(2, 1fr)"},gap:8,width:"100%",children:[(0,r.jsxs)(v.Kq,{spacing:"2",children:[(0,r.jsx)(h.Qr,{control:g,name:"firstTierName",render:e=>{let{field:{ref:t,value:o,onChange:i},formState:{isSubmitting:s}}=e;return(0,r.jsx)(b,{isEditing:n,isSubmitting:s,onSubmit:y,onCancel:()=>j("firstTierName"),ref:t,value:o,onChange:i})}}),(0,r.jsx)(h.Qr,{control:g,name:"firstTierSponsorships",render:e=>{let{field:{ref:t},formState:{isSubmitting:o}}=e;return(0,r.jsx)(V,{name:"firstTierName",isEditing:n,isSubmitting:o,ref:t,value:E.fields.map(e=>({_id:e._id})),onAppend:e=>E.append({_id:e}),onRemove:e=>E.remove(e),sponsorsToExclude:I.map(e=>e._id)})}})]}),(0,r.jsxs)(v.Kq,{spacing:"2",children:[(0,r.jsx)(h.Qr,{control:g,name:"secondTierName",render:e=>{let{field:{ref:t,value:o,onChange:i},formState:{isSubmitting:s}}=e;return(0,r.jsx)(b,{isEditing:n,isSubmitting:s,onSubmit:y,ref:t,value:o,onChange:i,onCancel:()=>j("secondTierName")})}}),(0,r.jsx)(h.Qr,{control:g,name:"secondTierSponsorships",render:e=>{let{field:{ref:t},formState:{isSubmitting:o}}=e;return(0,r.jsx)(V,{name:"secondTierName",isEditing:n,isSubmitting:o,ref:t,value:S.fields.map(e=>({_id:e._id})),onAppend:e=>{S.append({_id:e})},onRemove:e=>S.remove(e),sponsorsToExclude:P.map(e=>e._id)})}})]}),(0,r.jsxs)(v.Kq,{spacing:"2",children:[(0,r.jsx)(h.Qr,{control:g,name:"thirdTierName",render:e=>{let{field:{ref:t,value:o,onChange:i},formState:{isSubmitting:s}}=e;return(0,r.jsx)(b,{isEditing:n,isSubmitting:s,onSubmit:y,ref:t,value:o,onChange:i,onCancel:()=>j("thirdTierName")})}}),(0,r.jsx)(h.Qr,{control:g,name:"thirdTierSponsorships",render:e=>{let{field:{ref:t},formState:{isSubmitting:o}}=e;return(0,r.jsx)(V,{name:"thirdTierName",isEditing:n,isSubmitting:o,ref:t,value:C.fields.map(e=>({_id:e._id})),onAppend:e=>{C.append({_id:e})},onRemove:e=>C.remove(e),sponsorsToExclude:O.map(e=>e._id)})}})]})]})})})};function ConferenceExpoPageContent_templateObject(){let e=(0,a._)(["\n query ConferenceExpoPageContent_Event($input: EventInput!) {\n event(input: $input) {\n eventV2 {\n _id\n ... on ConferenceEventV2 {\n _id\n ...ConferenceExpoCard_ConferenceEvent\n }\n }\n }\n }\n ","\n"]);return ConferenceExpoPageContent_templateObject=function(){return e},e}
1ConferenceExpoCard.conferenceEventFragment=(0,c.Ps)(_templateObject3(),F);let D=(0,c.Ps)(ConferenceExpoPageContent_templateObject(),ConferenceExpoCard.conferenceEventFragment),ConferenceExpoPageContent=e=>{var n,t,o;let i=(0,l.a)(D,{variables:{input:{_id:e.eventId}},fetchPolicy:"network-only",notifyOnNetworkStatusChange:!0});return(null===(t=i.data)||void 0===t?void 0:null===(n=t.event.eventV2)||void 0===n?void 0:n.__typename)!=="ConferenceEventV2"?null:i.loading?(0,r.jsx)(d.g,{}):!i.error&&(null===(o=i.data)||void 0===o?void 0:o.event.eventV2)?(0,r.jsx)(ConferenceExpoCard,{conferenceEvent:i.data.event.eventV2}):(0,r.jsx)(u.S,{})};var k=t(93064),q=(0,t(52609).z)(()=>{let e=(0,o.useRouter)(),n=e.query.eventId.toString();return(0,r.jsx)(s.Q,{eventId:n,children:(0,r.jsx)(ConferenceExpoPageContent,{eventId:n})})},{requiresEvery:[k.lj.ADMIN_ROLE,k.lj.FEATURE_FLAG_CONFERENCES]})},73359:function(e,n,t){"use strict";t.d(n,{t:function(){return useLazyQuery}});var r=t(23564),o=t(67294),i=t(14012),s=t(37887),a=t(66252),c=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function useLazyQuery(e,n){var t=(0,s.A)((0,a.x)(n&&n.client),e),l=(0,o.useRef)(),d=l.current?(0,i.J)(n,l.current):n,u=t.useQuery((0,r.pi)((0,r.pi)({},d),{skip:!l.current})),p=u.observable.options.initialFetchPolicy||t.getDefaultFetchPolicy(),f=Object.assign(u,{called:!!l.current}),m=(0,o.useMemo)(function(){for(var e={},n=0;n<c.length;n++)!function(n){var r=f[n];e[n]=function(){return l.current||(l.current=Object.create(null),t.forceUpdate()),r.apply(this,arguments)}}(c[n]);return e},[]);return Object.assign(f,m),[(0,o.useCallback)(function(e){l.current=e?(0,r.pi)((0,r.pi)({},e),{fetchPolicy:e.fetchPolicy||p}):{fetchPolicy:p};var n=t.asyncUpdate().then(function(e){return Object.assign(e,m)});return n.catch(function(){}),n},[]),f]}}},function(e){e.O(0,[64986,96317,28353,32298,75591,51210,49774,92888,40179],function(){return e(e.s=75781)}),_N_E=e.O()}]); 2//# sourceMappingURL=expo-0f76910d04ff7721.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.