@ory/elements-react 1.0.0-next.5 → 1.0.0-next.7

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.
@@ -52,29 +52,33 @@ module.exports = __toCommonJS(default_exports);
52
52
  // src/theme/default/assets/ory-badge-horizontal.svg
53
53
  var React = __toESM(require("react"));
54
54
  var import_jsx_runtime = require("react/jsx-runtime");
55
- var SvgOryBadgeHorizontal = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: 22, height: 8, viewBox: "0 0 22 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
56
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M18.0074 8L16.2963 8L18.304 4.00381L16.2963 1.14411e-06L18.0074 1.26424e-06L19.152 2.30095L20.3269 1.42709e-06L22 1.54455e-06L18.0074 8Z", fill: "white" }),
57
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.9015 4.86095C13.9317 4.57524 14.6903 3.62286 14.6978 2.49524L14.6978 2.47619L14.6978 2.45714C14.6865 1.09714 13.5921 9.54257e-07 12.2448 8.59669e-07L9.03705 6.34462e-07L9.03705 1.44L10.2447 3.42476L9.04082 3.42476L9.04082 8L10.5504 8L10.5504 4.94857L11.1844 4.94857L13.04 8L14.8148 8L12.9015 4.86095ZM12.0259 3.42857L12.2486 3.42857C12.7694 3.42857 13.1921 3.00191 13.1921 2.47619C13.1921 1.95048 12.7694 1.52381 12.2486 1.52381L10.8598 1.52381L12.0259 3.42857Z", fill: "white" }),
58
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 2.80827e-07C1.79048 1.25704e-07 -8.00493e-08 1.79048 -1.78834e-07 4C-2.77618e-07 6.20952 1.79048 8 4 8C6.20952 8 8 6.20952 8 4C8 1.79048 6.20953 4.3595e-07 4 2.80827e-07ZM1.52381 4C1.52381 5.36762 2.63238 6.47619 4 6.47619C5.36762 6.47619 6.47619 5.36762 6.47619 4C6.47619 2.63238 5.36762 1.52381 4 1.52381C2.63238 1.52381 1.52381 2.63238 1.52381 4Z", fill: "white" })
59
- ] });
55
+ var SvgOryBadgeHorizontal = (props) => {
56
+ var _a, _b;
57
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, fill: "none", ...props, children: [
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#fff", d: "M18.007 8h-1.71l2.007-3.996L16.296 0h1.711l1.145 2.301L20.327 0H22z" }),
59
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#fff", fillRule: "evenodd", d: "M12.902 4.86a2.47 2.47 0 0 0 1.796-2.365v-.038C14.687 1.097 13.592 0 12.245 0H9.037v1.44l1.208 1.985H9.04V8h1.51V4.949h.633L13.04 8h1.775zm-.876-1.431h.223c.52 0 .943-.427.943-.953a.95.95 0 0 0-.943-.952h-1.39zM4 0a4 4 0 1 0-.001 7.999A4 4 0 0 0 4 0M1.524 4a2.476 2.476 0 1 0 4.952 0 2.476 2.476 0 0 0-4.952 0", clipRule: "evenodd" })
60
+ ] });
61
+ };
60
62
  var ory_badge_horizontal_default = SvgOryBadgeHorizontal;
61
63
 
62
64
  // src/theme/default/assets/ory-badge-vertical.svg
63
65
  var React2 = __toESM(require("react"));
64
66
  var import_jsx_runtime2 = require("react/jsx-runtime");
65
- var SvgOryBadgeVertical = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("svg", { width: 8, height: 22, viewBox: "0 0 8 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
66
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M8 3.99259L8 5.7037L4.00381 3.696L1.94331e-07 5.7037L2.14736e-07 3.99259L2.30095 2.84805L2.42396e-07 1.67309L2.62347e-07 0L8 3.99259Z", fill: "white" }),
67
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.86095 9.09852C4.57524 8.06826 3.62286 7.30971 2.49524 7.30216L2.47619 7.30216L2.45714 7.30216C1.09714 7.31348 1.62084e-07 8.4079 1.46018e-07 9.75517L1.07766e-07 12.963L1.44 12.963L3.42476 11.7553L3.42476 12.9592L8 12.9592L8 11.4496L4.94857 11.4496L4.94857 10.8156L8 8.96005L8 7.18517L4.86095 9.09852ZM3.42857 9.97406L3.42857 9.7514C3.42857 9.23061 3.0019 8.80793 2.47619 8.80793C1.95048 8.80793 1.52381 9.23061 1.52381 9.7514L1.52381 11.1402L3.42857 9.97406Z", fill: "white" }),
68
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.76995e-08 18C2.13512e-08 20.2095 1.79048 22 4 22C6.20952 22 8 20.2095 8 18C8 15.7905 6.20952 14 4 14C1.79048 14 7.40478e-08 15.7905 4.76995e-08 18ZM4 20.4762C5.36762 20.4762 6.47619 19.3676 6.47619 18C6.47619 16.6324 5.36762 15.5238 4 15.5238C2.63238 15.5238 1.52381 16.6324 1.52381 18C1.52381 19.3676 2.63238 20.4762 4 20.4762Z", fill: "white" })
69
- ] });
67
+ var SvgOryBadgeVertical = (props) => {
68
+ var _a, _b;
69
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, fill: "none", ...props, children: [
70
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { fill: "#fff", d: "M8 3.993v1.71L4.004 3.697 0 5.704V3.993l2.301-1.145L0 1.673V0z" }),
71
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { fill: "#fff", fillRule: "evenodd", d: "M4.86 9.099a2.47 2.47 0 0 0-2.365-1.797h-.038C1.097 7.313 0 8.408 0 9.755v3.208h1.44l1.985-1.208v1.204H8v-1.51H4.949v-.633L8 8.96V7.185zm-1.431.875v-.223a.95.95 0 0 0-.953-.943.95.95 0 0 0-.952.943v1.39zM0 18a4 4 0 1 0 8 0 4 4 0 0 0-8 0m4 2.476a2.476 2.476 0 1 0 0-4.952 2.476 2.476 0 0 0 0 4.952", clipRule: "evenodd" })
72
+ ] });
73
+ };
70
74
  var ory_badge_vertical_default = SvgOryBadgeVertical;
71
75
 
72
76
  // src/theme/default/components/card/badge.tsx
73
77
  var import_jsx_runtime3 = require("react/jsx-runtime");
74
78
  function Badge() {
75
79
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "font-bold bg-branding-bg-default absolute max-md:rounded-b-md p-2 max-md:bottom-0 max-md:translate-y-full max-md:left-8 md:right-0 md:translate-x-full md:top-8 md:rounded-r-md", children: [
76
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ory_badge_horizontal_default, { className: "md:hidden" }),
77
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ory_badge_vertical_default, { className: "max-md:hidden" })
80
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ory_badge_horizontal_default, { width: 22, height: 8, className: "md:hidden" }),
81
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ory_badge_vertical_default, { width: 8, height: 22, className: "max-md:hidden" })
78
82
  ] });
79
83
  }
80
84
 
@@ -174,9 +178,10 @@ function VerificationCardFooter() {
174
178
  }
175
179
 
176
180
  // src/theme/default/components/card/header.tsx
177
- var import_client_fetch2 = require("@ory/client-fetch");
178
181
  var import_elements_react2 = require("@ory/elements-react");
