@squirrel-cloud/ui-vue 0.4.6 → 0.4.7

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.
@@ -1,4 +1,4 @@
1
- import { createElementBlock as F, openBlock as m, createElementVNode as E, createStaticVNode as uu, defineComponent as O, computed as y, createBlock as L, unref as b, normalizeClass as K, withCtx as Z, createCommentVNode as U, createTextVNode as cu, resolveDynamicComponent as me, toDisplayString as re, h as Ju, ref as R, normalizeStyle as ee, onMounted as be, onBeforeUnmount as Ve, Transition as Te, withDirectives as de, renderSlot as W, vShow as Ue, useSlots as pu, createVNode as T, inject as _e, provide as tu, toRef as oe, mergeModels as se, useModel as ie, watch as fe, vModelCheckbox as Kt, toRaw as Ge, Fragment as xe, renderList as He, Teleport as Qt, mergeProps as Oe, shallowRef as le, withModifiers as Be, nextTick as Ku, vModelDynamic as u0, vModelText as t0, render as _t, cloneVNode as n0, Text as o0, Comment as r0, vModelRadio as en } from "vue";
1
+ import { createElementBlock as F, openBlock as m, createElementVNode as A, createStaticVNode as uu, defineComponent as O, computed as k, createBlock as L, unref as b, normalizeClass as K, withCtx as Z, createCommentVNode as U, createTextVNode as cu, resolveDynamicComponent as me, toDisplayString as re, h as Ju, ref as R, normalizeStyle as ee, onMounted as be, onBeforeUnmount as Ve, Transition as Re, withDirectives as de, renderSlot as W, vShow as Ue, useSlots as pu, createVNode as T, inject as _e, provide as tu, toRef as oe, mergeModels as se, useModel as ie, watch as fe, vModelCheckbox as Kt, toRaw as Ge, Fragment as xe, renderList as He, Teleport as Qt, mergeProps as qe, shallowRef as le, withModifiers as Me, nextTick as Ku, vModelDynamic as u0, vModelText as t0, render as _t, cloneVNode as n0, Text as o0, Comment as r0, vModelRadio as en } from "vue";
2
2
  const X = (e, u) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [n, o] of u)
@@ -10,12 +10,12 @@ const X = (e, u) => {
10
10
  };
