1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7816],{17833:function(t,e,r){"use strict";r.d(e,{G:function(){return m}});var n=r(59499),o=r(4730),i=(r(67294),r(33192)),s=r(33241),a=r(8970),c=r(81126),l=r(34304),u=r(85893),p=["children","titleKey"];function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t){var e=t.children,r=t.titleKey,n=(0,o.Z)(t,p);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.N,{titleKey:r}),(0,u.jsx)(i.Z,h(h({},n),{},{children:e}))]})}var m=function(t){return function(e,r){return(0,a.u)((0,u.jsx)(d,h(h({},r),{},{titleKey:null===t||void 0===t?void 0:t.titleKey,children:e})),h(h({},t),{},{tournamentType:c.Z.LEAGUE,getProfileIdentifier:function(t){return{isAdmin:!1,profileType:s.Z.LEAGUE,profileSlug:"league/".concat(t.slug)}}}),r)}};e.Z=d},34304:function(t,e,r){"use strict";r.d(e,{N:function(){return g}});var n=r(59499),o=(r(67294),r(96486)),i=r(16918),s=r(50113),a=r(33241),c=r(71007),l=r(29229),u=r(15553),p=r.n(u),f=r(85893),h=function(t){var e,r,n=t.id,u=t.ownerId,h=t.approved,d=t.name,m=t.startAt,y=t.timezone,g=t.images,v=t.nominationEvent,j=t.circuitPhaseGroup,O=t.titleKey,b=(0,c._)().t,w=null===g||void 0===g||null===(e=g.find((function(t){return"banner"===t.type})))||void 0===e?void 0:e.url,x=j?(0,o.get)(j,["phase","event","videogame","satoriId"],l.zD.Unknown):void 0,P="LeaguePageHead.".concat(O),Z=b(P);Z!==P&&(r=Z);var E=void 0;if("details"===O){var N=p().unix(m);E=b("LeaguePageHead.details_meta_description",{leagueName:d,startDate:(y?N.tz(y):N).format("MM/DD/YYYY")})}else E=d;var D=(0,s.Vp)(d,r);return"voting_detail"===O&&(w=(0,o.get)(v,["images",0,"url"],w)),(0,f.jsx)(i.y,{title:D,shouldHideFromSearch:!h,openGraph:{description:E,title:d,images:w?[{url:w,width:1600}]:void 0},twitter:{cardType:"summary_large_image"},pageTelemetryContent:{id:null===n||void 0===n?void 0:n.toString(),subcategory:a.Z.LEAGUE,brand:"user",brandId:null===u||void 0===u?void 0:u.toString(),category:x}})},d=r(24762),m=r(11163);function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var g=function(t){var e=t.titleKey,r=(0,m.useRouter)().query.slug,o=(0,d.Nu)({variables:{slug:r},skip:!r}),i=o.data,s=o.loading;if(o.error||s||null===i||void 0===i||!i.league)return null;var a=i.league;return(0,f.jsx)(h,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({titleKey:e},a))}},40784:function(t,e,r){"use strict";r.d(e,{Z:function(){return ut}});var n=r(92777),o=r(82262),i=r(10748),s=r(81531),a=r(63553),c=r(37247),l=r(59499),u=r(67294),p=r(43393),f=r.n(p),h=r(94184),d=r.n(h),m=r(85302),y=r(48206),g=r(74405),v=r(96486),j=r(72555),O=r.n(j),b=r(30381),w=r.n(b),x=r(91199),P=r(3248),Z=r(93630),E=r(8723),N=r(661),D=r(18761),_=r(82337),S=r(46288),k=r(22554),R=r(4899),C=r(85893);function T(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach((function(e){(0,l.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var A=O()({displayName:"NominationDetailCard",getInitialState:function(){return{showCompleteModal:!1}},hideCompleteModal:function(){this.setState({showCompleteModal:!1})},renderNominationCard:function(){return(0,C.jsx)("div",{children:(0,C.jsx)(E.Z,I({currentUser:this.props.currentUser,fullWidth:!0,showVotes:!0},(0,v.pick)(this.props,["nominationEvent","tournament","nominationPlayer","nomination","series","iterations"])))})},render:function(){var t,e,r,n,o,i=[];t=this.props.nominationPlayer;var s=this.props.nominationEvent;if(!t)return(0,C.jsx)("div",{});e=t.get("player"),t.get("votes"),n=t.get("placement"),r=new S.Z(e).getDisplayRegion(),d()({"gg-form-box-section":!0}),e.get("name"),e.get("twitchStream")&&i.push((0,C.jsx)("li",{children:(0,C.jsxs)("a",{className:"text-social-twitch",target:"_blank",rel:"noopener noreferrer",href:"http://twitch.tv/".concat(e.get("twitchStream")),children:[(0,C.jsx)("i",{className:"fa fa-twitch"}),"\xa0",e.get("twitchStream")]})},"twitch")),e.get("twitterHandle")&&i.push((0,C.jsx)("li",{children:(0,C.jsxs)("a",{className:"text-social-twitter",target:"_blank",rel:"noopener noreferrer",href:"http://twitter.com/".concat(e.get("twitterHandle")),children:[(0,C.jsx)("i",{className:"fa fa-twitter"}),"\xa0",e.get("twitterHandle")]})},"twitter")),r&&i.push((0,C.jsx)("li",{className:"text-muted",children:(0,C.jsx)("em",{children:r})},"region")),n&&_.Z.asOrdinal(n),this.props.series.size&&(Z.Z,this.props.series,this.props.iterations),this.state.showCompleteModal&&(o=(0,C.jsx)(D.Z,{onClose:this.hideCompleteModal,playerId:this.state.showCompleteModal}));var a=w().unix(this.props.nominationEvent.get("startAt")),c=w().unix(this.props.nominationEvent.get("endAt")),l=w()();this.props.currentUser?a.isBefore(l)&&c.isAfter(l)&&(N.Z,this.props.tournament,this.props.nomination):k.Z;var u=this.renderNominationCard();return(0,C.jsxs)("div",{className:"full-width",children:[o,u]})}});A=(0,x.Z)(A,{getPlayers:function(t){if(t&&t.nominationPlayer&&t.nominationPlayer.get("player"))return f().List().push(t.nominationPlayer.get("player"))}});var B=(0,R.Z)((0,P.Z)(A,["NominationPlayerStore"],(function(t,e){var r,n;return e.playerId&&(n=parseInt(e.playerId,10)),e.tournament&&(r=t.NominationPlayerStore.getByPlayerAndTournament(n,e.tournament.get("id")).first()),{nominationPlayer:r}}))),U=r(53034);function L(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){(0,l.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function K(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,c.Z)(t);if(e){var o=(0,c.Z)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,a.Z)(this,r)}}var Y=function(t){(0,s.Z)(r,t);var e=K(r);function r(){return(0,n.Z)(this,r),e.apply(this,arguments)}return(0,o.Z)(r,[{key:"render",value:function(){var t,e,r;e=new m.Z(this.props.tournament);var n=new g.Z(this.props.nominationEvent);return t=e.getTabUrl("nomination"),n.hasStarted()&&!n.hasEnded()&&(r=(0,C.jsx)("div",{className:"text-center bottom-spacer",children:(0,C.jsx)(U.Z,M({},(0,v.pick)(this.props,["nomination","votePlayer","nominationEvent"])))})),(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"text-center bottom-spacer",children:(0,C.jsxs)("a",{className:"btn btn-link",href:t,children:[(0,C.jsx)("i",{className:"fa fa-arrow-left"})," View all nominees"]})}),r,(0,C.jsx)("div",{className:"gg-form",children:(0,C.jsx)(B,{tournament:this.props.tournament,playerId:this.props.playerId,nominationEvent:this.props.nominationEvent,nomination:this.props.nomination})})]})}}]),r}(u.Component),G=Y,H=r(98844),V=r(15553),z=r.n(V),F=r(28364);function X(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,c.Z)(t);if(e){var o=(0,c.Z)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,a.Z)(this,r)}}u.Component;var q=r(45270),W=r(10414),J=r(39236),Q=r(55267);function $(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,c.Z)(t);if(e){var o=(0,c.Z)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,a.Z)(this,r)}}var tt=function(t){(0,s.Z)(r,t);
1var e=$(r);function r(){return(0,n.Z)(this,r),e.apply(this,arguments)}return(0,o.Z)(r,[{key:"render",value:function(){var t,e,r="opt-in-modal";if(e=Q.Z.hasGlobalRanking(this.props.currentPlayer,this.props.series),this.props.currentUser)switch(this.props.nominationStatus&&this.props.nominationStatus.get("statusType")){case q.Z.ACCEPTED_BY_PLAYER:case q.Z.APPROVED_BY_EVENT:t=(0,C.jsx)("p",{children:"You're on the list!"});break;default:t=this.props.currentPlayer&&e?(0,C.jsx)("p",{children:(0,C.jsx)("a",{className:"btn btn-success","data-toggle":"modal","data-target":"#".concat(r),children:"Opt-In"})}):(0,C.jsx)("a",{href:"mailto:[email protected]",children:"Email [email protected] us to opt-in"})}else t=(0,C.jsxs)("p",{children:[(0,C.jsx)(k.Z,{loginText:"Login"}),"\xa0to opt-in for nominations"]});return(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"text-center",children:(0,C.jsx)(H.ZT,{variant:"h5",component:"h3",className:"page-section-subheading top heading-underline",children:"Instructions"})}),(0,C.jsxs)("div",{children:[(0,C.jsx)("p",{children:(0,C.jsx)("strong",{children:"Tweet out your nomination"})}),(0,C.jsxs)("ul",{children:[(0,C.jsx)("li",{children:"Click the \u201cNominate\u201d button next to the player of your choice."}),(0,C.jsx)("li",{children:"Only the most recently nominated player from each account will be counted."}),(0,C.jsx)("li",{children:"To change your nomination, simply click the nominate button on a different player Retweets DO NOT count! You must nominate from this page to be counted."})]}),(0,C.jsx)("p",{children:(0,C.jsx)("strong",{children:"Power up your nominations"})}),(0,C.jsx)("p",{children:"Nominations count x10: Connect your Twitter to a startgg account."}),(0,C.jsxs)("p",{children:["Nominations count x15: Follow"," ",(0,C.jsx)("a",{href:"http://twitter.com/startgg",target:"_blank",rel:"noopener noreferrer",children:"@startgg"})," ","from a connected account."]}),(0,C.jsx)("p",{children:(0,C.jsx)("strong",{children:"Are you a player and want to attend?"})}),t]}),(0,C.jsx)(W.Z,{openOnMount:!1,id:r,modal:(0,C.jsx)(J.Z,{nominationEvent:this.props.nominationEvent,currentUser:this.props.currentUser})})]})}}]),r}(u.Component);(0,l.Z)(tt,"defaultProps",{});var et=(0,x.Z)(tt,{getPlayers:function(t){return t&&t.currentPlayer&&f().List().push(t.currentPlayer)}}),rt=r(70207),nt=r(35135),ot=r(39578),it=r(40114);function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function at(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){(0,l.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ct(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,c.Z)(t);if(e){var o=(0,c.Z)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,a.Z)(this,r)}}var lt=function(t){(0,s.Z)(r,t);var e=ct(r);function r(){var t;(0,n.Z)(this,r);for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];return t=e.call.apply(e,[this].concat(s)),(0,l.Z)((0,i.Z)(t),"getInstructions",(function(){switch(t.props.tournament.get("id")){case 1331:case 1063:case 1641:case 1639:return(0,C.jsx)(et,at({},t.props));case 2118:case 2198:return(0,C.jsx)(rt.Z,at({},t.props));default:return null}})),(0,l.Z)((0,i.Z)(t),"getHeader",(function(){return(0,C.jsx)(nt.Z,at({},t.props))})),t}return(0,o.Z)(r,[{key:"render",value:function(){var t,e=new m.Z(this.props.tournament);2118!==this.props.tournament.get("id")&&2198!==this.props.tournament.get("id")||(t=(0,C.jsxs)("div",{className:"alert alert-info text-center",children:["Click ",(0,C.jsx)("a",{href:e.getTabUrl("voting"),children:"here"})," to vote on the 8th team participating in The Summit 5."]}));var r=this.getInstructions(),n=d()({"col-sm-4":!!r}),o=d()({"col-sm-8":!r,"col-sm-offset-2":!r});return(0,C.jsxs)("div",{children:[this.getHeader(),(0,C.jsx)("div",{className:"page-section page-section-grey",children:(0,C.jsxs)(y.Z,{className:"tournament-attendees",size:"fluid",children:[(0,C.jsxs)("div",{className:"row",children:[(0,C.jsx)("div",{className:n,children:r}),(0,C.jsx)("div",{className:o,children:(0,C.jsx)(G,at({},this.props))})]}),t]})})]})}}]),r}(u.Component);lt=(0,ot.Z)(lt);var ut=(0,it.Z)(lt)},54612:function(t,e,r){"use strict";r.r(e),r.d(e,{__N_SSP:function(){return p}});var n=r(59499),o=r(17833),i=r(40784),s=r(85893);function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?a(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={name:"leagueVotingDetail",tab:"voting",votingTab:"player_detail",titleKey:"voting_detail",pageTelemetry:{name:"Voting entrant"}},u=function(t){return(0,s.jsx)(i.Z,c(c({},t),l))};u.routeMeta=l,u.getLayout=(0,o.G)(l);var p=!0;e.default=u},12588:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/league/[slug]/voting/[playerId]",function(){return r(54612)}])}},function(t){t.O(0,[7816],(function(){t.E(5720)}),5);t.O(0,[5675,705,7401,7736,5774,2937,7379,1151,4738,3206,792,646,8965,4591,7125,3027,1346,6113,7586,4716,3372,1592,1867,183,5705,5939,2996,2794,2884,9650,6843,9783,9774,2888,179],(function(){return e=12588,t(t.s=e);var e}));var e=t.O();_N_E=e}]); 2//# sourceMappingURL=[playerId]-b1942bc70f988f9d.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.