179
- var import_jsx_runtime5 = require("react/jsx-runtime");
182
+
183
+ // src/theme/default/utils/constructCardHeader.ts
184
+ var import_client_fetch2 = require("@ory/client-fetch");
180
185
  function joinWithCommaOr(list) {
181
186
  if (list.length === 0) {
182
187
  return ".";
@@ -187,11 +192,28 @@ function joinWithCommaOr(list) {
187
192
  return `${list.join(", ")} or ${last}.`;
188
193
  }
189
194
  }
190
- function constructCardHeaderText(container) {
195
+ function constructCardHeaderText(nodes, opts) {
196
+ var _a;
197
+ switch (opts.flowType) {
198
+ case import_client_fetch2.FlowType.Recovery:
199
+ return {
200
+ title: "Recover your account",
201
+ description: "Enter the email address associated with your account to receive a one-time access code"
202
+ };
203
+ case import_client_fetch2.FlowType.Settings:
204
+ return {
205
+ title: "Update your account",
206
+ description: "Update your account settings"
207
+ };
208
+ case import_client_fetch2.FlowType.Verification:
209
+ return {
210
+ title: "Verify your account",
211
+ description: "Enter the email address associated with your account to verify it"
212
+ };
213
+ }
191
214
  const parts = [];
192
- const ui = container.flow.ui;
193
- if (ui.nodes.find((node) => node.group === "password")) {
194
- switch (container.flowType) {
215
+ if (nodes.find((node) => node.group === "password")) {
216
+ switch (opts.flowType) {
195
217
  case import_client_fetch2.FlowType.Registration:
196
218
  parts.push(`your email and a password`);
197
219
  break;
@@ -199,32 +221,29 @@ function constructCardHeaderText(container) {
199
221
  parts.push(`your email and password`);
200
222
  }
201
223
  }
202
- if (ui.nodes.find((node) => node.group === "oidc")) {
224
+ if (nodes.find((node) => node.group === "oidc")) {
203
225
  parts.push(`a social provider`);
204
226
  }
205
- if (ui.nodes.find((node) => node.group === "code")) {
227
+ if (nodes.find((node) => node.group === "code")) {
206
228
  parts.push(`a code sent to your email`);
207
229
  }
208
- if (ui.nodes.find((node) => node.group === "passkey")) {
209
- parts.push(`a PassKey`);
230
+ if (nodes.find((node) => node.group === "passkey")) {
231
+ parts.push(`a Passkey`);
210
232
  }
211
- if (ui.nodes.find((node) => node.group === "webauthn")) {
233
+ if (nodes.find((node) => node.group === "webauthn")) {
212
234
  parts.push(`a security key`);
213
235
  }
214
- if (ui.nodes.find((node) => node.group === "default")) {
215
- const primaryIdentifier = ui.nodes.filter(
216
- (node) => (0, import_client_fetch2.isUiNodeInputAttributes)(node.attributes) && node.attributes.name.startsWith("traits")
236
+ if (nodes.find((node) => node.group === "identifier_first")) {
237
+ const identifier = nodes.find(
238
+ (node) => (0, import_client_fetch2.isUiNodeInputAttributes)(node.attributes) && node.attributes.name.startsWith("identifier") && node.attributes.type !== "hidden"
217
239
  );
218
- if (primaryIdentifier.length == 1) {
219
- const label = primaryIdentifier[0].meta.label;
220
- if (label) {
221
- parts.push(`your ${label.text}`);
222
- }
240
+ if (identifier) {
241
+ parts.push(`your ${(_a = identifier.meta.label) == null ? void 0 : _a.text}`);
223
242
  }
224
243
  }
225
- switch (container.flowType) {
244
+ switch (opts.flowType) {
226
245
  case import_client_fetch2.FlowType.Login:
227
- if (container.flow.refresh) {
246
+ if (opts.flow.refresh) {
228
247
  return {
229
248
  title: "Reauthenticate",
230
249
  description: "Confirm your identity with " + joinWithCommaOr(parts)
@@ -239,22 +258,15 @@ function constructCardHeaderText(container) {
239
258
  title: "Sign up",
240
259
  description: parts.length > 0 ? "Sign up with " + joinWithCommaOr(parts) : ""
241
260
  };
242
- case import_client_fetch2.FlowType.Recovery:
243
- return {
244
- title: "Recover your account",
245
- description: "Enter the email address associated with your account to receive a one-time access code"
246
- };
247
- case import_client_fetch2.FlowType.Settings:
248
- return {
249
- title: "Update your account"
250
- };
251
- case import_client_fetch2.FlowType.Verification:
252
- return {
253
- title: "Verify your account",
254
- description: "Enter the email address associated with your account to verify it"
255
- };
256
261
  }
262
+ return {
263
+ title: "Error",
264
+ description: "An error occurred"
265
+ };
257
266
  }
267
+
268
+ // src/theme/default/components/card/header.tsx
269
+ var import_jsx_runtime5 = require("react/jsx-runtime");
258
270
  function InnerCardHeader({ title, text }) {
259
271
  const { CardLogo } = (0, import_elements_react2.useComponents)();
260
272
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("header", { className: "flex flex-col gap-8 antialiased", children: [
@@ -267,7 +279,10 @@ function InnerCardHeader({ title, text }) {
267
279
  }
268
280
  function DefaultCardHeader() {
269
281
  const context = (0, import_elements_react2.useOryFlow)();
270
- const { title, description } = constructCardHeaderText(context);
282
+ const { title, description } = constructCardHeaderText(
283
+ context.flow.ui.nodes,
284
+ context
285
+ );
271
286
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(InnerCardHeader, { title, text: description });
272
287
  }
273
288
 
@@ -291,7 +306,7 @@ function DefaultCardLogo() {
291
306
  // src/theme/default/components/card/index.tsx
292
307
  var import_jsx_runtime7 = require("react/jsx-runtime");
293
308
  function DefaultCard({ children }) {
294
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "ory-default-theme", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "grid grid-cols-1 max-w-sm md:max-w-[480px] md:w-[480px] gap-8 bg-dialog-bg-default px-8 md:px-12 py-12 md:py-14 relative rounded-border-radius-cards border border-dialog-border-default", children: [
309
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "ory-default-theme font-sans", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "grid grid-cols-1 max-w-sm md:max-w-[480px] md:w-[480px] gap-8 bg-dialog-bg-default px-8 md:px-12 py-12 md:py-14 relative rounded-border-radius-cards border border-dialog-border-default", children: [
295
310
  children,
296
311
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Badge, {})
297
312
  ] }) });
@@ -347,81 +362,73 @@ function DefaultMessage({ message }) {
347
362
  // src/theme/default/assets/icons/code.svg
348
363
  var React3 = __toESM(require("react"));
349
364
  var import_jsx_runtime9 = require("react/jsx-runtime");
350
- var SvgCode = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("svg", { width: 15, height: 13, viewBox: "0 0 15 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M6.33333 10.6663H2.33333C1.97971 10.6663 1.64057 10.5259 1.39052 10.2758C1.14048 10.0258 1 9.68663 1 9.33301V2.66634M1 2.66634C1 2.31272 1.14048 1.97358 1.39052 1.72353C1.64057 1.47348 1.97971 1.33301 2.33333 1.33301H11.6667C12.0203 1.33301 12.3594 1.47348 12.6095 1.72353C12.8595 1.97358 13 2.31272 13 2.66634M1 2.66634L7 6.66634L13 2.66634M13 2.66634V6.66634M12.3333 11.9997L13.6667 10.6663L12.3333 9.33301M10.3333 9.33301L9 10.6663L10.3333 11.9997", stroke: "#0F172A", strokeLinecap: "round", strokeLinejoin: "round" }) });
365
+ var SvgCode = (props) => {
366
+ var _a, _b;
367
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 15 13", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M6.333 10.666h-4A1.333 1.333 0 0 1 1 9.333V2.666m0 0a1.333 1.333 0 0 1 1.333-1.333h9.334A1.333 1.333 0 0 1 13 2.666m-12 0 6 4 6-4m0 0v4M12.333 12l1.334-1.334-1.334-1.333m-2 0L9 10.666 10.333 12" }) });
368
+ };
351
369
  var code_default = SvgCode;
352
370
 
353
371
  // src/theme/default/assets/icons/passkey.svg
354
372
  var React4 = __toESM(require("react"));
355
373
  var import_jsx_runtime10 = require("react/jsx-runtime");
356
- var SvgPasskey = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: 13, height: 14, viewBox: "0 0 13 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M10.6016 3.66656C11.2046 4.66735 11.4622 5.83846 11.3349 6.9999V7.66656C11.3342 8.36848 11.5181 9.05824 11.8683 9.66656M3.33492 6.33323C3.33492 5.62599 3.61587 4.94771 4.11597 4.44761C4.61607 3.94752 5.29434 3.66656 6.00159 3.66656C6.70883 3.66656 7.38711 3.94752 7.88721 4.44761C8.3873 4.94771 8.66825 5.62599 8.66825 6.33323V6.9999C8.66825 8.44237 9.13611 9.84592 10.0016 10.9999M6.00159 6.33323V7.66656C5.99946 9.57283 6.58109 11.434 7.66826 12.9999M3.33492 8.9999C3.49806 10.3931 3.9042 11.7469 4.53492 12.9999M1.26825 11.6666C0.818417 10.1534 0.615811 8.5776 0.668252 6.99989V6.33323C0.665696 5.3958 0.910267 4.47426 1.37732 3.66146C1.84438 2.84867 2.51741 2.17334 3.32861 1.70352C4.13981 1.2337 5.06052 0.985989 5.99795 0.985353C6.93538 0.984717 7.85642 1.23118 8.66825 1.69989", stroke: "#0F172A", strokeLinecap: "round", strokeLinejoin: "round" }) });
374
+ var SvgPasskey = (props) => {
375
+ var _a, _b;
376
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 13 14", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.602 3.667c.603 1 .86 2.171.733 3.333v.667a4 4 0 0 0 .533 2M3.335 6.333a2.667 2.667 0 0 1 5.333 0V7c0 1.442.468 2.846 1.334 4m-4-4.667v1.334A9.33 9.33 0 0 0 7.668 13M3.335 9a12 12 0 0 0 1.2 4m-3.267-1.333A14.7 14.7 0 0 1 .668 7v-.667a5.333 5.333 0 0 1 8-4.633" }) });
377
+ };
357
378
  var passkey_default = SvgPasskey;
358
379
 
359
380
  // src/theme/default/assets/icons/password.svg
360
381
  var React5 = __toESM(require("react"));
361
382
  var import_jsx_runtime11 = require("react/jsx-runtime");
362
- var SvgPassword = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { width: 14, height: 4, viewBox: "0 0 14 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M7 0.666992V3.33366M5.66667 2.66699L8.33333 1.33366M5.66667 1.33366L8.33333 2.66699M2.33333 0.666992V3.33366M1 2.66699L3.66667 1.33366M1 1.33366L3.66667 2.66699M11.6667 0.666992V3.33366M10.3333 2.66699L13 1.33366M10.3333 1.33366L13 2.66699", stroke: "#0F172A", strokeLinecap: "round", strokeLinejoin: "round" }) });
383
+ var SvgPassword = (props) => {
384
+ var _a, _b;
385
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 4", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M7 .667v2.667m-1.333-.667 2.666-1.333m-2.666 0 2.666 1.333m-6-2v2.667M1 2.667l2.667-1.333M1 1.334l2.667 1.333m8-2v2.667m-1.334-.667L13 1.334m-2.667 0L13 2.667" }) });
386
+ };
363
387
  var password_default = SvgPassword;
364
388
 
365
389
  // src/theme/default/assets/icons/webauthn.svg
366
390
  var React6 = __toESM(require("react"));
