function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
export var metadataLocaleZhCN = {
  key: '键',
  value: '值',
  label: '标签',
  taint: '污点',
  annotation: '注解',
  labelKey: '标签键',
  taintKey: '污点键',
  annotationKey: '注解键',
  labelValue: '标签值',
  taintValue: '污点值',
  annotationValue: '注解值',
  taintEffect: '污点策略',
  labelEdit: '编辑标签',
  taintEdit: '编辑污点',
  annotationEdit: '编辑注解',
  taintNoScheduleTips: '禁止调度（NoSchedule）：阻止新 Pod 调度到本节点，但已运行的 Pod 不受影响',
  taintPreferNoScheduleTips: '尽量避免调度（PreferNoSchedule）：优先避免将 Pod 调度到本节点，但若无其他可用节点仍会调度',
  taintNoExecuteTips: '驱逐调度（NoExecute）：不仅禁止新 Pod 调度，还会驱逐节点上已存在但未容忍本污点的 Pod',
  characterLen1T36: '长度限制在 1-63 个字符间',
  characterLen253L63: '长度限制在 253 个字符内，每个子域标签长度限制在 63 个字符内',
  characterLenL63: '长度限制在 63 个字符内',
  characterLenL10240: '长度限制在 10240 个字符内',
  labelKeyLower: '标签键',
  taintKeyLower: '污点键',
  annotationKeyLower: '注解键',
  labelValueLower: '标签值',
  taintValueLower: '污点值',
  annotationValueLower: '注解值',
  keyTipsSN1: function keyTipsSN1(name) {
    return "\u6709\u6548\u7684".concat(name, "\u7531");
  },
  keyTipsSN2: '前缀',
  keyTipsSN3: '（可选）和',
  keyTipsSN4: '名称',
  keyTipsSN5: '（必需）构成，两者间用斜杠（/）分隔。',
  keyTipsNameRule: '名称规则限制',
  keyTipsPrefixRule: '前缀规则限制',
  ruleValidCharacterUL: '仅允许使用大小写字母、数字、点（.）、中划线（-）和下划线（_）',
  ruleBeginAndEnd: '必须以大小写字母或数字开头结尾',
  ruleValidCharacterL: '仅允许使用小写字母、数字、点（.）、中划线（-）',
  ruleBeginAndEndAndMore: '必须以小写字母或数字开头结尾，每个子域标签不能以中划线（-）开头或结尾，且不能连续使用点（.）',
  enterPL: function enterPL(name) {
    return "\u8BF7\u8F93\u5165".concat(name);
  },
  enterFirstPL: function enterFirstPL(name) {
    return "\u8BF7\u5148\u8F93\u5165".concat(name);
  },
  ruleInvalid: '不符合输入规则',
  keyRepeat: function keyRepeat(name) {
    return "".concat(name, "\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165");
  },
  taintEffectPL: '请选择污点策略',
  NoSchedule: '禁止调度（NoSchedule）',
  PreferNoSchedule: '尽量避免调度（PreferNoSchedule）',
  NoExecute: '驱逐调度（NoExecute）',
  add: function add(name) {
    return "\u6DFB\u52A0".concat(name);
  }
};
export function mergeMetadataTexts(texts) {
  return _objectSpread(_objectSpread({}, metadataLocaleZhCN), texts);
}