alit-layout 1.0.3 → 1.0.5

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 Z, openBlock as s, createElementBlock as d, Fragment as M, renderList as V, createElementVNode as g, normalizeStyle as G, unref as x, toDisplayString as X, createCommentVNode as P, ref as Q, watch as De, normalizeClass as te, computed as A, createBlock as U, createTextVNode as Ke, createVNode as K, pushScopeId as He, popScopeId as Re, renderSlot as it, onMounted as Ve, nextTick as Ze, withModifiers as Le, resolveComponent as Ht, resolveDynamicComponent as mt, normalizeProps as yt, guardReactiveProps as _t, withCtx as Tt, inject as Rt, withDirectives as ft, provide as Wt } from "vue";
1
+ import { defineComponent as Z, 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 De, normalizeClass as te, computed as A, createBlock as U, createTextVNode as Ke, createVNode as K, pushScopeId as He, popScopeId as Re, renderSlot as it, onMounted as Ve, nextTick as Ze, withModifiers as Le, resolveComponent as Ht, resolveDynamicComponent as mt, normalizeProps as yt, guardReactiveProps as _t, withCtx as Tt, inject as Rt, withDirectives as ft, provide as Gt } from "vue";
2
2
  const Lt = {
3
3
  // 选择题
4
4
  choice: "MULTIPLE_RADIO_QUESTION",
@@ -36,7 +36,7 @@ const Lt = {
36
36
  another: "ADDITIONAL_QUESTION",
37
37
  // 附加选做题
38
38
  another_choice: "ADDITIONAL_CHOOSE_QUESTION"
39
- }, Gt = {
39
+ }, Wt = {
40
40
  // 文本
41
41
  __text: "TXT",
42
42
  // 文案
@@ -582,7 +582,7 @@ const Lt = {
582
582
  { name: "常规", code: Ue.none },
583
583
  { name: "分段", code: Ue.step },
584
584
  { name: "自编", code: Ue.custom }
585
- ], I = {
585
+ ], S = {
586
586
  choice_1: "choice-1",
587
587
  choice_2: "choice-2",
588
588
  choice_3: "choice-3",
@@ -743,8 +743,8 @@ const Lt = {
743
743
  target: [q.headline],
744
744
  show: (e) => ![p.art].includes(e.problemType) && e.layoutMode === "column",
745
745
  option: [
746
- { name: "1栏", code: I.col_1 },
747
- { name: "横向2栏", code: I.col_2 }
746
+ { name: "1栏", code: S.col_1 },
747
+ { name: "横向2栏", code: S.col_2 }
748
748
  ]
749
749
  }
750
750
  ],
@@ -756,8 +756,8 @@ const Lt = {
756
756
  target: [q.headline],
757
757
  show: (e) => ![p.art].includes(e.problemType) && e.layoutMode === "column",
758
758
  option: [
759
- { name: "1栏", code: I.col_1 },
760
- { name: "横向2栏", code: I.col_2 }
759
+ { name: "1栏", code: S.col_1 },
760
+ { name: "横向2栏", code: S.col_2 }
761
761
  ]
762
762
  }
763
763
  ]
@@ -772,8 +772,8 @@ const Lt = {
772
772
  code: "slove_insert_sub",
773
773
  target: [q.problem],
774
774
  option: [
775
- { name: "无", code: I.slove_5 },
776
- { name: "下划线", code: I.slove_6 }
775
+ { name: "无", code: S.slove_5 },
776
+ { name: "下划线", code: S.slove_6 }
777
777
  ]
778
778
  }
779
779
  ]
@@ -786,8 +786,8 @@ const Lt = {
786
786
  label: "展示样式",
787
787
  key: m.article.choice_a,
788
788
  option: [
789
- { name: "分布式", code: I.choice_1 },
790
- { name: "集合式", code: I.choice_2 }
789
+ { name: "分布式", code: S.choice_1 },
790
+ { name: "集合式", code: S.choice_2 }
791
791
  ]
792
792
  }
793
793
  ],
@@ -798,8 +798,8 @@ const Lt = {
798
798
  label: "展示样式",
799
799
  key: m.article.decide_a,
800
800
  option: [
801
- { name: "对错", code: I.decide_1 },
802
- { name: "TF", code: I.decide_2 }
801
+ { name: "对错", code: S.decide_1 },
802
+ { name: "TF", code: S.decide_2 }
803
803
  ]
804
804
  }
805
805
  ],
@@ -810,9 +810,9 @@ const Lt = {
810
810
  label: "打分框位置",
811
811
  key: m.article.fill_a,
812
812
  option: [
813
- { name: "跟随下划线", code: I.fill_1 },
814
- { name: "跟随主题干", code: I.fill_2 },
815
- { name: "跟随标点符号", code: I.fill_3 }
813
+ { name: "跟随下划线", code: S.fill_1 },
814
+ { name: "跟随主题干", code: S.fill_2 },
815
+ { name: "跟随标点符号", code: S.fill_3 }
816
816
  ]
817
817
  }
818
818
  ],
@@ -825,18 +825,18 @@ const Lt = {
825
825
  label: "边框控制",
826
826
  key: m.article.slove_a,
827
827
  option: [
828
- { name: "有边框", code: I.slove_1 },
829
- { name: "无边框", code: I.slove_2 }
828
+ { name: "有边框", code: S.slove_1 },
829
+ { name: "无边框", code: S.slove_2 }
830
830
  ]
831
831
  },
832
832
  {
833
833
  type: "radio",
834
834
  label: "边框样式",
835
835
  key: m.article.slove_c,
836
- show: (e) => e.style[m.article.slove_a] === I.slove_1,
836
+ show: (e) => e.style[m.article.slove_a] === S.slove_1,
837
837
  option: [
838
- { name: "标准边框", code: I.slove_3 },
839
- { name: "简易边框", code: I.slove_4 }
838
+ { name: "标准边框", code: S.slove_3 },
839
+ { name: "简易边框", code: S.slove_4 }
840
840
  ]
841
841
  },
842
842
  {
@@ -855,8 +855,8 @@ const Lt = {
855
855
  code: "slove_insert_sub",
856
856
  target: [q.problem],
857
857
  option: [
858
- { name: "无", code: I.slove_5 },
859
- { name: "下划线", code: I.slove_6 }
858
+ { name: "无", code: S.slove_5 },
859
+ { name: "下划线", code: S.slove_6 }
860
860
  ]
861
861
  }
862
862
  ],
@@ -907,26 +907,26 @@ const Lt = {
907
907
  label: "排列样式",
908
908
  key: m.sheet.choice_a,
909
909
  option: [
910
- { name: "横排", code: I.choice_1 },
911
- { name: "竖排", code: I.choice_2 },
912
- { name: "分组", code: I.choice_3 }
910
+ { name: "横排", code: S.choice_1 },
911
+ { name: "竖排", code: S.choice_2 },
912
+ { name: "分组", code: S.choice_3 }
913
913
  ]
914
914
  },
915
915
  {
916
916
  type: "radio",
917
917
  label: "排列方向",
918
918
  key: m.sheet.choice_b,
919
- show: (e) => e.style[m.sheet.choice_a] !== I.choice_2,
919
+ show: (e) => e.style[m.sheet.choice_a] !== S.choice_2,
920
920
  option: [
921
- { name: "横向", code: I.landscape },
922
- { name: "纵向", code: I.portrait }
921
+ { name: "横向", code: S.landscape },
922
+ { name: "纵向", code: S.portrait }
923
923
  ]
924
924
  },
