'use strict';

// src/showmasterpiece/logic/shared/category.ts
var CATEGORY_LABELS = {
  collection: "\u753B\u96C6",
  acrylic: "\u7ACB\u724C",
  badge: "\u5427\u5527",
  color_paper: "\u8272\u7EB8",
  transparent_card: "\u900F\u5361",
  postcard: "\u660E\u4FE1\u7247",
  laser_ticket: "\u956D\u5C04\u7968",
  canvas_bag: "\u5E06\u5E03\u5305",
  spiral_notebook: "\u7EBF\u5708\u672C",
  mouse_pad: "\u9F20\u6807\u57AB",
  support_stick: "\u5E94\u63F4\u68D2",
  keychain: "\u6302\u4EF6/\u94A5\u5319\u6263",
  other: "\u5176\u5B83"
};
var getCategoryLabel = (category) => {
  if (!category) return "\u672A\u5206\u7C7B";
  return CATEGORY_LABELS[String(category)] ?? String(category);
};

// src/showmasterpiece/logic/shared/format.ts
var formatPrice = (price) => {
  if (!price) return "\u4EF7\u683C\u5F85\u5B9A";
  return `\xA5${price}`;
};

exports.CATEGORY_LABELS = CATEGORY_LABELS;
exports.formatPrice = formatPrice;
exports.getCategoryLabel = getCategoryLabel;
//# sourceMappingURL=chunk-TJZDPOO7.js.map
//# sourceMappingURL=chunk-TJZDPOO7.js.map