import { initializeLogger as c } from "@seamless/logger";
const D = {
  BOOTSTRAP: "Bootstrap",
  TRACKING: "Tracking",
  TRANSLATION: "Translation",
  UTILS: "Utilities"
}, e = {
  LOG: 1,
  WARN: 2,
  ERROR: 3,
  INFO: 4,
  DEFAULT: 5
}, O = new Intl.DateTimeFormat(["pt-PT", "de-DE", "en-GB"], {
  year: "numeric",
  month: "2-digit",
  day: "2-digit"
}), m = new Intl.DateTimeFormat(["pt-PT", "de-DE", "en-GB"], {
  hour: "2-digit",
  minute: "2-digit",
  second: "2-digit"
}), E = "Default";
function d(n) {
  return `${O.format(n)} | ${m.format(n)}`;
}
function F(n, A) {
  const a = c(n), g = {
    [e.LOG]: "log",
    [e.WARN]: "warn",
    [e.ERROR]: "error",
    [e.INFO]: "log",
    [e.DEFAULT]: "log"
  }, i = (t, o) => {
    const { args: s = [], level: T = e.LOG, group: L = E } = o || {}, l = `${d(Date.now())} | ${L || ""}
${t}`, R = g[T] ?? "log", r = a[R] ?? a.log;
    s?.length ? r.call(a, l, ...s) : r.call(a, l);
  };
  return Object.assign(i, {
    log: (t, ...o) => i(t, { args: o, level: e.LOG }),
    error: (t, ...o) => i(t, { args: o, level: e.ERROR }),
    warn: (t, ...o) => i(t, { args: o, level: e.WARN }),
    debug: (t, ...o) => i(t, { args: o, level: e.DEFAULT })
  });
}
export {
  D as L,
  e as a,
  F as i
};
//# sourceMappingURL=initialize-logger.mjs.map
