PageSourceSearch

https://www.julieslibraryshow.org/_next/static/chunks/pages/contact-153b62d12b92e804.js

js julieslibraryshow.org collected 2026-09-28 10:20:01 UTC 23,238 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{6694:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return I}});var a,i=s(29),n=s(7757),l=s.n(n),r=s(7294),o=s(6687),c=s(2777),d=s(2262),u=s(748),h=s(5959),m=s(3553),f=s(7247),p=s(3144),b=s.n(p),x=s(4853),_=s(3807),v=s(5893),j=function(e){var t=e.elementClass?"icon ".concat(e.elementClass):"icon";return(0,v.jsxs)("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:e.width?e.width:37,height:e.height?e.height:29,viewBox:"0 0 37 29",version:"1.1",children:[(0,v.jsx)("path",{d:"M13.5 22.5C13 24.3 10.1 27.1 4.2 25.4 6.2 27.1 12.9 29.9 19.3 23.6 43.3 24.4 38.7 3.3 20.3 1.3 0-1-7.2 17.1 13.5 22.5Z",fill:"#FFFFFF"}),(0,v.jsx)("path",{d:"M0.8 8.7C2.9 3 10.7-0.6 20.4 0.5 29.3 1.5 35.9 7.2 36.4 13.4 37 20.1 30.7 24.6 19.6 24.4 14.1 29.5 7.5 29.2 3.7 26 3.1 25.4 3.6 24.5 4.4 24.7 8.5 25.8 11.5 24.8 12.5 23 3.1 20.3-1.3 14.5 0.8 8.7ZM18.8 23.1C18.9 22.9 19.1 22.9 19.3 22.9 29.8 23.2 35.4 19.2 35 13.6 34.5 8.1 28.5 2.9 20.3 2 11.1 1 4 4.2 2.2 9.2 0.4 14.2 4.5 19.4 13.7 21.7 14.1 21.9 14.3 22.3 14.2 22.7 13.6 24.8 11.5 26.4 8.4 26.6 11.5 27.3 15.4 26.4 18.8 23.1Z",fillRule:"nonzero"}),(0,v.jsx)("path",{d:"M17.8 16.8C17.8 16.8 17.7 16.7 17.7 16.7 17.6 16.7 17.6 16.7 17.6 16.7 16.7 16.3 15.7 16.8 15.6 17.8 15.6 18.1 15.7 18.3 15.9 18.5 16.1 19.4 17.2 19.6 17.9 19.2 18.8 18.6 18.6 17.3 17.8 16.8"}),(0,v.jsx)("path",{d:"M21.3 6.3C21.3 6.2 21.3 6.2 21.2 6.2 21.2 6.2 21.2 6.2 21.2 6.2 19.5 5.6 17 5.2 15.3 6.4 14.5 7 14 8.5 15.3 8.9 16.1 9.2 17.1 8.6 18 8.6 18.6 8.6 19.5 8.7 19.9 9.1 21 10.2 19.8 10.8 19.1 11.2 18.6 11.5 17.9 11.6 17.5 12.1 16.9 12.9 16.8 14.1 16.7 14.9 16.6 15.2 16.7 15.5 17.1 15.6 17.7 15.8 18.9 16.3 19.3 15.5 19.5 15 19.2 14.5 19.4 14 19.6 13.5 19.8 13.6 20.1 13.4 20.8 13 21.6 12.7 22.3 12.2 24.2 10.8 23.3 7.3 21.3 6.3"})]})},y=s(9748),N=function(e){var t=(0,r.useContext)(y.Z);return(0,v.jsxs)("div",{className:"submission_section ".concat("choose"===e.status?"is-visible":"is-hidden"),children:[(0,v.jsx)("div",{className:"submission_bg",style:{backgroundImage:"url(".concat(t.submissionImage,")"),backgroundPosition:"bottom center",backgroundSize:"contain"},children:(0,v.jsx)("span",{className:"invisible",children:"Brains On Team pointing to submit a message or image"})}),(0,v.jsx)("div",{className:"submission_fg",children:(0,v.jsxs)("div",{className:"mod",children:[(0,v.jsxs)("div",{className:"mod_header mod_header-md",children:[(0,v.jsx)("h1",{className:"hdg hdg-2",children:"Send us your questions, recordings, pictures, videos, drawings, mystery sounds and more!"}),(0,v.jsxs)("div",{className:"hdg hdg-3",children:[(0,v.jsx)("br",{}),"Kids, grab an adult to help you! And if you send us a mystery sound make sure you tell us what it is!"]})]}),(0,v.jsx)("div",{className:"col col-mid",children:(0,v.jsxs)("div",{className:"row",children:[(0,v.jsx)("div",{className:"col col-half",children:(0,v.jsxs)("button",{className:"contactButton_button btn-block",type:"button",onClick:function(){return e.transition({type:"UPLOAD"})},children:[(0,v.jsx)(_.Z,{}),"Upload a file"]})}),(0,v.jsx)("div",{className:"col col-half",children:(0,v.jsxs)("button",{className:"contactButton_button btn-block",type:"button",onClick:function(){return e.transition({type:"ASK"})},children:[(0,v.jsx)(j,{}),"Write a message"]})})]})})]})})]})},g=function(e){return(0,v.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:e.iconClass?e.iconClass:"icon",width:e.width?e.width:20,height:e.height?e.height:20,viewBox:"0 0 20 20",version:"1.1",children:(0,v.jsx)("path",{d:"M10.8 6.3C11 6.1 11.5 6.1 11.8 6.3 12.1 6.6 12.1 7.1 11.8 7.4L5.3 13.9C4.9 14.3 4.9 14.9 5.3 15.3 5.7 15.7 6.3 15.7 6.7 15.3L16.3 5.7C17.3 4.8 17.2 3.3 16.2 2.3 15.1 1.3 13.7 1.2 12.7 2.1L2.5 12.3C1.1 13.7 1.1 16.1 2.5 17.5 3.9 18.9 6.3 18.9 7.7 17.5L17.9 7.3C18.2 7 18.6 7 18.9 7.3 19.2 7.6 19.2 8 18.9 8.3L8.7 18.5C6.7 20.5 3.5 20.5 1.5 18.5 -0.5 16.5-0.5 13.3 1.5 11.3L11.7 1.1C13.2-0.4 15.6-0.3 17.2 1.3 18.8 2.8 18.9 5.2 17.4 6.8L7.8 16.3C6.8 17.3 5.2 17.3 4.3 16.3 3.3 15.4 3.3 13.8 4.3 12.8L10.8 6.3Z"})})},k=function(e){(0,h.Z)(a,e);var t,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,s=(0,f.Z)(a);return e=t?Reflect.construct(s,arguments,(0,f.Z)(this).constructor):s.apply(this,arguments),(0,m.Z)(this,e)});function a(e){var t;return(0,c.Z)(this,a),(t=s.call(this,e)).state={filename:""},t.fileChange=t.fileChange.bind((0,u.Z)(t)),t}return(0,d.Z)(a,[{key:"fileChange",value:function(e){this.setState({filename:void 0!==e.target.files[0]?e.target.files[0].name:""})}},{key:"render",value:function(){var e=this;return(0,v.jsxs)("fieldset",{className:"submission_section form_fieldset js-validate ".concat("upload"===this.props.status?"is-visible":"is-hidden"),children:[(0,v.jsx)("div",{className:"submission_option",children:(0,v.jsxs)("button",{type:"button",className:"reset-button link link-neutral",onClick:function(){return e.props.transition({type:"ASK"})},children:[(0,v.jsx)(j,{width:24,height:19}),"I'd rather write a message"]})}),(0,v.jsxs)("div",{className:"upload",children:[(0,v.jsxs)("div",{className:"upload_pre ".concat(this.state.filename?"is-hidden":"is-visible"),children:[(0,v.jsx)("label",{id:"tfa_50-L",htmlFor:"tfa_50",className:"upload_pre_label",children:(0,v.jsx)("span",{className:"contactButton_button btn-big",children:"Upload a file"})}),(0,v.jsx)("input",{className:"upload_input",type:"file",id:"tfa_50",name:"tfa_50",onChange:function(t){e.fileChange(t)}
1,multiple:!0})]}),(0,v.jsx)("div",{className:"upload_post ".concat(this.state.filename?"is-visible":"is-hidden"),children:(0,v.jsxs)("div",{className:"mod",children:[(0,v.jsxs)("div",{className:"mod_header",children:[(0,v.jsx)("h1",{className:"hdg hdg-4",children:"File Attached!"}),(0,v.jsx)("p",{children:"Is this what you'd like to send us?"})]}),(0,v.jsx)("div",{className:"mod_header",children:(0,v.jsxs)("h2",{className:"hdg hdg-5",children:[(0,v.jsx)(g,{iconClass:"icon icon-inline"}),this.state.filename]})}),(0,v.jsx)("div",{className:"mod_header",children:(0,v.jsxs)("div",{className:"field field-reduced",children:[(0,v.jsx)("label",{htmlFor:"tfa_70",className:"invisible",children:"Add a note to your file"}),(0,v.jsx)("textarea",{id:"tfa_70",className:"field_input field_input-large field_input-textarea",name:"tfa_70",rows:"3",placeholder:"Add a note to your file"})]})}),(0,v.jsx)("div",{className:"mod_body",children:(0,v.jsx)("button",{type:"button",className:"contactButton_button btn-big",onClick:function(){return e.props.transition({type:"SUBMIT"})},children:"Yes, that file is correct"})}),(0,v.jsx)("div",{className:"mod_footer",children:(0,v.jsx)("label",{htmlFor:"tfa_50",className:"link link-neutral",children:"No, I'd like to upload a different file"})})]})})]})]})}}]),a}(r.Component),C=function(e){return(0,v.jsxs)("fieldset",{className:"submission_section form_fieldset js-validate ".concat("ask"===e.status?"is-visible":"is-hidden"),children:[(0,v.jsx)("div",{className:"submission_option",children:(0,v.jsxs)("button",{type:"button",className:"reset-button link link-neutral",onClick:function(){return e.transition({type:"UPLOAD"})},children:[(0,v.jsx)(_.Z,{width:26,height:19}),"I'd rather upload a file"]})}),(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_7",className:"invisible",children:"Type your questions, thoughts or ideas here and feel free to share more than one!"}),(0,v.jsx)("textarea",{id:"tfa_7",className:"field_input field_input-large field_input-textarea",name:"tfa_7",rows:"8","data-required":!0,placeholder:"Type your questions, thoughts or ideas here and feel free to share more than one!",onFocus:function(t){return e.clearError(t)}})]}),(0,v.jsx)("button",{className:"contactButton_button",type:"button",onClick:function(t){return e.transition({type:"SUBMIT",target:t.target})},children:"Ask!"})]})},S=function(e){(0,h.Z)(a,e);var t,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,s=(0,f.Z)(a);return e=t?Reflect.construct(s,arguments,(0,f.Z)(this).constructor):s.apply(this,arguments),(0,m.Z)(this,e)});function a(e){var t;return(0,c.Z)(this,a),(t=s.call(this,e)).state={birthdate:{month:"",day:"",year:"",full:""}},t}return(0,d.Z)(a,[{key:"componentDidMount",value:function(){var e,t=this.state.birthdate;t.max=((e=new Date).setFullYear(e.getFullYear()-13),e.getTime()),this.setState({birthdate:t})}},{key:"dobChange",value:function(e,t){var s=this.state.birthdate;s[t]=e.target.value;var a=s.day,i=s.month,n=s.year;a&&i&&n>1900?s.full=new Date(n,i-1,a).getTime():s.full="",this.setState({birthdate:s})}},{key:"birthdateValid",value:function(){return!this.state.birthdate||!this.state.birthdate.full||this.state.birthdate.full<this.state.birthdate.max}},{key:"render",value:function(){var e=this,t=this.props;return(0,v.jsx)("fieldset",{className:"submission_section form_fieldset js-validate ".concat("parentInfo"===t.status?"is-visible":"is-hidden"),children:(0,v.jsxs)("div",{className:"mod",children:[(0,v.jsx)("div",{className:"mod_header",children:(0,v.jsx)("h1",{className:"hdg hdg-5",children:"Parents, tell us a bit more about yourself"})}),(0,v.jsx)("div",{className:"mod_body",children:(0,v.jsxs)("div",{className:"col col-form left",children:[(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_1",className:"field_label",children:"Parent's first name"}),(0,v.jsx)("input",{id:"tfa_1",className:"field_input",required:!0,type:"text",name:"tfa_1",maxLength:"40",onFocus:function(e){return t.clearError(e)}})]}),(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_2",className:"field_label",children:"Parent's last name"}),(0,v.jsx)("input",{id:"tfa_2",className:"field_input",required:!0,type:"text",name:"tfa_2",maxLength:"80",onFocus:function(e){return t.clearError(e)}})]}),(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_5",className:"field_label",children:"Email Address"}),(0,v.jsx)("input",{id:"tfa_5",className:"field_input",required:!0,type:"email",name:"tfa_5",onFocus:function(e){return t.clearError(e)}})]}),(0,v.jsxs)("fieldset",{className:"form_fieldset form_row",children:[(0,v.jsx)("div",{className:"form_col form_col-dateLabel",children:(0,v.jsx)("legend",{className:"field_label",children:"Parent's birthdate"})}),(0,v.jsx)("div",{className:"form_col form_col-dateDM",children:(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_64",className:"invisible",children:"Adult Birth Month"}),(0,v.jsx)("input",{onChange:function(t){return e.dobChange(t,"month")},defaultValue:this.state.birthdate.month,id:"tfa_64",className:"field_input",required:!0,type:"number",min:"1",max:"12",name:"tfa_64",placeholder:"mm",onFocus:function(e){return t.clearError(e)}})]})}),(0,v.jsx)("div",{className:"form_col form_col-dateDM",children:(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_65",className:"invisible",children:"Adult Birth Day"}),(0,v.jsx)("input",{onChange:function(t){return e.dobChange(t,"day")},defaultValue:this.state.birthdate.day,id:"tfa_65",className:"field_input",required:!0,min:"1",max:"31",type:"number",name:"tfa_65",placeholder:"dd",onFocus:function(e){return t.clearError(e)}})]})}),(0,v.jsx)("div",{className:"form_col form_col-dateYear",children:(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_63",className:"field_input label preField invisible",children:"Adult Birth Year"}),(0,v.jsx)("input",{onChange:function(t){return e.dobChange(t,"year")},defaultValue:this.state.birthdate.year,id:"tfa_63",className:"field_input",required:!0,min:"1900",max:new Date().getFullYear(),type:"number",name:"tfa_63",placeholder:"yyyy",onFocus:function(e){return t.clearError(e)}})]})}),(0,v.jsx)("input",{className:"invisible",type:"number",required:!0,defaultValue:this.state.birthdate.full,max:this.state.birthdate.max})]}),!this.birthdateValid.bind(this)()&&(0,v.jsx)("div",{className:"form_row",children:(0,v.jsx)("div",{className:"invalid_message",children:"Sorry, we cannot accept your submission at this time."})}),(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("input",{id:"tfa_66",className:"field_checkbox",required:!0,type:"checkbox",defaultValue:"tfa_67",name:"tfa_67",onFocus:function(e){return t.clearError(e)}}),(0,v.jsx)("label",{htmlFor:"tfa_66",className:"field_label field_label-checkbox",children:"Brains On has permission to use this submission for purposes not limited to podcasts, social media, web and other media"})]}),(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("input",{className:"field_checkbox",type:"checkbox",defaultValue:"tfa_69",id:"tfa_69",name:"tfa_69"}),(0,v.jsx)("label",{id:"tfa_69-L",htmlFor:"tfa_69",className:"field_label field_label-checkbox",children:"Subscribe me to the Brains On! Fan Club (optional)"})]})]})}),(0,v.jsx)("div",{className:"mod_footer",children:(0,v.jsx)("button",{type:"button",className:"contactButton_button",onClick:function(e){return t.transition({type:"SUBMIT",target:e.target})},children:"Send Parent Info"})})]})})}}]),a}(r.Component),w=function(e){return"honorRoll"===e.status&&e.showCaptcha(),(0,v.jsxs)("fieldset",{className:"submission_section form_fieldset js-validate ".concat("honorRoll"===e.status?"is-visible":"is-hidden"),children:[(0,v.jsxs)("div",{className:"mod",children:[(0,v.jsx)("div",{className:"mod_header",children:(0,v.jsx)("h1",{className:"hdg hdg-5",children:"Put your child on the Brains Honor Roll!"})}),(0,v.jsx)("div",{className:"mod_body",children:(0,v.jsxs)("div",{className:"col col-form left",children:[(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_45",className:"field_label",children:"Who will be on the Brains Honor Roll?"}),(0,v.jsx)("div",{className:"text text-xsmall",children:"First name(s) of child or children"}),(0,v.jsx)("input",{className:"field_input",type:"text",id:"tfa_45",name:"tfa_45",placeholder:"Optional"})]}),(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{id:"tfa_57-L",htmlFor:"tfa_57",className:"field_label",children:"How old are they?"}),(0,v.jsx)("div",{className:"text text-xsmall",children:"Age of child or ages of children"}),(0,v.jsx)("input",{className:"field_input",type:"text",id:"tfa_57",name:"tfa_57",placeholder:"Optional"})]}),(0,v.jsxs)("fieldset",{className:"form_fieldset",children:[(0,v.jsx)("legend",{className:"field_label",children:"Where in the world are they?"}),(0,v.jsxs)("div",{className:"form_row",children:[(0,v.jsx)("div",{className:"form_col form_col-locCity",children:(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_59",className:"field_label field_label-minor",children:"City"}),(0,v.jsx)("input",{className:"field_input",type:"text",id:"tfa_59",name:"tfa_59",placeholder:"Optional"})]})}),(0,v.jsx)("div",{className:"form_col form_col-locState",children:(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_60",className:"field_label field_label-minor",children:"State"}),(0,v.jsx)("input",{className:"field_input",type:"text",id:"tfa_60",name:"tfa_60",placeholder:"Optional"})]})}),(0,v.jsx)("div",{className:"form_col form_col-locCountry",children:(0,v.jsxs)("div",{className:"field",children:[(0,v.jsx)("label",{htmlFor:"tfa_61",className:"field_label field_label-minor",children:"Country"}),(0,v.jsx)("input",{className:"field_input",type:"text",id:"tfa_61",name:"tfa_61",placeholder:"Optional"})]})})]})]})]})})]}),(0,v.jsx)("div",{className:"mod_footer",children:(0,v.jsx)("button",{id:"submit_button",type:"submit",className:"contactButton_button",disabled:!0,children:e.hasBeenSubmitted?"Sending ... ":"Submit to Brains On!"})})]})},B=function(e){return(0,v.jsx)("div",{className:"submission_section form_fieldset ".concat("thankYou"===e.status?"is-visible":"is-hidden"),children:(0,v.jsxs)("div",{className:"mod",children:[(0,v.jsx)("div",{className:"mod_header",children:(0,v.jsx)("h1",{className:"hdg hdg-3",children:"Thank y
1ou for your submission!"})}),(0,v.jsx)("div",{className:"mod_body",children:(0,v.jsx)("a",{href:"/",className:"contactButton_button",children:"Visit BrainsOn.org"})}),(0,v.jsx)("div",{className:"mod_footer",children:(0,v.jsx)("a",{href:"/contact",className:"link link-neutral",children:"Submit more pictures, sounds, or questions"})})]})})},F={choose:{UPLOAD:"upload",ASK:"ask"},upload:{ASK:"ask",SUBMIT:"parentInfo"},ask:{UPLOAD:"upload",SUBMIT:"validateAsk"},validateAsk:{FAIL:"ask",SUCCESS:"parentInfo"},parentInfo:{SUBMIT:"validateParentInfo"},validateParentInfo:{FAIL:"parentInfo",SUCCESS:"honorRoll"},honorRoll:{SUBMIT:"thankYou"},validateHonorRoll:{FAIL:"honorRoll",SUCCESS:"thankYou"},submitForm:{SUCCESS:"thankYou",FAIL:"submitError"},submitError:{SUBMIT:"submitForm"},thankYou:{RESTART:"choose"}},A=function(e){(0,h.Z)(a,e);var t,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,s=(0,f.Z)(a);return e=t?Reflect.construct(s,arguments,(0,f.Z)(this).constructor):s.apply(this,arguments),(0,m.Z)(this,e)});function a(){var e;return(0,c.Z)(this,a),(e=s.call(this)).state={status:"choose",hasBeenSubmitted:!1},e.transition=e.transition.bind((0,u.Z)(e)),e.clearError=e.clearError.bind((0,u.Z)(e)),e.updateButton=e.updateButton.bind((0,u.Z)(e)),e.submitForm=e.submitForm.bind((0,u.Z)(e)),e.enableSubmitButton=e.enableSubmitButton.bind((0,u.Z)(e)),e.disableSubmitButton=e.disableSubmitButton.bind((0,u.Z)(e)),e}return(0,d.Z)(a,[{key:"command",value:function(e,t){switch(e){case"validateAsk":case"validateParentInfo":case"validateHonorRoll":this.validate(t);break;case"submitForm":this.submitForm()}}},{key:"transition",value:function(e){var t=this,s=F[this.state.status][e.type];s&&this.setState({status:s},function(){t.command(s,e)})}},{key:"validate",value:function(e){var t=[],s=[],a=[],i=e.target.closest(".js-validate");t.push.apply(t,(0,o.Z)(i.querySelectorAll("[required]"))),s.push.apply(s,(0,o.Z)(i.querySelectorAll("[data-required]"))),t.forEach(function(e){e.checkValidity()?e.classList.remove("is-error"):(e.classList.add("is-error"),a.push(e))}),s.forEach(function(e){e.value?e.classList.remove("is-error"):(e.classList.add("is-error"),a.push(e))}),0===a.length?this.transition({type:"SUCCESS"}):this.transition({type:"FAIL"})}},{key:"clearError",value:function(e){e.target.classList.remove("is-error")}},{key:"updateButton",value:function(e){this.setState({hasBeenSubmitted:!0})}},{key:"submitForm",value:function(e){this.setState({hasBeenSubmitted:!0});var t=this,s=new FormData(document.getElementById("contact-form"));e.preventDefault(),b()("https://mpr.tfaforms.net/responses/processor",{method:"POST",mode:"no-cors",body:s}).then(function(){t.transition({type:"SUBMIT"})})}},{key:"enableSubmitButton",value:function(){var e=document.getElementById("submit_button"),t=document.getElementById("disabled-explanation");null!=e&&(e.removeAttribute("disabled"),e.style.display="inline-block"),null!=t&&(t.style.display="none")}},{key:"disableSubmitButton",value:function(){var e=document.getElementById("submit_button"),t=document.getElementById("disabled-explanation");null!=e&&(e.disabled=!0),null!=t&&(t.style.display="inline-block")}},{key:"componentDidMount",value:function(){window.wFORMS=window.wFORMS||{behaviors:{autoformat:!1,validation:{instance:{prototype:{}}},lengthPrompt:{},repeat:function(){},paging:{MESSAGES:[]},prefill:{skip:!1}},helpers:{}},["https://mpr.tfaforms.net/wForms/3.11/js/wforms.js?v=5110","https://mpr.tfaforms.net/wForms/3.11/js/localization-en_US.js?v=5110","https://mpr.tfaforms.net/js/iframe_message_helper_internal.js?v=2"].forEach(function(e){var t=document.createElement("script");t.setAttribute("src",e),t.setAttribute("type","text/javascript"),document.head.appendChild(t)})}},{key:"render",value:function(){var e=this;return(0,v.jsx)(y.Z.Consumer,{children:function(t){return(0,v.jsx)("main",{className:"main main-simple",children:(0,v.jsx)("div",{className:"sheet sheet-submission sheet-backgroundColor",children:(0,v.jsxs)("div",{className:"submission",children:[(0,v.jsx)("a",{href:"/",className:"submission_logo",style:{backgroundImage:"url(".concat(t.submissionLogo,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"130px auto"}}),(0,v.jsxs)("form",{id:"contact-form",className:"form",method:"post",action:"https://mpr.tfaforms.net/responses/processor",encType:"multipart/form-data",onSubmit:function(t){return e.submitForm(t)},children:[(0,v.jsx)("input",{type:"hidden",id:"tfa_31",name:"tfa_31",value:""}),(0,v.jsx)("input",{type:"hidden",value:"49",name:"tfa_dbFormId"}),(0,v.jsx)("input",{type:"hidden",value:"",name:"tfa_dbResponseId"}
1),(0,v.jsx)("input",{type:"hidden",value:"02f381f298af4a0bef2a8ee7034ff3a3",name:"tfa_dbControl"}),(0,v.jsx)("input",{type:"hidden",value:"75",name:"tfa_dbVersionId"}),(0,v.jsx)("input",{type:"hidden",value:"",name:"tfa_switchedoff"}),(0,v.jsx)(N,{status:e.state.status,transition:e.transition}),(0,v.jsx)(k,{status:e.state.status,transition:e.transition}),(0,v.jsx)(C,{status:e.state.status,transition:e.transition,clearError:e.clearError}),(0,v.jsx)(S,{status:e.state.status,transition:e.transition,clearError:e.clearError}),(0,v.jsx)(w,{status:e.state.status,transition:e.transition,hasBeenSubmitted:e.state.hasBeenSubmitted,showCaptcha:function(){var e=document.querySelector(".captcha-toggle");e.style.display="inline-block",e.style.margin="23px 0 0 0"}}),(0,v.jsx)(B,{status:e.state.status,transition:e.transition}),(0,v.jsx)("div",{className:"captcha-toggle",children:(0,v.jsxs)("div",{className:"captcha_container",children:[(0,v.jsx)(x.Z,{id:"ReCAPTCHA",sitekey:"6LfMg_EaAAAAAMhDNLMlgqDChzmtYHlx1yU2y7GI",theme:"light",size:"normal",onChange:e.enableSubmitButton,onExpired:e.disableSubmitButton}),(0,v.jsx)("div",{className:"captchaHelp",children:"reCAPTCHA helps prevent automated form spam."}),(0,v.jsx)("div",{id:"disabled-explanation",className:"captchaHelp",children:"The submit button will be disabled until you complete the CAPTCHA."})]})})]})]})})})}})}}]),a}(r.Component),E=function(){return(0,v.jsx)(A,{})};E.getInitialProps=(a=(0,i.Z)(l().mark(function e(t){var s;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=t.config,e.abrupt("return",{config:s,useSimpleLayout:!0});case 2:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)});var I=E},6405:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return s(6694)}])}},function(e){e.O(0,[245,888,774,179],function(){return e(e.s=6405)}),_N_E=e.O()}]);

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.