PageSourceSearch

https://www.deinhofmarkt.de/_next/static/chunks/pages/entdecken/unternehmen/[location]-e253700f06bfab31.js

js deinhofmarkt.de collected 2026-10-06 21:34:04 UTC 13,370 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0ca98ede-0a61-413a-8397-d077834953d0",e._sentryDebugIdIdentifier="sentry-dbid-0ca98ede-0a61-413a-8397-d077834953d0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9503],{706:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MapButton:()=>G,__N_SSG:()=>$,default:()=>J});var i=n(37876),a=n(21626),o=n(86044),r=n(57670),l=n(28444),d=n(14232);let s=(0,d.createContext)([]);function c(e){let{children:t}=e,[n,a]=(0,d.useState)([]);return(0,i.jsx)(s.Provider,{value:{companiesContext:n,setCompaniesContext:a},children:t})}var p=n(48230),f=n.n(p),u=n(38645),h=n(19794),m=n(68160),g=n(31958),x=n(87364),w=n(75184);let y=(0,a.Ay)(f()).withConfig({componentId:"sc-390dcb1b-0"})(["-webkit-box-shadow:0px 3px 6px rgba(0,0,0,0.16);box-shadow:0px 3px 6px rgba(0,0,0,0.16);border-radius:30px;display:flex;flex-direction:column;grid-template-columns:1fr;overflow:hidden;min-width:450px;max-width:850px;@media (max-width:1024px){display:flex;min-width:350px;flex-direction:column;align-content:space-between;}"]),b=a.Ay.h3.withConfig({componentId:"sc-390dcb1b-1"})(["margin:0;display:inline;font-weight:var(--font-weight-bold);font-size:clamp(1.2rem,0.8vw + 0.4rem,1.4rem);"]),v=a.Ay.p.withConfig({componentId:"sc-390dcb1b-2"})(["margin:5px 0;font-size:clamp(0.8rem,0.8vw + 0.4rem,0.9rem);font-weight:var(--font-weight-regular);",""],e=>!e.extend&&(0,a.AH)(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis;"]));a.Ay.li.withConfig({componentId:"sc-390dcb1b-3"})(["list-style:none;&:after{content:', ';}&:last-child:after{content:'';}"]);let C=a.Ay.button.withConfig({componentId:"sc-390dcb1b-4"})(["font-size:0.9rem;text-decoration:underline;cursor:pointer;:hover{text-decoration:underline;font-weight:var(--font-weight-bold);}"]),j=e=>{var t,n,a,o,r,l,s,c,p,f,u;let{company:h,handleLocationMarkerClick:m,handleMouseEnter:g,handleMouseLeave:x}=e,j=[h.previewImage,...h.details.images],[K,M]=(0,d.useState)(!1),z=(null==(n=h.details)||null==(t=n.description)?void 0:t.length)>100;return(0,i.jsxs)(y,{onMouseEnter:g,onMouseLeave:x,href:"/unternehmen/"+h.id,children:[(0,i.jsx)(w.A,{images:j,altTag:h.name}),(0,i.jsx)(D,{children:(0,i.jsxs)(_,{children:[(0,i.jsxs)(k,{children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)(A,{onClick:e=>{e.preventDefault(),m({lat:h.location.lat,lng:h.location.lng})},children:[(0,i.jsx)("img",{src:"/images/marker.svg",alt:"marker",width:25,height:25}),h.address.plz+" "+h.address.city]}),(0,i.jsx)(b,{children:h.name})]}),(null==(r=h.details)||null==(o=r.certificates)||null==(a=o.at(0))?void 0:a.logoUrl)&&(0,i.jsx)(I,{src:null==(c=h.details)||null==(s=c.certificates)||null==(l=s.at(0))?void 0:l.logoUrl,alt:null==(f=h.details.certificates)||null==(p=f.at(0))?void 0:p.issuerName,style:{height:50,width:"auto"}})]}),(0,i.jsx)(v,{extend:K,children:null==(u=h.details)?void 0:u.description}),z&&(0,i.jsx)(N,{children:(0,i.jsx)(C,{onClick:e=>{e.preventDefault(),M(!K)},children:K?"Weniger":"Mehr"})})]})})]})};var A=(0,a.Ay)("button").withConfig({componentId:"sc-390dcb1b-5"})({margin:"5px 0",color:"#007092",padding:0,textDecoration:"underline",cursor:"pointer",display:"flex",alignItems:"center"}),I=(0,a.Ay)("img").withConfig({componentId:"sc-390dcb1b-6"})({objectFit:"contain"}),k=(0,a.Ay)("div").withConfig({componentId:"sc-390dcb1b-7"})({display:"flex",justifyContent:"space-between"}),N=(0,a.Ay)("div").withConfig({componentId:"sc-390dcb1b-8"})({display:"flex",justifyContent:"flex-end"}),_=(0,a.Ay)("div").withConfig({componentId:"sc-390dcb1b-9"})({flexGrow:1}),D=(0,a.Ay)("div").withConfig({componentId:"sc-390dcb1b-10"})({padding:"10px 20px 20px",background:"#fff",display:"flex",flexDirection:"column",flexGrow:1});let K=a.Ay.div.withConfig({componentId:"sc-6d106abe-0"})(["display:grid;justify-content:center;gap:30px;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));margin:0 10px;@media (min-width:1200px){grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin:0 30px;}"]);a.Ay.div.withConfig({componentId:"sc-6d106abe-1"})(["grid-column:span 2;display:flex;justify-content:center;@media (max-width:650px){grid-column:span 1;}"]);let M=e=>{let{companies:t,setCoordinates:n,setHoverCompany:a,onInterSecting:o,offset:r}=e,l=(0,d.useRef)(null);(0,d.useEffect)(()=>{let e=new IntersectionObserver(s,{root:null,rootMargin:"0px",threshold:.5});return l.current&&e.observe(l.current),()=>{e.disconnect()}},[r,null==l?void 0:l.current]);let s=(e,t)=>{e.forEach(async e=>{e.isIntersecting&&o()})};return(0,i.jsx)(K,{children:t.map((e,o)=>(0,i.jsxs)(d.Fragment,{children:[(0,i.jsx)(j,{company:e,handleLocationMarkerClick:n,handleMouseEnter:()=>a(e),handleMouseLeave:()=>a(null)}),o===t.length-1&&(0,i.jsx)("div",{ref:l})]},e.id+o))})};var z=n(54101);let L=e=>
1{let{initialCompanies:t,coordinates:n,setHoverCompany:a,setCoordinates:o}=e,{setCompaniesContext:r}=(0,d.useContext)(s),[l,c]=(0,d.useState)(t||[]),[p,f]=(0,d.useState)(0),[u,h]=(0,d.useState)(0),[m,g]=(0,d.useState)([]);async function x(){let e=await z.A.getCompaniesNearLocation({location:n,offset:p+20});0!=e.length&&(c(t=>[...t,...e]),r(t=>[...t,...e]),f(e=>e+20))}async function w(){let e=await z.A.getCompaniesNearLocation({location:n,offset:u+20,maxDistance:1e3});if(0!=e.length){let t=l.map(e=>e.id),n=e.filter(e=>!t.includes(e.id));g(e=>[...e,...n]),r(e=>[...e,...n]),f(e=>e+20)}}(0,d.useEffect)(()=>{!async function(){let e=await z.A.getCompaniesNearLocation({location:n,offset:0});c(e),r(e),f(0)}()},[n]),(0,d.useEffect)(()=>{!async function(){let e=await z.A.getCompaniesNearLocation({location:n,offset:p+20,maxDistance:1e3}),t=l.map(e=>e.id),i=e.filter(e=>!t.includes(e.id));g(e=>[...e,...i]),r(e=>[...e,...i]),h(20)}()},[n]);let y=l.map(e=>e.id),b=m.filter(e=>!y.includes(e.id));return(0,i.jsxs)("div",{children:[(0,i.jsx)(M,{companies:l,onInterSecting:x,offset:p,setCoordinates:o,setHoverCompany:a}),(0,i.jsx)(S,{children:"Weitere Unternehmen auf deinHofmarkt"}),(0,i.jsx)(M,{companies:b,onInterSecting:w,offset:u,setCoordinates:o,setHoverCompany:a})]})};var S=(0,a.Ay)("h3").withConfig({componentId:"sc-950d924d-0"})({textAlign:"center"});let B=a.Ay.section.withConfig({componentId:"sc-c837e564-0"})(["position:relative;display:flex;flex-direction:column-reverse;@media (min-width:1025px){display:grid;grid-template-columns:2fr 1fr;}"]),E={lat:51.718381,lng:8.754294},U=e=>{let{initialLocation:t,initalCompanies:n,headline:a}=e,[o,r]=(0,d.useState)(t?{lat:null==t?void 0:t.lat,lng:null==t?void 0:t.lng}:E),[l,c]=(0,d.useState)(null),{companiesContext:p}=(0,d.useContext)(s),[w,y]=(0,d.useState)(!1);return(0,i.jsxs)(B,{children:[!w&&(0,i.jsxs)(u.N,{onClick:()=>y(!0),children:[(0,i.jsx)("img",{src:"/icons/map.svg",alt:"Karte Icon"}),"Karte"]}),(0,i.jsxs)("div",{children:[(0,i.jsx)(H,{children:a}),(0,i.jsxs)(R,{children:[(0,i.jsx)(f(),{href:"/entdecken/produkte/"+(null==t?void 0:t.id),children:(0,i.jsx)(h.J,{label:"Produkte",isActive:!1})}),(0,i.jsx)(f(),{href:"/entdecken/unternehmen/"+(null==t?void 0:t.id),children:(0,i.jsx)(h.J,{label:"Unternehmen",isActive:!0})})]}),(0,i.jsx)(L,{coordinates:o,setCoordinates:r,setHoverCompany:c,initialCompanies:n})]}),(0,i.jsx)(m.A,{markers:(0,i.jsx)(g.c7,{companies:p,hoverCompany:l,setHoverCompany:c}),mapIsActive:w,handleCloseClick:()=>y(!1),onRegionChange:function(e){(0,x.g)(e,o)>10&&r({lat:e.lat,lng:e.lng})},coords:o})]})};var H=(0,a.Ay)("h1").withConfig({componentId:"sc-c837e564-1"})({fontFamily:"var(--font-family-primary)",padding:"0 10px"}),R=(0,a.Ay)("div").withConfig({componentId:"sc-c837e564-2"})({display:"flex",justifyContent:"center",margin:20,gap:10}),P=n(33127),F=n(10302);let T=a.Ay.main.withConfig({componentId:"sc-b533fafa-0"})(["position:relative;width:100%;margin:0 auto;"]);var $=!0;let G=a.Ay.button.withConfig({componentId:"sc-b533fafa-1"})(["display:none;@media (max-width:1024px){display:flex;position:fixed;font-weight:600;bottom:20px;z-index:10;left:50%;transform:translateX(-50%);align-items:center;padding:10px 8px;background:var(--font-bg-color-secondary);border-radius:25px;color:#fff;font-size:18px;cursor:pointer;> img{margin-right:5px;height:20px;width:20px;}}"]),J=e=>{let{companies:t,locationInfo:n}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.z,{title:"Nachhaltige Unternehmen in ".concat(n.name),description:"Nachhaltige Unternehmen in der N\xe4he von ".concat(n.name,": H\xf6fe, Manufakturen und Hersteller, bei denen du auf deinHofmarkt.de Bio-Lebensmittel im Gro\xdfhandel beziehst."),canonicalPath:(0,F.UL)("entdecken","unternehmen",n.id),noIndex:!(null==t?void 0:t.length),keywords:["Regionale Produkte "," Bio-Produkte",n.name,"Nachhaltige Unternehmen"]}),(0,i.jsx)(r.Ay,{}),(0,i.jsx)(T,{children:(0,i.jsx)(c,{children:(0,i.jsx)(U,{initialLocation:n,initalCompanies:t,headline:"Nachhaltige Unternehmen in ".concat(null==n?void 0:n.name)})})}),(0,i.jsx)(P.u,{}),(0,i.jsx)(l.A,{})]})}},19794:(e,t,n)=>{"use strict";n.d(t,{J:()=>
1o});var i=n(37876),a=n(21626);let o=e=>{let{label:t,onClick:n,isActive:a}=e;return(0,i.jsx)(r,{onClick:n&&n,isActive:a,children:t})};a.Ay.input.withConfig({componentId:"sc-b1ce5f0f-0"})(["padding:8px 15px;border-radius:15px;border:1px solid #007092;color:#007092;"]);let r=a.Ay.button.withConfig({componentId:"sc-b1ce5f0f-1"})(["text-align:center;border-radius:5px;padding:8px 10px;min-width:150px;cursor:pointer;background:#fff;color:#007092;border:1px solid #007092;"," :hover{border:1px solid #007092;background:#007092;color:#fff;}"],e=>e.isActive&&(0,a.AH)(["background:#4ba032;border:1px solid #4ba032;color:#fff;"]))},38645:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});let i=n(21626).Ay.button.withConfig({componentId:"sc-d3d773e5-0"})(["display:none;@media (max-width:1024px){display:flex;position:fixed;font-weight:600;bottom:20px;z-index:10;left:50%;transform:translateX(-50%);align-items:center;padding:10px 8px;background:var(--font-bg-color-secondary);border-radius:25px;color:#fff;font-size:18px;cursor:pointer;> img{margin-right:5px;height:20px;width:20px;}}"])},54101:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(61359),a=n(24125);let o={loadAllCompanyIdentifier:async function(){let e=await (0,i.K)();return(await e.get(a.L6)).data},loadAllLocationIdentifier:async function(){let e=await (0,i.K)();return(await e.get(a.fQ)).data},loadCompanyNetwork:async e=>{let t=await (0,i.K)();return(await t.get(encodeURI("".concat(a.B$,"-network/").concat(e)))).data},getCompanies:async()=>{let e=await (0,i.K)();return(await e.get("".concat(a.B$))).data},getCompanyBlogs:async e=>{let t=await (0,i.K)();return(await t.get(encodeURI("".concat(a.Bl,"/blog?companyId=").concat(e)))).data},getCompanyFeatures:async()=>{let e=await (0,i.K)();return(await e.get(a.aV)).data},loadAllCompanyDistributionIdentifiers:async function(){let e=await (0,i.K)();return(await e.get(a.M8)).data.map(e=>e.alias||e.id)},getDistributionCompanies:async()=>{let e=await (0,i.K)();return(await e.get("".concat(a.M8))).data},getCompanyDetailsDistribution:async function(e){try{let t=await (0,i.K)();return(await t.get(encodeURI("".concat(a.B$,"/").concat(e,"/distribution")))).data}catch(e){return console.warn("Failed to fetch distribution details",e),null}},getDhmFavoriteProducts:async e=>{try{let t=await (0,i.K)();return(await t.get(a.Bl+"/products/favorite",{signal:e})).data}catch(e){console.log(e)}},getCompaniesNearLocation:async e=>{let{location:t,offset:n,maxDistance:o,limit:r}=e,l=await (0,i.K)(),d="".concat(a.B$,"/location/company");
1d+="?lat="+t.lat+"&lng="+t.lng,n&&(d+="&offset="+n),o&&(d+="&maxDistance="+o),r&&(d+="&limit="+r);let s=await l.get(d);return null==s?void 0:s.data},getAdvertisingCompanies:async()=>{let e=await (0,i.K)();return(await e.get("".concat(a.B$,"/advertising-partners"))).data}}},55905:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/entdecken/unternehmen/[location]",function(){return n(706)}])},68160:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var i=n(37876),a=n(11933),o=n(86535),r=n(14232),l=n(21626),d=n(79642);let s=l.Ay.div.withConfig({componentId:"sc-b102c933-0"})(["flex-grow:1;position:initial;z-index:10;@media (max-width:1024px){display:",";position:fixed;width:100%;max-height:80dvh;right:0;left:0;top:0;}"],e=>e.displayMap?"initial":"none"),c=l.Ay.div.withConfig({componentId:"sc-b102c933-1"})(["width:100%;height:100%;position:relative;top:70px;@media (max-width:1024px){width:100%;height:80dvh;}@media (min-width:1025px){position:sticky;height:-webkit-calc(100vh - 80px);height:-moz-calc(100vh - 80px);height:-o-calc(100vh - 80px);height:calc(100vh - 80px);top:80px;}"]),p=e=>{let{mapWidth:t="",children:n,displayMap:a=!1,forwaredRef:o}=e,l=(0,r.useRef)(null);return(0,d.m)(l),(0,i.jsx)(s,{ref:l,mapWidth:t,displayMap:a,children:(0,i.jsx)(c,{ref:o,children:n})})};var f=n(31958);let u=e=>{let{markers:t,coords:n,mapIsActive:r=!1,handleCloseClick:l,onRegionChange:d}=e,s=(0,o.j)(()=>l());return(0,i.jsxs)(p,{displayMap:r,forwaredRef:s,children:[(0,i.jsx)(f.Jn,{onClick:l}),(0,i.jsx)(a.A,{zoom:11,center:n,onRegionChange:d,setBounds:e=>"",children:t})]})}}},e=>{e.O(0,[7725,9759,1772,8230,5356,4587,7965,4327,8344,8972,6132,636,6593,8792],()=>e(e.s=55905)),_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.