(this["webpackJsonpesambhav-home"]=this["webpackJsonpesambhav-home"]||[]).push([[0],{315:function(e,a,t){e.exports=t(638)},513:function(e,a,t){},514:function(e,a,t){},517:function(e,a,t){e.exports=t.p+"static/media/home.cff95576.jpg"},518:function(e,a,t){e.exports=t.p+"static/media/home4.892f92b3.jpg"},519:function(e,a,t){e.exports=t.p+"static/media/home3.f70f4a28.jpg"},521:function(e,a,t){e.exports=t.p+"static/media/bold.340ceead.png"},522:function(e,a,t){e.exports=t.p+"static/media/swaasa-ai.37bd5ddf.jpg"},637:function(e,a){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCABIAHkDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpan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OAR7rL5cZV2jJYnruOeuKKKjndgLXwj+Cvjz4b+IZrzUviJe+KLe4tPJazv4MxxzGbe0qEEFTsygByOQe1etWauIF83YZdo3FRgE9yPbNFFTKTYEmMMOM/0r5z8tf71FFUB//Z"},638:function(e,a,t){"use strict";t.r(a);t(316),t(325);var n=t(0),i=t.n(n),l=t(76),r=t.n(l),o=t(85),s=(t(512),t(513),t(514),t(138)),c=t(139),m=t(145),d=t(144),u=t(20),f=t(143),h=t(110);var p=function(){var e=Object(n.useState)(0),a=Object(f.a)(e,2),l=a[0],r=a[1];return i.a.createElement(h.a,{activeIndex:l,onSelect:function(e,a){r(e)},className:"carousel-overlay",responsive:"true"},i.a.createElement(h.a.Item,{className:"carousel-item-div"},i.a.createElement("img",{id:"carousel",className:"d-block w-100",src:t(517),alt:"First slide",fluid:"true"}),i.a.createElement("p",{className:"section_title"},"Digital Transformation",i.a.createElement("br",null))),i.a.createElement(h.a.Item,{className:"carousel-item-div"},i.a.createElement("img",{id:"carousel",className:"d-block w-100",src:t(518),alt:"First slide",fluid:"true"}),i.a.createElement("p",{className:"section_title"},"API-led Connectivity",i.a.createElement("br",null),"Enterprise Integrations",i.a.createElement("br",null),"Business Process Management",i.a.createElement("br",null))),i.a.createElement(h.a.Item,{className:"carousel-item-div"},i.a.createElement("img",{id:"carousel",className:"d-block w-100",src:t(519),alt:"First slide",fluid:"true"}),i.a.createElement("p",{className:"section_title"},"Cloud Technologies",i.a.createElement("br",null),"Artificial Intelligence and Machine Learning")))},b=t(643),v=function(e){Object(m.a)(n,e);var a=Object(d.a)(n);function n(e){var t;return Object(s.a)(this,n),(t=a.call(this,e)).state={index:0},t}return Object(c.a)(n,[{key:"render",value:function(){return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"intro_parent",id:"home"},i.a.createElement("div",{className:"main"},i.a.createElement(p,null)),i.a.createElement("div",{className:"box1"},i.a.createElement("div",{className:"sub-title-wrapper"},i.a.createElement("h3",{className:"sub_title",style:{textAlign:"center"}},"Our Solutions")),i.a.createElement("div",{className:"box2",style:{backgroundColor:"#FFF"}},i.a.createElement("div",{className:"box3"},i.a.createElement(b.a,null,i.a.createElement(b.a.Link,{className:"section_subtitle",onClick:function(){return window.open("https://bold.esambhav.com/","_blank")}},i.a.createElement("img",{src:t(521),style:{width:"100%",height:"222",objectFit:"contain"},alt:" BOLDigital",fluid:"true"}))),i.a.createElement("p",{className:"main_section",style:{borderLeft:"5px solid #3f48cc"}},"BOLDigital \u2013 Shipping and Logistics businesses are faced with the challenges of managing complex financial and administrative processes involved in the end-to-end life-cyle of Bill of Lading (BOL). Sambhav brings BOLD, a Digital Platform....",i.a.createElement(b.a.Link,{className:"section_subtitle",onClick:function(){return window.open("https://bold.esambhav.com/","_blank")}},i.a.createElement("i",{className:"fas fa-external-link-alt"})),i.a.createElement("br",null))),i.a.createElement("div",{className:"space"},i.a.createElement("br",null)),i.a.createElement("div",{className:"box3"},i.a.createElement(b.a,null,i.a.createElement(b.a.Link,{className:"section_subtitle",onClick:function(){return window.open("https://swaasa.esambhav.com/","_blank")}},i.a.createElement("img",{src:t(522),style:{width:"100%",height:"222",objectFit:"contain"},alt:" Swaasa.AI",fluid:"true"}))),i.a.createElement("p",{className:"main_section",style:{borderLeft:"5px solid #f4ae55"}},"SWAASA.AI - As the world fights with COVID-19, businesses are faced with a tough decision of bringing their employees back to work and ensure their safety in a scalable and cost-effective manner.. SWAASA.ai brings AI/MachineLearning Technolgy and audiometric analysis together",i.a.createElement("br",null),i.a.createElement(b.a.Link,{className:"section_subtitle",onClick:function(){return window.open("https://swaasa.esambhav.com/","_blank")}},"Learn more about SWAASA.AI ...",i.a.createElement("i",{className:"fas fa-external-link-alt"})),i.a.createElement("br",null)," "))))))}}]),n}(n.Component),A=Object(u.f)(v),g=t(640),w=t(644);var E=function(e){return e.children,i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"footer",id:"footer"},i.a.createElement(g.a,{className:"footer-menu"},i.a.createElement(w.a,null,i.a.createElement(b.a,{className:"m-auto",id:"nav"},i.a.createElement(b.a.Link,{id:"navLInk",href:"/About",style:{color:"#fff"}},"About"),i.a.createElement(b.a.Link,{id:"navLInk",href:"/Home",style:{color:"#fff"}},i.a.createElement("i",{className:"fa fa-home","aria-hidden":"true",style:{fontSize:"22px"}})),i.a.createElement(b.a.Link,{href:"https://www.linkedin.com/in/rayavaram",style:{color:"#fff"}}," ",i.a.createElement("i",{className:"fab fa-linkedin"})))),"\xa9 2020. Sambhav Solutions. All Rights Reserved."),i.a.createElement("div",{className:"footer-contact"},"Sambhav Solutions",i.a.createElement("br",null),"Phone Number: 469-877-9235",i.a.createElement("br",null),i.a.createElement("a",{href:"mailto:sales@esambhav.com?subject=SwaasaAI"},"Email Us"),i.a.createElement("br",null))))};var x=Object(u.f)((function(){return i.a.createElement("div",{className:"customer"},i.a.createElement("h3",{className:"title"},"Sambhav Solutions"),i.a.createElement("div",{className:"about_wrapper"},i.a.createElement("h3",{className:"sub_title"}," Why we do what we do? "),i.a.createElement("p",{className:"about_section"},"We believe that the Information Technology can make a huge difference in the world by enabling businesses to create better resources for the rest of the world to have.")),i.a.createElement("div",{className:"about_wrapper"},i.a.createElement("h3",{className:"sub_title"},"What we do?"),i.a.createElement("p",{className:"about_section"},"Sambhav Solutions is a high-end digital transformation technology solutions provider with vast experience in leading Enterprises through Digital Transformation. Sambhav has footprints in the US, Canada and India. Sambhav brings over multiple decades of experience in software development, product development, integrations, API led connectivity, business process management, Data Analytics and Business Intelligence with innovative and cutting edge solutions using API , Cloud , Big Data, Data Analytics, AI and Machine Learning.")),i.a.createElement("hr",{className:"a-spacing-base a-spacing-top-base a-divider-normal"}))})),N=(t(525),t(86)),k=t(87);function S(){var e=Object(N.a)(["\n list-style: none;\n display: flex;\n flex-flow: row nowrap;\n\n li {\n padding: 18px 10px;\n }\n\n @media (max-width: 768px) {\n flex-flow: column nowrap;\n background-color: #0D2538;\n color:#fff;\n position: fixed;\n transform: ",";\n top: 0;\n right: 0px;\n height: 100vh;\n width: 300px;\n padding-top: 3.5rem;\n transition: transform 0.3s ease-in-out;\n\n li {\n color: #fff;\n }\n }\n"]);return S=function(){return e},e}var D=k.a.ul(S(),(function(e){return e.open?"translateX(0)":"translateX(100%)"})),y=function(e){var a=e.open;return i.a.createElement(g.a,null,i.a.createElement(D,{open:a},i.a.createElement("li",null,i.a.createElement(b.a.Link,{id:"navLInk",href:"/About"},"About")),i.a.createElement("li",null,i.a.createElement(b.a.Link,{id:"navLInk",href:"/Contact"},"Contact")),i.a.createElement("li",null," ",i.a.createElement(b.a.Link,{id:"navLInk",href:"/Home"},i.a.createElement("i",{className:"fa fa-home","aria-hidden":"true",style:{fontSize:"22px"}}))),i.a.createElement("li",null," ",i.a.createElement(b.a.Link,{id:"navLInk",exact:"true",href:"/"}))))};function L(){var e=Object(N.a)(["\n width: 2rem;\n height: 2rem;\n position: fixed;\n top: 15px;\n right: 20px;\n z-index: 20;\n display: none;\n\n @media (max-width: 768px) {\n display: flex;\n justify-content: space-around;\n flex-flow: column nowrap;\n }\n\n div {\n width: 2rem;\n height: 0.25rem;\n background-color: ",";\n border-radius: 10px;\n transform-origin: 1px;\n transition: all 0.3s linear;\n\n &:nth-child(1) {\n transform: ",";\n }\n\n &:nth-child(2) {\n transform: ",";\n opacity: ",";\n }\n\n &:nth-child(3) {\n transform: ",";\n }\n }\n"]);return L=function(){return e},e}var P=k.a.div(L(),(function(e){return e.open?"#ccc":"green"}),(function(e){return e.open?"rotate(45deg)":"rotate(0)"}),(function(e){return e.open?"translateX(100%)":"translateX(0)"}),(function(e){return e.open?0:1}),(function(e){return e.open?"rotate(-45deg)":"rotate(0)"})),H=function(){var e=Object(n.useState)(!1),a=Object(f.a)(e,2),t=a[0],l=a[1];return i.a.createElement(i.a.Fragment,null,i.a.createElement(P,{open:t,onClick:function(){return l(!t)}},i.a.createElement("div",null),i.a.createElement("div",null),i.a.createElement("div",null)),i.a.createElement(y,{open:t}))};function C(){var e=Object(N.a)(["\n width: 100%;\n height: 55px;\n padding: 0 20px;\n display: flex;\n justify-content: space-between;\n\n .logo {\n padding: 15px 0;\n }\n"]);return C=function(){return e},e}var O=k.a.nav(C()),W=function(){return i.a.createElement(O,null,i.a.createElement(H,null))},j=t(188),F=t.n(j),I=t(309),B=t(313),M=t(89),R=t(310),T=t.n(R),X=t(642),J=t(641),q=t(78),U=t(311),V=(t(636),t(312)),z=function(e){Object(m.a)(t,e);var a=Object(d.a)(t);function t(e){var n;return Object(s.a)(this,t),(n=a.call(this,e)).emptyItem={email:""},n.checkValidity=function(){return null===n.state.customer.email||void 0===n.state.customer.email?(n.setState({message:"Please enter valid Email"}),n.setState({isValid:!1}),n.setState({color:"red"}),!1):n.state.customer.email.includes("@")?(n.setState({message:"Thank you for your response, and we will contact you soon"}),n.setState({isValid:!0}),n.setState({color:"green"}),!0):(n.setState({message:"Please enter valid Email"}),n.setState({isValid:!1}),n.setState({color:"red"}),!1)},n.state={customer:n.emptyItem,editorState:q.EditorState.createEmpty(),message:"",isValid:!0,color:"red",visibility:!1},n.handleSubmit=n.handleSubmit.bind(Object(M.a)(n)),n.handleChange=n.handleChange.bind(Object(M.a)(n)),n.onEditorStateChange=n.onEditorStateChange.bind(Object(M.a)(n)),n}return Object(c.a)(t,[{key:"handleChange",value:function(e){var a=e.target,t=a.value,n=a.name,i=Object(B.a)({},this.state.customer);i[n]=t,this.setState({customer:i})}},{key:"onEditorStateChange",value:function(e){console.log("editorState",e),this.setState({editorState:e})}},{key:"handleSubmit",value:function(){var e=Object(I.a)(F.a.mark((function e(a){var t,n,i,l,r;return F.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.setState({visibility:!0}),a.preventDefault(),t=Object(q.convertToRaw)(this.state.editorState.getCurrentContent()),n=Object(V.a)(this.state.editorState.getCurrentContent()),console.log("this.state",this.state),console.log("jsonNotes",t),console.log("htmlNotes",n),!this.checkValidity()){e.next=21;break}return i={email:this.state.customer.email,notes:n},e.prev=10,l=JSON.stringify(i),e.next=14,T.a.post("https://a1qf7il1t5.execute-api.us-east-1.amazonaws.com/dev/email",l,{headers:{"Content-Type":"application/json"}});case 14:r=e.sent,console.log(r),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),console.log(e.t0);case 21:setTimeout((function(){window.location="/Home"}),3e3);case 22:case"end":return e.stop()}}),e,this,[[10,18]])})));return function(a){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state.editorState,a=this.state.visibility?i.a.createElement("div",null,i.a.createElement("label",{style:{color:this.state.color}},this.state.message)):null;return i.a.createElement("div",{className:"App"},i.a.createElement("br",null),a,i.a.createElement("h3",{className:"title"},"Enter Your Contact Information:"),i.a.createElement(X.a,null,i.a.createElement(X.a.Group,null,i.a.createElement("input",{type:"text",className:"form-control",name:"email",id:"email",value:this.state.customer.email||"",onChange:this.handleChange,autoComplete:"email",placeholder:"Enter email address"})),i.a.createElement(X.a.Group,null,i.a.createElement(X.a.Label,{className:"form-label"},"Please enter text message"),i.a.createElement(U.Editor,{editorState:e,wrapperClassName:"demo-wrapper",editorClassName:"demo-editor",onEditorStateChange:this.onEditorStateChange,toolbar:{options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough"]},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0},fontSize:{options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0},list:{className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"]},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0},colorPicker:{className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"]}}})),i.a.createElement(X.a.Group,null,i.a.createElement(J.a,{variant:"primary",type:"button",className:"btn btn-primary",onClick:this.handleSubmit},"Submit"))))}}]),t}(n.Component),G=Object(u.f)(z);var K=function(e){return i.a.createElement("div",{className:"App"},i.a.createElement("div",{className:"header"},i.a.createElement("div",{className:"logo"},i.a.createElement("a",{href:"https://www.esambhav.com"},i.a.createElement("img",{src:t(637),style:{width:"100%",height:"auto"},alt:"logo",fluid:"true"}))),i.a.createElement("div",{className:"menu"},i.a.createElement(g.a,null,i.a.createElement(W,null)))),i.a.createElement("div",{className:"body"},i.a.createElement(u.c,null,i.a.createElement(u.a,{path:"/Home"},i.a.createElement(A,null)),i.a.createElement(u.a,{path:"/About"},i.a.createElement(x,null)),i.a.createElement(u.a,{path:"/Contact"},i.a.createElement(G,null)),i.a.createElement(u.a,{exact:!0,path:"/"},i.a.createElement(A,null)))),i.a.createElement(E,null))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));r.a.render(i.a.createElement(o.a,null,i.a.createElement(K,null)),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[315,1,2]]]); //# sourceMappingURL=main.d085a058.chunk.js.map