System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./index-legacy-Bbj6l0yZ.js","./MarkerIcon-Bc3X9WQk-legacy-BQBpoiOY.js","./context-BrD4AniQ-legacy-txE7vzzL.js","./Cluster-BHQcO6iC-legacy-C89PhZHb.js","./mapbox-jb8Zev6T-legacy-C4Ly-PG-.js"],function(e,r){var t,o,i,n,l,s,a;return e("default",function({clusters:e,colors:r,clusterIcon:t,onClick:o,doesSuperclusterContainActiveMarker:c}){let{activeMarker:u,zoom:d}=n(),p=e=>r=>{r.originalEvent.stopPropagation(),!e.properties.disableClick&&(null==o||o(e))};return null==e?void 0:e.map((e,o)=>{let n=e.geometry.coordinates[0],m=e.geometry.coordinates[1];return(0,a.jsxs)(s,{anchor:"bottom",longitude:n,latitude:m,onClick:p(e),children:[e.properties.cluster&&(0,a.jsx)(l,{colors:r,icon:t,isActive:c(e.properties.cluster_id)}),!e.properties.cluster&&(0,a.jsx)("div",{className:"\n  group/marker cursor-pointer rounded-full\n  relative h-7 w-7 flex items-center justify-center\n  text-base-white ring-1 ring-inset\n  transition-colors\n\n  bg-[var(--background,theme(colors.base.white))]\n  ring-[var(--fill,theme(colors.primary.100))]\n\n  hover:bg-[var(--fill,theme(colors.primary.100))]\n\n  data-[is-zoomed-out=true]:bg-[var(--fill,theme(colors.primary.100))]\n  data-[is-zoomed-out=true]:h-4\n  data-[is-zoomed-out=true]:w-4\n\n  data-[is-active=true]:bg-[var(--fill,theme(colors.primary.100))]\n",style:e.properties.defaultColor?{}:{"--background":null==r?void 0:r.background,"--fill":null==r?void 0:r.fill},"data-is-cluster":!!e.properties.cluster,"data-is-zoomed-out":d<10,"data-is-active":(null==u?void 0:u.id)===e.properties.id,children:(0,a.jsx)(i,{icon:e.properties.icon})})]},`map-marker-${n}-${m}-${o}`)})}),{setters:[function(e){e.a},function(e){t=e.St,o=e.q},function(e){e.n,i=e.t},function(e){n=e.n},function(e){l=e.t},function(e){s=e.n}],execute:function(){t(),a=o()}}});
//# sourceMappingURL=Mapbox-DDJ1gHRb-legacy-BhItwoyY.js.map