vendor: 4,295 bytes, lines 1-2
1/*! For license information please see 40.033328ac.chunk.js.LICENSE.txt */ 2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[40],{383:function(e,t,n){"use strict";var c=n(10),r=n(23),i=n(4),a=n(0),l=n(36),o=n(21),s=n(132),m=n.n(s),b=n(39),f=n(15),u=(n(384),n(3)),h=n(84),d=n(20),j=n(133),p=n(28),x=n(1);function O(){O=function(){return t};var e,t={},n=Object.prototype,c=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",o=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function m(e,t,n,c){var i=t&&t.prototype instanceof j?t:j,a=Object.create(i.prototype),l=new S(c||[]);return r(a,"_invoke",{value:k(e,n,l)}),a}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=m;var f="suspendedStart",u="executing",h="completed",d={};function j(){}function p(){}function x(){}var v={};s(v,a,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(C([])));y&&y!==n&&c.call(y,a)&&(v=y);var w=x.prototype=j.prototype=Object.create(v);function N(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(r,i,a,l){var o=b(e[r],e,i);if("throw"!==o.type){var s=o.arg,m=s.value;return m&&"object"==typeof m&&c.call(m,"__await")?t.resolve(m.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(m).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(o.arg)}var i;r(this,"_invoke",{value:function(e,c){function r(){return new t((function(t,r){n(e,c,t,r)}))}return i=i?i.then(r,r):r()}})}function k(t,n,c){var r=f;return function(i,a){if(r===u)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw a;return{value:e,done:!0}}for(c.method=i,c.arg=a;;){var l=c.delegate;if(l){var o=z(l,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(r===f)throw r=h,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);r=u;var s=b(t,n,c);if("normal"===s.type){if(r=c.done?h:"suspendedYield",s.arg===d)continue;return{value:s.arg,done:c.done}}"throw"===s.type&&(r=h,c.method="throw",c.arg=s.arg)}}}function z(t,n){var c=n.method,r=t.iterator[c];if(r===e)return n.delegate=null,"throw"===c&&t.iterator.return&&(n.method="return",n.arg=e,z(t,n),"throw"===n.method)||"return"!==c&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+c+"' method")),d;var i=b(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,d;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(c.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return p.prototype=x,r(w,"constructor",{value:x,configurable:!0}),r(x,"constructor",{value:p,configurable:!0}),p.displayName=s(x,o,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,s(e,o,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},N(E.prototype),s(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,c,r,i){void 0===i&&(i=Prom
2ise);var a=new E(m(e,n,c,r),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},N(w),s(w,o,"Generator"),s(w,a,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var c in t)n.push(c);return n.reverse(),function e(){for(;n.length;){var c=n.pop();if(c in t)return e.value=c,e.done=!1,e}return e.done=!0,e}},t.values=C,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&&c.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(c,r){return l.type="throw",l.arg=t,n.next=c,r&&(n.method="next",n.arg=e),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var o=c.call(a,"catchLoc"),s=c.call(a,"finallyLoc");if(o&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&c.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var c=n.completion;if("throw"===c.type){var r=c.arg;L(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,c){return this.delegate={iterator:C(t),resultName:n,nextLoc:c},"next"===this.method&&(this.arg=e),d}},t}var v={tickets:[]};function g(e,t){switch(t.type){case"fetchTickets":return Object(i.a)(Object(i.a)({},e),{},{tickets:t.tickets});default:return v}}var y=function(e){var t=e.id,n=e.title,i=e.venue,s=e.timeOfEvent,y=e.endTimeOfEvent,w=Object(a.useReducer)(g,v),N=Object(r.a)(w,2),E=N[0],k=N[1],z=Object(a.useContext)(d.b).globalState,P=Object(l.g)(),L=Object(b.b)().enqueueSnackbar;Object(a.useEffect)((function(){var e;!function(){(e=e||Object(c.a)(O().mark((function e(){return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object(u.d)(z.accountId)||!Object(u.f)(t)){e.next=3;break}return e.next=3,Object(j.d)(z.accountId,t,k,L);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}()}),[z.accountId,t]);var S;return Object(x.jsxs)(x.Fragment,{children:[Object(x.jsxs)(o.b,{to:"/events/".concat(t),className:"event-thumbnail1-desktop full-width box-shadow-black curve-border-15px text-black text-no-underline m-t-10px m-b-10px",children:[Object(x.jsxs)("div",{className:"event-thumbnail1-main-content",children:[Object(x.jsxs)("div",{className:"event-thumbnail1-date full-width m-l-20px p-r-20px",children:[Object(x.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-l",children:Object(f.j)(Object(f.h)(s))}),Object(x.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-5xl",children:Object(f.c)(Object(f.h)(s))}),Object(x.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-l",children:Object(f.m)(Object(f.h)(s))})]}),Object(x.jsx)("div",{className:"event-thumbnail1-content full-width m-l-20px",children:Object(x.jsxs)("div",{className:"event-thumbnail1-title-container m-l-50px m-r-5px",children:[Object(x.jsx)("p",{className:"alegreya-font-family text-left-align font-size-xl m-t-0 m-b-0",children:"Event"}),Object(x.jsxs)("div",{className:"event-thumbnail1-title",children:[Object(x.jsx)("p",{className:"alegreya-font-family text-left-align font-weight-800 text-uppercase font-size-4xl curve-border-5px m-t-0 m-b-0",children:(S=n,S.length>45?"".concat(S.substr(0,45),"..."):S)}),Object(p.q)(z,E.tickets,y)?Object(x.jsx)("div",{className:"m-l-20px m-r-20px",children:Object(x.jsx)(h.a,{title:"Tickets",backgroundColor:z.websiteStyles.colors.primaryColor,fontColor:Object(u.f)(z.websiteStyles.colors.fontColor)?"".concat(z.websiteStyles.colors.fontColor):"white",borderColor:"#ffffff",fontSize:"0.8rem",borderRadius:"5px",width:"100px",height:"28px",onClick:function(e){e.stopPropagation(),e.preventDefault(),P.push("/events/".concat(t,"#ticketTitle"))}})}):null]}),Object(u.f)(i)?Object(x.jsx)("p",{className:"alegreya-font-family text-left-align font-size-l m-t-0 m-b-0",children:"Venue: ".concat(i)}):null]})})]}),Object(x.jsxs)("div",{className:"event-thumbnail1-time-container m-l-0 m-r-20px",children:[Object(x.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-4xl",children:Object(f.l)(Object(f.h)(s))}),s.seconds!==y.seconds?Object(x.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-l",children:"- ".concat(Object(f.l)(Object(f.h)(y))
2)}):null]}),Object(x.jsx)(m.a,{className:"event-thumbnail1-arrow font-size-4xl m-r-20px"})]},t),Object(x.jsx)(o.b,{to:"/events/".concat(t),className:"event-thumbnail1-mobile full-width box-shadow-black curve-border-15px text-black text-no-underline m-t-10px m-b-10px",children:Object(x.jsxs)("div",{className:"event-thumbnail1-main-content p-t-40px p-b-40px",children:[Object(x.jsxs)("div",{className:"event-thumbnail1-date-time full-width m-b-30px",children:[Object(x.jsxs)("div",{className:"event-thumbnail1-date",children:[Object(x.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-s",children:Object(f.j)(Object(f.h)(s))}),Object(x.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-3xl",children:Object(f.c)(Object(f.h)(s))}),Object(x.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-s",children:Object(f.m)(Object(f.h)(s))})]}),Object(x.jsxs)("div",{className:"event-thumbnail1-time",children:[Object(x.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-2xl",children:Object(f.l)(Object(f.h)(s))}),s.seconds!==y.seconds?Object(x.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-s",children:"- ".concat(Object(f.l)(Object(f.h)(y)))}):null]})]}),Object(x.jsxs)("div",{className:"event-thumbnail1-content full-width",children:[Object(x.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-size-m m-t-0 m-b-5px",children:"Event"}),Object(x.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-weight-800 text-uppercase font-size-xl curve-border-5px m-t-5px m-b-5px",children:n}),Object(p.q)(z,E.tickets,y)?Object(x.jsx)(h.a,{title:"Tickets",showSilhouetteLogo:!0,backgroundColor:z.websiteStyles.colors.primaryColor,fontColor:Object(u.f)(z.websiteStyles.colors.fontColor)?"".concat(z.websiteStyles.colors.fontColor):"white",borderColor:"#ffffff",fontSize:"0.8rem",borderRadius:"5px",width:"100px",height:"28px",logoHeight:"20px",onClick:function(e){e.stopPropagation(),e.preventDefault(),P.push("/events/".concat(t,"#ticketTitle"))}}):null,Object(u.f)(i)?Object(x.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-size-s m-t-5px m-b-0",children:"Venue: ".concat(i)}):null]})]})},t)]})};t.a=Object(a.memo)(y)},384:function(e,t,n){},385:function(e,t,n){"use strict";var c=n(0),r=n(21),i=n(132),a=n.n(i),l=n(15),o=(n(386),n(3)),s=n(1),m=function(e){var t=e.id,n=e.title,c=e.venue,i=e.timeOfEvent,m=e.endTimeOfEvent;return Object(s.jsxs)(s.Fragment,{children:[Object(s.jsxs)(r.b,{to:"/practice/".concat(t),className:"practice-thumbnail1-desktop full-width box-shadow-black curve-border-15px text-black text-no-underline m-t-10px m-b-10px",children:[Object(s.jsxs)("div",{className:"practice-thumbnail1-main-content full-width",children:[Object(s.jsxs)("div",{className:"practice-thumbnail1-date full-width m-l-20px p-r-20px",children:[Object(s.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-l",children:Object(l.j)(Object(l.h)(i))}),Object(s.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-5xl",children:Object(l.c)(Object(l.h)(i))}),Object(s.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-l",children:Object(l.m)(Object(l.h)(i))})]}),Object(s.jsx)("div",{className:"practice-thumbnail1-content full-width m-l-20px",children:Object(s.jsxs)("div",{className:"practice-thumbnail1-title m-l-50px m-r-5px",children:[Object(s.jsx)("p",{className:"alegreya-font-family text-left-align font-size-xl m-t-0 m-b-0",children:"Practice"}),Object(s.jsx)("p",{className:"alegreya-font-family text-left-align font-weight-800 text-uppercase font-size-4xl curve-border-5px m-t-0 m-b-0",children:n}),Object(o.f)(c)?Object(s.jsx)("p",{className:"alegreya-font-family text-left-align font-size-l m-t-0 m-b-0",children:"Venue: ".concat(c)}):null]})})]}),Object(s.jsxs)("div",{className:"practice-thumbnail1-time-container m-l-0 m-r-20px",children:[Object(s.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-4xl",children:Object(l.l)(Object(l.h)(i))}),i.seconds!==m.seconds?Object(s.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-l",children:"- ".concat(Object(l.l)(Object(l.h)(m)))}):null]}),Object(s.jsx)(a.a,{className:"practice-thumbnail1-arrow font-size-4xl m-r-20px"})]},t),Object(s.jsx)(r.b,{to:"/practice/".concat(t),className:"practice-thumbnail1-mobile full-width box-shadow-black curve-border-15px text-black text-no-underline m-t-10px m-b-10px",children:Object(s.jsxs)("div",{className:"practice-thumbnail1-main-content p-t-40px p-b-40px",children:[Object(s.jsxs)("div",{className:"practice-thumbnail1-date-time full-width m-b-30px",children:[Object(s.jsxs)("div",{className:"practice-thumbnail1-date",children:[Object(s.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-s",children:Object(l.j)(Object(l.h)(i))}),Object(s.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-3xl",children:Object(l.c)(Object(l.h)(i))}),Object(s.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-s",children:Object(l.m)(Object(l.h)(i))})]}),Object(s.jsxs)("div",{className:"practice-thumbnail1-time",children:[Object(s.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-2xl",children:Object(l.l)(Object(l.h)(i))}),i.seconds!==m.seconds?Object(s.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-s",children:"- ".concat(Object(l.l)(Object(l.h)(m)))}):null]})]}),Object(s.jsxs)("div",{className:"practice-thumbnail1-content full-width",children:[Object(s.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-size-m m-t-0 m-b-5px",children:"Practice"}),Object(s.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-weight-800 text-uppercase font-size-xl curve-border-5px m-t-5px m-b-5px",children:n}),Object(o.f)(c)?Object(s.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-size-s m-t-5px m-b-0",children:"Venue: ".concat(c)}):null]})]})},t)]})};t.a=Object(c.memo)(m)},386:function(e,t,n){},468:function(e,t,n){},687:function(e,t,n){"use strict";n.r(t);var c=n(0),r=n.n(c),i=n(19),a=n(3),l=n(20),o=n(325),s=n(364),m=n(4),b=n(36),f=n(311),u=(n(468),n(53)),h=n(336),d=n(21),j=n(1),p=function(e){var t=e.children;return Object(j.jsxs)(j.Fragment,{children:[Object(j.jsx)("div",{className:"events-practice1-nav-items full-width",children:[{title:"Upcoming",link:"/eventsandpractice/upcoming"},{title:"Past",link:"/eventsandpractice/past"}].map((function(e){return Object(j.jsx)(r.a.Fragment,{children:Object(j.jsx)(d.b,{activeClassName:"events-practice1-active-nav-item condensed-font-family font-size-3xl m-t-0 m-b-20px p-r-20px text-uppercase text-no-underline",className:"events-practice1-nav-item condensed-font-family font-size-3xl m-t-0 m-b-20px p-r-20px text-uppercase text-no-underline",to:e.link,exact:!0,children:Object(j.jsx)("p",{className:"m-t-0 m-b-0",children:e.title})})}
2,e.title)}))}),t]})},x=Object(c.memo)(p),O=n(383),v=n(335),g=n(15),y=n(385),w=n(381),N=function(e){var t=e.events,n=e.loadingSpinner,i=e.unavailableText,o=Object(c.useContext)(l.b).globalState,s=function(e,n){return 0===n?Object(j.jsx)("h2",{className:"events-practice1-month-title text-left-align font-size-2xl m-t-0 m-b-20px text-uppercase",children:Object(g.k)(Object(g.h)(e.timeOfEvent))}):Object(g.h)(e.timeOfEvent).getMonth()!==Object(g.h)(t[n-1].timeOfEvent).getMonth()||Object(g.h)(e.timeOfEvent).getFullYear()!==Object(g.h)(t[n-1].timeOfEvent).getFullYear()?Object(j.jsx)("h2",{className:"events-practice1-month-title text-left-align font-size-2xl m-t-20px m-b-20px text-uppercase",children:Object(g.k)(Object(g.h)(e.timeOfEvent))}):null};return Object(j.jsx)("div",{className:"events-practice1-events full-width",children:n?Object(j.jsx)(u.a,{color:o.websiteStyles.colors.primaryColor}):Object(j.jsx)(j.Fragment,{children:t.length>0?Object(j.jsx)(j.Fragment,{children:t.map((function(e,t){return Object(j.jsxs)(r.a.Fragment,{children:[s(e,t),e.eventType===v.a.EVENT?Object(j.jsx)(O.a,{id:e.id,articleId:e.articleId,title:e.title,venue:e.venue,timeOfEvent:e.timeOfEvent,endTimeOfEvent:Object(a.d)(e.endTimeOfEvent)?e.endTimeOfEvent:e.timeOfEvent}):Object(j.jsx)(y.a,{id:e.id,articleId:e.articleId,title:e.title,venue:e.venue,timeOfEvent:e.timeOfEvent,endTimeOfEvent:Object(a.d)(e.endTimeOfEvent)?e.endTimeOfEvent:e.timeOfEvent})]},e.id)}))}):Object(j.jsx)(w.a,{text:i})})})},E=Object(c.memo)(N),k=n(382),z=function(e){var t=e.upcomingEvents,n=e.pastEvents,r=e.loadingSpinner,i=e.upcomingPagination,a=e.pastPagination,o=Object(c.useContext)(l.b).globalState;return Object(j.jsx)(j.Fragment,{children:r?Object(j.jsx)(u.a,{color:o.websiteStyles.colors.primaryColor}):Object(j.jsxs)(j.Fragment,{children:[Object(j.jsx)(f.a,{links:[{title:"Home",link:"/"}],lastCrumb:"Events",marginLeft:"100px"}),Object(j.jsxs)("div",{className:"events-practice1-container-container x-center p-t-20px p-b-20px p-l-50px p-r-50px m-b-20px",children:[Object(j.jsx)(h.a,{title:"Events and Practice"}),Object(j.jsx)("div",{className:"events-practice1-container m-t-0",children:Object(j.jsx)(x,{children:Object(j.jsx)(c.Suspense,{fallback:Object(j.jsx)(u.a,{color:o.websiteStyles.colors.primaryColor}),children:Object(j.jsxs)(b.d,{children:[Object(j.jsx)(b.b,{path:"/eventsandpractice/upcoming",exact:!0,render:function(){return Object(j.jsxs)(j.Fragment,{children:[Object(j.jsx)(E,{events:t,loadingSpinner:r,unavailableText:"No Upcoming Events or Practice"}),!r&&i&&Object(j.jsx)(k.a,Object(m.a)({},i))]})}}),Object(j.jsx)(b.b,{path:"/eventsandpractice/past",exact:!0,render:function(){return Object(j.jsxs)(j.Fragment,{children:[Object(j.jsx)(E,{events:n,loadingSpinner:r,unavailableText:"No Past Events or Practice"}),!r&&a&&Object(j.jsx)(k.a,Object(m.a)({},a))]})}}),Object(j.jsx)(b.b,{render:function(){return Object(j.jsx)(b.a,{to:{pathname:"/eventsandpractice/upcoming"}})}})]})})})})]})]})})};z.defaultProps={upcomingPagination:null,pastPagination:null};var P=Object(c.memo)(z),L=n(85),S=n(310),C=function(){var e=Object(c.useContext)(l.b).globalState,t=e.accountId;Object(c.useEffect)((function(){Object(i.n)(e,"Events and Practice")}),[e]);var n=Object(c.useCallback)((function(e){return Object(o.c)(t,null,"upcoming",e,s.a)}),[t]),r=Object(c.useCallback)((function(e){return Object(o.c)(t,null,"past",e,s.a)}),[t]),m=Object(s.c)({fetchPage:n,resetKey:t,enabled:Object(a.d)(t)}),b=Object(s.c)({fetchPage:r,resetKey:t,enabled:Object(a.d)(t)});return Object(j.jsxs)(j.Fragment,{children:[Object(j.jsx)(S.a,{title:Object(L.c)("Events and Practice",e),pageTitle:"Events and Practice",description:Object(L.a)("Check out our events and practice",e),keywords:Object(L.b)("Events and Practice","Events","Practice",e)}),Object(a.d)(e)&&Object(a.d)(e.websiteStyles)?Object(j.jsx)(P,{upcomingEvents:m.pageItems,pastEvents:b.pageItems,loadingSpinner:m.loading&&1===m.currentPage||b.loading&&1===b.currentPage,upcomingPagination:Object(s.b)(m),pastPagination:Object(s.b)(b)}):null]})};t.default=Object(c.memo)(C)}}]); 3//# sourceMappingURL=40.033328ac.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.