1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7408],{37408:(e,t,a)=>{a.r(t),a.d(t,{InteractiveMapStaticMap:()=>i});var n=a(37876),r=a(14232),l=a(28624),s=a(58511),o=a(26242),c=a(48567);let i=e=>{let{center:t,residenceLabel:a,staticMapUrl:i,mapZoom:u,mapSize:d,fallbackImageSrc:p,fallbackImageAlt:b,places:x,selectedId:m,showExploreHint:f=!1,onSelect:g,onActivateMap:v}=e,[y,k]=(0,r.useState)(!1),j=i&&!y?i:p,h=(0,s.cV)(t.lat,t.lng,t,u,d);return(0,n.jsxs)("div",{className:"absolute inset-0 h-full w-full",onPointerDown:v,children:[j?(0,n.jsx)(l.A,{src:j,alt:b||a,loading:"lazy",decoding:"async",className:"absolute inset-0 h-full w-full object-cover",onError:()=>{i&&j===i&&k(!0)}}):(0,n.jsx)("div",{className:"absolute inset-0 bg-muted/40"}),x.map(e=>{let a=(0,s.cV)(e.lat,e.lng,t,u,d),r=e.id===m;return(0,n.jsx)("button",{type:"button","aria-label":e.name,"aria-pressed":r,onPointerDown:e=>e.stopPropagation(),onClick:t=>{var a;t.stopPropagation(),a=e.id,v(),g(a)},className:(0,o.cn)("absolute -translate-x-1/2 -translate-y-1/2",r?"z-[15]":"z-10"),style:{left:"".concat(a.x,"%"),top:"".concat(a.y,"%")},children:(0,n.jsx)(c.InteractiveMapMarkerPin,{isSelected:r,category:e.category,ariaLabel:e.name})},e.id)}),(0,n.jsx)("button",{type:"button","aria-label":a,className:"absolute z-20 -translate-x-1/2 -translate-y-full",style:{left:"".concat(h.x,"%"),top:"".concat(h.y,"%")},onPointerDown:e=>e.stopPropagation(),onClick:e=>{e.stopPropagation(),v()},children:(0,n.jsx)(c.InteractiveMapMarkerPin,{isResidence:!0,ariaLabel:a})}),f?(0,n.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-4 z-20 flex justify-center px-4",children:(0,n.jsx)("span",{className:(0,o.cn)("rounded-full border border-border/60 bg-background/90 px-4 py-2 text-xs font-medium text-muted-foreground shadow-sm backdrop-blur-sm","sm:text-sm"),children:"Click or tap to explore map"})}):null]})}},48567:(e,t,a)=>{a.r(t),a.d(t,{InteractiveMapMarkerPin:()=>o});var n=a(37876),r=a(14232),l=a(44274),s=a(84952);let o=e=>{let{isResidence:t=!1,isSelected:a=!1,category:o="",ariaLabel:c}=e,i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=i.current;e&&((0,l.cx)(e,{isResidence:t,isSelected:a}),e.innerHTML=t?(0,l.We)(c):(0,s.k9)(o,a?20:18,void 0,c))},[c,o,t,a]),(0,n.jsx)("div",{ref:i})}}}]);
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.