@huyooo/ui 0.5.56 → 0.5.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{AuthkitAuthModal-Bt_oatde.js → AuthkitAuthModal-BSvtvlyj.js} +718 -661
  2. package/dist/AuthkitOAuthCallback-DQ1RAKyR.js +330 -0
  3. package/dist/{Clipboard-CXQgZeZq.js → Clipboard-BAn3vQlX.js} +1 -1
  4. package/dist/{Contact-ZkK_OxmG.js → Contact-CDelrtDR.js} +2 -2
  5. package/dist/{FeedbackItem-BZ3zskgs.js → FeedbackItem-B9lo9J0G.js} +3 -3
  6. package/dist/{FeedbackModal-CLRw0hmp.js → FeedbackModal-DWJmFtvY.js} +3 -3
  7. package/dist/{MessageHandle-cK3Z3tfe.js → MessageHandle-BlsLRmdj.js} +3 -3
  8. package/dist/{PaySubscriptions-DlV3SHOV.js → PaySubscriptions-Vj0KnZGv.js} +3 -3
  9. package/dist/{ReferrerReferees-DBOVVD_R.js → ReferrerReferees-D8hYkkAy.js} +4 -4
  10. package/dist/{Upload.vue_vue_type_script_setup_true_lang-bvoyktaa.js → Upload.vue_vue_type_script_setup_true_lang-BYlxlhfb.js} +2 -2
  11. package/dist/{UserAccountMenu-ByEEFdDV.js → UserAccountMenu-BWx4hX66.js} +7 -7
  12. package/dist/{WidthContainer-C5bq-fmp.js → WidthContainer-DiEkVFtH.js} +6 -6
  13. package/dist/api/Authkit/OAuth.d.ts +12 -3
  14. package/dist/{auth-CDARHcht.js → auth-bwwc2iT8.js} +60 -59
  15. package/dist/authkit.d.ts +2 -0
  16. package/dist/authkit.js +23 -21
  17. package/dist/common/globalConfig.d.ts +4 -0
  18. package/dist/common.js +1 -1
  19. package/dist/components/Authkit/Auth/AuthkitOAuthCallback.vue.d.ts +22 -0
  20. package/dist/components/Authkit/Auth/AuthkitOAuthList.vue.d.ts +1 -1
  21. package/dist/components/InfiniteLoading.vue.d.ts +1 -1
  22. package/dist/composables/Authkit/useAuthkitAuth.d.ts +2 -0
  23. package/dist/composables/Authkit/useAuthkitOAuth.d.ts +14 -3
  24. package/dist/composables.js +9 -9
  25. package/dist/feedback.js +3 -3
  26. package/dist/index.js +179 -177
  27. package/dist/message.js +2 -2
  28. package/dist/pay.js +1 -1
  29. package/dist/privateCom.js +1 -1
  30. package/dist/referrer.js +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/upload.js +2 -2
  33. package/dist/{useAuthkitAppsAuthPageInfo-h9CL-MmH.js → useAuthkitAppsAuthPageInfo-CzZmhPMm.js} +1 -1
  34. package/dist/{useAuthkitCreateAndUpdate-Bsl_uyGQ.js → useAuthkitCreateAndUpdate-Co5wMbv7.js} +1 -1
  35. package/dist/{useAuthkitUsersProfile-B_uMdnat.js → useAuthkitUsersProfile-hZ9L3rYe.js} +93 -71
  36. package/dist/{useDownloads-05u8toS3.js → useDownloads-C0V_Sjr9.js} +1 -1
  37. package/dist/{useMessageNotifications-CAiVf4PX.js → useMessageNotifications-BT84SOgI.js} +1 -1
  38. package/dist/{useSEO-D5sci2ek.js → useSEO-DT8VkGVt.js} +2 -2
  39. package/dist/{useTableHandle-aJOWPWFL.js → useTableHandle-DaKaAKAH.js} +1 -1
  40. package/dist/{useUploadCos-DKh-eczm.js → useUploadCos-_xwV40NS.js} +1 -1
  41. package/dist/user.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/AuthkitAuthorize-Cu6_4HoY.js +0 -248
@@ -1,21 +1,21 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { defineComponent as I, computed as N, createElementBlock as P, openBlock as g, normalizeStyle as ie, normalizeClass as we, createElementVNode as z, ref as _, createBlock as k, unref as e, withCtx as s, createVNode as i, createTextVNode as w, onMounted as K, onUnmounted as oe, withDirectives as ke, toDisplayString as R, vShow as be, Fragment as G, createCommentVNode as S, renderList as ze, isRef as re, useSlots as Se, renderSlot as ue } from "vue";
5
- import { Form as F, FormItem as A, Avatar as de, Input as q, Textarea as Ae, Button as V, Message as D, Alert as O, Space as Y, InputPassword as Ie, Result as Ve, Modal as me, Divider as Pe, Link as H } from "@arco-design/web-vue";
4
+ import { defineComponent as I, computed as F, createElementBlock as V, openBlock as g, normalizeStyle as le, normalizeClass as ke, createElementVNode as z, ref as w, createBlock as k, unref as e, withCtx as n, createVNode as i, createTextVNode as _, onMounted as Z, onUnmounted as re, withDirectives as ze, toDisplayString as R, vShow as Se, Fragment as M, createCommentVNode as S, renderList as Ae, isRef as ue, useSlots as Ie, renderSlot as de } from "vue";
5
+ import { Form as G, FormItem as A, Avatar as ce, Input as q, Textarea as Pe, Button as P, Message as N, Alert as D, Space as ee, InputPassword as Ve, Result as Ue, Modal as me, Divider as $e, Link as j } from "@arco-design/web-vue";
6
6
  /* empty css */
7
- import { g as M, c as Z, h as ce, u as Ue } from "./auth-CDARHcht.js";
7
+ import { g as E, c as H, h as fe, u as Ce } from "./auth-bwwc2iT8.js";
8
8
  /* empty css */
9
- import { u as Ce } from "./useUploadCos-DKh-eczm.js";
10
- import { b as $e, c as ae, d as xe, a as J, e as qe, f as Te, u as Q, g as Re, h as Le } from "./useAuthkitUsersProfile-B_uMdnat.js";
11
- import { _ as Be, g as Ee, i as Oe } from "./plugin-vue_export-helper-LjDO2Zua.js";
12
- import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- import { M as De } from "./Menu-BjWB9hre.js";
14
- import { u as Ne } from "./useAuthkitCreateAndUpdate-Bsl_uyGQ.js";
15
- import { u as le } from "./useAuthkitAppsAuthPageInfo-h9CL-MmH.js";
9
+ import { u as xe } from "./useUploadCos-_xwV40NS.js";
10
+ import { b as qe, c as oe, d as Te, a as J, e as Re, f as Le, u as Q, g as Be, h as Oe } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
11
+ import { _ as Ee, g as De, i as Ne } from "./plugin-vue_export-helper-LjDO2Zua.js";
12
+ import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ import { M as Fe } from "./Menu-BjWB9hre.js";
14
+ import { u as Ge } from "./useAuthkitCreateAndUpdate-Co5wMbv7.js";
15
+ import { u as se } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
16
16
  /* empty css */
