vue-layout-gitcode 1.12.15-beta.30 → 1.12.15-beta.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.
@@ -57,9 +57,9 @@ import { Checkbox } from "vue-devui-lal/checkbox";
57
57
  import "vue-devui-lal/checkbox/style.css";
58
58
  import { Modal } from "vue-devui-lal/modal";
59
59
  import "vue-devui-lal/modal/style.css";
60
- const _hoisted_1$H = ["xlink:href"];
61
- const _hoisted_2$v = ["xlink:href"];
62
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
60
+ const _hoisted_1$I = ["xlink:href"];
61
+ const _hoisted_2$w = ["xlink:href"];
62
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
63
63
  __name: "index",
64
64
  props: {
65
65
  name: { default: "gt-run" },
@@ -88,7 +88,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
88
88
  }, [
89
89
  createElementVNode("use", {
90
90
  "xlink:href": `#${__props.name}`
91
- }, null, 8, _hoisted_1$H)
91
+ }, null, 8, _hoisted_1$I)
92
92
  ], 6)),
93
93
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
94
94
  ], 2)) : (openBlock(), createElementBlock("svg", {
@@ -99,7 +99,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
99
99
  }, [
100
100
  createElementVNode("use", {
101
101
  "xlink:href": `#${__props.name}`
102
- }, null, 8, _hoisted_2$v)
102
+ }, null, 8, _hoisted_2$w)
103
103
  ], 6));
104
104
  };
105
105
  }
@@ -111,7 +111,7 @@ const _export_sfc = (sfc, props) => {
111
111
  }
112
112
  return target;
113
113
  };
114
- const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-vue-layout-gitcode"]]);
114
+ const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-vue-layout-gitcode"]]);
115
115
  const defaultConfig = {
116
116
  VITE_ENV: "production",
117
117
  VITE_HOST: "https://gitcode.com",
@@ -7782,6 +7782,7 @@ const gitCodeLayout$1 = {
7782
7782
  Tianqi: "天启",
7783
7783
  topic: "热门主题",
7784
7784
  discoverMore: "探索更多",
7785
+ atomCodeOfficial: "AtomCode 官网",
7785
7786
  competition: "大赛平台",
7786
7787
  aiCommunity: "AI社区",
7787
7788
  copyright_atomgit: {
@@ -7792,6 +7793,15 @@ const gitCodeLayout$1 = {
7792
7793
  publicSecurity: "京公网安备11010502058321号"
7793
7794
  }
7794
7795
  },
7796
+ atomCode: {
7797
+ title: "AtomCode",
7798
+ openAtomCode: "打开 AtomCode",
7799
+ openAtomCodeMenu: "打开 AtomCode 菜单",
7800
+ useAtomCode: "使用 AtomCode…",
7801
+ openInWorkbench: "在工作台中打开",
7802
+ contextHint: "由 Agent 协助处理当前任务",
7803
+ downloadCli: "下载 AtomCode CLI"
7804
+ },
7795
7805
  header: {
7796
7806
  create: "新建",
7797
7807
  createRepo: "新建项目",
@@ -8188,6 +8198,7 @@ const gitCodeLayout = {
8188
8198
  Tianqi: "Tianqi",
8189
8199
  topic: "Hot topics",
8190
8200
  discoverMore: "Discover More",
8201
+ atomCodeOfficial: "AtomCode Website",
8191
8202
  competition: "Competition",
8192
8203
  aiCommunity: "AI Hub",
8193
8204
  copyright_atomgit: {
@@ -8198,6 +8209,15 @@ const gitCodeLayout = {
8198
8209
  publicSecurity: "京公网安备11010502058321号"
8199
8210
  }
8200
8211
  },
8212
+ atomCode: {
8213
+ title: "AtomCode",
8214
+ openAtomCode: "Open AtomCode",
8215
+ openAtomCodeMenu: "Open AtomCode Menu",
8216
+ useAtomCode: "Use AtomCode…",
8217
+ openInWorkbench: "Open in Dashboard",
8218
+ contextHint: "Assisted by Agent for current task",
8219
+ downloadCli: "Download AtomCode CLI"
8220
+ },
8201
8221
  header: {
8202
8222
  create: "New",
8203
8223
  createRepo: "New Repository",
@@ -9145,12 +9165,12 @@ const currentHelpDocsAiCommunityUrl = () => {
9145
9165
  const baseUrl = isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
9146
9166
  return appendLangPathToHelpDocsUrl(baseUrl);
9147
9167
  };
9148
- const _hoisted_1$G = { class: "home-nav-right" };
9149
- const _hoisted_2$u = { class: "home-nav-item" };
9150
- const _hoisted_3$t = { class: "tooltip-sign" };
9151
- const _hoisted_4$m = { class: "home-nav-tooltip-wrapper" };
9152
- const _hoisted_5$h = { class: "home-nav-text" };
9153
- const _hoisted_6$f = { class: "home-nav-tooltip-wrapper" };
9168
+ const _hoisted_1$H = { class: "home-nav-right" };
9169
+ const _hoisted_2$v = { class: "home-nav-item" };
9170
+ const _hoisted_3$u = { class: "tooltip-sign" };
9171
+ const _hoisted_4$n = { class: "home-nav-tooltip-wrapper" };
9172
+ const _hoisted_5$i = { class: "home-nav-text" };
9173
+ const _hoisted_6$g = { class: "home-nav-tooltip-wrapper" };
9154
9174
  const _hoisted_7$c = { class: "home-nav-text" };
9155
9175
  const _hoisted_8$a = {
9156
9176
  key: 2,
@@ -9199,7 +9219,7 @@ const _hoisted_30$1 = { class: "tools-float-finish__text" };
9199
9219
  const _hoisted_31$1 = { class: "home-nav-item collapse-tool" };
9200
9220
  const _hoisted_32$1 = { class: "home-nav-item" };
9201
9221
  const _hoisted_33$1 = ["src", "alt"];
9202
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
9222
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9203
9223
  __name: "index",
9204
9224
  props: {
9205
9225
  sceneValue: { default: SceneValue.home },
@@ -9441,15 +9461,15 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9441
9461
  size: "18px"
9442
9462
  })
9443
9463
  ])) : createCommentVNode("", true),
9444
- createElementVNode("div", _hoisted_1$G, [
9464
+ createElementVNode("div", _hoisted_1$H, [
9445
9465
  inviteVisible.value && isModuleVisible(unref(ToolsFloatDisplayItem).INVITE) ? (openBlock(), createBlock(unref(Tooltip), {
9446
9466
  key: 0,
9447
9467
  position: "left",
9448
9468
  "overlay-class": "tools-tag-tooltip"
9449
9469
  }, {
9450
9470
  content: withCtx(() => [
9451
- createElementVNode("div", _hoisted_4$m, [
9452
- createElementVNode("div", _hoisted_5$h, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9471
+ createElementVNode("div", _hoisted_4$n, [
9472
+ createElementVNode("div", _hoisted_5$i, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9453
9473
  ])
9454
9474
  ]),
9455
9475
  default: withCtx(() => [
@@ -9457,13 +9477,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9457
9477
  class: "home-nav-link computing",
9458
9478
  onClick: handleInvite
9459
9479
  }, [
9460
- createElementVNode("div", _hoisted_2$u, [
9480
+ createElementVNode("div", _hoisted_2$v, [
9461
9481
  _cache[5] || (_cache[5] = createElementVNode("img", {
9462
9482
  class: "common-icon tools-float-icon",
9463
9483
  src: "https://cdn-static.gitcode.com/static/images/homeweb/invite.svg",
9464
9484
  alt: ""
9465
9485
  }, null, -1)),
9466
- createElementVNode("div", _hoisted_3$t, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9486
+ createElementVNode("div", _hoisted_3$u, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9467
9487
  ])
9468
9488
  ])
9469
9489
  ]),
@@ -9475,7 +9495,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9475
9495
  "overlay-class": "tools-tag-tooltip"
9476
9496
  }, {
9477
9497
  content: withCtx(() => [
9478
- createElementVNode("div", _hoisted_6$f, [
9498
+ createElementVNode("div", _hoisted_6$g, [
9479
9499
  createElementVNode("div", _hoisted_7$c, toDisplayString$1(__props.isCannWhiteList ? unref(t2)("gitCodeLayout.userSetting.menu.cannTask") : unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
9480
9500
  ])
9481
9501
  ]),
@@ -9743,7 +9763,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9743
9763
  };
9744
9764
  }
9745
9765
  });
9746
- const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9766
+ const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9747
9767
  var repoTypeEnum = /* @__PURE__ */ ((repoTypeEnum2) => {
9748
9768
  repoTypeEnum2["NORMAL"] = "0";
9749
9769
  repoTypeEnum2["MODEL"] = "1";
@@ -9886,8 +9906,8 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
9886
9906
  delete reportData["utm_source"];
9887
9907
  window.collectEvent("beconEvent", isRegister ? "register" : "login", reportData);
9888
9908
  };
9889
- const _hoisted_1$F = ["href", "target", "disabled"];
9890
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
9909
+ const _hoisted_1$G = ["href", "target", "disabled"];
9910
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9891
9911
  ...{
9892
9912
  name: "GLink"
9893
9913
  },
@@ -9931,11 +9951,11 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
9931
9951
  disabled: __props.disabled || __props.noPointer
9932
9952
  }, [
9933
9953
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
9934
- ], 10, _hoisted_1$F));
9954
+ ], 10, _hoisted_1$G));
9935
9955
  };
9936
9956
  }
9937
9957
  });
9938
- const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9958
+ const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-vue-layout-gitcode"]]);
9939
9959
  const headerHeight = ref(56);
9940
9960
  const useHeaderHeight = () => {
9941
9961
  const setHeaderHeight = (height) => {
@@ -10571,7 +10591,7 @@ if (isBrowser) {
10571
10591
  }
10572
10592
  const sessionStorage$1 = sessionStorage;
10573
10593
  const _imports_0 = "data:image/png;base64,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";
10574
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
10594
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
10575
10595
  ...{
10576
10596
  name: "GAvatar"
10577
10597
  },
@@ -10617,8 +10637,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10617
10637
  };
10618
10638
  }
10619
10639
  });
10620
- const _hoisted_1$E = ["src"];
10621
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
10640
+ const _hoisted_1$F = ["src"];
10641
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10622
10642
  ...{ name: "FlashTag" },
10623
10643
  __name: "FlashTag",
10624
10644
  props: {
@@ -10663,7 +10683,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10663
10683
  key: 0,
10664
10684
  class: "gc-flash-tag__icon",
10665
10685
  src: iconUrl.value
10666
- }, null, 8, _hoisted_1$E)) : renderSlot(_ctx.$slots, "default", { key: 1 })
10686
+ }, null, 8, _hoisted_1$F)) : renderSlot(_ctx.$slots, "default", { key: 1 })
10667
10687
  ], 16)
