@voidzero-dev/vitepress-theme 1.1.60 → 1.1.61

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 (270) hide show
  1. package/dist/index111.js +4 -4
  2. package/dist/index113.js +3 -3
  3. package/dist/index115.js +8 -8
  4. package/dist/index119.js +10 -10
  5. package/dist/index121.js +3 -3
  6. package/dist/index123.js +7 -7
  7. package/dist/index128.js +4 -4
  8. package/dist/index135.js +1 -1
  9. package/dist/index140.js +2 -2
  10. package/dist/index142.js +21 -21
  11. package/dist/index145.js +17 -17
  12. package/dist/index148.js +1 -1
  13. package/dist/index157.js +4 -4
  14. package/dist/index167.js +4 -4
  15. package/dist/index173.js +5 -5
  16. package/dist/index185.js +2 -2
  17. package/dist/index187.js +1 -1
  18. package/dist/index197.js +1 -1
  19. package/dist/index198.js +26 -28
  20. package/dist/index199.js +29 -41
  21. package/dist/index200.js +15 -15
  22. package/dist/index201.js +17 -21
  23. package/dist/index202.js +16 -16
  24. package/dist/index203.js +13 -13
  25. package/dist/index204.js +123 -24
  26. package/dist/index205.js +28 -26
  27. package/dist/index206.js +41 -124
  28. package/dist/index207.js +38 -2
  29. package/dist/index208.js +5 -2
  30. package/dist/index209.js +2 -2
  31. package/dist/index210.js +4 -0
  32. package/dist/index211.js +2 -108
  33. package/dist/index212.js +4 -0
  34. package/dist/index214.js +108 -2
  35. package/dist/index216.js +2 -2
  36. package/dist/index217.js +2 -2
  37. package/dist/index218.js +2 -2
  38. package/dist/index219.js +34 -2
  39. package/dist/index220.js +1 -1
  40. package/dist/index221.js +2 -2
  41. package/dist/index222.js +2 -2
  42. package/dist/index223.js +2 -2
  43. package/dist/index224.js +2 -2
  44. package/dist/index225.js +2 -34
  45. package/dist/index226.js +2 -2
  46. package/dist/index227.js +2 -2
  47. package/dist/index228.js +2 -2
  48. package/dist/index229.js +2 -2
  49. package/dist/index23.js +7 -7
  50. package/dist/index230.js +1 -1
  51. package/dist/index231.js +1 -1
  52. package/dist/index232.js +1 -1
  53. package/dist/index233.js +2 -5
  54. package/dist/index234.js +2 -3
  55. package/dist/index235.js +103 -5
  56. package/dist/index236.js +2 -2
  57. package/dist/index237.js +2 -5
  58. package/dist/index238.js +1 -1
  59. package/dist/index239.js +2 -2
  60. package/dist/index240.js +2 -2
  61. package/dist/index241.js +2 -2
  62. package/dist/index242.js +2 -2
  63. package/dist/index243.js +2 -2
  64. package/dist/index244.js +2 -2
  65. package/dist/index245.js +2 -2
  66. package/dist/index246.js +1 -1
  67. package/dist/index247.js +2 -103
  68. package/dist/index248.js +1 -1
  69. package/dist/index249.js +1 -1
  70. package/dist/index250.js +2 -2
  71. package/dist/index251.js +2 -2
  72. package/dist/index252.js +2 -2
  73. package/dist/index253.js +2 -2
  74. package/dist/index254.js +2 -2
  75. package/dist/index255.js +2 -2
  76. package/dist/index256.js +1 -1
  77. package/dist/index257.js +2 -2
  78. package/dist/index258.js +2 -2
  79. package/dist/index259.js +2 -2
  80. package/dist/index260.js +47 -2
  81. package/dist/index261.js +1 -1
  82. package/dist/index262.js +2 -52
  83. package/dist/index263.js +3 -44
  84. package/dist/index264.js +2 -2587
  85. package/dist/index265.js +5 -2
  86. package/dist/index266.js +5 -2
  87. package/dist/index267.js +96 -2
  88. package/dist/index268.js +2 -2
  89. package/dist/index269.js +2 -2
  90. package/dist/index270.js +2 -2
  91. package/dist/index271.js +2 -20
  92. package/dist/index272.js +3 -92
  93. package/dist/index273.js +7 -0
  94. package/dist/index274.js +52 -5
  95. package/dist/index275.js +44 -6
  96. package/dist/index276.js +2587 -5
  97. package/dist/index277.js +2 -5
  98. package/dist/index278.js +2 -5
  99. package/dist/index279.js +2 -5
  100. package/dist/index28.js +1 -1
  101. package/dist/index280.js +2 -32
  102. package/dist/index281.js +2 -2
  103. package/dist/index282.js +9 -2
  104. package/dist/index283.js +1 -1
  105. package/dist/index284.js +2 -2
  106. package/dist/index285.js +20 -2
  107. package/dist/index286.js +92 -2
  108. package/dist/index288.js +5 -2
  109. package/dist/index289.js +5 -2
  110. package/dist/index290.js +5 -2
  111. package/dist/index291.js +5 -2
  112. package/dist/index292.js +5 -2
  113. package/dist/index293.js +5 -96
  114. package/dist/index294.js +32 -2
  115. package/dist/index295.js +2 -98146
  116. package/dist/index296.js +2 -2
  117. package/dist/index297.js +2 -2
  118. package/dist/index298.js +2 -9
  119. package/dist/index299.js +2 -2
  120. package/dist/index300.js +2 -2
  121. package/dist/index301.js +2 -2
  122. package/dist/index302.js +2 -47
  123. package/dist/index303.js +2 -2
  124. package/dist/index304.js +2 -2
  125. package/dist/index305.js +2 -2
  126. package/dist/index306.js +1 -1
  127. package/dist/index307.js +2 -2
  128. package/dist/index309.js +1 -1
  129. package/dist/index310.js +2 -5
  130. package/dist/index311.js +98146 -2
  131. package/dist/index312.js +1 -1
  132. package/dist/index313.js +1 -1
  133. package/dist/index314.js +83 -2
  134. package/dist/index316.js +71 -2
  135. package/dist/index318.js +1 -1
  136. package/dist/index319.js +1 -1
  137. package/dist/index320.js +1 -1
  138. package/dist/index321.js +2 -82
  139. package/dist/index322.js +4 -0
  140. package/dist/index323.js +2 -83
  141. package/dist/index324.js +4 -0
  142. package/dist/index325.js +1 -1
  143. package/dist/index326.js +1 -1
  144. package/dist/index327.js +7207 -2
  145. package/dist/index328.js +1626 -7098
  146. package/dist/index329.js +2 -1735
  147. package/dist/index330.js +129 -2
  148. package/dist/index332.js +3 -71
  149. package/dist/index333.js +4 -0
  150. package/dist/index334.js +82 -3
  151. package/dist/index336.js +4 -0
  152. package/dist/index337.js +3 -16
  153. package/dist/{index335.js → index338.js} +3 -3
  154. package/dist/index340.js +18 -0
  155. package/dist/{index339.js → index342.js} +4 -4
  156. package/dist/{index341.js → index344.js} +1 -1
  157. package/dist/{index343.js → index346.js} +5 -5
  158. package/dist/{index345.js → index348.js} +2 -2
  159. package/dist/index350.js +46 -5
  160. package/dist/index351.js +5 -46
  161. package/dist/index352.js +5 -70
  162. package/dist/index353.js +5 -47
  163. package/dist/index354.js +5 -112
  164. package/dist/index355.js +5 -62
  165. package/dist/index356.js +4 -4
  166. package/dist/index357.js +62 -2
  167. package/dist/index358.js +5 -29
  168. package/dist/index359.js +24 -0
  169. package/dist/index360.js +5 -8
  170. package/dist/index361.js +3 -3
  171. package/dist/index362.js +30 -5
  172. package/dist/index363.js +26 -22
  173. package/dist/index364.js +5 -30
  174. package/dist/index365.js +2 -26
  175. package/dist/index366.js +28 -314
  176. package/dist/index368.js +8 -5
  177. package/dist/index369.js +70 -5
  178. package/dist/index370.js +47 -5
  179. package/dist/index371.js +112 -5
  180. package/dist/index372.js +19 -5
  181. package/dist/index374.js +94 -446
  182. package/dist/index376.js +29 -0
  183. package/dist/{index388.js → index378.js} +3 -3
  184. package/dist/index380.js +55 -2
  185. package/dist/index382.js +19 -17
  186. package/dist/index385.js +4 -0
  187. package/dist/index386.js +2 -27
  188. package/dist/{index375.js → index387.js} +2 -2
  189. package/dist/{index377.js → index389.js} +1 -1
  190. package/dist/{index394.js → index391.js} +1 -1
  191. package/dist/index392.js +2 -21
  192. package/dist/index393.js +456 -0
  193. package/dist/index395.js +87 -2
  194. package/dist/index396.js +309 -448
  195. package/dist/index398.js +443 -84
  196. package/dist/index399.js +5 -10
  197. package/dist/index400.js +5 -4
  198. package/dist/index401.js +5 -28
  199. package/dist/index402.js +13 -5
  200. package/dist/index403.js +5 -23
  201. package/dist/index404.js +5 -21
  202. package/dist/index405.js +28 -5
  203. package/dist/index406.js +3 -3
  204. package/dist/index407.js +10 -5
  205. package/dist/index408.js +4 -5
  206. package/dist/index409.js +22 -12
  207. package/dist/index410.js +17 -5
  208. package/dist/index411.js +18 -16
  209. package/dist/index412.js +19 -17
  210. package/dist/index413.js +21 -32
  211. package/dist/index415.js +70 -76
  212. package/dist/index417.js +48 -22
  213. package/dist/index419.js +76 -70
  214. package/dist/index42.js +4 -4
  215. package/dist/index421.js +26 -48
  216. package/dist/index423.js +30 -23
  217. package/dist/index425.js +3 -3
  218. package/dist/index426.js +2 -2
  219. package/dist/index427.js +2 -2
  220. package/dist/index428.js +2 -2
  221. package/dist/index429.js +5 -26
  222. package/dist/index430.js +27 -0
  223. package/dist/index432.js +93 -93
  224. package/dist/index434.js +27 -23
  225. package/dist/index436.js +93 -93
  226. package/dist/index438.js +21 -24
  227. package/dist/index440.js +5 -11
  228. package/dist/index441.js +14 -28
  229. package/dist/index442.js +11 -5
  230. package/dist/index443.js +28 -5
  231. package/dist/index444.js +4 -13
  232. package/dist/index445.js +37 -27
  233. package/dist/index447.js +2 -39
  234. package/dist/index448.js +31 -0
  235. package/dist/index451.js +2 -2
  236. package/dist/index46.js +1 -1
  237. package/dist/index49.js +3 -3
  238. package/dist/index51.js +4 -4
  239. package/dist/index52.js +1 -1
  240. package/dist/index54.js +1 -1
  241. package/dist/index58.js +6 -6
  242. package/dist/index6.js +1 -1
  243. package/dist/index62.js +1 -1
  244. package/dist/index65.js +1 -1
  245. package/dist/index7.js +2 -2
  246. package/dist/index75.js +1 -1
  247. package/dist/index77.js +2 -2
  248. package/dist/index8.js +2 -2
  249. package/dist/index81.js +2 -2
  250. package/dist/index9.js +1 -1
  251. package/dist/index93.js +1 -1
  252. package/dist/vitepress/components/vitepress-default/VPDocAsideSponsors.vue.d.ts +2 -1
  253. package/dist/vitepress/index.d.ts +2 -0
  254. package/dist/vitepress/types/theme-config.d.ts +68 -0
  255. package/package.json +1 -1
  256. package/dist/index213.js +0 -40
  257. package/dist/index215.js +0 -4
  258. package/dist/index287.js +0 -4
  259. package/dist/index315.js +0 -4
  260. package/dist/index317.js +0 -4
  261. package/dist/index331.js +0 -5
  262. package/dist/index347.js +0 -131
  263. package/dist/index349.js +0 -4
  264. package/dist/index373.js +0 -7
  265. package/dist/index381.js +0 -4
  266. package/dist/index384.js +0 -96
  267. package/dist/index390.js +0 -57
  268. package/dist/index431.js +0 -7
  269. package/dist/index449.js +0 -4
  270. /package/dist/{index367.js → index397.js} +0 -0
