"use client";
import { jsx as i } from "react/jsx-runtime";
import { cn as m } from "../../utils/cn/cn.es.js";
import r from "../../components/GalleryPagination/galleryPagination.module.css";
const f = ({ count: o, activeIndex: s, className: n, onSelect: a }) => /* @__PURE__ */ i("div", { className: m(r.root, n), children: Array.from({ length: o }).map((l, t) => /* @__PURE__ */ i("button", { type: "button", className: r.lineWrap, onClick: () => a == null ? void 0 : a(t), children: /* @__PURE__ */ i("div", { className: m(r.line, t === s && r.active) }) }, t)) });
export {
  f as GalleryPagination
};