367
391
  var import_jsx_runtime12 = require("react/jsx-runtime");
368
- var SvgWebauthn = (props) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { d: "M9 4.99988H9.00667M10.0367 1.56187L12.438 3.96321C12.6161 4.14131 12.7574 4.35276 12.8538 4.58548C12.9503 4.81821 12.9999 5.06764 12.9999 5.31954C12.9999 5.57144 12.9503 5.82087 12.8538 6.05359C12.7574 6.28631 12.6161 6.49776 12.438 6.67587L10.676 8.43787C10.4979 8.616 10.2864 8.75731 10.0537 8.85372C9.821 8.95012 9.57157 8.99974 9.31967 8.99974C9.06777 8.99974 8.81833 8.95012 8.58561 8.85372C8.35289 8.75731 8.14144 8.616 7.96333 8.43787L7.76267 8.2372L3.39067 12.6092C3.16915 12.8307 2.87672 12.9671 2.56467 12.9945L2.448 12.9999H1.66667C1.50338 12.9998 1.34578 12.9399 1.22375 12.8314C1.10173 12.7229 1.02377 12.5734 1.00467 12.4112L1 12.3332V11.5519C1.00008 11.2388 1.11029 10.9358 1.31133 10.6959L1.39067 10.6092L1.66667 10.3332H3V8.99987H4.33333V7.66654L5.76267 6.2372L5.562 6.03654C5.38387 5.85843 5.24256 5.64698 5.14615 5.41426C5.04975 5.18154 5.00013 4.9321 5.00013 4.6802C5.00013 4.42831 5.04975 4.17887 5.14615 3.94615C5.24256 3.71343 5.38387 3.50198 5.562 3.32387L7.324 1.56187C7.50211 1.38374 7.71356 1.24243 7.94628 1.14603C8.179 1.04962 8.42843 1 8.68033 1C8.93223 1 9.18167 1.04962 9.41439 1.14603C9.64711 1.24243 9.85856 1.38374 10.0367 1.56187Z", stroke: "#0F172A", strokeLinecap: "round", strokeLinejoin: "round" }) });
392
+ var SvgWebauthn = (props) => {
393
+ var _a, _b;
394
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 14", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M9 5h.007m1.03-3.438 2.401 2.401a1.92 1.92 0 0 1 0 2.713l-1.762 1.762a1.92 1.92 0 0 1-2.713 0l-.2-.2-4.372 4.371a1.33 1.33 0 0 1-.826.386L2.448 13h-.781a.667.667 0 0 1-.662-.589L1 12.333v-.781c0-.313.11-.616.311-.856l.08-.087.276-.276H3V9h1.333V7.667l1.43-1.43-.201-.2a1.92 1.92 0 0 1 0-2.713l1.762-1.762a1.92 1.92 0 0 1 2.713 0" }) });
395
+ };
369
396
  var webauthn_default = SvgWebauthn;
370
397
 
371
398
  // src/theme/default/components/card/auth-methods.tsx
399
+ var import_react_intl2 = require("react-intl");
372
400
  var import_jsx_runtime13 = require("react/jsx-runtime");
401
+ var iconsMap = {
402
+ code: code_default,
403
+ passkey: passkey_default,
404
+ password: password_default,
405
+ webauthn: webauthn_default
406
+ };
373
407
  function DefaultAuthMethodListItem({
374
- setGroups,
375
- setStep,
408
+ onClick,
376
409
  group
377
410
  }) {
378
- let Icon = null;
379
- let title = "";
380
- let description = "";
381
- switch (group) {
382
- case "passkey":
383
- Icon = passkey_default;
384
- title = "Passkey";
385
- description = "Use your fingerprint or face to sign in.";
386
- break;
387
- case "password":
388
- Icon = password_default;
389
- title = "Password";
390
- description = "Use your password to sign in.";
391
- break;
392
- case "webauthn":
393
- Icon = webauthn_default;
394
- title = "Security Key";
395
- description = "Use a security key to sign in.";
396
- break;
397
- case "code":
398
- Icon = code_default;
399
- title = "Email";
400
- description = "Enter a code sent to your email.";
401
- break;
402
- }
403
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
404
- "div",
411
+ const intl = (0, import_react_intl2.useIntl)();
412
+ const Icon = iconsMap[group] || null;
413
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "w-full hover:bg-forms-bg-hover px-2 py-1 rounded", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
414
+ "button",
405
415
  {
406
- className: "flex py-2 gap-3 cursor-pointer hover:bg-button-secondary-bg-hover",
407
- onClick: () => {
408
- setGroups([group]);
409
- setStep(2);
410
- },
416
+ className: "flex text-left py-2 gap-3 cursor-pointer ",
417
+ onClick,
411
418
  children: [
412
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex-none w-4 h-4 mt-[2px]", children: Icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { className: "w-5 h-5", width: 16, height: 16 }) }),
419
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex-none w-4 h-4 mt-[2px]", children: Icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { size: 20, className: "text-forms-fg-default" }) }),
413
420
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex-1 text-sm leading-normal", children: [
414
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "text-forms-fg-default", children: title }),
415
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "text-forms-fg-subtle", children: description })
421
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "text-forms-fg-default text-sm", children: intl.formatMessage({ id: `two-step.${group}.title` }) }),
422
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "text-forms-fg-mute text-sm", children: intl.formatMessage({ id: `two-step.${group}.description` }) })
416
423
  ] })
417
424
  ]
418
425
  }
419
- );
426
+ ) });
420
427
  }
421
428
 
422
429
  // src/theme/default/components/form/button.tsx
423
430
  var import_react_hook_form = require("react-hook-form");
424
- var import_react_intl2 = require("react-intl");
431
+ var import_react_intl3 = require("react-intl");
425
432
 
426
433
  // src/theme/default/components/form/spinner.tsx
427
434
  var import_jsx_runtime14 = require("react/jsx-runtime");
