text: (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{bYPZ:function(e,a,l){"use strict";l.r(a),l.d(a,"query",(function(){return o}));var r=l("q1tI"),t=l.n(r),m=l("Bl7J"),n=l("vrFN");a.default=function(e){var a=e.data;return t.a.createElement(m.a,null,t.a.createElement(n.a,{title:a.wpgraphql.page.title,description:a.wpgraphql.page.excerpt}),t.a.createElement("section",{className:"section-gap",id:"whychoosebank"},t.a.createElement("div",{className:"container"},t.a.createElement("div",{className:"row justify-content-center"},a.wpgraphql.page.content&&t.a.createElement("div",{className:"col-md-12 header-text mb-4",dangerouslySetInnerHTML:{__html:a.wpgraphql.page.content}})),t.a.createElement("div",{className:"mb-3 mx-md-5 px-md-5"},t.a.createElement("div",{className:"text-center",dangerouslySetInnerHTML:{__html:a.wpgraphql.page.referralform.contractorsInfoForm.formHeading}}),t.a.createElement("form",{className:"contractor-form col-12 d-flex flex-wrap"},a.wpgraphql.page.referralform.contractorsInfoForm.formField.map((function(e,a){return t.a.createElement("div",{className:"form-group col-12",key:e.fieldGroupName+a},t.a.createElement("label",{htmlFor:e.fieldName},e.fieldTitle),t.a.createElement("input",{type:e.fieldType,name:e.fieldName,id:e.fieldName,className:"form-control"}))})),t.a.createElement("h3",{className:"h3 text-blue text-center w-100",dangerouslySetInnerHTML:{__html:a.wpgraphql.page.referralform.userInfoForm.topHeading}}),a.wpgraphql.page.referralform.userInfoForm.formField.map((function(e,a){return 0===a||1===a||6===a||7===a||8===a?"textarea"===e.fieldType?t.a.createElement("div",{className:"form-group col-12",key:e.fieldGroupName+a},t.a.createElement("label",{htmlFor:e.fieldName},e.fieldTitle),t.a.createElement("textarea",{name:e.fieldName,id:e.fieldName,className:"form-control"})):"submit"===e.fieldType?t.a.createElement("div",{className:"form-group col-12",key:e.fieldGroupName+a},t.a.createElement("input",{type:e.fieldType,name:e.fieldName,id:e.fieldName,value:e.fieldTitle,className:"btn btn-lg btn-primary px-5 d-block my-4"})):t.a.createElement("div",{className:"form-group col-12",key:e.fieldGroupName+a},t.a.createElement("label",{htmlFor:e.fieldName},e.fieldTitle),t.a.createElement("input",{type:e.fieldType,name:e.fieldName,id:e.fieldName,className:"form-control"})):t.a.createElement("div",{className:"form-group col-12 col-sm-6",key:e.fieldGroupName+a},t.a.createElement("label",{htmlFor:e.fieldName},e.fieldTitle),t.a.createElement("input",{type:e.fieldType,name:e.fieldName,id:e.fieldName,className:"form-control"}))})),t.a.createElement("div",{className:"footer col-12",dangerouslySetInnerHTML:{__html:a.wpgraphql.page.referralform.userInfoForm.footer}}))))))};var o="3050791979"}}]);
  //# sourceMappingURL=component---src-templates-contractor-referral-js-cf6dcdd1f33c538d7de5.js.map