"use strict";
var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => {
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
  return value;
};
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js");
require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
const publicConfig = require("../../../../public/publicConfig.js");
const index = require("./index.js");
const designSetting = require("../../../../../settings/designSetting.js");
const cloneDeep = require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/cloneDeep.js");
var FontWeightEnum = /* @__PURE__ */ ((FontWeightEnum2) => {
  FontWeightEnum2["NORMAL"] = "常规";
  FontWeightEnum2["BOLD"] = "加粗";
  return FontWeightEnum2;
})(FontWeightEnum || {});
const FontWeightObject = {
  [
    "常规"
    /* NORMAL */
  ]: "normal",
  [
    "加粗"
    /* BOLD */
  ]: "bold"
};
const option = {
  dataset: "让数字化看得见",
  fontSize: 32,
  fontColor: "#ffffff",
  fontWeight: "normal",
  // 字间距
  letterSpacing: 5,
  //阴影
  showShadow: true,
  boxShadow: "none",
  hShadow: 0,
  vShadow: 0,
  blurShadow: 8,
  colorShadow: "#0075ff",
  //动画
  animationTime: 0,
  animationSpeed: 50
};
class Config extends publicConfig.PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", index.TextBarrageConfig.key);
    __publicField(this, "attr", { ...designSetting.chartInitConfig, w: 500, h: 70, zIndex: -1 });
    __publicField(this, "chartConfig", cloneDeep.default(index.TextBarrageConfig));
    __publicField(this, "option", cloneDeep.default(option));
    __publicField(this, "preview", { overFlowHidden: true });
  }
}
exports.FontWeightEnum = FontWeightEnum;
exports.FontWeightObject = FontWeightObject;
exports.default = Config;
exports.option = option;
