1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5793],{50421:function(e,t){"use strict";t.Z={src:"/_next/static/media/article-square-2.a519ed69.svg",height:14,width:12,blurWidth:0,blurHeight:0}},46443:function(e,t){"use strict";t.Z={src:"/_next/static/media/article-square.770b96a3.svg",height:24,width:24,blurWidth:0,blurHeight:0}},92899:function(e,t){"use strict";t.Z={src:"/_next/static/media/partner-check.00f23b23.svg",height:16,width:16,blurWidth:0,blurHeight:0}},84536:function(e,t){"use strict";t.Z={src:"/_next/static/media/email.fb3e920f.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEWdxsurtsK0wM2stsKqu8SqtsO2wtSuucWst8K0jNwRAAAACXRSTlMBtPOLD7AVynGEmlVeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAKElEQVR4nGNgwAI4WFk5QDQbOyMjOxsDAwMLExMTEwtIiJmRkRmbFgAMaQBPXj/iJwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},9606:function(e,t){"use strict";t.Z={src:"/_next/static/media/facebook.b043ef52.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEVMaXGsuMSptcKstsSsuMOvvMeqtcCst8Pb7YNSAAAACHRSTlMAsRQxj2Be6qzp0f8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAlSURBVHicY2BAAkxsTBAGCyOEZmaHMpgYWaBqGFmhDGaoWggAAAbxAC3aWs4NAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},34356:function(e,t){"use strict";t.Z={src:"/_next/static/media/linkedin.94939feb.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAFVBMVEVMaXGrtsGntr2tuMO2ws+suMCe2LtB9cCjAAAAB3RSTlMAcxeHrkEH3nzLqgAAAAlwSFlzAAALEwAACxMBAJqcGAAAACBJREFUeJxjYMACGJlgDEZmRjCDhYWZBSzIyMwKl0UGAATsACcRxhFOAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},53182:function(e,t){"use strict";t.Z={src:"/_next/static/media/twitter.4384c723.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXGnt7+rtMCst8KrtsK0wMyrtL+utsOstsO8yNUhS5dAAAAACXRSTlMACmqSyNBZPKZN1lMUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nGNgwASM7AwczIwgBisLJytYiJmTkwnMYGOB0OgAAAviAFDeAo5JAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},61927:function(e,t){"use strict";t.Z={src:"/_next/static/media/website.ce19ca29.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEVMaXGstsKstsOntb6qt8Glpb2rtsKstsOqtcHp/v+LAAAACXRSTlMAPK4SYgreyJbpm2F0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAALUlEQVR4nGNgQAKsrBCakY2JEcxgZ2JlYWZgYGBmYWICMxgYOdggUgxQtVAAAAu2AFE3lOyjAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},86737:function(e,t){"use strict";t.Z={src:"/_next/static/media/solution-square-2.a38e5db0.svg",height:24,width:24,blurWidth:0,blurHeight:0}},1934:function(e,t){"use strict";t.Z={src:"/_next/static/media/solution-square-3.cc5efa7e.svg",height:24,width:24,blurWidth:0,blurHeight:0}},31570:function(e,t,a){"use strict";a.d(t,{Z:function(){return N}});var i=a(85893),s=a(58278),l=a(47423),n=a(95429),r=a(91992),o=a(80929),c=a(54410),d=a(62975),A=a(356),m=a(86414),u=a(13334),h=a(48006),p=a(24920),b=a(2054),g=a(95360),x=a(14896),j=a.n(x),E=a(34853),w=a(67294),_=a(70868),y=a.n(_),f=a(25675),C=a.n(f),v=a(20625),F=a(34155);function N(e){let{openModal:t,setOpenModal:a,company:x}=e,[_,f]=(0,w.useState)(!1),N=(0,g.c)({initialValues:{full_name:"",email:"",company_name:"",company_website:"",job_title:"",message:"",agree1:!1,agree2:!1,recaptcha:"",id:x.id,form_name:"Company Contact Form"},validate:{email:e=>/^\S+@\S+$/.test(e)?null:"Invalid email",agree1:e=>e?null:"You must agree to continue",agree2:e=>e?null:"You must agree to continue",full_name:e=>e?null:"This field is required",company_name:e=>e?null:"This field is required",company_website:e=>e?null:"This field is required",job_title:e=>e?null:"This field is required",message:e=>e?null:"This field is required",recaptcha:e=>F.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY?e&&e.length>0?null:"This field is required":null}}),k=async e=>{(await fetch("/api/company",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok?f(!0):alert("There was an error submitting the form. Please try again.")};return(0,i.jsxs)(s.x,{children:[(0,i.jsxs)(l.d,{opened:t,onClose:()=>a(!1),position:"left",padding:0,hiddenFrom:"sm",withCloseButton:!1,styles:{content:{backgroundColor:"#F9FAFB"}},transitionProps:{transition:"fade",duration:0,timingFunction:"ease"},children:[(0,i.jsxs)(n.k,{direction:"row",align:"center",justify:"space-between",px:16,py:12,style:{borderBottom:"1px solid #E7EAEF",backgroundColor:"#FFFFFF"},children:[(0,i.jsx)(s.x,{h:40,w:40}),(0,i.jsx)(r.A,{onClick:()=>a(!1),variant:"subtle",size:40,color:"#394756",children:(0,i.jsx)(o.E,{src:v.Z,
1component:C(),width:32,height:32,alt:"cancel"})})]}),_?(0,i.jsx)(s.x,{style:{backgroundColor:"#F9FAFB",overflowY:"auto"},p:"md",children:(0,i.jsxs)(n.k,{direction:"column",gap:16,align:"center",pb:32,pt:64,children:[(0,i.jsx)(c.x,{component:"h4",className:j().ih5,ta:"center",children:"Your Message has been Delivered!"}),(0,i.jsxs)(c.x,{className:j().ibody2,ta:"center",children:["You will hear from ",x.name," soon."]})]})}):(0,i.jsxs)(s.x,{style:{backgroundColor:"#F9FAFB",overflowY:"auto"},p:"md",children:[(0,i.jsxs)(n.k,{direction:"column",gap:16,align:"center",pb:32,style:{borderBottom:"1px solid #E7EAEF"},children:[(0,i.jsx)(d.q,{size:80,src:x.avatar.url,alt:x.avatar.alternativeText,radius:8,style:{border:"1px solid #E7EAEF"}}),(0,i.jsx)(c.x,{className:j().ih6bold,c:"#181E25",children:"Request to be Contacted"}),(0,i.jsxs)(c.x,{className:j().icaption,c:"#181E25",children:[x.name," may contact you regarding your request"]})]}),(0,i.jsx)(s.x,{mt:24,id:"form",w:"100%",children:(0,i.jsxs)("form",{onSubmit:N.onSubmit(e=>k(e)),children:[(0,i.jsxs)(n.k,{direction:"column",gap:16,mb:40,children:[(0,i.jsxs)(A.Z,{justify:"space-between",children:[(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Full Name",required:!0,w:"calc(50% - 12px)",placeholder:"Enter full name",...N.getInputProps("full_name")}),(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Job Title",required:!0,w:"calc(50% - 12px)",placeholder:"Enter job title",...N.getInputProps("job_title")})]}),(0,i.jsxs)(A.Z,{justify:"space-between",children:[(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Company Name",required:!0,w:"calc(50% - 12px)",placeholder:"Enter company name",...N.getInputProps("company_name")}),(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Company Website",required:!0,w:"calc(50% - 12px)",placeholder:"Enter company website",...N.getInputProps("company_website")})]}),(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold,description:j().icaption},label:"Email (Company)",required:!0,placeholder:"Enter company email",...N.getInputProps("email")}),(0,i.jsx)(u.g,{classNames:{label:j().icaptionbold,description:j().icaption},autosize:!0,label:"Message",minRows:3,required:!0,placeholder:"Message",...N.getInputProps("message")}),(0,i.jsx)(h.X,{color:"#1396A0",label:"I agree to IoT For All Marketplaceâs Terms of Use and Privacy Policy",...N.getInputProps("agree1")}),(0,i.jsx)(h.X,{color:"#1396A0",label:"I agree to be contacted by IoT For All and/or ".concat(x.name),...N.getInputProps("agree2")}),F.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY&&(0,i.jsx)(E.Z,{sitekey:F.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY||"",onChange:e=>N.setFieldValue("recaptcha",e||"")})]}),(0,i.jsx)(p.z,{mt:32,color:"#096D75",fullWidth:!0,radius:8,type:"submit",className:y().button,children:"Submit"})]})})]})]}),(0,i.jsx)(b.u,{opened:t,w:{base:"100%",md:600},onClose:()=>a(!1),visibleFrom:"sm",children:_?(0,i.jsx)(s.x,{children:(0,i.jsxs)(n.k,{direction:"column",gap:16,align:"center",pb:32,pt:64,children:[(0,i.jsx)(c.x,{component:"h4",className:j().ih5,ta:"center",children:"Your Message has been Delivered!"}),(0,i.jsxs)(c.x,{className:j().ibody2,ta:"center",children:["You will hear from ",x.name," soon."]})]})}):(0,i.jsxs)(s.x,{children:[(0,i.jsxs)(n.k,{direction:"column",gap:16,align:"center",pb:32,style:{borderBottom:"1px solid #E7EAEF"},children:[(0,i.jsx)(d.q,{size:80,src:x.avatar.url,alt:x.avatar.alternativeText,radius:0}),(0,i.jsx)(c.x,{className:j().ih6bold,c:"#181E25",children:"Request to be Contacted"}),(0,i.jsxs)(c.x,{className:j().icaption,c:"#181E25",children:[x.name," may contact you regarding your request"]})]}),(0,i.jsx)(s.x,{mt:24,id:"form",w:"100%",children:(0,i.jsxs)("form",{onSubmit:N.onSubmit(e=>k(e)),children:[(0,i.jsxs)(n.k,{direction:"column",gap:16,mb:40,children:[(0,i.jsxs)(A.Z,{justify:"space-between",children:[(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Full Name",required:!0,w:"calc(50% - 12px)",placeholder:"Enter full name",...N.getInputProps("full_name")}),(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Job Title",required:!0,w:"calc(50% - 12px)",placeholder:"Enter job title",...N.getInputProps("job_title")})]}),(0,i.jsxs)(A.Z,{justify:"space-between",children:[(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Company Name",required:!0,w:"calc(50% - 12px)",placeholder:"Enter company name",...N.getInputProps("company_name")}),(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold},label:"Company Website",required:!0,w:"calc(50% - 12px)",placeholder:"Enter company website",...N.getInputProps("company_website")})]}),(0,i.jsx)(m.o,{classNames:{label:j().icaptionbold,description:j().icaption},label:"Email (Company)",required:!0,placeholder:"Enter company email",...N.getInputProps("email")}),(0,i.jsx)(u.g,{classNames:{label:j().icaptionbold,description:j().icaption},autosize:!0,label:"Message",minRows:3,required:!0,placeholder:"Message",...N.getInputProps("message")}),(0,i.jsx)(h.X,{color:"#1396A0",label:"I agree to IoT For All Marketplaceâs Terms of Use and Privacy Policy",...N.getInputProps("agree1")}),(0,i.jsx)(h.X,{color:"#1396A0",label:"I agree to be contacted by IoT For All and/or ".concat(x.name),...
1N.getInputProps("agree2")}),F.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY&&(0,i.jsx)(E.Z,{sitekey:F.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY||"",onChange:e=>N.setFieldValue("recaptcha",e||"")})]}),(0,i.jsx)(p.z,{mt:32,color:"#096D75",fullWidth:!0,radius:8,type:"submit",className:y().button,children:"Submit"})]})})]})})]})}},91499:function(e,t,a){"use strict";a.d(t,{Z:function(){return h}});var i=a(85893),s=a(95429),l=a(91992),n=a(80929),r=a(84536),o=a(9606),c=a(34356),d=a(53182),A=a(61927),m=a(25675),u=a.n(m);function h(e){return e.socials?(0,i.jsxs)(s.k,{gap:16,direction:"row",children:[e.socials.website&&(0,i.jsx)(l.A,{component:"a",href:e.socials.website,target:"_blank",size:24,variant:"subtle",children:(0,i.jsx)(n.E,{src:A.Z,alt:"Website",component:u()})}),e.socials.facebook&&(0,i.jsx)(l.A,{component:"a",href:e.socials.facebook,target:"_blank",size:24,variant:"subtle",children:(0,i.jsx)(n.E,{src:o.Z,alt:"Facebook",component:u()})}),e.socials.twitter&&(0,i.jsx)(l.A,{component:"a",href:e.socials.twitter,target:"_blank",size:24,variant:"subtle",children:(0,i.jsx)(n.E,{src:d.Z,alt:"Twitter",component:u()})}),e.socials.linkedin&&(0,i.jsx)(l.A,{component:"a",href:e.socials.linkedin,target:"_blank",size:24,variant:"subtle",children:(0,i.jsx)(n.E,{src:c.Z,alt:"LinkedIn",component:u()})}),e.socials.email&&(0,i.jsx)(l.A,{component:"a",href:"mailto:".concat(e.socials.email),target:"_blank",size:24,variant:"subtle",children:(0,i.jsx)(n.E,{src:r.Z,alt:"Email",component:u()})})]}):null}},84987:function(e,t,a){"use strict";a.d(t,{V:function(){return b},z:function(){return g}});var i=a(85893),s=a(38878),l=a(80929),n=a(95429),r=a(24710),o=a(54410),c=a(14896),d=a.n(c),A=a(25675),m=a.n(A),u=a(92899),h=a(47966),p=a.n(h);function b(e){let{solution:t}=e;return(0,i.jsxs)(s.Z,{withBorder:!0,radius:8,className:p().card,component:"a",target:"_blank",href:"https://marketplace.iotforall.com/solution/".concat(t.slug),h:{base:438,sm:"auto"},children:[(0,i.jsx)(s.Z.Section,{mb:16,visibleFrom:"sm",children:(0,i.jsx)(l.E,{src:t.cover_image?t.cover_image.url:"",alt:t.cover_image?t.cover_image.alternativeText:"",h:128,width:249,height:128,w:"100%",style:{objectFit:"cover",objectPosition:"center"}})}),(0,i.jsx)(l.E,{src:t.cover_image?t.cover_image.url:"",alt:t.cover_image?t.cover_image.alternativeText:"",h:180,w:"100%",width:249,height:128,radius:8,hiddenFrom:"sm",mb:16}),(0,i.jsxs)(n.k,{direction:"column",gap:8,children:[(0,i.jsx)(r.C,{color:"#F3F5F6",variant:"filled",py:"auto",h:28,px:12,radius:4,styles:{label:{textTransform:"none"}},classNames:{label:d().icaptionbold},children:t.industries[0].name?t.industries[0].name:"No Industry"}),(0,i.jsx)(o.x,{component:"h3",className:p().title+" "+d().ih7bold,mt:{base:8,sm:0},children:t.title}),(0,i.jsx)(o.x,{className:p().description+" "+d().icaption,visibleFrom:"sm",children:t.short_description}),(0,i.jsx)(o.x,{className:p().description+" "+d().ibody3,hiddenFrom:"sm",children:t.short_description})]}),(0,i.jsxs)(n.k,{gap:8,align:"center",direction:"row",justify:"flex-start",mt:"auto",pt:{base:8,sm:16},children:[(0,i.jsx)(o.x,{className:d().ibody3bold,visibleFrom:"sm",children:t.company.name}),(0,i.jsx)(o.x,{className:d().ibody1bold,c:"#394756",hiddenFrom:"sm",children:t.company.name}),t.company.is_partner&&(0,i.jsx)(l.E,{component:m(),height:16,width:16,src:u.Z,alt:"partner check"})]})]})}function g(e){let{solution:t}=e;return(0,i.jsxs)(s.Z,{withBorder:!0,radius:8,className:p().card,component:"a",target:"_blank",href:"https://marketplace.iotforall.com/solution/".concat(t.slug),children:[(0,i.jsx)(s.Z.Section,{mb:16,visibleFrom:"sm",children:(0,i.jsx)(l.E,{src:t.cover_image?t.cover_image.url:"",alt:t.cover_image?t.cover_image.alternativeText:"",h:158,style:{objectFit:"cover",objectPosition:"center"},w:"100%",width:249,height:158})}),(0,i.jsx)(l.E,{src:t.cover_image?t.cover_image.url:"",alt:t.cover_image?t.cover_image.alternativeText:"",h:180,w:"100%",width:249,height:128,style:{objectFit:"cover",objectPosition:"center"},radius:8,mb:16,hiddenFrom:"sm"}),(0,i.jsxs)(n.k,{direction:"column",gap:8,children:[(0,i.jsx)(r.C,{color:"#F3F5F6",variant:"filled",px:8,py:10,radius:4,styles:{label:{textTransform:"none"}},children:(0,i.jsx)(o.x,{className:d().icaptionbold,children:t.industries[0].name?t.industries[0].name:"No Industry"})}),(0,i.jsx)(o.x,{component:"h3",className:p().title+" "+d().ih7bold,children:t.title}),(0,i.jsx)(o.x,{className:p().description+" "+d().icaption,children:t.short_description})]}),(0,i.jsxs)(n.k,{gap:8,align:"center",direction:"row",justify:"flex-start",mt:"auto",pt:{base:8,sm:16},children:[(0,i.jsx)(o.x,{className:d().ibody3bold,children:t.company.name}),t.company.is_partner&&(0,i.jsx)(l.E,{component:m(),height:16,width:16,src:u.Z,alt:"partner check"})]})]})}},47966:function(e){e.exports={card:"Card_card__HFfA2",title:"Card_title__RVhAp","title-tall":"Card_title-tall__hyoZj",description:"Card_description__kWNNu",bottom:"Card_bottom__rLEjS"}}}]);
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.