1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="871fe829-592b-5454-a7f2-b6954a001cc7")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77695],{50642:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/posts/[aliasID]",function(){return s(88141)}])},21427:function(e,t,s){"use strict";s.d(t,{Z:function(){return n}});let n=(0,s(72160).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},88141:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return tn}});var n=s(85893),o=s(67294),i=s(95714),a=s(2664),l=s(41484),r=s(62662),c=s(37142),d=s(89491),p=s(67029),u=s(80008),h=s.n(u),m=s(93967),v=s.n(m),x=s(41664),g=s.n(x),j=s(56989),_=s(56980),b=s(17196),f=s(92444),C=s(50812),y=s(86153),D=s(10753),N=s(38286),I=s(42280),w=s(13701),S=s(26747),k=s(10168),P=s(48061),T=s(12503),M=s(8334),A=s(4799),H=s(10989),E=s(52826),R=s(51974),Z=s(56926);class L extends o.PureComponent{render(){let{t:e,post:t,user:s,containerClassName:o,options:i,enableCalendar:a}=this.props,l=(0,n.jsxs)("div",{className:o,children:[(0,n.jsx)("p",{children:e("youAreSignedUpForEvent",{title:t.title})}),(0,n.jsx)("br",{}),(0,n.jsx)("h4",{children:e("common:getAppForMoreEvents")}),(0,n.jsx)(E.Z,{groupAliasID:t.groupAliasID,target:"_blank"}),a&&(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[(0,n.jsx)("h4",{children:e("setACalendarReminder")}),(0,n.jsx)(R.Z,{post:t,user:s,typeID:t.typeID})]}),(0,n.jsx)("br",{})]});return(0,n.jsx)(Z.Z,{title:e("common:congrats"),body:l,options:i})}}var O=(0,a.$j)()((0,l.Zh)(["postDetail","common"])(L)),U=s(71457),G=s(89520),W=s(19795),B=s(13569),F=s(34049);function q(e){if(e.post.facilityResources&&e.post.facilityResources.length>0){let t=(0,W.Dl)(e.post.facilityResources);return(0,n.jsx)(B.Z,{facilitiesWithResources:t})}return(0,n.jsx)(F.Z,{title:e.post.place.title,address:e.post.place.address,latlng:e.post.place.latlng})}var V=s(21173),Q=s(72914),z=s(85172),K=s.n(z);let{helpers:J}=j.constantModule;class $ extends o.PureComponent{render(){var e,t,s,o;let{post:i,showLocation:a,showTime:l,isCentered:r,t:c}=this.props,{short:d}=J.getLevelPretty(c,{sportID:i.sportID,data:{level:null===(t=i.data)||void 0===t?void 0:null===(e=t.level)||void 0===e?void 0:e.value,title:null===(o=i.data)||void 0===o?void 0:null===(s=o.level)||void 0===s?void 0:s.title}});return(0,n.jsxs)("div",{className:v()(K().gameIconsContainer,{[K().center]:r}),children:[(0,n.jsxs)("div",{className:K().gameIconContainer,children:[(0,n.jsx)("img",{className:K().gameIcon,src:"/images/icons/running.png"}),(0,n.jsx)("div",{className:K().gameIconLabel,children:d||c("helpers:allSkillLevels")})]}),l&&(0,n.jsxs)("div",{className:K().gameIconContainer,children:[(0,n.jsx)("img",{className:K().gameIcon,src:"/images/icons/calendar_grey.png"}),(0,n.jsx)("div",{className:K().gameIconLabel,children:(0,j.prettifyDateTimeTZ)(i.start,i.timeZone,"lll")})]}),a&&(0,n.jsxs)("div",{className:K().gameIconContainer,children:[(0,n.jsx)("img",{className:K().gameIcon,src:"/images/icons/locationMarker.png"}),(0,n.jsx)("div",{className:K().gameIconLabel,children:(0,n.jsxs)("span",{children:[i.place&&i.place.title," "]})})]}),(0,n.jsxs)("div",{className:K().gameIconContainer,children:[(0,n.jsx)("img",{className:K().gameIcon,src:"/images/icons/payment.png"}),(0,n.jsx)("div",{className:K().gameIconLabel,children:(0,j.prettifyTicketPriceRange)(c,i.ticketsSummary)})]})]})}}var Y=s(31043),X=s.n(Y);let{helpers:{getSportName:ee}}=j.constantModule;function et(e){var t,s;let{containerClassName:o,post:{place:i,title:a},post:r}=e,{t:c}=(0,l.$G)(["helpers"]),d=(0,j.getStartEndDateTimes)(r.start,r.end,r.timeZone),p=c(r.isPublic?"helpers:publicEvent":r.isSecret?"helpers:secretEvent":"helpers:privateEvent");return(0,n.jsx)("div",{className:v()(o),style:{padding:12},children:(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column"}
3,children:[(0,n.jsxs)("div",{style:{overflow:"initial",display:"grid",gridTemplateColumns:"7fr 5fr",gap:12},children:[(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,n.jsx)("span",{style:{fontSize:20,marginBottom:8,fontWeight:"bold"},children:a}),(0,n.jsxs)("div",{style:{marginBottom:24,textAlign:"center"},children:[(0,n.jsx)("span",{children:d.isMultiDay?"".concat(d.start," - ").concat(d.end):"".concat(d.date," ").concat(d.time)}),d.timeZone&&(0,n.jsxs)(n.Fragment,{children:[" ($",d.timeZone,")"]}),(0,n.jsx)("span",{children:"\xa0 ⢠\xa0"}),ee(c,r),(0,n.jsx)("span",{children:" ⢠\xa0"}),p]}),(0,n.jsx)($,{post:r,showTime:!0,containerStyle:X().iconsContainer,t:c}),(0,n.jsx)("div",{style:{marginTop:24},children:(0,n.jsx)(q,{post:r})})]}),(0,n.jsx)("div",{className:X().eventDetailsStepMap,children:(0,n.jsx)(V.Z,{title:null!==(s=i.title)&&void 0!==s?s:void 0,lat:i.latlng.latitude,lng:i.latlng.longitude})})]}),(0,n.jsx)("div",{style:{padding:12,borderTop:"1px solid #ddd",marginTop:16},children:(0,n.jsx)(Q.ZP,{text:null!==(t=r.description)&&void 0!==t?t:""})})]})})}var es=s(62839),en=s(80840),eo=s(4547),ei=s.n(eo),ea=s(1324),el=s(48452),er=s(87198),ec=s(22742),ed=s(78404),ep=s(29586),eu=s(15472),eh=s(93216);function em(e){let{aliasID:t,discountCode:s}=e,i=(0,el.Qy)(e=>e.auth.user),a=(0,el.u5)(),{t:r}=(0,l.$G)(["common","helpers","postDetail","program"]),c=(0,o.useCallback)(()=>{a((0,y.j_)())},[a]),d=(0,o.useCallback)(async()=>{let e=await a((0,er.No)({aliasID:t,discountCode:s}));return(0,j.getPostStatus)(e).canJoin||a((0,y.j_)()),e},[a,t,s]),p=(0,k.V)(d);return p.data?(0,n.jsx)(ev,{...e,user:i,post:p.data,receivedAt:p.receivedAt,onClose:c,dispatch:a,t:r}):(0,n.jsx)(en.Z,{onClose:c,children:p.error?(0,n.jsxs)("div",{className:ei().messageL,children:[(0,n.jsx)("p",{children:r("common:couldNotLoadEvent")}),(0,n.jsx)("p",{children:(0,j.prettifyErrorMessage)(r,null==p?void 0:p.error)}),(0,n.jsx)("button",{type:"button",className:"btn btn-default",onClick:p.reload,children:r("helpers:refresh")})]}):(0,n.jsx)("div",{className:ei().containerM,children:(0,n.jsx)(M.Z,{})})})}function ev(e){let{aliasID:t,discountCode:s,initialPosition:o,showDetails:i,post:a,receivedAt:l,user:r,onClose:c,dispatch:d,t:p}=e,u=(0,j.getPostStatus)(a),h=function(e){let{t,showDetails:s}=e;return[{key:ea.Nu,title:t("helpers:details"),visible:s,buttonText:t("helpers:next"),showFooter:!0},{key:ea.nn,title:t("helpers:addAttendees"),visible:!0,buttonText:t("helpers:next"),showFooter:!0},{key:ea.Ss,title:t("helpers:confirmOrder"),visible:!0,buttonText:t("helpers:order"),showFooter:!1}]}
3({t:p,canInvite:!!(null==u?void 0:u.canInvite),showDetails:null!=i&&i}),{currentStepKey:m,currentStep:v,visibleSteps:x,goToNext:g,goToPrevious:_,canGoBack:b}=(0,S.h)(h),{onAdd:f,onUpdate:C,onRemove:D,tickets:N,validate:I,errors:w,availableTickets:k,canAddMoreTickets:M,orderData:E}=(0,A.x)({isProgram:!1,postData:null!=a?a:{},user:r,t:p,initialPosition:o}),[R]=(0,ep.p)(eu.Is),Z=(0,ec.sZ)(a.googleTrackingID,a.embedGoogleTrackingID),L=(0,ed.zR)(a.facebookPixelID),W=(0,eh.gr)(),B=async()=>{try{return await d((0,er.No)({aliasID:t,discountCode:s}))}catch(e){}},F=e=>{d((0,y.Ll)({content:(0,n.jsxs)("div",{className:X().errorContainer,children:[(0,n.jsx)("i",{className:"fa fa-exclamation-circle"}),(0,n.jsx)("span",{children:p("helpers:error")}),e]})}))},q=()=>{switch(m){case ea.nn:return V();case ea.Nu:return g()}},V=async()=>{let e=await I();if(e.isValid||!e.handled){if(!e.isValid){e.markdownErrorMessage&&d((0,y.Ll)({content:(0,n.jsx)(es.Z,{title:p("helpers:error"),body:e.markdownErrorMessage,options:[{text:p("helpers:close")}],closeOnSelect:!0,hideModal:()=>d((0,y.GZ)())})}));return}g()}},Q=async()=>{var s;R({type:"POST_UPDATE",payload:{postID:a.id}});let o=window.self!==window.top,i=await B(),l=null!=i?i:a;if(!l){F(p("common:couldNotLoadEventReload"));return}let u=[];o||u.push({text:p("common:goToEvent"),onPress:c}),!o&&(null===(s=(0,j.getPostStatus)(l))||void 0===s?void 0:s.canInvite)&&u.push({text:p("helpers:inviteFriends"),onPress:()=>e.onInvite(t)}),o&&window.parent&&window.parent.postMessage((0,P.TK)({type:"registration-modal-registration-success",data:{type:"post",postID:a.id}}),"*"),d((0,y.FI)([{content:(0,n.jsx)(O,{post:l,user:r,enableCalendar:!0,options:u,containerClassName:X().successContainer}),isFullScreen:!1,showCloseButton:!0,shouldCloseOnOverlayClick:!0,onRequestClose:c}]))},z=e=>{var t,s,o;return(0,n.jsx)(T.Z,{canGoBack:b,onPrevClick:_,onNextClick:null!==(t=null==e?void 0:e.onClick)&&void 0!==t?t:q,disabled:null==e?void 0:e.disabled,text:null!==(o=null!==(s=null==e?void 0:e.text)&&void 0!==s?s:null==v?void 0:v.buttonText)&&void 0!==o?o:"",testID:null==e?void 0:e.testID,isLoading:null==e?void 0:e.isLoading,nextButtonType:null==e?void 0:e.type,name:null==e?void 0:e.name})};return(0,n.jsxs)("div",{className:X().modalContent,children:[(0,n.jsx)(U.Z,{currentStepKey:m,visibleSteps:x,onClose:c}),(0,n.jsxs)("div",{className:X().steps,children:[(0,n.jsxs)(G.Z,{currentStepKey:m,children:[(0,n.jsx)(G.o,{children:(0,n.jsx)(et,{containerClassName:X().stepWithFooter,post:a})},ea.Nu),(0,n.jsx)(G.o,{isScrollable:!0,children:(0,n.jsx)(A.Z,{user:r,postData:a,isProgram:!1,tickets:N,availableTickets:k,canAddMoreTickets:M,onAdd:f,onRemove:D,onUpdate:C,errors:w})},ea.nn),(0,n.jsx)(G.o,{children:(0,n.jsx)(H.Z,{post:a,hold:{...E,postID:a.id},isProgram:!1,containerClassName:X().stepWithFooter,renderNextButton:z,fullRefresh:Q,onError:e=>{F((0,j.prettifyErrorMessage)(p,e))},gtagEvent:Z,fbqTrack:L,gtmPush:W},"".concat(l,"-").concat(r.id))},ea.Ss)]}),(null==v?void 0:v.showFooter)&&z()]})]})}var ex=s(93117);function eg(e){let{aliasID:t,discountCode:s}=e,i=(0,el.Qy)(e=>e.auth.user),a=(0,el.u5)(),{t:r}=(0,l.$G)(["common","helpers","postDetail"]),c=(0,o.useCallback)(async()=>{let e=await a((0,er.No)({aliasID:t,discountCode:s})),n=(0,j.getPostStatus)(e);return(n.onWaitlist||!n.canWaitlist)&&a((0,y.j_)()),e},[a,t,s]),d=(0,k.V)(c),p=(0,o.useCallback)(()=>{a((0,y.j_)())},[a]);return d.data?(0,n.jsx)(ej,{...e,user:i,post:d.data,receivedAt:d.receivedAt,dispatch:a,onClose:p,t:r}):(0,n.jsx)(en.Z,{onClose:p,children:d.error?(0,n.jsxs)("div",{className:ei().messageL,children:[(0,n.jsx)("p",{children:r("common:couldNotLoadEvent")}),(0,n.jsx)("p",{children:(0,j.prettifyErrorMessage)(r,null==d?void 0:d.error)}),(0,n.jsx)("button",{type:"button",className:"btn btn-default",onClick:d.reload,children:r("helpers:refresh")})]}):(0,n.jsx)("div",{className:ei().containerM,children:(0,n.jsx)(M.Z,{})})})}function ej(e){let{aliasID:t,discountCode:s,onClose:i}=e,a=(0,el.Qy)(e=>e.auth.user),r=(0,el.Qy)(e=>e.postDetail.list.find(e=>e.aliasID&&t&&e.aliasID.toLowerCase()===t.toLowerCase())),c=(0,el.u5)(),{t:d}=(0,l.$G)(["common","helpers"]),[p,u]=(0,o.useState)(!1),[h]=(0,ep.p)(eu.Is),m=function(e){let{t}=e;return[{key:ea.Rj,title:t("helpers:joinWaitlist"),visible:!0,buttonText:t("helpers:joinWaitlist"),showFooter:!0}]}({t:d}),{currentStepKey:v,currentStep:x,visibleSteps:g,goToPrevious:_,canGoBack:b}=(0,S.h)(m),[f,C]=(0,o.useState)(!1),D=async()=>{try{return await c((0,er.No)({aliasID:t,discountCode:s}))}catch(e){}},I=e=>{c((0,y.Ll)({content:(0,n.jsxs)("div",{className:X().errorContainer,children:[(0,n.jsx)("i",{className:"fa fa-exclamation-circle"}),(0,n.jsx)("span",{children:d("helpers:error")}),(0,j.prettifyErrorMessage)(d,e)]})}))};(0,o.useEffect)(()=>{w()},[]);let w=async()=>
3{if(p||"number"!=typeof(null==r?void 0:r.id))return;u(!0);let e={postID:r.id};try{try{let t=await (0,N.H)(e,a),s=t.flatMap(e=>"error"===e.type?e:[]);if(s.length>0&&s.length===t.length){let e=s.map(e=>{let t=r.ticketsSummary.find(t=>t.id===e.ticketClassID);return t?"- ".concat(t.title,": ").concat(e.message):e.message}),t=[d("common:cannotJoinWaitlistIneligible"),...e].join("\n\n");c((0,y.FI)([{content:(0,n.jsx)(es.Z,{title:d("helpers:error"),body:t,options:[{text:d("helpers:close")}],closeOnSelect:!0,hideModal:()=>c((0,y.j_)())})}]));return}}catch(e){(0,ex.OO)(e)}await (0,N.uZ)(e,a),k(r.id)}catch(e){u(!1),I(e)}},k=async e=>{h({type:"POST_UPDATE",payload:{postID:e}});let t=await D();if(!(null!=t?t:r)){I(Error(d("common:couldNotReloadEvent")));return}window.self!==window.top&&window.parent&&window.parent.postMessage((0,P.TK)({type:"registration-modal-registration-success",data:{type:"post",postID:e}}),"*"),C(!0)},A=e=>{var t,s,o;let i=v===ea.Rj?w:void 0;return(0,n.jsx)(T.Z,{canGoBack:b,onPrevClick:_,onNextClick:i,disabled:null==e?void 0:e.disabled,text:null!==(s=null!==(t=null==e?void 0:e.text)&&void 0!==t?t:null==x?void 0:x.buttonText)&&void 0!==s?s:"",testID:null==e?void 0:e.testID,isLoading:null!==(o=null==e?void 0:e.isLoading)&&void 0!==o?o:p,nextButtonType:null==e?void 0:e.type,name:null==e?void 0:e.name})};return(0,n.jsxs)("div",{className:X().modalContent,children:[(0,n.jsx)(U.Z,{currentStepKey:v,visibleSteps:g,onClose:i}),(null==r?void 0:r.receivedAt)?(()=>{if(!(null==r?void 0:r.receivedAt))return null;if(f){var e,t;return(0,n.jsxs)("div",{className:X().steps,children:[(0,n.jsx)(G.Z,{currentStepKey:v,children:(0,n.jsx)(G.o,{children:(0,n.jsxs)("div",{className:X().stepContent,children:[(0,n.jsx)("h5",{children:d("helpers:positionOnWaitlist",{count:(null!==(t=null===(e=r.waitlist)||void 0===e?void 0:e.usersBehind)&&void 0!==t?t:0)+1})}),!!r.waitlistAutoCancellationDateData&&(0,n.jsx)("p",{children:d("helpers:joinAutoCancelWaitlistMessage",{time:(0,j.prettifyWaitlistAutoCancellationDate)(d,{waitlistAutoCancellationDateData:r.waitlistAutoCancellationDateData,start:r.start,timeZone:r.timeZone,isOneTime:!0,activityType:"event"})})})]})},ea.Rj)}),(0,n.jsx)(T.Z,{canGoBack:!1,onNextClick:i,text:d("common:goToEvent")})]})}return(0,n.jsxs)("div",{className:X().steps,children:[(0,n.jsx)(G.Z,{currentStepKey:v,children:(0,n.jsx)(G.o,{children:(0,n.jsx)("div",{className:X().stepContent})},ea.Rj)}),(null==x?void 0:x.showFooter)&&A()]})})():(0,n.jsx)("div",{className:X().emptyContainer,children:(null==r?void 0:r.loading)?(0,n.jsx)("div",{className:ei().containerM,children:(0,n.jsx)(M.Z,{})}):!r||r.error?(0,n.jsxs)("div",{className:ei().messageL,children:[(0,n.jsx)("p",{children:d("common:couldNotLoadEvent")}),(0,n.jsx)("p",{children:(0,j.prettifyErrorMessage)(d,null==r?void 0:r.error)}),(0,n.jsx)("button",{type:"button",className:"btn btn-default",onClick:D,children:d("helpers:refresh")})]}):null})]})}var e_=s(87527),eb=s(56623),ef=s(68149),eC=s(95233),ey=s(84815),eD=s(8164),eN=s.n(eD),eI=s(88835);let ew=(0,a.$j)(e=>({cachedData:e.forwardWebRouting.pageData.joinGame,user:e.auth.user}),{showModal:C.K4,hideModal:C.VG,clearPageData:D.oq,pushModal:y.Ll,clearModals:y.j_});class eS extends o.PureComponent{componentDidMount(){let{cachedData:e,post:t}=this.props;if(e){let{postData:s,...n}=e;s&&s.aliasID===t.aliasID&&(t.going||t.requested||this._join(),this.props.clearPageData("joinGame"))}}render(){var e;let{post:t,post:{waitlist:s,hideQuantities:o,attendeesAutoJoinGroup:i,groupMemberStatus:a,ticketsSummary:l,maxAttendees:r,registeredAttendees:c,hideAttendees:d,attending:p,joinMode:u},status:m,status:{canJoin:x,canWaitlist:g,onWaitlist:_,hasReservedPosition:b,requireApproval:f,isManager:C,hasRequiredTickets:y},t:D}=this.props,{error:N,processing:I}=this.state,w=(0,j.getAttendees)(t),S="team"===t.joinMode,k=!!s&&!!s.count,P=(0,j.getNextUpcomingSaleStartDate)(l);h()(P).format("LL");let T=t.typeID===eI.PostTypeID.Program?[K().joinGameButton]:[K().joinGameButton,K().program],M=f?D("helpers:requestToJoin"):D("helpers:join"),A=M+" (".concat((0,j.prettifyTicketPriceRange)(D,l),")"),H=(0,j.generatePositionSummary)(D,t);return C&&o&&(H=(0,n.jsxs)("span",{children:[H,"\xa0\xa0",(0,n.jsx)("i",{className:"fa fa-info-circle","aria-label":D("common:onlyShownToEventManagers"),title:D("common:onlyShownToEventManagers")})]})),(0,n.jsxs)("div",{children:[S&&(0,n.jsx)("div",{className:K().expendedTickets,children:w&&w.length>0&&w.map(e=>{let t=(0,j.generateSinglePositionSummary)(D,e,k,r,c);C&&o&&(t=(0,n.jsxs)("span",{children:[t,"\xa0\xa0",(0,n.jsx)("i",{className:"fa fa-info-circle","aria-label":D("common:onlyShownToEventManagers"),title:D("common:onlyShownToEventManagers")})]}));let s=(0,j.isTicketOpen)(e),i=(0,j.isTicketOnSale)(e);return(0,n.jsxs)("div",{className:K().teamRow,children:[(0,n.jsx)("h6",{children:(0,j.prettifyPositionShort)(D,e)}),(0,n.jsxs)("div",{className:K().teamInfo,children:[(!o||C)&&(0,n.jsx)(ek,{text:t,title:e.title,attendees:e.attendees,onClick:this._showAttendeesList}),x&&s&&i&&(0,n.jsx)("button",{className:K().joinTeamButton,type:"button",onClick:()=>this._join(e),disabled:I,children:M})]})]},e.id)})}),!S&&(0,n.jsxs)("div",{children:[y&&this._renderRequiredTickets(),!y&&(!o||C)&&(0,n.jsx)("div",{className:K().attendance,children:(0,n.jsx)("div",{className:K().attendanceContainer,children:(0,n.jsx)(ek,{title:D("helpers:eventAttendees"),text:H,attendees:w,onClick:this._showAttendeesList})})}),x&&(0,n.jsxs)("div",{className:K().rowContainer,children:[b&&(0,n.jsx)("button",{type:"button",className:v()(K().declineButton,"btn btn-default"),onClick:this._confirmDeclineReservedSpot,children:D("helpers:declineSpot")}),(0,n.jsx)("button",{className:v()(...T),type:"button",onClick:()=>this._join(),disabled:I,children:A})]})]}),x&&(0,n.jsx)("div",{className:K().hoverButtonContainer,children:(0,n.jsx)("button",{type:"button",className:v()(...T),onClick:()=>this._join(),disabled:I,children:A})}),S&&b&&(0,n.jsx)("div",{className:K().buttonContainer,children:(0,n.jsx)("button",{type:"button",className:v()(K().declineButton,"btn btn-default"),onClick:this._confirmDeclineReservedSpot,children:D("helpers:declineSpot")})}),b&&(0,n.jsx)("div",{className:K().buttonContainer,children:(0,n.jsxs)("p",{children:[D("helpers:youHaveSpotReservedUntil")," ",h()(null==s?void 0:s.expiry).format("llll")]})}),x&&i&&(120===a||!a)&&(0,n.jsx)("div",{className:K().buttonContainer,children:(0,n.jsx)("p",{children:D("helpers:joiningEventAddsYouToGroup")})}),g&&(0,n.jsx)("div",{className:K().buttonContainer,children:_?(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{children:D("helpers:positionOnWaitlist",{count:(null!==(e=null==s?void 0:s.usersBehind)&&void 0!==e?e:0)+1})}),(0,n.jsx)("button",{className:v()(...T),type:"button",onClick:this._confirmLeaveWaitlist,disabled:I,children:D("helpers:leaveWaitlist")})]}):(0,n.jsx)("button",{className:v()(...T),type:"button",onClick:this._joinWaitlist,disabled:I,children:D("helpers:joinWaitlist")})}),(null==t?void 0:t.userOrders)&&(0,n.jsx)(e_.Z,{orders:null==t?void 0:t.userOrders,post:t,isActive:m.isActive,isStarted:m.isStarted,processing:I,cancel:e=>this._confirmCancelTicket(e)}),(0,n.jsx)(eM,{error:N,close:this._clearError,t:D})]})}constructor(...e){super(...e),this.state={processing:!1,error:null},this._clearError=()=>this.setState({error:null}),this._onProcessingSuccess=e=>{this.props.reload(),this.setState({processing:!1})},this._onProcessingFail=e=>{this.setState({processing:!1,error:e})},this._showAttendeesList=e=>{let{attendees:t,title:s}=e,{t:n}=this.props;t&&t.length>0&&this.props.showModal({modalLogData:{actionType:"ShowGameAttendees"},modalType:C.Qi.Custom,modalProps:{shouldCloseOnOverlayClick:!0,showCloseButton:!0,CustomComponent:w.Z,props:{users:t,t:n,title:s}}})},this._join=e=>{let{post:t,discountCode:s}=this.props;t.creatorGroupID&&this.props.pushModal({isFullScreen:!0,shouldCloseOnOverlayClick:!1,content:(0,n.jsx)(eb.Z,{AuthComponent:(0,n.jsx)(eC.Z,{preventRouteChange:!0,signupProps:{post:t}}),children:(0,n.jsx)(ef.Z,{groupID:t.creatorGroupID,children:(0,n.jsx)(ey.Z,{waiverID:t.waiverID,children:(0,n.jsx)(em,{aliasID:t.aliasID,discountCode:s,initialPosition:e,onInvite:e=>this.props.router.push("/posts/".concat(e,"/invite"))})})})})})},this._joinWaitlist=()=>{let{post:e,discountCode:t}=this.props;e.creatorGroupID&&this.props.pushModal({isFullScreen:!0,shouldCloseOnOverlayClick:!1,content:(0,n.jsx)(eb.Z,{AuthComponent:(0,n.jsx)(eC.Z,{preventRouteChange:!0,signupProps:{post:e}}),children:(0,n.jsx)(ef.Z,{groupID:e.creatorGroupID,children:(0,n.jsx)(ey.Z,{waiverID:e.waiverID,children:(0,n.jsx)(eg,{aliasID:e.aliasID,discountCode:t})})})})})},this._confirmCancelTicket=e=>{let{t,user:s}=this.props,{userOrders:o,requireInAppPayment:i,refundDeadline:a,timeZone:l,paymentType:r,creatorID:c,groupName:d}=this.props.post;if(o&&o.length>0){let p=o[0],u=i&&c!==s.id&&(p.totalPriceInCents>0||p.discountID),m=a&&new Date(a).getTime()>Date.now();this.props.showModal({modalType:C.Qi.Dialog,modalProps:{title:t("postDetail:cancelTicket"),shouldCloseOnOverlayClick:!1,body:(0,n.jsxs)("p",{children:[t("helpers:confirmCancel"),(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),u&&m&&t(r===_.PaymentTypes.direct?"helpers:cancelBeforeDeadlineCredit":"helpers:automaticRefundTimeline",{deadline:h().tz(a,l).format("LLL (z)"),groupName:d}),u&&!m&&t("helpers:manualRefundsAtOrganizerDiscretion")]}),options:[{text:t("helpers:no").toUpperCase()},{text:t("postDetail:cancelTicket").toUpperCase(),className:"btn-danger",onPress:()=>this._cancelTicket(e)}]}})}},this._cancelTicket=e=>{this.setState({processing:!0}),(0,N.sl)(e,this.props.user).then(this._onProcessingSuccess).catch(this._onProcessingFail)},this._confirmDeclineReservedSpot=()=>{let{t:e}=this.props;this.props.showModal({modalType:C.Qi.Dialog,modalProps:{title:e("helpers:declineReservedSpot"),shouldCloseOnOverlayClick:!1,body:(0,n.jsx)("div",{children:(0,n.jsx)("p",{children:e("helpers:declineWaitlistSpotExplanation")})}),options:[{text:e("helpers:cancel").toUpperCase()},{text:e("helpers:decline").toUpperCase(),className:"btn-danger",onPress:()=>this._declineReservedSpot(this.props.post)}]}})},this._declineReservedSpot=e=>{let{user:t}=this.props;if(this.state.processing||"number"!=typeof e.id)return!1;this.setState({processing:!0,error:null});let s={postID:e.id};(0,N.M_)(s,t).then(this._onProcessingSuccess).catch(this._onProcessingFail)},this._confirmLeaveWaitlist=()=>{let{t:e}=this.props;this.props.showModal({modalType:C.Qi.Dialog,modalProps:{title:e("helpers:leaveWaitlistQuestion"),shouldCloseOnOverlayClick:!1,body:(0,n.jsx)("div",{children:(0,n.jsx)("p",{children:e("postDetail:leaveWaitlistExplanation")})}),options:[{text:e("helpers:cancel").toUpperCase()},{text:e("helpers:leave").toUpperCase(),className:"btn-primary",onPress:()=>this._leaveWaitlist(this.props.post)}]}})},this._leaveWaitlist=e=>{let{user:t}=this.props;if(this.state.processing||"number"!=typeof e.id)return!1;this.setState({processing:!0,error:null});let s={postID:e.id};(0,N.ip)(s,t).then(this._onProcessingSuccess).catch(this._onProcessingFail)},this._cancelSalesNotification=()=>{this._leaveWaitlist(this.props.post)},this._notifyUpcomingSales=()=>{let{post:e,user:t}=this.props;this._join()},this._renderRequiredTickets=()=>{let{post:{waitlist:e,hideQuantities:t,ticketsSummary:s,attending:o,maxAttendees:i,registeredAttendees:a,hideAttendees:l},status:{isManager:r,hasAvailableRequiredTickets:c},t:d}=this.props,p=(0,j.getAttendees)({ticketsSummary:s,attending:o,hideAttendees:l,joinMode:"team"}),u=c&&!!e&&!!e.count;return(0,n.jsx)("div",{className:K().expendedTickets,children:p.map(e=>{let s=(0,j.generateSinglePositionSummary)(d,e,u,i,a),o=-1!==e.quantityTotal&&e.quantitySold>=e.quantityTotal;return r&&t&&(s=(0,n.jsxs)("span",{children:[s,"\xa0\xa0",(0,n.jsx)("i",{className:"fa fa-info-circle","aria-label":d("common:onlyShownToEventManagers"),title:d("common:onlyShownToEventManagers")})]})),(0,n.jsxs)("div",{className:K().teamRow,children:[(0,n.jsxs)("h6",{children:[(0,j.prettifyPositionShort)(d,e),e.requiredForOrder&&(0,n.jsx)("span",{className:v()(eN().badge,eN().leftMargin),children:d("helpers:required")})]}),(0,n.jsx)("div",{className:K().teamInfo,children:!t||r?(0,n.jsx)(ek,{text:s,title:e.title,attendees:e.attendees,onClick:this._showAttendeesList}):o&&(0,n.jsx)("div",{className:K().attendanceNames,children:d("helpers:allSpotsFilled")})})]},e.id)})})}}}let ek=e=>{let{attendees:t,text:s,onClick:o}=e;return(0,n.jsxs)("div",{className:v()(K().attendanceContainer,t.length>0&&K().clickable),onClick:()=>o(e),children:[(0,n.jsx)(eP,{attendees:t}),(0,n.jsx)("div",{className:K().attendanceNames,children:(0,n.jsx)("span",{children:s})})]})},eP=e=>{let{attendees:t,subsequentOverlapping:s,linkToProfile:o,onClick:i}=e;return(0,n.jsxs)("div",{className:v()(K().attendanceAvatars,K().clickable),onClick:i,children:[t.slice(0,5).map((e,t)=>{let i=[K().attendantAvatar];t>0&&(i.push(K().subsequentOverlapping),i.push(s));let a=v().apply(void 0,i);return(0,n.jsx)(I.Z,{rounded:!0,user:e,className:a,linkToProfile:o,quality:"low"},t)}),(0,n.jsx)(eT,{attendees:t})]})},eT=e=>{let{attendees:t}=e;return t.length>5?(0,n.jsx)(I.Z,{user:t[5],superimposedText:"+"+(t.length-5)}):null},eM=e=>{let{error:t,close:s,t:o}=e;return(0,n.jsxs)("div",{className:K().processingErrorMsg,style:{display:t?"block":"none"},children:[(0,n.jsx)("i",{className:"fa fa-exclamation-triangle","aria-hidden":"true"})," ",o("helpers:error"),": ",(0,j.prettifyErrorMessage)(o,t),(0,n.jsx)("button",{className:K().processingErrorMsgClose,type:"button","aria-label":o("helpers:dismiss"),onClick:s,children:"\xd7"})]})};var eA=ew(eS),eH=s(91728),eE=s(96524),eR=s(830),eZ=s(17254),eL=s(25357),eO=s(90596),eU=s(61721),eG=s.n(eU),eW=s(46695);function eB(e){let{t}=(0,l.$G)("helpers"),s=(0,el.Qy)(e=>e.featuredGroups.featured),o=(0,eW.y)(null==s?void 0:s[0]);return(0,n.jsxs)("div",{children:[(0,n.jsx)("h4",{className:ei().messageL,children:(0,j.prettifyErrorMessage)(t,e.loadError,t(500===e.loadError.response?"common:eventDoesntExist":"helpers:ensureInternetConnection"))}),500===e.loadError.response&&!!o&&(0,n.jsx)("div",{className:v()(eG().nextSteps,eG().center),children:(0,n.jsx)("div",{className:eG().nextStepsButtons,children:(0,n.jsx)("div",{className:v()(eG().nextStepsButton,eG().createGroup),children:(0,n.jsx)(g(),{href:o,children:t("common:discoverMoreEvents")})})})})]})}var eF=s(68869);let{helpers:{getSportName:eq}}=j.constantModule;function eV(e){var t,s,o;let i=(0,eF.Z)(null!==(s=e.post.creatorGroupID)&&void 0!==s?s:null);return(0,n.jsx)(eQ,{...e,groupFeatures:null!==(o=null==i?void 0:null===(t=i.details.metadata)||void 0===t?void 0:t.features)&&void 0!==o?o:[]})}class eQ extends o.Component{render(){var e,t,s,o,i;let a,l;let{post:r}=this.props,c="Event",d=[];r&&(c=r.title||c,a=null!==(o=(0,j.getImageURLWithRes)({photoURL:r.headerMediaURL,quality:"medium"}))&&void 0!==o?o:void 0,l=r.description,(null===(s=r.place)||void 0===s?void 0:null===(t=s.latlng)||void 0===t?void 0:t.latitude)&&d.push({name:"geo.position",content:r.place.latlng.latitude+","+r.place.latlng.longitude})),d.push({property:"al:android:url",content:"https://opensports.net/posts/"+r.aliasID}),d.push({property:"al:ios:url",content:"opensports://posts/"+r.aliasID}),r.isPublic||(d.push({name:"robots",content:"noindex, nofollow"}),d.push({name:"contentVisibility",content:"private"}));let p=this.props.basePath+"/"+r.aliasID,u=(0,b.aV)(r,p),h=(0,f.x)((0,j.getImageURLWithRes)({photoURL:r.groupPhotoURL,quality:"low"})),m=(0,Q.iH)(l),v=(0,f.D)({description:m,image:a,title:c,meta:d,scripts:[u],groupName:r.groupName,links:h});return(0,n.jsxs)("div",{className:eN().section,children:[v,(0,n.jsxs)("div",{className:eN().container+" "+K().gameContainer,children:[r&&r.error&&!r.receivedAt&&(0,n.jsx)(eB,{loadError:{response:null!==(i=null===(e=r.error)||void 0===e?void 0:e.response)&&void 0!==i?i:200}}),!(null==r?void 0:r.receivedAt)&&(null==r?void 0:r.loading)&&(0,n.jsx)("div",{className:ei().containerL,children:(0,n.jsx)(M.Z,{})}),!!(null==r?void 0:r.receivedAt)&&this._renderPost(r)]})]})}constructor(...e){super(...e),this._renderPost=e=>{var t,s,o,i,a,l,r,c;let{isValidatedUser:d,user:p,discountCode:u,gameChat:m,cancelGame:x,deleteGame:b,cancelWaitlist:f,repeatGame:C,viewWaiver:y,reload:D,status:N,router:I,t:
3w}=this.props,S=(0,j.getStartEndDateTimes)(e.start,e.end,e.timeZone),{canCancel:k,canDelete:P,isAdmin:T,isManager:M,canInvite:A,canEdit:H,canRepeat:E,canMessage:R,canManageUsers:Z,canCheckin:L,isFilled:O,canJoin:U,registrationAvailable:G}=N,W=M&&e.waitlist&&e.waitlist.count>0&&G,B=N.canManageUsers,F=e.going||B||e.isPublic,z=e.userAdminRoles&&e.userAdminRoles.some(e=>"group_admin"===e.role),J=null===(t=e.userAdminRoles)||void 0===t?void 0:t.some(t=>t.groupID===e.creatorGroupID&&["event_admin","group_admin"].includes(t.role)),Y=d&&e.waiverID&&(e.waiverRevisionID!==e.waiverRevisionUserID||e.going||e.requested),X=!!e.creatorGroupID&&e.paymentType===_.PaymentTypes.direct,ee=w(e.isPublic?"helpers:publicEvent":e.isSecret?"helpers:secretEvent":"helpers:privateEvent"),et=e.discounts?e.discounts[0]:void 0,es=et&&this.props.discountCode===et.code&&U,en=this.props.groupFeatures.includes("eventBulkAddAttendees"),eo=!en&&J&&e.creatorGroupID&&!O,ei=en&&J&&e.creatorGroupID&&!(0,j.getRegistrationPostStatus)({...e,ticketsSummary:e.ticketsSummary.map(e=>({...e,salesStart:null,salesEnd:null}))}).isFilled,ea=3310===e.creatorGroupID?"/posts/".concat(e.aliasID,"/add-attendee-beta"):"/posts/".concat(e.aliasID,"/add-attendee");return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:K().postPicture,children:(0,n.jsx)(eZ.Z,{src:e.headerMediaURL,className:K().gameImage,useSrcSet:!0,displayQuality:"high"})}),(0,n.jsxs)("div",{className:K().gameContainerSpacing,children:[(0,n.jsxs)("div",{className:K().detailsLeft,children:[(0,n.jsxs)("div",{className:K().title,children:[(0,n.jsx)("h5",{className:K().featuredGame,children:w("postDetail:featuredEvent")}),(0,n.jsx)(ez,{post:e,status:N,title:e.title,t:w}),es&&et&&(0,n.jsx)(eO.Z,{discount:et}),(0,n.jsxs)("div",{className:"flex gap-2 flex-wrap",children:[z&&(0,n.jsx)(g(),{href:"/[aliasID]/admin/settings/connect",as:"/".concat(e.groupAliasID,"/admin/settings/connect"),className:"btn btn-default btn-sm",children:w("postDetail:paymentSetup")}),H&&(0,n.jsx)(g(),{href:"/posts/[aliasID]/edit",as:"/posts/".concat(e.aliasID,"/edit"),className:"btn btn-default btn-sm",children:w("helpers:editEvent")}),k&&(0,n.jsx)("span",{className:"btn btn-default btn-sm",onClick:x,"data-testid":"cancel-btn",children:w("helpers:cancelEvent")}),P&&(0,n.jsx)("span",{className:"btn btn-default btn-sm",onClick:b,"data-testid":"delete-btn",children:w("helpers:delete")}),E&&(0,n.jsx)(g(),{href:"/posts/new?groupAliasID=".concat(e.groupAliasID),className:"btn btn-default btn-sm",onClick:C,children:w("helpers:repeat")}),!!W&&(0,n.jsx)("span",{className:"btn btn-default btn-sm",onClick:f,children:w("helpers:cancelWaitlist")}),d&&A&&(0,n.jsx)(g(),{href:"/posts/[aliasID]/invite",as:"/posts/".concat(e.aliasID,"/invite"),className:"btn btn-default btn-sm",children:w("helpers:invite")}),Z&&(0,n.jsx)(g(),{href:"/posts/[aliasID]/manage",as:"/posts/".concat(e.aliasID,"/manage"),className:"btn btn-default btn-sm",children:w("helpers:manageUsers")}),L&&(0,n.jsx)(g(),{href:"/posts/[aliasID]/attendees",as:"/posts/".concat(e.aliasID,"/attendees"),className:"btn btn-default btn-sm",children:w("helpers:checkin")}),T&&(0,n.jsx)(g(),{href:"/posts/[aliasID]/roles",as:"/posts/".concat(e.aliasID,"/roles"),className:"btn btn-default btn-sm",children:w("helpers:adminRoles")}),eo&&(0,n.jsx)(g(),{href:ea,className:"btn btn-default btn-sm",children:w("postDetail:addAttendee")}),ei&&(0,n.jsx)(g(),{href:"/posts/".concat(e.aliasID,"/add-attendee-bulk"),className:"btn btn-default btn-sm",children:w("postDetail:addAttendees")}),Y&&(0,n.jsx)("div",{className:v()("btn-group",K().waiverBtn),children:(0,n.jsx)("button",{type:"button",className:"btn btn-default btn-sm",onClick:y,children:w(e.waiverRevisionUserID&&e.waiverRevisionID!==e.waiverRevisionUserID?"postDetail:signWaiver":"postDetail:viewWaiver")})}),R&&(0,n.jsx)("div",{className:v()("btn-group",K().waiverBtn),children:(0,n.jsx)("button",{type:"button",className:"btn btn-default btn-sm",onClick:m,"data-testid":"chat-btn",children:w("helpers:eventChat")})})]}),(0,n.jsxs)("div",{className:K().schedule,children:[(0,n.jsx)("span",{children:S.isMultiDay?"".concat(S.start," - ").concat(S.end):"".concat(S.date," ").concat(S.time)}),(0,n.jsx)("span",{children:S.timeZone&&" (".concat(S.timeZone,")")}),"\xa0 ⢠\xa0",eq(w,e)," ⢠\xa0",ee]}),(0,n.jsx)(eR.Z,{t:w,post:e,postDetails:{type:"event",id:e.id,aliasID:e.aliasID,title:e.title},signupForwardData:{description:w("postDetail:messageEventOrganizer",{title:e.title}),postPage:{href:"/posts/[aliasID]",as:"/posts/".concat(e.aliasID)}}}),(0,n.jsx)(eE.Z,{post:e})]}),(0,n.jsx)($,{post:e,showTime:!0,containerStyle:K().iconsContainer,t:w}),e.description&&(0,n.jsx)("div",{style:{paddingTop:"20px"},children:(0,n.jsx)(Q.ZP,{text:e.description})}),e.tags&&e.tags.length>0&&(0,n.jsxs)("div",{className:K().tags,children:[w("helpers:tags"),"\xa0",e.tags.map(e=>(0,n.jsx)("span",{className:eN().tag,children:e},e))]}),(0,n.jsx)(eA,{post:e,status:N,discountCode:u,t:w,reload:D,router:I}),e.refundDeadline?(0,n.jsxs)("div",{className:K().refundMessage,children:[w("helpers:cancellationDeadlineColonDate",{date:h().tz(e.refundDeadline,e.timeZone).format("LLL (z)")}),(0,n.jsx)("p",{className:K().small,children:w(X?"helpers:cancellationDeadlineDirectDesc":"helpers:cancellationDeadlineDestinationDesc",e)})]}):(0,n.jsx)("p",{className:K().refundMessage,children:w(e.paymentType===_.PaymentTypes.direct?"helpers:manualCreditAtOrganizerDiscretion":"helpers:manualRefundsAtOrganizerDiscretion")}),F&&(0,n.jsx)("div",{className:K().section,children:(0,n.jsx)(eL.Z,{data:null!==(r=e.media)&&void 0!==r?r:null,titleClass:K().photosTitle,enableUpload:B,onUploaded:this.props.uploadMedia,onAdd:this.props.updatePostWithMedia,deletePhoto:this.props.deletePhoto,user:p,isManager:N.canManageUsers,loadMedia:this.props.loadMedia,caption:e.title})})]}),e.place&&(0,n.jsxs)("div",{className:K().detailsRight,children:[(0,n.jsx)(V.Z,{title:null!==(c=null===(s=e.place)||void 0===s?void 0:s.title)&&void 0!==c?c:void 0,lat:null===(i=e.place)||void 0===i?void 0:null===(o=i.latlng)||void 0===o?void 0:o.latitude,lng:null===(l=e.place)||void 0===l?void 0:null===(a=l.latlng)||void 0===a?void 0:a.longitude}),(0,n.jsx)("div",{className:"text-base font-thin",children:(0,n.jsx)(q,{post:e})})]})]})]})}}}let ez=e=>{let{post:t,status:s,title:o,t:i}=e,{creatorGroupID:a,groupName:l,groupAliasID:r}=t,c=!!(a&&l),d=t.userAdminRoles&&t.userAdminRoles.some(e=>"group_admin"===e.role);return(0,n.jsxs)("div",{className:K().postTitle,children:[c&&(0,n.jsx)("div",{className:"btn-toolbar",children:(0,n.jsx)(g(),{href:"/[aliasID]",as:"/".concat(r),className:v()("btn btn-sm",K().groupLink),role:"group",children:l})}),(0,n.jsxs)("h3",{children:[(0,n.jsx)(eH.Z,{post:t,className:K().status,t:i}),o]}),(s.isCancelled||d)&&(0,n.jsx)(eK,{post:t,status:s,t:i})]})},eK=e=>{let{post:t,status:s,t:o}=e;if(s.isCancelled){let e=t.data&&t.data.cancelMessage||o("postDetail:cancelledByOrganizer");return(0,n.jsx)("div",{className:v()(K().alert,K().cancelled),children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:K().status,children:o("postDetail:eventCancelled")}),(0,n.jsxs)("p",{children:[" ",e]})]})})}return s.isPending&&t.stripeConnectID?(0,n.jsx)("div",{className:v()(K().alert,K().pe
3nding),children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:K().status,children:o("postDetail:eventPending")}),(0,n.jsx)("p",{children:o("postDetail:eventUnderReview")})]})}):s.isPending?(0,n.jsxs)("div",{className:v()(K().alert,K().pending),children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:K().status,children:o("postDetail:eventPending")}),(0,n.jsx)("p",{children:o("postDetail:connectBankAccountToActivate")})]}),(0,n.jsx)(g(),{href:"/[aliasID]/admin/settings/connect",as:"/".concat(t.groupAliasID,"/admin/settings/connect"),className:"btn btn-primary btn-sm",children:o("postDetail:setupPayment")})]}):null};var eJ=s(88340),e$=s(70746),eY=s.n(e$);class eX extends o.Component{render(){let{hideModal:e,onRequestClose:t,t:s}=this.props,{processing:o,error:i}=this.state;return(0,n.jsxs)("div",{className:eY().dialog,children:[(0,n.jsx)(eJ.Z,{title:s("helpers:cancelWaitlistQuestion"),body:(0,n.jsx)("p",{children:s("helpers:cancelWaitlistExplanation")}),options:[{text:s("helpers:cancel").toUpperCase(),onPress:t},{text:s("helpers:cancelWaitlist").toUpperCase(),className:"btn-danger",onPress:this._cancelWaitlist,disabled:o,isLoading:o}],hideModal:e,closeOnSelect:!1}),this.state.error&&(0,n.jsx)("div",{className:eY().dialogBody,children:(0,n.jsx)("p",{className:K().processingErrorMsg,children:(0,j.prettifyErrorMessage)(s,i)})})]})}constructor(...e){super(...e),this.state={processing:!1,error:null},this._cancelWaitlist=()=>{let{postID:e,user:t,reload:s,hideModal:n}=this.props;this.setState({processing:!0}),(0,N.KP)(e,t).then(()=>{s(),n()}).catch(e=>this.setState({error:e,processing:!1}))}}}var e0=s(51323),e1=s(59116),e4=s(25834);let{PostDetail:{updateMediaSuccess:e2,removeMediaSuccess:e8,updatePostDetail:e5},Notifications:{dismissNotification:e6}}=eI.ActionCreators,e9={cachePageData:D.YU,showModal:C.K4,pushModal:y.Ll,clearModals:y.j_,updateMediaSuccess:e2,removeMediaSuccess:e8,updatePostDetail:e5,dismissNotification:e6,facebookLoginSuccess:e1.facebookLoginSuccess},e7=(0,a.$j)(null,e9),e3=["postDetail","event","form","common","helpers","login","staffAssignments","program","plan","discount"];class te extends o.Component{static async getInitialProps(e){let{query:{aliasID:t,discountCode:s},store:{dispatch:n,getState:o}}=e;if(t){let e=async()=>{let{postDetail:e}=o(),i=e.list.find(e=>e.aliasID&&t&&e.aliasID.toLowerCase()===t.toLowerCase()),a=i&&i.receivedAt,l=await n((0,er.No)({aliasID:t,discountCode:s}));if(!a){let{auth:e}=o();(0,e4.isValidatedUser)(e)&&n(e6({typeID:2,objectTypeID:1,objectID:l.id}))}};await (0,b.uR)(e)}return{namespacesRequired:e3,name:"GameDetail",showBannerFooter:!1,showCustomNavbar:!0,postAliasID:t,discountCode:s}}componentDidMount(){this.props.post&&this.props.post.receivedAt&&this._dismissNotification(),this.props.discountCode||this._loadPostWithDiscount()}componentDidUpdate(e){var t,s;let n=null===(t=e.post)||void 0===t?void 0:t.creatorGroupID,o=null===(s=this.props.post)||void 0===s?void 0:s.creatorGroupID;this.state.discountCode||n||!o||this._loadPostWithDiscount()}render(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tt,{post:this.props.post}),(0,n.jsx)(ts,{post:this.props.post}),(0,n.jsx)(eV,{...this.props,discountCode:this.state.discountCode,gameChat:this._gameChat,viewWaiver:this._viewWaiver,cancelGame:this._cancelGame,deleteGame:this._deleteGame,cancelWaitlist:this._confirmCancelWaitlist,repeatGame:this._repeatGame,uploadMedia:this._uploadMedia,updatePostWithMedia:this._updatePostWithMedia,deletePhoto:this._deletePhoto,loadMedia:this._loadAllMedia,reload:this._reload})]})}constructor(e){super(e),this._loadPostWithDiscount=()=>{var e,t,s;if(!(null===(e=this.props.post)||void 0===e?void 0:e.creatorGroupID))return;let{discountCode:n}=null!==(s=null===(t=(0,b.c_)())||void 0===t?void 0:t[this.props.post.creatorGroupID])&&void 0!==s?s:{};n&&(this.setState({discountCode:n.value}),this.props.loadOnePost({aliasID:this.props.postAliasID,discountCode:n.value}))},this._dismissNotification=()=>{this.props.post.id&&this.props.isValidatedUser&&this.props.dismissNotification({typeID:2,objectTypeID:1,objectID:this.props.post.id})},this._cancelGame=()=>{let{id:e,title:t,paymentType:s}=this.props.post;this.props.pushModal({shouldCloseOnOverlayClick:!1,isFullScreen:!0,content:(0,n.jsx)(d.Z,{postID:e,eventTitle:t,canRefund:this.props.status.canRefund&&s===eI.PaymentTypes.direct,user:this.props.user,onSuccess:()=>{this.props.clearModals(),this._reload()}})})},this._deleteGame=()=>{let e=this.props.post.id;this.props.pushModal({shouldCloseOnOverlayClick:!1,isFullScreen:!0,content:(0,n.jsx)(p.Z,{postID:e,user:this.props.user,onSuccess:()=>{this.props.clearModals(),this._navigateToMyGames()}})})},this._viewWaiver=()=>{let{post:e}=this.props,{waiverID:t}=e;this.props.pushModal({isFullScreen:!0,shouldCloseOnOverlayClick:!0,content:(0,n.jsx)(e0.Z,{waiverID:null!=t?t:null,onRequestClose:this.props.clearModals,onSignSuccess:this._onSignWaiverSuccess})})},this._onSignWaiverSuccess=()=>{this._reload(),this.props.clearModals()},this._reload=()=>{let{aliasID:e}=this.props.router.query;return this.props.loadOnePost({aliasID:e,discountCode:this.state.discountCode})},this._navigateToMyGames=()=>i.Z.replace("/my-activities"),this._gameChat=()=>{this.props.isValidatedUser&&this.props.post.connectionID&&(0,r.B_)({connectionID:this.props.post.connectionID})},this._getMessageData=e=>{let{id:t,aliasID:s,title:n,headerMediaURL:o}=e;if(t&&s&&n)return{post:[{id:t,aliasID:s,headerMediaURL:o,title:n}]}},this._repeatGame=()=>{let e={...(0,j.createRepeatGame)(this.props.post),incomplete:!0};this.props.cachePageData("createGame",e)},this._uploadMedia=e=>(0,N.X9)({postID:this.props.post.id,url:e,type:"photo"},this.props.user),this._updatePostWithMedia=(e,t)=>{let s={id:e,url:t,type:"image",userID:this.props.user.id,firstName:this.props.user.firstName,lastName:this.props.user.lastName};this.props.updateMediaSuccess(this.props.post.id,s)},this._deletePhoto=e=>{let{t,post:s,user:o}=this.props;return new Promise((i,a)=>{this.props.showModal({modalType:C.Qi.Dialog,modalProps:{title:t("common:deletePhotoQuestion"),shouldCloseOnOverlayClick:!1,body:(0,n.jsx)("p",{children:t("common:deletePhotoQuestionLong")}),options:[{text:t("helpers:no").toUpperCase(),onPress:a},{text:t("helpers:yes").toUpperCase(),className:"btn-danger",onPress:()=>(0,N.mo)({mediaID:e.id,postID:s.id},o).then(()=>{this.props.removeMediaSuccess(s.id,e),i()}).catch(a)}]}})})},this._loadAllMedia=()=>{(0,N.KJ)(this.props.post.id,this.props.user).then(e=>{this.props.updatePostDetail(Object.assign(this.props.post,{media:{...this.props.post.media,total:e.length,items:e.reverse()}}))}).catch(()=>{})},this._confirmCancelWaitlist=()=>{let e=this.props.post.id;this.props.showModal({modalLogData:{actionType:"CancelWaitlist",data:{postID:e}},modalType:C.Qi.Custom,modalProps:{shouldCloseOnOverlayClick:!1,CustomComponent:eX,props:{reload:this._reload,user:this.props.user,postID:e,t:this.props.t}}})},this.state={discountCode:e.discountCode}}}function tt(e){var t,s;let n=(0,ec.sZ)(null===(t=e.post)||void 0===t?void 0:t.googleTrackingID,null===(s=e.post)||void 0===s?void 0:s.embedGoogleTrackingID);return(0,o.useEffect)(()=>{n&&e.post&&n("view_item",(0,ec.sR)(e.post))},[n,e.post]),null}function ts(e){var t;let s=(0,ed.zR)(null===(t=e.post)||void 0===t?void 0:t.facebookPixelID);return(0,o.useEffect)(()=>{s&&e.post&&s("ViewContent",(0,ed.ek)(e.post))},[s,e.post]),null}
3var tn=(0,l.Zh)(e3)((0,c.i)(e7(te)))},25357:function(e,t,s){"use strict";s.d(t,{Z:function(){return g}});var n=s(85893),o=s(67294),i=s(93967),a=s.n(i),l=s(41484),r=s(17254),c=s(12854),d=s(22972),p=s(21427),u=s(47782),h=s(40603),m=s.n(h);function v(e){let{images:t,isOpen:s,currentIndex:i,title:a,closeLabel:l,deleteLabel:r,nextLabel:h,previousLabel:v,onClose:x,onDelete:g,onSelect:j}=e,_=(0,o.useRef)(null),b=(0,o.useRef)(null),f=(0,o.useRef)(null),C=t[i],y=i>0,D=i<t.length-1;return((0,o.useEffect)(()=>{var e;s&&(null===(e=f.current)||void 0===e||e.scrollIntoView({block:"nearest",inline:"center"}))},[i,s]),C)?(0,n.jsx)(c.fC,{modal:!1,open:s,onOpenChange:e=>{e||x()},children:(0,n.jsxs)(c.h_,{children:[(0,n.jsx)("div",{"aria-hidden":"true",className:m().lightboxOverlay,onClick:x}),(0,n.jsxs)(c.VY,{"aria-describedby":void 0,className:m().lightboxContent,onKeyDown:e=>{"ArrowLeft"===e.key&&y?(e.preventDefault(),j(i-1)):"ArrowRight"===e.key&&D&&(e.preventDefault(),j(i+1))},onInteractOutside:e=>{e.preventDefault()},onOpenAutoFocus:e=>{var t;b.current=document.activeElement instanceof HTMLElement?document.activeElement:null,e.preventDefault(),null===(t=_.current)||void 0===t||t.focus()},onCloseAutoFocus:e=>{var t;e.preventDefault(),null===(t=b.current)||void 0===t||t.focus(),b.current=null},children:[(0,n.jsx)(c.Dx,{className:m().visuallyHidden,children:a}),(0,n.jsxs)("div",{className:m().lightboxToolbar,children:[g&&(0,n.jsx)("button",{type:"button",className:m().lightboxDeleteButton,onClick:g,children:r}),(0,n.jsx)(c.x8,{asChild:!0,children:(0,n.jsx)("button",{ref:_,type:"button",className:m().lightboxCloseButton,"aria-label":l,title:"".concat(l," (Esc)"),children:(0,n.jsx)(d.Z,{"aria-hidden":"true"})})})]}),(0,n.jsxs)("div",{className:m().lightboxStage,children:[y&&(0,n.jsx)("button",{type:"button",className:m().lightboxPreviousButton,"aria-label":v,title:"".concat(v," (â)"),onClick:()=>j(i-1),children:(0,n.jsx)(p.Z,{"aria-hidden":"true"})}),(0,n.jsx)("button",{type:"button",className:m().lightboxImageButton,"aria-label":D?"".concat(h,": ").concat(C.alt):C.alt,disabled:!D,onClick:()=>j(i+1),children:(0,n.jsx)("img",{className:m().lightboxImage,src:C.src,srcSet:C.srcSet,sizes:C.srcSet?"100v
3w":void 0,alt:C.alt},C.id)}),D&&(0,n.jsx)("button",{type:"button",className:m().lightboxNextButton,"aria-label":h,title:"".concat(h," (â)"),onClick:()=>j(i+1),children:(0,n.jsx)(u.Z,{"aria-hidden":"true"})})]}),(0,n.jsxs)("div",{className:m().lightboxFooter,children:[(0,n.jsx)("div",{className:m().lightboxCaption,children:C.caption}),(0,n.jsxs)("div",{className:m().lightboxCount,children:[i+1," / ",t.length]})]}),(0,n.jsx)("div",{className:m().lightboxThumbnails,role:"group","aria-label":a,children:t.map((e,t)=>(0,n.jsx)("button",{ref:t===i?f:void 0,type:"button",className:m().lightboxThumbnailButton,"aria-label":"".concat(e.alt," ").concat(t+1),"aria-current":t===i?"true":void 0,onClick:()=>j(t),children:(0,n.jsx)("img",{src:e.thumbnail,alt:""})},e.id))})]})]})}):null}class x extends o.PureComponent{render(){let{data:e,cardClass:t,enableUpload:s,deletePhoto:o,isManager:i,user:l,t:c}=this.props,d=e&&e.items||[];if(!s&&0===d.length)return null;let{isOpen:p,currentImage:u}=this.state,h=s?8:9,x=d.slice(0,h),g=Math.max(0,Math.min(u,d.length-1)),j=d[g],_=l&&j&&l.id===j.userID,b=d.map(e=>({id:e.id,src:"".concat(e.url,"/media_2000w.jpg"),thumbnail:"".concat(e.url,"/media_200w.jpg"),srcSet:["".concat(e.url,"/media_200w.jpg 200w"),"".concat(e.url,"/media_500w.jpg 500w"),"".concat(e.url,"/media_1000w.jpg 1000w"),"".concat(e.url,"/media_2000w.jpg 2000w")].join(", "),alt:e.title||this.props.caption||c("form:eventPhoto"),caption:this._constructCaption(e)}));return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,n.jsx)("h4",{children:c("helpers:photos")}),d.length>h&&(0,n.jsx)("a",{onClick:this._seeAll,children:c("helpers:seeAll")})]}),(0,n.jsx)("div",{className:t,children:(0,n.jsxs)("div",{className:m().photos,children:[s&&(0,n.jsx)("div",{className:m().photoContainer,children:(0,n.jsx)(r.Z,{className:a()(m().preview,m().imageField),enableUpload:!0,disableCropping:!0,title:c("form:uploadEventPhotos"),displayQuality:"low",uploadBucket:"posts",onUploaded:this.props.onUploaded,onAdd:this.props.onAdd,multiple:!0,minWidth:1e3})}),x.map((e,t)=>(0,n.jsx)("div",{className:m().photoContainer,children:(0,n.jsx)("button",{type:"button",title:c("form:eventPhoto"),"aria-label":e.title||this.props.caption||c("form:eventPhoto"),className:m().thumbnailContainer,onClick:()=>this._openLightBox(t),children:(0,n.jsx)("img",{className:m().thumbnail,src:"".concat(e.url,"/media_200w.jpg"),srcSet:["".concat(e.url,"/media_200w.jpg 200w"),"".concat(e.url,"/media_500w.jpg 500w"),"".concat(e.url,"/media_1000w.jpg 1000w")].join(", "),sizes:"33vw",alt:""})})},e.id)),(0,n.jsx)(v,{images:b,isOpen:!!(j&&p),currentIndex:g,title:c("helpers:photos"),closeLabel:c("helpers:close"),deleteLabel:c("helpers:delete"),nextLabel:c("helpers:next"),previousLabel:c("helpers:back"),onClose:this._closeLightBox,onDelete:o&&(i||_)?this._deleteCurrentImage:void 0,onSelect:this._gotoImage})]})})]})}constructor(...e){super(...e),this.state={isOpen:!1,currentImage:0},this._openLightBox=e=>{var t;this.setState({isOpen:!0,currentImage:e}),(null===(t=this.props.data)||void 0===t?void 0:t.total)&&this.props.data.total>this.props.data.items.length&&this.props.loadMedia&&this.props.loadMedia()},this._closeLightBox=()=>this.setState({isOpen:!1,currentImage:0}),this._gotoImage=e=>this.setState({currentImage:e}),this._deleteCurrentImage=()=>{let{currentImage:e}=this.state;if(!this.props.data)return;let t=this.props.data.items[e];t&&this.props.deletePhoto&&this.props.deletePhoto(t).then(()=>{let e=Math.min(this.props.data?this.props.data.items.length-1:0,this.state.currentImage);this.setState({currentImage:e})}).catch(e=>console.log("deletephoto failed",e))},this._seeAll=()=>{this._openLightBox(0)},this._constructCaption=e=>{let t=e.title||this.props.caption;return t?this.props.onCaptionClick?(0,n.jsx)("button",{className:"btn btn-link",onClick:()=>this._onCaptionClick(e),children:t}):t:null},this._onCaptionClick=e=>{this.setState({isOpen:!1},()=>{var t,s;return null===(t=(s=this.props).onCaptionClick)||void 0===t?void 0:t.call(s,e)})}}}var g=(0,l.Zh)(["form","common","helpers"])(x)},51974:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var n=s(85893);s(67294);var o=s(17196),i=s(93117),a=s(41484);function l(e){let{post:t,user:s,className:l,typeID:r}=e,c=!!t.going,{t:d}=(0,a.$G)(["common","event"]);return(0,n.jsxs)("div",{style:{display:"flex",gap:"8px"},children:[(0,n.jsx)("a",{className:null!=l?l:"btn btn-default",target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,i.Kz)("AddGameToCalendar",{type:"google"},s),href:(0,o.T$)(d,t,r),children:d("event:googleCal")}),(0,n.jsx)("a",{className:null!=l?l:"btn btn-default",onClick:()=>(0,i.Kz)("AddGameToCalendar",{type:"ics"},s),href:(0,o.nJ)(d,t,c,r),children:d("event:iCal")})]})}},89491:function(e,t,s){"use strict";s.d(t,{Z:function(){return _}});var n=s(85893),o=s(67294),i=s(93967),a=s.n(i),l=s(41484),r=s(3828
36),c=s(56989),d=s(48452),p=s(86153),u=s(51823),h=s(70746),m=s.n(h),v=s(44177),x=s(61570);let g=[{value:200,label:"Refund all Attending Orders"},{value:300,label:"Refund all Cancelled Orders"},{value:500,label:"Refund all Removed Orders"}],j={200:"Attending orders",300:"Cancelled orders",500:"Removed orders"};function _(e){let{t}=(0,l.$G)(["helpers","common"]),s=(0,d.u5)(),[i,h]=(0,o.useState)(""),[_,b]=(0,o.useState)(e.canRefund?[200,300,500]:[]),[f,C]=(0,o.useState)(!1),y=e=>{s((0,p.b0)((0,c.prettifyErrorMessage)(t,e,"Could not cancel event.")))},D=(0,v.Z)({apiCallFnCreator:t=>s=>(0,r.XH)(s,e.user,{"recaptcha-token":t.recaptchaToken,"recaptcha-version":t.recaptchaVersion}),action:x.RECAPTCHA_ACTION.EventCancel,errMsg:t("helpers:fieldRequired",{field:"reCAPTCHA"}),sentryLogKey:"cancelEvent"}),N=async()=>{var o,a;if(f)return;let l={postID:e.postID};if(i&&(l.message=i),e.canRefund&&_.length&&(l.orderStatusesToRefund=_),!await (0,p.SR)(t,s,{title:"Cancel Event",body:(o={eventTitle:e.eventTitle,statusesToRefund:l.orderStatusesToRefund},(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"You are about to cancel the following event:"}),(0,n.jsx)("ul",{children:(0,n.jsx)("li",{children:o.eventTitle})}),!!(null===(a=o.statusesToRefund)||void 0===a?void 0:a.length)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"And fully refund any amount paid back to account credit to all users with:"}),(0,n.jsx)("ul",{children:o.statusesToRefund.map(e=>(0,n.jsx)("li",{children:j[e]},e))})]}),(0,n.jsxs)("p",{children:["If you cancel this event, you ",(0,n.jsx)("b",{children:"cannot un-cancel it"}),", and users will not be able to register for it any more."]})]})),confirmationText:_.length>0?"cancel event and refund":"cancel event",buttonText:"I am sure I want to cancel this event."}))return;C(!0);let r=await D(l);r.success?e.onSuccess():(y(r.err),C(!1))};return(0,n.jsxs)("div",{className:m().viewModal,children:[(0,n.jsx)("div",{className:m().header,children:t("helpers:cancelEvent")}),(0,n.jsx)("div",{className:m().body,children:(0,n.jsxs)("div",{children:[e.canRefund&&(0,n.jsx)(u.Z,{type:"checkboxGroup",name:"statuses",label:"Do you want to issue refunds to account credit upon cancelling the event?",options:g,value:_,onChange:b}),(0,n.jsx)(u.Z,{type:"text",name:"message",label:t("helpers:cancelEventReason"),disabled:f,value:i,onChange:h})]})}),(0,n.jsxs)("div",{className:a()(m().footer,m().buttonsContainer),children:[(0,n.jsx)("button",{className:"btn btn-default btn-sm",type:"button",onClick:()=>s((0,p.j_)()),children:t("helpers:cancel")}),(0,n.jsx)("button",{className:"btn btn-danger btn-sm",type:"button",onClick:N,children:t("helpers:cancelEvent")})]})]})}},67029:function(e,t,s){"use strict";s.d(t,{Z:function(){return m}});var n=s(85893),o=s(67294),i=s(93967),a=s.n(i),l=s(41484),r=s(38286),c=s(56989),d=s(48452),p=s(86153),u=s(70746),h=s.n(u);function m(e){let{t}=(0,l.$G)(["helpers","common"]),s=(0,d.u5)(),[i,u]=(0,o.useState)(!1),m=e=>{s((0,p.b0)((0,c.prettifyErrorMessage)(t,e,t("common:deleteEventError"))))},v=async()=>{if(!i){u(!0);try{await (0,r.fR)(e.postID,e.user),e.onSuccess()}catch(e){u(!1),m(e)}}};return(0,n.jsxs)("div",{className:h().dialogModal,children:[(0,n.jsx)("div",{className:h().header,children:t("helpers:delete")}),(0,n.jsx)("div",{className:h().body,children:t("helpers:confirmDeleteEventQuestion")}),(0,n.jsxs)("div",{className:a()(h().footer,h().buttonsContainer),children:[(0,n.jsx)("button",{className:"btn btn-default btn-sm",type:"button",onClick:()=>s((0,p.j_)()),children:t("helpers:cancel")}),(0,n.jsx)("button",{className:"btn btn-danger btn-sm",type:"button",onClick:v,children:t("helpers:delete")})]})]})}},37142:function(e,t,s){"use strict";s.d(t,{i:function(){return x}});var n=s(85893),o=s(67294),i=s(2664),a=s(95714),l=s(87198),r=s(25834),c=s(56989),d=s(17196),p=s(68356),u=s(88835);let h=(0,i.$j)((e,t)=>{let s=e.postDetail.list.find(e=>e.aliasID&&t.router.query.aliasID&&e.aliasID.toLowerCase()===t.router.query.aliasID.toLowerCase())||{aliasID:t.router.query.aliasID,loading:!0};return{user:e.auth.user,serverHeaders:e.serverHeaders,post:s}},e=>({dispatch:e,...(0,p.DE)({loadOnePost:l.No},e)}));class m extends o.Component{componentDidMount(){var e,t;((null===(e=this.props.post)||void 0===e?void 0:e.typeID)===u.PostTypeID.Program||(null===(t=this.props.post)||void 0===t?void 0:t.typeID)===u.PostTypeID.Class)&&this._redirectToProgramSession(this.props.post)}componentDidUpdate(e){var t,s,n;(null===(t=e.post)||void 0===t?void 0:t.typeID)||(null===(s=this.props.post)||void 0===s?void 0:s.typeID)!==u.PostTypeID.Program&&(null===(n=this.props.post)||void 0===n?void 0:n.typeID)!==u.PostTypeID.Class||this._redirectToProgramSession(this.props.post)}render(){let{user:e,post:t,serverHeaders:s,dispatch:n,loadOnePost:i}=this.props,a=!!(e&&e.tags&&e.tags.includes("osTeamOnly")),l="https://opensports"+(0,d.f6)(s.host),p=(0,r.isValidatedUser)(this.props),u=(0,c.getPostStatus)(t,e);return o.cloneElement(this.props.children,{isOSTeam:a,basePath:l,user:e,post:t,status:u,dispatch:n,loadOnePost:i,isValidatedUser:p,serverHeaders:s})}constructor(...e){super(...e),this._redirectToProgramSession=e=>{let t="/".concat(e.typeID===u.PostTypeID.Program?"programs":"sessions","/").concat(e.aliasID);a.Z.replace(t)}}}let v=h(m),x=e=>{let t=t=>(0,n.jsx)(v,{...t,children:(0,n.jsx)(e,{...t})});return t.getInitialProps=async t=>{let s=e.getInitialProps&&await e.getInitialProps(t),n=t.query.aliasID,{postDetail:o}=t.store.getState(),i=o.list.find(e=>e.aliasID&&n&&e.aliasID.toLowerCase()===n.toLowerCase());if((null==i?void 0:i.typeID)===u.PostTypeID.Program||(null==i?void 0:i.typeID)===u.PostTypeID.Class){let e="/".concat(3===i.typeID?"programs":"sessions","/").concat(i.aliasID);a.Z.replace(e)}return{...s}},t}},61721:function(e){e.exports={home:"Home_home__OnjyE",centerContainer:"Home_centerContainer__ANIuY",banner:"Home_banner__tU_j4",backgroundImage:"Home_backgroundImage__O4wR3",infoContent:"Home_infoContent__XnLWd",createGroup:"Home_createGroup__hc64L",rowContainer:"Home_rowContainer__0CISC",image:"Home_image__ZHlJN",textContainer:"Home_textContainer__YODYg",promptFormat:"Home_promptFormat__zra0u",customersContainer:"Home_customersContainer__hZtDT",customersHeader:"Home_customersHeader___I3bY",customerLogosContainer:"Home_customerLogosContainer__bbxs8",customerLogos:"Home_customerLogos__vumxG",basl:"Home_basl__mczZ3",bcvb:"Home_bcvb__N2y1u",bpbc:"Home_bpbc__bFyO4",cfrs:"Home_cfrs__qHAJW",cfc:"Home_cfc__72wY_",striker:"Home_striker__8qWiU",sits:"Home_sits__dqDQu",sopfc:"Home_sopfc__446La",nextSteps:"Home_nextSteps__sW_ci",center:"Home_center__QIej1",nextStepsText:"Home_nextStepsText__M1ShQ",nextStepsQuestion:"Home_nextStepsQuestion__m_gIA",nextStepsLabel:"Home_nextStepsLabel__R5KDA",nextStepsButtons:"Home_nextStepsButtons__IfaXB",contactSupport:"Home_contactSupport__B6Pd5",nextStepsButton:"Home_nextStepsButton__EFfsp",hugeButton:"Home_hugeButton__mXoyZ",content:"Home_content__v8D67",soccerIcon:"Home_soccerIcon__GVqpF",volleyballIcon:"Home_volleyballIcon__q2ziE",basketballIcon:"Home_basketballIcon__647J0",homeSection:"Home_homeSection__5vmns",uiOSContainer:"Home_uiOSContainer__shJ4Y",walkthroughUI:"Home_walkthroughUI__r6Da5",animScreenContainer:"Home_animScreenContainer__Fw_hQ",animFirstContainer:"Home_animFirstContainer__7kxVL",animFirst:"Home_animFirst__wONnZ",animMidContainer:"Home_animMidContainer__LBRT1",animMid:"Home_animMid__6PxUf",animThirdContainer:"Home_animThirdContainer__iYfJl",animThird:"Home_animThird__4lE9V",groupsContainer:"Home_groupsContainer__8oj7H",featureCarousel:"Home_featureCarousel__nz31z",featuredCarouselCard:"Home_featuredCarouselCard__0W9F_",groupEventsContainer:"Home_groupEventsContainer__SD_Nf",groupEventsContent:"Home_groupEventsContent__FuLHG",announcementLongText:"Home_announcementLongText__nuTUa",announcementReadMoreBtn:"Home_announcementReadMoreBtn__PSUD_",announcementMod
3al:"Home_announcementModal__FOjhp",carouselViewAll:"Home_carouselViewAll__7rJcy",urlOnly:"Home_urlOnly__dt_6m",topUsers:"Home_topUsers__kv5WJ",topUsersName:"Home_topUsersName__FbD7D",topUserCount:"Home_topUserCount__LTL3b",topUsersAvatar:"Home_topUsersAvatar__4tkPc",topAttendeeBadge:"Home_topAttendeeBadge__DmWnl",topUserRowRankText:"Home_topUserRowRankText__D7hH4",topUserRow:"Home_topUserRow__8skV_",featured:"Home_featured__wH6Z8",name:"Home_name__VnyNb",slickArrow:"Home_slickArrow__xZ_6B",featureCarouselHomeView:"Home_featureCarouselHomeView__nwN7R",topUsersSection:"Home_topUsersSection__k9uJt",paddingCarousel:"Home_paddingCarousel__JsYse",carouselEmpty:"Home_carouselEmpty__Bi_3U",announcementTimeText:"Home_announcementTimeText__Z3ucO",containerSpacing:"Home_containerSpacing__jkMLN",groupHeaderAnnouncementSection:"Home_groupHeaderAnnouncementSection__DGNA4",noHeader:"Home_noHeader__zSp6_",topUsersContainer:"Home_topUsersContainer__VBew7",cardOutline:"Home_cardOutline__rmiMJ",groupHeaderAnnouncementContainer:"Home_groupHeaderAnnouncementContainer__9eZoE",groupPhotos:"Home_groupPhotos__Z_067"}}},function(e){e.O(0,[55043,52019,86169,85222,26225,35873,92888,49774,40179],function(){return e(e.s=50642)}),_N_E=e.O()}]); 4//# sourceMappingURL=[aliasID]-d45b0a7dd1511efb.js.map 5//# debugId=871fe829-592b-5454-a7f2-b6954a001cc7
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.