import { defineComponent, toRefs, openBlock, createElementBlock, unref, createElementVNode } from "vue";
import "./index.vue_vue_type_style_index_0_scoped_true_lang.mjs";
import _export_sfc from "../../../../_virtual/plugin-vue_export-helper.mjs";
const _hoisted_1 = { class: "go-border-box" };
const _hoisted_2 = ["width", "height"];
const _hoisted_3 = ["fill", "points"];
const _hoisted_4 = ["fill"];
const _hoisted_5 = ["fill", "cx"];
const _hoisted_6 = ["fill", "cx", "cy"];
const _hoisted_7 = ["fill", "cy"];
const _hoisted_8 = ["stroke", "points"];
const _hoisted_9 = ["stroke", "points"];
const _hoisted_10 = ["stroke", "points"];
const _hoisted_11 = ["stroke", "points"];
const _hoisted_12 = ["stroke"];
const _hoisted_13 = ["stroke"];
const _hoisted_14 = ["stroke", "points"];
const _hoisted_15 = ["stroke", "points"];
const _hoisted_16 = ["stroke", "points"];
const _hoisted_17 = ["stroke", "points"];
const _hoisted_18 = ["stroke", "points"];
const _hoisted_19 = ["stroke", "points"];
const __default__ = defineComponent({ name: "EBorder09" });
const _sfc_main = /* @__PURE__ */ defineComponent({
  ...__default__,
  props: {
    chartConfig: {
      type: Object,
      required: true
    }
  },
  setup(__props) {
    const props = __props;
    const { w, h } = toRefs(props.chartConfig.attr);
    const { colors, backgroundColor } = toRefs(props.chartConfig.option);
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("div", _hoisted_1, [
        (openBlock(), createElementBlock("svg", {
          width: unref(w),
          height: unref(h)
        }, [
          createElementVNode("polygon", {
            fill: unref(backgroundColor),
            points: ` 9, 7 ${unref(w) - 9}, 7 ${unref(w) - 9}, ${unref(h) - 7} 9, ${unref(h) - 7}`
          }, null, 8, _hoisted_3),
          createElementVNode("circle", {
            fill: unref(colors)[1],
            cx: "5",
            cy: "5",
            r: "2"
          }, null, 8, _hoisted_4),
          createElementVNode("circle", {
            fill: unref(colors)[1],
            cx: unref(w) - 5,
            cy: "5",
            r: "2"
          }, null, 8, _hoisted_5),
          createElementVNode("circle", {
            fill: unref(colors)[1],
            cx: unref(w) - 5,
            cy: unref(h) - 5,
            r: "2"
          }, null, 8, _hoisted_6),
          createElementVNode("circle", {
            fill: unref(colors)[1],
            cx: "5",
            cy: unref(h) - 5,
            r: "2"
          }, null, 8, _hoisted_7),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `10, 4 ${unref(w) - 10}, 4`
          }, null, 8, _hoisted_8),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `10, ${unref(h) - 4} ${unref(w) - 10}, ${unref(h) - 4}`
          }, null, 8, _hoisted_9),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `5, 70 5, ${unref(h) - 70}`
          }, null, 8, _hoisted_10),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `${unref(w) - 5}, 70 ${unref(w) - 5}, ${unref(h) - 70}`
          }, null, 8, _hoisted_11),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `3, 10, 3, 50`
          }, null, 8, _hoisted_12),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `7, 30 7, 80`
          }, null, 8, _hoisted_13),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `${unref(w) - 3}, 10 ${unref(w) - 3}, 50`
          }, null, 8, _hoisted_14),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `${unref(w) - 7}, 30 ${unref(w) - 7}, 80`
          }, null, 8, _hoisted_15),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `3, ${unref(h) - 10} 3, ${unref(h) - 50}`
          }, null, 8, _hoisted_16),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `7, ${unref(h) - 30} 7, ${unref(h) - 80}`
          }, null, 8, _hoisted_17),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `${unref(w) - 3}, ${unref(h) - 10} ${unref(w) - 3}, ${unref(h) - 50}`
          }, null, 8, _hoisted_18),
          createElementVNode("polyline", {
            stroke: unref(colors)[0],
            points: `${unref(w) - 7}, ${unref(h) - 30} ${unref(w) - 7}, ${unref(h) - 80}`
          }, null, 8, _hoisted_19)
        ], 8, _hoisted_2))
      ]);
    };
  }
});
var _EBorder09 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-435b2e84"]]);
export { _EBorder09 as default };