@@ -482,7 +489,7 @@ var DefaultButton = ({
482
489
  // End of skipped attributes
483
490
  ...rest
484
491
  } = attributes;
485
- const intl = (0, import_react_intl2.useIntl)();
492
+ const intl = (0, import_react_intl3.useIntl)();
486
493
  const label = (0, import_client_fetch3.getNodeLabel)(node);
487
494
  const {
488
495
  formState: { isSubmitting },
@@ -508,9 +515,7 @@ var DefaultButton = ({
508
515
  }
509
516
  },
510
517
  className: cn(
511
- // TODO: Difficult to resolve merge conflict here. Please ensure this is correct:
512
- // "relative antialiased rounded border gap-3 leading-none transition-colors ease-linear duration-100 px-4 py-4.5 text-sm font-medium",
513
- "antialiased rounded-border-radius-buttons border border-transparent gap-3 bg-button-primary-bg-default hover:bg-button-primary-bg-hover transition-colors text-button-primary-fg-default hover:text-button-primary-fg-hover px-4 py-4.5 text-sm leading-none font-medium",
518
+ "antialiased rounded-border-radius-buttons border border-transparent gap-3 bg-button-primary-bg-default hover:bg-button-primary-bg-hover transition-colors text-button-primary-fg-default hover:text-button-primary-fg-hover px-4 py-3 md:py-4.5 text-sm leading-none font-medium",
514
519
  {
515
520
  "cursor-not-allowed": isSubmitting,
516
521
  "bg-button-primary-bg-hover": isSubmitting,
@@ -543,7 +548,7 @@ DefaultButton.displayName = "DefaultButton";
543
548
  // src/theme/default/components/form/checkbox.tsx
544
549
  var import_react = require("react");
545
550
  var import_react_hook_form2 = require("react-hook-form");
546
- var import_react_intl3 = require("react-intl");
551
+ var import_react_intl4 = require("react-intl");
547
552
  var import_elements_react5 = require("@ory/elements-react");
548
553
  var import_client_fetch4 = require("@ory/client-fetch");
549
554
  var import_jsx_runtime16 = require("react/jsx-runtime");
@@ -591,7 +596,7 @@ var DefaultCheckbox = ({
591
596
  // End of skipped attributes
592
597
  ...attributes
593
598
  } = initialAttributes;
594
- const intl = (0, import_react_intl3.useIntl)();
599
+ const intl = (0, import_react_intl4.useIntl)();
595
600
  const label = (0, import_client_fetch4.getNodeLabel)(node);
596
601
  const [checked, setChecked] = (0, import_react.useState)(Boolean(value));
597
602
  const { register } = (0, import_react_hook_form2.useForm)();
@@ -608,7 +613,6 @@ var DefaultCheckbox = ({
608
613
  "input",
609
614
  {
610
615
  ...attributes,
611
- defaultChecked: checked,
612
616
  checked,
613
617
  value: 1,
614
618
  type: "checkbox",
@@ -670,13 +674,14 @@ var DefaultInput = ({
670
674
  }) => {
671
675
  const label = (0, import_client_fetch5.getNodeLabel)(node);
672
676
  const { register } = (0, import_react_hook_form3.useFormContext)();
673
- const { value, autocomplete, name, ...rest } = attributes;
677
+ const { value, autocomplete, name, maxlength, ...rest } = attributes;
674
678
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
675
679
  "input",
676
680
  {
677
681
  ...rest,
678
- autoComplete: autocomplete,
679
682
  onClick,
683
+ maxLength: maxlength,
684
+ autoComplete: autocomplete,
680
685
  placeholder: (label == null ? void 0 : label.text) ? "Enter your " + (label == null ? void 0 : label.text) : "",
681
686
  className: "antialiased bg-forms-bg-default rounded-border-radius-forms border px-3 py-2.5 md:px-4 md:py-4 border-forms-border-default leading-tight hover:border-forms-border-hover transition-colors text-sm",
682
687
  ...register(name, { value })
@@ -686,7 +691,7 @@ var DefaultInput = ({
686
691
 
687
692
  // src/theme/default/components/form/label.tsx
688
693
  var import_client_fetch6 = require("@ory/client-fetch");
689
- var import_react_intl4 = require("react-intl");
694
+ var import_react_intl5 = require("react-intl");
690
695
  var import_elements_react6 = require("@ory/elements-react");
691
696
  var import_elements_react7 = require("@ory/elements-react");
692
697
  var import_jsx_runtime21 = require("react/jsx-runtime");
@@ -696,7 +701,7 @@ function DefaultLabel({
696
701
  attributes,
697
702
  ...rest
698
703
  }) {
699
- const intl = (0, import_react_intl4.useIntl)();
704
+ const intl = (0, import_react_intl5.useIntl)();
700
705
  const label = (0, import_client_fetch6.getNodeLabel)(node);
701
706
  const { config, flowType } = (0, import_elements_react6.useOryFlow)();
702
707
  const isPassword = attributes.type === "password";
@@ -753,12 +758,12 @@ function DefaultLabel({
753
758
 
754
759
  // src/theme/default/components/form/link-button.tsx
755
760
  var import_react2 = require("react");
756
- var import_react_intl5 = require("react-intl");
761
+ var import_react_intl6 = require("react-intl");
757
762
  var import_elements_react8 = require("@ory/elements-react");
758
763
  var import_client_fetch7 = require("@ory/client-fetch");
759
764
  var import_jsx_runtime22 = require("react/jsx-runtime");
760
765
  var DefaultLinkButton = (0, import_react2.forwardRef)(({ attributes, node }, ref) => {
761
- const intl = (0, import_react_intl5.useIntl)();
766
+ const intl = (0, import_react_intl6.useIntl)();
762
767
  const label = (0, import_client_fetch7.getNodeLabel)(node);
763
768
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
764
769
  "a",
@@ -860,126 +865,163 @@ var import_elements_react9 = require("@ory/elements-react");
860
865
  // src/theme/default/provider-logos/apple.svg
861
866
  var React8 = __toESM(require("react"));
862
867
  var import_jsx_runtime25 = require("react/jsx-runtime");
863
- var SvgApple = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
864
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { d: "M30 16C30 23.728 23.735 30 16 30C8.265 30 2 23.728 2 16C2 8.26499 8.265 1.99999 16 1.99999C23.735 1.99999 30 8.26499 30 16Z", fill: "#283544" }),
865
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { d: "M22.5621 12.4574C22.4857 12.502 20.6671 13.4425 20.6671 15.5279C20.7528 17.9061 22.9621 18.7401 23 18.7401C22.9621 18.7847 22.6665 19.8763 21.7907 21.0205C21.0956 22.0062 20.3242 23 19.1528 23C18.0385 23 17.6385 22.3431 16.3528 22.3431C14.972 22.3431 14.5813 23 13.5242 23C12.3528 23 11.5242 21.953 10.7913 20.9766C9.8391 19.6986 9.02978 17.6931 9.00121 15.7675C8.98195 14.7471 9.19189 13.744 9.72481 12.8921C10.477 11.7026 11.8198 10.8952 13.2863 10.8686C14.4099 10.8333 15.4099 11.5875 16.0956 11.5875C16.7528 11.5875 17.9814 10.8686 19.3714 10.8686C19.9714 10.8692 21.5714 11.0376 22.5621 12.4574ZM16.0006 10.6649C15.8006 9.73303 16.3528 8.80119 16.8671 8.20677C17.5242 7.48792 18.5621 7 19.4571 7C19.5143 7.93185 19.1522 8.84575 18.505 9.51136C17.9242 10.2302 16.9242 10.7714 16.0006 10.6649Z", fill: "white" })
866
- ] });
868
+ var SvgApple = (props) => {
869
+ var _a, _b;
870
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
871
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { fill: "#283544", d: "M30 16c0 7.728-6.265 14-14 14S2 23.728 2 16C2 8.265 8.265 2 16 2s14 6.265 14 14" }),
872
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", { fill: "#fff", d: "M22.562 12.457c-.076.045-1.895.986-1.895 3.07.086 2.38 2.295 3.213 2.333 3.213-.038.045-.334 1.136-1.21 2.28-.694.986-1.466 1.98-2.637 1.98-1.114 0-1.514-.657-2.8-.657-1.381 0-1.772.657-2.829.657-1.171 0-2-1.047-2.733-2.023-.952-1.278-1.761-3.284-1.79-5.21-.02-1.02.19-2.023.724-2.875.752-1.19 2.095-1.997 3.561-2.023 1.124-.036 2.124.719 2.81.719.657 0 1.885-.72 3.275-.72.6.001 2.2.17 3.191 1.59m-6.561-1.792c-.2-.932.352-1.864.866-2.458.657-.72 1.695-1.207 2.59-1.207a3.33 3.33 0 0 1-.952 2.511c-.58.72-1.58 1.26-2.504 1.154" })
873
+ ] });
874
+ };
867
875
  var apple_default = SvgApple;
868
876
 
869
877
  // src/theme/default/provider-logos/auth0.svg
870
878
  var React9 = __toESM(require("react"));
871
879
  var import_jsx_runtime26 = require("react/jsx-runtime");
872
- var SvgAuth0 = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 64, height: 64, viewBox: "0 0 64 64", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("path", { d: "M49.012 51.774L42.514 32l17.008-12.22h-21.02L32.005 0h21.032l6.506 19.78c3.767 11.468-.118 24.52-10.53 31.993zm-34.023 0L31.998 64l17.015-12.226-17.008-12.22zm-10.516-32c-3.976 12.1.64 24.917 10.5 32.007v-.007L21.482 32 4.474 19.774l21.025.007L31.998 0H10.972z", fill: "#eb5424" }) });
880
+ var SvgAuth0 = (props) => {
881
+ var _a, _b;
882
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("path", { fill: "#eb5424", d: "M49.012 51.774 42.514 32l17.008-12.22h-21.02L32.005 0h21.032l6.506 19.78c3.767 11.468-.118 24.52-10.53 31.993zm-34.023 0L31.998 64l17.015-12.226-17.008-12.22zm-10.516-32c-3.976 12.1.64 24.917 10.5 32.007v-.007L21.482 32 4.474 19.774l21.025.007L31.998 0H10.972z" }) });
883
+ };
873
884
  var auth0_default = SvgAuth0;
874
885
 
875
886
  // src/theme/default/provider-logos/discord.svg
876
887
  var React10 = __toESM(require("react"));
877
888
  var import_jsx_runtime27 = require("react/jsx-runtime");
878
- var SvgDiscord = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
879
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("path", { d: "M2 11.6C2 8.23969 2 6.55953 2.65396 5.27606C3.2292 4.14708 4.14708 3.2292 5.27606 2.65396C6.55953 2 8.23969 2 11.6 2H20.4C23.7603 2 25.4405 2 26.7239 2.65396C27.8529 3.2292 28.7708 4.14708 29.346 5.27606C30 6.55953 30 8.23969 30 11.6V20.4C30 23.7603 30 25.4405 29.346 26.7239C28.7708 27.8529 27.8529 28.7708 26.7239 29.346C25.4405 30 23.7603 30 20.4 30H11.6C8.23969 30 6.55953 30 5.27606 29.346C4.14708 28.7708 3.2292 27.8529 2.65396 26.7239C2 25.4405 2 23.7603 2 20.4V11.6Z", fill: "white" }),
880
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("path", { d: "M23.6361 9.33998C22.212 8.71399 20.6892 8.25903 19.0973 8C18.9018 8.33209 18.6734 8.77875 18.5159 9.13408C16.8236 8.89498 15.1469 8.89498 13.4857 9.13408C13.3283 8.77875 13.0946 8.33209 12.8974 8C11.3037 8.25903 9.77927 8.71565 8.35518 9.3433C5.48276 13.4213 4.70409 17.3981 5.09342 21.3184C6.99856 22.6551 8.84487 23.467 10.66 23.9983C11.1082 23.4189 11.5079 22.8029 11.8523 22.1536C11.1964 21.9195 10.5683 21.6306 9.9748 21.2951C10.1323 21.1856 10.2863 21.071 10.4351 20.9531C14.0551 22.5438 17.9881 22.5438 21.5649 20.9531C21.7154 21.071 21.8694 21.1856 22.0251 21.2951C21.4299 21.6322 20.8 21.9211 20.1442 22.1553C20.4885 22.8029 20.8865 23.4205 21.3364 24C23.1533 23.4687 25.0013 22.6567 26.9065 21.3184C27.3633 16.7738 26.1261 12.8335 23.6361 9.33998ZM12.3454 18.9075C11.2587 18.9075 10.3676 17.9543 10.3676 16.7937C10.3676 15.6331 11.2397 14.6783 12.3454 14.6783C13.4511 14.6783 14.3422 15.6314 14.3232 16.7937C14.325 17.9543 13.4511 18.9075 12.3454 18.9075ZM19.6545 18.9075C18.5678 18.9075 17.6767 17.9543 17.6767 16.7937C17.6767 15.6331 18.5488 14.6783 19.6545 14.6783C20.7602 14.6783 21.6514 15.6314 21.6323 16.7937C21.6323 17.9543 20.7602 18.9075 19.6545 18.9075Z", fill: "#5865F2" })
881
- ] });
889
+ var SvgDiscord = (props) => {
890
+ var _a, _b;
891
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
892
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("path", { d: "M2 11.6c0-3.36 0-5.04.654-6.324a6 6 0 0 1 2.622-2.622C6.56 2 8.24 2 11.6 2h8.8c3.36 0 5.04 0 6.324.654a6 6 0 0 1 2.622 2.622C30 6.56 30 8.24 30 11.6v8.8c0 3.36 0 5.04-.654 6.324a6 6 0 0 1-2.622 2.622C25.44 30 23.76 30 20.4 30h-8.8c-3.36 0-5.04 0-6.324-.654a6 6 0 0 1-2.622-2.622C2 25.44 2 23.76 2 20.4z" }),
893
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("path", { fill: "#5865F2", d: "M23.636 9.34A18.8 18.8 0 0 0 19.097 8c-.195.332-.424.779-.581 1.134a17.7 17.7 0 0 0-5.03 0A12 12 0 0 0 12.897 8a18.7 18.7 0 0 0-4.542 1.343c-2.872 4.078-3.65 8.055-3.262 11.975a18.6 18.6 0 0 0 5.567 2.68c.448-.58.848-1.195 1.192-1.844a12 12 0 0 1-1.877-.859 9 9 0 0 0 .46-.342c3.62 1.59 7.553 1.59 11.13 0q.225.178.46.342c-.595.337-1.225.626-1.88.86q.516.974 1.191 1.845a18.6 18.6 0 0 0 5.57-2.682c.457-4.544-.78-8.484-3.27-11.978m-11.29 9.567c-1.087 0-1.978-.953-1.978-2.113s.872-2.116 1.977-2.116c1.106 0 1.997.953 1.978 2.116.002 1.16-.872 2.113-1.978 2.113m7.308 0c-1.086 0-1.977-.953-1.977-2.113s.872-2.116 1.977-2.116c1.106 0 1.997.953 1.978 2.116 0 1.16-.872 2.113-1.978 2.113" })
894
+ ] });
895
+ };
882
896
  var discord_default = SvgDiscord;