package/dist/index374.js CHANGED
@@ -1,448 +1,96 @@
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"
283
- };
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
- }
427
- }
1
+ import { defineComponent as u, createElementBlock as l, openBlock as a, normalizeClass as n, unref as r, renderSlot as e, createBlock as i, createVNode as h, withCtx as t, resolveDynamicComponent as p } from "vue";
2
+ import v from "./index399.js";
3
+ import { useData as $ } from "./index272.js";
4
+ import { useLayout as b } from "./index350.js";
5
+ import y from "./index400.js";
6
+ import g from "./index401.js";
7
+ import k from "./index402.js";
8
+ const S = /* @__PURE__ */ u({
9
+ __name: "VPContent",
10
+ setup(C) {
11
+ const { page: d, frontmatter: s } = $(), { isHome: f, hasSidebar: m } = b();
12
+ return (o, P) => (a(), l("div", {
13
+ class: n(["VPContent", { "has-sidebar": r(m), "is-home": r(f) }]),
14
+ id: "VPContent"
15
+ }, [
16
+ r(d).isNotFound ? e(o.$slots, "not-found", { key: 0 }, () => [
17
+ h(v)
18
+ ], !0) : r(s).layout === "page" ? (a(), i(k, { key: 1 }, {
19
+ "page-top": t(() => [
20
+ e(o.$slots, "page-top", {}, void 0, !0)
21
+ ]),
22
+ "page-bottom": t(() => [
23
+ e(o.$slots, "page-bottom", {}, void 0, !0)
24
+ ]),
25
+ _: 3
26
+ })) : r(s).layout === "home" ? (a(), i(g, { key: 2 }, {
27
+ "home-hero-before": t(() => [
28
+ e(o.$slots, "home-hero-before", {}, void 0, !0)
29
+ ]),
30
+ "home-hero-info-before": t(() => [
31
+ e(o.$slots, "home-hero-info-before", {}, void 0, !0)
32
+ ]),
33
+ "home-hero-info": t(() => [
34
+ e(o.$slots, "home-hero-info", {}, void 0, !0)
35
+ ]),
36
+ "home-hero-info-after": t(() => [
37
+ e(o.$slots, "home-hero-info-after", {}, void 0, !0)
38
+ ]),
39
+ "home-hero-actions-after": t(() => [
40
+ e(o.$slots, "home-hero-actions-after", {}, void 0, !0)
41
+ ]),
42
+ "home-hero-image": t(() => [
43
+ e(o.$slots, "home-hero-image", {}, void 0, !0)
44
+ ]),
45
+ "home-hero-after": t(() => [
46
+ e(o.$slots, "home-hero-after", {}, void 0, !0)
47
+ ]),
48
+ "home-features-before": t(() => [
49
+ e(o.$slots, "home-features-before", {}, void 0, !0)
50
+ ]),
51
+ "home-features-after": t(() => [
52
+ e(o.$slots, "home-features-after", {}, void 0, !0)
53
+ ]),
54
+ _: 3
55
+ })) : r(s).layout && r(s).layout !== "doc" ? (a(), i(p(r(s).layout), { key: 3 })) : (a(), i(y, { key: 4 }, {
56
+ "doc-top": t(() => [
57
+ e(o.$slots, "doc-top", {}, void 0, !0)
58
+ ]),
59
+ "doc-bottom": t(() => [
60
+ e(o.$slots, "doc-bottom", {}, void 0, !0)
61
+ ]),
62
+ "doc-footer-before": t(() => [
63
+ e(o.$slots, "doc-footer-before", {}, void 0, !0)
64
+ ]),
65
+ "doc-before": t(() => [
66
+ e(o.$slots, "doc-before", {}, void 0, !0)
67
+ ]),
68
+ "doc-after": t(() => [
69
+ e(o.$slots, "doc-after", {}, void 0, !0)
70
+ ]),
71
+ "aside-top": t(() => [
72
+ e(o.$slots, "aside-top", {}, void 0, !0)
73
+ ]),
74
+ "aside-outline-before": t(() => [
75
+ e(o.$slots, "aside-outline-before", {}, void 0, !0)
76
+ ]),
77
+ "aside-outline-after": t(() => [
78
+ e(o.$slots, "aside-outline-after", {}, void 0, !0)
79
+ ]),
80
+ "aside-ads-before": t(() => [
81
+ e(o.$slots, "aside-ads-before", {}, void 0, !0)
82
+ ]),
83
+ "aside-ads-after": t(() => [
84
+ e(o.$slots, "aside-ads-after", {}, void 0, !0)
85
+ ]),
86
+ "aside-bottom": t(() => [
87
+ e(o.$slots, "aside-bottom", {}, void 0, !0)
88
+ ]),
89
+ _: 3
90
+ }))
91
+ ], 2));
92
+ }
93
+ });
428
94
  export {
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
95
+ S as default
448
96
  };
