1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[584],{9657:function(e,t,n){var a,r=n(6540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(this,arguments)}t.A=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},e),a||(a=r.createElement("path",{fill:"#1a212b",d:"M18.4 8.6c-.2-.2-.5-.2-.7 0L12 14.3 6.4 8.6c-.2-.2-.5-.2-.7 0s-.2.5 0 .7l6 6c.1.1.2.1.4.1s.3 0 .4-.1l6-6c0-.1 0-.5-.1-.7"})))}},7736:function(e,t,n){var a,r,i=n(6540);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l.apply(this,arguments)}t.A=function(e){return i.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:800,height:800,viewBox:"0 0 50 50"},e),a||(a=i.createElement("path",{d:"m38.288 10.297 1.414 1.415-14.99 14.99-1.414-1.414z"})),r||(r=i.createElement("path",{d:"M40 20h-2v-8h-8v-2h10zM35 38H15c-1.7 0-3-1.3-3-3V15c0-1.7 1.3-3 3-3h11v2H15c-.6 0-1 .4-1 1v20c0 .6.4 1 1 1h20c.6 0 1-.4 1-1V24h2v11c0 1.7-1.3 3-3 3"})))}},584:function(e,t,n){n.r(t),n.d(t,{default:function(){return _}});var a,r=n(6540),i=n(9785),l=n(526);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}var o=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:16,height:15,fill:"none",viewBox:"0 0 16 15"},e),a||(a=r.createElement("path",{fill:"#103D4B",d:"M8 14.75a6.96 6.96 0 0 1-6.07-3.5c-1.258-2.16-1.258-4.812 0-7A7.02 7.02 0 0 1 8 .75c2.488 0 4.785 1.34 6.043 3.5 1.258 2.188 1.258 4.84 0 7A6.95 6.95 0 0 1 8 14.75M6.906 9.938c-.383 0-.656.3-.656.656 0 .383.273.656.656.656h2.188a.65.65 0 0 0 .656-.656c0-.356-.3-.656-.656-.656h-.219V7.53c0-.355-.3-.656-.656-.656H6.906c-.383 0-.656.3-.656.656 0 .383.273.657.656.657h.657v1.75zM8 4.25a.88.88 0 0 0-.875.875c0 .492.383.875.875.875a.88.88 0 0 0 .875-.875A.9.9 0 0 0 8 4.25"})))},s=n(9657),u=n(7736),m=n(6010),d=function(){return d=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d.apply(this,arguments)},p=function(e,t,n,a){return new(n||(n=Promise))((function(r,i){function l(e){try{o(a.next(e))}catch(e){i(e)}}function c(e){try{o(a.throw(e))}catch(e){i(e)}}function o(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,c)}o((a=a.apply(e,t||[])).next())}))},f=function(e,t){var n,a,r,i,l={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(o){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(l=0)),l;)try{if(n=1,a&&(r=2&c[0]?a.return:c[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,c[1])).done)return r;switch(a=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,a=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(!(r=l.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){l=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){l.label=c[1];break}if(6===c[0]&&l.label<r[1]){l.label=r[1],r=c;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(c);break}r[2]&&l.ops.pop(),l.trys.pop();continue}c=t.call(e,l)}catch(e){c=[6,e],a=0}finally{n=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,o])}}},_=function(e){var t=window.location.search,n="".concat(window.location.origin).concat(window.location.pathname),a=window.location.href,c=window.location.pathname,_=Date.now(),h=0,b=JSON.parse(e.model),y=(0,i.mN)({mode:"onBlur"}),E=y.register,v=y.watch,g=y.handleSubmit,q=y.formState,N=q.errors,I=q.isValid,w=(0,r.useState)(!1),x=w[0],A=w[1],S=(0,r.useState)(b.serverError),k=S[0],L=S[1],P=(0,r.useState)("self-describe"),M=P[0],C=P[1],O=(0,r.useState)("self-describe"),D=O[0],j=O[1],B=(0,r.useState)(!1),H=B[0],z=B[1],T=(0,r.useState)(!1),W=T[0],R=T[1],V=(0,r.useState)("XXX"),U=V[0],Y=V[1],J=(0,r.useState)(0),X=J[0],G=J[1],Z=(0,r.useState)(0),$=Z[0],K=Z[1],Q=function(e,t){(0,m.Rj)(e,t)},F=function(e,t){var r={form_step_name:"form_submit",form_step_number:"3",form_name:"biq_form",page_title:"",form_status:e,page_url:n,page_location:a,page_path:c,page_category:"all_audiences",content_grouping:"",brand:"corporate",language:"english",custom_timestamp:_};t&&(r.enterprise_name=t),Q("form",r)},ee=function(e){return p(void 0,void 0,void 0,(function(){var t,n;return f(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),[4,fetch("/bin/ets/wheebox/launch.json",{method:"POST",body:JSON.stringify({orderId:U,gender:e.gender,currentCountry:e.currentCountry,nativeEnglish:e.nativeEnglish,ethnicity:e.ethnicity,eduLevel:e.eduLevel,experience:e.experience})})];case 1:return[4,a.sent().json()];case 2:return"success"===(t=a.sent()).status?(F("submitted",t.enterpriseName),window.location.href="".concat(t.link)):"error"===t.status&&"server error"===t.message?(A(!0),te("server error"),F("error",null)):"error"===t.status&&"invalid user"===t.message?(A(!0),te("invalid user"),F("error",null)):"error"===t.status&&"invalid request"===t.message?(A(!0),te("invalid request"),F("error",null)):(A(!0),F("error",null)),[3,4];case 3:return n=a.sent(),console.log(n),A(!0),F("failed",null),[3,4];case 4:return[2]}}
1))}))},te=function(e){"server error"===e?(A(!0),L(b.serverError)):"invalid user"===e?(A(!0),L(b.invalidUser)):"invalid request"===e?(A(!0),L(b.invalidRequest)):(A(!1),L(b.serverError))},ne=l.Tz.map((function(e){return{value:e.code2,label:e.name}})),ae=(0,r.useState)({ethnicityId1:!1,ethnicityId2:!1,ethnicityId3:!1,ethnicityId4:!1,ethnicityId5:!1,ethnicityId6:!1,ethnicityId7:!1,ethnicityId8:!1,ethnicityId9:!1,ethnicityId10:!1}),re=ae[0],ie=ae[1],le=function(e){var t,n=e.target,a=n.id,r=n.checked;"ethnicityId8"===a&&R(!!r),"ethnicityId9"===a&&r?(R(!1),ie({ethnicityId1:!1,ethnicityId2:!1,ethnicityId3:!1,ethnicityId4:!1,ethnicityId5:!1,ethnicityId6:!1,ethnicityId7:!1,ethnicityId8:!1,ethnicityId9:!0,ethnicityId10:!1})):"ethnicityId10"===a&&r?(R(!1),ie({ethnicityId1:!1,ethnicityId2:!1,ethnicityId3:!1,ethnicityId4:!1,ethnicityId5:!1,ethnicityId6:!1,ethnicityId7:!1,ethnicityId8:!1,ethnicityId9:!1,ethnicityId10:!0})):ie(d(d({},re),((t={})[a]=r,t.ethnicityId9=!1,t.ethnicityId10=!1,t)))};return(0,r.useEffect)((function(){var e=new URLSearchParams(t);e.get("orderId")&&Y(e.get("orderId")),Q("form",{form_step_name:"form_open",form_step_number:"1",form_name:"biq_form",page_title:"",page_url:n,page_location:a,page_path:c,page_category:"all_audiences",content_grouping:"",brand:"corporate",language:"english",custom_timestamp:_});var r=v((function(e){0===h&&Q("form",{form_step_name:"form_start",form_step_number:"2",form_name:"biq_form",page_title:"",page_url:n,page_location:a,page_path:c,page_category:"all_audiences",content_grouping:"",brand:"corporate",language:"english",custom_timestamp:_});var t={gender:e.gender,currentCountry:e.currentCountry,nativeEnglish:e.nativeEnglish,ethnicity:e.ethnicity,eduLevel:e.eduLevel,experience:e.experience},r=Object.entries(t).filter((function(e){e[0];var t=e[1];return!(Array.isArray(t)&&0===t.length)&&!1!==t&&null!=t&&""!==t}));K(r.length/6*100),G(r.length),++h}));return function(){return r.unsubscribe()}}),[v]),r.createElement("div",{className:"biq-form","data-theme":"ets-light"},r.createElement("div",{className:"biq-form__progress-bar"},r.createElement("div",{className:"biq-form__form__title"},b.bqiTitle),r.createElement("div",{className:"biq-form__progress-bar__fill"},r.createElement("i",{style:{transform:"translateX(".concat($,"%)")}})),r.createElement("div",{className:"biq-form__progress-bar__question"},"Questions 0",X," of 0",6)),r.createElement(i.Op,d({},y),r.createElement("form",{onSubmit:g((function(e){ee(e),A(!1)})),className:"biq-form__form"},r.createElement("div",{className:"biq-form__form__title"},b.bqiTitle),r.createElement("div",{className:"biq-form__field"},r.createElement("div",{className:"biq-form__field_question"},"1. What is your gender identity?"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio"},E("gender",{required:!0}),{value:"Woman"})),r.createElement("i",null),"Woman"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio"},E("gender"),{value:"Man"})),r.createElement("i",null),"Man"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio"},E("gender"),{value:"Transgender"})),r.createElement("i",null),"Transgender"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:M,"data-option":"others",type:"radio"},E("gender",{onChange:function(e){"others"===e.target.getAttribute("data-option")?z(!0):z(!1)}}))),r.createElement("i",null),"Prefer to self-describe: ",r.createElement("input",d({type:"text",className:"input__self-describe"},E("selfDescribe",{pattern:/^[A-Za-z\s]+$/,maxLength:50,minLength:4}),{disabled:!H,onChange:function(e){return C(e.target.value)}}))),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio"},E("gender"),{value:"Prefer not to respond"})),r.createElement("i",null),"Prefer not to respond"),N.gender&&r.createElement("p",{className:"error-text"},"Please select the gender identity"),N.selfDescribe&&r.createElement("p",{className:"error-text"},"Invalid self-describe input")),r.createElement("div",{className:"biq-form__field"},r.createElement("div",{className:"biq-form__field_question"},"2. Where do you currently reside?"),r.createElement("div",{className:"biq-form__field__dropdown-wrap"}
1,r.createElement("select",d({id:"country","aria-label":"Select Country"},E("currentCountry",{required:!0})),r.createElement("option",{value:""},"Country"),null==ne?void 0:ne.map((function(e,t){return r.createElement("option",{key:t,value:e.value},e.label)}))),r.createElement(s.A,{"aria-hidden":"true"})),N.currentCountry&&r.createElement("p",{className:"error-text"},"Please select the country")),r.createElement("div",{className:"biq-form__field"},r.createElement("div",{className:"biq-form__field_question"},"3. Is English your native language?"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio"},E("nativeEnglish",{required:!0}),{value:"Yes"})),r.createElement("i",null),"Yes"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio"},E("nativeEnglish"),{value:"No"})),r.createElement("i",null),"No"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio"},E("nativeEnglish"),{value:"Prefer not to respond"})),r.createElement("i",null),"Prefer not to respond"),N.nativeEnglish&&r.createElement("p",{className:"error-text"},"Please select an option")),r.createElement("div",{className:"biq-form__field"},r.createElement("div",{className:"biq-form__field_question"},"4. If you are a United States citizen, how do you describe yourself? (Select all that apply.)"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"American Indian or Alaskan Native",type:"checkbox",id:"ethnicityId1",checked:re.ethnicityId1},E("ethnicity",{required:!0,onChange:le}))),r.createElement("i",null),r.createElement("span",null,"American Indian or Alaskan Native")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"Asian or Asian American",type:"checkbox",id:"ethnicityId2",checked:re.ethnicityId2},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"Asian or Asian American")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"Mexican, Mexican American, or Chicano",type:"checkbox",id:"ethnicityId3",checked:re.ethnicityId3},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"Mexican, Mexican American, or Chicano")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"Native Hawaiian or Other Pacific Islander",type:"checkbox",id:"ethnicityId4",checked:re.ethnicityId4},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"Native Hawaiian or Other Pacific Islander")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"Puerto Rican<",type:"checkbox",id:"ethnicityId5",checked:re.ethnicityId5},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"Puerto Rican")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"Other Hispanic, Latino, or Latin American",type:"checkbox",id:"ethnicityId6",checked:re.ethnicityId6},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"Other Hispanic, Latino, or Latin American")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"White (Non-Hispanic)",type:"checkbox",id:"ethnicityId7",checked:re.ethnicityId7},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"White (Non-Hispanic)")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"I am not a U.S. citizen",type:"checkbox",id:"ethnicityId10",checked:re.ethnicityId10},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"I am not a U.S. citizen")),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"checkbox",id:"ethnicityId8",checked:re.ethnicityId8,value:D},E("ethnicity",{onChange:le}))),r.createElement("i",null),r.createElement("span",null,"Prefer to self-describe:"),r.createElement("input",d({type:"text",className:"input__self-describe"},E("inputDescribeYourself",{pattern:/^[A-Za-z\s]+$/,maxLength:50,minLength:4,onChange:function(e){return j(e.target.value)}}),{disabled:!W}))),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({value:"Prefer not to respond",type:"checkbox"},E("ethnicity",{onChange:le}),{id:"ethnicityId9",checked:re.ethnicityId9})),r.createElement("i",null),r.createElement("span",null,"Prefer not to respond")),N.describeYourself&&r.createElement("p",{className:"error-text"},"Please select all"),N.inputDescribeYourself&&r.createElement("p",{className:"error-text"},"Invalid self-describe input")),r.createElement("div",{className:"biq-form__field"},r.createElement("div",{className:"biq-form__field_question"}
1,"5. Highest level of education completed"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Some high school"},E("eduLevel",{required:!0}))),r.createElement("i",null),"Some high school"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"High school diploma or equivalent"},E("eduLevel"))),r.createElement("i",null),"High school diploma or equivalent (e.g., GED)"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Some college/university credits"},E("eduLevel"))),r.createElement("i",null),"Some college/university credits"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Professional licensure or certification"},E("eduLevel"))),r.createElement("i",null),"Professional licensure or certification"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Associates degree (for example: AA, AS)"},E("eduLevel"))),r.createElement("i",null),"Associates degree (for example: AA, AS)"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Bachelorâs degree (for example: BA. BS)"},E("eduLevel"))),r.createElement("i",null),"Bachelorâs degree (for example: BA. BS)"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:" Masterâs degree (for example: MA, MS, MEng, MEd, MSW, MBA)"},E("eduLevel"))),r.createElement("i",null),"Masterâs degree (for example: MA, MS, MEng, MEd, MSW, MBA)"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Professional degree beyond bachelorâs degree (for example: MD, DDS, DVM, LLB, JD)"},E("eduLevel"))),r.createElement("i",null),"Professional degree beyond bachelorâs degree (for example: MD, DDS, DVM, LLB, JD)"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Doctorate degree (for example, PhD, EdD)"},E("eduLevel"))),r.createElement("i",null),"Doctorate degree (for example, PhD, EdD)"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Prefer not to respond"},E("eduLevel"))),r.createElement("i",null),"Prefer not to respond"),N.eduLevel&&r.createElement("p",{className:"error-text"},"Please select an option")),r.createElement("div",{className:"biq-form__field"},r.createElement("div",{className:"biq-form__field_question"},"6. Number of years working in a remote environment"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"Less than one year"},E("experience",{required:!0}))),r.createElement("i",null),"Less than one year"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"1 year to less than 2 years"},E("experience"))),r.createElement("i",null),"1 year to less than 2 years"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"2 years to less than 4 years"},E("experience"))),r.createElement("i",null),"2 years to less than 4 years"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"4 years to less than 6 years"},E("experience"))),r.createElement("i",null),"4 years to less than 6 years"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"More than 6 years"},E("experience"))),r.createElement("i",null),"More than 6 years"),r.createElement("label",{className:"biq-form__field__input"},r.createElement("input",d({type:"radio",value:"I have never worked remotely"},E("experience"))),r.createElement("i",null),"I have never worked remotely"),N.experience&&r.createElement("p",{className:"error-text"},"Please select an option")),r.createElement("div",{className:"biq-form__submit"},r.createElement("div",null,x&&r.createElement("div",{className:"biq-form__failError"},r.createElement("div",{dangerouslySetInnerHTML:{__html:k}}))),r.createElement("div",{className:"biq-form__submit-container"},r.createElement("div",{className:"biq-form__submit__text-container"},r.createElement(o,null),r.createElement("div",{className:"biq-form__submit__text"},b.tcContent)),r.createElement("div",{className:"biq-form__submit__button"},r.createElement("button",{className:"e-cta e-cta--primary",disabled:!I},b.btnText,r.createElement(u.A,null))))))))}},6010:function(e,t,n){n.d(t,{KG:function(){return l},Rj:function(){return o},rV:function(){return c}});var a=function(){return a=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)},r=function(){return window}
1;!function(){var e=r();e.dataLayer||(e.dataLayer=[])}();var i=function(){var e=function(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?decodeURIComponent(t.pop()||""):null}("OptanonConsent");if(!e)return!1;var t=e.match(/groups=([^&]+)/);return!!t&&"C0002:1"===t[1].split(",").find((function(e){return e.startsWith("C0002:")}))},l=function(e,t){i()&&analytics.track(e,t)},c=function(e,t){return function(){o(e,t)}},o=function(e,t){r().dataLayer.push(a(a({},t),{event:e}))}}}]);
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.