@d0rich/esprit-design 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,19 @@
1
- import { openBlock as f, createElementBlock as p, renderSlot as $, defineComponent as I, h as Tt, useSlots as wt, computed as T, createBlock as C, resolveDynamicComponent as z, withCtx as b, createElementVNode as u, normalizeClass as M, normalizeStyle as N, createCommentVNode as x, mergeProps as it, unref as W, createVNode as B, createTextVNode as A, Fragment as O, renderList as E, toDisplayString as S, ref as ht, createStaticVNode as zt, watch as fe, TransitionGroup as kt, resolveComponent as de } from "vue";
2
- import ut from "gsap";
3
- const he = {
1
+ import { createElementBlock as p, openBlock as f, renderSlot as S, defineComponent as I, h as kt, useSlots as gt, computed as T, createBlock as C, resolveDynamicComponent as z, withCtx as b, createElementVNode as c, createCommentVNode as w, normalizeStyle as N, normalizeClass as L, mergeProps as st, unref as W, createVNode as A, createTextVNode as B, Fragment as O, renderList as E, toDisplayString as x, ref as ut, createStaticVNode as jt, watch as Zt, TransitionGroup as mt, resolveComponent as Xt } from "vue";
2
+ import lt from "gsap";
3
+ const Yt = {
4
4
  name: "DChip"
5
- }, St = (t, e) => {
6
- const n = t.__vccOpts || t;
7
- for (const [o, s] of e)
8
- n[o] = s;
9
- return n;
10
- }, pe = { class: "d-chip" };
11
- function ge(t, e, n, o, s, i) {
12
- return f(), p("span", pe, [
13
- $(t.$slots, "default")
5
+ }, _t = (t, n) => {
6
+ const e = t.__vccOpts || t;
7
+ for (const [o, s] of n)
8
+ e[o] = s;
9
+ return e;
10
+ }, Jt = { class: "d-chip" };
11
+ function te(t, n, e, o, s, i) {
12
+ return f(), p("span", Jt, [
13
+ S(t.$slots, "default")
14
14
  ]);
15
15
  }
16
- const oo = /* @__PURE__ */ St(he, [["render", ge]]), G = /^[a-z0-9]+(-[a-z0-9]+)*$/, rt = (t, e, n, o = "") => {
16
+ const Ns = /* @__PURE__ */ _t(Yt, [["render", te]]), Bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, ot = (t, n, e, o = "") => {
17
17
  const s = t.split(":");
18
18
  if (t.slice(0, 1) === "@") {
19
19
  if (s.length < 2 || s.length > 3)
@@ -23,287 +23,298 @@ const oo = /* @__PURE__ */ St(he, [["render", ge]]), G = /^[a-z0-9]+(-[a-z0-9]+)
23
23
  if (s.length > 3 || !s.length)
24
24
  return null;
25
25
  if (s.length > 1) {
26
- const a = s.pop(), l = s.pop(), c = {
26
+ const l = s.pop(), r = s.pop(), u = {
27
27
  // Allow provider without '@': "provider:prefix:name"
28
28
  provider: s.length > 0 ? s[0] : o,
29
- prefix: l,
30
- name: a
29
+ prefix: r,
30
+ name: l
31
31
  };
32
- return e && !tt(c) ? null : c;
32
+ return n && !Y(u) ? null : u;
33
33
  }
34
- const i = s[0], r = i.split("-");
35
- if (r.length > 1) {
36
- const a = {
34
+ const i = s[0], a = i.split("-");
35
+ if (a.length > 1) {
36
+ const l = {
37
37
  provider: o,
38
- prefix: r.shift(),
39
- name: r.join("-")
38
+ prefix: a.shift(),
39
+ name: a.join("-")
40
40
  };
41
- return e && !tt(a) ? null : a;
41
+ return n && !Y(l) ? null : l;
42
42
  }
43
- if (n && o === "") {
44
- const a = {
43
+ if (e && o === "") {
44
+ const l = {
45
45
  provider: o,
46
46
  prefix: "",
47
47
  name: i
48
48
  };
49
- return e && !tt(a, n) ? null : a;
49
+ return n && !Y(l, e) ? null : l;
50
50
  }
51
51
  return null;
52
- }, tt = (t, e) => t ? !!((t.provider === "" || t.provider.match(G)) && (e && t.prefix === "" || t.prefix.match(G)) && t.name.match(G)) : !1, Qt = Object.freeze(
52
+ }, Y = (t, n) => t ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
53
+ // Check name: cannot be empty
54
+ ((n && t.prefix === "" || t.prefix) && t.name) : !1, Ot = Object.freeze(
53
55
  {
54
56
  left: 0,
55
57
  top: 0,
56
58
  width: 16,
57
59
  height: 16
58
60
  }
59
- ), st = Object.freeze({
61
+ ), et = Object.freeze({
60
62
  rotate: 0,
61
63
  vFlip: !1,
62
64
  hFlip: !1
63
- }), at = Object.freeze({
64
- ...Qt,
65
- ...st
66
- }), pt = Object.freeze({
67
- ...at,
65
+ }), it = Object.freeze({
66
+ ...Ot,
67
+ ...et
68
+ }), ft = Object.freeze({
69
+ ...it,
68
70
  body: "",
69
71
  hidden: !1
70
72
  });
71
- function me(t, e) {
72
- const n = {};
73
- !t.hFlip != !e.hFlip && (n.hFlip = !0), !t.vFlip != !e.vFlip && (n.vFlip = !0);
74
- const o = ((t.rotate || 0) + (e.rotate || 0)) % 4;
75
- return o && (n.rotate = o), n;
76
- }
77
- function Mt(t, e) {
78
- const n = me(t, e);
79
- for (const o in pt)
80
- o in st ? o in t && !(o in n) && (n[o] = st[o]) : o in e ? n[o] = e[o] : o in t && (n[o] = t[o]);
81
- return n;
73
+ function ee(t, n) {
74
+ const e = {};
75
+ !t.hFlip != !n.hFlip && (e.hFlip = !0), !t.vFlip != !n.vFlip && (e.vFlip = !0);
76
+ const o = ((t.rotate || 0) + (n.rotate || 0)) % 4;
77
+ return o && (e.rotate = o), e;
78
+ }
79
+ function $t(t, n) {
80
+ const e = ee(t, n);
81
+ for (const o in ft)
82
+ o in et ? o in t && !(o in e) && (e[o] = et[o]) : o in n ? e[o] = n[o] : o in t && (e[o] = t[o]);
83
+ return e;
82
84
  }
83
- function _e(t, e) {
84
- const n = t.icons, o = t.aliases || /* @__PURE__ */ Object.create(null), s = /* @__PURE__ */ Object.create(null);
85
- function i(r) {
86
- if (n[r])
87
- return s[r] = [];
88
- if (!(r in s)) {
89
- s[r] = null;
90
- const a = o[r] && o[r].parent, l = a && i(a);
91
- l && (s[r] = [a].concat(l));
85
+ function ne(t, n) {
86
+ const e = t.icons, o = t.aliases || /* @__PURE__ */ Object.create(null), s = /* @__PURE__ */ Object.create(null);
87
+ function i(a) {
88
+ if (e[a])
89
+ return s[a] = [];
90
+ if (!(a in s)) {
91
+ s[a] = null;
92
+ const l = o[a] && o[a].parent, r = l && i(l);
93
+ r && (s[a] = [l].concat(r));
92
94
  }
93
- return s[r];
95
+ return s[a];
94
96
  }
95
- return Object.keys(n).concat(Object.keys(o)).forEach(i), s;
97
+ return Object.keys(e).concat(Object.keys(o)).forEach(i), s;
96
98
  }
97
- function ve(t, e, n) {
99
+ function se(t, n, e) {
98
100
  const o = t.icons, s = t.aliases || /* @__PURE__ */ Object.create(null);
99
101
  let i = {};
100
- function r(a) {
101
- i = Mt(
102
- o[a] || s[a],
102
+ function a(l) {
103
+ i = $t(
104
+ o[l] || s[l],
103
105
  i
104
106
  );
105
107
  }
106
- return r(e), n.forEach(r), Mt(t, i);
108
+ return a(n), e.forEach(a), $t(t, i);
107
109
  }
108
- function Kt(t, e) {
109
- const n = [];
110
+ function Et(t, n) {
111
+ const e = [];
110
112
  if (typeof t != "object" || typeof t.icons != "object")
111
- return n;
113
+ return e;
112
114
  t.not_found instanceof Array && t.not_found.forEach((s) => {
113
- e(s, null), n.push(s);
115
+ n(s, null), e.push(s);
114
116
  });
115
- const o = _e(t);
117
+ const o = ne(t);
116
118
  for (const s in o) {
117
119
  const i = o[s];
118
- i && (e(s, ve(t, s, i)), n.push(s));
120
+ i && (n(s, se(t, s, i)), e.push(s));
119
121
  }
120
- return n;
122
+ return e;
121
123
  }
122
- const ye = {
124
+ const oe = {
123
125
  provider: "",
124
126
  aliases: {},
125
127
  not_found: {},
126
- ...Qt
128
+ ...Ot
127
129
  };
128
- function ft(t, e) {
129
- for (const n in e)
130
- if (n in t && typeof t[n] != typeof e[n])
130
+ function rt(t, n) {
131
+ for (const e in n)
132
+ if (e in t && typeof t[e] != typeof n[e])
131
133
  return !1;
132
134
  return !0;
133
135
  }
134
- function Gt(t) {
136
+ function Nt(t) {
135
137
  if (typeof t != "object" || t === null)
136
138
  return null;
137
- const e = t;
138
- if (typeof e.prefix != "string" || !t.icons || typeof t.icons != "object" || !ft(t, ye))
139
+ const n = t;
140
+ if (typeof n.prefix != "string" || !t.icons || typeof t.icons != "object" || !rt(t, oe))
139
141
  return null;
140
- const n = e.icons;
141
- for (const s in n) {
142
- const i = n[s];
143
- if (!s.match(G) || typeof i.body != "string" || !ft(
144
- i,
145
- pt
146
- ))
142
+ const e = n.icons;
143
+ for (const s in e) {
144
+ const i = e[s];
145
+ if (
146
+ // Name cannot be empty
147
+ !s || // Must have body
148
+ typeof i.body != "string" || // Check other props
149
+ !rt(
150
+ i,
151
+ ft
152
+ )
153
+ )
147
154
  return null;
148
155
  }
149
- const o = e.aliases || /* @__PURE__ */ Object.create(null);
156
+ const o = n.aliases || /* @__PURE__ */ Object.create(null);
150
157
  for (const s in o) {
151
- const i = o[s], r = i.parent;
152
- if (!s.match(G) || typeof r != "string" || !n[r] && !o[r] || !ft(
153
- i,
154
- pt
155
- ))
158
+ const i = o[s], a = i.parent;
159
+ if (
160
+ // Name cannot be empty
161
+ !s || // Parent must be set and point to existing icon
162
+ typeof a != "string" || !e[a] && !o[a] || // Check other props
163
+ !rt(
164
+ i,
165
+ ft
166
+ )
167
+ )
156
168
  return null;
157
169
  }
158
- return e;
170
+ return n;
159
171
  }
160
- const Lt = /* @__PURE__ */ Object.create(null);
161
- function be(t, e) {
172
+ const xt = /* @__PURE__ */ Object.create(null);
173
+ function ie(t, n) {
162
174
  return {
163
175
  provider: t,
164
- prefix: e,
176
+ prefix: n,
165
177
  icons: /* @__PURE__ */ Object.create(null),
166
178
  missing: /* @__PURE__ */ new Set()
167
179
  };
168
180
  }
169
- function U(t, e) {
170
- const n = Lt[t] || (Lt[t] = /* @__PURE__ */ Object.create(null));
171
- return n[e] || (n[e] = be(t, e));
181
+ function V(t, n) {
182
+ const e = xt[t] || (xt[t] = /* @__PURE__ */ Object.create(null));
183
+ return e[n] || (e[n] = ie(t, n));
172
184
  }
173
- function xt(t, e) {
174
- return Gt(e) ? Kt(e, (n, o) => {
175
- o ? t.icons[n] = o : t.missing.add(n);
185
+ function Wt(t, n) {
186
+ return Nt(n) ? Et(n, (e, o) => {
187
+ o ? t.icons[e] = o : t.missing.add(e);
176
188
  }) : [];
177
189
  }
178
- function we(t, e, n) {
190
+ function ae(t, n, e) {
179
191
  try {
180
- if (typeof n.body == "string")
181
- return t.icons[e] = { ...n }, !0;
192
+ if (typeof e.body == "string")
193
+ return t.icons[n] = { ...e }, !0;
182
194
  } catch {
183
195
  }
184
196
  return !1;
185
197
  }
186
198
  let Z = !1;
187
- function Zt(t) {
199
+ function Rt(t) {
188
200
  return typeof t == "boolean" && (Z = t), Z;
189
201
  }
190
- function ke(t) {
191
- const e = typeof t == "string" ? rt(t, !0, Z) : t;
192
- if (e) {
193
- const n = U(e.provider, e.prefix), o = e.name;
194
- return n.icons[o] || (n.missing.has(o) ? null : void 0);
202
+ function le(t) {
203
+ const n = typeof t == "string" ? ot(t, !0, Z) : t;
204
+ if (n) {
205
+ const e = V(n.provider, n.prefix), o = n.name;
206
+ return e.icons[o] || (e.missing.has(o) ? null : void 0);
195
207
  }
196
208
  }
197
- function Se(t, e) {
198
- const n = rt(t, !0, Z);
199
- if (!n)
209
+ function re(t, n) {
210
+ const e = ot(t, !0, Z);
211
+ if (!e)
200
212
  return !1;
201
- const o = U(n.provider, n.prefix);
202
- return we(o, n.name, e);
213
+ const o = V(e.provider, e.prefix);
214
+ return n ? ae(o, e.name, n) : (o.missing.add(e.name), !0);
203
215
  }
204
- function xe(t, e) {
216
+ function ce(t, n) {
205
217
  if (typeof t != "object")
206
218
  return !1;
207
- if (typeof e != "string" && (e = t.provider || ""), Z && !e && !t.prefix) {
219
+ if (typeof n != "string" && (n = t.provider || ""), Z && !n && !t.prefix) {
208
220
  let s = !1;
209
- return Gt(t) && (t.prefix = "", Kt(t, (i, r) => {
210
- r && Se(i, r) && (s = !0);
221
+ return Nt(t) && (t.prefix = "", Et(t, (i, a) => {
222
+ re(i, a) && (s = !0);
211
223
  })), s;
212
224
  }
213
- const n = t.prefix;
214
- if (!tt({
215
- provider: e,
216
- prefix: n,
225
+ const e = t.prefix;
226
+ if (!Y({
227
+ prefix: e,
217
228
  name: "a"
218
229
  }))
219
230
  return !1;
220
- const o = U(e, n);
221
- return !!xt(o, t);
231
+ const o = V(n, e);
232
+ return !!Wt(o, t);
222
233
  }
223
- const Xt = Object.freeze({
234
+ const qt = Object.freeze({
224
235
  width: null,
225
236
  height: null
226
- }), Jt = Object.freeze({
237
+ }), Ut = Object.freeze({
227
238
  // Dimensions
228
- ...Xt,
239
+ ...qt,
229
240
  // Transformations
230
- ...st
231
- }), $e = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Ce = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
232
- function Ft(t, e, n) {
233
- if (e === 1)
241
+ ...et
242
+ }), ue = /(-?[0-9.]*[0-9]+[0-9.]*)/g, fe = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
243
+ function wt(t, n, e) {
244
+ if (n === 1)
234
245
  return t;
235
- if (n = n || 100, typeof t == "number")
236
- return Math.ceil(t * e * n) / n;
246
+ if (e = e || 100, typeof t == "number")
247
+ return Math.ceil(t * n * e) / e;
237
248
  if (typeof t != "string")
238
249
  return t;
239
- const o = t.split($e);
250
+ const o = t.split(ue);
240
251
  if (o === null || !o.length)
241
252
  return t;
242
253
  const s = [];
243
- let i = o.shift(), r = Ce.test(i);
254
+ let i = o.shift(), a = fe.test(i);
244
255
  for (; ; ) {
245
- if (r) {
246
- const a = parseFloat(i);
247
- isNaN(a) ? s.push(i) : s.push(Math.ceil(a * e * n) / n);
256
+ if (a) {
257
+ const l = parseFloat(i);
258
+ isNaN(l) ? s.push(i) : s.push(Math.ceil(l * n * e) / e);
248
259
  } else
249
260
  s.push(i);
250
261
  if (i = o.shift(), i === void 0)
251
262
  return s.join("");
252
- r = !r;
263
+ a = !a;
253
264
  }
254
265
  }
255
- function Pe(t, e = "defs") {
256
- let n = "";
257
- const o = t.indexOf("<" + e);
266
+ function de(t, n = "defs") {
267
+ let e = "";
268
+ const o = t.indexOf("<" + n);
258
269
  for (; o >= 0; ) {
259
- const s = t.indexOf(">", o), i = t.indexOf("</" + e);
270
+ const s = t.indexOf(">", o), i = t.indexOf("</" + n);
260
271
  if (s === -1 || i === -1)
261
272
  break;
262
- const r = t.indexOf(">", i);
263
- if (r === -1)
273
+ const a = t.indexOf(">", i);
274
+ if (a === -1)
264
275
  break;
265
- n += t.slice(s + 1, i).trim(), t = t.slice(0, o).trim() + t.slice(r + 1);
276
+ e += t.slice(s + 1, i).trim(), t = t.slice(0, o).trim() + t.slice(a + 1);
266
277
  }
267
278
  return {
268
- defs: n,
279
+ defs: e,
269
280
  content: t
270
281
  };
271
282
  }
272
- function Ie(t, e) {
273
- return t ? "<defs>" + t + "</defs>" + e : e;
283
+ function he(t, n) {
284
+ return t ? "<defs>" + t + "</defs>" + n : n;
274
285
  }
275
- function De(t, e, n) {
276
- const o = Pe(t);
277
- return Ie(o.defs, e + o.content + n);
286
+ function pe(t, n, e) {
287
+ const o = de(t);
288
+ return he(o.defs, n + o.content + e);
278
289
  }
279
- const Te = (t) => t === "unset" || t === "undefined" || t === "none";
280
- function Me(t, e) {
281
- const n = {
282
- ...at,
290
+ const ge = (t) => t === "unset" || t === "undefined" || t === "none";
291
+ function me(t, n) {
292
+ const e = {
293
+ ...it,
283
294
  ...t
284
295
  }, o = {
285
- ...Jt,
286
- ...e
296
+ ...Ut,
297
+ ...n
287
298
  }, s = {
288
- left: n.left,
289
- top: n.top,
290
- width: n.width,
291
- height: n.height
299
+ left: e.left,
300
+ top: e.top,
301
+ width: e.width,
302
+ height: e.height
292
303
  };
293
- let i = n.body;
294
- [n, o].forEach((_) => {
295
- const d = [], L = _.hFlip, D = _.vFlip;
304
+ let i = e.body;
305
+ [e, o].forEach((_) => {
306
+ const d = [], F = _.hFlip, D = _.vFlip;
296
307
  let v = _.rotate;
297
- L ? D ? v += 2 : (d.push(
308
+ F ? D ? v += 2 : (d.push(
298
309
  "translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
299
310
  ), d.push("scale(-1 1)"), s.top = s.left = 0) : D && (d.push(
300
311
  "translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
301
312
  ), d.push("scale(1 -1)"), s.top = s.left = 0);
302
- let k;
313
+ let $;
303
314
  switch (v < 0 && (v -= Math.floor(v / 4) * 4), v = v % 4, v) {
304
315
  case 1:
305
- k = s.height / 2 + s.top, d.unshift(
306
- "rotate(90 " + k.toString() + " " + k.toString() + ")"
316
+ $ = s.height / 2 + s.top, d.unshift(
317
+ "rotate(90 " + $.toString() + " " + $.toString() + ")"
307
318
  );
308
319
  break;
309
320
  case 2:
@@ -312,67 +323,67 @@ function Me(t, e) {
312
323
  );
313
324
  break;
314
325
  case 3:
315
- k = s.width / 2 + s.left, d.unshift(
316
- "rotate(-90 " + k.toString() + " " + k.toString() + ")"
326
+ $ = s.width / 2 + s.left, d.unshift(
327
+ "rotate(-90 " + $.toString() + " " + $.toString() + ")"
317
328
  );
318
329
  break;
319
330
  }
320
- v % 2 === 1 && (s.left !== s.top && (k = s.left, s.left = s.top, s.top = k), s.width !== s.height && (k = s.width, s.width = s.height, s.height = k)), d.length && (i = De(
331
+ v % 2 === 1 && (s.left !== s.top && ($ = s.left, s.left = s.top, s.top = $), s.width !== s.height && ($ = s.width, s.width = s.height, s.height = $)), d.length && (i = pe(
321
332
  i,
322
333
  '<g transform="' + d.join(" ") + '">',
323
334
  "</g>"
324
335
  ));
325
336
  });
326
- const r = o.width, a = o.height, l = s.width, c = s.height;
337
+ const a = o.width, l = o.height, r = s.width, u = s.height;
327
338
  let h, g;
328
- r === null ? (g = a === null ? "1em" : a === "auto" ? c : a, h = Ft(g, l / c)) : (h = r === "auto" ? l : r, g = a === null ? Ft(h, c / l) : a === "auto" ? c : a);
329
- const m = {}, w = (_, d) => {
330
- Te(d) || (m[_] = d.toString());
339
+ a === null ? (g = l === null ? "1em" : l === "auto" ? u : l, h = wt(g, r / u)) : (h = a === "auto" ? r : a, g = l === null ? wt(h, u / r) : l === "auto" ? u : l);
340
+ const m = {}, k = (_, d) => {
341
+ ge(d) || (m[_] = d.toString());
331
342
  };
332
- w("width", h), w("height", g);
333
- const P = [s.left, s.top, l, c];
343
+ k("width", h), k("height", g);
344
+ const P = [s.left, s.top, r, u];
334
345
  return m.viewBox = P.join(" "), {
335
346
  attributes: m,
336
347
  viewBox: P,
337
348
  body: i
338
349
  };
339
350
  }
340
- const Le = /\sid="(\S+)"/g, Fe = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
341
- let Be = 0;
342
- function je(t, e = Fe) {
343
- const n = [];
351
+ const _e = /\sid="(\S+)"/g, ve = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
352
+ let ye = 0;
353
+ function be(t, n = ve) {
354
+ const e = [];
344
355
  let o;
345
- for (; o = Le.exec(t); )
346
- n.push(o[1]);
347
- if (!n.length)
356
+ for (; o = _e.exec(t); )
357
+ e.push(o[1]);
358
+ if (!e.length)
348
359
  return t;
349
360
  const s = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
350
- return n.forEach((i) => {
351
- const r = typeof e == "function" ? e(i) : e + (Be++).toString(), a = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
361
+ return e.forEach((i) => {
362
+ const a = typeof n == "function" ? n(i) : n + (ye++).toString(), l = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
352
363
  t = t.replace(
353
364
  // Allowed characters before id: [#;"]
354
365
  // Allowed characters after id: [)"], .[a-z]
355
- new RegExp('([#;"])(' + a + ')([")]|\\.[a-z])', "g"),
356
- "$1" + r + s + "$3"
366
+ new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
367
+ "$1" + a + s + "$3"
357
368
  );
358
369
  }), t = t.replace(new RegExp(s, "g"), ""), t;
359
370
  }
360
- const gt = /* @__PURE__ */ Object.create(null);
361
- function Ae(t, e) {
362
- gt[t] = e;
371
+ const dt = /* @__PURE__ */ Object.create(null);
372
+ function ke(t, n) {
373
+ dt[t] = n;
363
374
  }
364
- function mt(t) {
365
- return gt[t] || gt[""];
375
+ function ht(t) {
376
+ return dt[t] || dt[""];
366
377
  }
367
- function $t(t) {
368
- let e;
378
+ function vt(t) {
379
+ let n;
369
380
  if (typeof t.resources == "string")
370
- e = [t.resources];
371
- else if (e = t.resources, !(e instanceof Array) || !e.length)
381
+ n = [t.resources];
382
+ else if (n = t.resources, !(n instanceof Array) || !n.length)
372
383
  return null;
373
384
  return {
374
385
  // API hosts
375
- resources: e,
386
+ resources: n,
376
387
  // Root path
377
388
  path: t.path || "/",
378
389
  // URL length limit
@@ -389,23 +400,23 @@ function $t(t) {
389
400
  dataAfterTimeout: t.dataAfterTimeout !== !1
390
401
  };
391
402
  }
392
- const Ct = /* @__PURE__ */ Object.create(null), K = [
403
+ const yt = /* @__PURE__ */ Object.create(null), G = [
393
404
  "https://api.simplesvg.com",
394
405
  "https://api.unisvg.com"
395
- ], et = [];
396
- for (; K.length > 0; )
397
- K.length === 1 || Math.random() > 0.5 ? et.push(K.shift()) : et.push(K.pop());
398
- Ct[""] = $t({
399
- resources: ["https://api.iconify.design"].concat(et)
406
+ ], J = [];
407
+ for (; G.length > 0; )
408
+ G.length === 1 || Math.random() > 0.5 ? J.push(G.shift()) : J.push(G.pop());
409
+ yt[""] = vt({
410
+ resources: ["https://api.iconify.design"].concat(J)
400
411
  });
401
- function Oe(t, e) {
402
- const n = $t(e);
403
- return n === null ? !1 : (Ct[t] = n, !0);
412
+ function $e(t, n) {
413
+ const e = vt(n);
414
+ return e === null ? !1 : (yt[t] = e, !0);
404
415
  }
405
- function Pt(t) {
406
- return Ct[t];
416
+ function bt(t) {
417
+ return yt[t];
407
418
  }
408
- const Ee = () => {
419
+ const xe = () => {
409
420
  let t;
410
421
  try {
411
422
  if (t = fetch, typeof t == "function")
@@ -413,81 +424,81 @@ const Ee = () => {
413
424
  } catch {
414
425
  }
415
426
  };
416
- let Bt = Ee();
417
- function Ne(t, e) {
418
- const n = Pt(t);
419
- if (!n)
427
+ let St = xe();
428
+ function we(t, n) {
429
+ const e = bt(t);
430
+ if (!e)
420
431
  return 0;
421
432
  let o;
422
- if (!n.maxURL)
433
+ if (!e.maxURL)
423
434
  o = 0;
424
435
  else {
425
436
  let s = 0;
426
- n.resources.forEach((r) => {
427
- s = Math.max(s, r.length);
437
+ e.resources.forEach((a) => {
438
+ s = Math.max(s, a.length);
428
439
  });
429
- const i = e + ".json?icons=";
430
- o = n.maxURL - s - n.path.length - i.length;
440
+ const i = n + ".json?icons=";
441
+ o = e.maxURL - s - e.path.length - i.length;
431
442
  }
432
443
  return o;
433
444
  }
434
- function We(t) {
445
+ function Se(t) {
435
446
  return t === 404;
436
447
  }
437
- const Re = (t, e, n) => {
438
- const o = [], s = Ne(t, e), i = "icons";
439
- let r = {
448
+ const Ce = (t, n, e) => {
449
+ const o = [], s = we(t, n), i = "icons";
450
+ let a = {
440
451
  type: i,
441
452
  provider: t,
442
- prefix: e,
453
+ prefix: n,
443
454
  icons: []
444
- }, a = 0;
445
- return n.forEach((l, c) => {
446
- a += l.length + 1, a >= s && c > 0 && (o.push(r), r = {
455
+ }, l = 0;
456
+ return e.forEach((r, u) => {
457
+ l += r.length + 1, l >= s && u > 0 && (o.push(a), a = {
447
458
  type: i,
448
459
  provider: t,
449
- prefix: e,
460
+ prefix: n,
450
461
  icons: []
451
- }, a = l.length), r.icons.push(l);
452
- }), o.push(r), o;
462
+ }, l = r.length), a.icons.push(r);
463
+ }), o.push(a), o;
453
464
  };
454
- function qe(t) {
465
+ function Pe(t) {
455
466
  if (typeof t == "string") {
456
- const e = Pt(t);
457
- if (e)
458
- return e.path;
467
+ const n = bt(t);
468
+ if (n)
469
+ return n.path;
459
470
  }
460
471
  return "/";
461
472
  }
462
- const Ve = (t, e, n) => {
463
- if (!Bt) {
464
- n("abort", 424);
473
+ const Ie = (t, n, e) => {
474
+ if (!St) {
475
+ e("abort", 424);
465
476
  return;
466
477
  }
467
- let o = qe(e.provider);
468
- switch (e.type) {
478
+ let o = Pe(n.provider);
479
+ switch (n.type) {
469
480
  case "icons": {
470
- const i = e.prefix, a = e.icons.join(","), l = new URLSearchParams({
471
- icons: a
481
+ const i = n.prefix, l = n.icons.join(","), r = new URLSearchParams({
482
+ icons: l
472
483
  });
473
- o += i + ".json?" + l.toString();
484
+ o += i + ".json?" + r.toString();
474
485
  break;
475
486
  }
476
487
  case "custom": {
477
- const i = e.uri;
488
+ const i = n.uri;
478
489
  o += i.slice(0, 1) === "/" ? i.slice(1) : i;
479
490
  break;
480
491
  }
481
492
  default:
482
- n("abort", 400);
493
+ e("abort", 400);
483
494
  return;
484
495
  }
485
496
  let s = 503;
486
- Bt(t + o).then((i) => {
487
- const r = i.status;
488
- if (r !== 200) {
497
+ St(t + o).then((i) => {
498
+ const a = i.status;
499
+ if (a !== 200) {
489
500
  setTimeout(() => {
490
- n(We(r) ? "abort" : "next", r);
501
+ e(Se(a) ? "abort" : "next", a);
491
502
  });
492
503
  return;
493
504
  }
@@ -495,26 +506,26 @@ const Ve = (t, e, n) => {
495
506
  }).then((i) => {
496
507
  if (typeof i != "object" || i === null) {
497
508
  setTimeout(() => {
498
- i === 404 ? n("abort", i) : n("next", s);
509
+ i === 404 ? e("abort", i) : e("next", s);
499
510
  });
500
511
  return;
501
512
  }
502
513
  setTimeout(() => {
503
- n("success", i);
514
+ e("success", i);
504
515
  });
505
516
  }).catch(() => {
506
- n("next", s);
517
+ e("next", s);
507
518
  });
508
- }, Ue = {
509
- prepare: Re,
510
- send: Ve
519
+ }, De = {
520
+ prepare: Ce,
521
+ send: Ie
511
522
  };
512
- function He(t) {
513
- const e = {
523
+ function Te(t) {
524
+ const n = {
514
525
  loaded: [],
515
526
  missing: [],
516
527
  pending: []
517
- }, n = /* @__PURE__ */ Object.create(null);
528
+ }, e = /* @__PURE__ */ Object.create(null);
518
529
  t.sort((s, i) => s.provider !== i.provider ? s.provider.localeCompare(i.provider) : s.prefix !== i.prefix ? s.prefix.localeCompare(i.prefix) : s.name.localeCompare(i.name));
519
530
  let o = {
520
531
  provider: "",
@@ -525,84 +536,84 @@ function He(t) {
525
536
  if (o.name === s.name && o.prefix === s.prefix && o.provider === s.provider)
526
537
  return;
527
538
  o = s;
528
- const i = s.provider, r = s.prefix, a = s.name, l = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), c = l[r] || (l[r] = U(i, r));
539
+ const i = s.provider, a = s.prefix, l = s.name, r = e[i] || (e[i] = /* @__PURE__ */ Object.create(null)), u = r[a] || (r[a] = V(i, a));
529
540
  let h;
530
- a in c.icons ? h = e.loaded : r === "" || c.missing.has(a) ? h = e.missing : h = e.pending;
541
+ l in u.icons ? h = n.loaded : a === "" || u.missing.has(l) ? h = n.missing : h = n.pending;
531
542
  const g = {
532
543
  provider: i,
533
- prefix: r,
534
- name: a
544
+ prefix: a,
545
+ name: l
535
546
  };
536
547
  h.push(g);
537
- }), e;
548
+ }), n;
538
549
  }
539
- function Yt(t, e) {
540
- t.forEach((n) => {
541
- const o = n.loaderCallbacks;
542
- o && (n.loaderCallbacks = o.filter((s) => s.id !== e));
550
+ function Vt(t, n) {
551
+ t.forEach((e) => {
552
+ const o = e.loaderCallbacks;
553
+ o && (e.loaderCallbacks = o.filter((s) => s.id !== n));
543
554
  });
544
555
  }
545
- function ze(t) {
556
+ function Le(t) {
546
557
  t.pendingCallbacksFlag || (t.pendingCallbacksFlag = !0, setTimeout(() => {
547
558
  t.pendingCallbacksFlag = !1;
548
- const e = t.loaderCallbacks ? t.loaderCallbacks.slice(0) : [];
549
- if (!e.length)
559
+ const n = t.loaderCallbacks ? t.loaderCallbacks.slice(0) : [];
560
+ if (!n.length)
550
561
  return;
551
- let n = !1;
562
+ let e = !1;
552
563
  const o = t.provider, s = t.prefix;
553
- e.forEach((i) => {
554
- const r = i.icons, a = r.pending.length;
555
- r.pending = r.pending.filter((l) => {
556
- if (l.prefix !== s)
564
+ n.forEach((i) => {
565
+ const a = i.icons, l = a.pending.length;
566
+ a.pending = a.pending.filter((r) => {
567
+ if (r.prefix !== s)
557
568
  return !0;
558
- const c = l.name;
559
- if (t.icons[c])
560
- r.loaded.push({
569
+ const u = r.name;
570
+ if (t.icons[u])
571
+ a.loaded.push({
561
572
  provider: o,
562
573
  prefix: s,
563
- name: c
574
+ name: u
564
575
  });
565
- else if (t.missing.has(c))
566
- r.missing.push({
576
+ else if (t.missing.has(u))
577
+ a.missing.push({
567
578
  provider: o,
568
579
  prefix: s,
569
- name: c
580
+ name: u
570
581
  });
571
582
  else
572
- return n = !0, !0;
583
+ return e = !0, !0;
573
584
  return !1;
574
- }), r.pending.length !== a && (n || Yt([t], i.id), i.callback(
575
- r.loaded.slice(0),
576
- r.missing.slice(0),
577
- r.pending.slice(0),
585
+ }), a.pending.length !== l && (e || Vt([t], i.id), i.callback(
586
+ a.loaded.slice(0),
587
+ a.missing.slice(0),
588
+ a.pending.slice(0),
578
589
  i.abort
579
590
  ));
580
591
  });
581
592
  }));
582
593
  }
583
- let Qe = 0;
584
- function Ke(t, e, n) {
585
- const o = Qe++, s = Yt.bind(null, n, o);
586
- if (!e.pending.length)
594
+ let Fe = 0;
595
+ function Me(t, n, e) {
596
+ const o = Fe++, s = Vt.bind(null, e, o);
597
+ if (!n.pending.length)
587
598
  return s;
588
599
  const i = {
589
600
  id: o,
590
- icons: e,
601
+ icons: n,
591
602
  callback: t,
592
603
  abort: s
593
604
  };
594
- return n.forEach((r) => {
595
- (r.loaderCallbacks || (r.loaderCallbacks = [])).push(i);
605
+ return e.forEach((a) => {
606
+ (a.loaderCallbacks || (a.loaderCallbacks = [])).push(i);
596
607
  }), s;
597
608
  }
598
- function Ge(t, e = !0, n = !1) {
609
+ function Ae(t, n = !0, e = !1) {
599
610
  const o = [];
600
611
  return t.forEach((s) => {
601
- const i = typeof s == "string" ? rt(s, e, n) : s;
612
+ const i = typeof s == "string" ? ot(s, n, e) : s;
602
613
  i && o.push(i);
603
614
  }), o;
604
615
  }
605
- var Ze = {
616
+ var je = {
606
617
  resources: [],
607
618
  index: 0,
608
619
  timeout: 2e3,
@@ -610,45 +621,45 @@ var Ze = {
610
621
  random: !1,
611
622
  dataAfterTimeout: !1
612
623
  };
613
- function Xe(t, e, n, o) {
624
+ function Be(t, n, e, o) {
614
625
  const s = t.resources.length, i = t.random ? Math.floor(Math.random() * s) : t.index;
615
- let r;
626
+ let a;
616
627
  if (t.random) {
617
628
  let y = t.resources.slice(0);
618
- for (r = []; y.length > 1; ) {
619
- const F = Math.floor(Math.random() * y.length);
620
- r.push(y[F]), y = y.slice(0, F).concat(y.slice(F + 1));
629
+ for (a = []; y.length > 1; ) {
630
+ const M = Math.floor(Math.random() * y.length);
631
+ a.push(y[M]), y = y.slice(0, M).concat(y.slice(M + 1));
621
632
  }
622
- r = r.concat(y);
633
+ a = a.concat(y);
623
634
  } else
624
- r = t.resources.slice(i).concat(t.resources.slice(0, i));
625
- const a = Date.now();
626
- let l = "pending", c = 0, h, g = null, m = [], w = [];
627
- typeof o == "function" && w.push(o);
635
+ a = t.resources.slice(i).concat(t.resources.slice(0, i));
636
+ const l = Date.now();
637
+ let r = "pending", u = 0, h, g = null, m = [], k = [];
638
+ typeof o == "function" && k.push(o);
628
639
  function P() {
629
640
  g && (clearTimeout(g), g = null);
630
641
  }
631
642
  function _() {
632
- l === "pending" && (l = "aborted"), P(), m.forEach((y) => {
643
+ r === "pending" && (r = "aborted"), P(), m.forEach((y) => {
633
644
  y.status === "pending" && (y.status = "aborted");
634
645
  }), m = [];
635
646
  }
636
- function d(y, F) {
637
- F && (w = []), typeof y == "function" && w.push(y);
647
+ function d(y, M) {
648
+ M && (k = []), typeof y == "function" && k.push(y);
638
649
  }
639
- function L() {
650
+ function F() {
640
651
  return {
641
- startTime: a,
642
- payload: e,
643
- status: l,
644
- queriesSent: c,
652
+ startTime: l,
653
+ payload: n,
654
+ status: r,
655
+ queriesSent: u,
645
656
  queriesPending: m.length,
646
657
  subscribe: d,
647
658
  abort: _
648
659
  };
649
660
  }
650
661
  function D() {
651
- l = "failed", w.forEach((y) => {
662
+ r = "failed", k.forEach((y) => {
652
663
  y(void 0, h);
653
664
  });
654
665
  }
@@ -657,348 +668,261 @@ function Xe(t, e, n, o) {
657
668
  y.status === "pending" && (y.status = "aborted");
658
669
  }), m = [];
659
670
  }
660
- function k(y, F, Q) {
661
- const J = F !== "success";
662
- switch (m = m.filter((V) => V !== y), l) {
671
+ function $(y, M, Q) {
672
+ const X = M !== "success";
673
+ switch (m = m.filter((U) => U !== y), r) {
663
674
  case "pending":
664
675
  break;
665
676
  case "failed":
666
- if (J || !t.dataAfterTimeout)
677
+ if (X || !t.dataAfterTimeout)
667
678
  return;
668
679
  break;
669
680
  default:
670
681
  return;
671
682
  }
672
- if (F === "abort") {
683
+ if (M === "abort") {
673
684
  h = Q, D();
674
685
  return;
675
686
  }
676
- if (J) {
677
- h = Q, m.length || (r.length ? ct() : D());
687
+ if (X) {
688
+ h = Q, m.length || (a.length ? at() : D());
678
689
  return;
679
690
  }
680
691
  if (P(), v(), !t.random) {
681
- const V = t.resources.indexOf(y.resource);
682
- V !== -1 && V !== t.index && (t.index = V);
692
+ const U = t.resources.indexOf(y.resource);
693
+ U !== -1 && U !== t.index && (t.index = U);
683
694
  }
684
- l = "completed", w.forEach((V) => {
685
- V(Q);
695
+ r = "completed", k.forEach((U) => {
696
+ U(Q);
686
697
  });
687
698
  }
688
- function ct() {
689
- if (l !== "pending")
699
+ function at() {
700
+ if (r !== "pending")
690
701
  return;
691
702
  P();
692
- const y = r.shift();
703
+ const y = a.shift();
693
704
  if (y === void 0) {
694
705
  if (m.length) {
695
706
  g = setTimeout(() => {
696
- P(), l === "pending" && (v(), D());
707
+ P(), r === "pending" && (v(), D());
697
708
  }, t.timeout);
698
709
  return;
699
710
  }
700
711
  D();
701
712
  return;
702
713
  }
703
- const F = {
714
+ const M = {
704
715
  status: "pending",
705
716
  resource: y,
706
- callback: (Q, J) => {
707
- k(F, Q, J);
717
+ callback: (Q, X) => {
718
+ $(M, Q, X);
708
719
  }
709
720
  };
710
- m.push(F), c++, g = setTimeout(ct, t.rotate), n(y, e, F.callback);
721
+ m.push(M), u++, g = setTimeout(at, t.rotate), e(y, n, M.callback);
711
722
  }
712
- return setTimeout(ct), L;
723
+ return setTimeout(at), F;
713
724
  }
714
- function te(t) {
715
- const e = {
716
- ...Ze,
725
+ function Ht(t) {
726
+ const n = {
727
+ ...je,
717
728
  ...t
718
729
  };
719
- let n = [];
730
+ let e = [];
720
731
  function o() {
721
- n = n.filter((a) => a().status === "pending");
732
+ e = e.filter((l) => l().status === "pending");
722
733
  }
723
- function s(a, l, c) {
724
- const h = Xe(
725
- e,
726
- a,
734
+ function s(l, r, u) {
735
+ const h = Be(
736
+ n,
727
737
  l,
738
+ r,
728
739
  (g, m) => {
729
- o(), c && c(g, m);
740
+ o(), u && u(g, m);
730
741
  }
731
742
  );
732
- return n.push(h), h;
743
+ return e.push(h), h;
733
744
  }
734
- function i(a) {
735
- return n.find((l) => a(l)) || null;
745
+ function i(l) {
746
+ return e.find((r) => l(r)) || null;
736
747
  }
737
748
  return {
738
749
  query: s,
739
750
  find: i,
740
- setIndex: (a) => {
741
- e.index = a;
751
+ setIndex: (l) => {
752
+ n.index = l;
742
753
  },
743
- getIndex: () => e.index,
754
+ getIndex: () => n.index,
744
755
  cleanup: o
745
756
  };
746
757
  }
747
- function jt() {
758
+ function Ct() {
748
759
  }
749
- const dt = /* @__PURE__ */ Object.create(null);
750
- function Je(t) {
751
- if (!dt[t]) {
752
- const e = Pt(t);
753
- if (!e)
760
+ const ct = /* @__PURE__ */ Object.create(null);
761
+ function Oe(t) {
762
+ if (!ct[t]) {
763
+ const n = bt(t);
764
+ if (!n)
754
765
  return;
755
- const n = te(e), o = {
756
- config: e,
757
- redundancy: n
766
+ const e = Ht(n), o = {
767
+ config: n,
768
+ redundancy: e
758
769
  };
759
- dt[t] = o;
770
+ ct[t] = o;
760
771
  }
761
- return dt[t];
772
+ return ct[t];
762
773
  }
763
- function Ye(t, e, n) {
774
+ function Ee(t, n, e) {
764
775
  let o, s;
765
776
  if (typeof t == "string") {
766
- const i = mt(t);
777
+ const i = ht(t);
767
778
  if (!i)
768
- return n(void 0, 424), jt;
779
+ return e(void 0, 424), Ct;
769
780
  s = i.send;
770
- const r = Je(t);
771
- r && (o = r.redundancy);
781
+ const a = Oe(t);
782
+ a && (o = a.redundancy);
772
783
  } else {
773
- const i = $t(t);
784
+ const i = vt(t);
774
785
  if (i) {
775
- o = te(i);
776
- const r = t.resources ? t.resources[0] : "", a = mt(r);
777
- a && (s = a.send);
786
+ o = Ht(i);
787
+ const a = t.resources ? t.resources[0] : "", l = ht(a);
788
+ l && (s = l.send);
778
789
  }
779
790
  }
780
- return !o || !s ? (n(void 0, 424), jt) : o.query(e, s, n)().abort;
781
- }
782
- const At = "iconify2", X = "iconify", ee = X + "-count", Ot = X + "-version", ne = 36e5, tn = 168, en = 50;
783
- function _t(t, e) {
784
- try {
785
- return t.getItem(e);
786
- } catch {
787
- }
788
- }
789
- function It(t, e, n) {
790
- try {
791
- return t.setItem(e, n), !0;
792
- } catch {
793
- }
794
- }
795
- function Et(t, e) {
796
- try {
797
- t.removeItem(e);
798
- } catch {
799
- }
800
- }
801
- function vt(t, e) {
802
- return It(t, ee, e.toString());
791
+ return !o || !s ? (e(void 0, 424), Ct) : o.query(n, s, e)().abort;
803
792
  }
804
- function yt(t) {
805
- return parseInt(_t(t, ee)) || 0;
793
+ function Pt() {
806
794
  }
807
- const lt = {
808
- local: !0,
809
- session: !0
810
- }, se = {
811
- local: /* @__PURE__ */ new Set(),
812
- session: /* @__PURE__ */ new Set()
813
- };
814
- let Dt = !1;
815
- function nn(t) {
816
- Dt = t;
795
+ function Ne(t) {
796
+ t.iconsLoaderFlag || (t.iconsLoaderFlag = !0, setTimeout(() => {
797
+ t.iconsLoaderFlag = !1, Le(t);
798
+ }));
817
799
  }
818
- let Y = typeof window > "u" ? {} : window;
819
- function oe(t) {
820
- const e = t + "Storage";
821
- try {
822
- if (Y && Y[e] && typeof Y[e].length == "number")
823
- return Y[e];
824
- } catch {
825
- }
826
- lt[t] = !1;
800
+ function We(t) {
801
+ const n = [], e = [];
802
+ return t.forEach((o) => {
803
+ (o.match(Bt) ? n : e).push(o);
804
+ }), {
805
+ valid: n,
806
+ invalid: e
807
+ };
827
808
  }
828
- function ie(t, e) {
829
- const n = oe(t);
830
- if (!n)
831
- return;
832
- const o = _t(n, Ot);
833
- if (o !== At) {
834
- if (o) {
835
- const a = yt(n);
836
- for (let l = 0; l < a; l++)
837
- Et(n, X + l.toString());
838
- }
839
- It(n, Ot, At), vt(n, 0);
840
- return;
809
+ function K(t, n, e) {
810
+ function o() {
811
+ const s = t.pendingIcons;
812
+ n.forEach((i) => {
813
+ s && s.delete(i), t.icons[i] || t.missing.add(i);
814
+ });
841
815
  }
842
- const s = Math.floor(Date.now() / ne) - tn, i = (a) => {
843
- const l = X + a.toString(), c = _t(n, l);
844
- if (typeof c == "string") {
845
- try {
846
- const h = JSON.parse(c);
847
- if (typeof h == "object" && typeof h.cached == "number" && h.cached > s && typeof h.provider == "string" && typeof h.data == "object" && typeof h.data.prefix == "string" && // Valid item: run callback
848
- e(h, a))
849
- return !0;
850
- } catch {
816
+ if (e && typeof e == "object")
817
+ try {
818
+ if (!Wt(t, e).length) {
819
+ o();
820
+ return;
851
821
  }
852
- Et(n, l);
822
+ } catch (s) {
823
+ console.error(s);
853
824
  }
854
- };
855
- let r = yt(n);
856
- for (let a = r - 1; a >= 0; a--)
857
- i(a) || (a === r - 1 ? (r--, vt(n, r)) : se[t].add(a));
858
- }
859
- function re() {
860
- if (!Dt) {
861
- nn(!0);
862
- for (const t in lt)
863
- ie(t, (e) => {
864
- const n = e.data, o = e.provider, s = n.prefix, i = U(
865
- o,
866
- s
867
- );
868
- if (!xt(i, n).length)
869
- return !1;
870
- const r = n.lastModified || -1;
871
- return i.lastModifiedCached = i.lastModifiedCached ? Math.min(i.lastModifiedCached, r) : r, !0;
872
- });
873
- }
825
+ o(), Ne(t);
874
826
  }
875
- function sn(t, e) {
876
- const n = t.lastModifiedCached;
877
- if (
878
- // Matches or newer
879
- n && n >= e
880
- )
881
- return n === e;
882
- if (t.lastModifiedCached = e, n)
883
- for (const o in lt)
884
- ie(o, (s) => {
885
- const i = s.data;
886
- return s.provider !== t.provider || i.prefix !== t.prefix || i.lastModified === e;
887
- });
888
- return !0;
827
+ function It(t, n) {
828
+ t instanceof Promise ? t.then((e) => {
829
+ n(e);
830
+ }).catch(() => {
831
+ n(null);
832
+ }) : n(t);
889
833
  }
890
- function on(t, e) {
891
- Dt || re();
892
- function n(o) {
893
- let s;
894
- if (!lt[o] || !(s = oe(o)))
834
+ function Re(t, n) {
835
+ t.iconsToLoad ? t.iconsToLoad = t.iconsToLoad.concat(n).sort() : t.iconsToLoad = n, t.iconsQueueFlag || (t.iconsQueueFlag = !0, setTimeout(() => {
836
+ t.iconsQueueFlag = !1;
837
+ const { provider: e, prefix: o } = t, s = t.iconsToLoad;
838
+ if (delete t.iconsToLoad, !s || !s.length)
895
839
  return;
896
- const i = se[o];
897
- let r;
898
- if (i.size)
899
- i.delete(r = Array.from(i).shift());
900
- else if (r = yt(s), r >= en || !vt(s, r + 1))
840
+ const i = t.loadIcon;
841
+ if (t.loadIcons && (s.length > 1 || !i)) {
842
+ It(
843
+ t.loadIcons(s, o, e),
844
+ (h) => {
845
+ K(t, s, h);
846
+ }
847
+ );
901
848
  return;
902
- const a = {
903
- cached: Math.floor(Date.now() / ne),
904
- provider: t.provider,
905
- data: e
906
- };
907
- return It(
908
- s,
909
- X + r.toString(),
910
- JSON.stringify(a)
911
- );
912
- }
913
- e.lastModified && !sn(t, e.lastModified) || Object.keys(e.icons).length && (e.not_found && (e = Object.assign({}, e), delete e.not_found), n("local") || n("session"));
914
- }
915
- function Nt() {
916
- }
917
- function rn(t) {
918
- t.iconsLoaderFlag || (t.iconsLoaderFlag = !0, setTimeout(() => {
919
- t.iconsLoaderFlag = !1, ze(t);
920
- }));
921
- }
922
- function an(t, e) {
923
- t.iconsToLoad ? t.iconsToLoad = t.iconsToLoad.concat(e).sort() : t.iconsToLoad = e, t.iconsQueueFlag || (t.iconsQueueFlag = !0, setTimeout(() => {
924
- t.iconsQueueFlag = !1;
925
- const { provider: n, prefix: o } = t, s = t.iconsToLoad;
926
- delete t.iconsToLoad;
927
- let i;
928
- if (!s || !(i = mt(n)))
849
+ }
850
+ if (i) {
851
+ s.forEach((h) => {
852
+ const g = i(h, o, e);
853
+ It(g, (m) => {
854
+ const k = m ? {
855
+ prefix: o,
856
+ icons: {
857
+ [h]: m
858
+ }
859
+ } : null;
860
+ K(t, [h], k);
861
+ });
862
+ });
929
863
  return;
930
- i.prepare(n, o, s).forEach((a) => {
931
- Ye(n, a, (l) => {
932
- if (typeof l != "object")
933
- a.icons.forEach((c) => {
934
- t.missing.add(c);
935
- });
936
- else
937
- try {
938
- const c = xt(
939
- t,
940
- l
941
- );
942
- if (!c.length)
943
- return;
944
- const h = t.pendingIcons;
945
- h && c.forEach((g) => {
946
- h.delete(g);
947
- }), on(t, l);
948
- } catch (c) {
949
- console.error(c);
950
- }
951
- rn(t);
864
+ }
865
+ const { valid: a, invalid: l } = We(s);
866
+ if (l.length && K(t, l, null), !a.length)
867
+ return;
868
+ const r = o.match(Bt) ? ht(e) : null;
869
+ if (!r) {
870
+ K(t, a, null);
871
+ return;
872
+ }
873
+ r.prepare(e, o, a).forEach((h) => {
874
+ Ee(e, h, (g) => {
875
+ K(t, h.icons, g);
952
876
  });
953
877
  });
954
878
  }));
955
879
  }
956
- const ln = (t, e) => {
957
- const n = Ge(t, !0, Zt()), o = He(n);
880
+ const qe = (t, n) => {
881
+ const e = Ae(t, !0, Rt()), o = Te(e);
958
882
  if (!o.pending.length) {
959
- let l = !0;
960
- return e && setTimeout(() => {
961
- l && e(
883
+ let r = !0;
884
+ return n && setTimeout(() => {
885
+ r && n(
962
886
  o.loaded,
963
887
  o.missing,
964
888
  o.pending,
965
- Nt
889
+ Pt
966
890
  );
967
891
  }), () => {
968
- l = !1;
892
+ r = !1;
969
893
  };
970
894
  }
971
895
  const s = /* @__PURE__ */ Object.create(null), i = [];
972
- let r, a;
973
- return o.pending.forEach((l) => {
974
- const { provider: c, prefix: h } = l;
975
- if (h === a && c === r)
896
+ let a, l;
897
+ return o.pending.forEach((r) => {
898
+ const { provider: u, prefix: h } = r;
899
+ if (h === l && u === a)
976
900
  return;
977
- r = c, a = h, i.push(U(c, h));
978
- const g = s[c] || (s[c] = /* @__PURE__ */ Object.create(null));
901
+ a = u, l = h, i.push(V(u, h));
902
+ const g = s[u] || (s[u] = /* @__PURE__ */ Object.create(null));
979
903
  g[h] || (g[h] = []);
980
- }), o.pending.forEach((l) => {
981
- const { provider: c, prefix: h, name: g } = l, m = U(c, h), w = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
982
- w.has(g) || (w.add(g), s[c][h].push(g));
983
- }), i.forEach((l) => {
984
- const { provider: c, prefix: h } = l;
985
- s[c][h].length && an(l, s[c][h]);
986
- }), e ? Ke(e, o, i) : Nt;
904
+ }), o.pending.forEach((r) => {
905
+ const { provider: u, prefix: h, name: g } = r, m = V(u, h), k = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
906
+ k.has(g) || (k.add(g), s[u][h].push(g));
907
+ }), i.forEach((r) => {
908
+ const u = s[r.provider][r.prefix];
909
+ u.length && Re(r, u);
910
+ }), n ? Me(n, o, i) : Pt;
987
911
  };
988
- function cn(t, e) {
989
- const n = {
912
+ function Ue(t, n) {
913
+ const e = {
990
914
  ...t
991
915
  };
992
- for (const o in e) {
993
- const s = e[o], i = typeof s;
994
- o in Xt ? (s === null || s && (i === "string" || i === "number")) && (n[o] = s) : i === typeof n[o] && (n[o] = o === "rotate" ? s % 4 : s);
916
+ for (const o in n) {
917
+ const s = n[o], i = typeof s;
918
+ o in qt ? (s === null || s && (i === "string" || i === "number")) && (e[o] = s) : i === typeof e[o] && (e[o] = o === "rotate" ? s % 4 : s);
995
919
  }
996
- return n;
920
+ return e;
997
921
  }
998
- const un = /[\s,]+/;
999
- function fn(t, e) {
1000
- e.split(un).forEach((n) => {
1001
- switch (n.trim()) {
922
+ const Ve = /[\s,]+/;
923
+ function He(t, n) {
924
+ n.split(Ve).forEach((e) => {
925
+ switch (e.trim()) {
1002
926
  case "horizontal":
1003
927
  t.hFlip = !0;
1004
928
  break;
@@ -1008,19 +932,19 @@ function fn(t, e) {
1008
932
  }
1009
933
  });
1010
934
  }
1011
- function dn(t, e = 0) {
1012
- const n = t.replace(/^-?[0-9.]*/, "");
935
+ function ze(t, n = 0) {
936
+ const e = t.replace(/^-?[0-9.]*/, "");
1013
937
  function o(s) {
1014
938
  for (; s < 0; )
1015
939
  s += 4;
1016
940
  return s % 4;
1017
941
  }
1018
- if (n === "") {
942
+ if (e === "") {
1019
943
  const s = parseInt(t);
1020
944
  return isNaN(s) ? 0 : o(s);
1021
- } else if (n !== t) {
945
+ } else if (e !== t) {
1022
946
  let s = 0;
1023
- switch (n) {
947
+ switch (e) {
1024
948
  case "%":
1025
949
  s = 25;
1026
950
  break;
@@ -1028,67 +952,67 @@ function dn(t, e = 0) {
1028
952
  s = 90;
1029
953
  }
1030
954
  if (s) {
1031
- let i = parseFloat(t.slice(0, t.length - n.length));
955
+ let i = parseFloat(t.slice(0, t.length - e.length));
1032
956
  return isNaN(i) ? 0 : (i = i / s, i % 1 === 0 ? o(i) : 0);
1033
957
  }
1034
958
  }
1035
- return e;
959
+ return n;
1036
960
  }
1037
- function hn(t, e) {
1038
- let n = t.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
1039
- for (const o in e)
1040
- n += " " + o + '="' + e[o] + '"';
1041
- return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + t + "</svg>";
961
+ function Qe(t, n) {
962
+ let e = t.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
963
+ for (const o in n)
964
+ e += " " + o + '="' + n[o] + '"';
965
+ return '<svg xmlns="http://www.w3.org/2000/svg"' + e + ">" + t + "</svg>";
1042
966
  }
1043
- function pn(t) {
967
+ function Ge(t) {
1044
968
  return t.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
1045
969
  }
1046
- function gn(t) {
1047
- return "data:image/svg+xml," + pn(t);
970
+ function Ke(t) {
971
+ return "data:image/svg+xml," + Ge(t);
1048
972
  }
1049
- function mn(t) {
1050
- return 'url("' + gn(t) + '")';
973
+ function Ze(t) {
974
+ return 'url("' + Ke(t) + '")';
1051
975
  }
1052
- const Wt = {
1053
- ...Jt,
976
+ const Dt = {
977
+ ...Ut,
1054
978
  inline: !1
1055
- }, _n = {
979
+ }, Xe = {
1056
980
  xmlns: "http://www.w3.org/2000/svg",
1057
981
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
1058
982
  "aria-hidden": !0,
1059
983
  role: "img"
1060
- }, vn = {
984
+ }, Ye = {
1061
985
  display: "inline-block"
1062
- }, bt = {
986
+ }, pt = {
1063
987
  backgroundColor: "currentColor"
1064
- }, ae = {
988
+ }, zt = {
1065
989
  backgroundColor: "transparent"
1066
- }, Rt = {
990
+ }, Tt = {
1067
991
  Image: "var(--svg)",
1068
992
  Repeat: "no-repeat",
1069
993
  Size: "100% 100%"
1070
- }, qt = {
1071
- webkitMask: bt,
1072
- mask: bt,
1073
- background: ae
994
+ }, Lt = {
995
+ webkitMask: pt,
996
+ mask: pt,
997
+ background: zt
1074
998
  };
1075
- for (const t in qt) {
1076
- const e = qt[t];
1077
- for (const n in Rt)
1078
- e[t + n] = Rt[n];
999
+ for (const t in Lt) {
1000
+ const n = Lt[t];
1001
+ for (const e in Tt)
1002
+ n[t + e] = Tt[e];
1079
1003
  }
1080
- const nt = {};
1004
+ const tt = {};
1081
1005
  ["horizontal", "vertical"].forEach((t) => {
1082
- const e = t.slice(0, 1) + "Flip";
1083
- nt[t + "-flip"] = e, nt[t.slice(0, 1) + "-flip"] = e, nt[t + "Flip"] = e;
1006
+ const n = t.slice(0, 1) + "Flip";
1007
+ tt[t + "-flip"] = n, tt[t.slice(0, 1) + "-flip"] = n, tt[t + "Flip"] = n;
1084
1008
  });
1085
- function Vt(t) {
1009
+ function Ft(t) {
1086
1010
  return t + (t.match(/^[-0-9.]+$/) ? "px" : "");
1087
1011
  }
1088
- const Ut = (t, e) => {
1089
- const n = cn(Wt, e), o = { ..._n }, s = e.mode || "svg", i = {}, r = e.style, a = typeof r == "object" && !(r instanceof Array) ? r : {};
1090
- for (let _ in e) {
1091
- const d = e[_];
1012
+ const Mt = (t, n) => {
1013
+ const e = Ue(Dt, n), o = { ...Xe }, s = n.mode || "svg", i = {}, a = n.style, l = typeof a == "object" && !(a instanceof Array) ? a : {};
1014
+ for (let _ in n) {
1015
+ const d = n[_];
1092
1016
  if (d !== void 0)
1093
1017
  switch (_) {
1094
1018
  // Properties to ignore
@@ -1096,16 +1020,17 @@ const Ut = (t, e) => {
1096
1020
  case "style":
1097
1021
  case "onLoad":
1098
1022
  case "mode":
1023
+ case "ssr":
1099
1024
  break;
1100
1025
  // Boolean attributes
1101
1026
  case "inline":
1102
1027
  case "hFlip":
1103
1028
  case "vFlip":
1104
- n[_] = d === !0 || d === "true" || d === 1;
1029
+ e[_] = d === !0 || d === "true" || d === 1;
1105
1030
  break;
1106
1031
  // Flip as string: 'horizontal,vertical'
1107
1032
  case "flip":
1108
- typeof d == "string" && fn(n, d);
1033
+ typeof d == "string" && He(e, d);
1109
1034
  break;
1110
1035
  // Color: override style
1111
1036
  case "color":
@@ -1113,7 +1038,7 @@ const Ut = (t, e) => {
1113
1038
  break;
1114
1039
  // Rotation as string
1115
1040
  case "rotate":
1116
- typeof d == "string" ? n[_] = dn(d) : typeof d == "number" && (n[_] = d);
1041
+ typeof d == "string" ? e[_] = ze(d) : typeof d == "number" && (e[_] = d);
1117
1042
  break;
1118
1043
  // Remove aria-hidden
1119
1044
  case "ariaHidden":
@@ -1121,71 +1046,70 @@ const Ut = (t, e) => {
1121
1046
  d !== !0 && d !== "true" && delete o["aria-hidden"];
1122
1047
  break;
1123
1048
  default: {
1124
- const L = nt[_];
1125
- L ? (d === !0 || d === "true" || d === 1) && (n[L] = !0) : Wt[_] === void 0 && (o[_] = d);
1049
+ const F = tt[_];
1050
+ F ? (d === !0 || d === "true" || d === 1) && (e[F] = !0) : Dt[_] === void 0 && (o[_] = d);
1126
1051
  }
1127
1052
  }
1128
1053
  }
1129
- const l = Me(t, n), c = l.attributes;
1130
- if (n.inline && (i.verticalAlign = "-0.125em"), s === "svg") {
1054
+ const r = me(t, e), u = r.attributes;
1055
+ if (e.inline && (i.verticalAlign = "-0.125em"), s === "svg") {
1131
1056
  o.style = {
1132
1057
  ...i,
1133
- ...a
1134
- }, Object.assign(o, c);
1135
- let _ = 0, d = e.id;
1136
- return typeof d == "string" && (d = d.replace(/-/g, "_")), o.innerHTML = je(l.body, d ? () => d + "ID" + _++ : "iconifyVue"), Tt("svg", o);
1058
+ ...l
1059
+ }, Object.assign(o, u);
1060
+ let _ = 0, d = n.id;
1061
+ return typeof d == "string" && (d = d.replace(/-/g, "_")), o.innerHTML = be(r.body, d ? () => d + "ID" + _++ : "iconifyVue"), kt("svg", o);
1137
1062
  }
1138
- const { body: h, width: g, height: m } = t, w = s === "mask" || (s === "bg" ? !1 : h.indexOf("currentColor") !== -1), P = hn(h, {
1139
- ...c,
1063
+ const { body: h, width: g, height: m } = t, k = s === "mask" || (s === "bg" ? !1 : h.indexOf("currentColor") !== -1), P = Qe(h, {
1064
+ ...u,
1140
1065
  width: g + "",
1141
1066
  height: m + ""
1142
1067
  });
1143
1068
  return o.style = {
1144
1069
  ...i,
1145
- "--svg": mn(P),
1146
- width: Vt(c.width),
1147
- height: Vt(c.height),
1148
- ...vn,
1149
- ...w ? bt : ae,
1150
- ...a
1151
- }, Tt("span", o);
1070
+ "--svg": Ze(P),
1071
+ width: Ft(u.width),
1072
+ height: Ft(u.height),
1073
+ ...Ye,
1074
+ ...k ? pt : zt,
1075
+ ...l
1076
+ }, kt("span", o);
1152
1077
  };
1153
- Zt(!0);
1154
- Ae("", Ue);
1078
+ Rt(!0);
1079
+ ke("", De);
1155
1080
  if (typeof document < "u" && typeof window < "u") {
1156
- re();
1157
1081
  const t = window;
1158
1082
  if (t.IconifyPreload !== void 0) {
1159
- const e = t.IconifyPreload, n = "Invalid IconifyPreload syntax.";
1160
- typeof e == "object" && e !== null && (e instanceof Array ? e : [e]).forEach((o) => {
1083
+ const n = t.IconifyPreload, e = "Invalid IconifyPreload syntax.";
1084
+ typeof n == "object" && n !== null && (n instanceof Array ? n : [n]).forEach((o) => {
1161
1085
  try {
1162
1086
  // Check if item is an object and not null/array
1163
1087
  (typeof o != "object" || o === null || o instanceof Array || // Check for 'icons' and 'prefix'
1164
1088
  typeof o.icons != "object" || typeof o.prefix != "string" || // Add icon set
1165
- !xe(o)) && console.error(n);
1089
+ !ce(o)) && console.error(e);
1166
1090
  } catch {
1167
- console.error(n);
1091
+ console.error(e);
1168
1092
  }
1169
1093
  });
1170
1094
  }
1171
1095
  if (t.IconifyProviders !== void 0) {
1172
- const e = t.IconifyProviders;
1173
- if (typeof e == "object" && e !== null)
1174
- for (let n in e) {
1175
- const o = "IconifyProviders[" + n + "] is invalid.";
1096
+ const n = t.IconifyProviders;
1097
+ if (typeof n == "object" && n !== null)
1098
+ for (let e in n) {
1099
+ const o = "IconifyProviders[" + e + "] is invalid.";
1176
1100
  try {
1177
- const s = e[n];
1101
+ const s = n[e];
1178
1102
  if (typeof s != "object" || !s || s.resources === void 0)
1179
1103
  continue;
1180
- Oe(n, s) || console.error(o);
1104
+ $e(e, s) || console.error(o);
1181
1105
  } catch {
1182
1106
  console.error(o);
1183
1107
  }
1184
1108
  }
1185
1109
  }
1186
1110
  }
1187
- const yn = {
1188
- ...at,
1111
+ const Je = {
1112
+ ...it,
1189
1113
  body: ""
1190
1114
  }, H = I({
1191
1115
  // Do not inherit other attributes: it is handled by render()
@@ -1214,49 +1138,53 @@ const yn = {
1214
1138
  this._loadingIcon && (this._loadingIcon.abort(), this._loadingIcon = null);
1215
1139
  },
1216
1140
  // Get data for icon to render or null
1217
- getIcon(t, e) {
1141
+ getIcon(t, n, e) {
1218
1142
  if (typeof t == "object" && t !== null && typeof t.body == "string")
1219
1143
  return this._name = "", this.abortLoading(), {
1220
1144
  data: t
1221
1145
  };
1222
- let n;
1223
- if (typeof t != "string" || (n = rt(t, !1, !0)) === null)
1146
+ let o;
1147
+ if (typeof t != "string" || (o = ot(t, !1, !0)) === null)
1224
1148
  return this.abortLoading(), null;
1225
- const o = ke(n);
1226
- if (!o)
1227
- return (!this._loadingIcon || this._loadingIcon.name !== t) && (this.abortLoading(), this._name = "", o !== null && (this._loadingIcon = {
1149
+ let s = le(o);
1150
+ if (!s)
1151
+ return (!this._loadingIcon || this._loadingIcon.name !== t) && (this.abortLoading(), this._name = "", s !== null && (this._loadingIcon = {
1228
1152
  name: t,
1229
- abort: ln([n], () => {
1153
+ abort: qe([o], () => {
1230
1154
  this.counter++;
1231
1155
  })
1232
1156
  })), null;
1233
- this.abortLoading(), this._name !== t && (this._name = t, e && e(t));
1234
- const s = ["iconify"];
1235
- return n.prefix !== "" && s.push("iconify--" + n.prefix), n.provider !== "" && s.push("iconify--" + n.provider), { data: o, classes: s };
1157
+ if (this.abortLoading(), this._name !== t && (this._name = t, n && n(t)), e) {
1158
+ s = Object.assign({}, s);
1159
+ const a = e(s.body, o.name, o.prefix, o.provider);
1160
+ typeof a == "string" && (s.body = a);
1161
+ }
1162
+ const i = ["iconify"];
1163
+ return o.prefix !== "" && i.push("iconify--" + o.prefix), o.provider !== "" && i.push("iconify--" + o.provider), { data: s, classes: i };
1236
1164
  }
1237
1165
  },
1238
1166
  // Render icon
1239
1167
  render() {
1240
1168
  this.counter;
1241
- const t = this.$attrs, e = this.iconMounted || t.ssr ? this.getIcon(t.icon, t.onLoad) : null;
1242
- if (!e)
1243
- return Ut(yn, t);
1244
- let n = t;
1245
- return e.classes && (n = {
1169
+ const t = this.$attrs, n = this.iconMounted || t.ssr ? this.getIcon(t.icon, t.onLoad, t.customise) : null;
1170
+ if (!n)
1171
+ return Mt(Je, t);
1172
+ let e = t;
1173
+ return n.classes && (e = {
1246
1174
  ...t,
1247
- class: (typeof t.class == "string" ? t.class + " " : "") + e.classes.join(" ")
1248
- }), Ut({
1249
- ...at,
1250
- ...e.data
1251
- }, n);
1175
+ class: (typeof t.class == "string" ? t.class + " " : "") + n.classes.join(" ")
1176
+ }), Mt({
1177
+ ...it,
1178
+ ...n.data
1179
+ }, e);
1252
1180
  }
1253
1181
  });
1254
- function bn(t, e) {
1255
- return e === 1 ? t : `${t}/${e}`;
1182
+ function tn(t, n) {
1183
+ return n === 1 ? t : `${t}/${n}`;
1256
1184
  }
1257
- const wn = () => ({
1258
- getLinkToPaginatedPage: bn
1259
- }), kn = { class: "d-shape" }, Sn = {
1185
+ const en = () => ({
1186
+ getLinkToPaginatedPage: tn
1187
+ }), nn = { class: "d-shape" }, sn = {
1260
1188
  key: 0,
1261
1189
  class: "d-shape__bg-wrapper"
1262
1190
  }, j = /* @__PURE__ */ I({
@@ -1270,58 +1198,58 @@ const wn = () => ({
1270
1198
  tag: {}
1271
1199
  },
1272
1200
  setup(t) {
1273
- const e = t, n = wt();
1274
- function o(a) {
1275
- return a ? typeof a == "string" ? !a.trim() : Object.keys(a).length === 0 : !0;
1201
+ const n = t, e = gt();
1202
+ function o(l) {
1203
+ return l ? typeof l == "string" ? !l.trim() : Object.keys(l).length === 0 : !0;
1276
1204
  }
1277
- function s(a) {
1278
- return typeof a == "string" ? !a.trim() : Array.isArray(a) ? a.length === 0 : a === null || a === void 0 ? !0 : Object.keys(a).length === 0;
1205
+ function s(l) {
1206
+ return typeof l == "string" ? !l.trim() : Array.isArray(l) ? l.length === 0 : l === null || l === void 0 ? !0 : Object.keys(l).length === 0;
1279
1207
  }
1280
- const i = T(() => n["shape-content"] || !o(e.shapeClass) ? !0 : !s(e.shapeStyle)), r = T(() => o(e.filterClass) ? !s(e.filterStyle) : !0);
1281
- return (a, l) => (f(), C(z(a.tag ?? "div"), null, {
1208
+ const i = T(() => e["shape-content"] || !o(n.shapeClass) ? !0 : !s(n.shapeStyle)), a = T(() => o(n.filterClass) ? !s(n.filterStyle) : !0);
1209
+ return (l, r) => (f(), C(z(l.tag ?? "div"), null, {
1282
1210
  default: b(() => [
1283
- u("div", kn, [
1284
- i.value || n["bg-overlay"] || r.value ? (f(), p("div", {
1211
+ c("div", nn, [
1212
+ i.value || e["bg-overlay"] || a.value ? (f(), p("div", {
1285
1213
  key: 0,
1286
- class: M(["d-shape__bg-filter", a.filterClass]),
1287
- style: N(a.filterStyle)
1214
+ class: L(["d-shape__bg-filter", l.filterClass]),
1215
+ style: N(l.filterStyle)
1288
1216
  }, [
1289
- i.value || n["bg-overlay"] ? (f(), p("div", Sn, [
1217
+ i.value || e["bg-overlay"] ? (f(), p("div", sn, [
1290
1218
  i.value ? (f(), p("div", {
1291
1219
  key: 0,
1292
- class: M(["d-shape__bg", a.shapeClass]),
1293
- style: N(a.shapeStyle)
1220
+ class: L(["d-shape__bg", l.shapeClass]),
1221
+ style: N(l.shapeStyle)
1294
1222
  }, [
1295
- $(a.$slots, "shape-content")
1296
- ], 6)) : x("", !0),
1297
- $(a.$slots, "bg-overlay")
1298
- ])) : x("", !0)
1299
- ], 6)) : x("", !0),
1300
- $(a.$slots, "default")
1223
+ S(l.$slots, "shape-content")
1224
+ ], 6)) : w("", !0),
1225
+ S(l.$slots, "bg-overlay")
1226
+ ])) : w("", !0)
1227
+ ], 6)) : w("", !0),
1228
+ S(l.$slots, "default")
1301
1229
  ])
1302
1230
  ]),
1303
1231
  _: 3
1304
1232
  }));
1305
1233
  }
1306
- }), xn = {
1234
+ }), on = {
1307
1235
  key: 0,
1308
1236
  class: "d-focus-hl__hl--negative-tile"
1309
- }, $n = {
1237
+ }, an = {
1310
1238
  key: 2,
1311
1239
  class: "d-focus-hl__hl--negative-list-item"
1312
- }, Cn = {
1240
+ }, ln = {
1313
1241
  key: 4,
1314
1242
  class: "d-focus-hl__hl--negative-tile"
1315
- }, Pn = {
1243
+ }, rn = {
1316
1244
  key: 5,
1317
1245
  class: "d-focus-hl__hl--negative-list-item"
1318
- }, In = {
1246
+ }, cn = {
1319
1247
  name: "DWrapFocusHighlight",
1320
1248
  components: {
1321
1249
  DWrapShape: j
1322
1250
  }
1323
- }, ot = /* @__PURE__ */ I({
1324
- ...In,
1251
+ }, nt = /* @__PURE__ */ I({
1252
+ ...cn,
1325
1253
  props: {
1326
1254
  /**
1327
1255
  * If true, the highlight will be shown only if the link is exact string a URL.
@@ -1349,10 +1277,10 @@ const wn = () => ({
1349
1277
  }
1350
1278
  },
1351
1279
  setup(t) {
1352
- const e = t, n = T(() => e.to || e.href ? resolveComponent("NuxtLink") : e.tag);
1280
+ const n = t, e = T(() => n.to || n.href ? resolveComponent("NuxtLink") : n.tag);
1353
1281
  return (o, s) => (f(), C(j, null, {
1354
1282
  default: b(() => [
1355
- (f(), C(z(n.value), it(e, {
1283
+ (f(), C(z(e.value), st(n, {
1356
1284
  class: ["d-focus-hl d-focusable", {
1357
1285
  "d-focus-hl--exact": t.linkExact,
1358
1286
  "d-focus-hl--not-exact": !t.linkExact,
@@ -1361,15 +1289,15 @@ const wn = () => ({
1361
1289
  }]
1362
1290
  }), {
1363
1291
  default: b(() => [
1364
- t.variant === "negative-tile" ? (f(), p("div", xn)) : t.variant === "tile" || t.variant === "composite-tile" ? (f(), p("div", {
1292
+ t.variant === "negative-tile" ? (f(), p("div", on)) : t.variant === "tile" || t.variant === "composite-tile" ? (f(), p("div", {
1365
1293
  key: 1,
1366
- class: M(["d-focus-hl__hl--tile", t.colorClass])
1367
- }, null, 2)) : t.variant === "negative-list-item" ? (f(), p("div", $n)) : t.variant === "list-item" || t.variant === "composite-list-item" ? (f(), p("div", {
1294
+ class: L(["d-focus-hl__hl--tile", t.colorClass])
1295
+ }, null, 2)) : t.variant === "negative-list-item" ? (f(), p("div", an)) : t.variant === "list-item" || t.variant === "composite-list-item" ? (f(), p("div", {
1368
1296
  key: 3,
1369
- class: M(["d-focus-hl__hl--list-item", t.colorClass])
1370
- }, null, 2)) : x("", !0),
1371
- $(o.$slots, "default"),
1372
- t.variant === "composite-tile" ? (f(), p("div", Cn)) : t.variant === "composite-list-item" ? (f(), p("div", Pn)) : x("", !0)
1297
+ class: L(["d-focus-hl__hl--list-item", t.colorClass])
1298
+ }, null, 2)) : w("", !0),
1299
+ S(o.$slots, "default"),
1300
+ t.variant === "composite-tile" ? (f(), p("div", ln)) : t.variant === "composite-list-item" ? (f(), p("div", rn)) : w("", !0)
1373
1301
  ]),
1374
1302
  _: 3
1375
1303
  }, 16, ["class"]))
@@ -1378,8 +1306,8 @@ const wn = () => ({
1378
1306
  }));
1379
1307
  }
1380
1308
  });
1381
- function le(t) {
1382
- const e = z("RouterLink"), n = (
1309
+ function Qt(t) {
1310
+ const n = z("RouterLink"), e = (
1383
1311
  // @ts-ignore
1384
1312
  typeof defineNuxtLink == "function" ? (
1385
1313
  // @ts-ignore
@@ -1389,22 +1317,27 @@ function le(t) {
1389
1317
  ) : void 0
1390
1318
  ), o = T(() => !!(t.href || t.to)), s = T(() => {
1391
1319
  if (!t.href) return !1;
1392
- const r = t.href;
1393
- return r.startsWith("http") || r.startsWith("mailto:") || r.startsWith("tel:") || r.startsWith("#");
1320
+ const a = t.href;
1321
+ return a.startsWith("http") || a.startsWith("mailto:") || a.startsWith("tel:") || a.startsWith("#");
1394
1322
  }), i = T(() => {
1395
- const r = { ...t };
1396
- return t.href && t.to ? delete r.href : t.href ? delete r.to : t.to && delete r.href, r;
1323
+ const a = { ...t };
1324
+ return t.href && t.to ? delete a.href : t.href ? delete a.to : t.to && delete a.href, a;
1397
1325
  });
1398
- return o.value ? typeof n < "u" ? {
1326
+ return o.value ? s.value ? {
1399
1327
  isLink: o,
1400
1328
  isExternalLink: s,
1401
- linkComponent: n,
1329
+ linkComponent: "a",
1402
1330
  propsToProvide: i
1403
- } : typeof e != "string" ? {
1331
+ } : typeof e < "u" ? {
1404
1332
  isLink: o,
1405
1333
  isExternalLink: s,
1406
1334
  linkComponent: e,
1407
1335
  propsToProvide: i
1336
+ } : typeof n != "string" ? {
1337
+ isLink: o,
1338
+ isExternalLink: s,
1339
+ linkComponent: n,
1340
+ propsToProvide: i
1408
1341
  } : {
1409
1342
  isLink: o,
1410
1343
  isExternalLink: s,
@@ -1417,13 +1350,13 @@ function le(t) {
1417
1350
  propsToProvide: i
1418
1351
  };
1419
1352
  }
1420
- const Dn = {
1353
+ const un = {
1421
1354
  name: "DBtn",
1422
1355
  components: {
1423
- DWrapFocusHighlight: ot
1356
+ DWrapFocusHighlight: nt
1424
1357
  }
1425
1358
  }, R = /* @__PURE__ */ I({
1426
- ...Dn,
1359
+ ...un,
1427
1360
  props: {
1428
1361
  to: {
1429
1362
  type: [String, Object],
@@ -1464,13 +1397,13 @@ const Dn = {
1464
1397
  }
1465
1398
  },
1466
1399
  setup(t) {
1467
- const e = t, {
1468
- linkComponent: n,
1400
+ const n = t, {
1401
+ linkComponent: e,
1469
1402
  isLink: o,
1470
1403
  isExternalLink: s,
1471
1404
  propsToProvide: i
1472
- } = le(e);
1473
- return (r, a) => (f(), C(z(W(n)), it({
1405
+ } = Qt(n);
1406
+ return (a, l) => (f(), C(z(W(e)), st({
1474
1407
  class: ["d-btn d-focusable", {
1475
1408
  "d-btn--rotated": !t.noRotate,
1476
1409
  "d-btn--uppercase": t.textTransform === "uppercase",
@@ -1479,7 +1412,7 @@ const Dn = {
1479
1412
  }]
1480
1413
  }, W(i)), {
1481
1414
  default: b(() => [
1482
- B(ot, {
1415
+ A(nt, {
1483
1416
  variant: t.highlight,
1484
1417
  "link-exact": t.exact,
1485
1418
  "no-passive-link": t.noPassiveHighlight || !W(o) || W(s),
@@ -1487,7 +1420,7 @@ const Dn = {
1487
1420
  active: t.active
1488
1421
  }, {
1489
1422
  default: b(() => [
1490
- $(r.$slots, "default")
1423
+ S(a.$slots, "default")
1491
1424
  ]),
1492
1425
  _: 3
1493
1426
  }, 8, ["variant", "link-exact", "no-passive-link", "color-class", "active"])
@@ -1495,20 +1428,20 @@ const Dn = {
1495
1428
  _: 3
1496
1429
  }, 16, ["class"]));
1497
1430
  }
1498
- }), Tn = { class: "w-fit text-2xl font-bold" }, Mn = {
1431
+ }), fn = { class: "w-fit text-2xl font-bold" }, dn = {
1499
1432
  key: 2,
1500
1433
  class: "mx-1"
1501
- }, Ln = {
1434
+ }, hn = {
1502
1435
  key: 3,
1503
1436
  class: "mx-1"
1504
- }, Fn = {
1437
+ }, pn = {
1505
1438
  name: "DPagination",
1506
1439
  components: {
1507
1440
  DBtn: R,
1508
1441
  Icon: H
1509
1442
  }
1510
- }, io = /* @__PURE__ */ I({
1511
- ...Fn,
1443
+ }, Ws = /* @__PURE__ */ I({
1444
+ ...pn,
1512
1445
  props: {
1513
1446
  currentPage: {
1514
1447
  type: Number,
@@ -1524,14 +1457,14 @@ const Dn = {
1524
1457
  }
1525
1458
  },
1526
1459
  setup(t) {
1527
- const e = t, { getLinkToPaginatedPage: n } = wn();
1460
+ const n = t, { getLinkToPaginatedPage: e } = en();
1528
1461
  function o(i) {
1529
- return n(e.baseLink, i);
1462
+ return e(n.baseLink, i);
1530
1463
  }
1531
- const s = T(() => Array.from({ length: 7 }, (i, r) => r - 3 + e.currentPage).filter(
1532
- (i) => i >= 1 && i <= e.allPages
1464
+ const s = T(() => Array.from({ length: 7 }, (i, a) => a - 3 + n.currentPage).filter(
1465
+ (i) => i >= 1 && i <= n.allPages
1533
1466
  ));
1534
- return (i, r) => (f(), p("nav", Tn, [
1467
+ return (i, a) => (f(), p("nav", fn, [
1535
1468
  t.currentPage > 1 ? (f(), C(R, {
1536
1469
  key: 0,
1537
1470
  class: "inline-block mx-1",
@@ -1539,42 +1472,42 @@ const Dn = {
1539
1472
  "aria-label": "Previous page"
1540
1473
  }, {
1541
1474
  default: b(() => [
1542
- B(W(H), { icon: "ic:baseline-arrow-back-ios" })
1475
+ A(W(H), { icon: "ic:baseline-arrow-back-ios" })
1543
1476
  ]),
1544
1477
  _: 1
1545
- }, 8, ["to"])) : x("", !0),
1546
- s.value.includes(1) ? x("", !0) : (f(), C(R, {
1478
+ }, 8, ["to"])) : w("", !0),
1479
+ s.value.includes(1) ? w("", !0) : (f(), C(R, {
1547
1480
  key: 1,
1548
1481
  class: "inline-block mx-1",
1549
1482
  to: o(1),
1550
1483
  "aria-label": "First page"
1551
1484
  }, {
1552
- default: b(() => r[0] || (r[0] = [
1553
- A(" 1 ")
1485
+ default: b(() => a[0] || (a[0] = [
1486
+ B(" 1 ")
1554
1487
  ])),
1555
1488
  _: 1
1556
1489
  }, 8, ["to"])),
1557
- s.value.includes(1) ? x("", !0) : (f(), p("span", Mn, " ... ")),
1558
- (f(!0), p(O, null, E(s.value, (a) => (f(), C(R, {
1559
- key: a,
1490
+ s.value.includes(1) ? w("", !0) : (f(), p("span", dn, " ... ")),
1491
+ (f(!0), p(O, null, E(s.value, (l) => (f(), C(R, {
1492
+ key: l,
1560
1493
  class: "inline-block mx-1",
1561
- to: o(a),
1562
- "aria-label": `Page ${a}`
1494
+ to: o(l),
1495
+ "aria-label": `Page ${l}`
1563
1496
  }, {
1564
1497
  default: b(() => [
1565
- A(S(a), 1)
1498
+ B(x(l), 1)
1566
1499
  ]),
1567
1500
  _: 2
1568
1501
  }, 1032, ["to", "aria-label"]))), 128)),
1569
- s.value.includes(t.allPages) ? x("", !0) : (f(), p("span", Ln, " ... ")),
1570
- s.value.includes(t.allPages) ? x("", !0) : (f(), C(R, {
1502
+ s.value.includes(t.allPages) ? w("", !0) : (f(), p("span", hn, " ... ")),
1503
+ s.value.includes(t.allPages) ? w("", !0) : (f(), C(R, {
1571
1504
  key: 4,
1572
1505
  class: "inline-block mx-1",
1573
1506
  to: o(t.allPages),
1574
1507
  "aria-label": `Last page (${t.allPages})`
1575
1508
  }, {
1576
1509
  default: b(() => [
1577
- A(S(t.allPages), 1)
1510
+ B(x(t.allPages), 1)
1578
1511
  ]),
1579
1512
  _: 1
1580
1513
  }, 8, ["to", "aria-label"])),
@@ -1585,37 +1518,37 @@ const Dn = {
1585
1518
  "aria-label": "Next page"
1586
1519
  }, {
1587
1520
  default: b(() => [
1588
- B(W(H), { icon: "ic:baseline-arrow-forward-ios" })
1521
+ A(W(H), { icon: "ic:baseline-arrow-forward-ios" })
1589
1522
  ]),
1590
1523
  _: 1
1591
- }, 8, ["to"])) : x("", !0)
1524
+ }, 8, ["to"])) : w("", !0)
1592
1525
  ]));
1593
1526
  }
1594
- }), Bn = { class: "max-w-full" }, jn = { class: "stats__print-value" }, An = { class: "stats__print-value__group-title" }, On = { class: "stats__print-value--small" }, En = { class: "stats" }, Nn = {
1527
+ }), gn = { class: "max-w-full" }, mn = { class: "stats__print-value" }, _n = { class: "stats__print-value__group-title" }, vn = { class: "stats__print-value--small" }, yn = { class: "stats" }, bn = {
1595
1528
  viewBox: "-500 -500 2000 2000",
1596
1529
  xmlns: "http://www.w3.org/2000/svg"
1597
- }, Wn = ["points"], Rn = ["points"], qn = { class: "stats__single-stat" }, Vn = ["points"], Un = ["points"], Hn = { class: "stats__single-stat" }, zn = ["points"], Qn = ["points"], Kn = { class: "stats__single-stat" }, Gn = ["points"], Zn = ["points"], Xn = { class: "stats__single-stat" }, Jn = ["points"], Yn = ["points"], ts = { class: "stats__single-stat" }, es = ["points"], ns = ["points"], ss = { class: "stats__images" }, os = { class: "stats__image" }, is = { class: "stats__image" }, rs = { class: "stats__image" }, as = { class: "stats__image" }, ls = { class: "stats__image" }, cs = {
1530
+ }, kn = ["points"], $n = ["points"], xn = { class: "stats__single-stat" }, wn = ["points"], Sn = ["points"], Cn = { class: "stats__single-stat" }, Pn = ["points"], In = ["points"], Dn = { class: "stats__single-stat" }, Tn = ["points"], Ln = ["points"], Fn = { class: "stats__single-stat" }, Mn = ["points"], An = ["points"], jn = { class: "stats__single-stat" }, Bn = ["points"], On = ["points"], En = { class: "stats__images" }, Nn = { class: "stats__image" }, Wn = { class: "stats__image" }, Rn = { class: "stats__image" }, qn = { class: "stats__image" }, Un = { class: "stats__image" }, Vn = {
1598
1531
  viewBox: "-500 -500 2000 2000",
1599
1532
  xmlns: "http://www.w3.org/2000/svg",
1600
1533
  class: "stats_titles-layer"
1601
- }, us = {
1534
+ }, Hn = {
1602
1535
  x: "-500",
1603
1536
  y: "-300",
1604
1537
  class: "stats__group-title"
1605
- }, fs = ["x", "y", "transform-origin"], ds = { class: "stats__title__value" }, hs = ["x", "y", "transform-origin"], ps = { class: "stats__title__value" }, gs = ["x", "y", "transform-origin"], ms = { class: "stats__title__value" }, _s = ["x", "y", "transform-origin"], vs = { class: "stats__title__value" }, ys = ["x", "y", "transform-origin"], bs = { class: "stats__title__value" }, ws = {
1538
+ }, zn = ["x", "y", "transform-origin"], Qn = { class: "stats__title__value" }, Gn = ["x", "y", "transform-origin"], Kn = { class: "stats__title__value" }, Zn = ["x", "y", "transform-origin"], Xn = { class: "stats__title__value" }, Yn = ["x", "y", "transform-origin"], Jn = { class: "stats__title__value" }, ts = ["x", "y", "transform-origin"], es = { class: "stats__title__value" }, ns = {
1606
1539
  name: "DStats",
1607
1540
  components: {
1608
1541
  Icon: H
1609
1542
  }
1610
- }, ro = /* @__PURE__ */ I({
1611
- ...ws,
1543
+ }, Rs = /* @__PURE__ */ I({
1544
+ ...ns,
1612
1545
  props: {
1613
1546
  groupTitle: {},
1614
1547
  titles: {},
1615
1548
  values: {}
1616
1549
  },
1617
1550
  setup(t) {
1618
- const e = t, n = ht([
1551
+ const n = t, e = ut([
1619
1552
  [500, 0],
1620
1553
  // 1
1621
1554
  [630, 330],
@@ -1636,7 +1569,7 @@ const Dn = {
1636
1569
  // 5
1637
1570
  [370, 330]
1638
1571
  // 5-1
1639
- ]), o = ht([1, 0.8, 0.6, 0.4, 0.27]), s = {
1572
+ ]), o = ut([1, 0.8, 0.6, 0.4, 0.27]), s = {
1640
1573
  1: 0,
1641
1574
  "1-2": 1,
1642
1575
  2: 2,
@@ -1648,257 +1581,257 @@ const Dn = {
1648
1581
  5: 8,
1649
1582
  "5-1": 9
1650
1583
  }, i = [500, 500];
1651
- function r(d) {
1652
- return d.map((L) => L.join(",")).join(" ");
1584
+ function a(d) {
1585
+ return d.map((F) => F.join(",")).join(" ");
1653
1586
  }
1654
- function a(d, L, D = 500, v = 500) {
1655
- return d.map((k) => [
1656
- k[0] - (k[0] - D) * (1 - L),
1657
- k[1] - (k[1] - v) * (1 - L)
1587
+ function l(d, F, D = 500, v = 500) {
1588
+ return d.map(($) => [
1589
+ $[0] - ($[0] - D) * (1 - F),
1590
+ $[1] - ($[1] - v) * (1 - F)
1658
1591
  ]);
1659
1592
  }
1660
- const l = T(() => o.value.map((d) => a(n.value, d)));
1661
- function c(d) {
1662
- return l.value[5 - d];
1593
+ const r = T(() => o.value.map((d) => l(e.value, d)));
1594
+ function u(d) {
1595
+ return r.value[5 - d];
1663
1596
  }
1664
1597
  function h(d) {
1665
1598
  return {
1666
- value: e.values ? e.values[d] ?? 1 : 1,
1667
- title: e.titles ? e.titles[d] ?? "" : ""
1599
+ value: n.values ? n.values[d] ?? 1 : 1,
1600
+ title: n.titles ? n.titles[d] ?? "" : ""
1668
1601
  };
1669
1602
  }
1670
- const g = T(() => h(0)), m = T(() => h(1)), w = T(() => h(2)), P = T(() => h(3)), _ = T(() => h(4));
1671
- return (d, L) => (f(), p("figure", Bn, [
1672
- u("div", jn, [
1673
- u("div", An, S(d.groupTitle), 1),
1674
- u("div", null, [
1603
+ const g = T(() => h(0)), m = T(() => h(1)), k = T(() => h(2)), P = T(() => h(3)), _ = T(() => h(4));
1604
+ return (d, F) => (f(), p("figure", gn, [
1605
+ c("div", mn, [
1606
+ c("div", _n, x(d.groupTitle), 1),
1607
+ c("div", null, [
1675
1608
  (f(!0), p(O, null, E(d.titles, (D, v) => (f(), p("div", {
1676
1609
  key: D,
1677
1610
  class: "stats__print-value__skill"
1678
1611
  }, [
1679
- u("div", null, S(D), 1),
1680
- u("div", null, [
1681
- (f(!0), p(O, null, E(d.values[v], (k) => (f(), C(W(H), {
1682
- key: k,
1612
+ c("div", null, x(D), 1),
1613
+ c("div", null, [
1614
+ (f(!0), p(O, null, E(d.values[v], ($) => (f(), C(W(H), {
1615
+ key: $,
1683
1616
  icon: "ic:sharp-star"
1684
1617
  }))), 128)),
1685
- (f(!0), p(O, null, E(5 - d.values[v], (k) => (f(), C(W(H), {
1686
- key: k,
1618
+ (f(!0), p(O, null, E(5 - d.values[v], ($) => (f(), C(W(H), {
1619
+ key: $,
1687
1620
  icon: "ic:sharp-star-border"
1688
1621
  }))), 128))
1689
1622
  ])
1690
1623
  ]))), 128))
1691
1624
  ])
1692
1625
  ]),
1693
- u("div", On, [
1626
+ c("div", vn, [
1694
1627
  (f(!0), p(O, null, E(d.titles, (D, v) => (f(), p("span", {
1695
1628
  key: D,
1696
- class: M(["stats__print-value--small__skill", {
1629
+ class: L(["stats__print-value--small__skill", {
1697
1630
  "stats__print-value--small__skill--hidden": d.values[v] < 3,
1698
1631
  "stats__print-value--small__skill--3": d.values[v] === 3,
1699
1632
  "stats__print-value--small__skill--4": d.values[v] === 4,
1700
1633
  "stats__print-value--small__skill--5": d.values[v] === 5
1701
1634
  }])
1702
- }, S(D), 3))), 128))
1635
+ }, x(D), 3))), 128))
1703
1636
  ]),
1704
- u("div", En, [
1705
- (f(), p("svg", Nn, [
1706
- L[0] || (L[0] = u("polygon", {
1637
+ c("div", yn, [
1638
+ (f(), p("svg", bn, [
1639
+ F[0] || (F[0] = c("polygon", {
1707
1640
  points: "100,-350 1500,-500 1000,1350 -500,1500",
1708
1641
  class: "stats__bg"
1709
1642
  }, null, -1)),
1710
- u("polygon", {
1711
- points: r(a(n.value, 2)),
1643
+ c("polygon", {
1644
+ points: a(l(e.value, 2)),
1712
1645
  class: "stats__bg-star--odd"
1713
- }, null, 8, Wn),
1714
- u("g", null, [
1715
- (f(!0), p(O, null, E(l.value, (D, v) => (f(), p("polygon", {
1646
+ }, null, 8, kn),
1647
+ c("g", null, [
1648
+ (f(!0), p(O, null, E(r.value, (D, v) => (f(), p("polygon", {
1716
1649
  key: v,
1717
- points: r(D),
1718
- class: M({
1650
+ points: a(D),
1651
+ class: L({
1719
1652
  "stats__bg-star--odd": v % 2,
1720
1653
  "stats__bg-star--even": !(v % 2)
1721
1654
  })
1722
- }, null, 10, Rn))), 128))
1655
+ }, null, 10, $n))), 128))
1723
1656
  ]),
1724
- u("g", null, [
1725
- u("g", qn, [
1726
- u("polygon", {
1727
- points: r([
1728
- c(g.value.value)[s[1]],
1729
- c(Math.min(g.value.value, _.value.value))[s["5-1"]],
1657
+ c("g", null, [
1658
+ c("g", xn, [
1659
+ c("polygon", {
1660
+ points: a([
1661
+ u(g.value.value)[s[1]],
1662
+ u(Math.min(g.value.value, _.value.value))[s["5-1"]],
1730
1663
  i
1731
1664
  ]),
1732
1665
  class: "stats__star--dark"
1733
- }, null, 8, Vn),
1734
- u("polygon", {
1735
- points: r([
1736
- c(g.value.value)[s[1]],
1737
- c(Math.min(g.value.value, m.value.value))[s["1-2"]],
1666
+ }, null, 8, wn),
1667
+ c("polygon", {
1668
+ points: a([
1669
+ u(g.value.value)[s[1]],
1670
+ u(Math.min(g.value.value, m.value.value))[s["1-2"]],
1738
1671
  i
1739
1672
  ]),
1740
1673
  class: "stats__star--light"
1741
- }, null, 8, Un)
1674
+ }, null, 8, Sn)
1742
1675
  ]),
1743
- u("g", Hn, [
1744
- u("polygon", {
1745
- points: r([
1746
- c(m.value.value)[s[2]],
1747
- c(Math.min(g.value.value, m.value.value))[s["1-2"]],
1676
+ c("g", Cn, [
1677
+ c("polygon", {
1678
+ points: a([
1679
+ u(m.value.value)[s[2]],
1680
+ u(Math.min(g.value.value, m.value.value))[s["1-2"]],
1748
1681
  i
1749
1682
  ]),
1750
1683
  class: "stats__star--light"
1751
- }, null, 8, zn),
1752
- u("polygon", {
1753
- points: r([
1754
- c(m.value.value)[s[2]],
1755
- c(Math.min(w.value.value, m.value.value))[s["2-3"]],
1684
+ }, null, 8, Pn),
1685
+ c("polygon", {
1686
+ points: a([
1687
+ u(m.value.value)[s[2]],
1688
+ u(Math.min(k.value.value, m.value.value))[s["2-3"]],
1756
1689
  i
1757
1690
  ]),
1758
1691
  class: "stats__star--dark"
1759
- }, null, 8, Qn)
1692
+ }, null, 8, In)
1760
1693
  ]),
1761
- u("g", Kn, [
1762
- u("polygon", {
1763
- points: r([
1764
- c(w.value.value)[s[3]],
1765
- c(Math.min(m.value.value, w.value.value))[s["2-3"]],
1694
+ c("g", Dn, [
1695
+ c("polygon", {
1696
+ points: a([
1697
+ u(k.value.value)[s[3]],
1698
+ u(Math.min(m.value.value, k.value.value))[s["2-3"]],
1766
1699
  i
1767
1700
  ]),
1768
1701
  class: "stats__star--light"
1769
- }, null, 8, Gn),
1770
- u("polygon", {
1771
- points: r([
1772
- c(w.value.value)[s[3]],
1773
- c(Math.min(w.value.value, P.value.value))[s["3-4"]],
1702
+ }, null, 8, Tn),
1703
+ c("polygon", {
1704
+ points: a([
1705
+ u(k.value.value)[s[3]],
1706
+ u(Math.min(k.value.value, P.value.value))[s["3-4"]],
1774
1707
  i
1775
1708
  ]),
1776
1709
  class: "stats__star--dark"
1777
- }, null, 8, Zn)
1710
+ }, null, 8, Ln)
1778
1711
  ]),
1779
- u("g", Xn, [
1780
- u("polygon", {
1781
- points: r([
1782
- c(P.value.value)[s[4]],
1783
- c(Math.min(w.value.value, P.value.value))[s["3-4"]],
1712
+ c("g", Fn, [
1713
+ c("polygon", {
1714
+ points: a([
1715
+ u(P.value.value)[s[4]],
1716
+ u(Math.min(k.value.value, P.value.value))[s["3-4"]],
1784
1717
  i
1785
1718
  ]),
1786
1719
  class: "stats__star--light"
1787
- }, null, 8, Jn),
1788
- u("polygon", {
1789
- points: r([
1790
- c(P.value.value)[s[4]],
1791
- c(Math.min(P.value.value, _.value.value))[s["4-5"]],
1720
+ }, null, 8, Mn),
1721
+ c("polygon", {
1722
+ points: a([
1723
+ u(P.value.value)[s[4]],
1724
+ u(Math.min(P.value.value, _.value.value))[s["4-5"]],
1792
1725
  i
1793
1726
  ]),
1794
1727
  class: "stats__star--dark"
1795
- }, null, 8, Yn)
1728
+ }, null, 8, An)
1796
1729
  ]),
1797
- u("g", ts, [
1798
- u("polygon", {
1799
- points: r([
1800
- c(_.value.value)[s[5]],
1801
- c(Math.min(P.value.value, _.value.value))[s["4-5"]],
1730
+ c("g", jn, [
1731
+ c("polygon", {
1732
+ points: a([
1733
+ u(_.value.value)[s[5]],
1734
+ u(Math.min(P.value.value, _.value.value))[s["4-5"]],
1802
1735
  i
1803
1736
  ]),
1804
1737
  class: "stats__star--dark"
1805
- }, null, 8, es),
1806
- u("polygon", {
1807
- points: r([
1808
- c(_.value.value)[s[5]],
1809
- c(Math.min(_.value.value, g.value.value))[s["5-1"]],
1738
+ }, null, 8, Bn),
1739
+ c("polygon", {
1740
+ points: a([
1741
+ u(_.value.value)[s[5]],
1742
+ u(Math.min(_.value.value, g.value.value))[s["5-1"]],
1810
1743
  i
1811
1744
  ]),
1812
1745
  class: "stats__star--light"
1813
- }, null, 8, ns)
1746
+ }, null, 8, On)
1814
1747
  ])
1815
1748
  ])
1816
1749
  ])),
1817
- u("div", ss, [
1818
- u("div", os, [
1819
- $(d.$slots, "icon-1")
1750
+ c("div", En, [
1751
+ c("div", Nn, [
1752
+ S(d.$slots, "icon-1")
1820
1753
  ]),
1821
- u("div", is, [
1822
- $(d.$slots, "icon-2")
1754
+ c("div", Wn, [
1755
+ S(d.$slots, "icon-2")
1823
1756
  ]),
1824
- u("div", rs, [
1825
- $(d.$slots, "icon-3")
1757
+ c("div", Rn, [
1758
+ S(d.$slots, "icon-3")
1826
1759
  ]),
1827
- u("div", as, [
1828
- $(d.$slots, "icon-4")
1760
+ c("div", qn, [
1761
+ S(d.$slots, "icon-4")
1829
1762
  ]),
1830
- u("div", ls, [
1831
- $(d.$slots, "icon-5")
1763
+ c("div", Un, [
1764
+ S(d.$slots, "icon-5")
1832
1765
  ])
1833
1766
  ]),
1834
- (f(), p("svg", cs, [
1835
- u("text", us, S(d.groupTitle), 1),
1836
- u("g", null, [
1837
- u("text", {
1838
- x: n.value[s[1]][0],
1839
- y: n.value[s[1]][1] - 100,
1840
- "transform-origin": `${n.value[s[1]][0]} ${n.value[s[1]][1] - 100}`,
1767
+ (f(), p("svg", Vn, [
1768
+ c("text", Hn, x(d.groupTitle), 1),
1769
+ c("g", null, [
1770
+ c("text", {
1771
+ x: e.value[s[1]][0],
1772
+ y: e.value[s[1]][1] - 100,
1773
+ "transform-origin": `${e.value[s[1]][0]} ${e.value[s[1]][1] - 100}`,
1841
1774
  class: "stats__title"
1842
1775
  }, [
1843
- A(S(g.value.title) + " ", 1),
1844
- u("tspan", ds, S(g.value.value), 1)
1845
- ], 8, fs),
1846
- u("text", {
1847
- x: n.value[s[2]][0] + 100,
1848
- y: n.value[s[2]][1] - 100,
1849
- "transform-origin": `${n.value[s[2]][0] + 100} ${n.value[s[2]][1] - 100}`,
1776
+ B(x(g.value.title) + " ", 1),
1777
+ c("tspan", Qn, x(g.value.value), 1)
1778
+ ], 8, zn),
1779
+ c("text", {
1780
+ x: e.value[s[2]][0] + 100,
1781
+ y: e.value[s[2]][1] - 100,
1782
+ "transform-origin": `${e.value[s[2]][0] + 100} ${e.value[s[2]][1] - 100}`,
1850
1783
  class: "stats__title"
1851
1784
  }, [
1852
- A(S(m.value.title) + " ", 1),
1853
- u("tspan", ps, S(m.value.value), 1)
1854
- ], 8, hs),
1855
- u("text", {
1785
+ B(x(m.value.title) + " ", 1),
1786
+ c("tspan", Kn, x(m.value.value), 1)
1787
+ ], 8, Gn),
1788
+ c("text", {
1856
1789
  "dominant-baseline": "hanging",
1857
- x: n.value[s[3]][0] + 150,
1858
- y: n.value[s[3]][1] + 150,
1859
- "transform-origin": `${n.value[s[3]][0] + 150} ${n.value[s[3]][1] + 150}`,
1790
+ x: e.value[s[3]][0] + 150,
1791
+ y: e.value[s[3]][1] + 150,
1792
+ "transform-origin": `${e.value[s[3]][0] + 150} ${e.value[s[3]][1] + 150}`,
1860
1793
  class: "stats__title"
1861
1794
  }, [
1862
- A(S(w.value.title) + " ", 1),
1863
- u("tspan", ms, S(w.value.value), 1)
1864
- ], 8, gs),
1865
- u("text", {
1795
+ B(x(k.value.title) + " ", 1),
1796
+ c("tspan", Xn, x(k.value.value), 1)
1797
+ ], 8, Zn),
1798
+ c("text", {
1866
1799
  "dominant-baseline": "hanging",
1867
- x: n.value[s[4]][0] - 150,
1868
- y: n.value[s[4]][1] + 150,
1869
- "transform-origin": `${n.value[s[4]][0] - 150} ${n.value[s[4]][1] + 150}`,
1800
+ x: e.value[s[4]][0] - 150,
1801
+ y: e.value[s[4]][1] + 150,
1802
+ "transform-origin": `${e.value[s[4]][0] - 150} ${e.value[s[4]][1] + 150}`,
1870
1803
  class: "stats__title"
1871
1804
  }, [
1872
- A(S(P.value.title) + " ", 1),
1873
- u("tspan", vs, S(P.value.value), 1)
1874
- ], 8, _s),
1875
- u("text", {
1876
- x: n.value[s[5]][0] - 100,
1877
- y: n.value[s[5]][1] - 100,
1878
- "transform-origin": `${n.value[s[5]][0] - 100} ${n.value[s[5]][1] - 100}`,
1805
+ B(x(P.value.title) + " ", 1),
1806
+ c("tspan", Jn, x(P.value.value), 1)
1807
+ ], 8, Yn),
1808
+ c("text", {
1809
+ x: e.value[s[5]][0] - 100,
1810
+ y: e.value[s[5]][1] - 100,
1811
+ "transform-origin": `${e.value[s[5]][0] - 100} ${e.value[s[5]][1] - 100}`,
1879
1812
  class: "stats__title"
1880
1813
  }, [
1881
- A(S(_.value.title) + " ", 1),
1882
- u("tspan", bs, S(_.value.value), 1)
1883
- ], 8, ys)
1814
+ B(x(_.value.title) + " ", 1),
1815
+ c("tspan", es, x(_.value.value), 1)
1816
+ ], 8, ts)
1884
1817
  ])
1885
1818
  ]))
1886
1819
  ])
1887
1820
  ]));
1888
1821
  }
1889
- }), ks = {
1822
+ }), ss = {
1890
1823
  name: "DAnimationDefLetterD"
1891
- }, Ss = { d: "M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z" };
1892
- function xs(t, e, n, o, s, i) {
1893
- return f(), p("path", Ss);
1824
+ }, os = { d: "M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z" };
1825
+ function is(t, n, e, o, s, i) {
1826
+ return f(), p("path", os);
1894
1827
  }
1895
- const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
1828
+ const q = /* @__PURE__ */ _t(ss, [["render", is]]), as = {
1896
1829
  name: "DAnimationAccordion",
1897
1830
  components: {
1898
1831
  DAnimationDefLetterD: q
1899
1832
  }
1900
- }, ao = /* @__PURE__ */ I({
1901
- ...$s,
1833
+ }, qs = /* @__PURE__ */ I({
1834
+ ...as,
1902
1835
  props: {
1903
1836
  wigglePeriod: {
1904
1837
  type: Number,
@@ -1910,7 +1843,7 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
1910
1843
  }
1911
1844
  },
1912
1845
  setup(t) {
1913
- return (e, n) => (f(), p("svg", {
1846
+ return (n, e) => (f(), p("svg", {
1914
1847
  viewBox: "0 0 630 210",
1915
1848
  xmlns: "http://www.w3.org/2000/svg",
1916
1849
  class: "d-animation-accordion",
@@ -1919,24 +1852,24 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
1919
1852
  "--d-accordion-delay": t.delay + "s"
1920
1853
  })
1921
1854
  }, [
1922
- u("defs", null, [
1923
- B(q, { id: "d-letter" }),
1924
- n[0] || (n[0] = u("use", {
1855
+ c("defs", null, [
1856
+ A(q, { id: "d-letter" }),
1857
+ e[0] || (e[0] = c("use", {
1925
1858
  id: "d-accordion-section",
1926
1859
  href: "#d-letter",
1927
1860
  transform: "scale(0.33)"
1928
1861
  }, null, -1))
1929
1862
  ]),
1930
- n[1] || (n[1] = zt('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>', 6))
1863
+ e[1] || (e[1] = jt('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>', 6))
1931
1864
  ], 4));
1932
1865
  }
1933
- }), Cs = {
1866
+ }), ls = {
1934
1867
  name: "DAnimationFloatingLetter",
1935
1868
  components: {
1936
1869
  DAnimationDefLetterD: q
1937
1870
  }
1938
- }, lo = /* @__PURE__ */ I({
1939
- ...Cs,
1871
+ }, Us = /* @__PURE__ */ I({
1872
+ ...ls,
1940
1873
  props: {
1941
1874
  floatPeriod: {
1942
1875
  type: Number,
@@ -1948,25 +1881,25 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
1948
1881
  }
1949
1882
  },
1950
1883
  setup(t) {
1951
- return (e, n) => (f(), p("svg", {
1884
+ return (n, e) => (f(), p("svg", {
1952
1885
  viewBox: "0 0 630 630",
1953
1886
  xmlns: "http://www.w3.org/2000/svg",
1954
1887
  style: N({
1955
1888
  "--d-floating-letter-float-period": t.floatPeriod + "s"
1956
1889
  })
1957
1890
  }, [
1958
- B(q, {
1959
- class: M(["d-animation-floating-letter", t.pathClass])
1891
+ A(q, {
1892
+ class: L(["d-animation-floating-letter", t.pathClass])
1960
1893
  }, null, 8, ["class"])
1961
1894
  ], 4));
1962
1895
  }
1963
- }), Ps = {
1896
+ }), rs = {
1964
1897
  name: "DAnimationHypnosis",
1965
1898
  components: {
1966
1899
  DAnimationDefLetterD: q
1967
1900
  }
1968
- }, co = /* @__PURE__ */ I({
1969
- ...Ps,
1901
+ }, Vs = /* @__PURE__ */ I({
1902
+ ...rs,
1970
1903
  props: {
1971
1904
  wigglePeriod: {
1972
1905
  type: Number,
@@ -1978,7 +1911,7 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
1978
1911
  }
1979
1912
  },
1980
1913
  setup(t) {
1981
- return (e, n) => (f(), p("svg", {
1914
+ return (n, e) => (f(), p("svg", {
1982
1915
  viewBox: "0 0 630 630",
1983
1916
  xmlns: "http://www.w3.org/2000/svg",
1984
1917
  class: "d-animation-hypnosis",
@@ -1987,23 +1920,23 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
1987
1920
  "--d-hypnosis-delay": t.delay + "s"
1988
1921
  })
1989
1922
  }, [
1990
- u("defs", null, [
1991
- B(q, { id: "d-letter" }),
1992
- n[0] || (n[0] = u("use", {
1923
+ c("defs", null, [
1924
+ A(q, { id: "d-letter" }),
1925
+ e[0] || (e[0] = c("use", {
1993
1926
  id: "d-hypnosis-section",
1994
1927
  href: "#d-letter"
1995
1928
  }, null, -1))
1996
1929
  ]),
1997
- n[1] || (n[1] = zt('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>', 6))
1930
+ e[1] || (e[1] = jt('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>', 6))
1998
1931
  ], 4));
1999
1932
  }
2000
- }), Is = {
1933
+ }), cs = {
2001
1934
  name: "DAnimationSpinner",
2002
1935
  components: {
2003
1936
  DAnimationDefLetterD: q
2004
1937
  }
2005
- }, uo = /* @__PURE__ */ I({
2006
- ...Is,
1938
+ }, Hs = /* @__PURE__ */ I({
1939
+ ...cs,
2007
1940
  props: {
2008
1941
  spinPeriod: {
2009
1942
  type: Number,
@@ -2015,8 +1948,8 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
2015
1948
  }
2016
1949
  },
2017
1950
  setup(t) {
2018
- const e = "315 315";
2019
- return (n, o) => (f(), p("svg", {
1951
+ const n = "315 315";
1952
+ return (e, o) => (f(), p("svg", {
2020
1953
  class: "spinner",
2021
1954
  viewBox: "0 0 630 630",
2022
1955
  xmlns: "http://www.w3.org/2000/svg",
@@ -2025,57 +1958,57 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
2025
1958
  "--d-spinner-blade-wiggle-period": t.bladeWigglePeriod + "s"
2026
1959
  })
2027
1960
  }, [
2028
- u("defs", null, [
2029
- B(q, { id: "d-letter" }),
2030
- u("use", {
1961
+ c("defs", null, [
1962
+ A(q, { id: "d-letter" }),
1963
+ c("use", {
2031
1964
  id: "d-spinner-blade",
2032
1965
  href: "#d-letter",
2033
1966
  class: "d-animation-spinner__blade",
2034
- "transform-origin": e
1967
+ "transform-origin": n
2035
1968
  }),
2036
- u("g", {
1969
+ c("g", {
2037
1970
  id: "spinner",
2038
1971
  class: "d-animation-spinner__spinner",
2039
- "transform-origin": e
1972
+ "transform-origin": n
2040
1973
  }, [
2041
- u("use", {
1974
+ c("use", {
2042
1975
  href: "#d-spinner-blade",
2043
1976
  transform: "rotate(0)",
2044
- "transform-origin": e
1977
+ "transform-origin": n
2045
1978
  }),
2046
- u("use", {
1979
+ c("use", {
2047
1980
  href: "#d-spinner-blade",
2048
1981
  transform: "rotate(120)",
2049
- "transform-origin": e
1982
+ "transform-origin": n
2050
1983
  }),
2051
- u("use", {
1984
+ c("use", {
2052
1985
  href: "#d-spinner-blade",
2053
1986
  transform: "rotate(240)",
2054
- "transform-origin": e
1987
+ "transform-origin": n
2055
1988
  })
2056
1989
  ])
2057
1990
  ]),
2058
- u("use", {
1991
+ c("use", {
2059
1992
  href: "#spinner",
2060
1993
  transform: "translate( -20 20 )",
2061
1994
  class: "d-animation-spinner__background",
2062
- "transform-origin": e
1995
+ "transform-origin": n
2063
1996
  }),
2064
- u("use", {
1997
+ c("use", {
2065
1998
  href: "#spinner",
2066
1999
  class: "d-animation-spinner__foreground",
2067
- "transform-origin": e
2000
+ "transform-origin": n
2068
2001
  })
2069
2002
  ], 4));
2070
2003
  }
2071
- }), Ds = ht(""), ce = () => ({
2072
- text: Ds
2073
- }), Ts = { id: "big-bang-button-animation" }, Ms = ["i", "textContent"], Ls = {
2004
+ }), us = ut(""), Gt = () => ({
2005
+ text: us
2006
+ }), fs = { id: "big-bang-button-animation" }, ds = ["i", "textContent"], hs = {
2074
2007
  name: "DBigBangButtonAnimation"
2075
- }, fo = /* @__PURE__ */ I({
2076
- ...Ls,
2008
+ }, zs = /* @__PURE__ */ I({
2009
+ ...hs,
2077
2010
  setup(t) {
2078
- const e = {
2011
+ const n = {
2079
2012
  first: "M 0 0 C -489.471 -116.5 -526.692 -193.268 -563.913 -311.911",
2080
2013
  last: "M 0 0 C 317.761 171.963 466.645 199.879 680.666 171.963",
2081
2014
  intermediate: [
@@ -2083,17 +2016,17 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
2083
2016
  "M 0 0 C 52.561 -69.974 71.171 -118.827 64.192 -446.837",
2084
2017
  "M 0 0 C -3.271 137.068 -26.534 395.289 33.95 439.489"
2085
2018
  ]
2086
- }, { text: n } = ce(), o = T(() => n.value.split(""));
2019
+ }, { text: e } = Gt(), o = T(() => e.value.split(""));
2087
2020
  let s;
2088
- fe(n, (l) => {
2089
- clearTimeout(s), l && (s = setTimeout(() => n.value = "", 1500));
2021
+ Zt(e, (r) => {
2022
+ clearTimeout(s), r && (s = setTimeout(() => e.value = "", 1500));
2090
2023
  });
2091
- function i(l) {
2092
- return l === 0 ? e.first : l === o.value.length - 1 ? e.last : e.intermediate[Math.floor(Math.random() * e.intermediate.length)];
2024
+ function i(r) {
2025
+ return r === 0 ? n.first : r === o.value.length - 1 ? n.last : n.intermediate[Math.floor(Math.random() * n.intermediate.length)];
2093
2026
  }
2094
- function r(l, c) {
2095
- ut.fromTo(
2096
- l,
2027
+ function a(r, u) {
2028
+ lt.fromTo(
2029
+ r,
2097
2030
  {
2098
2031
  opacity: 0,
2099
2032
  rotateX: -90
@@ -2104,44 +2037,44 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
2104
2037
  rotate: -12 + Math.random() * 24,
2105
2038
  delay: Math.random() * 0.3,
2106
2039
  duration: 0.2,
2107
- onComplete: c
2040
+ onComplete: u
2108
2041
  }
2109
2042
  );
2110
2043
  }
2111
- function a(l, c) {
2112
- const h = +ut.getProperty(l, "i");
2113
- ut.to(l, {
2044
+ function l(r, u) {
2045
+ const h = +lt.getProperty(r, "i");
2046
+ lt.to(r, {
2114
2047
  motionPath: {
2115
2048
  path: i(h)
2116
2049
  },
2117
2050
  opacity: 0,
2118
2051
  rotate: -180 + Math.random() * 360,
2119
2052
  duration: 0.2,
2120
- onComplete: c
2053
+ onComplete: u
2121
2054
  });
2122
2055
  }
2123
- return (l, c) => (f(), p("div", Ts, [
2124
- B(kt, {
2056
+ return (r, u) => (f(), p("div", fs, [
2057
+ A(mt, {
2125
2058
  tag: "div",
2126
2059
  class: "bbb__text-container",
2127
- onEnter: r,
2128
- onLeave: a
2060
+ onEnter: a,
2061
+ onLeave: l
2129
2062
  }, {
2130
2063
  default: b(() => [
2131
2064
  (f(!0), p(O, null, E(o.value, (h, g) => (f(), p("span", {
2132
2065
  key: g,
2133
2066
  i: g,
2134
- textContent: S(h)
2135
- }, null, 8, Ms))), 128))
2067
+ textContent: x(h)
2068
+ }, null, 8, ds))), 128))
2136
2069
  ]),
2137
2070
  _: 1
2138
2071
  })
2139
2072
  ]));
2140
2073
  }
2141
- }), Fs = ["textContent"], Bs = {
2074
+ }), ps = ["textContent"], gs = {
2142
2075
  name: "DBigBangButton"
2143
- }, ho = /* @__PURE__ */ I({
2144
- ...Bs,
2076
+ }, Qs = /* @__PURE__ */ I({
2077
+ ...gs,
2145
2078
  props: {
2146
2079
  text: {
2147
2080
  type: String,
@@ -2157,32 +2090,32 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
2157
2090
  }
2158
2091
  },
2159
2092
  emits: ["click"],
2160
- setup(t, { emit: e }) {
2161
- const n = e, o = t, { text: s } = ce(), { linkComponent: i } = le(o), r = T(() => o.text.split(""));
2162
- function a(l) {
2163
- s.value = o.text, n("click", l);
2093
+ setup(t, { emit: n }) {
2094
+ const e = n, o = t, { text: s } = Gt(), { linkComponent: i } = Qt(o), a = T(() => o.text.split(""));
2095
+ function l(r) {
2096
+ s.value = o.text, e("click", r);
2164
2097
  }
2165
- return (l, c) => (f(), C(z(W(i)), {
2098
+ return (r, u) => (f(), C(z(W(i)), {
2166
2099
  to: t.to,
2167
2100
  class: "big-bang-button",
2168
- onClick: a
2101
+ onClick: l
2169
2102
  }, {
2170
2103
  default: b(() => [
2171
- (f(!0), p(O, null, E(r.value, (h, g) => (f(), p("span", {
2104
+ (f(!0), p(O, null, E(a.value, (h, g) => (f(), p("span", {
2172
2105
  key: g,
2173
- textContent: S(h)
2174
- }, null, 8, Fs))), 128))
2106
+ textContent: x(h)
2107
+ }, null, 8, ps))), 128))
2175
2108
  ]),
2176
2109
  _: 1
2177
2110
  }, 8, ["to"]));
2178
2111
  }
2179
- }), js = {
2112
+ }), ms = {
2180
2113
  name: "DCard",
2181
2114
  components: {
2182
2115
  DWrapShape: j
2183
2116
  }
2184
- }, po = /* @__PURE__ */ I({
2185
- ...js,
2117
+ }, Gs = /* @__PURE__ */ I({
2118
+ ...ms,
2186
2119
  props: {
2187
2120
  mode: {
2188
2121
  type: String,
@@ -2191,60 +2124,60 @@ const q = /* @__PURE__ */ St(ks, [["render", xs]]), $s = {
2191
2124
  dense: Boolean
2192
2125
  },
2193
2126
  setup(t) {
2194
- return (e, n) => (f(), C(j, {
2127
+ return (n, e) => (f(), C(j, {
2195
2128
  "shape-class": {
2196
2129
  card__bg: !t.dense,
2197
2130
  "card__bg--dense": t.dense
2198
2131
  },
2199
- class: M({
2132
+ class: L({
2200
2133
  "card--homepage-story force-light": t.mode === "homepage-story",
2201
2134
  "card--homepage-skills force-light": t.mode === "homepage-skills",
2202
2135
  card: t.mode === "default"
2203
2136
  })
2204
2137
  }, {
2205
2138
  default: b(() => [
2206
- u("div", {
2207
- class: M({
2139
+ c("div", {
2140
+ class: L({
2208
2141
  card__content: !t.dense,
2209
2142
  "card__content--dense": t.dense
2210
2143
  })
2211
2144
  }, [
2212
- $(e.$slots, "default")
2145
+ S(n.$slots, "default")
2213
2146
  ], 2)
2214
2147
  ]),
2215
2148
  _: 3
2216
2149
  }, 8, ["shape-class", "class"]));
2217
2150
  }
2218
- }), As = {
2151
+ }), _s = {
2219
2152
  name: "DCardTitle",
2220
2153
  components: {
2221
2154
  DWrapShape: j
2222
2155
  }
2223
- }, Os = { class: "card__title" }, Es = { class: "card__title__content__text" }, Ns = { class: "ml-2 print:text-neutral-600" };
2224
- function Ws(t, e, n, o, s, i) {
2225
- const r = de("DWrapShape");
2226
- return f(), p("div", Os, [
2227
- B(r, {
2156
+ }, vs = { class: "card__title" }, ys = { class: "card__title__content__text" }, bs = { class: "ml-2 print:text-neutral-600" };
2157
+ function ks(t, n, e, o, s, i) {
2158
+ const a = Xt("DWrapShape");
2159
+ return f(), p("div", vs, [
2160
+ A(a, {
2228
2161
  class: "card__title__content",
2229
2162
  "shape-class": "card__title__content__shape"
2230
2163
  }, {
2231
2164
  default: b(() => [
2232
- u("h3", Es, [
2233
- $(t.$slots, "default")
2165
+ c("h3", ys, [
2166
+ S(t.$slots, "default")
2234
2167
  ])
2235
2168
  ]),
2236
2169
  _: 3
2237
2170
  }),
2238
- u("span", Ns, [
2239
- $(t.$slots, "extra")
2171
+ c("span", bs, [
2172
+ S(t.$slots, "extra")
2240
2173
  ])
2241
2174
  ]);
2242
2175
  }
2243
- const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__body" }, qs = {
2176
+ const Ks = /* @__PURE__ */ _t(_s, [["render", ks]]), $s = { class: "d-alert__body" }, xs = {
2244
2177
  viewBox: "0 0 1067 1067",
2245
2178
  xmlns: "http://www.w3.org/2000/svg",
2246
2179
  class: "d-alert__sign"
2247
- }, Vs = { key: 0 }, Us = { key: 1 }, Hs = { key: 2 }, mo = /* @__PURE__ */ I({
2180
+ }, ws = { key: 0 }, Ss = { key: 1 }, Cs = { key: 2 }, Zs = /* @__PURE__ */ I({
2248
2181
  __name: "DAlert",
2249
2182
  props: {
2250
2183
  type: {
@@ -2253,40 +2186,40 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2253
2186
  }
2254
2187
  },
2255
2188
  setup(t) {
2256
- return (e, n) => (f(), C(j, {
2257
- class: M(["d-alert", {
2189
+ return (n, e) => (f(), C(j, {
2190
+ class: L(["d-alert", {
2258
2191
  "d-alert--info": t.type === "info",
2259
2192
  "d-alert--question": t.type === "question",
2260
2193
  "d-alert--warning": t.type === "warning"
2261
2194
  }]),
2262
2195
  "shape-class": "d-alert__shape"
2263
2196
  }, {
2264
- "bg-overlay": b(() => n[0] || (n[0] = [
2265
- u("div", { class: "d-alert__outline" }, null, -1)
2197
+ "bg-overlay": b(() => e[0] || (e[0] = [
2198
+ c("div", { class: "d-alert__outline" }, null, -1)
2266
2199
  ])),
2267
2200
  default: b(() => [
2268
- u("div", Rs, [
2269
- $(e.$slots, "default"),
2270
- (f(), p("svg", qs, [
2271
- t.type === "info" ? (f(), p("g", Vs, n[1] || (n[1] = [
2272
- u("path", { d: "M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z" }, null, -1),
2273
- u("path", { d: "M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z" }, null, -1)
2274
- ]))) : x("", !0),
2275
- t.type === "question" ? (f(), p("g", Us, n[2] || (n[2] = [
2276
- u("path", { d: "M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z" }, null, -1),
2277
- u("path", { d: "M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z" }, null, -1)
2278
- ]))) : x("", !0),
2279
- t.type === "warning" ? (f(), p("g", Hs, n[3] || (n[3] = [
2280
- u("path", { d: "M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z" }, null, -1),
2281
- u("path", { d: "M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z" }, null, -1)
2282
- ]))) : x("", !0)
2201
+ c("div", $s, [
2202
+ S(n.$slots, "default"),
2203
+ (f(), p("svg", xs, [
2204
+ t.type === "info" ? (f(), p("g", ws, e[1] || (e[1] = [
2205
+ c("path", { d: "M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z" }, null, -1),
2206
+ c("path", { d: "M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z" }, null, -1)
2207
+ ]))) : w("", !0),
2208
+ t.type === "question" ? (f(), p("g", Ss, e[2] || (e[2] = [
2209
+ c("path", { d: "M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z" }, null, -1),
2210
+ c("path", { d: "M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z" }, null, -1)
2211
+ ]))) : w("", !0),
2212
+ t.type === "warning" ? (f(), p("g", Cs, e[3] || (e[3] = [
2213
+ c("path", { d: "M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z" }, null, -1),
2214
+ c("path", { d: "M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z" }, null, -1)
2215
+ ]))) : w("", !0)
2283
2216
  ]))
2284
2217
  ])
2285
2218
  ]),
2286
2219
  _: 3
2287
2220
  }, 8, ["class"]));
2288
2221
  }
2289
- }), zs = { class: "d-blockquote__body" }, _o = /* @__PURE__ */ I({
2222
+ }), Ps = { class: "d-blockquote__body" }, Xs = /* @__PURE__ */ I({
2290
2223
  __name: "DQuote",
2291
2224
  props: {
2292
2225
  direction: {
@@ -2295,33 +2228,33 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2295
2228
  }
2296
2229
  },
2297
2230
  setup(t) {
2298
- return (e, n) => (f(), C(j, {
2231
+ return (n, e) => (f(), C(j, {
2299
2232
  tag: "blockquote",
2300
- class: M(["d-blockquote", {
2233
+ class: L(["d-blockquote", {
2301
2234
  "d-blockquote--left": t.direction === "left",
2302
2235
  "d-blockquote--right": t.direction === "right"
2303
2236
  }]),
2304
2237
  "shape-class": "d-blockquote__shape"
2305
2238
  }, {
2306
- "bg-overlay": b(() => n[0] || (n[0] = [
2307
- u("div", { class: "d-blockquote__outline" }, null, -1)
2239
+ "bg-overlay": b(() => e[0] || (e[0] = [
2240
+ c("div", { class: "d-blockquote__outline" }, null, -1)
2308
2241
  ])),
2309
2242
  default: b(() => [
2310
- u("div", zs, [
2311
- $(e.$slots, "default")
2243
+ c("div", Ps, [
2244
+ S(n.$slots, "default")
2312
2245
  ])
2313
2246
  ]),
2314
2247
  _: 3
2315
2248
  }, 8, ["class"]));
2316
2249
  }
2317
- }), Qs = {
2250
+ }), Is = {
2318
2251
  name: "DActionsFan",
2319
2252
  components: {
2320
2253
  DWrapShape: j,
2321
2254
  DBtn: R
2322
2255
  }
2323
- }, vo = /* @__PURE__ */ I({
2324
- ...Qs,
2256
+ }, Ys = /* @__PURE__ */ I({
2257
+ ...Is,
2325
2258
  props: {
2326
2259
  actions: {
2327
2260
  type: Array,
@@ -2338,7 +2271,7 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2338
2271
  },
2339
2272
  emits: ["actionFocus", "actionUnfocus", "actionChoose"],
2340
2273
  setup(t) {
2341
- return (e, n) => (f(), C(kt, {
2274
+ return (n, e) => (f(), C(mt, {
2342
2275
  name: "actions",
2343
2276
  tag: "ul",
2344
2277
  style: N({
@@ -2352,7 +2285,7 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2352
2285
  (f(!0), p(O, null, E(t.actions, (o, s) => (f(), C(j, {
2353
2286
  key: o.title,
2354
2287
  tag: "li",
2355
- class: M(["d-actions-fan__list-item", {
2288
+ class: L(["d-actions-fan__list-item", {
2356
2289
  [o.class ?? ""]: !0,
2357
2290
  "d-actions-fan--right__list-item": t.side === "right",
2358
2291
  "d-actions-fan--left__list-item": t.side === "left"
@@ -2371,24 +2304,24 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2371
2304
  "shape-style": o.shapeStyle
2372
2305
  }, {
2373
2306
  default: b(() => [
2374
- u("div", {
2375
- class: M(["d-actions-fan__list-item__body", {
2307
+ c("div", {
2308
+ class: L(["d-actions-fan__list-item__body", {
2376
2309
  "d-actions-fan--right__list-item__body": t.side === "right"
2377
2310
  }])
2378
2311
  }, [
2379
- B(R, it({ ref_for: !0 }, o.attrs, {
2312
+ A(R, st({ ref_for: !0 }, o.attrs, {
2380
2313
  tag: "button",
2381
2314
  "no-passive-highlight": "",
2382
- onClick: (i) => e.$emit("actionChoose", o.emit),
2383
- onMouseenter: (i) => e.$emit("actionFocus", o.emit),
2384
- onTouchstart: (i) => e.$emit("actionFocus", o.emit),
2385
- onFocusin: (i) => e.$emit("actionFocus", o.emit),
2386
- onMouseleave: (i) => e.$emit("actionUnfocus", o.emit),
2387
- onTouchend: (i) => e.$emit("actionUnfocus", o.emit),
2388
- onFocusout: (i) => e.$emit("actionUnfocus", o.emit)
2315
+ onClick: (i) => n.$emit("actionChoose", o.emit),
2316
+ onMouseenter: (i) => n.$emit("actionFocus", o.emit),
2317
+ onTouchstart: (i) => n.$emit("actionFocus", o.emit),
2318
+ onFocusin: (i) => n.$emit("actionFocus", o.emit),
2319
+ onMouseleave: (i) => n.$emit("actionUnfocus", o.emit),
2320
+ onTouchend: (i) => n.$emit("actionUnfocus", o.emit),
2321
+ onFocusout: (i) => n.$emit("actionUnfocus", o.emit)
2389
2322
  }), {
2390
2323
  default: b(() => [
2391
- A(S(o.title), 1)
2324
+ B(x(o.title), 1)
2392
2325
  ]),
2393
2326
  _: 2
2394
2327
  }, 1040, ["onClick", "onMouseenter", "onTouchstart", "onFocusin", "onMouseleave", "onTouchend", "onFocusout"])
@@ -2400,13 +2333,13 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2400
2333
  _: 1
2401
2334
  }, 8, ["style"]));
2402
2335
  }
2403
- }), Ks = { class: "d-actions-list__body" }, Gs = {
2336
+ }), Ds = { class: "d-actions-list__body" }, Ts = {
2404
2337
  key: 0,
2405
2338
  class: "d-actions-list__header"
2406
- }, yo = /* @__PURE__ */ I({
2339
+ }, Js = /* @__PURE__ */ I({
2407
2340
  name: "DActionsList",
2408
2341
  components: {
2409
- DWrapFocusHighlight: ot,
2342
+ DWrapFocusHighlight: nt,
2410
2343
  DWrapShape: j
2411
2344
  },
2412
2345
  __name: "DActionsList",
@@ -2422,40 +2355,40 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2422
2355
  },
2423
2356
  emits: ["actionFocus", "actionUnfocus", "actionChoose"],
2424
2357
  setup(t) {
2425
- function e(o) {
2358
+ function n(o) {
2426
2359
  var s;
2427
2360
  return (s = o.attrs) != null && s.highlightVariant ? o.attrs.highlightVariant : "negative-list-item";
2428
2361
  }
2429
- const n = wt();
2362
+ const e = gt();
2430
2363
  return (o, s) => (f(), C(j, { "shape-class": "d-actions-list__shape" }, {
2431
2364
  default: b(() => [
2432
- u("div", Ks, [
2433
- n.header ? (f(), p("div", Gs, [
2434
- $(o.$slots, "header")
2435
- ])) : x("", !0),
2436
- B(kt, {
2365
+ c("div", Ds, [
2366
+ e.header ? (f(), p("div", Ts, [
2367
+ S(o.$slots, "header")
2368
+ ])) : w("", !0),
2369
+ A(mt, {
2437
2370
  name: "actions",
2438
2371
  tag: "ul",
2439
- class: M(["d-actions-list__list", t.listClass])
2372
+ class: L(["d-actions-list__list", t.listClass])
2440
2373
  }, {
2441
2374
  default: b(() => [
2442
2375
  (f(!0), p(O, null, E(t.actions, (i) => (f(), p("li", {
2443
2376
  key: i.title
2444
2377
  }, [
2445
- B(ot, it({ ref_for: !0 }, i.attrs, {
2378
+ A(nt, st({ ref_for: !0 }, i.attrs, {
2446
2379
  tag: "button",
2447
- variant: e(i),
2380
+ variant: n(i),
2448
2381
  "no-passive-link": "",
2449
- onClick: (r) => o.$emit("actionChoose", i.emit),
2450
- onMouseenter: (r) => o.$emit("actionFocus", i.emit),
2451
- onTouchstart: (r) => o.$emit("actionFocus", i.emit),
2452
- onFocusin: (r) => o.$emit("actionFocus", i.emit),
2453
- onMouseleave: (r) => o.$emit("actionUnfocus", i.emit),
2454
- onTouchend: (r) => o.$emit("actionUnfocus", i.emit),
2455
- onFocusout: (r) => o.$emit("actionUnfocus", i.emit)
2382
+ onClick: (a) => o.$emit("actionChoose", i.emit),
2383
+ onMouseenter: (a) => o.$emit("actionFocus", i.emit),
2384
+ onTouchstart: (a) => o.$emit("actionFocus", i.emit),
2385
+ onFocusin: (a) => o.$emit("actionFocus", i.emit),
2386
+ onMouseleave: (a) => o.$emit("actionUnfocus", i.emit),
2387
+ onTouchend: (a) => o.$emit("actionUnfocus", i.emit),
2388
+ onFocusout: (a) => o.$emit("actionUnfocus", i.emit)
2456
2389
  }), {
2457
2390
  default: b(() => [
2458
- A(S(i.title), 1)
2391
+ B(x(i.title), 1)
2459
2392
  ]),
2460
2393
  _: 2
2461
2394
  }, 1040, ["variant", "onClick", "onMouseenter", "onTouchstart", "onFocusin", "onMouseleave", "onTouchend", "onFocusout"])
@@ -2468,16 +2401,16 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2468
2401
  _: 3
2469
2402
  }));
2470
2403
  }
2471
- }), Zs = {
2404
+ }), Ls = {
2472
2405
  key: 0,
2473
2406
  class: "mbg__relative-container"
2474
- }, Xs = {
2407
+ }, Fs = {
2475
2408
  key: 1,
2476
2409
  class: "mbg__layer"
2477
- }, Js = {
2410
+ }, Ms = {
2478
2411
  key: 3,
2479
2412
  class: "mbg__content"
2480
- }, bo = /* @__PURE__ */ I({
2413
+ }, to = /* @__PURE__ */ I({
2481
2414
  name: "DWrapBackground",
2482
2415
  __name: "DWrapBackground",
2483
2416
  props: {
@@ -2509,93 +2442,93 @@ const go = /* @__PURE__ */ St(As, [["render", Ws]]), Rs = { class: "d-alert__bod
2509
2442
  }
2510
2443
  },
2511
2444
  setup(t) {
2512
- const e = t, n = wt(), o = T(() => typeof e.overlayStyle == "string" ? !e.overlayStyle.trim() : Array.isArray(e.overlayStyle) ? e.overlayStyle.length === 0 : e.overlayStyle === null || e.overlayStyle === void 0 ? !0 : Object.keys(e.overlayStyle).length === 0);
2445
+ const n = t, e = gt(), o = T(() => typeof n.overlayStyle == "string" ? !n.overlayStyle.trim() : Array.isArray(n.overlayStyle) ? n.overlayStyle.length === 0 : n.overlayStyle === null || n.overlayStyle === void 0 ? !0 : Object.keys(n.overlayStyle).length === 0);
2513
2446
  return (s, i) => (f(), C(z(t.tag), { class: "mbg__main-container" }, {
2514
2447
  default: b(() => [
2515
- t.overlayClass || !o.value || n.svg || n.default ? (f(), p("div", Zs, [
2448
+ t.overlayClass || !o.value || e.svg || e.default ? (f(), p("div", Ls, [
2516
2449
  t.overlayClass || !o.value ? (f(), p("div", {
2517
2450
  key: 0,
2518
- class: M(["mbg__layer", t.overlayClass]),
2451
+ class: L(["mbg__layer", t.overlayClass]),
2519
2452
  style: N(t.overlayStyle)
2520
- }, null, 6)) : x("", !0),
2521
- n.svg ? (f(), p("div", Xs, [
2522
- $(s.$slots, "svg")
2523
- ])) : x("", !0),
2453
+ }, null, 6)) : w("", !0),
2454
+ e.svg ? (f(), p("div", Fs, [
2455
+ S(s.$slots, "svg")
2456
+ ])) : w("", !0),
2524
2457
  t.dots ? (f(), p("div", {
2525
2458
  key: 2,
2526
- class: M(["mbg__layer mbg__dots", t.dotsClass]),
2459
+ class: L(["mbg__layer mbg__dots", t.dotsClass]),
2527
2460
  style: N(t.dotsStyle)
2528
- }, null, 6)) : x("", !0),
2529
- n.default ? (f(), p("div", Js, [
2530
- $(s.$slots, "default")
2531
- ])) : x("", !0)
2532
- ])) : x("", !0)
2461
+ }, null, 6)) : w("", !0),
2462
+ e.default ? (f(), p("div", Ms, [
2463
+ S(s.$slots, "default")
2464
+ ])) : w("", !0)
2465
+ ])) : w("", !0)
2533
2466
  ]),
2534
2467
  _: 3
2535
2468
  }));
2536
2469
  }
2537
2470
  });
2538
- function Ys(t, e = {}) {
2471
+ function As(t, n = {}) {
2539
2472
  return {
2540
2473
  top: () => {
2541
- var n;
2542
- return (((n = t.value) == null ? void 0 : n.getBoundingClientRect().top) ?? 0) + window.scrollY + (e.y ? e.y() : 0);
2474
+ var e;
2475
+ return (((e = t.value) == null ? void 0 : e.getBoundingClientRect().top) ?? 0) + window.scrollY + (n.y ? n.y() : 0);
2543
2476
  },
2544
2477
  bottom: () => {
2545
- var n;
2546
- return (((n = t.value) == null ? void 0 : n.getBoundingClientRect().bottom) ?? 0) + window.scrollY + (e.y ? e.y() : 0);
2478
+ var e;
2479
+ return (((e = t.value) == null ? void 0 : e.getBoundingClientRect().bottom) ?? 0) + window.scrollY + (n.y ? n.y() : 0);
2547
2480
  },
2548
2481
  right: () => {
2549
- var n;
2550
- return (((n = t.value) == null ? void 0 : n.getBoundingClientRect().right) ?? 0) + window.scrollX + (e.x ? e.x() : 0);
2482
+ var e;
2483
+ return (((e = t.value) == null ? void 0 : e.getBoundingClientRect().right) ?? 0) + window.scrollX + (n.x ? n.x() : 0);
2551
2484
  },
2552
2485
  left: () => {
2553
- var n;
2554
- return (((n = t.value) == null ? void 0 : n.getBoundingClientRect().left) ?? 0) + window.scrollX + (e.x ? e.x() : 0);
2486
+ var e;
2487
+ return (((e = t.value) == null ? void 0 : e.getBoundingClientRect().left) ?? 0) + window.scrollX + (n.x ? n.x() : 0);
2555
2488
  }
2556
2489
  };
2557
2490
  }
2558
- function wo(t) {
2559
- const e = Ys(t);
2491
+ function eo(t) {
2492
+ const n = As(t);
2560
2493
  return {
2561
- top: e.top(),
2562
- bottom: e.bottom(),
2563
- right: e.right(),
2564
- left: e.left()
2494
+ top: n.top(),
2495
+ bottom: n.bottom(),
2496
+ right: n.right(),
2497
+ left: n.left()
2565
2498
  };
2566
2499
  }
2567
- function ue(t) {
2568
- return t.map((e, n, o) => {
2569
- const s = o.reduce((r, a, l) => (l > n ? r.push(r.at(-1)) : r.push(a.left), r), []);
2570
- return [...o.reduce((r, a, l) => (l > n ? r.push(r.at(-1)) : r.push(a.right), r), []), ...s.reverse()];
2500
+ function Kt(t) {
2501
+ return t.map((n, e, o) => {
2502
+ const s = o.reduce((a, l, r) => (r > e ? a.push(a.at(-1)) : a.push(l.left), a), []);
2503
+ return [...o.reduce((a, l, r) => (r > e ? a.push(a.at(-1)) : a.push(l.right), a), []), ...s.reverse()];
2571
2504
  });
2572
2505
  }
2573
- function to(t) {
2574
- const e = ue(t), n = e.length, o = e[0].length, s = [];
2506
+ function js(t) {
2507
+ const n = Kt(t), e = n.length, o = n[0].length, s = [];
2575
2508
  for (let i = 0; i < o; i++) {
2576
- const r = [];
2577
- for (let a = 0; a < n; a++)
2578
- r.push(e[a][i]);
2579
- s.push(r);
2509
+ const a = [];
2510
+ for (let l = 0; l < e; l++)
2511
+ a.push(n[l][i]);
2512
+ s.push(a);
2580
2513
  }
2581
2514
  return s;
2582
2515
  }
2583
- function ko(t, e, n, o) {
2584
- const s = to(t);
2516
+ function no(t, n, e, o) {
2517
+ const s = js(t);
2585
2518
  for (const i of s) {
2586
- const r = e.createSVGPoint();
2587
- n.points.appendItem(r), o(r, i);
2519
+ const a = n.createSVGPoint();
2520
+ e.points.appendItem(a), o(a, i);
2588
2521
  }
2589
2522
  }
2590
- function So(t, e, n) {
2591
- const o = ue(t).at(-1);
2523
+ function so(t, n, e) {
2524
+ const o = Kt(t).at(-1);
2592
2525
  if (o)
2593
2526
  for (const s of o) {
2594
- const i = e.createSVGPoint();
2595
- i.x = s.x, i.y = s.y, n.points.appendItem(i);
2527
+ const i = n.createSVGPoint();
2528
+ i.x = s.x, i.y = s.y, e.points.appendItem(i);
2596
2529
  }
2597
2530
  }
2598
- function Ht(t) {
2531
+ function At(t) {
2599
2532
  if (t.length !== 2)
2600
2533
  throw new Error(
2601
2534
  "Array should contain 2 numbers in order to be translated into coords"
@@ -2605,49 +2538,49 @@ function Ht(t) {
2605
2538
  y: t[1]
2606
2539
  };
2607
2540
  }
2608
- function eo(t) {
2541
+ function Bs(t) {
2609
2542
  if (t.length !== 2)
2610
2543
  throw new Error(
2611
2544
  "Array should contain 2 elements in order to be translated into LineEdge"
2612
2545
  );
2613
2546
  return {
2614
- left: Ht(t[0]),
2615
- right: Ht(t[1])
2547
+ left: At(t[0]),
2548
+ right: At(t[1])
2616
2549
  };
2617
2550
  }
2618
- function xo(t) {
2619
- return t.map(eo);
2551
+ function oo(t) {
2552
+ return t.map(Bs);
2620
2553
  }
2621
2554
  export {
2622
- vo as DActionsFan,
2623
- yo as DActionsList,
2624
- mo as DAlert,
2625
- ao as DAnimationAccordion,
2626
- lo as DAnimationFloatingLetter,
2627
- co as DAnimationHypnosis,
2628
- uo as DAnimationSpinner,
2629
- ho as DBigBangButton,
2630
- fo as DBigBangButtonAnimation,
2555
+ Ys as DActionsFan,
2556
+ Js as DActionsList,
2557
+ Zs as DAlert,
2558
+ qs as DAnimationAccordion,
2559
+ Us as DAnimationFloatingLetter,
2560
+ Vs as DAnimationHypnosis,
2561
+ Hs as DAnimationSpinner,
2562
+ Qs as DBigBangButton,
2563
+ zs as DBigBangButtonAnimation,
2631
2564
  R as DBtn,
2632
- po as DCard,
2633
- go as DCardTitle,
2634
- oo as DChip,
2635
- io as DPagination,
2636
- _o as DQuote,
2637
- ro as DStats,
2638
- bo as DWrapBackground,
2639
- ot as DWrapFocusHighlight,
2565
+ Gs as DCard,
2566
+ Ks as DCardTitle,
2567
+ Ns as DChip,
2568
+ Ws as DPagination,
2569
+ Xs as DQuote,
2570
+ Rs as DStats,
2571
+ to as DWrapBackground,
2572
+ nt as DWrapFocusHighlight,
2640
2573
  j as DWrapShape,
2641
- ko as applyLinePerPointAnimation,
2642
- So as applyStaticPoints,
2643
- Ht as createCoordsFromArray,
2644
- eo as createLineEdgeFromArray,
2645
- xo as createLineFromArray,
2646
- ue as generatePolygonLineKeyframes,
2647
- to as generatePolygonPointsKeyframes,
2648
- wo as getAbsoluteBoundings,
2649
- Ys as getAbsoluteBoundingsGetters,
2650
- bn as getLinkToPaginatedPage,
2651
- ce as useDBigBangButtonUtils,
2652
- wn as useDPaginationUtils
2574
+ no as applyLinePerPointAnimation,
2575
+ so as applyStaticPoints,
2576
+ At as createCoordsFromArray,
2577
+ Bs as createLineEdgeFromArray,
2578
+ oo as createLineFromArray,
2579
+ Kt as generatePolygonLineKeyframes,
2580
+ js as generatePolygonPointsKeyframes,
2581
+ eo as getAbsoluteBoundings,
2582
+ As as getAbsoluteBoundingsGetters,
2583
+ tn as getLinkToPaginatedPage,
2584
+ Gt as useDBigBangButtonUtils,
2585
+ en as useDPaginationUtils
2653
2586
  };