10668
10688
  ]),
10669
10689
  _: 3
@@ -11471,18 +11491,18 @@ const useTimeFormat = () => {
11471
11491
  formatTime
11472
11492
  };
11473
11493
  };
11474
- const _hoisted_1$D = {
11494
+ const _hoisted_1$E = {
11475
11495
  key: 0,
11476
11496
  class: "org-layout-toolbar"
11477
11497
  };
11478
- const _hoisted_2$t = { class: "org-layout-toolbar-title ellipsis-two-line" };
11479
- const _hoisted_3$s = { class: "header-custom-btn-label" };
11480
- const _hoisted_4$l = { class: "g-repo-breadcrumb-custom" };
11481
- const _hoisted_5$g = {
11498
+ const _hoisted_2$u = { class: "org-layout-toolbar-title ellipsis-two-line" };
11499
+ const _hoisted_3$t = { class: "header-custom-btn-label" };
11500
+ const _hoisted_4$m = { class: "g-repo-breadcrumb-custom" };
11501
+ const _hoisted_5$h = {
11482
11502
  key: 1,
11483
11503
  class: "header-custom-mirrors-avatar"
11484
11504
  };
11485
- const _hoisted_6$e = {
11505
+ const _hoisted_6$f = {
11486
11506
  key: 0,
11487
11507
  src: _imports_0,
11488
11508
  alt: "mirrors-avatar-phone",
@@ -11530,7 +11550,7 @@ const _hoisted_20$2 = {
11530
11550
  };
11531
11551
  const _hoisted_21$2 = { class: "user-layout-toolbar-title ellipsis-two-line" };
11532
11552
  const _hoisted_22$2 = { class: "header-custom-btn-label" };
11533
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
11553
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11534
11554
  __name: "HeaderCustom",
11535
11555
  props: {
11536
11556
  scene: { default: SceneValue.home },
@@ -11650,7 +11670,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11650
11670
  });
11651
11671
  return (_ctx, _cache) => {
11652
11672
  var _a, _b, _c;
11653
- return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
11673
+ return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
11654
11674
  createVNode(GLink, {
11655
11675
  href: ((_a = __props.orgProps) == null ? void 0 : _a.orgHomepageUrl) || "",
11656
11676
  class: "header-custom-link"
@@ -11658,7 +11678,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11658
11678
  default: withCtx(() => {
11659
11679
  var _a2, _b2, _c2;
11660
11680
  return [
11661
- createVNode(_sfc_main$L, {
11681
+ createVNode(_sfc_main$M, {
11662
11682
  class: "g-border",
11663
11683
  src: (_a2 = unref(orgInfo)) == null ? void 0 : _a2.avatar,
11664
11684
  name: (_b2 = unref(orgInfo)) == null ? void 0 : _b2.name,
@@ -11666,7 +11686,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11666
11686
  height: 28,
11667
11687
  is_round: false
11668
11688
  }, null, 8, ["src", "name"]),
11669
- createElementVNode("div", _hoisted_2$t, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
11689
+ createElementVNode("div", _hoisted_2$u, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
11670
11690
  ];
11671
11691
  }),
11672
11692
  _: 1
@@ -11681,7 +11701,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11681
11701
  default: withCtx(() => {
11682
11702
  var _a2;
11683
11703
  return [
11684
- createElementVNode("span", _hoisted_3$s, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
11704
+ createElementVNode("span", _hoisted_3$t, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
11685
11705
  ];
11686
11706
  }),
11687
11707
  _: 1
@@ -11703,7 +11723,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11703
11723
  default: withCtx(() => {
11704
11724
  var _a2, _b2, _c2, _d, _e, _f, _g;
11705
11725
  return [
11706
- createElementVNode("h2", _hoisted_4$l, [
11726
+ createElementVNode("h2", _hoisted_4$m, [
11707
11727
  createVNode(GLink, {
11708
11728
  href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
11709
11729
  class: "header-custom-avatar-link"
@@ -11711,7 +11731,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11711
11731
  default: withCtx(() => {
11712
11732
  var _a3, _b3, _c3, _d2;
11713
11733
  return [
11714
- !((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$L, {
11734
+ !((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$M, {
11715
11735
  key: 0,
11716
11736
  class: normalizeClass({ "g-border": isOrg.value }),
11717
11737
  src: (_c3 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c3.avatar_url,
@@ -11719,8 +11739,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11719
11739
  width: 28,
11720
11740
  height: 28,
11721
11741
  is_round: !isOrg.value
11722
- }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$g, [
11723
- unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$e)) : (openBlock(), createElementBlock("img", _hoisted_7$b))
11742
+ }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$h, [
11743
+ unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$f)) : (openBlock(), createElementBlock("img", _hoisted_7$b))
11724
11744
  ]))
11725
11745
  ];
11726
11746
  }),
@@ -11779,7 +11799,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11779
11799
  _: 1
11780
11800
  }, 8, ["to"]),
11781
11801
  unref(isGstarRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_12$5, [
11782
- createVNode(_sfc_main$K, {
11802
+ createVNode(_sfc_main$L, {
11783
11803
  origin: "repo",
11784
11804
  icon: "",
11785
11805
  type: "gstar",
@@ -11791,7 +11811,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11791
11811
  _: 1
11792
11812
  }, 8, ["message"])
11793
11813
  ])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
11794
- createVNode(_sfc_main$K, {
11814
+ createVNode(_sfc_main$L, {
11795
11815
  origin: "repo",
11796
11816
  icon: "",
11797
11817
  type: "incubation",
@@ -11804,7 +11824,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11804
11824
  }, 8, ["message"])
11805
11825
  ])) : createCommentVNode("", true),
11806
11826
  unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
11807
- createVNode(_sfc_main$K, {
11827
+ createVNode(_sfc_main$L, {
11808
11828
  trusted: "",
11809
11829
  message: unref(t2)("gitCodeLayout.trusted.title"),
11810
11830
  icon: "",
@@ -11853,7 +11873,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11853
11873
  default: withCtx(() => {
11854
11874
  var _a2, _b2, _c2, _d, _e;
11855
11875
  return [
11856
- createVNode(_sfc_main$L, {
11876
+ createVNode(_sfc_main$M, {
11857
11877
  src: (_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.avatarUrl,
11858
11878
  name: ((_b2 = unref(otherUserInfo)) == null ? void 0 : _b2.name) || ((_c2 = unref(otherUserInfo)) == null ? void 0 : _c2.nickname),
11859
11879
  width: 28,
@@ -11880,9 +11900,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11880
11900
  };
11881
11901
  }
11882
11902
  });
11883
- const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11884
- const _hoisted_1$C = ["src"];
11885
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
11903
+ const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11904
+ const _hoisted_1$D = ["src"];
11905
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11886
11906
  ...{ name: "OperationEntry" },
11887
11907
  __name: "OperationEntry",
11888
11908
  setup(__props) {
@@ -11926,14 +11946,14 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
11926
11946
  class: "operation-entry__img",
11927
11947
  src: img.value,
11928
11948
  alt: "operation-entry"
11929
- }, null, 8, _hoisted_1$C)
11949
+ }, null, 8, _hoisted_1$D)
11930
11950
  ])) : createCommentVNode("", true);
11931
11951
  };
11932
11952
  }
11933
11953
  });
11934
- const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11935
- const _hoisted_1$B = ["src"];
11936
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
11954
+ const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11955
+ const _hoisted_1$C = ["src"];
11956
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
11937
11957
  __name: "ClaimPower",
11938
11958
  props: {
11939
11959
  config: {}
@@ -11956,12 +11976,12 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11956
11976
  createElementVNode("img", {
11957
11977
  src: __props.config.logo_url,
11958
11978
  alt: "claim power"
11959
- }, null, 8, _hoisted_1$B)
11979
+ }, null, 8, _hoisted_1$C)
11960
11980
  ])) : createCommentVNode("", true);
11961
11981
  };
11962
11982
  }
11963
11983
  });
11964
- const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11984
+ const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
11965
11985
  const HEADER_CREATE_MENU_PATHS = [
11966
11986
  "/create?position=nav_top",
11967
11987
  "/create/migrate?type=3",
@@ -11971,19 +11991,19 @@ const HEADER_CREATE_MENU_PATHS = [
11971
11991
  "/collections/create",
11972
11992
  "/org/create"
11973
11993
  ];
11974
- const _hoisted_1$A = { class: "g-header-create dashboard-create-menu" };
11975
- const _hoisted_2$s = { class: "dashboard-create-menu__tooltip" };
11976
- const _hoisted_3$r = ["title", "aria-label", "aria-expanded"];
11977
- const _hoisted_4$k = ["aria-label"];
11978
- const _hoisted_5$f = {
11994
+ const _hoisted_1$B = { class: "g-header-create dashboard-create-menu" };
11995
+ const _hoisted_2$t = { class: "dashboard-create-menu__tooltip" };
11996
+ const _hoisted_3$s = ["title", "aria-label", "aria-expanded"];
11997
+ const _hoisted_4$l = ["aria-label"];
11998
+ const _hoisted_5$g = {
11979
11999
  key: 0,
11980
12000
  class: "dashboard-create-menu__divider",
11981
12001
  role: "separator"
11982
12002
  };
11983
- const _hoisted_6$d = ["href", "onClick", "onKeydown"];
12003
+ const _hoisted_6$e = ["href", "onClick", "onKeydown"];
11984
12004
  const _hoisted_7$a = { class: "dashboard-create-menu__copy" };
11985
12005
  const menuId = "gitcode-header-create-menu";
11986
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
12006
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11987
12007
  ...{
11988
12008
  name: "HeaderCreateMenu"
11989
12009
  },
@@ -12210,8 +12230,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
12210
12230
  window.removeEventListener("scroll", onWindowChange, true);
12211
12231
  });
12212
12232
  return (_ctx, _cache) => {
12213
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
12214
- createElementVNode("span", _hoisted_2$s, [
12233
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
12234
+ createElementVNode("span", _hoisted_2$t, [
12215
12235
  createElementVNode("button", {
12216
12236
  id: "guide-step3",
12217
12237
  ref_key: "triggerRef",
@@ -12234,7 +12254,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
12234
12254
  "aria-hidden": "true"
12235
12255
  }),
12236
12256
  createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
12237
- ], 40, _hoisted_3$r)
12257
+ ], 40, _hoisted_3$s)
12238
12258
  ]),
12239
12259
  (openBlock(), createBlock(Teleport, { to: "body" }, [
12240
12260
  menuOpen.value ? (openBlock(), createElementBlock("div", {
@@ -12251,7 +12271,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
12251
12271
  return openBlock(), createElementBlock(Fragment, {
12252
12272
  key: item.key
12253
12273
  }, [
12254
- item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$f)) : createCommentVNode("", true),
12274
+ item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$g)) : createCommentVNode("", true),
12255
12275
  createElementVNode("a", {
12256
12276
  href: item.href,
12257
12277
  class: "dashboard-create-menu__item",
@@ -12270,17 +12290,17 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
12270
12290
  createElementVNode("span", _hoisted_7$a, [
12271
12291
  createElementVNode("strong", null, toDisplayString$1(item.label), 1)
12272
12292
  ])
12273
- ], 40, _hoisted_6$d)
12293
+ ], 40, _hoisted_6$e)
12274
12294
  ], 64);
12275
12295
  }), 128))
12276
- ], 12, _hoisted_4$k)) : createCommentVNode("", true)
12296
+ ], 12, _hoisted_4$l)) : createCommentVNode("", true)
12277
12297
  ]))
