st-comp 0.0.199 → 0.0.200

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