import e from "react";
import { EuiProvider as E } from "@elastic/eui";
import { BrowserRouter as d, Routes as h, Route as o } from "react-router-dom";
import "../node_modules/.pnpm/@elastic_eui@61.0.0_zavqrpf4tc2kjxw3tjmx3rmpbq/node_modules/@elastic/eui/dist/eui_theme_light.js";
import "../tailwind.js";
const y = {
  colors: {
    LIGHT: {
      primary: "#2ab4a6",
      primaryText: "#2ab4a6"
    }
  }
}, b = ({ routes: r, children: p }) => /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(E, {
  colorMode: "light",
  modify: y
}, /* @__PURE__ */ e.createElement(h, null, /* @__PURE__ */ e.createElement(e.Fragment, null, r == null ? void 0 : r.map((t, c) => {
  var n;
  return /* @__PURE__ */ e.createElement(o, {
    path: t.path,
    element: t.component,
    key: c
  }, (n = t.routes) == null ? void 0 : n.map((a, u) => {
    var m;
    return /* @__PURE__ */ e.createElement(o, {
      path: a.path,
      element: a.component,
      key: u
    }, (m = a.routes) == null ? void 0 : m.map((l, i) => /* @__PURE__ */ e.createElement(o, {
      path: l.path,
      element: l.component,
      key: i
    })));
  }));
}), p))));
export {
  b as default
};
//# sourceMappingURL=Provider.js.map
