vendor: 4,938 bytes, lines 1-2
1/*! For license information please see 43.8d544edc.chunk.js.LICENSE.txt */ 2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[43],{393:function(t,e,r){"use strict";r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return v})),r.d(e,"a",(function(){return m}));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 y?e:y,i=Object.create(a.prototype),c=new C(n||[]);return o(i,"_invoke",{value:S(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",v="completed",m={};function y(){}function b(){}function g(){}var x={};l(x,i,(function(){return this}));var j=Object.getPrototypeOf,w=j&&j(j(G([])));w&&w!==r&&n.call(w,i)&&(x=w);var O=g.prototype=y.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 S(e,r,n){var o=f;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===v){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=_(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=v,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?v:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function _(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,_(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 N(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 C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function G(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=g,o(O,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:b,configurable:!0}),b.displayName=l(g,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,g):(t.__proto__=g,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=G,C.prototype={constructor:C,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:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},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))})),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)},v=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)},m=function(t,e,r,n){return(a=a||Object(c.a)(p().mark((function t(e,r,n,o){var a,i,c,d,v,m,y,b,g,x,j,w,O,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===(v=i.data())||void 0===v?void 0:v.alumni)&&(null===(m=i.data())||void 0===m?void 0:m.alumni),profileImage:null===(y=i.data())||void 0===y?void 0:y.profileImage,email:null===(b=i.data())||void 0===b?void 0:b.email,phone:null===(g=i.data())||void 0===g?void 0:g.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===(w=i.data())||void 0===w?void 0:w.summary:"",bio:null===(O=i.data())||void 0===O?void 0:O.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)}},394:function(t,e,r){"use strict";var n=r(0),o=r(21),a=r(132),i=r.n(a),c=(r(395),r(3)),s=r(22),l=r(20),u=r(1),h=function(t){var e=t.coach,r=Object(n.useContext)(l.b).globalState,a=function(t,e){var r="";return t.forEach((function(t){t.title===e&&(r=t.value)})),r};
2return Object(u.jsxs)(o.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(e.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)(r,e.profileImage),loading:"lazy",decoding:"async",alt:Object(c.f)(e.name)?e.name:"Coach Profile Image",style:{objectFit:Object(s.n)(r,e.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:a(e.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:e.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:a(e.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)(a(e.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:a(e.details,"Hometown")}):null}),Object(u.jsx)(i.a,{className:"coach-thumbnail1-side-info-arrow"})]})]},e.id)};e.a=Object(n.memo)(h)},395:function(t,e,r){},617:function(t,e,r){},696:function(t,e,r){"use strict";r.r(e);var n=r(10),o=r(23),a=r(4),i=r(39),c=r(0),s=r.n(c),l=r(36),u=r(19),h=r(100),f=r(3),p=r(20),d=r(393),v=(r(617),r(53)),m=r(311),y=r(414),b=r(394),g=r(317),x=r(1),j=function(t){var e=t.coaches,r=t.loadingSpinner,n=Object(c.useContext)(p.b).globalState;return Object(x.jsxs)(x.Fragment,{children:[Object(x.jsx)(m.a,{links:[{title:"Home",link:"/"}],lastCrumb:"Coaches and Staff",marginLeft:"100px"}),Object(x.jsxs)("div",{className:"coaches1-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(x.jsx)(g.a,{title:"Coaches and Staff"}),Object(x.jsxs)("div",{className:"coaches1",children:[r?Object(x.jsx)(v.a,{color:n.websiteStyles.colors.primaryColor}):Object(x.jsx)(x.Fragment,{children:e.length>0?Object(x.jsx)(x.Fragment,{children:e.map((function(t){return Object(x.jsx)(s.a.Fragment,{children:Object(x.jsx)(b.a,{coach:t})},t.id)}))}):Object(x.jsx)("p",{className:"alegreya-font-family font-weight-800 font-size-4xl full-width text-center-align",children:"Coaches and Staff Unavailable"})}),Object(f.d)(n.logo)&&Object(f.f)(n.logo.logo2)?Object(x.jsx)("img",{src:n.logo.logo2,className:"coaches1-icon m-t-50px m-b-0",alt:Object(f.f)(n.teamName)?n.teamName:"Team Logo"}):null]})]}),Object(x.jsx)("div",{className:"coaches1-other-roster-container x-center m-t-40px",children:Object(x.jsx)(y.a,{})})]})},w=Object(c.memo)(j),O=r(85),L=r(310);function E(){E=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 m?e:m,i=Object.create(a.prototype),c=new C(n||[]);return o(i,"_invoke",{value:S(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",v={};function m(){}function y(){}function b(){}var g={};l(g,i,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(G([])));j&&j!==r&&n.call(j,i)&&(g=j);var w=b.prototype=m.prototype=Object.create(g);function O(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 S(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=_(c,n);if(s){if(s===v)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===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function _(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,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;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,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function N(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 C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function G(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=b,o(w,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=l(b,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,b):(t.__proto__=b,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},O(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()}))},O(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=G,C.prototype={constructor:C,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,v):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),v},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),v}},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:G(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var S={coaches:[],loadingSpinner:!0};function _(t,e){switch(e.type){case"fetchCoaches":return Object(a.a)(Object(a.a)({},t),{},{coaches:e.coaches});case"setLoadingSpinner":return Object(a.a)(Object(a.a)({},t),{},{loadingSpinner:e.loadingSpinner});default:return S}}var N=function(){var t=Object(l.g)(),e=Object(c.useContext)(p.b).globalState,r=Object(c.useReducer)(_,S),a=Object(o.a)(r,2),s=a[0],v=a[1],m=Object(i.b)().enqueueSnackbar;Object(c.useEffect)((function(){Object(u.n)(e,"Coaches")}),[e]),Object(c.useEffect)((function(){var t;!function(){(t=t||Object(n.a)(E().mark((function t(){return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(f.f)(e.accountId)){t.next=5;break}return v({type:"setLoadingSpinner",loadingSpinner:!0}),t.next=4,Object(d.c)(e.accountId,v,m);case 4:v({type:"setLoadingSpinner",loadingSpinner:!1});case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}()}),[t.location.pathname,e.accountId]);return Object(x.jsxs)(x.Fragment,{children:[Object(x.jsx)(L.a,{title:Object(O.c)("Coaches and Staff",e),pageTitle:"Coaches and Staff",description:Object(O.a)("Check out our coaches and staff",e),keywords:Object(O.b)("Coach, Coaches, Staff, Coaches and Staff",e)}),Object(f.d)(e)&&Object(f.d)(e.websiteStyles)&&(e.websiteStyles.design.coaches===h.a.DESIGN_1||e.websiteStyles.design.staffs===h.a.DESIGN_1)?Object(x.jsx)(w,{coaches:s.coaches,loadingSpinner:s.loadingSpinner}):null]})};e.default=Object(c.memo)(N)}}]); 3//# sourceMappingURL=43.8d544edc.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.