@d0rich/esprit-design 0.4.4 → 0.5.0

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