PageSourceSearch

https://app.eazyconnections.ai/_next/static/chunks/pages/dashboard/company-analyzer-c26be871c7eb21b7.js

js eazyconnections.ai collected 2026-10-02 01:14:25 UTC 23,925 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="74c83a0a-2b88-46ff-ad52-f6254a5132d4",e._sentryDebugIdIdentifier="sentry-dbid-74c83a0a-2b88-46ff-ad52-f6254a5132d4")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7666],{15058:function(e,l,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/company-analyzer",function(){return a(11233)}])},11233:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return O}});var s=a(85893),t=a(67294),n=a(11163),r=a(45007),i=a(48049),o=a.n(i),d=a(87066),c=a(25675),u=a.n(c),m=a(77221),x=a(55678);let b=[{label:"Afghanistan",value:"+93"},{label:"Albania",value:"+355"},{label:"Algeria",value:"+213"},{label:"Andorra",value:"+376"},{label:"Angola",value:"+244"},{label:"Argentina",value:"+54"},{label:"Armenia",value:"+374"},{label:"Australia",value:"+61"},{label:"Austria",value:"+43"},{label:"Azerbaijan",value:"+994"},{label:"Bahamas",value:"+1-242"},{label:"Bahrain",value:"+973"},{label:"Bangladesh",value:"+880"},{label:"Belarus",value:"+375"},{label:"Belgium",value:"+32"},{label:"Belize",value:"+501"},{label:"Benin",value:"+229"},{label:"Bhutan",value:"+975"},{label:"Bolivia",value:"+591"},{label:"Bosnia and Herzegovina",value:"+387"},{label:"Botswana",value:"+267"},{label:"Brazil",value:"+55"},{label:"Brunei",value:"+673"},{label:"Bulgaria",value:"+359"},{label:"Burkina Faso",value:"+226"},{label:"Burundi",value:"+257"},{label:"Cambodia",value:"+855"},{label:"Cameroon",value:"+237"},{label:"Canada",value:"+1"},{label:"Cape Verde",value:"+238"},{label:"Central African Republic",value:"+236"},{label:"Chad",value:"+235"},{label:"Chile",value:"+56"},{label:"China",value:"+86"},{label:"Colombia",value:"+57"},{label:"Comoros",value:"+269"},{label:"Congo",value:"+242"},{label:"Costa Rica",value:"+506"},{label:"Croatia",value:"+385"},{label:"Cuba",value:"+53"},{label:"Cyprus",value:"+357"},{label:"Czech Republic",value:"+420"},{label:"Denmark",value:"+45"},{label:"Djibouti",value:"+253"},{label:"Dominican Republic",value:"+1-809"},{label:"Ecuador",value:"+593"},{label:"Egypt",value:"+20"},{label:"El Salvador",value:"+503"},{label:"Estonia",value:"+372"},{label:"Ethiopia",value:"+251"},{label:"Fiji",value:"+679"},{label:"Finland",value:"+358"},{label:"France",value:"+33"},{label:"Gabon",value:"+241"},{label:"Gambia",value:"+220"},{label:"Georgia",value:"+995"},{label:"Germany",value:"+49"},{label:"Ghana",value:"+233"},{label:"Greece",value:"+30"},{label:"Guatemala",value:"+502"},{label:"Guinea",value:"+224"},{label:"Haiti",value:"+509"},{label:"Honduras",value:"+504"},{label:"Hong Kong",value:"+852"},{label:"Hungary",value:"+36"},{label:"Iceland",value:"+354"},{label:"India",value:"+91"},{label:"Indonesia",value:"+62"},{label:"Iran",value:"+98"},{label:"Iraq",value:"+964"},{label:"Ireland",value:"+353"},{label:"Israel",value:"+972"},{label:"Italy",value:"+39"},{label:"Jamaica",value:"+1-876"},{label:"Japan",value:"+81"},{label:"Jordan",value:"+962"},{label:"Kazakhstan",value:"+7"},{label:"Kenya",value:"+254"},{label:"Kuwait",value:"+965"},{label:"Kyrgyzstan",value:"+996"},{label:"Laos",value:"+856"},{label:"Latvia",value:"+371"},{label:"Lebanon",value:"+961"},{label:"Libya",value:"+218"},{label:"Lithuania",value:"+370"},{label:"Luxembourg",value:"+352"},{label:"Macau",value:"+853"},{label:"Malaysia",value:"+60"},{label:"Maldives",value:"+960"},{label:"Mali",value:"+223"},{label:"Malta",value:"+356"},{label:"Mexico",value:"+52"},{label:"Moldova",value:"+373"},{label:"Monaco",value:"+377"},{label:"Mongolia",value:"+976"},{label:"Morocco",value:"+212"},{label:"Nepal",value:"+977"},{label:"Netherlands",value:"+31"},{label:"New Zealand",value:"+64"},{label:"Nigeria",value:"+234"},{label:"North Korea",value:"+850"},{label:"Norway",value:"+47"},{label:"Oman",value:"+968"},{label:"Pakistan",value:"+92"},{label:"Peru",value:"+51"},{label:"Philippines",value:"+63"},{label:"Poland",value:"+48"},{label:"Portugal",value:"+351"},{label:"Qatar",value:"+974"},{label:"Romania",value:"+40"},{label:"Russia",value:"+7"},{label:"Saudi Arabia",value:"+966"},{label:"South Africa",value:"+27"},{label:"Spain",value:"+34"},{label:"Sweden",value:"+46"},{label:"Switzerland",value:"+41"},{label:"Turkey",value:"+90"},{label:"United Arab Emirates",value:"+971"},{label:"United Kingdom",value:"+44"},{label:"United States",value:"+1"}];var h=a(85401),v={src:"/_next/static/media/ezscout-search.cec2e621.png",height:232,width:324,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAGFBMVEVMaXEpNEEoNEAjLDooMT4oMT0nMj0jLTrid1doAAAACHRSTlMAV0QhNxAscVYUgjoAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAArSURBVHicJcrBDQAgDAOxS5OU/TdGAr8NVMOjJECt1bgknqMzdNee7W/ABQuWAHKBCbDyAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6},p=a(20344),g=a(41664),f=a.n(g),y=a(52091),j=a(86204);function N(e){var l,a,n,r,i,o,d;let{domainData:c}=e,[m,x]=(0,t.useState)(!1),b=(null==c?void 0:null===(l=c.description)||void 0===l?void 0:l.length)>100,h=null==c?void 0:null===(a=c.contactInfo)||void 0===a?void 0:a.emails,v=null==c?void 0:null===(n=c.contactInfo)||void 0===n?void 0:n.phones,p=(null==c?void 0:c.socialAccounts)||[],g=e=>e.includes("facebook.com")?{platform:"facebook",icon:(0,s.jsx)(y.Am9,{className:"text-blue-600 w-5 h-5"})}:e.includes("twitter.com")||e.includes("x.com")?{platform:"twitter",icon:(0,s.jsx)(j.lcJ,{className:"text-black w-5 h-5"})}:e.includes("linkedin.com")?{platform:"linkedin",icon:(0,s.jsx)(y.ltd,{className:"text-blue-700 w-5 h-5"})}:e.includes("instagram.com")?{platform:"instagram",icon:(0,s.jsx)(y.Zf_,{className:"text-pink-500 w-5 h-5"})}:null,N={};
1return p.forEach(e=>{let l=g(e);l&&!N[l.platform]&&(N[l.platform]={url:e,icon:l.icon})}),(0,s.jsxs)("div",{className:"border rounded-lg p-6 space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-start justify-between",children:[(0,s.jsxs)("div",{className:"flex items-start space-x-4",children:[(null==c?void 0:c.image)?(0,s.jsx)(u(),{src:null==c?void 0:c.image,alt:"Company Logo",width:80,height:80,className:"w-20 h-20 border bg-white rounded-full object-cover"}):(0,s.jsxs)("div",{className:"w-20 h-20 bg-gray-100 border text-2xl text-gray-800 rounded-full flex items-center justify-center font-semibold",children:[null==c?void 0:null===(i=c.name)||void 0===i?void 0:null===(r=i.charAt(0))||void 0===r?void 0:r.toUpperCase()," ",null==c?void 0:null===(d=c.name)||void 0===d?void 0:null===(o=d.charAt(1))||void 0===o?void 0:o.toUpperCase()]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-3xl text-gray-800 font-semibold mt-3 capitalize",children:null==c?void 0:c.name}),(0,s.jsxs)("p",{className:"text-gray-700 font-medium text-sm",children:[h.length," email address",1!==h.length&&"es"," and"," ",v.length," phone number",1!==v.length&&"s"," found for"," ",c.name]})]})]}),(0,s.jsxs)("div",{className:"mt-6 md:mt-0 text-[15px] font-medium text-gray-500 flex flex-col",children:[(0,s.jsx)("span",{className:"text-gray-600",children:"Socials Found:"}),(0,s.jsx)("div",{className:"flex space-x-3 mt-2",children:Object.values(N).map((e,l)=>{let{url:a,icon:t}=e;return(0,s.jsx)(f(),{href:a,target:"_blank",rel:"noopener noreferrer",title:a,children:(0,s.jsx)("div",{className:"w-8 h-8 flex items-center justify-center bg-gray-100 border rounded",children:t})},l)})})]})]}),(0,s.jsxs)("div",{className:"border-b-2 py-4 text-gray-500 text-[15px]",children:[m||!b?c.description:"".concat(c.description.substring(0,100),"..."),b&&(0,s.jsx)("button",{onClick:()=>x(!m),className:"text-blue-500 ml-2 font-medium",children:m?"Show Less":"Show More"})]})]}),(0,s.jsxs)("div",{className:"space-y-4 text-sm text-gray-700",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-gray-900 font-semibold text-base mb-2",children:"Emails"}),(null==h?void 0:h.length)?null==h?void 0:h.map((e,l)=>(0,s.jsx)(w,{icon:(0,s.jsx)(y.SRX,{className:"text-blue-600 w-5 h-4"}),label:e.email,sources:e.sources},l)):(0,s.jsx)("p",{className:"text-gray-500 text-sm",children:"No emails found."})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-gray-900 font-semibold text-base mb-2",children:"Phones"}),(null==v?void 0:v.length)?null==v?void 0:v.map((e,l)=>(0,s.jsx)(w,{icon:(0,s.jsx)(y.DNl,{className:"text-blue-600 w-5 h-4"}),label:e.phone,sources:e.sources},l)):(0,s.jsx)("p",{className:"text-gray-500 text-sm",children:"No phones found."})]})]})]})}function w(e){var l;let{icon:a,label:n,sources:r}=e,[i,o]=(0,t.useState)(!0);return(0,s.jsxs)("div",{className:"p-2 rounded-md",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[a,(0,s.jsx)("span",{className:"text-[15px]",children:n}),(0,s.jsx)("button",{className:"ml-3 text-gray-300 hover:text-gray-600",children:(0,s.jsx)(y.esY,{})})]}),(0,s.jsxs)("button",{onClick:()=>o(!i),className:"bg-gray-200 hover:bg-gray-300 text-gray-800 px-3 py-1 rounded text-sm flex items-center space-x-2",children:[(0,s.jsxs)("span",{children:[null!==(l=null==r?void 0:r.length)&&void 0!==l?l:0," source",1!==((null==r?void 0:r.length)||0)&&"s"]}),i?(0,s.jsx)(y.s$2,{size:12}):(0,s.jsx)(y.RiI,{size:12})]})]}),i&&(0,s.jsx)("div",{className:"mt-2 border-l-2 border-gray-300 pl-4",children:r&&r.length>0?null==r?void 0:r.map((e,l)=>(0,s.jsx)("div",{className:"flex items-center justify-between py-2 text-gray-600",children:(0,s.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600  text-[15px] hover:underline break-all",children:e})},l)):(0,s.jsx)("p",{className:"text-gray-500 text-sm",children:"No sources found."})})]})}function A(e){var l,a,n;let{domainData:r}=e,[i,o]=(0,t.useState)(!1),d=["CEO","COO","CTO","CIO","CMO","CFO","Founder","Co-Founder","Owner","President","General Manager","Head of"],c=[],m=[];
1null==r||null===(l=r.currentEmployees)||void 0===l||l.forEach(e=>{e.jobTitle&&d.some(l=>e.jobTitle.toLowerCase().includes(l.toLowerCase()))?c.push(e):m.push(e)});let x=[...c,...m],b=i?x:x.slice(0,3);return(0,s.jsxs)("div",{className:"border rounded-lg p-4 md:p-6 space-y-8 mt-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold mb-3",children:"Technologies Used"}),(null==r?void 0:null===(a=r.technologies)||void 0===a?void 0:a.length)>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-3",children:null==r?void 0:null===(n=r.technologies)||void 0===n?void 0:n.map(e=>(0,s.jsx)("span",{className:"px-3 py-1 flex items-center text-center bg-gray-200 text-gray-900 rounded text-sm",children:e},e))}):(0,s.jsx)("p",{className:"text-gray-500 text-sm",children:"No technologies found."})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold text-gray-900 mb-4",children:"Current Employees"}),(null==x?void 0:x.length)>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex flex-wrap items-center gap-8",children:null==b?void 0:b.map(e=>{var l,a;return(0,s.jsxs)("div",{className:"flex items-center space-x-3",children:[(null==e?void 0:e.image)?(0,s.jsx)(u(),{src:null==e?void 0:e.image,alt:null==e?void 0:e.firstName,width:48,height:48,className:"w-12 h-12 rounded-full"}):(0,s.jsxs)("div",{className:"w-12 h-12 bg-gray-100 border text-gray-800 rounded-full flex items-center justify-center font-semibold",children:[null==e?void 0:null===(l=e.firstName)||void 0===l?void 0:l[0]," ",null==e?void 0:null===(a=e.lastName)||void 0===a?void 0:a[0]]}),(0,s.jsxs)("div",{className:"text-sm",children:[(0,s.jsxs)("div",{className:"font-semibold text-gray-800",children:[null==e?void 0:e.firstName," ",null==e?void 0:e.lastName]}),(0,s.jsx)("div",{className:"text-gray-500",children:null==e?void 0:e.jobTitle})]})]},e.id)})}),x.length>3&&(0,s.jsx)("div",{className:"mt-2 flex justify-end",children:(0,s.jsx)("button",{onClick:()=>o(!i),className:"text-blue-600 text-sm",children:i?"View less":"View more employees"})})]}):(0,s.jsx)("p",{className:"text-gray-500 text-sm",children:"No employees found."})]})]})}function C(e){let{className:l=""}=e;return(0,s.jsx)("div",{className:"bg-gray-200 animate-pulse rounded ".concat(l)})}var k=function(){return(0,s.jsxs)("div",{className:"space-y-4 ml-3 my-3",children:[(0,s.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,s.jsx)(C,{className:"w-20 h-20"}),(0,s.jsxs)("div",{className:"flex-1 space-y-3",children:[(0,s.jsx)(C,{className:"w-1/2 h-5"}),(0,s.jsx)(C,{className:"w-2/3 h-4"}),(0,s.jsx)(C,{className:"w-1/3 h-4"})]})]}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)(C,{className:"w-2/3 h-4"}),(0,s.jsx)(C,{className:"w-1/4 h-4"}),(0,s.jsx)(C,{className:"w-1/2 h-4"})]})]})};let S={control:(e,l)=>({...e,minHeight:"2.5rem",borderColor:l.isFocused?"#93c5fd":"#d1d5db",boxShadow:l.isFocused?"0 0 0 2px rgba(59,130,246,0.25)":"none","&:hover":{borderColor:"#9ca3af"},borderRadius:"0.375rem",fontSize:"0.875rem"}),multiValue:e=>({...e,backgroundColor:"#e5e7eb",borderRadius:"0.25rem"}),multiValueLabel:e=>({...e,color:"#374151",fontWeight:500}),multiValueRemove:e=>({...e,color:"#6b7280",":hover":{backgroundColor:"#cbd5e1",color:"#374151"}})};function E(){let{id:e,team:l}=(0,r.v9)(e=>e.auth.user),[a,n]=(0,t.useState)(""),[i,o]=(0,t.useState)(!1),[c,g]=(0,t.useState)(!1),[f,y]=(0,t.useState)([]),[j,w]=(0,t.useState)(null),C=async()=>{try{if(!a||!a.trim()){x.Am.warn("Please enter a website URL to search.",{autoClose:1e3});return}o(!0),g(!0),w(null);let{data:s}=await d.Z.post("".concat(h.S9,"/search/website"),{website:a,countryCodes:f,userId:e,teamId:null==l?void 0:l._id});console.log("API RESPONSE ===>",s);let t=(null==s?void 0:s.company)&&Object.keys(s.company).length>0,r=(null==s?void 0:s.websiteData)&&Object.keys(s.websiteData).length>0,i=Array.isArray(null==s?void 0:s.currentEmployees)&&s.currentEmployees.length>0||Array.isArray(null==s?void 0:s.pastEmployees)&&s.pastEmployees.length>0;if(!t&&!r&&!i){w(null),n("");return}let c={name:E(a),...(null==s?void 0:s.company)||{},...(null==s?void 0:s.websiteData)||{},currentEmployees:Array.isArray(null==s?void 0:s.currentEmployees)?s.currentEmployees:[],pastEmployees:Array.isArray(null==s?void 0:s.pastEmployees)?s.pastEmployees:[]};w(c),n("")}catch(e){var s,t,r,i;d.Z.post(h.qJ,{message:(null==e?void 0:null===(t=e.response)||void 0===t?void 0:null===(s=t.data)||void 0===s?void 0:s.message)||String(e)||"An unknown error occurred",stack:"Error with ".concat(h.S9,"/search/website POST API in CompanyTab.jsx file"),source:"portal",module:"Company Analyzer"}),x.Am.error((null==e?void 0:null===(i=e.response)||void 0===i?void 0:null===(r=i.data)||void 0===r?void 0:r.message)||"An error occurred while searching. Please try again",{type:"error",autoClose:700,theme:"dark"})}finally{o(!1)}},E=e=>{try{let l=new URL(e).hostname,a=l.split(".").reverse();if(a.length>=2){if(a[1].length<=3)return a[2];return a[1]}return l}catch(l){return e.split(".").slice(-2,-1)[0]||e}};return(0,s.jsx)("div",{className:"mb-5",children:(0,s.jsxs)("div",{className:"mx-auto p-2 mb-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,s.jsxs)("div",{className:"flex-1 items-center relative",children:[(0,s.jsx)("div",{className:"absolute left-3 top-3 text-gray-400",children:(0,s.jsx)(u(),{src:p.Z,width:17,height:17,alt:"Search icon"})}),(0,s.jsx)("input",{type:"text",placeholder:"Search by Website Domain",value:a,onChange:e=>n(e.target.value),className:"w-full rounded text-sm placeholder:text-neutral-700 placeholder:text-[14px] pl-10 pr-3 border py-2 bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500",onKeyDown:e=>{"Enter"===e.key&&C()}})]}),(0,s.jsx)("button",{onClick:C,className:"px-8 py-2 text-[14px] bg-primaryBG text-white rounded",children:"Search"})]}),(0,s.jsx)("div",{className:"flex w-full gap-4 mt-6",children:(0,s.jsxs)("div",{className:"flex-1 flex flex-col",children:[(0,s.jsx)("label",{className:"text-[15px] mb-2 ml-1 text-gray-600 font-medium",children:"Country Phone number formats to look for"}),(0,s.jsx)(m.ZP,{isMulti:!0,styles:S,options:b,value:f,className:"text-[15px] text-gray-800",onChange:e=>y(e||[])})]})}),i?(0,s.jsx)(k,{}):j?(0,s.jsxs)("div",{className:"mt-5",children:[(0,s.jsx)(N,{domainData:j}),(0,s.jsx)(A,{domainData:j})]}):c?(0,s.jsxs)("div",{className:"text-center py-8",children:[(0,s.jsx)("h3",{className:"text-gray-500 text-xl font-medium",children:"No Data Found"}),(0,s.jsx)("p",{className:"text-gray-400 text-sm",children:"Please try again with a different URL"})]}):(0,s.jsxs)("div",{className:"text-center py-8 flex flex-col items-center",children:[(0,s.jsx)(u(),{src:v,width:200,height:200,alt:"BIZ Analyzer Search"}),(0,s.jsx)("h3",{className:"text-gray-700 text-lg font-medium",children:"Discover company insights effortlessly."}),(0,s.jsx)("p",{className:"text-gray-500 md:w-[50%]",children:"Enter a website URL in the search bar to uncover valuable details, including contact information and social media presence"})]})]})})}var B=a(30080),I=a(61121);let D=e=>/^(https?:\/\/)?([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(:\d{1,5})?(\/.*)?$/.test(e);function M(){let{id:e,team:l}=(0,r.v9)(e=>e.auth.user),[a,n]=(0,t.useState)(!0),[i,o]=(0,t.useState)(!0),[c,u]=(0,t.useState)([]),[v,p]=(0,t.useState)(10),[g,f]=(0,t.useState)(""),[y,j]=(0,t.useState)([]),[N,w]=(0,t.useState)(!1),A=g.split("\n").length;return(0,s.jsxs)("div",{className:"px-3 ",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("h3",{className:"mb-2 font-semibold",children:"Enter the domain"}),(0,s.jsxs)("div",{className:"flex border border-gray-300 rounded overflow-hidden",children:[(0,s.jsx)("div",{className:"bg-purple-50 text-gray-700 text-right p-2 select-none",children:Array.from({length:A},(e,l)=>(0,s.jsx)("div",{className:"leading-5 text-sm",children:l+1},l))}),(0,s.jsx)("textarea",{className:"flex-1 p-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",rows:7,placeholder:"company.com",value:g,onChange:e=>{let l=e.target.value;f(l),j(l.split("\n").filter(e=>""!==e.trim()))}})]})]}),(0,s.jsx)("h4",{className:"font-bold mt-4 mb-3",children:"Setup"}),(0,s.jsxs)("div",{className:"mb-5",children:[(0,s.jsx)("label",{className:"block font-semibold mb-2 text-gray-800",children:"Maximum Email Address per Domain:"}),(0,s.jsx)("div",{className:"flex items-center font-medium gap-4 text-sm",children:[1,10,100].map(e=>(0,s.jsxs)("label",{className:"flex items-center space-x-1",children:[(0,s.jsx)("input",{type:"radio",name:"emailLimit",value:e,checked:v===e,onChange:e=>p(Number(e.target.value))}),(0,s.jsx)("span",{children:e})]},e))})]}),(0,s.jsx)("div",{className:"max-w-80 flex flex-col  gap-4 mb-4",children:(0,s.jsxs)("div",{className:"flex-1 flex flex-col",children:[(0,s.jsx)("label",{className:"text-sm mb-2 font-medium text-gray-800",children:"Country Phone number formats to look for"}),(0,s.jsx)(m.ZP,{isMulti:!0,styles:S,options:b,value:c,onChange:u})]})}),(0,s.jsxs)("div",{className:"bg-white rounded-lg w-full p-2",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 mb-5",children:[(0,s.jsxs)("label",{className:"flex items-center space-x-2 text-sm",children:[(0,s.jsx)("input",{type:"checkbox",checked:a,onChange:()=>n(!a),className:"w-4 h-4 text-blue-600 border-gray-300 accent-primaryBG rounded focus:ring-blue-500"}),(0,s.jsx)("span",{className:"text-[15px] font-semibold",children:"Include the source in the result"})]}),(0,s.jsxs)("label",{className:"flex items-center space-x-2 text-sm",children:[(0,s.jsx)("input",{type:"checkbox",checked:i,onChange:()=>o(!i),className:"w-4 h-4 text-blue-600 accent-primaryBG border-gray-300 rounded focus:ring-blue-500"}),(0,s.jsx)("span",{className:"text-[15px] font-semibold",children:"Add Social Media Links"})]})]}),(0,s.jsxs)("button",{className:"\n             text-white bg-primaryBG px-6 py-2 rounded-md shadow-md\n                       hover:bg-primaryBG-dark text-[15px] flex gap-2 items-center ".concat((null==y?void 0:y.length)&&!N?"":"opacity-60"),onClick:()=>{try{w(!0);let t=y.filter(e=>D(e));d.Z.post("".concat(h.S9,"/search/bulk"),{websites:t,countryCodes:c,emailsLimit:v,socials:i,sources:a,userId:e,teamId:null==l?void 0:l._id}).catch(e=>{var l,a;x.Am.error((null==e?void 0:null===(a=e.response)||void 0===a?void 0:null===(l=a.data)||void 0===l?void 0:l.message)||"An error occurred while searching. Please try again",{type:"error",isLoading:!1,autoClose:700,theme:"dark",draggable:!1,pauseOnHover:!1})}).finally(()=>{w(!1)}),setTimeout(()=>{x.Am.success("Your request has been submitted and is being processed. You will receive an email once it's completed.",{theme:"light",pauseOnHover:!1,pauseOnFocusLoss:!1,autoClose:5e3,position:"top-center",hideProgressBar:!0,icon:(0,s.jsx)(B.ZSR,{color:"#6a69ff",size:24}),style:{width:"400px"}}),w(!1),f(""),j([])},1e3)}catch(e){console.log("Error during search:",e),w(!1),x.Am.error("An error occured while searching. Please try again",{type:"error",isLoading:!1,autoClose:700,theme:"dark",draggable:!1,pauseOnHover:!1})}},disabled:!(null==y?void 0:y.length)||N,children:[N&&(0,s.jsx)(I.sOR,{className:"animate-spin text-white",size:20}),"Start Search"]}),(0,s.jsx)("div",{className:"mt-6 p-4 bg-blue-50 border border-blue-200 rounded-lg text-gray-900 text-sm",children:(0,s.jsxs)("ul",{className:"list-disc pl-5 space-y-2",children:[(0,s.jsxs)("li",{children:["To ensure smooth processing, ",(0,s.jsx)("b",{children:"BIZ Analyzer"})," can only handle up to ",(0,s.jsx)("b",{children:"100 domains"})," at a time. If you submit more than 100, any extras will be skipped for this batch."]}),(0,s.jsxs)("li",{children:["BIZ Analyzer focuses on processing ",(0,s.jsx)("b",{children:"domain names"}),", so any additional information like company names might be skipped during import."]}),(0,s.jsx)("li",{children:"Special characters or unexpected symbols might not translate well and may be removed from the results file."}),(0,s.jsxs)("li",{children:["For the best results, ",(0,s.jsx)("b",{children:"use domain names directly"})," instead of company names."]}),(0,s.jsxs)("li",{children:["BIZ Analyzer will automatically ",(0,s.jsx)("b",{children:"remove duplicates"}
1)," and websites with invalid formats to avoid clutter in your results."]})]})})]})]})}function z(){let e=(0,n.useRouter)(),l=(0,r.v9)(e=>{var l;return null==e?void 0:null===(l=e.systemSettings)||void 0===l?void 0:l.settings}),[a,i]=(0,t.useState)("individual"),d="bulk"===a;return(0,t.useEffect)(()=>{let a=setTimeout(()=>{(null==l?void 0:l.companyAnalyzer)||e.push("/dashboard/contacts-manager")},2e3);return()=>clearTimeout(a)},[l,e]),(0,s.jsxs)("section",{className:" ".concat(o().className," font-medium flex flex-col h-max max-w-[1200px] w-full bg-white shadow-divShadow rounded-lg border mx-auto overflow-y-scroll overflow-x-hidden p-6 mt-10"),children:[(0,s.jsxs)("div",{className:"mt-1 ml-2",children:[(0,s.jsx)("h4",{className:"font-bold text-neutral-900 text-2xl",children:"Company Analyzer"}),(0,s.jsx)("p",{className:"text-[17px] font-medium text-gray-700",children:"Discover the emails and business details of any company effortlessly."})]}),(0,s.jsxs)("div",{className:"flex border-b my-4 gap-2 justify-center",children:[(0,s.jsx)("button",{className:"py-2 px-12 font-semibold hover:border-blue-600 hover:text-blue-600 ".concat(d?"":"border-b-2 text-blue-600 border-blue-600"),onClick:()=>i("individual"),children:"Individual Search"}),(0,s.jsx)("button",{className:"py-2 px-12 font-semibold hover:border-blue-600 hover:text-blue-600 ".concat(d?"border-b-2 text-blue-600 border-blue-600":""),onClick:()=>i("bulk"),children:"Bulk Search"})]}),d?(0,s.jsx)(M,{}):(0,s.jsx)(E,{})]})}function O(){return(0,s.jsx)(z,{})}}},function(e){e.O(0,[7221,2888,9774,179],function(){return e(e.s=15058)}),_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.