@@ -0,0 +1,29 @@
1
+ import { defineComponent as c, createElementBlock as t, createCommentVNode as r, unref as e, openBlock as s, normalizeClass as i, createElementVNode as m } from "vue";
2
+ import { useData as f } from "./index272.js";
3
+ import { useLayout as l } from "./index350.js";
4
+ const p = { class: "container" }, _ = ["innerHTML"], u = ["innerHTML"], H = /* @__PURE__ */ c({
5
+ __name: "VPFooter",
6
+ setup(d) {
7
+ const { theme: o, frontmatter: n } = f(), { hasSidebar: a } = l();
8
+ return (h, y) => e(o).footer && e(n).footer !== !1 ? (s(), t("footer", {
9
+ key: 0,
10
+ class: i(["VPFooter", { "has-sidebar": e(a) }])
11
+ }, [
12
+ m("div", p, [
13
+ e(o).footer.message ? (s(), t("p", {
14
+ key: 0,
15
+ class: "message",
16
+ innerHTML: e(o).footer.message
17
+ }, null, 8, _)) : r("", !0),
18
+ e(o).footer.copyright ? (s(), t("p", {
19
+ key: 1,
20
+ class: "copyright",
21
+ innerHTML: e(o).footer.copyright
22
+ }, null, 8, u)) : r("", !0)
23
+ ])
24
+ ], 2)) : r("", !0);
25
+ }
26
+ });
27
+ export {
28
+ H as default
29
+ };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as h, ref as y, onMounted as g, computed as N, createElementBlock as r, createCommentVNode as l, unref as e, openBlock as u, normalizeClass as V, createElementVNode as s, createVNode as _, toDisplayString as b } from "vue";
2
2
  import { useWindowScroll as L } from "@vueuse/core";
