1/*! For license information please see 20.b60b8836.chunk.js.LICENSE.txt */ 2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[20],{310:function(t,e,r){"use strict";var n=r(0),o=r(130),a=r(3),i=r(20),c=r(95),s=r(1),l=function(t){var e=t.title,r=t.pageTitle,l=t.description,u=t.keywords,h=Object(n.useContext)(i.b).globalState;return Object(s.jsxs)(o.a,{children:[Object(a.f)(e)?Object(s.jsx)("title",{children:e}):null,Object(a.f)(l)?Object(s.jsx)("meta",{name:"description",content:l}):null,Object(a.f)(u)?Object(s.jsx)("meta",{name:"keywords",content:u}):null,Object(a.f)(r)&&Object(a.d)(h)&&Object(a.d)(h.accountObject)&&Object(a.f)(h.accountObject.url)?Object(s.jsx)("script",{type:"application/ld+json",children:'\n {\n "@context": "https://schema.org",\n "@type": "BreadcrumbList",\n "itemListElement": [{\n "@type": "ListItem",\n "position": 1,\n "name": "Home",\n "item": "'.concat(h.accountObject.url,'/"\n },{\n "@type": "ListItem",\n "position": 2,\n "name": "').concat(r,'"\n }]\n }\n ')}):null,Object(a.d)(h)&&Object(a.d)(h.accountObject)&&Object(a.f)(h.accountObject.url)?Object(s.jsx)("link",{rel:"canonical",href:"".concat(h.accountObject.url).concat(window.location.pathname)}):null,Object(a.f)(e)?Object(s.jsx)("meta",{name:"twitter:title",content:e}):null,Object(a.f)(l)?Object(s.jsx)("meta",{name:"twitter:description",content:l}):null,Object(a.d)(h)&&Object(a.d)(h.socials)&&Object(a.f)(h.socials.twitterURL)?Object(s.jsx)("meta",{name:"twitter:site",content:"@".concat(Object(c.p)(h.socials.twitterURL))}):null,Object(a.f)(e)?Object(s.jsx)("meta",{property:"og:title",content:e}):null,Object(a.f)(l)?Object(s.jsx)("meta",{property:"og:description",content:l}):null]})};l.defaultProps={pageTitle:""},e.a=Object(n.memo)(l)},311:function(t,e,r){"use strict";var n=r(0),o=r(324),a=r(323),i=r(332),c=r(20),s=(r(312),r(1)),l=function(t){var e=t.links,r=t.lastCrumb,l=t.marginLeft,u=t.marginTop,h=t.fontColor,f=Object(n.useContext)(c.b).globalState;return Object(s.jsxs)(o.a,{className:"alegreya-font-family font-weight-700 breadcrumbs1-container text-uppercase font-size-s",style:{marginLeft:l,marginTop:u,color:"normal"===h?f.websiteStyles.colors.primaryColor:h},separator:"\u203a","aria-label":"breadcrumb",children:[e.map((function(t){return Object(s.jsx)(a.a,{color:"inherit",href:t.link,children:t.title},t.link)})),Object(s.jsx)(i.a,{className:"alegreya-font-family font-weight-700 font-size-s",children:r})]})};l.defaultProps={marginLeft:"100px",marginTop:"280px",fontColor:"normal"},e.a=Object(n.memo)(l)},312:function(t,e,r){},315:function(t,e,r){"use strict";r.d(e,"q",(function(){return n})),r.d(e,"l",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return c})),r.d(e,"j",(function(){return s})),r.d(e,"k",(function(){return l})),r.d(e,"f",(function(){return u})),r.d(e,"g",(function(){return h})),r.d(e,"d",(function(){return f})),r.d(e,"e",(function(){return p})),r.d(e,"h",(function(){return d})),r.d(e,"i",(function(){return m})),r.d(e,"m",(function(){return g})),r.d(e,"n",(function(){return b})),r.d(e,"o",(function(){return y})),r.d(e,"p",(function(){return v}));var n="Please wait for the images to load before opening each image",o="Player not found",a="Coach not found",i="This article is not available anymore",c="This article is not available at the moment",s="This gallery is not available anymore",l="This gallery is not available at the moment",u="This event is not available anymore",h="This event is not available at the moment",f="This web page is not available anymore",p="This web page is not available at the moment",d="This form is not available anymore",m="This form is not available at the moment",g="This product is not available anymore",b="This product is not available at the moment",y="This product is out of stock",v="Please access this website again using your portal"},316:function(t,e,r){"use strict";var n=r(0),o=(r(318),r(1)),a=function(t){var e=t.text;return Object(o.jsx)("div",{className:"placeholder-component1 alegreya-font-family p-t-20px p-b-20px font-size-3xl font-weight-800 text-uppercase text-center-align",children:Object(o.jsx)("p",{children:e})})};e.a=Object(n.memo)(a)},318:function(t,e,r){},323:function(t,e,r){"use strict";var n=r(5),o=r(8),a=r(0),i=r(12),c=r(25),s=r(17),l=r(101),u=r(26),h=r(332),f=a.forwardRef((function(t,e){var r=t.classes,s=t.className,f=t.color,p=void 0===f?"primary":f,d=t.component,m=void 0===d?"a":d,g=t.onBlur,b=t.onFocus,y=t.TypographyClasses,v=t.underline,x=void 0===v?"hover":v,j=t.variant,O=void 0===j?"inherit":j,w=Object(o.a)(t,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),L=Object(l.a)(),E=L.isFocusVisible,N=L.onBlurVisible,S=L.ref,k=a.useState(!1),G=k[0],_=k[1],I=Object(u.a)(e,S);return a.createElement(h.a,Object(n.a)({className:Object(i.a)(r.root,r["underline".concat(Object(c.a)(x))],s,G&&r.focusVisible,"button"===m&&r.button),classes:y,color:p,component:m,onBlur:function(t){G&&(N(),_(!1)),g&&g(t)},onFocus:function(t){E(t)&&_(!0),b&&b(t)},ref:I,variant:O},w))}));e.a=Object(s.a)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(f)},324:function(t,e,r){"use strict";
2var n=r(5),o=r(29),a=r(8),i=r(0),c=(r(102),r(12)),s=r(17),l=r(332),u=r(42),h=r(79),f=Object(h.a)(i.createElement("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),p=r(129);var d=Object(s.a)((function(t){return{root:{display:"flex",marginLeft:t.spacing(.5),marginRight:t.spacing(.5),backgroundColor:t.palette.grey[100],color:t.palette.grey[700],borderRadius:2,cursor:"pointer","&:hover, &:focus":{backgroundColor:t.palette.grey[200]},"&:active":{boxShadow:t.shadows[0],backgroundColor:Object(u.b)(t.palette.grey[200],.12)}},icon:{width:24,height:16}}}),{name:"PrivateBreadcrumbCollapsed"})((function(t){var e=t.classes,r=Object(a.a)(t,["classes"]);return i.createElement(p.a,Object(n.a)({component:"li",className:e.root,focusRipple:!0},r),i.createElement(f,{className:e.icon}))}));var m=i.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,h=t.component,f=void 0===h?"nav":h,p=t.expandText,m=void 0===p?"Show path":p,g=t.itemsAfterCollapse,b=void 0===g?1:g,y=t.itemsBeforeCollapse,v=void 0===y?1:y,x=t.maxItems,j=void 0===x?8:x,O=t.separator,w=void 0===O?"/":O,L=Object(a.a)(t,["children","classes","className","component","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),E=i.useState(!1),N=E[0],S=E[1],k=i.Children.toArray(r).filter((function(t){return i.isValidElement(t)})).map((function(t,e){return i.createElement("li",{className:s.li,key:"child-".concat(e)},t)}));return i.createElement(l.a,Object(n.a)({ref:e,component:f,color:"textSecondary",className:Object(c.a)(s.root,u)},L),i.createElement("ol",{className:s.ol},function(t,e,r){return t.reduce((function(n,o,a){return a<t.length-1?n=n.concat(o,i.createElement("li",{"aria-hidden":!0,key:"separator-".concat(a),className:e},r)):n.push(o),n}),[])}(N||j&&k.length<=j?k:function(t){return v+b>=t.length?t:[].concat(Object(o.a)(t.slice(0,v)),[i.createElement(d,{"aria-label":m,key:"ellipsis",onClick:function(t){S(!0);var e=t.currentTarget.parentNode.querySelector("a[href],button,[tabindex]");e&&e.focus()}})],Object(o.a)(t.slice(t.length-b,t.length)))}(k),s.separator,w)))}));e.a=Object(s.a)({root:{},ol:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"},li:{},separator:{display:"flex",userSelect:"none",marginLeft:8,marginRight:8}},{name:"MuiBreadcrumbs"})(m)},345:function(t,e,r){},350:function(t,e,r){"use strict";var n=r(0),o=(r(446),r(1)),a=function(t){var e=t.text;return Object(o.jsx)("div",{className:"placeholder-component4 alegreya-font-family p-t-20px p-b-20px font-size-3xl font-weight-800 text-uppercase text-left-align",children:Object(o.jsx)("p",{children:e})})};e.a=Object(n.memo)(a)},393:function(t,e,r){"use strict";r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return m})),r.d(e,"a",(function(){return g}));var n,o,a,i=r(4),c=r(10),s=r(19),l=r(14),u=r(2),h=r(3),f=r(89);function p(){p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof b?e:b,i=Object.create(a.prototype),c=new _(n||[]);return o(i,"_invoke",{value:N(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",d="executing",m="completed",g={};function b(){}function y(){}function v(){}var x={};l(x,i,(function(){return this}));var j=Object.getPrototypeOf,O=j&&j(j(I([])));O&&O!==r&&n.call(O,i)&&(x=O);var w=v.prototype=b.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function N(e,r,n){var o=f;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?m:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
vendor: 4,625 bytes, line 2
2(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=v,o(w,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:y,configurable:!0}),y.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},L(E.prototype),l(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new E(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(w),l(w,s,"Generator"),l(w,i,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(G),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var d=function(t,e,r){return(n=n||Object(c.a)(p().mark((function t(e,r,n){var o,a,c,h;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=[],t.prev=1,t.next=4,Object(f.b)(e);case 4:return a=t.sent,t.next=7,Object(f.c)(e);case 7:c=t.sent,h=new Set,a.forEach((function(t){t.exists&&(o.push(Object(i.a)({},t.data())),h.add(t.data().id))}
2)),c.forEach((function(t){t.exists&&!h.has(t.data().id)&&o.push(Object(i.a)({},t.data()))})),r({type:"fetchCoaches",coaches:o}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(1),Object(s.e)(l.p),u.c&&(n(l.p,{variant:"error"}),console.log(t.t0));case 18:case"end":return t.stop()}}),t,null,[[1,14]])})))).apply(this,arguments)},m=function(t,e,r,n){return(o=o||Object(c.a)(p().mark((function t(e,r,n,o){var a,i,c,h;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(f.a)(r);case 3:(i=t.sent).exists&&(null===(a=i.data())||void 0===a?void 0:a.teamId)===e?(null===(c=i.data())||void 0===c?void 0:c.deleted)?(Object(s.e)(l.b),n({type:"setError"}),u.c&&o(l.b,{variant:"error"})):n({type:"fetchCoachName",name:null===(h=i.data())||void 0===h?void 0:h.name}):(Object(s.e)(l.b),n({type:"setError"}),u.c&&o(l.b,{variant:"error"})),t.next=12;break;case 7:t.prev=7,t.t0=t.catch(0),Object(s.e)(l.q),n({type:"setError"}),u.c&&(o(l.q,{variant:"error"}),console.log(t.t0));case 12:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)},g=function(t,e,r,n){return(a=a||Object(c.a)(p().mark((function t(e,r,n,o){var a,i,c,d,m,g,b,y,v,x,j,O,w,L,E;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(f.a)(r);case 3:(i=t.sent).exists&&(null===(a=i.data())||void 0===a?void 0:a.teamId)===e?(null===(c=i.data())||void 0===c?void 0:c.deleted)?(Object(s.e)(l.b),n({type:"setError"}),u.c&&o(l.b,{variant:"error"})):n({type:"fetchCoach",name:null===(d=i.data())||void 0===d?void 0:d.name,alumni:!!(null===(m=i.data())||void 0===m?void 0:m.alumni)&&(null===(g=i.data())||void 0===g?void 0:g.alumni),profileImage:null===(b=i.data())||void 0===b?void 0:b.profileImage,email:null===(y=i.data())||void 0===y?void 0:y.email,phone:null===(v=i.data())||void 0===v?void 0:v.phone,details:null===(x=i.data())||void 0===x?void 0:x.details,summary:Object(h.f)(null===(j=i.data())||void 0===j?void 0:j.summary)?null===(O=i.data())||void 0===O?void 0:O.summary:"",bio:null===(w=i.data())||void 0===w?void 0:w.bio,texts:null===(L=i.data())||void 0===L?void 0:L.texts,deleted:null===(E=i.data())||void 0===E?void 0:E.deleted}):(Object(s.e)(l.b),n({type:"setError"}),u.c&&o(l.b,{variant:"error"})),t.next=12;break;case 7:t.prev=7,t.t0=t.catch(0),Object(s.e)(l.q),n({type:"setError"}),u.c&&(o(l.q,{variant:"error"}),console.log(t.t0));case 12:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}},398:function(t,e,r){"use strict";var n=r(0),o=(r(399),r(21)),a=r(22),i=r(3),c=r(20),s=r(15),l=r(1),u=function(t){var e,r=t.article,u=Object(n.useContext)(c.b).globalState;return Object(l.jsxs)(o.b,{to:"/articles/".concat(r.id),className:"article-thumbnail4-container box-shadow-black text-black text-no-underline",children:[Object(l.jsxs)("div",{className:"article-thumbnail4-image-container",children:[Object(l.jsx)("img",{className:"article-thumbnail4-image",src:Object(i.f)(r.featureImage)?r.featureImage:Object(i.d)(Object(a.r)(u,"articleFeatureImage"))?Object(a.r)(u,"articleFeatureImage"):"",loading:"lazy",decoding:"async",alt:r.title?r.title:"Article Title"}),Object(s.d)()<(Object(i.d)(r.timeOfArticle),Object(s.h)(r.timeOfArticle))?Object(l.jsx)("div",{className:"article-thumbnail4-new m-t-0 m-b-0",style:Object(a.g)(u),children:"NEW"}):null]}),Object(l.jsxs)("div",{className:"article-thumbnail4-text-container",children:[Object(l.jsx)("p",{className:"article-thumbnail4-text text-lightgray font-size-xs text-left-align m-l-25px m-r-25px m-t-35px m-b-0",children:Object(s.g)(Object(s.h)(Object(i.d)(r.timeOfArticle)?r.timeOfArticle:r.timeCreated))}),Object(l.jsx)("p",{className:"article-thumbnail4-text title text-lightgray font-size-m text-left-align m-l-25px m-r-25px m-t-0 m-b-0",children:(e=r.title,e.length>40?"".concat(e.substr(0,40),"..."):e)}),Object(l.jsx)("p",{className:"article-thumbnail4-text text-lightgray font-size-xs text-left-align m-l-25px m-r-25px m-t-0 m-b-35px",children:Object(i.f)(r.author)?"By: ".concat(r.author):"By: ".concat(u.teamAlias)})]})]})};e.a=Object(n.memo)(u)},399:function(t,e,r){},445:function(t,e,r){"use strict";var n=r(0),o=r(314),a=(r(345),r(22)),i=r(3),c=r(350),s=r(1),l=function(t){var e=t.text;return Object(s.jsx)(s.Fragment,{children:Object(s.jsx)("div",{className:"player1-text-tab-container m-l-50px m-r-100px",children:Object(i.f)(e)?Object(s.jsx)("div",{className:"player1-text-tab-container-text alegreya-font-family game-info1-text font-spacing-wider line-height-wider text-left-align m-t-0 m-b-20px font-size-l",children:Object(o.a)(Object(a.c)(e))}):Object(s.jsx)(c.a,{text:"Unavailable"})})})};e.a=Object(n.memo)(l)},446:function(t,e,r){},447:function(t,e,r){"use strict";var n=r(10),o=r(23),a=r(4),i=r(0),c=r(39),s=r(36),l=(r(448),r(20)),u=r(134),h=r(53),f=r(22),p=r(3),d=r
vendor: 4,577 bytes, line 2
2(398),m=r(350),g=r(1);function b(){b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new _(n||[]);return o(i,"_invoke",{value:N(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",m={};function g(){}function y(){}function v(){}var x={};l(x,i,(function(){return this}));var j=Object.getPrototypeOf,O=j&&j(j(I([])));O&&O!==r&&n.call(O,i)&&(x=O);var w=v.prototype=g.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function N(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=v,o(w,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:y,configurable:!0}),y.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},L(E.prototype),l(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new E(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(w),l(w,s,"Generator"),l(w,i,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
2h(G),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var y={articles:[],loadingSpinner:!0};function v(t,e){switch(e.type){case"fetchArticles":return Object(a.a)(Object(a.a)({},t),{},{articles:e.articles});case"setLoadingSpinner":return Object(a.a)(Object(a.a)({},t),{},{loadingSpinner:e.loadingSpinner});default:return y}}var x=function(t){var e=t.tagId,r=t.showTitle,a=Object(s.g)(),x=Object(i.useReducer)(v,y),j=Object(o.a)(x,2),O=j[0],w=j[1],L=Object(i.useContext)(l.b).globalState,E=Object(c.b)().enqueueSnackbar;return Object(i.useEffect)((function(){var t;!function(){(t=t||Object(n.a)(b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(p.f)(L.accountId)||!Object(p.f)(e)){t.next=5;break}return w({type:"setLoadingSpinner",loadingSpinner:!0}),t.next=4,Object(u.c)(L.accountId,e,w,E);case 4:w({type:"setLoadingSpinner",loadingSpinner:!1});case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}()}),[L.accountId]),Object(g.jsxs)("div",{className:"articles-component3-container m-l-50px m-r-100px",children:[r?Object(g.jsx)("div",{className:"articles-component3-title p-t-20px p-r-20px p-b-20px p-l-20px",style:Object(f.g)(L),children:Object(g.jsx)("div",{className:"articles-component3-title-text font-size-5xl text-white m-l-20px m-t-0 m-b-0 text-uppercase",onClick:function(){a.push("/news")},children:"Articles"})}):null,Object(g.jsx)("div",{className:"articles-component3 full-width m-t-20px m-b-70px",children:O.loadingSpinner?Object(g.jsx)(h.a,{color:L.websiteStyles.colors.primaryColor}):Object(g.jsx)(g.Fragment,{children:O.articles.length>0?Object(g.jsx)(g.Fragment,{children:O.articles.map((function(t){return Object(g.jsx)("div",{className:"articles-component3-article m-l-0 m-r-20px m-b-20px",children:Object(g.jsx)(d.a,{article:t})},t.id)}))}):Object(g.jsx)(m.a,{text:"No Articles Available"})})})]})};x.defaultProps={showTitle:!0},e.a=Object(i.memo)(x)},448:function(t,e,r){},449:function(t,e,r){"use strict";var n=r(10),o=r(23),a=r(4),i=r(0),c=r(39),s=r(21),l=(r(450),r(20)),u=r(53),h=r(22),f=r(3),p=r(346),d=r(451),m=r(350),g=r(1);function b(){b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new _(n||[]);return o(i,"_invoke",{value:N(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",m={};function g(){}function y(){}function v(){}var x={};l(x,i,(function(){return this}));var j=Object.getPrototypeOf,O=j&&j(j(I([])));O&&O!==r&&n.call(O,i)&&(x=O);var w=v.prototype=g.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function N(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
2(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=v,o(w,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:y,configurable:!0}),y.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},L(E.prototype),l(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new E(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(w),l(w,s,"Generator"),l(w,i,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(G),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var y={galleries:[],loadingSpinner:!0};function v(t,e){switch(e.type){case"fetchGalleries":return Object(a.a)(Object(a.a)({},t),{},{galleries:e.galleries});case"setLoadingSpinner":return Object(a.a)(Object(a.a)({},t),{},{loadingSpinner:e.loadingSpinner});default:return y}}var x=function(t){var e=t.tagId,r=t.showTitle,a=Object(i.useReducer)(v,y),x=Object(o.a)(a,2),j=x[0],O=x[1],w=Object(i.useContext)(l.b).globalState,L=Object(c.b)().enqueueSnackbar;return Object(i.useEffect)((function(){var t;!function(){(t=t||Object(n.a)(b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(f.f)(w.accountId)||!Object(f.f)(e)){t.next=5;break}return O({type:"setLoadingSpinner",loadingSpinner:!0}),t.next=4,Object(p.a)(w.accountId,e,O,L);case 4:O({type:"setLoadingSpinner",loadingSpinner:!1});case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}()}),[w.accountId]),Object(g.jsxs)("div",{className:"galleries-component3-container m-l-50px m-r-100px",children:[r?Object(g.jsx)("div",{className:"galleries-component3-title p-t-20px p-r-20px p-b-20px p-l-20px",style:Object(h.g)(w),children:Object(g.jsx)(s.b,{to:"/galleries",className:"galleries-component3-title-text font-size-5xl text-white m-l-20px m-t-0 m-b-0 text-uppercase text-no-underline",children:"Galleries"})}):null,Object(g.jsx)("div",{className:"galleries-component3 full-width m-t-20px m-b-70px",children:j.loadingSpinner?Object(g.jsx)(u.a,{color:w.websiteStyles.colors.primaryColor}):Object(g.jsx)(g.Fragment,{children:j.galleries.length>0?Object(g.jsx)(g.Fragment,{children:j.galleries.map((function(t){return Object(g.jsx)("div",{className:"galleries-component3-gallery m-l-0 m-r-10px m-t-0 m-b-10px",children:Object(g.jsx)(d.a,{gallery:t})},t.id)}))}):Object(g.jsx)(m.a,{text:"No Galleries Available"})})})]})};x.defaultProps={showTitle:!0},e.a=Object(i.memo)(x)},450:function(t,e,r){},453:function(t,e,r){"use strict";var n=r(10),o=r(23),a=r(4),i=r(0),c=(r(454),r(39)),s=r(333),l=r(20),u=r(53),h=r(452),f=r(3),p=r(350),d=r(1);function m(){m=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof b?e:b,i=Object.create(a.prototype),c=new _(n||[]);return o(i,"_invoke",{value:N(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",g={};function b(){}function y(){}function v(){}var x={};l(x,i,(function(){return this}));var j=Object.getPrototypeOf,O=j&&j(j(I([])));O&&O!==r&&n.call(O,i)&&(x=O);var w=v.prototype=b.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function N(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
2(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=v,o(w,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:y,configurable:!0}),y.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},L(E.prototype),l(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new E(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(w),l(w,s,"Generator"),l(w,i,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(G),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var g={photos:[],loadingSpinner:!0};function b(t,e){switch(e.type){case"fetchPhotos":return Object(a.a)(Object(a.a)({},t),{},{photos:e.photos});case"setLoadingSpinner":return Object(a.a)(Object(a.a)({},t),{},{loadingSpinner:e.loadingSpinner});default:return g}}var y=function(t){var e=t.tagId,r=Object(i.useReducer)(b,g),a=Object(o.a)(r,2),y=a[0],v=a[1],x=Object(i.useContext)(l.b).globalState,j=Object(c.b)().enqueueSnackbar;Object(i.useEffect)((function(){var t;!function(){(t=t||Object(n.a)(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(f.f)(x.accountId)||!Object(f.f)(e)){t.next=5;break}return v({type:"setLoadingSpinner",loadingSpinner:!0}),t.next=4,Object(h.a)(x.accountId,e,200,v,j);case 4:v({type:"setLoadingSpinner",loadingSpinner:!1});case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}()}),[]);return Object(d.jsx)(d.Fragment,{children:Object(d.jsx)("div",{className:"images-component1-container m-l-30px m-r-50px",children:y.loadingSpinner?Object(d.jsx)(u.a,{color:x.websiteStyles.colors.primaryColor}):Object(d.jsx)(d.Fragment,{children:y.photos.length>0?Object(d.jsx)(d.Fragment,{children:Object(d.jsx)(s.b,{children:Object(d.jsx)(s.a,{options:{buttons:{showFullscreenButton:!1,showDownloadButton:!1,showAutoplayButton:!1}},children:y.photos.map((function(t){return Object(d.jsx)("a",{href:t.image,children:Object(d.jsx)("img",{className:"images-component1-img curve-border-5px m-l-0 m-r-10px m-t-5px m-b-5px",src:t.image,alt:t.title?t.title:"Gallery Image"})},t.id)}))})})}):Object(d.jsx)(p.a,{text:"No Images Available"})})})})};e.a=Object(i.memo)(y)},454:function(t,e,r){},486:function(t,e,r){},619:function(t,e,r){},679:function(t,e,r){"use strict";r.r(e);var n,o=r(10),a=r(23),i=r(4),c=r(0),s=r.n(c),l=r(39),u=r(36),h=r(19),f=r(100),p=r(3),d=r
vendor: 4,788 bytes, line 2
2(20),m=r(393),g=r(14),b=r(80),y=r(71),v=r(103),x=r(18),j=function(t,e){return x.b.collectionGroup("game-coaches").where("id","==",e).where("teamId","==",t).where("timeOfGame","<=",new Date).orderBy("timeOfGame","desc").get()},O=r(2);function w(){w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new _(n||[]);return o(i,"_invoke",{value:N(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",m={};function g(){}function b(){}function y(){}var v={};l(v,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(I([])));j&&j!==r&&n.call(j,i)&&(v=j);var O=y.prototype=g.prototype=Object.create(v);function L(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function N(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=S(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=y,o(O,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,s,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},L(E.prototype),l(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new E(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(O),l(O,s,"Generator"),l(O,i,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
2h(G),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var L=function(t,e,r,a,c){return(n=n||Object(o.a)(w().mark((function t(e,r,n,a,c){var s,l,u,f,d;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,l=[],t.next=4,j(r,n);case 4:return t.sent.forEach((function(t){var e=t.data();t.exists&&Object(p.d)(e)&&l.push({seasonId:e.preDevelopedSeasonId,leagueId:e.preDevelopedLeagueId,opponentId:e.opponentId,timeOfGame:e.timeOfGame,homeGame:e.homeGame,winOrLoss:e.winOrLoss,gameScore:e.gameScore,goals:e.goals,assists:e.assists,shots:e.shots,blocks:e.blocks,bodyChecks:e.bodyChecks,faceOffWins:e.faceOffWins,penalties:e.penalties,penaltyMinutes:e.penaltyMinutes,emptyNetGoals:e.emptyNetGoals,gameWinningGoals:e.gameWinningGoals,powerPlayGoals:e.powerPlayGoals,shortHandedGoals:e.shortHandedGoals,goalieGoalsConceded:e.goalieGoalsConceded,saves:e.saves,goalieMinutes:e.goalieMinutes,goalieEmptyNetGoals:e.goalieEmptyNetGoals,goalieGameWinningGoals:e.goalieGameWinningGoals,goaliePowerPlayGoals:e.goaliePowerPlayGoals,goalieShortHandedGoals:e.goalieShortHandedGoals,goalieShotsOnGoal:e.goalieShotsOnGoal,goalieShotsSaved:e.goalieShotsSaved})})),u=new Map,f=new Map,t.next=10,Object(y.b)(e);case 10:return t.sent.forEach((function(t){t.exists&&u.set(t.data().id,t.data().name)})),t.next=14,Object(b.c)(e);case 14:return t.sent.forEach((function(t){t.exists&&f.set(t.data().id,"".concat(t.data().name).concat("-1"!==t.data().division?" - ".concat(t.data().division):""))})),d=Array(l.length),t.next=19,Promise.all(l.map((function(t,e){return(s=s||Object(o.a)(w().mark((function t(e,n){var o,a,c,s,h;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=u.get(l[n].seasonId),a=f.get(l[n].leagueId),t.next=4,Object(v.a)(r,l[n].opponentId);case 4:c=t.sent,s="",c.exists&&Object(p.d)(c.data())&&(s=c.data().name),h=Object(i.a)(Object(i.a)({},e),{},{seasonName:o,leagueName:a,opponentName:s}),d[n]=h;case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)})));case 19:a({type:"fetchStatsAndGameLogs",stats:[],gameLogs:d}),t.next=26;break;case 22:t.prev=22,t.t0=t.catch(0),Object(h.e)(g.h),O.c&&(c(g.h,{variant:"error"}),console.log(t.t0));case 26:case"end":return t.stop()}}),t,null,[[0,22]])})))).apply(this,arguments)},E=r(137),N=r(53),S=(r(619),r(22)),k=r(1),G=function(t){var e=t.name,r=t.alumni,n=t.profileImage,o=t.details,a=t.summary,i=t.seasons,s=Object(c.useContext)(d.b).globalState,l=Object(u.g)(),h=function(t){var e="";return o.forEach((function(r){r.title===t&&(e=r.value)})),e},f=function(){return Object(p.d)(Object(S.r)(s,"rosterFeatureImage"))?Object(S.r)(s,"rosterFeatureImage"):""},m=function(){var t="";return(t=Object(p.f)(a)?a:Object(S.b)(e,r,o,s)).length>280?"".concat(t.substring(0,280),"..."):t};return Object(k.jsxs)(k.Fragment,{children:[Object(k.jsxs)("div",{className:"coach1-info-container-desktop",children:[Object(p.f)(f())?Object(k.jsx)("img",{className:"coach1-feature-image",src:f(),alt:Object(p.f)(s.teamName)?e:"Coach Feature Image"}):Object(k.jsx)("div",{className:"coach1-feature-image-placeholder"}),Object(k.jsxs)("div",{className:"coach1-info-container x-center m-t-50px",children:[Object(k.jsx)("img",{className:"coach1-coach-image",src:Object(S.m)(s,n),alt:Object(p.f)(e)?e:"Coach Profile Image",style:{objectFit:Object(S.n)(s,n)}}),Object(k.jsxs)("div",{className:"coach1-coach-info box-shadow-black",children:[Object(k.jsxs)("div",{className:"coach1-coach-main-info-container full-width",children:[Object(k.jsx)("div",{className:"coach1-coach-team-number-container bg-white p-r-10px",children:Object(k.jsx)("p",{className:"coach1-coach-team-number text-white x-center m-t-0 m-b-0 p-t-5px p-b-5px p-l-10px p-r-10px curve-border-5px text-center-align font-size-xl",style:Object(S.g)(s),children:"ST"})}),Object(k.jsxs)("div",{className:"coach1-coach-name-container",style:Object(S.g)(s),children:[Object(k.jsxs)("div",{className:"m-l-10px p-l-20px",children:[Object(p.f)(h("Year"))?Object(k.jsx)("p",{className:"m-t-0 m-b-0 text-uppercase font-size-s text-left-align",children:h("Year")}):null,Object(k.jsx)("h1",{className:"m-t-0 m-b-0 text-uppercase font-size-2xl text-left-align alegreya-font-family font-weight-800",children:e}),Object(k.jsx)("h2",{className:"m-t-0 m-b-0 text-uppercase font-size-s text-left-align",children:h("Title")})]}),Object(k.jsx)("div",{className:"m-l-10px m-r-10px",children:Object(p.f)(h("Hometown"))?Object(k.jsx)("p",{className:"m-t-10px m-b-10px m-r-10px text-uppercase font-size-s text-center-align",children:h("Hometown")}):null})]})]}),Object(k.jsxs)("div",{className:"coach1-coach-other-info-container",children:[Object(k.jsxs)("div",{className:"m-l-10px",children:[Object(k.jsx)("p",{className:"m-t-5px m-b-5px m-l-0 m-r-5px p-t-5px p-b-5px p-l-15px p-r-40px font-size-xl text-left-align",children:"Summary"}),Object(k.jsx)("p",{className:"m-t-5px m-b-5px m-l-0 m-r-5px p-t-5px p-b-5px p-l-15px p-r-40px font-size-l text-left-align alegreya-font-family game-info1-text font-spacing-wider line-height-wider",children:m()})]}),Object(p.d)(s.logo)&&Object(p.f)(s.logo.logo1)?Object(k.jsx)("img",{className:"coach1-title-logo m-r-20px",src:s.logo.logo2,alt:Object(p.f)(s.teamName)?s.teamName:"Team Logo"}):null]})]})]}),Object(k.jsxs)("div",{className:"coach1-coach-seasons-container x-center m-t-25px m-b-15px",children:[Object(k.jsx)("p",{className:"m-t-0 m-b-5px font-size-m text-uppercase m-l-5px",children:"Seasons"}),Object(k.jsx)("div",{className:"coach1-coach-seasons full-width x-center",children:i.map((function(t){return Object(k.jsx)("div",{className:"coach1-coach-season m-t-5px m-b-5px m-l-0 m-r-15px p-t-10px p-b-10px p-l-20px p-r-20px curve-border-5px font-size-s box-shadow-black",onClick:function(){l.push("/season/".concat(t.id))},style:Object(S.g)(s),children:t.name},t.id)}))})]})]}),Object(k.jsxs)("div",{className:"coach1-info-container-mobile",children:[Object(p.f)(f())?Object(k.jsx)("img",{className:"coach1-feature-image",src:f(),alt:Object(p.f)(s.teamName)?e:"Coach Feature Image"}):Object(k.jsx)("div",{className:"coach1-feature-image-placeholder"}),Object(k.jsx)("img",{className:"coach1-coach-image",src:Object(S.m)(s,n),alt:Object(p.f)(e)?e:"Coach Profile Image",style:{objectFit:Object(S.n)(s,n)}}),Object(k.jsxs)("div",{className:"coach1-info-first-section p-l-20px p-r-20px",children:[Object(k.jsxs)("div",{className:"coach1-info-first-section-subsection",children:[Object(k.jsx)("p",{className:"coach1-team-number font-size-xl text-white p-t-5px p-b-5px p-l-10px p-r-10px m-t-0 m-b-0 m-l-0 m-r-10px",style:Object(S.g)(s),children:"ST"}),Object(k.jsx)("p",{className:"x-center font-size-m m-t-0 m-b-0 m-l-0 m-r-0 text-left-align text-uppercase",children:h("Title")})]}),Object(k.jsxs)("div",{className:"coach1-info-first-section-subsection-2",children:[Object(k.jsx)("p",{className:"m-t-0 m-b-0 font-size-s text-left-align m-l-10px m-r-10px",children:h("Year")}),Object(p.d)(s.logo)&&Object(p.f)(s.logo.logo1)?Object(k.jsx)("img",{className:"coach1-logo m-r-10px",src:s.logo.logo2,alt:Object(p.f)(s.teamName)?s.teamName:"Team Logo"}):null]})]}),Object(k.jsx)("div",{className:"coach1-info-second-section p-l-20px p-r-20px",style:Object(S.g)(s),children:Object(k.jsxs)("div",{className:"coach1-info-second-section-subsection",children:[Object(p.f)(h("Hometown"))?Object(k.jsx)("p",{className:"m-t-0 m-b-0 text-uppercase font-size-xs text-left-align",children:h("Hometown")}):null,Object(k.jsx)("p",{className:"m-t-0 m-b-0 text-uppercase font-size-xl text-left-align",children:e})]})}),Object(k.jsxs)("div",{className:"coach1-info-third-section p-l-20px p-r-20px box-shadow-black",children:[Object(k.jsx)("p",{className:"m-t-5px m-b-5px m-l-0 m-r-0 p-t-5px p-b-5px p-l-15px p-r-15px font-size-m text-center-align",children:"Summary"}),Object(k.jsx)("p",{className:"m-t-5px m-b-5px m-l-0 m-r-0 p-t-5px p-b-5px p-l-15px p-r-15px font-size-s text-center-align alegreya-font-family game-info1-text font-spacing-wider line-height-wider",children:m()})]}),Object(k.jsxs)("div",{className:"coach1-info-fourth-section p-l-20px p-r-20px",children:[Object(k.jsx)("p",{className:"m-t-20px m-b-0 font-size-m m-l-20px",children:"Seasons"}),Object(k.jsx)("div",{className:"coach1-coach-seasons",children:i.map((function(t){return Object(k.jsx)("div",{className:"coach1-coach-season m-t-5px m-b-5px m-l-5px m-r-5px p-t-10px p-b-10px p-l-20px p-r-20px curve-border-5px font-size-s box-shadow-black",onClick:function(){l.push("/season/".concat(t.id))},style:Object(S.g)(s),children:t.name},t.id)}))})]})]})]})},_=Object(c.memo)(G),I=(r(311),r(8)),T=r(17),P=r(676),F=r(681),C=r(666),A=r(667),z=(r(486),r(445)),B=r(660),M=r
2(182),Y=r(661),W=r(662),H=r(663),R=r(664),D=r(412),q=r(665),V=r(41),U=r(15),K=function(t){var e=t.gameLogs,r=Object(c.useContext)(d.b).globalState;return Object(k.jsx)(k.Fragment,{children:Object(k.jsx)("div",{className:"coach1-stats-tab-container m-l-50px m-r-50px",children:Object(k.jsx)(B.a,{className:"coach1-stats-tab-table-container no-box-shadow-black curve-border-0 m-t-20px m-b-20px",component:M.a,children:Object(k.jsxs)(Y.a,{"aria-label":"Box Score",children:[Object(k.jsx)(W.a,{children:Object(k.jsxs)(H.a,{children:[Object(k.jsx)(R.a,{className:"coach1-stats-tab-table-row font-weight-800",align:"center",style:Object(S.g)(r),children:"Date"}),Object(k.jsx)(R.a,{className:"coach1-stats-tab-table-row font-weight-800",align:"center",style:Object(S.g)(r),children:"Season"}),Object(k.jsx)(R.a,{className:"coach1-stats-tab-table-row font-weight-800",align:"center",style:Object(S.g)(r),children:"League"}),Object(k.jsx)(R.a,{className:"coach1-stats-tab-table-row font-weight-800",align:"center",style:Object(S.g)(r),children:"Opponent"}),Object(k.jsx)(D.a,{title:"Win/Loss",placement:"top",arrow:!0,children:Object(k.jsx)(R.a,{className:"coach1-stats-tab-table-row font-weight-800",align:"center",style:Object(S.g)(r),children:"W/L"})}),Object(k.jsx)(D.a,{title:"Game Score",placement:"top",arrow:!0,children:Object(k.jsx)(R.a,{className:"coach1-stats-tab-table-row font-weight-800",align:"center",style:Object(S.g)(r),children:"Score"})})]})}),Object(k.jsx)(q.a,{children:e.map((function(t){return Object(k.jsx)(s.a.Fragment,{children:Object(k.jsxs)(H.a,{children:[Object(k.jsx)(R.a,{className:"font-weight-800",align:"center",children:Object(U.g)(Object(U.h)(t.timeOfGame))}),Object(k.jsx)(R.a,{className:"font-weight-800",align:"center",children:t.seasonName}),Object(k.jsx)(R.a,{className:"font-weight-800",align:"center",children:t.leagueName}),Object(k.jsx)(R.a,{className:"font-weight-800",align:"center",children:t.opponentName}),Object(k.jsx)(R.a,{className:"text-capitalize",align:"center",children:t.winOrLoss}),Object(k.jsx)(R.a,{align:"center",children:t.gameScore})]})},Object(V.c)())}))})]})})})})},J=Object(c.memo)(K),$=r(447),Q=r(449),X=r(453),Z=["children","value","index"];function tt(t){var e=t.children,r=t.value,n=t.index,o=Object(I.a)(t,Z);return Object(k.jsx)("div",Object(i.a)(Object(i.a)({className:"bg-white box-shadow-black curve-border-20px",role:"tabpanel",hidden:r!==n,id:"simple-tabpanel-".concat(n),"aria-labelledby":"simple-tab-".concat(n)},o),{},{children:r===n&&Object(k.jsx)(P.a,{p:3,children:Object(k.jsx)("div",{children:e})})}))}var et=Object(T.a)({indicator:{backgroundColor:"black"}})(F.a),rt={tabIndex:0};function nt(t,e){switch(e.type){case"setTabIndex":return Object(i.a)(Object(i.a)({},t),{},{tabIndex:e.tabIndex});default:return rt}}var ot,at=function(t){var e=Object(u.i)(),r=t.bio,n=t.texts,o=t.title,i=t.gameLogs,s=Object(c.useReducer)(nt,rt),l=Object(a.a)(s,2),h=l[0],f=l[1],m=Object(c.useContext)(d.b).globalState,g=function(){return Object(k.jsxs)("div",{className:"coach1-tab-badge-container m-l-100px m-t-50px m-b-50px",children:[Object(k.jsx)("div",{className:"coach1-tab-badge-content curve-border-5px m-r-10px",children:Object(k.jsx)("p",{className:"m-t-0 m-b-0 p-l-0 p-r-10px p-t-5px p-b-5px coach1-tab-badge-text text-black condensed-font-family",children:o})}),Object(p.d)(m.logo)&&Object(p.f)(m.logo.logo2)?Object(k.jsx)("img",{className:"coach1-tab-badge-logo m-l-10px",src:m.logo.logo2,alt:Object(p.f)(m.teamName)?m.teamName:"Team Logo"}):null]})};return Object(k.jsxs)("div",{className:"coach1-tabs-container x-center m-t-20px",children:[Object(k.jsx)(C.a,{position:"static",style:{backgroundColor:"white",color:"black",boxShadow:"none",height:"auto",paddingBottom:"20px"},children:Object(k.jsxs)(et,{value:h.tabIndex,onChange:function(t,e){f({type:"setTabIndex",tabIndex:e})},"aria-label":"player tabs",scrollButtons:"on",variant:"scrollable",children:[Object(k.jsx)(A.a,{className:"condensed-font-family font-spacing-wide font-size-m",label:"Bio"}),n.map((function(t){return Object(k.jsx)(A.a,{className:"condensed-font-family font-spacing-wide font-size-m",label:t.title},t.title)})),Object(k.jsx)(A.a,{className:"condensed-font-family font-spacing-wide font-size-m",label:"Game Logs"}),Object(k.jsx)(A.a,{className:"condensed-font-family font-spacing-wide font-size-m",label:"Articles"}),Object(k.jsx)(A.a,{className:"condensed-font-family font-spacing-wide font-size-m",label:"Images"}),Object(k.jsx)(A.a,{className:"condensed-font-family font-spacing-wide font-size-m",label:"Galleries"})]})}),Object(k.jsxs)(tt,{value:h.tabIndex,index:0,children:[Object(k.jsx)("p",{className:"coach1-tabs-title font-size-4xl text-left-align condensed-font-family text-uppercase m-l-50px m-r-100px",children:"Bio"}),Object(k.jsx)(z.a,{title:"Bio",text:r}),g()]}),n.map((function(t,e){return Object(k.jsxs)(tt,{value:h.tabIndex,index:e+1,children:[Object(k.jsx)("p",{className:"coach1-tabs-title font-size-4xl text-left-align condensed-font-family text-uppercase m-l-50px m-r-100px",children:t.title}),Object(k.jsx)(z.a,{title:t.title,text:t.value}),g()]},t.value)})),Object(k.jsxs)(tt,{value:h.tabIndex,index:n.length+1,children:[Object(k.jsx)("p",{className:"coach1-tabs-title font-size-4xl text-left-align condensed-font-family text-uppercase m-l-50px m-r-100px",children:"Game Logs"}),Object(k.jsx)(J,{gameLogs:i}),g()]}),Object(k.jsxs)(tt,{value:h.tabIndex,index:n.length+2,children:[Object(k.jsx)("p",{className:"coach1-tabs-title font-size-4xl text-left-align condensed-font-family text-uppercase m-l-50px m-r-100px",children:"Articles"}),Object(k.jsx)($.a,{tagId:e.coachid,showTitle:!1}),g()]}),Object(k.jsxs)(tt,{value:h.tabIndex,index:n.length+3,children:[Object(k.jsx)("p",{className:"coach1-tabs-title font-size-4xl text-left-align condensed-font-family text-uppercase m-l-50px m-r-100px",children:"Images"}),Object(k.jsx)("div",{className:"coach1-tabs-images",children:Object(k.jsx)(X.a,{tagId:e.coachid})}),g()]}),Object(k.jsxs)(tt,{value:h.tabIndex,index:n.length+4,children:[Object(k.jsx)("p",{className:"coach1-tabs-title font-size-4xl text-left-align condensed-font-family text-uppercase m-l-50px m-r-100px",children:"Galleries"}
2),Object(k.jsx)(Q.a,{tagId:e.coachid,showTitle:!1}),g()]})]})},it=Object(c.memo)(at),ct=r(316),st=r(315),lt=function(t){var e=t.name,r=t.alumni,n=t.profileImage,o=t.details,a=t.summary,i=t.bio,s=t.texts,l=t.seasons,u=t.gameLogs,h=t.deleted,f=t.loadingSpinner,p=Object(c.useContext)(d.b).globalState;return Object(k.jsx)(k.Fragment,{children:f?Object(k.jsx)(N.a,{color:p.websiteStyles.colors.primaryColor}):Object(k.jsx)(k.Fragment,{children:h?Object(k.jsx)(ct.a,{text:st.c}):Object(k.jsxs)("div",{className:"coach1-container full-width",children:[Object(k.jsx)(_,{name:e,alumni:r,profileImage:n,details:o,summary:a,seasons:l}),Object(k.jsx)(it,{bio:i,texts:s,title:function(t){var e="";return o.forEach((function(r){r.title===t&&(e=r.value)})),e}("Title"),gameLogs:u})]})})})},ut=Object(c.memo)(lt),ht=r(85),ft=r(310),pt=r(13);function dt(){dt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new G(n||[]);return o(i,"_invoke",{value:E(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",m={};function g(){}function b(){}function y(){}var v={};l(v,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(_([])));j&&j!==r&&n.call(j,i)&&(v=j);var O=y.prototype=g.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function E(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=N(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function N(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=y,o(O,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,s,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},w(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new L(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(O),l(O,s,"Generator"),l(O,i,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,G.prototype={constructor:G,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
2h(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var mt,gt=function(t,e,r,n,a){return(ot=ot||Object(o.a)(dt().mark((function t(e,r,n,a,c){var s,l,u,f,d;return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,l=[],t.next=4,j(r,n);case 4:return t.sent.forEach((function(t){var e=t.data();t.exists&&Object(p.d)(e)&&l.push({seasonId:e.preDevelopedSeasonId,leagueId:e.preDevelopedLeagueId,opponentId:e.opponentId,timeOfGame:e.timeOfGame,homeGame:e.homeGame,winOrLoss:e.winOrLoss,gameScore:e.gameScore,tries:e.tries,conversions:e.conversions,penaltyKicks:e.penaltyKicks,dropGoals:e.dropGoals})})),u=new Map,f=new Map,t.next=10,Object(y.b)(e);case 10:return t.sent.forEach((function(t){t.exists&&u.set(t.data().id,t.data().name)})),t.next=14,Object(b.c)(e);case 14:return t.sent.forEach((function(t){t.exists&&f.set(t.data().id,"".concat(t.data().name).concat("-1"!==t.data().division?" - ".concat(t.data().division):""))})),d=Array(l.length),t.next=19,Promise.all(l.map((function(t,e){return(s=s||Object(o.a)(dt().mark((function t(e,n){var o,a,c,s,h;return dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=u.get(l[n].seasonId),a=f.get(l[n].leagueId),t.next=4,Object(v.a)(r,l[n].opponentId);case 4:c=t.sent,s="",c.exists&&Object(p.d)(c.data())&&(s=c.data().name),h=Object(i.a)(Object(i.a)({},e),{},{seasonName:o,leagueName:a,opponentName:s}),d[n]=h;case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)})));case 19:a({type:"fetchStatsAndGameLogs",stats:[],gameLogs:d}),t.next=26;break;case 22:t.prev=22,t.t0=t.catch(0),Object(h.e)(g.h),O.c&&(c(g.h,{variant:"error"}),console.log(t.t0));case 26:case"end":return t.stop()}}),t,null,[[0,22]])})))).apply(this,arguments)};function bt(){bt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new G(n||[]);return o(i,"_invoke",{value:E(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",m={};function g(){}function b(){}function y(){}var v={};l(v,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(_([])));j&&j!==r&&n.call(j,i)&&(v=j);var O=y.prototype=g.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function E(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=N(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function N(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
2(r.method="return",r.arg=t,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=y,o(O,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,s,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},w(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new L(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(O),l(O,s,"Generator"),l(O,i,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,G.prototype={constructor:G,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var yt,vt=function(t,e,r,n,a){return(mt=mt||Object(o.a)(bt().mark((function t(e,r,n,a,c){var s,l,u,f,d;return bt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,l=[],t.next=4,j(r,n);case 4:return t.sent.forEach((function(t){var e=t.data();t.exists&&Object(p.d)(e)&&l.push({seasonId:e.preDevelopedSeasonId,leagueId:e.preDevelopedLeagueId,opponentId:e.opponentId,timeOfGame:e.timeOfGame,homeGame:e.homeGame,winOrLoss:e.winOrLoss,gameScore:e.gameScore,goals:e.goals,assists:e.assists,shots:e.shots,blocks:e.blocks,bodyChecks:e.bodyChecks,groundBalls:e.groundBalls,turnOvers:e.turnOvers,freePositionGoals:e.freePositionGoals,faceOffWins:e.faceOffWins,penalties:e.penalties,penaltyMinutes:e.penaltyMinutes,emptyNetGoals:e.emptyNetGoals,gameWinningGoals:e.gameWinningGoals,powerPlayGoals:e.powerPlayGoals,shortHandedGoals:e.shortHandedGoals,goalieGoalsConceded:e.goalieGoalsConceded,saves:e.saves,goalieMinutes:e.goalieMinutes,goalieEmptyNetGoals:e.goalieEmptyNetGoals,goalieGameWinningGoals:e.goalieGameWinningGoals,goaliePowerPlayGoals:e.goaliePowerPlayGoals,goalieShortHandedGoals:e.goalieShortHandedGoals,goalieShotsOnGoal:e.goalieShotsOnGoal,goalieShotsSaved:e.goalieShotsSaved})})),u=new Map,f=new Map,t.next=10,Object(y.b)(e);case 10:return t.sent.forEach((function(t){t.exists&&u.set(t.data().id,t.data().name)})),t.next=14,Object(b.c)(e);case 14:return t.sent.forEach((function(t){t.exists&&f.set(t.data().id,"".concat(t.data().name).concat("-1"!==t.data().division?" - ".concat(t.data().division):""))})),d=Array(l.length),t.next=19,Promise.all(l.map((function(t,e){return(s=s||Object(o.a)(bt().mark((function t(e,n){var o,a,c,s,h;return bt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=u.get(l[n].seasonId),a=f.get(l[n].leagueId),t.next=4,Object(v.a)(r,l[n].opponentId);case 4:c=t.sent,s="",c.exists&&Object(p.d)(c.data())&&(s=c.data().name),h=Object(i.a)(Object(i.a)({},e),{},{seasonName:o,leagueName:a,opponentName:s}),d[n]=h;case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)})));case 19:a({type:"fetchStatsAndGameLogs",stats:[],gameLogs:d}),t.next=26;break;case 22:t.prev=22,t.t0=t.catch(0),Object(h.e)(g.h),O.c&&(c(g.h,{variant:"error"}),console.log(t.t0));case 26:case"end":return t.stop()}}),t,null,[[0,22]])})))).apply(this,arguments)};
vendor: 4,557 bytes, line 2
2function xt(){xt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new G(n||[]);return o(i,"_invoke",{value:E(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",m={};function g(){}function b(){}function y(){}var v={};l(v,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(_([])));j&&j!==r&&n.call(j,i)&&(v=j);var O=y.prototype=g.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function E(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=N(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function N(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=y,o(O,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,s,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},w(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new L(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(O),l(O,s,"Generator"),l(O,i,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,G.prototype={constructor:G,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
2h(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var jt=function(t,e,r,n,a){return(yt=yt||Object(o.a)(xt().mark((function t(e,r,n,a,c){var s,l,u,f,d;return xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,l=[],t.next=4,j(r,n);case 4:return t.sent.forEach((function(t){var e=t.data();t.exists&&Object(p.d)(e)&&l.push({seasonId:e.preDevelopedSeasonId,leagueId:e.preDevelopedLeagueId,opponentId:e.opponentId,timeOfGame:e.timeOfGame,homeGame:e.homeGame,winOrLoss:e.winOrLoss,gameScore:e.gameScore})})),u=new Map,f=new Map,t.next=10,Object(y.b)(e);case 10:return t.sent.forEach((function(t){t.exists&&u.set(t.data().id,t.data().name)})),t.next=14,Object(b.c)(e);case 14:return t.sent.forEach((function(t){t.exists&&f.set(t.data().id,"".concat(t.data().name).concat("-1"!==t.data().division?" - ".concat(t.data().division):""))})),d=Array(l.length),t.next=19,Promise.all(l.map((function(t,e){return(s=s||Object(o.a)(xt().mark((function t(e,n){var o,a,c,s,h;return xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=u.get(l[n].seasonId),a=f.get(l[n].leagueId),t.next=4,Object(v.a)(r,l[n].opponentId);case 4:c=t.sent,s="",c.exists&&Object(p.d)(c.data())&&(s=c.data().name),h=Object(i.a)(Object(i.a)({},e),{},{seasonName:o,leagueName:a,opponentName:s}),d[n]=h;case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)})));case 19:a({type:"fetchStatsAndGameLogs",stats:[],gameLogs:d}),t.next=26;break;case 22:t.prev=22,t.t0=t.catch(0),Object(h.e)(g.h),O.c&&(c(g.h,{variant:"error"}),console.log(t.t0));case 26:case"end":return t.stop()}}),t,null,[[0,22]])})))).apply(this,arguments)};function Ot(){Ot=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new G(n||[]);return o(i,"_invoke",{value:E(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",p="executing",d="completed",m={};function g(){}function b(){}function y(){}var v={};l(v,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(_([])));j&&j!==r&&n.call(j,i)&&(v=j);var O=y.prototype=g.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,i,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function E(e,r,n){var o=f;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var s=N(c,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function N(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
2(r.method="return",r.arg=t,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=y,o(O,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,s,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},w(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new L(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(O),l(O,s,"Generator"),l(O,i,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,G.prototype={constructor:G,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var wt={name:"",alumni:!1,profileImage:"",details:[],summary:"",bio:"",texts:[],seasons:[],gameLogs:[],deleted:!0,loadingSpinner:!0,error:!1};function Lt(t,e){switch(e.type){case"fetchCoachName":return Object(i.a)(Object(i.a)({},t),{},{name:e.name});case"fetchCoach":return Object(i.a)(Object(i.a)({},t),{},{name:e.name,alumni:e.alumni,profileImage:e.profileImage,details:e.details,summary:e.summary,bio:e.bio,texts:e.texts,deleted:e.deleted});case"fetchSeasons":return Object(i.a)(Object(i.a)({},t),{},{seasons:e.seasons});case"fetchStatsAndGameLogs":return Object(i.a)(Object(i.a)({},t),{},{stats:e.stats,gameLogs:e.gameLogs});case"setLoadingSpinner":return Object(i.a)(Object(i.a)({},t),{},{loadingSpinner:e.loadingSpinner});case"setError":return Object(i.a)(Object(i.a)({},t),{},{error:!0});default:return wt}}var Et=function(){var t=Object(c.useContext)(d.b).globalState,e=Object(u.i)(),r=Object(c.useReducer)(Lt,wt),n=Object(a.a)(r,2),i=n[0],s=n[1],g=Object(l.b)().enqueueSnackbar;Object(c.useEffect)((function(){Object(h.c)(t,i.name,e.coachid)}),[t,i.name]),Object(c.useEffect)((function(){var r;!function(){(r=r||Object(o.a)(Ot().mark((function r(){return Ot().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!Object(p.f)(t.accountId)||!Object(p.f)(e.coachid)){r.next=27;break}return s({type:"setLoadingSpinner",loadingSpinner:!0}),r.next=4,Object(m.b)(t.accountId,e.coachid,s,g);case 4:return r.next=6,Object(m.a)(t.accountId,e.coachid,s,g);case 6:if(s({type:"setLoadingSpinner",loadingSpinner:!1}),t.sportsType!==pt.a.WOMENSICEHOCKEY&&t.sportsType!==pt.a.MENSICEHOCKEY){r.next=12;break}return r.next=10,L(t.sportsType,t.accountId,e.coachid,s,g);case 10:r.next=25;break;case 12:if(t.sportsType!==pt.a.WOMENSRUGBY&&t.sportsType!==pt.a.MENSRUGBY){r.next=17;break}return r.next=15,gt(t.sportsType,t.accountId,e.coachid,s,g);case 15:r.next=25;break;case 17:if(t.sportsType!==pt.a.WOMENSLACROSSE&&t.sportsType!==pt.a.MENSLACROSSE){r.next=22;break}return r.next=20,vt(t.sportsType,t.accountId,e.coachid,s,g);case 20:r.next=25;break;case 22:if(t.sportsType!==pt.a.WOMENSBASEBALL&&t.sportsType!==pt.a.MENSBASEBALL){r.next=25;break}return r.next=25,jt(t.sportsType,t.accountId,e.coachid,s,g);case 25:return r.next=27,Object(E.e)(t.accountId,e.coachid,s,g);case 27:case"end":return r.stop()}}),r)})))).apply(this,arguments)}()}),[t.accountId,e.coachid]);return i.error?Object(k.jsx)(u.a,{to:"/notfound"}):Object(k.jsxs)(k.Fragment,{children:[Object(p.f)(i.name)?Object(k.jsx)(ft.a,{title:Object(ht.c)(i.name,t),description:Object(ht.a)("Check out the profile of ".concat(i.name),t),keywords:Object(ht.b)("".concat(i.name,", Coach, Coach Profile"),t)}):null,Object(p.d)(t)&&Object(p.d)(t.websiteStyles)&&(t.websiteStyles.design.coach===f.a.DESIGN_1||t.websiteStyles.design.staff===f.a.DESIGN_1)?Object(k.jsx)(ut,{name:i.name,alumni:i.alumni,profileImage:i.profileImage,details:i.details,summary:i.summary,bio:i.bio,texts:i.texts,seasons:i.seasons,gameLogs:i.gameLogs,deleted:i.deleted,loadingSpinner:i.loadingSpinner}):null]})};e.default=Object(c.memo)(Et)}}]); 3//# sourceMappingURL=20.b60b8836.chunk.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.