@zyzgroup/core-vue 0.0.39 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/ce/style.css +1 -1
  2. package/ce/yz_custom_element.iife.js +127 -111
  3. package/ce/yz_custom_element.iife.js.map +1 -1
  4. package/ce/yz_custom_element.js +8884 -8718
  5. package/ce/yz_custom_element.js.map +1 -1
  6. package/ce/yz_custom_element.umd.cjs +128 -112
  7. package/ce/yz_custom_element.umd.cjs.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/zyzgroup_core_vue.iife.js +17 -1
  10. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  11. package/dist/zyzgroup_core_vue.js +1128 -710
  12. package/dist/zyzgroup_core_vue.js.map +1 -1
  13. package/dist/zyzgroup_core_vue.umd.cjs +17 -1
  14. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  15. package/package.json +1 -1
  16. package/types/components/Button.ce.vue.d.ts +5 -0
  17. package/types/components/Button.vue.d.ts +5 -0
  18. package/types/components/Container.ce.vue.d.ts +3 -8
  19. package/types/components/Container.vue.d.ts +0 -4
  20. package/types/components/VueRouterView.ce.vue.d.ts +24 -0
  21. package/types/components/VueRouterView.vue.d.ts +24 -0
  22. package/types/components/VueSuspense.ce.vue.d.ts +7 -0
  23. package/types/components/VueSuspense.vue.d.ts +7 -0
  24. package/types/components/VueTeleport.ce.vue.d.ts +2 -0
  25. package/types/components/VueTeleport.vue.d.ts +2 -0
  26. package/types/components/effect/CSSTransition.ce.vue.d.ts +12 -5
  27. package/types/components/effect/CSSTransition.vue.d.ts +1 -0
  28. package/types/components/effect/VueTransition.ce.vue.d.ts +71 -0
  29. package/types/components/effect/VueTransition.vue.d.ts +71 -0
  30. package/types/components/effect/VueTransitionGroupSlideToLeft.ce.vue.d.ts +9 -0
  31. package/types/components/effect/VueTransitionGroupSlideToLeft.vue.d.ts +9 -0
  32. package/types/components/effect/VueTransitionOpacity.ce.vue.d.ts +9 -0
  33. package/types/components/effect/VueTransitionOpacity.vue.d.ts +9 -0
  34. package/types/components/effect/VueTransitionSlideUp.ce.vue.d.ts +9 -0
  35. package/types/components/effect/VueTransitionSlideUp.vue.d.ts +9 -0
  36. package/types/components/layout/LayoutMobile.ce.vue.d.ts +1 -1
  37. package/types/components/layout/LayoutMobile.vue.d.ts +1 -1
  38. package/types/components/xg/Footer.ce.vue.d.ts +2 -0
  39. package/types/components/xg/Footer.vue.d.ts +2 -0
  40. package/types/components/xg/Lot.ce.vue.d.ts +2 -0
  41. package/types/components/xg/Lot.vue.d.ts +2 -0
  42. package/types/lib.d.ts +2 -0
