@axium/server 0.24.0 → 0.25.0

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 (353) hide show
  1. package/axiumd.service +1 -1
  2. package/build/client/_app/immutable/assets/account.dAAx7bby.css +1 -0
  3. package/build/client/_app/immutable/assets/account.dAAx7bby.css.br +0 -0
  4. package/build/client/_app/immutable/assets/account.dAAx7bby.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/list.DVGH0BeP.css +1 -0
  6. package/build/client/_app/immutable/assets/list.DVGH0BeP.css.br +0 -0
  7. package/build/client/_app/immutable/assets/list.DVGH0BeP.css.gz +0 -0
  8. package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css +1 -0
  9. package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css.br +2 -0
  10. package/build/client/_app/immutable/assets/styles.D8SZ-PeY.css.gz +0 -0
  11. package/build/client/_app/immutable/chunks/1taVrT-y.js +1 -0
  12. package/build/client/_app/immutable/chunks/1taVrT-y.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/1taVrT-y.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/BSFUgC2l.js +23 -0
  15. package/build/client/_app/immutable/chunks/BSFUgC2l.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/BSFUgC2l.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/Bbzjahjl.js +2 -0
  18. package/build/client/_app/immutable/chunks/Bbzjahjl.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/Bbzjahjl.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/BxjargW5.js +1 -0
  21. package/build/client/_app/immutable/chunks/BxjargW5.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/BxjargW5.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/C2ewTgu8.js +1 -0
  24. package/build/client/_app/immutable/chunks/C2ewTgu8.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/C2ewTgu8.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/CFWAHLsq.js +1 -0
  27. package/build/client/_app/immutable/chunks/CFWAHLsq.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/CFWAHLsq.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/CPL43v-I.js +1 -0
  30. package/build/client/_app/immutable/chunks/CPL43v-I.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/CPL43v-I.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/CTKC36WM.js +1 -0
  33. package/build/client/_app/immutable/chunks/CTKC36WM.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/CTKC36WM.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/CekH6JMP.js +1 -0
  36. package/build/client/_app/immutable/chunks/CekH6JMP.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/CekH6JMP.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/Ch16TNvP.js +1 -0
  39. package/build/client/_app/immutable/chunks/Ch16TNvP.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/Ch16TNvP.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/CqfYW08-.js +1 -0
  42. package/build/client/_app/immutable/chunks/CqfYW08-.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/CqfYW08-.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/D1v6O410.js +1 -0
  45. package/build/client/_app/immutable/chunks/D1v6O410.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/D1v6O410.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/DY4fWHx_.js +1 -0
  48. package/build/client/_app/immutable/chunks/DY4fWHx_.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/DY4fWHx_.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/DdnE6dyJ.js +2 -0
  51. package/build/client/_app/immutable/chunks/DdnE6dyJ.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/DdnE6dyJ.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/DeieCYM0.js +22 -0
  54. package/build/client/_app/immutable/chunks/DeieCYM0.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/DeieCYM0.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/DfUzlYF5.js +1 -0
  57. package/build/client/_app/immutable/chunks/DfUzlYF5.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/DfUzlYF5.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/Dnk28BpG.js +1 -0
  60. package/build/client/_app/immutable/chunks/Dnk28BpG.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/Dnk28BpG.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/KNAS5R2A.js +3 -0
  63. package/build/client/_app/immutable/chunks/KNAS5R2A.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/KNAS5R2A.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/eyJgPND9.js +1 -0
  66. package/build/client/_app/immutable/chunks/eyJgPND9.js.br +1 -0
  67. package/build/client/_app/immutable/chunks/eyJgPND9.js.gz +0 -0
  68. package/build/client/_app/immutable/entry/app.CPF6A_DV.js +2 -0
  69. package/build/client/_app/immutable/entry/app.CPF6A_DV.js.br +0 -0
  70. package/build/client/_app/immutable/entry/app.CPF6A_DV.js.gz +0 -0
  71. package/build/client/_app/immutable/entry/start.Dos_Ttds.js +1 -0
  72. package/build/client/_app/immutable/entry/start.Dos_Ttds.js.br +2 -0
  73. package/build/client/_app/immutable/entry/start.Dos_Ttds.js.gz +0 -0
  74. package/build/client/_app/immutable/nodes/{0.DlE8ZTIF.js → 0.C5HgTRfT.js} +1 -1
  75. package/build/client/_app/immutable/nodes/0.C5HgTRfT.js.br +0 -0
  76. package/build/client/_app/immutable/nodes/0.C5HgTRfT.js.gz +0 -0
  77. package/build/client/_app/immutable/nodes/1.CGcgSoA9.js +1 -0
  78. package/build/client/_app/immutable/nodes/1.CGcgSoA9.js.br +0 -0
  79. package/build/client/_app/immutable/nodes/1.CGcgSoA9.js.gz +0 -0
  80. package/build/client/_app/immutable/nodes/10.ukScuXwz.js +1 -0
  81. package/build/client/_app/immutable/nodes/10.ukScuXwz.js.br +5 -0
  82. package/build/client/_app/immutable/nodes/10.ukScuXwz.js.gz +0 -0
  83. package/build/client/_app/immutable/nodes/11.D3RDNx7M.js +1 -0
  84. package/build/client/_app/immutable/nodes/11.D3RDNx7M.js.br +0 -0
  85. package/build/client/_app/immutable/nodes/11.D3RDNx7M.js.gz +0 -0
  86. package/build/client/_app/immutable/nodes/12._vvpCcSG.js +1 -0
  87. package/build/client/_app/immutable/nodes/12._vvpCcSG.js.br +0 -0
  88. package/build/client/_app/immutable/nodes/12._vvpCcSG.js.gz +0 -0
  89. package/build/client/_app/immutable/nodes/13.BWPzZMQ5.js +1 -0
  90. package/build/client/_app/immutable/nodes/13.BWPzZMQ5.js.br +0 -0
  91. package/build/client/_app/immutable/nodes/13.BWPzZMQ5.js.gz +0 -0
  92. package/build/client/_app/immutable/nodes/14.Cr843Lep.js +1 -0
  93. package/build/client/_app/immutable/nodes/14.Cr843Lep.js.br +0 -0
  94. package/build/client/_app/immutable/nodes/14.Cr843Lep.js.gz +0 -0
  95. package/build/client/_app/immutable/nodes/2.DUpwDjw8.js +1 -0
  96. package/build/client/_app/immutable/nodes/2.DUpwDjw8.js.br +0 -0
  97. package/build/client/_app/immutable/nodes/2.DUpwDjw8.js.gz +0 -0
  98. package/build/client/_app/immutable/nodes/{2.CvEpuMc7.js → 3.DPH7xl7M.js} +1 -1
  99. package/build/client/_app/immutable/nodes/3.DPH7xl7M.js.br +0 -0
  100. package/build/client/_app/immutable/nodes/3.DPH7xl7M.js.gz +0 -0
  101. package/build/client/_app/immutable/nodes/4.Bk0knTIK.js +1 -0
  102. package/build/client/_app/immutable/nodes/4.Bk0knTIK.js.br +0 -0
  103. package/build/client/_app/immutable/nodes/4.Bk0knTIK.js.gz +0 -0
  104. package/build/client/_app/immutable/nodes/5.DwnZ1Bh8.js +1 -0
  105. package/build/client/_app/immutable/nodes/5.DwnZ1Bh8.js.br +0 -0
  106. package/build/client/_app/immutable/nodes/5.DwnZ1Bh8.js.gz +0 -0
  107. package/build/client/_app/immutable/nodes/6.5U-KxFgt.js +2 -0
  108. package/build/client/_app/immutable/nodes/6.5U-KxFgt.js.br +0 -0
  109. package/build/client/_app/immutable/nodes/6.5U-KxFgt.js.gz +0 -0
  110. package/build/client/_app/immutable/nodes/7.DFc4sJix.js +1 -0
  111. package/build/client/_app/immutable/nodes/7.DFc4sJix.js.br +0 -0
  112. package/build/client/_app/immutable/nodes/7.DFc4sJix.js.gz +0 -0
  113. package/build/client/_app/immutable/nodes/8.BG4bv5P5.js +1 -0
  114. package/build/client/_app/immutable/nodes/8.BG4bv5P5.js.br +0 -0
  115. package/build/client/_app/immutable/nodes/8.BG4bv5P5.js.gz +0 -0
  116. package/build/client/_app/immutable/nodes/9.BKljyhOi.js +1 -0
  117. package/build/client/_app/immutable/nodes/9.BKljyhOi.js.br +0 -0
  118. package/build/client/_app/immutable/nodes/9.BKljyhOi.js.gz +0 -0
  119. package/build/client/_app/version.json +1 -1
  120. package/build/client/_app/version.json.br +0 -0
  121. package/build/client/_app/version.json.gz +0 -0
  122. package/build/client/styles.css +7 -0
  123. package/build/client/styles.css.br +0 -0
  124. package/build/client/styles.css.gz +0 -0
  125. package/build/handler.js +20 -3
  126. package/build/server/chunks/0-CZBaNtSI.js +9 -0
  127. package/build/server/chunks/{0-DgHTujtC.js.map → 0-CZBaNtSI.js.map} +1 -1
  128. package/build/server/chunks/1-D_3BtEbe.js +9 -0
  129. package/build/server/chunks/{1-k30i-hic.js.map → 1-D_3BtEbe.js.map} +1 -1
  130. package/build/server/chunks/10-CLkNMKHU.js +13 -0
  131. package/build/server/chunks/10-CLkNMKHU.js.map +1 -0
  132. package/build/server/chunks/11-5xPYR_1w.js +13 -0
  133. package/build/server/chunks/11-5xPYR_1w.js.map +1 -0
  134. package/build/server/chunks/12-N7UaQj7u.js +9 -0
  135. package/build/server/chunks/12-N7UaQj7u.js.map +1 -0
  136. package/build/server/chunks/13-QYVLpXli.js +9 -0
  137. package/build/server/chunks/13-QYVLpXli.js.map +1 -0
  138. package/build/server/chunks/14-CPY578rT.js +9 -0
  139. package/build/server/chunks/14-CPY578rT.js.map +1 -0
  140. package/build/server/chunks/2-_1jFrcvz.js +13 -0
  141. package/build/server/chunks/2-_1jFrcvz.js.map +1 -0
  142. package/build/server/chunks/3-B1CwnVF_.js +9 -0
  143. package/build/server/chunks/{2-CXlrhpR6.js.map → 3-B1CwnVF_.js.map} +1 -1
  144. package/build/server/chunks/4-CcxCcH4F.js +13 -0
  145. package/build/server/chunks/4-CcxCcH4F.js.map +1 -0
  146. package/build/server/chunks/5-CrlH6VoB.js +13 -0
  147. package/build/server/chunks/5-CrlH6VoB.js.map +1 -0
  148. package/build/server/chunks/6-FkP678Uz.js +13 -0
  149. package/build/server/chunks/6-FkP678Uz.js.map +1 -0
  150. package/build/server/chunks/7-B1iCe7VA.js +13 -0
  151. package/build/server/chunks/7-B1iCe7VA.js.map +1 -0
  152. package/build/server/chunks/8-p6n9G-P_.js +13 -0
  153. package/build/server/chunks/8-p6n9G-P_.js.map +1 -0
  154. package/build/server/chunks/9-fc3lKB7X.js +13 -0
  155. package/build/server/chunks/9-fc3lKB7X.js.map +1 -0
  156. package/build/server/chunks/Icon-CG7XnWX5.js +30 -0
  157. package/build/server/chunks/Icon-CG7XnWX5.js.map +1 -0
  158. package/build/server/chunks/Logout-BwzK1P29.js +45 -0
  159. package/build/server/chunks/Logout-BwzK1P29.js.map +1 -0
  160. package/build/server/chunks/_layout.svelte-9KMUotip.js +31 -0
  161. package/build/server/chunks/_layout.svelte-9KMUotip.js.map +1 -0
  162. package/build/server/chunks/_page.svelte-BD3HmLo_.js +28 -0
  163. package/build/server/chunks/_page.svelte-BD3HmLo_.js.map +1 -0
  164. package/build/server/chunks/_page.svelte-BFzPdJ6z.js +105 -0
  165. package/build/server/chunks/_page.svelte-BFzPdJ6z.js.map +1 -0
  166. package/build/server/chunks/_page.svelte-BIxxuzff.js +64 -0
  167. package/build/server/chunks/_page.svelte-BIxxuzff.js.map +1 -0
  168. package/build/server/chunks/_page.svelte-Bou2_u6i.js +13 -0
  169. package/build/server/chunks/_page.svelte-Bou2_u6i.js.map +1 -0
  170. package/build/server/chunks/_page.svelte-C25oQ2NT.js +80 -0
  171. package/build/server/chunks/_page.svelte-C25oQ2NT.js.map +1 -0
  172. package/build/server/chunks/_page.svelte-CAzWL4aq.js +66 -0
  173. package/build/server/chunks/_page.svelte-CAzWL4aq.js.map +1 -0
  174. package/build/server/chunks/_page.svelte-Ci5V-DhL.js +72 -0
  175. package/build/server/chunks/_page.svelte-Ci5V-DhL.js.map +1 -0
  176. package/build/server/chunks/_page.svelte-CnfRSJsl.js +37 -0
  177. package/build/server/chunks/_page.svelte-CnfRSJsl.js.map +1 -0
  178. package/build/server/chunks/_page.svelte-DgyZKeaF.js +231 -0
  179. package/build/server/chunks/_page.svelte-DgyZKeaF.js.map +1 -0
  180. package/build/server/chunks/_page.svelte-VDBvShZ8.js +6 -0
  181. package/build/server/chunks/_page.svelte-VDBvShZ8.js.map +1 -0
  182. package/build/server/chunks/_page.svelte-cAsZlwLs.js +24 -0
  183. package/build/server/chunks/_page.svelte-cAsZlwLs.js.map +1 -0
  184. package/build/server/chunks/_page.svelte-rrN2zFNa.js +66 -0
  185. package/build/server/chunks/_page.svelte-rrN2zFNa.js.map +1 -0
  186. package/build/server/chunks/account-BZSP6KBP.js +445 -0
  187. package/build/server/chunks/account-BZSP6KBP.js.map +1 -0
  188. package/build/server/chunks/color-K_MR7m8s.js +14 -0
  189. package/build/server/chunks/color-K_MR7m8s.js.map +1 -0
  190. package/build/server/chunks/context-R2425nfV.js +64 -0
  191. package/build/server/chunks/context-R2425nfV.js.map +1 -0
  192. package/build/server/chunks/{error.svelte-DNQXZmIO.js → error.svelte-DTrQqomO.js} +8 -7
  193. package/build/server/chunks/error.svelte-DTrQqomO.js.map +1 -0
  194. package/build/server/chunks/index-DJrm8BZm.js +844 -0
  195. package/build/server/chunks/index-DJrm8BZm.js.map +1 -0
  196. package/build/server/chunks/{index-CvHf_GW2.js → index-eKiDBuyI.js} +826 -438
  197. package/build/server/chunks/index-eKiDBuyI.js.map +1 -0
  198. package/build/server/chunks/layout.svelte-UxsTmhKc.js +8 -0
  199. package/build/server/chunks/layout.svelte-UxsTmhKc.js.map +1 -0
  200. package/build/server/chunks/{string-DLbvtT1R.js → numbers-DL8C9q4W.js} +1 -71
  201. package/build/server/chunks/numbers-DL8C9q4W.js.map +1 -0
  202. package/build/server/chunks/{FormDialog-CB-2YGWi.js → user2-Coq3Frtw.js} +102 -203
  203. package/build/server/chunks/user2-Coq3Frtw.js.map +1 -0
  204. package/build/server/chunks/{utils-h74ns7K6.js → utils-DlBYhQz7.js} +2 -1
  205. package/build/server/chunks/utils-DlBYhQz7.js.map +1 -0
  206. package/build/server/index.js +1787 -994
  207. package/build/server/index.js.map +1 -1
  208. package/build/server/manifest.js +70 -13
  209. package/build/server/manifest.js.map +1 -1
  210. package/dist/acl.d.ts +1 -2
  211. package/dist/api/acl.js +4 -4
  212. package/dist/api/admin.d.ts +1 -0
  213. package/dist/api/admin.js +135 -0
  214. package/dist/api/index.d.ts +2 -0
  215. package/dist/api/index.js +2 -0
  216. package/dist/api/metadata.js +3 -3
  217. package/dist/api/passkeys.js +10 -10
  218. package/dist/api/register.js +4 -4
  219. package/dist/api/session.js +5 -5
  220. package/dist/api/users.js +48 -48
  221. package/dist/audit.d.ts +7 -39
  222. package/dist/audit.js +10 -13
  223. package/dist/auth.d.ts +4 -11
  224. package/dist/auth.js +4 -4
  225. package/dist/cli.js +40 -54
  226. package/dist/config.d.ts +24 -14
  227. package/dist/config.js +42 -25
  228. package/dist/database.d.ts +3 -4
  229. package/dist/database.js +12 -12
  230. package/dist/internal_requests.d.ts +3 -0
  231. package/dist/internal_requests.js +119 -0
  232. package/dist/io.d.ts +1 -1
  233. package/dist/io.js +2 -5
  234. package/dist/linking.d.ts +0 -1
  235. package/dist/linking.js +2 -5
  236. package/dist/plugins.d.ts +4 -39
  237. package/dist/plugins.js +35 -51
  238. package/dist/requests.d.ts +5 -5
  239. package/dist/requests.js +14 -14
  240. package/dist/routes.d.ts +6 -10
  241. package/dist/routes.js +4 -5
  242. package/dist/serve.d.ts +3 -2
  243. package/dist/serve.js +165 -13
  244. package/dist/state.js +2 -1
  245. package/package.json +6 -5
  246. package/routes/account/+page.svelte +5 -109
  247. package/routes/admin/+layout.svelte +56 -0
  248. package/routes/admin/+layout.ts +29 -0
  249. package/routes/admin/+page.svelte +39 -0
  250. package/routes/admin/+page.ts +7 -0
  251. package/routes/admin/audit/+page.svelte +137 -0
  252. package/routes/admin/audit/+page.ts +20 -0
  253. package/routes/admin/audit/[id]/+page.svelte +43 -0
  254. package/routes/admin/audit/[id]/+page.ts +9 -0
  255. package/routes/admin/audit/styles.css +31 -0
  256. package/routes/admin/config/+page.svelte +28 -0
  257. package/routes/admin/config/+page.ts +9 -0
  258. package/routes/admin/plugins/+page.svelte +23 -0
  259. package/routes/admin/plugins/+page.ts +7 -0
  260. package/routes/admin/users/+page.svelte +60 -0
  261. package/routes/admin/users/+page.ts +9 -0
  262. package/routes/admin/users/[id]/+page.svelte +108 -0
  263. package/routes/admin/users/[id]/+page.ts +17 -0
  264. package/routes/tsconfig.json +1 -1
  265. package/svelte.config.js +4 -10
  266. package/{web/template.html → template.html} +1 -1
  267. package/{web/tsconfig.json → web.tsconfig.json} +2 -2
  268. package/build/client/_app/immutable/chunks/B1E1cVbi.js +0 -1
  269. package/build/client/_app/immutable/chunks/B1E1cVbi.js.br +0 -0
  270. package/build/client/_app/immutable/chunks/B1E1cVbi.js.gz +0 -0
  271. package/build/client/_app/immutable/chunks/D3hk2v8y.js +0 -1
  272. package/build/client/_app/immutable/chunks/D3hk2v8y.js.br +0 -2
  273. package/build/client/_app/immutable/chunks/D3hk2v8y.js.gz +0 -0
  274. package/build/client/_app/immutable/chunks/D4Bce_hb.js +0 -1
  275. package/build/client/_app/immutable/chunks/D4Bce_hb.js.br +0 -0
  276. package/build/client/_app/immutable/chunks/D4Bce_hb.js.gz +0 -0
  277. package/build/client/_app/immutable/chunks/D9TfJrfD.js +0 -1
  278. package/build/client/_app/immutable/chunks/D9TfJrfD.js.br +0 -0
  279. package/build/client/_app/immutable/chunks/D9TfJrfD.js.gz +0 -0
  280. package/build/client/_app/immutable/chunks/DJeR1n-B.js +0 -51
  281. package/build/client/_app/immutable/chunks/DJeR1n-B.js.br +0 -0
  282. package/build/client/_app/immutable/chunks/DJeR1n-B.js.gz +0 -0
  283. package/build/client/_app/immutable/chunks/Dy1O3iBu.js +0 -2
  284. package/build/client/_app/immutable/chunks/Dy1O3iBu.js.br +0 -0
  285. package/build/client/_app/immutable/chunks/Dy1O3iBu.js.gz +0 -0
  286. package/build/client/_app/immutable/chunks/NhZR8nmR.js +0 -3
  287. package/build/client/_app/immutable/chunks/NhZR8nmR.js.br +0 -0
  288. package/build/client/_app/immutable/chunks/NhZR8nmR.js.gz +0 -0
  289. package/build/client/_app/immutable/chunks/pba7IodQ.js +0 -1
  290. package/build/client/_app/immutable/chunks/pba7IodQ.js.br +0 -0
  291. package/build/client/_app/immutable/chunks/pba7IodQ.js.gz +0 -0
  292. package/build/client/_app/immutable/entry/app.DJWgFLyv.js +0 -2
  293. package/build/client/_app/immutable/entry/app.DJWgFLyv.js.br +0 -0
  294. package/build/client/_app/immutable/entry/app.DJWgFLyv.js.gz +0 -0
  295. package/build/client/_app/immutable/entry/start.CM7y0WAo.js +0 -1
  296. package/build/client/_app/immutable/entry/start.CM7y0WAo.js.br +0 -2
  297. package/build/client/_app/immutable/entry/start.CM7y0WAo.js.gz +0 -0
  298. package/build/client/_app/immutable/nodes/0.DlE8ZTIF.js.br +0 -0
  299. package/build/client/_app/immutable/nodes/0.DlE8ZTIF.js.gz +0 -0
  300. package/build/client/_app/immutable/nodes/1.BER4lkmI.js +0 -1
  301. package/build/client/_app/immutable/nodes/1.BER4lkmI.js.br +0 -0
  302. package/build/client/_app/immutable/nodes/1.BER4lkmI.js.gz +0 -0
  303. package/build/client/_app/immutable/nodes/2.CvEpuMc7.js.br +0 -0
  304. package/build/client/_app/immutable/nodes/2.CvEpuMc7.js.gz +0 -0
  305. package/build/client/_app/immutable/nodes/3.CVudd8x2.js +0 -7
  306. package/build/client/_app/immutable/nodes/3.CVudd8x2.js.br +0 -0
  307. package/build/client/_app/immutable/nodes/3.CVudd8x2.js.gz +0 -0
  308. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js +0 -1
  309. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js.br +0 -0
  310. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js.gz +0 -0
  311. package/build/client/_app/immutable/nodes/5.CGoBaVII.js +0 -1
  312. package/build/client/_app/immutable/nodes/5.CGoBaVII.js.br +0 -0
  313. package/build/client/_app/immutable/nodes/5.CGoBaVII.js.gz +0 -0
  314. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js +0 -1
  315. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js.br +0 -0
  316. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js.gz +0 -0
  317. package/build/server/chunks/0-DgHTujtC.js +0 -9
  318. package/build/server/chunks/1-k30i-hic.js +0 -9
  319. package/build/server/chunks/2-CXlrhpR6.js +0 -9
  320. package/build/server/chunks/3-CGT4Ugys.js +0 -13
  321. package/build/server/chunks/3-CGT4Ugys.js.map +0 -1
  322. package/build/server/chunks/4-BscEiwUk.js +0 -9
  323. package/build/server/chunks/4-BscEiwUk.js.map +0 -1
  324. package/build/server/chunks/5-H0ePIJBE.js +0 -9
  325. package/build/server/chunks/5-H0ePIJBE.js.map +0 -1
  326. package/build/server/chunks/6-BrPpcagX.js +0 -9
  327. package/build/server/chunks/6-BrPpcagX.js.map +0 -1
  328. package/build/server/chunks/FormDialog-CB-2YGWi.js.map +0 -1
  329. package/build/server/chunks/Logout-LKOt-AST.js +0 -45
  330. package/build/server/chunks/Logout-LKOt-AST.js.map +0 -1
  331. package/build/server/chunks/_page.svelte-B1LK5J87.js +0 -11
  332. package/build/server/chunks/_page.svelte-B1LK5J87.js.map +0 -1
  333. package/build/server/chunks/_page.svelte-CMtkwvbP.js +0 -68
  334. package/build/server/chunks/_page.svelte-CMtkwvbP.js.map +0 -1
  335. package/build/server/chunks/_page.svelte-CbI2KxeA.js +0 -62
  336. package/build/server/chunks/_page.svelte-CbI2KxeA.js.map +0 -1
  337. package/build/server/chunks/_page.svelte-D1_WJoyP.js +0 -6
  338. package/build/server/chunks/_page.svelte-D1_WJoyP.js.map +0 -1
  339. package/build/server/chunks/_page.svelte-d01Hl2Ia.js +0 -639
  340. package/build/server/chunks/_page.svelte-d01Hl2Ia.js.map +0 -1
  341. package/build/server/chunks/error.svelte-DNQXZmIO.js.map +0 -1
  342. package/build/server/chunks/hooks.server-BQqilaHv.js +0 -17301
  343. package/build/server/chunks/hooks.server-BQqilaHv.js.map +0 -1
  344. package/build/server/chunks/index-CvHf_GW2.js.map +0 -1
  345. package/build/server/chunks/index-RTKpMYZ1.js +0 -397
  346. package/build/server/chunks/index-RTKpMYZ1.js.map +0 -1
  347. package/build/server/chunks/layout.svelte-BSvrn-4a.js +0 -8
  348. package/build/server/chunks/layout.svelte-BSvrn-4a.js.map +0 -1
  349. package/build/server/chunks/string-DLbvtT1R.js.map +0 -1
  350. package/build/server/chunks/utils-h74ns7K6.js.map +0 -1
  351. package/dist/sveltekit.d.ts +0 -8
  352. package/dist/sveltekit.js +0 -60
  353. package/web/hooks.server.ts +0 -4
