1/*! For license information please see 30.0793dd50.chunk.js.LICENSE.txt */ 2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[30],{310:function(e,t,n){"use strict";var r=n(0),i=n(130),o=n(3),a=n(20),c=n(95),l=n(1),s=function(e){var t=e.title,n=e.pageTitle,s=e.description,u=e.keywords,m=Object(r.useContext)(a.b).globalState;return Object(l.jsxs)(i.a,{children:[Object(o.f)(t)?Object(l.jsx)("title",{children:t}):null,Object(o.f)(s)?Object(l.jsx)("meta",{name:"description",content:s}):null,Object(o.f)(u)?Object(l.jsx)("meta",{name:"keywords",content:u}):null,Object(o.f)(n)&&Object(o.d)(m)&&Object(o.d)(m.accountObject)&&Object(o.f)(m.accountObject.url)?Object(l.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(m.accountObject.url,'/"\n },{\n "@type": "ListItem",\n "position": 2,\n "name": "').concat(n,'"\n }]\n }\n ')}):null,Object(o.d)(m)&&Object(o.d)(m.accountObject)&&Object(o.f)(m.accountObject.url)?Object(l.jsx)("link",{rel:"canonical",href:"".concat(m.accountObject.url).concat(window.location.pathname)}):null,Object(o.f)(t)?Object(l.jsx)("meta",{name:"twitter:title",content:t}):null,Object(o.f)(s)?Object(l.jsx)("meta",{name:"twitter:description",content:s}):null,Object(o.d)(m)&&Object(o.d)(m.socials)&&Object(o.f)(m.socials.twitterURL)?Object(l.jsx)("meta",{name:"twitter:site",content:"@".concat(Object(c.p)(m.socials.twitterURL))}):null,Object(o.f)(t)?Object(l.jsx)("meta",{property:"og:title",content:t}):null,Object(o.f)(s)?Object(l.jsx)("meta",{property:"og:description",content:s}):null]})};s.defaultProps={pageTitle:""},t.a=Object(r.memo)(s)},311:function(e,t,n){"use strict";var r=n(0),i=n(324),o=n(323),a=n(332),c=n(20),l=(n(312),n(1)),s=function(e){var t=e.links,n=e.lastCrumb,s=e.marginLeft,u=e.marginTop,m=e.fontColor,b=Object(r.useContext)(c.b).globalState;return Object(l.jsxs)(i.a,{className:"alegreya-font-family font-weight-700 breadcrumbs1-container text-uppercase font-size-s",style:{marginLeft:s,marginTop:u,color:"normal"===m?b.websiteStyles.colors.primaryColor:m},separator:"\u203a","aria-label":"breadcrumb",children:[t.map((function(e){return Object(l.jsx)(o.a,{color:"inherit",href:e.link,children:e.title},e.link)})),Object(l.jsx)(a.a,{className:"alegreya-font-family font-weight-700 font-size-s",children:n})]})};s.defaultProps={marginLeft:"100px",marginTop:"280px",fontColor:"normal"},t.a=Object(r.memo)(s)},312:function(e,t,n){},315:function(e,t,n){"use strict";n.d(t,"q",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"i",(function(){return d})),n.d(t,"m",(function(){return j})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return O})),n.d(t,"p",(function(){return g}));var r="Please wait for the images to load before opening each image",i="Player not found",o="Coach not found",a="This article is not available anymore",c="This article is not available at the moment",l="This gallery is not available anymore",s="This gallery is not available at the moment",u="This event is not available anymore",m="This event is not available at the moment",b="This web page is not available anymore",f="This web page is not available at the moment",p="This form is not available anymore",d="This form is not available at the moment",j="This product is not available anymore",h="This product is not available at the moment",O="This product is out of stock",g="Please access this website again using your portal"},316:function(e,t,n){"use strict";var r=n(0),i=(n(318),n(1)),o=function(e){var t=e.text;return Object(i.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(i.jsx)("p",{children:t})})};t.a=Object(r.memo)(o)},318:function(e,t,n){},319:function(e,t,n){"use strict";var r=n(0),i=n(379),o=(n(343),n(20)),a=n(3),c=n(19),l=n(1),s=function(e){var t=e.title,n=e.image,s=e.url,u=e.shareTitle,m=e.center,b=e.marginTop,f=e.marginBottom,p=e.marginLeft,d=e.mobileMarginTop,j=e.mobileMarginBottom,h=e.mobileMarginLeft,O=Object(r.useContext)(o.b).globalState,g=function(){return Object(a.d)(O)&&Object(a.d)(O.socials)&&Object(a.f)(O.socials.sharingHashTags)?O.socials.sharingHashTags.replace(/\s/g,"").replace(/#\b/g,"").split(","):[]};return Object(l.jsxs)("div",{className:"share-component-1-container",children:[Object(l.jsxs)("div",{className:"share-component-1 share-component-1-desktop ".concat(m?"share-component-1-center":"share-component-1-left"," m-t-").concat(b,"px m-b-").concat(f,"px m-l-").concat(p,"px"),children:[Object(l.jsx)(i.c,{className:"button m-r-10px",url:s,quote:u,description:u,onClick:function(){Object(c.d)("share",{socialMedium:"facebook",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.b,{size:50,round:!0})}),Object(l.jsx)(i.l,{className:"button m-r-10px",title:u,url:s,hashtags:g(),onClick:function(){Object(c.d)("share",{socialMedium:"twitter",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.o,{size:50,round:!0})}),Object(l.jsx)("a",{className:"button m-r-10px",href:"mailto:?subject=".concat(u,"&body=").concat(u,": ").concat(s),onClick:function(){Object(c.d)("share",{socialMedium:"email",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.a,{size:50,round:!0})}),Object(l.jsx)(i.n,{className:"button m-r-10px",title:u,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"whatsapp",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.m,{size:50,round:!0})}),Object(l.jsx)(i.e,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"linkedin",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.d,{size:50,round:!0})}),Object(l.jsx)(i.i,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"reddit",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.h,{size:50,round:!0})}),Object(l.jsx)(i.k,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"tumblr",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.j,{size:50,round:!0})}),Object(a.f)(n)?Object(l.jsx)(i.g,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,media:n,onClick:function(){Object(c.d)("share",{socialMedium:"pinterest",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.f,{size:50,round:!0})}):null]}),Object(l.jsxs)("div",{className:"share-component-1 share-component-1-mobile ".concat(m?"share-component-1-center":"share-component-1-left"," m-t-").concat(d,"px m-b-").concat(j,"px m-l-").concat(h,"px"),children:[Object(l.jsx)(i.c,{className:"button m-r-10px",url:s,quote:u,hashtag:function(){if(Object(a.d)(O)&&Object(a.d)(O.socials)&&Object(a.f)(O.socials.sharingHashTags)){var e=O.socials.sharingHashTags.replace(/\s/g,"").replace(/#\b/g,"").split(",");return"#".concat(e.join(" #"))}return""}(),description:u,onClick:function(){Object(c.d)("share",{socialMedium:"facebook",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.b,{size:35,round:!0})}),Object(l.jsx)(i.l,{className:"button m-r-10px",title:u,url:s,hashtags:g(),onClick:function(){Object(c.d)("share",{socialMedium:"twitter",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.o,{size:35,round:!0})}),Object(l.jsx)("a",{className:"button m-r-10px",href:"mailto:?subject=".concat(u,"&body=").concat(u,": ").concat(s),onClick:function(){Object(c.d)("share",{socialMedium:"email",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.a,{size:35,round:!0})}),Object(l.jsx)(i.n,{className:"button m-r-10px",title:u,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"whatsapp",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.m,{size:35,round:!0})}),Object(l.jsx)(i.e,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"linkedin",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.d,{size:35,round:!0})}),Object(l.jsx)(i.i,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"reddit",socialTitle:t.toLowerCase()})},children:Object(l.jsx)(i.h,{size:35,round:!0})})]})]})};s.defaultProps={image:"",center:!1,marginTop:10,marginBottom:10,marginLeft:50,mobileMarginTop:10,mobileMarginBottom:10,mobileMarginLeft:10},t.a=Object(r.memo)(s)},343:function(e,t,n){},352:function(e,t,n){"use strict";var r=n(0),i=n(333),o=n(20),a=(n(359),n(3)),c=n(1),l=function(e){var t=e.title,n=e.image,l=e.alt,s=Object(r.useContext)(o.b).globalState;return Object(c.jsx)(c.Fragment,{children:Object(a.f)(n)?Object(c.jsxs)("div",{className:"image-with-title-component1 curve-border-15px m-b-30px x-center",children:[Object(c.jsx)(i.b,{children:Object(c.jsx)(i.a,{options:{buttons:{showFullscreenButton:!1,showDownloadButton:!1,showAutoplayButton:!1}},children:Object(c.jsx)("a",{href:n,children:Object(c.jsx)("img",{className:"image-with-title-component1-image",src:n,alt:t||l})})})}),Object(c.jsxs)("div",{className:"image-with-title-component1-text-container",children:[Object(c.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:t}),Object(a.d)(s.silhouetteLogo)&&Object(a.f)(s.silhouetteLogo.logo3)?Object(c.jsx)("img",{className:"image-with-title-component1-logo",src:s.silhouetteLogo.logo3,alt:Object(a.f)(s.teamName)?s.teamName:"Team Logo"}):null]})]}):null})};t.a=Object(r.memo)(l)},359:function(e,t,n){},640:function(e,t,n){},691:function(e,t,n){"use strict";n.r(t);var r=n(10),i=n(23),o=n(4),a=n(0),c=n(39),l=n(36),s=n(19),u=n(100),m=n(3),b=n(20),f=n(85),p=n(310),d=n(325),j=n(53),h=n(311),O=n(314),g=(n(640),n(22)),x=n(315),y=n(316),v=n(352),w=n(15),L=n(319),T=n(95),S=n(1),N=function(e){var t=e.id,n=e.title,r=e.venue,i=e.featureImage,o=e.notes,c=e.timeOfEvent,l=e.endTimeOfEvent,s=e.deleted,u=e.published,f=e.loadingSpinner,p=Object(a.useContext)(b.b).globalState,d=function(){return Object(m.f)(i)?i:Object(m.d)(Object(g.r)(p,"practiceFeatureImage"))?Object(g.r)(p,"practiceFeatureImage"):""};return Object(S.jsx)("div",{className:"practice-component1-container-container x-center m-b-50px",children:Object(S.jsxs)("div",{className:"practice-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(S.jsx)("h1",{className:"practice-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}),f?Object(S.jsx)(j.a,{color:p.websiteStyles.colors.primaryColor}):Object(S.jsx)(S.Fragment,{children:!s&&u?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(L.a,{title:"Practice",image:d(),url:Object(T.m)(p,t),shareTitle:Object(T.l)(n,p.teamAlias,r,c),marginTop:0,marginBottom:20,mobileMarginBottom:20}),Object(m.f)(r)?Object(S.jsx)("h2",{className:"practice-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(m.d)(c)?Object(S.jsx)("h3",{className:"practice-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(w.g)(Object(w.h)(c))}):null,Object(m.d)(c)&&Object(m.d)(l)&&c.seconds!==l.seconds?Object(S.jsx)("h3",{className:"practice-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:"".concat(Object(w.l)(Object(w.h)(c))," - ").concat(Object(w.l)(Object(w.h)(l)))}):Object(m.d)(c)&&Object(m.d)(l)&&c.seconds===l.seconds||Object(m.d)(c)&&!Object(m.d)(l)?Object(S.jsx)("h3",{className:"practice-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(w.l)(Object(w.h)(c))}):(Object(m.d)(c),null),Object(S.jsx)(v.a,{title:n,image:d(),alt:"Practice Feature Image"}),Object(S.jsx)("div",{className:"m-t-50px"}
2),Object(m.f)(o)?Object(S.jsx)("p",{className:"practice-component1-text-title font-size-3xl text-left-align m-t-50px m-l-50px m-r-50px",children:"Description:"}):null,Object(m.f)(o)?Object(S.jsx)("div",{className:"practice-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(O.a)(Object(g.c)(o))}):null,Object(m.d)(p.logo)&&Object(m.f)(p.logo.logo2)?Object(S.jsx)("img",{src:p.logo.logo2,className:"practice-component1-icon m-t-50px m-b-0",alt:Object(m.f)(p.teamName)?p.teamName:"Team Logo"}):null]}):s?Object(S.jsx)(y.a,{text:x.f}):u?null:Object(S.jsx)(y.a,{text:x.g})})]})})};N.defaultProps={loadingSpinner:!1};var E=Object(a.memo)(N),k=function(e){var t=e.id,n=e.title,r=e.venue,i=e.featureImage,o=e.notes,c=e.timeOfEvent,l=e.endTimeOfEvent,s=e.published,u=e.loadingSpinner,m=e.secondaryLoadingSpinner,f=Object(a.useContext)(b.b).globalState;return Object(S.jsx)(S.Fragment,{children:u?Object(S.jsx)(j.a,{color:f.websiteStyles.colors.primaryColor}):Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(h.a,{links:[{title:"Home",link:"/"},{title:"Practice",link:"/practice"}],lastCrumb:n,marginLeft:"100px"}),Object(S.jsx)(E,{id:t,title:n,venue:r,featureImage:i,notes:o,timeOfEvent:c,endTimeOfEvent:l,deleted:!1,published:s,loadingSpinner:m})]})})},C=Object(a.memo)(k);function z(){z=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.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 u(e,t,n,r){var o=t&&t.prototype instanceof j?t:j,a=Object.create(o.prototype),c=new k(r||[]);return i(a,"_invoke",{value:T(e,n,c)}),a}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var b="suspendedStart",f="executing",p="completed",d={};function j(){}function h(){}function O(){}var g={};s(g,a,(function(){return this}));var x=Object.getPrototypeOf,y=x&&x(x(C([])));y&&y!==n&&r.call(y,a)&&(g=y);var v=O.prototype=j.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function n(i,o,a,c){var l=m(e[i],e,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(u).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,c)}))}c(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function T(t,n,r){var i=b;return function(o,a){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var c=r.delegate;if(c){var l=S(c,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===b)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=f;var s=m(t,n,r);if("normal"===s.type){if(i=r.done?p:"suspendedYield",s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=p,r.method="throw",r.arg=s.arg)}}}function S(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=m(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,d;var a=o.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 N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,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 i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return h.prototype=O,i(v,"constructor",{value:O,configurable:!0}),i(O,"constructor",{value:h,configurable:!0}),h.displayName=s(O,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,O):(e.__proto__=O,s(e,l,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},w(L.prototype),s(L.prototype,c,(function(){return this})),t.AsyncIterator=L,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new L(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(v),s(v,l,"Generator"),s(v,a,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=C,k.prototype={constructor:k,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.forEac
2h(E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return c.type="throw",c.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.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),E(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 r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),d}},t}var _={title:"",featureImage:"",timeOfEvent:new Date,endTimeOfEvent:new Date,venue:"",notes:"",published:!1,loadingSpinner:!0,secondaryLoadingSpinner:!0,error:!1};function M(e,t){switch(t.type){case"fetchEventTitle":return Object(o.a)(Object(o.a)({},e),{},{title:t.title});case"fetchEvent":return Object(o.a)(Object(o.a)({},e),{},{title:t.title,featureImage:t.featureImage,venue:t.venue,notes:t.notes,published:t.published,timeOfEvent:t.timeOfEvent,endTimeOfEvent:t.endTimeOfEvent});case"setLoadingSpinner":return Object(o.a)(Object(o.a)({},e),{},{loadingSpinner:t.loadingSpinner});case"setSecondaryLoadingSpinner":return Object(o.a)(Object(o.a)({},e),{},{secondaryLoadingSpinner:t.loadingSpinner});case"setArticleLoadingSpinner":return Object(o.a)(Object(o.a)({},e),{},{articleLoadingSpinner:t.loadingSpinner});case"setGalleryLoadingSpinner":return Object(o.a)(Object(o.a)({},e),{},{galleryLoadingSpinner:t.loadingSpinner});case"setError":return Object(o.a)(Object(o.a)({},e),{},{error:!0});default:return _}}var I=function(){var e=Object(l.i)(),t=Object(a.useReducer)(M,_),n=Object(i.a)(t,2),o=n[0],j=n[1],h=Object(a.useContext)(b.b).globalState,O=Object(c.b)().enqueueSnackbar;Object(a.useEffect)((function(){Object(s.l)(h,o.title,e.eventid)}),[h,o.title]),Object(a.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(m.d)(h.accountId)){t.next=9;break}return j({type:"setLoadingSpinner",loadingSpinner:!0}),j({type:"setSecondaryLoadingSpinner",loadingSpinner:!0}),t.next=5,Object(d.b)(e.practiceid,j,O);case 5:return j({type:"setLoadingSpinner",loadingSpinner:!1}),t.next=8,Object(d.a)(h.accountId,e.practiceid,j,O);case 8:j({type:"setSecondaryLoadingSpinner",loadingSpinner:!1});case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}()}),[h.accountId,e.practiceid]);return o.error?Object(S.jsx)(l.a,{to:"/notfound"}):Object(S.jsxs)(S.Fragment,{children:[Object(m.f)(o.title)?Object(S.jsx)(p.a,{title:Object(f.c)(o.title,h),description:Object(f.a)("Check out this practice - ".concat(o.title),h),keywords:Object(f.b)("News, Practice, ".concat(o.title),h)}):null,Object(m.d)(h)&&Object(m.d)(h.websiteStyles)&&h.websiteStyles.design.article===u.a.DESIGN_1?Object(S.jsx)(C,{id:e.practiceid,title:o.title,venue:o.venue,featureImage:o.featureImage,notes:o.notes,timeOfEvent:o.timeOfEvent,endTimeOfEvent:Object(m.d)(o.endTimeOfEvent)?o.endTimeOfEvent:o.timeOfEvent,deleted:!1,published:o.published,loadingSpinner:o.loadingSpinner,secondaryLoadingSpinner:o.secondaryLoadingSpinner}):null]})};t.default=Object(a.memo)(I)}}]); 3//# sourceMappingURL=30.0793dd50.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.