import "../../chunks/chunk.QU3DSPNU.js";
function kebabToCamelCase(str) {
  if (!str) return str;
  return str.replace(/-([a-zA-Z0-9])/g, (_, letter) => letter.toUpperCase());
}
function toPascalCase(str) {
  if (!str) return str;
  const normalized = str.includes("-") ? str.split("-").map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join("") : str.charAt(0).toUpperCase() + str.slice(1);
  return normalized;
}
function camelToKebabCase(str) {
  if (!str) return str;
  return str.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
}
function capitalize(str) {
  if (!str) return str;
  return str.charAt(0).toUpperCase() + str.slice(1);
}
var casing_default = {
  kebabToCamelCase,
  pascalCase: toPascalCase,
  camelToKebabCase,
  capitalize
};
export {
  camelToKebabCase,
  capitalize,
  casing_default as default,
  kebabToCamelCase,
  toPascalCase
};
