@toa.io/extensions.configuration 1.0.0-alpha.274 → 1.0.0-alpha.276

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (501) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/components/configuration.values/operations/create.d.ts +16 -0
  3. package/components/configuration.values/operations/create.js +58 -0
  4. package/components/configuration.values/operations/create.js.map +1 -0
  5. package/components/configuration.values/operations/fetch.d.ts +11 -0
  6. package/components/configuration.values/operations/fetch.js +17 -0
  7. package/components/configuration.values/operations/fetch.js.map +1 -0
  8. package/components/configuration.values/operations/get.d.ts +17 -0
  9. package/components/configuration.values/operations/get.js +23 -0
  10. package/components/configuration.values/operations/get.js.map +1 -0
  11. package/components/configuration.values/operations/lib/map.d.ts +11 -0
  12. package/components/configuration.values/operations/lib/map.js +26 -0
  13. package/components/configuration.values/operations/lib/map.js.map +1 -0
  14. package/components/configuration.values/operations/lib/map.test.d.ts +1 -0
  15. package/components/configuration.values/operations/lib/map.test.js +26 -0
  16. package/components/configuration.values/operations/lib/map.test.js.map +1 -0
  17. package/components/configuration.values/operations/lib/resolve.d.ts +27 -0
  18. package/components/configuration.values/operations/lib/resolve.js +28 -0
  19. package/components/configuration.values/operations/lib/resolve.js.map +1 -0
  20. package/components/configuration.values/operations/list.d.ts +10 -0
  21. package/components/configuration.values/operations/list.js +15 -0
  22. package/components/configuration.values/operations/list.js.map +1 -0
  23. package/components/configuration.values/operations/tsconfig.tsbuildinfo +1 -0
  24. package/features/site/favicon.ico +0 -0
  25. package/features/ui.feature +8 -0
  26. package/package.json +2 -2
  27. package/source/Aspect.ts +7 -2
  28. package/source/UI.ts +16 -1
  29. package/source/deployment.ts +1 -1
  30. package/transpiled/Aspect.js +3 -2
  31. package/transpiled/Aspect.js.map +1 -1
  32. package/transpiled/UI.js +14 -1
  33. package/transpiled/UI.js.map +1 -1
  34. package/transpiled/deployment.d.ts +1 -1
  35. package/transpiled/tsconfig.tsbuildinfo +1 -1
  36. package/ui/dist/_app/env.js +1 -0
  37. package/ui/dist/_app/immutable/assets/0.CNS8Cqhc.css +2 -0
  38. package/ui/dist/_app/immutable/assets/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
  39. package/ui/dist/_app/immutable/assets/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
  40. package/ui/dist/_app/immutable/assets/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
  41. package/ui/dist/_app/immutable/assets/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
  42. package/ui/dist/_app/immutable/assets/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
  43. package/ui/dist/_app/immutable/assets/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
  44. package/ui/dist/_app/immutable/assets/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
  45. package/ui/dist/_app/immutable/assets/ui.BghF56l_.css +1 -0
  46. package/ui/dist/_app/immutable/chunks/Bjy-W4x2.js +81 -0
  47. package/ui/dist/_app/immutable/chunks/CDKtbN4n.js +6 -0
  48. package/ui/dist/_app/immutable/chunks/CcD_ISxM.js +3 -0
  49. package/ui/dist/_app/immutable/chunks/Chb3af1a.js +1 -0
  50. package/ui/dist/_app/immutable/chunks/Cov6-56A.js +50 -0
  51. package/ui/dist/_app/immutable/chunks/E7oj41Za.js +1 -0
  52. package/ui/dist/_app/immutable/chunks/MOpxGoVO.js +8 -0
  53. package/ui/dist/_app/immutable/chunks/xihTtKlq.js +1 -0
  54. package/ui/dist/_app/immutable/entry/app.B9v2AwU_.js +2 -0
  55. package/ui/dist/_app/immutable/entry/start.B97KALv1.js +1 -0
  56. package/ui/dist/_app/immutable/nodes/0.DKSa6mGa.js +1 -0
  57. package/ui/dist/_app/immutable/nodes/1.Cnu_jAWf.js +1 -0
  58. package/ui/dist/_app/immutable/nodes/2.Dg1zeC2b.js +1 -0
  59. package/ui/dist/_app/immutable/nodes/3.QCbZIibO.js +1 -0
  60. package/ui/dist/_app/immutable/nodes/4.1bG6DC_9.js +1 -0
  61. package/ui/dist/_app/version.json +1 -0
  62. package/ui/dist/apple-touch-icon.png +0 -0
  63. package/ui/dist/favicon-96x96.png +0 -0
  64. package/ui/dist/favicon.ico +0 -0
  65. package/ui/dist/index.html +52 -0
  66. package/ui/.agents/skills/antcn/SKILL.md +0 -91
  67. package/ui/.agents/skills/antcn/references/analytics.md +0 -78
  68. package/ui/.agents/skills/antcn/references/bridge.md +0 -41
  69. package/ui/.agents/skills/antcn/references/clipboard.md +0 -23
  70. package/ui/.agents/skills/antcn/references/dismissable.md +0 -75
  71. package/ui/.agents/skills/antcn/references/dropdown.md +0 -153
  72. package/ui/.agents/skills/antcn/references/fragments.md +0 -29
  73. package/ui/.agents/skills/antcn/references/fullscreen.md +0 -157
  74. package/ui/.agents/skills/antcn/references/geo.md +0 -27
  75. package/ui/.agents/skills/antcn/references/globals.md +0 -31
  76. package/ui/.agents/skills/antcn/references/grammatical-form.md +0 -69
  77. package/ui/.agents/skills/antcn/references/hints.md +0 -44
  78. package/ui/.agents/skills/antcn/references/hold.md +0 -34
  79. package/ui/.agents/skills/antcn/references/iam.md +0 -117
  80. package/ui/.agents/skills/antcn/references/input-form.md +0 -34
  81. package/ui/.agents/skills/antcn/references/locale.md +0 -66
  82. package/ui/.agents/skills/antcn/references/net.md +0 -33
  83. package/ui/.agents/skills/antcn/references/panel.md +0 -44
  84. package/ui/.agents/skills/antcn/references/passkeys.md +0 -27
  85. package/ui/.agents/skills/antcn/references/payments.md +0 -99
  86. package/ui/.agents/skills/antcn/references/realtime.md +0 -69
  87. package/ui/.agents/skills/antcn/references/scrollable.md +0 -39
  88. package/ui/.agents/skills/antcn/references/selector.md +0 -71
  89. package/ui/.agents/skills/antcn/references/shake.md +0 -36
  90. package/ui/.agents/skills/antcn/references/share.md +0 -28
  91. package/ui/.agents/skills/antcn/references/shell.md +0 -139
  92. package/ui/.agents/skills/antcn/references/stack.md +0 -53
  93. package/ui/.agents/skills/antcn/references/system.md +0 -149
  94. package/ui/.agents/skills/antcn/references/taptap.md +0 -28
  95. package/ui/.agents/skills/antcn/references/tools.md +0 -68
  96. package/ui/.agents/skills/antcn/references/transmission.md +0 -96
  97. package/ui/.agents/skills/shadcn-svelte/SKILL.md +0 -227
  98. package/ui/.agents/skills/shadcn-svelte/agents/openai.yml +0 -5
  99. package/ui/.agents/skills/shadcn-svelte/assets/shadcn-svelte-small.png +0 -0
  100. package/ui/.agents/skills/shadcn-svelte/assets/shadcn-svelte.png +0 -0
  101. package/ui/.agents/skills/shadcn-svelte/cli.md +0 -166
  102. package/ui/.agents/skills/shadcn-svelte/customization.md +0 -213
  103. package/ui/.agents/skills/shadcn-svelte/evals/evals.json +0 -47
  104. package/ui/.agents/skills/shadcn-svelte/rules/composition.md +0 -244
  105. package/ui/.agents/skills/shadcn-svelte/rules/forms.md +0 -234
  106. package/ui/.agents/skills/shadcn-svelte/rules/icons.md +0 -107
  107. package/ui/.agents/skills/shadcn-svelte/rules/styling.md +0 -195
  108. package/ui/.agents/skills/svas/SKILL.md +0 -169
  109. package/ui/.agents/skills/svas/references/patterns.md +0 -95
  110. package/ui/.agents/skills/svintl/SKILL.md +0 -176
  111. package/ui/.claude/settings.json +0 -15
  112. package/ui/.codex/hooks.json +0 -15
  113. package/ui/.cursor/hooks.json +0 -11
  114. package/ui/.env.example +0 -1
  115. package/ui/.prettierrc +0 -9
  116. package/ui/.vscode/extensions.json +0 -7
  117. package/ui/.vscode/settings.json +0 -27
  118. package/ui/AGENTS.md +0 -51
  119. package/ui/architecture.md +0 -390
  120. package/ui/components.json +0 -20
  121. package/ui/eslint.config.js +0 -152
  122. package/ui/features/base.ts +0 -2
  123. package/ui/features/boot.feature +0 -5
  124. package/ui/features/steps/authentication.ts +0 -34
  125. package/ui/features/steps/navigaton.ts +0 -37
  126. package/ui/features/steps/typing.ts +0 -24
  127. package/ui/package-lock.json +0 -8173
  128. package/ui/package.json +0 -76
  129. package/ui/playwright.config.ts +0 -13
  130. package/ui/skills-lock.json +0 -30
  131. package/ui/src/@/configuration/index.ts +0 -1
  132. package/ui/src/@/configuration/svc/create.ts +0 -29
  133. package/ui/src/@/configuration/svc/index.ts +0 -3
  134. package/ui/src/@/configuration/svc/net/Configuration.ts +0 -18
  135. package/ui/src/@/configuration/svc/net/index.ts +0 -2
  136. package/ui/src/@/configuration/svc/net/interface.ts +0 -35
  137. package/ui/src/@/configuration/svc/store.ts +0 -14
  138. package/ui/src/@/configuration/ui/Configurations.svelte +0 -85
  139. package/ui/src/@/configuration/ui/Configurations.ts +0 -5
  140. package/ui/src/@/configuration/ui/Create.svelte +0 -64
  141. package/ui/src/@/configuration/ui/Create.ts +0 -7
  142. package/ui/src/@/configuration/ui/Form.svelte +0 -75
  143. package/ui/src/@/configuration/ui/Form.ts +0 -79
  144. package/ui/src/@/configuration/ui/Row.svelte +0 -44
  145. package/ui/src/@/configuration/ui/Row.ts +0 -9
  146. package/ui/src/@/configuration/ui/Value.svelte +0 -33
  147. package/ui/src/@/configuration/ui/Value.ts +0 -6
  148. package/ui/src/@/configuration/ui/index.ts +0 -9
  149. package/ui/src/@/configuration/ui/intl/built.js +0 -38
  150. package/ui/src/@/configuration/ui/intl/context.yaml +0 -51
  151. package/ui/src/@/configuration/ui/intl/en-US.yaml +0 -21
  152. package/ui/src/@/configuration/ui/intl/index.ts +0 -9
  153. package/ui/src/@/configuration/ui/intl/types.ts +0 -31
  154. package/ui/src/@/configuration/ui/read.test.ts +0 -75
  155. package/ui/src/@/configuration/ui/read.ts +0 -102
  156. package/ui/src/@/configuration/ui/ui.test.ts +0 -69
  157. package/ui/src/@/configuration/ui/ui.ts +0 -115
  158. package/ui/src/@/iam/index.ts +0 -1
  159. package/ui/src/@/iam/rc.ts +0 -22
  160. package/ui/src/@/iam/svc/authenticated.ts +0 -17
  161. package/ui/src/@/iam/svc/basic.ts +0 -23
  162. package/ui/src/@/iam/svc/index.ts +0 -10
  163. package/ui/src/@/iam/svc/logout.ts +0 -5
  164. package/ui/src/@/iam/svc/named.ts +0 -16
  165. package/ui/src/@/iam/svc/net/Echo.ts +0 -9
  166. package/ui/src/@/iam/svc/net/basic/index.ts +0 -1
  167. package/ui/src/@/iam/svc/net/basic/interface.ts +0 -15
  168. package/ui/src/@/iam/svc/net/federation/index.ts +0 -1
  169. package/ui/src/@/iam/svc/net/federation/interface.ts +0 -12
  170. package/ui/src/@/iam/svc/net/index.ts +0 -6
  171. package/ui/src/@/iam/svc/net/interface.ts +0 -17
  172. package/ui/src/@/iam/svc/net/otp/index.ts +0 -1
  173. package/ui/src/@/iam/svc/net/otp/interface.ts +0 -14
  174. package/ui/src/@/iam/svc/net/passkeys/index.ts +0 -1
  175. package/ui/src/@/iam/svc/net/passkeys/interface.ts +0 -12
  176. package/ui/src/@/iam/svc/oidc/apple.ts +0 -47
  177. package/ui/src/@/iam/svc/oidc/authenticate.ts +0 -62
  178. package/ui/src/@/iam/svc/oidc/google.ts +0 -45
  179. package/ui/src/@/iam/svc/oidc/hello.ts +0 -82
  180. package/ui/src/@/iam/svc/oidc/index.ts +0 -3
  181. package/ui/src/@/iam/svc/oidc/nonce.ts +0 -5
  182. package/ui/src/@/iam/svc/oidc/providers.ts +0 -28
  183. package/ui/src/@/iam/svc/oidc/standard.ts +0 -28
  184. package/ui/src/@/iam/svc/otp.ts +0 -18
  185. package/ui/src/@/iam/svc/passkeys/create.ts +0 -20
  186. package/ui/src/@/iam/svc/passkeys/index.ts +0 -2
  187. package/ui/src/@/iam/svc/passkeys/login.ts +0 -21
  188. package/ui/src/@/iam/svc/store.ts +0 -36
  189. package/ui/src/@/iam/svc/sync.ts +0 -18
  190. package/ui/src/@/iam/svc/transfer.ts +0 -11
  191. package/ui/src/@/iam/svc/update.ts +0 -8
  192. package/ui/src/@/iam/ui/AccountLike.ts +0 -4
  193. package/ui/src/@/iam/ui/Authenticated.svelte +0 -37
  194. package/ui/src/@/iam/ui/Authenticated.ts +0 -10
  195. package/ui/src/@/iam/ui/Authentication.svelte +0 -50
  196. package/ui/src/@/iam/ui/Authentication.ts +0 -9
  197. package/ui/src/@/iam/ui/Authorized.svelte +0 -32
  198. package/ui/src/@/iam/ui/Authorized.ts +0 -65
  199. package/ui/src/@/iam/ui/Card.svelte +0 -14
  200. package/ui/src/@/iam/ui/Card.ts +0 -7
  201. package/ui/src/@/iam/ui/Refresh.svelte +0 -39
  202. package/ui/src/@/iam/ui/credentials/Credentials.svelte +0 -26
  203. package/ui/src/@/iam/ui/credentials/Credentials.ts +0 -5
  204. package/ui/src/@/iam/ui/credentials/Provider.svelte +0 -24
  205. package/ui/src/@/iam/ui/credentials/Provider.ts +0 -5
  206. package/ui/src/@/iam/ui/credentials/index.ts +0 -1
  207. package/ui/src/@/iam/ui/credentials/passkeys/Key.svelte +0 -42
  208. package/ui/src/@/iam/ui/credentials/passkeys/Key.ts +0 -29
  209. package/ui/src/@/iam/ui/credentials/passkeys/Manager.svelte +0 -83
  210. package/ui/src/@/iam/ui/credentials/passkeys/Manager.ts +0 -5
  211. package/ui/src/@/iam/ui/credentials/passkeys/Passkeys.svelte +0 -39
  212. package/ui/src/@/iam/ui/credentials/passkeys/Summary.svelte +0 -27
  213. package/ui/src/@/iam/ui/credentials/passkeys/Summary.ts +0 -5
  214. package/ui/src/@/iam/ui/credentials/passkeys/index.ts +0 -1
  215. package/ui/src/@/iam/ui/credentials/providers.ts +0 -15
  216. package/ui/src/@/iam/ui/credentials/transfer/Qr.svelte +0 -24
  217. package/ui/src/@/iam/ui/credentials/transfer/Qr.ts +0 -3
  218. package/ui/src/@/iam/ui/credentials/transfer/Transfer.svelte +0 -48
  219. package/ui/src/@/iam/ui/credentials/transfer/Transfer.ts +0 -5
  220. package/ui/src/@/iam/ui/credentials/transfer/index.ts +0 -1
  221. package/ui/src/@/iam/ui/index.ts +0 -3
  222. package/ui/src/@/iam/ui/intl/built.js +0 -79
  223. package/ui/src/@/iam/ui/intl/context.yaml +0 -91
  224. package/ui/src/@/iam/ui/intl/en-US.yaml +0 -64
  225. package/ui/src/@/iam/ui/intl/index.ts +0 -10
  226. package/ui/src/@/iam/ui/intl/types.ts +0 -70
  227. package/ui/src/@/iam/ui/oidc/Authentication.svelte +0 -16
  228. package/ui/src/@/iam/ui/oidc/Authentication.ts +0 -5
  229. package/ui/src/@/iam/ui/oidc/Button.svelte +0 -36
  230. package/ui/src/@/iam/ui/oidc/Button.ts +0 -11
  231. package/ui/src/@/iam/ui/oidc/Refresh.svelte +0 -16
  232. package/ui/src/@/iam/ui/oidc/icons/Apple.svelte +0 -19
  233. package/ui/src/@/iam/ui/oidc/icons/Google.svelte +0 -31
  234. package/ui/src/@/iam/ui/oidc/icons/index.ts +0 -11
  235. package/ui/src/@/iam/ui/oidc/index.ts +0 -2
  236. package/ui/src/@/iam/ui/passkey/Authentication.svelte +0 -64
  237. package/ui/src/@/iam/ui/passkey/Authentication.ts +0 -8
  238. package/ui/src/@/iam/ui/passkey/Create.svelte +0 -53
  239. package/ui/src/@/iam/ui/passkey/Create.ts +0 -7
  240. package/ui/src/@/iam/ui/passkey/Login.svelte +0 -29
  241. package/ui/src/@/iam/ui/passkey/Refresh.svelte +0 -29
  242. package/ui/src/@/iam/ui/passkey/index.ts +0 -2
  243. package/ui/src/@/iam/ui/password/Authentication.svelte +0 -19
  244. package/ui/src/@/iam/ui/password/Authentication.ts +0 -8
  245. package/ui/src/@/iam/ui/password/Form.svelte +0 -151
  246. package/ui/src/@/iam/ui/password/Form.ts +0 -6
  247. package/ui/src/@/iam/ui/password/Password.svelte +0 -39
  248. package/ui/src/@/iam/ui/password/Password.ts +0 -6
  249. package/ui/src/@/iam/ui/password/Refresh.svelte +0 -5
  250. package/ui/src/@/iam/ui/password/index.ts +0 -2
  251. package/ui/src/@/net/index.ts +0 -1
  252. package/ui/src/@/net/svc/index.ts +0 -3
  253. package/ui/src/@/net/svc/origin.ts +0 -8
  254. package/ui/src/@/net/svc/query.test.ts +0 -45
  255. package/ui/src/@/net/svc/query.ts +0 -25
  256. package/ui/src/@/passkeys/index.ts +0 -1
  257. package/ui/src/@/passkeys/svc/add.ts +0 -15
  258. package/ui/src/@/passkeys/svc/create.ts +0 -58
  259. package/ui/src/@/passkeys/svc/credentials/convert.ts +0 -32
  260. package/ui/src/@/passkeys/svc/credentials/create.ts +0 -34
  261. package/ui/src/@/passkeys/svc/credentials/get.ts +0 -14
  262. package/ui/src/@/passkeys/svc/credentials/index.ts +0 -3
  263. package/ui/src/@/passkeys/svc/credentials/key.ts +0 -10
  264. package/ui/src/@/passkeys/svc/get.ts +0 -10
  265. package/ui/src/@/passkeys/svc/index.ts +0 -6
  266. package/ui/src/@/passkeys/svc/net/CreationResponse.ts +0 -15
  267. package/ui/src/@/passkeys/svc/net/Passkey.ts +0 -8
  268. package/ui/src/@/passkeys/svc/net/RequestResponse.ts +0 -12
  269. package/ui/src/@/passkeys/svc/net/challenges/Options.ts +0 -21
  270. package/ui/src/@/passkeys/svc/net/challenges/index.ts +0 -2
  271. package/ui/src/@/passkeys/svc/net/challenges/interface.ts +0 -16
  272. package/ui/src/@/passkeys/svc/net/index.ts +0 -4
  273. package/ui/src/@/passkeys/svc/net/interface.ts +0 -29
  274. package/ui/src/@/passkeys/svc/remove.ts +0 -13
  275. package/ui/src/@/passkeys/svc/request.ts +0 -50
  276. package/ui/src/@/passkeys/svc/store.ts +0 -13
  277. package/ui/src/@/passkeys/svc/supported.ts +0 -1
  278. package/ui/src/@/passkeys/ui/aaguid.json +0 -150
  279. package/ui/src/@/realtime/events.ts +0 -1
  280. package/ui/src/@/realtime/index.ts +0 -1
  281. package/ui/src/@/realtime/rc.ts +0 -13
  282. package/ui/src/@/realtime/svc/connect.ts +0 -67
  283. package/ui/src/@/realtime/svc/events.ts +0 -17
  284. package/ui/src/@/realtime/svc/index.ts +0 -5
  285. package/ui/src/@/realtime/svc/net/Message.ts +0 -6
  286. package/ui/src/@/realtime/svc/net/index.ts +0 -2
  287. package/ui/src/@/realtime/svc/net/interface.ts +0 -13
  288. package/ui/src/@/realtime/svc/reset.ts +0 -5
  289. package/ui/src/@/realtime/svc/status.ts +0 -12
  290. package/ui/src/@/realtime/svc/store.ts +0 -30
  291. package/ui/src/@/realtime/svc/time.ts +0 -15
  292. package/ui/src/app.d.ts +0 -20
  293. package/ui/src/app.html +0 -13
  294. package/ui/src/config/index.ts +0 -70
  295. package/ui/src/lib/assets/favicon.svg +0 -1
  296. package/ui/src/lib/components/clipboard/Clipboard.svelte +0 -63
  297. package/ui/src/lib/components/clipboard/Clipboard.ts +0 -12
  298. package/ui/src/lib/components/clipboard/index.ts +0 -1
  299. package/ui/src/lib/components/dismissable/Dismissable.svelte +0 -81
  300. package/ui/src/lib/components/dismissable/Dismissable.ts +0 -7
  301. package/ui/src/lib/components/dismissable/index.ts +0 -1
  302. package/ui/src/lib/components/dropdown/Back.svelte +0 -14
  303. package/ui/src/lib/components/dropdown/Back.ts +0 -3
  304. package/ui/src/lib/components/dropdown/Content.svelte +0 -76
  305. package/ui/src/lib/components/dropdown/Content.ts +0 -13
  306. package/ui/src/lib/components/dropdown/Context.ts +0 -18
  307. package/ui/src/lib/components/dropdown/Group.svelte +0 -24
  308. package/ui/src/lib/components/dropdown/Group.ts +0 -8
  309. package/ui/src/lib/components/dropdown/GroupContext.ts +0 -15
  310. package/ui/src/lib/components/dropdown/Item.svelte +0 -31
  311. package/ui/src/lib/components/dropdown/Item.ts +0 -5
  312. package/ui/src/lib/components/dropdown/Layer.svelte +0 -11
  313. package/ui/src/lib/components/dropdown/Layer.ts +0 -7
  314. package/ui/src/lib/components/dropdown/Root.svelte +0 -88
  315. package/ui/src/lib/components/dropdown/Root.ts +0 -6
  316. package/ui/src/lib/components/dropdown/Separator.svelte +0 -13
  317. package/ui/src/lib/components/dropdown/Separator.ts +0 -5
  318. package/ui/src/lib/components/dropdown/Trigger.svelte +0 -33
  319. package/ui/src/lib/components/dropdown/Trigger.ts +0 -5
  320. package/ui/src/lib/components/dropdown/index.ts +0 -8
  321. package/ui/src/lib/components/fullscreen/Fullscreen.svelte +0 -97
  322. package/ui/src/lib/components/fullscreen/Fullscreen.ts +0 -18
  323. package/ui/src/lib/components/fullscreen/Overlay.svelte +0 -15
  324. package/ui/src/lib/components/fullscreen/Overlay.ts +0 -7
  325. package/ui/src/lib/components/fullscreen/index.ts +0 -2
  326. package/ui/src/lib/components/hold/Hold.svelte +0 -133
  327. package/ui/src/lib/components/hold/Hold.ts +0 -23
  328. package/ui/src/lib/components/hold/index.ts +0 -1
  329. package/ui/src/lib/components/scrollable/Scrollable.svelte +0 -49
  330. package/ui/src/lib/components/scrollable/Scrollable.ts +0 -117
  331. package/ui/src/lib/components/scrollable/index.ts +0 -2
  332. package/ui/src/lib/components/shake/Shake.svelte +0 -62
  333. package/ui/src/lib/components/shake/Shake.ts +0 -7
  334. package/ui/src/lib/components/shake/index.ts +0 -1
  335. package/ui/src/lib/components/share/Share.svelte +0 -58
  336. package/ui/src/lib/components/share/Share.ts +0 -9
  337. package/ui/src/lib/components/share/index.ts +0 -1
  338. package/ui/src/lib/components/shell/Attention.svelte +0 -11
  339. package/ui/src/lib/components/shell/Attention.ts +0 -6
  340. package/ui/src/lib/components/shell/Header.svelte +0 -18
  341. package/ui/src/lib/components/shell/Header.ts +0 -7
  342. package/ui/src/lib/components/shell/Screen.svelte +0 -28
  343. package/ui/src/lib/components/shell/Screen.ts +0 -11
  344. package/ui/src/lib/components/shell/Sticky.svelte +0 -23
  345. package/ui/src/lib/components/shell/Sticky.ts +0 -8
  346. package/ui/src/lib/components/shell/Underlay.svelte +0 -21
  347. package/ui/src/lib/components/shell/Underlay.ts +0 -6
  348. package/ui/src/lib/components/shell/index.ts +0 -6
  349. package/ui/src/lib/components/shell/nav/Actions.svelte +0 -31
  350. package/ui/src/lib/components/shell/nav/Actions.ts +0 -16
  351. package/ui/src/lib/components/shell/nav/Back.svelte +0 -20
  352. package/ui/src/lib/components/shell/nav/Back.ts +0 -9
  353. package/ui/src/lib/components/shell/nav/Bar.svelte +0 -24
  354. package/ui/src/lib/components/shell/nav/Bar.ts +0 -3
  355. package/ui/src/lib/components/shell/nav/Button.svelte +0 -64
  356. package/ui/src/lib/components/shell/nav/Button.ts +0 -7
  357. package/ui/src/lib/components/shell/nav/Nav.svelte +0 -62
  358. package/ui/src/lib/components/shell/nav/Nav.ts +0 -35
  359. package/ui/src/lib/components/shell/nav/Return.svelte +0 -29
  360. package/ui/src/lib/components/shell/nav/Return.ts +0 -15
  361. package/ui/src/lib/components/shell/nav/Sections.svelte +0 -58
  362. package/ui/src/lib/components/shell/nav/Sections.ts +0 -6
  363. package/ui/src/lib/components/shell/nav/Toolbar.svelte +0 -73
  364. package/ui/src/lib/components/shell/nav/Toolbar.ts +0 -3
  365. package/ui/src/lib/components/shell/nav/history.ts +0 -36
  366. package/ui/src/lib/components/shell/nav/index.ts +0 -5
  367. package/ui/src/lib/components/shell/nav/store.ts +0 -24
  368. package/ui/src/lib/components/ui/alert/alert-action.svelte +0 -20
  369. package/ui/src/lib/components/ui/alert/alert-description.svelte +0 -23
  370. package/ui/src/lib/components/ui/alert/alert-title.svelte +0 -23
  371. package/ui/src/lib/components/ui/alert/alert.svelte +0 -43
  372. package/ui/src/lib/components/ui/alert/index.ts +0 -17
  373. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte +0 -27
  374. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte +0 -27
  375. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte +0 -32
  376. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte +0 -17
  377. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte +0 -23
  378. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte +0 -20
  379. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-media.svelte +0 -20
  380. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte +0 -17
  381. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-portal.svelte +0 -7
  382. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-title.svelte +0 -17
  383. package/ui/src/lib/components/ui/alert-dialog/alert-dialog-trigger.svelte +0 -7
  384. package/ui/src/lib/components/ui/alert-dialog/alert-dialog.svelte +0 -7
  385. package/ui/src/lib/components/ui/alert-dialog/index.ts +0 -40
  386. package/ui/src/lib/components/ui/badge/badge.svelte +0 -49
  387. package/ui/src/lib/components/ui/badge/index.ts +0 -2
  388. package/ui/src/lib/components/ui/button/button.svelte +0 -82
  389. package/ui/src/lib/components/ui/button/index.ts +0 -17
  390. package/ui/src/lib/components/ui/button-group/button-group-separator.svelte +0 -23
  391. package/ui/src/lib/components/ui/button-group/button-group-text.svelte +0 -28
  392. package/ui/src/lib/components/ui/button-group/button-group.svelte +0 -46
  393. package/ui/src/lib/components/ui/button-group/index.ts +0 -15
  394. package/ui/src/lib/components/ui/card/card-action.svelte +0 -23
  395. package/ui/src/lib/components/ui/card/card-content.svelte +0 -20
  396. package/ui/src/lib/components/ui/card/card-description.svelte +0 -20
  397. package/ui/src/lib/components/ui/card/card-footer.svelte +0 -20
  398. package/ui/src/lib/components/ui/card/card-header.svelte +0 -23
  399. package/ui/src/lib/components/ui/card/card-title.svelte +0 -20
  400. package/ui/src/lib/components/ui/card/card.svelte +0 -22
  401. package/ui/src/lib/components/ui/card/index.ts +0 -25
  402. package/ui/src/lib/components/ui/checkbox/checkbox.svelte +0 -39
  403. package/ui/src/lib/components/ui/checkbox/index.ts +0 -6
  404. package/ui/src/lib/components/ui/collapsible/collapsible-content.svelte +0 -7
  405. package/ui/src/lib/components/ui/collapsible/collapsible-trigger.svelte +0 -7
  406. package/ui/src/lib/components/ui/collapsible/collapsible.svelte +0 -20
  407. package/ui/src/lib/components/ui/collapsible/index.ts +0 -13
  408. package/ui/src/lib/components/ui/input/index.ts +0 -7
  409. package/ui/src/lib/components/ui/input/input.svelte +0 -48
  410. package/ui/src/lib/components/ui/input-otp/index.ts +0 -15
  411. package/ui/src/lib/components/ui/input-otp/input-otp-group.svelte +0 -20
  412. package/ui/src/lib/components/ui/input-otp/input-otp-separator.svelte +0 -27
  413. package/ui/src/lib/components/ui/input-otp/input-otp-slot.svelte +0 -31
  414. package/ui/src/lib/components/ui/input-otp/input-otp.svelte +0 -23
  415. package/ui/src/lib/components/ui/item/index.ts +0 -34
  416. package/ui/src/lib/components/ui/item/item-actions.svelte +0 -20
  417. package/ui/src/lib/components/ui/item/item-content.svelte +0 -23
  418. package/ui/src/lib/components/ui/item/item-description.svelte +0 -23
  419. package/ui/src/lib/components/ui/item/item-footer.svelte +0 -20
  420. package/ui/src/lib/components/ui/item/item-group.svelte +0 -21
  421. package/ui/src/lib/components/ui/item/item-header.svelte +0 -20
  422. package/ui/src/lib/components/ui/item/item-media.svelte +0 -42
  423. package/ui/src/lib/components/ui/item/item-separator.svelte +0 -19
  424. package/ui/src/lib/components/ui/item/item-title.svelte +0 -20
  425. package/ui/src/lib/components/ui/item/item.svelte +0 -61
  426. package/ui/src/lib/components/ui/kbd/index.ts +0 -10
  427. package/ui/src/lib/components/ui/kbd/kbd-group.svelte +0 -20
  428. package/ui/src/lib/components/ui/kbd/kbd.svelte +0 -23
  429. package/ui/src/lib/components/ui/label/index.ts +0 -7
  430. package/ui/src/lib/components/ui/label/label.svelte +0 -20
  431. package/ui/src/lib/components/ui/progress/index.ts +0 -7
  432. package/ui/src/lib/components/ui/progress/progress.svelte +0 -27
  433. package/ui/src/lib/components/ui/select/index.ts +0 -37
  434. package/ui/src/lib/components/ui/select/select-content.svelte +0 -45
  435. package/ui/src/lib/components/ui/select/select-group-heading.svelte +0 -21
  436. package/ui/src/lib/components/ui/select/select-group.svelte +0 -17
  437. package/ui/src/lib/components/ui/select/select-item.svelte +0 -40
  438. package/ui/src/lib/components/ui/select/select-label.svelte +0 -20
  439. package/ui/src/lib/components/ui/select/select-portal.svelte +0 -7
  440. package/ui/src/lib/components/ui/select/select-scroll-down-button.svelte +0 -20
  441. package/ui/src/lib/components/ui/select/select-scroll-up-button.svelte +0 -20
  442. package/ui/src/lib/components/ui/select/select-separator.svelte +0 -18
  443. package/ui/src/lib/components/ui/select/select-trigger.svelte +0 -29
  444. package/ui/src/lib/components/ui/select/select.svelte +0 -11
  445. package/ui/src/lib/components/ui/separator/index.ts +0 -7
  446. package/ui/src/lib/components/ui/separator/separator.svelte +0 -23
  447. package/ui/src/lib/components/ui/spinner/index.ts +0 -1
  448. package/ui/src/lib/components/ui/spinner/spinner.svelte +0 -18
  449. package/ui/src/lib/components/ui/tabs/index.ts +0 -18
  450. package/ui/src/lib/components/ui/tabs/tabs-content.svelte +0 -17
  451. package/ui/src/lib/components/ui/tabs/tabs-list.svelte +0 -40
  452. package/ui/src/lib/components/ui/tabs/tabs-trigger.svelte +0 -23
  453. package/ui/src/lib/components/ui/tabs/tabs.svelte +0 -19
  454. package/ui/src/lib/components/ui/textarea/index.ts +0 -7
  455. package/ui/src/lib/components/ui/textarea/textarea.svelte +0 -22
  456. package/ui/src/lib/intl/bcp.ts +0 -25
  457. package/ui/src/lib/intl/built.js +0 -18
  458. package/ui/src/lib/intl/context.yaml +0 -18
  459. package/ui/src/lib/intl/en-US.yaml +0 -6
  460. package/ui/src/lib/intl/index.ts +0 -65
  461. package/ui/src/lib/intl/types.ts +0 -19
  462. package/ui/src/lib/tools/ago.ts +0 -10
  463. package/ui/src/lib/tools/assert.ts +0 -3
  464. package/ui/src/lib/tools/cap.ts +0 -5
  465. package/ui/src/lib/tools/clicks.ts +0 -25
  466. package/ui/src/lib/tools/contextmenu.ts +0 -19
  467. package/ui/src/lib/tools/convert.ts +0 -32
  468. package/ui/src/lib/tools/currency.test.ts +0 -10
  469. package/ui/src/lib/tools/currency.ts +0 -55
  470. package/ui/src/lib/tools/date.test.ts +0 -21
  471. package/ui/src/lib/tools/date.ts +0 -35
  472. package/ui/src/lib/tools/delay.ts +0 -7
  473. package/ui/src/lib/tools/image.ts +0 -39
  474. package/ui/src/lib/tools/index.ts +0 -20
  475. package/ui/src/lib/tools/location.ts +0 -41
  476. package/ui/src/lib/tools/metronome.ts +0 -11
  477. package/ui/src/lib/tools/mq.ts +0 -84
  478. package/ui/src/lib/tools/onsubmit.ts +0 -21
  479. package/ui/src/lib/tools/random.ts +0 -15
  480. package/ui/src/lib/tools/search.ts +0 -25
  481. package/ui/src/lib/tools/timeout.ts +0 -26
  482. package/ui/src/lib/tools/transition.ts +0 -207
  483. package/ui/src/lib/tools/types.ts +0 -3
  484. package/ui/src/lib/tools/uuid.test.ts +0 -28
  485. package/ui/src/lib/tools/uuid.ts +0 -9
  486. package/ui/src/lib/typeset.css +0 -502
  487. package/ui/src/lib/utils.ts +0 -12
  488. package/ui/src/routes/(private)/+layout.svelte +0 -112
  489. package/ui/src/routes/(private)/+page.svelte +0 -7
  490. package/ui/src/routes/(private)/[component]/+page.svelte +0 -77
  491. package/ui/src/routes/+layout.svelte +0 -25
  492. package/ui/src/routes/+layout.ts +0 -14
  493. package/ui/src/routes/layout.css +0 -232
  494. package/ui/svelte.config.js +0 -36
  495. package/ui/tools/feat.js +0 -43
  496. package/ui/tools/hooks/README.md +0 -13
  497. package/ui/tools/hooks/guard-intl.sh +0 -40
  498. package/ui/tools/shad.js +0 -7
  499. package/ui/tsconfig.json +0 -20
  500. package/ui/vite.config.ts +0 -8
  501. /package/ui/{static → dist}/robots.txt +0 -0
