@revealui/auth 0.0.1-pre.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 (413) hide show
  1. package/LICENSE +202 -0
  2. package/dist/better-auth/adapter/__tests__/transform.test.js +213 -0
  3. package/dist/better-auth/adapter/__tests__/transform.test.js.map +1 -0
  4. package/dist/better-auth/adapter/generate-schema/biome.d.js +2 -0
  5. package/dist/better-auth/adapter/generate-schema/biome.d.js.map +1 -0
  6. package/dist/better-auth/adapter/generate-schema/generate-schema-builder.d.ts +5 -0
  7. package/dist/better-auth/adapter/generate-schema/generate-schema-builder.js +482 -0
  8. package/dist/better-auth/adapter/generate-schema/generate-schema-builder.js.map +1 -0
  9. package/dist/better-auth/adapter/generate-schema/get-payload-schema.d.ts +1 -0
  10. package/dist/better-auth/adapter/generate-schema/get-payload-schema.js +42 -0
  11. package/dist/better-auth/adapter/generate-schema/get-payload-schema.js.map +1 -0
  12. package/dist/better-auth/adapter/generate-schema/index.d.ts +4 -0
  13. package/dist/better-auth/adapter/generate-schema/index.js +19 -0
  14. package/dist/better-auth/adapter/generate-schema/index.js.map +1 -0
  15. package/dist/better-auth/adapter/generate-schema/utils.d.ts +2 -0
  16. package/dist/better-auth/adapter/generate-schema/utils.js +20 -0
  17. package/dist/better-auth/adapter/generate-schema/utils.js.map +1 -0
  18. package/dist/better-auth/adapter/index.d.ts +15 -0
  19. package/dist/better-auth/adapter/index.js +731 -0
  20. package/dist/better-auth/adapter/index.js.map +1 -0
  21. package/dist/better-auth/adapter/tests/adapter.test.js +174 -0
  22. package/dist/better-auth/adapter/tests/adapter.test.js.map +1 -0
  23. package/dist/better-auth/adapter/tests/base-collections-tests.js +575 -0
  24. package/dist/better-auth/adapter/tests/base-collections-tests.js.map +1 -0
  25. package/dist/better-auth/adapter/tests/dev/index.js +117 -0
  26. package/dist/better-auth/adapter/tests/dev/index.js.map +1 -0
  27. package/dist/better-auth/adapter/tests/dev/migrate.js +26 -0
  28. package/dist/better-auth/adapter/tests/dev/migrate.js.map +1 -0
  29. package/dist/better-auth/adapter/tests/dev/migrations/20250423_232936_init.js +218 -0
  30. package/dist/better-auth/adapter/tests/dev/migrations/20250423_232936_init.js.map +1 -0
  31. package/dist/better-auth/adapter/tests/dev/schema.js +160 -0
  32. package/dist/better-auth/adapter/tests/dev/schema.js.map +1 -0
  33. package/dist/better-auth/adapter/tests/plugins-tests.js +2 -0
  34. package/dist/better-auth/adapter/tests/plugins-tests.js.map +1 -0
  35. package/dist/better-auth/adapter/transform/index.d.ts +27 -0
  36. package/dist/better-auth/adapter/transform/index.js +664 -0
  37. package/dist/better-auth/adapter/transform/index.js.map +1 -0
  38. package/dist/better-auth/adapter/types.d.ts +10 -0
  39. package/dist/better-auth/adapter/types.js +3 -0
  40. package/dist/better-auth/adapter/types.js.map +1 -0
  41. package/dist/better-auth/generated-types.d.ts +285 -0
  42. package/dist/better-auth/index.d.ts +3 -0
  43. package/dist/better-auth/index.js +5 -0
  44. package/dist/better-auth/index.js.map +1 -0
  45. package/dist/better-auth/plugin/__tests__/plugin.test.js +162 -0
  46. package/dist/better-auth/plugin/__tests__/plugin.test.js.map +1 -0
  47. package/dist/better-auth/plugin/constants.d.ts +220 -0
  48. package/dist/better-auth/plugin/constants.js +249 -0
  49. package/dist/better-auth/plugin/constants.js.map +1 -0
  50. package/dist/better-auth/plugin/helpers/check-plugin-exists.d.ts +12 -0
  51. package/dist/better-auth/plugin/helpers/check-plugin-exists.js +14 -0
  52. package/dist/better-auth/plugin/helpers/check-plugin-exists.js.map +1 -0
  53. package/dist/better-auth/plugin/helpers/generate-verify-email-url.d.ts +29 -0
  54. package/dist/better-auth/plugin/helpers/generate-verify-email-url.js +46 -0
  55. package/dist/better-auth/plugin/helpers/generate-verify-email-url.js.map +1 -0
  56. package/dist/better-auth/plugin/helpers/get-admin-access.d.ts +7 -0
  57. package/dist/better-auth/plugin/helpers/get-admin-access.js +22 -0
  58. package/dist/better-auth/plugin/helpers/get-admin-access.js.map +1 -0
  59. package/dist/better-auth/plugin/helpers/get-all-roles.d.ts +5 -0
  60. package/dist/better-auth/plugin/helpers/get-all-roles.js +20 -0
  61. package/dist/better-auth/plugin/helpers/get-all-roles.js.map +1 -0
  62. package/dist/better-auth/plugin/helpers/get-better-auth-schema.d.ts +18 -0
  63. package/dist/better-auth/plugin/helpers/get-better-auth-schema.js +70 -0
  64. package/dist/better-auth/plugin/helpers/get-better-auth-schema.js.map +1 -0
  65. package/dist/better-auth/plugin/helpers/get-collection-slug.d.ts +5 -0
  66. package/dist/better-auth/plugin/helpers/get-collection-slug.js +20 -0
  67. package/dist/better-auth/plugin/helpers/get-collection-slug.js.map +1 -0
  68. package/dist/better-auth/plugin/helpers/get-collection.d.ts +15 -0
  69. package/dist/better-auth/plugin/helpers/get-collection.js +29 -0
  70. package/dist/better-auth/plugin/helpers/get-collection.js.map +1 -0
  71. package/dist/better-auth/plugin/helpers/get-ip.d.ts +2 -0
  72. package/dist/better-auth/plugin/helpers/get-ip.js +31 -0
  73. package/dist/better-auth/plugin/helpers/get-ip.js.map +1 -0
  74. package/dist/better-auth/plugin/helpers/get-signed-cookie.d.ts +2 -0
  75. package/dist/better-auth/plugin/helpers/get-signed-cookie.js +65 -0
  76. package/dist/better-auth/plugin/helpers/get-signed-cookie.js.map +1 -0
  77. package/dist/better-auth/plugin/helpers/index.d.ts +1 -0
  78. package/dist/better-auth/plugin/helpers/index.js +3 -0
  79. package/dist/better-auth/plugin/helpers/index.js.map +1 -0
  80. package/dist/better-auth/plugin/helpers/prepare-session-data.d.ts +59 -0
  81. package/dist/better-auth/plugin/helpers/prepare-session-data.js +49 -0
  82. package/dist/better-auth/plugin/helpers/prepare-session-data.js.map +1 -0
  83. package/dist/better-auth/plugin/helpers/sync-resolved-schema-with-collection-map.d.ts +20 -0
  84. package/dist/better-auth/plugin/helpers/sync-resolved-schema-with-collection-map.js +67 -0
  85. package/dist/better-auth/plugin/helpers/sync-resolved-schema-with-collection-map.js.map +1 -0
  86. package/dist/better-auth/plugin/index.d.ts +11 -0
  87. package/dist/better-auth/plugin/index.js +125 -0
  88. package/dist/better-auth/plugin/index.js.map +1 -0
  89. package/dist/better-auth/plugin/lib/apply-disabled-default-auth-config.d.ts +12 -0
  90. package/dist/better-auth/plugin/lib/apply-disabled-default-auth-config.js +87 -0
  91. package/dist/better-auth/plugin/lib/apply-disabled-default-auth-config.js.map +1 -0
  92. package/dist/better-auth/plugin/lib/build-collections/accounts/hooks/sync-password-to-user.d.ts +3 -0
  93. package/dist/better-auth/plugin/lib/build-collections/accounts/hooks/sync-password-to-user.js +60 -0
  94. package/dist/better-auth/plugin/lib/build-collections/accounts/hooks/sync-password-to-user.js.map +1 -0
  95. package/dist/better-auth/plugin/lib/build-collections/accounts/index.d.ts +3 -0
  96. package/dist/better-auth/plugin/lib/build-collections/accounts/index.js +154 -0
  97. package/dist/better-auth/plugin/lib/build-collections/accounts/index.js.map +1 -0
  98. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/hooks/get-url-after-read.d.ts +5 -0
  99. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/hooks/get-url-after-read.js +11 -0
  100. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/hooks/get-url-after-read.js.map +1 -0
  101. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/hooks/get-url-before-change.d.ts +2 -0
  102. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/hooks/get-url-before-change.js +8 -0
  103. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/hooks/get-url-before-change.js.map +1 -0
  104. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/index.d.ts +6 -0
  105. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/index.js +119 -0
  106. package/dist/better-auth/plugin/lib/build-collections/admin-invitations/index.js.map +1 -0
  107. package/dist/better-auth/plugin/lib/build-collections/api-keys.d.ts +3 -0
  108. package/dist/better-auth/plugin/lib/build-collections/api-keys.js +177 -0
  109. package/dist/better-auth/plugin/lib/build-collections/api-keys.js.map +1 -0
  110. package/dist/better-auth/plugin/lib/build-collections/device-code.d.ts +3 -0
  111. package/dist/better-auth/plugin/lib/build-collections/device-code.js +50 -0
  112. package/dist/better-auth/plugin/lib/build-collections/device-code.js.map +1 -0
  113. package/dist/better-auth/plugin/lib/build-collections/index.d.ts +10 -0
  114. package/dist/better-auth/plugin/lib/build-collections/index.js +73 -0
  115. package/dist/better-auth/plugin/lib/build-collections/index.js.map +1 -0
  116. package/dist/better-auth/plugin/lib/build-collections/invitations.d.ts +3 -0
  117. package/dist/better-auth/plugin/lib/build-collections/invitations.js +94 -0
  118. package/dist/better-auth/plugin/lib/build-collections/invitations.js.map +1 -0
  119. package/dist/better-auth/plugin/lib/build-collections/jwks.d.ts +3 -0
  120. package/dist/better-auth/plugin/lib/build-collections/jwks.js +59 -0
  121. package/dist/better-auth/plugin/lib/build-collections/jwks.js.map +1 -0
  122. package/dist/better-auth/plugin/lib/build-collections/members.d.ts +3 -0
  123. package/dist/better-auth/plugin/lib/build-collections/members.js +73 -0
  124. package/dist/better-auth/plugin/lib/build-collections/members.js.map +1 -0
  125. package/dist/better-auth/plugin/lib/build-collections/oauth-access-tokens.d.ts +3 -0
  126. package/dist/better-auth/plugin/lib/build-collections/oauth-access-tokens.js +107 -0
  127. package/dist/better-auth/plugin/lib/build-collections/oauth-access-tokens.js.map +1 -0
  128. package/dist/better-auth/plugin/lib/build-collections/oauth-applications.d.ts +3 -0
  129. package/dist/better-auth/plugin/lib/build-collections/oauth-applications.js +118 -0
  130. package/dist/better-auth/plugin/lib/build-collections/oauth-applications.js.map +1 -0
  131. package/dist/better-auth/plugin/lib/build-collections/oauth-consents.d.ts +3 -0
  132. package/dist/better-auth/plugin/lib/build-collections/oauth-consents.js +89 -0
  133. package/dist/better-auth/plugin/lib/build-collections/oauth-consents.js.map +1 -0
  134. package/dist/better-auth/plugin/lib/build-collections/organizations.d.ts +3 -0
  135. package/dist/better-auth/plugin/lib/build-collections/organizations.js +70 -0
  136. package/dist/better-auth/plugin/lib/build-collections/organizations.js.map +1 -0
  137. package/dist/better-auth/plugin/lib/build-collections/passkeys.d.ts +3 -0
  138. package/dist/better-auth/plugin/lib/build-collections/passkeys.js +115 -0
  139. package/dist/better-auth/plugin/lib/build-collections/passkeys.js.map +1 -0
  140. package/dist/better-auth/plugin/lib/build-collections/sessions.d.ts +3 -0
  141. package/dist/better-auth/plugin/lib/build-collections/sessions.js +170 -0
  142. package/dist/better-auth/plugin/lib/build-collections/sessions.js.map +1 -0
  143. package/dist/better-auth/plugin/lib/build-collections/sso-providers.d.ts +3 -0
  144. package/dist/better-auth/plugin/lib/build-collections/sso-providers.js +81 -0
  145. package/dist/better-auth/plugin/lib/build-collections/sso-providers.js.map +1 -0
  146. package/dist/better-auth/plugin/lib/build-collections/subscriptions.d.ts +3 -0
  147. package/dist/better-auth/plugin/lib/build-collections/subscriptions.js +111 -0
  148. package/dist/better-auth/plugin/lib/build-collections/subscriptions.js.map +1 -0
  149. package/dist/better-auth/plugin/lib/build-collections/team-members.d.ts +3 -0
  150. package/dist/better-auth/plugin/lib/build-collections/team-members.js +57 -0
  151. package/dist/better-auth/plugin/lib/build-collections/team-members.js.map +1 -0
  152. package/dist/better-auth/plugin/lib/build-collections/teams.d.ts +3 -0
  153. package/dist/better-auth/plugin/lib/build-collections/teams.js +76 -0
  154. package/dist/better-auth/plugin/lib/build-collections/teams.js.map +1 -0
  155. package/dist/better-auth/plugin/lib/build-collections/two-factors.d.ts +3 -0
  156. package/dist/better-auth/plugin/lib/build-collections/two-factors.js +67 -0
  157. package/dist/better-auth/plugin/lib/build-collections/two-factors.js.map +1 -0
  158. package/dist/better-auth/plugin/lib/build-collections/users/better-auth-strategy.d.ts +7 -0
  159. package/dist/better-auth/plugin/lib/build-collections/users/better-auth-strategy.js +53 -0
  160. package/dist/better-auth/plugin/lib/build-collections/users/better-auth-strategy.js.map +1 -0
  161. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/generate-invite-url.d.ts +11 -0
  162. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/generate-invite-url.js +75 -0
  163. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/generate-invite-url.js.map +1 -0
  164. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/index.d.ts +4 -0
  165. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/index.js +6 -0
  166. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/index.js.map +1 -0
  167. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/refresh-token.d.ts +2 -0
  168. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/refresh-token.js +115 -0
  169. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/refresh-token.js.map +1 -0
  170. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/send-invite-url.d.ts +3 -0
  171. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/send-invite-url.js +64 -0
  172. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/send-invite-url.js.map +1 -0
  173. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/set-admin-role.d.ts +3 -0
  174. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/set-admin-role.js +80 -0
  175. package/dist/better-auth/plugin/lib/build-collections/users/endpoints/set-admin-role.js.map +1 -0
  176. package/dist/better-auth/plugin/lib/build-collections/users/hooks/after-login.d.ts +6 -0
  177. package/dist/better-auth/plugin/lib/build-collections/users/hooks/after-login.js +79 -0
  178. package/dist/better-auth/plugin/lib/build-collections/users/hooks/after-login.js.map +1 -0
  179. package/dist/better-auth/plugin/lib/build-collections/users/hooks/after-logout.d.ts +2 -0
  180. package/dist/better-auth/plugin/lib/build-collections/users/hooks/after-logout.js +82 -0
  181. package/dist/better-auth/plugin/lib/build-collections/users/hooks/after-logout.js.map +1 -0
  182. package/dist/better-auth/plugin/lib/build-collections/users/hooks/before-delete.d.ts +2 -0
  183. package/dist/better-auth/plugin/lib/build-collections/users/hooks/before-delete.js +54 -0
  184. package/dist/better-auth/plugin/lib/build-collections/users/hooks/before-delete.js.map +1 -0
  185. package/dist/better-auth/plugin/lib/build-collections/users/hooks/before-login.d.ts +6 -0
  186. package/dist/better-auth/plugin/lib/build-collections/users/hooks/before-login.js +15 -0
  187. package/dist/better-auth/plugin/lib/build-collections/users/hooks/before-login.js.map +1 -0
  188. package/dist/better-auth/plugin/lib/build-collections/users/hooks/index.d.ts +6 -0
  189. package/dist/better-auth/plugin/lib/build-collections/users/hooks/index.js +8 -0
  190. package/dist/better-auth/plugin/lib/build-collections/users/hooks/index.js.map +1 -0
  191. package/dist/better-auth/plugin/lib/build-collections/users/hooks/on-verified-change.d.ts +2 -0
  192. package/dist/better-auth/plugin/lib/build-collections/users/hooks/on-verified-change.js +17 -0
  193. package/dist/better-auth/plugin/lib/build-collections/users/hooks/on-verified-change.js.map +1 -0
  194. package/dist/better-auth/plugin/lib/build-collections/users/hooks/sync-account.d.ts +2 -0
  195. package/dist/better-auth/plugin/lib/build-collections/users/hooks/sync-account.js +91 -0
  196. package/dist/better-auth/plugin/lib/build-collections/users/hooks/sync-account.js.map +1 -0
  197. package/dist/better-auth/plugin/lib/build-collections/users/index.d.ts +3 -0
  198. package/dist/better-auth/plugin/lib/build-collections/users/index.js +341 -0
  199. package/dist/better-auth/plugin/lib/build-collections/users/index.js.map +1 -0
  200. package/dist/better-auth/plugin/lib/build-collections/utils/collection-schema.d.ts +15 -0
  201. package/dist/better-auth/plugin/lib/build-collections/utils/collection-schema.js +24 -0
  202. package/dist/better-auth/plugin/lib/build-collections/utils/collection-schema.js.map +1 -0
  203. package/dist/better-auth/plugin/lib/build-collections/utils/filter-duplicate-fields.d.ts +10 -0
  204. package/dist/better-auth/plugin/lib/build-collections/utils/filter-duplicate-fields.js +67 -0
  205. package/dist/better-auth/plugin/lib/build-collections/utils/filter-duplicate-fields.js.map +1 -0
  206. package/dist/better-auth/plugin/lib/build-collections/utils/filter-properties.d.ts +9 -0
  207. package/dist/better-auth/plugin/lib/build-collections/utils/filter-properties.js +94 -0
  208. package/dist/better-auth/plugin/lib/build-collections/utils/filter-properties.js.map +1 -0
  209. package/dist/better-auth/plugin/lib/build-collections/utils/get-timestamp-fields.d.ts +7 -0
  210. package/dist/better-auth/plugin/lib/build-collections/utils/get-timestamp-fields.js +35 -0
  211. package/dist/better-auth/plugin/lib/build-collections/utils/get-timestamp-fields.js.map +1 -0
  212. package/dist/better-auth/plugin/lib/build-collections/utils/model-field-transformations.d.ts +12 -0
  213. package/dist/better-auth/plugin/lib/build-collections/utils/model-field-transformations.js +25 -0
  214. package/dist/better-auth/plugin/lib/build-collections/utils/model-field-transformations.js.map +1 -0
  215. package/dist/better-auth/plugin/lib/build-collections/utils/payload-access.d.ts +14 -0
  216. package/dist/better-auth/plugin/lib/build-collections/utils/payload-access.js +67 -0
  217. package/dist/better-auth/plugin/lib/build-collections/utils/payload-access.js.map +1 -0
  218. package/dist/better-auth/plugin/lib/build-collections/utils/transform-schema-fields-to-payload.d.ts +20 -0
  219. package/dist/better-auth/plugin/lib/build-collections/utils/transform-schema-fields-to-payload.js +98 -0
  220. package/dist/better-auth/plugin/lib/build-collections/utils/transform-schema-fields-to-payload.js.map +1 -0
  221. package/dist/better-auth/plugin/lib/build-collections/verifications.d.ts +3 -0
  222. package/dist/better-auth/plugin/lib/build-collections/verifications.js +87 -0
  223. package/dist/better-auth/plugin/lib/build-collections/verifications.js.map +1 -0
  224. package/dist/better-auth/plugin/lib/get-payload-auth.d.ts +5 -0
  225. package/dist/better-auth/plugin/lib/get-payload-auth.js +9 -0
  226. package/dist/better-auth/plugin/lib/get-payload-auth.js.map +1 -0
  227. package/dist/better-auth/plugin/lib/init-better-auth.d.ts +7 -0
  228. package/dist/better-auth/plugin/lib/init-better-auth.js +46 -0
  229. package/dist/better-auth/plugin/lib/init-better-auth.js.map +1 -0
  230. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/admin-plugin.d.ts +2 -0
  231. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/admin-plugin.js +9 -0
  232. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/admin-plugin.js.map +1 -0
  233. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/api-key-plugin.d.ts +2 -0
  234. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/api-key-plugin.js +10 -0
  235. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/api-key-plugin.js.map +1 -0
  236. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/device-authorization-plugin.d.ts +2 -0
  237. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/device-authorization-plugin.js +8 -0
  238. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/device-authorization-plugin.js.map +1 -0
  239. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/index.d.ts +10 -0
  240. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/index.js +156 -0
  241. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/index.js.map +1 -0
  242. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/oidc-plugin.d.ts +2 -0
  243. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/oidc-plugin.js +18 -0
  244. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/oidc-plugin.js.map +1 -0
  245. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/organizations-plugin.d.ts +2 -0
  246. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/organizations-plugin.js +34 -0
  247. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/organizations-plugin.js.map +1 -0
  248. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/passkey-plugin.d.ts +2 -0
  249. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/passkey-plugin.js +11 -0
  250. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/passkey-plugin.js.map +1 -0
  251. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/sso-plugin.d.ts +2 -0
  252. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/sso-plugin.js +10 -0
  253. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/sso-plugin.js.map +1 -0
  254. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/two-factor-plugin.d.ts +2 -0
  255. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/two-factor-plugin.js +11 -0
  256. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/two-factor-plugin.js.map +1 -0
  257. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/ensure-password-set-before-create.d.ts +7 -0
  258. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/ensure-password-set-before-create.js +23 -0
  259. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/ensure-password-set-before-create.js.map +1 -0
  260. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/password.d.ts +25 -0
  261. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/password.js +62 -0
  262. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/password.js.map +1 -0
  263. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/require-admin-invite-for-sign-up-middleware.d.ts +9 -0
  264. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/require-admin-invite-for-sign-up-middleware.js +47 -0
  265. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/require-admin-invite-for-sign-up-middleware.js.map +1 -0
  266. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/save-to-jwt-middleware.d.ts +15 -0
  267. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/save-to-jwt-middleware.js +42 -0
  268. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/save-to-jwt-middleware.js.map +1 -0
  269. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/use-admin-invite-after-email-sign-up-middleware.d.ts +9 -0
  270. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/use-admin-invite-after-email-sign-up-middleware.js +63 -0
  271. package/dist/better-auth/plugin/lib/sanitize-better-auth-options/utils/use-admin-invite-after-email-sign-up-middleware.js.map +1 -0
  272. package/dist/better-auth/plugin/lib/set-login-methods.d.ts +4 -0
  273. package/dist/better-auth/plugin/lib/set-login-methods.js +14 -0
  274. package/dist/better-auth/plugin/lib/set-login-methods.js.map +1 -0
  275. package/dist/better-auth/plugin/payload/components/admin-buttons/index.d.ts +9 -0
  276. package/dist/better-auth/plugin/payload/components/admin-buttons/index.js +143 -0
  277. package/dist/better-auth/plugin/payload/components/admin-buttons/index.js.map +1 -0
  278. package/dist/better-auth/plugin/payload/components/admin-invite-button/index.d.ts +10 -0
  279. package/dist/better-auth/plugin/payload/components/admin-invite-button/index.js +219 -0
  280. package/dist/better-auth/plugin/payload/components/admin-invite-button/index.js.map +1 -0
  281. package/dist/better-auth/plugin/payload/components/logout-button.d.ts +4 -0
  282. package/dist/better-auth/plugin/payload/components/logout-button.js +24 -0
  283. package/dist/better-auth/plugin/payload/components/logout-button.js.map +1 -0
  284. package/dist/better-auth/plugin/payload/components/passkeys/add-button.d.ts +8 -0
  285. package/dist/better-auth/plugin/payload/components/passkeys/add-button.js +117 -0
  286. package/dist/better-auth/plugin/payload/components/passkeys/add-button.js.map +1 -0
  287. package/dist/better-auth/plugin/payload/components/passkeys/client.d.ts +3 -0
  288. package/dist/better-auth/plugin/payload/components/passkeys/client.js +66 -0
  289. package/dist/better-auth/plugin/payload/components/passkeys/client.js.map +1 -0
  290. package/dist/better-auth/plugin/payload/components/passkeys/index.d.ts +4 -0
  291. package/dist/better-auth/plugin/payload/components/passkeys/index.js +52 -0
  292. package/dist/better-auth/plugin/payload/components/passkeys/index.js.map +1 -0
  293. package/dist/better-auth/plugin/payload/components/passkeys/list.d.ts +8 -0
  294. package/dist/better-auth/plugin/payload/components/passkeys/list.js +57 -0
  295. package/dist/better-auth/plugin/payload/components/passkeys/list.js.map +1 -0
  296. package/dist/better-auth/plugin/payload/components/passkeys/types.d.ts +22 -0
  297. package/dist/better-auth/plugin/payload/components/passkeys/types.js +3 -0
  298. package/dist/better-auth/plugin/payload/components/passkeys/types.js.map +1 -0
  299. package/dist/better-auth/plugin/payload/components/rsc-redirect.d.ts +6 -0
  300. package/dist/better-auth/plugin/payload/components/rsc-redirect.js +7 -0
  301. package/dist/better-auth/plugin/payload/components/rsc-redirect.js.map +1 -0
  302. package/dist/better-auth/plugin/payload/components/social-provider-buttons/index.d.ts +15 -0
  303. package/dist/better-auth/plugin/payload/components/social-provider-buttons/index.js +157 -0
  304. package/dist/better-auth/plugin/payload/components/social-provider-buttons/index.js.map +1 -0
  305. package/dist/better-auth/plugin/payload/components/token-field.d.ts +4 -0
  306. package/dist/better-auth/plugin/payload/components/token-field.js +31 -0
  307. package/dist/better-auth/plugin/payload/components/token-field.js.map +1 -0
  308. package/dist/better-auth/plugin/payload/components/two-factor-auth/index.d.ts +8 -0
  309. package/dist/better-auth/plugin/payload/components/two-factor-auth/index.js +300 -0
  310. package/dist/better-auth/plugin/payload/components/two-factor-auth/index.js.map +1 -0
  311. package/dist/better-auth/plugin/payload/exports/client.d.ts +6 -0
  312. package/dist/better-auth/plugin/payload/exports/client.js +8 -0
  313. package/dist/better-auth/plugin/payload/exports/client.js.map +1 -0
  314. package/dist/better-auth/plugin/payload/exports/rsc.d.ts +8 -0
  315. package/dist/better-auth/plugin/payload/exports/rsc.js +10 -0
  316. package/dist/better-auth/plugin/payload/exports/rsc.js.map +1 -0
  317. package/dist/better-auth/plugin/payload/utils/generate-admin-invite-url.d.ts +2 -0
  318. package/dist/better-auth/plugin/payload/utils/generate-admin-invite-url.js +9 -0
  319. package/dist/better-auth/plugin/payload/utils/generate-admin-invite-url.js.map +1 -0
  320. package/dist/better-auth/plugin/payload/utils/get-safe-redirect.d.ts +1 -0
  321. package/dist/better-auth/plugin/payload/utils/get-safe-redirect.js +22 -0
  322. package/dist/better-auth/plugin/payload/utils/get-safe-redirect.js.map +1 -0
  323. package/dist/better-auth/plugin/payload/views/admin-login/client.d.ts +19 -0
  324. package/dist/better-auth/plugin/payload/views/admin-login/client.js +226 -0
  325. package/dist/better-auth/plugin/payload/views/admin-login/client.js.map +1 -0
  326. package/dist/better-auth/plugin/payload/views/admin-login/index.d.ts +10 -0
  327. package/dist/better-auth/plugin/payload/views/admin-login/index.js +150 -0
  328. package/dist/better-auth/plugin/payload/views/admin-login/index.js.map +1 -0
  329. package/dist/better-auth/plugin/payload/views/admin-signup/client.d.ts +16 -0
  330. package/dist/better-auth/plugin/payload/views/admin-signup/client.js +299 -0
  331. package/dist/better-auth/plugin/payload/views/admin-signup/client.js.map +1 -0
  332. package/dist/better-auth/plugin/payload/views/admin-signup/index.d.ts +9 -0
  333. package/dist/better-auth/plugin/payload/views/admin-signup/index.js +104 -0
  334. package/dist/better-auth/plugin/payload/views/admin-signup/index.js.map +1 -0
  335. package/dist/better-auth/plugin/payload/views/forgot-password/client.d.ts +7 -0
  336. package/dist/better-auth/plugin/payload/views/forgot-password/client.js +119 -0
  337. package/dist/better-auth/plugin/payload/views/forgot-password/client.js.map +1 -0
  338. package/dist/better-auth/plugin/payload/views/forgot-password/index.d.ts +8 -0
  339. package/dist/better-auth/plugin/payload/views/forgot-password/index.js +78 -0
  340. package/dist/better-auth/plugin/payload/views/forgot-password/index.js.map +1 -0
  341. package/dist/better-auth/plugin/payload/views/reset-password/client.d.ts +10 -0
  342. package/dist/better-auth/plugin/payload/views/reset-password/client.js +144 -0
  343. package/dist/better-auth/plugin/payload/views/reset-password/client.js.map +1 -0
  344. package/dist/better-auth/plugin/payload/views/reset-password/index.d.ts +8 -0
  345. package/dist/better-auth/plugin/payload/views/reset-password/index.js +96 -0
  346. package/dist/better-auth/plugin/payload/views/reset-password/index.js.map +1 -0
  347. package/dist/better-auth/plugin/payload/views/two-factor-verify/client.d.ts +6 -0
  348. package/dist/better-auth/plugin/payload/views/two-factor-verify/client.js +96 -0
  349. package/dist/better-auth/plugin/payload/views/two-factor-verify/client.js.map +1 -0
  350. package/dist/better-auth/plugin/payload/views/two-factor-verify/index.d.ts +9 -0
  351. package/dist/better-auth/plugin/payload/views/two-factor-verify/index.js +56 -0
  352. package/dist/better-auth/plugin/payload/views/two-factor-verify/index.js.map +1 -0
  353. package/dist/better-auth/plugin/types.d.ts +429 -0
  354. package/dist/better-auth/plugin/types.js +3 -0
  355. package/dist/better-auth/plugin/types.js.map +1 -0
  356. package/dist/better-auth/plugin/utils/set.d.ts +39 -0
  357. package/dist/better-auth/plugin/utils/set.js +103 -0
  358. package/dist/better-auth/plugin/utils/set.js.map +1 -0
  359. package/dist/better-auth/scripts/generate-types.d.ts +1 -0
  360. package/dist/better-auth/scripts/generate-types.js +234 -0
  361. package/dist/better-auth/scripts/generate-types.js.map +1 -0
  362. package/dist/better-auth/types.d.ts +2 -0
  363. package/dist/better-auth/types.js +4 -0
  364. package/dist/better-auth/types.js.map +1 -0
  365. package/dist/index.d.ts +1 -0
  366. package/dist/index.js +4 -0
  367. package/dist/index.js.map +1 -0
  368. package/dist/shared/components/icons.d.ts +7 -0
  369. package/dist/shared/components/icons.js +442 -0
  370. package/dist/shared/components/icons.js.map +1 -0
  371. package/dist/shared/components/logo.d.ts +3 -0
  372. package/dist/shared/components/logo.js +24 -0
  373. package/dist/shared/components/logo.js.map +1 -0
  374. package/dist/shared/form/components/submit.d.ts +7 -0
  375. package/dist/shared/form/components/submit.js +16 -0
  376. package/dist/shared/form/components/submit.js.map +1 -0
  377. package/dist/shared/form/fields/text-field.d.ts +8 -0
  378. package/dist/shared/form/fields/text-field.js +37 -0
  379. package/dist/shared/form/fields/text-field.js.map +1 -0
  380. package/dist/shared/form/index.d.ts +4 -0
  381. package/dist/shared/form/index.js +8 -0
  382. package/dist/shared/form/index.js.map +1 -0
  383. package/dist/shared/form/ui/header/index.d.ts +8 -0
  384. package/dist/shared/form/ui/header/index.js +24 -0
  385. package/dist/shared/form/ui/header/index.js.map +1 -0
  386. package/dist/shared/form/ui/index.d.ts +31 -0
  387. package/dist/shared/form/ui/index.js +57 -0
  388. package/dist/shared/form/ui/index.js.map +1 -0
  389. package/dist/shared/form/validation.d.ts +51 -0
  390. package/dist/shared/form/validation.js +127 -0
  391. package/dist/shared/form/validation.js.map +1 -0
  392. package/dist/shared/index.d.ts +2 -0
  393. package/dist/shared/index.js +4 -0
  394. package/dist/shared/index.js.map +1 -0
  395. package/dist/shared/payload/fields/field-copy-button/index.d.ts +3 -0
  396. package/dist/shared/payload/fields/field-copy-button/index.js +38 -0
  397. package/dist/shared/payload/fields/field-copy-button/index.js.map +1 -0
  398. package/dist/shared/payload/fields/generate-uuid-button/index.d.ts +3 -0
  399. package/dist/shared/payload/fields/generate-uuid-button/index.js +26 -0
  400. package/dist/shared/payload/fields/generate-uuid-button/index.js.map +1 -0
  401. package/dist/shared/payload/fields/index.d.ts +2 -0
  402. package/dist/shared/payload/fields/index.js +4 -0
  403. package/dist/shared/payload/fields/index.js.map +1 -0
  404. package/dist/shared/utils/regex.d.ts +2 -0
  405. package/dist/shared/utils/regex.js +4 -0
  406. package/dist/shared/utils/regex.js.map +1 -0
  407. package/dist/shared/utils/try-catch.d.ts +11 -0
  408. package/dist/shared/utils/try-catch.js +17 -0
  409. package/dist/shared/utils/try-catch.js.map +1 -0
  410. package/dist/shared/utils/value-or-default.d.ts +9 -0
  411. package/dist/shared/utils/value-or-default.js +12 -0
  412. package/dist/shared/utils/value-or-default.js.map +1 -0
  413. package/package.json +122 -0
