@windrun-huaiin/base-ui 4.1.1 → 5.1.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.
- package/dist/components/{client/index.d.mts → index.d.cts} +6 -23
- package/dist/components/index.d.ts +44 -125
- package/dist/components/index.js +827 -220
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +799 -129
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/{index.d.mts → server.d.cts} +8 -1
- package/dist/components/server.d.ts +138 -0
- package/dist/{index.js → components/server.js} +373 -200
- package/dist/components/server.js.map +1 -0
- package/dist/{index.mjs → components/server.mjs} +343 -107
- package/dist/components/server.mjs.map +1 -0
- package/dist/ui/index.js +478 -334
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +400 -150
- package/dist/ui/index.mjs.map +1 -1
- package/package.json +14 -21
- package/src/components/404-page.tsx +7 -4
- package/src/components/index.ts +8 -15
- package/src/components/server.ts +4 -0
- package/src/components/site-icon.tsx +29 -37
- package/src/ui/index.ts +1 -1
- package/dist/components/client/index.d.ts +0 -67
- package/dist/components/client/index.js +0 -1645
- package/dist/components/client/index.js.map +0 -1
- package/dist/components/client/index.mjs +0 -1613
- package/dist/components/client/index.mjs.map +0 -1
- package/dist/index.d.mts +0 -4
- package/dist/index.d.ts +0 -4
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/src/components/client/index.ts +0 -19
- package/src/components/icon-context.tsx +0 -57
- package/src/index.ts +0 -5
- /package/dist/ui/{index.d.mts → index.d.cts} +0 -0
package/dist/components/index.js
CHANGED
@@ -1,17 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
var
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
5
|
-
var lucideReact = require('lucide-react');
|
6
|
-
|
7
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
8
|
-
|
9
|
-
var React29__default = /*#__PURE__*/_interopDefault(React29);
|
10
|
-
|
1
|
+
"use strict";
|
2
|
+
"use client";
|
3
|
+
var __create = Object.create;
|
11
4
|
var __defProp = Object.defineProperty;
|
12
5
|
var __defProps = Object.defineProperties;
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
13
7
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
8
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
14
9
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
10
|
+
var __getProtoOf = Object.getPrototypeOf;
|
15
11
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
16
12
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
17
13
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
@@ -43,15 +39,50 @@ var __export = (target, all) => {
|
|
43
39
|
for (var name in all)
|
44
40
|
__defProp(target, name, { get: all[name], enumerable: true });
|
45
41
|
};
|
42
|
+
var __copyProps = (to, from, except, desc) => {
|
43
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
44
|
+
for (let key of __getOwnPropNames(from))
|
45
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
46
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
47
|
+
}
|
48
|
+
return to;
|
49
|
+
};
|
50
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
51
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
52
|
+
// file that has been converted to a CommonJS file using a Babel-
|
53
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
54
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
55
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
56
|
+
mod
|
57
|
+
));
|
58
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
59
|
+
|
60
|
+
// src/components/index.ts
|
61
|
+
var components_exports = {};
|
62
|
+
__export(components_exports, {
|
63
|
+
GoogleAnalyticsScript: () => GoogleAnalyticsScript,
|
64
|
+
LanguageDetector: () => LanguageDetector,
|
65
|
+
LanguageSwitcher: () => LanguageSwitcher,
|
66
|
+
MicrosoftClarityScript: () => MicrosoftClarityScript,
|
67
|
+
NotFoundPage: () => NotFoundPage,
|
68
|
+
useGoogleAnalytics: () => useGoogleAnalytics
|
69
|
+
});
|
70
|
+
module.exports = __toCommonJS(components_exports);
|
71
|
+
|
72
|
+
// src/assets/github.tsx
|
73
|
+
var import_react = __toESM(require("react"), 1);
|
46
74
|
|
47
75
|
// src/lib/theme-util.ts
|
48
76
|
var themeIconColor = process.env.NEXT_PUBLIC_STYLE_ICON_COLOR || "text-purple-500";
|
49
77
|
var themeSvgIconColor = process.env.NEXT_PUBLIC_STYLE_SVG_ICON_COLOR || "#AC62FD";
|
50
78
|
var themeSvgIconSize = process.env.NEXT_PUBLIC_STYLE_SVG_ICON_SIZE || 18;
|
51
|
-
|
79
|
+
|
80
|
+
// src/assets/github.tsx
|
81
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
82
|
+
var GitHubIcon = import_react.default.forwardRef(
|
52
83
|
(_a, ref) => {
|
53
84
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
54
|
-
return /* @__PURE__ */
|
85
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
55
86
|
"svg",
|
56
87
|
__spreadProps(__spreadValues({
|
57
88
|
ref,
|
@@ -60,7 +91,7 @@ var GitHubIcon = React29__default.default.forwardRef(
|
|
60
91
|
}, props), {
|
61
92
|
viewBox: "0 0 1024 1024",
|
62
93
|
xmlns: "http://www.w3.org/2000/svg",
|
63
|
-
children: /* @__PURE__ */
|
94
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
64
95
|
"path",
|
65
96
|
{
|
66
97
|
d: "M512 0C229.283787 0 0.142041 234.942803 0.142041 524.867683c0 231.829001 146.647305 428.553077 350.068189 497.952484 25.592898 4.819996 34.976961-11.38884 34.976961-25.294314 0-12.45521-0.469203-45.470049-0.725133-89.276559-142.381822 31.735193-172.453477-70.380469-172.453477-70.380469-23.246882-60.569859-56.816233-76.693384-56.816234-76.693385-46.493765-32.58829 3.540351-31.948468 3.540351-31.948467 51.356415 3.71097 78.356923 54.086324 78.356923 54.086324 45.683323 80.19108 119.817417 57.072162 148.993321 43.593236 4.649376-33.91059 17.915029-57.029508 32.50298-70.167195-113.675122-13.222997-233.151301-58.223843-233.1513-259.341366 0-57.285437 19.919806-104.163095 52.678715-140.846248-5.246544-13.265652-22.820334-66.626844 4.990615-138.884127 0 0 42.996069-14.076094 140.760939 53.787741 40.863327-11.644769 84.627183-17.445825 128.177764-17.6591 43.465272 0.213274 87.271782 6.014331 128.135109 17.6591 97.679561-67.906489 140.59032-53.787741 140.59032-53.787741 27.938914 72.257282 10.407779 125.618474 5.118579 138.884127 32.844219 36.683154 52.593405 83.560812 52.593405 140.846248 0 201.586726-119.646798 245.990404-233.663158 258.957473 18.341577 16.208835 34.721032 48.199958 34.721032 97.210357 0 70.167195-0.639822 126.7275-0.639823 143.960051 0 14.033439 9.213443 30.370239 35.190235 25.209005 203.250265-69.527373 349.769606-266.123484 349.769605-497.867175C1023.857959 234.942803 794.673558 0 512 0",
|
@@ -74,10 +105,14 @@ var GitHubIcon = React29__default.default.forwardRef(
|
|
74
105
|
);
|
75
106
|
GitHubIcon.displayName = "GitHub";
|
76
107
|
var github_default = GitHubIcon;
|
77
|
-
|
108
|
+
|
109
|
+
// src/assets/d8.tsx
|
110
|
+
var import_react2 = __toESM(require("react"), 1);
|
111
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
112
|
+
var D8Icon = import_react2.default.forwardRef(
|
78
113
|
(_a, ref) => {
|
79
114
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
80
|
-
return /* @__PURE__ */
|
115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
81
116
|
"svg",
|
82
117
|
__spreadProps(__spreadValues({
|
83
118
|
ref,
|
@@ -87,21 +122,21 @@ var D8Icon = React29__default.default.forwardRef(
|
|
87
122
|
viewBox: "0 0 1024 1024",
|
88
123
|
xmlns: "http://www.w3.org/2000/svg",
|
89
124
|
children: [
|
90
|
-
/* @__PURE__ */
|
125
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
91
126
|
"path",
|
92
127
|
{
|
93
128
|
d: "M376.832 80.896C187.392 142.336 61.44 313.344 61.44 513.024c0 290.816 277.504 506.88 558.08 434.176C842.752 888.832 993.28 665.6 955.392 445.44 908.288 168.96 635.904-2.048 376.832 80.896zM624.64 134.144c103.424 25.6 214.016 131.072 256 241.664 32.768 87.04 26.624 220.16-15.36 305.152-37.888 77.824-106.496 146.432-184.32 185.344-56.32 26.624-70.656 29.696-168.96 29.696-95.232 0-114.688-3.072-165.888-27.648-157.696-73.728-253.952-251.904-225.28-416.768 41.984-239.616 264.192-378.88 503.808-317.44z",
|
94
129
|
fill: themeSvgIconColor
|
95
130
|
}
|
96
131
|
),
|
97
|
-
/* @__PURE__ */
|
132
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
98
133
|
"path",
|
99
134
|
{
|
100
135
|
d: "M462.848 227.328L460.8 286.72h-35.84c-19.456 0-35.84 4.096-35.84 10.24 0 5.12 11.264 10.24 24.576 10.24 14.336 0 27.648 3.072 29.696 7.168 2.048 5.12-17.408 91.136-43.008 192.512l-47.104 184.32-32.768 3.072c-68.608 7.168-30.72 22.528 53.248 22.528h86.016l4.096 64.512 3.072 63.488 2.048-64.512 2.048-63.488 44.032 1.024c56.32 2.048 123.904-25.6 155.648-64.512 45.056-54.272 26.624-134.144-34.816-153.6-9.216-3.072-1.024-12.288 23.552-26.624 21.504-12.288 41.984-20.48 47.104-17.408 19.456 12.288 35.84-73.728 20.48-112.64-14.336-38.912-66.56-56.32-167.936-56.32h-87.04l-4.096-59.392-3.072-58.368-2.048 58.368z m190.464 96.256c52.224 36.864 10.24 136.192-67.584 157.696C532.48 495.616 460.8 494.592 460.8 478.208c0-6.144 4.096-28.672 9.216-48.128 6.144-19.456 15.36-55.296 21.504-79.872l11.264-43.008h63.488c40.96 0 71.68 6.144 87.04 16.384z m-24.576 211.968c19.456 26.624 19.456 30.72 6.144 70.656-22.528 64.512-66.56 90.112-154.624 90.112-41.984 0-70.656-4.096-70.656-10.24s10.24-50.176 21.504-98.304l22.528-87.04 76.8 3.072c70.656 3.072 78.848 5.12 98.304 31.744z",
|
101
136
|
fill: themeSvgIconColor
|
102
137
|
}
|
103
138
|
),
|
104
|
-
/* @__PURE__ */
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
105
140
|
"path",
|
106
141
|
{
|
107
142
|
d: "M227.328 421.888c-7.168 7.168-12.288 18.432-12.288 25.6 0 18.432-10.24 16.384-33.792-5.12-19.456-16.384-20.48-16.384-8.192 5.12 6.144 13.312 16.384 23.552 21.504 23.552 19.456 0 10.24 22.528-10.24 27.648-19.456 5.12-20.48 6.144-3.072 19.456 12.288 9.216 14.336 16.384 7.168 21.504-6.144 5.12-14.336 17.408-17.408 28.672-7.168 20.48-7.168 20.48 8.192 0 13.312-16.384 19.456-18.432 35.84-7.168 24.576 15.36 58.368 16.384 66.56 2.048 12.288-20.48 46.08-11.264 47.104 12.288 1.024 19.456 2.048 19.456 6.144 5.12 3.072-10.24-3.072-27.648-13.312-38.912-16.384-18.432-16.384-19.456 7.168-28.672 24.576-10.24 24.576-10.24 2.048-10.24C317.44 501.76 307.2 496.64 307.2 491.52v-18.432c0-4.096 6.144-7.168 12.288-7.168 7.168 0 14.336-9.216 16.384-19.456 4.096-19.456 3.072-19.456-14.336-2.048-17.408 18.432-18.432 17.408-37.888-8.192-20.48-28.672-36.864-33.792-56.32-14.336zM750.592 427.008c-1.024 10.24-5.12 37.888-9.216 61.44-4.096 29.696-3.072 49.152 6.144 59.392 8.192 10.24 9.216 15.36 1.024 15.36-6.144 0-17.408 14.336-26.624 30.72-18.432 34.816-6.144 71.68 22.528 71.68 15.36 0 15.36-1.024-1.024-13.312-17.408-12.288-17.408-16.384-2.048-51.2 15.36-37.888 43.008-50.176 53.248-24.576 3.072 8.192-1.024 27.648-7.168 44.032-7.168 16.384-13.312 38.912-14.336 49.152-1.024 10.24-10.24 25.6-20.48 32.768-11.264 8.192-14.336 14.336-9.216 14.336 23.552 0 44.032-28.672 59.392-80.896 20.48-68.608 20.48-72.704 1.024-72.704-16.384 0-20.48-12.288-8.192-23.552 3.072-4.096 12.288-2.048 19.456 4.096 16.384 13.312 45.056 5.12 44.032-13.312 0-10.24-2.048-10.24-6.144-1.024-2.048 7.168-9.216 13.312-15.36 13.312-10.24 0-6.144-45.056 8.192-100.352 4.096-12.288 2.048-22.528-4.096-22.528-5.12 0-15.36 21.504-22.528 48.128-13.312 54.272-26.624 74.752-47.104 74.752-17.408 0-19.456-53.248-3.072-83.968 8.192-15.36 8.192-24.576-3.072-34.816-12.288-12.288-14.336-11.264-15.36 3.072zM696.32 695.296c0 6.144 5.12 13.312 10.24 16.384 6.144 3.072 10.24-1.024 10.24-9.216 0-9.216-4.096-16.384-10.24-16.384-5.12 0-10.24 4.096-10.24 9.216z",
|
@@ -115,10 +150,14 @@ var D8Icon = React29__default.default.forwardRef(
|
|
115
150
|
);
|
116
151
|
D8Icon.displayName = "D8";
|
117
152
|
var d8_default = D8Icon;
|
118
|
-
|
153
|
+
|
154
|
+
// src/assets/clerk.tsx
|
155
|
+
var import_react3 = __toESM(require("react"), 1);
|
156
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
157
|
+
var ClerkIcon = import_react3.default.forwardRef(
|
119
158
|
(_a, ref) => {
|
120
159
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
121
|
-
return /* @__PURE__ */
|
160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
122
161
|
"svg",
|
123
162
|
__spreadProps(__spreadValues({
|
124
163
|
ref,
|
@@ -127,7 +166,7 @@ var ClerkIcon = React29__default.default.forwardRef(
|
|
127
166
|
}, props), {
|
128
167
|
viewBox: "0 0 24 24",
|
129
168
|
xmlns: "http://www.w3.org/2000/svg",
|
130
|
-
children: /* @__PURE__ */
|
169
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
131
170
|
"path",
|
132
171
|
{
|
133
172
|
d: "M 21.255071,20.629393 18.43951,17.813831 a 0.5590077,0.5590077 0 0 0 -0.6841,-0.08209 6.6983195,6.6983195 0 0 1 -6.920164,0 0.56291684,0.56291684 0 0 0 -0.6841,0.08209 l -2.8155614,2.815562 a 0.56291684,0.56291684 0 0 0 -0.1006604,0.674327 0.55705312,0.55705312 0 0 0 0.1622295,0.181775 11.727434,11.727434 0 0 0 13.7924393,0 0.56682599,0.56682599 0 0 0 0.233572,-0.413392 0.56291684,0.56291684 0 0 0 -0.168094,-0.44271 z m 0.002,-17.2666924 -2.814584,2.8145842 A 0.55607584,0.55607584 0 0 1 17.757364,6.2593769 6.7012514,6.7012514 0 0 0 8.7985821,8.1699714 6.7061378,6.7061378 0 0 0 7.6043383,11.778112 6.7041832,6.7041832 0 0 0 8.5601242,15.456617 0.55998498,0.55998498 0 0 1 8.4790095,16.13974 L 5.663448,18.954324 A 0.55412127,0.55412127 0 0 1 4.8190727,18.892755 11.720593,11.720593 0 0 1 6.8899421,2.9121717 11.717661,11.717661 0 0 1 21.19448,2.5163708 0.55314398,0.55314398 0 0 1 21.42121,2.9248764 0.55705312,0.55705312 0 0 1 21.257026,3.3627006 Z M 14.300703,15.345206 a 3.3491597,3.3491597 0 1 0 0,-6.698319 3.3491597,3.3491597 0 0 0 0,6.698319 z",
|
@@ -142,10 +181,14 @@ var ClerkIcon = React29__default.default.forwardRef(
|
|
142
181
|
);
|
143
182
|
ClerkIcon.displayName = "Clerk";
|
144
183
|
var clerk_default = ClerkIcon;
|
145
|
-
|
184
|
+
|
185
|
+
// src/assets/iterm.tsx
|
186
|
+
var import_react4 = __toESM(require("react"), 1);
|
187
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
188
|
+
var ItermIcon = import_react4.default.forwardRef(
|
146
189
|
(_a, ref) => {
|
147
190
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
148
|
-
return /* @__PURE__ */
|
191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
149
192
|
"svg",
|
150
193
|
__spreadProps(__spreadValues({
|
151
194
|
ref,
|
@@ -154,7 +197,7 @@ var ItermIcon = React29__default.default.forwardRef(
|
|
154
197
|
}, props), {
|
155
198
|
viewBox: "0 0 24 24",
|
156
199
|
xmlns: "http://www.w3.org/2000/svg",
|
157
|
-
children: /* @__PURE__ */
|
200
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
158
201
|
"path",
|
159
202
|
{
|
160
203
|
d: "M24 5.359v13.282A5.36 5.36 0 0 1 18.641 24H5.359A5.36 5.36 0 0 1 0 18.641V5.359A5.36 5.36 0 0 1 5.359 0h13.282A5.36 5.36 0 0 1 24 5.359m-.932-.233A4.196 4.196 0 0 0 18.874.932H5.126A4.196 4.196 0 0 0 .932 5.126v13.748a4.196 4.196 0 0 0 4.194 4.194h13.748a4.196 4.196 0 0 0 4.194-4.194zm-.816.233v13.282a3.613 3.613 0 0 1-3.611 3.611H5.359a3.613 3.613 0 0 1-3.611-3.611V5.359a3.613 3.613 0 0 1 3.611-3.611h13.282a3.613 3.613 0 0 1 3.611 3.611M8.854 4.194v6.495h.962V4.194zM5.483 9.493v1.085h.597V9.48q.283-.037.508-.133.373-.165.575-.448.208-.284.208-.649a.9.9 0 0 0-.171-.568 1.4 1.4 0 0 0-.426-.388 3 3 0 0 0-.544-.261 32 32 0 0 0-.545-.209 1.8 1.8 0 0 1-.426-.216q-.164-.12-.164-.284 0-.223.179-.351.18-.126.485-.127.344 0 .575.105.239.105.5.298l.433-.5a2.3 2.3 0 0 0-.605-.433 1.6 1.6 0 0 0-.582-.159v-.968h-.597v.978a2 2 0 0 0-.477.127 1.2 1.2 0 0 0-.545.411q-.194.268-.194.634 0 .335.164.56.164.224.418.38a4 4 0 0 0 .552.262q.291.104.545.209.261.104.425.238a.39.39 0 0 1 .165.321q0 .225-.187.359-.18.134-.537.134-.381 0-.717-.134a4.4 4.4 0 0 1-.649-.351l-.388.589q.209.173.477.306.276.135.575.217.191.046.373.064",
|
@@ -169,10 +212,14 @@ var ItermIcon = React29__default.default.forwardRef(
|
|
169
212
|
);
|
170
213
|
ItermIcon.displayName = "Iterm";
|
171
214
|
var iterm_default = ItermIcon;
|
172
|
-
|
215
|
+
|
216
|
+
// src/assets/markdown.tsx
|
217
|
+
var import_react5 = __toESM(require("react"), 1);
|
218
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
219
|
+
var MarkdownIcon = import_react5.default.forwardRef(
|
173
220
|
(_a, ref) => {
|
174
221
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
175
|
-
return /* @__PURE__ */
|
222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
176
223
|
"svg",
|
177
224
|
__spreadProps(__spreadValues({
|
178
225
|
ref,
|
@@ -181,7 +228,7 @@ var MarkdownIcon = React29__default.default.forwardRef(
|
|
181
228
|
}, props), {
|
182
229
|
viewBox: "0 0 1024 1024",
|
183
230
|
xmlns: "http://www.w3.org/2000/svg",
|
184
|
-
children: /* @__PURE__ */
|
231
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
185
232
|
"path",
|
186
233
|
{
|
187
234
|
d: "M20.48 327.76192a163.84 163.84 0 0 1 163.84-163.84h655.36a163.84 163.84 0 0 1 163.84 163.84v327.68a163.84 163.84 0 0 1-163.84 163.84H184.32a163.84 163.84 0 0 1-163.84-163.84v-327.68z m163.84-81.92a81.92 81.92 0 0 0-81.92 81.92v327.68a81.92 81.92 0 0 0 81.92 81.92h655.36a81.92 81.92 0 0 0 81.92-81.92v-327.68a81.92 81.92 0 0 0-81.92-81.92H184.32z m68.97664 84.00896a40.96 40.96 0 0 1 45.71136 14.336L389.12 464.24064l90.112-120.13568a40.96 40.96 0 0 1 73.728 24.576v245.76a40.96 40.96 0 0 1-81.92 0v-122.88l-49.152 65.536a41.04192 41.04192 0 0 1-65.536 0l-49.152-65.536v122.88a40.96 40.96 0 1 1-81.92 0v-245.76a40.96 40.96 0 0 1 28.01664-38.87104zM757.76 368.76288a40.96 40.96 0 0 0-81.92 0v146.8416l-12.00128-12.00128a40.96 40.96 0 0 0-57.91744 57.91744l81.92 81.92a40.96 40.96 0 0 0 57.91744 0l81.92-81.92a40.96 40.96 0 0 0-57.91744-57.91744l-12.00128 12.00128V368.72192z",
|
@@ -195,10 +242,14 @@ var MarkdownIcon = React29__default.default.forwardRef(
|
|
195
242
|
);
|
196
243
|
MarkdownIcon.displayName = "Markdown";
|
197
244
|
var markdown_default = MarkdownIcon;
|
198
|
-
|
245
|
+
|
246
|
+
// src/assets/mdx.tsx
|
247
|
+
var import_react6 = __toESM(require("react"), 1);
|
248
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
249
|
+
var MDXIcon = import_react6.default.forwardRef(
|
199
250
|
(_a, ref) => {
|
200
251
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
201
|
-
return /* @__PURE__ */
|
252
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
202
253
|
"svg",
|
203
254
|
__spreadProps(__spreadValues({
|
204
255
|
ref,
|
@@ -208,7 +259,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
208
259
|
viewBox: "0 0 1024 1024",
|
209
260
|
xmlns: "http://www.w3.org/2000/svg",
|
210
261
|
children: [
|
211
|
-
/* @__PURE__ */
|
262
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
212
263
|
"path",
|
213
264
|
{
|
214
265
|
d: "M20.48 327.76192a163.84 163.84 0 0 1 163.84-163.84h655.36a163.84 163.84 0 0 1 163.84 163.84v327.68a163.84 163.84 0 0 1-163.84 163.84H184.32a163.84 163.84 0 0 1-163.84-163.84v-327.68z m163.84-81.92a81.92 81.92 0 0 0-81.92 81.92v327.68a81.92 81.92 0 0 0 81.92 81.92h655.36a81.92 81.92 0 0 0 81.92-81.92v-327.68a81.92 81.92 0 0 0-81.92-81.92H184.32z m68.97664 84.00896a40.96 40.96 0 0 1 45.71136 14.336L389.12 464.24064l90.112-120.13568a40.96 40.96 0 0 1 73.728 24.576v245.76a40.96 40.96 0 0 1-81.92 0v-122.88l-49.152 65.536a41.04192 41.04192 0 0 1-65.536 0l-49.152-65.536v122.88a40.96 40.96 0 1 1-81.92 0v-245.76a40.96 40.96 0 0 1 28.01664-38.87104zM757.76 368.76288a40.96 40.96 0 0 0-81.92 0v146.8416l-12.00128-12.00128a40.96 40.96 0 0 0-57.91744 57.91744l81.92 81.92a40.96 40.96 0 0 0 57.91744 0l81.92-81.92a40.96 40.96 0 0 0-57.91744-57.91744l-12.00128 12.00128V368.72192z",
|
@@ -224,7 +275,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
224
275
|
}
|
225
276
|
}
|
226
277
|
),
|
227
|
-
/* @__PURE__ */
|
278
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
228
279
|
"circle",
|
229
280
|
{
|
230
281
|
id: "path3",
|
@@ -242,7 +293,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
242
293
|
}
|
243
294
|
}
|
244
295
|
),
|
245
|
-
/* @__PURE__ */
|
296
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
246
297
|
"circle",
|
247
298
|
{
|
248
299
|
id: "path3-6",
|
@@ -259,7 +310,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
259
310
|
}
|
260
311
|
}
|
261
312
|
),
|
262
|
-
/* @__PURE__ */
|
313
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
263
314
|
"circle",
|
264
315
|
{
|
265
316
|
id: "path3-6-8",
|
@@ -276,7 +327,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
276
327
|
}
|
277
328
|
}
|
278
329
|
),
|
279
|
-
/* @__PURE__ */
|
330
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
280
331
|
"circle",
|
281
332
|
{
|
282
333
|
id: "path3-6-8-7",
|
@@ -293,7 +344,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
293
344
|
}
|
294
345
|
}
|
295
346
|
),
|
296
|
-
/* @__PURE__ */
|
347
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
297
348
|
"circle",
|
298
349
|
{
|
299
350
|
id: "path3-6-4",
|
@@ -317,10 +368,14 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
317
368
|
);
|
318
369
|
MDXIcon.displayName = "MDX";
|
319
370
|
var mdx_default = MDXIcon;
|
320
|
-
|
371
|
+
|
372
|
+
// src/assets/html.tsx
|
373
|
+
var import_react7 = __toESM(require("react"), 1);
|
374
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
375
|
+
var HtmlIcon = import_react7.default.forwardRef(
|
321
376
|
(_a, ref) => {
|
322
377
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
323
|
-
return /* @__PURE__ */
|
378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
324
379
|
"svg",
|
325
380
|
__spreadProps(__spreadValues({
|
326
381
|
ref,
|
@@ -329,7 +384,7 @@ var HtmlIcon = React29__default.default.forwardRef(
|
|
329
384
|
}, props), {
|
330
385
|
viewBox: "0 0 32 32",
|
331
386
|
xmlns: "http://www.w3.org/2000/svg",
|
332
|
-
children: /* @__PURE__ */
|
387
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
333
388
|
"path",
|
334
389
|
{
|
335
390
|
fill: themeSvgIconColor,
|
@@ -342,10 +397,14 @@ var HtmlIcon = React29__default.default.forwardRef(
|
|
342
397
|
);
|
343
398
|
HtmlIcon.displayName = "Html";
|
344
399
|
var html_default = HtmlIcon;
|
345
|
-
|
400
|
+
|
401
|
+
// src/assets/json.tsx
|
402
|
+
var import_react8 = __toESM(require("react"), 1);
|
403
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
404
|
+
var JsonIcon = import_react8.default.forwardRef(
|
346
405
|
(_a, ref) => {
|
347
406
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
348
|
-
return /* @__PURE__ */
|
407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
349
408
|
"svg",
|
350
409
|
__spreadProps(__spreadValues({
|
351
410
|
ref,
|
@@ -354,7 +413,7 @@ var JsonIcon = React29__default.default.forwardRef(
|
|
354
413
|
}, props), {
|
355
414
|
viewBox: "0 -960 960 960",
|
356
415
|
xmlns: "http://www.w3.org/2000/svg",
|
357
|
-
children: /* @__PURE__ */
|
416
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
358
417
|
"path",
|
359
418
|
{
|
360
419
|
fill: themeSvgIconColor,
|
@@ -367,10 +426,14 @@ var JsonIcon = React29__default.default.forwardRef(
|
|
367
426
|
);
|
368
427
|
JsonIcon.displayName = "Json";
|
369
428
|
var json_default = JsonIcon;
|
370
|
-
|
429
|
+
|
430
|
+
// src/assets/xml.tsx
|
431
|
+
var import_react9 = __toESM(require("react"), 1);
|
432
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
433
|
+
var XMLIcon = import_react9.default.forwardRef(
|
371
434
|
(_a, ref) => {
|
372
435
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
373
|
-
return /* @__PURE__ */
|
436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
374
437
|
"svg",
|
375
438
|
__spreadProps(__spreadValues({
|
376
439
|
ref,
|
@@ -379,7 +442,7 @@ var XMLIcon = React29__default.default.forwardRef(
|
|
379
442
|
}, props), {
|
380
443
|
viewBox: "0 0 1024 1024",
|
381
444
|
xmlns: "http://www.w3.org/2000/svg",
|
382
|
-
children: /* @__PURE__ */
|
445
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
383
446
|
"path",
|
384
447
|
{
|
385
448
|
d: "M354.40128 0c-87.04 0-157.44 70.55872-157.44 157.59872v275.68128H78.72c-21.6576 0-39.36256 17.69984-39.36256 39.36256v236.31872c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.24128v118.08256c0 87.04 70.4 157.59872 157.44 157.59872h472.63744c87.04 0 157.59872-70.55872 157.59872-157.59872V315.0336c0-41.74848-38.9888-81.93024-107.52-149.27872l-29.11744-29.12256L818.87744 107.52C751.5392 38.9888 711.39328 0 669.59872 0H354.4064z m0 78.72h287.20128c28.35456 7.0912 27.99616 42.1376 27.99616 76.8v120.16128c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.07744c39.38816 0 78.87872-0.0256 78.87872 39.36256v512c0 43.32032-35.55328 78.87872-78.87872 78.87872H354.4064c-43.32544 0-78.72-35.5584-78.72-78.87872v-118.08256h393.91744c21.66272 0 39.36256-17.69472 39.36256-39.35744V472.64256c0-21.66272-17.69984-39.36256-39.36256-39.36256H275.68128V157.59872c0-43.32032 35.39456-78.87872 78.72-78.87872zM145.12128 507.36128h23.99744l39.36256 67.2 40.32-67.2h23.04l-50.88256 83.51744 54.72256 92.16h-24.96l-43.20256-75.83744-43.19744 75.83744h-23.04l54.71744-92.16-50.87744-83.51744z m154.55744 0h32.64l49.92 143.03744h0.96256l48.95744-143.03744h33.60256v175.67744h-22.08256v-106.55744c0-10.88 0.32256-26.56256 0.96256-47.04256h-0.96256l-52.79744 153.6h-19.2l-52.80256-153.6h-0.95744c1.28 22.4 1.92 38.72256 1.92 48.96256v104.63744H299.6736V507.36128z m214.08256 0h22.07744v155.52h69.12v20.15744h-91.19744V507.36128z",
|
@@ -393,10 +456,14 @@ var XMLIcon = React29__default.default.forwardRef(
|
|
393
456
|
);
|
394
457
|
XMLIcon.displayName = "XML";
|
395
458
|
var xml_default = XMLIcon;
|
396
|
-
|
459
|
+
|
460
|
+
// src/assets/yaml.tsx
|
461
|
+
var import_react10 = __toESM(require("react"), 1);
|
462
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
463
|
+
var YamlIcon = import_react10.default.forwardRef(
|
397
464
|
(_a, ref) => {
|
398
465
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
399
|
-
return /* @__PURE__ */
|
466
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
400
467
|
"svg",
|
401
468
|
__spreadProps(__spreadValues({
|
402
469
|
ref,
|
@@ -405,7 +472,7 @@ var YamlIcon = React29__default.default.forwardRef(
|
|
405
472
|
}, props), {
|
406
473
|
viewBox: "0 0 1024 1024",
|
407
474
|
xmlns: "http://www.w3.org/2000/svg",
|
408
|
-
children: /* @__PURE__ */
|
475
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
409
476
|
"path",
|
410
477
|
{
|
411
478
|
d: "M354.401 0c-87.04 0-157.44 70.559-157.44 157.599V433.28H78.72c-21.658 0-39.363 17.7-39.363 39.363V708.96c0 21.658 17.7 39.358 39.363 39.358h118.241V866.4c0 87.04 70.4 157.599 157.44 157.599H827.04c87.04 0 157.598-70.559 157.598-157.599V315.034c0-41.749-38.988-81.93-107.52-149.28L848 136.633l-29.123-29.112C751.54 38.989 711.393 0 669.6 0H354.406z m0 78.72h287.202c28.354 7.091 27.996 42.138 27.996 76.8v120.161c0 21.658 17.7 39.358 39.362 39.358H827.04c39.388 0 78.878-0.026 78.878 39.362v512c0 43.32-35.553 78.879-78.878 78.879H354.406c-43.325 0-78.72-35.558-78.72-78.879V748.32h393.918c21.663 0 39.362-17.695 39.362-39.358V472.643c0-21.663-17.7-39.363-39.362-39.363H275.68V157.599c0-43.32 35.395-78.879 78.72-78.879z m-93.127 427.679h20.162l65.28 176.64h-23.04l-19.2-54.718h-65.28l-19.2 54.718h-23.04l64.318-176.64z m-181.438 0.962h23.998l40.32 89.278 41.282-89.278h23.998l-53.76 107.52v68.158h-22.078v-67.2L79.836 507.36z m290.878 0h32.64l49.92 143.038h0.962l48.958-143.038h33.602V683.04h-22.082V576.48c0-10.88 0.322-26.562 0.962-47.042h-0.962l-52.798 153.6h-19.2l-52.802-153.6h-0.958c1.28 22.4 1.92 38.722 1.92 48.962V683.04h-20.162V507.36z m214.082 0h22.078v155.52h69.12v20.158h-91.188V507.36z m-312.96 23.04c-1.92 8.96-4.802 18.238-8.642 27.838l-17.28 50.882h51.84l-18.238-50.882c-3.84-10.88-6.4-20.158-7.68-27.838z",
|
@@ -419,10 +486,14 @@ var YamlIcon = React29__default.default.forwardRef(
|
|
419
486
|
);
|
420
487
|
YamlIcon.displayName = "Yaml";
|
421
488
|
var yaml_default = YamlIcon;
|
422
|
-
|
489
|
+
|
490
|
+
// src/assets/csv.tsx
|
491
|
+
var import_react11 = __toESM(require("react"), 1);
|
492
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
493
|
+
var CSVIcon = import_react11.default.forwardRef(
|
423
494
|
(_a, ref) => {
|
424
495
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
425
|
-
return /* @__PURE__ */
|
496
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
426
497
|
"svg",
|
427
498
|
__spreadProps(__spreadValues({
|
428
499
|
ref,
|
@@ -432,7 +503,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
432
503
|
viewBox: "0 0 1024 1024",
|
433
504
|
xmlns: "http://www.w3.org/2000/svg",
|
434
505
|
children: [
|
435
|
-
/* @__PURE__ */
|
506
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
436
507
|
"path",
|
437
508
|
{
|
438
509
|
d: "M158.72 517.12h61.44v394.24c0 28.27776 22.92224 51.2 51.2 51.2h614.4c28.27776 0 51.2-22.92224 51.2-51.2V317.44h-204.8c-28.27776 0-51.2-22.92224-51.2-51.2V61.44H271.36c-28.27776 0-51.2 22.92224-51.2 51.2v97.28H158.72V76.8c0-42.41408 34.38592-76.8 76.8-76.8h481.28l281.6 281.6v665.6c0 42.41408-34.38592 76.8-76.8 76.8H235.52c-42.41408 0-76.8-34.38592-76.8-76.8v-430.08z",
|
@@ -440,7 +511,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
440
511
|
"p-id": "8469"
|
441
512
|
}
|
442
513
|
),
|
443
|
-
/* @__PURE__ */
|
514
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
444
515
|
"path",
|
445
516
|
{
|
446
517
|
d: "M102.4 209.92h460.8c42.41408 0 76.8 34.38592 76.8 76.8v153.6c0 42.41408-34.38592 76.8-76.8 76.8H102.4c-42.41408 0-76.8-34.38592-76.8-76.8V286.72c0-42.41408 34.38592-76.8 76.8-76.8z m129.81248 176.2304c-2.7136 11.80672-7.18848 20.45952-13.42464 25.9584-6.23104 5.49888-13.6704 8.25344-22.3232 8.25344-11.74016 0-21.2736-4.3264-28.60544-12.98432-7.33184-8.6528-10.99776-23.17312-10.99776-43.55584 0-19.21536 3.72224-33.11104 11.1616-41.69216 7.44448-8.58112 17.14176-12.87168 29.09696-12.87168 8.6528 0 16.00512 2.42176 22.05696 7.26016 6.04672 4.84352 10.02496 11.4432 11.9296 19.79904l32.23552-7.69536c-3.67104-12.90752-9.1648-22.8096-16.50176-29.70112-12.31872-11.66336-28.34432-17.48992-48.07168-17.48992-22.58432 0-40.8064 7.424-54.66624 22.272-13.86496 14.848-20.79232 35.69664-20.79232 62.53568 0 25.37472 6.89152 45.37856 20.67968 60.0064 13.78816 14.62784 31.3856 21.94432 52.80256 21.94432 17.3056 0 31.5904-4.27008 42.84416-12.81536 11.25376-8.54016 19.3024-21.61152 24.14592-39.21408l-31.56992-10.0096z m51.25632 6.81984c2.12992 18.03776 8.6528 31.7696 19.57888 41.19552 10.9312 9.4208 26.58304 14.1312 46.97088 14.1312 14.00832 0 25.7024-1.96096 35.09248-5.88288 9.38496-3.92192 16.64512-9.91744 21.78048-17.98656 5.13024-8.064 7.70048-16.7168 7.70048-25.9584 0-10.1888-2.1504-18.75456-6.43584-25.68192-4.29056-6.93248-10.22976-12.39552-17.8176-16.39424-7.59296-3.9936-19.30752-7.86432-35.1488-11.60192-15.84128-3.7376-25.81504-7.33184-29.92128-10.78272-3.2256-2.7136-4.8384-5.97504-4.8384-9.78944 0-4.17792 1.72544-7.51616 5.1712-10.0096 5.3504-3.88608 12.75904-5.83168 22.2208-5.83168 9.1648 0 16.04096 1.8176 20.62336 5.44768 4.5824 3.63008 7.57248 9.58976 8.96 17.87392l32.5632-1.4336c-0.512-14.80704-5.888-26.65472-16.11264-35.52768-10.22976-8.87296-25.46688-13.312-45.70624-13.312-12.3904 0-22.97344 1.87392-31.73376 5.61152-8.76544 3.74272-15.47264 9.18528-20.13184 16.3328-4.6592 7.15264-6.98368 14.83776-6.98368 23.05024 0 12.75904 4.95104 23.5776 14.848 32.45056 7.04 6.30784 19.28704 11.6224 36.74112 15.9488 13.568 3.37408 22.25664 5.71904 26.07104 7.04 5.57056 1.98144 9.47712 4.31104 11.71456 6.98368 2.23744 2.67776 3.3536 5.92384 3.3536 9.73824 0 5.9392-2.65728 11.12576-7.97184 15.5648-5.31968 4.43392-13.21984 6.656-23.7056 6.656-9.90208 0-17.7664-2.49344-23.59808-7.48032-5.82656-4.98688-9.69728-12.8-11.60192-23.43424l-31.68256 3.08224zM483.1232 445.44h34.7648l57.74848-161.25952h-34.53952l-39.49056 119.3472-40.81152-119.3472h-35.30752L483.11808 445.44z",
|
@@ -448,7 +519,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
448
519
|
"p-id": "8470"
|
449
520
|
}
|
450
521
|
),
|
451
|
-
/* @__PURE__ */
|
522
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
452
523
|
"path",
|
453
524
|
{
|
454
525
|
d: "M266.24 634.88m30.72 0l563.2 0q30.72 0 30.72 30.72l0 0q0 30.72-30.72 30.72l-563.2 0q-30.72 0-30.72-30.72l0 0q0-30.72 30.72-30.72Z",
|
@@ -456,7 +527,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
456
527
|
"p-id": "8471"
|
457
528
|
}
|
458
529
|
),
|
459
|
-
/* @__PURE__ */
|
530
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
460
531
|
"path",
|
461
532
|
{
|
462
533
|
d: "M266.24 808.96m30.72 0l563.2 0q30.72 0 30.72 30.72l0 0q0 30.72-30.72 30.72l-563.2 0q-30.72 0-30.72-30.72l0 0q0-30.72 30.72-30.72Z",
|
@@ -471,10 +542,14 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
471
542
|
);
|
472
543
|
CSVIcon.displayName = "CSV";
|
473
544
|
var csv_default = CSVIcon;
|
474
|
-
|
545
|
+
|
546
|
+
// src/assets/txt.tsx
|
547
|
+
var import_react12 = __toESM(require("react"), 1);
|
548
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
549
|
+
var TxtIcon = import_react12.default.forwardRef(
|
475
550
|
(_a, ref) => {
|
476
551
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
477
|
-
return /* @__PURE__ */
|
552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
478
553
|
"svg",
|
479
554
|
__spreadProps(__spreadValues({
|
480
555
|
ref,
|
@@ -483,7 +558,7 @@ var TxtIcon = React29__default.default.forwardRef(
|
|
483
558
|
}, props), {
|
484
559
|
viewBox: "0 0 1024 1024",
|
485
560
|
xmlns: "http://www.w3.org/2000/svg",
|
486
|
-
children: /* @__PURE__ */
|
561
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
487
562
|
"path",
|
488
563
|
{
|
489
564
|
d: "M764.6 791c-35.6 0-77.2-19.2-77.2-73.6 0-21.8 7.8-37.2 25.2-49.6 17-12.2 43-20.8 73.4-24.4 42.8-5 91-7.8 132.2-9.2 0.6 0 1 0.2 1.6 0.4 0.6 0.2 1 0.6 1.4 1 0.4 0.4 0.6 0.8 0.8 1.4 0.2 0.6 0.2 1 0.2 1.6-5.4 102.4-57.2 152.4-157.6 152.4z m42.2-460.6c-84.6-0.6-160.4 48.8-192.8 125.6-0.6 1.4-1 2.8-1.6 4.2-0.4 1.4-0.8 2.8-1 4.2-0.2 1.4-0.6 2.8-0.6 4.4-0.2 1.4-0.2 3-0.2 4.4 0 1.4 0 3 0.2 4.4 0.2 1.4 0.4 3 0.6 4.4 0.2 1.4 0.6 2.8 1 4.2 0.4 1.4 0.8 2.8 1.4 4.2 0.6 1.4 1.2 2.8 1.8 4 0.6 1.4 1.4 2.6 2.2 3.8 0.8 1.2 1.6 2.4 2.6 3.6 1 1.2 1.8 2.2 3 3.2 1 1 2 2 3.2 3 1.2 1 2.2 1.8 3.4 2.6 1.2 0.8 2.4 1.6 3.8 2.4 1.2 0.8 2.6 1.4 4 2 1.4 0.6 2.8 1 4.2 1.6l4.2 1.2c1.4 0.4 2.8 0.6 4.4 0.6 1.4 0.2 3 0.2 4.4 0.2 1.4 0 3 0 4.4-0.2 1.4-0.2 3-0.4 4.4-0.6 1.4-0.2 2.8-0.6 4.2-1 1.4-0.4 2.8-0.8 4.2-1.4 1.4-0.6 2.6-1.2 4-1.8 1.2-0.6 2.6-1.4 3.8-2.2 1.2-0.8 2.4-1.6 3.6-2.6 1.2-1 2.2-2 3.2-3s2-2.2 3-3.2c1-1.2 1.8-2.4 2.6-3.6 0.8-1.2 1.6-2.4 2.2-3.8 0.8-1.2 1.4-2.6 2-4 18-42.8 60.4-70.4 108.2-70.8 65.6-0.4 118.6 54.2 118.6 120.4 0 0.4 0 0.8-0.2 1.2-0.2 0.4-0.4 0.6-0.6 1-0.2 0.2-0.6 0.6-1 0.6-0.4 0.2-0.8 0.2-1.2 0.2-44.4 1.2-97.2 4.2-144.4 9.8-111 13.2-177.4 74.2-177.4 163.4 0 47.4 17.8 90 50 120 30.2 28.2 71.6 43.6 116.4 43.6 63 0 117-16.4 158.2-47.6h0.2c0 1.4 0 3 0.2 4.4 0.2 1.4 0.4 3 0.6 4.4 0.2 1.4 0.6 2.8 1 4.2 0.4 1.4 1 2.8 1.4 4.2 0.6 1.4 1.2 2.8 1.8 4 0.6 1.4 1.4 2.6 2.2 3.8 0.8 1.2 1.6 2.4 2.6 3.6 1 1.2 1.8 2.2 3 3.2 1 1 2.2 2 3.2 3 1.2 1 2.2 1.8 3.6 2.6 1.2 0.8 2.4 1.6 3.8 2.2 1.2 0.8 2.6 1.4 4 2 1.4 0.6 2.8 1 4.2 1.6 1.4 0.4 2.8 0.8 4.2 1 1.4 0.2 2.8 0.6 4.4 0.6 1.4 0.2 3 0.2 4.4 0.2 1.4 0 3 0 4.4-0.2 1.4-0.2 3-0.4 4.4-0.6 1.4-0.2 2.8-0.6 4.2-1 1.4-0.4 2.8-1 4.2-1.4 1.4-0.6 2.6-1.2 4-1.8 1.2-0.6 2.6-1.4 3.8-2.2 1.2-0.8 2.4-1.6 3.6-2.6 1.2-1 2.2-2 3.2-3s2-2.2 3-3.2c1-1.2 1.8-2.4 2.6-3.6 0.8-1.2 1.6-2.4 2.2-3.8 0.6-1.2 1.4-2.6 1.8-4 0.6-1.4 1-2.8 1.4-4.2 0.4-1.4 0.8-2.8 1-4.2 0.2-1.4 0.6-3 0.6-4.4 0.2-1.4 0.2-3 0.2-4.4V541.2c-0.4-115-91.8-210-205.8-210.8zM210.2 554l88-236.6c0.2-0.8 0.8-1.4 1.4-2 0.6-0.4 1.4-0.8 2.4-0.8 0.8 0 1.6 0.2 2.4 0.8 0.6 0.4 1.2 1.2 1.4 2l88 236.8c0.2 0.4 0.2 0.6 0.2 1v1c0 0.4-0.2 0.6-0.2 1-0.2 0.4-0.2 0.6-0.4 0.8-0.2 0.2-0.4 0.6-0.6 0.8-0.2 0.2-0.6 0.4-0.8 0.6-0.2 0.2-0.6 0.2-1 0.4-0.4 0-0.6 0.2-1 0.2h-176c-0.4 0-0.6 0-1-0.2-0.4 0-0.6-0.2-1-0.4-0.2-0.2-0.6-0.4-0.8-0.6-0.2-0.2-0.4-0.4-0.6-0.8-0.2-0.2-0.4-0.6-0.4-0.8-0.2-0.4-0.2-0.6-0.2-1v-1c0-0.4 0-0.8 0.2-1.2z m377 264L343.8 163.2c-0.8-2.2-1.8-4.2-2.8-6.2-1.2-2-2.4-3.8-3.8-5.6-1.4-1.8-3-3.4-4.6-5-1.6-1.6-3.4-3-5.2-4.2-1.8-1.2-3.8-2.4-5.8-3.4s-4.2-1.8-6.2-2.6c-2.2-0.6-4.4-1.2-6.6-1.6-2.2-0.4-4.4-0.6-6.8-0.6-2.2 0-4.6 0.2-6.8 0.6-2.2 0.4-4.4 0.8-6.6 1.6-2.2 0.6-4.2 1.6-6.2 2.6s-4 2.2-5.8 3.4c-1.8 1.2-3.6 2.8-5.2 4.2-1.6 1.6-3.2 3.2-4.6 5-1.4 1.8-2.6 3.6-3.8 5.6-1.2 2-2 4-2.8 6.2L16.6 818c-0.4 1.4-1 2.8-1.2 4.2-0.4 1.4-0.6 2.8-0.8 4.4-0.2 1.4-0.4 3-0.4 4.4v4.4c0 1.4 0.2 3 0.4 4.4 0.2 1.4 0.4 2.8 0.8 4.4l1.2 4.2c0.4 1.4 1 2.8 1.6 4 0.6 1.4 1.2 2.6 2 3.8l2.4 3.6c0.8 1.2 1.8 2.4 2.8 3.4 1 1 2 2.2 3 3.2s2.2 2 3.4 2.8c1.2 0.8 2.4 1.8 3.6 2.4 1.2 0.8 2.6 1.4 3.8 2.2 1.4 0.6 2.6 1.2 4 1.8 1.4 0.6 2.8 1 4.2 1.4 1.4 0.4 2.8 0.6 4.2 1 1.4 0.2 2.8 0.4 4.4 0.6 1.4 0 3 0.2 4.4 0 1.4 0 2.8-0.2 4.4-0.4 1.4-0.2 2.8-0.4 4.2-0.8l4.2-1.2c1.4-0.4 2.8-1 4-1.6 1.4-0.6 2.6-1.2 3.8-2l3.6-2.4c1.2-0.8 2.4-1.8 3.4-2.8 1-1 2.2-2 3.2-3s2-2.2 2.8-3.4c0.8-1.2 1.8-2.4 2.6-3.6 0.8-1.2 1.4-2.6 2.2-3.8 0.6-1.4 1.2-2.6 1.8-4L174 652.2c0.2-0.8 0.8-1.4 1.4-2 0.6-0.4 1.4-0.8 2.4-0.8h249c0.8 0 1.6 0.2 2.4 0.8 0.6 0.4 1.2 1.2 1.4 2l73.4 197.4c0.6 1.4 1.2 2.8 1.8 4 0.6 1.4 1.4 2.6 2.2 3.8 0.8 1.2 1.6 2.4 2.6 3.6 0.8 1.2 1.8 2.2 2.8 3.4 1 1 2 2 3.2 3s2.2 1.8 3.4 2.8l3.6 2.4c1.2 0.8 2.6 1.4 3.8 2 1.4 0.6 2.6 1.2 4 1.6l4.2 1.2c1.4 0.4 2.8 0.6 4.2 0.8 1.4 0.2 2.8 0.4 4.4 0.4h4.4c1.4 0 2.8-0.2 4.4-0.6s2.8-0.6 4.2-1c1.4-0.4 2.8-0.8 4.2-1.4 1.4-0.6 2.6-1 4-1.8 1.4-0.6 2.6-1.4 3.8-2.2l3.6-2.4c1.2-0.8 2.2-1.8 3.4-2.8 1-1 2-2 3-3.2 1-1 1.8-2.2 2.8-3.4l2.4-3.6c0.8-1.2 1.4-2.6 2-3.8 0.6-1.4 1.2-2.6 1.6-4l1.2-4.2c0.4-1.4 0.6-2.8 0.8-4.4 0.2-1.4 0.4-3 0.4-4.4v-4.4c0-1.4-0.2-3-0.4-4.4-0.2-1.4-0.6-2.8-0.8-4.4-1-1.4-1.4-2.8-2-4.2z",
|
@@ -497,10 +572,14 @@ var TxtIcon = React29__default.default.forwardRef(
|
|
497
572
|
);
|
498
573
|
TxtIcon.displayName = "Txt";
|
499
574
|
var txt_default = TxtIcon;
|
500
|
-
|
575
|
+
|
576
|
+
// src/assets/java.tsx
|
577
|
+
var import_react13 = __toESM(require("react"), 1);
|
578
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
579
|
+
var JavaIcon = import_react13.default.forwardRef(
|
501
580
|
(_a, ref) => {
|
502
581
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
503
|
-
return /* @__PURE__ */
|
582
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
504
583
|
"svg",
|
505
584
|
__spreadProps(__spreadValues({
|
506
585
|
ref,
|
@@ -509,7 +588,7 @@ var JavaIcon = React29__default.default.forwardRef(
|
|
509
588
|
}, props), {
|
510
589
|
viewBox: "0 0 32 32",
|
511
590
|
xmlns: "http://www.w3.org/2000/svg",
|
512
|
-
children: /* @__PURE__ */
|
591
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
513
592
|
"path",
|
514
593
|
{
|
515
594
|
d: "M4 26h24v2H4zM28 4H7a1 1 0 0 0-1 1v13a4 4 0 0 0 4 4h10a4 4 0 0 0 4-4v-4h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 8h-4V6h4Z",
|
@@ -524,10 +603,14 @@ var JavaIcon = React29__default.default.forwardRef(
|
|
524
603
|
);
|
525
604
|
JavaIcon.displayName = "Java";
|
526
605
|
var java_default = JavaIcon;
|
527
|
-
|
606
|
+
|
607
|
+
// src/assets/sql.tsx
|
608
|
+
var import_react14 = __toESM(require("react"), 1);
|
609
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
610
|
+
var SQLIcon = import_react14.default.forwardRef(
|
528
611
|
(_a, ref) => {
|
529
612
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
530
|
-
return /* @__PURE__ */
|
613
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
531
614
|
"svg",
|
532
615
|
__spreadProps(__spreadValues({
|
533
616
|
ref,
|
@@ -537,7 +620,7 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
537
620
|
viewBox: "0 0 1024 1024",
|
538
621
|
xmlns: "http://www.w3.org/2000/svg",
|
539
622
|
children: [
|
540
|
-
/* @__PURE__ */
|
623
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
541
624
|
"path",
|
542
625
|
{
|
543
626
|
d: "M477.12 858.56l14.72-16.64a77.44 77.44 0 0 0 54.08 24c25.6 0 40.96-12.8 40.96-32s-14.08-26.56-32-34.88l-28.48-12.16a52.16 52.16 0 0 1 22.08-101.76 79.36 79.36 0 0 1 57.28 24l-12.8 15.68a64 64 0 0 0-44.48-18.24c-22.08 0-36.48 11.2-36.48 28.8s16.96 25.92 32 32l28.16 12.16A54.08 54.08 0 0 1 611.84 832a58.88 58.88 0 0 1-66.24 55.36 93.76 93.76 0 0 1-68.48-28.8zM810.24 928a96 96 0 0 1-28.16 4.16 74.24 74.24 0 0 1-71.68-46.4c-42.56-4.8-70.4-42.56-70.4-99.84 0-62.4 34.56-100.48 83.52-100.48s83.2 38.08 83.2 100.48c0 56.32-27.52 93.44-68.8 100.8a50.24 50.24 0 0 0 47.68 25.92 68.8 68.8 0 0 0 20.8-2.88z m-87.68-61.44c34.88 0 57.92-32 57.92-81.6s-23.04-79.04-57.92-79.04-58.24 30.08-58.24 79.04 23.04 82.56 58.24 82.56zM848 688.96h24.64V864h85.44v21.12H848zM444.16 377.28c-192 0-387.2-52.8-387.2-153.92s194.56-154.24 387.2-154.24S832 121.92 832 224s-195.52 153.28-387.84 153.28z m0-244.16C234.88 133.12 120.96 192 120.96 224s113.92 89.92 323.2 89.92S768 253.76 768 224s-114.88-90.88-323.84-90.88z",
|
@@ -545,7 +628,7 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
545
628
|
fill: themeSvgIconColor
|
546
629
|
}
|
547
630
|
),
|
548
|
-
/* @__PURE__ */
|
631
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
549
632
|
"path",
|
550
633
|
{
|
551
634
|
d: "M444.16 554.88c-192 0-387.2-52.8-387.2-154.24a32 32 0 0 1 64 0c0 32 113.92 90.24 323.2 90.24S768 431.36 768 400.64a32 32 0 1 1 64 0c0 101.44-195.52 154.24-387.84 154.24zM444.16 732.48c-192 0-387.2-53.12-387.2-154.24a32 32 0 0 1 64 0c0 32 113.92 90.24 323.2 90.24a32 32 0 1 1 0 64zM444.16 932.16c-192 0-387.2-52.8-387.2-153.92a32 32 0 0 1 64 0c0 30.4 113.92 89.92 323.2 89.92a32 32 0 0 1 0 64z",
|
@@ -553,7 +636,7 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
553
636
|
fill: themeSvgIconColor
|
554
637
|
}
|
555
638
|
),
|
556
|
-
/* @__PURE__ */
|
639
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
557
640
|
"path",
|
558
641
|
{
|
559
642
|
d: "M800 699.2a32 32 0 0 1-32-32V234.24a32 32 0 0 1 64 0v432.96a32 32 0 0 1-32 32zM88.96 821.12a32 32 0 0 1-32-32V234.24a32 32 0 0 1 64 0v554.88a32 32 0 0 1-32 32z",
|
@@ -568,10 +651,14 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
568
651
|
);
|
569
652
|
SQLIcon.displayName = "SQL";
|
570
653
|
var sql_default = SQLIcon;
|
571
|
-
|
654
|
+
|
655
|
+
// src/assets/log.tsx
|
656
|
+
var import_react15 = __toESM(require("react"), 1);
|
657
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
658
|
+
var LogIcon = import_react15.default.forwardRef(
|
572
659
|
(_a, ref) => {
|
573
660
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
574
|
-
return /* @__PURE__ */
|
661
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
575
662
|
"svg",
|
576
663
|
__spreadProps(__spreadValues({
|
577
664
|
ref,
|
@@ -581,7 +668,7 @@ var LogIcon = React29__default.default.forwardRef(
|
|
581
668
|
viewBox: "0 0 1024 1024",
|
582
669
|
xmlns: "http://www.w3.org/2000/svg",
|
583
670
|
children: [
|
584
|
-
/* @__PURE__ */
|
671
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
585
672
|
"path",
|
586
673
|
{
|
587
674
|
d: "M568.896 910.208h-512V113.792h739.52V512h-56.832V170.688H113.792v682.624H512z",
|
@@ -589,7 +676,7 @@ var LogIcon = React29__default.default.forwardRef(
|
|
589
676
|
"p-id": "12257"
|
590
677
|
}
|
591
678
|
),
|
592
|
-
/* @__PURE__ */
|
679
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
593
680
|
"path",
|
594
681
|
{
|
595
682
|
d: "M711.104 512c108.096 0 199.104 91.008 199.104 199.104 0 108.096-91.008 199.104-199.04 199.104C602.944 910.208 512 819.2 512 711.168 512 602.944 603.008 512 711.104 512m0-56.896c-142.208 0-256 113.792-256 256s113.792 256 256 256 256-113.792 256-256-113.792-256-256-256zM227.584 56.96h56.832v170.688h-56.832V56.896z m341.312 0h56.896v170.688h-56.96V56.896zM170.688 341.312h512v56.96h-512v-56.96z m0 170.688H455.04v56.896H170.688V512z m0 170.688h227.52v56.896H170.688v-56.96z",
|
@@ -597,7 +684,7 @@ var LogIcon = React29__default.default.forwardRef(
|
|
597
684
|
"p-id": "12258"
|
598
685
|
}
|
599
686
|
),
|
600
|
-
/* @__PURE__ */
|
687
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "M853.312 796.416h-170.624V568.96h56.896v170.688h113.728z", fill: themeSvgIconColor, "p-id": "12259" })
|
601
688
|
]
|
602
689
|
})
|
603
690
|
);
|
@@ -605,10 +692,14 @@ var LogIcon = React29__default.default.forwardRef(
|
|
605
692
|
);
|
606
693
|
LogIcon.displayName = "Log";
|
607
694
|
var log_default = LogIcon;
|
608
|
-
|
695
|
+
|
696
|
+
// src/assets/mac.tsx
|
697
|
+
var import_react16 = __toESM(require("react"), 1);
|
698
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
699
|
+
var MACIcon = import_react16.default.forwardRef(
|
609
700
|
(_a, ref) => {
|
610
701
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
611
|
-
return /* @__PURE__ */
|
702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
612
703
|
"svg",
|
613
704
|
__spreadProps(__spreadValues({
|
614
705
|
ref,
|
@@ -617,7 +708,7 @@ var MACIcon = React29__default.default.forwardRef(
|
|
617
708
|
}, props), {
|
618
709
|
viewBox: "0 0 24 24",
|
619
710
|
xmlns: "http://www.w3.org/2000/svg",
|
620
|
-
children: /* @__PURE__ */
|
711
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
621
712
|
"path",
|
622
713
|
{
|
623
714
|
d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
|
@@ -632,10 +723,14 @@ var MACIcon = React29__default.default.forwardRef(
|
|
632
723
|
);
|
633
724
|
MACIcon.displayName = "MAC";
|
634
725
|
var mac_default = MACIcon;
|
635
|
-
|
726
|
+
|
727
|
+
// src/assets/bitcoin.tsx
|
728
|
+
var import_react17 = __toESM(require("react"), 1);
|
729
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
730
|
+
var BitcoinIcon = import_react17.default.forwardRef(
|
636
731
|
(_a, ref) => {
|
637
732
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
638
|
-
return /* @__PURE__ */
|
733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
639
734
|
"svg",
|
640
735
|
__spreadProps(__spreadValues({
|
641
736
|
ref,
|
@@ -644,7 +739,7 @@ var BitcoinIcon = React29__default.default.forwardRef(
|
|
644
739
|
}, props), {
|
645
740
|
viewBox: "0 0 24 24",
|
646
741
|
xmlns: "http://www.w3.org/2000/svg",
|
647
|
-
children: /* @__PURE__ */
|
742
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
648
743
|
"path",
|
649
744
|
{
|
650
745
|
d: "M23.638 14.904c-1.602 6.43-8.113 10.34-14.542 8.736C2.67 22.05-1.244 15.525.362 9.105 1.962 2.67 8.475-1.243 14.9.358c6.43 1.605 10.342 8.115 8.738 14.548v-.002zm-6.35-4.613c.24-1.59-.974-2.45-2.64-3.03l.54-2.153-1.315-.33-.525 2.107c-.345-.087-.705-.167-1.064-.25l.526-2.127-1.32-.33-.54 2.165c-.285-.067-.565-.132-.84-.2l-1.815-.45-.35 1.407s.975.225.955.236c.535.136.63.486.615.766l-1.477 5.92c-.075.166-.24.406-.614.314.015.02-.96-.24-.96-.24l-.66 1.51 1.71.426.93.242-.54 2.19 1.32.327.54-2.17c.36.1.705.19 1.05.273l-.51 2.154 1.32.33.545-2.19c2.24.427 3.93.257 4.64-1.774.57-1.637-.03-2.58-1.217-3.196.854-.193 1.5-.76 1.68-1.93h.01zm-3.01 4.22c-.404 1.64-3.157.75-4.05.53l.72-2.9c.896.23 3.757.67 3.33 2.37zm.41-4.24c-.37 1.49-2.662.735-3.405.55l.654-2.64c.744.18 3.137.524 2.75 2.084v.006z",
|
@@ -659,10 +754,14 @@ var BitcoinIcon = React29__default.default.forwardRef(
|
|
659
754
|
);
|
660
755
|
BitcoinIcon.displayName = "BTC";
|
661
756
|
var bitcoin_default = BitcoinIcon;
|
662
|
-
|
757
|
+
|
758
|
+
// src/assets/css.tsx
|
759
|
+
var import_react18 = __toESM(require("react"), 1);
|
760
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
761
|
+
var CSSIcon = import_react18.default.forwardRef(
|
663
762
|
(_a, ref) => {
|
664
763
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
665
|
-
return /* @__PURE__ */
|
764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
666
765
|
"svg",
|
667
766
|
__spreadProps(__spreadValues({
|
668
767
|
ref,
|
@@ -671,7 +770,7 @@ var CSSIcon = React29__default.default.forwardRef(
|
|
671
770
|
}, props), {
|
672
771
|
viewBox: "0 0 32 32",
|
673
772
|
xmlns: "http://www.w3.org/2000/svg",
|
674
|
-
children: /* @__PURE__ */
|
773
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
675
774
|
"path",
|
676
775
|
{
|
677
776
|
fill: themeSvgIconColor,
|
@@ -684,11 +783,15 @@ var CSSIcon = React29__default.default.forwardRef(
|
|
684
783
|
);
|
685
784
|
CSSIcon.displayName = "CSS";
|
686
785
|
var css_default = CSSIcon;
|
687
|
-
|
786
|
+
|
787
|
+
// src/assets/mermaid.tsx
|
788
|
+
var import_react19 = __toESM(require("react"), 1);
|
789
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
790
|
+
var MermaidIcon = import_react19.default.forwardRef(
|
688
791
|
// Memmaid need special size for good view
|
689
792
|
(_a, ref) => {
|
690
793
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
691
|
-
return /* @__PURE__ */
|
794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
692
795
|
"svg",
|
693
796
|
__spreadProps(__spreadValues({
|
694
797
|
ref,
|
@@ -697,7 +800,7 @@ var MermaidIcon = React29__default.default.forwardRef(
|
|
697
800
|
}, props), {
|
698
801
|
viewBox: "0 0 24 24",
|
699
802
|
xmlns: "http://www.w3.org/2000/svg",
|
700
|
-
children: /* @__PURE__ */
|
803
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
701
804
|
"path",
|
702
805
|
{
|
703
806
|
d: "M23.99 2.115A12.223 12.223 0 0 0 12 10.149 12.223 12.223 0 0 0 .01 2.115a12.23 12.23 0 0 0 5.32 10.604 6.562 6.562 0 0 1 2.845 5.423v3.754h7.65v-3.754a6.561 6.561 0 0 1 2.844-5.423 12.223 12.223 0 0 0 5.32-10.604Z",
|
@@ -712,10 +815,14 @@ var MermaidIcon = React29__default.default.forwardRef(
|
|
712
815
|
);
|
713
816
|
MermaidIcon.displayName = "Mmd";
|
714
817
|
var mermaid_default = MermaidIcon;
|
715
|
-
|
818
|
+
|
819
|
+
// src/assets/last-updated.tsx
|
820
|
+
var import_react20 = __toESM(require("react"), 1);
|
821
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
822
|
+
var LastUpdatedIcon = import_react20.default.forwardRef(
|
716
823
|
(_a, ref) => {
|
717
824
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
718
|
-
return /* @__PURE__ */
|
825
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
719
826
|
"svg",
|
720
827
|
__spreadProps(__spreadValues({
|
721
828
|
ref,
|
@@ -724,7 +831,7 @@ var LastUpdatedIcon = React29__default.default.forwardRef(
|
|
724
831
|
}, props), {
|
725
832
|
viewBox: "0 0 1024 1024",
|
726
833
|
xmlns: "http://www.w3.org/2000/svg",
|
727
|
-
children: /* @__PURE__ */
|
834
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
728
835
|
"path",
|
729
836
|
{
|
730
837
|
d: "M918.362566 956.685895 106.992291 956.685895c-14.145162 0-25.611308-11.466146-25.611308-25.611308L81.380984 191.053314c0-14.145162 11.467169-25.611308 25.611308-25.611308l811.370275 0c14.145162 0 25.611308 11.467169 25.611308 25.611308l0 740.02025C943.974897 945.219749 932.508751 956.685895 918.362566 956.685895zM132.603599 905.462257l760.146637 0L892.750235 216.665645 132.603599 216.665645 132.603599 905.462257zM915.696854 410.394904 109.450273 410.394904c-14.145162 0-25.611308-11.467169-25.611308-25.611308s11.467169-25.611308 25.611308-25.611308l806.246581 0c14.145162 0 25.611308 11.467169 25.611308 25.611308S929.842015 410.394904 915.696854 410.394904zM248.987283 313.735447c-14.145162 0-25.611308-11.467169-25.611308-25.611308L223.375975 91.962481c0-14.145162 11.467169-25.611308 25.611308-25.611308s25.611308 11.467169 25.611308 25.611308l0 196.160635C274.59859 302.269301 263.132444 313.735447 248.987283 313.735447zM786.915815 313.735447c-14.145162 0-25.611308-11.467169-25.611308-25.611308L761.304508 91.962481c0-14.145162 11.466146-25.611308 25.611308-25.611308s25.611308 11.467169 25.611308 25.611308l0 196.160635C812.527123 302.269301 801.060977 313.735447 786.915815 313.735447zM378.463146 832.067666c-4.732791 0-9.406231-1.641383-13.156648-4.787026-5.810333-4.874007-8.448416-12.56006-6.856152-19.97596l21.574365-100.484575c0.699941-3.261277 2.186805-6.30152 4.329609-8.856715l173.234483-206.507284c3.488451-4.158716 8.486278-6.760984 13.893428-7.234775 5.392824-0.473791 10.779507 1.219781 14.939247 4.709255l73.627904 61.765739c8.66024 7.264451 9.790994 20.173458 2.526543 28.832675L489.341443 786.03526c-2.143826 2.555196-4.880147 4.548596-7.969509 5.805216l-95.201246 38.71986C383.679961 831.573409 381.062344 832.067666 378.463146 832.067666zM418.978908 720.378911l-12.386098 57.68684 54.653761-22.228257 156.816558-186.93553-42.268686-35.458583L418.978908 720.378911zM483.354078 781.820262c-6.737448 0.001023-13.334703-3.322675-17.244756-9.414417l-23.737634-36.991496-40.554648-16.944927c-10.429537-4.358261-15.35164-16.34527-10.994402-26.774807 4.357238-10.42749 16.343223-15.350616 26.774807-10.993378l46.442752 19.404955c3.834328 1.601474 7.090489 4.333702 9.334599 7.830339l27.183106 42.361807c6.105045 9.513678 3.342118 22.174022-6.17156 28.278043C490.967476 780.771373 487.137241 781.820262 483.354078 781.820262zM601.041454 641.489166c-4.641717 0-9.307993-1.569752-13.143345-4.787026l-73.625858-61.765739c-8.659217-7.264451-9.78997-20.173458-2.52552-28.833699 7.263427-8.659217 20.171412-9.78997 28.833699-2.52552l73.625858 61.765739c8.659217 7.264451 9.78997 20.173458 2.52552 28.833699C612.683609 639.001509 606.882486 641.489166 601.041454 641.489166z",
|
@@ -738,10 +845,14 @@ var LastUpdatedIcon = React29__default.default.forwardRef(
|
|
738
845
|
);
|
739
846
|
LastUpdatedIcon.displayName = "LastUpdated";
|
740
847
|
var last_updated_default = LastUpdatedIcon;
|
741
|
-
|
848
|
+
|
849
|
+
// src/assets/snippets.tsx
|
850
|
+
var import_react21 = __toESM(require("react"), 1);
|
851
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
852
|
+
var SnippetsIcon = import_react21.default.forwardRef(
|
742
853
|
(_a, ref) => {
|
743
854
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
744
|
-
return /* @__PURE__ */
|
855
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
745
856
|
"svg",
|
746
857
|
__spreadProps(__spreadValues({
|
747
858
|
ref,
|
@@ -750,7 +861,7 @@ var SnippetsIcon = React29__default.default.forwardRef(
|
|
750
861
|
}, props), {
|
751
862
|
viewBox: "0 0 24 24",
|
752
863
|
xmlns: "http://www.w3.org/2000/svg",
|
753
|
-
children: /* @__PURE__ */
|
864
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
754
865
|
"path",
|
755
866
|
{
|
756
867
|
d: "M9.825 17.527a.111.111 0 0 1-.107-.142l3.05-10.837a.111.111 0 0 1 .108-.081H14.2c.074 0 .127.07.107.141l-3.063 10.838a.111.111 0 0 1-.107.08H9.825Zm-2.146-2.732a.11.11 0 0 1-.079-.033l-2.667-2.704a.111.111 0 0 1 0-.156L7.6 9.211a.111.111 0 0 1 .08-.033h1.702c.1 0 .149.12.079.19l-2.534 2.534a.111.111 0 0 0 0 .157l2.535 2.546c.07.07.02.19-.079.19H7.68Zm6.954 0a.111.111 0 0 1-.079-.19l2.525-2.546a.111.111 0 0 0 0-.157l-2.524-2.535a.111.111 0 0 1 .079-.19h1.692c.03 0 .058.013.078.034l2.68 2.69a.111.111 0 0 1 0 .157l-2.68 2.704a.111.111 0 0 1-.078.033h-1.693ZM12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12Zm0-22.667C6.118 1.333 1.333 6.118 1.333 12S6.118 22.667 12 22.667 22.667 17.882 22.667 12 17.882 1.333 12 1.333Z",
|
@@ -763,10 +874,14 @@ var SnippetsIcon = React29__default.default.forwardRef(
|
|
763
874
|
);
|
764
875
|
SnippetsIcon.displayName = "Snippets";
|
765
876
|
var snippets_default = SnippetsIcon;
|
766
|
-
|
877
|
+
|
878
|
+
// src/assets/test.tsx
|
879
|
+
var import_react22 = __toESM(require("react"), 1);
|
880
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
881
|
+
var TestIcon = import_react22.default.forwardRef(
|
767
882
|
(_a, ref) => {
|
768
883
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
769
|
-
return /* @__PURE__ */
|
884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
770
885
|
"svg",
|
771
886
|
__spreadProps(__spreadValues({
|
772
887
|
ref,
|
@@ -775,7 +890,7 @@ var TestIcon = React29__default.default.forwardRef(
|
|
775
890
|
}, props), {
|
776
891
|
viewBox: "0 0 1024 1024",
|
777
892
|
xmlns: "http://www.w3.org/2000/svg",
|
778
|
-
children: /* @__PURE__ */
|
893
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
779
894
|
"path",
|
780
895
|
{
|
781
896
|
d: "M640 126.577778c-140.8 0-256 115.2-256 256 0 65.422222 25.6 125.155556 65.422222 170.666666l-91.022222 91.022223-35.555556-35.555556-174.933333 176.355556c-25.6 25.6-25.6 68.266667 0 93.866666 25.6 25.6 68.266667 25.6 93.866667 0l176.355555-176.355555-38.4-38.4 91.022223-91.022222c45.511111 41.244444 105.244444 65.422222 170.666666 65.422222 140.8 0 256-115.2 256-256-1.422222-142.222222-116.622222-256-257.422222-256z m19.911111 462.222222c-41.244444 0-75.377778-34.133333-75.377778-75.377778v-4.266666c0-8.533333 5.688889-14.222222 14.222223-14.222223s14.222222 5.688889 14.222222 14.222223v4.266666c0 25.6 21.333333 46.933333 46.933333 46.933334 8.533333 0 14.222222 5.688889 14.222222 14.222222s-5.688889 14.222222-14.222222 14.222222zM817.777778 341.333333h-58.311111c-2.844444 12.8-7.111111 24.177778-14.222223 35.555556l41.244445 41.244444c5.688889 5.688889 5.688889 14.222222 0 19.911111-2.844444 2.844444-7.111111 4.266667-9.955556 4.266667-2.844444 0-7.111111-1.422222-9.955555-4.266667L725.333333 396.8c-14.222222 9.955556-31.288889 15.644444-49.777777 15.644444-18.488889 0-35.555556-5.688889-49.777778-15.644444l-41.244445 41.244444c-2.844444 2.844444-7.111111 4.266667-9.955555 4.266667-2.844444 0-7.111111-1.422222-9.955556-4.266667-5.688889-5.688889-5.688889-14.222222 0-19.911111l41.244445-41.244444c-7.111111-9.955556-12.8-22.755556-14.222223-35.555556h-58.311111c-8.533333 0-14.222222-5.688889-14.222222-14.222222s5.688889-14.222222 14.222222-14.222222h58.311111c2.844444-12.8 7.111111-24.177778 14.222223-35.555556l-41.244445-41.244444c-5.688889-5.688889-5.688889-14.222222 0-19.911111 5.688889-5.688889 14.222222-5.688889 19.911111 0l41.244445 41.244444c14.222222-9.955556 31.288889-15.644444 49.777778-15.644444 18.488889 0 35.555556 5.688889 49.777777 15.644444l41.244445-41.244444c5.688889-5.688889 14.222222-5.688889 19.911111 0 5.688889 5.688889 5.688889 14.222222 0 19.911111l-41.244445 41.244444c7.111111 9.955556 12.8 22.755556 14.222223 35.555556h58.311111c8.533333 0 14.222222 5.688889 14.222222 14.222222s-5.688889 14.222222-14.222222 14.222222z",
|
@@ -789,10 +904,14 @@ var TestIcon = React29__default.default.forwardRef(
|
|
789
904
|
);
|
790
905
|
TestIcon.displayName = "Test";
|
791
906
|
var test_default = TestIcon;
|
792
|
-
|
907
|
+
|
908
|
+
// src/assets/diff.tsx
|
909
|
+
var import_react23 = __toESM(require("react"), 1);
|
910
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
911
|
+
var DiffIcon = import_react23.default.forwardRef(
|
793
912
|
(_a, ref) => {
|
794
913
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
795
|
-
return /* @__PURE__ */
|
914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
796
915
|
"svg",
|
797
916
|
__spreadProps(__spreadValues({
|
798
917
|
ref,
|
@@ -802,8 +921,8 @@ var DiffIcon = React29__default.default.forwardRef(
|
|
802
921
|
viewBox: "0 0 24 24",
|
803
922
|
xmlns: "http://www.w3.org/2000/svg",
|
804
923
|
children: [
|
805
|
-
/* @__PURE__ */
|
806
|
-
/* @__PURE__ */
|
924
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("path", { d: "M0 0h24v24H0z", fill: "none" }),
|
925
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
807
926
|
"path",
|
808
927
|
{
|
809
928
|
fill: themeSvgIconColor,
|
@@ -817,10 +936,14 @@ var DiffIcon = React29__default.default.forwardRef(
|
|
817
936
|
);
|
818
937
|
DiffIcon.displayName = "Diff";
|
819
938
|
var diff_default = DiffIcon;
|
820
|
-
|
939
|
+
|
940
|
+
// src/assets/dpa.tsx
|
941
|
+
var import_react24 = __toESM(require("react"), 1);
|
942
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
943
|
+
var DPAIcon = import_react24.default.forwardRef(
|
821
944
|
(_a, ref) => {
|
822
945
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
823
|
-
return /* @__PURE__ */
|
946
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
824
947
|
"svg",
|
825
948
|
__spreadProps(__spreadValues({
|
826
949
|
ref,
|
@@ -829,7 +952,7 @@ var DPAIcon = React29__default.default.forwardRef(
|
|
829
952
|
}, props), {
|
830
953
|
viewBox: "0 0 24 24",
|
831
954
|
xmlns: "http://www.w3.org/2000/svg",
|
832
|
-
children: /* @__PURE__ */
|
955
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
833
956
|
"path",
|
834
957
|
{
|
835
958
|
d: "M23.373 20.364a4.682 4.682 0 0 1-8.1 0 4.694 4.694 0 0 1 0-4.669c.326-.564.778-.995 1.272-1.358.472.198 3.394 1.421 3.917 1.717a2.291 2.291 0 0 0-3.109.842 2.304 2.304 0 0 0 0 2.267 2.267 2.267 0 0 0 2.564 1.053 2.254 2.254 0 0 0 1.375-1.053 2.328 2.328 0 0 0 0-2.279 2.478 2.478 0 0 0-.83-.83l-3.53-2.045-5.727-3.317a5.022 5.022 0 0 0 4.139-.36l6.32 3.641a4.682 4.682 0 0 1 1.709 6.391zm-14-2.01v.004l-3.558 2a2.27 2.27 0 0 1-3.102-.823 2.267 2.267 0 0 1 2.551-3.332c.591.161 1.089.56 1.375 1.102v-.05a2.27 2.27 0 0 1-.824 3.103c.559-.303 3.352-2.62 3.465-2.714-.304-1.744-1.573-3.24-3.396-3.72a4.608 4.608 0 0 0-3.558.479 4.67 4.67 0 0 0-1.694 6.383 4.682 4.682 0 0 0 2.865 2.192 4.657 4.657 0 0 0 3.66-.56l6.877-3.973c-.019-1.303.512-2.604 1.375-3.58l-6.036 3.49zm-2.4-4.703v-8.1h.012c.002-1.617.821-3.189 2.321-4.055a4.682 4.682 0 1 1 2.337 8.737 4.678 4.678 0 0 1-1.55-.28c-.016-.085-.733-3.796-.733-4.188L9.29 9.59v6.761a4.075 4.075 0 0 0-2.317-2.7zm2.403-8.1a2.279 2.279 0 1 0 4.546 0 2.23 2.23 0 0 0-.297-1.127 2.279 2.279 0 0 0-1.97-1.14 2.267 2.267 0 0 0-2.279 2.254v.013z",
|
@@ -842,10 +965,14 @@ var DPAIcon = React29__default.default.forwardRef(
|
|
842
965
|
);
|
843
966
|
DPAIcon.displayName = "DPA";
|
844
967
|
var dpa_default = DPAIcon;
|
845
|
-
|
968
|
+
|
969
|
+
// src/assets/subp.tsx
|
970
|
+
var import_react25 = __toESM(require("react"), 1);
|
971
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
972
|
+
var SubPIcon = import_react25.default.forwardRef(
|
846
973
|
(_a, ref) => {
|
847
974
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
848
|
-
return /* @__PURE__ */
|
975
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
849
976
|
"svg",
|
850
977
|
__spreadProps(__spreadValues({
|
851
978
|
ref,
|
@@ -854,7 +981,7 @@ var SubPIcon = React29__default.default.forwardRef(
|
|
854
981
|
}, props), {
|
855
982
|
viewBox: "0 0 24 24",
|
856
983
|
xmlns: "http://www.w3.org/2000/svg",
|
857
|
-
children: /* @__PURE__ */
|
984
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
858
985
|
"path",
|
859
986
|
{
|
860
987
|
d: "M11.999 0a12 12 0 100 24A12 12 0 0012 0zm1.183 5.255h.048c3.273 0 5.247 1.48 5.247 4.103 0 2.727-1.974 4.536-5.295 4.669v-1.742c1.837-.11 2.801-1.061 2.801-2.744 0-1.498-.957-2.442-2.8-2.516zm-1.773.026l.005 11.896c.779.052 1.583.18 2.26.337l-.269 1.324H6.788v-1.324a14.96 14.96 0 012.26-.337V6.993a14.71 14.71 0 01-2.26-.337V5.33h2.26c.64 0 1.469-.028 2.361-.05z",
|
@@ -869,10 +996,14 @@ var SubPIcon = React29__default.default.forwardRef(
|
|
869
996
|
);
|
870
997
|
SubPIcon.displayName = "SubP";
|
871
998
|
var subp_default = SubPIcon;
|
872
|
-
|
999
|
+
|
1000
|
+
// src/assets/t3p.tsx
|
1001
|
+
var import_react26 = __toESM(require("react"), 1);
|
1002
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
1003
|
+
var T3PIcon = import_react26.default.forwardRef(
|
873
1004
|
(_a, ref) => {
|
874
1005
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
875
|
-
return /* @__PURE__ */
|
1006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
876
1007
|
"svg",
|
877
1008
|
__spreadProps(__spreadValues({
|
878
1009
|
ref,
|
@@ -881,7 +1012,7 @@ var T3PIcon = React29__default.default.forwardRef(
|
|
881
1012
|
}, props), {
|
882
1013
|
viewBox: "0 0 24 24",
|
883
1014
|
xmlns: "http://www.w3.org/2000/svg",
|
884
|
-
children: /* @__PURE__ */
|
1015
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
885
1016
|
"path",
|
886
1017
|
{
|
887
1018
|
d: "M9.71 2.136a1.43 1.43 0 0 0-2.047 0h-.007a1.48 1.48 0 0 0-.421 1.042c0 .41.161.777.422 1.039l.007.007c.257.264.616.426 1.019.426.404 0 .766-.162 1.027-.426l.003-.007c.261-.262.421-.629.421-1.039 0-.408-.159-.777-.421-1.042H9.71zM8.683 22.295c.404 0 .766-.167 1.027-.429l.003-.008c.261-.261.421-.631.421-1.036 0-.41-.159-.778-.421-1.044H9.71a1.42 1.42 0 0 0-1.027-.432 1.4 1.4 0 0 0-1.02.432h-.007c-.26.266-.422.634-.422 1.044 0 .406.161.775.422 1.036l.007.008c.258.262.617.429 1.02.429zm7.89-4.462c.359-.096.683-.33.882-.684l.027-.052a1.47 1.47 0 0 0 .114-1.067 1.454 1.454 0 0 0-.675-.896l-.021-.014a1.425 1.425 0 0 0-1.078-.132c-.36.091-.684.335-.881.686-.2.349-.241.75-.146 1.119.099.363.33.691.675.896h.002c.346.203.737.239 1.101.144zm-6.405-7.342a2.083 2.083 0 0 0-1.485-.627c-.58 0-1.103.242-1.482.627-.378.385-.612.916-.612 1.507s.233 1.124.612 1.514a2.08 2.08 0 0 0 2.967 0c.379-.39.612-.923.612-1.514s-.233-1.122-.612-1.507zm-.835-2.51c.843.141 1.6.552 2.178 1.144h.004c.092.093.182.196.265.299l1.446-.851a3.176 3.176 0 0 1-.047-1.808 3.149 3.149 0 0 1 1.456-1.926l.025-.016a3.062 3.062 0 0 1 2.345-.306c.77.21 1.465.721 1.898 1.482v.002c.431.757.518 1.626.313 2.408a3.145 3.145 0 0 1-1.456 1.928l-.198.118h-.02a3.095 3.095 0 0 1-2.154.201 3.127 3.127 0 0 1-1.514-.944l-1.444.848a4.162 4.162 0 0 1 0 2.879l1.444.846c.413-.47.939-.789 1.514-.944a3.041 3.041 0 0 1 2.371.319l.048.023v.002a3.17 3.17 0 0 1 1.408 1.906 3.215 3.215 0 0 1-.313 2.405l-.026.053-.003-.005a3.147 3.147 0 0 1-1.867 1.436 3.096 3.096 0 0 1-2.371-.318v-.006a3.156 3.156 0 0 1-1.456-1.927 3.175 3.175 0 0 1 .047-1.805l-1.446-.848a3.905 3.905 0 0 1-.265.294l-.004.005a3.938 3.938 0 0 1-2.178 1.138v1.699a3.09 3.09 0 0 1 1.56.862l.002.004c.565.572.914 1.368.914 2.243 0 .873-.35 1.664-.914 2.239l-.002.009a3.1 3.1 0 0 1-2.21.931 3.1 3.1 0 0 1-2.206-.93h-.002v-.009a3.186 3.186 0 0 1-.916-2.239c0-.875.35-1.672.916-2.243v-.004h.002a3.1 3.1 0 0 1 1.558-.862v-1.699a3.926 3.926 0 0 1-2.176-1.138l-.006-.005a4.098 4.098 0 0 1-1.173-2.874c0-1.122.452-2.136 1.173-2.872h.006a3.947 3.947 0 0 1 2.176-1.144V6.289a3.137 3.137 0 0 1-1.558-.864h-.002v-.004a3.192 3.192 0 0 1-.916-2.243c0-.871.35-1.669.916-2.243l.002-.002A3.084 3.084 0 0 1 8.683 0c.861 0 1.641.355 2.21.932v.002h.002c.565.574.914 1.372.914 2.243 0 .876-.35 1.667-.914 2.243l-.002.005a3.142 3.142 0 0 1-1.56.864v1.692zm8.121-1.129l-.012-.019a1.452 1.452 0 0 0-.87-.668 1.43 1.43 0 0 0-1.103.146h.002c-.347.2-.58.529-.677.896-.095.365-.054.768.146 1.119l.007.009c.2.347.519.579.874.673.357.103.755.059 1.098-.144l.019-.009a1.47 1.47 0 0 0 .657-.885 1.493 1.493 0 0 0-.141-1.118",
|
@@ -894,10 +1025,14 @@ var T3PIcon = React29__default.default.forwardRef(
|
|
894
1025
|
);
|
895
1026
|
T3PIcon.displayName = "T3P";
|
896
1027
|
var t3p_default = T3PIcon;
|
897
|
-
|
1028
|
+
|
1029
|
+
// src/assets/http.tsx
|
1030
|
+
var import_react27 = __toESM(require("react"), 1);
|
1031
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
1032
|
+
var HttpIcon = import_react27.default.forwardRef(
|
898
1033
|
(_a, ref) => {
|
899
1034
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
900
|
-
return /* @__PURE__ */
|
1035
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
901
1036
|
"svg",
|
902
1037
|
__spreadProps(__spreadValues({
|
903
1038
|
ref,
|
@@ -906,7 +1041,7 @@ var HttpIcon = React29__default.default.forwardRef(
|
|
906
1041
|
}, props), {
|
907
1042
|
viewBox: "0 0 1024 1024",
|
908
1043
|
xmlns: "http://www.w3.org/2000/svg",
|
909
|
-
children: /* @__PURE__ */
|
1044
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
910
1045
|
"path",
|
911
1046
|
{
|
912
1047
|
d: "M400.896 704.292571v194.889143a376.795429 376.795429 0 0 1-84.845714-12.8c-21.028571-34.486857-48.384-93.732571-65.682286-182.089143h150.528z m448 8.521143v38.070857H803.108571V885.028571h-41.984v-134.144h-89.929142V885.028571h-41.984v-134.144h-45.860572v-38.034285h265.508572z m-368.347429 0v63.561143h50.395429V712.777143h41.984V885.028571h-41.984v-70.582857H480.548571v70.582857h-41.947428V712.777143h41.947428z m433.188572 0c19.456 0 32.146286 0.841143 38.509714 2.633143 10.057143 2.742857 18.505143 8.740571 25.161143 17.810286 6.729143 9.069714 10.020571 20.662857 10.020571 34.596571 0 10.715429-1.901714 19.894857-5.741714 27.428572a49.115429 49.115429 0 0 1-33.024 26.404571c-7.899429 1.645714-19.017143 2.450286-33.462857 2.450286h-14.994286V885.028571h-41.947428V712.777143h55.478857z m-691.602286-8.521143c15.579429 79.798857 39.460571 135.606857 59.465143 171.154286a377.526857 377.526857 0 0 1-198.144-171.154286h138.678857z m693.248 35.84h-25.929143v56.576h22.491429c12.946286 0 21.686857-0.914286 26.697143-2.925714a26.038857 26.038857 0 0 0 12.214857-9.984 27.757714 27.757714 0 0 0 4.388571-15.506286 26.733714 26.733714 0 0 0-6.217143-18.029714 26.697143 26.697143 0 0 0-15.652571-8.923428 114.505143 114.505143 0 0 0-17.993143-1.170286z m-514.486857-203.410285v139.629714h-155.428571a957.586286 957.586286 0 0 1-11.702858-139.629714h167.131429z m-195.108571 0a955.977143 955.977143 0 0 0 11.776 139.629714H70.107429A372.626286 372.626286 0 0 1 36.571429 536.722286h169.216z m390.217142 0a957.696 957.696 0 0 1-11.702857 139.629714h-155.428571v-139.629714h167.131428z m193.170286 0a374.930286 374.930286 0 0 1-33.389714 139.629714H612.205714a956.342857 956.342857 0 0 0 11.776-139.629714h165.193143z m-32.548571-167.570286c19.346286 42.934857 30.902857 89.965714 32.841143 139.629714h-165.376c-0.694857-52.48-5.010286-98.742857-11.556572-139.629714h144.091429z m-355.730286 0v139.629714H233.581714c0.731429-52.516571 5.12-98.742857 11.629715-139.629714h155.684571z m-183.661714 0a965.412571 965.412571 0 0 0-11.593143 139.629714H36.790857c1.828571-49.627429 13.019429-96.768 32.256-139.629714H217.234286z m367.323428 0c6.546286 40.923429 10.898286 87.113143 11.629715 139.629714h-167.350858v-139.629714h155.721143z m-34.998857-197.595429c82.651429 32.109714 150.528 92.891429 193.060572 169.691429H607.817143c-15.286857-78.189714-38.509714-133.741714-58.258286-169.691429zM428.873143 146.285714c29.696 1.316571 58.514286 5.997714 86.125714 13.750857 20.955429 35.181714 47.908571 93.952 64.987429 181.174858h-151.149715V146.285714z m-27.977143 0.036572v194.925714H249.819429c17.115429-87.771429 44.324571-146.724571 65.316571-181.833143A376.758857 376.758857 0 0 1 400.896 146.285714z m-120.100571 24.064c-19.858286 35.949714-43.410286 91.794286-58.88 170.825143H83.053714a378.404571 378.404571 0 0 1 197.741715-170.788572z",
|
@@ -920,10 +1055,14 @@ var HttpIcon = React29__default.default.forwardRef(
|
|
920
1055
|
);
|
921
1056
|
HttpIcon.displayName = "Http";
|
922
1057
|
var http_default = HttpIcon;
|
923
|
-
|
1058
|
+
|
1059
|
+
// src/assets/scheme.tsx
|
1060
|
+
var import_react28 = __toESM(require("react"), 1);
|
1061
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
1062
|
+
var SchemeIcon = import_react28.default.forwardRef(
|
924
1063
|
(_a, ref) => {
|
925
1064
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
926
|
-
return /* @__PURE__ */
|
1065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
927
1066
|
"svg",
|
928
1067
|
__spreadProps(__spreadValues({
|
929
1068
|
ref,
|
@@ -932,7 +1071,7 @@ var SchemeIcon = React29__default.default.forwardRef(
|
|
932
1071
|
}, props), {
|
933
1072
|
viewBox: "0 0 24 24",
|
934
1073
|
xmlns: "http://www.w3.org/2000/svg",
|
935
|
-
children: /* @__PURE__ */
|
1074
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
936
1075
|
"path",
|
937
1076
|
{
|
938
1077
|
fill: themeSvgIconColor,
|
@@ -981,85 +1120,90 @@ var BUILTIN_ICON_COMPONENTS = {
|
|
981
1120
|
// ../lib/src/limited-lucide-icons.ts
|
982
1121
|
var limited_lucide_icons_exports = {};
|
983
1122
|
__export(limited_lucide_icons_exports, {
|
984
|
-
AlbumIcon: () =>
|
985
|
-
AlignHorizontalJustifyEnd: () =>
|
986
|
-
ArrowLeft: () =>
|
987
|
-
ArrowRight: () =>
|
988
|
-
ArrowUp: () =>
|
989
|
-
Binary: () =>
|
990
|
-
Blocks: () =>
|
991
|
-
BookX: () =>
|
992
|
-
BringToFront: () =>
|
993
|
-
Bug: () =>
|
994
|
-
Building2: () =>
|
995
|
-
Car: () =>
|
996
|
-
Check: () =>
|
997
|
-
ChevronDown: () =>
|
998
|
-
ChevronLeft: () =>
|
999
|
-
ChevronRight: () =>
|
1000
|
-
ChevronUp: () =>
|
1001
|
-
Circle: () =>
|
1002
|
-
CircleAlert: () =>
|
1003
|
-
CircleSmall: () =>
|
1004
|
-
ComponentIcon: () =>
|
1005
|
-
Cpu: () =>
|
1006
|
-
DatabaseZap: () =>
|
1007
|
-
Dot: () =>
|
1008
|
-
Download: () =>
|
1009
|
-
ExternalLink: () =>
|
1010
|
-
Eye: () =>
|
1011
|
-
Facebook: () =>
|
1012
|
-
FileLock2: () =>
|
1013
|
-
Fingerprint: () =>
|
1014
|
-
Gift: () =>
|
1015
|
-
GitPullRequestArrow: () =>
|
1016
|
-
Globe: () =>
|
1017
|
-
GlobeLock: () =>
|
1018
|
-
GripVertical: () =>
|
1019
|
-
HandHeart: () =>
|
1020
|
-
Handshake: () =>
|
1021
|
-
Highlighter: () =>
|
1022
|
-
HousePlus: () =>
|
1023
|
-
ImageDown: () =>
|
1024
|
-
ImageOff: () =>
|
1025
|
-
ImageUp: () =>
|
1026
|
-
Info: () =>
|
1027
|
-
Keyboard: () =>
|
1028
|
-
LandPlot: () =>
|
1029
|
-
Layout: () =>
|
1030
|
-
LayoutTemplate: () =>
|
1031
|
-
LibraryIcon: () =>
|
1032
|
-
Link: () =>
|
1033
|
-
Loader2: () =>
|
1034
|
-
LogIn: () =>
|
1035
|
-
LogOut: () =>
|
1036
|
-
MoreHorizontal: () =>
|
1037
|
-
MousePointerClick: () =>
|
1038
|
-
Palette: () =>
|
1039
|
-
PanelLeft: () =>
|
1040
|
-
PanelsTopLeft: () =>
|
1041
|
-
Pencil: () =>
|
1042
|
-
Pi: () =>
|
1043
|
-
ReceiptText: () =>
|
1044
|
-
Regex: () =>
|
1045
|
-
Replace: () =>
|
1046
|
-
Rss: () =>
|
1047
|
-
Scale: () =>
|
1048
|
-
Search: () =>
|
1049
|
-
Server: () =>
|
1050
|
-
Share: () =>
|
1051
|
-
ShieldUser: () =>
|
1052
|
-
Sparkles: () =>
|
1053
|
-
SplinePointer: () =>
|
1054
|
-
SquareDashedBottomCode: () =>
|
1055
|
-
SquareTerminal: () =>
|
1056
|
-
Star: () =>
|
1057
|
-
Tablets: () =>
|
1058
|
-
Terminal: () =>
|
1059
|
-
Twitter: () =>
|
1060
|
-
X: () =>
|
1061
|
-
Zap: () =>
|
1123
|
+
AlbumIcon: () => import_lucide_react.AlbumIcon,
|
1124
|
+
AlignHorizontalJustifyEnd: () => import_lucide_react.AlignHorizontalJustifyEnd,
|
1125
|
+
ArrowLeft: () => import_lucide_react.ArrowLeft,
|
1126
|
+
ArrowRight: () => import_lucide_react.ArrowRight,
|
1127
|
+
ArrowUp: () => import_lucide_react.ArrowUp,
|
1128
|
+
Binary: () => import_lucide_react.Binary,
|
1129
|
+
Blocks: () => import_lucide_react.Blocks,
|
1130
|
+
BookX: () => import_lucide_react.BookX,
|
1131
|
+
BringToFront: () => import_lucide_react.BringToFront,
|
1132
|
+
Bug: () => import_lucide_react.Bug,
|
1133
|
+
Building2: () => import_lucide_react.Building2,
|
1134
|
+
Car: () => import_lucide_react.Car,
|
1135
|
+
Check: () => import_lucide_react.Check,
|
1136
|
+
ChevronDown: () => import_lucide_react.ChevronDown,
|
1137
|
+
ChevronLeft: () => import_lucide_react.ChevronLeft,
|
1138
|
+
ChevronRight: () => import_lucide_react.ChevronRight,
|
1139
|
+
ChevronUp: () => import_lucide_react.ChevronUp,
|
1140
|
+
Circle: () => import_lucide_react.Circle,
|
1141
|
+
CircleAlert: () => import_lucide_react.CircleAlert,
|
1142
|
+
CircleSmall: () => import_lucide_react.CircleSmall,
|
1143
|
+
ComponentIcon: () => import_lucide_react.ComponentIcon,
|
1144
|
+
Cpu: () => import_lucide_react.Cpu,
|
1145
|
+
DatabaseZap: () => import_lucide_react.DatabaseZap,
|
1146
|
+
Dot: () => import_lucide_react.Dot,
|
1147
|
+
Download: () => import_lucide_react.Download,
|
1148
|
+
ExternalLink: () => import_lucide_react.ExternalLink,
|
1149
|
+
Eye: () => import_lucide_react.Eye,
|
1150
|
+
Facebook: () => import_lucide_react.Facebook,
|
1151
|
+
FileLock2: () => import_lucide_react.FileLock2,
|
1152
|
+
Fingerprint: () => import_lucide_react.Fingerprint,
|
1153
|
+
Gift: () => import_lucide_react.Gift,
|
1154
|
+
GitPullRequestArrow: () => import_lucide_react.GitPullRequestArrow,
|
1155
|
+
Globe: () => import_lucide_react.Globe,
|
1156
|
+
GlobeLock: () => import_lucide_react.GlobeLock,
|
1157
|
+
GripVertical: () => import_lucide_react.GripVertical,
|
1158
|
+
HandHeart: () => import_lucide_react.HandHeart,
|
1159
|
+
Handshake: () => import_lucide_react.Handshake,
|
1160
|
+
Highlighter: () => import_lucide_react.Highlighter,
|
1161
|
+
HousePlus: () => import_lucide_react.HousePlus,
|
1162
|
+
ImageDown: () => import_lucide_react.ImageDown,
|
1163
|
+
ImageOff: () => import_lucide_react.ImageOff,
|
1164
|
+
ImageUp: () => import_lucide_react.ImageUp,
|
1165
|
+
Info: () => import_lucide_react.Info,
|
1166
|
+
Keyboard: () => import_lucide_react.Keyboard,
|
1167
|
+
LandPlot: () => import_lucide_react.LandPlot,
|
1168
|
+
Layout: () => import_lucide_react.Layout,
|
1169
|
+
LayoutTemplate: () => import_lucide_react.LayoutTemplate,
|
1170
|
+
LibraryIcon: () => import_lucide_react.LibraryIcon,
|
1171
|
+
Link: () => import_lucide_react.Link,
|
1172
|
+
Loader2: () => import_lucide_react.Loader2,
|
1173
|
+
LogIn: () => import_lucide_react.LogIn,
|
1174
|
+
LogOut: () => import_lucide_react.LogOut,
|
1175
|
+
MoreHorizontal: () => import_lucide_react.MoreHorizontal,
|
1176
|
+
MousePointerClick: () => import_lucide_react.MousePointerClick,
|
1177
|
+
Palette: () => import_lucide_react.Palette,
|
1178
|
+
PanelLeft: () => import_lucide_react.PanelLeft,
|
1179
|
+
PanelsTopLeft: () => import_lucide_react.PanelsTopLeft,
|
1180
|
+
Pencil: () => import_lucide_react.Pencil,
|
1181
|
+
Pi: () => import_lucide_react.Pi,
|
1182
|
+
ReceiptText: () => import_lucide_react.ReceiptText,
|
1183
|
+
Regex: () => import_lucide_react.Regex,
|
1184
|
+
Replace: () => import_lucide_react.Replace,
|
1185
|
+
Rss: () => import_lucide_react.Rss,
|
1186
|
+
Scale: () => import_lucide_react.Scale,
|
1187
|
+
Search: () => import_lucide_react.Search,
|
1188
|
+
Server: () => import_lucide_react.Server,
|
1189
|
+
Share: () => import_lucide_react.Share,
|
1190
|
+
ShieldUser: () => import_lucide_react.ShieldUser,
|
1191
|
+
Sparkles: () => import_lucide_react.Sparkles,
|
1192
|
+
SplinePointer: () => import_lucide_react.SplinePointer,
|
1193
|
+
SquareDashedBottomCode: () => import_lucide_react.SquareDashedBottomCode,
|
1194
|
+
SquareTerminal: () => import_lucide_react.SquareTerminal,
|
1195
|
+
Star: () => import_lucide_react.Star,
|
1196
|
+
Tablets: () => import_lucide_react.Tablets,
|
1197
|
+
Terminal: () => import_lucide_react.Terminal,
|
1198
|
+
Twitter: () => import_lucide_react.Twitter,
|
1199
|
+
X: () => import_lucide_react.X,
|
1200
|
+
Zap: () => import_lucide_react.Zap
|
1062
1201
|
});
|
1202
|
+
var import_lucide_react = require("lucide-react");
|
1203
|
+
|
1204
|
+
// src/components/global-icon.tsx
|
1205
|
+
var import_react29 = __toESM(require("react"), 1);
|
1206
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
1063
1207
|
var tempStyledLimitedIcons = {};
|
1064
1208
|
for (const iconNameKey in limited_lucide_icons_exports) {
|
1065
1209
|
if (Object.prototype.hasOwnProperty.call(limited_lucide_icons_exports, iconNameKey)) {
|
@@ -1079,7 +1223,7 @@ for (const iconNameKey in limited_lucide_icons_exports) {
|
|
1079
1223
|
height: props.size || themeSvgIconSize
|
1080
1224
|
}, props.style)
|
1081
1225
|
});
|
1082
|
-
return /* @__PURE__ */
|
1226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ComponentToRender, __spreadValues({}, finalProps));
|
1083
1227
|
};
|
1084
1228
|
StyledIcon.displayName = `Styled(${iconName})`;
|
1085
1229
|
tempStyledLimitedIcons[iconName] = StyledIcon;
|
@@ -1103,50 +1247,513 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
|
|
1103
1247
|
height: props.size || themeSvgIconSize
|
1104
1248
|
}, props.style)
|
1105
1249
|
});
|
1106
|
-
return /* @__PURE__ */
|
1250
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(IconComponent, __spreadValues({}, finalProps));
|
1107
1251
|
};
|
1108
1252
|
WrappedIcon.displayName = `Wrapped(${iconName})`;
|
1109
1253
|
tempWrappedBuiltinIcons[iconName] = WrappedIcon;
|
1110
1254
|
}
|
1111
1255
|
var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
|
1112
1256
|
var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
|
1113
|
-
var
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1257
|
+
var NotFoundIcon = () => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(globalLucideIcons.SquareTerminal, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
|
1258
|
+
|
1259
|
+
// src/components/404-page.tsx
|
1260
|
+
var import_react30 = require("react");
|
1261
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
1262
|
+
function NotFoundPage({ siteIcon }) {
|
1263
|
+
const [glitchText, setGlitchText] = (0, import_react30.useState)("404");
|
1264
|
+
(0, import_react30.useEffect)(() => {
|
1265
|
+
const glitchChars = ["4", "0", "4", "?", "#", "!", "*", "&", "%", "$"];
|
1266
|
+
const interval = setInterval(() => {
|
1267
|
+
if (Math.random() < 0.5) {
|
1268
|
+
setGlitchText("404");
|
1269
|
+
} else {
|
1270
|
+
const randomChars = Array.from(
|
1271
|
+
{ length: 3 },
|
1272
|
+
() => glitchChars[Math.floor(Math.random() * glitchChars.length)]
|
1273
|
+
).join("");
|
1274
|
+
setGlitchText(randomChars);
|
1275
|
+
}
|
1276
|
+
}, 600);
|
1277
|
+
return () => clearInterval(interval);
|
1278
|
+
}, []);
|
1279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col items-center justify-center min-h-[75vh] w-full px-4 py-8", children: [
|
1280
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "text-center space-y-8 max-w-2xl", children: [
|
1281
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative flex justify-center", children: [
|
1282
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
1283
|
+
"h1",
|
1284
|
+
{
|
1285
|
+
className: "text-8xl md:text-9xl font-bold bg-gradient-to-r from-purple-600 via-pink-500 to-purple-700 bg-clip-text text-transparent select-none",
|
1286
|
+
style: {
|
1287
|
+
fontFamily: "Montserrat, monospace",
|
1288
|
+
textShadow: "0 0 30px rgba(172, 98, 253, 0.3)",
|
1289
|
+
letterSpacing: "0.1em"
|
1290
|
+
},
|
1291
|
+
children: glitchText
|
1292
|
+
}
|
1293
|
+
),
|
1294
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "absolute inset-0 pointer-events-none", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "h-full w-full bg-gradient-to-b from-transparent via-purple-500/10 to-transparent animate-pulse" }) })
|
1295
|
+
] }),
|
1296
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "space-y-4", children: [
|
1297
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h2", { className: "text-2xl md:text-3xl font-semibold text-foreground", children: "Page Not Found" }),
|
1298
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "text-lg text-muted-foreground max-w-md mx-auto leading-relaxed", children: "The page you're looking for doesn't exist" })
|
1299
|
+
] }),
|
1300
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex justify-center items-center gap-8 pt-8 opacity-60", children: [
|
1301
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
1302
|
+
siteIcon,
|
1303
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Woops!" })
|
1304
|
+
] }),
|
1305
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "w-1 h-1 bg-purple-500 rounded-full animate-ping" }),
|
1306
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(NotFoundIcon, {}),
|
1308
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Error Code: 404" })
|
1309
|
+
] })
|
1310
|
+
] })
|
1311
|
+
] }),
|
1312
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "fixed inset-0 pointer-events-none overflow-hidden -z-10", children: [
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
1314
|
+
"div",
|
1315
|
+
{
|
1316
|
+
className: "absolute inset-0 opacity-[0.02] dark:opacity-[0.05]",
|
1317
|
+
style: {
|
1318
|
+
backgroundImage: `
|
1319
|
+
linear-gradient(rgba(172, 98, 253, 0.1) 1px, transparent 1px),
|
1320
|
+
linear-gradient(90deg, rgba(172, 98, 253, 0.1) 1px, transparent 1px)
|
1321
|
+
`,
|
1322
|
+
backgroundSize: "50px 50px"
|
1323
|
+
}
|
1324
|
+
}
|
1325
|
+
),
|
1326
|
+
Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
1327
|
+
"div",
|
1328
|
+
{
|
1329
|
+
className: "absolute w-2 h-2 bg-purple-500/20 rounded-full animate-bounce",
|
1330
|
+
style: {
|
1331
|
+
left: `${20 + i * 15}%`,
|
1332
|
+
top: `${30 + i % 3 * 20}%`,
|
1333
|
+
animationDelay: `${i * 0.5}s`,
|
1334
|
+
animationDuration: `${2 + i * 0.3}s`
|
1335
|
+
}
|
1336
|
+
},
|
1337
|
+
i
|
1338
|
+
))
|
1339
|
+
] })
|
1340
|
+
] });
|
1341
|
+
}
|
1342
|
+
|
1343
|
+
// src/components/go-to-top.tsx
|
1344
|
+
var import_react31 = require("react");
|
1345
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
1346
|
+
|
1347
|
+
// src/components/language-detector.tsx
|
1348
|
+
var import_next_intl = require("next-intl");
|
1349
|
+
var import_navigation = require("next/navigation");
|
1350
|
+
var import_react32 = require("react");
|
1351
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
1352
|
+
function LanguageDetector({ i18nConfig }) {
|
1353
|
+
const [show, setShow] = (0, import_react32.useState)(false);
|
1354
|
+
const [detectedLocale, setDetectedLocale] = (0, import_react32.useState)(null);
|
1355
|
+
const currentLocale = (0, import_next_intl.useLocale)();
|
1356
|
+
const router = (0, import_navigation.useRouter)();
|
1357
|
+
const t = (0, import_next_intl.useTranslations)("languageDetection");
|
1358
|
+
const LANGUAGE_PREFERENCE_KEY = `${i18nConfig.detector.storagePrefix}-${i18nConfig.detector.storageKey}`;
|
1359
|
+
(0, import_react32.useEffect)(() => {
|
1360
|
+
const browserLang = navigator.language.split("-")[0];
|
1361
|
+
const savedPreference = localStorage.getItem(LANGUAGE_PREFERENCE_KEY);
|
1362
|
+
const preference = savedPreference ? JSON.parse(savedPreference) : null;
|
1363
|
+
const shouldShowDetector = () => {
|
1364
|
+
if (!preference) return true;
|
1365
|
+
if (preference.locale === currentLocale) return false;
|
1366
|
+
if (preference.status === "rejected" && preference.locale === browserLang) return false;
|
1367
|
+
if (preference.status === "accepted" && preference.locale === currentLocale) return false;
|
1368
|
+
const expirationMs = i18nConfig.detector.expirationDays * 24 * 60 * 60 * 1e3;
|
1369
|
+
if (Date.now() - preference.timestamp < expirationMs) return false;
|
1370
|
+
return true;
|
1371
|
+
};
|
1372
|
+
if (i18nConfig.locales.includes(browserLang) && browserLang !== currentLocale && shouldShowDetector()) {
|
1373
|
+
setDetectedLocale(browserLang);
|
1374
|
+
setShow(true);
|
1375
|
+
const timer = setTimeout(() => {
|
1376
|
+
console.log("[LanguageDetector] Auto closing after timeout");
|
1377
|
+
setShow(false);
|
1378
|
+
savePreference(browserLang, "rejected");
|
1379
|
+
}, i18nConfig.detector.autoCloseTimeout);
|
1380
|
+
return () => clearTimeout(timer);
|
1119
1381
|
}
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1382
|
+
}, [currentLocale]);
|
1383
|
+
const savePreference = (locale, status) => {
|
1384
|
+
const preference = {
|
1385
|
+
locale,
|
1386
|
+
status,
|
1387
|
+
timestamp: Date.now()
|
1388
|
+
};
|
1389
|
+
localStorage.setItem(LANGUAGE_PREFERENCE_KEY, JSON.stringify(preference));
|
1390
|
+
};
|
1391
|
+
const handleLanguageChange = () => {
|
1392
|
+
if (detectedLocale) {
|
1393
|
+
savePreference(detectedLocale, "accepted");
|
1394
|
+
const pathname = window.location.pathname;
|
1395
|
+
const newPathname = pathname.replace(`/${currentLocale}`, `/${detectedLocale}`);
|
1396
|
+
router.push(newPathname);
|
1397
|
+
setShow(false);
|
1128
1398
|
}
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1399
|
+
};
|
1400
|
+
const handleClose = () => {
|
1401
|
+
if (detectedLocale) {
|
1402
|
+
savePreference(detectedLocale, "rejected");
|
1132
1403
|
}
|
1133
|
-
|
1404
|
+
setShow(false);
|
1405
|
+
};
|
1406
|
+
if (!detectedLocale || !show) return null;
|
1407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "fixed top-16 right-4 z-40 w-[420px]", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: `shadow-lg rounded-lg transition-all duration-300 ${show ? "translate-x-0 opacity-100" : "translate-x-full opacity-0"}
|
1408
|
+
bg-linear-to-r from-purple-100/95 via-white/95 to-purple-100/95 backdrop-blur-xs
|
1409
|
+
animate-gradient-x`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative px-6 py-4 overflow-hidden", children: [
|
1410
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative z-10 flex flex-col gap-3", children: [
|
1411
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-start justify-between gap-4", children: [
|
1412
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col gap-1.5", children: [
|
1413
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("h3", { className: "text-lg font-semibold text-gray-900", children: t("title") }),
|
1414
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("p", { className: "text-base text-gray-600", children: [
|
1415
|
+
t("description"),
|
1416
|
+
" ",
|
1417
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-purple-500 font-semibold", children: detectedLocale === "zh" ? "\u4E2D\u6587" : "English" }),
|
1418
|
+
"?"
|
1419
|
+
] })
|
1420
|
+
] }),
|
1421
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
1422
|
+
"button",
|
1423
|
+
{
|
1424
|
+
onClick: handleClose,
|
1425
|
+
className: "text-gray-500 hover:text-gray-700",
|
1426
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(globalLucideIcons.X, { className: "h-5 w-5" })
|
1427
|
+
}
|
1428
|
+
)
|
1429
|
+
] }),
|
1430
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-3", children: [
|
1431
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
1432
|
+
"button",
|
1433
|
+
{
|
1434
|
+
onClick: handleClose,
|
1435
|
+
className: "flex-1 px-4 py-2 text-base bg-gray-100 text-gray-600 rounded-md hover:bg-gray-200",
|
1436
|
+
children: t("close")
|
1437
|
+
}
|
1438
|
+
),
|
1439
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
1440
|
+
"button",
|
1441
|
+
{
|
1442
|
+
onClick: handleLanguageChange,
|
1443
|
+
className: "flex-1 px-4 py-2 text-base bg-purple-500 text-white rounded-md hover:bg-purple-600",
|
1444
|
+
children: t("changeAction")
|
1445
|
+
}
|
1446
|
+
)
|
1447
|
+
] })
|
1448
|
+
] }),
|
1449
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "absolute inset-0 bg-linear-to-r from-transparent via-purple-200/30 to-transparent animate-shimmer" })
|
1450
|
+
] }) }) });
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
// src/components/language-switcher.tsx
|
1454
|
+
var import_navigation2 = require("next/navigation");
|
1455
|
+
var import_next_intl2 = require("next-intl");
|
1456
|
+
|
1457
|
+
// src/ui/dropdown-menu.tsx
|
1458
|
+
var React30 = __toESM(require("react"), 1);
|
1459
|
+
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
|
1460
|
+
|
1461
|
+
// ../lib/src/utils.ts
|
1462
|
+
var import_clsx = require("clsx");
|
1463
|
+
var import_tailwind_merge = require("tailwind-merge");
|
1464
|
+
function cn(...inputs) {
|
1465
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
1466
|
+
}
|
1467
|
+
|
1468
|
+
// src/ui/dropdown-menu.tsx
|
1469
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
1470
|
+
var DropdownMenu = DropdownMenuPrimitive.Root;
|
1471
|
+
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
1472
|
+
var DropdownMenuSubTrigger = React30.forwardRef((_a, ref) => {
|
1473
|
+
var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
|
1474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
1475
|
+
DropdownMenuPrimitive.SubTrigger,
|
1476
|
+
__spreadProps(__spreadValues({
|
1477
|
+
ref,
|
1478
|
+
className: cn(
|
1479
|
+
"flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
1480
|
+
inset && "pl-8",
|
1481
|
+
className
|
1482
|
+
)
|
1483
|
+
}, props), {
|
1484
|
+
children: [
|
1485
|
+
children,
|
1486
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(globalLucideIcons.ChevronRight, { className: "ml-auto" })
|
1487
|
+
]
|
1488
|
+
})
|
1489
|
+
);
|
1490
|
+
});
|
1491
|
+
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
1492
|
+
var DropdownMenuSubContent = React30.forwardRef((_a, ref) => {
|
1493
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
1494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1495
|
+
DropdownMenuPrimitive.SubContent,
|
1496
|
+
__spreadValues({
|
1497
|
+
ref,
|
1498
|
+
className: cn(
|
1499
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
1500
|
+
className
|
1501
|
+
)
|
1502
|
+
}, props)
|
1503
|
+
);
|
1504
|
+
});
|
1505
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
1506
|
+
var DropdownMenuContent = React30.forwardRef((_a, ref) => {
|
1507
|
+
var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
|
1508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1509
|
+
DropdownMenuPrimitive.Content,
|
1510
|
+
__spreadValues({
|
1511
|
+
ref,
|
1512
|
+
sideOffset,
|
1513
|
+
className: cn(
|
1514
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
1515
|
+
className
|
1516
|
+
)
|
1517
|
+
}, props)
|
1518
|
+
) });
|
1519
|
+
});
|
1520
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
1521
|
+
var DropdownMenuItem = React30.forwardRef((_a, ref) => {
|
1522
|
+
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
1523
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1524
|
+
DropdownMenuPrimitive.Item,
|
1525
|
+
__spreadValues({
|
1526
|
+
ref,
|
1527
|
+
className: cn(
|
1528
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
1529
|
+
inset && "pl-8",
|
1530
|
+
className
|
1531
|
+
)
|
1532
|
+
}, props)
|
1533
|
+
);
|
1534
|
+
});
|
1535
|
+
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
1536
|
+
var DropdownMenuCheckboxItem = React30.forwardRef((_a, ref) => {
|
1537
|
+
var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
|
1538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
1539
|
+
DropdownMenuPrimitive.CheckboxItem,
|
1540
|
+
__spreadProps(__spreadValues({
|
1541
|
+
ref,
|
1542
|
+
className: cn(
|
1543
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
1544
|
+
className
|
1545
|
+
),
|
1546
|
+
checked
|
1547
|
+
}, props), {
|
1548
|
+
children: [
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(globalLucideIcons.Check, { className: "h-4 w-4" }) }) }),
|
1550
|
+
children
|
1551
|
+
]
|
1552
|
+
})
|
1553
|
+
);
|
1554
|
+
});
|
1555
|
+
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
1556
|
+
var DropdownMenuRadioItem = React30.forwardRef((_a, ref) => {
|
1557
|
+
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
1558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
1559
|
+
DropdownMenuPrimitive.RadioItem,
|
1560
|
+
__spreadProps(__spreadValues({
|
1561
|
+
ref,
|
1562
|
+
className: cn(
|
1563
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
1564
|
+
className
|
1565
|
+
)
|
1566
|
+
}, props), {
|
1567
|
+
children: [
|
1568
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(globalLucideIcons.Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
1569
|
+
children
|
1570
|
+
]
|
1571
|
+
})
|
1572
|
+
);
|
1573
|
+
});
|
1574
|
+
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
1575
|
+
var DropdownMenuLabel = React30.forwardRef((_a, ref) => {
|
1576
|
+
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
1577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1578
|
+
DropdownMenuPrimitive.Label,
|
1579
|
+
__spreadValues({
|
1580
|
+
ref,
|
1581
|
+
className: cn(
|
1582
|
+
"px-2 py-1.5 text-sm font-semibold",
|
1583
|
+
inset && "pl-8",
|
1584
|
+
className
|
1585
|
+
)
|
1586
|
+
}, props)
|
1587
|
+
);
|
1588
|
+
});
|
1589
|
+
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
1590
|
+
var DropdownMenuSeparator = React30.forwardRef((_a, ref) => {
|
1591
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
1592
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1593
|
+
DropdownMenuPrimitive.Separator,
|
1594
|
+
__spreadValues({
|
1595
|
+
ref,
|
1596
|
+
className: cn("-mx-1 my-1 h-px bg-muted", className)
|
1597
|
+
}, props)
|
1598
|
+
);
|
1599
|
+
});
|
1600
|
+
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
1601
|
+
var DropdownMenuShortcut = (_a) => {
|
1602
|
+
var _b = _a, {
|
1603
|
+
className
|
1604
|
+
} = _b, props = __objRest(_b, [
|
1605
|
+
"className"
|
1606
|
+
]);
|
1607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1608
|
+
"span",
|
1609
|
+
__spreadValues({
|
1610
|
+
className: cn("ml-auto text-xs tracking-widest opacity-60", className)
|
1611
|
+
}, props)
|
1612
|
+
);
|
1613
|
+
};
|
1614
|
+
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
1615
|
+
|
1616
|
+
// src/ui/language-button.tsx
|
1617
|
+
var React31 = __toESM(require("react"), 1);
|
1618
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
1619
|
+
var LanguageButton = React31.forwardRef(
|
1620
|
+
(_a, ref) => {
|
1621
|
+
var _b = _a, { className, variant = "default", size = "default" } = _b, props = __objRest(_b, ["className", "variant", "size"]);
|
1622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
1623
|
+
"button",
|
1624
|
+
__spreadValues({
|
1625
|
+
className: cn(
|
1626
|
+
"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background",
|
1627
|
+
{
|
1628
|
+
"bg-primary text-primary-foreground hover:bg-primary/90": variant === "default",
|
1629
|
+
"hover:bg-accent hover:text-accent-foreground": variant === "ghost",
|
1630
|
+
"h-10 px-4 py-2": size === "default",
|
1631
|
+
"h-9 px-3": size === "sm",
|
1632
|
+
"h-11 px-8": size === "lg",
|
1633
|
+
"h-10 w-10": size === "icon"
|
1634
|
+
},
|
1635
|
+
className
|
1636
|
+
),
|
1637
|
+
ref
|
1638
|
+
}, props)
|
1639
|
+
);
|
1134
1640
|
}
|
1135
|
-
|
1136
|
-
|
1641
|
+
);
|
1642
|
+
LanguageButton.displayName = "Button";
|
1643
|
+
|
1644
|
+
// src/components/language-switcher.tsx
|
1645
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
1646
|
+
function LanguageSwitcher({ locales, localeLabels }) {
|
1647
|
+
const locale = (0, import_next_intl2.useLocale)();
|
1648
|
+
const router = (0, import_navigation2.useRouter)();
|
1649
|
+
const pathname = (0, import_navigation2.usePathname)();
|
1650
|
+
const handleLocaleChange = (newLocale) => {
|
1651
|
+
const newPathname = pathname.replace(`/${locale}`, `/${newLocale}`);
|
1652
|
+
router.push(newPathname);
|
1653
|
+
};
|
1654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(DropdownMenu, { children: [
|
1655
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
1656
|
+
LanguageButton,
|
1657
|
+
{
|
1658
|
+
variant: "ghost",
|
1659
|
+
size: "icon",
|
1660
|
+
className: "bg-linear-to-r from-purple-400 to-pink-600 hover:from-purple-500 hover:to-pink-700 text-white transform hover:scale-110 transition-all duration-300",
|
1661
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(globalLucideIcons.Globe, { className: "h-5 w-5" })
|
1662
|
+
}
|
1663
|
+
) }),
|
1664
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
1665
|
+
DropdownMenuContent,
|
1666
|
+
{
|
1667
|
+
align: "end",
|
1668
|
+
sideOffset: 5,
|
1669
|
+
className: "bg-white/90 dark:bg-gray-800/90 border-purple-100 dark:border-purple-800 w-[200px] p-2 backdrop-blur-xs translate-x-[50px]",
|
1670
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "grid grid-cols-2 gap-1", children: locales.map((loc) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
1671
|
+
DropdownMenuItem,
|
1672
|
+
{
|
1673
|
+
className: `
|
1674
|
+
px-2 py-2 text-sm cursor-pointer text-center justify-center
|
1675
|
+
transition-all duration-300 ease-in-out
|
1676
|
+
hover:scale-105 hover:shadow-md
|
1677
|
+
rounded-md whitespace-nowrap
|
1678
|
+
${locale === loc ? "bg-linear-to-r from-purple-400 to-pink-600 text-white font-medium shadow-lg scale-105" : "hover:bg-linear-to-r hover:from-purple-400/10 hover:to-pink-600/10 hover:text-transparent hover:bg-clip-text"}
|
1679
|
+
`,
|
1680
|
+
onClick: () => handleLocaleChange(loc),
|
1681
|
+
children: localeLabels[loc]
|
1682
|
+
},
|
1683
|
+
loc
|
1684
|
+
)) })
|
1685
|
+
}
|
1686
|
+
)
|
1687
|
+
] });
|
1688
|
+
}
|
1689
|
+
|
1690
|
+
// src/components/script/google-analytics-script.tsx
|
1691
|
+
var import_script = __toESM(require("next/script"), 1);
|
1692
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
1693
|
+
var googleAnalyticsId = process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID;
|
1694
|
+
function GoogleAnalyticsScript() {
|
1695
|
+
if (process.env.NODE_ENV !== "production") {
|
1696
|
+
return null;
|
1137
1697
|
}
|
1138
|
-
return
|
1698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
|
1699
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
1700
|
+
import_script.default,
|
1701
|
+
{
|
1702
|
+
strategy: "afterInteractive",
|
1703
|
+
src: `https://www.googletagmanager.com/gtag/js?id=${googleAnalyticsId}`
|
1704
|
+
}
|
1705
|
+
),
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
1707
|
+
import_script.default,
|
1708
|
+
{
|
1709
|
+
id: "google-analytics",
|
1710
|
+
strategy: "afterInteractive",
|
1711
|
+
dangerouslySetInnerHTML: {
|
1712
|
+
__html: `
|
1713
|
+
window.dataLayer = window.dataLayer || [];
|
1714
|
+
function gtag(){dataLayer.push(arguments);}
|
1715
|
+
gtag('js', new Date());
|
1716
|
+
gtag('config', '${googleAnalyticsId}');
|
1717
|
+
`
|
1718
|
+
}
|
1719
|
+
}
|
1720
|
+
)
|
1721
|
+
] });
|
1139
1722
|
}
|
1140
|
-
function
|
1141
|
-
|
1723
|
+
function useGoogleAnalytics() {
|
1724
|
+
const trackEvent = (event, data) => {
|
1725
|
+
if (typeof window === "undefined" || !window.gtag) {
|
1726
|
+
return;
|
1727
|
+
}
|
1728
|
+
window.gtag("event", event, data);
|
1729
|
+
};
|
1730
|
+
return {
|
1731
|
+
trackEvent
|
1732
|
+
};
|
1142
1733
|
}
|
1143
|
-
var DefaultSiteIcon = () => /* @__PURE__ */ jsxRuntime.jsx(globalLucideIcons.Zap, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
|
1144
|
-
var NotFoundIcon = () => /* @__PURE__ */ jsxRuntime.jsx(globalLucideIcons.SquareTerminal, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
|
1145
1734
|
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1735
|
+
// src/components/script/microsoft-clarity-script.tsx
|
1736
|
+
var import_script2 = __toESM(require("next/script"), 1);
|
1737
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
1738
|
+
var microsoftClarityId = process.env.NEXT_PUBLIC_MICROSOFT_CLARITY_ID;
|
1739
|
+
function MicrosoftClarityScript() {
|
1740
|
+
if (process.env.NODE_ENV !== "production") {
|
1741
|
+
return null;
|
1742
|
+
}
|
1743
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_script2.default, { id: "microsoft-clarity", strategy: "afterInteractive", children: `
|
1744
|
+
(function(c,l,a,r,i,t,y){
|
1745
|
+
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
|
1746
|
+
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
|
1747
|
+
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
1748
|
+
})(window, document, "clarity", "script", "${microsoftClarityId}");
|
1749
|
+
` });
|
1750
|
+
}
|
1751
|
+
/**
|
1752
|
+
* @license
|
1753
|
+
* MIT License
|
1754
|
+
* Copyright (c) 2025 D8ger
|
1755
|
+
*
|
1756
|
+
* This source code is licensed under the MIT license found in the
|
1757
|
+
* LICENSE file in the root directory of this source tree.
|
1758
|
+
*/
|
1152
1759
|
//# sourceMappingURL=index.js.map
|