925
925
  {
926
926
  type: "radio",
927
927
  label: "每组题数",
928
928
  key: m.sheet.choice_c,
929
- show: (e) => [I.choice_2].includes(e.style[m.sheet.choice_a]),
929
+ show: (e) => [S.choice_2].includes(e.style[m.sheet.choice_a]),
930
930
  option: [
931
931
  { name: "3题", code: 3 },
932
932
  { name: "4题", code: 4 },
@@ -941,8 +941,8 @@ const Lt = {
941
941
  label: "展示样式",
942
942
  key: m.sheet.decide_a,
943
943
  option: [
944
- { name: "对错", code: I.decide_1 },
945
- { name: "TF", code: I.decide_2 }
944
+ { name: "对错", code: S.decide_1 },
945
+ { name: "TF", code: S.decide_2 }
946
946
  ]
947
947
  }
948
948
  ],
@@ -963,9 +963,9 @@ const Lt = {
963
963
  key: m.sheet.fill_a,
964
964
  show: (e) => e.style[m.sheet.fill_b],
965
965
  option: [
966
- { name: "跟随下划线", code: I.fill_1 },
967
- { name: "跟随主题干", code: I.fill_2 },
968
- { name: "跟随标点符号", code: I.fill_3 }
966
+ { name: "跟随下划线", code: S.fill_1 },
967
+ { name: "跟随主题干", code: S.fill_2 },
968
+ { name: "跟随标点符号", code: S.fill_3 }
969
969
  ]
970
970
  },
971
971
  {
@@ -975,8 +975,8 @@ const Lt = {
975
975
  target: [q.page, q.headline],
976
976
  show: (e) => !e.style[m.sheet.fill_b],
977
977
  option: [
978
- { name: "开启", code: I.fill_1 },
979
- { name: "关闭", code: I.fill_2 }
978
+ { name: "开启", code: S.fill_1 },
979
+ { name: "关闭", code: S.fill_2 }
980
980
  ]
981
981
  },
982
982
  {
@@ -1059,8 +1059,8 @@ const Lt = {
1059
1059
  key: m.sheet.decide_a,
1060
1060
  show: (e) => !e.style[m.sheet.mix_a] && (e.mixType || (e.children || []).filter((t) => Object.values(p).includes(t.problemType) && !t.style[m.sheet.mix_a]).map((t) => t.mixType).flat(2)).find((t) => t.problemType === p.decide),
1061
1061
  option: [
1062
- { name: "对错", code: I.decide_1 },
1063
- { name: "TF", code: I.decide_2 }
1062
+ { name: "对错", code: S.decide_1 },
1063
+ { name: "TF", code: S.decide_2 }
1064
1064
  ]
1065
1065
  },
1066
1066
  {
@@ -1070,8 +1070,8 @@ const Lt = {
1070
1070
  target: [q.problem],
1071
1071
  show: (e) => !e.style[m.sheet.mix_a] && !(e.mixType || []).find((t) => ![p.choice, p.choice_multiple].includes(t.problemType)),
1072
1072
  option: [
1073
- { name: "横向", code: I.landscape },
1074
- { name: "竖向", code: I.portrait }
1073
+ { name: "横向", code: S.landscape },
1074
+ { name: "竖向", code: S.portrait }
1075
1075
  ]
1076
1076
  }
1077
1077
  ],
@@ -1136,26 +1136,26 @@ const Lt = {
1136
1136
  label: "排列样式",
1137
1137
  key: m.sheetCard.choice_a,
1138
1138
  option: [
1139
- { name: "横排", code: I.choice_1 },
1140
- { name: "竖排", code: I.choice_2 },
1141
- { name: "分组", code: I.choice_3 }
1139
+ { name: "横排", code: S.choice_1 },
1140
+ { name: "竖排", code: S.choice_2 },
1141
+ { name: "分组", code: S.choice_3 }
1142
1142
  ]
1143
1143
  },
1144
1144
  {
1145
1145
  type: "radio",
1146
1146
  label: "排列方向",
1147
1147
  key: m.sheetCard.choice_b,
1148
- show: (e) => e.style[m.sheetCard.choice_a] !== I.choice_2,
1148
+ show: (e) => e.style[m.sheetCard.choice_a] !== S.choice_2,
1149
1149
  option: [
1150
- { name: "横向", code: I.landscape },
1151
- { name: "纵向", code: I.portrait }
1150
+ { name: "横向", code: S.landscape },
1151
+ { name: "纵向", code: S.portrait }
1152
1152
  ]
1153
1153
  },
1154
1154
  {
1155
1155
  type: "radio",
1156
1156
  label: "每组题数",
1157
1157
  key: m.sheetCard.choice_c,
1158
- show: (e) => [I.choice_2].includes(e.style[m.sheetCard.choice_a]),
1158
+ show: (e) => [S.choice_2].includes(e.style[m.sheetCard.choice_a]),
1159
1159
  option: [
1160
1160
  { name: "3题", code: 3 },
1161
1161
  { name: "4题", code: 4 },
@@ -1167,7 +1167,7 @@ const Lt = {
1167
1167
  label: "列数",
1168
1168
  target: [q.headline],
1169
1169
  key: m.sheetCard.choice_d,
1170
- show: (e) => e.style[m.sheetCard.choice_a] !== I.choice_2,
1170
+ show: (e) => e.style[m.sheetCard.choice_a] !== S.choice_2,
1171
1171
  min: () => 2,
1172
1172
  max: () => 10
1173
1173
  }
@@ -1179,8 +1179,8 @@ const Lt = {
1179
1179
  label: "展示样式",
1180
1180
  key: m.sheetCard.decide_a,
1181
1181
  option: [
1182
- { name: "对错", code: I.decide_1 },
1183
- { name: "TF", code: I.decide_2 }
1182
+ { name: "对错", code: S.decide_1 },
1183
+ { name: "TF", code: S.decide_2 }
1184
1184
  ]
1185
1185
  }
1186
1186
  ],
@@ -1192,9 +1192,9 @@ const Lt = {
1192
1192
  key: m.sheetCard.fill_a,
1193
1193
  show: (e) => e.style[m.sheetCard.fill_b],
1194
1194
  option: [
1195
- { name: "跟随下划线", code: I.fill_1 },
1196
- { name: "跟随主题干", code: I.fill_2 },
1197
- { name: "跟随标点符号", code: I.fill_3 }
1195
+ { name: "跟随下划线", code: S.fill_1 },
1196
+ { name: "跟随主题干", code: S.fill_2 },
1197
+ { name: "跟随标点符号", code: S.fill_3 }
1198
1198
  ]
1199
1199
  },
1200
1200
  {
@@ -1204,8 +1204,8 @@ const Lt = {
1204
1204
  target: [q.page, q.headline],
1205
1205
  show: (e) => !e.style[m.sheetCard.fill_b],
1206
1206
  option: [
1207
- { name: "开启", code: I.fill_1 },
1208
- { name: "关闭", code: I.fill_2 }
1207
+ { name: "开启", code: S.fill_1 },
1208
+ { name: "关闭", code: S.fill_2 }
1209
1209
  ]
1210
1210
  },
1211
1211
  {
@@ -1279,8 +1279,8 @@ const Lt = {
1279
1279
  key: m.sheetCard.decide_a,
1280
1280
  show: (e) => !e.style[m.sheetCard.mix_a] && (e.mixType || (e.children || []).filter((t) => Object.values(p).includes(t.problemType) && !t.style[m.sheetCard.mix_a]).map((t) => t.mixType).flat(2)).find((t) => t.problemType === p.decide),
1281
1281
  option: [
1282
- { name: "对错", code: I.decide_1 },
1283
- { name: "TF", code: I.decide_2 }
1282
+ { name: "对错", code: S.decide_1 },
1283
+ { name: "TF", code: S.decide_2 }
1284
1284
  ]
1285
1285
  },
1286
1286
  {
@@ -1290,8 +1290,8 @@ const Lt = {
1290
1290
  target: [q.problem],
1291
1291
  show: (e) => !e.style[m.sheetCard.mix_a] && !(e.mixType || []).find((t) => ![p.choice, p.choice_multiple].includes(t.problemType)),
1292
1292
  option: [
1293
- { name: "横向", code: I.landscape },
1294
- { name: "竖向", code: I.portrait }
1293
+ { name: "横向", code: S.landscape },
1294
+ { name: "竖向", code: S.portrait }
1295
1295
  ]
1296
1296
  }
1297
1297
  ],
@@ -1347,7 +1347,7 @@ const Lt = {
1347
1347
  ]
1348
1348
  }
1349
1349
  }, no = {
1350
- [Gt.__cdest]: [
1350
+ [Wt.__cdest]: [
1351
1351
  {
1352
1352
  type: "radio",
1353
1353
  label: "边框显示控制",
@@ -1380,7 +1380,7 @@ const Lt = {
1380
1380
  { name: "小四", code: "16px", alias: "s4" },
1381
1381
  { name: "五号", code: "14px", alias: "5" },
1382
1382
  { name: "小五", code: "12px", alias: "s5" }
1383
- ], Ie = {
1383
+ ], Se = {
1384
1384
  stand: {
1385
1385
  name: "标准",
1386
1386
  code: "stand",
@@ -1455,7 +1455,7 @@ const Lt = {
1455
1455
  column: Yt,
1456
1456
  columnMargin: Et,
1457
1457
  defaultProblemLayout: ao,
1458
- fillSize: Ie,
1458
+ fillSize: Se,
1459
1459
  fontFamily: so,
1460
1460
  fontSize: ro,
1461
1461
  fontWeight: io,
@@ -1474,7 +1474,7 @@ const Lt = {
1474
1474
  paper: Oe,
1475
1475
  problemLayout: lo,
1476
1476
  problemLayoutKey: m,
1477
- problemLayoutVal: I,
1477
+ problemLayoutVal: S,
1478
1478
  scoreLineSize: je,
1479
1479
  scoreLineStyle: Je,
1480
1480
  scoreLineType: Ue,
@@ -1613,26 +1613,26 @@ const Lt = {
1613
1613
  (s(), d(M, null, V(["lt", "rt", "lb", "rb"], (u) => g("span", {
1614
1614
  key: u,
1615
1615
  class: "absolute w-8 bg-black point_item",
1616
- style: G(o(u)),
1616
+ style: W(o(u)),
1617
1617
  "data-xine": x(C).point + u
1618
1618
  }, null, 12, yo)), 64)),
1619
1619
  (s(!0), d(M, null, V((l.currentPage % 2 ? l.layout.backColumn : l.layout.column) - 1, (u) => (s(), d(M, { key: u }, [
1620
1620
  (s(), d(M, null, V(["t", "b"], (y) => g("span", {
1621
1621
  key: y,
1622
1622
  class: "absolute bg-black w-8 point_item",
1623
- style: G(n(u, y)),
1623
+ style: W(n(u, y)),
1624
1624
  "data-xine": x(C).point + y
1625
1625
  }, null, 12, _o)), 64))
1626
1626
  ], 64))), 128)),
1627
1627
  (s(), d(M, null, V(["l", "r"], (u) => g("span", {
1628
1628
  key: u,
1629
1629
  class: "absolute bg-black h-8",
1630
- style: G(r(u)),
1630
+ style: W(r(u)),
1631
1631
  "data-xine": x(C).point + u
1632
1632
  }, null, 12, fo)), 64)),
1633
1633
  g("p", {
1634
1634
  class: "absolute leading-none text-0",
1635
- style: G(a()),
1635
+ style: W(a()),
1636
1636
  "data-xine": x(C).page
1637
1637
  }, [
1638
1638
  (s(!0), d(M, null, V(l.currentPage + 1, (u, y) => (s(), d("span", {
@@ -1644,22 +1644,22 @@ const Lt = {
1644
1644
  l.currentPage % 2 ? P("", !0) : (s(), d("span", {
1645
1645
  key: 0,
1646
1646
  class: "absolute top-3/4 translate-x-1/2 rotate-90 text-sm red_sheet",
1647
- style: G({ right: `${l.padding.right - 12}px` })
1647
+ style: W({ right: `${l.padding.right - 12}px` })
1648
1648
  }, "提示:本卷" + X((c = x(Oe).find((u) => u.code === l.layout.paper)) == null ? void 0 : c.name) + "纸张", 5)),
1649
1649
  g("span", {
1650
1650
  class: "absolute text-sm red_sheet",
1651
- style: G({ right: `${l.padding.bottom - 20 + 75}px`, bottom: `${l.padding.bottom - 20 - 3}px` })
1651
+ style: W({ right: `${l.padding.bottom - 20 + 75}px`, bottom: `${l.padding.bottom - 20 - 3}px` })
1652
1652
  }, X(l.currentPage + 1) + "/" + X(l.totalPage), 5)
1653
1653
  ], 64);
1654
1654
  };
1655
1655
  }
1656
1656
  });
1657
- const re = (e, t) => {
1657
+ const ce = (e, t) => {
1658
1658
  const o = e.__vccOpts || e;
1659
1659
  for (const [a, n] of t)
1660
1660
  o[a] = n;
1661
1661
  return o;
1662
- }, wo = /* @__PURE__ */ re(vo, [["__scopeId", "data-v-44fe37c1"]]), xo = { class: "flex-1" }, ko = ["type", "placeholder", "maxlength", "value"], Co = {
1662
+ }, wo = /* @__PURE__ */ ce(vo, [["__scopeId", "data-v-44fe37c1"]]), xo = { class: "flex-1" }, ko = ["type", "placeholder", "maxlength", "value"], Co = {
1663
1663
  key: 0,
1664
1664
  class: "flex-shrink-0 ml-2 text-text3"
1665
1665
  }, et = /* @__PURE__ */ Z({
@@ -1731,11 +1731,11 @@ const re = (e, t) => {
1731
1731
  size: "small",
1732
1732
  autoLine: "",
1733
1733
  dir: "right",
1734
- style: G(n.value),
1734
+ style: W(n.value),
1735
1735
  onChange: l[0] || (l[0] = (i) => t("change", { slogin: i }))
1736
1736
  }, null, 8, ["value", "style"]));
1737
1737
  }
1738
- }), So = ["width", "height"], Io = ["xlink:href"], To = /* @__PURE__ */ Z({
1738
+ }), Io = ["width", "height"], So = ["xlink:href"], To = /* @__PURE__ */ Z({
1739
1739
  __name: "index",
1740
1740
  props: {
1741
1741
  width: { default: 1.5 },
@@ -1753,12 +1753,12 @@ const re = (e, t) => {
1753
1753
  width: n.width + "rem",
1754
1754
  height: (n.height || n.width) + "rem"
1755
1755
  }, [
1756
- g("use", { "xlink:href": a.value }, null, 8, Io)
1757
- ], 8, So))
1756
+ g("use", { "xlink:href": a.value }, null, 8, So)
1757
+ ], 8, Io))
1758
1758
  ]));
1759
1759
  }
1760
1760
  });
1761
- const _e = /* @__PURE__ */ re(To, [["__scopeId", "data-v-ed2907dd"]]), Lo = { class: "flex items-center text-black text-sm h-6 mb-2" }, Fo = {
1761
+ const _e = /* @__PURE__ */ ce(To, [["__scopeId", "data-v-ed2907dd"]]), Lo = { class: "flex items-center text-black text-sm h-6 mb-2" }, Fo = {
1762
1762
  key: 0,
1763
1763
  class: "flex items-center"
1764
1764
  }, Eo = { class: "px-2 ml-2 border leading-none" }, Mo = /* @__PURE__ */ Z({
@@ -1805,7 +1805,7 @@ const _e = /* @__PURE__ */ re(To, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1805
1805
  }, zo = /* @__PURE__ */ g("span", { class: "flex-shrink-0" }, "范围:", -1), Ho = {
1806
1806
  key: 1,
1807
1807
  class: "flex items-center w-40 mx-4"
1808
- }, Ro = /* @__PURE__ */ g("span", { class: "flex-shrink-0" }, "时间:", -1), Wo = /* @__PURE__ */ g("span", null, "分钟", -1), Go = {
1808
+ }, Ro = /* @__PURE__ */ g("span", { class: "flex-shrink-0" }, "时间:", -1), Go = /* @__PURE__ */ g("span", null, "分钟", -1), Wo = {
1809
1809
  key: 2,
1810
1810
  class: "flex mx-4 min-w-[80px]"
1811
1811
  }, Yo = /* @__PURE__ */ g("span", { class: "flex-shrink-0" }, "命题人:", -1), qo = {
@@ -1836,14 +1836,14 @@ const _e = /* @__PURE__ */ re(To, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1836
1836
  K(Be, {
1837
1837
  class: "w-full text-center border-2 border-transparent focus:border-current",
1838
1838
  value: l.info.title,
1839
- style: G(l.fontConfig.titleStyle),
1839
+ style: W(l.fontConfig.titleStyle),
1840
1840
  onChange: i[0] || (i[0] = (c) => t("change", { title: c }))
1841
1841
  }, null, 8, ["value", "style"]),
1842
1842
  l.layout.secTitleFlag ? (s(), U(Be, {
1843
1843
  key: 0,
1844
1844
  class: "w-full text-center border-2 border-transparent focus:border-current",
1845
1845
  value: l.info.secTitle,
1846
- style: G(l.fontConfig.halfTitleStyle),
1846
+ style: W(l.fontConfig.halfTitleStyle),
1847
1847
  onChange: i[1] || (i[1] = (c) => t("change", { secTitle: c }))
1848
1848
  }, null, 8, ["value", "style"])) : P("", !0),
1849
1849
  g("div", Bo, [
@@ -1866,9 +1866,9 @@ const _e = /* @__PURE__ */ re(To, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1866
1866
  placeholder: "",
1867
1867
  onChange: i[3] || (i[3] = (c) => t("change", { time: c }))
1868
1868
  }, null, 8, ["value"]),
1869
- Wo
1869
+ Go
1870
1870
  ])) : P("", !0),
1871
- l.layout.authorFlag ? (s(), d("p", Go, [
1871
+ l.layout.authorFlag ? (s(), d("p", Wo, [
1872
1872
  Yo,
1873
1873
  K(Be, {
1874
1874
  class: "flex-1",
@@ -1981,7 +1981,7 @@ const _e = /* @__PURE__ */ re(To, [["__scopeId", "data-v-ed2907dd"]]), Lo = { cl
1981
1981
  ], 8, aa));
1982
1982
  }
1983
1983
  });
1984
- const bt = /* @__PURE__ */ re(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__ */ Z({
1984
+ 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__ */ Z({
1985
1985
  __name: "examInfoShort",
1986
1986
  setup(e) {
1987
1987
  return (t, o) => (s(), d("div", {
@@ -2014,7 +2014,7 @@ const bt = /* @__PURE__ */ re(ra, [["__scopeId", "data-v-96b857fd"]]), ca = ["da
2014
2014
  ], 8, ca));
2015
2015
  }
2016
2016
  });
2017
- const vt = /* @__PURE__ */ re(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { class: "flex-1 flex flex-col" }, _a = /* @__PURE__ */ Z({
2017
+ const vt = /* @__PURE__ */ ce(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { class: "flex-1 flex flex-col" }, _a = /* @__PURE__ */ Z({
2018
2018
  __name: "examInfoBase",
2019
2019
  props: {
2020
2020
  extent: {}
@@ -2078,10 +2078,10 @@ const vt = /* @__PURE__ */ re(ma, [["__scopeId", "data-v-7bd75c30"]]), ya = { cl
2078
2078
  ]));
2079
2079
  }
2080
2080
  });
2081
- const ka = /* @__PURE__ */ re(xa, [["__scopeId", "data-v-44e44996"]]), Ne = (e) => (He("data-v-936c144e"), e = e(), Re(), e), Ca = {
2081
+ const ka = /* @__PURE__ */ ce(xa, [["__scopeId", "data-v-44e44996"]]), Ne = (e) => (He("data-v-936c144e"), e = e(), Re(), e), Ca = {
2082
2082
  key: 0,
2083
2083
  class: "flex border mt-2 red_sheet"
2084
- }, $a = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("p", { class: "px-4 text-center border-r tracking-[3px] text_dir" }, "注意事项", -1)), Sa = { class: "flex-1 overflow-hidden" }, Ia = { class: "flex items-center flex-1 pl-2" }, Ta = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("span", null, "此框为缺考考生标记,由监考员填涂。", -1)), La = { class: "flex items-center justify-center text-black" }, Fa = ["data-xine"], Ea = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("span", null, "[", -1)), Ma = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("span", { class: "ml-4" }, "]", -1)), Pa = [
2084
+ }, $a = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("p", { class: "px-4 text-center border-r tracking-[3px] text_dir" }, "注意事项", -1)), Ia = { class: "flex-1 overflow-hidden" }, Sa = { class: "flex items-center flex-1 pl-2" }, Ta = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("span", null, "此框为缺考考生标记,由监考员填涂。", -1)), La = { class: "flex items-center justify-center text-black" }, Fa = ["data-xine"], Ea = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("span", null, "[", -1)), Ma = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("span", { class: "ml-4" }, "]", -1)), Pa = [
2085
2085
  Ea,
2086
2086
  Ma
2087
2087
  ], Da = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g("p", { class: "flex items-center border-l px-2 py-1" }, [
@@ -2110,7 +2110,7 @@ const ka = /* @__PURE__ */ re(xa, [["__scopeId", "data-v-44e44996"]]), Ne = (e)
2110
2110
  return (a, n) => (s(), d(M, null, [
2111
2111
  a.layout.noteFlag ? (s(), d("div", Ca, [
2112
2112
  $a,
2113
- g("div", Sa, [
2113
+ g("div", Ia, [
2114
2114
  (s(!0), d(M, null, V(o.value, (r) => (s(), d("p", {
2115
2115
  key: r,
2116
2116
  class: "px-2 origin-left scale-75 tip_item"
@@ -2121,7 +2121,7 @@ const ka = /* @__PURE__ */ re(xa, [["__scopeId", "data-v-44e44996"]]), Ne = (e)
2121
2121
  key: 1,
2122
2122
  class: te(["flex border text-sm red_sheet", a.layout.noteFlag ? "border-t-0" : "mt-2"])
2123
2123
  }, [
2124
- g("p", Ia, [
2124
+ g("p", Sa, [
2125
2125
  Ta,
2126
2126
  g("span", La, [
2127
2127
  K(_e, { name: "rightArrow" }),
@@ -2137,7 +2137,7 @@ const ka = /* @__PURE__ */ re(xa, [["__scopeId", "data-v-44e44996"]]), Ne = (e)
2137
2137
  ], 64));
2138
2138
  }
2139
2139
  });
2140
- const Ba = /* @__PURE__ */ re(Na, [["__scopeId", "data-v-936c144e"]]), wt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), Oa = (e, t = "", o = !0, a = "children") => {
2140
+ const Ba = /* @__PURE__ */ ce(Na, [["__scopeId", "data-v-936c144e"]]), wt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), Oa = (e, t = "", o = !0, a = "children") => {
2141
2141
  let n = [];
2142
2142
  const r = (l) => {
2143
2143
  (l[a] || []).length ? (o && n.push(t ? l[t] : l[a]), l[a].forEach((i) => r(i))) : n.push(t ? l[t] : l);
@@ -2162,7 +2162,7 @@ const za = {
2162
2162
  }, Ha = /* @__PURE__ */ g("li", { class: "flex-1 flex flex-col" }, [
2163
2163
  /* @__PURE__ */ g("p", { class: "flex-1" }, "题号"),
2164
2164
  /* @__PURE__ */ g("p", { class: "flex-1 border-t" }, "得分")
2165
- ], -1), Ra = { class: "flex-1" }, Wa = /* @__PURE__ */ g("p", { class: "flex-1 border-t" }, null, -1), Ga = /* @__PURE__ */ g("li", { class: "flex-1 flex flex-col border-l" }, [
2165
+ ], -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" }, [
2166
2166
  /* @__PURE__ */ g("p", { class: "flex-1" }, "总分"),
2167
2167
  /* @__PURE__ */ g("p", { class: "flex-1 border-t" })
2168
2168
  ], -1), Ya = /* @__PURE__ */ Z({
@@ -2180,9 +2180,9 @@ const za = {
2180
2180
  class: "flex-1 flex flex-col border-l"
2181
2181
  }, [
2182
2182
  g("p", Ra, X(x(Pt)(l)), 1),
2183
- Wa
2183
+ Ga
2184
2184
  ]))), 128)),
2185
- Ga
2185
+ Wa
2186
2186
  ])) : P("", !0);
2187
2187
  }
2188
2188
  }), qa = /* @__PURE__ */ Z({
@@ -2214,24 +2214,24 @@ const za = {
2214
2214
  c.showColBorder ? (s(), d("div", {
2215
2215
  key: 0,
2216
2216
  class: te(["absolute border rounded-3xl pointer-events-none z-1 red_sheet", i.value && "tips"]),
2217
- style: G(r.value)
2217
+ style: W(r.value)
2218
2218
  }, [
2219
2219
  g("span", {
2220
2220
  class: "absolute border border-black",
2221
- style: G(l.value)
2221
+ style: W(l.value)
2222
2222
  }, null, 4)
2223
2223
  ], 6)) : P("", !0),
2224
2224
  g("div", {
2225
2225
  class: "absolute overflow-hidden",
2226
2226
  ref_key: "colView",
2227
2227
  ref: n,
2228
- style: G(c.styleInfo)
2228
+ style: W(c.styleInfo)
2229
2229
  }, [
2230
2230
  g("div", {
2231
2231
  ref_key: "col",
2232
2232
  ref: a,
2233
2233
  class: "overflow-hidden __col__",
2234
- style: G({ height: c.styleInfo.contentHeight })
2234
+ style: W({ height: c.styleInfo.contentHeight })
2235
2235
  }, [
2236
2236
  it(c.$slots, "default", {}, void 0, !0)
2237
2237
  ], 4)
@@ -2239,7 +2239,7 @@ const za = {
2239
2239
  ], 64));
2240
2240
  }
2241
2241
  });
2242
- const Qa = /* @__PURE__ */ re(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e) => (He("data-v-4dff340b"), e = e(), Re(), 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 = [
2242
+ const Qa = /* @__PURE__ */ ce(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e) => (He("data-v-3f588317"), e = e(), Re(), 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 = [
2243
2243
  ja
2244
2244
  ], Va = ["data-xine"], Za = /* @__PURE__ */ Z({
2245
2245
  __name: "bind",
@@ -2253,7 +2253,7 @@ const Qa = /* @__PURE__ */ re(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e)
2253
2253
  const t = Q(), o = ["学校", "班级", "准考证号", "姓名"];
2254
2254
  return (a, n) => a.isBindFlag ? (s(), d("div", {
2255
2255
  key: 0,
2256
- style: G({ width: `${a.currentPage % 2 ? 0 : a.width}px`, height: `${a.height - 20}px` }),
2256
+ style: W({ width: `${a.currentPage % 2 ? 0 : a.width}px`, height: `${a.height - 20}px` }),
2257
2257
  class: te([a.currentPage % 2 && "right_view"]),
2258
2258
  ref_key: "view",
2259
2259
  ref: t
@@ -2261,11 +2261,11 @@ const Qa = /* @__PURE__ */ re(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e)
2261
2261
  a.currentPage % 2 ? (s(), d("div", {
2262
2262
  key: 0,
2263
2263
  class: "flex items-center justify-center origin-top-left border-b end_view",
2264
- style: G({ width: `${a.height - 20}px`, height: `${a.width}px` })
2264
+ style: W({ width: `${a.height - 20}px`, height: `${a.width}px` })
2265
2265
  }, "当前位置为密封线位置,请勿在此处作答", 4)) : (s(), d("div", {
2266
2266
  key: 1,
2267
2267
  class: "flex items-end px-20 pb-6 border-b origin-top-right front_view",
2268
- style: G({ width: `${a.height - 20}px` })
2268
+ style: W({ width: `${a.height - 20}px` })
2269
2269
  }, [
2270
2270
  (s(), d(M, null, V(o, (r) => g("p", {
2271
2271
  key: r,
@@ -2285,7 +2285,7 @@ const Qa = /* @__PURE__ */ re(qa, [["__scopeId", "data-v-e102e805"]]), Dt = (e)
2285
2285
  ], 6)) : P("", !0);
2286
2286
  }
2287
2287
  });
2288
- const Ja = /* @__PURE__ */ re(Za, [["__scopeId", "data-v-4dff340b"]]), 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__ */ Z({
2288
+ const Ja = /* @__PURE__ */ ce(Za, [["__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__ */ Z({
2289
2289
  __name: "simple",
2290
2290
  props: {
2291
2291
  item: {},
@@ -2307,7 +2307,7 @@ const Ja = /* @__PURE__ */ re(Za, [["__scopeId", "data-v-4dff340b"]]), we = "MC5
2307
2307
  }, [
2308
2308
  (s(!0), d(M, null, V(a.value, (l, i) => (s(), d("li", {
2309
2309
  class: "flex items-center justify-center relative score_line",
2310
- style: G({ width: `${x(je)[n.layout.scoreLineSize].value}px` }),
2310
+ style: W({ width: `${x(je)[n.layout.scoreLineSize].value}px` }),
2311
2311
  "data-xine": x(C).score_item
2312
2312
  }, [
2313
2313
  g("span", il, X(l), 1),
@@ -2362,7 +2362,7 @@ const Ja = /* @__PURE__ */ re(Za, [["__scopeId", "data-v-4dff340b"]]), we = "MC5
2362
2362
  }, [
2363
2363
  (s(!0), d(M, null, V(h, (Y) => (s(), d("li", {
2364
2364
  class: "flex items-center justify-center flex-shrink-0 score_line",
2365
- style: G({ width: `${x(je)[y.layout.scoreLineSize].value}px` }),
2365
+ style: W({ width: `${x(je)[y.layout.scoreLineSize].value}px` }),
2366
2366
  "data-xine": Y.toString() ? x(C).score_item : ""
2367
2367
  }, [
2368
2368
  g("span", {
@@ -2400,7 +2400,7 @@ const Ja = /* @__PURE__ */ re(Za, [["__scopeId", "data-v-4dff340b"]]), we = "MC5
2400
2400
  ], 8, hl));
2401
2401
  }
2402
2402
  });
2403
- const _l = /* @__PURE__ */ re(yl, [["__scopeId", "data-v-a8dbd3b0"]]), fl = ["innerHTML"], gl = /* @__PURE__ */ Z({
2403
+ const _l = /* @__PURE__ */ ce(yl, [["__scopeId", "data-v-a8dbd3b0"]]), fl = ["innerHTML"], gl = /* @__PURE__ */ Z({
2404
2404
  __name: "index",
2405
2405
  props: {
2406
2406
  data: {}
@@ -2413,7 +2413,7 @@ const _l = /* @__PURE__ */ re(yl, [["__scopeId", "data-v-a8dbd3b0"]]), fl = ["in
2413
2413
  }, null, 8, fl));
2414
2414
  }
2415
2415
  });
2416
- const Ae = /* @__PURE__ */ re(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["data-tag", "data-block"], vl = /* @__PURE__ */ Z({
2416
+ const Ae = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["data-tag", "data-block"], vl = /* @__PURE__ */ Z({
2417
2417
  __name: "notArea",
2418
2418
  props: {
2419
2419
  item: {}
@@ -2433,10 +2433,10 @@ const Ae = /* @__PURE__ */ re(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["da
2433
2433
  }), wl = (e) => (He("data-v-7092617e"), e = e(), Re(), e), xl = ["data-tag", "data-block"], kl = {
2434
2434
  key: 0,
2435
2435
  class: "flex-shrink-0"
2436
- }, Cl = { class: "flex flex-wrap" }, $l = { key: 0 }, Sl = {
2436
+ }, Cl = { class: "flex flex-wrap" }, $l = { key: 0 }, Il = {
2437
2437
  key: 1,
2438
2438
  class: "indent-2"
2439
- }, Il = { key: 0 }, Tl = { 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__ */ Z({
2439
+ }, Sl = { key: 0 }, Tl = { 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__ */ Z({
2440
2440
  __name: "index",
2441
2441
  props: {
2442
2442
  item: {},
@@ -2461,9 +2461,9 @@ const Ae = /* @__PURE__ */ re(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["da
2461
2461
  g("div", Cl, [
2462
2462
  g("span", null, X(i.item.name), 1),
2463
2463
  i.item.desc ? (s(), d("span", $l, "(" + X(i.item.desc) + ")", 1)) : P("", !0),
2464
- i.layout.scoreTipFlag ? (s(), d("span", Sl, "(共" + X(r.value) + "题,共" + X(i.item.totalScore) + "分)", 1)) : P("", !0)
2464
+ i.layout.scoreTipFlag ? (s(), d("span", Il, "(共" + X(r.value) + "题,共" + X(i.item.totalScore) + "分)", 1)) : P("", !0)
2465
2465
  ]),
2466
- a.value || n.value ? (s(), d("div", Il, [
2466
+ a.value || n.value ? (s(), d("div", Sl, [
2467
2467
  a.value ? (s(), d("p", Tl, "请在以下" + X(i.item.rawChildren.length) + "道题目中任选一题作答,如果漏涂或多涂,则按第一题计分。", 1)) : (s(), d("p", Ll, "请在以下题目中选择你要作答的题目,并在对应的填涂框中填涂表示,如果未填涂则按不作答处理。")),
2468
2468
  g("p", {
2469
2469
  class: "flex flex-wrap",
@@ -2490,11 +2490,11 @@ const Ae = /* @__PURE__ */ re(gl, [["__scopeId", "data-v-e6258dec"]]), bl = ["da
2490
2490
  }, null, 8, ["class", "item"]));
2491
2491
  }
2492
2492
  });
2493
- const Ct = /* @__PURE__ */ re(Dl, [["__scopeId", "data-v-7092617e"]]), Al = {};
2493
+ const Ct = /* @__PURE__ */ ce(Dl, [["__scopeId", "data-v-7092617e"]]), Al = {};
2494
2494
  function Nl(e, t) {
2495
2495
  return null;
2496
2496
  }
2497
- const Bl = /* @__PURE__ */ re(Al, [["render", Nl]]), Ol = ["data-block"], zl = ["data-xine"], Hl = /* @__PURE__ */ Z({
2497
+ const Bl = /* @__PURE__ */ ce(Al, [["render", Nl]]), Ol = ["data-block"], zl = ["data-xine"], Hl = /* @__PURE__ */ Z({
2498
2498
  __name: "sheet",
2499
2499
  props: {
2500
2500
  item: {},
@@ -2507,7 +2507,7 @@ const Bl = /* @__PURE__ */ re(Al, [["render", Nl]]), Ol = ["data-block"], zl = [
2507
2507
  }, [
2508
2508
  (s(!0), d(M, null, V(t.item.optList, (a, n) => (s(), d("span", {
2509
2509
  class: te(["fill_block", t.layout.showAnswer && t.item.answer.includes(x(wt)[n]) && "bg-success border-success"]),
2510
- style: G({ width: `${x(Ie)[t.layout.fillSize].value + 1}px`, height: `${x(Ie)[t.layout.fillSize].height + 1}px` }),
2510
+ style: W({ width: `${x(Se)[t.layout.fillSize].value + 1}px`, height: `${x(Se)[t.layout.fillSize].height + 1}px` }),
2511
2511
  "data-xine": x(C).fill + n
2512
2512
  }, [
2513
2513
  K(_e, {
@@ -2518,10 +2518,10 @@ const Bl = /* @__PURE__ */ re(Al, [["render", Nl]]), Ol = ["data-block"], zl = [
2518
2518
  ], 8, Ol));
2519
2519
  }
2520
2520
  }), Rl = {};
2521
- function Wl(e, t) {
2521
+ function Gl(e, t) {
2522
2522
  return null;
2523
2523
  }
2524
- const Gl = /* @__PURE__ */ re(Rl, [["render", Wl]]), Yl = ["data-block"], ql = ["data-xine"], Ql = ["data-xine"], Ul = ["data-xine"], Kl = /* @__PURE__ */ g("span", { class: "text-sm scale-75" }, "T", -1), jl = [
2524
+ const Wl = /* @__PURE__ */ ce(Rl, [["render", Gl]]), Yl = ["data-block"], ql = ["data-xine"], Ql = ["data-xine"], Ul = ["data-xine"], Kl = /* @__PURE__ */ g("span", { class: "text-sm scale-75" }, "T", -1), jl = [
2525
2525
  Kl
2526
2526
  ], Xl = ["data-xine"], Vl = /* @__PURE__ */ g("span", { class: "text-sm scale-75" }, "F", -1), Zl = [
2527
2527
  Vl
@@ -2533,17 +2533,17 @@ const Gl = /* @__PURE__ */ re(Rl, [["render", Wl]]), Yl = ["data-block"], ql = [
2533
2533
  },
2534
2534
  setup(e) {
2535
2535
  const t = e, o = A(() => ({
2536
- width: `${Ie[t.layout.fillSize].value + 1}px`,
2537
- height: `${Ie[t.layout.fillSize].height + 1}px`
2536
+ width: `${Se[t.layout.fillSize].value + 1}px`,
2537
+ height: `${Se[t.layout.fillSize].height + 1}px`
2538
2538
  }));
2539
2539
  return (a, n) => (s(), d("div", {
2540
2540
  class: "flex red_sheet",
2541
2541
  "data-block": x(we)
2542
2542
  }, [
2543
- a.item.style[x(m)[a.layout.mode].decide_a] === x(I).decide_1 ? (s(), d(M, { key: 0 }, [
2543
+ a.item.style[x(m)[a.layout.mode].decide_a] === x(S).decide_1 ? (s(), d(M, { key: 0 }, [
2544
2544
  g("span", {
2545
2545
  class: te(["fill_block", a.layout.showAnswer && a.item.answer.includes("T") && "bg-success border-success"]),
2546
- style: G(o.value),
2546
+ style: W(o.value),
2547
2547
  "data-xine": x(C).fill + "0"
2548
2548
  }, [
2549
2549
  K(_e, {
@@ -2553,7 +2553,7 @@ const Gl = /* @__PURE__ */ re(Rl, [["render", Wl]]), Yl = ["data-block"], ql = [
2553
2553
  ], 14, ql),
2554
2554
  g("span", {
2555
2555
  class: te(["fill_block", a.layout.showAnswer && a.item.answer.includes("F") && "bg-success border-success"]),
2556
- style: G(o.value),
2556
+ style: W(o.value),
2557
2557
  "data-xine": x(C).fill + "1"
2558
2558
  }, [
2559
2559
  K(_e, {
@@ -2564,12 +2564,12 @@ const Gl = /* @__PURE__ */ re(Rl, [["render", Wl]]), Yl = ["data-block"], ql = [
2564
2564
  ], 64)) : (s(), d(M, { key: 1 }, [
2565
2565
  g("span", {
2566
2566
  class: te(["fill_block", a.layout.showAnswer && a.item.answer.includes("T") && "bg-success border-success"]),
2567
- style: G(o.value),
2567
+ style: W(o.value),
2568
2568
  "data-xine": x(C).fill + "0"
2569
2569
  }, jl, 14, Ul),
2570
2570
  g("span", {
2571
2571
  class: te(["fill_block", a.layout.showAnswer && a.item.answer.includes("F") && "bg-success border-success"]),
2572
- style: G(o.value),
2572
+ style: W(o.value),
2573
2573
  "data-xine": x(C).fill + "1"
2574
2574
  }, Zl, 14, Xl)
2575
2575
  ], 64))
@@ -2579,7 +2579,7 @@ const Gl = /* @__PURE__ */ re(Rl, [["render", Wl]]), Yl = ["data-block"], ql = [
2579
2579
  function tn(e, t) {
2580
2580
  return null;
2581
2581
  }
2582
- const on = /* @__PURE__ */ re(en, [["render", tn]]), an = ["data-block", "data-xine"], ln = {
2582
+ const on = /* @__PURE__ */ ce(en, [["render", tn]]), an = ["data-block", "data-xine"], ln = {
2583
2583
  key: 0,
2584
2584
  class: "flex items-center justify-center whitespace-nowrap text-sm scale-75"
2585
2585
  }, nn = { key: 1 }, sn = /* @__PURE__ */ Z({
@@ -2619,7 +2619,7 @@ const on = /* @__PURE__ */ re(en, [["render", tn]]), an = ["data-block", "data-x
2619
2619
  return (o, a) => (s(), d(M, null, [
2620
2620
  g("div", {
2621
2621
  class: "flex-1 border-b self-stretch red_sheet",
2622
- style: G({ height: `${20 + o.item.style[x(m)[t.layout.mode].fill_e]}px` }),
2622
+ style: W({ height: `${20 + o.item.style[x(m)[t.layout.mode].fill_e]}px` }),
2623
2623
  "data-xine": x(C).fill_line
2624
2624
  }, null, 12, rn),
2625
2625
  o.layout.handReadFlag ? (s(), U(sn, {
@@ -2634,7 +2634,7 @@ const on = /* @__PURE__ */ re(en, [["render", tn]]), an = ["data-block", "data-x
2634
2634
  function un(e, t) {
2635
2635
  return null;
2636
2636
  }
2637
- const hn = /* @__PURE__ */ re(dn, [["render", un]]), pn = ["data-block"], mn = { class: "flex-1 flex justify-end overflow-hidden" }, yn = /* @__PURE__ */ Z({
2637
+ const hn = /* @__PURE__ */ ce(dn, [["render", un]]), pn = ["data-block"], mn = { class: "flex-1 flex justify-end overflow-hidden" }, yn = /* @__PURE__ */ Z({
2638
2638
  __name: "sheet",
2639
2639
  props: {
2640
2640
  item: {},
@@ -2668,7 +2668,7 @@ const hn = /* @__PURE__ */ re(dn, [["render", un]]), pn = ["data-block"], mn = {
2668
2668
  function fn(e, t) {
2669
2669
  return null;
2670
2670
  }
2671
- const gn = /* @__PURE__ */ re(_n, [["render", fn]]), bn = /* @__PURE__ */ g("div", { class: "flex-1 border-b self-end mr-2" }, null, -1), vn = /* @__PURE__ */ Z({
2671
+ const gn = /* @__PURE__ */ ce(_n, [["render", fn]]), bn = /* @__PURE__ */ g("div", { class: "flex-1 border-b self-end mr-2" }, null, -1), vn = /* @__PURE__ */ Z({
2672
2672
  __name: "sheet",
2673
2673
  props: {
2674
2674
  item: {},
@@ -2687,23 +2687,23 @@ const gn = /* @__PURE__ */ re(_n, [["render", fn]]), bn = /* @__PURE__ */ g("div
2687
2687
  function xn(e, t) {
2688
2688
  return null;
2689
2689
  }
2690
- const kn = /* @__PURE__ */ re(wn, [["render", xn]]), Cn = {};
2690
+ const kn = /* @__PURE__ */ ce(wn, [["render", xn]]), Cn = {};
2691
2691
  function $n(e, t) {
2692
2692
  return null;
2693
2693
  }
2694
- const Sn = /* @__PURE__ */ re(Cn, [["render", $n]]), In = {};
2694
+ const In = /* @__PURE__ */ ce(Cn, [["render", $n]]), Sn = {};
2695
2695
  function Tn(e, t) {
2696
2696
  return null;
2697
2697
  }
2698
- const Ln = /* @__PURE__ */ re(In, [["render", Tn]]), Fn = {};
2698
+ const Ln = /* @__PURE__ */ ce(Sn, [["render", Tn]]), Fn = {};
2699
2699
  function En(e, t) {
2700
2700
  return null;
2701
2701
  }
2702
- const Mn = /* @__PURE__ */ re(Fn, [["render", En]]), Pn = {};
2702
+ const Mn = /* @__PURE__ */ ce(Fn, [["render", En]]), Pn = {};
2703
2703
  function Dn(e, t) {
2704
2704
  return null;
2705
2705
  }
2706
- const An = /* @__PURE__ */ re(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__ */ Z({
2706
+ 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__ */ Z({
2707
2707
  __name: "sheet",
2708
2708
  props: {
2709
2709
  item: {},
@@ -2762,7 +2762,7 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2762
2762
  "data-block": x(Ee),
2763
2763
  "data-guide": h.item.id,
2764
2764
  class: te(["absolute", !h.item.startAnswerLen && "indent-[2em]"]),
2765
- style: G({ ...a.value, width: u.value.width, lineHeight: `${c.value + 7}px` })
2765
+ style: W({ ...a.value, width: u.value.width, lineHeight: `${c.value + 7}px` })
2766
2766
  }, X(h.item.beforeGuide), 15, On)) : P("", !0),
2767
2767
  (s(!0), d(M, null, V(i.value, (Y, J) => (s(), d("p", {
2768
2768
  ref_for: !0,
@@ -2771,17 +2771,17 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2771
2771
  class: te(["flex mx-auto mt-3 mb-1 relative red_sheet", h.item.artBlock ? "border divide-x divide-solid" : "border-b"]),
2772
2772
  "data-block": x(we),
2773
2773
  "data-size": h.item.startAnswerLen + (J + 1) * o.value,
2774
- style: G(u.value)
2774
+ style: W(u.value)
2775
2775
  }, [
2776
2776
  h.item.artBlock ? (s(!0), d(M, { key: 0 }, V(o.value, (E, D) => (s(), d("span", {
2777
2777
  class: te([O.value[J * o.value + D] && "flex items-center justify-center"]),
2778
- style: G(y.value)
2778
+ style: W(y.value)
2779
2779
  }, X(O.value[J * o.value + D]), 7))), 256)) : P("", !0),
2780
2780
  (s(!0), d(M, null, V(l.value, (E) => (s(), d(M, null, [
2781
2781
  h.item.startAnswerLen + J * o.value < E && h.item.startAnswerLen + (J + 1) * o.value >= E ? (s(), d("span", {
2782
2782
  key: 0,
2783
2783
  class: "absolute leading-4 text-base -bottom-4 scale-50 border-transparent",
2784
- style: G({ left: `${(E - h.item.startAnswerLen) % o.value * c.value}px` }),
2784
+ style: W({ left: `${(E - h.item.startAnswerLen) % o.value * c.value}px` }),
2785
2785
  "data-block": x(Ee)
2786
2786
  }, X(E), 13, Hn)) : P("", !0)
2787
2787
  ], 64))), 256))
@@ -2794,7 +2794,7 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2794
2794
  }, null, 8, ["data", "data-aart"])) : P("", !0)
2795
2795
  ], 512));
2796
2796
  }
2797
- }), Wn = ["data-block"], Gn = /* @__PURE__ */ Z({
2797
+ }), Gn = ["data-block"], Wn = /* @__PURE__ */ Z({
2798
2798
  __name: "index",
2799
2799
  props: {
2800
2800
  item: {},
@@ -2810,7 +2810,7 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2810
2810
  "data-content": o.item.id,
2811
2811
  data: o.item.content
2812
2812
  }, null, 8, ["data-content", "data"])
2813
- ], 8, Wn));
2813
+ ], 8, Gn));
2814
2814
  }
2815
2815
  }), Yn = ["data-block"], qn = { key: 0 }, Qn = { key: 1 }, Un = { key: 2 }, Kn = {
2816
2816
  key: 3,
@@ -2826,7 +2826,7 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2826
2826
  const t = e, o = A(() => (t.sub.length > 1 ? [t.sub[0], t.sub[t.sub.length - 1]] : t.sub).map((r) => r.split(".")).map((r) => t.isFull ? r : r.map((l, i) => i === r.length - 1 ? l : ""))), a = A(() => t.width ? `${t.width}em` : "");
2827
2827
  return (n, r) => (s(), d("span", {
2828
2828
  class: te(["flex items-center flex-shrink-0 leading-none mr-2 mt-[1px]", n.isFull && "justify-end"]),
2829
- style: G({ width: a.value }),
2829
+ style: W({ width: a.value }),
2830
2830
  "data-block": x(Ee)
2831
2831
  }, [
2832
2832
  (s(!0), d(M, null, V(o.value, (l, i) => (s(), d(M, null, [
@@ -2841,7 +2841,7 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2841
2841
  components: {
2842
2842
  choice: Bl,
2843
2843
  choiceSheet: Hl,
2844
- decide: Gl,
2844
+ decide: Wl,
2845
2845
  decideSheet: Jl,
2846
2846
  fill: on,
2847
2847
  fillSheet: cn,
@@ -2850,12 +2850,12 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2850
2850
  easy_slove: gn,
2851
2851
  easy_sloveSheet: vn,
2852
2852
  mix: kn,
2853
- mixSheet: Sn,
2853
+ mixSheet: In,
2854
2854
  synthesis: Ln,
2855
2855
  synthesisSheet: Mn,
2856
2856
  art: An,
2857
2857
  artSheet: Rn,
2858
- notArea: Gn,
2858
+ notArea: Wn,
2859
2859
  Sub: jn
2860
2860
  },
2861
2861
  props: {
@@ -2893,12 +2893,12 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2893
2893
  choice: [p.choice, p.choice_english, p.choice_multiple, p.cloze],
2894
2894
  fill: [p.fill, p.fill_english]
2895
2895
  };
2896
- return Object.keys(p).reduce((k, w) => ({ ...k, [p[w]]: Object.keys(_).find((H) => _[H].includes(p[w])) || `${w}${o}` }), {});
2896
+ return Object.keys(p).reduce((k, w) => ({ ...k, [p[w]]: Object.keys(_).find((R) => _[R].includes(p[w])) || `${w}${o}` }), {});
2897
2897
  }), l = A(() => [be.one_choice, be.another_choice].includes(e.data.problemType)), i = A(() => {
2898
2898
  let _ = [];
2899
2899
  return e.data.children.forEach((k) => {
2900
2900
  let w = _[_.length - 1];
2901
- (k.polymerId || a.includes(e.data.problemType)) && a.includes(k.problemType) && k.style && (k.style[m[e.layout.mode].choice_a] !== I.choice_1 || k.style[m[e.layout.mode].choice_b] === I.portrait) ? (!w || w.type !== "polymer" || w.polymerId !== k.polymerId) && (_.push({
2901
+ (k.polymerId || a.includes(e.data.problemType)) && a.includes(k.problemType) && k.style && (k.style[m[e.layout.mode].choice_a] !== S.choice_1 || k.style[m[e.layout.mode].choice_b] === S.portrait) ? (!w || w.type !== "polymer" || w.polymerId !== k.polymerId) && (_.push({
2902
2902
  type: "polymer",
2903
2903
  problemType: k.problemType,
2904
2904
  polymerId: k.polymerId,
@@ -2911,14 +2911,14 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2911
2911
  }), w = _[_.length - 1]), w.children.push(k);
2912
2912
  }), _ = _.map((k) => {
2913
2913
  var w;
2914
- if (k.type === "polymer" && k.styleInfo[m[e.layout.mode].choice_a] === I.choice_3) {
2915
- const H = Math.floor(e.width / (Math.max(...k.children.map((B) => B.optList.length)) * (Ie[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((w = k.children[0]) == null ? void 0 : w.polymerId) || ""]) * 14 + 20));
2916
- if (k.children.length > H * 5) {
2914
+ if (k.type === "polymer" && k.styleInfo[m[e.layout.mode].choice_a] === S.choice_3) {
2915
+ const R = Math.floor(e.width / (Math.max(...k.children.map((B) => B.optList.length)) * (Se[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((w = k.children[0]) == null ? void 0 : w.polymerId) || ""]) * 14 + 20));
2916
+ if (k.children.length > R * 5) {
2917
2917
  const B = k.children.length % 4 > 4 ? 5 : 4;
2918
- return [...Array(Math.ceil(k.children.length / (H * B))).keys()].map((ue, he) => ({
2918
+ return [...Array(Math.ceil(k.children.length / (R * B))).keys()].map((ue, he) => ({
2919
2919
  ...k,
2920
2920
  groupIndex: he,
2921
- children: k.children.slice(he * H * B, (he + 1) * H * B)
2921
+ children: k.children.slice(he * R * B, (he + 1) * R * B)
2922
2922
  }));
2923
2923
  } else
2924
2924
  return k;
@@ -2952,25 +2952,25 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2952
2952
  SubWidthInfo: u,
2953
2953
  ComputName: (_) => _.problemType ? r.value[_.problemType] : "notArea",
2954
2954
  ComputAbs: (_) => o && [p.slove, p.art].includes(_.problemType),
2955
- ComputPolymerCls: (_) => [p.decide].includes(_.problemType) ? [] : _.styleInfo[m[e.layout.mode].choice_a] === I.choice_2 ? ["port_view"] : ["grid", _.groupIndex && "mt-8"],
2955
+ ComputPolymerCls: (_) => [p.decide].includes(_.problemType) ? [] : _.styleInfo[m[e.layout.mode].choice_a] === S.choice_2 ? ["port_view"] : ["grid", _.groupIndex && "mt-8"],
2956
2956
  ComputPolymerStyle: (_) => {
2957
- var he, ce;
2957
+ var he, se;
2958
2958
  let k = {};
2959
- const w = Math.max(...(_.rawChildren || _.children).map((L) => L.optList.length)) * (Ie[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, H = Math.floor(e.width / (Math.max(...(_.rawChildren || _.children).map((L) => L.optList.length)) * (Ie[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((ce = _.children[0]) == null ? void 0 : ce.polymerId) || ""]) * 14 + 20)), B = Math.min(H, e.data.style[m[e.layout.mode].choice_d] || 10), ue = (e.width - w * B) / (B - 1) - 10;
2959
+ const w = Math.max(...(_.rawChildren || _.children).map((L) => L.optList.length)) * (Se[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)) * (Se[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[m[e.layout.mode].choice_d] || 10), ue = (e.width - w * B) / (B - 1) - 10;
2960
2960
  switch (_.styleInfo[m[e.layout.mode].choice_a]) {
2961
- case I.choice_1:
2962
- _.styleInfo[m[e.layout.mode].choice_b] === I.portrait && (k = {
2961
+ case S.choice_1:
2962
+ _.styleInfo[m[e.layout.mode].choice_b] === S.portrait && (k = {
2963
2963
  "grid-auto-flow": e.noPortrait ? "row" : "column",
2964
2964
  "grid-template-columns": `repeat(${B}, 1fr)`,
2965
2965
  "grid-template-rows": `repeat(${Math.ceil(_.children.length / B)}, 1fr)`,
2966
2966
  "column-gap": `${ue}px`
2967
2967
  });
2968
2968
  break;
2969
- case I.choice_3:
2969
+ case S.choice_3:
2970
2970
  k = {
2971
2971
  "grid-template-columns": `repeat(${B}, 1fr)`,
2972
2972
  "grid-template-rows": `repeat(${Math.ceil(_.children.length / B)}, 1fr)`
2973
- }, _.styleInfo[m[e.layout.mode].choice_b] === I.portrait && (k = {
2973
+ }, _.styleInfo[m[e.layout.mode].choice_b] === S.portrait && (k = {
2974
2974
  ...k,
2975
2975
  "grid-auto-flow": e.noPortrait ? "row" : "column",
2976
2976
  "column-gap": `${ue}px`
@@ -2981,8 +2981,8 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2981
2981
  },
2982
2982
  ComputPolymerItemStyle: (_, k) => {
2983
2983
  var w;
2984
- if (a.includes(_.problemType) && _.style[m[e.layout.mode].choice_a] === I.choice_2) {
2985
- const H = Math.max(Ie[e.layout.fillSize].value + 4, (u.value[`h${e.data.id}`] || u.value[((w = _.children[0]) == null ? void 0 : w.polymerId) || ""]) * 14 + 8), B = Math.floor(e.width / (H * _.style[m[e.layout.mode].choice_c] + 10)), ue = (e.width - H * B * _.style[m[e.layout.mode].choice_c]) / (B - 1 || 1);
2984
+ if (a.includes(_.problemType) && _.style[m[e.layout.mode].choice_a] === S.choice_2) {
2985
+ const R = Math.max(Se[e.layout.fillSize].value + 4, (u.value[`h${e.data.id}`] || u.value[((w = _.children[0]) == null ? void 0 : w.polymerId) || ""]) * 14 + 8), B = Math.floor(e.width / (R * _.style[m[e.layout.mode].choice_c] + 10)), ue = (e.width - R * B * _.style[m[e.layout.mode].choice_c]) / (B - 1 || 1);
2986
2986
  if (!((k + 1) % _.style[m[e.layout.mode].choice_c]) && ((k + 1) % (_.style[m[e.layout.mode].choice_c] * B) || B < 2))
2987
2987
  return {
2988
2988
  "margin-right": `${ue}px`
@@ -2991,14 +2991,14 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2991
2991
  return {};
2992
2992
  },
2993
2993
  ComputStyle: (_, k) => {
2994
- var H;
2994
+ var R;
2995
2995
  let w = {};
2996
2996
  if (!o)
2997
2997
  return w;
2998
2998
  if (a.includes(_.problemType)) {
2999
2999
  let B = {};
3000
3000
  if (Object.values(Lt).includes(e.data.problemType)) {
3001
- const ue = Math.max(...(e.data.rawChildren || e.data.children).map((ce) => ce.optList.length)) * (Ie[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((H = e.data.children[0]) == null ? void 0 : H.polymerId) || ""]) * 14 + 20, he = Math.min(Math.floor(e.width / (ue + 10)), e.data.style[m[e.layout.mode].choice_d] || 10);
3001
+ const ue = Math.max(...(e.data.rawChildren || e.data.children).map((se) => se.optList.length)) * (Se[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((R = e.data.children[0]) == null ? void 0 : R.polymerId) || ""]) * 14 + 20, he = Math.min(Math.floor(e.width / (ue + 10)), e.data.style[m[e.layout.mode].choice_d] || 10);
3002
3002
  B = k % he ? { minWidth: `${ue}px`, marginLeft: `${(e.width - ue * he) / (he - 1) - 5}px` } : { minWidth: `${ue}px` };
3003
3003
  }
3004
3004
  w = {
@@ -3008,7 +3008,7 @@ const An = /* @__PURE__ */ re(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
3008
3008
  };
3009
3009
  } else
3010
3010
  [p.fill, p.fill_english].includes(_.problemType) && (w = {
3011
- display: _.style[m[e.layout.mode].fill_c] === I.fill_1 ? "flex" : "inline-flex",
3011
+ display: _.style[m[e.layout.mode].fill_c] === S.fill_1 ? "flex" : "inline-flex",
3012
3012
  alignItems: "flex-end",
3013
3013
  width: `calc(${100 / _.style[m[e.layout.mode].fill_d][_.order || 0]}% - 6px)`
3014
3014
  // paddingTop: `${10 + item.style[problemLayoutKey[props.layout.mode].fill_e]}px`
@@ -3050,13 +3050,13 @@ function ts(e, t, o, a, n, r) {
3050
3050
  key: 0,
3051
3051
  "data-block": a.ComputBlock(i),
3052
3052
  class: te([...a.ComputPolymerCls(i)]),
3053
- style: G(a.ComputPolymerStyle(i))
3053
+ style: W(a.ComputPolymerStyle(i))
3054
3054
  }, [
3055
3055
  (s(!0), d(M, null, V(i.children, (c, u) => {
3056
3056
  var y;
3057
3057
  return s(), d("div", {
3058
3058
  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", ((y = o.target.value) == null ? void 0 : y.rootProblemId) === c.rootProblemId ? "border-current" : "border-transparent"]),
3059
- style: G(a.ComputPolymerItemStyle(c, u)),
3059
+ style: W(a.ComputPolymerItemStyle(c, u)),
3060
3060
  "data-tag": c.__tag__,
3061
3061
  "data-block": a.ComputBlock(c),
3062
3062
  "data-xine": a.Gps_cls.item + c._sub,
@@ -3078,7 +3078,7 @@ function ts(e, t, o, a, n, r) {
3078
3078
  return s(), d(M, null, [
3079
3079
  g("div", {
3080
3080
  class: te(["flex items-center relative rounded-lg border p-1 m-1 hover:bg-gray hover:rounded-md hover:bg-opacity-70", a.hoverActive === c.rootProblemId && "bg-gray rounded-lg bg-opacity-70", ((y = o.target.value) == null ? void 0 : y.rootProblemId) === c.rootProblemId ? "border-current" : "border-transparent"]),
3081
- style: G(a.ComputStyle(c, u)),
3081
+ style: W(a.ComputStyle(c, u)),
3082
3082
  "data-tag": c.__tag__,
3083
3083
  "data-block": a.ComputBlock(c),
3084
3084
  "data-xine": a.Gps_cls.item + c._sub,
@@ -3109,10 +3109,10 @@ function ts(e, t, o, a, n, r) {
3109
3109
  }), 256))
3110
3110
  ], 64))), 256);
3111
3111
  }
3112
- const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os = 10, N = (e) => (e == null ? void 0 : e.getBoundingClientRect()) || null, le = (e, t) => (t || document.body.querySelector(".__layout__")).querySelector(`*[data-xine="${e}"]`), $e = (e, t) => Array.from((t || document.body.querySelector(".__layout__")).querySelectorAll(`*[data-xine="${e}"]`) || []), as = (e, t, o) => {
3112
+ const We = /* @__PURE__ */ ce(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os = 10, N = (e) => (e == null ? void 0 : e.getBoundingClientRect()) || null, le = (e, t) => (t || document.body.querySelector(".__layout__")).querySelector(`*[data-xine="${e}"]`), $e = (e, t) => Array.from((t || document.body.querySelector(".__layout__")).querySelectorAll(`*[data-xine="${e}"]`) || []), as = (e, t, o) => {
3113
3113
  const a = N(le(`${C.item}${e._sub}`, t));
3114
3114
  return !(a.top >= o.top + o.height || a.top + a.height < o.top);
3115
- }, ie = (e, t, o = !1) => !e || !t ? null : {
3115
+ }, re = (e, t, o = !1) => !e || !t ? null : {
3116
3116
  x: e.x - t.x,
3117
3117
  y: e.y - t.y + (o ? 1 : 0),
3118
3118
  width: e.width,
@@ -3148,8 +3148,8 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3148
3148
  return null;
3149
3149
  const a = {
3150
3150
  // area: GetPosition(el, config.pageDom[0]),
3151
- area: ie(N(o), N(e.pageDom[0])),
3152
- list: $e(C.en_num_group, o).map((n) => $e(C.en_num_item, n).map((r) => ie(N(r), N(e.pageDom[0]), !0)))
3151
+ area: re(N(o), N(e.pageDom[0])),
3152
+ list: $e(C.en_num_group, o).map((n) => $e(C.en_num_item, n).map((r) => re(N(r), N(e.pageDom[0]), !0)))
3153
3153
  };
3154
3154
  return {
3155
3155
  choiceGridSequenceNOList: [...Array(10).keys()],
@@ -3172,29 +3172,29 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3172
3172
  const t = N(e.pageDom[0]), o = N(e.pageDom[1]), a = (n) => {
3173
3173
  var l;
3174
3174
  const r = e.layout.backColumn > 2 ? {
3175
- trdLeftTopPos: ae(ie(N($e(`${C.point}t`, e.pageDom[n])[1]), N(e.pageDom[n]))),
3176
- trdLeftBottomPos: ae(ie(N($e(`${C.point}b`, e.pageDom[n])[1]), N(e.pageDom[n])))
3175
+ trdLeftTopPos: ae(re(N($e(`${C.point}t`, e.pageDom[n])[1]), N(e.pageDom[n]))),
3176
+ trdLeftBottomPos: ae(re(N($e(`${C.point}b`, e.pageDom[n])[1]), N(e.pageDom[n])))
3177
3177
  } : {};
3178
3178
  return (l = Oe.find((i) => i.code === e.layout.paper)) != null && l.isMultCol ? {
3179
- secLeftTopPos: ae(ie(N($e(`${C.point}t`, e.pageDom[n])[0]), N(e.pageDom[n]))),
3180
- secLeftBottomPos: ae(ie(N($e(`${C.point}b`, e.pageDom[n])[0]), N(e.pageDom[n]))),
3179
+ secLeftTopPos: ae(re(N($e(`${C.point}t`, e.pageDom[n])[0]), N(e.pageDom[n]))),
3180
+ secLeftBottomPos: ae(re(N($e(`${C.point}b`, e.pageDom[n])[0]), N(e.pageDom[n]))),
3181
3181
  ...r
3182
3182
  } : null;
3183
3183
  };
3184
3184
  return {
3185
3185
  // 取第一/二页定位点信息
3186
- leftTopPos: ae(ie(N(le(`${C.point}lt`, e.pageDom[0])), t)),
3187
- rightTopPos: ae(ie(N(le(`${C.point}rt`, e.pageDom[0])), t)),
3188
- leftBottomPos: ae(ie(N(le(`${C.point}lb`, e.pageDom[0])), t)),
3189
- rightBottomPos: ae(ie(N(le(`${C.point}rb`, e.pageDom[0])), t)),
3186
+ leftTopPos: ae(re(N(le(`${C.point}lt`, e.pageDom[0])), t)),
3187
+ rightTopPos: ae(re(N(le(`${C.point}rt`, e.pageDom[0])), t)),
3188
+ leftBottomPos: ae(re(N(le(`${C.point}lb`, e.pageDom[0])), t)),
3189
+ rightBottomPos: ae(re(N(le(`${C.point}rb`, e.pageDom[0])), t)),
3190
3190
  // waistAuxAnchorInfo: getAuxInfo(0, true),
3191
3191
  verticalAuxInfo: [
3192
- ae(ie(N(le(`${C.point}l`, e.pageDom[0])), t)),
3193
- ae(ie(N(le(`${C.point}r`, e.pageDom[0])), t))
3192
+ ae(re(N(le(`${C.point}l`, e.pageDom[0])), t)),
3193
+ ae(re(N(le(`${C.point}r`, e.pageDom[0])), t))
3194
3194
  ],
3195
3195
  verticalAuxInfo2: e.bindWidth && e.pageDom[1] ? [
3196
- ae(ie(N(le(`${C.point}l`, e.pageDom[1])), o)),
3197
- ae(ie(N(le(`${C.point}r`, e.pageDom[1])), o))
3196
+ ae(re(N(le(`${C.point}l`, e.pageDom[1])), o)),
3197
+ ae(re(N(le(`${C.point}r`, e.pageDom[1])), o))
3198
3198
  ] : null,
3199
3199
  auxAnchorInfo: a(0),
3200
3200
  auxAnchorInfo2: e.pageDom[1] ? a(1) : null
@@ -3205,7 +3205,7 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3205
3205
  const a = le(`${C.page_item}0`, e.pageDom[1]).getBoundingClientRect();
3206
3206
  t = le(`${C.page_item}1`, e.pageDom[1]).getBoundingClientRect().left - a.left - a.width;
3207
3207
  }
3208
- let o = ie(N(le(C.page, e.pageDom[e.pageTotal - 1])), N(e.pageDom[e.pageTotal - 1]));
3208
+ let o = re(N(le(C.page, e.pageDom[e.pageTotal - 1])), N(e.pageDom[e.pageTotal - 1]));
3209
3209
  return o = { ...o, y: o.y % (b[e.layout.paper].height + (e.pageMargin || 0)) }, [
3210
3210
  {
3211
3211
  // 固定值
@@ -3215,7 +3215,7 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3215
3215
  // 页码区块位置,部分需动态获取 x y width height
3216
3216
  choiceQuestionPosition: ae(o, !0),
3217
3217
  // 页码点区块第一个页码点的位置,部分需动态获取
3218
- firstChoicePosition: ae(ie(N(le(`${C.page_item}0`, e.pageDom[e.pageTotal - 1])), N(e.pageDom[e.pageTotal - 1]))),
3218
+ firstChoicePosition: ae(re(N(le(`${C.page_item}0`, e.pageDom[e.pageTotal - 1])), N(e.pageDom[e.pageTotal - 1]))),
3219
3219
  // 页码点最大值,展开为数组
3220
3220
  choiceGridSequenceNOList: ct.filter((a, n) => n < e.pageTotal),
3221
3221
  // 排列方向
@@ -3234,9 +3234,9 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3234
3234
  // 固定值
3235
3235
  questionNOList: [1],
3236
3236
  // 方框业务坐标
3237
- choiceQuestionPosition: ae(ie(N(t), N(e.pageDom[0])), !0),
3237
+ choiceQuestionPosition: ae(re(N(t), N(e.pageDom[0])), !0),
3238
3238
  // 数据坐标
3239
- firstChoicePosition: ae(ie(N(t), N(e.pageDom[0]))),
3239
+ firstChoicePosition: ae(re(N(t), N(e.pageDom[0]))),
3240
3240
  // 固定值
3241
3241
  choiceGridSequenceNOList: [
3242
3242
  "true"
@@ -3247,7 +3247,7 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3247
3247
  xColOffset: 0
3248
3248
  } : null;
3249
3249
  }, rs = (e) => {
3250
- let t = ie(N(le(C.en_code, e.pageDom[0])), N(e.pageDom[0]));
3250
+ let t = re(N(le(C.en_code, e.pageDom[0])), N(e.pageDom[0]));
3251
3251
  return ae(t);
3252
3252
  }, cs = (e) => {
3253
3253
  const t = le(C.write_view, e.pageDom[0]);
@@ -3257,9 +3257,9 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3257
3257
  return {
3258
3258
  id: "0",
3259
3259
  problemType: p.slove,
3260
- position: ie(N(t), N(e.pageDom[0])),
3260
+ position: re(N(t), N(e.pageDom[0])),
3261
3261
  scoreList: o.map((a, n) => ({
3262
- position: ie(N(o[n]), N(e.pageDom[0])),
3262
+ position: re(N(o[n]), N(e.pageDom[0])),
3263
3263
  itemPosition: {
3264
3264
  width: o[n].offsetWidth
3265
3265
  },
@@ -3325,12 +3325,12 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3325
3325
  return D ? {
3326
3326
  id: `${++o}`,
3327
3327
  baseIndex: parseInt(E.children[0]._sub),
3328
- position: ie(N(D), u),
3328
+ position: re(N(D), u),
3329
3329
  problemType: E.problemType,
3330
3330
  isOneChoice: !0,
3331
3331
  optList: $e(C.fill, D).map((v, z) => ({
3332
3332
  id: `${o}.${z + 1}`,
3333
- position: ie(N(v), u)
3333
+ position: re(N(v), u)
3334
3334
  })).filter((v) => v.position)
3335
3335
  } : {};
3336
3336
  }).filter((E) => E.position);
@@ -3345,33 +3345,33 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3345
3345
  case p.cloze:
3346
3346
  z = {
3347
3347
  score: E.score,
3348
- isColumn: E.style[m[e.layout.mode].choice_a] !== I.choice_2,
3349
- optList: E.optList.map((w, H) => ({
3350
- id: `${E._sub}.${H + 1}`,
3351
- position: Pe(le(`${C.fill}${H}`, ne), F, u)
3348
+ isColumn: E.style[m[e.layout.mode].choice_a] !== S.choice_2,
3349
+ optList: E.optList.map((w, R) => ({
3350
+ id: `${E._sub}.${R + 1}`,
3351
+ position: Pe(le(`${C.fill}${R}`, ne), F, u)
3352
3352
  })).filter((w) => w.position)
3353
3353
  };
3354
3354
  break;
3355
3355
  case p.decide:
3356
3356
  z = {
3357
- optList: [0, 1].map((w, H) => ({
3358
- id: `${E._sub}.${H}`,
3359
- position: Pe(le(`${C.fill}${H}`, ne), F, u)
3357
+ optList: [0, 1].map((w, R) => ({
3358
+ id: `${E._sub}.${R}`,
3359
+ position: Pe(le(`${C.fill}${R}`, ne), F, u)
3360
3360
  })).filter((w) => w.position)
3361
3361
  };
3362
3362
  break;
3363
3363
  case p.fill:
3364
3364
  case p.fill_english:
3365
- const R = $e(C.fill, ne), _ = $e(C.fill_line, ne);
3365
+ const H = $e(C.fill, ne), _ = $e(C.fill_line, ne);
3366
3366
  z = {
3367
- children: [E.score].flat().map((w, H, B) => ({
3368
- id: B.length > 1 ? `${E._sub}.${H + 1}` : E._sub,
3367
+ children: [E.score].flat().map((w, R, B) => ({
3368
+ id: B.length > 1 ? `${E._sub}.${R + 1}` : E._sub,
3369
3369
  score: w,
3370
3370
  problemType: E.problemType,
3371
3371
  isHiddenContent: !E.style[m[e.layout.mode].fill_b],
3372
3372
  position: Pe(ne, F, u),
3373
- scorePosition: Pe(R[H], F, u),
3374
- answerPosition: Pe(_[H], F, u)
3373
+ scorePosition: Pe(H[R], F, u),
3374
+ answerPosition: Pe(_[R], F, u)
3375
3375
  })).filter((w) => w.position)
3376
3376
  };
3377
3377
  break;
@@ -3380,7 +3380,7 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3380
3380
  case p.art:
3381
3381
  const k = le(C.score, ne);
3382
3382
  z = {
3383
- scoreList: k ? [le(C.score_tenbit, k), le(C.score_base, k), le(C.score_half, k)].map((w, H) => {
3383
+ scoreList: k ? [le(C.score_tenbit, k), le(C.score_base, k), le(C.score_half, k)].map((w, R) => {
3384
3384
  if (!w)
3385
3385
  return {};
3386
3386
  const B = $e(C.score_item, w);
@@ -3389,7 +3389,7 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3389
3389
  itemPosition: {
3390
3390
  width: B[0].offsetWidth
3391
3391
  },
3392
- score: B.map((ue) => Math.abs(parseFloat(ue.innerText)) * (H ? 1 : 10))
3392
+ score: B.map((ue) => Math.abs(parseFloat(ue.innerText)) * (R ? 1 : 10))
3393
3393
  };
3394
3394
  }).filter((w) => w.position) : null
3395
3395
  };
@@ -3551,8 +3551,8 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3551
3551
  // 试卷二维码
3552
3552
  cardSerialNumber: {
3553
3553
  // 条形码虚线框位置, x, y, width, height
3554
- encodePictureArea: ae(ie(N(le(C.art_code, e.pageDom[0])), o), !0),
3555
- qrCodePosition: ae(ie(N(le(C.art_code, e.pageDom[0])), o)),
3554
+ encodePictureArea: ae(re(N(le(C.art_code, e.pageDom[0])), o), !0),
3555
+ qrCodePosition: ae(re(N(le(C.art_code, e.pageDom[0])), o)),
3556
3556
  // 条形码或二维码,不确定,固定此值
3557
3557
  pictureType: "TYPE_QRCODE"
3558
3558
  },
@@ -3583,7 +3583,7 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3583
3583
  layerType: ls(e),
3584
3584
  // 定位点信息
3585
3585
  ...ns(e),
3586
- pottedLineXPos: e.bindWidth ? (a = ae(ie(N(le(C.bind_line, e.pageDom[0])), o))) == null ? void 0 : a.x : 0,
3586
+ pottedLineXPos: e.bindWidth ? (a = ae(re(N(le(C.bind_line, e.pageDom[0])), o))) == null ? void 0 : a.x : 0,
3587
3587
  // 页码点信息
3588
3588
  pageSideAnchorsList: ss(e),
3589
3589
  // 缺考标记
@@ -3681,10 +3681,10 @@ const Ge = /* @__PURE__ */ re(Xn, [["render", ts]]), Fe = 200 / 96, Nt = 4, os =
3681
3681
  ]));
3682
3682
  }
3683
3683
  });
3684
- const Cs = /* @__PURE__ */ re(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e) => e == null ? void 0 : e.getBoundingClientRect(), $t = (e, t) => t.querySelector(`*[data-tag="${e}"]`), nt = (e) => [...e.children || []].filter((t) => t.nodeName.toLowerCase() !== "br" && ![Ee, ut].includes(t.dataset.block || "")), Xe = (e) => e.previousElementSibling ? [Ee, ut].includes(e.previousElementSibling.dataset.block || "") ? Xe(e.previousElementSibling) : e.previousElementSibling : e.parentElement ? Xe(e.parentElement) : document.body, $s = (e) => {
3684
+ const Cs = /* @__PURE__ */ ce(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e) => e == null ? void 0 : e.getBoundingClientRect(), $t = (e, t) => t.querySelector(`*[data-tag="${e}"]`), nt = (e) => [...e.children || []].filter((t) => t.nodeName.toLowerCase() !== "br" && ![Ee, ut].includes(t.dataset.block || "")), Xe = (e) => e.previousElementSibling ? [Ee, ut].includes(e.previousElementSibling.dataset.block || "") ? Xe(e.previousElementSibling) : e.previousElementSibling : e.parentElement ? Xe(e.parentElement) : document.body, $s = (e) => {
3685
3685
  const t = e.parentElement, o = document.createElement("span");
3686
3686
  return o.style.cssText = "display: block; width: 100%; flex-shrink: 0; margin-bottom: 3px", o.dataset.block = ut, t.style.flexWrap = "wrap", e.nextElementSibling ? t.insertBefore(o, e.nextElementSibling) : t.appendChild(o), o;
3687
- }, Ss = (e, t, o, a) => {
3687
+ }, Is = (e, t, o, a) => {
3688
3688
  let n = null;
3689
3689
  if (e.dataset.block === dt && !e.dataset.used) {
3690
3690
  const r = window.getComputedStyle(e);
@@ -3692,7 +3692,7 @@ const Cs = /* @__PURE__ */ re(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3692
3692
  } else
3693
3693
  e.dataset.block === kt ? n = e.parentElement : e.dataset.block === tl && !e.dataset.used ? e.offsetHeight < o - 20 ? n = e.parentElement : e.dataset.used = "1" : e.dataset.block === we && !e.dataset.used ? e.offsetHeight > o || t > o / 3 && e.offsetHeight + (e.offsetHeight > o / 3 ? 0 : 18) > t && !e.querySelector(`img[data-block=${kt}]`) ? e.dataset.used = "1" : n = e : (e.dataset.block === ol && a || al.includes(e.tagName.toLowerCase())) && (n = e);
3694
3694
  return n;
3695
- }, St = (e, t, o) => {
3695
+ }, It = (e, t, o) => {
3696
3696
  const a = e.textContent || "", n = a.split("").map((c) => `<span>${c}</span>`).join("");
3697
3697
  e.innerHTML = n;
3698
3698
  const r = [...Array.from(e.children)].findIndex((c) => de(c).top - t + c.offsetHeight > o);
@@ -3706,7 +3706,7 @@ const Cs = /* @__PURE__ */ re(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3706
3706
  const a = nt("", e.parentElement), n = a.findIndex((l) => l === e);
3707
3707
  let r = a.filter((l, i) => de(l).top + l.offsetHeight - 1 < de(e).top || i < n && de(l).top < de(e).top).reverse()[0];
3708
3708
  return r || (r = Xe(e), de(r).top + r.offsetHeight - t > o && (r = st(r, t, o))), r;
3709
- }, It = (e, t, o, a) => {
3709
+ }, St = (e, t, o, a) => {
3710
3710
  const n = (l, i = o) => {
3711
3711
  var J, E, D;
3712
3712
  const c = l.map((v) => {
@@ -3728,23 +3728,23 @@ const Cs = /* @__PURE__ */ re(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3728
3728
  const z = nt(v);
3729
3729
  return n(z, h) || v;
3730
3730
  } else
3731
- return v ? de(v).top - t + v.offsetHeight > h ? St(v, t, h) : v : st(y.parentElement, t, h);
3731
+ return v ? de(v).top - t + v.offsetHeight > h ? It(v, t, h) : v : st(y.parentElement, t, h);
3732
3732
  } else {
3733
3733
  const v = getComputedStyle(y);
3734
3734
  if (h + (parseFloat(v.fontSize) + (parseFloat(v.lineHeight) - parseFloat(v.fontSize)) / 2) > i)
3735
3735
  return st(y, t, h);
3736
- const z = Ss(y, i - h, i, a);
3736
+ const z = Is(y, i - h, i, a);
3737
3737
  if (z)
3738
3738
  return Xe(z);
3739
3739
  if (y.children.length) {
3740
3740
  const ne = nt(y);
3741
3741
  return n(ne, i);
3742
3742
  } else
3743
- return St(y, t, i);
3743
+ return It(y, t, i);
3744
3744
  }
3745
3745
  }, r = n([e]);
3746
3746
  return { cut: $s(r), targetEl: r };
3747
- }, Is = (e) => {
3747
+ }, Ss = (e) => {
3748
3748
  const { el: t, data: o, column: a, backColumn: n, getColSize: r, change: l } = e;
3749
3749
  if (!t || !o.length) {
3750
3750
  l([], !0);
@@ -3754,11 +3754,11 @@ const Cs = /* @__PURE__ */ re(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3754
3754
  const i = de(t).top;
3755
3755
  let c = {}, u = 0, y = 0;
3756
3756
  const O = (v) => {
3757
- const z = v % (a + n), ne = Math.floor(v / (a + n)) * 2 + (z >= a ? 1 : 0), R = r(v, ne);
3757
+ const z = v % (a + n), ne = Math.floor(v / (a + n)) * 2 + (z >= a ? 1 : 0), H = r(v, ne);
3758
3758
  c = {
3759
3759
  top: i,
3760
- width: parseFloat(R.width),
3761
- height: parseFloat(R.height)
3760
+ width: parseFloat(H.width),
3761
+ height: parseFloat(H.height)
3762
3762
  };
3763
3763
  };
3764
3764
  let h = [], F = 0;
@@ -3784,7 +3784,7 @@ const Cs = /* @__PURE__ */ re(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3784
3784
  }
3785
3785
  h[h.length - 1].data.push(v), l([...h]), window.requestAnimationFrame(() => {
3786
3786
  const z = $t(v.__tag__, t), ne = !v.isHidden && de(z);
3787
- let R = null;
3787
+ let H = null;
3788
3788
  if (y) {
3789
3789
  const _ = z.querySelector(`*[data-hutkey="${y}"]`), k = de(_);
3790
3790
  h[h.length - 1].top = c.top - k.top, h[h.length - 1].height = c.height - h[h.length - 1].top, y = 0;
@@ -3797,63 +3797,64 @@ const Cs = /* @__PURE__ */ re(ks, [["__scopeId", "data-v-90e967d8"]]), de = (e)
3797
3797
  else if (J(z))
3798
3798
  h[h.length - 1].data.pop(), Y(), D(v);
3799
3799
  else {
3800
- R = It(z, c.top, h[h.length - 1].height, h.length % (a + n) >= a);
3800
+ H = St(z, c.top, h[h.length - 1].height, h.length % (a + n) >= a);
3801
3801
  const _ = z.querySelector(`*[data-content="${v.id}"]`);
3802
- h[h.length - 1].height = de(R.cut).top - c.top, Y(), _ != null && _.contains(R.cut) ? (y = Date.now(), R.cut.dataset.hutkey = y, D({ ...v, content: _.innerHTML })) : (h[h.length - 1].data.pop(), D(v));
3802
+ h[h.length - 1].height = de(H.cut).top - c.top, Y(), _ != null && _.contains(H.cut) ? (y = Date.now(), H.cut.dataset.hutkey = y, D({ ...v, content: _.innerHTML })) : (h[h.length - 1].data.pop(), D(v));
3803
3803
  }
3804
3804
  else {
3805
3805
  let _ = [], k = [];
3806
- v.children.some((w, H) => {
3806
+ v.children.some((w, R) => {
3807
3807
  const B = $t(w.__tag__, t), ue = de(B);
3808
3808
  if (u) {
3809
- const he = B.querySelector(`*[data-cutkey="${u}"]`), ce = de(he);
3810
- h[h.length - 1].top = c.top - ce.top, h[h.length - 1].height = c.height - h[h.length - 1].top, u = 0;
3809
+ const he = B.querySelector(`*[data-cutkey="${u}"]`), se = de(he);
3810
+ h[h.length - 1].top = c.top - se.top, h[h.length - 1].height = c.height - h[h.length - 1].top, u = 0;
3811
3811
  }
3812
3812
  if (ue.height + ue.top - c.top > h[h.length - 1].height) {
3813
3813
  if (E(B))
3814
- _.push(w), k = H < v.children.length - 1 ? v.children.slice(H + 1) : [];
3814
+ _.push(w), k = R < v.children.length - 1 ? v.children.slice(R + 1) : [];
3815
3815
  else if (J(B))
3816
- k = v.children.slice(H);
3816
+ k = v.children.slice(R);
3817
3817
  else {
3818
- R = It(B, c.top, h[h.length - 1].height, h.length % (a + n) >= a);
3818
+ H = St(B, c.top, h[h.length - 1].height, h.length % (a + n) >= a);
3819
3819
  const he = B.querySelector(`*[data-content="${w.id}"]`);
3820
- if (B === R.targetEl)
3821
- _.push(w), k = H < v.children.length - 1 ? v.children.slice(H + 1) : [];
3822
- else if (he && he.contains(R.cut))
3823
- u = Date.now(), R.cut.dataset.cutkey = u, w.content = he.innerHTML, _.push(w), k = [{ ...w, content: he.innerHTML }, ...H < v.children.length - 1 ? v.children.slice(H + 1) : []], h[h.length - 1].height = de(R.cut).top - c.top;
3820
+ if (B === H.targetEl)
3821
+ _.push(w), k = R < v.children.length - 1 ? v.children.slice(R + 1) : [];
3822
+ else if (he && he.contains(H.cut))
3823
+ u = Date.now(), H.cut.dataset.cutkey = u, w.content = he.innerHTML, _.push(w), k = [{ ...w, content: he.innerHTML }, ...R < v.children.length - 1 ? v.children.slice(R + 1) : []], h[h.length - 1].height = de(H.cut).top - c.top;
3824
3824
  else {
3825
3825
  if (!k.length) {
3826
- let ce = { ...w };
3826
+ let se = { ...w };
3827
3827
  switch (w.problemType) {
3828
3828
  case at.slove:
3829
3829
  const L = B.querySelector(`*[data-area="${w.id}"]`);
3830
- L != null && L.contains(R.cut) && (u = Date.now(), R.cut.dataset.cutkey = u, w.answerArea = L.innerHTML), w.chunk += 1;
3830
+ L != null && L.contains(H.cut) && (u = Date.now(), H.cut.dataset.cutkey = u, w.answerArea = L.innerHTML), w.chunk += 1;
3831
3831
  break;
3832
3832
  case at.art:
3833
- const $ = B.querySelector(`*[data-bart="${w.id}"]`), T = R.targetEl.dataset.block === we && R.targetEl.dataset.size ? R.targetEl : null, ee = B.querySelector(`*[data-aart="${w.id}"]`);
3834
- if ($ != null && $.contains(R.cut))
3835
- u = Date.now(), R.cut.dataset.cutkey = u, w.beforeArt = $ == null ? void 0 : $.innerHTML, ce.beforeGuide = "", ce.afterArt = "", ce.endAnswerLen = -1, w.chunk += 1;
3833
+ const $ = B.querySelector(`*[data-bart="${w.id}"]`), T = H.targetEl.dataset.block === we && H.targetEl.dataset.size ? H.targetEl : null, ee = B.querySelector(`*[data-aart="${w.id}"]`);
3834
+ if ($ != null && $.contains(H.cut))
3835
+ u = Date.now(), H.cut.dataset.cutkey = u, w.beforeArt = $ == null ? void 0 : $.innerHTML, se.beforeGuide = "", se.afterArt = "", se.endAnswerLen = -1;
3836
3836
  else if (T) {
3837
3837
  const pe = parseInt(T.dataset.size);
3838
3838
  if (!w.artBlock)
3839
3839
  if (w.beforeGuide && w.beforeGuide.length + (w.startAnswerLen ? 0 : 2) - w.startAnswerLen > pe) {
3840
- const W = B.querySelector(`*[data-guide="${w.id}"]`), oe = de(W);
3841
- if (console.log(W, oe, c), oe.height + oe.top - c.top > c.height) {
3842
- W.innerHTML = w.beforeGuide.split("").map((ge) => `<span>${ge}</span>`).join("");
3843
- const Te = de(T).top + T.offsetHeight, Se = [...Array.from(W.children)].findIndex((ge) => de(ge).top > Te);
3844
- ce.beforeGuide = w.beforeGuide.substring(0, Se), w.beforeGuide = w.beforeGuide.substring(Se);
3840
+ const G = B.querySelector(`*[data-guide="${w.id}"]`), oe = de(G);
3841
+ if (console.log(G, oe, c), oe.height + oe.top - c.top > c.height) {
3842
+ G.innerHTML = w.beforeGuide.split("").map((ge) => `<span>${ge}</span>`).join("");
3843
+ const Te = de(T).top + T.offsetHeight, Ie = [...Array.from(G.children)].findIndex((ge) => de(ge).top > Te);
3844
+ se.beforeGuide = w.beforeGuide.substring(0, Ie), w.beforeGuide = w.beforeGuide.substring(Ie);
3845
3845
  } else
3846
3846
  w.beforeGuide = "";
3847
3847
  } else
3848
3848
  w.beforeGuide = "";
3849
- ce.endAnswerLen = pe, w.startAnswerLen = pe, w.chunk += 1;
3849
+ se.endAnswerLen = pe, w.startAnswerLen = pe;
3850
3850
  } else
3851
- ee != null && ee.contains(R.cut) ? (u = Date.now(), R.cut.dataset.cutkey = u, w.chunk += 1, w.beforeArt = "", w.beforeGuide = "", w.startAnswerLen = 1, w.endAnswerLen = -1, w.afterArt = ee.innerHTML) : R.targetEl === $ && (ce.endAnswerLen = -1, ce.beforeGuide = "", ce.afterArt = "", w.beforeArt = "", w.chunk += 1);
3851
+ ee != null && ee.contains(H.cut) ? (u = Date.now(), H.cut.dataset.cutkey = u, w.beforeArt = "", w.beforeGuide = "", w.startAnswerLen = 1, w.endAnswerLen = -1, w.afterArt = ee.innerHTML) : H.targetEl === $ ? (se.endAnswerLen = -1, se.beforeGuide = "", se.afterArt = "", w.beforeArt = "") : ($ == null ? void 0 : $.previousElementSibling) === H.cut && (se.endAnswerLen = -1, se.beforeArt = "", se.beforeGuide = "", se.afterArt = "");
3852
+ w.chunk += 1;
3852
3853
  break;
3853
3854
  }
3854
- B.contains(R.targetEl) && _.push(ce), u && (h[h.length - 1].height = de(R.cut).top - c.top);
3855
+ B.contains(H.targetEl) && _.push(se), u && (h[h.length - 1].height = de(H.cut).top - c.top);
3855
3856
  }
3856
- k = [w, ...H < v.children.length - 1 ? v.children.slice(H + 1) : []];
3857
+ k = [w, ...R < v.children.length - 1 ? v.children.slice(R + 1) : []];
3857
3858
  }
3858
3859
  }
3859
3860
  return !0;
@@ -3943,7 +3944,7 @@ const Ls = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-proble
3943
3944
  ]));
3944
3945
  }
3945
3946
  });
3946
- const Ms = /* @__PURE__ */ re(Es, [["__scopeId", "data-v-1398ac85"]]);
3947
+ const Ms = /* @__PURE__ */ ce(Es, [["__scopeId", "data-v-1398ac85"]]);
3947
3948
  let Ye = (e) => {
3948
3949
  };
3949
3950
  const Ps = {
@@ -3978,7 +3979,7 @@ const Ds = {
3978
3979
  unmounted: () => {
3979
3980
  document.removeEventListener("mousemove", ot);
3980
3981
  }
3981
- }, 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"], Ws = { class: "absolute right-2 bottom-2 w-12 h-12 bg-gray z-3 flex items-center justify-center rounded-tl-lg text-warn" }, Gs = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, Ys = ["onMousedown"], qs = /* @__PURE__ */ Z({
3982
+ }, 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__ */ Z({
3982
3983
  __name: "absItem",
3983
3984
  props: {
3984
3985
  imgData: {},
@@ -4014,7 +4015,7 @@ const Ds = {
4014
4015
  }, 400);
4015
4016
  }, ne = (L) => {
4016
4017
  F.value = L;
4017
- }, R = () => {
4018
+ }, H = () => {
4018
4019
  const L = D.value, $ = L.left + L.width / 2, T = L.top + L.height / 2, ee = y.value.getBoundingClientRect() || {};
4019
4020
  h.value = { x: $ + ee.left, y: T + ee.top }, y.value.addEventListener("mousemove", _), y.value.addEventListener("mouseleave", k), y.value.addEventListener("mouseup", k);
4020
4021
  }, _ = (L) => {
@@ -4025,13 +4026,13 @@ const Ds = {
4025
4026
  L.stopPropagation(), L.preventDefault(), t("changeAbsImgItem", i.value), y.value.removeEventListener("mousemove", _), y.value.removeEventListener("mouseleave", k), y.value.removeEventListener("mouseup", k);
4026
4027
  }, w = (L, $) => {
4027
4028
  var T;
4028
- L.stopPropagation(), c.value = $, l.value = { x: L.clientX, y: L.clientY, ...D.value }, ((T = D.value) == null ? void 0 : T.key.split("-")[0]) === "img" ? y.value.addEventListener("mousemove", H) : y.value.addEventListener("mousemove", B), y.value.addEventListener("mouseleave", ue), y.value.addEventListener("mouseup", ue);
4029
- }, H = (L) => {
4029
+ L.stopPropagation(), c.value = $, l.value = { x: L.clientX, y: L.clientY, ...D.value }, ((T = D.value) == null ? void 0 : T.key.split("-")[0]) === "img" ? y.value.addEventListener("mousemove", R) : y.value.addEventListener("mousemove", B), y.value.addEventListener("mouseleave", ue), y.value.addEventListener("mouseup", ue);
4030
+ }, R = (L) => {
4030
4031
  const $ = { x: L.clientX - l.value.x, y: L.clientY - l.value.y }, T = { ...D.value }, ee = $.x > $.y ? "width" : "height";
4031
4032
  [
4032
4033
  // 0
4033
4034
  () => {
4034
- const W = {
4035
+ const G = {
4035
4036
  width: l.value.width - $.x,
4036
4037
  height: l.value.width * (1 - $.y / l.value.height)
4037
4038
  }[ee], oe = {
@@ -4040,26 +4041,26 @@ const Ds = {
4040
4041
  }[ee];
4041
4042
  i.value = {
4042
4043
  ...T,
4043
- width: W,
4044
+ width: G,
4044
4045
  height: oe,
4045
- left: l.value.left - (W - l.value.width),
4046
+ left: l.value.left - (G - l.value.width),
4046
4047
  top: l.value.top - (oe - l.value.height)
4047
4048
  };
4048
4049
  },
4049
4050
  // 1
4050
4051
  () => {
4051
- const W = l.value.width * (1 - $.y / l.value.height), oe = l.value.height - $.y;
4052
+ const G = l.value.width * (1 - $.y / l.value.height), oe = l.value.height - $.y;
4052
4053
  i.value = {
4053
4054
  ...T,
4054
- width: W,
4055
+ width: G,
4055
4056
  height: oe,
4056
- left: l.value.left - (W - l.value.width) / 2,
4057
+ left: l.value.left - (G - l.value.width) / 2,
4057
4058
  top: l.value.top - (oe - l.value.height)
4058
4059
  };
4059
4060
  },
4060
4061
  // 2
4061
4062
  () => {
4062
- const W = {
4063
+ const G = {
4063
4064
  width: l.value.height * (1 + $.x / l.value.width),
4064
4065
  height: l.value.height - $.y
4065
4066
  }[ee];
@@ -4069,34 +4070,34 @@ const Ds = {
4069
4070
  width: l.value.width + $.x,
4070
4071
  height: l.value.width * (1 - $.y / l.value.height)
4071
4072
  }[ee],
4072
- height: W,
4073
- top: l.value.top - (W - l.value.height)
4073
+ height: G,
4074
+ top: l.value.top - (G - l.value.height)
4074
4075
  };
4075
4076
  },
4076
4077
  // 3
4077
4078
  () => {
4078
- const W = l.value.width - $.x, oe = l.value.height * (1 - $.x / l.value.width);
4079
+ const G = l.value.width - $.x, oe = l.value.height * (1 - $.x / l.value.width);
4079
4080
  i.value = {
4080
4081
  ...T,
4081
- width: W,
4082
+ width: G,
4082
4083
  height: oe,
4083
- left: l.value.left - (W - l.value.width),
4084
+ left: l.value.left - (G - l.value.width),
4084
4085
  top: l.value.top - (oe - l.value.height) / 2
4085
4086
  };
4086
4087
  },
4087
4088
  // 4
4088
4089
  () => {
4089
- const W = l.value.width + $.x, oe = l.value.height * (1 + $.x / l.value.width);
4090
+ const G = l.value.width + $.x, oe = l.value.height * (1 + $.x / l.value.width);
4090
4091
  i.value = {
4091
4092
  ...T,
4092
- width: W,
4093
+ width: G,
4093
4094
  height: oe,
4094
4095
  top: l.value.top - (oe - l.value.height) / 2
4095
4096
  };
4096
4097
  },
4097
4098
  // 5
4098
4099
  () => {
4099
- const W = {
4100
+ const G = {
4100
4101
  width: l.value.width - $.x,
4101
4102
  height: l.value.width * (1 + $.y / l.value.height)
4102
4103
  }[ee], oe = {
@@ -4105,24 +4106,24 @@ const Ds = {
4105
4106
  }[ee];
4106
4107
  i.value = {
4107
4108
  ...T,
4108
- width: W,
4109
+ width: G,
4109
4110
  height: oe,
4110
- left: l.value.left - (W - l.value.width)
4111
+ left: l.value.left - (G - l.value.width)
4111
4112
  };
4112
4113
  },
4113
4114
  // 6
4114
4115
  () => {
4115
- const W = l.value.width * (1 + $.y / l.value.height), oe = l.value.height + $.y;
4116
+ const G = l.value.width * (1 + $.y / l.value.height), oe = l.value.height + $.y;
4116
4117
  i.value = {
4117
4118
  ...T,
4118
- width: W,
4119
+ width: G,
4119
4120
  height: oe,
4120
- left: l.value.left - (W - l.value.width) / 2
4121
+ left: l.value.left - (G - l.value.width) / 2
4121
4122
  };
4122
4123
  },
4123
4124
  // 7
4124
4125
  () => {
4125
- const W = {
4126
+ const G = {
4126
4127
  width: l.value.width + $.x,
4127
4128
  height: l.value.width * (1 + $.y / l.value.height)
4128
4129
  }[ee], oe = {
@@ -4131,7 +4132,7 @@ const Ds = {
4131
4132
  }[ee];
4132
4133
  i.value = {
4133
4134
  ...T,
4134
- width: W,
4135
+ width: G,
4135
4136
  height: oe
4136
4137
  };
4137
4138
  }
@@ -4184,27 +4185,27 @@ const Ds = {
4184
4185
  i.value = ee[c.value];
4185
4186
  }, ue = () => {
4186
4187
  var L;
4187
- y.value.removeEventListener("mousemove", H), y.value.removeEventListener("mousemove", B), y.value.removeEventListener("mouseleave", ue), y.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;
4188
+ y.value.removeEventListener("mousemove", R), y.value.removeEventListener("mousemove", B), y.value.removeEventListener("mouseleave", ue), y.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;
4188
4189
  }, he = (L) => {
4189
4190
  if (!L || L === D.value.content) {
4190
4191
  u.value++;
4191
4192
  return;
4192
4193
  }
4193
4194
  t("changeAbsTxtItem", { ...D.value, content: L });
4194
- }, ce = (L, $) => {
4195
+ }, se = (L, $) => {
4195
4196
  var ee;
4196
4197
  const T = document.body.querySelector(`.cke_editor_${ht}`);
4197
4198
  !L && ((ee = ($ == null ? void 0 : $.target).dataset) != null && ee.safe || T && window.getComputedStyle(T).display !== "none") || (Y.value = L == null ? void 0 : L.key, i.value = L ? { ...L } : null);
4198
4199
  };
4199
4200
  return (L, $) => (s(), d(M, null, [
4200
4201
  (s(!0), d(M, null, V(J.value, (T) => {
4201
- var ee, pe, W, oe, Te, Se, ge;
4202
+ var ee, pe, G, oe, Te, Ie, ge;
4202
4203
  return ft((s(), d("div", {
4203
4204
  key: T.id,
4204
4205
  "data-safe": "true",
4205
4206
  class: te(["absolute", ((ee = D.value) == null ? void 0 : ee.key) === T.key ? "z-8" : "z-7"]),
4206
- style: G({ left: Math.max(((pe = v.value[T.key]) == null ? void 0 : pe.left) || T.left, 0) + "px", top: Math.max(((W = v.value[T.key]) == null ? void 0 : W.top) || T.top, 0) + "px", width: (((oe = v.value[T.key]) == null ? void 0 : oe.width) || T.width) + "px", height: (((Te = v.value[T.key]) == null ? void 0 : Te.height) || T.height) + "px", transform: `rotate(${((Se = v.value[T.key]) == null ? void 0 : Se.rotate) || T.rotate}deg)` }),
4207
- onMousedown: Le((f) => ce(T), ["stop"]),
4207
+ style: W({ left: Math.max(((pe = v.value[T.key]) == null ? void 0 : pe.left) || T.left, 0) + "px", top: Math.max(((G = v.value[T.key]) == null ? void 0 : G.top) || T.top, 0) + "px", width: (((oe = v.value[T.key]) == null ? void 0 : oe.width) || T.width) + "px", height: (((Te = v.value[T.key]) == null ? void 0 : Te.height) || T.height) + "px", transform: `rotate(${((Ie = v.value[T.key]) == null ? void 0 : Ie.rotate) || T.rotate}deg)` }),
4208
+ onMousedown: Le((f) => se(T), ["stop"]),
4208
4209
  "data-block": x(Ee)
4209
4210
  }, [
4210
4211
  g("img", {
@@ -4220,16 +4221,16 @@ const Ds = {
4220
4221
  }, null, 8, ["onClick"])
4221
4222
  ]),
4222
4223
  g("div", Os, [
4223
- (s(), d(M, null, V(8, (f, S) => g("div", {
4224
+ (s(), d(M, null, V(8, (f, I) => g("div", {
4224
4225
  key: f,
4225
4226
  class: "absolute w-4 h-4 border-2 border-current z-5 cursor-move",
4226
- style: G({ ...r[S], transform: "translate(-50%, -50%)" }),
4227
- onMousedown: Le((ye) => w(ye, S), ["stop"])
4227
+ style: W({ ...r[I], transform: "translate(-50%, -50%)" }),
4228
+ onMousedown: Le((ye) => w(ye, I), ["stop"])
4228
4229
  }, null, 44, zs)), 64))
4229
4230
  ]),
4230
4231
  g("span", {
4231
4232
  class: "absolute flex items-center justify-center -right-20 w-12 h-12 rounded-full border border-current cursor-grab control_rotate",
4232
- onMousedown: Le(R, ["stop"])
4233
+ onMousedown: Le(H, ["stop"])
4233
4234
  }, [
4234
4235
  K(_e, {
4235
4236
  name: "reset",
@@ -4239,24 +4240,24 @@ const Ds = {
4239
4240
  ], 64)) : P("", !0)
4240
4241
  ], 46, As)), [
4241
4242
  [x(n), z],
4242
- [x(a), (f) => ce(null, f)]
4243
+ [x(a), (f) => se(null, f)]
4243
4244
  ]);
4244
4245
  }), 128)),
4245
4246
  (s(!0), d(M, null, V(E.value, (T) => {
4246
- var ee, pe, W, oe, Te, Se, ge;
4247
+ var ee, pe, G, oe, Te, Ie, ge;
4247
4248
  return ft((s(), d("div", {
4248
4249
  key: T.id,
4249
4250
  disabled: F.value,
4250
4251
  "data-safe": "true",
4251
4252
  class: te(["absolute", ((ee = D.value) == null ? void 0 : ee.key) === T.key ? "z-8 bg-white" : "z-7"]),
4252
- style: G({ left: Math.max(((pe = v.value[T.key]) == null ? void 0 : pe.left) || T.left, 0) + "px", top: Math.max(((W = v.value[T.key]) == null ? void 0 : W.top) || T.top, 0) + "px", width: (((oe = v.value[T.key]) == null ? void 0 : oe.width) || T.width) + "px", height: (((Te = v.value[T.key]) == null ? void 0 : Te.height) || T.height) + "px" }),
4253
- onMousedown: Le((f) => ce(T), ["stop"]),
4253
+ style: W({ left: Math.max(((pe = v.value[T.key]) == null ? void 0 : pe.left) || T.left, 0) + "px", top: Math.max(((G = v.value[T.key]) == null ? void 0 : G.top) || T.top, 0) + "px", width: (((oe = v.value[T.key]) == null ? void 0 : oe.width) || T.width) + "px", height: (((Te = v.value[T.key]) == null ? void 0 : Te.height) || T.height) + "px" }),
4254
+ onMousedown: Le((f) => se(T), ["stop"]),
4254
4255
  "data-block": x(Ee)
4255
4256
  }, [
4256
4257
  (s(), U(Ms, {
4257
4258
  key: u.value,
4258
4259
  class: "border-0 relative z-4",
4259
- readonly: ((Se = D.value) == null ? void 0 : Se.key) !== T.key,
4260
+ readonly: ((Ie = D.value) == null ? void 0 : Ie.key) !== T.key,
4260
4261
  value: T.content,
4261
4262
  name: T.id.toString(),
4262
4263
  onChange: he,
@@ -4264,7 +4265,7 @@ const Ds = {
4264
4265
  onBlur: $[1] || ($[1] = (f) => ne(!1))
4265
4266
  }, null, 8, ["readonly", "value", "name"])),
4266
4267
  ((ge = D.value) == null ? void 0 : ge.key) === T.key ? (s(), d(M, { key: 0 }, [
4267
- g("span", Ws, [
4268
+ g("span", Gs, [
4268
4269
  K(_e, {
4269
4270
  name: "close",
4270
4271
  width: 2,
@@ -4272,24 +4273,24 @@ const Ds = {
4272
4273
  onClick: (f) => t("delAbsTxtItem", T)
4273
4274
  }, null, 8, ["onClick"])
4274
4275
  ]),
4275
- g("div", Gs, [
4276
- (s(), d(M, null, V(8, (f, S) => g("div", {
4276
+ g("div", Ws, [
4277
+ (s(), d(M, null, V(8, (f, I) => g("div", {
4277
4278
  key: f,
4278
4279
  class: "absolute w-4 h-4 border-2 border-current z-5 cursor-move",
4279
- style: G({ ...r[S], transform: "translate(-50%, -50%)" }),
4280
- onMousedown: (ye) => w(ye, S)
4280
+ style: W({ ...r[I], transform: "translate(-50%, -50%)" }),
4281
+ onMousedown: (ye) => w(ye, I)
4281
4282
  }, null, 44, Ys)), 64))
4282
4283
  ])
4283
4284
  ], 64)) : P("", !0)
4284
4285
  ], 46, Rs)), [
4285
4286
  [x(n), z],
4286
- [x(a), (f) => ce(null, f)]
4287
+ [x(a), (f) => se(null, f)]
4287
4288
  ]);
4288
4289
  }), 128))
4289
4290
  ], 64));
4290
4291
  }
4291
4292
  });
4292
- const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["viewBox"], Ks = {
4293
+ const Qs = /* @__PURE__ */ ce(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["viewBox"], Ks = {
4293
4294
  x: "0",
4294
4295
  y: "0",
4295
4296
  width: "100%",
@@ -4311,19 +4312,19 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4311
4312
  emits: ["changeInfo", "changeExtentInfo", "toggleActive", "dbProblemClick", "dbHeadLineClick", "changeAbsImgItem", "delAbsImgItem", "changeAbsTxtItem", "delAbsTxtItem", "getFinalData", "changeLayoutStatus"],
4312
4313
  setup(e, { emit: t }) {
4313
4314
  const o = e;
4314
- Wt("ckeditorOrigin", o.ckeditorOrigin);
4315
+ Gt("ckeditorOrigin", o.ckeditorOrigin);
4315
4316
  const a = Q([]), n = Q([]), r = Q(2), l = Q(0), i = Q(0), c = Q(), u = Q([]), y = Q([]), O = Q([]), h = Q([]), F = A(() => o.data.map((f) => ({
4316
4317
  ...f,
4317
4318
  __tag__: xt(),
4318
4319
  rawChildren: f.children,
4319
- children: f.children.map((S) => ({ ...S, startAnswerLen: 0, endAnswerLen: 0, chunk: 0, __tag__: xt() }))
4320
+ children: f.children.map((I) => ({ ...I, startAnswerLen: 0, endAnswerLen: 0, chunk: 0, __tag__: xt() }))
4320
4321
  })).flat()), Y = A(() => {
4321
- const f = F.value[F.value.length - 1], S = f.rawChildren[f.rawChildren.length - 1];
4322
- return ne.value && [p.slove].includes(S == null ? void 0 : S.problemType) && S.id;
4322
+ const f = F.value[F.value.length - 1], I = f.rawChildren[f.rawChildren.length - 1];
4323
+ return ne.value && [p.slove].includes(I == null ? void 0 : I.problemType) && I.id;
4323
4324
  }), J = A(() => {
4324
4325
  var f;
4325
- return o.layout.bindFlag && !!((f = Oe.find((S) => S.code === o.layout.paper)) != null && f.isMultCol);
4326
- }), E = 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)), R = 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), H = A(() => (k.value - (i.value ? i.value + pe(0) : 0) + pe(0)) / o.layout.column - pe(0)), B = A(() => ({
4326
+ return o.layout.bindFlag && !!((f = Oe.find((I) => I.code === o.layout.paper)) != null && f.isMultCol);
4327
+ }), E = 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(() => ({
4327
4328
  width: `${b[o.layout.paper].width}px`,
4328
4329
  height: `${(b[o.layout.paper].height + E.value) * z.value - E.value}px`
4329
4330
  })), ue = A(() => ({
@@ -4332,43 +4333,43 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4332
4333
  padding: `${_.value.top}px ${_.value.right}px ${_.value.bottom}px ${_.value.left}px`,
4333
4334
  marginBottom: `${E.value}px`
4334
4335
  })), he = A(() => {
4335
- var S;
4336
- const f = (S = Oe.find((ye) => ye.code === o.layout.paper)) == null ? void 0 : S.isMultCol;
4336
+ var I;
4337
+ const f = (I = Oe.find((ye) => ye.code === o.layout.paper)) == null ? void 0 : I.isMultCol;
4337
4338
  return {
4338
4339
  left: `${_.value.left + (i.value ? i.value + pe(0) : 0)}px`,
4339
4340
  top: `${_.value.top}px`,
4340
- width: f ? `${H.value}px` : `${k.value}px`
4341
+ width: f ? `${R.value}px` : `${k.value}px`
4341
4342
  };
4342
4343
  });
4343
- De(() => [JSON.stringify({ ...o.layout, showAnswer: !1, secrecyFlag: !1, redFlag: !1, sloganFlag: !1, simpleScoreBarFlag: !1, minusFlag: !1, fillScoreFlag: !1 }), JSON.stringify(o.fontConfig), JSON.stringify(o.info), JSON.stringify(o.data)].join(""), () => {
4344
+ De(() => [JSON.stringify({ ...o.layout, showAnswer: !1, secrecyFlag: !1, redFlag: !1, sloganFlag: !1 }), JSON.stringify(o.fontConfig), JSON.stringify(o.info), JSON.stringify(o.data)].join(""), () => {
4344
4345
  setTimeout(() => {
4345
- l.value += 1, Se();
4346
+ l.value += 1, Ie();
4346
4347
  }, 100);
4347
4348
  }, { immediate: !0 }), De(() => J.value, () => {
4348
4349
  i.value = J.value ? 100 : 0;
4349
4350
  }, { immediate: !0 });
4350
- const ce = (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) => {
4351
- const S = f % (o.layout.column + o.layout.backColumn);
4352
- return S >= o.layout.column ? S - o.layout.column : S;
4353
- }, T = (f, S) => {
4354
- f ? u.value[S] = f : u.value.splice(S, 1);
4355
- }, ee = (f, S) => {
4356
- f ? y.value[S] = f : y.value.splice(S, 1);
4357
- }, pe = (f) => Et[o.layout.mode][o.layout.paper][ce(f)] || 0, W = (f, S = !1) => (k.value - (i.value ? i.value + pe(f) : 0) + pe(f)) / ce(f) - pe(f) - R.value.left - R.value.right + (S ? R.value.left + R.value.right : 0), oe = (f, S) => {
4358
- var j, se;
4359
- const ye = f % (o.layout.column + o.layout.backColumn) ? 0 : ((j = O.value[Math.min(S, 1)]) == null ? void 0 : j.offsetHeight) || 0;
4351
+ const se = (f) => f % (o.layout.column + o.layout.backColumn) >= o.layout.column ? o.layout.backColumn : o.layout.column, L = (f, I) => Math.floor(I / 2) * (o.layout.column + o.layout.backColumn) + I % 2 * o.layout.column + f, $ = (f) => {
4352
+ const I = f % (o.layout.column + o.layout.backColumn);
4353
+ return I >= o.layout.column ? I - o.layout.column : I;
4354
+ }, T = (f, I) => {
4355
+ f ? u.value[I] = f : u.value.splice(I, 1);
4356
+ }, ee = (f, I) => {
4357
+ f ? y.value[I] = f : y.value.splice(I, 1);
4358
+ }, pe = (f) => Et[o.layout.mode][o.layout.paper][se(f)] || 0, G = (f, I = !1) => (k.value - (i.value ? i.value + pe(f) : 0) + pe(f)) / se(f) - pe(f) - H.value.left - H.value.right + (I ? H.value.left + H.value.right : 0), oe = (f, I) => {
4359
+ var j, ie;
4360
+ const ye = f % (o.layout.column + o.layout.backColumn) ? 0 : ((j = O.value[Math.min(I, 1)]) == null ? void 0 : j.offsetHeight) || 0;
4360
4361
  return {
4361
- left: `${_.value.left + (S % 2 ? 0 : i.value ? i.value + pe(f) : 0) + R.value.left + $(f) * (W(f) + pe(f) + R.value.left + R.value.right)}px`,
4362
- top: `${ye + _.value.top + (!S && !f ? 0 : R.value.top)}px`,
4363
- width: `${W(f)}px`,
4364
- height: `${w.value - ye - (!S && !f ? 0 : R.value.top) - R.value.bottom}px`,
4365
- contentHeight: `${(se = a.value[f]) == null ? void 0 : se.height}px`
4362
+ left: `${_.value.left + (I % 2 ? 0 : i.value ? i.value + pe(f) : 0) + H.value.left + $(f) * (G(f) + pe(f) + H.value.left + H.value.right)}px`,
4363
+ top: `${ye + _.value.top + (!I && !f ? 0 : H.value.top)}px`,
4364
+ width: `${G(f)}px`,
4365
+ height: `${w.value - ye - (!I && !f ? 0 : H.value.top) - H.value.bottom}px`,
4366
+ contentHeight: `${(ie = a.value[f]) == null ? void 0 : ie.height}px`
4366
4367
  };
4367
- }, Te = (f, S = !1) => {
4368
- n.value = f.map((ye) => ({ ...ye })), S && (a.value = [...f], Ze(() => {
4368
+ }, Te = (f, I = !1) => {
4369
+ n.value = f.map((ye) => ({ ...ye })), I && (a.value = [...f], Ze(() => {
4369
4370
  r.value = Math.ceil(a.value.length / o.layout.column), n.value = [], y.value.forEach((ye, j) => {
4370
- var se, Ce;
4371
- !ye || !ye.col || ((se = a.value[j]) != null && se.top ? ye.col.style.marginTop = `${(Ce = a.value[j]) == null ? void 0 : Ce.top}px` : ye.col.style.marginTop = "");
4371
+ var ie, Ce;
4372
+ !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 = "");
4372
4373
  }), o.isFinal && setTimeout(() => {
4373
4374
  const ye = ys({
4374
4375
  config: {
@@ -4386,8 +4387,8 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4386
4387
  t("getFinalData", ye);
4387
4388
  }, 500);
4388
4389
  }));
4389
- }, Se = () => {
4390
- Is({
4390
+ }, Ie = () => {
4391
+ Ss({
4391
4392
  el: c.value,
4392
4393
  data: F.value,
4393
4394
  column: o.layout.column,
@@ -4398,7 +4399,7 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4398
4399
  }, ge = (f = { type: q.page, value: {} }) => {
4399
4400
  t("toggleActive", f);
4400
4401
  };
4401
- return (f, S) => {
4402
+ return (f, I) => {
4402
4403
  var ye;
4403
4404
  return s(), d(M, null, [
4404
4405
  f.readonly ? P("", !0) : (s(), U(Cs, {
@@ -4407,62 +4408,62 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4407
4408
  ColDom: y.value.map((j) => j.col),
4408
4409
  ImgData: f.imgData,
4409
4410
  TxtData: f.txtData,
4410
- onDelAbsImgItem: S[0] || (S[0] = (j) => t("delAbsImgItem", j)),
4411
- onDelAbsTxtItem: S[1] || (S[1] = (j) => t("delAbsTxtItem", j)),
4412
- onChangeLayoutStatus: S[2] || (S[2] = (j) => t("changeLayoutStatus", j))
4411
+ onDelAbsImgItem: I[0] || (I[0] = (j) => t("delAbsImgItem", j)),
4412
+ onDelAbsTxtItem: I[1] || (I[1] = (j) => t("delAbsTxtItem", j)),
4413
+ onChangeLayoutStatus: I[2] || (I[2] = (j) => t("changeLayoutStatus", j))
4413
4414
  }, null, 8, ["ColList", "ColDom", "ImgData", "TxtData"])),
4414
4415
  g("div", {
4415
4416
  class: "flex-1 overflow-auto relative z-1",
4416
4417
  id: "alit-layout",
4417
- onClick: S[14] || (S[14] = (j) => ge())
4418
+ onClick: I[14] || (I[14] = (j) => ge())
4418
4419
  }, [
4419
4420
  g("div", {
4420
4421
  class: "absolute h-0 invisible overflow-hidden font-base text-base pointer-events-none -z-1",
4421
4422
  ref_key: "rawDom",
4422
4423
  ref: c
4423
4424
  }, [
4424
- n.value.length ? (s(!0), d(M, { key: 0 }, V((ye = n.value[n.value.length - 1]) == null ? void 0 : ye.data, (j, se) => (s(), d(M, null, [
4425
+ 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, [
4425
4426
  j.isHidden ? P("", !0) : (s(), U(Ct, {
4426
4427
  key: 0,
4427
4428
  item: j,
4428
4429
  showColBorder: ne.value,
4429
- isFirst: !se && n.value.length === 1,
4430
+ isFirst: !ie && n.value.length === 1,
4430
4431
  layout: f.layout
4431
4432
  }, null, 8, ["item", "showColBorder", "isFirst", "layout"])),
4432
4433
  ne.value ? (s(), d("div", {
4433
4434
  key: 1,
4434
4435
  class: te([!j.children.length && j.problemType && "p-1 min-h-[2rem]"])
4435
4436
  }, [
4436
- (s(), U(Ge, {
4437
+ (s(), U(We, {
4437
4438
  data: j,
4438
4439
  key: n.value.length,
4439
4440
  layout: f.layout,
4440
4441
  target: f.target,
4441
4442
  noPortrait: "",
4442
- width: W(n.value.length - 1) - 10
4443
+ width: G(n.value.length - 1) - 10
4443
4444
  }, null, 8, ["data", "layout", "target", "width"]))
4444
- ], 2)) : (s(), U(Ge, {
4445
+ ], 2)) : (s(), U(We, {
4445
4446
  data: j,
4446
4447
  key: n.value.length,
4447
4448
  layout: f.layout,
4448
4449
  target: f.target,
4449
- width: W(n.value.length - 1)
4450
+ width: G(n.value.length - 1)
4450
4451
  }, null, 8, ["data", "layout", "target", "width"]))
4451
4452
  ], 64))), 256)) : P("", !0)
4452
4453
  ], 512),
4453
4454
  g("div", {
4454
4455
  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"]),
4455
- style: G(B.value)
4456
+ style: W(B.value)
4456
4457
  }, [
4457
4458
  K(Qs, {
4458
4459
  imgData: f.imgData,
4459
4460
  txtData: f.txtData,
4460
4461
  layout: f.layout,
4461
4462
  pageMargin: D.value,
4462
- onChangeAbsImgItem: S[3] || (S[3] = (j) => t("changeAbsImgItem", j)),
4463
- onDelAbsImgItem: S[4] || (S[4] = (j) => t("delAbsImgItem", j)),
4464
- onChangeAbsTxtItem: S[5] || (S[5] = (j) => t("changeAbsTxtItem", j)),
4465
- onDelAbsTxtItem: S[6] || (S[6] = (j) => t("delAbsTxtItem", j))
4463
+ onChangeAbsImgItem: I[3] || (I[3] = (j) => t("changeAbsImgItem", j)),
4464
+ onDelAbsImgItem: I[4] || (I[4] = (j) => t("delAbsImgItem", j)),
4465
+ onChangeAbsTxtItem: I[5] || (I[5] = (j) => t("changeAbsTxtItem", j)),
4466
+ onDelAbsTxtItem: I[6] || (I[6] = (j) => t("delAbsTxtItem", j))
4466
4467
  }, null, 8, ["imgData", "txtData", "layout", "pageMargin"]),
4467
4468
  (s(), d("svg", {
4468
4469
  viewBox: `0 0 ${parseFloat(B.value.width)} ${parseFloat(B.value.height)}`,
@@ -4471,20 +4472,20 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4471
4472
  key: l.value
4472
4473
  }, [
4473
4474
  (s(), d("foreignObject", Ks, [
4474
- (s(!0), d(M, null, V(z.value, (j, se) => (s(), d("div", {
4475
+ (s(!0), d(M, null, V(z.value, (j, ie) => (s(), d("div", {
4475
4476
  key: j,
4476
4477
  class: "bg-white relative flex justify-between overflow-hidden box-border",
4477
4478
  ref_for: !0,
4478
- ref: (Ce) => T(Ce, se),
4479
- style: G(ue.value)
4479
+ ref: (Ce) => T(Ce, ie),
4480
+ style: W(ue.value)
4480
4481
  }, [
4481
- se < v.value ? (s(), d(M, { key: 0 }, [
4482
+ ie < v.value ? (s(), d(M, { key: 0 }, [
4482
4483
  K(wo, {
4483
4484
  layout: f.layout,
4484
- currentPage: se,
4485
+ currentPage: ie,
4485
4486
  totalPage: v.value,
4486
- columnContentWidth: W(se % 2 ? f.layout.column : 0, !0),
4487
- columnMargin: pe(se % 2 ? f.layout.column : 0),
4487
+ columnContentWidth: G(ie % 2 ? f.layout.column : 0, !0),
4488
+ columnMargin: pe(ie % 2 ? f.layout.column : 0),
4488
4489
  bindWidth: i.value,
4489
4490
  padding: _.value
4490
4491
  }, null, 8, ["layout", "currentPage", "totalPage", "columnContentWidth", "columnMargin", "bindWidth", "padding"]),
@@ -4492,24 +4493,24 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4492
4493
  key: 0,
4493
4494
  info: f.info,
4494
4495
  layout: f.layout,
4495
- onChange: S[7] || (S[7] = (Ce) => t("changeInfo", Ce))
4496
+ onChange: I[7] || (I[7] = (Ce) => t("changeInfo", Ce))
4496
4497
  }, null, 8, ["info", "layout"])) : P("", !0),
4497
4498
  K(Ja, {
4498
4499
  ref_for: !0,
4499
4500
  ref_key: "bindDom",
4500
4501
  ref: h,
4501
- currentPage: se,
4502
+ currentPage: ie,
4502
4503
  width: i.value,
4503
4504
  height: w.value,
4504
4505
  isBindFlag: J.value
4505
4506
  }, null, 8, ["currentPage", "width", "height", "isBindFlag"]),
4506
- !(se % 2) || se === 1 && v.value < 3 ? (s(), d("div", {
4507
+ !(ie % 2) || ie === 1 && v.value < 3 ? (s(), d("div", {
4507
4508
  key: 1,
4508
4509
  ref_for: !0,
4509
4510
  ref_key: "titleDom",
4510
4511
  ref: O,
4511
- class: te(["absolute text-black", se === 1 && v.value < 3 && "opacity-0 pointer-events-none"]),
4512
- style: G(he.value)
4512
+ class: te(["absolute text-black", ie === 1 && v.value < 3 && "opacity-0 pointer-events-none"]),
4513
+ style: W(he.value)
4513
4514
  }, [
4514
4515
  K(Mo, {
4515
4516
  layout: f.layout,
@@ -4520,48 +4521,48 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4520
4521
  layout: f.layout,
4521
4522
  fontConfig: f.fontConfig,
4522
4523
  data: f.data,
4523
- onChange: S[8] || (S[8] = (Ce) => t("changeInfo", Ce))
4524
+ onChange: I[8] || (I[8] = (Ce) => t("changeInfo", Ce))
4524
4525
  }, null, 8, ["info", "layout", "fontConfig", "data"]),
4525
4526
  K(ka, {
4526
4527
  layout: f.layout,
4527
4528
  info: f.info,
4528
4529
  isBindFlag: J.value,
4529
- onChange: S[9] || (S[9] = (Ce) => t("changeExtentInfo", Ce))
4530
+ onChange: I[9] || (I[9] = (Ce) => t("changeExtentInfo", Ce))
4530
4531
  }, null, 8, ["layout", "info", "isBindFlag"]),
4531
4532
  K(Ba, {
4532
4533
  layout: f.layout,
4533
4534
  isBindFlag: J.value
4534
4535
  }, null, 8, ["layout", "isBindFlag"]),
4535
- se ? P("", !0) : (s(), U(Ya, {
4536
+ ie ? P("", !0) : (s(), U(Ya, {
4536
4537
  key: 0,
4537
4538
  layout: f.layout,
4538
4539
  data: f.data
4539
4540
  }, null, 8, ["layout", "data"])),
4540
- f.layout.writeScoreFlag && !se ? (s(), U(_l, {
4541
+ f.layout.writeScoreFlag && !ie ? (s(), U(_l, {
4541
4542
  key: 1,
4542
4543
  info: f.info,
4543
4544
  layout: f.layout
4544
4545
  }, null, 8, ["info", "layout"])) : P("", !0)
4545
4546
  ], 6)) : P("", !0),
4546
- (s(!0), d(M, null, V(se % 2 ? f.layout.backColumn : f.layout.column, (Ce, Me) => (s(), U(Qa, {
4547
+ (s(!0), d(M, null, V(ie % 2 ? f.layout.backColumn : f.layout.column, (Ce, Me) => (s(), U(Qa, {
4547
4548
  ref_for: !0,
4548
- ref: (We) => ee(We, L(Me, se)),
4549
- styleInfo: oe(L(Me, se), se),
4549
+ ref: (Ge) => ee(Ge, L(Me, ie)),
4550
+ styleInfo: oe(L(Me, ie), ie),
4550
4551
  column: f.layout.column,
4551
- currentColumn: L(Me, se),
4552
+ currentColumn: L(Me, ie),
4552
4553
  showColBorder: ne.value
4553
4554
  }, {
4554
4555
  default: Tt(() => {
4555
- var We;
4556
+ var Ge;
4556
4557
  return [
4557
- (s(!0), d(M, null, V(((We = a.value[L(Me, se)]) == null ? void 0 : We.data) || [], (fe, zt) => {
4558
+ (s(!0), d(M, null, V(((Ge = a.value[L(Me, ie)]) == null ? void 0 : Ge.data) || [], (fe, zt) => {
4558
4559
  var pt;
4559
4560
  return s(), d(M, null, [
4560
4561
  fe.isHidden ? P("", !0) : (s(), U(Ct, {
4561
4562
  key: 0,
4562
4563
  item: fe,
4563
4564
  showColBorder: ne.value,
4564
- isFirst: !se && !Me && !zt,
4565
+ isFirst: !ie && !Me && !zt,
4565
4566
  layout: f.layout,
4566
4567
  isActive: ((pt = f.target.value) == null ? void 0 : pt.id) === fe.id,
4567
4568
  onClick: (xe) => ge({ type: fe.problemType ? x(q).headline : x(q).headlineNotarea, value: fe }),
@@ -4573,27 +4574,27 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4573
4574
  onClick: Le((xe) => ge({ type: fe.problemType ? x(q).headline : x(q).headlineNotarea, value: fe }), ["stop"]),
4574
4575
  onDblclick: (xe) => t("dbHeadLineClick", fe)
4575
4576
  }, [
4576
- K(Ge, {
4577
+ K(We, {
4577
4578
  data: fe,
4578
4579
  layout: f.layout,
4579
4580
  target: f.target,
4580
- width: W(L(Me, se)) - 10,
4581
- onClick: S[10] || (S[10] = (xe) => ge({ type: xe.problemType ? x(q).problem : x(q).problemNotarea, value: xe })),
4582
- onDbclick: S[11] || (S[11] = (xe) => t("dbProblemClick", xe))
4581
+ width: G(L(Me, ie)) - 10,
4582
+ onClick: I[10] || (I[10] = (xe) => ge({ type: xe.problemType ? x(q).problem : x(q).problemNotarea, value: xe })),
4583
+ onDbclick: I[11] || (I[11] = (xe) => t("dbProblemClick", xe))
4583
4584
  }, null, 8, ["data", "layout", "target", "width"]),
4584
4585
  fe.children.length && fe.children[fe.children.length - 1].id === Y.value ? (s(), d("div", {
4585
4586
  key: 0,
4586
4587
  class: "border-t",
4587
4588
  "data-block": x(Ee)
4588
4589
  }, null, 8, Xs)) : P("", !0)
4589
- ], 42, js)) : (s(), U(Ge, {
4590
+ ], 42, js)) : (s(), U(We, {
4590
4591
  key: 2,
4591
4592
  data: fe,
4592
4593
  layout: f.layout,
4593
4594
  target: f.target,
4594
- width: W(L(Me, se)),
4595
- onClick: S[12] || (S[12] = (xe) => ge({ type: xe.problemType ? x(q).problem : x(q).problemNotarea, value: xe })),
4596
- onDbclick: S[13] || (S[13] = (xe) => t("dbProblemClick", xe))
4595
+ width: G(L(Me, ie)),
4596
+ onClick: I[12] || (I[12] = (xe) => ge({ type: xe.problemType ? x(q).problem : x(q).problemNotarea, value: xe })),
4597
+ onDbclick: I[13] || (I[13] = (xe) => t("dbProblemClick", xe))
4597
4598
  }, null, 8, ["data", "layout", "target", "width"]))
4598
4599
  ], 64);
4599
4600
  }), 256))
@@ -4611,7 +4612,7 @@ const Qs = /* @__PURE__ */ re(qs, [["__scopeId", "data-v-09e89b79"]]), Us = ["vi
4611
4612
  };
4612
4613
  }
4613
4614
  });
4614
- const ei = /* @__PURE__ */ re(Vs, [["__scopeId", "data-v-4825ba41"]]);
4615
+ const ei = /* @__PURE__ */ ce(Vs, [["__scopeId", "data-v-b08f4837"]]);
4615
4616
  export {
4616
4617
  Js as Config,
4617
4618
  ei as default