const o = (r, n) => {
  if (console.log("text", r, n), typeof r != "string")
    return r;
  try {
    if (n === "json")
      return JSON.stringify(JSON.parse(r), null, 2);
  } catch {
  }
  return r;
};
export {
  o as languageFormat
};