883
897
 
884
898
  // src/theme/default/provider-logos/facebook.svg
885
899
  var React11 = __toESM(require("react"));
886
900
  var import_jsx_runtime28 = require("react/jsx-runtime");
887
- var SvgFacebook = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
888
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("g", { clipPath: "url(#clip0_101_2)", children: [
889
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("path", { d: "M23.9994 12.0003C23.9994 5.37306 18.627 0.000618863 11.9997 0.000618863C5.37245 0.000618863 0 5.37306 0 12.0003C0 17.9897 4.38812 22.954 10.1247 23.8542V15.469H7.07795V12.0003H10.1247V9.35664C10.1247 6.34921 11.9162 4.688 14.6572 4.688C15.9701 4.688 17.3433 4.92237 17.3433 4.92237V7.87542H15.8302C14.3395 7.87542 13.8747 8.80041 13.8747 9.74937V12.0003H17.2027L16.6707 15.469H13.8747V23.8542C19.6113 22.954 23.9994 17.9897 23.9994 12.0003Z", fill: "#1877F2" }),
890
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("path", { d: "M16.6707 15.469L17.2028 12.0003H13.8747V9.74935C13.8747 8.80038 14.3396 7.8754 15.8302 7.8754H17.3434V4.92235C17.3434 4.92235 15.9701 4.68798 14.6573 4.68798C11.9163 4.68798 10.1248 6.34919 10.1248 9.35661V12.0003H7.078V15.469H10.1248V23.8542C10.7357 23.9501 11.3619 24 11.9998 24C12.6376 24 13.2638 23.9501 13.8747 23.8542V15.469H16.6707Z", fill: "white" })
891
- ] }),
892
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("clipPath", { id: "clip0_101_2", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("rect", { width: 24, height: 24, fill: "white" }) }) })
893
- ] });
901
+ var SvgFacebook = (props) => {
902
+ var _a, _b;
903
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
904
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("g", { clipPath: "url(#facebook_svg__a)", children: [
905
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("path", { fill: "#1877F2", d: "M24 12c0-6.627-5.373-12-12-12C5.372 0 0 5.374 0 12c0 5.99 4.388 10.954 10.125 11.854V15.47H7.078V12h3.047V9.357c0-3.008 1.791-4.669 4.532-4.669 1.313 0 2.686.234 2.686.234v2.953H15.83c-1.49 0-1.955.925-1.955 1.874V12h3.328l-.532 3.469h-2.796v8.385c5.736-.9 10.124-5.864 10.124-11.854" }),
906
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("path", { fill: "#fff", d: "M16.67 15.469 17.204 12h-3.328V9.75c0-.95.465-1.875 1.955-1.875h1.513V4.922s-1.373-.234-2.686-.234c-2.74 0-4.532 1.661-4.532 4.669V12H7.078v3.469h3.047v8.385a12.1 12.1 0 0 0 3.75 0V15.47z" })
907
+ ] }),
908
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("clipPath", { id: "facebook_svg__a", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("rect", { fill: "#fff" }) }) })
909
+ ] });
910
+ };
894
911
  var facebook_default = SvgFacebook;
895
912
 
896
913
  // src/theme/default/provider-logos/generic.svg
897
914
  var React12 = __toESM(require("react"));
898
915
  var import_jsx_runtime29 = require("react/jsx-runtime");
899
- var SvgGeneric = (props) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", className: "icon icon-tabler icon-tabler-brand-oauth", width: 24, height: 24, viewBox: "0 0 24 24", strokeWidth: 2, stroke: "currentColor", fill: "none", strokeLinecap: "round", strokeLinejoin: "round", ...props, children: [
900
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
901
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { d: "M12 12m-10 0a10 10 0 1 0 20 0a10 10 0 1 0 -20 0" }),
902
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { d: "M12.556 6c.65 0 1.235 .373 1.508 .947l2.839 7.848a1.646 1.646 0 0 1 -1.01 2.108a1.673 1.673 0 0 1 -2.068 -.851l-.46 -1.052h-2.73l-.398 .905a1.67 1.67 0 0 1 -1.977 1.045l-.153 -.047a1.647 1.647 0 0 1 -1.056 -1.956l2.824 -7.852a1.664 1.664 0 0 1 1.409 -1.087l1.272 -.008z" })
903
- ] });
916
+ var SvgGeneric = (props) => {
917
+ var _a, _b;
918
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, className: "generic_svg__icon generic_svg__icon-tabler generic_svg__icon-tabler-brand-oauth", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
919
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { stroke: "none", d: "M0 0h24v24H0z" }),
920
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { d: "M2 12a10 10 0 1 0 20 0 10 10 0 1 0-20 0" }),
921
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { d: "M12.556 6c.65 0 1.235.373 1.508.947l2.839 7.848a1.646 1.646 0 0 1-1.01 2.108 1.673 1.673 0 0 1-2.068-.851L13.365 15h-2.73l-.398.905A1.67 1.67 0 0 1 8.26 16.95l-.153-.047a1.647 1.647 0 0 1-1.056-1.956l2.824-7.852a1.66 1.66 0 0 1 1.409-1.087z" })
922
+ ] });
923
+ };
904
924
  var generic_default = SvgGeneric;
905
925
 
906
926
  // src/theme/default/provider-logos/github.svg
907
927
  var React13 = __toESM(require("react"));
908
928
  var import_jsx_runtime30 = require("react/jsx-runtime");
909
- var SvgGithub = (props) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("path", { d: "M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z" }) });
929
+ var SvgGithub = (props) => {
930
+ var _a, _b;
931
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("path", { d: "M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.5 11.5 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12" }) });
932
+ };
910
933
  var github_default = SvgGithub;
911
934
 
912
935
  // src/theme/default/provider-logos/gitlab.svg
913
936
  var React14 = __toESM(require("react"));
914
937
  var import_jsx_runtime31 = require("react/jsx-runtime");
