enzostvs HF Staff commited on
Commit
5825c28
·
1 Parent(s): 0e97e36

test to fix

Browse files
app/{deepsite/(public) → (public)}/layout.tsx RENAMED
File without changes
app/{deepsite/(public) → (public)}/page.tsx RENAMED
File without changes
app/{deepsite/[owner] → [owner]}/[repoId]/page.tsx RENAMED
File without changes
app/api/auth/[...nextauth]/route.ts CHANGED
@@ -1,3 +1,6 @@
1
- import { handlers } from "@/lib/auth";
 
2
 
3
- export const { GET, POST } = handlers;
 
 
 
1
+ import NextAuth from "next-auth";
2
+ import { authOptions } from "@/lib/auth";
3
 
4
+ const handler = NextAuth(authOptions);
5
+
6
+ export { handler as GET, handler as POST };
app/{deepsite/new → new}/page.tsx RENAMED
File without changes
app/{deepsite/not-found.tsx → not-found.tsx} RENAMED
File without changes
lib/auth.ts CHANGED
@@ -1,8 +1,7 @@
1
- import NextAuth from "next-auth";
2
- import type { NextAuthConfig } from "next-auth";
3
 
4
- export const authConfig = {
5
- basePath: "/deepsite/api/auth",
6
  providers: [
7
  {
8
  id: "huggingface",
@@ -10,7 +9,7 @@ export const authConfig = {
10
  type: "oauth",
11
  clientId: process.env.AUTH_HUGGINGFACE_ID,
12
  clientSecret: process.env.AUTH_HUGGINGFACE_SECRET,
13
- issuer: "https://huggingface.co",
14
  authorization: {
15
  url: "https://huggingface.co/oauth/authorize",
16
  params: {
@@ -25,6 +24,7 @@ export const authConfig = {
25
  id: profile.sub,
26
  name: profile.name || profile.preferred_username,
27
  username: profile.preferred_username,
 
28
  image: profile.picture,
29
  isPro: profile.isPro || false,
30
  };
@@ -43,35 +43,34 @@ export const authConfig = {
43
  return token;
44
  },
45
  async session({ session, token }) {
46
- session.accessToken = token.accessToken as string;
47
  if (session.user) {
48
- session.user.username = token.username as string;
49
- session.user.isPro = token.isPro as boolean;
50
  }
51
  return session;
52
  },
53
- authorized({ auth, request: { nextUrl } }) {
54
- const isLoggedIn = !!auth?.user;
55
- const isOnNew = nextUrl.pathname.includes("/new");
56
-
57
- const pathSegments = nextUrl.pathname.split("/").filter(Boolean);
58
- const isOnProjectPage =
59
- pathSegments.length >= 2 &&
60
- !nextUrl.pathname.includes("/new") &&
61
- !nextUrl.pathname.includes("/api");
62
-
63
- if (isOnProjectPage || isOnNew) {
64
- if (isLoggedIn) return true;
65
- return false;
66
  }
67
-
68
- return true;
 
 
 
 
 
 
69
  },
70
  },
71
  pages: {
72
- signIn: "/",
73
  },
74
- trustHost: true,
75
- } satisfies NextAuthConfig;
76
 
77
- export const { handlers, auth, signIn, signOut } = NextAuth(authConfig);
 
 
1
+ import type { NextAuthOptions } from "next-auth";
2
+ import { getServerSession } from "next-auth/next";
3
 
4
+ export const authOptions: NextAuthOptions = {
 
5
  providers: [
6
  {
7
  id: "huggingface",
 
9
  type: "oauth",
10
  clientId: process.env.AUTH_HUGGINGFACE_ID,
11
  clientSecret: process.env.AUTH_HUGGINGFACE_SECRET,
12
+ wellKnown: "https://huggingface.co/.well-known/openid-configuration",
13
  authorization: {
14
  url: "https://huggingface.co/oauth/authorize",
15
  params: {
 
24
  id: profile.sub,
25
  name: profile.name || profile.preferred_username,
26
  username: profile.preferred_username,
27
+ email: profile.email,
28
  image: profile.picture,
29
  isPro: profile.isPro || false,
30
  };
 
43
  return token;
44
  },
45
  async session({ session, token }) {
46
+ session.accessToken = token.accessToken;
47
  if (session.user) {
48
+ session.user.username = token.username;
49
+ session.user.isPro = token.isPro;
50
  }
51
  return session;
52
  },
53
+ async redirect({ url, baseUrl }) {
54
+ const basePath = "/deepsite";
55
+
56
+ if (url.startsWith("/")) {
57
+ return `${baseUrl}${basePath}${url}`;
 
 
 
 
 
 
 
 
58
  }
59
+ else if (url.startsWith(baseUrl)) {
60
+ const path = url.substring(baseUrl.length);
61
+ if (!path.startsWith(basePath)) {
62
+ return `${baseUrl}${basePath}${path}`;
63
+ }
64
+ return url;
65
+ }
66
+ return url;
67
  },
68
  },
69
  pages: {
70
+ signIn: "/deepsite",
71
  },
72
+ secret: process.env.NEXTAUTH_SECRET,
73
+ };
74
 
75
+ // Helper function to get the current session (replaces next-auth v5's auth())
76
+ export const auth = () => getServerSession(authOptions);
next-auth.d.ts CHANGED
@@ -1,9 +1,16 @@
1
- import NextAuth, { DefaultSession } from "next-auth";
 
2
 
3
  declare module "next-auth" {
4
  interface Session {
5
  accessToken?: string;
6
- isPro?: boolean;
 
 
 
 
 
 
7
  }
8
 
9
  interface User {
 
1
+ import "next-auth";
2
+ import "next-auth/jwt";
3
 
4
  declare module "next-auth" {
5
  interface Session {
6
  accessToken?: string;
7
+ user: {
8
+ username?: string;
9
+ isPro?: boolean;
10
+ name?: string | null;
11
+ email?: string | null;
12
+ image?: string | null;
13
+ };
14
  }
15
 
16
  interface User {
package.json CHANGED
@@ -37,7 +37,7 @@
37
  "mongoose": "^9.1.1",
38
  "motion": "^12.24.12",
39
  "next": "16.0.10",
40
- "next-auth": "5.0.0-beta.30",
41
  "next-themes": "^0.4.6",
42
  "nextstepjs": "^2.2.0",
43
  "npm": "^11.7.0",
 
37
  "mongoose": "^9.1.1",
38
  "motion": "^12.24.12",
39
  "next": "16.0.10",
40
+ "next-auth": "^4.24.13",
41
  "next-themes": "^0.4.6",
42
  "nextstepjs": "^2.2.0",
43
  "npm": "^11.7.0",
pnpm-lock.yaml CHANGED
@@ -93,8 +93,8 @@ importers:
93
  specifier: 16.0.10
94
95
  next-auth:
96
- specifier: 5.0.0-beta.30
97
98
  next-themes:
99
  specifier: ^0.4.6
100
@@ -175,20 +175,6 @@ packages:
175
  resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
176
  engines: {node: '>=10'}
177
 
178
- '@auth/[email protected]':
179
- resolution: {integrity: sha512-Wd7mHPQ/8zy6Qj7f4T46vg3aoor8fskJm6g2Zyj064oQ3+p0xNZXAV60ww0hY+MbTesfu29kK14Zk5d5JTazXQ==}
180
- peerDependencies:
181
- '@simplewebauthn/browser': ^9.0.1
182
- '@simplewebauthn/server': ^9.0.2
183
- nodemailer: ^6.8.0
184
- peerDependenciesMeta:
185
- '@simplewebauthn/browser':
186
- optional: true
187
- '@simplewebauthn/server':
188
- optional: true
189
- nodemailer:
190
- optional: true
191
-
192
  '@babel/[email protected]':
193
  resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
194
  engines: {node: '>=6.9.0'}
@@ -1632,6 +1618,10 @@ packages:
1632
1633
  resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
1634
 
 
 
 
 
1635
1636
  resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==}
1637
 
@@ -2327,8 +2317,8 @@ packages:
2327
  resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
2328
  hasBin: true
2329
 
2330
- jose@6.1.2:
2331
- resolution: {integrity: sha512-MpcPtHLE5EmztuFIqB0vzHAWJPpmN1E6L4oo+kze56LIs3MyXIj9ZHMDxqOvkP38gBR7K1v3jqd4WU2+nrfONQ==}
2332
 
2333
2334
  resolution: {integrity: sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==}
@@ -2475,6 +2465,10 @@ packages:
2475
2476
  resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
2477
 
 
 
 
 
2478
2479
  resolution: {integrity: sha512-St+z29uthEJVx0Is7ellNkgTEhaeSoA42I7JjOCBCrc5X6LYMGSv0P/2uS5HDLTExP5tpiqRD2PyUEOS6s9UXA==}
2480
  peerDependencies:
@@ -2705,18 +2699,16 @@ packages:
2705
2706
  resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
2707
 
2708
- next-auth@5.0.0-beta.30:
2709
- resolution: {integrity: sha512-+c51gquM3F6nMVmoAusRJ7RIoY0K4Ts9HCCwyy/BRoe4mp3msZpOzYMyb5LAYc1wSo74PMQkGDcaghIO7W6Xjg==}
2710
  peerDependencies:
2711
- '@simplewebauthn/browser': ^9.0.1
2712
- '@simplewebauthn/server': ^9.0.2
2713
- next: ^14.0.0-0 || ^15.0.0 || ^16.0.0
2714
  nodemailer: ^7.0.7
2715
- react: ^18.2.0 || ^19.0.0
 
2716
  peerDependenciesMeta:
2717
- '@simplewebauthn/browser':
2718
- optional: true
2719
- '@simplewebauthn/server':
2720
  optional: true
2721
  nodemailer:
2722
  optional: true
@@ -2843,13 +2835,17 @@ packages:
2843
  - validate-npm-package-name
2844
  - which
2845
 
2846
- oauth4webapi@3.8.2:
2847
- resolution: {integrity: sha512-FzZZ+bht5X0FKe7Mwz3DAVAmlH1BV5blSak/lHMBKz0/EBMhX6B10GlQYI51+oRp8ObJaX0g6pXrAxZh5s8rjw==}
2848
 
2849
2850
  resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
2851
  engines: {node: '>=0.10.0'}
2852
 
 
 
 
 
2853
2854
  resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
2855
  engines: {node: '>= 0.4'}
@@ -2878,6 +2874,13 @@ packages:
2878
  resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}
2879
  engines: {node: '>= 0.4'}
2880
 
 
 
 
 
 
 
 
2881
2882
  resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
2883
  engines: {node: '>= 0.8.0'}
@@ -2938,18 +2941,21 @@ packages:
2938
  resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
2939
  engines: {node: ^10 || ^12 || >=14}
2940
 
2941
- preact-render-to-string@6.5.11:
2942
- resolution: {integrity: sha512-ubnauqoGczeGISiOh6RjX0/cdaF8v/oDXIjO85XALCQjwQP+SB4RDXXtvZ6yTYSjG+PC1QRP2AhPgCEsM2EvUw==}
2943
  peerDependencies:
2944
  preact: '>=10'
2945
 
2946
- preact@10.24.3:
2947
- resolution: {integrity: sha512-Z2dPnBnMUfyQfSQ+GBdsGa16hz35YmLmtTLhM169uW944hYL6xzTYkJjC07j+Wosz733pMWx0fgON3JNw1jJQA==}
2948
 
2949
2950
  resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
2951
  engines: {node: '>= 0.8.0'}
2952
 
 
 
 
2953
2954
  resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}
2955
  engines: {node: '>=6'}
@@ -3479,6 +3485,10 @@ packages:
3479
  resolution: {integrity: sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==}
3480
  hasBin: true
3481
 
 
 
 
 
3482
3483
  resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}
3484
 
@@ -3524,6 +3534,9 @@ packages:
3524
3525
  resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
3526
 
 
 
 
3527
3528
  resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
3529
  engines: {node: '>=10'}
@@ -3544,14 +3557,6 @@ snapshots:
3544
 
3545
  '@alloc/[email protected]': {}
3546
 
3547
- '@auth/[email protected]':
3548
- dependencies:
3549
- '@panva/hkdf': 1.2.1
3550
- jose: 6.1.2
3551
- oauth4webapi: 3.8.2
3552
- preact: 10.24.3
3553
- preact-render-to-string: 6.5.11([email protected])
3554
-
3555
  '@babel/[email protected]':
3556
  dependencies:
3557
  '@babel/helper-validator-identifier': 7.28.5
@@ -5028,6 +5033,8 @@ snapshots:
5028
 
5029
5030
 
 
 
5031
5032
  dependencies:
5033
  toggle-selection: 1.0.6
@@ -5888,7 +5895,7 @@ snapshots:
5888
 
5889
5890
 
5891
- jose@6.1.2: {}
5892
 
5893
5894
 
@@ -6006,6 +6013,10 @@ snapshots:
6006
  dependencies:
6007
  yallist: 3.1.1
6008
 
 
 
 
 
6009
6010
  dependencies:
6011
  react: 19.2.0
@@ -6343,11 +6354,20 @@ snapshots:
6343
 
6344
6345
 
6346
6347
  dependencies:
6348
- '@auth/core': 0.41.0
 
 
 
6349
 
 
 
 
6350
  react: 19.2.0
 
 
6351
 
6352
6353
  dependencies:
@@ -6391,10 +6411,12 @@ snapshots:
6391
 
6392
6393
 
6394
- oauth4webapi@3.8.2: {}
6395
 
6396
6397
 
 
 
6398
6399
 
6400
@@ -6435,6 +6457,15 @@ snapshots:
6435
  define-properties: 1.2.1
6436
  es-object-atoms: 1.1.1
6437
 
 
 
 
 
 
 
 
 
 
6438
6439
  dependencies:
6440
  deep-is: 0.1.4
@@ -6500,14 +6531,17 @@ snapshots:
6500
  picocolors: 1.1.1
6501
  source-map-js: 1.2.1
6502
 
6503
- preact-render-to-string@6.5.11(preact@10.24.3):
6504
  dependencies:
6505
- preact: 10.24.3
 
6506
 
6507
- preact@10.24.3: {}
6508
 
6509
6510
 
 
 
6511
6512
 
6513
@@ -7180,6 +7214,8 @@ snapshots:
7180
 
7181
7182
 
 
 
7183
7184
  dependencies:
7185
  '@types/unist': 3.0.3
@@ -7248,6 +7284,8 @@ snapshots:
7248
 
7249
7250
 
 
 
7251
7252
 
7253
 
93
  specifier: 16.0.10
94
95
  next-auth:
96
+ specifier: ^4.24.13
97
98
  next-themes:
99
  specifier: ^0.4.6
100
 
175
  resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
176
  engines: {node: '>=10'}
177
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  '@babel/[email protected]':
179
  resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
180
  engines: {node: '>=6.9.0'}
 
1618
1619
  resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
1620
 
1621
1622
+ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
1623
+ engines: {node: '>= 0.6'}
1624
+
1625
1626
  resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==}
1627
 
 
2317
  resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
2318
  hasBin: true
2319
 
2320
+ jose@4.15.9:
2321
+ resolution: {integrity: sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==}
2322
 
2323
2324
  resolution: {integrity: sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==}
 
2465
2466
  resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
2467
 
2468
2469
+ resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
2470
+ engines: {node: '>=10'}
2471
+
2472
2473
  resolution: {integrity: sha512-St+z29uthEJVx0Is7ellNkgTEhaeSoA42I7JjOCBCrc5X6LYMGSv0P/2uS5HDLTExP5tpiqRD2PyUEOS6s9UXA==}
2474
  peerDependencies:
 
2699
2700
  resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
2701
 
2702
+ next-auth@4.24.13:
2703
+ resolution: {integrity: sha512-sgObCfcfL7BzIK76SS5TnQtc3yo2Oifp/yIpfv6fMfeBOiBJkDWF3A2y9+yqnmJ4JKc2C+nMjSjmgDeTwgN1rQ==}
2704
  peerDependencies:
2705
+ '@auth/core': 0.34.3
2706
+ next: ^12.2.5 || ^13 || ^14 || ^15 || ^16
 
2707
  nodemailer: ^7.0.7
2708
+ react: ^17.0.2 || ^18 || ^19
2709
+ react-dom: ^17.0.2 || ^18 || ^19
2710
  peerDependenciesMeta:
2711
+ '@auth/core':
 
 
2712
  optional: true
2713
  nodemailer:
2714
  optional: true
 
2835
  - validate-npm-package-name
2836
  - which
2837
 
2838
+ oauth@0.9.15:
2839
+ resolution: {integrity: sha512-a5ERWK1kh38ExDEfoO6qUHJb32rd7aYmPHuyCu3Fta/cnICvYmgd2uhuKXvPD+PXB+gCEYYEaQdIRAjCOwAKNA==}
2840
 
2841
2842
  resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
2843
  engines: {node: '>=0.10.0'}
2844
 
2845
2846
+ resolution: {integrity: sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==}
2847
+ engines: {node: '>= 6'}
2848
+
2849
2850
  resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
2851
  engines: {node: '>= 0.4'}
 
2874
  resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}
2875
  engines: {node: '>= 0.4'}
2876
 
2877
2878
+ resolution: {integrity: sha512-6gj2m8cJZ+iSW8bm0FXdGF0YhIQbKrfP4yWTNzxc31U6MOjfEmB1rHvlYvxI1B7t7BCi1F2vYTT6YhtQRG4hxw==}
2879
+ engines: {node: ^10.13.0 || >=12.0.0}
2880
+
2881
2882
+ resolution: {integrity: sha512-jDBPgSVfTnkIh71Hg9pRvtJc6wTwqjRkN88+gCFtYWrlP4Yx2Dsrow8uPi3qLr/aeymPF3o2+dS+wOpglK04ew==}
2883
+
2884
2885
  resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
2886
  engines: {node: '>= 0.8.0'}
 
2941
  resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
2942
  engines: {node: ^10 || ^12 || >=14}
2943
 
2944
+ preact-render-to-string@5.2.6:
2945
+ resolution: {integrity: sha512-JyhErpYOvBV1hEPwIxc/fHWXPfnEGdRKxc8gFdAZ7XV4tlzyzG847XAyEZqoDnynP88akM4eaHcSOzNcLWFguw==}
2946
  peerDependencies:
2947
  preact: '>=10'
2948
 
2949
+ preact@10.28.2:
2950
+ resolution: {integrity: sha512-lbteaWGzGHdlIuiJ0l2Jq454m6kcpI1zNje6d8MlGAFlYvP2GO4ibnat7P74Esfz4sPTdM6UxtTwh/d3pwM9JA==}
2951
 
2952
2953
  resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
2954
  engines: {node: '>= 0.8.0'}
2955
 
2956
2957
+ resolution: {integrity: sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==}
2958
+
2959
2960
  resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}
2961
  engines: {node: '>=6'}
 
3485
  resolution: {integrity: sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==}
3486
  hasBin: true
3487
 
3488
3489
+ resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
3490
+ hasBin: true
3491
+
3492
3493
  resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}
3494
 
 
3534
3535
  resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
3536
 
3537
3538
+ resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
3539
+
3540
3541
  resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
3542
  engines: {node: '>=10'}
 
3557
 
3558
  '@alloc/[email protected]': {}
3559
 
 
 
 
 
 
 
 
 
3560
  '@babel/[email protected]':
3561
  dependencies:
3562
  '@babel/helper-validator-identifier': 7.28.5
 
5033
 
5034
5035
 
5036
5037
+
5038
5039
  dependencies:
5040
  toggle-selection: 1.0.6
 
5895
 
5896
5897
 
5898
+ jose@4.15.9: {}
5899
 
5900
5901
 
 
6013
  dependencies:
6014
  yallist: 3.1.1
6015
 
6016
6017
+ dependencies:
6018
+ yallist: 4.0.0
6019
+
6020
6021
  dependencies:
6022
  react: 19.2.0
 
6354
 
6355
6356
 
6357
6358
  dependencies:
6359
+ '@babel/runtime': 7.28.4
6360
+ '@panva/hkdf': 1.2.1
6361
+ cookie: 0.7.2
6362
+ jose: 4.15.9
6363
6364
+ oauth: 0.9.15
6365
+ openid-client: 5.7.1
6366
+ preact: 10.28.2
6367
+ preact-render-to-string: 5.2.6([email protected])
6368
  react: 19.2.0
6369
+ react-dom: 19.2.0([email protected])
6370
+ uuid: 8.3.2
6371
 
6372
6373
  dependencies:
 
6411
 
6412
6413
 
6414
+ oauth@0.9.15: {}
6415
 
6416
6417
 
6418
6419
+
6420
6421
 
6422
 
6457
  define-properties: 1.2.1
6458
  es-object-atoms: 1.1.1
6459
 
6460
6461
+
6462
6463
+ dependencies:
6464
+ jose: 4.15.9
6465
+ lru-cache: 6.0.0
6466
+ object-hash: 2.2.0
6467
+ oidc-token-hash: 5.2.0
6468
+
6469
6470
  dependencies:
6471
  deep-is: 0.1.4
 
6531
  picocolors: 1.1.1
6532
  source-map-js: 1.2.1
6533
 
6534
+ preact-render-to-string@5.2.6(preact@10.28.2):
6535
  dependencies:
6536
+ preact: 10.28.2
6537
+ pretty-format: 3.8.0
6538
 
6539
+ preact@10.28.2: {}
6540
 
6541
6542
 
6543
6544
+
6545
6546
 
6547
 
7214
 
7215
7216
 
7217
7218
+
7219
7220
  dependencies:
7221
  '@types/unist': 3.0.3
 
7284
 
7285
7286
 
7287
7288
+
7289
7290
 
7291