@arcblock/ux 3.1.30 → 3.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,31 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { useRef as D, useState as G, useEffect as S } from "react";
2
+ import { useRef as $, useState as T, useEffect as S } from "react";
3
3
  import { Link as p } from "react-router-dom";
4
- import { useMemoizedFn as v, useCreation as B } from "ahooks";
5
- import { Box as g, useTheme as E } from "@mui/material";
6
- import T from "./sub-item-group.js";
7
- import { Item as F } from "./nav-menu.js";
4
+ import { useMemoizedFn as A, useCreation as F } from "ahooks";
5
+ import { Box as w, useTheme as G } from "@mui/material";
6
+ import B from "./sub-item-group.js";
7
+ import { Item as K } from "./nav-menu.js";
8
8
  import { styled as C } from "../Theme/index.js";
9
9
  import { useNavMenuContext as L } from "./nav-menu-context.js";
10
- import { translate as _ } from "../Locale/util.js";
11
- import { useLocaleContext as K } from "../Locale/context.js";
10
+ import { translate as E } from "../Locale/util.js";
11
+ import { useLocaleContext as _ } from "../Locale/context.js";
12
12
  import M from "./images/nft-studio.svg.js";
13
13
  import O from "./images/creator-studio.svg.js";
14
14
  import P from "./images/blocklet-launcher.svg.js";
15
- import R from "./images/blocklet-store.svg.js";
16
- import H from "./images/web3-kit.svg.js";
15
+ import H from "./images/blocklet-store.svg.js";
16
+ import R from "./images/web3-kit.svg.js";
17
17
  import z from "./images/blocklet-framework.svg.js";
18
- import V from "./images/abt-network.svg.js";
19
- import j from "./images/blocklet-server.svg.js";
18
+ import j from "./images/abt-network.svg.js";
19
+ import V from "./images/blocklet-server.svg.js";
20
20
  import q from "./images/OCAP.svg.js";
21
21
  import U from "./images/did.svg.js";
22
22
  import J from "./images/did-wallet.svg.js";
23
23
  import Q from "./images/vc.svg.js";
24
24
  import X from "./images/payment-kit.png";
25
25
  import Y from "./images/aigne.svg.js";
26
- import A from "./images/arcsphere.svg.js";
26
+ import I from "./images/arcsphere.svg.js";
27
27
  import Z from "./images/aistro.png";
