1(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[46],{385:function(e,t,c){"use strict";var n=c(0),a=c(21),i=c(132),l=c.n(i),s=c(15),r=(c(386),c(3)),m=c(1),b=function(e){var t=e.id,c=e.title,n=e.venue,i=e.timeOfEvent,b=e.endTimeOfEvent;return Object(m.jsxs)(m.Fragment,{children:[Object(m.jsxs)(a.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(m.jsxs)("div",{className:"practice-thumbnail1-main-content full-width",children:[Object(m.jsxs)("div",{className:"practice-thumbnail1-date full-width m-l-20px p-r-20px",children:[Object(m.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-l",children:Object(s.j)(Object(s.h)(i))}),Object(m.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-5xl",children:Object(s.c)(Object(s.h)(i))}),Object(m.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-l",children:Object(s.m)(Object(s.h)(i))})]}),Object(m.jsx)("div",{className:"practice-thumbnail1-content full-width m-l-20px",children:Object(m.jsxs)("div",{className:"practice-thumbnail1-title m-l-50px m-r-5px",children:[Object(m.jsx)("p",{className:"alegreya-font-family text-left-align font-size-xl m-t-0 m-b-0",children:"Practice"}),Object(m.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:c}),Object(r.f)(n)?Object(m.jsx)("p",{className:"alegreya-font-family text-left-align font-size-l m-t-0 m-b-0",children:"Venue: ".concat(n)}):null]})})]}),Object(m.jsxs)("div",{className:"practice-thumbnail1-time-container m-l-0 m-r-20px",children:[Object(m.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-4xl",children:Object(s.l)(Object(s.h)(i))}),i.seconds!==b.seconds?Object(m.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-l",children:"- ".concat(Object(s.l)(Object(s.h)(b)))}):null]}),Object(m.jsx)(l.a,{className:"practice-thumbnail1-arrow font-size-4xl m-r-20px"})]},t),Object(m.jsx)(a.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(m.jsxs)("div",{className:"practice-thumbnail1-main-content p-t-40px p-b-40px",children:[Object(m.jsxs)("div",{className:"practice-thumbnail1-date-time full-width m-b-30px",children:[Object(m.jsxs)("div",{className:"practice-thumbnail1-date",children:[Object(m.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-s",children:Object(s.j)(Object(s.h)(i))}),Object(m.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-3xl",children:Object(s.c)(Object(s.h)(i))}),Object(m.jsx)("p",{className:"condensed-font-family m-t-0 m-l-0 m-r-0 m-b-0 font-size-s",children:Object(s.m)(Object(s.h)(i))})]}),Object(m.jsxs)("div",{className:"practice-thumbnail1-time",children:[Object(m.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-2xl",children:Object(s.l)(Object(s.h)(i))}),i.seconds!==b.seconds?Object(m.jsx)("p",{className:"text-right-align condensed-font-family m-t-0 m-b-0 font-size-s",children:"- ".concat(Object(s.l)(Object(s.h)(b)))}):null]})]}),Object(m.jsxs)("div",{className:"practice-thumbnail1-content full-width",children:[Object(m.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-size-m m-t-0 m-b-5px",children:"Practice"}),Object(m.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:c}),Object(r.f)(n)?Object(m.jsx)("p",{className:"alegreya-font-family text-left-align full-width font-size-s m-t-5px m-b-0",children:"Venue: ".concat(n)}):null]})]})},t)]})};t.a=Object(n.memo)(b)},386:function(e,t,c){},467:function(e,t,c){},686:function(e,t,c){"use strict";c.r(t);var n=c(0),a=c.n(n),i=c(19),l=c(335),s=c(3),r=c(20),m=c(325),b=c(364),j=c(4),o=c(36),x=c(311),d=(c(467),c(53)),p=c(336),O=c(21),f=c(1),h=function(e){var t=e.children;return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)("div",{className:"practices1-nav-items full-width",children:[{title:"Upcoming",link:"/practice/upcoming"},{title:"Past",link:"/practice/past"}].map((function(e){return Object(f.jsx)(a.a.Fragment,{children:Object(f.jsx)(O.b,{activeClassName:"practices1-active-nav-item condensed-font-family font-size-3xl m-t-0 m-b-20px p-r-20px text-uppercase text-no-underline",className:"practices1-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(f.jsx)("p",{className:"m-t-0 m-b-0",children:e.title})})}
1,e.title)}))}),t]})},u=Object(n.memo)(h),g=c(15),v=c(385),N=c(381),y=function(e){var t=e.events,c=e.loadingSpinner,i=e.unavailableText,m=Object(n.useContext)(r.b).globalState,b=function(e,c){return 0===c?Object(f.jsx)("h2",{className:"practices1-month-title text-left-align font-size-2xl m-t-0 m-b-20px text-capitalize",children:Object(g.k)(Object(g.h)(e.timeOfEvent))}):Object(g.h)(e.timeOfEvent).getMonth()!==Object(g.h)(t[c-1].timeOfEvent).getMonth()||Object(g.h)(e.timeOfEvent).getFullYear()!==Object(g.h)(t[c-1].timeOfEvent).getFullYear()?Object(f.jsx)("h2",{className:"practices1-month-title text-left-align font-size-2xl m-t-20px m-b-20px text-capitalize",children:Object(g.k)(Object(g.h)(e.timeOfEvent))}):null};return Object(f.jsx)("div",{className:"practices1-practices full-width",children:c?Object(f.jsx)(d.a,{color:m.websiteStyles.colors.primaryColor}):Object(f.jsx)(f.Fragment,{children:t.length>0?Object(f.jsx)(f.Fragment,{children:t.map((function(e,t){return Object(f.jsxs)(a.a.Fragment,{children:[b(e,t),e.eventType===l.a.PRACTICE?Object(f.jsx)(v.a,{id:e.id,articleId:e.articleId,title:e.title,venue:e.venue,timeOfEvent:e.timeOfEvent,endTimeOfEvent:Object(s.d)(e.endTimeOfEvent)?e.endTimeOfEvent:e.timeOfEvent}):null]},e.id)}))}):Object(f.jsx)(N.a,{text:i})})})},w=Object(n.memo)(y),P=c(382),z=function(e){var t=e.upcomingEvents,c=e.pastEvents,a=e.loadingSpinner,i=e.upcomingPagination,l=e.pastPagination,s=Object(n.useContext)(r.b).globalState;return Object(f.jsx)(f.Fragment,{children:a?Object(f.jsx)(d.a,{color:s.websiteStyles.colors.primaryColor}):Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(x.a,{links:[{title:"Home",link:"/"}],lastCrumb:"Practice",marginLeft:"100px"}),Object(f.jsxs)("div",{className:"practices1-container-container x-center p-t-20px p-b-20px p-l-50px p-r-50px m-b-20px",children:[Object(f.jsx)(p.a,{title:"Practice"}),Object(f.jsx)("div",{className:"practices1-container m-t-0",children:Object(f.jsx)(u,{children:Object(f.jsx)(n.Suspense,{fallback:Object(f.jsx)(d.a,{color:s.websiteStyles.colors.primaryColor}),children:Object(f.jsxs)(o.d,{children:[Object(f.jsx)(o.b,{path:"/practice/upcoming",exact:!0,render:function(){return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(w,{events:t,loadingSpinner:a,unavailableText:"No Upcoming Practice"}),!a&&i&&Object(f.jsx)(P.a,Object(j.a)({},i))]})}}),Object(f.jsx)(o.b,{path:"/practice/past",exact:!0,render:function(){return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(w,{events:c,loadingSpinner:a,unavailableText:"No Past Practice"}),!a&&l&&Object(f.jsx)(P.a,Object(j.a)({},l))]})}}),Object(f.jsx)(o.b,{render:function(){return Object(f.jsx)(o.a,{to:{pathname:"/practice/upcoming"}})}})]})})})})]})]})})};z.defaultProps={upcomingPagination:null,pastPagination:null};var E=Object(n.memo)(z),k=c(85),C=c(310),F=function(){var e=Object(n.useContext)(r.b).globalState,t=e.accountId;Object(n.useEffect)((function(){Object(i.n)(e,"Practice")}),[e]);var c=Object(n.useCallback)((function(e){return Object(m.c)(t,l.a.PRACTICE,"upcoming",e,b.a)}),[t]),a=Object(n.useCallback)((function(e){return Object(m.c)(t,l.a.PRACTICE,"past",e,b.a)}),[t]),j=Object(b.c)({fetchPage:c,resetKey:t,enabled:Object(s.d)(t)}),o=Object(b.c)({fetchPage:a,resetKey:t,enabled:Object(s.d)(t)});return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(C.a,{title:Object(k.c)("Practice",e),pageTitle:"Practice",description:Object(k.a)("Check out our practice",e),keywords:Object(k.b)("Practice",e)}),Object(s.d)(e)&&Object(s.d)(e.websiteStyles)?Object(f.jsx)(E,{upcomingEvents:j.pageItems,pastEvents:o.pageItems,loadingSpinner:j.loading&&1===j.currentPage||o.loading&&1===o.currentPage,upcomingPagination:Object(b.b)(j),pastPagination:Object(b.b)(o)}):null]})};t.default=Object(n.memo)(F)}}]); 2//# sourceMappingURL=46.d65fcec6.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.