@voidzero-dev/vitepress-theme 0.1.49 → 0.1.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/index100.js +12 -12
  2. package/dist/index102.js +5 -5
  3. package/dist/index104.js +5 -5
  4. package/dist/index108.js +4 -4
  5. package/dist/index122.js +5 -5
  6. package/dist/index131.js +4 -4
  7. package/dist/index138.js +2 -2
  8. package/dist/index140.js +1 -1
  9. package/dist/index150.js +1 -1
  10. package/dist/index151.js +28 -26
  11. package/dist/index152.js +41 -29
  12. package/dist/index153.js +5 -26
  13. package/dist/index154.js +3 -26
  14. package/dist/index155.js +5 -26
  15. package/dist/index156.js +16 -16
  16. package/dist/index157.js +28 -195
  17. package/dist/index158.js +22 -34
  18. package/dist/index159.js +26 -2
  19. package/dist/index160.js +26 -5
  20. package/dist/index161.js +26 -28
  21. package/dist/index162.js +196 -41
  22. package/dist/index163.js +2 -2
  23. package/dist/index164.js +2 -2
  24. package/dist/index165.js +1 -1
  25. package/dist/index166.js +2 -78
  26. package/dist/index167.js +4 -0
  27. package/dist/index168.js +2 -5
  28. package/dist/index169.js +1 -4
  29. package/dist/index170.js +2 -5
  30. package/dist/index171.js +2 -5
  31. package/dist/index172.js +1 -1
  32. package/dist/index173.js +1 -1
  33. package/dist/index174.js +1 -1
  34. package/dist/index175.js +1 -1
  35. package/dist/index176.js +2 -2
  36. package/dist/index177.js +2 -2
  37. package/dist/index178.js +4 -0
  38. package/dist/index179.js +2 -3
  39. package/dist/index180.js +2 -5
  40. package/dist/index181.js +2 -5
  41. package/dist/index182.js +1 -1
  42. package/dist/index183.js +2 -2
  43. package/dist/index185.js +135 -2
  44. package/dist/index187.js +65536 -2
  45. package/dist/index188.js +5 -2
  46. package/dist/index189.js +2 -2
  47. package/dist/index190.js +2 -2
  48. package/dist/index191.js +2 -2
  49. package/dist/index192.js +2 -2
  50. package/dist/index193.js +2 -2
  51. package/dist/index194.js +2 -52
  52. package/dist/index195.js +78 -2
  53. package/dist/index197.js +5 -2
  54. package/dist/index198.js +4 -1
  55. package/dist/index199.js +5 -2
  56. package/dist/index2.js +4 -3
  57. package/dist/index200.js +5 -2
  58. package/dist/index201.js +2 -2
  59. package/dist/index202.js +2 -2
  60. package/dist/index203.js +5 -2
  61. package/dist/index204.js +52 -2
  62. package/dist/index205.js +2 -2
  63. package/dist/index206.js +2 -2
  64. package/dist/index207.js +2 -5
  65. package/dist/index208.js +2 -2
  66. package/dist/index209.js +5 -2
  67. package/dist/index210.js +38 -2
  68. package/dist/index211.js +2 -2
  69. package/dist/index212.js +2 -2
  70. package/dist/index213.js +2 -135
  71. package/dist/index214.js +4 -0
  72. package/dist/index215.js +2 -2
  73. package/dist/index216.js +34 -2
  74. package/dist/index217.js +1 -1
  75. package/dist/index218.js +2 -65536
  76. package/dist/index219.js +2 -5
  77. package/dist/index220.js +1 -1
  78. package/dist/index221.js +1 -1
  79. package/dist/index222.js +2 -34
  80. package/dist/index223.js +2 -2
  81. package/dist/index224.js +2 -2
  82. package/dist/index225.js +1 -1
  83. package/dist/index226.js +2 -2
  84. package/dist/index227.js +2 -2
  85. package/dist/index228.js +1 -1
  86. package/dist/index229.js +2 -2
  87. package/dist/index23.js +7 -7
  88. package/dist/index230.js +82 -2
  89. package/dist/index231.js +71 -2
  90. package/dist/index232.js +1 -1
  91. package/dist/index233.js +1 -1
  92. package/dist/index234.js +1 -1
  93. package/dist/index235.js +1 -1
  94. package/dist/index236.js +1 -1
  95. package/dist/index237.js +1 -1
  96. package/dist/index238.js +2 -71
  97. package/dist/index239.js +73 -72
  98. package/dist/index240.js +3 -83
  99. package/dist/index241.js +35 -3
  100. package/dist/{index244.js → index243.js} +1 -1
  101. package/dist/{index246.js → index245.js} +4 -4
  102. package/dist/{index248.js → index247.js} +1 -1
  103. package/dist/index249.js +5 -0
  104. package/dist/index250.js +301 -7193
  105. package/dist/index251.js +2 -1735
  106. package/dist/index252.js +2 -129
  107. package/dist/index253.js +6 -0
  108. package/dist/index254.js +7207 -3
  109. package/dist/index255.js +1684 -395
  110. package/dist/index256.js +129 -2
  111. package/dist/index258.js +2 -2
  112. package/dist/index259.js +444 -68
  113. package/dist/index260.js +5 -4
  114. package/dist/index261.js +2 -5
  115. package/dist/index262.js +29 -5
  116. package/dist/index264.js +1 -1
  117. package/dist/index265.js +3 -3
  118. package/dist/index266.js +1 -1
  119. package/dist/index267.js +4 -4
  120. package/dist/index268.js +5 -2
  121. package/dist/index269.js +31 -28
  122. package/dist/index270.js +72 -0
  123. package/dist/index277.js +2 -2
  124. package/dist/index278.js +2 -2
  125. package/dist/index279.js +2 -2
  126. package/dist/index28.js +1 -1
  127. package/dist/index280.js +3 -62
  128. package/dist/{index289.js → index281.js} +5 -5
  129. package/dist/{index291.js → index283.js} +22 -23
  130. package/dist/index284.js +26 -2
  131. package/dist/index286.js +2 -26
  132. package/dist/index288.js +62 -3
  133. package/dist/index29.js +2 -2
  134. package/dist/{index282.js → index290.js} +1 -1
  135. package/dist/index294.js +5 -5
  136. package/dist/index296.js +1 -1
  137. package/dist/index298.js +2 -2
  138. package/dist/index30.js +4 -4
  139. package/dist/index300.js +1 -1
  140. package/dist/index302.js +1 -1
  141. package/dist/index304.js +20 -9
  142. package/dist/index305.js +16 -27
  143. package/dist/index306.js +19 -5
  144. package/dist/index307.js +9 -21
  145. package/dist/index308.js +21 -20
  146. package/dist/index309.js +27 -16
  147. package/dist/index310.js +5 -19
  148. package/dist/index311.js +5 -35
  149. package/dist/index312.js +7 -0
  150. package/dist/index313.js +4 -4
  151. package/dist/index314.js +3 -3
  152. package/dist/index315.js +2 -2
  153. package/dist/index316.js +13 -5
  154. package/dist/index318.js +37 -0
  155. package/dist/index320.js +78 -23
  156. package/dist/index322.js +26 -22
  157. package/dist/index324.js +22 -75
  158. package/dist/index326.js +72 -45
  159. package/dist/index328.js +47 -80
  160. package/dist/index330.js +1 -1
  161. package/dist/index331.js +3 -3
  162. package/dist/index332.js +26 -5
  163. package/dist/index334.js +5 -26
  164. package/dist/index335.js +7 -0
  165. package/dist/index336.js +5 -98
  166. package/dist/index337.js +31 -0
  167. package/dist/{index338.js → index339.js} +3 -3
  168. package/dist/{index340.js → index341.js} +4 -4
  169. package/dist/index343.js +92 -23
  170. package/dist/index345.js +11 -5
  171. package/dist/index346.js +28 -14
  172. package/dist/index347.js +5 -11
  173. package/dist/index348.js +5 -28
  174. package/dist/index349.js +13 -4
  175. package/dist/index350.js +27 -37
  176. package/dist/index352.js +39 -2
  177. package/dist/index354.js +4 -0
  178. package/dist/index356.js +2 -2
  179. package/dist/index42.js +4 -4
  180. package/dist/index48.js +4 -4
  181. package/dist/index50.js +2 -2
  182. package/dist/index52.js +8 -8
  183. package/dist/index54.js +2 -2
  184. package/dist/index59.js +1 -1
  185. package/dist/index6.js +1 -1
  186. package/dist/index64.js +1 -1
  187. package/dist/index7.js +2 -2
  188. package/dist/index70.js +1 -1
  189. package/dist/index8.js +2 -2
  190. package/dist/index80.js +1 -1
  191. package/dist/index9.js +1 -1
  192. package/dist/index94.js +2 -2
  193. package/dist/index96.js +8 -8
  194. package/package.json +1 -1
  195. package/dist/index184.js +0 -4
  196. package/dist/index186.js +0 -4
  197. package/dist/index196.js +0 -4
  198. package/dist/index242.js +0 -37
  199. package/dist/index257.js +0 -317
  200. package/dist/index263.js +0 -34
  201. package/dist/index317.js +0 -15
  202. package/dist/index319.js +0 -7
  203. package/dist/index333.js +0 -7
  204. package/dist/index342.js +0 -7
  205. package/dist/index353.js +0 -31
  206. /package/dist/{index285.js → index287.js} +0 -0
