1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[327],{5384:function(e,t,o){Promise.resolve().then(o.t.bind(o,6062,23)),Promise.resolve().then(o.bind(o,9332)),Promise.resolve().then(o.bind(o,5937))},9332:function(e,t,o){"use strict";o.d(t,{default:function(){return f}});var a=o(7437),n=o(2265);let c=new Set(["gmail.com","googlemail.com","yahoo.com","yahoo.co.uk","yahoo.ca","yahoo.com.au","ymail.com","rocketmail.com","hotmail.com","hotmail.co.uk","hotmail.fr","live.com","live.co.uk","msn.com","outlook.com","outlook.co.uk","icloud.com","me.com","mac.com","aol.com","protonmail.com","proton.me","pm.me","mail.com","gmx.com","gmx.de","zoho.com","yandex.com","fastmail.com","hey.com","tutanota.com","comcast.net","verizon.net","sbcglobal.net","att.net","bellsouth.net","cox.net","charter.net","btinternet.com","sky.com","virginmedia.com","bigpond.com","shaw.ca","rogers.com","telus.net","web.de","orange.fr","free.fr","wanadoo.fr"]),s={"gnail.com":"gmail.com","gmai.com":"gmail.com","gmial.com":"gmail.com","gmsil.com":"gmail.com","gamil.com":"gmail.com","gmali.com":"gmail.com","gmail.vom":"gmail.com","gmail.comm":"gmail.com","gmail.cim":"gmail.com","gmail.xom":"gmail.com","gmail.ocm":"gmail.com","gmaill.com":"gmail.com","gmail.co":"gmail.com","gmail.con":"gmail.com","gmail.om":"gmail.com","gmil.com":"gmail.com","gmaul.com":"gmail.com","hotmial.com":"hotmail.com","hormail.com":"hotmail.com","hoymail.com":"hotmail.com","hotmai.com":"hotmail.com","hotmall.com":"hotmail.com","hotnail.com":"hotmail.com","hotmail.con":"hotmail.com","hotmail.co":"hotmail.com","tahoo.com":"yahoo.com","yaboo.com":"yahoo.com","yahho.com":"yahoo.com","yaho.com":"yahoo.com","yahoo.con":"yahoo.com","yahoo.co":"yahoo.com","ouylook.com":"outlook.com","outlok.com":"outlook.com","outook.com":"outlook.com","outlook.con":"outlook.com","outlool.com":"outlook.com","icoud.com":"icloud.com","iclod.com":"icloud.com","icloud.con":"icloud.com","icloud.co":"icloud.com","aol.con":"aol.com","live.con":"live.com","msn.con":"msn.com"},i={con:"com",cpm:"com",vom:"com",xom:"com",ocm:"com",cim:"com",comm:"com",cok:"com",cmo:"com",om:"com",nte:"net",ner:"net",ogr:"org",orgg:"org"},l=/^[A-Za-z0-9._%+'-]+@[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?(?:\.[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?)*\.[A-Za-z]{2,}$/;function r(e){let t=e.trim();if(!t)return{status:"invalid",message:"Please enter your email address."};if(/\s/.test(t))return{status:"invalid",message:"That email contains a space â please check for typos."};if(1!==(t.match(/@/g)||[]).length||t.includes("..")||/^\.|\.$|@\.|\.@/.test(t)||!l.test(t))return{status:"invalid",message:"That doesn't look like a valid email â please check for typos."};let[o,a]=t.split("@"),n=a.toLowerCase();if(c.has(n))return{status:"ok"};let r=s[n];if(r)return{status:"invalid",message:"That email looks like a typo â please check it.",suggestion:"".concat(o,"@").concat(r)};let m=n.split("."),u=i[m[m.length-1]];if(u)return{status:"invalid",message:"That email looks like a typo â please check it.",suggestion:"".concat(o,"@").concat([...m.slice(0,-1),u].join("."))};let d=null;for(let e of c){let t=e.length>=9?2:1,o=function(e,t,o){if(Math.abs(e.length-t.length)>o)return o+1;let a=Array.from({length:t.length+1},(e,t)=>t);for(let n=1;n<=e.length;n++){let c=[n],s=n;for(let o=1;o<=t.length;o++){let i=e[n-1]===t[o-1]?0:1;c[o]=Math.min(c[o-1]+1,a[o]+1,a[o-1]+i),c[o]<s&&(s=c[o])}if(s>o)return o+1;a=c}return a[t.length]}(n,e,t);o<=t&&(!d||o<d.distance)&&(d={domain:e,distance:o})}return d?{status:"suspect",message:"Did you mean",suggestion:"".concat(o,"@").concat(d.domain)}:{status:"ok"}}var m=o(257);let u=["Startup Mode","$5kâ$10k","$10kâ$30k","$30kâ$50k","$50kâ$80k","$80k+"],d=["I have the financial resources to invest in my business growth","I have access to the financial resources to invest in my business growth","I am currently unable to invest in my business growth"],h=[{name:"business",label:"Briefly describe your business, the problem you solve and your ideal client/customer:",placeholder:"A sentence or tw
1o is plenty.",required:!1},{name:"goals",label:"What are your top 3 goals that you'd like to achieve in the next 90 days?",placeholder:"List your top three.",required:!0},{name:"obstacle",label:"What do you believe is the ONE obstacle preventing you from getting there on your own?",placeholder:"The single biggest thing in the way.",required:!0}],g=m.env.NEXT_PUBLIC_SIS_CONTACT_WEBHOOK_URL||"https://hook.us2.make.com/egf3uifnpkk157eh6gjyk5d6cjjxax13";function f(){let[e,t]=(0,n.useState)(!1),[o,c]=(0,n.useState)(!1),[s,i]=(0,n.useState)(null),[l,m]=(0,n.useState)(""),[f,v]=(0,n.useState)({status:"ok"}),[p,y]=(0,n.useState)(!1),b=p&&"ok"!==f.status;async function x(e){var o,a,n,s,m,u,d,h;e.preventDefault();let f=r(l);if(v(f),y(!0),"invalid"===f.status){null===(o=document.getElementById("contact-email"))||void 0===o||o.focus();return}t(!0),i(null);let p=new FormData(e.currentTarget),b={firstName:String(null!==(a=p.get("firstName"))&&void 0!==a?a:"").trim(),lastName:String(null!==(n=p.get("lastName"))&&void 0!==n?n:"").trim(),email:l.trim(),business:String(null!==(s=p.get("business"))&&void 0!==s?s:"").trim(),goals:String(null!==(m=p.get("goals"))&&void 0!==m?m:"").trim(),obstacle:String(null!==(u=p.get("obstacle"))&&void 0!==u?u:"").trim(),revenue:p.get("revenue"),investment:p.get("investment"),source:"Website â Contact for Info",submittedAt:new Date().toISOString()};try{if(!(await fetch(g,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(b),signal:null===(d=(h=AbortSignal).timeout)||void 0===d?void 0:d.call(h,15e3)})).ok)throw Error("Submission failed");c(!0)}catch(e){i("Something went wrong. Please email [email protected] directly.")}finally{t(!1)}}return o?(0,a.jsx)("div",{className:"contact-card",children:(0,a.jsxs)("div",{className:"contact-success",children:[(0,a.jsx)("p",{className:"contact-success-eyebrow",children:"Message Sent"}),(0,a.jsx)("h2",{className:"contact-success-title",children:"Thanks â weâve got it."}),(0,a.jsx)("p",{className:"contact-success-body",children:"Weâll review what you shared and get back to you within 1â2 business days."})]})}):(0,a.jsx)("div",{className:"contact-card",children:(0,a.jsxs)("form",{className:"contact-form",onSubmit:x,noValidate:!0,children:[(0,a.jsxs)("p",{className:"contact-required-note",children:["Fields marked ",(0,a.jsx)("span",{className:"req",children:"*"})," are required."]}),(0,a.jsxs)("div",{className:"contact-row",children:[(0,a.jsxs)("label",{className:"contact-field",children:[(0,a.jsxs)("span",{className:"contact-label",children:["First Name ",(0,a.jsx)("span",{className:"req",children:"*"})]}),(0,a.jsx)("input",{required:!0,name:"firstName",type:"text",className:"contact-input",autoComplete:"given-name"})]}),(0,a.jsxs)("label",{className:"contact-field",children:[(0,a.jsxs)("span",{className:"contact-label",children:["Last Name ",(0,a.jsx)("span",{className:"req",children:"*"})]}),(0,a.jsx)("input",{required:!0,name:"lastName",type:"text",className:"contact-input",autoComplete:"family-name"})]})]}),(0,a.jsxs)("div",{className:"contact-field",children:[(0,a.jsxs)("label",{htmlFor:"contact-email",className:"contact-label",children:["Email ",(0,a.jsx)("span",{className:"req",children:"*"})]}),(0,a.jsx)("input",{id:"contact-email",required:!0,name:"email",type:"email",inputMode:"email",autoComplete:"email",value:l,"aria-invalid":b&&"invalid"===f.status,"aria-describedby":b?"contact-email-error":void 0,className:"contact-input".concat(b&&"invalid"===f.status?" has-error":""),onChange:e=>{m(e.target.value),p&&v(r(e.target.value))},onBlur:()=>{y(!0),v(r(l))}}),b&&(0,a.jsxs)("p",{id:"contact-email-error",role:"alert",className:"contact-error",children:[f.message,f.suggestion&&(0,a.jsxs)(a.Fragment,{children:["suspect"===f.status?" ":" Did you mean ",(0,a.jsx)("button",{type:"button",onClick:()=>{var e;m(e=f.suggestion),v(r(e))},children:f.suggestion}),"?"]})]})]}),h.map(e=>(0,a.jsxs)("div",{className:"contact-field",children:[(0,a.jsxs)("label",{htmlFor:"contact-".concat(e.name),className:"contact-question",children:[e.label,e.required&&(0,a.jsx)("span",{className:"req",children:" *"})]}),(0,a.jsx)("textarea",{id:"contact-".concat(e.name),name:e.name,required:e.required,rows:3,placeholder:e.placeholder,className:"contact-textarea"})]},e.name)),(0,a.jsxs)("div",{className:"contact-field",children:[(0,a.jsxs)("label",{htmlFor:"contact-revenue",className:"contact-question",children:["What is your current monthly revenue? ",(0,a.jsx)("span",{className:"req",children:"*"})]}),(0,a.jsxs)("select",{id:"contact-revenue",required:!0,name:"revenue",defaultValue:"",className:"contact-select",children:[(0,a.jsx)("option",{value:"",disabled:!0,children:"Select your monthly revenue"}),u.map(e=>(0,a.jsx)("option",{value:e,children:e},e))]})]}),(0,a.jsxs)("fieldset",{className:"contact-field",style:{border:"none",padding:0,margin:0},children:[(0,a.jsxs)("legend",{className:"contact-question",style:{padding:0},children:["Which best describes your situation when it comes to investing in improving your business? ",(0,a.jsx)("span",{className:"req",children:"*"})]}),(0,a.jsx)("div",{className:"contact-choices",children:d.map(e=>(0,a.jsxs)("label",{className:"contact-choice",children:[(0,a.jsx)("input",{type:"radio",name:"investment",value:e,required:!0}),(0,a.jsx)("span",{className:"contact-choice-text",children:e})]},e))})]}),(0,a.jsxs)("div",{className:"contact-actions",children:[(0,a.jsx)("button",{type:"submit",disabled:e,className:"btn-gradient contact-submit",children:e?"Sendingâ¦":"Submit â"}),s&&(0,a.jsx)("p",{className:"contact-form-error",children:s}),(0,a.jsxs)("p",{className:"contact-consent",children:["By submitting this form you agree to be contacted by Scale It Simply about your inquiry. See our"," ",(0,a.jsx)("a",{href:"/privacy",target:"_blank",rel:"noopener",children:"Privacy Policy"})," ","for details."]})]})]})})}},5937:function(e,t,o){"use strict";o.d(t,{default:function(){return s}});var a=o(7437),n=o(2265);let c="/contact";
1function s(){let[e,t]=(0,n.useState)(!1),o=(0,n.useRef)(null),s=(0,n.useRef)(null);(0,n.useEffect)(()=>(document.body.style.overflow=e?"hidden":"",()=>{document.body.style.overflow=""}),[e]),(0,n.useEffect)(()=>{var a,n;if(!e)return;let c=null===(a=o.current)||void 0===a?void 0:a.querySelectorAll("a");null==c||null===(n=c[0])||void 0===n||n.focus();let i=e=>{if("Escape"===e.key){var o;t(!1),null===(o=s.current)||void 0===o||o.focus();return}if("Tab"!==e.key||!(null==c?void 0:c.length))return;let a=c[0],n=c[c.length-1];e.shiftKey&&document.activeElement===a?(e.preventDefault(),n.focus()):e.shiftKey||document.activeElement!==n||(e.preventDefault(),a.focus())};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[e]);let i=()=>t(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("nav",{children:[(0,a.jsx)("a",{href:"/",className:"nav-logo",style:{textDecoration:"none"},children:(0,a.jsx)("img",{src:"/images/Scale-It-Simply-Logo-V2_dark-bg.svg",alt:"Scale It Simply",style:{height:"21px",width:"auto"}})}),(0,a.jsxs)("div",{className:"nav-links",children:[(0,a.jsx)("a",{href:"/about",children:"About"}),(0,a.jsx)("a",{href:"/#how-it-works",children:"How It Works"}),(0,a.jsx)("a",{href:"/#results",children:"Results"}),(0,a.jsx)("a",{href:c,className:"nav-cta",children:"Contact for Info"})]}),(0,a.jsxs)("button",{ref:s,className:"hamburger".concat(e?" active":""),onClick:()=>t(e=>!e),"aria-label":"Menu","aria-expanded":e,children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]}),(0,a.jsxs)("div",{className:"mobile-menu".concat(e?" open":""),id:"mobileMenu",ref:o,children:[(0,a.jsx)("a",{href:"/about",onClick:i,children:"About"}),(0,a.jsx)("a",{href:"/#how-it-works",onClick:i,children:"How It Works"}),(0,a.jsx)("a",{href:"/#results",onClick:i,children:"Results"}),(0,a.jsx)("a",{href:"/contact",onClick:i,children:"Contact"}),(0,a.jsx)("a",{href:c,className:"nav-cta",onClick:i,children:"Contact for Info"})]})]})}},257:function(e,t,o){"use strict";var a,n;e.exports=(null==(a=o.g.process)?void 0:a.env)&&"object"==typeof(null==(n=o.g.process)?void 0:n.env)?o.g.process:o(4227)},4227:function(e){!function(){var t={229:function(e){var t,o,a,n=e.exports={};function c(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===c||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(o){try{return t.call(null,e,0)}catch(o){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:c}catch(e){t=c}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var l=[],r=!1,m=-1;function u(){r&&a&&(r=!1,a.length?l=a.concat(l):m=-1,l.length&&d())}function d(){if(!r){var e=i(u);r=!0;for(var t=l.length;t;){for(a=l,l=[];++m<t;)a&&a[m].run();m=-1,t=l.length}a=null,r=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];l.push(new h(e,t)),1!==l.length||r||i(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw Error("process.chdir is not supported")},n.umask=function(){return 0}}},o={};function a(e){var n=o[e];if(void 0!==n)return n.exports;var c=o[e]={exports:{}},s=!0;try{t[e](c,c.exports,a),s=!1}finally{s&&delete o[e]}return c.exports}a.ab="//";var n=a(229);e.exports=n}()},6062:function(){}},function(e){e.O(0,[39,971,117,744],function(){return e(e.s=5384)}),_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.