12278
12298
  ]);
12279
12299
  };
12280
12300
  }
12281
12301
  });
12282
- const HeaderCreateMenu = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-vue-layout-gitcode"]]);
12283
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
12302
+ const HeaderCreateMenu = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-vue-layout-gitcode"]]);
12303
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
12284
12304
  ...{
12285
12305
  name: "DocumentCenter"
12286
12306
  },
@@ -12305,7 +12325,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
12305
12325
  };
12306
12326
  }
12307
12327
  });
12308
- const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
12328
+ const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-vue-layout-gitcode"]]);
12309
12329
  var aes = { exports: {} };
12310
12330
  function commonjsRequire(path) {
12311
12331
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -14769,11 +14789,11 @@ function headRequest(request) {
14769
14789
  }
14770
14790
  };
14771
14791
  }
14772
- const _hoisted_1$z = {
14792
+ const _hoisted_1$A = {
14773
14793
  key: 1,
14774
14794
  class: "g-text-all"
14775
14795
  };
14776
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
14796
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
14777
14797
  ...{ name: "GText" },
14778
14798
  __name: "index",
14779
14799
  props: {
@@ -14850,24 +14870,24 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14850
14870
  class: "watch-all",
14851
14871
  onClick: onShowAll
14852
14872
  }, toDisplayString$1(_ctx.$t("gitCodeLayout.notice.msg.viewAll")), 1)) : createCommentVNode("", true)
14853
- ], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
14873
+ ], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
14854
14874
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
14855
14875
  ])) : createCommentVNode("", true);
14856
14876
  };
14857
14877
  }
14858
14878
  });
14859
- const GText = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14860
- const _hoisted_1$y = { class: "message-item" };
14861
- const _hoisted_2$r = { class: "message-item-footer" };
14862
- const _hoisted_3$q = ["title"];
14863
- const _hoisted_4$j = ["href"];
14864
- const _hoisted_5$e = { class: "message-item-info-content" };
14865
- const _hoisted_6$c = { class: "message-item-body" };
14879
+ const GText = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14880
+ const _hoisted_1$z = { class: "message-item" };
14881
+ const _hoisted_2$s = { class: "message-item-footer" };
14882
+ const _hoisted_3$r = ["title"];
14883
+ const _hoisted_4$k = ["href"];
14884
+ const _hoisted_5$f = { class: "message-item-info-content" };
14885
+ const _hoisted_6$d = { class: "message-item-body" };
14866
14886
  const _hoisted_7$9 = ["title", "innerHTML"];
14867
14887
  const _hoisted_8$8 = ["title"];
14868
14888
  const _hoisted_9$6 = { class: "message-item-info" };
14869
14889
  const _hoisted_10$6 = { class: "message-item-rightTx message-item-date" };
14870
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
14890
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14871
14891
  __name: "index",
14872
14892
  props: {
14873
14893
  data: { default: () => ({}) },
@@ -14879,8 +14899,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14879
14899
  const { formatTimeFromNow } = useTimeFormat();
14880
14900
  return (_ctx, _cache) => {
14881
14901
  var _a;
14882
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
14883
- createElementVNode("div", _hoisted_2$r, [
14902
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
14903
+ createElementVNode("div", _hoisted_2$s, [
14884
14904
  createElementVNode("div", {
14885
14905
  class: "message-item__avatar-wrap",
14886
14906
  title: __props.data.nickname
@@ -14890,17 +14910,17 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14890
14910
  target: "_blank",
14891
14911
  class: "user-info linktx message-item__user-info"
14892
14912
  }, [
14893
- createVNode(_sfc_main$L, {
14913
+ createVNode(_sfc_main$M, {
14894
14914
  name: __props.data.nickname,
14895
14915
  src: __props.data.avatar,
14896
14916
  width: 32,
14897
14917
  height: 32
14898
14918
  }, null, 8, ["name", "src"])
14899
- ], 8, _hoisted_4$j)
14900
- ], 8, _hoisted_3$q)
14919
+ ], 8, _hoisted_4$k)
14920
+ ], 8, _hoisted_3$r)
14901
14921
  ]),
