1/*! For license information please see 41.17e99760.chunk.js.LICENSE.txt */ 2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[41],{394:function(e,t,n){"use strict";var r=n(0),a=n(21),i=n(132),o=n.n(i),c=(n(395),n(3)),s=n(22),l=n(20),u=n(1),p=function(e){var t=e.coach,n=Object(r.useContext)(l.b).globalState,i=function(e,t){var n="";return e.forEach((function(e){e.title===t&&(n=e.value)})),n};return Object(u.jsxs)(a.b,{className:"coach-thumbnail1-container curve-border-20px text-black text-no-underline m-t-20px m-b-20px p-t-5px p-b-5px p-l-50px p-r-10px",to:"/coaches/".concat(t.id),children:[Object(u.jsxs)("div",{className:"coach-thumbnail1-main-info-container",children:[Object(u.jsx)("img",{className:"coach-thumbnail1-image curve-border-10px",src:Object(s.m)(n,t.profileImage),loading:"lazy",decoding:"async",alt:Object(c.f)(t.name)?t.name:"Coach Profile Image",style:{objectFit:Object(s.n)(n,t.profileImage)}}),Object(u.jsxs)("div",{className:"coach-thumbnail1-name-container m-l-30px m-r-30px",children:[Object(u.jsx)("p",{className:"coach-thumbnail1-subname alegreya-font-family font-weight-800 text-left-align m-t-0 m-b-0 text-uppercase font-size-l",children:i(t.details,"Title")}),Object(u.jsx)("p",{className:"coach-thumbnail1-name alegreya-font-family font-weight-800 text-left-align m-t-0 m-b-0 text-uppercase font-size-3xl",children:t.name})]}),Object(u.jsx)("p",{className:"coach-thumbnail1-year m-t-0 m-b-0 m-l-30px text-center-align text-capitalize font-size-l",children:i(t.details,"Year")})]}),Object(u.jsxs)("div",{className:"coach-thumbnail1-side-info-container",children:[Object(u.jsx)("div",{className:"coach-thumbnail1-side-info",children:Object(c.f)(i(t.details,"Hometown"))?Object(u.jsx)("p",{className:"coach-thumbnail1-side-info-text text-right-align m-t-5px m-b-5px m-r-10px text-uppercase font-size-l",children:i(t.details,"Hometown")}):null}),Object(u.jsx)(o.a,{className:"coach-thumbnail1-side-info-arrow"})]})]},t.id)};t.a=Object(r.memo)(p)},395:function(e,t,n){},443:function(e,t,n){"use strict";var r=n(0),a=n(21),i=n(132),o=n.n(i),c=(n(444),n(20)),s=n(3),l=n(22),u=n(1),p=function(e){var t=e.player,n=Object(r.useContext)(c.b).globalState;return Object(u.jsxs)(a.b,{className:"player-thumbnail1-container curve-border-20px text-black text-no-underline m-t-20px m-b-20px p-t-5px p-b-5px p-l-50px p-r-10px",to:"/roster/".concat(t.id),children:[Object(u.jsxs)("div",{className:"player-thumbnail1-main-info-container",children:[Object(u.jsx)("img",{className:"player-thumbnail1-image curve-border-10px",src:Object(l.m)(n,t.profileImage),loading:"lazy",decoding:"async",width:"200",height:"200",alt:Object(s.f)(t.name)?t.name:"Player Profile Image",style:{objectFit:Object(l.n)(n,t.profileImage)}}),Object(u.jsx)("div",{className:"player-thumbnail1-team-number-container",children:Object(u.jsx)("p",{className:"player-thumbnail1-team-number text-white x-center m-t-0 m-b-0 curve-border-10px text-center-align font-size-3xl m-l-30px",style:Object(l.g)(n),children:Object(l.i)(t.details,"Team Number")})}),Object(u.jsxs)("div",{className:"player-thumbnail1-name-container m-l-30px m-r-30px",children:[Object(u.jsx)("p",{className:"player-thumbnail1-subname alegreya-font-family font-weight-800 text-left-align m-t-0 m-b-0 text-uppercase font-size-l",children:Object(l.i)(t.details,"Position")}),Object(u.jsx)("p",{className:"player-thumbnail1-name alegreya-font-family font-weight-800 text-left-align m-t-0 m-b-0 text-uppercase font-size-3xl",children:t.name}),Object(u.jsx)("p",{className:"player-thumbnail1-subname-black alegreya-font-family font-weight-800 text-left-align m-t-0 m-b-0 text-uppercase font-size-l",children:Object(l.i)(t.details,"Hometown")})]}),Object(u.jsx)("p",{className:"player-thumbnail1-year m-t-0 m-b-0 m-l-30px text-center-align text-capitalize font-size-l",children:t.alumni?"Alumni":Object(l.i)(t.details,"Year")})]}),Object(u.jsxs)("div",{className:"player-thumbnail1-side-info-container",children:[Object(u.jsxs)("div",{className:"player-thumbnail1-side-info",children:[Object(s.f)(Object(l.i)(t.details,"Height"))?Object(u.jsx)("p",{className:"player-thumbnail1-side-info-text text-right-align m-t-5px m-b-5px m-r-10px text-uppercase font-size-l",children:"Height: ".concat(Object(l.i)(t.details,"Height"))}):null,Object(s.f)(Object(l.i)(t.details,"Weight"))?Object(u.jsx)("p",{className:"player-thumbnail1-side-info-text text-right-align m-t-5px m-b-5px m-r-10px text-uppercase font-size-l",children:"Weight: ".concat(Object(l.i)(t.details,"Weight"))}):null]}),Object(u.jsx)(o.a,{className:"player-thumbnail1-side-info-arrow"})]}),Object(u.jsx)("div",{className:"m-t-40px"})]},t.id)};t.a=Object(r.memo)(p)},444:function(e,t,n){},618:function(e,t,n){},697:function(e,t,n){"use strict";n.r(t);
2var r=n(10),a=n(23),i=n(4),o=n(39),c=n(0),s=n.n(c),l=n(36),u=n(100),p=n(3),h=n(20),m=n(85),b=n(310),f=n(137),d=(n(618),n(53)),j=n(311),x=n(414),g=n(443),y=n(394),O=n(317),v=n(22),w=n(1),N=function(e){var t=e.players,n=e.coaches,r=e.seasonName,a=e.mainLoadingSpinner,i=e.rosterLoadingSpinner,o=e.coachesLoadingSpinner,l=Object(c.useContext)(h.b).globalState;return Object(w.jsx)(w.Fragment,{children:a?Object(w.jsx)(d.a,{color:l.websiteStyles.colors.primaryColor}):Object(w.jsxs)(w.Fragment,{children:[Object(w.jsx)(j.a,{links:[{title:"Home",link:"/"}],lastCrumb:"Roster And Coaches",marginLeft:"100px"}),Object(w.jsxs)("div",{className:"players1-container x-center bg-white curve-border-30px box-shadow-black p-t-20px p-l-100px p-r-100px p-b-100px m-t-50px m-b-30px",children:[Object(w.jsx)(O.a,{title:"Roster ".concat(r)}),Object(w.jsxs)("div",{className:"players1",children:[i?Object(w.jsx)(d.a,{color:l.websiteStyles.colors.primaryColor}):Object(w.jsx)(w.Fragment,{children:t.length>0?Object(w.jsx)(w.Fragment,{children:t.sort((function(e,t){return parseInt(Object(v.i)(e.details,"Team Number"),10)>parseInt(Object(v.i)(t.details,"Team Number"),10)?1:parseInt(Object(v.i)(t.details,"Team Number"),10)>parseInt(Object(v.i)(e.details,"Team Number"),10)?-1:0})).map((function(e){return Object(w.jsx)(s.a.Fragment,{children:Object(w.jsx)(g.a,{player:e})},e.id)}))}):Object(w.jsx)("p",{className:"alegreya-font-family font-weight-800 font-size-4xl full-width text-center-align",children:"Roster Unavailable"})}),Object(p.d)(l.logo)&&Object(p.f)(l.logo.logo2)?Object(w.jsx)("img",{src:l.logo.logo2,className:"players1-icon m-t-50px m-b-0",alt:Object(p.f)(l.teamName)?l.teamName:"Team Logo"}):null]})]}),Object(w.jsxs)("div",{className:"players1-container x-center bg-white curve-border-30px box-shadow-black p-t-20px p-l-100px p-r-100px p-b-100px m-t-50px m-b-30px",children:[Object(w.jsx)(O.a,{title:"Coaches ".concat(r),useH1:!1}),Object(w.jsxs)("div",{className:"players1",children:[o?Object(w.jsx)(d.a,{color:l.websiteStyles.colors.primaryColor}):Object(w.jsx)(w.Fragment,{children:n.length>0?Object(w.jsx)(w.Fragment,{children:n.map((function(e){return Object(w.jsx)(s.a.Fragment,{children:Object(w.jsx)(y.a,{coach:e})},e.id)}))}):Object(w.jsx)("p",{className:"alegreya-font-family font-weight-800 font-size-4xl full-width text-center-align",children:"Coaches Unavailable"})}),Object(p.d)(l.logo)&&Object(p.f)(l.logo.logo2)?Object(w.jsx)("img",{src:l.logo.logo2,className:"players1-icon m-t-50px m-b-0",alt:Object(p.f)(l.teamName)?l.teamName:"Team Logo"}):null]})]}),Object(w.jsx)("div",{className:"players1-other-roster-container x-center m-t-40px",children:Object(w.jsx)(x.a,{})})]})})},S=Object(c.memo)(N),L=n(19);function E(){E=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof d?t:d,o=Object.create(i.prototype),c=new I(r||[]);return a(o,"_invoke",{value:S(e,n,c)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="executing",b="completed",f={};function d(){}function j(){}function x(){}var g={};l(g,o,(function(){return this}));var y=Object.getPrototypeOf,O=y&&y(y(z([])));O&&O!==n&&r.call(O,o)&&(g=O);var v=x.prototype=d.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function n(a,i,o,c){var s=p(e[a],e,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,o,c)}),(function(e){n("throw",e,o,c)})):t.resolve(u).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return i=i?i.then(a,a):a()}})}function S(t,n,r){var a=h;return function(i,o){if(a===m)throw new Error("Generator is already running");if(a===b){if("throw"===i)throw o;return{value:e,done:!0}}for(r.method=i,r.arg=o;;){var c=r.delegate;if(c){var s=L(c,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=m;var l=p(t,n,r);if("normal"===l.type){if(a=r.done?b:"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(a=b,r.method="throw",r.arg=l.arg)}}}function L(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&
2(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=p(a,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,f;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,f):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function z(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return j.prototype=x,a(v,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:j,configurable:!0}),j.displayName=l(x,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===j||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,l(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},w(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(e,n,r,a,i){void 0===i&&(i=Promise);var o=new N(u(e,n,r,a),i);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},w(v),l(v,s,"Generator"),l(v,o,(function(){return this})),l(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=z,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return c.type="throw",c.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;_(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:z(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),f}},t}var k={players:[],coaches:[],seasonName:"",mainLoadingSpinner:!0,rosterLoadingSpinner:!0,coachesLoadingSpinner:!0,error:!1};function _(e,t){switch(t.type){case"fetchPlayers":return Object(i.a)(Object(i.a)({},e),{},{players:t.players});case"fetchCoaches":return Object(i.a)(Object(i.a)({},e),{},{coaches:t.coaches});case"fetchSeason":return Object(i.a)(Object(i.a)({},e),{},{seasonName:t.name});case"setMainLoadingSpinner":return Object(i.a)(Object(i.a)({},e),{},{mainLoadingSpinner:t.loadingSpinner});case"setRosterLoadingSpinner":return Object(i.a)(Object(i.a)({},e),{},{rosterLoadingSpinner:t.loadingSpinner});case"setCoachesLoadingSpinner":return Object(i.a)(Object(i.a)({},e),{},{coachesLoadingSpinner:t.loadingSpinner});case"setError":return Object(i.a)(Object(i.a)({},e),{},{error:!0});default:return k}}var I=function(){var e=Object(l.g)(),t=Object(l.i)(),n=Object(c.useContext)(h.b).globalState,i=Object(c.useReducer)(_,k),s=Object(a.a)(i,2),d=s[0],j=s[1],x=Object(o.b)().enqueueSnackbar;Object(c.useEffect)((function(){Object(p.f)(d.seasonName)&&Object(L.n)(n,"Roster for Season ".concat(d.seasonName))}),[n,d.seasonName]),Object(c.useEffect)((function(){var e;!function(){(e=e||Object(r.a)(E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object(p.f)(n.accountId)||!Object(p.f)(t.seasonid)){e.next=13;break}return j({type:"setMainLoadingSpinner",loadingSpinner:!0}),j({type:"setRosterLoadingSpinner",loadingSpinner:!0}),j({type:"setCoachesLoadingSpinner",loadingSpinner:!0}),e.next=6,Object(f.a)(n.accountId,t.seasonid,j,x);case 6:return j({type:"setMainLoadingSpinner",loadingSpinner:!1}),e.next=9,Object(f.c)(n.accountId,t.seasonid,j,x);case 9:return j({type:"setRosterLoadingSpinner",loadingSpinner:!1}),e.next=12,Object(f.b)(n.accountId,t.seasonid,j,x);case 12:j({type:"setCoachesLoadingSpinner",loadingSpinner:!1});case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}()}),[e.location.pathname,n.accountId,t.seasonid]);return d.error?Object(w.jsx)(l.a,{to:"/notfound"}):Object(w.jsxs)(w.Fragment,{children:[Object(w.jsx)(b.a,{title:Object(m.c)("Roster for Season ".concat(d.seasonName),n),description:Object(m.a)("Check out our roster for Season ".concat(d.seasonName),n),keywords:Object(m.b)("Roster, Season, Season ".concat(d.seasonName),n)}),Object(p.d)(n)&&Object(p.d)(n.websiteStyles)&&n.websiteStyles.design.players===u.a.DESIGN_1?Object(w.jsx)(S,{players:d.players,coaches:d.coaches,seasonName:d.seasonName,mainLoadingSpinner:d.mainLoadingSpinner,rosterLoadingSpinner:d.rosterLoadingSpinner,coachesLoadingSpinner:d.coachesLoadingSpinner}):null]})};t.default=Object(c.memo)(I)}}]); 3//# sourceMappingURL=41.17e99760.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.