1/*! For license information please see 23.cbda2f84.chunk.js.LICENSE.txt */ 2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[23],{310:function(t,e,r){"use strict";var n=r(0),o=r(130),i=r(3),a=r(20),c=r(95),l=r(1),s=function(t){var e=t.title,r=t.pageTitle,s=t.description,u=t.keywords,f=Object(n.useContext)(a.b).globalState;return Object(l.jsxs)(o.a,{children:[Object(i.f)(e)?Object(l.jsx)("title",{children:e}):null,Object(i.f)(s)?Object(l.jsx)("meta",{name:"description",content:s}):null,Object(i.f)(u)?Object(l.jsx)("meta",{name:"keywords",content:u}):null,Object(i.f)(r)&&Object(i.d)(f)&&Object(i.d)(f.accountObject)&&Object(i.f)(f.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(f.accountObject.url,'/"\n },{\n "@type": "ListItem",\n "position": 2,\n "name": "').concat(r,'"\n }]\n }\n ')}):null,Object(i.d)(f)&&Object(i.d)(f.accountObject)&&Object(i.f)(f.accountObject.url)?Object(l.jsx)("link",{rel:"canonical",href:"".concat(f.accountObject.url).concat(window.location.pathname)}):null,Object(i.f)(e)?Object(l.jsx)("meta",{name:"twitter:title",content:e}):null,Object(i.f)(s)?Object(l.jsx)("meta",{name:"twitter:description",content:s}):null,Object(i.d)(f)&&Object(i.d)(f.socials)&&Object(i.f)(f.socials.twitterURL)?Object(l.jsx)("meta",{name:"twitter:site",content:"@".concat(Object(c.p)(f.socials.twitterURL))}):null,Object(i.f)(e)?Object(l.jsx)("meta",{property:"og:title",content:e}):null,Object(i.f)(s)?Object(l.jsx)("meta",{property:"og:description",content:s}):null]})};s.defaultProps={pageTitle:""},e.a=Object(n.memo)(s)},311:function(t,e,r){"use strict";var n=r(0),o=r(324),i=r(323),a=r(332),c=r(20),l=(r(312),r(1)),s=function(t){var e=t.links,r=t.lastCrumb,s=t.marginLeft,u=t.marginTop,f=t.fontColor,p=Object(n.useContext)(c.b).globalState;return Object(l.jsxs)(o.a,{className:"alegreya-font-family font-weight-700 breadcrumbs1-container text-uppercase font-size-s",style:{marginLeft:s,marginTop:u,color:"normal"===f?p.websiteStyles.colors.primaryColor:f},separator:"\u203a","aria-label":"breadcrumb",children:[e.map((function(t){return Object(l.jsx)(i.a,{color:"inherit",href:t.link,children:t.title},t.link)})),Object(l.jsx)(a.a,{className:"alegreya-font-family font-weight-700 font-size-s",children:r})]})};s.defaultProps={marginLeft:"100px",marginTop:"280px",fontColor:"normal"},e.a=Object(n.memo)(s)},312:function(t,e,r){},315:function(t,e,r){"use strict";r.d(e,"q",(function(){return n})),r.d(e,"l",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return c})),r.d(e,"j",(function(){return l})),r.d(e,"k",(function(){return s})),r.d(e,"f",(function(){return u})),r.d(e,"g",(function(){return f})),r.d(e,"d",(function(){return p})),r.d(e,"e",(function(){return h})),r.d(e,"h",(function(){return d})),r.d(e,"i",(function(){return m})),r.d(e,"m",(function(){return b})),r.d(e,"n",(function(){return v})),r.d(e,"o",(function(){return y})),r.d(e,"p",(function(){return j}));var n="Please wait for the images to load before opening each image",o="Player not found",i="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",f="This event is not available at the moment",p="This web page is not available anymore",h="This web page is not available at the moment",d="This form is not available anymore",m="This form is not available at the moment",b="This product is not available anymore",v="This product is not available at the moment",y="This product is out of stock",j="Please access this website again using your portal"},316:function(t,e,r){"use strict";var n=r(0),o=(r(318),r(1)),i=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(n.memo)(i)},317:function(t,e,r){"use strict";var n=r(0),o=r(3),i=r(20),a=(r(321),r(1)),c=function(t){var e=t.title,r=t.useH1,c=Object(n.useContext)(i.b).globalState;return Object(a.jsxs)("div",{className:"title1 full-width",children:[r?Object(a.jsx)("h1",{className:"alegreya-font-family font-size-5xl text-uppercase m-t-0 m-b-0 font-weight-800 text-left-align",children:e}):Object(a.jsx)("p",{className:"alegreya-font-family font-size-5xl text-uppercase m-t-0 m-b-0 font-weight-800 text-left-align",children:e}),Object(o.d)(c.logo)&&Object(o.f)(c.logo.logo3)?Object(a.jsx)("img",{className:"title1-logo",src:c.logo.logo3,alt:Object(o.f)(c.teamName)?c.teamName:"Team Logo"}):null]})};c.defaultProps={useH1:!0},e.a=Object(n.memo)(c)},318:function(t,e,r){},319:function(t,e,r){"use strict";var n=r(0),o=r(379),i=(r(343),r(20)),a=r(3),c=r(19),l=r(1),s=function(t){var e=t.title,r=t.image,s=t.url,u=t.shareTitle,f=t.center,p=t.marginTop,h=t.marginBottom,d=t.marginLeft,m=t.mobileMarginTop,b=t.mobileMarginBottom,v=t.mobileMarginLeft,y=Object(n.useContext)(i.b).globalState,j=function(){return Object(a.d)(y)&&Object(a.d)(y.socials)&&Object(a.f)(y.socials.sharingHashTags)?y.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(f?"share-component-1-center":"share-component-1-left"," m-t-").concat(p,"px m-b-").concat(h,"px m-l-").concat(d,"px"),children:[Object(l.jsx)(o.c,{
2className:"button m-r-10px",url:s,quote:u,description:u,onClick:function(){Object(c.d)("share",{socialMedium:"facebook",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.b,{size:50,round:!0})}),Object(l.jsx)(o.l,{className:"button m-r-10px",title:u,url:s,hashtags:j(),onClick:function(){Object(c.d)("share",{socialMedium:"twitter",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.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:e.toLowerCase()})},children:Object(l.jsx)(o.a,{size:50,round:!0})}),Object(l.jsx)(o.n,{className:"button m-r-10px",title:u,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"whatsapp",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.m,{size:50,round:!0})}),Object(l.jsx)(o.e,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"linkedin",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.d,{size:50,round:!0})}),Object(l.jsx)(o.i,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"reddit",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.h,{size:50,round:!0})}),Object(l.jsx)(o.k,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"tumblr",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.j,{size:50,round:!0})}),Object(a.f)(r)?Object(l.jsx)(o.g,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,media:r,onClick:function(){Object(c.d)("share",{socialMedium:"pinterest",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.f,{size:50,round:!0})}):null]}),Object(l.jsxs)("div",{className:"share-component-1 share-component-1-mobile ".concat(f?"share-component-1-center":"share-component-1-left"," m-t-").concat(m,"px m-b-").concat(b,"px m-l-").concat(v,"px"),children:[Object(l.jsx)(o.c,{
2className:"button m-r-10px",url:s,quote:u,hashtag:function(){if(Object(a.d)(y)&&Object(a.d)(y.socials)&&Object(a.f)(y.socials.sharingHashTags)){var t=y.socials.sharingHashTags.replace(/\s/g,"").replace(/#\b/g,"").split(",");return"#".concat(t.join(" #"))}return""}(),description:u,onClick:function(){Object(c.d)("share",{socialMedium:"facebook",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.b,{size:35,round:!0})}),Object(l.jsx)(o.l,{className:"button m-r-10px",title:u,url:s,hashtags:j(),onClick:function(){Object(c.d)("share",{socialMedium:"twitter",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.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:e.toLowerCase()})},children:Object(l.jsx)(o.a,{size:35,round:!0})}),Object(l.jsx)(o.n,{className:"button m-r-10px",title:u,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"whatsapp",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.m,{size:35,round:!0})}),Object(l.jsx)(o.e,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"linkedin",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.d,{size:35,round:!0})}),Object(l.jsx)(o.i,{className:"button m-r-10px",title:u,summary:u,source:s,url:s,onClick:function(){Object(c.d)("share",{socialMedium:"reddit",socialTitle:e.toLowerCase()})},children:Object(l.jsx)(o.h,{size:35,round:!0})})]})]})};s.defaultProps={image:"",center:!1,marginTop:10,marginBottom:10,marginLeft:50,mobileMarginTop:10,mobileMarginBottom:10,mobileMarginLeft:10},e.a=Object(n.memo)(s)},321:function(t,e,r){},343:function(t,e,r){},402:function(t,e,r){"use strict";var n;r.d(e,"a",(function(){return n})),function(t){t[t.NONE=0]="NONE",t[t.TEXT=1]="TEXT",t[t.TEXTFIELD_TEXT=2]="TEXTFIELD_TEXT",t[t.TEXTFIELD_MULTILINE_TEXT=3]="TEXTFIELD_MULTILINE_TEXT",t[t.TEXTFIELD_NUMBER=4]="TEXTFIELD_NUMBER",t[t.TEXTFIELD_DATE=5]="TEXTFIELD_DATE",t[t.SELECT_OPTIONS=6]="SELECT_OPTIONS"}(n||(n={}))},416:function(t,e,r){"use strict";r.d(e,"c",(function(){return l})),r.d(e,"b",(function(){return s})),r.d(e,"d",(function(){return u})),r.d(e,"a",(function(){return f}));var n=r(4),o=r(402),i=r(146),a=r(13),c=r(3),l=function(t,e,r,i){return i.map((function(t){return t.type===o.a.TEXT?Object(n.a)(Object(n.a)({},t),{},{text:t.text.replaceAll("$$##{organizationName}",r).replaceAll("$$##{teamName}",r).replaceAll("$$##{newLine}","\n")}):t.type===o.a.TEXTFIELD_TEXT||o.a.TEXTFIELD_NUMBER||o.a.TEXTFIELD_DATE||o.a.TEXTFIELD_MULTILINE_TEXT||o.a.SELECT_OPTIONS?Object(n.a)(Object(n.a)({},t),{},{title:t.title.replaceAll("$$##{organizationName}",r).replaceAll("$$##{teamName}",r),subtitle:t.subtitle.replace("$$##{organizationName}",r).replace("$$##{teamName}",r),helperText:t.helperText.replace("$$##{organizationName}",r).replace("$$##{teamName}",r)}):t}))},s=function(t,e,r){return Object(c.d)(t)&&Object(c.d)(t.emails)&&0!==t.emails.length?t.emails.filter((function(e){return!Object(c.d)(t.emailsNotAllowed[r])||(0===t.emailsNotAllowed[r].length||!t.emailsNotAllowed[r].includes(e.id))})).map((function(t){return t.email})):[e]},u=function(t,e,r){return t!==i.a.NONE&&t!==i.a.OTHER&&t!==i.a.CUSTOM_FORM&&t!==i.a.CUSTOM_PLAYER_DUES_FORM&&t!==i.a.CUSTOM_SPONSORSHIP_FORM&&t!==i.a.CUSTOM_DONATION_FORM?Object(i.b)(t):t===i.a.NONE||t===i.a.OTHER?"Unkown Form":e.toLowerCase().includes("form")?r?"".concat(e,"(").concat(Object(i.b)(t),")"):e:r?"".concat(e," Form(").concat(Object(i.b)(t),")"):"".concat(e," Form")},f=function(t){return t===a.a.WOMENSICEHOCKEY?"contact-us-form-womens-hockey":t===a.a.MENSICEHOCKEY?"contact-us-form-mens-hockey":t===a.a.WOMENSRUGBY?"contact-us-form-womens-rugby":t===a.a.MENSRUGBY?"contact-us-form-mens-rugby":t===a.a.WOMENSLACROSSE?"contact-us-form-womens-lacrosse"
vendor: 4,598 bytes, line 2
2:t===a.a.MENSLACROSSE?"contact-us-form-mens-lacrosse":t===a.a.WOMENSBASEBALL?"contact-us-form-womens-baseball":t===a.a.MENSBASEBALL?"contact-us-form-mens-baseball":""}},460:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){if("undefined"!==typeof document&&null===document.getElementById("recaptcha-lib")){var t=document.createElement("script");t.id="recaptcha-lib",t.src="https://www.google.com/recaptcha/api.js",t.async=!0,t.defer=!0,document.body.appendChild(t)}}},462:function(t,e,r){"use strict";r.d(e,"a",(function(){return h})),r.d(e,"b",(function(){return d}));var n,o,i=r(10),a=r(18),c=r(19),l=r(14),s=r(41),u=r(2),f=r(3);function p(){p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:L(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var h="suspendedStart",d="executing",m="completed",b={};function v(){}function y(){}function j(){}var g={};s(g,a,(function(){return this}));var O=Object.getPrototypeOf,x=O&&O(O(_([])));x&&x!==r&&n.call(x,a)&&(g=x);var w=j.prototype=v.prototype=Object.create(g);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,i,a,c){var l=f(t[o],t,i);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(u).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function L(e,r,n){var o=h;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=N(c,n);if(l){if(l===b)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?m:"suspendedYield",s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function N(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function S(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=j,o(w,"constructor",{value:j,configurable:!0}),o(j,"constructor",{value:y,configurable:!0}),y.displayName=s(j,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,j):(t.__proto__=j,s(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},E(T.prototype),s(T.prototype,c,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
2ise);var a=new T(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(w),s(w,l,"Generator"),s(w,a,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,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(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},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 r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}var h=function(t,e,r,o,h,d,m,b,v,y,j,g,O,x,w,E){return(n=n||Object(i.a)(p().mark((function t(e,r,n,o,i,h,d,m,b,v,y,j,g,O,x,w){var E,T,L,N,S;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,E=Object(s.c)(),T={id:E,formId:o,formType:i,formTitle:h,teamId:r,organizationId:e,emails:d,adminEmails:m,otherOptions:JSON.stringify(b),read:!1,replied:!1,deleted:!1,version:"v2",sportsType:n},L=a.c.httpsCallable("onFormCheckout"),t.next=6,L({stripeAccountId:g,stripePrices:O,formObject:T,successUrl:x,cancelUrl:w});case 6:N=t.sent,S=N.data,Object(f.b)(S.optimXSuccess)?S.optimXSuccess?(y(l.S,{variant:"success"}),v({type:"setDataChanged",dataChanged:!1}),Object(c.g)(i,m),j.replace("/")):y(l.R,{variant:"error"}):window.location.assign(S.url),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(0),Object(c.e)(l.R),u.c&&(y(l.R,{variant:"error"}),console.log(t.t0));case 15:case"end":return t.stop()}}),t,null,[[0,11]])})))).apply(this,arguments)},d=function(t,e,r,n,h,d,m,b,v,y){return(o=o||Object(i.a)(p().mark((function t(e,r,n,o,i,h,d,m,b,v){var y,j,g,O,x;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,y=Object(s.c)(),j={id:y,formId:o,formType:i,formTitle:h,teamId:r,organizationId:e,emails:[],adminEmails:d,otherOptions:JSON.stringify(m),read:!1,replied:!1,deleted:!1,version:"v2",sportsType:n},g=a.c.httpsCallable("onFormCheckout"),t.next=6,g({stripeAccountId:"",stripePrices:[],formObject:j,successUrl:"",cancelUrl:""});case 6:O=t.sent,x=O.data,Object(f.b)(x.optimXSuccess)&&x.optimXSuccess&&(v(l.S,{variant:"success"}),b({type:"setDataChanged",dataChanged:!1}),Object(c.g)(i,d)),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(0),Object(c.e)(l.R),u.c&&(v(l.R,{variant:"error"}),console.log(t.t0));case 15:case"end":return t.stop()}}),t,null,[[0,11]])})))).apply(this,arguments)}},636:function(t,e,r){},637:function(t,e,r){},683:function(t,e,r){"use strict";r.r(e);
vendor: 4,335 bytes, line 2
2var n,o,i=r(10),a=r(23),c=r(4),l=r(0),s=r.n(l),u=r(39),f=r(36),p=r(3),h=r(20),d=r(85),m=r(310),b=r(19),v=r(14),y=r(2),j=r(416),g=r(18),O=function(t){return g.b.collection("teams/".concat(t,"/custom-forms"))},x=function(t,e){return function(t,e){return O(t).doc(e)}(t,e).get()},w=function(){return g.b.collection("pre-developed-forms")},E=function(t){return function(t){return w().doc(t)}(t).get()};function T(){T=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:L(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",h="executing",d="completed",m={};function b(){}function v(){}function y(){}var j={};s(j,a,(function(){return this}));var g=Object.getPrototypeOf,O=g&&g(g(_([])));O&&O!==r&&n.call(O,a)&&(j=O);var x=y.prototype=b.prototype=Object.create(j);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,c){var l=f(t[o],t,i);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(u).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function L(e,r,n){var o=p;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=N(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function N(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function S(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function _(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=y,o(x,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=s(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},w(E.prototype),s(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
2ise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(x),s(x,l,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=_,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(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var L=function(t,e,r,o){return(n=n||Object(i.a)(T().mark((function t(e,r,n,o){var i,a,c,l,s,u,f;return T().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,x(e,r);case 3:return a=t.sent,t.next=6,E(r);case 6:c=t.sent,a.exists&&(null===(i=a.data())||void 0===i?void 0:i.teamId)===e?(null===(l=a.data())||void 0===l?void 0:l.deleted)?(Object(b.e)(v.N),n({type:"setError"}),y.c&&o(v.N,{variant:"error"})):(s=a.data(),n({type:"fetchFormTitle",title:null===s||void 0===s?void 0:s.title})):c.exists?(null===(u=a.data())||void 0===u?void 0:u.deleted)?(Object(b.e)(v.N),n({type:"setError"}),y.c&&o(v.N,{variant:"error"})):(f=c.data(),n({type:"fetchFormTitle",title:null===f||void 0===f?void 0:f.title})):(Object(b.e)(v.N),n({type:"setError"}),y.c&&o(v.N,{variant:"error"})),t.next=15;break;case 10:t.prev=10,t.t0=t.catch(0),Object(b.e)(v.v),n({type:"setError"}),y.c&&o(v.v,{variant:"error"});case 15:case"end":return t.stop()}}),t,null,[[0,10]])})))).apply(this,arguments)},N=function(t,e,r,n,a,c,l){return(o=o||Object(i.a)(T().mark((function t(e,r,n,o,i,a,c){var l,s,u,f,h,d,m;return T().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,x(n,i);case 3:return s=t.sent,t.next=6,E(i);case 6:u=t.sent,s.exists&&(null===(l=s.data())||void 0===l?void 0:l.teamId)===n?(null===(f=s.data())||void 0===f?void 0:f.deleted)?(Object(b.e)(v.N),a({type:"setError"}),y.c&&c(v.N,{variant:"error"})):(h=s.data(),a({type:"fetchForm",title:null===h||void 0===h?void 0:h.title,formType:null===h||void 0===h?void 0:h.formType,description:null===h||void 0===h?void 0:h.description,notes:null===h||void 0===h?void 0:h.notes,published:null===h||void 0===h?void 0:h.published,isCustom:null===h||void 0===h?void 0:h.isCustom,content:null===h||void 0===h?void 0:h.content,paymentContent:Object(p.d)(null===h||void 0===h?void 0:h.paymentContent)?null===h||void 0===h?void 0:h.paymentContent:[]})):u.exists?(null===(d=s.data())||void 0===d?void 0:d.deleted)?(Object(b.e)(v.N),a({type:"setError"}),y.c&&c(v.N,{variant:"error"})):(m=u.data(),a({type:"fetchForm",title:null===m||void 0===m?void 0:m.title,formType:null===m||void 0===m?void 0:m.formType,description:null===m||void 0===m?void 0:m.description,notes:null===m||void 0===m?void 0:m.notes,published:null===m||void 0===m?void 0:m.published,isCustom:null===m||void 0===m?void 0:m.isCustom,content:Object(j.c)(e,r,o,null===m||void 0===m?void 0:m.content),paymentContent:[]})):(Object(b.e)(v.N),a({type:"setError"}),y.c&&c(v.N,{variant:"error"})),t.next=15;break;case 10:t.prev=10,t.t0=t.catch(0),Object(b.e)(v.v),a({type:"setError"}),y.c&&c(v.v,{variant:"error"});case 15:case"end":return t.stop()}}),t,null,[[0,10]])})))).apply(this,arguments)},S=r(53),C=r(311),I=r(314),_=r(412),k=r(315),P=r(316),F=r(402),M=r(124),A=r(294),X=r(304),G=r(308),z=r(296),R=(r(636),r(1)),q=function(t){var e=t.title,r=t.options,n=t.required,o=t.error,i=t.halfWidth,a=t.helperText,c=t.value,l=t.onChange;return Object(R.jsxs)(A.a,{variant:"outlined",className:i?"half-width select-primary-color":"full-width select-primary-color",error:o,children:[Object(R.jsx)("p",{className:"select-title text-left-align m-t-0 m-b-0",children:"".concat(e).concat(n?"*":"")}),Object(R.jsxs)(X.a,{value:c,fullWidth:!0,error:o,onChange:l,required:n,children:[n?null:Object(R.jsx)(G.a,{value:"",children:"None"}),r.map((function(t){return Object(R.jsx)(G.a,{value:t.value,children:t.title},t.value)}))]}),a?Object(R.jsx)(z.a,{children:a}):null]})};q.defaultProps={required:!1,error:!1,halfWidth:!1,helperText:""};var D=Object(l.memo)(q),U=r(319),B=r(317),H=(r(637),r(84)),$=r(22),W=r(95),Y=r(46),J=r(28),K=r(460),V=r(461),Q={verified:!1};function Z(t,e){switch(e.type){case"reset":return Object(c.a)({},Q);case"setVerified":return Object(c.a)(Object(c.a)({},t),{},{verified:e.verified});default:return Q}}
2var tt=function(t){var e=t.id,r=t.title,n=t.formItems,o=t.formPaymentItems,i=t.paymentOptionSelected,f=t.deleted,d=t.published,m=t.savePressed,j=t.loadingSpinner,g=t.submissionLoadingSpinner,O=t.setState,x=t.saveHandler,w=Object(l.useContext)(h.b).globalState;Object(l.useEffect)((function(){Object(K.a)()}),[]);var E=Object(l.useReducer)(Z,Q),T=Object(a.a)(E,2),L=T[0],N=T[1],C=Object(u.b)().enqueueSnackbar,A=function(t,e){return Object(p.f)(t.stripePriceId)&&function(){var t=!1;return o.forEach((function(e){e.title&&(t=!0)})),t}()?Object(R.jsxs)("div",{className:"form-component1-payment-option-detailed",style:i===e?Object(c.a)({},Object($.f)(w)):null,onClick:function(){O({type:"setPaymentOption",option:e})},children:[Object(R.jsxs)("div",{className:"form-component1-title",children:[Object(R.jsx)("p",{className:"normal-font-family font-size-xl font-weight-500 text-left-align text-uppercase m-t-0 m-b-20px",children:Object(p.f)(t.title)?t.title:"Payment Option: ".concat(Object(Y.d)(t.price))}),Object(R.jsx)("p",{className:"normal-font-family font-size-m font-weight-300 text-left-align m-t-0 m-b-0",children:Object(I.a)(Object($.c)(t.description))})]}),Object(R.jsx)("div",{className:"form-component1-price ".concat(i===e?"selected":""),style:i===e?Object(c.a)(Object(c.a)({},Object($.g)(w)),{},{borderColor:w.websiteStyles.colors.primaryColor}):null,onClick:function(){O({type:"setPaymentOption",option:e})},children:Object(R.jsx)("p",{className:"m-t-0 m-b-0",children:Object(Y.d)(t.price)})})]}):Object(p.f)(t.stripePriceId)&&function(){var t=!1;return o.forEach((function(e){e.title&&(t=!0)})),t}()?Object(R.jsx)(_.a,{title:t.description,placement:"top",arrow:!0,children:Object(R.jsx)("div",{className:"form-component1-payment-option ".concat(i===e?"selected":""),style:i===e?Object(c.a)(Object(c.a)({},Object($.g)(w)),{},{borderColor:w.websiteStyles.colors.primaryColor}):null,onClick:function(){O({type:"setPaymentOption",option:e})},children:Object(R.jsx)("p",{className:"m-t-0 m-b-0",children:Object(Y.d)(t.price)})})}):Object(p.f)(t.stripePriceId)?Object(R.jsx)("div",{className:"form-component1-payment-option ".concat(i===e?"selected":""),style:i===e?Object(c.a)(Object(c.a)({},Object($.g)(w)),{},{borderColor:w.websiteStyles.colors.primaryColor}):null,onClick:function(){O({type:"setPaymentOption",option:e})},children:Object(R.jsx)("p",{className:"m-t-0 m-b-0",children:Object(Y.d)(t.price)})}):null},X=function(t){return t.type===F.a.TEXT?Object(R.jsx)("div",{className:"text-left-align normal-font-family m-t-20px m-b-0 font-weight-400 line-height-wide font-spacing-wide full-width",children:Object(I.a)(Object($.c)("".concat(t.text,"\n\n")))}):t.type===F.a.TEXTFIELD_TEXT?Object(R.jsx)(M.a,{title:t.title,halfWidth:t.halfWidth,required:t.required,helperText:t.helperText,error:m&&t.required&&!Object(p.f)(t.value),value:t.value,onChange:function(e){O({type:"setFormItem",id:t.id,value:e.target.value,valueTitle:e.target.value})}}):t.type===F.a.TEXTFIELD_DATE?Object(R.jsx)(M.a,{title:t.title,type:"date",halfWidth:t.halfWidth,required:t.required,helperText:t.helperText,error:m&&t.required&&!Object(p.f)(t.value),value:t.value,onChange:function(e){O({type:"setFormItem",id:t.id,value:e.target.value,valueTitle:e.target.value})}}):t.type===F.a.TEXTFIELD_NUMBER?Object(R.jsx)(M.a,{title:t.title,type:"number",halfWidth:t.halfWidth,required:t.required,helperText:t.helperText,error:m&&t.required&&!Object(p.f)(t.value),value:t.value,onChange:function(e){O({type:"setFormItem",id:t.id,value:e.target.value,valueTitle:e.target.value})}}):t.type===F.a.TEXTFIELD_MULTILINE_TEXT?Object(R.jsx)(M.a,{title:t.title,halfWidth:t.halfWidth,required:t.required,helperText:t.helperText,error:m&&t.required&&!Object(p.f)(t.value),rows:t.lines,value:t.value,onChange:function(e){O({type:"setFormItem",id:t.id,value:e.target.value,valueTitle:e.target.value})}}):t.type===F.a.SELECT_OPTIONS?Object(R.jsx)(D,{title:t.title,options:t.options.map((function(t){return{value:t.id,title:t.title}})),halfWidth:t.halfWidth,required:t.required,helperText:t.helperText,error:m&&t.required&&!Object(p.f)(t.value),value:t.value,onChange:function(e){var r="";t.options.forEach((function(t){t.id===e.target.value&&(r=t.title)})),O({type:"setFormItem",id:t.id,value:e.target.value,valueTitle:r})}}):null};return Object(R.jsxs)("div",{className:"form-component1-container box-shadow-black bg-white curve-border-20px x-center p-t-20px p-b-20px p-l-50px p-r-50px m-t-50px m-b-200px",children:[Object(R.jsx)(B.a,{title:r}),f||!d||o.length>0&&!Object(J.e)(w)?f?Object(R.jsx)(P.a,{text:k.h}):d?o.length>0&&!Object(J.e)(w)?Object(R.jsx)(P.a,{text:k.i}):null:Object(R.jsx)(P.a,{text:k.i}):Object(R.jsx)(R.Fragment,{children:j?Object(R.jsx)(S.a,{color:w.websiteStyles.colors.primaryColor}):Object(R.jsxs)(R.Fragment,{children:[Object(R.jsx)(U.a,{title:"Form",url:Object(W.f)(w,e),shareTitle:Object(W.e)(r,w.teamAlias),marginLeft:0,marginTop:0,marginBottom:50,mobileMarginTop:0,mobileMarginLeft:0,mobileMarginBottom:50}),Object(R.jsx)("p",{className:"text-left-align m-t-40px m-b-0px",children:"Fields marked with an * are required"}),Object(R.jsx)("div",{className:"form-component1-formtypes",children:n.map((function(t){return Object(R.jsx)(s.a.Fragment,{children:X(t)},t.id)}))}),o.length>1?Object(R.jsxs)(R.Fragment,{children:[Object(R.jsx)("p",{className:"textfield-title text-left-align m-t-50px m-b-0",style:{color:"gray"},children:"PAYMENT OPTIONS*"}),Object(R.jsx)("div",{className:"form-component1-payment-options",children:o.map((function(t,e){return Object(R.jsx)(s.a.Fragment,{children:A(t,e)},t.id)}))})]}):null,o.length>0?Object(R.jsxs)(R.Fragment,{children:[Y.c?Object(R.jsxs)(R.Fragment,{children:[Object(R.jsxs)("div",{className:"form-component1-subprice-footer-container m-t-30px",children:[Object(R.jsx)("p",{className:"form-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:"}
2),Object(R.jsx)("p",{className:"form-component1-subprice-footer-total text-right-align m-t-0 m-b-0",children:Object(Y.f)(o[i].price)})]}),Object(R.jsxs)("div",{className:"form-component1-subprice-footer-container",children:[Object(R.jsx)("p",{className:"form-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(R.jsx)("p",{className:"form-component1-subprice-footer-total text-right-align m-t-0 m-b-0",children:Object(Y.b)(o[i].price)})]})]}):null,Object(R.jsxs)("div",{className:"form-component1-price-footer-container",children:[Object(R.jsx)("p",{className:"form-component1-price-footer-total-label alegreya-font-family font-weight-800 text-uppercase font-size-3xl text-center-align m-t-0 m-b-0",children:"Total:"}),Object(R.jsx)("p",{className:"form-component1-price-footer-total text-right-align m-t-0 m-b-0",children:Object(Y.d)(o[i].price)})]})]}):null,Object(R.jsxs)("div",{className:"form-component1-submit-row m-t-20px",children:[Object(R.jsx)(V,{sitekey:y.d,render:"explicit",verifyCallback:function(){N({type:"setVerified",verified:!0})}}),Object(R.jsx)(H.a,{title:o.length>0?"Pay now":"Submit",backgroundColor:w.websiteStyles.colors.primaryColor,borderColor:w.websiteStyles.colors.primaryColor,fontColor:Object(p.f)(w.websiteStyles.colors.fontColor)?"".concat(w.websiteStyles.colors.fontColor):"white",fontSize:"1rem",fontFamily:"HelveticaNeue-CondensedBold, Roboto Condensed, Helvetica Neue, Helvetica,Arial, sans-serif",borderRadius:"5px",height:"44px",width:"300px",onClick:function(){(null!==L.verified&&void 0!==L.verified&&!1!==L.verified||(Object(b.e)("recaptcha"),C(v.X,{variant:"error"}),0))&&x()},loadingSpinner:g})]})]})}),Object(p.d)(w.logo)&&Object(p.f)(w.logo.logo2)?Object(R.jsx)("img",{src:w.logo.logo2,className:"form-component1-icon m-t-50px m-b-0",alt:Object(p.f)(w.teamName)?w.teamName:"Team Logo"}):null]})};tt.defaultProps={loadingSpinner:!1,submissionLoadingSpinner:!1};var et=Object(l.memo)(tt),rt=r(462);function nt(){nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new C(n||[]);return o(a,"_invoke",{value:T(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",h="executing",d="completed",m={};function b(){}function v(){}function y(){}var j={};s(j,a,(function(){return this}));var g=Object.getPrototypeOf,O=g&&g(g(I([])));O&&O!==r&&n.call(O,a)&&(j=O);var x=y.prototype=b.prototype=Object.create(j);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,c){var l=f(t[o],t,i);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(u).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function T(e,r,n){var o=p;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=L(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function L(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
2(r.method="return",r.arg=t,L(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=y,o(x,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=s(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},w(E.prototype),s(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(x),s(x,l,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var ot={formItems:[],paymentOptionSelected:0,savePressed:!1,dataChanged:!1,loadingSpinner:!0};function it(t,e){switch(e.type){case"reset":return Object(c.a)({},ot);case"setFormItems":return Object(c.a)(Object(c.a)({},t),{},{formItems:e.formItems});case"setPaymentOption":return Object(c.a)(Object(c.a)({},t),{},{paymentOptionSelected:e.option});case"setFormItem":return Object(c.a)(Object(c.a)({},t),{},{formItems:t.formItems.map((function(t){return t.id!==e.id?t:Object(c.a)(Object(c.a)({},t),{},{value:e.value,valueTitle:e.valueTitle})}))});case"setSavePressed":return Object(c.a)(Object(c.a)({},t),{},{savePressed:e.savePressed});case"setDataChanged":return Object(c.a)(Object(c.a)({},t),{},{dataChanged:e.dataChanged});case"setLoadingSpinner":return Object(c.a)(Object(c.a)({},t),{},{loadingSpinner:e.loadingSpinner});default:return ot}}var at=function(t){var e,r=t.title,n=t.formItems,o=t.formPaymentItems,s=t.formType,d=t.published,m=t.loadingSpinner,b=t.secondaryLoadingSpinner,y=Object(l.useReducer)(it,ot),g=Object(a.a)(y,2),O=g[0],x=g[1],w=Object(l.useContext)(h.b).globalState,E=Object(u.b)().enqueueSnackbar,T=Object(f.g)(),L=Object(f.i)();Object(l.useEffect)((function(){x({type:"reset"}),x({type:"setLoadingSpinner",loadingSpinner:!0}),x({type:"setFormItems",formItems:n.map((function(t){return Object(c.a)(Object(c.a)({},t),{},{value:"",valueTitle:""})}))}),x({type:"setLoadingSpinner",loadingSpinner:!1})}),[T.location.pathname,n]);var N=function(){var t=!1;
2return O.formItems.forEach((function(e){e.required&&!Object(p.f)(e.value)?(E(Object(v.O)(e.title),{variant:"error"}),t=!0):e.isEmail&&Object(p.f)(e.value)&&!Object(p.c)(e.value)&&(E(v.T,{variant:"error"}),t=!0)})),!t},I=function(){var t=[];return O.formItems.forEach((function(e){e.isEmail&&Object(p.c)(e.value)&&t.push(e.value.trim())})),t},_=function(){var t=O.formItems.map((function(t){if(t.type===F.a.TEXT)return null;if(t.type===F.a.TEXTFIELD_DATE){if(Object(p.f)(t.valueTitle)){var e=t.valueTitle.split("-"),r="".concat(e[1],"/").concat(e[2],"/").concat(e[0]);return{id:t.id,title:t.title,value:r}}return{id:t.id,title:t.title,value:""}}return{id:t.id,title:t.title,value:t.valueTitle}})).filter((function(t){return!!Object(p.d)(t)}));if(o.length>0){var e=o[O.paymentOptionSelected].id,r=o[O.paymentOptionSelected].title,n=o[O.paymentOptionSelected].price,i=o[O.paymentOptionSelected].currency,a=o[O.paymentOptionSelected].stripePriceId;Object(p.f)(r)&&t.push({id:"payment-option",title:"Payment Option",value:r,paymentId:e,paymentStripeId:a}),t.push({id:"payment-amount",title:"Payment Amount",value:Object(Y.e)(n,i)})}return t};return Object(R.jsx)(R.Fragment,{children:m?Object(R.jsx)(S.a,{color:w.websiteStyles.colors.primaryColor}):Object(R.jsxs)(R.Fragment,{children:[Object(R.jsx)(C.a,{links:[{title:"Home",link:"/"}],lastCrumb:r,marginLeft:"100px"}),Object(R.jsx)(et,{id:L.formid,title:r,formItems:O.formItems,formPaymentItems:o,paymentOptionSelected:O.paymentOptionSelected,deleted:!1,published:d,savePressed:O.savePressed,loadingSpinner:b,submissionLoadingSpinner:O.loadingSpinner,setState:x,saveHandler:function(){return(e=e||Object(i.a)(nt().mark((function t(){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(x({type:"setSavePressed",savePressed:!0}),x({type:"setLoadingSpinner",loadingSpinner:!0}),!N()){t.next=5;break}return t.next=5,Object(rt.a)(w.organizationId,w.teamId,w.sportsType,L.formid,s,Object(j.d)(s,r,!1),I(),Object(j.b)(w.form,w.teamEmail,L.formid),_(),x,E,T,w.stripeAccountId,o.length>0?[{id:o[O.paymentOptionSelected].stripePriceId,quantity:1}]:[],Object(J.l)(w),Object(W.f)(w,L.formid));case 5:x({type:"setLoadingSpinner",loadingSpinner:!1});case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}})]})})},ct=Object(l.memo)(at);function lt(){lt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new C(n||[]);return o(a,"_invoke",{value:T(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",h="executing",d="completed",m={};function b(){}function v(){}function y(){}var j={};s(j,a,(function(){return this}));var g=Object.getPrototypeOf,O=g&&g(g(I([])));O&&O!==r&&n.call(O,a)&&(j=O);var x=y.prototype=b.prototype=Object.create(j);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,c){var l=f(t[o],t,i);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(u).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function T(e,r,n){var o=p;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=L(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function L(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
2(r.method="return",r.arg=t,L(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return v.prototype=y,o(x,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=s(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},w(E.prototype),s(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(x),s(x,l,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var st={title:"",published:!0,formType:r(146).a.NONE,isCustom:!1,formItems:[],formPaymentItems:[],loadingSpinner:!0,secondaryLoadingSpinner:!0,error:!1};function ut(t,e){switch(e.type){case"fetchFormTitle":return Object(c.a)(Object(c.a)({},t),{},{title:e.title});case"fetchForm":return Object(c.a)(Object(c.a)({},t),{},{title:e.title,formType:e.formType,published:e.published,isCustom:e.isCustom,formItems:e.content,formPaymentItems:e.paymentContent});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"setError":return Object(c.a)(Object(c.a)({},t),{},{error:!0});default:return st}}var ft=function(){var t=Object(l.useContext)(h.b).globalState,e=Object(f.i)(),r=Object(l.useReducer)(ut,st),n=Object(a.a)(r,2),o=n[0],c=n[1],s=Object(u.b)().enqueueSnackbar;Object(l.useEffect)((function(){Object(b.n)(t,o.title)}),[t,o.title]),Object(l.useEffect)((function(){var r;!function(){(r=r||Object(i.a)(lt().mark((function r(){return lt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!Object(p.f)(t.accountId)||!Object(p.f)(e.formid)){r.next=9;break}return c({type:"setLoadingSpinner",loadingSpinner:!0}),c({type:"setSecondaryLoadingSpinner",loadingSpinner:!0}),r.next=5,L(t.accountId,e.formid,c,s);case 5:return c({type:"setLoadingSpinner",loadingSpinner:!1}),r.next=8,N(t.organizationName,t.teamName,t.accountId,t.teamAlias,e.formid,c,s);case 8:c({type:"setSecondaryLoadingSpinner",loadingSpinner:!1});case 9:case"end":return r.stop()}}),r)})))).apply(this,arguments)}()}),[t.accountId,e.formid]);return o.error?Object(R.jsx)(f.a,{to:"/notfound"}):Object(R.jsxs)(R.Fragment,{children:[Object(p.f)(o.title)?Object(R.jsx)(m.a,{title:Object(d.c)(o.title,t),pageTitle:o.title,de
2scription:Object(d.a)("Check out our ".concat(o.title),t),keywords:Object(d.b)("".concat(o.title,", Form"),t)}):null,Object(p.d)(t)&&Object(p.d)(t.websiteStyles)?Object(R.jsx)(ct,{title:o.title,formItems:o.formItems,formType:o.formType,formPaymentItems:o.formPaymentItems,published:o.published,loadingSpinner:o.loadingSpinner,secondaryLoadingSpinner:o.secondaryLoadingSpinner}):null]})};e.default=Object(l.memo)(ft)}}]); 3//# sourceMappingURL=23.cbda2f84.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.