@@ -1,27 +1,27 @@
1
- import { getCurrentInstance as rt, createVNode as he, render as st, onMounted as it, onUnmounted as ct, computed as lt, defineComponent as D, h as we, openBlock as O, createElementBlock as B, normalizeStyle as x, unref as R, createElementVNode as m, ref as M, watch as at, createCommentVNode as ne, renderSlot as H, createBlock as xe, toDisplayString as ut } from "vue";
2
- import { createRouter as ft, createWebHistory as dt } from "vue-router";
3
- import { useStore as Ge, createNamespacedHelpers as Y, mapMutations as ht, mapActions as pt, mapState as gt, mapGetters as yt } from "vuex";
4
- function Kn() {
5
- return rt();
1
+ import { getCurrentInstance as xt, createVNode as W, render as St, onMounted as Qe, onUnmounted as Ct, computed as It, defineComponent as R, h as Ie, openBlock as M, createElementBlock as $, normalizeStyle as w, unref as N, createElementVNode as b, ref as k, watch as Ot, createCommentVNode as ce, renderSlot as Y, createBlock as fe, toDisplayString as Pt, withCtx as kt } from "vue";
2
+ import { createRouter as At, createWebHistory as Mt } from "vue-router";
3
+ import { useStore as Ke, createNamespacedHelpers as ne, mapMutations as Et, mapActions as Lt, mapState as Tt, mapGetters as Ft } from "vuex";
4
+ function Ao() {
5
+ return xt();
6
6
  }
7
- function mt(e, t) {
8
- return he(e, t);
7
+ function Rt(e, t) {
8
+ return W(e, t);
9
9
  }
10
- function Jn(e) {
11
- const t = mt(e.component, e.props);
12
- e.appContext && (t.appContext = e.appContext), st(t, e.selfContainer), e.parentContainer?.appendChild(e.selfContainer);
10
+ function Mo(e) {
11
+ const t = Rt(e.component, e.props);
12
+ e.appContext && (t.appContext = e.appContext), St(t, e.selfContainer), e.parentContainer?.appendChild(e.selfContainer);
13
13
  }
14
- function Yn(e) {
14
+ function Eo(e) {
15
15
  let t;
16
- it(() => {
16
+ Qe(() => {
17
17
  t = e();
18
- }), ct(() => {
18
+ }), Ct(() => {
19
19
  t?.();
20
20
  });
21
21
  }
22
- function Xn(e) {
23
- const t = ft({
24
- history: dt("/"),
22
+ function Lo(e) {
23
+ const t = At({
24
+ history: Mt("/"),
25
25
  routes: e,
26
26
  // [
27
27
  // {
@@ -93,10 +93,10 @@ function Xn(e) {
93
93
  })
94
94
  };
95
95
  }
96
- const Zn = "increment", eo = "decrement", to = "incrementAction";
97
- function no() {
96
+ const To = "increment", Fo = "decrement", Ro = "incrementAction";
97
+ function jo() {
98
98
  return {
99
- store: Ge()
99
+ store: Ke()
100
100
  // state: store.state
101
101
  // ...useVuexStates(["count"]),
102
102
  // ...useVuexStates("demo", ["name"]),
@@ -119,30 +119,30 @@ function no() {
119
119
  // {{ store.getters["demo/nameFormat"] }}
120
120
  };
121
121
  }
122
- function oo(e, t) {
123
- let n = gt;
124
- return typeof e == "string" && e.length > 0 ? n = Y(e).mapState : t = e, De(t, n);
122
+ function $o(e, t) {
123
+ let n = Tt;
124
+ return typeof e == "string" && e.length > 0 ? n = ne(e).mapState : t = e, Ye(t, n);
125
125
  }
126
- function ro(e, t) {
127
- let n = yt;
128
- return typeof e == "string" && e.length > 0 ? n = Y(e).mapGetters : t = e, De(t, n);
126
+ function zo(e, t) {
127
+ let n = Ft;
128
+ return typeof e == "string" && e.length > 0 ? n = ne(e).mapGetters : t = e, Ye(t, n);
129
129
  }
130
- function so(e, t) {
131
- let n = ht;
132
- return typeof e == "string" && e.length > 0 ? n = Y(e).mapMutations : t = e, Array.isArray(t), n(t);
130
+ function Bo(e, t) {
131
+ let n = Et;
132
+ return typeof e == "string" && e.length > 0 ? n = ne(e).mapMutations : t = e, Array.isArray(t), n(t);
133
133
  }
134
- function io(e, t) {
135
- let n = pt;
136
- return typeof e == "string" && e.length > 0 ? n = Y(e).mapActions : t = e, Array.isArray(t), n(t);
134
+ function Vo(e, t) {
135
+ let n = Lt;
136
+ return typeof e == "string" && e.length > 0 ? n = ne(e).mapActions : t = e, Array.isArray(t), n(t);
137
137
  }
138
- function De(e, t) {
139
- const n = Ge(), r = {}, o = t(e);
138
+ function Ye(e, t) {
139
+ const n = Ke(), r = {}, o = t(e);
140
140
  return Object.keys(o).forEach((s) => {
141
- const c = o[s].bind({ $store: n });
142
- r[s] = lt(c);
141
+ const i = o[s].bind({ $store: n });
142
+ r[s] = It(i);
143
143
  }), r;
144
144
  }
145
- const z = /^[a-z0-9]+(-[a-z0-9]+)*$/, X = (e, t, n, r = "") => {
145
+ const G = /^[a-z0-9]+(-[a-z0-9]+)*$/, oe = (e, t, n, r = "") => {
146
146
  const o = e.split(":");
147
147
  if (e.slice(0, 1) === "@") {
148
148
  if (o.length < 2 || o.length > 3)
@@ -152,142 +152,142 @@ const z = /^[a-z0-9]+(-[a-z0-9]+)*$/, X = (e, t, n, r = "") => {
152
152
  if (o.length > 3 || !o.length)
153
153
  return null;
154
154
  if (o.length > 1) {
155
- const l = o.pop(), i = o.pop(), a = {
155
+ const a = o.pop(), c = o.pop(), l = {
156
156
  // Allow provider without '@': "provider:prefix:name"
157
157
  provider: o.length > 0 ? o[0] : r,
158
- prefix: i,
159
- name: l
158
+ prefix: c,
159
+ name: a
160
160
  };
161
- return t && !Q(a) ? null : a;
161
+ return t && !Z(l) ? null : l;
162
162
  }
163
- const s = o[0], c = s.split("-");
164
- if (c.length > 1) {
165
- const l = {
163
+ const s = o[0], i = s.split("-");
164
+ if (i.length > 1) {
165
+ const a = {
166
166
  provider: r,
167
- prefix: c.shift(),
168
- name: c.join("-")
167
+ prefix: i.shift(),
168
+ name: i.join("-")
169
169
  };
170
- return t && !Q(l) ? null : l;
170
+ return t && !Z(a) ? null : a;
171
171
  }
172
172
  if (n && r === "") {
173
- const l = {
173
+ const a = {
174
174
  provider: r,
175
175
  prefix: "",
176
176
  name: s
177
177
  };
178
- return t && !Q(l, n) ? null : l;
178
+ return t && !Z(a, n) ? null : a;
179
179
  }
180
180
  return null;
181
- }, Q = (e, t) => e ? !!((e.provider === "" || e.provider.match(z)) && (t && e.prefix === "" || e.prefix.match(z)) && e.name.match(z)) : !1, Ve = Object.freeze(
181
+ }, Z = (e, t) => e ? !!((e.provider === "" || e.provider.match(G)) && (t && e.prefix === "" || e.prefix.match(G)) && e.name.match(G)) : !1, Ze = Object.freeze(
182
182
  {
183
183
  left: 0,
184
184
  top: 0,
185
185
  width: 16,
186
186
  height: 16
187
187
  }
188
- ), J = Object.freeze({
188
+ ), te = Object.freeze({
189
189
  rotate: 0,
190
190
  vFlip: !1,
191
191
  hFlip: !1
192
- }), Z = Object.freeze({
193
- ...Ve,
194
- ...J
195
- }), ie = Object.freeze({
196
- ...Z,
192
+ }), re = Object.freeze({
193
+ ...Ze,
194
+ ...te
195
+ }), de = Object.freeze({
196
+ ...re,
197
197
  body: "",
198
198
  hidden: !1
199
199
  });
200
- function bt(e, t) {
200
+ function jt(e, t) {
201
201
  const n = {};
202
202
  !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
203
203
  const r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
204
204
  return r && (n.rotate = r), n;
205
205
  }
206
- function _e(e, t) {
207
- const n = bt(e, t);
208
- for (const r in ie)
209
- r in J ? r in e && !(r in n) && (n[r] = J[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
206
+ function Oe(e, t) {
207
+ const n = jt(e, t);
208
+ for (const r in de)
209
+ r in te ? r in e && !(r in n) && (n[r] = te[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
210
210
  return n;
211
211
  }
212
- function vt(e, t) {
212
+ function $t(e, t) {
213
213
  const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
214
- function s(c) {
215
- if (n[c])
216
- return o[c] = [];
217
- if (!(c in o)) {
218
- o[c] = null;
219
- const l = r[c] && r[c].parent, i = l && s(l);
220
- i && (o[c] = [l].concat(i));
214
+ function s(i) {
215
+ if (n[i])
216
+ return o[i] = [];
217
+ if (!(i in o)) {
218
+ o[i] = null;
219
+ const a = r[i] && r[i].parent, c = a && s(a);
220
+ c && (o[i] = [a].concat(c));
221
221
  }
222
- return o[c];
222
+ return o[i];
223
223
  }
224
224
  return (t || Object.keys(n).concat(Object.keys(r))).forEach(s), o;
225
225
  }
226
- function wt(e, t, n) {
226
+ function zt(e, t, n) {
227
227
  const r = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null);
228
228
  let s = {};
229
- function c(l) {
230
- s = _e(
231
- r[l] || o[l],
229
+ function i(a) {
230
+ s = Oe(
231
+ r[a] || o[a],
232
232
  s
233
233
  );
234
234
  }
235
- return c(t), n.forEach(c), _e(e, s);
235
+ return i(t), n.forEach(i), Oe(e, s);
236
236
  }
237
- function Ue(e, t) {
237
+ function Je(e, t) {
238
238
  const n = [];
239
239
  if (typeof e != "object" || typeof e.icons != "object")
240
240
  return n;
241
241
  e.not_found instanceof Array && e.not_found.forEach((o) => {
242
242
  t(o, null), n.push(o);
243
243
  });
244
- const r = vt(e);
244
+ const r = $t(e);
245
245
  for (const o in r) {
246
246
  const s = r[o];
247
- s && (t(o, wt(e, o, s)), n.push(o));
247
+ s && (t(o, zt(e, o, s)), n.push(o));
248
248
  }
249
249
  return n;
250
250
  }
251
- const xt = {
251
+ const Bt = {
252
252
  provider: "",
253
253
  aliases: {},
254
254
  not_found: {},
255
- ...Ve
255
+ ...Ze
256
256
  };
257
- function oe(e, t) {
257
+ function ae(e, t) {
258
258
  for (const n in t)
259
259
  if (n in e && typeof e[n] != typeof t[n])
260
260
  return !1;
261
261
  return !0;
262
262
  }
263
- function qe(e) {
263
+ function Xe(e) {
264
264
  if (typeof e != "object" || e === null)
265
265
  return null;
266
266
  const t = e;
267
- if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !oe(e, xt))
267
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !ae(e, Bt))
268
268
  return null;
269
269
  const n = t.icons;
270
270
  for (const o in n) {
271
271
  const s = n[o];
272
- if (!o.match(z) || typeof s.body != "string" || !oe(
272
+ if (!o.match(G) || typeof s.body != "string" || !ae(
273
273
  s,
274
- ie
274
+ de
275
275
  ))
276
276
  return null;
277
277
  }
278
278
  const r = t.aliases || /* @__PURE__ */ Object.create(null);
279
279
  for (const o in r) {
280
- const s = r[o], c = s.parent;
281
- if (!o.match(z) || typeof c != "string" || !n[c] && !r[c] || !oe(
280
+ const s = r[o], i = s.parent;
281
+ if (!o.match(G) || typeof i != "string" || !n[i] && !r[i] || !ae(
282
282
  s,
283
- ie
283
+ de
284
284
  ))
285
285
  return null;
286
286
  }
287
287
  return t;
288
288
  }
289
- const Ce = /* @__PURE__ */ Object.create(null);
290
- function _t(e, t) {
289
+ const Pe = /* @__PURE__ */ Object.create(null);
290
+ function Vt(e, t) {
291
291
  return {
292
292
  provider: e,
293
293
  prefix: t,
@@ -295,16 +295,16 @@ function _t(e, t) {
295
295
  missing: /* @__PURE__ */ new Set()
296
296
  };
297
297
  }
298
- function E(e, t) {
299
- const n = Ce[e] || (Ce[e] = /* @__PURE__ */ Object.create(null));
300
- return n[t] || (n[t] = _t(e, t));
298
+ function F(e, t) {
299
+ const n = Pe[e] || (Pe[e] = /* @__PURE__ */ Object.create(null));
300
+ return n[t] || (n[t] = Vt(e, t));
301
301
  }
302
- function pe(e, t) {
303
- return qe(t) ? Ue(t, (n, r) => {
302
+ function ve(e, t) {
303
+ return Xe(t) ? Je(t, (n, r) => {
304
304
  r ? e.icons[n] = r : e.missing.add(n);
305
305
  }) : [];
306
306
  }
307
- function Ct(e, t, n) {
307
+ function Dt(e, t, n) {
308
308
  try {
309
309
  if (typeof n.body == "string")
310
310
  return e.icons[t] = { ...n }, !0;
@@ -312,106 +312,106 @@ function Ct(e, t, n) {
312
312
  }
313
313
  return !1;
314
314
  }
315
- let N = !1;
316
- function He(e) {
317
- return typeof e == "boolean" && (N = e), N;
315
+ let U = !1;
316
+ function et(e) {
317
+ return typeof e == "boolean" && (U = e), U;
318
318
  }
319
- function St(e) {
320
- const t = typeof e == "string" ? X(e, !0, N) : e;
319
+ function Nt(e) {
320
+ const t = typeof e == "string" ? oe(e, !0, U) : e;
321
321
  if (t) {
322
- const n = E(t.provider, t.prefix), r = t.name;
322
+ const n = F(t.provider, t.prefix), r = t.name;
323
323
  return n.icons[r] || (n.missing.has(r) ? null : void 0);
324
324
  }
325
325
  }
326
- function It(e, t) {
327
- const n = X(e, !0, N);
326
+ function Gt(e, t) {
327
+ const n = oe(e, !0, U);
328
328
  if (!n)
329
329
  return !1;
330
- const r = E(n.provider, n.prefix);
331
- return Ct(r, n.name, t);
330
+ const r = F(n.provider, n.prefix);
331
+ return Dt(r, n.name, t);
332
332
  }
333
- function kt(e, t) {
333
+ function Ut(e, t) {
334
334
  if (typeof e != "object")
335
335
  return !1;
336
- if (typeof t != "string" && (t = e.provider || ""), N && !t && !e.prefix) {
336
+ if (typeof t != "string" && (t = e.provider || ""), U && !t && !e.prefix) {
337
337
  let o = !1;
338
- return qe(e) && (e.prefix = "", Ue(e, (s, c) => {
339
- c && It(s, c) && (o = !0);
338
+ return Xe(e) && (e.prefix = "", Je(e, (s, i) => {
339
+ i && Gt(s, i) && (o = !0);
340
340
  })), o;
341
341
  }
342
342
  const n = e.prefix;
343
- if (!Q({
343
+ if (!Z({
344
344
  provider: t,
345
345
  prefix: n,
346
346
  name: "a"
347
347
  }))
348
348
  return !1;
349
- const r = E(t, n);
350
- return !!pe(r, e);
349
+ const r = F(t, n);
350
+ return !!ve(r, e);
351
351
  }
352
- const Qe = Object.freeze({
352
+ const tt = Object.freeze({
353
353
  width: null,
354
354
  height: null
355
- }), We = Object.freeze({
355
+ }), nt = Object.freeze({
356
356
  // Dimensions
357
- ...Qe,
357
+ ...tt,
358
358
  // Transformations
359
- ...J
360
- }), At = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Mt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
361
- function Se(e, t, n) {
359
+ ...te
360
+ }), Ht = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Wt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
361
+ function ke(e, t, n) {
362
362
  if (t === 1)
363
363
  return e;
364
364
  if (n = n || 100, typeof e == "number")
365
365
  return Math.ceil(e * t * n) / n;
366
366
  if (typeof e != "string")
367
367
  return e;
368
- const r = e.split(At);
368
+ const r = e.split(Ht);
369
369
  if (r === null || !r.length)
370
370
  return e;
371
371
  const o = [];
372
- let s = r.shift(), c = Mt.test(s);
372
+ let s = r.shift(), i = Wt.test(s);
373
373
  for (; ; ) {
374
- if (c) {
375
- const l = parseFloat(s);
376
- isNaN(l) ? o.push(s) : o.push(Math.ceil(l * t * n) / n);
374
+ if (i) {
375
+ const a = parseFloat(s);
376
+ isNaN(a) ? o.push(s) : o.push(Math.ceil(a * t * n) / n);
377
377
  } else
378
378
  o.push(s);
379
379
  if (s = r.shift(), s === void 0)
380
380
  return o.join("");
381
- c = !c;
381
+ i = !i;
382
382
  }
383
383
  }
384
- function Pt(e, t = "defs") {
384
+ function qt(e, t = "defs") {
385
385
  let n = "";
386
386
  const r = e.indexOf("<" + t);
387
387
  for (; r >= 0; ) {
388
388
  const o = e.indexOf(">", r), s = e.indexOf("</" + t);
389
389
  if (o === -1 || s === -1)
390
390
  break;
391
- const c = e.indexOf(">", s);
392
- if (c === -1)
391
+ const i = e.indexOf(">", s);
392
+ if (i === -1)
393
393
  break;
394
- n += e.slice(o + 1, s).trim(), e = e.slice(0, r).trim() + e.slice(c + 1);
394
+ n += e.slice(o + 1, s).trim(), e = e.slice(0, r).trim() + e.slice(i + 1);
395
395
  }
396
396
  return {
397
397
  defs: n,
398
398
  content: e
399
399
  };
400
400
  }
401
- function Ft(e, t) {
401
+ function Qt(e, t) {
402
402
  return e ? "<defs>" + e + "</defs>" + t : t;
403
403
  }
404
- function Ot(e, t, n) {
405
- const r = Pt(e);
406
- return Ft(r.defs, t + r.content + n);
404
+ function Kt(e, t, n) {
405
+ const r = qt(e);
406
+ return Qt(r.defs, t + r.content + n);
407
407
  }
408
- const Et = (e) => e === "unset" || e === "undefined" || e === "none";
409
- function Tt(e, t) {
408
+ const Yt = (e) => e === "unset" || e === "undefined" || e === "none";
409
+ function Zt(e, t) {
410
410
  const n = {
411
- ...Z,
411
+ ...re,
412
412
  ...e
413
413
  }, r = {
414
- ...We,
414
+ ...nt,
415
415
  ...t
416
416
  }, o = {
417
417
  left: n.left,
@@ -420,19 +420,19 @@ function Tt(e, t) {
420
420
  height: n.height
421
421
  };
422
422
  let s = n.body;
423
- [n, r].forEach((b) => {
424
- const f = [], S = b.hFlip, P = b.vFlip;
425
- let _ = b.rotate;
426
- S ? P ? _ += 2 : (f.push(
423
+ [n, r].forEach((v) => {
424
+ const f = [], I = v.hFlip, L = v.vFlip;
425
+ let S = v.rotate;
426
+ I ? L ? S += 2 : (f.push(
427
427
  "translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
428
- ), f.push("scale(-1 1)"), o.top = o.left = 0) : P && (f.push(
428
+ ), f.push("scale(-1 1)"), o.top = o.left = 0) : L && (f.push(
429
429
  "translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
430
430
  ), f.push("scale(1 -1)"), o.top = o.left = 0);
431
- let g;
432
- switch (_ < 0 && (_ -= Math.floor(_ / 4) * 4), _ = _ % 4, _) {
431
+ let m;
432
+ switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
433
433
  case 1:
434
- g = o.height / 2 + o.top, f.unshift(
435
- "rotate(90 " + g.toString() + " " + g.toString() + ")"
434
+ m = o.height / 2 + o.top, f.unshift(
435
+ "rotate(90 " + m.toString() + " " + m.toString() + ")"
436
436
  );
437
437
  break;
438
438
  case 2:
@@ -441,59 +441,59 @@ function Tt(e, t) {
441
441
  );
442
442
  break;
443
443
  case 3:
444
- g = o.width / 2 + o.left, f.unshift(
445
- "rotate(-90 " + g.toString() + " " + g.toString() + ")"
444
+ m = o.width / 2 + o.left, f.unshift(
445
+ "rotate(-90 " + m.toString() + " " + m.toString() + ")"
446
446
  );
447
447
  break;
448
448
  }
449
- _ % 2 === 1 && (o.left !== o.top && (g = o.left, o.left = o.top, o.top = g), o.width !== o.height && (g = o.width, o.width = o.height, o.height = g)), f.length && (s = Ot(
449
+ S % 2 === 1 && (o.left !== o.top && (m = o.left, o.left = o.top, o.top = m), o.width !== o.height && (m = o.width, o.width = o.height, o.height = m)), f.length && (s = Kt(
450
450
  s,
451
451
  '<g transform="' + f.join(" ") + '">',
452
452
  "</g>"
453
453
  ));
454
454
  });
455
- const c = r.width, l = r.height, i = o.width, a = o.height;
456
- let u, h;
457
- c === null ? (h = l === null ? "1em" : l === "auto" ? a : l, u = Se(h, i / a)) : (u = c === "auto" ? i : c, h = l === null ? Se(u, a / i) : l === "auto" ? a : l);
458
- const y = {}, w = (b, f) => {
459
- Et(f) || (y[b] = f.toString());
455
+ const i = r.width, a = r.height, c = o.width, l = o.height;
456
+ let u, p;
457
+ i === null ? (p = a === null ? "1em" : a === "auto" ? l : a, u = ke(p, c / l)) : (u = i === "auto" ? c : i, p = a === null ? ke(u, l / c) : a === "auto" ? l : a);
458
+ const y = {}, x = (v, f) => {
459
+ Yt(f) || (y[v] = f.toString());
460
460
  };
461
- w("width", u), w("height", h);
462
- const C = [o.left, o.top, i, a];
461
+ x("width", u), x("height", p);
462
+ const C = [o.left, o.top, c, l];
463
463
  return y.viewBox = C.join(" "), {
464
464
  attributes: y,
465
465
  viewBox: C,
466
466
  body: s
467
467
  };
468
468
  }
469
- const jt = /\sid="(\S+)"/g, $t = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
470
- let Lt = 0;
471
- function Rt(e, t = $t) {
469
+ const Jt = /\sid="(\S+)"/g, Xt = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
470
+ let en = 0;
471
+ function tn(e, t = Xt) {
472
472
  const n = [];
473
473
  let r;
474
- for (; r = jt.exec(e); )
474
+ for (; r = Jt.exec(e); )
475
475
  n.push(r[1]);
476
476
  if (!n.length)
477
477
  return e;
478
478
  const o = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
479
479
  return n.forEach((s) => {
480
- const c = typeof t == "function" ? t(s) : t + (Lt++).toString(), l = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
480
+ const i = typeof t == "function" ? t(s) : t + (en++).toString(), a = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
481
481
  e = e.replace(
482
482
  // Allowed characters before id: [#;"]
483
483
  // Allowed characters after id: [)"], .[a-z]
484
- new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
485
- "$1" + c + o + "$3"
484
+ new RegExp('([#;"])(' + a + ')([")]|\\.[a-z])', "g"),
485
+ "$1" + i + o + "$3"
486
486
  );
487
487
  }), e = e.replace(new RegExp(o, "g"), ""), e;
488
488
  }
489
- const ce = /* @__PURE__ */ Object.create(null);
490
- function zt(e, t) {
491
- ce[e] = t;
489
+ const he = /* @__PURE__ */ Object.create(null);
490
+ function nn(e, t) {
491
+ he[e] = t;
492
492
  }
493
- function le(e) {
494
- return ce[e] || ce[""];
493
+ function pe(e) {
494
+ return he[e] || he[""];
495
495
  }
496
- function ge(e) {
496
+ function we(e) {
497
497
  let t;
498
498
  if (typeof e.resources == "string")
499
499
  t = [e.resources];
@@ -518,23 +518,23 @@ function ge(e) {
518
518
  dataAfterTimeout: e.dataAfterTimeout !== !1
519
519
  };
520
520
  }
521
- const ye = /* @__PURE__ */ Object.create(null), L = [
521
+ const _e = /* @__PURE__ */ Object.create(null), D = [
522
522
  "https://api.simplesvg.com",
523
523
  "https://api.unisvg.com"
524
- ], W = [];
525
- for (; L.length > 0; )
526
- L.length === 1 || Math.random() > 0.5 ? W.push(L.shift()) : W.push(L.pop());
527
- ye[""] = ge({
528
- resources: ["https://api.iconify.design"].concat(W)
524
+ ], J = [];
525
+ for (; D.length > 0; )
526
+ D.length === 1 || Math.random() > 0.5 ? J.push(D.shift()) : J.push(D.pop());
527
+ _e[""] = we({
528
+ resources: ["https://api.iconify.design"].concat(J)
529
529
  });
530
- function Bt(e, t) {
531
- const n = ge(t);
532
- return n === null ? !1 : (ye[e] = n, !0);
530
+ function on(e, t) {
531
+ const n = we(t);
532
+ return n === null ? !1 : (_e[e] = n, !0);
533
533
  }
534
- function me(e) {
535
- return ye[e];
534
+ function xe(e) {
535
+ return _e[e];
536
536
  }
537
- const Nt = () => {
537
+ const rn = () => {
538
538
  let e;
539
539
  try {
540
540
  if (e = fetch, typeof e == "function")
@@ -542,9 +542,9 @@ const Nt = () => {
542
542
  } catch {
543
543
  }
544
544
  };
545
- let Ie = Nt();
546
- function Gt(e, t) {
547
- const n = me(e);
545
+ let Ae = rn();
546
+ function sn(e, t) {
547
+ const n = xe(e);
548
548
  if (!n)
549
549
  return 0;
550
550
  let r;
@@ -552,54 +552,54 @@ function Gt(e, t) {
552
552
  r = 0;
553
553
  else {
554
554
  let o = 0;
555
- n.resources.forEach((c) => {
556
- o = Math.max(o, c.length);
555
+ n.resources.forEach((i) => {
556
+ o = Math.max(o, i.length);
557
557
  });
558
558
  const s = t + ".json?icons=";
559
559
  r = n.maxURL - o - n.path.length - s.length;
560
560
  }
561
561
  return r;
562
562
  }
563
- function Dt(e) {
563
+ function cn(e) {
564
564
  return e === 404;
565
565
  }
566
- const Vt = (e, t, n) => {
567
- const r = [], o = Gt(e, t), s = "icons";
568
- let c = {
566
+ const an = (e, t, n) => {
567
+ const r = [], o = sn(e, t), s = "icons";
568
+ let i = {
569
569
  type: s,
570
570
  provider: e,
571
571
  prefix: t,
572
572
  icons: []
573
- }, l = 0;
574
- return n.forEach((i, a) => {
575
- l += i.length + 1, l >= o && a > 0 && (r.push(c), c = {
573
+ }, a = 0;
574
+ return n.forEach((c, l) => {
575
+ a += c.length + 1, a >= o && l > 0 && (r.push(i), i = {
576
576
  type: s,
577
577
  provider: e,
578
578
  prefix: t,
579
579
  icons: []
580
- }, l = i.length), c.icons.push(i);
581
- }), r.push(c), r;
580
+ }, a = c.length), i.icons.push(c);
581
+ }), r.push(i), r;
582
582
  };
583
- function Ut(e) {
583
+ function ln(e) {
584
584
  if (typeof e == "string") {
585
- const t = me(e);
585
+ const t = xe(e);
586
586
  if (t)
587
587
  return t.path;
588
588
  }
589
589
  return "/";
590
590
  }
591
- const qt = (e, t, n) => {
592
- if (!Ie) {
591
+ const un = (e, t, n) => {
592
+ if (!Ae) {
593
593
  n("abort", 424);
594
594
  return;
595
595
  }
596
- let r = Ut(t.provider);
596
+ let r = ln(t.provider);
597
597
  switch (t.type) {
598
598
  case "icons": {
599
- const s = t.prefix, l = t.icons.join(","), i = new URLSearchParams({
600
- icons: l
599
+ const s = t.prefix, a = t.icons.join(","), c = new URLSearchParams({
600
+ icons: a
601
601
  });
602
- r += s + ".json?" + i.toString();
602
+ r += s + ".json?" + c.toString();
603
603
  break;
604
604
  }
605
605
  case "custom": {
@@ -612,11 +612,11 @@ const qt = (e, t, n) => {
612
612
  return;
613
613
  }
614
614
  let o = 503;
615
- Ie(e + r).then((s) => {
616
- const c = s.status;
617
- if (c !== 200) {
615
+ Ae(e + r).then((s) => {
616
+ const i = s.status;
617
+ if (i !== 200) {
618
618
  setTimeout(() => {
619
- n(Dt(c) ? "abort" : "next", c);
619
+ n(cn(i) ? "abort" : "next", i);
620
620
  });
621
621
  return;
622
622
  }
@@ -634,11 +634,11 @@ const qt = (e, t, n) => {
634
634
  }).catch(() => {
635
635
  n("next", o);
636
636
  });
637
- }, Ht = {
638
- prepare: Vt,
639
- send: qt
637
+ }, fn = {
638
+ prepare: an,
639
+ send: un
640
640
  };
641
- function Qt(e) {
641
+ function dn(e) {
642
642
  const t = {
643
643
  loaded: [],
644
644
  missing: [],
@@ -654,24 +654,24 @@ function Qt(e) {
654
654
  if (r.name === o.name && r.prefix === o.prefix && r.provider === o.provider)
655
655
  return;
656
656
  r = o;
657
- const s = o.provider, c = o.prefix, l = o.name, i = n[s] || (n[s] = /* @__PURE__ */ Object.create(null)), a = i[c] || (i[c] = E(s, c));
657
+ const s = o.provider, i = o.prefix, a = o.name, c = n[s] || (n[s] = /* @__PURE__ */ Object.create(null)), l = c[i] || (c[i] = F(s, i));
658
658
  let u;
659
- l in a.icons ? u = t.loaded : c === "" || a.missing.has(l) ? u = t.missing : u = t.pending;
660
- const h = {
659
+ a in l.icons ? u = t.loaded : i === "" || l.missing.has(a) ? u = t.missing : u = t.pending;
660
+ const p = {
661
661
  provider: s,
662
- prefix: c,
663
- name: l
662
+ prefix: i,
663
+ name: a
664
664
  };
665
- u.push(h);
665
+ u.push(p);
666
666
  }), t;
667
667
  }
668
- function Ke(e, t) {
668
+ function ot(e, t) {
669
669
  e.forEach((n) => {
670
670
  const r = n.loaderCallbacks;
671
671
  r && (n.loaderCallbacks = r.filter((o) => o.id !== t));
672
672
  });
673
673
  }
674
- function Wt(e) {
674
+ function hn(e) {
675
675
  e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
676
676
  e.pendingCallbacksFlag = !1;
677
677
  const t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
@@ -680,38 +680,38 @@ function Wt(e) {
680
680
  let n = !1;
681
681
  const r = e.provider, o = e.prefix;
682
682
  t.forEach((s) => {
683
- const c = s.icons, l = c.pending.length;
684
- c.pending = c.pending.filter((i) => {
685
- if (i.prefix !== o)
683
+ const i = s.icons, a = i.pending.length;
684
+ i.pending = i.pending.filter((c) => {
685
+ if (c.prefix !== o)
686
686
  return !0;
687
- const a = i.name;
688
- if (e.icons[a])
689
- c.loaded.push({
687
+ const l = c.name;
688
+ if (e.icons[l])
689
+ i.loaded.push({
690
690
  provider: r,
691
691
  prefix: o,
692
- name: a
692
+ name: l
693
693
  });
694
- else if (e.missing.has(a))
695
- c.missing.push({
694
+ else if (e.missing.has(l))
695
+ i.missing.push({
696
696
  provider: r,
697
697
  prefix: o,
698
- name: a
698
+ name: l
699
699
  });
700
700
  else
701
701
  return n = !0, !0;
702
702
  return !1;
703
- }), c.pending.length !== l && (n || Ke([e], s.id), s.callback(
704
- c.loaded.slice(0),
705
- c.missing.slice(0),
706
- c.pending.slice(0),
703
+ }), i.pending.length !== a && (n || ot([e], s.id), s.callback(
704
+ i.loaded.slice(0),
705
+ i.missing.slice(0),
706
+ i.pending.slice(0),
707
707
  s.abort
708
708
  ));
709
709
  });
710
710
  }));
711
711
  }
712
- let Kt = 0;
713
- function Jt(e, t, n) {
714
- const r = Kt++, o = Ke.bind(null, n, r);
712
+ let pn = 0;
713
+ function gn(e, t, n) {
714
+ const r = pn++, o = ot.bind(null, n, r);
715
715
  if (!t.pending.length)
716
716
  return o;
717
717
  const s = {
@@ -720,18 +720,18 @@ function Jt(e, t, n) {
720
720
  callback: e,
721
721
  abort: o
722
722
  };
723
- return n.forEach((c) => {
724
- (c.loaderCallbacks || (c.loaderCallbacks = [])).push(s);
723
+ return n.forEach((i) => {
724
+ (i.loaderCallbacks || (i.loaderCallbacks = [])).push(s);
725
725
  }), o;
726
726
  }
727
- function Yt(e, t = !0, n = !1) {
727
+ function mn(e, t = !0, n = !1) {
728
728
  const r = [];
729
729
  return e.forEach((o) => {
730
- const s = typeof o == "string" ? X(o, t, n) : o;
730
+ const s = typeof o == "string" ? oe(o, t, n) : o;
731
731
  s && r.push(s);
732
732
  }), r;
733
733
  }
734
- var Xt = {
734
+ var yn = {
735
735
  resources: [],
736
736
  index: 0,
737
737
  timeout: 2e3,
@@ -739,269 +739,269 @@ var Xt = {
739
739
  random: !1,
740
740
  dataAfterTimeout: !1
741
741
  };
742
- function Zt(e, t, n, r) {
742
+ function bn(e, t, n, r) {
743
743
  const o = e.resources.length, s = e.random ? Math.floor(Math.random() * o) : e.index;
744
- let c;
744
+ let i;
745
745
  if (e.random) {
746
- let p = e.resources.slice(0);
747
- for (c = []; p.length > 1; ) {
748
- const I = Math.floor(Math.random() * p.length);
749
- c.push(p[I]), p = p.slice(0, I).concat(p.slice(I + 1));
746
+ let g = e.resources.slice(0);
747
+ for (i = []; g.length > 1; ) {
748
+ const O = Math.floor(Math.random() * g.length);
749
+ i.push(g[O]), g = g.slice(0, O).concat(g.slice(O + 1));
750
750
  }
751
- c = c.concat(p);
751
+ i = i.concat(g);
752
752
  } else
753
- c = e.resources.slice(s).concat(e.resources.slice(0, s));
754
- const l = Date.now();
755
- let i = "pending", a = 0, u, h = null, y = [], w = [];
756
- typeof r == "function" && w.push(r);
753
+ i = e.resources.slice(s).concat(e.resources.slice(0, s));
754
+ const a = Date.now();
755
+ let c = "pending", l = 0, u, p = null, y = [], x = [];
756
+ typeof r == "function" && x.push(r);
757
757
  function C() {
758
- h && (clearTimeout(h), h = null);
758
+ p && (clearTimeout(p), p = null);
759
759
  }
760
- function b() {
761
- i === "pending" && (i = "aborted"), C(), y.forEach((p) => {
762
- p.status === "pending" && (p.status = "aborted");
760
+ function v() {
761
+ c === "pending" && (c = "aborted"), C(), y.forEach((g) => {
762
+ g.status === "pending" && (g.status = "aborted");
763
763
  }), y = [];
764
764
  }
765
- function f(p, I) {
766
- I && (w = []), typeof p == "function" && w.push(p);
765
+ function f(g, O) {
766
+ O && (x = []), typeof g == "function" && x.push(g);
767
767
  }
768
- function S() {
768
+ function I() {
769
769
  return {
770
- startTime: l,
770
+ startTime: a,
771
771
  payload: t,
772
- status: i,
773
- queriesSent: a,
772
+ status: c,
773
+ queriesSent: l,
774
774
  queriesPending: y.length,
775
775
  subscribe: f,
776
- abort: b
776
+ abort: v
777
777
  };
778
778
  }
779
- function P() {
780
- i = "failed", w.forEach((p) => {
781
- p(void 0, u);
779
+ function L() {
780
+ c = "failed", x.forEach((g) => {
781
+ g(void 0, u);
782
782
  });
783
783
  }
784
- function _() {
785
- y.forEach((p) => {
786
- p.status === "pending" && (p.status = "aborted");
784
+ function S() {
785
+ y.forEach((g) => {
786
+ g.status === "pending" && (g.status = "aborted");
787
787
  }), y = [];
788
788
  }
789
- function g(p, I, $) {
790
- const V = I !== "success";
791
- switch (y = y.filter((F) => F !== p), i) {
789
+ function m(g, O, V) {
790
+ const q = O !== "success";
791
+ switch (y = y.filter((T) => T !== g), c) {
792
792
  case "pending":
793
793
  break;
794
794
  case "failed":
795
- if (V || !e.dataAfterTimeout)
795
+ if (q || !e.dataAfterTimeout)
796
796
  return;
797
797
  break;
798
798
  default:
799
799
  return;
800
800
  }
801
- if (I === "abort") {
802
- u = $, P();
801
+ if (O === "abort") {
802
+ u = V, L();
803
803
  return;
804
804
  }
805
- if (V) {
806
- u = $, y.length || (c.length ? T() : P());
805
+ if (q) {
806
+ u = V, y.length || (i.length ? j() : L());
807
807
  return;
808
808
  }
809
- if (C(), _(), !e.random) {
810
- const F = e.resources.indexOf(p.resource);
811
- F !== -1 && F !== e.index && (e.index = F);
809
+ if (C(), S(), !e.random) {
810
+ const T = e.resources.indexOf(g.resource);
811
+ T !== -1 && T !== e.index && (e.index = T);
812
812
  }
813
- i = "completed", w.forEach((F) => {
814
- F($);
813
+ c = "completed", x.forEach((T) => {
814
+ T(V);
815
815
  });
816
816
  }
817
- function T() {
818
- if (i !== "pending")
817
+ function j() {
818
+ if (c !== "pending")
819
819
  return;
820
820
  C();
821
- const p = c.shift();
822
- if (p === void 0) {
821
+ const g = i.shift();
822
+ if (g === void 0) {
823
823
  if (y.length) {
824
- h = setTimeout(() => {
825
- C(), i === "pending" && (_(), P());
824
+ p = setTimeout(() => {
825
+ C(), c === "pending" && (S(), L());
826
826
  }, e.timeout);
827
827
  return;
828
828
  }
829
- P();
829
+ L();
830
830
  return;
831
831
  }
832
- const I = {
832
+ const O = {
833
833
  status: "pending",
834
- resource: p,
835
- callback: ($, V) => {
836
- g(I, $, V);
834
+ resource: g,
835
+ callback: (V, q) => {
836
+ m(O, V, q);
837
837
  }
838
838
  };
839
- y.push(I), a++, h = setTimeout(T, e.rotate), n(p, t, I.callback);
839
+ y.push(O), l++, p = setTimeout(j, e.rotate), n(g, t, O.callback);
840
840
  }
841
- return setTimeout(T), S;
841
+ return setTimeout(j), I;
842
842
  }
843
- function Je(e) {
843
+ function rt(e) {
844
844
  const t = {
845
- ...Xt,
845
+ ...yn,
846
846
  ...e
847
847
  };
848
848
  let n = [];
849
849
  function r() {
850
- n = n.filter((l) => l().status === "pending");
850
+ n = n.filter((a) => a().status === "pending");
851
851
  }
852
- function o(l, i, a) {
853
- const u = Zt(
852
+ function o(a, c, l) {
853
+ const u = bn(
854
854
  t,
855
- l,
856
- i,
857
- (h, y) => {
858
- r(), a && a(h, y);
855
+ a,
856
+ c,
857
+ (p, y) => {
858
+ r(), l && l(p, y);
859
859
  }
860
860
  );
861
861
  return n.push(u), u;
862
862
  }
863
- function s(l) {
864
- return n.find((i) => l(i)) || null;
863
+ function s(a) {
864
+ return n.find((c) => a(c)) || null;
865
865
  }
866
866
  return {
867
867
  query: o,
868
868
  find: s,
869
- setIndex: (l) => {
870
- t.index = l;
869
+ setIndex: (a) => {
870
+ t.index = a;
871
871
  },
872
872
  getIndex: () => t.index,
873
873
  cleanup: r
874
874
  };
875
875
  }
876
- function ke() {
876
+ function Me() {
877
877
  }
878
- const re = /* @__PURE__ */ Object.create(null);
879
- function en(e) {
880
- if (!re[e]) {
881
- const t = me(e);
878
+ const le = /* @__PURE__ */ Object.create(null);
879
+ function vn(e) {
880
+ if (!le[e]) {
881
+ const t = xe(e);
882
882
  if (!t)
883
883
  return;
884
- const n = Je(t), r = {
884
+ const n = rt(t), r = {
885
885
  config: t,
886
886
  redundancy: n
887
887
  };
888
- re[e] = r;
888
+ le[e] = r;
889
889
  }
890
- return re[e];
890
+ return le[e];
891
891
  }
892
- function tn(e, t, n) {
892
+ function wn(e, t, n) {
893
893
  let r, o;
894
894
  if (typeof e == "string") {
895
- const s = le(e);
895
+ const s = pe(e);
896
896
  if (!s)
897
- return n(void 0, 424), ke;
897
+ return n(void 0, 424), Me;
898
898
  o = s.send;
899
- const c = en(e);
900
- c && (r = c.redundancy);
899
+ const i = vn(e);
900
+ i && (r = i.redundancy);
901
901
  } else {
902
- const s = ge(e);
902
+ const s = we(e);
903
903
  if (s) {
904
- r = Je(s);
905
- const c = e.resources ? e.resources[0] : "", l = le(c);
906
- l && (o = l.send);
904
+ r = rt(s);
905
+ const i = e.resources ? e.resources[0] : "", a = pe(i);
906
+ a && (o = a.send);
907
907
  }
908
908
  }
909
- return !r || !o ? (n(void 0, 424), ke) : r.query(t, o, n)().abort;
909
+ return !r || !o ? (n(void 0, 424), Me) : r.query(t, o, n)().abort;
910
910
  }
911
- const Ae = "iconify2", G = "iconify", Ye = G + "-count", Me = G + "-version", Xe = 36e5, nn = 168, on = 50;
912
- function ae(e, t) {
911
+ const Ee = "iconify2", H = "iconify", st = H + "-count", Le = H + "-version", it = 36e5, _n = 168, xn = 50;
912
+ function ge(e, t) {
913
913
  try {
914
914
  return e.getItem(t);
915
915
  } catch {
916
916
  }
917
917
  }
918
- function be(e, t, n) {
918
+ function Se(e, t, n) {
919
919
  try {
920
920
  return e.setItem(t, n), !0;
921
921
  } catch {
922
922
  }
923
923
  }
924
- function Pe(e, t) {
924
+ function Te(e, t) {
925
925
  try {
926
926
  e.removeItem(t);
927
927
  } catch {
928
928
  }
929
929
  }
930
- function ue(e, t) {
931
- return be(e, Ye, t.toString());
930
+ function me(e, t) {
931
+ return Se(e, st, t.toString());
932
932
  }
933
- function fe(e) {
934
- return parseInt(ae(e, Ye)) || 0;
933
+ function ye(e) {
934
+ return parseInt(ge(e, st)) || 0;
935
935
  }
936
- const ee = {
936
+ const se = {
937
937
  local: !0,
938
938
  session: !0
939
- }, Ze = {
939
+ }, ct = {
940
940
  local: /* @__PURE__ */ new Set(),
941
941
  session: /* @__PURE__ */ new Set()
942
942
  };
943
- let ve = !1;
944
- function rn(e) {
945
- ve = e;
943
+ let Ce = !1;
944
+ function Sn(e) {
945
+ Ce = e;
946
946
  }
947
- let U = typeof window > "u" ? {} : window;
948
- function et(e) {
947
+ let Q = typeof window > "u" ? {} : window;
948
+ function at(e) {
949
949
  const t = e + "Storage";
950
950
  try {
951
- if (U && U[t] && typeof U[t].length == "number")
952
- return U[t];
951
+ if (Q && Q[t] && typeof Q[t].length == "number")
952
+ return Q[t];
953
953
  } catch {
954
954
  }
955
- ee[e] = !1;
955
+ se[e] = !1;
956
956
  }
957
- function tt(e, t) {
958
- const n = et(e);
957
+ function lt(e, t) {
958
+ const n = at(e);
959
959
  if (!n)
960
960
  return;
961
- const r = ae(n, Me);
962
- if (r !== Ae) {
961
+ const r = ge(n, Le);
962
+ if (r !== Ee) {
963
963
  if (r) {
964
- const l = fe(n);
965
- for (let i = 0; i < l; i++)
966
- Pe(n, G + i.toString());
964
+ const a = ye(n);
965
+ for (let c = 0; c < a; c++)
966
+ Te(n, H + c.toString());
967
967
  }
968
- be(n, Me, Ae), ue(n, 0);
968
+ Se(n, Le, Ee), me(n, 0);
969
969
  return;
970
970
  }
971
- const o = Math.floor(Date.now() / Xe) - nn, s = (l) => {
972
- const i = G + l.toString(), a = ae(n, i);
973
- if (typeof a == "string") {
971
+ const o = Math.floor(Date.now() / it) - _n, s = (a) => {
972
+ const c = H + a.toString(), l = ge(n, c);
973
+ if (typeof l == "string") {
974
974
  try {
975
- const u = JSON.parse(a);
975
+ const u = JSON.parse(l);
976
976
  if (typeof u == "object" && typeof u.cached == "number" && u.cached > o && typeof u.provider == "string" && typeof u.data == "object" && typeof u.data.prefix == "string" && // Valid item: run callback
977
- t(u, l))
977
+ t(u, a))
978
978
  return !0;
979
979
  } catch {
980
980
  }
981
- Pe(n, i);
981
+ Te(n, c);
982
982
  }
983
983
  };
984
- let c = fe(n);
985
- for (let l = c - 1; l >= 0; l--)
986
- s(l) || (l === c - 1 ? (c--, ue(n, c)) : Ze[e].add(l));
987
- }
988
- function nt() {
989
- if (!ve) {
990
- rn(!0);
991
- for (const e in ee)
992
- tt(e, (t) => {
993
- const n = t.data, r = t.provider, o = n.prefix, s = E(
984
+ let i = ye(n);
985
+ for (let a = i - 1; a >= 0; a--)
986
+ s(a) || (a === i - 1 ? (i--, me(n, i)) : ct[e].add(a));
987
+ }
988
+ function ut() {
989
+ if (!Ce) {
990
+ Sn(!0);
991
+ for (const e in se)
992
+ lt(e, (t) => {
993
+ const n = t.data, r = t.provider, o = n.prefix, s = F(
994
994
  r,
995
995
  o
996
996
  );
997
- if (!pe(s, n).length)
997
+ if (!ve(s, n).length)
998
998
  return !1;
999
- const c = n.lastModified || -1;
1000
- return s.lastModifiedCached = s.lastModifiedCached ? Math.min(s.lastModifiedCached, c) : c, !0;
999
+ const i = n.lastModified || -1;
1000
+ return s.lastModifiedCached = s.lastModifiedCached ? Math.min(s.lastModifiedCached, i) : i, !0;
1001
1001
  });
1002
1002
  }
1003
1003
  }
1004
- function sn(e, t) {
1004
+ function Cn(e, t) {
1005
1005
  const n = e.lastModifiedCached;
1006
1006
  if (
1007
1007
  // Matches or newer
@@ -1009,124 +1009,124 @@ function sn(e, t) {
1009
1009
  )
1010
1010
  return n === t;
1011
1011
  if (e.lastModifiedCached = t, n)
1012
- for (const r in ee)
1013
- tt(r, (o) => {
1012
+ for (const r in se)
1013
+ lt(r, (o) => {
1014
1014
  const s = o.data;
1015
1015
  return o.provider !== e.provider || s.prefix !== e.prefix || s.lastModified === t;
1016
1016
  });
1017
1017
  return !0;
1018
1018
  }
1019
- function cn(e, t) {
1020
- ve || nt();
1019
+ function In(e, t) {
1020
+ Ce || ut();
1021
1021
  function n(r) {
1022
1022
  let o;
1023
- if (!ee[r] || !(o = et(r)))
1023
+ if (!se[r] || !(o = at(r)))
1024
1024
  return;
1025
- const s = Ze[r];
1026
- let c;
1025
+ const s = ct[r];
1026
+ let i;
1027
1027
  if (s.size)
1028
- s.delete(c = Array.from(s).shift());
1029
- else if (c = fe(o), c >= on || !ue(o, c + 1))
1028
+ s.delete(i = Array.from(s).shift());
1029
+ else if (i = ye(o), i >= xn || !me(o, i + 1))
1030
1030
  return;
1031
- const l = {
1032
- cached: Math.floor(Date.now() / Xe),
1031
+ const a = {
1032
+ cached: Math.floor(Date.now() / it),
1033
1033
  provider: e.provider,
1034
1034
  data: t
1035
1035
  };
1036
- return be(
1036
+ return Se(
1037
1037
  o,
1038
- G + c.toString(),
1039
- JSON.stringify(l)
1038
+ H + i.toString(),
1039
+ JSON.stringify(a)
1040
1040
  );
1041
1041
  }
1042
- t.lastModified && !sn(e, t.lastModified) || Object.keys(t.icons).length && (t.not_found && (t = Object.assign({}, t), delete t.not_found), n("local") || n("session"));
1042
+ t.lastModified && !Cn(e, t.lastModified) || Object.keys(t.icons).length && (t.not_found && (t = Object.assign({}, t), delete t.not_found), n("local") || n("session"));
1043
1043
  }
1044
1044
  function Fe() {
1045
1045
  }
1046
- function ln(e) {
1046
+ function On(e) {
1047
1047
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
1048
- e.iconsLoaderFlag = !1, Wt(e);
1048
+ e.iconsLoaderFlag = !1, hn(e);
1049
1049
  }));
1050
1050
  }
1051
- function an(e, t) {
1051
+ function Pn(e, t) {
1052
1052
  e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
1053
1053
  e.iconsQueueFlag = !1;
1054
1054
  const { provider: n, prefix: r } = e, o = e.iconsToLoad;
1055
1055
  delete e.iconsToLoad;
1056
1056
  let s;
1057
- if (!o || !(s = le(n)))
1057
+ if (!o || !(s = pe(n)))
1058
1058
  return;
1059
- s.prepare(n, r, o).forEach((l) => {
1060
- tn(n, l, (i) => {
1061
- if (typeof i != "object")
1062
- l.icons.forEach((a) => {
1063
- e.missing.add(a);
1059
+ s.prepare(n, r, o).forEach((a) => {
1060
+ wn(n, a, (c) => {
1061
+ if (typeof c != "object")
1062
+ a.icons.forEach((l) => {
1063
+ e.missing.add(l);
1064
1064
  });
1065
1065
  else
1066
1066
  try {
1067
- const a = pe(
1067
+ const l = ve(
1068
1068
  e,
1069
- i
1069
+ c
1070
1070
  );
1071
- if (!a.length)
1071
+ if (!l.length)
1072
1072
  return;
1073
1073
  const u = e.pendingIcons;
1074
- u && a.forEach((h) => {
1075
- u.delete(h);
1076
- }), cn(e, i);
1077
- } catch (a) {
1078
- console.error(a);
1074
+ u && l.forEach((p) => {
1075
+ u.delete(p);
1076
+ }), In(e, c);
1077
+ } catch (l) {
1078
+ console.error(l);
1079
1079
  }
1080
- ln(e);
1080
+ On(e);
1081
1081
  });
1082
1082
  });
1083
1083
  }));
1084
1084
  }
1085
- const un = (e, t) => {
1086
- const n = Yt(e, !0, He()), r = Qt(n);
1085
+ const kn = (e, t) => {
1086
+ const n = mn(e, !0, et()), r = dn(n);
1087
1087
  if (!r.pending.length) {
1088
- let i = !0;
1088
+ let c = !0;
1089
1089
  return t && setTimeout(() => {
1090
- i && t(
1090
+ c && t(
1091
1091
  r.loaded,
1092
1092
  r.missing,
1093
1093
  r.pending,
1094
1094
  Fe
1095
1095
  );
1096
1096
  }), () => {
1097
- i = !1;
1097
+ c = !1;
1098
1098
  };
1099
1099
  }
1100
1100
  const o = /* @__PURE__ */ Object.create(null), s = [];
1101
- let c, l;
1102
- return r.pending.forEach((i) => {
1103
- const { provider: a, prefix: u } = i;
1104
- if (u === l && a === c)
1101
+ let i, a;
1102
+ return r.pending.forEach((c) => {
1103
+ const { provider: l, prefix: u } = c;
1104
+ if (u === a && l === i)
1105
1105
  return;
1106
- c = a, l = u, s.push(E(a, u));
1107
- const h = o[a] || (o[a] = /* @__PURE__ */ Object.create(null));
1108
- h[u] || (h[u] = []);
1109
- }), r.pending.forEach((i) => {
1110
- const { provider: a, prefix: u, name: h } = i, y = E(a, u), w = y.pendingIcons || (y.pendingIcons = /* @__PURE__ */ new Set());
1111
- w.has(h) || (w.add(h), o[a][u].push(h));
1112
- }), s.forEach((i) => {
1113
- const { provider: a, prefix: u } = i;
1114
- o[a][u].length && an(i, o[a][u]);
1115
- }), t ? Jt(t, r, s) : Fe;
1106
+ i = l, a = u, s.push(F(l, u));
1107
+ const p = o[l] || (o[l] = /* @__PURE__ */ Object.create(null));
1108
+ p[u] || (p[u] = []);
1109
+ }), r.pending.forEach((c) => {
1110
+ const { provider: l, prefix: u, name: p } = c, y = F(l, u), x = y.pendingIcons || (y.pendingIcons = /* @__PURE__ */ new Set());
1111
+ x.has(p) || (x.add(p), o[l][u].push(p));
1112
+ }), s.forEach((c) => {
1113
+ const { provider: l, prefix: u } = c;
1114
+ o[l][u].length && Pn(c, o[l][u]);
1115
+ }), t ? gn(t, r, s) : Fe;
1116
1116
  };
1117
- function fn(e, t) {
1117
+ function An(e, t) {
1118
1118
  const n = {
1119
1119
  ...e
1120
1120
  };
1121
1121
  for (const r in t) {
1122
1122
  const o = t[r], s = typeof o;
1123
- r in Qe ? (o === null || o && (s === "string" || s === "number")) && (n[r] = o) : s === typeof n[r] && (n[r] = r === "rotate" ? o % 4 : o);
1123
+ r in tt ? (o === null || o && (s === "string" || s === "number")) && (n[r] = o) : s === typeof n[r] && (n[r] = r === "rotate" ? o % 4 : o);
1124
1124
  }
1125
1125
  return n;
1126
1126
  }
1127
- const dn = /[\s,]+/;
1128
- function hn(e, t) {
1129
- t.split(dn).forEach((n) => {
1127
+ const Mn = /[\s,]+/;
1128
+ function En(e, t) {
1129
+ t.split(Mn).forEach((n) => {
1130
1130
  switch (n.trim()) {
1131
1131
  case "horizontal":
1132
1132
  e.hFlip = !0;
@@ -1137,7 +1137,7 @@ function hn(e, t) {
1137
1137
  }
1138
1138
  });
1139
1139
  }
1140
- function pn(e, t = 0) {
1140
+ function Ln(e, t = 0) {
1141
1141
  const n = e.replace(/^-?[0-9.]*/, "");
1142
1142
  function r(o) {
1143
1143
  for (; o < 0; )
@@ -1163,63 +1163,63 @@ function pn(e, t = 0) {
1163
1163
  }
1164
1164
  return t;
1165
1165
  }
1166
- function gn(e, t) {
1166
+ function Tn(e, t) {
1167
1167
  let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
1168
1168
  for (const r in t)
1169
1169
  n += " " + r + '="' + t[r] + '"';
1170
1170
  return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
1171
1171
  }
1172
- function yn(e) {
1172
+ function Fn(e) {
1173
1173
  return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
1174
1174
  }
1175
- function mn(e) {
1176
- return "data:image/svg+xml," + yn(e);
1175
+ function Rn(e) {
1176
+ return "data:image/svg+xml," + Fn(e);
1177
1177
  }
1178
- function bn(e) {
1179
- return 'url("' + mn(e) + '")';
1178
+ function jn(e) {
1179
+ return 'url("' + Rn(e) + '")';
1180
1180
  }
1181
- const Oe = {
1182
- ...We,
1181
+ const Re = {
1182
+ ...nt,
1183
1183
  inline: !1
1184
- }, vn = {
1184
+ }, $n = {
1185
1185
  xmlns: "http://www.w3.org/2000/svg",
1186
1186
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1187
1187
  "aria-hidden": !0,
1188
1188
  role: "img"
1189
- }, wn = {
1189
+ }, zn = {
1190
1190
  display: "inline-block"
1191
- }, de = {
1191
+ }, be = {
1192
1192
  backgroundColor: "currentColor"
1193
- }, ot = {
1193
+ }, ft = {
1194
1194
  backgroundColor: "transparent"
1195
- }, Ee = {
1195
+ }, je = {
1196
1196
  Image: "var(--svg)",
1197
1197
  Repeat: "no-repeat",
1198
1198
  Size: "100% 100%"
1199
- }, Te = {
1200
- webkitMask: de,
1201
- mask: de,
1202
- background: ot
1199
+ }, $e = {
1200
+ webkitMask: be,
1201
+ mask: be,
1202
+ background: ft
1203
1203
  };
1204
- for (const e in Te) {
1205
- const t = Te[e];
1206
- for (const n in Ee)
1207
- t[e + n] = Ee[n];
1204
+ for (const e in $e) {
1205
+ const t = $e[e];
1206
+ for (const n in je)
1207
+ t[e + n] = je[n];
1208
1208
  }
1209
- const K = {};
1209
+ const X = {};
1210
1210
  ["horizontal", "vertical"].forEach((e) => {
1211
1211
  const t = e.slice(0, 1) + "Flip";
1212
- K[e + "-flip"] = t, K[e.slice(0, 1) + "-flip"] = t, K[e + "Flip"] = t;
1212
+ X[e + "-flip"] = t, X[e.slice(0, 1) + "-flip"] = t, X[e + "Flip"] = t;
1213
1213
  });
1214
- function je(e) {
1214
+ function ze(e) {
1215
1215
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
1216
1216
  }
1217
- const $e = (e, t) => {
1218
- const n = fn(Oe, t), r = { ...vn }, o = t.mode || "svg", s = {}, c = t.style, l = typeof c == "object" && !(c instanceof Array) ? c : {};
1219
- for (let b in t) {
1220
- const f = t[b];
1217
+ const Be = (e, t) => {
1218
+ const n = An(Re, t), r = { ...$n }, o = t.mode || "svg", s = {}, i = t.style, a = typeof i == "object" && !(i instanceof Array) ? i : {};
1219
+ for (let v in t) {
1220
+ const f = t[v];
1221
1221
  if (f !== void 0)
1222
- switch (b) {
1222
+ switch (v) {
1223
1223
  case "icon":
1224
1224
  case "style":
1225
1225
  case "onLoad":
@@ -1228,55 +1228,55 @@ const $e = (e, t) => {
1228
1228
  case "inline":
1229
1229
  case "hFlip":
1230
1230
  case "vFlip":
1231
- n[b] = f === !0 || f === "true" || f === 1;
1231
+ n[v] = f === !0 || f === "true" || f === 1;
1232
1232
  break;
1233
1233
  case "flip":
1234
- typeof f == "string" && hn(n, f);
1234
+ typeof f == "string" && En(n, f);
1235
1235
  break;
1236
1236
  case "color":
1237
1237
  s.color = f;
1238
1238
  break;
1239
1239
  case "rotate":
1240
- typeof f == "string" ? n[b] = pn(f) : typeof f == "number" && (n[b] = f);
1240
+ typeof f == "string" ? n[v] = Ln(f) : typeof f == "number" && (n[v] = f);
1241
1241
  break;
1242
1242
  case "ariaHidden":
1243
1243
  case "aria-hidden":
1244
1244
  f !== !0 && f !== "true" && delete r["aria-hidden"];
1245
1245
  break;
1246
1246
  default: {
1247
- const S = K[b];
1248
- S ? (f === !0 || f === "true" || f === 1) && (n[S] = !0) : Oe[b] === void 0 && (r[b] = f);
1247
+ const I = X[v];
1248
+ I ? (f === !0 || f === "true" || f === 1) && (n[I] = !0) : Re[v] === void 0 && (r[v] = f);
1249
1249
  }
1250
1250
  }
1251
1251
  }
1252
- const i = Tt(e, n), a = i.attributes;
1252
+ const c = Zt(e, n), l = c.attributes;
1253
1253
  if (n.inline && (s.verticalAlign = "-0.125em"), o === "svg") {
1254
1254
  r.style = {
1255
1255
  ...s,
1256
- ...l
1257
- }, Object.assign(r, a);
1258
- let b = 0, f = t.id;
1259
- return typeof f == "string" && (f = f.replace(/-/g, "_")), r.innerHTML = Rt(i.body, f ? () => f + "ID" + b++ : "iconifyVue"), we("svg", r);
1260
- }
1261
- const { body: u, width: h, height: y } = e, w = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), C = gn(u, {
1262
- ...a,
1263
- width: h + "",
1256
+ ...a
1257
+ }, Object.assign(r, l);
1258
+ let v = 0, f = t.id;
1259
+ return typeof f == "string" && (f = f.replace(/-/g, "_")), r.innerHTML = tn(c.body, f ? () => f + "ID" + v++ : "iconifyVue"), Ie("svg", r);
1260
+ }
1261
+ const { body: u, width: p, height: y } = e, x = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), C = Tn(u, {
1262
+ ...l,
1263
+ width: p + "",
1264
1264
  height: y + ""
1265
1265
  });
1266
1266
  return r.style = {
1267
1267
  ...s,
1268
- "--svg": bn(C),
1269
- width: je(a.width),
1270
- height: je(a.height),
1271
- ...wn,
1272
- ...w ? de : ot,
1273
- ...l
1274
- }, we("span", r);
1268
+ "--svg": jn(C),
1269
+ width: ze(l.width),
1270
+ height: ze(l.height),
1271
+ ...zn,
1272
+ ...x ? be : ft,
1273
+ ...a
1274
+ }, Ie("span", r);
1275
1275
  };
1276
- He(!0);
1277
- zt("", Ht);
1276
+ et(!0);
1277
+ nn("", fn);
1278
1278
  if (typeof document < "u" && typeof window < "u") {
1279
- nt();
1279
+ ut();
1280
1280
  const e = window;
1281
1281
  if (e.IconifyPreload !== void 0) {
1282
1282
  const t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
@@ -1285,7 +1285,7 @@ if (typeof document < "u" && typeof window < "u") {
1285
1285
  // Check if item is an object and not null/array
1286
1286
  (typeof r != "object" || r === null || r instanceof Array || // Check for 'icons' and 'prefix'
1287
1287
  typeof r.icons != "object" || typeof r.prefix != "string" || // Add icon set
1288
- !kt(r)) && console.error(n);
1288
+ !Ut(r)) && console.error(n);
1289
1289
  } catch {
1290
1290
  console.error(n);
1291
1291
  }
@@ -1300,17 +1300,17 @@ if (typeof document < "u" && typeof window < "u") {
1300
1300
  const o = t[n];
1301
1301
  if (typeof o != "object" || !o || o.resources === void 0)
1302
1302
  continue;
1303
- Bt(n, o) || console.error(r);
1303
+ on(n, o) || console.error(r);
1304
1304
  } catch {
1305
1305
  console.error(r);
1306
1306
  }
1307
1307
  }
1308
1308
  }
1309
1309
  }
1310
- const xn = {
1311
- ...Z,
1310
+ const Bn = {
1311
+ ...re,
1312
1312
  body: ""
1313
- }, _n = D({
1313
+ }, Vn = R({
1314
1314
  // Do not inherit other attributes: it is handled by render()
1315
1315
  inheritAttrs: !1,
1316
1316
  // Set initial data
@@ -1343,13 +1343,13 @@ const xn = {
1343
1343
  data: e
1344
1344
  };
1345
1345
  let n;
1346
- if (typeof e != "string" || (n = X(e, !1, !0)) === null)
1346
+ if (typeof e != "string" || (n = oe(e, !1, !0)) === null)
1347
1347
  return this.abortLoading(), null;
1348
- const r = St(n);
1348
+ const r = Nt(n);
1349
1349
  if (!r)
1350
1350
  return (!this._loadingIcon || this._loadingIcon.name !== e) && (this.abortLoading(), this._name = "", r !== null && (this._loadingIcon = {
1351
1351
  name: e,
1352
- abort: un([n], () => {
1352
+ abort: kn([n], () => {
1353
1353
  this.counter++;
1354
1354
  })
1355
1355
  })), null;
@@ -1363,32 +1363,35 @@ const xn = {
1363
1363
  this.counter;
1364
1364
  const e = this.$attrs, t = this.iconMounted || e.ssr ? this.getIcon(e.icon, e.onLoad) : null;
1365
1365
  if (!t)
1366
- return $e(xn, e);
1366
+ return Be(Bn, e);
1367
1367
  let n = e;
1368
1368
  return t.classes && (n = {
1369
1369
  ...e,
1370
1370
  class: (typeof e.class == "string" ? e.class + " " : "") + t.classes.join(" ")
1371
- }), $e({
1372
- ...Z,
1371
+ }), Be({
1372
+ ...re,
1373
1373
  ...t.data
1374
1374
  }, n);
1375
1375
  }
1376
1376
  });
1377
- let Le;
1377
+ function dt() {
1378
+ return typeof window < "u" ? window : typeof global < "u" ? global : this || {};
1379
+ }
1380
+ let Ve;
1378
1381
  try {
1379
- Le = Map;
1382
+ Ve = Map;
1380
1383
  } catch {
1381
- Le = function() {
1384
+ Ve = function() {
1382
1385
  };
1383
1386
  }
1384
- let Re;
1387
+ let De;
1385
1388
  try {
1386
- Re = Set;
1389
+ De = Set;
1387
1390
  } catch {
1388
- Re = function() {
1391
+ De = function() {
1389
1392
  };
1390
1393
  }
1391
- function Cn(e, t) {
1394
+ function Dn(e, t) {
1392
1395
  if (e = parseFloat(e), isNaN(e)) {
1393
1396
  if (typeof t == "number")
1394
1397
  return t;
@@ -1396,48 +1399,48 @@ function Cn(e, t) {
1396
1399
  }
1397
1400
  return e;
1398
1401
  }
1399
- const v = (e, t, n) => e < t ? t : e > n ? n : e;
1400
- function Sn(e, t = 12) {
1401
- return Cn(e).toFixed(t);
1402
+ const _ = (e, t, n) => e < t ? t : e > n ? n : e;
1403
+ function Nn(e, t = 12) {
1404
+ return Dn(e).toFixed(t);
1402
1405
  }
1403
- function In(e, t = 12) {
1404
- return +Sn(e, t);
1406
+ function Gn(e, t = 12) {
1407
+ return +Nn(e, t);
1405
1408
  }
1406
- kn();
1407
- function kn() {
1409
+ Un();
1410
+ function Un() {
1408
1411
  const e = new ArrayBuffer(4), t = new Float32Array(e), n = new Uint32Array(e), r = new Uint32Array(512), o = new Uint32Array(512);
1409
- for (let i = 0; i < 256; ++i) {
1410
- const a = i - 127;
1411
- a < -27 ? (r[i] = 0, r[i | 256] = 32768, o[i] = 24, o[i | 256] = 24) : a < -14 ? (r[i] = 1024 >> -a - 14, r[i | 256] = 1024 >> -a - 14 | 32768, o[i] = -a - 1, o[i | 256] = -a - 1) : a <= 15 ? (r[i] = a + 15 << 10, r[i | 256] = a + 15 << 10 | 32768, o[i] = 13, o[i | 256] = 13) : a < 128 ? (r[i] = 31744, r[i | 256] = 64512, o[i] = 24, o[i | 256] = 24) : (r[i] = 31744, r[i | 256] = 64512, o[i] = 13, o[i | 256] = 13);
1412
- }
1413
- const s = new Uint32Array(2048), c = new Uint32Array(64), l = new Uint32Array(64);
1414
- for (let i = 1; i < 1024; ++i) {
1415
- let a = i << 13, u = 0;
1416
- for (; !(a & 8388608); )
1417
- a <<= 1, u -= 8388608;
1418
- a &= -8388609, u += 947912704, s[i] = a | u;
1419
- }
1420
- for (let i = 1024; i < 2048; ++i)
1421
- s[i] = 939524096 + (i - 1024 << 13);
1422
- for (let i = 1; i < 31; ++i)
1423
- c[i] = i << 23;
1424
- c[31] = 1199570944, c[32] = 2147483648;
1425
- for (let i = 33; i < 63; ++i)
1426
- c[i] = 2147483648 + (i - 32 << 23);
1427
- c[63] = 3347054592;
1428
- for (let i = 1; i < 64; ++i)
1429
- i !== 32 && (l[i] = 1024);
1412
+ for (let c = 0; c < 256; ++c) {
1413
+ const l = c - 127;
1414
+ l < -27 ? (r[c] = 0, r[c | 256] = 32768, o[c] = 24, o[c | 256] = 24) : l < -14 ? (r[c] = 1024 >> -l - 14, r[c | 256] = 1024 >> -l - 14 | 32768, o[c] = -l - 1, o[c | 256] = -l - 1) : l <= 15 ? (r[c] = l + 15 << 10, r[c | 256] = l + 15 << 10 | 32768, o[c] = 13, o[c | 256] = 13) : l < 128 ? (r[c] = 31744, r[c | 256] = 64512, o[c] = 24, o[c | 256] = 24) : (r[c] = 31744, r[c | 256] = 64512, o[c] = 13, o[c | 256] = 13);
1415
+ }
1416
+ const s = new Uint32Array(2048), i = new Uint32Array(64), a = new Uint32Array(64);
1417
+ for (let c = 1; c < 1024; ++c) {
1418
+ let l = c << 13, u = 0;
1419
+ for (; !(l & 8388608); )
1420
+ l <<= 1, u -= 8388608;
1421
+ l &= -8388609, u += 947912704, s[c] = l | u;
1422
+ }
1423
+ for (let c = 1024; c < 2048; ++c)
1424
+ s[c] = 939524096 + (c - 1024 << 13);
1425
+ for (let c = 1; c < 31; ++c)
1426
+ i[c] = c << 23;
1427
+ i[31] = 1199570944, i[32] = 2147483648;
1428
+ for (let c = 33; c < 63; ++c)
1429
+ i[c] = 2147483648 + (c - 32 << 23);
1430
+ i[63] = 3347054592;
1431
+ for (let c = 1; c < 64; ++c)
1432
+ c !== 32 && (a[c] = 1024);
1430
1433
  return {
1431
1434
  floatView: t,
1432
1435
  uint32View: n,
1433
1436
  baseTable: r,
1434
1437
  shiftTable: o,
1435
1438
  mantissaTable: s,
1436
- exponentTable: c,
1437
- offsetTable: l
1439
+ exponentTable: i,
1440
+ offsetTable: a
1438
1441
  };
1439
1442
  }
1440
- function An(e, t) {
1443
+ function Hn(e, t) {
1441
1444
  let n = !0;
1442
1445
  return function(...r) {
1443
1446
  n && (n = !1, e.apply(this, r), setTimeout(() => {
@@ -1445,26 +1448,401 @@ function An(e, t) {
1445
1448
  }, t));
1446
1449
  };
1447
1450
  }
1451
+ class Wn {
1452
+ events;
1453
+ constructor() {
1454
+ this.events = {};
1455
+ }
1456
+ on(t, n) {
1457
+ return this.events[t] || (this.events[t] = []), this.events[t].push(n), this;
1458
+ }
1459
+ addListener(t, n) {
1460
+ return this.on(t, n), this;
1461
+ }
1462
+ prependListener(t, n) {
1463
+ return this.events[t] || (this.events[t] = []), this.events[t].unshift(n), this;
1464
+ }
1465
+ removeListener(t, n) {
1466
+ if (this.events[t])
1467
+ return this.events[t] = this.events[t].filter((r) => r !== n), this;
1468
+ }
1469
+ off(t, n) {
1470
+ return this.removeListener(t, n), this;
1471
+ }
1472
+ removeAllListeners(t) {
1473
+ return t ? this.events[t] = [] : this.events = {}, this;
1474
+ }
1475
+ emit(t, ...n) {
1476
+ return this.events[t] && this.events[t].forEach((r) => {
1477
+ r(...n);
1478
+ }), this;
1479
+ }
1480
+ once(t, n) {
1481
+ const o = (() => {
1482
+ let s = !1;
1483
+ return (...i) => {
1484
+ s || (s = !0, n(...i), this.off(t, o));
1485
+ };
1486
+ })();
1487
+ return this.on(t, o), this;
1488
+ }
1489
+ }
1490
+ function qn(e) {
1491
+ let t = !1;
1492
+ return function(...n) {
1493
+ if (!t)
1494
+ return t = !0, e.apply(this, n);
1495
+ };
1496
+ }
1448
1497
  Array.prototype.ap = function(e) {
1449
1498
  return this.reduce((t, n) => t.concat(e.map(n)), []);
1450
1499
  };
1451
- let ze;
1500
+ class Qn {
1501
+ subscribers = /* @__PURE__ */ new Set();
1502
+ add() {
1503
+ }
1504
+ notify() {
1505
+ this.subscribers.forEach((t) => t());
1506
+ }
1507
+ }
1508
+ const Ne = /* @__PURE__ */ new WeakMap();
1509
+ function ee(e, t) {
1510
+ let n = Ne.get(e);
1511
+ n || (n = /* @__PURE__ */ new Map(), Ne.set(e, n));
1512
+ let r = n.get(t);
1513
+ return r || (r = new Qn(), n.set(t, r)), r;
1514
+ }
1515
+ function Kn(e, t = !1) {
1516
+ return Object.keys(e).forEach((n) => {
1517
+ let r = e[n];
1518
+ if (t && typeof r == "object" && r !== null)
1519
+ e[n] = ht(r, t);
1520
+ else {
1521
+ const o = ee(e, n);
1522
+ Object.defineProperty(e, n, {
1523
+ configurable: !0,
1524
+ // 是否可删除、可配置
1525
+ enumerable: !0,
1526
+ // 是否可枚举
1527
+ // 数据描述符
1528
+ // value : 默认为 undefined
1529
+ // writable : 是否可读写
1530
+ // 存取描述符
1531
+ get() {
1532
+ return o.add(), r;
1533
+ },
1534
+ set(s) {
1535
+ r != s && (r = s, o.notify());
1536
+ }
1537
+ });
1538
+ }
1539
+ }), e;
1540
+ }
1541
+ function ie(e, t = !1) {
1542
+ return Kn({ value: e }, t);
1543
+ }
1544
+ function ht(e, t = !1) {
1545
+ const n = {
1546
+ // 拦截对象属性的读取
1547
+ // target 目标对象、key 键值、receiver 当前proxy实例
1548
+ get(o, s, i) {
1549
+ const a = Reflect.get(o, s, i);
1550
+ if (t && typeof a == "object" && a !== null && !("isYZReactiveProxy" in a)) {
1551
+ const l = ht(a, t);
1552
+ l.YZReactiveProxyParentTarget = o, l.YZReactiveProxyParentKey = s, Reflect.set(i, s, l);
1553
+ }
1554
+ return ee(o, s).add(), Reflect.get(o, s, i);
1555
+ },
1556
+ // 拦截对象属性的设置
1557
+ // target 目标对象、key 键值、value 值、receiver 当前proxy实例
1558
+ set(o, s, i, a) {
1559
+ const c = Reflect.get(o, s, a), l = Reflect.set(o, s, i, a);
1560
+ return Array.isArray(o) ? ee(
1561
+ o.YZReactiveProxyParentTarget,
1562
+ o.YZReactiveProxyParentKey
1563
+ ).notify() : c != i && ee(o, s).notify(), l;
1564
+ },
1565
+ // 拦截 `key in proxy` 的操作,返回一个布尔值
1566
+ has(o, s) {
1567
+ return s === "isYZReactiveProxy" || s in o;
1568
+ }
1569
+ // 拦截 `delete proxy[key]` 的操作,返回一个布尔值
1570
+ // deleteProperty(target, key) {
1571
+ // return true;
1572
+ // },
1573
+ // 拦截 `Object.keys(proxy)`、`for...in` 等循环,返回一个数组
1574
+ // ownKeys(target) {
1575
+ // return [];
1576
+ // },
1577
+ // 拦截 `Object.getOwnPropertyDescriptor(proxy, key)`,返回属性的描述对象
1578
+ // getOwnPropertyDescriptor(target, key) {
1579
+ // return {};
1580
+ // },
1581
+ // 拦截 `Object.defineProperty(proxy, key, desc`,返回一个布尔值
1582
+ // defineProperty(target, key, desc) {
1583
+ // return true;
1584
+ // },
1585
+ // 拦截 `Object.preventExtensions(proxy)`,返回一个布尔值
1586
+ // preventExtensions(target) {
1587
+ // return true;
1588
+ // },
1589
+ // 拦截 `Object.getPrototypeOf(proxy)`,返回一个对象
1590
+ // getPrototypeOf(target) {
1591
+ // return {};
1592
+ // },
1593
+ // 拦截 `Object.isExtensible(proxy)`,返回一个布尔值
1594
+ // isExtensible(target) {
1595
+ // return true;
1596
+ // },
1597
+ // 拦截 `Object.setPrototypeOf(proxy, proto)`,返回一个布尔值
1598
+ // setPrototypeOf(target, proto) {
1599
+ // return true;
1600
+ // },
1601
+ // 拦截 Proxy 实例作为函数调用的操作
1602
+ // apply(target, thisArg, args) {
1603
+ // return target.apply(thisArg, args);
1604
+ // }
1605
+ // 拦截 Proxy 实例作为构造函数调用的操作
1606
+ // construct(target, args) {
1607
+ // return {};
1608
+ // }
1609
+ };
1610
+ return new Proxy(e, n);
1611
+ }
1612
+ let Ge;
1452
1613
  try {
1453
- ze = Promise;
1614
+ Ge = Promise;
1454
1615
  } catch {
1455
- ze = function() {
1616
+ Ge = function() {
1617
+ };
1618
+ }
1619
+ const E = (e, t, n) => {
1620
+ const r = async (o) => {
1621
+ await n(o);
1622
+ };
1623
+ return e.addEventListener(t, r, !1), () => {
1624
+ e.removeEventListener(t, r, !1);
1625
+ };
1626
+ };
1627
+ function Yn() {
1628
+ const e = new Wn();
1629
+ return {
1630
+ on: (t, n) => {
1631
+ e.on(t, n);
1632
+ },
1633
+ off: (t, n) => {
1634
+ e.off(t, n);
1635
+ },
1636
+ emit: (t, ...n) => {
1637
+ e.emit(t, ...n);
1638
+ }
1456
1639
  };
1457
1640
  }
1458
- const Mn = getComputedStyle(document.documentElement);
1641
+ const h = Yn();
1642
+ let Ue = "";
1643
+ const Zn = new MutationObserver((e, t) => {
1644
+ location.href !== Ue && (Ue = location.href, h.emit("urlchange", location.href));
1645
+ });
1646
+ Zn.observe(document, {
1647
+ attributes: !0,
1648
+ childList: !0,
1649
+ subtree: !0
1650
+ });
1651
+ E(window, "hashchange", () => {
1652
+ h.emit("hashchange", location.hash);
1653
+ });
1654
+ E(window, "popstate", (e) => {
1655
+ h.emit("popstate", e.state);
1656
+ });
1657
+ E(
1658
+ window,
1659
+ "orientationchange" in window ? "orientationchange" : "resize",
1660
+ (e) => {
1661
+ const t = e.target.innerWidth, n = e.target.innerHeight;
1662
+ h.emit("windowresize", t, n);
1663
+ }
1664
+ );
1665
+ let pt = !1;
1666
+ E(window, "load", () => {
1667
+ h.emit("load"), pt = !0;
1668
+ });
1669
+ E(window, "beforeunload", (e) => {
1670
+ h.emit("beforeunload", e);
1671
+ });
1672
+ E(window, "pagehide", (e) => {
1673
+ h.emit("pagehide", e);
1674
+ });
1675
+ E(window, "focus", (e) => {
1676
+ h.emit("focus", e);
1677
+ });
1678
+ E(window, "blur", (e) => {
1679
+ h.emit("blur", e);
1680
+ });
1681
+ E(window, "visibilitychange", (e) => {
1682
+ document.hidden ? h.emit("windowhidden", e) : h.emit("windowvisible", e);
1683
+ });
1684
+ const Jn = {
1685
+ getSelectedText: () => window.getSelection()?.toString() || "",
1686
+ isTabInView: () => !document.hidden,
1687
+ onurlchange: (e) => (h.on("urlchange", e), () => {
1688
+ h.off("urlchange", e);
1689
+ }),
1690
+ onhashchange: (e) => (h.on("hashchange", e), () => {
1691
+ h.off("hashchange", e);
1692
+ }),
1693
+ onpopstate: (e) => (h.on("popstate", e), () => {
1694
+ h.off("popstate", e);
1695
+ }),
1696
+ // pushstate("/home?name=xxx")
1697
+ pushstate: (e, t = null) => {
1698
+ history.pushState(t, "", e);
1699
+ },
1700
+ replacestate: (e, t = null) => {
1701
+ history.replaceState(t, "", e);
1702
+ },
1703
+ onwindowresize: (e) => (h.on("windowresize", e), () => {
1704
+ h.off("windowresize", e);
1705
+ }),
1706
+ onload: (e) => {
1707
+ const t = qn(e);
1708
+ return h.on("load", t), pt && t(), () => {
1709
+ h.off("load", t);
1710
+ };
1711
+ },
1712
+ onbeforeunload: (e) => (h.on("beforeunload", e), () => {
1713
+ h.off("beforeunload", e);
1714
+ }),
1715
+ onpagehide: (e) => (h.on("pagehide", e), () => {
1716
+ h.off("pagehide", e);
1717
+ }),
1718
+ onfocus: (e) => (h.on("focus", e), () => {
1719
+ h.off("focus", e);
1720
+ }),
1721
+ onblur: (e) => (h.on("blur", e), () => {
1722
+ h.off("blur", e);
1723
+ }),
1724
+ onwindowvisible: (e) => (h.on("windowvisible", e), () => {
1725
+ h.off("windowvisible", e);
1726
+ }),
1727
+ onwindowhidden: (e) => (h.on("windowhidden", e), () => {
1728
+ h.off("windowhidden", e);
1729
+ })
1730
+ }, Xn = () => {
1731
+ const e = navigator.userAgent.toLowerCase();
1732
+ let t = "Unknown";
1733
+ return /iphone|ipad|ipod/i.test(e) ? t = "iOS" : /android/i.test(e) ? t = "Android" : /BlackBerry/i.test(e) ? t = "BlackBerry" : /mac/i.test(e) ? t = "macOS" : /win/i.test(e) ? t = "Windows" : /linux/i.test(e) ? t = "Linux" : /bsd/i.test(e) && (t = "BSD"), t.toLowerCase();
1734
+ };
1735
+ function eo(e = navigator.userAgent) {
1736
+ let t = "Unknown";
1737
+ if (/iPhone|iPad|iPod/i.test(e)) {
1738
+ const n = e.match(/OS (\d+_\d+)/i);
1739
+ n && (t = n[1].replace("_", "."));
1740
+ } else if (/Android/i.test(e)) {
1741
+ const n = e.match(/Android (\d+\.\d+)/i);
1742
+ n && (t = n[1]);
1743
+ } else if (/Mac OS X/i.test(e)) {
1744
+ const n = e.match(/Mac OS X (\d+_\d+)/i);
1745
+ n && (t = n[1].replace("_", "."));
1746
+ } else if (/Windows NT/i.test(e)) {
1747
+ const n = e.match(/Windows NT (\d+\.\d+)/i);
1748
+ n && (t = n[1]);
1749
+ }
1750
+ return t.toLowerCase();
1751
+ }
1752
+ function to(e, t) {
1753
+ const n = e.split("."), r = t.split(".");
1754
+ for (let o = 0, s = n.length; o < s; o++) {
1755
+ if (r.length == o)
1756
+ return 1;
1757
+ if (n[o] != r[o])
1758
+ return n[o] > r[o] ? 1 : -1;
1759
+ }
1760
+ return n.length != r.length ? -1 : 0;
1761
+ }
1762
+ function no() {
1763
+ return Xn() === "ios";
1764
+ }
1765
+ function oo() {
1766
+ const e = window.navigator.userAgent, t = e.indexOf("MSIE ");
1767
+ if (t > 0)
1768
+ return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
1769
+ if (e.indexOf("Trident/") > 0) {
1770
+ const o = e.indexOf("rv:");
1771
+ return parseInt(e.substring(o + 3, e.indexOf(".", o)), 10);
1772
+ }
1773
+ const r = e.indexOf("Edge/");
1774
+ return r > 0 ? parseInt(e.substring(r + 5, e.indexOf(".", r)), 10) : -1;
1775
+ }
1776
+ oo();
1777
+ (() => {
1778
+ const e = dt();
1779
+ return !!(e.Worker && e.Blob && e.Promise && e.OffscreenCanvas && e.OffscreenCanvasRenderingContext2D && e.HTMLCanvasElement && e.HTMLCanvasElement.prototype.transferControlToOffscreen && e.URL && e.URL.createObjectURL);
1780
+ })();
1781
+ (function() {
1782
+ if (!dt().OffscreenCanvas)
1783
+ return !1;
1784
+ const t = new OffscreenCanvas(1, 1), n = t.getContext("2d");
1785
+ n.fillRect(0, 0, 1, 1);
1786
+ const r = t.transferToImageBitmap();
1787
+ try {
1788
+ n.createPattern(r, "no-repeat");
1789
+ } catch {
1790
+ return !1;
1791
+ }
1792
+ return !0;
1793
+ })();
1794
+ function He(e, t) {
1795
+ let n;
1796
+ if (typeof t == "string") {
1797
+ const o = document.querySelector(t)?.shadowRoot;
1798
+ o ? n = o : n = document.querySelector(t);
1799
+ } else
1800
+ n = t || document.getElementsByTagName("head")[0];
1801
+ const r = document.createElement("style");
1802
+ if (r.innerHTML = e, n)
1803
+ return n.appendChild(r), () => {
1804
+ (n instanceof HTMLElement || n instanceof ShadowRoot) && n.removeChild(r);
1805
+ };
1806
+ {
1807
+ const o = document.styleSheets[0].insertRule(e);
1808
+ return () => {
1809
+ document.styleSheets[0].deleteRule(o);
1810
+ };
1811
+ }
1812
+ }
1813
+ no() && to(eo(), "11.2") < 0 ? He(`
1814
+ :root {
1815
+ /* iOS < 11.2 */
1816
+ --sat: constant(safe-area-inset-top);
1817
+ --sar: constant(safe-area-inset-right);
1818
+ --sab: constant(safe-area-inset-bottom);
1819
+ --sal: constant(safe-area-inset-left);
1820
+ }
1821
+ `) : He(`
1822
+ :root {
1823
+ /* iOS > 11.2 */
1824
+ --sat: env(safe-area-inset-top);
1825
+ --sar: env(safe-area-inset-right);
1826
+ --sab: env(safe-area-inset-bottom);
1827
+ --sal: env(safe-area-inset-left);
1828
+ }
1829
+ `);
1830
+ const gt = ie("0px"), mt = ie("0px"), yt = ie("0px"), bt = ie("0px");
1831
+ Jn.onload(() => {
1832
+ const e = getComputedStyle(document.documentElement);
1833
+ gt.value = e.getPropertyValue("--sat"), mt.value = e.getPropertyValue("--sar"), yt.value = e.getPropertyValue("--sab"), bt.value = e.getPropertyValue("--sal");
1834
+ });
1835
+ const ro = {
1836
+ top: () => gt.value,
1837
+ right: () => mt.value,
1838
+ bottom: () => yt.value,
1839
+ left: () => bt.value
1840
+ }, so = getComputedStyle(document.documentElement);
1459
1841
  function d(e) {
1460
- return Mn.getPropertyValue(e);
1842
+ return so.getPropertyValue(e);
1461
1843
  }
1462
1844
  const A = {
1463
- safeAreaTop: d("--safe-area-inset-top"),
1464
- safeAreaRight: d("--safe-area-inset-right"),
1465
- safeAreaBottom: d("--safe-area-inset-bottom"),
1466
- safeAreaLeft: d("--safe-area-inset-left"),
1467
- colorPrimary: d("--color-primary") || "#5078f0",
1845
+ colorPrimary: d("--color-primary") || "#5A82F0",
1468
1846
  colorRed: d("--color-red") || "#ff5050",
1469
1847
  colorOrange: d("--color-orange") || "#fa8c00",
1470
1848
  colorYellow: d("--color-yellow") || "#fadc32",
@@ -1504,7 +1882,7 @@ const A = {
1504
1882
  d44: d("--distance-44") || "44px"
1505
1883
  /// button-height
1506
1884
  };
1507
- class k {
1885
+ class P {
1508
1886
  __color = {
1509
1887
  r: 0,
1510
1888
  // 0 - 255
@@ -1522,7 +1900,7 @@ class k {
1522
1900
  return this.__color;
1523
1901
  }
1524
1902
  set color(t) {
1525
- this.__color = se(t);
1903
+ this.__color = ue(t);
1526
1904
  }
1527
1905
  setColor(t) {
1528
1906
  return this.color = t, this;
@@ -1531,25 +1909,25 @@ class k {
1531
1909
  return this.__color.r;
1532
1910
  }
1533
1911
  set r(t) {
1534
- this.__color.r = v(Math.round(t), 0, 255);
1912
+ this.__color.r = _(Math.round(t), 0, 255);
1535
1913
  }
1536
1914
  get g() {
1537
1915
  return this.__color.g;
1538
1916
  }
1539
1917
  set g(t) {
1540
- this.__color.g = v(Math.round(t), 0, 255);
1918
+ this.__color.g = _(Math.round(t), 0, 255);
1541
1919
  }
1542
1920
  get b() {
1543
1921
  return this.__color.b;
1544
1922
  }
1545
1923
  set b(t) {
1546
- this.__color.b = v(Math.round(t), 0, 255);
1924
+ this.__color.b = _(Math.round(t), 0, 255);
1547
1925
  }
1548
1926
  get a() {
1549
1927
  return this.__color.a;
1550
1928
  }
1551
1929
  set a(t) {
1552
- this.__color.a = v(t, 0, 1);
1930
+ this.__color.a = _(t, 0, 1);
1553
1931
  }
1554
1932
  setAlpha(t) {
1555
1933
  return this.a = t, this;
@@ -1568,17 +1946,17 @@ class k {
1568
1946
  const t = "000000" + this.hex.toString(16);
1569
1947
  return "#" + t.slice(t.length - 6);
1570
1948
  } else
1571
- return `rgba(${this.r},${this.g},${this.b},${In(this.a, 6)})`;
1949
+ return `rgba(${this.r},${this.g},${this.b},${Gn(this.a, 6)})`;
1572
1950
  }
1573
1951
  clone() {
1574
- return new k(this.color);
1952
+ return new P(this.color);
1575
1953
  }
1576
1954
  copy(t) {
1577
1955
  this.setColor(t.color);
1578
1956
  }
1579
1957
  opposite(t = !1, n = "#000000", r = "#ffffff") {
1580
1958
  if (t)
1581
- return new k(
1959
+ return new P(
1582
1960
  this.r * 0.299 + this.g * 0.587 + this.b * 0.114 > 186 ? n : r
1583
1961
  );
1584
1962
  {
@@ -1588,84 +1966,84 @@ class k {
1588
1966
  }
1589
1967
  /// t: 0 ~ 1
1590
1968
  lighten(t) {
1591
- t = v(Math.abs(t), 0, 1);
1969
+ t = _(Math.abs(t), 0, 1);
1592
1970
  let { r: n, g: r, b: o } = this.color;
1593
- return n += (255 - n) * t, r += (255 - r) * t, o += (255 - o) * t, new k().setRGBA(n, r, o, this.color.a);
1971
+ return n += (255 - n) * t, r += (255 - r) * t, o += (255 - o) * t, new P().setRGBA(n, r, o, this.color.a);
1594
1972
  }
1595
1973
  /// t: 0 ~ 1
1596
1974
  darken(t) {
1597
- t = v(Math.abs(t), 0, 1);
1975
+ t = _(Math.abs(t), 0, 1);
1598
1976
  let { r: n, g: r, b: o } = this.color;
1599
- return n = n * (1 - t), r = r * (1 - t), o = o * (1 - t), new k().setRGBA(n, r, o, this.color.a);
1977
+ return n = n * (1 - t), r = r * (1 - t), o = o * (1 - t), new P().setRGBA(n, r, o, this.color.a);
1600
1978
  }
1601
1979
  // 渐变色
1602
1980
  static gradient(t, n, r) {
1603
1981
  try {
1604
- const o = se(t), s = se(n);
1605
- return new k().setRGB(
1982
+ const o = ue(t), s = ue(n);
1983
+ return new P().setRGB(
1606
1984
  (s.r - o.r) * r + o.r,
1607
1985
  (s.g - o.g) * r + o.g,
1608
1986
  (s.b - o.b) * r + o.b
1609
1987
  );
1610
1988
  } catch {
1611
- return new k(n);
1989
+ return new P(n);
1612
1990
  }
1613
1991
  }
1614
1992
  static random() {
1615
- return new k(Math.random() * 16777215);
1993
+ return new P(Math.random() * 16777215);
1616
1994
  }
1617
1995
  get hsv() {
1618
- const { r: t, g: n, b: r, a: o } = this.color, s = Math.max(t, n, r), c = Math.min(t, n, r), l = s - c;
1619
- let i;
1620
- return t === s ? i = (n - r) / l : n === s ? i = 2 + (r - t) / l : i = 4 + (t - n) / l, i /= 6, i < 0 && (i += 1), {
1621
- h: l == 0 ? 0 : i * 360,
1622
- s: s === 0 ? 0 : l / s,
1996
+ const { r: t, g: n, b: r, a: o } = this.color, s = Math.max(t, n, r), i = Math.min(t, n, r), a = s - i;
1997
+ let c;
1998
+ return t === s ? c = (n - r) / a : n === s ? c = 2 + (r - t) / a : c = 4 + (t - n) / a, c /= 6, c < 0 && (c += 1), {
1999
+ h: a == 0 ? 0 : c * 360,
2000
+ s: s === 0 ? 0 : a / s,
1623
2001
  v: s / 255,
1624
2002
  a: o
1625
2003
  };
1626
2004
  }
1627
2005
  set h(t) {
1628
2006
  const n = this.hsv;
1629
- n.h = v(t, 0, 360), this.setColor(n);
2007
+ n.h = _(t, 0, 360), this.setColor(n);
1630
2008
  }
1631
2009
  get h() {
1632
2010
  return this.hsv.h;
1633
2011
  }
1634
2012
  set s(t) {
1635
2013
  const n = this.hsv;
1636
- n.s = v(t, 0, 1), this.setColor(n);
2014
+ n.s = _(t, 0, 1), this.setColor(n);
1637
2015
  }
1638
2016
  get s() {
1639
2017
  return this.hsv.s;
1640
2018
  }
1641
2019
  set v(t) {
1642
2020
  const n = this.hsv;
1643
- n.v = v(t, 0, 1), this.setColor(n);
2021
+ n.v = _(t, 0, 1), this.setColor(n);
1644
2022
  }
1645
2023
  get v() {
1646
2024
  return this.hsv.v;
1647
2025
  }
1648
2026
  }
1649
- function q(e, t) {
1650
- return new k(e, t);
2027
+ function K(e, t) {
2028
+ return new P(e, t);
1651
2029
  }
1652
- function se(e) {
1653
- const t = Object.prototype.hasOwnProperty.call(e, "a") ? v(e.a, 0, 1) : 1;
2030
+ function ue(e) {
2031
+ const t = Object.prototype.hasOwnProperty.call(e, "a") ? _(e.a, 0, 1) : 1;
1654
2032
  if (Object.prototype.hasOwnProperty.call(e, "r") && Object.prototype.hasOwnProperty.call(e, "g") && Object.prototype.hasOwnProperty.call(e, "b"))
1655
- return e.r = v(Math.round(e.r), 0, 255), e.g = v(Math.round(e.g), 0, 255), e.b = v(Math.round(e.b), 0, 255), e.a = t, e;
2033
+ return e.r = _(Math.round(e.r), 0, 255), e.g = _(Math.round(e.g), 0, 255), e.b = _(Math.round(e.b), 0, 255), e.a = t, e;
1656
2034
  if (Object.prototype.hasOwnProperty.call(e, "h") && Object.prototype.hasOwnProperty.call(e, "s") && Object.prototype.hasOwnProperty.call(e, "v")) {
1657
- const r = v(e.h, 0, 360), o = v(e.s, 0, 1), s = v(e.v, 0, 1), c = Math.floor(r / 60) % 6, l = r / 60 - Math.floor(r / 60), i = s * (1 - o), a = s * (1 - l * o), u = s * (1 - (1 - l) * o), h = [
1658
- [s, u, i],
1659
- [a, s, i],
1660
- [i, s, u],
1661
- [i, a, s],
1662
- [u, i, s],
1663
- [s, i, a]
1664
- ][c];
2035
+ const r = _(e.h, 0, 360), o = _(e.s, 0, 1), s = _(e.v, 0, 1), i = Math.floor(r / 60) % 6, a = r / 60 - Math.floor(r / 60), c = s * (1 - o), l = s * (1 - a * o), u = s * (1 - (1 - a) * o), p = [
2036
+ [s, u, c],
2037
+ [l, s, c],
2038
+ [c, s, u],
2039
+ [c, l, s],
2040
+ [u, c, s],
2041
+ [s, c, l]
2042
+ ][i];
1665
2043
  return {
1666
- r: Math.round(h[0] * 255),
1667
- g: Math.round(h[1] * 255),
1668
- b: Math.round(h[2] * 255),
2044
+ r: Math.round(p[0] * 255),
2045
+ g: Math.round(p[1] * 255),
2046
+ b: Math.round(p[2] * 255),
1669
2047
  a: t
1670
2048
  };
1671
2049
  }
@@ -1691,9 +2069,9 @@ function se(e) {
1691
2069
  }
1692
2070
  } else
1693
2071
  throw new Error("parseColor 不支持的颜色解析:" + e);
1694
- return n.r = v(n.r, 0, 255), n.g = v(n.g, 0, 255), n.b = v(n.b, 0, 255), n.a = v(n.a, 0, 1), n;
2072
+ return n.r = _(n.r, 0, 255), n.g = _(n.g, 0, 255), n.b = _(n.b, 0, 255), n.a = _(n.a, 0, 1), n;
1695
2073
  }
1696
- const j = {
2074
+ const z = {
1697
2075
  backgroundColor: "#1a1a1a",
1698
2076
  numberColor: "#2FA1D6",
1699
2077
  booleanColor: "#806787",
@@ -1704,14 +2082,14 @@ const j = {
1704
2082
  borderColor: "",
1705
2083
  inputColor: ""
1706
2084
  };
1707
- j.buttonColor = new k(j.saveRowColor).darken(0.1).toString();
1708
- j.borderColor = new k(
1709
- j.backgroundColor
2085
+ z.buttonColor = new P(z.saveRowColor).darken(0.1).toString();
2086
+ z.borderColor = new P(
2087
+ z.backgroundColor
1710
2088
  ).lighten(0.07).toString();
1711
- j.inputColor = new k(
1712
- j.backgroundColor
2089
+ z.inputColor = new P(
2090
+ z.backgroundColor
1713
2091
  ).lighten(0.085).toString();
1714
- function Pn(e) {
2092
+ function io(e) {
1715
2093
  const t = document.documentElement, n = window.top === window.self ? window.devicePixelRatio : 1;
1716
2094
  t.dataset.dpr = n;
1717
2095
  let r = 100;
@@ -1729,7 +2107,7 @@ function Pn(e) {
1729
2107
  !1
1730
2108
  );
1731
2109
  }
1732
- const Fn = /* @__PURE__ */ D({
2110
+ const co = /* @__PURE__ */ R({
1733
2111
  __name: "Icon",
1734
2112
  props: {
1735
2113
  icon: { default: "mdi-light:home" },
@@ -1737,26 +2115,26 @@ const Fn = /* @__PURE__ */ D({
1737
2115
  },
1738
2116
  setup(e) {
1739
2117
  const t = e;
1740
- return (n, r) => (O(), B("span", {
2118
+ return (n, r) => (M(), $("span", {
1741
2119
  class: "icon",
1742
- style: x(["color: " + n.color])
2120
+ style: w(["color: " + n.color])
1743
2121
  }, [
1744
- he(R(_n), {
2122
+ W(N(Vn), {
1745
2123
  icon: t.icon,
1746
2124
  color: n.color
1747
2125
  }, null, 8, ["icon", "color"])
1748
2126
  ], 4));
1749
2127
  }
1750
2128
  });
1751
- const te = (e, t) => {
2129
+ const B = (e, t) => {
1752
2130
  const n = e.__vccOpts || e;
1753
2131
  for (const [r, o] of t)
1754
2132
  n[r] = o;
1755
2133
  return n;
1756
- }, Be = /* @__PURE__ */ te(Fn, [["__scopeId", "data-v-3f9d90d2"]]), On = {
2134
+ }, We = /* @__PURE__ */ B(co, [["__scopeId", "data-v-3f9d90d2"]]), ao = {
1757
2135
  class: "loading-11",
1758
2136
  ref: "loading11"
1759
- }, En = { class: "container container-1" }, Tn = { class: "container container-2" }, jn = { class: "container container-3" }, $n = /* @__PURE__ */ D({
2137
+ }, lo = { class: "container container-1" }, uo = { class: "container container-2" }, fo = { class: "container container-3" }, ho = /* @__PURE__ */ R({
1760
2138
  __name: "Loading11",
1761
2139
  props: {
1762
2140
  color: { default: A.colorPrimary },
@@ -1764,74 +2142,74 @@ const te = (e, t) => {
1764
2142
  },
1765
2143
  setup(e) {
1766
2144
  const t = e;
1767
- return (n, r) => (O(), B("div", On, [
1768
- m("div", {
2145
+ return (n, r) => (M(), $("div", ao, [
2146
+ b("div", {
1769
2147
  class: "loading-11-inner",
1770
- style: x({ width: t.width, height: t.width })
2148
+ style: w({ width: t.width, height: t.width })
1771
2149
  }, [
1772
- m("div", En, [
1773
- m("div", {
2150
+ b("div", lo, [
2151
+ b("div", {
1774
2152
  class: "dot dot-1",
1775
- style: x({ backgroundColor: t.color })
2153
+ style: w({ backgroundColor: t.color })
1776
2154
  }, null, 4),
1777
- m("div", {
2155
+ b("div", {
1778
2156
  class: "dot dot-2",
1779
- style: x({ backgroundColor: t.color })
2157
+ style: w({ backgroundColor: t.color })
1780
2158
  }, null, 4),
1781
- m("div", {
2159
+ b("div", {
1782
2160
  class: "dot dot-3",
1783
- style: x({ backgroundColor: t.color })
2161
+ style: w({ backgroundColor: t.color })
1784
2162
  }, null, 4),
1785
- m("div", {
2163
+ b("div", {
1786
2164
  class: "dot dot-4",
1787
- style: x({ backgroundColor: t.color })
2165
+ style: w({ backgroundColor: t.color })
1788
2166
  }, null, 4)
1789
2167
  ]),
1790
- m("div", Tn, [
1791
- m("div", {
2168
+ b("div", uo, [
2169
+ b("div", {
1792
2170
  class: "dot dot-1",
1793
- style: x({ backgroundColor: t.color })
2171
+ style: w({ backgroundColor: t.color })
1794
2172
  }, null, 4),
1795
- m("div", {
2173
+ b("div", {
1796
2174
  class: "dot dot-2",
1797
- style: x({ backgroundColor: t.color })
2175
+ style: w({ backgroundColor: t.color })
1798
2176
  }, null, 4),
1799
- m("div", {
2177
+ b("div", {
1800
2178
  class: "dot dot-3",
1801
- style: x({ backgroundColor: t.color })
2179
+ style: w({ backgroundColor: t.color })
1802
2180
  }, null, 4),
1803
- m("div", {
2181
+ b("div", {
1804
2182
  class: "dot dot-4",
1805
- style: x({ backgroundColor: t.color })
2183
+ style: w({ backgroundColor: t.color })
1806
2184
  }, null, 4)
1807
2185
  ]),
1808
- m("div", jn, [
1809
- m("div", {
2186
+ b("div", fo, [
2187
+ b("div", {
1810
2188
  class: "dot dot-1",
1811
- style: x({ backgroundColor: t.color })
2189
+ style: w({ backgroundColor: t.color })
1812
2190
  }, null, 4),
1813
- m("div", {
2191
+ b("div", {
1814
2192
  class: "dot dot-2",
1815
- style: x({ backgroundColor: t.color })
2193
+ style: w({ backgroundColor: t.color })
1816
2194
  }, null, 4),
1817
- m("div", {
2195
+ b("div", {
1818
2196
  class: "dot dot-3",
1819
- style: x({ backgroundColor: t.color })
2197
+ style: w({ backgroundColor: t.color })
1820
2198
  }, null, 4),
1821
- m("div", {
2199
+ b("div", {
1822
2200
  class: "dot dot-4",
1823
- style: x({ backgroundColor: t.color })
2201
+ style: w({ backgroundColor: t.color })
1824
2202
  }, null, 4)
1825
2203
  ])
1826
2204
  ], 4)
1827
2205
  ], 512));
1828
2206
  }
1829
2207
  });
1830
- const Ne = /* @__PURE__ */ te($n, [["__scopeId", "data-v-f95fac77"]]), Ln = {
2208
+ const qe = /* @__PURE__ */ B(ho, [["__scopeId", "data-v-f95fac77"]]), po = {
1831
2209
  key: 0,
1832
2210
  class: "loading"
1833
- }, Rn = /* @__PURE__ */ D({
1834
- customOptions: { Loading11: Ne },
2211
+ }, go = /* @__PURE__ */ R({
2212
+ customOptions: { Loading11: qe },
1835
2213
  inheritAttrs: !0,
1836
2214
  __name: "Button",
1837
2215
  props: {
@@ -1839,6 +2217,7 @@ const Ne = /* @__PURE__ */ te($n, [["__scopeId", "data-v-f95fac77"]]), Ln = {
1839
2217
  icon: {},
1840
2218
  iconPosition: { default: "left" },
1841
2219
  disabled: { type: Boolean, default: !1 },
2220
+ width: { default: "auto" },
1842
2221
  height: { default: "44px" },
1843
2222
  padding: { default: "20px" },
1844
2223
  fontSize: { default: "14px" },
@@ -1851,105 +2230,106 @@ const Ne = /* @__PURE__ */ te($n, [["__scopeId", "data-v-f95fac77"]]), Ln = {
1851
2230
  },
1852
2231
  emits: ["yz-click", "click"],
1853
2232
  setup(e, { expose: t, emit: n }) {
1854
- const r = e, o = n, s = M(), c = M(r.borderColor), l = M(r.bgColor), i = M(r.fontColor), a = M(r.borderColor), u = M(r.bgColor);
1855
- function h(g) {
1856
- switch (g) {
2233
+ const r = e, o = n, s = k(), i = k(r.borderColor), a = k(r.bgColor), c = k(r.fontColor), l = k(r.borderColor), u = k(r.bgColor);
2234
+ function p(m) {
2235
+ switch (m) {
1857
2236
  case "outline":
1858
- c.value = r.borderColor ?? A.colorPrimary, l.value = r.bgColor ?? A.colorGrayFF, i.value = r.fontColor ?? A.colorPrimary, a.value = c.value, u.value = l.value;
2237
+ i.value = r.borderColor ?? A.colorPrimary, a.value = r.bgColor ?? A.colorGrayFF, c.value = r.fontColor ?? A.colorPrimary, l.value = i.value, u.value = a.value;
1859
2238
  break;
1860
2239
  case "fullfilled":
1861
2240
  default:
1862
- c.value = r.borderColor ?? A.colorPrimary, l.value = r.bgColor ?? A.colorPrimary, i.value = r.fontColor ?? A.colorGrayFF, a.value = c.value, u.value = l.value;
2241
+ i.value = r.borderColor ?? A.colorPrimary, a.value = r.bgColor ?? A.colorPrimary, c.value = r.fontColor ?? A.colorGrayFF, l.value = i.value, u.value = a.value;
1863
2242
  break;
1864
2243
  }
1865
2244
  }
1866
- at(
2245
+ Ot(
1867
2246
  () => r.stylePattern,
1868
2247
  () => {
1869
- h(r.stylePattern);
2248
+ p(r.stylePattern);
1870
2249
  },
1871
2250
  { immediate: !0 }
1872
2251
  );
1873
- const y = M(r.disabled ? "0.6" : "1"), w = M(r.disabled ? "not-allowed" : "pointer");
2252
+ const y = k(r.disabled ? "0.6" : "1"), x = k(r.disabled ? "not-allowed" : "pointer");
1874
2253
  let C = !1;
1875
- const b = () => {
1876
- r.disabled || (C = !0, c.value = q(a.value).lighten(0.05).toString(), l.value = q(u.value).lighten(0.05).toString());
2254
+ const v = () => {
2255
+ r.disabled || (C = !0, i.value = K(l.value).lighten(0.05).toString(), a.value = K(u.value).lighten(0.05).toString());
1877
2256
  }, f = () => {
1878
- r.disabled || (C = !1, c.value = a.value, l.value = u.value);
1879
- }, S = M(!1), _ = An(() => {
1880
- r.disabled || S.value || (c.value = q(a.value).darken(0.05).toString(), l.value = q(u.value).darken(0.05).toString(), setTimeout(() => {
1881
- C ? b() : f();
1882
- }, 150), o("yz-click"), o("click"), r.asyncClick && (S.value = !0, r.asyncClick().then(() => {
1883
- S.value = !1;
2257
+ r.disabled || (C = !1, i.value = l.value, a.value = u.value);
2258
+ }, I = k(!1), S = Hn(() => {
2259
+ r.disabled || I.value || (i.value = K(l.value).darken(0.05).toString(), a.value = K(u.value).darken(0.05).toString(), setTimeout(() => {
2260
+ C ? v() : f();
2261
+ }, 150), o("yz-click"), o("click"), r.asyncClick && (I.value = !0, r.asyncClick().then(() => {
2262
+ I.value = !1;
1884
2263
  }).catch(() => {
1885
- S.value = !1;
2264
+ I.value = !1;
1886
2265
  })));
1887
2266
  }, 500);
1888
- return t({ el: s }), (g, T) => (O(), B("div", {
2267
+ return t({ el: s }), (m, j) => (M(), $("div", {
1889
2268
  ref_key: "el",
1890
2269
  ref: s,
1891
2270
  class: "button",
1892
- style: x([
2271
+ style: w([
1893
2272
  `opacity: ${y.value}`,
1894
- `border: 1px solid ${c.value}`,
1895
- `background-color: ${l.value}`,
1896
- `color: ${i.value}`,
2273
+ `border: 1px solid ${i.value}`,
2274
+ `background-color: ${a.value}`,
2275
+ `color: ${c.value}`,
1897
2276
  `border-radius: ${r.borderRadius}`,
2277
+ `width: ${r.width}`,
1898
2278
  `height: ${r.height}`,
1899
2279
  `line-height: ${r.height}`,
1900
2280
  `font-size: ${r.fontSize}`,
1901
- `cursor: ${w.value}`,
2281
+ `cursor: ${x.value}`,
1902
2282
  "user-select: none"
1903
2283
  ]),
1904
- onMouseover: b,
2284
+ onMouseover: v,
1905
2285
  onMouseleave: f,
1906
- onClick: T[0] || (T[0] = //@ts-ignore
1907
- (...p) => R(_) && R(_)(...p))
2286
+ onClick: j[0] || (j[0] = //@ts-ignore
2287
+ (...g) => N(S) && N(S)(...g))
1908
2288
  }, [
1909
- m("label", {
2289
+ b("label", {
1910
2290
  class: "label truncate",
1911
- style: x({
1912
- padding: "0 " + g.padding,
1913
- cursor: w.value
2291
+ style: w({
2292
+ padding: "0 " + m.padding,
2293
+ cursor: x.value
1914
2294
  })
1915
2295
  }, [
1916
- S.value ? (O(), B("div", Ln, [
1917
- he(Ne, { color: i.value }, null, 8, ["color"])
1918
- ])) : ne("", !0),
1919
- H(g.$slots, "default", {}, () => [
1920
- g.icon && g.iconPosition === "left" ? (O(), xe(Be, {
2296
+ I.value ? (M(), $("div", po, [
2297
+ W(qe, { color: c.value }, null, 8, ["color"])
2298
+ ])) : ce("", !0),
2299
+ Y(m.$slots, "default", {}, () => [
2300
+ m.icon && m.iconPosition === "left" ? (M(), fe(We, {
1921
2301
  key: 0,
1922
- icon: g.icon,
1923
- color: i.value,
1924
- style: x({
1925
- marginRight: R(A).d4,
1926
- cursor: w.value
2302
+ icon: m.icon,
2303
+ color: c.value,
2304
+ style: w({
2305
+ marginRight: N(A).d4,
2306
+ cursor: x.value
1927
2307
  })
1928
- }, null, 8, ["icon", "color", "style"])) : ne("", !0),
1929
- m("span", {
1930
- style: x({
1931
- cursor: w.value
2308
+ }, null, 8, ["icon", "color", "style"])) : ce("", !0),
2309
+ b("span", {
2310
+ style: w({
2311
+ cursor: x.value
1932
2312
  })
1933
- }, ut(g.label), 5),
1934
- g.icon && g.iconPosition === "right" ? (O(), xe(Be, {
2313
+ }, Pt(m.label), 5),
2314
+ m.icon && m.iconPosition === "right" ? (M(), fe(We, {
1935
2315
  key: 1,
1936
- icon: g.icon,
1937
- color: i.value,
1938
- style: x({
1939
- marginLeft: R(A).d4,
1940
- cursor: w.value
2316
+ icon: m.icon,
2317
+ color: c.value,
2318
+ style: w({
2319
+ marginLeft: N(A).d4,
2320
+ cursor: x.value
1941
2321
  })
1942
- }, null, 8, ["icon", "color", "style"])) : ne("", !0)
2322
+ }, null, 8, ["icon", "color", "style"])) : ce("", !0)
1943
2323
  ], !0)
1944
2324
  ], 4)
1945
2325
  ], 36));
1946
2326
  }
1947
2327
  });
1948
- const zn = /* @__PURE__ */ te(Rn, [["__scopeId", "data-v-b3e1b144"]]), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2328
+ const vt = /* @__PURE__ */ B(go, [["__scopeId", "data-v-999537e3"]]), Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1949
2329
  __proto__: null,
1950
- default: zn
2330
+ default: vt
1951
2331
  }, Symbol.toStringTag, { value: "Module" }));
1952
- const Bn = { class: "page" }, Nn = { class: "header" }, Gn = { class: "main" }, Dn = { class: "main-scroll" }, Vn = { class: "footer" }, Un = /* @__PURE__ */ D({
2332
+ const mo = { class: "page" }, yo = { class: "header" }, bo = { class: "main" }, vo = { class: "main-scroll" }, wo = { class: "footer" }, _o = /* @__PURE__ */ R({
1953
2333
  customOptions: {},
1954
2334
  inheritAttrs: !0,
1955
2335
  __name: "LayoutMobile",
@@ -1957,40 +2337,78 @@ const Bn = { class: "page" }, Nn = { class: "header" }, Gn = { class: "main" },
1957
2337
  designWidth: { default: 750 }
1958
2338
  },
1959
2339
  setup(e, { expose: t, emit: n }) {
1960
- return Pn(e.designWidth), t({}), (o, s) => (O(), B("div", Bn, [
1961
- m("header", Nn, [
1962
- H(o.$slots, "header", {}, void 0, !0)
2340
+ return io(e.designWidth), t({}), (o, s) => (M(), $("div", mo, [
2341
+ b("header", yo, [
2342
+ Y(o.$slots, "header", {}, void 0, !0)
1963
2343
  ]),
1964
- m("div", Gn, [
1965
- m("div", Dn, [
1966
- H(o.$slots, "main", {}, void 0, !0)
2344
+ b("div", bo, [
2345
+ b("div", vo, [
2346
+ Y(o.$slots, "default", {}, void 0, !0)
1967
2347
  ])
1968
2348
  ]),
1969
- m("footer", Vn, [
1970
- H(o.$slots, "footer", {}, void 0, !0)
2349
+ b("footer", wo, [
2350
+ Y(o.$slots, "footer", {}, void 0, !0)
1971
2351
  ])
1972
2352
  ]));
1973
2353
  }
1974
2354
  });
1975
- const qn = /* @__PURE__ */ te(Un, [["__scopeId", "data-v-4dcdff45"]]), lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2355
+ const wt = /* @__PURE__ */ B(_o, [["__scopeId", "data-v-8b6ffbe1"]]), No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2356
+ __proto__: null,
2357
+ default: wt
2358
+ }, Symbol.toStringTag, { value: "Module" })), xo = { class: "xg-footer-inner" }, So = /* @__PURE__ */ R({
2359
+ __name: "Footer",
2360
+ setup(e) {
2361
+ const t = k("0px");
2362
+ return Qe(() => {
2363
+ t.value = ro.bottom();
2364
+ }), (n, r) => (M(), $("div", {
2365
+ class: "xg-footer",
2366
+ style: w({ paddingBottom: t.value })
2367
+ }, [
2368
+ b("div", xo, [
2369
+ W(vt, {
2370
+ label: "去支付",
2371
+ width: "100%"
2372
+ })
2373
+ ])
2374
+ ], 4));
2375
+ }
2376
+ });
2377
+ const _t = /* @__PURE__ */ B(So, [["__scopeId", "data-v-b845cb28"]]), Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2378
+ __proto__: null,
2379
+ default: _t
2380
+ }, Symbol.toStringTag, { value: "Module" })), Co = /* @__PURE__ */ R({
2381
+ __name: "Lot",
2382
+ setup(e) {
2383
+ return (t, n) => (M(), fe(wt, { class: "xg" }, {
2384
+ footer: kt(() => [
2385
+ W(_t)
2386
+ ]),
2387
+ _: 1
2388
+ }));
2389
+ }
2390
+ });
2391
+ const Io = /* @__PURE__ */ B(Co, [["__scopeId", "data-v-79c30c04"]]), Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1976
2392
  __proto__: null,
1977
- default: qn
2393
+ default: Io
1978
2394
  }, Symbol.toStringTag, { value: "Module" }));
1979
2395
  export {
1980
- co as Button,
1981
- eo as DECREMENT,
1982
- Zn as INCREMENT,
1983
- to as INCREMENTACTION,
1984
- lo as LayoutMobile,
1985
- Kn as getInstance,
1986
- mt as getVNode,
1987
- Jn as renderComponent,
1988
- Yn as useVueEffect,
1989
- Xn as useVueRouter,
1990
- no as useVuex,
1991
- io as useVuexActions,
1992
- ro as useVuexGetters,
1993
- so as useVuexMutations,
1994
- oo as useVuexStates
2396
+ Do as Button,
2397
+ Fo as DECREMENT,
2398
+ Go as Footer,
2399
+ To as INCREMENT,
2400
+ Ro as INCREMENTACTION,
2401
+ No as LayoutMobile,
2402
+ Uo as Lot,
2403
+ Ao as getInstance,
2404
+ Rt as getVNode,
2405
+ Mo as renderComponent,
2406
+ Eo as useVueEffect,
2407
+ Lo as useVueRouter,
2408
+ jo as useVuex,
2409
+ Vo as useVuexActions,
2410
+ zo as useVuexGetters,
2411
+ Bo as useVuexMutations,
2412
+ $o as useVuexStates
1995
2413
  };
1996
2414
  //# sourceMappingURL=zyzgroup_core_vue.js.map