1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25497],{29221:(t,n,e)=>{e.d(n,{j:()=>a});var i=e(95155);let a=(0,e(67909).default)(()=>Promise.all([e.e(44804),e.e(21761),e.e(86755)]).then(e.bind(e,86755)),{loadableGenerated:{webpack:()=>[86755]},ssr:!1,loading:()=>(0,i.jsx)("div",{className:"animate-pulse bg-gray-100 rounded-xl",style:{height:"500px"}})})},47878:(t,n,e)=>{e.r(n),e.d(n,{default:()=>s});var i=e(95155),a=e(12115),o=e(29221),l=e(49053);let r="https://backend.irgendwasmitrecht.de",c={GroÃkanzlei:"#2A2E4B","Mittelst\xe4ndische Kanzlei":"#44A6D8","Kleinere Kanzlei":"#44A6D8",Justiz:"#FB525B",Unternehmen:"#F1C643",Verwaltung:"#AC0064",Beratungsunternehmen:"#44A6D8",Universität:"#AC0064",Notariat:"#F1C643",Sonstige:"#6B7280"};function s(t){let{employers:n,userLocation:e=null,podcastEmployerIds:s,initialCenter:d=null,initialZoom:p=11}=t,g=!!s,u=(0,a.useMemo)(()=>{let t=[];for(let a of n){var e,i;let n=!s||s.has(a.id),o=n?c[a.arbeitgeberart]||c.Sonstige:"#B0B5C0",d=(null==(e=a.logo)?void 0:e.id)?"".concat(r,"/assets/").concat(a.logo.id,"?width=80&quality=80"):"",p=g&&n?'<span style="display:inline-block;font-size:10px;background:#F1C643;color:#2A2E4B;border-radius:9999px;padding:1px 6px;margin-left:6px;font-weight:600;">Podcast</span>':"",u='\n <div style="display:flex;align-items:center;gap:8px;padding:8px 12px;min-width:120px;">\n '.concat(d?'<img src="'.concat(d,'" alt="" style="height:24px;max-width:60px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:4px;padding:2px;" />'):"",'\n <span style="font-size:13px;font-weight:600;white-space:nowrap;color:#fff;">').concat(a.name).concat(p,"</span>\n </div>\n ").trim(),x=a.locations&&a.locations.length>0?a.locations:[];if(0!==x.length)for(let e=0;e<x.length;e++){let c=x[e],s=null,d=null;if(null==c.latitude||null==c.longitude||isNaN(c.latitude)||isNaN(c.longitude)||(s=c.latitude,d=c.longitude),(null==s||null==d)&&c.city){let t=(0,l.lN)(c.city);t&&(s=t[0],d=t[1])}if(null==s||null==d||s<47||s>55.5||d<5.5||d>16)continue;let p=c.city?'<div style="font-size:12px;color:#94a3b8;margin-bottom:4px;">'.concat(c.city,"</div>"):"",f=a.arbeitgeberart?'<span style="display:inline-block;font-size:11px;background:#D8E3F4;color:#1E3A8A;border-radius:9999px;padding:2px 8px;margin-bottom:6px;">'.concat(a.arbeitgeberart,"</span>"):"",h=g&&n?'<span style="display:inline-block;font-size:10px;background:#F1C643;color:#2A2E4B;border-radius:9999px;padding:2px 8px;margin-bottom:6px;font-weight:600;">Podcast-Partner</span>':"",m=(null==(i=a.logo)?void 0:i.id)?'<img src="'.concat(r,"/assets/").concat(a.logo.id,'?width=120&quality=80" alt="').concat(a.name,'" style="max-height:40px;max-width:100px;object-fit:contain;margin-bottom:6px;background:#fff;border-radius:4px;padding:2px;" />'):"",b='\n <div style="text-align:center;min-width:140px;">\n '.concat(m,'\n <div style="font-weight:600;font-size:13px;margin-bottom:2px;">').concat(a.name,"</div>\n ").concat(p,"\n ").concat(f,"\n ").concat(h,"\n ").concat(!g||n?'<div><a href="/institutionen/'.concat(a.slug,'" style="color:#1E3A8A;font-size:12px;text-decoration:underline;">Zum Profil →</a></div>'):"","\n </div>\n ").trim();t.push({id:"".concat(a.id,"-loc-").concat(e),lat:s,lng:d,popupHtml:b,tooltipHtml:u,color:o,radius:n?8:5,fillOpacity:n?.9:.45})}}return t},[n,s,g]);return(0,i.jsx)("div",{children:(0,i.jsx)(o.j,{markers:u,showThemeToggle:!0,showGeolocation:!0,fitToMarkers:!e&&!d,userLocation:e,scrollWheelZoom:!1,height:"600px",...d?{center:d,zoom:p}:{}})})}}}]);
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.