import { cloneDeep as o } from "lodash";
const l = "2.0.0", n = (t) => {
  const e = o(t);
  return e.version !== l ? {
    style: e.css,
    default: {
      defaultValue: e.defaultValue,
      trueValue: e.trueValue,
      falseValue: e.falseValue
    },
    textDescription: {
      onText: {
        value: "开启",
        textStyle: {
          "-webkit-text-stroke-width": 0,
          color: "#FCEEBB",
          alignItems: "center",
          letterSpacing: 0,
          fontStyle: "normal",
          "-webkit-text-stroke-color": "#000000",
          justifyContent: "center",
          fontFamily: "SHJ-Alibaba-PuHuiTi-Regular-woff",
          fontSize: 16,
          textAlign: "left",
          lineHeight: 1,
          textOverflow: { enable: !1, displayLines: 1 },
          textShadow: { color: "#000000", show: !1, x: 1, y: 1, value: 1 },
          fontWeight: "500"
        }
      },
      offText: {
        value: "关闭",
        textStyle: {
          "-webkit-text-stroke-width": 0,
          color: "#FCEEBB",
          alignItems: "center",
          letterSpacing: 0,
          fontStyle: "normal",
          "-webkit-text-stroke-color": "#000000",
          justifyContent: "center",
          fontFamily: "SHJ-Alibaba-PuHuiTi-Regular-woff",
          fontSize: 16,
          textAlign: "left",
          lineHeight: 1,
          textOverflow: { enable: !1, displayLines: 1 },
          textShadow: { color: "#000000", show: !1, x: 1, y: 1, value: 1 },
          fontWeight: "500"
        }
      }
    },
    version: l
  } : t;
};
export {
  l as VERSION,
  n as upgradeSwitch
};
