st-comp 0.0.200 → 0.0.202

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.
Files changed (154) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.js +4 -4
  3. package/es/ConfigProvider.cjs +1 -1
  4. package/es/ConfigProvider.js +1 -1
  5. package/es/CustomFunction.cjs +1 -1
  6. package/es/CustomFunction.js +44 -40
  7. package/es/FactorWarning.cjs +1 -1
  8. package/es/FactorWarning.js +84 -78
  9. package/es/Kline.cjs +1 -1
  10. package/es/Kline.js +21 -19
  11. package/es/KlineBasic.cjs +1 -1
  12. package/es/KlineBasic.js +30 -28
  13. package/es/KlineConfig.cjs +1 -1
  14. package/es/KlineConfig.js +345 -331
  15. package/es/KlineNew.cjs +1 -1
  16. package/es/KlineNew.js +20 -18
  17. package/es/KlinePlus.cjs +4 -4
  18. package/es/KlinePlus.js +610 -588
  19. package/es/MonacoEditor.cjs +1 -1
  20. package/es/MonacoEditor.js +2 -2
  21. package/es/Pagination.cjs +1 -1
  22. package/es/Pagination.js +74 -72
  23. package/es/PasswordPrompt.cjs +1 -1
  24. package/es/PasswordPrompt.js +9 -157
  25. package/es/Pie.cjs +1 -1
  26. package/es/Pie.js +1 -1
  27. package/es/Table.cjs +1 -1
  28. package/es/Table.js +56 -52
  29. package/es/User.cjs +1 -1
  30. package/es/User.js +1313 -1
  31. package/es/VarSelectDialog.cjs +1 -1
  32. package/es/VarSelectDialog.js +28 -26
  33. package/es/VarietyAutoComplete.cjs +1 -1
  34. package/es/VarietyAutoComplete.js +19 -18
  35. package/es/VarietySearch.cjs +8 -8
  36. package/es/VarietySearch.js +704 -697
  37. package/es/VarietyTextCopy.cjs +1 -1
  38. package/es/VarietyTextCopy.js +12 -12
  39. package/es/VirtualTable.cjs +1 -1
  40. package/es/VirtualTable.js +80 -79
  41. package/es/{el-popover-5421d52a.cjs → _initCloneObject-52b6a510.cjs} +1 -1
  42. package/es/{el-popover-7a1c6412.js → _initCloneObject-eaef9418.js} +9 -9
  43. package/es/{base-8348063b.js → base-a5af3db3.js} +38 -38
  44. package/es/{castArray-3f45c3ec.js → castArray-7741a212.js} +1 -1
  45. package/es/{config-provider-eb0460f1.cjs → config-provider-a584d81e.cjs} +1 -1
  46. package/es/{config-provider-1a687690.js → config-provider-b16efd62.js} +6 -6
  47. package/es/debounce-62f5b6e8.cjs +1 -0
  48. package/es/debounce-8d53f4dd.js +83 -0
  49. package/es/dropdown-071c5d7e.cjs +1 -0
  50. package/es/dropdown-a59bba73.js +178 -0
  51. package/es/el-autocomplete-a07e9439.cjs +1 -0
  52. package/es/{el-autocomplete-d4cd96cd.js → el-autocomplete-ba808eb6.js} +16 -16
  53. package/es/{el-button-2e680390.js → el-button-c95adb85.js} +33 -33
  54. package/es/{el-button-4ccd7122.cjs → el-button-eec58cff.cjs} +1 -1
  55. package/es/el-checkbox-7421ccd3.js +459 -0
  56. package/es/el-checkbox-c25236a6.cjs +1 -0
  57. package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
  58. package/es/el-checkbox-group-4ed993c7.js +1 -0
  59. package/es/{el-dialog-bafc4b2b.js → el-dialog-41ab8417.js} +7 -6
  60. package/es/{el-dialog-6413b4af.cjs → el-dialog-ae86edb8.cjs} +1 -1
  61. package/es/{el-divider-93b0ee21.js → el-divider-4e059794.js} +1 -1
  62. package/es/{el-empty-56783dca.js → el-empty-33cb66f1.js} +3 -3
  63. package/es/el-form-item-c3fe189b.cjs +12 -0
  64. package/es/el-form-item-c53c374d.js +1269 -0
  65. package/es/{el-input-735575f4.js → el-input-2f75c4ba.js} +34 -34
  66. package/es/{el-input-6c5ac889.cjs → el-input-7fd293af.cjs} +1 -1
  67. package/es/{el-input-number-d5770776.cjs → el-input-number-22e21d16.cjs} +1 -1
  68. package/es/{el-input-number-6634a6ea.js → el-input-number-5193fe6d.js} +35 -35
  69. package/es/{el-loading-98dcebee.cjs → el-loading-cfd86c15.cjs} +1 -1
  70. package/es/{el-loading-049dacc5.js → el-loading-f6022062.js} +5 -5
  71. package/es/{el-menu-item-828bc6fa.cjs → el-menu-item-17dc717e.cjs} +1 -1
  72. package/es/{el-menu-item-8a210e21.js → el-menu-item-7e881203.js} +22 -22
  73. package/es/{el-message-a1ac37d4.cjs → el-message-5e6a6be9.cjs} +1 -1
  74. package/es/el-message-box-a93d2f6a.js +489 -0
  75. package/es/el-message-box-c10adb52.cjs +1 -0
  76. package/es/{el-message-def216ae.js → el-message-e544a8f5.js} +24 -24
  77. package/es/{el-overlay-4ea38eab.js → el-overlay-09ad71cd.js} +51 -51
  78. package/es/{el-overlay-69dfacb6.cjs → el-overlay-9e34965f.cjs} +1 -1
  79. package/es/{el-popconfirm-bdeceeb7.cjs → el-popconfirm-70a976bf.cjs} +1 -1
  80. package/es/{el-popconfirm-aace1104.js → el-popconfirm-81dcd202.js} +20 -20
  81. package/es/el-popover-0ea8fbf8.cjs +1 -0
  82. package/es/el-popover-4ed993c7.js +1 -0
  83. package/es/{el-popper-986a8371.js → el-popper-b4f97157.js} +115 -112
  84. package/es/{el-popper-b962125f.cjs → el-popper-b6c99b28.cjs} +1 -1
  85. package/es/el-scrollbar-323542e7.js +34 -0
  86. package/es/el-scrollbar-bc3f790d.cjs +1 -0
  87. package/es/{el-segmented-f892ec18.js → el-segmented-b868d074.js} +8 -8
  88. package/es/{el-segmented-6b057ed5.cjs → el-segmented-f8fce9ac.cjs} +1 -1
  89. package/es/{el-select-2189a8ac.js → el-select-95627997.js} +42 -41
  90. package/es/el-select-d8d91db1.cjs +1 -0
  91. package/es/el-table-column-376cd907.js +3432 -0
  92. package/es/el-table-column-c974cb96.cjs +14 -0
  93. package/es/{el-tag-75a7573a.js → el-tag-66cab138.js} +16 -16
  94. package/es/{el-tag-a15520b3.cjs → el-tag-a33c4b22.cjs} +1 -1
  95. package/es/{el-checkbox-group-e26a4533.js → el-text-ac60d0f2.js} +16 -16
  96. package/es/{el-checkbox-group-dfdad075.cjs → el-text-c20a9f48.cjs} +1 -1
  97. package/es/{index-1fb95601.cjs → index-098c2447.cjs} +1 -1
  98. package/es/{index-16802b35.cjs → index-11547a0c.cjs} +1 -1
  99. package/es/index-1f7d4f70.js +157 -0
  100. package/es/{index-680be212.cjs → index-298075cf.cjs} +1 -1
  101. package/es/index-57672682.js +113 -0
  102. package/es/{index-9cfb6ccf.js → index-7ed0999e.js} +2 -0
  103. package/es/{index-f3a86049.js → index-844bdd85.js} +29 -29
  104. package/es/index-88546436.js +163 -0
  105. package/es/{index-cc200b99.cjs → index-8901a38c.cjs} +1 -1
  106. package/es/{index-e00ee015.js → index-960806da.js} +36 -36
  107. package/es/index-9b9ef5dd.cjs +1 -0
  108. package/es/{index-847d58bc.js → index-a871c3eb.js} +92 -62
  109. package/es/{index-780e7fd2.js → index-bc8e277e.js} +2 -2
  110. package/es/{index-5e0314ac.cjs → index-c108567d.cjs} +1 -1
  111. package/es/{index-78381381.cjs → index-d725fef6.cjs} +2 -2
  112. package/es/{index-14c88a1a.js → index-d77a7336.js} +1 -1
  113. package/es/{index-f45c2897.js → index-d91dc23f.js} +20 -20
  114. package/es/{index-c94b9543.js → index-e5566b94.js} +43 -43
  115. package/es/index-f3562b52.cjs +1 -0
  116. package/es/index-f967d6c1.cjs +1 -0
  117. package/es/{python-2e916d28.cjs → python-c27ba105.cjs} +1 -1
  118. package/es/{python-7cf0b6ba.js → python-ecde9ff2.js} +2 -2
  119. package/es/{raf-8e5f0699.js → raf-80ef0c0a.js} +1 -1
  120. package/es/{scroll-c43468ab.js → scroll-679bd6bf.js} +1 -1
  121. package/es/style.css +1 -1
  122. package/es/{use-form-common-props-e6cba60f.js → use-form-common-props-815d48a6.js} +69 -69
  123. package/es/{use-form-common-props-d8866dc6.cjs → use-form-common-props-fd9b61a0.cjs} +1 -1
  124. package/es/{use-global-config-72d50e62.cjs → use-global-config-30d7d8ce.cjs} +1 -1
  125. package/es/{use-global-config-76ff2e3e.js → use-global-config-b5e9d3d5.js} +14 -14
  126. package/es/{validator-e759d43d.cjs → validator-1b8a6128.cjs} +1 -1
  127. package/es/{validator-220652c5.js → validator-764a9db0.js} +1 -1
  128. package/es/vnode-5ddb7ed1.js +14 -0
  129. package/es/vnode-b906ae6d.cjs +1 -0
  130. package/es/{zh-cn-33e7aee6.cjs → zh-cn-90317f62.cjs} +1 -1
  131. package/es/{zh-cn-c7fa42ea.js → zh-cn-e963c628.js} +2 -2
  132. package/lib/bundle.js +1 -1
  133. package/lib/bundle.umd.cjs +156 -156
  134. package/lib/{index-410c490f.js → index-a45d1494.js} +11238 -11207
  135. package/lib/{python-589861d2.js → python-82d17c8d.js} +1 -1
  136. package/lib/style.css +1 -1
  137. package/package.json +1 -1
  138. package/packages/KlineConfig/config.js +2 -0
  139. package/packages/KlineConfig/index.vue +9 -0
  140. package/packages/KlinePlus/index.vue +18 -8
  141. package/packages/KlinePlus/utils.js +41 -5
  142. package/src/pages/KlinePlus/index.vue +6 -5
  143. package/es/el-autocomplete-86c0d989.cjs +0 -1
  144. package/es/el-form-item-41becb31.js +0 -1749
  145. package/es/el-form-item-95476197.cjs +0 -12
  146. package/es/el-scrollbar-139aa96d.cjs +0 -1
  147. package/es/el-scrollbar-cdadd788.js +0 -115
  148. package/es/el-select-e1046cc6.cjs +0 -1
  149. package/es/el-table-column-91d69c86.js +0 -3882
  150. package/es/el-table-column-f1c4af89.cjs +0 -14
  151. package/es/index-56ea97a9.js +0 -122
  152. package/es/index-8583c047.cjs +0 -1
  153. package/es/index-ce63356a.cjs +0 -1
  154. package/es/index-db1e1861.js +0 -318
@@ -1,41 +1,48 @@
1
- import { b as Uu, c as Oe, e as Ve, f as $e, O as Re, u as se, _ as de, d as Me, w as X0, y as r0 } from "./base-8348063b.js";
2
- import "./el-tag-75a7573a.js";
3
- import { E as fe, a as pe } from "./el-select-2189a8ac.js";
4
- import "./el-scrollbar-cdadd788.js";
5
- import { U as be, C as he, u as ut, d as et, E as tt } from "./el-popper-986a8371.js";
6
- import { b as nt, c as rt, E as at, a as ot } from "./el-table-column-91d69c86.js";
7
- import { E as lt } from "./el-checkbox-group-e26a4533.js";
8
- import { ref as eu, inject as a0, computed as Q, defineComponent as Du, openBlock as E, createElementBlock as S, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as Nu, isRef as o0, withModifiers as qu, vModelRadio as l0, renderSlot as me, createTextVNode as L, toDisplayString as uu, nextTick as Bu, normalizeStyle as i0, onMounted as c0, provide as it, reactive as ct, toRefs as st, watch as vu, Fragment as z, renderList as Z, createBlock as P, mergeProps as dt, mergeModels as ju, useModel as Zu, withCtx as D, createVNode as y, createCommentVNode as U, resolveComponent as qe, vShow as s0, pushScopeId as xe, popScopeId as _e, createSlots as Ku } from "vue";
9
- import { E as ge } from "./el-dialog-bafc4b2b.js";
10
- import "./el-overlay-4ea38eab.js";
11
- import { E as ft, b as pt, a as bt } from "./el-form-item-41becb31.js";
12
- import { E as d0 } from "./el-input-735575f4.js";
13
- import { E as f0 } from "./el-input-number-6634a6ea.js";
1
+ import { b as Uu, c as Oe, p as Ve, o as $e, k as Re, u as se, _ as de, e as Me, w as X0, l as r0 } from "./base-a5af3db3.js";
2
+ import "./el-tag-66cab138.js";
3
+ import { E as fe, a as pe } from "./el-select-95627997.js";
4
+ import "./el-scrollbar-323542e7.js";
5
+ import { U as be, C as he, u as ut, d as et, E as tt } from "./el-popper-b4f97157.js";
6
+ import { E as nt, a as rt } from "./el-checkbox-7421ccd3.js";
7
+ import "./el-checkbox-group-4ed993c7.js";
8
+ import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as E, createElementBlock as S, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as Nu, isRef as a0, withModifiers as qu, vModelRadio as l0, renderSlot as me, createTextVNode as L, toDisplayString as uu, nextTick as Bu, normalizeStyle as i0, onMounted as c0, provide as ot, reactive as at, toRefs as lt, watch as vu, Fragment as z, renderList as Z, createBlock as P, mergeProps as it, mergeModels as ju, useModel as Zu, withCtx as D, createVNode as y, createCommentVNode as U, resolveComponent as qe, vShow as s0, pushScopeId as xe, popScopeId as _e, createSlots as Ku } from "vue";
9
+ import { E as ge } from "./el-dialog-41ab8417.js";
10
+ import "./el-overlay-09ad71cd.js";
11
+ import { a as ct, E as st } from "./el-form-item-c53c374d.js";
12
+ import { E as d0 } from "./el-input-2f75c4ba.js";
13
+ import { E as f0 } from "./el-input-number-5193fe6d.js";
14
14
  import "./el-tooltip-4ed993c7.js";
15
- import { E as p0 } from "./el-button-2e680390.js";
16
- import "./el-popover-7a1c6412.js";
17
- import { p as Xu, i as ht, b as mt, o as xt, E as _t } from "./index-847d58bc.js";
18
- import { E as b0 } from "./index-f3a86049.js";
19
- import { M as gt } from "./index-780e7fd2.js";
20
- import { E as W } from "./el-message-def216ae.js";
15
+ import { E as p0 } from "./el-button-c95adb85.js";
16
+ import "./el-popover-4ed993c7.js";
17
+ import { E as dt } from "./el-text-ac60d0f2.js";
18
+ import { p as Xu, i as ft, c as pt, s as bt, E as ht } from "./index-a871c3eb.js";
19
+ import { E as mt, a as xt } from "./el-table-column-376cd907.js";
20
+ import { E as b0 } from "./index-844bdd85.js";
21
+ import { M as _t } from "./index-bc8e277e.js";
22
+ import { E as W } from "./el-message-e544a8f5.js";
23
+ import { E as gt } from "./el-message-box-a93d2f6a.js";
21
24
  import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
22
- import { E as h0 } from "./index-56ea97a9.js";
23
- import { E as kt } from "./index-db1e1861.js";
24
- import { u as m0, b as yt, d as vt, e as Ct, f as Et } from "./use-form-common-props-e6cba60f.js";
25
+ import { E as h0 } from "./index-57672682.js";
26
+ import { E as kt } from "./index-88546436.js";
27
+ import { h as m0, e as yt, g as vt, d as Ct, f as Et } from "./use-form-common-props-815d48a6.js";
25
28
  import { u as Dt } from "./index-2e331d74.js";
26
- import { u as Ft } from "./index-e00ee015.js";
27
- import { d as At } from "./index-c94b9543.js";
28
- import "./index-14c88a1a.js";
29
- import "./castArray-3f45c3ec.js";
30
- import "./index-f45c2897.js";
31
- import "./scroll-c43468ab.js";
32
- import "./use-global-config-76ff2e3e.js";
33
- import "./raf-8e5f0699.js";
34
- import "./validator-220652c5.js";
29
+ import { u as Ft } from "./index-960806da.js";
30
+ import { i as At } from "./index-e5566b94.js";
31
+ import "./index-d77a7336.js";
32
+ import "./castArray-7741a212.js";
33
+ import "./index-d91dc23f.js";
34
+ import "./scroll-679bd6bf.js";
35
+ import "./debounce-8d53f4dd.js";
36
+ import "./vnode-5ddb7ed1.js";
37
+ import "./use-global-config-b5e9d3d5.js";
38
+ import "./_initCloneObject-eaef9418.js";
35
39
  import "./typescript-7ae59c4c.js";
36
40
  import "./index-657047bb.js";