17
- import { Icon as Fe } from "@iconify/vue";
18
- const Ge = I({
17
+ import { Icon as Me } from "@iconify/vue";
18
+ const He = I({
19
19
  name: "IconCamera",
20
20
  props: {
21
21
  size: {
@@ -28,63 +28,63 @@ const Ge = I({
28
28
  strokeLinecap: {
29
29
  type: String,
30
30
  default: "butt",
31
- validator: (r) => ["butt", "round", "square"].includes(r)
31
+ validator: (s) => ["butt", "round", "square"].includes(s)
32
32
  },
33
33
  strokeLinejoin: {
34
34
  type: String,
35
35
  default: "miter",
36
- validator: (r) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(r)
36
+ validator: (s) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(s)
37
37
  },
38
38
  rotate: Number,
39
39
  spin: Boolean
40
40
  },
41
41
  emits: {
42
- click: (r) => !0
42
+ click: (s) => !0
43
43
  },
44
- setup(r, {
45
- emit: a
44
+ setup(s, {
45
+ emit: r
46
46
  }) {
47
- const u = Ee("icon"), n = N(() => [u, `${u}-camera`, {
48
- [`${u}-spin`]: r.spin
49
- }]), o = N(() => {
47
+ const u = De("icon"), a = F(() => [u, `${u}-camera`, {
48
+ [`${u}-spin`]: s.spin
49
+ }]), o = F(() => {
50
50
  const t = {};
51
- return r.size && (t.fontSize = Oe(r.size) ? `${r.size}px` : r.size), r.rotate && (t.transform = `rotate(${r.rotate}deg)`), t;
51
+ return s.size && (t.fontSize = Ne(s.size) ? `${s.size}px` : s.size), s.rotate && (t.transform = `rotate(${s.rotate}deg)`), t;
52
52
  });
53
53
  return {
54
- cls: n,
54
+ cls: a,
55
55
  innerStyle: o,
56
56
  onClick: (t) => {
57
- a("click", t);
57
+ r("click", t);
58
58
  }
59
59
  };
60
60
  }
61
- }), He = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
62
- function Me(r, a, u, n, o, m) {
63
- return g(), P("svg", {
61
+ }), je = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
62
+ function We(s, r, u, a, o, d) {
63
+ return g(), V("svg", {
64
64
  viewBox: "0 0 48 48",
65
65
  fill: "none",
66
66
  xmlns: "http://www.w3.org/2000/svg",
67
67
  stroke: "currentColor",
68
- class: we(r.cls),
69
- style: ie(r.innerStyle),
70
- "stroke-width": r.strokeWidth,
71
- "stroke-linecap": r.strokeLinecap,
72
- "stroke-linejoin": r.strokeLinejoin,
73
- onClick: a[0] || (a[0] = (...t) => r.onClick && r.onClick(...t))
74
- }, a[1] || (a[1] = [z("path", {
68
+ class: ke(s.cls),
69
+ style: le(s.innerStyle),
70
+ "stroke-width": s.strokeWidth,
71
+ "stroke-linecap": s.strokeLinecap,
72
+ "stroke-linejoin": s.strokeLinejoin,
73
+ onClick: r[0] || (r[0] = (...t) => s.onClick && s.onClick(...t))
74
+ }, r[1] || (r[1] = [z("path", {
75
75
  d: "m33 12-1.862-3.724A.5.5 0 0 0 30.691 8H17.309a.5.5 0 0 0-.447.276L15 12m16 14a7 7 0 1 1-14 0 7 7 0 0 1 14 0ZM7 40h34a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v26a1 1 0 0 0 1 1Z"
76
- }, null, -1)]), 14, He);
76
+ }, null, -1)]), 14, je);
77
77
  }
78
- var ee = /* @__PURE__ */ Be(Ge, [["render", Me]]);
79
- const je = Object.assign(ee, {
80
- install: (r, a) => {
78
+ var te = /* @__PURE__ */ Ee(He, [["render", We]]);
79
+ const Ke = Object.assign(te, {
80
+ install: (s, r) => {
81
81
  var u;
82
- const n = (u = a == null ? void 0 : a.iconPrefix) != null ? u : "";
83
- r.component(n + ee.name, ee);
82
+ const a = (u = r == null ? void 0 : r.iconPrefix) != null ? u : "";
83
+ s.component(a + te.name, te);
84
84
  }
85
- }), We = {
85
+ }), Ze = {
86
86
  class: "handle"
87
- }, Ke = /* @__PURE__ */ I({
87
+ }, Je = /* @__PURE__ */ I({
88
88
  __name: "AuthkitPersonalInformation",
89
89
  props: {
90
90
  size: {
@@ -93,39 +93,39 @@ const je = Object.assign(ee, {
93
93
  }
94
94
  },
95
95
  emits: ["submit"],
96
- setup(r, {
97
- emit: a
96
+ setup(s, {
97
+ emit: r
98
98
  }) {
99
- const u = a, n = r, o = _({
99
+ const u = r, a = s, o = w({
100
100
  id: void 0,
101
101
  nickname: "",
102
102
  description: "",
103
103
  avatar: "",
104
104
  avatarUrl: ""
105
- }), m = _(!1), t = _(), l = _(!1);
105
+ }), d = w(!1), t = w(), l = w(!1);
106
106
  function y() {
107
- l.value = !0, $e().then(({
108
- data: d
107
+ l.value = !0, qe().then(({
108
+ data: c
109
109
  }) => {
110
- l.value = !1, o.value.id = d.id, o.value.nickname = d.nickname, o.value.description = d.description, o.value.avatar = d.avatar, o.value.avatarUrl = d.avatarUrl;
110
+ l.value = !1, o.value.id = c.id, o.value.nickname = c.nickname, o.value.description = c.description, o.value.avatar = c.avatar, o.value.avatarUrl = c.avatarUrl;
111
111
  }).catch(() => {
112
112
  l.value = !1;
113
113
  });
114
114
  }
115
- function f() {
116
- t.value.validate().then((d) => {
117
- if (!d) {
115
+ function m() {
116
+ t.value.validate().then((c) => {
117
+ if (!c) {
118
118
  l.value = !0;
119
- const c = {
119
+ const f = {
120
120
  id: o.value.id,
121
121
  nickname: o.value.nickname,
122
122
  description: o.value.description,
123
123
  avatar: o.value.avatar
124
124
  };
125
- ae(c).then(({
125
+ oe(f).then(({
126
126
  data: v
127
127
  }) => {
128
- l.value = !1, D.success("更新成功"), o.value.avatarUrl = v.avatarUrl, u("submit");
128
+ l.value = !1, N.success("更新成功"), o.value.avatarUrl = v.avatarUrl, u("submit");
129
129
  }).catch(() => {
130
130
  l.value = !1;
131
131
  });
@@ -135,50 +135,50 @@ const je = Object.assign(ee, {
135
135
  y();
136
136
  const p = () => {
137
137
  const {
138
- uploadFile: d
139
- } = Ce(), c = document.createElement("input");
140
- c.type = "file", c.accept = "image/*", c.style.display = "none", document.body.append(c), c.addEventListener("change", async (v) => {
141
- var C;
142
- const U = (C = v.target.files) == null ? void 0 : C[0];
138
+ uploadFile: c
139
+ } = xe(), f = document.createElement("input");
140
+ f.type = "file", f.accept = "image/*", f.style.display = "none", document.body.append(f), f.addEventListener("change", async (v) => {
141
+ var $;
142
+ const U = ($ = v.target.files) == null ? void 0 : $[0];
143
143
  if (U) {
144
- m.value = !0;
144
+ d.value = !0;
145
145
  try {
146
- d({
147
- bucketId: M.avatarBucketId,
146
+ c({
147
+ bucketId: E.avatarBucketId,
148
148
  file: U,
149
- onFileFinish(T, B, E) {
150
- m.value = !0;
151
- const j = {
149
+ onFileFinish(T, B, O) {
150
+ d.value = !0;
151
+ const W = {
152
152
  id: o.value.id,
153
153
  nickname: o.value.nickname,
154
154
  description: o.value.description,
155
- avatar: E.Key
155
+ avatar: O.Key
156
156
  };
157
- ae(j).then(() => {
158
- m.value = !1, D.success("更新成功"), y(), u("submit");
157
+ oe(W).then(() => {
158
+ d.value = !1, N.success("更新成功"), y(), u("submit");
159
159
  }).catch(() => {
160
- m.value = !1;
160
+ d.value = !1;
161
161
  });
162
162
  },
163
163
  onError(T) {
164
- console.error("上传图片失败"), m.value = !1;
164
+ console.error("上传图片失败"), d.value = !1;
165
165
  }
166
166
  });
167
167
  } catch (T) {
168
- console.error("上传图片失败", T), m.value = !1;
168
+ console.error("上传图片失败", T), d.value = !1;
169
169
  }
170
170
  }
171
- c.remove();
172
- }), c.click();
171
+ f.remove();
172
+ }), f.click();
173
173
  };
174
- return (d, c) => (g(), k(e(F), {
174
+ return (c, f) => (g(), k(e(G), {
175
175
  ref_key: "formRef",
176
176
  ref: t,
177
177
  model: o.value,
178
178
  "auto-label-width": "",
179
- size: n.size
179
+ size: a.size
180
180
  }, {
181
- default: s(() => [i(e(A), {
181
+ default: n(() => [i(e(A), {
182
182
  field: "avatar",
183
183
  label: "头像",
184
184
  rules: [{
@@ -186,7 +186,7 @@ const je = Object.assign(ee, {
186
186
  message: "请上传头像"
187
187
  }]
188
188
  }, {
189
- default: s(() => [i(e(de), {
189
+ default: n(() => [i(e(ce), {
190
190
  "image-url": o.value.avatarUrl,
191
191
  size: 42,
192
192
  "object-fit": "cover",
@@ -195,7 +195,7 @@ const je = Object.assign(ee, {
195
195
  },
196
196
  onClick: p
197
197
  }, {
198
- "trigger-icon": s(() => [i(e(je))]),
198
+ "trigger-icon": n(() => [i(e(Ke))]),
199
199
  _: 1
200
200
  }, 8, ["image-url"])]),
201
201
  _: 1
@@ -207,9 +207,9 @@ const je = Object.assign(ee, {
207
207
  message: "请输入昵称"
208
208
  }]
209
209
  }, {
210
- default: s(() => [i(e(q), {
210
+ default: n(() => [i(e(q), {
211
211
  modelValue: o.value.nickname,
212
- "onUpdate:modelValue": c[0] || (c[0] = (v) => o.value.nickname = v),
212
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => o.value.nickname = v),
213
213
  placeholder: "请输入昵称"
214
214
  }, null, 8, ["modelValue"])]),
215
215
  _: 1
@@ -221,9 +221,9 @@ const je = Object.assign(ee, {
221
221
  message: "请输入描述"
222
222
  }]
223
223
  }, {
224
- default: s(() => [i(e(Ae), {
224
+ default: n(() => [i(e(Pe), {
225
225
  modelValue: o.value.description,
226
- "onUpdate:modelValue": c[1] || (c[1] = (v) => o.value.description = v),
226
+ "onUpdate:modelValue": f[1] || (f[1] = (v) => o.value.description = v),
227
227
  placeholder: "请输入描述",
228
228
  "allow-clear": "",
229
229
  "auto-size": {
@@ -236,12 +236,12 @@ const je = Object.assign(ee, {
236
236
  label: "",
237
237
  rules: []
238
238
  }, {
239
- default: s(() => [z("div", We, [i(e(V), {
239
+ default: n(() => [z("div", Ze, [i(e(P), {
240
240
  type: "primary",
241
241
  loading: l.value,
242
- onClick: f
242
+ onClick: m
243
243
  }, {
244
- default: s(() => [...c[2] || (c[2] = [w(" 提交 ", -1)])]),
244
+ default: n(() => [...f[2] || (f[2] = [_(" 提交 ", -1)])]),
245
245
  _: 1
246
246
  }, 8, ["loading"])])]),
247
247
  _: 1
@@ -249,29 +249,29 @@ const je = Object.assign(ee, {
249
249
  _: 1
250
250
  }, 8, ["model", "size"]));
251
251
  }
252
- }), Ze = /* @__PURE__ */ $(Ke, [["__scopeId", "data-v-c241b7f8"]]);
253
- function Je(r) {
254
- return Z({
255
- url: `${M.authPrefixUrl}/restfulApi/verify/email`,
252
+ }), Qe = /* @__PURE__ */ C(Je, [["__scopeId", "data-v-c241b7f8"]]);
253
+ function Xe(s) {
254
+ return H({
255
+ url: `${E.authPrefixUrl}/restfulApi/verify/email`,
256
256
  method: "post",
257
- data: r
257
+ data: s
258
258
  });
259
259
  }
260
- function X(r) {
261
- return Z({
262
- url: `${M.authPrefixUrl}/restfulApi/verify/email/retry`,
260
+ function X(s) {
261
+ return H({
262
+ url: `${E.authPrefixUrl}/restfulApi/verify/email/retry`,
263
263
  method: "post",
264
- data: r
264
+ data: s
265
265
  });
266
266
  }
267
- function Qe(r) {
268
- return Z({
269
- url: `${M.authPrefixUrl}/restfulApi/verify/password`,
267
+ function Ye(s) {
268
+ return H({
269
+ url: `${E.authPrefixUrl}/restfulApi/verify/password`,
270
270
  method: "post",
271
- data: r
271
+ data: s
272
272
  });
273
273
  }
274
- const Xe = /* @__PURE__ */ I({
274
+ const et = /* @__PURE__ */ I({
275
275
  __name: "AuthkitSendVerifyCode",
276
276
  props: {
277
277
  size: {
@@ -285,45 +285,45 @@ const Xe = /* @__PURE__ */ I({
285
285
  }
286
286
  },
287
287
  emits: ["send"],
288
- setup(r, {
289
- expose: a,
288
+ setup(s, {
289
+ expose: r,
290
290
  emit: u
291
291
  }) {
292
- const n = u, o = r, m = _(!1);
292
+ const a = u, o = s, d = w(!1);
293
293
  let t;
294
- const l = _(0), y = N(() => l.value.toString().padStart(2, "0")), f = N(() => l.value > 0), p = () => {
295
- m.value && (l.value <= 0 ? (clearInterval(t), m.value = !1) : l.value--);
294
+ const l = w(0), y = F(() => l.value.toString().padStart(2, "0")), m = F(() => l.value > 0), p = () => {
295
+ d.value && (l.value <= 0 ? (clearInterval(t), d.value = !1) : l.value--);
296
296
  };
297
- function d() {
298
- n("send");
299
- }
300
297
  function c() {
301
- l.value = 60, m.value = !0, t && clearInterval(t), t = setInterval(p, 1e3);
298
+ a("send");
302
299
  }
303
- return K(() => {
304
- }), a({
305
- startCountFn: c
306
- }), oe(() => {
300
+ function f() {
301
+ l.value = 60, d.value = !0, t && clearInterval(t), t = setInterval(p, 1e3);
302
+ }
303
+ return Z(() => {
304
+ }), r({
305
+ startCountFn: f
306
+ }), re(() => {
307
307
  t && clearInterval(t);
308
- }), (v, b) => (g(), k(e(V), {
308
+ }), (v, b) => (g(), k(e(P), {
309
309
  class: "OAuthItem",
310
310
  type: "primary",
311
311
  size: o.size,
312
- disabled: f.value,
312
+ disabled: m.value,
313
313
  loading: o.loading,
314
- onClick: d
314
+ onClick: c
315
315
  }, {
316
- default: s(() => [b[0] || (b[0] = z("span", null, " 发送验证码", -1)), ke(z("span", {
316
+ default: n(() => [b[0] || (b[0] = z("span", null, " 发送验证码", -1)), ze(z("span", {
317
317
  class: "verify-code-timer"
318
- }, R(`(${y.value})`), 513), [[be, f.value]])]),
318
+ }, R(`(${y.value})`), 513), [[Se, m.value]])]),
319
319
  _: 1
320
320
  }, 8, ["size", "disabled", "loading"]));
321
321
  }
322
- }), se = /* @__PURE__ */ $(Xe, [["__scopeId", "data-v-2883dc6d"]]), Ye = {
322
+ }), ne = /* @__PURE__ */ C(et, [["__scopeId", "data-v-2883dc6d"]]), tt = {
323
323
  class: "sendVerifyCodeItem"
324
- }, et = {
324
+ }, it = {
325
325
  class: "handle"
326
- }, tt = /* @__PURE__ */ I({
326
+ }, lt = /* @__PURE__ */ I({
327
327
  __name: "AuthkitEmailVerify",
328
328
  props: {
329
329
  email: {
@@ -337,34 +337,34 @@ const Xe = /* @__PURE__ */ I({
337
337
  }
338
338
  },
339
339
  emits: ["next"],
340
- setup(r, {
341
- emit: a
340
+ setup(s, {
341
+ emit: r
342
342
  }) {
343
- const u = a, n = r, o = N(() => ce(n.email)), m = _(), t = _(!1), l = _(!1), y = _(), f = _({
343
+ const u = r, a = s, o = F(() => fe(a.email)), d = w(), t = w(!1), l = w(!1), y = w(), m = w({
344
344
  userToken: void 0,
345
345
  emailVerifyId: void 0
346
346
  });
347
347
  async function p() {
348
348
  t.value = !0, X({
349
- email: n.email
349
+ email: a.email
350
350
  }).then(({
351
- data: c
351
+ data: f
352
352
  }) => {
353
- f.value.emailVerifyId = c.emailVerifyId, t.value = !1, m.value.startCountFn();
353
+ m.value.emailVerifyId = f.emailVerifyId, t.value = !1, d.value.startCountFn();
354
354
  }).catch(() => {
355
355
  t.value = !1;
356
356
  });
357
357
  }
358
- async function d() {
359
- y.value.validate(["userToken"]).then((c) => {
360
- if (!c) {
358
+ async function c() {
359
+ y.value.validate(["userToken"]).then((f) => {
360
+ if (!f) {
361
361
  l.value = !0;
362
362
  const v = {
363
- email: n.email,
364
- userToken: f.value.userToken,
365
- emailVerifyId: f.value.emailVerifyId
363
+ email: a.email,
364
+ userToken: m.value.userToken,
365
+ emailVerifyId: m.value.emailVerifyId
366
366
  };
367
- Je(v).then(() => {
367
+ Xe(v).then(() => {
368
368
  l.value = !1, u("next");
369
369
  }).catch(() => {
370
370
  l.value = !1;
@@ -372,14 +372,14 @@ const Xe = /* @__PURE__ */ I({
372
372
  }
373
373
  });
374
374
  }
375
- return (c, v) => (g(), k(e(F), {
375
+ return (f, v) => (g(), k(e(G), {
376
376
  ref_key: "formRef",
377
377
  ref: y,
378
- model: f.value,
378
+ model: m.value,
379
379
  "auto-label-width": "",
380
- size: n.size
380
+ size: a.size
381
381
  }, {
382
- default: s(() => [i(e(A), {
382
+ default: n(() => [i(e(A), {
383
383
  field: "email",
384
384
  label: "邮箱",
385
385
  rules: [{
@@ -390,7 +390,7 @@ const Xe = /* @__PURE__ */ I({
390
390
  message: "请输入有效的邮箱"
391
391
  }]
392
392
  }, {
393
- default: s(() => [w(R(o.value), 1)]),
393
+ default: n(() => [_(R(o.value), 1)]),
394
394
  _: 1
395
395
  }), i(e(A), {
396
396
  field: "userToken",
@@ -401,14 +401,14 @@ const Xe = /* @__PURE__ */ I({
401
401
  message: "请输入验证码"
402
402
  }]
403
403
  }, {
404
- default: s(() => [z("div", Ye, [i(e(q), {
405
- modelValue: f.value.userToken,
406
- "onUpdate:modelValue": v[0] || (v[0] = (b) => f.value.userToken = b),
404
+ default: n(() => [z("div", tt, [i(e(q), {
405
+ modelValue: m.value.userToken,
406
+ "onUpdate:modelValue": v[0] || (v[0] = (b) => m.value.userToken = b),
407
407
  placeholder: "请输入验证码"
408
- }, null, 8, ["modelValue"]), i(se, {
408
+ }, null, 8, ["modelValue"]), i(ne, {
409
409
  ref_key: "SendVerifyCodeRef",
410
- ref: m,
411
- size: n.size,
410
+ ref: d,
411
+ size: a.size,
412
412
  loading: t.value,
413
413
  style: {
414
414
  "margin-left": "10px"
@@ -421,12 +421,12 @@ const Xe = /* @__PURE__ */ I({
421
421
  label: "",
422
422
  rules: []
423
423
  }, {
424
- default: s(() => [z("div", et, [i(e(V), {
424
+ default: n(() => [z("div", it, [i(e(P), {
425
425
  loading: l.value,
426
426
  type: "primary",
427
- onClick: d
427
+ onClick: c
428
428
  }, {
429
- default: s(() => [...v[1] || (v[1] = [w(" 提交 ", -1)])]),
429
+ default: n(() => [...v[1] || (v[1] = [_(" 提交 ", -1)])]),
430
430
  _: 1
431
431
  }, 8, ["loading"])])]),
432
432
  _: 1
@@ -434,9 +434,9 @@ const Xe = /* @__PURE__ */ I({
434
434
  _: 1
435
435
  }, 8, ["model", "size"]));
436
436
  }
437
- }), ne = /* @__PURE__ */ $(tt, [["__scopeId", "data-v-89ebb370"]]), it = {
437
+ }), ae = /* @__PURE__ */ C(lt, [["__scopeId", "data-v-89ebb370"]]), st = {
438
438
  class: "handle"
439
- }, lt = /* @__PURE__ */ I({
439
+ }, nt = /* @__PURE__ */ I({
440
440
  __name: "AuthkitPasswordUpdate",
441
441
  props: {
442
442
  size: {
@@ -445,10 +445,10 @@ const Xe = /* @__PURE__ */ I({
445
445
  }
446
446
  },
447
447
  emits: ["submit"],
448
- setup(r, {
449
- emit: a
448
+ setup(s, {
449
+ emit: r
450
450
  }) {
451
- const u = a, n = _(!1), o = _(), m = r, t = _({
451
+ const u = r, a = w(!1), o = w(), d = s, t = w({
452
452
  oldPassword: "",
453
453
  password: "",
454
454
  confirmPassword: ""
@@ -456,25 +456,25 @@ const Xe = /* @__PURE__ */ I({
456
456
  async function l() {
457
457
  o.value.validate().then((y) => {
458
458
  if (!y) {
459
- const f = {
459
+ const m = {
460
460
  password: t.value.password
461
461
  };
462
- xe(f).then(() => {
463
- n.value = !1, u("submit", f);
462
+ Te(m).then(() => {
463
+ a.value = !1, u("submit", m);
464
464
  }).catch(() => {
465
- n.value = !1;
465
+ a.value = !1;
466
466
  });
467
467
  }
468
468
  });
469
469
  }
470
- return (y, f) => (g(), k(e(F), {
470
+ return (y, m) => (g(), k(e(G), {
471
471
  ref_key: "formRef",
472
472
  ref: o,
473
473
  model: t.value,
474
474
  "auto-label-width": "",
475
- size: m.size
475
+ size: d.size
476
476
  }, {
477
- default: s(() => [i(e(A), {
477
+ default: n(() => [i(e(A), {
478
478
  field: "oldPassword",
479
479
  label: "当前密码",
480
480
  "hide-label": "",
@@ -483,9 +483,9 @@ const Xe = /* @__PURE__ */ I({
483
483
  message: "请输入当前密码"
484
484
  }]
485
485
  }, {
486
- default: s(() => [i(e(q), {
486
+ default: n(() => [i(e(q), {
487
487
  modelValue: t.value.oldPassword,
488
- "onUpdate:modelValue": f[0] || (f[0] = (p) => t.value.oldPassword = p),
488
+ "onUpdate:modelValue": m[0] || (m[0] = (p) => t.value.oldPassword = p),
489
489
  placeholder: "请输入当前密码",
490
490
  type: "password"
491
491
  }, null, 8, ["modelValue"])]),
@@ -502,9 +502,9 @@ const Xe = /* @__PURE__ */ I({
502
502
  message: "新密码不能少于10字符"
503
503
  }]
504
504
  }, {
505
- default: s(() => [i(e(q), {
505
+ default: n(() => [i(e(q), {
506
506
  modelValue: t.value.password,
507
- "onUpdate:modelValue": f[1] || (f[1] = (p) => t.value.password = p),
507
+ "onUpdate:modelValue": m[1] || (m[1] = (p) => t.value.password = p),
508
508
  placeholder: "请输入新密码",
509
509
  type: "password"
510
510
  }, null, 8, ["modelValue"])]),
@@ -520,14 +520,14 @@ const Xe = /* @__PURE__ */ I({
520
520
  minLength: 10,
521
521
  message: "确认密码不能少于10字符"
522
522
  }, {
523
- validator: (p, d) => {
524
- p !== t.value.password ? d("两次密码输入不一致,请重新输入") : d();
523
+ validator: (p, c) => {
524
+ p !== t.value.password ? c("两次密码输入不一致,请重新输入") : c();
525
525
  }
526
526
  }]
527
527
  }, {
528
- default: s(() => [i(e(q), {
528
+ default: n(() => [i(e(q), {
529
529
  modelValue: t.value.confirmPassword,
530
- "onUpdate:modelValue": f[2] || (f[2] = (p) => t.value.confirmPassword = p),
530
+ "onUpdate:modelValue": m[2] || (m[2] = (p) => t.value.confirmPassword = p),
531
531
  placeholder: "请输入确认密码密码",
532
532
  type: "password"
533
533
  }, null, 8, ["modelValue"])]),
@@ -537,12 +537,12 @@ const Xe = /* @__PURE__ */ I({
537
537
  label: "",
538
538
  rules: []
539
539
  }, {
540
- default: s(() => [z("div", it, [i(e(V), {
540
+ default: n(() => [z("div", st, [i(e(P), {
541
541
  type: "primary",
542
- loading: n.value,
542
+ loading: a.value,
543
543
  onClick: l
544
544
  }, {
545
- default: s(() => [...f[3] || (f[3] = [w(" 提交 ", -1)])]),
545
+ default: n(() => [...m[3] || (m[3] = [_(" 提交 ", -1)])]),
546
546
  _: 1
547
547
  }, 8, ["loading"])])]),
548
548
  _: 1
@@ -550,7 +550,7 @@ const Xe = /* @__PURE__ */ I({
550
550
  _: 1
551
551
  }, 8, ["model", "size"]));
552
552
  }
553
- }), st = /* @__PURE__ */ $(lt, [["__scopeId", "data-v-a9e25b03"]]), nt = /* @__PURE__ */ I({
553
+ }), at = /* @__PURE__ */ C(nt, [["__scopeId", "data-v-a9e25b03"]]), ot = /* @__PURE__ */ I({
554
554
  __name: "AuthkitSetPassword",
555
555
  props: {
556
556
  size: {
@@ -558,74 +558,74 @@ const Xe = /* @__PURE__ */ I({
558
558
  required: !0
559
559
  }
560
560
  },
561
- setup(r) {
561
+ setup(s) {
562
562
  const {
563
- userProfile: a,
563
+ userProfile: r,
564
564
  loading: u,
565
- fetchUserProfile: n,
565
+ fetchUserProfile: a,
566
566
  isLoggedIn: o
567
- } = J(), m = _("hidden"), t = r;
567
+ } = J(), d = w("hidden"), t = s;
568
568
  function l(p) {
569
- m.value = p;
569
+ d.value = p;
570
570
  }
571
571
  function y(p) {
572
- D.success("密码修改成功"), m.value = "hidden", n();
572
+ N.success("密码修改成功"), d.value = "hidden", a();
573
573
  }
574
- function f() {
575
- m.value = "update";
574
+ function m() {
575
+ d.value = "update";
576
576
  }
577
- return K(() => {
578
- o.value && !a.value && n();
579
- }), (p, d) => {
580
- var c, v, b, U;
581
- return g(), P(G, null, [!((c = e(a)) != null && c.email) && !((v = e(a)) != null && v.phone) ? (g(), k(e(O), {
577
+ return Z(() => {
578
+ o.value && !r.value && a();
579
+ }), (p, c) => {
580
+ var f, v, b, U;
581
+ return g(), V(M, null, [!((f = e(r)) != null && f.email) && !((v = e(r)) != null && v.phone) ? (g(), k(e(D), {
582
582
  key: 0,
583
583
  title: "去绑定邮箱"
584
584
  }, {
585
- action: s(() => [i(e(V), {
585
+ action: n(() => [i(e(P), {
586
586
  size: t.size,
587
587
  type: "primary",
588
- onClick: d[0] || (d[0] = (C) => l("update"))
588
+ onClick: c[0] || (c[0] = ($) => l("update"))
589
589
  }, {
590
- default: s(() => [...d[2] || (d[2] = [w(" 去绑定邮箱 ", -1)])]),
590
+ default: n(() => [...c[2] || (c[2] = [_(" 去绑定邮箱 ", -1)])]),
591
591
  _: 1
592
592
  }, 8, ["size"])]),
593
- default: s(() => [d[3] || (d[3] = w(" 请先去绑定邮箱或者手机号码,才能设置密码 ", -1))]),
593
+ default: n(() => [c[3] || (c[3] = _(" 请先去绑定邮箱或者手机号码,才能设置密码 ", -1))]),
594
594
  _: 1
595
- })) : S("", !0), (b = e(a)) != null && b.email && m.value === "hidden" ? (g(), k(e(O), {
595
+ })) : S("", !0), (b = e(r)) != null && b.email && d.value === "hidden" ? (g(), k(e(D), {
596
596
  key: 1,
597
597
  title: "更改密码"
598
598
  }, {
599
- action: s(() => [i(e(V), {
599
+ action: n(() => [i(e(P), {
600
600
  size: t.size,
601
601
  type: "primary",
602
- onClick: d[1] || (d[1] = (C) => l("verify"))
602
+ onClick: c[1] || (c[1] = ($) => l("verify"))
603
603
  }, {
604
- default: s(() => [...d[4] || (d[4] = [w("更改密码", -1)])]),
604
+ default: n(() => [...c[4] || (c[4] = [_("更改密码", -1)])]),
605
605
  _: 1
606
606
  }, 8, ["size"])]),
607
- default: s(() => [d[5] || (d[5] = w(" 为了账户安全修改密码前会先验证身份 ", -1))]),
607
+ default: n(() => [c[5] || (c[5] = _(" 为了账户安全修改密码前会先验证身份 ", -1))]),
608
608
  _: 1
609
- })) : S("", !0), m.value === "update" ? (g(), k(st, {
609
+ })) : S("", !0), d.value === "update" ? (g(), k(at, {
610
610
  key: 2,
611
611
  size: t.size,
612
612
  loading: e(u),
613
613
  onSubmit: y
614
- }, null, 8, ["size", "loading"])) : S("", !0), m.value === "verify" ? (g(), k(ne, {
614
+ }, null, 8, ["size", "loading"])) : S("", !0), d.value === "verify" ? (g(), k(ae, {
615
615
  key: 3,
616
616
  size: t.size,
617
- email: (U = e(a)) == null ? void 0 : U.email,
618
- onNext: f
617
+ email: (U = e(r)) == null ? void 0 : U.email,
618
+ onNext: m
619
619
  }, null, 8, ["size", "email"])) : S("", !0)], 64);
620
620
  };
621
621
  }
622
- }), at = {
622
+ }), rt = {
623
623
  class: "content"
624
- }, ot = {
624
+ }, ut = {
625
625
  class: "sendVerifyCodeItem"
626
- }, rt = {
626
+ }, dt = {
627
627
  class: "handle"
628
- }, ut = /* @__PURE__ */ I({
628
+ }, ct = /* @__PURE__ */ I({
629
629
  __name: "AuthkitEmailUpdate",
630
630
  props: {
631
631
  size: {
@@ -639,10 +639,10 @@ const Xe = /* @__PURE__ */ I({
639
639
  }
640
640
  },
641
641
  emits: ["submit"],
642
- setup(r, {
643
- emit: a
642
+ setup(s, {
643
+ emit: r
644
644
  }) {
645
- const u = a, n = r, o = _(), m = _(!1), t = _(), l = _({
645
+ const u = r, a = s, o = w(), d = w(!1), t = w(), l = w({
646
646
  email: void 0,
647
647
  userToken: void 0,
648
648
  emailVerifyId: void 0,
@@ -652,30 +652,30 @@ const Xe = /* @__PURE__ */ I({
652
652
  });
653
653
  async function y() {
654
654
  t.value.validateField(["email"]).then((p) => {
655
- p || (m.value = !0, X({
655
+ p || (d.value = !0, X({
656
656
  email: l.value.email
657
657
  }).then(({
658
- data: d
658
+ data: c
659
659
  }) => {
660
- l.value.emailVerifyId = d.emailVerifyId, m.value = !1, o.value.startCountFn();
660
+ l.value.emailVerifyId = c.emailVerifyId, d.value = !1, o.value.startCountFn();
661
661
  }).catch(() => {
662
- m.value = !1;
662
+ d.value = !1;
663
663
  }));
664
664
  });
665
665
  }
666
- async function f() {
666
+ async function m() {
667
667
  t.value.validate().then((p) => {
668
668
  p || u("submit", l.value);
669
669
  });
670
670
  }
671
- return (p, d) => (g(), P("div", at, [i(e(F), {
671
+ return (p, c) => (g(), V("div", rt, [i(e(G), {
672
672
  ref_key: "formRef",
673
673
  ref: t,
674
674
  model: l.value,
675
- size: n.size,
675
+ size: a.size,
676
676
  "auto-label-width": ""
677
677
  }, {
678
- default: s(() => [i(e(A), {
678
+ default: n(() => [i(e(A), {
679
679
  field: "email",
680
680
  label: "邮箱",
681
681
  "hide-label": "",
@@ -687,9 +687,9 @@ const Xe = /* @__PURE__ */ I({
687
687
  message: "请输入有效的邮箱"
688
688
  }]
689
689
  }, {
690
- default: s(() => [i(e(q), {
690
+ default: n(() => [i(e(q), {
691
691
  modelValue: l.value.email,
692
- "onUpdate:modelValue": d[0] || (d[0] = (c) => l.value.email = c),
692
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => l.value.email = f),
693
693
  placeholder: "请输入邮箱",
694
694
  autocomplete: "email username",
695
695
  type: "email"
@@ -704,16 +704,16 @@ const Xe = /* @__PURE__ */ I({
704
704
  message: "请输入验证码"
705
705
  }]
706
706
  }, {
707
- default: s(() => [z("div", ot, [i(e(q), {
707
+ default: n(() => [z("div", ut, [i(e(q), {
708
708
  modelValue: l.value.userToken,
709
- "onUpdate:modelValue": d[1] || (d[1] = (c) => l.value.userToken = c),
709
+ "onUpdate:modelValue": c[1] || (c[1] = (f) => l.value.userToken = f),
710
710
  placeholder: "请输入验证码",
711
711
  autocomplete: "one-time-code"
712
- }, null, 8, ["modelValue"]), i(se, {
712
+ }, null, 8, ["modelValue"]), i(ne, {
713
713
  ref_key: "SendVerifyCodeRef",
714
714
  ref: o,
715
- size: n.size,
716
- loading: m.value,
715
+ size: a.size,
716
+ loading: d.value,
717
717
  style: {
718
718
  "margin-left": "10px"
719
719
  },
@@ -732,9 +732,9 @@ const Xe = /* @__PURE__ */ I({
732
732
  message: "密码不能少于10字符"
733
733
  }]
734
734
  }, {
735
- default: s(() => [i(e(q), {
735
+ default: n(() => [i(e(q), {
736
736
  modelValue: l.value.password,
737
- "onUpdate:modelValue": d[2] || (d[2] = (c) => l.value.password = c),
737
+ "onUpdate:modelValue": c[2] || (c[2] = (f) => l.value.password = f),
738
738
  placeholder: "请输入密码",
739
739
  type: "password",
740
740
  autocomplete: "new-password"
@@ -751,14 +751,14 @@ const Xe = /* @__PURE__ */ I({
751
751
  minLength: 10,
752
752
  message: "确认密码不能少于10字符"
753
753
  }, {
754
- validator: (c, v) => {
755
- c !== l.value.password ? v("两次密码输入不一致,请重新输入") : v();
754
+ validator: (f, v) => {
755
+ f !== l.value.password ? v("两次密码输入不一致,请重新输入") : v();
756
756
  }
757
757
  }]
758
758
  }, {
759
- default: s(() => [i(e(q), {
759
+ default: n(() => [i(e(q), {
760
760
  modelValue: l.value.confirmPassword,
761
- "onUpdate:modelValue": d[3] || (d[3] = (c) => l.value.confirmPassword = c),
761
+ "onUpdate:modelValue": c[3] || (c[3] = (f) => l.value.confirmPassword = f),
762
762
  placeholder: "请输入确认密码密码",
763
763
  type: "password",
764
764
  autocomplete: "new-password"
@@ -773,27 +773,27 @@ const Xe = /* @__PURE__ */ I({
773
773
  message: "请输入邀请人ID"
774
774
  }]
775
775
  }, {
776
- default: s(() => [i(e(q), {
776
+ default: n(() => [i(e(q), {
777
777
  modelValue: l.value.referrerId,
778
- "onUpdate:modelValue": d[4] || (d[4] = (c) => l.value.referrerId = c),
778
+ "onUpdate:modelValue": c[4] || (c[4] = (f) => l.value.referrerId = f),
779
779
  placeholder: "邀请人ID(可选)",
780
780
  autocomplete: "off"
781
781
  }, null, 8, ["modelValue"])]),
782
782
  _: 1
783
- }), z("div", rt, [i(e(V), {
783
+ }), z("div", dt, [i(e(P), {
784
784
  type: "primary",
785
- loading: n.loading,
785
+ loading: a.loading,
786
786
  long: "",
787
- size: n.size,
788
- onClick: f
787
+ size: a.size,
788
+ onClick: m
789
789
  }, {
790
- default: s(() => [...d[5] || (d[5] = [w(" 提交 ", -1)])]),
790
+ default: n(() => [...c[5] || (c[5] = [_(" 提交 ", -1)])]),
791
791
  _: 1
792
792
  }, 8, ["loading", "size"])])]),
793
793
  _: 1
794
794
  }, 8, ["model", "size"])]));
795
795
  }
796
- }), fe = /* @__PURE__ */ $(ut, [["__scopeId", "data-v-5b701953"]]), dt = /* @__PURE__ */ I({
796
+ }), pe = /* @__PURE__ */ C(ct, [["__scopeId", "data-v-5b701953"]]), mt = /* @__PURE__ */ I({
797
797
  __name: "AuthkitEmailBinding",
798
798
  props: {
799
799
  size: {
@@ -801,24 +801,24 @@ const Xe = /* @__PURE__ */ I({
801
801
  required: !0
802
802
  }
803
803
  },
804
- setup(r) {
804
+ setup(s) {
805
805
  const {
806
- userProfile: a,
806
+ userProfile: r,
807
807
  loading: u,
808
- fetchUserProfile: n
809
- } = J(), o = _("hidden"), m = r;
810
- function t(f) {
811
- o.value = f;
808
+ fetchUserProfile: a
809
+ } = J(), o = w("hidden"), d = s;
810
+ function t(m) {
811
+ o.value = m;
812
812
  }
813
- function l(f) {
813
+ function l(m) {
814
814
  u.value = !0;
815
815
  const p = {
816
- email: f.email,
817
- userToken: f.userToken,
818
- emailVerifyId: f.emailVerifyId
816
+ email: m.email,
817
+ userToken: m.userToken,
818
+ emailVerifyId: m.emailVerifyId
819
819
  };
820
- qe(p).then(() => {
821
- u.value = !1, D.success("绑定成功"), o.value = "hidden", n();
820
+ Re(p).then(() => {
821
+ u.value = !1, N.success("绑定成功"), o.value = "hidden", a();
822
822
  }).catch(() => {
823
823
  u.value = !1;
824
824
  });
@@ -826,62 +826,77 @@ const Xe = /* @__PURE__ */ I({
826
826
  function y() {
827
827
  o.value = "update";
828
828
  }
829
- return K(() => {
830
- a.value || n();
831
- }), (f, p) => {
832
- var d, c, v;
833
- return g(), P(G, null, [!((d = e(a)) != null && d.email) && o.value === "hidden" ? (g(), k(e(O), {
829
+ return Z(() => {
830
+ r.value || a();
831
+ }), (m, p) => {
832
+ var c, f, v;
833
+ return g(), V(M, null, [!((c = e(r)) != null && c.email) && o.value === "hidden" ? (g(), k(e(D), {
834
834
  key: 0,
835
835
  title: "绑定邮箱"
836
836
  }, {
837
- action: s(() => [i(e(V), {
838
- size: m.size,
837
+ action: n(() => [i(e(P), {
838
+ size: d.size,
839
839
  type: "primary",
840
840
  onClick: p[0] || (p[0] = (b) => t("update"))
841
841
  }, {
842
- default: s(() => [...p[2] || (p[2] = [w(" 绑定邮箱 ", -1)])]),
842
+ default: n(() => [...p[2] || (p[2] = [_(" 绑定邮箱 ", -1)])]),
843
843
  _: 1
844
844
  }, 8, ["size"])]),
845
- default: s(() => [p[3] || (p[3] = w(" 您还未绑定邮箱,请点击绑定邮箱 ", -1))]),
845
+ default: n(() => [p[3] || (p[3] = _(" 您还未绑定邮箱,请点击绑定邮箱 ", -1))]),
846
846
  _: 1
847
- })) : S("", !0), (c = e(a)) != null && c.email && o.value === "hidden" ? (g(), k(e(O), {
847
+ })) : S("", !0), (f = e(r)) != null && f.email && o.value === "hidden" ? (g(), k(e(D), {
848
848
  key: 1,
849
849
  title: "更改邮箱"
850
850
  }, {
851
- action: s(() => [i(e(V), {
852
- size: m.size,
851
+ action: n(() => [i(e(P), {
852
+ size: d.size,
853
853
  type: "primary",
854
854
  onClick: p[1] || (p[1] = (b) => t("verify"))
855
855
  }, {
856
- default: s(() => [...p[4] || (p[4] = [w(" 更改邮箱 ", -1)])]),
856
+ default: n(() => [...p[4] || (p[4] = [_(" 更改邮箱 ", -1)])]),
857
857
  _: 1
858
858
  }, 8, ["size"])]),
859
- default: s(() => {
859
+ default: n(() => {
860
860
  var b;
861
- return [w(R(`您绑定的邮箱为${e(ce)((b = e(a)) == null ? void 0 : b.email)}`) + " ", 1)];
861
+ return [_(R(`您绑定的邮箱为${e(fe)((b = e(r)) == null ? void 0 : b.email)}`) + " ", 1)];
862
862
  }),
863
863
  _: 1
864
- })) : S("", !0), o.value === "update" ? (g(), k(fe, {
864
+ })) : S("", !0), o.value === "update" ? (g(), k(pe, {
865
865
  key: 2,
866
866
  loading: e(u),
867
- size: m.size,
867
+ size: d.size,
868
868
  onSubmit: l
869
- }, null, 8, ["loading", "size"])) : S("", !0), o.value === "verify" ? (g(), k(ne, {
869
+ }, null, 8, ["loading", "size"])) : S("", !0), o.value === "verify" ? (g(), k(ae, {
870
870
  key: 3,
871
- size: m.size,
872
- email: (v = e(a)) == null ? void 0 : v.email,
871
+ size: d.size,
872
+ email: (v = e(r)) == null ? void 0 : v.email,
873
873
  onNext: y
874
874
  }, null, 8, ["size", "email"])) : S("", !0)], 64);
875
875
  };
876
876
  }
877
- }), mt = /* @__PURE__ */ $(dt, [["__scopeId", "data-v-b2663ea1"]]);
878
- function pe() {
879
- return Z({
880
- url: `${M.authPrefixUrl}/restfulApi/OAuth/github/login`,
881
- method: "get"
877
+ }), ft = /* @__PURE__ */ C(mt, [["__scopeId", "data-v-b2663ea1"]]);
878
+ function ve(s) {
879
+ return H({
880
+ url: `${E.authPrefixUrl}/restfulApi/oauth/github/login`,
881
+ method: "get",
882
+ params: s
883
+ });
884
+ }
885
+ function pt(s) {
886
+ return H({
887
+ url: `${E.authPrefixUrl}/restfulApi/oauth/google/login`,
888
+ method: "get",
889
+ params: s
882
890
  });
883
891
  }
884
- const ct = /* @__PURE__ */ I({
892
+ function vt(s) {
893
+ return H({
894
+ url: `${E.authPrefixUrl}/restfulApi/oauth/microsoft/login`,
895
+ method: "get",
896
+ params: s
897
+ });
898
+ }
899
+ const gt = /* @__PURE__ */ I({
885
900
  __name: "AuthkitGithubBinding",
886
901
  props: {
887
902
  size: {
@@ -889,94 +904,101 @@ const ct = /* @__PURE__ */ I({
889
904
  required: !0
890
905
  }
891
906
  },
892
- setup(r) {
907
+ setup(s) {
893
908
  const {
894
- userProfile: a,
909
+ userProfile: r,
895
910
  fetchUserProfile: u
896
- } = J(), n = _("hidden"), o = _(!1);
897
- let m;
898
- const t = r;
899
- function l(c) {
900
- n.value = c;
911
+ } = J(), a = w("hidden"), o = w(!1);
912
+ let d;
913
+ const t = s;
914
+ function l(f) {
915
+ a.value = f;
901
916
  }
902
917
  function y() {
903
- pe().then(({
904
- data: c
918
+ const f = E.appId;
919
+ if (!f) {
920
+ console.error("GitHub OAuth 失败: appId 未配置");
921
+ return;
922
+ }
923
+ ve({
924
+ appId: f
925
+ }).then(({
926
+ data: v
905
927
  }) => {
906
928
  const {
907
- redirectUri: v
908
- } = c;
909
- o.value = !0, window.open(v, "_blank");
929
+ redirectUri: b
930
+ } = v;
931
+ o.value = !0, window.open(b, "_blank");
910
932
  });
911
933
  }
912
- function f() {
913
- Te().then(() => {
914
- D.success("解绑成功"), n.value = "hidden", u();
934
+ function m() {
935
+ Le().then(() => {
936
+ N.success("解绑成功"), a.value = "hidden", u();
915
937
  });
916
938
  }
917
939
  function p() {
918
- n.value === "bind" && (n.value = "hidden", y()), n.value === "unbind" && f();
940
+ a.value === "bind" && (a.value = "hidden", y()), a.value === "unbind" && m();
919
941
  }
920
- function d() {
942
+ function c() {
921
943
  o.value && u();
922
944
  }
923
- return K(() => {
924
- a.value || u(), m = setInterval(d, 1e3);
925
- }), oe(() => {
926
- m && clearInterval(m);
927
- }), (c, v) => {
928
- var b, U, C;
929
- return g(), P(G, null, [!((b = e(a)) != null && b.github) && n.value === "hidden" ? (g(), k(e(O), {
945
+ return Z(() => {
946
+ r.value || u(), d = setInterval(c, 1e3);
947
+ }), re(() => {
948
+ d && clearInterval(d);
949
+ }), (f, v) => {
950
+ var b, U, $;
951
+ return g(), V(M, null, [!((b = e(r)) != null && b.github) && a.value === "hidden" ? (g(), k(e(D), {
930
952
  key: 0,
931
953
  title: "绑定GitHUb"
932
954
  }, {
933
- action: s(() => [i(e(V), {
955
+ action: n(() => [i(e(P), {
934
956
  size: t.size,
935
957
  type: "primary",
936
958
  onClick: v[0] || (v[0] = (T) => l("bind"))
937
959
  }, {
938
- default: s(() => [...v[2] || (v[2] = [w(" 绑定GitHUb ", -1)])]),
960
+ default: n(() => [...v[2] || (v[2] = [_(" 绑定GitHUb ", -1)])]),
939
961
  _: 1
940
962
  }, 8, ["size"])]),
941
- default: s(() => [v[3] || (v[3] = w(" 请尚未绑定GitHub,请点击绑定GitHUb ", -1))]),
963
+ default: n(() => [v[3] || (v[3] = _(" 请尚未绑定GitHub,请点击绑定GitHUb ", -1))]),
942
964
  _: 1
943
- })) : S("", !0), (U = e(a)) != null && U.github && n.value === "hidden" ? (g(), k(e(O), {
965
+ })) : S("", !0), (U = e(r)) != null && U.github && a.value === "hidden" ? (g(), k(e(D), {
944
966
  key: 1,
945
967
  title: "解绑GitHub"
946
968
  }, {
947
- action: s(() => [i(e(V), {
969
+ action: n(() => [i(e(P), {
948
970
  size: t.size,
949
971
  type: "primary",
950
972
  onClick: v[1] || (v[1] = (T) => l("unbind"))
951
973
  }, {
952
- default: s(() => [...v[4] || (v[4] = [w(" 解绑GitHUb ", -1)])]),
974
+ default: n(() => [...v[4] || (v[4] = [_(" 解绑GitHUb ", -1)])]),
953
975
  _: 1
954
976
  }, 8, ["size"])]),
955
- default: s(() => {
956
- var T, B, E;
957
- return [z("span", null, R(`您绑定的账号为 ${(B = (T = e(a)) == null ? void 0 : T.github) == null ? void 0 : B.login}`), 1), i(e(de), {
958
- "image-url": (E = e(a)) == null ? void 0 : E.avatar,
977
+ default: n(() => {
978
+ var T, B, O;
979
+ return [z("span", null, R(`您绑定的账号为 ${(B = (T = e(r)) == null ? void 0 : T.github) == null ? void 0 : B.login}`), 1), i(e(ce), {
980
+ "image-url": (O = e(r)) == null ? void 0 : O.avatar,
959
981
  size: 42
960
982
  }, null, 8, ["image-url"])];
961
983
  }),
962
984
  _: 1
963
- })) : S("", !0), n.value === "bind" || n.value === "unbind" ? (g(), k(ne, {
985
+ })) : S("", !0), a.value === "bind" || a.value === "unbind" ? (g(), k(ae, {
964
986
  key: 2,
965
987
  size: t.size,
966
- email: (C = e(a)) == null ? void 0 : C.email,
988
+ email: ($ = e(r)) == null ? void 0 : $.email,
967
989
  onNext: p
968
990
  }, null, 8, ["size", "email"])) : S("", !0)], 64);
969
991
  };
970
992
  }
971
- }), ft = {
993
+ }), yt = {
972
994
  class: "dependency-list"
973
- }, pt = {
995
+ }, ht = {
974
996
  class: "label"
975
- }, vt = {
997
+ }, wt = {
976
998
  class: "count"
977
- }, gt = {
999
+ }, _t = {
978
1000
  class: "action-bar"
979
- }, yt = /* @__PURE__ */ I({
1001
+ }, bt = /* @__PURE__ */ I({
980
1002
  __name: "AuthkitAccountDelete",
981
1003
  props: {
982
1004
  size: {
@@ -985,57 +1007,57 @@ const ct = /* @__PURE__ */ I({
985
1007
  }
986
1008
  },
987
1009
  emits: ["deleted"],
988
- setup(r, {
989
- emit: a
1010
+ setup(s, {
1011
+ emit: r
990
1012
  }) {
991
- const u = r, n = a, {
1013
+ const u = s, a = r, {
992
1014
  userProfile: o,
993
- clearUserProfile: m
1015
+ clearUserProfile: d
994
1016
  } = J(), {
995
1017
  clearAuth: t
996
- } = Q(), l = _("check"), y = _(!1), f = _([]), p = _(!1), d = _(""), c = _(0);
1018
+ } = Q(), l = w("check"), y = w(!1), m = w([]), p = w(!1), c = w(""), f = w(0);
997
1019
  let v = null;
998
- const b = N(() => {
999
- var W;
1000
- const L = ((W = o.value) == null ? void 0 : W.email) || "";
1020
+ const b = F(() => {
1021
+ var K;
1022
+ const L = ((K = o.value) == null ? void 0 : K.email) || "";
1001
1023
  if (!L) return "";
1002
1024
  const [h, x] = L.split("@");
1003
1025
  return h.length <= 2 ? L : `${h.slice(0, 2)}***@${x}`;
1004
- }), U = _(), C = _({
1026
+ }), U = w(), $ = w({
1005
1027
  userToken: "",
1006
1028
  password: "",
1007
1029
  confirmText: ""
1008
- }), T = _(!1);
1030
+ }), T = w(!1);
1009
1031
  function B(L, h) {
1010
1032
  L !== "注销" ? h('请输入"注销"以确认操作') : h();
1011
1033
  }
1012
- async function E() {
1034
+ async function O() {
1013
1035
  var L;
1014
1036
  y.value = !0;
1015
1037
  try {
1016
- const h = await Re(), {
1038
+ const h = await Be(), {
1017
1039
  hasDependencies: x,
1018
- dependencies: W
1040
+ dependencies: K
1019
1041
  } = h.data;
1020
1042
  if (x)
1021
- f.value = W, l.value = "dependencies";
1043
+ m.value = K, l.value = "dependencies";
1022
1044
  else {
1023
1045
  if (!((L = o.value) != null && L.email)) {
1024
- D.error("账号未绑定邮箱,无法进行注销验证。请先绑定邮箱");
1046
+ N.error("账号未绑定邮箱,无法进行注销验证。请先绑定邮箱");
1025
1047
  return;
1026
1048
  }
1027
1049
  l.value = "sendCode";
1028
1050
  }
1029
1051
  } catch (h) {
1030
- console.error("检查依赖失败:", h), D.error("检查失败,请稍后重试");
1052
+ console.error("检查依赖失败:", h), N.error("检查失败,请稍后重试");
1031
1053
  } finally {
1032
1054
  y.value = !1;
1033
1055
  }
1034
1056
  }
1035
- async function j() {
1057
+ async function W() {
1036
1058
  var L;
1037
1059
  if (!((L = o.value) != null && L.email)) {
1038
- D.error("请先绑定邮箱");
1060
+ N.error("请先绑定邮箱");
1039
1061
  return;
1040
1062
  }
1041
1063
  p.value = !0;
@@ -1043,29 +1065,29 @@ const ct = /* @__PURE__ */ I({
1043
1065
  const h = await X({
1044
1066
  email: o.value.email
1045
1067
  });
1046
- d.value = h.data.emailVerifyId, D.success("验证码已发送"), l.value = "confirm", ye();
1068
+ c.value = h.data.emailVerifyId, N.success("验证码已发送"), l.value = "confirm", we();
1047
1069
  } catch (h) {
1048
1070
  console.error("发送验证码失败:", h);
1049
1071
  } finally {
1050
1072
  p.value = !1;
1051
1073
  }
1052
1074
  }
1053
- function ye() {
1054
- c.value = 60, v && clearInterval(v), v = setInterval(() => {
1055
- c.value--, c.value <= 0 && v && (clearInterval(v), v = null);
1075
+ function we() {
1076
+ f.value = 60, v && clearInterval(v), v = setInterval(() => {
1077
+ f.value--, f.value <= 0 && v && (clearInterval(v), v = null);
1056
1078
  }, 1e3);
1057
1079
  }
1058
- async function he() {
1080
+ async function _e() {
1059
1081
  var h;
1060
1082
  if (!await ((h = U.value) == null ? void 0 : h.validate())) {
1061
1083
  T.value = !0;
1062
1084
  try {
1063
- await Le({
1064
- password: C.value.password,
1065
- userToken: C.value.userToken,
1066
- emailVerifyId: d.value,
1067
- confirmText: C.value.confirmText
1068
- }), l.value = "success", m(), t(), n("deleted");
1085
+ await Oe({
1086
+ password: $.value.password,
1087
+ userToken: $.value.userToken,
1088
+ emailVerifyId: c.value,
1089
+ confirmText: $.value.confirmText
1090
+ }), l.value = "success", d(), t(), a("deleted");
1069
1091
  } catch (x) {
1070
1092
  console.error("注销失败:", x);
1071
1093
  } finally {
@@ -1073,85 +1095,85 @@ const ct = /* @__PURE__ */ I({
1073
1095
  }
1074
1096
  }
1075
1097
  }
1076
- function _e() {
1098
+ function be() {
1077
1099
  window.location.href = "/";
1078
1100
  }
1079
- return (L, h) => l.value === "check" ? (g(), k(e(O), {
1101
+ return (L, h) => l.value === "check" ? (g(), k(e(D), {
1080
1102
  key: 0,
1081
1103
  type: "warning",
1082
1104
  title: "注销账号"
1083
1105
  }, {
1084
- action: s(() => [i(e(V), {
1106
+ action: n(() => [i(e(P), {
1085
1107
  size: u.size,
1086
1108
  type: "primary",
1087
1109
  status: "danger",
1088
1110
  loading: y.value,
1089
- onClick: E
1111
+ onClick: O
1090
1112
  }, {
1091
- default: s(() => [w(R(y.value ? "检查中..." : "开始注销"), 1)]),
1113
+ default: n(() => [_(R(y.value ? "检查中..." : "开始注销"), 1)]),
1092
1114
  _: 1
1093
1115
  }, 8, ["size", "loading"])]),
1094
- default: s(() => [h[6] || (h[6] = w(" 注销账号后,您的所有数据将被永久删除,无法恢复。请确认您已备份重要数据。 ", -1))]),
1116
+ default: n(() => [h[6] || (h[6] = _(" 注销账号后,您的所有数据将被永久删除,无法恢复。请确认您已备份重要数据。 ", -1))]),
1095
1117
  _: 1
1096
- })) : l.value === "dependencies" ? (g(), P(G, {
1118
+ })) : l.value === "dependencies" ? (g(), V(M, {
1097
1119
  key: 1
1098
- }, [i(e(O), {
1120
+ }, [i(e(D), {
1099
1121
  type: "error",
1100
1122
  title: "无法注销账号"
1101
1123
  }, {
1102
- default: s(() => [...h[7] || (h[7] = [w(" 您的账号下还有以下资源,请先处理后再注销: ", -1)])]),
1124
+ default: n(() => [...h[7] || (h[7] = [_(" 您的账号下还有以下资源,请先处理后再注销: ", -1)])]),
1103
1125
  _: 1
1104
- }), z("div", ft, [(g(!0), P(G, null, ze(f.value, (x) => (g(), P("div", {
1126
+ }), z("div", yt, [(g(!0), V(M, null, Ae(m.value, (x) => (g(), V("div", {
1105
1127
  key: x.type,
1106
1128
  class: "dependency-item"
1107
- }, [z("span", pt, R(x.label), 1), z("span", vt, R(x.count) + " 个", 1)]))), 128))]), z("div", gt, [i(e(V), {
1129
+ }, [z("span", ht, R(x.label), 1), z("span", wt, R(x.count) + " 个", 1)]))), 128))]), z("div", _t, [i(e(P), {
1108
1130
  size: u.size,
1109
1131
  onClick: h[0] || (h[0] = (x) => l.value = "check")
1110
1132
  }, {
1111
- default: s(() => [...h[8] || (h[8] = [w("返回", -1)])]),
1133
+ default: n(() => [...h[8] || (h[8] = [_("返回", -1)])]),
1112
1134
  _: 1
1113
- }, 8, ["size"])])], 64)) : l.value === "sendCode" ? (g(), k(e(O), {
1135
+ }, 8, ["size"])])], 64)) : l.value === "sendCode" ? (g(), k(e(D), {
1114
1136
  key: 2,
1115
1137
  type: "normal",
1116
1138
  title: "身份验证"
1117
1139
  }, {
1118
- action: s(() => [i(e(Y), null, {
1119
- default: s(() => [i(e(V), {
1140
+ action: n(() => [i(e(ee), null, {
1141
+ default: n(() => [i(e(P), {
1120
1142
  size: u.size,
1121
1143
  onClick: h[1] || (h[1] = (x) => l.value = "check")
1122
1144
  }, {
1123
- default: s(() => [...h[9] || (h[9] = [w("取消", -1)])]),
1145
+ default: n(() => [...h[9] || (h[9] = [_("取消", -1)])]),
1124
1146
  _: 1
1125
- }, 8, ["size"]), i(e(V), {
1147
+ }, 8, ["size"]), i(e(P), {
1126
1148
  size: u.size,
1127
1149
  type: "primary",
1128
1150
  loading: p.value,
1129
- onClick: j
1151
+ onClick: W
1130
1152
  }, {
1131
- default: s(() => [w(R(p.value ? "发送中..." : "发送验证码"), 1)]),
1153
+ default: n(() => [_(R(p.value ? "发送中..." : "发送验证码"), 1)]),
1132
1154
  _: 1
1133
1155
  }, 8, ["size", "loading"])]),
1134
1156
  _: 1
1135
1157
  })]),
1136
- default: s(() => [w(" 为确保账号安全,我们将向您的邮箱 " + R(b.value) + " 发送验证码 ", 1)]),
1158
+ default: n(() => [_(" 为确保账号安全,我们将向您的邮箱 " + R(b.value) + " 发送验证码 ", 1)]),
1137
1159
  _: 1
1138
- })) : l.value === "confirm" ? (g(), P(G, {
1160
+ })) : l.value === "confirm" ? (g(), V(M, {
1139
1161
  key: 3
1140
- }, [i(e(O), {
1162
+ }, [i(e(D), {
1141
1163
  type: "warning",
1142
1164
  title: "确认注销"
1143
1165
  }, {
1144
- default: s(() => [w(" 验证码已发送至 " + R(b.value) + ",此操作不可逆,请谨慎操作 ", 1)]),
1166
+ default: n(() => [_(" 验证码已发送至 " + R(b.value) + ",此操作不可逆,请谨慎操作 ", 1)]),
1145
1167
  _: 1
1146
- }), i(e(F), {
1168
+ }), i(e(G), {
1147
1169
  ref_key: "formRef",
1148
1170
  ref: U,
1149
- model: C.value,
1171
+ model: $.value,
1150
1172
  size: u.size,
1151
1173
  class: "confirm-form",
1152
1174
  layout: "vertical"
1153
1175
  }, {
1154
- default: s(() => [i(e(A), {
1176
+ default: n(() => [i(e(A), {
1155
1177
  field: "userToken",
1156
1178
  label: "邮箱验证码",
1157
1179
  rules: [{
@@ -1159,22 +1181,22 @@ const ct = /* @__PURE__ */ I({
1159
1181
  message: "请输入验证码"
1160
1182
  }]
1161
1183
  }, {
1162
- default: s(() => [i(e(Y), null, {
1163
- default: s(() => [i(e(q), {
1164
- modelValue: C.value.userToken,
1165
- "onUpdate:modelValue": h[2] || (h[2] = (x) => C.value.userToken = x),
1184
+ default: n(() => [i(e(ee), null, {
1185
+ default: n(() => [i(e(q), {
1186
+ modelValue: $.value.userToken,
1187
+ "onUpdate:modelValue": h[2] || (h[2] = (x) => $.value.userToken = x),
1166
1188
  placeholder: "请输入6位验证码",
1167
1189
  "max-length": 6,
1168
1190
  "allow-clear": "",
1169
1191
  style: {
1170
1192
  width: "180px"
1171
1193
  }
1172
- }, null, 8, ["modelValue"]), i(e(V), {
1173
- disabled: c.value > 0,
1194
+ }, null, 8, ["modelValue"]), i(e(P), {
1195
+ disabled: f.value > 0,
1174
1196
  loading: p.value,
1175
- onClick: j
1197
+ onClick: W
1176
1198
  }, {
1177
- default: s(() => [w(R(c.value > 0 ? `${c.value}s 后重发` : "重新发送"), 1)]),
1199
+ default: n(() => [_(R(f.value > 0 ? `${f.value}s 后重发` : "重新发送"), 1)]),
1178
1200
  _: 1
1179
1201
  }, 8, ["disabled", "loading"])]),
1180
1202
  _: 1
@@ -1188,9 +1210,9 @@ const ct = /* @__PURE__ */ I({
1188
1210
  message: "请输入密码"
1189
1211
  }]
1190
1212
  }, {
1191
- default: s(() => [i(e(Ie), {
1192
- modelValue: C.value.password,
1193
- "onUpdate:modelValue": h[3] || (h[3] = (x) => C.value.password = x),
1213
+ default: n(() => [i(e(Ve), {
1214
+ modelValue: $.value.password,
1215
+ "onUpdate:modelValue": h[3] || (h[3] = (x) => $.value.password = x),
1194
1216
  placeholder: "请输入您的登录密码",
1195
1217
  "allow-clear": ""
1196
1218
  }, null, 8, ["modelValue"])]),
@@ -1205,27 +1227,27 @@ const ct = /* @__PURE__ */ I({
1205
1227
  validator: B
1206
1228
  }]
1207
1229
  }, {
1208
- default: s(() => [i(e(q), {
1209
- modelValue: C.value.confirmText,
1210
- "onUpdate:modelValue": h[4] || (h[4] = (x) => C.value.confirmText = x),
1230
+ default: n(() => [i(e(q), {
1231
+ modelValue: $.value.confirmText,
1232
+ "onUpdate:modelValue": h[4] || (h[4] = (x) => $.value.confirmText = x),
1211
1233
  placeholder: "注销",
1212
1234
  "allow-clear": ""
1213
1235
  }, null, 8, ["modelValue"])]),
1214
1236
  _: 1
1215
1237
  }, 8, ["rules"]), i(e(A), null, {
1216
- default: s(() => [i(e(Y), null, {
1217
- default: s(() => [i(e(V), {
1238
+ default: n(() => [i(e(ee), null, {
1239
+ default: n(() => [i(e(P), {
1218
1240
  onClick: h[5] || (h[5] = (x) => l.value = "check")
1219
1241
  }, {
1220
- default: s(() => [...h[10] || (h[10] = [w("取消", -1)])]),
1242
+ default: n(() => [...h[10] || (h[10] = [_("取消", -1)])]),
1221
1243
  _: 1
1222
- }), i(e(V), {
1244
+ }), i(e(P), {
1223
1245
  type: "primary",
1224
1246
  status: "danger",
1225
1247
  loading: T.value,
1226
- onClick: he
1248
+ onClick: _e
1227
1249
  }, {
1228
- default: s(() => [w(R(T.value ? "注销中..." : "确认注销"), 1)]),
1250
+ default: n(() => [_(R(T.value ? "注销中..." : "确认注销"), 1)]),
1229
1251
  _: 1
1230
1252
  }, 8, ["loading"])]),
1231
1253
  _: 1
@@ -1233,43 +1255,43 @@ const ct = /* @__PURE__ */ I({
1233
1255
  _: 1
1234
1256
  })]),
1235
1257
  _: 1
1236
- }, 8, ["model", "size"])], 64)) : l.value === "success" ? (g(), k(e(Ve), {
1258
+ }, 8, ["model", "size"])], 64)) : l.value === "success" ? (g(), k(e(Ue), {
1237
1259
  key: 4,
1238
1260
  status: "success",
1239
1261
  title: "账号已注销"
1240
1262
  }, {
1241
- subtitle: s(() => [...h[11] || (h[11] = [w(" 您的账号已成功注销,感谢您的使用 ", -1)])]),
1242
- extra: s(() => [i(e(V), {
1263
+ subtitle: n(() => [...h[11] || (h[11] = [_(" 您的账号已成功注销,感谢您的使用 ", -1)])]),
1264
+ extra: n(() => [i(e(P), {
1243
1265
  type: "primary",
1244
- onClick: _e
1266
+ onClick: be
1245
1267
  }, {
1246
- default: s(() => [...h[12] || (h[12] = [w("返回首页", -1)])]),
1268
+ default: n(() => [...h[12] || (h[12] = [_("返回首页", -1)])]),
1247
1269
  _: 1
1248
1270
  })]),
1249
1271
  _: 1
1250
1272
  })) : S("", !0);
1251
1273
  }
1252
- }), ht = /* @__PURE__ */ $(yt, [["__scopeId", "data-v-15e302c7"]]), _t = {
1274
+ }), kt = /* @__PURE__ */ C(bt, [["__scopeId", "data-v-15e302c7"]]), zt = {
1253
1275
  class: "content"
1254
- }, wt = {
1276
+ }, St = {
1255
1277
  class: "left"
1256
- }, kt = {
1278
+ }, At = {
1257
1279
  class: "right"
1258
- }, bt = /* @__PURE__ */ I({
1280
+ }, It = /* @__PURE__ */ I({
1259
1281
  __name: "AuthkitAppSetting",
1260
1282
  emits: ["confirm", "cancel"],
1261
- setup(r, {
1262
- expose: a,
1283
+ setup(s, {
1284
+ expose: r,
1263
1285
  emit: u
1264
1286
  }) {
1265
- const n = u;
1287
+ const a = u;
1266
1288
  function o() {
1267
- n("cancel");
1289
+ a("cancel");
1268
1290
  }
1269
- function m() {
1270
- d.value = !1, n("cancel");
1291
+ function d() {
1292
+ c.value = !1, a("cancel");
1271
1293
  }
1272
- const t = _("large"), l = _(["PersonalInformation"]), y = _([{
1294
+ const t = w("large"), l = w(["PersonalInformation"]), y = w([{
1273
1295
  name: "个人信息",
1274
1296
  path: "PersonalInformation",
1275
1297
  meta: {
@@ -1322,22 +1344,22 @@ const ct = /* @__PURE__ */ I({
1322
1344
  // },
1323
1345
  ]
1324
1346
  }]);
1325
- function f(v, b) {
1347
+ function m(v, b) {
1326
1348
  const U = v.path;
1327
1349
  console.log(U, b, "lokokoko"), l.value = [U];
1328
1350
  }
1329
1351
  const {
1330
1352
  changeType: p,
1331
- show: d
1332
- } = Ne(n);
1333
- function c(v, b) {
1334
- console.log(v), d.value = b, p.value = "编辑";
1353
+ show: c
1354
+ } = Ge(a);
1355
+ function f(v, b) {
1356
+ console.log(v), c.value = b, p.value = "编辑";
1335
1357
  }
1336
- return a({
1337
- setData: c
1358
+ return r({
1359
+ setData: f
1338
1360
  }), (v, b) => (g(), k(e(me), {
1339
- visible: e(d),
1340
- "onUpdate:visible": b[1] || (b[1] = (U) => re(d) ? d.value = U : null),
1361
+ visible: e(c),
1362
+ "onUpdate:visible": b[1] || (b[1] = (U) => ue(c) ? c.value = U : null),
1341
1363
  "unmount-on-close": "",
1342
1364
  "body-class": "AppSettingbodyClass",
1343
1365
  "mask-closable": !1,
@@ -1345,57 +1367,91 @@ const ct = /* @__PURE__ */ I({
1345
1367
  width: "700px",
1346
1368
  onCancel: o
1347
1369
  }, {
1348
- title: s(() => [...b[2] || (b[2] = [w(" 系统设置 ", -1)])]),
1349
- default: s(() => [z("div", _t, [z("div", wt, [i(De, {
1370
+ title: n(() => [...b[2] || (b[2] = [_(" 系统设置 ", -1)])]),
1371
+ default: n(() => [z("div", zt, [z("div", St, [i(Fe, {
1350
1372
  "selected-keys": l.value,
1351
1373
  "onUpdate:selectedKeys": b[0] || (b[0] = (U) => l.value = U),
1352
1374
  menus: y.value,
1353
- onChange: f
1354
- }, null, 8, ["selected-keys", "menus"])]), z("div", kt, [l.value[0] === "PersonalInformation" ? (g(), k(Ze, {
1375
+ onChange: m
1376
+ }, null, 8, ["selected-keys", "menus"])]), z("div", At, [l.value[0] === "PersonalInformation" ? (g(), k(Qe, {
1355
1377
  key: 0,
1356
1378
  size: t.value
1357
- }, null, 8, ["size"])) : S("", !0), l.value[0] === "EmailBinding" ? (g(), k(mt, {
1379
+ }, null, 8, ["size"])) : S("", !0), l.value[0] === "EmailBinding" ? (g(), k(ft, {
1358
1380
  key: 1,
1359
1381
  size: t.value
1360
- }, null, 8, ["size"])) : S("", !0), l.value[0] === "SetPassword" ? (g(), k(nt, {
1382
+ }, null, 8, ["size"])) : S("", !0), l.value[0] === "SetPassword" ? (g(), k(ot, {
1361
1383
  key: 2,
1362
1384
  size: t.value
1363
- }, null, 8, ["size"])) : S("", !0), l.value[0] === "GithubBinding" ? (g(), k(ct, {
1385
+ }, null, 8, ["size"])) : S("", !0), l.value[0] === "GithubBinding" ? (g(), k(gt, {
1364
1386
  key: 3,
1365
1387
  size: t.value
1366
- }, null, 8, ["size"])) : S("", !0), l.value[0] === "AccountDelete" ? (g(), k(ht, {
1388
+ }, null, 8, ["size"])) : S("", !0), l.value[0] === "AccountDelete" ? (g(), k(kt, {
1367
1389
  key: 4,
1368
1390
  size: t.value,
1369
- onDeleted: m
1391
+ onDeleted: d
1370
1392
  }, null, 8, ["size"])) : S("", !0)])])]),
1371
1393
  _: 1
1372
1394
  }, 8, ["visible"]));
1373
1395
  }
1374
- }), Vi = /* @__PURE__ */ $(bt, [["__scopeId", "data-v-9f056370"]]);
1375
- function zt() {
1376
- pe().then(({
1377
- data: r
1378
- }) => {
1396
+ }), xi = /* @__PURE__ */ C(It, [["__scopeId", "data-v-9f056370"]]);
1397
+ function ge() {
1398
+ return E.oauthCallbackUrl ? E.oauthCallbackUrl : `${window.location.origin}/auth/callback`;
1399
+ }
1400
+ function Pt() {
1401
+ const s = window.location.pathname + window.location.search;
1402
+ s.includes("/auth/callback") || sessionStorage.setItem("auth_redirect", s);
1403
+ }
1404
+ async function Y(s, r) {
1405
+ const u = E.appId;
1406
+ if (!u) {
1407
+ console.error(`${s} OAuth 失败: appId 未配置`);
1408
+ return;
1409
+ }
1410
+ const a = ge(), o = {
1411
+ appId: u,
1412
+ referrerId: r == null ? void 0 : r.referrerId,
1413
+ redirectUri: a
1414
+ };
1415
+ Pt();
1416
+ const d = {
1417
+ github: ve,
1418
+ google: pt,
1419
+ microsoft: vt
1420
+ };
1421
+ try {
1379
1422
  const {
1380
- redirectUri: a
1381
- } = r;
1382
- a ? window.location.href = a : console.error("GitHub OAuth 重定向URL为空");
1383
- }).catch((r) => {
1384
- console.error("GitHub OAuth 授权失败:", r);
1423
+ data: t
1424
+ } = await d[s](o);
1425
+ t != null && t.redirectUri ? window.location.href = t.redirectUri : console.error(`${s} OAuth 重定向URL为空`);
1426
+ } catch (t) {
1427
+ console.error(`${s} OAuth 授权失败:`, t);
1428
+ }
1429
+ }
1430
+ function Vt(s) {
1431
+ Y("github", {
1432
+ referrerId: s
1385
1433
  });
1386
1434
  }
1387
- function St() {
1435
+ function Ut(s) {
1436
+ Y("google", {
1437
+ referrerId: s
1438
+ });
1388
1439
  }
1389
- function At() {
1440
+ function $t(s) {
1441
+ Y("microsoft", {
1442
+ referrerId: s
1443
+ });
1390
1444
  }
1391
- function It() {
1445
+ function Ct() {
1392
1446
  return {
1393
- githubAuth: zt,
1394
- googleAuth: St,
1395
- microsoftAuth: At
1447
+ githubAuth: Vt,
1448
+ googleAuth: Ut,
1449
+ microsoftAuth: $t,
1450
+ startOAuth: Y,
1451
+ getOAuthCallbackUrl: ge
1396
1452
  };
1397
1453
  }
1398
- const te = /* @__PURE__ */ I({
1454
+ const ie = /* @__PURE__ */ I({
1399
1455
  __name: "AuthkitOAuthItem",
1400
1456
  props: {
1401
1457
  size: {
@@ -1414,27 +1470,27 @@ const te = /* @__PURE__ */ I({
1414
1470
  }
1415
1471
  },
1416
1472
  emits: [],
1417
- setup(r, {
1418
- emit: a
1473
+ setup(s, {
1474
+ emit: r
1419
1475
  }) {
1420
- const u = r;
1421
- return (n, o) => (g(), k(e(V), {
1476
+ const u = s;
1477
+ return (a, o) => (g(), k(e(P), {
1422
1478
  class: "OAuthItem",
1423
1479
  type: "primary",
1424
1480
  size: u.size
1425
1481
  }, {
1426
- icon: s(() => [i(e(Fe), {
1482
+ icon: n(() => [i(e(Me), {
1427
1483
  icon: u.icon
1428
1484
  }, null, 8, ["icon"])]),
1429
- default: s(() => [z("span", null, R(u.label), 1)]),
1485
+ default: n(() => [z("span", null, R(u.label), 1)]),
1430
1486
  _: 1
1431
1487
  }, 8, ["size"]));
1432
1488
  }
1433
- }), Vt = {
1489
+ }), xt = {
1434
1490
  class: "OAuthList"
1435
- }, Pt = {
1491
+ }, qt = {
1436
1492
  class: "OAuthList"
1437
- }, Ut = /* @__PURE__ */ I({
1493
+ }, Tt = /* @__PURE__ */ I({
1438
1494
  __name: "AuthkitOAuthList",
1439
1495
  props: {
1440
1496
  size: {
@@ -1446,47 +1502,47 @@ const te = /* @__PURE__ */ I({
1446
1502
  default: () => ""
1447
1503
  }
1448
1504
  },
1449
- setup(r) {
1505
+ setup(s) {
1450
1506
  const {
1451
- appsData: a
1452
- } = le(), u = r, {
1453
- githubAuth: n,
1507
+ appsData: r
1508
+ } = se(), u = s, {
1509
+ githubAuth: a,
1454
1510
  googleAuth: o,
1455
- microsoftAuth: m
1456
- } = It(), t = N(() => !(!a.value.oauth.google.enabled && !a.value.oauth.microsoft.enabled && !a.value.oauth.github.enabled && !a.value.oauth.wechat.enabled));
1457
- return (l, y) => (g(), P("div", Vt, [t.value ? (g(), k(e(Pe), {
1511
+ microsoftAuth: d
1512
+ } = Ct(), t = F(() => !(!r.value.oauth.google.enabled && !r.value.oauth.microsoft.enabled && !r.value.oauth.github.enabled && !r.value.oauth.wechat.enabled));
1513
+ return (l, y) => (g(), V("div", xt, [t.value ? (g(), k(e($e), {
1458
1514
  key: 0,
1459
1515
  orientation: "center"
1460
1516
  }, {
1461
- default: s(() => [...y[0] || (y[0] = [w("OAuth登陆", -1)])]),
1517
+ default: n(() => [...y[3] || (y[3] = [_("OAuth登陆", -1)])]),
1462
1518
  _: 1
1463
- })) : S("", !0), z("div", Pt, [e(a).oauth.github.enabled ? (g(), k(te, {
1519
+ })) : S("", !0), z("div", qt, [e(r).oauth.github.enabled ? (g(), k(ie, {
1464
1520
  key: 0,
1465
1521
  icon: "mdi:github",
1466
1522
  label: "Github",
1467
1523
  size: u.size,
1468
- onClick: e(n)
1469
- }, null, 8, ["size", "onClick"])) : S("", !0), e(a).oauth.google.enabled ? (g(), k(te, {
1524
+ onClick: y[0] || (y[0] = (m) => e(a)())
1525
+ }, null, 8, ["size"])) : S("", !0), e(r).oauth.google.enabled ? (g(), k(ie, {
1470
1526
  key: 1,
1471
1527
  icon: "mdi:google",
1472
1528
  label: "Google",
1473
1529
  size: u.size,
1474
- onClick: e(o)
1475
- }, null, 8, ["size", "onClick"])) : S("", !0), e(a).oauth.microsoft.enabled ? (g(), k(te, {
1530
+ onClick: y[1] || (y[1] = (m) => e(o)())
1531
+ }, null, 8, ["size"])) : S("", !0), e(r).oauth.microsoft.enabled ? (g(), k(ie, {
1476
1532
  key: 2,
1477
1533
  icon: "mdi:microsoft",
1478
1534
  label: "Microsoft",
1479
1535
  size: u.size,
1480
- onClick: e(m)
1481
- }, null, 8, ["size", "onClick"])) : S("", !0)])]));
1536
+ onClick: y[2] || (y[2] = (m) => e(d)())
1537
+ }, null, 8, ["size"])) : S("", !0)])]));
1482
1538
  }
1483
- }), Ct = /* @__PURE__ */ $(Ut, [["__scopeId", "data-v-49ca3bca"]]), $t = {
1539
+ }), Rt = /* @__PURE__ */ C(Tt, [["__scopeId", "data-v-2da85b1f"]]), Lt = {
1484
1540
  class: "content"
1485
- }, xt = {
1541
+ }, Bt = {
1486
1542
  class: "sendVerifyCodeItem"
1487
- }, qt = {
1543
+ }, Ot = {
1488
1544
  class: "handle"
1489
- }, Tt = /* @__PURE__ */ I({
1545
+ }, Et = /* @__PURE__ */ I({
1490
1546
  __name: "AuthkitPasswordUpdateAndVerify",
1491
1547
  props: {
1492
1548
  size: {
@@ -1500,10 +1556,10 @@ const te = /* @__PURE__ */ I({
1500
1556
  }
1501
1557
  },
1502
1558
  emits: ["signIn", "submit"],
1503
- setup(r, {
1504
- emit: a
1559
+ setup(s, {
1560
+ emit: r
1505
1561
  }) {
1506
- const u = a, n = r, o = _(), m = _(!1), t = _(), l = _({
1562
+ const u = r, a = s, o = w(), d = w(!1), t = w(), l = w({
1507
1563
  email: void 0,
1508
1564
  userToken: void 0,
1509
1565
  emailVerifyId: void 0,
@@ -1512,30 +1568,30 @@ const te = /* @__PURE__ */ I({
1512
1568
  });
1513
1569
  async function y() {
1514
1570
  t.value.validateField(["email"]).then((p) => {
1515
- p || (m.value = !0, X({
1571
+ p || (d.value = !0, X({
1516
1572
  email: l.value.email
1517
1573
  }).then(({
1518
- data: d
1574
+ data: c
1519
1575
  }) => {
1520
- m.value = !1, l.value.emailVerifyId = d.emailVerifyId, o.value.startCountFn();
1576
+ d.value = !1, l.value.emailVerifyId = c.emailVerifyId, o.value.startCountFn();
1521
1577
  }).catch(() => {
1522
- m.value = !1;
1578
+ d.value = !1;
1523
1579
  }));
1524
1580
  });
1525
1581
  }
1526
- async function f() {
1582
+ async function m() {
1527
1583
  t.value.validate().then((p) => {
1528
1584
  p || u("submit", l.value);
1529
1585
  });
1530
1586
  }
1531
- return (p, d) => (g(), P("div", $t, [i(e(F), {
1587
+ return (p, c) => (g(), V("div", Lt, [i(e(G), {
1532
1588
  ref_key: "formRef",
1533
1589
  ref: t,
1534
1590
  model: l.value,
1535
- size: n.size,
1591
+ size: a.size,
1536
1592
  "auto-label-width": ""
1537
1593
  }, {
1538
- default: s(() => [i(e(A), {
1594
+ default: n(() => [i(e(A), {
1539
1595
  field: "email",
1540
1596
  label: "邮箱",
1541
1597
  "hide-label": "",
@@ -1547,9 +1603,9 @@ const te = /* @__PURE__ */ I({
1547
1603
  message: "请输入有效的邮箱"
1548
1604
  }]
1549
1605
  }, {
1550
- default: s(() => [i(e(q), {
1606
+ default: n(() => [i(e(q), {
1551
1607
  modelValue: l.value.email,
1552
- "onUpdate:modelValue": d[0] || (d[0] = (c) => l.value.email = c),
1608
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => l.value.email = f),
1553
1609
  placeholder: "请输入邮箱"
1554
1610
  }, null, 8, ["modelValue"])]),
1555
1611
  _: 1
@@ -1562,15 +1618,15 @@ const te = /* @__PURE__ */ I({
1562
1618
  message: "请输入验证码"
1563
1619
  }]
1564
1620
  }, {
1565
- default: s(() => [z("div", xt, [i(e(q), {
1621
+ default: n(() => [z("div", Bt, [i(e(q), {
1566
1622
  modelValue: l.value.userToken,
1567
- "onUpdate:modelValue": d[1] || (d[1] = (c) => l.value.userToken = c),
1623
+ "onUpdate:modelValue": c[1] || (c[1] = (f) => l.value.userToken = f),
1568
1624
  placeholder: "请输入验证码"
1569
- }, null, 8, ["modelValue"]), i(se, {
1625
+ }, null, 8, ["modelValue"]), i(ne, {
1570
1626
  ref_key: "SendVerifyCodeRef",
1571
1627
  ref: o,
1572
- size: n.size,
1573
- loading: m.value,
1628
+ size: a.size,
1629
+ loading: d.value,
1574
1630
  style: {
1575
1631
  "margin-left": "10px"
1576
1632
  },
@@ -1589,9 +1645,9 @@ const te = /* @__PURE__ */ I({
1589
1645
  message: "密码不能少于10字符"
1590
1646
  }]
1591
1647
  }, {
1592
- default: s(() => [i(e(q), {
1648
+ default: n(() => [i(e(q), {
1593
1649
  modelValue: l.value.password,
1594
- "onUpdate:modelValue": d[2] || (d[2] = (c) => l.value.password = c),
1650
+ "onUpdate:modelValue": c[2] || (c[2] = (f) => l.value.password = f),
1595
1651
  placeholder: "请输入密码",
1596
1652
  type: "password",
1597
1653
  autocomplete: ""
@@ -1608,57 +1664,57 @@ const te = /* @__PURE__ */ I({
1608
1664
  minLength: 10,
1609
1665
  message: "确认密码不能少于10字符"
1610
1666
  }, {
1611
- validator: (c, v) => {
1612
- c !== l.value.password ? v("两次密码输入不一致,请重新输入") : v();
1667
+ validator: (f, v) => {
1668
+ f !== l.value.password ? v("两次密码输入不一致,请重新输入") : v();
1613
1669
  }
1614
1670
  }]
1615
1671
  }, {
1616
- default: s(() => [i(e(q), {
1672
+ default: n(() => [i(e(q), {
1617
1673
  modelValue: l.value.confirmPassword,
1618
- "onUpdate:modelValue": d[3] || (d[3] = (c) => l.value.confirmPassword = c),
1674
+ "onUpdate:modelValue": c[3] || (c[3] = (f) => l.value.confirmPassword = f),
1619
1675
  placeholder: "请输入确认密码密码",
1620
1676
  type: "password",
1621
1677
  autocomplete: ""
1622
1678
  }, null, 8, ["modelValue"])]),
1623
1679
  _: 1
1624
- }, 8, ["rules"]), z("div", qt, [i(e(V), {
1680
+ }, 8, ["rules"]), z("div", Ot, [i(e(P), {
1625
1681
  type: "primary",
1626
- loading: n.loading,
1682
+ loading: a.loading,
1627
1683
  long: "",
1628
- size: n.size,
1629
- onClick: f
1684
+ size: a.size,
1685
+ onClick: m
1630
1686
  }, {
1631
- default: s(() => [...d[4] || (d[4] = [w(" 提交 ", -1)])]),
1687
+ default: n(() => [...c[4] || (c[4] = [_(" 提交 ", -1)])]),
1632
1688
  _: 1
1633
1689
  }, 8, ["loading", "size"])])]),
1634
1690
  _: 1
1635
1691
  }, 8, ["model", "size"])]));
1636
1692
  }
1637
- }), Rt = /* @__PURE__ */ $(Tt, [["__scopeId", "data-v-1c83f44a"]]), Lt = {
1693
+ }), Dt = /* @__PURE__ */ C(Et, [["__scopeId", "data-v-1c83f44a"]]), Nt = {
1638
1694
  class: "SwitchSignIn"
1639
- }, Bt = /* @__PURE__ */ I({
1695
+ }, Ft = /* @__PURE__ */ I({
1640
1696
  __name: "AuthkitSwitchSignIn",
1641
1697
  emits: ["switchSignIn"],
1642
- setup(r, {
1643
- emit: a
1698
+ setup(s, {
1699
+ emit: r
1644
1700
  }) {
1645
- const u = a;
1646
- function n() {
1701
+ const u = r;
1702
+ function a() {
1647
1703
  u("switchSignIn");
1648
1704
  }
1649
- return (o, m) => (g(), P("div", Lt, [z("span", null, [m[1] || (m[1] = z("span", null, "已经有账号?", -1)), i(e(H), {
1705
+ return (o, d) => (g(), V("div", Nt, [z("span", null, [d[1] || (d[1] = z("span", null, "已经有账号?", -1)), i(e(j), {
1650
1706
  style: {
1651
1707
  padding: "0px"
1652
1708
  },
1653
- onClick: n
1709
+ onClick: a
1654
1710
  }, {
1655
- default: s(() => [...m[0] || (m[0] = [w("去登陆", -1)])]),
1711
+ default: n(() => [...d[0] || (d[0] = [_("去登陆", -1)])]),
1656
1712
  _: 1
1657
1713
  })])]));
1658
1714
  }
1659
- }), ve = /* @__PURE__ */ $(Bt, [["__scopeId", "data-v-fc1d3903"]]), Et = {
1715
+ }), ye = /* @__PURE__ */ C(Ft, [["__scopeId", "data-v-fc1d3903"]]), Gt = {
1660
1716
  class: "ResetPassword"
1661
- }, Ot = /* @__PURE__ */ I({
1717
+ }, Mt = /* @__PURE__ */ I({
1662
1718
  __name: "AuthkitResetPassword",
1663
1719
  props: {
1664
1720
  size: {
@@ -1673,56 +1729,56 @@ const te = /* @__PURE__ */ I({
1673
1729
  }
1674
1730
  },
1675
1731
  emits: ["switchSignIn", "submit"],
1676
- setup(r, {
1677
- emit: a
1732
+ setup(s, {
1733
+ emit: r
1678
1734
  }) {
1679
- const u = a, n = r;
1735
+ const u = r, a = s;
1680
1736
  function o() {
1681
1737
  u("switchSignIn");
1682
1738
  }
1683
- async function m(t) {
1739
+ async function d(t) {
1684
1740
  u("submit", t);
1685
1741
  }
1686
- return (t, l) => (g(), P("div", Et, [i(Rt, {
1687
- loading: r.loading,
1688
- size: n.size,
1689
- onSubmit: m
1690
- }, null, 8, ["loading", "size"]), i(ve, {
1742
+ return (t, l) => (g(), V("div", Gt, [i(Dt, {
1743
+ loading: s.loading,
1744
+ size: a.size,
1745
+ onSubmit: d
1746
+ }, null, 8, ["loading", "size"]), i(ye, {
1691
1747
  onSwitchSignIn: o
1692
1748
  })]));
1693
1749
  }
1694
- }), Dt = /* @__PURE__ */ $(Ot, [["__scopeId", "data-v-0622cbe3"]]), Nt = {
1750
+ }), Ht = /* @__PURE__ */ C(Mt, [["__scopeId", "data-v-0622cbe3"]]), jt = {
1695
1751
  class: "ServiceAgreementAndPrivacyProtection"
1696
- }, Ft = /* @__PURE__ */ I({
1752
+ }, Wt = /* @__PURE__ */ I({
1697
1753
  __name: "AuthkitServiceAgreementAndPrivacyProtection",
1698
1754
  emits: ["toUserServiceAgreement", "toPrivacyPolicy"],
1699
- setup(r, {
1700
- emit: a
1755
+ setup(s, {
1756
+ emit: r
1701
1757
  }) {
1702
- const u = a;
1703
- function n() {
1758
+ const u = r;
1759
+ function a() {
1704
1760
  u("toUserServiceAgreement");
1705
1761
  }
1706
1762
  function o() {
1707
1763
  u("toPrivacyPolicy");
1708
1764
  }
1709
- return (m, t) => (g(), P("div", Nt, [t[2] || (t[2] = z("span", null, " 注册登陆即表示同意", -1)), i(e(H), {
1710
- onClick: n
1765
+ return (d, t) => (g(), V("div", jt, [t[2] || (t[2] = z("span", null, " 注册登陆即表示同意", -1)), i(e(j), {
1766
+ onClick: a
1711
1767
  }, {
1712
- default: s(() => [...t[0] || (t[0] = [w("用户服务协议", -1)])]),
1768
+ default: n(() => [...t[0] || (t[0] = [_("用户服务协议", -1)])]),
1713
1769
  _: 1
1714
- }), t[3] || (t[3] = z("span", null, " 和 ", -1)), i(e(H), {
1770
+ }), t[3] || (t[3] = z("span", null, " 和 ", -1)), i(e(j), {
1715
1771
  onClick: o
1716
1772
  }, {
1717
- default: s(() => [...t[1] || (t[1] = [w("隐私协议", -1)])]),
1773
+ default: n(() => [...t[1] || (t[1] = [_("隐私协议", -1)])]),
1718
1774
  _: 1
1719
1775
  })]));
1720
1776
  }
1721
- }), Gt = /* @__PURE__ */ $(Ft, [["__scopeId", "data-v-18e831ec"]]), Ht = {
1777
+ }), Kt = /* @__PURE__ */ C(Wt, [["__scopeId", "data-v-18e831ec"]]), Zt = {
1722
1778
  class: "content"
1723
- }, Mt = {
1779
+ }, Jt = {
1724
1780
  class: "handle"
1725
- }, jt = /* @__PURE__ */ I({
1781
+ }, Qt = /* @__PURE__ */ I({
1726
1782
  __name: "AuthkitPasswordAuth",
1727
1783
  props: {
1728
1784
  size: {
@@ -1736,38 +1792,38 @@ const te = /* @__PURE__ */ I({
1736
1792
  }
1737
1793
  },
1738
1794
  emits: ["submit"],
1739
- setup(r, {
1740
- emit: a
1795
+ setup(s, {
1796
+ emit: r
1741
1797
  }) {
1742
- const u = a, n = r;
1743
- async function o(y, f) {
1744
- const p = await Qe({
1798
+ const u = r, a = s;
1799
+ async function o(y, m) {
1800
+ const p = await Ye({
1745
1801
  password: y
1746
1802
  });
1747
- p || f("密码验证请求出错!");
1803
+ p || m("密码验证请求出错!");
1748
1804
  const {
1749
- isValidate: d,
1750
- message: c
1805
+ isValidate: c,
1806
+ message: f
1751
1807
  } = p.data;
1752
- d || f(c), f();
1808
+ c || m(f), m();
1753
1809
  }
1754
- const m = _(), t = _({
1810
+ const d = w(), t = w({
1755
1811
  email: void 0,
1756
1812
  password: void 0
1757
1813
  });
1758
1814
  async function l() {
1759
- m.value.validate().then((y) => {
1815
+ d.value.validate().then((y) => {
1760
1816
  y || u("submit", t.value);
1761
1817
  });
1762
1818
  }
1763
- return (y, f) => (g(), P("div", Ht, [i(e(F), {
1819
+ return (y, m) => (g(), V("div", Zt, [i(e(G), {
1764
1820
  ref_key: "formRef",
1765
- ref: m,
1821
+ ref: d,
1766
1822
  model: t.value,
1767
- size: n.size,
1823
+ size: a.size,
1768
1824
  "auto-label-width": ""
1769
1825
  }, {
1770
- default: s(() => [i(e(A), {
1826
+ default: n(() => [i(e(A), {
1771
1827
  field: "email",
1772
1828
  label: "邮箱",
1773
1829
  "hide-label": "",
@@ -1779,9 +1835,9 @@ const te = /* @__PURE__ */ I({
1779
1835
  message: "请输入有效的邮箱"
1780
1836
  }]
1781
1837
  }, {
1782
- default: s(() => [i(e(q), {
1838
+ default: n(() => [i(e(q), {
1783
1839
  modelValue: t.value.email,
1784
- "onUpdate:modelValue": f[0] || (f[0] = (p) => t.value.email = p),
1840
+ "onUpdate:modelValue": m[0] || (m[0] = (p) => t.value.email = p),
1785
1841
  placeholder: "请输入邮箱",
1786
1842
  autocomplete: "email username",
1787
1843
  type: "email"
@@ -1798,63 +1854,63 @@ const te = /* @__PURE__ */ I({
1798
1854
  validator: o
1799
1855
  }]
1800
1856
  }, {
1801
- default: s(() => [i(e(q), {
1857
+ default: n(() => [i(e(q), {
1802
1858
  modelValue: t.value.password,
1803
- "onUpdate:modelValue": f[1] || (f[1] = (p) => t.value.password = p),
1859
+ "onUpdate:modelValue": m[1] || (m[1] = (p) => t.value.password = p),
1804
1860
  placeholder: "请输入密码",
1805
1861
  type: "password",
1806
1862
  autocomplete: "current-password"
1807
1863
  }, null, 8, ["modelValue"])]),
1808
1864
  _: 1
1809
- }, 8, ["rules"]), z("div", Mt, [i(e(V), {
1865
+ }, 8, ["rules"]), z("div", Jt, [i(e(P), {
1810
1866
  type: "primary",
1811
- loading: n.loading,
1867
+ loading: a.loading,
1812
1868
  long: "",
1813
- size: n.size,
1869
+ size: a.size,
1814
1870
  onClick: l
1815
1871
  }, {
1816
- default: s(() => [...f[2] || (f[2] = [w(" 登陆 ", -1)])]),
1872
+ default: n(() => [...m[2] || (m[2] = [_(" 登陆 ", -1)])]),
1817
1873
  _: 1
1818
1874
  }, 8, ["loading", "size"])])]),
1819
1875
  _: 1
1820
1876
  }, 8, ["model", "size"])]));
1821
1877
  }
1822
- }), Wt = /* @__PURE__ */ $(jt, [["__scopeId", "data-v-76d6bc26"]]), Kt = {
1878
+ }), Xt = /* @__PURE__ */ C(Qt, [["__scopeId", "data-v-76d6bc26"]]), Yt = {
1823
1879
  class: "SwitchSignUpOrResetPassword"
1824
- }, Zt = /* @__PURE__ */ I({
1880
+ }, ei = /* @__PURE__ */ I({
1825
1881
  __name: "AuthkitSwitchSignUpOrResetPassword",
1826
1882
  emits: ["switchSignUp", "switchResetPassword"],
1827
- setup(r, {
1828
- emit: a
1883
+ setup(s, {
1884
+ emit: r
1829
1885
  }) {
1830
- const u = a;
1831
- function n() {
1886
+ const u = r;
1887
+ function a() {
1832
1888
  u("switchSignUp");
1833
1889
  }
1834
1890
  function o() {
1835
1891
  u("switchResetPassword");
1836
1892
  }
1837
- return (m, t) => (g(), P("div", Kt, [z("span", null, [t[1] || (t[1] = z("span", null, " 还没有账户?", -1)), i(e(H), {
1893
+ return (d, t) => (g(), V("div", Yt, [z("span", null, [t[1] || (t[1] = z("span", null, " 还没有账户?", -1)), i(e(j), {
1838
1894
  style: {
1839
1895
  padding: "0px"
1840
1896
  },
1841
- onClick: n
1897
+ onClick: a
1842
1898
  }, {
1843
- default: s(() => [...t[0] || (t[0] = [w("去注册?", -1)])]),
1899
+ default: n(() => [...t[0] || (t[0] = [_("去注册?", -1)])]),
1844
1900
  _: 1
1845
- })]), i(e(H), {
1901
+ })]), i(e(j), {
1846
1902
  style: {
1847
1903
  padding: "0px"
1848
1904
  },
1849
1905
  onClick: o
1850
1906
  }, {
1851
- default: s(() => [...t[2] || (t[2] = [w(" 忘记密码?", -1)])]),
1907
+ default: n(() => [...t[2] || (t[2] = [_(" 忘记密码?", -1)])]),
1852
1908
  _: 1
1853
1909
  })]));
1854
1910
  }
1855
- }), Jt = /* @__PURE__ */ $(Zt, [["__scopeId", "data-v-14e3aab2"]]), Qt = {
1911
+ }), ti = /* @__PURE__ */ C(ei, [["__scopeId", "data-v-14e3aab2"]]), ii = {
1856
1912
  class: "SignIn"
1857
- }, Xt = /* @__PURE__ */ I({
1913
+ }, li = /* @__PURE__ */ I({
1858
1914
  __name: "AuthkitSignIn",
1859
1915
  props: {
1860
1916
  size: {
@@ -1868,33 +1924,33 @@ const te = /* @__PURE__ */ I({
1868
1924
  }
1869
1925
  },
1870
1926
  emits: ["submit", "switchSignUp", "switchResetPassword"],
1871
- setup(r, {
1872
- emit: a
1927
+ setup(s, {
1928
+ emit: r
1873
1929
  }) {
1874
- const u = a, n = r, o = Se(), m = N(() => !!o.OAuth);
1930
+ const u = r, a = s, o = Ie(), d = F(() => !!o.OAuth);
1875
1931
  function t() {
1876
1932
  u("switchSignUp");
1877
1933
  }
1878
1934
  function l() {
1879
1935
  u("switchResetPassword");
1880
1936
  }
1881
- async function y(f) {
1882
- u("submit", f);
1937
+ async function y(m) {
1938
+ u("submit", m);
1883
1939
  }
1884
- return (f, p) => (g(), P("div", Qt, [S("", !0), i(Wt, {
1885
- loading: n.loading,
1886
- size: n.size,
1940
+ return (m, p) => (g(), V("div", ii, [S("", !0), i(Xt, {
1941
+ loading: a.loading,
1942
+ size: a.size,
1887
1943
  onSubmit: y
1888
- }, null, 8, ["loading", "size"]), m.value ? ue(f.$slots, "OAuth", {
1944
+ }, null, 8, ["loading", "size"]), d.value ? de(m.$slots, "OAuth", {
1889
1945
  key: 1
1890
- }, void 0, !0) : S("", !0), i(Jt, {
1946
+ }, void 0, !0) : S("", !0), i(ti, {
1891
1947
  onSwitchSignUp: t,
1892
1948
  onSwitchResetPassword: l
1893
1949
  })]));
1894
1950
  }
1895
- }), Yt = /* @__PURE__ */ $(Xt, [["__scopeId", "data-v-f52ce3b3"]]), ei = {
1951
+ }), si = /* @__PURE__ */ C(li, [["__scopeId", "data-v-f52ce3b3"]]), ni = {
1896
1952
  class: "SignUp"
1897
- }, ti = /* @__PURE__ */ I({
1953
+ }, ai = /* @__PURE__ */ I({
1898
1954
  __name: "AuthkitSignUp",
1899
1955
  props: {
1900
1956
  size: {
@@ -1908,25 +1964,25 @@ const te = /* @__PURE__ */ I({
1908
1964
  }
1909
1965
  },
1910
1966
  emits: ["switchSignIn", "submit"],
1911
- setup(r, {
1912
- emit: a
1967
+ setup(s, {
1968
+ emit: r
1913
1969
  }) {
1914
- const u = a, n = r;
1970
+ const u = r, a = s;
1915
1971
  function o() {
1916
1972
  u("switchSignIn");
1917
1973
  }
1918
- async function m(t) {
1974
+ async function d(t) {
1919
1975
  u("submit", t);
1920
1976
  }
1921
- return (t, l) => (g(), P("div", ei, [i(fe, {
1922
- size: n.size,
1923
- loading: r.loading,
1924
- onSubmit: m
1925
- }, null, 8, ["size", "loading"]), i(ve, {
1977
+ return (t, l) => (g(), V("div", ni, [i(pe, {
1978
+ size: a.size,
1979
+ loading: s.loading,
1980
+ onSubmit: d
1981
+ }, null, 8, ["size", "loading"]), i(ye, {
1926
1982
  onSwitchSignIn: o
1927
1983
  })]));
1928
1984
  }
1929
- }), ii = /* @__PURE__ */ $(ti, [["__scopeId", "data-v-058bbbef"]]), li = ["src"], si = /* @__PURE__ */ I({
1985
+ }), oi = /* @__PURE__ */ C(ai, [["__scopeId", "data-v-058bbbef"]]), ri = ["src"], ui = /* @__PURE__ */ I({
1930
1986
  __name: "AuthkitAuthTitle",
1931
1987
  props: {
1932
1988
  size: {
@@ -1945,32 +2001,32 @@ const te = /* @__PURE__ */ I({
1945
2001
  default: 60
1946
2002
  }
1947
2003
  },
1948
- setup(r) {
1949
- const a = r, u = `${a.size}px`, n = `${a.fontSize}px`, o = `${a.lineHeight}px`, {
1950
- currentView: m
2004
+ setup(s) {
2005
+ const r = s, u = `${r.size}px`, a = `${r.fontSize}px`, o = `${r.lineHeight}px`, {
2006
+ currentView: d
1951
2007
  } = Q(), {
1952
2008
  appsData: t
1953
- } = le(), l = N(() => m.value === "signIn" ? `${t.value.name}登录` : m.value === "signUp" ? `${t.value.name}账号注册` : m.value === "resetPassword" ? `${t.value.name}密码重置` : "");
1954
- return (y, f) => (g(), P("div", {
2009
+ } = se(), l = F(() => d.value === "signIn" ? `${t.value.name}登录` : d.value === "signUp" ? `${t.value.name}账号注册` : d.value === "resetPassword" ? `${t.value.name}密码重置` : "");
2010
+ return (y, m) => (g(), V("div", {
1955
2011
  class: "Title",
1956
- style: ie({
1957
- fontSize: n,
2012
+ style: le({
2013
+ fontSize: a,
1958
2014
  lineHeight: o
1959
2015
  })
1960
- }, [e(t).applicationLogoUrl ? (g(), P("img", {
2016
+ }, [e(t).applicationLogoUrl ? (g(), V("img", {
1961
2017
  key: 0,
1962
2018
  src: e(t).applicationLogoUrl,
1963
2019
  srcset: "",
1964
- style: ie({
2020
+ style: le({
1965
2021
  width: u
1966
2022
  })
1967
- }, null, 12, li)) : S("", !0), z("span", null, R(l.value), 1), ue(y.$slots, "default", {}, void 0, !0)], 4));
2023
+ }, null, 12, ri)) : S("", !0), z("span", null, R(l.value), 1), de(y.$slots, "default", {}, void 0, !0)], 4));
1968
2024
  }
1969
- }), ge = /* @__PURE__ */ $(si, [["__scopeId", "data-v-5576db64"]]), ni = {
2025
+ }), he = /* @__PURE__ */ C(ui, [["__scopeId", "data-v-5576db64"]]), di = {
1970
2026
  class: "Auth"
1971
- }, ai = {
2027
+ }, ci = {
1972
2028
  class: "body"
1973
- }, oi = /* @__PURE__ */ I({
2029
+ }, mi = /* @__PURE__ */ I({
1974
2030
  __name: "AuthkitAuth",
1975
2031
  props: {
1976
2032
  size: {
@@ -1983,63 +2039,63 @@ const te = /* @__PURE__ */ I({
1983
2039
  }
1984
2040
  },
1985
2041
  emits: ["toPrivacyPolicy", "toUserServiceAgreement"],
1986
- setup(r, {
1987
- emit: a
2042
+ setup(s, {
2043
+ emit: r
1988
2044
  }) {
1989
- const u = r, n = a, {
2045
+ const u = s, a = r, {
1990
2046
  signInSubmit: o,
1991
- signUpSubmit: m,
2047
+ signUpSubmit: d,
1992
2048
  resetPasswordSubmit: t,
1993
2049
  currentView: l,
1994
2050
  authSignInLoading: y,
1995
- authSignUpLoading: f,
2051
+ authSignUpLoading: m,
1996
2052
  resetPasswordLoading: p,
1997
- switchSignUp: d,
1998
- switchResetPassword: c,
2053
+ switchSignUp: c,
2054
+ switchResetPassword: f,
1999
2055
  switchSignIn: v
2000
2056
  } = Q(), {
2001
2057
  appsAuthPageInfoApi: b
2002
- } = le();
2058
+ } = se();
2003
2059
  function U() {
2004
- n("toPrivacyPolicy");
2060
+ a("toPrivacyPolicy");
2005
2061
  }
2006
- function C() {
2007
- n("toUserServiceAgreement");
2062
+ function $() {
2063
+ a("toUserServiceAgreement");
2008
2064
  }
2009
- return b(), (T, B) => (g(), P("div", ni, [r.showTitle ? (g(), k(ge, {
2065
+ return b(), (T, B) => (g(), V("div", di, [s.showTitle ? (g(), k(he, {
2010
2066
  key: 0,
2011
2067
  size: 32,
2012
2068
  "font-size": 20
2013
- })) : S("", !0), z("div", ai, [e(l) === "signIn" ? (g(), k(Yt, {
2069
+ })) : S("", !0), z("div", ci, [e(l) === "signIn" ? (g(), k(si, {
2014
2070
  key: 0,
2015
2071
  size: u.size,
2016
2072
  loading: e(y),
2017
- onSwitchSignUp: e(d),
2018
- onSwitchResetPassword: e(c),
2019
- onSubmit: B[0] || (B[0] = (E) => e(o)(E))
2073
+ onSwitchSignUp: e(c),
2074
+ onSwitchResetPassword: e(f),
2075
+ onSubmit: B[0] || (B[0] = (O) => e(o)(O))
2020
2076
  }, {
2021
- OAuth: s(() => [i(Ct, {
2077
+ OAuth: n(() => [i(Rt, {
2022
2078
  size: u.size
2023
2079
  }, null, 8, ["size"])]),
2024
2080
  _: 1
2025
- }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(l) === "signUp" ? (g(), k(ii, {
2081
+ }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(l) === "signUp" ? (g(), k(oi, {
2026
2082
  key: 1,
2027
2083
  size: u.size,
2028
- loading: e(f),
2084
+ loading: e(m),
2029
2085
  onSwitchSignIn: e(v),
2030
- onSubmit: B[1] || (B[1] = (E) => e(m)(E))
2031
- }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(l) === "resetPassword" ? (g(), k(Dt, {
2086
+ onSubmit: B[1] || (B[1] = (O) => e(d)(O))
2087
+ }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(l) === "resetPassword" ? (g(), k(Ht, {
2032
2088
  key: 2,
2033
2089
  size: u.size,
2034
2090
  loading: e(p),
2035
2091
  onSwitchSignIn: e(v),
2036
- onSubmit: B[2] || (B[2] = (E) => e(t)(E))
2037
- }, null, 8, ["size", "loading", "onSwitchSignIn"])) : S("", !0), i(Gt, {
2092
+ onSubmit: B[2] || (B[2] = (O) => e(t)(O))
2093
+ }, null, 8, ["size", "loading", "onSwitchSignIn"])) : S("", !0), i(Kt, {
2038
2094
  onToPrivacyPolicy: U,
2039
- onToUserServiceAgreement: C
2095
+ onToUserServiceAgreement: $
2040
2096
  })])]));
2041
2097
  }
2042
- }), ri = /* @__PURE__ */ $(oi, [["__scopeId", "data-v-186d2441"]]), ui = /* @__PURE__ */ I({
2098
+ }), fi = /* @__PURE__ */ C(mi, [["__scopeId", "data-v-186d2441"]]), pi = /* @__PURE__ */ I({
2043
2099
  __name: "AuthkitAuthModal",
2044
2100
  props: {
2045
2101
  size: {
@@ -2052,25 +2108,25 @@ const te = /* @__PURE__ */ I({
2052
2108
  }
2053
2109
  },
2054
2110
  emits: ["confirm", "close", "toPrivacyPolicy", "toUserServiceAgreement"],
2055
- setup(r, {
2056
- emit: a
2111
+ setup(s, {
2112
+ emit: r
2057
2113
  }) {
2058
2114
  const {
2059
2115
  addSignInCallback: u
2060
2116
  } = Q(), {
2061
- show: n
2062
- } = Ue(), o = r, m = a;
2117
+ show: a
2118
+ } = Ce(), o = s, d = r;
2063
2119
  function t(y) {
2064
2120
  y(!0);
2065
2121
  }
2066
2122
  function l() {
2067
- n.value = !1, m("close");
2123
+ a.value = !1, d("close");
2068
2124
  }
2069
2125
  return u(() => {
2070
- n.value = !1;
2071
- }), (y, f) => (g(), k(e(me), {
2072
- visible: e(n),
2073
- "onUpdate:visible": f[2] || (f[2] = (p) => re(n) ? n.value = p : null),
2126
+ a.value = !1;
2127
+ }), (y, m) => (g(), k(e(me), {
2128
+ visible: e(a),
2129
+ "onUpdate:visible": m[2] || (m[2] = (p) => ue(a) ? a.value = p : null),
2074
2130
  footer: !1,
2075
2131
  "mask-closable": !1,
2076
2132
  "title-align": "center",
@@ -2080,38 +2136,39 @@ const te = /* @__PURE__ */ I({
2080
2136
  onBeforeOk: t,
2081
2137
  onClose: l
2082
2138
  }, {
2083
- title: s(() => [i(ge)]),
2084
- default: s(() => [i(ri, {
2139
+ title: n(() => [i(he)]),
2140
+ default: n(() => [i(fi, {
2085
2141
  "show-title": !1,
2086
2142
  size: o.size,
2087
- onToPrivacyPolicy: f[0] || (f[0] = (p) => m("toPrivacyPolicy")),
2088
- onToUserServiceAgreement: f[1] || (f[1] = (p) => m("toUserServiceAgreement"))
2143
+ onToPrivacyPolicy: m[0] || (m[0] = (p) => d("toPrivacyPolicy")),
2144
+ onToUserServiceAgreement: m[1] || (m[1] = (p) => d("toUserServiceAgreement"))
2089
2145
  }, null, 8, ["size"])]),
2090
2146
  _: 1
2091
2147
  }, 8, ["visible"]));
2092
2148
  }
2093
- }), Pi = /* @__PURE__ */ $(ui, [["__scopeId", "data-v-6fbefff8"]]);
2149
+ }), qi = /* @__PURE__ */ C(pi, [["__scopeId", "data-v-6fbefff8"]]);
2094
2150
  export {
2095
- Vi as A,
2096
- fe as E,
2097
- Ct as O,
2098
- Rt as P,
2099
- Dt as R,
2100
- se as S,
2101
- te as _,
2102
- ri as a,
2103
- ge as b,
2104
- Pi as c,
2105
- Yt as d,
2106
- ii as e,
2107
- Wt as f,
2108
- ve as g,
2109
- Jt as h,
2110
- Gt as i,
2111
- Ze as j,
2112
- ne as k,
2113
- ct as l,
2114
- nt as m,
2115
- mt as n,
2116
- st as o
2151
+ xi as A,
2152
+ pe as E,
2153
+ Rt as O,
2154
+ Dt as P,
2155
+ Ht as R,
2156
+ ne as S,
2157
+ ie as _,
2158
+ fi as a,
2159
+ he as b,
2160
+ qi as c,
2161
+ si as d,
2162
+ oi as e,
2163
+ Xt as f,
2164
+ ye as g,
2165
+ ti as h,
2166
+ Kt as i,
2167
+ Qe as j,
2168
+ ae as k,
2169
+ gt as l,
2170
+ ot as m,
2171
+ ft as n,
2172
+ at as o,
2173
+ Ct as u
2117
2174
  };