28
- const I = 260, ee = {
28
+ const v = 260, ee = {
29
29
  en: {
30
30
  groups: {
31
31
  applications: "Applications",
@@ -217,10 +217,202 @@ const I = 260, ee = {
217
217
  description: "一套 API,连接所有模型"
218
218
  }
219
219
  }
220
+ },
221
+ "zh-TW": {
222
+ groups: {
223
+ applications: "應用",
224
+ components: "組件",
225
+ computeStorage: "計算/儲存",
226
+ identity: "身份",
227
+ frameworkTools: "框架與工具",
228
+ modelsAdapters: "模型適配器"
229
+ },
230
+ products: {
231
+ nftStudio: {
232
+ description: "鑄造和管理 NFT"
233
+ },
234
+ creatorStudio: {
235
+ description: "一體化創作工具"
236
+ },
237
+ aigne: {
238
+ description: "AI 應用的代理生態系統"
239
+ },
240
+ arcsphere: {
241
+ description: "AI 原生瀏覽器"
242
+ },
243
+ aistro: {
244
+ description: "AI 占星術"
245
+ },
246
+ blockletLauncher: {
247
+ description: "一鍵啟動應用程式"
248
+ },
249
+ aiKit: {
250
+ description: "AI 賦能應用"
251
+ },
252
+ paymentKit: {
253
+ description: "便捷的加密貨幣和銀行卡支付"
254
+ },
255
+ blockletStore: {
256
+ description: "發現和部署應用程式"
257
+ },
258
+ web3Kit: {
259
+ description: "Web3 開發工具包"
260
+ },
261
+ blockletFramework: {
262
+ description: "構建並運行 Blocklet"
263
+ },
264
+ didSpaces: {
265
+ description: "安全的個人儲存"
266
+ },
267
+ abtNetwork: {
268
+ description: "快速區塊鏈網路"
269
+ },
270
+ blockletServer: {
271
+ description: "輕鬆託管應用程式"
272
+ },
273
+ ocap: {
274
+ description: "多鏈連接器"
275
+ },
276
+ did: {
277
+ description: "自主身份"
278
+ },
279
+ didWallet: {
280
+ description: "智能數位錢包"
281
+ },
282
+ didNameService: {
283
+ description: "Web3 域名"
284
+ },
285
+ vc: {
286
+ description: "可驗證憑證"
287
+ },
288
+ didConnect: {
289
+ description: "無密碼登入"
290
+ },
291
+ aigneCodeSmith: {
292
+ description: "使用 AI 審查並優化你的程式碼"
293
+ },
294
+ aigneDocSmith: {
295
+ description: "用 AI 生成和更新專案文件"
296
+ },
297
+ aigneWebSmith: {
298
+ description: "構建並部署 AI 驅動的 Web 應用"
299
+ },
300
+ aigneCLI: {
301
+ description: "透過命令列開發 Agent"
302
+ },
303
+ aigneObservability: {
304
+ description: "理解並分析 Agent 的行為"
305
+ },
306
+ aigneStudio: {
307
+ description: "零程式碼構建 Agent"
308
+ },
309
+ aigneFramework: {
310
+ description: "Agent AI 的功能核心框架"
311
+ },
312
+ aigneHub: {
313
+ description: "一套 API,連接所有模型"
314
+ }
315
+ }
316
+ },
317
+ ja: {
318
+ groups: {
319
+ applications: "アプリケーション",
320
+ components: "コンポーネント",
321
+ computeStorage: "コンピューティング/ストレージ",
322
+ identity: "アイデンティティ",
323
+ frameworkTools: "フレームワークとツール",
324
+ modelsAdapters: "モデルアダプター"
325
+ },
326
+ products: {
327
+ nftStudio: {
328
+ description: "NFTの作成と管理"
329
+ },
330
+ creatorStudio: {
331
+ description: "オールインワンクリエイターツール"
332
+ },
333
+ aigne: {
334
+ description: "AIアプリのためのエージェントエコシステム"
335
+ },
336
+ arcsphere: {
337
+ description: "AIネイティブブラウザ"
338
+ },
339
+ aistro: {
340
+ description: "AI駆動占星術"
341
+ },
342
+ blockletLauncher: {
343
+ description: "ワンクリックアプリ起動"
344
+ },
345
+ aiKit: {
346
+ description: "AIでアプリを強化"
347
+ },
348
+ paymentKit: {
349
+ description: "簡単な暗号通貨とカード決済"
350
+ },
351
+ blockletStore: {
352
+ description: "アプリの発見とデプロイ"
353
+ },
354
+ web3Kit: {
355
+ description: "Web3開発ツールキット"
356
+ },
357
+ blockletFramework: {
358
+ description: "Blockletの構築と実行"
359
+ },
360
+ didSpaces: {
361
+ description: "安全な個人ストレージ"
362
+ },
363
+ abtNetwork: {
364
+ description: "高速ブロックチェーンネットワーク"
365
+ },
366
+ blockletServer: {
367
+ description: "アプリの簡単なホスティング"
368
+ },
369
+ ocap: {
370
+ description: "マルチチェーンコネクター"
371
+ },
372
+ did: {
373
+ description: "自己主権ID"
374
+ },
375
+ didWallet: {
376
+ description: "スマートデジタルウォレット"
377
+ },
378
+ didNameService: {
379
+ description: "Web3ドメイン名"
380
+ },
381
+ vc: {
382
+ description: "検証可能な認証情報"
383
+ },
384
+ didConnect: {
385
+ description: "パスワード不要ログイン"
386
+ },
387
+ aigneCodeSmith: {
388
+ description: "AIでコードをレビューし改善"
389
+ },
390
+ aigneDocSmith: {
391
+ description: "AIでドキュメントを生成・更新"
392
+ },
393
+ aigneWebSmith: {
394
+ description: "AI駆動Webアプリの構築とデプロイ"
395
+ },
396
+ aigneCLI: {
397
+ description: "コマンドラインからエージェントを開発"
398
+ },
399
+ aigneObservability: {
400
+ description: "エージェントの動作を理解・分析"
401
+ },
402
+ aigneStudio: {
403
+ description: "コード不要でエージェントを視覚的に作成"
404
+ },
405
+ aigneFramework: {
406
+ description: "エージェントAIの機能コアフレームワーク"
407
+ },
408
+ aigneHub: {
409
+ description: "1つのAPIで全てのモデルに接続"
410
+ }
411
+ }
220
412
  }
221
- }, oe = C(g)`
413
+ }, ie = C(w)`
222
414
  padding: 8px;
223
- background: ${({ theme: i }) => i.palette.grey[100]};
415
+ background: ${({ theme: t }) => t.palette.grey[100]};
224
416
  border-radius: 8px;
225
417
 
226
418
  &.is-inline {
@@ -239,85 +431,85 @@ const I = 260, ee = {
239
431
  .MuiGrid-container + .MuiGrid-container {
240
432
  margin-top: 0px;
241
433
  }
242
- `, te = C(g, { shouldForwardProp: (i) => i !== "maxContent" })(
243
- ({ theme: i, maxContent: c }) => ({
434
+ `, oe = C(w, { shouldForwardProp: (t) => t !== "maxContent" })(
435
+ ({ theme: t, maxContent: c }) => ({
244
436
  display: "grid",
245
- gap: i.spacing(1),
437
+ gap: t.spacing(1),
246
438
  gridTemplateColumns: `repeat(1, ${c}px)`,
247
- [i.breakpoints.up("md")]: {
439
+ [t.breakpoints.up("md")]: {
248
440
  gridTemplateColumns: `repeat(2, ${c}px)`
249
441
  },
250
- [i.breakpoints.up("lg")]: {
442
+ [t.breakpoints.up("lg")]: {
251
443
  gridTemplateColumns: `repeat(3, ${c}px)`
252
444
  }
253
445
  })
254
446
  );
255
- function y({ color: i = "black", backgroundColor: c = "transparent", children: l }) {
447
+ function y({ color: t = "black", backgroundColor: c = "transparent", children: a }) {
256
448
  return /* @__PURE__ */ e(
257
- g,
449
+ w,
258
450
  {
259
451
  component: "span",
260
452
  sx: {
261
453
  display: "inline-flex",
262
454
  alignItems: "center",
263
455
  justifyContent: "center",
264
- color: i,
456
+ color: t,
265
457
  backgroundColor: c,
266
458
  borderRadius: "4px"
267
459
  },
268
- children: l
460
+ children: a
269
461
  }
270
462
  );
271
463
  }
272
- function w({ color: i = "black", backgroundColor: c = "transparent" }) {
273
- return /* @__PURE__ */ e(y, { color: i, backgroundColor: c, children: /* @__PURE__ */ e(U, { style: { width: "100%" } }) });
464
+ function h({ color: t = "black", backgroundColor: c = "transparent" }) {
465
+ return /* @__PURE__ */ e(y, { color: t, backgroundColor: c, children: /* @__PURE__ */ e(U, { style: { width: "100%" } }) });
274
466
  }
275
- function d({ color: i = "black", backgroundColor: c = "transparent" }) {
276
- return /* @__PURE__ */ e(y, { color: i, backgroundColor: c, children: /* @__PURE__ */ e(Y, { style: { width: "100%", height: "100%" } }) });
467
+ function s({ color: t = "black", backgroundColor: c = "transparent" }) {
468
+ return /* @__PURE__ */ e(y, { color: t, backgroundColor: c, children: /* @__PURE__ */ e(Y, { style: { width: "100%", height: "100%" } }) });
277
469
  }
278
- const N = (i) => {
470
+ const W = (t) => {
279
471
  try {
280
- return new URL(i).origin !== window.location.origin;
472
+ return new URL(t).origin !== window.location.origin;
281
473
  } catch {
282
474
  return !1;
283
475
  }
284
476
  };
285
- function t({ to: i, children: c, className: l = "", ...u }) {
286
- return N(i) ? /* @__PURE__ */ e(p, { to: i, target: "_blank", rel: "noreferrer noopener", className: l, ...u, children: c }) : /* @__PURE__ */ e(p, { to: i, className: l, ...u, children: c });
477
+ function o({ to: t, children: c, className: a = "", ...u }) {
478
+ return W(t) ? /* @__PURE__ */ e(p, { to: t, target: "_blank", rel: "noreferrer noopener", className: a, ...u, children: c }) : /* @__PURE__ */ e(p, { to: t, className: a, ...u, children: c });
287
479
  }
288
- function De({ className: i = "", type: c, ...l }) {
289
- const { mode: u } = L(), f = E(), { locale: r = "en" } = K() || {}, a = D(null), { palette: k } = f, o = v((n, s = {}) => _(ee, n, r, "en", s)), [x, W] = G(I), m = v(() => {
290
- if (!a.current) return;
291
- const n = a.current.querySelectorAll(".navmenu-item__content");
292
- let s = I;
480
+ function $e({ className: t = "", type: c, ...a }) {
481
+ const { mode: u } = L(), k = G(), { locale: r = "en" } = _() || {}, l = $(null), { palette: f } = k, i = A((n, d = {}) => E(ee, n, r, "en", d)), [N, D] = T(v), m = A(() => {
482
+ if (!l.current) return;
483
+ const n = l.current.querySelectorAll(".navmenu-item__content");
484
+ let d = v;
293
485
  n.forEach((b) => {
294
- const h = b.getBoundingClientRect().width + 64;
295
- h > s && (s = h);
296
- }), W(s);
486
+ const g = b.getBoundingClientRect().width + 64;
487
+ g > d && (d = g);
488
+ }), D(d);
297
489
  });
298
490
  S(() => {
299
491
  m();
300
- }, [f, r, c, m]), S(() => {
301
- if (!a.current) return;
302
- const n = a.current.querySelector(".navmenu-item__content");
492
+ }, [k, r, c, m]), S(() => {
493
+ if (!l.current) return;
494
+ const n = l.current.querySelector(".navmenu-item__content");
303
495
  if (!n) return;
304
- const s = new ResizeObserver(() => {
496
+ const d = new ResizeObserver(() => {
305
497
  m();
306
498
  });
307
- return s.observe(n), () => {
308
- s.disconnect();
499
+ return d.observe(n), () => {
500
+ d.disconnect();
309
501
  };
310
502
  }, [m]);
311
- const $ = B(() => {
503
+ const x = F(() => {
312
504
  if (c === "ARCBLOCK")
313
505
  return [
314
506
  {
315
507
  type: "Group",
316
- label: o("groups.applications"),
508
+ label: i("groups.applications"),
317
509
  children: [
318
510
  {
319
- label: /* @__PURE__ */ e(t, { to: `https://www.nftstudio.rocks/${r}`, children: "NFT Studio" }),
320
- description: o("products.nftStudio.description"),
511
+ label: /* @__PURE__ */ e(o, { to: `https://www.nftstudio.rocks/${r}`, children: "NFT Studio" }),
512
+ description: i("products.nftStudio.description"),
321
513
  icon: /* @__PURE__ */ e(M, {})
322
514
  },
323
515
  {
@@ -330,50 +522,50 @@ function De({ className: i = "", type: c, ...l }) {
330
522
  children: "Creator Studio"
331
523
  }
332
524
  ),
333
- description: o("products.creatorStudio.description"),
525
+ description: i("products.creatorStudio.description"),
334
526
  icon: /* @__PURE__ */ e(O, {})
335
527
  },
336
528
  {
337
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/", children: "AIGNE" }),
338
- description: o("products.aigne.description"),
339
- icon: /* @__PURE__ */ e(d, { color: k.mode === "dark" ? "white" : "black" })
529
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/", children: "AIGNE" }),
530
+ description: i("products.aigne.description"),
531
+ icon: /* @__PURE__ */ e(s, { color: f.mode === "dark" ? "white" : "black" })
340
532
  },
341
533
  {
342
- label: /* @__PURE__ */ e(t, { to: `https://www.arcsphere.io/${r}`, children: "ArcSphere" }),
343
- description: o("products.arcsphere.description"),
344
- icon: /* @__PURE__ */ e(A, {})
534
+ label: /* @__PURE__ */ e(o, { to: `https://www.arcsphere.io/${r}`, children: "ArcSphere" }),
535
+ description: i("products.arcsphere.description"),
536
+ icon: /* @__PURE__ */ e(I, {})
345
537
  }
346
538
  ]
347
539
  },
348
540
  {
349
541
  type: "Group",
350
- label: o("groups.components"),
542
+ label: i("groups.components"),
351
543
  children: [
352
544
  {
353
- label: /* @__PURE__ */ e(t, { to: `https://launcher.arcblock.io/${r}`, children: "Blocklet Launcher" }),
354
- description: o("products.blockletLauncher.description"),
545
+ label: /* @__PURE__ */ e(o, { to: `https://launcher.arcblock.io/${r}`, children: "Blocklet Launcher" }),
546
+ description: i("products.blockletLauncher.description"),
355
547
  icon: /* @__PURE__ */ e(P, {})
356
548
  },
357
549
  {
358
- label: /* @__PURE__ */ e(t, { to: `https://www.blocklet.io/${r}/payment-kit`, children: "Payment Kit" }),
359
- description: o("products.paymentKit.description"),
550
+ label: /* @__PURE__ */ e(o, { to: `https://www.blocklet.io/${r}/payment-kit`, children: "Payment Kit" }),
551
+ description: i("products.paymentKit.description"),
360
552
  icon: /* @__PURE__ */ e("img", { src: X, alt: "Payment Kit" })
361
553
  },
362
554
  {
363
- label: /* @__PURE__ */ e(t, { to: `https://store.blocklet.dev/?locale=${r}`, children: "Blocklet Store" }),
364
- description: o("products.blockletStore.description"),
365
- icon: /* @__PURE__ */ e(R, {})
555
+ label: /* @__PURE__ */ e(o, { to: `https://store.blocklet.dev/?locale=${r}`, children: "Blocklet Store" }),
556
+ description: i("products.blockletStore.description"),
557
+ icon: /* @__PURE__ */ e(H, {})
366
558
  },
367
559
  {
368
- label: /* @__PURE__ */ e(t, { to: `https://www.web3kit.rocks/${r}`, children: "Web3 Kit" }),
369
- description: o("products.web3Kit.description"),
370
- icon: /* @__PURE__ */ e(H, {})
560
+ label: /* @__PURE__ */ e(o, { to: `https://www.web3kit.rocks/${r}`, children: "Web3 Kit" }),
561
+ description: i("products.web3Kit.description"),
562
+ icon: /* @__PURE__ */ e(R, {})
371
563
  }
372
564
  ]
373
565
  },
374
566
  {
375
567
  type: "Group",
376
- label: o("groups.computeStorage"),
568
+ label: i("groups.computeStorage"),
377
569
  children: [
378
570
  {
379
571
  label: /* @__PURE__ */ e(
@@ -385,146 +577,146 @@ function De({ className: i = "", type: c, ...l }) {
385
577
  children: "Blocklet Framework"
386
578
  }
387
579
  ),
388
- description: o("products.blockletFramework.description"),
580
+ description: i("products.blockletFramework.description"),
389
581
  icon: /* @__PURE__ */ e(z, {})
390
582
  },
391
583
  {
392
584
  label: /* @__PURE__ */ e(p, { to: `https://www.didspaces.com/${r}`, target: "_blank", rel: "noreferrer noopener", children: "DID Spaces" }),
393
- description: o("products.didSpaces.description"),
394
- icon: /* @__PURE__ */ e(w, { color: "#876bf4" })
585
+ description: i("products.didSpaces.description"),
586
+ icon: /* @__PURE__ */ e(h, { color: "#876bf4" })
395
587
  },
396
588
  {
397
589
  label: /* @__PURE__ */ e(p, { to: "https://main.abtnetwork.io/", target: "_blank", rel: "noreferrer noopener", children: "ABT Network" }),
398
- description: o("products.abtNetwork.description"),
399
- icon: /* @__PURE__ */ e(V, {})
590
+ description: i("products.abtNetwork.description"),
591
+ icon: /* @__PURE__ */ e(j, {})
400
592
  },
401
593
  {
402
- label: /* @__PURE__ */ e(t, { to: `https://www.blocklet.io/${r}/blocklet-server`, children: "Blocklet Server" }),
403
- description: o("products.blockletServer.description"),
404
- icon: /* @__PURE__ */ e(j, {})
594
+ label: /* @__PURE__ */ e(o, { to: `https://www.blocklet.io/${r}/blocklet-server`, children: "Blocklet Server" }),
595
+ description: i("products.blockletServer.description"),
596
+ icon: /* @__PURE__ */ e(V, {})
405
597
  },
406
598
  {
407
- label: /* @__PURE__ */ e(t, { to: `https://www.arcblock.io/content/collections/${r}/ocap`, children: "ОСАР" }),
408
- description: o("products.ocap.description"),
599
+ label: /* @__PURE__ */ e(o, { to: `https://www.arcblock.io/content/collections/${r}/ocap`, children: "ОСАР" }),
600
+ description: i("products.ocap.description"),
409
601
  icon: /* @__PURE__ */ e(q, {})
410
602
  }
411
603
  ]
412
604
  },
413
605
  {
414
606
  type: "Group",
415
- label: o("groups.identity"),
607
+ label: i("groups.identity"),
416
608
  children: [
417
609
  {
418
- label: /* @__PURE__ */ e(t, { to: `https://www.arcblock.io/content/collections/${r}/did`, children: "DID" }),
419
- description: o("products.did.description"),
420
- icon: /* @__PURE__ */ e(w, { color: "#5b96f3" })
610
+ label: /* @__PURE__ */ e(o, { to: `https://www.arcblock.io/content/collections/${r}/did`, children: "DID" }),
611
+ description: i("products.did.description"),
612
+ icon: /* @__PURE__ */ e(h, { color: "#5b96f3" })
421
613
  },
422
614
  {
423
- label: /* @__PURE__ */ e(t, { to: `https://www.didwallet.io/${r}`, children: "DID Wallet" }),
424
- description: o("products.didWallet.description"),
615
+ label: /* @__PURE__ */ e(o, { to: `https://www.didwallet.io/${r}`, children: "DID Wallet" }),
616
+ description: i("products.didWallet.description"),
425
617
  icon: /* @__PURE__ */ e(J, {})
426
618
  },
427
619
  {
428
620
  label: /* @__PURE__ */ e(p, { to: `https://www.didnames.io/${r}`, target: "_blank", rel: "noreferrer noopener", children: "DID Names" }),
429
- description: o("products.didNameService.description"),
430
- icon: /* @__PURE__ */ e(w, { color: "#678ab0" })
621
+ description: i("products.didNameService.description"),
622
+ icon: /* @__PURE__ */ e(h, { color: "#678ab0" })
431
623
  },
432
624
  {
433
- label: /* @__PURE__ */ e(t, { to: `https://www.arcblock.io/content/collections/${r}/verifiable-credential`, children: "VC" }),
434
- description: o("products.vc.description"),
625
+ label: /* @__PURE__ */ e(o, { to: `https://www.arcblock.io/content/collections/${r}/verifiable-credential`, children: "VC" }),
626
+ description: i("products.vc.description"),
435
627
  icon: /* @__PURE__ */ e(Q, {})
436
628
  },
437
629
  {
438
- label: /* @__PURE__ */ e(t, { to: `https://www.didconnect.io/${r}`, children: "DID Connect" }),
439
- description: o("products.didConnect.description"),
440
- icon: /* @__PURE__ */ e(w, { color: "#5bbec5" })
630
+ label: /* @__PURE__ */ e(o, { to: `https://www.didconnect.io/${r}`, children: "DID Connect" }),
631
+ description: i("products.didConnect.description"),
632
+ icon: /* @__PURE__ */ e(h, { color: "#5bbec5" })
441
633
  }
442
634
  ]
443
635
  }
444
636
  ];
445
637
  if (c === "AIGNE") {
446
638
  const n = {
447
- onClick: (s) => {
448
- s.preventDefault();
449
- const b = s.currentTarget.href, h = N(b) ? "_blank" : "_self";
450
- window.open(b, h);
639
+ onClick: (d) => {
640
+ d.preventDefault();
641
+ const b = d.currentTarget.href, g = W(b) ? "_blank" : "_self";
642
+ window.open(b, g);
451
643
  }
452
644
  };
453
645
  return [
454
646
  {
455
647
  type: "Group",
456
- label: o("groups.applications"),
648
+ label: i("groups.applications"),
457
649
  children: [
458
650
  {
459
- label: /* @__PURE__ */ e(t, { to: `https://www.arcsphere.io/${r}`, children: "ArcSphere" }),
460
- description: o("products.arcsphere.description"),
461
- icon: /* @__PURE__ */ e(A, {})
651
+ label: /* @__PURE__ */ e(o, { to: `https://www.arcsphere.io/${r}`, children: "ArcSphere" }),
652
+ description: i("products.arcsphere.description"),
653
+ icon: /* @__PURE__ */ e(I, {})
462
654
  },
463
655
  {
464
- label: /* @__PURE__ */ e(t, { to: `https://www.aistro.io/${r}`, children: "Aistro" }),
465
- description: o("products.aistro.description"),
656
+ label: /* @__PURE__ */ e(o, { to: `https://www.aistro.io/${r}`, children: "Aistro" }),
657
+ description: i("products.aistro.description"),
466
658
  icon: /* @__PURE__ */ e("img", { src: Z, alt: "Aistro" })
467
659
  },
468
660
  {
469
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/code-smith", ...n, children: "AIGNE CodeSmith" }),
470
- description: o("products.aigneCodeSmith.description"),
471
- icon: /* @__PURE__ */ e(d, { color: "#56a596", backgroundColor: "#e9fcf6" })
661
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/code-smith", ...n, children: "AIGNE CodeSmith" }),
662
+ description: i("products.aigneCodeSmith.description"),
663
+ icon: /* @__PURE__ */ e(s, { color: "#56a596", backgroundColor: "#e9fcf6" })
472
664
  },
473
665
  {
474
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/doc-smith", ...n, children: "AIGNE DocSmith" }),
475
- description: o("products.aigneDocSmith.description"),
476
- icon: /* @__PURE__ */ e(d, { color: "#e46f38", backgroundColor: "#f7e0d7" })
666
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/doc-smith", ...n, children: "AIGNE DocSmith" }),
667
+ description: i("products.aigneDocSmith.description"),
668
+ icon: /* @__PURE__ */ e(s, { color: "#e46f38", backgroundColor: "#f7e0d7" })
477
669
  },
478
670
  {
479
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/web-smith", ...n, children: "AIGNE WebSmith" }),
480
- description: o("products.aigneWebSmith.description"),
481
- icon: /* @__PURE__ */ e(d, { color: "#7c45eb", backgroundColor: "#f0e9ff" })
671
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/web-smith", ...n, children: "AIGNE WebSmith" }),
672
+ description: i("products.aigneWebSmith.description"),
673
+ icon: /* @__PURE__ */ e(s, { color: "#7c45eb", backgroundColor: "#f0e9ff" })
482
674
  }
483
675
  ]
484
676
  },
485
677
  {
486
678
  type: "Group",
487
- label: o("groups.frameworkTools"),
679
+ label: i("groups.frameworkTools"),
488
680
  children: [
489
681
  {
490
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/cli", ...n, children: "AIGNE CLI" }),
491
- description: o("products.aigneCLI.description"),
492
- icon: /* @__PURE__ */ e(d, { color: "#d05d4e", backgroundColor: "#faeaea" })
682
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/cli", ...n, children: "AIGNE CLI" }),
683
+ description: i("products.aigneCLI.description"),
684
+ icon: /* @__PURE__ */ e(s, { color: "#d05d4e", backgroundColor: "#faeaea" })
493
685
  },
494
686
  {
495
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/observability", ...n, children: "AIGNE Observability" }),
496
- description: o("products.aigneObservability.description"),
497
- icon: /* @__PURE__ */ e(d, { color: "#6ba456", backgroundColor: "#edfae8" })
687
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/observability", ...n, children: "AIGNE Observability" }),
688
+ description: i("products.aigneObservability.description"),
689
+ icon: /* @__PURE__ */ e(s, { color: "#6ba456", backgroundColor: "#edfae8" })
498
690
  },
499
691
  {
500
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/studio", ...n, children: "AIGNE Studio" }),
501
- description: o("products.aigneStudio.description"),
502
- icon: /* @__PURE__ */ e(d, { color: "#676cbf", backgroundColor: "#edeeff" })
692
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/studio", ...n, children: "AIGNE Studio" }),
693
+ description: i("products.aigneStudio.description"),
694
+ icon: /* @__PURE__ */ e(s, { color: "#676cbf", backgroundColor: "#edeeff" })
503
695
  },
504
696
  {
505
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/framework", ...n, children: "AIGNE Framework" }),
506
- description: o("products.aigneFramework.description"),
507
- icon: /* @__PURE__ */ e(d, { color: "#5086d0", backgroundColor: "#eef4ff" })
697
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/framework", ...n, children: "AIGNE Framework" }),
698
+ description: i("products.aigneFramework.description"),
699
+ icon: /* @__PURE__ */ e(s, { color: "#5086d0", backgroundColor: "#eef4ff" })
508
700
  }
509
701
  ]
510
702
  },
511
703
  {
512
704
  type: "Group",
513
- label: o("groups.modelsAdapters"),
705
+ label: i("groups.modelsAdapters"),
514
706
  children: [
515
707
  {
516
- label: /* @__PURE__ */ e(t, { to: "https://www.aigne.io/hub", ...n, children: "AIGNE Hub" }),
517
- description: o("products.aigneHub.description"),
518
- icon: /* @__PURE__ */ e(d, { color: "#e4930b", backgroundColor: "#fbf4d4" })
708
+ label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/hub", ...n, children: "AIGNE Hub" }),
709
+ description: i("products.aigneHub.description"),
710
+ icon: /* @__PURE__ */ e(s, { color: "#e4930b", backgroundColor: "#fbf4d4" })
519
711
  }
520
712
  ]
521
713
  }
522
714
  ];
523
715
  }
524
716
  return [];
525
- }, [o, r, k]);
526
- return /* @__PURE__ */ e(oe, { ref: a, className: `nav-menu-products is-${u} ${i}`, ...l, children: $.map((n) => /* @__PURE__ */ e(T, { label: n.label, children: /* @__PURE__ */ e(te, { maxContent: x, children: n.children.map((s) => /* @__PURE__ */ e(F, { variant: "panel", style: { padding: "8px" }, ...s })) }) }, n.label)) });
717
+ }, [i, r, f]);
718
+ return /* @__PURE__ */ e(ie, { ref: l, className: `nav-menu-products is-${u} ${t}`, ...a, children: x.map((n) => /* @__PURE__ */ e(B, { label: n.label, children: /* @__PURE__ */ e(oe, { maxContent: N, children: n.children.map((d) => /* @__PURE__ */ e(K, { variant: "panel", style: { padding: "8px" }, ...d })) }) }, n.label)) });
527
719
  }
528
720
  export {
529
- De as default
721
+ $e as default
530
722
  };