alit-layout 1.1.44 → 1.2.0

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 ne, computed as W, openBlock as r, createElementBlock as h, Fragment as O, renderList as le, createElementVNode as k, normalizeStyle as X, unref as L, toDisplayString as te, createCommentVNode as B, ref as V, watch as De, normalizeClass as oe, createBlock as ee, createTextVNode as et, createVNode as ae, pushScopeId as Ye, popScopeId as Ke, renderSlot as mt, onMounted as Ue, nextTick as lt, withModifiers as Ee, resolveComponent as qt, resolveDynamicComponent as wt, normalizeProps as kt, guardReactiveProps as xt, withCtx as Et, inject as Qt, withDirectives as Ct, provide as Yt } from "vue";
1
+ import { defineComponent as ie, computed as G, openBlock as r, createElementBlock as h, Fragment as R, renderList as se, createElementVNode as k, normalizeStyle as Z, unref as L, toDisplayString as oe, createCommentVNode as N, ref as X, watch as De, normalizeClass as le, createBlock as te, createTextVNode as et, createVNode as ne, pushScopeId as Ye, popScopeId as Ke, renderSlot as mt, onMounted as Ue, nextTick as lt, withModifiers as Ee, resolveComponent as qt, resolveDynamicComponent as wt, normalizeProps as kt, guardReactiveProps as xt, withCtx as Et, inject as Qt, withDirectives as Ct, provide as Yt } from "vue";
2
2
  const He = {
3
3
  // 选择题
4
4
  choice: "MULTIPLE_RADIO_QUESTION",
@@ -12,7 +12,7 @@ const He = {
12
12
  ...He,
13
13
  // 判断题
14
14
  decide: "TRUE_OR_FALSE"
15
- }, Ge = {
15
+ }, We = {
16
16
  // 填空题
17
17
  fill: "FILL_BLANKS",
18
18
  // 听后填空
@@ -27,7 +27,7 @@ const He = {
27
27
  art: "COMPOSITION_QUESTION",
28
28
  // 选填题
29
29
  mix: "OPTIONAL_QUESTIONS"
30
- }, Ce = {
30
+ }, Se = {
31
31
  // 选做题
32
32
  one_choice: "CHOOSE_A_QUESTION",
33
33
  // 复合题
@@ -47,7 +47,7 @@ const He = {
47
47
  __notareaproblem: "QUES_NO_ANSWER_AREA"
48
48
  }, u = {
49
49
  ...Pt,
50
- ...Ge
50
+ ...We
51
51
  }, qe = [
52
52
  { name: "A3", code: "a3", size: "420*297mm", isMultCol: !0 },
53
53
  { name: "A3+", code: "a3+", size: "463*327mm", isMultCol: !0, disabled: !0 },
@@ -327,12 +327,12 @@ const He = {
327
327
  "16k": 0,
328
328
  b4: 0
329
329
  }
330
- }, Le = {
330
+ }, Fe = {
331
331
  top: 21,
332
332
  right: 6,
333
333
  bottom: 21,
334
334
  left: 6
335
- }, jt = {
335
+ }, Xt = {
336
336
  left: 5,
337
337
  right: 5
338
338
  }, Mt = {
@@ -420,7 +420,7 @@ const He = {
420
420
  2: 20
421
421
  }
422
422
  }
423
- }, Xt = 10, Jt = {
423
+ }, Jt = 10, Zt = {
424
424
  base: {
425
425
  secTitleFlag: "副标题",
426
426
  authorFlag: "命题人",
@@ -502,7 +502,7 @@ const He = {
502
502
  simpleScoreBarFlag: "简易打分条",
503
503
  scoreTipFlag: "计分提示"
504
504
  }
505
- }, Zt = {
505
+ }, jt = {
506
506
  a3: {
507
507
  2: 1,
508
508
  3: 1
@@ -531,7 +531,7 @@ const He = {
531
531
  2: 1,
532
532
  3: 1
533
533
  }
534
- }, M = {
534
+ }, A = {
535
535
  page: "page",
536
536
  headline: "headline",
537
537
  text: "text",
@@ -542,34 +542,34 @@ const He = {
542
542
  }, eo = [
543
543
  { name: "正常", code: "stand" },
544
544
  { name: "横向", code: "column" }
545
- ], Se = {
545
+ ], Te = {
546
546
  none: "none",
547
547
  seat: "seat",
548
548
  shortId: "short"
549
549
  }, to = [
550
- { name: "无", code: Se.none },
551
- { name: "座位号", code: Se.seat, value: 3 },
552
- { name: "短学号", code: Se.shortId, value: 4 }
550
+ { name: "无", code: Te.none },
551
+ { name: "座位号", code: Te.seat, value: 3 },
552
+ { name: "短学号", code: Te.shortId, value: 4 }
553
553
  ], oo = [
554
554
  { name: "无", code: !1 },
555
555
  { name: "有", code: !0 }
556
556
  ], ao = [
557
- { name: "条码", code: Se.none },
558
- { name: "短学号", code: Se.shortId }
557
+ { name: "条码", code: Te.none },
558
+ { name: "短学号", code: Te.shortId }
559
559
  ], dt = {
560
560
  wide: "text",
561
561
  local: "topic"
562
562
  }, lo = [
563
563
  { name: "整卷", code: dt.wide },
564
564
  { name: "大题", code: dt.local }
565
- ], Xe = {
565
+ ], Je = {
566
566
  system: "system",
567
567
  second: "level_2",
568
568
  three: "level_3"
569
569
  }, no = [
570
- { name: "自增", code: Xe.system },
571
- { name: "二级", code: Xe.second },
572
- { name: "三级", code: Xe.three }
570
+ { name: "自增", code: Je.system },
571
+ { name: "二级", code: Je.second },
572
+ { name: "三级", code: Je.three }
573
573
  ], so = [
574
574
  { name: "缩进", code: !0 },
575
575
  { name: "不缩进", code: !1 }
@@ -579,14 +579,14 @@ const He = {
579
579
  { name: "班级", code: "classFieldFlag", key: "classField" },
580
580
  { name: "考场", code: "examRoomFieldFlag", key: "examRoomField" },
581
581
  { name: "座号", code: "seatFieldFlag", key: "seatField" }
582
- ], Je = {
582
+ ], Ze = {
583
583
  auto: "auto",
584
584
  on: "on",
585
585
  off: "off"
586
586
  }, io = [
587
- { name: "自动", code: Je.auto },
588
- { name: "开", code: Je.on },
589
- { name: "关", code: Je.off }
587
+ { name: "自动", code: Ze.auto },
588
+ { name: "开", code: Ze.on },
589
+ { name: "关", code: Ze.off }
590
590
  ], ot = {
591
591
  step: "step",
592
592
  custom: "custom"
@@ -596,15 +596,15 @@ const He = {
596
596
  ], co = [
597
597
  { name: "显示", code: !0 },
598
598
  { name: "隐藏", code: !1 }
599
- ], Ze = {
599
+ ], je = {
600
600
  custom: "less",
601
601
  average: "ans",
602
602
  averagefill: "opt"
603
603
  }, uo = [
604
- { name: "按答案个数均分", code: Ze.average },
605
- { name: "手动设置", code: Ze.custom },
606
- { name: "按答案个数均分(错选不扣分)", code: Ze.averagefill }
607
- ], f = {
604
+ { name: "按答案个数均分", code: je.average },
605
+ { name: "手动设置", code: je.custom },
606
+ { name: "按答案个数均分(错选不扣分)", code: je.averagefill }
607
+ ], _ = {
608
608
  choice_1: "choice-1",
609
609
  choice_2: "choice-2",
610
610
  choice_3: "choice-3",
@@ -806,11 +806,11 @@ const He = {
806
806
  type: "radio",
807
807
  label: "横向分栏",
808
808
  key: d.article.col_a,
809
- target: [M.headline],
809
+ target: [A.headline],
810
810
  show: (e) => ![u.art].includes(e.problemType) && e.layoutMode === "column",
811
811
  option: [
812
- { name: "1栏", code: f.col_1 },
813
- { name: "横向2栏", code: f.col_2 }
812
+ { name: "1栏", code: _.col_1 },
813
+ { name: "横向2栏", code: _.col_2 }
814
814
  ]
815
815
  }
816
816
  ],
@@ -819,11 +819,11 @@ const He = {
819
819
  type: "radio",
820
820
  label: "横向分栏",
821
821
  key: d.article.col_a,
822
- target: [M.headline],
822
+ target: [A.headline],
823
823
  show: (e) => ![u.art].includes(e.problemType) && e.layoutMode === "column",
824
824
  option: [
825
- { name: "1栏", code: f.col_1 },
826
- { name: "横向2栏", code: f.col_2 }
825
+ { name: "1栏", code: _.col_1 },
826
+ { name: "横向2栏", code: _.col_2 }
827
827
  ]
828
828
  }
829
829
  ]
@@ -836,10 +836,10 @@ const He = {
836
836
  label: "插入题号样式控制",
837
837
  key: d.article.slove_d,
838
838
  code: "slove_insert_sub",
839
- target: [M.problem],
839
+ target: [A.problem],
840
840
  option: [
841
- { name: "无", code: f.slove_5 },
842
- { name: "下划线", code: f.slove_6 }
841
+ { name: "无", code: _.slove_5 },
842
+ { name: "下划线", code: _.slove_6 }
843
843
  ]
844
844
  }
845
845
  ]
@@ -852,8 +852,8 @@ const He = {
852
852
  label: "展示样式",
853
853
  key: d.article.choice_a,
854
854
  option: [
855
- { name: "分布式", code: f.choice_1 },
856
- { name: "集合式", code: f.choice_2 }
855
+ { name: "分布式", code: _.choice_1 },
856
+ { name: "集合式", code: _.choice_2 }
857
857
  ]
858
858
  }
859
859
  ],
@@ -864,8 +864,8 @@ const He = {
864
864
  label: "展示样式",
865
865
  key: d.article.decide_a,
866
866
  option: [
867
- { name: "对错", code: f.decide_1 },
868
- { name: "TF", code: f.decide_2 }
867
+ { name: "对错", code: _.decide_1 },
868
+ { name: "TF", code: _.decide_2 }
869
869
  ]
870
870
  }
871
871
  ],
@@ -876,9 +876,9 @@ const He = {
876
876
  label: "打分框位置",
877
877
  key: d.article.fill_a,
878
878
  option: [
879
- { name: "跟随下划线", code: f.fill_1 },
880
- { name: "跟随主题干", code: f.fill_2 },
881
- { name: "跟随标点符号", code: f.fill_3 }
879
+ { name: "跟随下划线", code: _.fill_1 },
880
+ { name: "跟随主题干", code: _.fill_2 },
881
+ { name: "跟随标点符号", code: _.fill_3 }
882
882
  ]
883
883
  }
884
884
  ],
@@ -891,18 +891,18 @@ const He = {
891
891
  label: "边框控制",
892
892
  key: d.article.slove_a,
893
893
  option: [
894
- { name: "有边框", code: f.slove_1 },
895
- { name: "无边框", code: f.slove_2 }
894
+ { name: "有边框", code: _.slove_1 },
895
+ { name: "无边框", code: _.slove_2 }
896
896
  ]
897
897
  },
898
898
  {
899
899
  type: "radio",
900
900
  label: "边框样式",
901
901
  key: d.article.slove_c,
902
- show: (e) => e.style[d.article.slove_a] === f.slove_1,
902
+ show: (e) => e.style[d.article.slove_a] === _.slove_1,
903
903
  option: [
904
- { name: "标准边框", code: f.slove_3 },
905
- { name: "简易边框", code: f.slove_4 }
904
+ { name: "标准边框", code: _.slove_3 },
905
+ { name: "简易边框", code: _.slove_4 }
906
906
  ]
907
907
  },
908
908
  {
@@ -919,10 +919,10 @@ const He = {
919
919
  label: "插入题号样式控制",
920
920
  key: d.article.slove_d,
921
921
  code: "slove_insert_sub",
922
- target: [M.problem],
922
+ target: [A.problem],
923
923
  option: [
924
- { name: "无", code: f.slove_5 },
925
- { name: "下划线", code: f.slove_6 }
924
+ { name: "无", code: _.slove_5 },
925
+ { name: "下划线", code: _.slove_6 }
926
926
  ]
927
927
  }
928
928
  ],
@@ -942,7 +942,7 @@ const He = {
942
942
  key: d.article.art_c,
943
943
  detail: !0,
944
944
  unit: "字",
945
- target: [M.problem]
945
+ target: [A.problem]
946
946
  },
947
947
  {
948
948
  type: "slider",
@@ -951,7 +951,7 @@ const He = {
951
951
  detail: !0,
952
952
  min: () => 1,
953
953
  max: (e) => Math.floor(e.style[d.article.art_c] / e.style[d.article.art_e]),
954
- target: [M.problem]
954
+ target: [A.problem]
955
955
  },
956
956
  {
957
957
  type: "radio",
@@ -962,7 +962,7 @@ const He = {
962
962
  { name: "100", code: 100 }
963
963
  ],
964
964
  detail: !0,
965
- target: [M.problem]
965
+ target: [A.problem]
966
966
  }
967
967
  ]
968
968
  },
@@ -974,26 +974,26 @@ const He = {
974
974
  label: "排列样式",
975
975
  key: d.sheet.choice_a,
976
976
  option: [
977
- { name: "横排", code: f.choice_1 },
978
- { name: "竖排", code: f.choice_2 },
979
- { name: "分组", code: f.choice_3 }
977
+ { name: "横排", code: _.choice_1 },
978
+ { name: "竖排", code: _.choice_2 },
979
+ { name: "分组", code: _.choice_3 }
980
980
  ]
981
981
  },
982
982
  {
983
983
  type: "radio",
984
984
  label: "排列方向",
985
985
  key: d.sheet.choice_b,
986
- show: (e) => e.style[d.sheet.choice_a] !== f.choice_2,
986
+ show: (e) => e.style[d.sheet.choice_a] !== _.choice_2,
987
987
  option: [
988
- { name: "横向", code: f.landscape },
989
- { name: "纵向", code: f.portrait }
988
+ { name: "横向", code: _.landscape },
989
+ { name: "纵向", code: _.portrait }
990
990
  ]
991
991
  },
992
992
  {
993
993
  type: "radio",
994
994
  label: "每组题数",
995
995
  key: d.sheet.choice_c,
996
- show: (e) => [f.choice_2].includes(e.style[d.sheet.choice_a]),
996
+ show: (e) => [_.choice_2].includes(e.style[d.sheet.choice_a]),
997
997
  option: [
998
998
  { name: "3题", code: 3 },
999
999
  { name: "4题", code: 4 },
@@ -1003,18 +1003,18 @@ const He = {
1003
1003
  {
1004
1004
  type: "slider",
1005
1005
  label: "每组个数",
1006
- target: [M.page, M.headline],
1006
+ target: [A.page, A.headline],
1007
1007
  key: d.sheet.choice_e,
1008
- show: (e) => e.style[d.sheet.choice_a] !== f.choice_2,
1008
+ show: (e) => e.style[d.sheet.choice_a] !== _.choice_2,
1009
1009
  min: () => 1,
1010
1010
  max: () => 20
1011
1011
  },
1012
1012
  {
1013
1013
  type: "slider",
1014
1014
  label: "列数",
1015
- target: [M.page, M.headline],
1015
+ target: [A.page, A.headline],
1016
1016
  key: d.sheet.choice_d,
1017
- show: (e) => e.style[d.sheet.choice_a] === f.choice_1,
1017
+ show: (e) => e.style[d.sheet.choice_a] === _.choice_1,
1018
1018
  min: () => 1,
1019
1019
  max: () => 10
1020
1020
  }
@@ -1027,8 +1027,8 @@ const He = {
1027
1027
  key: d.sheet.decide_a,
1028
1028
  show: (e) => !e.notSelf,
1029
1029
  option: [
1030
- { name: "对错", code: f.decide_1 },
1031
- { name: "TF", code: f.decide_2 }
1030
+ { name: "对错", code: _.decide_1 },
1031
+ { name: "TF", code: _.decide_2 }
1032
1032
  ]
1033
1033
  }
1034
1034
  ],
@@ -1049,20 +1049,20 @@ const He = {
1049
1049
  key: d.sheet.fill_a,
1050
1050
  show: (e) => e.style[d.sheet.fill_b],
1051
1051
  option: [
1052
- { name: "跟随下划线", code: f.fill_1 },
1053
- { name: "跟随主题干", code: f.fill_2 },
1054
- { name: "跟随标点符号", code: f.fill_3 }
1052
+ { name: "跟随下划线", code: _.fill_1 },
1053
+ { name: "跟随主题干", code: _.fill_2 },
1054
+ { name: "跟随标点符号", code: _.fill_3 }
1055
1055
  ]
1056
1056
  },
1057
1057
  {
1058
1058
  type: "radio",
1059
1059
  label: "分题换行",
1060
1060
  key: d.sheet.fill_c,
1061
- target: [M.page, M.headline],
1061
+ target: [A.page, A.headline],
1062
1062
  show: (e) => !e.style[d.sheet.fill_b],
1063
1063
  option: [
1064
- { name: "开启", code: f.fill_1 },
1065
- { name: "关闭", code: f.fill_2 }
1064
+ { name: "开启", code: _.fill_1 },
1065
+ { name: "关闭", code: _.fill_2 }
1066
1066
  ]
1067
1067
  },
1068
1068
  {
@@ -1101,7 +1101,7 @@ const He = {
1101
1101
  type: "slider",
1102
1102
  label: "每空高度",
1103
1103
  key: d.sheet.fill_e,
1104
- target: [M.page, M.headline],
1104
+ target: [A.page, A.headline],
1105
1105
  show: (e) => !e.style[d.sheet.fill_b],
1106
1106
  max: () => 20
1107
1107
  }
@@ -1123,7 +1123,7 @@ const He = {
1123
1123
  label: "每空宽度",
1124
1124
  key: d.sheet.fill_d,
1125
1125
  filter: (e, t) => e.mixType[t].problemType === u.fill,
1126
- target: [M.problem],
1126
+ target: [A.problem],
1127
1127
  show: (e) => !e.style[d.sheet.mix_a] && (e.mixType || []).find((t) => t.problemType === u.fill),
1128
1128
  option: [
1129
1129
  { name: "1", code: 1 },
@@ -1148,19 +1148,19 @@ const He = {
1148
1148
  key: d.sheet.decide_a,
1149
1149
  show: (e) => !e.style[d.sheet.mix_a] && (e.mixType || (e.children || []).filter((t) => Object.values(u).includes(t.problemType) && !t.style[d.sheet.mix_a]).map((t) => t.mixType).flat(2)).find((t) => t.problemType === u.decide),
1150
1150
  option: [
1151
- { name: "对错", code: f.decide_1 },
1152
- { name: "TF", code: f.decide_2 }
1151
+ { name: "对错", code: _.decide_1 },
1152
+ { name: "TF", code: _.decide_2 }
1153
1153
  ]
1154
1154
  },
1155
1155
  {
1156
1156
  type: "radio",
1157
1157
  label: "排列方向",
1158
1158
  key: d.sheet.choice_b,
1159
- target: [M.problem],
1159
+ target: [A.problem],
1160
1160
  show: (e) => !e.style[d.sheet.mix_a] && !(e.mixType || []).find((t) => ![u.choice, u.choice_multiple].includes(t.problemType)),
1161
1161
  option: [
1162
- { name: "横向", code: f.landscape },
1163
- { name: "竖向", code: f.portrait }
1162
+ { name: "横向", code: _.landscape },
1163
+ { name: "竖向", code: _.portrait }
1164
1164
  ]
1165
1165
  },
1166
1166
  {
@@ -1169,9 +1169,9 @@ const He = {
1169
1169
  key: d.public.scoreShowFlag,
1170
1170
  show: (e) => !e.style[d.sheet.mix_a],
1171
1171
  option: [
1172
- { name: "隐藏", code: f.bracket_none },
1173
- { name: "显示(英文括号)", code: f.bracket_en },
1174
- { name: "显示(中文括号)", code: f.bracket_cn }
1172
+ { name: "隐藏", code: _.bracket_none },
1173
+ { name: "显示(英文括号)", code: _.bracket_en },
1174
+ { name: "显示(中文括号)", code: _.bracket_cn }
1175
1175
  ]
1176
1176
  }
1177
1177
  ],
@@ -1183,9 +1183,9 @@ const He = {
1183
1183
  key: d.public.scoreShowFlag,
1184
1184
  show: (e) => !e.notSelf,
1185
1185
  option: [
1186
- { name: "隐藏", code: f.bracket_none },
1187
- { name: "显示(英文括号)", code: f.bracket_en },
1188
- { name: "显示(中文括号)", code: f.bracket_cn }
1186
+ { name: "隐藏", code: _.bracket_none },
1187
+ { name: "显示(英文括号)", code: _.bracket_en },
1188
+ { name: "显示(中文括号)", code: _.bracket_cn }
1189
1189
  ]
1190
1190
  }
1191
1191
  ],
@@ -1197,9 +1197,9 @@ const He = {
1197
1197
  key: d.public.scoreShowFlag,
1198
1198
  show: (e) => !e.notSelf,
1199
1199
  option: [
1200
- { name: "隐藏", code: f.bracket_none },
1201
- { name: "显示(英文括号)", code: f.bracket_en },
1202
- { name: "显示(中文括号)", code: f.bracket_cn }
1200
+ { name: "隐藏", code: _.bracket_none },
1201
+ { name: "显示(英文括号)", code: _.bracket_en },
1202
+ { name: "显示(中文括号)", code: _.bracket_cn }
1203
1203
  ]
1204
1204
  }
1205
1205
  ],
@@ -1219,7 +1219,7 @@ const He = {
1219
1219
  key: d.sheet.art_c,
1220
1220
  detail: !0,
1221
1221
  unit: "字",
1222
- target: [M.problem]
1222
+ target: [A.problem]
1223
1223
  },
1224
1224
  {
1225
1225
  type: "slider",
@@ -1228,7 +1228,7 @@ const He = {
1228
1228
  detail: !0,
1229
1229
  min: () => 1,
1230
1230
  max: (e) => Math.floor(e.style[d.sheet.art_c] / e.style[d.sheet.art_e]),
1231
- target: [M.problem]
1231
+ target: [A.problem]
1232
1232
  },
1233
1233
  {
1234
1234
  type: "radio",
@@ -1239,16 +1239,16 @@ const He = {
1239
1239
  { name: "100", code: 100 }
1240
1240
  ],
1241
1241
  detail: !0,
1242
- target: [M.problem]
1242
+ target: [A.problem]
1243
1243
  },
1244
1244
  {
1245
1245
  type: "radio",
1246
1246
  label: "题目计分提示",
1247
1247
  key: d.public.scoreShowFlag,
1248
1248
  option: [
1249
- { name: "隐藏", code: f.bracket_none },
1250
- { name: "显示(英文括号)", code: f.bracket_en },
1251
- { name: "显示(中文括号)", code: f.bracket_cn }
1249
+ { name: "隐藏", code: _.bracket_none },
1250
+ { name: "显示(英文括号)", code: _.bracket_en },
1251
+ { name: "显示(中文括号)", code: _.bracket_cn }
1252
1252
  ]
1253
1253
  }
1254
1254
  ],
@@ -1268,9 +1268,9 @@ const He = {
1268
1268
  label: "题目计分提示",
1269
1269
  key: d.public.scoreShowFlag,
1270
1270
  option: [
1271
- { name: "隐藏", code: f.bracket_none },
1272
- { name: "显示(英文括号)", code: f.bracket_en },
1273
- { name: "显示(中文括号)", code: f.bracket_cn }
1271
+ { name: "隐藏", code: _.bracket_none },
1272
+ { name: "显示(英文括号)", code: _.bracket_en },
1273
+ { name: "显示(中文括号)", code: _.bracket_cn }
1274
1274
  ]
1275
1275
  }
1276
1276
  ]
@@ -1283,26 +1283,26 @@ const He = {
1283
1283
  label: "排列样式",
1284
1284
  key: d.sheetCard.choice_a,
1285
1285
  option: [
1286
- { name: "横排", code: f.choice_1 },
1287
- { name: "竖排", code: f.choice_2 },
1288
- { name: "分组", code: f.choice_3 }
1286
+ { name: "横排", code: _.choice_1 },
1287
+ { name: "竖排", code: _.choice_2 },
1288
+ { name: "分组", code: _.choice_3 }
1289
1289
  ]
1290
1290
  },
1291
1291
  {
1292
1292
  type: "radio",
1293
1293
  label: "排列方向",
1294
1294
  key: d.sheetCard.choice_b,
1295
- show: (e) => e.style[d.sheetCard.choice_a] !== f.choice_2,
1295
+ show: (e) => e.style[d.sheetCard.choice_a] !== _.choice_2,
1296
1296
  option: [
1297
- { name: "横向", code: f.landscape },
1298
- { name: "纵向", code: f.portrait }
1297
+ { name: "横向", code: _.landscape },
1298
+ { name: "纵向", code: _.portrait }
1299
1299
  ]
1300
1300
  },
1301
1301
  {
1302
1302
  type: "radio",
1303
1303
  label: "每组题数",
1304
1304
  key: d.sheetCard.choice_c,
1305
- show: (e) => [f.choice_2].includes(e.style[d.sheetCard.choice_a]),
1305
+ show: (e) => [_.choice_2].includes(e.style[d.sheetCard.choice_a]),
1306
1306
  option: [
1307
1307
  { name: "3题", code: 3 },
1308
1308
  { name: "4题", code: 4 },
@@ -1312,30 +1312,30 @@ const He = {
1312
1312
  {
1313
1313
  type: "slider",
1314
1314
  label: "每组个数",
1315
- target: (e, t) => [u.synthesis].includes(e.problemType) ? [M.problem] : [M.page, M.headline],
1315
+ target: (e, t) => [u.synthesis].includes(e.problemType) ? [A.problem] : [A.page, A.headline],
1316
1316
  key: d.sheetCard.choice_e,
1317
- show: (e) => e.style[d.sheetCard.choice_a] === f.choice_1 || e.style[d.sheetCard.choice_a] === f.choice_3 && e.style[d.sheetCard.choice_b] === f.portrait,
1317
+ show: (e) => e.style[d.sheetCard.choice_a] === _.choice_1 || e.style[d.sheetCard.choice_a] === _.choice_3 && e.style[d.sheetCard.choice_b] === _.portrait,
1318
1318
  min: () => 1,
1319
1319
  max: () => 20
1320
1320
  },
1321
1321
  {
1322
1322
  type: "slider",
1323
1323
  label: "列数",
1324
- target: (e, t) => [u.synthesis].includes(e.problemType) ? [M.problem] : [M.page, M.headline],
1324
+ target: (e, t) => [u.synthesis].includes(e.problemType) ? [A.problem] : [A.page, A.headline],
1325
1325
  key: d.sheetCard.choice_d,
1326
- show: (e) => e.style[d.sheetCard.choice_a] !== f.choice_2,
1326
+ show: (e) => e.style[d.sheetCard.choice_a] !== _.choice_2,
1327
1327
  min: () => 1,
1328
1328
  max: () => 10
1329
1329
  },
1330
1330
  {
1331
1331
  type: "radio",
1332
1332
  label: "排列偏好",
1333
- target: (e, t) => [u.synthesis].includes(e.problemType) ? [M.problem] : [M.page, M.headline],
1333
+ target: (e, t) => [u.synthesis].includes(e.problemType) ? [A.problem] : [A.page, A.headline],
1334
1334
  key: d.sheetCard.choice_f,
1335
- show: (e) => e.style[d.sheetCard.choice_a] !== f.choice_2,
1335
+ show: (e) => e.style[d.sheetCard.choice_a] !== _.choice_2,
1336
1336
  option: [
1337
- { name: "紧凑", code: f.choice_6 },
1338
- { name: "均分", code: f.choice_7 }
1337
+ { name: "紧凑", code: _.choice_6 },
1338
+ { name: "均分", code: _.choice_7 }
1339
1339
  ]
1340
1340
  }
1341
1341
  ],
@@ -1346,8 +1346,8 @@ const He = {
1346
1346
  label: "展示样式",
1347
1347
  key: d.sheetCard.decide_a,
1348
1348
  option: [
1349
- { name: "对错", code: f.decide_1 },
1350
- { name: "TF", code: f.decide_2 }
1349
+ { name: "对错", code: _.decide_1 },
1350
+ { name: "TF", code: _.decide_2 }
1351
1351
  ]
1352
1352
  }
1353
1353
  ],
@@ -1359,39 +1359,39 @@ const He = {
1359
1359
  key: d.sheetCard.fill_a,
1360
1360
  show: (e) => e.style[d.sheetCard.fill_b],
1361
1361
  option: [
1362
- { name: "跟随下划线", code: f.fill_1 },
1363
- { name: "跟随主题干", code: f.fill_2 },
1364
- { name: "跟随标点符号", code: f.fill_3 }
1362
+ { name: "跟随下划线", code: _.fill_1 },
1363
+ { name: "跟随主题干", code: _.fill_2 },
1364
+ { name: "跟随标点符号", code: _.fill_3 }
1365
1365
  ]
1366
1366
  },
1367
1367
  {
1368
1368
  type: "radio",
1369
1369
  label: "分题换行",
1370
1370
  key: d.sheetCard.fill_c,
1371
- target: (e, t) => [u.synthesis].includes(e.problemType) ? [M.problem] : [u.mix].includes(e.problemType) ? [] : [M.page, M.headline],
1371
+ target: (e, t) => [u.synthesis].includes(e.problemType) ? [A.problem] : [u.mix].includes(e.problemType) ? [] : [A.page, A.headline],
1372
1372
  show: (e) => !e.style[d.sheetCard.fill_b],
1373
1373
  option: [
1374
- { name: "开启", code: f.fill_1 },
1375
- { name: "关闭", code: f.fill_2 }
1374
+ { name: "开启", code: _.fill_1 },
1375
+ { name: "关闭", code: _.fill_2 }
1376
1376
  ]
1377
1377
  },
1378
1378
  {
1379
1379
  type: "radio",
1380
1380
  label: "排列方向",
1381
1381
  key: d.sheetCard.fill_g,
1382
- target: [M.page, M.headline],
1383
- show: (e) => e.style[d.sheetCard.fill_c] === f.fill_2 && [u.fill, u.fill_english].includes(e.problemType),
1382
+ target: [A.page, A.headline],
1383
+ show: (e) => e.style[d.sheetCard.fill_c] === _.fill_2 && [u.fill, u.fill_english].includes(e.problemType),
1384
1384
  option: [
1385
- { name: "横向", code: f.landscape },
1386
- { name: "纵向", code: f.portrait }
1385
+ { name: "横向", code: _.landscape },
1386
+ { name: "纵向", code: _.portrait }
1387
1387
  ]
1388
1388
  },
1389
1389
  {
1390
1390
  type: "slider",
1391
1391
  label: "每组个数",
1392
1392
  key: d.sheetCard.fill_h,
1393
- target: [M.page, M.headline],
1394
- show: (e) => e.style[d.sheetCard.fill_g] === f.portrait,
1393
+ target: [A.page, A.headline],
1394
+ show: (e) => e.style[d.sheetCard.fill_g] === _.portrait,
1395
1395
  min: () => 1,
1396
1396
  max: () => 10
1397
1397
  },
@@ -1400,10 +1400,10 @@ const He = {
1400
1400
  type: "radio",
1401
1401
  label: "每空宽度",
1402
1402
  key: d.sheetCard.fill_d,
1403
- target: [M.problem],
1403
+ target: [A.problem],
1404
1404
  detail: !0,
1405
1405
  problemCode: [u.fill, u.fill_english],
1406
- show: (e) => !e.style[d.sheetCard.fill_b] && e.style[d.sheetCard.fill_g] !== f.portrait,
1406
+ show: (e) => !e.style[d.sheetCard.fill_b] && e.style[d.sheetCard.fill_g] !== _.portrait,
1407
1407
  option: [
1408
1408
  { name: "1", code: 1 },
1409
1409
  { name: "1/2", code: 2 },
@@ -1419,7 +1419,7 @@ const He = {
1419
1419
  type: "radio",
1420
1420
  label: "每行空数",
1421
1421
  key: d.sheetCard.fill_f,
1422
- target: [M.page, M.headline],
1422
+ target: [A.page, A.headline],
1423
1423
  show: (e) => !e.notSelf && !e.style[d.sheetCard.fill_b] && e.children.length,
1424
1424
  option: [
1425
1425
  { name: "1", code: 1 },
@@ -1435,7 +1435,7 @@ const He = {
1435
1435
  type: "slider",
1436
1436
  label: "每空高度",
1437
1437
  key: d.sheetCard.fill_e,
1438
- target: (e, t) => [u.synthesis, u.mix].includes(e.problemType) ? [M.problem] : [M.page, M.headline],
1438
+ target: (e, t) => [u.synthesis, u.mix].includes(e.problemType) ? [A.problem] : [A.page, A.headline],
1439
1439
  show: (e) => !e.notSelf && !e.style[d.sheetCard.fill_b],
1440
1440
  max: () => 20
1441
1441
  }
@@ -1503,9 +1503,9 @@ const He = {
1503
1503
  key: d.public.scoreShowFlag,
1504
1504
  show: (e) => !e.style[d.sheetCard.mix_a] && ((e.mixType || []).find((t) => [u.easy_slove].includes(t.problemType)) || (e.children || []).filter((t) => Object.values(u).includes(t.problemType)).map((t) => t.mixType || []).flat(2).find((t) => [u.easy_slove].includes(t.problemType))),
1505
1505
  option: [
1506
- { name: "隐藏", code: f.bracket_none },
1507
- { name: "显示(英文括号)", code: f.bracket_en },
1508
- { name: "显示(中文括号)", code: f.bracket_cn }
1506
+ { name: "隐藏", code: _.bracket_none },
1507
+ { name: "显示(英文括号)", code: _.bracket_en },
1508
+ { name: "显示(中文括号)", code: _.bracket_cn }
1509
1509
  ]
1510
1510
  },
1511
1511
  // { // 其它
@@ -1540,9 +1540,9 @@ const He = {
1540
1540
  key: d.public.scoreShowFlag,
1541
1541
  show: (e) => !e.notSelf,
1542
1542
  option: [
1543
- { name: "隐藏", code: f.bracket_none },
1544
- { name: "显示(英文括号)", code: f.bracket_en },
1545
- { name: "显示(中文括号)", code: f.bracket_cn }
1543
+ { name: "隐藏", code: _.bracket_none },
1544
+ { name: "显示(英文括号)", code: _.bracket_en },
1545
+ { name: "显示(中文括号)", code: _.bracket_cn }
1546
1546
  ]
1547
1547
  }
1548
1548
  // {
@@ -1566,9 +1566,9 @@ const He = {
1566
1566
  key: d.public.scoreShowFlag,
1567
1567
  show: (e) => !e.notSelf,
1568
1568
  option: [
1569
- { name: "隐藏", code: f.bracket_none },
1570
- { name: "显示(英文括号)", code: f.bracket_en },
1571
- { name: "显示(中文括号)", code: f.bracket_cn }
1569
+ { name: "隐藏", code: _.bracket_none },
1570
+ { name: "显示(英文括号)", code: _.bracket_en },
1571
+ { name: "显示(中文括号)", code: _.bracket_cn }
1572
1572
  ]
1573
1573
  },
1574
1574
  {
@@ -1577,7 +1577,7 @@ const He = {
1577
1577
  label: "宽度",
1578
1578
  key: d.sheetCard.easy_slove_c,
1579
1579
  detail: !0,
1580
- target: [M.problem],
1580
+ target: [A.problem],
1581
1581
  problemCode: [u.easy_slove],
1582
1582
  option: [
1583
1583
  { name: "1", code: 1 },
@@ -1594,7 +1594,7 @@ const He = {
1594
1594
  type: "radio",
1595
1595
  label: "每行空数",
1596
1596
  key: d.sheetCard.easy_slove_e,
1597
- target: [M.page, M.headline],
1597
+ target: [A.page, A.headline],
1598
1598
  show: (e) => !e.notSelf,
1599
1599
  option: [
1600
1600
  { name: "1", code: 1 },
@@ -1611,7 +1611,7 @@ const He = {
1611
1611
  label: "每空高度",
1612
1612
  key: d.sheetCard.easy_slove_d,
1613
1613
  show: (e) => !e.notSelf,
1614
- target: (e, t) => [u.mix].includes(e.problemType) ? [M.problem] : [M.page, M.headline, M.problem],
1614
+ target: (e, t) => [u.mix].includes(e.problemType) ? [A.problem] : [A.page, A.headline, A.problem],
1615
1615
  max: () => 20
1616
1616
  }
1617
1617
  ],
@@ -1622,7 +1622,7 @@ const He = {
1622
1622
  label: "格子尺寸",
1623
1623
  key: d.article.art_b,
1624
1624
  detail: !0,
1625
- target: [M.problem],
1625
+ target: [A.problem],
1626
1626
  show: (e) => e.artBlock,
1627
1627
  min: () => 27,
1628
1628
  max: () => 40,
@@ -1637,7 +1637,7 @@ const He = {
1637
1637
  key: d.sheetCard.art_c,
1638
1638
  detail: !0,
1639
1639
  unit: "字",
1640
- target: [M.problem],
1640
+ target: [A.problem],
1641
1641
  show: (e) => e.artBlock
1642
1642
  },
1643
1643
  {
@@ -1647,7 +1647,7 @@ const He = {
1647
1647
  detail: !0,
1648
1648
  min: () => 1,
1649
1649
  max: (e) => Math.floor(e.style[d.sheetCard.art_c] / e.style[d.sheetCard.art_e]),
1650
- target: [M.problem],
1650
+ target: [A.problem],
1651
1651
  show: (e) => e.artBlock
1652
1652
  },
1653
1653
  {
@@ -1659,7 +1659,7 @@ const He = {
1659
1659
  { name: "100", code: 100 }
1660
1660
  ],
1661
1661
  detail: !0,
1662
- target: [M.problem],
1662
+ target: [A.problem],
1663
1663
  show: (e) => e.artBlock
1664
1664
  },
1665
1665
  {
@@ -1668,7 +1668,7 @@ const He = {
1668
1668
  key: d.sheetCard.art_c,
1669
1669
  detail: !0,
1670
1670
  unit: "行",
1671
- target: [M.problem],
1671
+ target: [A.problem],
1672
1672
  show: (e) => !e.artBlock
1673
1673
  },
1674
1674
  {
@@ -1676,9 +1676,9 @@ const He = {
1676
1676
  label: "题目计分提示",
1677
1677
  key: d.public.scoreShowFlag,
1678
1678
  option: [
1679
- { name: "隐藏", code: f.bracket_none },
1680
- { name: "显示(英文括号)", code: f.bracket_en },
1681
- { name: "显示(中文括号)", code: f.bracket_cn }
1679
+ { name: "隐藏", code: _.bracket_none },
1680
+ { name: "显示(英文括号)", code: _.bracket_en },
1681
+ { name: "显示(中文括号)", code: _.bracket_cn }
1682
1682
  ]
1683
1683
  }
1684
1684
  // {
@@ -1712,9 +1712,9 @@ const He = {
1712
1712
  key: d.public.scoreShowFlag,
1713
1713
  show: (e) => (e.children || []).filter((t) => Object.values(u).includes(t.problemType)).map((t) => (t.children || []).length ? t.children : t).flat(2).find((t) => [u.easy_slove, u.slove].includes(t.problemType)),
1714
1714
  option: [
1715
- { name: "隐藏", code: f.bracket_none },
1716
- { name: "显示(英文括号)", code: f.bracket_en },
1717
- { name: "显示(中文括号)", code: f.bracket_cn }
1715
+ { name: "隐藏", code: _.bracket_none },
1716
+ { name: "显示(英文括号)", code: _.bracket_en },
1717
+ { name: "显示(中文括号)", code: _.bracket_cn }
1718
1718
  ]
1719
1719
  }
1720
1720
  ]
@@ -1753,7 +1753,7 @@ const He = {
1753
1753
  { name: "小四", code: "16px", alias: "s4" },
1754
1754
  { name: "五号", code: "14px", alias: "5" },
1755
1755
  { name: "小五", code: "12px", alias: "s5" }
1756
- ], Fe = {
1756
+ ], Le = {
1757
1757
  stand: {
1758
1758
  name: "标准",
1759
1759
  code: "stand",
@@ -1772,7 +1772,7 @@ const He = {
1772
1772
  value: 24,
1773
1773
  height: 16
1774
1774
  }
1775
- }, We = {
1775
+ }, Ge = {
1776
1776
  small: {
1777
1777
  name: "小",
1778
1778
  code: "small",
@@ -1834,46 +1834,46 @@ const He = {
1834
1834
  column: Ut,
1835
1835
  columnMargin: Mt,
1836
1836
  defaultProblemLayout: ho,
1837
- fillSize: Fe,
1837
+ fillSize: Le,
1838
1838
  fontFamily: yo,
1839
1839
  fontSize: fo,
1840
1840
  fontWeight: _o,
1841
- formatConfig: Jt,
1842
- halfScoreType: Je,
1841
+ formatConfig: Zt,
1842
+ halfScoreType: Ze,
1843
1843
  halfScoreTypeOption: io,
1844
1844
  inlineNotAreaOption: co,
1845
1845
  layoutMode: eo,
1846
- lessScoreRule: Ze,
1846
+ lessScoreRule: je,
1847
1847
  lessScoreRuleOption: uo,
1848
1848
  otherLayout: mo,
1849
1849
  otherLayoutKey: Dt,
1850
1850
  paddDiff: Vt,
1851
- pageMargin: Xt,
1851
+ pageMargin: Jt,
1852
1852
  pagePadding: yt,
1853
1853
  pagePointPosition: Qe,
1854
1854
  pageSize: x,
1855
- pageTitleBlockCol: Zt,
1855
+ pageTitleBlockCol: jt,
1856
1856
  paper: qe,
1857
1857
  problemLayout: po,
1858
1858
  problemLayoutKey: d,
1859
- problemLayoutVal: f,
1860
- scoreLineSize: We,
1859
+ problemLayoutVal: _,
1860
+ scoreLineSize: Ge,
1861
1861
  scoreLineStyle: nt,
1862
1862
  scoreLineType: ot,
1863
1863
  scoreLineTypeOption: ro,
1864
1864
  seatBarOption: oo,
1865
- seatType: Se,
1865
+ seatType: Te,
1866
1866
  seatTypeBindOption: ao,
1867
1867
  seatTypeOption: to,
1868
- sheetColumnPad: Le,
1869
- sheetItemColumnPad: jt,
1868
+ sheetColumnPad: Fe,
1869
+ sheetItemColumnPad: Xt,
1870
1870
  specialPaper: tt,
1871
1871
  subIndentOption: so,
1872
1872
  subRange: dt,
1873
1873
  subRangeOption: lo,
1874
- subRule: Xe,
1874
+ subRule: Je,
1875
1875
  subRuleOption: no,
1876
- toolGroup: M
1876
+ toolGroup: A
1877
1877
  }, Symbol.toStringTag, { value: "Module" })), _t = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), bo = "TF".split(""), vo = {
1878
1878
  a4: "TYPE_A4",
1879
1879
  a4x: "TYPE_A4",
@@ -1885,49 +1885,49 @@ const He = {
1885
1885
  "8k": "TYPE_8K",
1886
1886
  "16k": "TYPE_16K",
1887
1887
  "32k": "TYPE_32K"
1888
- }, fe = window.btoa(Math.random().toString(32)).substring(0, 10), $ = {
1888
+ }, be = window.btoa(Math.random().toString(32)).substring(0, 10), $ = {
1889
1889
  // 定位点 主定位点 lt rt lb rb 辅助定位点 t b
1890
- point: `__${fe}point`,
1890
+ point: `__${be}point`,
1891
1891
  // 页码点
1892
- page: `__${fe}pagetotal`,
1892
+ page: `__${be}pagetotal`,
1893
1893
  // 单个页码点
1894
- page_item: `__${fe}pageitem`,
1894
+ page_item: `__${be}pageitem`,
1895
1895
  // 缺考标记
1896
- lack: `__${fe}lack`,
1896
+ lack: `__${be}lack`,
1897
1897
  // 试卷二维码
1898
- art_code: `__${fe}artcode`,
1898
+ art_code: `__${be}artcode`,
1899
1899
  // 条码区
1900
- en_code: `__${fe}encode`,
1900
+ en_code: `__${be}encode`,
1901
1901
  // 填涂区容器
1902
- en_num_view: `__${fe}ennumview`,
1902
+ en_num_view: `__${be}ennumview`,
1903
1903
  // 填涂区
1904
- en_num: `__${fe}ennum`,
1904
+ en_num: `__${be}ennum`,
1905
1905
  // 填涂区分组
1906
- en_num_group: `__${fe}ennumg`,
1906
+ en_num_group: `__${be}ennumg`,
1907
1907
  // 填涂区单个
1908
- en_num_item: `__${fe}ennumi`,
1908
+ en_num_item: `__${be}ennumi`,
1909
1909
  // 选做题
1910
- choice: `__${fe}choice`,
1910
+ choice: `__${be}choice`,
1911
1911
  // 题目 + id
1912
- item: `__${fe}problem`,
1912
+ item: `__${be}problem`,
1913
1913
  // 填涂框 + 序号
1914
- fill: `__${fe}fill`,
1914
+ fill: `__${be}fill`,
1915
1915
  // 填空题下划线
1916
- fill_line: `__${fe}fillline`,
1916
+ fill_line: `__${be}fillline`,
1917
1917
  // 打分框
1918
- score: `__${fe}score`,
1918
+ score: `__${be}score`,
1919
1919
  // 十分位打分框
1920
- score_tenbit: `__${fe}tenbit`,
1920
+ score_tenbit: `__${be}tenbit`,
1921
1921
  // 个位打分框
1922
- score_base: `__${fe}base`,
1922
+ score_base: `__${be}base`,
1923
1923
  // 单个打分框
1924
- score_item: `__${fe}scorei`,
1924
+ score_item: `__${be}scorei`,
1925
1925
  // 0.5分打分框
1926
- score_half: `__${fe}scorehalf`,
1926
+ score_half: `__${be}scorehalf`,
1927
1927
  // 书写分
1928
- write_view: `__${fe}write`,
1928
+ write_view: `__${be}write`,
1929
1929
  // 密封线
1930
- bind_line: `__${fe}bindline`
1930
+ bind_line: `__${be}bindline`
1931
1931
  }, rt = {
1932
1932
  [u.choice]: "TYPE_SINGLECHOICE",
1933
1933
  // 单项选择
@@ -1948,11 +1948,11 @@ const He = {
1948
1948
  // 作文
1949
1949
  [u.synthesis]: "TYPE_MULTI",
1950
1950
  // 综合题
1951
- [Ce.one_choice]: "TYPE_SINGLECHOICE",
1951
+ [Se.one_choice]: "TYPE_SINGLECHOICE",
1952
1952
  // 选做题
1953
- [Ce.another_choice]: "TYPE_SINGLECHOICE"
1953
+ [Se.another_choice]: "TYPE_SINGLECHOICE"
1954
1954
  // 附加选做题
1955
- }, wo = ["data-xine"], ko = ["data-xine"], xo = ["data-xine"], Co = ["data-xine"], So = ["data-xine"], xe = 20, To = /* @__PURE__ */ ne({
1955
+ }, wo = ["data-xine"], ko = ["data-xine"], xo = ["data-xine"], Co = ["data-xine"], So = ["data-xine"], Ce = 20, To = /* @__PURE__ */ ie({
1956
1956
  __name: "point",
1957
1957
  props: {
1958
1958
  layout: {},
@@ -1964,77 +1964,77 @@ const He = {
1964
1964
  padding: {}
1965
1965
  },
1966
1966
  setup(e) {
1967
- const t = e, o = W(() => tt.includes(t.layout.paper) ? 2 : (t.currentPage % 2 ? t.layout.backColumn : t.layout.column) - 1), l = (c) => ({
1968
- lt: { left: `${t.padding.left - xe}px`, top: `${t.padding.top - xe}px` },
1969
- rt: { right: `${t.padding.right - xe}px`, top: `${t.padding.top - xe}px` },
1970
- lb: { left: `${t.padding.left - xe}px`, bottom: `${t.padding.bottom - xe}px` },
1971
- rb: { right: `${t.padding.right - xe}px`, bottom: `${t.padding.bottom - xe}px` }
1967
+ const t = e, o = G(() => tt.includes(t.layout.paper) ? 2 : (t.currentPage % 2 ? t.layout.backColumn : t.layout.column) - 1), l = (c) => ({
1968
+ lt: { left: `${t.padding.left - Ce}px`, top: `${t.padding.top - Ce}px` },
1969
+ rt: { right: `${t.padding.right - Ce}px`, top: `${t.padding.top - Ce}px` },
1970
+ lb: { left: `${t.padding.left - Ce}px`, bottom: `${t.padding.bottom - Ce}px` },
1971
+ rb: { right: `${t.padding.right - Ce}px`, bottom: `${t.padding.bottom - Ce}px` }
1972
1972
  })[c], i = () => ({
1973
1973
  [Qe.left_down.code]: {
1974
- left: `${t.padding.left - xe + 100}px`,
1975
- bottom: `${t.padding.bottom - xe}px`
1974
+ left: `${t.padding.left - Ce + 100}px`,
1975
+ bottom: `${t.padding.bottom - Ce}px`
1976
1976
  },
1977
1977
  [Qe.right_up.code]: {
1978
- right: `${t.padding.right - xe + 100}px`,
1979
- top: `${t.padding.top - xe}px`
1978
+ right: `${t.padding.right - Ce + 100}px`,
1979
+ top: `${t.padding.top - Ce}px`
1980
1980
  }
1981
1981
  })[t.layout.pagePoint], a = (c, y) => {
1982
1982
  const s = {
1983
1983
  t: {
1984
- top: `${t.padding.top - xe}px`
1984
+ top: `${t.padding.top - Ce}px`
1985
1985
  },
1986
1986
  b: {
1987
- bottom: `${t.padding.bottom - xe}px`
1987
+ bottom: `${t.padding.bottom - Ce}px`
1988
1988
  }
1989
- }, m = (x[t.layout.paper].width - t.padding.left - t.padding.right + xe) / (tt.includes(t.layout.paper) ? 3 : t.currentPage % 2 ? t.layout.column : t.layout.backColumn);
1990
- return { left: `${c * m + t.padding.left - xe}px`, width: `${xe}px`, ...s[y] };
1989
+ }, m = (x[t.layout.paper].width - t.padding.left - t.padding.right + Ce) / (tt.includes(t.layout.paper) ? 3 : t.currentPage % 2 ? t.layout.column : t.layout.backColumn);
1990
+ return { left: `${c * m + t.padding.left - Ce}px`, width: `${Ce}px`, ...s[y] };
1991
1991
  }, n = (c) => {
1992
- const y = (x[t.layout.paper].height - t.padding.top - t.padding.bottom) / 3, s = t.bindWidth ? { right: `${t.padding.right - 15.5}px` } : { left: `${t.padding.left - 15.5}px` }, m = ["", "l", "r"].findIndex((A) => A === c);
1992
+ const y = (x[t.layout.paper].height - t.padding.top - t.padding.bottom) / 3, s = t.bindWidth ? { right: `${t.padding.right - 15.5}px` } : { left: `${t.padding.left - 15.5}px` }, m = ["", "l", "r"].findIndex((D) => D === c);
1993
1993
  return { top: `${y * m + t.padding.top - 10}px`, width: "11px", ...s };
1994
1994
  };
1995
1995
  return (c, y) => {
1996
1996
  var s;
1997
- return r(), h(O, null, [
1998
- (r(), h(O, null, le(["lt", "rt", "lb", "rb"], (m) => k("span", {
1997
+ return r(), h(R, null, [
1998
+ (r(), h(R, null, se(["lt", "rt", "lb", "rb"], (m) => k("span", {
1999
1999
  key: m,
2000
2000
  class: "absolute w-8 bg-black point_item",
2001
- style: X(l(m)),
2001
+ style: Z(l(m)),
2002
2002
  "data-xine": L($).point + m
2003
2003
  }, null, 12, wo)), 64)),
2004
- (r(!0), h(O, null, le(o.value, (m) => (r(), h(O, { key: m }, [
2005
- (r(), h(O, null, le(["t", "b"], (A) => k("span", {
2006
- key: A,
2004
+ (r(!0), h(R, null, se(o.value, (m) => (r(), h(R, { key: m }, [
2005
+ (r(), h(R, null, se(["t", "b"], (D) => k("span", {
2006
+ key: D,
2007
2007
  class: "absolute bg-black w-8 point_item",
2008
- style: X(a(m, A)),
2009
- "data-xine": L($).point + A
2008
+ style: Z(a(m, D)),
2009
+ "data-xine": L($).point + D
2010
2010
  }, null, 12, ko)), 64))
2011
2011
  ], 64))), 128)),
2012
- (r(), h(O, null, le(["l", "r"], (m) => k("span", {
2012
+ (r(), h(R, null, se(["l", "r"], (m) => k("span", {
2013
2013
  key: m,
2014
2014
  class: "absolute bg-black h-8",
2015
- style: X(n(m)),
2015
+ style: Z(n(m)),
2016
2016
  "data-xine": L($).point + m
2017
2017
  }, null, 12, xo)), 64)),
2018
2018
  k("p", {
2019
2019
  class: "absolute leading-none text-0",
2020
- style: X(i()),
2020
+ style: Z(i()),
2021
2021
  "data-xine": L($).page
2022
2022
  }, [
2023
- (r(!0), h(O, null, le(c.currentPage + 1, (m, A) => (r(), h("span", {
2023
+ (r(!0), h(R, null, se(c.currentPage + 1, (m, D) => (r(), h("span", {
2024
2024
  key: m,
2025
2025
  class: "inline-block bg-black mx-2 page_item",
2026
- "data-xine": L($).page_item + A
2026
+ "data-xine": L($).page_item + D
2027
2027
  }, null, 8, So))), 128))
2028
2028
  ], 12, Co),
2029
- c.currentPage % 2 ? B("", !0) : (r(), h("span", {
2029
+ c.currentPage % 2 ? N("", !0) : (r(), h("span", {
2030
2030
  key: 0,
2031
2031
  class: "absolute top-3/4 translate-x-1/2 rotate-90 text-sm red_sheet",
2032
- style: X({ right: `${c.padding.right - 12}px` })
2033
- }, "提示:本卷" + te((s = L(qe).find((m) => m.code === c.layout.paper)) == null ? void 0 : s.name) + "纸张", 5)),
2032
+ style: Z({ right: `${c.padding.right - 12}px` })
2033
+ }, "提示:本卷" + oe((s = L(qe).find((m) => m.code === c.layout.paper)) == null ? void 0 : s.name) + "纸张", 5)),
2034
2034
  k("span", {
2035
2035
  class: "absolute text-sm red_sheet",
2036
- style: X({ right: `${c.padding.bottom - 20 + 75}px`, bottom: `${c.padding.bottom - 20 - 3}px` })
2037
- }, te(c.currentPage + 1) + "/" + te(c.totalPage), 5)
2036
+ style: Z({ right: `${c.padding.bottom - 20 + 75}px`, bottom: `${c.padding.bottom - 20 - 3}px` })
2037
+ }, oe(c.currentPage + 1) + "/" + oe(c.totalPage), 5)
2038
2038
  ], 64);
2039
2039
  };
2040
2040
  }
@@ -2047,7 +2047,7 @@ const me = (e, t) => {
2047
2047
  }, Io = /* @__PURE__ */ me(To, [["__scopeId", "data-v-2c1c50bb"]]), $o = { class: "flex-1" }, Lo = ["type", "placeholder", "maxlength", "value"], Fo = {
2048
2048
  key: 0,
2049
2049
  class: "flex-shrink-0 ml-2 text-text3"
2050
- }, st = /* @__PURE__ */ ne({
2050
+ }, st = /* @__PURE__ */ ie({
2051
2051
  __name: "index",
2052
2052
  props: {
2053
2053
  value: { default: "" },
@@ -2062,7 +2062,7 @@ const me = (e, t) => {
2062
2062
  },
2063
2063
  emits: ["change", "input", "focus", "blur"],
2064
2064
  setup(e, { emit: t }) {
2065
- const o = e, l = V(o.value), i = V(!1);
2065
+ const o = e, l = X(o.value), i = X(!1);
2066
2066
  De(() => o.value, () => {
2067
2067
  l.value = o.value;
2068
2068
  });
@@ -2078,11 +2078,11 @@ const me = (e, t) => {
2078
2078
  t("blur", o.type === "number" ? parseFloat(`${l.value}`) : l.value), i.value = !1;
2079
2079
  };
2080
2080
  return (s, m) => (r(), h("div", {
2081
- class: oe(["flex-1 flex items-center border rounded-lg", s.autoLine ? i.value ? "border-gray4" : "border-transparent" : "border-gray4", s.size === "small" && "p-1", s.size === "stand" && "p-2", s.size === "large" && "p-2"])
2081
+ class: le(["flex-1 flex items-center border rounded-lg", s.autoLine ? i.value ? "border-gray4" : "border-transparent" : "border-gray4", s.size === "small" && "p-1", s.size === "stand" && "p-2", s.size === "large" && "p-2"])
2082
2082
  }, [
2083
2083
  k("div", $o, [
2084
2084
  k("input", {
2085
- class: oe(["w-full", s.dir === "center" && "text-center", s.dir === "right" && "text-right"]),
2085
+ class: le(["w-full", s.dir === "center" && "text-center", s.dir === "right" && "text-right"]),
2086
2086
  type: s.type,
2087
2087
  placeholder: s.placeholder,
2088
2088
  maxlength: s.maxLength,
@@ -2093,10 +2093,10 @@ const me = (e, t) => {
2093
2093
  onBlur: y
2094
2094
  }, null, 42, Lo)
2095
2095
  ]),
2096
- s.unit ? (r(), h("span", Fo, te(s.unit), 1)) : B("", !0)
2096
+ s.unit ? (r(), h("span", Fo, oe(s.unit), 1)) : N("", !0)
2097
2097
  ], 2));
2098
2098
  }
2099
- }), Eo = /* @__PURE__ */ ne({
2099
+ }), Eo = /* @__PURE__ */ ie({
2100
2100
  __name: "slogan",
2101
2101
  props: {
2102
2102
  info: {},
@@ -2104,11 +2104,11 @@ const me = (e, t) => {
2104
2104
  },
2105
2105
  emits: ["change"],
2106
2106
  setup(e, { emit: t }) {
2107
- const o = e, l = W(() => yt[o.layout.mode][o.layout.paper]), i = W(() => ({
2107
+ const o = e, l = G(() => yt[o.layout.mode][o.layout.paper]), i = G(() => ({
2108
2108
  right: `${l.value.right + 97}px`,
2109
2109
  bottom: `${l.value.bottom - 25}px`
2110
2110
  }));
2111
- return (a, n) => (r(), ee(st, {
2111
+ return (a, n) => (r(), te(st, {
2112
2112
  class: "absolute w-72 text-sm",
2113
2113
  value: a.info.slogan,
2114
2114
  maxLength: 12,
@@ -2116,11 +2116,11 @@ const me = (e, t) => {
2116
2116
  size: "small",
2117
2117
  autoLine: "",
2118
2118
  dir: "right",
2119
- style: X(i.value),
2119
+ style: Z(i.value),
2120
2120
  onChange: n[0] || (n[0] = (c) => t("change", { slogan: c }))
2121
2121
  }, null, 8, ["value", "style"]));
2122
2122
  }
2123
- }), Po = ["width", "height"], Mo = ["xlink:href"], Ao = /* @__PURE__ */ ne({
2123
+ }), Po = ["width", "height"], Mo = ["xlink:href"], Ao = /* @__PURE__ */ ie({
2124
2124
  __name: "index",
2125
2125
  props: {
2126
2126
  width: { default: 1.5 },
@@ -2129,7 +2129,7 @@ const me = (e, t) => {
2129
2129
  },
2130
2130
  emits: ["click"],
2131
2131
  setup(e, { emit: t }) {
2132
- const o = e, l = W(() => `#icon-${o.name}`);
2132
+ const o = e, l = G(() => `#icon-${o.name}`);
2133
2133
  return (i, a) => (r(), h("span", {
2134
2134
  class: "cursor-pointer inline-block p-2 rounded-full transition-all leading-none font-0",
2135
2135
  onClick: a[0] || (a[0] = (n) => t("click"))
@@ -2143,10 +2143,10 @@ const me = (e, t) => {
2143
2143
  ]));
2144
2144
  }
2145
2145
  });
2146
- const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { class: "flex items-center text-black text-sm h-6 mb-2" }, Bo = {
2146
+ const we = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { class: "flex items-center text-black text-sm h-6 mb-2" }, Bo = {
2147
2147
  key: 0,
2148
2148
  class: "flex items-center"
2149
- }, No = { class: "px-2 ml-2 border leading-none" }, Oo = /* @__PURE__ */ ne({
2149
+ }, No = { class: "px-2 ml-2 border leading-none" }, Oo = /* @__PURE__ */ ie({
2150
2150
  __name: "secrecy",
2151
2151
  props: {
2152
2152
  layout: {},
@@ -2156,17 +2156,17 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2156
2156
  return (t, o) => (r(), h("div", Do, [
2157
2157
  t.layout.secrecyFlag ? (r(), h("p", Bo, [
2158
2158
  et("绝密"),
2159
- ae(ve, {
2159
+ ne(we, {
2160
2160
  name: "fiveArrow",
2161
2161
  width: 1.4,
2162
2162
  class: "px-0 py-0"
2163
2163
  }),
2164
2164
  et("启用前")
2165
- ])) : B("", !0),
2166
- k("p", No, "ID:" + te(t.code), 1)
2165
+ ])) : N("", !0),
2166
+ k("p", No, "ID:" + oe(t.code), 1)
2167
2167
  ]));
2168
2168
  }
2169
- }), zo = ["innerHTML"], Re = /* @__PURE__ */ ne({
2169
+ }), zo = ["innerHTML"], Re = /* @__PURE__ */ ie({
2170
2170
  __name: "index",
2171
2171
  props: {
2172
2172
  value: {},
@@ -2184,7 +2184,7 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2184
2184
  onBlur: l
2185
2185
  }, null, 40, zo));
2186
2186
  }
2187
- }), Ro = { class: "flex w-full" }, Ho = ["src", "data-xine"], Wo = { class: "flex-1 mx-4" }, Go = { class: "flex items-center justify-center flex-wrap" }, qo = {
2187
+ }), Ro = { class: "flex w-full" }, Ho = ["src", "data-xine"], Go = { class: "flex-1 mx-4" }, Wo = { class: "flex items-center justify-center flex-wrap" }, qo = {
2188
2188
  key: 0,
2189
2189
  class: "flex mx-4 min-w-[70px]"
2190
2190
  }, Qo = /* @__PURE__ */ k("span", { class: "flex-shrink-0" }, "范围:", -1), Yo = {
@@ -2193,13 +2193,13 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2193
2193
  }, Ko = /* @__PURE__ */ k("span", { class: "flex-shrink-0" }, "时间:", -1), Uo = /* @__PURE__ */ k("span", null, "分钟", -1), Vo = {
2194
2194
  key: 2,
2195
2195
  class: "flex mx-4 min-w-[80px]"
2196
- }, jo = /* @__PURE__ */ k("span", { class: "flex-shrink-0" }, "命题人:", -1), Xo = {
2196
+ }, Xo = /* @__PURE__ */ k("span", { class: "flex-shrink-0" }, "命题人:", -1), Jo = {
2197
2197
  key: 3,
2198
2198
  class: "flex mx-4 min-w-[80px]"
2199
- }, Jo = /* @__PURE__ */ k("span", { class: "flex-shrink-0" }, "审核人:", -1), Zo = {
2199
+ }, Zo = /* @__PURE__ */ k("span", { class: "flex-shrink-0" }, "审核人:", -1), jo = {
2200
2200
  key: 4,
2201
2201
  class: "flex items-center mx-4"
2202
- }, ea = /* @__PURE__ */ k("span", null, "总", -1), ta = { key: 1 }, oa = { key: 3 }, aa = { key: 1 }, la = { key: 3 }, na = /* @__PURE__ */ k("span", null, ")", -1), sa = { key: 1 }, ia = /* @__PURE__ */ ne({
2202
+ }, ea = /* @__PURE__ */ k("span", null, "总", -1), ta = { key: 1 }, oa = { key: 3 }, aa = { key: 1 }, la = { key: 3 }, na = /* @__PURE__ */ k("span", null, ")", -1), sa = { key: 1 }, ia = /* @__PURE__ */ ie({
2203
2203
  __name: "title",
2204
2204
  props: {
2205
2205
  info: {},
@@ -2209,7 +2209,7 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2209
2209
  },
2210
2210
  emits: ["change"],
2211
2211
  setup(e, { emit: t }) {
2212
- const o = e, l = W(() => o.data.filter((n) => ![Ce.another, Ce.another_choice].includes(n.problemType)).map((n) => n.totalScore || 0).reduce((n, c) => n + c, 0)), i = W(() => o.data.filter((n) => [Ce.another, Ce.another_choice].includes(n.problemType)).map((n) => n.totalScore || 0).reduce((n, c) => n + c, 0)), a = W(() => o.layout.scoreAddStars === nt.star.code ? o.layout.minusFlag ? "fiveArrowLine" : "fiveArrow" : "");
2212
+ const o = e, l = G(() => o.data.filter((n) => ![Se.another, Se.another_choice].includes(n.problemType)).map((n) => n.totalScore || 0).reduce((n, c) => n + c, 0)), i = G(() => o.data.filter((n) => [Se.another, Se.another_choice].includes(n.problemType)).map((n) => n.totalScore || 0).reduce((n, c) => n + c, 0)), a = G(() => o.layout.scoreAddStars === nt.star.code ? o.layout.minusFlag ? "fiveArrowLine" : "fiveArrow" : "");
2213
2213
  return (n, c) => (r(), h("div", Ro, [
2214
2214
  k("img", {
2215
2215
  src: n.info.qrCode,
@@ -2217,32 +2217,32 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2217
2217
  class: "flex-shrink-0 w-28 h-28",
2218
2218
  "data-xine": L($).art_code
2219
2219
  }, null, 8, Ho),
2220
- k("div", Wo, [
2221
- ae(Re, {
2220
+ k("div", Go, [
2221
+ ne(Re, {
2222
2222
  class: "w-full text-center border-2 border-transparent focus:border-current",
2223
2223
  value: n.info.title,
2224
- style: X(n.fontConfig.titleStyle),
2224
+ style: Z(n.fontConfig.titleStyle),
2225
2225
  onChange: c[0] || (c[0] = (y) => t("change", { title: y }))
2226
2226
  }, null, 8, ["value", "style"]),
2227
- n.layout.secTitleFlag ? (r(), ee(Re, {
2227
+ n.layout.secTitleFlag ? (r(), te(Re, {
2228
2228
  key: 0,
2229
2229
  class: "w-full text-center border-2 border-transparent focus:border-current",
2230
2230
  value: n.info.secTitle,
2231
- style: X(n.fontConfig.halfTitleStyle),
2231
+ style: Z(n.fontConfig.halfTitleStyle),
2232
2232
  onChange: c[1] || (c[1] = (y) => t("change", { secTitle: y }))
2233
- }, null, 8, ["value", "style"])) : B("", !0),
2234
- k("div", Go, [
2233
+ }, null, 8, ["value", "style"])) : N("", !0),
2234
+ k("div", Wo, [
2235
2235
  n.layout.examExtentFlag ? (r(), h("p", qo, [
2236
2236
  Qo,
2237
- ae(Re, {
2237
+ ne(Re, {
2238
2238
  class: "flex-1",
2239
2239
  value: n.info.extent,
2240
2240
  onChange: c[2] || (c[2] = (y) => t("change", { extent: y }))
2241
2241
  }, null, 8, ["value"])
2242
- ])) : B("", !0),
2242
+ ])) : N("", !0),
2243
2243
  n.layout.examTimeFlag ? (r(), h("p", Yo, [
2244
2244
  Ko,
2245
- ae(st, {
2245
+ ne(st, {
2246
2246
  value: n.info.time,
2247
2247
  class: "text-center",
2248
2248
  type: "number",
@@ -2252,65 +2252,65 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2252
2252
  onChange: c[3] || (c[3] = (y) => t("change", { time: y }))
2253
2253
  }, null, 8, ["value"]),
2254
2254
  Uo
2255
- ])) : B("", !0),
2255
+ ])) : N("", !0),
2256
2256
  n.layout.authorFlag ? (r(), h("p", Vo, [
2257
- jo,
2258
- ae(Re, {
2257
+ Xo,
2258
+ ne(Re, {
2259
2259
  class: "flex-1",
2260
2260
  value: n.info.author,
2261
2261
  onChange: c[4] || (c[4] = (y) => t("change", { author: y }))
2262
2262
  }, null, 8, ["value"])
2263
- ])) : B("", !0),
2264
- n.layout.reviewerFlag ? (r(), h("p", Xo, [
2265
- Jo,
2266
- ae(Re, {
2263
+ ])) : N("", !0),
2264
+ n.layout.reviewerFlag ? (r(), h("p", Jo, [
2265
+ Zo,
2266
+ ne(Re, {
2267
2267
  class: "flex-1",
2268
2268
  value: n.info.reviewer,
2269
2269
  onChange: c[5] || (c[5] = (y) => t("change", { reviewer: y }))
2270
2270
  }, null, 8, ["value"])
2271
- ])) : B("", !0),
2272
- n.layout.totalScoreFlag ? (r(), h("p", Zo, [
2271
+ ])) : N("", !0),
2272
+ n.layout.totalScoreFlag ? (r(), h("p", jo, [
2273
2273
  ea,
2274
- a.value ? (r(), ee(ve, {
2274
+ a.value ? (r(), te(we, {
2275
2275
  key: 0,
2276
2276
  name: a.value,
2277
2277
  class: "p-0 -translate-y-[1px]"
2278
2278
  }, null, 8, ["name"])) : (r(), h("span", ta, "分")),
2279
- k("span", null, ":" + te(l.value + (n.layout.writeScoreFlag ? n.info.writeScore : 0)), 1),
2280
- a.value ? (r(), ee(ve, {
2279
+ k("span", null, ":" + oe(l.value + (n.layout.writeScoreFlag ? n.info.writeScore : 0)), 1),
2280
+ a.value ? (r(), te(we, {
2281
2281
  key: 2,
2282
2282
  name: a.value,
2283
2283
  class: "p-0 -translate-y-[1px]"
2284
2284
  }, null, 8, ["name"])) : (r(), h("span", oa, "分")),
2285
- n.layout.writeScoreFlag ? (r(), h(O, { key: 4 }, [
2286
- k("span", null, "(试题" + te(l.value), 1),
2287
- a.value ? (r(), ee(ve, {
2285
+ n.layout.writeScoreFlag ? (r(), h(R, { key: 4 }, [
2286
+ k("span", null, "(试题" + oe(l.value), 1),
2287
+ a.value ? (r(), te(we, {
2288
2288
  key: 0,
2289
2289
  name: a.value,
2290
2290
  class: "p-0 -translate-y-[1px]"
2291
2291
  }, null, 8, ["name"])) : (r(), h("span", aa, "分")),
2292
- k("span", null, "+卷面" + te(n.info.writeScore || 0), 1),
2293
- a.value ? (r(), ee(ve, {
2292
+ k("span", null, "+卷面" + oe(n.info.writeScore || 0), 1),
2293
+ a.value ? (r(), te(we, {
2294
2294
  key: 2,
2295
2295
  name: a.value,
2296
2296
  class: "p-0 -translate-y-[1px]"
2297
2297
  }, null, 8, ["name"])) : (r(), h("span", la, "分")),
2298
2298
  na
2299
- ], 64)) : B("", !0),
2300
- i.value ? (r(), h(O, { key: 5 }, [
2301
- k("span", null, ";附加题:" + te(i.value), 1),
2302
- a.value ? (r(), ee(ve, {
2299
+ ], 64)) : N("", !0),
2300
+ i.value ? (r(), h(R, { key: 5 }, [
2301
+ k("span", null, ";附加题:" + oe(i.value), 1),
2302
+ a.value ? (r(), te(we, {
2303
2303
  key: 0,
2304
2304
  name: a.value,
2305
2305
  class: "p-0 -translate-y-[1px]"
2306
2306
  }, null, 8, ["name"])) : (r(), h("span", sa, "分"))
2307
- ], 64)) : B("", !0)
2308
- ])) : B("", !0)
2307
+ ], 64)) : N("", !0)
2308
+ ])) : N("", !0)
2309
2309
  ])
2310
2310
  ])
2311
2311
  ]));
2312
2312
  }
2313
- }), St = /* @__PURE__ */ ne({
2313
+ }), St = /* @__PURE__ */ ie({
2314
2314
  __name: "examInfoNone",
2315
2315
  props: {
2316
2316
  extent: {},
@@ -2320,13 +2320,13 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2320
2320
  setup(e, { emit: t }) {
2321
2321
  const o = ["examNumField", "examRoomField", "scoreField"];
2322
2322
  return (l, i) => (r(), h("ul", {
2323
- class: oe(["flex", l.isRow ? "w-full" : "flex-1 flex-col mr-2"])
2323
+ class: le(["flex", l.isRow ? "w-full" : "flex-1 flex-col mr-2"])
2324
2324
  }, [
2325
- (r(), h(O, null, le(o, (a, n) => k("li", {
2325
+ (r(), h(R, null, se(o, (a, n) => k("li", {
2326
2326
  key: a,
2327
- class: oe(["flex flex-1 min-w-[12rem]", l.isRow && n && "ml-2"])
2327
+ class: le(["flex flex-1 min-w-[12rem]", l.isRow && n && "ml-2"])
2328
2328
  }, [
2329
- ae(st, {
2329
+ ne(st, {
2330
2330
  value: l.extent[a],
2331
2331
  class: "px-0",
2332
2332
  placeholder: "",
@@ -2337,7 +2337,7 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2337
2337
  ], 2)), 64))
2338
2338
  ], 2));
2339
2339
  }
2340
- }), ra = ["data-xine"], ca = { class: "flex items-center" }, da = ["data-xine"], ua = ["data-xine"], ha = ["data-xine"], pa = /* @__PURE__ */ ne({
2340
+ }), ra = ["data-xine"], ca = { class: "flex items-center" }, da = ["data-xine"], ua = ["data-xine"], ha = ["data-xine"], pa = /* @__PURE__ */ ie({
2341
2341
  __name: "examInfoSeat",
2342
2342
  setup(e) {
2343
2343
  return (t, o) => (r(), h("div", {
@@ -2345,7 +2345,7 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2345
2345
  "data-xine": L($).en_num_view
2346
2346
  }, [
2347
2347
  k("p", ca, [
2348
- ae(ve, {
2348
+ ne(we, {
2349
2349
  class: "pt-1",
2350
2350
  name: "fiveArrow"
2351
2351
  }),
@@ -2355,22 +2355,22 @@ const ve = /* @__PURE__ */ me(Ao, [["__scopeId", "data-v-ed2907dd"]]), Do = { cl
2355
2355
  class: "flex-1 flex flex-col",
2356
2356
  "data-xine": L($).en_num
2357
2357
  }, [
2358
- (r(), h(O, null, le(3, (l, i) => k("p", {
2358
+ (r(), h(R, null, se(3, (l, i) => k("p", {
2359
2359
  key: l,
2360
2360
  class: "flex-1 flex items-center text-0 px-1 border-t",
2361
2361
  "data-xine": L($).en_num_group
2362
2362
  }, [
2363
- (r(), h(O, null, le(10, (a) => k("span", {
2363
+ (r(), h(R, null, se(10, (a) => k("span", {
2364
2364
  key: a,
2365
2365
  class: "flex items-center justify-between flex-nowrap item",
2366
2366
  "data-xine": L($).en_num_item
2367
- }, te(a - 1), 9, ha)), 64))
2367
+ }, oe(a - 1), 9, ha)), 64))
2368
2368
  ], 8, ua)), 64))
2369
2369
  ], 8, da)
2370
2370
  ], 8, ra));
2371
2371
  }
2372
2372
  });
2373
- const ma = /* @__PURE__ */ me(pa, [["__scopeId", "data-v-91b25fab"]]), ya = ["data-xine"], _a = { class: "flex items-center border-r tracking-[5px] text_dir" }, fa = ["data-xine"], ga = ["data-xine"], ba = ["data-xine"], va = /* @__PURE__ */ ne({
2373
+ const ma = /* @__PURE__ */ me(pa, [["__scopeId", "data-v-91b25fab"]]), ya = ["data-xine"], _a = { class: "flex items-center border-r tracking-[5px] text_dir" }, fa = ["data-xine"], ga = ["data-xine"], ba = ["data-xine"], va = /* @__PURE__ */ ie({
2374
2374
  __name: "examInfoShort",
2375
2375
  setup(e) {
2376
2376
  return (t, o) => (r(), h("div", {
@@ -2378,7 +2378,7 @@ const ma = /* @__PURE__ */ me(pa, [["__scopeId", "data-v-91b25fab"]]), ya = ["da
2378
2378
  "data-xine": L($).en_num_view
2379
2379
  }, [
2380
2380
  k("p", _a, [
2381
- ae(ve, {
2381
+ ne(we, {
2382
2382
  class: "px-1 pt-1",
2383
2383
  name: "fiveArrow"
2384
2384
  }),
@@ -2388,22 +2388,22 @@ const ma = /* @__PURE__ */ me(pa, [["__scopeId", "data-v-91b25fab"]]), ya = ["da
2388
2388
  class: "flex-1 flex flex-col",
2389
2389
  "data-xine": L($).en_num
2390
2390
  }, [
2391
- (r(), h(O, null, le(4, (l, i) => k("p", {
2391
+ (r(), h(R, null, se(4, (l, i) => k("p", {
2392
2392
  key: l,
2393
- class: oe(["flex-1 flex items-center text-0 px-1", i && "border-t"]),
2393
+ class: le(["flex-1 flex items-center text-0 px-1", i && "border-t"]),
2394
2394
  "data-xine": L($).en_num_group
2395
2395
  }, [
2396
- (r(), h(O, null, le(10, (a) => k("span", {
2396
+ (r(), h(R, null, se(10, (a) => k("span", {
2397
2397
  key: a,
2398
2398
  class: "flex items-center justify-between flex-nowrap item",
2399
2399
  "data-xine": L($).en_num_item
2400
- }, te(a - 1), 9, ba)), 64))
2400
+ }, oe(a - 1), 9, ba)), 64))
2401
2401
  ], 10, ga)), 64))
2402
2402
  ], 8, fa)
2403
2403
  ], 8, ya));
2404
2404
  }
2405
2405
  });
2406
- const Nt = /* @__PURE__ */ me(va, [["__scopeId", "data-v-96e8d41d"]]), wa = /* @__PURE__ */ ne({
2406
+ const Nt = /* @__PURE__ */ me(va, [["__scopeId", "data-v-96e8d41d"]]), wa = /* @__PURE__ */ ie({
2407
2407
  __name: "examInfoBase",
2408
2408
  props: {
2409
2409
  extent: {},
@@ -2413,13 +2413,13 @@ const Nt = /* @__PURE__ */ me(va, [["__scopeId", "data-v-96e8d41d"]]), wa = /* @
2413
2413
  setup(e, { emit: t }) {
2414
2414
  const o = ["nameField", "classField", "seatField"];
2415
2415
  return (l, i) => (r(), h("ul", {
2416
- class: oe(["flex", l.isRow ? "w-full items-center" : "flex-1 flex-col mr-2 max-w-[33%]"])
2416
+ class: le(["flex", l.isRow ? "w-full items-center" : "flex-1 flex-col mr-2 max-w-[33%]"])
2417
2417
  }, [
2418
- (r(), h(O, null, le(o, (a, n) => k("li", {
2418
+ (r(), h(R, null, se(o, (a, n) => k("li", {
2419
2419
  key: a,
2420
- class: oe(["flex flex-1", l.isRow && n && "ml-2"])
2420
+ class: le(["flex flex-1", l.isRow && n && "ml-2"])
2421
2421
  }, [
2422
- ae(st, {
2422
+ ne(st, {
2423
2423
  value: l.extent[a],
2424
2424
  class: "px-0",
2425
2425
  placeholder: "",
@@ -2432,7 +2432,7 @@ const Nt = /* @__PURE__ */ me(va, [["__scopeId", "data-v-96e8d41d"]]), wa = /* @
2432
2432
  }
2433
2433
  }), ka = (e) => (Ye("data-v-4d37cd56"), e = e(), Ke(), e), xa = ["data-xine"], Ca = /* @__PURE__ */ ka(() => /* @__PURE__ */ k("span", { class: "font-bold tips" }, "贴条码区域", -1)), Sa = [
2434
2434
  Ca
2435
- ], Ta = /* @__PURE__ */ ne({
2435
+ ], Ta = /* @__PURE__ */ ie({
2436
2436
  __name: "examInfo",
2437
2437
  props: {
2438
2438
  layout: {},
@@ -2441,33 +2441,33 @@ const Nt = /* @__PURE__ */ me(va, [["__scopeId", "data-v-96e8d41d"]]), wa = /* @
2441
2441
  },
2442
2442
  emits: ["change"],
2443
2443
  setup(e, { emit: t }) {
2444
- const o = e, l = W(() => o.layout.seatType === Se.none || !o.layout.seatBar), i = W(() => o.layout.column >= 3 && l.value), a = W(() => o.layout.column >= 3 && o.layout.seatType !== Se.none && o.layout.seatBar);
2445
- return (n, c) => n.isBindFlag ? B("", !0) : (r(), h("div", {
2444
+ const o = e, l = G(() => o.layout.seatType === Te.none || !o.layout.seatBar), i = G(() => o.layout.column >= 3 && l.value), a = G(() => o.layout.column >= 3 && o.layout.seatType !== Te.none && o.layout.seatBar);
2445
+ return (n, c) => n.isBindFlag ? N("", !0) : (r(), h("div", {
2446
2446
  key: 0,
2447
- class: oe(["flex justify-between", (a.value || i.value) && "flex-wrap"])
2447
+ class: le(["flex justify-between", (a.value || i.value) && "flex-wrap"])
2448
2448
  }, [
2449
- i.value ? (r(), ee(St, {
2449
+ i.value ? (r(), te(St, {
2450
2450
  key: 0,
2451
2451
  isRow: "",
2452
2452
  extent: n.info.extentInfo,
2453
2453
  onChange: c[0] || (c[0] = (y) => t("change", y))
2454
- }, null, 8, ["extent"])) : B("", !0),
2455
- ae(wa, {
2454
+ }, null, 8, ["extent"])) : N("", !0),
2455
+ ne(wa, {
2456
2456
  isRow: a.value,
2457
2457
  extent: n.info.extentInfo,
2458
2458
  onChange: c[1] || (c[1] = (y) => t("change", y))
2459
2459
  }, null, 8, ["isRow", "extent"]),
2460
- !i.value && l.value ? (r(), ee(St, {
2460
+ !i.value && l.value ? (r(), te(St, {
2461
2461
  key: 1,
2462
2462
  extent: n.info.extentInfo,
2463
2463
  onChange: c[2] || (c[2] = (y) => t("change", y))
2464
- }, null, 8, ["extent"])) : B("", !0),
2465
- n.layout.seatType === L(Se).seat ? (r(), ee(ma, { key: 2 })) : n.layout.seatType === L(Se).shortId ? (r(), ee(Nt, { key: 3 })) : B("", !0),
2464
+ }, null, 8, ["extent"])) : N("", !0),
2465
+ n.layout.seatType === L(Te).seat ? (r(), te(ma, { key: 2 })) : n.layout.seatType === L(Te).shortId ? (r(), te(Nt, { key: 3 })) : N("", !0),
2466
2466
  n.layout.seatBar ? (r(), h("div", {
2467
2467
  key: 4,
2468
2468
  class: "flex items-center justify-center flex-col flex-1 min-h-[9rem] ml-4 border border-dashed",
2469
2469
  "data-xine": L($).en_code
2470
- }, Sa, 8, xa)) : B("", !0)
2470
+ }, Sa, 8, xa)) : N("", !0)
2471
2471
  ], 2));
2472
2472
  }
2473
2473
  });
@@ -2480,18 +2480,18 @@ const Ia = /* @__PURE__ */ me(Ta, [["__scopeId", "data-v-4d37cd56"]]), ze = (e)
2480
2480
  ], Oa = /* @__PURE__ */ ze(() => /* @__PURE__ */ k("p", { class: "flex items-center border-l px-2 py-1" }, [
2481
2481
  /* @__PURE__ */ k("span", null, "正确填涂示例"),
2482
2482
  /* @__PURE__ */ k("span", { class: "w-8 bg-black ml-2 block_tips" })
2483
- ], -1)), za = /* @__PURE__ */ ze(() => /* @__PURE__ */ k("div", { class: "h-2" }, null, -1)), Ra = /* @__PURE__ */ ne({
2483
+ ], -1)), za = /* @__PURE__ */ ze(() => /* @__PURE__ */ k("div", { class: "h-2" }, null, -1)), Ra = /* @__PURE__ */ ie({
2484
2484
  __name: "notice",
2485
2485
  props: {
2486
2486
  layout: {},
2487
2487
  isBindFlag: { type: Boolean }
2488
2488
  },
2489
2489
  setup(e) {
2490
- const t = e, o = W(() => {
2490
+ const t = e, o = G(() => {
2491
2491
  const l = {
2492
- [Se.none]: "",
2493
- [Se.seat]: "座位号或",
2494
- [Se.shortId]: "短学号或"
2492
+ [Te.none]: "",
2493
+ [Te.seat]: "座位号或",
2494
+ [Te.shortId]: "短学号或"
2495
2495
  };
2496
2496
  return [
2497
2497
  `1.答题前,考生先将自己的基本信息填写清楚,并认真核对${t.isBindFlag ? "" : l[t.layout.seatType]}条形码上的信息;`,
@@ -2500,24 +2500,24 @@ const Ia = /* @__PURE__ */ me(Ta, [["__scopeId", "data-v-4d37cd56"]]), ze = (e)
2500
2500
  "4.请勿折叠试卷。保持字体工整、笔记清晰、卡面整洁。"
2501
2501
  ];
2502
2502
  });
2503
- return (l, i) => (r(), h(O, null, [
2503
+ return (l, i) => (r(), h(R, null, [
2504
2504
  l.layout.noteFlag ? (r(), h("div", $a, [
2505
2505
  La,
2506
2506
  k("div", Fa, [
2507
- (r(!0), h(O, null, le(o.value, (a) => (r(), h("p", {
2507
+ (r(!0), h(R, null, se(o.value, (a) => (r(), h("p", {
2508
2508
  key: a,
2509
2509
  class: "px-2 origin-left scale-75 tip_item"
2510
- }, te(a), 1))), 128))
2510
+ }, oe(a), 1))), 128))
2511
2511
  ])
2512
- ])) : B("", !0),
2512
+ ])) : N("", !0),
2513
2513
  l.layout.lackFlag ? (r(), h("div", {
2514
2514
  key: 1,
2515
- class: oe(["flex border text-sm red_sheet", l.layout.noteFlag ? "border-t-0" : "mt-2"])
2515
+ class: le(["flex border text-sm red_sheet", l.layout.noteFlag ? "border-t-0" : "mt-2"])
2516
2516
  }, [
2517
2517
  k("p", Ea, [
2518
2518
  Pa,
2519
2519
  k("span", Ma, [
2520
- ae(ve, { name: "rightArrow" }),
2520
+ ne(we, { name: "rightArrow" }),
2521
2521
  k("span", {
2522
2522
  class: "flex items-center leading-4",
2523
2523
  "data-xine": L($).lack
@@ -2525,12 +2525,12 @@ const Ia = /* @__PURE__ */ me(Ta, [["__scopeId", "data-v-4d37cd56"]]), ze = (e)
2525
2525
  ])
2526
2526
  ]),
2527
2527
  Oa
2528
- ], 2)) : B("", !0),
2528
+ ], 2)) : N("", !0),
2529
2529
  za
2530
2530
  ], 64));
2531
2531
  }
2532
2532
  });
2533
- const Ha = /* @__PURE__ */ me(Ra, [["__scopeId", "data-v-936c144e"]]), ut = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), Wa = (e, t = "", o = !0, l = "children") => {
2533
+ const Ha = /* @__PURE__ */ me(Ra, [["__scopeId", "data-v-936c144e"]]), ut = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), Ga = (e, t = "", o = !0, l = "children") => {
2534
2534
  let i = [];
2535
2535
  const a = (n) => {
2536
2536
  (n[l] || []).length ? (o && i.push(t ? n[t] : n[l]), n[l].forEach((c) => a(c))) : i.push(t ? n[t] : n);
@@ -2549,7 +2549,7 @@ function Ot(e) {
2549
2549
  function Tt(e) {
2550
2550
  return window.btoa(`${e || ""}${Math.random().toString(32).substr(2)}${Date.now()}`);
2551
2551
  }
2552
- const Ga = {
2552
+ const Wa = {
2553
2553
  key: 0,
2554
2554
  class: "flex border mb-2 text-center leading-loose red_sheet"
2555
2555
  }, qa = /* @__PURE__ */ k("li", { class: "flex-1 flex flex-col" }, [
@@ -2558,27 +2558,27 @@ const Ga = {
2558
2558
  ], -1), Qa = { class: "flex-1" }, Ya = /* @__PURE__ */ k("p", { class: "flex-1 border-t" }, null, -1), Ka = /* @__PURE__ */ k("li", { class: "flex-1 flex flex-col border-l" }, [
2559
2559
  /* @__PURE__ */ k("p", { class: "flex-1" }, "总分"),
2560
2560
  /* @__PURE__ */ k("p", { class: "flex-1 border-t" })
2561
- ], -1), Ua = /* @__PURE__ */ ne({
2561
+ ], -1), Ua = /* @__PURE__ */ ie({
2562
2562
  __name: "scoreTable",
2563
2563
  props: {
2564
2564
  layout: {},
2565
2565
  data: {}
2566
2566
  },
2567
2567
  setup(e) {
2568
- const t = e, o = W(() => t.data.filter((l) => l.problemType));
2569
- return (l, i) => l.layout.scoreFlag ? (r(), h("ul", Ga, [
2568
+ const t = e, o = G(() => t.data.filter((l) => l.problemType));
2569
+ return (l, i) => l.layout.scoreFlag ? (r(), h("ul", Wa, [
2570
2570
  qa,
2571
- (r(!0), h(O, null, le(o.value, (a, n) => (r(), h("li", {
2571
+ (r(!0), h(R, null, se(o.value, (a, n) => (r(), h("li", {
2572
2572
  key: a.id,
2573
2573
  class: "flex-1 flex flex-col border-l"
2574
2574
  }, [
2575
- k("p", Qa, te(L(Ot)(n)), 1),
2575
+ k("p", Qa, oe(L(Ot)(n)), 1),
2576
2576
  Ya
2577
2577
  ]))), 128)),
2578
2578
  Ka
2579
- ])) : B("", !0);
2579
+ ])) : N("", !0);
2580
2580
  }
2581
- }), Va = /* @__PURE__ */ ne({
2581
+ }), Va = /* @__PURE__ */ ie({
2582
2582
  __name: "columnDom",
2583
2583
  props: {
2584
2584
  column: {},
@@ -2587,44 +2587,44 @@ const Ga = {
2587
2587
  styleInfo: {}
2588
2588
  },
2589
2589
  setup(e, { expose: t }) {
2590
- const o = e, l = V(), i = V();
2590
+ const o = e, l = X(), i = X();
2591
2591
  t({ col: l, colView: i });
2592
- const a = W(() => {
2593
- const { top: y, width: s, height: m, left: A } = o.styleInfo;
2592
+ const a = G(() => {
2593
+ const { top: y, width: s, height: m, left: D } = o.styleInfo;
2594
2594
  return {
2595
- top: `${parseFloat(y) - (o.currentColumn ? Le.top : 1)}px`,
2596
- left: `${parseFloat(A) - Le.left}px`,
2597
- width: `${parseFloat(s) + Le.left + Le.right}px`,
2598
- height: `${parseFloat(m) + (o.currentColumn ? Le.top : 0) + Le.bottom}px`
2595
+ top: `${parseFloat(y) - (o.currentColumn ? Fe.top : 1)}px`,
2596
+ left: `${parseFloat(D) - Fe.left}px`,
2597
+ width: `${parseFloat(s) + Fe.left + Fe.right}px`,
2598
+ height: `${parseFloat(m) + (o.currentColumn ? Fe.top : 0) + Fe.bottom}px`
2599
2599
  };
2600
- }), n = W(() => ({
2601
- left: `${Le.left - 1}px`,
2602
- top: `${Le.top - 1}px`,
2603
- bottom: `${Le.bottom - 1}px`,
2604
- right: `${Le.right - 1}px`
2605
- })), c = W(() => o.column < 3 || o.currentColumn % 3 === 1);
2606
- return (y, s) => (r(), h(O, null, [
2600
+ }), n = G(() => ({
2601
+ left: `${Fe.left - 1}px`,
2602
+ top: `${Fe.top - 1}px`,
2603
+ bottom: `${Fe.bottom - 1}px`,
2604
+ right: `${Fe.right - 1}px`
2605
+ })), c = G(() => o.column < 3 || o.currentColumn % 3 === 1);
2606
+ return (y, s) => (r(), h(R, null, [
2607
2607
  y.showColBorder ? (r(), h("div", {
2608
2608
  key: 0,
2609
- class: oe(["absolute border rounded-3xl pointer-events-none z-1 red_sheet", c.value && "tips"]),
2610
- style: X(a.value)
2609
+ class: le(["absolute border rounded-3xl pointer-events-none z-1 red_sheet", c.value && "tips"]),
2610
+ style: Z(a.value)
2611
2611
  }, [
2612
2612
  k("span", {
2613
2613
  class: "absolute border border-black",
2614
- style: X(n.value)
2614
+ style: Z(n.value)
2615
2615
  }, null, 4)
2616
- ], 6)) : B("", !0),
2616
+ ], 6)) : N("", !0),
2617
2617
  k("div", {
2618
2618
  class: "absolute overflow-hidden",
2619
2619
  ref_key: "colView",
2620
2620
  ref: i,
2621
- style: X(y.styleInfo)
2621
+ style: Z(y.styleInfo)
2622
2622
  }, [
2623
2623
  k("div", {
2624
2624
  ref_key: "col",
2625
2625
  ref: l,
2626
2626
  class: "overflow-hidden __col__",
2627
- style: X({ height: y.styleInfo.contentHeight })
2627
+ style: Z({ height: y.styleInfo.contentHeight })
2628
2628
  }, [
2629
2629
  mt(y.$slots, "default", {}, void 0, !0)
2630
2630
  ], 4)
@@ -2632,12 +2632,12 @@ const Ga = {
2632
2632
  ], 64));
2633
2633
  }
2634
2634
  });
2635
- const ja = /* @__PURE__ */ me(Va, [["__scopeId", "data-v-e102e805"]]), Xa = (e) => (Ye("data-v-01785ba3"), e = e(), Ke(), e), Ja = { class: "flex-1 flex items-center flex-wrap relative" }, Za = {
2635
+ const Xa = /* @__PURE__ */ me(Va, [["__scopeId", "data-v-e102e805"]]), Ja = (e) => (Ye("data-v-01785ba3"), e = e(), Ke(), e), Za = { class: "flex-1 flex items-center flex-wrap relative" }, ja = {
2636
2636
  key: 0,
2637
2637
  class: "flex-1 mr-4 mb-4 min-w-[30%] max-w-[35%]"
2638
- }, el = ["data-xine"], tl = /* @__PURE__ */ Xa(() => /* @__PURE__ */ k("span", null, "贴条码区域", -1)), ol = [
2638
+ }, el = ["data-xine"], tl = /* @__PURE__ */ Ja(() => /* @__PURE__ */ k("span", null, "贴条码区域", -1)), ol = [
2639
2639
  tl
2640
- ], al = ["data-xine"], ll = /* @__PURE__ */ ne({
2640
+ ], al = ["data-xine"], ll = /* @__PURE__ */ ie({
2641
2641
  __name: "bind",
2642
2642
  props: {
2643
2643
  currentPage: {},
@@ -2648,55 +2648,55 @@ const ja = /* @__PURE__ */ me(Va, [["__scopeId", "data-v-e102e805"]]), Xa = (e)
2648
2648
  bindInfo: {}
2649
2649
  },
2650
2650
  setup(e) {
2651
- const t = V();
2651
+ const t = X();
2652
2652
  return (o, l) => o.isBindFlag ? (r(), h("div", {
2653
2653
  key: 0,
2654
- style: X({ width: `${o.currentPage % 2 ? 0 : o.width}px`, height: `${o.height - 20}px` }),
2655
- class: oe([o.currentPage % 2 && "right_view"]),
2654
+ style: Z({ width: `${o.currentPage % 2 ? 0 : o.width}px`, height: `${o.height - 20}px` }),
2655
+ class: le([o.currentPage % 2 && "right_view"]),
2656
2656
  ref_key: "view",
2657
2657
  ref: t
2658
2658
  }, [
2659
2659
  o.currentPage % 2 ? (r(), h("div", {
2660
2660
  key: 0,
2661
2661
  class: "flex items-center justify-center origin-top-left border-b end_view",
2662
- style: X({ width: `${o.height - 20}px`, height: `${o.width}px` })
2662
+ style: Z({ width: `${o.height - 20}px`, height: `${o.width}px` })
2663
2663
  }, "当前位置为密封线位置,请勿在此处作答", 4)) : (r(), h("div", {
2664
2664
  key: 1,
2665
2665
  class: "relative flex items-end px-20 pb-6 border-b origin-top-right front_view",
2666
- style: X({ width: `${o.height - 20}px` })
2666
+ style: Z({ width: `${o.height - 20}px` })
2667
2667
  }, [
2668
- k("div", Ja, [
2669
- (r(!0), h(O, null, le(o.bindInfo, (i, a) => (r(), h(O, { key: i }, [
2670
- a === 2 && o.bindInfo.length === 5 ? (r(), h("span", Za)) : B("", !0),
2668
+ k("div", Za, [
2669
+ (r(!0), h(R, null, se(o.bindInfo, (i, a) => (r(), h(R, { key: i }, [
2670
+ a === 2 && o.bindInfo.length === 5 ? (r(), h("span", ja)) : N("", !0),
2671
2671
  k("span", {
2672
- class: oe(["flex-1 whitespace-nowrap w-20 mr-4 mt-8 overflow-hidden", o.bindInfo.length === 4 && "min-w-[40%] max-w-[50%]", o.bindInfo.length === 5 && "min-w-[30%] max-w-[35%]"])
2673
- }, te(i), 3)
2672
+ class: le(["flex-1 whitespace-nowrap w-20 mr-4 mt-8 overflow-hidden", o.bindInfo.length === 4 && "min-w-[40%] max-w-[50%]", o.bindInfo.length === 5 && "min-w-[30%] max-w-[35%]"])
2673
+ }, oe(i), 3)
2674
2674
  ], 64))), 128))
2675
2675
  ]),
2676
- o.bindSeatType === L(Se).none ? (r(), h("div", {
2676
+ o.bindSeatType === L(Te).none ? (r(), h("div", {
2677
2677
  key: 0,
2678
2678
  class: "flex flex-shrink-0 items-center justify-center border border-dashed font-bold w-80 h-40",
2679
2679
  "data-xine": L($).en_code
2680
- }, ol, 8, el)) : o.bindSeatType === L(Se).shortId ? (r(), ee(Nt, {
2680
+ }, ol, 8, el)) : o.bindSeatType === L(Te).shortId ? (r(), te(Nt, {
2681
2681
  key: 1,
2682
2682
  class: "h-40"
2683
- })) : B("", !0),
2683
+ })) : N("", !0),
2684
2684
  k("span", {
2685
2685
  class: "absolute right-0 bottom-0",
2686
2686
  "data-xine": L($).bind_line
2687
2687
  }, null, 8, al)
2688
2688
  ], 4))
2689
- ], 6)) : B("", !0);
2689
+ ], 6)) : N("", !0);
2690
2690
  }
2691
2691
  });
2692
- const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5jdmxyN28zYWRl", sl = "YWNhdnN2cmIydmcZm", Be = "MC4wYWx1ZXJvcWhm", It = "MC5sZGN2NzJ0ZXE0bw", ft = "MC5yYjk3NGY2OTcyOA", gt = "MC42cWRzbGM0c21jbw", il = "MC45amVuM25vajRk", rl = "MC44YjJkb212djRu", cl = ["img", "table", "svg"], dl = ["data-block", "data-xine"], ul = ["data-xine"], hl = ["data-xine"], pl = { class: "absolute opacity-0 pointer-events-none" }, ml = /* @__PURE__ */ ne({
2692
+ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5jdmxyN28zYWRl", sl = "YWNhdnN2cmIydmcZm", Be = "MC4wYWx1ZXJvcWhm", It = "MC5sZGN2NzJ0ZXE0bw", ft = "MC5yYjk3NGY2OTcyOA", gt = "MC42cWRzbGM0c21jbw", il = "MC45amVuM25vajRk", rl = "MC44YjJkb212djRu", cl = ["img", "table", "svg"], dl = ["data-block", "data-xine"], ul = ["data-xine"], hl = ["data-xine"], pl = { class: "absolute opacity-0 pointer-events-none" }, ml = /* @__PURE__ */ ie({
2693
2693
  __name: "simple",
2694
2694
  props: {
2695
2695
  item: {},
2696
2696
  layout: {}
2697
2697
  },
2698
2698
  setup(e) {
2699
- const t = e, o = ["right", "half_right", "wrong"], l = W(() => {
2699
+ const t = e, o = ["right", "half_right", "wrong"], l = G(() => {
2700
2700
  const i = t.item.score;
2701
2701
  return [i, Math.round(i / 2 * 100) / 100, 0];
2702
2702
  });
@@ -2709,13 +2709,13 @@ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5
2709
2709
  class: "flex h-full divide-x divide-solid",
2710
2710
  "data-xine": L($).score_base
2711
2711
  }, [
2712
- (r(!0), h(O, null, le(l.value, (n, c) => (r(), h("li", {
2712
+ (r(!0), h(R, null, se(l.value, (n, c) => (r(), h("li", {
2713
2713
  class: "flex items-center justify-center relative score_line",
2714
- style: X({ width: `${L(We)[i.layout.scoreLineSize].value}px` }),
2714
+ style: Z({ width: `${L(Ge)[i.layout.scoreLineSize].value}px` }),
2715
2715
  "data-xine": L($).score_item
2716
2716
  }, [
2717
- k("span", pl, te(n), 1),
2718
- ae(ve, {
2717
+ k("span", pl, oe(n), 1),
2718
+ ne(we, {
2719
2719
  class: "p-0",
2720
2720
  name: o[c]
2721
2721
  }, null, 8, ["name"])
@@ -2723,7 +2723,7 @@ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5
2723
2723
  ], 8, ul)
2724
2724
  ], 8, dl));
2725
2725
  }
2726
- }), yl = ["data-block", "data-xine"], _l = ["data-xine"], fl = ["data-xine"], it = /* @__PURE__ */ ne({
2726
+ }), yl = ["data-block", "data-xine"], _l = ["data-xine"], fl = ["data-xine"], it = /* @__PURE__ */ ie({
2727
2727
  __name: "index",
2728
2728
  props: {
2729
2729
  item: {},
@@ -2731,7 +2731,7 @@ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5
2731
2731
  static: { type: Boolean }
2732
2732
  },
2733
2733
  setup(e) {
2734
- const t = e, o = V(), l = V(!1), i = V(!1), a = V(!1), n = V([]), c = W(() => t.layout.scoreAddStars === nt.star.code);
2734
+ const t = e, o = X(), l = X(!1), i = X(!1), a = X(!1), n = X([]), c = G(() => t.layout.scoreAddStars === nt.star.code);
2735
2735
  De(() => [t.item.score], () => y()), Ue(() => {
2736
2736
  y();
2737
2737
  });
@@ -2741,16 +2741,16 @@ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5
2741
2741
  if (t.item.scoreLineType === ot.custom)
2742
2742
  m = [[...t.item.customScore, 0]];
2743
2743
  else if (t.item.scoreStep)
2744
- m.push([...Array(Math.ceil((t.item.scoreStep || t.item.score || 0) + 1)).keys()].map((A) => Math.round(t.item.score / (t.item.scoreStep || t.item.score || 1) * A)).reverse());
2744
+ m.push([...Array(Math.ceil((t.item.scoreStep || t.item.score || 0) + 1)).keys()].map((D) => Math.round(t.item.score / (t.item.scoreStep || t.item.score || 1) * D)).reverse());
2745
2745
  else {
2746
- const A = o.value.offsetWidth, p = We[t.layout.scoreLineSize].value + 1;
2747
- l.value = A - 1 <= (Math.ceil(t.item.score + 1) + Number(t.layout.halfScoreFlag)) * p && t.item.score >= 10, l.value ? (m.push(["", ...Array(Math.ceil((t.item.score + 1) / 10)).keys()].map((P) => P && P * 10).reverse()), m.push([...Array(10).keys()].reverse()), a.value = !0) : m.push([...Array(Math.ceil((t.item.score || 0) + 1)).keys()].reverse());
2746
+ const D = o.value.offsetWidth, p = Ge[t.layout.scoreLineSize].value + 1;
2747
+ l.value = D - 1 <= (Math.ceil(t.item.score + 1) + Number(t.layout.halfScoreFlag)) * p && t.item.score >= 10, l.value ? (m.push(["", ...Array(Math.ceil((t.item.score + 1) / 10)).keys()].map((M) => M && M * 10).reverse()), m.push([...Array(10).keys()].reverse()), a.value = !0) : m.push([...Array(Math.ceil((t.item.score || 0) + 1)).keys()].reverse());
2748
2748
  }
2749
- t.item.hasHalfScore && m.push([0.5]), n.value = m, i.value = !!m.flat().find((A) => `${A}`.length > 3) || t.layout.scoreLineSize === We.small.code;
2749
+ t.item.hasHalfScore && m.push([0.5]), n.value = m, i.value = !!m.flat().find((D) => `${D}`.length > 3) || t.layout.scoreLineSize === Ge.small.code;
2750
2750
  });
2751
2751
  }, s = (m) => t.item.hasHalfScore ? [$.score_half, $.score_base, $.score_tenbit][n.value.length - m - 1] : [$.score_base, $.score_tenbit][n.value.length - m - 1];
2752
- return (m, A) => m.layout.handReadFlag ? (r(), h(O, { key: 0 }, [
2753
- m.layout.simpleScoreBarFlag && !m.static ? (r(), ee(ml, {
2752
+ return (m, D) => m.layout.handReadFlag ? (r(), h(R, { key: 0 }, [
2753
+ m.layout.simpleScoreBarFlag && !m.static ? (r(), te(ml, {
2754
2754
  key: 0,
2755
2755
  item: m.item,
2756
2756
  layout: m.layout
@@ -2758,34 +2758,34 @@ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5
2758
2758
  key: 1,
2759
2759
  ref_key: "view",
2760
2760
  ref: o,
2761
- class: oe([n.value.length ? "inline-flex" : "flex-1", "max-w-full overflow-hidden border border-l-2 border-r-2 divide-x divide-solid"]),
2761
+ class: le([n.value.length ? "inline-flex" : "flex-1", "max-w-full overflow-hidden border border-l-2 border-r-2 divide-x divide-solid"]),
2762
2762
  "data-block": L(Ie),
2763
2763
  "data-xine": L($).score
2764
2764
  }, [
2765
- (r(!0), h(O, null, le(n.value, (p, P) => (r(), h("ul", {
2765
+ (r(!0), h(R, null, se(n.value, (p, M) => (r(), h("ul", {
2766
2766
  class: "flex divide-x divide-solid",
2767
- "data-xine": s(P)
2767
+ "data-xine": s(M)
2768
2768
  }, [
2769
- (r(!0), h(O, null, le(p, (z) => (r(), h("li", {
2769
+ (r(!0), h(R, null, se(p, (H) => (r(), h("li", {
2770
2770
  class: "flex items-center justify-center flex-shrink-0 score_line",
2771
- style: X({ width: `${L(We)[m.layout.scoreLineSize].value}px` }),
2772
- "data-xine": z.toString() ? L($).score_item : ""
2771
+ style: Z({ width: `${L(Ge)[m.layout.scoreLineSize].value}px` }),
2772
+ "data-xine": H.toString() ? L($).score_item : ""
2773
2773
  }, [
2774
2774
  k("span", {
2775
- class: oe(["whitespace-nowrap", c.value && "origin-right", i.value && "scale-75"])
2776
- }, te(m.layout.minusFlag && z.toString().length && !c.value ? "-" : "") + te(z), 3),
2777
- c.value && z.toString().length ? (r(), ee(ve, {
2775
+ class: le(["whitespace-nowrap", c.value && "origin-right", i.value && "scale-75"])
2776
+ }, oe(m.layout.minusFlag && H.toString().length && !c.value ? "-" : "") + oe(H), 3),
2777
+ c.value && H.toString().length ? (r(), te(we, {
2778
2778
  key: 0,
2779
2779
  class: "px-0 py-0 -translate-y-[1px]",
2780
2780
  name: m.layout.minusFlag ? "fiveArrowLine" : "fiveArrow",
2781
2781
  width: i.value ? 0.9 : 1.2
2782
- }, null, 8, ["name", "width"])) : B("", !0)
2782
+ }, null, 8, ["name", "width"])) : N("", !0)
2783
2783
  ], 12, fl))), 256))
2784
2784
  ], 8, _l))), 256))
2785
2785
  ], 10, yl))
2786
- ], 64)) : B("", !0);
2786
+ ], 64)) : N("", !0);
2787
2787
  }
2788
- }), zt = (e) => (Ye("data-v-a8dbd3b0"), e = e(), Ke(), e), gl = ["data-xine"], bl = /* @__PURE__ */ zt(() => /* @__PURE__ */ k("span", { class: "red_sheet" }, "卷面整洁,书写工整分", -1)), vl = /* @__PURE__ */ zt(() => /* @__PURE__ */ k("span", { class: "flex-1 mx-2 h-[1px] dashed_view" }, null, -1)), wl = /* @__PURE__ */ ne({
2788
+ }), zt = (e) => (Ye("data-v-a8dbd3b0"), e = e(), Ke(), e), gl = ["data-xine"], bl = /* @__PURE__ */ zt(() => /* @__PURE__ */ k("span", { class: "red_sheet" }, "卷面整洁,书写工整分", -1)), vl = /* @__PURE__ */ zt(() => /* @__PURE__ */ k("span", { class: "flex-1 mx-2 h-[1px] dashed_view" }, null, -1)), wl = /* @__PURE__ */ ie({
2789
2789
  __name: "writeScore",
2790
2790
  props: {
2791
2791
  info: {},
@@ -2798,7 +2798,7 @@ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5
2798
2798
  }, [
2799
2799
  bl,
2800
2800
  vl,
2801
- ae(it, {
2801
+ ne(it, {
2802
2802
  item: { ...t.info, score: t.info.writeScore, hasHalfScore: t.layout.halfScoreFlag },
2803
2803
  layout: t.layout,
2804
2804
  static: ""
@@ -2806,7 +2806,7 @@ const nl = /* @__PURE__ */ me(ll, [["__scopeId", "data-v-01785ba3"]]), Ie = "MC5
2806
2806
  ], 8, gl));
2807
2807
  }
2808
2808
  });
2809
- const kl = /* @__PURE__ */ me(wl, [["__scopeId", "data-v-a8dbd3b0"]]), xl = ["innerHTML"], Cl = /* @__PURE__ */ ne({
2809
+ const kl = /* @__PURE__ */ me(wl, [["__scopeId", "data-v-a8dbd3b0"]]), xl = ["innerHTML"], Cl = /* @__PURE__ */ ie({
2810
2810
  __name: "index",
2811
2811
  props: {
2812
2812
  data: {}
@@ -2819,7 +2819,7 @@ const kl = /* @__PURE__ */ me(wl, [["__scopeId", "data-v-a8dbd3b0"]]), xl = ["in
2819
2819
  }, null, 8, xl));
2820
2820
  }
2821
2821
  });
2822
- const Oe = /* @__PURE__ */ me(Cl, [["__scopeId", "data-v-e6258dec"]]), Sl = ["data-tag", "data-block"], Tl = /* @__PURE__ */ ne({
2822
+ const Oe = /* @__PURE__ */ me(Cl, [["__scopeId", "data-v-e6258dec"]]), Sl = ["data-tag", "data-block"], Tl = /* @__PURE__ */ ie({
2823
2823
  __name: "notArea",
2824
2824
  props: {
2825
2825
  item: {}
@@ -2830,7 +2830,7 @@ const Oe = /* @__PURE__ */ me(Cl, [["__scopeId", "data-v-e6258dec"]]), Sl = ["da
2830
2830
  "data-tag": t.item.__tag__,
2831
2831
  "data-block": L(ft)
2832
2832
  }, [
2833
- ae(Oe, {
2833
+ ne(Oe, {
2834
2834
  "data-content": t.item.id,
2835
2835
  data: t.item.content
2836
2836
  }, null, 8, ["data-content", "data"])
@@ -2842,7 +2842,7 @@ const Oe = /* @__PURE__ */ me(Cl, [["__scopeId", "data-v-e6258dec"]]), Sl = ["da
2842
2842
  }, Fl = { key: 0 }, El = {
2843
2843
  key: 1,
2844
2844
  class: "indent-2"
2845
- }, Pl = { key: 0 }, Ml = { key: 0 }, Al = { key: 1 }, Dl = ["data-block", "data-xine"], Bl = /* @__PURE__ */ Il(() => /* @__PURE__ */ k("span", null, "我选答的题目是:", -1)), Nl = { class: "flex items-center" }, Ol = ["data-xine"], zl = /* @__PURE__ */ ne({
2845
+ }, Pl = { key: 0 }, Ml = { key: 0 }, Al = { key: 1 }, Dl = ["data-block", "data-xine"], Bl = /* @__PURE__ */ Il(() => /* @__PURE__ */ k("span", null, "我选答的题目是:", -1)), Nl = { class: "flex items-center" }, Ol = ["data-xine"], zl = /* @__PURE__ */ ie({
2846
2846
  __name: "index",
2847
2847
  props: {
2848
2848
  item: {},
@@ -2853,50 +2853,50 @@ const Oe = /* @__PURE__ */ me(Cl, [["__scopeId", "data-v-e6258dec"]]), Sl = ["da
2853
2853
  },
2854
2854
  emits: ["click", "dbclick"],
2855
2855
  setup(e, { emit: t }) {
2856
- const o = e, l = V(!1), i = V(), a = W(() => [Ce.one_choice].includes(o.item.problemType) ? o.item.rawChildren.filter((s) => s.problemType) : null), n = W(() => [Ce.another_choice].includes(o.item.problemType)), c = W(() => [Ce.one_choice].includes(o.item.problemType) ? y.value.length : [...new Set(Wa(o.item.rawChildren.filter((s) => s.problemType), "sub").flat().map((s) => (s || "").split(".")[0]))].length), y = W(() => [...new Set(o.item.rawChildren.map((s) => [...new Set(s.sub.map((m) => m.split(".")[0]))]).map((s) => s.length > 1 ? `${s[0]}-${s[s.length - 1]}` : s[0]))]);
2856
+ const o = e, l = X(!1), i = X(), a = G(() => [Se.one_choice].includes(o.item.problemType) ? o.item.rawChildren.filter((s) => s.problemType) : null), n = G(() => [Se.another_choice].includes(o.item.problemType)), c = G(() => [Se.one_choice].includes(o.item.problemType) ? y.value.length : [...new Set(Ga(o.item.rawChildren.filter((s) => s.problemType), "sub").flat().map((s) => (s || "").split(".")[0]))].length), y = G(() => [...new Set(o.item.rawChildren.map((s) => [...new Set(s.sub.map((m) => m.split(".")[0]))]).map((s) => s.length > 1 ? `${s[0]}-${s[s.length - 1]}` : s[0]))]);
2857
2857
  return Ue(() => {
2858
2858
  o.isFirst && o.item.problemType && (i.value.offsetHeight / parseFloat(window.getComputedStyle(i.value).lineHeight) > 1.5 ? l.value = !0 : l.value = !1);
2859
2859
  }), (s, m) => s.item.problemType ? (r(), h("div", {
2860
2860
  key: 1,
2861
- class: oe(["flex items-baseline relative headline_item", s.showColBorder && "pl-2 mx-1 z-2", !s.isFirst && "headline_view", l.value && "first_headline_view"]),
2862
- onClick: m[2] || (m[2] = Ee((A) => t("click", s.item), ["stop"])),
2861
+ class: le(["flex items-baseline relative headline_item", s.showColBorder && "pl-2 mx-1 z-2", !s.isFirst && "headline_view", l.value && "first_headline_view"]),
2862
+ onClick: m[2] || (m[2] = Ee((D) => t("click", s.item), ["stop"])),
2863
2863
  ref_key: "view",
2864
2864
  ref: i,
2865
2865
  "data-tag": s.item.__tag__,
2866
2866
  "data-block": L(Ie),
2867
- onDblclick: m[3] || (m[3] = Ee((A) => t("dbclick", s.item), ["stop"]))
2867
+ onDblclick: m[3] || (m[3] = Ee((D) => t("dbclick", s.item), ["stop"]))
2868
2868
  }, [
2869
- !s.layout.listIndexFlag && s.item.sub ? (r(), h("span", Ll, te(L(Ot)(s.item.sub - 1)) + "、", 1)) : B("", !0),
2869
+ !s.layout.listIndexFlag && s.item.sub ? (r(), h("span", Ll, oe(L(Ot)(s.item.sub - 1)) + "、", 1)) : N("", !0),
2870
2870
  k("div", null, [
2871
2871
  k("div", null, [
2872
- k("span", null, te(s.item.name), 1),
2873
- s.item.desc ? (r(), h("span", Fl, "(" + te(s.item.desc) + ")", 1)) : B("", !0),
2874
- s.layout.scoreTipFlag ? (r(), h("span", El, "(共" + te(c.value) + "题,共" + te(s.item.totalScore) + "分)", 1)) : B("", !0)
2872
+ k("span", null, oe(s.item.name), 1),
2873
+ s.item.desc ? (r(), h("span", Fl, "(" + oe(s.item.desc) + ")", 1)) : N("", !0),
2874
+ s.layout.scoreTipFlag ? (r(), h("span", El, "(共" + oe(c.value) + "题,共" + oe(s.item.totalScore) + "分)", 1)) : N("", !0)
2875
2875
  ]),
2876
2876
  a.value || n.value ? (r(), h("div", Pl, [
2877
- a.value ? (r(), h("p", Ml, "请在以下" + te(y.value.length) + "道题目中任选一题作答,如果漏涂或多涂,则按第一题计分。", 1)) : (r(), h("p", Al, "请在以下题目中选择你要作答的题目,并在对应的填涂框中填涂表示,如果未填涂则按不作答处理。")),
2877
+ a.value ? (r(), h("p", Ml, "请在以下" + oe(y.value.length) + "道题目中任选一题作答,如果漏涂或多涂,则按第一题计分。", 1)) : (r(), h("p", Al, "请在以下题目中选择你要作答的题目,并在对应的填涂框中填涂表示,如果未填涂则按不作答处理。")),
2878
2878
  k("p", {
2879
2879
  class: "flex flex-wrap",
2880
2880
  "data-block": L(Ie),
2881
2881
  "data-xine": L($).choice + s.item.id
2882
2882
  }, [
2883
2883
  Bl,
2884
- (r(!0), h(O, null, le(y.value, (A, p) => (r(), h("span", Nl, [
2885
- k("span", null, te(A), 1),
2884
+ (r(!0), h(R, null, se(y.value, (D, p) => (r(), h("span", Nl, [
2885
+ k("span", null, oe(D), 1),
2886
2886
  k("span", {
2887
2887
  class: "flex justify-between w-6 h-[11px] ml-2 mr-4 fill_view",
2888
2888
  "data-xine": L($).fill
2889
2889
  }, null, 8, Ol)
2890
2890
  ]))), 256))
2891
2891
  ], 8, Dl)
2892
- ])) : B("", !0)
2892
+ ])) : N("", !0)
2893
2893
  ])
2894
- ], 42, $l)) : (r(), ee(Tl, {
2894
+ ], 42, $l)) : (r(), te(Tl, {
2895
2895
  key: 0,
2896
- class: oe([s.isActive && "border-current", s.isFirst && "mt-9"]),
2896
+ class: le([s.isActive && "border-current", s.isFirst && "mt-9"]),
2897
2897
  item: s.item,
2898
- onClick: m[0] || (m[0] = Ee((A) => t("click", s.item), ["stop"])),
2899
- onDblclick: m[1] || (m[1] = Ee((A) => t("dbclick", s.item), ["stop"]))
2898
+ onClick: m[0] || (m[0] = Ee((D) => t("click", s.item), ["stop"])),
2899
+ onDblclick: m[1] || (m[1] = Ee((D) => t("dbclick", s.item), ["stop"]))
2900
2900
  }, null, 8, ["class", "item"]));
2901
2901
  }
2902
2902
  });
@@ -2904,7 +2904,7 @@ const $t = /* @__PURE__ */ me(zl, [["__scopeId", "data-v-8b8ee819"]]), Rl = {};
2904
2904
  function Hl(e, t) {
2905
2905
  return null;
2906
2906
  }
2907
- const Wl = /* @__PURE__ */ me(Rl, [["render", Hl]]), Gl = ["data-block"], ql = ["data-xine"], Ql = /* @__PURE__ */ ne({
2907
+ const Gl = /* @__PURE__ */ me(Rl, [["render", Hl]]), Wl = ["data-block"], ql = ["data-xine"], Ql = /* @__PURE__ */ ie({
2908
2908
  __name: "sheet",
2909
2909
  props: {
2910
2910
  item: {},
@@ -2915,71 +2915,71 @@ const Wl = /* @__PURE__ */ me(Rl, [["render", Hl]]), Gl = ["data-block"], ql = [
2915
2915
  class: "flex items-center red_sheet",
2916
2916
  "data-block": L(Ie)
2917
2917
  }, [
2918
- (r(!0), h(O, null, le(t.item.optList, (l, i) => (r(), h("span", {
2919
- class: oe(["fill_block", t.layout.showAnswer && t.item.answer.includes(L(ut)[i]) && "bg-success border-success"]),
2920
- style: X({ width: `${L(Fe)[t.layout.fillSize].value + 1}px`, height: `${L(Fe)[t.layout.fillSize].height + 1}px` }),
2918
+ (r(!0), h(R, null, se(t.item.optList, (l, i) => (r(), h("span", {
2919
+ class: le(["fill_block", t.layout.showAnswer && t.item.answer.includes(L(ut)[i]) && "bg-success border-success"]),
2920
+ style: Z({ width: `${L(Le)[t.layout.fillSize].value + 1}px`, height: `${L(Le)[t.layout.fillSize].height + 1}px` }),
2921
2921
  "data-xine": L($).fill + i
2922
2922
  }, [
2923
- ae(ve, {
2923
+ ne(we, {
2924
2924
  width: 1,
2925
2925
  name: L(ut)[i]
2926
2926
  }, null, 8, ["name"])
2927
2927
  ], 14, ql))), 256))
2928
- ], 8, Gl));
2928
+ ], 8, Wl));
2929
2929
  }
2930
2930
  }), Yl = {};
2931
2931
  function Kl(e, t) {
2932
2932
  return null;
2933
2933
  }
2934
- const Ul = /* @__PURE__ */ me(Yl, [["render", Kl]]), Vl = ["data-block"], jl = ["data-xine"], Xl = ["data-xine"], Jl = ["data-xine"], Zl = /* @__PURE__ */ k("span", { class: "text-sm scale-75" }, "T", -1), en = [
2935
- Zl
2934
+ const Ul = /* @__PURE__ */ me(Yl, [["render", Kl]]), Vl = ["data-block"], Xl = ["data-xine"], Jl = ["data-xine"], Zl = ["data-xine"], jl = /* @__PURE__ */ k("span", { class: "text-sm scale-75" }, "T", -1), en = [
2935
+ jl
2936
2936
  ], tn = ["data-xine"], on = /* @__PURE__ */ k("span", { class: "text-sm scale-75" }, "F", -1), an = [
2937
2937
  on
2938
- ], ln = /* @__PURE__ */ ne({
2938
+ ], ln = /* @__PURE__ */ ie({
2939
2939
  __name: "sheet",
2940
2940
  props: {
2941
2941
  item: {},
2942
2942
  layout: {}
2943
2943
  },
2944
2944
  setup(e) {
2945
- const t = e, o = W(() => ({
2946
- width: `${Fe[t.layout.fillSize].value + 1}px`,
2947
- height: `${Fe[t.layout.fillSize].height + 1}px`
2945
+ const t = e, o = G(() => ({
2946
+ width: `${Le[t.layout.fillSize].value + 1}px`,
2947
+ height: `${Le[t.layout.fillSize].height + 1}px`
2948
2948
  }));
2949
2949
  return (l, i) => (r(), h("div", {
2950
2950
  class: "flex red_sheet",
2951
2951
  "data-block": L(Ie)
2952
2952
  }, [
2953
- l.item.style[L(d)[l.layout.mode].decide_a] === L(f).decide_1 ? (r(), h(O, { key: 0 }, [
2953
+ l.item.style[L(d)[l.layout.mode].decide_a] === L(_).decide_1 ? (r(), h(R, { key: 0 }, [
2954
2954
  k("span", {
2955
- class: oe(["fill_block", l.layout.showAnswer && l.item.answer.includes("T") && "bg-success border-success"]),
2956
- style: X(o.value),
2955
+ class: le(["fill_block", l.layout.showAnswer && l.item.answer.includes("T") && "bg-success border-success"]),
2956
+ style: Z(o.value),
2957
2957
  "data-xine": L($).fill + "0"
2958
2958
  }, [
2959
- ae(ve, {
2959
+ ne(we, {
2960
2960
  name: "right",
2961
2961
  width: 1
2962
2962
  })
2963
- ], 14, jl),
2963
+ ], 14, Xl),
2964
2964
  k("span", {
2965
- class: oe(["fill_block", l.layout.showAnswer && l.item.answer.includes("F") && "bg-success border-success"]),
2966
- style: X(o.value),
2965
+ class: le(["fill_block", l.layout.showAnswer && l.item.answer.includes("F") && "bg-success border-success"]),
2966
+ style: Z(o.value),
2967
2967
  "data-xine": L($).fill + "1"
2968
2968
  }, [
2969
- ae(ve, {
2969
+ ne(we, {
2970
2970
  name: "wrong",
2971
2971
  width: 1
2972
2972
  })
2973
- ], 14, Xl)
2974
- ], 64)) : (r(), h(O, { key: 1 }, [
2973
+ ], 14, Jl)
2974
+ ], 64)) : (r(), h(R, { key: 1 }, [
2975
2975
  k("span", {
2976
- class: oe(["fill_block", l.layout.showAnswer && l.item.answer.includes("T") && "bg-success border-success"]),
2977
- style: X(o.value),
2976
+ class: le(["fill_block", l.layout.showAnswer && l.item.answer.includes("T") && "bg-success border-success"]),
2977
+ style: Z(o.value),
2978
2978
  "data-xine": L($).fill + "0"
2979
- }, en, 14, Jl),
2979
+ }, en, 14, Zl),
2980
2980
  k("span", {
2981
- class: oe(["fill_block", l.layout.showAnswer && l.item.answer.includes("F") && "bg-success border-success"]),
2982
- style: X(o.value),
2981
+ class: le(["fill_block", l.layout.showAnswer && l.item.answer.includes("F") && "bg-success border-success"]),
2982
+ style: Z(o.value),
2983
2983
  "data-xine": L($).fill + "1"
2984
2984
  }, an, 14, tn)
2985
2985
  ], 64))
@@ -2992,7 +2992,7 @@ function sn(e, t) {
2992
2992
  const rn = /* @__PURE__ */ me(nn, [["render", sn]]), cn = ["data-block", "data-xine"], dn = {
2993
2993
  key: 0,
2994
2994
  class: "flex items-center justify-center whitespace-nowrap text-sm scale-75"
2995
- }, un = { key: 1 }, hn = /* @__PURE__ */ ne({
2995
+ }, un = { key: 1 }, hn = /* @__PURE__ */ ie({
2996
2996
  __name: "index",
2997
2997
  props: {
2998
2998
  item: {},
@@ -3000,7 +3000,7 @@ const rn = /* @__PURE__ */ me(nn, [["render", sn]]), cn = ["data-block", "data-x
3000
3000
  showScoreCn: { type: Boolean }
3001
3001
  },
3002
3002
  setup(e) {
3003
- const t = e, o = W(() => t.layout.scoreAddStars === nt.star.code);
3003
+ const t = e, o = G(() => t.layout.scoreAddStars === nt.star.code);
3004
3004
  return (l, i) => l.layout.handReadFlag ? (r(), h("div", {
3005
3005
  key: 0,
3006
3006
  class: "score_fill flex items-center",
@@ -3008,17 +3008,17 @@ const rn = /* @__PURE__ */ me(nn, [["render", sn]]), cn = ["data-block", "data-x
3008
3008
  "data-xine": L($).fill
3009
3009
  }, [
3010
3010
  l.showScoreCn ? (r(), h("span", dn, [
3011
- k("span", null, te(o.value ? "" : "-") + te(l.item.score), 1),
3012
- o.value ? (r(), ee(ve, {
3011
+ k("span", null, oe(o.value ? "" : "-") + oe(l.item.score), 1),
3012
+ o.value ? (r(), te(we, {
3013
3013
  key: 0,
3014
3014
  class: "px-0 py-0 -translate-y-[1px]",
3015
3015
  name: "fiveArrowLine",
3016
3016
  width: 1.2
3017
3017
  })) : (r(), h("span", un, "分"))
3018
- ])) : B("", !0)
3019
- ], 8, cn)) : B("", !0);
3018
+ ])) : N("", !0)
3019
+ ], 8, cn)) : N("", !0);
3020
3020
  }
3021
- }), pn = ["data-xine"], mn = /* @__PURE__ */ ne({
3021
+ }), pn = ["data-xine"], mn = /* @__PURE__ */ ie({
3022
3022
  __name: "sheet",
3023
3023
  props: {
3024
3024
  item: {},
@@ -3026,25 +3026,25 @@ const rn = /* @__PURE__ */ me(nn, [["render", sn]]), cn = ["data-block", "data-x
3026
3026
  },
3027
3027
  setup(e) {
3028
3028
  const t = e;
3029
- return (o, l) => (r(), h(O, null, [
3029
+ return (o, l) => (r(), h(R, null, [
3030
3030
  k("div", {
3031
3031
  class: "flex-1 border-b self-stretch red_sheet",
3032
- style: X({ height: `${20 + o.item.style[L(d)[t.layout.mode].fill_e]}px` }),
3032
+ style: Z({ height: `${20 + o.item.style[L(d)[t.layout.mode].fill_e]}px` }),
3033
3033
  "data-xine": L($).fill_line
3034
3034
  }, null, 12, pn),
3035
- o.layout.handReadFlag ? (r(), ee(hn, {
3035
+ o.layout.handReadFlag ? (r(), te(hn, {
3036
3036
  key: 0,
3037
3037
  item: o.item,
3038
3038
  layout: o.layout,
3039
3039
  showScoreCn: o.layout.fillScoreFlag
3040
- }, null, 8, ["item", "layout", "showScoreCn"])) : B("", !0)
3040
+ }, null, 8, ["item", "layout", "showScoreCn"])) : N("", !0)
3041
3041
  ], 64));
3042
3042
  }
3043
3043
  }), yn = {};
3044
3044
  function _n(e, t) {
3045
3045
  return null;
3046
3046
  }
3047
- const fn = /* @__PURE__ */ me(yn, [["render", _n]]), gn = ["data-block"], bn = { class: "flex-1 flex justify-end overflow-hidden" }, vn = /* @__PURE__ */ ne({
3047
+ const fn = /* @__PURE__ */ me(yn, [["render", _n]]), gn = ["data-block"], bn = { class: "flex-1 flex justify-end overflow-hidden" }, vn = /* @__PURE__ */ ie({
3048
3048
  __name: "sheet",
3049
3049
  props: {
3050
3050
  item: {},
@@ -3053,22 +3053,22 @@ const fn = /* @__PURE__ */ me(yn, [["render", _n]]), gn = ["data-block"], bn = {
3053
3053
  },
3054
3054
  setup(e) {
3055
3055
  return (t, o) => (r(), h("div", {
3056
- class: oe(["w-full min-h-[5rem] pt-2 relative", !t.isFirst && "border-t"])
3056
+ class: le(["w-full min-h-[5rem] pt-2 relative", !t.isFirst && "border-t"])
3057
3057
  }, [
3058
- t.item.chunk ? B("", !0) : (r(), h("div", {
3058
+ t.item.chunk ? N("", !0) : (r(), h("div", {
3059
3059
  key: 0,
3060
3060
  class: "absolute left-0 top-2 w-full flex items-center",
3061
3061
  "data-block": L(Ie)
3062
3062
  }, [
3063
3063
  mt(t.$slots, "default"),
3064
3064
  k("div", bn, [
3065
- ae(it, {
3065
+ ne(it, {
3066
3066
  item: t.item,
3067
3067
  layout: t.layout
3068
3068
  }, null, 8, ["item", "layout"])
3069
3069
  ])
3070
3070
  ], 8, gn)),
3071
- ae(Oe, {
3071
+ ne(Oe, {
3072
3072
  "data-area": t.item.id,
3073
3073
  data: t.item.answerArea
3074
3074
  }, null, 8, ["data-area", "data"])
@@ -3078,7 +3078,7 @@ const fn = /* @__PURE__ */ me(yn, [["render", _n]]), gn = ["data-block"], bn = {
3078
3078
  function kn(e, t) {
3079
3079
  return null;
3080
3080
  }
3081
- const xn = /* @__PURE__ */ me(wn, [["render", kn]]), Cn = /* @__PURE__ */ ne({
3081
+ const xn = /* @__PURE__ */ me(wn, [["render", kn]]), Cn = /* @__PURE__ */ ie({
3082
3082
  __name: "sheet",
3083
3083
  props: {
3084
3084
  item: {},
@@ -3086,12 +3086,12 @@ const xn = /* @__PURE__ */ me(wn, [["render", kn]]), Cn = /* @__PURE__ */ ne({
3086
3086
  },
3087
3087
  setup(e) {
3088
3088
  const t = e;
3089
- return (o, l) => (r(), h(O, null, [
3089
+ return (o, l) => (r(), h(R, null, [
3090
3090
  k("div", {
3091
3091
  class: "flex-1 border-b self-end mr-2",
3092
- style: X({ height: `${20 + o.item.style[L(d)[t.layout.mode].easy_slove_d]}px` })
3092
+ style: Z({ height: `${20 + o.item.style[L(d)[t.layout.mode].easy_slove_d]}px` })
3093
3093
  }, null, 4),
3094
- ae(it, {
3094
+ ne(it, {
3095
3095
  item: o.item,
3096
3096
  layout: o.layout
3097
3097
  }, null, 8, ["item", "layout"])
@@ -3117,22 +3117,22 @@ const Bn = /* @__PURE__ */ me(An, [["render", Dn]]), Nn = {};
3117
3117
  function On(e, t) {
3118
3118
  return null;
3119
3119
  }
3120
- const zn = /* @__PURE__ */ me(Nn, [["render", On]]), Rn = ["data-viewid"], Hn = ["data-block"], Wn = { class: "flex-1 flex justify-end overflow-hidden" }, Gn = ["data-block", "data-size"], qn = ["data-block"], Qn = /* @__PURE__ */ ne({
3120
+ const zn = /* @__PURE__ */ me(Nn, [["render", On]]), Rn = ["data-viewid"], Hn = ["data-block"], Gn = { class: "flex-1 flex justify-end overflow-hidden" }, Wn = ["data-block", "data-size"], qn = ["data-block"], Qn = /* @__PURE__ */ ie({
3121
3121
  __name: "sheet",
3122
3122
  props: {
3123
3123
  item: {},
3124
3124
  layout: {}
3125
3125
  },
3126
3126
  setup(e) {
3127
- const t = e, o = V(0), l = V({}), i = V(), a = V(), n = V([]), c = W(() => {
3128
- const p = Math.max((t.item.endAnswerLen || parseInt(t.item.style[d[t.layout.mode].art_c]) || t.item.answerLen) - t.item.startAnswerLen, A.value.length, 0);
3127
+ const t = e, o = X(0), l = X({}), i = X(), a = X(), n = X([]), c = G(() => {
3128
+ const p = Math.max((t.item.endAnswerLen || parseInt(t.item.style[d[t.layout.mode].art_c]) || t.item.answerLen) - t.item.startAnswerLen, D.value.length, 0);
3129
3129
  return p ? Math.ceil(p / (o.value || p)) : 0;
3130
- }), y = W(() => parseInt(t.item.style[d[t.layout.mode].art_b])), s = W(() => ({
3130
+ }), y = G(() => parseInt(t.item.style[d[t.layout.mode].art_b])), s = G(() => ({
3131
3131
  width: `${o.value * y.value}px`,
3132
3132
  height: `${y.value}px`
3133
- })), m = W(() => ({
3133
+ })), m = G(() => ({
3134
3134
  width: `${y.value}px`
3135
- })), A = W(() => t.item.beforeGuide ? ` ${t.item.beforeGuide}`.substring(t.item.startAnswerLen, t.item.endAnswerLen || t.item.beforeGuide.length + 2) : "");
3135
+ })), D = G(() => t.item.beforeGuide ? ` ${t.item.beforeGuide}`.substring(t.item.startAnswerLen, t.item.endAnswerLen || t.item.beforeGuide.length + 2) : "");
3136
3136
  return Ue(() => {
3137
3137
  if (!t.item.artBlock)
3138
3138
  return;
@@ -3140,77 +3140,77 @@ const zn = /* @__PURE__ */ me(Nn, [["render", On]]), Rn = ["data-viewid"], Hn =
3140
3140
  o.value = Math.floor(i.value.offsetWidth / y.value), t.item.beforeGuide && !t.item.artBlock && setTimeout(() => {
3141
3141
  if (!i.value)
3142
3142
  return;
3143
- const J = i.value.getBoundingClientRect(), D = a.value[0].getBoundingClientRect();
3143
+ const j = i.value.getBoundingClientRect(), B = a.value[0].getBoundingClientRect();
3144
3144
  l.value = {
3145
- left: `${D.left - J.left}px`,
3146
- top: `${D.top - J.top}px`
3145
+ left: `${B.left - j.left}px`,
3146
+ top: `${B.top - j.top}px`
3147
3147
  };
3148
3148
  }, 20);
3149
3149
  });
3150
- const p = parseInt(t.item.style[d[t.layout.mode].art_c]), P = t.item.style[d[t.layout.mode].art_e], z = Math.floor(p / P), j = Math.round(z / (t.item.style[d[t.layout.mode].art_d] || 1) - 0.01) * P;
3151
- n.value = [...Array(Math.min(t.item.style[d[t.layout.mode].art_d] || 1, z) - 1 || 0).keys()].map((J) => (J + 1) * j).concat(p / P < 2 ? P : p).filter((J) => J);
3152
- }), (p, P) => (r(), h("div", {
3150
+ const p = parseInt(t.item.style[d[t.layout.mode].art_c]), M = t.item.style[d[t.layout.mode].art_e], H = Math.floor(p / M), J = Math.round(H / (t.item.style[d[t.layout.mode].art_d] || 1) - 0.01) * M;
3151
+ n.value = [...Array(Math.min(t.item.style[d[t.layout.mode].art_d] || 1, H) - 1 || 0).keys()].map((j) => (j + 1) * J).concat(p / M < 2 ? M : p).filter((j) => j);
3152
+ }), (p, M) => (r(), h("div", {
3153
3153
  class: "w-full relative min-h-[10rem]",
3154
3154
  ref_key: "view",
3155
3155
  ref: i,
3156
3156
  "data-viewid": p.item.id
3157
3157
  }, [
3158
- p.item.chunk ? B("", !0) : (r(), h("div", {
3158
+ p.item.chunk ? N("", !0) : (r(), h("div", {
3159
3159
  key: 0,
3160
3160
  class: "flex items-center mt-1 mb-4",
3161
3161
  "data-block": L(Ie)
3162
3162
  }, [
3163
3163
  mt(p.$slots, "default"),
3164
- k("div", Wn, [
3165
- ae(it, {
3164
+ k("div", Gn, [
3165
+ ne(it, {
3166
3166
  item: p.item,
3167
3167
  layout: p.layout
3168
3168
  }, null, 8, ["item", "layout"])
3169
3169
  ])
3170
3170
  ], 8, Hn)),
3171
- p.item.artBlock ? (r(), h(O, { key: 1 }, [
3172
- p.item.beforeArt && !p.item.startAnswerLen ? (r(), ee(Oe, {
3171
+ p.item.artBlock ? (r(), h(R, { key: 1 }, [
3172
+ p.item.beforeArt && !p.item.startAnswerLen ? (r(), te(Oe, {
3173
3173
  key: 0,
3174
3174
  data: p.item.beforeArt,
3175
3175
  "data-bart": p.item.id,
3176
3176
  class: "indent-[2em]"
3177
- }, null, 8, ["data", "data-bart"])) : B("", !0),
3178
- (r(!0), h(O, null, le(c.value, (z, j) => (r(), h("p", {
3177
+ }, null, 8, ["data", "data-bart"])) : N("", !0),
3178
+ (r(!0), h(R, null, se(c.value, (H, J) => (r(), h("p", {
3179
3179
  ref_for: !0,
3180
3180
  ref_key: "line",
3181
3181
  ref: a,
3182
3182
  class: "flex mx-auto mt-3 mb-1 relative red_sheet border divide-x divide-solid",
3183
3183
  "data-block": L(Ie),
3184
- "data-size": p.item.startAnswerLen + (j + 1) * o.value,
3185
- style: X(s.value)
3184
+ "data-size": p.item.startAnswerLen + (J + 1) * o.value,
3185
+ style: Z(s.value)
3186
3186
  }, [
3187
- (r(!0), h(O, null, le(o.value, (J, D) => (r(), h("span", {
3188
- class: oe([A.value[j * o.value + D] && "flex items-center justify-center"]),
3189
- style: X(m.value)
3190
- }, te(A.value[j * o.value + D] || ""), 7))), 256)),
3191
- (r(!0), h(O, null, le(n.value, (J) => (r(), h(O, null, [
3192
- p.item.startAnswerLen + j * o.value < J && p.item.startAnswerLen + (j + 1) * o.value >= J ? (r(), h("span", {
3187
+ (r(!0), h(R, null, se(o.value, (j, B) => (r(), h("span", {
3188
+ class: le([D.value[J * o.value + B] && "flex items-center justify-center"]),
3189
+ style: Z(m.value)
3190
+ }, oe(D.value[J * o.value + B] || ""), 7))), 256)),
3191
+ (r(!0), h(R, null, se(n.value, (j) => (r(), h(R, null, [
3192
+ p.item.startAnswerLen + J * o.value < j && p.item.startAnswerLen + (J + 1) * o.value >= j ? (r(), h("span", {
3193
3193
  key: 0,
3194
3194
  class: "absolute leading-4 text-base -bottom-4 scale-50 border-transparent",
3195
- style: X({ left: `${(J - p.item.startAnswerLen) % o.value * y.value}px` }),
3195
+ style: Z({ left: `${(j - p.item.startAnswerLen) % o.value * y.value}px` }),
3196
3196
  "data-block": L(Be)
3197
- }, te(J), 13, qn)) : B("", !0)
3197
+ }, oe(j), 13, qn)) : N("", !0)
3198
3198
  ], 64))), 256))
3199
- ], 12, Gn))), 256)),
3200
- p.item.afterArt && [-1, 0].includes(p.item.endAnswerLen) ? (r(), ee(Oe, {
3199
+ ], 12, Wn))), 256)),
3200
+ p.item.afterArt && [-1, 0].includes(p.item.endAnswerLen) ? (r(), te(Oe, {
3201
3201
  key: 1,
3202
3202
  data: p.item.afterArt,
3203
3203
  "data-aart": p.item.id,
3204
3204
  class: "mt-2 indent-[2em]"
3205
- }, null, 8, ["data", "data-aart"])) : B("", !0)
3206
- ], 64)) : (r(), ee(Oe, {
3205
+ }, null, 8, ["data", "data-aart"])) : N("", !0)
3206
+ ], 64)) : (r(), te(Oe, {
3207
3207
  key: 2,
3208
3208
  "data-area": p.item.id,
3209
3209
  data: p.item.answerArea
3210
3210
  }, null, 8, ["data-area", "data"]))
3211
3211
  ], 8, Rn));
3212
3212
  }
3213
- }), Yn = ["data-block"], Kn = /* @__PURE__ */ ne({
3213
+ }), Yn = ["data-block"], Kn = /* @__PURE__ */ ie({
3214
3214
  __name: "index",
3215
3215
  props: {
3216
3216
  item: {},
@@ -3222,16 +3222,16 @@ const zn = /* @__PURE__ */ me(Nn, [["render", On]]), Rn = ["data-viewid"], Hn =
3222
3222
  class: "px-2 py-3 w-full border border-dashed rounded-lg",
3223
3223
  "data-block": L(ft)
3224
3224
  }, [
3225
- ae(Oe, {
3225
+ ne(Oe, {
3226
3226
  "data-content": o.item.id,
3227
3227
  data: o.item.content
3228
3228
  }, null, 8, ["data-content", "data"])
3229
3229
  ], 8, Yn));
3230
3230
  }
3231
- }), Un = ["data-block"], Vn = { key: 0 }, jn = { key: 1 }, Xn = { key: 2 }, Jn = {
3231
+ }), Un = ["data-block"], Vn = { key: 0 }, Xn = { key: 1 }, Jn = { key: 2 }, Zn = {
3232
3232
  key: 3,
3233
3233
  class: "flex items-center justify-center w-8 h-8 border rounded-full scale-75"
3234
- }, Zn = { key: 0 }, es = /* @__PURE__ */ ne({
3234
+ }, jn = { key: 0 }, es = /* @__PURE__ */ ie({
3235
3235
  __name: "index",
3236
3236
  props: {
3237
3237
  sub: {},
@@ -3241,31 +3241,31 @@ const zn = /* @__PURE__ */ me(Nn, [["render", On]]), Rn = ["data-viewid"], Hn =
3241
3241
  bracketType: {}
3242
3242
  },
3243
3243
  setup(e) {
3244
- const t = e, o = W(() => (t.sub.length > 1 ? [t.sub[0], t.sub[t.sub.length - 1]] : t.sub).map((n) => n.split(".")).map((n) => t.isFull ? n : n.map((c, y) => y === n.length - 1 ? c : ""))), l = W(() => t.width ? `${Math.max(t.width * 5 / 7, 1)}em` : ""), i = (a) => {
3244
+ const t = e, o = G(() => (t.sub.length > 1 ? [t.sub[0], t.sub[t.sub.length - 1]] : t.sub).map((n) => n.split(".")).map((n) => t.isFull ? n : n.map((c, y) => y === n.length - 1 ? c : ""))), l = G(() => t.width ? `${Math.max(t.width * 5 / 7, 1)}em` : ""), i = (a) => {
3245
3245
  if (!t.bracketType)
3246
3246
  return "";
3247
3247
  if (a === "prev")
3248
- return t.bracketType === f.bracket_cn ? "(" : "(";
3248
+ return t.bracketType === _.bracket_cn ? "(" : "(";
3249
3249
  if (a === "after")
3250
- return t.bracketType === f.bracket_cn ? ")" : ")";
3250
+ return t.bracketType === _.bracket_cn ? ")" : ")";
3251
3251
  };
3252
3252
  return (a, n) => (r(), h("span", {
3253
- class: oe(["flex items-center flex-shrink-0 leading-none whitespace-nowrap mr-2 mt-[1px]", a.isFull && "justify-end"]),
3254
- style: X({ width: l.value }),
3253
+ class: le(["flex items-center flex-shrink-0 leading-none whitespace-nowrap mr-2 mt-[1px]", a.isFull && "justify-end"]),
3254
+ style: Z({ width: l.value }),
3255
3255
  "data-block": L(Be)
3256
3256
  }, [
3257
- (r(!0), h(O, null, le(o.value, (c, y) => (r(), h(O, null, [
3258
- y ? (r(), h("span", Vn, " - ")) : B("", !0),
3259
- c[0] ? (r(), h("span", jn, te(c[0]), 1)) : B("", !0),
3260
- c[1] ? (r(), h("span", Xn, "(" + te(c[1]) + ")", 1)) : B("", !0),
3261
- c[2] ? (r(), h("span", Jn, te(c[2]), 1)) : B("", !0)
3257
+ (r(!0), h(R, null, se(o.value, (c, y) => (r(), h(R, null, [
3258
+ y ? (r(), h("span", Vn, " - ")) : N("", !0),
3259
+ c[0] ? (r(), h("span", Xn, oe(c[0]), 1)) : N("", !0),
3260
+ c[1] ? (r(), h("span", Jn, "(" + oe(c[1]) + ")", 1)) : N("", !0),
3261
+ c[2] ? (r(), h("span", Zn, oe(c[2]), 1)) : N("", !0)
3262
3262
  ], 64))), 256)),
3263
- a.score ? (r(), h("span", Zn, te(i("prev")) + te(a.score) + "分" + te(i("after")), 1)) : B("", !0)
3263
+ a.score ? (r(), h("span", jn, oe(i("prev")) + oe(a.score) + "分" + oe(i("after")), 1)) : N("", !0)
3264
3264
  ], 14, Un));
3265
3265
  }
3266
3266
  }), ts = {
3267
3267
  components: {
3268
- choice: Wl,
3268
+ choice: Gl,
3269
3269
  choiceSheet: Ql,
3270
3270
  decide: Ul,
3271
3271
  decideSheet: ln,
@@ -3311,74 +3311,84 @@ const zn = /* @__PURE__ */ me(Nn, [["render", On]]), Rn = ["data-viewid"], Hn =
3311
3311
  dbclick: null
3312
3312
  },
3313
3313
  setup(e, { emit: t }) {
3314
- const o = ["sheet", "sheetCard"].includes(e.layout.mode) ? "Sheet" : "", l = Object.values(Pt), i = V(""), a = W(() => {
3315
- const g = o ? {
3314
+ const o = ["sheet", "sheetCard"].includes(e.layout.mode) ? "Sheet" : "", l = Object.values(Pt), i = X(""), a = G(() => {
3315
+ const b = o ? {
3316
3316
  choiceSheet: [u.choice, u.choice_english, u.choice_multiple, u.cloze],
3317
3317
  fillSheet: [u.fill, u.fill_english]
3318
3318
  } : {
3319
3319
  choice: [u.choice, u.choice_english, u.choice_multiple, u.cloze],
3320
3320
  fill: [u.fill, u.fill_english]
3321
3321
  };
3322
- return Object.keys(u).reduce((S, I) => ({ ...S, [u[I]]: Object.keys(g).find((N) => g[N].includes(u[I])) || `${I}${o}` }), {});
3323
- }), n = W(() => [Ce.one_choice, Ce.another_choice].includes(e.data.problemType)), c = W(() => {
3324
- let g = [];
3322
+ return Object.keys(u).reduce((S, I) => ({ ...S, [u[I]]: Object.keys(b).find((O) => b[O].includes(u[I])) || `${I}${o}` }), {});
3323
+ }), n = G(() => [Se.one_choice, Se.another_choice].includes(e.data.problemType)), c = G(() => {
3324
+ let b = [];
3325
3325
  e.data.children.forEach((I) => {
3326
- let N = g[g.length - 1];
3327
- ((I.polymerId || l.includes(e.data.problemType)) && l.includes(I.problemType) || [Ge.fill, Ge.fill_english].includes(e.data.problemType) && e.data.style[d[e.layout.mode].fill_g] === f.portrait) && I.style ? (!N || N.type !== "polymer" || N.polymerId !== I.polymerId) && (g.push({
3326
+ let O = b[b.length - 1];
3327
+ ((I.polymerId || l.includes(e.data.problemType)) && l.includes(I.problemType) || [We.fill, We.fill_english].includes(e.data.problemType) && e.data.style[d[e.layout.mode].fill_g] === _.portrait) && I.style ? (!O || O.type !== "polymer" || O.polymerId !== I.polymerId) && (b.push({
3328
3328
  type: "polymer",
3329
3329
  problemType: I.problemType,
3330
3330
  polymerId: I.polymerId,
3331
3331
  styleInfo: I.polymerId ? I.style : e.data.style,
3332
3332
  children: [],
3333
3333
  rawChildren: e.data.rawChildren || []
3334
- }), N = g[g.length - 1]) : (!N || N.type !== "base") && (g.push({
3334
+ }), O = b[b.length - 1]) : (!O || O.type !== "base") && (b.push({
3335
3335
  type: "base",
3336
3336
  children: []
3337
- }), N = g[g.length - 1]), N.children.push({ ...I, __rootProblemType__: e.data.problemType, __rootProblemId__: e.data.id });
3337
+ }), O = b[b.length - 1]), O.children.push({ ...I, __rootProblemType__: e.data.problemType, __rootProblemId__: e.data.id });
3338
3338
  });
3339
- const S = (I, N, ue, Y, T, v) => {
3340
- let _ = Math.min(Math.floor(e.width / N), ue), R = [], q = [], E = !0;
3341
- const H = (K = _) => {
3342
- R = (v ? [...Array(K).keys()].map((se, Te) => I.children.filter((ge, we) => we < (v ? Y : Y * _) && we % K === Te)).filter((se) => se.length) : [...Array(K).keys()].map((se) => I.children.slice(se * Y, (se + 1) * Y))).filter((se) => se.length).map((se) => Math.max(...se.map((Te) => {
3343
- var ge;
3344
- return ((ge = Te.optList) == null ? void 0 : ge.length) || 0;
3345
- })));
3346
- };
3347
- for (H(_), q = [...R]; E && _ < ue; )
3348
- H(_ + 1), E = _ + 1 <= ue && R.reduce((K, se) => K + se, 0) * (Fe[e.layout.fillSize].value + 9) + (_ + 1) * T < e.width, E && (_ += 1, q = [...R]);
3349
- return { children: I.children.slice(0, v ? Y : Y * _), col: _, colList: [...q] };
3339
+ const S = (I, O, ae, U, T) => {
3340
+ let f = Math.min(Math.floor(e.width / (Math.min(...I.children.filter((P) => {
3341
+ var q;
3342
+ return (q = P.optList) == null ? void 0 : q.length;
3343
+ }).map((P) => {
3344
+ var q;
3345
+ return (q = P.optList) == null ? void 0 : q.length;
3346
+ })) * (Le[e.layout.fillSize].value + 9) + U)), O), g = !0, z = [], K = [], E = [];
3347
+ if (T) {
3348
+ for (; g; )
3349
+ z = [...Array(Math.ceil(I.children.length / ae)).keys()].map((P) => I.children.slice(P * ae, (P + 1) * ae)).map((P) => [...Array(Math.ceil(P.length / f)).keys()].map((q) => P.slice(q * f, (q + 1) * f))), E = [...Array(f).keys()].map((P) => Math.max(...z.flat().map((q) => {
3350
+ var _e, fe;
3351
+ return ((fe = (_e = q[P]) == null ? void 0 : _e.optList) == null ? void 0 : fe.length) || 0;
3352
+ }))), g = E.reduce((P, q) => P + q, 0) * (Le[e.layout.fillSize].value + 9) + E.length * U > e.width, g && f--;
3353
+ K = z.map((P) => P.map((q) => q.map((_e) => _e.optList.length))).flat();
3354
+ } else {
3355
+ for (; g; )
3356
+ z = [...Array(Math.ceil(I.children.length / (f * ae))).keys()].map((P) => I.children.slice(P * (f * ae), (P + 1) * (f * ae))).map((P) => [...Array(f).keys()].map((q) => P.slice(q * ae, (q + 1) * ae)).filter((q) => q.length)), z[0].length < f && (f = z[0].length), E = [...Array(f).keys()].map((P) => Math.max(...z.flat().filter((q, _e) => _e % f === P).flat().map((q) => {
3357
+ var _e;
3358
+ return ((_e = q == null ? void 0 : q.optList) == null ? void 0 : _e.length) || 0;
3359
+ }))), g = E.reduce((P, q) => P + q, 0) * (Le[e.layout.fillSize].value + 9) + E.length * U > e.width, g && f--;
3360
+ K = z.map((P) => [...Array(ae).keys()].map((q) => [...Array(f).keys()].map((_e) => {
3361
+ var fe, ke;
3362
+ return (ke = (fe = (P[_e] || [])[q]) == null ? void 0 : fe.optList) == null ? void 0 : ke.length;
3363
+ }))).flat();
3364
+ }
3365
+ z = z.map((P) => P.flat());
3366
+ const W = [...Array(f).keys()].map((P) => Math.max(...K.map((q) => q[P] || 0)));
3367
+ return z.map((P, q) => ({ ...I, groupIndex: q, children: P, col: f, colList: W }));
3350
3368
  };
3351
- return g = g.map((I) => {
3352
- var N;
3369
+ return b = b.map((I) => {
3370
+ var O;
3353
3371
  if (I.type === "polymer") {
3354
- const ue = I.styleInfo[d[e.layout.mode].choice_b] === f.landscape, Y = I.styleInfo[d[e.layout.mode].choice_e] || 20, T = e.data.style[d[e.layout.mode].choice_d] || 10, v = (s.value[`h${e.data.id}`] || s.value[I.polymerId] || s.value[((N = e.data.children[0]) == null ? void 0 : N.polymerId) || ""] || 0) * 10 + 10;
3355
- if (I.styleInfo[d[e.layout.mode].choice_a] === f.choice_1) {
3356
- let _ = [], R = 0;
3357
- for (; R < I.children.length; ) {
3358
- const q = I.children.slice(R), E = Math.max(...q.map((K) => {
3359
- var se;
3360
- return ((se = K.optList) == null ? void 0 : se.length) || 0;
3361
- })) * (Fe[e.layout.fillSize].value + 9) + v, H = S({ ...I, children: q }, E, T, Y, v, ue);
3362
- _.push({ ...I, groupIndex: _.length, children: H.children, col: H.col, colList: H.colList }), R = _.map((K) => K.children.length).reduce((K, se) => K + se, 0);
3363
- }
3364
- return _;
3365
- } else if (I.styleInfo[d[e.layout.mode].choice_a] === f.choice_2) {
3366
- const _ = Math.max(Fe[e.layout.fillSize].value + 9, v), R = Math.floor(e.width / (_ * I.styleInfo[d[e.layout.mode].choice_c] + 10)), q = R * I.styleInfo[d[e.layout.mode].choice_c];
3367
- let E = [{ children: [], col: R }];
3368
- return I.children.forEach((H, K) => {
3369
- K >= q * E.length && E.push({ children: [], col: R }), E[E.length - 1].children.push(H);
3370
- }), E.map((H, K) => ({ ...I, groupIndex: K, children: H.children, col: H.col, colList: [] }));
3371
- } else if (I.styleInfo[d[e.layout.mode].choice_a] === f.choice_3) {
3372
- let _ = [], R = 0, q = 0, E = 0, H = 0;
3373
- return I.children.forEach((K) => {
3374
- K.optList.length !== R && (q = K.optList.length * (Fe[e.layout.fillSize].value + 9) + v, E = Math.min(Math.floor(e.width / q), T), H = ue ? E * 20 : E * I.styleInfo[d[e.layout.mode].choice_e], R = K.optList.length, _.push({ children: [], col: E, colList: [...Array(E).keys()].map((se) => K.optList.length) })), (!Object.values(He).includes(K.problemType) && !_.length || _[_.length - 1].children.length >= H) && _.push({ children: [], col: E, colList: [...Array(E).keys()].map((se) => K.optList.length) }), _[_.length - 1].children.push(K);
3375
- }), _.map((K, se) => ({ ...I, groupIndex: se, children: K.children, col: K.col, colList: K.colList }));
3376
- } else if ([u.fill, u.fill_english].includes(I.problemType) && I.styleInfo[d[e.layout.mode].fill_g] === f.portrait) {
3377
- const _ = Math.floor(I.styleInfo[d[e.layout.mode].fill_f]) * (I.styleInfo[d[e.layout.mode].fill_h] || 10);
3378
- return [...Array(Math.ceil(I.children.length / _)).keys()].map((R, q) => ({
3372
+ const ae = I.styleInfo[d[e.layout.mode].choice_b] === _.landscape, U = I.styleInfo[d[e.layout.mode].choice_e] || 20, T = e.data.style[d[e.layout.mode].choice_d] || 10, f = (s.value[`h${e.data.id}`] || s.value[I.polymerId] || s.value[((O = e.data.children[0]) == null ? void 0 : O.polymerId) || ""] || 0) * 10 + 10;
3373
+ if (I.styleInfo[d[e.layout.mode].choice_a] === _.choice_1)
3374
+ return S(I, T, U, f, ae);
3375
+ if (I.styleInfo[d[e.layout.mode].choice_a] === _.choice_2) {
3376
+ const g = Math.max(Le[e.layout.fillSize].value + 9, f), z = Math.floor(e.width / (g * I.styleInfo[d[e.layout.mode].choice_c] + 10)), K = z * I.styleInfo[d[e.layout.mode].choice_c];
3377
+ let E = [{ children: [], col: z }];
3378
+ return I.children.forEach((W, P) => {
3379
+ P >= K * E.length && E.push({ children: [], col: z }), E[E.length - 1].children.push(W);
3380
+ }), E.map((W, P) => ({ ...I, groupIndex: P, children: W.children, col: W.col, colList: [] }));
3381
+ } else if (I.styleInfo[d[e.layout.mode].choice_a] === _.choice_3) {
3382
+ let g = [], z = 0, K = 0, E = 0, W = 0;
3383
+ return I.children.forEach((P) => {
3384
+ P.optList.length !== z && (K = P.optList.length * (Le[e.layout.fillSize].value + 9) + f, E = Math.min(Math.floor(e.width / K), T), W = ae ? E * 20 : E * I.styleInfo[d[e.layout.mode].choice_e], z = P.optList.length, g.push({ children: [], col: E, colList: [...Array(E).keys()].map((q) => P.optList.length) })), (!Object.values(He).includes(P.problemType) && !g.length || g[g.length - 1].children.length >= W) && g.push({ children: [], col: E, colList: [...Array(E).keys()].map((q) => P.optList.length) }), g[g.length - 1].children.push(P);
3385
+ }), g.map((P, q) => ({ ...I, groupIndex: q, children: P.children, col: P.col, colList: P.colList }));
3386
+ } else if ([u.fill, u.fill_english].includes(I.problemType) && I.styleInfo[d[e.layout.mode].fill_g] === _.portrait) {
3387
+ const g = Math.floor(I.styleInfo[d[e.layout.mode].fill_f]) * (I.styleInfo[d[e.layout.mode].fill_h] || 10);
3388
+ return [...Array(Math.ceil(I.children.length / g)).keys()].map((z, K) => ({
3379
3389
  ...I,
3380
- groupIndex: q,
3381
- children: I.children.slice(q * _, (q + 1) * _).map((E) => ({
3390
+ groupIndex: K,
3391
+ children: I.children.slice(K * g, (K + 1) * g).map((E) => ({
3382
3392
  ...E,
3383
3393
  style: {
3384
3394
  ...E.style,
@@ -3391,171 +3401,171 @@ const zn = /* @__PURE__ */ me(Nn, [["render", On]]), Rn = ["data-viewid"], Hn =
3391
3401
  return I;
3392
3402
  } else
3393
3403
  return I;
3394
- }).flat(), g;
3395
- }), y = W(() => {
3396
- let g = {};
3404
+ }).flat(), b;
3405
+ }), y = G(() => {
3406
+ let b = {};
3397
3407
  return e.data.children.forEach((S) => {
3398
- S.polymerId && (g[S.polymerId] || (g[S.polymerId] = []), g[S.polymerId][S.polymerOrder || 0] = S.id);
3399
- }), g;
3400
- }), s = W(() => {
3408
+ S.polymerId && (b[S.polymerId] || (b[S.polymerId] = []), b[S.polymerId][S.polymerOrder || 0] = S.id);
3409
+ }), b;
3410
+ }), s = G(() => {
3401
3411
  if (l.includes(e.data.problemType)) {
3402
- const g = (e.data.rawChildren || e.data.children).map((S) => S.subStr.length);
3403
- return { [`h${e.data.id}`]: Math.max(...g) };
3412
+ const b = (e.data.rawChildren || e.data.children).map((S) => S.subStr.length);
3413
+ return { [`h${e.data.id}`]: Math.max(...b) };
3404
3414
  } else
3405
- return Object.keys(y.value).map((g) => {
3406
- const S = (e.data.rawChildren || e.data.children).filter((I) => I.polymerId === g).map((I) => I.subStr.length);
3415
+ return Object.keys(y.value).map((b) => {
3416
+ const S = (e.data.rawChildren || e.data.children).filter((I) => I.polymerId === b).map((I) => I.subStr.length);
3407
3417
  return {
3408
- [g]: Math.max(...S)
3418
+ [b]: Math.max(...S)
3409
3419
  };
3410
- }).reduce((g, S) => ({ ...g, ...S }), {});
3420
+ }).reduce((b, S) => ({ ...b, ...S }), {});
3411
3421
  });
3412
3422
  return {
3413
3423
  Gps_cls: $,
3414
3424
  problemLayoutKey: d,
3415
- problemLayoutVal: f,
3425
+ problemLayoutVal: _,
3416
3426
  hoverActive: i,
3417
3427
  ModuleTag: o,
3418
3428
  ChoiceType: n,
3419
3429
  GroupData: c,
3420
3430
  PolymerData: y,
3421
3431
  SubWidthInfo: s,
3422
- ComputName: (g) => !g.problemType || g.notAreaFlag ? "notArea" : a.value[g.problemType],
3423
- ComputAbs: (g) => o && [u.slove, u.art].includes(g.problemType),
3424
- ComputPolymerCls: (g) => [u.decide].includes(g.problemType) ? [] : g.styleInfo[d[e.layout.mode].choice_a] === f.choice_2 ? ["port_view"] : ["grid", g.groupIndex && "mt-6"],
3425
- ComputPolymerStyle: (g) => {
3432
+ ComputName: (b) => !b.problemType || b.notAreaFlag ? "notArea" : a.value[b.problemType],
3433
+ ComputAbs: (b) => o && [u.slove, u.art].includes(b.problemType),
3434
+ ComputPolymerCls: (b) => [u.decide].includes(b.problemType) ? [] : b.styleInfo[d[e.layout.mode].choice_a] === _.choice_2 ? ["port_view"] : ["grid", b.groupIndex && "mt-6"],
3435
+ ComputPolymerStyle: (b) => {
3426
3436
  var I;
3427
3437
  let S = {};
3428
- if ([u.fill, u.fill_english].includes(g.problemType))
3429
- switch (g.styleInfo[d[e.layout.mode].fill_g]) {
3430
- case f.portrait:
3438
+ if ([u.fill, u.fill_english].includes(b.problemType))
3439
+ switch (b.styleInfo[d[e.layout.mode].fill_g]) {
3440
+ case _.portrait:
3431
3441
  S = {
3432
3442
  "grid-auto-flow": e.noPortrait ? "row" : "column",
3433
- "grid-template-columns": `repeat(${Math.floor(g.styleInfo[d[e.layout.mode].fill_f])}, 1fr)`,
3434
- "grid-template-rows": `repeat(${Math.ceil(g.children.length / Math.floor(g.styleInfo[d[e.layout.mode].fill_f]))}, 1fr)`
3443
+ "grid-template-columns": `repeat(${Math.floor(b.styleInfo[d[e.layout.mode].fill_f])}, 1fr)`,
3444
+ "grid-template-rows": `repeat(${Math.ceil(b.children.length / Math.floor(b.styleInfo[d[e.layout.mode].fill_f]))}, 1fr)`
3435
3445
  };
3436
3446
  break;
3437
3447
  }
3438
- else if (Object.values(He).includes(g.problemType)) {
3439
- if (g.styleInfo[d[e.layout.mode].choice_a] === f.choice_2)
3448
+ else if (Object.values(He).includes(b.problemType)) {
3449
+ if (b.styleInfo[d[e.layout.mode].choice_a] === _.choice_2)
3440
3450
  return S;
3441
- let N = [];
3442
- const ue = g.styleInfo[d[e.layout.mode].choice_b] === f.landscape, Y = g.styleInfo[d[e.layout.mode].choice_e] || 20, T = (s.value[`h${e.data.id}`] || s.value[g.polymerId] || s.value[((I = e.data.children[0]) == null ? void 0 : I.polymerId) || ""] || 0) * 10 + 10, v = g.colList.map((_) => _ * (Fe[e.layout.fillSize].value + 9) + T);
3443
- switch (g.styleInfo[d[e.layout.mode].choice_f]) {
3444
- case f.choice_6:
3445
- N = v.map((_) => `${_}px`);
3451
+ let O = [];
3452
+ const ae = b.styleInfo[d[e.layout.mode].choice_b] === _.landscape, U = b.styleInfo[d[e.layout.mode].choice_e] || 20, T = (s.value[`h${e.data.id}`] || s.value[b.polymerId] || s.value[((I = e.data.children[0]) == null ? void 0 : I.polymerId) || ""] || 0) * 10 + 10, f = b.colList.map((g) => g * (Le[e.layout.fillSize].value + 9) + T);
3453
+ switch (b.styleInfo[d[e.layout.mode].choice_f]) {
3454
+ case _.choice_6:
3455
+ O = f.map((g) => `${g}px`);
3446
3456
  break;
3447
- case f.choice_7:
3457
+ case _.choice_7:
3448
3458
  default:
3449
- N = v.map((_) => `${_ / Math.max(...v)}fr`);
3459
+ O = f.map((g) => `${g / Math.max(...f)}fr`);
3450
3460
  }
3451
- switch (g.styleInfo[d[e.layout.mode].choice_a]) {
3452
- case f.choice_1:
3453
- case f.choice_3:
3454
- ue && !e.noPortrait && [...Array(Math.ceil(g.children.length / Y)).keys()].map((R) => g.children.filter((q, E) => E >= R * Y && E < (R + 1) * Y)).map((R, q) => R.map((E, H) => ({ ...E, _grid_area_: ue ? null : ut[H] + q }))).flat(2).forEach((R) => {
3455
- const q = g.children.find((E) => E.id === R.id);
3456
- q._grid_area_ = R._grid_area_;
3457
- }), S = ue ? {
3458
- "grid-template": `repeat(${Math.ceil(g.children.length / g.col)}, 1fr) / ${N.join(" ")}`
3461
+ switch (b.styleInfo[d[e.layout.mode].choice_a]) {
3462
+ case _.choice_1:
3463
+ case _.choice_3:
3464
+ ae && !e.noPortrait && [...Array(Math.ceil(b.children.length / U)).keys()].map((z) => b.children.filter((K, E) => E >= z * U && E < (z + 1) * U)).map((z, K) => z.map((E, W) => ({ ...E, _grid_area_: ae ? null : ut[W] + K }))).flat(2).forEach((z) => {
3465
+ const K = b.children.find((E) => E.id === z.id);
3466
+ K._grid_area_ = z._grid_area_;
3467
+ }), S = ae ? {
3468
+ "grid-template": `repeat(${Math.ceil(b.children.length / b.col)}, 1fr) / ${O.join(" ")}`
3459
3469
  } : {
3460
3470
  "grid-auto-flow": "column",
3461
- "grid-template": `repeat(${Math.min(Y, g.children.length)}, 1fr) / ${N.join(" ")}`
3471
+ "grid-template": `repeat(${Math.min(U, b.children.length)}, 1fr) / ${O.join(" ")}`
3462
3472
  };
3463
3473
  break;
3464
3474
  }
3465
3475
  }
3466
3476
  return S;
3467
3477
  },
3468
- ComputPolymerItemStyle: (g, S) => {
3478
+ ComputPolymerItemStyle: (b, S) => {
3469
3479
  var I;
3470
- if (g._grid_area_)
3480
+ if (b._grid_area_)
3471
3481
  return {
3472
- "grid-area": g._grid_area_
3482
+ "grid-area": b._grid_area_
3473
3483
  };
3474
- if (Object.values(He).includes(g.problemType) && g.style[d[e.layout.mode].choice_a] === f.choice_2) {
3475
- const N = Math.max(Fe[e.layout.fillSize].value + 9, (s.value[`h${e.data.id}`] || s.value[g.polymerId] || s.value[(I = g.children[0]) == null ? void 0 : I.polymerId] || 0) * 10 + 10), ue = Math.floor(e.width / (N * g.style[d[e.layout.mode].choice_c] + 10)), Y = (e.width - N * ue * g.style[d[e.layout.mode].choice_c]) / (ue - 1 || 1) - 1;
3476
- return !((S + 1) % g.style[d[e.layout.mode].choice_c]) && ((S + 1) % (g.style[d[e.layout.mode].choice_c] * ue) || ue < 2) ? {
3477
- "min-width": `${N - 5}px`,
3478
- "margin-right": `${Y}px`
3484
+ if (Object.values(He).includes(b.problemType) && b.style[d[e.layout.mode].choice_a] === _.choice_2) {
3485
+ const O = Math.max(Le[e.layout.fillSize].value + 9, (s.value[`h${e.data.id}`] || s.value[b.polymerId] || s.value[(I = b.children[0]) == null ? void 0 : I.polymerId] || 0) * 10 + 10), ae = Math.floor(e.width / (O * b.style[d[e.layout.mode].choice_c] + 10)), U = (e.width - O * ae * b.style[d[e.layout.mode].choice_c]) / (ae - 1 || 1) - 1;
3486
+ return !((S + 1) % b.style[d[e.layout.mode].choice_c]) && ((S + 1) % (b.style[d[e.layout.mode].choice_c] * ae) || ae < 2) ? {
3487
+ "min-width": `${O - 5}px`,
3488
+ "margin-right": `${U}px`
3479
3489
  } : {
3480
- "min-width": `${N - 5}px`
3490
+ "min-width": `${O - 5}px`
3481
3491
  };
3482
3492
  }
3483
3493
  return {};
3484
3494
  },
3485
- ComputStyle: (g, S) => {
3486
- var N;
3495
+ ComputStyle: (b, S) => {
3496
+ var O;
3487
3497
  let I = {};
3488
3498
  if (!o)
3489
3499
  return I;
3490
- if (l.includes(g.problemType)) {
3491
- let ue = {};
3500
+ if (l.includes(b.problemType)) {
3501
+ let ae = {};
3492
3502
  if (Object.values(He).includes(e.data.problemType)) {
3493
- const Y = Math.max(.../*props.data.rawChildren || */
3494
- e.data.children.map((v) => v.optList.length)) * (Fe[e.layout.fillSize].value + 9) + (s.value[`h${e.data.id}`] || s.value[g.polymerId || ""] || s.value[((N = e.data.children[0]) == null ? void 0 : N.polymerId) || ""] || 0) * 10 + 10, T = Math.min(Math.floor(e.width / Y), e.data.style[d[e.layout.mode].choice_d] || 10);
3495
- ue = S % T ? { minWidth: `${Y}px`, marginLeft: `${(e.width - Y * T) / (T - 1) - 5}px` } : { minWidth: `${Y}px` };
3503
+ const U = Math.max(.../*props.data.rawChildren || */
3504
+ e.data.children.map((f) => f.optList.length)) * (Le[e.layout.fillSize].value + 9) + (s.value[`h${e.data.id}`] || s.value[b.polymerId || ""] || s.value[((O = e.data.children[0]) == null ? void 0 : O.polymerId) || ""] || 0) * 10 + 10, T = Math.min(Math.floor(e.width / U), e.data.style[d[e.layout.mode].choice_d] || 10);
3505
+ ae = S % T ? { minWidth: `${U}px`, marginLeft: `${(e.width - U * T) / (T - 1) - 5}px` } : { minWidth: `${U}px` };
3496
3506
  }
3497
3507
  I = {
3498
3508
  ...I,
3499
3509
  display: "inline-flex",
3500
- ...ue
3510
+ ...ae
3501
3511
  };
3502
3512
  } else
3503
- [u.fill, u.fill_english, u.easy_slove].includes(g.problemType) && (I = {
3513
+ [u.fill, u.fill_english, u.easy_slove].includes(b.problemType) && (I = {
3504
3514
  // display: (item.style[problemLayoutKey[props.layout.mode].fill_c] === problemLayoutVal.fill_1 && item.answerLen === 1) ? 'flex' : 'inline-flex',
3505
3515
  display: "inline-flex",
3506
3516
  alignItems: "flex-end",
3507
- width: `calc(${100 / ([u.easy_slove].includes(g.problemType) ? g.style[d[e.layout.mode].easy_slove_c] : g.style[d[e.layout.mode].fill_d][g.order || 0])}% - 6px)`
3517
+ width: `calc(${100 / ([u.easy_slove].includes(b.problemType) ? b.style[d[e.layout.mode].easy_slove_c] : b.style[d[e.layout.mode].fill_d][b.order || 0])}% - 6px)`
3508
3518
  // paddingTop: `${10 + item.style[problemLayoutKey[props.layout.mode].fill_e]}px`
3509
3519
  });
3510
3520
  return I;
3511
3521
  },
3512
- ComputBlock: (g) => {
3522
+ ComputBlock: (b) => {
3513
3523
  const S = [...l, u.fill, u.fill_english];
3514
- if (o && (S.includes(g.problemType) || typeof g.groupIndex == "number"))
3524
+ if (o && (S.includes(b.problemType) || typeof b.groupIndex == "number"))
3515
3525
  return Ie;
3516
3526
  },
3517
- ComputItemScore: (g) => [u.slove, u.easy_slove, u.art].includes(g.problemType) && g.style[d.public.scoreShowFlag] !== f.bracket_none ? [g.score].flat(2).reduce((I, N) => I + N, 0) : null,
3518
- ComputPayload: (g, S) => {
3519
- switch (g.problemType) {
3527
+ ComputItemScore: (b) => [u.slove, u.easy_slove, u.art].includes(b.problemType) && b.style[d.public.scoreShowFlag] !== _.bracket_none ? [b.score].flat(2).reduce((I, O) => I + O, 0) : null,
3528
+ ComputPayload: (b, S) => {
3529
+ switch (b.problemType) {
3520
3530
  case u.slove:
3521
3531
  return { isFirst: !S };
3522
3532
  default:
3523
3533
  return {};
3524
3534
  }
3525
3535
  },
3526
- handleHoverIn: (g) => {
3527
- i.value = g.rootProblemId;
3536
+ handleHoverIn: (b) => {
3537
+ i.value = b.rootProblemId;
3528
3538
  },
3529
- handleHoverOut: (g) => {
3539
+ handleHoverOut: (b) => {
3530
3540
  i.value = "";
3531
3541
  },
3532
- handleClick: (g, S) => {
3533
- e.data.isPolymer || (g.stopPropagation(), t("click", S));
3542
+ handleClick: (b, S) => {
3543
+ e.data.isPolymer || (b.stopPropagation(), t("click", S));
3534
3544
  },
3535
- handleGroupClick: (g, S) => {
3536
- (Object.values(Ce).includes(S.__rootProblemType__) || !e.layout.polymerFlag || [u.mix, u.synthesis].includes(S.problemType)) && (g.stopPropagation(), t("click", S));
3545
+ handleGroupClick: (b, S) => {
3546
+ (Object.values(Se).includes(S.__rootProblemType__) || !e.layout.polymerFlag || [u.mix, u.synthesis].includes(S.problemType)) && (b.stopPropagation(), t("click", S));
3537
3547
  },
3538
- handleDblClick: (g, S) => {
3539
- e.data.isPolymer || (g.stopPropagation(), t("dbclick", S));
3548
+ handleDblClick: (b, S) => {
3549
+ e.data.isPolymer || (b.stopPropagation(), t("dbclick", S));
3540
3550
  }
3541
3551
  };
3542
3552
  }
3543
3553
  }, os = ["data-block", "data-polymer"], as = ["data-tag", "data-polymer", "data-block", "data-xine", "onClick", "onMouseenter", "onMouseleave"], ls = ["data-tag", "data-block", "data-xine", "onClick", "onDblclick", "onMouseenter", "onMouseleave"], ns = { key: 0 };
3544
3554
  function ss(e, t, o, l, i, a) {
3545
3555
  const n = qt("Sub");
3546
- return r(!0), h(O, null, le(l.GroupData, (c, y) => (r(), h(O, null, [
3556
+ return r(!0), h(R, null, se(l.GroupData, (c, y) => (r(), h(R, null, [
3547
3557
  c.type === "polymer" ? (r(), h("div", {
3548
3558
  key: 0,
3549
3559
  "data-block": l.ComputBlock(c),
3550
3560
  "data-polymer": y,
3551
- class: oe([...l.ComputPolymerCls(c)]),
3552
- style: X(l.ComputPolymerStyle(c))
3561
+ class: le([...l.ComputPolymerCls(c)]),
3562
+ style: Z(l.ComputPolymerStyle(c))
3553
3563
  }, [
3554
- (r(!0), h(O, null, le(c.children, (s, m) => {
3555
- var A;
3564
+ (r(!0), h(R, null, se(c.children, (s, m) => {
3565
+ var D;
3556
3566
  return r(), h("div", {
3557
- class: oe(["inline-flex items-center relative rounded-lg border p-1 m-1 hover:bg-gray hover:rounded-md hover:bg-opacity-70 port_item", l.hoverActive === s.rootProblemId && "bg-gray rounded-lg bg-opacity-70", ((A = o.target.value) == null ? void 0 : A.rootProblemId) === s.rootProblemId ? "border-current" : "border-transparent"]),
3558
- style: X(l.ComputPolymerItemStyle(s, m)),
3567
+ class: le(["inline-flex items-center relative rounded-lg border p-1 m-1 hover:bg-gray hover:rounded-md hover:bg-opacity-70 port_item", l.hoverActive === s.rootProblemId && "bg-gray rounded-lg bg-opacity-70", ((D = o.target.value) == null ? void 0 : D.rootProblemId) === s.rootProblemId ? "border-current" : "border-transparent"]),
3568
+ style: Z(l.ComputPolymerItemStyle(s, m)),
3559
3569
  "data-tag": s.__tag__,
3560
3570
  "data-polymer": y,
3561
3571
  "data-block": l.ComputBlock(s),
@@ -3564,22 +3574,22 @@ function ss(e, t, o, l, i, a) {
3564
3574
  onMouseenter: (p) => l.handleHoverIn(s),
3565
3575
  onMouseleave: (p) => l.handleHoverOut(s)
3566
3576
  }, [
3567
- s.problemType ? (r(), ee(n, {
3577
+ s.problemType ? (r(), te(n, {
3568
3578
  key: 0,
3569
3579
  sub: s.sub,
3570
3580
  isFull: !!l.ModuleTag,
3571
3581
  width: l.SubWidthInfo[`h${s.headLineId}`] || l.SubWidthInfo[s.polymerId || ""] || 0,
3572
- class: oe(["sub_item", l.ComputAbs(s) && "absolute left-0 top-3 left_sub"])
3573
- }, null, 8, ["sub", "isFull", "width", "class"])) : B("", !0),
3574
- (r(), ee(wt(l.ComputName(s)), kt(xt({ item: s, layout: o.layout, ...l.ComputPayload(s, m) })), null, 16))
3582
+ class: le(["sub_item", l.ComputAbs(s) && "absolute left-0 top-3 left_sub"])
3583
+ }, null, 8, ["sub", "isFull", "width", "class"])) : N("", !0),
3584
+ (r(), te(wt(l.ComputName(s)), kt(xt({ item: s, layout: o.layout, ...l.ComputPayload(s, m) })), null, 16))
3575
3585
  ], 46, as);
3576
3586
  }), 256))
3577
- ], 14, os)) : (r(!0), h(O, { key: 1 }, le(c.children, (s, m) => {
3578
- var A;
3579
- return r(), h(O, null, [
3587
+ ], 14, os)) : (r(!0), h(R, { key: 1 }, se(c.children, (s, m) => {
3588
+ var D;
3589
+ return r(), h(R, null, [
3580
3590
  k("div", {
3581
- class: oe(["flex items-center relative rounded-lg border p-1 m-1 hover:bg-gray hover:rounded-md hover:bg-opacity-70", l.hoverActive === s.rootProblemId && "bg-gray rounded-lg bg-opacity-70", ((A = o.target.value) == null ? void 0 : A.rootProblemId) === s.rootProblemId ? "border-current" : "border-transparent"]),
3582
- style: X(l.ComputStyle(s, m)),
3591
+ class: le(["flex items-center relative rounded-lg border p-1 m-1 hover:bg-gray hover:rounded-md hover:bg-opacity-70", l.hoverActive === s.rootProblemId && "bg-gray rounded-lg bg-opacity-70", ((D = o.target.value) == null ? void 0 : D.rootProblemId) === s.rootProblemId ? "border-current" : "border-transparent"]),
3592
+ style: Z(l.ComputStyle(s, m)),
3583
3593
  "data-tag": s.__tag__,
3584
3594
  "data-block": l.ComputBlock(s),
3585
3595
  "data-xine": l.Gps_cls.item + s._sub,
@@ -3588,17 +3598,17 @@ function ss(e, t, o, l, i, a) {
3588
3598
  onMouseenter: (p) => l.handleHoverIn(s),
3589
3599
  onMouseleave: (p) => l.handleHoverOut(s)
3590
3600
  }, [
3591
- s.problemType && !l.ComputAbs(s) ? (r(), ee(n, {
3601
+ s.problemType && !l.ComputAbs(s) ? (r(), te(n, {
3592
3602
  key: 0,
3593
3603
  sub: s.sub,
3594
3604
  isFull: !!l.ModuleTag,
3595
3605
  width: l.SubWidthInfo[`h${s.headLineId}`] || l.SubWidthInfo[s.polymerId || ""] || 0,
3596
3606
  score: l.ComputItemScore(s),
3597
3607
  bracketType: s.style[l.problemLayoutKey.public.scoreShowFlag]
3598
- }, null, 8, ["sub", "isFull", "width", "score", "bracketType"])) : B("", !0),
3599
- (r(), ee(wt(l.ComputName(s)), kt(xt({ item: s, layout: o.layout, ...l.ComputPayload(s, m) })), {
3608
+ }, null, 8, ["sub", "isFull", "width", "score", "bracketType"])) : N("", !0),
3609
+ (r(), te(wt(l.ComputName(s)), kt(xt({ item: s, layout: o.layout, ...l.ComputPayload(s, m) })), {
3600
3610
  default: Et(() => [
3601
- s.customSub ? B("", !0) : (r(), ee(n, {
3611
+ s.customSub ? N("", !0) : (r(), te(n, {
3602
3612
  key: 0,
3603
3613
  sub: s.sub,
3604
3614
  isFull: !!l.ModuleTag,
@@ -3610,23 +3620,23 @@ function ss(e, t, o, l, i, a) {
3610
3620
  _: 2
3611
3621
  }, 1040))
3612
3622
  ], 46, ls),
3613
- s.polymerId && l.PolymerData[s.polymerId][l.PolymerData[s.polymerId].length - 1] === s.id || s.style && s.style[l.problemLayoutKey[o.layout.mode].fill_c] === l.problemLayoutVal.fill_1 && s.order === s.answerLen - 1 ? (r(), h("div", ns)) : B("", !0)
3623
+ s.polymerId && l.PolymerData[s.polymerId][l.PolymerData[s.polymerId].length - 1] === s.id || s.style && s.style[l.problemLayoutKey[o.layout.mode].fill_c] === l.problemLayoutVal.fill_1 && s.order === s.answerLen - 1 ? (r(), h("div", ns)) : N("", !0)
3614
3624
  ], 64);
3615
3625
  }), 256))
3616
3626
  ], 64))), 256);
3617
3627
  }
3618
- const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3628
+ const Xe = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3619
3629
  const i = (e.length > 1 ? [e[0], e[e.length - 1]] : e).map((c) => c.split(".")).map((c) => `${c[0] ? `<span>${c[0]}</span>` : ""}${c[1] ? `<span> - </span><span>${c[1]}</span>` : ""}${c[2] ? `<span> - </span><span class="flex items-center justify-center w-8 h-8 border rounded-full scale-75">${c[2]}</span>` : ""}`).filter((c) => c).join(""), a = (c) => {
3620
3630
  if (!o)
3621
3631
  return "";
3622
3632
  if (c === "prev")
3623
- return o === f.bracket_cn ? "(" : "(";
3633
+ return o === _.bracket_cn ? "(" : "(";
3624
3634
  if (c === "after")
3625
- return o === f.bracket_cn ? ")" : ")";
3635
+ return o === _.bracket_cn ? ")" : ")";
3626
3636
  }, n = t ? `<span>${a("prev")}${t}分${a("after")}</span>` : "";
3627
3637
  return i ? `<span class="inline-flex items-center flex-shrink-0 leading-none whitespace-nowrap mr-2 mt-[1px]" data-block=${Be}>${i}${n}</span>` : "";
3628
- }, Pe = 200 / 96, Rt = 4, rs = 10, Q = (e) => (e == null ? void 0 : e.getBoundingClientRect()) || null, he = (e, t) => (t || document.body.querySelector(".__layout__")).querySelector(`*[data-xine="${e}"]`), Me = (e, t) => Array.from((t || document.body.querySelector(".__layout__")).querySelectorAll(`*[data-xine="${e}"]`) || []), cs = (e, t, o) => {
3629
- const l = Q(he(`${$.item}${e._sub}`, t));
3638
+ }, Pe = 200 / 96, Rt = 4, rs = 10, Y = (e) => (e == null ? void 0 : e.getBoundingClientRect()) || null, he = (e, t) => (t || document.body.querySelector(".__layout__")).querySelector(`*[data-xine="${e}"]`), Me = (e, t) => Array.from((t || document.body.querySelector(".__layout__")).querySelectorAll(`*[data-xine="${e}"]`) || []), cs = (e, t, o) => {
3639
+ const l = Y(he(`${$.item}${e._sub}`, t));
3630
3640
  return !(l.top >= o.top + o.height || l.top + l.height < o.top);
3631
3641
  }, pe = (e, t, o = !1) => !e || !t ? null : {
3632
3642
  x: e.x - t.x,
@@ -3641,14 +3651,14 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3641
3651
  width: 0,
3642
3652
  height: 0
3643
3653
  };
3644
- const a = Q(e), n = Math.min(t.height, a.y < t.y ? a.y + a.height - t.y : a.y + a.height > t.y + t.height || i ? t.y + t.height - a.y : a.height);
3654
+ const a = Y(e), n = Math.min(t.height, a.y < t.y ? a.y + a.height - t.y : a.y + a.height > t.y + t.height || i ? t.y + t.height - a.y : a.height);
3645
3655
  return n > 5 ? {
3646
3656
  x: a.x - o.x,
3647
3657
  y: Math.max(a.y, t.y) + (l ? 1 : 0) - o.y,
3648
3658
  width: a.width,
3649
3659
  height: n - (l ? 2 : 0)
3650
3660
  } : null;
3651
- }, ce = (e, t = !1) => {
3661
+ }, de = (e, t = !1) => {
3652
3662
  if (!e)
3653
3663
  return null;
3654
3664
  const o = t ? Rt : 0, l = e || { x: 0, y: 0, width: 0, height: 0 };
@@ -3664,24 +3674,24 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3664
3674
  return null;
3665
3675
  const l = {
3666
3676
  // area: GetPosition(el, config.pageDom[0]),
3667
- area: pe(Q(o), Q(e.pageDom[0])),
3668
- list: Me($.en_num_group, o).map((i) => Me($.en_num_item, i).map((a) => pe(Q(a), Q(e.pageDom[0]), !0)))
3677
+ area: pe(Y(o), Y(e.pageDom[0])),
3678
+ list: Me($.en_num_group, o).map((i) => Me($.en_num_item, i).map((a) => pe(Y(a), Y(e.pageDom[0]), !0)))
3669
3679
  };
3670
3680
  return e.bindWidth ? {
3671
3681
  choiceGridSequenceNOList: [...Array(10).keys()].reverse(),
3672
3682
  yRowOffset: Math.round((l.list[0][0].y - l.list[0][1].y - l.list[0][1].height) * Pe),
3673
- firstChoicePosition: ce(l.list[0][9]),
3683
+ firstChoicePosition: de(l.list[0][9]),
3674
3684
  crosswised: !1,
3675
- choiceQuestionPosition: ce(l.area),
3685
+ choiceQuestionPosition: de(l.area),
3676
3686
  choiceQuestionCount: l.list.length,
3677
3687
  xColOffset: Math.round((l.list[1][0].x - l.list[0][0].x - l.list[0][0].width) * Pe),
3678
3688
  questionNOList: [...Array(l.list.length).keys()].map((i, a) => a + 1)
3679
3689
  } : {
3680
3690
  choiceGridSequenceNOList: [...Array(10).keys()],
3681
3691
  yRowOffset: Math.round((l.list[1][0].y - l.list[0][0].y - l.list[0][0].height) * Pe),
3682
- firstChoicePosition: ce(l.list[0][0]),
3692
+ firstChoicePosition: de(l.list[0][0]),
3683
3693
  crosswised: !0,
3684
- choiceQuestionPosition: ce(l.area),
3694
+ choiceQuestionPosition: de(l.area),
3685
3695
  choiceQuestionCount: l.list.length,
3686
3696
  xColOffset: Math.round((l.list[0][1].x - l.list[0][0].x - l.list[0][0].width) * Pe),
3687
3697
  questionNOList: [...Array(l.list.length).keys()].map((i, a) => a + 1)
@@ -3694,32 +3704,32 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3694
3704
  paperWidth: Math.round(x[e.layout.paper].width * Pe),
3695
3705
  paperHeight: Math.round(x[e.layout.paper].height * Pe)
3696
3706
  }), us = (e) => {
3697
- const t = Q(e.pageDom[0]), o = Q(e.pageDom[1]), l = (a, n) => {
3707
+ const t = Y(e.pageDom[0]), o = Y(e.pageDom[1]), l = (a, n) => {
3698
3708
  var y;
3699
3709
  const c = n > 2 || tt.includes(e.layout.paper) ? {
3700
- trdLeftTopPos: ce(pe(Q(Me(`${$.point}t`, e.pageDom[a])[1]), Q(e.pageDom[a]))),
3701
- trdLeftBottomPos: ce(pe(Q(Me(`${$.point}b`, e.pageDom[a])[1]), Q(e.pageDom[a])))
3710
+ trdLeftTopPos: de(pe(Y(Me(`${$.point}t`, e.pageDom[a])[1]), Y(e.pageDom[a]))),
3711
+ trdLeftBottomPos: de(pe(Y(Me(`${$.point}b`, e.pageDom[a])[1]), Y(e.pageDom[a])))
3702
3712
  } : {};
3703
3713
  return (y = qe.find((s) => s.code === e.layout.paper)) != null && y.isMultCol ? {
3704
- secLeftTopPos: ce(pe(Q(Me(`${$.point}t`, e.pageDom[a])[0]), Q(e.pageDom[a]))),
3705
- secLeftBottomPos: ce(pe(Q(Me(`${$.point}b`, e.pageDom[a])[0]), Q(e.pageDom[a]))),
3714
+ secLeftTopPos: de(pe(Y(Me(`${$.point}t`, e.pageDom[a])[0]), Y(e.pageDom[a]))),
3715
+ secLeftBottomPos: de(pe(Y(Me(`${$.point}b`, e.pageDom[a])[0]), Y(e.pageDom[a]))),
3706
3716
  ...c
3707
3717
  } : null;
3708
3718
  }, i = [
3709
- ce(pe(Q(he(`${$.point}l`, e.pageDom[0])), t)),
3710
- ce(pe(Q(he(`${$.point}r`, e.pageDom[0])), t))
3719
+ de(pe(Y(he(`${$.point}l`, e.pageDom[0])), t)),
3720
+ de(pe(Y(he(`${$.point}r`, e.pageDom[0])), t))
3711
3721
  ];
3712
3722
  return {
3713
3723
  // 取第一/二页定位点信息
3714
- leftTopPos: ce(pe(Q(he(`${$.point}lt`, e.pageDom[0])), t)),
3715
- rightTopPos: ce(pe(Q(he(`${$.point}rt`, e.pageDom[0])), t)),
3716
- leftBottomPos: ce(pe(Q(he(`${$.point}lb`, e.pageDom[0])), t)),
3717
- rightBottomPos: ce(pe(Q(he(`${$.point}rb`, e.pageDom[0])), t)),
3724
+ leftTopPos: de(pe(Y(he(`${$.point}lt`, e.pageDom[0])), t)),
3725
+ rightTopPos: de(pe(Y(he(`${$.point}rt`, e.pageDom[0])), t)),
3726
+ leftBottomPos: de(pe(Y(he(`${$.point}lb`, e.pageDom[0])), t)),
3727
+ rightBottomPos: de(pe(Y(he(`${$.point}rb`, e.pageDom[0])), t)),
3718
3728
  // waistAuxAnchorInfo: getAuxInfo(0, true),
3719
3729
  verticalAuxInfo: i,
3720
3730
  verticalAuxInfo2: e.pageDom[1] ? e.bindWidth ? [
3721
- ce(pe(Q(he(`${$.point}l`, e.pageDom[1])), o)),
3722
- ce(pe(Q(he(`${$.point}r`, e.pageDom[1])), o))
3731
+ de(pe(Y(he(`${$.point}l`, e.pageDom[1])), o)),
3732
+ de(pe(Y(he(`${$.point}r`, e.pageDom[1])), o))
3723
3733
  ] : i : null,
3724
3734
  auxAnchorInfo: l(0, e.layout.column),
3725
3735
  auxAnchorInfo2: e.pageDom[1] ? l(1, e.layout.backColumn) : null
@@ -3730,7 +3740,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3730
3740
  const l = he(`${$.page_item}0`, e.pageDom[1]).getBoundingClientRect();
3731
3741
  t = he(`${$.page_item}1`, e.pageDom[1]).getBoundingClientRect().left - l.left - l.width;
3732
3742
  }
3733
- let o = pe(Q(he($.page, e.pageDom[e.pageTotal - 1])), Q(e.pageDom[e.pageTotal - 1]));
3743
+ let o = pe(Y(he($.page, e.pageDom[e.pageTotal - 1])), Y(e.pageDom[e.pageTotal - 1]));
3734
3744
  return o = { ...o, y: o.y % (x[e.layout.paper].height + (e.pageMargin || 0)) }, [
3735
3745
  {
3736
3746
  // 固定值
@@ -3738,9 +3748,9 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3738
3748
  // 固定值
3739
3749
  questionNOList: [1],
3740
3750
  // 页码区块位置,部分需动态获取 x y width height
3741
- choiceQuestionPosition: ce(o, !0),
3751
+ choiceQuestionPosition: de(o, !0),
3742
3752
  // 页码点区块第一个页码点的位置,部分需动态获取
3743
- firstChoicePosition: ce(pe(Q(he(`${$.page_item}0`, e.pageDom[e.pageTotal - 1])), Q(e.pageDom[e.pageTotal - 1]))),
3753
+ firstChoicePosition: de(pe(Y(he(`${$.page_item}0`, e.pageDom[e.pageTotal - 1])), Y(e.pageDom[e.pageTotal - 1]))),
3744
3754
  // 页码点最大值,展开为数组
3745
3755
  choiceGridSequenceNOList: _t.filter((l, i) => i < e.pageTotal),
3746
3756
  // 排列方向
@@ -3759,9 +3769,9 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3759
3769
  // 固定值
3760
3770
  questionNOList: [1],
3761
3771
  // 方框业务坐标
3762
- choiceQuestionPosition: ce(pe(Q(t), Q(e.pageDom[0])), !0),
3772
+ choiceQuestionPosition: de(pe(Y(t), Y(e.pageDom[0])), !0),
3763
3773
  // 数据坐标
3764
- firstChoicePosition: ce(pe(Q(t), Q(e.pageDom[0]))),
3774
+ firstChoicePosition: de(pe(Y(t), Y(e.pageDom[0]))),
3765
3775
  // 固定值
3766
3776
  choiceGridSequenceNOList: [
3767
3777
  "true"
@@ -3775,11 +3785,11 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3775
3785
  const t = he($.en_code, e.pageDom[0]);
3776
3786
  if (!t)
3777
3787
  return null;
3778
- let o = pe(Q(t), Q(e.pageDom[0]));
3788
+ let o = pe(Y(t), Y(e.pageDom[0]));
3779
3789
  return {
3780
3790
  // 条形码虚线框位置, x, y, width, height
3781
3791
  // encodePictureArea: ComputPoint(GetPosition(GetEl(GpsKey.en_code, config.pageDom[0]), config.pageDom[0])),
3782
- encodePictureArea: ce(o),
3792
+ encodePictureArea: de(o),
3783
3793
  // ComputPoint(GetPosition(GetEl(GpsKey.en_code, config.pageDom[0]), config.pageDom[0])),
3784
3794
  // 固定值
3785
3795
  qrCodePosition: null,
@@ -3794,9 +3804,9 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3794
3804
  return {
3795
3805
  id: "0",
3796
3806
  problemType: u.slove,
3797
- position: pe(Q(t), Q(e.pageDom[0])),
3807
+ position: pe(Y(t), Y(e.pageDom[0])),
3798
3808
  scoreList: o.map((l, i) => ({
3799
- position: pe(Q(o[i]), Q(e.pageDom[0])),
3809
+ position: pe(Y(o[i]), Y(e.pageDom[0])),
3800
3810
  itemPosition: {
3801
3811
  width: o[i].offsetWidth
3802
3812
  },
@@ -3872,80 +3882,80 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3872
3882
  return [...Array(e.pageDom.length).keys()].map((i) => {
3873
3883
  var c, y, s, m;
3874
3884
  const a = Math.floor(i / 2) * (e.layout.column + e.layout.backColumn) + (i % 2 ? e.layout.column : 0), n = ((m = (s = t[t.length - 1]) == null ? void 0 : s.data[((y = (c = t[t.length - 1]) == null ? void 0 : c.data) == null ? void 0 : y.length) - 1]) == null ? void 0 : m.children) || [];
3875
- return [...Array(i % 2 ? e.layout.backColumn : e.layout.column).keys()].filter((A, p) => a + p < t.length).map((A, p) => {
3876
- const P = e.pageDom[i], z = Q(P), j = e.colDom[a + p], J = Q(j), D = e.colViewDom[a + p], w = Q(D), G = t[a + p].data.map((C) => C.children).flat(), ie = t[a + p].data.filter((C) => [Ce.one_choice, Ce.another_choice].includes(C.problemType) && C.rawChildren.length).map((C) => {
3877
- const U = he(`${$.choice}${C.id}`, j);
3878
- return U ? {
3885
+ return [...Array(i % 2 ? e.layout.backColumn : e.layout.column).keys()].filter((D, p) => a + p < t.length).map((D, p) => {
3886
+ const M = e.pageDom[i], H = Y(M), J = e.colDom[a + p], j = Y(J), B = e.colViewDom[a + p], w = Y(B), Q = t[a + p].data.map((C) => C.children).flat(), re = t[a + p].data.filter((C) => [Se.one_choice, Se.another_choice].includes(C.problemType) && C.rawChildren.length).map((C) => {
3887
+ const V = he(`${$.choice}${C.id}`, J);
3888
+ return V ? {
3879
3889
  id: `${++o}`,
3880
3890
  baseIndex: parseInt(C.rawChildren[0]._sub),
3881
- position: pe(Q(U), z),
3891
+ position: pe(Y(V), H),
3882
3892
  problemType: C.problemType,
3883
3893
  isOneChoice: !0,
3884
- optList: Me($.fill, U).map((de, g) => ({
3885
- id: `${o}.${g + 1}`,
3886
- position: pe(Q(de), z)
3887
- })).filter((de) => de.position)
3894
+ optList: Me($.fill, V).map((ue, b) => ({
3895
+ id: `${o}.${b + 1}`,
3896
+ position: pe(Y(ue), H)
3897
+ })).filter((ue) => ue.position)
3888
3898
  } : {};
3889
3899
  }).filter((C) => C.position);
3890
- return G.filter((C) => C.problemType && cs(C, j, J)).map((C, U) => {
3900
+ return Q.filter((C) => C.problemType && cs(C, J, j)).map((C, V) => {
3891
3901
  var S;
3892
- let de = {};
3902
+ let ue = {};
3893
3903
  l[C._sub] ? l[C._sub] += 1 : l[C._sub] = 1;
3894
- const g = he(`${$.item}${C._sub}`, j);
3904
+ const b = he(`${$.item}${C._sub}`, J);
3895
3905
  switch (C.problemType) {
3896
3906
  case u.choice:
3897
3907
  case u.choice_english:
3898
3908
  case u.choice_multiple:
3899
3909
  case u.cloze:
3900
- de = {
3910
+ ue = {
3901
3911
  score: C.score,
3902
- isColumn: C.style[d[e.layout.mode].choice_a] !== f.choice_2,
3903
- optList: C.optList.map((Y, T) => ({
3912
+ isColumn: C.style[d[e.layout.mode].choice_a] !== _.choice_2,
3913
+ optList: C.optList.map((U, T) => ({
3904
3914
  id: `${C._sub}.${T + 1}`,
3905
- position: Ne(he(`${$.fill}${T}`, g), w, z)
3906
- })).filter((Y) => Y.position)
3915
+ position: Ne(he(`${$.fill}${T}`, b), w, H)
3916
+ })).filter((U) => U.position)
3907
3917
  };
3908
3918
  break;
3909
3919
  case u.decide:
3910
- de = {
3911
- optList: [0, 1].map((Y, T) => ({
3920
+ ue = {
3921
+ optList: [0, 1].map((U, T) => ({
3912
3922
  id: `${C._sub}.${T + 1}`,
3913
- position: Ne(he(`${$.fill}${T}`, g), w, z)
3914
- })).filter((Y) => Y.position)
3923
+ position: Ne(he(`${$.fill}${T}`, b), w, H)
3924
+ })).filter((U) => U.position)
3915
3925
  };
3916
3926
  break;
3917
3927
  case u.fill:
3918
3928
  case u.fill_english:
3919
- const I = Me($.fill, g), N = Me($.fill_line, g);
3920
- de = {
3921
- children: [C.score].flat().map((Y, T, v) => ({
3922
- id: v.length > 1 ? `${C._sub}.${T + 1}` : C._sub,
3923
- score: Y,
3929
+ const I = Me($.fill, b), O = Me($.fill_line, b);
3930
+ ue = {
3931
+ children: [C.score].flat().map((U, T, f) => ({
3932
+ id: f.length > 1 ? `${C._sub}.${T + 1}` : C._sub,
3933
+ score: U,
3924
3934
  problemType: C.problemType,
3925
3935
  isHiddenContent: !C.style[d[e.layout.mode].fill_b],
3926
- position: Ne(g, w, z),
3927
- scorePosition: Ne(I[T], w, z),
3928
- answerPosition: Ne(N[T], w, z)
3929
- })).filter((Y) => Y.position)
3936
+ position: Ne(b, w, H),
3937
+ scorePosition: Ne(I[T], w, H),
3938
+ answerPosition: Ne(O[T], w, H)
3939
+ })).filter((U) => U.position)
3930
3940
  };
3931
3941
  break;
3932
3942
  case u.slove:
3933
3943
  case u.easy_slove:
3934
3944
  case u.art:
3935
- const ue = he($.score, g);
3936
- de = {
3937
- scoreList: ue ? [he($.score_tenbit, ue), he($.score_base, ue), he($.score_half, ue)].map((Y) => {
3938
- if (!Y)
3945
+ const ae = he($.score, b);
3946
+ ue = {
3947
+ scoreList: ae ? [he($.score_tenbit, ae), he($.score_base, ae), he($.score_half, ae)].map((U) => {
3948
+ if (!U)
3939
3949
  return {};
3940
- const T = Me($.score_item, Y);
3950
+ const T = Me($.score_item, U);
3941
3951
  return {
3942
- position: Ne(Y, w, z, !0),
3952
+ position: Ne(U, w, H, !0),
3943
3953
  itemPosition: {
3944
3954
  width: T[0].getBoundingClientRect().width
3945
3955
  },
3946
- score: T.map((v) => Math.abs(parseFloat(v.innerText)))
3956
+ score: T.map((f) => Math.abs(parseFloat(f.innerText)))
3947
3957
  };
3948
- }).filter((Y) => Y.position) : null
3958
+ }).filter((U) => U.position) : null
3949
3959
  };
3950
3960
  }
3951
3961
  return {
@@ -3955,10 +3965,10 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3955
3965
  problemType: C.problemType,
3956
3966
  _rootProblemType: C._rootProblemType,
3957
3967
  _parentProblemType: C._parentProblemType,
3958
- position: Ne(g, w, z, !1, C.id === G[G.length - 1].id && C.id !== ((S = n[n.length - 1]) == null ? void 0 : S.id) && [u.slove].includes(C.problemType)),
3959
- ...de
3968
+ position: Ne(b, w, H, !1, C.id === Q[Q.length - 1].id && C.id !== ((S = n[n.length - 1]) == null ? void 0 : S.id) && [u.slove].includes(C.problemType)),
3969
+ ...ue
3960
3970
  };
3961
- }).concat(ie).filter((C) => C.position);
3971
+ }).concat(re).filter((C) => C.position);
3962
3972
  });
3963
3973
  }).map((i) => i.flat());
3964
3974
  }, bs = (e) => {
@@ -3968,7 +3978,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3968
3978
  _parentProblemType: rt[e._parentProblemType]
3969
3979
  }, {
3970
3980
  // 块位置
3971
- sectionPosition: ce(a.position, !0),
3981
+ sectionPosition: de(a.position, !0),
3972
3982
  // 块ID,前端生成,同一道题同一个ID
3973
3983
  sectionID: a.id,
3974
3984
  // 块内序号ID,按切块自增
@@ -3995,7 +4005,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
3995
4005
  // 单个选项的信息数组
3996
4006
  choiceUnitSectionList: e.optList.map((a, n) => ({
3997
4007
  ...o(a, !0),
3998
- choicePosition: ce(a.position),
4008
+ choicePosition: de(a.position),
3999
4009
  choiceResult: [u.decide].includes(e.problemType) ? bo[n] : _t[n]
4000
4010
  }))
4001
4011
  }]
@@ -4011,10 +4021,10 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4011
4021
  // 每个小题的切图块
4012
4022
  singleBlankSectionList: (e.children || [e]).map((a) => ({
4013
4023
  ...o(a, !0),
4014
- answerPosition: ce(a.answerPosition, !0),
4024
+ answerPosition: de(a.answerPosition, !0),
4015
4025
  correctFrame: a.scorePosition && a.scorePosition.width && a.scorePosition.height ? [{
4016
- correctSectionPosition: ce(a.scorePosition, !0),
4017
- firstBlockPostion: ce(a.scorePosition),
4026
+ correctSectionPosition: de(a.scorePosition, !0),
4027
+ firstBlockPostion: de(a.scorePosition),
4018
4028
  gridScoresList: [a.score].flat(),
4019
4029
  lineMeanGetScore: !1,
4020
4030
  weight: 1
@@ -4036,8 +4046,8 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4036
4046
  ...o(e, !0),
4037
4047
  answerPosition: null,
4038
4048
  correctFrame: (e.scoreList || []).map((a) => ({
4039
- correctSectionPosition: ce(a.position, !0),
4040
- firstBlockPostion: ce({ ...a.position, ...a.itemPosition }),
4049
+ correctSectionPosition: de(a.position, !0),
4050
+ firstBlockPostion: de({ ...a.position, ...a.itemPosition }),
4041
4051
  gridScoresList: [a.score].flat(),
4042
4052
  lineMeanGetScore: !0,
4043
4053
  weight: 1
@@ -4049,8 +4059,8 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4049
4059
  case u.synthesis:
4050
4060
  case u.mix:
4051
4061
  break;
4052
- case Ce.one_choice:
4053
- case Ce.another_choice:
4062
+ case Se.one_choice:
4063
+ case Se.another_choice:
4054
4064
  l = {
4055
4065
  choiceQuestionPartialSectionList: [{
4056
4066
  ...o(e),
@@ -4063,7 +4073,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4063
4073
  // 单个选项的信息数组
4064
4074
  choiceUnitSectionList: e.optList.map((a, n) => ({
4065
4075
  ...o(a),
4066
- choicePosition: ce(a.position),
4076
+ choicePosition: de(a.position),
4067
4077
  choiceResult: (e.baseIndex + n).toString()
4068
4078
  }))
4069
4079
  }]
@@ -4099,42 +4109,42 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4099
4109
  }).flat()
4100
4110
  })), i = (n, c) => ([n.sectionID].flat(2)[0] || "").split(".").filter((y, s) => s < c).join("."), a = l.map((n) => {
4101
4111
  let c = [], y = [], s = [];
4102
- return n.cardCuttingSectionList.forEach((m, A, p) => {
4103
- const P = i(m, 1);
4104
- let z = !1, j = !1;
4105
- if (s.find((D) => i(D, 1) === P && D.secitonSeqID === m.secitonSeqID) && !(m.choiceQuestionPartialSectionList || [{}])[0].useForSelectable && (s.push(m), z = A < p.length - 1, j = !0), z)
4112
+ return n.cardCuttingSectionList.forEach((m, D, p) => {
4113
+ const M = i(m, 1);
4114
+ let H = !1, J = !1;
4115
+ if (s.find((B) => i(B, 1) === M && B.secitonSeqID === m.secitonSeqID) && !(m.choiceQuestionPartialSectionList || [{}])[0].useForSelectable && (s.push(m), H = D < p.length - 1, J = !0), H)
4106
4116
  return;
4107
- let J = !1;
4108
- if ((m.choiceQuestionPartialSectionList || [{}])[0].useForSelectable && (y.push(m), J = !0), s.length) {
4117
+ let j = !1;
4118
+ if ((m.choiceQuestionPartialSectionList || [{}])[0].useForSelectable && (y.push(m), j = !0), s.length) {
4109
4119
  if (s.length === 1)
4110
4120
  c.push(s[0]);
4111
4121
  else {
4112
- const D = s.map((C) => C.subjectiveQuestionSectionList || []).flat(), w = s.map((C) => C.choiceQuestionPartialSectionList || []).flat(), G = w.length ? { choiceQuestionPartialSectionList: w } : {}, ie = D.length ? { subjectiveQuestionSectionList: D } : {};
4122
+ const B = s.map((C) => C.subjectiveQuestionSectionList || []).flat(), w = s.map((C) => C.choiceQuestionPartialSectionList || []).flat(), Q = w.length ? { choiceQuestionPartialSectionList: w } : {}, re = B.length ? { subjectiveQuestionSectionList: B } : {};
4113
4123
  c.push({
4114
4124
  ...s[0],
4115
4125
  // cuttingSectionQuestionType: typeResult[tmp[0].sectionID]._rootProblemType || tmp[0].cuttingSectionQuestionType,
4116
- ...G,
4117
- ...ie
4126
+ ...Q,
4127
+ ...re
4118
4128
  });
4119
4129
  }
4120
4130
  s = [];
4121
4131
  }
4122
- J || j || s.push(m);
4132
+ j || J || s.push(m);
4123
4133
  }), c = [...c, ...s].map((m) => ({ ...m, cuttingSectionQuestionType: o[m.sectionID]._rootProblemType || m.cuttingSectionQuestionType, sectionID: i(m, 1) })), { ...n, cardCuttingSectionList: [...c, ...y] };
4124
4134
  }).map((n) => {
4125
4135
  const c = n.cardCuttingSectionList.map((y) => {
4126
- var P;
4136
+ var M;
4127
4137
  let s = [], m = [];
4128
- const A = Math.max(...(y.subjectiveQuestionSectionList || []).map((z) => z.sectionID.split(".").length - 1), 1);
4129
- (P = y.subjectiveQuestionSectionList) == null || P.forEach((z, j, J) => {
4130
- const D = i(z, A);
4131
- let w = !1, G = !1;
4132
- if (m.find((ie) => i(ie, A) === D && ie.secitonSeqID === z.secitonSeqID) && (m.push(z), w = j < J.length - 1, G = !0), !w) {
4138
+ const D = Math.max(...(y.subjectiveQuestionSectionList || []).map((H) => H.sectionID.split(".").length - 1), 1);
4139
+ (M = y.subjectiveQuestionSectionList) == null || M.forEach((H, J, j) => {
4140
+ const B = i(H, D);
4141
+ let w = !1, Q = !1;
4142
+ if (m.find((re) => i(re, D) === B && re.secitonSeqID === H.secitonSeqID) && (m.push(H), w = J < j.length - 1, Q = !0), !w) {
4133
4143
  if (m.length) {
4134
4144
  if (m.length === 1)
4135
4145
  s.push(m[0]);
4136
4146
  else {
4137
- const ie = m.map((U) => U.singleBlankSectionList || []).flat(), C = ie.length ? { singleBlankSectionList: ie, unitCount: ie.length } : {};
4147
+ const re = m.map((V) => V.singleBlankSectionList || []).flat(), C = re.length ? { singleBlankSectionList: re, unitCount: re.length } : {};
4138
4148
  s.push({
4139
4149
  ...m[0],
4140
4150
  // cuttingSectionQuestionType: typeResult[subjectTmp[0].sectionID]._parentProblemType || subjectTmp[0].cuttingSectionQuestionType,
@@ -4143,11 +4153,11 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4143
4153
  }
4144
4154
  m = [];
4145
4155
  }
4146
- G || m.push(z);
4156
+ Q || m.push(H);
4147
4157
  }
4148
4158
  });
4149
- const p = Math.max(...[...s, ...m].map((z) => z.sectionID.split(".").length));
4150
- return s = [...s, ...m].map((z) => ({ ...z, cuttingSectionQuestionType: o[z.sectionID]._parentProblemType || z.cuttingSectionQuestionType, sectionID: i(z, Math.max(p - 1, 1)) })), s.length ? {
4159
+ const p = Math.max(...[...s, ...m].map((H) => H.sectionID.split(".").length));
4160
+ return s = [...s, ...m].map((H) => ({ ...H, cuttingSectionQuestionType: o[H.sectionID]._parentProblemType || H.cuttingSectionQuestionType, sectionID: i(H, Math.max(p - 1, 1)) })), s.length ? {
4151
4161
  ...y,
4152
4162
  subjectiveQuestionSectionList: s
4153
4163
  } : y;
@@ -4157,7 +4167,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4157
4167
  return o = {}, a;
4158
4168
  }, ws = (e, t) => {
4159
4169
  var l;
4160
- const o = Q(e.pageDom[0]);
4170
+ const o = Y(e.pageDom[0]);
4161
4171
  return {
4162
4172
  // 正文code
4163
4173
  cardID: e.textCode,
@@ -4174,8 +4184,8 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4174
4184
  // 试卷二维码
4175
4185
  cardSerialNumber: {
4176
4186
  // 条形码虚线框位置, x, y, width, height
4177
- encodePictureArea: ce(pe(Q(he($.art_code, e.pageDom[0])), o), !0),
4178
- qrCodePosition: ce(pe(Q(he($.art_code, e.pageDom[0])), o)),
4187
+ encodePictureArea: de(pe(Y(he($.art_code, e.pageDom[0])), o), !0),
4188
+ qrCodePosition: de(pe(Y(he($.art_code, e.pageDom[0])), o)),
4179
4189
  // 条形码或二维码,不确定,固定此值
4180
4190
  pictureType: "TYPE_QRCODE"
4181
4191
  },
@@ -4197,7 +4207,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4197
4207
  layerType: ds(e),
4198
4208
  // 定位点信息
4199
4209
  ...us(e),
4200
- pottedLineXPos: e.bindWidth ? (l = ce(pe(Q(he($.bind_line, e.pageDom[0])), o))) == null ? void 0 : l.x : 0,
4210
+ pottedLineXPos: e.bindWidth ? (l = de(pe(Y(he($.bind_line, e.pageDom[0])), o))) == null ? void 0 : l.x : 0,
4201
4211
  // 页码点信息
4202
4212
  pageSideAnchorsList: hs(e),
4203
4213
  // 缺考标记
@@ -4219,7 +4229,7 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4219
4229
  }, xs = { class: "layt-moni_view" }, Cs = { class: "layt-moni_content" }, Ss = { class: "layt-moni_icon" }, Ts = { class: "layt-moni_msg" }, Is = {
4220
4230
  key: 0,
4221
4231
  class: "layt-moni_err_view"
4222
- }, $s = { class: "layt-moni_err_item_msg" }, Ls = ["onClick"], Fs = /* @__PURE__ */ ne({
4232
+ }, $s = { class: "layt-moni_err_item_msg" }, Ls = ["onClick"], Fs = /* @__PURE__ */ ie({
4223
4233
  __name: "index",
4224
4234
  props: {
4225
4235
  ColList: {},
@@ -4229,19 +4239,19 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4229
4239
  },
4230
4240
  emits: ["delAbsImgItem", "delAbsTxtItem", "changeLayoutStatus"],
4231
4241
  setup(e, { emit: t }) {
4232
- const o = e, l = V([]);
4242
+ const o = e, l = X([]);
4233
4243
  De(() => [o.ColList, o.ImgData, o.TxtData], () => {
4234
4244
  l.value = [], setTimeout(() => {
4235
4245
  var s;
4236
- o.ColList.forEach((m, A) => {
4246
+ o.ColList.forEach((m, D) => {
4237
4247
  m.data.map((p) => p.children).flat().filter((p) => [u.slove, u.art, u.easy_slove].includes(p.problemType) && !p.chunk).forEach((p) => {
4238
- var J;
4239
- const P = (J = o.ColDom[A].querySelector(`*[data-tag="${p.__tag__}"]`)) == null ? void 0 : J.querySelector(`*[data-xine="${$.score}"]`);
4240
- if (!P)
4248
+ var j;
4249
+ const M = (j = o.ColDom[D].querySelector(`*[data-tag="${p.__tag__}"]`)) == null ? void 0 : j.querySelector(`*[data-xine="${$.score}"]`);
4250
+ if (!M)
4241
4251
  return;
4242
- P.classList.remove("err_lack");
4243
- const z = window.getComputedStyle(P), j = [...Array.from(P.children)].map((D) => D.offsetWidth).reduce((D, w) => D + w, 0);
4244
- P.offsetWidth - parseFloat(z.borderLeft) - parseFloat(z.borderRight) < j && (l.value.push({ msg: `${p.subStr}题打分条超长` }), P.classList.add("err_lack"), P.title = "打分条超长,请调整排版或使用自编打分条");
4252
+ M.classList.remove("err_lack");
4253
+ const H = window.getComputedStyle(M), J = [...Array.from(M.children)].map((B) => B.offsetWidth).reduce((B, w) => B + w, 0);
4254
+ M.offsetWidth - parseFloat(H.borderLeft) - parseFloat(H.borderRight) < J && (l.value.push({ msg: `${p.subStr}题打分条超长` }), M.classList.add("err_lack"), M.title = "打分条超长,请调整排版或使用自编打分条");
4245
4255
  });
4246
4256
  });
4247
4257
  const n = (s = document.querySelector(".__layout__")) == null ? void 0 : s.getBoundingClientRect();
@@ -4265,32 +4275,32 @@ const je = /* @__PURE__ */ me(ts, [["render", ss]]), is = (e, t, o) => {
4265
4275
  return (n, c) => (r(), h("div", xs, [
4266
4276
  k("div", Cs, [
4267
4277
  k("div", {
4268
- class: oe(["layt-moni_status", l.value.length ? "layt-moni_err" : "layt-moni_success"])
4278
+ class: le(["layt-moni_status", l.value.length ? "layt-moni_err" : "layt-moni_success"])
4269
4279
  }, null, 2),
4270
4280
  k("div", {
4271
- class: oe(["layt-moni_info", l.value.length ? "layt-moni_err" : "layt-moni_success"])
4281
+ class: le(["layt-moni_info", l.value.length ? "layt-moni_err" : "layt-moni_success"])
4272
4282
  }, [
4273
4283
  k("span", Ss, [
4274
- ae(ve, {
4284
+ ne(we, {
4275
4285
  width: 1.6,
4276
4286
  name: l.value.length ? "wrong" : "right"
4277
4287
  }, null, 8, ["name"])
4278
4288
  ]),
4279
- k("span", Ts, "排版" + te(l.value.length ? "异常" : "良好"), 1)
4289
+ k("span", Ts, "排版" + oe(l.value.length ? "异常" : "良好"), 1)
4280
4290
  ], 2),
4281
4291
  l.value.length ? (r(), h("ul", Is, [
4282
- (r(!0), h(O, null, le(l.value, (y, s) => (r(), h("li", {
4292
+ (r(!0), h(R, null, se(l.value, (y, s) => (r(), h("li", {
4283
4293
  key: s,
4284
4294
  class: "layt-moni_err_item"
4285
4295
  }, [
4286
- k("span", $s, te(y.msg), 1),
4296
+ k("span", $s, oe(y.msg), 1),
4287
4297
  y.fn ? (r(), h("span", {
4288
4298
  key: 0,
4289
4299
  class: "layt-moni_err_item_fn",
4290
4300
  onClick: y.fn
4291
- }, te(y.btnTxt || "删除"), 9, Ls)) : B("", !0)
4301
+ }, oe(y.btnTxt || "删除"), 9, Ls)) : N("", !0)
4292
4302
  ]))), 128))
4293
- ])) : B("", !0)
4303
+ ])) : N("", !0)
4294
4304
  ])
4295
4305
  ]));
4296
4306
  }
@@ -4322,40 +4332,40 @@ const Es = /* @__PURE__ */ me(Fs, [["__scopeId", "data-v-9202bd1b"]]), ye = (e)
4322
4332
  return a || (a = at(e), ye(a).top + a.offsetHeight - t > o && (a = pt(a, t, o))), a;
4323
4333
  }, Ft = (e, t, o, l) => {
4324
4334
  const i = (n, c = o) => {
4325
- var j, J, D;
4335
+ var J, j, B;
4326
4336
  const y = n.map((w) => {
4327
- const G = ye(w);
4337
+ const Q = ye(w);
4328
4338
  return {
4329
4339
  el: w,
4330
- top: G.top - t,
4331
- left: G.left
4340
+ top: Q.top - t,
4341
+ left: Q.left
4332
4342
  };
4333
- }), s = y.filter((w) => w.el.offsetHeight + w.top > c).sort((w, G) => w.top - G.top), m = (j = s.shift()) == null ? void 0 : j.el;
4343
+ }), s = y.filter((w) => w.el.offsetHeight + w.top > c).sort((w, Q) => w.top - Q.top), m = (J = s.shift()) == null ? void 0 : J.el;
4334
4344
  if (!m) {
4335
4345
  const w = ye(n[0].parentElement);
4336
4346
  if (w.top + w.height - t - 10 < c)
4337
4347
  return n[0].parentElement;
4338
- const G = document.createElement("div");
4339
- return (J = n[0].parentElement) == null || J.appendChild(G), G.style.height = c - (ye(G).top - t) + "px", G;
4348
+ const Q = document.createElement("div");
4349
+ return (j = n[0].parentElement) == null || j.appendChild(Q), Q.style.height = c - (ye(Q).top - t) + "px", Q;
4340
4350
  }
4341
- const A = ye(m), p = A.top - t, P = A.left;
4342
- if (s.filter((w) => w.top < p + m.offsetHeight && w.top + w.el.offsetHeight - 1 > p && (w.left + w.el.offsetWidth - 1 < P || w.left + 1 > P + m.offsetWidth)).length) {
4343
- const w = (D = y.filter((G) => G.top < p).pop()) == null ? void 0 : D.el;
4351
+ const D = ye(m), p = D.top - t, M = D.left;
4352
+ if (s.filter((w) => w.top < p + m.offsetHeight && w.top + w.el.offsetHeight - 1 > p && (w.left + w.el.offsetWidth - 1 < M || w.left + 1 > M + m.offsetWidth)).length) {
4353
+ const w = (B = y.filter((Q) => Q.top < p).pop()) == null ? void 0 : B.el;
4344
4354
  if (w != null && w.children.length) {
4345
- const G = ht(w);
4346
- return i(G, p) || w;
4355
+ const Q = ht(w);
4356
+ return i(Q, p) || w;
4347
4357
  } else
4348
4358
  return w ? ye(w).top - t + w.offsetHeight > p ? Lt(w, t, p) : w : pt(m.parentElement, t, p);
4349
4359
  } else {
4350
4360
  const w = getComputedStyle(m);
4351
4361
  if (p + (parseFloat(w.fontSize) + (parseFloat(w.lineHeight) - parseFloat(w.fontSize)) / 2) > c)
4352
4362
  return pt(m, t, p);
4353
- const G = Ms(m, c - p, c, l);
4354
- if (G)
4355
- return at(G);
4363
+ const Q = Ms(m, c - p, c, l);
4364
+ if (Q)
4365
+ return at(Q);
4356
4366
  if (m.children.length) {
4357
- const ie = ht(m);
4358
- return i(ie, c);
4367
+ const re = ht(m);
4368
+ return i(re, c);
4359
4369
  } else
4360
4370
  return Lt(m, t, c);
4361
4371
  }
@@ -4370,142 +4380,142 @@ const Es = /* @__PURE__ */ me(Fs, [["__scopeId", "data-v-9202bd1b"]]), ye = (e)
4370
4380
  console.time("layout");
4371
4381
  const c = ye(t).top;
4372
4382
  let y = {}, s = 0, m = 0;
4373
- const A = (w) => {
4374
- const G = w % (l + i), ie = Math.floor(w / (l + i)) * 2 + (G >= l ? 1 : 0), C = a(w, ie);
4383
+ const D = (w) => {
4384
+ const Q = w % (l + i), re = Math.floor(w / (l + i)) * 2 + (Q >= l ? 1 : 0), C = a(w, re);
4375
4385
  y = {
4376
4386
  top: c,
4377
4387
  width: parseFloat(C.width),
4378
4388
  height: parseFloat(C.height)
4379
4389
  };
4380
4390
  };
4381
- let p = [], P = 0;
4382
- const z = () => {
4383
- A(p.length), t.style.width = `${y.width}px`, p.push({
4391
+ let p = [], M = 0;
4392
+ const H = () => {
4393
+ D(p.length), t.style.width = `${y.width}px`, p.push({
4384
4394
  top: 0,
4385
4395
  data: [],
4386
4396
  width: y.width,
4387
4397
  height: y.height
4388
4398
  }), n([...p]);
4389
4399
  };
4390
- z();
4391
- const j = (w) => {
4392
- const G = getComputedStyle(w);
4393
- return ye(w).top - y.top + parseFloat(G.borderTop) + parseFloat(G.paddingTop) + parseFloat(G.lineHeight) > p[p.length - 1].height;
4394
- }, J = (w) => {
4395
- const G = getComputedStyle(w);
4396
- return ye(w).top + w.offsetHeight - y.top - (w.dataset.block === Ie ? 0 : parseFloat(G.paddingBottom) - parseFloat(G.borderBottom)) <= p[p.length - 1].height;
4397
- }, D = (w = JSON.parse(JSON.stringify(o[P] || {}))) => {
4398
- if (P >= o.length || !Object.keys(w).length) {
4400
+ H();
4401
+ const J = (w) => {
4402
+ const Q = getComputedStyle(w);
4403
+ return ye(w).top - y.top + parseFloat(Q.borderTop) + parseFloat(Q.paddingTop) + parseFloat(Q.lineHeight) > p[p.length - 1].height;
4404
+ }, j = (w) => {
4405
+ const Q = getComputedStyle(w);
4406
+ return ye(w).top + w.offsetHeight - y.top - (w.dataset.block === Ie ? 0 : parseFloat(Q.paddingBottom) - parseFloat(Q.borderBottom)) <= p[p.length - 1].height;
4407
+ }, B = (w = JSON.parse(JSON.stringify(o[M] || {}))) => {
4408
+ if (M >= o.length || !Object.keys(w).length) {
4399
4409
  n([...p], !0), console.timeEnd("layout"), p = [], s = 0;
4400
4410
  return;
4401
4411
  }
4402
4412
  p[p.length - 1].data.push({ ...w }), n([...p]), window.requestAnimationFrame(() => {
4403
- const G = ct(w.__tag__, t), ie = !w.isHidden && ye(G);
4413
+ const Q = ct(w.__tag__, t), re = !w.isHidden && ye(Q);
4404
4414
  let C = null;
4405
4415
  if (m) {
4406
- const U = G.querySelector(`*[data-hutkey="${m}"]`), de = ye(U);
4407
- p[p.length - 1].top = y.top - de.top, p[p.length - 1].height = y.height - p[p.length - 1].top, m = 0;
4416
+ const V = Q.querySelector(`*[data-hutkey="${m}"]`), ue = ye(V);
4417
+ p[p.length - 1].top = y.top - ue.top, p[p.length - 1].height = y.height - p[p.length - 1].top, m = 0;
4408
4418
  }
4409
- if (ie && ie.height + ie.top - y.top > p[p.length - 1].height)
4419
+ if (re && re.height + re.top - y.top > p[p.length - 1].height)
4410
4420
  if (w.problemType)
4411
- p[p.length - 1].data.pop(), z(), D({ ...w });
4412
- else if (J(G))
4413
- z(), P++, D();
4414
- else if (j(G))
4415
- p[p.length - 1].data.pop(), z(), D({ ...w });
4421
+ p[p.length - 1].data.pop(), H(), B({ ...w });
4422
+ else if (j(Q))
4423
+ H(), M++, B();
4424
+ else if (J(Q))
4425
+ p[p.length - 1].data.pop(), H(), B({ ...w });
4416
4426
  else {
4417
- C = Ft(G, y.top, p[p.length - 1].height, p.length % (l + i) >= l), console.log(C);
4418
- const U = G.querySelector(`*[data-content="${w.id}"]`);
4419
- p[p.length - 1].height = ye(C.cut).top - y.top, z(), U != null && U.contains(C.cut) ? (m = Date.now(), C.cut.dataset.hutkey = m, D({ ...w, content: U.innerHTML })) : (p[p.length - 1].data.pop(), D({ ...w }));
4427
+ C = Ft(Q, y.top, p[p.length - 1].height, p.length % (l + i) >= l), console.log(C);
4428
+ const V = Q.querySelector(`*[data-content="${w.id}"]`);
4429
+ p[p.length - 1].height = ye(C.cut).top - y.top, H(), V != null && V.contains(C.cut) ? (m = Date.now(), C.cut.dataset.hutkey = m, B({ ...w, content: V.innerHTML })) : (p[p.length - 1].data.pop(), B({ ...w }));
4420
4430
  }
4421
4431
  else {
4422
- let U = [], de = [], g = !1;
4432
+ let V = [], ue = [], b = !1;
4423
4433
  if (w.children.some((S, I) => {
4424
- var Y, T;
4425
- const N = ct(S.__tag__, t), ue = ye(N);
4434
+ var U, T;
4435
+ const O = ct(S.__tag__, t), ae = ye(O);
4426
4436
  if (s) {
4427
- const v = N.querySelector(`*[data-cutkey="${s}"]`), _ = ye(v);
4428
- p[p.length - 1].top = y.top - _.top, p[p.length - 1].height = y.height - p[p.length - 1].top, s = 0;
4437
+ const f = O.querySelector(`*[data-cutkey="${s}"]`), g = ye(f);
4438
+ p[p.length - 1].top = y.top - g.top, p[p.length - 1].height = y.height - p[p.length - 1].top, s = 0;
4429
4439
  }
4430
- if (ue.height + ue.top - y.top > p[p.length - 1].height) {
4431
- if ((Y = N.parentElement) != null && Y.dataset.polymer)
4432
- parseInt((T = N.parentElement) == null ? void 0 : T.dataset.polymer) ? (U = U.filter((v) => {
4433
- var _;
4434
- return ct(v.__tag__, t).dataset.polymer !== ((_ = N.parentElement) == null ? void 0 : _.dataset.polymer);
4435
- }), de = w.children.slice(U.length)) : (p[p.length - 1].data.pop(), U = [], g = !0, z(), D({ ...w }));
4436
- else if (J(N))
4437
- U.push(S), de = I < w.children.length - 1 ? w.children.slice(I + 1) : [];
4438
- else if (j(N))
4439
- de = w.children.slice(I);
4440
+ if (ae.height + ae.top - y.top > p[p.length - 1].height) {
4441
+ if ((U = O.parentElement) != null && U.dataset.polymer)
4442
+ parseInt((T = O.parentElement) == null ? void 0 : T.dataset.polymer) ? (V = V.filter((f) => {
4443
+ var g;
4444
+ return ct(f.__tag__, t).dataset.polymer !== ((g = O.parentElement) == null ? void 0 : g.dataset.polymer);
4445
+ }), ue = w.children.slice(V.length)) : (p[p.length - 1].data.pop(), V = [], b = !0, H(), B({ ...w }));
4446
+ else if (j(O))
4447
+ V.push(S), ue = I < w.children.length - 1 ? w.children.slice(I + 1) : [];
4448
+ else if (J(O))
4449
+ ue = w.children.slice(I);
4440
4450
  else {
4441
- C = Ft(N, y.top, p[p.length - 1].height, p.length % (l + i) >= l);
4442
- const v = N.querySelector(`*[data-content="${S.id}"]`);
4443
- if (N === C.targetEl)
4444
- U.push(S), de = I < w.children.length - 1 ? w.children.slice(I + 1) : [];
4445
- else if (v && v.contains(C.cut))
4446
- s = Date.now(), C.cut.dataset.cutkey = s, S.content = v.innerHTML, U.push(S), de = [{ ...S, content: v.innerHTML }, ...I < w.children.length - 1 ? w.children.slice(I + 1) : []], p[p.length - 1].height = ye(C.cut).top - y.top;
4451
+ C = Ft(O, y.top, p[p.length - 1].height, p.length % (l + i) >= l);
4452
+ const f = O.querySelector(`*[data-content="${S.id}"]`);
4453
+ if (O === C.targetEl)
4454
+ V.push(S), ue = I < w.children.length - 1 ? w.children.slice(I + 1) : [];
4455
+ else if (f && f.contains(C.cut))
4456
+ s = Date.now(), C.cut.dataset.cutkey = s, S.content = f.innerHTML, V.push(S), ue = [{ ...S, content: f.innerHTML }, ...I < w.children.length - 1 ? w.children.slice(I + 1) : []], p[p.length - 1].height = ye(C.cut).top - y.top;
4447
4457
  else {
4448
- if (!de.length) {
4449
- let _ = { ...S };
4458
+ if (!ue.length) {
4459
+ let g = { ...S };
4450
4460
  switch (S.problemType) {
4451
- case Ge.slove:
4452
- const R = N.querySelector(`*[data-area="${S.id}"]`);
4453
- R != null && R.contains(C.cut) && (s = Date.now(), C.cut.dataset.cutkey = s, S.answerArea = R.innerHTML), N.contains(C.targetEl) && (S.chunk += 1);
4461
+ case We.slove:
4462
+ const z = O.querySelector(`*[data-area="${S.id}"]`);
4463
+ z != null && z.contains(C.cut) && (s = Date.now(), C.cut.dataset.cutkey = s, S.answerArea = z.innerHTML), O.contains(C.targetEl) && (S.chunk += 1);
4454
4464
  break;
4455
- case Ge.art:
4465
+ case We.art:
4456
4466
  if (S.artEditor) {
4457
- const q = N.querySelector(`*[data-area="${S.id}"]`);
4458
- q != null && q.contains(C.cut) && (s = Date.now(), C.cut.dataset.cutkey = s, S.answerArea = q.innerHTML), N.contains(C.targetEl) && (S.chunk += 1);
4467
+ const K = O.querySelector(`*[data-area="${S.id}"]`);
4468
+ K != null && K.contains(C.cut) && (s = Date.now(), C.cut.dataset.cutkey = s, S.answerArea = K.innerHTML), O.contains(C.targetEl) && (S.chunk += 1);
4459
4469
  break;
4460
4470
  } else {
4461
- const q = N.querySelector(`*[data-bart="${S.id}"]`), E = C.targetEl.dataset.block === Ie && C.targetEl.dataset.size ? C.targetEl : null, H = N.querySelector(`*[data-aart="${S.id}"]`);
4462
- if (q != null && q.contains(C.cut))
4463
- s = Date.now(), C.cut.dataset.cutkey = s, S.beforeArt = q == null ? void 0 : q.innerHTML, _.beforeGuide = "", _.afterArt = "", _.endAnswerLen = -1;
4471
+ const K = O.querySelector(`*[data-bart="${S.id}"]`), E = C.targetEl.dataset.block === Ie && C.targetEl.dataset.size ? C.targetEl : null, W = O.querySelector(`*[data-aart="${S.id}"]`);
4472
+ if (K != null && K.contains(C.cut))
4473
+ s = Date.now(), C.cut.dataset.cutkey = s, S.beforeArt = K == null ? void 0 : K.innerHTML, g.beforeGuide = "", g.afterArt = "", g.endAnswerLen = -1;
4464
4474
  else if (E) {
4465
- const K = parseInt(E.dataset.size);
4475
+ const P = parseInt(E.dataset.size);
4466
4476
  if (!S.artBlock)
4467
- if (S.beforeGuide && S.beforeGuide.length + (S.startAnswerLen ? 0 : 2) - S.startAnswerLen > K) {
4468
- const se = N.querySelector(`*[data-guide="${S.id}"]`), Te = ye(se);
4469
- if (Te.height + Te.top - y.top > y.height) {
4470
- se.innerHTML = S.beforeGuide.split("").map((b) => `<span>${b}</span>`).join("");
4471
- const ge = ye(E).top + E.offsetHeight, we = [...Array.from(se.children)].findIndex((b) => ye(b).top > ge);
4472
- _.beforeGuide = S.beforeGuide.substring(0, we), S.beforeGuide = S.beforeGuide.substring(we);
4477
+ if (S.beforeGuide && S.beforeGuide.length + (S.startAnswerLen ? 0 : 2) - S.startAnswerLen > P) {
4478
+ const q = O.querySelector(`*[data-guide="${S.id}"]`), _e = ye(q);
4479
+ if (_e.height + _e.top - y.top > y.height) {
4480
+ q.innerHTML = S.beforeGuide.split("").map((v) => `<span>${v}</span>`).join("");
4481
+ const fe = ye(E).top + E.offsetHeight, ke = [...Array.from(q.children)].findIndex((v) => ye(v).top > fe);
4482
+ g.beforeGuide = S.beforeGuide.substring(0, ke), S.beforeGuide = S.beforeGuide.substring(ke);
4473
4483
  } else
4474
4484
  S.beforeGuide = "";
4475
4485
  } else
4476
4486
  S.beforeGuide = "";
4477
- _.endAnswerLen = K, S.startAnswerLen = K;
4487
+ g.endAnswerLen = P, S.startAnswerLen = P;
4478
4488
  } else
4479
- H != null && H.contains(C.cut) ? (s = Date.now(), C.cut.dataset.cutkey = s, S.beforeArt = "", S.beforeGuide = "", S.startAnswerLen = 1, S.endAnswerLen = -1, S.afterArt = H.innerHTML) : C.targetEl === q ? (_.endAnswerLen = -1, _.beforeGuide = "", _.afterArt = "", S.beforeArt = "") : (q == null ? void 0 : q.previousElementSibling) === C.cut && (_.endAnswerLen = -1, _.beforeArt = "", _.beforeGuide = "", _.afterArt = "");
4480
- N.contains(C.targetEl) && (S.chunk += 1);
4489
+ W != null && W.contains(C.cut) ? (s = Date.now(), C.cut.dataset.cutkey = s, S.beforeArt = "", S.beforeGuide = "", S.startAnswerLen = 1, S.endAnswerLen = -1, S.afterArt = W.innerHTML) : C.targetEl === K ? (g.endAnswerLen = -1, g.beforeGuide = "", g.afterArt = "", S.beforeArt = "") : (K == null ? void 0 : K.previousElementSibling) === C.cut && (g.endAnswerLen = -1, g.beforeArt = "", g.beforeGuide = "", g.afterArt = "");
4490
+ O.contains(C.targetEl) && (S.chunk += 1);
4481
4491
  break;
4482
4492
  }
4483
4493
  }
4484
- N.contains(C.targetEl) && U.push(_), s && (p[p.length - 1].height = ye(C.cut).top - y.top);
4494
+ O.contains(C.targetEl) && V.push(g), s && (p[p.length - 1].height = ye(C.cut).top - y.top);
4485
4495
  }
4486
- de = [S, ...I < w.children.length - 1 ? w.children.slice(I + 1) : []];
4496
+ ue = [S, ...I < w.children.length - 1 ? w.children.slice(I + 1) : []];
4487
4497
  }
4488
4498
  }
4489
4499
  return !0;
4490
4500
  } else
4491
- U.push(S);
4492
- }), g)
4501
+ V.push(S);
4502
+ }), b)
4493
4503
  return;
4494
- p[p.length - 1].data[p[p.length - 1].data.length - 1].children = U, de.length ? (z(), D({ ...w, isHidden: !0, children: de })) : (n([...p]), P++, D());
4504
+ p[p.length - 1].data[p[p.length - 1].data.length - 1].children = V, ue.length ? (H(), B({ ...w, isHidden: !0, children: ue })) : (n([...p]), M++, B());
4495
4505
  }
4496
4506
  });
4497
4507
  };
4498
- D();
4499
- }, Wt = window.CKEDITOR;
4500
- Wt.disableAutoInline = !0;
4508
+ B();
4509
+ }, Gt = window.CKEDITOR;
4510
+ Gt.disableAutoInline = !0;
4501
4511
  const bt = `dx${Math.random().toString(32).substring(2)}`;
4502
4512
  function Ds(e, t) {
4503
- return Wt[e](bt, {
4513
+ return Gt[e](bt, {
4504
4514
  filebrowserImageUploadUrl: `${t}ckeditor/uploadImg`,
4505
4515
  uploadUrl: `${t}ckeditor/uploadImg`
4506
4516
  });
4507
4517
  }
4508
- const Bs = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-problem-font overflow-auto focus:border-current" }, Ns = ["disabled", "contentEditable", "id"], Os = /* @__PURE__ */ ne({
4518
+ const Bs = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-problem-font overflow-auto focus:border-current" }, Ns = ["disabled", "contentEditable", "id"], Os = /* @__PURE__ */ ie({
4509
4519
  __name: "index",
4510
4520
  props: {
4511
4521
  value: {},
@@ -4514,7 +4524,7 @@ const Bs = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-proble
4514
4524
  },
4515
4525
  emits: ["change", "focus", "blur"],
4516
4526
  setup(e, { emit: t }) {
4517
- const o = e, l = Qt("ckeditorOrigin", ""), i = V();
4527
+ const o = e, l = Qt("ckeditorOrigin", ""), i = X();
4518
4528
  De(() => o.readonly, () => a()), Ue(() => a());
4519
4529
  const a = () => {
4520
4530
  if (window.CKEDITOR) {
@@ -4542,24 +4552,24 @@ const Bs = { class: "flex-1 border border-gray4 rounded-lg px-2 py-1 base-proble
4542
4552
  }, y = (s) => {
4543
4553
  const m = document.createElement("div");
4544
4554
  m.innerHTML = s, [...Array.from(m.querySelectorAll("*"))].forEach((p) => {
4545
- const P = window.getComputedStyle(p);
4546
- (P.display === "none" || P.width === "0px" && P.height === "0px" || P.opacity === "0" || P.visibility === "hidden") && p.remove();
4555
+ const M = window.getComputedStyle(p);
4556
+ (M.display === "none" || M.width === "0px" && M.height === "0px" || M.opacity === "0" || M.visibility === "hidden") && p.remove();
4547
4557
  });
4548
- const A = (p = m) => {
4549
- [...Array.from(p.childNodes)].forEach((P) => {
4550
- var z;
4551
- if (P.nodeType === Node.ELEMENT_NODE && P.children.length)
4552
- A(P);
4553
- else if (P.nodeType === Node.TEXT_NODE) {
4554
- const j = document.createElement("span");
4555
- j.textContent = P.textContent, window.REGULAR.underscore.test(P.textContent || "") && (window.getComputedStyle(P.parentNode).wordBreak !== "break-all" || !(P.parentNode.getAttribute("style") || "").includes("word-break: break-all")) && (P.textContent || "").length > 5 && (j.innerHTML = (P.textContent || "").replace(window.REGULAR.underscore, (D) => D.length > 5 ? `<span style="word-break: break-all">${D}</span>` : D)), (z = P.parentElement) == null || z.replaceChild(j, P);
4558
+ const D = (p = m) => {
4559
+ [...Array.from(p.childNodes)].forEach((M) => {
4560
+ var H;
4561
+ if (M.nodeType === Node.ELEMENT_NODE && M.children.length)
4562
+ D(M);
4563
+ else if (M.nodeType === Node.TEXT_NODE) {
4564
+ const J = document.createElement("span");
4565
+ J.textContent = M.textContent, window.REGULAR.underscore.test(M.textContent || "") && (window.getComputedStyle(M.parentNode).wordBreak !== "break-all" || !(M.parentNode.getAttribute("style") || "").includes("word-break: break-all")) && (M.textContent || "").length > 5 && (J.innerHTML = (M.textContent || "").replace(window.REGULAR.underscore, (B) => B.length > 5 ? `<span style="word-break: break-all">${B}</span>` : B)), (H = M.parentElement) == null || H.replaceChild(J, M);
4556
4566
  }
4557
4567
  });
4558
4568
  };
4559
- return A(), m.innerHTML;
4569
+ return D(), m.innerHTML;
4560
4570
  };
4561
4571
  return (s, m) => (r(), h("div", Bs, [
4562
- o.readonly ? (r(), ee(Oe, {
4572
+ o.readonly ? (r(), te(Oe, {
4563
4573
  key: 1,
4564
4574
  data: o.value,
4565
4575
  class: "raw_view"
@@ -4579,21 +4589,21 @@ const zs = /* @__PURE__ */ me(Os, [["__scopeId", "data-v-1398ac85"]]), Rs = {
4579
4589
  mounted: (e, t) => {
4580
4590
  let o = null, l = null, i = {}, a = !1, n = e.offsetParent, c = {}, y = {}, s = {};
4581
4591
  const m = e.querySelector(".move-target") || e;
4582
- m.style.cursor = "move", m.addEventListener("mousedown", (A) => {
4592
+ m.style.cursor = "move", m.addEventListener("mousedown", (D) => {
4583
4593
  a = !!e.dataset.safe, n = e.offsetParent;
4584
4594
  const p = window.getComputedStyle(e);
4585
- i = { x: A.clientX, y: A.clientY }, c = { x: parseInt(p.left), y: parseInt(p.top) }, document.addEventListener("mousemove", o), document.addEventListener("mouseup", l), document.addEventListener("mouseleave", l);
4595
+ i = { x: D.clientX, y: D.clientY }, c = { x: parseInt(p.left), y: parseInt(p.top) }, document.addEventListener("mousemove", o), document.addEventListener("mouseup", l), document.addEventListener("mouseleave", l);
4586
4596
  }), l = () => {
4587
4597
  t.value && typeof t.value == "function" && t.value(s), document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", l), document.removeEventListener("mouseleave", l);
4588
- }, o = (A) => {
4598
+ }, o = (D) => {
4589
4599
  if (e.getAttribute("disabled") === "true")
4590
4600
  return;
4591
- A.stopPropagation(), A.preventDefault(), y = { x: A.clientX, y: A.clientY };
4592
- const p = a ? Math.min(Math.max(y.x - i.x + c.x, 0), n.offsetWidth - e.offsetWidth) : y.x - i.x + c.x, P = a ? Math.min(Math.max(y.y - i.y + c.y, 0), n.offsetHeight - e.offsetHeight) : y.y - i.y + c.y;
4593
- e.style.left = `${p}px`, e.style.top = `${P}px`, s = { x: p, y: P };
4601
+ D.stopPropagation(), D.preventDefault(), y = { x: D.clientX, y: D.clientY };
4602
+ const p = a ? Math.min(Math.max(y.x - i.x + c.x, 0), n.offsetWidth - e.offsetWidth) : y.x - i.x + c.x, M = a ? Math.min(Math.max(y.y - i.y + c.y, 0), n.offsetHeight - e.offsetHeight) : y.y - i.y + c.y;
4603
+ e.style.left = `${p}px`, e.style.top = `${M}px`, s = { x: p, y: M };
4594
4604
  };
4595
4605
  }
4596
- }, Hs = ["onMousedown", "data-block"], Ws = ["src"], 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" }, qs = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, Qs = ["onMousedown"], Ys = ["onMousedown"], Ks = ["disabled", "onMousedown", "data-block"], Us = { class: "absolute right-2 bottom-2 w-12 h-12 bg-gray z-3 flex items-center justify-center rounded-tl-lg text-warn" }, Vs = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, js = ["onMousedown"], Xs = /* @__PURE__ */ ne({
4606
+ }, Hs = ["onMousedown", "data-block"], Gs = ["src"], 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" }, qs = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, Qs = ["onMousedown"], Ys = ["onMousedown"], Ks = ["disabled", "onMousedown", "data-block"], Us = { class: "absolute right-2 bottom-2 w-12 h-12 bg-gray z-3 flex items-center justify-center rounded-tl-lg text-warn" }, Vs = { class: "absolute left-0 top-0 w-full h-full border-2 border-current" }, Xs = ["onMousedown"], Js = /* @__PURE__ */ ie({
4597
4607
  __name: "absItem",
4598
4608
  props: {
4599
4609
  imgData: {},
@@ -4614,314 +4624,314 @@ const zs = /* @__PURE__ */ me(Os, [["__scopeId", "data-v-1398ac85"]]), Rs = {
4614
4624
  { left: "0", top: "100%", cursor: "nesw-resize" },
4615
4625
  { left: "50%", top: "100%", cursor: "ns-resize" },
4616
4626
  { left: "100%", top: "100%", cursor: "nwse-resize" }
4617
- ], a = V({}), n = V(), c = V(0), y = V(0), s = V();
4618
- V();
4619
- const m = V({}), A = V(!1), p = V(), P = V(), z = V(), j = W(() => o.imgData.map((T) => ({
4627
+ ], a = X({}), n = X(), c = X(0), y = X(0), s = X();
4628
+ X();
4629
+ const m = X({}), D = X(!1), p = X(), M = X(), H = X(), J = G(() => o.imgData.map((T) => ({
4620
4630
  ...T,
4621
4631
  top: T.top - Math.floor(T.top / (x[o.layout.paper].height + o.pageMargin)) * o.pageMargin
4622
- }))), J = W(() => o.txtData.map((T) => ({
4632
+ }))), j = G(() => o.txtData.map((T) => ({
4623
4633
  ...T,
4624
4634
  top: T.top - Math.floor(T.top / (x[o.layout.paper].height + o.pageMargin)) * o.pageMargin
4625
- }))), D = W(() => p.value ? p.value.split("-")[0] === "img" ? j.value.find((v) => v.key === p.value) : J.value.find((v) => v.key === p.value) : null), w = W(() => D.value ? { [D.value.key]: { ...n.value } } : {});
4635
+ }))), B = G(() => p.value ? p.value.split("-")[0] === "img" ? J.value.find((f) => f.key === p.value) : j.value.find((f) => f.key === p.value) : null), w = G(() => B.value ? { [B.value.key]: { ...n.value } } : {});
4626
4636
  De(() => o.activeAbsItem, () => {
4627
- o.activeAbsItem && Y({ ...o.activeAbsItem });
4637
+ o.activeAbsItem && U({ ...o.activeAbsItem });
4628
4638
  }), De(() => o.target, () => {
4629
- Y(null);
4639
+ U(null);
4630
4640
  }), Ue(() => {
4631
4641
  s.value = document.body.querySelector(".__layout__");
4632
4642
  });
4633
- const G = (T) => {
4634
- var v;
4635
- n.value = { ...D.value, left: Math.max(T.x, 0), top: Math.max(T.y, 0) }, (v = D.value) != null && v.key && (D.value.key.split("-")[0] === "img" ? t("changeAbsImgItem", { ...D.value, left: Math.max(T.x, 0), top: Math.max(T.y, 0) }) : t("changeAbsTxtItem", { ...D.value, left: Math.max(T.x, 0), top: Math.max(T.y, 0) }));
4636
- }, ie = (T) => {
4637
- A.value = T;
4643
+ const Q = (T) => {
4644
+ var f;
4645
+ n.value = { ...B.value, left: Math.max(T.x, 0), top: Math.max(T.y, 0) }, (f = B.value) != null && f.key && (B.value.key.split("-")[0] === "img" ? t("changeAbsImgItem", { ...B.value, left: Math.max(T.x, 0), top: Math.max(T.y, 0) }) : t("changeAbsTxtItem", { ...B.value, left: Math.max(T.x, 0), top: Math.max(T.y, 0) }));
4646
+ }, re = (T) => {
4647
+ D.value = T;
4638
4648
  }, C = () => {
4639
- const T = D.value, v = T.left + T.width / 2, _ = T.top + T.height / 2, R = s.value.getBoundingClientRect() || {};
4640
- m.value = { x: v + R.left, y: _ + R.top }, s.value.addEventListener("mousemove", U), s.value.addEventListener("mouseleave", de), s.value.addEventListener("mouseup", de);
4641
- }, U = (T) => {
4649
+ const T = B.value, f = T.left + T.width / 2, g = T.top + T.height / 2, z = s.value.getBoundingClientRect() || {};
4650
+ m.value = { x: f + z.left, y: g + z.top }, s.value.addEventListener("mousemove", V), s.value.addEventListener("mouseleave", ue), s.value.addEventListener("mouseup", ue);
4651
+ }, V = (T) => {
4642
4652
  T.stopPropagation(), T.preventDefault();
4643
- const v = T.clientX - m.value.x, _ = m.value.y - T.clientY, R = Math.atan2(_, v) / (Math.PI / 180);
4644
- n.value = { ...D.value, rotate: -parseInt(R.toString()) };
4645
- }, de = (T) => {
4646
- T.stopPropagation(), T.preventDefault(), t("changeAbsImgItem", n.value), s.value.removeEventListener("mousemove", U), s.value.removeEventListener("mouseleave", de), s.value.removeEventListener("mouseup", de);
4647
- }, g = (T, v) => {
4648
- var _;
4649
- T.stopPropagation(), c.value = v, a.value = { x: T.clientX, y: T.clientY, ...D.value }, ((_ = D.value) == null ? void 0 : _.key.split("-")[0]) === "img" ? s.value.addEventListener("mousemove", S) : s.value.addEventListener("mousemove", I), s.value.addEventListener("mouseleave", N), s.value.addEventListener("mouseup", N);
4653
+ const f = T.clientX - m.value.x, g = m.value.y - T.clientY, z = Math.atan2(g, f) / (Math.PI / 180);
4654
+ n.value = { ...B.value, rotate: -parseInt(z.toString()) };
4655
+ }, ue = (T) => {
4656
+ T.stopPropagation(), T.preventDefault(), t("changeAbsImgItem", n.value), s.value.removeEventListener("mousemove", V), s.value.removeEventListener("mouseleave", ue), s.value.removeEventListener("mouseup", ue);
4657
+ }, b = (T, f) => {
4658
+ var g;
4659
+ T.stopPropagation(), c.value = f, a.value = { x: T.clientX, y: T.clientY, ...B.value }, ((g = B.value) == null ? void 0 : g.key.split("-")[0]) === "img" ? s.value.addEventListener("mousemove", S) : s.value.addEventListener("mousemove", I), s.value.addEventListener("mouseleave", O), s.value.addEventListener("mouseup", O);
4650
4660
  }, S = (T) => {
4651
- const v = { x: T.clientX - a.value.x, y: T.clientY - a.value.y }, _ = { ...D.value }, R = v.x > v.y ? "width" : "height";
4661
+ const f = { x: T.clientX - a.value.x, y: T.clientY - a.value.y }, g = { ...B.value }, z = f.x > f.y ? "width" : "height";
4652
4662
  [
4653
4663
  // 0
4654
4664
  () => {
4655
4665
  const E = {
4656
- width: a.value.width - v.x,
4657
- height: a.value.width * (1 - v.y / a.value.height)
4658
- }[R], H = {
4659
- width: a.value.height * (1 - v.x / a.value.width),
4660
- height: a.value.height - v.y
4661
- }[R];
4666
+ width: a.value.width - f.x,
4667
+ height: a.value.width * (1 - f.y / a.value.height)
4668
+ }[z], W = {
4669
+ width: a.value.height * (1 - f.x / a.value.width),
4670
+ height: a.value.height - f.y
4671
+ }[z];
4662
4672
  n.value = {
4663
- ..._,
4673
+ ...g,
4664
4674
  width: E,
4665
- height: H,
4675
+ height: W,
4666
4676
  left: a.value.left - (E - a.value.width),
4667
- top: a.value.top - (H - a.value.height)
4677
+ top: a.value.top - (W - a.value.height)
4668
4678
  };
4669
4679
  },
4670
4680
  // 1
4671
4681
  () => {
4672
- const E = a.value.width * (1 - v.y / a.value.height), H = a.value.height - v.y;
4682
+ const E = a.value.width * (1 - f.y / a.value.height), W = a.value.height - f.y;
4673
4683
  n.value = {
4674
- ..._,
4684
+ ...g,
4675
4685
  width: E,
4676
- height: H,
4686
+ height: W,
4677
4687
  left: a.value.left - (E - a.value.width) / 2,
4678
- top: a.value.top - (H - a.value.height)
4688
+ top: a.value.top - (W - a.value.height)
4679
4689
  };
4680
4690
  },
4681
4691
  // 2
4682
4692
  () => {
4683
4693
  const E = {
4684
- width: a.value.height * (1 + v.x / a.value.width),
4685
- height: a.value.height - v.y
4686
- }[R];
4694
+ width: a.value.height * (1 + f.x / a.value.width),
4695
+ height: a.value.height - f.y
4696
+ }[z];
4687
4697
  n.value = {
4688
- ..._,
4698
+ ...g,
4689
4699
  width: {
4690
- width: a.value.width + v.x,
4691
- height: a.value.width * (1 - v.y / a.value.height)
4692
- }[R],
4700
+ width: a.value.width + f.x,
4701
+ height: a.value.width * (1 - f.y / a.value.height)
4702
+ }[z],
4693
4703
  height: E,
4694
4704
  top: a.value.top - (E - a.value.height)
4695
4705
  };
4696
4706
  },
4697
4707
  // 3
4698
4708
  () => {
4699
- const E = a.value.width - v.x, H = a.value.height * (1 - v.x / a.value.width);
4709
+ const E = a.value.width - f.x, W = a.value.height * (1 - f.x / a.value.width);
4700
4710
  n.value = {
4701
- ..._,
4711
+ ...g,
4702
4712
  width: E,
4703
- height: H,
4713
+ height: W,
4704
4714
  left: a.value.left - (E - a.value.width),
4705
- top: a.value.top - (H - a.value.height) / 2
4715
+ top: a.value.top - (W - a.value.height) / 2
4706
4716
  };
4707
4717
  },
4708
4718
  // 4
4709
4719
  () => {
4710
- const E = a.value.width + v.x, H = a.value.height * (1 + v.x / a.value.width);
4720
+ const E = a.value.width + f.x, W = a.value.height * (1 + f.x / a.value.width);
4711
4721
  n.value = {
4712
- ..._,
4722
+ ...g,
4713
4723
  width: E,
4714
- height: H,
4715
- top: a.value.top - (H - a.value.height) / 2
4724
+ height: W,
4725
+ top: a.value.top - (W - a.value.height) / 2
4716
4726
  };
4717
4727
  },
4718
4728
  // 5
4719
4729
  () => {
4720
4730
  const E = {
4721
- width: a.value.width - v.x,
4722
- height: a.value.width * (1 + v.y / a.value.height)
4723
- }[R], H = {
4724
- width: a.value.height * (1 - v.x / a.value.width),
4725
- height: a.value.height + v.y
4726
- }[R];
4731
+ width: a.value.width - f.x,
4732
+ height: a.value.width * (1 + f.y / a.value.height)
4733
+ }[z], W = {
4734
+ width: a.value.height * (1 - f.x / a.value.width),
4735
+ height: a.value.height + f.y
4736
+ }[z];
4727
4737
  n.value = {
4728
- ..._,
4738
+ ...g,
4729
4739
  width: E,
4730
- height: H,
4740
+ height: W,
4731
4741
  left: a.value.left - (E - a.value.width)
4732
4742
  };
4733
4743
  },
4734
4744
  // 6
4735
4745
  () => {
4736
- const E = a.value.width * (1 + v.y / a.value.height), H = a.value.height + v.y;
4746
+ const E = a.value.width * (1 + f.y / a.value.height), W = a.value.height + f.y;
4737
4747
  n.value = {
4738
- ..._,
4748
+ ...g,
4739
4749
  width: E,
4740
- height: H,
4750
+ height: W,
4741
4751
  left: a.value.left - (E - a.value.width) / 2
4742
4752
  };
4743
4753
  },
4744
4754
  // 7
4745
4755
  () => {
4746
4756
  const E = {
4747
- width: a.value.width + v.x,
4748
- height: a.value.width * (1 + v.y / a.value.height)
4749
- }[R], H = {
4750
- width: a.value.height * (1 + v.x / a.value.width),
4751
- height: a.value.height + v.y
4752
- }[R];
4757
+ width: a.value.width + f.x,
4758
+ height: a.value.width * (1 + f.y / a.value.height)
4759
+ }[z], W = {
4760
+ width: a.value.height * (1 + f.x / a.value.width),
4761
+ height: a.value.height + f.y
4762
+ }[z];
4753
4763
  n.value = {
4754
- ..._,
4764
+ ...g,
4755
4765
  width: E,
4756
- height: H
4766
+ height: W
4757
4767
  };
4758
4768
  }
4759
4769
  ][c.value]();
4760
4770
  }, I = (T) => {
4761
- const v = { x: T.clientX - a.value.x, y: T.clientY - a.value.y }, _ = { ...D.value }, R = [
4771
+ const f = { x: T.clientX - a.value.x, y: T.clientY - a.value.y }, g = { ...B.value }, z = [
4762
4772
  {
4763
- ..._,
4764
- width: a.value.width - v.x,
4765
- height: a.value.height - v.y,
4766
- left: a.value.left + v.x,
4767
- top: a.value.top + v.y
4773
+ ...g,
4774
+ width: a.value.width - f.x,
4775
+ height: a.value.height - f.y,
4776
+ left: a.value.left + f.x,
4777
+ top: a.value.top + f.y
4768
4778
  },
4769
4779
  {
4770
- ..._,
4771
- height: a.value.height - v.y,
4772
- top: a.value.top + v.y
4780
+ ...g,
4781
+ height: a.value.height - f.y,
4782
+ top: a.value.top + f.y
4773
4783
  },
4774
4784
  {
4775
- ..._,
4776
- width: a.value.width + v.x,
4777
- height: a.value.height - v.y,
4778
- top: a.value.top + v.y
4785
+ ...g,
4786
+ width: a.value.width + f.x,
4787
+ height: a.value.height - f.y,
4788
+ top: a.value.top + f.y
4779
4789
  },
4780
4790
  {
4781
- ..._,
4782
- width: a.value.width - v.x,
4783
- left: a.value.left + v.x
4791
+ ...g,
4792
+ width: a.value.width - f.x,
4793
+ left: a.value.left + f.x
4784
4794
  },
4785
4795
  {
4786
- ..._,
4787
- width: a.value.width + v.x
4796
+ ...g,
4797
+ width: a.value.width + f.x
4788
4798
  },
4789
4799
  {
4790
- ..._,
4791
- width: a.value.width - v.x,
4792
- height: a.value.height + v.y,
4793
- left: a.value.left + v.x
4800
+ ...g,
4801
+ width: a.value.width - f.x,
4802
+ height: a.value.height + f.y,
4803
+ left: a.value.left + f.x
4794
4804
  },
4795
4805
  {
4796
- ..._,
4797
- height: a.value.height + v.y
4806
+ ...g,
4807
+ height: a.value.height + f.y
4798
4808
  },
4799
4809
  {
4800
- ..._,
4801
- width: a.value.width + v.x,
4802
- height: a.value.height + v.y
4810
+ ...g,
4811
+ width: a.value.width + f.x,
4812
+ height: a.value.height + f.y
4803
4813
  }
4804
4814
  ];
4805
- n.value = R[c.value];
4806
- }, N = () => {
4815
+ n.value = z[c.value];
4816
+ }, O = () => {
4807
4817
  var T;
4808
- s.value.removeEventListener("mousemove", S), s.value.removeEventListener("mousemove", I), s.value.removeEventListener("mouseleave", N), s.value.removeEventListener("mouseup", N), ((T = D.value) == null ? void 0 : T.key.split("-")[0]) === "img" ? t("changeAbsImgItem", n.value) : t("changeAbsTxtItem", n.value), n.value = null;
4809
- }, ue = (T) => {
4810
- if (!T || T === D.value.content) {
4818
+ s.value.removeEventListener("mousemove", S), s.value.removeEventListener("mousemove", I), s.value.removeEventListener("mouseleave", O), s.value.removeEventListener("mouseup", O), ((T = B.value) == null ? void 0 : T.key.split("-")[0]) === "img" ? t("changeAbsImgItem", n.value) : t("changeAbsTxtItem", n.value), n.value = null;
4819
+ }, ae = (T) => {
4820
+ if (!T || T === B.value.content) {
4811
4821
  y.value++;
4812
4822
  return;
4813
4823
  }
4814
- t("changeAbsTxtItem", { ...D.value, content: T });
4815
- }, Y = (T, v) => {
4816
- var R, q;
4817
- const _ = document.body.querySelector(`.cke_editor_${bt}`);
4818
- !T && ((q = (R = v == null ? void 0 : v.target) == null ? void 0 : R.dataset) != null && q.safe || [...P.value || [], ...z.value || []].find((E) => E.contains(v == null ? void 0 : v.target)) || _ && window.getComputedStyle(_).display !== "none") || (p.value = T == null ? void 0 : T.key, T && (n.value = { ...T }));
4824
+ t("changeAbsTxtItem", { ...B.value, content: T });
4825
+ }, U = (T, f) => {
4826
+ var z, K;
4827
+ const g = document.body.querySelector(`.cke_editor_${bt}`);
4828
+ !T && ((K = (z = f == null ? void 0 : f.target) == null ? void 0 : z.dataset) != null && K.safe || [...M.value || [], ...H.value || []].find((E) => E.contains(f == null ? void 0 : f.target)) || g && window.getComputedStyle(g).display !== "none") || (p.value = T == null ? void 0 : T.key, T && (n.value = { ...T }));
4819
4829
  };
4820
- return (T, v) => (r(), h(O, null, [
4821
- (r(!0), h(O, null, le(j.value, (_) => {
4822
- var R, q, E, H, K, se, Te;
4830
+ return (T, f) => (r(), h(R, null, [
4831
+ (r(!0), h(R, null, se(J.value, (g) => {
4832
+ var z, K, E, W, P, q, _e;
4823
4833
  return Ct((r(), h("div", {
4824
- key: _.id,
4834
+ key: g.id,
4825
4835
  ref_for: !0,
4826
4836
  ref_key: "imgViewList",
4827
- ref: P,
4837
+ ref: M,
4828
4838
  "data-safe": "true",
4829
- class: oe(["absolute", ((R = D.value) == null ? void 0 : R.key) === _.key ? "z-8" : "z-7"]),
4830
- style: X({ left: Math.max(((q = w.value[_.key]) == null ? void 0 : q.left) || _.left, 0) + "px", top: Math.max(((E = w.value[_.key]) == null ? void 0 : E.top) || _.top, 0) + "px", width: (((H = w.value[_.key]) == null ? void 0 : H.width) || _.width) + "px", height: (((K = w.value[_.key]) == null ? void 0 : K.height) || _.height) + "px", transform: `rotate(${((se = w.value[_.key]) == null ? void 0 : se.rotate) || _.rotate}deg)` }),
4831
- onClick: v[0] || (v[0] = Ee((ge) => T.void, ["stop"])),
4832
- onMousedown: Ee((ge) => Y(_), ["stop"]),
4839
+ class: le(["absolute", ((z = B.value) == null ? void 0 : z.key) === g.key ? "z-8" : "z-7"]),
4840
+ style: Z({ left: Math.max(((K = w.value[g.key]) == null ? void 0 : K.left) || g.left, 0) + "px", top: Math.max(((E = w.value[g.key]) == null ? void 0 : E.top) || g.top, 0) + "px", width: (((W = w.value[g.key]) == null ? void 0 : W.width) || g.width) + "px", height: (((P = w.value[g.key]) == null ? void 0 : P.height) || g.height) + "px", transform: `rotate(${((q = w.value[g.key]) == null ? void 0 : q.rotate) || g.rotate}deg)` }),
4841
+ onClick: f[0] || (f[0] = Ee((fe) => T.void, ["stop"])),
4842
+ onMousedown: Ee((fe) => U(g), ["stop"]),
4833
4843
  "data-block": L(Be)
4834
4844
  }, [
4835
4845
  k("img", {
4836
- src: _.url
4837
- }, null, 8, Ws),
4838
- ((Te = D.value) == null ? void 0 : Te.key) === _.key ? (r(), h(O, { key: 0 }, [
4839
- k("span", Gs, [
4840
- ae(ve, {
4846
+ src: g.url
4847
+ }, null, 8, Gs),
4848
+ ((_e = B.value) == null ? void 0 : _e.key) === g.key ? (r(), h(R, { key: 0 }, [
4849
+ k("span", Ws, [
4850
+ ne(we, {
4841
4851
  name: "close",
4842
4852
  width: 2,
4843
4853
  class: "cursor-pointer",
4844
- onClick: (ge) => t("delAbsImgItem", _)
4854
+ onClick: (fe) => t("delAbsImgItem", g)
4845
4855
  }, null, 8, ["onClick"])
4846
4856
  ]),
4847
4857
  k("div", qs, [
4848
- (r(), h(O, null, le(8, (ge, we) => k("div", {
4849
- key: ge,
4858
+ (r(), h(R, null, se(8, (fe, ke) => k("div", {
4859
+ key: fe,
4850
4860
  class: "absolute w-4 h-4 border-2 border-current z-5 cursor-move",
4851
- style: X({ ...i[we], transform: "translate(-50%, -50%)" }),
4852
- onMousedown: Ee((b) => g(b, we), ["stop"])
4861
+ style: Z({ ...i[ke], transform: "translate(-50%, -50%)" }),
4862
+ onMousedown: Ee((v) => b(v, ke), ["stop"])
4853
4863
  }, null, 44, Qs)), 64))
4854
4864
  ]),
4855
4865
  k("span", {
4856
4866
  class: "absolute flex items-center justify-center -right-20 w-12 h-12 rounded-full border border-current cursor-grab control_rotate",
4857
4867
  onMousedown: Ee(C, ["stop"])
4858
4868
  }, [
4859
- ae(ve, {
4869
+ ne(we, {
4860
4870
  name: "reset",
4861
4871
  width: 2
4862
4872
  })
4863
4873
  ], 40, Ys)
4864
- ], 64)) : B("", !0)
4874
+ ], 64)) : N("", !0)
4865
4875
  ], 46, Hs)), [
4866
- [L(l), G]
4876
+ [L(l), Q]
4867
4877
  ]);
4868
4878
  }), 128)),
4869
- (r(!0), h(O, null, le(J.value, (_) => {
4870
- var R, q, E, H, K, se, Te;
4879
+ (r(!0), h(R, null, se(j.value, (g) => {
4880
+ var z, K, E, W, P, q, _e;
4871
4881
  return Ct((r(), h("div", {
4872
- key: _.id,
4882
+ key: g.id,
4873
4883
  ref_for: !0,
4874
4884
  ref_key: "txtViewList",
4875
- ref: z,
4876
- disabled: A.value,
4885
+ ref: H,
4886
+ disabled: D.value,
4877
4887
  "data-safe": "true",
4878
- class: oe(["absolute", ((R = D.value) == null ? void 0 : R.key) === _.key ? "z-8 bg-white" : "z-7"]),
4879
- style: X({ left: Math.max(((q = w.value[_.key]) == null ? void 0 : q.left) || _.left, 0) + "px", top: Math.max(((E = w.value[_.key]) == null ? void 0 : E.top) || _.top, 0) + "px", width: (((H = w.value[_.key]) == null ? void 0 : H.width) || _.width) + "px", height: (((K = w.value[_.key]) == null ? void 0 : K.height) || _.height) + "px" }),
4880
- onClick: v[3] || (v[3] = Ee((ge) => T.void, ["stop"])),
4881
- onMousedown: Ee((ge) => Y(_), ["stop"]),
4888
+ class: le(["absolute", ((z = B.value) == null ? void 0 : z.key) === g.key ? "z-8 bg-white" : "z-7"]),
4889
+ style: Z({ left: Math.max(((K = w.value[g.key]) == null ? void 0 : K.left) || g.left, 0) + "px", top: Math.max(((E = w.value[g.key]) == null ? void 0 : E.top) || g.top, 0) + "px", width: (((W = w.value[g.key]) == null ? void 0 : W.width) || g.width) + "px", height: (((P = w.value[g.key]) == null ? void 0 : P.height) || g.height) + "px" }),
4890
+ onClick: f[3] || (f[3] = Ee((fe) => T.void, ["stop"])),
4891
+ onMousedown: Ee((fe) => U(g), ["stop"]),
4882
4892
  "data-block": L(Be)
4883
4893
  }, [
4884
- (r(), ee(zs, {
4894
+ (r(), te(zs, {
4885
4895
  key: y.value,
4886
4896
  class: "border-0 relative z-4",
4887
- readonly: ((se = D.value) == null ? void 0 : se.key) !== _.key,
4888
- value: _.content,
4889
- name: _.id.toString(),
4890
- onChange: ue,
4891
- onFocus: v[1] || (v[1] = (ge) => ie(!0)),
4892
- onBlur: v[2] || (v[2] = (ge) => ie(!1))
4897
+ readonly: ((q = B.value) == null ? void 0 : q.key) !== g.key,
4898
+ value: g.content,
4899
+ name: g.id.toString(),
4900
+ onChange: ae,
4901
+ onFocus: f[1] || (f[1] = (fe) => re(!0)),
4902
+ onBlur: f[2] || (f[2] = (fe) => re(!1))
4893
4903
  }, null, 8, ["readonly", "value", "name"])),
4894
- ((Te = D.value) == null ? void 0 : Te.key) === _.key ? (r(), h(O, { key: 0 }, [
4904
+ ((_e = B.value) == null ? void 0 : _e.key) === g.key ? (r(), h(R, { key: 0 }, [
4895
4905
  k("span", Us, [
4896
- ae(ve, {
4906
+ ne(we, {
4897
4907
  name: "close",
4898
4908
  width: 2,
4899
4909
  class: "cursor-pointer",
4900
- onClick: (ge) => t("delAbsTxtItem", _)
4910
+ onClick: (fe) => t("delAbsTxtItem", g)
4901
4911
  }, null, 8, ["onClick"])
4902
4912
  ]),
4903
4913
  k("div", Vs, [
4904
- (r(), h(O, null, le(8, (ge, we) => k("div", {
4905
- key: ge,
4914
+ (r(), h(R, null, se(8, (fe, ke) => k("div", {
4915
+ key: fe,
4906
4916
  class: "absolute w-4 h-4 border-2 border-current z-5 cursor-move",
4907
- style: X({ ...i[we], transform: "translate(-50%, -50%)" }),
4908
- onMousedown: (b) => g(b, we)
4909
- }, null, 44, js)), 64))
4917
+ style: Z({ ...i[ke], transform: "translate(-50%, -50%)" }),
4918
+ onMousedown: (v) => b(v, ke)
4919
+ }, null, 44, Xs)), 64))
4910
4920
  ])
4911
- ], 64)) : B("", !0)
4921
+ ], 64)) : N("", !0)
4912
4922
  ], 46, Ks)), [
4913
- [L(l), G]
4923
+ [L(l), Q]
4914
4924
  ]);
4915
4925
  }), 128))
4916
4926
  ], 64));
4917
4927
  }
4918
4928
  });
4919
- const Js = /* @__PURE__ */ me(Xs, [["__scopeId", "data-v-db8ee9a5"]]), Zs = ["viewBox"], ei = {
4929
+ const Zs = /* @__PURE__ */ me(Js, [["__scopeId", "data-v-db8ee9a5"]]), js = ["viewBox"], ei = {
4920
4930
  x: "0",
4921
4931
  y: "0",
4922
4932
  width: "100%",
4923
4933
  height: "100%"
4924
- }, ti = ["onClick", "onDblclick"], oi = ["data-block"], ai = /* @__PURE__ */ ne({
4934
+ }, ti = ["onClick", "onDblclick"], oi = ["data-block"], ai = /* @__PURE__ */ ie({
4925
4935
  __name: "index",
4926
4936
  props: {
4927
4937
  layout: {},
@@ -4940,173 +4950,173 @@ const Js = /* @__PURE__ */ me(Xs, [["__scopeId", "data-v-db8ee9a5"]]), Zs = ["vi
4940
4950
  setup(e, { emit: t }) {
4941
4951
  const o = e;
4942
4952
  Yt("ckeditorOrigin", o.ckeditorOrigin);
4943
- const l = V([]), i = V([]), a = V(2), n = V(0), c = V(0), y = V(), s = V([]), m = V([]), A = V([]), p = V([]), P = W(() => o.data.map((b) => ({
4944
- ...b,
4953
+ const l = X([]), i = X([]), a = X(2), n = X(0), c = X(0), y = X(), s = X([]), m = X([]), D = X([]), p = X([]), M = G(() => o.data.map((v) => ({
4954
+ ...v,
4945
4955
  __tag__: Tt(),
4946
- rawChildren: b.children,
4947
- children: b.children.map((F) => ({ ...F, ...T(F), startAnswerLen: 0, endAnswerLen: 0, chunk: 0, __tag__: Tt() }))
4948
- }))), z = W(() => {
4949
- if (!P.value.length)
4956
+ rawChildren: v.children,
4957
+ children: v.children.map((F) => ({ ...F, ...T(F), startAnswerLen: 0, endAnswerLen: 0, chunk: 0, __tag__: Tt() }))
4958
+ }))), H = G(() => {
4959
+ if (!M.value.length)
4950
4960
  return;
4951
- const b = P.value[P.value.length - 1], F = b.rawChildren[b.rawChildren.length - 1];
4952
- return ie.value && [u.slove].includes(F == null ? void 0 : F.problemType) && F.id;
4953
- }), j = W(() => {
4954
- var b;
4955
- return o.layout.bindFlag && !!((b = qe.find((F) => F.code === o.layout.paper)) != null && b.isMultCol);
4956
- }), J = W(() => o.isFinal ? 0 : 10), D = W(() => o.isFinal ? 10 : 0), w = W(() => Math.floor(l.value.length / (o.layout.column + o.layout.backColumn)) * 2 + Math.ceil(l.value.length % (o.layout.column + o.layout.backColumn) / o.layout.column) || a.value || 1), G = W(() => Math.ceil(w.value / 2) * 2), ie = W(() => ["sheet", "sheetCard"].includes(o.layout.mode)), C = W(() => ie.value ? Le : { top: 0, right: 0, bottom: 0, left: 0 }), U = W(() => typeof o.layout.padding == "number" ? { left: o.layout.padding, top: o.layout.padding, right: o.layout.padding, bottom: o.layout.padding } : o.layout.padding || yt[o.layout.mode][o.layout.paper]), de = W(() => x[o.layout.paper].width - U.value.left - U.value.right), g = W(() => x[o.layout.paper].height - U.value.top - U.value.bottom), S = W(() => (de.value - (c.value ? c.value + H(0) : 0) + H(0)) / o.layout.column - H(0)), I = W(() => ({
4961
+ const v = M.value[M.value.length - 1], F = v.rawChildren[v.rawChildren.length - 1];
4962
+ return re.value && [u.slove].includes(F == null ? void 0 : F.problemType) && F.id;
4963
+ }), J = G(() => {
4964
+ var v;
4965
+ return o.layout.bindFlag && !!((v = qe.find((F) => F.code === o.layout.paper)) != null && v.isMultCol);
4966
+ }), j = G(() => o.isFinal ? 0 : 10), B = G(() => o.isFinal ? 10 : 0), w = G(() => Math.floor(l.value.length / (o.layout.column + o.layout.backColumn)) * 2 + Math.ceil(l.value.length % (o.layout.column + o.layout.backColumn) / o.layout.column) || a.value || 1), Q = G(() => Math.ceil(w.value / 2) * 2), re = G(() => ["sheet", "sheetCard"].includes(o.layout.mode)), C = G(() => re.value ? Fe : { top: 0, right: 0, bottom: 0, left: 0 }), V = G(() => typeof o.layout.padding == "number" ? { left: o.layout.padding, top: o.layout.padding, right: o.layout.padding, bottom: o.layout.padding } : o.layout.padding || yt[o.layout.mode][o.layout.paper]), ue = G(() => x[o.layout.paper].width - V.value.left - V.value.right), b = G(() => x[o.layout.paper].height - V.value.top - V.value.bottom), S = G(() => (ue.value - (c.value ? c.value + W(0) : 0) + W(0)) / o.layout.column - W(0)), I = G(() => ({
4957
4967
  width: `${x[o.layout.paper].width}px`,
4958
- height: `${(x[o.layout.paper].height + J.value) * G.value - J.value}px`
4959
- })), N = W(() => ({
4968
+ height: `${(x[o.layout.paper].height + j.value) * Q.value - j.value}px`
4969
+ })), O = G(() => ({
4960
4970
  width: `${x[o.layout.paper].width}px`,
4961
4971
  height: `${x[o.layout.paper].height}px`,
4962
- padding: `${U.value.top}px ${U.value.right}px ${U.value.bottom}px ${U.value.left}px`,
4963
- marginBottom: `${J.value}px`
4964
- })), ue = W(() => {
4972
+ padding: `${V.value.top}px ${V.value.right}px ${V.value.bottom}px ${V.value.left}px`,
4973
+ marginBottom: `${j.value}px`
4974
+ })), ae = G(() => {
4965
4975
  var F;
4966
- const b = (F = qe.find((_e) => _e.code === o.layout.paper)) == null ? void 0 : F.isFullTitle;
4976
+ const v = (F = qe.find((ge) => ge.code === o.layout.paper)) == null ? void 0 : F.isFullTitle;
4967
4977
  return {
4968
- left: `${U.value.left + (c.value ? c.value + H(0) : 0)}px`,
4969
- top: `${U.value.top}px`,
4970
- width: b ? `${de.value}px` : `${S.value}px`
4978
+ left: `${V.value.left + (c.value ? c.value + W(0) : 0)}px`,
4979
+ top: `${V.value.top}px`,
4980
+ width: v ? `${ue.value}px` : `${S.value}px`
4971
4981
  };
4972
- }), Y = W(() => At.filter((b) => o.info.bindExtentInfo[b.code]).map((b) => o.info.bindExtentInfo[b.key]));
4982
+ }), U = G(() => At.filter((v) => o.info.bindExtentInfo[v.code]).map((v) => o.info.bindExtentInfo[v.key]));
4973
4983
  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(""), () => {
4974
4984
  setTimeout(() => {
4975
- ge();
4985
+ fe();
4976
4986
  }, 100);
4977
- }, { immediate: !0 }), De(() => j.value, () => {
4978
- c.value = j.value ? 100 : 0;
4987
+ }, { immediate: !0 }), De(() => J.value, () => {
4988
+ c.value = J.value ? 100 : 0;
4979
4989
  }, { immediate: !0 });
4980
- const T = (b) => {
4981
- let F = { ...b };
4982
- if ([u.slove].includes(F.problemType) && ie.value) {
4983
- const _e = document.createElement("div");
4984
- _e.innerHTML = F.answerArea;
4985
- const Z = _e.querySelector(Bt.sub);
4986
- if (Z) {
4987
- const re = document.createElement("div");
4988
- re.innerHTML = is(F.sub, F.style[d.public.scoreShowFlag] === f.bracket_none ? void 0 : [F.score].flat(2).reduce(($e, Ae) => $e + Ae, 0), F.style[d.public.scoreShowFlag]), Z.replaceWith(re.children[0]), F.answerArea = _e.innerHTML, F.customSub = !0, _e.remove(), re.remove();
4990
+ const T = (v) => {
4991
+ let F = { ...v };
4992
+ if ([u.slove].includes(F.problemType) && re.value) {
4993
+ const ge = document.createElement("div");
4994
+ ge.innerHTML = F.answerArea;
4995
+ const ee = ge.querySelector(Bt.sub);
4996
+ if (ee) {
4997
+ const ce = document.createElement("div");
4998
+ ce.innerHTML = is(F.sub, F.style[d.public.scoreShowFlag] === _.bracket_none ? void 0 : [F.score].flat(2).reduce(($e, Ae) => $e + Ae, 0), F.style[d.public.scoreShowFlag]), ee.replaceWith(ce.children[0]), F.answerArea = ge.innerHTML, F.customSub = !0, ge.remove(), ce.remove();
4989
4999
  }
4990
5000
  }
4991
5001
  return F;
4992
- }, v = (b) => b % (o.layout.column + o.layout.backColumn) >= o.layout.column ? o.layout.backColumn : o.layout.column, _ = (b, F) => Math.floor(F / 2) * (o.layout.column + o.layout.backColumn) + F % 2 * o.layout.column + b, R = (b) => {
4993
- const F = b % (o.layout.column + o.layout.backColumn);
5002
+ }, f = (v) => v % (o.layout.column + o.layout.backColumn) >= o.layout.column ? o.layout.backColumn : o.layout.column, g = (v, F) => Math.floor(F / 2) * (o.layout.column + o.layout.backColumn) + F % 2 * o.layout.column + v, z = (v) => {
5003
+ const F = v % (o.layout.column + o.layout.backColumn);
4994
5004
  return F >= o.layout.column ? F - o.layout.column : F;
4995
- }, q = (b, F) => {
4996
- b ? s.value[F] = b : s.value.splice(F, 1);
4997
- }, E = (b, F) => {
4998
- b ? m.value[F] = b : m.value.splice(F, 1);
4999
- }, H = (b) => Mt[o.layout.mode][o.layout.paper][v(b)] || 0, K = (b, F = !1) => (de.value - (c.value ? c.value + H(b) : 0) + H(b)) / v(b) - H(b) - C.value.left - C.value.right + (F ? C.value.left + C.value.right : 0), se = (b, F) => {
5000
- var Z, re;
5001
- const _e = b % (o.layout.column + o.layout.backColumn) ? 0 : ((Z = A.value[Math.min(F, 1)]) == null ? void 0 : Z.offsetHeight) || 0;
5005
+ }, K = (v, F) => {
5006
+ v ? s.value[F] = v : s.value.splice(F, 1);
5007
+ }, E = (v, F) => {
5008
+ v ? m.value[F] = v : m.value.splice(F, 1);
5009
+ }, W = (v) => Mt[o.layout.mode][o.layout.paper][f(v)] || 0, P = (v, F = !1) => (ue.value - (c.value ? c.value + W(v) : 0) + W(v)) / f(v) - W(v) - C.value.left - C.value.right + (F ? C.value.left + C.value.right : 0), q = (v, F) => {
5010
+ var ee, ce;
5011
+ const ge = v % (o.layout.column + o.layout.backColumn) ? 0 : ((ee = D.value[Math.min(F, 1)]) == null ? void 0 : ee.offsetHeight) || 0;
5002
5012
  return {
5003
- left: `${U.value.left + (F % 2 ? 0 : c.value ? c.value + H(b) : 0) + C.value.left + R(b) * (K(b) + H(b) + C.value.left + C.value.right)}px`,
5004
- top: `${_e + U.value.top + (!F && !b ? 0 : C.value.top)}px`,
5005
- width: `${K(b)}px`,
5006
- height: `${g.value - _e - (!F && !b ? 0 : C.value.top) - C.value.bottom}px`,
5007
- contentHeight: `${(re = l.value[b]) == null ? void 0 : re.height}px`
5013
+ left: `${V.value.left + (F % 2 ? 0 : c.value ? c.value + W(v) : 0) + C.value.left + z(v) * (P(v) + W(v) + C.value.left + C.value.right)}px`,
5014
+ top: `${ge + V.value.top + (!F && !v ? 0 : C.value.top)}px`,
5015
+ width: `${P(v)}px`,
5016
+ height: `${b.value - ge - (!F && !v ? 0 : C.value.top) - C.value.bottom}px`,
5017
+ contentHeight: `${(ce = l.value[v]) == null ? void 0 : ce.height}px`
5008
5018
  };
5009
- }, Te = (b, F = !1) => {
5010
- i.value = b.map((_e) => ({ ..._e })), F && (l.value = [...b], n.value += 1, lt(() => {
5011
- a.value = Math.ceil(l.value.length / o.layout.column), i.value = [], m.value.forEach((_e, Z) => {
5012
- var re, $e;
5013
- !_e || !_e.col || ((re = l.value[Z]) != null && re.top ? _e.col.style.marginTop = `${($e = l.value[Z]) == null ? void 0 : $e.top}px` : _e.col.style.marginTop = "");
5019
+ }, _e = (v, F = !1) => {
5020
+ i.value = v.map((ge) => ({ ...ge })), F && (l.value = [...v], n.value += 1, lt(() => {
5021
+ a.value = Math.ceil(l.value.length / o.layout.column), i.value = [], m.value.forEach((ge, ee) => {
5022
+ var ce, $e;
5023
+ !ge || !ge.col || ((ce = l.value[ee]) != null && ce.top ? ge.col.style.marginTop = `${($e = l.value[ee]) == null ? void 0 : $e.top}px` : ge.col.style.marginTop = "");
5014
5024
  }), o.isFinal && setTimeout(() => {
5015
- const _e = ks({
5025
+ const ge = ks({
5016
5026
  config: {
5017
5027
  ...o.info,
5018
5028
  layout: o.layout,
5019
5029
  pageTotal: w.value,
5020
5030
  bindWidth: c.value,
5021
- pageMargin: J.value,
5031
+ pageMargin: j.value,
5022
5032
  pageDom: s.value.slice(0, w.value),
5023
- colDom: m.value.map((Z) => Z.col),
5024
- colViewDom: m.value.map((Z) => Z.colView)
5033
+ colDom: m.value.map((ee) => ee.col),
5034
+ colViewDom: m.value.map((ee) => ee.colView)
5025
5035
  },
5026
5036
  data: l.value
5027
5037
  });
5028
- t("getFinalData", _e);
5038
+ t("getFinalData", ge);
5029
5039
  }, 500);
5030
5040
  }));
5031
- }, ge = () => {
5041
+ }, fe = () => {
5032
5042
  As({
5033
5043
  el: y.value,
5034
- data: P.value,
5044
+ data: M.value,
5035
5045
  column: o.layout.column,
5036
5046
  backColumn: o.layout.backColumn || o.layout.column,
5037
- getColSize: se,
5038
- change: Te
5047
+ getColSize: q,
5048
+ change: _e
5039
5049
  });
5040
- }, we = (b = { type: M.page, value: {} }) => {
5041
- t("toggleActive", b);
5050
+ }, ke = (v = { type: A.page, value: {} }) => {
5051
+ t("toggleActive", v);
5042
5052
  };
5043
- return (b, F) => {
5044
- var _e;
5045
- return r(), h(O, null, [
5046
- b.readonly ? B("", !0) : (r(), ee(Es, {
5053
+ return (v, F) => {
5054
+ var ge;
5055
+ return r(), h(R, null, [
5056
+ v.readonly ? N("", !0) : (r(), te(Es, {
5047
5057
  key: 0,
5048
5058
  ColList: l.value,
5049
- ColDom: m.value.map((Z) => Z.col),
5050
- ImgData: b.imgData,
5051
- TxtData: b.txtData,
5052
- onDelAbsImgItem: F[0] || (F[0] = (Z) => t("delAbsImgItem", Z)),
5053
- onDelAbsTxtItem: F[1] || (F[1] = (Z) => t("delAbsTxtItem", Z)),
5054
- onChangeLayoutStatus: F[2] || (F[2] = (Z) => t("changeLayoutStatus", Z))
5059
+ ColDom: m.value.map((ee) => ee.col),
5060
+ ImgData: v.imgData,
5061
+ TxtData: v.txtData,
5062
+ onDelAbsImgItem: F[0] || (F[0] = (ee) => t("delAbsImgItem", ee)),
5063
+ onDelAbsTxtItem: F[1] || (F[1] = (ee) => t("delAbsTxtItem", ee)),
5064
+ onChangeLayoutStatus: F[2] || (F[2] = (ee) => t("changeLayoutStatus", ee))
5055
5065
  }, null, 8, ["ColList", "ColDom", "ImgData", "TxtData"])),
5056
5066
  k("div", {
5057
5067
  class: "flex-1 overflow-auto relative z-1",
5058
5068
  id: "alit-layout",
5059
- onClick: F[14] || (F[14] = (Z) => we())
5069
+ onClick: F[14] || (F[14] = (ee) => ke())
5060
5070
  }, [
5061
5071
  k("div", {
5062
5072
  class: "absolute h-0 invisible overflow-hidden font-base text-base pointer-events-none -z-1",
5063
5073
  ref_key: "rawDom",
5064
5074
  ref: y
5065
5075
  }, [
5066
- i.value.length ? (r(!0), h(O, { key: 0 }, le((_e = i.value[i.value.length - 1]) == null ? void 0 : _e.data, (Z, re) => (r(), h(O, null, [
5067
- Z.isHidden ? B("", !0) : (r(), ee($t, {
5076
+ i.value.length ? (r(!0), h(R, { key: 0 }, se((ge = i.value[i.value.length - 1]) == null ? void 0 : ge.data, (ee, ce) => (r(), h(R, null, [
5077
+ ee.isHidden ? N("", !0) : (r(), te($t, {
5068
5078
  key: 0,
5069
- item: Z,
5070
- showColBorder: ie.value,
5071
- isFirst: !re && i.value.length === 1,
5072
- layout: b.layout
5079
+ item: ee,
5080
+ showColBorder: re.value,
5081
+ isFirst: !ce && i.value.length === 1,
5082
+ layout: v.layout
5073
5083
  }, null, 8, ["item", "showColBorder", "isFirst", "layout"])),
5074
- ie.value ? (r(), h("div", {
5084
+ re.value ? (r(), h("div", {
5075
5085
  key: 1,
5076
- class: oe([!Z.children.length && Z.problemType && "p-1 min-h-[2rem]"])
5086
+ class: le([!ee.children.length && ee.problemType && "p-1 min-h-[2rem]"])
5077
5087
  }, [
5078
- (r(), ee(je, {
5079
- data: Z,
5088
+ (r(), te(Xe, {
5089
+ data: ee,
5080
5090
  key: i.value.length,
5081
- layout: b.layout,
5082
- target: b.target,
5091
+ layout: v.layout,
5092
+ target: v.target,
5083
5093
  noPortrait: "",
5084
- width: K(i.value.length - 1)
5094
+ width: P(i.value.length - 1)
5085
5095
  }, null, 8, ["data", "layout", "target", "width"]))
5086
- ], 2)) : (r(), ee(je, {
5087
- data: Z,
5096
+ ], 2)) : (r(), te(Xe, {
5097
+ data: ee,
5088
5098
  key: i.value.length,
5089
- layout: b.layout,
5090
- target: b.target,
5091
- width: K(i.value.length - 1)
5099
+ layout: v.layout,
5100
+ target: v.target,
5101
+ width: P(i.value.length - 1)
5092
5102
  }, null, 8, ["data", "layout", "target", "width"]))
5093
- ], 64))), 256)) : B("", !0)
5103
+ ], 64))), 256)) : N("", !0)
5094
5104
  ], 512),
5095
5105
  k("div", {
5096
- class: oe(["mx-auto relative overflow-hidden flex-shrink-0 font-base text-base __layout__", b.layout.redFlag && "red_mode", b.readonly && "pointer-events-none"]),
5097
- style: X(I.value)
5106
+ class: le(["mx-auto relative overflow-hidden flex-shrink-0 font-base text-base __layout__", v.layout.redFlag && "red_mode", v.readonly && "pointer-events-none"]),
5107
+ style: Z(I.value)
5098
5108
  }, [
5099
- ae(Js, {
5100
- imgData: b.imgData,
5101
- txtData: b.txtData,
5102
- activeAbsItem: b.activeAbsItem,
5103
- target: b.target,
5104
- layout: b.layout,
5105
- pageMargin: D.value,
5106
- onChangeAbsImgItem: F[3] || (F[3] = (Z) => t("changeAbsImgItem", Z)),
5107
- onDelAbsImgItem: F[4] || (F[4] = (Z) => t("delAbsImgItem", Z)),
5108
- onChangeAbsTxtItem: F[5] || (F[5] = (Z) => t("changeAbsTxtItem", Z)),
5109
- onDelAbsTxtItem: F[6] || (F[6] = (Z) => t("delAbsTxtItem", Z))
5109
+ ne(Zs, {
5110
+ imgData: v.imgData,
5111
+ txtData: v.txtData,
5112
+ activeAbsItem: v.activeAbsItem,
5113
+ target: v.target,
5114
+ layout: v.layout,
5115
+ pageMargin: B.value,
5116
+ onChangeAbsImgItem: F[3] || (F[3] = (ee) => t("changeAbsImgItem", ee)),
5117
+ onDelAbsImgItem: F[4] || (F[4] = (ee) => t("delAbsImgItem", ee)),
5118
+ onChangeAbsTxtItem: F[5] || (F[5] = (ee) => t("changeAbsTxtItem", ee)),
5119
+ onDelAbsTxtItem: F[6] || (F[6] = (ee) => t("delAbsTxtItem", ee))
5110
5120
  }, null, 8, ["imgData", "txtData", "activeAbsItem", "target", "layout", "pageMargin"]),
5111
5121
  (r(), h("svg", {
5112
5122
  viewBox: `0 0 ${parseFloat(I.value.width)} ${parseFloat(I.value.height)}`,
@@ -5115,131 +5125,131 @@ const Js = /* @__PURE__ */ me(Xs, [["__scopeId", "data-v-db8ee9a5"]]), Zs = ["vi
5115
5125
  key: n.value
5116
5126
  }, [
5117
5127
  (r(), h("foreignObject", ei, [
5118
- (r(!0), h(O, null, le(G.value, (Z, re) => (r(), h("div", {
5119
- key: Z,
5128
+ (r(!0), h(R, null, se(Q.value, (ee, ce) => (r(), h("div", {
5129
+ key: ee,
5120
5130
  class: "bg-white relative flex justify-between overflow-hidden box-border",
5121
5131
  ref_for: !0,
5122
- ref: ($e) => q($e, re),
5123
- style: X(N.value)
5132
+ ref: ($e) => K($e, ce),
5133
+ style: Z(O.value)
5124
5134
  }, [
5125
- re < w.value ? (r(), h(O, { key: 0 }, [
5126
- ae(Io, {
5127
- layout: b.layout,
5128
- currentPage: re,
5135
+ ce < w.value ? (r(), h(R, { key: 0 }, [
5136
+ ne(Io, {
5137
+ layout: v.layout,
5138
+ currentPage: ce,
5129
5139
  totalPage: w.value,
5130
- columnContentWidth: K(re % 2 ? b.layout.column : 0, !0),
5131
- columnMargin: H(re % 2 ? b.layout.column : 0),
5140
+ columnContentWidth: P(ce % 2 ? v.layout.column : 0, !0),
5141
+ columnMargin: W(ce % 2 ? v.layout.column : 0),
5132
5142
  bindWidth: c.value,
5133
- padding: U.value
5143
+ padding: V.value
5134
5144
  }, null, 8, ["layout", "currentPage", "totalPage", "columnContentWidth", "columnMargin", "bindWidth", "padding"]),
5135
- b.layout.sloganFlag ? (r(), ee(Eo, {
5145
+ v.layout.sloganFlag ? (r(), te(Eo, {
5136
5146
  key: 0,
5137
- info: b.info,
5138
- layout: b.layout,
5147
+ info: v.info,
5148
+ layout: v.layout,
5139
5149
  onChange: F[7] || (F[7] = ($e) => t("changeInfo", $e))
5140
- }, null, 8, ["info", "layout"])) : B("", !0),
5141
- ae(nl, {
5150
+ }, null, 8, ["info", "layout"])) : N("", !0),
5151
+ ne(nl, {
5142
5152
  ref_for: !0,
5143
5153
  ref_key: "bindDom",
5144
5154
  ref: p,
5145
- currentPage: re,
5155
+ currentPage: ce,
5146
5156
  width: c.value,
5147
- height: g.value,
5148
- isBindFlag: j.value,
5149
- bindSeatType: b.layout.bindSeatType,
5150
- bindInfo: Y.value
5157
+ height: b.value,
5158
+ isBindFlag: J.value,
5159
+ bindSeatType: v.layout.bindSeatType,
5160
+ bindInfo: U.value
5151
5161
  }, null, 8, ["currentPage", "width", "height", "isBindFlag", "bindSeatType", "bindInfo"]),
5152
- !(re % 2) || re === 1 && w.value < 3 ? (r(), h("div", {
5162
+ !(ce % 2) || ce === 1 && w.value < 3 ? (r(), h("div", {
5153
5163
  key: 1,
5154
5164
  ref_for: !0,
5155
5165
  ref_key: "titleDom",
5156
- ref: A,
5157
- class: oe(["absolute text-black", re === 1 && w.value < 3 && "opacity-0 pointer-events-none"]),
5158
- style: X(ue.value)
5166
+ ref: D,
5167
+ class: le(["absolute text-black", ce === 1 && w.value < 3 && "opacity-0 pointer-events-none"]),
5168
+ style: Z(ae.value)
5159
5169
  }, [
5160
- ae(Oo, {
5161
- layout: b.layout,
5162
- code: b.info.textCode
5170
+ ne(Oo, {
5171
+ layout: v.layout,
5172
+ code: v.info.textCode
5163
5173
  }, null, 8, ["layout", "code"]),
5164
- ae(ia, {
5165
- info: b.info,
5166
- layout: b.layout,
5167
- fontConfig: b.fontConfig,
5168
- data: b.data,
5174
+ ne(ia, {
5175
+ info: v.info,
5176
+ layout: v.layout,
5177
+ fontConfig: v.fontConfig,
5178
+ data: v.data,
5169
5179
  onChange: F[8] || (F[8] = ($e) => t("changeInfo", $e))
5170
5180
  }, null, 8, ["info", "layout", "fontConfig", "data"]),
5171
- ae(Ia, {
5172
- layout: b.layout,
5173
- info: b.info,
5174
- isBindFlag: j.value,
5181
+ ne(Ia, {
5182
+ layout: v.layout,
5183
+ info: v.info,
5184
+ isBindFlag: J.value,
5175
5185
  onChange: F[9] || (F[9] = ($e) => t("changeExtentInfo", $e))
5176
5186
  }, null, 8, ["layout", "info", "isBindFlag"]),
5177
- ae(Ha, {
5178
- layout: b.layout,
5179
- isBindFlag: j.value
5187
+ ne(Ha, {
5188
+ layout: v.layout,
5189
+ isBindFlag: J.value
5180
5190
  }, null, 8, ["layout", "isBindFlag"]),
5181
- re ? B("", !0) : (r(), ee(Ua, {
5191
+ ce ? N("", !0) : (r(), te(Ua, {
5182
5192
  key: 0,
5183
- layout: b.layout,
5184
- data: b.data
5193
+ layout: v.layout,
5194
+ data: v.data
5185
5195
  }, null, 8, ["layout", "data"])),
5186
- b.layout.writeScoreFlag && !re ? (r(), ee(kl, {
5196
+ v.layout.writeScoreFlag && !ce ? (r(), te(kl, {
5187
5197
  key: 1,
5188
- info: b.info,
5189
- layout: b.layout
5190
- }, null, 8, ["info", "layout"])) : B("", !0)
5191
- ], 6)) : B("", !0),
5192
- (r(!0), h(O, null, le(re % 2 ? b.layout.backColumn : b.layout.column, ($e, Ae) => (r(), ee(ja, {
5198
+ info: v.info,
5199
+ layout: v.layout
5200
+ }, null, 8, ["info", "layout"])) : N("", !0)
5201
+ ], 6)) : N("", !0),
5202
+ (r(!0), h(R, null, se(ce % 2 ? v.layout.backColumn : v.layout.column, ($e, Ae) => (r(), te(Xa, {
5193
5203
  ref_for: !0,
5194
- ref: (Ve) => E(Ve, _(Ae, re)),
5195
- styleInfo: se(_(Ae, re), re),
5196
- column: b.layout.column,
5197
- currentColumn: _(Ae, re),
5198
- showColBorder: ie.value
5204
+ ref: (Ve) => E(Ve, g(Ae, ce)),
5205
+ styleInfo: q(g(Ae, ce), ce),
5206
+ column: v.layout.column,
5207
+ currentColumn: g(Ae, ce),
5208
+ showColBorder: re.value
5199
5209
  }, {
5200
5210
  default: Et(() => {
5201
5211
  var Ve;
5202
5212
  return [
5203
- (r(!0), h(O, null, le(((Ve = l.value[_(Ae, re)]) == null ? void 0 : Ve.data) || [], (ke, Gt) => {
5213
+ (r(!0), h(R, null, se(((Ve = l.value[g(Ae, ce)]) == null ? void 0 : Ve.data) || [], (xe, Wt) => {
5204
5214
  var vt;
5205
- return r(), h(O, null, [
5206
- ke.isHidden ? B("", !0) : (r(), ee($t, {
5215
+ return r(), h(R, null, [
5216
+ xe.isHidden ? N("", !0) : (r(), te($t, {
5207
5217
  key: 0,
5208
- item: ke,
5209
- showColBorder: ie.value,
5210
- isFirst: !re && !Ae && !Gt,
5211
- layout: b.layout,
5212
- isActive: ((vt = b.target.value) == null ? void 0 : vt.id) === ke.id,
5213
- onClick: (be) => we({ type: ke.problemType ? L(M).headline : L(M).headlineNotarea, value: ke }),
5214
- onDbclick: (be) => t("dbHeadLineClick", ke)
5218
+ item: xe,
5219
+ showColBorder: re.value,
5220
+ isFirst: !ce && !Ae && !Wt,
5221
+ layout: v.layout,
5222
+ isActive: ((vt = v.target.value) == null ? void 0 : vt.id) === xe.id,
5223
+ onClick: (ve) => ke({ type: xe.problemType ? L(A).headline : L(A).headlineNotarea, value: xe }),
5224
+ onDbclick: (ve) => t("dbHeadLineClick", xe)
5215
5225
  }, null, 8, ["item", "showColBorder", "isFirst", "layout", "isActive", "onClick", "onDbclick"])),
5216
- ie.value ? (r(), h("div", {
5226
+ re.value ? (r(), h("div", {
5217
5227
  key: 1,
5218
- class: oe([!ke.children.length && ke.problemType && "p-1 min-h-[2rem]", b.target.type === L(M).headline && b.target.value.id === ke.id && "active_headline"]),
5219
- onClick: Ee((be) => we({ type: ke.problemType ? L(M).headline : L(M).headlineNotarea, value: ke }), ["stop"]),
5220
- onDblclick: (be) => t("dbHeadLineClick", ke)
5228
+ class: le([!xe.children.length && xe.problemType && "p-1 min-h-[2rem]", v.target.type === L(A).headline && v.target.value.id === xe.id && "active_headline"]),
5229
+ onClick: Ee((ve) => ke({ type: xe.problemType ? L(A).headline : L(A).headlineNotarea, value: xe }), ["stop"]),
5230
+ onDblclick: (ve) => t("dbHeadLineClick", xe)
5221
5231
  }, [
5222
- ae(je, {
5223
- data: ke,
5224
- layout: b.layout,
5225
- target: b.target,
5226
- width: K(_(Ae, re)),
5227
- onClick: F[10] || (F[10] = (be) => we({ type: be.problemType || be.notAreaFlag ? L(M).problem : L(M).problemNotarea, value: { ...be, problemType: be.problemType || be.sourceProblemType } })),
5228
- onDbclick: F[11] || (F[11] = (be) => t("dbProblemClick", be))
5232
+ ne(Xe, {
5233
+ data: xe,
5234
+ layout: v.layout,
5235
+ target: v.target,
5236
+ width: P(g(Ae, ce)),
5237
+ onClick: F[10] || (F[10] = (ve) => ke({ type: ve.problemType || ve.notAreaFlag ? L(A).problem : L(A).problemNotarea, value: { ...ve, problemType: ve.problemType || ve.sourceProblemType } })),
5238
+ onDbclick: F[11] || (F[11] = (ve) => t("dbProblemClick", ve))
5229
5239
  }, null, 8, ["data", "layout", "target", "width"]),
5230
- ke.children.length && ke.children[ke.children.length - 1].id === z.value ? (r(), h("div", {
5240
+ xe.children.length && xe.children[xe.children.length - 1].id === H.value ? (r(), h("div", {
5231
5241
  key: 0,
5232
5242
  class: "border-t",
5233
5243
  "data-block": L(Be)
5234
- }, null, 8, oi)) : B("", !0)
5235
- ], 42, ti)) : (r(), ee(je, {
5244
+ }, null, 8, oi)) : N("", !0)
5245
+ ], 42, ti)) : (r(), te(Xe, {
5236
5246
  key: 2,
5237
- data: ke,
5238
- layout: b.layout,
5239
- target: b.target,
5240
- width: K(_(Ae, re)),
5241
- onClick: F[12] || (F[12] = (be) => we({ type: be.problemType || be.notAreaFlag ? L(M).problem : L(M).problemNotarea, value: { ...be, problemType: be.problemType || be.sourceProblemType } })),
5242
- onDbclick: F[13] || (F[13] = (be) => t("dbProblemClick", be))
5247
+ data: xe,
5248
+ layout: v.layout,
5249
+ target: v.target,
5250
+ width: P(g(Ae, ce)),
5251
+ onClick: F[12] || (F[12] = (ve) => ke({ type: ve.problemType || ve.notAreaFlag ? L(A).problem : L(A).problemNotarea, value: { ...ve, problemType: ve.problemType || ve.sourceProblemType } })),
5252
+ onDbclick: F[13] || (F[13] = (ve) => t("dbProblemClick", ve))
5243
5253
  }, null, 8, ["data", "layout", "target", "width"]))
5244
5254
  ], 64);
5245
5255
  }), 256))
@@ -5247,17 +5257,17 @@ const Js = /* @__PURE__ */ me(Xs, [["__scopeId", "data-v-db8ee9a5"]]), Zs = ["vi
5247
5257
  }),
5248
5258
  _: 2
5249
5259
  }, 1032, ["styleInfo", "column", "currentColumn", "showColBorder"]))), 256))
5250
- ], 64)) : B("", !0)
5260
+ ], 64)) : N("", !0)
5251
5261
  ], 4))), 128))
5252
5262
  ]))
5253
- ], 8, Zs))
5263
+ ], 8, js))
5254
5264
  ], 6)
5255
5265
  ])
5256
5266
  ], 64);
5257
5267
  };
5258
5268
  }
5259
5269
  });
5260
- const si = /* @__PURE__ */ me(ai, [["__scopeId", "data-v-3cc4ec73"]]);
5270
+ const si = /* @__PURE__ */ me(ai, [["__scopeId", "data-v-58a0f547"]]);
5261
5271
  export {
5262
5272
  ni as Config,
5263
5273
  si as default