PageSourceSearch

https://www.louisvillemlax.com/static/js/17.b17f338e.chunk.js

js louisvillemlax.com collected 2026-10-08 03:16:06 UTC 102,257 bytes, 3 lines download raw bytes

1/*! For license information please see 17.b17f338e.chunk.js.LICENSE.txt */
2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[17,7],{310:function(t,e,n){"use strict";var r=n(0),o=n(130),c=n(3),i=n(20),a=n(95),s=n(1),l=function(t){var e=t.title,n=t.pageTitle,l=t.description,u=t.keywords,p=Object(r.useContext)(i.b).globalState;return Object(s.jsxs)(o.a,{children:[Object(c.f)(e)?Object(s.jsx)("title",{children:e}):null,Object(c.f)(l)?Object(s.jsx)("meta",{name:"description",content:l}):null,Object(c.f)(u)?Object(s.jsx)("meta",{name:"keywords",content:u}):null,Object(c.f)(n)&&Object(c.d)(p)&&Object(c.d)(p.accountObject)&&Object(c.f)(p.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(p.accountObject.url,'/"\n                            },{\n                                "@type": "ListItem",\n                                "position": 2,\n                                "name": "').concat(n,'"\n                            }]\n                        }\n                    ')}):null,Object(c.d)(p)&&Object(c.d)(p.accountObject)&&Object(c.f)(p.accountObject.url)?Object(s.jsx)("link",{rel:"canonical",href:"".concat(p.accountObject.url).concat(window.location.pathname)}):null,Object(c.f)(e)?Object(s.jsx)("meta",{name:"twitter:title",content:e}):null,Object(c.f)(l)?Object(s.jsx)("meta",{name:"twitter:description",content:l}):null,Object(c.d)(p)&&Object(c.d)(p.socials)&&Object(c.f)(p.socials.twitterURL)?Object(s.jsx)("meta",{name:"twitter:site",content:"@".concat(Object(a.p)(p.socials.twitterURL))}):null,Object(c.f)(e)?Object(s.jsx)("meta",{property:"og:title",content:e}):null,Object(c.f)(l)?Object(s.jsx)("meta",{property:"og:description",content:l}):null]})};l.defaultProps={pageTitle:""},e.a=Object(r.memo)(l)},311:function(t,e,n){"use strict";var r=n(0),o=n(324),c=n(323),i=n(332),a=n(20),s=(n(312),n(1)),l=function(t){var e=t.links,n=t.lastCrumb,l=t.marginLeft,u=t.marginTop,p=t.fontColor,f=Object(r.useContext)(a.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"===p?f.websiteStyles.colors.primaryColor:p},separator:"\u203a","aria-label":"breadcrumb",children:[e.map((function(t){return Object(s.jsx)(c.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:n})]})};l.defaultProps={marginLeft:"100px",marginTop:"280px",fontColor:"normal"},e.a=Object(r.memo)(l)},312:function(t,e,n){},315:function(t,e,n){"use strict";n.d(e,"q",(function(){return r})),n.d(e,"l",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"j",(function(){return s})),n.d(e,"k",(function(){return l})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return p})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return d})),n.d(e,"h",(function(){return m})),n.d(e,"i",(function(){return b})),n.d(e,"m",(function(){return h})),n.d(e,"n",(function(){return j})),n.d(e,"o",(function(){return g})),n.d(e,"p",(function(){return O}));var r="Please wait for the images to load before opening each image",o="Player not found",c="Coach not found",i="This article is not available anymore",a="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",p="This event is not available at the moment",f="This web page is not available anymore",d="This web page is not available at the moment",m="This form is not available anymore",b="This form is not available at the moment",h="This product is not available anymore",j="This product is not available at the moment",g="This product is out of stock",O="Please access this website again using your portal"},316:function(t,e,n){"use strict";var r=n(0),o=(n(318),n(1)),c=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(r.memo)(c)},318:function(t,e,n){},319:function(t,e,n){"use strict";var r=n(0),o=n(379),c=(n(343),n(20)),i=n(3),a=n(19),s=n(1),l=function(t){var e=t.title,n=t.
2image,l=t.url,u=t.shareTitle,p=t.center,f=t.marginTop,d=t.marginBottom,m=t.marginLeft,b=t.mobileMarginTop,h=t.mobileMarginBottom,j=t.mobileMarginLeft,g=Object(r.useContext)(c.b).globalState,O=function(){return Object(i.d)(g)&&Object(i.d)(g.socials)&&Object(i.f)(g.socials.sharingHashTags)?g.socials.sharingHashTags.replace(/\s/g,"").replace(/#\b/g,"").split(","):[]};return Object(s.jsxs)("div",{className:"share-component-1-container",children:[Object(s.jsxs)("div",{className:"share-component-1 share-component-1-desktop ".concat(p?"share-component-1-center":"share-component-1-left"," m-t-").concat(f,"px m-b-").concat(d,"px m-l-").concat(m,"px"),children:[Object(s.jsx)(o.c,{className:"button m-r-10px",url:l,quote:u,description:u,onClick:function(){Object(a.d)("share",{socialMedium:"facebook",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.b,{size:50,round:!0})}),Object(s.jsx)(o.l,{className:"button m-r-10px",title:u,url:l,hashtags:O(),onClick:function(){Object(a.d)("share",{socialMedium:"twitter",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.o,{size:50,round:!0})}),Object(s.jsx)("a",{className:"button m-r-10px",href:"mailto:?subject=".concat(u,"&body=").concat(u,": ").concat(l),onClick:function(){Object(a.d)("share",{socialMedium:"email",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.a,{size:50,round:!0})}),Object(s.jsx)(o.n,{className:"button m-r-10px",title:u,url:l,onClick:function(){Object(a.d)("share",{socialMedium:"whatsapp",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.m,{size:50,round:!0})}),Object(s.jsx)(o.e,{className:"button m-r-10px",title:u,summary:u,source:l,url:l,onClick:function(){Object(a.d)("share",{socialMedium:"linkedin",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.d,{size:50,round:!0})}),Object(s.jsx)(o.i,{className:"button m-r-10px",title:u,summary:u,source:l,url:l,onClick:function(){Object(a.d)("share",{socialMedium:"reddit",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.h,{size:50,round:!0})}),Object(s.jsx)(o.k,{className:"button m-r-10px",title:u,summary:u,source:l,url:l,onClick:function(){Object(a.d)("share",{socialMedium:"tumblr",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.j,{size:50,round:!0})}),Object(i.f)(n)?Object(s.jsx)(o.g,{className:"button m-r-10px",title:u,summary:u,source:l,url:l,media:n,onClick:function(){Object(a.d)("share",{socialMedium:"pinterest",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.f,{size:50,round:!0})}):null]}),Object(s.jsxs)("div",{className:"share-component-1 share-component-1-mobile ".concat(p?"share-component-1-center":"share-component-1-left"," m-t-").concat(b,"px m-b-").concat(h,"px m-l-").concat(j,"px"),children:[Object(s.jsx)(o.c,{className:"button m-r-10px",url:l,quote:u,hashtag:function(){if(Object(i.d)(g)&&Object(i.d)(g.socials)&&Object(i.f)(g.socials.sharingHashTags)){var t=g.socials.sharingHashTags.replace(/\s/g,"").replace(/#\b/g,"").split(",");return"#".concat(t.join(" #"))}return""}(),description:u,onClick:function(){Object(a.d)("share",{socialMedium:"facebook",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.b,{size:35,round:!0})}),Object(s.jsx)(o.l,{className:"button m-r-10px",title:u,url:l,hashtags:O(),onClick:function(){Object(a.d)("share",{socialMedium:"twitter",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.o,{size:35,round:!0})}),Object(s.jsx)("a",{className:"button m-r-10px",href:"mailto:?subject=".concat(u,"&body=").concat(u,": ").concat(l),onClick:function(){Object(a.d)("share",{socialMedium:"email",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.a,{size:35,round:!0})}),Object(s.jsx)(o.n,{className:"button m-r-10px",title:u,url:l,onClick:function(){Object(a.d)("share",{socialMedium:"whatsapp",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.m,{size:35,round:!0})}),Object(s.jsx)(o.e,{className:"button m-r-10px",title:u,summary:u,source:l,url:l,onClick:function(){Object(a.d)("share",{socialMedium:"linkedin",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.d,{size:35,round:!0})}),Object(s.jsx)(o.i,{className:"button m-r-10px",title:u,summary:u,source:l,url:l,onClick:function(){Object(a.d)("share",{socialMedium:"reddit",socialTitle:e.toLowerCase()})},children:Object(s.jsx)(o.h,{size:35,round:!0})})]})]})};l.defaultProps={image:"",center:!1,marginTop:10,marginBottom:10,marginLeft:50,mobileMarginTop:10,mobileMarginBottom:10,mobileMarginLeft:10},e.a=Object(r.memo)(l)},322:function(t,e,n){"use strict";n.d(e,"h",(function(){return r})),n.d(e,"d",(function(){return o}
2)),n.d(e,"g",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"f",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"a",(function(){return u}));var r=function(t){var e,n;return"finished"===t.status&&(null===(e=t.simpleStats)||void 0===e||null===(n=e.our)||void 0===n?void 0:n.R)||0},o=function(t){var e,n;return"finished"===t.status&&(null===(e=t.simpleStats)||void 0===e||null===(n=e.opponent)||void 0===n?void 0:n.R)||0},c=function(t){var e,n;return"finished"===t.status&&(null===(e=t.simpleStats)||void 0===e||null===(n=e.our)||void 0===n?void 0:n.H)||0},i=function(t){var e,n;return"finished"===t.status&&(null===(e=t.simpleStats)||void 0===e||null===(n=e.opponent)||void 0===n?void 0:n.H)||0},a=function(t){var e,n;return"finished"===t.status&&(null===(e=t.simpleStats)||void 0===e||null===(n=e.our)||void 0===n?void 0:n.E)||0},s=function(t){var e,n;return"finished"===t.status&&(null===(e=t.simpleStats)||void 0===e||null===(n=e.opponent)||void 0===n?void 0:n.E)||0},l=function(t){var e=function(t){if("finished"===t.status){var e=r(t),n=o(t);return e>n?"Win":n>e?"Loss":"Tied"}return"-"}(t);return"Win"===e?"W":"Loss"===e?"L":"Tied"===e?"T":"-"},u=function(t){var e=function(t){if("finished"===t.status){var e=r(t),n=o(t);return n>e?"Win":e>n?"Loss":"Tied"}return"-"}(t);return"Win"===e?"W":"Loss"===e?"L":"Tied"===e?"T":"-"}},325:function(t,e,n){"use strict";n.d(e,"d",(function(){return x})),n.d(e,"c",(function(){return w})),n.d(e,"b",(function(){return E})),n.d(e,"a",(function(){return S}));var r,o,c,i,a=n(4),s=n(10),l=n(19),u=n(14),p=n(135),f=n(2),d=n(335),m=n(57),b=n(18),h=function(){return b.b.collection("events")},j=function(t){return function(t){return h().doc(t)}(t).get()},g=function(t,e){return Object(m.a)("events-limited-upcoming|".concat(t,"|").concat(e),(function(){var n=new Date;return n.setHours(0),n.setMinutes(0),n.setSeconds(0),h().where("teamId","==",t).where("published","==",!0).where("eventType","==",d.a.EVENT).where("timeOfEvent",">=",n).orderBy("timeOfEvent").limit(e).get()}))},O=function(t,e,n,r,o){var c=new Date;c.setHours(0),c.setMinutes(0),c.setSeconds(0);var i=h().where("teamId","==",t).where("published","==",!0);return null!==e&&void 0!==e&&(i=i.where("eventType","==",e)),i="upcoming"===n?i.where("timeOfEvent",">=",c).orderBy("timeOfEvent"):i.where("timeOfEvent","<=",c).orderBy("timeOfEvent","desc"),r&&(i=i.startAfter(r)),i.limit(o+1).get()},y=n(136);function v(){v=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},i=c.iterator||"@@iterator",a=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var c=e&&e.prototype instanceof h?e:h,i=Object.create(c.prototype),a=new I(r||[]);return o(i,"_invoke",{value:N(t,n,a)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",d="executing",m="completed",b={};function h(){}function j(){}function g(){}var O={};l(O,i,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(C([])));x&&x!==n&&r.call(x,i)&&(O=x);var w=g.prototype=h.prototype=Object.create(O);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,c,i,a){var s=p(t[o],t,c);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,i,a)}),(function(t){n("throw",t,i,a)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,a)}))}a(s.arg)}var c;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return c=c?c.then(o,o):o()}})}function N(e,n,r){var o=f;return function(c,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===c)throw i;return{value:t,done:!0}}for(r.method=c,r.arg=i;;){var a=r.delegate;if(a){var s=k(a,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var l=p(e,n,r);if("normal"===l.type){if(o=r.done?m:"suspendedYield",l.arg===b)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function k(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&
2(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var c=p(o,e.iterator,n.arg);if("throw"===c.type)return n.method="throw",n.arg=c.arg,n.delegate=null,b;var i=c.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function L(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function C(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,c=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return c.next=c}}throw new TypeError(typeof e+" is not iterable")}return j.prototype=g,o(w,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:j,configurable:!0}),j.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"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(w),t},e.awrap=function(t){return{__await:t}},E(S.prototype),l(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,c){void 0===c&&(c=Promise);var i=new S(u(t,n,r,o),c);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=C,I.prototype={constructor:I,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(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var c=this.tryEntries.length-1;c>=0;--c){var i=this.tryEntries[c],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.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 n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===t||"continue"===t)&&c.tryLoc<=e&&e<=c.finallyLoc&&(c=null);var i=c?c.completion:{};return i.type=t,i.arg=e,c?(this.method="next",this.next=c.finallyLoc,b):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),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}var x=function(t,e,n,o){return(r=r||Object(s.a)(v().mark((function t(e,n,r,o){var c;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=[],t.prev=1,t.next=4,g(e,n);case 4:t.sent.forEach((function(t){t.exists&&c.push(Object(a.a)({},t.data()))})),r({type:"fetchUpcomingEvents",events:c}),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),Object(l.e)(u.t),f.c&&(o(u.t,{variant:"error"}),console.log(t.t0));case 13:case"end":return t.stop()}}),t,null,[[1,9]])})))).apply(this,arguments)},w=function(t,e,n,r,c){return(o=o||Object(s.a)(v().mark((function t(e,n,r,o,c){var i;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O(e,n,r,o,c);case 2:return i=t.sent,t.abrupt("return",Object(y.a)(i,c,o));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)},E=function(t,e,n){return(c=c||Object(s.a)(v().mark((function t(e,n,r){var o,c;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,j(e);case 3:(o=t.sent).exists&&null!==o.data()&&void 0!==o.data()?(c=o.data(),n({type:"fetchEventTitle",title:null===c||void 0===c?void 0:c.title,eventType:null===c||void 0===c?void 0:c.eventType})):(Object(l.e)(u.l),n({type:"setError"}),f.c&&r(u.l,{variant:"error"})),t.next=12;break;case 7:t.prev=7,t.t0=t.catch(0),Object(l.e)(u.u),n({type:"setError"}),f.c&&(r(u.u,{variant:"error"}),console.log(t.t0));case 12:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)},S=function(t,e,n,r){return(i=i||Object(s.a)(v().mark((function t(e,n,r,o){var c,i,a;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,j(n);case 3:if(!(c=t.sent).exists||null===c.data()||void 0===c.data()){t.next=12;break}return i=c.data(),t.next=8,Object(p.a)(null===i||void 0===i?void 0:i.tagIds,null===i||void 0===i?void 0:i.tagReferences,null===i||void 0===i?void 0:i.tagTypes,e);case 8:a=t.sent,r({type:"fetchEvent",title:null===i||void 0===i?void 0:i.title,featureImage:null===i||void 0===i?void 0:i.featureImage,timeOfEvent:null===i||void 0===i?void 0:i.timeOfEvent,endTimeOfEvent:null===i||void 0===i?void 0:i.endTimeOfEvent,venue:null===i||void 0===i?void 0:i.venue,notes:null===i||void 0===i?void 0:i.notes,tags:a,published:null===i||void 0===i?void 0:i.published,eventType:null===i||void 0===i?void 0:i.eventType,seasonId:null===i||void 0===i?void 0:i.seasonId,articleId:null===i||void 0===i?void 0:i.articleId,galleryId:null===i||void 0===i?void 0:i.galleryId}),t.next=15;break;case 12:Object(l.e)(u.l),r({type:"setError"}),f.c&&o(u.l,{variant:"error"});case 15:t.next=22;break;case 17:t.prev=17,t.t0=t.catch(0),Object(l.e)(u.u),r({type:"setError"}),f.c&&(o(u.u,{variant:"error"}),console.log(t.t0));case 22:case"end":return t.stop()}}),t,null,[[0,17]])})))).apply(this,arguments)}},334:function(t,e,n){"use strict";e.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAACcElEQVR4Ad3aA4ydQRRA4eqptm3bdtSYtW3bDmrbtoLaDWrbWNuYnknW3n28m+SL8Z/dp5l7c/QaPdlq3378KIAWGIPduI9v8EFIDF98xwPsxTi0REFbPIM1D58HDTATN+CGSKgMioQ7bmEOGsHgsJCYgLbYjb+IhrIBN+xHh6wEZTaiBjbCE8pOvLENtW0dogOM6IM3UA7yAQNgskWIjiiC1QiEcrAgrEUxa0J0RBkcQSSUk0ThJMpnKSQm4iyUi7iECpkKiXk5HYFyMadQPCMhOsKA1YhywZBorIMpIyF9EQDlooIxOK0QHVETb6Bc3AfUSzEk5ht7E5QQO2FIKaQdPAWF+KBLwpDY/8ZuKGEOw5AwpCH+CAxxR/OEIbOghFqkG3REQdwQHHIPRXRIS7gJDvFCBx0yFpGCQ6IwTYfsgRLuqA55ACXcEx3yHUq4fzrEF0q4EB0SCiVcdLYK8csuL60fUMK56
2ZBHUMI90yH7oIQ7rkMmZIOfKDN1SGu4Cw7xRicdUgi3BIc8RLHYg9U8wSFLE54Qmwg9k3iiVcIQAw5I/LSCKel1UGd4C4rwQ8+U7rUM2C4oZD9MqV2Z1sUHARFf0Ci9S+zBCHbhiFCMyshtvAnrEe2iIVthyeigpzhOu2DERZTK7OitAq64UMQ1VMnqMLQizjj5ZRaNi6hi7Xi6ODY46QMgFNtQylYLA2YMxWcHRnzFKFjsscJRD7vtfIXkjwNoiJz2XKoxoiuOwtPG54oT6AmTI9ecjGiOxXgAb0Rl8mTng0dYhlYJA6wKsSKqKDpiBo7jGdwQiugYoXDHc5zELHRGsdiXkDX+A13K85avWi9wAAAAAElFTkSuQmCC"},335:function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t[t.NONE=0]="NONE",t[t.PRACTICE=1]="PRACTICE",t[t.EVENT=2]="EVENT"}(r||(r={}))},343:function(t,e,n){},344:function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),function(t){t[t.NONE=0]="NONE",t[t.GAME=1]="GAME",t[t.EVENT=2]="EVENT",t[t.TICKET_EVENT=3]="TICKET_EVENT"}(r||(r={}));var o=function(t){return t===r.GAME?"Game":t===r.EVENT?"Event":t===r.TICKET_EVENT?"Special Ticket":""}},346:function(t,e,n){"use strict";n.d(e,"a",(function(){return w})),n.d(e,"d",(function(){return E})),n.d(e,"c",(function(){return S})),n.d(e,"b",(function(){return N}));var r,o,c,i,a=n(4),s=n(10),l=n(19),u=n(14),p=n(41),f=n(135),d=n(2),m=n(3),b=n(18),h=function(){return b.b.collection("galleries")},j=function(t){return function(t){return h().doc(t)}(t).get()},g=function(t,e){return h().where("teamId","==",t).where("tagIds","array-contains",e).where("published","==",!0).orderBy("timeOfGallery","desc").get()},O=function(t,e,n){var r=h().where("teamId","==",t).where("published","==",!0).orderBy("timeOfGallery","desc");return e&&(r=r.startAfter(e)),r.limit(n+1).get()},y=n(136),v=n(347);function x(){x=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},i=c.iterator||"@@iterator",a=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var c=e&&e.prototype instanceof h?e:h,i=Object.create(c.prototype),a=new I(r||[]);return o(i,"_invoke",{value:N(t,n,a)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",d="executing",m="completed",b={};function h(){}function j(){}function g(){}var O={};l(O,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(C([])));v&&v!==n&&r.call(v,i)&&(O=v);var w=g.prototype=h.prototype=Object.create(O);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,c,i,a){var s=p(t[o],t,c);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,i,a)}),(function(t){n("throw",t,i,a)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,a)}))}a(s.arg)}var c;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return c=c?c.then(o,o):o()}})}function N(e,n,r){var o=f;return function(c,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===c)throw i;return{value:t,done:!0}}for(r.method=c,r.arg=i;;){var a=r.delegate;if(a){var s=k(a,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var l=p(e,n,r);if("normal"===l.type){if(o=r.done?m:"suspendedYield",l.arg===b)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function k(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var c=p(o,e.iterator,n.arg);if("throw"===c.type)return n.method="throw",n.arg=c.arg,n.delegate=null,b;var i=c.arg;
2return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function L(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function C(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,c=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return c.next=c}}throw new TypeError(typeof e+" is not iterable")}return j.prototype=g,o(w,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:j,configurable:!0}),j.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"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(w),t},e.awrap=function(t){return{__await:t}},E(S.prototype),l(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,c){void 0===c&&(c=Promise);var i=new S(u(t,n,r,o),c);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=C,I.prototype={constructor:I,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(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var c=this.tryEntries.length-1;c>=0;--c){var i=this.tryEntries[c],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.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 n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===t||"continue"===t)&&c.tryLoc<=e&&e<=c.finallyLoc&&(c=null);var i=c?c.completion:{};return i.type=t,i.arg=e,c?(this.method="next",this.next=c.finallyLoc,b):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),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}var w=function(t,e,n,o){return(r=r||Object(s.a)(x().mark((function t(e,n,r,o){var c;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=[],t.prev=1,t.next=4,g(e,n);case 4:t.sent.forEach((function(t){t.exists&&t.data().photoIds.length>0&&c.push(Object(a.a)({},t.data()))})),r({type:"fetchGalleries",galleries:c}),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),Object(l.e)(u.w),d.c&&(o(u.w,{variant:"error"}),console.log(t.t0));case 13:case"end":return t.stop()}}),t,null,[[1,9]])})))).apply(this,arguments)},E=function(t,e,n,r){return(o=o||Object(s.a)(x().mark((function t(e,n,r,o){var c,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n!==Object(p.a)(e)){t.next=6;break}return Object(l.e)(u.P),r({type:"setError"}),d.c&&o(u.P,{variant:"error"}),t.abrupt("return");case 6:return t.next=8,j(n);case 8:(c=t.sent).exists&&null!==c.data()&&void 0!==c.data()?(i=c.data(),r({type:"fetchGalleryTitle",title:null===i||void 0===i?void 0:i.title})):(Object(l.e)(u.P),r({type:"setError"}),d.c&&o(u.P,{variant:"error"})),t.next=17;break;case 12:t.prev=12,t.t0=t.catch(0),Object(l.e)(u.x),r({type:"setError"}),d.c&&(o(u.x,{variant:"error"}),console.log(t.t0));case 17:case"end":return t.stop()}}),t,null,[[0,12]])})))).apply(this,arguments)},S=function(t,e,n,r){return(c=c||Object(s.a)(x().mark((function t(e,n,r,o){var c,i,a,b,h;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n!==Object(p.a)(e)){t.next=6;break}return Object(l.e)(u.P),r({type:"setError"}),d.c&&o(u.P,{variant:"error"}),t.abrupt("return");case 6:return t.next=8,j(n);case 8:if(!(c=t.sent).exists||null===c.data()||void 0===c.data()){t.next=20;break}return a=c.data(),t.next=13,Object(f.a)(null===a||void 0===a?void 0:a.tagIds,null===a||void 0===a?void 0:a.tagReferences,null===a||void 0===a?void 0:a.tagTypes,e);case 13:return b=t.sent,h=Array(null===a||void 0===a?void 0:a.photoIds.length),t.next=17,Promise.all(null===a||void 0===a?void 0:a.photoIds.map((function(t,n){return(i=i||Object(s.a)(x().mark((function t(n,r){var o,c,i;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(v.b)(n);case 2:if(!(o=t.sent).exists||null===o.data()||void 0===o.data){t.next=9;break}return c=o.data(),t.next=7,Object(f.a)(null===c||void 0===c?void 0:c.tagIds,null===c||void 0===c?void 0:c.tagReferences,null===c||void 0===c?void 0:c.tagTypes,e);case 7:i=t.sent,h[r]={id:n,title:null===c||void 0===c?void 0:c.title,image:null===c||void 0===c?void 0:c.image,tags:i};case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)})));case 17:r({type:"fetchGallery",title:null===a||void 0===a?void 0:a.title,tags:b,articleId:null===a||void 0===a?void 0:a.articleId,seasonId:null===a||void 0===a?void 0:a.seasonId,gameId:null===a||void 0===a?void 0:a.gameId,published:!!Object(m.d)(null===a||void 0===a?void 0:a.published)&&(null===a||void 0===a?void 0:a.published),photos:h}),t.next=23;break;case 20:Object(l.e)(u.P),r({type:"setError"}),d.c&&o(u.P,{variant:"error"});case 23:t.next=30;break;case 25:t.prev=25,t.t0=t.catch(0),Object(l.e)(u.x),r({type:"setError"}),d.c&&(o(u.x,{variant:"error"}),console.log(t.t0));case 30:case"end":return t.stop()}}),t,null,[[0,25]])})))).apply(this,arguments)},N=function(t,e,n){return(i=i||Object(s.a)(x().mark((function t(e,n,r){var o;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O(e,n,r);case 2:return o=t.sent,t.abrupt("return",Object(y.a)(o,r,n));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},347:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return i}));var r=n(18),o=function(){return r.b.collection("photos")},c=function(t){return function(t){return o().doc(t)}(t).get()},i=function(t,e,n){return o().where("tagIds","array-contains",e).where("teamId","==",t).where("published","==",!0).orderBy("timeCreated","desc").limit(n).get()}},349:function(t,e,n){"use strict";var r=n(0),o=(n(358),n(333)),c=n(315),i=n(316),a=n(20),s=n(3),l=n(53),u=n(319),p=n(95),f=n(1),d=function(t){var e=t.i
2d,n=t.title,d=t.photos,m=t.deleted,b=t.published,h=t.loadingSpinner,j=Object(r.useContext)(a.b).globalState;return Object(f.jsx)("div",{className:"gallery-component1-container-container x-center m-b-50px",children:Object(f.jsxs)("div",{className:"gallery-component1-container box-shadow-black bg-white curve-border-40px x-center p-t-100px p-b-100px p-l-100px p-r-100px m-t-50px",children:[Object(f.jsx)("h1",{className:"gallery-component1-title font-size-4xl alegreya-font-family font-weight-800 text-left-align font-spacing-wider text-uppercase m-t-0 m-b-20px m-l-50px m-r-50px",children:n}),h?Object(f.jsx)(l.a,{color:j.websiteStyles.colors.primaryColor}):Object(f.jsx)(f.Fragment,{children:!m&&b?Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(u.a,{title:"Gallery",url:Object(p.h)(j,e),shareTitle:Object(p.g)(n,j.teamAlias),marginTop:0,marginBottom:50,mobileMarginBottom:50}),d.length>=50?Object(f.jsx)("p",{className:"p-t-20px p-b-20px p-l-20px p-r-20px font-size-xl m-t-0 m-b-0 font-weight-100 text-gray",children:c.q}):null,Object(f.jsx)(o.b,{children:Object(f.jsx)(o.a,{options:{buttons:{showFullscreenButton:!1,showDownloadButton:!1,showAutoplayButton:!1}},children:Object(f.jsx)("div",{className:"gallery-component1-img-container m-l-50px",children:d.map((function(t){return Object(f.jsx)("a",{className:"m-t-0 m-b-0 m-l-0 m-r-0",href:t.image,children:Object(f.jsx)("img",{className:"gallery-component1-img curve-border-10px m-l-5px m-r-5px m-t-3px m-b-3px",src:t.image,alt:t.title?t.title:n})},t.id)}))})})}),Object(s.d)(j.logo)&&Object(s.f)(j.logo.logo2)?Object(f.jsx)("img",{src:j.logo.logo2,className:"gallery-component1-icon m-t-50px m-b-0",alt:Object(s.f)(j.teamName)?j.teamName:"Team Logo"}):null]}):m?Object(f.jsx)(i.a,{text:c.j}):b?null:Object(f.jsx)(i.a,{text:c.k})})]})})};d.defaultProps={title:"Gallery",loadingSpinner:!1},e.a=Object(r.memo)(d)},352:function(t,e,n){"use strict";var r=n(0),o=n(333),c=n(20),i=(n(359),n(3)),a=n(1),s=function(t){var e=t.title,n=t.image,s=t.alt,l=Object(r.useContext)(c.b).globalState;return Object(a.jsx)(a.Fragment,{children:Object(i.f)(n)?Object(a.jsxs)("div",{className:"image-with-title-component1 curve-border-15px m-b-30px x-center",children:[Object(a.jsx)(o.b,{children:Object(a.jsx)(o.a,{options:{buttons:{showFullscreenButton:!1,showDownloadButton:!1,showAutoplayButton:!1}},children:Object(a.jsx)("a",{href:n,children:Object(a.jsx)("img",{className:"image-with-title-component1-image",src:n,alt:e||s})})})}),Object(a.jsxs)("div",{className:"image-with-title-component1-text-container",children:[Object(a.jsx)("p",{className:"image-with-title-component1-text alegreya-font-family font-size-2xl font-weight-800 text-left-align font-spacing-wider m-t-0 m-b-0",children:e}),Object(i.d)(l.silhouetteLogo)&&Object(i.f)(l.silhouetteLogo.logo3)?Object(a.jsx)("img",{className:"image-with-title-component1-logo",src:l.silhouetteLogo.logo3,alt:Object(i.f)(l.teamName)?l.teamName:"Team Logo"}):null]})]}):null})};e.a=Object(r.memo)(s)},353:function(t,e,n){"use strict";var r=n(0),o=n(307),c=n(299),i=n(300),a=n(120),s=n.n(a),l=n(361),u=n.n(l),p=n(362),f=n.n(p),d=n(314),m=n(20),b=n(3),h=n(22),j=(n(360),n(1)),g=function(t){var e=t.showShipping,n=t.showReturn,a=t.shippingPolicy,l=t.returnPolicy,p=Object(r.useContext)(m.b).globalState,g=function(){return Object(b.d)(a)&&"-1"!==a?a:Object(b.f)(p.policies.shipping)?p.policies.shipping:""},O=function(){return Object(b.d)(l)&&"-1"!==l?l:Object(b.f)(p.policies.return)?p.policies.return:""};return Object(j.jsxs)("div",{className:"shipping-return-policy-component",children:[e&&Object(b.f)(g())?Object(j.jsxs)(o.a,{className:"shipping-return-policy-accordian",children:[Object(j.jsx)(c.a,{expandIcon:Object(j.jsx)(s.a,{}),"aria-controls":"shipping-policy-content",id:"shipping-policy-header",children:Object(j.jsxs)("div",{className:"shipping-return-policy-accordian-summary",children:[Object(j.jsx)(u.a,{style:{marginRight:"10px"}}),Object(j.jsx)("p",{className:"roboto-font-family text-uppercase font-size-l",children:"Shipping Policy"})]})}),Object(j.jsx)(i.a,{children:Object(j.jsx)("p",{className:"alegreya-font-family font-weight-200 text-left-align",children:Object(d.a)(Object(h.c)(g()))})})]}):null,n&&Object(b.f)(O())?Object(j.jsxs)(o.a,{className:"shipping-return-policy-accordian",children:[Object(j.jsx)(c.a,{expandIcon:Object(j.jsx)(s.a,{}),"aria-controls":"return-policy-content",id:"return-policy-header",children:Object(j.jsxs)("div",{className:"shipping-return-policy-accordian-summary",children:[Object(j.jsx)(f.a,{style:{marginRight:"10px"}}),Object(j.jsx)("p",{className:"roboto-font-family text-uppercase font-size-l",children:"Return Policy"})]})}),Object(j.jsx)(i.a,{children:Object(j.jsx)("p",{className:"alegreya-font-family font-weight-200 text-left-align",children:Object(d.a)(Object(h.c)(O
2()))})})]}):null]})};g.defaultProps={showShipping:!0,showReturn:!0,shippingPolicy:"",returnPolicy:""},e.a=Object(r.memo)(g)},354:function(t,e,n){"use strict";var r=n(0),o=(n(363),n(1)),c=function(t){var e=t.info;return Object(o.jsx)("p",{className:"info-component-container alegreya-font-family font-spacing-wider text-left-align m-l-20px m-r-20px",children:e})};e.a=Object(r.memo)(c)},355:function(t,e,n){"use strict";n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"l",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"k",(function(){return l})),n.d(e,"f",(function(){return u})),n.d(e,"a",(function(){return p})),n.d(e,"e",(function(){return f})),n.d(e,"i",(function(){return d})),n.d(e,"c",(function(){return m})),n.d(e,"j",(function(){return b})),n.d(e,"d",(function(){return h}));var r=n(3),o=n(377),c=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?Object(o.b)(t):null})):[]},i=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?Object(o.b)(t):null})):[]},a=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"shots"===t.type?Object(o.c)(t):null})):[]},s=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"blocks"===t.type?Object(o.c)(t):null})):[]},l=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"saves"===t.type?Object(o.c)(t):null})):[]},u=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"shots"===t.type?Object(o.c)(t):null})):[]},p=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"blocks"===t.type?Object(o.c)(t):null})):[]},f=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"saves"===t.type?Object(o.c)(t):null})):[]},d=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?Object(o.d)(t):null})):[]},m=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?Object(o.d)(t):null})):[]},b=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?Object(o.e)(t):null})):[]},h=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?Object(o.e)(t):null})):[]}},356:function(t,e,n){"use strict";n.d(e,"j",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"o",(function(){return a})),n.d(e,"i",(function(){return s})),n.d(e,"k",(function(){return l})),n.d(e,"p",(function(){return u})),n.d(e,"n",(function(){return p})),n.d(e,"g",(function(){return f})),n.d(e,"a",(function(){return d})),n.d(e,"h",(function(){return m})),n.d(e,"c",(function(){return b})),n.d(e,"f",(function(){return h})),n.d(e,"l",(function(){return j})),n.d(e,"d",(function(){return g})),n.d(e,"m",(function(){return O})),n.d(e,"e",(function(){return y}));var r=n(3),o=n(378),c=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?Object(o.b)(t):null})):[]},i=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?Object(o.b)(t):null})):[]},a=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"shots"===t.type?Object(o.c)(t):null})):[]},s=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"blocks"===t.type?Object(o.c)(t):null})):[]},l=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"groundBalls"===t.type?Object(o.c)(t):null})):[]},u=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"turnOvers"===t.type?Object(o.c)(t):null})):[]},p=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team&&"saves"===t.type?Object(o.c)(t):null})):[]},f=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"shots"===t.type?Object(o.c)(t):null})):[]},d=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"blocks"===t.type?Object(o.c)(t):null})):[]},m=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"turnOvers"===t.type?Object(o.c)(t):null})):[]},b=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"groundBalls"===t.type?Object(o.c)(t):null})):[]},h=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team&&"saves"===t.type?Object(o.c)(t):null})):[]},j=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?Object(o.d)(t):null})):[]},g=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?Object(o.d)(t):null})):[]},O=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?Object(o.e)(t):null})):[]},y=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?Object(o.e)(t):null})):[]}},357:function(t,e,n){"use strict";n.d(e,"c",(function(){return o}
2)),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n(3),o=function(t){return Object(r.d)(t)?Object.keys(t).sort((function(t,e){return Number(t)-Number(e)})).map((function(e){var n;return"Inning ".concat(e,": ").concat((null===(n=t[e])||void 0===n?void 0:n.our)||0)})):[]},c=function(t){return Object(r.d)(t)?Object.keys(t).sort((function(t,e){return Number(t)-Number(e)})).map((function(e){var n;return"Inning ".concat(e,": ").concat((null===(n=t[e])||void 0===n?void 0:n.opponent)||0)})):[]},i=function(t){if(Object(r.d)(t)&&Object(r.d)(t.our)){var e=t.our;return"R: ".concat(e.R||0," | H: ").concat(e.H||0," | E: ").concat(e.E||0)}return"R: 0 | H: 0 | E: 0"},a=function(t){if(Object(r.d)(t)&&Object(r.d)(t.opponent)){var e=t.opponent;return"R: ".concat(e.R||0," | H: ").concat(e.H||0," | E: ").concat(e.E||0)}return"R: 0 | H: 0 | E: 0"}},358:function(t,e,n){},359:function(t,e,n){},360:function(t,e,n){},361:function(t,e,n){"use strict";var r=n(54),o=n(55);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=o(n(0)),i=(0,r(n(56)).default)(c.createElement("path",{d:"M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zm-.5 1.5l1.96 2.5H17V9.5h2.5zM6 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm2.22-3c-.55-.61-1.33-1-2.22-1s-1.67.39-2.22 1H3V6h12v9H8.22zM18 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"}),"LocalShippingOutlined");e.default=i},362:function(t,e,n){"use strict";var r=n(54),o=n(55);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=o(n(0)),i=(0,r(n(56)).default)(c.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM6.5 9L10 5.5 13.5 9H11v4H9V9zm11 6L14 18.5 10.5 15H13v-4h2v4z"}),"SwapVerticalCircleOutlined");e.default=i},363:function(t,e,n){},368:function(t,e,n){"use strict";n.d(e,"l",(function(){return p})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return d})),n.d(e,"a",(function(){return m})),n.d(e,"j",(function(){return b})),n.d(e,"d",(function(){return h})),n.d(e,"h",(function(){return j})),n.d(e,"b",(function(){return g})),n.d(e,"i",(function(){return O})),n.d(e,"c",(function(){return y})),n.d(e,"k",(function(){return v})),n.d(e,"e",(function(){return x}));var r=n(3),o=n(15),c=n(22),i=function(t){if(Object(r.d)(t)){var e="";return Object(r.f)(t.playerName)&&(Object(r.f)(e)?e+=" - ".concat(Object(c.d)(t.playerName),"(S)"):e+="".concat(Object(c.d)(t.playerName),"(S)")),Object(r.f)(t.assistName)&&(Object(r.f)(e)?e+=" - ".concat(Object(c.d)(t.assistName),"(A)"):e+="".concat(Object(c.d)(t.assistName),"(A)")),0!==t.timeInSeconds&&(Object(r.f)(e)?e+=" - ".concat(Object(o.i)(t.timeInSeconds)):e+=Object(o.i)(t.timeInSeconds)),Object(r.f)(e)&&(e+=" - Try"),e}return""},a=function(t){if(Object(r.d)(t)){var e="";return Object(r.f)(t.playerName)&&(Object(r.f)(e)?e+=" - ".concat(Object(c.d)(t.playerName)):e+="".concat(Object(c.d)(t.playerName))),0!==t.timeInSeconds&&(Object(r.f)(e)?e+=" - ".concat(Object(o.i)(t.timeInSeconds)):e+=Object(o.i)(t.timeInSeconds)),Object(r.f)(e)&&(e+=" - Conversion"),e}return""},s=function(t){if(Object(r.d)(t)){var e="";return Object(r.f)(t.playerName)&&(Object(r.f)(e)?e+=" - ".concat(Object(c.d)(t.playerName)):e+="".concat(Object(c.d)(t.playerName))),0!==t.timeInSeconds&&t.convertedToGoal&&(Object(r.f)(e)?e+=" - ".concat(Object(o.i)(t.timeInSeconds)):e+=Object(o.i)(t.timeInSeconds)),Object(r.f)(e)&&(t.convertedToGoal?e+=" - Penalty Goal":e+=" - Penalty Kick"),e}return""},l=function(t){if(Object(r.d)(t)){var e="";return Object(r.f)(t.playerName)&&(Object(r.f)(e)?e+=" - ".concat(Object(c.d)(t.playerName)):e+="".concat(Object(c.d)(t.playerName))),0!==t.timeInSeconds&&(Object(r.f)(e)?e+=" - ".concat(Object(o.i)(t.timeInSeconds)):e+=Object(o.i)(t.timeInSeconds)),Object(r.f)(e)&&(e+=" - Drop Goal"),e}return""},u=function(t){if(Object(r.d)(t)){var e="";return 0!==t.timeInSeconds&&(Object(r.f)(e)?e+=" - ".concat(Object(o.i)(t.timeInSeconds)):e+=Object(o.i)(t.timeInSeconds)),Object(r.f)(e)&&(e+=" - Foul",t.yellowCard&&(e+=" - Yellow Card"),t.redCard&&(e+=" - Red Card")),e}return""},p=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?i(t):null})):[]},f=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?i(t):null})):[]},d=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?a(t):null})):[]},m=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?a(t):null})):[]},b=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?s(t):null})):[]},h=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?s(t):null})):[]},j=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?l(t):null})):[]},g=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?l(t):null})):[]},O=function(t){return Object(r.d)(t)?t.map((function(t){return"our"===t.team?u(t):null})):[]},y=function(t){return Object(r.d)(t)?t.map((function(t){return"opponent"===t.team?u(t):null})):[]},v=function(t){return function(t,e,n,r,o){var c=[];return t.forEach((function(t){"our"===t.team&&c.push(i(t))})),e.forEach((function(t){"our"===t.team&&c.push(a(t))}
2)),n.forEach((function(t){"our"===t.team&&c.push(s(t))})),r.forEach((function(t){"our"===t.team&&c.push(l(t))})),o.forEach((function(t){"our"===t.team&&c.push(u(t))})),c}(t.tries,t.conversions,t.penaltyKicks,t.dropGoals,t.fouls)},x=function(t){return function(t,e,n,r,o){var c=[];return t.forEach((function(t){"opponent"===t.team&&c.push(i(t))})),e.forEach((function(t){"opponent"===t.team&&c.push(a(t))})),n.forEach((function(t){"opponent"===t.team&&c.push(s(t))})),r.forEach((function(t){"opponent"===t.team&&c.push(l(t))})),o.forEach((function(t){"opponent"===t.team&&c.push(u(t))})),c}(t.tries,t.conversions,t.penaltyKicks,t.dropGoals,t.fouls)}},377:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"a",(function(){return u}));var r=n(15),o=n(3),c=n(22),i=function(t){if(Object(o.d)(t)){if("our"===t.team){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),0!==t.timeInSeconds&&(Object(o.f)(e)?e+=" - ".concat(Object(r.i)(t.timeInSeconds)):e+=Object(r.i)(t.timeInSeconds)),Object(o.f)(t.scorerName)&&(Object(o.f)(e)?e+=" - ".concat(Object(c.d)(t.scorerName),"(G)"):e+="".concat(Object(c.d)(t.scorerName),"(G)")),Object(o.f)(t.assist1Name)&&(Object(o.f)(e)?e+=" - ".concat(Object(c.d)(t.assist1Name),"(A)"):e+="".concat(Object(c.d)(t.assist1Name),"(A)")),e}var n="";return"na"!==t.period&&(n+=t.period.toUpperCase()),0!==t.timeInSeconds&&(Object(o.f)(n)?n+=" - ".concat(Object(r.i)(t.timeInSeconds)):n+=Object(r.i)(t.timeInSeconds)),n}return null},a=function(t){if(Object(o.d)(t)){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),"shots"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," shots"):e+="".concat(t.number," shots")),"blocks"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," blocks"):e+="".concat(t.number," blocks")),"saves"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," saves"):e+="".concat(t.number," saves")),e}return null},s=function(t){if(Object(o.d)(t)){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),0!==t.endTimeInSeconds&&(Object(o.f)(e)?e+=" | From: ".concat(Object(r.i)(t.startTimeInSeconds)," - To: ").concat(Object(r.i)(t.endTimeInSeconds)):e+="From: ".concat(Object(r.i)(t.startTimeInSeconds)," - To: ").concat(Object(r.i)(t.endTimeInSeconds))),Object(o.f)(e)?"".concat(e," | Shots: ").concat(t.shots," | Opponent Shots: ").concat(t.opponentShots," | Goals: ").concat(t.goals):"Shots: ".concat(t.shots," | Opponent Shots: ").concat(t.opponentShots," | Goals: ").concat(t.goals)}return null},l=function(t){if(Object(o.d)(t)){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),0!==t.timeInSeconds&&(Object(o.f)(e)?e+=" - ".concat(Object(r.i)(t.timeInSeconds)):e+=Object(r.i)(t.timeInSeconds)),"our"===t.team&&Object(o.f)(t.playerName)&&(Object(o.f)(e)?e+=" - ".concat(Object(c.d)(t.playerName)):e+=Object(c.d)(t.playerName)),0!==t.penaltyTimeInSeconds&&(Object(o.f)(e)?e+=" - Penalty Time: ".concat(Object(r.i)(t.timeInSeconds)):e+="Penalty Time: ".concat(Object(r.i)(t.timeInSeconds))),Object(o.f)(e)?"".concat(e," - Type: ").concat(t.type," - Offence: ").concat(u(t.offence)):"Type: ".concat(t.type," - Offence: ").concat(u(t.offence))}return null},u=function(t){switch(t){case"butt":return"Butt-Ending";case"behind":return"Checking From Behind";case"fighting":return"Fighting";case"fight-instigator":return"Fight Insitigator";case"facemask":return"Holding/Grasping the Facemask";case"push":return"Pushing-off of Opponent with Skate";case"leave":return"Leaving the bench during an Altercation";case"spearing":return"Spearing";case"minor-injury":return"Intentional Minor Injury";case"boarding":return"Boarding";case"charging":return"Charging";case"contact-head":return"Contact to the Head";case"cross-checking":return"Cross-Checking";case"game-delay":return"Delay of Game";case"elbowing":return"Elbowing";case"slashing":return"Slashing";case"roughing":return"Roughing";case"obstruction":return"Obstruction";case"high-sticking":return"High Sticking";case"kneeing":return"Kneeing";case"holding":return"Holding";case"holding-stick":return"Holding the Stick";case"interference":return"Interference";case"hooking":return"Hooking";case"unsportsmanlike":return"Unsportsmanlike Conduct";case"tripping":return"Tripping";default:return""}}},378:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"a",(function(){return u}));var r=n(15),o=n(3),c=n(22),i=function(t){if(Object(o.d)(t)){if("our"===t.team){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),0!==t.timeInSeconds&&(Object(o.f)(e)?e+=" - ".concat(Object(r.i)(t.timeInSeconds)):e+=Object(r.i)(t.timeInSeconds)),Object(o.f)(t.scorerName)&&(Object(o.f)(e)?e+=" - ".concat(Object(c.d)(t.scorerName),"(G)"):e+="".concat(Object(c.d)(t.scorerName),"(G)")),Object(o.f)(t.assist1Name)&&(Object(o.f)(e)?e+=" - ".concat(Object(c.d)(t.assist1Name),"(A)"):e+="".concat(Object(c.d)(t.assist1Name),"(A)")),e}var n="";return"na"!==t.period&&(n+=t.period.toUpperCase()),0!==t.timeInSeconds&&(Object(o.f)(n)?n+=" - ".concat(Object(r.i)(t.timeInSeconds)):n+=Object(r.i)(t.timeInSeconds)),n}return null},a=function(t){if(Object(o.d)(t)){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),"shots"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," shots"):e+="".concat(t.number," shots")),"blocks"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," blocks"):e+="".concat(t.number," blocks")),"turnOvers"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," turn overs"):e+="".concat(t.number," turn overs")),"groundBalls"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," ground balls"):e+="".concat(t.number," ground balls")),"saves"===t.type&&(Object(o.f)(e)?e+=" - ".concat(t.number," saves"):e+="".concat(t.number," saves")),e}return null},s=function(t){if(Object(o.d)(t)){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),0!==t.endTimeInSeconds&&(Object(o.f)(e)?e+=" | From: ".concat(Object(r.i)(t.startTimeInSeconds)," - To: ").concat(Object(r.i)(t.endTimeInSeconds)):e+="From: ".concat(Object(r.i)(t.startTimeInSeconds)," - To: ").concat(Object(r.i)(t.endTimeInSeconds))),Object(o.f)(e)?"".concat(e," | Shots: ").concat(t.shots," | Opponent Shots: ").concat(t.opponentShots," | Goals: ").concat(t.goals):"Shots: ".concat(t.shots," | Opponent Shots: ").concat(t.opponentShots," | Goals: ").concat(t.goals)}return null},l=function(t){if(Object(o.d)(t)){var e="";return"na"!==t.period&&(e+=t.period.toUpperCase()),0!==t.timeInSeconds&&(Object(o.f)(e)?e+=" - ".concat(Object(r.i)(t.timeInSeconds)):e+=Object(r.i)(t.timeInSeconds)),"our"===t.team&&Object(o.f)(t.playerName)&&(Object(o.f)(e)?e+=" - ".concat(Object(c.d)(t.playerName)):e+=Object(c.d)(t.playerName)),0!==t.penaltyTimeInSeconds&&(Object(o.f)(e)?e+=" - Penalty Time: ".concat(Object(r.i)(t.timeInSeconds)):e+="Penalty Time: ".concat(Object(r.i)(t.timeInSeconds))),Object(o.f)(e)?"".concat(e," - Type: ").concat(t.type," - Offence: ").concat(u(t.offence)):"Type: ".concat(t.type," - Offence: ").concat(u(t.offence))}return null},u=function(t){switch(t){case"butt":return"Butt-Ending";case"behind":return"Checking From Behind";case"fighting":return"Fighting";case"fight-instigator":return"Fight Insitigator";case"facemask":return"Holding/Grasping the Facemask";case"push":return"Pushing-off of Opponent with Skate";case"leave":return"Leaving the bench during an Altercation";case"spearing":return"Spearing";case"minor-injury":return"Intentional Minor Injury";case"boarding":return"Boarding";case"warding":return"Warding";case"manUp":return"Man Up";case"manDown":return"Man Down";case"offside":return"Offside";case"inOut":return"In-out of the crease";case"falseStart":return"False Start";case"charging":return"Charging";case"contact-head":return"Contact to the Head";case"cross-checking":return"Cross-Checking";case"game-delay":return"Delay of Game";case"elbowing":return"Elbowing";case"slashing":return"Slashing";case"roughing":return"Roughing";case"obstruction":return"Obstruction";case"high-sticking":return"High Sticking";case"kneeing":return"Kneeing";case"holding":return"Holding";case"holding-stick":return"Holding the Stick";case"interference":return"Interference";case"hooking":return"Hooking";case"unsportsmanlike":return"Unsportsmanlike Conduct";case"tripping":return"Tripping";default:return""}}},390:function(t,e,n){},391:function(t,e,n){},392:function(t,e,n){},405:function(t,e,n){"use strict";var r=n(0),o=n(314),c=n(3),i=n(20),a=n(349),s=(n(390),n(36)),l=(n(391),n(334)),u=n(15),p=n(326),f=n(327),d=n(13),m=n(328),b=n(322),h=n(1),j=function(t){var e=t.i
2d,n=t.game,o=t.opponentName,a=t.opponentLogo,u=t.status,j=t.homeGame,g=(t.timeOfGame,Object(r.useContext)(i.b).globalState),O=Object(s.g)(),y=function(t){if("postponed"===u)return"Postponed";if("cancelled"===u)return"Cancelled";if("tba"===u||"tbat"===u||"scheduled"===u)return"- vs -";if(t){if(g.sportsType===d.a.WOMENSICEHOCKEY||g.sportsType===d.a.MENSICEHOCKEY)return"".concat(Object(p.p)(n)," - ").concat(Object(p.d)(n));if(g.sportsType===d.a.WOMENSRUGBY||g.sportsType===d.a.MENSRUGBY)return"".concat(Object(m.E)(n)," - ").concat(Object(m.j)(n));if(g.sportsType===d.a.WOMENSLACROSSE||g.sportsType===d.a.MENSLACROSSE)return"".concat(Object(f.r)(n)," - ").concat(Object(f.d)(n));if(g.sportsType===d.a.WOMENSBASEBALL||g.sportsType===d.a.MENSBASEBALL)return"".concat(Object(b.h)(n)," - ").concat(Object(b.d)(n))}return g.sportsType===d.a.WOMENSICEHOCKEY||g.sportsType===d.a.MENSICEHOCKEY?"".concat(Object(p.d)(n)," - ").concat(Object(p.p)(n)):g.sportsType===d.a.WOMENSRUGBY||g.sportsType===d.a.MENSRUGBY?"".concat(Object(m.j)(n)," - ").concat(Object(m.E)(n)):g.sportsType===d.a.WOMENSLACROSSE||g.sportsType===d.a.MENSLACROSSE?"".concat(Object(f.d)(n)," - ").concat(Object(f.r)(n)):g.sportsType===d.a.WOMENSBASEBALL||g.sportsType===d.a.MENSBASEBALL?"".concat(Object(b.d)(n)," - ").concat(Object(b.h)(n)):"- vs -"};return Object(h.jsx)("div",{children:j?Object(h.jsxs)("div",{className:"game-widget1 box-shadow-black curve-border-20px m-t-20px m-b-20px p-t-30px p-b-30px p-l-20px p-r-20px x-center",children:[Object(h.jsx)("div",{className:"game-widget1-logo-container",children:Object(h.jsx)("img",{className:"game-widget1-logo",src:Object(c.f)(a)?a:l.a,loading:"lazy",decoding:"async",alt:o})}),Object(h.jsxs)("div",{children:[Object(h.jsx)("p",{className:"game-widget1-score m-t-50px m-b-0 m-l-5px m-r-5px font-size-6xl p-l-10px p-r-10px curve-border-5px",children:y(!1)}),Object(h.jsx)("button",{className:"game-widget1-view-game m-t-20px m-b-0",onClick:function(){O.push("/games/".concat(e,"/info"))},type:"button",children:"View Game"})]}),Object(h.jsx)("div",{className:"game-widget1-logo-container",children:Object(h.jsx)("img",{className:"game-widget1-logo",src:g.logo.logo2,loading:"lazy",decoding:"async",alt:g.teamAlias})})]}):Object(h.jsxs)("div",{className:"game-widget1 box-shadow-black curve-border-20px m-t-20px m-b-20px p-t-30px p-b-30px p-l-20px p-r-20px x-center",children:[Object(h.jsx)("div",{className:"game-widget1-logo-container",children:Object(h.jsx)("img",{className:"game-widget1-logo",src:g.logo.logo2,loading:"lazy",decoding:"async",alt:g.teamAlias})}),Object(h.jsxs)("div",{children:[Object(h.jsx)("p",{className:"game-widget1-score m-t-50px m-b-0 m-l-5px m-r-5px font-size-6xl p-l-10px p-r-10px curve-border-5px",children:y(!0)}),Object(h.jsx)("button",{className:"game-widget1-view-game m-t-20px m-b-0",onClick:function(){O.push("/games/".concat(e,"/info"))},type:"button",children:"View Game"})]}),Object(h.jsx)("div",{className:"game-widget1-logo-container",children:Object(h.jsx)("img",{className:"game-widget1-logo",src:Object(c.f)(a)?a:l.a,loading:"lazy",decoding:"async",alt:o})})]})})},g=Object(r.memo)(j),O=n(22),y=n(315),v=n(316),x=n(352),w=n(53),E=(n(355),n(356),n(357),n(368),n(319)),S=n(95),N=function(t){var e,n=t.id,s=t.title,l=t.author,p=t.featureImage,f=t.content,d=t.mobileContent,m=t.timeOfArticle,b=t.galleryId,j=t.photos,N=t.galleryPublished,k=t.game,L=t.gameId,T=t.opponentName,I=t.opponentLogo,C=t.gameStatus,A=t.homeGame,P=t.timeOfGame,G=t.deleted,F=t.published,_=t.loadingSpinner,M=t.galleryLoadingSpinner,B=t.gameLoadingSpinner,z=Object(r.useContext)(i.b).globalState,H=function(){return Object(c.f)(p)?p:Object(c.d)(Object(O.r)(z,"articleFeatureImage"))?Object(O.r)(z,"articleFeatureImage"):""};return Object(h.jsxs)("div",{className:"article-component1-container-container x-center m-b-50px",children:[Object(h.jsxs)("div",{className:"article-component1-container box-shadow-black bg-white curve-border-40px x-center p-t-100px p-b-100px p-l-100px p-r-100px m-t-50px",children:[Object(h.jsx)("h1",{className:"article-component1-title font-size-4xl alegreya-font-family font-weight-800 text-left-align font-spacing-wider text-uppercase m-t-0 m-b-30px m-l-50px m-r-50px",children:s}),_?Object(h.jsx)(w.a,{color:z.websiteStyles.colors.primaryColor}):Object(h.jsx)(h.Fragment,{children:!G&&F?Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)(E.a,{title:"Article",image:H(),url:Object(S.b)(z,
2n),shareTitle:Object(S.a)(s,z.teamAlias,l),marginTop:0,marginBottom:20,mobileMarginBottom:20}),Object(c.f)(l)?Object(h.jsxs)("div",{className:"article-component1-author-container",children:[Object(h.jsx)("h2",{className:"article-component1-author font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-30px m-l-50px m-r-20px",children:"By: ".concat(l)}),Object(h.jsx)("h2",{className:"article-component1-dot font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-30px m-l-5px m-r-5px",children:"\u25cf"}),Object(h.jsx)("h2",{className:"article-component1-time font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-30px m-l-20px m-r-20px",children:Object(u.g)(Object(u.h)(m))})]}):Object(h.jsx)("div",{children:Object(h.jsx)("h2",{className:"article-component1-time font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-30px m-l-50px m-r-50px",children:Object(u.g)(Object(u.h)(m))})}),Object(h.jsx)(x.a,{title:s,image:H(),alt:"Article Feature Image"}),Object(h.jsx)("div",{className:"m-t-50px"}),Object(c.f)(L)?Object(h.jsx)(h.Fragment,{children:B?Object(h.jsx)(w.a,{color:z.websiteStyles.colors.primaryColor,size:50,marginTop:100}):Object(h.jsx)(h.Fragment,{children:Object(h.jsx)(g,{id:L,game:k,opponentName:T,opponentLogo:I,status:C,homeGame:A,timeOfGame:P})})}):null,Object(h.jsx)("div",{className:"article-component1-text alegreya-font-family font-spacing-wider line-height-wider text-left-align m-t-50px m-l-50px m-r-50px",children:Object(o.a)(f)}),Object(h.jsx)("div",{className:"article-component1-text-mobile alegreya-font-family font-spacing-wider line-height-wider text-left-align m-t-50px m-l-50px m-r-50px",children:(e=d,Object(c.f)(e)&&"<p></p>"!==e?Object(o.a)(d):Object(o.a)(f))}),Object(c.d)(z.logo)&&Object(c.f)(z.logo.logo2)?Object(h.jsx)("img",{src:z.logo.logo2,className:"article-component1-icon m-t-50px m-b-0",alt:Object(c.f)(z.teamName)?z.teamName:"Team Logo"}):null]}):G?Object(h.jsx)(v.a,{text:y.a}):F?null:Object(h.jsx)(v.a,{text:y.b})})]}),Object(c.f)(b)&&Object(c.d)(j)&&j.length>0&&N?Object(h.jsx)(a.a,{id:b,photos:j,deleted:!1,published:N,loadingSpinner:M}):null]})};N.defaultProps={mobileContent:"",photos:[],galleryId:"",galleryPublished:!1,game:{},gameId:"",opponentName:"",opponentLogo:"",gameStatus:"tba",homeGame:!1,timeOfGame:{},loadingSpinner:!1,galleryLoadingSpinner:!1,gameLoadingSpinner:!1};e.a=Object(r.memo)(N)},407:function(t,e,n){"use strict";var r=n(0),o=n.n(r),c=n(314),i=(n(188),n(104)),a=n(22),s=n(46),l=n(3),u=n(344),p=n(15),f=n(333),d=n(20),m=(n(392),n(1)),b=function(t){var e=t.title,n=t.image,o=t.alt,c=Object(r.useContext)(d.b).globalState;return Object(m.jsx)(m.Fragment,{children:Object(l.f)(n)?Object(m.jsxs)("div",{className:"image-with-title-component2 curve-border-15px",children:[Object(m.jsx)(f.b,{children:Object(m.jsx)(f.a,{options:{buttons:{showFullscreenButton:!1,showDownloadButton:!1,showAutoplayButton:!1}},children:Object(m.jsx)("a",{href:n,children:Object(m.jsx)("img",{className:"image-with-title-component2-image",src:n,alt:e||o})})})}),Object(m.jsxs)("div",{className:"image-with-title-component2-text-container",children:[Object(m.jsx)("p",{className:"image-with-title-component2-text alegreya-font-family font-size-2xl font-weight-800 text-left-align font-spacing-wider m-t-0 m-b-0",children:e}),Object(l.d)(c.silhouetteLogo)&&Object(l.f)(c.silhouetteLogo.logo3)?Object(m.jsx)("img",{className:"image-with-title-component2-logo",src:c.silhouetteLogo.logo3,alt:Object(l.f)(c.teamName)?c.teamName:"Team Logo"}):null]})]}):null})},h=Object(r.memo)(b),j=n(354),g=function(t){var e=t.ticket,n=t.quantity,f=t.setState,b=Object(r.useContext)(d.b).globalState,g=function(){return Object(l.f)(e.featureImage)?e.featureImage:""},O=function(t){return Object(l.d)(n[t.id])?t.price*n[t.id]:0},y=function(){var t=0,r=e.prices.map((function(t){return t.id}));return Object.keys(n).forEach((function(e){r.includes(e)&&(t+=n[e])})),t},v=function(){return e.ticketsTotal-e.ticketsSold-e.ticketsHold};return Object(m.jsx)(o.a.Fragment,{children:e.deleted||!Object(l.f)(e.stripeProductId)||!e.inStock||e.prices.length<=0?null:Object(m.jsxs)(m.Fragment,{children:[e.eventType!==u.a.TICKET_EVENT?Object(m.jsx)("h2",{className:"tickets-component1-subtitle alegreya-font-family font-size-3xl font-weight-800 text-left-align text-uppercase m-t-50px m-b-20px m-l-20px m-r-20px",children:e.title}):null,e.eventType===u.a.TICKET_EVENT?Object(m.jsx)("p",{className:"alegreya-font-family font-spacing-wider line-height-wider text-left-align m-t-0 m-l-20px m-r-20px",children:"Venue: ".concat(e.eventVenue)}):null,e.eventType===u.a.TICKET_EVENT?Object(m.jsx)("p",{className:"alegreya-font-family font-spacing-wider line-height-wider text-left-align m-t-0 m-l-20px m-r-20px",children:"Time: ".concat(Object(p.e)(Object(p.h)(e.timeOfEvent))," - ").concat(Object(p.e)(Object(p.h)(e.endTimeOfEvent)))}):null,function(){var t=v();return t<10&&t>1?Object(m.jsx)(j.a,{info:"".concat(t," Tickets Available")}
2):1===t?Object(m.jsx)(j.a,{info:"1 Ticket Available"}):t<1?Object(m.jsx)(j.a,{info:"Tickets Unavailable"}):null}(),Object(l.f)(g())?Object(m.jsxs)("div",{className:"tickets-component1-image m-l-20px m-r-20px",children:[Object(m.jsx)(h,{title:e.title,image:g(),alt:"Ticket Feature Image"}),Object(m.jsx)("div",{className:"m-t-50px"})]}):null,Object(l.f)(e.shortDescription)?Object(m.jsx)("div",{className:"tickets-component1-text alegreya-font-family font-spacing-wider line-height-wider text-left-align m-t-10px m-l-20px m-r-20px",children:Object(c.a)(Object(a.c)(e.shortDescription))}):null,Object(m.jsxs)("div",{className:"tickets-component1-table box-shadow-black m-t-20px m-l-20px m-r-20px",children:[Object(m.jsxs)("div",{className:"tickets-component1-price-header-container",style:Object(a.g)(b),children:[Object(m.jsx)("p",{className:"tickets-component1-price-header-description text-left-align m-t-0 m-b-0",children:"Tickets"}),Object(m.jsx)("p",{className:"tickets-component1-price-header-price text-center-align m-t-0 m-b-0",children:"Price"}),Object(m.jsx)("p",{className:"tickets-component1-price-header-quantity text-center-align m-t-0 m-b-0",children:"Quantity"}),Object(m.jsx)("p",{className:"tickets-component1-price-header-total text-right-align m-t-0 m-b-0",children:"Subtotal"})]}),e.prices.map((function(t){return Object(m.jsx)(o.a.Fragment,{children:t.published&&Object(l.f)(t.stripePriceId)?Object(m.jsxs)("div",{className:"tickets-component1-price-container",children:[Object(m.jsxs)("div",{className:"tickets-component1-price-description text-left-align",children:[Object(m.jsx)("p",{className:"alegreya-font-family text-uppercase m-t-0 m-b-0",children:t.title}),Object(m.jsx)("p",{className:"alegreya-font-family font-weight-300 font-size-s m-t-0 m-b-0",children:Object(c.a)(Object(a.c)(t.description))})]}),Object(m.jsx)("p",{className:"tickets-component1-price-price normal-font-family font-weight-400 text-center-align m-t-0 m-b-0",children:Object(s.d)(t.price)}),Object(m.jsx)("div",{className:"tickets-component1-price-quantity text-center-align",children:Object(m.jsx)(i.a,{count:Object(l.d)(n[t.id])?n[t.id]:0,increment:function(){f({type:"incrementQuantity",id:t.id})},decrement:function(){f({type:"decrementQuantity",id:t.id})},disableIncrement:y()>=v()})}),Object(m.jsx)("p",{className:"tickets-component1-price-total normal-font-family font-weight-400 text-right-align m-t-0 m-b-0",children:Object(s.d)(O(t))})]}):null},t.id)}))]})]})},e.id)};e.a=Object(r.memo)(g)},440:function(t,e,n){"use strict";var r=n(10),o=n(23),c=n(9),i=n(4),a=n(0),s=n.n(a),l=n(39),u=n(3),p=n(20),f=(n(188),n(46)),d=n(84),m=n(145),b=n(95),h=n(344),j=n(147),g=n(28),O=n(353),y=n(41),v=n(407),x=n(53),w=n(1);function E(){E=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},i=c.iterator||"@@iterator",a=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var c=e&&e.prototype instanceof h?e:h,i=Object.create(c.prototype),a=new I(r||[]);return o(i,"_invoke",{value:N(t,n,a)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",d="executing",m="completed",b={};function h(){}function j(){}function g(){}var O={};l(O,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(C([])));v&&v!==n&&r.call(v,i)&&(O=v);var x=g.prototype=h.prototype=Object.create(O);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,c,i,a){var s=p(t[o],t,c);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,i,a)}),(function(t){n("throw",t,i,a)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,a)}))}a(s.arg)}var c;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return c=c?c.then(o,o):o()}})}function N(e,n,r){var o=f;return function(c,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===c)throw i;return{value:t,done:!0}}for(r.method=c,r.arg=i;;){var a=r.delegate;if(a){var s=k(a,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var l=p(e,n,r);if("normal"===l.type){if(o=r.done?m:"suspendedYield",l.arg===b)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function k(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&
2(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var c=p(o,e.iterator,n.arg);if("throw"===c.type)return n.method="throw",n.arg=c.arg,n.delegate=null,b;var i=c.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function L(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function C(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,c=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return c.next=c}}throw new TypeError(typeof e+" is not iterable")}return j.prototype=g,o(x,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:j,configurable:!0}),j.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"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(x),t},e.awrap=function(t){return{__await:t}},w(S.prototype),l(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,c){void 0===c&&(c=Promise);var i=new S(u(t,n,r,o),c);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(x),l(x,s,"Generator"),l(x,i,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=C,I.prototype={constructor:I,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(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var c=this.tryEntries.length-1;c>=0;--c){var i=this.tryEntries[c],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.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 n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===t||"continue"===t)&&c.tryLoc<=e&&e<=c.finallyLoc&&(c=null);var i=c?c.completion:{};return i.type=t,i.arg=e,c?(this.method="next",this.next=c.finallyLoc,b):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),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}var S={quantity:{},customerInfoPopup:!1,customerName:"",customerEmail:"",checkoutLoadingSpinner:!1};function N(t,e){switch(e.type){case"reset":return Object(i.a)({},S);case"incrementQuantity":return Object(u.d)(t.quantity[e.id])?Object(i.a)(Object(i.a)({},t),{},{quantity:Object(i.a)(Object(i.a)({},t.quantity),{},Object(c.a)({},e.id,t.quantity[e.id]+1))}):Object(i.a)(Object(i.a)({},t),{},{quantity:Object(i.a)(Object(i.a)({},t.quantity),{},Object(c.a)({},e.id,1))});case"decrementQuantity":return Object(u.d)(t.quantity[e.id])&&t.quantity[e.id]>0?Object(i.a)(Object(i.a)({},t),{},{quantity:Object(i.a)(Object(i.a)({},t.quantity),{},Object(c.a)({},e.id,t.quantity[e.id]-1))}):Object(i.a)(Object(i.a)({},t),{},{quantity:Object(i.a)(Object(i.a)({},t.quantity),{},Object(c.a)({},e.id,0))});case"openCustomerInfoPopup":return Object(i.a)(Object(i.a)({},t),{},{customerInfoPopup:!0});case"closeCustomerInfoPopup":return Object(i.a)(Object(i.a)({},t),{},{customerInfoPopup:!1});case"setCustomerName":return Object(i.a)(Object(i.a)({},t),{},{customerName:e.name});case"setCustomerEmail":return Object(i.a)(Object(i.a)({},t),{},{customerEmail:e.email});case"setLoadingSpinner":return Object(i.a)(Object(i.a)({},t),{},{checkoutLoadingSpinner:e.loadingSpinner});default:return S}}var k=function(t){var e,n=t.tickets,c=t.loadingSpinner,i=Object(a.useReducer)(N,S),k=Object(o.a)(i,2),L=k[0],T=k[1],I=Object(a.useContext)(p.b),C=I.globalState,A=I.setGlobalState,P=Object(l.b)().enqueueSnackbar,G=function(){var t=0;
2return n.forEach((function(e){e.prices.forEach((function(e){t+=function(t){return Object(u.d)(L.quantity[t.id])?t.price*L.quantity[t.id]:0}(e)}))})),t},F=function(){var t=!0;return n.forEach((function(e){e.prices.forEach((function(e){Object(u.d)(L.quantity[e.id])&&L.quantity[e.id]>0&&(t=!1)}))})),t},_=function(){return(e=e||Object(r.a)(E().mark((function t(){var e,r,o,c,i;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Object(g.g)(C)){t.next=3;break}return P("This ticket is not available for purchase at the moment",{variant:"error"}),t.abrupt("return");case 3:if(T({type:"setLoadingSpinner",loadingSpinner:!0}),e=[],r=0,n.forEach((function(t){t.prices.forEach((function(t){Object(u.d)(L.quantity[t.id])&&L.quantity[t.id]>0&&(e.push({id:t.stripePriceId,quantity:L.quantity[t.id],cartItemId:Object(y.c)(),shippable:!1,shippingPrice:0,shippingWeight:0}),r+=t.price)}))})),0!==r){t.next=19;break}if(!L.customerInfoPopup){t.next=17;break}if(Object(u.f)(L.customerName)){t.next=12;break}return P("Please enter valid customer name",{variant:"error"}),t.abrupt("return");case 12:if(Object(u.a)(L.customerEmail,(function(){}),P)){t.next=15;break}return P("Please enter valid customer email",{variant:"error"}),t.abrupt("return");case 15:t.next=19;break;case 17:return T({type:"openCustomerInfoPopup"}),t.abrupt("return");case 19:if(n[0].eventType!==h.a.EVENT){t.next=25;break}return o="".concat(Object(b.d)(C,n[0].eventId),"#ticketTitle"),t.next=23,Object(m.a)(C.stripeAccountId,e,L.customerName,L.customerEmail,{},!1,0,0,Object(g.l)(C),o,P);case 23:t.next=35;break;case 25:if(n[0].eventType!==h.a.GAME){t.next=31;break}return c="".concat(Object(b.j)(C,n[0].eventId),"/tickets"),t.next=29,Object(m.a)(C.stripeAccountId,e,L.customerName,L.customerEmail,{},!1,0,0,Object(g.l)(C),c,P);case 29:t.next=35;break;case 31:if(n[0].eventType!==h.a.TICKET_EVENT){t.next=35;break}return i="".concat(Object(b.o)(C,n[0].eventId)),t.next=35,Object(m.a)(C.stripeAccountId,e,L.customerName,L.customerEmail,{},!1,0,0,Object(g.l)(C),i,P);case 35:T({type:"setLoadingSpinner",loadingSpinner:!1}),T({type:"reset"});case 37:case"end":return t.stop()}}),t)})))).apply(this,arguments)};return Object(w.jsx)(w.Fragment,{children:c?Object(w.jsx)(x.a,{color:C.websiteStyles.colors.primaryColor}):Object(w.jsx)(w.Fragment,{children:Object(g.t)(C,n)?Object(w.jsx)("div",{className:"tickets-component1-container-container x-center m-b-50px",id:"ticketTitle",children:Object(w.jsxs)("div",{className:"tickets-component1-container box-shadow-black bg-white curve-border-40px x-center p-t-100px p-b-100px p-l-100px p-r-100px m-t-50px",children:[Object(w.jsx)("h1",{className:"tickets-component1-title alegreya-font-family font-weight-800 text-left-align text-uppercase m-t-0 m-b-0 m-l-20px m-r-20px",children:n[0].eventType===h.a.TICKET_EVENT?n[0].title:"TICKETS"}),n.map((function(t){return Object(w.jsx)(s.a.Fragment,{children:Object(w.jsx)(v.a,{ticket:t,quantity:L.quantity,setState:T})},t.id)})),f.c?Object(w.jsxs)(w.Fragment,{children:[Object(w.jsxs)("div",{className:"tickets-component1-subprice-footer-container m-l-20px m-r-20px m-t-30px",children:[Object(w.jsx)("p",{className:"tickets-component1-subprice-footer-total-label alegreya-font-family font-weight-800 font-size-2xl text-uppercase text-right-align m-t-0 m-b-0",children:"Subtotal:"}),Object(w.jsx)("p",{className:"tickets-component1-subprice-footer-total text-right-align m-t-0 m-b-0",children:Object(f.f)(G())})]}),Object(w.jsxs)("div",{className:"tickets-component1-subprice-footer-container m-l-20px m-r-20px",children:[Object(w.jsx)("p",{className:"tickets-component1-subprice-footer-total-label alegreya-font-family font-weight-800 font-size-2xl text-uppercase text-right-align m-t-0 m-b-0",children:"Platform Fee:"}),Object(w.jsx)("p",{className:"tickets-component1-subprice-footer-total text-right-align m-t-0 m-b-0",children:Object(f.b)(G())})]})]}):null,Object(w.jsxs)("div",{className:"tickets-component1-price-footer-container m-l-20px m-r-20px",children:[Object(w.jsx)("p",{className:"tickets-component1-price-footer-total-label alegreya-font-family font-weight-800 font-size-3xl text-uppercase text-right-align m-t-0 m-b-0",children:"Total:"}
2),Object(w.jsx)("p",{className:"tickets-component1-price-footer-total text-right-align m-t-0 m-b-0",children:Object(f.d)(G())})]}),Object(w.jsxs)("div",{className:"tickets-component1-buttons",children:[Object(w.jsx)(d.a,{onClick:function(){if(Object(g.g)(C)){var t=[];n.forEach((function(e){e.prices.forEach((function(n){Object(u.d)(L.quantity[n.id])&&L.quantity[n.id]>0&&t.push({cartItemType:"TICKET",cartItemId:n.id,ticketId:e.id,stripePriceId:n.stripePriceId,quantity:L.quantity[n.id],shippable:!1,shippingPrice:0,shippingWeight:0})}))})),Object(g.c)(t,A,P),T({type:"reset"})}else P("This ticket is not available for purchase at the moment",{variant:"error"})},title:"Add to Cart",disabled:F(),transparent:!0,backgroundColor:C.websiteStyles.colors.primaryColor,fontColor:Object(u.f)(C.websiteStyles.colors.fontColor)?"".concat(C.websiteStyles.colors.fontColor):"white",fontFamily:"HelveticaNeue-CondensedBold, Roboto Condensed, Helvetica Neue, Helvetica,Arial, sans-serif",borderRadius:"5px",width:"250px",height:"44px"}),Object(w.jsx)(d.a,{onClick:_,title:"Buy Now",disabled:F(),backgroundColor:C.websiteStyles.colors.primaryColor,fontColor:Object(u.f)(C.websiteStyles.colors.fontColor)?"".concat(C.websiteStyles.colors.fontColor):"white",fontFamily:"HelveticaNeue-CondensedBold, Roboto Condensed, Helvetica Neue, Helvetica,Arial, sans-serif",borderRadius:"5px",width:"250px",height:"44px",loadingSpinner:L.checkoutLoadingSpinner})]}),Object(w.jsx)("div",{className:"m-l-20px m-r-20px m-t-50px",children:Object(w.jsx)(O.a,{showShipping:!1})}),Object(u.d)(C.logo)&&Object(u.f)(C.logo.logo2)?Object(w.jsx)("img",{src:C.logo.logo2,className:"tickets-component1-icon m-t-50px m-b-0",alt:Object(u.f)(C.teamName)?C.teamName:"Team Logo"}):null,Object(w.jsx)(j.a,{open:L.customerInfoPopup,onCancel:function(){T({type:"closeCustomerInfoPopup"}),T({type:"setLoadingSpinner",loadingSpinner:!1})},name:L.customerName,email:L.customerEmail,onNameUpdate:function(t){T({type:"setCustomerName",name:t})},onEmailUpdate:function(t){T({type:"setCustomerEmail",email:t})},checkout:function(){_(),T({type:"closeCustomerInfoPopup"})}})]})}):null})})};e.a=Object(a.memo)(k)},639:function(t,e,n){},690:function(t,e,n){"use strict";n.r(e);var r=n(10),o=n(23),c=n(4),i=n(0),a=n(39),s=n(36),l=n(19),u=n(100),p=n(3),f=n(20),d=n(134),m=n(346),b=n(85),h=n(310),j=n(325),g=n(53),O=n(311),y=n(314),v=(n(639),n(349)),x=n(22),w=n(315),E=n(405),S=n(316),N=n(352),k=n(15),L=n(319),T=n(95),I=n(440),C=n(84),A=n(28),P=n(1),G=function(t){var e=t.id,n=t.title,r=t.venue,o=t.featureImage,c=t.notes,a=t.timeOfEvent,s=t.endTimeOfEvent,l=t.articleId,u=t.articleTitle,d=t.articleAuthor,m=t.articleContent,b=t.articlePublished,h=t.timeOfArticle,j=t.galleryId,O=t.photos,G=t.galleryPublished,F=t.tickets,_=t.deleted,M=t.published,B=t.loadingSpinner,z=t.articleLoadingSpinner,H=t.galleryLoadingSpinner,R=t.ticketsLoadingSpinner,q=Object(i.useContext)(f.b).globalState;Object(i.useEffect)((function(){window.location.href.includes("#ticketTitle")&&Object(p.d)(document.getElementById("ticketTitle"))&&document.getElementById("ticketTitle").scrollIntoView({behavior:"smooth"})}),[document.getElementById("ticketTitle"),F,m]);var U=function(){return Object(p.f)(o)?o:Object(p.d)(Object(x.r)(q,"eventFeatureImage"))?Object(x.r)(q,"eventFeatureImage"):""};return Object(P.jsxs)("div",{className:"event-component1-container-container x-center m-b-50px",children:[Object(P.jsxs)("div",{className:"event-component1-container box-shadow-black bg-white curve-border-40px x-center p-t-100px p-b-100px p-l-100px p-r-100px m-t-50px",children:[Object(P.jsx)("h1",{className:"event-component1-title font-size-4xl alegreya-font-family font-weight-800 text-left-align font-spacing-wider text-uppercase m-t-0 m-b-30px m-l-50px m-r-50px",children:n}),B?Object(P.jsx)(g.a,{color:q.websiteStyles.colors.primaryColor}):Object(P.jsx)(P.Fragment,{children:!_&&M?Object(P.jsxs)(P.Fragment,{children:[Object(P.jsx)(L.a,{title:"Event",image:U(),url:Object(T.d)(q,e),shareTitle:Object(T.c)(n,q.teamAlias,r,a),marginTop:0,marginBottom:20,mobileMarginBottom:20}),Object(p.f)(r)?Object(P.jsx)("h2",{className:"event-component1-venue font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-10px m-l-50px m-r-50px",children:"Venue: ".concat(r)}):null,Object(p.d)(a)?Object(P.jsx)("h3",{className:"event-component1-time font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-10px m-l-50px m-r-50px",children:Object(k.g)(Object(k.h)(a))}):null,Object(p.d)(a)&&Object(p.d)(s)&&a.seconds!==s.seconds?Object(P.jsx)("h3",{className:"event-component1-time font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-0px m-l-50px m-r-50px",children:"".concat(Object(k.l)(Object(k.h)(a))," - ").concat(Object(k.l)(Object(k.h)(s)))}):Object(p.d)(a)&&Object(p.d)(s)&&a.seconds===s.seconds||Object(p.d)(a)&&!Object(p.d)(s)?Object(P.jsx)("h3",{className:"event-component1-time font-size-xl alegreya-font-family font-weight-400 text-left-align font-spacing-normal text-gray m-t-0 m-b-00px m-l-50px m-r-50px",children:Object(k.l)(Object(k.h)(a))}):(Object(p.d)(a),null),Object(A.q)(q,F,s)?Object(P.jsx)("div",{className:"text-left-align m-l-50px m-t-0",children:Object(P.jsx)(C.a,{title:"Buy Tickets",backgroundColor:q.websiteStyles.colors.primaryColor,fontColor:Object(p.f)(q.websiteStyles.colors.fontColor)?"".concat(q.websiteStyles.colors.fontColor):"white",borderColor:"#ffffff",fontSize:"0.9rem",borderRadius:"5px",width:"200px",height:"44px",onClick:function(){document.getElementById("ticketTitle").scrollIntoView({behavior:"smooth"})}})}):null,Object(P.jsx)("div",{className:"m-t-30px",children:Object(P.jsx)(N.a,{title:n,image:U(),alt:"Event Feature Image"})}),Object(P.jsx)("div",{className:"m-t-50px"}
2),Object(p.f)(c)?Object(P.jsx)("p",{className:"practice-component1-text-title font-size-3xl text-left-align m-t-50px m-l-50px m-r-50px",children:"Event Description:"}):null,Object(p.f)(c)?Object(P.jsx)("div",{className:"event-component1-text alegreya-font-family font-spacing-wider line-height-wider text-left-align m-t-10px m-l-50px m-r-50px",children:Object(y.a)(Object(x.c)(c))}):null,Object(p.d)(q.logo)&&Object(p.f)(q.logo.logo2)?Object(P.jsx)("img",{src:q.logo.logo2,className:"event-component1-icon m-t-50px m-b-0",alt:Object(p.f)(q.teamName)?q.teamName:"Team Logo"}):null]}):_?Object(P.jsx)(S.a,{text:w.f}):M?null:Object(P.jsx)(S.a,{text:w.g})})]}),Object(A.q)(q,F,s)?Object(P.jsx)(I.a,{tickets:F,loadingSpinner:R}):null,Object(p.f)(l)&&Object(p.f)(m)&&"<p></p>\n"!==m&&b?Object(P.jsx)(E.a,{id:l,title:"Article: ".concat(u),author:d,featureImage:o,content:m,timeOfArticle:h,deleted:!1,published:b,loadingSpinner:z}):null,Object(p.f)(j)&&Object(p.d)(O)&&O.length>0&&G?Object(P.jsx)(v.a,{id:j,photos:O,deleted:!1,published:G,loadingSpinner:H}):null]})};G.defaultProps={articleId:"",articleTitle:"",articleAuthor:"",articleContent:"",articlePublished:!1,timeOfArticle:new Date,galleryId:"",photos:[],galleryPublished:!1,tickets:[],loadingSpinner:!1,articleLoadingSpinner:!1,galleryLoadingSpinner:!1,ticketsLoadingSpinner:!1};var F=Object(i.memo)(G),_=function(t){var e=t.id,n=t.title,r=t.venue,o=t.featureImage,c=t.notes,a=t.timeOfEvent,s=t.endTimeOfEvent,l=t.published,u=t.articleId,p=t.articleTitle,d=t.articleAuthor,m=t.articleContent,b=t.articlePublished,h=t.timeOfArticle,j=t.galleryId,y=t.photos,v=t.galleryPublished,x=t.tickets,w=t.loadingSpinner,E=t.secondaryLoadingSpinner,S=t.articleLoadingSpinner,N=t.galleryLoadingSpinner,k=t.ticketsLoadingSpinner,L=Object(i.useContext)(f.b).globalState;return Object(P.jsx)(P.Fragment,{children:w?Object(P.jsx)(g.a,{color:L.websiteStyles.colors.primaryColor}):Object(P.jsxs)(P.Fragment,{children:[Object(P.jsx)(O.a,{links:[{title:"Home",link:"/"},{title:"Events",link:"/events"}],lastCrumb:n,marginLeft:"100px"}),Object(P.jsx)(F,{id:e,title:n,venue:r,featureImage:o,notes:c,timeOfEvent:a,endTimeOfEvent:s,articleId:u,articleTitle:p,articleAuthor:d,articleContent:m,articlePublished:b,timeOfArticle:h,galleryId:j,photos:y,galleryPublished:v,tickets:x,deleted:!1,published:l,loadingSpinner:E,articleLoadingSpinner:S,galleryLoadingSpinner:N,ticketsLoadingSpinner:k})]})})},M=Object(i.memo)(_),B=n(133);function z(){z=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},i=c.iterator||"@@iterator",a=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var c=e&&e.prototype instanceof h?e:h,i=Object.create(c.prototype),a=new T(r||[]);return o(i,"_invoke",{value:S(t,n,a)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",d="executing",m="completed",b={};function h(){}function j(){}function g(){}var O={};l(O,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(I([])));v&&v!==n&&r.call(v,i)&&(O=v);var x=g.prototype=h.prototype=Object.create(O);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(o,c,i,a){var s=p(t[o],t,c);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,i,a)}),(function(t){n("throw",t,i,a)})):e.resolve(u).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,a)}))}a(s.arg)}var c;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return c=c?c.then(o,o):o()}})}function S(e,n,r){var o=f;return function(c,i){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===c)throw i;return{value:t,done:!0}}for(r.method=c,r.arg=i;;){var a=r.delegate;if(a){var s=N(a,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var l=p(e,n,r);if("normal"===l.type){if(o=r.done?m:"suspendedYield",l.arg===b)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function N(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&
vendor: 4,269 bytes, line 2
2(n.method="return",n.arg=t,N(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var c=p(o,e.iterator,n.arg);if("throw"===c.type)return n.method="throw",n.arg=c.arg,n.delegate=null,b;var i=c.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}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 L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,c=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return c.next=c}}throw new TypeError(typeof e+" is not iterable")}return j.prototype=g,o(x,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:j,configurable:!0}),j.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"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(x),t},e.awrap=function(t){return{__await:t}},w(E.prototype),l(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,c){void 0===c&&(c=Promise);var i=new E(u(t,n,r,o),c);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(x),l(x,s,"Generator"),l(x,i,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=I,T.prototype={constructor:T,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(L),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var c=this.tryEntries.length-1;c>=0;--c){var i=this.tryEntries[c],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.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 n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===t||"continue"===t)&&c.tryLoc<=e&&e<=c.finallyLoc&&(c=null);var i=c?c.completion:{};return i.type=t,i.arg=e,c?(this.method="next",this.next=c.finallyLoc,b):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),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}
2var H={title:"",featureImage:"",timeOfEvent:new Date,endTimeOfEvent:new Date,venue:"",notes:"",published:!1,articleId:"",articleTitle:"",articleAuthor:"",articleContent:"",articlePublished:!1,timeOfArticle:new Date,galleryId:"",photos:[],galleryPublished:!1,tickets:[],loadingSpinner:!0,secondaryLoadingSpinner:!0,articleLoadingSpinner:!0,galleryLoadingSpinner:!0,ticketsLoadingSpinner:!0,error:!1};function R(t,e){switch(e.type){case"fetchEventTitle":return Object(c.a)(Object(c.a)({},t),{},{title:e.title});case"fetchEvent":return Object(c.a)(Object(c.a)({},t),{},{title:e.title,featureImage:e.featureImage,venue:e.venue,notes:e.notes,published:e.published,timeOfEvent:e.timeOfEvent,endTimeOfEvent:e.endTimeOfEvent,articleId:e.articleId,galleryId:e.galleryId});case"fetchArticle":return Object(c.a)(Object(c.a)({},t),{},{articleTitle:e.title,articleAuthor:e.author,articleContent:e.content,articlePublished:e.published,timeOfArticle:e.timeOfArticle});case"fetchGallery":return Object(c.a)(Object(c.a)({},t),{},{photos:e.photos,galleryPublished:e.published});case"fetchTickets":return Object(c.a)(Object(c.a)({},t),{},{tickets:e.tickets});case"setLoadingSpinner":return Object(c.a)(Object(c.a)({},t),{},{loadingSpinner:e.loadingSpinner});case"setSecondaryLoadingSpinner":return Object(c.a)(Object(c.a)({},t),{},{secondaryLoadingSpinner:e.loadingSpinner});case"setArticleLoadingSpinner":return Object(c.a)(Object(c.a)({},t),{},{articleLoadingSpinner:e.loadingSpinner});case"setGalleryLoadingSpinner":return Object(c.a)(Object(c.a)({},t),{},{galleryLoadingSpinner:e.loadingSpinner});case"setTicketsLoadingSpinner":return Object(c.a)(Object(c.a)({},t),{},{ticketsLoadingSpinner:e.loadingSpinner});case"setError":return Object(c.a)(Object(c.a)({},t),{},{error:!0});default:return H}}var q=function(){var t=Object(s.i)(),e=Object(i.useReducer)(R,H),n=Object(o.a)(e,2),c=n[0],g=n[1],O=Object(i.useContext)(f.b).globalState,y=Object(a.b)().enqueueSnackbar;Object(i.useEffect)((function(){Object(l.f)(O,c.title,t.eventid)}),[O,c.title]),Object(i.useEffect)((function(){var e;!function(){(e=e||Object(r.a)(z().mark((function e(){return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object(p.d)(O.accountId)){e.next=9;break}return g({type:"setLoadingSpinner",loadingSpinner:!0}),g({type:"setSecondaryLoadingSpinner",loadingSpinner:!0}),e.next=5,Object(j.b)(t.eventid,g,y);case 5:return g({type:"setLoadingSpinner",loadingSpinner:!1}),e.next=8,Object(j.a)(O.accountId,t.eventid,g,y);case 8:g({type:"setSecondaryLoadingSpinner",loadingSpinner:!1});case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}()}),[O.accountId,t.eventid]),Object(i.useEffect)((function(){var t;!function(){(t=t||Object(r.a)(z().mark((function t(){return z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(p.d)(O.accountId)||!Object(p.f)(c.articleId)){t.next=5;break}return g({type:"setArticleLoadingSpinner",loadingSpinner:!0}),t.next=4,Object(d.a)(O.accountId,c.articleId,g,y);case 4:g({type:"setArticleLoadingSpinner",loadingSpinner:!1});case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}()}),[c.articleId]),Object(i.useEffect)((function(){var t;!function(){(t=t||Object(r.a)(z().mark((function t(){return z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(p.d)(O.accountId)||!Object(p.f)(c.galleryId)){t.next=5;break}return g({type:"setGalleryLoadingSpinner",loadingSpinner:!0}),t.next=4,Object(m.c)(O.accountId,c.galleryId,g,y);case 4:g({type:"setGalleryLoadingSpinner",loadingSpinner:!1});case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}()}),[c.galleryId]),Object(i.useEffect)((function(){var e;!function(){(e=e||Object(r.a)(z().mark((function e(){return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object(p.d)(O.accountId)||!Object(p.f)(t.eventid)){e.next=5;break}return g({type:"setTicketsLoadingSpinner",loadingSpinner:!0}),e.next=4,Object(B.d)(O.accountId,t.eventid,g,y);case 4:g({type:"setTicketsLoadingSpinner",loadingSpinner:!1});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}()}),[O.accountId,t.eventid]);return c.error?Object(P.jsx)(s.a,{to:"/notfound"}):Object(P.jsxs)(P.Fragment,{children:[Object(p.f)(c.title)?Object(P.jsx)(h.a,{title:Object(b.c)(c.title,O),description:Object(b.a)("Check out this event - ".concat(c.title),O),keywords:Object(b.b)("News, Event, ".concat(c.title),O)}):null,Object(p.d)(O)&&Object(p.d)(O.websiteStyles)&&O.websiteStyles.design.article===u.a.DESIGN_1?Object(P.jsx)(M,{id:t.eventid,title:c.title,venue:c.venue,featureImage:c.featureImage,notes:c.notes,timeOfEvent:c.timeOfEvent,endTimeOfEvent:Object(p.d)(c.endTimeOfEvent)?c.endTimeOfEvent:c.timeOfEvent,articleId:c.articleId,articleTitle:c.articleTitle,articleAuthor:c.articleAuthor,articleContent:c.articleContent,articlePublished:c.articlePublished,timeOfArticle:c.timeOfArticle,galleryId:c.galleryId,photos:c.photos,galleryPublished:c.galleryPublished,tickets:c.tickets,deleted:!1,published:c.published,loadingSpinner:c.loadingSpinner,secondaryLoadingSpinner:c.secondaryLoadingSpinner,articleLoadingSpinner:c.articleLoadingSpinner,galleryLoadingSpinner:c.galleryLoadingSpinner,ticketsLoadingSpinner:c.ticketsLoadingSpinner}):null]})};e.default=Object(i.memo)(q)}}]);
3//# sourceMappingURL=17.b17f338e.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.