package/dist/index256.js CHANGED
@@ -1,4 +1,131 @@
1
- import f from "./index222.js";
1
+ import { defineComponent as p, useSlots as h, computed as v, provide as b, resolveComponent as $, createElementBlock as c, createBlock as k, unref as r, openBlock as d, normalizeClass as C, renderSlot as e, createVNode as s, createElementVNode as g, withCtx as t } from "vue";
2
+ import y from "./index271.js";
3
+ import S from "./index272.js";
4
+ import V from "./index273.js";
5
+ import P from "./index274.js";
6
+ import w from "./index52.js";
7
+ import B from "./index275.js";
8
+ import L from "./index276.js";
9
+ import { useData as O } from "./index154.js";
10
+ import { registerWatchers as E, layoutInfoInjectionKey as I } from "./index70.js";
11
+ import { useSidebarControl as N } from "./index277.js";
12
+ const M = { class: "content-wrapper" }, T = /* @__PURE__ */ p({
13
+ __name: "Layout",
14
+ setup(j) {
15
+ const {
16
+ isOpen: a,
17
+ open: f,
18
+ close: i
19
+ } = N();
20
+ E({ closeSidebar: i });
21
+ const { frontmatter: n } = O(), l = h(), m = v(() => !!l["home-hero-image"]);
22
+ return b(I, { heroImageSlotExists: m }), (o, z) => {
23
+ const u = $("Content");
24
+ return r(n).layout !== !1 ? (d(), c("div", {
25
+ key: 0,
26
+ class: C(["Layout", r(n).pageClass])
27
+ }, [
28
+ e(o.$slots, "layout-top", {}, void 0, !0),
29
+ s(L),
30
+ s(y, {
31
+ class: "backdrop",
32
+ show: r(a),
33
+ onClick: r(i)
34
+ }, null, 8, ["show", "onClick"]),
35
+ s(w),
36
+ g("div", M, [
37
+ s(P, {
38
+ open: r(a),
39
+ onOpenMenu: r(f)
40
+ }, null, 8, ["open", "onOpenMenu"]),
41
+ s(B, { open: r(a) }, {
42
+ "sidebar-nav-before": t(() => [
43
+ e(o.$slots, "sidebar-nav-before", {}, void 0, !0)
44
+ ]),
45
+ "sidebar-nav-after": t(() => [
46
+ e(o.$slots, "sidebar-nav-after", {}, void 0, !0)
47
+ ]),
48
+ _: 3
49
+ }, 8, ["open"]),
50
+ s(S, null, {
51
+ "page-top": t(() => [
52
+ e(o.$slots, "page-top", {}, void 0, !0)
53
+ ]),
54
+ "page-bottom": t(() => [
55
+ e(o.$slots, "page-bottom", {}, void 0, !0)
56
+ ]),
57
+ "not-found": t(() => [
58
+ e(o.$slots, "not-found", {}, void 0, !0)
59
+ ]),
60
+ "home-hero-before": t(() => [
61
+ e(o.$slots, "home-hero-before", {}, void 0, !0)
62
+ ]),
63
+ "home-hero-info-before": t(() => [
64
+ e(o.$slots, "home-hero-info-before", {}, void 0, !0)
65
+ ]),
66
+ "home-hero-info": t(() => [
67
+ e(o.$slots, "home-hero-info", {}, void 0, !0)
68
+ ]),
69
+ "home-hero-info-after": t(() => [
70
+ e(o.$slots, "home-hero-info-after", {}, void 0, !0)
71
+ ]),
72
+ "home-hero-actions-after": t(() => [
73
+ e(o.$slots, "home-hero-actions-after", {}, void 0, !0)
74
+ ]),
75
+ "home-hero-image": t(() => [
76
+ e(o.$slots, "home-hero-image", {}, void 0, !0)
77
+ ]),
78
+ "home-hero-after": t(() => [
79
+ e(o.$slots, "home-hero-after", {}, void 0, !0)
80
+ ]),
81
+ "home-features-before": t(() => [
82
+ e(o.$slots, "home-features-before", {}, void 0, !0)
83
+ ]),
84
+ "home-features-after": t(() => [
85
+ e(o.$slots, "home-features-after", {}, void 0, !0)
86
+ ]),
87
+ "doc-footer-before": t(() => [
88
+ e(o.$slots, "doc-footer-before", {}, void 0, !0)
89
+ ]),
90
+ "doc-before": t(() => [
91
+ e(o.$slots, "doc-before", {}, void 0, !0)
92
+ ]),
93
+ "doc-after": t(() => [
94
+ e(o.$slots, "doc-after", {}, void 0, !0)
95
+ ]),
96
+ "doc-top": t(() => [
97
+ e(o.$slots, "doc-top", {}, void 0, !0)
98
+ ]),
99
+ "doc-bottom": t(() => [
100
+ e(o.$slots, "doc-bottom", {}, void 0, !0)
101
+ ]),
102
+ "aside-top": t(() => [
103
+ e(o.$slots, "aside-top", {}, void 0, !0)
104
+ ]),
105
+ "aside-bottom": t(() => [
106
+ e(o.$slots, "aside-bottom", {}, void 0, !0)
107
+ ]),
108
+ "aside-outline-before": t(() => [
109
+ e(o.$slots, "aside-outline-before", {}, void 0, !0)
110
+ ]),
111
+ "aside-outline-after": t(() => [
112
+ e(o.$slots, "aside-outline-after", {}, void 0, !0)
113
+ ]),
114
+ "aside-ads-before": t(() => [
115
+ e(o.$slots, "aside-ads-before", {}, void 0, !0)
116
+ ]),
117
+ "aside-ads-after": t(() => [
118
+ e(o.$slots, "aside-ads-after", {}, void 0, !0)
119
+ ]),
120
+ _: 3
121
+ })
122
+ ]),
123
+ s(V),
124
+ e(o.$slots, "layout-bottom", {}, void 0, !0)
125
+ ], 2)) : (d(), k(u, { key: 1 }));
126
+ };
127
+ }
128
+ });
2
129
  export {
3
- f as default
130
+ T as default
4
131
  };