14902
- createElementVNode("div", _hoisted_5$e, [
14903
- createElementVNode("div", _hoisted_6$c, [
14922
+ createElementVNode("div", _hoisted_5$f, [
14923
+ createElementVNode("div", _hoisted_6$d, [
14904
14924
  createVNode(GLink, {
14905
14925
  href: unref(transformUrl)(__props.data.url),
14906
14926
  target: "_blank",
@@ -14947,22 +14967,22 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14947
14967
  };
14948
14968
  }
14949
14969
  });
14950
- const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14951
- const _hoisted_1$x = { class: "message-header-nav" };
14952
- const _hoisted_2$q = {
14970
+ const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
14971
+ const _hoisted_1$y = { class: "message-header-nav" };
14972
+ const _hoisted_2$r = {
14953
14973
  key: 0,
14954
14974
  class: "item-count-icon"
14955
14975
  };
14956
- const _hoisted_3$p = {
14976
+ const _hoisted_3$q = {
14957
14977
  key: 1,
14958
14978
  class: "g-number"
14959
14979
  };
14960
- const _hoisted_4$i = {
14980
+ const _hoisted_4$j = {
14961
14981
  key: 0,
14962
14982
  class: "g-number message-box__count"
14963
14983
  };
14964
- const _hoisted_5$d = { class: "message-content-cover" };
14965
- const _hoisted_6$b = {
14984
+ const _hoisted_5$e = { class: "message-content-cover" };
14985
+ const _hoisted_6$c = {
14966
14986
  key: 0,
14967
14987
  class: "message-content-header"
14968
14988
  };
@@ -14987,7 +15007,7 @@ const _hoisted_11$5 = {
14987
15007
  class: "no-more"
14988
15008
  };
14989
15009
  const _hoisted_12$4 = { class: "message-footer-nav" };
14990
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
15010
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14991
15011
  __name: "MessageBox",
14992
15012
  setup(__props, { expose: __expose }) {
14993
15013
  var _a;
@@ -15258,7 +15278,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15258
15278
  class: "message-box",
15259
15279
  onClick: _cache[5] || (_cache[5] = withModifiers(($event) => console.log("stop"), ["stop"]))
15260
15280
  }, [
15261
- createElementVNode("div", _hoisted_1$x, [
15281
+ createElementVNode("div", _hoisted_1$y, [
15262
15282
  createVNode(unref(Tabs), {
15263
15283
  modelValue: checkedId.value,
15264
15284
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedId.value = $event),
@@ -15274,7 +15294,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15274
15294
  createElementVNode("div", {
15275
15295
  class: normalizeClass(["message-header-nav-item", { "message-header-nav-item-active": item.messageType === checkedId.value }])
15276
15296
  }, [
15277
- item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
15297
+ item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
15278
15298
  createVNode(GIcon, {
15279
15299
  name: item.icon,
15280
15300
  size: "16px",
@@ -15287,7 +15307,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15287
15307
  }, null, 8, ["name"])
15288
15308
  ])) : createCommentVNode("", true),
15289
15309
  createElementVNode("span", null, toDisplayString$1(item.text), 1),
15290
- item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$p, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
15310
+ item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$q, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
15291
15311
  ], 2)
15292
15312
  ]),
15293
15313
  _: 2
@@ -15301,7 +15321,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15301
15321
  onClick: _cache[1] || (_cache[1] = ($event) => toPage("unread"))
15302
15322
  }, [
15303
15323
  createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.allUnread")), 1),
15304
- msgCount.value > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$i, toDisplayString$1(msgCount.value), 1)) : createCommentVNode("", true)
15324
+ msgCount.value > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$j, toDisplayString$1(msgCount.value), 1)) : createCommentVNode("", true)
15305
15325
  ])
15306
15326
  ]),
15307
15327
  createElementVNode("div", {
@@ -15309,8 +15329,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15309
15329
  ref: scrollContainer,
15310
15330
  class: "message-content"
15311
15331
  }, [
15312
- withDirectives((openBlock(), createElementBlock("div", _hoisted_5$d, [
15313
- currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
15332
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_5$e, [
15333
+ currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$c, [
15314
15334
  createElementVNode("div", {
15315
15335
  class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "project" }]),
15316
15336
  onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
@@ -15352,8 +15372,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15352
15372
  };
15353
15373
  }
15354
15374
  });
15355
- const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15356
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
15375
+ const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15376
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15357
15377
  ...{
15358
15378
  name: "Notice"
15359
15379
  },
@@ -15465,9 +15485,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15465
15485
  };
15466
15486
  }
15467
15487
  });
15468
- const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15469
- const _hoisted_1$w = { class: "devui-select__item g-option-link" };
15470
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
15488
+ const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15489
+ const _hoisted_1$x = { class: "devui-select__item g-option-link" };
15490
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15471
15491
  ...{
15472
15492
  name: "OptionLink"
15473
15493
  },
@@ -15485,7 +15505,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15485
15505
  },
15486
15506
  setup(__props) {
15487
15507
  return (_ctx, _cache) => {
15488
- return openBlock(), createElementBlock("li", _hoisted_1$w, [
15508
+ return openBlock(), createElementBlock("li", _hoisted_1$x, [
15489
15509
  createVNode(GLink, normalizeProps(guardReactiveProps(_ctx.$props)), {
15490
15510
  default: withCtx(() => [
15491
15511
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -15496,7 +15516,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15496
15516
  };
15497
15517
  }
15498
15518
  });
15499
- const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15519
+ const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15500
15520
  function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
15501
15521
  const allCookies = api.get() || {};
15502
15522
  const storedValue = allCookies[key] || localStorage$2.getItem(key);
@@ -15520,10 +15540,10 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
15520
15540
  );
15521
15541
  return value;
15522
15542
  }
15523
- const _hoisted_1$v = { class: "tools-item-wrapper" };
15524
- const _hoisted_2$p = { class: "tools-item-wrapper-checkbox" };
15525
- const _hoisted_3$o = ["onClick", "title"];
15526
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
15543
+ const _hoisted_1$w = { class: "tools-item-wrapper" };
15544
+ const _hoisted_2$q = { class: "tools-item-wrapper-checkbox" };
15545
+ const _hoisted_3$p = ["onClick", "title"];
15546
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15527
15547
  __name: "Lang",
15528
15548
  setup(__props) {
15529
15549
  const lang = useCookie(LANG_KEY, LANG_ZH);
@@ -15545,9 +15565,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15545
15565
  window.location.reload();
15546
15566
  };
15547
15567
  return (_ctx, _cache) => {
15548
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
15568
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
15549
15569
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.lang")), 1),
15550
- createElementVNode("div", _hoisted_2$p, [
15570
+ createElementVNode("div", _hoisted_2$q, [
15551
15571
  (openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
15552
15572
  return openBlock(), createElementBlock("div", mergeProps({
15553
15573
  key: item.label
@@ -15562,26 +15582,26 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15562
15582
  color: "var(--theme-icon-fill-weak)",
15563
15583
  class: "checkbox-item-icon"
15564
15584
  }, null, 8, ["name"])
15565
- ], 16, _hoisted_3$o);
15585
+ ], 16, _hoisted_3$p);
15566
15586
  }), 128))
15567
15587
  ])
15568
15588
  ]);
15569
15589
  };
15570
15590
  }
15571
15591
  });
15572
- const _hoisted_1$u = {
15592
+ const _hoisted_1$v = {
15573
15593
  key: 0,
15574
15594
  class: "user-level-avatar-badge"
15575
15595
  };
15576
- const _hoisted_2$o = { class: "user-level__row" };
15577
- const _hoisted_3$n = ["src"];
15578
- const _hoisted_4$h = { class: "level-name" };
15579
- const _hoisted_5$c = { class: "level-icon" };
15580
- const _hoisted_6$a = ["src"];
15596
+ const _hoisted_2$p = { class: "user-level__row" };
15597
+ const _hoisted_3$o = ["src"];
15598
+ const _hoisted_4$i = { class: "level-name" };
15599
+ const _hoisted_5$d = { class: "level-icon" };
15600
+ const _hoisted_6$b = ["src"];
15581
15601
  const _hoisted_7$7 = { class: "custom-btn" };
15582
15602
  const _hoisted_8$6 = { class: "user-level__btn-text" };
15583
15603
  const maxLevel = 3;
15584
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
15604
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15585
15605
  ...{ name: "UserLevel" },
15586
15606
  __name: "UserLevel",
15587
15607
  props: ["accountInfo"],
@@ -15632,20 +15652,20 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15632
15652
  class: normalizeClass(["user-level", { [unref(ThemeType).BLACK]: unref(currentTheme) === unref(ThemeType).BLACK }]),
15633
15653
  onClick: handleUpgrade
15634
15654
  }, [
15635
- __props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$u)) : createCommentVNode("", true),
15636
- createElementVNode("div", _hoisted_2$o, [
15655
+ __props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$v)) : createCommentVNode("", true),
15656
+ createElementVNode("div", _hoisted_2$p, [
15637
15657
  createElementVNode("img", {
15638
15658
  class: "level-avatar",
15639
15659
  src: levelInfo.value.avatar,
15640
15660
  alt: ""
15641
- }, null, 8, _hoisted_3$n),
15642
- createElementVNode("div", _hoisted_4$h, [
15661
+ }, null, 8, _hoisted_3$o),
15662
+ createElementVNode("div", _hoisted_4$i, [
15643
15663
  createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
15644
- createElementVNode("div", _hoisted_5$c, [
15664
+ createElementVNode("div", _hoisted_5$d, [
15645
15665
  createElementVNode("img", {
15646
15666
  src: levelInfo.value.level,
15647
15667
  alt: ""
15648
- }, null, 8, _hoisted_6$a)
15668
+ }, null, 8, _hoisted_6$b)
15649
15669
  ])
15650
15670
  ])
15651
15671
  ]),
@@ -15656,16 +15676,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15656
15676
  };
15657
15677
  }
15658
15678
  });
15659
- const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15660
- const _hoisted_1$t = { class: "g-user-drawer-info-list" };
15661
- const _hoisted_2$n = { class: "g-user-drawer-info-list__name-wrap" };
15662
- const _hoisted_3$m = ["title"];
15663
- const _hoisted_4$g = ["title"];
15664
- const _hoisted_5$b = {
15679
+ const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15680
+ const _hoisted_1$u = { class: "g-user-drawer-info-list" };
15681
+ const _hoisted_2$o = { class: "g-user-drawer-info-list__name-wrap" };
15682
+ const _hoisted_3$n = ["title"];
15683
+ const _hoisted_4$h = ["title"];
15684
+ const _hoisted_5$c = {
15665
15685
  key: 0,
15666
15686
  class: "g-user-drawer-lang-row"
15667
15687
  };
15668
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
15688
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15669
15689
  __name: "UserAvatarMenu",
15670
15690
  props: {
15671
15691
  isChatBot: { type: Boolean },
@@ -15807,7 +15827,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15807
15827
  });
15808
15828
  const avatarLangBlock = {
15809
15829
  id: "avatar-lang",
15810
- component: markRaw(_sfc_main$z),
15830
+ component: markRaw(_sfc_main$A),
15811
15831
  avatarLangRow: true
15812
15832
  };