37
- import "./index-9cfb6ccf.js";
38
- import "./config-provider-1a687690.js";
41
+ import "./raf-80ef0c0a.js";
42
+ import "./index-7ed0999e.js";
43
+ import "./config-provider-b16efd62.js";
44
+ import "./validator-764a9db0.js";
45
+ import "./dropdown-a59bba73.js";
39
46
  const x0 = Uu({
40
47
  modelValue: {
41
48
  type: [String, Number, Boolean],
@@ -62,14 +69,14 @@ const x0 = Uu({
62
69
  [be]: (u) => Oe(u) || Ve(u) || $e(u),
63
70
  [he]: (u) => Oe(u) || Ve(u) || $e(u)
64
71
  }, g0 = Symbol("radioGroupKey"), k0 = (u, e) => {
65
- const t = eu(), n = a0(g0, void 0), r = Q(() => !!n), a = Q(() => Re(u.value) ? u.label : u.value), l = Q({
72
+ const t = eu(), n = o0(g0, void 0), r = Q(() => !!n), o = Q(() => Re(u.value) ? u.label : u.value), l = Q({
66
73
  get() {
67
74
  return r.value ? n.modelValue : u.modelValue;
68
75
  },
69
76
  set(s) {
70
- r.value ? n.changeEvent(s) : e && e(be, s), t.value.checked = u.modelValue === a.value;
77
+ r.value ? n.changeEvent(s) : e && e(be, s), t.value.checked = u.modelValue === o.value;
71
78
  }
72
- }), o = yt(Q(() => n == null ? void 0 : n.size)), c = vt(Q(() => n == null ? void 0 : n.disabled)), i = eu(!1), f = Q(() => c.value || r.value && l.value !== a.value ? -1 : 0);
79
+ }), a = yt(Q(() => n == null ? void 0 : n.size)), c = vt(Q(() => n == null ? void 0 : n.disabled)), i = eu(!1), f = Q(() => c.value || r.value && l.value !== o.value ? -1 : 0);
73
80
  return Dt({
74
81
  from: "label act as value",
75
82
  replacement: "value",
@@ -81,11 +88,11 @@ const x0 = Uu({
81
88
  isGroup: r,
82
89
  radioGroup: n,
83
90
  focus: i,
84
- size: o,
91
+ size: a,
85
92
  disabled: c,
86
93
  tabIndex: f,
87
94
  modelValue: l,
88
- actualValue: a
95
+ actualValue: o
89
96
  };
90
97
  }, Tt = Du({
91
98
  name: "ElRadio"
@@ -94,7 +101,7 @@ const x0 = Uu({
94
101
  props: wt,
95
102
  emits: _0,
96
103
  setup(u, { emit: e }) {
97
- const t = u, n = se("radio"), { radioRef: r, radioGroup: a, focus: l, size: o, disabled: c, modelValue: i, actualValue: f } = k0(t, e);
104
+ const t = u, n = se("radio"), { radioRef: r, radioGroup: o, focus: l, size: a, disabled: c, modelValue: i, actualValue: f } = k0(t, e);
98
105
  function s() {
99
106
  Bu(() => e(he, i.value));
100
107
  }
@@ -107,7 +114,7 @@ const x0 = Uu({
107
114
  O(n).is("focus", O(l)),
108
115
  O(n).is("bordered", p.border),
109
116
  O(n).is("checked", O(i) === O(f)),
110
- O(n).m(O(o))
117
+ O(n).m(O(a))
111
118
  ])
112
119
  }, [
113
120
  V("span", {
@@ -120,10 +127,10 @@ const x0 = Uu({
120
127
  Nu(V("input", {
121
128
  ref_key: "radioRef",
122
129
  ref: r,
123
- "onUpdate:modelValue": (w) => o0(i) ? i.value = w : null,
130
+ "onUpdate:modelValue": (w) => a0(i) ? i.value = w : null,
124
131
  class: lu(O(n).e("original")),
125
132
  value: O(f),
126
- name: p.name || ((d = O(a)) == null ? void 0 : d.name),
133
+ name: p.name || ((d = O(o)) == null ? void 0 : d.name),
127
134
  disabled: O(c),
128
135
  checked: O(i) === O(f),
129
136
  type: "radio",
@@ -161,7 +168,7 @@ const It = Uu({
161
168
  ...Ot,
162
169
  props: It,
163
170
  setup(u) {
164
- const e = u, t = se("radio"), { radioRef: n, focus: r, size: a, disabled: l, modelValue: o, radioGroup: c, actualValue: i } = k0(e), f = Q(() => ({
171
+ const e = u, t = se("radio"), { radioRef: n, focus: r, size: o, disabled: l, modelValue: a, radioGroup: c, actualValue: i } = k0(e), f = Q(() => ({
165
172
  backgroundColor: (c == null ? void 0 : c.fill) || "",
166
173
  borderColor: (c == null ? void 0 : c.fill) || "",
167
174
  boxShadow: c != null && c.fill ? `-1px 0 0 0 ${c.fill}` : "",
@@ -172,16 +179,16 @@ const It = Uu({
172
179
  return E(), S("label", {
173
180
  class: lu([
174
181
  O(t).b("button"),
175
- O(t).is("active", O(o) === O(i)),
182
+ O(t).is("active", O(a) === O(i)),
176
183
  O(t).is("disabled", O(l)),
177
184
  O(t).is("focus", O(r)),
178
- O(t).bm("button", O(a))
185
+ O(t).bm("button", O(o))
179
186
  ])
180
187
  }, [
181
188
  Nu(V("input", {
182
189
  ref_key: "radioRef",
183
190
  ref: n,
184
- "onUpdate:modelValue": (d) => o0(o) ? o.value = d : null,
191
+ "onUpdate:modelValue": (d) => a0(a) ? a.value = d : null,
185
192
  class: lu(O(t).be("button", "original-radio")),
186
193
  value: O(i),
187
194
  type: "radio",
@@ -192,11 +199,11 @@ const It = Uu({
192
199
  onClick: qu(() => {
193
200
  }, ["stop"])
194
201
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
195
- [l0, O(o)]
202
+ [l0, O(a)]
196
203
  ]),
197
204
  V("span", {
198
205
  class: lu(O(t).be("button", "inner")),
199
- style: i0(O(o) === O(i) ? O(f) : {}),
206
+ style: i0(O(a) === O(i) ? O(f) : {}),
200
207
  onKeydown: qu(() => {
201
208
  }, ["stop"])
202
209
  }, [
@@ -255,13 +262,13 @@ const $t = Uu({
255
262
  props: $t,
256
263
  emits: Rt,
257
264
  setup(u, { emit: e }) {
258
- const t = u, n = se("radio"), r = Ft(), a = eu(), { formItem: l } = Ct(), { inputId: o, isLabeledByFormItem: c } = Et(t, {
265
+ const t = u, n = se("radio"), r = Ft(), o = eu(), { formItem: l } = Ct(), { inputId: a, isLabeledByFormItem: c } = Et(t, {
259
266
  formItemContext: l
260
267
  }), i = (m) => {
261
268
  e(be, m), Bu(() => e(he, m));
262
269
  };
263
270
  c0(() => {
264
- const m = a.value.querySelectorAll("[type=radio]"), d = m[0];
271
+ const m = o.value.querySelectorAll("[type=radio]"), d = m[0];
265
272
  !Array.from(m).some((w) => w.checked) && d && (d.tabIndex = 0);
266
273
  });
267
274
  const f = Q(() => t.name || r.value), s = Q(() => ({
@@ -275,23 +282,23 @@ const $t = Uu({
275
282
  };
276
283
  return { ...m, ...d };
277
284
  };
278
- return it(g0, ct({
279
- ...st(t),
285
+ return ot(g0, at({
286
+ ...lt(t),
280
287
  changeEvent: i,
281
288
  name: f
282
289
  })), vu(() => t.modelValue, (m, d) => {
283
290
  t.validateEvent && !At(m, d) && (l == null || l.validate("change").catch((w) => et()));
284
291
  }), (m, d) => (E(), S("div", {
285
- id: O(o),
292
+ id: O(a),
286
293
  ref_key: "radioGroupRef",
287
- ref: a,
294
+ ref: o,
288
295
  class: lu(O(n).b("group")),
289
296
  role: "radiogroup",
290
297
  "aria-label": O(c) ? void 0 : m.ariaLabel || "radio-group",
291
298
  "aria-labelledby": O(c) ? O(l).labelId : void 0
292
299
  }, [
293
300
  me(m.$slots, "default", {}, () => [
294
- (E(!0), S(z, null, Z(t.options, (w, $) => (E(), P(y0, dt({ key: $ }, p(w)), null, 16))), 128))
301
+ (E(!0), S(z, null, Z(t.options, (w, $) => (E(), P(y0, it({ key: $ }, p(w)), null, 16))), 128))
295
302
  ])
296
303
  ], 10, ["id", "aria-label", "aria-labelledby"]));
297
304
  }
@@ -942,33 +949,33 @@ function Cu(u, e) {
942
949
  const t = Lt(e);
943
950
  return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
944
951
  let r = "";
945
- for (let a = 0, l = n.length; a < l; a += 3) {
946
- const o = parseInt(n.slice(a + 1, a + 3), 16);
947
- if (o < 128) {
948
- r += t[o];
952
+ for (let o = 0, l = n.length; o < l; o += 3) {
953
+ const a = parseInt(n.slice(o + 1, o + 3), 16);
954
+ if (a < 128) {
955
+ r += t[a];
949
956
  continue;
950
957
  }
951
- if ((o & 224) === 192 && a + 3 < l) {
952
- const c = parseInt(n.slice(a + 4, a + 6), 16);
958
+ if ((a & 224) === 192 && o + 3 < l) {
959
+ const c = parseInt(n.slice(o + 4, o + 6), 16);
953
960
  if ((c & 192) === 128) {
954
- const i = o << 6 & 1984 | c & 63;
955
- i < 128 ? r += "��" : r += String.fromCharCode(i), a += 3;
961
+ const i = a << 6 & 1984 | c & 63;
962
+ i < 128 ? r += "��" : r += String.fromCharCode(i), o += 3;
956
963
  continue;
957
964
  }
958
965
  }
959
- if ((o & 240) === 224 && a + 6 < l) {
960
- const c = parseInt(n.slice(a + 4, a + 6), 16), i = parseInt(n.slice(a + 7, a + 9), 16);
966
+ if ((a & 240) === 224 && o + 6 < l) {
967
+ const c = parseInt(n.slice(o + 4, o + 6), 16), i = parseInt(n.slice(o + 7, o + 9), 16);
961
968
  if ((c & 192) === 128 && (i & 192) === 128) {
962
- const f = o << 12 & 61440 | c << 6 & 4032 | i & 63;
963
- f < 2048 || f >= 55296 && f <= 57343 ? r += "���" : r += String.fromCharCode(f), a += 6;
969
+ const f = a << 12 & 61440 | c << 6 & 4032 | i & 63;
970
+ f < 2048 || f >= 55296 && f <= 57343 ? r += "���" : r += String.fromCharCode(f), o += 6;
964
971
  continue;
965
972
  }
966
973
  }
967
- if ((o & 248) === 240 && a + 9 < l) {
968
- const c = parseInt(n.slice(a + 4, a + 6), 16), i = parseInt(n.slice(a + 7, a + 9), 16), f = parseInt(n.slice(a + 10, a + 12), 16);
974
+ if ((a & 248) === 240 && o + 9 < l) {
975
+ const c = parseInt(n.slice(o + 4, o + 6), 16), i = parseInt(n.slice(o + 7, o + 9), 16), f = parseInt(n.slice(o + 10, o + 12), 16);
969
976
  if ((c & 192) === 128 && (i & 192) === 128 && (f & 192) === 128) {
970
- let s = o << 18 & 1835008 | c << 12 & 258048 | i << 6 & 4032 | f & 63;
971
- s < 65536 || s > 1114111 ? r += "����" : (s -= 65536, r += String.fromCharCode(55296 + (s >> 10), 56320 + (s & 1023))), a += 9;
977
+ let s = a << 18 & 1835008 | c << 12 & 258048 | i << 6 & 4032 | f & 63;
978
+ s < 65536 || s > 1114111 ? r += "����" : (s -= 65536, r += String.fromCharCode(55296 + (s >> 10), 56320 + (s & 1023))), o += 9;
972
979
  continue;
973
980
  }
974
981
  }
@@ -997,28 +1004,28 @@ function Ou(u, e, t) {
997
1004
  typeof e != "string" && (t = e, e = Ou.defaultChars), typeof t > "u" && (t = !0);
998
1005
  const n = Pt(e);
999
1006
  let r = "";
1000
- for (let a = 0, l = u.length; a < l; a++) {
1001
- const o = u.charCodeAt(a);
1002
- if (t && o === 37 && a + 2 < l && /^[0-9a-f]{2}$/i.test(u.slice(a + 1, a + 3))) {
1003
- r += u.slice(a, a + 3), a += 2;
1007
+ for (let o = 0, l = u.length; o < l; o++) {
1008
+ const a = u.charCodeAt(o);
1009
+ if (t && a === 37 && o + 2 < l && /^[0-9a-f]{2}$/i.test(u.slice(o + 1, o + 3))) {
1010
+ r += u.slice(o, o + 3), o += 2;
1004
1011
  continue;
1005
1012
  }
1006
- if (o < 128) {
1007
- r += n[o];
1013
+ if (a < 128) {
1014
+ r += n[a];
1008
1015
  continue;
1009
1016
  }
1010
- if (o >= 55296 && o <= 57343) {
1011
- if (o >= 55296 && o <= 56319 && a + 1 < l) {
1012
- const c = u.charCodeAt(a + 1);
1017
+ if (a >= 55296 && a <= 57343) {
1018
+ if (a >= 55296 && a <= 56319 && o + 1 < l) {
1019
+ const c = u.charCodeAt(o + 1);
1013
1020
  if (c >= 56320 && c <= 57343) {
1014
- r += encodeURIComponent(u[a] + u[a + 1]), a++;
1021
+ r += encodeURIComponent(u[o] + u[o + 1]), o++;
1015
1022
  continue;
1016
1023
  }
1017
1024
  }
1018
1025
  r += "%EF%BF%BD";
1019
1026
  continue;
1020
1027
  }
1021
- r += encodeURIComponent(u[a]);
1028
+ r += encodeURIComponent(u[o]);
1022
1029
  }
1023
1030
  return r;
1024
1031
  }
@@ -1054,24 +1061,24 @@ function Ee(u, e) {
1054
1061
  return t.parse(u, e), t;
1055
1062
  }
1056
1063
  zu.prototype.parse = function(u, e) {
1057
- let t, n, r, a = u;
1058
- if (a = a.trim(), !e && u.split("#").length === 1) {
1059
- const i = jt.exec(a);
1064
+ let t, n, r, o = u;
1065
+ if (o = o.trim(), !e && u.split("#").length === 1) {
1066
+ const i = jt.exec(o);
1060
1067
  if (i)
1061
1068
  return this.pathname = i[1], i[2] && (this.search = i[2]), this;
1062
1069
  }
1063
- let l = Ut.exec(a);
1064
- if (l && (l = l[0], t = l.toLowerCase(), this.protocol = l, a = a.substr(l.length)), (e || l || a.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = a.substr(0, 2) === "//", r && !(l && Ze[l]) && (a = a.substr(2), this.slashes = !0)), !Ze[l] && (r || l && !He[l])) {
1070
+ let l = Ut.exec(o);
1071
+ if (l && (l = l[0], t = l.toLowerCase(), this.protocol = l, o = o.substr(l.length)), (e || l || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(l && Ze[l]) && (o = o.substr(2), this.slashes = !0)), !Ze[l] && (r || l && !He[l])) {
1065
1072
  let i = -1;
1066
1073
  for (let d = 0; d < Ne.length; d++)
1067
- n = a.indexOf(Ne[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1074
+ n = o.indexOf(Ne[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1068
1075
  let f, s;
1069
- i === -1 ? s = a.lastIndexOf("@") : s = a.lastIndexOf("@", i), s !== -1 && (f = a.slice(0, s), a = a.slice(s + 1), this.auth = f), i = -1;
1076
+ i === -1 ? s = o.lastIndexOf("@") : s = o.lastIndexOf("@", i), s !== -1 && (f = o.slice(0, s), o = o.slice(s + 1), this.auth = f), i = -1;
1070
1077
  for (let d = 0; d < Ue.length; d++)
1071
- n = a.indexOf(Ue[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1072
- i === -1 && (i = a.length), a[i - 1] === ":" && i--;
1073
- const p = a.slice(0, i);
1074
- a = a.slice(i), this.parseHost(p), this.hostname = this.hostname || "";
1078
+ n = o.indexOf(Ue[d]), n !== -1 && (i === -1 || n < i) && (i = n);
1079
+ i === -1 && (i = o.length), o[i - 1] === ":" && i--;
1080
+ const p = o.slice(0, i);
1081
+ o = o.slice(i), this.parseHost(p), this.hostname = this.hostname || "";
1075
1082
  const m = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
1076
1083
  if (!m) {
1077
1084
  const d = this.hostname.split(/\./);
@@ -1083,7 +1090,7 @@ zu.prototype.parse = function(u, e) {
1083
1090
  A.charCodeAt(k) > 127 ? h += "x" : h += A[k];
1084
1091
  if (!h.match(je)) {
1085
1092
  const k = d.slice(0, w), b = d.slice(w + 1), x = A.match(Wt);
1086
- x && (k.push(x[1]), b.unshift(x[2])), b.length && (a = b.join(".") + a), this.hostname = k.join(".");
1093
+ x && (k.push(x[1]), b.unshift(x[2])), b.length && (o = b.join(".") + o), this.hostname = k.join(".");
1087
1094
  break;
1088
1095
  }
1089
1096
  }
@@ -1091,10 +1098,10 @@ zu.prototype.parse = function(u, e) {
1091
1098
  }
1092
1099
  this.hostname.length > Jt && (this.hostname = ""), m && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
1093
1100
  }
1094
- const o = a.indexOf("#");
1095
- o !== -1 && (this.hash = a.substr(o), a = a.slice(0, o));
1096
- const c = a.indexOf("?");
1097
- return c !== -1 && (this.search = a.substr(c), a = a.slice(0, c)), a && (this.pathname = a), He[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1101
+ const a = o.indexOf("#");
1102
+ a !== -1 && (this.hash = o.substr(a), o = o.slice(0, a));
1103
+ const c = o.indexOf("?");
1104
+ return c !== -1 && (this.search = o.substr(c), o = o.slice(0, c)), o && (this.pathname = o), He[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1098
1105
  };
1099
1106
  zu.prototype.parseHost = function(u) {
1100
1107
  let e = Nt.exec(u);
@@ -1175,14 +1182,14 @@ var hu;
1175
1182
  function le(u) {
1176
1183
  return u >= Y.ZERO && u <= Y.NINE;
1177
1184
  }
1178
- function an(u) {
1185
+ function on(u) {
1179
1186
  return u >= Y.UPPER_A && u <= Y.UPPER_F || u >= Y.LOWER_A && u <= Y.LOWER_F;
1180
1187
  }
1181
- function on(u) {
1188
+ function an(u) {
1182
1189
  return u >= Y.UPPER_A && u <= Y.UPPER_Z || u >= Y.LOWER_A && u <= Y.LOWER_Z || le(u);
1183
1190
  }
1184
1191
  function ln(u) {
1185
- return u === Y.EQUALS || on(u);
1192
+ return u === Y.EQUALS || an(u);
1186
1193
  }
1187
1194
  var J;
1188
1195
  (function(u) {
@@ -1239,8 +1246,8 @@ class cn {
1239
1246
  }
1240
1247
  addToNumericResult(e, t, n, r) {
1241
1248
  if (t !== n) {
1242
- const a = n - t;
1243
- this.result = this.result * Math.pow(r, a) + parseInt(e.substr(t, a), r), this.consumed += a;
1249
+ const o = n - t;
1250
+ this.result = this.result * Math.pow(r, o) + parseInt(e.substr(t, o), r), this.consumed += o;
1244
1251
  }
1245
1252
  }
1246
1253
  /**
@@ -1256,7 +1263,7 @@ class cn {
1256
1263
  const n = t;
1257
1264
  for (; t < e.length; ) {
1258
1265
  const r = e.charCodeAt(t);
1259
- if (le(r) || an(r))
1266
+ if (le(r) || on(r))
1260
1267
  t += 1;
1261
1268
  else
1262
1269
  return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
@@ -1317,17 +1324,17 @@ class cn {
1317
1324
  */
1318
1325
  stateNamedEntity(e, t) {
1319
1326
  const { decodeTree: n } = this;
1320
- let r = n[this.treeIndex], a = (r & hu.VALUE_LENGTH) >> 14;
1327
+ let r = n[this.treeIndex], o = (r & hu.VALUE_LENGTH) >> 14;
1321
1328
  for (; t < e.length; t++, this.excess++) {
1322
1329
  const l = e.charCodeAt(t);
1323
- if (this.treeIndex = sn(n, r, this.treeIndex + Math.max(1, a), l), this.treeIndex < 0)
1330
+ if (this.treeIndex = sn(n, r, this.treeIndex + Math.max(1, o), l), this.treeIndex < 0)
1324
1331
  return this.result === 0 || // If we are parsing an attribute
1325
1332
  this.decodeMode === bu.Attribute && // We shouldn't have consumed any characters after the entity,
1326
- (a === 0 || // And there should be no invalid characters.
1333
+ (o === 0 || // And there should be no invalid characters.
1327
1334
  ln(l)) ? 0 : this.emitNotTerminatedNamedEntity();
1328
- if (r = n[this.treeIndex], a = (r & hu.VALUE_LENGTH) >> 14, a !== 0) {
1335
+ if (r = n[this.treeIndex], o = (r & hu.VALUE_LENGTH) >> 14, o !== 0) {
1329
1336
  if (l === Y.SEMI)
1330
- return this.emitNamedEntityData(this.treeIndex, a, this.consumed + this.excess);
1337
+ return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
1331
1338
  this.decodeMode !== bu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1332
1339
  }
1333
1340
  }
@@ -1382,40 +1389,40 @@ class cn {
1382
1389
  function S0(u) {
1383
1390
  let e = "";
1384
1391
  const t = new cn(u, (n) => e += tn(n));
1385
- return function(r, a) {
1386
- let l = 0, o = 0;
1387
- for (; (o = r.indexOf("&", o)) >= 0; ) {
1388
- e += r.slice(l, o), t.startEntity(a);
1392
+ return function(r, o) {
1393
+ let l = 0, a = 0;
1394
+ for (; (a = r.indexOf("&", a)) >= 0; ) {
1395
+ e += r.slice(l, a), t.startEntity(o);
1389
1396
  const i = t.write(
1390
1397
  r,
1391
1398
  // Skip the "&"
1392
- o + 1
1399
+ a + 1
1393
1400
  );
1394
1401
  if (i < 0) {
1395
- l = o + t.end();
1402
+ l = a + t.end();
1396
1403
  break;
1397
1404
  }
1398
- l = o + i, o = i === 0 ? l + 1 : l;
1405
+ l = a + i, a = i === 0 ? l + 1 : l;
1399
1406
  }
1400
1407
  const c = e + r.slice(l);
1401
1408
  return e = "", c;
1402
1409
  };
1403
1410
  }
1404
1411
  function sn(u, e, t, n) {
1405
- const r = (e & hu.BRANCH_LENGTH) >> 7, a = e & hu.JUMP_TABLE;
1412
+ const r = (e & hu.BRANCH_LENGTH) >> 7, o = e & hu.JUMP_TABLE;
1406
1413
  if (r === 0)
1407
- return a !== 0 && n === a ? t : -1;
1408
- if (a) {
1409
- const c = n - a;
1414
+ return o !== 0 && n === o ? t : -1;
1415
+ if (o) {
1416
+ const c = n - o;
1410
1417
  return c < 0 || c >= r ? -1 : u[t + c] - 1;
1411
1418
  }
1412
- let l = t, o = l + r - 1;
1413
- for (; l <= o; ) {
1414
- const c = l + o >>> 1, i = u[c];
1419
+ let l = t, a = l + r - 1;
1420
+ for (; l <= a; ) {
1421
+ const c = l + a >>> 1, i = u[c];
1415
1422
  if (i < n)
1416
1423
  l = c + 1;
1417
1424
  else if (i > n)
1418
- o = c - 1;
1425
+ a = c - 1;
1419
1426
  else
1420
1427
  return u[c + r];
1421
1428
  }
@@ -1586,14 +1593,14 @@ const Fn = { mdurl: Qt, ucmicro: Kt }, An = /* @__PURE__ */ Object.freeze(/* @__
1586
1593
  unescapeMd: gn
1587
1594
  }, Symbol.toStringTag, { value: "Module" }));
1588
1595
  function wn(u, e, t) {
1589
- let n, r, a, l;
1590
- const o = u.posMax, c = u.pos;
1591
- for (u.pos = e + 1, n = 1; u.pos < o; ) {
1592
- if (a = u.src.charCodeAt(u.pos), a === 93 && (n--, n === 0)) {
1596
+ let n, r, o, l;
1597
+ const a = u.posMax, c = u.pos;
1598
+ for (u.pos = e + 1, n = 1; u.pos < a; ) {
1599
+ if (o = u.src.charCodeAt(u.pos), o === 93 && (n--, n === 0)) {
1593
1600
  r = !0;
1594
1601
  break;
1595
1602
  }
1596
- if (l = u.pos, u.md.inline.skipToken(u), a === 91) {
1603
+ if (l = u.pos, u.md.inline.skipToken(u), o === 91) {
1597
1604
  if (l === u.pos - 1)
1598
1605
  n++;
1599
1606
  else if (t)
@@ -1605,7 +1612,7 @@ function wn(u, e, t) {
1605
1612
  }
1606
1613
  function Tn(u, e, t) {
1607
1614
  let n, r = e;
1608
- const a = {
1615
+ const o = {
1609
1616
  ok: !1,
1610
1617
  pos: 0,
1611
1618
  str: ""
@@ -1613,16 +1620,16 @@ function Tn(u, e, t) {
1613
1620
  if (u.charCodeAt(r) === 60) {
1614
1621
  for (r++; r < t; ) {
1615
1622
  if (n = u.charCodeAt(r), n === 10 || n === 60)
1616
- return a;
1623
+ return o;
1617
1624
  if (n === 62)
1618
- return a.pos = r + 1, a.str = Eu(u.slice(e + 1, r)), a.ok = !0, a;
1625
+ return o.pos = r + 1, o.str = Eu(u.slice(e + 1, r)), o.ok = !0, o;
1619
1626
  if (n === 92 && r + 1 < t) {
1620
1627
  r += 2;
1621
1628
  continue;
1622
1629
  }
1623
1630
  r++;
1624
1631
  }
1625
- return a;
1632
+ return o;
1626
1633
  }
1627
1634
  let l = 0;
1628
1635
  for (; r < t && (n = u.charCodeAt(r), !(n === 32 || n < 32 || n === 127)); ) {
@@ -1633,7 +1640,7 @@ function Tn(u, e, t) {
1633
1640
  continue;
1634
1641
  }
1635
1642
  if (n === 40 && (l++, l > 32))
1636
- return a;
1643
+ return o;
1637
1644
  if (n === 41) {
1638
1645
  if (l === 0)
1639
1646
  break;
@@ -1641,10 +1648,10 @@ function Tn(u, e, t) {
1641
1648
  }
1642
1649
  r++;
1643
1650
  }
1644
- return e === r || l !== 0 || (a.str = Eu(u.slice(e, r)), a.pos = r, a.ok = !0), a;
1651
+ return e === r || l !== 0 || (o.str = Eu(u.slice(e, r)), o.pos = r, o.ok = !0), o;
1645
1652
  }
1646
1653
  function Sn(u, e, t, n) {
1647
- let r, a = e;
1654
+ let r, o = e;
1648
1655
  const l = {
1649
1656
  // if `true`, this is a valid link title
1650
1657
  ok: !1,
@@ -1660,21 +1667,21 @@ function Sn(u, e, t, n) {
1660
1667
  if (n)
1661
1668
  l.str = n.str, l.marker = n.marker;
1662
1669
  else {
1663
- if (a >= t)
1670
+ if (o >= t)
1664
1671
  return l;
1665
- let o = u.charCodeAt(a);
1666
- if (o !== 34 && o !== 39 && o !== 40)
1672
+ let a = u.charCodeAt(o);
1673
+ if (a !== 34 && a !== 39 && a !== 40)
1667
1674
  return l;
1668
- e++, a++, o === 40 && (o = 41), l.marker = o;
1675
+ e++, o++, a === 40 && (a = 41), l.marker = a;
1669
1676
  }
1670
- for (; a < t; ) {
1671
- if (r = u.charCodeAt(a), r === l.marker)
1672
- return l.pos = a + 1, l.str += Eu(u.slice(e, a)), l.ok = !0, l;
1677
+ for (; o < t; ) {
1678
+ if (r = u.charCodeAt(o), r === l.marker)
1679
+ return l.pos = o + 1, l.str += Eu(u.slice(e, o)), l.ok = !0, l;
1673
1680
  if (r === 40 && l.marker === 41)
1674
1681
  return l;
1675
- r === 92 && a + 1 < t && a++, a++;
1682
+ r === 92 && o + 1 < t && o++, o++;
1676
1683
  }
1677
- return l.can_continue = !0, l.str += Eu(u.slice(e, a)), l;
1684
+ return l.can_continue = !0, l.str += Eu(u.slice(e, o)), l;
1678
1685
  }
1679
1686
  const In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1680
1687
  __proto__: null,
@@ -1683,40 +1690,40 @@ const In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1683
1690
  parseLinkTitle: Sn
1684
1691
  }, Symbol.toStringTag, { value: "Module" })), su = {};
1685
1692
  su.code_inline = function(u, e, t, n, r) {
1686
- const a = u[e];
1687
- return "<code" + r.renderAttrs(a) + ">" + mu(a.content) + "</code>";
1693
+ const o = u[e];
1694
+ return "<code" + r.renderAttrs(o) + ">" + mu(o.content) + "</code>";
1688
1695
  };
1689
1696
  su.code_block = function(u, e, t, n, r) {
1690
- const a = u[e];
1691
- return "<pre" + r.renderAttrs(a) + "><code>" + mu(u[e].content) + `</code></pre>
1697
+ const o = u[e];
1698
+ return "<pre" + r.renderAttrs(o) + "><code>" + mu(u[e].content) + `</code></pre>
1692
1699
  `;
1693
1700
  };
1694
1701
  su.fence = function(u, e, t, n, r) {
1695
- const a = u[e], l = a.info ? Eu(a.info).trim() : "";
1696
- let o = "", c = "";
1702
+ const o = u[e], l = o.info ? Eu(o.info).trim() : "";
1703
+ let a = "", c = "";
1697
1704
  if (l) {
1698
1705
  const f = l.split(/(\s+)/g);
1699
- o = f[0], c = f.slice(2).join("");
1706
+ a = f[0], c = f.slice(2).join("");
1700
1707
  }
1701
1708
  let i;
1702
- if (t.highlight ? i = t.highlight(a.content, o, c) || mu(a.content) : i = mu(a.content), i.indexOf("<pre") === 0)
1709
+ if (t.highlight ? i = t.highlight(o.content, a, c) || mu(o.content) : i = mu(o.content), i.indexOf("<pre") === 0)
1703
1710
  return i + `
1704
1711
  `;
1705
1712
  if (l) {
1706
- const f = a.attrIndex("class"), s = a.attrs ? a.attrs.slice() : [];
1707
- f < 0 ? s.push(["class", t.langPrefix + o]) : (s[f] = s[f].slice(), s[f][1] += " " + t.langPrefix + o);
1713
+ const f = o.attrIndex("class"), s = o.attrs ? o.attrs.slice() : [];
1714
+ f < 0 ? s.push(["class", t.langPrefix + a]) : (s[f] = s[f].slice(), s[f][1] += " " + t.langPrefix + a);
1708
1715
  const p = {
1709
1716
  attrs: s
1710
1717
  };
1711
1718
  return `<pre><code${r.renderAttrs(p)}>${i}</code></pre>
1712
1719
  `;
1713
1720
  }
1714
- return `<pre><code${r.renderAttrs(a)}>${i}</code></pre>
1721
+ return `<pre><code${r.renderAttrs(o)}>${i}</code></pre>
1715
1722
  `;
1716
1723
  };
1717
1724
  su.image = function(u, e, t, n, r) {
1718
- const a = u[e];
1719
- return a.attrs[a.attrIndex("alt")][1] = r.renderInlineAsText(a.children, t, n), r.renderToken(u, e, t);
1725
+ const o = u[e];
1726
+ return o.attrs[o.attrIndex("alt")][1] = r.renderInlineAsText(o.children, t, n), r.renderToken(u, e, t);
1720
1727
  };
1721
1728
  su.hardbreak = function(u, e, t) {
1722
1729
  return t.xhtmlOut ? `<br />
@@ -1751,31 +1758,31 @@ Fu.prototype.renderAttrs = function(e) {
1751
1758
  };
1752
1759
  Fu.prototype.renderToken = function(e, t, n) {
1753
1760
  const r = e[t];
1754
- let a = "";
1761
+ let o = "";
1755
1762
  if (r.hidden)
1756
1763
  return "";
1757
- r.block && r.nesting !== -1 && t && e[t - 1].hidden && (a += `
1758
- `), a += (r.nesting === -1 ? "</" : "<") + r.tag, a += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (a += " /");
1764
+ r.block && r.nesting !== -1 && t && e[t - 1].hidden && (o += `
1765
+ `), o += (r.nesting === -1 ? "</" : "<") + r.tag, o += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (o += " /");
1759
1766
  let l = !1;
1760
1767
  if (r.block && (l = !0, r.nesting === 1 && t + 1 < e.length)) {
1761
- const o = e[t + 1];
1762
- (o.type === "inline" || o.hidden || o.nesting === -1 && o.tag === r.tag) && (l = !1);
1768
+ const a = e[t + 1];
1769
+ (a.type === "inline" || a.hidden || a.nesting === -1 && a.tag === r.tag) && (l = !1);
1763
1770
  }
1764
- return a += l ? `>
1765
- ` : ">", a;
1771
+ return o += l ? `>
1772
+ ` : ">", o;
1766
1773
  };
1767
1774
  Fu.prototype.renderInline = function(u, e, t) {
1768
1775
  let n = "";
1769
1776
  const r = this.rules;
1770
- for (let a = 0, l = u.length; a < l; a++) {
1771
- const o = u[a].type;
1772
- typeof r[o] < "u" ? n += r[o](u, a, e, t, this) : n += this.renderToken(u, a, e);
1777
+ for (let o = 0, l = u.length; o < l; o++) {
1778
+ const a = u[o].type;
1779
+ typeof r[a] < "u" ? n += r[a](u, o, e, t, this) : n += this.renderToken(u, o, e);
1773
1780
  }
1774
1781
  return n;
1775
1782
  };
1776
1783
  Fu.prototype.renderInlineAsText = function(u, e, t) {
1777
1784
  let n = "";
1778
- for (let r = 0, a = u.length; r < a; r++)
1785
+ for (let r = 0, o = u.length; r < o; r++)
1779
1786
  switch (u[r].type) {
1780
1787
  case "text":
1781
1788
  n += u[r].content;
@@ -1798,9 +1805,9 @@ Fu.prototype.renderInlineAsText = function(u, e, t) {
1798
1805
  Fu.prototype.render = function(u, e, t) {
1799
1806
  let n = "";
1800
1807
  const r = this.rules;
1801
- for (let a = 0, l = u.length; a < l; a++) {
1802
- const o = u[a].type;
1803
- o === "inline" ? n += this.renderInline(u[a].children, e, t) : typeof r[o] < "u" ? n += r[o](u, a, e, t, this) : n += this.renderToken(u, a, e, t);
1808
+ for (let o = 0, l = u.length; o < l; o++) {
1809
+ const a = u[o].type;
1810
+ a === "inline" ? n += this.renderInline(u[o].children, e, t) : typeof r[a] < "u" ? n += r[a](u, o, e, t, this) : n += this.renderToken(u, o, e, t);
1804
1811
  }
1805
1812
  return n;
1806
1813
  };
@@ -1832,25 +1839,25 @@ tu.prototype.at = function(u, e, t) {
1832
1839
  this.__rules__[n].fn = e, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
1833
1840
  };
1834
1841
  tu.prototype.before = function(u, e, t, n) {
1835
- const r = this.__find__(u), a = n || {};
1842
+ const r = this.__find__(u), o = n || {};
1836
1843
  if (r === -1)
1837
1844
  throw new Error("Parser rule not found: " + u);
1838
1845
  this.__rules__.splice(r, 0, {
1839
1846
  name: e,
1840
1847
  enabled: !0,
1841
1848
  fn: t,
1842
- alt: a.alt || []
1849
+ alt: o.alt || []
1843
1850
  }), this.__cache__ = null;
1844
1851
  };
1845
1852
  tu.prototype.after = function(u, e, t, n) {
1846
- const r = this.__find__(u), a = n || {};
1853
+ const r = this.__find__(u), o = n || {};
1847
1854
  if (r === -1)
1848
1855
  throw new Error("Parser rule not found: " + u);
1849
1856
  this.__rules__.splice(r + 1, 0, {
1850
1857
  name: e,
1851
1858
  enabled: !0,
1852
1859
  fn: t,
1853
- alt: a.alt || []
1860
+ alt: o.alt || []
1854
1861
  }), this.__cache__ = null;
1855
1862
  };
1856
1863
  tu.prototype.push = function(u, e, t) {
@@ -1896,10 +1903,10 @@ tu.prototype.disable = function(u, e) {
1896
1903
  tu.prototype.getRules = function(u) {
1897
1904
  return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
1898
1905
  };
1899
- function ou(u, e, t) {
1906
+ function au(u, e, t) {
1900
1907
  this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
1901
1908
  }
1902
- ou.prototype.attrIndex = function(e) {
1909
+ au.prototype.attrIndex = function(e) {
1903
1910
  if (!this.attrs)
1904
1911
  return -1;
1905
1912
  const t = this.attrs;
@@ -1908,26 +1915,26 @@ ou.prototype.attrIndex = function(e) {
1908
1915
  return n;
1909
1916
  return -1;
1910
1917
  };
1911
- ou.prototype.attrPush = function(e) {
1918
+ au.prototype.attrPush = function(e) {
1912
1919
  this.attrs ? this.attrs.push(e) : this.attrs = [e];
1913
1920
  };
1914
- ou.prototype.attrSet = function(e, t) {
1921
+ au.prototype.attrSet = function(e, t) {
1915
1922
  const n = this.attrIndex(e), r = [e, t];
1916
1923
  n < 0 ? this.attrPush(r) : this.attrs[n] = r;
1917
1924
  };
1918
- ou.prototype.attrGet = function(e) {
1925
+ au.prototype.attrGet = function(e) {
1919
1926
  const t = this.attrIndex(e);
1920
1927
  let n = null;
1921
1928
  return t >= 0 && (n = this.attrs[t][1]), n;
1922
1929
  };
1923
- ou.prototype.attrJoin = function(e, t) {
1930
+ au.prototype.attrJoin = function(e, t) {
1924
1931
  const n = this.attrIndex(e);
1925
1932
  n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
1926
1933
  };
1927
1934
  function $0(u, e, t) {
1928
1935
  this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
1929
1936
  }
1930
- $0.prototype.Token = ou;
1937
+ $0.prototype.Token = au;
1931
1938
  const On = /\r\n?|\n/g, Vn = /\0/g;
1932
1939
  function $n(u) {
1933
1940
  let e;
@@ -1957,19 +1964,19 @@ function zn(u) {
1957
1964
  for (let t = 0, n = e.length; t < n; t++) {
1958
1965
  if (e[t].type !== "inline" || !u.md.linkify.pretest(e[t].content))
1959
1966
  continue;
1960
- let r = e[t].children, a = 0;
1967
+ let r = e[t].children, o = 0;
1961
1968
  for (let l = r.length - 1; l >= 0; l--) {
1962
- const o = r[l];
1963
- if (o.type === "link_close") {
1964
- for (l--; r[l].level !== o.level && r[l].type !== "link_open"; )
1969
+ const a = r[l];
1970
+ if (a.type === "link_close") {
1971
+ for (l--; r[l].level !== a.level && r[l].type !== "link_open"; )
1965
1972
  l--;
1966
1973
  continue;
1967
1974
  }
1968
- if (o.type === "html_inline" && (qn(o.content) && a > 0 && a--, Bn(o.content) && a++), !(a > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
1969
- const c = o.content;
1975
+ if (a.type === "html_inline" && (qn(a.content) && o > 0 && o--, Bn(a.content) && o++), !(o > 0) && a.type === "text" && u.md.linkify.test(a.content)) {
1976
+ const c = a.content;
1970
1977
  let i = u.md.linkify.match(c);
1971
1978
  const f = [];
1972
- let s = o.level, p = 0;
1979
+ let s = a.level, p = 0;
1973
1980
  i.length > 0 && i[0].index === 0 && l > 0 && r[l - 1].type === "text_special" && (i = i.slice(1));
1974
1981
  for (let m = 0; m < i.length; m++) {
1975
1982
  const d = i[m].url, w = u.md.normalizeLink(d);
@@ -2034,16 +2041,16 @@ function Jn(u, e) {
2034
2041
  let t;
2035
2042
  const n = [];
2036
2043
  for (let r = 0; r < u.length; r++) {
2037
- const a = u[r], l = u[r].level;
2044
+ const o = u[r], l = u[r].level;
2038
2045
  for (t = n.length - 1; t >= 0 && !(n[t].level <= l); t--)
2039
2046
  ;
2040
- if (n.length = t + 1, a.type !== "text")
2047
+ if (n.length = t + 1, o.type !== "text")
2041
2048
  continue;
2042
- let o = a.content, c = 0, i = o.length;
2049
+ let a = o.content, c = 0, i = a.length;
2043
2050
  u:
2044
2051
  for (; c < i; ) {
2045
2052
  Ge.lastIndex = c;
2046
- const f = Ge.exec(o);
2053
+ const f = Ge.exec(a);
2047
2054
  if (!f)
2048
2055
  break;
2049
2056
  let s = !0, p = !0;
@@ -2051,7 +2058,7 @@ function Jn(u, e) {
2051
2058
  const m = f[0] === "'";
2052
2059
  let d = 32;
2053
2060
  if (f.index - 1 >= 0)
2054
- d = o.charCodeAt(f.index - 1);
2061
+ d = a.charCodeAt(f.index - 1);
2055
2062
  else
2056
2063
  for (t = r - 1; t >= 0 && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t--)
2057
2064
  if (u[t].content) {
@@ -2060,7 +2067,7 @@ function Jn(u, e) {
2060
2067
  }
2061
2068
  let w = 32;
2062
2069
  if (c < i)
2063
- w = o.charCodeAt(c);
2070
+ w = a.charCodeAt(c);
2064
2071
  else
2065
2072
  for (t = r + 1; t < u.length && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t++)
2066
2073
  if (u[t].content) {
@@ -2069,7 +2076,7 @@ function Jn(u, e) {
2069
2076
  }
2070
2077
  const $ = Su(d) || Tu(String.fromCharCode(d)), A = Su(w) || Tu(String.fromCharCode(w)), h = wu(d), k = wu(w);
2071
2078
  if (k ? s = !1 : A && (h || $ || (s = !1)), h ? p = !1 : $ && (k || A || (p = !1)), w === 34 && f[0] === '"' && d >= 48 && d <= 57 && (p = s = !1), s && p && (s = $, p = A), !s && !p) {
2072
- m && (a.content = Ru(a.content, f.index, Je));
2079
+ m && (o.content = Ru(o.content, f.index, Je));
2073
2080
  continue;
2074
2081
  }
2075
2082
  if (p)
@@ -2080,11 +2087,11 @@ function Jn(u, e) {
2080
2087
  if (b.single === m && n[t].level === l) {
2081
2088
  b = n[t];
2082
2089
  let x, g;
2083
- m ? (x = e.md.options.quotes[2], g = e.md.options.quotes[3]) : (x = e.md.options.quotes[0], g = e.md.options.quotes[1]), a.content = Ru(a.content, f.index, g), u[b.token].content = Ru(
2090
+ m ? (x = e.md.options.quotes[2], g = e.md.options.quotes[3]) : (x = e.md.options.quotes[0], g = e.md.options.quotes[1]), o.content = Ru(o.content, f.index, g), u[b.token].content = Ru(
2084
2091
  u[b.token].content,
2085
2092
  b.pos,
2086
2093
  x
2087
- ), c += g.length - 1, b.token === r && (c += x.length - 1), o = a.content, i = o.length, n.length = t;
2094
+ ), c += g.length - 1, b.token === r && (c += x.length - 1), a = o.content, i = a.length, n.length = t;
2088
2095
  continue u;
2089
2096
  }
2090
2097
  }
@@ -2093,7 +2100,7 @@ function Jn(u, e) {
2093
2100
  pos: f.index,
2094
2101
  single: m,
2095
2102
  level: l
2096
- }) : p && m && (a.content = Ru(a.content, f.index, Je));
2103
+ }) : p && m && (o.content = Ru(o.content, f.index, Je));
2097
2104
  }
2098
2105
  }
2099
2106
  }
@@ -2105,14 +2112,14 @@ function Wn(u) {
2105
2112
  function Qn(u) {
2106
2113
  let e, t;
2107
2114
  const n = u.tokens, r = n.length;
2108
- for (let a = 0; a < r; a++) {
2109
- if (n[a].type !== "inline")
2115
+ for (let o = 0; o < r; o++) {
2116
+ if (n[o].type !== "inline")
2110
2117
  continue;
2111
- const l = n[a].children, o = l.length;
2112
- for (e = 0; e < o; e++)
2118
+ const l = n[o].children, a = l.length;
2119
+ for (e = 0; e < a; e++)
2113
2120
  l[e].type === "text_special" && (l[e].type = "text");
2114
- for (e = t = 0; e < o; e++)
2115
- l[e].type === "text" && e + 1 < o && l[e + 1].type === "text" ? l[e + 1].content = l[e].content + l[e + 1].content : (e !== t && (l[t] = l[e]), t++);
2121
+ for (e = t = 0; e < a; e++)
2122
+ l[e].type === "text" && e + 1 < a && l[e + 1].type === "text" ? l[e + 1].content = l[e].content + l[e + 1].content : (e !== t && (l[t] = l[e]), t++);
2116
2123
  e !== t && (l.length = t);
2117
2124
  }
2118
2125
  }
@@ -2141,20 +2148,20 @@ we.prototype.State = $0;
2141
2148
  function du(u, e, t, n) {
2142
2149
  this.src = u, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
2143
2150
  const r = this.src;
2144
- for (let a = 0, l = 0, o = 0, c = 0, i = r.length, f = !1; l < i; l++) {
2151
+ for (let o = 0, l = 0, a = 0, c = 0, i = r.length, f = !1; l < i; l++) {
2145
2152
  const s = r.charCodeAt(l);
2146
2153
  if (!f)
2147
2154
  if (j(s)) {
2148
- o++, s === 9 ? c += 4 - c % 4 : c++;
2155
+ a++, s === 9 ? c += 4 - c % 4 : c++;
2149
2156
  continue;
2150
2157
  } else
2151
2158
  f = !0;
2152
- (s === 10 || l === i - 1) && (s !== 10 && l++, this.bMarks.push(a), this.eMarks.push(l), this.tShift.push(o), this.sCount.push(c), this.bsCount.push(0), f = !1, o = 0, c = 0, a = l + 1);
2159
+ (s === 10 || l === i - 1) && (s !== 10 && l++, this.bMarks.push(o), this.eMarks.push(l), this.tShift.push(a), this.sCount.push(c), this.bsCount.push(0), f = !1, a = 0, c = 0, o = l + 1);
2153
2160
  }
2154
2161
  this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
2155
2162
  }
2156
2163
  du.prototype.push = function(u, e, t) {
2157
- const n = new ou(u, e, t);
2164
+ const n = new au(u, e, t);
2158
2165
  return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
2159
2166
  };
2160
2167
  du.prototype.isEmpty = function(e) {
@@ -2197,26 +2204,26 @@ du.prototype.skipCharsBack = function(e, t, n) {
2197
2204
  du.prototype.getLines = function(e, t, n, r) {
2198
2205
  if (e >= t)
2199
2206
  return "";
2200
- const a = new Array(t - e);
2201
- for (let l = 0, o = e; o < t; o++, l++) {
2207
+ const o = new Array(t - e);
2208
+ for (let l = 0, a = e; a < t; a++, l++) {
2202
2209
  let c = 0;
2203
- const i = this.bMarks[o];
2210
+ const i = this.bMarks[a];
2204
2211
  let f = i, s;
2205
- for (o + 1 < t || r ? s = this.eMarks[o] + 1 : s = this.eMarks[o]; f < s && c < n; ) {
2212
+ for (a + 1 < t || r ? s = this.eMarks[a] + 1 : s = this.eMarks[a]; f < s && c < n; ) {
2206
2213
  const p = this.src.charCodeAt(f);
2207
2214
  if (j(p))
2208
- p === 9 ? c += 4 - (c + this.bsCount[o]) % 4 : c++;
2209
- else if (f - i < this.tShift[o])
2215
+ p === 9 ? c += 4 - (c + this.bsCount[a]) % 4 : c++;
2216
+ else if (f - i < this.tShift[a])
2210
2217
  c++;
2211
2218
  else
2212
2219
  break;
2213
2220
  f++;
2214
2221
  }
2215
- c > n ? a[l] = new Array(c - n + 1).join(" ") + this.src.slice(f, s) : a[l] = this.src.slice(f, s);
2222
+ c > n ? o[l] = new Array(c - n + 1).join(" ") + this.src.slice(f, s) : o[l] = this.src.slice(f, s);
2216
2223
  }
2217
- return a.join("");
2224
+ return o.join("");
2218
2225
  };
2219
- du.prototype.Token = ou;
2226
+ du.prototype.Token = au;
2220
2227
  const Yn = 65536;
2221
2228
  function te(u, e) {
2222
2229
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
@@ -2224,10 +2231,10 @@ function te(u, e) {
2224
2231
  }
2225
2232
  function We(u) {
2226
2233
  const e = [], t = u.length;
2227
- let n = 0, r = u.charCodeAt(n), a = !1, l = 0, o = "";
2234
+ let n = 0, r = u.charCodeAt(n), o = !1, l = 0, a = "";
2228
2235
  for (; n < t; )
2229
- r === 124 && (a ? (o += u.substring(l, n - 1), l = n) : (e.push(o + u.substring(l, n)), o = "", l = n + 1)), a = r === 92, n++, r = u.charCodeAt(n);
2230
- return e.push(o + u.substring(l)), e;
2236
+ r === 124 && (o ? (a += u.substring(l, n - 1), l = n) : (e.push(a + u.substring(l, n)), a = "", l = n + 1)), o = r === 92, n++, r = u.charCodeAt(n);
2237
+ return e.push(a + u.substring(l)), e;
2231
2238
  }
2232
2239
  function Kn(u, e, t, n) {
2233
2240
  if (e + 2 > t)
@@ -2235,20 +2242,20 @@ function Kn(u, e, t, n) {
2235
2242
  let r = e + 1;
2236
2243
  if (u.sCount[r] < u.blkIndent || u.sCount[r] - u.blkIndent >= 4)
2237
2244
  return !1;
2238
- let a = u.bMarks[r] + u.tShift[r];
2239
- if (a >= u.eMarks[r])
2245
+ let o = u.bMarks[r] + u.tShift[r];
2246
+ if (o >= u.eMarks[r])
2240
2247
  return !1;
2241
- const l = u.src.charCodeAt(a++);
2242
- if (l !== 124 && l !== 45 && l !== 58 || a >= u.eMarks[r])
2248
+ const l = u.src.charCodeAt(o++);
2249
+ if (l !== 124 && l !== 45 && l !== 58 || o >= u.eMarks[r])
2243
2250
  return !1;
2244
- const o = u.src.charCodeAt(a++);
2245
- if (o !== 124 && o !== 45 && o !== 58 && !j(o) || l === 45 && j(o))
2251
+ const a = u.src.charCodeAt(o++);
2252
+ if (a !== 124 && a !== 45 && a !== 58 && !j(a) || l === 45 && j(a))
2246
2253
  return !1;
2247
- for (; a < u.eMarks[r]; ) {
2248
- const b = u.src.charCodeAt(a);
2254
+ for (; o < u.eMarks[r]; ) {
2255
+ const b = u.src.charCodeAt(o);
2249
2256
  if (b !== 124 && b !== 45 && b !== 58 && !j(b))
2250
2257
  return !1;
2251
- a++;
2258
+ o++;
2252
2259
  }
2253
2260
  let c = te(u, e + 1), i = c.split("|");
2254
2261
  const f = [];
@@ -2328,30 +2335,30 @@ function Xn(u, e, t) {
2328
2335
  break;
2329
2336
  }
2330
2337
  u.line = r;
2331
- const a = u.push("code_block", "code", 0);
2332
- return a.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
2333
- `, a.map = [e, u.line], !0;
2338
+ const o = u.push("code_block", "code", 0);
2339
+ return o.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
2340
+ `, o.map = [e, u.line], !0;
2334
2341
  }
2335
2342
  function ur(u, e, t, n) {
2336
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2337
- if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > a)
2343
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2344
+ if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > o)
2338
2345
  return !1;
2339
2346
  const l = u.src.charCodeAt(r);
2340
2347
  if (l !== 126 && l !== 96)
2341
2348
  return !1;
2342
- let o = r;
2349
+ let a = r;
2343
2350
  r = u.skipChars(r, l);
2344
- let c = r - o;
2351
+ let c = r - a;
2345
2352
  if (c < 3)
2346
2353
  return !1;
2347
- const i = u.src.slice(o, r), f = u.src.slice(r, a);
2354
+ const i = u.src.slice(a, r), f = u.src.slice(r, o);
2348
2355
  if (l === 96 && f.indexOf(String.fromCharCode(l)) >= 0)
2349
2356
  return !1;
2350
2357
  if (n)
2351
2358
  return !0;
2352
2359
  let s = e, p = !1;
2353
- for (; s++, !(s >= t || (r = o = u.bMarks[s] + u.tShift[s], a = u.eMarks[s], r < a && u.sCount[s] < u.blkIndent)); )
2354
- if (u.src.charCodeAt(r) === l && !(u.sCount[s] - u.blkIndent >= 4) && (r = u.skipChars(r, l), !(r - o < c) && (r = u.skipSpaces(r), !(r < a)))) {
2360
+ for (; s++, !(s >= t || (r = a = u.bMarks[s] + u.tShift[s], o = u.eMarks[s], r < o && u.sCount[s] < u.blkIndent)); )
2361
+ if (u.src.charCodeAt(r) === l && !(u.sCount[s] - u.blkIndent >= 4) && (r = u.skipChars(r, l), !(r - a < c) && (r = u.skipSpaces(r), !(r < o)))) {
2355
2362
  p = !0;
2356
2363
  break;
2357
2364
  }
@@ -2360,24 +2367,24 @@ function ur(u, e, t, n) {
2360
2367
  return m.info = f, m.content = u.getLines(e + 1, s, c, !0), m.markup = i, m.map = [e, u.line], !0;
2361
2368
  }
2362
2369
  function er(u, e, t, n) {
2363
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2370
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2364
2371
  const l = u.lineMax;
2365
2372
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
2366
2373
  return !1;
2367
2374
  if (n)
2368
2375
  return !0;
2369
- const o = [], c = [], i = [], f = [], s = u.md.block.ruler.getRules("blockquote"), p = u.parentType;
2376
+ const a = [], c = [], i = [], f = [], s = u.md.block.ruler.getRules("blockquote"), p = u.parentType;
2370
2377
  u.parentType = "blockquote";
2371
2378
  let m = !1, d;
2372
2379
  for (d = e; d < t; d++) {
2373
2380
  const k = u.sCount[d] < u.blkIndent;
2374
- if (r = u.bMarks[d] + u.tShift[d], a = u.eMarks[d], r >= a)
2381
+ if (r = u.bMarks[d] + u.tShift[d], o = u.eMarks[d], r >= o)
2375
2382
  break;
2376
2383
  if (u.src.charCodeAt(r++) === 62 && !k) {
2377
2384
  let x = u.sCount[d] + 1, g, _;
2378
2385
  u.src.charCodeAt(r) === 32 ? (r++, x++, _ = !1, g = !0) : u.src.charCodeAt(r) === 9 ? (g = !0, (u.bsCount[d] + x) % 4 === 3 ? (r++, x++, _ = !1) : _ = !0) : g = !1;
2379
2386
  let I = x;
2380
- for (o.push(u.bMarks[d]), u.bMarks[d] = r; r < a; ) {
2387
+ for (a.push(u.bMarks[d]), u.bMarks[d] = r; r < o; ) {
2381
2388
  const v = u.src.charCodeAt(r);
2382
2389
  if (j(v))
2383
2390
  v === 9 ? I += 4 - (I + u.bsCount[d] + (_ ? 1 : 0)) % 4 : I++;
@@ -2385,7 +2392,7 @@ function er(u, e, t, n) {
2385
2392
  break;
2386
2393
  r++;
2387
2394
  }
2388
- m = r >= a, c.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (g ? 1 : 0), i.push(u.sCount[d]), u.sCount[d] = I - x, f.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
2395
+ m = r >= o, c.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (g ? 1 : 0), i.push(u.sCount[d]), u.sCount[d] = I - x, f.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
2389
2396
  continue;
2390
2397
  }
2391
2398
  if (m)
@@ -2397,10 +2404,10 @@ function er(u, e, t, n) {
2397
2404
  break;
2398
2405
  }
2399
2406
  if (b) {
2400
- u.lineMax = d, u.blkIndent !== 0 && (o.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
2407
+ u.lineMax = d, u.blkIndent !== 0 && (a.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
2401
2408
  break;
2402
2409
  }
2403
- o.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] = -1;
2410
+ a.push(u.bMarks[d]), c.push(u.bsCount[d]), f.push(u.tShift[d]), i.push(u.sCount[d]), u.sCount[d] = -1;
2404
2411
  }
2405
2412
  const w = u.blkIndent;
2406
2413
  u.blkIndent = 0;
@@ -2411,31 +2418,31 @@ function er(u, e, t, n) {
2411
2418
  const h = u.push("blockquote_close", "blockquote", -1);
2412
2419
  h.markup = ">", u.lineMax = l, u.parentType = p, A[1] = u.line;
2413
2420
  for (let k = 0; k < f.length; k++)
2414
- u.bMarks[k + e] = o[k], u.tShift[k + e] = f[k], u.sCount[k + e] = i[k], u.bsCount[k + e] = c[k];
2421
+ u.bMarks[k + e] = a[k], u.tShift[k + e] = f[k], u.sCount[k + e] = i[k], u.bsCount[k + e] = c[k];
2415
2422
  return u.blkIndent = w, !0;
2416
2423
  }
2417
2424
  function tr(u, e, t, n) {
2418
2425
  const r = u.eMarks[e];
2419
2426
  if (u.sCount[e] - u.blkIndent >= 4)
2420
2427
  return !1;
2421
- let a = u.bMarks[e] + u.tShift[e];
2422
- const l = u.src.charCodeAt(a++);
2428
+ let o = u.bMarks[e] + u.tShift[e];
2429
+ const l = u.src.charCodeAt(o++);
2423
2430
  if (l !== 42 && l !== 45 && l !== 95)
2424
2431
  return !1;
2425
- let o = 1;
2426
- for (; a < r; ) {
2427
- const i = u.src.charCodeAt(a++);
2432
+ let a = 1;
2433
+ for (; o < r; ) {
2434
+ const i = u.src.charCodeAt(o++);
2428
2435
  if (i !== l && !j(i))
2429
2436
  return !1;
2430
- i === l && o++;
2437
+ i === l && a++;
2431
2438
  }
2432
- if (o < 3)
2439
+ if (a < 3)
2433
2440
  return !1;
2434
2441
  if (n)
2435
2442
  return !0;
2436
2443
  u.line = e + 1;
2437
2444
  const c = u.push("hr", "hr", 0);
2438
- return c.map = [e, u.line], c.markup = Array(o + 1).join(String.fromCharCode(l)), !0;
2445
+ return c.map = [e, u.line], c.markup = Array(a + 1).join(String.fromCharCode(l)), !0;
2439
2446
  }
2440
2447
  function Qe(u, e) {
2441
2448
  const t = u.eMarks[e];
@@ -2444,8 +2451,8 @@ function Qe(u, e) {
2444
2451
  if (r !== 42 && r !== 45 && r !== 43)
2445
2452
  return -1;
2446
2453
  if (n < t) {
2447
- const a = u.src.charCodeAt(n);
2448
- if (!j(a))
2454
+ const o = u.src.charCodeAt(n);
2455
+ if (!j(o))
2449
2456
  return -1;
2450
2457
  }
2451
2458
  return n;
@@ -2455,22 +2462,22 @@ function Ye(u, e) {
2455
2462
  let r = t;
2456
2463
  if (r + 1 >= n)
2457
2464
  return -1;
2458
- let a = u.src.charCodeAt(r++);
2459
- if (a < 48 || a > 57)
2465
+ let o = u.src.charCodeAt(r++);
2466
+ if (o < 48 || o > 57)
2460
2467
  return -1;
2461
2468
  for (; ; ) {
2462
2469
  if (r >= n)
2463
2470
  return -1;
2464
- if (a = u.src.charCodeAt(r++), a >= 48 && a <= 57) {
2471
+ if (o = u.src.charCodeAt(r++), o >= 48 && o <= 57) {
2465
2472
  if (r - t >= 10)
2466
2473
  return -1;
2467
2474
  continue;
2468
2475
  }
2469
- if (a === 41 || a === 46)
2476
+ if (o === 41 || o === 46)
2470
2477
  break;
2471
2478
  return -1;
2472
2479
  }
2473
- return r < n && (a = u.src.charCodeAt(r), !j(a)) ? -1 : r;
2480
+ return r < n && (o = u.src.charCodeAt(r), !j(o)) ? -1 : r;
2474
2481
  }
2475
2482
  function nr(u, e) {
2476
2483
  const t = u.level + 2;
@@ -2478,7 +2485,7 @@ function nr(u, e) {
2478
2485
  u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
2479
2486
  }
2480
2487
  function rr(u, e, t, n) {
2481
- let r, a, l, o, c = e, i = !0;
2488
+ let r, o, l, a, c = e, i = !0;
2482
2489
  if (u.sCount[c] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[c] - u.listIndent >= 4 && u.sCount[c] < u.blkIndent)
2483
2490
  return !1;
2484
2491
  let f = !1;
@@ -2496,34 +2503,34 @@ function rr(u, e, t, n) {
2496
2503
  if (n)
2497
2504
  return !0;
2498
2505
  const d = u.src.charCodeAt(m - 1), w = u.tokens.length;
2499
- s ? (o = u.push("ordered_list_open", "ol", 1), p !== 1 && (o.attrs = [["start", p]])) : o = u.push("bullet_list_open", "ul", 1);
2506
+ s ? (a = u.push("ordered_list_open", "ol", 1), p !== 1 && (a.attrs = [["start", p]])) : a = u.push("bullet_list_open", "ul", 1);
2500
2507
  const $ = [c, 0];
2501
- o.map = $, o.markup = String.fromCharCode(d);
2508
+ a.map = $, a.markup = String.fromCharCode(d);
2502
2509
  let A = !1;
2503
2510
  const h = u.md.block.ruler.getRules("list"), k = u.parentType;
2504
2511
  for (u.parentType = "list"; c < t; ) {
2505
- a = m, r = u.eMarks[c];
2512
+ o = m, r = u.eMarks[c];
2506
2513
  const b = u.sCount[c] + m - (u.bMarks[c] + u.tShift[c]);
2507
2514
  let x = b;
2508
- for (; a < r; ) {
2509
- const N = u.src.charCodeAt(a);
2515
+ for (; o < r; ) {
2516
+ const N = u.src.charCodeAt(o);
2510
2517
  if (N === 9)
2511
2518
  x += 4 - (x + u.bsCount[c]) % 4;
2512
2519
  else if (N === 32)
2513
2520
  x++;
2514
2521
  else
2515
2522
  break;
2516
- a++;
2523
+ o++;
2517
2524
  }
2518
- const g = a;
2525
+ const g = o;
2519
2526
  let _;
2520
2527
  g >= r ? _ = 1 : _ = x - b, _ > 4 && (_ = 1);
2521
2528
  const I = b + _;
2522
- o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(d);
2529
+ a = u.push("list_item_open", "li", 1), a.markup = String.fromCharCode(d);
2523
2530
  const v = [c, 0];
2524
- o.map = v, s && (o.info = u.src.slice(l, m - 1));
2531
+ a.map = v, s && (a.info = u.src.slice(l, m - 1));
2525
2532
  const T = u.tight, F = u.tShift[c], q = u.sCount[c], B = u.listIndent;
2526
- if (u.listIndent = u.blkIndent, u.blkIndent = I, u.tight = !0, u.tShift[c] = g - u.bMarks[c], u.sCount[c] = x, g >= r && u.isEmpty(c + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, c, t, !0), (!u.tight || A) && (i = !1), A = u.line - c > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = B, u.tShift[c] = F, u.sCount[c] = q, u.tight = T, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), c = u.line, v[1] = c, c >= t || u.sCount[c] < u.blkIndent || u.sCount[c] - u.blkIndent >= 4)
2533
+ if (u.listIndent = u.blkIndent, u.blkIndent = I, u.tight = !0, u.tShift[c] = g - u.bMarks[c], u.sCount[c] = x, g >= r && u.isEmpty(c + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, c, t, !0), (!u.tight || A) && (i = !1), A = u.line - c > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = B, u.tShift[c] = F, u.sCount[c] = q, u.tight = T, a = u.push("list_item_close", "li", -1), a.markup = String.fromCharCode(d), c = u.line, v[1] = c, c >= t || u.sCount[c] < u.blkIndent || u.sCount[c] - u.blkIndent >= 4)
2527
2534
  break;
2528
2535
  let C = !1;
2529
2536
  for (let N = 0, H = h.length; N < H; N++)
@@ -2542,13 +2549,13 @@ function rr(u, e, t, n) {
2542
2549
  if (d !== u.src.charCodeAt(m - 1))
2543
2550
  break;
2544
2551
  }
2545
- return s ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), $[1] = c, u.line = c, u.parentType = k, i && nr(u, w), !0;
2552
+ return s ? a = u.push("ordered_list_close", "ol", -1) : a = u.push("bullet_list_close", "ul", -1), a.markup = String.fromCharCode(d), $[1] = c, u.line = c, u.parentType = k, i && nr(u, w), !0;
2546
2553
  }
2547
- function ar(u, e, t, n) {
2548
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e], l = e + 1;
2554
+ function or(u, e, t, n) {
2555
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], l = e + 1;
2549
2556
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
2550
2557
  return !1;
2551
- function o(h) {
2558
+ function a(h) {
2552
2559
  const k = u.lineMax;
2553
2560
  if (h >= k || u.isEmpty(h))
2554
2561
  return null;
@@ -2568,10 +2575,10 @@ function ar(u, e, t, n) {
2568
2575
  const x = u.bMarks[h] + u.tShift[h], g = u.eMarks[h];
2569
2576
  return u.src.slice(x, g + 1);
2570
2577
  }
2571
- let c = u.src.slice(r, a + 1);
2572
- a = c.length;
2578
+ let c = u.src.slice(r, o + 1);
2579
+ o = c.length;
2573
2580
  let i = -1;
2574
- for (r = 1; r < a; r++) {
2581
+ for (r = 1; r < o; r++) {
2575
2582
  const h = c.charCodeAt(r);
2576
2583
  if (h === 91)
2577
2584
  return !1;
@@ -2579,24 +2586,24 @@ function ar(u, e, t, n) {
2579
2586
  i = r;
2580
2587
  break;
2581
2588
  } else if (h === 10) {
2582
- const k = o(l);
2583
- k !== null && (c += k, a = c.length, l++);
2584
- } else if (h === 92 && (r++, r < a && c.charCodeAt(r) === 10)) {
2585
- const k = o(l);
2586
- k !== null && (c += k, a = c.length, l++);
2589
+ const k = a(l);
2590
+ k !== null && (c += k, o = c.length, l++);
2591
+ } else if (h === 92 && (r++, r < o && c.charCodeAt(r) === 10)) {
2592
+ const k = a(l);
2593
+ k !== null && (c += k, o = c.length, l++);
2587
2594
  }
2588
2595
  }
2589
2596
  if (i < 0 || c.charCodeAt(i + 1) !== 58)
2590
2597
  return !1;
2591
- for (r = i + 2; r < a; r++) {
2598
+ for (r = i + 2; r < o; r++) {
2592
2599
  const h = c.charCodeAt(r);
2593
2600
  if (h === 10) {
2594
- const k = o(l);
2595
- k !== null && (c += k, a = c.length, l++);
2601
+ const k = a(l);
2602
+ k !== null && (c += k, o = c.length, l++);
2596
2603
  } else if (!j(h))
2597
2604
  break;
2598
2605
  }
2599
- const f = u.md.helpers.parseLinkDestination(c, r, a);
2606
+ const f = u.md.helpers.parseLinkDestination(c, r, o);
2600
2607
  if (!f.ok)
2601
2608
  return !1;
2602
2609
  const s = u.md.normalizeLink(f.str);
@@ -2604,41 +2611,41 @@ function ar(u, e, t, n) {
2604
2611
  return !1;
2605
2612
  r = f.pos;
2606
2613
  const p = r, m = l, d = r;
2607
- for (; r < a; r++) {
2614
+ for (; r < o; r++) {
2608
2615
  const h = c.charCodeAt(r);
2609
2616
  if (h === 10) {
2610
- const k = o(l);
2611
- k !== null && (c += k, a = c.length, l++);
2617
+ const k = a(l);
2618
+ k !== null && (c += k, o = c.length, l++);
2612
2619
  } else if (!j(h))
2613
2620
  break;
2614
2621
  }
2615
- let w = u.md.helpers.parseLinkTitle(c, r, a);
2622
+ let w = u.md.helpers.parseLinkTitle(c, r, o);
2616
2623
  for (; w.can_continue; ) {
2617
- const h = o(l);
2624
+ const h = a(l);
2618
2625
  if (h === null)
2619
2626
  break;
2620
- c += h, r = a, a = c.length, l++, w = u.md.helpers.parseLinkTitle(c, r, a, w);
2627
+ c += h, r = o, o = c.length, l++, w = u.md.helpers.parseLinkTitle(c, r, o, w);
2621
2628
  }
2622
2629
  let $;
2623
- for (r < a && d !== r && w.ok ? ($ = w.str, r = w.pos) : ($ = "", r = p, l = m); r < a; ) {
2630
+ for (r < o && d !== r && w.ok ? ($ = w.str, r = w.pos) : ($ = "", r = p, l = m); r < o; ) {
2624
2631
  const h = c.charCodeAt(r);
2625
2632
  if (!j(h))
2626
2633
  break;
2627
2634
  r++;
2628
2635
  }
2629
- if (r < a && c.charCodeAt(r) !== 10 && $)
2630
- for ($ = "", r = p, l = m; r < a; ) {
2636
+ if (r < o && c.charCodeAt(r) !== 10 && $)
2637
+ for ($ = "", r = p, l = m; r < o; ) {
2631
2638
  const h = c.charCodeAt(r);
2632
2639
  if (!j(h))
2633
2640
  break;
2634
2641
  r++;
2635
2642
  }
2636
- if (r < a && c.charCodeAt(r) !== 10)
2643
+ if (r < o && c.charCodeAt(r) !== 10)
2637
2644
  return !1;
2638
2645
  const A = Gu(c.slice(1, i));
2639
2646
  return A ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[A] > "u" && (u.env.references[A] = { title: $, href: s }), u.line = l), !0) : !1;
2640
2647
  }
2641
- const or = [
2648
+ const ar = [
2642
2649
  "address",
2643
2650
  "article",
2644
2651
  "aside",
@@ -2707,24 +2714,24 @@ const or = [
2707
2714
  [/^<\?/, /\?>/, !0],
2708
2715
  [/^<![A-Z]/, />/, !0],
2709
2716
  [/^<!\[CDATA\[/, /\]\]>/, !0],
2710
- [new RegExp("^</?(" + or.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2717
+ [new RegExp("^</?(" + ar.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2711
2718
  [new RegExp(_r.source + "\\s*$"), /^$/, !1]
2712
2719
  ];
2713
2720
  function gr(u, e, t, n) {
2714
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2721
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2715
2722
  if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
2716
2723
  return !1;
2717
- let l = u.src.slice(r, a), o = 0;
2718
- for (; o < ku.length && !ku[o][0].test(l); o++)
2724
+ let l = u.src.slice(r, o), a = 0;
2725
+ for (; a < ku.length && !ku[a][0].test(l); a++)
2719
2726
  ;
2720
- if (o === ku.length)
2727
+ if (a === ku.length)
2721
2728
  return !1;
2722
2729
  if (n)
2723
- return ku[o][2];
2730
+ return ku[a][2];
2724
2731
  let c = e + 1;
2725
- if (!ku[o][1].test(l)) {
2732
+ if (!ku[a][1].test(l)) {
2726
2733
  for (; c < t && !(u.sCount[c] < u.blkIndent); c++)
2727
- if (r = u.bMarks[c] + u.tShift[c], a = u.eMarks[c], l = u.src.slice(r, a), ku[o][1].test(l)) {
2734
+ if (r = u.bMarks[c] + u.tShift[c], o = u.eMarks[c], l = u.src.slice(r, o), ku[a][1].test(l)) {
2728
2735
  l.length !== 0 && c++;
2729
2736
  break;
2730
2737
  }
@@ -2734,28 +2741,28 @@ function gr(u, e, t, n) {
2734
2741
  return i.map = [e, c], i.content = u.getLines(e, c, u.blkIndent, !0), !0;
2735
2742
  }
2736
2743
  function kr(u, e, t, n) {
2737
- let r = u.bMarks[e] + u.tShift[e], a = u.eMarks[e];
2744
+ let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2738
2745
  if (u.sCount[e] - u.blkIndent >= 4)
2739
2746
  return !1;
2740
2747
  let l = u.src.charCodeAt(r);
2741
- if (l !== 35 || r >= a)
2748
+ if (l !== 35 || r >= o)
2742
2749
  return !1;
2743
- let o = 1;
2744
- for (l = u.src.charCodeAt(++r); l === 35 && r < a && o <= 6; )
2745
- o++, l = u.src.charCodeAt(++r);
2746
- if (o > 6 || r < a && !j(l))
2750
+ let a = 1;
2751
+ for (l = u.src.charCodeAt(++r); l === 35 && r < o && a <= 6; )
2752
+ a++, l = u.src.charCodeAt(++r);
2753
+ if (a > 6 || r < o && !j(l))
2747
2754
  return !1;
2748
2755
  if (n)
2749
2756
  return !0;
2750
- a = u.skipSpacesBack(a, r);
2751
- const c = u.skipCharsBack(a, 35, r);
2752
- c > r && j(u.src.charCodeAt(c - 1)) && (a = c), u.line = e + 1;
2753
- const i = u.push("heading_open", "h" + String(o), 1);
2754
- i.markup = "########".slice(0, o), i.map = [e, u.line];
2757
+ o = u.skipSpacesBack(o, r);
2758
+ const c = u.skipCharsBack(o, 35, r);
2759
+ c > r && j(u.src.charCodeAt(c - 1)) && (o = c), u.line = e + 1;
2760
+ const i = u.push("heading_open", "h" + String(a), 1);
2761
+ i.markup = "########".slice(0, a), i.map = [e, u.line];
2755
2762
  const f = u.push("inline", "", 0);
2756
- f.content = u.src.slice(r, a).trim(), f.map = [e, u.line], f.children = [];
2757
- const s = u.push("heading_close", "h" + String(o), -1);
2758
- return s.markup = "########".slice(0, o), !0;
2763
+ f.content = u.src.slice(r, o).trim(), f.map = [e, u.line], f.children = [];
2764
+ const s = u.push("heading_close", "h" + String(a), -1);
2765
+ return s.markup = "########".slice(0, a), !0;
2759
2766
  }
2760
2767
  function yr(u, e, t) {
2761
2768
  const n = u.md.block.ruler.getRules("paragraph");
@@ -2763,59 +2770,59 @@ function yr(u, e, t) {
2763
2770
  return !1;
2764
2771
  const r = u.parentType;
2765
2772
  u.parentType = "paragraph";
2766
- let a = 0, l, o = e + 1;
2767
- for (; o < t && !u.isEmpty(o); o++) {
2768
- if (u.sCount[o] - u.blkIndent > 3)
2773
+ let o = 0, l, a = e + 1;
2774
+ for (; a < t && !u.isEmpty(a); a++) {
2775
+ if (u.sCount[a] - u.blkIndent > 3)
2769
2776
  continue;
2770
- if (u.sCount[o] >= u.blkIndent) {
2771
- let m = u.bMarks[o] + u.tShift[o];
2772
- const d = u.eMarks[o];
2777
+ if (u.sCount[a] >= u.blkIndent) {
2778
+ let m = u.bMarks[a] + u.tShift[a];
2779
+ const d = u.eMarks[a];
2773
2780
  if (m < d && (l = u.src.charCodeAt(m), (l === 45 || l === 61) && (m = u.skipChars(m, l), m = u.skipSpaces(m), m >= d))) {
2774
- a = l === 61 ? 1 : 2;
2781
+ o = l === 61 ? 1 : 2;
2775
2782
  break;
2776
2783
  }
2777
2784
  }
2778
- if (u.sCount[o] < 0)
2785
+ if (u.sCount[a] < 0)
2779
2786
  continue;
2780
2787
  let p = !1;
2781
2788
  for (let m = 0, d = n.length; m < d; m++)
2782
- if (n[m](u, o, t, !0)) {
2789
+ if (n[m](u, a, t, !0)) {
2783
2790
  p = !0;
2784
2791
  break;
2785
2792
  }
2786
2793
  if (p)
2787
2794
  break;
2788
2795
  }
2789
- if (!a)
2796
+ if (!o)
2790
2797
  return !1;
2791
- const c = u.getLines(e, o, u.blkIndent, !1).trim();
2792
- u.line = o + 1;
2793
- const i = u.push("heading_open", "h" + String(a), 1);
2798
+ const c = u.getLines(e, a, u.blkIndent, !1).trim();
2799
+ u.line = a + 1;
2800
+ const i = u.push("heading_open", "h" + String(o), 1);
2794
2801
  i.markup = String.fromCharCode(l), i.map = [e, u.line];
2795
2802
  const f = u.push("inline", "", 0);
2796
2803
  f.content = c, f.map = [e, u.line - 1], f.children = [];
2797
- const s = u.push("heading_close", "h" + String(a), -1);
2804
+ const s = u.push("heading_close", "h" + String(o), -1);
2798
2805
  return s.markup = String.fromCharCode(l), u.parentType = r, !0;
2799
2806
  }
2800
2807
  function vr(u, e, t) {
2801
2808
  const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
2802
- let a = e + 1;
2803
- for (u.parentType = "paragraph"; a < t && !u.isEmpty(a); a++) {
2804
- if (u.sCount[a] - u.blkIndent > 3 || u.sCount[a] < 0)
2809
+ let o = e + 1;
2810
+ for (u.parentType = "paragraph"; o < t && !u.isEmpty(o); o++) {
2811
+ if (u.sCount[o] - u.blkIndent > 3 || u.sCount[o] < 0)
2805
2812
  continue;
2806
2813
  let i = !1;
2807
2814
  for (let f = 0, s = n.length; f < s; f++)
2808
- if (n[f](u, a, t, !0)) {
2815
+ if (n[f](u, o, t, !0)) {
2809
2816
  i = !0;
2810
2817
  break;
2811
2818
  }
2812
2819
  if (i)
2813
2820
  break;
2814
2821
  }
2815
- const l = u.getLines(e, a, u.blkIndent, !1).trim();
2816
- u.line = a;
2817
- const o = u.push("paragraph_open", "p", 1);
2818
- o.map = [e, u.line];
2822
+ const l = u.getLines(e, o, u.blkIndent, !1).trim();
2823
+ u.line = o;
2824
+ const a = u.push("paragraph_open", "p", 1);
2825
+ a.map = [e, u.line];
2819
2826
  const c = u.push("inline", "", 0);
2820
2827
  return c.content = l, c.map = [e, u.line], c.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
2821
2828
  }
@@ -2828,7 +2835,7 @@ const Mu = [
2828
2835
  ["blockquote", er, ["paragraph", "reference", "blockquote", "list"]],
2829
2836
  ["hr", tr, ["paragraph", "reference", "blockquote", "list"]],
2830
2837
  ["list", rr, ["paragraph", "reference", "blockquote"]],
2831
- ["reference", ar],
2838
+ ["reference", or],
2832
2839
  ["html_block", gr, ["paragraph", "reference", "blockquote"]],
2833
2840
  ["heading", kr, ["paragraph", "reference", "blockquote"]],
2834
2841
  ["lheading", yr],
@@ -2840,10 +2847,10 @@ function Ju() {
2840
2847
  this.ruler.push(Mu[u][0], Mu[u][1], { alt: (Mu[u][2] || []).slice() });
2841
2848
  }
2842
2849
  Ju.prototype.tokenize = function(u, e, t) {
2843
- const n = this.ruler.getRules(""), r = n.length, a = u.md.options.maxNesting;
2844
- let l = e, o = !1;
2850
+ const n = this.ruler.getRules(""), r = n.length, o = u.md.options.maxNesting;
2851
+ let l = e, a = !1;
2845
2852
  for (; l < t && (u.line = l = u.skipEmptyLines(l), !(l >= t || u.sCount[l] < u.blkIndent)); ) {
2846
- if (u.level >= a) {
2853
+ if (u.level >= o) {
2847
2854
  u.line = t;
2848
2855
  break;
2849
2856
  }
@@ -2857,7 +2864,7 @@ Ju.prototype.tokenize = function(u, e, t) {
2857
2864
  }
2858
2865
  if (!i)
2859
2866
  throw new Error("none of the block rules matched");
2860
- u.tight = !o, u.isEmpty(u.line - 1) && (o = !0), l = u.line, l < t && u.isEmpty(l) && (o = !0, l++, u.line = l);
2867
+ u.tight = !a, u.isEmpty(u.line - 1) && (a = !0), l = u.line, l < t && u.isEmpty(l) && (a = !0, l++, u.line = l);
2861
2868
  }
2862
2869
  };
2863
2870
  Ju.prototype.parse = function(u, e, t, n) {
@@ -2871,24 +2878,24 @@ function Vu(u, e, t, n) {
2871
2878
  this.src = u, this.env = t, this.md = e, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
2872
2879
  }
2873
2880
  Vu.prototype.pushPending = function() {
2874
- const u = new ou("text", "", 0);
2881
+ const u = new au("text", "", 0);
2875
2882
  return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
2876
2883
  };
2877
2884
  Vu.prototype.push = function(u, e, t) {
2878
2885
  this.pending && this.pushPending();
2879
- const n = new ou(u, e, t);
2886
+ const n = new au(u, e, t);
2880
2887
  let r = null;
2881
2888
  return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
2882
2889
  };
2883
2890
  Vu.prototype.scanDelims = function(u, e) {
2884
2891
  const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
2885
- let a = u;
2886
- for (; a < t && this.src.charCodeAt(a) === n; )
2887
- a++;
2888
- const l = a - u, o = a < t ? this.src.charCodeAt(a) : 32, c = Su(r) || Tu(String.fromCharCode(r)), i = Su(o) || Tu(String.fromCharCode(o)), f = wu(r), s = wu(o), p = !s && (!i || f || c), m = !f && (!c || s || i);
2892
+ let o = u;
2893
+ for (; o < t && this.src.charCodeAt(o) === n; )
2894
+ o++;
2895
+ const l = o - u, a = o < t ? this.src.charCodeAt(o) : 32, c = Su(r) || Tu(String.fromCharCode(r)), i = Su(a) || Tu(String.fromCharCode(a)), f = wu(r), s = wu(a), p = !s && (!i || f || c), m = !f && (!c || s || i);
2889
2896
  return { can_open: p && (e || !m || c), can_close: m && (e || !p || i), length: l };
2890
2897
  };
2891
- Vu.prototype.Token = ou;
2898
+ Vu.prototype.Token = au;
2892
2899
  function Cr(u) {
2893
2900
  switch (u) {
2894
2901
  case 10:
@@ -2935,26 +2942,26 @@ function Fr(u, e) {
2935
2942
  const r = u.pending.match(Dr);
2936
2943
  if (!r)
2937
2944
  return !1;
2938
- const a = r[1], l = u.md.linkify.matchAtStart(u.src.slice(t - a.length));
2945
+ const o = r[1], l = u.md.linkify.matchAtStart(u.src.slice(t - o.length));
2939
2946
  if (!l)
2940
2947
  return !1;
2941
- let o = l.url;
2942
- if (o.length <= a.length)
2948
+ let a = l.url;
2949
+ if (a.length <= o.length)
2943
2950
  return !1;
2944
- o = o.replace(/\*+$/, "");
2945
- const c = u.md.normalizeLink(o);
2951
+ a = a.replace(/\*+$/, "");
2952
+ const c = u.md.normalizeLink(a);
2946
2953
  if (!u.md.validateLink(c))
2947
2954
  return !1;
2948
2955
  if (!e) {
2949
- u.pending = u.pending.slice(0, -a.length);
2956
+ u.pending = u.pending.slice(0, -o.length);
2950
2957
  const i = u.push("link_open", "a", 1);
2951
2958
  i.attrs = [["href", c]], i.markup = "linkify", i.info = "auto";
2952
2959
  const f = u.push("text", "", 0);
2953
- f.content = u.md.normalizeLinkText(o);
2960
+ f.content = u.md.normalizeLinkText(a);
2954
2961
  const s = u.push("link_close", "a", -1);
2955
2962
  s.markup = "linkify", s.info = "auto";
2956
2963
  }
2957
- return u.pos += o.length - a.length, !0;
2964
+ return u.pos += a.length - o.length, !0;
2958
2965
  }
2959
2966
  function Ar(u, e) {
2960
2967
  let t = u.pos;
@@ -2964,10 +2971,10 @@ function Ar(u, e) {
2964
2971
  if (!e)
2965
2972
  if (n >= 0 && u.pending.charCodeAt(n) === 32)
2966
2973
  if (n >= 1 && u.pending.charCodeAt(n - 1) === 32) {
2967
- let a = n - 1;
2968
- for (; a >= 1 && u.pending.charCodeAt(a - 1) === 32; )
2969
- a--;
2970
- u.pending = u.pending.slice(0, a), u.push("hardbreak", "br", 0);
2974
+ let o = n - 1;
2975
+ for (; o >= 1 && u.pending.charCodeAt(o - 1) === 32; )
2976
+ o--;
2977
+ u.pending = u.pending.slice(0, o), u.push("hardbreak", "br", 0);
2971
2978
  } else
2972
2979
  u.pending = u.pending.slice(0, -1), u.push("softbreak", "br", 0);
2973
2980
  else
@@ -2993,15 +3000,15 @@ function wr(u, e) {
2993
3000
  t++;
2994
3001
  return u.pos = t, !0;
2995
3002
  }
2996
- let a = u.src[t];
3003
+ let o = u.src[t];
2997
3004
  if (r >= 55296 && r <= 56319 && t + 1 < n) {
2998
- const o = u.src.charCodeAt(t + 1);
2999
- o >= 56320 && o <= 57343 && (a += u.src[t + 1], t++);
3005
+ const a = u.src.charCodeAt(t + 1);
3006
+ a >= 56320 && a <= 57343 && (o += u.src[t + 1], t++);
3000
3007
  }
3001
- const l = "\\" + a;
3008
+ const l = "\\" + o;
3002
3009
  if (!e) {
3003
- const o = u.push("text_special", "", 0);
3004
- r < 256 && Te[r] !== 0 ? o.content = a : o.content = l, o.markup = l, o.info = "escape";
3010
+ const a = u.push("text_special", "", 0);
3011
+ r < 256 && Te[r] !== 0 ? a.content = o : a.content = l, a.markup = l, a.info = "escape";
3005
3012
  }
3006
3013
  return u.pos = t + 1, !0;
3007
3014
  }
@@ -3011,18 +3018,18 @@ function Tr(u, e) {
3011
3018
  return !1;
3012
3019
  const r = t;
3013
3020
  t++;
3014
- const a = u.posMax;
3015
- for (; t < a && u.src.charCodeAt(t) === 96; )
3021
+ const o = u.posMax;
3022
+ for (; t < o && u.src.charCodeAt(t) === 96; )
3016
3023
  t++;
3017
- const l = u.src.slice(r, t), o = l.length;
3018
- if (u.backticksScanned && (u.backticks[o] || 0) <= r)
3019
- return e || (u.pending += l), u.pos += o, !0;
3024
+ const l = u.src.slice(r, t), a = l.length;
3025
+ if (u.backticksScanned && (u.backticks[a] || 0) <= r)
3026
+ return e || (u.pending += l), u.pos += a, !0;
3020
3027
  let c = t, i;
3021
3028
  for (; (i = u.src.indexOf("`", c)) !== -1; ) {
3022
- for (c = i + 1; c < a && u.src.charCodeAt(c) === 96; )
3029
+ for (c = i + 1; c < o && u.src.charCodeAt(c) === 96; )
3023
3030
  c++;
3024
3031
  const f = c - i;
3025
- if (f === o) {
3032
+ if (f === a) {
3026
3033
  if (!e) {
3027
3034
  const s = u.push("code_inline", "code", 0);
3028
3035
  s.markup = l, s.content = u.src.slice(t, i).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
@@ -3031,21 +3038,21 @@ function Tr(u, e) {
3031
3038
  }
3032
3039
  u.backticks[f] = i;
3033
3040
  }
3034
- return u.backticksScanned = !0, e || (u.pending += l), u.pos += o, !0;
3041
+ return u.backticksScanned = !0, e || (u.pending += l), u.pos += a, !0;
3035
3042
  }
3036
3043
  function Sr(u, e) {
3037
3044
  const t = u.pos, n = u.src.charCodeAt(t);
3038
3045
  if (e || n !== 126)
3039
3046
  return !1;
3040
3047
  const r = u.scanDelims(u.pos, !0);
3041
- let a = r.length;
3048
+ let o = r.length;
3042
3049
  const l = String.fromCharCode(n);
3043
- if (a < 2)
3050
+ if (o < 2)
3044
3051
  return !1;
3045
- let o;
3046
- a % 2 && (o = u.push("text", "", 0), o.content = l, a--);
3047
- for (let c = 0; c < a; c += 2)
3048
- o = u.push("text", "", 0), o.content = l + l, u.delimiters.push({
3052
+ let a;
3053
+ o % 2 && (a = u.push("text", "", 0), a.content = l, o--);
3054
+ for (let c = 0; c < o; c += 2)
3055
+ a = u.push("text", "", 0), a.content = l + l, u.delimiters.push({
3049
3056
  marker: n,
3050
3057
  length: 0,
3051
3058
  // disable "rule of 3" length checks meant for emphasis
@@ -3059,19 +3066,19 @@ function Sr(u, e) {
3059
3066
  function Ke(u, e) {
3060
3067
  let t;
3061
3068
  const n = [], r = e.length;
3062
- for (let a = 0; a < r; a++) {
3063
- const l = e[a];
3069
+ for (let o = 0; o < r; o++) {
3070
+ const l = e[o];
3064
3071
  if (l.marker !== 126 || l.end === -1)
3065
3072
  continue;
3066
- const o = e[l.end];
3067
- t = u.tokens[l.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[o.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[o.token - 1].type === "text" && u.tokens[o.token - 1].content === "~" && n.push(o.token - 1);
3073
+ const a = e[l.end];
3074
+ t = u.tokens[l.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[a.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[a.token - 1].type === "text" && u.tokens[a.token - 1].content === "~" && n.push(a.token - 1);
3068
3075
  }
3069
3076
  for (; n.length; ) {
3070
- const a = n.pop();
3071
- let l = a + 1;
3077
+ const o = n.pop();
3078
+ let l = o + 1;
3072
3079
  for (; l < u.tokens.length && u.tokens[l].type === "s_close"; )
3073
3080
  l++;
3074
- l--, a !== l && (t = u.tokens[l], u.tokens[l] = u.tokens[a], u.tokens[a] = t);
3081
+ l--, o !== l && (t = u.tokens[l], u.tokens[l] = u.tokens[o], u.tokens[o] = t);
3075
3082
  }
3076
3083
  }
3077
3084
  function Ir(u) {
@@ -3089,7 +3096,7 @@ function Or(u, e) {
3089
3096
  if (e || n !== 95 && n !== 42)
3090
3097
  return !1;
3091
3098
  const r = u.scanDelims(u.pos, n === 42);
3092
- for (let a = 0; a < r.length; a++) {
3099
+ for (let o = 0; o < r.length; o++) {
3093
3100
  const l = u.push("text", "", 0);
3094
3101
  l.content = String.fromCharCode(n), u.delimiters.push({
3095
3102
  // Char code of the starting marker (number).
@@ -3120,12 +3127,12 @@ function Xe(u, e) {
3120
3127
  const r = e[n];
3121
3128
  if (r.marker !== 95 && r.marker !== 42 || r.end === -1)
3122
3129
  continue;
3123
- const a = e[r.end], l = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
3130
+ const o = e[r.end], l = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
3124
3131
  e[n - 1].marker === r.marker && e[n - 1].token === r.token - 1 && // check that last two markers are adjacent (we can safely assume they match)
3125
- e[r.end + 1].token === a.token + 1, o = String.fromCharCode(r.marker), c = u.tokens[r.token];
3126
- c.type = l ? "strong_open" : "em_open", c.tag = l ? "strong" : "em", c.nesting = 1, c.markup = l ? o + o : o, c.content = "";
3127
- const i = u.tokens[a.token];
3128
- i.type = l ? "strong_close" : "em_close", i.tag = l ? "strong" : "em", i.nesting = -1, i.markup = l ? o + o : o, i.content = "", l && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
3132
+ e[r.end + 1].token === o.token + 1, a = String.fromCharCode(r.marker), c = u.tokens[r.token];
3133
+ c.type = l ? "strong_open" : "em_open", c.tag = l ? "strong" : "em", c.nesting = 1, c.markup = l ? a + a : a, c.content = "";
3134
+ const i = u.tokens[o.token];
3135
+ i.type = l ? "strong_close" : "em_close", i.tag = l ? "strong" : "em", i.nesting = -1, i.markup = l ? a + a : a, i.content = "", l && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
3129
3136
  }
3130
3137
  }
3131
3138
  function Vr(u) {
@@ -3139,7 +3146,7 @@ const z0 = {
3139
3146
  postProcess: Vr
3140
3147
  };
3141
3148
  function $r(u, e) {
3142
- let t, n, r, a, l = "", o = "", c = u.pos, i = !0;
3149
+ let t, n, r, o, l = "", a = "", c = u.pos, i = !0;
3143
3150
  if (u.src.charCodeAt(u.pos) !== 91)
3144
3151
  return !1;
3145
3152
  const f = u.pos, s = u.posMax, p = u.pos + 1, m = u.md.helpers.parseLinkLabel(u, u.pos, !0);
@@ -3155,7 +3162,7 @@ function $r(u, e) {
3155
3162
  for (l = u.md.normalizeLink(r.str), u.md.validateLink(l) ? d = r.pos : l = "", c = d; d < s && (t = u.src.charCodeAt(d), !(!j(t) && t !== 10)); d++)
3156
3163
  ;
3157
3164
  if (r = u.md.helpers.parseLinkTitle(u.src, d, u.posMax), d < s && c !== d && r.ok)
3158
- for (o = r.str, d = r.pos; d < s && (t = u.src.charCodeAt(d), !(!j(t) && t !== 10)); d++)
3165
+ for (a = r.str, d = r.pos; d < s && (t = u.src.charCodeAt(d), !(!j(t) && t !== 10)); d++)
3159
3166
  ;
3160
3167
  }
3161
3168
  (d >= s || u.src.charCodeAt(d) !== 41) && (i = !0), d++;
@@ -3163,44 +3170,44 @@ function $r(u, e) {
3163
3170
  if (i) {
3164
3171
  if (typeof u.env.references > "u")
3165
3172
  return !1;
3166
- if (d < s && u.src.charCodeAt(d) === 91 ? (c = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(c, d++) : d = m + 1) : d = m + 1, n || (n = u.src.slice(p, m)), a = u.env.references[Gu(n)], !a)
3173
+ if (d < s && u.src.charCodeAt(d) === 91 ? (c = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(c, d++) : d = m + 1) : d = m + 1, n || (n = u.src.slice(p, m)), o = u.env.references[Gu(n)], !o)
3167
3174
  return u.pos = f, !1;
3168
- l = a.href, o = a.title;
3175
+ l = o.href, a = o.title;
3169
3176
  }
3170
3177
  if (!e) {
3171
3178
  u.pos = p, u.posMax = m;
3172
3179
  const w = u.push("link_open", "a", 1), $ = [["href", l]];
3173
- w.attrs = $, o && $.push(["title", o]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
3180
+ w.attrs = $, a && $.push(["title", a]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
3174
3181
  }
3175
3182
  return u.pos = d, u.posMax = s, !0;
3176
3183
  }
3177
3184
  function Rr(u, e) {
3178
- let t, n, r, a, l, o, c, i, f = "";
3185
+ let t, n, r, o, l, a, c, i, f = "";
3179
3186
  const s = u.pos, p = u.posMax;
3180
3187
  if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
3181
3188
  return !1;
3182
3189
  const m = u.pos + 2, d = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
3183
3190
  if (d < 0)
3184
3191
  return !1;
3185
- if (a = d + 1, a < p && u.src.charCodeAt(a) === 40) {
3186
- for (a++; a < p && (t = u.src.charCodeAt(a), !(!j(t) && t !== 10)); a++)
3192
+ if (o = d + 1, o < p && u.src.charCodeAt(o) === 40) {
3193
+ for (o++; o < p && (t = u.src.charCodeAt(o), !(!j(t) && t !== 10)); o++)
3187
3194
  ;
3188
- if (a >= p)
3195
+ if (o >= p)
3189
3196
  return !1;
3190
- for (i = a, o = u.md.helpers.parseLinkDestination(u.src, a, u.posMax), o.ok && (f = u.md.normalizeLink(o.str), u.md.validateLink(f) ? a = o.pos : f = ""), i = a; a < p && (t = u.src.charCodeAt(a), !(!j(t) && t !== 10)); a++)
3197
+ for (i = o, a = u.md.helpers.parseLinkDestination(u.src, o, u.posMax), a.ok && (f = u.md.normalizeLink(a.str), u.md.validateLink(f) ? o = a.pos : f = ""), i = o; o < p && (t = u.src.charCodeAt(o), !(!j(t) && t !== 10)); o++)
3191
3198
  ;
3192
- if (o = u.md.helpers.parseLinkTitle(u.src, a, u.posMax), a < p && i !== a && o.ok)
3193
- for (c = o.str, a = o.pos; a < p && (t = u.src.charCodeAt(a), !(!j(t) && t !== 10)); a++)
3199
+ if (a = u.md.helpers.parseLinkTitle(u.src, o, u.posMax), o < p && i !== o && a.ok)
3200
+ for (c = a.str, o = a.pos; o < p && (t = u.src.charCodeAt(o), !(!j(t) && t !== 10)); o++)
3194
3201
  ;
3195
3202
  else
3196
3203
  c = "";
3197
- if (a >= p || u.src.charCodeAt(a) !== 41)
3204
+ if (o >= p || u.src.charCodeAt(o) !== 41)
3198
3205
  return u.pos = s, !1;
3199
- a++;
3206
+ o++;
3200
3207
  } else {
3201
3208
  if (typeof u.env.references > "u")
3202
3209
  return !1;
3203
- if (a < p && u.src.charCodeAt(a) === 91 ? (i = a + 1, a = u.md.helpers.parseLinkLabel(u, a), a >= 0 ? r = u.src.slice(i, a++) : a = d + 1) : a = d + 1, r || (r = u.src.slice(m, d)), l = u.env.references[Gu(r)], !l)
3210
+ if (o < p && u.src.charCodeAt(o) === 91 ? (i = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(i, o++) : o = d + 1) : o = d + 1, r || (r = u.src.slice(m, d)), l = u.env.references[Gu(r)], !l)
3204
3211
  return u.pos = s, !1;
3205
3212
  f = l.href, c = l.title;
3206
3213
  }
@@ -3216,7 +3223,7 @@ function Rr(u, e) {
3216
3223
  const $ = u.push("image", "img", 0), A = [["src", f], ["alt", ""]];
3217
3224
  $.attrs = A, $.children = w, $.content = n, c && A.push(["title", c]);
3218
3225
  }
3219
- return u.pos = a, u.posMax = p, !0;
3226
+ return u.pos = o, u.posMax = p, !0;
3220
3227
  }
3221
3228
  const Mr = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, qr = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
3222
3229
  function Br(u, e) {
@@ -3233,34 +3240,34 @@ function Br(u, e) {
3233
3240
  if (l === 62)
3234
3241
  break;
3235
3242
  }
3236
- const a = u.src.slice(n + 1, t);
3237
- if (qr.test(a)) {
3238
- const l = u.md.normalizeLink(a);
3243
+ const o = u.src.slice(n + 1, t);
3244
+ if (qr.test(o)) {
3245
+ const l = u.md.normalizeLink(o);
3239
3246
  if (!u.md.validateLink(l))
3240
3247
  return !1;
3241
3248
  if (!e) {
3242
- const o = u.push("link_open", "a", 1);
3243
- o.attrs = [["href", l]], o.markup = "autolink", o.info = "auto";
3249
+ const a = u.push("link_open", "a", 1);
3250
+ a.attrs = [["href", l]], a.markup = "autolink", a.info = "auto";
3244
3251
  const c = u.push("text", "", 0);
3245
- c.content = u.md.normalizeLinkText(a);
3252
+ c.content = u.md.normalizeLinkText(o);
3246
3253
  const i = u.push("link_close", "a", -1);
3247
3254
  i.markup = "autolink", i.info = "auto";
3248
3255
  }
3249
- return u.pos += a.length + 2, !0;
3256
+ return u.pos += o.length + 2, !0;
3250
3257
  }
3251
- if (Mr.test(a)) {
3252
- const l = u.md.normalizeLink("mailto:" + a);
3258
+ if (Mr.test(o)) {
3259
+ const l = u.md.normalizeLink("mailto:" + o);
3253
3260
  if (!u.md.validateLink(l))
3254
3261
  return !1;
3255
3262
  if (!e) {
3256
- const o = u.push("link_open", "a", 1);
3257
- o.attrs = [["href", l]], o.markup = "autolink", o.info = "auto";
3263
+ const a = u.push("link_open", "a", 1);
3264
+ a.attrs = [["href", l]], a.markup = "autolink", a.info = "auto";
3258
3265
  const c = u.push("text", "", 0);
3259
- c.content = u.md.normalizeLinkText(a);
3266
+ c.content = u.md.normalizeLinkText(o);
3260
3267
  const i = u.push("link_close", "a", -1);
3261
3268
  i.markup = "autolink", i.info = "auto";
3262
3269
  }
3263
- return u.pos += a.length + 2, !0;
3270
+ return u.pos += o.length + 2, !0;
3264
3271
  }
3265
3272
  return !1;
3266
3273
  }
@@ -3283,14 +3290,14 @@ function Ur(u, e) {
3283
3290
  const r = u.src.charCodeAt(n + 1);
3284
3291
  if (r !== 33 && r !== 63 && r !== 47 && !Pr(r))
3285
3292
  return !1;
3286
- const a = u.src.slice(n).match(xr);
3287
- if (!a)
3293
+ const o = u.src.slice(n).match(xr);
3294
+ if (!o)
3288
3295
  return !1;
3289
3296
  if (!e) {
3290
3297
  const l = u.push("html_inline", "", 0);
3291
- l.content = a[0], zr(l.content) && u.linkLevel++, Lr(l.content) && u.linkLevel--;
3298
+ l.content = o[0], zr(l.content) && u.linkLevel++, Lr(l.content) && u.linkLevel--;
3292
3299
  }
3293
- return u.pos += a[0].length, !0;
3300
+ return u.pos += o[0].length, !0;
3294
3301
  }
3295
3302
  const Nr = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, jr = /^&([a-z][a-z0-9]{1,31});/i;
3296
3303
  function Zr(u, e) {
@@ -3298,24 +3305,24 @@ function Zr(u, e) {
3298
3305
  if (u.src.charCodeAt(t) !== 38 || t + 1 >= n)
3299
3306
  return !1;
3300
3307
  if (u.src.charCodeAt(t + 1) === 35) {
3301
- const a = u.src.slice(t).match(Nr);
3302
- if (a) {
3308
+ const o = u.src.slice(t).match(Nr);
3309
+ if (o) {
3303
3310
  if (!e) {
3304
- const l = a[1][0].toLowerCase() === "x" ? parseInt(a[1].slice(1), 16) : parseInt(a[1], 10), o = u.push("text_special", "", 0);
3305
- o.content = Ae(l) ? Lu(l) : Lu(65533), o.markup = a[0], o.info = "entity";
3311
+ const l = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), a = u.push("text_special", "", 0);
3312
+ a.content = Ae(l) ? Lu(l) : Lu(65533), a.markup = o[0], a.info = "entity";
3306
3313
  }
3307
- return u.pos += a[0].length, !0;
3314
+ return u.pos += o[0].length, !0;
3308
3315
  }
3309
3316
  } else {
3310
- const a = u.src.slice(t).match(jr);
3311
- if (a) {
3312
- const l = I0(a[0]);
3313
- if (l !== a[0]) {
3317
+ const o = u.src.slice(t).match(jr);
3318
+ if (o) {
3319
+ const l = I0(o[0]);
3320
+ if (l !== o[0]) {
3314
3321
  if (!e) {
3315
- const o = u.push("text_special", "", 0);
3316
- o.content = l, o.markup = a[0], o.info = "entity";
3322
+ const a = u.push("text_special", "", 0);
3323
+ a.content = l, a.markup = o[0], a.info = "entity";
3317
3324
  }
3318
- return u.pos += a[0].length, !0;
3325
+ return u.pos += o[0].length, !0;
3319
3326
  }
3320
3327
  }
3321
3328
  }
@@ -3326,26 +3333,26 @@ function u0(u) {
3326
3333
  if (!t)
3327
3334
  return;
3328
3335
  let n = 0, r = -2;
3329
- const a = [];
3336
+ const o = [];
3330
3337
  for (let l = 0; l < t; l++) {
3331
- const o = u[l];
3332
- if (a.push(0), (u[n].marker !== o.marker || r !== o.token - 1) && (n = l), r = o.token, o.length = o.length || 0, !o.close)
3338
+ const a = u[l];
3339
+ if (o.push(0), (u[n].marker !== a.marker || r !== a.token - 1) && (n = l), r = a.token, a.length = a.length || 0, !a.close)
3333
3340
  continue;
3334
- e.hasOwnProperty(o.marker) || (e[o.marker] = [-1, -1, -1, -1, -1, -1]);
3335
- const c = e[o.marker][(o.open ? 3 : 0) + o.length % 3];
3336
- let i = n - a[n] - 1, f = i;
3337
- for (; i > c; i -= a[i] + 1) {
3341
+ e.hasOwnProperty(a.marker) || (e[a.marker] = [-1, -1, -1, -1, -1, -1]);
3342
+ const c = e[a.marker][(a.open ? 3 : 0) + a.length % 3];
3343
+ let i = n - o[n] - 1, f = i;
3344
+ for (; i > c; i -= o[i] + 1) {
3338
3345
  const s = u[i];
3339
- if (s.marker === o.marker && s.open && s.end < 0) {
3346
+ if (s.marker === a.marker && s.open && s.end < 0) {
3340
3347
  let p = !1;
3341
- if ((s.close || o.open) && (s.length + o.length) % 3 === 0 && (s.length % 3 !== 0 || o.length % 3 !== 0) && (p = !0), !p) {
3342
- const m = i > 0 && !u[i - 1].open ? a[i - 1] + 1 : 0;
3343
- a[l] = l - i + m, a[i] = m, o.open = !1, s.end = l, s.close = !1, f = -1, r = -2;
3348
+ if ((s.close || a.open) && (s.length + a.length) % 3 === 0 && (s.length % 3 !== 0 || a.length % 3 !== 0) && (p = !0), !p) {
3349
+ const m = i > 0 && !u[i - 1].open ? o[i - 1] + 1 : 0;
3350
+ o[l] = l - i + m, o[i] = m, a.open = !1, s.end = l, s.close = !1, f = -1, r = -2;
3344
3351
  break;
3345
3352
  }
3346
3353
  }
3347
3354
  }
3348
- f !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = f);
3355
+ f !== -1 && (e[a.marker][(a.open ? 3 : 0) + (a.length || 0) % 3] = f);
3349
3356
  }
3350
3357
  }
3351
3358
  function Hr(u) {
@@ -3356,9 +3363,9 @@ function Hr(u) {
3356
3363
  }
3357
3364
  function Gr(u) {
3358
3365
  let e, t, n = 0;
3359
- const r = u.tokens, a = u.tokens.length;
3360
- for (e = t = 0; e < a; e++)
3361
- r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < a && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
3366
+ const r = u.tokens, o = u.tokens.length;
3367
+ for (e = t = 0; e < o; e++)
3368
+ r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < o && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
3362
3369
  e !== t && (r.length = t);
3363
3370
  }
3364
3371
  const ne = [
@@ -3391,32 +3398,32 @@ function $u() {
3391
3398
  this.ruler2.push(re[u][0], re[u][1]);
3392
3399
  }
3393
3400
  $u.prototype.skipToken = function(u) {
3394
- const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, a = u.cache;
3395
- if (typeof a[e] < "u") {
3396
- u.pos = a[e];
3401
+ const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
3402
+ if (typeof o[e] < "u") {
3403
+ u.pos = o[e];
3397
3404
  return;
3398
3405
  }
3399
3406
  let l = !1;
3400
3407
  if (u.level < r) {
3401
- for (let o = 0; o < n; o++)
3402
- if (u.level++, l = t[o](u, !0), u.level--, l) {
3408
+ for (let a = 0; a < n; a++)
3409
+ if (u.level++, l = t[a](u, !0), u.level--, l) {
3403
3410
  if (e >= u.pos)
3404
3411
  throw new Error("inline rule didn't increment state.pos");
3405
3412
  break;
3406
3413
  }
3407
3414
  } else
3408
3415
  u.pos = u.posMax;
3409
- l || u.pos++, a[e] = u.pos;
3416
+ l || u.pos++, o[e] = u.pos;
3410
3417
  };
3411
3418
  $u.prototype.tokenize = function(u) {
3412
3419
  const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
3413
3420
  for (; u.pos < n; ) {
3414
- const a = u.pos;
3421
+ const o = u.pos;
3415
3422
  let l = !1;
3416
3423
  if (u.level < r) {
3417
- for (let o = 0; o < t; o++)
3418
- if (l = e[o](u, !1), l) {
3419
- if (a >= u.pos)
3424
+ for (let a = 0; a < t; a++)
3425
+ if (l = e[a](u, !1), l) {
3426
+ if (o >= u.pos)
3420
3427
  throw new Error("inline rule didn't increment state.pos");
3421
3428
  break;
3422
3429
  }
@@ -3433,9 +3440,9 @@ $u.prototype.tokenize = function(u) {
3433
3440
  $u.prototype.parse = function(u, e, t, n) {
3434
3441
  const r = new this.State(u, e, t, n);
3435
3442
  this.tokenize(r);
3436
- const a = this.ruler2.getRules(""), l = a.length;
3437
- for (let o = 0; o < l; o++)
3438
- a[o](r);
3443
+ const o = this.ruler2.getRules(""), l = o.length;
3444
+ for (let a = 0; a < l; a++)
3445
+ o[a](r);
3439
3446
  };
3440
3447
  $u.prototype.State = Vu;
3441
3448
  function Jr(u) {
@@ -3485,7 +3492,7 @@ function Xr(u) {
3485
3492
  return e || L0.hasOwnProperty(t);
3486
3493
  }, !1);
3487
3494
  }
3488
- const ua = {
3495
+ const uo = {
3489
3496
  "http:": {
3490
3497
  validate: function(u, e, t) {
3491
3498
  const n = u.slice(e);
@@ -3517,11 +3524,11 @@ const ua = {
3517
3524
  )), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
3518
3525
  }
3519
3526
  }
3520
- }, ea = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", ta = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3521
- function na(u) {
3527
+ }, eo = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", to = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3528
+ function no(u) {
3522
3529
  u.__index__ = -1, u.__text_cache__ = "";
3523
3530
  }
3524
- function ra(u) {
3531
+ function ro(u) {
3525
3532
  return function(e, t) {
3526
3533
  const n = e.slice(t);
3527
3534
  return u.test(n) ? n.match(u)[0].length : 0;
@@ -3534,53 +3541,53 @@ function t0() {
3534
3541
  }
3535
3542
  function Pu(u) {
3536
3543
  const e = u.re = Jr(u.__opts__), t = u.__tlds__.slice();
3537
- u.onCompile(), u.__tlds_replaced__ || t.push(ea), t.push(e.src_xn), e.src_tlds = t.join("|");
3538
- function n(o) {
3539
- return o.replace("%TLDS%", e.src_tlds);
3544
+ u.onCompile(), u.__tlds_replaced__ || t.push(eo), t.push(e.src_xn), e.src_tlds = t.join("|");
3545
+ function n(a) {
3546
+ return a.replace("%TLDS%", e.src_tlds);
3540
3547
  }
3541
3548
  e.email_fuzzy = RegExp(n(e.tpl_email_fuzzy), "i"), e.link_fuzzy = RegExp(n(e.tpl_link_fuzzy), "i"), e.link_no_ip_fuzzy = RegExp(n(e.tpl_link_no_ip_fuzzy), "i"), e.host_fuzzy_test = RegExp(n(e.tpl_host_fuzzy_test), "i");
3542
3549
  const r = [];
3543
3550
  u.__compiled__ = {};
3544
- function a(o, c) {
3545
- throw new Error('(LinkifyIt) Invalid schema "' + o + '": ' + c);
3551
+ function o(a, c) {
3552
+ throw new Error('(LinkifyIt) Invalid schema "' + a + '": ' + c);
3546
3553
  }
3547
- Object.keys(u.__schemas__).forEach(function(o) {
3548
- const c = u.__schemas__[o];
3554
+ Object.keys(u.__schemas__).forEach(function(a) {
3555
+ const c = u.__schemas__[a];
3549
3556
  if (c === null)
3550
3557
  return;
3551
3558
  const i = { validate: null, link: null };
3552
- if (u.__compiled__[o] = i, Qr(c)) {
3553
- Yr(c.validate) ? i.validate = ra(c.validate) : e0(c.validate) ? i.validate = c.validate : a(o, c), e0(c.normalize) ? i.normalize = c.normalize : c.normalize ? a(o, c) : i.normalize = t0();
3559
+ if (u.__compiled__[a] = i, Qr(c)) {
3560
+ Yr(c.validate) ? i.validate = ro(c.validate) : e0(c.validate) ? i.validate = c.validate : o(a, c), e0(c.normalize) ? i.normalize = c.normalize : c.normalize ? o(a, c) : i.normalize = t0();
3554
3561
  return;
3555
3562
  }
3556
3563
  if (Wr(c)) {
3557
- r.push(o);
3564
+ r.push(a);
3558
3565
  return;
3559
3566
  }
3560
- a(o, c);
3561
- }), r.forEach(function(o) {
3562
- u.__compiled__[u.__schemas__[o]] && (u.__compiled__[o].validate = u.__compiled__[u.__schemas__[o]].validate, u.__compiled__[o].normalize = u.__compiled__[u.__schemas__[o]].normalize);
3567
+ o(a, c);
3568
+ }), r.forEach(function(a) {
3569
+ u.__compiled__[u.__schemas__[a]] && (u.__compiled__[a].validate = u.__compiled__[u.__schemas__[a]].validate, u.__compiled__[a].normalize = u.__compiled__[u.__schemas__[a]].normalize);
3563
3570
  }), u.__compiled__[""] = { validate: null, normalize: t0() };
3564
- const l = Object.keys(u.__compiled__).filter(function(o) {
3565
- return o.length > 0 && u.__compiled__[o];
3571
+ const l = Object.keys(u.__compiled__).filter(function(a) {
3572
+ return a.length > 0 && u.__compiled__[a];
3566
3573
  }).map(Kr).join("|");
3567
3574
  u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + l + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + l + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
3568
3575
  "(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
3569
3576
  "i"
3570
- ), na(u);
3577
+ ), no(u);
3571
3578
  }
3572
- function aa(u, e) {
3579
+ function oo(u, e) {
3573
3580
  const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
3574
3581
  this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
3575
3582
  }
3576
3583
  function ce(u, e) {
3577
- const t = new aa(u, e);
3584
+ const t = new oo(u, e);
3578
3585
  return u.__compiled__[t.schema].normalize(t, u), t;
3579
3586
  }
3580
3587
  function ru(u, e) {
3581
3588
  if (!(this instanceof ru))
3582
3589
  return new ru(u, e);
3583
- e || Xr(u) && (e = u, u = {}), this.__opts__ = ie({}, L0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = ie({}, ua, u), this.__compiled__ = {}, this.__tlds__ = ta, this.__tlds_replaced__ = !1, this.re = {}, Pu(this);
3590
+ e || Xr(u) && (e = u, u = {}), this.__opts__ = ie({}, L0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = ie({}, uo, u), this.__compiled__ = {}, this.__tlds__ = to, this.__tlds_replaced__ = !1, this.re = {}, Pu(this);
3584
3591
  }
3585
3592
  ru.prototype.add = function(e, t) {
3586
3593
  return this.__schemas__[e] = t, Pu(this), this;
@@ -3591,15 +3598,15 @@ ru.prototype.set = function(e) {
3591
3598
  ru.prototype.test = function(e) {
3592
3599
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
3593
3600
  return !1;
3594
- let t, n, r, a, l, o, c, i, f;
3601
+ let t, n, r, o, l, a, c, i, f;
3595
3602
  if (this.re.schema_test.test(e)) {
3596
3603
  for (c = this.re.schema_search, c.lastIndex = 0; (t = c.exec(e)) !== null; )
3597
- if (a = this.testSchemaAt(e, t[2], c.lastIndex), a) {
3598
- this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + a;
3604
+ if (o = this.testSchemaAt(e, t[2], c.lastIndex), o) {
3605
+ this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + o;
3599
3606
  break;
3600
3607
  }
3601
3608
  }
3602
- return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (i = e.search(this.re.host_fuzzy_test), i >= 0 && (this.__index__ < 0 || i < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (l = n.index + n[1].length, (this.__index__ < 0 || l < this.__index__) && (this.__schema__ = "", this.__index__ = l, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (f = e.indexOf("@"), f >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (l = r.index + r[1].length, o = r.index + r[0].length, (this.__index__ < 0 || l < this.__index__ || l === this.__index__ && o > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = l, this.__last_index__ = o))), this.__index__ >= 0;
3609
+ return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (i = e.search(this.re.host_fuzzy_test), i >= 0 && (this.__index__ < 0 || i < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (l = n.index + n[1].length, (this.__index__ < 0 || l < this.__index__) && (this.__schema__ = "", this.__index__ = l, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (f = e.indexOf("@"), f >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (l = r.index + r[1].length, a = r.index + r[0].length, (this.__index__ < 0 || l < this.__index__ || l === this.__index__ && a > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = l, this.__last_index__ = a))), this.__index__ >= 0;
3603
3610
  };
3604
3611
  ru.prototype.pretest = function(e) {
3605
3612
  return this.re.pretest.test(e);
@@ -3626,8 +3633,8 @@ ru.prototype.matchAtStart = function(e) {
3626
3633
  return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, ce(this, 0)) : null;
3627
3634
  };
3628
3635
  ru.prototype.tlds = function(e, t) {
3629
- return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, a) {
3630
- return n !== a[r - 1];
3636
+ return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
3637
+ return n !== o[r - 1];
3631
3638
  }).reverse(), Pu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Pu(this), this);
3632
3639
  };
3633
3640
  ru.prototype.normalize = function(e) {
@@ -3635,15 +3642,15 @@ ru.prototype.normalize = function(e) {
3635
3642
  };
3636
3643
  ru.prototype.onCompile = function() {
3637
3644
  };
3638
- const yu = 2147483647, iu = 36, Se = 1, Iu = 26, oa = 38, la = 700, P0 = 72, U0 = 128, N0 = "-", ia = /^xn--/, ca = /[^\0-\x7F]/, sa = /[\x2E\u3002\uFF0E\uFF61]/g, da = {
3645
+ const yu = 2147483647, iu = 36, Se = 1, Iu = 26, ao = 38, lo = 700, P0 = 72, U0 = 128, N0 = "-", io = /^xn--/, co = /[^\0-\x7F]/, so = /[\x2E\u3002\uFF0E\uFF61]/g, fo = {
3639
3646
  overflow: "Overflow: input needs wider integers to process",
3640
3647
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3641
3648
  "invalid-input": "Invalid input"
3642
- }, ae = iu - Se, cu = Math.floor, oe = String.fromCharCode;
3649
+ }, oe = iu - Se, cu = Math.floor, ae = String.fromCharCode;
3643
3650
  function pu(u) {
3644
- throw new RangeError(da[u]);
3651
+ throw new RangeError(fo[u]);
3645
3652
  }
3646
- function fa(u, e) {
3653
+ function po(u, e) {
3647
3654
  const t = [];
3648
3655
  let n = u.length;
3649
3656
  for (; n--; )
@@ -3653,9 +3660,9 @@ function fa(u, e) {
3653
3660
  function j0(u, e) {
3654
3661
  const t = u.split("@");
3655
3662
  let n = "";
3656
- t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(sa, ".");
3657
- const r = u.split("."), a = fa(r, e).join(".");
3658
- return n + a;
3663
+ t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(so, ".");
3664
+ const r = u.split("."), o = po(r, e).join(".");
3665
+ return n + o;
3659
3666
  }
3660
3667
  function Z0(u) {
3661
3668
  const e = [];
@@ -3664,83 +3671,83 @@ function Z0(u) {
3664
3671
  for (; t < n; ) {
3665
3672
  const r = u.charCodeAt(t++);
3666
3673
  if (r >= 55296 && r <= 56319 && t < n) {
3667
- const a = u.charCodeAt(t++);
3668
- (a & 64512) == 56320 ? e.push(((r & 1023) << 10) + (a & 1023) + 65536) : (e.push(r), t--);
3674
+ const o = u.charCodeAt(t++);
3675
+ (o & 64512) == 56320 ? e.push(((r & 1023) << 10) + (o & 1023) + 65536) : (e.push(r), t--);
3669
3676
  } else
3670
3677
  e.push(r);
3671
3678
  }
3672
3679
  return e;
3673
3680
  }
3674
- const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3681
+ const bo = (u) => String.fromCodePoint(...u), ho = function(u) {
3675
3682
  return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : iu;
3676
3683
  }, n0 = function(u, e) {
3677
3684
  return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
3678
3685
  }, H0 = function(u, e, t) {
3679
3686
  let n = 0;
3680
- for (u = t ? cu(u / la) : u >> 1, u += cu(u / e); u > ae * Iu >> 1; n += iu)
3681
- u = cu(u / ae);
3682
- return cu(n + (ae + 1) * u / (u + oa));
3687
+ for (u = t ? cu(u / lo) : u >> 1, u += cu(u / e); u > oe * Iu >> 1; n += iu)
3688
+ u = cu(u / oe);
3689
+ return cu(n + (oe + 1) * u / (u + ao));
3683
3690
  }, G0 = function(u) {
3684
3691
  const e = [], t = u.length;
3685
- let n = 0, r = U0, a = P0, l = u.lastIndexOf(N0);
3692
+ let n = 0, r = U0, o = P0, l = u.lastIndexOf(N0);
3686
3693
  l < 0 && (l = 0);
3687
- for (let o = 0; o < l; ++o)
3688
- u.charCodeAt(o) >= 128 && pu("not-basic"), e.push(u.charCodeAt(o));
3689
- for (let o = l > 0 ? l + 1 : 0; o < t; ) {
3694
+ for (let a = 0; a < l; ++a)
3695
+ u.charCodeAt(a) >= 128 && pu("not-basic"), e.push(u.charCodeAt(a));
3696
+ for (let a = l > 0 ? l + 1 : 0; a < t; ) {
3690
3697
  const c = n;
3691
3698
  for (let f = 1, s = iu; ; s += iu) {
3692
- o >= t && pu("invalid-input");
3693
- const p = ba(u.charCodeAt(o++));
3699
+ a >= t && pu("invalid-input");
3700
+ const p = ho(u.charCodeAt(a++));
3694
3701
  p >= iu && pu("invalid-input"), p > cu((yu - n) / f) && pu("overflow"), n += p * f;
3695
- const m = s <= a ? Se : s >= a + Iu ? Iu : s - a;
3702
+ const m = s <= o ? Se : s >= o + Iu ? Iu : s - o;
3696
3703
  if (p < m)
3697
3704
  break;
3698
3705
  const d = iu - m;
3699
3706
  f > cu(yu / d) && pu("overflow"), f *= d;
3700
3707
  }
3701
3708
  const i = e.length + 1;
3702
- a = H0(n - c, i, c == 0), cu(n / i) > yu - r && pu("overflow"), r += cu(n / i), n %= i, e.splice(n++, 0, r);
3709
+ o = H0(n - c, i, c == 0), cu(n / i) > yu - r && pu("overflow"), r += cu(n / i), n %= i, e.splice(n++, 0, r);
3703
3710
  }
3704
3711
  return String.fromCodePoint(...e);
3705
3712
  }, J0 = function(u) {
3706
3713
  const e = [];
3707
3714
  u = Z0(u);
3708
3715
  const t = u.length;
3709
- let n = U0, r = 0, a = P0;
3716
+ let n = U0, r = 0, o = P0;
3710
3717
  for (const c of u)
3711
- c < 128 && e.push(oe(c));
3718
+ c < 128 && e.push(ae(c));
3712
3719
  const l = e.length;
3713
- let o = l;
3714
- for (l && e.push(N0); o < t; ) {
3720
+ let a = l;
3721
+ for (l && e.push(N0); a < t; ) {
3715
3722
  let c = yu;
3716
3723
  for (const f of u)
3717
3724
  f >= n && f < c && (c = f);
3718
- const i = o + 1;
3725
+ const i = a + 1;
3719
3726
  c - n > cu((yu - r) / i) && pu("overflow"), r += (c - n) * i, n = c;
3720
3727
  for (const f of u)
3721
3728
  if (f < n && ++r > yu && pu("overflow"), f === n) {
3722
3729
  let s = r;
3723
3730
  for (let p = iu; ; p += iu) {
3724
- const m = p <= a ? Se : p >= a + Iu ? Iu : p - a;
3731
+ const m = p <= o ? Se : p >= o + Iu ? Iu : p - o;
3725
3732
  if (s < m)
3726
3733
  break;
3727
3734
  const d = s - m, w = iu - m;
3728
3735
  e.push(
3729
- oe(n0(m + d % w, 0))
3736
+ ae(n0(m + d % w, 0))
3730
3737
  ), s = cu(d / w);
3731
3738
  }
3732
- e.push(oe(n0(s, 0))), a = H0(r, i, o === l), r = 0, ++o;
3739
+ e.push(ae(n0(s, 0))), o = H0(r, i, a === l), r = 0, ++a;
3733
3740
  }
3734
3741
  ++r, ++n;
3735
3742
  }
3736
3743
  return e.join("");
3737
- }, ha = function(u) {
3744
+ }, mo = function(u) {
3738
3745
  return j0(u, function(e) {
3739
- return ia.test(e) ? G0(e.slice(4).toLowerCase()) : e;
3746
+ return io.test(e) ? G0(e.slice(4).toLowerCase()) : e;
3740
3747
  });
3741
- }, ma = function(u) {
3748
+ }, xo = function(u) {
3742
3749
  return j0(u, function(e) {
3743
- return ca.test(e) ? "xn--" + J0(e) : e;
3750
+ return co.test(e) ? "xn--" + J0(e) : e;
3744
3751
  });
3745
3752
  }, W0 = {
3746
3753
  /**
@@ -3758,13 +3765,13 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3758
3765
  */
3759
3766
  ucs2: {
3760
3767
  decode: Z0,
3761
- encode: pa
3768
+ encode: bo
3762
3769
  },
3763
3770
  decode: G0,
3764
3771
  encode: J0,
3765
- toASCII: ma,
3766
- toUnicode: ha
3767
- }, xa = {
3772
+ toASCII: xo,
3773
+ toUnicode: mo
3774
+ }, _o = {
3768
3775
  options: {
3769
3776
  // Enable HTML tags in source
3770
3777
  html: !1,
@@ -3800,7 +3807,7 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3800
3807
  block: {},
3801
3808
  inline: {}
3802
3809
  }
3803
- }, _a = {
3810
+ }, go = {
3804
3811
  options: {
3805
3812
  // Enable HTML tags in source
3806
3813
  html: !1,
@@ -3855,7 +3862,7 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3855
3862
  ]
3856
3863
  }
3857
3864
  }
3858
- }, ga = {
3865
+ }, ko = {
3859
3866
  options: {
3860
3867
  // Enable HTML tags in source
3861
3868
  html: !0,
@@ -3929,17 +3936,17 @@ const pa = (u) => String.fromCodePoint(...u), ba = function(u) {
3929
3936
  ]
3930
3937
  }
3931
3938
  }
3932
- }, ka = {
3933
- default: xa,
3934
- zero: _a,
3935
- commonmark: ga
3936
- }, ya = /^(vbscript|javascript|file|data):/, va = /^data:image\/(gif|png|jpeg|webp);/;
3937
- function Ca(u) {
3939
+ }, yo = {
3940
+ default: _o,
3941
+ zero: go,
3942
+ commonmark: ko
3943
+ }, vo = /^(vbscript|javascript|file|data):/, Co = /^data:image\/(gif|png|jpeg|webp);/;
3944
+ function Eo(u) {
3938
3945
  const e = u.trim().toLowerCase();
3939
- return ya.test(e) ? va.test(e) : !0;
3946
+ return vo.test(e) ? Co.test(e) : !0;
3940
3947
  }
3941
3948
  const Q0 = ["http:", "https:", "mailto:"];
3942
- function Ea(u) {
3949
+ function Do(u) {
3943
3950
  const e = Ee(u, !0);
3944
3951
  if (e.hostname && (!e.protocol || Q0.indexOf(e.protocol) >= 0))
3945
3952
  try {
@@ -3948,7 +3955,7 @@ function Ea(u) {
3948
3955
  }
3949
3956
  return Ou(Ce(e));
3950
3957
  }
3951
- function Da(u) {
3958
+ function Fo(u) {
3952
3959
  const e = Ee(u, !0);
3953
3960
  if (e.hostname && (!e.protocol || Q0.indexOf(e.protocol) >= 0))
3954
3961
  try {
@@ -3957,19 +3964,19 @@ function Da(u) {
3957
3964
  }
3958
3965
  return Cu(Ce(e), Cu.defaultChars + "%");
3959
3966
  }
3960
- function au(u, e) {
3961
- if (!(this instanceof au))
3962
- return new au(u, e);
3963
- e || Fe(u) || (e = u || {}, u = "default"), this.inline = new $u(), this.block = new Ju(), this.core = new we(), this.renderer = new Fu(), this.linkify = new ru(), this.validateLink = Ca, this.normalizeLink = Ea, this.normalizeLinkText = Da, this.utils = An, this.helpers = Hu({}, In), this.options = {}, this.configure(u), e && this.set(e);
3967
+ function ou(u, e) {
3968
+ if (!(this instanceof ou))
3969
+ return new ou(u, e);
3970
+ e || Fe(u) || (e = u || {}, u = "default"), this.inline = new $u(), this.block = new Ju(), this.core = new we(), this.renderer = new Fu(), this.linkify = new ru(), this.validateLink = Eo, this.normalizeLink = Do, this.normalizeLinkText = Fo, this.utils = An, this.helpers = Hu({}, In), this.options = {}, this.configure(u), e && this.set(e);
3964
3971
  }
3965
- au.prototype.set = function(u) {
3972
+ ou.prototype.set = function(u) {
3966
3973
  return Hu(this.options, u), this;
3967
3974
  };
3968
- au.prototype.configure = function(u) {
3975
+ ou.prototype.configure = function(u) {
3969
3976
  const e = this;
3970
3977
  if (Fe(u)) {
3971
3978
  const t = u;
3972
- if (u = ka[t], !u)
3979
+ if (u = yo[t], !u)
3973
3980
  throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
3974
3981
  }
3975
3982
  if (!u)
@@ -3978,7 +3985,7 @@ au.prototype.configure = function(u) {
3978
3985
  u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
3979
3986
  }), this;
3980
3987
  };
3981
- au.prototype.enable = function(u, e) {
3988
+ ou.prototype.enable = function(u, e) {
3982
3989
  let t = [];
3983
3990
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3984
3991
  t = t.concat(this[r].ruler.enable(u, !0));
@@ -3990,7 +3997,7 @@ au.prototype.enable = function(u, e) {
3990
3997
  throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
3991
3998
  return this;
3992
3999
  };
3993
- au.prototype.disable = function(u, e) {
4000
+ ou.prototype.disable = function(u, e) {
3994
4001
  let t = [];
3995
4002
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3996
4003
  t = t.concat(this[r].ruler.disable(u, !0));
@@ -4002,27 +4009,27 @@ au.prototype.disable = function(u, e) {
4002
4009
  throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
4003
4010
  return this;
4004
4011
  };
4005
- au.prototype.use = function(u) {
4012
+ ou.prototype.use = function(u) {
4006
4013
  const e = [this].concat(Array.prototype.slice.call(arguments, 1));
4007
4014
  return u.apply(u, e), this;
4008
4015
  };
4009
- au.prototype.parse = function(u, e) {
4016
+ ou.prototype.parse = function(u, e) {
4010
4017
  if (typeof u != "string")
4011
4018
  throw new Error("Input data should be a String");
4012
4019
  const t = new this.core.State(u, this, e);
4013
4020
  return this.core.process(t), t.tokens;
4014
4021
  };
4015
- au.prototype.render = function(u, e) {
4022
+ ou.prototype.render = function(u, e) {
4016
4023
  return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
4017
4024
  };
4018
- au.prototype.parseInline = function(u, e) {
4025
+ ou.prototype.parseInline = function(u, e) {
4019
4026
  const t = new this.core.State(u, this, e);
4020
4027
  return t.inlineMode = !0, this.core.process(t), t.tokens;
4021
4028
  };
4022
- au.prototype.renderInline = function(u, e) {
4029
+ ou.prototype.renderInline = function(u, e) {
4023
4030
  return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
4024
4031
  };
4025
- const Fa = ["innerHTML"], Aa = {
4032
+ const Ao = ["innerHTML"], wo = {
4026
4033
  __name: "FactorDescription",
4027
4034
  props: /* @__PURE__ */ ju({
4028
4035
  factorType: { type: String, default: "模版" },
@@ -4033,12 +4040,12 @@ const Fa = ["innerHTML"], Aa = {
4033
4040
  }),
4034
4041
  emits: ["update:visible"],
4035
4042
  setup(u) {
4036
- const { request: e } = a0("stConfig"), t = new au(), n = eu(""), r = Zu(u, "visible");
4043
+ const { request: e } = o0("stConfig"), t = new ou(), n = eu(""), r = Zu(u, "visible");
4037
4044
  return c0(async () => {
4038
- const { data: a } = await e.post("/middleLayer/special/getOss", { url: "resource/factor_select.md" }), l = new Uint8Array(a.data), c = new TextDecoder("utf-8").decode(l);
4045
+ const { data: o } = await e.post("/middleLayer/special/getOss", { url: "resource/factor_select.md" }), l = new Uint8Array(o.data), c = new TextDecoder("utf-8").decode(l);
4039
4046
  n.value = t.render(c);
4040
- }), (a, l) => {
4041
- const o = nt, c = rt, i = b0, f = ge;
4047
+ }), (o, l) => {
4048
+ const a = mt, c = xt, i = b0, f = ge;
4042
4049
  return E(), P(f, {
4043
4050
  modelValue: r.value,
4044
4051
  "onUpdate:modelValue": l[0] || (l[0] = (s) => r.value = s),
@@ -4062,16 +4069,16 @@ const Fa = ["innerHTML"], Aa = {
4062
4069
  height: "500"
4063
4070
  }, {
4064
4071
  default: D(() => [
4065
- y(o, {
4072
+ y(a, {
4066
4073
  prop: "factorName",
4067
4074
  label: "因子名称",
4068
4075
  width: "200"
4069
4076
  }),
4070
- y(o, {
4077
+ y(a, {
4071
4078
  prop: "factorDesc",
4072
4079
  label: "因子说明"
4073
4080
  }),
4074
- y(o, {
4081
+ y(a, {
4075
4082
  prop: "factorScoreDefine",
4076
4083
  label: "分值定义"
4077
4084
  })
@@ -4082,7 +4089,7 @@ const Fa = ["innerHTML"], Aa = {
4082
4089
  key: 1,
4083
4090
  class: "markdown-body",
4084
4091
  innerHTML: n.value
4085
- }, null, 8, Fa)) : U("", !0)
4092
+ }, null, 8, Ao)) : U("", !0)
4086
4093
  ]),
4087
4094
  _: 1
4088
4095
  })
@@ -4092,7 +4099,7 @@ const Fa = ["innerHTML"], Aa = {
4092
4099
  };
4093
4100
  }
4094
4101
  };
4095
- const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "factor-screen" }, Ta = { style: { "white-space": "pre-line" } }, Sa = { class: "custom-header" }, Ia = { class: "left" }, Oa = ["id"], Va = { class: "right" }, $a = { class: "form-row" }, Ra = { class: "index" }, Ma = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, qa = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "~", -1)), Ba = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "&&代表and,||代表or", -1)), za = { class: "dialog-footer" }, La = {
4102
+ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "factor-screen" }, So = { style: { "white-space": "pre-line" } }, Io = { class: "custom-header" }, Oo = { class: "left" }, Vo = ["id"], $o = { class: "right" }, Ro = { class: "form-row" }, Mo = { class: "index" }, qo = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Bo = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "~", -1)), zo = /* @__PURE__ */ Y0(() => /* @__PURE__ */ V("span", null, "&&代表and,||代表or", -1)), Lo = { class: "dialog-footer" }, Po = {
4096
4103
  __name: "index",
4097
4104
  props: /* @__PURE__ */ ju({
4098
4105
  config: {
@@ -4124,7 +4131,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4124
4131
  }),
4125
4132
  emits: ["update:data"],
4126
4133
  setup(u) {
4127
- const e = u, t = Zu(u, "data"), n = eu(), r = eu(), a = eu(!1), l = eu(!1), o = eu("脚本"), c = eu(null), i = eu({
4134
+ const e = u, t = Zu(u, "data"), n = eu(), r = eu(), o = eu(!1), l = eu(!1), a = eu("脚本"), c = eu(null), i = eu({
4128
4135
  // 筛选因子列表
4129
4136
  list: [
4130
4137
  {
@@ -4149,9 +4156,9 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4149
4156
  sqlEnable: b,
4150
4157
  sqlValue: x,
4151
4158
  factorSelectExpr: g
4152
- }, i.value.list.length || m(), a.value = !0;
4159
+ }, i.value.list.length || m(), o.value = !0;
4153
4160
  }, s = () => {
4154
- if (o.value === "模版")
4161
+ if (a.value === "模版")
4155
4162
  c.value.validate((k) => {
4156
4163
  const { list: b, sqlEnable: x, sqlValue: g } = i.value;
4157
4164
  if (k) {
@@ -4167,7 +4174,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4167
4174
  sqlEnable: x,
4168
4175
  sqlValue: g,
4169
4176
  factorSelectExpr: ""
4170
- }, a.value = !1;
4177
+ }, o.value = !1;
4171
4178
  }
4172
4179
  });
4173
4180
  else {
@@ -4179,7 +4186,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4179
4186
  sqlEnable: 0,
4180
4187
  sqlValue: null,
4181
4188
  factorSelectExpr: k
4182
- }, a.value = !1;
4189
+ }, o.value = !1;
4183
4190
  }
4184
4191
  }, p = (k) => {
4185
4192
  i.value.list.splice(k, 1);
@@ -4242,7 +4249,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4242
4249
  break;
4243
4250
  }
4244
4251
  case "scriptTag": {
4245
- ft.confirm("是否确认删除因子筛选: 脚本模式", "删除操作", {
4252
+ gt.confirm("是否确认删除因子筛选: 脚本模式", "删除操作", {
4246
4253
  confirmButtonText: "确认",
4247
4254
  cancelButtonText: "取消",
4248
4255
  type: "warning"
@@ -4287,12 +4294,12 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4287
4294
  }
4288
4295
  };
4289
4296
  return vu(
4290
- () => a.value,
4297
+ () => o.value,
4291
4298
  (k) => {
4292
4299
  switch (k) {
4293
4300
  case !0: {
4294
4301
  Bu(() => {
4295
- n.value.resize(), t.value.factorSelectExpr && (o.value = "脚本", n.value.setValue(t.value.factorSelectExpr), n.value.focusToEnd()), (t.value.sqlEnable && t.value.sqlValue || !t.value.sqlEnable && t.value.list.length) && (o.value = "模版");
4302
+ n.value.resize(), t.value.factorSelectExpr && (a.value = "脚本", n.value.setValue(t.value.factorSelectExpr), n.value.focusToEnd()), (t.value.sqlEnable && t.value.sqlValue || !t.value.sqlEnable && t.value.list.length) && (a.value = "模版");
4296
4303
  });
4297
4304
  break;
4298
4305
  }
@@ -4303,7 +4310,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4303
4310
  }
4304
4311
  }
4305
4312
  ), vu(
4306
- () => o.value,
4313
+ () => a.value,
4307
4314
  (k) => {
4308
4315
  k === "模版" && r.value.close(), k === "脚本" && Bu(() => {
4309
4316
  n.value.focusToEnd();
@@ -4312,9 +4319,9 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4312
4319
  { deep: !0 }
4313
4320
  ), (k, b) => {
4314
4321
  var Ie;
4315
- const x = lt, g = h0, _ = kt, I = p0, v = _t, T = tt, F = D0, q = ve, B = qe("st-customFunction"), C = fe, N = pe, H = pt, xu = f0, _u = ye, gu = d0, K = bt, X = b0, Yu = ge, K0 = qe("st-varSelectDialog");
4322
+ const x = dt, g = h0, _ = kt, I = p0, v = ht, T = tt, F = D0, q = ve, B = qe("st-customFunction"), C = fe, N = pe, H = ct, xu = f0, _u = ye, gu = d0, K = st, X = b0, Yu = ge, K0 = qe("st-varSelectDialog");
4316
4323
  return E(), S(z, null, [
4317
- V("div", wa, [
4324
+ V("div", To, [
4318
4325
  V("div", null, [
4319
4326
  t.value.sqlEnable && t.value.sqlValue ? (E(), P(g, {
4320
4327
  key: 0,
@@ -4365,7 +4372,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4365
4372
  })
4366
4373
  ]),
4367
4374
  default: D(() => [
4368
- V("div", Ta, uu(t.value.factorSelectExpr), 1)
4375
+ V("div", So, uu(t.value.factorSelectExpr), 1)
4369
4376
  ]),
4370
4377
  _: 1
4371
4378
  })) : U("", !0),
@@ -4385,8 +4392,8 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4385
4392
  ]),
4386
4393
  y(Yu, {
4387
4394
  "modal-class": "factor-dialog",
4388
- modelValue: a.value,
4389
- "onUpdate:modelValue": b[8] || (b[8] = (M) => a.value = M),
4395
+ modelValue: o.value,
4396
+ "onUpdate:modelValue": b[8] || (b[8] = (M) => o.value = M),
4390
4397
  width: "1000",
4391
4398
  "align-center": "",
4392
4399
  "destroy-on-close": "",
@@ -4397,12 +4404,12 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4397
4404
  "show-close": !1
4398
4405
  }, {
4399
4406
  header: D(({ titleId: M, titleClass: nu }) => [
4400
- V("div", Sa, [
4401
- V("div", Ia, [
4407
+ V("div", Io, [
4408
+ V("div", Oo, [
4402
4409
  V("span", {
4403
4410
  id: M,
4404
4411
  class: lu(nu)
4405
- }, " 因子筛选 ", 10, Oa),
4412
+ }, " 因子筛选 ", 10, Vo),
4406
4413
  y(T, {
4407
4414
  effect: "dark",
4408
4415
  content: "点击查看: 因子使用说明",
@@ -4413,7 +4420,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4413
4420
  onClick: b[2] || (b[2] = (R) => l.value = !0)
4414
4421
  }, {
4415
4422
  default: D(() => [
4416
- y(O(ht))
4423
+ y(O(ft))
4417
4424
  ]),
4418
4425
  _: 1
4419
4426
  })
@@ -4421,8 +4428,8 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4421
4428
  _: 1
4422
4429
  }),
4423
4430
  y(q, {
4424
- modelValue: o.value,
4425
- "onUpdate:modelValue": b[3] || (b[3] = (R) => o.value = R),
4431
+ modelValue: a.value,
4432
+ "onUpdate:modelValue": b[3] || (b[3] = (R) => a.value = R),
4426
4433
  size: "small"
4427
4434
  }, {
4428
4435
  default: D(() => [
@@ -4441,11 +4448,11 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4441
4448
  size: "small",
4442
4449
  onInsert: h
4443
4450
  }, null, 512), [
4444
- [s0, o.value === "脚本"]
4451
+ [s0, a.value === "脚本"]
4445
4452
  ])
4446
4453
  ]),
4447
- V("div", Va, [
4448
- o.value === "脚本" ? (E(), P(I, {
4454
+ V("div", $o, [
4455
+ a.value === "脚本" ? (E(), P(I, {
4449
4456
  key: 0,
4450
4457
  size: "small",
4451
4458
  type: "primary",
@@ -4457,10 +4464,10 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4457
4464
  _: 1
4458
4465
  })) : U("", !0),
4459
4466
  y(v, {
4460
- onClick: b[4] || (b[4] = (R) => a.value = !1)
4467
+ onClick: b[4] || (b[4] = (R) => o.value = !1)
4461
4468
  }, {
4462
4469
  default: D(() => [
4463
- y(O(mt))
4470
+ y(O(pt))
4464
4471
  ]),
4465
4472
  _: 1
4466
4473
  })
@@ -4468,7 +4475,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4468
4475
  ])
4469
4476
  ]),
4470
4477
  footer: D(() => [
4471
- V("div", za, [
4478
+ V("div", Lo, [
4472
4479
  y(I, {
4473
4480
  type: "primary",
4474
4481
  onClick: s
@@ -4481,7 +4488,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4481
4488
  ])
4482
4489
  ]),
4483
4490
  default: D(() => [
4484
- o.value === "模版" ? (E(), P(X, {
4491
+ a.value === "模版" ? (E(), P(X, {
4485
4492
  key: 0,
4486
4493
  height: "400px"
4487
4494
  }, {
@@ -4492,8 +4499,8 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4492
4499
  model: i.value
4493
4500
  }, {
4494
4501
  default: D(() => [
4495
- (E(!0), S(z, null, Z(i.value.list, (M, nu) => (E(), S("div", $a, [
4496
- V("span", Ra, uu(`条件${nu + 1}`), 1),
4502
+ (E(!0), S(z, null, Z(i.value.list, (M, nu) => (E(), S("div", Ro, [
4503
+ V("span", Mo, uu(`条件${nu + 1}`), 1),
4497
4504
  M.key === "compare" ? (E(), S(z, { key: 0 }, [
4498
4505
  u.config.cycleShow ? (E(), P(H, {
4499
4506
  key: 0,
@@ -4683,14 +4690,14 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4683
4690
  style: { width: "200px", "margin-right": "10px" }
4684
4691
  }, {
4685
4692
  default: D(() => [
4686
- V("div", Ma, [
4693
+ V("div", qo, [
4687
4694
  y(xu, {
4688
4695
  modelValue: M.score[0],
4689
4696
  "onUpdate:modelValue": (R) => M.score[0] = R,
4690
4697
  size: "small",
4691
4698
  "controls-position": "right"
4692
4699
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
4693
- qa,
4700
+ Bo,
4694
4701
  y(xu, {
4695
4702
  modelValue: M.score[1],
4696
4703
  "onUpdate:modelValue": (R) => M.score[1] = R,
@@ -4706,7 +4713,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4706
4713
  onClick: (R) => p(nu)
4707
4714
  }, {
4708
4715
  default: D(() => [
4709
- y(O(xt))
4716
+ y(O(bt))
4710
4717
  ]),
4711
4718
  _: 2
4712
4719
  }, 1032, ["onClick"])
@@ -4779,7 +4786,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4779
4786
  type: "textarea",
4780
4787
  style: { "margin-bottom": "10px" }
4781
4788
  }, null, 8, ["modelValue"]),
4782
- Ba
4789
+ zo
4783
4790
  ], 64)) : U("", !0)
4784
4791
  ], 64)) : U("", !0)
4785
4792
  ]),
@@ -4789,9 +4796,9 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4789
4796
  _: 1
4790
4797
  })) : U("", !0),
4791
4798
  V("div", {
4792
- style: i0([{ width: "968px", height: "400px" }, o.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
4799
+ style: i0([{ width: "968px", height: "400px" }, a.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
4793
4800
  }, [
4794
- y(gt, {
4801
+ y(_t, {
4795
4802
  ref_key: "monacoEditorRef",
4796
4803
  ref: n,
4797
4804
  language: "lua",
@@ -4802,10 +4809,10 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4802
4809
  _: 1
4803
4810
  }, 8, ["modelValue"])
4804
4811
  ]),
4805
- y(Aa, {
4812
+ y(wo, {
4806
4813
  visible: l.value,
4807
4814
  "onUpdate:visible": b[9] || (b[9] = (M) => l.value = M),
4808
- factorType: o.value,
4815
+ factorType: a.value,
4809
4816
  data: (Ie = u.config.factorDescriptions) == null ? void 0 : Ie.filter((M) => [1, 3].includes(M.type))
4810
4817
  }, null, 8, ["visible", "factorType", "data"]),
4811
4818
  y(K0, {
@@ -4815,20 +4822,20 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), wa = { class: "fact
4815
4822
  ], 64);
4816
4823
  };
4817
4824
  }
4818
- }, Pa = /* @__PURE__ */ ke(La, [["__scopeId", "data-v-deab9c48"]]);
4819
- const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
4825
+ }, Uo = /* @__PURE__ */ ke(Po, [["__scopeId", "data-v-deab9c48"]]);
4826
+ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), No = {
4820
4827
  key: 0,
4821
4828
  class: "common-indicator"
4822
- }, Na = { class: "indicator" }, ja = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("div", { class: "title" }, [
4829
+ }, jo = { class: "indicator" }, Zo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("div", { class: "title" }, [
4823
4830
  /* @__PURE__ */ V("span", null, "常用指标: "),
4824
4831
  /* @__PURE__ */ V("span", null, "不限")
4825
- ], -1)), Za = { class: "options" }, Ha = ["onClick"], Ga = { class: "tags" }, Ja = ["onClick"], Wa = { style: { "font-size": "18px" } }, Qa = {
4832
+ ], -1)), Ho = { class: "options" }, Go = ["onClick"], Jo = { class: "tags" }, Wo = ["onClick"], Qo = { style: { "font-size": "18px" } }, Yo = {
4826
4833
  key: 0,
4827
4834
  class: "out-box"
4828
- }, Ya = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), Ka = {
4835
+ }, Ko = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), Xo = {
4829
4836
  key: 0,
4830
4837
  class: "convenient-option-box"
4831
- }, Xa = { class: "out-box" }, uo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), eo = { key: 0 }, to = { key: 0 }, no = { key: 0 }, ro = { key: 1 }, ao = { class: "tFeaturelncomes-option-box" }, oo = { class: "tFeaturelncomes-out-box" }, lo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), io = { key: 2 }, co = { key: 3 }, so = { key: 4 }, fo = { key: 5 }, po = { key: 6 }, bo = { style: { display: "flex", "align-items": "center" } }, ho = { key: 7 }, mo = { class: "dialog-footer" }, xo = {
4838
+ }, ua = { class: "out-box" }, ea = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), ta = { key: 0 }, na = { key: 0 }, ra = { key: 0 }, oa = { key: 1 }, aa = { class: "tFeaturelncomes-option-box" }, la = { class: "tFeaturelncomes-out-box" }, ia = /* @__PURE__ */ Qu(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), ca = { key: 2 }, sa = { key: 3 }, da = { key: 4 }, fa = { key: 5 }, pa = { key: 6 }, ba = { style: { display: "flex", "align-items": "center" } }, ha = { key: 7 }, ma = { class: "dialog-footer" }, xa = {
4832
4839
  __name: "index",
4833
4840
  props: /* @__PURE__ */ ju({
4834
4841
  config: { type: Object, default: () => {
@@ -4854,10 +4861,10 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
4854
4861
  { label: "保留意见", value: 2 },
4855
4862
  { label: "否定意见", value: 3 },
4856
4863
  { label: "无法表示意见", value: 4 }
4857
- ], n = Zu(u, "data"), r = u, a = eu(!1), l = Q(() => {
4864
+ ], n = Zu(u, "data"), r = u, o = eu(!1), l = Q(() => {
4858
4865
  var A;
4859
4866
  return (A = r.data.find((h) => h.radioType === "1")) == null ? void 0 : A.key;
4860
- }), o = Q(() => {
4867
+ }), a = Q(() => {
4861
4868
  let A = [];
4862
4869
  return r.varietyMarket === null && !r.commonOption.length ? A = r.config.options : (A = r.config.options, r.varietyMarket && (A = A.filter(({ parent: h }) => h.varietyMarketIds.includes(r.varietyMarket))), r.commonOption.length && (A = A.filter(({ parent: h }) => {
4863
4870
  const { commonOptionIds: k } = h;
@@ -4933,7 +4940,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
4933
4940
  // 默认排名
4934
4941
  };
4935
4942
  }
4936
- a.value = !0;
4943
+ o.value = !0;
4937
4944
  }, s = () => {
4938
4945
  var h, k;
4939
4946
  switch (i.value.key) {
@@ -5020,9 +5027,9 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5020
5027
  }
5021
5028
  }
5022
5029
  const A = n.value.findIndex(({ key: b }) => b === i.value.key);
5023
- A === -1 ? n.value.push(i.value) : n.value.splice(A, 1, i.value), a.value = !1;
5030
+ A === -1 ? n.value.push(i.value) : n.value.splice(A, 1, i.value), o.value = !1;
5024
5031
  }, p = (A) => {
5025
- c.value = o.value.find(({ key: h }) => h === A.key), i.value = JSON.parse(JSON.stringify(A)), a.value = !0;
5032
+ c.value = a.value.find(({ key: h }) => h === A.key), i.value = JSON.parse(JSON.stringify(A)), o.value = !0;
5026
5033
  }, m = (A) => {
5027
5034
  n.value.splice(A, 1);
5028
5035
  }, d = (A) => {
@@ -5073,9 +5080,9 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5073
5080
  }
5074
5081
  };
5075
5082
  vu(
5076
- () => o.value,
5083
+ () => a.value,
5077
5084
  () => {
5078
- n.value.length && (n.value = n.value.filter(({ key: A }) => o.value.find((h) => h.key === A)));
5085
+ n.value.length && (n.value = n.value.filter(({ key: A }) => a.value.find((h) => h.key === A)));
5079
5086
  }
5080
5087
  );
5081
5088
  const $ = () => {
@@ -5083,17 +5090,17 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5083
5090
  };
5084
5091
  return (A, h) => {
5085
5092
  const k = h0, b = D0, x = ve, g = d0, _ = p0, I = fe, v = pe, T = ye, F = f0, q = ge;
5086
- return u.config.show && o.value.length ? (E(), S("div", Ua, [
5087
- V("div", Na, [
5088
- ja,
5089
- V("div", Za, [
5090
- (E(!0), S(z, null, Z(o.value, (B) => (E(), S("span", {
5093
+ return u.config.show && a.value.length ? (E(), S("div", No, [
5094
+ V("div", jo, [
5095
+ Zo,
5096
+ V("div", Ho, [
5097
+ (E(!0), S(z, null, Z(a.value, (B) => (E(), S("span", {
5091
5098
  key: B.key,
5092
5099
  onClick: (C) => f(B)
5093
- }, uu(B.label), 9, Ha))), 128))
5100
+ }, uu(B.label), 9, Go))), 128))
5094
5101
  ])
5095
5102
  ]),
5096
- V("div", Ga, [
5103
+ V("div", Jo, [
5097
5104
  (E(!0), S(z, null, Z(n.value, (B, C) => (E(), P(k, {
5098
5105
  closable: "",
5099
5106
  type: "info",
@@ -5104,21 +5111,21 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5104
5111
  V("span", {
5105
5112
  class: "edit",
5106
5113
  onClick: (N) => p(B)
5107
- }, "编辑", 8, Ja)
5114
+ }, "编辑", 8, Wo)
5108
5115
  ]),
5109
5116
  _: 2
5110
5117
  }, 1032, ["onClose"]))), 256))
5111
5118
  ]),
5112
5119
  y(q, {
5113
- modelValue: a.value,
5114
- "onUpdate:modelValue": h[26] || (h[26] = (B) => a.value = B),
5120
+ modelValue: o.value,
5121
+ "onUpdate:modelValue": h[26] || (h[26] = (B) => o.value = B),
5115
5122
  title: c.value.label,
5116
5123
  width: "600",
5117
5124
  "align-center": "",
5118
5125
  "destroy-on-close": ""
5119
5126
  }, Ku({
5120
5127
  footer: D(() => [
5121
- V("div", mo, [
5128
+ V("div", ma, [
5122
5129
  y(_, {
5123
5130
  type: "primary",
5124
5131
  onClick: s
@@ -5133,8 +5140,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5133
5140
  default: D(() => {
5134
5141
  var B;
5135
5142
  return [
5136
- c.value.type === void 0 && i.value.radioType === "1" ? (E(), S("div", Qa, [
5137
- Ya,
5143
+ c.value.type === void 0 && i.value.radioType === "1" ? (E(), S("div", Yo, [
5144
+ Ko,
5138
5145
  y(g, {
5139
5146
  modelValue: i.value.rankRange[0],
5140
5147
  "onUpdate:modelValue": h[2] || (h[2] = (C) => i.value.rankRange[0] = C),
@@ -5147,7 +5154,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5147
5154
  style: { flex: "1" }
5148
5155
  }, null, 8, ["modelValue"])
5149
5156
  ])) : c.value.type === void 0 ? (E(), S(z, { key: 1 }, [
5150
- (B = c.value.convenientOptions) != null && B.length ? (E(), S("div", Ka, [
5157
+ (B = c.value.convenientOptions) != null && B.length ? (E(), S("div", Xo, [
5151
5158
  (E(!0), S(z, null, Z(c.value.convenientOptions, (C) => (E(), P(_, {
5152
5159
  key: C.text,
5153
5160
  onClick: (N) => d(C)
@@ -5158,8 +5165,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5158
5165
  _: 2
5159
5166
  }, 1032, ["onClick"]))), 128))
5160
5167
  ])) : U("", !0),
5161
- V("div", Xa, [
5162
- uo,
5168
+ V("div", ua, [
5169
+ ea,
5163
5170
  y(g, {
5164
5171
  modelValue: i.value.range[0],
5165
5172
  "onUpdate:modelValue": h[5] || (h[5] = (C) => i.value.range[0] = C),
@@ -5168,7 +5175,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5168
5175
  c.value.unitOptions.length ? {
5169
5176
  name: "append",
5170
5177
  fn: D(() => [
5171
- c.value.unitOptions.length === 1 ? (E(), S("span", eo, uu(i.value.unit[0]), 1)) : (E(), P(v, {
5178
+ c.value.unitOptions.length === 1 ? (E(), S("span", ta, uu(i.value.unit[0]), 1)) : (E(), P(v, {
5172
5179
  key: 1,
5173
5180
  modelValue: i.value.unit[0],
5174
5181
  "onUpdate:modelValue": h[4] || (h[4] = (C) => i.value.unit[0] = C),
@@ -5195,7 +5202,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5195
5202
  c.value.unitOptions.length ? {
5196
5203
  name: "append",
5197
5204
  fn: D(() => [
5198
- c.value.unitOptions.length === 1 ? (E(), S("span", to, uu(i.value.unit[1]), 1)) : (E(), P(v, {
5205
+ c.value.unitOptions.length === 1 ? (E(), S("span", na, uu(i.value.unit[1]), 1)) : (E(), P(v, {
5199
5206
  key: 1,
5200
5207
  modelValue: i.value.unit[1],
5201
5208
  "onUpdate:modelValue": h[6] || (h[6] = (C) => i.value.unit[1] = C),
@@ -5215,7 +5222,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5215
5222
  ]), 1032, ["modelValue"])
5216
5223
  ])
5217
5224
  ], 64)) : (E(), S(z, { key: 2 }, [
5218
- c.value.key === "st" ? (E(), S("div", no, [
5225
+ c.value.key === "st" ? (E(), S("div", ra, [
5219
5226
  y(x, {
5220
5227
  modelValue: i.value.st,
5221
5228
  "onUpdate:modelValue": h[8] || (h[8] = (C) => i.value.st = C)
@@ -5233,8 +5240,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5233
5240
  _: 1
5234
5241
  }, 8, ["modelValue"])
5235
5242
  ])) : U("", !0),
5236
- c.value.key === "tFeaturelncomes" ? (E(), S("div", ro, [
5237
- V("div", ao, [
5243
+ c.value.key === "tFeaturelncomes" ? (E(), S("div", oa, [
5244
+ V("div", aa, [
5238
5245
  y(_, {
5239
5246
  onClick: h[9] || (h[9] = (C) => w("≤0"))
5240
5247
  }, {
@@ -5276,8 +5283,8 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5276
5283
  _: 1
5277
5284
  })
5278
5285
  ]),
5279
- V("div", oo, [
5280
- lo,
5286
+ V("div", la, [
5287
+ ia,
5281
5288
  V("div", null, [
5282
5289
  y(F, {
5283
5290
  modelValue: i.value.withFewYears,
@@ -5300,7 +5307,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5300
5307
  ])
5301
5308
  ])
5302
5309
  ])) : U("", !0),
5303
- c.value.key === "priceLevels" ? (E(), S("div", io, [
5310
+ c.value.key === "priceLevels" ? (E(), S("div", ca, [
5304
5311
  y(v, {
5305
5312
  modelValue: i.value.priceLevels,
5306
5313
  "onUpdate:modelValue": h[17] || (h[17] = (C) => i.value.priceLevels = C),
@@ -5319,7 +5326,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5319
5326
  _: 1
5320
5327
  }, 8, ["modelValue"])
5321
5328
  ])) : U("", !0),
5322
- c.value.key === "peTtmLevels" ? (E(), S("div", co, [
5329
+ c.value.key === "peTtmLevels" ? (E(), S("div", sa, [
5323
5330
  y(v, {
5324
5331
  modelValue: i.value.peTtmLevels,
5325
5332
  "onUpdate:modelValue": h[18] || (h[18] = (C) => i.value.peTtmLevels = C),
@@ -5338,7 +5345,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5338
5345
  _: 1
5339
5346
  }, 8, ["modelValue"])
5340
5347
  ])) : U("", !0),
5341
- c.value.key === "optionsCpType" ? (E(), S("div", so, [
5348
+ c.value.key === "optionsCpType" ? (E(), S("div", da, [
5342
5349
  y(x, {
5343
5350
  modelValue: i.value.optionsCpType,
5344
5351
  "onUpdate:modelValue": h[19] || (h[19] = (C) => i.value.optionsCpType = C)
@@ -5356,7 +5363,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5356
5363
  _: 1
5357
5364
  }, 8, ["modelValue"])
5358
5365
  ])) : U("", !0),
5359
- c.value.key === "perVolumn" ? (E(), S("div", fo, [
5366
+ c.value.key === "perVolumn" ? (E(), S("div", fa, [
5360
5367
  y(x, {
5361
5368
  modelValue: i.value.radio,
5362
5369
  "onUpdate:modelValue": h[20] || (h[20] = (C) => i.value.radio = C)
@@ -5392,7 +5399,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5392
5399
  _: 1
5393
5400
  }, 8, ["modelValue"])
5394
5401
  ])) : U("", !0),
5395
- c.value.key === "mainFlow" ? (E(), S("div", po, [
5402
+ c.value.key === "mainFlow" ? (E(), S("div", pa, [
5396
5403
  y(x, {
5397
5404
  modelValue: i.value.radio,
5398
5405
  "onUpdate:modelValue": h[22] || (h[22] = (C) => i.value.radio = C)
@@ -5425,7 +5432,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5425
5432
  ]),
5426
5433
  _: 1
5427
5434
  }, 8, ["modelValue"]),
5428
- V("div", bo, [
5435
+ V("div", ba, [
5429
5436
  V("span", null, uu(i.value.radioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
5430
5437
  y(g, {
5431
5438
  modelValue: i.value.rankRange[0],
@@ -5440,7 +5447,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5440
5447
  }, null, 8, ["modelValue"])
5441
5448
  ])
5442
5449
  ])) : U("", !0),
5443
- c.value.key === "auditOpinionType" ? (E(), S("div", ho, [
5450
+ c.value.key === "auditOpinionType" ? (E(), S("div", ha, [
5444
5451
  y(x, {
5445
5452
  modelValue: i.value.enumType,
5446
5453
  "onUpdate:modelValue": h[25] || (h[25] = (C) => i.value.enumType = C)
@@ -5463,7 +5470,7 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5463
5470
  c.value.showRankType ? {
5464
5471
  name: "header",
5465
5472
  fn: D(() => [
5466
- V("span", Wa, uu(c.value.label), 1),
5473
+ V("span", Qo, uu(c.value.label), 1),
5467
5474
  y(x, {
5468
5475
  modelValue: i.value.radioType,
5469
5476
  "onUpdate:modelValue": h[0] || (h[0] = (B) => i.value.radioType = B),
@@ -5514,26 +5521,26 @@ const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Ua = {
5514
5521
  ])) : U("", !0);
5515
5522
  };
5516
5523
  }
5517
- }, _o = /* @__PURE__ */ ke(xo, [["__scopeId", "data-v-3e69da40"]]);
5518
- const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "variety-search" }, ko = {
5524
+ }, _a = /* @__PURE__ */ ke(xa, [["__scopeId", "data-v-3e69da40"]]);
5525
+ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), ga = { class: "variety-search" }, ka = {
5519
5526
  key: 0,
5520
5527
  class: "variety-search-row"
5521
- }, yo = { class: "title" }, vo = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "品种市场: ", -1)), Co = {
5528
+ }, ya = { class: "title" }, va = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "品种市场: ", -1)), Ca = {
5522
5529
  key: 1,
5523
5530
  class: "variety-search-row"
5524
- }, Eo = { class: "title" }, Do = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "常用选项: ", -1)), Fo = {
5531
+ }, Ea = { class: "title" }, Da = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "常用选项: ", -1)), Fa = {
5525
5532
  key: 2,
5526
5533
  class: "variety-search-row"
5527
- }, Ao = { class: "title" }, wo = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "上市板块: ", -1)), To = {
5534
+ }, Aa = { class: "title" }, wa = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "上市板块: ", -1)), Ta = {
5528
5535
  key: 3,
5529
5536
  class: "variety-search-row"
5530
- }, So = { class: "title" }, Io = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "自定标签: ", -1)), Oo = {
5537
+ }, Sa = { class: "title" }, Ia = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "自定标签: ", -1)), Oa = {
5531
5538
  key: 4,
5532
5539
  class: "variety-search-row"
5533
- }, Vo = { class: "title" }, $o = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "价差转换: ", -1)), Ro = {
5540
+ }, Va = { class: "title" }, $a = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "价差转换: ", -1)), Ra = {
5534
5541
  key: 5,
5535
5542
  class: "variety-search-row"
5536
- }, Mo = { class: "title" }, qo = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "因子筛选: ", -1)), Bo = {
5543
+ }, Ma = { class: "title" }, qa = /* @__PURE__ */ Au(() => /* @__PURE__ */ V("span", null, "因子筛选: ", -1)), Ba = {
5537
5544
  __name: "index",
5538
5545
  props: /* @__PURE__ */ ju({ config: { type: Object, default: {} } }, {
5539
5546
  searchData: {},
@@ -5572,13 +5579,13 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5572
5579
  const m = Be[p], d = t.config[p] ?? {}, w = { ...m, ...d };
5573
5580
  s[p] = w;
5574
5581
  }), s;
5575
- }), a = Q(() => r.value.varietyMarket.options), l = Q(() => {
5582
+ }), o = Q(() => r.value.varietyMarket.options), l = Q(() => {
5576
5583
  const { varietyMarket: s } = n.value;
5577
- return s ? a.value.find(({ value: m }) => m === s).memo.reduce((m, d) => {
5584
+ return s ? o.value.find(({ value: m }) => m === s).memo.reduce((m, d) => {
5578
5585
  const w = r.value.commonOption.options.find(($) => $.value === d);
5579
5586
  return w && m.push(w), m;
5580
5587
  }, []) : r.value.commonOption.options;
5581
- }), o = Q(() => {
5588
+ }), a = Q(() => {
5582
5589
  const { varietyMarket: s } = n.value;
5583
5590
  return s ? r.value.marketIds.options.filter((p) => p.varietyMarketIds.includes(s)) : r.value.marketIds.options;
5584
5591
  }), c = Q(() => r.value.customTag.options), i = Q(() => r.value.jcTranslate.jcOptions), f = (s) => {
@@ -5628,7 +5635,7 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5628
5635
  (p = n.value.commonOption) != null && p.length && (n.value.commonOption = n.value.commonOption.filter((m) => s.find(({ value: d }) => d === m)));
5629
5636
  }
5630
5637
  ), vu(
5631
- () => o.value,
5638
+ () => a.value,
5632
5639
  (s) => {
5633
5640
  var p;
5634
5641
  (p = n.value.marketIds) != null && p.length && (n.value.marketIds = n.value.marketIds.filter((m) => s.find(({ value: d }) => d === m)));
@@ -5837,11 +5844,11 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5837
5844
  }
5838
5845
  }), (s, p) => {
5839
5846
  var k, b, x, g, _, I;
5840
- const m = ye, d = ve, w = at, $ = ot, A = fe, h = pe;
5841
- return E(), S("div", go, [
5842
- (k = r.value.varietyMarket) != null && k.show ? (E(), S("div", ko, [
5843
- V("div", yo, [
5844
- vo,
5847
+ const m = ye, d = ve, w = nt, $ = rt, A = fe, h = pe;
5848
+ return E(), S("div", ga, [
5849
+ (k = r.value.varietyMarket) != null && k.show ? (E(), S("div", ka, [
5850
+ V("div", ya, [
5851
+ va,
5845
5852
  V("span", {
5846
5853
  onClick: p[0] || (p[0] = (v) => f("varietyMarket"))
5847
5854
  }, "不限")
@@ -5852,7 +5859,7 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5852
5859
  size: "small"
5853
5860
  }, {
5854
5861
  default: D(() => [
5855
- (E(!0), S(z, null, Z(a.value, ({ label: v, value: T }) => (E(), P(m, {
5862
+ (E(!0), S(z, null, Z(o.value, ({ label: v, value: T }) => (E(), P(m, {
5856
5863
  label: v,
5857
5864
  value: T,
5858
5865
  key: T
@@ -5861,9 +5868,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5861
5868
  _: 1
5862
5869
  }, 8, ["modelValue"])
5863
5870
  ])) : U("", !0),
5864
- (b = r.value.commonOption) != null && b.show && l.value.length ? (E(), S("div", Co, [
5865
- V("div", Eo, [
5866
- Do,
5871
+ (b = r.value.commonOption) != null && b.show && l.value.length ? (E(), S("div", Ca, [
5872
+ V("div", Ea, [
5873
+ Da,
5867
5874
  V("span", {
5868
5875
  onClick: p[2] || (p[2] = (v) => f("commonOption"))
5869
5876
  }, "不限")
@@ -5883,9 +5890,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5883
5890
  _: 1
5884
5891
  }, 8, ["modelValue"])
5885
5892
  ])) : U("", !0),
5886
- (x = r.value.marketIds) != null && x.show && o.value.length ? (E(), S("div", Fo, [
5887
- V("div", Ao, [
5888
- wo,
5893
+ (x = r.value.marketIds) != null && x.show && a.value.length ? (E(), S("div", Fa, [
5894
+ V("div", Aa, [
5895
+ wa,
5889
5896
  V("span", {
5890
5897
  onClick: p[4] || (p[4] = (v) => f("marketIds"))
5891
5898
  }, "不限")
@@ -5896,7 +5903,7 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5896
5903
  size: "small"
5897
5904
  }, {
5898
5905
  default: D(() => [
5899
- (E(!0), S(z, null, Z(o.value, ({ label: v, value: T }) => (E(), P(w, {
5906
+ (E(!0), S(z, null, Z(a.value, ({ label: v, value: T }) => (E(), P(w, {
5900
5907
  label: v,
5901
5908
  value: T,
5902
5909
  key: T
@@ -5905,9 +5912,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5905
5912
  _: 1
5906
5913
  }, 8, ["modelValue"])
5907
5914
  ])) : U("", !0),
5908
- (g = r.value.customTag) != null && g.show && c.value.length ? (E(), S("div", To, [
5909
- V("div", So, [
5910
- Io,
5915
+ (g = r.value.customTag) != null && g.show && c.value.length ? (E(), S("div", Ta, [
5916
+ V("div", Sa, [
5917
+ Ia,
5911
5918
  V("span", {
5912
5919
  onClick: p[6] || (p[6] = (v) => f("customTag"))
5913
5920
  }, "不限")
@@ -5927,9 +5934,9 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5927
5934
  _: 1
5928
5935
  }, 8, ["modelValue"])
5929
5936
  ])) : U("", !0),
5930
- (_ = r.value.jcTranslate) != null && _.show ? (E(), S("div", Oo, [
5931
- V("div", Vo, [
5932
- $o,
5937
+ (_ = r.value.jcTranslate) != null && _.show ? (E(), S("div", Oa, [
5938
+ V("div", Va, [
5939
+ $a,
5933
5940
  V("span", {
5934
5941
  onClick: p[8] || (p[8] = (v) => f("jcTranslate"))
5935
5942
  }, "不限")
@@ -5977,20 +5984,20 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
5977
5984
  [s0, n.value.jcTranslate.type === 1]
5978
5985
  ])
5979
5986
  ])) : U("", !0),
5980
- (I = r.value.factorScreen) != null && I.show ? (E(), S("div", Ro, [
5981
- V("div", Mo, [
5982
- qo,
5987
+ (I = r.value.factorScreen) != null && I.show ? (E(), S("div", Ra, [
5988
+ V("div", Ma, [
5989
+ qa,
5983
5990
  V("span", {
5984
5991
  onClick: p[11] || (p[11] = (v) => f("factorScreen"))
5985
5992
  }, "不限")
5986
5993
  ]),
5987
- y(Pa, {
5994
+ y(Uo, {
5988
5995
  data: n.value.factorScreen,
5989
5996
  "onUpdate:data": p[12] || (p[12] = (v) => n.value.factorScreen = v),
5990
5997
  config: r.value.factorScreen
5991
5998
  }, null, 8, ["data", "config"])
5992
5999
  ])) : U("", !0),
5993
- y(_o, {
6000
+ y(_a, {
5994
6001
  data: n.value.commonIndicator,
5995
6002
  "onUpdate:data": p[13] || (p[13] = (v) => n.value.commonIndicator = v),
5996
6003
  varietyMarket: n.value.varietyMarket,
@@ -6000,11 +6007,11 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), go = { class: "vari
6000
6007
  ]);
6001
6008
  };
6002
6009
  }
6003
- }, zo = /* @__PURE__ */ ke(Bo, [["__scopeId", "data-v-efd872de"]]), El = {
6010
+ }, za = /* @__PURE__ */ ke(Ba, [["__scopeId", "data-v-efd872de"]]), Il = {
6004
6011
  install(u) {
6005
- u.component("st-varietySearch", zo);
6012
+ u.component("st-varietySearch", za);
6006
6013
  }
6007
6014
  };
6008
6015
  export {
6009
- El as default
6016
+ Il as default
6010
6017
  };