1import{c as F,r as u,j as e,L as M,X as B}from"./index-DHSMMgQP.js";import{B as i}from"./button-BeDbJ6T4.js";import{C as T,c as R}from"./card-SmBWIJ6J.js";import{B as d}from"./badge-D6fetf0E.js";import{S as D,a as A,b as k,c as E,d as m}from"./select-Cbv6k_OL.js";import{M as H}from"./MultiSelect-b7jbOlFo.js";import{A as I}from"./arrow-left-LNDHISHj.js";import{S}from"./star-sMKsDT_a.js";import{G as C}from"./globe-I870spHq.js";import{F as V}from"./filter-Dzm2QSIU.js";import{M as j}from"./mail-BEoBOvDe.js";import{M as L}from"./map-pin-CN2GQ7Cg.js";import{P as $}from"./phone-DWEz2I38.js";import{W as K}from"./warehouse-D4LXRxR1.js";import{E as U}from"./external-link-CWNuSUBe.js";import"./index-CVsHSYzX.js";import"./index-Dp4vWfqQ.js";import"./index-DUWHinBq.js";import"./chevron-down-fIbqdpIG.js";import"./chevron-up-BWc9ZWPf.js";import"./check-BAqgBbKk.js";import"./search-B0peVaqQ.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const X=F("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]),x=[{id:"ja-7sun-pl",firma:"7SUN",land:"Polen",countryCode:"PL",type:"Distributor/Wholesaler",coverage:["Polen","Europa"],languages:["Polnisch","Englisch"],panelBrands:["JA Solar","Q CELLS","Trina Solar","Hyundai","Jolywood","LONGi","Hega Tech"],inverterBrands:["SMA","Fronius","Sungrow","Tigo","SolarEdge","Growatt","GoodWe","SOFARSOLAR","Huawei","Fox ESS"],storageBrands:["Tigo","BYD","SolarEdge","Growatt","SOFARSOLAR","Huawei","Pylontech","Deye","Sunnic"],telefon:"+48 534 991 991",email:"[email protected]",website:"https://7sun.eu",ort:"Polen",status:"Autorisierter Distributor",region:"Osteuropa"},{id:"ja-atmosfera-polska-pl",firma:"Atmosfera Polska Sp. z o.o.",land:"Polen",countryCode:"PL",type:"Distributor/Wholesaler",coverage:["Europa"],established:"2014",languages:["Polnisch","Englisch","Deutsch","Ukrainisch"],panelBrands:["JA Solar","LONGi","Jinko Solar","Trina Solar"],inverterBrands:["Growatt","Sigenergy","Sungrow"],storageBrands:["Sigenergy","Sungrow"],telefon:"+380 633 288 853",email:"[email protected]",website:"https://www.enfsolar.com/atmosfera-polska",ort:"Polen",warehouseLocations:["Slowenien","Niederlande","Polen","Deutschland"],status:"Europäischer GroÃhändler seit 2014",specialties:["Eigene Lager in 4 Ländern","Schnelle Lieferung","360° Support"],region:"Osteuropa"},{id:"ja-pv-met-pl",firma:"PV-MET Sp. z o.o.",land:"Polen",countryCode:"PL",type:"Distributor",coverage:["Polen","Europa"],languages:["Polnisch","Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],mountingBrands:["Montagesysteme","Dachhaken","Schienen","Modulklemmen"],email:"[email protected]",website:"https://pv-met.pl/en/",ort:"Polen",status:"Autorisierter Distributor seit 2021",specialties:["Montagesysteme","Komponenten-Spezialist"],region:"Osteuropa"},{id:"ja-3energy-pl",firma:"3Energy Sp. z o.o.",land:"Polen",countryCode:"PL",type:"Distributor",coverage:["Polen"],languages:["Polnisch","Englisch"],panelBrands:["Q CELLS","JA Solar","Trina Solar","Canadian Solar","Jinko Solar","LONGi"],inverterBrands:["Fronius","SolarEdge","Growatt","GoodWe","SOFARSOLAR","Huawei","Deye","Fox ESS","Avrii"],storageBrands:["SolarEdge","Growatt","GoodWe","SOFARSOLAR","Huawei","Deye","Fox ESS"],telefon:"+48 575 501 001",website:"https://3energy.com.pl",adresse:"LiÅciasta 17",plz:"91-357",ort:"Åódź",status:"Autorisierter Distributor",region:"Osteuropa"},{id:"ja-free-energy-pl",firma:"Free Energy",land:"Polen",countryCode:"PL",type:"Distributor/Wholesaler",coverage:["Deutschland","Estland","Spanien","Frankreich","Polen"],languages:["Polnisch","Englisch","Deutsch"],panelBrands:["JA Solar","Astronergy"],inverterBrands:[],storageBrands:[],website:"https://www.enfsolar.com/free-energy-5",ort:"Polen",status:"Multi-Country Distributor",region:"Osteuropa"},{id:"ja-energynat-pl",firma:"Energynat Sp. z o.o.",land:"Polen",countryCode:"PL",type:"Distributor",coverage:["Polen","Europa"],languages:["Polnisch","Englisch"],panelBrands:["JA Solar","Jinko Solar","Astronergy"],inverterBrands:[],storageBrands:[],telefon:"+48 22 245 40 64",email:"[email protected]",website:"https://energynat.trade",adresse:"Tadeusza KoÅciuszki 40A",plz:"05-270",ort:"Warszawa",warehouseLocations:["Polen","Niederlande"],notes:"230+ MW JA Solar Module geliefert 2023 (Jinko Solar)",region:"Osteuropa"},{id:"ja-osw-pl",firma:"One Stop Warehouse (OSW)",land:"Polen",countryCode:"PL",type:"Wholesaler",coverage:["Polen","Global"],languages:["Polnisch","Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],website:"https://www.jasolar.com",ort:"Polen",status:"1 GW globales Distributionsabkommen",notes:"JA Solar und OSW haben 2023 ein 1 GW PV-Modul-Distributionsabkommen unterzeichnet",region:"Osteuropa"},{id:"ja-raylyst-cz",firma:"Raylyst Solar s.r.o.",land:"Tschechische Republik",countryCode:"CZ",type:"Distributor/Wholesaler",coverage:["Europa"],languages:["Tschechisch","Englisch","Deutsch"],panelBrands:["JA Solar","DAH Solar","LONGi"],inverterBrands:["Huawei"],storageBrands:["Huawei LUNA2000"],website:"https://www.enfsolar.com/raylyst-solar",ort:"Tschechische Republik",warehouseLocations:["Kladno (CZ)","Rotterdam (NL)","Koper (SI)"],status:"Offizieller Distributor",specialties:["Strategische Lagerstandorte in Europa","Komplette Logistik","Technischer Support"],region:"Osteuropa",gold:!0},{id:"ja-solarity-cz",firma:"Solarity s.r.o.",land:"Tschechische Republik",countryCode:"CZ",type:"Distributor/Wholesaler",coverage:["Europa","Naher Osten","Afrika","Südamerika","50+ Länder"],languages:["Tschechisch","Deutsch","Englisch","Spanisch","Französisch","Polnisch","Rumänisch","Ukrainisch"],panelBrands:["JA Solar"],inverterBrands:["SMA","Fronius","Victron Energy","KACO","Tigo","SolarEdge","FIMER","SolaX","Huawei","Deye"],storageBrands:["SMA","Victron Energy","Tigo","SolarEdge","SolaX","Huawei","Pylontech","Deye"],telefon:"+420 222 362 422",email:"[email protected]",website:"https://solarity.eu",adresse:"PurkyÅova 74/2",plz:"110 00",ort:"Praha 1",status:"Offizieller Distributor",specialties:["50+ Länder Abdeckung","Multi-Language Support","On/Off-Grid Systeme"],region:"Osteuropa",gold:!0},{id:"ja-rebor-nl",firma:"Rebor B.V.",land:"Niederlande",countryCode:"NL",type:"Distributor/Wholesaler",coverage:["Niederlande","Europa"],established:"2007",languages:["Niederländisch","Englisch","Deutsch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],telefon:"+31 (0)20-786 4437",email:"[email protected]",website:"https://www.shop-rebor.com",adresse:"Beethovenstraat 339",plz:"1083 HK",ort:"Amsterdam",status:"Offizieller Distributor",specialties:["17+ Jahre Erfahrung","Tier-1 Qualität","EU-Lieferung"],notes:"KvK: 14091885, BTW: NL817213715B02",region:"Benelux",gold:!0},{id:"ja-e2c-nl",firma:"E2C B.V.",land:"Niederlande",countryCode:"NL",type:"Distributor/Wholesaler",coverage:["Europa"],languages:["Englisch","Niederländisch"],panelBrands:["JA Solar","Fuzhou Energy Optimal"],inverterBrands:["Growatt","Hoymiles","Deye"],storageBrands:["Growatt","Deye"],mountingBrands:["Hopergy"],otherBrands:["Hoymiles Monitoring"],telefon:"+31 103 229 002",email:"[email protected]",website:"https://www.e2c-energy.com",adresse:"Aploniastraat 33",plz:"3084 CC",ort:"Rotterdam",status:"Distributor/Wholesaler",region:"Benelux"},{id:"ja-ecorus-nl",firma:"Ecorus (Partner)",land:"Niederlande",countryCode:"NL",type:"Wholesaler",coverage:["Niederlande"],languages:["Niederländisch","Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],website:"https://www.altenergymag.com",ort:"Niederlande",notes:"JA Solar lieferte 103,5 MWp für Fledderbosch PV-Kraftwerk; stabile Partnerschaft",region:"Benelux"},{id:"ja-gpc-europe-be",firma:"GPC Europe BV",land:"Belgien",countryCode:"BE",type:"Distributor/Wholesaler",coverage:["Belgien","Europa"],established:"2005",languages:["Englisch","Französisch","Niederländisch"],panelBrands:["Meyer Burger","BISOL","JA Solar","Trina Solar","Hyundai","Jinko Solar","LONGi","Phono Solar"],inverterBrands:["SMA","Sungrow","Enphase","SolarEdge","GoodWe","Solis","SolaX","Huawei"],storageBrands:["Sungrow","BYD","SolarEdge","LG Chem","GoodWe","Pylontech"],telefon:"+32 53 892 500",website:"https://gpceurope.be",adresse:"Bedrijventerrein Huffeseele, Careelstraat 2",plz:"8700",ort:"Tielt",certifications:["Top Brand PV Award"],status:"Etablierter Distributor seit 2005",regi
6on:"Benelux",gold:!0},{id:"ja-wccsolar-es",firma:"WccSolar - PlusEnergy Solar S.L.",land:"Spanien",countryCode:"ES",type:"Distributor/Wholesaler",coverage:["Deutschland","Spanien","Italien","Portugal"],established:"2010",languages:["Spanisch","Englisch","Deutsch"],panelBrands:["JA Solar","Ulica Solar"],inverterBrands:[],storageBrands:[],website:"https://www.enfsolar.com/wccsolar",ort:"Spanien",status:"Multi-Country Distributor",region:"Südeuropa"},{id:"ja-almacen-fotovoltaico-es",firma:"El Almacén Fotovoltaico",land:"Spanien",countryCode:"ES",type:"Wholesaler",coverage:["Spanien","International"],languages:["Spanisch","Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],website:"https://elalmacenfotovoltaico.com",ort:"Spanien",notes:"JA Solar verkauft in Frankreich, Deutschland, Israel, Südkorea, Japan, u.a.",region:"Südeuropa"},{id:"ja-ceijo-import-es",firma:"Ceijo Import S.L.",land:"Spanien",countryCode:"ES",type:"Distributor",coverage:["Spanien"],languages:["Spanisch","Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],website:"https://www.enfsolar.com/ceijo-import",ort:"Spanien",status:"Importeur und Distributor",region:"Südeuropa"},{id:"ja-solar-distribution-fr",firma:"Solar Distribution",land:"Frankreich",countryCode:"FR",type:"Distributor",coverage:["Frankreich"],languages:["Französisch","Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],website:"https://www.enfsolar.com/solar-distribution",ort:"Frankreich",status:"Autorisierter Distributor",region:"Westeuropa"},{id:"ja-solar-invest-group-ro",firma:"Solar Invest Group",land:"Rumänien/Ukraine",countryCode:"RO",type:"Distributor",coverage:["Rumänien","Ukraine","Osteuropa"],languages:["Rumänisch","Ukrainisch","Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],website:"https://www.enfsolar.com/solar-invest-group",ort:"Rumänien",status:"Regional Distributor",region:"Osteuropa"},{id:"ja-soluxe-energie-sk",firma:"Soluxe Energie s.r.o.",land:"Slowakei",countryCode:"SK",type:"Distributor/Wholesaler",coverage:["Slowakei","Mitteleuropa"],languages:["Tschechisch","Deutsch","Slowakisch"],panelBrands:["JA Solar","Trina Solar","Canadian Solar"],inverterBrands:[],storageBrands:[],website:"https://www.enfsolar.com/soluxe-energie",ort:"Slowakei",status:"Distributor/Wholesaler",region:"Osteuropa"},{id:"ja-xinjiahe-global",firma:"XinJiaHe New Energy",land:"Global",countryCode:"GLOBAL",type:"Distributor",coverage:["Deutschland","Italien","Spanien","Oman","USA","Global"],languages:["Englisch","Deutsch","Spanisch","Italienisch","Arabisch"],panelBrands:["JA Solar","LONGi","Jinko Solar","Trina Solar"],inverterBrands:[],storageBrands:[],website:"https://www.xjhsolar.com",ort:"Global (China-Basis)",status:"Offizieller autorisierter Distributor",specialties:["Vollständiges JA Solar Sortiment","Globale Lieferung"],region:"Global"},{id:"ja-joinsun-global",firma:"Joinsun Solar",land:"Global",countryCode:"GLOBAL",type:"Distributor",coverage:["Global"],languages:["Englisch"],panelBrands:["JA Solar"],inverterBrands:[],storageBrands:[],website:"https://joinsunnow.com",ort:"Global",status:"Autorisierter Lieferant & Distributor",region:"Global"}],z=[...new Set(x.map(r=>r.land))].sort(),Z=[...new Set(x.map(r=>r.region))].sort(),o={totalDistributors:x.length,goldDistributors:x.filter(r=>r.gold).length,countryCoverage:z.length,source:"ENF Solar, Offizielle Distributor-Websites",lastUpdated:"2026-02-11",note:"DE/AT/CH/GB/IE Distributoren sowie Menlo Electric sind gemäà Systemregeln ausgeschlossen."},Se=()=>{const[r,f]=u.useState([]),[g,h]=u.useState(""),[n,p]=u.useState(!1),[t,w]=u.useState(""),[b,y]=u.useState(new Set),v=u.useMemo(()=>x.filter(s=>!(r.length>0&&!r.includes(s.land)||g&&s.region!==g||n&&!s.gold||t&&s.type!==t)),[r,g,n,t]),P=v.filter(s=>s.gold),O=v.filter(s=>!s.gold),c=[...P,...O],J=u.useCallback(s=>{y(a=>{const l=new Set(a);return l.has(s)?l.delete(s):l.add(s),l})},[]),G=()=>{const s=c.filter(l=>b.has(l.id)&&l.email);if(s.length===0)return;const a=s.map(l=>l.email).join(",");window.location.href=`mailto:?bcc=${a}&subject=JA%20Solar%20Anfrage&body=Sehr%20geehrte%20Damen%20und%20Herren%2C%0A%0A`},N=()=>{f([]),h(""),p(!1),w("")},W=r.length>0||!!g||n||!!t;return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs("header",{className:"relative overflow-hidden bg-gradient-to-br from-[hsl(210,35%,10%)] via-[hsl(210,40%,16%)] to-[hsl(200,80%,22%)]",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,hsl(200,100%,50%,0.08),transparent_60%)]"}),e.jsxs("div",{className:"relative w-full px-6 xl:px-8 py-10",children:[e.jsxs(M,{to:"/",className:"inline-flex items-center gap-2 text-sm text-white/50 hover:text-white/80 transition mb-6",children:[e.jsx(I,{size:16}),"Zurück zum Dashboard"]}),e.jsxs("div",{className:"max-w-3xl space-y-4",children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-extrabold text-white tracking-tight",children:"JA Solar Distributoren in Europa"}),e.jsxs("p",{className:"text-base md:text-lg text-white/60 leading-relaxed",children:[o.totalDistributors," offizielle Vertriebspartner & GroÃhändler für JA Solar Module in Europa.",o.goldDistributors>0&&` Davon ${o.goldDistributors} GOLD-Distributoren.`]}),e.jsxs("div",{className:"flex flex-wrap gap-3 pt-2",children:[e.jsxs(i,{onClick:()=>{p(!0)},className:"bg-[hsl(45,100%,50%)] text-[hsl(30,80%,15%)] hover:bg-[hsl(45,100%,55%)] font-bold shadow-lg",children:[e.jsx(S,{size:16,className:"fill-current"}),"GOLD Distributoren"]}),e.jsxs(i,{onClick:N,variant:"outline",className:"border-white/20 text-white hover:bg-white/10 hover:text-white",children:[e.jsx(C,{size:16}),"Alle JA Solar Partner"]})]})]})]})]}),e.jsxs("main",{className:"w-full px-6 xl:px-8 py-6 space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3",children:[e.jsxs("div",{className:"bg-card rounded-xl shadow-card p-4 text-center",children:[e.jsx("div",{className:"text-2xl font-extrabold text-card-foreground",children:o.totalDistributors}),e.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"Distributoren"})]}),e.jsxs("div",{className:"bg-card rounded-xl shadow-card p-4 text-center",children:[e.jsx("div",{className:"text-2xl font-extrabold text-[hsl(45,100%,45%)]",children:o.goldDistributors}),e.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"GOLD Partner"})]}),e.jsxs("div",{className:"bg-card rounded-xl shadow-card p-4 text-center",children:[e.jsx("div",{className:"text-2xl font-extrabold text-card-foreground",children:o.countryCoverage}),e.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"Länder"})]}),e.jsxs("div",{className:"bg-card rounded-xl shadow-card p-4 text-center",children:[e.jsx("div",{className:"text-2xl font-extrabold text-card-foreground",children:x.filter(s=>s.email).length}),e.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"Mit E-Mail"})]})]}),e.jsxs("div",{className:"bg-card rounded-xl shadow-card p-4 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(V,{size:18,className:"text-primary"}),e.jsx("h2",{className:"font-semibold text-card-foreground",children:"Filter"}),e.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",c.length," Distributoren)"]})]}),W&&e.jsxs(i,{variant:"ghost",size:"sm",onClick:N,className:"text-muted-foreground gap-1.5",children:[e.jsx(B,{size:14})," Zurücksetzen"]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3",children:[e.jsx(H,{options:[...z],selected:r,onChange:f,placeholder:"ð Land"}),e.jsxs(D,{value:g,onValueChange:s=>h(s==="all"?"":s),children:[e.jsx(A,{className:"bg-background",children:e.jsx(k,{placeholder:"ðº Region"})}),e.jsxs(E,{children:[e.jsx(m,{value:"all",children:"Alle Regionen"}),Z.map(s=>e.jsx(m,{value:s,children:s},s))]})]}),e.jsxs(D,{value:t,onValueChange:s=>w(s==="all"?"":s),children:[e.jsx(A,{className:"bg-background",children:e.jsx(k,{placeholder:"ð¦ Typ"})}),e.jsxs(E,{children:[e.jsx(m,{value:"all",children:"Alle Typen"}),e.jsx(m,{value:"Distributor",children:"Distributor"}),e.jsx(m,{value:"Wholesaler",children:"Wholesaler"}),e.jsx(m,{value:"Distributor/Wholesaler",children:"Distributor/Wholesaler"})]})]}),e.jsxs(i,{variant:n?"default":"outline",onClick:()=>p(!n),className:n?"bg-[hsl(45,100%,50%)] text-[hsl(30,80%,15%)] hover:bg-[hsl(45,100%,55%)] border-transparent":"",children:[e.jsx(S,{size:14,className:n?"fill-current":""}),"GOLD Distributor"]})]})]}),b.size>0&&e.jsxs("div",{className:"sticky top-0 z-20 bg-primary text-primary-foreground rounded-lg px-4 py-3 flex items-center justify-between shadow-md animate-in slide-in-from-top-2 duration-200",children:[e.jsxs("span",{className:"text-sm font-medium",children:[b.size," Distributor",b.size!==1?"en":""," ausgewählt"]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(i,{size:"sm",variant:"secondary",className:"bg-primary-foreground
6/15 text-primary-foreground hover:bg-primary-foreground/25 border-0",onClick:G,children:[e.jsx(j,{size:14})," E-Mail senden"]}),e.jsxs(i,{size:"sm",variant:"ghost",className:"text-primary-foreground/70 hover:text-primary-foreground hover:bg-primary-foreground/10",onClick:()=>y(new Set),children:[e.jsx(B,{size:14})," Auswahl aufheben"]})]})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:c.map(s=>e.jsx(_,{distributor:s,selected:b.has(s.id),onToggle:()=>J(s.id)},s.id))}),c.length===0&&e.jsxs("div",{className:"text-center py-16 text-muted-foreground",children:[e.jsx("p",{className:"text-lg font-medium",children:"Keine Distributoren gefunden"}),e.jsx("p",{className:"text-sm mt-1",children:"Bitte passe die Filtereinstellungen an."})]}),e.jsxs("div",{className:"bg-card rounded-xl shadow-card p-6 space-y-3",children:[e.jsx("h3",{className:"font-semibold text-card-foreground",children:"ð¨ Serienmail an JA Solar Distributoren"}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsxs(i,{onClick:()=>{const s=c.filter(a=>a.gold&&a.email);s.length!==0&&(window.location.href=`mailto:?bcc=${s.map(a=>a.email).join(",")}&subject=JA%20Solar%20Anfrage`)},className:"bg-[hsl(45,100%,50%)] text-[hsl(30,80%,15%)] hover:bg-[hsl(45,100%,55%)] font-bold",children:[e.jsx(S,{size:14,className:"fill-current"})," Nur GOLD"]}),e.jsx(i,{variant:"outline",onClick:()=>{const s=c.filter(a=>a.region==="Benelux"&&a.email);s.length!==0&&(window.location.href=`mailto:?bcc=${s.map(a=>a.email).join(",")}&subject=JA%20Solar%20Anfrage`)},children:"Nur Benelux"}),e.jsx(i,{variant:"outline",onClick:()=>{const s=c.filter(a=>a.region==="Osteuropa"&&a.email);s.length!==0&&(window.location.href=`mailto:?bcc=${s.map(a=>a.email).join(",")}&subject=JA%20Solar%20Anfrage`)},children:"Nur Osteuropa"}),e.jsxs(i,{variant:"outline",onClick:()=>{const s=c.filter(a=>a.email);s.length!==0&&(window.location.href=`mailto:?bcc=${s.map(a=>a.email).join(",")}&subject=JA%20Solar%20Anfrage`)},children:[e.jsx(j,{size:14})," Alle mit E-Mail"]})]})]}),e.jsxs("p",{className:"text-xs text-muted-foreground text-center",children:["Quelle: ",o.source," · Stand: ",o.lastUpdated," · ",o.note]})]})]})},_=({distributor:r,selected:f,onToggle:g})=>{const[h,n]=u.useState(!1),p=r.panelBrands.length+r.inverterBrands.length+r.storageBrands.length;return e.jsx(T,{className:`group relative transition-all duration-200 hover:shadow-card-hover ${r.gold?"ring-2 ring-[hsl(45,100%,50%)] bg-[hsl(45,100%,50%,0.04)]":""} ${f?"ring-2 ring-primary":""}`,children:e.jsxs(R,{className:"p-5 space-y-3",children:[e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsxs("div",{className:"space-y-1 min-w-0",children:[e.jsx("h3",{className:"font-bold text-card-foreground text-sm leading-tight truncate",children:r.firma}),e.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[e.jsx(L,{size:12}),e.jsxs("span",{children:[r.ort?`${r.ort}, `:"",r.land]})]})]}),e.jsx("input",{type:"checkbox",checked:f,onChange:g,className:"mt-1 h-4 w-4 rounded border-border text-primary accent-primary cursor-pointer"})]}),e.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[r.gold&&e.jsxs(d,{className:"bg-[hsl(45,100%,50%)] text-[hsl(30,80%,15%)] border-transparent font-bold text-[10px] gap-1",children:[e.jsx(S,{size:10,className:"fill-current"})," GOLD"]}),e.jsx(d,{variant:"outline",className:"text-[10px]",children:r.type}),e.jsx(d,{variant:"outline",className:"text-[10px]",children:r.region}),p>3&&e.jsxs(d,{variant:"secondary",className:"text-[10px]",children:[p," Marken"]})]}),r.status&&e.jsx("p",{className:"text-[11px] text-muted-foreground line-clamp-1",children:r.status}),h&&e.jsxs("div",{className:"space-y-2.5 text-xs text-muted-foreground animate-in fade-in-0 slide-in-from-top-1 duration-150",children:[r.adresse&&e.jsxs("div",{className:"flex gap-2",children:[e.jsx(L,{size:12,className:"mt-0.5 shrink-0"}),e.jsxs("span",{children:[r.adresse,r.plz?`, ${r.plz}`:""," ",r.ort]})]}),r.telefon&&e.jsxs("div",{className:"flex gap-2 items-center",children:[e.jsx($,{size:12,className:"shrink-0"}),e.jsx("a",{href:`tel:${r.telefon}`,className:"hover:text-primary transition",children:r.telefon})]}),r.email&&e.jsxs("div",{className:"flex gap-2 items-center",children:[e.jsx(j,{size:12,className:"shrink-0"}),e.jsx("a",{href:`mailto:${r.email}`,className:"hover:text-primary transition truncate",children:r.email})]}),r.warehouseLocations&&r.warehouseLocations.length>0&&e.jsxs("div",{className:"flex gap-2",children:[e.jsx(K,{size:12,className:"mt-0.5 shrink-0"}),e.jsxs("span",{children:["Lager: ",r.warehouseLocations.join(", ")
6]})]}),r.languages&&r.languages.length>0&&e.jsxs("div",{className:"flex gap-2",children:[e.jsx(X,{size:12,className:"mt-0.5 shrink-0"}),e.jsx("span",{children:r.languages.join(", ")})]}),r.coverage.length>0&&e.jsxs("div",{className:"flex gap-2",children:[e.jsx(C,{size:12,className:"mt-0.5 shrink-0"}),e.jsxs("span",{children:["Abdeckung: ",r.coverage.join(", ")]})]}),r.panelBrands.length>0&&e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-wider font-semibold text-muted-foreground mb-1",children:"Module"}),e.jsx("div",{className:"flex flex-wrap gap-1",children:r.panelBrands.map(t=>e.jsx(d,{variant:"outline",className:"text-[9px] px-1.5 py-0",children:t},t))})]}),r.inverterBrands.length>0&&e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-wider font-semibold text-muted-foreground mb-1",children:"Wechselrichter"}),e.jsx("div",{className:"flex flex-wrap gap-1",children:r.inverterBrands.map(t=>e.jsx(d,{variant:"outline",className:"text-[9px] px-1.5 py-0",children:t},t))})]}),r.storageBrands.length>0&&e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-wider font-semibold text-muted-foreground mb-1",children:"Speicher"}),e.jsx("div",{className:"flex flex-wrap gap-1",children:r.storageBrands.map(t=>e.jsx(d,{variant:"outline",className:"text-[9px] px-1.5 py-0",children:t},t))})]}),r.specialties&&r.specialties.length>0&&e.jsx("div",{className:"flex flex-wrap gap-1 pt-1",children:r.specialties.map(t=>e.jsx(d,{className:"bg-primary/10 text-primary border-primary/20 text-[9px] px-1.5 py-0",children:t},t))}),r.notes&&e.jsx("p",{className:"text-[11px] italic text-muted-foreground/70",children:r.notes})]}),e.jsxs("div",{className:"flex items-center gap-2 pt-1",children:[e.jsx(i,{size:"sm",variant:"ghost",className:"text-xs h-7 px-2",onClick:()=>n(!h),children:h?"Weniger":"Details anzeigen"}),r.website&&e.jsx("a",{href:r.website.startsWith("http")?r.website:`https://${r.website}`,target:"_blank",rel:"noopener noreferrer",children:e.jsxs(i,{size:"sm",variant:"outline",className:"text-xs h-7 px-2 gap-1",children:[e.jsx(U,{size:12})," Website"]})})]})]})})};export{Se as default};
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.