@tempoxyz/id 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/server/.vite/manifest.json +65 -65
- package/dist/app/server/assets/Grant-D_tun0mF.js.map +1 -1
- package/dist/app/server/assets/authorize-DXYo-K2n-B-6vqhvc.js +56 -0
- package/dist/app/server/assets/authorize-DXYo-K2n-B-6vqhvc.js.map +1 -0
- package/dist/app/server/assets/core-FSS9-r35.js +56 -0
- package/dist/app/server/assets/core-FSS9-r35.js.map +1 -0
- package/dist/app/server/assets/default-u_dwuiYb-Bby14ucv.js +2 -0
- package/dist/app/server/assets/{default-u_dwuiYb-DOrMMcg9.js.map → default-u_dwuiYb-Bby14ucv.js.map} +1 -1
- package/dist/app/server/assets/{dist-CoH0hD1s.js → dist-B9KiBJYw.js} +2 -2
- package/dist/app/server/assets/{dist-CoH0hD1s.js.map → dist-B9KiBJYw.js.map} +1 -1
- package/dist/app/server/assets/{dist-DcICI3fd.js → dist-CU1NXSiz.js} +2 -2
- package/dist/app/server/assets/{dist-DcICI3fd.js.map → dist-CU1NXSiz.js.map} +1 -1
- package/dist/app/server/assets/dist-CetH4JSY.js +1 -0
- package/dist/app/server/assets/{effect-QlVUlMFu-mXPkuQTb.js → effect-QlVUlMFu-Cm-eTtaO.js} +2 -2
- package/dist/app/server/assets/{effect-QlVUlMFu-mXPkuQTb.js.map → effect-QlVUlMFu-Cm-eTtaO.js.map} +1 -1
- package/dist/app/server/assets/factory-g3i_Ffi5.js +5 -0
- package/dist/app/server/assets/{factory-dvoOlKer.js.map → factory-g3i_Ffi5.js.map} +1 -1
- package/dist/app/server/assets/get-id-field-BpOAoqqI.js +6 -0
- package/dist/app/server/assets/get-id-field-BpOAoqqI.js.map +1 -0
- package/dist/app/server/assets/{index-CLddUTqr-CC33CMvS.js → index-CLddUTqr-CmgkbWi9.js} +2 -2
- package/dist/app/server/assets/{index-CLddUTqr-CC33CMvS.js.map → index-CLddUTqr-CmgkbWi9.js.map} +1 -1
- package/dist/app/server/assets/{index-DZEfthgZ-Ec2MMQ_e.js → index-DZEfthgZ-BnPmps9O.js} +2 -2
- package/dist/app/server/assets/{index-DZEfthgZ-Ec2MMQ_e.js.map → index-DZEfthgZ-BnPmps9O.js.map} +1 -1
- package/dist/app/server/assets/kysely-adapter-B8VoPArC.js +1 -0
- package/dist/app/server/assets/{schema-check-oLqvHR8y.js → schema-check-Bgwl1v0_.js} +2 -2
- package/dist/app/server/assets/{schema-check-oLqvHR8y.js.map → schema-check-Bgwl1v0_.js.map} +1 -1
- package/dist/app/server/assets/{sury-CWZTCd75-CDaOS2oM.js → sury-CWZTCd75-Bd_PzqCV.js} +2 -2
- package/dist/app/server/assets/{sury-CWZTCd75-CDaOS2oM.js.map → sury-CWZTCd75-Bd_PzqCV.js.map} +1 -1
- package/dist/app/server/assets/{valibot--1zFm7rT-CIKoH3MS.js → valibot--1zFm7rT-Dd2aEhWG.js} +2 -2
- package/dist/app/server/assets/{valibot--1zFm7rT-CIKoH3MS.js.map → valibot--1zFm7rT-Dd2aEhWG.js.map} +1 -1
- package/dist/app/server/assets/{valibot-D_HTw1Gn-BdPyLkXt.js → valibot-D_HTw1Gn-C1l3va6F.js} +2 -2
- package/dist/app/server/assets/{valibot-D_HTw1Gn-BdPyLkXt.js.map → valibot-D_HTw1Gn-C1l3va6F.js.map} +1 -1
- package/dist/app/server/assets/{zod-Bwrt9trS-BezI5Gi1.js → zod-Bwrt9trS-Dry2w0in.js} +2 -2
- package/dist/app/server/assets/{zod-Bwrt9trS-BezI5Gi1.js.map → zod-Bwrt9trS-Dry2w0in.js.map} +1 -1
- package/dist/app/server/assets/{zod-DSgpEGAE-DZ7M_Q33.js → zod-DSgpEGAE-BZMP86UA.js} +2 -2
- package/dist/app/server/assets/{zod-DSgpEGAE-DZ7M_Q33.js.map → zod-DSgpEGAE-BZMP86UA.js.map} +1 -1
- package/dist/app/server/index.js +35 -35
- package/dist/app/server/index.js.map +1 -1
- package/dist/client/Auth.d.ts +1 -1
- package/dist/client/Auth.d.ts.map +1 -1
- package/dist/client/Auth.js.map +1 -1
- package/dist/client/Decorator.d.ts +3 -1
- package/dist/client/Decorator.d.ts.map +1 -1
- package/dist/client/Decorator.js +1 -0
- package/dist/client/Decorator.js.map +1 -1
- package/dist/client/actions/passkey.d.ts +63 -2
- package/dist/client/actions/passkey.d.ts.map +1 -1
- package/dist/client/actions/passkey.js +121 -3
- package/dist/client/actions/passkey.js.map +1 -1
- package/dist/internal/Apps.d.ts +14 -0
- package/dist/internal/Apps.d.ts.map +1 -1
- package/dist/internal/Apps.js +14 -2
- package/dist/internal/Apps.js.map +1 -1
- package/dist/internal/Auth.d.ts +7 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +2 -1
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Authorize.d.ts.map +1 -1
- package/dist/internal/Authorize.js +13 -13
- package/dist/internal/Authorize.js.map +1 -1
- package/dist/internal/ErrorResponse.d.ts +5 -0
- package/dist/internal/ErrorResponse.d.ts.map +1 -1
- package/dist/internal/ErrorResponse.js +8 -0
- package/dist/internal/ErrorResponse.js.map +1 -1
- package/dist/internal/KeyAuthorization.d.ts.map +1 -1
- package/dist/internal/KeyAuthorization.js +28 -28
- package/dist/internal/KeyAuthorization.js.map +1 -1
- package/dist/internal/Owner.d.ts +16 -0
- package/dist/internal/Owner.d.ts.map +1 -1
- package/dist/internal/Owner.js.map +1 -1
- package/dist/internal/Passkey.d.ts +66 -4
- package/dist/internal/Passkey.d.ts.map +1 -1
- package/dist/internal/Passkey.js +66 -30
- package/dist/internal/Passkey.js.map +1 -1
- package/dist/internal/Privy.d.ts +27 -0
- package/dist/internal/Privy.d.ts.map +1 -1
- package/dist/internal/Privy.js +82 -0
- package/dist/internal/Privy.js.map +1 -1
- package/dist/internal/TempoAccount.d.ts +57 -0
- package/dist/internal/TempoAccount.d.ts.map +1 -1
- package/dist/internal/TempoAccount.js +118 -5
- package/dist/internal/TempoAccount.js.map +1 -1
- package/dist/internal/owners/Privy.d.ts.map +1 -1
- package/dist/internal/owners/Privy.js +11 -2
- package/dist/internal/owners/Privy.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +140 -103
- package/src/api/authenticate.ts +48 -51
- package/src/api/authorize.ts +35 -36
- package/src/api/device.ts +20 -23
- package/src/api/health.ts +1 -2
- package/src/api/lib/AccountStep.ts +75 -0
- package/src/api/lib/Auth.ts +6 -0
- package/src/api/lib/Cors.ts +3 -0
- package/src/api/lib/KeySigner.ts +1 -1
- package/src/api/oauth.ts +23 -22
- package/src/client/Auth.ts +1 -0
- package/src/client/Decorator.ts +6 -1
- package/src/client/actions/passkey.ts +197 -3
- package/src/internal/Apps.ts +26 -2
- package/src/internal/Auth.ts +4 -0
- package/src/internal/Authorize.ts +13 -15
- package/src/internal/ErrorResponse.ts +10 -0
- package/src/internal/KeyAuthorization.ts +28 -31
- package/src/internal/OpenApi.ts +35 -0
- package/src/internal/Owner.ts +16 -0
- package/src/internal/Passkey.ts +99 -34
- package/src/internal/Privy.ts +128 -0
- package/src/internal/TempoAccount.ts +221 -7
- package/src/internal/owners/Privy.ts +19 -6
- package/dist/app/server/assets/authorize-DXYo-K2n-rmQQ42x1.js +0 -56
- package/dist/app/server/assets/authorize-DXYo-K2n-rmQQ42x1.js.map +0 -1
- package/dist/app/server/assets/core-BBrZXfrB.js +0 -56
- package/dist/app/server/assets/core-BBrZXfrB.js.map +0 -1
- package/dist/app/server/assets/default-u_dwuiYb-DOrMMcg9.js +0 -2
- package/dist/app/server/assets/dist-CR6FW-yS.js +0 -1
- package/dist/app/server/assets/factory-dvoOlKer.js +0 -5
- package/dist/app/server/assets/get-id-field-OwLpfjj2.js +0 -6
- package/dist/app/server/assets/get-id-field-OwLpfjj2.js.map +0 -1
- package/dist/app/server/assets/kysely-adapter-B8tQwTcu.js +0 -1
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
"../../node_modules/.pnpm/@better-auth+memory-adapter@1.8.0-beta.2_@better-auth+core@1.8.0-beta.2_@better-auth+ut_457745fb4dc1fc8ad210b34cbbf04086/node_modules/@better-auth/memory-adapter/dist/index.mjs": {
|
|
33
|
-
"file": "assets/dist-
|
|
33
|
+
"file": "assets/dist-CU1NXSiz.js",
|
|
34
34
|
"name": "dist",
|
|
35
35
|
"src": "../../node_modules/.pnpm/@better-auth+memory-adapter@1.8.0-beta.2_@better-auth+core@1.8.0-beta.2_@better-auth+ut_457745fb4dc1fc8ad210b34cbbf04086/node_modules/@better-auth/memory-adapter/dist/index.mjs",
|
|
36
36
|
"isDynamicEntry": true,
|
|
37
37
|
"imports": [
|
|
38
|
-
"_get-id-field-
|
|
39
|
-
"_factory-
|
|
38
|
+
"_get-id-field-BpOAoqqI.js",
|
|
39
|
+
"_factory-g3i_Ffi5.js"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/arktype-aI7TBD0R.js": {
|
|
@@ -46,24 +46,24 @@
|
|
|
46
46
|
"isDynamicEntry": true
|
|
47
47
|
},
|
|
48
48
|
"../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/effect-QlVUlMFu.js": {
|
|
49
|
-
"file": "assets/effect-QlVUlMFu-
|
|
49
|
+
"file": "assets/effect-QlVUlMFu-Cm-eTtaO.js",
|
|
50
50
|
"name": "effect-QlVUlMFu",
|
|
51
51
|
"src": "../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/effect-QlVUlMFu.js",
|
|
52
52
|
"isDynamicEntry": true,
|
|
53
53
|
"imports": [
|
|
54
|
-
"_index-CLddUTqr-
|
|
54
|
+
"_index-CLddUTqr-CmgkbWi9.js"
|
|
55
55
|
],
|
|
56
56
|
"dynamicImports": [
|
|
57
57
|
"__vite-optional-peer-dep:effect:@standard-community/standard-json"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
"../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/sury-CWZTCd75.js": {
|
|
61
|
-
"file": "assets/sury-CWZTCd75-
|
|
61
|
+
"file": "assets/sury-CWZTCd75-Bd_PzqCV.js",
|
|
62
62
|
"name": "sury-CWZTCd75",
|
|
63
63
|
"src": "../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/sury-CWZTCd75.js",
|
|
64
64
|
"isDynamicEntry": true,
|
|
65
65
|
"imports": [
|
|
66
|
-
"_index-CLddUTqr-
|
|
66
|
+
"_index-CLddUTqr-CmgkbWi9.js"
|
|
67
67
|
],
|
|
68
68
|
"dynamicImports": [
|
|
69
69
|
"__vite-optional-peer-dep:sury:@standard-community/standard-json"
|
|
@@ -76,60 +76,60 @@
|
|
|
76
76
|
"isDynamicEntry": true
|
|
77
77
|
},
|
|
78
78
|
"../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/valibot--1zFm7rT.js": {
|
|
79
|
-
"file": "assets/valibot--1zFm7rT-
|
|
79
|
+
"file": "assets/valibot--1zFm7rT-Dd2aEhWG.js",
|
|
80
80
|
"name": "valibot--1zFm7rT",
|
|
81
81
|
"src": "../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/valibot--1zFm7rT.js",
|
|
82
82
|
"isDynamicEntry": true,
|
|
83
83
|
"imports": [
|
|
84
|
-
"_index-CLddUTqr-
|
|
84
|
+
"_index-CLddUTqr-CmgkbWi9.js"
|
|
85
85
|
],
|
|
86
86
|
"dynamicImports": [
|
|
87
87
|
"__vite-optional-peer-dep:@valibot/to-json-schema:@standard-community/standard-json"
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
90
|
"../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/zod-Bwrt9trS.js": {
|
|
91
|
-
"file": "assets/zod-Bwrt9trS-
|
|
91
|
+
"file": "assets/zod-Bwrt9trS-Dry2w0in.js",
|
|
92
92
|
"name": "zod-Bwrt9trS",
|
|
93
93
|
"src": "../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/zod-Bwrt9trS.js",
|
|
94
94
|
"isDynamicEntry": true,
|
|
95
95
|
"imports": [
|
|
96
|
-
"_index-CLddUTqr-
|
|
96
|
+
"_index-CLddUTqr-CmgkbWi9.js"
|
|
97
97
|
],
|
|
98
98
|
"dynamicImports": [
|
|
99
|
-
"_core-
|
|
99
|
+
"_core-FSS9-r35.js",
|
|
100
100
|
"../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.6.7/node_modules/zod-to-json-schema/dist/esm/index.js"
|
|
101
101
|
]
|
|
102
102
|
},
|
|
103
103
|
"../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/default-u_dwuiYb.js": {
|
|
104
|
-
"file": "assets/default-u_dwuiYb-
|
|
104
|
+
"file": "assets/default-u_dwuiYb-Bby14ucv.js",
|
|
105
105
|
"name": "default-u_dwuiYb",
|
|
106
106
|
"src": "../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/default-u_dwuiYb.js",
|
|
107
107
|
"isDynamicEntry": true,
|
|
108
108
|
"imports": [
|
|
109
|
-
"_index-CLddUTqr-
|
|
110
|
-
"_dist-
|
|
109
|
+
"_index-CLddUTqr-CmgkbWi9.js",
|
|
110
|
+
"_dist-CetH4JSY.js",
|
|
111
111
|
"_convert-BIC8n32x.js"
|
|
112
112
|
]
|
|
113
113
|
},
|
|
114
114
|
"../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/valibot-D_HTw1Gn.js": {
|
|
115
|
-
"file": "assets/valibot-D_HTw1Gn-
|
|
115
|
+
"file": "assets/valibot-D_HTw1Gn-C1l3va6F.js",
|
|
116
116
|
"name": "valibot-D_HTw1Gn",
|
|
117
117
|
"src": "../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/valibot-D_HTw1Gn.js",
|
|
118
118
|
"isDynamicEntry": true,
|
|
119
119
|
"imports": [
|
|
120
|
-
"_index-CLddUTqr-
|
|
121
|
-
"_dist-
|
|
120
|
+
"_index-CLddUTqr-CmgkbWi9.js",
|
|
121
|
+
"_dist-CetH4JSY.js",
|
|
122
122
|
"_convert-BIC8n32x.js"
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
125
|
"../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/zod-DSgpEGAE.js": {
|
|
126
|
-
"file": "assets/zod-DSgpEGAE-
|
|
126
|
+
"file": "assets/zod-DSgpEGAE-BZMP86UA.js",
|
|
127
127
|
"name": "zod-DSgpEGAE",
|
|
128
128
|
"src": "../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/zod-DSgpEGAE.js",
|
|
129
129
|
"isDynamicEntry": true,
|
|
130
130
|
"imports": [
|
|
131
|
-
"_dist-
|
|
132
|
-
"_index-DZEfthgZ-
|
|
131
|
+
"_dist-CetH4JSY.js",
|
|
132
|
+
"_index-DZEfthgZ-BnPmps9O.js",
|
|
133
133
|
"../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/default-u_dwuiYb.js"
|
|
134
134
|
],
|
|
135
135
|
"dynamicImports": [
|
|
@@ -207,12 +207,12 @@
|
|
|
207
207
|
"src": "../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/fonts/Inter-vietnamese.woff2"
|
|
208
208
|
},
|
|
209
209
|
"../../node_modules/.pnpm/better-auth@1.8.0-beta.2_patch_hash=0b15010090410734cac3e2e6e47cd3961b10f43296254a02f30_fbe59abbe480c4ea107e66ac06e10f17/node_modules/better-auth/dist/adapters/kysely-adapter/index.mjs": {
|
|
210
|
-
"file": "assets/kysely-adapter-
|
|
210
|
+
"file": "assets/kysely-adapter-B8VoPArC.js",
|
|
211
211
|
"name": "kysely-adapter",
|
|
212
212
|
"src": "../../node_modules/.pnpm/better-auth@1.8.0-beta.2_patch_hash=0b15010090410734cac3e2e6e47cd3961b10f43296254a02f30_fbe59abbe480c4ea107e66ac06e10f17/node_modules/better-auth/dist/adapters/kysely-adapter/index.mjs",
|
|
213
213
|
"isDynamicEntry": true,
|
|
214
214
|
"imports": [
|
|
215
|
-
"_dist-
|
|
215
|
+
"_dist-B9KiBJYw.js"
|
|
216
216
|
]
|
|
217
217
|
},
|
|
218
218
|
"../../node_modules/.pnpm/viem@2.57.12_typescript@7.0.2_zod@4.6.7/node_modules/viem/_esm/tempo/internal/resolveError.js": {
|
|
@@ -1066,17 +1066,17 @@
|
|
|
1066
1066
|
"assets/GeistMono-Variable-BRXCGrxA.woff2"
|
|
1067
1067
|
]
|
|
1068
1068
|
},
|
|
1069
|
-
"_authorize-DXYo-K2n-
|
|
1070
|
-
"file": "assets/authorize-DXYo-K2n-
|
|
1069
|
+
"_authorize-DXYo-K2n-B-6vqhvc.js": {
|
|
1070
|
+
"file": "assets/authorize-DXYo-K2n-B-6vqhvc.js",
|
|
1071
1071
|
"name": "authorize-DXYo-K2n",
|
|
1072
1072
|
"imports": [
|
|
1073
1073
|
"_rolldown-runtime-BWaJ3C7D.js",
|
|
1074
|
-
"_core-
|
|
1075
|
-
"_get-id-field-
|
|
1076
|
-
"_schema-check-
|
|
1074
|
+
"_core-FSS9-r35.js",
|
|
1075
|
+
"_get-id-field-BpOAoqqI.js",
|
|
1076
|
+
"_schema-check-Bgwl1v0_.js"
|
|
1077
1077
|
],
|
|
1078
1078
|
"dynamicImports": [
|
|
1079
|
-
"_authorize-DXYo-K2n-
|
|
1079
|
+
"_authorize-DXYo-K2n-B-6vqhvc.js"
|
|
1080
1080
|
]
|
|
1081
1081
|
},
|
|
1082
1082
|
"_authorize-DfjPYJqS.css": {
|
|
@@ -1140,12 +1140,12 @@
|
|
|
1140
1140
|
"file": "assets/cookie-DxViaO10.js",
|
|
1141
1141
|
"name": "cookie"
|
|
1142
1142
|
},
|
|
1143
|
-
"_core-
|
|
1144
|
-
"file": "assets/core-
|
|
1143
|
+
"_core-FSS9-r35.js": {
|
|
1144
|
+
"file": "assets/core-FSS9-r35.js",
|
|
1145
1145
|
"name": "core",
|
|
1146
1146
|
"imports": [
|
|
1147
1147
|
"_rolldown-runtime-BWaJ3C7D.js",
|
|
1148
|
-
"_get-id-field-
|
|
1148
|
+
"_get-id-field-BpOAoqqI.js"
|
|
1149
1149
|
]
|
|
1150
1150
|
},
|
|
1151
1151
|
"_decodeFunctionData-bP6V2ai4.js": {
|
|
@@ -1220,20 +1220,13 @@
|
|
|
1220
1220
|
"file": "assets/device-tMCpu5zk.css",
|
|
1221
1221
|
"src": "_device-tMCpu5zk.css"
|
|
1222
1222
|
},
|
|
1223
|
-
"_dist-
|
|
1224
|
-
"file": "assets/dist-
|
|
1223
|
+
"_dist-B9KiBJYw.js": {
|
|
1224
|
+
"file": "assets/dist-B9KiBJYw.js",
|
|
1225
1225
|
"name": "dist",
|
|
1226
1226
|
"imports": [
|
|
1227
|
-
"
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
"_dist-CoH0hD1s.js": {
|
|
1231
|
-
"file": "assets/dist-CoH0hD1s.js",
|
|
1232
|
-
"name": "dist",
|
|
1233
|
-
"imports": [
|
|
1234
|
-
"_get-id-field-OwLpfjj2.js",
|
|
1235
|
-
"_schema-check-oLqvHR8y.js",
|
|
1236
|
-
"_factory-dvoOlKer.js",
|
|
1227
|
+
"_get-id-field-BpOAoqqI.js",
|
|
1228
|
+
"_schema-check-Bgwl1v0_.js",
|
|
1229
|
+
"_factory-g3i_Ffi5.js",
|
|
1237
1230
|
"_sqlite-introspector-DSCAP82F-Crx7Ny14.js",
|
|
1238
1231
|
"_compiled-query-Ds2NVcFT.js",
|
|
1239
1232
|
"_sqlite-adapter-C_LAV4e3.js"
|
|
@@ -1244,6 +1237,13 @@
|
|
|
1244
1237
|
"../../node_modules/.pnpm/@better-auth+kysely-adapter@1.8.0-beta.2_@better-auth+core@1.8.0-beta.2_@better-auth+ut_5f0f3bb0a8341722fdbf9aede56101c1/node_modules/@better-auth/kysely-adapter/dist/d1-sqlite-dialect-m0f01-4z.mjs"
|
|
1245
1238
|
]
|
|
1246
1239
|
},
|
|
1240
|
+
"_dist-CetH4JSY.js": {
|
|
1241
|
+
"file": "assets/dist-CetH4JSY.js",
|
|
1242
|
+
"name": "dist",
|
|
1243
|
+
"imports": [
|
|
1244
|
+
"_index-CLddUTqr-CmgkbWi9.js"
|
|
1245
|
+
]
|
|
1246
|
+
},
|
|
1247
1247
|
"_error-CXy8gqdE.css": {
|
|
1248
1248
|
"file": "assets/error-CXy8gqdE.css",
|
|
1249
1249
|
"src": "_error-CXy8gqdE.css"
|
|
@@ -1274,18 +1274,18 @@
|
|
|
1274
1274
|
"assets/GeistMono-Variable-BRXCGrxA.woff2"
|
|
1275
1275
|
]
|
|
1276
1276
|
},
|
|
1277
|
-
"_factory-
|
|
1278
|
-
"file": "assets/factory-
|
|
1277
|
+
"_factory-g3i_Ffi5.js": {
|
|
1278
|
+
"file": "assets/factory-g3i_Ffi5.js",
|
|
1279
1279
|
"name": "factory",
|
|
1280
1280
|
"imports": [
|
|
1281
|
-
"_get-id-field-
|
|
1281
|
+
"_get-id-field-BpOAoqqI.js"
|
|
1282
1282
|
]
|
|
1283
1283
|
},
|
|
1284
|
-
"_get-id-field-
|
|
1285
|
-
"file": "assets/get-id-field-
|
|
1284
|
+
"_get-id-field-BpOAoqqI.js": {
|
|
1285
|
+
"file": "assets/get-id-field-BpOAoqqI.js",
|
|
1286
1286
|
"name": "get-id-field",
|
|
1287
1287
|
"imports": [
|
|
1288
|
-
"_core-
|
|
1288
|
+
"_core-FSS9-r35.js"
|
|
1289
1289
|
]
|
|
1290
1290
|
},
|
|
1291
1291
|
"_getPseudoElementBounds-PkWU72kn.js": {
|
|
@@ -1299,8 +1299,8 @@
|
|
|
1299
1299
|
"_ToolbarRootContext-BH_CFSWd.js"
|
|
1300
1300
|
]
|
|
1301
1301
|
},
|
|
1302
|
-
"_index-CLddUTqr-
|
|
1303
|
-
"file": "assets/index-CLddUTqr-
|
|
1302
|
+
"_index-CLddUTqr-CmgkbWi9.js": {
|
|
1303
|
+
"file": "assets/index-CLddUTqr-CmgkbWi9.js",
|
|
1304
1304
|
"name": "index-CLddUTqr",
|
|
1305
1305
|
"dynamicImports": [
|
|
1306
1306
|
"../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/arktype-aI7TBD0R.js",
|
|
@@ -1311,8 +1311,8 @@
|
|
|
1311
1311
|
"../../node_modules/.pnpm/@standard-community+standard-json@0.3.6_@standard-schema+spec@1.1.0_@types+json-schema@_49e48ef25430c4082238cf6ce450dfc5/node_modules/@standard-community/standard-json/dist/zod-Bwrt9trS.js"
|
|
1312
1312
|
]
|
|
1313
1313
|
},
|
|
1314
|
-
"_index-DZEfthgZ-
|
|
1315
|
-
"file": "assets/index-DZEfthgZ-
|
|
1314
|
+
"_index-DZEfthgZ-BnPmps9O.js": {
|
|
1315
|
+
"file": "assets/index-DZEfthgZ-BnPmps9O.js",
|
|
1316
1316
|
"name": "index-DZEfthgZ",
|
|
1317
1317
|
"dynamicImports": [
|
|
1318
1318
|
"../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.10_@standard-community+standard-json@0.3.6_@st_178912a7edb02e19ee9f083d85fa0d1d/node_modules/@standard-community/standard-openapi/dist/valibot-D_HTw1Gn.js",
|
|
@@ -1447,11 +1447,11 @@
|
|
|
1447
1447
|
"assets/GeistMono-Variable-BRXCGrxA.woff2"
|
|
1448
1448
|
]
|
|
1449
1449
|
},
|
|
1450
|
-
"_schema-check-
|
|
1451
|
-
"file": "assets/schema-check-
|
|
1450
|
+
"_schema-check-Bgwl1v0_.js": {
|
|
1451
|
+
"file": "assets/schema-check-Bgwl1v0_.js",
|
|
1452
1452
|
"name": "schema-check",
|
|
1453
1453
|
"imports": [
|
|
1454
|
-
"_get-id-field-
|
|
1454
|
+
"_get-id-field-BpOAoqqI.js"
|
|
1455
1455
|
]
|
|
1456
1456
|
},
|
|
1457
1457
|
"_secp256k1-yg8eeIYU.js": {
|
|
@@ -2056,18 +2056,18 @@
|
|
|
2056
2056
|
"_Authentication-BOkhlNQu.js",
|
|
2057
2057
|
"_call-dzi0xjZd.js",
|
|
2058
2058
|
"_Credential-DFjcrdyI.js",
|
|
2059
|
-
"_get-id-field-
|
|
2060
|
-
"_authorize-DXYo-K2n-
|
|
2061
|
-
"_schema-check-
|
|
2062
|
-
"_factory-
|
|
2059
|
+
"_get-id-field-BpOAoqqI.js",
|
|
2060
|
+
"_authorize-DXYo-K2n-B-6vqhvc.js",
|
|
2061
|
+
"_schema-check-Bgwl1v0_.js",
|
|
2062
|
+
"_factory-g3i_Ffi5.js",
|
|
2063
2063
|
"_ChainList-C4A_7e-9.js",
|
|
2064
2064
|
"_decodeFunctionData-bP6V2ai4.js",
|
|
2065
2065
|
"_ChainName-BMnJyJrd.js",
|
|
2066
|
-
"_index-CLddUTqr-
|
|
2067
|
-
"_dist-
|
|
2068
|
-
"_index-DZEfthgZ-
|
|
2066
|
+
"_index-CLddUTqr-CmgkbWi9.js",
|
|
2067
|
+
"_dist-CetH4JSY.js",
|
|
2068
|
+
"_index-DZEfthgZ-BnPmps9O.js",
|
|
2069
2069
|
"_sqlite-introspector-DSCAP82F-Crx7Ny14.js",
|
|
2070
|
-
"_dist-
|
|
2070
|
+
"_dist-B9KiBJYw.js"
|
|
2071
2071
|
],
|
|
2072
2072
|
"dynamicImports": [
|
|
2073
2073
|
"../../node_modules/.pnpm/@better-auth+memory-adapter@1.8.0-beta.2_@better-auth+core@1.8.0-beta.2_@better-auth+ut_457745fb4dc1fc8ad210b34cbbf04086/node_modules/@better-auth/memory-adapter/dist/index.mjs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grant-D_tun0mF.js","names":["REASONS.closePress","BaseUi.Popover.Close","BaseUi.Popover.Root","BaseUi.Popover.Trigger","_jsx","BaseUi.Popover.Arrow","styles","BaseUi.Popover.Description","BaseUi.Popover.Portal","BaseUi.Popover.Positioner","BaseUi.Popover.Popup","BaseUi.Popover.Title","_jsxs","_jsx","_jsxs","_jsx","__import_glob__0_0_","__import_glob__0_1_","__import_glob__0_2_","__import_glob__0_3_","__import_glob__0_4_","__import_glob__0_5_","__import_glob__0_6_","__import_glob__0_7_","__import_glob__0_8_","__import_glob__0_9_","__import_glob__0_10_","__import_glob__0_11_","__import_glob__0_12_","__import_glob__0_13_","__import_glob__0_14_","__import_glob__0_15_","__import_glob__0_16_","__import_glob__0_17_","__import_glob__0_18_","__import_glob__0_19_","__import_glob__0_20_","__import_glob__0_21_","__import_glob__0_22_","__import_glob__0_23_","__import_glob__0_24_","__import_glob__0_25_","__import_glob__0_26_","__import_glob__0_27_","__import_glob__0_28_","__import_glob__0_29_","__import_glob__0_30_","__import_glob__0_31_","__import_glob__0_32_","__import_glob__0_33_","__import_glob__0_34_","__import_glob__0_35_","__import_glob__0_36_","__import_glob__1_0_","__import_glob__1_1_","useId","useState","_Fragment","__toESM","require_react","require_jsx_runtime","InfoCircle","CheckCircle","Stack","createChangeEventDetails","useRenderElement","useButton","closePress","create","popupStateMapping","useBaseUiId","Tooltip","usePopoverPositionerContext","PopoverRoot","useClosePartRegistration","PopoverPortal","PopoverPositioner","PopoverTrigger","PopoverPopup","usePopoverRootContext","Callout","Inline","Tag","import_react","PopoverArrow","elementProps","componentProps","open","arrowUncentered","forwardedRef","arrowRef","arrowStyles","PopoverTitle","store","id","PopoverDescription","PopoverClose","nativeButton","buttonRef","event","getButtonProps","import_jsx_runtime","Popover","Arrow","attributes","props","styles$1","Description","Popup","Title","BadgeCheck","XCircle","BRLA_default","BRZ_default","CHFAU_default","DLUSD_default","EURAU_default","EURC_e_default","GBPA_default","GUSD_default","MACH_default","OUSD_default","PRIME_default","SBC_default","SEKAU_default","USD1_default","USDB_default","USDC_e_default","USDT0_default","USDY_default","USDe_default","YLDS_default","alphaUSD_default","betaUSD_default","cUSD_default","cbBTC_default","frxUSD_default","goUSD_default","iUSD_default","pathUSD_default","rUSD_default","reUSD_default","sUSDe_default","siUSD_default","stcUSD_default","syrupUSDC_default","thetaUSD_default","wYLDS_default","wsrUSD_default","OUSD_dark_default","OUSD_light_default","icons","file","url","logos","symbol","scheme","result","Grant","deniedId","detailsId","details","setDetails","Heading","channels","calls","call","topUp","styles","limits","limit","format","every","label","token","logo","icon","until","expiry","unrecognized","decimal","relative","spans","units","unit","seconds","period","entry","count","amount","remaining"],"sources":["../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/arrow/PopoverArrow.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/title/PopoverTitle.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/description/PopoverDescription.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/close/PopoverClose.mjs","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/components/Popover.css","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/components/Popover.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/icons/BadgeCheck.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/icons/XCircle.js","../../../components/icons/BRLA.png?no-inline","../../../components/icons/BRZ.svg?no-inline","../../../components/icons/CHFAU.png?no-inline","../../../components/icons/DLUSD.png?no-inline","../../../components/icons/EURAU.svg?no-inline","../../../components/icons/EURC.e.svg?no-inline","../../../components/icons/GBPA.svg?no-inline","../../../components/icons/GUSD.svg?no-inline","../../../components/icons/MACH.svg?no-inline","../../../components/icons/OUSD.svg?no-inline","../../../components/icons/PRIME.svg?no-inline","../../../components/icons/SBC.svg?no-inline","../../../components/icons/SEKAU.svg?no-inline","../../../components/icons/USD1.svg?no-inline","../../../components/icons/USDB.svg?no-inline","../../../components/icons/USDC.e.svg?no-inline","../../../components/icons/USDT0.svg?no-inline","../../../components/icons/USDY.svg?no-inline","../../../components/icons/USDe.svg?no-inline","../../../components/icons/YLDS.svg?no-inline","../../../components/icons/alphaUSD.svg?no-inline","../../../components/icons/betaUSD.svg?no-inline","../../../components/icons/cUSD.svg?no-inline","../../../components/icons/cbBTC.svg?no-inline","../../../components/icons/frxUSD.svg?no-inline","../../../components/icons/goUSD.svg?no-inline","../../../components/icons/iUSD.svg?no-inline","../../../components/icons/pathUSD.svg?no-inline","../../../components/icons/rUSD.svg?no-inline","../../../components/icons/reUSD.svg?no-inline","../../../components/icons/sUSDe.svg?no-inline","../../../components/icons/siUSD.svg?no-inline","../../../components/icons/stcUSD.svg?no-inline","../../../components/icons/syrupUSDC.svg?no-inline","../../../components/icons/thetaUSD.svg?no-inline","../../../components/icons/wYLDS.svg?no-inline","../../../components/icons/wsrUSD.svg?no-inline","../../../components/logos/OUSD.dark.svg?no-inline","../../../components/logos/OUSD.light.svg?no-inline","../../../components/Grant.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { usePopoverPositionerContext } from \"../positioner/PopoverPositionerContext.mjs\";\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * Displays an element positioned against the popover anchor.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverArrow = /*#__PURE__*/React.forwardRef(function PopoverArrow(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const open = store.useState('open');\n const {\n arrowRef,\n side,\n align,\n arrowUncentered,\n arrowStyles\n } = usePopoverPositionerContext();\n const state = {\n open,\n side,\n align,\n uncentered: arrowUncentered\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, arrowRef],\n props: [{\n style: arrowStyles,\n 'aria-hidden': true\n }, elementProps],\n stateAttributesMapping: popupStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverArrow.displayName = \"PopoverArrow\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n\n/**\n * A heading that labels the popover.\n * Renders an `<h2>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverTitle = /*#__PURE__*/React.forwardRef(function PopoverTitle(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('titleElementId', id);\n const element = useRenderElement('h2', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverTitle.displayName = \"PopoverTitle\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * A paragraph with additional information about the popover.\n * Renders a `<p>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverDescription = /*#__PURE__*/React.forwardRef(function PopoverDescription(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('descriptionElementId', id);\n const element = useRenderElement('p', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverDescription.displayName = \"PopoverDescription\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useButton } from \"../../internals/use-button/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useClosePartRegistration } from \"../../utils/closePart.mjs\";\n\n/**\n * A button that closes the popover.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverClose = /*#__PURE__*/React.forwardRef(function PopoverClose(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n disabled = false,\n nativeButton = true,\n ...elementProps\n } = componentProps;\n const {\n buttonRef,\n getButtonProps\n } = useButton({\n disabled,\n focusableWhenDisabled: false,\n native: nativeButton\n });\n const store = usePopoverRootContext();\n useClosePartRegistration();\n const element = useRenderElement('button', componentProps, {\n ref: [forwardedRef, buttonRef],\n props: [{\n onClick(event) {\n store.setOpen(false, createChangeEventDetails(REASONS.closePress, event.nativeEvent));\n }\n }, elementProps, getButtonProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverClose.displayName = \"PopoverClose\";",".z_tds_2f_web-WYxykg0{color:var(--z-tds_2f_web-color-background-raised,light-dark(#fff,#1f1e1e))}.z_tds_2f_web-WYxykg1{display:flex}.z_tds_2f_web-WYxykg2{&[data-side=bottom]{top:-10px}}.z_tds_2f_web-WYxykg3{&[data-side=left]{right:-14px}}.z_tds_2f_web-WYxykg4{&[data-side=left]{rotate:90deg}}.z_tds_2f_web-WYxykg5{&[data-side=right]{left:-14px}}.z_tds_2f_web-WYxykg6{&[data-side=right]{rotate:-90deg}}.z_tds_2f_web-WYxykg7{&[data-side=top]{bottom:-10px}}.z_tds_2f_web-WYxykg8{&[data-side=top]{rotate:180deg}}.z_tds_2f_web-WYxykg9{color:var(--z-tds_2f_web-color-gray-900,light-dark(#4d4d4d,#bcbbbb))}.z_tds_2f_web-WYxykga{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykgb{font-family:var(--z-tds_2f_web-typography-copy-14-fontFamily,Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\")}.z_tds_2f_web-WYxykgc{font-size:var(--z-tds_2f_web-typography-copy-14-fontSize,14px)}.z_tds_2f_web-WYxykgd{font-weight:var(--z-tds_2f_web-typography-copy-14-fontWeight,450)}.z_tds_2f_web-WYxykge{letter-spacing:var(--z-tds_2f_web-typography-copy-14-letterSpacing,-.09px)}.z_tds_2f_web-WYxykgf{line-height:var(--z-tds_2f_web-typography-copy-14-lineHeight,20px)}.z_tds_2f_web-WYxykgg{background-color:var(--z-tds_2f_web-color-background-raised,light-dark(#fff,#1f1e1e))}.z_tds_2f_web-WYxykgh{border-radius:var(--z-tds_2f_web-radius-16,1rem)}.z_tds_2f_web-WYxykgi{box-shadow:var(--z-tds_2f_web-shadow-popover,0 0 0 1px light-dark(#0000000f,#ffffff14), 0 8px 24px -4px #0000001f, 0 24px 48px -12px #00000029)}.z_tds_2f_web-WYxykgj{box-sizing:border-box}.z_tds_2f_web-WYxykgk{color:var(--z-tds_2f_web-color-foreground,light-dark(#171717,#fff))}.z_tds_2f_web-WYxykgl{max-width:var(--available-width)}.z_tds_2f_web-WYxykgm{outline:none}.z_tds_2f_web-WYxykgn{padding:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-WYxykgo{transform-origin:var(--transform-origin)}.z_tds_2f_web-WYxykgp{transition-duration:var(--z-tds_2f_web-transitionDuration-200,.2s)}.z_tds_2f_web-WYxykgq{transition-property:opacity,scale}.z_tds_2f_web-WYxykgr{transition-timing-function:var(--z-tds_2f_web-ease-snappy,cubic-bezier(.23, 1, .32, 1))}.z_tds_2f_web-WYxykgs{width:max-content}.z_tds_2f_web-WYxykgt{&[data-ending-style]{opacity:0}}.z_tds_2f_web-WYxykgu{&[data-ending-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}.z_tds_2f_web-WYxykgv{&[data-ending-style]{transition-duration:var(--z-tds_2f_web-transitionDuration-140,.14s)}}.z_tds_2f_web-WYxykgw{&[data-starting-style]{opacity:0}}.z_tds_2f_web-WYxykgx{&[data-starting-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}@media (prefers-reduced-motion:reduce){.z_tds_2f_web-WYxykgy{transition-property:opacity}.z_tds_2f_web-WYxykgz{&[data-ending-style],&[data-starting-style]{scale:none}}}.z_tds_2f_web-WYxykg10{z-index:var(--z-tds_2f_web-zIndex-popover,50)}.z_tds_2f_web-WYxykg11{font-family:var(--z-tds_2f_web-typography-heading-20-fontFamily,Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\")}.z_tds_2f_web-WYxykg12{font-size:var(--z-tds_2f_web-typography-heading-20-fontSize,20px)}.z_tds_2f_web-WYxykg13{font-weight:var(--z-tds_2f_web-typography-heading-20-fontWeight,600)}.z_tds_2f_web-WYxykg14{letter-spacing:var(--z-tds_2f_web-typography-heading-20-letterSpacing,-.33px)}.z_tds_2f_web-WYxykg15{line-height:var(--z-tds_2f_web-typography-heading-20-lineHeight,26px)}.z_tds_2f_web-WYxykg16{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykg17{margin-bottom:var(--z-tds_2f_web-spacing-4,.25rem)}","\nimport { Props as __zyzzProps } from 'zyzz/runtime';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as BaseUi from '@base-ui/react/popover';\nimport { style } from '../zyzz.config.js';\n/**\n * A non-modal `dialog` anchored to a trigger and opened on click. Opening moves focus to the first\n * tabbable element inside, or to the popup on touch. Escape and outside presses close it and\n * return focus to the trigger.\n *\n * - Use it for interactive or longer content. Use `Tooltip` for a short hint on hover.\n * - Include `Title` so the dialog has an accessible name, and `Description` for supporting text.\n * - Offer `Close` when the popup holds a form or other controls.\n *\n * @example\n * <Popover.Root>\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n * <Popover.Popup>\n * <Popover.Title>Network fee</Popover.Title>\n * <Popover.Description>Paid in the token you send.</Popover.Description>\n * </Popover.Popup>\n * </Popover.Root>\n *\n * @see {@link https://base-ui.com/react/components/popover | Base UI Popover}\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Popover_API | MDN Popover API}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html | WCAG 2.2 Content on Hover or Focus}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html | WCAG 2.2 Focus Order}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html | WCAG 2.2 Keyboard}\n */\nexport var Popover;\n(function (Popover) {\n /** Renders a `button` that closes the popover. Pass `render` to use a `Button`. */\n Popover.Close = BaseUi.Popover.Close;\n /**\n * Owns the open state. Pass `open` and `onOpenChange` to control it. Unless `modal` is set, the\n * page stays interactive while the popover is open.\n */\n Popover.Root = BaseUi.Popover.Root;\n /**\n * Toggles the popover on click and anchors the popup. Set `openOnHover` to also open it on hover.\n *\n * @example\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n */\n Popover.Trigger = BaseUi.Popover.Trigger;\n /** Draws a pointer toward the trigger on the popup's anchored side. Place it inside `Popup`. */\n function Arrow(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Arrow, { ...attributes, ...styles.arrow({ className, style: props.style, vars }), children: _jsx(\"svg\", { \"aria-hidden\": \"true\", fill: \"currentColor\", height: \"10\", viewBox: \"0 0 20 10\", width: \"20\", children: _jsx(\"path\", { d: \"M0 10C4 10 7 7 8.6 4.6a2 2 0 0 1 2.8 0C13 7 16 10 20 10Z\" }) }) }));\n }\n Popover.Arrow = Arrow;\n /** Renders a `p` that describes the popup through `aria-describedby`. */\n function Description(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Description, { ...attributes, ...styles.description({ className, style: props.style, vars }) }));\n }\n Popover.Description = Description;\n /**\n * Renders the portal, positioner and popup. Placement props go to the positioner, which sits 8px\n * from the trigger unless `sideOffset` is set. Other props, `ref`, `className` and `style` reach\n * the popup. `initialFocus` and `finalFocus` override where focus moves on open and close.\n */\n function Popup(props) {\n const { align, alignOffset, anchor, className, collisionPadding, side, sideOffset = 8, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Portal, { children: _jsx(BaseUi.Popover.Positioner, { ...styles.positioner(), align: align, alignOffset: alignOffset, anchor: anchor, collisionPadding: collisionPadding, side: side, sideOffset: sideOffset, children: _jsx(BaseUi.Popover.Popup, { ...attributes, ...styles.popup({ className, style: props.style, vars }) }) }) }));\n }\n Popover.Popup = Popup;\n /** Renders an `h2` that names the popup through `aria-labelledby`. */\n function Title(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Title, { ...attributes, ...styles.title({ className, style: props.style, vars }) }));\n }\n Popover.Title = Title;\n})(Popover || (Popover = {}));\nvar styles;\n(function (styles) {\n styles.arrow = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg0 z_tds_2f_web-WYxykg1 z_tds_2f_web-WYxykg2 z_tds_2f_web-WYxykg3 z_tds_2f_web-WYxykg4 z_tds_2f_web-WYxykg5 z_tds_2f_web-WYxykg6 z_tds_2f_web-WYxykg7 z_tds_2f_web-WYxykg8\"});\n styles.description = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg9 z_tds_2f_web-WYxykga z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf\"});\n styles.popup = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykgg z_tds_2f_web-WYxykgh z_tds_2f_web-WYxykgi z_tds_2f_web-WYxykgj z_tds_2f_web-WYxykgk z_tds_2f_web-WYxykgl z_tds_2f_web-WYxykgm z_tds_2f_web-WYxykgn z_tds_2f_web-WYxykgo z_tds_2f_web-WYxykgp z_tds_2f_web-WYxykgq z_tds_2f_web-WYxykgr z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf z_tds_2f_web-WYxykgs z_tds_2f_web-WYxykgt z_tds_2f_web-WYxykgu z_tds_2f_web-WYxykgv z_tds_2f_web-WYxykgw z_tds_2f_web-WYxykgx z_tds_2f_web-WYxykgy z_tds_2f_web-WYxykgz\"});\n styles.positioner = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg10\"});\n styles.title = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg11 z_tds_2f_web-WYxykg12 z_tds_2f_web-WYxykg13 z_tds_2f_web-WYxykg14 z_tds_2f_web-WYxykg15 z_tds_2f_web-WYxykg16 z_tds_2f_web-WYxykg17\"});\n})(styles || (styles = {}));\n//# sourceMappingURL=Popover.js.map\nimport './Popover.css';\n","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function BadgeCheck(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.9691 6.50791C10.1268 6.28127 10.4387 6.2253 10.6654 6.38291C10.8915 6.54061 10.9476 6.85173 10.7904 7.07822L8.1859 10.8253C8.10463 10.9422 7.97661 11.0189 7.83532 11.0362C7.69403 11.0533 7.5516 11.009 7.44469 10.9151L5.95641 9.60361C5.74921 9.42107 5.72894 9.10476 5.91149 8.89756C6.09407 8.69075 6.4095 8.67124 6.61657 8.85361L7.68395 9.79306L9.9691 6.50791Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.67516 1.61826C8.13077 1.16265 8.86994 1.16265 9.32555 1.61826L10.7591 3.05185C10.7902 3.08262 10.8326 3.10058 10.8763 3.10068H12.7338C13.3779 3.10081 13.9006 3.62258 13.9007 4.2667V6.12412C13.9009 6.16817 13.9184 6.21112 13.9496 6.24228L15.3832 7.6749C15.8384 8.13047 15.8385 8.86977 15.3832 9.32529L13.9496 10.7589C13.9185 10.79 13.9008 10.8321 13.9007 10.8761V12.7335C13.9005 13.3776 13.3778 13.9004 12.7338 13.9005H10.8763C10.8323 13.9006 10.7903 13.9182 10.7591 13.9493L9.32555 15.3829C8.87002 15.8381 8.1307 15.8381 7.67516 15.3829L6.24254 13.9493C6.21134 13.9181 6.16849 13.9005 6.12438 13.9005H4.26696C3.6229 13.9003 3.10117 13.3775 3.10094 12.7335V10.8761C3.10084 10.8323 3.08288 10.79 3.05211 10.7589L1.61852 9.32529C1.16294 8.86971 1.163 8.13052 1.61852 7.6749L3.05211 6.24228C3.08324 6.21113 3.10083 6.16815 3.10094 6.12412V4.2667C3.1011 3.62259 3.62285 3.10084 4.26696 3.10068H6.12438C6.16843 3.10062 6.21135 3.08297 6.24254 3.05185L7.67516 1.61826ZM8.61852 2.32529C8.5535 2.26027 8.44827 2.26042 8.38317 2.32529L6.94957 3.75888C6.73085 3.97753 6.43365 4.10062 6.12438 4.10068H4.26696C4.17514 4.10084 4.1011 4.17488 4.10094 4.2667V6.12412C4.10083 6.43336 3.97781 6.73062 3.75914 6.94931L2.32555 8.38291C2.26077 8.44802 2.26056 8.55327 2.32555 8.61826L3.75914 10.0519C3.97744 10.2705 4.10084 10.5671 4.10094 10.8761V12.7335C4.10117 12.8253 4.17518 12.9003 4.26696 12.9005H6.12438C6.43371 12.9005 6.73084 13.0235 6.94957 13.2423L8.38317 14.6749C8.44825 14.7396 8.55353 14.7398 8.61852 14.6749L10.0521 13.2423C10.2708 13.0236 10.5671 12.9006 10.8763 12.9005H12.7338C12.8256 12.9004 12.9005 12.8253 12.9007 12.7335V10.8761C12.9008 10.5669 13.0239 10.2705 13.2425 10.0519L14.6752 8.61826C14.7401 8.55328 14.7399 8.44802 14.6752 8.38291L13.2425 6.94931C13.0239 6.73062 12.9009 6.43339 12.9007 6.12412V4.2667C12.9006 4.17486 12.8256 4.10081 12.7338 4.10068H10.8763C10.5674 4.10058 10.2708 3.97719 10.0521 3.75888L8.61852 2.32529Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=BadgeCheck.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function XCircle(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.64648 5.64648C9.84175 5.45122 10.1583 5.45122 10.3535 5.64648C10.5487 5.84175 10.5488 6.15827 10.3535 6.35352L8.70703 8L10.3535 9.64648C10.5487 9.84175 10.5488 10.1583 10.3535 10.3535C10.1583 10.5488 9.84175 10.5487 9.64648 10.3535L8 8.70703L6.35352 10.3535C6.15827 10.5488 5.84175 10.5487 5.64648 10.3535C5.45122 10.1583 5.45122 9.84175 5.64648 9.64648L7.29297 8L5.64648 6.35352C5.45122 6.15825 5.45122 5.84175 5.64648 5.64648C5.84175 5.45122 6.15825 5.45122 6.35352 5.64648L8 7.29297L9.64648 5.64648Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 1.33301C11.6817 1.33318 14.666 4.31919 14.666 8.00098C14.6656 11.6824 11.6815 14.6668 8 14.667C4.31837 14.667 1.33345 11.6825 1.33301 8.00098C1.33301 4.31908 4.3181 1.33301 8 1.33301ZM8 2.33398C4.87039 2.33398 2.33301 4.87137 2.33301 8.00098C2.33345 11.1302 4.87066 13.667 8 13.667C11.1292 13.6668 13.6656 11.1301 13.666 8.00098C13.666 4.87147 11.1294 2.33416 8 2.33398Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=XCircle.js.map","export default import.meta.ROLLDOWN_FILE_URL_Msg57USEadASvSStYSdmzA","export default import.meta.ROLLDOWN_FILE_URL__ewJD0zO9$SsiDvawfmAUw","export default import.meta.ROLLDOWN_FILE_URL_gOpBNSELCNdnM_yZlyA5OQ","export default import.meta.ROLLDOWN_FILE_URL_U2YZxvNlcnuoWcGKwa9Wsw","export default import.meta.ROLLDOWN_FILE_URL_epdbhdyBUyD3hvxx0_dcTg","export default import.meta.ROLLDOWN_FILE_URL_dJ$ULFcuzX43djbIEsCZPw","export default import.meta.ROLLDOWN_FILE_URL_ykb1zIozoJBMq4UvQnlhcQ","export default import.meta.ROLLDOWN_FILE_URL_BjjUHagISQHtPWYmu3KuwQ","export default import.meta.ROLLDOWN_FILE_URL_ZoP2ebLT5e$hm8jPkF9mgA","export default import.meta.ROLLDOWN_FILE_URL_2$LtLFQdS6IeO$uJxLxRJQ","export default import.meta.ROLLDOWN_FILE_URL_m8R6TgWxwop2r_xOIPNRtg","export default import.meta.ROLLDOWN_FILE_URL_cLZLOsSELI_GmwKcVOKKRw","export default import.meta.ROLLDOWN_FILE_URL_rN_1li4k2aIbHGs0zKW8QQ","export default import.meta.ROLLDOWN_FILE_URL_6MQCagmCrZzS5dHPKhXWKQ","export default import.meta.ROLLDOWN_FILE_URL_OestAvA2SyLT4CG6L76dAw","export default import.meta.ROLLDOWN_FILE_URL_hO4dd8ILk$iZF7aFIOUkdg","export default import.meta.ROLLDOWN_FILE_URL_pADEGV0e5Qot5ZhzD_GrLg","export default import.meta.ROLLDOWN_FILE_URL_SH3JcDOvWNcn2WIvxBnLpg","export default import.meta.ROLLDOWN_FILE_URL_K1daVVNYU_lXF$FdA5v55g","export default import.meta.ROLLDOWN_FILE_URL_7PUm3F_uVf$21BIFLSklvQ","export default import.meta.ROLLDOWN_FILE_URL_E8wuXQ_AmxPT2QBGX_$9Vw","export default import.meta.ROLLDOWN_FILE_URL_9kBTUqaINCHDANxrI10WCw","export default import.meta.ROLLDOWN_FILE_URL_C$4kQWR6NkPB83QJdL0WCQ","export default import.meta.ROLLDOWN_FILE_URL_2ZEzIIM_atdpHcr$6kvj$Q","export default import.meta.ROLLDOWN_FILE_URL_q6tfGKm3Qmt5DJmATeHQdA","export default import.meta.ROLLDOWN_FILE_URL_nJkgIVJgL11RgZiGUBj6wA","export default import.meta.ROLLDOWN_FILE_URL_tgFyw$X211zXSctfMU9_LA","export default import.meta.ROLLDOWN_FILE_URL_aLISaAY6NSiJFT$6GdtrfA","export default import.meta.ROLLDOWN_FILE_URL_LphhLScmzwPqWwTyAbd7ig","export default import.meta.ROLLDOWN_FILE_URL_y3WuTrdTs_Si7uYpRddj9w","export default import.meta.ROLLDOWN_FILE_URL_0PgJxXqjw$KAl6PgZjQb5g","export default import.meta.ROLLDOWN_FILE_URL_U6muqRGa8aHtq8t0c9wAzg","export default import.meta.ROLLDOWN_FILE_URL_i2ywl_YzKp2MjtOEr7ngzA","export default import.meta.ROLLDOWN_FILE_URL_TX5a1iViCylaCWPFSCQG2w","export default import.meta.ROLLDOWN_FILE_URL_kSHvwCjLFxLpY3FM1MyAsA","export default import.meta.ROLLDOWN_FILE_URL_07gvO1IvTzTCTyYqp_a5mw","export default import.meta.ROLLDOWN_FILE_URL_yW_eMvu1QqHghXJHMLbBbg","export default import.meta.ROLLDOWN_FILE_URL_EsSyonNWXFChOyjfj2S3nw","export default import.meta.ROLLDOWN_FILE_URL_zOyQqdNGsn0lL_XEFrarVA","/** Shows a requested key's limits and expiry, and warns about unrecognized calls. @module */\nimport { Callout, Inline, Popover, Stack, Tag, Tooltip } from '@tempoxyz/ds'\nimport { CheckCircle, InfoCircle, XCircle } from '@tempoxyz/ds/icons'\nimport { type ReactNode, useId, useState } from 'react'\nimport type * as KeyAuthorization from '../../internal/KeyAuthorization.js'\nimport { style } from '../zyzz.config.js'\n\n/**\n * Each token's icon URL, by symbol. Each icon stays its own file, since an inlined icon would put\n * every token's icon in the script of each page that shows a key.\n */\nconst icons = Object.fromEntries(\n Object.entries(\n import.meta.glob<string>('./icons/*.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n ).map(([file, url]) => [\n file.slice('./icons/'.length, file.lastIndexOf('.')),\n url,\n ]),\n)\n\n/** Logos from `logos/`, by symbol and color scheme, each its own file. A logo replaces the icon. */\nconst logos = Object.entries(\n import.meta.glob<string>('./logos/*.{light,dark}.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n).reduce<Record<string, { dark?: string; light?: string }>>(\n (result, [file, url]) => {\n const [, symbol, scheme] = file.match(\n /^\\.\\/logos\\/(.+)\\.(light|dark)\\.\\w+$/,\n )!\n result[symbol!] = { ...result[symbol!], [scheme!]: url }\n return result\n },\n {},\n)\n\n/** What the requested key may and may not do, with its limits and expiry. */\nexport function Grant(props: Grant.Props): ReactNode {\n // Several grants can share a document, so each derives its own IDs.\n const id = useId()\n const deniedId = useId()\n const detailsId = useId()\n // The unrecognized calls stay collapsed under their one-line warning until the user opens them.\n const [details, setDetails] = useState(false)\n const { calls, expiry, limits, unrecognized } = props.keyAuthorization\n const Heading = props.heading ?? 'h2'\n // MPP sessions pay through payment channels, which `open` starts and `topUp` funds. Both read as\n // funds the app holds, since a channel is an escrow that the service draws from.\n const channels = (() => {\n const open = calls.some((call) => call.call === 'open')\n const topUp = calls.some((call) => call.call === 'topUp')\n if (open) return 'Hold funds for services'\n if (topUp) return 'Add to funds it holds for services'\n return undefined\n })()\n return (\n <>\n <Stack\n {...styles.section()}\n aria-labelledby={id}\n gap=\"24\"\n render={<section />}\n >\n {props.chain ? (\n <Tag\n {...styles.chain()}\n aria-label={`Chain: ${props.chain}`}\n intent=\"neutral\"\n shape=\"rounded\"\n size=\"small\"\n >\n {props.chain}\n </Tag>\n ) : null}\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={id}>\n This app will be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={id}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>View your balance and activity</span>\n </Inline>\n {limits.map((limit) => (\n <Inline\n gap=\"8\"\n key={`${limit.currency}:${limit.period ?? 0}`}\n render={<li />}\n >\n <CheckCircle {...styles.allowed()} />\n <span>\n Spend{' '}\n {limit.period\n ? `${format(limit)} ${every(limit.period)}`\n : format(limit)}\n </span>\n <span {...styles.icons()}>\n {limit.tokens.map((token) => {\n // Each token's own limit shows on its icon, since the total spans several.\n const label = `${token.symbol}: ${format({ amount: token.amount, currency: limit.currency })}`\n const logo = logos[token.symbol]\n const icon = logo?.light ?? icons[token.symbol]\n return (\n <Tooltip.Root key={token.symbol}>\n <Tooltip.Trigger\n delay={150}\n render={\n <span {...styles.token()} tabIndex={0}>\n {icon ? (\n // The page follows the system color scheme, so the image does too.\n <picture>\n {logo?.dark ? (\n <source\n media=\"(prefers-color-scheme: dark)\"\n srcSet={logo.dark}\n />\n ) : null}\n <img\n {...styles.icon()}\n alt={label}\n height={20}\n src={icon}\n width={20}\n />\n </picture>\n ) : (\n // A token without a logo shows its initial.\n <span\n {...styles.placeholder()}\n aria-label={label}\n role=\"img\"\n >\n {token.symbol[0]}\n </span>\n )}\n </span>\n }\n />\n <Tooltip.Popup>{label}</Tooltip.Popup>\n </Tooltip.Root>\n )\n })}\n </span>\n </Inline>\n ))}\n {channels ? (\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>\n {channels.slice(0, channels.lastIndexOf(' ') + 1)}\n {/* The last word and the icon wrap together. */}\n <span {...styles.nowrap()}>\n {channels.slice(channels.lastIndexOf(' ') + 1)}{' '}\n <Popover.Root>\n <Popover.Trigger\n aria-label=\"About funds for services\"\n nativeButton={false}\n openOnHover\n render={<InfoCircle {...styles.info()} tabIndex={0} />}\n />\n <Popover.Popup\n {...styles.popup()}\n aria-label=\"Funds for services\"\n >\n <Popover.Description>\n Set aside for pay-as-you-go services that use{' '}\n <a\n {...styles.popupLink()}\n href=\"https://mpp.dev\"\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n MPP\n </a>\n . They take only what you use, and you get the rest\n back.\n </Popover.Description>\n </Popover.Popup>\n </Popover.Root>\n </span>\n </span>\n </Inline>\n ) : null}\n </Stack>\n </Stack>\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={deniedId}>\n This app won’t be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={deniedId}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <XCircle {...styles.denied()} />\n <span>Spend more than you approve</span>\n </Inline>\n </Stack>\n </Stack>\n <Stack {...styles.details()} gap=\"8\" render={<dl />}>\n <div>\n <dt {...styles.term()}>Expires</dt>{' '}\n <dd {...styles.value()}>\n {until(expiry)}{' '}\n {/* The tooltip's text never reaches the server render, so it shows the visitor's own time zone. */}\n <Tooltip.Root>\n <Tooltip.Trigger\n delay={150}\n render={\n <InfoCircle\n {...styles.info()}\n aria-label=\"Expiry date\"\n role=\"img\"\n tabIndex={0}\n />\n }\n />\n <Tooltip.Popup>\n {new Date(expiry * 1000).toLocaleString(undefined, {\n day: 'numeric',\n hour: 'numeric',\n minute: '2-digit',\n month: 'short',\n timeZoneName: 'short',\n year: 'numeric',\n })}\n </Tooltip.Popup>\n </Tooltip.Root>\n </dd>\n </div>\n </Stack>\n </Stack>\n {unrecognized.length ? (\n // A note, not an alert, since the calls are part of the request and interrupt nothing.\n <Callout intent=\"warning\" role=\"note\" size=\"medium\">\n <Callout.Icon />\n <Callout.Content>\n <Stack gap=\"8\">\n <p {...styles.warningTitle()}>This app can take other actions</p>\n {details ? (\n <Stack gap=\"8\" id={detailsId}>\n <p {...styles.warningText()}>\n Tempo ID can’t tell you what these actions do. Approve only\n if you trust this app.\n </p>\n </Stack>\n ) : null}\n </Stack>\n </Callout.Content>\n <Callout.Action\n aria-controls={detailsId}\n aria-expanded={details}\n onClick={() => setDetails((open) => !open)}\n >\n {details ? 'Hide' : 'Show'}\n </Callout.Action>\n </Callout>\n ) : null}\n </>\n )\n}\n\nexport declare namespace Grant {\n type Props = {\n /** The key's chain, shown in the corner. Absent, none shows. */\n chain?: string | undefined\n /** `h2` by default, or `h5` on the flows canvas. */\n heading?: 'h2' | 'h5' | undefined\n /** The key that the app requests. */\n keyAuthorization: KeyAuthorization.Description\n }\n}\n\n/**\n * Groups thousands and keeps every decimal. Each formatter is built at its first use, since a page's\n * first one loads the locale's data, which a page that shows no key never needs.\n */\nlet decimal: Intl.NumberFormat | undefined\n\n/** Formats an expiry's distance, such as `in 7 days`, from its first use. */\nlet relative: Intl.RelativeTimeFormat | undefined\n\n/** The spans of an expiry, largest first. Months and years are approximate. */\nconst spans = [\n ['year', 31_536_000],\n ['month', 2_592_000],\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n] as const\n\n/** The units of a period, largest first. */\nconst units = [\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n ['second', 1],\n] as const\n\n/** Returns how often a limit resets, such as `per day` or `every 2 weeks`. */\nfunction every(period: number) {\n const [unit, seconds] = units.find((entry) => period % entry[1] === 0)!\n const count = period / seconds\n return count === 1 ? `per ${unit}` : `every ${count} ${unit}s`\n}\n\n/** Formats a limit in its currency, such as `$1,000`, or as the amount and its code. */\nfunction format(\n limit: Pick<\n KeyAuthorization.Description['limits'][number],\n 'amount' | 'currency'\n >,\n) {\n const amount = limit.amount as Intl.StringNumericLiteral\n try {\n return new Intl.NumberFormat('en-US', {\n currency: limit.currency,\n maximumFractionDigits: 6,\n style: 'currency',\n trailingZeroDisplay: 'stripIfInteger',\n }).format(amount)\n } catch {\n // A yield-bearing token's own symbol is not a currency code.\n decimal ??= new Intl.NumberFormat('en-US', { maximumFractionDigits: 20 })\n return `${decimal.format(amount)} ${limit.currency}`\n }\n}\n\n/**\n * Returns the time until `expiry`, in Unix seconds, in its largest whole span, such as\n * `in 3 months`.\n */\nfunction until(expiry: number) {\n const remaining = expiry - Date.now() / 1000\n const [unit, seconds] =\n spans.find((entry) => remaining + 60 >= entry[1]) ?? spans.at(-1)!\n relative ??= new Intl.RelativeTimeFormat('en-US', { numeric: 'always' })\n return relative.format(Math.max(1, Math.round(remaining / seconds)), unit)\n}\n\nnamespace styles {\n export const allowed = style({\n color: 'green.700',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n export const chain = style({\n insetBlockStart: '16',\n insetInlineEnd: '16',\n position: 'absolute',\n })\n\n export const denied = style({\n color: 'red.700',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n // Each term and its value read as one line of text.\n export const details = style({ margin: '0', typography: 'copy.14' })\n\n export const heading = style({\n color: 'gray.900',\n margin: '0',\n typography: 'copy.14',\n })\n\n export const icon = style({\n borderRadius: 'full',\n display: 'block',\n height: '20',\n width: '20',\n })\n\n // Several tokens overlap, and spread apart while hovered so each symbol can show.\n export const icons = style({\n display: 'flex',\n flexShrink: 0,\n '& > span + span': { marginInlineStart: '-0.375rem !custom' },\n '&:hover > span + span': { marginInlineStart: '4' },\n })\n\n export const info = style({\n color: 'gray.900',\n display: 'inline',\n height: '16',\n outline: 'none',\n verticalAlign: 'middle',\n width: '16',\n ':focus-visible': {\n outline: '2px solid',\n outlineColor: 'blue.700',\n outlineOffset: '2',\n },\n })\n\n export const list = style({\n listStyle: 'none',\n margin: '0',\n padding: '0',\n typography: 'label.14.strong',\n })\n\n export const nowrap = style({ whiteSpace: 'nowrap' })\n\n export const placeholder = style({\n alignItems: 'center',\n backgroundColor: 'background.surface',\n borderRadius: 'full',\n color: 'gray.900',\n display: 'flex',\n height: '20',\n justifyContent: 'center',\n typography: 'label.12',\n width: '20',\n })\n\n export const popup = style({ maxWidth: '256' })\n\n export const popupLink = style({ color: 'blue.700' })\n\n export const section = style({\n backgroundColor: 'gray.100',\n borderRadius: '16',\n margin: '0',\n padding: '20',\n // The chain's tag sits in the section's top-right corner.\n position: 'relative',\n })\n\n export const term = style({ color: 'gray.900', display: 'inline' })\n\n // The ring matches the section's fill, so overlapping tokens stay apart.\n export const token = style({\n borderRadius: 'full',\n outline: '2px solid',\n outlineColor: 'gray.100',\n ':focus-visible': { outlineColor: 'blue.700' },\n // Under reduced motion, the tokens spread apart without a transition.\n '@media (prefers-reduced-motion: no-preference)': {\n transitionDuration: '150',\n transitionProperty: 'margin',\n transitionTimingFunction: 'in-out',\n },\n })\n\n // The expiry reads in the weight of the permissions above it.\n export const value = style({\n display: 'inline',\n margin: '0',\n overflowWrap: 'anywhere',\n typography: 'label.14.strong',\n })\n\n export const warningText = style({ color: 'foreground' })\n\n export const warning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,CAAA,E"}
|
|
1
|
+
{"version":3,"file":"Grant-D_tun0mF.js","names":["REASONS.closePress","BaseUi.Popover.Close","BaseUi.Popover.Root","BaseUi.Popover.Trigger","_jsx","BaseUi.Popover.Arrow","styles","BaseUi.Popover.Description","BaseUi.Popover.Portal","BaseUi.Popover.Positioner","BaseUi.Popover.Popup","BaseUi.Popover.Title","_jsxs","_jsx","_jsxs","_jsx","__import_glob__0_0_","__import_glob__0_1_","__import_glob__0_2_","__import_glob__0_3_","__import_glob__0_4_","__import_glob__0_5_","__import_glob__0_6_","__import_glob__0_7_","__import_glob__0_8_","__import_glob__0_9_","__import_glob__0_10_","__import_glob__0_11_","__import_glob__0_12_","__import_glob__0_13_","__import_glob__0_14_","__import_glob__0_15_","__import_glob__0_16_","__import_glob__0_17_","__import_glob__0_18_","__import_glob__0_19_","__import_glob__0_20_","__import_glob__0_21_","__import_glob__0_22_","__import_glob__0_23_","__import_glob__0_24_","__import_glob__0_25_","__import_glob__0_26_","__import_glob__0_27_","__import_glob__0_28_","__import_glob__0_29_","__import_glob__0_30_","__import_glob__0_31_","__import_glob__0_32_","__import_glob__0_33_","__import_glob__0_34_","__import_glob__0_35_","__import_glob__0_36_","__import_glob__1_0_","__import_glob__1_1_","useId","useState","_Fragment","__toESM","require_react","require_jsx_runtime","InfoCircle","CheckCircle","Stack","createChangeEventDetails","useRenderElement","useButton","closePress","create","popupStateMapping","useBaseUiId","Tooltip","usePopoverPositionerContext","PopoverRoot","useClosePartRegistration","PopoverPortal","PopoverPositioner","PopoverTrigger","PopoverPopup","usePopoverRootContext","Callout","Inline","Tag","import_react","PopoverArrow","elementProps","componentProps","open","arrowUncentered","forwardedRef","arrowRef","arrowStyles","PopoverTitle","store","id","PopoverDescription","PopoverClose","nativeButton","buttonRef","event","getButtonProps","import_jsx_runtime","Popover","Arrow","attributes","props","styles$1","Description","Popup","Title","BadgeCheck","XCircle","BRLA_default","BRZ_default","CHFAU_default","DLUSD_default","EURAU_default","EURC_e_default","GBPA_default","GUSD_default","MACH_default","OUSD_default","PRIME_default","SBC_default","SEKAU_default","USD1_default","USDB_default","USDC_e_default","USDT0_default","USDY_default","USDe_default","YLDS_default","alphaUSD_default","betaUSD_default","cUSD_default","cbBTC_default","frxUSD_default","goUSD_default","iUSD_default","pathUSD_default","rUSD_default","reUSD_default","sUSDe_default","siUSD_default","stcUSD_default","syrupUSDC_default","thetaUSD_default","wYLDS_default","wsrUSD_default","OUSD_dark_default","OUSD_light_default","icons","file","url","logos","symbol","scheme","result","Grant","deniedId","detailsId","details","setDetails","Heading","channels","calls","call","topUp","styles","limits","limit","format","every","label","token","logo","icon","until","expiry","unrecognized","decimal","relative","spans","units","unit","seconds","period","entry","count","amount","remaining"],"sources":["../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/arrow/PopoverArrow.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/title/PopoverTitle.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/description/PopoverDescription.mjs","../../../../../node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/popover/close/PopoverClose.mjs","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/components/Popover.css","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/components/Popover.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/icons/BadgeCheck.js","../../../../../node_modules/.pnpm/@tempoxyz+ds@0.2.6_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react-native@0.86_f564df10a26f3190a3aaf6288ad1f3d1/node_modules/@tempoxyz/ds/dist/web/icons/XCircle.js","../../../components/icons/BRLA.png?no-inline","../../../components/icons/BRZ.svg?no-inline","../../../components/icons/CHFAU.png?no-inline","../../../components/icons/DLUSD.png?no-inline","../../../components/icons/EURAU.svg?no-inline","../../../components/icons/EURC.e.svg?no-inline","../../../components/icons/GBPA.svg?no-inline","../../../components/icons/GUSD.svg?no-inline","../../../components/icons/MACH.svg?no-inline","../../../components/icons/OUSD.svg?no-inline","../../../components/icons/PRIME.svg?no-inline","../../../components/icons/SBC.svg?no-inline","../../../components/icons/SEKAU.svg?no-inline","../../../components/icons/USD1.svg?no-inline","../../../components/icons/USDB.svg?no-inline","../../../components/icons/USDC.e.svg?no-inline","../../../components/icons/USDT0.svg?no-inline","../../../components/icons/USDY.svg?no-inline","../../../components/icons/USDe.svg?no-inline","../../../components/icons/YLDS.svg?no-inline","../../../components/icons/alphaUSD.svg?no-inline","../../../components/icons/betaUSD.svg?no-inline","../../../components/icons/cUSD.svg?no-inline","../../../components/icons/cbBTC.svg?no-inline","../../../components/icons/frxUSD.svg?no-inline","../../../components/icons/goUSD.svg?no-inline","../../../components/icons/iUSD.svg?no-inline","../../../components/icons/pathUSD.svg?no-inline","../../../components/icons/rUSD.svg?no-inline","../../../components/icons/reUSD.svg?no-inline","../../../components/icons/sUSDe.svg?no-inline","../../../components/icons/siUSD.svg?no-inline","../../../components/icons/stcUSD.svg?no-inline","../../../components/icons/syrupUSDC.svg?no-inline","../../../components/icons/thetaUSD.svg?no-inline","../../../components/icons/wYLDS.svg?no-inline","../../../components/icons/wsrUSD.svg?no-inline","../../../components/logos/OUSD.dark.svg?no-inline","../../../components/logos/OUSD.light.svg?no-inline","../../../components/Grant.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { usePopoverPositionerContext } from \"../positioner/PopoverPositionerContext.mjs\";\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * Displays an element positioned against the popover anchor.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverArrow = /*#__PURE__*/React.forwardRef(function PopoverArrow(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const open = store.useState('open');\n const {\n arrowRef,\n side,\n align,\n arrowUncentered,\n arrowStyles\n } = usePopoverPositionerContext();\n const state = {\n open,\n side,\n align,\n uncentered: arrowUncentered\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, arrowRef],\n props: [{\n style: arrowStyles,\n 'aria-hidden': true\n }, elementProps],\n stateAttributesMapping: popupStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverArrow.displayName = \"PopoverArrow\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n\n/**\n * A heading that labels the popover.\n * Renders an `<h2>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverTitle = /*#__PURE__*/React.forwardRef(function PopoverTitle(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('titleElementId', id);\n const element = useRenderElement('h2', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverTitle.displayName = \"PopoverTitle\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\n\n/**\n * A paragraph with additional information about the popover.\n * Renders a `<p>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverDescription = /*#__PURE__*/React.forwardRef(function PopoverDescription(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = usePopoverRootContext();\n const id = useBaseUiId(elementProps.id);\n store.useSyncedValueWithCleanup('descriptionElementId', id);\n const element = useRenderElement('p', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverDescription.displayName = \"PopoverDescription\";","'use client';\n\nimport * as React from 'react';\nimport { usePopoverRootContext } from \"../root/PopoverRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useButton } from \"../../internals/use-button/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useClosePartRegistration } from \"../../utils/closePart.mjs\";\n\n/**\n * A button that closes the popover.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover)\n */\nexport const PopoverClose = /*#__PURE__*/React.forwardRef(function PopoverClose(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n disabled = false,\n nativeButton = true,\n ...elementProps\n } = componentProps;\n const {\n buttonRef,\n getButtonProps\n } = useButton({\n disabled,\n focusableWhenDisabled: false,\n native: nativeButton\n });\n const store = usePopoverRootContext();\n useClosePartRegistration();\n const element = useRenderElement('button', componentProps, {\n ref: [forwardedRef, buttonRef],\n props: [{\n onClick(event) {\n store.setOpen(false, createChangeEventDetails(REASONS.closePress, event.nativeEvent));\n }\n }, elementProps, getButtonProps]\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") PopoverClose.displayName = \"PopoverClose\";",".z_tds_2f_web-WYxykg0{color:var(--z-tds_2f_web-color-background-raised,light-dark(#fff,#1f1e1e))}.z_tds_2f_web-WYxykg1{display:flex}.z_tds_2f_web-WYxykg2{&[data-side=bottom]{top:-10px}}.z_tds_2f_web-WYxykg3{&[data-side=left]{right:-14px}}.z_tds_2f_web-WYxykg4{&[data-side=left]{rotate:90deg}}.z_tds_2f_web-WYxykg5{&[data-side=right]{left:-14px}}.z_tds_2f_web-WYxykg6{&[data-side=right]{rotate:-90deg}}.z_tds_2f_web-WYxykg7{&[data-side=top]{bottom:-10px}}.z_tds_2f_web-WYxykg8{&[data-side=top]{rotate:180deg}}.z_tds_2f_web-WYxykg9{color:var(--z-tds_2f_web-color-gray-900,light-dark(#4d4d4d,#bcbbbb))}.z_tds_2f_web-WYxykga{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykgb{font-family:var(--z-tds_2f_web-typography-copy-14-fontFamily,Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\")}.z_tds_2f_web-WYxykgc{font-size:var(--z-tds_2f_web-typography-copy-14-fontSize,14px)}.z_tds_2f_web-WYxykgd{font-weight:var(--z-tds_2f_web-typography-copy-14-fontWeight,450)}.z_tds_2f_web-WYxykge{letter-spacing:var(--z-tds_2f_web-typography-copy-14-letterSpacing,-.09px)}.z_tds_2f_web-WYxykgf{line-height:var(--z-tds_2f_web-typography-copy-14-lineHeight,20px)}.z_tds_2f_web-WYxykgg{background-color:var(--z-tds_2f_web-color-background-raised,light-dark(#fff,#1f1e1e))}.z_tds_2f_web-WYxykgh{border-radius:var(--z-tds_2f_web-radius-16,1rem)}.z_tds_2f_web-WYxykgi{box-shadow:var(--z-tds_2f_web-shadow-popover,0 0 0 1px light-dark(#0000000f,#ffffff14), 0 8px 24px -4px #0000001f, 0 24px 48px -12px #00000029)}.z_tds_2f_web-WYxykgj{box-sizing:border-box}.z_tds_2f_web-WYxykgk{color:var(--z-tds_2f_web-color-foreground,light-dark(#171717,#fff))}.z_tds_2f_web-WYxykgl{max-width:var(--available-width)}.z_tds_2f_web-WYxykgm{outline:none}.z_tds_2f_web-WYxykgn{padding:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-WYxykgo{transform-origin:var(--transform-origin)}.z_tds_2f_web-WYxykgp{transition-duration:var(--z-tds_2f_web-transitionDuration-200,.2s)}.z_tds_2f_web-WYxykgq{transition-property:opacity,scale}.z_tds_2f_web-WYxykgr{transition-timing-function:var(--z-tds_2f_web-ease-snappy,cubic-bezier(.23, 1, .32, 1))}.z_tds_2f_web-WYxykgs{width:max-content}.z_tds_2f_web-WYxykgt{&[data-ending-style]{opacity:0}}.z_tds_2f_web-WYxykgu{&[data-ending-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}.z_tds_2f_web-WYxykgv{&[data-ending-style]{transition-duration:var(--z-tds_2f_web-transitionDuration-140,.14s)}}.z_tds_2f_web-WYxykgw{&[data-starting-style]{opacity:0}}.z_tds_2f_web-WYxykgx{&[data-starting-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}@media (prefers-reduced-motion:reduce){.z_tds_2f_web-WYxykgy{transition-property:opacity}.z_tds_2f_web-WYxykgz{&[data-ending-style],&[data-starting-style]{scale:none}}}.z_tds_2f_web-WYxykg10{z-index:var(--z-tds_2f_web-zIndex-popover,50)}.z_tds_2f_web-WYxykg11{font-family:var(--z-tds_2f_web-typography-heading-20-fontFamily,Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\")}.z_tds_2f_web-WYxykg12{font-size:var(--z-tds_2f_web-typography-heading-20-fontSize,20px)}.z_tds_2f_web-WYxykg13{font-weight:var(--z-tds_2f_web-typography-heading-20-fontWeight,600)}.z_tds_2f_web-WYxykg14{letter-spacing:var(--z-tds_2f_web-typography-heading-20-letterSpacing,-.33px)}.z_tds_2f_web-WYxykg15{line-height:var(--z-tds_2f_web-typography-heading-20-lineHeight,26px)}.z_tds_2f_web-WYxykg16{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-WYxykg17{margin-bottom:var(--z-tds_2f_web-spacing-4,.25rem)}","\nimport { Props as __zyzzProps } from 'zyzz/runtime';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as BaseUi from '@base-ui/react/popover';\nimport { style } from '../zyzz.config.js';\n/**\n * A non-modal `dialog` anchored to a trigger and opened on click. Opening moves focus to the first\n * tabbable element inside, or to the popup on touch. Escape and outside presses close it and\n * return focus to the trigger.\n *\n * - Use it for interactive or longer content. Use `Tooltip` for a short hint on hover.\n * - Include `Title` so the dialog has an accessible name, and `Description` for supporting text.\n * - Offer `Close` when the popup holds a form or other controls.\n *\n * @example\n * <Popover.Root>\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n * <Popover.Popup>\n * <Popover.Title>Network fee</Popover.Title>\n * <Popover.Description>Paid in the token you send.</Popover.Description>\n * </Popover.Popup>\n * </Popover.Root>\n *\n * @see {@link https://base-ui.com/react/components/popover | Base UI Popover}\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Popover_API | MDN Popover API}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html | WCAG 2.2 Content on Hover or Focus}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html | WCAG 2.2 Focus Order}\n * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html | WCAG 2.2 Keyboard}\n */\nexport var Popover;\n(function (Popover) {\n /** Renders a `button` that closes the popover. Pass `render` to use a `Button`. */\n Popover.Close = BaseUi.Popover.Close;\n /**\n * Owns the open state. Pass `open` and `onOpenChange` to control it. Unless `modal` is set, the\n * page stays interactive while the popover is open.\n */\n Popover.Root = BaseUi.Popover.Root;\n /**\n * Toggles the popover on click and anchors the popup. Set `openOnHover` to also open it on hover.\n *\n * @example\n * <Popover.Trigger render={<Button variant=\"secondary\" />}>Network fee</Popover.Trigger>\n */\n Popover.Trigger = BaseUi.Popover.Trigger;\n /** Draws a pointer toward the trigger on the popup's anchored side. Place it inside `Popup`. */\n function Arrow(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Arrow, { ...attributes, ...styles.arrow({ className, style: props.style, vars }), children: _jsx(\"svg\", { \"aria-hidden\": \"true\", fill: \"currentColor\", height: \"10\", viewBox: \"0 0 20 10\", width: \"20\", children: _jsx(\"path\", { d: \"M0 10C4 10 7 7 8.6 4.6a2 2 0 0 1 2.8 0C13 7 16 10 20 10Z\" }) }) }));\n }\n Popover.Arrow = Arrow;\n /** Renders a `p` that describes the popup through `aria-describedby`. */\n function Description(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Description, { ...attributes, ...styles.description({ className, style: props.style, vars }) }));\n }\n Popover.Description = Description;\n /**\n * Renders the portal, positioner and popup. Placement props go to the positioner, which sits 8px\n * from the trigger unless `sideOffset` is set. Other props, `ref`, `className` and `style` reach\n * the popup. `initialFocus` and `finalFocus` override where focus moves on open and close.\n */\n function Popup(props) {\n const { align, alignOffset, anchor, className, collisionPadding, side, sideOffset = 8, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Portal, { children: _jsx(BaseUi.Popover.Positioner, { ...styles.positioner(), align: align, alignOffset: alignOffset, anchor: anchor, collisionPadding: collisionPadding, side: side, sideOffset: sideOffset, children: _jsx(BaseUi.Popover.Popup, { ...attributes, ...styles.popup({ className, style: props.style, vars }) }) }) }));\n }\n Popover.Popup = Popup;\n /** Renders an `h2` that names the popup through `aria-labelledby`. */\n function Title(props) {\n const { className, vars, ...attributes } = props;\n return (_jsx(BaseUi.Popover.Title, { ...attributes, ...styles.title({ className, style: props.style, vars }) }));\n }\n Popover.Title = Title;\n})(Popover || (Popover = {}));\nvar styles;\n(function (styles) {\n styles.arrow = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg0 z_tds_2f_web-WYxykg1 z_tds_2f_web-WYxykg2 z_tds_2f_web-WYxykg3 z_tds_2f_web-WYxykg4 z_tds_2f_web-WYxykg5 z_tds_2f_web-WYxykg6 z_tds_2f_web-WYxykg7 z_tds_2f_web-WYxykg8\"});\n styles.description = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg9 z_tds_2f_web-WYxykga z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf\"});\n styles.popup = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykgg z_tds_2f_web-WYxykgh z_tds_2f_web-WYxykgi z_tds_2f_web-WYxykgj z_tds_2f_web-WYxykgk z_tds_2f_web-WYxykgl z_tds_2f_web-WYxykgm z_tds_2f_web-WYxykgn z_tds_2f_web-WYxykgo z_tds_2f_web-WYxykgp z_tds_2f_web-WYxykgq z_tds_2f_web-WYxykgr z_tds_2f_web-WYxykgb z_tds_2f_web-WYxykgc z_tds_2f_web-WYxykgd z_tds_2f_web-WYxykge z_tds_2f_web-WYxykgf z_tds_2f_web-WYxykgs z_tds_2f_web-WYxykgt z_tds_2f_web-WYxykgu z_tds_2f_web-WYxykgv z_tds_2f_web-WYxykgw z_tds_2f_web-WYxykgx z_tds_2f_web-WYxykgy z_tds_2f_web-WYxykgz\"});\n styles.positioner = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg10\"});\n styles.title = /*#__PURE__*/__zyzzProps.create({className:\"z_tds_2f_web-WYxykg11 z_tds_2f_web-WYxykg12 z_tds_2f_web-WYxykg13 z_tds_2f_web-WYxykg14 z_tds_2f_web-WYxykg15 z_tds_2f_web-WYxykg16 z_tds_2f_web-WYxykg17\"});\n})(styles || (styles = {}));\n//# sourceMappingURL=Popover.js.map\nimport './Popover.css';\n","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function BadgeCheck(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.9691 6.50791C10.1268 6.28127 10.4387 6.2253 10.6654 6.38291C10.8915 6.54061 10.9476 6.85173 10.7904 7.07822L8.1859 10.8253C8.10463 10.9422 7.97661 11.0189 7.83532 11.0362C7.69403 11.0533 7.5516 11.009 7.44469 10.9151L5.95641 9.60361C5.74921 9.42107 5.72894 9.10476 5.91149 8.89756C6.09407 8.69075 6.4095 8.67124 6.61657 8.85361L7.68395 9.79306L9.9691 6.50791Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.67516 1.61826C8.13077 1.16265 8.86994 1.16265 9.32555 1.61826L10.7591 3.05185C10.7902 3.08262 10.8326 3.10058 10.8763 3.10068H12.7338C13.3779 3.10081 13.9006 3.62258 13.9007 4.2667V6.12412C13.9009 6.16817 13.9184 6.21112 13.9496 6.24228L15.3832 7.6749C15.8384 8.13047 15.8385 8.86977 15.3832 9.32529L13.9496 10.7589C13.9185 10.79 13.9008 10.8321 13.9007 10.8761V12.7335C13.9005 13.3776 13.3778 13.9004 12.7338 13.9005H10.8763C10.8323 13.9006 10.7903 13.9182 10.7591 13.9493L9.32555 15.3829C8.87002 15.8381 8.1307 15.8381 7.67516 15.3829L6.24254 13.9493C6.21134 13.9181 6.16849 13.9005 6.12438 13.9005H4.26696C3.6229 13.9003 3.10117 13.3775 3.10094 12.7335V10.8761C3.10084 10.8323 3.08288 10.79 3.05211 10.7589L1.61852 9.32529C1.16294 8.86971 1.163 8.13052 1.61852 7.6749L3.05211 6.24228C3.08324 6.21113 3.10083 6.16815 3.10094 6.12412V4.2667C3.1011 3.62259 3.62285 3.10084 4.26696 3.10068H6.12438C6.16843 3.10062 6.21135 3.08297 6.24254 3.05185L7.67516 1.61826ZM8.61852 2.32529C8.5535 2.26027 8.44827 2.26042 8.38317 2.32529L6.94957 3.75888C6.73085 3.97753 6.43365 4.10062 6.12438 4.10068H4.26696C4.17514 4.10084 4.1011 4.17488 4.10094 4.2667V6.12412C4.10083 6.43336 3.97781 6.73062 3.75914 6.94931L2.32555 8.38291C2.26077 8.44802 2.26056 8.55327 2.32555 8.61826L3.75914 10.0519C3.97744 10.2705 4.10084 10.5671 4.10094 10.8761V12.7335C4.10117 12.8253 4.17518 12.9003 4.26696 12.9005H6.12438C6.43371 12.9005 6.73084 13.0235 6.94957 13.2423L8.38317 14.6749C8.44825 14.7396 8.55353 14.7398 8.61852 14.6749L10.0521 13.2423C10.2708 13.0236 10.5671 12.9006 10.8763 12.9005H12.7338C12.8256 12.9004 12.9005 12.8253 12.9007 12.7335V10.8761C12.9008 10.5669 13.0239 10.2705 13.2425 10.0519L14.6752 8.61826C14.7401 8.55328 14.7399 8.44802 14.6752 8.38291L13.2425 6.94931C13.0239 6.73062 12.9009 6.43339 12.9007 6.12412V4.2667C12.9006 4.17486 12.8256 4.10081 12.7338 4.10068H10.8763C10.5674 4.10058 10.2708 3.97719 10.0521 3.75888L8.61852 2.32529Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=BadgeCheck.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function XCircle(props) {\n return (_jsxs(\"svg\", { width: \"1em\", height: \"1em\", viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-hidden\": props['aria-label'] || props['aria-labelledby'] ? undefined : true, role: props['aria-label'] || props['aria-labelledby'] ? 'img' : undefined, ...props, children: [_jsx(\"path\", { d: \"M9.64648 5.64648C9.84175 5.45122 10.1583 5.45122 10.3535 5.64648C10.5487 5.84175 10.5488 6.15827 10.3535 6.35352L8.70703 8L10.3535 9.64648C10.5487 9.84175 10.5488 10.1583 10.3535 10.3535C10.1583 10.5488 9.84175 10.5487 9.64648 10.3535L8 8.70703L6.35352 10.3535C6.15827 10.5488 5.84175 10.5487 5.64648 10.3535C5.45122 10.1583 5.45122 9.84175 5.64648 9.64648L7.29297 8L5.64648 6.35352C5.45122 6.15825 5.45122 5.84175 5.64648 5.64648C5.84175 5.45122 6.15825 5.45122 6.35352 5.64648L8 7.29297L9.64648 5.64648Z\", fill: \"currentColor\" }), _jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 1.33301C11.6817 1.33318 14.666 4.31919 14.666 8.00098C14.6656 11.6824 11.6815 14.6668 8 14.667C4.31837 14.667 1.33345 11.6825 1.33301 8.00098C1.33301 4.31908 4.3181 1.33301 8 1.33301ZM8 2.33398C4.87039 2.33398 2.33301 4.87137 2.33301 8.00098C2.33345 11.1302 4.87066 13.667 8 13.667C11.1292 13.6668 13.6656 11.1301 13.666 8.00098C13.666 4.87147 11.1294 2.33416 8 2.33398Z\", fill: \"currentColor\" })] }));\n}\n//# sourceMappingURL=XCircle.js.map","export default import.meta.ROLLDOWN_FILE_URL_epdbhdyBUyD3hvxx0_dcTg","export default import.meta.ROLLDOWN_FILE_URL_Msg57USEadASvSStYSdmzA","export default import.meta.ROLLDOWN_FILE_URL_dJ$ULFcuzX43djbIEsCZPw","export default import.meta.ROLLDOWN_FILE_URL__ewJD0zO9$SsiDvawfmAUw","export default import.meta.ROLLDOWN_FILE_URL_BjjUHagISQHtPWYmu3KuwQ","export default import.meta.ROLLDOWN_FILE_URL_ykb1zIozoJBMq4UvQnlhcQ","export default import.meta.ROLLDOWN_FILE_URL_gOpBNSELCNdnM_yZlyA5OQ","export default import.meta.ROLLDOWN_FILE_URL_ZoP2ebLT5e$hm8jPkF9mgA","export default import.meta.ROLLDOWN_FILE_URL_2$LtLFQdS6IeO$uJxLxRJQ","export default import.meta.ROLLDOWN_FILE_URL_cLZLOsSELI_GmwKcVOKKRw","export default import.meta.ROLLDOWN_FILE_URL_U2YZxvNlcnuoWcGKwa9Wsw","export default import.meta.ROLLDOWN_FILE_URL_rN_1li4k2aIbHGs0zKW8QQ","export default import.meta.ROLLDOWN_FILE_URL_m8R6TgWxwop2r_xOIPNRtg","export default import.meta.ROLLDOWN_FILE_URL_6MQCagmCrZzS5dHPKhXWKQ","export default import.meta.ROLLDOWN_FILE_URL_hO4dd8ILk$iZF7aFIOUkdg","export default import.meta.ROLLDOWN_FILE_URL_pADEGV0e5Qot5ZhzD_GrLg","export default import.meta.ROLLDOWN_FILE_URL_C$4kQWR6NkPB83QJdL0WCQ","export default import.meta.ROLLDOWN_FILE_URL_SH3JcDOvWNcn2WIvxBnLpg","export default import.meta.ROLLDOWN_FILE_URL_K1daVVNYU_lXF$FdA5v55g","export default import.meta.ROLLDOWN_FILE_URL_7PUm3F_uVf$21BIFLSklvQ","export default import.meta.ROLLDOWN_FILE_URL_nJkgIVJgL11RgZiGUBj6wA","export default import.meta.ROLLDOWN_FILE_URL_E8wuXQ_AmxPT2QBGX_$9Vw","export default import.meta.ROLLDOWN_FILE_URL_9kBTUqaINCHDANxrI10WCw","export default import.meta.ROLLDOWN_FILE_URL_2ZEzIIM_atdpHcr$6kvj$Q","export default import.meta.ROLLDOWN_FILE_URL_q6tfGKm3Qmt5DJmATeHQdA","export default import.meta.ROLLDOWN_FILE_URL_OestAvA2SyLT4CG6L76dAw","export default import.meta.ROLLDOWN_FILE_URL_i2ywl_YzKp2MjtOEr7ngzA","export default import.meta.ROLLDOWN_FILE_URL_aLISaAY6NSiJFT$6GdtrfA","export default import.meta.ROLLDOWN_FILE_URL_tgFyw$X211zXSctfMU9_LA","export default import.meta.ROLLDOWN_FILE_URL_TX5a1iViCylaCWPFSCQG2w","export default import.meta.ROLLDOWN_FILE_URL_LphhLScmzwPqWwTyAbd7ig","export default import.meta.ROLLDOWN_FILE_URL_U6muqRGa8aHtq8t0c9wAzg","export default import.meta.ROLLDOWN_FILE_URL_y3WuTrdTs_Si7uYpRddj9w","export default import.meta.ROLLDOWN_FILE_URL_kSHvwCjLFxLpY3FM1MyAsA","export default import.meta.ROLLDOWN_FILE_URL_0PgJxXqjw$KAl6PgZjQb5g","export default import.meta.ROLLDOWN_FILE_URL_EsSyonNWXFChOyjfj2S3nw","export default import.meta.ROLLDOWN_FILE_URL_zOyQqdNGsn0lL_XEFrarVA","export default import.meta.ROLLDOWN_FILE_URL_yW_eMvu1QqHghXJHMLbBbg","export default import.meta.ROLLDOWN_FILE_URL_07gvO1IvTzTCTyYqp_a5mw","/** Shows a requested key's limits and expiry, and warns about unrecognized calls. @module */\nimport { Callout, Inline, Popover, Stack, Tag, Tooltip } from '@tempoxyz/ds'\nimport { CheckCircle, InfoCircle, XCircle } from '@tempoxyz/ds/icons'\nimport { type ReactNode, useId, useState } from 'react'\nimport type * as KeyAuthorization from '../../internal/KeyAuthorization.js'\nimport { style } from '../zyzz.config.js'\n\n/**\n * Each token's icon URL, by symbol. Each icon stays its own file, since an inlined icon would put\n * every token's icon in the script of each page that shows a key.\n */\nconst icons = Object.fromEntries(\n Object.entries(\n import.meta.glob<string>('./icons/*.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n ).map(([file, url]) => [\n file.slice('./icons/'.length, file.lastIndexOf('.')),\n url,\n ]),\n)\n\n/** Logos from `logos/`, by symbol and color scheme, each its own file. A logo replaces the icon. */\nconst logos = Object.entries(\n import.meta.glob<string>('./logos/*.{light,dark}.{png,svg,webp}', {\n eager: true,\n import: 'default',\n query: '?no-inline',\n }),\n).reduce<Record<string, { dark?: string; light?: string }>>(\n (result, [file, url]) => {\n const [, symbol, scheme] = file.match(\n /^\\.\\/logos\\/(.+)\\.(light|dark)\\.\\w+$/,\n )!\n result[symbol!] = { ...result[symbol!], [scheme!]: url }\n return result\n },\n {},\n)\n\n/** What the requested key may and may not do, with its limits and expiry. */\nexport function Grant(props: Grant.Props): ReactNode {\n // Several grants can share a document, so each derives its own IDs.\n const id = useId()\n const deniedId = useId()\n const detailsId = useId()\n // The unrecognized calls stay collapsed under their one-line warning until the user opens them.\n const [details, setDetails] = useState(false)\n const { calls, expiry, limits, unrecognized } = props.keyAuthorization\n const Heading = props.heading ?? 'h2'\n // MPP sessions pay through payment channels, which `open` starts and `topUp` funds. Both read as\n // funds the app holds, since a channel is an escrow that the service draws from.\n const channels = (() => {\n const open = calls.some((call) => call.call === 'open')\n const topUp = calls.some((call) => call.call === 'topUp')\n if (open) return 'Hold funds for services'\n if (topUp) return 'Add to funds it holds for services'\n return undefined\n })()\n return (\n <>\n <Stack\n {...styles.section()}\n aria-labelledby={id}\n gap=\"24\"\n render={<section />}\n >\n {props.chain ? (\n <Tag\n {...styles.chain()}\n aria-label={`Chain: ${props.chain}`}\n intent=\"neutral\"\n shape=\"rounded\"\n size=\"small\"\n >\n {props.chain}\n </Tag>\n ) : null}\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={id}>\n This app will be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={id}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>View your balance and activity</span>\n </Inline>\n {limits.map((limit) => (\n <Inline\n gap=\"8\"\n key={`${limit.currency}:${limit.period ?? 0}`}\n render={<li />}\n >\n <CheckCircle {...styles.allowed()} />\n <span>\n Spend{' '}\n {limit.period\n ? `${format(limit)} ${every(limit.period)}`\n : format(limit)}\n </span>\n <span {...styles.icons()}>\n {limit.tokens.map((token) => {\n // Each token's own limit shows on its icon, since the total spans several.\n const label = `${token.symbol}: ${format({ amount: token.amount, currency: limit.currency })}`\n const logo = logos[token.symbol]\n const icon = logo?.light ?? icons[token.symbol]\n return (\n <Tooltip.Root key={token.symbol}>\n <Tooltip.Trigger\n delay={150}\n render={\n <span {...styles.token()} tabIndex={0}>\n {icon ? (\n // The page follows the system color scheme, so the image does too.\n <picture>\n {logo?.dark ? (\n <source\n media=\"(prefers-color-scheme: dark)\"\n srcSet={logo.dark}\n />\n ) : null}\n <img\n {...styles.icon()}\n alt={label}\n height={20}\n src={icon}\n width={20}\n />\n </picture>\n ) : (\n // A token without a logo shows its initial.\n <span\n {...styles.placeholder()}\n aria-label={label}\n role=\"img\"\n >\n {token.symbol[0]}\n </span>\n )}\n </span>\n }\n />\n <Tooltip.Popup>{label}</Tooltip.Popup>\n </Tooltip.Root>\n )\n })}\n </span>\n </Inline>\n ))}\n {channels ? (\n <Inline gap=\"8\" render={<li />}>\n <CheckCircle {...styles.allowed()} />\n <span>\n {channels.slice(0, channels.lastIndexOf(' ') + 1)}\n {/* The last word and the icon wrap together. */}\n <span {...styles.nowrap()}>\n {channels.slice(channels.lastIndexOf(' ') + 1)}{' '}\n <Popover.Root>\n <Popover.Trigger\n aria-label=\"About funds for services\"\n nativeButton={false}\n openOnHover\n render={<InfoCircle {...styles.info()} tabIndex={0} />}\n />\n <Popover.Popup\n {...styles.popup()}\n aria-label=\"Funds for services\"\n >\n <Popover.Description>\n Set aside for pay-as-you-go services that use{' '}\n <a\n {...styles.popupLink()}\n href=\"https://mpp.dev\"\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n MPP\n </a>\n . They take only what you use, and you get the rest\n back.\n </Popover.Description>\n </Popover.Popup>\n </Popover.Root>\n </span>\n </span>\n </Inline>\n ) : null}\n </Stack>\n </Stack>\n <Stack gap=\"12\">\n <Heading {...styles.heading()} id={deniedId}>\n This app won’t be able to:\n </Heading>\n <Stack\n {...styles.list()}\n aria-labelledby={deniedId}\n gap=\"8\"\n render={<ul />}\n >\n <Inline gap=\"8\" render={<li />}>\n <XCircle {...styles.denied()} />\n <span>Spend more than you approve</span>\n </Inline>\n </Stack>\n </Stack>\n <Stack {...styles.details()} gap=\"8\" render={<dl />}>\n <div>\n <dt {...styles.term()}>Expires</dt>{' '}\n <dd {...styles.value()}>\n {until(expiry)}{' '}\n {/* The tooltip's text never reaches the server render, so it shows the visitor's own time zone. */}\n <Tooltip.Root>\n <Tooltip.Trigger\n delay={150}\n render={\n <InfoCircle\n {...styles.info()}\n aria-label=\"Expiry date\"\n role=\"img\"\n tabIndex={0}\n />\n }\n />\n <Tooltip.Popup>\n {new Date(expiry * 1000).toLocaleString(undefined, {\n day: 'numeric',\n hour: 'numeric',\n minute: '2-digit',\n month: 'short',\n timeZoneName: 'short',\n year: 'numeric',\n })}\n </Tooltip.Popup>\n </Tooltip.Root>\n </dd>\n </div>\n </Stack>\n </Stack>\n {unrecognized.length ? (\n // A note, not an alert, since the calls are part of the request and interrupt nothing.\n <Callout intent=\"warning\" role=\"note\" size=\"medium\">\n <Callout.Icon />\n <Callout.Content>\n <Stack gap=\"8\">\n <p {...styles.warningTitle()}>This app can take other actions</p>\n {details ? (\n <Stack gap=\"8\" id={detailsId}>\n <p {...styles.warningText()}>\n Tempo ID can’t tell you what these actions do. Approve only\n if you trust this app.\n </p>\n </Stack>\n ) : null}\n </Stack>\n </Callout.Content>\n <Callout.Action\n aria-controls={detailsId}\n aria-expanded={details}\n onClick={() => setDetails((open) => !open)}\n >\n {details ? 'Hide' : 'Show'}\n </Callout.Action>\n </Callout>\n ) : null}\n </>\n )\n}\n\nexport declare namespace Grant {\n type Props = {\n /** The key's chain, shown in the corner. Absent, none shows. */\n chain?: string | undefined\n /** `h2` by default, or `h5` on the flows canvas. */\n heading?: 'h2' | 'h5' | undefined\n /** The key that the app requests. */\n keyAuthorization: KeyAuthorization.Description\n }\n}\n\n/**\n * Groups thousands and keeps every decimal. Each formatter is built at its first use, since a page's\n * first one loads the locale's data, which a page that shows no key never needs.\n */\nlet decimal: Intl.NumberFormat | undefined\n\n/** Formats an expiry's distance, such as `in 7 days`, from its first use. */\nlet relative: Intl.RelativeTimeFormat | undefined\n\n/** The spans of an expiry, largest first. Months and years are approximate. */\nconst spans = [\n ['year', 31_536_000],\n ['month', 2_592_000],\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n] as const\n\n/** The units of a period, largest first. */\nconst units = [\n ['week', 604_800],\n ['day', 86_400],\n ['hour', 3_600],\n ['minute', 60],\n ['second', 1],\n] as const\n\n/** Returns how often a limit resets, such as `per day` or `every 2 weeks`. */\nfunction every(period: number) {\n const [unit, seconds] = units.find((entry) => period % entry[1] === 0)!\n const count = period / seconds\n return count === 1 ? `per ${unit}` : `every ${count} ${unit}s`\n}\n\n/** Formats a limit in its currency, such as `$1,000`, or as the amount and its code. */\nfunction format(\n limit: Pick<\n KeyAuthorization.Description['limits'][number],\n 'amount' | 'currency'\n >,\n) {\n const amount = limit.amount as Intl.StringNumericLiteral\n try {\n return new Intl.NumberFormat('en-US', {\n currency: limit.currency,\n maximumFractionDigits: 6,\n style: 'currency',\n trailingZeroDisplay: 'stripIfInteger',\n }).format(amount)\n } catch {\n // A yield-bearing token's own symbol is not a currency code.\n decimal ??= new Intl.NumberFormat('en-US', { maximumFractionDigits: 20 })\n return `${decimal.format(amount)} ${limit.currency}`\n }\n}\n\n/**\n * Returns the time until `expiry`, in Unix seconds, in its largest whole span, such as\n * `in 3 months`.\n */\nfunction until(expiry: number) {\n const remaining = expiry - Date.now() / 1000\n const [unit, seconds] =\n spans.find((entry) => remaining + 60 >= entry[1]) ?? spans.at(-1)!\n relative ??= new Intl.RelativeTimeFormat('en-US', { numeric: 'always' })\n return relative.format(Math.max(1, Math.round(remaining / seconds)), unit)\n}\n\nnamespace styles {\n export const allowed = style({\n color: 'green.700',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n export const chain = style({\n insetBlockStart: '16',\n insetInlineEnd: '16',\n position: 'absolute',\n })\n\n export const denied = style({\n color: 'red.700',\n flexShrink: 0,\n height: '20',\n width: '20',\n })\n\n // Each term and its value read as one line of text.\n export const details = style({ margin: '0', typography: 'copy.14' })\n\n export const heading = style({\n color: 'gray.900',\n margin: '0',\n typography: 'copy.14',\n })\n\n export const icon = style({\n borderRadius: 'full',\n display: 'block',\n height: '20',\n width: '20',\n })\n\n // Several tokens overlap, and spread apart while hovered so each symbol can show.\n export const icons = style({\n display: 'flex',\n flexShrink: 0,\n '& > span + span': { marginInlineStart: '-0.375rem !custom' },\n '&:hover > span + span': { marginInlineStart: '4' },\n })\n\n export const info = style({\n color: 'gray.900',\n display: 'inline',\n height: '16',\n outline: 'none',\n verticalAlign: 'middle',\n width: '16',\n ':focus-visible': {\n outline: '2px solid',\n outlineColor: 'blue.700',\n outlineOffset: '2',\n },\n })\n\n export const list = style({\n listStyle: 'none',\n margin: '0',\n padding: '0',\n typography: 'label.14.strong',\n })\n\n export const nowrap = style({ whiteSpace: 'nowrap' })\n\n export const placeholder = style({\n alignItems: 'center',\n backgroundColor: 'background.surface',\n borderRadius: 'full',\n color: 'gray.900',\n display: 'flex',\n height: '20',\n justifyContent: 'center',\n typography: 'label.12',\n width: '20',\n })\n\n export const popup = style({ maxWidth: '256' })\n\n export const popupLink = style({ color: 'blue.700' })\n\n export const section = style({\n backgroundColor: 'gray.100',\n borderRadius: '16',\n margin: '0',\n padding: '20',\n // The chain's tag sits in the section's top-right corner.\n position: 'relative',\n })\n\n export const term = style({ color: 'gray.900', display: 'inline' })\n\n // The ring matches the section's fill, so overlapping tokens stay apart.\n export const token = style({\n borderRadius: 'full',\n outline: '2px solid',\n outlineColor: 'gray.100',\n ':focus-visible': { outlineColor: 'blue.700' },\n // Under reduced motion, the tokens spread apart without a transition.\n '@media (prefers-reduced-motion: no-preference)': {\n transitionDuration: '150',\n transitionProperty: 'margin',\n transitionTimingFunction: 'in-out',\n },\n })\n\n // The expiry reads in the weight of the permissions above it.\n export const value = style({\n display: 'inline',\n margin: '0',\n overflowWrap: 'anywhere',\n typography: 'label.14.strong',\n })\n\n export const warningText = style({ color: 'foreground' })\n\n export const warningTitle = style({ typography: 'label.14.strong' })\n}\n"],"ignoreList":[0,1,2,3,4,5,6,7],"mappings":"A,4gBAcaoF,GAA4BD,EAAM,WAAW,SAAsB,EAAgB,EAAc,CAC5G,GAAM,CACJ,SACA,YACA,QACA,GAAGE,GACDC,EAEEC,EADQR,EACG,CAAC,CAAC,SAAS,MAAM,EAC5B,CACJ,WACA,OACA,QACA,kBACA,eACEP,EAA4B,EAgBhC,OATgBP,EAAiB,MAAOqB,EAAgB,CACtD,MAAA,CANA,OACA,OACA,QACA,WAAYE,CAGR,EACJ,IAAK,CAACC,EAAcC,CAAQ,EAC5B,MAAO,CAAC,CACN,MAAOC,EACP,cAAe,EACjB,EAAGN,CAAY,EACf,uBAAwBhB,CAC1B,CACa,CACf,CAAC,ECjCYuB,GAA4BT,EAAM,WAAW,SAAsB,EAAgB,EAAc,CAC5G,GAAM,CACJ,SACA,YACA,QACA,GAAGE,GACDC,EACEO,EAAQd,EAAsB,EAC9Be,EAAKxB,EAAYe,EAAa,EAAE,EAQtC,OAPAQ,EAAM,0BAA0B,iBAAkBC,CAAE,EACpC7B,EAAiB,KAAMqB,EAAgB,CACrD,IAAKG,EACL,MAAO,CAAC,CACN,IACF,EAAGJ,CAAY,CACjB,CACa,CACf,CAAC,ECjBYU,GAAkCZ,EAAM,WAAW,SAA4B,EAAgB,EAAc,CACxH,GAAM,CACJ,SACA,YACA,QACA,GAAGE,GACDC,EACEO,EAAQd,EAAsB,EAC9Be,EAAKxB,EAAYe,EAAa,EAAE,EAQtC,OAPAQ,EAAM,0BAA0B,uBAAwBC,CAAE,EAC1C7B,EAAiB,IAAKqB,EAAgB,CACpD,IAAKG,EACL,MAAO,CAAC,CACN,IACF,EAAGJ,CAAY,CACjB,CACa,CACf,CAAC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