@@ -0,0 +1,445 @@
1
+ import './numbers-DL8C9q4W.js';
2
+ import { p as preferenceSchemas, a as preferenceLabels, z as zIs, b as preferenceDefaults } from './index-eKiDBuyI.js';
3
+ import { I as Icon } from './Icon-CG7XnWX5.js';
4
+ import { N as bind_props, O as props_id, w as ensure_array_like, K as attr_style, J as css_props, x as attr, G as stringify, P as attributes } from './index-DJrm8BZm.js';
5
+ import { e as escape_html } from './context-R2425nfV.js';
6
+ import { F as FormDialog, l as logout, c as logoutAll } from './user2-Coq3Frtw.js';
7
+
8
+ // SPDX-License-Identifier: LGPL-3.0-or-later
9
+ // Copyright (c) 2025 James Prevett
10
+ /* eslint-disable @typescript-eslint/no-explicit-any */
11
+ function pick(object, ...keys) {
12
+ const picked = {};
13
+ for (const key of keys.flat()) {
14
+ picked[key] = object[key];
15
+ }
16
+ return picked;
17
+ }
18
+ function getByString(object, path, separator = /[.[\]'"]/) {
19
+ return path
20
+ .split(separator)
21
+ .filter(p => p && p != '__proto__')
22
+ .reduce((o, p) => o?.[p], object);
23
+ }
24
+
25
+ const $$css$2 = {
26
+ hash: "svelte-1jyuowb",
27
+ code: "button.svelte-1jyuowb {position:relative;display:inline-block;width:1em;height:1em;border:none;background:transparent;}span.svelte-1jyuowb {position:absolute;inset:0;}"
28
+ };
29
+ function ClipboardCopy($$renderer, $$props) {
30
+ $$renderer.global.css.add($$css$2);
31
+ $$renderer.component(($$renderer2) => {
32
+ const { value, type = "text/plain" } = $$props;
33
+ $$renderer2.push(`<button class="svelte-1jyuowb">`);
34
+ {
35
+ $$renderer2.push("<!--[!-->");
36
+ $$renderer2.push(`<span class="svelte-1jyuowb">`);
37
+ Icon($$renderer2, { i: "copy" });
38
+ $$renderer2.push(`<!----></span>`);
39
+ }
40
+ $$renderer2.push(`<!--]--></button>`);
41
+ });
42
+ }
43
+ const $$css$1 = {
44
+ hash: "svelte-5ofwln",
45
+ code: "input[type='checkbox'].svelte-5ofwln {display:none;}label.checkbox.svelte-5ofwln {cursor:pointer;width:1.5em;height:1.5em;border:1px solid var(--border-accent);border-radius:0.5em;display:inline-flex;justify-content:center;align-items:center;}"
46
+ };
47
+ function Preference_1($$renderer, $$props) {
48
+ $$renderer.global.css.add($$css$1);
49
+ $$renderer.component(($$renderer2) => {
50
+ const id = props_id($$renderer2);
51
+ let { preferences = void 0, userId, path, schema, optional = false } = $$props;
52
+ let checked = schema.def.type == "boolean" && getByString(preferences, path);
53
+ const initialValue = getByString(preferences, path) ?? getByString(preferenceDefaults, path);
54
+ function dateAttr(date, format) {
55
+ if (!date) return null;
56
+ const pad = (n) => String(n).padStart(2, "0");
57
+ const yyyy = date.getFullYear();
58
+ const mm = pad(date.getMonth() + 1);
59
+ const dd = pad(date.getDate());
60
+ const dateStr = `${yyyy}-${mm}-${dd}`;
61
+ const HH = pad(date.getHours());
62
+ const MM = pad(date.getMinutes());
63
+ const timeStr = `${HH}:${MM}`;
64
+ switch (format) {
65
+ case "date":
66
+ return dateStr;
67
+ case "time":
68
+ return timeStr;
69
+ case "time+sec":
70
+ return `${timeStr}:${pad(date.getSeconds())}`;
71
+ case "datetime":
72
+ default:
73
+ return `${dateStr}T${timeStr}`;
74
+ }
75
+ }
76
+ function _in($$renderer3, rest) {
77
+ $$renderer3.push(`<input${attributes({ id, ...rest, value: initialValue, required: !optional }, "svelte-5ofwln", void 0, void 0, 4)}/>`);
78
+ }
79
+ let $$settled = true;
80
+ let $$inner_renderer;
81
+ function $$render_inner($$renderer3) {
82
+ if (zIs(schema, "string")) {
83
+ $$renderer3.push("<!--[-->");
84
+ _in($$renderer3, {
85
+ type: schema.format == "email" ? "email" : "text",
86
+ ...pick(schema, "minLength", "maxLength")
87
+ });
88
+ } else {
89
+ $$renderer3.push("<!--[!-->");
90
+ if (zIs(schema, "number")) {
91
+ $$renderer3.push("<!--[-->");
92
+ _in($$renderer3, {
93
+ type: "number",
94
+ min: schema.minValue,
95
+ max: schema.maxValue,
96
+ step: schema.format?.includes("int") ? 1 : 0.1
97
+ });
98
+ } else {
99
+ $$renderer3.push("<!--[!-->");
100
+ if (zIs(schema, "bigint")) {
101
+ $$renderer3.push("<!--[-->");
102
+ _in($$renderer3, {
103
+ type: "number",
104
+ min: Number(schema.minValue),
105
+ max: Number(schema.maxValue),
106
+ step: 1
107
+ });
108
+ } else {
109
+ $$renderer3.push("<!--[!-->");
110
+ if (zIs(schema, "boolean")) {
111
+ $$renderer3.push("<!--[-->");
112
+ $$renderer3.push(`<input${attr("checked", checked, true)}${attr("id", id)} type="checkbox"${attr("required", !optional, true)} class="svelte-5ofwln"/> <label${attr("for", id)} class="checkbox svelte-5ofwln">`);
113
+ if (checked) {
114
+ $$renderer3.push("<!--[-->");
115
+ css_props($$renderer3, true, { "--size": "1.3em" }, () => {
116
+ Icon($$renderer3, { i: "check" });
117
+ });
118
+ } else {
119
+ $$renderer3.push("<!--[!-->");
120
+ }
121
+ $$renderer3.push(`<!--]--></label>`);
122
+ } else {
123
+ $$renderer3.push("<!--[!-->");
124
+ if (zIs(schema, "date")) {
125
+ $$renderer3.push("<!--[-->");
126
+ _in($$renderer3, {
127
+ type: "date",
128
+ min: dateAttr(schema.minDate, "date"),
129
+ max: dateAttr(schema.maxDate, "date")
130
+ });
131
+ } else {
132
+ $$renderer3.push("<!--[!-->");
133
+ if (zIs(schema, "file")) {
134
+ $$renderer3.push("<!--[-->");
135
+ } else {
136
+ $$renderer3.push("<!--[!-->");
137
+ if (zIs(schema, "literal")) {
138
+ $$renderer3.push("<!--[-->");
139
+ $$renderer3.push(`<select${attr("id", id)}${attr("required", !optional, true)}><!--[-->`);
140
+ const each_array = ensure_array_like(schema.values);
141
+ for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
142
+ let value = each_array[$$index];
143
+ $$renderer3.option({ value, selected: initialValue === value }, ($$renderer4) => {
144
+ $$renderer4.push(`${escape_html(value)}`);
145
+ });
146
+ }
147
+ $$renderer3.push(`<!--]--></select>`);
148
+ } else {
149
+ $$renderer3.push("<!--[!-->");
150
+ if (zIs(schema, "template_literal")) {
151
+ $$renderer3.push("<!--[-->");
152
+ } else {
153
+ $$renderer3.push("<!--[!-->");
154
+ if (zIs(schema, "nullable") || zIs(schema, "optional")) {
155
+ $$renderer3.push("<!--[-->");
156
+ Preference_1($$renderer3, {
157
+ userId,
158
+ path,
159
+ schema: schema.def.innerType,
160
+ optional: true,
161
+ get preferences() {
162
+ return preferences;
163
+ },
164
+ set preferences($$value) {
165
+ preferences = $$value;
166
+ $$settled = false;
167
+ }
168
+ });
169
+ } else {
170
+ $$renderer3.push("<!--[!-->");
171
+ if (zIs(schema, "array")) {
172
+ $$renderer3.push("<!--[-->");
173
+ $$renderer3.push(`<div class="pref-sub"><!--[-->`);
174
+ const each_array_1 = ensure_array_like(initialValue);
175
+ for (let i = 0, $$length = each_array_1.length; i < $$length; i++) {
176
+ $$renderer3.push(`<div class="pref-record-entry">`);
177
+ Preference_1($$renderer3, {
178
+ userId,
179
+ path: `${stringify(path)}.${stringify(i)}`,
180
+ schema: schema.element,
181
+ get preferences() {
182
+ return preferences;
183
+ },
184
+ set preferences($$value) {
185
+ preferences = $$value;
186
+ $$settled = false;
187
+ }
188
+ });
189
+ $$renderer3.push(`<!----></div>`);
190
+ }
191
+ $$renderer3.push(`<!--]--></div>`);
192
+ } else {
193
+ $$renderer3.push("<!--[!-->");
194
+ if (zIs(schema, "record")) {
195
+ $$renderer3.push("<!--[-->");
196
+ $$renderer3.push(`<div class="pref-sub"><!--[-->`);
197
+ const each_array_2 = ensure_array_like(Object.keys(initialValue));
198
+ for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
199
+ let key = each_array_2[$$index_2];
200
+ $$renderer3.push(`<div class="pref-record-entry"><label${attr("for", id)}>${escape_html(key)}</label> `);
201
+ Preference_1($$renderer3, {
202
+ userId,
203
+ path: `${stringify(path)}.${stringify(key)}`,
204
+ schema: schema.valueType,
205
+ get preferences() {
206
+ return preferences;
207
+ },
208
+ set preferences($$value) {
209
+ preferences = $$value;
210
+ $$settled = false;
211
+ }
212
+ });
213
+ $$renderer3.push(`<!----></div>`);
214
+ }
215
+ $$renderer3.push(`<!--]--></div>`);
216
+ } else {
217
+ $$renderer3.push("<!--[!-->");
218
+ if (zIs(schema, "object")) {
219
+ $$renderer3.push("<!--[-->");
220
+ $$renderer3.push(`<!--[-->`);
221
+ const each_array_3 = ensure_array_like(Object.entries(schema.shape));
222
+ for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
223
+ let [key, value] = each_array_3[$$index_3];
224
+ $$renderer3.push(`<div class="pref-sub"><label${attr("for", id)}>${escape_html(key)}</label> `);
225
+ Preference_1($$renderer3, {
226
+ userId,
227
+ path: `${stringify(path)}.${stringify(key)}`,
228
+ schema: value,
229
+ get preferences() {
230
+ return preferences;
231
+ },
232
+ set preferences($$value) {
233
+ preferences = $$value;
234
+ $$settled = false;
235
+ }
236
+ });
237
+ $$renderer3.push(`<!----></div>`);
238
+ }
239
+ $$renderer3.push(`<!--]-->`);
240
+ } else {
241
+ $$renderer3.push("<!--[!-->");
242
+ if (zIs(schema, "tuple")) {
243
+ $$renderer3.push("<!--[-->");
244
+ $$renderer3.push(`<div class="pref-sub"${attr("data-rest", schema.def.rest)}><!--[-->`);
245
+ const each_array_4 = ensure_array_like(schema.def.items);
246
+ for (let i = 0, $$length = each_array_4.length; i < $$length; i++) {
247
+ let item = each_array_4[i];
248
+ Preference_1($$renderer3, {
249
+ userId,
250
+ path: `${stringify(path)}.${stringify(i)}`,
251
+ schema: item,
252
+ get preferences() {
253
+ return preferences;
254
+ },
255
+ set preferences($$value) {
256
+ preferences = $$value;
257
+ $$settled = false;
258
+ }
259
+ });
260
+ }
261
+ $$renderer3.push(`<!--]--></div>`);
262
+ } else {
263
+ $$renderer3.push("<!--[!-->");
264
+ if (zIs(schema, "enum")) {
265
+ $$renderer3.push("<!--[-->");
266
+ $$renderer3.push(`<select${attr("id", id)}${attr("required", !optional, true)}><!--[-->`);
267
+ const each_array_5 = ensure_array_like(Object.entries(schema.enum));
268
+ for (let $$index_5 = 0, $$length = each_array_5.length; $$index_5 < $$length; $$index_5++) {
269
+ let [key, value] = each_array_5[$$index_5];
270
+ $$renderer3.option({ value, selected: initialValue === value }, ($$renderer4) => {
271
+ $$renderer4.push(`${escape_html(key)}`);
272
+ });
273
+ }
274
+ $$renderer3.push(`<!--]--></select>`);
275
+ } else {
276
+ $$renderer3.push("<!--[!-->");
277
+ $$renderer3.push(`<i class="error-text">Invalid preference type: ${escape_html(JSON.stringify(schema?.def?.type))}</i>`);
278
+ }
279
+ $$renderer3.push(`<!--]-->`);
280
+ }
281
+ $$renderer3.push(`<!--]-->`);
282
+ }
283
+ $$renderer3.push(`<!--]-->`);
284
+ }
285
+ $$renderer3.push(`<!--]-->`);
286
+ }
287
+ $$renderer3.push(`<!--]-->`);
288
+ }
289
+ $$renderer3.push(`<!--]-->`);
290
+ }
291
+ $$renderer3.push(`<!--]-->`);
292
+ }
293
+ $$renderer3.push(`<!--]-->`);
294
+ }
295
+ $$renderer3.push(`<!--]-->`);
296
+ }
297
+ $$renderer3.push(`<!--]-->`);
298
+ }
299
+ $$renderer3.push(`<!--]-->`);
300
+ }
301
+ $$renderer3.push(`<!--]-->`);
302
+ }
303
+ $$renderer3.push(`<!--]-->`);
304
+ }
305
+ $$renderer3.push(`<!--]-->`);
306
+ }
307
+ do {
308
+ $$settled = true;
309
+ $$inner_renderer = $$renderer2.copy();
310
+ $$render_inner($$inner_renderer);
311
+ } while (!$$settled);
312
+ $$renderer2.subsume($$inner_renderer);
313
+ bind_props($$props, { preferences });
314
+ });
315
+ }
316
+ const $$css = {
317
+ hash: "svelte-1j7yjjy",
318
+ code: ".pref.svelte-1j7yjjy {display:grid;grid-template-columns:1fr 1fr;gap:1em;}"
319
+ };
320
+ function Preferences($$renderer, $$props) {
321
+ $$renderer.global.css.add($$css);
322
+ $$renderer.component(($$renderer2) => {
323
+ const id = props_id($$renderer2);
324
+ let { preferences = void 0, userId } = $$props;
325
+ let $$settled = true;
326
+ let $$inner_renderer;
327
+ function $$render_inner($$renderer3) {
328
+ $$renderer3.push(`<!--[-->`);
329
+ const each_array = ensure_array_like(Object.keys(preferenceSchemas));
330
+ for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
331
+ let path = each_array[$$index];
332
+ $$renderer3.push(`<div class="pref svelte-1j7yjjy"><label${attr("for", id)}>${escape_html(preferenceLabels[path])}</label> `);
333
+ Preference_1($$renderer3, {
334
+ userId,
335
+ path,
336
+ schema: preferenceSchemas[path],
337
+ get preferences() {
338
+ return preferences;
339
+ },
340
+ set preferences($$value) {
341
+ preferences = $$value;
342
+ $$settled = false;
343
+ }
344
+ });
345
+ $$renderer3.push(`<!----></div>`);
346
+ }
347
+ $$renderer3.push(`<!--]-->`);
348
+ }
349
+ do {
350
+ $$settled = true;
351
+ $$inner_renderer = $$renderer2.copy();
352
+ $$render_inner($$inner_renderer);
353
+ } while (!$$settled);
354
+ $$renderer2.subsume($$inner_renderer);
355
+ bind_props($$props, { preferences });
356
+ });
357
+ }
358
+ function SessionList($$renderer, $$props) {
359
+ $$renderer.component(($$renderer2) => {
360
+ let {
361
+ sessions = void 0,
362
+ currentSession,
363
+ user,
364
+ redirectAfterLogoutAll = false
365
+ } = $$props;
366
+ const dialogs = {};
367
+ let $$settled = true;
368
+ let $$inner_renderer;
369
+ function $$render_inner($$renderer3) {
370
+ $$renderer3.push(`<!--[-->`);
371
+ const each_array = ensure_array_like(sessions);
372
+ for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
373
+ let session = each_array[$$index];
374
+ $$renderer3.push(`<div class="item session"><p>${escape_html(session.id.slice(0, 4))}...${escape_html(session.id.slice(-4))} `);
375
+ if (session.id == currentSession?.id) {
376
+ $$renderer3.push("<!--[-->");
377
+ $$renderer3.push(`<span class="current">Current</span>`);
378
+ } else {
379
+ $$renderer3.push("<!--[!-->");
380
+ }
381
+ $$renderer3.push(`<!--]--> `);
382
+ if (session.elevated) {
383
+ $$renderer3.push("<!--[-->");
384
+ $$renderer3.push(`<span class="elevated">Elevated</span>`);
385
+ } else {
386
+ $$renderer3.push("<!--[!-->");
387
+ }
388
+ $$renderer3.push(`<!--]--></p> <p>Created ${escape_html(session.created.toLocaleString())}</p> <p>Expires ${escape_html(session.expires.toLocaleString())}</p> <button${attr_style("", { display: "contents" })}>`);
389
+ css_props($$renderer3, true, { "--size": "16px" }, () => {
390
+ Icon($$renderer3, { i: "right-from-bracket" });
391
+ });
392
+ $$renderer3.push(`</button></div> `);
393
+ FormDialog($$renderer3, {
394
+ submit: async () => {
395
+ await logout(user.id, session.id);
396
+ dialogs["logout#" + session.id].remove();
397
+ sessions.splice(sessions.indexOf(session), 1);
398
+ if (session.id == currentSession?.id) window.location.href = "/";
399
+ },
400
+ submitText: "Logout",
401
+ get dialog() {
402
+ return dialogs["logout#" + session.id];
403
+ },
404
+ set dialog($$value) {
405
+ dialogs["logout#" + session.id] = $$value;
406
+ $$settled = false;
407
+ },
408
+ children: ($$renderer4) => {
409
+ $$renderer4.push(`<p>Are you sure you want to log out this session?</p>`);
410
+ },
411
+ $$slots: { default: true }
412
+ });
413
+ $$renderer3.push(`<!---->`);
414
+ }
415
+ $$renderer3.push(`<!--]--> <span><button class="danger">Logout All</button></span> `);
416
+ FormDialog($$renderer3, {
417
+ submit: () => logoutAll(user.id).then(() => redirectAfterLogoutAll ? window.location.href = "/" : null),
418
+ submitText: "Logout All Sessions",
419
+ submitDanger: true,
420
+ get dialog() {
421
+ return dialogs.logout_all;
422
+ },
423
+ set dialog($$value) {
424
+ dialogs.logout_all = $$value;
425
+ $$settled = false;
426
+ },
427
+ children: ($$renderer4) => {
428
+ $$renderer4.push(`<p>Are you sure you want to log out all sessions?</p>`);
429
+ },
430
+ $$slots: { default: true }
431
+ });
432
+ $$renderer3.push(`<!---->`);
433
+ }
434
+ do {
435
+ $$settled = true;
436
+ $$inner_renderer = $$renderer2.copy();
437
+ $$render_inner($$inner_renderer);
438
+ } while (!$$settled);
439
+ $$renderer2.subsume($$inner_renderer);
440
+ bind_props($$props, { sessions });
441
+ });
442
+ }
443
+
444
+ export { ClipboardCopy as C, Preferences as P, SessionList as S };
445
+ //# sourceMappingURL=account-BZSP6KBP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account-BZSP6KBP.js","sources":["../../../../node_modules/utilium/dist/objects.js","../../../.svelte-kit/adapter-node/chunks/account.js"],"sourcesContent":["// SPDX-License-Identifier: LGPL-3.0-or-later\n// Copyright (c) 2025 James Prevett\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport function filterObject(object, predicate) {\n const entries = Object.entries(object);\n return Object.fromEntries(entries.filter(([key, value]) => predicate(key, value)));\n}\nexport function pick(object, ...keys) {\n const picked = {};\n for (const key of keys.flat()) {\n picked[key] = object[key];\n }\n return picked;\n}\nexport function omit(object, ...keys) {\n return filterObject(object, key => !keys.flat().includes(key));\n}\nexport function assignWithDefaults(to, from, defaults = to) {\n const keys = new Set([...Object.keys(to), ...Object.keys(from)]);\n for (const key of keys) {\n try {\n to[key] = from[key] ?? defaults[key] ?? to[key];\n }\n catch {\n // Do nothing\n }\n }\n}\n/**\n * Returns whether `value` is not a primitive.\n *\n * This function is only useful for the type check,\n * you can do `Object(v) === v` otherwise.\n */\nexport function isObject(value) {\n return Object(value) === value;\n}\nexport function deepAssign(to, from) {\n const keys = new Set([\n ...Object.keys(to),\n ...Object.keys(from),\n ]);\n for (const key of keys) {\n if (!(key in from))\n continue;\n const value = from[key];\n if (!(key in to)) {\n to[key] = value;\n continue;\n }\n if (!isObject(to[key]) && Object(value) !== value) {\n to[key] = value;\n continue;\n }\n if (isObject(to[key]) && Object(value) === value) {\n deepAssign(to[key], value);\n continue;\n }\n throw new TypeError(!isObject(to[key])\n ? 'Can not deeply assign an object to a primitive'\n : 'Can not deeply assign a primitive to an object');\n }\n return to;\n}\nexport function isJSON(str) {\n try {\n JSON.parse(str);\n return true;\n }\n catch {\n return false;\n }\n}\nexport function resolveConstructors(object) {\n const constructors = [];\n for (let prototype = object; prototype && !['Function', 'Object'].includes(prototype.constructor.name); prototype = Object.getPrototypeOf(prototype)) {\n constructors.push(prototype.constructor.name);\n }\n return constructors;\n}\nexport function* getAllPrototypes(object) {\n for (let prototype = object; prototype; prototype = Object.getPrototypeOf(prototype)) {\n yield prototype;\n }\n}\nexport function map(items) {\n return new Map(Object.entries(items));\n}\nexport function getByString(object, path, separator = /[.[\\]'\"]/) {\n return path\n .split(separator)\n .filter(p => p && p != '__proto__')\n .reduce((o, p) => o?.[p], object);\n}\nexport function setByString(object, path, value, separator = /[.[\\]'\"]/) {\n return path\n .split(separator)\n .filter(p => p && p != '__proto__')\n .reduce((o, p, i) => (o[p] = path.split(separator).filter(p => p).length === ++i ? value : o[p] || {}), object);\n}\n/**\n * Binds a this value for all of the functions in an object (not recursive)\n */\nexport function bindFunctions(fns, thisValue) {\n return Object.fromEntries(Object.entries(fns).map(([k, v]) => [k, typeof v == 'function' ? v.bind(thisValue) : v]));\n}\n","import \"clsx\";\nimport { getByString, pick } from \"utilium\";\nimport { I as Icon } from \"./Icon.js\";\nimport { N as props_id, O as bind_props, x as attr, J as css_props, w as ensure_array_like, G as stringify, P as attributes, K as attr_style } from \"./index.js\";\nimport { p as preferenceDefaults, z as zIs, a as preferenceSchemas, b as preferenceLabels } from \"./user.js\";\nimport \"mime\";\nimport { e as escape_html } from \"./context.js\";\nimport { l as logout, h as logoutAll } from \"./user2.js\";\nimport { F as FormDialog } from \"./FormDialog.js\";\nconst $$css$2 = {\n hash: \"svelte-1jyuowb\",\n code: \"button.svelte-1jyuowb {position:relative;display:inline-block;width:1em;height:1em;border:none;background:transparent;}span.svelte-1jyuowb {position:absolute;inset:0;}\"\n};\nfunction ClipboardCopy($$renderer, $$props) {\n $$renderer.global.css.add($$css$2);\n $$renderer.component(($$renderer2) => {\n const { value, type = \"text/plain\" } = $$props;\n $$renderer2.push(`<button class=\"svelte-1jyuowb\">`);\n {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<span class=\"svelte-1jyuowb\">`);\n Icon($$renderer2, { i: \"copy\" });\n $$renderer2.push(`<!----></span>`);\n }\n $$renderer2.push(`<!--]--></button>`);\n });\n}\nconst $$css$1 = {\n hash: \"svelte-5ofwln\",\n code: \"input[type='checkbox'].svelte-5ofwln {display:none;}label.checkbox.svelte-5ofwln {cursor:pointer;width:1.5em;height:1.5em;border:1px solid var(--border-accent);border-radius:0.5em;display:inline-flex;justify-content:center;align-items:center;}\"\n};\nfunction Preference_1($$renderer, $$props) {\n $$renderer.global.css.add($$css$1);\n $$renderer.component(($$renderer2) => {\n const id = props_id($$renderer2);\n let { preferences = void 0, userId, path, schema, optional = false } = $$props;\n let checked = schema.def.type == \"boolean\" && getByString(preferences, path);\n const initialValue = getByString(preferences, path) ?? getByString(preferenceDefaults, path);\n function dateAttr(date, format) {\n if (!date) return null;\n const pad = (n) => String(n).padStart(2, \"0\");\n const yyyy = date.getFullYear();\n const mm = pad(date.getMonth() + 1);\n const dd = pad(date.getDate());\n const dateStr = `${yyyy}-${mm}-${dd}`;\n const HH = pad(date.getHours());\n const MM = pad(date.getMinutes());\n const timeStr = `${HH}:${MM}`;\n switch (format) {\n case \"date\":\n return dateStr;\n case \"time\":\n return timeStr;\n case \"time+sec\":\n return `${timeStr}:${pad(date.getSeconds())}`;\n case \"datetime\":\n default:\n return `${dateStr}T${timeStr}`;\n }\n }\n function _in($$renderer3, rest) {\n $$renderer3.push(`<input${attributes({ id, ...rest, value: initialValue, required: !optional }, \"svelte-5ofwln\", void 0, void 0, 4)}/>`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (zIs(schema, \"string\")) {\n $$renderer3.push(\"<!--[-->\");\n _in($$renderer3, {\n type: schema.format == \"email\" ? \"email\" : \"text\",\n ...pick(schema, \"minLength\", \"maxLength\")\n });\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"number\")) {\n $$renderer3.push(\"<!--[-->\");\n _in($$renderer3, {\n type: \"number\",\n min: schema.minValue,\n max: schema.maxValue,\n step: schema.format?.includes(\"int\") ? 1 : 0.1\n });\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"bigint\")) {\n $$renderer3.push(\"<!--[-->\");\n _in($$renderer3, {\n type: \"number\",\n min: Number(schema.minValue),\n max: Number(schema.maxValue),\n step: 1\n });\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"boolean\")) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<input${attr(\"checked\", checked, true)}${attr(\"id\", id)} type=\"checkbox\"${attr(\"required\", !optional, true)} class=\"svelte-5ofwln\"/> <label${attr(\"for\", id)} class=\"checkbox svelte-5ofwln\">`);\n if (checked) {\n $$renderer3.push(\"<!--[-->\");\n css_props($$renderer3, true, { \"--size\": \"1.3em\" }, () => {\n Icon($$renderer3, { i: \"check\" });\n });\n } else {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--></label>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"date\")) {\n $$renderer3.push(\"<!--[-->\");\n _in($$renderer3, {\n type: \"date\",\n min: dateAttr(schema.minDate, \"date\"),\n max: dateAttr(schema.maxDate, \"date\")\n });\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"file\")) {\n $$renderer3.push(\"<!--[-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"literal\")) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<select${attr(\"id\", id)}${attr(\"required\", !optional, true)}><!--[-->`);\n const each_array = ensure_array_like(schema.values);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let value = each_array[$$index];\n $$renderer3.option({ value, selected: initialValue === value }, ($$renderer4) => {\n $$renderer4.push(`${escape_html(value)}`);\n });\n }\n $$renderer3.push(`<!--]--></select>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"template_literal\")) {\n $$renderer3.push(\"<!--[-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"nullable\") || zIs(schema, \"optional\")) {\n $$renderer3.push(\"<!--[-->\");\n Preference_1($$renderer3, {\n userId,\n path,\n schema: schema.def.innerType,\n optional: true,\n get preferences() {\n return preferences;\n },\n set preferences($$value) {\n preferences = $$value;\n $$settled = false;\n }\n });\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"array\")) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<div class=\"pref-sub\"><!--[-->`);\n const each_array_1 = ensure_array_like(initialValue);\n for (let i = 0, $$length = each_array_1.length; i < $$length; i++) {\n $$renderer3.push(`<div class=\"pref-record-entry\">`);\n Preference_1($$renderer3, {\n userId,\n path: `${stringify(path)}.${stringify(i)}`,\n schema: schema.element,\n get preferences() {\n return preferences;\n },\n set preferences($$value) {\n preferences = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"record\")) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<div class=\"pref-sub\"><!--[-->`);\n const each_array_2 = ensure_array_like(Object.keys(initialValue));\n for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n let key = each_array_2[$$index_2];\n $$renderer3.push(`<div class=\"pref-record-entry\"><label${attr(\"for\", id)}>${escape_html(key)}</label> `);\n Preference_1($$renderer3, {\n userId,\n path: `${stringify(path)}.${stringify(key)}`,\n schema: schema.valueType,\n get preferences() {\n return preferences;\n },\n set preferences($$value) {\n preferences = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"object\")) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<!--[-->`);\n const each_array_3 = ensure_array_like(Object.entries(schema.shape));\n for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n let [key, value] = each_array_3[$$index_3];\n $$renderer3.push(`<div class=\"pref-sub\"><label${attr(\"for\", id)}>${escape_html(key)}</label> `);\n Preference_1($$renderer3, {\n userId,\n path: `${stringify(path)}.${stringify(key)}`,\n schema: value,\n get preferences() {\n return preferences;\n },\n set preferences($$value) {\n preferences = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]-->`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"tuple\")) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<div class=\"pref-sub\"${attr(\"data-rest\", schema.def.rest)}><!--[-->`);\n const each_array_4 = ensure_array_like(schema.def.items);\n for (let i = 0, $$length = each_array_4.length; i < $$length; i++) {\n let item = each_array_4[i];\n Preference_1($$renderer3, {\n userId,\n path: `${stringify(path)}.${stringify(i)}`,\n schema: item,\n get preferences() {\n return preferences;\n },\n set preferences($$value) {\n preferences = $$value;\n $$settled = false;\n }\n });\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n if (zIs(schema, \"enum\")) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<select${attr(\"id\", id)}${attr(\"required\", !optional, true)}><!--[-->`);\n const each_array_5 = ensure_array_like(Object.entries(schema.enum));\n for (let $$index_5 = 0, $$length = each_array_5.length; $$index_5 < $$length; $$index_5++) {\n let [key, value] = each_array_5[$$index_5];\n $$renderer3.option({ value, selected: initialValue === value }, ($$renderer4) => {\n $$renderer4.push(`${escape_html(key)}`);\n });\n }\n $$renderer3.push(`<!--]--></select>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(`<i class=\"error-text\">Invalid preference type: ${escape_html(JSON.stringify(schema?.def?.type))}</i>`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { preferences });\n });\n}\nconst $$css = {\n hash: \"svelte-1j7yjjy\",\n code: \".pref.svelte-1j7yjjy {display:grid;grid-template-columns:1fr 1fr;gap:1em;}\"\n};\nfunction Preferences($$renderer, $$props) {\n $$renderer.global.css.add($$css);\n $$renderer.component(($$renderer2) => {\n const id = props_id($$renderer2);\n let { preferences = void 0, userId } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<!--[-->`);\n const each_array = ensure_array_like(Object.keys(preferenceSchemas));\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let path = each_array[$$index];\n $$renderer3.push(`<div class=\"pref svelte-1j7yjjy\"><label${attr(\"for\", id)}>${escape_html(preferenceLabels[path])}</label> `);\n Preference_1($$renderer3, {\n userId,\n path,\n schema: preferenceSchemas[path],\n get preferences() {\n return preferences;\n },\n set preferences($$value) {\n preferences = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { preferences });\n });\n}\nfunction SessionList($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n sessions = void 0,\n currentSession,\n user,\n redirectAfterLogoutAll = false\n } = $$props;\n const dialogs = {};\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<!--[-->`);\n const each_array = ensure_array_like(sessions);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let session = each_array[$$index];\n $$renderer3.push(`<div class=\"item session\"><p>${escape_html(session.id.slice(0, 4))}...${escape_html(session.id.slice(-4))} `);\n if (session.id == currentSession?.id) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<span class=\"current\">Current</span>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--> `);\n if (session.elevated) {\n $$renderer3.push(\"<!--[-->\");\n $$renderer3.push(`<span class=\"elevated\">Elevated</span>`);\n } else {\n $$renderer3.push(\"<!--[!-->\");\n }\n $$renderer3.push(`<!--]--></p> <p>Created ${escape_html(session.created.toLocaleString())}</p> <p>Expires ${escape_html(session.expires.toLocaleString())}</p> <button${attr_style(\"\", { display: \"contents\" })}>`);\n css_props($$renderer3, true, { \"--size\": \"16px\" }, () => {\n Icon($$renderer3, { i: \"right-from-bracket\" });\n });\n $$renderer3.push(`</button></div> `);\n FormDialog($$renderer3, {\n submit: async () => {\n await logout(user.id, session.id);\n dialogs[\"logout#\" + session.id].remove();\n sessions.splice(sessions.indexOf(session), 1);\n if (session.id == currentSession?.id) window.location.href = \"/\";\n },\n submitText: \"Logout\",\n get dialog() {\n return dialogs[\"logout#\" + session.id];\n },\n set dialog($$value) {\n dialogs[\"logout#\" + session.id] = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n $$renderer4.push(`<p>Are you sure you want to log out this session?</p>`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(`<!---->`);\n }\n $$renderer3.push(`<!--]--> <span><button class=\"danger\">Logout All</button></span> `);\n FormDialog($$renderer3, {\n submit: () => logoutAll(user.id).then(() => redirectAfterLogoutAll ? window.location.href = \"/\" : null),\n submitText: \"Logout All Sessions\",\n submitDanger: true,\n get dialog() {\n return dialogs.logout_all;\n },\n set dialog($$value) {\n dialogs.logout_all = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n $$renderer4.push(`<p>Are you sure you want to log out all sessions?</p>`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(`<!---->`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { sessions });\n });\n}\nexport {\n ClipboardCopy as C,\n Preferences as P,\n SessionList as S\n};\n"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AAKO,SAAS,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,EAAE;AACtC,IAAI,MAAM,MAAM,GAAG,EAAE;AACrB,IAAI,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AACnC,QAAQ,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC;AACjC,IAAI;AACJ,IAAI,OAAO,MAAM;AACjB;AA2EO,SAAS,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,UAAU,EAAE;AAClE,IAAI,OAAO;AACX,SAAS,KAAK,CAAC,SAAS;AACxB,SAAS,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,WAAW;AAC1C,SAAS,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,CAAC;AACzC;;ACpFA,MAAM,OAAO,GAAG;AAChB,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE;AACR,CAAC;AACD,SAAS,aAAa,CAAC,UAAU,EAAE,OAAO,EAAE;AAC5C,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC;AACpC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,YAAY,EAAE,GAAG,OAAO;AAClD,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,+BA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UAAU,EAAE,qBAAqB;AACzC,QAAQ,YAAY,EAAE,IAAI;AAC1B,QAAQ,IAAI,MAAM,GAAG;AACrB,UAAU,OAAO,OAAO,CAAC,UAAU;AACnC,QAAQ,CAAC;AACT,QAAQ,IAAI,MAAM,CAAC,OAAO,EAAE;AAC5B,UAAU,OAAO,CAAC,UAAU,GAAG,OAAO;AACtC,UAAU,SAAS,GAAG,KAAK;AAC3B,QAAQ,CAAC;AACT,QAAQ,QAAQ,EAAE,CAAC,WAAW,KAAK;AACnC,UAAU,WAAW,CAAC,IAAI,CAAC,CAAC,qDAAqD,CAAC,CAAC;AACnF,QAAQ,CAAC;AACT,QAAQ,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI;AAChC,OAAO,CAAC;AACR,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;AACjC,IAAI;AACJ,IAAI,GAAG;AACP,MAAM,SAAS,GAAG,IAAI;AACtB,MAAM,gBAAgB,GAAG,WAAW,CAAC,IAAI,EAAE;AAC3C,MAAM,cAAc,CAAC,gBAAgB,CAAC;AACtC,IAAI,CAAC,QAAQ,CAAC,SAAS;AACvB,IAAI,WAAW,CAAC,OAAO,CAAC,gBAAgB,CAAC;AACzC,IAAI,UAAU,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,CAAC;AACrC,EAAE,CAAC,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,14 @@
1
+ function colorHash(input) {
2
+ let color = input.charCodeAt(0);
3
+ for (let i = 1; i < input.length; i++) {
4
+ color *= input.charCodeAt(i);
5
+ }
6
+ color &= 12566463;
7
+ const r = color >> 16 & 255;
8
+ const g = color >> 8 & 255;
9
+ const b = color & 255;
10
+ return `rgb(${r}, ${g}, ${b})`;
11
+ }
12
+
13
+ export { colorHash as c };
14
+ //# sourceMappingURL=color-K_MR7m8s.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-K_MR7m8s.js","sources":["../../../.svelte-kit/adapter-node/chunks/color.js"],"sourcesContent":["function colorHash(input) {\n let color = input.charCodeAt(0);\n for (let i = 1; i < input.length; i++) {\n color *= input.charCodeAt(i);\n }\n color &= 12566463;\n const r = color >> 16 & 255;\n const g = color >> 8 & 255;\n const b = color & 255;\n return `rgb(${r}, ${g}, ${b})`;\n}\nexport {\n colorHash as c\n};\n"],"names":[],"mappings":"AAAA,SAAS,SAAS,CAAC,KAAK,EAAE;AAC1B,EAAE,IAAI,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACjC,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACzC,IAAI,KAAK,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AAChC,EAAE;AACF,EAAE,KAAK,IAAI,QAAQ;AACnB,EAAE,MAAM,CAAC,GAAG,KAAK,IAAI,EAAE,GAAG,GAAG;AAC7B,EAAE,MAAM,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG,GAAG;AAC5B,EAAE,MAAM,CAAC,GAAG,KAAK,GAAG,GAAG;AACvB,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AAChC;;;;"}
@@ -0,0 +1,64 @@
1
+ function lifecycle_outside_component(name) {
2
+ {
3
+ throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
4
+ }
5
+ }
6
+ const ATTR_REGEX = /[&"<]/g;
7
+ const CONTENT_REGEX = /[&<]/g;
8
+ function escape_html(value, is_attr) {
9
+ const str = String(value ?? "");
10
+ const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
11
+ pattern.lastIndex = 0;
12
+ let escaped = "";
13
+ let last = 0;
14
+ while (pattern.test(str)) {
15
+ const i = pattern.lastIndex - 1;
16
+ const ch = str[i];
17
+ escaped += str.substring(last, i) + (ch === "&" ? "&amp;" : ch === '"' ? "&quot;" : "&lt;");
18
+ last = i + 1;
19
+ }
20
+ return escaped + str.substring(last);
21
+ }
22
+ var ssr_context = null;
23
+ function set_ssr_context(v) {
24
+ ssr_context = v;
25
+ }
26
+ function getContext(key) {
27
+ const context_map = get_or_init_context_map();
28
+ const result = (
29
+ /** @type {T} */
30
+ context_map.get(key)
31
+ );
32
+ return result;
33
+ }
34
+ function setContext(key, context) {
35
+ get_or_init_context_map().set(key, context);
36
+ return context;
37
+ }
38
+ function get_or_init_context_map(name) {
39
+ if (ssr_context === null) {
40
+ lifecycle_outside_component();
41
+ }
42
+ return ssr_context.c ??= new Map(get_parent_context(ssr_context) || void 0);
43
+ }
44
+ function push(fn) {
45
+ ssr_context = { p: ssr_context, c: null, r: null };
46
+ }
47
+ function pop() {
48
+ ssr_context = /** @type {SSRContext} */
49
+ ssr_context.p;
50
+ }
51
+ function get_parent_context(ssr_context2) {
52
+ let parent = ssr_context2.p;
53
+ while (parent !== null) {
54
+ const context_map = parent.c;
55
+ if (context_map !== null) {
56
+ return context_map;
57
+ }
58
+ parent = parent.p;
59
+ }
60
+ return null;
61
+ }
62
+
63
+ export { set_ssr_context as a, ssr_context as b, pop as c, escape_html as e, getContext as g, push as p, setContext as s };
64
+ //# sourceMappingURL=context-R2425nfV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-R2425nfV.js","sources":["../../../.svelte-kit/adapter-node/chunks/context.js"],"sourcesContent":["function lifecycle_outside_component(name) {\n {\n throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);\n }\n}\nconst ATTR_REGEX = /[&\"<]/g;\nconst CONTENT_REGEX = /[&<]/g;\nfunction escape_html(value, is_attr) {\n const str = String(value ?? \"\");\n const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;\n pattern.lastIndex = 0;\n let escaped = \"\";\n let last = 0;\n while (pattern.test(str)) {\n const i = pattern.lastIndex - 1;\n const ch = str[i];\n escaped += str.substring(last, i) + (ch === \"&\" ? \"&amp;\" : ch === '\"' ? \"&quot;\" : \"&lt;\");\n last = i + 1;\n }\n return escaped + str.substring(last);\n}\nvar ssr_context = null;\nfunction set_ssr_context(v) {\n ssr_context = v;\n}\nfunction getContext(key) {\n const context_map = get_or_init_context_map();\n const result = (\n /** @type {T} */\n context_map.get(key)\n );\n return result;\n}\nfunction setContext(key, context) {\n get_or_init_context_map().set(key, context);\n return context;\n}\nfunction get_or_init_context_map(name) {\n if (ssr_context === null) {\n lifecycle_outside_component();\n }\n return ssr_context.c ??= new Map(get_parent_context(ssr_context) || void 0);\n}\nfunction push(fn) {\n ssr_context = { p: ssr_context, c: null, r: null };\n}\nfunction pop() {\n ssr_context = /** @type {SSRContext} */\n ssr_context.p;\n}\nfunction get_parent_context(ssr_context2) {\n let parent = ssr_context2.p;\n while (parent !== null) {\n const context_map = parent.c;\n if (context_map !== null) {\n return context_map;\n }\n parent = parent.p;\n }\n return null;\n}\nexport {\n set_ssr_context as a,\n ssr_context as b,\n pop as c,\n escape_html as e,\n getContext as g,\n push as p,\n setContext as s\n};\n"],"names":[],"mappings":"AAAA,SAAS,2BAA2B,CAAC,IAAI,EAAE;AAC3C,EAAE;AACF,IAAI,MAAM,IAAI,KAAK,CAAC,CAAC,gDAAgD,CAAC,CAAC;AACvE,EAAE;AACF;AACA,MAAM,UAAU,GAAG,QAAQ;AAC3B,MAAM,aAAa,GAAG,OAAO;AAC7B,SAAS,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE;AACrC,EAAE,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;AACjC,EAAE,MAAM,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa;AACtD,EAAE,OAAO,CAAC,SAAS,GAAG,CAAC;AACvB,EAAE,IAAI,OAAO,GAAG,EAAE;AAClB,EAAE,IAAI,IAAI,GAAG,CAAC;AACd,EAAE,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAC5B,IAAI,MAA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