package/dist/index258.js CHANGED
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ import f from "./index216.js";
2
2
  export {
3
- e as __module
3
+ f as default
4
4
  };
package/dist/index259.js CHANGED
@@ -1,72 +1,448 @@
1
- import { onMounted as m, onUnmounted as c } from "vue";
2
- import { throttleAndDebounce as l } from "./index161.js";
3
- const u = {
4
- xmini: [[0, 2]],
5
- mini: [],
6
- small: [
7
- [920, 6],
8
- [768, 5],
9
- [640, 4],
10
- [480, 3],
11
- [0, 2]
12
- ],
13
- medium: [
14
- [960, 5],
15
- [832, 4],
16
- [640, 3],
17
- [480, 2]
18
- ],
19
- big: [
20
- [832, 3],
21
- [640, 2]
22
- ]
1
+ /*!
2
+ * @kurkle/color v0.3.4
3
+ * https://github.com/kurkle/color#readme
4
+ * (c) 2024 Jukka Kurkela
5
+ * Released under the MIT License
6
+ */
7
+ function m(f) {
8
+ return f + 0.5 | 0;
9
+ }
10
+ const b = (f, e, t) => Math.max(Math.min(f, t), e);
11
+ function l(f) {
12
+ return b(m(f * 2.55), 0, 255);
13
+ }
14
+ function d(f) {
15
+ return b(m(f * 255), 0, 255);
16
+ }
17
+ function o(f) {
18
+ return b(m(f / 2.55) / 100, 0, 1);
19
+ }
20
+ function X(f) {
21
+ return b(m(f * 100), 0, 100);
22
+ }
23
+ const i = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, w = [..."0123456789ABCDEF"], Z = (f) => w[f & 15], A = (f) => w[(f & 240) >> 4] + w[f & 15], y = (f) => (f & 240) >> 4 === (f & 15), U = (f) => y(f.r) && y(f.g) && y(f.b) && y(f.a);
24
+ function V(f) {
25
+ var e = f.length, t;
26
+ return f[0] === "#" && (e === 4 || e === 5 ? t = {
27
+ r: 255 & i[f[1]] * 17,
28
+ g: 255 & i[f[2]] * 17,
29
+ b: 255 & i[f[3]] * 17,
30
+ a: e === 5 ? i[f[4]] * 17 : 255
31
+ } : (e === 7 || e === 9) && (t = {
32
+ r: i[f[1]] << 4 | i[f[2]],
33
+ g: i[f[3]] << 4 | i[f[4]],
34
+ b: i[f[5]] << 4 | i[f[6]],
35
+ a: e === 9 ? i[f[7]] << 4 | i[f[8]] : 255
36
+ })), t;
37
+ }
38
+ const H = (f, e) => f < 255 ? e(f) : "";
39
+ function W(f) {
40
+ var e = U(f) ? Z : A;
41
+ return f ? "#" + e(f.r) + e(f.g) + e(f.b) + H(f.a, e) : void 0;
42
+ }
43
+ const q = /^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;
44
+ function $(f, e, t) {
45
+ const n = e * Math.min(t, 1 - t), r = (a, s = (a + f / 30) % 12) => t - n * Math.max(Math.min(s - 3, 9 - s, 1), -1);
46
+ return [r(0), r(8), r(4)];
47
+ }
48
+ function L(f, e, t) {
49
+ const n = (r, a = (r + f / 60) % 6) => t - t * e * Math.max(Math.min(a, 4 - a, 1), 0);
50
+ return [n(5), n(3), n(1)];
51
+ }
52
+ function j(f, e, t) {
53
+ const n = $(f, 1, 0.5);
54
+ let r;
55
+ for (e + t > 1 && (r = 1 / (e + t), e *= r, t *= r), r = 0; r < 3; r++)
56
+ n[r] *= 1 - e - t, n[r] += e;
57
+ return n;
58
+ }
59
+ function N(f, e, t, n, r) {
60
+ return f === r ? (e - t) / n + (e < t ? 6 : 0) : e === r ? (t - f) / n + 2 : (f - e) / n + 4;
61
+ }
62
+ function _(f) {
63
+ const t = f.r / 255, n = f.g / 255, r = f.b / 255, a = Math.max(t, n, r), s = Math.min(t, n, r), c = (a + s) / 2;
64
+ let g, h, x;
65
+ return a !== s && (x = a - s, h = c > 0.5 ? x / (2 - a - s) : x / (a + s), g = N(t, n, r, x, a), g = g * 60 + 0.5), [g | 0, h || 0, c];
66
+ }
67
+ function M(f, e, t, n) {
68
+ return (Array.isArray(e) ? f(e[0], e[1], e[2]) : f(e, t, n)).map(d);
69
+ }
70
+ function S(f, e, t) {
71
+ return M($, f, e, t);
72
+ }
73
+ function K(f, e, t) {
74
+ return M(j, f, e, t);
75
+ }
76
+ function B(f, e, t) {
77
+ return M(L, f, e, t);
78
+ }
79
+ function P(f) {
80
+ return (f % 360 + 360) % 360;
81
+ }
82
+ function Q(f) {
83
+ const e = q.exec(f);
84
+ let t = 255, n;
85
+ if (!e)
86
+ return;
87
+ e[5] !== n && (t = e[6] ? l(+e[5]) : d(+e[5]));
88
+ const r = P(+e[2]), a = +e[3] / 100, s = +e[4] / 100;
89
+ return e[1] === "hwb" ? n = K(r, a, s) : e[1] === "hsv" ? n = B(r, a, s) : n = S(r, a, s), {
90
+ r: n[0],
91
+ g: n[1],
92
+ b: n[2],
93
+ a: t
94
+ };
95
+ }
96
+ function C(f, e) {
97
+ var t = _(f);
98
+ t[0] = P(t[0] + e), t = S(t), f.r = t[0], f.g = t[1], f.b = t[2];
99
+ }
100
+ function D(f) {
101
+ if (!f)
102
+ return;
103
+ const e = _(f), t = e[0], n = X(e[1]), r = X(e[2]);
104
+ return f.a < 255 ? `hsla(${t}, ${n}%, ${r}%, ${o(f.a)})` : `hsl(${t}, ${n}%, ${r}%)`;
105
+ }
106
+ const O = {
107
+ x: "dark",
108
+ Z: "light",
109
+ Y: "re",
110
+ X: "blu",
111
+ W: "gr",
112
+ V: "medium",
113
+ U: "slate",
114
+ A: "ee",
115
+ T: "ol",
116
+ S: "or",
117
+ B: "ra",
118
+ C: "lateg",
119
+ D: "ights",
120
+ R: "in",
121
+ Q: "turquois",
122
+ E: "hi",
123
+ P: "ro",
124
+ O: "al",
125
+ N: "le",
126
+ M: "de",
127
+ L: "yello",
128
+ F: "en",
129
+ K: "ch",
130
+ G: "arks",
131
+ H: "ea",
132
+ I: "ightg",
133
+ J: "wh"
134
+ }, E = {
135
+ OiceXe: "f0f8ff",
136
+ antiquewEte: "faebd7",
137
+ aqua: "ffff",
138
+ aquamarRe: "7fffd4",
139
+ azuY: "f0ffff",
140
+ beige: "f5f5dc",
141
+ bisque: "ffe4c4",
142
+ black: "0",
143
+ blanKedOmond: "ffebcd",
144
+ Xe: "ff",
145
+ XeviTet: "8a2be2",
146
+ bPwn: "a52a2a",
147
+ burlywood: "deb887",
148
+ caMtXe: "5f9ea0",
149
+ KartYuse: "7fff00",
150
+ KocTate: "d2691e",
151
+ cSO: "ff7f50",
152
+ cSnflowerXe: "6495ed",
153
+ cSnsilk: "fff8dc",
154
+ crimson: "dc143c",
155
+ cyan: "ffff",
156
+ xXe: "8b",
157
+ xcyan: "8b8b",
158
+ xgTMnPd: "b8860b",
159
+ xWay: "a9a9a9",
160
+ xgYF: "6400",
161
+ xgYy: "a9a9a9",
162
+ xkhaki: "bdb76b",
163
+ xmagFta: "8b008b",
164
+ xTivegYF: "556b2f",
165
+ xSange: "ff8c00",
166
+ xScEd: "9932cc",
167
+ xYd: "8b0000",
168
+ xsOmon: "e9967a",
169
+ xsHgYF: "8fbc8f",
170
+ xUXe: "483d8b",
171
+ xUWay: "2f4f4f",
172
+ xUgYy: "2f4f4f",
173
+ xQe: "ced1",
174
+ xviTet: "9400d3",
175
+ dAppRk: "ff1493",
176
+ dApskyXe: "bfff",
177
+ dimWay: "696969",
178
+ dimgYy: "696969",
179
+ dodgerXe: "1e90ff",
180
+ fiYbrick: "b22222",
181
+ flSOwEte: "fffaf0",
182
+ foYstWAn: "228b22",
183
+ fuKsia: "ff00ff",
184
+ gaRsbSo: "dcdcdc",
185
+ ghostwEte: "f8f8ff",
186
+ gTd: "ffd700",
187
+ gTMnPd: "daa520",
188
+ Way: "808080",
189
+ gYF: "8000",
190
+ gYFLw: "adff2f",
191
+ gYy: "808080",
192
+ honeyMw: "f0fff0",
193
+ hotpRk: "ff69b4",
194
+ RdianYd: "cd5c5c",
195
+ Rdigo: "4b0082",
196
+ ivSy: "fffff0",
197
+ khaki: "f0e68c",
198
+ lavFMr: "e6e6fa",
199
+ lavFMrXsh: "fff0f5",
200
+ lawngYF: "7cfc00",
201
+ NmoncEffon: "fffacd",
202
+ ZXe: "add8e6",
203
+ ZcSO: "f08080",
204
+ Zcyan: "e0ffff",
205
+ ZgTMnPdLw: "fafad2",
206
+ ZWay: "d3d3d3",
207
+ ZgYF: "90ee90",
208
+ ZgYy: "d3d3d3",
209
+ ZpRk: "ffb6c1",
210
+ ZsOmon: "ffa07a",
211
+ ZsHgYF: "20b2aa",
212
+ ZskyXe: "87cefa",
213
+ ZUWay: "778899",
214
+ ZUgYy: "778899",
215
+ ZstAlXe: "b0c4de",
216
+ ZLw: "ffffe0",
217
+ lime: "ff00",
218
+ limegYF: "32cd32",
219
+ lRF: "faf0e6",
220
+ magFta: "ff00ff",
221
+ maPon: "800000",
222
+ VaquamarRe: "66cdaa",
223
+ VXe: "cd",
224
+ VScEd: "ba55d3",
225
+ VpurpN: "9370db",
226
+ VsHgYF: "3cb371",
227
+ VUXe: "7b68ee",
228
+ VsprRggYF: "fa9a",
229
+ VQe: "48d1cc",
230
+ VviTetYd: "c71585",
231
+ midnightXe: "191970",
232
+ mRtcYam: "f5fffa",
233
+ mistyPse: "ffe4e1",
234
+ moccasR: "ffe4b5",
235
+ navajowEte: "ffdead",
236
+ navy: "80",
237
+ Tdlace: "fdf5e6",
238
+ Tive: "808000",
239
+ TivedBb: "6b8e23",
240
+ Sange: "ffa500",
241
+ SangeYd: "ff4500",
242
+ ScEd: "da70d6",
243
+ pOegTMnPd: "eee8aa",
244
+ pOegYF: "98fb98",
245
+ pOeQe: "afeeee",
246
+ pOeviTetYd: "db7093",
247
+ papayawEp: "ffefd5",
248
+ pHKpuff: "ffdab9",
249
+ peru: "cd853f",
250
+ pRk: "ffc0cb",
251
+ plum: "dda0dd",
252
+ powMrXe: "b0e0e6",
253
+ purpN: "800080",
254
+ YbeccapurpN: "663399",
255
+ Yd: "ff0000",
256
+ Psybrown: "bc8f8f",
257
+ PyOXe: "4169e1",
258
+ saddNbPwn: "8b4513",
259
+ sOmon: "fa8072",
260
+ sandybPwn: "f4a460",
261
+ sHgYF: "2e8b57",
262
+ sHshell: "fff5ee",
263
+ siFna: "a0522d",
264
+ silver: "c0c0c0",
265
+ skyXe: "87ceeb",
266
+ UXe: "6a5acd",
267
+ UWay: "708090",
268
+ UgYy: "708090",
269
+ snow: "fffafa",
270
+ sprRggYF: "ff7f",
271
+ stAlXe: "4682b4",
272
+ tan: "d2b48c",
273
+ teO: "8080",
274
+ tEstN: "d8bfd8",
275
+ tomato: "ff6347",
276
+ Qe: "40e0d0",
277
+ viTet: "ee82ee",
278
+ JHt: "f5deb3",
279
+ wEte: "ffffff",
280
+ wEtesmoke: "f5f5f5",
281
+ Lw: "ffff00",
282
+ LwgYF: "9acd32"
23
283
  };
24
- function G({
25
- el: t,
26
- size: n = "medium"
27
- }) {
28
- const e = l(o, 100);
29
- m(() => {
30
- o(), window.addEventListener("resize", e);
31
- }), c(() => {
32
- window.removeEventListener("resize", e);
33
- });
34
- function o() {
35
- a(t.value, n);
36
- }
37
- }
38
- function a(t, n) {
39
- const e = t.children.length, o = t.querySelectorAll(".vp-sponsor-grid-item:not(.empty)").length, r = f(t, n, o);
40
- g(t, r, e, o);
41
- }
42
- function f(t, n, e) {
43
- const o = u[n], r = window.innerWidth;
44
- let i = 1;
45
- return o.some(([s, d]) => {
46
- if (r >= s)
47
- return i = e < d ? e : d, !0;
48
- }), p(t, i), i;
49
- }
50
- function p(t, n) {
51
- t.dataset.vpGrid = String(n);
52
- }
53
- function g(t, n, e, o) {
54
- const r = e - o, i = o % n, s = i === 0 ? i : n - i;
55
- v(t, s - r);
56
- }
57
- function v(t, n) {
58
- n !== 0 && (n > 0 ? S(t, n) : h(t, n * -1));
59
- }
60
- function S(t, n) {
61
- for (let e = 0; e < n; e++) {
62
- const o = document.createElement("div");
63
- o.classList.add("vp-sponsor-grid-item", "empty"), t.append(o);
64
- }
65
- }
66
- function h(t, n) {
67
- for (let e = 0; e < n; e++)
68
- t.removeChild(t.lastElementChild);
284
+ function v() {
285
+ const f = {}, e = Object.keys(E), t = Object.keys(O);
286
+ let n, r, a, s, c;
287
+ for (n = 0; n < e.length; n++) {
288
+ for (s = c = e[n], r = 0; r < t.length; r++)
289
+ a = t[r], c = c.replace(a, O[a]);
290
+ a = parseInt(E[s], 16), f[c] = [a >> 16 & 255, a >> 8 & 255, a & 255];
291
+ }
292
+ return f;
293
+ }
294
+ let F;
295
+ function G(f) {
296
+ F || (F = v(), F.transparent = [0, 0, 0, 0]);
297
+ const e = F[f.toLowerCase()];
298
+ return e && {
299
+ r: e[0],
300
+ g: e[1],
301
+ b: e[2],
302
+ a: e.length === 4 ? e[3] : 255
303
+ };
304
+ }
305
+ const I = /^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;
306
+ function J(f) {
307
+ const e = I.exec(f);
308
+ let t = 255, n, r, a;
309
+ if (e) {
310
+ if (e[7] !== n) {
311
+ const s = +e[7];
312
+ t = e[8] ? l(s) : b(s * 255, 0, 255);
313
+ }
314
+ return n = +e[1], r = +e[3], a = +e[5], n = 255 & (e[2] ? l(n) : b(n, 0, 255)), r = 255 & (e[4] ? l(r) : b(r, 0, 255)), a = 255 & (e[6] ? l(a) : b(a, 0, 255)), {
315
+ r: n,
316
+ g: r,
317
+ b: a,
318
+ a: t
319
+ };
320
+ }
321
+ }
322
+ function z(f) {
323
+ return f && (f.a < 255 ? `rgba(${f.r}, ${f.g}, ${f.b}, ${o(f.a)})` : `rgb(${f.r}, ${f.g}, ${f.b})`);
324
+ }
325
+ const Y = (f) => f <= 31308e-7 ? f * 12.92 : Math.pow(f, 1 / 2.4) * 1.055 - 0.055, u = (f) => f <= 0.04045 ? f / 12.92 : Math.pow((f + 0.055) / 1.055, 2.4);
326
+ function ee(f, e, t) {
327
+ const n = u(o(f.r)), r = u(o(f.g)), a = u(o(f.b));
328
+ return {
329
+ r: d(Y(n + t * (u(o(e.r)) - n))),
330
+ g: d(Y(r + t * (u(o(e.g)) - r))),
331
+ b: d(Y(a + t * (u(o(e.b)) - a))),
332
+ a: f.a + t * (e.a - f.a)
333
+ };
334
+ }
335
+ function p(f, e, t) {
336
+ if (f) {
337
+ let n = _(f);
338
+ n[e] = Math.max(0, Math.min(n[e] + n[e] * t, e === 0 ? 360 : 1)), n = S(n), f.r = n[0], f.g = n[1], f.b = n[2];
339
+ }
340
+ }
341
+ function T(f, e) {
342
+ return f && Object.assign(e || {}, f);
343
+ }
344
+ function R(f) {
345
+ var e = { r: 0, g: 0, b: 0, a: 255 };
346
+ return Array.isArray(f) ? f.length >= 3 && (e = { r: f[0], g: f[1], b: f[2], a: 255 }, f.length > 3 && (e.a = d(f[3]))) : (e = T(f, { r: 0, g: 0, b: 0, a: 1 }), e.a = d(e.a)), e;
347
+ }
348
+ function fe(f) {
349
+ return f.charAt(0) === "r" ? J(f) : Q(f);
350
+ }
351
+ class k {
352
+ constructor(e) {
353
+ if (e instanceof k)
354
+ return e;
355
+ const t = typeof e;
356
+ let n;
357
+ t === "object" ? n = R(e) : t === "string" && (n = V(e) || G(e) || fe(e)), this._rgb = n, this._valid = !!n;
358
+ }
359
+ get valid() {
360
+ return this._valid;
361
+ }
362
+ get rgb() {
363
+ var e = T(this._rgb);
364
+ return e && (e.a = o(e.a)), e;
365
+ }
366
+ set rgb(e) {
367
+ this._rgb = R(e);
368
+ }
369
+ rgbString() {
370
+ return this._valid ? z(this._rgb) : void 0;
371
+ }
372
+ hexString() {
373
+ return this._valid ? W(this._rgb) : void 0;
374
+ }
375
+ hslString() {
376
+ return this._valid ? D(this._rgb) : void 0;
377
+ }
378
+ mix(e, t) {
379
+ if (e) {
380
+ const n = this.rgb, r = e.rgb;
381
+ let a;
382
+ const s = t === a ? 0.5 : t, c = 2 * s - 1, g = n.a - r.a, h = ((c * g === -1 ? c : (c + g) / (1 + c * g)) + 1) / 2;
383
+ a = 1 - h, n.r = 255 & h * n.r + a * r.r + 0.5, n.g = 255 & h * n.g + a * r.g + 0.5, n.b = 255 & h * n.b + a * r.b + 0.5, n.a = s * n.a + (1 - s) * r.a, this.rgb = n;
384
+ }
385
+ return this;
386
+ }
387
+ interpolate(e, t) {
388
+ return e && (this._rgb = ee(this._rgb, e._rgb, t)), this;
389
+ }
390
+ clone() {
391
+ return new k(this.rgb);
392
+ }
393
+ alpha(e) {
394
+ return this._rgb.a = d(e), this;
395
+ }
396
+ clearer(e) {
397
+ const t = this._rgb;
398
+ return t.a *= 1 - e, this;
399
+ }
400
+ greyscale() {
401
+ const e = this._rgb, t = m(e.r * 0.3 + e.g * 0.59 + e.b * 0.11);
402
+ return e.r = e.g = e.b = t, this;
403
+ }
404
+ opaquer(e) {
405
+ const t = this._rgb;
406
+ return t.a *= 1 + e, this;
407
+ }
408
+ negate() {
409
+ const e = this._rgb;
410
+ return e.r = 255 - e.r, e.g = 255 - e.g, e.b = 255 - e.b, this;
411
+ }
412
+ lighten(e) {
413
+ return p(this._rgb, 2, e), this;
414
+ }
415
+ darken(e) {
416
+ return p(this._rgb, 2, -e), this;
417
+ }
418
+ saturate(e) {
419
+ return p(this._rgb, 1, e), this;
420
+ }
421
+ desaturate(e) {
422
+ return p(this._rgb, 1, -e), this;
423
+ }
424
+ rotate(e) {
425
+ return C(this._rgb, e), this;
426
+ }
69
427
  }
70
428
  export {
71
- G as useSponsorsGrid
429
+ k as Color,
430
+ o as b2n,
431
+ V as hexParse,
432
+ W as hexString,
433
+ S as hsl2rgb,
434
+ D as hslString,
435
+ B as hsv2rgb,
436
+ Q as hueParse,
437
+ K as hwb2rgb,
438
+ b as lim,
439
+ d as n2b,
440
+ X as n2p,
441
+ G as nameParse,
442
+ l as p2b,
443
+ _ as rgb2hsl,
444
+ J as rgbParse,
445
+ z as rgbString,
446
+ C as rotate,
447
+ m as round
72
448
  };
package/dist/index260.js CHANGED
@@ -1,6 +1,7 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
- }
1
+ import o from "./index281.js";
2
+ /* empty css */
3
+ import r from "./index82.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9545168b"]]);
4
5
  export {
5
- e as getDefaultExportFromCjs
6
+ m as default
6
7
  };
package/dist/index261.js CHANGED
@@ -1,7 +1,4 @@
1
- import o from "./index280.js";
2
- /* empty css */
3
- import t from "./index82.js";
4
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-88044d44"]]);
1
+ import f from "./index283.js";
5
2
  export {
6
- _ as default
3
+ f as default
7
4
  };