3
- import { useData as k } from "./index234.js";
4
- import { useLayout as x } from "./index351.js";
5
- import C from "./index405.js";
3
+ import { useData as k } from "./index272.js";
4
+ import { useLayout as x } from "./index350.js";
5
+ import C from "./index403.js";
6
6
  const P = { class: "container" }, S = ["aria-expanded"], H = { class: "menu-text" }, z = /* @__PURE__ */ h({
7
7
  __name: "VPLocalNav",
8
8
  props: {
package/dist/index380.js CHANGED
@@ -1,4 +1,57 @@
1
- import f from "./index364.js";
1
+ import { defineComponent as c, ref as n, watch as d, createElementBlock as v, createCommentVNode as k, unref as u, openBlock as m, withModifiers as y, normalizeClass as S, createElementVNode as p, renderSlot as f, createBlock as V } from "vue";
2
+ import { useScrollLock as B } from "@vueuse/core";
3
+ import { inBrowser as C } from "vitepress";
4
+ import { useLayout as E } from "./index350.js";
5
+ import N from "./index404.js";
6
+ const P = {
7
+ class: "nav",
8
+ id: "VPSidebarNav",
9
+ "aria-labelledby": "sidebar-aria-label",
10
+ tabindex: "-1"
11
+ }, g = /* @__PURE__ */ c({
12
+ __name: "VPSidebar",
13
+ props: {
14
+ open: { type: Boolean }
15
+ },
16
+ setup(a) {
17
+ const { sidebarGroups: r, hasSidebar: b } = E(), s = a, o = n(null), t = B(C ? document.body : null);
18
+ d(
19
+ [s, o],
20
+ () => {
21
+ s.open ? (t.value = !0, o.value?.focus()) : t.value = !1;
22
+ },
23
+ { immediate: !0, flush: "post" }
24
+ );
25
+ const i = n(0);
26
+ return d(
27
+ r,
28
+ () => {
29
+ i.value += 1;
30
+ },
31
+ { deep: !0 }
32
+ ), (l, e) => u(b) ? (m(), v("aside", {
33
+ key: 0,
34
+ class: S(["VPSidebar", { open: a.open }]),
35
+ ref_key: "navEl",
36
+ ref: o,
37
+ onClick: e[0] || (e[0] = y(() => {
38
+ }, ["stop"]))
39
+ }, [
40
+ p("nav", P, [
41
+ e[1] || (e[1] = p("span", {
42
+ class: "visually-hidden",
43
+ id: "sidebar-aria-label"
44
+ }, " Sidebar Navigation ", -1)),
45
+ f(l.$slots, "sidebar-nav-before", {}, void 0, !0),
46
+ (m(), V(N, {
47
+ items: u(r),
48
+ key: i.value
49
+ }, null, 8, ["items"])),
50
+ f(l.$slots, "sidebar-nav-after", {}, void 0, !0)
51
+ ])
52
+ ], 2)) : k("", !0);
53
+ }
54
+ });
2
55
  export {
3
- f as default
56
+ g as default
4
57
  };