1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6376],{51123:function(e,i,n){"use strict";n.d(i,{E:function(){return p}});var a=n(59499),t=n(4730),d=n(90116),r=n(71427),l=n(25675),s=n.n(l),m=n(67294),o=n(85893),u=["src","fallbackSrc","className","width","height"];function c(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);i&&(a=a.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,a)}return n}function v(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?c(Object(n),!0).forEach((function(i){(0,a.Z)(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}var k=["bing.com"].concat((0,d.Z)(r.Qh),["images.smash.gg","dev-images.smashgg.com"]),g=function(e){var i;if(i=e,k.some((function(e){return null===i||void 0===i?void 0:i.includes(e)})))return function(e){return e.src}};function p(e){var i=e.src,n=e.fallbackSrc,a=void 0===n?r.bR:n,d=e.className,l=void 0===d?"":d,c=e.width,k=e.height,p=(0,t.Z)(e,u),N=i||a,f=(0,m.useState)(N),S=f[0],F=f[1];(0,m.useEffect)((function(){F(N)}),[N]);return(0,o.jsx)(s(),v(v({alt:"",width:c,height:k},p),{},{loader:g(S),src:S,onError:function(){a&&F(a)},className:l,quality:"100"}))}},97958:function(e,i,n){"use strict";n.d(i,{Z:function(){return re}});var a=n(67294),t=n(11214),d=n(96486),r=n(43393),l=n(24561),s=n(34174),m=n(93658),o=n(3248),u=n(60926),c=n(78147),v=n(61722),k=n(33241),g=n(43929),p=n(56438),N=n(41074),f=n(74188),S=n(17674),F=n(73359),y=n(39233),h=n(85302),b=n(82337),x=n(25847),j=n(3710),C=n(85893),T=function(e){var i=e.className,n=e.actionUrl,a=e.actionText,t=e.actionDetails,d=e.type;return(0,C.jsxs)(s.pN,{useLegacyStyles:!0,className:i,size:"sm",children:[(0,C.jsx)(s.rU,{url:n,children:(0,C.jsx)(s.zx,{label:a,type:d})}),(0,C.jsx)(j.Z,{icon:null,text:t})]})};T.defaultProps={className:null,actionDetails:null,type:"primary"};var O=T,D=n(59499),A=n(94184),E=n.n(A),w=n(98844),I=n(51123),Z=n(46020),L=n.n(Z),P={className:null,title:null,subtitle:null,iconUrl:null,iconAlt:null,details:(0,r.List)(),action:null,secondaryAction:null,cta:null,isHidden:!1,isLoading:!1,iconNode:null,contentLoader:function(){return(0,C.jsxs)(l.ZP,{height:80,width:300,speed:1,primaryColor:"#f2f2f4",secondaryColor:"#e8e8e8",children:[(0,C.jsx)("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"80",height:"80"}),(0,C.jsx)("rect",{x:"105",y:"14",rx:"0",ry:"0",width:"80",height:"14"}),(0,C.jsx)("rect",{x:"105",y:"34",rx:"0",ry:"0",width:"100",height:"16"}),(0,C.jsx)("rect",{x:"105",y:"56",rx:"4",ry:"4",width:"60",height:"12"}),(0,C.jsx)("rect",{x:"175",y:"56",rx:"4",ry:"4",width:"60",height:"12"})]})}};function H(e){var i,n=e.className,t=e.title,d=e.subtitle,r=e.iconUrl,l=e.iconAlt,s=e.details,m=e.action,o=e.secondaryAction,u=e.isHidden,c=e.isLoading,v=e.contentLoader,k=e.iconNode,g=E()(L().header,(i={},(0,D.Z)(i,n,Boolean(n)),(0,D.Z)(i,L().isHidden,u),i));if(c&&v)return(0,C.jsx)("div",{className:g,children:(0,C.jsx)("div",{className:L().loader,children:v()})});var p=k,N=Boolean(r);Boolean(k)?N=!0:p=N?(0,C.jsx)(I.E,{style:{borderRadius:"4px"},src:r,alt:l,width:128,height:128}):null;var f=Boolean(s&&s.length)?(0,C.jsx)("div",{className:L().details,children:s}):null,S=Boolean(d),F=Boolean(t),y=(0,C.jsxs)("div",{className:L().info,children:[S&&(0,C.jsx)("div",{className:L().subtitle,children:d}),F&&(0,C.jsx)(w.ZT,{className:L().title,component:"h1",children:t}),f]}),h=Boolean(m),b=h?a.cloneElement(m,{className:L().action}):null,x=Boolean(o),j=x?a.cloneElement(o,{className:L().action}):null,T=h||x?(0,C.jsxs)("div",{className:L().actions,children:[j,b]}):null;return(0,C.jsx)("div",{className:g,children:(0,C.jsxs)("div",{className:L().contents,children:[(0,C.jsxs)("div",{className:L().main,children:[N&&(0,C.jsx)("div",{className:L().icon,children:p}),y]}),T]})})}H.defaultProps=P;var V=H,B=V,U=n(59746),q=n(67219),M=n(68915),G=n(40707),R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"LeagueHeader"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"league"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"headerFields"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"headerFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"League"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOnline"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publishing"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"tournamentType"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"userEligibleEvents"},directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"image"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOriginal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"userEligibleEvents"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"League"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userEligibleEvents"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"event"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"eventBasicDetails"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"tier"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"eventBasicDetails"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Event"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"numEntrants"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tournament"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"tournamentBasicDetail
1s"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"tournamentBasicDetails"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tournament"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"approved"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hashtag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shortSlug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addrState"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOnline"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasOfflineEvents"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"StringValue",value:"profile",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}}],loc:{start:0,end:133,source:{body:'#import "./Header.fragment.gql"\n\nquery LeagueHeader($slug: String, $id: ID) {\n\tleague(slug: $slug, id: $id) {\n\t\t...headerFields\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"LeagueCounts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"league"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"entrantCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"eventCount"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:97,source:{body:"query LeagueCounts($slug: String) {\n\tleague(slug: $slug) {\n\t\tid\n\t\tentrantCount\n\t\teventCount\n\t}\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}}}},Q={isHidden:!1,isLoading:!1,apollo:{},league:(0,r.Map)()};function _(e){var i,n,t=e.slug,d=e.isLoading,l=e.isHidden,m=e.apollo,o=e.league,u=void 0===o?(0,r.Map)():o,c=e.translate,v=e.profileTranslate,k=new h.Z(u),g=k.getImage("profile",280,280),p=u.getIn(["publishing","hide_entrant_count"],!1),N=u.get("userEligibleEvents"),f=N&&N.size,j=f&&(0,C.jsx)(O,{actionUrl:k.getTabUrl("apply"),actionText:c("LeagueProfileHeader.actions.applyForLeague.label"),actionDetails:c("LeagueProfileHeader.actions.applyForLeague.details.fullDetailsText",{eligibleEventsText:c("LeagueProfileHeader.actions.applyForLeague.details.eligibleEvents",{smart_count:f})}),type:"primary"}),T=(0,C.jsx)(O,{actionUrl:k.getTabUrl("schedule"),actionText:c("LeagueProfileHeader.actions.viewSchedule"),actionDetails:null,type:j?"outline":"primary"}),D=(0,F.t)($,{variables:{slug:t},skip:y.sk}),A=(0,S.Z)(D,2),E=A[0],w=A[1].data;(0,a.useEffect)((function(){E()}),[]);var I=(w||{}).league,Z=I&&I.eventCount?b.Z.commafy(I.eventCount):null,L=!p&&I&&I.entrantCount?b.Z.commafy(I.entrantCount):null,P=(0,r.fromJS)([{value:k.getDurationDateStr(),icon:"fa fa-fw fa-calendar-o"},{value:u.get("region"),icon:"fa fa-fw fa-map-marker"},{value:Z,icon:"fa fa-fw fa-star",token:"LeagueProfileHeader.details.events",url:k.getTabUrl("schedule")},{value:L,icon:"fa fa-fw fa-user",token:"LeagueProfileHeader.details.entrants",url:k.getTabUrl("standings")}]).filter((function(e){return e.get("value")})).map((function(e,i){var n="detail-".concat(i),a=e.get("value"),t=e.get("token"),d=e.get("url"),r=a;t&&(r=c(t,{smart_count:a}));var l=r;return d&&(l=(0,C.jsx)(q.Z,{url:d,type:"primary",children:l})),(0,C.jsx)(s.M5,{text:l,icon:e.get("icon"),iconColor:"gg-color-blue"},n)})).toArray();P.push((0,C.jsx)(U.Z,{tournamentId:u.get("id")},"details-contact"));var H=v(x.Vz.profileName,u.get("name")),V=(0,M.G)().currentBreakpoint;return(0,C.jsx)(B,{title:H,iconUrl:V>=G.u.MD?g:null,iconAlt:H,subtitle:c("entityType.league"),isLoading:d||
1(null===m||void 0===m||null===(i=m.forOperation)||void 0===i||null===(n=i.call(m,R))||void 0===n?void 0:n.loading),isHidden:l,action:T,secondaryAction:j,details:P})}_.defaultProps=Q;var z=(0,N.Z)()((0,x.MV)(_)),W=(0,f.Z)(R,{options:function(e){return{variables:{slug:e.slug}}}})(z),J=n(22389),K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"LeagueHeaderQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"profileSlug"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"league"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"profileSlug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"headerFields"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"headerFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"League"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOnline"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publishing"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"tournamentType"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"userEligibleEvents"},directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"image"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOriginal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"userEligibleEvents"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"League"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userEligibleEvents"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"event"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"eventBasicDetails"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"tier"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"eventBasicDetails"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Event"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"numEntrants"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tournament"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"tournamentBasicDetail
1s"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"tournamentBasicDetails"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tournament"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"approved"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hashtag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shortSlug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addrState"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOnline"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasOfflineEvents"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"StringValue",value:"profile",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}}],loc:{start:0,end:243,source:{body:'#import "app/components/profileTypes/LeagueProfile/Header/Header.fragment.gql"\n#import "gg-common/gql/fragments/domain/Image/image.gql"\n\nquery LeagueHeaderQuery($profileSlug: String) {\n\tleague(slug: $profileSlug) {\n\t\tid\n\t\t...headerFields\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},X=(0,t.qC)((0,f.Z)(K),(0,N.Z)())((function(e){var i,n,a,t,d=(0,J.Z)(e);if(!d)return null;var r=d.title,l=d.thumbnailUrl,s=d.thumbnailAlt,m=d.date,o=e.apollo,u={profileType:k.Z.LEAGUE,profileSlug:e.profileSlug,profileId:null===(i=e.league)||void 0===i||null===(n=i.get)||void 0===n?void 0:n.call(i,"id")};return(0,C.jsx)(p.Z.Provider,{value:u,children:(0,C.jsx)(W,{date:m,isLoading:null===o||void 0===o||null===(a=o.forOperation)||void 0===a||null===(t=a.call(o,K))||void 0===t?void 0:t.loading,slug:e.profileSlug,thumbnailUrl:l,thumbnailAlt:s,title:r})})})),Y=n(64423),ee=n.n(Y);var ie=(0,N.Z)()((0,x.MV)((function(e){var i=e.details,n=e.action,a=e.isHidden,t=e.isLoading,d=e.tournament,r=e.translate,l=e.profileTranslate,s=new h.Z(d).getImage("profile",280,280),m=l(x.Vz.profileName,d.get("name")),o=(0,M.G)().currentBreakpoint;return(0,C.jsx)("div",{className:ee().header,children:(0,C.jsx)(V,{title:m,iconUrl:o>
1=G.u.MD?s:null,iconAlt:m,subtitle:r("entityType.tournament"),isLoading:t,isHidden:a,action:n,details:i})})}))),ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TournamentHeaderQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"profileSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tournament"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"profileSlug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tournamentType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"registrationClosesAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"defaultTab"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasOnlineEvents"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasOfflineEvents"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"venueAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mapsPlaceId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addrState"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lng"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"generatedTabs"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publishing"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userParticipant"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"userData"},arguments:[]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"},directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"image"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOriginal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]}]}}],loc:{start:0,end:604,source:{body:'#import "gg-common/gql/fragments/domain/Image/image.gql"\n\nquery TournamentHeaderQuery($profileSlug: String!) {\n\ttournament(slug: $profileSlug) {\n\t\tid\n\t\tname\n\t\tslug\n\t\ttournamentType\n\n\t\tstartAt\n\t\tendAt\n\t\tregistrationClosesAt\n\t\ttimezone\n\n\t\tdefaultTab\n\t\thasOnlineEvents\n\t\thasOfflineEvents\n\n\t\t# TODO: address fragment? or just a GQL resolver\n\t\tvenueAddress\n\t\tmapsPlaceId\n\t\tcity\n\t\taddrState\n\t\tpostalCode\n\t\tcountryCode\n\t\tlat\n\t\tlng\n\n\t\t# Used by TournamentNav.js.... i\'m not sure why that file still exists....\n\t\tgeneratedTabs\n\t\tpublishing\n\n\t\tuserParticipant @userData {\n\t\t\tid\n\t\t}\n\t\timages {\n\t\t\t...image\n\t\t}\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},ae=(0,t.qC)((0,f.Z)(ne),(0,N.Z)())((function(e){var i,n,a,t=e.tournament;if(!t)return null;var d=(0,J.Z)(e);if(!d)return null;var r=d.date,l=d.locationAddress,m=d.isOnline,o=[{text:r,icon:"fa fa-fw fa-calendar-o"},{type:"location",text:l,icon:"fa fa-fw fa-map-marker"}].filter((function(e){return e.text})).map((function(e,i){var n="detail-".concat(i),a=e.text;return"location"!==e.type||m||(a=(0,C.jsx)(s.rU,{type:"primary",url:"https://www.google.com/maps/search/?api=1&query=".concat(encodeURIComponent(e.text)),newTab:!0,style:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"normal"},children:e.text})),(0,C.jsx)(s.M5,{text:a,icon:e.icon,iconColor:"gg-color-blue"},n)}));o.push((0,C.jsx)(U.Z,{tournamentId:t.get("id")}));var u={profileType:k.Z.TOURNAMENT,profileSlug:e.profileSlug,profileId:t.get("id")};return(0,C.jsx)(p.Z.Provider,{value:u,children:(0,C.jsx)(ie,{tournament:t,isLoading:null===(i=e.apollo)||void 0===i||null===(n=i.forOperation)||void 0===n||null===(a=n.call(i,ne))||void 0===a?void 0:a.isInitialLoad,details:o})})})),te={profileIdentifier:(0,r.Map)()},de=function(e){var i=e.profileIdentifier,n=e.shouldRenderHeader,a=e.profileNav;if(!n||!i)return null;var t=i.profileSlug,d=i.profileType,r=new m.Z(a).getImage("banner"),o=r?(0,C.jsx)("div",{className:" profileBanner",children:(0,C.jsx)(s.A,{className:"profileBannerImage",url:r,loader:(0,C.jsx)(l.ZP,{height:160,width:400,speed:1,primaryColor:"#F2F2F4",secondaryColor:"#E8E8E8",preserveAspectRatio:"none",children:(0,C.jsx)("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"400",height:"160"})})})}):null,u=function(){switch(d){case k.Z.LEAGUE:return X;case k.Z.TOURNAMENT:return ae;default:return null}}();return(0,C.jsx)("div",{className:"profileHeader",children:(0,C.jsxs)("div",{children:[o,(0,C.jsx)(u,{profileSlug:t})]})})};de.defaultProps=te;var re=(0,t.qC)(v.Z,u.Z,c.Z,(0,d.curryRight)(o.Z)(["RouteStore"],(function(e){var i=e.RouteStore,
1n=i.getCurrentRoute();return{shouldRenderHeader:g.Z.shouldRenderHeader(i),profileIdentifier:n&&n.getProfileIdentifier&&n.getProfileIdentifier(n.params)}})))(de)},12965:function(e,i,n){"use strict";var a=n(43393),t=n(34174),d=n(67648),r=n(85893);function l(e){var i=e.primaryContactType,n=e.primaryContact;if(!i)return null;var l=d.RS.get(i)||(0,a.Map)(),s=d.Er[i]||"";return(0,r.jsx)(t.M5,{text:(0,r.jsx)(t.rU,{type:"primary",url:"".concat(s).concat(n),newTab:!s,children:n}),icon:"fa fa-fw ".concat(l.get("icon")),iconColor:"gg-color-blue"},"contactinfo")}l.defaultProps={},i.Z=l},59746:function(e,i,n){"use strict";n.d(i,{Z:function(){return s}});var a=n(74188),t=(n(43393),n(12965)),d=n(85893);function r(e){var i=e.tournament;return i?(0,d.jsx)(t.Z,{primaryContactType:i.get("primaryContactType"),primaryContact:i.get("primaryContact")}):null}r.defaultProps={};var l=r,s=(0,a.Z)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContactInfoIndicator"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tournamentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tournament"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"tournamentId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"contactInfoIndicator"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contactInfoIndicator"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tournament"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"primaryContact"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"primaryContactType"},arguments:[],directives:[]}]}}],loc:{start:0,end:221,source:{body:'#import "app/components/Component/ContactInfo/ContactInfoIndicator/ContactInfoIndicator.fragment.gql"\n\nquery ContactInfoIndicator($tournamentId: ID!) {\n\ttournament(id: $tournamentId) {\n\t\tid\n\t\t...contactInfoIndicator\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},{options:function(e){return{variables:{tournamentId:e.tournamentId}}}})(l)},67648:function(e,i,n){"use strict";n.d(i,{Er:function(){return c},GQ:function(){return k},OV:function(){return p},PM:function(){return N},RS:function(){return o},aB:function(){return m}});var a,t,d,r,l=n(59499),s=n(43393),m={CUSTOM:"custom",EMAIL:"email",PHONE:"phone",DISCORD:"discord",FACEBOOK:"facebook",TWITTER:"twitter",HASHTAG:"hashtag"},o=(0,s.fromJS)((a={},(0,l.Z)(a,m.EMAIL,{icon:"fa-envelope",validations:["isEmail"]}),(0,l.Z)(a,m.DISCORD,{icon:"ggi-discord",validations:["isDiscordUrl"]}),(0,l.Z)(a,m.TWITTER,{icon:"fa-twitter",validations:["isTwitterUrl"]}),(0,l.Z)(a,m.FACEBOOK,{icon:"fa-facebook",validations:["isFacebookUrl"]}),(0,l.Z)(a,m.CUSTOM,{icon:"fa-link",validations:["optionalUrl"]}),a)).map((function(e,i){return e.set("value",i)})),u=(0,s.fromJS)((t={},(0,l.Z)(t,m.HASHTAG,{icon:"fa-hashtag",validations:["isValidHashtag"]}),(0,l.Z)(t,m.PHONE,{icon:"fa-phone",validations:["isValidPhoneNumber"]}),t)).map((function(e,i){return e.set("value",i)})),c=(d={},(0,l.Z)(d,m.EMAIL,"mailto:"),(0,l.Z)(d,m.PHONE,"tel:"),(0,l.Z)(d,m.HASHTAG,"https://twitter.com/hashtag/"),d),v=(r={},(0,l.Z)(r,m.EMAIL,!0),(0,l.Z)(r,m.DISCORD,!0),r);function k(){return Object.keys(v)}function g(e){return function(i){return(e||Map()).map((function(e){return e.set("label",i("ContactWidgetConfigure.linkLabels.".concat(e.get("value")),null,!0))}))}}function p(e){return g(o)(e)}function N(e){return g(u)(e)}},3710:function(e,i,n){"use strict";n.d(i,{Z:function(){return d}});n(67294);var a=n(34174),t=n(85893),d=function(e){var i=e.icon,n=e.text;if(!n)return null;var d=(0,t.jsx)("span",{children:n});return i&&(d=(0,t.jsx)(a.M5,{icon:i,iconColor:"gg-color-blue",text:n,textColor:"gg-color-black"})),d}},36376:function(e,i,n){"use strict";n.d(i,{Z:function(){return I}});var a=n(59499),t=n(67294),d=n(94184),r=n.n(d),l=n(22658),s=n(72555),m=n.n(s),o=n(96486),u=n(25677),c=(n(97958),n(43809)),v=n.n(c),k=n(11214),g=n(73134),p=n(37230),N=n(509),f=n(85893),S={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProfileNavQuery"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"profileType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"profileSlug"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isAdmin"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profileNav"},arguments:[{kind:"Argument",name:{kind:"Name",value:"profileType"},value:{kind:"Variable",name:{kind:"Name",value:"profileType"}}},{kind:"Argument",name:{kind:"Name",value:"profileSlug"},value:{kind:"Variable",name:{kind:"Name",value:"profileSlug"}}},{kind:"Argument",name:{kind:"Name",value:"isAdmin"},value:{kind:"Variable",name:{kind:"Name",value:"isAdmin"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"profileNavComponent"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"profileNavComponent"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProfileNav"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profileId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"topFeatures"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"navFeatures"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"navFeature"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"userFeatures"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"navFeatures"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"navFeature"},directives:[]},{kind:"Field",name:{kind:"Name",value:"subItems"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"navFeature"},directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"eventDetails"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"events"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"navEventItem"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"eventGroups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"orderNum"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"eventIds"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"navFeature"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProfileNavFeature"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tab"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"badge"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canEdit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeState"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"viewMore"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPublished"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"navEventItem"}
1,typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Event"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"timezone"},directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publishing"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nextUpcomingPhase"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"winnerEntrant"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"timezone"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Event"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOnline"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tournament"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:252,source:{body:'#import "./ProfileNav.fragment.gql"\n\nquery ProfileNavQuery(\n\t$profileType: String!\n\t$profileSlug: String\n\t$isAdmin: Boolean\n) {\n\tprofileNav(\n\t\tprofileType: $profileType\n\t\tprofileSlug: $profileSlug\n\t\tisAdmin: $isAdmin\n\t) {\n\t\t...profileNavComponent\n\t}\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}},F=m()({displayName:"LegacyFeatureCanvas",componentWillMount:function(){this.showSideNavBannerObserver={value:!1,subscribers:{},next:0,subscribe:function(e){var i=this.next;return this.subscribers[i]=e,this.next+=1,i},unsubscribe:function(e){delete this.subscribers[e]},set:function(e){this.value=e,(0,o.forEach)(this.subscribers,(function(i){return i(e)}))}}},shouldComponentUpdate:function(e,i){return!1!==e.isNavigateComplete},onObserverChange:function(e){this.showSideNavBannerObserver.set(!e)},render:function(){var e=this;return(0,f.jsx)("div",{className:v().profileContainer,children:(0,f.jsxs)("div",{className:v().profileBodyContainer,children:[(0,f.jsx)("div",{className:v().desktopProfileNavContainer,children:(0,f.jsx)(u.Z,{getShowSideNavBannerObserver:function(){return e.showSideNavBannerObserver},isProfileNavLoading:this.props.isProfileNavLoading,profileNav:this.props.profileNav})}),(0,f.jsx)("div",{className:v().featureCanvasContainer,children:this.props.children})]})})}}),y=(0,k.qC)((0,g.Z)((function(e){return e.profileIdentifier})),(0,p.Z)((function(e){var i=e.apollo;return{isProfileNavLoading:N.Z.isLoading(i,S)}})))(F),h=n(21671),b=n(98668),x=n(96116),j=n(28019),C=n(63785),T=n(28968),O=n(60252),D=n.n(O);function A(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);i&&(a=a.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,a)}return n}function E(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?A(Object(n),!0).forEach((function(i){(0,a.Z)(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}var w=function(e){var i=e.classes,n=e.children,a=(0,j.Rn)(),d=a.setTopLevelNavOpen,s=a.getTray,m=a.setTray,o=a.routeChangeInfo,u=(0,T.N0)(),c=o.isLoadingRoute&&!u.get("shouldHideLoader"),v=(0,C._j)().GlobalNav,k=(0,f.jsx)(l.Z,{currentRoute:u}),g=(0,f.jsx)("div",{className:i,id:"app_feature_canvas",children:c?k:(0,f.jsx)(y,E(E({},e),{},{children:n}))}),p=u&&u.get("isPrint");if("function"!==typeof p?p:p(u.get("params").toJS()))return g;var N=function(){return d(!1)},S=s(),F=(0,f.jsx)("div",{className:r()(D().navTray," "),children:(0,f.jsx)(b.Z,{getTray:s})}),O=(0,f.jsxs)("div",{className:D().navDrawerContainer,children:[v,(null===S||void 0===S?void 0:S.trayId)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(h._G,{mdDown:!0,implementation:"css",children:(0,f.jsx)(h.dy,{anchor:"left",variant:"temporary",open:S.trayId&&S.isOpen,onClose:N,classes:{root:D().navTrayDrawer,paper:D().navPaper},children:F})}),(0,f.jsx)(h._G,{mdUp:!0,implementation:"css",children:F})]})]});return(0,f.jsxs)(t.Fragment,{children:[(0,f.jsxs)(h._G,{mdDown:!0,implementation:"css",children:[(0,f.jsx)(h.dy,{anchor:"left",variant:"permanent",children:O}),(0,f.jsx)("div",{className:D().globalNavDrawer})]}),(0,f.jsx)(h._G,{mdUp:!0,implementation:"js",children:(0,f.jsx)(h.dy,{anchor:"left",variant:"temporary",open:S.isOpen,onClose:N,children:O})}),(0,f.jsx)(h._G,{mdUp:!0,implementation:"css",children:(0,f.jsx)(h.xG,{children:(0,f.jsx)(x.Z,{setTray:m,getTray:s,openTopLevelNav:function(){return d(!0)}})})}),g,(0,f.jsx)(h._G,{mdUp:!0,implementation:"css",children:(0,f.jsx)("div",{className:"bottom-nav-spacer"})})]})};w.defaultProps={classes:""};var I=w},43809:function(e){e.exports={pageBodyLoader:"pageBodyLoader-sggAIrch",hasProfileHeader:"hasProfileHeader-sggaGWmO",featureCanvasContainer:"featureCanvasContainer-sgghyAqe",desktopProfileNavContainer:"desktopProfileNavContainer-sgg9mkD-",toasterBuffer:"toasterBuffer-sggCM-bj",profileBodyContainer:"profileBodyContainer-sgg0LoCr",featureCanvasLoaderContainer:"featureCanvasLoaderContainer-sggrvsa0",profileContainer:"profileContainer-sggfn5wL"}},64423:function(e){e.exports={header:"header-sggVf4TQ",banner:"banner-sggjPTwh"}},46020:function(e){e.exports={header:"header-sgglWv7-",loader:"loader-sggOpkP-",contents:"contents-sggmvR8N",main:"main-sggVgMAQ",icon:"icon-sgg86X3L",title:"title-sggAzm8Z",subtitle:"subtitle-sgg4nPxu",info:"info-sggvEjMv",actions:"actions-sggbFK5y",action:"action-sggV2ZgG",isHidden:"isHidden-sgg-SAo6",details:"details-sggs7NvS"}}}]); 2//# sourceMappingURL=6376-7d36becb271cd415.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.