915
- var SvgGitlab = (props) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
916
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { d: "M22.7082 10.6913L22.677 10.6188L19.6617 3.45202C19.6004 3.31155 19.4917 3.1924 19.3514 3.11165C19.211 3.03227 19.0472 2.99403 18.8822 3.00211C18.7172 3.01019 18.5588 3.06419 18.4286 3.15682C18.2998 3.25211 18.2063 3.38123 18.161 3.52661L16.125 9.19952H7.88075L5.84478 3.52661C5.80063 3.38044 5.70698 3.25067 5.57717 3.15577C5.44691 3.06314 5.28858 3.00914 5.12355 3.00106C4.95853 2.99298 4.79475 3.03121 4.65434 3.11059C4.51434 3.19167 4.4058 3.31073 4.34405 3.45097L1.32297 10.6146L1.29297 10.6871C0.858905 11.72 0.805326 12.8534 1.14032 13.9164C1.4753 14.9795 2.1807 15.9145 3.15015 16.5806L3.16053 16.588L3.18821 16.6058L7.78155 19.7385L10.054 21.3049L11.4382 22.2567C11.6001 22.3686 11.7978 22.4292 12.0011 22.4292C12.2044 22.4292 12.4021 22.3686 12.5641 22.2567L13.9483 21.3049L16.2207 19.7385L20.8418 16.5869L20.8533 16.5785C21.8206 15.9123 22.5243 14.9782 22.8588 13.9166C23.1933 12.855 23.1404 11.7232 22.7082 10.6913Z", fill: "#E24329" }),
917
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { d: "M22.7081 10.6913L22.677 10.6188C21.2077 10.8935 19.8232 11.4603 18.6224 12.2787L12 16.8391C14.2551 18.3928 16.2184 19.7428 16.2184 19.7428L20.8394 16.5911L20.851 16.5827C21.8196 15.9166 22.5245 14.9819 22.8594 13.9194C23.1944 12.8568 23.1413 11.724 22.7081 10.6913Z", fill: "#FC6D26" }),
918
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { d: "M7.78149 19.7427L10.0539 21.3091L11.4382 22.2608C11.6001 22.3728 11.7978 22.4334 12.0011 22.4334C12.2044 22.4334 12.4021 22.3728 12.564 22.2608L13.9482 21.3091L16.2207 19.7427C16.2207 19.7427 14.2551 18.3886 11.9999 16.839C9.74479 18.3886 7.78149 19.7427 7.78149 19.7427Z", fill: "#FCA326" }),
919
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { d: "M5.37645 12.2786C4.17655 11.4585 2.79233 10.8903 1.32297 10.6146L1.29297 10.6871C0.858905 11.72 0.805326 12.8534 1.14032 13.9164C1.4753 14.9795 2.1807 15.9145 3.15015 16.5806L3.16053 16.588L3.18821 16.6058L7.78155 19.7385C7.78155 19.7385 9.74254 18.3886 12 16.8348L5.37645 12.2786Z", fill: "#FC6D26" })
920
- ] });
938
+ var SvgGitlab = (props) => {
939
+ var _a, _b;
940
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
941
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { fill: "#E24329", d: "m22.708 10.691-.031-.072-3.015-7.167a.74.74 0 0 0-.31-.34.87.87 0 0 0-.923.045.73.73 0 0 0-.268.37L16.125 9.2H7.881L5.845 3.527a.72.72 0 0 0-.268-.371.87.87 0 0 0-.923-.045.74.74 0 0 0-.31.34l-3.021 7.164-.03.072a4.67 4.67 0 0 0-.153 3.23c.335 1.063 1.04 1.998 2.01 2.664l.01.007.028.018 4.594 3.132 2.272 1.567 1.384.952c.162.112.36.172.563.172s.401-.06.563-.172l1.384-.952 2.273-1.567 4.62-3.151.012-.009c.968-.666 1.671-1.6 2.006-2.661a4.67 4.67 0 0 0-.15-3.226" }),
942
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { fill: "#FC6D26", d: "m22.708 10.691-.031-.072a10.7 10.7 0 0 0-4.055 1.66L12 16.839l4.218 2.904 4.621-3.152.012-.008c.969-.666 1.674-1.601 2.008-2.664a4.67 4.67 0 0 0-.15-3.228" }),
943
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { fill: "#FCA326", d: "m7.781 19.743 2.273 1.566 1.384.952c.162.112.36.172.563.172s.401-.06.563-.172l1.384-.952 2.273-1.566S14.255 18.389 12 16.839c-2.255 1.55-4.219 2.904-4.219 2.904" }),
944
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { fill: "#FC6D26", d: "M5.376 12.279a10.7 10.7 0 0 0-4.053-1.664l-.03.072a4.67 4.67 0 0 0-.153 3.23c.335 1.063 1.04 1.998 2.01 2.664l.01.007.028.018 4.594 3.132L12 16.836z" })
945
+ ] });
946
+ };
921
947
  var gitlab_default = SvgGitlab;
922
948
 
923
949
  // src/theme/default/provider-logos/google.svg
924
950
  var React15 = __toESM(require("react"));
925
951
  var import_jsx_runtime32 = require("react/jsx-runtime");
926
- var SvgGoogle = (props) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
927
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#4285F4", d: "M23.745 12.27c0-.79-.07-1.54-.19-2.27h-11.3v4.51h6.47c-.29 1.48-1.14 2.73-2.4 3.58v3h3.86c2.26-2.09 3.56-5.17 3.56-8.82Z" }),
928
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#34A853", d: "M12.255 24c3.24 0 5.95-1.08 7.93-2.91l-3.86-3c-1.08.72-2.45 1.16-4.07 1.16-3.13 0-5.78-2.11-6.73-4.96h-3.98v3.09C3.515 21.3 7.565 24 12.255 24Z" }),
929
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#FBBC05", d: "M5.525 14.29c-.25-.72-.38-1.49-.38-2.29s.14-1.57.38-2.29V6.62h-3.98a11.86 11.86 0 0 0 0 10.76l3.98-3.09Z" }),
930
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#EA4335", d: "M12.255 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C18.205 1.19 15.495 0 12.255 0c-4.69 0-8.74 2.7-10.71 6.62l3.98 3.09c.95-2.85 3.6-4.96 6.73-4.96Z" })
931
- ] });
952
+ var SvgGoogle = (props) => {
953
+ var _a, _b;
954
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
955
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#4285F4", d: "M23.745 12.27c0-.79-.07-1.54-.19-2.27h-11.3v4.51h6.47c-.29 1.48-1.14 2.73-2.4 3.58v3h3.86c2.26-2.09 3.56-5.17 3.56-8.82" }),
956
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#34A853", d: "M12.255 24c3.24 0 5.95-1.08 7.93-2.91l-3.86-3c-1.08.72-2.45 1.16-4.07 1.16-3.13 0-5.78-2.11-6.73-4.96h-3.98v3.09C3.515 21.3 7.565 24 12.255 24" }),
957
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#FBBC05", d: "M5.525 14.29c-.25-.72-.38-1.49-.38-2.29s.14-1.57.38-2.29V6.62h-3.98a11.86 11.86 0 0 0 0 10.76z" }),
958
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("path", { fill: "#EA4335", d: "M12.255 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C18.205 1.19 15.495 0 12.255 0c-4.69 0-8.74 2.7-10.71 6.62l3.98 3.09c.95-2.85 3.6-4.96 6.73-4.96" })
959
+ ] });
960
+ };
932
961
  var google_default = SvgGoogle;
933
962
 
934
963
  // src/theme/default/provider-logos/linkedin.svg
935
964
  var React16 = __toESM(require("react"));
936
965
  var import_jsx_runtime33 = require("react/jsx-runtime");
937
- var SvgLinkedin = (props) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
938
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { x: 2, y: 2, width: 28, height: 28, rx: 14, fill: "#1275B1" }),
939
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("path", { d: "M12.6186 9.69215C12.6186 10.6267 11.8085 11.3843 10.8093 11.3843C9.81004 11.3843 9 10.6267 9 9.69215C9 8.7576 9.81004 8 10.8093 8C11.8085 8 12.6186 8.7576 12.6186 9.69215Z", fill: "white" }),
940
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("path", { d: "M9.24742 12.6281H12.3402V22H9.24742V12.6281Z", fill: "white" }),
941
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("path", { d: "M17.3196 12.6281H14.2268V22H17.3196C17.3196 22 17.3196 19.0496 17.3196 17.2049C17.3196 16.0976 17.6977 14.9855 19.2062 14.9855C20.911 14.9855 20.9008 16.4345 20.8928 17.5571C20.8824 19.0244 20.9072 20.5219 20.9072 22H24V17.0537C23.9738 13.8954 23.1508 12.4401 20.4433 12.4401C18.8354 12.4401 17.8387 13.1701 17.3196 13.8305V12.6281Z", fill: "white" })
942
- ] });
966
+ var SvgLinkedin = (props) => {
967
+ var _a, _b;
968
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
969
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { x: 2, y: 2, fill: "#1275B1", rx: 14 }),
970
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("path", { fill: "#fff", d: "M12.619 9.692c0 .935-.81 1.692-1.81 1.692C9.81 11.384 9 10.627 9 9.692S9.81 8 10.81 8c.999 0 1.809.758 1.809 1.692M9.247 12.628h3.093V22H9.247zM17.32 12.628h-3.093V22h3.093v-4.795c0-1.107.378-2.22 1.886-2.22 1.705 0 1.695 1.45 1.687 2.572-.01 1.467.014 2.965.014 4.443H24v-4.946c-.026-3.159-.85-4.614-3.557-4.614-1.608 0-2.604.73-3.123 1.39z" })
971
+ ] });
972
+ };
943
973
  var linkedin_default = SvgLinkedin;
944
974
 
945
975
  // src/theme/default/provider-logos/microsoft.svg
946
976
  var React17 = __toESM(require("react"));
947
977
  var import_jsx_runtime34 = require("react/jsx-runtime");
948
- var SvgMicrosoft = (props) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("svg", { width: 23, height: 23, viewBox: "0 0 23 23", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
949
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { d: "M1 1h10v10H1V1Z", fill: "#F35325" }),
950
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { d: "M12 1h10v10H12V1Z", fill: "#81BC06" }),
951
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { d: "M1 12h10v10H1V12Z", fill: "#05A6F0" }),
952
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { d: "M12 12h10v10H12V12Z", fill: "#FFBA08" })
953
- ] });
978
+ var SvgMicrosoft = (props) => {
979
+ var _a, _b;
980
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 23 23", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
981
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { fill: "#F35325", d: "M1 1h10v10H1z" }),
982
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { fill: "#81BC06", d: "M12 1h10v10H12z" }),
983
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { fill: "#05A6F0", d: "M1 12h10v10H1z" }),
984
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { fill: "#FFBA08", d: "M12 12h10v10H12z" })
985
+ ] });
986
+ };
954
987
  var microsoft_default = SvgMicrosoft;
955
988
 
956
989
  // src/theme/default/provider-logos/slack.svg
957
990
  var React18 = __toESM(require("react"));
