alit-layout 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as J, openBlock as s, createElementBlock as d, Fragment as M, renderList as V, createElementVNode as g, normalizeStyle as W, unref as x, toDisplayString as X, createCommentVNode as P, ref as Q, watch as Ae, normalizeClass as te, computed as A, createBlock as U, createTextVNode as Ke, createVNode as K, pushScopeId as Re, popScopeId as Ge, renderSlot as it, onMounted as Ve, nextTick as Je, withModifiers as Le, resolveComponent as Ht, resolveDynamicComponent as mt, normalizeProps as yt, guardReactiveProps as _t, withCtx as It, inject as Rt, withDirectives as ft, provide as Gt } from "vue";
1
+ import { defineComponent as V, openBlock as s, createElementBlock as d, Fragment as M, renderList as X, createElementVNode as g, normalizeStyle as W, unref as x, toDisplayString as j, createCommentVNode as P, ref as q, watch as Ae, normalizeClass as te, computed as A, createBlock as Q, createTextVNode as Ke, createVNode as U, pushScopeId as Re, popScopeId as Ge, renderSlot as it, onMounted as Ve, nextTick as Je, withModifiers as Le, resolveComponent as Ht, resolveDynamicComponent as mt, normalizeProps as yt, guardReactiveProps as _t, withCtx as It, inject as Rt, withDirectives as ft, provide as Gt } from "vue";
2
2
  const Lt = {
3
3
  // 选择题
4
4
  choice: "MULTIPLE_RADIO_QUESTION",
@@ -530,7 +530,7 @@ const Lt = {
530
530
  2: 1,
531
531
  3: 1
532
532
  }
533
- }, q = {
533
+ }, Y = {
534
534
  page: "page",
535
535
  headline: "headline",
536
536
  text: "text",
@@ -738,7 +738,7 @@ const Lt = {
738
738
  type: "radio",
739
739
  label: "横向分栏",
740
740
  key: y.article.col_a,
741
- target: [q.headline],
741
+ target: [Y.headline],
742
742
  show: (e) => ![p.art].includes(e.problemType) && e.layoutMode === "column",
743
743
  option: [
744
744
  { name: "1栏", code: T.col_1 },
@@ -751,7 +751,7 @@ const Lt = {
751
751
  type: "radio",
752
752
  label: "横向分栏",
753
753
  key: y.article.col_a,
754
- target: [q.headline],
754
+ target: [Y.headline],
755
755
  show: (e) => ![p.art].includes(e.problemType) && e.layoutMode === "column",
756
756
  option: [
757
757
  { name: "1栏", code: T.col_1 },
@@ -768,7 +768,7 @@ const Lt = {
768
768
  label: "插入题号样式控制",
769
769
  key: y.article.slove_d,
770
770
  code: "slove_insert_sub",
771
- target: [q.problem],
771
+ target: [Y.problem],
772
772
  option: [
773
773
  { name: "无", code: T.slove_5 },
774
774
  { name: "下划线", code: T.slove_6 }
@@ -851,7 +851,7 @@ const Lt = {
851
851
  label: "插入题号样式控制",
852
852
  key: y.article.slove_d,
853
853
  code: "slove_insert_sub",
854
- target: [q.problem],
854
+ target: [Y.problem],
855
855
  option: [
856
856
  { name: "无", code: T.slove_5 },
857
857
  { name: "下划线", code: T.slove_6 }
@@ -874,7 +874,7 @@ const Lt = {
874
874
  key: y.article.art_c,
875
875
  detail: !0,
876
876
  unit: "字",
877
- target: [q.problem]
877
+ target: [Y.problem]
878
878
  },
879
879
  {
880
880
  type: "slider",
@@ -883,7 +883,7 @@ const Lt = {
883
883
  detail: !0,
884
884
  min: () => 1,
885
885
  max: (e) => Math.floor(e.style[y.article.art_c] / e.style[y.article.art_e]),
886
- target: [q.problem]
886
+ target: [Y.problem]
887
887
  },
888
888
  {
889
889
  type: "radio",
@@ -894,7 +894,7 @@ const Lt = {
894
894
  { name: "100", code: 100 }
895
895
  ],
896
896
  detail: !0,
897
- target: [q.problem]
897
+ target: [Y.problem]
898
898
  }
899
899
  ]
900
900
  },
@@ -971,7 +971,7 @@ const Lt = {
971
971
  type: "radio",
972
972
  label: "分题换行",
973
973
  key: y.sheet.fill_c,
974
- target: [q.page, q.headline],
974
+ target: [Y.page, Y.headline],
975
975
  show: (e) => !e.style[y.sheet.fill_b],
976
976
  option: [
977
977
  { name: "开启", code: T.fill_1 },
@@ -1012,7 +1012,7 @@ const Lt = {
1012
1012
  type: "slider",
1013
1013
  label: "每空高度",
1014
1014
  key: y.sheet.fill_e,
1015
- target: [q.page, q.headline],
1015
+ target: [Y.page, Y.headline],
1016
1016
  show: (e) => !e.style[y.sheet.fill_b],
1017
1017
  max: () => 20
1018
1018
  }
@@ -1034,7 +1034,7 @@ const Lt = {
1034
1034
  label: "每空宽度",
1035
1035
  key: y.sheet.fill_d,
1036
1036
  filter: (e, t) => e.mixType[t].problemType === p.fill,
1037
- target: [q.problem],
1037
+ target: [Y.problem],
1038
1038
  show: (e) => !e.style[y.sheet.mix_a] && (e.mixType || []).find((t) => t.problemType === p.fill),
1039
1039
  option: [
1040
1040
  { name: "1", code: 1 },
@@ -1066,7 +1066,7 @@ const Lt = {
1066
1066
  type: "radio",
1067
1067
  label: "排列方向",
1068
1068
  key: y.sheet.choice_b,
1069
- target: [q.problem],
1069
+ target: [Y.problem],
1070
1070
  show: (e) => !e.style[y.sheet.mix_a] && !(e.mixType || []).find((t) => ![p.choice, p.choice_multiple].includes(t.problemType)),
1071
1071
  option: [
1072
1072
  { name: "横向", code: T.landscape },
@@ -1092,7 +1092,7 @@ const Lt = {
1092
1092
  key: y.sheet.art_c,
1093
1093
  detail: !0,
1094
1094
  unit: "字",
1095
- target: [q.problem]
1095
+ target: [Y.problem]
1096
1096
  },
1097
1097
  {
1098
1098
  type: "slider",
@@ -1101,7 +1101,7 @@ const Lt = {
1101
1101
  detail: !0,
1102
1102
  min: () => 1,
1103
1103
  max: (e) => Math.floor(e.style[y.sheet.art_c] / e.style[y.sheet.art_e]),
1104
- target: [q.problem]
1104
+ target: [Y.problem]
1105
1105
  },
1106
1106
  {
1107
1107
  type: "radio",
@@ -1112,7 +1112,7 @@ const Lt = {
1112
1112
  { name: "100", code: 100 }
1113
1113
  ],
1114
1114
  detail: !0,
1115
- target: [q.problem]
1115
+ target: [Y.problem]
1116
1116
  }
1117
1117
  ],
1118
1118
  // 综合题
@@ -1165,7 +1165,7 @@ const Lt = {
1165
1165
  {
1166
1166
  type: "slider",
1167
1167
  label: "列数",
1168
- target: [q.headline],
1168
+ target: [Y.headline],
1169
1169
  key: y.sheetCard.choice_d,
1170
1170
  show: (e) => e.style[y.sheetCard.choice_a] !== T.choice_2,
1171
1171
  min: () => 2,
@@ -1201,7 +1201,7 @@ const Lt = {
1201
1201
  type: "radio",
1202
1202
  label: "分题换行",
1203
1203
  key: y.sheetCard.fill_c,
1204
- target: [q.page, q.headline],
1204
+ target: [Y.page, Y.headline],
1205
1205
  show: (e) => !e.style[y.sheetCard.fill_b],
1206
1206
  option: [
1207
1207
  { name: "开启", code: T.fill_1 },
@@ -1242,7 +1242,7 @@ const Lt = {
1242
1242
  type: "slider",
1243
1243
  label: "每空高度",
1244
1244
  key: y.sheetCard.fill_e,
1245
- target: [q.page, q.headline],
1245
+ target: [Y.page, Y.headline],
1246
1246
  show: (e) => !e.style[y.sheetCard.fill_b],
1247
1247
  max: () => 20
1248
1248
  }
@@ -1255,7 +1255,7 @@ const Lt = {
1255
1255
  label: "每空宽度",
1256
1256
  key: y.sheetCard.fill_d,
1257
1257
  filter: (e, t) => e.mixType[t].problemType === p.fill,
1258
- target: [q.problem],
1258
+ target: [Y.problem],
1259
1259
  show: (e) => !e.style[y.sheetCard.mix_a] && (e.mixType || []).find((t) => t.problemType === p.fill),
1260
1260
  option: [
1261
1261
  { name: "1", code: 1 },
@@ -1287,7 +1287,7 @@ const Lt = {
1287
1287
  type: "radio",
1288
1288
  label: "排列方向",
1289
1289
  key: y.sheetCard.choice_b,
1290
- target: [q.problem],
1290
+ target: [Y.problem],
1291
1291
  show: (e) => !e.style[y.sheetCard.mix_a] && !(e.mixType || []).find((t) => ![p.choice, p.choice_multiple].includes(t.problemType)),
1292
1292
  option: [
1293
1293
  { name: "横向", code: T.landscape },
@@ -1311,7 +1311,7 @@ const Lt = {
1311
1311
  key: y.sheetCard.art_c,
1312
1312
  detail: !0,
1313
1313
  unit: "字",
1314
- target: [q.problem]
1314
+ target: [Y.problem]
1315
1315
  },
1316
1316
  {
1317
1317
  type: "slider",
@@ -1320,7 +1320,7 @@ const Lt = {
1320
1320
  detail: !0,
1321
1321
  min: () => 1,
1322
1322
  max: (e) => Math.floor(e.style[y.sheetCard.art_c] / e.style[y.sheetCard.art_e]),
1323
- target: [q.problem]
1323
+ target: [Y.problem]
1324
1324
  },
1325
1325
  {
1326
1326
  type: "radio",
@@ -1331,7 +1331,7 @@ const Lt = {
1331
1331
  { name: "100", code: 100 }
1332
1332
  ],
1333
1333
  detail: !0,
1334
- target: [q.problem]
1334
+ target: [Y.problem]
1335
1335
  }
1336
1336
  ],
1337
1337
  // 综合题
@@ -1489,7 +1489,7 @@ const Lt = {
1489
1489
  subRangeOption: Jt,
1490
1490
  subRule: Qe,
1491
1491
  subRuleOption: Zt,
1492
- toolGroup: q
1492
+ toolGroup: Y
1493
1493
  }, Symbol.toStringTag, { value: "Module" })), ct = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), ho = "TF".split(""), po = {
1494
1494
  a4: "TYPE_A4",
1495
1495
  a4x: "TYPE_A4",
@@ -1568,7 +1568,7 @@ const Lt = {
1568
1568
  // 选做题
1569
1569
  [be.another_choice]: "TYPE_SINGLECHOICE"
1570
1570
  // 附加选做题
1571
- }, yo = ["data-xine"], _o = ["data-xine"], fo = ["data-xine"], go = ["data-xine"], bo = ["data-xine"], vo = /* @__PURE__ */ J({
1571
+ }, yo = ["data-xine"], _o = ["data-xine"], fo = ["data-xine"], go = ["data-xine"], bo = ["data-xine"], vo = /* @__PURE__ */ V({
1572
1572
  __name: "point",
1573
1573
  props: {
1574
1574
  layout: {},
@@ -1611,21 +1611,21 @@ const Lt = {
1611
1611
  return (l, i) => {
1612
1612
  var c;
1613
1613
  return s(), d(M, null, [
1614
- (s(), d(M, null, V(["lt", "rt", "lb", "rb"], (u) => g("span", {
1614
+ (s(), d(M, null, X(["lt", "rt", "lb", "rb"], (u) => g("span", {
1615
1615
  key: u,
1616
1616
  class: "absolute w-8 bg-black point_item",
1617
1617
  style: W(o(u)),
1618
1618
  "data-xine": x(C).point + u
1619
1619
  }, null, 12, yo)), 64)),
1620
- (s(!0), d(M, null, V((l.currentPage % 2 ? l.layout.backColumn : l.layout.column) - 1, (u) => (s(), d(M, { key: u }, [
1621
- (s(), d(M, null, V(["t", "b"], (m) => g("span", {
1620
+ (s(!0), d(M, null, X((l.currentPage % 2 ? l.layout.backColumn : l.layout.column) - 1, (u) => (s(), d(M, { key: u }, [
1621
+ (s(), d(M, null, X(["t", "b"], (m) => g("span", {
1622
1622
  key: m,
1623
1623
  class: "absolute bg-black w-8 point_item",
1624
1624
  style: W(n(u, m)),
1625
1625
  "data-xine": x(C).point + m
1626
1626
  }, null, 12, _o)), 64))
1627
1627
  ], 64))), 128)),
1628
- (s(), d(M, null, V(["l", "r"], (u) => g("span", {
1628
+ (s(), d(M, null, X(["l", "r"], (u) => g("span", {
1629
1629
  key: u,
1630
1630
  class: "absolute bg-black h-8",
1631
1631
  style: W(r(u)),
@@ -1636,7 +1636,7 @@ const Lt = {
1636
1636
  style: W(a()),
1637
1637
  "data-xine": x(C).page
1638
1638
  }, [
1639
- (s(!0), d(M, null, V(l.currentPage + 1, (u, m) => (s(), d("span", {
1639
+ (s(!0), d(M, null, X(l.currentPage + 1, (u, m) => (s(), d("span", {
1640
1640
  key: u,
1641
1641
  class: "inline-block bg-black mx-2 page_item",
1642
1642
  "data-xine": x(C).page_item + m
@@ -1646,11 +1646,11 @@ const Lt = {
1646
1646
  key: 0,
1647
1647
  class: "absolute top-3/4 translate-x-1/2 rotate-90 text-sm red_sheet",
1648
1648
  style: W({ right: `${l.padding.right - 12}px` })
1649
- }, "提示:本卷" + X((c = x(ze).find((u) => u.code === l.layout.paper)) == null ? void 0 : c.name) + "纸张", 5)),
1649
+ }, "提示:本卷" + j((c = x(ze).find((u) => u.code === l.layout.paper)) == null ? void 0 : c.name) + "纸张", 5)),
1650
1650
  g("span", {
1651
1651
  class: "absolute text-sm red_sheet",
1652
1652
  style: W({ right: `${l.padding.bottom - 20 + 75}px`, bottom: `${l.padding.bottom - 20 - 3}px` })
1653
- }, X(l.currentPage + 1) + "/" + X(l.totalPage), 5)
1653
+ }, j(l.currentPage + 1) + "/" + j(l.totalPage), 5)
1654
1654
  ], 64);
1655
1655
  };
1656
1656
  }
@@ -1663,7 +1663,7 @@ const ce = (e, t) => {
1663
1663
  }, wo = /* @__PURE__ */ ce(vo, [["__scopeId", "data-v-44fe37c1"]]), xo = { class: "flex-1" }, ko = ["type", "placeholder", "maxlength", "value"], Co = {
1664
1664
  key: 0,
1665
1665
  class: "flex-shrink-0 ml-2 text-text3"
1666
- }, et = /* @__PURE__ */ J({
1666
+ }, et = /* @__PURE__ */ V({
1667
1667
  __name: "index",
1668
1668
  props: {
1669
1669
  value: { default: "" },
@@ -1678,7 +1678,7 @@ const ce = (e, t) => {
1678
1678
  },
1679
1679
  emits: ["change", "input", "focus", "blur"],
1680
1680
  setup(e, { emit: t }) {
1681
- const o = e, a = Q(o.value), n = Q(!1);
1681
+ const o = e, a = q(o.value), n = q(!1);
1682
1682
  Ae(() => o.value, () => {
1683
1683
  a.value = o.value;
1684
1684
  });
@@ -1709,10 +1709,10 @@ const ce = (e, t) => {
1709
1709
  onBlur: c
1710
1710
  }, null, 42, ko)
1711
1711
  ]),
1712
- u.unit ? (s(), d("span", Co, X(u.unit), 1)) : P("", !0)
1712
+ u.unit ? (s(), d("span", Co, j(u.unit), 1)) : P("", !0)
1713
1713
  ], 2));
1714
1714
  }
1715
- }), $o = /* @__PURE__ */ J({
1715
+ }), $o = /* @__PURE__ */ V({
1716
1716
  __name: "slogan",
1717
1717
  props: {
1718
1718
  info: {},
@@ -1724,7 +1724,7 @@ const ce = (e, t) => {
1724
1724
  right: `${a.value.right + 97}px`,
1725
1725
  bottom: `${a.value.bottom - 25}px`
1726
1726
  }));
1727
- return (r, l) => (s(), U(et, {
1727
+ return (r, l) => (s(), Q(et, {
1728
1728
  class: "absolute w-72 text-sm",
1729
1729
  value: r.info.slogan,
1730
1730
  maxLength: 12,
@@ -1736,7 +1736,7 @@ const ce = (e, t) => {
1736
1736
  onChange: l[0] || (l[0] = (i) => t("change", { slogin: i }))
1737
1737
  }, null, 8, ["value", "style"]));
1738
1738
  }
1739
- }), So = ["width", "height"], To = ["xlink:href"], Io = /* @__PURE__ */ J({
1739
+ }), So = ["width", "height"], To = ["xlink:href"], Io = /* @__PURE__ */ V({
1740
1740
  __name: "index",
1741
1741
  props: {
1742
1742
  width: { default: 1.5 },
@@ -1762,7 +1762,7 @@ const ce = (e, t) => {
1762
1762
  const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { class: "flex items-center text-black text-sm h-6 mb-2" }, Fo = {
1763
1763
  key: 0,
1764
1764
  class: "flex items-center"
1765
- }, Eo = { class: "px-2 ml-2 border leading-none" }, Mo = /* @__PURE__ */ J({
1765
+ }, Eo = { class: "px-2 ml-2 border leading-none" }, Mo = /* @__PURE__ */ V({
1766
1766
  __name: "secrecy",
1767
1767
  props: {
1768
1768
  layout: {},
@@ -1772,17 +1772,17 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1772
1772
  return (t, o) => (s(), d("div", Lo, [
1773
1773
  t.layout.secrecyFlag ? (s(), d("p", Fo, [
1774
1774
  Ke("绝密"),
1775
- K(_e, {
1775
+ U(_e, {
1776
1776
  name: "fiveArrow",
1777
1777
  width: 1.4,
1778
1778
  class: "px-0 py-0"
1779
1779
  }),
1780
1780
  Ke("启用前")
1781
1781
  ])) : P("", !0),
1782
- g("p", Eo, "ID:" + X(t.code), 1)
1782
+ g("p", Eo, "ID:" + j(t.code), 1)
1783
1783
  ]));
1784
1784
  }
1785
- }), Po = ["innerHTML"], Oe = /* @__PURE__ */ J({
1785
+ }), Po = ["innerHTML"], Oe = /* @__PURE__ */ V({
1786
1786
  __name: "index",
1787
1787
  props: {
1788
1788
  value: {},
@@ -1815,7 +1815,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1815
1815
  }, Qo = /* @__PURE__ */ g("span", { class: "flex-shrink-0" }, "审核人:", -1), Uo = {
1816
1816
  key: 4,
1817
1817
  class: "flex items-center mx-4"
1818
- }, Ko = /* @__PURE__ */ g("span", null, "总", -1), jo = { key: 1 }, Xo = { key: 3 }, Vo = { key: 1 }, Jo = { key: 3 }, Zo = /* @__PURE__ */ g("span", null, ")", -1), ea = { key: 1 }, ta = /* @__PURE__ */ J({
1818
+ }, Ko = /* @__PURE__ */ g("span", null, "总", -1), jo = { key: 1 }, Xo = { key: 3 }, Vo = { key: 1 }, Jo = { key: 3 }, Zo = /* @__PURE__ */ g("span", null, ")", -1), ea = { key: 1 }, ta = /* @__PURE__ */ V({
1819
1819
  __name: "title",
1820
1820
  props: {
1821
1821
  info: {},
@@ -1834,13 +1834,13 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1834
1834
  "data-xine": x(C).art_code
1835
1835
  }, null, 8, Ao),
1836
1836
  g("div", No, [
1837
- K(Oe, {
1837
+ U(Oe, {
1838
1838
  class: "w-full text-center border-2 border-transparent focus:border-current",
1839
1839
  value: l.info.title,
1840
1840
  style: W(l.fontConfig.titleStyle),
1841
1841
  onChange: i[0] || (i[0] = (c) => t("change", { title: c }))
1842
1842
  }, null, 8, ["value", "style"]),
1843
- l.layout.secTitleFlag ? (s(), U(Oe, {
1843
+ l.layout.secTitleFlag ? (s(), Q(Oe, {
1844
1844
  key: 0,
1845
1845
  class: "w-full text-center border-2 border-transparent focus:border-current",
1846
1846
  value: l.info.secTitle,
@@ -1850,7 +1850,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1850
1850
  g("div", Bo, [
1851
1851
  l.layout.examExtentFlag ? (s(), d("p", Oo, [
1852
1852
  zo,
1853
- K(Oe, {
1853
+ U(Oe, {
1854
1854
  class: "flex-1",
1855
1855
  value: l.info.extent,
1856
1856
  onChange: i[2] || (i[2] = (c) => t("change", { extent: c }))
@@ -1858,7 +1858,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1858
1858
  ])) : P("", !0),
1859
1859
  l.layout.examTimeFlag ? (s(), d("p", Ho, [
1860
1860
  Ro,
1861
- K(et, {
1861
+ U(et, {
1862
1862
  value: l.info.time,
1863
1863
  class: "text-center",
1864
1864
  type: "number",
@@ -1871,7 +1871,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1871
1871
  ])) : P("", !0),
1872
1872
  l.layout.authorFlag ? (s(), d("p", Wo, [
1873
1873
  Yo,
1874
- K(Oe, {
1874
+ U(Oe, {
1875
1875
  class: "flex-1",
1876
1876
  value: l.info.author,
1877
1877
  onChange: i[4] || (i[4] = (c) => t("change", { author: c }))
@@ -1879,7 +1879,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1879
1879
  ])) : P("", !0),
1880
1880
  l.layout.reviewerFlag ? (s(), d("p", qo, [
1881
1881
  Qo,
1882
- K(Oe, {
1882
+ U(Oe, {
1883
1883
  class: "flex-1",
1884
1884
  value: l.info.reviewer,
1885
1885
  onChange: i[5] || (i[5] = (c) => t("change", { reviewer: c }))
@@ -1887,26 +1887,26 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1887
1887
  ])) : P("", !0),
1888
1888
  l.layout.totalScoreFlag ? (s(), d("p", Uo, [
1889
1889
  Ko,
1890
- r.value ? (s(), U(_e, {
1890
+ r.value ? (s(), Q(_e, {
1891
1891
  key: 0,
1892
1892
  name: r.value,
1893
1893
  class: "p-0 -translate-y-[1px]"
1894
1894
  }, null, 8, ["name"])) : (s(), d("span", jo, "分")),
1895
- g("span", null, ":" + X(a.value + (l.layout.writeScoreFlag ? l.info.writeScore : 0)), 1),
1896
- r.value ? (s(), U(_e, {
1895
+ g("span", null, ":" + j(a.value + (l.layout.writeScoreFlag ? l.info.writeScore : 0)), 1),
1896
+ r.value ? (s(), Q(_e, {
1897
1897
  key: 2,
1898
1898
  name: r.value,
1899
1899
  class: "p-0 -translate-y-[1px]"
1900
1900
  }, null, 8, ["name"])) : (s(), d("span", Xo, "分")),
1901
1901
  l.layout.writeScoreFlag ? (s(), d(M, { key: 4 }, [
1902
- g("span", null, "(试题" + X(a.value), 1),
1903
- r.value ? (s(), U(_e, {
1902
+ g("span", null, "(试题" + j(a.value), 1),
1903
+ r.value ? (s(), Q(_e, {
1904
1904
  key: 0,
1905
1905
  name: r.value,
1906
1906
  class: "p-0 -translate-y-[1px]"
1907
1907
  }, null, 8, ["name"])) : (s(), d("span", Vo, "分")),
1908
- g("span", null, "+卷面" + X(l.info.writeScore || 0), 1),
1909
- r.value ? (s(), U(_e, {
1908
+ g("span", null, "+卷面" + j(l.info.writeScore || 0), 1),
1909
+ r.value ? (s(), Q(_e, {
1910
1910
  key: 2,
1911
1911
  name: r.value,
1912
1912
  class: "p-0 -translate-y-[1px]"
@@ -1914,8 +1914,8 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1914
1914
  Zo
1915
1915
  ], 64)) : P("", !0),
1916
1916
  n.value ? (s(), d(M, { key: 5 }, [
1917
- g("span", null, ";附加题:" + X(n.value), 1),
1918
- r.value ? (s(), U(_e, {
1917
+ g("span", null, ";附加题:" + j(n.value), 1),
1918
+ r.value ? (s(), Q(_e, {
1919
1919
  key: 0,
1920
1920
  name: r.value,
1921
1921
  class: "p-0 -translate-y-[1px]"
@@ -1926,7 +1926,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1926
1926
  ])
1927
1927
  ]));
1928
1928
  }
1929
- }), oa = { class: "flex-1 flex flex-col ml-2" }, gt = /* @__PURE__ */ J({
1929
+ }), oa = { class: "flex-1 flex flex-col ml-2" }, gt = /* @__PURE__ */ V({
1930
1930
  __name: "examInfoNone",
1931
1931
  props: {
1932
1932
  extent: {}
@@ -1935,11 +1935,11 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1935
1935
  setup(e, { emit: t }) {
1936
1936
  const o = ["examNumField", "examRoomField", "seatField"];
1937
1937
  return (a, n) => (s(), d("ul", oa, [
1938
- (s(), d(M, null, V(o, (r) => g("li", {
1938
+ (s(), d(M, null, X(o, (r) => g("li", {
1939
1939
  key: r,
1940
1940
  class: "flex flex-1"
1941
1941
  }, [
1942
- K(et, {
1942
+ U(et, {
1943
1943
  value: a.extent[r],
1944
1944
  class: "px-0",
1945
1945
  placeholder: "",
@@ -1949,7 +1949,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1949
1949
  ])), 64))
1950
1950
  ]));
1951
1951
  }
1952
- }), aa = ["data-xine"], la = { class: "flex items-center" }, na = ["data-xine"], sa = ["data-xine"], ia = ["data-xine"], ra = /* @__PURE__ */ J({
1952
+ }), aa = ["data-xine"], la = { class: "flex items-center" }, na = ["data-xine"], sa = ["data-xine"], ia = ["data-xine"], ra = /* @__PURE__ */ V({
1953
1953
  __name: "examInfoSeat",
1954
1954
  setup(e) {
1955
1955
  return (t, o) => (s(), d("div", {
@@ -1957,7 +1957,7 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1957
1957
  "data-xine": x(C).en_num_view
1958
1958
  }, [
1959
1959
  g("p", la, [
1960
- K(_e, {
1960
+ U(_e, {
1961
1961
  class: "pt-1",
1962
1962
  name: "fiveArrow"
1963
1963
  }),
@@ -1967,22 +1967,22 @@ const _e = /* @__PURE__ */ ce(Io, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1967
1967
  class: "flex-1 flex flex-col",
1968
1968
  "data-xine": x(C).en_num
1969
1969
  }, [
1970
- (s(), d(M, null, V(3, (a, n) => g("p", {
1970
+ (s(), d(M, null, X(3, (a, n) => g("p", {
1971
1971
  key: a,
1972
1972
  class: "flex-1 flex items-center text-0 px-1 border-t",
1973
1973
  "data-xine": x(C).en_num_group
1974
1974
  }, [
1975
- (s(), d(M, null, V(10, (r) => g("span", {
1975
+ (s(), d(M, null, X(10, (r) => g("span", {
1976
1976
  key: r,
1977
1977
  class: "flex items-center justify-between flex-nowrap item",
1978
1978
  "data-xine": x(C).en_num_item
1979
- }, X(r - 1), 9, ia)), 64))
1979
+ }, j(r - 1), 9, ia)), 64))
1980
1980
  ], 8, sa)), 64))
1981
1981
  ], 8, na)
1982
1982
  ], 8, aa));
1983
1983
  }
1984
1984
  });
1985
- const bt = /* @__PURE__ */ ce(ra, [["__scopeId", "data-v-96b857fd"]]), ca = ["data-xine"], da = { class: "flex items-center border-r tracking-[5px] text_dir" }, ua = ["data-xine"], ha = ["data-xine"], pa = ["data-xine"], ma = /* @__PURE__ */ J({
1985
+ const bt = /* @__PURE__ */ ce(ra, [["__scopeId", "data-v-96b857fd"]]), ca = ["data-xine"], da = { class: "flex items-center border-r tracking-[5px] text_dir" }, ua = ["data-xine"], ha = ["data-xine"], pa = ["data-xine"], ma = /* @__PURE__ */ V({
1986
1986
  __name: "examInfoShort",
1987
1987
  setup(e) {
1988
1988
  return (t, o) => (s(), d("div", {
@@ -1990,7 +1990,7 @@ const bt = /* @__PURE__ */ ce(ra, [["__scopeId", "data-v-96b857fd"]]), ca = ["da
1990
1990
  "data-xine": x(C).en_num_view
1991
1991
  }, [
1992
1992
  g("p", da, [
1993
- K(_e, {
1993
+ U(_e, {
1994
1994
  class: "px-1 pt-1",
1995
1995
  name: "fiveArrow"
1996
1996
  }),
@@ -2000,22 +2000,22 @@ const bt = /* @__PURE__ */ ce(ra, [["__scopeId", "data-v-96b857fd"]]), ca = ["da
2000
2000
  class: "flex-1 flex flex-col",
2001
2001
  "data-xine": x(C).en_num
2002
2002
  }, [
2003
- (s(), d(M, null, V(4, (a, n) => g("p", {
2003
+ (s(), d(M, null, X(4, (a, n) => g("p", {
2004
2004
  key: a,
2005
2005
  class: te(["flex-1 flex items-center text-0 px-1", n && "border-t"]),
2006
2006
  "data-xine": x(C).en_num_group
2007
2007
  }, [
2008
- (s(), d(M, null, V(10, (r) => g("span", {
2008
+ (s(), d(M, null, X(10, (r) => g("span", {
2009
2009
  key: r,
2010
2010
  class: "flex items-center justify-between flex-nowrap item",
2011
2011
  "data-xine": x(C).en_num_item
2012
- }, X(r - 1), 9, pa)), 64))
2012
+ }, j(r - 1), 9, pa)), 64))
2013
2013
  ], 10, ha)), 64))
2014
2014
  ], 8, ua)
2015
2015
  ], 8, ca));
2016
2016
  }
2017
2017
  });
2018
- const vt = /* @__PURE__ */ ce(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { class: "flex-1 flex flex-col" }, _a = /* @__PURE__ */ J({
2018
+ const vt = /* @__PURE__ */ ce(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { class: "flex-1 flex flex-col" }, _a = /* @__PURE__ */ V({
2019
2019
  __name: "examInfoBase",
2020
2020
  props: {
2021
2021
  extent: {}
@@ -2024,11 +2024,11 @@ const vt = /* @__PURE__ */ ce(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { cl
2024
2024
  setup(e, { emit: t }) {
2025
2025
  const o = ["nameField", "classField", "scoreField"];
2026
2026
  return (a, n) => (s(), d("ul", ya, [
2027
- (s(), d(M, null, V(o, (r) => g("li", {
2027
+ (s(), d(M, null, X(o, (r) => g("li", {
2028
2028
  key: r,
2029
2029
  class: "flex flex-1"
2030
2030
  }, [
2031
- K(et, {
2031
+ U(et, {
2032
2032
  value: a.extent[r],
2033
2033
  class: "px-0",
2034
2034
  placeholder: "",
@@ -2043,7 +2043,7 @@ const vt = /* @__PURE__ */ ce(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { cl
2043
2043
  class: "flex"
2044
2044
  }, ba = ["data-xine"], va = /* @__PURE__ */ fa(() => /* @__PURE__ */ g("span", { class: "font-bold tips" }, "贴条码区域", -1)), wa = [
2045
2045
  va
2046
- ], xa = /* @__PURE__ */ J({
2046
+ ], xa = /* @__PURE__ */ V({
2047
2047
  __name: "examInfo",
2048
2048
  props: {
2049
2049
  layout: {},
@@ -2055,22 +2055,22 @@ const vt = /* @__PURE__ */ ce(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { cl
2055
2055
  const o = e, a = A(() => o.layout.column >= 3 && o.layout.seatType === ve.none);
2056
2056
  return (n, r) => n.isBindFlag ? P("", !0) : (s(), d("div", ga, [
2057
2057
  a.value ? (s(), d(M, { key: 0 }, [
2058
- n.layout.seatType === x(ve).none ? (s(), U(gt, {
2058
+ n.layout.seatType === x(ve).none ? (s(), Q(gt, {
2059
2059
  key: 0,
2060
2060
  extent: n.info.extentInfo,
2061
2061
  onChange: r[0] || (r[0] = (l) => t("change", l))
2062
- }, null, 8, ["extent"])) : n.layout.seatType === x(ve).seat ? (s(), U(bt, { key: 1 })) : n.layout.seatType === x(ve).shortId ? (s(), U(vt, { key: 2 })) : P("", !0)
2062
+ }, null, 8, ["extent"])) : n.layout.seatType === x(ve).seat ? (s(), Q(bt, { key: 1 })) : n.layout.seatType === x(ve).shortId ? (s(), Q(vt, { key: 2 })) : P("", !0)
2063
2063
  ], 64)) : P("", !0),
2064
- K(_a, {
2064
+ U(_a, {
2065
2065
  extent: n.info.extentInfo,
2066
2066
  onChange: r[1] || (r[1] = (l) => t("change", l))
2067
2067
  }, null, 8, ["extent"]),
2068
2068
  a.value ? P("", !0) : (s(), d(M, { key: 1 }, [
2069
- n.layout.seatType === x(ve).none ? (s(), U(gt, {
2069
+ n.layout.seatType === x(ve).none ? (s(), Q(gt, {
2070
2070
  key: 0,
2071
2071
  extent: n.info.extentInfo,
2072
2072
  onChange: r[2] || (r[2] = (l) => t("change", l))
2073
- }, null, 8, ["extent"])) : n.layout.seatType === x(ve).seat ? (s(), U(bt, { key: 1 })) : n.layout.seatType === x(ve).shortId ? (s(), U(vt, { key: 2 })) : P("", !0)
2073
+ }, null, 8, ["extent"])) : n.layout.seatType === x(ve).seat ? (s(), Q(bt, { key: 1 })) : n.layout.seatType === x(ve).shortId ? (s(), Q(vt, { key: 2 })) : P("", !0)
2074
2074
  ], 64)),
2075
2075
  g("div", {
2076
2076
  class: "flex items-center justify-center flex-col flex-1 ml-4 border border-dashed",
@@ -2088,7 +2088,7 @@ const ka = /* @__PURE__ */ ce(xa, [["__scopeId", "data-v-44e44996"]]), Be = (e)
2088
2088
  ], Da = /* @__PURE__ */ Be(() => /* @__PURE__ */ g("p", { class: "flex items-center border-l px-2 py-1" }, [
2089
2089
  /* @__PURE__ */ g("span", null, "正确填涂示例"),
2090
2090
  /* @__PURE__ */ g("span", { class: "w-8 bg-black ml-2 block_tips" })
2091
- ], -1)), Aa = /* @__PURE__ */ Be(() => /* @__PURE__ */ g("div", { class: "h-2" }, null, -1)), Na = /* @__PURE__ */ J({
2091
+ ], -1)), Aa = /* @__PURE__ */ Be(() => /* @__PURE__ */ g("div", { class: "h-2" }, null, -1)), Na = /* @__PURE__ */ V({
2092
2092
  __name: "notice",
2093
2093
  props: {
2094
2094
  layout: {},
@@ -2112,10 +2112,10 @@ const ka = /* @__PURE__ */ ce(xa, [["__scopeId", "data-v-44e44996"]]), Be = (e)
2112
2112
  a.layout.noteFlag ? (s(), d("div", Ca, [
2113
2113
  $a,
2114
2114
  g("div", Sa, [
2115
- (s(!0), d(M, null, V(o.value, (r) => (s(), d("p", {
2115
+ (s(!0), d(M, null, X(o.value, (r) => (s(), d("p", {
2116
2116
  key: r,
2117
2117
  class: "px-2 origin-left scale-75 tip_item"
2118
- }, X(r), 1))), 128))
2118
+ }, j(r), 1))), 128))
2119
2119
  ])
2120
2120
  ])) : P("", !0),
2121
2121
  a.layout.lackFlag ? (s(), d("div", {
@@ -2125,7 +2125,7 @@ const ka = /* @__PURE__ */ ce(xa, [["__scopeId", "data-v-44e44996"]]), Be = (e)
2125
2125
  g("p", Ta, [
2126
2126
  Ia,
2127
2127
  g("span", La, [
2128
- K(_e, { name: "rightArrow" }),
2128
+ U(_e, { name: "rightArrow" }),
2129
2129
  g("span", {
2130
2130
  class: "flex items-center leading-4",
2131
2131
  "data-xine": x(C).lack
@@ -2166,7 +2166,7 @@ const za = {
2166
2166
  ], -1), Ra = { class: "flex-1" }, Ga = /* @__PURE__ */ g("p", { class: "flex-1 border-t" }, null, -1), Wa = /* @__PURE__ */ g("li", { class: "flex-1 flex flex-col border-l" }, [
2167
2167
  /* @__PURE__ */ g("p", { class: "flex-1" }, "总分"),
2168
2168
  /* @__PURE__ */ g("p", { class: "flex-1 border-t" })
2169
- ], -1), Ya = /* @__PURE__ */ J({
2169
+ ], -1), Ya = /* @__PURE__ */ V({
2170
2170
  __name: "scoreTable",
2171
2171
  props: {
2172
2172
  layout: {},
@@ -2176,17 +2176,17 @@ const za = {
2176
2176
  const t = e, o = A(() => t.data.filter((a) => a.problemType));
2177
2177
  return (a, n) => a.layout.scoreFlag ? (s(), d("ul", za, [
2178
2178
  Ha,
2179
- (s(!0), d(M, null, V(o.value, (r, l) => (s(), d("li", {
2179
+ (s(!0), d(M, null, X(o.value, (r, l) => (s(), d("li", {
2180
2180
  key: r.id,
2181
2181
  class: "flex-1 flex flex-col border-l"
2182
2182
  }, [
2183
- g("p", Ra, X(x(Pt)(l)), 1),
2183
+ g("p", Ra, j(x(Pt)(l)), 1),
2184
2184
  Ga
2185
2185
  ]))), 128)),
2186
2186
  Wa
2187
2187
  ])) : P("", !0);
2188
2188
  }
2189
- }), qa = /* @__PURE__ */ J({
2189
+ }), qa = /* @__PURE__ */ V({
2190
2190
  __name: "columnDom",
2191
2191
  props: {
2192
2192
  column: {},
@@ -2195,7 +2195,7 @@ const za = {
2195
2195
  styleInfo: {}
2196
2196
  },
2197
2197
  setup(e, { expose: t }) {
2198
- const o = e, a = Q(), n = Q();
2198
+ const o = e, a = q(), n = q();
2199
2199
  t({ col: a, colView: n });
2200
2200
  const r = A(() => {
2201
2201
  const { top: c, width: u, height: m, left: O } = o.styleInfo;
@@ -2242,7 +2242,7 @@ const za = {
2242
2242
  });
2243
2243
  const Qa = /* @__PURE__ */ ce(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e) => (Re("data-v-3f588317"), e = e(), Ge(), e), Ua = /* @__PURE__ */ Dt(() => /* @__PURE__ */ g("span", { class: "flex-1 border-b" }, null, -1)), Ka = ["data-xine"], ja = /* @__PURE__ */ Dt(() => /* @__PURE__ */ g("span", null, "贴条码区域", -1)), Xa = [
2244
2244
  ja
2245
- ], Va = ["data-xine"], Ja = /* @__PURE__ */ J({
2245
+ ], Va = ["data-xine"], Ja = /* @__PURE__ */ V({
2246
2246
  __name: "bind",
2247
2247
  props: {
2248
2248
  currentPage: {},
@@ -2251,7 +2251,7 @@ const Qa = /* @__PURE__ */ ce(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e)
2251
2251
  isBindFlag: { type: Boolean }
2252
2252
  },
2253
2253
  setup(e) {
2254
- const t = Q(), o = ["学校", "班级", "准考证号", "姓名"];
2254
+ const t = q(), o = ["学校", "班级", "准考证号", "姓名"];
2255
2255
  return (a, n) => a.isBindFlag ? (s(), d("div", {
2256
2256
  key: 0,
2257
2257
  style: W({ width: `${a.currentPage % 2 ? 0 : a.width}px`, height: `${a.height - 20}px` }),
@@ -2268,11 +2268,11 @@ const Qa = /* @__PURE__ */ ce(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e)
2268
2268
  class: "flex items-end px-20 pb-6 border-b origin-top-right front_view",
2269
2269
  style: W({ width: `${a.height - 20}px` })
2270
2270
  }, [
2271
- (s(), d(M, null, V(o, (r) => g("p", {
2271
+ (s(), d(M, null, X(o, (r) => g("p", {
2272
2272
  key: r,
2273
2273
  class: "flex items-end flex-1 mr-4"
2274
2274
  }, [
2275
- g("span", null, X(r), 1),
2275
+ g("span", null, j(r), 1),
2276
2276
  Ua
2277
2277
  ])), 64)),
2278
2278
  g("div", {
@@ -2286,7 +2286,7 @@ const Qa = /* @__PURE__ */ ce(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e)
2286
2286
  ], 6)) : P("", !0);
2287
2287
  }
2288
2288
  });
2289
- const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5jdmxyN28zYWRl", el = "YWNhdnN2cmIydmcZm", Ee = "MC4wYWx1ZXJvcWhm", kt = "MC5sZGN2NzJ0ZXE0bw", dt = "MC5yYjk3NGY2OTcyOA", ut = "MC42cWRzbGM0c21jbw", tl = "MC45amVuM25vajRk", ol = "MC44YjJkb212djRu", al = ["img", "table", "svg"], ll = ["data-block", "data-xine"], nl = ["data-xine"], sl = ["data-xine"], il = { class: "absolute opacity-0 pointer-events-none" }, rl = /* @__PURE__ */ J({
2289
+ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5jdmxyN28zYWRl", el = "YWNhdnN2cmIydmcZm", Ee = "MC4wYWx1ZXJvcWhm", kt = "MC5sZGN2NzJ0ZXE0bw", dt = "MC5yYjk3NGY2OTcyOA", ut = "MC42cWRzbGM0c21jbw", tl = "MC45amVuM25vajRk", ol = "MC44YjJkb212djRu", al = ["img", "table", "svg"], ll = ["data-block", "data-xine"], nl = ["data-xine"], sl = ["data-xine"], il = { class: "absolute opacity-0 pointer-events-none" }, rl = /* @__PURE__ */ V({
2290
2290
  __name: "simple",
2291
2291
  props: {
2292
2292
  item: {},
@@ -2306,13 +2306,13 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2306
2306
  class: "flex h-full divide-x divide-solid",
2307
2307
  "data-xine": x(C).score_base
2308
2308
  }, [
2309
- (s(!0), d(M, null, V(a.value, (l, i) => (s(), d("li", {
2309
+ (s(!0), d(M, null, X(a.value, (l, i) => (s(), d("li", {
2310
2310
  class: "flex items-center justify-center relative score_line",
2311
2311
  style: W({ width: `${x(je)[n.layout.scoreLineSize].value}px` }),
2312
2312
  "data-xine": x(C).score_item
2313
2313
  }, [
2314
- g("span", il, X(l), 1),
2315
- K(_e, {
2314
+ g("span", il, j(l), 1),
2315
+ U(_e, {
2316
2316
  class: "p-0",
2317
2317
  name: o[i]
2318
2318
  }, null, 8, ["name"])
@@ -2320,7 +2320,7 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2320
2320
  ], 8, nl)
2321
2321
  ], 8, ll));
2322
2322
  }
2323
- }), cl = ["data-block", "data-xine"], dl = ["data-xine"], ul = ["data-xine"], tt = /* @__PURE__ */ J({
2323
+ }), cl = ["data-block", "data-xine"], dl = ["data-xine"], ul = ["data-xine"], tt = /* @__PURE__ */ V({
2324
2324
  __name: "index",
2325
2325
  props: {
2326
2326
  item: {},
@@ -2328,7 +2328,7 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2328
2328
  static: { type: Boolean }
2329
2329
  },
2330
2330
  setup(e) {
2331
- const t = e, o = Q(), a = Q(!1), n = Q(!1), r = Q(!1), l = Q([]), i = A(() => t.layout.scoreAddStars === Ze.star.code);
2331
+ const t = e, o = q(), a = q(!1), n = q(!1), r = q(!1), l = q([]), i = A(() => t.layout.scoreAddStars === Ze.star.code);
2332
2332
  Ae(() => [t.item.score], () => c()), Ve(() => {
2333
2333
  c();
2334
2334
  });
@@ -2347,7 +2347,7 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2347
2347
  });
2348
2348
  }, u = (m) => t.item.hasHalfScore ? [C.score_half, C.score_base, C.score_tenbit][l.value.length - m - 1] : [C.score_base, C.score_tenbit][l.value.length - m - 1];
2349
2349
  return (m, O) => m.layout.handReadFlag ? (s(), d(M, { key: 0 }, [
2350
- m.layout.simpleScoreBarFlag && !m.static ? (s(), U(rl, {
2350
+ m.layout.simpleScoreBarFlag && !m.static ? (s(), Q(rl, {
2351
2351
  key: 0,
2352
2352
  item: m.item,
2353
2353
  layout: m.layout
@@ -2359,19 +2359,19 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2359
2359
  "data-block": x(we),
2360
2360
  "data-xine": x(C).score
2361
2361
  }, [
2362
- (s(!0), d(M, null, V(l.value, (h, E) => (s(), d("ul", {
2362
+ (s(!0), d(M, null, X(l.value, (h, E) => (s(), d("ul", {
2363
2363
  class: "flex divide-x divide-solid",
2364
2364
  "data-xine": u(E)
2365
2365
  }, [
2366
- (s(!0), d(M, null, V(h, (Y) => (s(), d("li", {
2366
+ (s(!0), d(M, null, X(h, (J) => (s(), d("li", {
2367
2367
  class: "flex items-center justify-center flex-shrink-0 score_line",
2368
2368
  style: W({ width: `${x(je)[m.layout.scoreLineSize].value}px` }),
2369
- "data-xine": Y.toString() ? x(C).score_item : ""
2369
+ "data-xine": J.toString() ? x(C).score_item : ""
2370
2370
  }, [
2371
2371
  g("span", {
2372
2372
  class: te(["whitespace-nowrap", i.value && "origin-right", n.value && "scale-75"])
2373
- }, X(m.layout.minusFlag && Y.toString().length && !i.value ? "-" : "") + X(Y), 3),
2374
- i.value && Y.toString().length ? (s(), U(_e, {
2373
+ }, j(m.layout.minusFlag && J.toString().length && !i.value ? "-" : "") + j(J), 3),
2374
+ i.value && J.toString().length ? (s(), Q(_e, {
2375
2375
  key: 0,
2376
2376
  class: "px-0 py-0 -translate-y-[1px]",
2377
2377
  name: m.layout.minusFlag ? "fiveArrowLine" : "fiveArrow",
@@ -2382,7 +2382,7 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2382
2382
  ], 8, cl))
2383
2383
  ], 64)) : P("", !0);
2384
2384
  }
2385
- }), At = (e) => (Re("data-v-a8dbd3b0"), e = e(), Ge(), e), hl = ["data-xine"], pl = /* @__PURE__ */ At(() => /* @__PURE__ */ g("span", { class: "red_sheet" }, "卷面整洁,书写工整分", -1)), ml = /* @__PURE__ */ At(() => /* @__PURE__ */ g("span", { class: "flex-1 mx-2 h-[1px] dashed_view" }, null, -1)), yl = /* @__PURE__ */ J({
2385
+ }), At = (e) => (Re("data-v-a8dbd3b0"), e = e(), Ge(), e), hl = ["data-xine"], pl = /* @__PURE__ */ At(() => /* @__PURE__ */ g("span", { class: "red_sheet" }, "卷面整洁,书写工整分", -1)), ml = /* @__PURE__ */ At(() => /* @__PURE__ */ g("span", { class: "flex-1 mx-2 h-[1px] dashed_view" }, null, -1)), yl = /* @__PURE__ */ V({
2386
2386
  __name: "writeScore",
2387
2387
  props: {
2388
2388
  info: {},
@@ -2395,7 +2395,7 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2395
2395
  }, [
2396
2396
  pl,
2397
2397
  ml,
2398
- K(tt, {
2398
+ U(tt, {
2399
2399
  item: { ...t.info, score: t.info.writeScore, hasHalfScore: t.layout.halfScoreFlag },
2400
2400
  layout: t.layout,
2401
2401
  static: ""
@@ -2403,7 +2403,7 @@ const Za = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-3f588317"]]), we = "MC5
2403
2403
  ], 8, hl));
2404
2404
  }
2405
2405
  });
2406
- const _l = /* @__PURE__ */ ce(yl, [["__scopeId", "data-v-a8dbd3b0"]]), fl = ["innerHTML"], gl = /* @__PURE__ */ J({
2406
+ const _l = /* @__PURE__ */ ce(yl, [["__scopeId", "data-v-a8dbd3b0"]]), fl = ["innerHTML"], gl = /* @__PURE__ */ V({
2407
2407
  __name: "index",
2408
2408
  props: {
2409
2409
  data: {}
@@ -2416,7 +2416,7 @@ const _l = /* @__PURE__ */ ce(yl, [["__scopeId", "data-v-a8dbd3b0"]]), fl = ["in
2416
2416
  }, null, 8, fl));
2417
2417
  }
2418
2418
  });
2419
- const Ne = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["data-tag", "data-block"], vl = /* @__PURE__ */ J({
2419
+ const Ne = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["data-tag", "data-block"], vl = /* @__PURE__ */ V({
2420
2420
  __name: "notArea",
2421
2421
  props: {
2422
2422
  item: {}
@@ -2427,7 +2427,7 @@ const Ne = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["da
2427
2427
  "data-tag": t.item.__tag__,
2428
2428
  "data-block": x(dt)
2429
2429
  }, [
2430
- K(Ne, {
2430
+ U(Ne, {
2431
2431
  "data-content": t.item.id,
2432
2432
  data: t.item.content
2433
2433
  }, null, 8, ["data-content", "data"])
@@ -2439,7 +2439,7 @@ const Ne = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["da
2439
2439
  }, Cl = { class: "flex flex-wrap" }, $l = { key: 0 }, Sl = {
2440
2440
  key: 1,
2441
2441
  class: "indent-2"
2442
- }, Tl = { key: 0 }, Il = { key: 0 }, Ll = { key: 1 }, Fl = ["data-block", "data-xine"], El = /* @__PURE__ */ wl(() => /* @__PURE__ */ g("span", null, "我选答的题目是:", -1)), Ml = { class: "flex items-center" }, Pl = ["data-xine"], Dl = /* @__PURE__ */ J({
2442
+ }, Tl = { key: 0 }, Il = { key: 0 }, Ll = { key: 1 }, Fl = ["data-block", "data-xine"], El = /* @__PURE__ */ wl(() => /* @__PURE__ */ g("span", null, "我选答的题目是:", -1)), Ml = { class: "flex items-center" }, Pl = ["data-xine"], Dl = /* @__PURE__ */ V({
2443
2443
  __name: "index",
2444
2444
  props: {
2445
2445
  item: {},
@@ -2459,23 +2459,23 @@ const Ne = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["da
2459
2459
  "data-block": x(we),
2460
2460
  onDblclick: c[3] || (c[3] = Le((u) => t("dbclick", i.item), ["stop"]))
2461
2461
  }, [
2462
- !i.layout.listIndexFlag && i.item.sub ? (s(), d("span", kl, X(x(Pt)(i.item.sub - 1)) + "、", 1)) : P("", !0),
2462
+ !i.layout.listIndexFlag && i.item.sub ? (s(), d("span", kl, j(x(Pt)(i.item.sub - 1)) + "、", 1)) : P("", !0),
2463
2463
  g("div", null, [
2464
2464
  g("div", Cl, [
2465
- g("span", null, X(i.item.name), 1),
2466
- i.item.desc ? (s(), d("span", $l, "(" + X(i.item.desc) + ")", 1)) : P("", !0),
2467
- i.layout.scoreTipFlag ? (s(), d("span", Sl, "(共" + X(r.value) + "题,共" + X(i.item.totalScore) + "分)", 1)) : P("", !0)
2465
+ g("span", null, j(i.item.name), 1),
2466
+ i.item.desc ? (s(), d("span", $l, "(" + j(i.item.desc) + ")", 1)) : P("", !0),
2467
+ i.layout.scoreTipFlag ? (s(), d("span", Sl, "(共" + j(r.value) + "题,共" + j(i.item.totalScore) + "分)", 1)) : P("", !0)
2468
2468
  ]),
2469
2469
  a.value || n.value ? (s(), d("div", Tl, [
2470
- a.value ? (s(), d("p", Il, "请在以下" + X(i.item.rawChildren.length) + "道题目中任选一题作答,如果漏涂或多涂,则按第一题计分。", 1)) : (s(), d("p", Ll, "请在以下题目中选择你要作答的题目,并在对应的填涂框中填涂表示,如果未填涂则按不作答处理。")),
2470
+ a.value ? (s(), d("p", Il, "请在以下" + j(i.item.rawChildren.length) + "道题目中任选一题作答,如果漏涂或多涂,则按第一题计分。", 1)) : (s(), d("p", Ll, "请在以下题目中选择你要作答的题目,并在对应的填涂框中填涂表示,如果未填涂则按不作答处理。")),
2471
2471
  g("p", {
2472
2472
  class: "flex flex-wrap",
2473
2473
  "data-block": x(we),
2474
2474
  "data-xine": x(C).choice + i.item.id
2475
2475
  }, [
2476
2476
  El,
2477
- (s(!0), d(M, null, V(l.value, (u, m) => (s(), d("span", Ml, [
2478
- g("span", null, X(u), 1),
2477
+ (s(!0), d(M, null, X(l.value, (u, m) => (s(), d("span", Ml, [
2478
+ g("span", null, j(u), 1),
2479
2479
  g("span", {
2480
2480
  class: "flex justify-between w-6 h-[11px] ml-2 mr-4 fill_view",
2481
2481
  "data-xine": x(C).fill
@@ -2484,7 +2484,7 @@ const Ne = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["da
2484
2484
  ], 8, Fl)
2485
2485
  ])) : P("", !0)
2486
2486
  ])
2487
- ], 42, xl)) : (s(), U(vl, {
2487
+ ], 42, xl)) : (s(), Q(vl, {
2488
2488
  key: 0,
2489
2489
  class: te([i.isActive && "border-current", i.isFirst && "mt-9"]),
2490
2490
  item: i.item,
@@ -2497,7 +2497,7 @@ const Ct = /* @__PURE__ */ ce(Dl, [["__scopeId", "data-v-257ae24a"]]), Al = {};
2497
2497
  function Nl(e, t) {
2498
2498
  return null;
2499
2499
  }
2500
- const Bl = /* @__PURE__ */ ce(Al, [["render", Nl]]), Ol = ["data-block"], zl = ["data-xine"], Hl = /* @__PURE__ */ J({
2500
+ const Bl = /* @__PURE__ */ ce(Al, [["render", Nl]]), Ol = ["data-block"], zl = ["data-xine"], Hl = /* @__PURE__ */ V({
2501
2501
  __name: "sheet",
2502
2502
  props: {
2503
2503
  item: {},
@@ -2508,12 +2508,12 @@ const Bl = /* @__PURE__ */ ce(Al, [["render", Nl]]), Ol = ["data-block"], zl = [
2508
2508
  class: "flex items-center red_sheet",
2509
2509
  "data-block": x(we)
2510
2510
  }, [
2511
- (s(!0), d(M, null, V(t.item.optList, (a, n) => (s(), d("span", {
2511
+ (s(!0), d(M, null, X(t.item.optList, (a, n) => (s(), d("span", {
2512
2512
  class: te(["fill_block", t.layout.showAnswer && t.item.answer.includes(x(wt)[n]) && "bg-success border-success"]),
2513
2513
  style: W({ width: `${x(Te)[t.layout.fillSize].value + 1}px`, height: `${x(Te)[t.layout.fillSize].height + 1}px` }),
2514
2514
  "data-xine": x(C).fill + n
2515
2515
  }, [
2516
- K(_e, {
2516
+ U(_e, {
2517
2517
  width: 1,
2518
2518
  name: x(wt)[n]
2519
2519
  }, null, 8, ["name"])
@@ -2528,7 +2528,7 @@ const Wl = /* @__PURE__ */ ce(Rl, [["render", Gl]]), Yl = ["data-block"], ql = [
2528
2528
  Kl
2529
2529
  ], Xl = ["data-xine"], Vl = /* @__PURE__ */ g("span", { class: "text-sm scale-75" }, "F", -1), Jl = [
2530
2530
  Vl
2531
- ], Zl = /* @__PURE__ */ J({
2531
+ ], Zl = /* @__PURE__ */ V({
2532
2532
  __name: "sheet",
2533
2533
  props: {
2534
2534
  item: {},
@@ -2549,7 +2549,7 @@ const Wl = /* @__PURE__ */ ce(Rl, [["render", Gl]]), Yl = ["data-block"], ql = [
2549
2549
  style: W(o.value),
2550
2550
  "data-xine": x(C).fill + "0"
2551
2551
  }, [
2552
- K(_e, {
2552
+ U(_e, {
2553
2553
  name: "right",
2554
2554
  width: 1
2555
2555
  })
@@ -2559,7 +2559,7 @@ const Wl = /* @__PURE__ */ ce(Rl, [["render", Gl]]), Yl = ["data-block"], ql = [
2559
2559
  style: W(o.value),
2560
2560
  "data-xine": x(C).fill + "1"
2561
2561
  }, [
2562
- K(_e, {
2562
+ U(_e, {
2563
2563
  name: "wrong",
2564
2564
  width: 1
2565
2565
  })
@@ -2585,7 +2585,7 @@ function tn(e, t) {
2585
2585
  const on = /* @__PURE__ */ ce(en, [["render", tn]]), an = ["data-block", "data-xine"], ln = {
2586
2586
  key: 0,
2587
2587
  class: "flex items-center justify-center whitespace-nowrap text-sm scale-75"
2588
- }, nn = { key: 1 }, sn = /* @__PURE__ */ J({
2588
+ }, nn = { key: 1 }, sn = /* @__PURE__ */ V({
2589
2589
  __name: "index",
2590
2590
  props: {
2591
2591
  item: {},
@@ -2601,8 +2601,8 @@ const on = /* @__PURE__ */ ce(en, [["render", tn]]), an = ["data-block", "data-x
2601
2601
  "data-xine": x(C).fill
2602
2602
  }, [
2603
2603
  a.showScoreCn ? (s(), d("span", ln, [
2604
- g("span", null, X(a.layout.minusFlag && !o.value ? "-" : "") + X(a.item.score), 1),
2605
- o.value ? (s(), U(_e, {
2604
+ g("span", null, j(a.layout.minusFlag && !o.value ? "-" : "") + j(a.item.score), 1),
2605
+ o.value ? (s(), Q(_e, {
2606
2606
  key: 0,
2607
2607
  class: "px-0 py-0 -translate-y-[1px]",
2608
2608
  name: a.layout.minusFlag ? "fiveArrowLine" : "fiveArrow",
@@ -2611,7 +2611,7 @@ const on = /* @__PURE__ */ ce(en, [["render", tn]]), an = ["data-block", "data-x
2611
2611
  ])) : P("", !0)
2612
2612
  ], 8, an)) : P("", !0);
2613
2613
  }
2614
- }), rn = ["data-xine"], cn = /* @__PURE__ */ J({
2614
+ }), rn = ["data-xine"], cn = /* @__PURE__ */ V({
2615
2615
  __name: "sheet",
2616
2616
  props: {
2617
2617
  item: {},
@@ -2625,7 +2625,7 @@ const on = /* @__PURE__ */ ce(en, [["render", tn]]), an = ["data-block", "data-x
2625
2625
  style: W({ height: `${20 + o.item.style[x(y)[t.layout.mode].fill_e]}px` }),
2626
2626
  "data-xine": x(C).fill_line
2627
2627
  }, null, 12, rn),
2628
- o.layout.handReadFlag ? (s(), U(sn, {
2628
+ o.layout.handReadFlag ? (s(), Q(sn, {
2629
2629
  key: 0,
2630
2630
  item: o.item,
2631
2631
  layout: o.layout,
@@ -2637,7 +2637,7 @@ const on = /* @__PURE__ */ ce(en, [["render", tn]]), an = ["data-block", "data-x
2637
2637
  function un(e, t) {
2638
2638
  return null;
2639
2639
  }
2640
- const hn = /* @__PURE__ */ ce(dn, [["render", un]]), pn = ["data-block"], mn = { class: "flex-1 flex justify-end overflow-hidden" }, yn = /* @__PURE__ */ J({
2640
+ const hn = /* @__PURE__ */ ce(dn, [["render", un]]), pn = ["data-block"], mn = { class: "flex-1 flex justify-end overflow-hidden" }, yn = /* @__PURE__ */ V({
2641
2641
  __name: "sheet",
2642
2642
  props: {
2643
2643
  item: {},
@@ -2655,13 +2655,13 @@ const hn = /* @__PURE__ */ ce(dn, [["render", un]]), pn = ["data-block"], mn = {
2655
2655
  }, [
2656
2656
  it(t.$slots, "default"),
2657
2657
  g("div", mn, [
2658
- K(tt, {
2658
+ U(tt, {
2659
2659
  item: t.item,
2660
2660
  layout: t.layout
2661
2661
  }, null, 8, ["item", "layout"])
2662
2662
  ])
2663
2663
  ], 8, pn)),
2664
- K(Ne, {
2664
+ U(Ne, {
2665
2665
  "data-area": t.item.id,
2666
2666
  data: t.item.answerArea
2667
2667
  }, null, 8, ["data-area", "data"])
@@ -2671,7 +2671,7 @@ const hn = /* @__PURE__ */ ce(dn, [["render", un]]), pn = ["data-block"], mn = {
2671
2671
  function fn(e, t) {
2672
2672
  return null;
2673
2673
  }
2674
- const gn = /* @__PURE__ */ ce(_n, [["render", fn]]), bn = /* @__PURE__ */ g("div", { class: "flex-1 border-b self-end mr-2" }, null, -1), vn = /* @__PURE__ */ J({
2674
+ const gn = /* @__PURE__ */ ce(_n, [["render", fn]]), bn = /* @__PURE__ */ g("div", { class: "flex-1 border-b self-end mr-2" }, null, -1), vn = /* @__PURE__ */ V({
2675
2675
  __name: "sheet",
2676
2676
  props: {
2677
2677
  item: {},
@@ -2680,7 +2680,7 @@ const gn = /* @__PURE__ */ ce(_n, [["render", fn]]), bn = /* @__PURE__ */ g("div
2680
2680
  setup(e) {
2681
2681
  return (t, o) => (s(), d(M, null, [
2682
2682
  bn,
2683
- K(tt, {
2683
+ U(tt, {
2684
2684
  item: t.item,
2685
2685
  layout: t.layout
2686
2686
  }, null, 8, ["item", "layout"])
@@ -2706,14 +2706,14 @@ const Mn = /* @__PURE__ */ ce(Fn, [["render", En]]), Pn = {};
2706
2706
  function Dn(e, t) {
2707
2707
  return null;
2708
2708
  }
2709
- const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = { class: "flex-1 flex justify-end overflow-hidden" }, On = ["data-block", "data-guide"], zn = ["data-block", "data-size"], Hn = ["data-block"], Rn = /* @__PURE__ */ J({
2709
+ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = { class: "flex-1 flex justify-end overflow-hidden" }, On = ["data-block", "data-guide"], zn = ["data-block", "data-size"], Hn = ["data-block"], Rn = /* @__PURE__ */ V({
2710
2710
  __name: "sheet",
2711
2711
  props: {
2712
2712
  item: {},
2713
2713
  layout: {}
2714
2714
  },
2715
2715
  setup(e) {
2716
- const t = e, o = Q(0), a = Q({}), n = Q(), r = Q(), l = Q([]), i = A(() => {
2716
+ const t = e, o = q(0), a = q({}), n = q(), r = q(), l = q([]), i = A(() => {
2717
2717
  const h = Math.max((t.item.endAnswerLen || parseInt(t.item.style[y[t.layout.mode].art_c]) || t.item.answerLen) - t.item.startAnswerLen, O.value.length, 0);
2718
2718
  return h ? Math.ceil(h / (o.value || h)) : 0;
2719
2719
  }), c = A(() => parseInt(t.item.style[y[t.layout.mode].art_b])), u = A(() => ({
@@ -2727,15 +2727,15 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2727
2727
  o.value = Math.floor(n.value.offsetWidth / c.value), t.item.beforeGuide && !t.item.artBlock && setTimeout(() => {
2728
2728
  if (!n.value)
2729
2729
  return;
2730
- const Y = n.value.getBoundingClientRect(), Z = r.value[0].getBoundingClientRect();
2730
+ const L = n.value.getBoundingClientRect(), D = r.value[0].getBoundingClientRect();
2731
2731
  a.value = {
2732
- left: `${Z.left - Y.left}px`,
2733
- top: `${Z.top - Y.top}px`
2732
+ left: `${D.left - L.left}px`,
2733
+ top: `${D.top - L.top}px`
2734
2734
  };
2735
2735
  }, 20);
2736
2736
  });
2737
- const h = Math.floor(parseInt(t.item.style[y[t.layout.mode].art_c]) / t.item.style[y[t.layout.mode].art_e]), E = Math.round(h / (t.item.style[y[t.layout.mode].art_d] || 1) - 0.01) * t.item.style[y[t.layout.mode].art_e];
2738
- l.value = [...Array(Math.min(t.item.style[y[t.layout.mode].art_d] || 1, h) - 1 || 0).keys()].map((Y) => (Y + 1) * E).concat(parseInt(t.item.style[y[t.layout.mode].art_c])).filter((Y) => Y);
2737
+ const h = parseInt(t.item.style[y[t.layout.mode].art_c]), E = t.item.style[y[t.layout.mode].art_e], J = Math.floor(h / E), Z = Math.round(J / (t.item.style[y[t.layout.mode].art_d] || 1) - 0.01) * E;
2738
+ l.value = [...Array(Math.min(t.item.style[y[t.layout.mode].art_d] || 1, J) - 1 || 0).keys()].map((L) => (L + 1) * Z).concat(h / E < 2 && E < 100 ? E : h).filter((L) => L);
2739
2739
  }), (h, E) => (s(), d("div", {
2740
2740
  class: "w-full relative min-h-[10rem]",
2741
2741
  ref_key: "view",
@@ -2748,13 +2748,13 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2748
2748
  }, [
2749
2749
  it(h.$slots, "default"),
2750
2750
  g("div", Bn, [
2751
- K(tt, {
2751
+ U(tt, {
2752
2752
  item: h.item,
2753
2753
  layout: h.layout
2754
2754
  }, null, 8, ["item", "layout"])
2755
2755
  ])
2756
2756
  ], 8, Nn)),
2757
- h.item.beforeArt && !h.item.startAnswerLen ? (s(), U(Ne, {
2757
+ h.item.beforeArt && !h.item.startAnswerLen ? (s(), Q(Ne, {
2758
2758
  key: 1,
2759
2759
  data: h.item.beforeArt,
2760
2760
  "data-bart": h.item.id,
@@ -2766,8 +2766,8 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2766
2766
  "data-guide": h.item.id,
2767
2767
  class: te(["absolute", !h.item.startAnswerLen && "indent-[2em]"]),
2768
2768
  style: W({ ...a.value, width: u.value.width, lineHeight: `${c.value + 7}px` })
2769
- }, X(h.item.beforeGuide), 15, On)) : P("", !0),
2770
- (s(!0), d(M, null, V(i.value, (Y, Z) => (s(), d("p", {
2769
+ }, j(h.item.beforeGuide), 15, On)) : P("", !0),
2770
+ (s(!0), d(M, null, X(i.value, (J, Z) => (s(), d("p", {
2771
2771
  ref_for: !0,
2772
2772
  ref_key: "line",
2773
2773
  ref: r,
@@ -2776,20 +2776,20 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2776
2776
  "data-size": h.item.startAnswerLen + (Z + 1) * o.value,
2777
2777
  style: W(u.value)
2778
2778
  }, [
2779
- h.item.artBlock ? (s(!0), d(M, { key: 0 }, V(o.value, (F, D) => (s(), d("span", {
2779
+ h.item.artBlock ? (s(!0), d(M, { key: 0 }, X(o.value, (L, D) => (s(), d("span", {
2780
2780
  class: te([O.value[Z * o.value + D] && "flex items-center justify-center"]),
2781
2781
  style: W(m.value)
2782
- }, X(O.value[Z * o.value + D]), 7))), 256)) : P("", !0),
2783
- (s(!0), d(M, null, V(l.value, (F) => (s(), d(M, null, [
2784
- h.item.startAnswerLen + Z * o.value < F && h.item.startAnswerLen + (Z + 1) * o.value >= F ? (s(), d("span", {
2782
+ }, j(O.value[Z * o.value + D]), 7))), 256)) : P("", !0),
2783
+ (s(!0), d(M, null, X(l.value, (L) => (s(), d(M, null, [
2784
+ h.item.startAnswerLen + Z * o.value < L && h.item.startAnswerLen + (Z + 1) * o.value >= L ? (s(), d("span", {
2785
2785
  key: 0,
2786
2786
  class: "absolute leading-4 text-base -bottom-4 scale-50 border-transparent",
2787
- style: W({ left: `${(F - h.item.startAnswerLen) % o.value * c.value}px` }),
2787
+ style: W({ left: `${(L - h.item.startAnswerLen) % o.value * c.value}px` }),
2788
2788
  "data-block": x(Ee)
2789
- }, X(F), 13, Hn)) : P("", !0)
2789
+ }, j(L), 13, Hn)) : P("", !0)
2790
2790
  ], 64))), 256))
2791
2791
  ], 14, zn))), 256)),
2792
- h.item.afterArt && [-1, 0].includes(h.item.endAnswerLen) ? (s(), U(Ne, {
2792
+ h.item.afterArt && [-1, 0].includes(h.item.endAnswerLen) ? (s(), Q(Ne, {
2793
2793
  key: 3,
2794
2794
  data: h.item.afterArt,
2795
2795
  "data-aart": h.item.id,
@@ -2797,7 +2797,7 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2797
2797
  }, null, 8, ["data", "data-aart"])) : P("", !0)
2798
2798
  ], 512));
2799
2799
  }
2800
- }), Gn = ["data-block"], Wn = /* @__PURE__ */ J({
2800
+ }), Gn = ["data-block"], Wn = /* @__PURE__ */ V({
2801
2801
  __name: "index",
2802
2802
  props: {
2803
2803
  item: {},
@@ -2809,7 +2809,7 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2809
2809
  class: "px-2 py-3 w-full border border-dashed rounded-lg",
2810
2810
  "data-block": x(dt)
2811
2811
  }, [
2812
- K(Ne, {
2812
+ U(Ne, {
2813
2813
  "data-content": o.item.id,
2814
2814
  data: o.item.content
2815
2815
  }, null, 8, ["data-content", "data"])
@@ -2818,7 +2818,7 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2818
2818
  }), Yn = ["data-block"], qn = { key: 0 }, Qn = { key: 1 }, Un = { key: 2 }, Kn = {
2819
2819
  key: 3,
2820
2820
  class: "flex items-center justify-center w-8 h-8 border rounded-full scale-75"
2821
- }, jn = /* @__PURE__ */ J({
2821
+ }, jn = /* @__PURE__ */ V({
2822
2822
  __name: "index",
2823
2823
  props: {
2824
2824
  sub: {},
@@ -2832,11 +2832,11 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2832
2832
  style: W({ width: a.value }),
2833
2833
  "data-block": x(Ee)
2834
2834
  }, [
2835
- (s(!0), d(M, null, V(o.value, (l, i) => (s(), d(M, null, [
2835
+ (s(!0), d(M, null, X(o.value, (l, i) => (s(), d(M, null, [
2836
2836
  i ? (s(), d("span", qn, " - ")) : P("", !0),
2837
- l[0] ? (s(), d("span", Qn, X(l[0]), 1)) : P("", !0),
2838
- l[1] ? (s(), d("span", Un, "(" + X(l[1]) + ")", 1)) : P("", !0),
2839
- l[2] ? (s(), d("span", Kn, X(l[2]), 1)) : P("", !0)
2837
+ l[0] ? (s(), d("span", Qn, j(l[0]), 1)) : P("", !0),
2838
+ l[1] ? (s(), d("span", Un, "(" + j(l[1]) + ")", 1)) : P("", !0),
2839
+ l[2] ? (s(), d("span", Kn, j(l[2]), 1)) : P("", !0)
2840
2840
  ], 64))), 256))
2841
2841
  ], 14, Yn));
2842
2842
  }
@@ -2888,7 +2888,7 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2888
2888
  dbclick: null
2889
2889
  },
2890
2890
  setup(e, { emit: t }) {
2891
- const o = ["sheet", "sheetCard"].includes(e.layout.mode) ? "Sheet" : "", a = Object.values(Ft), n = Q(""), r = A(() => {
2891
+ const o = ["sheet", "sheetCard"].includes(e.layout.mode) ? "Sheet" : "", a = Object.values(Ft), n = q(""), r = A(() => {
2892
2892
  const _ = o ? {
2893
2893
  choiceSheet: [p.choice, p.choice_english, p.choice_multiple, p.cloze],
2894
2894
  fillSheet: [p.fill, p.fill_english]
@@ -2959,7 +2959,7 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2959
2959
  ComputPolymerStyle: (_) => {
2960
2960
  var he, se;
2961
2961
  let k = {};
2962
- const w = Math.max(...(_.rawChildren || _.children).map((L) => L.optList.length)) * (Te[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((he = e.data.children[0]) == null ? void 0 : he.polymerId) || ""]) * 14 + 20, R = Math.floor(e.width / (Math.max(...(_.rawChildren || _.children).map((L) => L.optList.length)) * (Te[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((se = _.children[0]) == null ? void 0 : se.polymerId) || ""]) * 14 + 20)), B = Math.min(R, e.data.style[y[e.layout.mode].choice_d] || 10), ue = (e.width - w * B) / (B - 1) - 10;
2962
+ const w = Math.max(...(_.rawChildren || _.children).map((F) => F.optList.length)) * (Te[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((he = e.data.children[0]) == null ? void 0 : he.polymerId) || ""]) * 14 + 20, R = Math.floor(e.width / (Math.max(...(_.rawChildren || _.children).map((F) => F.optList.length)) * (Te[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((se = _.children[0]) == null ? void 0 : se.polymerId) || ""]) * 14 + 20)), B = Math.min(R, e.data.style[y[e.layout.mode].choice_d] || 10), ue = (e.width - w * B) / (B - 1) - 10;
2963
2963
  switch (_.styleInfo[y[e.layout.mode].choice_a]) {
2964
2964
  case T.choice_1:
2965
2965
  _.styleInfo[y[e.layout.mode].choice_b] === T.portrait && (k = {
@@ -3048,14 +3048,14 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
3048
3048
  }, Vn = ["data-block"], Jn = ["data-tag", "data-block", "data-xine", "onMouseenter", "onMouseleave"], Zn = ["data-tag", "data-block", "data-xine", "onClick", "onDblclick", "onMouseenter", "onMouseleave"], es = { key: 0 };
3049
3049
  function ts(e, t, o, a, n, r) {
3050
3050
  const l = Ht("Sub");
3051
- return s(!0), d(M, null, V(a.GroupData, (i) => (s(), d(M, null, [
3051
+ return s(!0), d(M, null, X(a.GroupData, (i) => (s(), d(M, null, [
3052
3052
  i.type === "polymer" ? (s(), d("div", {
3053
3053
  key: 0,
3054
3054
  "data-block": a.ComputBlock(i),
3055
3055
  class: te([...a.ComputPolymerCls(i)]),
3056
3056
  style: W(a.ComputPolymerStyle(i))
3057
3057
  }, [
3058
- (s(!0), d(M, null, V(i.children, (c, u) => {
3058
+ (s(!0), d(M, null, X(i.children, (c, u) => {
3059
3059
  var m;
3060
3060
  return s(), d("div", {
3061
3061
  class: te(["inline-flex items-center relative rounded-lg border p-1 m-1 hover:bg-gray hover:rounded-md hover:bg-opacity-70 port_item", a.hoverActive === c.rootProblemId && "bg-gray rounded-lg bg-opacity-70", ((m = o.target.value) == null ? void 0 : m.rootProblemId) === c.rootProblemId ? "border-current" : "border-transparent"]),
@@ -3066,17 +3066,17 @@ function ts(e, t, o, a, n, r) {
3066
3066
  onMouseenter: (O) => a.handleHoverIn(c),
3067
3067
  onMouseleave: (O) => a.handleHoverOut(c)
3068
3068
  }, [
3069
- c.problemType ? (s(), U(l, {
3069
+ c.problemType ? (s(), Q(l, {
3070
3070
  key: 0,
3071
3071
  sub: c.sub,
3072
3072
  isFull: !!a.ModuleTag,
3073
3073
  width: a.SubWidthInfo[`h${c.headLineId}`] || a.SubWidthInfo[c.polymerId || ""] || 0,
3074
3074
  class: te(["sub_item", a.ComputAbs(c) && "absolute left-0 top-3 left_sub"])
3075
3075
  }, null, 8, ["sub", "isFull", "width", "class"])) : P("", !0),
3076
- (s(), U(mt(a.ComputName(c)), yt(_t({ item: c, layout: o.layout, ...a.ComputPayload(c, u) })), null, 16))
3076
+ (s(), Q(mt(a.ComputName(c)), yt(_t({ item: c, layout: o.layout, ...a.ComputPayload(c, u) })), null, 16))
3077
3077
  ], 46, Jn);
3078
3078
  }), 256))
3079
- ], 14, Vn)) : (s(!0), d(M, { key: 1 }, V(i.children, (c, u) => {
3079
+ ], 14, Vn)) : (s(!0), d(M, { key: 1 }, X(i.children, (c, u) => {
3080
3080
  var m;
3081
3081
  return s(), d(M, null, [
3082
3082
  g("div", {
@@ -3090,15 +3090,15 @@ function ts(e, t, o, a, n, r) {
3090
3090
  onMouseenter: (O) => a.handleHoverIn(c),
3091
3091
  onMouseleave: (O) => a.handleHoverOut(c)
3092
3092
  }, [
3093
- c.problemType && !a.ComputAbs(c) ? (s(), U(l, {
3093
+ c.problemType && !a.ComputAbs(c) ? (s(), Q(l, {
3094
3094
  key: 0,
3095
3095
  sub: c.sub,
3096
3096
  isFull: !!a.ModuleTag,
3097
3097
  width: a.SubWidthInfo[`h${c.headLineId}`] || a.SubWidthInfo[c.polymerId || ""] || 0
3098
3098
  }, null, 8, ["sub", "isFull", "width"])) : P("", !0),
3099
- (s(), U(mt(a.ComputName(c)), yt(_t({ item: c, layout: o.layout, ...a.ComputPayload(c, u) })), {
3099
+ (s(), Q(mt(a.ComputName(c)), yt(_t({ item: c, layout: o.layout, ...a.ComputPayload(c, u) })), {
3100
3100
  default: It(() => [
3101
- K(l, {
3101
+ U(l, {
3102
3102
  sub: c.sub,
3103
3103
  isFull: !!a.ModuleTag,
3104
3104
  width: a.SubWidthInfo[`h${c.headLineId}`] || a.SubWidthInfo[c.polymerId || ""] || 0
@@ -3323,34 +3323,34 @@ const Ye = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3323
3323
  return [...Array(e.pageDom.length).keys()].map((n) => {
3324
3324
  const r = Math.floor(n / 2) * (e.layout.column + e.layout.backColumn) + (n % 2 ? e.layout.column : 0);
3325
3325
  return [...Array(n % 2 ? e.layout.backColumn : e.layout.column).keys()].filter((l, i) => r + i < t.length).map((l, i) => {
3326
- const c = e.pageDom[n], u = N(c), m = e.colDom[r + i], O = N(m), h = e.colViewDom[r + i], E = N(h), Y = t[r + i].data.map((F) => F.children.filter((D) => D.problemType)).flat(), Z = t[r + i].data.filter((F) => [be.one_choice, be.another_choice].includes(F.problemType) && F.children.length).map((F) => {
3327
- const D = le(`${C.choice}${F.id}`, m);
3326
+ const c = e.pageDom[n], u = N(c), m = e.colDom[r + i], O = N(m), h = e.colViewDom[r + i], E = N(h), J = t[r + i].data.map((L) => L.children.filter((D) => D.problemType)).flat(), Z = t[r + i].data.filter((L) => [be.one_choice, be.another_choice].includes(L.problemType) && L.children.length).map((L) => {
3327
+ const D = le(`${C.choice}${L.id}`, m);
3328
3328
  return D ? {
3329
3329
  id: `${++o}`,
3330
- baseIndex: parseInt(F.children[0]._sub),
3330
+ baseIndex: parseInt(L.children[0]._sub),
3331
3331
  position: re(N(D), u),
3332
- problemType: F.problemType,
3332
+ problemType: L.problemType,
3333
3333
  isOneChoice: !0,
3334
3334
  optList: $e(C.fill, D).map((v, z) => ({
3335
3335
  id: `${o}.${z + 1}`,
3336
3336
  position: re(N(v), u)
3337
3337
  })).filter((v) => v.position)
3338
3338
  } : {};
3339
- }).filter((F) => F.position);
3340
- return Y.filter((F) => as(F, m, O)).map((F, D, v) => {
3339
+ }).filter((L) => L.position);
3340
+ return J.filter((L) => as(L, m, O)).map((L, D, v) => {
3341
3341
  let z = {};
3342
- a[F._sub] ? a[F._sub] += 1 : a[F._sub] = 1;
3343
- const ne = le(`${C.item}${F._sub}`, m);
3344
- switch (F.problemType) {
3342
+ a[L._sub] ? a[L._sub] += 1 : a[L._sub] = 1;
3343
+ const ne = le(`${C.item}${L._sub}`, m);
3344
+ switch (L.problemType) {
3345
3345
  case p.choice:
3346
3346
  case p.choice_english:
3347
3347
  case p.choice_multiple:
3348
3348
  case p.cloze:
3349
3349
  z = {
3350
- score: F.score,
3351
- isColumn: F.style[y[e.layout.mode].choice_a] !== T.choice_2,
3352
- optList: F.optList.map((w, R) => ({
3353
- id: `${F._sub}.${R + 1}`,
3350
+ score: L.score,
3351
+ isColumn: L.style[y[e.layout.mode].choice_a] !== T.choice_2,
3352
+ optList: L.optList.map((w, R) => ({
3353
+ id: `${L._sub}.${R + 1}`,
3354
3354
  position: Pe(le(`${C.fill}${R}`, ne), E, u)
3355
3355
  })).filter((w) => w.position)
3356
3356
  };
@@ -3358,7 +3358,7 @@ const Ye = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3358
3358
  case p.decide:
3359
3359
  z = {
3360
3360
  optList: [0, 1].map((w, R) => ({
3361
- id: `${F._sub}.${R}`,
3361
+ id: `${L._sub}.${R}`,
3362
3362
  position: Pe(le(`${C.fill}${R}`, ne), E, u)
3363
3363
  })).filter((w) => w.position)
3364
3364
  };
@@ -3367,11 +3367,11 @@ const Ye = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3367
3367
  case p.fill_english:
3368
3368
  const H = $e(C.fill, ne), _ = $e(C.fill_line, ne);
3369
3369
  z = {
3370
- children: [F.score].flat().map((w, R, B) => ({
3371
- id: B.length > 1 ? `${F._sub}.${R + 1}` : F._sub,
3370
+ children: [L.score].flat().map((w, R, B) => ({
3371
+ id: B.length > 1 ? `${L._sub}.${R + 1}` : L._sub,
3372
3372
  score: w,
3373
- problemType: F.problemType,
3374
- isHiddenContent: !F.style[y[e.layout.mode].fill_b],
3373
+ problemType: L.problemType,
3374
+ isHiddenContent: !L.style[y[e.layout.mode].fill_b],
3375
3375
  position: Pe(ne, E, u),
3376
3376
  scorePosition: Pe(H[R], E, u),
3377
3377
  answerPosition: Pe(_[R], E, u)
@@ -3398,14 +3398,14 @@ const Ye = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3398
3398
  };
3399
3399
  }
3400
3400
  return {
3401
- id: F._sub,
3402
- elId: F.id,
3403
- colIndex: a[F._sub],
3404
- problemType: F.problemType,
3405
- position: Pe(ne, E, u, !1, D === v.length - 1 && [p.slove].includes(F.problemType)),
3401
+ id: L._sub,
3402
+ elId: L.id,
3403
+ colIndex: a[L._sub],
3404
+ problemType: L.problemType,
3405
+ position: Pe(ne, E, u, !1, D === v.length - 1 && [p.slove].includes(L.problemType)),
3406
3406
  ...z
3407
3407
  };
3408
- }).concat(Z).filter((F) => F.position);
3408
+ }).concat(Z).filter((L) => L.position);
3409
3409
  });
3410
3410
  }).map((n) => n.flat());
3411
3411
  }, hs = (e) => {
@@ -3608,7 +3608,7 @@ const Ye = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3608
3608
  }, _s = { class: "layt-moni_view" }, fs = { class: "layt-moni_content" }, gs = { class: "layt-moni_icon" }, bs = { class: "layt-moni_msg" }, vs = {
3609
3609
  key: 0,
3610
3610
  class: "layt-moni_err_view"
3611
- }, ws = { class: "layt-moni_err_item_msg" }, xs = ["onClick"], ks = /* @__PURE__ */ J({
3611
+ }, ws = { class: "layt-moni_err_item_msg" }, xs = ["onClick"], ks = /* @__PURE__ */ V({
3612
3612
  __name: "index",
3613
3613
  props: {
3614
3614
  ColList: {},
@@ -3618,19 +3618,19 @@ const Ye = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3618
3618
  },
3619
3619
  emits: ["delAbsImgItem", "delAbsTxtItem", "changeLayoutStatus"],
3620
3620
  setup(e, { emit: t }) {
3621
- const o = e, a = Q([]);
3621
+ const o = e, a = q([]);
3622
3622
  Ae(() => [o.ColList, o.ImgData, o.TxtData], () => {
3623
3623
  a.value = [], setTimeout(() => {
3624
3624
  var u;
3625
3625
  o.ColList.forEach((m, O) => {
3626
3626
  m.data.map((h) => h.children).flat().filter((h) => [p.slove, p.art].includes(h.problemType) && !h.chunk).forEach((h) => {
3627
- var F;
3628
- const E = (F = o.ColDom[O].querySelector(`*[data-tag="${h.__tag__}"]`)) == null ? void 0 : F.querySelector(`*[data-xine="${C.score}"]`);
3627
+ var L;
3628
+ const E = (L = o.ColDom[O].querySelector(`*[data-tag="${h.__tag__}"]`)) == null ? void 0 : L.querySelector(`*[data-xine="${C.score}"]`);
3629
3629
  if (!E)
3630
3630
  return;
3631
3631
  E.classList.remove("err_lack");
3632
- const Y = window.getComputedStyle(E), Z = [...Array.from(E.children)].map((D) => D.offsetWidth).reduce((D, v) => D + v, 0);
3633
- E.offsetWidth - parseFloat(Y.borderLeft) - parseFloat(Y.borderRight) < Z && (a.value.push({ msg: `${h.subStr}题打分条超长` }), E.classList.add("err_lack"), E.title = "打分条超长,请调整排版或使用自编打分条");
3632
+ const J = window.getComputedStyle(E), Z = [...Array.from(E.children)].map((D) => D.offsetWidth).reduce((D, v) => D + v, 0);
3633
+ E.offsetWidth - parseFloat(J.borderLeft) - parseFloat(J.borderRight) < Z && (a.value.push({ msg: `${h.subStr}题打分条超长` }), E.classList.add("err_lack"), E.title = "打分条超长,请调整排版或使用自编打分条");
3634
3634
  });
3635
3635
  });
3636
3636
  const l = (u = document.querySelector(".__layout__")) == null ? void 0 : u.getBoundingClientRect();
@@ -3660,24 +3660,24 @@ const Ye = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3660
3660
  class: te(["layt-moni_info", a.value.length ? "layt-moni_err" : "layt-moni_success"])
3661
3661
  }, [
3662
3662
  g("span", gs, [
3663
- K(_e, {
3663
+ U(_e, {
3664
3664
  width: 1.6,
3665
3665
  name: a.value.length ? "wrong" : "right"
3666
3666
  }, null, 8, ["name"])
3667
3667
  ]),
3668
- g("span", bs, "排版" + X(a.value.length ? "异常" : "良好"), 1)
3668
+ g("span", bs, "排版" + j(a.value.length ? "异常" : "良好"), 1)
3669
3669
  ], 2),
3670
3670
  a.value.length ? (s(), d("ul", vs, [
3671
- (s(!0), d(M, null, V(a.value, (c, u) => (s(), d("li", {
3671
+ (s(!0), d(M, null, X(a.value, (c, u) => (s(), d("li", {
3672
3672
  key: u,
3673
3673
  class: "layt-moni_err_item"
3674
3674
  }, [
3675
- g("span", ws, X(c.msg), 1),
3675
+ g("span", ws, j(c.msg), 1),
3676
3676
  c.fn ? (s(), d("span", {
3677
3677
  key: 0,
3678
3678
  class: "layt-moni_err_item_fn",
3679
3679
  onClick: c.fn
3680
- }, X(c.btnTxt || "删除"), 9, xs)) : P("", !0)
3680
+ }, j(c.btnTxt || "删除"), 9, xs)) : P("", !0)
3681
3681
  ]))), 128))
3682
3682
  ])) : P("", !0)
3683
3683
  ])
@@ -3711,7 +3711,7 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3711
3711
  return r || (r = Xe(e), de(r).top + r.offsetHeight - t > o && (r = st(r, t, o))), r;
3712
3712
  }, Tt = (e, t, o, a) => {
3713
3713
  const n = (l, i = o) => {
3714
- var Z, F, D;
3714
+ var Z, L, D;
3715
3715
  const c = l.map((v) => {
3716
3716
  const z = de(v);
3717
3717
  return {
@@ -3722,7 +3722,7 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3722
3722
  }), u = c.filter((v) => v.el.offsetHeight + v.top > i).sort((v, z) => v.top - z.top), m = (Z = u.shift()) == null ? void 0 : Z.el;
3723
3723
  if (!m) {
3724
3724
  const v = document.createElement("div");
3725
- return (F = l[0].parentElement) == null || F.appendChild(v), v.style.height = i - (de(v).top - t) + "px", v;
3725
+ return (L = l[0].parentElement) == null || L.appendChild(v), v.style.height = i - (de(v).top - t) + "px", v;
3726
3726
  }
3727
3727
  const O = de(m), h = O.top - t, E = O.left;
3728
3728
  if (u.filter((v) => v.top < h + m.offsetHeight && v.top + v.el.offsetHeight - 1 > h && (v.left + v.el.offsetWidth - 1 < E || v.left + 1 > E + m.offsetWidth)).length) {
@@ -3765,7 +3765,7 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3765
3765
  };
3766
3766
  };
3767
3767
  let h = [], E = 0;
3768
- const Y = () => {
3768
+ const J = () => {
3769
3769
  O(h.length), t.style.width = `${c.width}px`, h.push({
3770
3770
  top: 0,
3771
3771
  data: [],
@@ -3773,11 +3773,11 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3773
3773
  height: c.height
3774
3774
  }), l([...h]);
3775
3775
  };
3776
- Y();
3776
+ J();
3777
3777
  const Z = (v) => {
3778
3778
  const z = getComputedStyle(v);
3779
3779
  return de(v).top - c.top + parseFloat(z.borderTop) + parseFloat(z.paddingTop) + parseFloat(z.lineHeight) > h[h.length - 1].height;
3780
- }, F = (v) => {
3780
+ }, L = (v) => {
3781
3781
  const z = getComputedStyle(v);
3782
3782
  return de(v).top + v.offsetHeight - c.top - (v.dataset.block === we ? 0 : parseFloat(z.paddingBottom) - parseFloat(z.borderBottom)) <= h[h.length - 1].height;
3783
3783
  }, D = (v = JSON.parse(JSON.stringify(o[E] || {}))) => {
@@ -3794,15 +3794,15 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3794
3794
  }
3795
3795
  if (ne && ne.height + ne.top - c.top > h[h.length - 1].height)
3796
3796
  if (v.problemType)
3797
- h[h.length - 1].data.pop(), Y(), D({ ...v });
3798
- else if (F(z))
3799
- Y(), E++, D();
3797
+ h[h.length - 1].data.pop(), J(), D({ ...v });
3798
+ else if (L(z))
3799
+ J(), E++, D();
3800
3800
  else if (Z(z))
3801
- h[h.length - 1].data.pop(), Y(), D({ ...v });
3801
+ h[h.length - 1].data.pop(), J(), D({ ...v });
3802
3802
  else {
3803
3803
  H = Tt(z, c.top, h[h.length - 1].height, h.length % (a + n) >= a);
3804
3804
  const _ = z.querySelector(`*[data-content="${v.id}"]`);
3805
- h[h.length - 1].height = de(H.cut).top - c.top, Y(), _ != null && _.contains(H.cut) ? (m = Date.now(), H.cut.dataset.hutkey = m, D({ ...v, content: _.innerHTML })) : (h[h.length - 1].data.pop(), D({ ...v }));
3805
+ h[h.length - 1].height = de(H.cut).top - c.top, J(), _ != null && _.contains(H.cut) ? (m = Date.now(), H.cut.dataset.hutkey = m, D({ ...v, content: _.innerHTML })) : (h[h.length - 1].data.pop(), D({ ...v }));
3806
3806
  }
3807
3807
  else {
3808
3808
  let _ = [], k = [];
@@ -3813,7 +3813,7 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3813
3813
  h[h.length - 1].top = c.top - se.top, h[h.length - 1].height = c.height - h[h.length - 1].top, u = 0;
3814
3814
  }
3815
3815
  if (ue.height + ue.top - c.top > h[h.length - 1].height) {
3816
- if (F(B))
3816
+ if (L(B))
3817
3817
  _.push(w), k = R < v.children.length - 1 ? v.children.slice(R + 1) : [];
3818
3818
  else if (Z(B))
3819
3819
  k = v.children.slice(R);
@@ -3829,8 +3829,8 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3829
3829
  let se = { ...w };
3830
3830
  switch (w.problemType) {
3831
3831
  case at.slove:
3832
- const L = B.querySelector(`*[data-area="${w.id}"]`);
3833
- L != null && L.contains(H.cut) && (u = Date.now(), H.cut.dataset.cutkey = u, w.answerArea = L.innerHTML), w.chunk += 1;
3832
+ const F = B.querySelector(`*[data-area="${w.id}"]`);
3833
+ F != null && F.contains(H.cut) && (u = Date.now(), H.cut.dataset.cutkey = u, w.answerArea = F.innerHTML), w.chunk += 1;
3834
3834
  break;
3835
3835
  case at.art:
3836
3836
  const $ = B.querySelector(`*[data-bart="${w.id}"]`), I = H.targetEl.dataset.block === we && H.targetEl.dataset.size ? H.targetEl : null, ee = B.querySelector(`*[data-aart="${w.id}"]`);
@@ -3863,7 +3863,7 @@ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3863
3863
  return !0;
3864
3864
  } else
3865
3865
  _.push(w);
3866
- }), h[h.length - 1].data[h[h.length - 1].data.length - 1].children = _, k.length ? (Y(), D({ ...v, isHidden: !0, children: k })) : (l([...h]), E++, D());
3866
+ }), h[h.length - 1].data[h[h.length - 1].data.length - 1].children = _, k.length ? (J(), D({ ...v, isHidden: !0, children: k })) : (l([...h]), E++, D());
3867
3867
  }
3868
3868
  });
3869
3869
  };
@@ -3877,7 +3877,7 @@ function Is(e, t) {
3877
3877
  uploadUrl: `${t}ckeditor/uploadImg`
3878
3878
  });
3879
3879
  }
3880
- const Ls = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-problem-font overflow-auto focus:border-current" }, Fs = ["disabled", "contentEditable", "id"], Es = /* @__PURE__ */ J({
3880
+ const Ls = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-problem-font overflow-auto focus:border-current" }, Fs = ["disabled", "contentEditable", "id"], Es = /* @__PURE__ */ V({
3881
3881
  __name: "index",
3882
3882
  props: {
3883
3883
  value: {},
@@ -3886,7 +3886,7 @@ const Ls = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-proble
3886
3886
  },
3887
3887
  emits: ["change", "focus", "blur"],
3888
3888
  setup(e, { emit: t }) {
3889
- const o = e, a = Rt("ckeditorOrigin", ""), n = Q();
3889
+ const o = e, a = Rt("ckeditorOrigin", ""), n = q();
3890
3890
  Ae(() => o.readonly, () => r()), Ve(() => r());
3891
3891
  const r = () => {
3892
3892
  if (window.CKEDITOR) {
@@ -3919,19 +3919,19 @@ const Ls = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-proble
3919
3919
  });
3920
3920
  const O = (h = m) => {
3921
3921
  [...Array.from(h.childNodes)].forEach((E) => {
3922
- var Y;
3922
+ var J;
3923
3923
  if (E.nodeType === Node.ELEMENT_NODE && E.children.length)
3924
3924
  O(E);
3925
3925
  else if (E.nodeType === Node.TEXT_NODE) {
3926
3926
  const Z = document.createElement("span");
3927
- Z.textContent = E.textContent, window.REGULAR.underscore.test(E.textContent || "") && (window.getComputedStyle(E.parentNode).wordBreak !== "break-all" || !(E.parentNode.getAttribute("style") || "").includes("word-break: break-all")) && (E.textContent || "").length > 5 && (Z.innerHTML = (E.textContent || "").replace(window.REGULAR.underscore, (D) => D.length > 5 ? `<span style="word-break: break-all">${D}</span>` : D)), (Y = E.parentElement) == null || Y.replaceChild(Z, E);
3927
+ Z.textContent = E.textContent, window.REGULAR.underscore.test(E.textContent || "") && (window.getComputedStyle(E.parentNode).wordBreak !== "break-all" || !(E.parentNode.getAttribute("style") || "").includes("word-break: break-all")) && (E.textContent || "").length > 5 && (Z.innerHTML = (E.textContent || "").replace(window.REGULAR.underscore, (D) => D.length > 5 ? `<span style="word-break: break-all">${D}</span>` : D)), (J = E.parentElement) == null || J.replaceChild(Z, E);
3928
3928
  }
3929
3929
  });
3930
3930
  };
3931
3931
  return O(), m.innerHTML;
3932
3932
  };
3933
3933
  return (u, m) => (s(), d("div", Ls, [
3934
- o.readonly ? (s(), U(Ne, {
3934
+ o.readonly ? (s(), Q(Ne, {
3935
3935
  key: 1,
3936
3936
  data: o.value,
3937
3937
  class: "raw_view"
@@ -3982,7 +3982,7 @@ const Ds = {
3982
3982
  unmounted: () => {
3983
3983
  document.removeEventListener("mousemove", ot);
3984
3984
  }
3985
- }, As = ["onMousedown", "data-block"], Ns = ["src"], Bs = { class: "absolute right-2 bottom-2 w-12 h-12 bg-gray z-3 flex items-center justify-center rounded-tl-lg text-warn" }, Os = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, zs = ["onMousedown"], Hs = ["onMousedown"], Rs = ["disabled", "onMousedown", "data-block"], Gs = { class: "absolute right-2 bottom-2 w-12 h-12 bg-gray z-3 flex items-center justify-center rounded-tl-lg text-warn" }, Ws = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, Ys = ["onMousedown"], qs = /* @__PURE__ */ J({
3985
+ }, As = ["onMousedown", "data-block"], Ns = ["src"], Bs = { class: "absolute right-2 bottom-2 w-12 h-12 bg-gray z-3 flex items-center justify-center rounded-tl-lg text-warn" }, Os = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, zs = ["onMousedown"], Hs = ["onMousedown"], Rs = ["disabled", "onMousedown", "data-block"], Gs = { class: "absolute right-2 bottom-2 w-12 h-12 bg-gray z-3 flex items-center justify-center rounded-tl-lg text-warn" }, Ws = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, Ys = ["onMousedown"], qs = /* @__PURE__ */ V({
3986
3986
  __name: "absItem",
3987
3987
  props: {
3988
3988
  imgData: {},
@@ -4001,37 +4001,37 @@ const Ds = {
4001
4001
  { left: "0", top: "100%", cursor: "nesw-resize" },
4002
4002
  { left: "50%", top: "100%", cursor: "ns-resize" },
4003
4003
  { left: "100%", top: "100%", cursor: "nwse-resize" }
4004
- ], l = Q({}), i = Q(), c = Q(0), u = Q(0), m = Q(), O = Q(), h = Q({}), E = Q(!1), Y = Q(), Z = A(() => o.imgData.map((L) => ({
4005
- ...L,
4006
- top: L.top - Math.floor(L.top / (b[o.layout.paper].height + o.pageMargin)) * o.pageMargin
4007
- }))), F = A(() => o.txtData.map((L) => ({
4008
- ...L,
4009
- top: L.top - Math.floor(L.top / (b[o.layout.paper].height + o.pageMargin)) * o.pageMargin
4010
- }))), D = A(() => Y.value ? Y.value.split("-")[0] === "img" ? Z.value.find(($) => $.key === Y.value) : F.value.find(($) => $.key === Y.value) : null), v = A(() => D.value ? { [D.value.key]: { ...i.value } } : {});
4004
+ ], l = q({}), i = q(), c = q(0), u = q(0), m = q(), O = q(), h = q({}), E = q(!1), J = q(), Z = A(() => o.imgData.map((F) => ({
4005
+ ...F,
4006
+ top: F.top - Math.floor(F.top / (b[o.layout.paper].height + o.pageMargin)) * o.pageMargin
4007
+ }))), L = A(() => o.txtData.map((F) => ({
4008
+ ...F,
4009
+ top: F.top - Math.floor(F.top / (b[o.layout.paper].height + o.pageMargin)) * o.pageMargin
4010
+ }))), D = A(() => J.value ? J.value.split("-")[0] === "img" ? Z.value.find(($) => $.key === J.value) : L.value.find(($) => $.key === J.value) : null), v = A(() => D.value ? { [D.value.key]: { ...i.value } } : {});
4011
4011
  Ve(() => {
4012
4012
  m.value = document.body.querySelector(".__layout__");
4013
4013
  });
4014
- const z = (L) => {
4015
- i.value = { ...D.value, left: Math.max(L.x, 0), top: Math.max(L.y, 0) }, clearTimeout(O.value), O.value = setTimeout(() => {
4014
+ const z = (F) => {
4015
+ i.value = { ...D.value, left: Math.max(F.x, 0), top: Math.max(F.y, 0) }, clearTimeout(O.value), O.value = setTimeout(() => {
4016
4016
  var $;
4017
4017
  (($ = D.value) == null ? void 0 : $.key.split("-")[0]) === "img" ? t("changeAbsImgItem", i.value) : t("changeAbsTxtItem", i.value), i.value = null;
4018
4018
  }, 400);
4019
- }, ne = (L) => {
4020
- E.value = L;
4019
+ }, ne = (F) => {
4020
+ E.value = F;
4021
4021
  }, H = () => {
4022
- const L = D.value, $ = L.left + L.width / 2, I = L.top + L.height / 2, ee = m.value.getBoundingClientRect() || {};
4022
+ const F = D.value, $ = F.left + F.width / 2, I = F.top + F.height / 2, ee = m.value.getBoundingClientRect() || {};
4023
4023
  h.value = { x: $ + ee.left, y: I + ee.top }, m.value.addEventListener("mousemove", _), m.value.addEventListener("mouseleave", k), m.value.addEventListener("mouseup", k);
4024
- }, _ = (L) => {
4025
- L.stopPropagation(), L.preventDefault();
4026
- const $ = L.clientX - h.value.x, I = h.value.y - L.clientY, ee = Math.atan2(I, $) / (Math.PI / 180);
4024
+ }, _ = (F) => {
4025
+ F.stopPropagation(), F.preventDefault();
4026
+ const $ = F.clientX - h.value.x, I = h.value.y - F.clientY, ee = Math.atan2(I, $) / (Math.PI / 180);
4027
4027
  i.value = { ...D.value, rotate: -parseInt(ee.toString()) };
4028
- }, k = (L) => {
4029
- L.stopPropagation(), L.preventDefault(), t("changeAbsImgItem", i.value), m.value.removeEventListener("mousemove", _), m.value.removeEventListener("mouseleave", k), m.value.removeEventListener("mouseup", k);
4030
- }, w = (L, $) => {
4028
+ }, k = (F) => {
4029
+ F.stopPropagation(), F.preventDefault(), t("changeAbsImgItem", i.value), m.value.removeEventListener("mousemove", _), m.value.removeEventListener("mouseleave", k), m.value.removeEventListener("mouseup", k);
4030
+ }, w = (F, $) => {
4031
4031
  var I;
4032
- L.stopPropagation(), c.value = $, l.value = { x: L.clientX, y: L.clientY, ...D.value }, ((I = D.value) == null ? void 0 : I.key.split("-")[0]) === "img" ? m.value.addEventListener("mousemove", R) : m.value.addEventListener("mousemove", B), m.value.addEventListener("mouseleave", ue), m.value.addEventListener("mouseup", ue);
4033
- }, R = (L) => {
4034
- const $ = { x: L.clientX - l.value.x, y: L.clientY - l.value.y }, I = { ...D.value }, ee = $.x > $.y ? "width" : "height";
4032
+ F.stopPropagation(), c.value = $, l.value = { x: F.clientX, y: F.clientY, ...D.value }, ((I = D.value) == null ? void 0 : I.key.split("-")[0]) === "img" ? m.value.addEventListener("mousemove", R) : m.value.addEventListener("mousemove", B), m.value.addEventListener("mouseleave", ue), m.value.addEventListener("mouseup", ue);
4033
+ }, R = (F) => {
4034
+ const $ = { x: F.clientX - l.value.x, y: F.clientY - l.value.y }, I = { ...D.value }, ee = $.x > $.y ? "width" : "height";
4035
4035
  [
4036
4036
  // 0
4037
4037
  () => {
@@ -4140,8 +4140,8 @@ const Ds = {
4140
4140
  };
4141
4141
  }
4142
4142
  ][c.value]();
4143
- }, B = (L) => {
4144
- const $ = { x: L.clientX - l.value.x, y: L.clientY - l.value.y }, I = { ...D.value }, ee = [
4143
+ }, B = (F) => {
4144
+ const $ = { x: F.clientX - l.value.x, y: F.clientY - l.value.y }, I = { ...D.value }, ee = [
4145
4145
  {
4146
4146
  ...I,
4147
4147
  width: l.value.width - $.x,
@@ -4187,21 +4187,21 @@ const Ds = {
4187
4187
  ];
4188
4188
  i.value = ee[c.value];
4189
4189
  }, ue = () => {
4190
- var L;
4191
- m.value.removeEventListener("mousemove", R), m.value.removeEventListener("mousemove", B), m.value.removeEventListener("mouseleave", ue), m.value.removeEventListener("mouseup", ue), ((L = D.value) == null ? void 0 : L.key.split("-")[0]) === "img" ? t("changeAbsImgItem", i.value) : t("changeAbsTxtItem", i.value), i.value = null;
4192
- }, he = (L) => {
4193
- if (!L || L === D.value.content) {
4190
+ var F;
4191
+ m.value.removeEventListener("mousemove", R), m.value.removeEventListener("mousemove", B), m.value.removeEventListener("mouseleave", ue), m.value.removeEventListener("mouseup", ue), ((F = D.value) == null ? void 0 : F.key.split("-")[0]) === "img" ? t("changeAbsImgItem", i.value) : t("changeAbsTxtItem", i.value), i.value = null;
4192
+ }, he = (F) => {
4193
+ if (!F || F === D.value.content) {
4194
4194
  u.value++;
4195
4195
  return;
4196
4196
  }
4197
- t("changeAbsTxtItem", { ...D.value, content: L });
4198
- }, se = (L, $) => {
4197
+ t("changeAbsTxtItem", { ...D.value, content: F });
4198
+ }, se = (F, $) => {
4199
4199
  var ee;
4200
4200
  const I = document.body.querySelector(`.cke_editor_${ht}`);
4201
- !L && ((ee = ($ == null ? void 0 : $.target).dataset) != null && ee.safe || I && window.getComputedStyle(I).display !== "none") || (Y.value = L == null ? void 0 : L.key, i.value = L ? { ...L } : null);
4201
+ !F && ((ee = ($ == null ? void 0 : $.target).dataset) != null && ee.safe || I && window.getComputedStyle(I).display !== "none") || (J.value = F == null ? void 0 : F.key, i.value = F ? { ...F } : null);
4202
4202
  };
4203
- return (L, $) => (s(), d(M, null, [
4204
- (s(!0), d(M, null, V(Z.value, (I) => {
4203
+ return (F, $) => (s(), d(M, null, [
4204
+ (s(!0), d(M, null, X(Z.value, (I) => {
4205
4205
  var ee, pe, G, ae, Ie, Se, ge;
4206
4206
  return ft((s(), d("div", {
4207
4207
  key: I.id,
@@ -4216,7 +4216,7 @@ const Ds = {
4216
4216
  }, null, 8, Ns),
4217
4217
  ((ge = D.value) == null ? void 0 : ge.key) === I.key ? (s(), d(M, { key: 0 }, [
4218
4218
  g("span", Bs, [
4219
- K(_e, {
4219
+ U(_e, {
4220
4220
  name: "close",
4221
4221
  width: 2,
4222
4222
  class: "cursor-pointer",
@@ -4224,7 +4224,7 @@ const Ds = {
4224
4224
  }, null, 8, ["onClick"])
4225
4225
  ]),
4226
4226
  g("div", Os, [
4227
- (s(), d(M, null, V(8, (f, S) => g("div", {
4227
+ (s(), d(M, null, X(8, (f, S) => g("div", {
4228
4228
  key: f,
4229
4229
  class: "absolute w-4 h-4 border-2 border-current z-5 cursor-move",
4230
4230
  style: W({ ...r[S], transform: "translate(-50%, -50%)" }),
@@ -4235,7 +4235,7 @@ const Ds = {
4235
4235
  class: "absolute flex items-center justify-center -right-20 w-12 h-12 rounded-full border border-current cursor-grab control_rotate",
4236
4236
  onMousedown: Le(H, ["stop"])
4237
4237
  }, [
4238
- K(_e, {
4238
+ U(_e, {
4239
4239
  name: "reset",
4240
4240
  width: 2
4241
4241
  })
@@ -4246,7 +4246,7 @@ const Ds = {
4246
4246
  [x(a), (f) => se(null, f)]
4247
4247
  ]);
4248
4248
  }), 128)),
4249
- (s(!0), d(M, null, V(F.value, (I) => {
4249
+ (s(!0), d(M, null, X(L.value, (I) => {
4250
4250
  var ee, pe, G, ae, Ie, Se, ge;
4251
4251
  return ft((s(), d("div", {
4252
4252
  key: I.id,
@@ -4257,7 +4257,7 @@ const Ds = {
4257
4257
  onMousedown: Le((f) => se(I), ["stop"]),
4258
4258
  "data-block": x(Ee)
4259
4259
  }, [
4260
- (s(), U(Ms, {
4260
+ (s(), Q(Ms, {
4261
4261
  key: u.value,
4262
4262
  class: "border-0 relative z-4",
4263
4263
  readonly: ((Se = D.value) == null ? void 0 : Se.key) !== I.key,
@@ -4269,7 +4269,7 @@ const Ds = {
4269
4269
  }, null, 8, ["readonly", "value", "name"])),
4270
4270
  ((ge = D.value) == null ? void 0 : ge.key) === I.key ? (s(), d(M, { key: 0 }, [
4271
4271
  g("span", Gs, [
4272
- K(_e, {
4272
+ U(_e, {
4273
4273
  name: "close",
4274
4274
  width: 2,
4275
4275
  class: "cursor-pointer",
@@ -4277,7 +4277,7 @@ const Ds = {
4277
4277
  }, null, 8, ["onClick"])
4278
4278
  ]),
4279
4279
  g("div", Ws, [
4280
- (s(), d(M, null, V(8, (f, S) => g("div", {
4280
+ (s(), d(M, null, X(8, (f, S) => g("div", {
4281
4281
  key: f,
4282
4282
  class: "absolute w-4 h-4 border-2 border-current z-5 cursor-move",
4283
4283
  style: W({ ...r[S], transform: "translate(-50%, -50%)" }),
@@ -4298,7 +4298,7 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4298
4298
  y: "0",
4299
4299
  width: "100%",
4300
4300
  height: "100%"
4301
- }, js = ["onClick", "onDblclick"], Xs = ["data-block"], Vs = /* @__PURE__ */ J({
4301
+ }, js = ["onClick", "onDblclick"], Xs = ["data-block"], Vs = /* @__PURE__ */ V({
4302
4302
  __name: "index",
4303
4303
  props: {
4304
4304
  layout: {},
@@ -4316,25 +4316,25 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4316
4316
  setup(e, { emit: t }) {
4317
4317
  const o = e;
4318
4318
  Gt("ckeditorOrigin", o.ckeditorOrigin);
4319
- const a = Q([]), n = Q([]), r = Q(2), l = Q(0), i = Q(0), c = Q(), u = Q([]), m = Q([]), O = Q([]), h = Q([]), E = A(() => o.data.map((f) => ({
4319
+ const a = q([]), n = q([]), r = q(2), l = q(0), i = q(0), c = q(), u = q([]), m = q([]), O = q([]), h = q([]), E = A(() => o.data.map((f) => ({
4320
4320
  ...f,
4321
4321
  __tag__: xt(),
4322
4322
  rawChildren: f.children,
4323
4323
  children: f.children.map((S) => ({ ...S, startAnswerLen: 0, endAnswerLen: 0, chunk: 0, __tag__: xt() }))
4324
- }))), Y = A(() => {
4324
+ }))), J = A(() => {
4325
4325
  const f = E.value[E.value.length - 1], S = f.rawChildren[f.rawChildren.length - 1];
4326
4326
  return ne.value && [p.slove].includes(S == null ? void 0 : S.problemType) && S.id;
4327
4327
  }), Z = A(() => {
4328
4328
  var f;
4329
4329
  return o.layout.bindFlag && !!((f = ze.find((S) => S.code === o.layout.paper)) != null && f.isMultCol);
4330
- }), F = A(() => o.isFinal ? 0 : 10), D = A(() => o.isFinal ? 10 : 0), v = A(() => Math.floor(a.value.length / (o.layout.column + o.layout.backColumn)) * 2 + Math.ceil(a.value.length % (o.layout.column + o.layout.backColumn) / o.layout.column) || r.value || 1), z = A(() => Math.ceil(v.value / 2) * 2), ne = A(() => ["sheet", "sheetCard"].includes(o.layout.mode)), H = A(() => ne.value ? ke : { top: 0, right: 0, bottom: 0, left: 0 }), _ = A(() => typeof o.layout.padding == "number" ? { left: o.layout.padding, top: o.layout.padding, right: o.layout.padding, bottom: o.layout.padding } : o.layout.padding || rt[o.layout.mode][o.layout.paper]), k = A(() => b[o.layout.paper].width - _.value.left - _.value.right), w = A(() => b[o.layout.paper].height - _.value.top - _.value.bottom), R = A(() => (k.value - (i.value ? i.value + pe(0) : 0) + pe(0)) / o.layout.column - pe(0)), B = A(() => ({
4330
+ }), L = A(() => o.isFinal ? 0 : 10), D = A(() => o.isFinal ? 10 : 0), v = A(() => Math.floor(a.value.length / (o.layout.column + o.layout.backColumn)) * 2 + Math.ceil(a.value.length % (o.layout.column + o.layout.backColumn) / o.layout.column) || r.value || 1), z = A(() => Math.ceil(v.value / 2) * 2), ne = A(() => ["sheet", "sheetCard"].includes(o.layout.mode)), H = A(() => ne.value ? ke : { top: 0, right: 0, bottom: 0, left: 0 }), _ = A(() => typeof o.layout.padding == "number" ? { left: o.layout.padding, top: o.layout.padding, right: o.layout.padding, bottom: o.layout.padding } : o.layout.padding || rt[o.layout.mode][o.layout.paper]), k = A(() => b[o.layout.paper].width - _.value.left - _.value.right), w = A(() => b[o.layout.paper].height - _.value.top - _.value.bottom), R = A(() => (k.value - (i.value ? i.value + pe(0) : 0) + pe(0)) / o.layout.column - pe(0)), B = A(() => ({
4331
4331
  width: `${b[o.layout.paper].width}px`,
4332
- height: `${(b[o.layout.paper].height + F.value) * z.value - F.value}px`
4332
+ height: `${(b[o.layout.paper].height + L.value) * z.value - L.value}px`
4333
4333
  })), ue = A(() => ({
4334
4334
  width: `${b[o.layout.paper].width}px`,
4335
4335
  height: `${b[o.layout.paper].height}px`,
4336
4336
  padding: `${_.value.top}px ${_.value.right}px ${_.value.bottom}px ${_.value.left}px`,
4337
- marginBottom: `${F.value}px`
4337
+ marginBottom: `${L.value}px`
4338
4338
  })), he = A(() => {
4339
4339
  var S;
4340
4340
  const f = (S = ze.find((ye) => ye.code === o.layout.paper)) == null ? void 0 : S.isMultCol;
@@ -4351,7 +4351,7 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4351
4351
  }, { immediate: !0 }), Ae(() => Z.value, () => {
4352
4352
  i.value = Z.value ? 100 : 0;
4353
4353
  }, { immediate: !0 });
4354
- const se = (f) => f % (o.layout.column + o.layout.backColumn) >= o.layout.column ? o.layout.backColumn : o.layout.column, L = (f, S) => Math.floor(S / 2) * (o.layout.column + o.layout.backColumn) + S % 2 * o.layout.column + f, $ = (f) => {
4354
+ const se = (f) => f % (o.layout.column + o.layout.backColumn) >= o.layout.column ? o.layout.backColumn : o.layout.column, F = (f, S) => Math.floor(S / 2) * (o.layout.column + o.layout.backColumn) + S % 2 * o.layout.column + f, $ = (f) => {
4355
4355
  const S = f % (o.layout.column + o.layout.backColumn);
4356
4356
  return S >= o.layout.column ? S - o.layout.column : S;
4357
4357
  }, I = (f, S) => {
@@ -4359,8 +4359,8 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4359
4359
  }, ee = (f, S) => {
4360
4360
  f ? m.value[S] = f : m.value.splice(S, 1);
4361
4361
  }, pe = (f) => Et[o.layout.mode][o.layout.paper][se(f)] || 0, G = (f, S = !1) => (k.value - (i.value ? i.value + pe(f) : 0) + pe(f)) / se(f) - pe(f) - H.value.left - H.value.right + (S ? H.value.left + H.value.right : 0), ae = (f, S) => {
4362
- var j, ie;
4363
- const ye = f % (o.layout.column + o.layout.backColumn) ? 0 : ((j = O.value[Math.min(S, 1)]) == null ? void 0 : j.offsetHeight) || 0;
4362
+ var K, ie;
4363
+ const ye = f % (o.layout.column + o.layout.backColumn) ? 0 : ((K = O.value[Math.min(S, 1)]) == null ? void 0 : K.offsetHeight) || 0;
4364
4364
  return {
4365
4365
  left: `${_.value.left + (S % 2 ? 0 : i.value ? i.value + pe(f) : 0) + H.value.left + $(f) * (G(f) + pe(f) + H.value.left + H.value.right)}px`,
4366
4366
  top: `${ye + _.value.top + (!S && !f ? 0 : H.value.top)}px`,
@@ -4369,10 +4369,10 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4369
4369
  contentHeight: `${(ie = a.value[f]) == null ? void 0 : ie.height}px`
4370
4370
  };
4371
4371
  }, Ie = (f, S = !1) => {
4372
- n.value = f.map((ye) => ({ ...ye })), S && (a.value = [...f], Je(() => {
4373
- l.value += 1, r.value = Math.ceil(a.value.length / o.layout.column), n.value = [], m.value.forEach((ye, j) => {
4372
+ n.value = f.map((ye) => ({ ...ye })), S && (a.value = [...f], l.value += 1, Je(() => {
4373
+ r.value = Math.ceil(a.value.length / o.layout.column), n.value = [], m.value.forEach((ye, K) => {
4374
4374
  var ie, Ce;
4375
- !ye || !ye.col || ((ie = a.value[j]) != null && ie.top ? ye.col.style.marginTop = `${(Ce = a.value[j]) == null ? void 0 : Ce.top}px` : ye.col.style.marginTop = "");
4375
+ !ye || !ye.col || ((ie = a.value[K]) != null && ie.top ? ye.col.style.marginTop = `${(Ce = a.value[K]) == null ? void 0 : Ce.top}px` : ye.col.style.marginTop = "");
4376
4376
  }), o.isFinal && setTimeout(() => {
4377
4377
  const ye = ys({
4378
4378
  config: {
@@ -4380,10 +4380,10 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4380
4380
  layout: o.layout,
4381
4381
  pageTotal: v.value,
4382
4382
  bindWidth: i.value,
4383
- pageMargin: F.value,
4383
+ pageMargin: L.value,
4384
4384
  pageDom: u.value.slice(0, v.value),
4385
- colDom: m.value.map((j) => j.col),
4386
- colViewDom: m.value.map((j) => j.colView)
4385
+ colDom: m.value.map((K) => K.col),
4386
+ colViewDom: m.value.map((K) => K.colView)
4387
4387
  },
4388
4388
  data: a.value
4389
4389
  });
@@ -4399,54 +4399,54 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4399
4399
  getColSize: ae,
4400
4400
  change: Ie
4401
4401
  });
4402
- }, ge = (f = { type: q.page, value: {} }) => {
4402
+ }, ge = (f = { type: Y.page, value: {} }) => {
4403
4403
  t("toggleActive", f);
4404
4404
  };
4405
4405
  return (f, S) => {
4406
4406
  var ye;
4407
4407
  return s(), d(M, null, [
4408
- f.readonly ? P("", !0) : (s(), U(Cs, {
4408
+ f.readonly ? P("", !0) : (s(), Q(Cs, {
4409
4409
  key: 0,
4410
4410
  ColList: a.value,
4411
- ColDom: m.value.map((j) => j.col),
4411
+ ColDom: m.value.map((K) => K.col),
4412
4412
  ImgData: f.imgData,
4413
4413
  TxtData: f.txtData,
4414
- onDelAbsImgItem: S[0] || (S[0] = (j) => t("delAbsImgItem", j)),
4415
- onDelAbsTxtItem: S[1] || (S[1] = (j) => t("delAbsTxtItem", j)),
4416
- onChangeLayoutStatus: S[2] || (S[2] = (j) => t("changeLayoutStatus", j))
4414
+ onDelAbsImgItem: S[0] || (S[0] = (K) => t("delAbsImgItem", K)),
4415
+ onDelAbsTxtItem: S[1] || (S[1] = (K) => t("delAbsTxtItem", K)),
4416
+ onChangeLayoutStatus: S[2] || (S[2] = (K) => t("changeLayoutStatus", K))
4417
4417
  }, null, 8, ["ColList", "ColDom", "ImgData", "TxtData"])),
4418
4418
  g("div", {
4419
4419
  class: "flex-1 overflow-auto relative z-1",
4420
4420
  id: "alit-layout",
4421
- onClick: S[14] || (S[14] = (j) => ge())
4421
+ onClick: S[14] || (S[14] = (K) => ge())
4422
4422
  }, [
4423
4423
  g("div", {
4424
4424
  class: "absolute h-0 invisible overflow-hidden font-base text-base pointer-events-none -z-1",
4425
4425
  ref_key: "rawDom",
4426
4426
  ref: c
4427
4427
  }, [
4428
- n.value.length ? (s(!0), d(M, { key: 0 }, V((ye = n.value[n.value.length - 1]) == null ? void 0 : ye.data, (j, ie) => (s(), d(M, null, [
4429
- j.isHidden ? P("", !0) : (s(), U(Ct, {
4428
+ n.value.length ? (s(!0), d(M, { key: 0 }, X((ye = n.value[n.value.length - 1]) == null ? void 0 : ye.data, (K, ie) => (s(), d(M, null, [
4429
+ K.isHidden ? P("", !0) : (s(), Q(Ct, {
4430
4430
  key: 0,
4431
- item: j,
4431
+ item: K,
4432
4432
  showColBorder: ne.value,
4433
4433
  isFirst: !ie && n.value.length === 1,
4434
4434
  layout: f.layout
4435
4435
  }, null, 8, ["item", "showColBorder", "isFirst", "layout"])),
4436
4436
  ne.value ? (s(), d("div", {
4437
4437
  key: 1,
4438
- class: te([!j.children.length && j.problemType && "p-1 min-h-[2rem]"])
4438
+ class: te([!K.children.length && K.problemType && "p-1 min-h-[2rem]"])
4439
4439
  }, [
4440
- (s(), U(Ye, {
4441
- data: j,
4440
+ (s(), Q(Ye, {
4441
+ data: K,
4442
4442
  key: n.value.length,
4443
4443
  layout: f.layout,
4444
4444
  target: f.target,
4445
4445
  noPortrait: "",
4446
4446
  width: G(n.value.length - 1) - 10
4447
4447
  }, null, 8, ["data", "layout", "target", "width"]))
4448
- ], 2)) : (s(), U(Ye, {
4449
- data: j,
4448
+ ], 2)) : (s(), Q(Ye, {
4449
+ data: K,
4450
4450
  key: n.value.length,
4451
4451
  layout: f.layout,
4452
4452
  target: f.target,
@@ -4458,15 +4458,15 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4458
4458
  class: te(["mx-auto relative overflow-hidden flex-shrink-0 font-base text-base __layout__", f.layout.redFlag && "red_mode", f.readonly && "pointer-events-none"]),
4459
4459
  style: W(B.value)
4460
4460
  }, [
4461
- K(Qs, {
4461
+ U(Qs, {
4462
4462
  imgData: f.imgData,
4463
4463
  txtData: f.txtData,
4464
4464
  layout: f.layout,
4465
4465
  pageMargin: D.value,
4466
- onChangeAbsImgItem: S[3] || (S[3] = (j) => t("changeAbsImgItem", j)),
4467
- onDelAbsImgItem: S[4] || (S[4] = (j) => t("delAbsImgItem", j)),
4468
- onChangeAbsTxtItem: S[5] || (S[5] = (j) => t("changeAbsTxtItem", j)),
4469
- onDelAbsTxtItem: S[6] || (S[6] = (j) => t("delAbsTxtItem", j))
4466
+ onChangeAbsImgItem: S[3] || (S[3] = (K) => t("changeAbsImgItem", K)),
4467
+ onDelAbsImgItem: S[4] || (S[4] = (K) => t("delAbsImgItem", K)),
4468
+ onChangeAbsTxtItem: S[5] || (S[5] = (K) => t("changeAbsTxtItem", K)),
4469
+ onDelAbsTxtItem: S[6] || (S[6] = (K) => t("delAbsTxtItem", K))
4470
4470
  }, null, 8, ["imgData", "txtData", "layout", "pageMargin"]),
4471
4471
  (s(), d("svg", {
4472
4472
  viewBox: `0 0 ${parseFloat(B.value.width)} ${parseFloat(B.value.height)}`,
@@ -4475,15 +4475,15 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4475
4475
  key: l.value
4476
4476
  }, [
4477
4477
  (s(), d("foreignObject", Ks, [
4478
- (s(!0), d(M, null, V(z.value, (j, ie) => (s(), d("div", {
4479
- key: j,
4478
+ (s(!0), d(M, null, X(z.value, (K, ie) => (s(), d("div", {
4479
+ key: K,
4480
4480
  class: "bg-white relative flex justify-between overflow-hidden box-border",
4481
4481
  ref_for: !0,
4482
4482
  ref: (Ce) => I(Ce, ie),
4483
4483
  style: W(ue.value)
4484
4484
  }, [
4485
4485
  ie < v.value ? (s(), d(M, { key: 0 }, [
4486
- K(wo, {
4486
+ U(wo, {
4487
4487
  layout: f.layout,
4488
4488
  currentPage: ie,
4489
4489
  totalPage: v.value,
@@ -4492,13 +4492,13 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4492
4492
  bindWidth: i.value,
4493
4493
  padding: _.value
4494
4494
  }, null, 8, ["layout", "currentPage", "totalPage", "columnContentWidth", "columnMargin", "bindWidth", "padding"]),
4495
- f.layout.sloganFlag ? (s(), U($o, {
4495
+ f.layout.sloganFlag ? (s(), Q($o, {
4496
4496
  key: 0,
4497
4497
  info: f.info,
4498
4498
  layout: f.layout,
4499
4499
  onChange: S[7] || (S[7] = (Ce) => t("changeInfo", Ce))
4500
4500
  }, null, 8, ["info", "layout"])) : P("", !0),
4501
- K(Za, {
4501
+ U(Za, {
4502
4502
  ref_for: !0,
4503
4503
  ref_key: "bindDom",
4504
4504
  ref: h,
@@ -4515,88 +4515,88 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4515
4515
  class: te(["absolute text-black", ie === 1 && v.value < 3 && "opacity-0 pointer-events-none"]),
4516
4516
  style: W(he.value)
4517
4517
  }, [
4518
- K(Mo, {
4518
+ U(Mo, {
4519
4519
  layout: f.layout,
4520
4520
  code: f.info.textCode
4521
4521
  }, null, 8, ["layout", "code"]),
4522
- K(ta, {
4522
+ U(ta, {
4523
4523
  info: f.info,
4524
4524
  layout: f.layout,
4525
4525
  fontConfig: f.fontConfig,
4526
4526
  data: f.data,
4527
4527
  onChange: S[8] || (S[8] = (Ce) => t("changeInfo", Ce))
4528
4528
  }, null, 8, ["info", "layout", "fontConfig", "data"]),
4529
- K(ka, {
4529
+ U(ka, {
4530
4530
  layout: f.layout,
4531
4531
  info: f.info,
4532
4532
  isBindFlag: Z.value,
4533
4533
  onChange: S[9] || (S[9] = (Ce) => t("changeExtentInfo", Ce))
4534
4534
  }, null, 8, ["layout", "info", "isBindFlag"]),
4535
- K(Ba, {
4535
+ U(Ba, {
4536
4536
  layout: f.layout,
4537
4537
  isBindFlag: Z.value
4538
4538
  }, null, 8, ["layout", "isBindFlag"]),
4539
- ie ? P("", !0) : (s(), U(Ya, {
4539
+ ie ? P("", !0) : (s(), Q(Ya, {
4540
4540
  key: 0,
4541
4541
  layout: f.layout,
4542
4542
  data: f.data
4543
4543
  }, null, 8, ["layout", "data"])),
4544
- f.layout.writeScoreFlag && !ie ? (s(), U(_l, {
4544
+ f.layout.writeScoreFlag && !ie ? (s(), Q(_l, {
4545
4545
  key: 1,
4546
4546
  info: f.info,
4547
4547
  layout: f.layout
4548
4548
  }, null, 8, ["info", "layout"])) : P("", !0)
4549
4549
  ], 6)) : P("", !0),
4550
- (s(!0), d(M, null, V(ie % 2 ? f.layout.backColumn : f.layout.column, (Ce, Me) => (s(), U(Qa, {
4550
+ (s(!0), d(M, null, X(ie % 2 ? f.layout.backColumn : f.layout.column, (Ce, Me) => (s(), Q(Qa, {
4551
4551
  ref_for: !0,
4552
- ref: (We) => ee(We, L(Me, ie)),
4553
- styleInfo: ae(L(Me, ie), ie),
4552
+ ref: (We) => ee(We, F(Me, ie)),
4553
+ styleInfo: ae(F(Me, ie), ie),
4554
4554
  column: f.layout.column,
4555
- currentColumn: L(Me, ie),
4555
+ currentColumn: F(Me, ie),
4556
4556
  showColBorder: ne.value
4557
4557
  }, {
4558
4558
  default: It(() => {
4559
4559
  var We;
4560
4560
  return [
4561
- (s(!0), d(M, null, V(((We = a.value[L(Me, ie)]) == null ? void 0 : We.data) || [], (fe, zt) => {
4561
+ (s(!0), d(M, null, X(((We = a.value[F(Me, ie)]) == null ? void 0 : We.data) || [], (fe, zt) => {
4562
4562
  var pt;
4563
4563
  return s(), d(M, null, [
4564
- fe.isHidden ? P("", !0) : (s(), U(Ct, {
4564
+ fe.isHidden ? P("", !0) : (s(), Q(Ct, {
4565
4565
  key: 0,
4566
4566
  item: fe,
4567
4567
  showColBorder: ne.value,
4568
4568
  isFirst: !ie && !Me && !zt,
4569
4569
  layout: f.layout,
4570
4570
  isActive: ((pt = f.target.value) == null ? void 0 : pt.id) === fe.id,
4571
- onClick: (xe) => ge({ type: fe.problemType ? x(q).headline : x(q).headlineNotarea, value: fe }),
4571
+ onClick: (xe) => ge({ type: fe.problemType ? x(Y).headline : x(Y).headlineNotarea, value: fe }),
4572
4572
  onDbclick: (xe) => t("dbHeadLineClick", fe)
4573
4573
  }, null, 8, ["item", "showColBorder", "isFirst", "layout", "isActive", "onClick", "onDbclick"])),
4574
4574
  ne.value ? (s(), d("div", {
4575
4575
  key: 1,
4576
- class: te([!fe.children.length && fe.problemType && "p-1 min-h-[2rem]", f.target.type === x(q).headline && f.target.value.id === fe.id && "active_headline"]),
4577
- onClick: Le((xe) => ge({ type: fe.problemType ? x(q).headline : x(q).headlineNotarea, value: fe }), ["stop"]),
4576
+ class: te([!fe.children.length && fe.problemType && "p-1 min-h-[2rem]", f.target.type === x(Y).headline && f.target.value.id === fe.id && "active_headline"]),
4577
+ onClick: Le((xe) => ge({ type: fe.problemType ? x(Y).headline : x(Y).headlineNotarea, value: fe }), ["stop"]),
4578
4578
  onDblclick: (xe) => t("dbHeadLineClick", fe)
4579
4579
  }, [
4580
- K(Ye, {
4580
+ U(Ye, {
4581
4581
  data: fe,
4582
4582
  layout: f.layout,
4583
4583
  target: f.target,
4584
- width: G(L(Me, ie)) - 10,
4585
- onClick: S[10] || (S[10] = (xe) => ge({ type: xe.problemType ? x(q).problem : x(q).problemNotarea, value: xe })),
4584
+ width: G(F(Me, ie)) - 10,
4585
+ onClick: S[10] || (S[10] = (xe) => ge({ type: xe.problemType ? x(Y).problem : x(Y).problemNotarea, value: xe })),
4586
4586
  onDbclick: S[11] || (S[11] = (xe) => t("dbProblemClick", xe))
4587
4587
  }, null, 8, ["data", "layout", "target", "width"]),
4588
- fe.children.length && fe.children[fe.children.length - 1].id === Y.value ? (s(), d("div", {
4588
+ fe.children.length && fe.children[fe.children.length - 1].id === J.value ? (s(), d("div", {
4589
4589
  key: 0,
4590
4590
  class: "border-t",
4591
4591
  "data-block": x(Ee)
4592
4592
  }, null, 8, Xs)) : P("", !0)
4593
- ], 42, js)) : (s(), U(Ye, {
4593
+ ], 42, js)) : (s(), Q(Ye, {
4594
4594
  key: 2,
4595
4595
  data: fe,
4596
4596
  layout: f.layout,
4597
4597
  target: f.target,
4598
- width: G(L(Me, ie)),
4599
- onClick: S[12] || (S[12] = (xe) => ge({ type: xe.problemType ? x(q).problem : x(q).problemNotarea, value: xe })),
4598
+ width: G(F(Me, ie)),
4599
+ onClick: S[12] || (S[12] = (xe) => ge({ type: xe.problemType ? x(Y).problem : x(Y).problemNotarea, value: xe })),
4600
4600
  onDbclick: S[13] || (S[13] = (xe) => t("dbProblemClick", xe))
4601
4601
  }, null, 8, ["data", "layout", "target", "width"]))
4602
4602
  ], 64);
@@ -4615,7 +4615,7 @@ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4615
4615
  };
4616
4616
  }
4617
4617
  });
4618
- const ei = /* @__PURE__ */ ce(Vs, [["__scopeId", "data-v-522f46a7"]]);
4618
+ const ei = /* @__PURE__ */ ce(Vs, [["__scopeId", "data-v-823af0fa"]]);
4619
4619
  export {
4620
4620
  Zs as Config,
4621
4621
  ei as default