1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,888064,e=>{"use strict";var n=e.i(843476),a=e.i(522016),i=e.i(271645),t=e.i(555436),r=e.i(531278),s=e.i(778917),o=e.i(115057),l=e.i(643531),c=e.i(37727),u=e.i(416788),d=e.i(31954),m=e.i(167881),g=e.i(756737),h=e.i(970065),p=e.i(625959),f=e.i(611224),v=e.i(839685),S=e.i(500882),M=e.i(45217),x=e.i(522014),y=e.i(852917),C=e.i(213788),P=e.i(647163),b=e.i(827604),E=e.i(309204),A=e.i(769257),T=e.i(668270),k=e.i(327147),j=e.i(445141),R=e.i(922916),w=e.i(965835);function N(e){return e.toLowerCase().normalize("NFKD").replace(/[^a-z0-9]+/g," ").trim()}function F({options:e,selected:a,onToggle:t,placeholder:r,idPrefix:s}){let[o,l]=(0,i.useState)(""),c=(0,i.useMemo)(()=>new Set(a),[a]),u=(0,i.useMemo)(()=>e.filter(e=>c.has(e.value)),[e,c]),{shown:d,hiddenCount:m}=(0,i.useMemo)(()=>{let n=N(o),a=e.filter(e=>!c.has(e.value));if(!n)return{shown:a.slice(0,60),hiddenCount:Math.max(0,a.length-60)};let i=[];for(let e of a){let a=N(e.label),t=e.group?N(e.group):"";a.startsWith(n)?i.push({option:e,rank:0}):a.includes(n)?i.push({option:e,rank:1}):t.includes(n)&&i.push({option:e,rank:2})}return i.sort((e,n)=>e.rank-n.rank||e.option.label.localeCompare(n.option.label)),{shown:i.slice(0,60).map(e=>e.option),hiddenCount:Math.max(0,i.length-60)}},[e,c,o]);function g({value:e,label:a,group:i}){return(0,n.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer",children:[(0,n.jsx)(p.Checkbox,{checked:c.has(e),onCheckedChange:()=>t(e),id:`${s}-${e}`,className:"mt-px"}),(0,n.jsxs)("span",{className:"min-w-0 flex-1 text-[13px] leading-tight",children:[a,i&&i!==a&&(0,n.jsx)("span",{className:"block text-[11px] leading-tight text-muted-foreground",children:i})]})]},e)}return(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsx)("input",{value:o,onChange:e=>l(e.target.value),placeholder:r,"data-slot":"input",className:R.FILTER_INPUT_CLASS}),(0,n.jsxs)("div",{className:"flex flex-col gap-1.5 max-h-52 overflow-y-auto pr-1",children:[u.map(g),u.length>0&&d.length>0&&(0,n.jsx)("div",{className:"my-0.5 border-t border-border/40"}),d.map(g),0===u.length&&0===d.length&&(0,n.jsx)("p",{className:"py-1 text-[11px] text-muted-foreground",children:"No match."}),m>0&&(0,n.jsxs)("p",{className:(0,P.cn)("pt-0.5 text-[11px] text-muted-foreground"),children:[m.toLocaleString()," more â keep typing to narrow."]})]})]})}let I=[["2190","Accommodation Services","Accommodation Services"],["2217","Bars, Taverns, and Nightclubs","Accommodation Services"],["2197","Bed-and-Breakfasts, Hostels, Homestays","Accommodation Services"],["2212","Caterers","Accommodation Services"],["34","Food and Beverage Services","Accommodation Services"],["31","Hospitality","Accommodation Services"],["2194","Hotels and Motels","Accommodation Services"],["2214","Mobile Food Services","Accommodation Services"],["32","Restaurants","Accommodation Services"],["1912","Administrative and Support Services","Administrative and Support Services"],["1938","Collection Agencies","Administrative and Support Services"],["110","Events Services","Administrative and Support Services"],["1923","Executive Search Services","Administrative and Support Services"],["122","Facilities Services","Administrative and Support Services"],["101","Fundraising","Administrative and Support Services"],["1965","Janitorial Services","Administrative and Support Services"],["2934","Landscaping Services","Administrative and Support Services"],["1916","Office Administration","Administrative and Support Services"],["121","Security and Investigations","Administrative and Support Services"],["1956","Security Guards and Patrol Services","Administrative and Support Services"],["1958","Security Systems Services","Administrative and Support Services"],["104","Staffing and Recruiting","Administrative and Support Services"],["1931","Telephone Call Centers","Administrative and Support Services"],["1925","Temporary Help Services","Administrative and Support Services"],["108","Translation and Localization","Administrative and Support Services"],["30","Travel Arrangements","Administrative and Support Services"],["103","Writing and Editing","Administrative and Support Services"],["48","Construction","Construction"],["406","Building Construction","Construction"],["453","Building Equipment Contractors","Construction"],["460","Building Finishing Contractors","Construction"],["436","Building Structure and Exterior Contractors","Construction"],["51","Civil Engineering","Construction"],["431","Highway, Street, and Bridge Construction","Construction"],["413","Nonresidential Building Construction","Construction"],["408","Residential Building Construction","Construction"],["435","Specialty Trade Contractors","Construction"],["428","Subdivision of Land","Construction"],["419","Utility System Construction","Construction"],["91","Consumer Services","Consumer Services"],["90","Civic and Social Organizations","Consumer Services"],["2247","Commercial and Industrial Machinery Maintenance","Consumer Services"],["2240","Electronic and Pre
1cision Equipment Maintenance","Consumer Services"],["2255","Footwear and Leather Goods Repair","Consumer Services"],["2318","Household Services","Consumer Services"],["1909","Industry Associations","Consumer Services"],["2272","Laundry and Drycleaning Services","Consumer Services"],["100","Non-profit Organizations","Consumer Services"],["2258","Personal and Laundry Services","Consumer Services"],["2259","Personal Care Services","Consumer Services"],["2282","Pet Services","Consumer Services"],["131","Philanthropic Fundraising Services","Consumer Services"],["107","Political Organizations","Consumer Services"],["1911","Professional Organizations","Consumer Services"],["89","Religious Institutions","Consumer Services"],["2225","Repair and Maintenance","Consumer Services"],["2253","Reupholstery and Furniture Repair","Consumer Services"],["2226","Vehicle Repair and Maintenance","Consumer Services"],["1999","Education","Education"],["2019","Cosmetology and Barber Schools","Education"],["132","E-Learning Providers","Education"],["2025","Fine Arts Schools","Education"],["2020","Flight Training","Education"],["68","Higher Education","Education"],["2029","Language Schools","Education"],["67","Primary and Secondary Education","Education"],["105","Professional Training and Coaching","Education"],["2012","Secretarial Schools","Education"],["2027","Sports and Recreation Instruction","Education"],["2018","Technical and Vocational Training","Education"],["28","Entertainment Providers","Entertainment Providers"],["2167","Amusement Parks and Arcades","Entertainment Providers"],["38","Artists and Writers","Entertainment Providers"],["2139","Circuses and Magic Shows","Entertainment Providers"],["2135","Dance Companies","Entertainment Providers"],["29","Gambling Facilities and Casinos","Entertainment Providers"],["2179","Golf Courses and Country Clubs","Entertainment Providers"],["2161","Historical Sites","Entertainment Providers"],["2159","Museums","Entertainment Providers"],["37","Museums, Historical Sites, and Zoos","Entertainment Providers"],["115","Musicians","Entertainment Providers"],["39","Performing Arts","Entertainment Providers"],["2130","Performing Arts and Spectator Sports","Entertainment Providers"],["2143","Racetracks","Entertainment Providers"],["40","Recreational Facilities","Entertainment Providers"],["2181","Skiing Facilities","Entertainment Providers"],["33","Spectator Sports","Entertainment Providers"],["2142","Sports Teams and Clubs","Entertainment Providers"],["2133","Theater Companies","Entertainment Providers"],["124","Wellness and Fitness Services","Entertainment Providers"],["2163","Zoos and Botanical Gardens","Entertainment Providers"],["201","Farming, Ranching, Forestry","Farming, Ranching, Forestry"],["63","Farming","Farming, Ranching, Forestry"],["66","Fisheries","Farming, Ranching, Forestry"],["298","Forestry and L
1ogging","Farming, Ranching, Forestry"],["150","Horticulture","Farming, Ranching, Forestry"],["64","Ranching","Farming, Ranching, Forestry"],["256","Ranching and Fisheries","Farming, Ranching, Forestry"],["43","Financial Services","Financial Services"],["41","Banking","Financial Services"],["129","Capital Markets","Financial Services"],["1738","Claims Adjusting, Actuarial Services","Financial Services"],["1673","Credit Intermediation","Financial Services"],["1742","Funds and Trusts","Financial Services"],["42","Insurance","Financial Services"],["1737","Insurance Agencies and Brokerages","Financial Services"],["1743","Insurance and Employee Benefit Funds","Financial Services"],["1725","Insurance Carriers","Financial Services"],["141","International Trade and Development","Financial Services"],["1720","Investment Advice","Financial Services"],["45","Investment Banking","Financial Services"],["46","Investment Management","Financial Services"],["1696","Loan Brokers","Financial Services"],["1745","Pension Funds","Financial Services"],["1678","Savings Institutions","Financial Services"],["1713","Securities and Commodity Exchanges","Financial Services"],["1750","Trusts and Estates","Financial Services"],["106","Venture Capital and Private Equity Principals","Financial Services"],["75","Government Administration","Government Administration"],["73","Administration of Justice","Government Administration"],["2366","Air, Water, and Waste Program Management","Government Administration"],["71","Armed Forces","Government Administration"],["2374","Community Development and Urban Planning","Government Administration"],["2368","Conservation Programs","Government Administration"],["3068","Correctional Institutions","Government Administration"],["3065","Courts of Law","Government Administration"],["2375","Economic Programs","Government Administration"],["69","Education Administration Programs","Government Administration"],["388","Environmental Quality Programs","Government Administration"],["76","Executive Offices","Government Administration"],["3070","Fire Protection","Government Administration"],["2353","Health and Human Services","Government Administration"],["2369","Housing and Community Development","Government Administration"],["3081","Housing Programs","Government Administration"],["74","International Affairs","Government Administration"],["77","Law Enforcement","Government Administration"],["72","Legislative Offices","Government Administration"],["2391","Military and International Affairs","Government Administration"],["2360","Public Assistance Programs","Government Administration"],["2358","Public Health","Government Administration"],["79","Public Policy Offices","Government Administration"],["78","Public Safety","Government Administration"],["3089","Space Research and Technology","Government Administration"],["3085","Transportation Programs","Government Administration"],["3086","Utilities Administration","Government Administration"],["1905","Holding Companies","Holding Companies"],["14","Hospitals and Health Care","Hospitals and Health Care"],["125","Alternative Medicine","Hospitals and Health Care"],["2077","Ambulance Services","Hospitals and Health Care"],["2128","Child Day Care Services","Hospitals and Health Care"],["2048","Chiropractors","Hospitals and Health Care"],["2115","Community Services","Hospitals and Health Care"],["2045","Dentists","Hospitals and Health Care"],["2122","Emergency and Relief Services","Hospitals and Health Care"],["2060","Family Planning Centers","Hospitals and Health Care"],["2074","Home Health Care Services","Hospitals and Health Care"],["2081","Hospitals","Hospitals and Health Care"],["88","Individual and Family Services","Hospitals and Health Care"],["2069","Medical and Diagnostic Laboratories","Hospitals and Health Care"],["13","Medical Practices","Hospitals and Health Care"],["139","Mental Health Care","Hospitals and Health Care"],["2091","Nursing Homes and Residential Care Facilities","Hospitals and Health Care"],["2050","Optometrists","Hospitals and Health Care"],["2063","Outpatient Care Centers","Hospitals and Health Care"],["2054","Physical, Occupational and Speech Therapists","Hospitals and Health Care"],["2040","Physicians","Hospitals and Health Care"],["2112","Services for the Elderly and Disabled","Hospitals and Health Care"],["2125","Vocational Rehabilitation Services","Hospitals and Health Care"],["25","Manufacturing","Manufacturing"],["799","Abrasives and Nonmetallic Minerals Manufacturing","Manufacturing"],["3245","Accessible Hardware Manufacturing","Manufacturing"],["709","Agricultural Chemical Manufacturing","Manufacturing"],["901","Agriculture, Construction, Mining Machinery Manufacturing","Manufacturing"],["3253","Alternative Fuel Vehicle Manufacturing","Manufacturing"],["481","Animal Feed Manufacturing","Manufacturing"],["598","Apparel Manufacturing","Manufacturing"],["112","Appliances, Electrical, and Electronics Manufacturing","Manufacturing"],["852","Architectural and Structural Metal Manufacturing","Manufacturing"],["703","Artificial Rubber and Synthetic Fiber Manufacturing","Manufacturing"],["973","Audio and Video Equipment Manufacturing","Manufacturing"],["147","Automation Machinery Manufacturing","Manufacturing"],["52","Aviation and Aerospace Component Manufacturing","Manufacturing"],["529","Baked Goods Manufacturing","Manufacturing"],["142","Beverage Manufacturing","Manufacturing"],["861","Boilers, Tanks, and Shipping Container Manufacturing","Manufacturing"],["562","Breweries","Manufacturing"],["54","Chemical Manufacturing","Manufacturing"],["690","Chemical Raw Materials Manufacturing","Manufacturing"],["773","Clay and Refractory Products Manufacturing","Manufacturing"],["3251","Climate Technology Product Manufacturing","Manufacturing"],["918","Commercial and Service Industry Machinery Manufacturing","Manufacturing"],["964","Communications Equipment Manufacturing","Manufacturing"],["3","Computer Hardware Manufacturing","Manufacturing"],["24","Computers and Electronics Manufacturing","Manufacturing"],["871","Construction Hardware Manufacturing","Manufacturing"],["849","Cutlery and Handtool Manufacturing","Manufacturing"],["65","Dairy Product Manufacturing","Manufacturing"],["1","Defense and Space Manufacturing","Manufacturing"],["564","Distilleries","Manufacturing"],["998","Electric
1Lighting Equipment Manufacturing","Manufacturing"],["2468","Electrical Equipment Manufacturing","Manufacturing"],["935","Engines and Power Transmission Equipment Manufacturing","Manufacturing"],["840","Fabricated Metal Products","Manufacturing"],["615","Fashion Accessories Manufacturing","Manufacturing"],["23","Food and Beverage Manufacturing","Manufacturing"],["622","Footwear Manufacturing","Manufacturing"],["504","Fruit and Vegetable Preserves Manufacturing","Manufacturing"],["3255","Fuel Cell Manufacturing","Manufacturing"],["26","Furniture and Home Furnishings Manufacturing","Manufacturing"],["779","Glass Product Manufacturing","Manufacturing"],["145","Glass, Ceramics and Concrete Manufacturing","Manufacturing"],["1080","Household and Institutional Furniture Manufacturing","Manufacturing"],["1005","Household Appliance Manufacturing","Manufacturing"],["923","HVAC and Refrigeration Equipment Manufacturing","Manufacturing"],["135","Industrial Machinery Manufacturing","Manufacturing"],["616","Leather Product Manufacturing","Manufacturing"],["794","Lime and Gypsum Products Manufacturing","Manufacturing"],["55","Machinery Manufacturing","Manufacturing"],["994","Magnetic and Optical Media Manufacturing","Manufacturing"],["1095","Mattress and Blinds Manufacturing","Manufacturing"],["983","Measuring and Control Instrument Manufacturing","Manufacturing"],["521","Meat Products Manufacturing","Manufacturing"],["17","Medical Equipment Manufacturing","Manufacturing"],["883","Metal Treatments","Manufacturing"],["887","Metal Valve, Ball, and Roller Manufacturing","Manufacturing"],["928","Metalworking Machinery Manufacturing","Manufacturing"],["53","Motor Vehicle Manufacturing","Manufacturing"],["1042","Motor Vehicle Parts Manufacturing","Manufacturing"],["1090","Office Furniture and Fixtures Manufacturing","Manufacturing"],["679","Oil and Coal Product Manufacturing","Manufacturing"],["146","Packaging and Containers Manufacturing","Manufacturing"],["722","Paint, Coating, and Adhesive Manufacturing","Manufacturing"],["61","Paper and Forest Product Manufacturing","Manufacturing"],["18","Personal Care Product Manufacturing","Manufacturing"],["15","Pharmaceutical Manufacturing","Manufacturing"],["743","Plastics and Rubber Product Manufacturing","Manufacturing"],["117","Plastics Manufacturing","Manufacturing"],["807","Primary Metal Manufacturing","Manufacturing"],["83","Printing Services","Manufacturing"],["62","Railroad Equipment Manufacturing","Manufacturing"],["3241","Renewable Energy Equipment Manufacturing","Manufacturing"],["144","Renewable Energy Semiconductor Manufacturing","Manufacturing"],["3247","Robot Manufacturing","Manufacturing"],["763","Rubber Products Manufacturing","Manufacturing"],["528","Seafood Product Manufacturing","Manufacturing"],["7","Semiconductor Manufacturing","Manufacturing"],["58","Shipbuilding","Manufacturing"],["3254","Smart Meter Manufacturing","Manufacturing"],["727","Soap and Cleaning Product Manufacturing","Manufacturing"],["20","Sporting Goods Manufacturing","Manufacturing"],["873","Spring and Wire Product Manufacturing","Manufacturing"],["495","Sugar and Confectionery Product Manufacturing","Manufacturing"],["60","Textile Manufacturing","Manufacturing"],["21","Tobacco Manufacturing","Manufacturing"],["1029","Transportation Equipment Manufacturing","Manufacturing"],["876","Turned Products and Fastener Manufacturing","Manufacturing"],["2500","Wineries","Manufacturing"],["625","Women's Handbag Manufacturing","Manufacturing"],["784","Wood Product Manufacturing","Manufacturing"],["332","Oil, Gas, and Mining","Oil, Gas, and Mining"],["341","Coal Mining","Oil, Gas, and Mining"],["345","Metal Ore Mining","Oil, Gas, and Mining"],["56","Mining","Oil, Gas, and Mining"],["3096","Natural Gas Extraction","Oil, Gas, and Mining"],["356","Nonmetallic Mineral Mining","Oil, Gas, and Mining"],["57","Oil and Gas","Oil, Gas, and Mining"],["3095","Oil Extraction","Oil, Gas, and Mining"],["1810","Professional Services","Professional Services"],["3246","Accessible Architecture and Design","Professional Services"],["47","Accounting","Professional Services"],["80","Advert
1ising Services","Professional Services"],["120","Alternative Dispute Resolution","Professional Services"],["50","Architecture and Planning","Professional Services"],["12","Biotechnology Research","Professional Services"],["11","Business Consulting and Services","Professional Services"],["118","Computer and Network Security","Professional Services"],["99","Design Services","Professional Services"],["3244","Digital Accessibility Services","Professional Services"],["3242","Engineering Services","Professional Services"],["86","Environmental Services","Professional Services"],["148","Government Relations Services","Professional Services"],["140","Graphic Design","Professional Services"],["137","Human Resources Services","Professional Services"],["3126","Interior Design","Professional Services"],["96","IT Services and IT Consulting","Professional Services"],["3102","IT System Custom Software Development","Professional Services"],["3106","IT System Data Services","Professional Services"],["1855","IT System Design Services","Professional Services"],["3104","IT System Installation and Disposal","Professional Services"],["3103","IT System Operations and Maintenance","Professional Services"],["3107","IT System Testing and Evaluation","Professional Services"],["3105","IT System Training and Support","Professional Services"],["9","Law Practice","Professional Services"],["10","Legal Services","Professional Services"],["97","Market Research","Professional Services"],["1862","Marketing Services","Professional Services"],["114","Nanotechnology Research","Professional Services"],["2401","Operations Consulting","Professional Services"],["123","Outsourcing and Offshoring Consulting","Professional Services"],["136","Photography","Professional Services"],["98","Public Relations and Communications Services","Professional Services"],["3256","Regenerative Design","Professional Services"],["70","Research Services","Professional Services"],["3248","Robotics Engineering","Professional Services"],["3243","Services for Renewable Energy","Professional Services"],["102","Strategic Management Services","Professional Services"],["3249","Surveying and Mapping Services","Professional Services"],["130","Think Tanks","Professional Services"],["16","Veterinary Services","Professional Services"],["1757","Real Estate and Equipment Rental Services","Real Estate and Equipment Rental Services"],["1798","Commercial and Industrial Equipment Rental","Real Estate and Equipment Rental Services"],["1786","Consumer Goods Rental","Real Estate and Equipment Rental Services"],["1779","Equipment Rental Services","Real Estate and Equipment Rental Services"],["128","Leasing Non-residential Real Estate","Real Estate and Equipment Rental Services"],["1759","Leasing Residential Real Estate","Real Estate and Equipment Rental Services"],["44","Real Estate","Real Estate and Equipment Rental Services"],["1770","Real Estate Agents and Brokers","Real Estate and Equipment Rental Services"],["27","Retail","Retail"],["1339","Food and Beverage Retail","Retail"],["1445","Online and Mail Order Retail","Retail"],["19","Retail Apparel and Fashion","Retail"],["1319","Retail Appliances, Electrical, and Electronic Equipment","Retail"],["3186","Retail Art Dealers","Retail"],["111","Retail Art Supplies","Retail"],["1409","Retail Books and Printed News","Retail"],["1324","Retail Building Materials and Garden Equipment","Retail"],["1423","Retail Florists","Retail"],["1309","Retail Furniture and Home Furnishings","Retail"],["1370","Retail Gasoline","Retail"],["22","Retail Groceries","Retail"],["1359","Retail Health and Personal Care Products","Retail"],["143","Retail Luxury Goods and Jewelry","Retail"],["1292","Retail Motor Vehicles","Retail"],["1407","Retail Musical Instruments","Retail"],["138","Retail Office Equipment","Retail"],["1424","Retail Office Supplies and Gifts","Retail"],["3250","Retail Pharmacies","Retail"],["1431","Retail Recyclable Materials & Used Merchandise","Retail"],["1594","Technology, Information and Media","Technology, Information and Media"],["127","Animation and Post-production","Technology, Information and Media"],["3134","Blockchain Services","Technology, Information and Media"],["3125","Blogs","Technology, Information and Media"],["82","Book and Periodical Publishing","Technology, Information and Media"],["1602","Book Publishing","Technology, Information and Media"],["36","Broadcast Media Production and Distribution","Technology, Information and Media"],["3129","Business Content","Technology, Information and Media"],["3128","Business Intelligence Platforms","Technology, Information and Media"],["1641","Cable and Satellite Programming","Technology, Information and Media"],["3252","Climate Data and Analytics","Technology, Information and Media"],["109","Computer Games","Technology, Information and Media"],["5","Computer Networking Products","Technology, Information and Media"],["2458","Data Infrastru
1cture and Analytics","Technology, Information and Media"],["3130","Data Security Software Products","Technology, Information and Media"],["3101","Desktop Computing Software Products","Technology, Information and Media"],["3099","Embedded Software Products","Technology, Information and Media"],["84","Information Services","Technology, Information and Media"],["1285","Internet Marketplace Platforms","Technology, Information and Media"],["3124","Internet News","Technology, Information and Media"],["3132","Internet Publishing","Technology, Information and Media"],["85","Libraries","Technology, Information and Media"],["3133","Media & Telecommunications","Technology, Information and Media"],["126","Media Production","Technology, Information and Media"],["3100","Mobile Computing Software Products","Technology, Information and Media"],["3131","Mobile Gaming Apps","Technology, Information and Media"],["1611","Movies and Sound Recording","Technology, Information and Media"],["35","Movies, Videos and Sound","Technology, Information and Media"],["81","Newspaper Publishing","Technology, Information and Media"],["113","Online Audio and Video Media","Technology, Information and Media"],["1600","Periodical Publishing","Technology, Information and Media"],["1633","Radio and Television Broadcasting","Technology, Information and Media"],["1649","Satellite Telecommunications","Technology, Information and Media"],["1625","Sheet Music Publishing","Technology, Information and Media"],["3127","Social Networking Platforms","Technology, Information and Media"],["4","Software Development","Technology, Information and Media"],["1623","Sound Recording","Technology, Information and Media"],["6","Technology, Information and Internet","Technology, Information and Media"],["8","Telecommunications","Technology, Information and Media"],["1644","Telecommunications Carriers","Technology, Information and Media"],["119","Wireless Services","Technology, Information and Media"],["116","Transportation, Logistics, Supply Chain and Storage","Transportation, Logistics, Supply Chain and Storage"],["94","Airlines and Aviation","Transportation, Logistics, Supply Chain and Storage"],["87","Freight and Package Transportation","Transportation, Logistics, Supply Chain and Storage"],["1495","Ground Passenger Transportation","Transportation, Logistics, Supply Chain and Storage"],["1504","Interurban and Rural Bus Services","Transportation, Logistics, Supply Chain and Storage"],["95","Maritime Transportation","Transportation, Logistics, Supply Chain and Storage"],["1520","Pipeline Transportation","Transportation, Logistics, Supply Chain and Storage"],["1573","Postal Services","Transportation, Logistics, Supply Chain and Storage"],["1481","Rail Transportation","Transportation, Logistics, Supply Chain and Storage"],["1512","School and Employee Bus Services","Transportation, Logistics, Supply Chain and Storage"],["1517","Shuttles and Special Needs Transportation Services","Transportation, Logistics, Supply Chain and Storage"],["1532","Sightseeing Transportation","Transportation, Logistics, Supply Chain and Storage"],["1505","Taxi and Limousine Services","Transportation, Logistics, Supply Chain and Storage"],["92","Truck Transportation","Transportation, Logistics, Supply Chain and Storage"],["1497","Urban Transit Services","Transportation, Logistics, Supply Chain and Storage"],["93","Warehousing and Storage","Transportation, Logistics, Supply Chain and Storage"],["59","Utilities","Utilities"],["390","Biomass Electric Power Generation","Utilities"],["383","Electric Power Generation","Utilities"],["382","Electric Power Transmission, Control, and Distribution","Utilities"],["385","Fossil Fuel Electric Power Generation","Utilities"],["389","Geothermal Electric Power Generation","Utilities"],["384","Hydroelectric Power Generation","Utilities"],["397","Natural Gas Distribution","Utilities"],["386","Nuclear Electric Power Generation","Utilities"],["3240","Renewable Energy Power Generation","Utilities"],["387","Solar Electric Power Generation","Utilities"],["404","Steam and Air-Conditioning Supply","Utilities"],["1981","Waste Collection","Utilities"],["1986","Waste Treatment and Disposal","Utilities"],["400","Water Supply and Irrigation Systems","Utilities"],["398","Water, Waste, Steam, and Air Conditioning Services","Utilities"],["2489","Wind Electric Power Generation","Utilities"],["133","Wholesale","Wholesale"],["1267","Wholesale Alcoholic Beverages","Wholesale"],["1222","Wholesale Apparel and Sewing Supplies","Wholesale"],["1171","Wholesale Appliances, Electrical, and Electronics","Wholesale"],["49","Wholesale Building Materials","Wholesale"],["1257","Wholesale Chemical and Allied Products","Wholesale"],["1157","Wholesale Computer Equipment","Wholesale"],["1221","Wholesale Drugs and Sundries","Wholesale"],["1231","Wholesale Food and Beverage","Wholesale"],["1230","Wholesale Footwear","Wholesale"],["1137","Wholesale Furniture and Home Furnishings","Wholesale"],["1178","Wholesale Hardware, Plumbing, Heating Equipment","Wholesale"],["134","Wholesale Import and Export","Wholesale"],["1208","Wholesale Luxury Goods and Jewelry","Wholesale"],["1187","Wholesale Machinery","Wholesale"],["1166","Wholesale Metals and Minerals","Wholesale"],["1128","Wholesale Motor Vehicles and Parts","Wholesale"],["1212","Wholesale Paper Products","Wholesale"],["1262","Wholesale Petroleum and Petroleum Products","Wholesale"],["1153","Wholesale Photography Equipment and Supplies","Wholesale"],["1250","Wholesale Raw Farm Products","Wholesale"],["1206","Wholesale Recyclable Materials","Wholesale"]].map(([e,n,a])=>({value:e,label:n,group:a}));Object.fromEntries(I.map(e=>[e.label.toLowerCase(),e.value])),Object.fromEntries(I.map(e=>[e.value,e.label]));var H=e.i(292282),L=e.i(342884);let G=e=>new Promise(n=>setTimeout(n,e)),B=[{label:"1-10",value:"A",sn:"1-10"},{label:"11-50",value:"B",sn:"11-50"},{label:"51-200",value:"C",sn:"51-200"},{label:"201-500",value:"D",sn:"201-500"},{label:"501-1,000",value:"E",sn:"501-1000"},{label:"1,001-5,000",value:"F",sn:"1001-5000"},{label:"5,001-10,000",value:"G",sn:"5001-10000"},{label:"10,001+",value:"H",sn:"10001+"}],W=[{label:"1-50",value:"1-50"},{label:"51-100",value:"51-100"},{label:"101-1,000",value:"101-1000"},{label:"1,001-5,000",value:"1001-5000"},{label:"5,001+",value:"5001+"}],_=[{label:"Senior leadership change (3mo)",value:"leadership-change"},{label:"Funding event (12mo)",value:"funding"}];function O(e){let n="string"==typeof e?e:e instanceof Error?e.message:"Search failed";return(0,M.friendlyLinkedInSessionError)(n)??n}function U({company:e,checked:i,onToggle:t,saveState:r,savedId:c,onSave:d}){var g;let h=[e.industry,e.location,null!=e.followerCount?`${(g=e.followerCount)>=1e6?`${(g/1e6).toFixed(1).replace(/\.0$/,"")}M`:g>=1e3?`${(g/1e3).toFixed(1).replace(/\.0$/,"")}
1K`:g.toLocaleString()} followers`:null].filter(Boolean);return(0,n.jsxs)("div",{className:"flex flex-wrap items-start gap-x-3 gap-y-2 px-4 py-3 hover:bg-muted/30 transition-colors",children:[(0,n.jsx)("div",{className:"pt-0.5 shrink-0",onClick:n=>{e.linkedin_url&&(n.stopPropagation(),t(n.shiftKey))},children:(0,n.jsx)(p.Checkbox,{checked:i,disabled:!e.linkedin_url,"aria-label":`Select ${e.name}`})}),(0,n.jsx)(C.CompanyLogo,{domain:null,companyName:e.name,logoUrl:e.image_url,size:"md",className:"shrink-0"}),(0,n.jsxs)("div",{className:"flex-1 min-w-0 basis-40",children:[(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("span",{className:"font-medium truncate",children:e.name}),e.linkedin_url&&(0,n.jsx)("a",{href:e.linkedin_url,target:"_blank",rel:"noreferrer",className:"text-muted-foreground hover:text-foreground transition-colors shrink-0","aria-label":"Open on LinkedIn",children:(0,n.jsx)(s.ExternalLink,{className:"size-3"})})]}),h.length>0&&(0,n.jsxs)("div",{className:"mt-0.5 flex items-center gap-1.5 text-xs text-muted-foreground",children:[null!=e.followerCount&&(0,n.jsx)(u.PeopleGroupIcon,{className:"size-3 shrink-0"}),(0,n.jsx)("span",{className:"truncate",children:h.join(" · ")})]}),e.description&&(0,n.jsx)("p",{className:"mt-1 text-xs text-muted-foreground line-clamp-2",children:e.description})]}),(0,n.jsx)("div",{className:"ml-auto shrink-0",children:"saved"===r&&c?(0,n.jsx)(m.Button,{size:"sm",variant:"ghost",asChild:!0,className:"gap-1.5 h-8 text-xs text-muted-foreground hover:text-foreground",children:(0,n.jsxs)(a.default,{href:`/companies/${c}`,title:"View company in Everything",children:[(0,n.jsx)(l.Check,{className:"size-3.5"})," Added",(0,n.jsx)(o.ArrowUpRight,{className:"size-3.5 opacity-60"})]})}):"saved"===r?(0,n.jsxs)(m.Button,{size:"sm",variant:"ghost",disabled:!0,className:"gap-1.5 h-8 text-xs text-muted-foreground",children:[(0,n.jsx)(l.Check,{className:"size-3.5"})," Added"]}):(0,n.jsxs)(m.Button,{size:"sm",onClick:d,disabled:"saving"===r||!e.linkedin_url,className:"gap-1.5 h-8 text-xs bg-[#A6BFD0] text-white hover:bg-[#95B0C3] dark:bg-[#7AC8F0] dark:text-blue-950 dark:hover:bg-[#5BB8E8]",children:["saving"===r&&(0,n.jsx)(k.ButtonSpinner,{}),(0,n.jsx)(k.ShimmerLabel,{active:"saving"===r,children:"Add"})]})})]})}e.s(["CompanySearchView",0,function({hideHeader:e=!1}={}){let[a,s]=(0,i.useState)(""),[o,l]=(0,i.useState)(!1),[u,M]=(0,i.useState)(!1),[C,N]=(0,i.useState)(null),[D,q]=(0,i.useState)(!1),[z,V]=(0,i.useState)([]),[$,J]=(0,i.useState)(null),[K,Z]=(0,i.useState)({}),[Q,X]=(0,i.useState)({}),[Y,ee]=(0,i.useState)(new Set),[en,ea]=(0,i.useState)(!1),ei=(0,i.useRef)(null),[et,er]=(0,i.useState)([]),[es,eo]=(0,i.useState)(""),[el,ec]=(0,i.useState)([]),[eu,ed]=(0,i.useState)(!1),[em,eg]=(0,i.useState)(!1),eh=(0,i.useRef)(null),[ep,ef]=(0,i.useState)([]),[ev,eS]=(0,i.useState)([]),{salesNavUsable:eM,salesNavVia:ex}=(0,v.useSearchCapabilities)(),[ey,eC]=(0,i.useState)([]),[eP,eb]=(0,i.useState)([]),[eE,eA]=(0,i.useState)(!1),[eT,ek]=(0,i.useState)(""),[ej,eR]=(0,i.useState)(""),[ew,eN]=(0,i.useState)(""),[eF,eI]=(0,i.useState)(""),[eH,eL]=(0,i.useState)(null),[eG,eB]=(0,i.useState)(!1),eW=(0,i.useRef)(0),[e_,eO]=(0,i.useState)(!1),eU=!!(eT.trim()||ej.trim()),eD=!!(ew.trim()||eF.trim()),eq=et.length>0||ep.length>0||ev.length>0||ey.length>0||eP.length>0||eE||eU||eD,ez=et.length+ep.length+ev.length+ey.length+eP.length+ +!!eE+ +!!eU+ +!!eD,eV=JSON.stringify([a.trim(),et.map(e=>e.geoId),ep,ev,ey,eP,eE,eT.trim(),ej.trim(),ew.trim(),eF.trim(),eM,ex]),{markRan:e$,skipNextChange:eJ}=(0,w.useAutoSearch)({signature:eV,enabled:!!a.trim()||eq,run:()=>void ni()}),eK=(0,T.useSearchPreview)(a,async e=>{let n=await (0,E.sendExtensionMessage)({action:"linkedin_company_search",keywords:e,start:0,count:T.PREVIEW_COUNT});return(n?.results??[]).filter(e=>!!e.name).slice(0,T.PREVIEW_COUNT).map(e=>({key:e.linkedin_url||e.company_urn||e.name,imageUrl:e.image_url,title:e.name,subtitle:[e.industry,e.location].filter(Boolean).join(" · ")||null,data:e}))}),eZ=(0,T.usePreviewDismissRef)(eK.setOpen);function eQ(e){let n=e.data;eJ(),s(n.name),eK.clear(n.name),q(!0),V([n]),J(null),N(null),ee(new Set),Z({}),X({}),eB(!1),na([n])}let{searches:eX,save:eY,remove:e0,rename:e1}=(0,A.useSavedSearches)("company-search"),[e2,e3]=(0,i.useState)(!1),e5=null!==$&&z.length<$&&!eG,e4=(0,i.useMemo)(()=>z.map(e=>e.linkedin_url).filter(e=>!!e),[z]),e8=e4.length>0&&Y.size===e4.length,e9=Y.size>0&&!e8,e6=Y.size;function e7(e,n){let a=Number.parseInt(e,10),i=Number.parseInt(n,10),t={};return Number.isFinite(a)&&(t.min=a),Number.isFinite(i)&&(t.max=i),void 0===t.min&&void 0===t.max?null:t}async function ne(e){let n=e7(eT,ej),i=e7(ew,eF);if(eM){let t=B.filter(e=>ep.includes(e.value)).map(e=>e.sn),r={...et.length?{geo:et.map(e=>e.geoId)}:{},...t.length?{companyHeadcount:t}:{},...ev.length?{industry:ev}:{},...ey.length?{followers:ey}:{},...eP.length?{accountActivities:eP}:{},...eE?{jobOpportunities:["hiring"]}:{},...n?{headcountGrowth:n}:{},...i?{revenue:{...i,unit:"USD"}}:{}},s={geoUrn:et.map(e=>`urn:li:geo:${e.geoId}`),companySize:ep,industry:ev};if("local"===ex)return(0,E.sendExtensionMessage)({action:"linkedin_company_
1search",engine:"auto",keywords:a.trim(),start:e,count:25,filtersByEngine:{salesnav:r,linkedin:s}});if("pool"===ex){let n=await (0,S.runPooledSalesNavSearch)({searchType:"salesnav_companies",keywords:a.trim(),filters:r,start:e,count:25});if(!n.unclaimed&&!n.error)return{results:n.results,total:n.total,consumed:n.consumed,source:"salesnav",engineUsed:"salesnav"}}}return(0,E.sendExtensionMessage)({action:"linkedin_company_search",engine:"linkedin",keywords:a.trim(),start:e,count:25,filters:{geoUrn:et.map(e=>`urn:li:geo:${e.geoId}`),companySize:ep,industry:ev}})}function nn(e){let n=e.universalName||e.linkedin_url?.match(/\/company\/([^/?#]+)/i)?.[1]||null;return n?n.trim().toLowerCase():null}async function na(e){let n=e.filter(e=>e.linkedin_url);if(0!==n.length)try{let e=n.map(e=>e.company_urn).filter(e=>!!e),a=n.map(nn).filter(e=>!!e),i=await fetch("/api/companies/known-linkedin",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({urns:e,universalNames:a})});if(!i.ok)return;let t=await i.json(),r=t.idByUrn??{},s=t.idByUniversalName??{},o={},l=[];for(let e of n){let n=nn(e),a=e.company_urn&&r[e.company_urn]||n&&s[n]||void 0;a&&(l.push(e.linkedin_url),o[e.linkedin_url]=a)}l.length>0&&(Z(e=>{let n={...e};for(let e of l)n[e]="saved";return n}),X(e=>({...e,...o})))}catch{}}async function ni(){if(a.trim()||eq){e$(),eK.clear(),l(!0),N(null),q(!0),V([]),J(null),Z({}),X({}),eB(!1),ee(new Set);try{eW.current=0;let e=await ne(0);if(e?.error)N(O(e.error));else{let n=Array.isArray(e?.results)?e.results:[];eW.current=(0,b.advanceStart)(0,e,n.length),eL(e?.engineUsed??null),V(n),J("number"==typeof e?.total?e.total:null),na(n)}}catch(e){N(O(e))}finally{l(!1)}}}async function nt(){M(!0);try{let e=await ne(eW.current);if(e?.error)return void N(O(e.error));let n=Array.isArray(e?.results)?e.results:[];eW.current=(0,b.advanceStart)(eW.current,e,n.length);let a=new Set(z.map(e=>e.linkedin_url)),i=n.filter(e=>e.linkedin_url&&!a.has(e.linkedin_url));0===i.length&&eB(!0),V(e=>[...e,...i]),na(i)}catch(e){N(O(e))}finally{M(!1)}}async function nr(e){if(!e.linkedin_url)return;let n=e.linkedin_url;Z(e=>({...e,[n]:"saving"}));try{let a=await fetch("/api/companies/quick-add-linkedin",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({linkedinUrl:e.linkedin_url,name:e.name,industry:e.industry,employees:e.employees,location:e.location,pictureUrl:e.image_url,companyUrn:e.company_urn})});if(a.ok){Z(e=>({...e,[n]:"saved"}));let e=await a.json().catch(()=>({}));e.companyId&&X(a=>({...a,[n]:e.companyId}))}else Z(e=>{let a={...e};return delete a[n],a})}catch{Z(e=>{let a={...e};return delete a[n],a})}}async function ns(){let e=z.filter(e=>e.linkedin_url&&Y.has(e.linkedin_url)&&"saved"!==K[e.linkedin_url]);if(0!==e.length){ea(!0);for(let n=0;n<e.length;n++)await nr(e[n]),n<e.length-1&&await G(150);ea(!1)}}(0,i.useEffect)(()=>{let e=es.trim();if(!e||e.length<2){ec([]),eg(!1);return}ed(!0);let n=setTimeout(async()=>{try{let n=await (0,E.sendExtensionMessage)({action:"linkedin_geo_search",query:e},8e3);Array.isArray(n?.geos)&&(ec(n.geos.filter(e=>e?.name&&e?.geoId!=null).slice(0,8).map(e=>({name:e.name,geoId:String(e.geoId)}))),eg(!0))}catch{}finally{ed(!1)}},300);return()=>clearTimeout(n)},[es]),(0,i.useEffect)(()=>{function e(e){eh.current&&!eh.current.contains(e.target)&&eg(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,i.useEffect)(()=>{e_&&(eO(!1),ni())},[e_]);let no=(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"rounded-xl bg-muted/40 border border-border/30 p-2.5 space-y-2 text-sm",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between px-0.5",children:[(0,n.jsx)("h3",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted-foreground",children:"Filters"}),eq&&(0,n.jsx)("button",{type:"button",onClick:function(){er([]),eo(""),ec([]),ef([]),eS([]),eC([]),eb([]),eA(!1),ek(""),eR(""),eN(""),eI("")},className:"text-[11px] text-muted-foreground hover:text-foreground transition-colors",children:"Clear all"})]}),(0,n.jsx)(R.FilterSection,{label:"Location",activeCount:et.length,children:(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsxs)("div",{className:"relative",ref:eh,children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{value:es,onChange:e=>eo(e.target.value),onFocus:()=>el.length>0&&eg(!0),placeholder:"Add locationâ¦","data-slot":"input",className:(0,P.cn)(R.FILTER_INPUT_CLASS,eu&&"pr-7")}
1),eu&&(0,n.jsx)(r.Loader2,{className:"absolute right-2 top-1/2 -translate-y-1/2 h-3 w-3 animate-spin text-muted-foreground"})]}),em&&el.length>0&&(0,n.jsx)("div",{className:"absolute left-0 right-0 top-full mt-1 z-50 rounded-md border bg-popover shadow-lg py-1",children:el.map(e=>(0,n.jsx)("button",{className:"w-full text-left text-xs px-3 py-1.5 hover:bg-accent hover:text-accent-foreground transition-colors truncate",onClick:()=>{!et.some(n=>n.geoId===e.geoId)&&er(n=>[...n,e]),eo(""),ec([]),eg(!1)},children:e.name},e.geoId))})]}),et.map(e=>(0,n.jsxs)("div",{className:"flex items-center gap-1 rounded-md bg-muted/50 px-2 py-1 text-xs",children:[(0,n.jsx)("span",{className:"flex-1 truncate text-muted-foreground",children:e.name}),(0,n.jsx)("button",{onClick:()=>{var n;return n=e.geoId,void er(e=>e.filter(e=>e.geoId!==n))},className:"shrink-0 text-muted-foreground hover:text-foreground transition-colors","aria-label":`Remove ${e.name}`,children:(0,n.jsx)(c.X,{className:"size-3"})})]},e.geoId))]})}),(0,n.jsx)(R.FilterSection,{label:"Industry",activeCount:ev.length,children:(0,n.jsx)(F,{options:I,selected:ev,onToggle:function(e){eS(n=>n.includes(e)?n.filter(n=>n!==e):[...n,e])},placeholder:"Search industriesâ¦",idPrefix:"industry"})}),(0,n.jsx)(R.FilterSection,{label:"Employee count",activeCount:ep.length,children:(0,n.jsx)("div",{className:"flex flex-col gap-1.5",children:B.map(({label:e,value:a})=>(0,n.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,n.jsx)(p.Checkbox,{checked:ep.includes(a),onCheckedChange:()=>{ef(e=>e.includes(a)?e.filter(e=>e!==a):[...e,a])},id:`size-${a}`}),(0,n.jsx)("span",{className:"text-[13px] leading-tight",children:e})]},a))})}),eM&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(R.FilterSection,{label:"Headcount growth",activeCount:+!!eT+ +!!ej,children:(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("input",{value:eT,onChange:e=>ek(e.target.value),inputMode:"numeric",placeholder:"Min %","data-slot":"input",className:R.FILTER_INPUT_CLASS}),(0,n.jsx)("span",{className:"text-[11px] text-muted-foreground",children:"to"}),(0,n.jsx)("input",{value:ej,onChange:e=>eR(e.target.value),inputMode:"numeric",placeholder:"Max %","data-slot":"input",className:R.FILTER_INPUT_CLASS})]})}),(0,n.jsx)(R.FilterSection,{label:"Annual revenue (USD millions)",activeCount:+!!ew+ +!!eF,children:(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("input",{value:ew,onChange:e=>eN(e.target.value),inputMode:"numeric",placeholder:"Min","data-slot":"input",className:R.FILTER_INPUT_CLASS}),(0,n.jsx)("span",{className:"text-[11px] text-muted-foreground",children:"to"}),(0,n.jsx)("input",{value:eF,onChange:e=>eI(e.target.value),inputMode:"numeric",placeholder:"Max","data-slot":"input",className:R.FILTER_INPUT_CLASS})]})}),(0,n.jsx)(R.FilterSection,{label:"Followers",activeCount:ey.length,children:(0,n.jsx)("div",{className:"flex flex-col gap-1.5",children:W.map(({label:e,value:a})=>(0,n.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,n.jsx)(p.Checkbox,{checked:ey.includes(a),onCheckedChange:()=>eC(e=>e.includes(a)?e.filter(e=>e!==a):[...e,a]),id:`fol-${a}`}),(0,n.jsx)("span",{className:"text-[13px] leading-tight",children:e})]},a))})}),(0,n.jsx)(R.FilterSection,{label:"Signals",activeCount:+!!eE+eP.length,children:(0,n.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,n.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,n.jsx)(p.Checkbox,{checked:eE,onCheckedChange:()=>eA(e=>!e),id:"sn-hiring"}),(0,n.jsx)("span",{className:"text-[13px] leading-tight",children:"Hiring on LinkedIn"})]}),_.map(({label:e,value:a})=>(0,n.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,n.jsx)(p.Checkbox,{checked:eP.includes(a),onCheckedChange:()=>eb(e=>e.includes(a)?e.filter(e=>e!==a):[...e,a]),id:`act-${a}`}),(0,n.jsx)("span",{className:"text-[13px] leading-tight",children:e})]},a))]})})]})]})});return(0,n.jsxs)("div",{className:"space-y-6 pt-3 sm:pt-0",children:[!e&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"page-title text-[26px] sm:text-3xl font-bold tracking-tight",children:"Company Search"}),(0,n.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:"Find companies on
1LinkedIn and add them to your workspace."})]}),(0,n.jsxs)("div",{className:"@container/prospect flex gap-4 items-start",children:[(0,n.jsx)("div",{className:"hidden w-[240px] shrink-0 space-y-2 @[680px]/prospect:block",children:no}),(0,n.jsx)(y.Sheet,{open:e2,onOpenChange:e3,children:(0,n.jsxs)(y.SheetContent,{side:"left",className:"flex w-[320px] max-w-[85vw] flex-col gap-0 p-0",children:[(0,n.jsx)(y.SheetTitle,{className:"sr-only",children:"Filters"}),(0,n.jsx)("div",{className:"flex-1 space-y-2 overflow-y-auto p-4",children:no}),(0,n.jsx)("div",{className:"border-t border-border/40 p-3",children:(0,n.jsx)(m.Button,{className:"w-full",onClick:()=>{e3(!1),ni()},disabled:o||!a.trim()&&!eq,children:"Show results"})})]})}),(0,n.jsxs)("div",{className:"flex-1 min-w-0 space-y-4",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2 min-w-0",children:[(0,n.jsx)(y.Sheet,{open:e2,onOpenChange:e3,children:(0,n.jsx)(y.SheetTrigger,{asChild:!0,children:(0,n.jsx)(f.FiltersButton,{count:ez,className:"@[680px]/prospect:hidden"})})}),(0,n.jsxs)("div",{className:"relative w-full min-w-0 flex-1 sm:w-[300px] sm:flex-initial",ref:eZ,children:[(0,n.jsx)(x.SearchInput,{value:a,onChange:s,onKeyDown:e=>{(0,T.handlePreviewKeyDown)(e,eK,eQ)||"Enter"===e.key&&ni()},onFocus:()=>{eK.items.length>0&&eK.setOpen(!0)},placeholder:"Search companies by name or industryâ¦",size:"sm",className:"w-full"}),eK.loading&&(0,n.jsx)(r.Loader2,{className:"pointer-events-none absolute right-9 top-1/2 size-3.5 -translate-y-1/2 animate-spin text-muted-foreground"}),(0,n.jsx)(T.SearchPreviewDropdown,{preview:eK,keyword:a,onPick:eQ,onFullSearch:()=>void ni()})]}),(0,n.jsx)(A.SavedSearchesMenu,{searches:eX,onLoad:function(e){s(e.state.keyword),er(e.state.geoFilters??[]),ef(e.state.sizeFilter??[]),eS(e.state.industryFilter??[]),eC(e.state.followerFilter??[]),eb(e.state.activityFilter??[]),eA(e.state.hiringOnly??!1),ek(e.state.growthMin??""),eR(e.state.growthMax??""),eN(e.state.revenueMin??""),eI(e.state.revenueMax??""),eO(!0)},onDelete:e0,onRename:e1,onSave:function(e){eY(e,{keyword:a,geoFilters:et,sizeFilter:ep,industryFilter:ev,followerFilter:ey,activityFilter:eP,hiringOnly:eE,growthMin:eT,growthMax:ej,revenueMin:ew,revenueMax:eF})},canSave:!!a.trim()||eq})]}),C&&(0,n.jsx)(g.SearchErrorNotice,{error:C,context:{surface:"Company search",query:a}}),o&&0===z.length&&!C&&(0,n.jsx)(j.ProspectResultsSkeleton,{state:"loading"}),!o&&D&&!C&&0===z.length&&(0,n.jsx)(h.Card,{children:(0,n.jsxs)(h.CardContent,{className:"flex flex-col items-center justify-center py-16 text-center",children:[(0,n.jsx)(t.Search,{className:"h-12 w-12 text-muted-foreground/50"}),(0,n.jsx)("h3",{className:"mt-4 text-lg font-semibold",children:"No results"}),(0,n.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:["Try different keywords",eq?" or adjust your filters":"","."]})]})}),!D&&(0,n.jsx)(j.ProspectResultsSkeleton,{state:"idle",hint:{title:"Search companies on LinkedIn",description:"Enter a company name or industry to discover and add organizations."}}),z.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground px-1",children:[(0,n.jsxs)("span",{children:["Showing ",z.length,null!==$?` of ${$.toLocaleString()}`:""," results"]}),eM&&eH&&(0,n.jsx)("span",{children:"salesnav"===eH?"via Sales Navigator":"via LinkedIn search"})]}),(0,n.jsxs)("div",{className:"rounded-lg border border-border/50 overflow-hidden",children:[(0,n.jsxs)("div",{className:"flex items-center gap-3 px-4 py-2 border-b bg-muted/30 text-xs text-muted-foreground",children:[(0,n.jsx)(p.Checkbox,{checked:!!e8||!!e9&&"indeterminate",onCheckedChange:function(){ee(e=>e.size===e4.length?new Set:new Set(e4))},"aria-label":"Select all"}),(0,n.jsx)("span",{children:"Select all on page"})]}),(0,n.jsx)("div",{className:"divide-y divide-border/50",children:z.map(e=>(0,n.jsx)(U,{company:e,checked:!!e.linkedin_url&&Y.has(e.linkedin_url),onToggle:n=>{var a;return e.linkedin_url&&(a=e.linkedin_url,void(ee(e=>(0,d.applyRangeToggle)(e,a,e4,ei.current,n)),ei.current=a))},saveState:e.linkedin_url?K[e.linkedin_url]:void 0,savedId:e.linkedin_url?Q[e.linkedin_url]:void 0,onSave:()=>nr(e)},e.linkedin_url??e.name))})]}),e5&&(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:nt,disabled:u,className:"gap-1.5",children:[u&&(0,n.jsx)(k.ButtonSpinner,{}),(0,n.jsx)(k.ShimmerLabel,{active:u,children:"Load more"})]})})]})]})]}),(0,n.jsx)(H.BulkActionBar,{count:e6,onClear:()=>ee(new Set),noun:"company",pluralNoun:"companies",actions:[],children:(0,n.jsx)(L.ToolbarTip,{label:"Add the selected companies to Everything",children:(0,n.jsxs)(m.Button,{size:"sm",className:"gap-1.5 bg-[#A6BFD0] text-white hover:bg-[#95B0C3] dar
1k:bg-[#7AC8F0] dark:text-blue-950 dark:hover:bg-[#5BB8E8]",onClick:ns,disabled:en,children:[en&&(0,n.jsx)(k.ButtonSpinner,{}),(0,n.jsx)(k.ShimmerLabel,{active:en,children:"Add to Everything"})]})})})]})}],888064)}]);
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.