958
991
  var import_jsx_runtime35 = require("react/jsx-runtime");
959
- var SvgSlack = (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
960
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { d: "M26.5002 14.9998C27.8808 14.9998 29 13.8806 29 12.5C29 11.1194 27.8807 10.0002 26.5001 10.0002C25.1194 10.0002 24 11.1195 24 12.5002V14.9998H26.5002ZM19.5 14.9998C20.8807 14.9998 22 13.8805 22 12.4998V5.50018C22 4.11947 20.8807 3.00018 19.5 3.00018C18.1193 3.00018 17 4.11947 17 5.50018V12.4998C17 13.8805 18.1193 14.9998 19.5 14.9998Z", fill: "#2EB67D" }),
961
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { d: "M5.49979 17.0002C4.11919 17.0002 3 18.1194 3 19.5C3 20.8806 4.1193 21.9998 5.49989 21.9998C6.8806 21.9998 8 20.8805 8 19.4998V17.0002H5.49979ZM12.5 17.0002C11.1193 17.0002 10 18.1195 10 19.5002V26.4998C10 27.8805 11.1193 28.9998 12.5 28.9998C13.8807 28.9998 15 27.8805 15 26.4998V19.5002C15 18.1195 13.8807 17.0002 12.5 17.0002Z", fill: "#E01E5A" }),
962
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { d: "M17.0002 26.5002C17.0002 27.8808 18.1194 29 19.5 29C20.8806 29 21.9998 27.8807 21.9998 26.5001C21.9998 25.1194 20.8805 24 19.4998 24L17.0002 24L17.0002 26.5002ZM17.0002 19.5C17.0002 20.8807 18.1195 22 19.5002 22L26.4998 22C27.8805 22 28.9998 20.8807 28.9998 19.5C28.9998 18.1193 27.8805 17 26.4998 17L19.5002 17C18.1195 17 17.0002 18.1193 17.0002 19.5Z", fill: "#ECB22E" }),
963
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { d: "M14.9998 5.49979C14.9998 4.11919 13.8806 3 12.5 3C11.1194 3 10.0002 4.1193 10.0002 5.49989C10.0002 6.88061 11.1195 8 12.5002 8L14.9998 8L14.9998 5.49979ZM14.9998 12.5C14.9998 11.1193 13.8805 10 12.4998 10L5.50018 10C4.11947 10 3.00018 11.1193 3.00018 12.5C3.00018 13.8807 4.11947 15 5.50018 15L12.4998 15C13.8805 15 14.9998 13.8807 14.9998 12.5Z", fill: "#36C5F0" })
964
- ] });
992
+ var SvgSlack = (props) => {
993
+ var _a, _b;
994
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
995
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { fill: "#2EB67D", d: "M26.5 15a2.5 2.5 0 1 0-2.5-2.5V15zm-7 0a2.5 2.5 0 0 0 2.5-2.5v-7a2.5 2.5 0 0 0-5 0v7a2.5 2.5 0 0 0 2.5 2.5" }),
996
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { fill: "#E01E5A", d: "M5.5 17A2.5 2.5 0 1 0 8 19.5V17zm7 0a2.5 2.5 0 0 0-2.5 2.5v7a2.5 2.5 0 0 0 5 0v-7a2.5 2.5 0 0 0-2.5-2.5" }),
997
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { fill: "#ECB22E", d: "M17 26.5a2.5 2.5 0 1 0 2.5-2.5H17zm0-7a2.5 2.5 0 0 0 2.5 2.5h7a2.5 2.5 0 0 0 0-5h-7a2.5 2.5 0 0 0-2.5 2.5" }),
998
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("path", { fill: "#36C5F0", d: "M15 5.5A2.5 2.5 0 1 0 12.5 8H15zm0 7a2.5 2.5 0 0 0-2.5-2.5h-7a2.5 2.5 0 0 0 0 5h7a2.5 2.5 0 0 0 2.5-2.5" })
999
+ ] });
1000
+ };
965
1001
  var slack_default = SvgSlack;
966
1002
 
967
1003
  // src/theme/default/provider-logos/spotify.svg
968
1004
  var React19 = __toESM(require("react"));
969
1005
  var import_jsx_runtime36 = require("react/jsx-runtime");
970
- var SvgSpotify = (props) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
971
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("circle", { cx: 16, cy: 16, r: 14, fill: "#1ED760" }),
972
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("path", { d: "M22.3643 21.623C22.1252 22.0025 21.6149 22.1087 21.2163 21.881C18.075 20.0593 14.1364 19.6494 9.48023 20.6514C9.03375 20.7425 8.58728 20.4844 8.4916 20.0593C8.39593 19.6343 8.667 19.2092 9.11348 19.1181C14.2002 18.0099 18.5693 18.4805 22.0773 20.5299C22.476 20.7576 22.6035 21.2434 22.3643 21.623ZM23.9908 18.1617C23.6878 18.6323 23.05 18.769 22.5557 18.4957C18.9679 16.3856 13.4985 15.7783 9.25699 17.008C8.6989 17.1598 8.12485 16.8714 7.96539 16.3552C7.80594 15.8239 8.1089 15.2774 8.667 15.1256C13.5145 13.7289 19.542 14.3969 23.6719 16.8106C24.1343 17.0839 24.2938 17.6911 23.9908 18.1617ZM24.1343 14.5487C19.829 12.1197 12.7332 11.892 8.61917 13.0761C7.96539 13.2735 7.26378 12.9243 7.05649 12.2867C6.8492 11.6643 7.23189 10.9964 7.88567 10.799C12.6056 9.43274 20.4509 9.70599 25.394 12.4993C25.984 12.8332 26.1754 13.5619 25.8246 14.1236C25.4897 14.7005 24.7243 14.8978 24.1343 14.5487Z", fill: "white" })
973
- ] });
1006
+ var SvgSpotify = (props) => {
1007
+ var _a, _b;
1008
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
1009
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("circle", { cx: 16, cy: 16, r: 14, fill: "#1ED760" }),
1010
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("path", { fill: "#fff", d: "M22.364 21.623c-.239.38-.75.486-1.148.258-3.141-1.822-7.08-2.232-11.736-1.23-.446.091-.893-.167-.988-.592a.786.786 0 0 1 .621-.94c5.087-1.11 9.456-.639 12.964 1.41a.77.77 0 0 1 .287 1.094m1.627-3.461c-.303.47-.941.607-1.435.334-3.588-2.11-9.058-2.718-13.299-1.488-.558.152-1.132-.137-1.292-.653-.16-.531.144-1.078.702-1.23 4.848-1.396 10.875-.728 15.005 1.686.462.273.622.88.319 1.35m.143-3.613c-4.305-2.43-11.4-2.657-15.515-1.473-.654.197-1.355-.152-1.563-.79-.207-.622.176-1.29.83-1.487 4.72-1.366 12.565-1.093 17.508 1.7.59.334.781 1.063.43 1.625-.334.576-1.1.774-1.69.425" })
1011
+ ] });
1012
+ };
974
1013
  var spotify_default = SvgSpotify;
975
1014
 
976
1015
  // src/theme/default/provider-logos/yandex.svg
977
1016
  var React20 = __toESM(require("react"));
978
1017
  var import_jsx_runtime37 = require("react/jsx-runtime");
979
- var SvgYandex = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
980
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("circle", { cx: 16, cy: 16, r: 14, fill: "white" }),
981
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M21 25H17.8571V9.43465H16.4546C13.8834 9.43465 12.5327 10.7291 12.5327 12.646C12.5327 14.8211 13.4677 15.8315 15.3895 17.1266L16.9739 18.1887L12.4026 25H9L13.1038 18.9137C10.7405 17.2299 9.41569 15.5984 9.41569 12.8274C9.41569 9.35654 11.8315 7 16.4287 7H21V25Z", fill: "#FC3F1D" })
982
- ] });
1018
+ var SvgYandex = (props) => {
1019
+ var _a, _b;
1020
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
1021
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("circle", { cx: 16, cy: 16, r: 14, fill: "#fff" }),
1022
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { fill: "#FC3F1D", d: "M21 25h-3.143V9.435h-1.402c-2.572 0-3.922 1.294-3.922 3.211 0 2.175.935 3.185 2.857 4.48l1.584 1.063L12.403 25H9l4.104-6.086c-2.363-1.684-3.688-3.316-3.688-6.087C9.416 9.357 11.83 7 16.429 7H21z" })
1023
+ ] });
1024
+ };
983
1025
  var yandex_default = SvgYandex;
984
1026
 
985
1027
  // src/theme/default/provider-logos/index.ts
@@ -1010,9 +1052,16 @@ function extractProvider(context) {
1010
1052
  }
1011
1053
  function DefaultButtonSocial({
1012
1054
  attributes,
1013
- node
1055
+ node,
1056
+ onClick
1014
1057
  }) {
1015
1058
  var _a, _b, _c, _d;
1059
+ const {
1060
+ node_type: _ignoredNodeType,
1061
+ type: _ignoredType,
1062
+ name: _ignoredName,
1063
+ ...props
1064
+ } = attributes;
1016
1065
  const {
1017
1066
  flow: { ui }
1018
1067
  } = (0, import_elements_react9.useOryFlow)();
@@ -1030,12 +1079,13 @@ function DefaultButtonSocial({
1030
1079
  value: attributes.value,
1031
1080
  type: "submit",
1032
1081
  name: "provider",
1082
+ ...props,
1083
+ onClick,
1033
1084
  children: [
1034
1085
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "w-5 h-5", children: Logo ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1035
1086
  Logo,
1036
1087
  {
1037
- width: 20,
1038
- height: 20,
1088
+ size: 20,
1039
1089
  className: "object-fill w-full h-full"
1040
1090
  }
1041
1091
  ) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "rounded-full aspect-square border flex items-center justify-center text-xs", children: provider.slice(0, 2) }) }),