@@ -0,0 +1 @@
1
+ import{B as e,H as t,V as n,ht as r,it as i,n as a,ot as o,t as s}from"./CcD_ISxM.js";var c=class{constructor(e,t){this.status=e,this.body=typeof t==`string`?{message:t}:t||{message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}},l=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},u=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};new URL(`sveltekit-internal://`);function d(e,t){return e===`/`||t===`ignore`?e:t===`never`?e.endsWith(`/`)?e.slice(0,-1):e:t===`always`&&!e.endsWith(`/`)?e+`/`:e}function f(e){return e.split(`%25`).map(decodeURI).join(`%25`)}function p(e){for(let t in e)e[t]=decodeURIComponent(e[t]);return e}function m({href:e}){return e.split(`#`)[0]}function h(){}function g(...e){let t=5381;for(let n of e)if(typeof n==`string`){let e=n.length;for(;e;)t=t*33^n.charCodeAt(--e)}else if(ArrayBuffer.isView(n)){let e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength),r=e.length;for(;r;)t=t*33^e[--r]}else throw TypeError(`value must be a string or TypedArray`);return(t>>>0).toString(36)}new TextEncoder;function _(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var v=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||`GET`)!==`GET`&&y.delete(x(e)),v(e,t));var y=new Map;function ee(e,t){let n=x(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:e,...t}=JSON.parse(r.textContent);r.getAttribute(`data-b64`)!==null&&(e=_(e));let i=r.getAttribute(`data-ttl`);return i&&y.set(n,{body:e,init:t,ttl:1e3*Number(i)}),Promise.resolve(new Response(e,t))}return window.fetch(e,t)}function b(e,t,n){if(y.size>0){let t=x(e,n),r=y.get(t);if(r){if(performance.now()<r.ttl&&[`default`,`force-cache`,`only-if-cached`,void 0].includes(n?.cache))return new Response(r.body,r.init);y.delete(t)}}return window.fetch(t,n)}function x(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){let e=[];t.headers&&e.push([...new Headers(t.headers)].join(`,`)),t.body&&(typeof t.body==`string`||ArrayBuffer.isView(t.body))&&e.push(t.body),n+=`[data-hash="${g(...e)}"]`}return n}var te=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,ne=/^\/\((?:[^)]+)\)$/;function re(e){let t=[];return{pattern:e===`/`||ne.test(e)?/^\/$/:RegExp(`^${ae(e).map(e=>{let n=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`))return se(String.fromCharCode(parseInt(e.slice(2),16)));if(e.startsWith(`u+`))return se(String.fromCharCode(...e.slice(2).split(`-`).map(e=>parseInt(e,16))));let[,r,a,o,s]=te.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return se(e)}).join(``)}).join(``)}/?$`),params:t}}function ie(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function ae(e){return e.slice(1).split(`/`).filter(ie)}function oe(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0){if(s.rest)c=``;else continue}if(!s.matcher||n[s.matcher](c)){r[s.name]=c;let n=t[e+1],l=i[e+1];n&&!n.rest&&n.optional&&l&&s.chained&&(o=0),!n&&!l&&Object.keys(r).length===a.length&&(o=0);continue}if(s.optional&&s.chained){o++;continue}return}if(!o)return r}function se(e){return e.normalize().replace(/[[\]]/g,`\\$&`).replace(/%/g,`%25`).replace(/\//g,`%2[Ff]`).replace(/\?/g,`%3[Ff]`).replace(/#/g,`%23`).replace(/[.*+?^${}()|\\]/g,`\\$&`)}function ce({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=re(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return oe(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function le(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ue(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var S=globalThis.__sveltekit_umytmf?.base??`/.configuration`,de=globalThis.__sveltekit_umytmf?.assets??S??``,fe=`1788425249811`,pe=`sveltekit:snapshot`,me=`sveltekit:scroll`,he=`sveltekit:states`,C=`sveltekit:history`,w=`sveltekit:navigation`,T={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ge=location.origin;function _e(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function E(){return{x:pageXOffset,y:pageYOffset}}function D(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var ve={...T,"":T.hover};function ye(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function be(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()===`A`&&e.hasAttribute(`href`))return e;e=ye(e)}}function xe(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||k(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===ge&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function O(e){let t=null,n=null,r=null,i=null,a=null,o=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=D(s,`preload-code`)),i===null&&(i=D(s,`preload-data`)),t===null&&(t=D(s,`keepfocus`)),n===null&&(n=D(s,`noscroll`)),a===null&&(a=D(s,`reload`)),o===null&&(o=D(s,`replacestate`)),s=ye(s);function c(e){switch(e){case``:case`true`:return!0;case`off`:case`false`:return!1;default:return}}return{preload_code:ve[r??`off`],preload_data:ve[i??`off`],keepfocus:c(t),noscroll:c(n),reload:c(a),replace_state:c(o)}}function Se(e){let t=r(e),n=!0;function i(){n=!0,t.update(e=>e)}function a(e){n=!1,t.set(e)}function o(e){let r;return t.subscribe(t=>{(r===void 0||n&&t!==r)&&e(r=t)})}return{notify:i,set:a,subscribe:o}}var Ce={v:h};function we(){let{set:e,subscribe:t}=r(!1),n;async function i(){clearTimeout(n);try{let t=await fetch(`${de}/_app/version.json`,{headers:{pragma:`no-cache`,"cache-control":`no-cache`}});if(!t.ok)return!1;let r=(await t.json()).version!==fe;return r&&(e(!0),Ce.v(),clearTimeout(n)),r}catch{return!1}}return{subscribe:t,check:i}}function k(e,t,n){return e.origin!==ge||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Te(e){}var Ee=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);[...Ee],[...new Set([...Ee])];function De(e){return e.filter(e=>e!=null)}function A(e,t){return e+`/`+t}function Oe(e){return e instanceof c||e instanceof u?e.status:500}function ke(e){return e instanceof u?e.text:`Internal Error`}var j,M,Ae,je=a.toString().includes(`$$`)||/function \w+\(\) \{\}/.test(a.toString()),Me=`a:`;je?(j={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Me)},M={current:null},Ae={current:!1}):(j=new class{#e=o({});get data(){return e(this.#e)}set data(e){i(this.#e,e)}#t=o(null);get form(){return e(this.#t)}set form(e){i(this.#t,e)}#n=o(null);get error(){return e(this.#n)}set error(e){i(this.#n,e)}#r=o({});get params(){return e(this.#r)}set params(e){i(this.#r,e)}#i=o({id:null});get route(){return e(this.#i)}set route(e){i(this.#i,e)}#a=o({});get state(){return e(this.#a)}set state(e){i(this.#a,e)}#o=o(-1);get status(){return e(this.#o)}set status(e){i(this.#o,e)}#s=o(new URL(Me));get url(){return e(this.#s)}set url(e){i(this.#s,e)}},M=new class{#e=o(null);get current(){return e(this.#e)}set current(e){i(this.#e,e)}},Ae=new class{#e=o(!1);get current(){return e(this.#e)}set current(e){i(this.#e,e)}},Ce.v=()=>Ae.current=!0);function Ne(e){Object.assign(j,e)}var{onMount:Pe,tick:Fe}=s,Ie=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),N=null,P=le(`sveltekit:scroll`)??{},F=le(`sveltekit:snapshot`)??{},I={url:Se({}),page:Se({}),navigating:r(null),updated:we()};function Le(e){P[e]=E()}function Re(e,t){let n=e+1;for(;P[n];)delete P[n],n+=1;for(n=t+1;F[n];)delete F[n],n+=1}function L(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(h)}async function ze(){if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(S||`/`);e&&await e.update()}}var Be,Ve,R,z,He,B,Ue={},We={},V=[],H=[],U=null;function Ge(){U?.fork?.then(e=>e?.discard()),U=null,Q={element:void 0,href:void 0}}var Ke=new Map,qe=new Set,Je=new Set,W=new Set,G={branch:[],error:null,url:null,nav:null},Ye=!1,Xe=!1,Ze=!0,K=!1,q=!1,Qe=!1,$e=!1,et,J,Y,X,tt=new Set,nt=new Map,rt=new Map;async function it(e,t,n){if(globalThis.__sveltekit_umytmf.data){let{q:e={},p:t={},l:n={},f:r={}}=globalThis.__sveltekit_umytmf.data;for(let t in e)Ue[t]=e[t];for(let e in n)Ue[e]=n[e];for(let e in r)Ue[e]=r[e];for(let e in t)We[e]=t[e]}document.URL!==location.href&&(location.href=location.href),B=e,await e.hooks.init?.(),Be=ce(e),z=document.documentElement,He=t,Ve=e.nodes[0],R=e.nodes[1],Ve(),R(),J=history.state?.[C],Y=history.state?.[w],J||(J=Y=Date.now(),history.replaceState({...history.state,[C]:J,[w]:Y},``));let r=P[J];function i(){r&&(history.scrollRestoration=`manual`,scrollTo(r.x,r.y))}n?(i(),await Ft(He,n)):(await Z({type:`enter`,url:_e(B.hash?Vt(new URL(location.href)):location.href),replace_state:!0}),i()),Pt()}function at(){V.length=0,$e=!1}function ot(e){H.some(e=>e?.snapshot)&&(F[e]=H.map(e=>e?.snapshot?.capture()))}function st(e){F[e]?.forEach((e,t)=>{H[t]?.snapshot?.restore(e)})}function ct(){Le(J),ue(me,P),ot(Y),ue(pe,F)}async function lt(e,n,r,i){let a,o;n.invalidateAll&&Ge(),await Z({type:`goto`,url:_e(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:r,nav_token:i,accept:()=>{if(n.invalidateAll){$e=!0,a=new Set;for(let[e,t]of nt)for(let[n,r]of t)r.resource?.reset(),a.add(A(e,n));o=new Set;for(let[e,t]of rt)for(let n of t.keys())o.add(A(e,n))}n.invalidate&&n.invalidate.forEach(Nt)}}),n.invalidateAll&&t().then(t).then(()=>{for(let[e,t]of nt)for(let[n,{resource:r}]of t)a?.has(A(e,n))&&r.start();for(let[e,t]of rt)for(let[n,{resource:r}]of t)o?.has(A(e,n))&&r.reconnect()})}async function ut(e){if(e.id!==U?.id){Ge();let t={};tt.add(t),U={id:e.id,token:t,promise:bt({...e,preload:t}).then(e=>(tt.delete(t),e.type===`loaded`&&e.state.error&&Ge(),e)),fork:null}}return U.promise}async function dt(e){let t=(await wt(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(e=>e[1]()))}async function ft(e,t,n){let r={params:G.params,route:{id:G.route?.id??null},url:new URL(location.href)};if(G={...e.state,nav:r},Ne(e.props.page),et=new B.root({target:t,props:{...e.props,stores:I,components:H},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){let e={from:null,to:{...r,scroll:P[J]??E()},willUnload:!1,type:`enter`,complete:Promise.resolve()};W.forEach(t=>t(e))}st(Y),Xe=!0}async function pt({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(S&&(e.pathname===S||e.pathname===S+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=d(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:De(n).map(e=>e.node.component),page:Bt(j)}};s!==void 0&&(l.props.form=s);let u={},f=!j,p=0;for(let e=0;e<Math.max(n.length,G.branch.length);e+=1){let t=n[e],r=G.branch[e];t?.data!==r?.data&&(f=!0),t&&(u={...u,...t.data},f&&(l.props[`data_${p}`]=u),p+=1)}return(!G.url||e.href!==G.url.href||G.error!==a||s!==void 0&&s!==j.form||f)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:f?u:j.data}),l}async function mt({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},s=await e();return{node:s,loader:e,server:a,universal:s.universal?.load?{type:`data`,data:null,uses:o}:null,data:a?.data??null,slash:s.universal?.trailingSlash??a?.slash}}function ht(e,t,n){let r=e instanceof Request?e.url:e,i=new URL(r,n);return i.origin===n.origin&&(r=i.href.slice(n.origin.length)),{resolved:i,promise:Xe?b(r,i.href,t):ee(r,t)}}function gt(e,t,n,r,i,a){if($e)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==G.params[e])return!0;for(let e of i.dependencies)if(V.some(t=>t(new URL(e))))return!0;return!1}function _t(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function vt(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r),a=t.searchParams.getAll(r);i.every(e=>a.includes(e))&&a.every(e=>i.includes(e))&&n.delete(r)}return n}function yt({error:e,url:t,route:n,params:r}){return{type:`loaded`,state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Bt(j),constructors:[]}}}async function bt({id:e,invalidating:t,url:n,params:r,route:i,preload:a}){if(U?.id===e)return tt.delete(U.token),U.promise;let{errors:o,layouts:s,leaf:u}=i,d=[...s,u];o.forEach(e=>e?.().catch(h)),d.forEach(e=>e?.[1]().catch(h));let f=G.url?e!==Et(G.url):!1,p=G.route?i.id!==G.route.id:!1,m=vt(G.url,n),g=!1,_=d.map(async(e,t)=>{if(!e)return;let a=G.branch[t];return e[1]===a?.loader&&!gt(g,p,f,m,a.universal?.uses,r)?a:(g=!0,mt({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await _[n])?.data);return e},server_data_node:_t(e[0]?{type:`skip`}:null,e[0]?a?.server:void 0)}))});for(let e of _)e.catch(h);let v=[];for(let e=0;e<d.length;e+=1)if(d[e])try{v.push(await _[e])}catch(t){if(t instanceof l)return{type:`redirect`,location:t.location};if(a&&tt.has(a))return yt({error:await $(t,{params:r,url:n,route:{id:i.id}}),url:n,params:r,route:i});let s=Oe(t),u;if(t instanceof c)u=t.body;else{if(await I.updated.check())return await ze(),await L(n);u=await $(t,{params:r,url:n,route:{id:i.id}})}let d=await xt(e,v,o);return d?pt({url:n,params:r,branch:v.slice(0,d.idx).concat(d.node),errors:o,status:s,error:u,route:i}):await Ot(n,{id:i.id},u,s)}else v.push(void 0);return pt({url:n,params:r,branch:v,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function xt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)--r;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function St({status:e,error:t,url:n,route:r}){let i={};try{return pt({url:n,params:i,branch:[await mt({loader:Ve,url:n,params:i,route:r,parent:()=>Promise.resolve({}),server_data_node:_t(null)}),{node:await R(),loader:R,universal:null,server:null,data:null}],status:e,error:t,errors:[],route:null})}catch(t){if(t instanceof l){await lt(new URL(t.location,location.href),{},0);return}let a=await B.get_error_template(),o=await $(t,{url:n,params:i,route:r}),s=a({status:e,message:String(o?.message??``).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}),c=new DOMParser().parseFromString(s,`text/html`);throw document.documentElement.replaceChild(document.adoptNode(c.head),document.head),document.documentElement.replaceChild(document.adoptNode(c.body),document.body),t}}async function Ct(e){let t=e.href;if(Ke.has(t))return Ke.get(t);let n;try{let r=(async()=>{let t=await B.hooks.reroute({url:new URL(e),fetch:async(t,n)=>ht(t,n,e).promise})??e;if(typeof t==`string`){let n=new URL(e);B.hash?n.hash=t:n.pathname=t,t=n}return t})();Ke.set(t,r),n=await r}catch{Ke.delete(t);return}return n}async function wt(e,t){if(e&&!k(e,S,B.hash)){let n=await Ct(e);if(!n)return;let r=Tt(n);for(let n of Be){let i=n.exec(r);if(i)return{id:Et(e),invalidating:t,route:n,params:p(i),url:e}}}}function Tt(e){return f(B.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(S.length))||`/`}function Et(e){return(B.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function Dt({url:e,type:t,intent:n,delta:r,event:i,scroll:a}){let o=!1,s=zt(G,n,e,t,a??null);r!==void 0&&(s.navigation.delta=r),i!==void 0&&(s.navigation.event=i);let c={...s.navigation,cancel:()=>{o=!0,s.reject(Error(`navigation cancelled`))}};return K||qe.forEach(e=>e(c)),o?null:s}async function Z({type:e,url:r,popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c={},redirect_count:l=0,nav_token:d={},accept:f=h,block:p=h,event:m}){let g=X;X=d;let _=await wt(r,!1),v=e===`enter`?zt(G,_,r,e):Dt({url:r,type:e,delta:i?.delta,intent:_,scroll:i?.scroll,event:m});if(!v){p(),X===d&&(X=g);return}let y=J,ee=Y;f(),K=!0,Xe&&v.navigation.type!==`enter`&&I.navigating.set(M.current=v.navigation);let b=_&&await bt(_);if(!b){if(k(r,S,B.hash))return await L(r,s);b=await Ot(r,{id:null},await $(new u(404,`Not Found`,`Not found: ${r.pathname}`),{url:r,params:{},route:{id:null}}),404,s)}if(r=_?.url||r,X!==d){v.reject(Error(`navigation aborted`));return}if(!b)return;if(b.type===`redirect`){if(l<20){await Z({type:e,url:new URL(b.location,r),popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c,redirect_count:l+1,nav_token:d}),v.fulfil(void 0);return}if(b=await St({status:500,error:await $(Error(`Redirect loop`),{url:r,params:{},route:{id:null}}),url:r,route:{id:null}}),!b)return}else if(b.props.page.status>=400&&await I.updated.check())return await ze(),await L(r,s);if(at(),Le(y),ot(ee),b.props.page.url.pathname!==r.pathname&&(r.pathname=b.props.page.url.pathname),c=i?i.state:c,!i){let e=+!s,t={[C]:J+=e,[w]:Y+=e,[he]:c};(s?history.replaceState:history.pushState).call(history,t,``,r),s||Re(J,Y)}let x=_&&U?.id===_.id?U.fork:null;U?.fork&&!x?Ge():(U=null,Q={element:void 0,href:void 0}),b.props.page.state=c;let te;if(Xe){let e=(await Promise.all(Array.from(Je,e=>e(v.navigation)))).filter(e=>typeof e==`function`);if(e.length>0){function t(){e.forEach(e=>{W.delete(e)})}e.push(t),e.forEach(e=>{W.add(e)})}let t=v.navigation.to;G={...b.state,nav:{params:t.params,route:t.route,url:t.url}},b.props.page&&(b.props.page.url=r),!a&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();let i=x&&await x;i?te=i.commit():(N=null,et.$set(b.props),N&&Object.assign(b.props.page,N),Ne(b.props.page),te=n?.()),Qe=!0}else await ft(b,He,!1);let{activeElement:ne}=document;if(await te,await t(),await t(),X!==d){v.reject(Error(`navigation aborted`));return}b.props.page&&N&&Object.assign(b.props.page,N);let re=null;if(Ze){let e=i?i.scroll:o?E():null;e?scrollTo(e.x,e.y):(re=r.hash&&document.getElementById(Ht(r)))?re.scrollIntoView():scrollTo(0,0)}let ie=document.activeElement!==ne&&document.activeElement!==document.body;!a&&!ie&&Rt(r,!re),Ze=!0,K=!1,v.fulfil(void 0),v.navigation.to&&(v.navigation.to.scroll=E()),W.forEach(e=>e(v.navigation)),e===`popstate`&&st(Y),I.navigating.set(M.current=null)}async function Ot(e,t,n,r,i){return e.origin===ge&&e.pathname===location.pathname&&!Ye?await St({status:r,error:n,url:e,route:t}):await L(e,i)}var Q={element:void 0,href:void 0};function kt(){let e,t;z.addEventListener(`mousemove`,t=>{let n=t.target;clearTimeout(e),e=setTimeout(()=>{i(n,T.hover)},20)});function n(e){e.defaultPrevented||i(e.composedPath()[0],T.tap)}z.addEventListener(`mousedown`,n),z.addEventListener(`touchstart`,n,{passive:!0});let r=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(dt(new URL(t.target.href)),r.unobserve(t.target))},{threshold:0});async function i(e,n){let r=be(e,z),i=r===Q.element&&r?.href===Q.href&&n>=t;if(!r||i)return;let{url:a,external:o,download:s}=xe(r,S,B.hash);if(o||s)return;let c=O(r),l=a&&Et(G.url)===Et(a);if(!(c.reload||l)){if(n<=c.preload_data){Q={element:r,href:r.href},t=T.tap;let e=await wt(a,!1);if(!e)return;ut(e)}else n<=c.preload_code&&(Q={element:r,href:r.href},t=n,dt(a))}}function a(){r.disconnect();for(let e of z.querySelectorAll(`a`)){let{url:t,external:n,download:i}=xe(e,S,B.hash);if(n||i)continue;let a=O(e);a.reload||(a.preload_code===T.viewport&&r.observe(e),a.preload_code===T.eager&&dt(t))}}W.add(a),a()}function $(e,t){if(e instanceof c)return e.body;let n=Oe(e),r=ke(e);return B.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function At(e,t){Pe(()=>(e.add(t),()=>{e.delete(t)}))}function jt(e){At(Je,e)}function Mt(e,t={}){return e=new URL(_e(e)),e.origin===ge?lt(e,t,0):Promise.reject(Error(`goto: invalid URL`))}function Nt(e){if(typeof e==`function`)V.push(e);else{let{href:t}=new URL(e,location.href);V.push(e=>e.href===t)}}function Pt(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(ct(),!K){let e=zt(G,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};qe.forEach(e=>e(n))}t?(e.preventDefault(),e.returnValue=``):history.scrollRestoration=`auto`}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&ct()}),navigator.connection?.saveData||kt(),z.addEventListener(`click`,async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=be(t.composedPath()[0],z);if(!n)return;let{url:r,external:i,target:a,download:o}=xe(n,S,B.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=O(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&r.protocol!==`https:`&&r.protocol!==`http:`||o)return;let[c,l]=(B.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===m(location);if(i||s.reload&&(!u||!l)){Dt({url:r,type:`link`,event:t})?K=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=G.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(q=!0,Le(J),e(r),!s.replace_state)return;q=!1}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)}),await Z({type:`link`,url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href,event:t})}),z.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(k(r,S,!1))return;let i=e.target,a=O(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),Z({type:`form`,url:r,keepfocus:a.keepfocus,noscroll:a.noscroll,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{if(!Lt){if(t.state?.[`sveltekit:history`]){let n=t.state[C];if(X={},n===J)return;let r=P[n],i=t.state[`sveltekit:states`]??{},a=new URL(t.state[`sveltekit:pageurl`]??location.href),o=t.state[w],s=G.url?m(location)===m(G.url):!1;if(o===Y&&(Qe||s)){i!==j.state&&(j.state=i),e(a),P[J]=E(),r&&scrollTo(r.x,r.y),J=n;return}let c=n-J;await Z({type:`popstate`,url:a,popped:{state:i,scroll:r,delta:c},accept:()=>{J=n,Y=o},block:()=>{history.go(-c)},nav_token:X,event:t})}else q||(e(new URL(location.href)),B.hash&&location.reload())}}),addEventListener(`hashchange`,()=>{q&&(q=!1,history.replaceState({...history.state,[C]:++J,[w]:Y},``,location.href))});for(let e of document.querySelectorAll(`link`))Ie.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{e.persisted&&I.navigating.set(M.current=null)});function e(e){G.url=j.url=e,I.page.set(Bt(j)),I.page.notify()}}async function Ft(e,{status:t=200,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){Ye=!0;let u=new URL(location.href),d;({params:i={},route:a={id:null}}=await wt(u,!1)||{}),d=Be.find(({id:e})=>e===a.id);let f,p=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=It(r.uses)),mt({loader:B.nodes[t],url:u,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:_t(r)})}),o=await Promise.all(e);if(d){let e=d.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}f=await pt({url:u,params:i,branch:o,status:t,error:n,errors:d?.errors,form:c,route:d??null})}catch(t){if(t instanceof l)return await L(new URL(t.location,location.href));f=await St({status:Oe(t),error:await $(t,{url:u,params:i,route:a}),url:u,route:a}),e.textContent=``,p=!1}f&&(f.props.page&&(f.props.page.state={}),await ft(f,e,p))}function It(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}var Lt=!1;function Rt(e,t=!0){let n=document.querySelector(`[autofocus]`);if(n)n.focus();else{let n=Ht(e);if(n&&document.getElementById(n)){let{x:r,y:i}=E();setTimeout(()=>{let a=history.state;Lt=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(a,``,e),t&&scrollTo(r,i),Lt=!1})}else{let e=document.body,t=e.getAttribute(`tabindex`);e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}let r=getSelection();if(r&&r.type!==`None`){let e=[];for(let t=0;t<r.rangeCount;t+=1)e.push(r.getRangeAt(t));setTimeout(()=>{if(r.rangeCount===e.length){for(let t=0;t<r.rangeCount;t+=1){let n=e[t],i=r.getRangeAt(t);if(n.commonAncestorContainer!==i.commonAncestorContainer||n.startContainer!==i.startContainer||n.endContainer!==i.endContainer||n.startOffset!==i.startOffset||n.endOffset!==i.endOffset)return}r.removeAllRanges()}})}}}function zt(e,t,n,r,i=null){let a,o,s=new Promise((e,t)=>{a=e,o=t});return s.catch(h),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:E()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:i},willUnload:!t,type:r,complete:s},fulfil:a,reject:o}}function Bt(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Vt(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function Ht(e){let t;if(B.hash){let[,,n]=e.hash.split(`#`,3);t=n??``}else t=e.hash.slice(1);return decodeURIComponent(t)}export{j as a,S as c,M as i,jt as n,Te as o,it as r,fe as s,Mt as t};
@@ -0,0 +1,8 @@
1
+ import{$ as e,A as t,B as n,Dt as r,E as i,Et as a,J as o,L as s,M as c,N as l,P as u,Q as d,R as f,S as p,Tt as m,a as h,b as g,bt as _,c as v,d as y,dt as b,et as x,i as S,it as C,j as w,k as T,kt as E,l as D,m as O,n as ee,nt as te,o as k,ot as A,p as j,pt as ne,q as M,s as N,st as P,tt as F,u as I,ut as L,v as R,w as z,x as re,y as B,yt as V}from"./CcD_ISxM.js";import"./E7oj41Za.js";import"./xihTtKlq.js";import{A as ie,C as ae,D as oe,E as se,O as ce,_ as le,a as ue,c as de,d as fe,f as pe,g as me,h as he,i as ge,j as H,l as _e,m as ve,n as ye,p as be,s as xe,u as Se,w as Ce,x as we}from"./CDKtbN4n.js";import{A as Te,B as Ee,C as De,D as Oe,E as ke,F as Ae,G as je,H as U,I as W,L as Me,M as G,N as Ne,O as Pe,P as Fe,R as Ie,S as Le,T as K,U as Re,V as ze,W as q,b as Be,d as Ve,f as He,g as Ue,h as We,j as Ge,k as Ke,m as qe,p as Je,u as J,v as Ye,w as Xe,x as Ze,y as Qe,z as $e}from"./Cov6-56A.js";var et=new Set([`$$slots`,`$$events`,`$$legacy`]);function tt(e,t){let n=h(t,et),r=[[`path`,{d:`m16 17 5-5-5-5`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]];H(e,k({name:`log-out`},()=>n,{get iconNode(){return r}}))}var nt=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`role`,`name`,`color`,`stroke`,`aria-label`]);function Y(e,t){_(t,!0);let r=S(t,`role`,3,`status`),i=S(t,`aria-label`,3,`Loading`),a=h(t,nt);{let o=P(()=>t.name===null?void 0:t.name),s=P(()=>t.color===null?void 0:t.color),c=P(()=>t.stroke===null?void 0:t.stroke),l=P(()=>q(`size-4 animate-spin`,t.class));ie(e,k({get role(){return r()},get name(){return n(o)},get color(){return n(s)},get stroke(){return n(c)},get"aria-label"(){return i()},get class(){return n(l)}},()=>a))}V()}var rt={"en-US":{auth:{signupTitle:`One-tap sign-up`,passwordTitle:`Hop in with password`,passwordDescription:`Create an account or sign in`,passkey:`Passkeys`,email:`Email`,alreadyHaveAccount:`Already have an account?`,betterSecurity:`Better security`,passkeysNotSupported:`Passkeys not supported`,passkeysWarning:`Your browser does not respect your privacy and security.`,learnMore:`Learn more`,passwordBlank:`Leave password blank <nobr>to receive</nobr> <nobr>a one-time</nobr> passcode.`,otpInstructions:`Enter the code sent to your email. It expires in 5 minutes.`,continueWith:e=>`Continue with ${e}`,passkeysDescription:`Passkeys are safer than passwords, easier to use, and can’t be stolen.`,yourName:`Your name`,password:`Password`,refresh:{description:e=>`${e?e+`, for`:`For`} security reasons, your credentials have expired. Please log in again to continue.`,title:`Welcome back`,continue:`Continue`},signout:`Sign out`,login:`Log In`,signin:`Sign In`,copyId:`Copy account ID`},credentials:{connect:`Connect`,email:{title:`Email`,description:`Connect your email address`},google:{title:`Google`,description:`Connect your Google account`},apple:{title:`Apple`,description:`Connect your Apple ID`},passkeys:{title:`Passkeys`,tagline:`Sign in faster with a passkey`,create:`Create`,manage:`Manage`,collapse:`Collapse`,add:`Enter passkey name`,delete:`Hold to delete`,unknown:`Unknown`,count:e=>{let t={one:`{n} passkey`,other:`{n} passkeys`},n=`en-US`,r=new Intl.PluralRules(n).select(e),i=t;return(i[r]??i.other).replace(/{n}/g,new Intl.NumberFormat(n).format(e))},meta:(e,t)=>`Added ${e} · Used ${t}`,duplicate:`This device already has a passkey for your account`,failed:`Could not create the passkey. Please try again.`},transfer:{action:`Sign in on another device`,title:`Scan to sign in`,description:`Use your other device to scan this code and sign in.`,done:`Done`}}}},X=ne(ye,e=>rt[e]),it=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),at=w(`<div><!></div>`);function ot(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,it);var o=at();I(o,e=>({"data-slot":`card-content`,class:e,...i}),[()=>q(`px-(--card-spacing)`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var st=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),ct=w(`<p><!></p>`);function lt(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,st);var o=ct();I(o,e=>({"data-slot":`card-description`,class:e,...i}),[()=>q(`text-sm text-muted-foreground`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var ut=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),dt=w(`<div><!></div>`);function ft(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,ut);var o=dt();I(o,e=>({"data-slot":`card-footer`,class:e,...i}),[()=>q(`rounded-b-xl border-t bg-muted/50 p-(--card-spacing) flex items-center`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var pt=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),mt=w(`<div><!></div>`);function ht(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,pt);var o=mt();I(o,e=>({"data-slot":`card-header`,class:e,...i}),[()=>q(`gap-1 rounded-t-xl px-(--card-spacing) [.border-b]:pb-(--card-spacing) group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var gt=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),_t=w(`<div><!></div>`);function vt(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,gt);var o=_t();I(o,e=>({"data-slot":`card-title`,class:e,...i}),[()=>q(`text-base leading-snug font-medium group-data-[size=sm]/card:text-sm`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var yt=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`,`size`]),bt=w(`<div><!></div>`);function xt(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=S(t,`size`,3,`default`),o=h(t,yt);var s=bt();I(s,e=>({"data-slot":`card`,"data-size":i(),class:e,...o}),[()=>q(`gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl group/card flex flex-col`,t.class)]);var c=d(s);B(c,()=>t.children??r),a(s),N(s,e=>n(e),()=>n()),T(e,s),V()}var St=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ct(e,t){let n=h(t,St),r=[[`path`,{d:`M5 12h14`}],[`path`,{d:`m12 5 7 7-7 7`}]];H(e,k({name:`arrow-right`},()=>n,{get iconNode(){return r}}))}var wt=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`value`,`type`,`files`,`class`,`data-slot`]),Tt=w(`<input/>`);function Et(n,r){_(r,!0);let i=S(r,`ref`,15,null),a=S(r,`value`,15),o=S(r,`files`,15),s=S(r,`data-slot`,3,`input`),c=h(r,wt);var l=t(),u=e(l),d=e=>{var t=Tt();I(t,e=>({"data-slot":s(),class:e,type:`file`,...c}),[()=>q(`h-8 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,r.class)],void 0,void 0,void 0,!0),N(t,e=>i(e),()=>i()),v(t,o),D(t,a),T(e,t)},f=e=>{var t=Tt();I(t,e=>({"data-slot":s(),class:e,type:r.type,...c}),[()=>q(`h-8 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,r.class)],void 0,void 0,void 0,!0),N(t,e=>i(e),()=>i()),D(t,a),T(e,t)};z(u,e=>{r.type===`file`?e(d):e(f,-1)}),T(n,l),V()}var Dt=w(`<div><!></div>`);function Ot(e,t){_(t,!0);let r=A(!1);async function i(){C(r,!0),await new Promise(e=>setTimeout(e,500)),C(r,!1)}var o={shake:i},s=Dt(),c=d(s);return B(c,()=>t.children),a(s),M(()=>j(s,1,O([t.class,n(r)&&`shake`]),`svelte-alh7mr`)),T(e,s),V(o)}function Z(e){let t=A(te(e));return{[Ne]:!0,[$e]:!0,get current(){return n(t)},set current(e){C(t,e,!0)}}}Z.from=Ae,Z.with=W,Z.flatten=Fe,Z.readonly=ze,Z.isBox=Me,Z.isWritableBox=Ie;function kt(e){return window.getComputedStyle(e).getPropertyValue(`direction`)}var At=[Je,Be,Ye],jt=[Ue,Qe,`End`];[...At,...jt];function Mt(e=`ltr`,t=`horizontal`){return{horizontal:e===`rtl`?qe:We,vertical:Je}[t]}function Nt(e=`ltr`,t=`horizontal`){return{horizontal:e===`rtl`?We:qe,vertical:Ue}[t]}function Pt(e=`ltr`,t=`horizontal`){return[`ltr`,`rtl`].includes(e)||(e=`ltr`),[`horizontal`,`vertical`].includes(t)||(t=`horizontal`),{nextKey:Mt(e,t),prevKey:Nt(e,t)}}var Ft=class{#e;#t=Z(null);constructor(e){this.#e=e}getCandidateNodes(){return this.#e.rootNode.current?this.#e.candidateSelector?Array.from(this.#e.rootNode.current.querySelectorAll(this.#e.candidateSelector)):this.#e.candidateAttr?Array.from(this.#e.rootNode.current.querySelectorAll(`[${this.#e.candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){let e=this.getCandidateNodes();e.length&&e[0]?.focus()}handleKeydown(e,t,n=!1){let r=this.#e.rootNode.current;if(!r||!e)return;let i=this.getCandidateNodes();if(!i.length)return;let a=i.indexOf(e),{nextKey:o,prevKey:s}=Pt(kt(r),this.#e.orientation.current),c=this.#e.loop.current,l={[o]:a+1,[s]:a-1,[Ye]:0,End:i.length-1};if(n){let e=o===`ArrowDown`?We:Je,t=s===`ArrowUp`?qe:Ue;l[e]=a+1,l[t]=a-1}let u=l[t.key];if(u===void 0)return;t.preventDefault(),u<0&&c?u=i.length-1:u===i.length&&c&&(u=0);let d=i[u];if(d)return d.focus(),this.#t.current=d.id,this.#e.onCandidateFocus?.(d),d}getTabIndex(e){let t=this.getCandidateNodes(),n=this.#t.current!==null;return e&&!n&&t[0]===e?(this.#t.current=e.id,0):e?.id===this.#t.current?0:-1}setCurrentTabStopId(e){this.#t.current=e}focusCurrentTabStop(){let e=this.#t.current;if(!e)return;let t=this.#e.rootNode.current?.querySelector(`#${e}`);t&&He(t)&&t.focus()}},It=18,Lt=40,Rt=`${Lt}px`,zt=[`[data-lastpass-icon-root]`,`com-1password-button`,`[data-dashlanecreated]`,`[style$="2147483647 !important;"]`].join(`,`);function Bt({containerRef:e,inputRef:t,pushPasswordManagerStrategy:r,isFocused:i,domContext:a}){let s=A(!1),c=A(!1),l=A(!1);function u(){let e=r.current;return e!==`none`&&e===`increase-width`&&n(s)&&n(c)}function d(){let i=e.current,o=t.current;if(!i||!o||n(l)||r.current===`none`)return;let c=i,u=c.getBoundingClientRect().left+c.offsetWidth,d=c.getBoundingClientRect().top+c.offsetHeight/2,f=u-It,p=d;(a.querySelectorAll(zt).length!==0||a.getDocument().elementFromPoint(f,p)!==i)&&(C(s,!0),C(l,!0))}return o(()=>{let t=e.current;if(!t||r.current===`none`)return;function n(){let e=Oe(t).innerWidth-t.getBoundingClientRect().right;C(c,e>=Lt)}n();let i=setInterval(n,1e3);return()=>{clearInterval(i)}}),o(()=>{let e=i.current||a.getActiveElement()===t.current;if(r.current===`none`||!e)return;let n=setTimeout(d,0),o=setTimeout(d,2e3),s=setTimeout(d,5e3),c=setTimeout(()=>{C(l,!0)},6e3);return()=>{clearTimeout(n),clearTimeout(o),clearTimeout(s),clearTimeout(c)}}),{get hasPwmBadge(){return n(s)},get willPushPwmBadge(){return u()},PWM_BADGE_SPACE_WIDTH:Rt}}var Vt=`^\\d+$`,Ht=Xe({component:`pin-input`,parts:[`root`,`cell`]}),Ut=[`Backspace`,`Delete`,`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`,`Escape`,`Enter`,`Tab`,`Shift`,`Control`,`Meta`],Wt=class e{static create(t){return new e(t)}opts;attachment;inputAttachment;#e=A(!1);#t=Ee(!1);#n=A(null);#r=A(null);#i=new Pe(()=>this.opts.value.current??``);#a=P(()=>typeof this.opts.pattern.current==`string`?new RegExp(this.opts.pattern.current):this.opts.pattern.current);#o=A(te({prev:[null,null,`none`],willSyntheticBlur:!1}));#s;#c;domContext;constructor(e){this.opts=e,this.attachment=K(this.opts.ref),this.inputAttachment=K(this.opts.inputRef),this.domContext=new ke(e.ref),this.#c={value:this.opts.value,isIOS:typeof window<`u`&&window?.CSS?.supports(`-webkit-touch-callout`,`none`)},this.#s=Bt({containerRef:this.opts.ref,inputRef:this.opts.inputRef,isFocused:this.#t,pushPasswordManagerStrategy:this.opts.pushPasswordManagerStrategy,domContext:this.domContext}),ee(()=>{let e=this.opts.inputRef.current,t=this.opts.ref.current;if(!e||!t)return;this.#c.value.current!==e.value&&(this.opts.value.current=e.value),n(this.#o).prev=[e.selectionStart,e.selectionEnd,e.selectionDirection??`none`];let r=f(this.domContext.getDocument(),`selectionchange`,this.#m,{capture:!0});this.#m(),this.domContext.getActiveElement()===e&&(this.#t.current=!0),this.domContext.getElementById(`pin-input-style`)||this.#p();let i=()=>{t&&t.style.setProperty(`--bits-pin-input-root-height`,`${e.clientHeight}px`)};i();let a=new ResizeObserver(i);return a.observe(e),()=>{r(),a.disconnect()}}),Ke([()=>this.opts.value.current,()=>this.opts.inputRef.current],()=>{Kt(()=>{let e=this.opts.inputRef.current;if(!e)return;e.dispatchEvent(new Event(`input`));let t=e.selectionStart,r=e.selectionEnd,i=e.selectionDirection??`none`;t!==null&&r!==null&&(C(this.#n,t,!0),C(this.#r,r,!0),n(this.#o).prev=[t,r,i])},this.domContext)}),o(()=>{let e=this.opts.value.current,t=this.#i.current,n=this.opts.maxLength.current,r=this.opts.onComplete.current;t!==void 0&&e!==t&&t.length<n&&e.length===n&&r(e)})}onkeydown=e=>{let t=e.key;Ut.includes(t)||e.ctrlKey||e.metaKey||t&&n(this.#a)&&!n(this.#a).test(t)&&e.preventDefault()};#l=P(()=>({position:`relative`,cursor:this.opts.disabled.current?`default`:`text`,userSelect:`none`,WebkitUserSelect:`none`,pointerEvents:`none`}));#u=P(()=>({id:this.opts.id.current,[Ht.root]:``,style:n(this.#l),...this.attachment}));get rootProps(){return n(this.#u)}set rootProps(e){C(this.#u,e)}#d=P(()=>({style:{position:`absolute`,inset:0,pointerEvents:`none`}}));get inputWrapperProps(){return n(this.#d)}set inputWrapperProps(e){C(this.#d,e)}#f=P(()=>({position:`absolute`,inset:0,width:this.#s.willPushPwmBadge?`calc(100% + ${this.#s.PWM_BADGE_SPACE_WIDTH})`:`100%`,clipPath:this.#s.willPushPwmBadge?`inset(0 ${this.#s.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:`100%`,display:`flex`,textAlign:this.opts.textAlign.current,opacity:`1`,color:`transparent`,pointerEvents:`all`,background:`transparent`,caretColor:`transparent`,border:`0 solid transparent`,outline:`0 solid transparent`,boxShadow:`none`,lineHeight:`1`,letterSpacing:`-.5em`,fontSize:`var(--bits-pin-input-root-height)`,fontFamily:`monospace`,fontVariantNumeric:`tabular-nums`}));#p(){let e=this.domContext.getDocument(),t=e.createElement(`style`);if(t.id=`pin-input-style`,e.head.appendChild(t),t.sheet){let e=`background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;`;qt(t.sheet,`[data-pin-input-input]::selection { background: transparent !important; color: transparent !important; }`),qt(t.sheet,`[data-pin-input-input]:autofill { ${e} }`),qt(t.sheet,`[data-pin-input-input]:-webkit-autofill { ${e} }`),qt(t.sheet,`@supports (-webkit-touch-callout: none) { [data-pin-input-input] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }`),qt(t.sheet,`[data-pin-input-input] + * { pointer-events: all !important; }`)}}#m=()=>{let e=this.opts.inputRef.current,t=this.opts.ref.current;if(!e||!t)return;if(this.domContext.getActiveElement()!==e){C(this.#n,null),C(this.#r,null);return}let r=e.selectionStart,i=e.selectionEnd,a=e.selectionDirection??`none`,o=e.maxLength,s=e.value,c=n(this.#o).prev,l=-1,u=-1,d;if(s.length!==0&&r!==null&&i!==null){let e=r===i,t=r===s.length&&s.length<o;if(e&&!t){let e=r;if(e===0)l=0,u=1,d=`forward`;else if(e===o)l=e-1,u=e,d=`backward`;else if(o>1&&s.length>1){let t=0;if(c[0]!==null&&c[1]!==null){d=e<c[1]?`backward`:`forward`;let n=c[0]===c[1]&&c[0]<o;d===`backward`&&!n&&(t=-1)}l=t+e,u=t+e+1}}l!==-1&&u!==-1&&l!==u&&this.opts.inputRef.current?.setSelectionRange(l,u,d)}let f=l===-1?r:l,p=u===-1?i:u,m=d??a;C(this.#n,f,!0),C(this.#r,p,!0),n(this.#o).prev=[f,p,m]};oninput=e=>{let t=e.currentTarget.value.slice(0,this.opts.maxLength.current);if(t.length>0&&n(this.#a)&&!n(this.#a).test(t)){e.preventDefault();return}typeof this.#i.current==`string`&&t.length<this.#i.current.length&&this.domContext.getDocument().dispatchEvent(new Event(`selectionchange`)),this.opts.value.current=t};onfocus=e=>{let t=this.opts.inputRef.current;if(t){let e=Math.min(t.value.length,this.opts.maxLength.current-1),n=t.value.length;t.setSelectionRange(e,n),C(this.#n,e,!0),C(this.#r,n,!0)}this.#t.current=!0};onpaste=e=>{let t=this.opts.inputRef.current;if(!t)return;let r=e=>{let n=t.selectionStart===null?void 0:t.selectionStart,r=t.selectionEnd===null?void 0:t.selectionEnd,i=n!==r,a=this.opts.value.current;return(i?a.slice(0,n)+e+a.slice(r):a.slice(0,n)+e+a.slice(n)).slice(0,this.opts.maxLength.current)},i=e=>e.length>0&&n(this.#a)&&!n(this.#a).test(e);if(!this.opts.pasteTransformer?.current&&(!this.#c.isIOS||!e.clipboardData||!t)){i(r(e.clipboardData?.getData(`text/plain`)))&&e.preventDefault();return}let a=e.clipboardData?.getData(`text/plain`)??``,o=this.opts.pasteTransformer?.current?this.opts.pasteTransformer.current(a):a;e.preventDefault();let s=r(o);if(i(s))return;t.value=s,this.opts.value.current=s;let c=Math.min(s.length,this.opts.maxLength.current-1),l=s.length;t.setSelectionRange(c,l),C(this.#n,c,!0),C(this.#r,l,!0)};onmouseover=e=>{C(this.#e,!0)};onmouseleave=e=>{C(this.#e,!1)};onblur=e=>{if(n(this.#o).willSyntheticBlur){n(this.#o).willSyntheticBlur=!1;return}this.#t.current=!1};#h=P(()=>({id:this.opts.inputId.current,style:n(this.#f),autocomplete:this.opts.autocomplete.current||`one-time-code`,"data-pin-input-input":``,"data-pin-input-input-mss":n(this.#n),"data-pin-input-input-mse":n(this.#r),inputmode:this.opts.inputmode.current,pattern:n(this.#a)?.source,maxlength:this.opts.maxLength.current,value:this.opts.value.current,disabled:De(this.opts.disabled.current),onpaste:this.onpaste,oninput:this.oninput,onkeydown:this.onkeydown,onmouseover:this.onmouseover,onmouseleave:this.onmouseleave,onfocus:this.onfocus,onblur:this.onblur,...this.inputAttachment}));get inputProps(){return n(this.#h)}set inputProps(e){C(this.#h,e)}#g=P(()=>Array.from({length:this.opts.maxLength.current}).map((e,t)=>{let r=this.#t.current&&n(this.#n)!==null&&n(this.#r)!==null&&(n(this.#n)===n(this.#r)&&t===n(this.#n)||t>=n(this.#n)&&t<n(this.#r)),i=this.opts.value.current[t]===void 0?null:this.opts.value.current[t];return{char:i,isActive:r,hasFakeCaret:r&&i===null}}));#_=P(()=>({cells:n(this.#g),isFocused:this.#t.current,isHovering:n(this.#e)}));get snippetProps(){return n(this.#_)}set snippetProps(e){C(this.#_,e)}},Gt=class e{static create(t){return new e(t)}opts;attachment;constructor(e){this.opts=e,this.attachment=K(this.opts.ref)}#e=P(()=>({id:this.opts.id.current,[Ht.cell]:``,"data-active":this.opts.cell.current.isActive?``:void 0,"data-inactive":this.opts.cell.current.isActive?void 0:``,...this.attachment}));get props(){return n(this.#e)}set props(e){C(this.#e,e)}};function Kt(e,t){return[t.setTimeout(e,0),t.setTimeout(e,10),t.setTimeout(e,50)]}function qt(e,t){try{e.insertRule(t)}catch{console.error(`pin input could not insert CSS rule:`,t)}}var Jt=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`inputId`,`ref`,`inputRef`,`maxlength`,`textalign`,`pattern`,`inputmode`,`onComplete`,`pushPasswordManagerStrategy`,`class`,`children`,`autocomplete`,`disabled`,`value`,`onValueChange`,`pasteTransformer`]),Yt=w(`<div><!> <div><input/></div></div>`);function Xt(e,t){let i=l();_(t,!0);let o=S(t,`id`,19,()=>J(i)),s=S(t,`inputId`,19,()=>`${J(i)}-input`),c=S(t,`ref`,15,null),u=S(t,`inputRef`,15,null),f=S(t,`maxlength`,3,6),p=S(t,`textalign`,3,`left`),m=S(t,`inputmode`,3,`numeric`),g=S(t,`onComplete`,3,Ve),v=S(t,`pushPasswordManagerStrategy`,3,`increase-width`),y=S(t,`class`,3,``),b=S(t,`autocomplete`,3,`one-time-code`),x=S(t,`disabled`,3,!1),C=S(t,`value`,15,``),w=S(t,`onValueChange`,3,Ve),E=h(t,Jt),D=Wt.create({id:W(()=>o()),ref:W(()=>c(),e=>c(e)),inputRef:W(()=>u(),e=>u(e)),inputId:W(()=>s()),autocomplete:W(()=>b()),maxLength:W(()=>f()),textAlign:W(()=>p()),disabled:W(()=>x()),inputmode:W(()=>m()),pattern:W(()=>t.pattern),onComplete:W(()=>g()),value:W(()=>C(),e=>{C(e),w()(e)}),pushPasswordManagerStrategy:W(()=>v()),pasteTransformer:W(()=>t.pasteTransformer)}),O=P(()=>G(E,D.inputProps)),ee=P(()=>G(D.rootProps,{class:y()})),te=P(()=>G(D.inputWrapperProps,{}));var k=Yt();I(k,()=>({...n(ee)}));var A=d(k);B(A,()=>t.children??r,()=>D.snippetProps);var j=F(A,2);I(j,()=>({...n(te)}));var ne=d(j);I(ne,()=>({...n(O)}),void 0,void 0,void 0,void 0,!0),a(j),a(k),T(e,k),V()}var Zt=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`cell`,`child`,`children`]),Qt=w(`<div><!></div>`);function $t(i,o){let s=l();_(o,!0);let c=S(o,`id`,19,()=>J(s)),u=S(o,`ref`,15,null),f=h(o,Zt),p=Gt.create({id:W(()=>c()),ref:W(()=>u(),e=>u(e)),cell:W(()=>o.cell)}),m=P(()=>G(f,p.props));var g=t(),v=e(g),y=r=>{var i=t(),a=e(i);B(a,()=>o.child,()=>({props:n(m)})),T(r,i)},b=e=>{var t=Qt();I(t,()=>({...n(m)}));var i=d(t);B(i,()=>o.children??r),a(t),T(e,t)};z(v,e=>{o.child?e(y):e(b,-1)}),T(i,g),V()}var en=Xe({component:`tabs`,parts:[`root`,`list`,`trigger`,`content`]}),tn=new Te(`Tabs.Root`),nn=class e{static create(t){return tn.set(new e(t))}opts;attachment;rovingFocusGroup;#e=A(te([]));get triggerIds(){return n(this.#e)}set triggerIds(e){C(this.#e,e,!0)}valueToTriggerId=new Ge;valueToContentId=new Ge;constructor(e){this.opts=e,this.attachment=K(e.ref),this.rovingFocusGroup=new Ft({candidateAttr:en.trigger,rootNode:this.opts.ref,loop:this.opts.loop,orientation:this.opts.orientation})}registerTrigger(e,t){return this.triggerIds.push(e),this.valueToTriggerId.set(t,e),()=>{this.triggerIds=this.triggerIds.filter(t=>t!==e),this.valueToTriggerId.delete(t)}}registerContent(e,t){return this.valueToContentId.set(t,e),()=>{this.valueToContentId.delete(t)}}setValue(e){this.opts.value.current=e}#t=P(()=>({id:this.opts.id.current,"data-orientation":this.opts.orientation.current,[en.root]:``,...this.attachment}));get props(){return n(this.#t)}set props(e){C(this.#t,e)}},rn=class e{static create(t){return new e(t,tn.get())}opts;root;attachment;#e=P(()=>this.root.opts.disabled.current);constructor(e,t){this.opts=e,this.root=t,this.attachment=K(e.ref)}#t=P(()=>({id:this.opts.id.current,role:`tablist`,"aria-orientation":this.root.opts.orientation.current,"data-orientation":this.root.opts.orientation.current,[en.list]:``,"data-disabled":Ze(n(this.#e)),...this.attachment}));get props(){return n(this.#t)}set props(e){C(this.#t,e)}},an=class e{static create(t){return new e(t,tn.get())}opts;root;attachment;#e=A(0);#t=P(()=>this.root.opts.value.current===this.opts.value.current);#n=P(()=>this.opts.disabled.current||this.root.opts.disabled.current);#r=P(()=>this.root.valueToContentId.get(this.opts.value.current));constructor(e,t){this.opts=e,this.root=t,this.attachment=K(e.ref),Ke([()=>this.opts.id.current,()=>this.opts.value.current],([e,t])=>this.root.registerTrigger(e,t)),o(()=>{this.root.triggerIds.length,n(this.#t)||!this.root.opts.value.current?C(this.#e,0):C(this.#e,-1)}),this.onfocus=this.onfocus.bind(this),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}#i(){this.root.opts.value.current!==this.opts.value.current&&this.root.setValue(this.opts.value.current)}onfocus(e){this.root.opts.activationMode.current!==`automatic`||n(this.#n)||this.#i()}onclick(e){n(this.#n)||this.#i()}onkeydown(e){if(!n(this.#n)){if(e.key===` `||e.key===`Enter`){e.preventDefault(),this.#i();return}this.root.rovingFocusGroup.handleKeydown(this.opts.ref.current,e)}}#a=P(()=>({id:this.opts.id.current,role:`tab`,"data-state":sn(n(this.#t)),"data-value":this.opts.value.current,"data-orientation":this.root.opts.orientation.current,"data-disabled":Ze(n(this.#n)),"aria-selected":Le(n(this.#t)),"aria-controls":n(this.#r),[en.trigger]:``,disabled:De(n(this.#n)),tabindex:n(this.#e),onclick:this.onclick,onfocus:this.onfocus,onkeydown:this.onkeydown,...this.attachment}));get props(){return n(this.#a)}set props(e){C(this.#a,e)}},on=class e{static create(t){return new e(t,tn.get())}opts;root;attachment;#e=P(()=>this.root.opts.value.current===this.opts.value.current);#t=P(()=>this.root.valueToTriggerId.get(this.opts.value.current));constructor(e,t){this.opts=e,this.root=t,this.attachment=K(e.ref),Ke([()=>this.opts.id.current,()=>this.opts.value.current],([e,t])=>this.root.registerContent(e,t))}#n=P(()=>({id:this.opts.id.current,role:`tabpanel`,hidden:De(!n(this.#e)),tabindex:0,"data-value":this.opts.value.current,"data-state":sn(n(this.#e)),"aria-labelledby":n(this.#t),"data-orientation":this.root.opts.orientation.current,[en.content]:``,...this.attachment}));get props(){return n(this.#n)}set props(e){C(this.#n,e)}};function sn(e){return e?`active`:`inactive`}var cn=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`value`,`onValueChange`,`orientation`,`loop`,`activationMode`,`disabled`,`children`,`child`]),ln=w(`<div><!></div>`);function un(i,o){let s=l();_(o,!0);let c=S(o,`id`,19,()=>J(s)),u=S(o,`ref`,15,null),f=S(o,`value`,15,``),p=S(o,`onValueChange`,3,Ve),m=S(o,`orientation`,3,`horizontal`),g=S(o,`loop`,3,!0),v=S(o,`activationMode`,3,`automatic`),y=S(o,`disabled`,3,!1),b=h(o,cn),x=nn.create({id:W(()=>c()),value:W(()=>f(),e=>{f(e),p()(e)}),orientation:W(()=>m()),loop:W(()=>g()),activationMode:W(()=>v()),disabled:W(()=>y()),ref:W(()=>u(),e=>u(e))}),C=P(()=>G(b,x.props));var w=t(),E=e(w),D=r=>{var i=t(),a=e(i);B(a,()=>o.child,()=>({props:n(C)})),T(r,i)},O=e=>{var t=ln();I(t,()=>({...n(C)}));var i=d(t);B(i,()=>o.children??r),a(t),T(e,t)};z(E,e=>{o.child?e(D):e(O,-1)}),T(i,w),V()}var dn=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`value`]),fn=w(`<div><!></div>`);function pn(i,o){let s=l();_(o,!0);let c=S(o,`id`,19,()=>J(s)),u=S(o,`ref`,15,null),f=h(o,dn),p=on.create({value:W(()=>o.value),id:W(()=>c()),ref:W(()=>u(),e=>u(e))}),m=P(()=>G(f,p.props));var g=t(),v=e(g),y=r=>{var i=t(),a=e(i);B(a,()=>o.child,()=>({props:n(m)})),T(r,i)},b=e=>{var t=fn();I(t,()=>({...n(m)}));var i=d(t);B(i,()=>o.children??r),a(t),T(e,t)};z(v,e=>{o.child?e(y):e(b,-1)}),T(i,g),V()}var mn=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`id`,`ref`]),hn=w(`<div><!></div>`);function gn(i,o){let s=l();_(o,!0);let c=S(o,`id`,19,()=>J(s)),u=S(o,`ref`,15,null),f=h(o,mn),p=rn.create({id:W(()=>c()),ref:W(()=>u(),e=>u(e))}),m=P(()=>G(f,p.props));var g=t(),v=e(g),y=r=>{var i=t(),a=e(i);B(a,()=>o.child,()=>({props:n(m)})),T(r,i)},b=e=>{var t=hn();I(t,()=>({...n(m)}));var i=d(t);B(i,()=>o.children??r),a(t),T(e,t)};z(v,e=>{o.child?e(y):e(b,-1)}),T(i,g),V()}var _n=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`disabled`,`id`,`type`,`value`,`ref`]),vn=w(`<button><!></button>`);function yn(i,o){let s=l();_(o,!0);let c=S(o,`disabled`,3,!1),u=S(o,`id`,19,()=>J(s)),f=S(o,`type`,3,`button`),p=S(o,`ref`,15,null),m=h(o,_n),g=an.create({id:W(()=>u()),disabled:W(()=>c()??!1),value:W(()=>o.value),ref:W(()=>p(),e=>p(e))}),v=P(()=>G(m,g.props,{type:f()}));var y=t(),b=e(y),x=r=>{var i=t(),a=e(i);B(a,()=>o.child,()=>({props:n(v)})),T(r,i)},C=e=>{var t=vn();I(t,()=>({...n(v)}));var i=d(t);B(i,()=>o.children??r),a(t),T(e,t)};z(b,e=>{o.child?e(x):e(C,-1)}),T(i,y),V()}var bn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),xn=w(`<div><!></div>`);function Sn(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,bn);var o=xn();I(o,e=>({"data-slot":`input-otp-group`,class:e,...i}),[()=>q(`rounded-lg has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 flex items-center`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var Cn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`cell`,`class`]),wn=w(`<div class="cn-input-otp-caret pointer-events-none absolute inset-0 flex items-center justify-center"><div class="h-4 w-px animate-caret-blink bg-foreground duration-1000 h-4 w-px bg-foreground"></div></div>`),Tn=w(` <!>`,1);function En(r,a){_(a,!0);let o=S(a,`ref`,15,null),s=h(a,Cn);var c=t(),l=e(c);{let t=P(()=>q(`size-8 border-y border-r border-input text-sm transition-all outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40 relative flex items-center justify-center data-[active=true]:z-10`,a.class));R(l,()=>$t,(r,c)=>{c(r,k({get cell(){return a.cell},"data-slot":`input-otp-slot`,get class(){return n(t)}},()=>s,{get ref(){return o()},set ref(e){o(e)},children:(t,n)=>{m();var r=Tn(),o=e(r),s=F(o),c=e=>{var t=wn();T(e,t)};z(s,e=>{a.cell.hasFakeCaret&&e(c)}),M(()=>i(o,`${a.cell.char??``} `)),T(t,r)},$$slots:{default:!0}}))})}T(r,c),V()}var Dn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`value`]);function On(r,i){_(i,!0);let a=S(i,`ref`,15,null),o=S(i,`value`,15,``),s=h(i,Dn);var c=t(),l=e(c);{let e=P(()=>q(`cn-input-otp-input gap-2 flex items-center disabled:cursor-not-allowed has-disabled:opacity-50`,i.class));R(l,()=>Xt,(t,r)=>{r(t,k({"data-slot":`input-otp`,spellcheck:!1,get class(){return n(e)}},()=>s,{get ref(){return a()},set ref(e){a(e)},get value(){return o()},set value(e){o(e)}}))})}T(r,c),V()}var kn=w(`<div class="w-full flex items-center"><!></div>`);function An(r,i){_(i,!0);let o=()=>b(X,`$dict`,s),[s,c]=L(),l=S(i,`ref`,15,null),u=S(i,`mode`,11,`password`),f=S(i,`password`,15,``),m=S(i,`otp`,15,``);var h=kn(),g=d(h),v=e=>{Et(e,{id:`iam-password-input`,name:`password`,type:`password`,minlength:6,autocomplete:`current-password`,get placeholder(){return o().auth.password},class:`placeholder:text-sm`,get value(){return f()},set value(e){f(e)}})},y=r=>{var i=t(),a=e(i);{let r=(r,i)=>{let a=()=>(i?.()).cells;var o=t(),s=e(o);R(s,()=>Sn,(r,i)=>{i(r,{children:(r,i)=>{var o=t(),s=e(o);re(s,17,()=>a().slice(0,6),p,(r,i)=>{var a=t(),o=e(a);R(o,()=>En,(e,t)=>{t(e,{get cell(){return n(i)},class:`size-[40px] bg-background`})}),T(r,a)}),T(r,o)},$$slots:{default:!0}})}),T(r,o)};R(a,()=>On,(e,t)=>{t(e,{maxlength:6,get pattern(){return Vt},required:!0,get value(){return m()},set value(e){m(e)},children:r,$$slots:{default:!0}})})}T(r,i)};z(g,e=>{u()===`password`?e(v):e(y,-1)}),a(h),N(h,e=>l(e),()=>l()),T(r,h),V(),c()}var jn=w(`<!> <span class="sr-only"> </span>`,1),Mn=w(`<form><fieldset class="space-y-2"><!> <div class="space-y-2"><div class="flex items-center gap-2"><!> <!></div> <div class="text-sm text-muted-foreground px-1"><!></div></div></fieldset></form>`);function Nn(r,o){_(o,!0);let c=()=>b(X,`$dict`,l),[l,f]=L(),p=A(!1),m=A(``),h=A(``),v=A(``),y=A(null),S=A(`password`),w=A(void 0);async function E(){n(h).length===0?n(S)===`password`?await ee():await te():await D()}async function D(){C(p,!0);let e=o.account===void 0?await O():await be(o.account.id,{username:n(m),password:n(h)});C(p,!1),e instanceof Error&&await k()}async function O(){let e=await ve(n(m),n(h));return e instanceof Error||we(e)?.status===201&&o.oncreate?.(e),e}async function ee(){C(p,!0);let e=o.account===void 0?await fe(n(m)):await Se(o.account.id,n(m));C(p,!1),!(e instanceof Error)&&(C(S,`otp`),requestAnimationFrame(()=>j()))}async function te(){if(n(m).length===0){console.error(`username is required`);return}if(n(v).length!==6){await k();return}C(p,!0);let e=await pe(n(m),n(v));if(C(p,!1),e instanceof Error){C(v,``),await k();return}return we(e)?.status===201&&o.oncreate?.(e),e}async function k(){await n(w)?.shake(),j()}function j(){ue&&n(y)?.querySelector(`input`)?.focus()}var ne=Mn(),I=P(()=>je(E)),R=d(ne),re=d(R);{let e=P(()=>n(S)===`otp`||void 0);Et(re,{id:`iam-username-input`,name:`username`,type:`email`,autocomplete:`username`,required:!0,get disabled(){return n(e)},get autofocus(){return ue},get placeholder(){return c().auth.email},get value(){return n(m)},set value(e){C(m,e,!0)}})}var B=F(re,2),ie=d(B),ae=d(ie);N(Ot(ae,{class:`w-full`,children:(e,t)=>{An(e,{get mode(){return n(S)},get ref(){return n(y)},set ref(e){C(y,e,!0)},get password(){return n(h)},set password(e){C(h,e,!0)},get otp(){return n(v)},set otp(e){C(v,e,!0)}})},$$slots:{default:!0}}),e=>C(w,e,!0),()=>n(w));var oe=F(ae,2);U(oe,{size:`icon-lg`,type:`submit`,children:(t,r)=>{var a=jn(),o=e(a),s=e=>{Y(e,{})},l=e=>{Ct(e,{})};z(o,e=>{n(p)?e(s):e(l,-1)});var u=F(o,2),d=x(u,!0);M(()=>i(d,c().auth.login)),T(t,a)},$$slots:{default:!0}}),a(ie);var se=F(ie,2),ce=d(se),le=n=>{var r=t(),i=e(r);g(i,()=>c().auth.passwordBlank),T(n,r)},de=e=>{var t=u();M(()=>i(t,c().auth.otpInstructions)),T(e,t)};z(ce,e=>{n(S)===`password`?e(le):e(de,-1)}),a(se),a(B),a(R),a(ne),s(`submit`,ne,function(...e){n(I)?.apply(this,e)}),T(r,ne),V(),f()}var Pn=w(`<h2> </h2>`),Fn=w(`<!> <!>`,1);function In(r,a){_(a,!0);let o=()=>b(X,`$dict`,s),[s,c]=L();var l=t(),d=e(l);{let t=P(()=>q(`pt-4 gap-4 bg-background/75`,a.class));R(d,()=>xt,(r,s)=>{s(r,{get class(){return n(t)},children:(t,n)=>{var r=Fn(),s=e(r);R(s,()=>ht,(t,n)=>{n(t,{class:`gap-0`,children:(t,n)=>{var r=Fn(),a=e(r);R(a,()=>vt,(e,t)=>{t(e,{children:(e,t)=>{var n=Pn(),r=x(n,!0);M(()=>i(r,o().auth.passwordTitle)),T(e,n)},$$slots:{default:!0}})});var s=F(a,2);R(s,()=>lt,(e,t)=>{t(e,{children:(e,t)=>{m();var n=u();M(()=>i(n,o().auth.passwordDescription)),T(e,n)},$$slots:{default:!0}})}),T(t,r)},$$slots:{default:!0}})});var c=F(s,2);R(c,()=>ot,(e,t)=>{t(e,{children:(e,t)=>{Nn(e,{get account(){return a.account},get oncreate(){return a.oncreate}})},$$slots:{default:!0}})}),T(t,r)},$$slots:{default:!0}})})}T(r,l),V(),c()}function Ln(e){Nn(e,{})}var Rn=new Set([`$$slots`,`$$events`,`$$legacy`]);function zn(e,t){let n=h(t,Rn),r=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9 12 2 2 4-4`}]];H(e,k({name:`shield-check`},()=>n,{get iconNode(){return r}}))}var Bn=new Set([`$$slots`,`$$events`,`$$legacy`]);function Vn(e,t){let n=h(t,Bn),r=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`}]];H(e,k({name:`shield-off`},()=>n,{get iconNode(){return r}}))}var Hn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Un=w(`<div><!></div>`);function Wn(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,Hn);var o=Un();I(o,e=>({"data-slot":`alert-description`,class:e,...i}),[()=>q(`text-sm text-balance text-muted-foreground md:text-pretty [&_p:not(:last-child)]:mb-4 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var Gn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Kn=w(`<div><!></div>`);function qn(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=h(t,Gn);var o=Kn();I(o,e=>({"data-slot":`alert-title`,class:e,...i}),[()=>q(`font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground`,t.class)]);var s=d(o);B(s,()=>t.children??r),a(o),N(o,e=>n(e),()=>n()),T(e,o),V()}var Jn=Re({base:`grid gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4 group/alert relative w-full`,variants:{variant:{default:`bg-card text-card-foreground`,destructive:`bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current`}},defaultVariants:{variant:`default`}}),Yn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`variant`,`children`]),Xn=w(`<div><!></div>`);function Zn(e,t){_(t,!0);let n=S(t,`ref`,15,null),i=S(t,`variant`,3,`default`),o=h(t,Yn);var s=Xn();I(s,e=>({"data-slot":`alert`,role:`alert`,class:e,...o}),[()=>q(Jn({variant:i()}),t.class)]);var c=d(s);B(c,()=>t.children??r),a(s),N(s,e=>n(e),()=>n()),T(e,s),V()}var Qn=new Set([`$$slots`,`$$events`,`$$legacy`]);function $n(e,t){let n=h(t,Qn),r=[[`path`,{d:`M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4`}],[`path`,{d:`M14 13.12c0 2.38 0 6.38-1 8.88`}],[`path`,{d:`M17.29 21.02c.12-.6.43-2.3.5-3.02`}],[`path`,{d:`M2 12a10 10 0 0 1 18-6`}],[`path`,{d:`M2 16h.01`}],[`path`,{d:`M21.8 16c.2-2 .131-5.354 0-6`}],[`path`,{d:`M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2`}],[`path`,{d:`M8.65 22c.21-.66.45-1.32.57-2`}],[`path`,{d:`M9 6.8a6 6 0 0 1 9 5.2v2`}]];H(e,k({name:`fingerprint-pattern`},()=>n,{get iconNode(){return r}}))}var er=w(`<!> `,1),tr=w(`<div class="flex flex-col items-center justify-center gap-2"><p> </p> <!></div>`);function nr(t,r){_(r,!0);let o=()=>b(X,`$dict`,s),[s,c]=L(),l=A(!1);async function u(){C(l,!0),await xe(),C(l,!1)}var f=tr(),p=d(f),m=x(p,!0),h=F(p,2);U(h,{id:`iam-passkey-login-button`,variant:`secondary`,onclick:u,children:(t,r)=>{var a=er(),s=e(a),c=e=>{Y(e,{})},u=e=>{$n(e,{})};z(s,e=>{n(l)?e(c):e(u,-1)});var d=F(s);M(()=>i(d,` ${o().auth.signin??``}`)),T(t,a)},$$slots:{default:!0}}),a(f),M(()=>i(m,o().auth.alreadyHaveAccount)),T(t,f),V(),c()}var rr=w(`<form><fieldset class="space-y-1"><div class="flex items-center gap-2"><!> <!></div></fieldset></form>`);function ir(r,i){_(i,!0);let o=()=>b(X,`$dict`,c),[c,l]=L(),u=P(()=>i.account?.name??``),f=A(!1);async function p(){let e=n(u).trim();if(e.length===0)return;C(f,!0);let t=await de(e,i.account?.id);C(f,!1),!(t instanceof Error)&&i.oncreate?.(t)}var m=rr(),h=P(()=>je(p)),g=d(m),v=d(g),y=d(v);Et(y,{id:`name`,type:`text`,get placeholder(){return o().auth.yourName},autocomplete:`given-name`,required:!0,get autofocus(){return ue},get value(){return n(u)},set value(e){C(u,e)}});var x=F(y,2);U(x,{id:`iam-passkey-create-button`,size:`icon-lg`,type:`submit`,children:(r,i)=>{var a=t(),o=e(a),s=e=>{Y(e,{})},c=e=>{Ct(e,{})};z(o,e=>{n(f)?e(s):e(c,-1)}),T(r,a)},$$slots:{default:!0}}),a(v),a(g),a(m),M(()=>g.disabled=i.disabled),s(`submit`,m,function(...e){n(h)?.apply(this,e)}),T(r,m),V(),l()}var ar=w(`<p> <a target="_blank" class="text-nowrap"> </a></p>`),or=w(`<h2> </h2>`),sr=w(`<!> <!>`,1),cr=w(`<!> <!> <!>`,1),lr=w(`<p> </p> <!>`,1),ur=w(`<div class="space-y-4"><!> <!></div>`);function dr(r,o){_(o,!0);let s=()=>b(X,`$dict`,c),[c,l]=L(),f=e=>{var t=ar(),n=d(t),r=F(n),o=x(r,!0);a(t),M(()=>{i(n,`${s().auth.passkeysDescription??``} `),y(r,`href`,p),i(o,s().auth.learnMore)}),T(e,t)},p=ge?`https://support.apple.com/en-us/102195`:`https://support.google.com/accounts/answer/13548313`;var h=ur(),g=d(h);{let r=P(()=>q(`gap-4 bg-background/75`,_e&&`pt-4`,o.class));R(g,()=>xt,(a,c)=>{c(a,{get class(){return n(r)},children:(n,r)=>{var a=sr(),c=e(a),l=n=>{var r=sr(),a=e(r);R(a,()=>ht,(n,r)=>{r(n,{class:`gap-0`,children:(n,r)=>{var a=t(),o=e(a);R(o,()=>vt,(e,t)=>{t(e,{children:(e,t)=>{var n=or(),r=x(n,!0);M(()=>i(r,s().auth.signupTitle)),T(e,n)},$$slots:{default:!0}})}),T(n,a)},$$slots:{default:!0}})});var c=F(a,2);R(c,()=>ot,(e,t)=>{t(e,{children:(e,t)=>{ir(e,{get account(){return o.account},get oncreate(){return o.oncreate}})},$$slots:{default:!0}})}),T(n,r)};z(c,e=>{_e&&e(l)});var d=F(c,2);R(d,()=>ft,(n,r)=>{r(n,{children:(n,r)=>{var a=t(),o=e(a),c=n=>{var r=t(),a=e(r);R(a,()=>Zn,(t,n)=>{n(t,{children:(t,n)=>{var r=cr(),a=e(r);zn(a,{color:`green`});var o=F(a,2);R(o,()=>qn,(e,t)=>{t(e,{children:(e,t)=>{m();var n=u();M(()=>i(n,s().auth.betterSecurity)),T(e,n)},$$slots:{default:!0}})});var c=F(o,2);R(c,()=>Wn,(e,t)=>{t(e,{children:(e,t)=>{f(e)},$$slots:{default:!0}})}),T(t,r)},$$slots:{default:!0}})}),T(n,r)},l=n=>{var r=t(),a=e(r);R(a,()=>Zn,(t,n)=>{n(t,{children:(t,n)=>{var r=cr(),a=e(r);Vn(a,{color:`red`,class:`animate-pulse`});var o=F(a,2);R(o,()=>qn,(e,t)=>{t(e,{children:(e,t)=>{m();var n=u();M(()=>i(n,s().auth.passkeysNotSupported)),T(e,n)},$$slots:{default:!0}})});var c=F(o,2);R(c,()=>Wn,(t,n)=>{n(t,{children:(t,n)=>{var r=lr(),a=e(r),o=x(a,!0),c=F(a,2);f(c),M(()=>i(o,s().auth.passkeysWarning)),T(t,r)},$$slots:{default:!0}})}),T(t,r)},$$slots:{default:!0}})}),T(n,r)};z(o,e=>{_e?e(c):e(l,-1)}),T(n,a)},$$slots:{default:!0}})}),T(n,a)},$$slots:{default:!0}})})}var v=F(g,2),S=e=>{nr(e,{})};z(v,e=>{_e&&!o.account&&e(S)}),a(h),T(r,h),V(),l()}var fr=w(`<!> <!> `,1);function pr(t,n){_(n,!0);let r=()=>b(X,`$dict`,a),[a,o]=L();async function s(e){let t=e.currentTarget;t.disabled=!0,await xe(n.account.id),t.disabled=!1}U(t,{class:`w-full disabled:[&>.x-icon]:hidden [&>.x-spinner]:hidden disabled:[&>.x-spinner]:block`,onclick:s,children:(t,n)=>{var a=fr(),o=e(a);$n(o,{class:`size-5 x-icon`});var s=F(o,2);Y(s,{class:`x-spinner`});var c=F(s);M(()=>i(c,` ${r().auth.refresh.continue??``}`)),T(t,a)},$$slots:{default:!0}}),V(),o()}var mr=c(`<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19.84 10.2273C19.84 9.5182 19.7764 8.8364 19.6582 8.1818H10.24V12.05H15.6218C15.39 13.3 14.6855 14.3591 13.6264 15.0682V17.5773H16.8582C18.7491 15.8364 19.84 13.2727 19.84 10.2273Z" fill="#4285F4"></path><path d="M10.24 20C12.94 20 15.2036 19.1045 16.8581 17.5773L13.6263 15.0682C12.7309 15.6682 11.5854 16.0227 10.24 16.0227C7.6354 16.0227 5.4309 14.2636 4.6445 11.9H1.3036V14.4909C2.9491 17.7591 6.3309 20 10.24 20Z" fill="#34A853"></path><path d="M4.6445 11.9C4.4445 11.3 4.3309 10.6591 4.3309 10C4.3309 9.3409 4.4445 8.7 4.6445 8.1V5.5091H1.3036C0.6264 6.8591 0.24 8.3864 0.24 10C0.24 11.6136 0.6264 13.1409 1.3036 14.4909L4.6445 11.9Z" fill="#FBBC04"></path><path d="M10.24 3.9773C11.7081 3.9773 13.0263 4.4818 14.0627 5.4727L16.9309 2.6045C15.1991 0.9909 12.9354 0 10.24 0C6.3309 0 2.9491 2.2409 1.3036 5.5091L4.6445 8.1C5.4309 5.7364 7.6354 3.9773 10.24 3.9773Z" fill="#E94235"></path></svg>`);function hr(e,t){var n=mr();M(()=>j(n,0,O(t.class))),T(e,n)}var gr=c(`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill="currentColor" viewBox="0 0 814 1000"><path d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z"></path></svg>`);function _r(e,t){_(t,!0);var n=gr(),r=x(n);M(e=>{j(n,0,e),y(r,`fill`,t.fill)},[()=>O(q(`size-5 -mt-[3px]`,t.class))]),T(e,n),V()}var vr={google:hr,apple:_r},yr=w(`<!> <!> <!>`,1);function br(t,i){_(i,!0);let a=P(()=>vr[i.idp]);async function o(e){let t=e.currentTarget;t.disabled=!0,await me(i.idp,i.account?.id),t.disabled=!1}{let s=P(()=>i.children?`default`:`icon`),c=P(()=>q(`disabled:[&_.x-icon]:hidden [&_.x-spinner]:hidden disabled:[&_.x-spinner]:block`,i.class));U(t,{variant:`outline`,get size(){return n(s)},onclick:o,get class(){return n(c)},children:(t,o)=>{var s=yr(),c=e(s);R(c,()=>n(a),(e,t)=>{t(e,{class:`x-icon`})});var l=F(c,2);Y(l,{class:`x-spinner`});var u=F(l,2);B(u,()=>i.children??r),T(t,s)},$$slots:{default:!0}})}V()}var xr=w(`<div class="flex gap-2"><!> <!></div>`);function Sr(e,t){_(t,!0);var n=xr(),r=d(n),i=e=>{br(e,{idp:`google`,get account(){return t.account}})};z(r,e=>{le.google.client&&e(i)});var o=F(r,2),s=e=>{br(e,{idp:`apple`,get account(){return t.account}})};z(o,e=>{le.apple.client&&e(s)}),a(n),T(e,n),V()}function Cr(e,t){_(t,!0);let n=()=>b(X,`$dict`,r),[r,a]=L(),o={google:`Google`,apple:`Apple`};br(e,{get idp(){return t.idp},class:`w-full`,children:(e,r)=>{m();var a=u();M(e=>i(a,e),[()=>n().auth.continueWith(o[t.idp])]),T(e,a)},$$slots:{default:!0}}),V(),a()}var wr=w(`<!> <!>`,1);function Tr(n,r){var a=t(),o=e(a);R(o,()=>xt,(n,a)=>{a(n,{class:`w-full`,children:(n,a)=>{var o=wr(),s=e(o);R(s,()=>ht,(t,n)=>{n(t,{children:(t,n)=>{var a=wr(),o=e(a);R(o,()=>vt,(e,t)=>{t(e,{children:(e,t)=>{m();var n=u();M(()=>i(n,r.title)),T(e,n)},$$slots:{default:!0}})});var s=F(o,2);R(s,()=>lt,(e,t)=>{t(e,{children:(e,t)=>{m();var n=u();M(()=>i(n,r.description)),T(e,n)},$$slots:{default:!0}})}),T(t,a)},$$slots:{default:!0}})});var c=F(s,2);R(c,()=>ot,(n,i)=>{i(n,{class:`flex flex-col`,children:(n,i)=>{var a=t(),o=e(a);B(o,()=>r.action),T(n,a)},$$slots:{default:!0}})}),T(n,o)},$$slots:{default:!0}})}),T(n,a)}var Er=w(`<!> `,1),Dr=w(`<div class="flex flex-col items-center gap-4 w-full"><!> <!></div>`);function Or(r,o){_(o,!0);let s=()=>b(X,`$dict`,c),[c,l]=L();ee(()=>{o.method===null&&he()});var u=Dr(),f=d(u);{let r=n=>{var r=t(),i=e(r),a=e=>{pr(e,{get account(){return o.account}})},s=e=>{Ln(e,{})},c=e=>{Cr(e,{idp:`apple`})},l=e=>{Cr(e,{idp:`google`})};z(i,e=>{o.method===`passkey`?e(a):o.method===`password`?e(s,1):o.method===`apple`?e(c,2):o.method===`google`&&e(l,3)}),T(n,r)},i=P(()=>s().auth.refresh.description(o.account.name));Tr(f,{get title(){return s().auth.refresh.title},get description(){return n(i)},action:r,$$slots:{action:!0}})}var p=F(f,2);U(p,{variant:`outline`,get onclick(){return he},children:(t,n)=>{var r=Er(),a=e(r);tt(a,{});var o=F(a);M(()=>i(o,` ${s().auth.signout??``}`)),T(t,r)},$$slots:{default:!0}}),a(u),T(r,u),V(),l()}var kr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ar(e,t){let n=h(t,kr),r=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8`}]];H(e,k({name:`at-sign`},()=>n,{get iconNode(){return r}}))}var jr=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Mr(r,i){_(i,!0);let a=S(i,`ref`,15,null),o=h(i,jr);var s=t(),c=e(s);{let e=P(()=>q(`text-sm flex-1 outline-none`,i.class));R(c,()=>pn,(t,r)=>{r(t,k({"data-slot":`tabs-content`,get class(){return n(e)}},()=>o,{get ref(){return a()},set ref(e){a(e)}}))})}T(r,s),V()}var Nr=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Pr(r,i){_(i,!0);let a=S(i,`ref`,15,null),o=h(i,Nr);var s=t(),c=e(s);{let e=P(()=>q(`gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,i.class));R(c,()=>yn,(t,r)=>{r(t,k({"data-slot":`tabs-trigger`,get class(){return n(e)}},()=>o,{get ref(){return a()},set ref(e){a(e)}}))})}T(r,s),V()}var Fr=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`value`,`class`]);function Ir(r,i){_(i,!0);let a=S(i,`ref`,15,null),o=S(i,`value`,15,``),s=h(i,Fr);var c=t(),l=e(c);{let e=P(()=>q(`gap-2 group/tabs flex data-[orientation=horizontal]:flex-col`,i.class));R(l,()=>un,(t,r)=>{r(t,k({"data-slot":`tabs`,get class(){return n(e)}},()=>s,{get ref(){return a()},set ref(e){a(e)},get value(){return o()},set value(e){o(e)}}))})}T(r,c),V()}var Lr=Re({base:`rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list inline-flex w-fit items-center justify-center text-muted-foreground group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col`,variants:{variant:{default:`cn-tabs-list-variant-default bg-muted`,line:`cn-tabs-list-variant-line gap-1 bg-transparent`}},defaultVariants:{variant:`default`}}),Rr=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`variant`,`class`]);function zr(r,i){_(i,!0);let a=S(i,`ref`,15,null),o=S(i,`variant`,3,`default`),s=h(i,Rr);var c=t(),l=e(c);{let e=P(()=>q(Lr({variant:o()}),i.class));R(l,()=>gn,(t,r)=>{r(t,k({"data-slot":`tabs-list`,get"data-variant"(){return o()},get class(){return n(e)}},()=>s,{get ref(){return a()},set ref(e){a(e)}}))})}T(r,c),V()}var Br=w(`<!> `,1),Vr=w(`<!> <!>`,1),Hr=w(`<div class="flex justify-between gap-2"><!> <!></div> <!> <!>`,1);function Ur(r,o){_(o,!0);let s=()=>b(X,`$dict`,c),[c,l]=L(),u=A(null);function f(e){requestAnimationFrame(()=>{n(u)?.querySelector(`[data-value="${e}"] input[autofocus]`)?.focus()})}let p=A(`passkey`);ee(()=>{C(p,_e?`passkey`:`password`,!0)});var m=t(),h=e(m);{let t=P(()=>q(`w-full`,o.class));R(h,()=>Ir,(r,c)=>{c(r,{get class(){return n(t)},onValueChange:f,get value(){return n(p)},set value(e){C(p,e,!0)},get ref(){return n(u)},set ref(e){C(u,e,!0)},children:(t,n)=>{var r=Hr(),c=e(r),l=d(c);R(l,()=>zr,(t,n)=>{n(t,{children:(t,n)=>{var r=Vr(),a=e(r);R(a,()=>Pr,(t,n)=>{n(t,{value:`passkey`,"data-marker":`passkey-tab`,children:(t,n)=>{var r=Br(),a=e(r);$n(a,{color:`var(--muted-foreground)`});var o=F(a);M(()=>i(o,` ${s().auth.passkey??``}`)),T(t,r)},$$slots:{default:!0}})});var o=F(a,2);R(o,()=>Pr,(t,n)=>{n(t,{value:`password`,id:`iam-email-tab`,children:(t,n)=>{var r=Br(),a=e(r);Ar(a,{color:`var(--muted-foreground)`});var o=F(a);M(()=>i(o,` ${s().auth.email??``}`)),T(t,r)},$$slots:{default:!0}})}),T(t,r)},$$slots:{default:!0}})}),Sr(F(l,2),{get account(){return o.account}}),a(c);var u=F(c,2);R(u,()=>Mr,(e,t)=>{t(e,{value:`passkey`,children:(e,t)=>{dr(e,{get account(){return o.account},oncreate:e=>o.oncreate?.(e,`passkey`)})},$$slots:{default:!0}})});var f=F(u,2);R(f,()=>Mr,(e,t)=>{t(e,{value:`password`,children:(e,t)=>{In(e,{get account(){return o.account},oncreate:e=>o.oncreate?.(e,`password`)})},$$slots:{default:!0}})}),T(t,r)},$$slots:{default:!0}})})}T(r,m),V(),l()}var Wr=w(`<div class="flex items-center justify-center h-screen"><!></div>`),Gr=w(`<div class="flex w-full max-w-sm items-center justify-center pt-[14vh] px-4 mx-auto"><!></div>`);function Kr(r,i){_(i,!0);let o=()=>b(ae,`$iam`,f),s=()=>b(oe,`$method`,f),c=()=>b(Ce,`$authenticated`,f),l=()=>b(se,`$greeting`,f),u=()=>b(ce,`$processing`,f),[f,p]=L(),m=r=>{var a=t(),c=e(a),l=e=>{Or(e,{get account(){return o()},get method(){return s()}})},u=e=>{{let t=P(()=>q(`scale-0 transition-transform`,`scale-100`));Ur(e,{get class(){return n(t)},get account(){return i.account},get oncreate(){return i.oncreate}})}};z(c,e=>{o()?e(l):e(u,-1)}),T(r,a)};var h=t(),g=e(h),v=n=>{var r=t(),a=e(r);B(a,()=>i.children),T(n,r)},y=e=>{var t=Wr();Y(d(t),{}),a(t),T(e,t)},x=n=>{var r=t(),a=e(r);B(a,()=>i.screen,()=>({authentication:m})),T(n,r)},S=e=>{var t=Gr(),n=d(t);m(n),a(t),T(e,t)};z(g,e=>{c()?e(v):l()||u()?e(y,1):i.screen?e(x,2):e(S,-1)}),T(r,h),V(),p()}var qr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Jr(e,t){let n=h(t,qr),r=[[`path`,{d:`M20 6 9 17l-5-5`}]];H(e,k({name:`check`},()=>n,{get iconNode(){return r}}))}var Yr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Xr(e,t){let n=h(t,Yr),r=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]];H(e,k({name:`copy`},()=>n,{get iconNode(){return r}}))}var Zr=new Set([`$$slots`,`$$events`,`$$legacy`,`text`,`label`,`disabled`,`oncopy`,`icon`,`class`]),Qr=w(`<!> <!>`,1);function $r(r,a){_(a,!0);let o=h(a,Zr),s=A(!1),c=A(!1),l=!navigator.clipboard;async function d(){if(!n(s)){if(C(c,!0),typeof ClipboardItem>`u`){let e=typeof a.text==`function`?await a.text():a.text;if(e===null)return;await navigator.clipboard.writeText(e)}else{let e=f(a.text);await navigator.clipboard.write([e])}C(c,!1),C(s,!0),a.oncopy?.(),setTimeout(()=>C(s,!1),2e3)}}function f(e){return typeof e==`function`?p(e):new ClipboardItem({"text/plain":new Blob([e],{type:`text/plain`})})}function p(e){return new ClipboardItem({"text/plain":e().then(e=>new Blob([e??``],{type:`text/plain`}))})}{let f=P(()=>q(a.class)),p=P(()=>a.disabled||l||n(c));U(r,k({get class(){return n(f)},onclick:d,get disabled(){return n(p)}},()=>o,{children:(r,o)=>{var l=Qr(),d=e(l),f=e=>{Jr(e,{class:`text-constructive`,strokeWidth:3})},p=e=>{Y(e,{})},m=n=>{var r=t(),i=e(r);B(i,()=>a.icon),T(n,r)},h=e=>{Xr(e,{})};z(d,e=>{n(s)?e(f):n(c)?e(p,1):a.icon===void 0?e(h,-1):e(m,2)});var g=F(d,2),_=e=>{var t=u();M(()=>i(t,a.label)),T(e,t)};z(g,e=>{a.label!==null&&e(_)}),T(r,l)},$$slots:{default:!0}}))}V()}function ei(e,t){return!!(e.dev!==void 0&&e.dev===!1||e.beta!==void 0&&e.beta===ti()||e.debug!==void 0&&e.debug===ni()||e.role!==void 0&&t?.roles!==void 0&&ri(t.roles,e.role))}function ti(){return typeof window<`u`&&window.location.hostname.startsWith(`beta.`)}function ni(){return ti()}function ri(e,t){for(let n of e)if(n===t||t.startsWith(n+`:`))return!0;return!1}var ii=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`denied`]),ai=w(`<div class="flex justify-center pt-[14vh]"><!></div>`);function oi(r,i){_(i,!0);let o=()=>b(ae,`$account`,c),s=()=>b(X,`$dict`,c),[c,l]=L(),u=h(i,ii),f=P(()=>ei(u,o())),p=P(()=>o()?.id??``);var m=t(),g=e(m),v=n=>{var r=t(),a=e(r);B(a,()=>i.children),T(n,r)},y=n=>{var r=t(),a=e(r);B(a,()=>i.denied),T(n,r)},x=e=>{var t=ai(),r=d(t);{let e=P(()=>n(p).slice(0,8));$r(r,{get text(){return n(p)},get label(){return n(e)},get"aria-label"(){return s().auth.copyId},variant:`outline`,class:`font-mono`})}a(t),T(e,t)};z(g,e=>{n(f)?e(v):i.denied===void 0?n(p)!==``&&e(x,2):e(y,1)}),T(r,m),V(),l()}var si=E(((e,t)=>{t.exports=function(){return typeof Promise==`function`&&Promise.prototype&&Promise.prototype.then}})),Q=E((e=>{var t,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(e){if(!e)throw Error(`"version" cannot be null or undefined`);if(e<1||e>40)throw Error(`"version" should be in range from 1 to 40`);return e*4+17},e.getSymbolTotalCodewords=function(e){return n[e]},e.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t},e.setToSJISFunction=function(e){if(typeof e!=`function`)throw Error(`"toSJISFunc" is not a valid function.`);t=e},e.isKanjiModeEnabled=function(){return t!==void 0},e.toSJIS=function(e){return t(e)}})),ci=E((e=>{e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(t){if(typeof t!=`string`)throw Error(`Param is not a string`);switch(t.toLowerCase()){case`l`:case`low`:return e.L;case`m`:case`medium`:return e.M;case`q`:case`quartile`:return e.Q;case`h`:case`high`:return e.H;default:throw Error(`Unknown EC Level: `+t)}}e.isValid=function(e){return e&&e.bit!==void 0&&e.bit>=0&&e.bit<4},e.from=function(n,r){if(e.isValid(n))return n;try{return t(n)}catch{return r}}})),li=E(((e,t)=>{function n(){this.buffer=[],this.length=0}n.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},t.exports=n})),ui=E(((e,t)=>{function n(e){if(!e||e<1)throw Error(`BitMatrix size must be defined and greater than 0`);this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}n.prototype.set=function(e,t,n,r){let i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},n.prototype.get=function(e,t){return this.data[e*this.size+t]},n.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},n.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},t.exports=n})),di=E((e=>{var t=Q().getSymbolSize;e.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,r=t(e),i=r===145?26:Math.ceil((r-13)/(2*n-2))*2,a=[r-7];for(let e=1;e<n-1;e++)a[e]=a[e-1]-i;return a.push(6),a.reverse()},e.getPositions=function(t){let n=[],r=e.getRowColCoords(t),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)e===0&&t===0||e===0&&t===i-1||e===i-1&&t===0||n.push([r[e],r[t]]);return n}})),fi=E((e=>{var t=Q().getSymbolSize,n=7;e.getPositions=function(e){let r=t(e);return[[0,0],[r-n,0],[0,r-n]]}})),pi=E((e=>{e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(e){return e!=null&&e!==``&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){let n=e.size,r=0,i=0,a=0,o=null,s=null;for(let c=0;c<n;c++){i=a=0,o=s=null;for(let l=0;l<n;l++){let n=e.get(c,l);n===o?i++:(i>=5&&(r+=t.N1+(i-5)),o=n,i=1),n=e.get(l,c),n===s?a++:(a>=5&&(r+=t.N1+(a-5)),s=n,a=1)}i>=5&&(r+=t.N1+(i-5)),a>=5&&(r+=t.N1+(a-5))}return r},e.getPenaltyN2=function(e){let n=e.size,r=0;for(let t=0;t<n-1;t++)for(let i=0;i<n-1;i++){let n=e.get(t,i)+e.get(t,i+1)+e.get(t+1,i)+e.get(t+1,i+1);(n===4||n===0)&&r++}return r*t.N2},e.getPenaltyN3=function(e){let n=e.size,r=0,i=0,a=0;for(let t=0;t<n;t++){i=a=0;for(let o=0;o<n;o++)i=i<<1&2047|e.get(t,o),o>=10&&(i===1488||i===93)&&r++,a=a<<1&2047|e.get(o,t),o>=10&&(a===1488||a===93)&&r++}return r*t.N3},e.getPenaltyN4=function(e){let n=0,r=e.data.length;for(let t=0;t<r;t++)n+=e.data[t];return Math.abs(Math.ceil(n*100/r/5)-10)*t.N4};function n(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error(`bad maskPattern:`+t)}}e.applyMask=function(e,t){let r=t.size;for(let i=0;i<r;i++)for(let a=0;a<r;a++)t.isReserved(a,i)||t.xor(a,i,n(e,a,i))},e.getBestMask=function(t,n){let r=Object.keys(e.Patterns).length,i=0,a=1/0;for(let o=0;o<r;o++){n(o),e.applyMask(o,t);let r=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(o,t),r<a&&(a=r,i=o)}return i}})),mi=E((e=>{var t=ci(),n=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(e,r){switch(r){case t.L:return n[(e-1)*4+0];case t.M:return n[(e-1)*4+1];case t.Q:return n[(e-1)*4+2];case t.H:return n[(e-1)*4+3];default:return}},e.getTotalCodewordsCount=function(e,n){switch(n){case t.L:return r[(e-1)*4+0];case t.M:return r[(e-1)*4+1];case t.Q:return r[(e-1)*4+2];case t.H:return r[(e-1)*4+3];default:return}}})),hi=E((e=>{var t=new Uint8Array(512),n=new Uint8Array(256);(function(){let e=1;for(let r=0;r<255;r++)t[r]=e,n[e]=r,e<<=1,e&256&&(e^=285);for(let e=255;e<512;e++)t[e]=t[e-255]})(),e.log=function(e){if(e<1)throw Error(`log(`+e+`)`);return n[e]},e.exp=function(e){return t[e]},e.mul=function(e,r){return e===0||r===0?0:t[n[e]+n[r]]}})),gi=E((e=>{var t=hi();e.mul=function(e,n){let r=new Uint8Array(e.length+n.length-1);for(let i=0;i<e.length;i++)for(let a=0;a<n.length;a++)r[i+a]^=t.mul(e[i],n[a]);return r},e.mod=function(e,n){let r=new Uint8Array(e);for(;r.length-n.length>=0;){let e=r[0];for(let i=0;i<n.length;i++)r[i]^=t.mul(n[i],e);let i=0;for(;i<r.length&&r[i]===0;)i++;r=r.slice(i)}return r},e.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let i=0;i<n;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}})),_i=E(((e,t)=>{var n=gi();function r(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(e){this.degree=e,this.genPoly=n.generateECPolynomial(this.degree)},r.prototype.encode=function(e){if(!this.genPoly)throw Error(`Encoder not initialized`);let t=new Uint8Array(e.length+this.degree);t.set(e);let r=n.mod(t,this.genPoly),i=this.degree-r.length;if(i>0){let e=new Uint8Array(this.degree);return e.set(r,i),e}return r},t.exports=r})),vi=E((e=>{e.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}})),yi=E((e=>{var t=`[0-9]+`,n=`[A-Z $%*+\\-./:]+`,r=`(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+`;r=r.replace(/u/g,`\\u`);var i=`(?:(?![A-Z0-9 $%*+\\-./:]|`+r+`)(?:.|[\r
2
+ ]))+`;e.KANJI=new RegExp(r,`g`),e.BYTE_KANJI=RegExp(`[^A-Z0-9 $%*+\\-./:]+`,`g`),e.BYTE=new RegExp(i,`g`),e.NUMERIC=new RegExp(t,`g`),e.ALPHANUMERIC=new RegExp(n,`g`);var a=RegExp(`^`+r+`$`),o=RegExp(`^[0-9]+$`),s=RegExp(`^[A-Z0-9 $%*+\\-./:]+$`);e.testKanji=function(e){return a.test(e)},e.testNumeric=function(e){return o.test(e)},e.testAlphanumeric=function(e){return s.test(e)}})),$=E((e=>{var t=vi(),n=yi();e.NUMERIC={id:`Numeric`,bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:`Alphanumeric`,bit:2,ccBits:[9,11,13]},e.BYTE={id:`Byte`,bit:4,ccBits:[8,16,16]},e.KANJI={id:`Kanji`,bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,n){if(!e.ccBits)throw Error(`Invalid mode: `+e);if(!t.isValid(n))throw Error(`Invalid version: `+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(t){return n.testNumeric(t)?e.NUMERIC:n.testAlphanumeric(t)?e.ALPHANUMERIC:n.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw Error(`Invalid mode`)},e.isValid=function(e){return e&&e.bit&&e.ccBits};function r(t){if(typeof t!=`string`)throw Error(`Param is not a string`);switch(t.toLowerCase()){case`numeric`:return e.NUMERIC;case`alphanumeric`:return e.ALPHANUMERIC;case`kanji`:return e.KANJI;case`byte`:return e.BYTE;default:throw Error(`Unknown mode: `+t)}}e.from=function(t,n){if(e.isValid(t))return t;try{return r(t)}catch{return n}}})),bi=E((e=>{var t=Q(),n=mi(),r=ci(),i=$(),a=vi(),o=7973,s=t.getBCHDigit(o);function c(t,n,r){for(let i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}function l(e,t){return i.getCharCountIndicator(e,t)+4}function u(e,t){let n=0;return e.forEach(function(e){let r=l(e.mode,t);n+=r+e.getBitsLength()}),n}function d(t,n){for(let r=1;r<=40;r++)if(u(t,r)<=e.getCapacity(r,n,i.MIXED))return r}e.from=function(e,t){return a.isValid(e)?parseInt(e,10):t},e.getCapacity=function(e,r,o){if(!a.isValid(e))throw Error(`Invalid QR Code version`);o===void 0&&(o=i.BYTE);let s=(t.getSymbolTotalCodewords(e)-n.getTotalCodewordsCount(e,r))*8;if(o===i.MIXED)return s;let c=s-l(o,e);switch(o){case i.NUMERIC:return Math.floor(c/10*3);case i.ALPHANUMERIC:return Math.floor(c/11*2);case i.KANJI:return Math.floor(c/13);case i.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(e,t){let n,i=r.from(t,r.M);if(Array.isArray(e)){if(e.length>1)return d(e,i);if(e.length===0)return 1;n=e[0]}else n=e;return c(n.mode,n.getLength(),i)},e.getEncodedBits=function(e){if(!a.isValid(e)||e<7)throw Error(`Invalid QR Code version`);let n=e<<12;for(;t.getBCHDigit(n)-s>=0;)n^=o<<t.getBCHDigit(n)-s;return e<<12|n}})),xi=E((e=>{var t=Q(),n=1335,r=21522,i=t.getBCHDigit(n);e.getEncodedBits=function(e,a){let o=e.bit<<3|a,s=o<<10;for(;t.getBCHDigit(s)-i>=0;)s^=n<<t.getBCHDigit(s)-i;return(o<<10|s)^r}})),Si=E(((e,t)=>{var n=$();function r(e){this.mode=n.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);let i=this.data.length-t;i>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,i*3+1))},t.exports=r})),Ci=E(((e,t)=>{var n=$(),r=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`.split(``);function i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t=0;for(;t+2<=this.data.length;t+=2){let n=r.indexOf(this.data[t])*45;n+=r.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},t.exports=i})),wi=E(((e,t)=>{var n=$();function r(e){this.mode=n.BYTE,this.data=typeof e==`string`?new TextEncoder().encode(e):new Uint8Array(e)}r.getBitsLength=function(e){return e*8},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},t.exports=r})),Ti=E(((e,t)=>{var n=$(),r=Q();function i(e){this.mode=n.KANJI,this.data=e}i.getBitsLength=function(e){return e*13},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t=0;for(;t<this.data.length;t++){let n=r.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error(`Invalid SJIS character: `+this.data[t]+`
3
+ Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}},t.exports=i})),Ei=E(((e,t)=>{var n={single_source_shortest_paths:function(e,t,r){var i={},a={};a[t]=0;var o=n.PriorityQueue.make();o.push(t,0);for(var s,c,l,u,d,f,p,m,h;!o.empty();)for(l in s=o.pop(),c=s.value,u=s.cost,d=e[c]||{},d)d.hasOwnProperty(l)&&(f=d[l],p=u+f,m=a[l],h=a[l]===void 0,(h||m>p)&&(a[l]=p,o.push(l,p),i[l]=c));if(r!==void 0&&a[r]===void 0){var g=[`Could not find a path from `,t,` to `,r,`.`].join(``);throw Error(g)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,t,r){var i=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var t=n.PriorityQueue,r={},i;for(i in e||={},t)t.hasOwnProperty(i)&&(r[i]=t[i]);return r.queue=[],r.sorter=e.sorter||t.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t!==void 0&&(t.exports=n)})),Di=E((e=>{var t=$(),n=Si(),r=Ci(),i=wi(),a=Ti(),o=yi(),s=Q(),c=Ei();function l(e){return unescape(encodeURIComponent(e)).length}function u(e,t,n){let r=[],i;for(;(i=e.exec(n))!==null;)r.push({data:i[0],index:i.index,mode:t,length:i[0].length});return r}function d(e){let n=u(o.NUMERIC,t.NUMERIC,e),r=u(o.ALPHANUMERIC,t.ALPHANUMERIC,e),i,a;return s.isKanjiModeEnabled()?(i=u(o.BYTE,t.BYTE,e),a=u(o.KANJI,t.KANJI,e)):(i=u(o.BYTE_KANJI,t.BYTE,e),a=[]),n.concat(r,i,a).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function f(e,o){switch(o){case t.NUMERIC:return n.getBitsLength(e);case t.ALPHANUMERIC:return r.getBitsLength(e);case t.KANJI:return a.getBitsLength(e);case t.BYTE:return i.getBitsLength(e)}}function p(e){return e.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}function m(e){let n=[];for(let r=0;r<e.length;r++){let i=e[r];switch(i.mode){case t.NUMERIC:n.push([i,{data:i.data,mode:t.ALPHANUMERIC,length:i.length},{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.ALPHANUMERIC:n.push([i,{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.KANJI:n.push([i,{data:i.data,mode:t.BYTE,length:l(i.data)}]);break;case t.BYTE:n.push([{data:i.data,mode:t.BYTE,length:l(i.data)}])}}return n}function h(e,n){let r={},i={start:{}},a=[`start`];for(let o=0;o<e.length;o++){let s=e[o],c=[];for(let e=0;e<s.length;e++){let l=s[e],u=``+o+e;c.push(u),r[u]={node:l,lastCount:0},i[u]={};for(let e=0;e<a.length;e++){let o=a[e];r[o]&&r[o].node.mode===l.mode?(i[o][u]=f(r[o].lastCount+l.length,l.mode)-f(r[o].lastCount,l.mode),r[o].lastCount+=l.length):(r[o]&&(r[o].lastCount=l.length),i[o][u]=f(l.length,l.mode)+4+t.getCharCountIndicator(l.mode,n))}}a=c}for(let e=0;e<a.length;e++)i[a[e]].end=0;return{map:i,table:r}}function g(e,o){let c,l=t.getBestModeForData(e);if(c=t.from(o,l),c!==t.BYTE&&c.bit<l.bit)throw Error(`"`+e+`" cannot be encoded with mode `+t.toString(c)+`.
4
+ Suggested mode is: `+t.toString(l));switch(c===t.KANJI&&!s.isKanjiModeEnabled()&&(c=t.BYTE),c){case t.NUMERIC:return new n(e);case t.ALPHANUMERIC:return new r(e);case t.KANJI:return new a(e);case t.BYTE:return new i(e)}}e.fromArray=function(e){return e.reduce(function(e,t){return typeof t==`string`?e.push(g(t,null)):t.data&&e.push(g(t.data,t.mode)),e},[])},e.fromString=function(t,n){let r=h(m(d(t,s.isKanjiModeEnabled())),n),i=c.find_path(r.map,`start`,`end`),a=[];for(let e=1;e<i.length-1;e++)a.push(r.table[i[e]].node);return e.fromArray(p(a))},e.rawSplit=function(t){return e.fromArray(d(t,s.isKanjiModeEnabled()))}})),Oi=E((e=>{var t=Q(),n=ci(),r=li(),i=ui(),a=di(),o=fi(),s=pi(),c=mi(),l=_i(),u=bi(),d=xi(),f=$(),p=Di();function m(e,t){let n=e.size,r=o.getPositions(t);for(let t=0;t<r.length;t++){let i=r[t][0],a=r[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1||n<=i+t))for(let r=-1;r<=7;r++)a+r<=-1||n<=a+r||(t>=0&&t<=6&&(r===0||r===6)||r>=0&&r<=6&&(t===0||t===6)||t>=2&&t<=4&&r>=2&&r<=4?e.set(i+t,a+r,!0,!0):e.set(i+t,a+r,!1,!0))}}function h(e){let t=e.size;for(let n=8;n<t-8;n++){let t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}function g(e,t){let n=a.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],i=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)t===-2||t===2||n===-2||n===2||t===0&&n===0?e.set(r+t,i+n,!0,!0):e.set(r+t,i+n,!1,!0)}}function _(e,t){let n=e.size,r=u.getEncodedBits(t),i,a,o;for(let t=0;t<18;t++)i=Math.floor(t/3),a=t%3+n-8-3,o=(r>>t&1)==1,e.set(i,a,o,!0),e.set(a,i,o,!0)}function v(e,t,n){let r=e.size,i=d.getEncodedBits(t,n),a,o;for(a=0;a<15;a++)o=(i>>a&1)==1,a<6?e.set(a,8,o,!0):a<8?e.set(a+1,8,o,!0):e.set(r-15+a,8,o,!0),a<8?e.set(8,r-a-1,o,!0):a<9?e.set(8,15-a-1+1,o,!0):e.set(8,15-a-1,o,!0);e.set(r-8,8,1,!0)}function y(e,t){let n=e.size,r=-1,i=n-1,a=7,o=0;for(let s=n-1;s>0;s-=2)for(s===6&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;o<t.length&&(r=(t[o]>>>a&1)==1),e.set(i,s-n,r),a--,a===-1&&(o++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function b(e,n,i){let a=new r;i.forEach(function(t){a.put(t.mode.bit,4),a.put(t.getLength(),f.getCharCountIndicator(t.mode,e)),t.write(a)});let o=(t.getSymbolTotalCodewords(e)-c.getTotalCodewordsCount(e,n))*8;for(a.getLengthInBits()+4<=o&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(0);let s=(o-a.getLengthInBits())/8;for(let e=0;e<s;e++)a.put(e%2?17:236,8);return x(a,e,n)}function x(e,n,r){let i=t.getSymbolTotalCodewords(n),a=i-c.getTotalCodewordsCount(n,r),o=c.getBlocksCount(n,r),s=o-i%o,u=Math.floor(i/o),d=Math.floor(a/o),f=d+1,p=u-d,m=new l(p),h=0,g=Array(o),_=Array(o),v=0,y=new Uint8Array(e.buffer);for(let e=0;e<o;e++){let t=e<s?d:f;g[e]=y.slice(h,h+t),_[e]=m.encode(g[e]),h+=t,v=Math.max(v,t)}let b=new Uint8Array(i),x=0,S,C;for(S=0;S<v;S++)for(C=0;C<o;C++)S<g[C].length&&(b[x++]=g[C][S]);for(S=0;S<p;S++)for(C=0;C<o;C++)b[x++]=_[C][S];return b}function S(e,n,r,a){let o;if(Array.isArray(e))o=p.fromArray(e);else if(typeof e==`string`){let t=n;if(!t){let n=p.rawSplit(e);t=u.getBestVersionForData(n,r)}o=p.fromString(e,t||40)}else throw Error(`Invalid data`);let c=u.getBestVersionForData(o,r);if(!c)throw Error(`The amount of data is too big to be stored in a QR Code`);if(!n)n=c;else if(n<c)throw Error(`
5
+ The chosen QR Code version cannot contain this amount of data.
6
+ Minimum version required to store current data is: `+c+`.
7
+ `);let l=b(n,r,o),d=new i(t.getSymbolSize(n));return m(d,n),h(d),g(d,n),v(d,r,0),n>=7&&_(d,n),y(d,l),isNaN(a)&&(a=s.getBestMask(d,v.bind(null,d,r))),s.applyMask(a,d),v(d,r,a),{modules:d,version:n,errorCorrectionLevel:r,maskPattern:a,segments:o}}e.create=function(e,r){if(e===void 0||e===``)throw Error(`No input text`);let i=n.M,a,o;return r!==void 0&&(i=n.from(r.errorCorrectionLevel,n.M),a=u.from(r.version),o=s.from(r.maskPattern),r.toSJISFunc&&t.setToSJISFunction(r.toSJISFunc)),S(e,a,i,o)}})),ki=E((e=>{function t(e){if(typeof e==`number`&&(e=e.toString()),typeof e!=`string`)throw Error(`Color should be defined as hex string`);let t=e.slice().replace(`#`,``).split(``);if(t.length<3||t.length===5||t.length>8)throw Error(`Invalid hex color: `+e);(t.length===3||t.length===4)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),t.length===6&&t.push(`F`,`F`);let n=parseInt(t.join(``),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:`#`+t.slice(0,6).join(``)}}e.getOptions=function(e){e||={},e.color||(e.color={});let n=e.margin===void 0||e.margin===null||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:n,color:{dark:t(e.color.dark||`#000000ff`),light:t(e.color.light||`#ffffffff`)},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,t){return t.width&&t.width>=e+t.margin*2?t.width/(e+t.margin*2):t.scale},e.getImageWidth=function(t,n){let r=e.getScale(t,n);return Math.floor((t+n.margin*2)*r)},e.qrToImageData=function(t,n,r){let i=n.modules.size,a=n.modules.data,o=e.getScale(i,r),s=Math.floor((i+r.margin*2)*o),c=r.margin*o,l=[r.color.light,r.color.dark];for(let e=0;e<s;e++)for(let n=0;n<s;n++){let u=(e*s+n)*4,d=r.color.light;if(e>=c&&n>=c&&e<s-c&&n<s-c){let t=Math.floor((e-c)/o),r=Math.floor((n-c)/o);d=l[+!!a[t*i+r]]}t[u++]=d.r,t[u++]=d.g,t[u++]=d.b,t[u]=d.a}}})),Ai=E((e=>{var t=ki();function n(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||={},t.height=n,t.width=n,t.style.height=n+`px`,t.style.width=n+`px`}function r(){try{return document.createElement(`canvas`)}catch{throw Error(`You need to specify a canvas element`)}}e.render=function(e,i,a){let o=a,s=i;o===void 0&&(!i||!i.getContext)&&(o=i,i=void 0),i||(s=r()),o=t.getOptions(o);let c=t.getImageWidth(e.modules.size,o),l=s.getContext(`2d`),u=l.createImageData(c,c);return t.qrToImageData(u.data,e,o),n(l,s,c),l.putImageData(u,0,0),s},e.renderToDataURL=function(t,n,r){let i=r;i===void 0&&(!n||!n.getContext)&&(i=n,n=void 0),i||={};let a=e.render(t,n,i),o=i.type||`image/png`,s=i.rendererOpts||{};return a.toDataURL(o,s.quality)}})),ji=E((e=>{var t=ki();function n(e,t){let n=e.a/255,r=t+`="`+e.hex+`"`;return n<1?r+` `+t+`-opacity="`+n.toFixed(2).slice(1)+`"`:r}function r(e,t,n){let r=e+t;return n!==void 0&&(r+=` `+n),r}function i(e,t,n){let i=``,a=0,o=!1,s=0;for(let c=0;c<e.length;c++){let l=Math.floor(c%t),u=Math.floor(c/t);!l&&!o&&(o=!0),e[c]?(s++,c>0&&l>0&&e[c-1]||(i+=o?r(`M`,l+n,.5+u+n):r(`m`,a,0),a=0,o=!1),l+1<t&&e[c+1]||(i+=r(`h`,s),s=0)):a++}return i}e.render=function(e,r,a){let o=t.getOptions(r),s=e.modules.size,c=e.modules.data,l=s+o.margin*2,u=o.color.light.a?`<path `+n(o.color.light,`fill`)+` d="M0 0h`+l+`v`+l+`H0z"/>`:``,d=`<path `+n(o.color.dark,`stroke`)+` d="`+i(c,s,o.margin)+`"/>`,f=`viewBox="0 0 `+l+` `+l+`"`,p=`<svg xmlns="http://www.w3.org/2000/svg" `+(o.width?`width="`+o.width+`" height="`+o.width+`" `:``)+f+` shape-rendering="crispEdges">`+u+d+`</svg>
8
+ `;return typeof a==`function`&&a(null,p),p}}));E((e=>{var t=si(),n=Oi(),r=Ai(),i=ji();function a(e,r,i,a,o){let s=[].slice.call(arguments,1),c=s.length,l=typeof s[c-1]==`function`;if(!l&&!t())throw Error(`Callback required as last argument`);if(l){if(c<2)throw Error(`Too few arguments provided`);c===2?(o=i,i=r,r=a=void 0):c===3&&(r.getContext&&o===void 0?(o=a,a=void 0):(o=a,a=i,i=r,r=void 0))}else{if(c<1)throw Error(`Too few arguments provided`);return c===1?(i=r,r=a=void 0):c===2&&!r.getContext&&(a=i,i=r,r=void 0),new Promise(function(t,o){try{t(e(n.create(i,a),r,a))}catch(e){o(e)}})}try{let t=n.create(i,a);o(null,e(t,r,a))}catch(e){o(e)}}e.create=n.create,e.toCanvas=a.bind(null,r.render),e.toDataURL=a.bind(null,r.renderToDataURL),e.toString=a.bind(null,function(e,t,n){return i.render(e,n)})}))(),vr.google,vr.apple;export{tt as i,Kr as n,Et as r,oi as t};
@@ -0,0 +1 @@
1
+ typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/.configuration/_app/immutable/nodes/0.DKSa6mGa.js","/.configuration/_app/immutable/chunks/CcD_ISxM.js","/.configuration/_app/immutable/chunks/E7oj41Za.js","/.configuration/_app/immutable/chunks/xihTtKlq.js","/.configuration/_app/immutable/chunks/CDKtbN4n.js","/.configuration/_app/immutable/chunks/Chb3af1a.js","/.configuration/_app/immutable/assets/0.CNS8Cqhc.css","/.configuration/_app/immutable/nodes/1.Cnu_jAWf.js","/.configuration/_app/immutable/nodes/2.Dg1zeC2b.js","/.configuration/_app/immutable/chunks/Cov6-56A.js","/.configuration/_app/immutable/chunks/MOpxGoVO.js","/.configuration/_app/immutable/assets/ui.BghF56l_.css","/.configuration/_app/immutable/nodes/3.QCbZIibO.js","/.configuration/_app/immutable/nodes/4.1bG6DC_9.js"])))=>i.map(i=>d[i]);
2
+ import{$ as e,A as t,B as n,E as r,Et as i,H as a,J as o,P as s,Q as c,Y as l,bt as u,i as d,it as f,j as p,k as m,n as h,ot as g,q as _,r as v,s as y,st as b,tt as x,v as S,w as C,yt as w}from"../chunks/CcD_ISxM.js";import"../chunks/xihTtKlq.js";var T=`modulepreload`,E=function(e,t){return new URL(e,t).href},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},k={},A=p(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),j=p(`<!> <!>`,1);function M(p,v){u(v,!0);let T=d(v,`components`,23,()=>[]),E=d(v,`data_0`,3,null),D=d(v,`data_1`,3,null),O=d(v,`data_2`,3,null);l(()=>v.stores.page.set(v.page)),o(()=>{v.stores,v.page,v.constructors,T(),v.form,E(),D(),O(),v.stores.page.notify()});let k=g(!1),M=g(!1),N=g(null);h(()=>{let e=v.stores.page.subscribe(()=>{n(k)&&(f(M,!0),a().then(()=>{f(N,document.title||`untitled page`,!0)}))});return f(k,!0),e});let P=b(()=>v.constructors[2]);var F=j(),I=e(F),L=r=>{let i=b(()=>v.constructors[0]);var a=t(),o=e(a);S(o,()=>n(i),(r,i)=>{y(i(r,{get data(){return E()},get form(){return v.form},get params(){return v.page.params},children:(r,i)=>{var a=t(),o=e(a),s=r=>{let i=b(()=>v.constructors[1]);var a=t(),o=e(a);S(o,()=>n(i),(r,i)=>{y(i(r,{get data(){return D()},get form(){return v.form},get params(){return v.page.params},children:(r,i)=>{var a=t(),o=e(a);S(o,()=>n(P),(e,t)=>{y(t(e,{get data(){return O()},get form(){return v.form},get params(){return v.page.params}}),e=>T()[2]=e,()=>T()?.[2])}),m(r,a)},$$slots:{default:!0}}),e=>T()[1]=e,()=>T()?.[1])}),m(r,a)},c=r=>{let i=b(()=>v.constructors[1]);var a=t(),o=e(a);S(o,()=>n(i),(e,t)=>{y(t(e,{get data(){return D()},get form(){return v.form},get params(){return v.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),m(r,a)};C(o,e=>{v.constructors[2]?e(s):e(c,-1)}),m(r,a)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),m(r,a)},R=r=>{let i=b(()=>v.constructors[0]);var a=t(),o=e(a);S(o,()=>n(i),(e,t)=>{y(t(e,{get data(){return E()},get form(){return v.form},get params(){return v.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),m(r,a)};C(I,e=>{v.constructors[1]?e(L):e(R,-1)});var z=x(I,2),B=e=>{var t=A(),a=c(t),o=e=>{var t=s();_(()=>r(t,n(N))),m(e,t)};C(a,e=>{n(M)&&e(o)}),i(t),m(e,t)};C(z,e=>{n(k)&&e(B)}),m(p,F),w()}var N=v(M),P=[()=>O(()=>import(`../nodes/0.DKSa6mGa.js`),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),()=>O(()=>import(`../nodes/1.Cnu_jAWf.js`),__vite__mapDeps([7,1,3,5,2]),import.meta.url),()=>O(()=>import(`../nodes/2.Dg1zeC2b.js`),__vite__mapDeps([8,1,2,3,4,9,5,10,11]),import.meta.url),()=>O(()=>import(`../nodes/3.QCbZIibO.js`),__vite__mapDeps([12,1,3,9,2,4]),import.meta.url),()=>O(()=>import(`../nodes/4.1bG6DC_9.js`),__vite__mapDeps([13,1,2,3,4,9,5,10,11]),import.meta.url)],F=[],I={"/(private)":[3,[2]],"/(private)/[component]":[4,[2]]},L={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},R=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.decode])),z=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.encode])),B=!1,V=(e,t)=>R[e](t),H=()=>O(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{V as decode,R as decoders,I as dictionary,z as encoders,H as get_error_template,B as hash,L as hooks,k as matchers,P as nodes,N as root,F as server_loads};
@@ -0,0 +1 @@
1
+ import{o as e,r as t}from"../chunks/E7oj41Za.js";export{e as load_css,t as start};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,G as r,J as i,X as a,bt as o,d as s,dt as c,g as l,ht as u,j as d,jt as f,k as p,q as m,st as h,ut as g,y as _,yt as v}from"../chunks/CcD_ISxM.js";import{n as y}from"../chunks/E7oj41Za.js";import"../chunks/xihTtKlq.js";import{C as b,S as x,T as S,b as C,o as w,r as T,t as E,v as D,w as O,y as k}from"../chunks/CDKtbN4n.js";import{t as A}from"../chunks/Chb3af1a.js";var j=x();j.on(`*`,(e,t)=>{t===void 0?console.debug(e):console.debug(e,t)});var M=u({status:`disconnected`,events:[]});j.on(`*`,(e,t)=>{M.update(n=>(n.events.push({label:e,payload:t}),n.events=n.events.slice(-128),n))});function N(e){M.update(t=>(t.status=e,(e===`connected`||e===`disconnected`)&&t.events.push({label:e}),t))}function P(){M.update(()=>({status:`disconnected`,events:[]}))}var F=k.resource(`/presence/`);async function I(e,t){return await F.multipart(e,{credentials:`include`,...t})}var L=null,R=null;async function z(e){if(L!==null&&L!==e&&V(),L!==e)for(L=e;L===e;){N(`connecting`);let t=await B(e).catch(e=>e);t!==void 0&&(t.name===`AbortError`?console.debug(`Realtime connection aborted`):(console.warn(`Realtime connection exception`,t),await new Promise(e=>setTimeout(e,3e3))))}}async function B(e){R=new AbortController;let t=R.signal,n=Intl.DateTimeFormat().resolvedOptions().timeZone,r=await I(e,{signal:t,body:{timezone:n}});if(r instanceof Error)throw N(`disconnected`),r;console.debug(`Realtime connected`,e),N(`connected`);for await(let e of r)H(e);console.debug(`Realtime connection lost`,e)}function V(){if(L!==null){if(L=null,R===null)throw Error(`Realtime controller is NULL`);R.abort(),P()}}function H(e){typeof e==`string`?j.emit(`heartbeat`):j.emit(e.event,e.data)}function U(){O.subscribe(e=>{let t=b.extract();e?z(t.id):V()})}function W(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return atob(t.padEnd(t.length+(4-t.length%4)%4,`=`))}function G(){let e=T(`challenge`);return e===null?null:W(e)}function K(){k.events.on(`challenge`,e=>S.set(e)),k.events.on(`error`,e=>{e.code===401&&S.set(null)}),S.subscribe(e=>k.authenticate(e));let e=G();e!==null&&S.set(e),D()}var q=f({prerender:()=>!1,ssr:()=>!1,trailingSlash:()=>J});K(),U();var J=`always`,Y=d(`<meta name="description"/>`);function X(u,d){o(d,!0);let f=()=>c(E,`$dict`,b),[b,x]=g(),S=h(()=>A.data.meta?.title??C.title),T=h(()=>A.data.meta?.description??C.description);y(w),i(()=>{document.dir=f().dir});var D=t();l(`12qhfyh`,e=>{var t=Y();m(()=>s(t,`content`,n(T))),r(()=>{a.title=n(S)??``}),p(e,t)});var O=e(D);_(O,()=>d.children),p(u,D),v(),x()}export{X as component,q as universal};
@@ -0,0 +1 @@
1
+ import{$ as e,E as t,bt as n,et as r,j as i,k as a,q as o,tt as s,yt as c}from"../chunks/CcD_ISxM.js";import"../chunks/xihTtKlq.js";import{t as l}from"../chunks/Chb3af1a.js";var u=i(`<h1> </h1> <p> </p>`,1);function d(i,d){n(d,!0);var f=u(),p=e(f),m=r(p,!0),h=s(p,2),g=r(h,!0);o(()=>{t(m,l.status),t(g,l.error?.message)}),a(i,f),c()}export{d as component};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,Dt as r,E as i,Et as a,L as o,P as s,Q as c,Tt as l,Z as u,a as d,bt as f,d as p,dt as m,et as h,ft as g,i as _,it as v,j as y,k as b,lt as x,o as S,ot as C,q as w,s as T,st as E,tt as D,u as O,ut as k,y as A,yt as j}from"../chunks/CcD_ISxM.js";import{c as M,n as N}from"../chunks/E7oj41Za.js";import"../chunks/xihTtKlq.js";import{b as P,h as F,i as I,j as L,t as R}from"../chunks/CDKtbN4n.js";import{H as z,W as B,o as V,s as H}from"../chunks/Cov6-56A.js";import{t as U}from"../chunks/Chb3af1a.js";import{i as W,n as G,r as K,t as q}from"../chunks/MOpxGoVO.js";var J=new Set([`$$slots`,`$$events`,`$$legacy`]);function Y(e,t){let n=d(t,J),r=[[`path`,{d:`m21 21-4.34-4.34`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]];L(e,S({name:`search`},()=>n,{get iconNode(){return r}}))}var X=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Z=y(`<kbd><!></kbd>`);function Q(e,t){f(t,!0);let n=_(t,`ref`,15,null),i=d(t,X);var o=Z();O(o,e=>({"data-slot":`kbd`,class:e,...i}),[()=>B(`h-5 w-fit min-w-5 gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3 pointer-events-none inline-flex items-center justify-center select-none`,t.class)]);var s=c(o);A(s,()=>t.children??r),a(o),T(o,e=>n(e),()=>n()),b(e,o),j()}var $=y(`<div class="flex h-dvh flex-col"><header class="flex items-center gap-4 px-4 py-3" style="view-transition-name: chrome"><div class="hidden flex-1 items-center gap-4 md:flex"><h1 class="min-w-0 truncate text-lg font-medium"><a id="nav-home-link" class="hover:text-muted-foreground transition-colors"> </a></h1></div> <div class="relative w-full max-w-64 min-w-0 shrink"><!> <!> <!></div> <div class="flex flex-1 justify-end"><!></div></header> <main class="min-h-0 flex-1"><!></main></div>`);function ee(r,d){f(d,!0);let _=()=>m(V,`$only`,T),y=()=>m(H,`$query`,T),S=()=>m(R,`$dict`,T),[T,O]=k(),L=E(()=>U.url.pathname===M+`/`?`.`:`..`);N(()=>H.set(``));let B=C(null);function J(e){e.key===`Enter`&&_()?.()}function X(e){e.key===`k`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),n(B)?.focus(),n(B)?.select())}o(`keydown`,u,X),G(r,{children:(r,o)=>{var u=$(),f=c(u),m=c(f),_=c(m),C=c(_),T=h(C,!0);a(_),a(m);var E=D(m,2),O=c(E);Y(O,{class:`text-muted-foreground pointer-events-none absolute start-2.5 top-1/2 size-3.5 -translate-y-1/2`});var k=D(O,2);K(k,{id:`nav-filter-input`,type:`search`,onkeydown:J,get"aria-label"(){return S().nav.filter},class:`ps-8 pe-3 md:pe-14 [&::-webkit-search-cancel-button]:hidden`,get ref(){return n(B)},set ref(e){v(B,e,!0)},get value(){return x(),y()},set value(e){g(H,e)}}),Q(D(k,2),{class:`absolute end-2 top-1/2 hidden -translate-y-1/2 md:inline-flex`,children:(e,t)=>{l();var n=s();w(()=>i(n,I?`⌘K`:`Ctrl K`)),b(e,n)},$$slots:{default:!0}}),a(E);var j=D(E,2),M=c(j);z(M,{id:`iam-logout-button`,variant:`ghost`,size:`icon`,get"aria-label"(){return S().nav.signout},class:`text-destructive hover:text-destructive`,get onclick(){return F},children:(e,t)=>{W(e,{})},$$slots:{default:!0}}),a(j),a(f);var N=D(f,2),R=c(N);q(R,{role:`system:configuration:get`,children:(n,r)=>{var i=t(),a=e(i);A(a,()=>d.children),b(n,i)},$$slots:{default:!0}}),a(N),a(u),w(()=>{p(C,`href`,n(L)),i(T,P.title)}),b(r,u)},$$slots:{default:!0}}),j(),O()}export{ee as component};
@@ -0,0 +1 @@
1
+ import{Et as e,Q as t,j as n,k as r}from"../chunks/CcD_ISxM.js";import"../chunks/xihTtKlq.js";import{r as i}from"../chunks/Cov6-56A.js";var a=n(`<div class="mx-auto h-full max-w-7xl overflow-auto px-4 pb-12"><!></div>`);function o(n){var o=a(),s=t(o);i(s,{}),e(o),r(n,o)}export{o as component};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,Dt as r,E as i,Et as a,Q as o,a as s,bt as c,d as l,dt as u,et as d,j as f,k as p,o as m,q as h,st as g,tt as _,ut as v,w as y,yt as b}from"../chunks/CcD_ISxM.js";import{c as x}from"../chunks/E7oj41Za.js";import"../chunks/xihTtKlq.js";import{j as S,k as C}from"../chunks/CDKtbN4n.js";import{c as w,i as T,l as E,n as D,t as O}from"../chunks/Cov6-56A.js";import{t as k}from"../chunks/Chb3af1a.js";import{t as A}from"../chunks/MOpxGoVO.js";var j=new Set([`$$slots`,`$$events`,`$$legacy`]);function M(e,t){let n=s(t,j),r=[[`path`,{d:`m15 18-6-6 6-6`}]];S(e,m({name:`chevron-left`},()=>n,{get iconNode(){return r}}))}var N=f(`<span class="text-muted-foreground"> </span>`),P=f(`<!> <p class="text-muted-foreground mt-2 text-center font-mono text-xs"> </p>`,1),F=f(`<p class="text-muted-foreground py-20 text-center"> </p>`),I=f(`<p class="text-destructive py-20 text-center"> </p>`),L=f(`<div class="mx-auto h-full max-w-2xl overflow-auto px-4 pb-12"><div class="flex items-center gap-2 py-2"><a id="configuration-back-link" class="text-muted-foreground hover:text-foreground -ms-1 rounded-md p-1 transition-colors"><!></a> <h2 class="min-w-0 truncate font-medium"><!> </h2> <div class="ms-auto"><!></div></div> <!></div>`);function R(s,f){c(f,!0);let m=()=>u(T,`$dict`,S),[S,j]=v(),R=g(()=>k.params.component??``),z=g(()=>E.get(n(R))),B=g(()=>w(n(R)));function V(e){return`code`in e&&e.code===404}var H=L(),U=o(H),W=o(U);M(o(W),{class:`size-4`}),a(W);var G=_(W,2),K=o(G),q=e=>{var t=N(),r=d(t);h(()=>i(r,`${n(B).namespace??``}.`)),p(e,t)};y(K,e=>{n(B).namespace!=="default"&&e(q)});var J=_(K,1,!0);a(G);var Y=_(G,2),X=o(Y);C(X,{get store(){return n(z)},silent:!0,awaited:(e,t=r)=>{A(e,{role:`system:configuration:create`,denied:e=>{},children:(e,n)=>{O(e,{get configuration(){return t()}})},$$slots:{denied:!0,default:!0}})},$$slots:{awaited:!0}}),a(Y),a(U);var Z=_(U,2);C(Z,{get store(){return n(z)},awaited:(t,n=r)=>{var a=P(),o=e(a);D(o,{get value(){return n().configuration}});var s=_(o,2),c=d(s,!0);h(()=>i(c,n().epoch)),p(t,a)},error:(a,o=r)=>{var s=t(),c=e(s),l=e=>{var t=F(),n=d(t,!0);h(()=>i(n,m().value.none)),p(e,t)},u=g(()=>V(o())),f=e=>{var t=I(),n=d(t,!0);h(()=>i(n,o().message)),p(e,t)};y(c,e=>{n(u)?e(l):e(f,-1)}),p(a,s)},$$slots:{awaited:!0,error:!0}}),a(H),h(()=>{l(W,`href`,`${x??``}/`),l(W,`aria-label`,m().value.title),i(J,n(B).component)}),p(s,H),b(),j()}export{R as component};
@@ -0,0 +1 @@
1
+ {"version":"1788425249811"}
Binary file
Binary file
Binary file
@@ -0,0 +1,52 @@
1
+ <!doctype html>
2
+ <html translate="no" lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="robots" content="noindex,nofollow" />
7
+ <meta name="google" content="notranslate" />
8
+
9
+ <!-- `/.configuration`, so they resolve under the path the page is mounted at -->
10
+ <link rel="icon" href="/.configuration/favicon.ico" sizes="32x32" />
11
+ <link rel="icon" href="/.configuration/favicon-96x96.png" type="image/png" sizes="96x96" />
12
+ <link rel="apple-touch-icon" href="/.configuration/apple-touch-icon.png" />
13
+
14
+ <link href="/.configuration/_app/immutable/entry/start.B97KALv1.js" rel="modulepreload">
15
+ <link href="/.configuration/_app/immutable/chunks/E7oj41Za.js" rel="modulepreload">
16
+ <link href="/.configuration/_app/immutable/chunks/CcD_ISxM.js" rel="modulepreload">
17
+ <link href="/.configuration/_app/immutable/entry/app.B9v2AwU_.js" rel="modulepreload">
18
+ <link href="/.configuration/_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
19
+ <link href="/.configuration/_app/immutable/nodes/0.DKSa6mGa.js" rel="modulepreload">
20
+ <link href="/.configuration/_app/immutable/chunks/CDKtbN4n.js" rel="modulepreload">
21
+ <link href="/.configuration/_app/immutable/chunks/Chb3af1a.js" rel="modulepreload">
22
+ <link href="/.configuration/_app/env.js" rel="modulepreload">
23
+
24
+ <link href="/.configuration/_app/immutable/assets/0.CNS8Cqhc.css" rel="stylesheet">
25
+ </head>
26
+ <body data-sveltekit-preload-data="hover">
27
+ <div style="display: contents">
28
+ <script>
29
+ {
30
+ __sveltekit_umytmf = {
31
+ base: "/.configuration",
32
+ assets: "/.configuration",
33
+ env: null
34
+ };
35
+
36
+ const element = document.currentScript.parentElement;
37
+
38
+ import("/.configuration/_app/env.js").then(({ env }) => {
39
+ __sveltekit_umytmf.env = env;
40
+
41
+ Promise.all([
42
+ import("/.configuration/_app/immutable/entry/start.B97KALv1.js"),
43
+ import("/.configuration/_app/immutable/entry/app.B9v2AwU_.js")
44
+ ]).then(([kit, app]) => {
45
+ kit.start(app, element);
46
+ });
47
+ });
48
+ }
49
+ </script>
50
+ </div>
51
+ </body>
52
+ </html>
@@ -1,91 +0,0 @@
1
- ---
2
- name: antcn
3
- description: Ready-to-install Svelte components and utils. You MUST use these components to compose your UI unless you have a very good reason to write your own.
4
- ---
5
-
6
- # antcn — Svelte component registry
7
-
8
- Svelte components and utilities at `https://cn.ants.dev`.
9
-
10
- ## Install
11
-
12
- ```sh
13
- npx shadcn-svelte add -y -o https://cn.ants.dev/r/<name>.json
14
- ```
15
-
16
- If the project has no `components.json`, run `npx shadcn-svelte init` first.
17
-
18
- ## Catalog
19
-
20
- **Before building any Svelte component or utility, scan this catalog.** If something here fits — even loosely — install it and adapt it to the project instead of writing your own. These are the building blocks; reuse beats rebuild.
21
-
22
- One line per item below. **Before installing, read its full reference at `references/<name>.md`** (bundled next to this skill — a plain local file read, no network): props/API, dependencies, and post-install wiring to use it correctly in one pass. The one-liner is for recognizing a match; the reference is the documentation you act on. The CLI merges CSS but not layouts, so the reference also lists the manual steps it can't do for you (e.g. `onNavigate(navigate)` in the root layout, peer npm packages).
23
-
24
- Each one-liner describes **what the item lets you do** and **when to reach for it**.
25
-
26
- `tools` and the shared global CSS usually arrive **transitively** via another component's `registryDependencies` (e.g. `hold` pulls `tools`) — install them standalone only when you want the utility set or theme tokens on their own.
27
-
28
- The catalog has two tracks: **Components** (presentational UI blocks, inline English, no backend) and **Solutions** (vertical app-domain slices that ship service logic, UI, and their own i18n, installed under your `@/<name>`).
29
-
30
- ## Components
31
-
32
- - **shell** — mobile-first app shell with bottom navigation, section tabs, nested-route back behavior, and slots for headers and toolbars. Reach for it when building a PWA-style layout with fixed nav and contextual actions.
33
- - **stack** — collapsible card stack with expand/collapse animation and an optional toolbar. Reach for it when several cards should peek behind the first and fan out on tap.
34
- - **scrollable** — horizontal snap scroller with scroll-to-index, bleed-to-viewport, and infinite loop. Reach for carousels, pickers, and edge-to-edge horizontal lists.
35
- - **panel** — tappable list row with left/right/icon slots and swipe-reveal trailing actions. Reach for contact lists, settings rows, or anywhere a row needs inline actions.
36
- - **fullscreen** — tap-to-expand overlay with morph animation, optional toolbar, and programmatic show/hide. Reach for it when a thumbnail or card should open into an immersive fullscreen layer.
37
- - **dismissable** — swipe-to-dismiss wrapper with optional slide-out animation and programmatic dismiss/remove. Reach for notification stacks, banners, or flick-away cards.
38
- - **dropdown** — action menu with anchor positioning, morph animation, and nested layers. Reach for toolbar overflow, contextual actions, or multi-step pickers.
39
- - **input-form** — inline text field that auto-saves on blur or Enter when the value changed. Reach for editable display names and other single-field edits without a save button.
40
- - **hold** — hold-to-confirm button for dangerous actions: fires only after a brief hold, with countdown feedback. Reach for it instead of a confirmation dialog when inline confirmation is enough.
41
- - **clipboard** — copy-to-clipboard button with loading and success states; supports async text. Reach for copying IDs, invite links, or other strings without a separate input.
42
- - **share** — share button with clipboard fallback when native share is unavailable. Reach for invite links and other share payloads on mobile-first flows.
43
- - **selector** — card-style single- or multi-choice picker with radio or checkbox indicators. Reach for plan pickers, settings toggles, or tappable option lists.
44
- - **taptap** — multi-tap gate that fires only after N consecutive taps within a gap. Reach for accidental-tap protection on destructive or rare actions.
45
- - **shake** — brief horizontal shake on a bound wrapper. Reach for obvious validation failures on small forms where error copy adds little value.
46
- - **tools** — shared helpers for dates, currency, media queries, view transitions, navigation glue, and common browser utilities. Reach for the same helper set antcn components rely on.
47
- - **globals** — shared theme tokens and Tailwind globals for constructive color, standalone/tim variants, and morph transitions. Reach for consistent styling across antcn components.
48
-
49
- <!--
50
- Fixed catalog order: tools, globals, hold, shell. Append one line per newly registered item as `**<name>** — <capabilities>. Reach for <use case>.` Capabilities only — what the consumer can do with it, not how it's built. Avoid: internal structure (sub-components, exports, file layout), dependencies (shadcn, sibling items, npm/libs), function/store/type names, props, install commands, transitively-pulled notes. Those live in references/<name>.md (auto-generated from the item README by the reference-bundler).
51
- -->
52
-
53
- ## Solutions
54
-
55
- Vertical app-domain slices (auth, notifications, realtime, …) that ship service logic, UI, and their own i18n. Install the same way; the whole `svc/` + `ui/` + `ui/intl/` tree lands under your `@/<name>`:
56
-
57
- ```sh
58
- npx shadcn-svelte add -y -o https://cn.ants.dev/r/<name>.json
59
- ```
60
-
61
- Solutions that ship i18n read a **host svintl mount** at `$lib/intl` — the consumer owns it (the CLI can't scaffold it). Set it up once: run `npx intl hola`, then have its `index.ts` export a persisted `selected` writable plus `locale`, `locales`, `dictionaries`, and the `Grammar` type. Each Solution uses a subset, and its bundled `ui/intl/` copy derives from this host.
62
-
63
- Then reconcile the Solution's dictionary to your locale set:
64
-
65
- ```sh
66
- npx intl import <name> src/@/<name>/ui/intl
67
- ```
68
-
69
- Each Solution's reference (`references/<name>.md`) lists the `$config` fields it needs and any consumer wiring (e.g. interfaces to extend). Sibling Solutions arrive automatically via `local:` dependencies.
70
-
71
- ### Grammatical form (cross-cutting i18n)
72
-
73
- Some languages word a message by the subject's grammatical gender (`{name} added` vs Russian `добавил`/`добавила`). This is a translation concern that spans the svintl host, the account, and your UI — owned by no single Solution. Enable it once with `npx intl genders he she none` (the listed tokens become a generated `Grammar` union in `$lib/intl`; the last is the neutral/fallback). Gender-varying dictionary entries then become functions taking the gender as their **last** argument — `(name, gender) => …`, or just `(gender) => …` when the phrase has no other placeholders. The subject's gender is stored per account as `grammar?: Grammar | null` (antcn's `iam` carries it on `Echo`); pass _that account's_ value into the dictionary function — the subject's gender, not the viewer's. Full mechanics, consumption modes, and examples: `references/grammatical-form.md`.
74
-
75
- <!--
76
- Append one line per registered Solution as `**<name>** — <capabilities>. Reach for <use case>.` Same rule as Components — consumer-facing capabilities, not internal structure, dependencies, API names, or wiring. Details live in references/<name>.md.
77
- -->
78
-
79
- - **net** — shared API client and query helpers for declaring backend resources. Reach for any feature or Solution that talks to your API.
80
- - **passkeys** — register, list, and revoke passkeys for the signed-in account. Reach for passwordless login or a passkey manager screen.
81
- - **iam** — complete sign-in and account management: password, OTP, passkeys, Google/Apple OIDC, session sync, expiry refresh, and credential management including cross-device QR transfer. Reach for a full authentication surface.
82
- - **locale** — let users pick their language via a horizontal scroller of native names or a compact settings dropdown. Reach for in-app locale switching.
83
- - **hints** — track per-user onboarding hints: show once, snooze, or dismiss permanently. Reach for first-run tips, permission prompts, and one-shot nudges.
84
- - **realtime** — live server-pushed events with auto-reconnect tied to sign-in, a debug dashboard, and server-clock sync. Reach for UI that must react to backend push in real time.
85
- - **transmission** — push notification permission, subscription, per-domain toggles, and ready-made permission/scopes UI. Reach for web or mobile push with user-configurable topics.
86
- - **analytics** — GA4/GTM event tracking and a cookie-consent banner. Reach for analytics or ads conversion measurement with GDPR-style consent.
87
- - **bridge** — talk to a native app from the WebView: detect platform, drive native purchases, and receive native push. Reach for hybrid app integration.
88
- - **fragments** — single-use URL hash tokens for deep links and payment redirects that won't re-fire on reload. Reach for one-time return URLs.
89
- - **geo** — look up the visitor's consent zone to decide whether a cookie banner is required. Reach for privacy-jurisdiction gating before loading trackers.
90
- - **payments** — subscription paywall with tier selection, benefits, and checkout via App Store, Google Play, or Stripe. Reach for selling subscriptions in-app.
91
- - **system** — user-controlled PWA updates surfaced as a version card that tracks the running build, shows live download progress, and offers a one-tap install once an update is ready, plus a browsable localized changelog history the app version derives from, an app-wide escape from insecure in-app webviews out to the system browser, and CI that auto-generates translated release notes and publishes tagged releases on merge. Reach for the PWA update, release-notes, and webview-escape layer of an installed app.
@@ -1,78 +0,0 @@
1
- # analytics
2
-
3
- Consent-first GA4 + Google Tag Manager analytics. A typed `track()` dual-dispatches to a GA4 property (via a `gtag` shim) and/or a GTM container; a Consent Mode v2 cookie banner collects consent before any non-essential storage, shown only to visitors inside a prior-consent jurisdiction (resolved through `geo`) and auto-granting elsewhere. Events are an open interface each domain owns and augments.
4
-
5
- ## Environment
6
-
7
- Configured through `VITE_*` env vars (read at build via `import.meta.env`, so no custom `envPrefix` is needed). Set whichever delivery you use — at least one `id` must be present or the whole stack no-ops:
8
-
9
- | Var | Example | Notes |
10
- | ------------------ | -------------- | --------------------------------------------------------------------- |
11
- | `VITE_GA_ID` | `G-XXXXXXXXXX` | GA4 Measurement ID. When set, events go to GA4 via `gtag` (takes priority). |
12
- | `VITE_GTM_ID` | `GTM-XXXXXXX` | GTM container ID. Used for `track()` only when `VITE_GA_ID` is unset; otherwise the container still sees gtag's push as a Custom Event. |
13
- | `VITE_GTM_AUTH` | `abc123…` | Optional — GTM Environment snippet auth param. Empty for the Live environment. |
14
- | `VITE_GTM_PREVIEW` | `env-3` | Optional — GTM Environment snippet preview param. Empty for Live. |
15
-
16
- ## Notes
17
-
18
- - **Bootstrap with `rc()`.** Run it once on app start (see Usage). It emits the `consent default` + `platform` user-property commands, resolves the consent zone, then either auto-grants (out of zone), re-applies a stored choice, or opens the banner. It no-ops when neither id is set.
19
- - **Page-view title.** Pass `<Analytics title={…}>` the resolved page title so the `page_view` event isn't subject to the SPA `document.title` race.
20
- - **Re-opening consent.** `<Manage>` is an optional "Cookie settings" button (place it in a footer or settings row); it renders only inside a prior-consent zone once a choice has been made.
21
- - **Banner copy.** Ships its own svintl mount in the registry's four locales with neutral copy. After install, reconcile it to your locale set: `npx intl import analytics src/@/analytics/ui/intl`. The body links to `/privacy/` — point it at your policy via the mount.
22
- - **Native iOS shell.** `settle('ios_shell')` resolves to `denied` (App Store privacy expectations); adjust the platform branch in `rc.ts` if your wrapper differs.
23
-
24
- ## Usage
25
-
26
- Bootstrap once on app start — resolves the consent zone and opens the banner when consent is required:
27
-
28
- ```ts
29
- import { rc } from '@/analytics/rc'
30
-
31
- onMount(rc)
32
- ```
33
-
34
- Mount the loaders and banner near the app root. `<Analytics>` injects the gtag.js / gtm.js loaders and fires a `page_view` on every SPA navigation; `<Consent>` renders the banner while consent is pending:
35
-
36
- ```svelte
37
- <script lang="ts">
38
- import { Analytics, Consent } from '@/analytics/ui'
39
- import { page } from '$app/state'
40
- </script>
41
-
42
- <svelte:head>
43
- <Analytics title={page.data.title ?? document.title} />
44
- </svelte:head>
45
-
46
- <Consent />
47
- ```
48
-
49
- Declare your domain's events by augmenting the open `Events` interface — keeping event names and parameter types owned by the domain that fires them (dependency direction domain → analytics). `@/analytics` itself owns only `page_view` and `purchase`:
50
-
51
- ```ts
52
- // src/@/your-domain/svc/events.ts
53
- declare module '@/analytics' {
54
- interface Events {
55
- sign_up: { method: 'passkey' | 'password' | 'google' | 'apple' }
56
- }
57
- }
58
- ```
59
-
60
- Then fire it, type-checked, from anywhere:
61
-
62
- ```ts
63
- import { track } from '@/analytics'
64
-
65
- track('sign_up', { method: 'passkey' })
66
- ```
67
-
68
- ## Props
69
-
70
- ### `<Analytics>`
71
-
72
- | Prop | Type | Default | Notes |
73
- | ------- | -------- | ------- | ---------------------------------------------------------------------------- |
74
- | `title` | `string` | — | Resolved page title sent with each `page_view` (avoids the SPA title race). |
75
-
76
- ### `<Consent>` / `<Manage>`
77
-
78
- No props — both read the consent stores directly. `<Consent>` shows the banner while consent is pending; `<Manage>` renders only inside a prior-consent zone once a choice has been made.