15813
15833
  const shouldShowEnterpriseLang = computed(
@@ -15882,22 +15902,22 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15882
15902
  target: __props.isChatBot ? "_blank" : ""
15883
15903
  }, {
15884
15904
  default: withCtx(() => [
15885
- createVNode(_sfc_main$L, {
15905
+ createVNode(_sfc_main$M, {
15886
15906
  name: __props.accountInfo.nickname,
15887
15907
  src: __props.accountInfo.avatar,
15888
15908
  width: 52,
15889
15909
  height: 52
15890
15910
  }, null, 8, ["name", "src"]),
15891
- createElementVNode("div", _hoisted_1$t, [
15892
- createElementVNode("div", _hoisted_2$n, [
15911
+ createElementVNode("div", _hoisted_1$u, [
15912
+ createElementVNode("div", _hoisted_2$o, [
15893
15913
  createElementVNode("p", {
15894
15914
  class: "g-user-drawer-info-list-name ellipsis",
15895
15915
  title: __props.accountInfo.nickname
15896
- }, toDisplayString$1(__props.accountInfo.nickname), 9, _hoisted_3$m),
15916
+ }, toDisplayString$1(__props.accountInfo.nickname), 9, _hoisted_3$n),
15897
15917
  createElementVNode("p", {
15898
15918
  class: "g-user-drawer-info-list-id ellipsis",
15899
15919
  title: __props.accountInfo.username
15900
- }, "@" + toDisplayString$1(__props.accountInfo.username), 9, _hoisted_4$g)
15920
+ }, "@" + toDisplayString$1(__props.accountInfo.username), 9, _hoisted_4$h)
15901
15921
  ]),
15902
15922
  createVNode(GIcon, {
15903
15923
  name: "gt-line-right",
@@ -15917,7 +15937,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15917
15937
  key: index2
15918
15938
  }, [
15919
15939
  block.component ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
15920
- block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
15940
+ block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
15921
15941
  (openBlock(), createBlock(resolveDynamicComponent(block.component), {
15922
15942
  key: block.id
15923
15943
  }))
@@ -15948,20 +15968,20 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15948
15968
  };
15949
15969
  }
15950
15970
  });
15951
- const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15952
- const _hoisted_1$s = { class: "g-user-avatar flex-center" };
15953
- const _hoisted_2$m = {
15971
+ const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-vue-layout-gitcode"]]);
15972
+ const _hoisted_1$t = { class: "g-user-avatar flex-center" };
15973
+ const _hoisted_2$n = {
15954
15974
  key: 0,
15955
15975
  class: "g-user-avatar__badge"
15956
15976
  };
15957
- const _hoisted_3$l = { class: "g-user-avatar flex-center" };
15958
- const _hoisted_4$f = {
15977
+ const _hoisted_3$m = { class: "g-user-avatar flex-center" };
15978
+ const _hoisted_4$g = {
15959
15979
  key: 0,
15960
15980
  class: "g-user-avatar__badge"
15961
15981
  };
15962
- const _hoisted_5$a = { class: "g-user-drawer" };
15963
- const _hoisted_6$9 = { class: "user-avatar__drawer-header" };
15964
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
15982
+ const _hoisted_5$b = { class: "g-user-drawer" };
15983
+ const _hoisted_6$a = { class: "user-avatar__drawer-header" };
15984
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15965
15985
  ...{
15966
15986
  name: "UserAvatar"
15967
15987
  },
@@ -16100,12 +16120,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16100
16120
  key: 0,
16101
16121
  onClick: _cache[0] || (_cache[0] = ($event) => drawerVisible.value = true)
16102
16122
  }, [
16103
- createElementVNode("div", _hoisted_1$s, [
16104
- createVNode(_sfc_main$L, {
16123
+ createElementVNode("div", _hoisted_1$t, [
16124
+ createVNode(_sfc_main$M, {
16105
16125
  name: accountInfo.value.nickname,
16106
16126
  src: unref(transformUrl)(accountInfo.value.avatar)
16107
16127
  }, null, 8, ["name", "src"]),
16108
- accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, [..._cache[4] || (_cache[4] = [
16128
+ accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, [..._cache[4] || (_cache[4] = [
16109
16129
  createElementVNode("div", null, null, -1)
16110
16130
  ])])) : createCommentVNode("", true)
16111
16131
  ])
@@ -16118,7 +16138,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16118
16138
  onToggle: handleToggle
16119
16139
  }, {
16120
16140
  menu: withCtx(() => [
16121
- createElementVNode("div", _hoisted_5$a, [
16141
+ createElementVNode("div", _hoisted_5$b, [
16122
16142
  createVNode(UserAvatarMenu, {
16123
16143
  independence: __props.independence,
16124
16144
  loginOutFinish: __props.loginOutFinish,
@@ -16132,12 +16152,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16132
16152
  ])
16133
16153
  ]),
16134
16154
  default: withCtx(() => [
16135
- createElementVNode("div", _hoisted_3$l, [
16136
- createVNode(_sfc_main$L, {
16155
+ createElementVNode("div", _hoisted_3$m, [
16156
+ createVNode(_sfc_main$M, {
16137
16157
  name: accountInfo.value.nickname,
16138
16158
  src: unref(transformUrl)(accountInfo.value.avatar)
16139
16159
  }, null, 8, ["name", "src"]),
16140
- accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$f, [..._cache[5] || (_cache[5] = [
16160
+ accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$g, [..._cache[5] || (_cache[5] = [
16141
16161
  createElementVNode("div", null, null, -1)
16142
16162
  ])])) : createCommentVNode("", true)
16143
16163
  ])
@@ -16153,7 +16173,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16153
16173
  }, {
16154
16174
  default: withCtx(() => [
16155
16175
  createElementVNode("div", null, [
16156
- createElementVNode("div", _hoisted_6$9, [
16176
+ createElementVNode("div", _hoisted_6$a, [
16157
16177
  createVNode(unref(Button), {
16158
16178
  class: "draw-side-bar-close",
16159
16179
  icon: "close",
@@ -16180,7 +16200,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16180
16200
  };
16181
16201
  }
16182
16202
  });
16183
- const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16203
+ const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16184
16204
  var EVENT_NAME = /* @__PURE__ */ ((EVENT_NAME2) => {
16185
16205
  EVENT_NAME2["START_SEARCH"] = "开始搜索";
16186
16206
  EVENT_NAME2["SEARCH"] = "搜索";
@@ -16393,16 +16413,16 @@ const buildQualifierPrefix = (info) => {
16393
16413
  }
16394
16414
  return `${key}:${info.searchScopeName} `;
16395
16415
  };
16396
- const _hoisted_1$r = {
16416
+ const _hoisted_1$s = {
16397
16417
  key: 0,
16398
16418
  class: "devui-input-slot__prefix"
16399
16419
  };
16400
- const _hoisted_2$l = ["value"];
16401
- const _hoisted_3$k = {
16420
+ const _hoisted_2$m = ["value"];
16421
+ const _hoisted_3$l = {
16402
16422
  key: 1,
16403
16423
  class: "devui-input-slot__suffix"
16404
16424
  };
16405
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
16425
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16406
16426
  ...{
16407
16427
  name: "HighlightInput",
16408
16428
  inheritAttrs: false
@@ -16570,7 +16590,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16570
16590
  class: normalizeClass(["devui-input__wrapper devui-input--glow-style hl-search-input", [rootClass.value, { "devui-input--focus": isFocused.value }]]),
16571
16591
  style: normalizeStyle(rootStyle.value)
16572
16592
  }, [
16573
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
16593
+ _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
16574
16594
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
16575
16595
  ])) : createCommentVNode("", true),
16576
16596
  createElementVNode("div", {
@@ -16596,28 +16616,28 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16596
16616
  ref: nativeRef,
16597
16617
  class: "devui-input__inner hl-search-input__native",
16598
16618
  value: __props.modelValue
16599
- }, inputAttrs.value, { onInput }), null, 16, _hoisted_2$l)
16619
+ }, inputAttrs.value, { onInput }), null, 16, _hoisted_2$m)
16600
16620
  ], 512),
16601
- _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
16621
+ _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
16602
16622
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
16603
16623
  ])) : createCommentVNode("", true)
16604
16624
  ], 6);
16605
16625
  };
16606
16626
  }
16607
16627
  });
16608
- const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16609
- const _hoisted_1$q = { class: "g-header-search-prefix" };
16610
- const _hoisted_2$k = ["innerHTML"];
16611
- const _hoisted_3$j = { class: "g-header-search-suffix-splitline" };
16612
- const _hoisted_4$e = { class: "g-header-search-suffix-suffixIcon" };
16613
- const _hoisted_5$9 = { class: "history-list" };
16614
- const _hoisted_6$8 = {
16628
+ const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-vue-layout-gitcode"]]);
16629
+ const _hoisted_1$r = { class: "g-header-search-prefix" };
16630
+ const _hoisted_2$l = ["innerHTML"];
16631
+ const _hoisted_3$k = { class: "g-header-search-suffix-splitline" };
16632
+ const _hoisted_4$f = { class: "g-header-search-suffix-suffixIcon" };
16633
+ const _hoisted_5$a = { class: "history-list" };
16634
+ const _hoisted_6$9 = {
16615
16635
  key: 1,
16616
16636
  class: "aireposearch aireposearch--flex"
16617
16637
  };
16618
16638
  const RECOMMEND_RESERVE = 60;
16619
16639
  const HISTORY_DISPLAY_COUNT = 3;
16620
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
16640
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16621
16641
  __name: "index",
16622
16642
  props: {
16623
16643
  inAIHub: { type: Boolean },
@@ -16627,12 +16647,12 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
16627
16647
  setup(__props) {
16628
16648
  const layoutConfig2 = useLayoutConfig();
16629
16649
  const { t: $t } = i18n.global;
16630
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DC73LI8G.js"));
16631
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-O9bInbNg.js"));
16632
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-p_l4B9Iv.js"));
16633
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BO8w56wQ.js"));
16634
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CSfeBSyx.js"));
16635
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-C6CwyeCO.js"));
16650
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DZb1ILv7.js"));
16651
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-CBY4vKpo.js"));
16652
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-JhPcQuPP.js"));
16653
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Dx6vjM_l.js"));
16654
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-B1gB1V-V.js"));
16655
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Drite9Jb.js"));
16636
16656
  const props = __props;
16637
16657
  const repoInfo = inject("repoInfo");
16638
16658
  const orgInfo = inject("orgInfo");
@@ -17190,7 +17210,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17190
17210
  }, {
17191
17211
  menu: withCtx(() => [
17192
17212
  createElementVNode("div", null, [
17193
- withDirectives(createElementVNode("div", _hoisted_5$9, [
17213
+ withDirectives(createElementVNode("div", _hoisted_5$a, [
17194
17214
  createVNode(unref(SearchScopeList), {
17195
17215
  searchScopeList: searchScopeList.value,
17196
17216
  onScopeSearch
@@ -17258,7 +17278,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17258
17278
  ref: inputRef
17259
17279
  }, {
17260
17280
  prefix: withCtx(() => [
17261
- createElementVNode("div", _hoisted_1$q, [
17281
+ createElementVNode("div", _hoisted_1$r, [
17262
17282
  createVNode(GIcon, {
17263
17283
  name: "gt-search",
17264
17284
  class: "g-header-search-icon",
@@ -17282,7 +17302,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17282
17302
  class: "quick-tips",
17283
17303
  innerHTML: unref(quickTips),
17284
17304
  onClick: onInputClick
17285
- }, null, 8, _hoisted_2$k)), [
17305
+ }, null, 8, _hoisted_2$l)), [
17286
17306
  [vShow, placeholderVisible.value]
17287
17307
  ])
17288
17308
  ]),
@@ -17299,10 +17319,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17299
17319
  }, null, 512), [
17300
17320
  [vShow, searchStr.value]
17301
17321
  ]),
17302
- withDirectives(createElementVNode("span", _hoisted_3$j, "|", 512), [
17322
+ withDirectives(createElementVNode("span", _hoisted_3$k, "|", 512), [
17303
17323
  [vShow, searchStr.value]
17304
17324
  ]),
17305
- createElementVNode("div", _hoisted_4$e, [
17325
+ createElementVNode("div", _hoisted_4$f, [
17306
17326
  createVNode(GIcon, {
17307
17327
  name: "search",
17308
17328
  class: "g-header-search-icon",
@@ -17320,7 +17340,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17320
17340
  _: 3
17321
17341
  }, 8, ["overlay-class", "visible"])
17322
17342
  ], 2)) : createCommentVNode("", true),
17323
- __props.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
17343
+ __props.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
17324
17344
  createVNode(unref(Input), {
17325
17345
  placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
17326
17346
  onKeydown: withKeys(searchResult, ["enter"]),
@@ -17340,16 +17360,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17340
17360
  };
17341
17361
  }
17342
17362
  });
17343
- const Search = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17344
- const _hoisted_1$p = { class: "announce-mobile-top" };
17345
- const _hoisted_2$j = { class: "announce-mobile-bottom" };
17346
- const _hoisted_3$i = ["href"];
17347
- const _hoisted_4$d = { class: "announce-content" };
17348
- const _hoisted_5$8 = { class: "announce-content-inner" };
17349
- const _hoisted_6$7 = ["href"];
17363
+ const Search = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17364
+ const _hoisted_1$q = { class: "announce-mobile-top" };
17365
+ const _hoisted_2$k = { class: "announce-mobile-bottom" };
17366
+ const _hoisted_3$j = ["href"];
17367
+ const _hoisted_4$e = { class: "announce-content" };
17368
+ const _hoisted_5$9 = { class: "announce-content-inner" };
17369
+ const _hoisted_6$8 = ["href"];
17350
17370
  const _hoisted_7$6 = { class: "announce-handle-wrapper" };
17351
17371
  const ANNOUNCE_STATUS_KEY = "site_announcement_status";
17352
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
17372
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17353
17373
  ...{ name: "SiteAnnouncement" },
17354
17374
  __name: "SiteAnnouncement",
17355
17375
  setup(__props) {
@@ -17397,7 +17417,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17397
17417
  class: normalizeClass(["announce-wrapper", { mobile: unref(isMobile) }])
17398
17418
  }, [
17399
17419
  unref(isMobile) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
17400
- createElementVNode("div", _hoisted_1$p, [
17420
+ createElementVNode("div", _hoisted_1$q, [
17401
17421
  createElementVNode("div", null, [
17402
17422
  createVNode(GIcon, {
17403
17423
  name: "gt-plane-warningCircular-blue",
@@ -17407,19 +17427,19 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17407
17427
  ]),
17408
17428
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.content")), 1)
17409
17429
  ]),
17410
- createElementVNode("div", _hoisted_2$j, [
17430
+ createElementVNode("div", _hoisted_2$k, [
17411
17431
  createElementVNode("a", {
17412
17432
  class: "announce-detail",
17413
17433
  href: migrationAnnounceUrl.value
17414
- }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$i),
17434
+ }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$j),
17415
17435
  createElementVNode("span", {
17416
17436
  class: "announce-handle",
17417
17437
  onClick: _cache[0] || (_cache[0] = ($event) => handleClose())
17418
17438
  }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.close")), 1)
17419
17439
  ])
17420
17440
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
17421
- createElementVNode("div", _hoisted_4$d, [
17422
- createElementVNode("div", _hoisted_5$8, [
17441
+ createElementVNode("div", _hoisted_4$e, [
17442
+ createElementVNode("div", _hoisted_5$9, [
17423
17443
  createVNode(GIcon, {
17424
17444
  name: "gt-plane-warningCircular-blue",
17425
17445
  size: "16",
@@ -17429,7 +17449,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17429
17449
  createElementVNode("a", {
17430
17450
  class: "announce-detail",
17431
17451
  href: migrationAnnounceUrl.value
17432
- }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail")), 9, _hoisted_6$7)
17452
+ }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail")), 9, _hoisted_6$8)
17433
17453
  ])
17434
17454
  ]),
17435
17455
  createElementVNode("div", _hoisted_7$6, [
@@ -17443,7 +17463,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17443
17463
  };
17444
17464
  }
17445
17465
  });
17446
- const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17466
+ const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17447
17467
  const actionMenuNames = {
17448
17468
  atomCode: ["AtomCode"],
17449
17469
  aiCommunity: ["AI社区"],
@@ -17494,11 +17514,11 @@ function resolveHomeHeaderActionUrls(items, fallbacks, transformers) {
17494
17514
  workspace: resolve("workspace")
17495
17515
  };
17496
17516
  }
17497
- const _hoisted_1$o = { class: "home-header-actions" };
17498
- const _hoisted_2$i = { class: "home-header-actions__menu" };
17499
- const _hoisted_3$h = ["href"];
17500
- const _hoisted_4$c = ["href"];
17501
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
17517
+ const _hoisted_1$p = { class: "home-header-actions" };
17518
+ const _hoisted_2$j = { class: "home-header-actions__menu" };
17519
+ const _hoisted_3$i = ["href"];
17520
+ const _hoisted_4$d = ["href"];
17521
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17502
17522
  ...{
17503
17523
  name: "HomeHeaderActions"
17504
17524
  },
@@ -17541,7 +17561,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17541
17561
  const actionUrls = computed(() => sidebarUrls.value ?? fallbackUrls.value);
17542
17562
  const discoverLinks = computed(() => [
17543
17563
  {
17544
- label: "AtomCode",
17564
+ label: t2("gitCodeLayout.home.atomCodeOfficial"),
17545
17565
  href: actionUrls.value.atomCode
17546
17566
  },
17547
17567
  {
@@ -17584,7 +17604,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17584
17604
  }
17585
17605
  });
17586
17606
  return (_ctx, _cache) => {
17587
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
17607
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
17588
17608
  createVNode(unref(Dropdown), {
17589
17609
  position: ["bottom-start"],
17590
17610
  "destroy-on-hide": false,
@@ -17594,14 +17614,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17594
17614
  onToggle: handleDiscoverToggle
17595
17615
  }, {
17596
17616
  menu: withCtx(() => [
17597
- createElementVNode("div", _hoisted_2$i, [
17617
+ createElementVNode("div", _hoisted_2$j, [
17598
17618
  (openBlock(true), createElementBlock(Fragment, null, renderList(discoverLinks.value, (item) => {
17599
17619
  return openBlock(), createElementBlock("a", {
17600
17620
  key: item.label,
17601
17621
  href: item.href,
17602
17622
  class: "home-header-actions__menu-item",
17603
17623
  onClick: _cache[0] || (_cache[0] = ($event) => isDiscoverOpen.value = false)
17604
- }, toDisplayString$1(item.label), 9, _hoisted_3$h);
17624
+ }, toDisplayString$1(item.label), 9, _hoisted_3$i);
17605
17625
  }), 128))
17606
17626
  ])
17607
17627
  ]),
@@ -17627,12 +17647,198 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17627
17647
  }, [
17628
17648
  _cache[1] || (_cache[1] = createStaticVNode('<svg class="home-header-actions__icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-vue-layout-gitcode><path d="M12 12h.01" data-v-vue-layout-gitcode></path><path d="M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2" data-v-vue-layout-gitcode></path><path d="M22 13a18.15 18.15 0 0 1-20 0" data-v-vue-layout-gitcode></path><rect width="20" height="14" x="2" y="6" rx="2" data-v-vue-layout-gitcode></rect></svg>', 1)),
17629
17649
  createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.header.myWorkbench")), 1)
17630
- ], 8, _hoisted_4$c)
17650
+ ], 8, _hoisted_4$d)
17631
17651
  ]);
17632
17652
  };
17633
17653
  }
17634
17654
  });
17635
- const HomeHeaderActions = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17655
+ const HomeHeaderActions = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17656
+ const _hoisted_1$o = ["aria-label"];
17657
+ const _hoisted_2$i = ["aria-label", "aria-expanded"];
17658
+ const _hoisted_3$h = {
17659
+ id: "atomCodeLaunchMenu",
17660
+ class: "atomcode-launch-menu",
17661
+ role: "menu"
17662
+ };
17663
+ const _hoisted_4$c = { class: "atomcode-launch-heading" };
17664
+ const _hoisted_5$8 = { id: "atomCodeContextHint" };
17665
+ const _hoisted_6$7 = ["href"];
17666
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17667
+ ...{
17668
+ name: "AtomCodeLauncher"
17669
+ },
17670
+ __name: "AtomCodeLauncher",
17671
+ props: {
17672
+ atomcodeLaunchQs: { default: "" }
17673
+ },
17674
+ setup(__props) {
17675
+ const props = __props;
17676
+ const { t: t2 } = i18n.global;
17677
+ const layoutConfig2 = useLayoutConfig();
17678
+ const isOpen = ref(false);
17679
+ function joinUrl(base, path) {
17680
+ return `${(base || "").replace(/\/$/, "")}${path.startsWith("/") ? path : `/${path}`}`;
17681
+ }
17682
+ const contextHintText = computed(() => {
17683
+ return t2("gitCodeLayout.atomCode.contextHint");
17684
+ });
17685
+ const defaultWorkbenchUrl = computed(() => {
17686
+ const url = joinUrl(layoutConfig2.VITE_HOST, "/dashboard/atomcode");
17687
+ if (!props.atomcodeLaunchQs) return url;
17688
+ const qs = props.atomcodeLaunchQs.replace(/^[?&]+/, "");
17689
+ if (!qs) return url;
17690
+ const separator = url.includes("?") ? "&" : "?";
17691
+ return `${url}${separator}${qs}`;
17692
+ });
17693
+ const resolvedCliDownloadUrl = computed(() => {
17694
+ return joinUrl(layoutConfig2.VITE_HOST, "/atomgit_atomcode/atomcode/releases/latest");
17695
+ });
17696
+ const handleToggle = (visible) => {
17697
+ isOpen.value = visible;
17698
+ };
17699
+ const openAtomCode = () => {
17700
+ if (defaultWorkbenchUrl.value) {
17701
+ window.location.href = defaultWorkbenchUrl.value;
17702
+ }
17703
+ };
17704
+ return (_ctx, _cache) => {
17705
+ return openBlock(), createElementBlock("div", {
17706
+ id: "atomCodeLauncher",
17707
+ class: normalizeClass(["atomcode-launcher", { open: isOpen.value }])
17708
+ }, [
17709
+ createElementVNode("button", {
17710
+ id: "atomCodeLaunchMain",
17711
+ class: "atomcode-launch-main",
17712
+ type: "button",
17713
+ "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCode"),
17714
+ onClick: openAtomCode
17715
+ }, [
17716
+ _cache[0] || (_cache[0] = createStaticVNode('<svg data-lucide="sparkles" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-v-vue-layout-gitcode><path d="m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z" data-v-vue-layout-gitcode></path><path d="M5 3v4" data-v-vue-layout-gitcode></path><path d="M19 17v4" data-v-vue-layout-gitcode></path><path d="M3 5h4" data-v-vue-layout-gitcode></path><path d="M17 19h4" data-v-vue-layout-gitcode></path></svg>', 1)),
17717
+ createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.title")), 1)
17718
+ ], 8, _hoisted_1$o),
17719
+ createVNode(unref(Dropdown), {
17720
+ position: ["bottom-end", "bottom-start"],
17721
+ "destroy-on-hide": false,
17722
+ trigger: "hover",
17723
+ offset: { mainAxis: 4, crossAxis: 0 },
17724
+ "overlay-class": "atomcode-launcher-dropdown",
17725
+ onToggle: handleToggle
17726
+ }, {
17727
+ menu: withCtx(() => [
17728
+ createElementVNode("div", _hoisted_3$h, [
17729
+ createElementVNode("div", _hoisted_4$c, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.useAtomCode")), 1),
17730
+ createElementVNode("button", {
17731
+ type: "button",
17732
+ role: "menuitem",
17733
+ "data-atomcode-open": "",
17734
+ onClick: openAtomCode
17735
+ }, [
17736
+ _cache[2] || (_cache[2] = createElementVNode("svg", {
17737
+ "data-lucide": "arrow-up-right",
17738
+ xmlns: "http://www.w3.org/2000/svg",
17739
+ width: "16",
17740
+ height: "16",
17741
+ viewBox: "0 0 24 24",
17742
+ fill: "none",
17743
+ stroke: "currentColor",
17744
+ "stroke-width": "2",
17745
+ "stroke-linecap": "round",
17746
+ "stroke-linejoin": "round",
17747
+ "aria-hidden": "true"
17748
+ }, [
17749
+ createElementVNode("path", { d: "M7 7h10v10" }),
17750
+ createElementVNode("path", { d: "M7 17 17 7" })
17751
+ ], -1)),
17752
+ createElementVNode("span", null, [
17753
+ createElementVNode("strong", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.openInWorkbench")), 1),
17754
+ createElementVNode("small", _hoisted_5$8, toDisplayString$1(contextHintText.value), 1)
17755
+ ])
17756
+ ]),
17757
+ _cache[5] || (_cache[5] = createElementVNode("div", { class: "atomcode-launch-divider" }, null, -1)),
17758
+ createElementVNode("a", {
17759
+ href: resolvedCliDownloadUrl.value,
17760
+ target: "_blank",
17761
+ rel: "noopener noreferrer",
17762
+ role: "menuitem",
17763
+ "data-atomcode-cli": ""
17764
+ }, [
17765
+ _cache[3] || (_cache[3] = createElementVNode("svg", {
17766
+ "data-lucide": "download",
17767
+ xmlns: "http://www.w3.org/2000/svg",
17768
+ width: "16",
17769
+ height: "16",
17770
+ viewBox: "0 0 24 24",
17771
+ fill: "none",
17772
+ stroke: "currentColor",
17773
+ "stroke-width": "2",
17774
+ "stroke-linecap": "round",
17775
+ "stroke-linejoin": "round",
17776
+ "aria-hidden": "true"
17777
+ }, [
17778
+ createElementVNode("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
17779
+ createElementVNode("polyline", { points: "7 10 12 15 17 10" }),
17780
+ createElementVNode("line", {
17781
+ x1: "12",
17782
+ x2: "12",
17783
+ y1: "15",
17784
+ y2: "3"
17785
+ })
17786
+ ], -1)),
17787
+ createElementVNode("span", null, [
17788
+ createElementVNode("strong", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.downloadCli")), 1)
17789
+ ]),
17790
+ _cache[4] || (_cache[4] = createElementVNode("svg", {
17791
+ "data-lucide": "arrow-up-right",
17792
+ xmlns: "http://www.w3.org/2000/svg",
17793
+ width: "15",
17794
+ height: "15",
17795
+ viewBox: "0 0 24 24",
17796
+ fill: "none",
17797
+ stroke: "currentColor",
17798
+ "stroke-width": "2",
17799
+ "stroke-linecap": "round",
17800
+ "stroke-linejoin": "round",
17801
+ "aria-hidden": "true"
17802
+ }, [
17803
+ createElementVNode("path", { d: "M7 7h10v10" }),
17804
+ createElementVNode("path", { d: "M7 17 17 7" })
17805
+ ], -1))
17806
+ ], 8, _hoisted_6$7)
17807
+ ])
17808
+ ]),
17809
+ default: withCtx(() => [
17810
+ createElementVNode("button", {
17811
+ id: "atomCodeLaunchToggle",
17812
+ class: "atomcode-launch-toggle",
17813
+ type: "button",
17814
+ "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCodeMenu"),
17815
+ "aria-haspopup": "menu",
17816
+ "aria-expanded": String(isOpen.value)
17817
+ }, [..._cache[1] || (_cache[1] = [
17818
+ createElementVNode("svg", {
17819
+ "data-lucide": "chevron-down",
17820
+ xmlns: "http://www.w3.org/2000/svg",
17821
+ width: "16",
17822
+ height: "16",
17823
+ viewBox: "0 0 24 24",
17824
+ fill: "none",
17825
+ stroke: "currentColor",
17826
+ "stroke-width": "2",
17827
+ "stroke-linecap": "round",
17828
+ "stroke-linejoin": "round",
17829
+ "aria-hidden": "true"
17830
+ }, [
17831
+ createElementVNode("path", { d: "m6 9 6 6 6-6" })
17832
+ ], -1)
17833
+ ])], 8, _hoisted_2$i)
17834
+ ]),
17835
+ _: 1
17836
+ })
17837
+ ], 2);
17838
+ };
17839
+ }
17840
+ });
17841
+ const AtomCodeLauncher = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17636
17842
  const vElementExposure = {
17637
17843
  mounted(el, binding) {
17638
17844
  const observer = new IntersectionObserver(function(entries2, observer2) {
@@ -17656,7 +17862,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
17656
17862
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
17657
17863
  }
17658
17864
  };
17659
- const NoticeModal = defineAsyncComponent(() => import("./notice-DJaG6UOc.js"));
17865
+ const NoticeModal = defineAsyncComponent(() => import("./notice-fUG6JsMT.js"));
17660
17866
  function clearNotice() {
17661
17867
  if (localStorage$2.getItem("validator_email")) {
17662
17868
  localStorage$2.removeItem("validator_email");
@@ -17734,7 +17940,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17734
17940
  }) },
17735
17941
  openCreateDropdown: { type: Boolean, default: false },
17736
17942
  createMenuItems: {},
17737
- createMenuNavigate: {}
17943
+ createMenuNavigate: {},
17944
+ atomcodeLaunchQs: { default: "" },
17945
+ showAtomCodeLauncher: { type: Boolean, default: false }
17738
17946
  },
17739
17947
  emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess", "update:openCreateDropdown"],
17740
17948
  setup(__props, { emit: __emit }) {
@@ -18210,14 +18418,19 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18210
18418
  createElementVNode("div", {
18211
18419
  class: normalizeClass(["g-toolbar-right allow-click-stop", inAIHub.value ? "g-toolbar-right--ai" : ""])
18212
18420
  }, [
18213
- !inAIHub.value ? renderSlot(_ctx.$slots, "headerActions", { key: 0 }, () => [
18421
+ !inAIHub.value && props.showAtomCodeLauncher ? renderSlot(_ctx.$slots, "atomCodeLauncher", { key: 0 }, () => [
18422
+ createVNode(AtomCodeLauncher, {
18423
+ atomcodeLaunchQs: props.atomcodeLaunchQs
18424
+ }, null, 8, ["atomcodeLaunchQs"])
18425
+ ], true) : createCommentVNode("", true),
18426
+ !inAIHub.value ? renderSlot(_ctx.$slots, "headerActions", { key: 1 }, () => [
18214
18427
  createVNode(HomeHeaderActions)
18215
18428
  ], true) : createCommentVNode("", true),
18216
18429
  createElementVNode("div", _hoisted_4$b, [
18217
18430
  createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"]),
18218
18431
  isModuleVisible(unref(HeaderDisplayItem).OPERATION_ENTRY) ? (openBlock(), createBlock(OperationEntry, { key: 0 })) : createCommentVNode("", true)
18219
18432
  ]),
18220
- !__props.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
18433
+ !__props.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
18221
18434
  isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18222
18435
  unref(isMobile) ? (openBlock(), createElementBlock("section", {
18223
18436
  key: 0,
@@ -18252,7 +18465,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18252
18465
  })
18253
18466
  ], 64)) : createCommentVNode("", true)
18254
18467
  ], 64)) : createCommentVNode("", true)
18255
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
18468
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
18256
18469
  !["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(HeaderCreateMenu, {
18257
18470
  key: 0,
18258
18471
  dropdownVisible: props.openCreateDropdown,
@@ -18411,7 +18624,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18411
18624
  [vShow, __props.showThemeSetting]
18412
18625
  ]),
18413
18626
  withDirectives(createElementVNode("div", _hoisted_3$e, [
18414
- createVNode(_sfc_main$z)
18627
+ createVNode(_sfc_main$A)
18415
18628
  ], 512), [
18416
18629
  [vShow, __props.showLangSetting]
18417
18630
  ])
@@ -19822,7 +20035,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19822
20035
  color: "var(--theme-aide-text)"
19823
20036
  })) : createCommentVNode("", true),
19824
20037
  createElementVNode("div", _hoisted_3$c, [
19825
- createVNode(_sfc_main$L, {
20038
+ createVNode(_sfc_main$M, {
19826
20039
  src: (_a2 = __props.enterpriseInfo) == null ? void 0 : _a2.avatar,
19827
20040
  name: (_b = __props.enterpriseInfo) == null ? void 0 : _b.name,
19828
20041
  isRound: false,
@@ -20176,9 +20389,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20176
20389
  const layoutConfig2 = useLayoutConfig();
20177
20390
  const { t: t2 } = i18n.global;
20178
20391
  const route = useRoute();
20179
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-D3r9OiuI.js"));
20180
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-B-yYLbRH.js"));
20181
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DEu7YX5x.js"));
20392
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-xjTXks21.js"));
20393
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-uKWo48n2.js"));
20394
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-PVBwsQ3V.js"));
20182
20395
  const props = __props;
20183
20396
  const useReport2 = inject("useReport");
20184
20397
  const userInfo = inject("userInfo");
@@ -20463,7 +20676,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
20463
20676
  [vShow, __props.showThemeSetting]
20464
20677
  ]),
20465
20678
  withDirectives(createElementVNode("div", _hoisted_3$b, [
20466
- createVNode(_sfc_main$z)
20679
+ createVNode(_sfc_main$A)
20467
20680
  ], 512), [
20468
20681
  [vShow, __props.showLangSetting]
20469
20682
  ])
@@ -26600,7 +26813,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26600
26813
  __publicField(_SlidCaptchaManager, "instance");
26601
26814
  let SlidCaptchaManager = _SlidCaptchaManager;
26602
26815
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26603
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CuEGmOjr.js"));
26816
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CFBRjvqd.js"));
26604
26817
  const useSlidCaptcha = () => {
26605
26818
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26606
26819
  const open = (config) => {
@@ -26630,7 +26843,7 @@ const useSlidCaptcha = () => {
26630
26843
  close
26631
26844
  };
26632
26845
  };
26633
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-RtiZu2AA.js"));
26846
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-v8B326P4.js"));
26634
26847
  const useYunpianCaptcha = () => {
26635
26848
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26636
26849
  const open = (config) => {
@@ -29559,12 +29772,13 @@ const index = {
29559
29772
  app.component("ScrollActiveContainer", ScrollActiveContainer);
29560
29773
  app.component("GitCodeHeader", GitCodeHeader);
29561
29774
  app.component("HomeHeaderActions", HomeHeaderActions);
29775
+ app.component("AtomCodeLauncher", AtomCodeLauncher);
29562
29776
  app.component("HeaderCreateMenu", HeaderCreateMenu);
29563
29777
  app.component("AsideFooterTools", AsideFooterTools);
29564
29778
  }
29565
29779
  };
29566
29780
  export {
29567
- SiteAnnouncement as $,
29781
+ EnterpriseHeader as $,
29568
29782
  ThemeType as A,
29569
29783
  currentTheme as B,
29570
29784
  LANG_EN as C,
@@ -29577,7 +29791,7 @@ export {
29577
29791
  navigateWithMigrationGuard as J,
29578
29792
  asideRequest as K,
29579
29793
  LANG_ZH as L,
29580
- _sfc_main$L as M,
29794
+ _sfc_main$M as M,
29581
29795
  loadAsideData as N,
29582
29796
  ToolsFloat as O,
29583
29797
  _sfc_main as P,
@@ -29589,17 +29803,18 @@ export {
29589
29803
  ScrollActiveContainer as V,
29590
29804
  GitCodeHeader as W,
29591
29805
  HomeHeaderActions as X,
29592
- HeaderCreateMenu as Y,
29593
- EnterpriseHeader as Z,
29806
+ AtomCodeLauncher as Y,
29807
+ HeaderCreateMenu as Z,
29594
29808
  _export_sfc as _,
29595
29809
  i18n as a,
29596
- AsideFooterTools as a0,
29597
- useLogin as a1,
29598
- setLayoutConfig as a2,
29599
- GitCodeLayoutEmitter as a3,
29600
- setTheme as a4,
29601
- HEADER_CREATE_MENU_PATHS as a5,
29602
- index as a6,
29810
+ SiteAnnouncement as a0,
29811
+ AsideFooterTools as a1,
29812
+ useLogin as a2,
29813
+ setLayoutConfig as a3,
29814
+ GitCodeLayoutEmitter as a4,
29815
+ setTheme as a5,
29816
+ HEADER_CREATE_MENU_PATHS as a6,
29817
+ index as a7,
29603
29818
  REPO_EVENT as b,
29604
29819
  REPO_TYPE as c,
29605
29820
  transferNumber as d,
@@ -29612,7 +29827,7 @@ export {
29612
29827
  usePageResize as k,
29613
29828
  localStorage$2 as l,
29614
29829
  isGstarRepo as m,
29615
- _sfc_main$K as n,
29830
+ _sfc_main$L as n,
29616
29831
  isIncubationRepo as o,
29617
29832
  highlightWords as p,
29618
29833
  _frEventTrack as q,