var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.ts
var calendarI18n_exports = {};
__export(calendarI18n_exports, {
  CALENDAR_WEEKDAY_IDS: () => CALENDAR_WEEKDAY_IDS,
  tCal: () => tCal
});
module.exports = __toCommonJS(calendarI18n_exports);
var import_locales = require("../../../../locales");
function tCal(id, vars) {
  const raw = (0, import_locales.getText)(id);
  if (typeof raw === "function") {
    return id;
  }
  let s = String(raw ?? "");
  if (vars) {
    for (const [k, v] of Object.entries(vars)) {
      s = s.split(`{${k}}`).join(String(v));
    }
  }
  return s;
}
var CALENDAR_WEEKDAY_IDS = [
  "pisell2.recordBoard.calendar.weekday.mon",
  "pisell2.recordBoard.calendar.weekday.tue",
  "pisell2.recordBoard.calendar.weekday.wed",
  "pisell2.recordBoard.calendar.weekday.thu",
  "pisell2.recordBoard.calendar.weekday.fri",
  "pisell2.recordBoard.calendar.weekday.sat",
  "pisell2.recordBoard.calendar.weekday.sun"
];
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  CALENDAR_WEEKDAY_IDS,
  tCal
});
