(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8546],{56450:function(e,n,t){"use strict";var i=t(5152),r=t.n(i),a=r()(function(){return Promise.resolve().then(t.bind(t,97444))},{ssr:!1,loadableGenerated:{webpack:function(){return[97444]}}}),o=r()(function(){return t.e(4926).then(t.bind(t,4926))},{ssr:!1,loadableGenerated:{webpack:function(){return[4926]}}}),s=r()(function(){return t.e(1300).then(t.bind(t,21300))},{ssr:!1,loadableGenerated:{webpack:function(){return[21300]}}}),l=r()(function(){return t.e(3758).then(t.bind(t,63758))},{ssr:!1,loadableGenerated:{webpack:function(){return[63758]}}}),c=r()(function(){return t.e(74).then(t.bind(t,10074))},{ssr:!1,loadableGenerated:{webpack:function(){return[10074]}}}),d=r()(function(){return t.e(4707).then(t.bind(t,44707))},{ssr:!1,loadableGenerated:{webpack:function(){return[44707]}}}),u=r()(function(){return t.e(1343).then(t.bind(t,31343))},{ssr:!1,loadableGenerated:{webpack:function(){return[31343]}}}),m=r()(function(){return t.e(1888).then(t.bind(t,22621))},{ssr:!1,loadableGenerated:{webpack:function(){return[22621]}}}),p=r()(function(){return t.e(5493).then(t.bind(t,5493))},{ssr:!1,loadableGenerated:{webpack:function(){return[5493]}}}),g=r()(function(){return t.e(9547).then(t.bind(t,69547))},{ssr:!1,loadableGenerated:{webpack:function(){return[69547]}}}),f=r()(function(){return t.e(4436).then(t.bind(t,4436))},{ssr:!1,loadableGenerated:{webpack:function(){return[4436]}}}),h=r()(function(){return t.e(8199).then(t.bind(t,8199))},{ssr:!1,loadableGenerated:{webpack:function(){return[8199]}}});n.Z={Chat:a,Phone:o,Salesforce:s,Check:c,Verizon:l,Facebook:d,Google:u,Amazon:m,ShoppingCart:p,PracticeExams:g,VirtualLabs:f,Filter:h}},41011:function(e,n,t){"use strict";t.d(n,{i:function(){return i}});var i=function(){var e,n,t,i,r=null!==(e=JSON.parse(localStorage.getItem("cbtauth")))&&void 0!==e?e:null;return{logged_in:null!==(n=null==r?void 0:r.loggedIn)&&void 0!==n&&n,user_id:null!==(t=null==r?void 0:r.userId)&&void 0!==t?t:"",member_id:null!==(i=null==r?void 0:r.userId)&&void 0!==i?i:""}}},67619:function(e,n,t){"use strict";t.d(n,{U:function(){return l}});var i,r=t(50029),a=t(64687),o=t.n(a),s=t(87066),l=(i=(0,r.Z)(o().mark(function e(n){var t,i;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.email,e.next=3,s.Z.post("/api/ga/hash-form-values",{email:t});case 3:return i=e.sent.data.hashedEmail,e.abrupt("return",{hashedEmail:i});case 6:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)})},96469:function(e,n,t){"use strict";t.d(n,{W:function(){return h}});var i,r=t(59499),a=t(50029),o=t(64687),s=t.n(o),l=t(87066),c=t(17674),d=t(83618),u=t(6693),m=function(){var e={},n=document.cookie.split("; "),t=Object.values(u.y$);return n.forEach(function(n){var i=n.split("="),r=(0,d.Z)(i),a=r[0],o=r.slice(1);t.includes(a.trim())&&(e[a]=decodeURIComponent(o.join("=")))}),e},p=function(e){var n={};if(!e)return n;var t=function(e){try{var n=JSON.parse(e);return"object"==typeof n&&null!==n?n:null}catch(e){return null}},i=function(e,n){for(var t={},i=0,r=Object.entries(e);i0&&Object.assign(n,i(m,u.y$.UTM_LAST))}}else a&&!r&&Object.assign(n,i(a,u.y$.UTM_LAST));for(var b=[u.y$.FIRST_PAGE_VIEW,u.y$.REFERRER_FIRST],y=0;y;:[\]]{1,50}$/.test(e)}).required("Please enter your first name."),lastName:Z.Z_().test("is-special-character","Please enter a valid name",function(e){return/^[\w'\-,.][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*(){}|~<>;:[\]]{1,50}$/.test(e)}).required("Please enter your last name."),title:Z.Z_().required("Please select a title."),email:Z.Z_().email("Please enter a valid email address.").required("Please enter your email address."),phone:Z.Z_().test("is-number-phone","The phone number is not valid. +1 (123)456-7890",function(e){return!e||/^[-+() 0-9]+$/.test(e)}),company:Z.Z_(),country:Z.Z_().required("Please select your country."),quantity:Z.Z_().required("Please select an option.")}),W=i.ZP.div.withConfig({displayName:"RightSection",componentId:"sc-1ccpni0-0"})(["flex:1;padding:6rem 4rem;background:#d9ebf5;display:flex;flex-direction:column;justify-content:flex-start;padding-top:4rem;@media (max-width:820px){padding:4rem 0rem;}"]),H=i.ZP.div.withConfig({displayName:"FormContainer",componentId:"sc-1ccpni0-1"})(["@media (max-width:820px){max-width:80%;margin:0 auto;}"]),V=i.ZP.label.withConfig({displayName:"Label",componentId:"sc-1ccpni0-2"})(["display:block;margin-bottom:0.5rem;color:#374151;font-weight:",";"],function(e){return e.$bold?"600":"500"}),J=i.ZP.div.withConfig({displayName:"RadioGroup",componentId:"sc-1ccpni0-3"})(["display:flex;flex-direction:column;margin-top:2rem;@media (max-width:480px){flex-direction:column;gap:0.5rem;}"]),K=i.ZP.div.withConfig({displayName:"RadioOptions",componentId:"sc-1ccpni0-4"})(["display:flex;gap:1rem;align-items:center;gap:4rem;"]),X=i.ZP.label.withConfig({displayName:"RadioOption",componentId:"sc-1ccpni0-5"})(["display:flex;align-items:center;gap:0.5rem;cursor:pointer;color:#4a5568;"]),Y=(0,i.ZP)(T.ButtonBrand.Primary).withConfig({displayName:"SubmitButton",componentId:"sc-1ccpni0-6"})(["width:100%;padding:12px;font-weight:600;margin-top:1rem;max-width:200px;@media (max-width:820px){align-self:center;}"]),Q=(0,i.ZP)(O.l0).withConfig({displayName:"FormWrapper",componentId:"sc-1ccpni0-7"})(["display:flex;flex-direction:column;gap:2rem 10px;"]),ee=i.ZP.input.withConfig({displayName:"HoneypotInput",componentId:"sc-1ccpni0-8"})(["opacity:0;position:absolute;top:0;left:0;height:0;width:0;z-index:-1;"]),en=i.ZP.p.withConfig({displayName:"PrivacyPolicy",componentId:"sc-1ccpni0-9"})(["font-size:1.2rem;line-height:1.67;"]),et={firstName:"",lastName:"",email:"",title:"",company:"",country:"United States",phone:"",quantity:"",department:"sales",gatrackid:"",gaclientid:"",gacampaign:"",gamedium:"",gasource:"",gauserid:"",optin:!1,formName:"",ext:""},ei=function(){var e,n=(0,S.useState)("none"),t=n[0],i=n[1],r=(0,S.useState)(null),a=r[0],s=r[1],l=(0,S.useRef)(null),c=(0,S.useRef)(null),d=(0,S.useRef)(null),u=(0,S.useRef)(null),m=(0,S.useRef)(null),p=(0,S.useRef)(null),g=(0,S.useRef)(null),f=(0,S.useRef)(null),h=(e=(0,I.Z)(k().mark(function e(n){var t,r,o,s,l,c,d,u,m,p,g,f,h,x,b,y,v,w,j;return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i("submitting"),!a){e.next=3;break}return e.abrupt("return",i("success"));case 3:return e.prev=3,r=n.company,o=n.email,s=n.firstName,l=n.lastName,c=n.phone,d=n.quantity,u=n.title,m=n.gaclientid,p=n.gauserid,g=n.optin,e.next=7,(0,R.W)();case 7:return f=e.sent,e.next=10,(0,E.od)("/api/ga/geo");case 10:return h=e.sent.data.country,window.dataLayer.push({event:"formSubmission",enhanced_conversion_data:{email:"".concat(o.trim())}}),x="contact_sales_form",t={},(0,N.Z)(t,x,{}),(0,N.Z)(t,"membership",{}),b=t,y=(0,q.i)(),e.next=18,E.od.post("/api/request-ip");case 18:return v=e.sent.data,e.next=22,(0,B.U)({email:o});case 22:return w=e.sent.hashedEmail,b.membership=M(M({},y),{},{email:w,ipaddress:v}),b[x].phone=c,b[x].email=w,b[x].first_name=s,b[x].last_name=l,b[x].country=h,b[x].job_title=u,b[x].company=r,b[x].number_of_employees=d,(0,F.w)(x,b),e.prev=34,e.next=37,E.od.post("/api/crm/inbound-lead",{email:o,firstName:s,lastName:l,phone:c,country:h,jobTitle:u,companyName:r,numberOfEmployees:d,source:(null==f?void 0:f.gasource)||x,firstMedium:(null==f?void 0:f.gamedium)||"",firstCampaign:(null==f?void 0:f.gacampaign)||"",firstAdClickId:(null==f?void 0:f.gclid)||"",landing_page:(null==f?void 0:f.landing_page)||void 0,referrer:(null==f?void 0:f.referrer)||document.referrer||void 0,fbclid:(null==f?void 0:f.fbclid)||void 0,msclkid:(null==f?void 0:f.msclkid)||void 0,utm_term:(null==f?void 0:f.gaterm)||void 0,utm_content:(null==f?void 0:f.gacontent)||void 0,utm_id:(null==f?void 0:f.utm_id)||void 0,utm_adgroup:(null==f?void 0:f.utm_adgroup)||void 0,gad_campaignid:(null==f?void 0:f.gad_campaignid)||void 0,context:{type:U.KP.LEAD,details:"Number of Employees: ".concat(d),eventTitle:"contact_sales_form",referrer:(null==f?void 0:f.referrer)||document.referrer}});case 37:i("success"),e.next=45;break;case 40:return e.prev=40,e.t0=e.catch(34),console.error("Error submitting inbound lead:",e.t0),i("error"),e.abrupt("return");case 45:if(g){e.next=47;break}return e.abrupt("return");case 47:return e.prev=47,e.next=50,E.od.post("/api/klaviyo/create-profile",{email:o,firstName:s,lastName:l,hasAgreedToNewsOptIn:!0,metadata:M(M(M(M(M({source:"contact_sales_form",referrer:null!==(j=null==f?void 0:f.referrer)&&void 0!==j?j:document.referrer},f.gacampaign&&{campaignIds:f.gacampaign}),m&&{clientId:m}),f.gamedium&&{medium:f.gamedium}),p&&{userId:p}),f.gclid&&{trackId:f.gclid})},{headers:{"Content-Type":"applicationhttps://www.cbtnuggets.com/json","klaviyo-profile-key":"c2985f7b-09db-4d47-8e05-70e23e32d662"}});case 50:e.next=55;break;case 52:e.prev=52,e.t1=e.catch(47),console.error("Error creating Klaviyo profile:",e.t1);case 55:e.next=62;break;case 57:return e.prev=57,e.t2=e.catch(3),console.error("Error submitting form:",e.t2),i("error"),e.abrupt("return");case 62:case"end":return e.stop()}},e,null,[[3,57],[34,40],[47,52]])})),function(n){return e.apply(this,arguments)}),x=(0,S.useMemo)(function(){return"submitting"===t},[t]);return(0,o.jsx)(W,{children:(0,o.jsxs)(H,{children:[(0,o.jsx)("input",{type:"hidden",name:"gaCid",id:"gaCid",ref:l}),(0,o.jsx)("input",{type:"hidden",name:"gaHid",id:"gaHid",ref:c}),(0,o.jsx)("input",{type:"hidden",name:"gaclientid",id:"gaclientid",ref:d}),(0,o.jsx)("input",{type:"hidden",name:"gacampaign",id:"gacampaign",ref:u}),(0,o.jsx)("input",{type:"hidden",name:"gamedium",id:"gamedium",ref:m}),(0,o.jsx)("input",{type:"hidden",name:"gasource",id:"gasource",ref:p}),(0,o.jsx)("input",{type:"hidden",name:"gatrackid",id:"gatrackid",ref:g}),(0,o.jsx)("input",{type:"hidden",name:"gauserid",id:"gauserid",ref:f}),(0,o.jsx)(O.J9,{initialValues:et,validationSchema:z,onSubmit:h,children:function(e){var n=e.values,i=e.handleChange,r=e.handleBlur,a=e.setFieldValue,l=e.errors,c=e.touched,h=function(){if(null!==d.current&&null!==u.current&&null!==m.current&&null!==p.current&&null!==f.current&&null!==g.current){var e="undefined"!==d.current.value?d.current.value:null,n="undefined"!==u.current.value?u.current.value:null,t="undefined"!==m.current.value?m.current.value:null,i="undefined"!==p.current.value?p.current.value:null,r="undefined"!==f.current.value?f.current.value:null,o="undefined"!==g.current.value?g.current.value:null;a("gaclientid",e),a("gacampaign",n),a("gamedium",t),a("gasource",i),a("gauserid",r),a("gatrackid",o)}},b=function(e,n){a(e,n.target.checked),h()};return(0,o.jsxs)(Q,{children:[(0,o.jsxs)(G.Nb,{children:[(0,o.jsxs)(G.fv,{required:!0,flex:!0,children:[(0,o.jsx)(V,{children:"First Name"}),(0,o.jsx)(T.Form.Input,{name:"firstName",disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:"",required:!0}),c.firstName&&l.firstName&&(0,o.jsx)($,{children:l.firstName})]}),(0,o.jsxs)(G.fv,{required:!0,flex:!0,children:[(0,o.jsx)(V,{children:"Last Name"}),(0,o.jsx)(T.Form.Input,{name:"lastName",value:n.lastName,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),c.lastName&&l.lastName&&(0,o.jsx)($,{children:l.lastName})]})]}),(0,o.jsxs)(G.Nb,{children:[(0,o.jsxs)(G.fv,{required:!0,flex:!0,children:[(0,o.jsx)(V,{children:"Work Email"}),(0,o.jsx)(A._,{name:"email",value:n.email,disabled:"success"===t,onChange:i,onBlur:r,"data-at":"-contact-salespresignup-email"}),c.email&&l.email&&(0,o.jsx)($,{children:l.email})]}),(0,o.jsxs)(G.fv,{flex:!0,children:[(0,o.jsx)(V,{children:"Phone Number"}),(0,o.jsx)(T.Form.Input,{name:"phone",type:"tel",value:n.phone,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),c.phone&&l.phone&&(0,o.jsx)($,{children:l.phone})]})]}),(0,o.jsxs)(G.fv,{children:[(0,o.jsx)(V,{children:"Company"}),(0,o.jsx)(T.Form.Input,{name:"company",value:n.company,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),c.company&&l.company&&(0,o.jsx)($,{children:l.company})]}),(0,o.jsxs)(G.fv,{required:!0,children:[(0,o.jsx)(V,{children:"Job Title"}),(0,o.jsx)(T.Form.Input,{name:"title",value:n.title,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),c.title&&l.title&&(0,o.jsx)($,{children:l.title})]}),(0,o.jsx)(J,{children:(0,o.jsxs)(X,{children:[(0,o.jsx)(T.Form.Checkbox,{name:"optIn",id:"optIn",onChange:function(e){return b("optin",e)},"aria-label":"Opt into CBT Nuggets news and resources emailer.",crossOrigin:"",disabled:"success"===t}),"Send me CBT Nuggets IT training news and resources. (optional)"]})}),(0,o.jsxs)(J,{children:[(0,o.jsx)(V,{$bold:!0,children:"How many employees would you like to train?"}),(0,o.jsxs)(K,{children:[(0,o.jsxs)(X,{children:[(0,o.jsx)("input",{type:"radio",name:"quantity",value:"2-4",checked:"2-4"===n.quantity,disabled:"success"===t,onChange:i}),"2-4"]}),(0,o.jsxs)(X,{children:[(0,o.jsx)("input",{type:"radio",name:"quantity",value:"5-20",checked:"5-20"===n.quantity,disabled:"success"===t,onChange:i}),"5-20"]}),(0,o.jsxs)(X,{children:[(0,o.jsx)("input",{type:"radio",name:"quantity",value:"20+",checked:"20+"===n.quantity,disabled:"success"===t,onChange:i}),"20+"]})]})]}),(0,o.jsx)(ee,{tabIndex:-1,onChange:function(e){return s(e.target.value)}}),c.quantity&&l.quantity&&(0,o.jsx)($,{children:l.quantity}),(0,o.jsxs)(en,{children:["By submitting this form you agree that you have read, understood, and are able to consent to our"," ",(0,o.jsx)(L.l7,{href:"/privacy",children:"privacy policy"}),"."]}),(0,o.jsx)(Y,{type:"submit",disabled:x||"success"===t,children:x?"Sending...":"success"===t?"Sent!":"Get in touch"}),"error"===t&&(0,o.jsx)($,{children:"There was an error submitting the form. Please try again."}),"success"===t&&(0,o.jsx)("p",{children:"Thank you for contacting us! We will get back to you shortly."})]})}})]})})},er=i.ZP.div.withConfig({displayName:"TestimonialsSection",componentId:"sc-1u3fen9-0"})(["border-top:1px solid #e5e7eb;"]),ea=i.ZP.div.withConfig({displayName:"TestimonialGrid",componentId:"sc-1u3fen9-1"})(["display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2rem;margin-inline:10rem;@media (max-width:820px){grid-template-columns:1fr;gap:1.5rem;margin-inline:2rem;}"]),eo=i.ZP.div.withConfig({displayName:"TestimonialCard",componentId:"sc-1u3fen9-2"})(["padding:1.5rem;border-radius:8px;max-width:80%;"]),es=i.ZP.div.withConfig({displayName:"StarRating",componentId:"sc-1u3fen9-3"})(["color:#fbbf24;margin-bottom:1rem;"]),el=i.ZP.p.withConfig({displayName:"TestimonialText",componentId:"sc-1u3fen9-4"})(["font-style:italic;margin-bottom:2rem;line-height:1.5;"]),ec=i.ZP.div.withConfig({displayName:"TestimonialAuthor",componentId:"sc-1u3fen9-5"})(["font-weight:600;"]),ed=i.ZP.div.withConfig({displayName:"TestimonialRole",componentId:"sc-1u3fen9-6"})(["font-size:1.2rem;"]),eu=[{rating:5,text:"“The trainers explain things in such a brilliant way, the videos are bite-sized and the quiz questions are great. I use it daily and it's well worth the money.”",author:"Ashley C.",role:"Network Security Engineer"},{rating:5,text:"“I've used a variety of IT training platforms, but none have come close to the quality and real-world impact of CBT Nuggets.”",author:"Mark R.",role:"Network Administrator"}],em=function(){return(0,o.jsx)(er,{children:(0,o.jsx)(ea,{children:eu.map(function(e,n){return(0,o.jsxs)(eo,{children:[(0,o.jsx)(es,{children:"★".repeat(e.rating)}),(0,o.jsx)(el,{children:e.text}),(0,o.jsx)(ec,{children:e.author}),(0,o.jsx)(ed,{children:e.role})]},n)})})})},ep=i.ZP.div.withConfig({displayName:"CompanyLogos",componentId:"sc-6t5oul-0"})(["margin-top:3rem;text-align:center;padding:3rem 2rem;background:rgba(239,242,247,1);width:100%;display:flex;flex-direction:column;justify-content:center;padding-bottom:6rem;"]),eg=i.ZP.h4.withConfig({displayName:"CompanyLogosTitle",componentId:"sc-6t5oul-1"})(["margin-bottom:1.5rem;font-weight:600;"]),ef=i.ZP.div.withConfig({displayName:"LogosContainer",componentId:"sc-6t5oul-2"})(["display:flex;justify-content:center;align-items:center;gap:7rem;margin-top:2rem;flex-wrap:wrap;@media (max-width:820px){flex-direction:column;gap:4rem;}"]),eh=function(){return(0,o.jsxs)(ep,{children:[(0,o.jsx)(eg,{children:"Incredible companies trust CBT Nuggets training"}),(0,o.jsxs)(ef,{children:[(0,o.jsx)(r.Z.Google,{}),(0,o.jsx)(r.Z.Amazon,{}),(0,o.jsx)(r.Z.Salesforce,{}),(0,o.jsx)(r.Z.Verizon,{}),(0,o.jsx)(r.Z.Facebook,{})]})]})},ex=i.ZP.section.withConfig({displayName:"PageWrapper",componentId:"sc-1sxhisi-0"})(["margin:0 auto;"]),eb=i.ZP.div.withConfig({displayName:"ContactSalesWrapper",componentId:"sc-1sxhisi-1"})(["display:grid;grid-template-columns:2fr 1.5fr;min-height:100vh;@media (max-width:820px){display:flex;flex-direction:column-reverse;}"]),ey=i.ZP.div.withConfig({displayName:"BottomSection",componentId:"sc-1sxhisi-2"})(["display:flex;flex-direction:column;align-items:center;"]),ev=function(){return(0,o.jsxs)(ex,{children:[(0,o.jsxs)(eb,{children:[(0,o.jsx)(P,{}),(0,o.jsx)(ei,{})]}),(0,o.jsxs)(ey,{children:[(0,o.jsx)(em,{}),(0,o.jsx)(eh,{})]})]})},ew=t(9008),ej=t.n(ew),eC={title:"Contact sales | CBT Nuggets",description:"Do you have a question? You can contact CBT Nuggets Sales via web form, phone or live chat.",ogImage:"http://www.skru.ac.th/intro/?train=assetshttps://www.cbtnuggets.com/images/OG_default.png"},eP=!0,eN=function(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(ej(),{children:[(0,o.jsx)("title",{children:"Contact sales | CBT Nuggets"},"title"),(0,o.jsx)("meta",{name:"description",content:eC.description},"description"),(0,o.jsx)("meta",{name:"og:image",content:eC.ogImage},"ogImage"),(0,o.jsx)("meta",{property:"og:title",content:eC.title},"ogTitle"),(0,o.jsx)("meta",{property:"og:url",content:"http://www.skru.ac.th/intro/?train=contact-sales"},"ogUrl"),(0,o.jsx)("meta",{property:"og:description",content:eC.description},"ogDescription"),(0,o.jsx)("meta",{name:"twitter:title",content:eC.title},"twitterTitle"),(0,o.jsx)("meta",{name:"twitter:description",content:eC.description},"twitterDescription"),(0,o.jsx)("meta",{name:"twitter:image",content:eC.ogImage},"twitterImage"),(0,o.jsx)("link",{rel:"canonical",href:"http://www.skru.ac.th/intro/?train=contact-sales"})]}),(0,o.jsx)(ev,{}),";"]})}},37761:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-sales",function(){return t(85492)}])}},function(e){e.O(0,[3148,9471,7265,1345,6827,7103,3418,2888,9774,179],function(){return e(e.s=37761)}),_N_E=e.O()}]);