@@ -0,0 +1,442 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React from "react";
3
+ export const Icons = {
4
+ apple: ({ className, ...props })=>/*#__PURE__*/ _jsxs("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ viewBox: "0 0 24 24",
7
+ ...props,
8
+ children: [
9
+ /*#__PURE__*/ _jsx("title", {
10
+ children: 'Apple'
11
+ }),
12
+ /*#__PURE__*/ _jsx("path", {
13
+ fill: "currentColor",
14
+ d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"
15
+ })
16
+ ]
17
+ }),
18
+ discord: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ viewBox: "0 0 24 24",
21
+ ...props,
22
+ children: [
23
+ /*#__PURE__*/ _jsx("title", {
24
+ children: 'Discord'
25
+ }),
26
+ /*#__PURE__*/ _jsx("path", {
27
+ fill: "#5865F2",
28
+ d: "M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z"
29
+ })
30
+ ]
31
+ }) : /*#__PURE__*/ _jsxs("svg", {
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ viewBox: "0 0 24 24",
34
+ ...props,
35
+ children: [
36
+ /*#__PURE__*/ _jsx("title", {
37
+ children: 'Discord'
38
+ }),
39
+ /*#__PURE__*/ _jsx("path", {
40
+ fill: "currentColor",
41
+ d: "M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z"
42
+ })
43
+ ]
44
+ }),
45
+ facebook: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
46
+ className: className,
47
+ viewBox: "0 0 256 256",
48
+ xmlns: "http://www.w3.org/2000/svg",
49
+ role: "img",
50
+ "aria-label": "Facebook",
51
+ ...props,
52
+ children: [
53
+ /*#__PURE__*/ _jsx("title", {
54
+ children: "Facebook"
55
+ }),
56
+ /*#__PURE__*/ _jsx("path", {
57
+ d: "M256 128C256 57.308 198.692 0 128 0S0 57.308 0 128c0 63.888 46.808 116.843 108 126.445V165H75.5v-37H108V99.8c0-32.08 19.11-49.8 48.348-49.8C170.352 50 185 52.5 185 52.5V84h-16.14C152.959 84 148 93.867 148 103.99V128h35.5l-5.675 37H148v89.445c61.192-9.602 108-62.556 108-126.445",
58
+ fill: "#1877f2"
59
+ }),
60
+ /*#__PURE__*/ _jsx("path", {
61
+ d: "m177.825 165l5.675-37H148v-24.01C148 93.866 152.959 84 168.86 84H185V52.5S170.352 50 156.347 50C127.11 50 108 67.72 108 99.8V128H75.5v37H108v89.445A129 129 0 0 0 128 256a129 129 0 0 0 20-1.555V165z",
62
+ fill: "#fff"
63
+ })
64
+ ]
65
+ }) : /*#__PURE__*/ _jsxs("svg", {
66
+ xmlns: "http://www.w3.org/2000/svg",
67
+ viewBox: "0 0 24 24",
68
+ ...props,
69
+ children: [
70
+ /*#__PURE__*/ _jsx("title", {
71
+ children: 'Facebook'
72
+ }),
73
+ /*#__PURE__*/ _jsx("path", {
74
+ fill: "currentColor",
75
+ d: "M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"
76
+ })
77
+ ]
78
+ }),
79
+ github: ({ className, ...props })=>/*#__PURE__*/ _jsxs("svg", {
80
+ xmlns: "http://www.w3.org/2000/svg",
81
+ viewBox: "0 0 24 24",
82
+ ...props,
83
+ children: [
84
+ /*#__PURE__*/ _jsx("title", {
85
+ children: 'GitHub'
86
+ }),
87
+ /*#__PURE__*/ _jsx("path", {
88
+ fill: "currentColor",
89
+ d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
90
+ })
91
+ ]
92
+ }),
93
+ google: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
94
+ className: className,
95
+ viewBox: "0 0 256 262",
96
+ xmlns: "http://www.w3.org/2000/svg",
97
+ ...props,
98
+ children: [
99
+ /*#__PURE__*/ _jsx("path", {
100
+ d: "M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",
101
+ fill: "#4285f4"
102
+ }),
103
+ /*#__PURE__*/ _jsx("path", {
104
+ d: "M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",
105
+ fill: "#34a853"
106
+ }),
107
+ /*#__PURE__*/ _jsx("path", {
108
+ d: "M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z",
109
+ fill: "#fbbc05"
110
+ }),
111
+ /*#__PURE__*/ _jsx("path", {
112
+ d: "M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",
113
+ fill: "#eb4335"
114
+ })
115
+ ]
116
+ }) : /*#__PURE__*/ _jsx("svg", {
117
+ className: className,
118
+ viewBox: "0 0 488 512",
119
+ xmlns: "http://www.w3.org/2000/svg",
120
+ ...props,
121
+ children: /*#__PURE__*/ _jsx("path", {
122
+ d: "M488 261.8C488 403.3 391.1 504 248 504C110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6c98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4",
123
+ fill: "currentColor"
124
+ })
125
+ }),
126
+ kick: ({ className, ...props })=>/*#__PURE__*/ _jsx("svg", {
127
+ className: className,
128
+ xmlns: "http://www.w3.org/2000/svg",
129
+ width: 24,
130
+ height: 24,
131
+ viewBox: "0 0 24 24",
132
+ ...props,
133
+ children: /*#__PURE__*/ _jsx("path", {
134
+ fill: "#888888",
135
+ d: "M9 3a1 1 0 0 1 1 1v3h1V6a1 1 0 0 1 .883-.993L12 5h1V4a1 1 0 0 1 .883-.993L14 3h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v1a1 1 0 0 1-.883.993L18 11h-1v2h1a1 1 0 0 1 .993.883L19 14v1h1a1 1 0 0 1 .993.883L21 16v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-1h-1a1 1 0 0 1-.993-.883L11 18v-1h-1v3a1 1 0 0 1-.883.993L9 21H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"
136
+ })
137
+ }),
138
+ microsoft: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
139
+ className: className,
140
+ viewBox: "0 0 256 256",
141
+ xmlns: "http://www.w3.org/2000/svg",
142
+ ...props,
143
+ children: [
144
+ /*#__PURE__*/ _jsx("path", {
145
+ d: "M121.666 121.666H0V0h121.666z",
146
+ fill: "#f1511b"
147
+ }),
148
+ /*#__PURE__*/ _jsx("path", {
149
+ d: "M256 121.666H134.335V0H256z",
150
+ fill: "#80cc28"
151
+ }),
152
+ /*#__PURE__*/ _jsx("path", {
153
+ d: "M121.663 256.002H0V134.336h121.663z",
154
+ fill: "#00adef"
155
+ }),
156
+ /*#__PURE__*/ _jsx("path", {
157
+ d: "M256 256.002H134.335V134.336H256z",
158
+ fill: "#fbbc09"
159
+ })
160
+ ]
161
+ }) : /*#__PURE__*/ _jsx("svg", {
162
+ className: className,
163
+ viewBox: "0 0 32 32",
164
+ xmlns: "http://www.w3.org/2000/svg",
165
+ ...props,
166
+ children: /*#__PURE__*/ _jsx("path", {
167
+ d: "M15.198 32H0V16.802h15.198zM32 32H16.802V16.802H32zM15.198 15.198H0V0h15.198zm16.802 0H16.802V0H32z",
168
+ fill: "currentColor"
169
+ })
170
+ }),
171
+ tiktok: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
172
+ className: className,
173
+ viewBox: "0 0 256 290",
174
+ xmlns: "http://www.w3.org/2000/svg",
175
+ ...props,
176
+ children: [
177
+ /*#__PURE__*/ _jsx("path", {
178
+ d: "M189.72 104.421c18.678 13.345 41.56 21.197 66.273 21.197v-47.53a67 67 0 0 1-13.918-1.456v37.413c-24.711 0-47.59-7.851-66.272-21.195v96.996c0 48.523-39.356 87.855-87.9 87.855c-18.113 0-34.949-5.473-48.934-14.86c15.962 16.313 38.222 26.432 62.848 26.432c48.548 0 87.905-39.332 87.905-87.857v-96.995zm17.17-47.952c-9.546-10.423-15.814-23.893-17.17-38.785v-6.113h-13.189c3.32 18.927 14.644 35.097 30.358 44.898M69.673 225.607a40 40 0 0 1-8.203-24.33c0-22.192 18.001-40.186 40.21-40.186a40.3 40.3 0 0 1 12.197 1.883v-48.593c-4.61-.631-9.262-.9-13.912-.801v37.822a40.3 40.3 0 0 0-12.203-1.882c-22.208 0-40.208 17.992-40.208 40.187c0 15.694 8.997 29.281 22.119 35.9",
179
+ fill: "#ff004f"
180
+ }),
181
+ /*#__PURE__*/ _jsx("path", {
182
+ d: "M175.803 92.849c18.683 13.344 41.56 21.195 66.272 21.195V76.631c-13.794-2.937-26.005-10.141-35.186-20.162c-15.715-9.802-27.038-25.972-30.358-44.898h-34.643v189.843c-.079 22.132-18.049 40.052-40.21 40.052c-13.058 0-24.66-6.221-32.007-15.86c-13.12-6.618-22.118-20.206-22.118-35.898c0-22.193 18-40.187 40.208-40.187c4.255 0 8.356.662 12.203 1.882v-37.822c-47.692.985-86.047 39.933-86.047 87.834c0 23.912 9.551 45.589 25.053 61.428c13.985 9.385 30.82 14.86 48.934 14.86c48.545 0 87.9-39.335 87.9-87.857z"
183
+ }),
184
+ /*#__PURE__*/ _jsx("path", {
185
+ d: "M242.075 76.63V66.516a66.3 66.3 0 0 1-35.186-10.047a66.47 66.47 0 0 0 35.186 20.163M176.53 11.57a68 68 0 0 1-.728-5.457V0h-47.834v189.845c-.076 22.13-18.046 40.05-40.208 40.05a40.06 40.06 0 0 1-18.09-4.287c7.347 9.637 18.949 15.857 32.007 15.857c22.16 0 40.132-17.918 40.21-40.05V11.571zM99.966 113.58v-10.769a89 89 0 0 0-12.061-.818C39.355 101.993 0 141.327 0 189.845c0 30.419 15.467 57.227 38.971 72.996c-15.502-15.838-25.053-37.516-25.053-61.427c0-47.9 38.354-86.848 86.048-87.833",
186
+ fill: "#00f2ea"
187
+ })
188
+ ]
189
+ }) : /*#__PURE__*/ _jsx("svg", {
190
+ className: className,
191
+ viewBox: "0 0 448 512",
192
+ xmlns: "http://www.w3.org/2000/svg",
193
+ ...props,
194
+ children: /*#__PURE__*/ _jsx("path", {
195
+ d: "M448 209.91a210.06 210.06 0 0 1-122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121 121 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z",
196
+ fill: "currentColor"
197
+ })
198
+ }),
199
+ twitch: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
200
+ className: className,
201
+ id: "Layer_1",
202
+ version: "1.1",
203
+ viewBox: "0 0 2400 2800",
204
+ x: "0px",
205
+ xmlSpace: "preserve",
206
+ xmlns: "http://www.w3.org/2000/svg",
207
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
208
+ y: "0px",
209
+ ...props,
210
+ children: [
211
+ /*#__PURE__*/ _jsx("style", {
212
+ type: "text/css",
213
+ children: `
214
+ .st0{fill:#FFFFFF}
215
+ .st1{fill:#9146FF}
216
+ `
217
+ }),
218
+ /*#__PURE__*/ _jsx("title", {
219
+ children: "Asset 2"
220
+ }),
221
+ /*#__PURE__*/ _jsxs("g", {
222
+ children: [
223
+ /*#__PURE__*/ _jsx("polygon", {
224
+ className: "st0",
225
+ points: "2200,1300 1800,1700 1400,1700 1050,2050 1050,1700 600,1700 600,200 2200,200"
226
+ }),
227
+ /*#__PURE__*/ _jsx("g", {
228
+ children: /*#__PURE__*/ _jsxs("g", {
229
+ id: "Layer_1-2",
230
+ children: [
231
+ /*#__PURE__*/ _jsx("path", {
232
+ className: "st1",
233
+ d: "M500,0L0,500v1800h600v500l500-500h400l900-900V0H500z M2200,1300l-400,400h-400l-350,350v-350H600V200h1600V1300z"
234
+ }),
235
+ /*#__PURE__*/ _jsx("rect", {
236
+ className: "st1",
237
+ height: "600",
238
+ width: "200",
239
+ x: "1700",
240
+ y: "550"
241
+ }),
242
+ /*#__PURE__*/ _jsx("rect", {
243
+ className: "st1",
244
+ height: "600",
245
+ width: "200",
246
+ x: "1150",
247
+ y: "550"
248
+ })
249
+ ]
250
+ })
251
+ })
252
+ ]
253
+ })
254
+ ]
255
+ }) : /*#__PURE__*/ _jsx("svg", {
256
+ className: className,
257
+ viewBox: "0 0 32 32",
258
+ xmlns: "http://www.w3.org/2000/svg",
259
+ ...props,
260
+ children: /*#__PURE__*/ _jsx("path", {
261
+ d: "m31.937 18.115l-1.787-5.511l-3.552-10.921a.607.607 0 0 0-1.156 0L21.89 12.599H10.109L6.557 1.683c-.183-.563-.979-.563-1.156 0L1.849 12.599L.057 18.115c-.161.5.021 1.052.443 1.364L16 30.74l15.5-11.261c.421-.312.604-.859.437-1.364",
262
+ fill: "currentColor"
263
+ })
264
+ }),
265
+ twitter: ({ className, ...props })=>/*#__PURE__*/ _jsx("svg", {
266
+ className: className,
267
+ viewBox: "0 0 512 512",
268
+ xmlns: "http://www.w3.org/2000/svg",
269
+ ...props,
270
+ children: /*#__PURE__*/ _jsx("path", {
271
+ d: "M64 32C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64zm297.1 84L257.3 224.2L487 464H345L233.7 318.6L106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9zm-24.8 373.8h39.1L151.1 88h-42z",
272
+ fill: "currentColor"
273
+ })
274
+ }),
275
+ dropbox: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsx("svg", {
276
+ className: className,
277
+ viewBox: "0 0 256 218",
278
+ xmlns: "http://www.w3.org/2000/svg",
279
+ ...props,
280
+ children: /*#__PURE__*/ _jsx("path", {
281
+ d: "M63.995 0L0 40.771l63.995 40.772L128 40.771zM192 0l-64 40.775l64 40.775l64.001-40.775zM0 122.321l63.995 40.772L128 122.321L63.995 81.55zM192 81.55l-64 40.775l64 40.774l64-40.774zM64 176.771l64.005 40.772L192 176.771L128.005 136z",
282
+ fill: "#0061ff"
283
+ })
284
+ }) : /*#__PURE__*/ _jsx("svg", {
285
+ className: className,
286
+ viewBox: "0 0 24 24",
287
+ xmlns: "http://www.w3.org/2000/svg",
288
+ ...props,
289
+ children: /*#__PURE__*/ _jsx("path", {
290
+ d: "M6 1.807L0 5.629l6 3.822l6.001-3.822zm12 0l-6 3.822l6 3.822l6-3.822zM0 13.274l6 3.822l6.001-3.822L6 9.452zm18-3.822l-6 3.822l6 3.822l6-3.822zM6 18.371l6.001 3.822l6-3.822l-6-3.822z",
291
+ fill: "currentColor"
292
+ })
293
+ }),
294
+ linkedin: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
295
+ className: className,
296
+ viewBox: "0 0 128 128",
297
+ xmlns: "http://www.w3.org/2000/svg",
298
+ ...props,
299
+ children: [
300
+ /*#__PURE__*/ _jsx("path", {
301
+ d: "M116 3H12a8.91 8.91 0 0 0-9 8.8v104.42a8.91 8.91 0 0 0 9 8.78h104a8.93 8.93 0 0 0 9-8.81V11.77A8.93 8.93 0 0 0 116 3",
302
+ fill: "#0076b2"
303
+ }),
304
+ /*#__PURE__*/ _jsx("path", {
305
+ d: "M213.15 165l5.675-37H148v-24.01C148 93.866 152.959 84 168.86 84H185V52.5S170.352 50 156.347 50C127.11 50 108 67.72 108 99.8V128H75.5v37H108v89.445A129 129 0 0 0 128 256a129 129 0 0 0 20-1.555V165z",
306
+ fill: "#fff"
307
+ })
308
+ ]
309
+ }) : /*#__PURE__*/ _jsx("svg", {
310
+ className: className,
311
+ viewBox: "0 0 16 16",
312
+ xmlns: "http://www.w3.org/2000/svg",
313
+ ...props,
314
+ children: /*#__PURE__*/ _jsx("path", {
315
+ d: "M14.815 0a1.17 1.17 0 0 1 1.176 1.026l.009.127v13.692a1.17 1.17 0 0 1-1.058 1.15l-.127.005H1.18a1.17 1.17 0 0 1-1.173-1.028L0 14.845V1.155A1.17 1.17 0 0 1 1.053.006L1.181 0zM11 5.812l-.213-.004A2.5 2.5 0 0 0 8.64 6.887l-.098.154h-.031V5.998H6.235v7.635h2.37V9.856c0-.996.19-1.96 1.424-1.96c1.006 0 1.191.777 1.225 1.547l.008.477v3.713h2.37l.002-4.188c0-1.994-.417-3.54-2.633-3.633zm-6.256.186H2.372v7.635h2.373V5.998zM3.56 2.203a1.376 1.376 0 1 0 0 2.751a1.376 1.376 0 0 0 0-2.751",
316
+ fill: "currentColor"
317
+ })
318
+ }),
319
+ gitlab: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
320
+ className: className,
321
+ viewBox: "0 0 256 236",
322
+ xmlns: "http://www.w3.org/2000/svg",
323
+ ...props,
324
+ children: [
325
+ /*#__PURE__*/ _jsx("path", {
326
+ d: "m128.075 236.075l47.104-144.97H80.97z",
327
+ fill: "#e24329"
328
+ }),
329
+ /*#__PURE__*/ _jsx("path", {
330
+ d: "M128.075 236.074L80.97 91.104H14.956z",
331
+ fill: "#fc6d26"
332
+ }),
333
+ /*#__PURE__*/ _jsx("path", {
334
+ d: "M14.956 91.104L.642 135.16a9.75 9.75 0 0 0 3.542 10.903l123.891 90.012z",
335
+ fill: "#fca326"
336
+ }),
337
+ /*#__PURE__*/ _jsx("path", {
338
+ d: "M14.956 91.105H80.97L52.601 3.79c-1.46-4.493-7.816-4.492-9.275 0z",
339
+ fill: "#e24329"
340
+ }),
341
+ /*#__PURE__*/ _jsx("path", {
342
+ d: "m128.075 236.074l47.104-144.97h66.015z",
343
+ fill: "#fc6d26"
344
+ }),
345
+ /*#__PURE__*/ _jsx("path", {
346
+ d: "m241.194 91.104l14.314 44.056a9.75 9.75 0 0 1-3.543 10.903l-123.89 90.012z",
347
+ fill: "#fca326"
348
+ }),
349
+ /*#__PURE__*/ _jsx("path", {
350
+ d: "M241.194 91.105h-66.015l28.37-87.315c1.46-4.493 7.816-4.492 9.275 0z",
351
+ fill: "#e24329"
352
+ })
353
+ ]
354
+ }) : /*#__PURE__*/ _jsx("svg", {
355
+ className: className,
356
+ viewBox: "0 0 32 32",
357
+ xmlns: "http://www.w3.org/2000/svg",
358
+ ...props,
359
+ children: /*#__PURE__*/ _jsx("path", {
360
+ d: "m31.937 18.115l-1.787-5.511l-3.552-10.921a.607.607 0 0 0-1.156 0L21.89 12.599H10.109L6.557 1.683c-.183-.563-.979-.563-1.156 0L1.849 12.599L.057 18.115c-.161.5.021 1.052.443 1.364L16 30.74l15.5-11.261c.421-.312.604-.859.437-1.364",
361
+ fill: "currentColor"
362
+ })
363
+ }),
364
+ reddit: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsxs("svg", {
365
+ className: className,
366
+ viewBox: "0 0 256 256",
367
+ xmlns: "http://www.w3.org/2000/svg",
368
+ ...props,
369
+ children: [
370
+ /*#__PURE__*/ _jsx("circle", {
371
+ cx: "128",
372
+ cy: "128",
373
+ fill: "#ff4500",
374
+ r: "128"
375
+ }),
376
+ /*#__PURE__*/ _jsx("path", {
377
+ d: "M213.15 129.22c0-10.376-8.391-18.617-18.617-18.617a18.74 18.74 0 0 0-12.97 5.189c-12.818-9.157-30.368-15.107-49.9-15.87l8.544-39.981l27.773 5.95c.307 7.02 6.104 12.667 13.278 12.667c7.324 0 13.275-5.95 13.275-13.278c0-7.324-5.95-13.275-13.275-13.275c-5.188 0-9.768 3.052-11.904 7.478l-30.976-6.562c-.916-.154-1.832 0-2.443.458c-.763.458-1.22 1.22-1.371 2.136l-9.464 44.558c-19.837.612-37.692 6.562-50.662 15.872a18.74 18.74 0 0 0-12.971-5.188c-10.377 0-18.617 8.391-18.617 18.617c0 7.629 4.577 14.037 10.988 16.939a33.6 33.6 0 0 0-.458 5.646c0 28.686 33.42 52.036 74.621 52.036c41.202 0 74.622-23.196 74.622-52.036a35 35 0 0 0-.458-5.646c6.408-2.902 10.985-9.464 10.985-17.093M85.272 142.495c0-7.324 5.95-13.275 13.278-13.275c7.324 0 13.275 5.95 13.275 13.275s-5.95 13.278-13.275 13.278c-7.327.15-13.278-5.953-13.278-13.278m74.317 35.251c-9.156 9.157-26.553 9.768-31.588 9.768c-5.188 0-22.584-.765-31.59-9.768c-1.371-1.373-1.371-3.51 0-4.883c1.374-1.371 3.51-1.371 4.884 0c5.8 5.8 18.008 7.782 26.706 7.782s21.058-1.983 26.704-7.782c1.374-1.371 3.51-1.371 4.884 0c1.22 1.373 1.22 3.51 0 4.883m-2.443-21.822c-7.325 0-13.275-5.95-13.275-13.275s5.95-13.275 13.275-13.275c7.327 0 13.277 5.95 13.277 13.275c0 7.17-5.95 13.275-13.277 13.275",
378
+ fill: "#fff"
379
+ })
380
+ ]
381
+ }) : /*#__PURE__*/ _jsx("svg", {
382
+ className: className,
383
+ viewBox: "0 0 16 16",
384
+ xmlns: "http://www.w3.org/2000/svg",
385
+ ...props,
386
+ children: /*#__PURE__*/ _jsx("path", {
387
+ d: "M14.815 0a1.17 1.17 0 0 1 1.176 1.026l.009.127v13.692a1.17 1.17 0 0 1-1.058 1.15l-.127.005H1.18a1.17 1.17 0 0 1-1.173-1.028L0 14.845V1.155A1.17 1.17 0 0 1 1.053.006L1.181 0zM11 5.812l-.213-.004A2.5 2.5 0 0 0 8.64 6.887l-.098.154h-.031V5.998H6.235v7.635h2.37V9.856c0-.996.19-1.96 1.424-1.96c1.006 0 1.191.777 1.225 1.547l.008.477v3.713h2.37l.002-4.188c0-1.994-.417-3.54-2.633-3.633zm-6.256.186H2.372v7.635h2.373V5.998zM3.56 2.203a1.376 1.376 0 1 0 0 2.751a1.376 1.376 0 0 0 0-2.751",
388
+ fill: "currentColor"
389
+ })
390
+ }),
391
+ roblox: ({ className, ...props })=>/*#__PURE__*/ _jsx("svg", {
392
+ className: className,
393
+ viewBox: "0 0 24 24",
394
+ xmlns: "http://www.w3.org/2000/svg",
395
+ ...props,
396
+ children: /*#__PURE__*/ _jsx("path", {
397
+ d: "M18.926 23.998L0 18.892L5.075.002L24 5.108ZM15.348 10.09l-5.282-1.453l-1.414 5.273l5.282 1.453z",
398
+ fill: "currentColor"
399
+ })
400
+ }),
401
+ spotify: ({ className, variant, ...props })=>variant === 'color' ? /*#__PURE__*/ _jsx("svg", {
402
+ className: className,
403
+ viewBox: "0 0 256 256",
404
+ xmlns: "http://www.w3.org/2000/svg",
405
+ ...props,
406
+ children: /*#__PURE__*/ _jsx("path", {
407
+ d: "M128 0C57.308 0 0 57.309 0 128c0 70.696 57.309 128 128 128c70.697 0 128-57.304 128-128C256 57.314 198.697.007 127.998.007zm58.699 184.614c-2.293 3.76-7.215 4.952-10.975 2.644c-30.053-18.357-67.885-22.515-112.44-12.335a7.98 7.98 0 0 1-9.552-6.007a7.97 7.97 0 0 1 6-9.553c48.76-11.14 90.583-6.344 124.323 14.276c3.76 2.308 4.952 7.215 2.644 10.975m15.667-34.853c-2.89 4.695-9.034 6.178-13.726 3.289c-34.406-21.148-86.853-27.273-127.548-14.92c-5.278 1.594-10.852-1.38-12.454-6.649c-1.59-5.278 1.386-10.842 6.655-12.446c46.485-14.106 104.275-7.273 143.787 17.007c4.692 2.89 6.175 9.034 3.286 13.72zm1.345-36.293C162.457 88.964 94.394 86.71 55.007 98.666c-6.325 1.918-13.014-1.653-14.93-7.978c-1.917-6.328 1.65-13.012 7.98-14.935C93.27 62.027 168.434 64.68 215.929 92.876c5.702 3.376 7.566 10.724 4.188 16.405c-3.362 5.69-10.73 7.565-16.4 4.187z",
408
+ fill: "#1ed760"
409
+ })
410
+ }) : /*#__PURE__*/ _jsx("svg", {
411
+ className: className,
412
+ viewBox: "0 0 32 32",
413
+ xmlns: "http://www.w3.org/2000/svg",
414
+ ...props,
415
+ children: /*#__PURE__*/ _jsx("path", {
416
+ d: "M16 0C7.197 0 0 7.197 0 16s7.197 16 16 16s16-7.197 16-16S24.88 0 16 0m7.36 23.12c-.319.479-.881.64-1.36.317c-3.76-2.317-8.479-2.797-14.083-1.52c-.557.165-1.037-.235-1.199-.72c-.156-.557.24-1.036.719-1.197c1.374-1.371 3.51-1.371 4.884 0c5.8 5.8 18.008 7.782 26.706 7.782s21.058-1.983 26.704-7.782c1.374-1.371 3.51-1.371 4.884 0c1.22 1.373 1.22 3.51 0 4.883m-2.443-21.822c-7.325 0-13.275-5.95-13.275-13.275s5.95-13.275 13.275-13.275c7.327 0 13.277 5.95 13.277 13.275c0 7.17-5.95 13.275-13.277 13.275",
417
+ fill: "currentColor"
418
+ })
419
+ }),
420
+ vk: ({ className, ...props })=>/*#__PURE__*/ _jsx("svg", {
421
+ className: className,
422
+ viewBox: "0 0 576 512",
423
+ xmlns: "http://www.w3.org/2000/svg",
424
+ ...props,
425
+ children: /*#__PURE__*/ _jsx("path", {
426
+ d: "M545 117.7c3.7-12.5 0-21.7-17.8-21.7h-58.9c-15 0-21.9 7.9-25.6 16.7c0 0-30 73.1-72.4 120.5c-13.7 13.7-20 18.1-27.5 18.1c-3.7 0-9.4-4.4-9.4-16.9V117.7c0-15-4.2-21.7-16.6-21.7h-92.6c-9.4 0-15 7-15 13.5c0 14.2 21.2 17.5 23.4 57.5v86.8c0 19-3.4 22.5-10.9 22.5c-20 0-68.6-73.4-97.4-157.4c-5.8-16.3-11.5-22.9-26.6-22.9H38.8c-16.8 0-20.2 7.9-20.2 16.7c0 15.6 20 93.1 93.1 195.5C160.4 378.1 229 416 291.4 416c37.5 0 42.1-8.4 42.1-22.9c0-66.8-3.4-73.1 15.4-73.1c8.7 0 23.7 4.4 58.7 38.1c40 40 46.6 57.9 69 57.9h58.9c16.8 0 25.3-8.4 20.4-25c-11.2-34.9-86.9-106.7-90.3-111.5c-8.7-11.2-6.2-16.2 0-26.2c.1-.1 72-101.3 79.4-135.6",
427
+ fill: "currentColor"
428
+ })
429
+ }),
430
+ x: ({ className, ...props })=>/*#__PURE__*/ _jsx("svg", {
431
+ className: className,
432
+ viewBox: "0 0 512 512",
433
+ xmlns: "http://www.w3.org/2000/svg",
434
+ ...props,
435
+ children: /*#__PURE__*/ _jsx("path", {
436
+ d: "M389.2 48h70.6L305.6 224.2L487 464H345L233.7 318.6L106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9zm-24.8 373.8h39.1L151.1 88h-42z",
437
+ fill: "currentColor"
438
+ })
439
+ })
440
+ };
441
+
442
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/shared/components/icons.tsx"],"sourcesContent":["import React, { type ComponentType, type SVGProps } from 'react';\n\nexport interface ProviderIconProps extends SVGProps<SVGSVGElement> {\n className?: string;\n variant?: 'default' | 'color';\n}\n\nexport type ProviderIcon = ComponentType<ProviderIconProps>;\n\nexport const Icons: Record<string, ProviderIcon> = {\n apple: ({ className, ...props }) => (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' {...props}>\n <title>{'Apple'}</title>\n <path\n fill='currentColor'\n d='M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701'\n />\n </svg>\n ),\n discord: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' {...props}>\n <title>{'Discord'}</title>\n <path\n fill='#5865F2'\n d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'\n />\n </svg>\n ) : (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' {...props}>\n <title>{'Discord'}</title>\n <path\n fill='currentColor'\n d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'\n />\n </svg>\n ),\n facebook: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 256'\n xmlns='http://www.w3.org/2000/svg'\n role='img'\n aria-label='Facebook'\n {...props}\n >\n <title>Facebook</title>\n <path\n d='M256 128C256 57.308 198.692 0 128 0S0 57.308 0 128c0 63.888 46.808 116.843 108 126.445V165H75.5v-37H108V99.8c0-32.08 19.11-49.8 48.348-49.8C170.352 50 185 52.5 185 52.5V84h-16.14C152.959 84 148 93.867 148 103.99V128h35.5l-5.675 37H148v89.445c61.192-9.602 108-62.556 108-126.445'\n fill='#1877f2'\n />\n\n <path\n d='m177.825 165l5.675-37H148v-24.01C148 93.866 152.959 84 168.86 84H185V52.5S170.352 50 156.347 50C127.11 50 108 67.72 108 99.8V128H75.5v37H108v89.445A129 129 0 0 0 128 256a129 129 0 0 0 20-1.555V165z'\n fill='#fff'\n />\n </svg>\n ) : (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' {...props}>\n <title>{'Facebook'}</title>\n <path\n fill='currentColor'\n d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'\n />\n </svg>\n ),\n github: ({ className, ...props }) => (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' {...props}>\n <title>{'GitHub'}</title>\n <path\n fill='currentColor'\n d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'\n />\n </svg>\n ),\n google: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 262'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path\n d='M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027'\n fill='#4285f4'\n />\n\n <path\n d='M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1'\n fill='#34a853'\n />\n\n <path\n d='M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z'\n fill='#fbbc05'\n />\n\n <path\n d='M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251'\n fill='#eb4335'\n />\n </svg>\n ) : (\n <svg\n className={className}\n viewBox='0 0 488 512'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path\n d='M488 261.8C488 403.3 391.1 504 248 504C110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6c98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4'\n fill='currentColor'\n />\n </svg>\n ),\n kick: ({ className, ...props }) => (\n <svg\n className={className}\n xmlns='http://www.w3.org/2000/svg'\n width={24}\n height={24}\n viewBox='0 0 24 24'\n {...props}\n >\n <path\n fill='#888888'\n d='M9 3a1 1 0 0 1 1 1v3h1V6a1 1 0 0 1 .883-.993L12 5h1V4a1 1 0 0 1 .883-.993L14 3h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v1a1 1 0 0 1-.883.993L18 11h-1v2h1a1 1 0 0 1 .993.883L19 14v1h1a1 1 0 0 1 .993.883L21 16v4a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-1h-1a1 1 0 0 1-.993-.883L11 18v-1h-1v3a1 1 0 0 1-.883.993L9 21H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'\n ></path>\n </svg>\n ),\n microsoft: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 256'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path d='M121.666 121.666H0V0h121.666z' fill='#f1511b' />\n <path d='M256 121.666H134.335V0H256z' fill='#80cc28' />\n <path d='M121.663 256.002H0V134.336h121.663z' fill='#00adef' />\n <path d='M256 256.002H134.335V134.336H256z' fill='#fbbc09' />\n </svg>\n ) : (\n <svg className={className} viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M15.198 32H0V16.802h15.198zM32 32H16.802V16.802H32zM15.198 15.198H0V0h15.198zm16.802 0H16.802V0H32z'\n fill='currentColor'\n />\n </svg>\n ),\n tiktok: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 290'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path\n d='M189.72 104.421c18.678 13.345 41.56 21.197 66.273 21.197v-47.53a67 67 0 0 1-13.918-1.456v37.413c-24.711 0-47.59-7.851-66.272-21.195v96.996c0 48.523-39.356 87.855-87.9 87.855c-18.113 0-34.949-5.473-48.934-14.86c15.962 16.313 38.222 26.432 62.848 26.432c48.548 0 87.905-39.332 87.905-87.857v-96.995zm17.17-47.952c-9.546-10.423-15.814-23.893-17.17-38.785v-6.113h-13.189c3.32 18.927 14.644 35.097 30.358 44.898M69.673 225.607a40 40 0 0 1-8.203-24.33c0-22.192 18.001-40.186 40.21-40.186a40.3 40.3 0 0 1 12.197 1.883v-48.593c-4.61-.631-9.262-.9-13.912-.801v37.822a40.3 40.3 0 0 0-12.203-1.882c-22.208 0-40.208 17.992-40.208 40.187c0 15.694 8.997 29.281 22.119 35.9'\n fill='#ff004f'\n />\n\n <path d='M175.803 92.849c18.683 13.344 41.56 21.195 66.272 21.195V76.631c-13.794-2.937-26.005-10.141-35.186-20.162c-15.715-9.802-27.038-25.972-30.358-44.898h-34.643v189.843c-.079 22.132-18.049 40.052-40.21 40.052c-13.058 0-24.66-6.221-32.007-15.86c-13.12-6.618-22.118-20.206-22.118-35.898c0-22.193 18-40.187 40.208-40.187c4.255 0 8.356.662 12.203 1.882v-37.822c-47.692.985-86.047 39.933-86.047 87.834c0 23.912 9.551 45.589 25.053 61.428c13.985 9.385 30.82 14.86 48.934 14.86c48.545 0 87.9-39.335 87.9-87.857z' />\n\n <path\n d='M242.075 76.63V66.516a66.3 66.3 0 0 1-35.186-10.047a66.47 66.47 0 0 0 35.186 20.163M176.53 11.57a68 68 0 0 1-.728-5.457V0h-47.834v189.845c-.076 22.13-18.046 40.05-40.208 40.05a40.06 40.06 0 0 1-18.09-4.287c7.347 9.637 18.949 15.857 32.007 15.857c22.16 0 40.132-17.918 40.21-40.05V11.571zM99.966 113.58v-10.769a89 89 0 0 0-12.061-.818C39.355 101.993 0 141.327 0 189.845c0 30.419 15.467 57.227 38.971 72.996c-15.502-15.838-25.053-37.516-25.053-61.427c0-47.9 38.354-86.848 86.048-87.833'\n fill='#00f2ea'\n />\n </svg>\n ) : (\n <svg\n className={className}\n viewBox='0 0 448 512'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path\n d='M448 209.91a210.06 210.06 0 0 1-122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121 121 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z'\n fill='currentColor'\n />\n </svg>\n ),\n twitch: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n id='Layer_1'\n version='1.1'\n viewBox='0 0 2400 2800'\n x='0px'\n xmlSpace='preserve'\n xmlns='http://www.w3.org/2000/svg'\n xmlnsXlink='http://www.w3.org/1999/xlink'\n y='0px'\n {...props}\n >\n <style type='text/css'>\n {`\n .st0{fill:#FFFFFF}\n .st1{fill:#9146FF}\n `}\n </style>\n <title>Asset 2</title>\n <g>\n <polygon\n className='st0'\n points='2200,1300 1800,1700 1400,1700 1050,2050 1050,1700 600,1700 600,200 2200,200'\n />\n <g>\n <g id='Layer_1-2'>\n <path\n className='st1'\n d='M500,0L0,500v1800h600v500l500-500h400l900-900V0H500z M2200,1300l-400,400h-400l-350,350v-350H600V200h1600V1300z'\n />\n <rect className='st1' height='600' width='200' x='1700' y='550' />\n <rect className='st1' height='600' width='200' x='1150' y='550' />\n </g>\n </g>\n </g>\n </svg>\n ) : (\n <svg className={className} viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='m31.937 18.115l-1.787-5.511l-3.552-10.921a.607.607 0 0 0-1.156 0L21.89 12.599H10.109L6.557 1.683c-.183-.563-.979-.563-1.156 0L1.849 12.599L.057 18.115c-.161.5.021 1.052.443 1.364L16 30.74l15.5-11.261c.421-.312.604-.859.437-1.364'\n fill='currentColor'\n />\n </svg>\n ),\n twitter: ({ className, ...props }) => (\n <svg className={className} viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M64 32C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64zm297.1 84L257.3 224.2L487 464H345L233.7 318.6L106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9zm-24.8 373.8h39.1L151.1 88h-42z'\n fill='currentColor'\n />\n </svg>\n ),\n dropbox: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 218'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path\n d='M63.995 0L0 40.771l63.995 40.772L128 40.771zM192 0l-64 40.775l64 40.775l64.001-40.775zM0 122.321l63.995 40.772L128 122.321L63.995 81.55zM192 81.55l-64 40.775l64 40.774l64-40.774zM64 176.771l64.005 40.772L192 176.771L128.005 136z'\n fill='#0061ff'\n />\n </svg>\n ) : (\n <svg className={className} viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M6 1.807L0 5.629l6 3.822l6.001-3.822zm12 0l-6 3.822l6 3.822l6-3.822zM0 13.274l6 3.822l6.001-3.822L6 9.452zm18-3.822l-6 3.822l6 3.822l6-3.822zM6 18.371l6.001 3.822l6-3.822l-6-3.822z'\n fill='currentColor'\n />\n </svg>\n ),\n linkedin: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 128 128'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path\n d='M116 3H12a8.91 8.91 0 0 0-9 8.8v104.42a8.91 8.91 0 0 0 9 8.78h104a8.93 8.93 0 0 0 9-8.81V11.77A8.93 8.93 0 0 0 116 3'\n fill='#0076b2'\n />\n <path\n d='M213.15 165l5.675-37H148v-24.01C148 93.866 152.959 84 168.86 84H185V52.5S170.352 50 156.347 50C127.11 50 108 67.72 108 99.8V128H75.5v37H108v89.445A129 129 0 0 0 128 256a129 129 0 0 0 20-1.555V165z'\n fill='#fff'\n />\n </svg>\n ) : (\n <svg className={className} viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M14.815 0a1.17 1.17 0 0 1 1.176 1.026l.009.127v13.692a1.17 1.17 0 0 1-1.058 1.15l-.127.005H1.18a1.17 1.17 0 0 1-1.173-1.028L0 14.845V1.155A1.17 1.17 0 0 1 1.053.006L1.181 0zM11 5.812l-.213-.004A2.5 2.5 0 0 0 8.64 6.887l-.098.154h-.031V5.998H6.235v7.635h2.37V9.856c0-.996.19-1.96 1.424-1.96c1.006 0 1.191.777 1.225 1.547l.008.477v3.713h2.37l.002-4.188c0-1.994-.417-3.54-2.633-3.633zm-6.256.186H2.372v7.635h2.373V5.998zM3.56 2.203a1.376 1.376 0 1 0 0 2.751a1.376 1.376 0 0 0 0-2.751'\n fill='currentColor'\n />\n </svg>\n ),\n gitlab: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 236'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path d='m128.075 236.075l47.104-144.97H80.97z' fill='#e24329' />\n <path d='M128.075 236.074L80.97 91.104H14.956z' fill='#fc6d26' />\n <path\n d='M14.956 91.104L.642 135.16a9.75 9.75 0 0 0 3.542 10.903l123.891 90.012z'\n fill='#fca326'\n />\n <path\n d='M14.956 91.105H80.97L52.601 3.79c-1.46-4.493-7.816-4.492-9.275 0z'\n fill='#e24329'\n />\n <path d='m128.075 236.074l47.104-144.97h66.015z' fill='#fc6d26' />\n <path\n d='m241.194 91.104l14.314 44.056a9.75 9.75 0 0 1-3.543 10.903l-123.89 90.012z'\n fill='#fca326'\n />\n <path\n d='M241.194 91.105h-66.015l28.37-87.315c1.46-4.493 7.816-4.492 9.275 0z'\n fill='#e24329'\n />\n </svg>\n ) : (\n <svg className={className} viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='m31.937 18.115l-1.787-5.511l-3.552-10.921a.607.607 0 0 0-1.156 0L21.89 12.599H10.109L6.557 1.683c-.183-.563-.979-.563-1.156 0L1.849 12.599L.057 18.115c-.161.5.021 1.052.443 1.364L16 30.74l15.5-11.261c.421-.312.604-.859.437-1.364'\n fill='currentColor'\n />\n </svg>\n ),\n reddit: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 256'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <circle cx='128' cy='128' fill='#ff4500' r='128' />\n\n <path\n d='M213.15 129.22c0-10.376-8.391-18.617-18.617-18.617a18.74 18.74 0 0 0-12.97 5.189c-12.818-9.157-30.368-15.107-49.9-15.87l8.544-39.981l27.773 5.95c.307 7.02 6.104 12.667 13.278 12.667c7.324 0 13.275-5.95 13.275-13.278c0-7.324-5.95-13.275-13.275-13.275c-5.188 0-9.768 3.052-11.904 7.478l-30.976-6.562c-.916-.154-1.832 0-2.443.458c-.763.458-1.22 1.22-1.371 2.136l-9.464 44.558c-19.837.612-37.692 6.562-50.662 15.872a18.74 18.74 0 0 0-12.971-5.188c-10.377 0-18.617 8.391-18.617 18.617c0 7.629 4.577 14.037 10.988 16.939a33.6 33.6 0 0 0-.458 5.646c0 28.686 33.42 52.036 74.621 52.036c41.202 0 74.622-23.196 74.622-52.036a35 35 0 0 0-.458-5.646c6.408-2.902 10.985-9.464 10.985-17.093M85.272 142.495c0-7.324 5.95-13.275 13.278-13.275c7.324 0 13.275 5.95 13.275 13.275s-5.95 13.278-13.275 13.278c-7.327.15-13.278-5.953-13.278-13.278m74.317 35.251c-9.156 9.157-26.553 9.768-31.588 9.768c-5.188 0-22.584-.765-31.59-9.768c-1.371-1.373-1.371-3.51 0-4.883c1.374-1.371 3.51-1.371 4.884 0c5.8 5.8 18.008 7.782 26.706 7.782s21.058-1.983 26.704-7.782c1.374-1.371 3.51-1.371 4.884 0c1.22 1.373 1.22 3.51 0 4.883m-2.443-21.822c-7.325 0-13.275-5.95-13.275-13.275s5.95-13.275 13.275-13.275c7.327 0 13.277 5.95 13.277 13.275c0 7.17-5.95 13.275-13.277 13.275'\n fill='#fff'\n />\n </svg>\n ) : (\n <svg className={className} viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M14.815 0a1.17 1.17 0 0 1 1.176 1.026l.009.127v13.692a1.17 1.17 0 0 1-1.058 1.15l-.127.005H1.18a1.17 1.17 0 0 1-1.173-1.028L0 14.845V1.155A1.17 1.17 0 0 1 1.053.006L1.181 0zM11 5.812l-.213-.004A2.5 2.5 0 0 0 8.64 6.887l-.098.154h-.031V5.998H6.235v7.635h2.37V9.856c0-.996.19-1.96 1.424-1.96c1.006 0 1.191.777 1.225 1.547l.008.477v3.713h2.37l.002-4.188c0-1.994-.417-3.54-2.633-3.633zm-6.256.186H2.372v7.635h2.373V5.998zM3.56 2.203a1.376 1.376 0 1 0 0 2.751a1.376 1.376 0 0 0 0-2.751'\n fill='currentColor'\n />\n </svg>\n ),\n roblox: ({ className, ...props }) => (\n <svg className={className} viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M18.926 23.998L0 18.892L5.075.002L24 5.108ZM15.348 10.09l-5.282-1.453l-1.414 5.273l5.282 1.453z'\n fill='currentColor'\n />\n </svg>\n ),\n spotify: ({ className, variant, ...props }) =>\n variant === 'color' ? (\n <svg\n className={className}\n viewBox='0 0 256 256'\n xmlns='http://www.w3.org/2000/svg'\n {...props}\n >\n <path\n d='M128 0C57.308 0 0 57.309 0 128c0 70.696 57.309 128 128 128c70.697 0 128-57.304 128-128C256 57.314 198.697.007 127.998.007zm58.699 184.614c-2.293 3.76-7.215 4.952-10.975 2.644c-30.053-18.357-67.885-22.515-112.44-12.335a7.98 7.98 0 0 1-9.552-6.007a7.97 7.97 0 0 1 6-9.553c48.76-11.14 90.583-6.344 124.323 14.276c3.76 2.308 4.952 7.215 2.644 10.975m15.667-34.853c-2.89 4.695-9.034 6.178-13.726 3.289c-34.406-21.148-86.853-27.273-127.548-14.92c-5.278 1.594-10.852-1.38-12.454-6.649c-1.59-5.278 1.386-10.842 6.655-12.446c46.485-14.106 104.275-7.273 143.787 17.007c4.692 2.89 6.175 9.034 3.286 13.72zm1.345-36.293C162.457 88.964 94.394 86.71 55.007 98.666c-6.325 1.918-13.014-1.653-14.93-7.978c-1.917-6.328 1.65-13.012 7.98-14.935C93.27 62.027 168.434 64.68 215.929 92.876c5.702 3.376 7.566 10.724 4.188 16.405c-3.362 5.69-10.73 7.565-16.4 4.187z'\n fill='#1ed760'\n />\n </svg>\n ) : (\n <svg className={className} viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M16 0C7.197 0 0 7.197 0 16s7.197 16 16 16s16-7.197 16-16S24.88 0 16 0m7.36 23.12c-.319.479-.881.64-1.36.317c-3.76-2.317-8.479-2.797-14.083-1.52c-.557.165-1.037-.235-1.199-.72c-.156-.557.24-1.036.719-1.197c1.374-1.371 3.51-1.371 4.884 0c5.8 5.8 18.008 7.782 26.706 7.782s21.058-1.983 26.704-7.782c1.374-1.371 3.51-1.371 4.884 0c1.22 1.373 1.22 3.51 0 4.883m-2.443-21.822c-7.325 0-13.275-5.95-13.275-13.275s5.95-13.275 13.275-13.275c7.327 0 13.277 5.95 13.277 13.275c0 7.17-5.95 13.275-13.277 13.275'\n fill='currentColor'\n />\n </svg>\n ),\n vk: ({ className, ...props }) => (\n <svg className={className} viewBox='0 0 576 512' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M545 117.7c3.7-12.5 0-21.7-17.8-21.7h-58.9c-15 0-21.9 7.9-25.6 16.7c0 0-30 73.1-72.4 120.5c-13.7 13.7-20 18.1-27.5 18.1c-3.7 0-9.4-4.4-9.4-16.9V117.7c0-15-4.2-21.7-16.6-21.7h-92.6c-9.4 0-15 7-15 13.5c0 14.2 21.2 17.5 23.4 57.5v86.8c0 19-3.4 22.5-10.9 22.5c-20 0-68.6-73.4-97.4-157.4c-5.8-16.3-11.5-22.9-26.6-22.9H38.8c-16.8 0-20.2 7.9-20.2 16.7c0 15.6 20 93.1 93.1 195.5C160.4 378.1 229 416 291.4 416c37.5 0 42.1-8.4 42.1-22.9c0-66.8-3.4-73.1 15.4-73.1c8.7 0 23.7 4.4 58.7 38.1c40 40 46.6 57.9 69 57.9h58.9c16.8 0 25.3-8.4 20.4-25c-11.2-34.9-86.9-106.7-90.3-111.5c-8.7-11.2-6.2-16.2 0-26.2c.1-.1 72-101.3 79.4-135.6'\n fill='currentColor'\n />\n </svg>\n ),\n x: ({ className, ...props }) => (\n <svg className={className} viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' {...props}>\n <path\n d='M389.2 48h70.6L305.6 224.2L487 464H345L233.7 318.6L106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9zm-24.8 373.8h39.1L151.1 88h-42z'\n fill='currentColor'\n />\n </svg>\n ),\n};\n"],"names":["React","Icons","apple","className","props","svg","xmlns","viewBox","title","path","fill","d","discord","variant","facebook","role","aria-label","github","google","kick","width","height","microsoft","tiktok","twitch","id","version","x","xmlSpace","xmlnsXlink","y","style","type","g","polygon","points","rect","twitter","dropbox","linkedin","gitlab","reddit","circle","cx","cy","r","roblox","spotify","vk"],"mappings":"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"}
@@ -0,0 +1,3 @@
1
+ import type { ServerProps } from 'payload';
2
+ import type React from 'react';
3
+ export declare const Logo: React.FC<ServerProps>;
@@ -0,0 +1,24 @@
1
+ import { RenderServerComponent } from "@payloadcms/ui/elements/RenderServerComponent";
2
+ import { PayloadLogo } from "@payloadcms/ui/shared";
3
+ export const Logo = (props)=>{
4
+ const { i18n, locale, params, payload, permissions, searchParams, user } = props;
5
+ const { admin: { components: { graphics: { Logo: CustomLogo } = {
6
+ Logo: undefined
7
+ } } = {} } = {} } = payload.config;
8
+ return RenderServerComponent({
9
+ Component: CustomLogo,
10
+ Fallback: PayloadLogo,
11
+ importMap: payload.importMap,
12
+ serverProps: {
13
+ i18n,
14
+ locale,
15
+ params,
16
+ payload,
17
+ permissions,
18
+ searchParams,
19
+ user
20
+ }
21
+ });
22
+ };
23
+
24
+ //# sourceMappingURL=logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/shared/components/logo.tsx"],"sourcesContent":["import type { ServerProps } from 'payload';\nimport type React from 'react';\n\nimport { RenderServerComponent } from '@payloadcms/ui/elements/RenderServerComponent';\nimport { PayloadLogo } from '@payloadcms/ui/shared';\n\nexport const Logo: React.FC<ServerProps> = props => {\n const { i18n, locale, params, payload, permissions, searchParams, user } = props;\n\n const {\n admin: {\n components: {\n graphics: { Logo: CustomLogo } = {\n Logo: undefined,\n },\n } = {},\n } = {},\n } = payload.config;\n\n return RenderServerComponent({\n Component: CustomLogo as any,\n Fallback: PayloadLogo,\n importMap: payload.importMap,\n serverProps: {\n i18n,\n locale,\n params,\n payload,\n permissions,\n searchParams,\n user,\n },\n });\n};\n"],"names":["RenderServerComponent","PayloadLogo","Logo","props","i18n","locale","params","payload","permissions","searchParams","user","admin","components","graphics","CustomLogo","undefined","config","Component","Fallback","importMap","serverProps"],"mappings":"AAGA,SAASA,qBAAqB,QAAQ,gDAAgD;AACtF,SAASC,WAAW,QAAQ,wBAAwB;AAEpD,OAAO,MAAMC,OAA8BC,CAAAA;IACzC,MAAM,EAAEC,IAAI,EAAEC,MAAM,EAAEC,MAAM,EAAEC,OAAO,EAAEC,WAAW,EAAEC,YAAY,EAAEC,IAAI,EAAE,GAAGP;IAE3E,MAAM,EACJQ,OAAO,EACLC,YAAY,EACVC,UAAU,EAAEX,MAAMY,UAAU,EAAE,GAAG;QAC/BZ,MAAMa;IACR,CAAC,EACF,GAAG,CAAC,CAAC,EACP,GAAG,CAAC,CAAC,EACP,GAAGR,QAAQS,MAAM;IAElB,OAAOhB,sBAAsB;QAC3BiB,WAAWH;QACXI,UAAUjB;QACVkB,WAAWZ,QAAQY,SAAS;QAC5BC,aAAa;YACXhB;YACAC;YACAC;YACAC;YACAC;YACAC;YACAC;QACF;IACF;AACF,EAAE"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type SubmitProps = {
3
+ label: string;
4
+ loadingLabel: string;
5
+ };
6
+ export declare const Submit: React.FC<SubmitProps>;
7
+ export {};
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { FormSubmit } from "@payloadcms/ui";
3
+ import React from "react";
4
+ import { useFormContext } from "react-hook-form";
5
+ export const Submit = ({ label, loadingLabel })=>{
6
+ const { formState: { isSubmitting, isValid } } = useFormContext();
7
+ return /*#__PURE__*/ _jsx(FormSubmit, {
8
+ buttonStyle: "primary",
9
+ type: "submit",
10
+ size: "large",
11
+ disabled: isSubmitting || !isValid,
12
+ children: isSubmitting ? loadingLabel : label
13
+ });
14
+ };
15
+
16
+ //# sourceMappingURL=submit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/shared/form/components/submit.tsx"],"sourcesContent":["import { FormSubmit } from '@payloadcms/ui';\nimport React from 'react';\nimport { useFormContext } from 'react-hook-form';\n\ntype SubmitProps = {\n label: string;\n loadingLabel: string;\n};\n\nexport const Submit: React.FC<SubmitProps> = ({ label, loadingLabel }) => {\n const {\n formState: { isSubmitting, isValid },\n } = useFormContext();\n\n return (\n <FormSubmit\n buttonStyle='primary'\n type='submit'\n size='large'\n disabled={isSubmitting || !isValid}\n >\n {isSubmitting ? loadingLabel : label}\n </FormSubmit>\n );\n};\n"],"names":["FormSubmit","React","useFormContext","Submit","label","loadingLabel","formState","isSubmitting","isValid","buttonStyle","type","size","disabled"],"mappings":";AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAC5C,OAAOC,WAAW,QAAQ;AAC1B,SAASC,cAAc,QAAQ,kBAAkB;AAOjD,OAAO,MAAMC,SAAgC,CAAC,EAAEC,KAAK,EAAEC,YAAY,EAAE;IACnE,MAAM,EACJC,WAAW,EAAEC,YAAY,EAAEC,OAAO,EAAE,EACrC,GAAGN;IAEJ,qBACE,KAACF;QACCS,aAAY;QACZC,MAAK;QACLC,MAAK;QACLC,UAAUL,gBAAgB,CAACC;kBAE1BD,eAAeF,eAAeD;;AAGrC,EAAE"}
@@ -0,0 +1,8 @@
1
+ export declare function TextField({ name, className, label, required, type, autoComplete, }: {
2
+ name: string;
3
+ className: string;
4
+ label: string;
5
+ required?: boolean;
6
+ type?: string;
7
+ autoComplete?: string;
8
+ }): import("react").JSX.Element;