11
11
  function i0(e, u) {
12
12
  return m(), F("span", c0, u[0] || (u[0] = [
13
- E("svg", {
13
+ A("svg", {
14
14
  viewBox: "0 0 48 48",
15
15
  version: "1.1",
16
16
  xmlns: "http://www.w3.org/2000/svg"
17
17
  }, [
18
- E("path", { d: `M18.83,24L33.41,9.41c0.78-0.78,0.78-2.05,0-2.83c-0.78-0.78-2.05-0.78-2.83,0l-16,16c-0.78,0.78-0.78,2.05,0,2.83l16,16
18
+ A("path", { d: `M18.83,24L33.41,9.41c0.78-0.78,0.78-2.05,0-2.83c-0.78-0.78-2.05-0.78-2.83,0l-16,16c-0.78,0.78-0.78,2.05,0,2.83l16,16
19
19
  C30.98,41.8,31.49,42,32,42s1.02-0.2,1.41-0.59c0.78-0.78,0.78-2.05,0-2.83L18.83,24z` })
20
20
  ], -1)
21
21
  ]));
@@ -26,12 +26,12 @@ const un = /* @__PURE__ */ X(s0, [["render", i0]]), a0 = {}, l0 = {
26
26
  };
27
27
  function d0(e, u) {
28
28
  return m(), F("span", l0, u[0] || (u[0] = [
29
- E("svg", {
29
+ A("svg", {
30
30
  viewBox: "0 0 48 48",
31
31
  version: "1.1",
32
32
  xmlns: "http://www.w3.org/2000/svg"
33
33
  }, [
34
- E("path", { d: `M33.41,22.59l-16-16c-0.78-0.78-2.05-0.78-2.83,0c-0.78,0.78-0.78,2.05,0,2.83L29.17,24L14.59,38.59
34
+ A("path", { d: `M33.41,22.59l-16-16c-0.78-0.78-2.05-0.78-2.83,0c-0.78,0.78-0.78,2.05,0,2.83L29.17,24L14.59,38.59
35
35
  c-0.78,0.78-0.78,2.05,0,2.83C14.98,41.8,15.49,42,16,42s1.02-0.2,1.41-0.59l16-16C34.2,24.63,34.2,23.37,33.41,22.59z` })
36
36
  ], -1)
37
37
  ]));
@@ -42,12 +42,12 @@ const tn = /* @__PURE__ */ X(a0, [["render", d0]]), f0 = {}, p0 = {
42
42
  };
43
43
  function h0(e, u) {
44
44
  return m(), F("span", p0, u[0] || (u[0] = [
45
- E("svg", {
45
+ A("svg", {
46
46
  viewBox: "0 0 48 48",
47
47
  version: "1.1",
48
48
  xmlns: "http://www.w3.org/2000/svg"
49
49
  }, [
50
- E("path", { d: "M36.32,26.54c-1.45-1.66-3.51-2.67-6.16-3.04,2.49-.42,4.41-1.39,5.78-2.9s2.04-3.43,2.04-5.76c0-3.45-1.07-6.12-3.2-8.01s-5.14-2.83-9.01-2.83H9.5v40h16.74c3.9,0,6.91-.95,9.05-2.85s3.21-4.58,3.21-8.05v-.08c0-2.66-.73-4.82-2.18-6.48ZM25.52,11.26c1.55,0,2.76.35,3.61,1.06s1.28,1.71,1.28,3.01c0,1.43-.43,2.54-1.28,3.33s-2.05,1.18-3.61,1.18h-8.51v-8.58h8.51ZM30.93,31.98c0,1.5-.47,2.67-1.41,3.51s-2.27,1.25-3.99,1.25h-8.51v-9.63h8.51c1.72,0,3.05.42,3.99,1.25s1.41,2.01,1.41,3.54v.08Z" })
50
+ A("path", { d: "M36.32,26.54c-1.45-1.66-3.51-2.67-6.16-3.04,2.49-.42,4.41-1.39,5.78-2.9s2.04-3.43,2.04-5.76c0-3.45-1.07-6.12-3.2-8.01s-5.14-2.83-9.01-2.83H9.5v40h16.74c3.9,0,6.91-.95,9.05-2.85s3.21-4.58,3.21-8.05v-.08c0-2.66-.73-4.82-2.18-6.48ZM25.52,11.26c1.55,0,2.76.35,3.61,1.06s1.28,1.71,1.28,3.01c0,1.43-.43,2.54-1.28,3.33s-2.05,1.18-3.61,1.18h-8.51v-8.58h8.51ZM30.93,31.98c0,1.5-.47,2.67-1.41,3.51s-2.27,1.25-3.99,1.25h-8.51v-9.63h8.51c1.72,0,3.05.42,3.99,1.25s1.41,2.01,1.41,3.54v.08Z" })
51
51
  ], -1)
52
52
  ]));
53
53
  }
@@ -57,12 +57,12 @@ const b0 = /* @__PURE__ */ X(f0, [["render", h0]]), m0 = {}, x0 = {
57
57
  };
58
58
  function g0(e, u) {
59
59
  return m(), F("span", x0, u[0] || (u[0] = [
60
- E("svg", {
60
+ A("svg", {
61
61
  viewBox: "0 0 48 48",
62
62
  version: "1.1",
63
63
  xmlns: "http://www.w3.org/2000/svg"
64
64
  }, [
65
- E("path", { d: "M34.29,28.09l-9.59-9.59c-.2-.2-.45-.29-.71-.29s-.51.1-.71.29l-9.59,9.59c-.63.63-.18,1.71.71,1.71h19.17c.22,0,.42-.07.57-.18.47-.33.6-1.06.13-1.53Z" })
65
+ A("path", { d: "M34.29,28.09l-9.59-9.59c-.2-.2-.45-.29-.71-.29s-.51.1-.71.29l-9.59,9.59c-.63.63-.18,1.71.71,1.71h19.17c.22,0,.42-.07.57-.18.47-.33.6-1.06.13-1.53Z" })
66
66
  ], -1)
67
67
  ]));
68
68
  }
@@ -72,12 +72,12 @@ const v0 = /* @__PURE__ */ X(m0, [["render", g0]]), _0 = {}, k0 = {
72
72
  };
73
73
  function y0(e, u) {
74
74
  return m(), F("span", k0, u[0] || (u[0] = [
75
- E("svg", {
75
+ A("svg", {
76
76
  viewBox: "0 0 48 48",
77
77
  version: "1.1",
78
78
  xmlns: "http://www.w3.org/2000/svg"
79
79
  }, [
80
- E("path", { d: `M43.41,13.17c-0.78-0.78-2.05-0.78-2.83,0L19.18,34.58L7.41,22.82c-0.78-0.78-2.05-0.78-2.83,0c-0.78,0.78-0.78,2.05,0,2.83
80
+ A("path", { d: `M43.41,13.17c-0.78-0.78-2.05-0.78-2.83,0L19.18,34.58L7.41,22.82c-0.78-0.78-2.05-0.78-2.83,0c-0.78,0.78-0.78,2.05,0,2.83
81
81
  l13.18,13.17c0.39,0.39,0.9,0.59,1.41,0.59s1.02-0.2,1.41-0.59L43.41,16C44.2,15.22,44.2,13.95,43.41,13.17z` })
82
82
  ], -1)
83
83
  ]));
@@ -88,12 +88,12 @@ const w0 = /* @__PURE__ */ X(_0, [["render", y0]]), C0 = {}, D0 = {
88
88
  };
89
89
  function E0(e, u) {
90
90
  return m(), F("span", D0, u[0] || (u[0] = [
91
- E("svg", {
91
+ A("svg", {
92
92
  viewBox: "0 0 48 48",
93
93
  version: "1.1",
94
94
  xmlns: "http://www.w3.org/2000/svg"
95
95
  }, [
96
- E("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M37.01,20.06l-14.7,14.7
96
+ A("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M37.01,20.06l-14.7,14.7
97
97
  c-0.39,0.39-0.9,0.59-1.41,0.59s-1.02-0.2-1.41-0.59l-8.48-8.48c-0.78-0.78-0.78-2.05,0-2.83c0.78-0.78,2.05-0.78,2.83,0l7.07,7.07
98
98
  l13.28-13.28c0.78-0.78,2.05-0.78,2.83,0C37.79,18.02,37.79,19.28,37.01,20.06z` })
99
99
  ], -1)
@@ -105,13 +105,13 @@ const nn = /* @__PURE__ */ X(C0, [["render", E0]]), A0 = {}, F0 = {
105
105
  };
106
106
  function S0(e, u) {
107
107
  return m(), F("span", F0, u[0] || (u[0] = [
108
- E("svg", {
108
+ A("svg", {
109
109
  viewBox: "0 0 48 48",
110
110
  version: "1.1",
111
111
  xmlns: "http://www.w3.org/2000/svg"
112
112
  }, [
113
- E("path", { d: "M38,16h-20c-3.31,0-6,2.69-6,6v16c0,3.31,2.69,6,6,6h20c3.31,0,6-2.69,6-6v-16c0-3.31-2.69-6-6-6ZM40,38c0,1.1-.9,2-2,2h-20c-1.1,0-2-.9-2-2v-16c0-1.1.9-2,2-2h20c1.1,0,2,.9,2,2v16Z" }),
114
- E("path", { d: "M21.5,11v3l5-4.97-5-5.03v3h-7.03c-5.77,0-10.47,4.49-10.47,10,0,1.1.9,2,2,2s2-.9,2-2c0-3.31,2.9-6,6.47-6h7.03Z" })
113
+ A("path", { d: "M38,16h-20c-3.31,0-6,2.69-6,6v16c0,3.31,2.69,6,6,6h20c3.31,0,6-2.69,6-6v-16c0-3.31-2.69-6-6-6ZM40,38c0,1.1-.9,2-2,2h-20c-1.1,0-2-.9-2-2v-16c0-1.1.9-2,2-2h20c1.1,0,2,.9,2,2v16Z" }),
114
+ A("path", { d: "M21.5,11v3l5-4.97-5-5.03v3h-7.03c-5.77,0-10.47,4.49-10.47,10,0,1.1.9,2,2,2s2-.9,2-2c0-3.31,2.9-6,6.47-6h7.03Z" })
115
115
  ], -1)
116
116
  ]));
117
117
  }
@@ -121,12 +121,12 @@ const q0 = /* @__PURE__ */ X(A0, [["render", S0]]), $0 = {}, B0 = {
121
121
  };
122
122
  function M0(e, u) {
123
123
  return m(), F("span", B0, u[0] || (u[0] = [
124
- E("svg", {
124
+ A("svg", {
125
125
  viewBox: "0 0 48 48",
126
126
  version: "1.1",
127
127
  xmlns: "http://www.w3.org/2000/svg"
128
128
  }, [
129
- E("path", { d: `M26.83,24l12.59-12.59c0.78-0.78,0.78-2.05,0-2.83c-0.78-0.78-2.05-0.78-2.83,0L24,21.17L11.41,8.59
129
+ A("path", { d: `M26.83,24l12.59-12.59c0.78-0.78,0.78-2.05,0-2.83c-0.78-0.78-2.05-0.78-2.83,0L24,21.17L11.41,8.59
130
130
  c-0.78-0.78-2.05-0.78-2.83,0c-0.78,0.78-0.78,2.05,0,2.83L21.17,24L8.59,36.59c-0.78,0.78-0.78,2.05,0,2.83
131
131
  C8.98,39.8,9.49,40,10,40s1.02-0.2,1.41-0.59L24,26.83l12.59,12.59C36.98,39.8,37.49,40,38,40s1.02-0.2,1.41-0.59
132
132
  c0.78-0.78,0.78-2.05,0-2.83L26.83,24z` })
@@ -139,12 +139,12 @@ const rt = /* @__PURE__ */ X($0, [["render", M0]]), z0 = {}, T0 = {
139
139
  };
140
140
  function R0(e, u) {
141
141
  return m(), F("span", T0, u[0] || (u[0] = [
142
- E("svg", {
142
+ A("svg", {
143
143
  viewBox: "0 0 48 48",
144
144
  version: "1.1",
145
145
  xmlns: "http://www.w3.org/2000/svg"
146
146
  }, [
147
- E("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M33.9,31.07c0.78,0.78,0.78,2.05,0,2.83
147
+ A("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M33.9,31.07c0.78,0.78,0.78,2.05,0,2.83
148
148
  c-0.39,0.39-0.9,0.59-1.41,0.59s-1.02-0.2-1.41-0.59L24,26.83l-7.07,7.07c-0.39,0.39-0.9,0.59-1.41,0.59s-1.02-0.2-1.41-0.59
149
149
  c-0.78-0.78-0.78-2.05,0-2.83L21.17,24l-7.07-7.07c-0.78-0.78-0.78-2.05,0-2.83c0.78-0.78,2.05-0.78,2.83,0L24,21.17l7.07-7.07
150
150
  c0.78-0.78,2.05-0.78,2.83,0c0.78,0.78,0.78,2.05,0,2.83L26.83,24L33.9,31.07z` })
@@ -157,13 +157,13 @@ const on = /* @__PURE__ */ X(z0, [["render", R0]]), L0 = {}, I0 = {
157
157
  };
158
158
  function O0(e, u) {
159
159
  return m(), F("span", I0, u[0] || (u[0] = [
160
- E("svg", {
160
+ A("svg", {
161
161
  viewBox: "0 0 48 48",
162
162
  version: "1.1",
163
163
  xmlns: "http://www.w3.org/2000/svg"
164
164
  }, [
165
- E("path", { d: "M30,16H10c-3.31,0-6,2.69-6,6v16c0,3.31,2.69,6,6,6h20c3.31,0,6-2.69,6-6v-16c0-3.31-2.69-6-6-6ZM32,38c0,1.1-.9,2-2,2H10c-1.1,0-2-.9-2-2v-16c0-1.1.9-2,2-2h20c1.1,0,2,.9,2,2v16Z" }),
166
- E("path", { d: "M33.53,7h-7.03v-3l-5,5.03,5,4.97v-3h7.03c3.57,0,6.47,2.69,6.47,6,0,1.1.9,2,2,2s2-.9,2-2c0-5.51-4.7-10-10.47-10Z" })
165
+ A("path", { d: "M30,16H10c-3.31,0-6,2.69-6,6v16c0,3.31,2.69,6,6,6h20c3.31,0,6-2.69,6-6v-16c0-3.31-2.69-6-6-6ZM32,38c0,1.1-.9,2-2,2H10c-1.1,0-2-.9-2-2v-16c0-1.1.9-2,2-2h20c1.1,0,2,.9,2,2v16Z" }),
166
+ A("path", { d: "M33.53,7h-7.03v-3l-5,5.03,5,4.97v-3h7.03c3.57,0,6.47,2.69,6.47,6,0,1.1.9,2,2,2s2-.9,2-2c0-5.51-4.7-10-10.47-10Z" })
167
167
  ], -1)
168
168
  ]));
169
169
  }
@@ -173,14 +173,14 @@ const P0 = /* @__PURE__ */ X(L0, [["render", O0]]), N0 = {}, Z0 = {
173
173
  };
174
174
  function V0(e, u) {
175
175
  return m(), F("span", Z0, u[0] || (u[0] = [
176
- E("svg", {
176
+ A("svg", {
177
177
  viewBox: "0 0 48 48",
178
178
  version: "1.1",
179
179
  xmlns: "http://www.w3.org/2000/svg"
180
180
  }, [
181
- E("path", { d: "M8.67,21.51c-.17-.11-.34-.2-.52-.28-.18-.07-.37-.13-.56-.17-.39-.08-.79-.08-1.18,0-.19.04-.38.1-.56.17-.18.08-.35.17-.52.28-.16.11-.31.23-.45.37-.56.56-.88,1.33-.88,2.12,0,.2.02.39.06.59.04.19.09.38.17.56.07.18.17.35.28.52.1.16.23.31.37.45.14.14.29.27.45.37.17.11.34.2.52.28.18.08.37.13.56.17.2.04.39.06.59.06.79,0,1.56-.32,2.12-.88.56-.56.88-1.33.88-2.12s-.32-1.56-.88-2.12c-.14-.14-.29-.26-.45-.37Z" }),
182
- E("path", { d: "M21.88,21.88c-.56.56-.88,1.33-.88,2.12,0,.2.02.39.06.59.04.19.1.38.17.56.08.18.17.35.28.52.11.16.23.31.37.45.56.56,1.33.88,2.12.88s1.56-.32,2.12-.88c.14-.14.26-.29.37-.45.11-.17.2-.34.28-.52.08-.18.13-.37.17-.56.04-.2.06-.39.06-.59,0-.79-.32-1.56-.88-2.12-1.11-1.12-3.13-1.12-4.24,0Z" }),
183
- E("path", { d: "M43.12,21.88c-.7-.7-1.73-1.02-2.71-.82-.19.04-.38.09-.56.17-.18.07-.35.17-.52.28-.16.1-.31.23-.45.37s-.27.29-.37.45c-.11.17-.21.34-.28.52-.08.18-.13.37-.17.56-.04.2-.06.4-.06.59,0,.79.32,1.56.88,2.12.14.14.29.26.45.37.17.11.34.2.52.28.18.07.37.13.56.17.2.04.39.06.59.06.79,0,1.56-.32,2.12-.88.56-.56.88-1.33.88-2.12s-.32-1.56-.88-2.12Z" })
181
+ A("path", { d: "M8.67,21.51c-.17-.11-.34-.2-.52-.28-.18-.07-.37-.13-.56-.17-.39-.08-.79-.08-1.18,0-.19.04-.38.1-.56.17-.18.08-.35.17-.52.28-.16.11-.31.23-.45.37-.56.56-.88,1.33-.88,2.12,0,.2.02.39.06.59.04.19.09.38.17.56.07.18.17.35.28.52.1.16.23.31.37.45.14.14.29.27.45.37.17.11.34.2.52.28.18.08.37.13.56.17.2.04.39.06.59.06.79,0,1.56-.32,2.12-.88.56-.56.88-1.33.88-2.12s-.32-1.56-.88-2.12c-.14-.14-.29-.26-.45-.37Z" }),
182
+ A("path", { d: "M21.88,21.88c-.56.56-.88,1.33-.88,2.12,0,.2.02.39.06.59.04.19.1.38.17.56.08.18.17.35.28.52.11.16.23.31.37.45.56.56,1.33.88,2.12.88s1.56-.32,2.12-.88c.14-.14.26-.29.37-.45.11-.17.2-.34.28-.52.08-.18.13-.37.17-.56.04-.2.06-.39.06-.59,0-.79-.32-1.56-.88-2.12-1.11-1.12-3.13-1.12-4.24,0Z" }),
183
+ A("path", { d: "M43.12,21.88c-.7-.7-1.73-1.02-2.71-.82-.19.04-.38.09-.56.17-.18.07-.35.17-.52.28-.16.1-.31.23-.45.37s-.27.29-.37.45c-.11.17-.21.34-.28.52-.08.18-.13.37-.17.56-.04.2-.06.4-.06.59,0,.79.32,1.56.88,2.12.14.14.29.26.45.37.17.11.34.2.52.28.18.07.37.13.56.17.2.04.39.06.59.06.79,0,1.56-.32,2.12-.88.56-.56.88-1.33.88-2.12s-.32-1.56-.88-2.12Z" })
184
184
  ], -1)
185
185
  ]));
186
186
  }
@@ -226,20 +226,20 @@ const so = /* @__PURE__ */ X(no, [["render", ro]]), co = {}, io = {
226
226
  };
227
227
  function ao(e, u) {
228
228
  return m(), F("span", io, u[0] || (u[0] = [
229
- E("svg", {
229
+ A("svg", {
230
230
  viewBox: "0 0 48 48",
231
231
  version: "1.1",
232
232
  xmlns: "http://www.w3.org/2000/svg"
233
233
  }, [
234
- E("path", { d: `M39.56,8.44c-0.78-0.78-2.05-0.78-2.83,0L34,11.17C30.63,9.07,27.27,8,24,8C12,8,2.7,22.31,2.31,22.92
234
+ A("path", { d: `M39.56,8.44c-0.78-0.78-2.05-0.78-2.83,0L34,11.17C30.63,9.07,27.27,8,24,8C12,8,2.7,22.31,2.31,22.92
235
235
  c-0.42,0.66-0.42,1.5,0,2.15c0.15,0.24,3.38,5.23,8.41,9.37l-2.29,2.29c-0.78,0.78-0.78,2.05,0,2.83c0.39,0.39,0.9,0.59,1.41,0.59
236
236
  s1.02-0.2,1.41-0.59l28.3-28.3C40.35,10.48,40.35,9.22,39.56,8.44z M6.44,24C8.71,20.87,15.88,12,24,12c2.27,0,4.64,0.71,7.08,2.09
237
237
  l-2.29,2.29C27.37,15.49,25.72,15,24,15c-4.96,0-9,4.04-9,9c0,1.72,0.49,3.37,1.39,4.79l-2.82,2.82C10.21,28.9,7.64,25.65,6.44,24z
238
238
  M19,24c0-2.76,2.24-5,5-5c0.63,0,1.25,0.13,1.82,0.35l-6.47,6.47C19.13,25.25,19,24.63,19,24z` }),
239
- E("path", { d: `M45.68,22.92c-0.1-0.15-2.44-3.79-6.23-7.44c-0.79-0.76-2.06-0.74-2.83,0.05c-0.77,0.8-0.74,2.06,0.05,2.83
239
+ A("path", { d: `M45.68,22.92c-0.1-0.15-2.44-3.79-6.23-7.44c-0.79-0.76-2.06-0.74-2.83,0.05c-0.77,0.8-0.74,2.06,0.05,2.83
240
240
  c2.25,2.17,3.97,4.36,4.88,5.63C39.29,27.13,32.12,36,24,36c-1.61,0-3.3-0.36-5.01-1.07c-1.02-0.42-2.19,0.06-2.61,1.08
241
241
  c-0.42,1.02,0.06,2.19,1.08,2.61C19.66,39.54,21.86,40,24,40c12,0,21.29-14.31,21.68-14.92C46.11,24.42,46.11,23.58,45.68,22.92z` }),
242
- E("path", { d: "M29,24c0,2.76-2.24,5-5,5c-1.1,0-2,0.9-2,2s0.9,2,2,2c4.96,0,9-4.04,9-9c0-1.1-0.9-2-2-2S29,22.9,29,24z" })
242
+ A("path", { d: "M29,24c0,2.76-2.24,5-5,5c-1.1,0-2,0.9-2,2s0.9,2,2,2c4.96,0,9-4.04,9-9c0-1.1-0.9-2-2-2S29,22.9,29,24z" })
243
243
  ], -1)
244
244
  ]));
245
245
  }
@@ -249,12 +249,12 @@ const rn = /* @__PURE__ */ X(co, [["render", ao]]), lo = {}, fo = {
249
249
  };
250
250
  function po(e, u) {
251
251
  return m(), F("span", fo, u[0] || (u[0] = [
252
- E("svg", {
252
+ A("svg", {
253
253
  viewBox: "0 0 48 48",
254
254
  version: "1.1",
255
255
  xmlns: "http://www.w3.org/2000/svg"
256
256
  }, [
257
- E("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M28.75,33.78c-1.8,1.69-3.34,2.81-4.26,3.35
257
+ A("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M28.75,33.78c-1.8,1.69-3.34,2.81-4.26,3.35
258
258
  C23.51,37.71,22.06,38,21.39,38c-0.56,0-1.02-0.2-1.28-0.61c-0.26-0.41-0.39-0.85-0.39-1.32c0-1.72,1.14-6.4,3.43-14.02
259
259
  c0.12-0.38,0.18-0.67,0.18-0.89c0-0.34-0.18-0.52-0.56-0.52c-0.49,0-1.52,0.79-3.1,2.36c-0.21,0.21-0.55,0.23-0.78,0.05l-0.1-0.08
260
260
  c-0.27-0.21-0.31-0.62-0.06-0.87c2.64-2.73,5.63-4.09,7.65-4.09c0.55,0,0.94,0.09,1.16,0.26c0.21,0.17,0.32,0.45,0.32,0.83
@@ -270,12 +270,12 @@ const kt = /* @__PURE__ */ X(lo, [["render", po]]), ho = {}, bo = {
270
270
  };
271
271
  function mo(e, u) {
272
272
  return m(), F("span", bo, u[0] || (u[0] = [
273
- E("svg", {
273
+ A("svg", {
274
274
  viewBox: "0 0 48 48",
275
275
  version: "1.1",
276
276
  xmlns: "http://www.w3.org/2000/svg"
277
277
  }, [
278
- E("path", { d: "M28.08,13.16c.45-2.39.89-4.74,1.34-7.09l5.9-.47.29-1.6h-16l-.29,1.6,5.68.47c-.38,2.35-.76,4.7-1.19,7.09l-1.68,9.32-.55,3.04-1.68,9.3c-.43,2.36-.89,4.72-1.36,7.07l-5.86.52-.29,1.6h16l.29-1.6-5.72-.51c.4-2.35.8-4.71,1.21-7.07.54-3.07,1.09-6.17,1.65-9.3l.55-3.04c.56-3.12,1.13-6.23,1.71-9.32Z" })
278
+ A("path", { d: "M28.08,13.16c.45-2.39.89-4.74,1.34-7.09l5.9-.47.29-1.6h-16l-.29,1.6,5.68.47c-.38,2.35-.76,4.7-1.19,7.09l-1.68,9.32-.55,3.04-1.68,9.3c-.43,2.36-.89,4.72-1.36,7.07l-5.86.52-.29,1.6h16l.29-1.6-5.72-.51c.4-2.35.8-4.71,1.21-7.07.54-3.07,1.09-6.17,1.65-9.3l.55-3.04c.56-3.12,1.13-6.23,1.71-9.32Z" })
279
279
  ], -1)
280
280
  ]));
281
281
  }
@@ -285,13 +285,13 @@ const xo = /* @__PURE__ */ X(ho, [["render", mo]]), go = {}, vo = {
285
285
  };
286
286
  function _o(e, u) {
287
287
  return m(), F("span", vo, u[0] || (u[0] = [
288
- E("svg", {
288
+ A("svg", {
289
289
  viewBox: "0 0 48 48",
290
290
  version: "1.1",
291
291
  xmlns: "http://www.w3.org/2000/svg"
292
292
  }, [
293
- E("path", { d: "M42,22c-1.1,0-2,.9-2,2v14c0,1.1-.9,2-2,2H10c-1.1,0-2-.9-2-2V10c0-1.1.9-2,2-2h14c1.1,0,2-.9,2-2s-.9-2-2-2h-14c-3.31,0-6,2.69-6,6v28c0,3.31,2.69,6,6,6h28c3.31,0,6-2.69,6-6v-14c0-1.1-.9-2-2-2Z" }),
294
- E("path", { d: "M43.96,5.61c-.01-.06-.03-.11-.05-.17-.02-.07-.04-.14-.06-.2-.03-.07-.07-.13-.1-.19-.03-.05-.05-.1-.08-.15-.15-.22-.34-.41-.55-.55-.05-.03-.1-.05-.15-.08-.06-.04-.13-.07-.2-.1-.07-.03-.13-.04-.2-.06-.06-.02-.11-.04-.17-.05-.13-.03-.26-.04-.39-.04h-10c-1.1,0-2,.9-2,2s.9,2,2,2h5.17l-14.59,14.59c-.78.78-.78,2.05,0,2.83.39.39.9.59,1.41.59s1.02-.2,1.41-.59l14.59-14.59v5.17c0,1.1.9,2,2,2s2-.9,2-2V6c0-.13-.01-.26-.04-.39Z" })
293
+ A("path", { d: "M42,22c-1.1,0-2,.9-2,2v14c0,1.1-.9,2-2,2H10c-1.1,0-2-.9-2-2V10c0-1.1.9-2,2-2h14c1.1,0,2-.9,2-2s-.9-2-2-2h-14c-3.31,0-6,2.69-6,6v28c0,3.31,2.69,6,6,6h28c3.31,0,6-2.69,6-6v-14c0-1.1-.9-2-2-2Z" }),
294
+ A("path", { d: "M43.96,5.61c-.01-.06-.03-.11-.05-.17-.02-.07-.04-.14-.06-.2-.03-.07-.07-.13-.1-.19-.03-.05-.05-.1-.08-.15-.15-.22-.34-.41-.55-.55-.05-.03-.1-.05-.15-.08-.06-.04-.13-.07-.2-.1-.07-.03-.13-.04-.2-.06-.06-.02-.11-.04-.17-.05-.13-.03-.26-.04-.39-.04h-10c-1.1,0-2,.9-2,2s.9,2,2,2h5.17l-14.59,14.59c-.78.78-.78,2.05,0,2.83.39.39.9.59,1.41.59s1.02-.2,1.41-.59l14.59-14.59v5.17c0,1.1.9,2,2,2s2-.9,2-2V6c0-.13-.01-.26-.04-.39Z" })
295
295
  ], -1)
296
296
  ]));
297
297
  }
@@ -319,12 +319,12 @@ const So = /* @__PURE__ */ X(Eo, [["render", Fo]]), qo = {}, $o = {
319
319
  };
320
320
  function Bo(e, u) {
321
321
  return m(), F("span", $o, u[0] || (u[0] = [
322
- E("svg", {
322
+ A("svg", {
323
323
  viewBox: "0 0 48 48",
324
324
  version: "1.1",
325
325
  xmlns: "http://www.w3.org/2000/svg"
326
326
  }, [
327
- E("circle", {
327
+ A("circle", {
328
328
  cx: "24",
329
329
  cy: "24",
330
330
  r: "20"
@@ -338,13 +338,13 @@ const Su = /* @__PURE__ */ X(qo, [["render", Bo]]), Mo = {}, zo = {
338
338
  };
339
339
  function To(e, u) {
340
340
  return m(), F("span", zo, u[0] || (u[0] = [
341
- E("svg", {
341
+ A("svg", {
342
342
  viewBox: "0 0 48 48",
343
343
  version: "1.1",
344
344
  xmlns: "http://www.w3.org/2000/svg"
345
345
  }, [
346
- E("path", { d: "M33.47,27.22c-.98.51-1.36,1.71-.85,2.7.46.89.7,1.81.7,2.73,0,4.05-4.18,7.35-9.32,7.35-4,0-7.55-2.02-8.84-5.02-.44-1.01-1.61-1.48-2.63-1.05-1.02.44-1.49,1.61-1.05,2.63,1.91,4.45,6.94,7.44,12.52,7.44,7.35,0,13.32-5.09,13.32-11.35,0-1.57-.39-3.11-1.15-4.58-.51-.98-1.71-1.36-2.7-.85Z" }),
347
- E("path", { d: "M42,22h-12.93c-1.57-.6-3.2-.93-4.88-.99-.07,0-.13-.02-.2-.02-4.57,0-8.29-2.91-8.29-6.5s3.72-6.5,8.29-6.5c3.57,0,6.73,1.79,7.87,4.45.43,1.02,1.61,1.48,2.63,1.05,1.02-.43,1.49-1.61,1.05-2.63-1.76-4.11-6.4-6.88-11.55-6.88-6.78,0-12.29,4.71-12.29,10.5,0,2.94,1.43,5.6,3.72,7.5H6c-1.1,0-2,.9-2,2s.9,2,2,2h22.68s.03,0,.05,0c.01,0,.02,0,.03,0h13.24c1.1,0,2-.9,2-2s-.9-2-2-2Z" })
346
+ A("path", { d: "M33.47,27.22c-.98.51-1.36,1.71-.85,2.7.46.89.7,1.81.7,2.73,0,4.05-4.18,7.35-9.32,7.35-4,0-7.55-2.02-8.84-5.02-.44-1.01-1.61-1.48-2.63-1.05-1.02.44-1.49,1.61-1.05,2.63,1.91,4.45,6.94,7.44,12.52,7.44,7.35,0,13.32-5.09,13.32-11.35,0-1.57-.39-3.11-1.15-4.58-.51-.98-1.71-1.36-2.7-.85Z" }),
347
+ A("path", { d: "M42,22h-12.93c-1.57-.6-3.2-.93-4.88-.99-.07,0-.13-.02-.2-.02-4.57,0-8.29-2.91-8.29-6.5s3.72-6.5,8.29-6.5c3.57,0,6.73,1.79,7.87,4.45.43,1.02,1.61,1.48,2.63,1.05,1.02-.43,1.49-1.61,1.05-2.63-1.76-4.11-6.4-6.88-11.55-6.88-6.78,0-12.29,4.71-12.29,10.5,0,2.94,1.43,5.6,3.72,7.5H6c-1.1,0-2,.9-2,2s.9,2,2,2h22.68s.03,0,.05,0c.01,0,.02,0,.03,0h13.24c1.1,0,2-.9,2-2s-.9-2-2-2Z" })
348
348
  ], -1)
349
349
  ]));
350
350
  }
@@ -354,13 +354,13 @@ const Ro = /* @__PURE__ */ X(Mo, [["render", To]]), Lo = {}, Io = {
354
354
  };
355
355
  function Oo(e, u) {
356
356
  return m(), F("span", Io, u[0] || (u[0] = [
357
- E("svg", {
357
+ A("svg", {
358
358
  viewBox: "0 0 48 48",
359
359
  version: "1.1",
360
360
  xmlns: "http://www.w3.org/2000/svg"
361
361
  }, [
362
- E("path", { d: "M24,36c7.72,0,14-6.28,14-14V6c0-1.1-.9-2-2-2s-2,.9-2,2v16c0,5.51-4.49,10-10,10s-10-4.49-10-10V6c0-1.1-.9-2-2-2s-2,.9-2,2v16c0,7.72,6.28,14,14,14Z" }),
363
- E("path", { d: "M40,40H8c-1.1,0-2,.9-2,2s.9,2,2,2h32c1.1,0,2-.9,2-2s-.9-2-2-2Z" })
362
+ A("path", { d: "M24,36c7.72,0,14-6.28,14-14V6c0-1.1-.9-2-2-2s-2,.9-2,2v16c0,5.51-4.49,10-10,10s-10-4.49-10-10V6c0-1.1-.9-2-2-2s-2,.9-2,2v16c0,7.72,6.28,14,14,14Z" }),
363
+ A("path", { d: "M40,40H8c-1.1,0-2,.9-2,2s.9,2,2,2h32c1.1,0,2-.9,2-2s-.9-2-2-2Z" })
364
364
  ], -1)
365
365
  ]));
366
366
  }
@@ -370,15 +370,15 @@ const Po = /* @__PURE__ */ X(Lo, [["render", Oo]]), No = {}, Zo = {
370
370
  };
371
371
  function Vo(e, u) {
372
372
  return m(), F("span", Zo, u[0] || (u[0] = [
373
- E("svg", {
373
+ A("svg", {
374
374
  viewBox: "0 0 48 48",
375
375
  version: "1.1",
376
376
  xmlns: "http://www.w3.org/2000/svg"
377
377
  }, [
378
- E("path", { d: `M45.68,22.92C45.29,22.31,36,8,24,8S2.7,22.31,2.31,22.92c-0.42,0.66-0.42,1.5,0,2.15C2.7,25.69,12,40,24,40
378
+ A("path", { d: `M45.68,22.92C45.29,22.31,36,8,24,8S2.7,22.31,2.31,22.92c-0.42,0.66-0.42,1.5,0,2.15C2.7,25.69,12,40,24,40
379
379
  s21.29-14.31,21.68-14.92C46.11,24.42,46.11,23.58,45.68,22.92z M24,36c-8.12,0-15.29-8.87-17.56-12C8.71,20.87,15.88,12,24,12
380
380
  c8.12,0,15.29,8.87,17.56,12C39.29,27.13,32.12,36,24,36z` }),
381
- E("path", { d: `M24,15c-4.96,0-9,4.04-9,9c0,4.96,4.04,9,9,9c4.96,0,9-4.04,9-9C33,19.04,28.96,15,24,15z M24,29c-2.76,0-5-2.24-5-5
381
+ A("path", { d: `M24,15c-4.96,0-9,4.04-9,9c0,4.96,4.04,9,9,9c4.96,0,9-4.04,9-9C33,19.04,28.96,15,24,15z M24,29c-2.76,0-5-2.24-5-5
382
382
  s2.24-5,5-5s5,2.24,5,5S26.76,29,24,29z` })
383
383
  ], -1)
384
384
  ]));
@@ -389,12 +389,12 @@ const sn = /* @__PURE__ */ X(No, [["render", Vo]]), Uo = {}, Ho = {
389
389
  };
390
390
  function jo(e, u) {
391
391
  return m(), F("span", Ho, u[0] || (u[0] = [
392
- E("svg", {
392
+ A("svg", {
393
393
  viewBox: "0 0 48 48",
394
394
  version: "1.1",
395
395
  xmlns: "http://www.w3.org/2000/svg"
396
396
  }, [
397
- E("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M22.62,9.25h2.76c0.87,0,1.56,0.74,1.49,1.61
397
+ A("path", { d: `M24,2C11.85,2,2,11.85,2,24s9.85,22,22,22s22-9.85,22-22S36.15,2,24,2z M22.62,9.25h2.76c0.87,0,1.56,0.74,1.49,1.61
398
398
  l-1.27,16.5c-0.06,0.78-0.71,1.38-1.49,1.38h-0.22c-0.78,0-1.43-0.6-1.49-1.38l-1.27-16.5C21.06,9.99,21.75,9.25,22.62,9.25z
399
399
  M24,38.88c-1.59,0-2.88-1.29-2.88-2.88s1.29-2.88,2.88-2.88s2.88,1.29,2.88,2.88S25.59,38.88,24,38.88z` })
400
400
  ], -1)
@@ -406,15 +406,15 @@ const cn = /* @__PURE__ */ X(Uo, [["render", jo]]), Wo = {}, Go = {
406
406
  };
407
407
  function Xo(e, u) {
408
408
  return m(), F("span", Go, u[0] || (u[0] = [
409
- E("svg", {
409
+ A("svg", {
410
410
  viewBox: "0 0 48 48",
411
411
  version: "1.1",
412
412
  xmlns: "http://www.w3.org/2000/svg"
413
413
  }, [
414
- E("path", { d: `M43.41,40.59L32.62,29.8C34.73,27.09,36,23.69,36,20c0-8.82-7.18-16-16-16S4,11.18,4,20s7.18,16,16,16
414
+ A("path", { d: `M43.41,40.59L32.62,29.8C34.73,27.09,36,23.69,36,20c0-8.82-7.18-16-16-16S4,11.18,4,20s7.18,16,16,16
415
415
  c3.69,0,7.09-1.27,9.8-3.38l10.79,10.79C40.98,43.8,41.49,44,42,44s1.02-0.2,1.41-0.59C44.2,42.63,44.2,41.37,43.41,40.59z M8,20
416
416
  c0-6.62,5.38-12,12-12c6.62,0,12,5.38,12,12c0,6.62-5.38,12-12,12C13.38,32,8,26.62,8,20z` }),
417
- E("path", { d: `M26,18h-4v-4c0-1.1-0.9-2-2-2s-2,0.9-2,2v4h-4c-1.1,0-2,0.9-2,2s0.9,2,2,2h4v4c0,1.1,0.9,2,2,2s2-0.9,2-2v-4h4
417
+ A("path", { d: `M26,18h-4v-4c0-1.1-0.9-2-2-2s-2,0.9-2,2v4h-4c-1.1,0-2,0.9-2,2s0.9,2,2,2h4v4c0,1.1,0.9,2,2,2s2-0.9,2-2v-4h4
418
418
  c1.1,0,2-0.9,2-2S27.1,18,26,18z` })
419
419
  ], -1)
420
420
  ]));
@@ -425,15 +425,15 @@ const Yo = /* @__PURE__ */ X(Wo, [["render", Xo]]), Jo = {}, Ko = {
425
425
  };
426
426
  function Qo(e, u) {
427
427
  return m(), F("span", Ko, u[0] || (u[0] = [
428
- E("svg", {
428
+ A("svg", {
429
429
  viewBox: "0 0 48 48",
430
430
  version: "1.1",
431
431
  xmlns: "http://www.w3.org/2000/svg"
432
432
  }, [
433
- E("path", { d: `M43.41,40.59L32.62,29.8C34.73,27.09,36,23.69,36,20c0-8.82-7.18-16-16-16S4,11.18,4,20s7.18,16,16,16
433
+ A("path", { d: `M43.41,40.59L32.62,29.8C34.73,27.09,36,23.69,36,20c0-8.82-7.18-16-16-16S4,11.18,4,20s7.18,16,16,16
434
434
  c3.69,0,7.09-1.27,9.8-3.38l10.79,10.79C40.98,43.8,41.49,44,42,44s1.02-0.2,1.41-0.59C44.2,42.63,44.2,41.37,43.41,40.59z M8,20
435
435
  c0-6.62,5.38-12,12-12c6.62,0,12,5.38,12,12c0,6.62-5.38,12-12,12C13.38,32,8,26.62,8,20z` }),
436
- E("path", { d: "M26,18H14c-1.1,0-2,0.9-2,2s0.9,2,2,2h12c1.1,0,2-0.9,2-2S27.1,18,26,18z" })
436
+ A("path", { d: "M26,18H14c-1.1,0-2,0.9-2,2s0.9,2,2,2h12c1.1,0,2-0.9,2-2S27.1,18,26,18z" })
437
437
  ], -1)
438
438
  ]));
439
439
  }
@@ -453,11 +453,11 @@ const er = /* @__PURE__ */ X(Jo, [["render", Qo]]), st = {
453
453
  text: {}
454
454
  },
455
455
  setup(e) {
456
- const u = e, t = y(() => {
456
+ const u = e, t = k(() => {
457
457
  const o = [];
458
458
  return u.type && o.push(`is-${u.type}`), o;
459
- }), n = y(() => u.icon ? u.icon : u.showIcon && u.type ? st[u.type] : void 0);
460
- return (o, r) => (m(), L(b(Ie), {
459
+ }), n = k(() => u.icon ? u.icon : u.showIcon && u.type ? st[u.type] : void 0);
460
+ return (o, r) => (m(), L(b(Oe), {
461
461
  class: K(["sq-alert", t.value])
462
462
  }, {
463
463
  default: Z(() => [
@@ -746,15 +746,15 @@ yu.prototype.parse = function(e, u) {
746
746
  const p = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
747
747
  if (!p) {
748
748
  const f = this.hostname.split(/\./);
749
- for (let g = 0, _ = f.length; g < _; g++) {
750
- const A = f[g];
751
- if (A && !A.match(Ft)) {
749
+ for (let g = 0, v = f.length; g < v; g++) {
750
+ const C = f[g];
751
+ if (C && !C.match(Ft)) {
752
752
  let w = "";
753
- for (let C = 0, k = A.length; C < k; C++)
754
- A.charCodeAt(C) > 127 ? w += "x" : w += A[C];
753
+ for (let D = 0, y = C.length; D < y; D++)
754
+ C.charCodeAt(D) > 127 ? w += "x" : w += C[D];
755
755
  if (!w.match(Ft)) {
756
- const C = f.slice(0, g), k = f.slice(g + 1), $ = A.match(hr);
757
- $ && (C.push($[1]), k.unshift($[2])), k.length && (r = k.join(".") + r), this.hostname = C.join(".");
756
+ const D = f.slice(0, g), y = f.slice(g + 1), $ = C.match(hr);
757
+ $ && (D.push($[1]), y.unshift($[2])), y.length && (r = y.join(".") + r), this.hostname = D.join(".");
758
758
  break;
759
759
  }
760
760
  }
@@ -839,10 +839,10 @@ var ne;
839
839
  e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
840
840
  })(ne || (ne = {}));
841
841
  const wr = 32;
842
- var Me;
842
+ var ze;
843
843
  (function(e) {
844
844
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
845
- })(Me || (Me = {}));
845
+ })(ze || (ze = {}));
846
846
  function Qu(e) {
847
847
  return e >= ne.ZERO && e <= ne.NINE;
848
848
  }
@@ -859,13 +859,13 @@ var te;
859
859
  (function(e) {
860
860
  e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
861
861
  })(te || (te = {}));
862
- var $e;
862
+ var Be;
863
863
  (function(e) {
864
864
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
865
- })($e || ($e = {}));
865
+ })(Be || (Be = {}));
866
866
  class Ar {
867
867
  constructor(u, t, n) {
868
- this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = te.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = $e.Strict;
868
+ this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = te.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Be.Strict;
869
869
  }
870
870
  /** Resets the instance to make it reusable. */
871
871
  startEntity(u) {
@@ -973,7 +973,7 @@ class Ar {
973
973
  return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
974
974
  if (u === ne.SEMI)
975
975
  this.consumed += 1;
976
- else if (this.decodeMode === $e.Strict)
976
+ else if (this.decodeMode === Be.Strict)
977
977
  return 0;
978
978
  return this.emitCodePoint(yr(this.result), this.consumed), this.errors && (u !== ne.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
979
979
  }
@@ -988,18 +988,18 @@ class Ar {
988
988
  */
989
989
  stateNamedEntity(u, t) {
990
990
  const { decodeTree: n } = this;
991
- let o = n[this.treeIndex], r = (o & Me.VALUE_LENGTH) >> 14;
991
+ let o = n[this.treeIndex], r = (o & ze.VALUE_LENGTH) >> 14;
992
992
  for (; t < u.length; t++, this.excess++) {
993
993
  const s = u.charCodeAt(t);
994
994
  if (this.treeIndex = Fr(n, o, this.treeIndex + Math.max(1, r), s), this.treeIndex < 0)
995
995
  return this.result === 0 || // If we are parsing an attribute
996
- this.decodeMode === $e.Attribute && // We shouldn't have consumed any characters after the entity,
996
+ this.decodeMode === Be.Attribute && // We shouldn't have consumed any characters after the entity,
997
997
  (r === 0 || // And there should be no invalid characters.
998
998
  Er(s)) ? 0 : this.emitNotTerminatedNamedEntity();
999
- if (o = n[this.treeIndex], r = (o & Me.VALUE_LENGTH) >> 14, r !== 0) {
999
+ if (o = n[this.treeIndex], r = (o & ze.VALUE_LENGTH) >> 14, r !== 0) {
1000
1000
  if (s === ne.SEMI)
1001
1001
  return this.emitNamedEntityData(this.treeIndex, r, this.consumed + this.excess);
1002
- this.decodeMode !== $e.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1002
+ this.decodeMode !== Be.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1003
1003
  }
1004
1004
  }
1005
1005
  return -1;
@@ -1011,7 +1011,7 @@ class Ar {
1011
1011
  */
1012
1012
  emitNotTerminatedNamedEntity() {
1013
1013
  var u;
1014
- const { result: t, decodeTree: n } = this, o = (n[t] & Me.VALUE_LENGTH) >> 14;
1014
+ const { result: t, decodeTree: n } = this, o = (n[t] & ze.VALUE_LENGTH) >> 14;
1015
1015
  return this.emitNamedEntityData(t, o, this.consumed), (u = this.errors) === null || u === void 0 || u.missingSemicolonAfterCharacterReference(), this.consumed;
1016
1016
  }
1017
1017
  /**
@@ -1025,7 +1025,7 @@ class Ar {
1025
1025
  */
1026
1026
  emitNamedEntityData(u, t, n) {
1027
1027
  const { decodeTree: o } = this;
1028
- return this.emitCodePoint(t === 1 ? o[u] & ~Me.VALUE_LENGTH : o[u + 1], n), t === 3 && this.emitCodePoint(o[u + 2], n), n;
1028
+ return this.emitCodePoint(t === 1 ? o[u] & ~ze.VALUE_LENGTH : o[u + 1], n), t === 3 && this.emitCodePoint(o[u + 2], n), n;
1029
1029
  }
1030
1030
  /**
1031
1031
  * Signal to the parser that the end of the input was reached.
@@ -1038,7 +1038,7 @@ class Ar {
1038
1038
  var u;
1039
1039
  switch (this.state) {
1040
1040
  case te.NamedEntity:
1041
- return this.result !== 0 && (this.decodeMode !== $e.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
1041
+ return this.result !== 0 && (this.decodeMode !== Be.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
1042
1042
  // Otherwise, emit a numeric entity if we have one.
1043
1043
  case te.NumericDecimal:
1044
1044
  return this.emitNumericEntity(0, 2);
@@ -1074,7 +1074,7 @@ function hn(e) {
1074
1074
  };
1075
1075
  }
1076
1076
  function Fr(e, u, t, n) {
1077
- const o = (u & Me.BRANCH_LENGTH) >> 7, r = u & Me.JUMP_TABLE;
1077
+ const o = (u & ze.BRANCH_LENGTH) >> 7, r = u & ze.JUMP_TABLE;
1078
1078
  if (o === 0)
1079
1079
  return r !== 0 && n === r ? t : -1;
1080
1080
  if (r) {
@@ -1095,7 +1095,7 @@ function Fr(e, u, t, n) {
1095
1095
  }
1096
1096
  const Sr = hn(gr);
1097
1097
  hn(vr);
1098
- function bn(e, u = $e.Legacy) {
1098
+ function bn(e, u = Be.Legacy) {
1099
1099
  return Sr(e, u);
1100
1100
  }
1101
1101
  function qr(e) {
@@ -1159,7 +1159,7 @@ const Ir = /[&<>"]/, Or = /[&<>"]/g, Pr = {
1159
1159
  function Nr(e) {
1160
1160
  return Pr[e];
1161
1161
  }
1162
- function Re(e) {
1162
+ function Le(e) {
1163
1163
  return Ir.test(e) ? e.replace(Or, Nr) : e;
1164
1164
  }
1165
1165
  const Zr = /[.?*+^$[\]\\(){}|-]/g;
@@ -1247,7 +1247,7 @@ const Ur = { mdurl: br, ucmicro: xr }, Hr = /* @__PURE__ */ Object.freeze(/* @__
1247
1247
  __proto__: null,
1248
1248
  arrayReplaceAt: mn,
1249
1249
  assign: $u,
1250
- escapeHtml: Re,
1250
+ escapeHtml: Le,
1251
1251
  escapeRE: Vr,
1252
1252
  fromCodePoint: wu,
1253
1253
  has: Br,
@@ -1361,11 +1361,11 @@ const Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1361
1361
  }, Symbol.toStringTag, { value: "Module" })), Ae = {};
1362
1362
  Ae.code_inline = function(e, u, t, n, o) {
1363
1363
  const r = e[u];
1364
- return "<code" + o.renderAttrs(r) + ">" + Re(r.content) + "</code>";
1364
+ return "<code" + o.renderAttrs(r) + ">" + Le(r.content) + "</code>";
1365
1365
  };
1366
1366
  Ae.code_block = function(e, u, t, n, o) {
1367
1367
  const r = e[u];
1368
- return "<pre" + o.renderAttrs(r) + "><code>" + Re(e[u].content) + `</code></pre>
1368
+ return "<pre" + o.renderAttrs(r) + "><code>" + Le(e[u].content) + `</code></pre>
1369
1369
  `;
1370
1370
  };
1371
1371
  Ae.fence = function(e, u, t, n, o) {
@@ -1376,7 +1376,7 @@ Ae.fence = function(e, u, t, n, o) {
1376
1376
  c = l[0], i = l.slice(2).join("");
1377
1377
  }
1378
1378
  let a;
1379
- if (t.highlight ? a = t.highlight(r.content, c, i) || Re(r.content) : a = Re(r.content), a.indexOf("<pre") === 0)
1379
+ if (t.highlight ? a = t.highlight(r.content, c, i) || Le(r.content) : a = Le(r.content), a.indexOf("<pre") === 0)
1380
1380
  return a + `
1381
1381
  `;
1382
1382
  if (s) {
@@ -1407,7 +1407,7 @@ Ae.softbreak = function(e, u, t) {
1407
1407
  `;
1408
1408
  };
1409
1409
  Ae.text = function(e, u) {
1410
- return Re(e[u].content);
1410
+ return Le(e[u].content);
1411
1411
  };
1412
1412
  Ae.html_block = function(e, u) {
1413
1413
  return e[u].content;
@@ -1423,7 +1423,7 @@ ou.prototype.renderAttrs = function(u) {
1423
1423
  if (!u.attrs)
1424
1424
  return "";
1425
1425
  for (o = "", t = 0, n = u.attrs.length; t < n; t++)
1426
- o += " " + Re(u.attrs[t][0]) + '="' + Re(u.attrs[t][1]) + '"';
1426
+ o += " " + Le(u.attrs[t][0]) + '="' + Le(u.attrs[t][1]) + '"';
1427
1427
  return o;
1428
1428
  };
1429
1429
  ou.prototype.renderToken = function(u, t, n) {
@@ -1624,19 +1624,19 @@ function ns(e) {
1624
1624
  const f = a[p].url, g = e.md.normalizeLink(f);
1625
1625
  if (!e.md.validateLink(g))
1626
1626
  continue;
1627
- let _ = a[p].text;
1628
- a[p].schema ? a[p].schema === "mailto:" && !/^mailto:/i.test(_) ? _ = e.md.normalizeLinkText("mailto:" + _).replace(/^mailto:/, "") : _ = e.md.normalizeLinkText(_) : _ = e.md.normalizeLinkText("http://" + _).replace(/^http:\/\//, "");
1629
- const A = a[p].index;
1630
- if (A > h) {
1627
+ let v = a[p].text;
1628
+ a[p].schema ? a[p].schema === "mailto:" && !/^mailto:/i.test(v) ? v = e.md.normalizeLinkText("mailto:" + v).replace(/^mailto:/, "") : v = e.md.normalizeLinkText(v) : v = e.md.normalizeLinkText("http://" + v).replace(/^http:\/\//, "");
1629
+ const C = a[p].index;
1630
+ if (C > h) {
1631
1631
  const $ = new e.Token("text", "", 0);
1632
- $.content = i.slice(h, A), $.level = d, l.push($);
1632
+ $.content = i.slice(h, C), $.level = d, l.push($);
1633
1633
  }
1634
1634
  const w = new e.Token("link_open", "a", 1);
1635
1635
  w.attrs = [["href", g]], w.level = d++, w.markup = "linkify", w.info = "auto", l.push(w);
1636
- const C = new e.Token("text", "", 0);
1637
- C.content = _, C.level = d, l.push(C);
1638
- const k = new e.Token("link_close", "a", -1);
1639
- k.level = --d, k.markup = "linkify", k.info = "auto", l.push(k), h = a[p].lastIndex;
1636
+ const D = new e.Token("text", "", 0);
1637
+ D.content = v, D.level = d, l.push(D);
1638
+ const y = new e.Token("link_close", "a", -1);
1639
+ y.level = --d, y.markup = "linkify", y.info = "auto", l.push(y), h = a[p].lastIndex;
1640
1640
  }
1641
1641
  if (h < i.length) {
1642
1642
  const p = new e.Token("text", "", 0);
@@ -1716,24 +1716,24 @@ function fs(e, u) {
1716
1716
  g = e[t].content.charCodeAt(0);
1717
1717
  break;
1718
1718
  }
1719
- const _ = lu(f) || au(String.fromCharCode(f)), A = lu(g) || au(String.fromCharCode(g)), w = iu(f), C = iu(g);
1720
- if (C ? d = !1 : A && (w || _ || (d = !1)), w ? h = !1 : _ && (C || A || (h = !1)), g === 34 && l[0] === '"' && f >= 48 && f <= 57 && (h = d = !1), d && h && (d = _, h = A), !d && !h) {
1719
+ const v = lu(f) || au(String.fromCharCode(f)), C = lu(g) || au(String.fromCharCode(g)), w = iu(f), D = iu(g);
1720
+ if (D ? d = !1 : C && (w || v || (d = !1)), w ? h = !1 : v && (D || C || (h = !1)), g === 34 && l[0] === '"' && f >= 48 && f <= 57 && (h = d = !1), d && h && (d = v, h = C), !d && !h) {
1721
1721
  p && (r.content = vu(r.content, l.index, Bt));
1722
1722
  continue;
1723
1723
  }
1724
1724
  if (h)
1725
1725
  for (t = n.length - 1; t >= 0; t--) {
1726
- let k = n[t];
1726
+ let y = n[t];
1727
1727
  if (n[t].level < s)
1728
1728
  break;
1729
- if (k.single === p && n[t].level === s) {
1730
- k = n[t];
1729
+ if (y.single === p && n[t].level === s) {
1730
+ y = n[t];
1731
1731
  let $, M;
1732
- p ? ($ = u.md.options.quotes[2], M = u.md.options.quotes[3]) : ($ = u.md.options.quotes[0], M = u.md.options.quotes[1]), r.content = vu(r.content, l.index, M), e[k.token].content = vu(
1733
- e[k.token].content,
1734
- k.pos,
1732
+ p ? ($ = u.md.options.quotes[2], M = u.md.options.quotes[3]) : ($ = u.md.options.quotes[0], M = u.md.options.quotes[1]), r.content = vu(r.content, l.index, M), e[y.token].content = vu(
1733
+ e[y.token].content,
1734
+ y.pos,
1735
1735
  $
1736
- ), i += M.length - 1, k.token === o && (i += $.length - 1), c = r.content, a = c.length, n.length = t;
1736
+ ), i += M.length - 1, y.token === o && (i += $.length - 1), c = r.content, a = c.length, n.length = t;
1737
1737
  continue e;
1738
1738
  }
1739
1739
  }
@@ -1893,17 +1893,17 @@ function ms(e, u, t, n) {
1893
1893
  if (c !== 124 && c !== 45 && c !== 58 && !J(c) || s === 45 && J(c))
1894
1894
  return !1;
1895
1895
  for (; r < e.eMarks[o]; ) {
1896
- const k = e.src.charCodeAt(r);
1897
- if (k !== 124 && k !== 45 && k !== 58 && !J(k))
1896
+ const y = e.src.charCodeAt(r);
1897
+ if (y !== 124 && y !== 45 && y !== 58 && !J(y))
1898
1898
  return !1;
1899
1899
  r++;
1900
1900
  }
1901
1901
  let i = Vu(e, u + 1), a = i.split("|");
1902
1902
  const l = [];
1903
- for (let k = 0; k < a.length; k++) {
1904
- const $ = a[k].trim();
1903
+ for (let y = 0; y < a.length; y++) {
1904
+ const $ = a[y].trim();
1905
1905
  if (!$) {
1906
- if (k === 0 || k === a.length - 1)
1906
+ if (y === 0 || y === a.length - 1)
1907
1907
  continue;
1908
1908
  return !1;
1909
1909
  }
@@ -1923,26 +1923,26 @@ function ms(e, u, t, n) {
1923
1923
  e.parentType = "table";
1924
1924
  const p = e.md.block.ruler.getRules("blockquote"), f = e.push("table_open", "table", 1), g = [u, 0];
1925
1925
  f.map = g;
1926
- const _ = e.push("thead_open", "thead", 1);
1927
- _.map = [u, u + 1];
1928
- const A = e.push("tr_open", "tr", 1);
1929
- A.map = [u, u + 1];
1930
- for (let k = 0; k < a.length; k++) {
1926
+ const v = e.push("thead_open", "thead", 1);
1927
+ v.map = [u, u + 1];
1928
+ const C = e.push("tr_open", "tr", 1);
1929
+ C.map = [u, u + 1];
1930
+ for (let y = 0; y < a.length; y++) {
1931
1931
  const $ = e.push("th_open", "th", 1);
1932
- l[k] && ($.attrs = [["style", "text-align:" + l[k]]]);
1932
+ l[y] && ($.attrs = [["style", "text-align:" + l[y]]]);
1933
1933
  const M = e.push("inline", "", 0);
1934
- M.content = a[k].trim(), M.children = [], e.push("th_close", "th", -1);
1934
+ M.content = a[y].trim(), M.children = [], e.push("th_close", "th", -1);
1935
1935
  }
1936
1936
  e.push("tr_close", "tr", -1), e.push("thead_close", "thead", -1);
1937
- let w, C = 0;
1937
+ let w, D = 0;
1938
1938
  for (o = u + 2; o < t && !(e.sCount[o] < e.blkIndent); o++) {
1939
- let k = !1;
1939
+ let y = !1;
1940
1940
  for (let M = 0, V = p.length; M < V; M++)
1941
1941
  if (p[M](e, o, t, !0)) {
1942
- k = !0;
1942
+ y = !0;
1943
1943
  break;
1944
1944
  }
1945
- if (k || (i = Vu(e, o).trim(), !i) || e.sCount[o] - e.blkIndent >= 4 || (a = Mt(i), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop(), C += d - a.length, C > bs))
1945
+ if (y || (i = Vu(e, o).trim(), !i) || e.sCount[o] - e.blkIndent >= 4 || (a = Mt(i), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop(), D += d - a.length, D > bs))
1946
1946
  break;
1947
1947
  if (o === u + 2) {
1948
1948
  const M = e.push("tbody_open", "tbody", 1);
@@ -2018,10 +2018,10 @@ function vs(e, u, t, n) {
2018
2018
  e.parentType = "blockquote";
2019
2019
  let p = !1, f;
2020
2020
  for (f = u; f < t; f++) {
2021
- const C = e.sCount[f] < e.blkIndent;
2021
+ const D = e.sCount[f] < e.blkIndent;
2022
2022
  if (o = e.bMarks[f] + e.tShift[f], r = e.eMarks[f], o >= r)
2023
2023
  break;
2024
- if (e.src.charCodeAt(o++) === 62 && !C) {
2024
+ if (e.src.charCodeAt(o++) === 62 && !D) {
2025
2025
  let $ = e.sCount[f] + 1, M, V;
2026
2026
  e.src.charCodeAt(o) === 32 ? (o++, $++, V = !1, M = !0) : e.src.charCodeAt(o) === 9 ? (M = !0, (e.bsCount[f] + $) % 4 === 3 ? (o++, $++, V = !1) : V = !0) : M = !1;
2027
2027
  let H = $;
@@ -2038,13 +2038,13 @@ function vs(e, u, t, n) {
2038
2038
  }
2039
2039
  if (p)
2040
2040
  break;
2041
- let k = !1;
2041
+ let y = !1;
2042
2042
  for (let $ = 0, M = d.length; $ < M; $++)
2043
2043
  if (d[$](e, f, t, !0)) {
2044
- k = !0;
2044
+ y = !0;
2045
2045
  break;
2046
2046
  }
2047
- if (k) {
2047
+ if (y) {
2048
2048
  e.lineMax = f, e.blkIndent !== 0 && (c.push(e.bMarks[f]), i.push(e.bsCount[f]), l.push(e.tShift[f]), a.push(e.sCount[f]), e.sCount[f] -= e.blkIndent);
2049
2049
  break;
2050
2050
  }
@@ -2052,14 +2052,14 @@ function vs(e, u, t, n) {
2052
2052
  }
2053
2053
  const g = e.blkIndent;
2054
2054
  e.blkIndent = 0;
2055
- const _ = e.push("blockquote_open", "blockquote", 1);
2056
- _.markup = ">";
2057
- const A = [u, 0];
2058
- _.map = A, e.md.block.tokenize(e, u, f);
2055
+ const v = e.push("blockquote_open", "blockquote", 1);
2056
+ v.markup = ">";
2057
+ const C = [u, 0];
2058
+ v.map = C, e.md.block.tokenize(e, u, f);
2059
2059
  const w = e.push("blockquote_close", "blockquote", -1);
2060
- w.markup = ">", e.lineMax = s, e.parentType = h, A[1] = e.line;
2061
- for (let C = 0; C < l.length; C++)
2062
- e.bMarks[C + u] = c[C], e.tShift[C + u] = l[C], e.sCount[C + u] = a[C], e.bsCount[C + u] = i[C];
2060
+ w.markup = ">", e.lineMax = s, e.parentType = h, C[1] = e.line;
2061
+ for (let D = 0; D < l.length; D++)
2062
+ e.bMarks[D + u] = c[D], e.tShift[D + u] = l[D], e.sCount[D + u] = a[D], e.bsCount[D + u] = i[D];
2063
2063
  return e.blkIndent = g, !0;
2064
2064
  }
2065
2065
  function _s(e, u, t, n) {
@@ -2144,14 +2144,14 @@ function ys(e, u, t, n) {
2144
2144
  return !0;
2145
2145
  const f = e.src.charCodeAt(p - 1), g = e.tokens.length;
2146
2146
  d ? (c = e.push("ordered_list_open", "ol", 1), h !== 1 && (c.attrs = [["start", h]])) : c = e.push("bullet_list_open", "ul", 1);
2147
- const _ = [i, 0];
2148
- c.map = _, c.markup = String.fromCharCode(f);
2149
- let A = !1;
2150
- const w = e.md.block.ruler.getRules("list"), C = e.parentType;
2147
+ const v = [i, 0];
2148
+ c.map = v, c.markup = String.fromCharCode(f);
2149
+ let C = !1;
2150
+ const w = e.md.block.ruler.getRules("list"), D = e.parentType;
2151
2151
  for (e.parentType = "list"; i < t; ) {
2152
2152
  r = p, o = e.eMarks[i];
2153
- const k = e.sCount[i] + p - (e.bMarks[i] + e.tShift[i]);
2154
- let $ = k;
2153
+ const y = e.sCount[i] + p - (e.bMarks[i] + e.tShift[i]);
2154
+ let $ = y;
2155
2155
  for (; r < o; ) {
2156
2156
  const j = e.src.charCodeAt(r);
2157
2157
  if (j === 9)
@@ -2164,13 +2164,13 @@ function ys(e, u, t, n) {
2164
2164
  }
2165
2165
  const M = r;
2166
2166
  let V;
2167
- M >= o ? V = 1 : V = $ - k, V > 4 && (V = 1);
2168
- const H = k + V;
2167
+ M >= o ? V = 1 : V = $ - y, V > 4 && (V = 1);
2168
+ const H = y + V;
2169
2169
  c = e.push("list_item_open", "li", 1), c.markup = String.fromCharCode(f);
2170
2170
  const S = [i, 0];
2171
2171
  c.map = S, d && (c.info = e.src.slice(s, p - 1));
2172
- const v = e.tight, x = e.tShift[i], q = e.sCount[i], D = e.listIndent;
2173
- if (e.listIndent = e.blkIndent, e.blkIndent = H, e.tight = !0, e.tShift[i] = M - e.bMarks[i], e.sCount[i] = $, M >= o && e.isEmpty(i + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, i, t, !0), (!e.tight || A) && (a = !1), A = e.line - i > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = D, e.tShift[i] = x, e.sCount[i] = q, e.tight = v, c = e.push("list_item_close", "li", -1), c.markup = String.fromCharCode(f), i = e.line, S[1] = i, i >= t || e.sCount[i] < e.blkIndent || e.sCount[i] - e.blkIndent >= 4)
2172
+ const _ = e.tight, x = e.tShift[i], q = e.sCount[i], E = e.listIndent;
2173
+ if (e.listIndent = e.blkIndent, e.blkIndent = H, e.tight = !0, e.tShift[i] = M - e.bMarks[i], e.sCount[i] = $, M >= o && e.isEmpty(i + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, i, t, !0), (!e.tight || C) && (a = !1), C = e.line - i > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = E, e.tShift[i] = x, e.sCount[i] = q, e.tight = _, c = e.push("list_item_close", "li", -1), c.markup = String.fromCharCode(f), i = e.line, S[1] = i, i >= t || e.sCount[i] < e.blkIndent || e.sCount[i] - e.blkIndent >= 4)
2174
2174
  break;
2175
2175
  let z = !1;
2176
2176
  for (let j = 0, G = w.length; j < G; j++)
@@ -2189,23 +2189,23 @@ function ys(e, u, t, n) {
2189
2189
  if (f !== e.src.charCodeAt(p - 1))
2190
2190
  break;
2191
2191
  }
2192
- return d ? c = e.push("ordered_list_close", "ol", -1) : c = e.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(f), _[1] = i, e.line = i, e.parentType = C, a && ks(e, g), !0;
2192
+ return d ? c = e.push("ordered_list_close", "ol", -1) : c = e.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(f), v[1] = i, e.line = i, e.parentType = D, a && ks(e, g), !0;
2193
2193
  }
2194
2194
  function ws(e, u, t, n) {
2195
2195
  let o = e.bMarks[u] + e.tShift[u], r = e.eMarks[u], s = u + 1;
2196
2196
  if (e.sCount[u] - e.blkIndent >= 4 || e.src.charCodeAt(o) !== 91)
2197
2197
  return !1;
2198
2198
  function c(w) {
2199
- const C = e.lineMax;
2200
- if (w >= C || e.isEmpty(w))
2199
+ const D = e.lineMax;
2200
+ if (w >= D || e.isEmpty(w))
2201
2201
  return null;
2202
- let k = !1;
2203
- if (e.sCount[w] - e.blkIndent > 3 && (k = !0), e.sCount[w] < 0 && (k = !0), !k) {
2202
+ let y = !1;
2203
+ if (e.sCount[w] - e.blkIndent > 3 && (y = !0), e.sCount[w] < 0 && (y = !0), !y) {
2204
2204
  const V = e.md.block.ruler.getRules("reference"), H = e.parentType;
2205
2205
  e.parentType = "reference";
2206
2206
  let S = !1;
2207
- for (let v = 0, x = V.length; v < x; v++)
2208
- if (V[v](e, w, C, !0)) {
2207
+ for (let _ = 0, x = V.length; _ < x; _++)
2208
+ if (V[_](e, w, D, !0)) {
2209
2209
  S = !0;
2210
2210
  break;
2211
2211
  }
@@ -2226,11 +2226,11 @@ function ws(e, u, t, n) {
2226
2226
  a = o;
2227
2227
  break;
2228
2228
  } else if (w === 10) {
2229
- const C = c(s);
2230
- C !== null && (i += C, r = i.length, s++);
2229
+ const D = c(s);
2230
+ D !== null && (i += D, r = i.length, s++);
2231
2231
  } else if (w === 92 && (o++, o < r && i.charCodeAt(o) === 10)) {
2232
- const C = c(s);
2233
- C !== null && (i += C, r = i.length, s++);
2232
+ const D = c(s);
2233
+ D !== null && (i += D, r = i.length, s++);
2234
2234
  }
2235
2235
  }
2236
2236
  if (a < 0 || i.charCodeAt(a + 1) !== 58)
@@ -2238,8 +2238,8 @@ function ws(e, u, t, n) {
2238
2238
  for (o = a + 2; o < r; o++) {
2239
2239
  const w = i.charCodeAt(o);
2240
2240
  if (w === 10) {
2241
- const C = c(s);
2242
- C !== null && (i += C, r = i.length, s++);
2241
+ const D = c(s);
2242
+ D !== null && (i += D, r = i.length, s++);
2243
2243
  } else if (!J(w)) break;
2244
2244
  }
2245
2245
  const l = e.md.helpers.parseLinkDestination(i, o, r);
@@ -2253,8 +2253,8 @@ function ws(e, u, t, n) {
2253
2253
  for (; o < r; o++) {
2254
2254
  const w = i.charCodeAt(o);
2255
2255
  if (w === 10) {
2256
- const C = c(s);
2257
- C !== null && (i += C, r = i.length, s++);
2256
+ const D = c(s);
2257
+ D !== null && (i += D, r = i.length, s++);
2258
2258
  } else if (!J(w)) break;
2259
2259
  }
2260
2260
  let g = e.md.helpers.parseLinkTitle(i, o, r);
@@ -2263,15 +2263,15 @@ function ws(e, u, t, n) {
2263
2263
  if (w === null) break;
2264
2264
  i += w, o = r, r = i.length, s++, g = e.md.helpers.parseLinkTitle(i, o, r, g);
2265
2265
  }
2266
- let _;
2267
- for (o < r && f !== o && g.ok ? (_ = g.str, o = g.pos) : (_ = "", o = h, s = p); o < r; ) {
2266
+ let v;
2267
+ for (o < r && f !== o && g.ok ? (v = g.str, o = g.pos) : (v = "", o = h, s = p); o < r; ) {
2268
2268
  const w = i.charCodeAt(o);
2269
2269
  if (!J(w))
2270
2270
  break;
2271
2271
  o++;
2272
2272
  }
2273
- if (o < r && i.charCodeAt(o) !== 10 && _)
2274
- for (_ = "", o = h, s = p; o < r; ) {
2273
+ if (o < r && i.charCodeAt(o) !== 10 && v)
2274
+ for (v = "", o = h, s = p; o < r; ) {
2275
2275
  const w = i.charCodeAt(o);
2276
2276
  if (!J(w))
2277
2277
  break;
@@ -2279,8 +2279,8 @@ function ws(e, u, t, n) {
2279
2279
  }
2280
2280
  if (o < r && i.charCodeAt(o) !== 10)
2281
2281
  return !1;
2282
- const A = Bu(i.slice(1, a));
2283
- return A ? (n || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[A] > "u" && (e.env.references[A] = { title: _, href: d }), e.line = s), !0) : !1;
2282
+ const C = Bu(i.slice(1, a));
2283
+ return C ? (n || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[C] > "u" && (e.env.references[C] = { title: v, href: d }), e.line = s), !0) : !1;
2284
2284
  }
2285
2285
  const Cs = [
2286
2286
  "address",
@@ -2804,8 +2804,8 @@ function Ks(e, u) {
2804
2804
  }
2805
2805
  if (!u) {
2806
2806
  e.pos = h, e.posMax = p;
2807
- const g = e.push("link_open", "a", 1), _ = [["href", s]];
2808
- g.attrs = _, c && _.push(["title", c]), e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, e.push("link_close", "a", -1);
2807
+ const g = e.push("link_open", "a", 1), v = [["href", s]];
2808
+ g.attrs = v, c && v.push(["title", c]), e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, e.push("link_close", "a", -1);
2809
2809
  }
2810
2810
  return e.pos = f, e.posMax = d, !0;
2811
2811
  }
@@ -2848,8 +2848,8 @@ function Qs(e, u) {
2848
2848
  e.env,
2849
2849
  g
2850
2850
  );
2851
- const _ = e.push("image", "img", 0), A = [["src", l], ["alt", ""]];
2852
- _.attrs = A, _.children = g, _.content = n, i && A.push(["title", i]);
2851
+ const v = e.push("image", "img", 0), C = [["src", l], ["alt", ""]];
2852
+ v.attrs = C, v.children = g, v.content = n, i && C.push(["title", i]);
2853
2853
  }
2854
2854
  return e.pos = r, e.posMax = h, !0;
2855
2855
  }
@@ -3267,7 +3267,7 @@ const Xe = 2147483647, we = 36, bt = 1, du = 26, Cc = 38, Dc = 700, Dn = 72, En
3267
3267
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3268
3268
  "invalid-input": "Invalid input"
3269
3269
  }, ju = we - bt, Ce = Math.floor, Wu = String.fromCharCode;
3270
- function qe(e) {
3270
+ function $e(e) {
3271
3271
  throw new RangeError(Sc[e]);
3272
3272
  }
3273
3273
  function qc(e, u) {
@@ -3312,21 +3312,21 @@ const $c = (e) => String.fromCodePoint(...e), Bc = function(e) {
3312
3312
  let n = 0, o = En, r = Dn, s = e.lastIndexOf(An);
3313
3313
  s < 0 && (s = 0);
3314
3314
  for (let c = 0; c < s; ++c)
3315
- e.charCodeAt(c) >= 128 && qe("not-basic"), u.push(e.charCodeAt(c));
3315
+ e.charCodeAt(c) >= 128 && $e("not-basic"), u.push(e.charCodeAt(c));
3316
3316
  for (let c = s > 0 ? s + 1 : 0; c < t; ) {
3317
3317
  const i = n;
3318
3318
  for (let l = 1, d = we; ; d += we) {
3319
- c >= t && qe("invalid-input");
3319
+ c >= t && $e("invalid-input");
3320
3320
  const h = Bc(e.charCodeAt(c++));
3321
- h >= we && qe("invalid-input"), h > Ce((Xe - n) / l) && qe("overflow"), n += h * l;
3321
+ h >= we && $e("invalid-input"), h > Ce((Xe - n) / l) && $e("overflow"), n += h * l;
3322
3322
  const p = d <= r ? bt : d >= r + du ? du : d - r;
3323
3323
  if (h < p)
3324
3324
  break;
3325
3325
  const f = we - p;
3326
- l > Ce(Xe / f) && qe("overflow"), l *= f;
3326
+ l > Ce(Xe / f) && $e("overflow"), l *= f;
3327
3327
  }
3328
3328
  const a = u.length + 1;
3329
- r = qn(n - i, a, i == 0), Ce(n / a) > Xe - o && qe("overflow"), o += Ce(n / a), n %= a, u.splice(n++, 0, o);
3329
+ r = qn(n - i, a, i == 0), Ce(n / a) > Xe - o && $e("overflow"), o += Ce(n / a), n %= a, u.splice(n++, 0, o);
3330
3330
  }
3331
3331
  return String.fromCodePoint(...u);
3332
3332
  }, Bn = function(e) {
@@ -3343,9 +3343,9 @@ const $c = (e) => String.fromCodePoint(...e), Bc = function(e) {
3343
3343
  for (const l of e)
3344
3344
  l >= n && l < i && (i = l);
3345
3345
  const a = c + 1;
3346
- i - n > Ce((Xe - o) / a) && qe("overflow"), o += (i - n) * a, n = i;
3346
+ i - n > Ce((Xe - o) / a) && $e("overflow"), o += (i - n) * a, n = i;
3347
3347
  for (const l of e)
3348
- if (l < n && ++o > Xe && qe("overflow"), l === n) {
3348
+ if (l < n && ++o > Xe && $e("overflow"), l === n) {
3349
3349
  let d = o;
3350
3350
  for (let h = we; ; h += we) {
3351
3351
  const p = h <= r ? bt : h >= r + du ? du : h - r;
@@ -3682,7 +3682,7 @@ function Uc() {
3682
3682
  const s = [], c = { children: [] };
3683
3683
  let i = c;
3684
3684
  return o.forEach((a) => {
3685
- var _, A, w, C, k, $, M, V, H, S, v;
3685
+ var v, C, w, D, y, $, M, V, H, S, _;
3686
3686
  const { type: l, children: d, content: h, attrs: p, tag: f, hidden: g } = a;
3687
3687
  switch (l) {
3688
3688
  case "heading_open":
@@ -3708,8 +3708,8 @@ function Uc() {
3708
3708
  attrs: p ? Object.fromEntries(p) : {}
3709
3709
  };
3710
3710
  if (l === "link_open") {
3711
- const q = a.attrGet("href") ?? "", D = document.location.origin;
3712
- q != null && q.startsWith("http") && !q.includes(D) && (x.attrs.target = "_blank", x.attrs.rel = "noopener noreferrer", x.attrs.dataOuter = "", (_ = x.children) == null || _.push({ tag: ko }));
3711
+ const q = a.attrGet("href") ?? "", E = document.location.origin;
3712
+ q != null && q.startsWith("http") && !q.includes(E) && (x.attrs.target = "_blank", x.attrs.rel = "noopener noreferrer", x.attrs.dataOuter = "", (v = x.children) == null || v.push({ tag: ko }));
3713
3713
  }
3714
3714
  if (l === "table_open") {
3715
3715
  const q = {
@@ -3717,7 +3717,7 @@ function Uc() {
3717
3717
  children: [],
3718
3718
  attrs: { class: "sq-article-table" }
3719
3719
  };
3720
- (A = i.children) == null || A.push(q), s.push(i), i = q;
3720
+ (C = i.children) == null || C.push(q), s.push(i), i = q;
3721
3721
  }
3722
3722
  (w = i.children) == null || w.push(x), s.push(i), i = x;
3723
3723
  break;
@@ -3743,7 +3743,7 @@ function Uc() {
3743
3743
  break;
3744
3744
  }
3745
3745
  case "code_inline": {
3746
- (C = i.children) == null || C.push({
3746
+ (D = i.children) == null || D.push({
3747
3747
  tag: (r == null ? void 0 : r[f]) ?? f,
3748
3748
  children: [h],
3749
3749
  attrs: p ? Object.fromEntries(p) : {}
@@ -3753,7 +3753,7 @@ function Uc() {
3753
3753
  case "inline": {
3754
3754
  if (d) {
3755
3755
  const x = n(d, r);
3756
- (k = i.children) == null || k.push(...x ?? []);
3756
+ (y = i.children) == null || y.push(...x ?? []);
3757
3757
  } else
3758
3758
  ($ = i.children) == null || $.push(h);
3759
3759
  break;
@@ -3777,8 +3777,8 @@ function Uc() {
3777
3777
  break;
3778
3778
  }
3779
3779
  case "input": {
3780
- const x = p ? Object.fromEntries(p) : {}, q = x.type ?? "text", D = `${f}-${q}`, z = {
3781
- tag: (r == null ? void 0 : r[D]) ?? f,
3780
+ const x = p ? Object.fromEntries(p) : {}, q = x.type ?? "text", E = `${f}-${q}`, z = {
3781
+ tag: (r == null ? void 0 : r[E]) ?? f,
3782
3782
  children: [],
3783
3783
  attrs: x
3784
3784
  };
@@ -3793,7 +3793,7 @@ function Uc() {
3793
3793
  tag: (r == null ? void 0 : r[x]) ?? x,
3794
3794
  children: []
3795
3795
  };
3796
- (v = i.children) == null || v.push(q), s.push(i), i = q;
3796
+ (_ = i.children) == null || _.push(q), s.push(i), i = q;
3797
3797
  }
3798
3798
  break;
3799
3799
  }
@@ -3853,7 +3853,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3853
3853
  }
3854
3854
  },
3855
3855
  setup(e) {
3856
- const u = y(() => ({
3856
+ const u = k(() => ({
3857
3857
  hr: Ye,
3858
3858
  blur: oi,
3859
3859
  img: aa,
@@ -3881,16 +3881,16 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3881
3881
  size: { default: "md" }
3882
3882
  },
3883
3883
  setup(e) {
3884
- const u = e, t = R(!0), n = y(() => {
3884
+ const u = e, t = R(!0), n = k(() => {
3885
3885
  const c = [];
3886
3886
  return u.size !== "md" && c.push(`sq-avatar--${u.size}`), u.round && c.push("is-round"), c;
3887
- }), o = y(() => {
3887
+ }), o = k(() => {
3888
3888
  if (!u.randomColor) return;
3889
3889
  const { getRandomColor: c } = tr();
3890
3890
  return {
3891
3891
  "--avatar-bg-color": c()
3892
3892
  };
3893
- }), r = y(() => u.alt.charAt(0).toUpperCase());
3893
+ }), r = k(() => u.alt.charAt(0).toUpperCase());
3894
3894
  function s() {
3895
3895
  t.value = !1;
3896
3896
  }
@@ -3921,7 +3921,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3921
3921
  progressProps: {}
3922
3922
  },
3923
3923
  setup(e) {
3924
- const { throttle: u } = Hc(), t = u(i), n = new ResizeObserver(a), o = e, r = R(100), s = R(0), c = y(() => s.value > o.visibilityHeight);
3924
+ const { throttle: u } = Hc(), t = u(i), n = new ResizeObserver(a), o = e, r = R(100), s = R(0), c = k(() => s.value > o.visibilityHeight);
3925
3925
  be(() => {
3926
3926
  var h;
3927
3927
  a(), t(), window.addEventListener("scroll", t);
@@ -3941,14 +3941,14 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3941
3941
  function l() {
3942
3942
  window.scrollTo({ top: 0, behavior: "smooth" });
3943
3943
  }
3944
- return (d, h) => (m(), L(Te, {
3944
+ return (d, h) => (m(), L(Re, {
3945
3945
  name: o.transition
3946
3946
  }, {
3947
3947
  default: Z(() => {
3948
3948
  var p, f, g;
3949
3949
  return [
3950
- de(E("div", Qc, [
3951
- E("div", {
3950
+ de(A("div", Qc, [
3951
+ A("div", {
3952
3952
  class: "sq-backtop-wrap",
3953
3953
  onClick: l
3954
3954
  }, [
@@ -3987,11 +3987,11 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3987
3987
  dot: { type: Boolean }
3988
3988
  },
3989
3989
  setup(e) {
3990
- const u = pu(), t = e, n = y(() => {
3990
+ const u = pu(), t = e, n = k(() => {
3991
3991
  const c = [];
3992
3992
  return t.dot && c.push("is-dot"), c.push(`is-${t.type}`), c;
3993
- }), o = y(() => u.default ? "sup" : "div"), r = y(() => !t.dot && t.text || t.showZero ? !0 : t.count > 0), s = y(() => t.dot ? "" : t.text ? t.text : t.max && t.count > t.max ? `${t.max}+` : `${t.count}`);
3994
- return (c, i) => (m(), L(Te, { name: "sq-zoom" }, {
3993
+ }), o = k(() => u.default ? "sup" : "div"), r = k(() => !t.dot && t.text || t.showZero ? !0 : t.count > 0), s = k(() => t.dot ? "" : t.text ? t.text : t.max && t.count > t.max ? `${t.max}+` : `${t.count}`);
3994
+ return (c, i) => (m(), L(Re, { name: "sq-zoom" }, {
3995
3995
  default: Z(() => [
3996
3996
  b(u).default || r.value ? (m(), F("span", {
3997
3997
  key: 0,
@@ -4001,7 +4001,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
4001
4001
  W(c.$slots, "default"),
4002
4002
  (m(), L(me(o.value), { class: "sq-badge-label" }, {
4003
4003
  default: Z(() => [
4004
- T(Te, {
4004
+ T(Re, {
4005
4005
  name: b(u).default ? "sq-zoom" : ""
4006
4006
  }, {
4007
4007
  default: Z(() => [
@@ -4025,7 +4025,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
4025
4025
  name: ni,
4026
4026
  __name: "blur",
4027
4027
  setup(e) {
4028
- return (u, t) => (m(), L(b(Ie), { class: "sq-blur" }, {
4028
+ return (u, t) => (m(), L(b(Oe), { class: "sq-blur" }, {
4029
4029
  default: Z(() => [
4030
4030
  W(u.$slots, "default")
4031
4031
  ]),
@@ -4034,9 +4034,9 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
4034
4034
  }
4035
4035
  });
4036
4036
  function ri(e) {
4037
- const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(Tn, void 0), o = y(
4037
+ const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(Tn, void 0), o = k(
4038
4038
  () => b(n) ? void 0 : e.text
4039
- ), r = y(
4039
+ ), r = k(
4040
4040
  () => {
4041
4041
  var a, l;
4042
4042
  return u(
@@ -4046,12 +4046,12 @@ function ri(e) {
4046
4046
  "md"
4047
4047
  );
4048
4048
  }
4049
- ), s = y(
4049
+ ), s = k(
4050
4050
  () => {
4051
4051
  var a;
4052
4052
  return u((a = b(n)) == null ? void 0 : a.type, e.type);
4053
4053
  }
4054
- ), c = y(
4054
+ ), c = k(
4055
4055
  () => {
4056
4056
  var a, l;
4057
4057
  return u(
@@ -4060,7 +4060,7 @@ function ri(e) {
4060
4060
  (l = b(t)) == null ? void 0 : l.round
4061
4061
  );
4062
4062
  }
4063
- ), i = y(
4063
+ ), i = k(
4064
4064
  () => {
4065
4065
  var a, l, d;
4066
4066
  return u(
@@ -4074,7 +4074,7 @@ function ri(e) {
4074
4074
  return { btnTextType: o, btnSize: r, btnType: s, btnRound: c, btnDisabled: i };
4075
4075
  }
4076
4076
  function si(e) {
4077
- const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(Ln, void 0), o = y(
4077
+ const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(Ln, void 0), o = k(
4078
4078
  () => {
4079
4079
  var a, l;
4080
4080
  return u(
@@ -4084,22 +4084,22 @@ function si(e) {
4084
4084
  "md"
4085
4085
  );
4086
4086
  }
4087
- ), r = y(
4087
+ ), r = k(
4088
4088
  () => {
4089
4089
  var a;
4090
4090
  return u((a = b(n)) == null ? void 0 : a.form, e.form);
4091
4091
  }
4092
- ), s = y(
4092
+ ), s = k(
4093
4093
  () => {
4094
4094
  var a;
4095
4095
  return u((a = b(n)) == null ? void 0 : a.name, e.name);
4096
4096
  }
4097
- ), c = y(
4097
+ ), c = k(
4098
4098
  () => {
4099
4099
  var a;
4100
4100
  return u((a = b(n)) == null ? void 0 : a.variant, e.variant);
4101
4101
  }
4102
- ), i = y(
4102
+ ), i = k(
4103
4103
  () => {
4104
4104
  var a, l, d;
4105
4105
  return u(
@@ -4120,22 +4120,22 @@ function si(e) {
4120
4120
  };
4121
4121
  }
4122
4122
  function ci(e) {
4123
- const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(mt, void 0), o = y(
4123
+ const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(mt, void 0), o = k(
4124
4124
  () => {
4125
4125
  var i;
4126
4126
  return u(e.size, (i = b(t)) == null ? void 0 : i.size, "md");
4127
4127
  }
4128
- ), r = y(
4128
+ ), r = k(
4129
4129
  () => {
4130
4130
  var i;
4131
4131
  return u(e.round, (i = b(t)) == null ? void 0 : i.round);
4132
4132
  }
4133
- ), s = y(
4133
+ ), s = k(
4134
4134
  () => {
4135
4135
  var i;
4136
4136
  return u((i = b(t)) == null ? void 0 : i.disabled, e.disabled);
4137
4137
  }
4138
- ), c = y(
4138
+ ), c = k(
4139
4139
  () => {
4140
4140
  var i;
4141
4141
  return u((i = b(t)) == null ? void 0 : i.readonly, e.readonly);
@@ -4144,7 +4144,7 @@ function ci(e) {
4144
4144
  return { inputSize: o, inputRound: r, inputDisabled: s, inputReadonly: c, id: n };
4145
4145
  }
4146
4146
  function ii(e) {
4147
- const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(Qn, void 0), o = y(
4147
+ const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(Qn, void 0), o = k(
4148
4148
  () => {
4149
4149
  var a, l;
4150
4150
  return u(
@@ -4154,22 +4154,22 @@ function ii(e) {
4154
4154
  "md"
4155
4155
  );
4156
4156
  }
4157
- ), r = y(
4157
+ ), r = k(
4158
4158
  () => {
4159
4159
  var a;
4160
4160
  return u((a = b(n)) == null ? void 0 : a.form, e.form);
4161
4161
  }
4162
- ), s = y(
4162
+ ), s = k(
4163
4163
  () => {
4164
4164
  var a;
4165
4165
  return u((a = b(n)) == null ? void 0 : a.name, e.name);
4166
4166
  }
4167
- ), c = y(
4167
+ ), c = k(
4168
4168
  () => {
4169
4169
  var a;
4170
4170
  return u((a = b(n)) == null ? void 0 : a.variant, e.variant);
4171
4171
  }
4172
- ), i = y(
4172
+ ), i = k(
4173
4173
  () => {
4174
4174
  var a, l, d;
4175
4175
  return u(
@@ -4192,7 +4192,7 @@ function ii(e) {
4192
4192
  function ai(e) {
4193
4193
  const { getOption: u } = nu(), t = _e(e0, void 0);
4194
4194
  return {
4195
- segmentedDisabled: y(
4195
+ segmentedDisabled: k(
4196
4196
  () => {
4197
4197
  var o;
4198
4198
  return u((o = b(t)) == null ? void 0 : o.disabled, e.disabled);
@@ -4202,12 +4202,12 @@ function ai(e) {
4202
4202
  };
4203
4203
  }
4204
4204
  function li(e) {
4205
- const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(mt, void 0), o = y(
4205
+ const { getOption: u } = nu(), t = _e(ru, void 0), n = _e(mt, void 0), o = k(
4206
4206
  () => {
4207
4207
  var s;
4208
4208
  return u(e.size, (s = b(t)) == null ? void 0 : s.size, "md");
4209
4209
  }
4210
- ), r = y(
4210
+ ), r = k(
4211
4211
  () => {
4212
4212
  var s, c;
4213
4213
  return u(
@@ -4236,10 +4236,10 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4236
4236
  },
4237
4237
  emits: ["click"],
4238
4238
  setup(e, { emit: u }) {
4239
- const t = u, n = e, { btnTextType: o, btnSize: r, btnType: s, btnRound: c, btnDisabled: i } = ri(n), a = y(() => {
4240
- const h = [], p = b(r), f = b(s), g = b(c), _ = b(o);
4241
- return p !== "md" && h.push(`sq-button--${p}`), f && h.push(`is-${f}`), g && h.push("is-round"), _ && h.push("is-text"), _ && n.bg && h.push("has-bg"), h;
4242
- }), l = y(() => n.loading ? Su : n.icon), d = y(() => n.loading || b(i));
4239
+ const t = u, n = e, { btnTextType: o, btnSize: r, btnType: s, btnRound: c, btnDisabled: i } = ri(n), a = k(() => {
4240
+ const h = [], p = b(r), f = b(s), g = b(c), v = b(o);
4241
+ return p !== "md" && h.push(`sq-button--${p}`), f && h.push(`is-${f}`), g && h.push("is-round"), v && h.push("is-text"), v && n.bg && h.push("has-bg"), h;
4242
+ }), l = k(() => n.loading ? Su : n.icon), d = k(() => n.loading || b(i));
4243
4243
  return (h, p) => (m(), F("button", {
4244
4244
  class: K(["sq-button", a.value]),
4245
4245
  disabled: d.value,
@@ -4247,7 +4247,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4247
4247
  type: n.nativeType,
4248
4248
  onClick: p[0] || (p[0] = (f) => t("click", f))
4249
4249
  }, [
4250
- T(b(Ie), {
4250
+ T(b(Oe), {
4251
4251
  size: b(r) === "lg" ? "md" : b(r)
4252
4252
  }, {
4253
4253
  default: Z(() => [
@@ -4298,7 +4298,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4298
4298
  const u = pu(), t = e;
4299
4299
  return (n, o) => (m(), F("section", bi, [
4300
4300
  t.title || b(u).title ? (m(), F("div", mi, [
4301
- E("h2", {
4301
+ A("h2", {
4302
4302
  class: K({ "has-decorative": t.decorative }),
4303
4303
  textContent: re(t.title)
4304
4304
  }, null, 10, xi),
@@ -4336,10 +4336,10 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4336
4336
  checkboxName: c,
4337
4337
  checkboxVariant: i,
4338
4338
  groupContext: a
4339
- } = si(n), l = ie(e, "checked"), d = y(() => {
4340
- const p = [], f = b(o), g = b(r), _ = b(i);
4341
- return f !== "md" && p.push(`sq-selection--${f}`), h.value && p.push("is-checked"), g && p.push("is-disabled"), _ && p.push(`is-${_}`), p;
4342
- }), h = y(() => a ? b(a).list.includes(n.value) : l.value);
4339
+ } = si(n), l = ie(e, "checked"), d = k(() => {
4340
+ const p = [], f = b(o), g = b(r), v = b(i);
4341
+ return f !== "md" && p.push(`sq-selection--${f}`), h.value && p.push("is-checked"), g && p.push("is-disabled"), v && p.push(`is-${v}`), p;
4342
+ }), h = k(() => a ? b(a).list.includes(n.value) : l.value);
4343
4343
  return fe(h, (p) => {
4344
4344
  if (l.value !== p) {
4345
4345
  l.value = p;
@@ -4352,7 +4352,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4352
4352
  }), (p, f) => (m(), F("label", {
4353
4353
  class: K(["sq-selection sq-checkbox", d.value])
4354
4354
  }, [
4355
- de(E("input", {
4355
+ de(A("input", {
4356
4356
  type: "checkbox",
4357
4357
  autofocus: n.autofocus,
4358
4358
  name: b(c),
@@ -4394,7 +4394,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4394
4394
  },
4395
4395
  emits: ["change", "update:value"],
4396
4396
  setup(e, { emit: u }) {
4397
- const { nextId: t } = qu(), n = u, o = e, r = R(o.value ?? []), s = y(() => o.name ?? `sq-checkbox-${t()}`);
4397
+ const { nextId: t } = qu(), n = u, o = e, r = R(o.value ?? []), s = k(() => o.name ?? `sq-checkbox-${t()}`);
4398
4398
  tu(
4399
4399
  Ln,
4400
4400
  R({
@@ -4467,9 +4467,9 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4467
4467
  }) : l && (s.value = !1);
4468
4468
  }
4469
4469
  return (l, d) => (m(), L(Qt, { to: "body" }, [
4470
- T(Te, { name: "sq-fade" }, {
4470
+ T(Re, { name: "sq-fade" }, {
4471
4471
  default: Z(() => [
4472
- r.value ? de((m(), F("div", Oe({
4472
+ r.value ? de((m(), F("div", qe({
4473
4473
  key: 0,
4474
4474
  class: "sq-mask",
4475
4475
  style: { zIndex: o.value }
@@ -4498,6 +4498,8 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4498
4498
  title: {},
4499
4499
  okText: { default: "确认" },
4500
4500
  cancelText: { default: "取消" },
4501
+ okButtonProps: {},
4502
+ cancelButtonProps: {},
4501
4503
  footer: { type: Boolean, default: !0 },
4502
4504
  closeable: { type: Boolean },
4503
4505
  onOk: {},
@@ -4510,75 +4512,78 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4510
4512
  }),
4511
4513
  emits: ["update:visible"],
4512
4514
  setup(e) {
4513
- const u = pu(), t = e, n = R(!1), o = R(!1), r = ie(e, "visible"), s = y(() => !!t.title || !!u.header), c = y(() => {
4514
- const h = [];
4515
- return t.type && h.push(`is-${t.type}`), s.value && h.push("has-header"), h;
4516
- }), i = y(() => t.type ? st[t.type] : void 0);
4517
- function a(h) {
4518
- if (n.value) return !1;
4519
- if (typeof h != "function") return !0;
4520
- const p = h();
4521
- return p instanceof Promise ? (n.value = !0, p.finally(() => {
4515
+ const u = pu(), t = e, n = R(!1), o = R(!1), r = ie(e, "visible"), s = k(() => !!t.title || !!u.header), c = k(() => {
4516
+ const g = [];
4517
+ return t.type && g.push(`is-${t.type}`), s.value && g.push("has-header"), g;
4518
+ }), i = k(() => t.type ? st[t.type] : void 0), a = k(() => ({
4519
+ type: t.type ?? "primary",
4520
+ loading: n.value && o.value,
4521
+ disabled: n.value && !o.value,
4522
+ ...t.okButtonProps
4523
+ })), l = k(() => ({
4524
+ text: !0,
4525
+ bg: !0,
4526
+ loading: n.value && !o.value,
4527
+ disabled: n.value && o.value,
4528
+ ...t.cancelButtonProps
4529
+ })), d = k(
4530
+ () => n.value || a.value.disabled || l.value.disabled || !r.value
4531
+ );
4532
+ function h(g) {
4533
+ if (d.value) return !1;
4534
+ if (typeof g != "function") return !0;
4535
+ const v = g();
4536
+ return v instanceof Promise ? (n.value = !0, v.finally(() => {
4522
4537
  n.value = !1;
4523
- })) : p;
4538
+ })) : v;
4524
4539
  }
4525
- async function l() {
4526
- if (n.value) return;
4527
- o.value = !1, await a(t.onClose) && (r.value = !1);
4540
+ async function p() {
4541
+ if (d.value) return !1;
4542
+ o.value = !1, await h(t.onClose) && (r.value = !1);
4528
4543
  }
4529
- async function d() {
4530
- o.value = !0, await a(t.onOk) && (r.value = !1);
4544
+ async function f() {
4545
+ o.value = !0, await h(t.onOk) && (r.value = !1);
4531
4546
  }
4532
- return (h, p) => (m(), L(b(In), {
4547
+ return (g, v) => (m(), L(b(In), {
4533
4548
  visible: r.value,
4534
- "onUpdate:visible": p[0] || (p[0] = (f) => r.value = f),
4535
- onClose: p[1] || (p[1] = () => a(t.onClose))
4549
+ "onUpdate:visible": v[0] || (v[0] = (C) => r.value = C),
4550
+ onClose: v[1] || (v[1] = () => h(t.onClose))
4536
4551
  }, {
4537
4552
  default: Z(() => [
4538
- E("div", Oe({ class: "sq-dialog" }, h.$attrs, { class: c.value }), [
4553
+ A("div", qe({ class: "sq-dialog" }, g.$attrs, { class: c.value }), [
4539
4554
  s.value ? (m(), F("div", Ai, [
4540
4555
  i.value ? (m(), L(me(i.value), {
4541
4556
  key: 0,
4542
4557
  class: "sq-dialog-header-icon"
4543
4558
  })) : U("", !0),
4544
- W(h.$slots, "header", {}, () => [
4545
- E("span", {
4559
+ W(g.$slots, "header", {}, () => [
4560
+ A("span", {
4546
4561
  class: "sq-dialog-header-title",
4547
4562
  textContent: re(t.title)
4548
4563
  }, null, 8, Fi)
4549
4564
  ]),
4550
4565
  T(b(rt), {
4551
4566
  class: "sq-dialog-close",
4552
- onClick: l
4567
+ onClick: p
4553
4568
  })
4554
4569
  ])) : U("", !0),
4555
- E("div", Si, [
4556
- W(h.$slots, "default")
4570
+ A("div", Si, [
4571
+ W(g.$slots, "default")
4557
4572
  ]),
4558
4573
  t.footer ? (m(), F("div", qi, [
4559
- W(h.$slots, "footer", {}, () => [
4560
- T(b(Q), {
4561
- text: "",
4562
- bg: "",
4563
- disabled: n.value,
4564
- onClick: l
4565
- }, {
4574
+ W(g.$slots, "footer", {}, () => [
4575
+ T(b(Q), qe(l.value, { onClick: p }), {
4566
4576
  default: Z(() => [
4567
4577
  cu(re(t.cancelText), 1)
4568
4578
  ]),
4569
4579
  _: 1
4570
- }, 8, ["disabled"]),
4571
- T(b(Q), {
4572
- type: t.type ?? "primary",
4573
- disabled: n.value,
4574
- loading: n.value && o.value,
4575
- onClick: d
4576
- }, {
4580
+ }, 16),
4581
+ T(b(Q), qe(a.value, { onClick: f }), {
4577
4582
  default: Z(() => [
4578
4583
  cu(re(t.okText), 1)
4579
4584
  ]),
4580
4585
  _: 1
4581
- }, 8, ["type", "disabled", "loading"])
4586
+ }, 16)
4582
4587
  ])
4583
4588
  ])) : U("", !0)
4584
4589
  ], 16)
@@ -4597,7 +4602,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4597
4602
  size: {}
4598
4603
  },
4599
4604
  setup(e) {
4600
- const u = pu(), t = e, n = y(() => {
4605
+ const u = pu(), t = e, n = k(() => {
4601
4606
  const o = [];
4602
4607
  return ["none", "solid", "dotted", "dashed"].includes(t.variant) && o.push("is-thin"), u.default && t.direction !== "vertical" && o.push(`text-${t.orientation}`), o.push(`sq-divider--${t.direction}`), o;
4603
4608
  });
@@ -4605,7 +4610,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4605
4610
  class: K(["sq-divider", n.value]),
4606
4611
  style: ee({ "--divider-line-type": t.variant })
4607
4612
  }, [
4608
- b(u).default && t.direction !== "vertical" ? (m(), L(b(Ie), {
4613
+ b(u).default && t.direction !== "vertical" ? (m(), L(b(Oe), {
4609
4614
  key: 0,
4610
4615
  ellipsis: t.ellipsis,
4611
4616
  size: t.size
@@ -4899,13 +4904,13 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4899
4904
  let h = 1;
4900
4905
  if (r(l)) {
4901
4906
  d && s(d) && (h = parseInt(c(d)) + 1);
4902
- const g = `${h}. `, _ = g.length - 2;
4903
- a[i] = l.replace("- ", g), t("updateText", a, _, _);
4907
+ const g = `${h}. `, v = g.length - 2;
4908
+ a[i] = l.replace("- ", g), t("updateText", a, v, v);
4904
4909
  return;
4905
4910
  }
4906
4911
  if (s(l)) {
4907
- const g = c(l), _ = -g.length;
4908
- a[i] = l.replace(g, ""), t("updateText", a, _, _);
4912
+ const g = c(l), v = -g.length;
4913
+ a[i] = l.replace(g, ""), t("updateText", a, v, v);
4909
4914
  return;
4910
4915
  }
4911
4916
  d && s(d) && (h = parseInt(c(d)) + 1);
@@ -4966,15 +4971,15 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4966
4971
  let t;
4967
4972
  const n = e, o = R("edit"), r = R([]), s = R(!1), c = R(""), i = R(), a = R({}), l = le(null), d = le(null), h = le(null), p = le(
4968
4973
  null
4969
- ), f = ie(e, "value"), g = y(() => {
4974
+ ), f = ie(e, "value"), g = k(() => {
4970
4975
  const q = [];
4971
4976
  return n.size !== "md" && q.push(`sq-editor--${n.size}`), n.round && q.push("is-round"), q;
4972
- }), _ = y(
4977
+ }), v = k(
4973
4978
  () => c.value.length && !c.value.includes(`
4974
4979
  `) && c.value !== " " && !n.disabled
4975
- ), A = y(
4980
+ ), C = k(
4976
4981
  () => i.value !== void 0 && !c.value.length && !n.disabled
4977
- ), w = y(
4982
+ ), w = k(
4978
4983
  () => typeof n.beforePreview == "function" ? n.beforePreview(f.value) : f.value
4979
4984
  );
4980
4985
  be(() => {
@@ -4982,18 +4987,18 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4982
4987
  }), Ve(() => {
4983
4988
  document.removeEventListener("selectionchange", $), document.removeEventListener("click", M);
4984
4989
  });
4985
- function C(q) {
4990
+ function D(q) {
4986
4991
  q === "edit" && Ku(() => {
4987
- var D;
4988
- (D = l.value) == null || D.focus();
4992
+ var E;
4993
+ (E = l.value) == null || E.focus();
4989
4994
  });
4990
4995
  }
4991
- function k(q) {
4996
+ function y(q) {
4992
4997
  var j, G, N;
4993
- const D = r.value[i.value], z = (D == null ? void 0 : D.replace(" ", "")) ?? "";
4998
+ const E = r.value[i.value], z = (E == null ? void 0 : E.replace(" ", "")) ?? "";
4994
4999
  if (q.key === "Tab") {
4995
5000
  q.preventDefault();
4996
- const I = D.substring(0, a.value.startOfRow), B = D.substring(a.value.endOfRow);
5001
+ const I = E.substring(0, a.value.startOfRow), B = E.substring(a.value.endOfRow);
4997
5002
  r.value[i.value] = `${I} ${B}`, x(r.value, 1, 1);
4998
5003
  return;
4999
5004
  }
@@ -5010,38 +5015,38 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
5010
5015
  return;
5011
5016
  }
5012
5017
  if (q.key === "Enter") {
5013
- if (S(D)) {
5018
+ if (S(E)) {
5014
5019
  q.preventDefault();
5015
- const I = D.substring(0, D.indexOf("- "));
5020
+ const I = E.substring(0, E.indexOf("- "));
5016
5021
  if (z !== "- ") {
5017
5022
  const P = 3 + I.length;
5018
- r.value[i.value] = `${D}
5023
+ r.value[i.value] = `${E}
5019
5024
  ${I}- `, V(q.target), x(r.value, P, P);
5020
5025
  return;
5021
5026
  }
5022
5027
  const B = 2 + I.length;
5023
- r.value[i.value] = D.substring(B), x(r.value, -B, -B);
5028
+ r.value[i.value] = E.substring(B), x(r.value, -B, -B);
5024
5029
  return;
5025
5030
  }
5026
- if (v(D)) {
5031
+ if (_(E)) {
5027
5032
  q.preventDefault();
5028
- const I = z.match(/^\d+\.\s/)[0], P = `${parseInt(I) + 1}. `, Y = D.substring(0, D.indexOf(I));
5033
+ const I = z.match(/^\d+\.\s/)[0], P = `${parseInt(I) + 1}. `, Y = E.substring(0, E.indexOf(I));
5029
5034
  if (z !== I) {
5030
5035
  const gu = P.length + Y.length + 1;
5031
- r.value[i.value] = `${D}
5036
+ r.value[i.value] = `${E}
5032
5037
  ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5033
5038
  return;
5034
5039
  }
5035
5040
  const ue = I.length + Y.length;
5036
- r.value[i.value] = D.substring(ue), x(r.value, -ue, -ue);
5041
+ r.value[i.value] = E.substring(ue), x(r.value, -ue, -ue);
5037
5042
  return;
5038
5043
  }
5039
5044
  }
5040
5045
  }
5041
5046
  function $(q) {
5042
5047
  var z;
5043
- const D = window.getSelection();
5044
- (D == null ? void 0 : D.focusNode) === ((z = l.value) == null ? void 0 : z.$el) && (t = q.target, !((t == null ? void 0 : t.selectionStart) === void 0 || (t == null ? void 0 : t.selectionEnd) === void 0) && (a.value.start = (t == null ? void 0 : t.selectionStart) ?? 0, a.value.end = (t == null ? void 0 : t.selectionEnd) ?? 0, c.value = f.value.substring(
5048
+ const E = window.getSelection();
5049
+ (E == null ? void 0 : E.focusNode) === ((z = l.value) == null ? void 0 : z.$el) && (t = q.target, !((t == null ? void 0 : t.selectionStart) === void 0 || (t == null ? void 0 : t.selectionEnd) === void 0) && (a.value.start = (t == null ? void 0 : t.selectionStart) ?? 0, a.value.end = (t == null ? void 0 : t.selectionEnd) ?? 0, c.value = f.value.substring(
5045
5050
  a.value.start,
5046
5051
  a.value.end
5047
5052
  ), H()));
@@ -5050,17 +5055,17 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5050
5055
  c.value = "", i.value = void 0;
5051
5056
  }
5052
5057
  function V(q) {
5053
- const D = q.selectionStart, j = f.value.substring(0, D ?? 0).split(`
5058
+ const E = q.selectionStart, j = f.value.substring(0, E ?? 0).split(`
5054
5059
  `).length + 1, G = q.scrollTop, N = window.getComputedStyle(q), I = parseFloat(N.lineHeight), B = parseFloat(N.height), Y = parseFloat(N.paddingBlockStart) + I * j;
5055
5060
  B + G > Y || requestAnimationFrame(() => {
5056
5061
  q.scrollTo({ top: Y - B });
5057
5062
  });
5058
5063
  }
5059
5064
  function H() {
5060
- const q = t.selectionStart, D = f.value.substring(0, q ?? 0);
5061
- i.value = D.split(`
5065
+ const q = t.selectionStart, E = f.value.substring(0, q ?? 0);
5066
+ i.value = E.split(`
5062
5067
  `).length - 1;
5063
- const z = Math.max(D.lastIndexOf(`
5068
+ const z = Math.max(E.lastIndexOf(`
5064
5069
  `) + 1, 0);
5065
5070
  a.value.startOfRow = a.value.start - z, a.value.endOfRow = a.value.startOfRow + c.value.length, r.value = f.value.split(`
5066
5071
  `);
@@ -5068,28 +5073,28 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5068
5073
  function S(q) {
5069
5074
  return q.replace(" ", "").startsWith("- ");
5070
5075
  }
5071
- function v(q) {
5076
+ function _(q) {
5072
5077
  return /^\d+\.\s+/.test(q.replace(" ", ""));
5073
5078
  }
5074
- function x(q, D = 0, z = 0) {
5079
+ function x(q, E = 0, z = 0) {
5075
5080
  s.value || (r.value = [...q], f.value = r.value.join(`
5076
- `), a.value.start += D, a.value.end += z, a.value.startOfRow += D, a.value.endOfRow += z, t == null || t.focus(), s.value = !0, Ku(() => {
5081
+ `), a.value.start += E, a.value.end += z, a.value.startOfRow += E, a.value.endOfRow += z, t == null || t.focus(), s.value = !0, Ku(() => {
5077
5082
  t == null || t.setSelectionRange(a.value.start, a.value.end), setTimeout(() => {
5078
5083
  s.value = !1;
5079
5084
  }, 100);
5080
5085
  }));
5081
5086
  }
5082
- return (q, D) => (m(), F("div", {
5087
+ return (q, E) => (m(), F("div", {
5083
5088
  class: K(["sq-editor", g.value]),
5084
- onClick: D[2] || (D[2] = Be(() => {
5089
+ onClick: E[2] || (E[2] = Me(() => {
5085
5090
  }, ["stop"]))
5086
5091
  }, [
5087
- de(E("div", Wi, [
5088
- E("div", Gi, [
5092
+ de(A("div", Wi, [
5093
+ A("div", Gi, [
5089
5094
  T(zi, {
5090
5095
  ref_key: "boldRef",
5091
5096
  ref: d,
5092
- disabled: !_.value,
5097
+ disabled: !v.value,
5093
5098
  rows: r.value,
5094
5099
  "selected-val": c.value,
5095
5100
  "selected-row": i.value,
@@ -5099,7 +5104,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5099
5104
  T(Ri, {
5100
5105
  ref_key: "italicRef",
5101
5106
  ref: h,
5102
- disabled: !_.value,
5107
+ disabled: !v.value,
5103
5108
  rows: r.value,
5104
5109
  "selected-val": c.value,
5105
5110
  "selected-row": i.value,
@@ -5109,7 +5114,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5109
5114
  T(Ii, {
5110
5115
  ref_key: "underlineRef",
5111
5116
  ref: p,
5112
- disabled: !_.value,
5117
+ disabled: !v.value,
5113
5118
  rows: r.value,
5114
5119
  "selected-val": c.value,
5115
5120
  "selected-row": i.value,
@@ -5117,7 +5122,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5117
5122
  onUpdateText: x
5118
5123
  }, null, 8, ["disabled", "rows", "selected-val", "selected-row", "select-info"]),
5119
5124
  T(Pi, {
5120
- disabled: !_.value,
5125
+ disabled: !v.value,
5121
5126
  rows: r.value,
5122
5127
  "selected-val": c.value,
5123
5128
  "selected-row": i.value,
@@ -5125,7 +5130,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5125
5130
  onUpdateText: x
5126
5131
  }, null, 8, ["disabled", "rows", "selected-val", "selected-row", "select-info"]),
5127
5132
  T(Zi, {
5128
- disabled: !_.value,
5133
+ disabled: !v.value,
5129
5134
  rows: r.value,
5130
5135
  "selected-val": c.value,
5131
5136
  "selected-row": i.value,
@@ -5134,7 +5139,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5134
5139
  }, null, 8, ["disabled", "rows", "selected-val", "selected-row", "select-info"]),
5135
5140
  T(b(Ye), { direction: "vertical" }),
5136
5141
  T(Ui, {
5137
- disabled: !A.value,
5142
+ disabled: !C.value,
5138
5143
  rows: r.value,
5139
5144
  "selected-val": c.value,
5140
5145
  "selected-row": i.value,
@@ -5142,7 +5147,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5142
5147
  onUpdateText: x
5143
5148
  }, null, 8, ["disabled", "rows", "selected-val", "selected-row", "select-info"]),
5144
5149
  T(ji, {
5145
- disabled: !A.value,
5150
+ disabled: !C.value,
5146
5151
  rows: r.value,
5147
5152
  "selected-val": c.value,
5148
5153
  "selected-row": i.value,
@@ -5163,8 +5168,8 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5163
5168
  maxlength: n.maxlength,
5164
5169
  minlength: n.minlength,
5165
5170
  value: f.value,
5166
- "onUpdate:value": D[0] || (D[0] = (z) => f.value = z),
5167
- onKeydown: k
5171
+ "onUpdate:value": E[0] || (E[0] = (z) => f.value = z),
5172
+ onKeydown: y
5168
5173
  }, null, 8, ["size", "round", "disabled", "placeholder", "maxlength", "minlength", "value"])
5169
5174
  ], 512), [
5170
5175
  [Ue, o.value === "edit"]
@@ -5173,15 +5178,15 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5173
5178
  key: 0,
5174
5179
  text: w.value
5175
5180
  }, null, 8, ["text"])) : U("", !0),
5176
- E("div", Xi, [
5181
+ A("div", Xi, [
5177
5182
  T(b(Wl), {
5178
5183
  size: n.size,
5179
5184
  round: n.round,
5180
5185
  disabled: n.disabled,
5181
5186
  items: u,
5182
5187
  value: o.value,
5183
- "onUpdate:value": D[1] || (D[1] = (z) => o.value = z),
5184
- onChange: C
5188
+ "onUpdate:value": E[1] || (E[1] = (z) => o.value = z),
5189
+ onChange: D
5185
5190
  }, null, 8, ["size", "round", "disabled", "value"]),
5186
5191
  W(q.$slots, "control")
5187
5192
  ])
@@ -5201,10 +5206,10 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5201
5206
  setup(e) {
5202
5207
  const { nextId: u } = qu(), t = e, n = R(""), o = R("");
5203
5208
  tu(mt, n);
5204
- const r = y(() => {
5209
+ const r = k(() => {
5205
5210
  const i = [];
5206
5211
  return t.isRequired && i.push("is-required"), i;
5207
- }), s = y(() => ["input", "switch"].includes(t.type));
5212
+ }), s = k(() => ["input", "switch"].includes(t.type));
5208
5213
  fe(
5209
5214
  () => t.errorMsg,
5210
5215
  (i) => {
@@ -5226,15 +5231,15 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5226
5231
  textContent: re(t.label),
5227
5232
  for: t.type !== "custom" ? n.value : void 0
5228
5233
  }, null, 10, Ji)) : U("", !0),
5229
- E("div", Ki, [
5234
+ A("div", Ki, [
5230
5235
  W(i.$slots, "default"),
5231
- T(Te, {
5236
+ T(Re, {
5232
5237
  appear: "",
5233
5238
  name: "sq-zoom-top",
5234
5239
  onAfterLeave: c
5235
5240
  }, {
5236
5241
  default: Z(() => [
5237
- de(E("span", {
5242
+ de(A("span", {
5238
5243
  class: "sq-form-item-check",
5239
5244
  textContent: re(o.value)
5240
5245
  }, null, 8, Qi), [
@@ -5277,21 +5282,21 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5277
5282
  readonly: oe(r, "readonly")
5278
5283
  })
5279
5284
  );
5280
- const s = R({}), c = R([]), i = R({}), a = y(() => {
5285
+ const s = R({}), c = R([]), i = R({}), a = k(() => {
5281
5286
  const S = [];
5282
5287
  return r.size !== "md" && S.push(`sq-form--${r.size}`), r.requiredMark !== "hidden" && S.push(`required-${r.requiredMark}`), S.push(`is-${r.layout}`), S;
5283
- }), l = y(() => ({
5288
+ }), l = k(() => ({
5284
5289
  "--form-label-width": r.labelWidth
5285
- })), d = y(() => {
5290
+ })), d = k(() => {
5286
5291
  const S = r.step;
5287
- return S === void 0 ? r.items : r.items.filter((v) => v.step === void 0 ? v : Array.isArray(v.step) ? v.step.includes(S) : v.step === S);
5292
+ return S === void 0 ? r.items : r.items.filter((_) => _.step === void 0 ? _ : Array.isArray(_.step) ? _.step.includes(S) : _.step === S);
5288
5293
  });
5289
5294
  be(() => {
5290
5295
  n = structuredClone(Ge(r.formData));
5291
5296
  });
5292
5297
  function h(S) {
5293
- var v;
5294
- return (v = S.rule) == null ? void 0 : v.required;
5298
+ var _;
5299
+ return (_ = S.rule) == null ? void 0 : _.required;
5295
5300
  }
5296
5301
  function p(S) {
5297
5302
  if (i.value[S]) return Su;
@@ -5299,48 +5304,48 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5299
5304
  if (s.value[S])
5300
5305
  return r.invalidStatus === "error" ? on : cn;
5301
5306
  }
5302
- async function f(S, v, x, q = !0) {
5307
+ async function f(S, _, x, q = !0) {
5303
5308
  if (!x) return;
5304
- const D = x.trigger ?? "change", z = Array.isArray(D) ? "array" : "string";
5305
- if (v) {
5306
- if (z === "array" && !D.includes(v)) return;
5307
- if (z === "string" && D !== v) return;
5309
+ const E = x.trigger ?? "change", z = Array.isArray(E) ? "array" : "string";
5310
+ if (_) {
5311
+ if (z === "array" && !E.includes(_)) return;
5312
+ if (z === "string" && E !== _) return;
5308
5313
  }
5309
5314
  c.value = c.value.filter((I) => I !== S), M(S), i.value[S] = new AbortController(), await Ku();
5310
5315
  const j = r.formData[S];
5311
5316
  let G = !1;
5312
5317
  const N = x.validateType ?? "string";
5313
- return x.validateFunc ? G = await _(S, j, x, v) : N === "string" ? G = A(S, j, x) : N === "boolean" ? G = w(S, j, x) : N === "list" && (G = C(S, j, x)), q && o("validate", S, G, Ge(c.value)), i.value[S].signal.aborted || M(S), G;
5318
+ return x.validateFunc ? G = await v(S, j, x, _) : N === "string" ? G = C(S, j, x) : N === "boolean" ? G = w(S, j, x) : N === "list" && (G = D(S, j, x)), q && o("validate", S, G, Ge(c.value)), i.value[S].signal.aborted || M(S), G;
5314
5319
  }
5315
5320
  function g(S) {
5316
5321
  if (s.value[S]) return r.invalidStatus;
5317
5322
  }
5318
- async function _(S, v, x, q) {
5319
- const D = i.value[S].signal, z = await x.validateFunc(v, D, q);
5323
+ async function v(S, _, x, q) {
5324
+ const E = i.value[S].signal, z = await x.validateFunc(_, E, q);
5320
5325
  if (z === void 0) {
5321
5326
  c.value = c.value.filter((j) => j !== S), delete s.value[S];
5322
5327
  return;
5323
5328
  }
5324
- return z === !0 ? $(S) : z === !1 ? k(S, "字段验证失败") : z ? k(S, z) : $(S), z === !0 || typeof z == "string" && !z;
5329
+ return z === !0 ? $(S) : z === !1 ? y(S, "字段验证失败") : z ? y(S, z) : $(S), z === !0 || typeof z == "string" && !z;
5325
5330
  }
5326
- function A(S, v, x) {
5327
- return x.required && !v ? (k(S, x.requiredText ?? "字段必填"), !1) : x.pattern && v && !x.pattern.test(v) ? (k(S, x.patternText ?? "字段验证失败"), !1) : ($(S), !0);
5331
+ function C(S, _, x) {
5332
+ return x.required && !_ ? (y(S, x.requiredText ?? "字段必填"), !1) : x.pattern && _ && !x.pattern.test(_) ? (y(S, x.patternText ?? "字段验证失败"), !1) : ($(S), !0);
5328
5333
  }
5329
- function w(S, v, x) {
5330
- return x.required && v === void 0 ? (k(S, x.requiredText ?? "字段必填"), !1) : ($(S), !0);
5334
+ function w(S, _, x) {
5335
+ return x.required && _ === void 0 ? (y(S, x.requiredText ?? "字段必填"), !1) : ($(S), !0);
5331
5336
  }
5332
- function C(S, v, x) {
5333
- return x.required && (!v || !v.length) ? (k(S, x.requiredText ?? "字段必填"), !1) : x.pattern && v && v.map((z) => z.toString()).map((z) => x.pattern.test(z)).includes(!1) ? (k(S, x.patternText ?? "字段验证失败"), !1) : ($(S), !0);
5337
+ function D(S, _, x) {
5338
+ return x.required && (!_ || !_.length) ? (y(S, x.requiredText ?? "字段必填"), !1) : x.pattern && _ && _.map((z) => z.toString()).map((z) => x.pattern.test(z)).includes(!1) ? (y(S, x.patternText ?? "字段验证失败"), !1) : ($(S), !0);
5334
5339
  }
5335
- function k(S, v) {
5336
- c.value = c.value.filter((x) => x !== S), s.value[S] = v;
5340
+ function y(S, _) {
5341
+ c.value = c.value.filter((x) => x !== S), s.value[S] = _;
5337
5342
  }
5338
5343
  function $(S) {
5339
5344
  c.value.push(S), delete s.value[S];
5340
5345
  }
5341
5346
  function M(S) {
5342
- var v;
5343
- (v = i.value[S]) == null || v.abort(), delete i.value[S];
5347
+ var _;
5348
+ (_ = i.value[S]) == null || _.abort(), delete i.value[S];
5344
5349
  }
5345
5350
  function V() {
5346
5351
  o("update:formData", structuredClone(n)), s.value = {}, c.value = [], o("validate", "SQFORM", !1, Ge(c.value));
@@ -5349,15 +5354,15 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5349
5354
  const x = (S ? r.items : d.value).filter(
5350
5355
  (q) => q.type !== "custom" && q.rule && !c.value.includes(q.binding)
5351
5356
  ).map((q) => {
5352
- const D = q;
5353
- return f(D.binding, void 0, D.rule, !1);
5357
+ const E = q;
5358
+ return f(E.binding, void 0, E.rule, !1);
5354
5359
  });
5355
5360
  return Promise.all(x).then((q) => (o("validate", "SQFORM", !q.includes(!1), Ge(c.value)), q));
5356
5361
  }
5357
- return u({ resetFields: V, validate: H }), (S, v) => (m(), F("form", {
5362
+ return u({ resetFields: V, validate: H }), (S, _) => (m(), F("form", {
5358
5363
  class: K(["sq-form", a.value]),
5359
5364
  style: ee(l.value),
5360
- onSubmit: v[0] || (v[0] = Be(() => {
5365
+ onSubmit: _[0] || (_[0] = Me(() => {
5361
5366
  }, ["prevent"]))
5362
5367
  }, [
5363
5368
  (m(!0), F(xe, null, He(d.value, (x, q) => (m(), L(ua, {
@@ -5371,7 +5376,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5371
5376
  "error-msg": r.hasFeedback ? s.value[x.binding] : ""
5372
5377
  }, {
5373
5378
  default: Z(() => [
5374
- x.type === "input" ? (m(), L(b(On), Oe({
5379
+ x.type === "input" ? (m(), L(b(On), qe({
5375
5380
  key: 0,
5376
5381
  ref_for: !0
5377
5382
  }, x.props, {
@@ -5379,35 +5384,35 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5379
5384
  status: g(x.binding),
5380
5385
  "suffix-icon": p(x.binding),
5381
5386
  value: r.formData[x.binding],
5382
- "onUpdate:value": (D) => r.formData[x.binding] = D,
5383
- onChange: (D) => f(x.binding, "change", x.rule),
5384
- onInput: (D) => f(x.binding, "input", x.rule),
5385
- onBlur: (D) => f(x.binding, "blur", x.rule)
5386
- }), null, 16, ["name", "status", "suffix-icon", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : x.type === "checkbox" ? (m(), L(b(Di), Oe({
5387
+ "onUpdate:value": (E) => r.formData[x.binding] = E,
5388
+ onChange: (E) => f(x.binding, "change", x.rule),
5389
+ onInput: (E) => f(x.binding, "input", x.rule),
5390
+ onBlur: (E) => f(x.binding, "blur", x.rule)
5391
+ }), null, 16, ["name", "status", "suffix-icon", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : x.type === "checkbox" ? (m(), L(b(Di), qe({
5387
5392
  key: 1,
5388
5393
  ref_for: !0
5389
5394
  }, x.props, {
5390
5395
  name: x.name,
5391
5396
  value: r.formData[x.binding],
5392
- "onUpdate:value": (D) => r.formData[x.binding] = D,
5393
- onChange: (D) => f(x.binding, "change", x.rule)
5394
- }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "radio" ? (m(), L(b(Hl), Oe({
5397
+ "onUpdate:value": (E) => r.formData[x.binding] = E,
5398
+ onChange: (E) => f(x.binding, "change", x.rule)
5399
+ }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "radio" ? (m(), L(b(Hl), qe({
5395
5400
  key: 2,
5396
5401
  ref_for: !0
5397
5402
  }, x.props, {
5398
5403
  name: x.name,
5399
5404
  value: r.formData[x.binding],
5400
- "onUpdate:value": (D) => r.formData[x.binding] = D,
5401
- onChange: (D) => f(x.binding, "change", x.rule)
5402
- }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "switch" ? (m(), L(b(u1), Oe({
5405
+ "onUpdate:value": (E) => r.formData[x.binding] = E,
5406
+ onChange: (E) => f(x.binding, "change", x.rule)
5407
+ }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "switch" ? (m(), L(b(u1), qe({
5403
5408
  key: 3,
5404
5409
  ref_for: !0
5405
5410
  }, x.props, {
5406
5411
  name: x.name,
5407
5412
  loading: i.value[x.binding] !== void 0,
5408
5413
  checked: r.formData[x.binding],
5409
- "onUpdate:checked": (D) => r.formData[x.binding] = D,
5410
- onChange: (D) => f(x.binding, "change", x.rule)
5414
+ "onUpdate:checked": (E) => r.formData[x.binding] = E,
5415
+ onChange: (E) => f(x.binding, "change", x.rule)
5411
5416
  }), null, 16, ["name", "loading", "checked", "onUpdate:checked", "onChange"])) : W(S.$slots, x.slot, { key: 4 })
5412
5417
  ]),
5413
5418
  _: 2
@@ -5439,7 +5444,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5439
5444
  },
5440
5445
  emits: ["load", "error"],
5441
5446
  setup(e, { emit: u }) {
5442
- const t = new IntersectionObserver(g), n = u, o = e, r = R(!1), s = R(o.src), c = R(!1), i = R(!1), a = R(!1), l = le(null), d = y(() => r.value && !c.value), h = y(() => ({
5447
+ const t = new IntersectionObserver(g), n = u, o = e, r = R(!1), s = R(o.src), c = R(!1), i = R(!1), a = R(!1), l = le(null), d = k(() => r.value && !c.value), h = k(() => ({
5443
5448
  height: d.value ? void 0 : "var(--image-placeholder-height)",
5444
5449
  aspectRatio: d.value ? void 0 : o.aspectRatio
5445
5450
  }));
@@ -5448,42 +5453,42 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5448
5453
  }), Ve(() => {
5449
5454
  t.disconnect();
5450
5455
  });
5451
- function p(A) {
5452
- r.value = !0, n("load", A);
5456
+ function p(C) {
5457
+ r.value = !0, n("load", C);
5453
5458
  }
5454
- function f(A) {
5459
+ function f(C) {
5455
5460
  if (s.value !== o.fallback && o.fallback) {
5456
5461
  s.value = o.fallback;
5457
5462
  return;
5458
5463
  }
5459
- c.value = !0, r.value = !0, n("error", A);
5464
+ c.value = !0, r.value = !0, n("error", C);
5460
5465
  }
5461
- function g(A) {
5462
- A[0].isIntersecting && (i.value = !0, t.disconnect());
5466
+ function g(C) {
5467
+ C[0].isIntersecting && (i.value = !0, t.disconnect());
5463
5468
  }
5464
- function _() {
5469
+ function v() {
5465
5470
  a.value = !0;
5466
5471
  }
5467
- return (A, w) => (m(), F("div", {
5472
+ return (C, w) => (m(), F("div", {
5468
5473
  class: "sq-image",
5469
5474
  style: ee(h.value),
5470
5475
  ref_key: "imgRef",
5471
5476
  ref: l
5472
5477
  }, [
5473
- T(Te, { name: "sq-fade" }, {
5478
+ T(Re, { name: "sq-fade" }, {
5474
5479
  default: Z(() => [
5475
5480
  r.value ? U("", !0) : (m(), F("div", na))
5476
5481
  ]),
5477
5482
  _: 1
5478
5483
  }),
5479
5484
  !c.value && i.value ? (m(), F("picture", oa, [
5480
- (m(!0), F(xe, null, He(o.source, (C, k) => (m(), F("source", {
5481
- key: k,
5482
- srcset: C.src,
5483
- media: C.media,
5484
- type: C.type
5485
+ (m(!0), F(xe, null, He(o.source, (D, y) => (m(), F("source", {
5486
+ key: y,
5487
+ srcset: D.src,
5488
+ media: D.media,
5489
+ type: D.type
5485
5490
  }, null, 8, ra))), 128)),
5486
- E("img", {
5491
+ A("img", {
5487
5492
  style: ee({ objectFit: o.objectFit }),
5488
5493
  crossorigin: o.crossorigin,
5489
5494
  alt: o.alt,
@@ -5495,20 +5500,20 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5495
5500
  !c.value && i.value && o.preview ? (m(), F("div", {
5496
5501
  key: 1,
5497
5502
  class: "sq-image-control",
5498
- onClick: _
5503
+ onClick: v
5499
5504
  }, [
5500
5505
  T(b(sn))
5501
5506
  ])) : U("", !0),
5502
5507
  c.value ? (m(), F("div", ca, [
5503
- W(A.$slots, "error", {}, () => [
5504
- w[1] || (w[1] = E("span", null, "图片加载失败", -1))
5508
+ W(C.$slots, "error", {}, () => [
5509
+ w[1] || (w[1] = A("span", null, "图片加载失败", -1))
5505
5510
  ])
5506
5511
  ])) : U("", !0),
5507
5512
  o.preview ? (m(), L(b(fa), {
5508
5513
  key: 3,
5509
5514
  "src-list": [s.value],
5510
5515
  visible: a.value,
5511
- "onUpdate:visible": w[0] || (w[0] = (C) => a.value = C)
5516
+ "onUpdate:visible": w[0] || (w[0] = (D) => a.value = D)
5512
5517
  }, null, 8, ["src-list", "visible"])) : U("", !0)
5513
5518
  ], 4));
5514
5519
  }
@@ -5532,7 +5537,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5532
5537
  setup(e) {
5533
5538
  const u = {}, t = {};
5534
5539
  let n = !1, o;
5535
- const r = e, s = R(1), c = R(!1), i = R(!1), a = R(0), l = R(0), d = R(!0), h = R({ x: 0, y: 0 }), p = ie(e, "visible"), f = y(() => r.srcList[l.value]), g = y(() => {
5540
+ const r = e, s = R(1), c = R(!1), i = R(!1), a = R(0), l = R(0), d = R(!0), h = R({ x: 0, y: 0 }), p = ie(e, "visible"), f = k(() => r.srcList[l.value]), g = k(() => {
5536
5541
  const B = c.value ? -1 : 1, P = i.value ? -1 : 1;
5537
5542
  return {
5538
5543
  transform: [
@@ -5547,21 +5552,21 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5547
5552
  fe(p, (B) => {
5548
5553
  B || V();
5549
5554
  });
5550
- function _(B) {
5551
- B.deltaY < 0 ? v() : x();
5555
+ function v(B) {
5556
+ B.deltaY < 0 ? _() : x();
5552
5557
  }
5553
- function A(B) {
5558
+ function C(B) {
5554
5559
  n = !0, u.x = B.x, u.y = B.y;
5555
5560
  }
5556
5561
  function w() {
5557
5562
  n = !1;
5558
5563
  }
5559
- function C(B) {
5564
+ function D(B) {
5560
5565
  if (!n || !r.moveable) return;
5561
5566
  const P = B.x - u.x, Y = B.y - u.y;
5562
5567
  h.value.x += P * 2, h.value.y += Y * 2, u.x = B.x, u.y = B.y;
5563
5568
  }
5564
- function k(B) {
5569
+ function y(B) {
5565
5570
  B.touches.length === 1 ? (n = !0, u.x = B.touches[0].screenX, u.y = B.touches[0].screenY) : B.touches.length === 2 && (o = S(B.touches[0], B.touches[1]));
5566
5571
  }
5567
5572
  function $() {
@@ -5590,7 +5595,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5590
5595
  const Y = P.clientX - B.clientX, ue = P.clientY - B.clientY;
5591
5596
  return Math.sqrt(Y * Y + ue * ue);
5592
5597
  }
5593
- function v() {
5598
+ function _() {
5594
5599
  s.value >= r.maxScale || (s.value = Math.min(r.maxScale, s.value * (1 + r.scaleStep)));
5595
5600
  }
5596
5601
  function x() {
@@ -5599,7 +5604,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5599
5604
  function q() {
5600
5605
  s.value = Math.min(t.x, t.y), h.value = { x: 0, y: 0 };
5601
5606
  }
5602
- function D() {
5607
+ function E() {
5603
5608
  s.value = 1, h.value = { x: 0, y: 0 };
5604
5609
  }
5605
5610
  function z() {
@@ -5624,27 +5629,27 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5624
5629
  "onUpdate:visible": P[6] || (P[6] = (Y) => p.value = Y),
5625
5630
  keyboard: r.keyboard,
5626
5631
  "mask-closeable": r.maskCloseable,
5627
- onWheelPassive: _,
5628
- onMousemove: C,
5632
+ onWheelPassive: v,
5633
+ onMousemove: D,
5629
5634
  onMouseup: w,
5630
5635
  onTouchmovePassive: M,
5631
5636
  onTouchend: $
5632
5637
  }, {
5633
5638
  default: Z(() => [
5634
- E("img", {
5639
+ A("img", {
5635
5640
  style: ee(g.value),
5636
5641
  src: f.value,
5637
- onClick: P[0] || (P[0] = Be(() => {
5642
+ onClick: P[0] || (P[0] = Me(() => {
5638
5643
  }, ["stop"])),
5639
5644
  onLoad: I,
5640
- onMousedown: Be(A, ["prevent"]),
5641
- onTouchstartPassive: k
5645
+ onMousedown: Me(C, ["prevent"]),
5646
+ onTouchstartPassive: y
5642
5647
  }, null, 44, la),
5643
5648
  T(b(Q), {
5644
5649
  class: "sq-image-viewer-close",
5645
5650
  round: "",
5646
5651
  icon: b(rt),
5647
- onClick: Be(N, ["stop"])
5652
+ onClick: Me(N, ["stop"])
5648
5653
  }, null, 8, ["icon"]),
5649
5654
  r.srcList.length > 1 ? (m(), F(xe, { key: 0 }, [
5650
5655
  T(b(Q), {
@@ -5665,7 +5670,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5665
5670
  r.toolbar ? (m(), F("div", {
5666
5671
  key: 1,
5667
5672
  class: "sq-image-viewer-toolbar",
5668
- onClick: P[5] || (P[5] = Be(() => {
5673
+ onClick: P[5] || (P[5] = Me(() => {
5669
5674
  }, ["stop"]))
5670
5675
  }, [
5671
5676
  T(b(ce), { tip: "放大" }, {
@@ -5674,7 +5679,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5674
5679
  text: "",
5675
5680
  icon: b(Yo),
5676
5681
  disabled: s.value >= r.maxScale,
5677
- onClick: v
5682
+ onClick: _
5678
5683
  }, null, 8, ["icon", "disabled"])
5679
5684
  ]),
5680
5685
  _: 1
@@ -5738,7 +5743,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5738
5743
  T(b(Q), {
5739
5744
  text: "",
5740
5745
  icon: b(G0),
5741
- onClick: D
5746
+ onClick: E
5742
5747
  }, null, 8, ["icon"])
5743
5748
  ]),
5744
5749
  _: 1
@@ -5768,58 +5773,58 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5768
5773
  setup(e, { expose: u }) {
5769
5774
  const t = {};
5770
5775
  let n = 0, o, r = !1, s;
5771
- const c = e, i = R(1), a = R({ x: 0, y: 0 }), l = le(null), d = le(null), h = y(() => ({
5776
+ const c = e, i = R(1), a = R({ x: 0, y: 0 }), l = le(null), d = le(null), h = k(() => ({
5772
5777
  transform: `scale(${i.value})`,
5773
5778
  marginInlineStart: `${a.value.x}px`,
5774
5779
  marginBlockStart: `${a.value.y}px`
5775
5780
  }));
5776
5781
  be(() => {
5777
- document.addEventListener("mousemove", A), document.addEventListener("mouseup", _);
5782
+ document.addEventListener("mousemove", C), document.addEventListener("mouseup", v);
5778
5783
  }), Ve(() => {
5779
- document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", _);
5784
+ document.removeEventListener("mousemove", C), document.removeEventListener("mouseup", v);
5780
5785
  });
5781
- function p(v) {
5786
+ function p(_) {
5782
5787
  a.value = { x: 0, y: 0 }, o = l.value.getBoundingClientRect();
5783
- const x = v.target, q = x.naturalWidth, D = x.naturalHeight, z = o.width / q, j = o.height / D;
5788
+ const x = _.target, q = x.naturalWidth, E = x.naturalHeight, z = o.width / q, j = o.height / E;
5784
5789
  n = Math.max(z, j), i.value = n;
5785
5790
  }
5786
- function f(v) {
5787
- v.deltaY < 0 ? M() : V();
5791
+ function f(_) {
5792
+ _.deltaY < 0 ? M() : V();
5788
5793
  }
5789
- function g(v) {
5790
- r = !0, t.x = v.x, t.y = v.y;
5794
+ function g(_) {
5795
+ r = !0, t.x = _.x, t.y = _.y;
5791
5796
  }
5792
- function _() {
5797
+ function v() {
5793
5798
  r = !1;
5794
5799
  }
5795
- function A(v) {
5800
+ function C(_) {
5796
5801
  if (!r) return;
5797
- const x = v.x - t.x, q = v.y - t.y;
5798
- t.x = v.x, t.y = v.y;
5799
- const D = a.value.x + x * 2, z = a.value.y + q * 2;
5800
- a.value.x = D, a.value.y = z, H();
5802
+ const x = _.x - t.x, q = _.y - t.y;
5803
+ t.x = _.x, t.y = _.y;
5804
+ const E = a.value.x + x * 2, z = a.value.y + q * 2;
5805
+ a.value.x = E, a.value.y = z, H();
5801
5806
  }
5802
- function w(v) {
5803
- v.touches.length === 1 ? (r = !0, t.x = v.touches[0].screenX, t.y = v.touches[0].screenY) : v.touches.length === 2 && (s = $(v.touches[0], v.touches[1]));
5807
+ function w(_) {
5808
+ _.touches.length === 1 ? (r = !0, t.x = _.touches[0].screenX, t.y = _.touches[0].screenY) : _.touches.length === 2 && (s = $(_.touches[0], _.touches[1]));
5804
5809
  }
5805
- function C() {
5810
+ function D() {
5806
5811
  r = !1, s = void 0;
5807
5812
  }
5808
- function k(v) {
5809
- if (v.touches.length === 1) {
5813
+ function y(_) {
5814
+ if (_.touches.length === 1) {
5810
5815
  if (!r) return;
5811
- const x = v.touches[0], q = x.screenX - t.x, D = x.screenY - t.y;
5812
- a.value.x += q * 2, a.value.y += D * 2, t.x = x.screenX, t.y = x.screenY;
5813
- } else if (v.touches.length === 2) {
5816
+ const x = _.touches[0], q = x.screenX - t.x, E = x.screenY - t.y;
5817
+ a.value.x += q * 2, a.value.y += E * 2, t.x = x.screenX, t.y = x.screenY;
5818
+ } else if (_.touches.length === 2) {
5814
5819
  if (!s) return;
5815
- const x = $(v.touches[0], v.touches[1]), q = x / s;
5816
- let D = i.value * q;
5817
- D = Math.min(Gu, D), D = Math.max(n, D), i.value = D, s = x;
5820
+ const x = $(_.touches[0], _.touches[1]), q = x / s;
5821
+ let E = i.value * q;
5822
+ E = Math.min(Gu, E), E = Math.max(n, E), i.value = E, s = x;
5818
5823
  }
5819
5824
  }
5820
- function $(v, x) {
5821
- const q = x.clientX - v.clientX, D = x.clientY - v.clientY;
5822
- return Math.sqrt(q * q + D * D);
5825
+ function $(_, x) {
5826
+ const q = x.clientX - _.clientX, E = x.clientY - _.clientY;
5827
+ return Math.sqrt(q * q + E * E);
5823
5828
  }
5824
5829
  function M() {
5825
5830
  i.value >= Gu || (i.value = Math.min(Gu, i.value * (1 + 0.1)));
@@ -5829,17 +5834,17 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5829
5834
  }
5830
5835
  function H() {
5831
5836
  requestAnimationFrame(() => {
5832
- const v = d.value.getBoundingClientRect(), x = v.left >= o.left, q = v.right <= o.right;
5833
- x ? a.value.x -= (v.left - o.left) * 2 : q && (a.value.x += (o.right - v.right) * 2);
5834
- const D = v.top >= o.top, z = v.bottom <= o.bottom;
5835
- D ? a.value.y -= (v.top - o.top) * 2 : z && (a.value.y += (o.bottom - v.bottom) * 2);
5837
+ const _ = d.value.getBoundingClientRect(), x = _.left >= o.left, q = _.right <= o.right;
5838
+ x ? a.value.x -= (_.left - o.left) * 2 : q && (a.value.x += (o.right - _.right) * 2);
5839
+ const E = _.top >= o.top, z = _.bottom <= o.bottom;
5840
+ E ? a.value.y -= (_.top - o.top) * 2 : z && (a.value.y += (o.bottom - _.bottom) * 2);
5836
5841
  });
5837
5842
  }
5838
5843
  function S() {
5839
5844
  if (!c.src) return;
5840
- const v = d.value.naturalWidth, x = d.value.naturalHeight, q = v / x, z = v > x && q < c.aspectRatio || v < x && q > c.aspectRatio ? v / x : 1, j = i.value / n / z;
5845
+ const _ = d.value.naturalWidth, x = d.value.naturalHeight, q = _ / x, z = _ > x && q < c.aspectRatio || _ < x && q > c.aspectRatio ? _ / x : 1, j = i.value / n / z;
5841
5846
  let G = document.createElement("canvas");
5842
- const N = Math.min(v, x);
5847
+ const N = Math.min(_, x);
5843
5848
  G.width = N, G.height = N / c.aspectRatio;
5844
5849
  let I = G.getContext("2d");
5845
5850
  const B = d.value.getBoundingClientRect(), P = (B.left - o.left) / i.value, Y = (B.top - o.top) / i.value;
@@ -5847,22 +5852,22 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5847
5852
  d.value,
5848
5853
  P * j,
5849
5854
  Y * j,
5850
- v * j,
5855
+ _ * j,
5851
5856
  x * j
5852
5857
  );
5853
5858
  const ue = G.toDataURL("image/png");
5854
5859
  return I = void 0, G = void 0, ue;
5855
5860
  }
5856
- return u({ cropImage: S }), (v, x) => (m(), F("div", {
5861
+ return u({ cropImage: S }), (_, x) => (m(), F("div", {
5857
5862
  class: "sq-image-crop",
5858
5863
  style: ee({ "--image-crop-ratio": c.aspectRatio }),
5859
5864
  onWheelPassive: f,
5860
- onMousedown: Be(g, ["prevent"]),
5865
+ onMousedown: Me(g, ["prevent"]),
5861
5866
  onTouchstartPassive: w,
5862
- onTouchmovePassive: k,
5863
- onTouchend: C
5867
+ onTouchmovePassive: y,
5868
+ onTouchend: D
5864
5869
  }, [
5865
- E("div", {
5870
+ A("div", {
5866
5871
  class: "sq-image-crop-cropper",
5867
5872
  style: ee(`${c.aspectRatio > 1 ? "width" : "height"}: 100%`),
5868
5873
  ref_key: "cropperRef",
@@ -5912,18 +5917,18 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5912
5917
  }),
5913
5918
  emits: /* @__PURE__ */ se(["focus", "blur", "input", "change"], ["update:value"]),
5914
5919
  setup(e, { expose: u, emit: t }) {
5915
- const n = pu(), o = t, r = e, { inputSize: s, inputRound: c, inputDisabled: i, inputReadonly: a, id: l } = ci(r), d = ie(e, "value"), h = R(!1), p = R(!1), f = le(null), g = y(() => {
5920
+ const n = pu(), o = t, r = e, { inputSize: s, inputRound: c, inputDisabled: i, inputReadonly: a, id: l } = ci(r), d = ie(e, "value"), h = R(!1), p = R(!1), f = le(null), g = k(() => {
5916
5921
  const N = [], I = b(s), B = b(c), P = b(H);
5917
5922
  return I !== "md" && N.push(`sq-input--${I}`), r.status && N.push(`is-${r.status}`), B && N.push("is-round"), P && N.push("is-disabled"), N;
5918
- }), _ = y(() => b(p) ? rn : sn), A = y(() => b(p) ? "text" : r.type), w = y(() => n.prefix || r.prefixIcon), C = y(() => b(h) && b(d).length), k = y(
5919
- () => r.type === "password" && b(C)
5920
- ), $ = y(() => r.clearable && b(C)), M = y(() => r.loading ? Su : r.suffixIcon), V = y(
5921
- () => b(k) || b($) || b(M) || n.suffix
5922
- ), H = y(() => r.loading || b(i)), S = y(() => {
5923
+ }), v = k(() => b(p) ? rn : sn), C = k(() => b(p) ? "text" : r.type), w = k(() => n.prefix || r.prefixIcon), D = k(() => b(h) && b(d).length), y = k(
5924
+ () => r.type === "password" && b(D)
5925
+ ), $ = k(() => r.clearable && b(D)), M = k(() => r.loading ? Su : r.suffixIcon), V = k(
5926
+ () => b(y) || b($) || b(M) || n.suffix
5927
+ ), H = k(() => r.loading || b(i)), S = k(() => {
5923
5928
  if (r.type === "textarea")
5924
5929
  return b(H) || b(a) ? "none" : r.resize;
5925
5930
  });
5926
- function v(N) {
5931
+ function _(N) {
5927
5932
  o("focus", N), !b(a) && (h.value = !0);
5928
5933
  }
5929
5934
  function x(N) {
@@ -5932,7 +5937,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5932
5937
  function q() {
5933
5938
  setTimeout(j);
5934
5939
  }
5935
- function D() {
5940
+ function E() {
5936
5941
  d.value = "";
5937
5942
  }
5938
5943
  function z() {
@@ -5963,7 +5968,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5963
5968
  disabled: H.value,
5964
5969
  readonly: b(a),
5965
5970
  placeholder: r.placeholder,
5966
- type: A.value,
5971
+ type: C.value,
5967
5972
  maxlength: r.maxlength,
5968
5973
  minlength: r.minlength,
5969
5974
  autocomplete: r.autocomplete,
@@ -5973,7 +5978,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5973
5978
  inputmode: r.inputmode,
5974
5979
  ref_key: "inputRef",
5975
5980
  ref: f,
5976
- onFocus: v,
5981
+ onFocus: _,
5977
5982
  onBlur: x,
5978
5983
  onInput: I[1] || (I[1] = (B) => o("input", B)),
5979
5984
  onChange: I[2] || (I[2] = (B) => o("change", B))
@@ -5988,7 +5993,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5988
5993
  disabled: H.value,
5989
5994
  readonly: b(a),
5990
5995
  placeholder: r.placeholder,
5991
- type: A.value,
5996
+ type: C.value,
5992
5997
  maxlength: r.maxlength,
5993
5998
  minlength: r.minlength,
5994
5999
  autocomplete: r.autocomplete,
@@ -6000,15 +6005,15 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
6000
6005
  cols: r.cols,
6001
6006
  ref_key: "inputRef",
6002
6007
  ref: f,
6003
- onFocus: v,
6008
+ onFocus: _,
6004
6009
  onBlur: x,
6005
6010
  onInput: I[4] || (I[4] = (B) => o("input", B)),
6006
6011
  onChange: I[5] || (I[5] = (B) => o("change", B))
6007
6012
  }, null, 44, xa)), [
6008
6013
  [t0, d.value]
6009
6014
  ]),
6010
- de(E("span", ga, [
6011
- k.value ? (m(), L(me(_.value), {
6015
+ de(A("span", ga, [
6016
+ y.value ? (m(), L(me(v.value), {
6012
6017
  key: 0,
6013
6018
  class: "sq-input-suffix-pwd",
6014
6019
  onMousedown: z
@@ -6016,7 +6021,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
6016
6021
  $.value ? (m(), L(b(rt), {
6017
6022
  key: 1,
6018
6023
  class: "sq-input-suffix-clear",
6019
- onMousedown: D
6024
+ onMousedown: E
6020
6025
  })) : U("", !0),
6021
6026
  W(N.$slots, "suffix", {}, () => [
6022
6027
  M.value ? (m(), L(me(M.value), { key: 0 })) : U("", !0)
@@ -6039,39 +6044,39 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
6039
6044
  id: {}
6040
6045
  },
6041
6046
  setup(e, { expose: u }) {
6042
- const t = e, n = R(!0), o = y(() => t.type ? st[t.type] : void 0);
6047
+ const t = e, n = R(!0), o = k(() => t.type ? st[t.type] : void 0);
6043
6048
  be(() => {
6044
6049
  setTimeout(r, t.closeAfter);
6045
6050
  });
6046
6051
  function r() {
6047
6052
  n.value = !1;
6048
6053
  }
6049
- return u({ close: r }), (s, c) => (m(), L(Te, {
6054
+ return u({ close: r }), (s, c) => (m(), L(Re, {
6050
6055
  appear: "",
6051
6056
  name: "sq-zoom-top",
6052
6057
  onBeforeLeave: t.onClose,
6053
6058
  onAfterLeave: t.onDestroy
6054
6059
  }, {
6055
6060
  default: Z(() => [
6056
- de(E("div", {
6061
+ de(A("div", {
6057
6062
  class: K(["sq-message", `is-${t.type}`]),
6058
6063
  id: t.id,
6059
6064
  style: ee({ top: `${t.offsetTop}px` })
6060
6065
  }, [
6061
- T(b(Ie), { class: "sq-message-inner" }, {
6066
+ T(b(Oe), { class: "sq-message-inner" }, {
6062
6067
  default: Z(() => [
6063
6068
  t.type && o.value ? (m(), L(me(o.value), {
6064
6069
  key: 0,
6065
6070
  class: "sq-message-icon"
6066
6071
  })) : U("", !0),
6067
- E("div", {
6072
+ A("div", {
6068
6073
  class: "sq-message-content",
6069
6074
  textContent: re(t.message)
6070
6075
  }, null, 8, ka)
6071
6076
  ]),
6072
6077
  _: 1
6073
6078
  }),
6074
- c[0] || (c[0] = E("div", { class: "sq-message-progress" }, null, -1))
6079
+ c[0] || (c[0] = A("div", { class: "sq-message-progress" }, null, -1))
6075
6080
  ], 14, _a), [
6076
6081
  [Ue, n.value]
6077
6082
  ])
@@ -6227,14 +6232,14 @@ const A1 = tt, Fa = "sq-pagination-prev", Sa = /* @__PURE__ */ O({
6227
6232
  }),
6228
6233
  emits: ["update:current", "update:pageSize"],
6229
6234
  setup(e) {
6230
- const u = e, t = ie(e, "current"), n = ie(e, "pageSize"), o = y(() => Math.ceil(u.total / n.value) || 1), r = y(() => {
6235
+ const u = e, t = ie(e, "current"), n = ie(e, "pageSize"), o = k(() => Math.ceil(u.total / n.value) || 1), r = k(() => {
6231
6236
  const c = [], i = Math.floor(u.pagerCount / 2) - 1;
6232
6237
  let a = t.value - i, l = t.value + i;
6233
6238
  a < 2 && (a = 2, l = a + i * 2), l > o.value - 1 && (l = o.value - 1, a = l - i * 2);
6234
6239
  for (let d = 1; d <= o.value; d++)
6235
6240
  d === 1 || d === o.value || d >= a && d <= l ? c.push(d) : (d === a - 1 || d === l + 1) && c.push(0);
6236
6241
  return c;
6237
- }), s = y(() => {
6242
+ }), s = k(() => {
6238
6243
  const c = u.layout ?? ["prev", "pager", "next"], i = [];
6239
6244
  for (const a of c)
6240
6245
  switch (a) {
@@ -6329,11 +6334,11 @@ function Zn(e) {
6329
6334
  return e === "y" ? "height" : "width";
6330
6335
  }
6331
6336
  const Na = /* @__PURE__ */ new Set(["top", "bottom"]);
6332
- function ze(e) {
6337
+ function Te(e) {
6333
6338
  return Na.has(Ne(e)) ? "y" : "x";
6334
6339
  }
6335
6340
  function Vn(e) {
6336
- return Nn(ze(e));
6341
+ return Nn(Te(e));
6337
6342
  }
6338
6343
  function Za(e, u, t) {
6339
6344
  t === void 0 && (t = !1);
@@ -6409,7 +6414,7 @@ function Wt(e, u, t) {
6409
6414
  reference: n,
6410
6415
  floating: o
6411
6416
  } = e;
6412
- const r = ze(u), s = Vn(u), c = Zn(s), i = Ne(u), a = r === "y", l = n.x + n.width / 2 - o.width / 2, d = n.y + n.height / 2 - o.height / 2, h = n[c] / 2 - o[c] / 2;
6417
+ const r = Te(u), s = Vn(u), c = Zn(s), i = Ne(u), a = r === "y", l = n.x + n.width / 2 - o.width / 2, d = n.y + n.height / 2 - o.height / 2, h = n[c] / 2 - o[c] / 2;
6413
6418
  let p;
6414
6419
  switch (i) {
6415
6420
  case "top":
@@ -6469,14 +6474,14 @@ const Ya = async (e, u, t) => {
6469
6474
  } = Wt(a, n, i), h = n, p = {}, f = 0;
6470
6475
  for (let g = 0; g < c.length; g++) {
6471
6476
  const {
6472
- name: _,
6473
- fn: A
6477
+ name: v,
6478
+ fn: C
6474
6479
  } = c[g], {
6475
6480
  x: w,
6476
- y: C,
6477
- data: k,
6481
+ y: D,
6482
+ data: y,
6478
6483
  reset: $
6479
- } = await A({
6484
+ } = await C({
6480
6485
  x: l,
6481
6486
  y: d,
6482
6487
  initialPlacement: n,
@@ -6490,11 +6495,11 @@ const Ya = async (e, u, t) => {
6490
6495
  floating: u
6491
6496
  }
6492
6497
  });
6493
- l = w ?? l, d = C ?? d, p = {
6498
+ l = w ?? l, d = D ?? d, p = {
6494
6499
  ...p,
6495
- [_]: {
6496
- ...p[_],
6497
- ...k
6500
+ [v]: {
6501
+ ...p[v],
6502
+ ...y
6498
6503
  }
6499
6504
  }, $ && f <= 50 && (f++, typeof $ == "object" && ($.placement && (h = $.placement), $.rects && (a = $.rects === !0 ? await s.getElementRects({
6500
6505
  reference: e,
@@ -6529,8 +6534,8 @@ async function Un(e, u) {
6529
6534
  elementContext: d = "floating",
6530
6535
  altBoundary: h = !1,
6531
6536
  padding: p = 0
6532
- } = Tu(u, e), f = Xa(p), _ = c[h ? d === "floating" ? "reference" : "floating" : d], A = Fu(await r.getClippingRect({
6533
- element: (t = await (r.isElement == null ? void 0 : r.isElement(_))) == null || t ? _ : _.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
6537
+ } = Tu(u, e), f = Xa(p), v = c[h ? d === "floating" ? "reference" : "floating" : d], C = Fu(await r.getClippingRect({
6538
+ element: (t = await (r.isElement == null ? void 0 : r.isElement(v))) == null || t ? v : v.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
6534
6539
  boundary: a,
6535
6540
  rootBoundary: l,
6536
6541
  strategy: i
@@ -6539,7 +6544,7 @@ async function Un(e, u) {
6539
6544
  y: o,
6540
6545
  width: s.floating.width,
6541
6546
  height: s.floating.height
6542
- } : s.reference, C = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), k = await (r.isElement == null ? void 0 : r.isElement(C)) ? await (r.getScale == null ? void 0 : r.getScale(C)) || {
6547
+ } : s.reference, D = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), y = await (r.isElement == null ? void 0 : r.isElement(D)) ? await (r.getScale == null ? void 0 : r.getScale(D)) || {
6543
6548
  x: 1,
6544
6549
  y: 1
6545
6550
  } : {
@@ -6548,14 +6553,14 @@ async function Un(e, u) {
6548
6553
  }, $ = Fu(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
6549
6554
  elements: c,
6550
6555
  rect: w,
6551
- offsetParent: C,
6556
+ offsetParent: D,
6552
6557
  strategy: i
6553
6558
  }) : w);
6554
6559
  return {
6555
- top: (A.top - $.top + f.top) / k.y,
6556
- bottom: ($.bottom - A.bottom + f.bottom) / k.y,
6557
- left: (A.left - $.left + f.left) / k.x,
6558
- right: ($.right - A.right + f.right) / k.x
6560
+ top: (C.top - $.top + f.top) / y.y,
6561
+ bottom: ($.bottom - C.bottom + f.bottom) / y.y,
6562
+ left: (C.left - $.left + f.left) / y.x,
6563
+ right: ($.right - C.right + f.right) / y.x
6559
6564
  };
6560
6565
  }
6561
6566
  const Ja = function(e) {
@@ -6578,50 +6583,50 @@ const Ja = function(e) {
6578
6583
  fallbackStrategy: p = "bestFit",
6579
6584
  fallbackAxisSideDirection: f = "none",
6580
6585
  flipAlignment: g = !0,
6581
- ..._
6586
+ ...v
6582
6587
  } = Tu(e, u);
6583
6588
  if ((t = r.arrow) != null && t.alignmentOffset)
6584
6589
  return {};
6585
- const A = Ne(o), w = ze(c), C = Ne(c) === c, k = await (i.isRTL == null ? void 0 : i.isRTL(a.floating)), $ = h || (C || !g ? [Au(c)] : Va(c)), M = f !== "none";
6586
- !h && M && $.push(...Wa(c, g, f, k));
6587
- const V = [c, ...$], H = await Un(u, _), S = [];
6588
- let v = ((n = r.flip) == null ? void 0 : n.overflows) || [];
6589
- if (l && S.push(H[A]), d) {
6590
- const z = Za(o, s, k);
6590
+ const C = Ne(o), w = Te(c), D = Ne(c) === c, y = await (i.isRTL == null ? void 0 : i.isRTL(a.floating)), $ = h || (D || !g ? [Au(c)] : Va(c)), M = f !== "none";
6591
+ !h && M && $.push(...Wa(c, g, f, y));
6592
+ const V = [c, ...$], H = await Un(u, v), S = [];
6593
+ let _ = ((n = r.flip) == null ? void 0 : n.overflows) || [];
6594
+ if (l && S.push(H[C]), d) {
6595
+ const z = Za(o, s, y);
6591
6596
  S.push(H[z[0]], H[z[1]]);
6592
6597
  }
6593
- if (v = [...v, {
6598
+ if (_ = [..._, {
6594
6599
  placement: o,
6595
6600
  overflows: S
6596
6601
  }], !S.every((z) => z <= 0)) {
6597
6602
  var x, q;
6598
6603
  const z = (((x = r.flip) == null ? void 0 : x.index) || 0) + 1, j = V[z];
6599
- if (j && (!(d === "alignment" ? w !== ze(j) : !1) || // We leave the current main axis only if every placement on that axis
6604
+ if (j && (!(d === "alignment" ? w !== Te(j) : !1) || // We leave the current main axis only if every placement on that axis
6600
6605
  // overflows the main axis.
6601
- v.every((I) => ze(I.placement) === w ? I.overflows[0] > 0 : !0)))
6606
+ _.every((I) => Te(I.placement) === w ? I.overflows[0] > 0 : !0)))
6602
6607
  return {
6603
6608
  data: {
6604
6609
  index: z,
6605
- overflows: v
6610
+ overflows: _
6606
6611
  },
6607
6612
  reset: {
6608
6613
  placement: j
6609
6614
  }
6610
6615
  };
6611
- let G = (q = v.filter((N) => N.overflows[0] <= 0).sort((N, I) => N.overflows[1] - I.overflows[1])[0]) == null ? void 0 : q.placement;
6616
+ let G = (q = _.filter((N) => N.overflows[0] <= 0).sort((N, I) => N.overflows[1] - I.overflows[1])[0]) == null ? void 0 : q.placement;
6612
6617
  if (!G)
6613
6618
  switch (p) {
6614
6619
  case "bestFit": {
6615
- var D;
6616
- const N = (D = v.filter((I) => {
6620
+ var E;
6621
+ const N = (E = _.filter((I) => {
6617
6622
  if (M) {
6618
- const B = ze(I.placement);
6623
+ const B = Te(I.placement);
6619
6624
  return B === w || // Create a bias to the `y` side axis due to horizontal
6620
6625
  // reading directions favoring greater width.
6621
6626
  B === "y";
6622
6627
  }
6623
6628
  return !0;
6624
- }).map((I) => [I.placement, I.overflows.filter((B) => B > 0).reduce((B, P) => B + P, 0)]).sort((I, B) => I[1] - B[1])[0]) == null ? void 0 : D[0];
6629
+ }).map((I) => [I.placement, I.overflows.filter((B) => B > 0).reduce((B, P) => B + P, 0)]).sort((I, B) => I[1] - B[1])[0]) == null ? void 0 : E[0];
6625
6630
  N && (G = N);
6626
6631
  break;
6627
6632
  }
@@ -6645,7 +6650,7 @@ async function Qa(e, u) {
6645
6650
  placement: t,
6646
6651
  platform: n,
6647
6652
  elements: o
6648
- } = e, r = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), s = Ne(t), c = Ru(t), i = ze(t) === "y", a = Ka.has(s) ? -1 : 1, l = r && i ? -1 : 1, d = Tu(u, e);
6653
+ } = e, r = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), s = Ne(t), c = Ru(t), i = Te(t) === "y", a = Ka.has(s) ? -1 : 1, l = r && i ? -1 : 1, d = Tu(u, e);
6649
6654
  let {
6650
6655
  mainAxis: h,
6651
6656
  crossAxis: p,
@@ -6702,13 +6707,13 @@ const el = function(e) {
6702
6707
  mainAxis: r = !0,
6703
6708
  crossAxis: s = !1,
6704
6709
  limiter: c = {
6705
- fn: (_) => {
6710
+ fn: (v) => {
6706
6711
  let {
6707
- x: A,
6712
+ x: C,
6708
6713
  y: w
6709
- } = _;
6714
+ } = v;
6710
6715
  return {
6711
- x: A,
6716
+ x: C,
6712
6717
  y: w
6713
6718
  };
6714
6719
  }
@@ -6717,15 +6722,15 @@ const el = function(e) {
6717
6722
  } = Tu(e, u), a = {
6718
6723
  x: t,
6719
6724
  y: n
6720
- }, l = await Un(u, i), d = ze(Ne(o)), h = Nn(d);
6725
+ }, l = await Un(u, i), d = Te(Ne(o)), h = Nn(d);
6721
6726
  let p = a[h], f = a[d];
6722
6727
  if (r) {
6723
- const _ = h === "y" ? "top" : "left", A = h === "y" ? "bottom" : "right", w = p + l[_], C = p - l[A];
6724
- p = Ut(w, p, C);
6728
+ const v = h === "y" ? "top" : "left", C = h === "y" ? "bottom" : "right", w = p + l[v], D = p - l[C];
6729
+ p = Ut(w, p, D);
6725
6730
  }
6726
6731
  if (s) {
6727
- const _ = d === "y" ? "top" : "left", A = d === "y" ? "bottom" : "right", w = f + l[_], C = f - l[A];
6728
- f = Ut(w, f, C);
6732
+ const v = d === "y" ? "top" : "left", C = d === "y" ? "bottom" : "right", w = f + l[v], D = f - l[C];
6733
+ f = Ut(w, f, D);
6729
6734
  }
6730
6735
  const g = c.fn({
6731
6736
  ...u,
@@ -6802,13 +6807,13 @@ function xt(e) {
6802
6807
  return sl.some((n) => t[n] ? t[n] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !u && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !u && (t.filter ? t.filter !== "none" : !1) || cl.some((n) => (t.willChange || "").includes(n)) || il.some((n) => (t.contain || "").includes(n));
6803
6808
  }
6804
6809
  function al(e) {
6805
- let u = Le(e);
6810
+ let u = Ie(e);
6806
6811
  for (; Ee(u) && !eu(u); ) {
6807
6812
  if (xt(u))
6808
6813
  return u;
6809
6814
  if (Iu(u))
6810
6815
  return null;
6811
- u = Le(u);
6816
+ u = Ie(u);
6812
6817
  }
6813
6818
  return null;
6814
6819
  }
@@ -6831,7 +6836,7 @@ function Ou(e) {
6831
6836
  scrollTop: e.scrollY
6832
6837
  };
6833
6838
  }
6834
- function Le(e) {
6839
+ function Ie(e) {
6835
6840
  if (su(e) === "html")
6836
6841
  return e;
6837
6842
  const u = (
@@ -6844,7 +6849,7 @@ function Le(e) {
6844
6849
  return Gt(u) ? u.host : u;
6845
6850
  }
6846
6851
  function jn(e) {
6847
- const u = Le(e);
6852
+ const u = Ie(e);
6848
6853
  return eu(u) ? e.ownerDocument ? e.ownerDocument.body : e.body : Ee(u) && xu(u) ? u : jn(u);
6849
6854
  }
6850
6855
  function fu(e, u, t) {
@@ -6910,8 +6915,8 @@ function Ze(e, u, t, n) {
6910
6915
  const h = pe(r), p = n && ke(n) ? pe(n) : n;
6911
6916
  let f = h, g = ot(f);
6912
6917
  for (; g && n && p !== f; ) {
6913
- const _ = Je(g), A = g.getBoundingClientRect(), w = ye(g), C = A.left + (g.clientLeft + parseFloat(w.paddingLeft)) * _.x, k = A.top + (g.clientTop + parseFloat(w.paddingTop)) * _.y;
6914
- i *= _.x, a *= _.y, l *= _.x, d *= _.y, i += C, a += k, f = pe(g), g = ot(f);
6918
+ const v = Je(g), C = g.getBoundingClientRect(), w = ye(g), D = C.left + (g.clientLeft + parseFloat(w.paddingLeft)) * v.x, y = C.top + (g.clientTop + parseFloat(w.paddingTop)) * v.y;
6919
+ i *= v.x, a *= v.y, l *= v.x, d *= v.y, i += D, a += y, f = pe(g), g = ot(f);
6915
6920
  }
6916
6921
  }
6917
6922
  return Fu({
@@ -7024,7 +7029,7 @@ function Yt(e, u, t) {
7024
7029
  return Fu(n);
7025
7030
  }
7026
7031
  function Yn(e, u) {
7027
- const t = Le(e);
7032
+ const t = Ie(e);
7028
7033
  return t === u || !ke(t) || eu(t) ? !1 : ye(t).position === "fixed" || Yn(t, u);
7029
7034
  }
7030
7035
  function vl(e, u) {
@@ -7033,10 +7038,10 @@ function vl(e, u) {
7033
7038
  return t;
7034
7039
  let n = fu(e, [], !1).filter((c) => ke(c) && su(c) !== "body"), o = null;
7035
7040
  const r = ye(e).position === "fixed";
7036
- let s = r ? Le(e) : e;
7041
+ let s = r ? Ie(e) : e;
7037
7042
  for (; ke(s) && !eu(s); ) {
7038
7043
  const c = ye(s), i = xt(s);
7039
- !i && c.position === "fixed" && (o = null), (r ? !i && !o : !i && c.position === "static" && !!o && xl.has(o.position) || xu(s) && !i && Yn(e, s)) ? n = n.filter((l) => l !== s) : o = c, s = Le(s);
7044
+ !i && c.position === "fixed" && (o = null), (r ? !i && !o : !i && c.position === "static" && !!o && xl.has(o.position) || xu(s) && !i && Yn(e, s)) ? n = n.filter((l) => l !== s) : o = c, s = Ie(s);
7040
7045
  }
7041
7046
  return u.set(e, n), n;
7042
7047
  }
@@ -7108,11 +7113,11 @@ function Jn(e, u) {
7108
7113
  if (Iu(e))
7109
7114
  return t;
7110
7115
  if (!Ee(e)) {
7111
- let o = Le(e);
7116
+ let o = Ie(e);
7112
7117
  for (; o && !eu(o); ) {
7113
7118
  if (ke(o) && !Yu(o))
7114
7119
  return o;
7115
- o = Le(o);
7120
+ o = Ie(o);
7116
7121
  }
7117
7122
  return t;
7118
7123
  }
@@ -7168,30 +7173,30 @@ function El(e, u) {
7168
7173
  } = a;
7169
7174
  if (c || u(), !h || !p)
7170
7175
  return;
7171
- const f = ku(d), g = ku(o.clientWidth - (l + h)), _ = ku(o.clientHeight - (d + p)), A = ku(l), C = {
7172
- rootMargin: -f + "px " + -g + "px " + -_ + "px " + -A + "px",
7176
+ const f = ku(d), g = ku(o.clientWidth - (l + h)), v = ku(o.clientHeight - (d + p)), C = ku(l), D = {
7177
+ rootMargin: -f + "px " + -g + "px " + -v + "px " + -C + "px",
7173
7178
  threshold: Pe(0, Du(1, i)) || 1
7174
7179
  };
7175
- let k = !0;
7180
+ let y = !0;
7176
7181
  function $(M) {
7177
7182
  const V = M[0].intersectionRatio;
7178
7183
  if (V !== i) {
7179
- if (!k)
7184
+ if (!y)
7180
7185
  return s();
7181
7186
  V ? s(!1, V) : n = setTimeout(() => {
7182
7187
  s(!1, 1e-7);
7183
7188
  }, 1e3);
7184
7189
  }
7185
- V === 1 && !Kn(a, e.getBoundingClientRect()) && s(), k = !1;
7190
+ V === 1 && !Kn(a, e.getBoundingClientRect()) && s(), y = !1;
7186
7191
  }
7187
7192
  try {
7188
7193
  t = new IntersectionObserver($, {
7189
- ...C,
7194
+ ...D,
7190
7195
  // Handle <iframe>s
7191
7196
  root: o.ownerDocument
7192
7197
  });
7193
7198
  } catch {
7194
- t = new IntersectionObserver($, C);
7199
+ t = new IntersectionObserver($, D);
7195
7200
  }
7196
7201
  t.observe(e);
7197
7202
  }
@@ -7206,31 +7211,31 @@ function Al(e, u, t, n) {
7206
7211
  layoutShift: c = typeof IntersectionObserver == "function",
7207
7212
  animationFrame: i = !1
7208
7213
  } = n, a = vt(e), l = o || r ? [...a ? fu(a) : [], ...fu(u)] : [];
7209
- l.forEach((A) => {
7210
- o && A.addEventListener("scroll", t, {
7214
+ l.forEach((C) => {
7215
+ o && C.addEventListener("scroll", t, {
7211
7216
  passive: !0
7212
- }), r && A.addEventListener("resize", t);
7217
+ }), r && C.addEventListener("resize", t);
7213
7218
  });
7214
7219
  const d = a && c ? El(a, t) : null;
7215
7220
  let h = -1, p = null;
7216
- s && (p = new ResizeObserver((A) => {
7217
- let [w] = A;
7221
+ s && (p = new ResizeObserver((C) => {
7222
+ let [w] = C;
7218
7223
  w && w.target === a && p && (p.unobserve(u), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
7219
- var C;
7220
- (C = p) == null || C.observe(u);
7224
+ var D;
7225
+ (D = p) == null || D.observe(u);
7221
7226
  })), t();
7222
7227
  }), a && !i && p.observe(a), p.observe(u));
7223
7228
  let f, g = i ? Ze(e) : null;
7224
- i && _();
7225
- function _() {
7226
- const A = Ze(e);
7227
- g && !Kn(g, A) && t(), g = A, f = requestAnimationFrame(_);
7229
+ i && v();
7230
+ function v() {
7231
+ const C = Ze(e);
7232
+ g && !Kn(g, C) && t(), g = C, f = requestAnimationFrame(v);
7228
7233
  }
7229
7234
  return t(), () => {
7230
- var A;
7235
+ var C;
7231
7236
  l.forEach((w) => {
7232
7237
  o && w.removeEventListener("scroll", t), r && w.removeEventListener("resize", t);
7233
- }), d == null || d(), (A = p) == null || A.disconnect(), p = null, i && cancelAnimationFrame(f);
7238
+ }), d == null || d(), (C = p) == null || C.disconnect(), p = null, i && cancelAnimationFrame(f);
7234
7239
  };
7235
7240
  }
7236
7241
  const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
@@ -7267,8 +7272,8 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7267
7272
  const { getCssVar: u } = an(), { nextZIndex: t } = ct(), n = parseInt(u("--sq-padding-sm")), o = parseInt(u("--sq-padding-md"));
7268
7273
  let r, s;
7269
7274
  const c = e, i = ie(e, "visible"), a = R(0), l = R({}), d = le(null), h = le(null);
7270
- fe(i, (k) => {
7271
- k ? (a.value = t(), w(), s = Al(
7275
+ fe(i, (y) => {
7276
+ y ? (a.value = t(), w(), s = Al(
7272
7277
  d.value.$el,
7273
7278
  h.value,
7274
7279
  w
@@ -7276,31 +7281,31 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7276
7281
  }), be(() => {
7277
7282
  w();
7278
7283
  }), Ve(() => {
7279
- C(), document.removeEventListener("click", A);
7284
+ D(), document.removeEventListener("click", C);
7280
7285
  });
7281
7286
  function p() {
7282
- c.trigger !== "hover" || c.disabled || (C(), r = setTimeout(() => {
7283
- _(!1);
7287
+ c.trigger !== "hover" || c.disabled || (D(), r = setTimeout(() => {
7288
+ v(!1);
7284
7289
  }, c.showAfter));
7285
7290
  }
7286
7291
  function f() {
7287
- c.trigger === "hover" && (C(), r = setTimeout(() => {
7288
- A();
7292
+ c.trigger === "hover" && (D(), r = setTimeout(() => {
7293
+ C();
7289
7294
  }, c.hideAfter));
7290
7295
  }
7291
- function g(k) {
7292
- c.trigger === "click" && !c.disabled && !i.value && (k.stopPropagation(), _());
7296
+ function g(y) {
7297
+ c.trigger === "click" && !c.disabled && !i.value && (y.stopPropagation(), v());
7293
7298
  }
7294
- function _(k = !0) {
7295
- i.value = !0, k && document.addEventListener("click", A);
7299
+ function v(y = !0) {
7300
+ i.value = !0, y && document.addEventListener("click", C);
7296
7301
  }
7297
- function A() {
7298
- i.value = !1, document.removeEventListener("click", A);
7302
+ function C() {
7303
+ i.value = !1, document.removeEventListener("click", C);
7299
7304
  }
7300
7305
  async function w() {
7301
- var S, v;
7302
- const k = typeof ((S = d.value) == null ? void 0 : S.$el.getBoundingClientRect), $ = typeof ((v = h.value) == null ? void 0 : v.getBoundingClientRect);
7303
- if (k !== "function" || $ !== "function") return;
7306
+ var S, _;
7307
+ const y = typeof ((S = d.value) == null ? void 0 : S.$el.getBoundingClientRect), $ = typeof ((_ = h.value) == null ? void 0 : _.getBoundingClientRect);
7308
+ if (y !== "function" || $ !== "function") return;
7304
7309
  const M = await $l(d.value.$el, h.value, {
7305
7310
  placement: c.placement,
7306
7311
  middleware: [
@@ -7314,13 +7319,13 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7314
7319
  top: `${H}px`
7315
7320
  };
7316
7321
  }
7317
- function C() {
7322
+ function D() {
7318
7323
  r && (clearTimeout(r), r = void 0);
7319
7324
  }
7320
- return (k, $) => (m(), F(xe, null, [
7325
+ return (y, $) => (m(), F(xe, null, [
7321
7326
  T(b(Ia), {
7322
- class: K(["sq-popover-trigger", k.$attrs.class]),
7323
- style: ee(k.$attrs.style),
7327
+ class: K(["sq-popover-trigger", y.$attrs.class]),
7328
+ style: ee(y.$attrs.style),
7324
7329
  ref_key: "triggerRef",
7325
7330
  ref: d,
7326
7331
  onMouseenter: p,
@@ -7328,7 +7333,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7328
7333
  onClick: g
7329
7334
  }, {
7330
7335
  default: Z(() => [
7331
- W(k.$slots, "reference")
7336
+ W(y.$slots, "reference")
7332
7337
  ]),
7333
7338
  _: 3
7334
7339
  }, 8, ["class", "style"]),
@@ -7336,19 +7341,19 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7336
7341
  to: "body",
7337
7342
  disabled: !c.teleported
7338
7343
  }, [
7339
- T(Te, {
7344
+ T(Re, {
7340
7345
  name: c.transition
7341
7346
  }, {
7342
7347
  default: Z(() => [
7343
- de(E("div", {
7344
- class: K(["sq-popover", k.popoverClass]),
7348
+ de(A("div", {
7349
+ class: K(["sq-popover", y.popoverClass]),
7345
7350
  style: ee({ ...l.value, zIndex: a.value }),
7346
7351
  ref_key: "popverRef",
7347
7352
  ref: h,
7348
- onClick: $[0] || ($[0] = Be(() => {
7353
+ onClick: $[0] || ($[0] = Me(() => {
7349
7354
  }, ["stop"]))
7350
7355
  }, [
7351
- W(k.$slots, "default")
7356
+ W(y.$slots, "default")
7352
7357
  ], 6), [
7353
7358
  [Ue, i.value]
7354
7359
  ])
@@ -7375,13 +7380,13 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7375
7380
  label: { type: Boolean, default: !0 }
7376
7381
  },
7377
7382
  setup(e) {
7378
- const u = new ResizeObserver(a), t = e, n = R(100), o = le(null), r = y(() => {
7383
+ const u = new ResizeObserver(a), t = e, n = R(100), o = le(null), r = k(() => {
7379
7384
  const l = [];
7380
7385
  return t.color || l.push(`is-${t.type}`), t.variant && l.push(`is-${t.variant}`), l;
7381
- }), s = y(() => {
7386
+ }), s = k(() => {
7382
7387
  const l = t.max - t.min;
7383
7388
  return (t.value - t.min) * 100 / l;
7384
- }), c = y(() => `${Math.round(s.value * 10) / 10} %`), i = y(() => {
7389
+ }), c = k(() => `${Math.round(s.value * 10) / 10} %`), i = k(() => {
7385
7390
  const l = {};
7386
7391
  if (l["--progress-stroke"] = `${t.stroke}px`, !t.variant)
7387
7392
  l["--progress-value"] = `${s.value}%`;
@@ -7410,17 +7415,17 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7410
7415
  style: ee(i.value)
7411
7416
  }, [
7412
7417
  t.variant === "circle" ? (m(), F(xe, { key: 0 }, [
7413
- d[0] || (d[0] = E("svg", {
7418
+ d[0] || (d[0] = A("svg", {
7414
7419
  viewBox: "0 0 100 100",
7415
7420
  version: "1.1",
7416
7421
  xmlns: "http://www.w3.org/2000/svg"
7417
7422
  }, [
7418
- E("circle", {
7423
+ A("circle", {
7419
7424
  class: "sq-progress-track",
7420
7425
  cx: "50",
7421
7426
  cy: "50"
7422
7427
  }),
7423
- E("circle", {
7428
+ A("circle", {
7424
7429
  class: "sq-progress-path",
7425
7430
  cx: "50",
7426
7431
  cy: "50"
@@ -7428,7 +7433,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7428
7433
  ], -1)),
7429
7434
  t.label ? (m(), F("div", zl, [
7430
7435
  W(l.$slots, "default", { percentage: s.value }, () => [
7431
- E("span", {
7436
+ A("span", {
7432
7437
  textContent: re(c.value)
7433
7438
  }, null, 8, Tl)
7434
7439
  ])
@@ -7464,10 +7469,10 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7464
7469
  radioName: c,
7465
7470
  radioVariant: i,
7466
7471
  groupContext: a
7467
- } = ii(n), l = R(), d = ie(e, "checked"), h = y(() => {
7468
- const f = [], g = b(o), _ = b(r), A = b(i);
7469
- return g !== "md" && f.push(`sq-selection--${g}`), p.value && f.push("is-checked"), _ && f.push("is-disabled"), A && f.push(`is-${A}`), f;
7470
- }), p = y(() => a ? b(a).checked === n.value : d.value);
7472
+ } = ii(n), l = R(), d = ie(e, "checked"), h = k(() => {
7473
+ const f = [], g = b(o), v = b(r), C = b(i);
7474
+ return g !== "md" && f.push(`sq-selection--${g}`), p.value && f.push("is-checked"), v && f.push("is-disabled"), C && f.push(`is-${C}`), f;
7475
+ }), p = k(() => a ? b(a).checked === n.value : d.value);
7471
7476
  return fe(l, (f) => {
7472
7477
  d.value = f === n.value;
7473
7478
  }), fe(p, (f) => {
@@ -7482,15 +7487,15 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7482
7487
  }), (f, g) => (m(), F("label", {
7483
7488
  class: K(["sq-selection sq-radio", h.value])
7484
7489
  }, [
7485
- de(E("input", {
7490
+ de(A("input", {
7486
7491
  type: "radio",
7487
7492
  autofocus: n.autofocus,
7488
7493
  name: b(c),
7489
7494
  form: b(s),
7490
7495
  value: n.value,
7491
7496
  disabled: b(r),
7492
- "onUpdate:modelValue": g[0] || (g[0] = (_) => l.value = _),
7493
- onChange: g[1] || (g[1] = (_) => t("change", p.value))
7497
+ "onUpdate:modelValue": g[0] || (g[0] = (v) => l.value = v),
7498
+ onChange: g[1] || (g[1] = (v) => t("change", p.value))
7494
7499
  }, null, 40, Il), [
7495
7500
  [en, l.value]
7496
7501
  ]),
@@ -7516,7 +7521,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7516
7521
  },
7517
7522
  emits: ["change", "update:value"],
7518
7523
  setup(e, { emit: u }) {
7519
- const { nextId: t } = qu(), n = u, o = e, r = R(o.value), s = y(() => o.name ?? `sq-radio-${t()}`);
7524
+ const { nextId: t } = qu(), n = u, o = e, r = R(o.value), s = k(() => o.name ?? `sq-radio-${t()}`);
7520
7525
  tu(
7521
7526
  Qn,
7522
7527
  R({
@@ -7560,16 +7565,16 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7560
7565
  },
7561
7566
  emits: ["change", "update:value"],
7562
7567
  setup(e, { emit: u }) {
7563
- const { nextId: t } = qu(), n = u, o = e, r = R(o.value), s = R(), c = R(), i = y(() => o.items.length && typeof o.items[0] == "string" ? o.items.map((f) => ({
7568
+ const { nextId: t } = qu(), n = u, o = e, r = R(o.value), s = R(), c = R(), i = k(() => o.items.length && typeof o.items[0] == "string" ? o.items.map((f) => ({
7564
7569
  text: f,
7565
7570
  value: f
7566
- })) : o.items), a = y(() => {
7571
+ })) : o.items), a = k(() => {
7567
7572
  const f = [];
7568
7573
  return o.size !== "md" && f.push(`sq-segmented--${o.size}`), o.round && f.push("is-round"), f;
7569
- }), l = y(() => {
7574
+ }), l = k(() => {
7570
7575
  const f = {};
7571
7576
  return s.value && (f.width = `${s.value}px`), c.value && (f.left = `${c.value}px`), f;
7572
- }), d = y(() => o.name ?? `sq-segmented-${t()}`);
7577
+ }), d = k(() => o.name ?? `sq-segmented-${t()}`);
7573
7578
  tu(
7574
7579
  e0,
7575
7580
  R({
@@ -7595,14 +7600,14 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7595
7600
  return (f, g) => (m(), F("div", {
7596
7601
  class: K(["sq-segmented", a.value])
7597
7602
  }, [
7598
- E("div", {
7603
+ A("div", {
7599
7604
  class: "sq-segmented-thumb",
7600
7605
  style: ee(l.value)
7601
7606
  }, null, 4),
7602
7607
  W(f.$slots, "default", {}, () => [
7603
- (m(!0), F(xe, null, He(i.value, (_) => (m(), L(b(Yl), Oe({
7604
- key: _.text
7605
- }, { ref_for: !0 }, _), null, 16))), 128))
7608
+ (m(!0), F(xe, null, He(i.value, (v) => (m(), L(b(Yl), qe({
7609
+ key: v.text
7610
+ }, { ref_for: !0 }, v), null, 16))), 128))
7606
7611
  ])
7607
7612
  ], 2));
7608
7613
  }
@@ -7616,10 +7621,10 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7616
7621
  value: {}
7617
7622
  },
7618
7623
  setup(e) {
7619
- const u = e, { segmentedDisabled: t, parentContext: n } = ai(u), o = R(), r = le(null), s = y(() => {
7624
+ const u = e, { segmentedDisabled: t, parentContext: n } = ai(u), o = R(), r = le(null), s = k(() => {
7620
7625
  const l = [], d = b(t);
7621
7626
  return c.value && l.push("is-active"), d && l.push("is-disabled"), l;
7622
- }), c = y(() => b(n).active === u.value), i = y(() => b(n).size !== "sm" ? "md" : "sm");
7627
+ }), c = k(() => b(n).active === u.value), i = k(() => b(n).size !== "sm" ? "md" : "sm");
7623
7628
  fe(c, (l) => {
7624
7629
  if (l) {
7625
7630
  if (o.value = u.value ?? "on", !n) return;
@@ -7638,7 +7643,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7638
7643
  ref_key: "itemRef",
7639
7644
  ref: r
7640
7645
  }, [
7641
- de(E("input", {
7646
+ de(A("input", {
7642
7647
  type: "radio",
7643
7648
  name: (h = b(n)) == null ? void 0 : h.name,
7644
7649
  value: u.value,
@@ -7649,7 +7654,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7649
7654
  [en, o.value]
7650
7655
  ]),
7651
7656
  W(l.$slots, "default", {}, () => [
7652
- T(b(Ie), { size: i.value }, {
7657
+ T(b(Oe), { size: i.value }, {
7653
7658
  default: Z(() => [
7654
7659
  u.icon ? (m(), L(me(u.icon), { key: 0 })) : U("", !0),
7655
7660
  cu(" " + re(u.text), 1)
@@ -7679,14 +7684,14 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7679
7684
  }),
7680
7685
  emits: /* @__PURE__ */ se(["change", "click"], ["update:checked"]),
7681
7686
  setup(e, { emit: u }) {
7682
- const t = u, n = e, { switchSize: o, switchDisabled: r, id: s } = li(n), c = ie(e, "checked"), i = y(() => {
7687
+ const t = u, n = e, { switchSize: o, switchDisabled: r, id: s } = li(n), c = ie(e, "checked"), i = k(() => {
7683
7688
  const a = [], l = b(o), d = b(r);
7684
7689
  return l !== "md" && a.push(`sq-switch--${l}`), c.value && a.push("is-checked"), (d || n.loading) && a.push("is-disabled"), n.variant && a.push(`is-${n.variant}`), a;
7685
7690
  });
7686
7691
  return (a, l) => (m(), F("label", {
7687
7692
  class: K(["sq-switch", i.value])
7688
7693
  }, [
7689
- de(E("input", {
7694
+ de(A("input", {
7690
7695
  type: "checkbox",
7691
7696
  "onUpdate:modelValue": l[0] || (l[0] = (d) => c.value = d),
7692
7697
  id: b(s),
@@ -7699,8 +7704,8 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7699
7704
  }, null, 40, Jl), [
7700
7705
  [Kt, c.value]
7701
7706
  ]),
7702
- E("span", Kl, [
7703
- E("span", Ql, [
7707
+ A("span", Kl, [
7708
+ A("span", Ql, [
7704
7709
  n.loading ? (m(), L(b(Su), { key: 0 })) : U("", !0)
7705
7710
  ])
7706
7711
  ])
@@ -7716,11 +7721,11 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7716
7721
  size: { default: "md" }
7717
7722
  },
7718
7723
  setup(e) {
7719
- const u = e, t = y(() => {
7724
+ const u = e, t = k(() => {
7720
7725
  const o = [];
7721
7726
  return u.size !== "md" && o.push(`sq-tag--${u.size}`), u.variant && u.type && o.push(`is-${u.variant}`), u.type && o.push(`is-${u.type}`), u.round && o.push("is-round"), o;
7722
- }), n = y(() => u.size === "lg" ? "md" : "sm");
7723
- return (o, r) => (m(), L(b(Ie), {
7727
+ }), n = k(() => u.size === "lg" ? "md" : "sm");
7728
+ return (o, r) => (m(), L(b(Oe), {
7724
7729
  class: K(["sq-tag", t.value]),
7725
7730
  size: n.value
7726
7731
  }, {
@@ -7741,11 +7746,11 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7741
7746
  },
7742
7747
  emits: ["change"],
7743
7748
  setup(e, { emit: u }) {
7744
- const t = u, n = e, o = y(() => {
7749
+ const t = u, n = e, o = k(() => {
7745
7750
  const s = [];
7746
7751
  return n.size !== "md" && s.push(`sq-tag--${n.size}`), n.type && s.push(`is-${n.type}`), n.round && s.push("is-round"), n.checked && s.push("is-checked"), s;
7747
- }), r = y(() => n.size === "lg" ? "md" : "sm");
7748
- return (s, c) => (m(), L(b(Ie), {
7752
+ }), r = k(() => n.size === "lg" ? "md" : "sm");
7753
+ return (s, c) => (m(), L(b(Oe), {
7749
7754
  class: K(["sq-check-tag", o.value]),
7750
7755
  size: r.value,
7751
7756
  onClick: c[0] || (c[0] = (i) => t("change", !n.checked))
@@ -7756,7 +7761,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7756
7761
  _: 3
7757
7762
  }, 8, ["class", "size"]));
7758
7763
  }
7759
- }), o1 = "sq-text", Ie = /* @__PURE__ */ O({
7764
+ }), o1 = "sq-text", Oe = /* @__PURE__ */ O({
7760
7765
  name: o1,
7761
7766
  __name: "text",
7762
7767
  props: {
@@ -7764,10 +7769,10 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7764
7769
  size: { default: "md" }
7765
7770
  },
7766
7771
  setup(e) {
7767
- const u = e, t = y(() => {
7772
+ const u = e, t = k(() => {
7768
7773
  const r = [];
7769
7774
  return u.size !== "md" && r.push(`sq-text--${u.size}`), u.ellipsis !== void 0 && u.ellipsis !== !1 && r.push(n.value > 1 ? "multi-line" : "single-line"), r;
7770
- }), n = y(() => typeof u.ellipsis == "number" ? Number(Math.max(u.ellipsis, 1).toFixed(0)) : 1), o = y(
7775
+ }), n = k(() => typeof u.ellipsis == "number" ? Number(Math.max(u.ellipsis, 1).toFixed(0)) : 1), o = k(
7771
7776
  () => u.ellipsis ? `--row-num: ${n.value}` : ""
7772
7777
  );
7773
7778
  return (r, s) => (m(), F("span", {
@@ -7785,7 +7790,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7785
7790
  variant: {}
7786
7791
  },
7787
7792
  setup(e) {
7788
- const u = e, t = y(() => {
7793
+ const u = e, t = k(() => {
7789
7794
  const n = [];
7790
7795
  return u.variant && n.push(`is-${u.variant}`), n.push(`align-${u.align}`), n;
7791
7796
  });
@@ -7807,10 +7812,10 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7807
7812
  title: {}
7808
7813
  },
7809
7814
  setup(e) {
7810
- const u = e, t = y(() => {
7815
+ const u = e, t = k(() => {
7811
7816
  const o = [];
7812
7817
  return u.type && o.push(`is-${u.type}`), u.hollow && o.push("is-hollow"), o;
7813
- }), n = y(() => {
7818
+ }), n = k(() => {
7814
7819
  const o = {};
7815
7820
  return u.color && (o["--timeline-dot-color"] = u.color), o;
7816
7821
  });
@@ -7818,10 +7823,10 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7818
7823
  class: K(["sq-timeline-item", t.value]),
7819
7824
  style: ee(n.value)
7820
7825
  }, [
7821
- E("span", s1, [
7826
+ A("span", s1, [
7822
7827
  u.icon ? (m(), L(me(u.icon), { key: 0 })) : U("", !0)
7823
7828
  ]),
7824
- E("div", c1, [
7829
+ A("div", c1, [
7825
7830
  u.title ? (m(), F("h2", {
7826
7831
  key: 0,
7827
7832
  class: "content-title",
@@ -7832,7 +7837,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7832
7837
  class: "content-time",
7833
7838
  textContent: re(u.timestamp)
7834
7839
  }, null, 8, a1)) : U("", !0),
7835
- E("div", l1, [
7840
+ A("div", l1, [
7836
7841
  W(o.$slots, "default")
7837
7842
  ])
7838
7843
  ])
@@ -7850,7 +7855,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7850
7855
  popoverClass: {}
7851
7856
  },
7852
7857
  setup(e) {
7853
- const u = e, t = y(() => {
7858
+ const u = e, t = k(() => {
7854
7859
  const n = ["sq-tooltip"], o = u.popoverClass;
7855
7860
  return Array.isArray(o) ? n.push(...o) : typeof o == "string" && n.push(o), n;
7856
7861
  });
@@ -7867,7 +7872,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7867
7872
  W(n.$slots, "default")
7868
7873
  ]),
7869
7874
  default: Z(() => [
7870
- E("span", {
7875
+ A("span", {
7871
7876
  textContent: re(u.tip)
7872
7877
  }, null, 8, f1)
7873
7878
  ]),
@@ -7918,7 +7923,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7918
7923
  onDragover: c,
7919
7924
  onDrop: i
7920
7925
  }, [
7921
- E("input", {
7926
+ A("input", {
7922
7927
  type: "file",
7923
7928
  ref_key: "inputRef",
7924
7929
  ref: o,
@@ -7970,7 +7975,7 @@ export {
7970
7975
  Yl as SqSegmentedItem,
7971
7976
  u1 as SqSwitch,
7972
7977
  S1 as SqTag,
7973
- Ie as SqText,
7978
+ Oe as SqText,
7974
7979
  $1 as SqTimeline,
7975
7980
  B1 as SqTimelineItem,
7976
7981
  ce as SqTooltip,