@@ -1063,28 +1113,50 @@ function DefaultSocialButtonContainer({
1063
1113
  }
1064
1114
 
1065
1115
  // src/theme/default/components/form/text.tsx
1066
- var import_react_intl6 = require("react-intl");
1116
+ var import_react_intl7 = require("react-intl");
1067
1117
  var import_elements_react10 = require("@ory/elements-react");
1068
1118
  var import_jsx_runtime39 = require("react/jsx-runtime");
1069
1119
  function DefaultText({ node, attributes }) {
1070
1120
  var _a;
1071
- const intl = (0, import_react_intl6.useIntl)();
1121
+ const intl = (0, import_react_intl7.useIntl)();
1072
1122
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
1073
1123
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { "data-testid": `node/text/${attributes.id}/label`, children: (0, import_elements_react10.formatMessage)(node.meta.label, intl) }),
1074
1124
  (_a = attributes.text.context.secrets) == null ? void 0 : _a.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("pre", { "data-testid": `node/text/lookup_secret_codes/text`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("code", { children: (0, import_elements_react10.formatMessage)(text, intl) }) }, index))
1075
1125
  ] });
1076
1126
  }
1077
1127
 
1078
- // src/theme/default/components/card/current-identifier-button.tsx
1128
+ // src/theme/default/assets/icons/arrow-left.svg
1129
+ var React21 = __toESM(require("react"));
1079
1130
  var import_jsx_runtime40 = require("react/jsx-runtime");
1131
+ var SvgArrowLeft = (props) => {
1132
+ var _a, _b;
1133
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 25", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M5 12.325h14m-14 0 6 6m-6-6 6-6" }) });
1134
+ };
1135
+ var arrow_left_default = SvgArrowLeft;
1136
+
1137
+ // src/theme/default/components/card/current-identifier-button.tsx
1138
+ var import_jsx_runtime41 = require("react/jsx-runtime");
1080
1139
  function DefaultCurrentIdentifierButton({
1081
1140
  attributes,
1082
- node
1141
+ onClick,
1142
+ type,
1143
+ href
1083
1144
  }) {
1084
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { children: [
1085
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "py-1 px-3 rounded-full border border-button-identifier-border-default bg-button-identifier-bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-sm font-medium leading-none", children: attributes.value }) }),
1086
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DefaultInput, { attributes, node })
1087
- ] });
1145
+ const Element = onClick ? "button" : "a";
1146
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
1147
+ Element,
1148
+ {
1149
+ className: "cursor-pointer py-1.5 px-3 rounded-full border border-button-identifier-border-default bg-button-identifier-bg-default hover:border-button-identifier-border-hover hover:bg-button-identifier-bg-hover transition-colors inline-flex gap-1 items-center",
1150
+ onClick,
1151
+ ...attributes,
1152
+ href,
1153
+ type,
1154
+ children: [
1155
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(arrow_left_default, { size: 16, className: "text-button-identifier-fg-subtle" }),
1156
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-sm font-medium leading-none text-button-identifier-fg-default", children: attributes.value })
1157
+ ]
1158
+ }
1159
+ ) });
1088
1160
  }
1089
1161
 
1090
1162
  // src/theme/default/components/default-components.tsx
@@ -1116,18 +1188,18 @@ var OryDefaultComponents = {
1116
1188
  };
1117
1189
 
1118
1190
  // src/theme/default/flows/error.tsx
1119
- var import_jsx_runtime41 = require("react/jsx-runtime");
1191
+ var import_jsx_runtime42 = require("react/jsx-runtime");
1120
1192
  function Error2({
1121
1193
  error,
1122
1194
  children
1123
1195
  }) {
1124
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: JSON.stringify(error) || children });
1196
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { children: JSON.stringify(error) || children });
1125
1197
  }
1126
1198
 
1127
1199
  // src/theme/default/flows/login.tsx
1128
1200
  var import_client_fetch8 = require("@ory/client-fetch");
1129
1201
  var import_elements_react11 = require("@ory/elements-react");
1130
- var import_jsx_runtime42 = require("react/jsx-runtime");
1202
+ var import_jsx_runtime43 = require("react/jsx-runtime");
1131
1203
  function Login({
1132
1204
  flow,
1133
1205
  config,
@@ -1138,14 +1210,14 @@ function Login({
1138
1210
  ...OryDefaultComponents,
1139
1211
  ...flowOverrideComponents
1140
1212
  };
1141
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1213
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1142
1214
  import_elements_react11.OryProvider,
1143
1215
  {
1144
1216
  config,
1145
1217
  flow,
1146
1218
  flowType: import_client_fetch8.FlowType.Login,
1147
1219
  components,
1148
- children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_elements_react11.OryCard, {})
1220
+ children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_elements_react11.OryTwoStepCard, {})
1149
1221
  }
1150
1222
  );
1151
1223
  }
@@ -1153,7 +1225,7 @@ function Login({
1153
1225
  // src/theme/default/flows/recovery.tsx
1154
1226
  var import_client_fetch9 = require("@ory/client-fetch");
1155
1227
  var import_elements_react12 = require("@ory/elements-react");
1156
- var import_jsx_runtime43 = require("react/jsx-runtime");
1228
+ var import_jsx_runtime44 = require("react/jsx-runtime");
1157
1229
  function Recovery({
1158
1230
  flow,
1159
1231
  config,
@@ -1164,14 +1236,14 @@ function Recovery({
1164
1236
  ...OryDefaultComponents,
1165
1237
  ...flowOverrideComponents
1166
1238
  };
1167
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1239
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1168
1240
  import_elements_react12.OryProvider,
1169
1241
  {
1170
1242
  config,
1171
1243
  flow,
1172
1244
  flowType: import_client_fetch9.FlowType.Recovery,
1173
1245
  components,
1174
- children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_elements_react12.OryCard, {})
1246
+ children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_elements_react12.OryTwoStepCard, {})
1175
1247
  }
1176
1248
  );
1177
1249
  }
@@ -1179,7 +1251,7 @@ function Recovery({
1179
1251
  // src/theme/default/flows/registration.tsx
1180
1252
  var import_client_fetch10 = require("@ory/client-fetch");
1181
1253
  var import_elements_react13 = require("@ory/elements-react");
1182
- var import_jsx_runtime44 = require("react/jsx-runtime");
1254
+ var import_jsx_runtime45 = require("react/jsx-runtime");
1183
1255
  function Registration({
1184
1256
  flow,
1185
1257
  children,
@@ -1190,14 +1262,14 @@ function Registration({
1190
1262
  ...OryDefaultComponents,
1191
1263
  ...flowOverrideComponents
1192
1264
  };
1193
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1265
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1194
1266
  import_elements_react13.OryProvider,
1195
1267
  {
1196
1268
  config,
1197
1269
  flow,
1198
1270
  flowType: import_client_fetch10.FlowType.Registration,
1199
1271
  components,
1200
- children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_elements_react13.OryCard, {})
1272
+ children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_elements_react13.OryTwoStepCard, {})
1201
1273
  }
1202
1274
  );
1203
1275
  }
@@ -1205,7 +1277,7 @@ function Registration({
1205
1277
  // src/theme/default/flows/settings.tsx
1206
1278
  var import_client_fetch11 = require("@ory/client-fetch");
1207
1279
  var import_elements_react14 = require("@ory/elements-react");
1208
- var import_jsx_runtime45 = require("react/jsx-runtime");
1280
+ var import_jsx_runtime46 = require("react/jsx-runtime");
1209
1281
  function Settings({
1210
1282
  flow,
1211
1283
  config,
@@ -1216,14 +1288,14 @@ function Settings({
1216
1288
  ...OryDefaultComponents,
1217
1289
  ...flowOverrideComponents
1218
1290
  };
1219
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1291
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1220
1292
  import_elements_react14.OryProvider,
1221
1293
  {
1222
1294
  config,
1223
1295
  flow,
1224
1296
  flowType: import_client_fetch11.FlowType.Settings,
1225
1297
  components,
1226
- children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_elements_react14.OryCard, {})
1298
+ children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_elements_react14.OryTwoStepCard, {})
1227
1299
  }
1228
1300
  );
1229
1301
  }
@@ -1231,7 +1303,7 @@ function Settings({
1231
1303
  // src/theme/default/flows/verification.tsx
1232
1304
  var import_client_fetch12 = require("@ory/client-fetch");
1233
1305
  var import_elements_react15 = require("@ory/elements-react");
1234
- var import_jsx_runtime46 = require("react/jsx-runtime");
1306
+ var import_jsx_runtime47 = require("react/jsx-runtime");
1235
1307
  function Verification({
1236
1308
  flow,
1237
1309
  config,
@@ -1242,14 +1314,14 @@ function Verification({
1242
1314
  ...OryDefaultComponents,
1243
1315
  ...flowOverrideComponents
1244
1316
  };
1245
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1317
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1246
1318
  import_elements_react15.OryProvider,
1247
1319
  {
1248
1320
  config,
1249
1321
  flow,
1250
1322
  flowType: import_client_fetch12.FlowType.Verification,
1251
1323
  components,
1252
- children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_elements_react15.OryCard, {})
1324
+ children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_elements_react15.OryTwoStepCard, {})
1253
1325
  }
1254
1326
  );
1255
1327
  }