import { jsx as o } from "react/jsx-runtime";
import { noop as m } from "es-toolkit/function";
import p from "../MapSettingsItem.js";
import { MapIcon as a, WORKSHOP_POIS_INACTIVE as r, WORKSHOP_POIS_ACTIVE as I } from "../../../../icons/MapIcon.js";
const M = (e) => {
  const { isActive: n = !1, onToggle: t = m, ...i } = e, s = (c) => t(c);
  return /* @__PURE__ */ o(
    p,
    {
      className: "MapWorkshopPoi",
      onClick: () => s(!1),
      isActive: n,
      activeIcon: /* @__PURE__ */ o(a, { name: I, className: "MapPoiIcon" }),
      inactiveIcon: /* @__PURE__ */ o(a, { name: r, className: "MapPoiIconInactive" }),
      ...i
    }
  );
};
export {
  M as default
};
//# sourceMappingURL=MapWorkshopPoiSettingsItem.js.map
