@sudobility/marketing-components 2.0.2 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,178 +1,178 @@
1
- import * as c from "react";
1
+ import * as i from "react";
2
2
  import fe from "react";
3
- import { cn as R, useLayout as Ae } from "@sudobility/components";
4
- import { textVariants as Y, ui as Qe } from "@sudobility/design";
5
- var K = { exports: {} }, V = {};
3
+ import { cn as E } from "@sudobility/components";
4
+ import { textVariants as H, ui as nt } from "@sudobility/design";
5
+ var X = { exports: {} }, B = {};
6
6
  var Ne;
7
- function et() {
8
- if (Ne) return V;
7
+ function at() {
8
+ if (Ne) return B;
9
9
  Ne = 1;
10
- var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
11
- function t(n, a, o) {
10
+ var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
11
+ function r(n, o, a) {
12
12
  var l = null;
13
- if (o !== void 0 && (l = "" + o), a.key !== void 0 && (l = "" + a.key), "key" in a) {
14
- o = {};
15
- for (var u in a)
16
- u !== "key" && (o[u] = a[u]);
17
- } else o = a;
18
- return a = o.ref, {
13
+ if (a !== void 0 && (l = "" + a), o.key !== void 0 && (l = "" + o.key), "key" in o) {
14
+ a = {};
15
+ for (var u in o)
16
+ u !== "key" && (a[u] = o[u]);
17
+ } else a = o;
18
+ return o = a.ref, {
19
19
  $$typeof: e,
20
20
  type: n,
21
21
  key: l,
22
- ref: a !== void 0 ? a : null,
23
- props: o
22
+ ref: o !== void 0 ? o : null,
23
+ props: a
24
24
  };
25
25
  }
26
- return V.Fragment = r, V.jsx = t, V.jsxs = t, V;
26
+ return B.Fragment = t, B.jsx = r, B.jsxs = r, B;
27
27
  }
28
- var B = {};
28
+ var V = {};
29
29
  var Pe;
30
- function tt() {
30
+ function ot() {
31
31
  return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && (function() {
32
- function e(s) {
33
- if (s == null) return null;
34
- if (typeof s == "function")
35
- return s.$$typeof === q ? null : s.displayName || s.name || null;
36
- if (typeof s == "string") return s;
37
- switch (s) {
38
- case w:
32
+ function e(c) {
33
+ if (c == null) return null;
34
+ if (typeof c == "function")
35
+ return c.$$typeof === et ? null : c.displayName || c.name || null;
36
+ if (typeof c == "string") return c;
37
+ switch (c) {
38
+ case y:
39
39
  return "Fragment";
40
- case b:
40
+ case g:
41
41
  return "Profiler";
42
- case v:
42
+ case R:
43
43
  return "StrictMode";
44
- case M:
44
+ case O:
45
45
  return "Suspense";
46
- case I:
47
- return "SuspenseList";
48
46
  case U:
47
+ return "SuspenseList";
48
+ case M:
49
49
  return "Activity";
50
50
  }
51
- if (typeof s == "object")
52
- switch (typeof s.tag == "number" && console.error(
51
+ if (typeof c == "object")
52
+ switch (typeof c.tag == "number" && console.error(
53
53
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
54
- ), s.$$typeof) {
55
- case E:
54
+ ), c.$$typeof) {
55
+ case v:
56
56
  return "Portal";
57
- case O:
58
- return s.displayName || "Context";
59
- case k:
60
- return (s._context.displayName || "Context") + ".Consumer";
61
- case T:
62
- var x = s.render;
63
- return s = s.displayName, s || (s = x.displayName || x.name || "", s = s !== "" ? "ForwardRef(" + s + ")" : "ForwardRef"), s;
64
- case W:
65
- return x = s.displayName || null, x !== null ? x : e(s.type) || "Memo";
57
+ case $:
58
+ return c.displayName || "Context";
59
+ case w:
60
+ return (c._context.displayName || "Context") + ".Consumer";
61
+ case _:
62
+ var x = c.render;
63
+ return c = c.displayName, c || (c = x.displayName || x.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
64
+ case F:
65
+ return x = c.displayName || null, x !== null ? x : e(c.type) || "Memo";
66
66
  case j:
67
- x = s._payload, s = s._init;
67
+ x = c._payload, c = c._init;
68
68
  try {
69
- return e(s(x));
69
+ return e(c(x));
70
70
  } catch {
71
71
  }
72
72
  }
73
73
  return null;
74
74
  }
75
- function r(s) {
76
- return "" + s;
75
+ function t(c) {
76
+ return "" + c;
77
77
  }
78
- function t(s) {
78
+ function r(c) {
79
79
  try {
80
- r(s);
80
+ t(c);
81
81
  var x = !1;
82
82
  } catch {
83
83
  x = !0;
84
84
  }
85
85
  if (x) {
86
86
  x = console;
87
- var C = x.error, S = typeof Symbol == "function" && Symbol.toStringTag && s[Symbol.toStringTag] || s.constructor.name || "Object";
87
+ var C = x.error, S = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
88
88
  return C.call(
89
89
  x,
90
90
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
91
91
  S
92
- ), r(s);
92
+ ), t(c);
93
93
  }
94
94
  }
95
- function n(s) {
96
- if (s === w) return "<>";
97
- if (typeof s == "object" && s !== null && s.$$typeof === j)
95
+ function n(c) {
96
+ if (c === y) return "<>";
97
+ if (typeof c == "object" && c !== null && c.$$typeof === j)
98
98
  return "<...>";
99
99
  try {
100
- var x = e(s);
100
+ var x = e(c);
101
101
  return x ? "<" + x + ">" : "<...>";
102
102
  } catch {
103
103
  return "<...>";
104
104
  }
105
105
  }
106
- function a() {
107
- var s = oe.A;
108
- return s === null ? null : s.getOwner();
109
- }
110
106
  function o() {
107
+ var c = ae.A;
108
+ return c === null ? null : c.getOwner();
109
+ }
110
+ function a() {
111
111
  return Error("react-stack-top-frame");
112
112
  }
113
- function l(s) {
114
- if (we.call(s, "key")) {
115
- var x = Object.getOwnPropertyDescriptor(s, "key").get;
113
+ function l(c) {
114
+ if (we.call(c, "key")) {
115
+ var x = Object.getOwnPropertyDescriptor(c, "key").get;
116
116
  if (x && x.isReactWarning) return !1;
117
117
  }
118
- return s.key !== void 0;
118
+ return c.key !== void 0;
119
119
  }
120
- function u(s, x) {
120
+ function u(c, x) {
121
121
  function C() {
122
122
  ke || (ke = !0, console.error(
123
123
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
124
124
  x
125
125
  ));
126
126
  }
127
- C.isReactWarning = !0, Object.defineProperty(s, "key", {
127
+ C.isReactWarning = !0, Object.defineProperty(c, "key", {
128
128
  get: C,
129
129
  configurable: !0
130
130
  });
131
131
  }
132
- function i() {
133
- var s = e(this.type);
134
- return Ee[s] || (Ee[s] = !0, console.error(
132
+ function s() {
133
+ var c = e(this.type);
134
+ return Re[c] || (Re[c] = !0, console.error(
135
135
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
136
- )), s = this.props.ref, s !== void 0 ? s : null;
136
+ )), c = this.props.ref, c !== void 0 ? c : null;
137
137
  }
138
- function f(s, x, C, S, X, ie) {
138
+ function m(c, x, C, S, q, le) {
139
139
  var N = C.ref;
140
- return s = {
141
- $$typeof: y,
142
- type: s,
140
+ return c = {
141
+ $$typeof: k,
142
+ type: c,
143
143
  key: x,
144
144
  props: C,
145
145
  _owner: S
146
- }, (N !== void 0 ? N : null) !== null ? Object.defineProperty(s, "ref", {
146
+ }, (N !== void 0 ? N : null) !== null ? Object.defineProperty(c, "ref", {
147
147
  enumerable: !1,
148
- get: i
149
- }) : Object.defineProperty(s, "ref", { enumerable: !1, value: null }), s._store = {}, Object.defineProperty(s._store, "validated", {
148
+ get: s
149
+ }) : Object.defineProperty(c, "ref", { enumerable: !1, value: null }), c._store = {}, Object.defineProperty(c._store, "validated", {
150
150
  configurable: !1,
151
151
  enumerable: !1,
152
152
  writable: !0,
153
153
  value: 0
154
- }), Object.defineProperty(s, "_debugInfo", {
154
+ }), Object.defineProperty(c, "_debugInfo", {
155
155
  configurable: !1,
156
156
  enumerable: !1,
157
157
  writable: !0,
158
158
  value: null
159
- }), Object.defineProperty(s, "_debugStack", {
159
+ }), Object.defineProperty(c, "_debugStack", {
160
160
  configurable: !1,
161
161
  enumerable: !1,
162
162
  writable: !0,
163
- value: X
164
- }), Object.defineProperty(s, "_debugTask", {
163
+ value: q
164
+ }), Object.defineProperty(c, "_debugTask", {
165
165
  configurable: !1,
166
166
  enumerable: !1,
167
167
  writable: !0,
168
- value: ie
169
- }), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
168
+ value: le
169
+ }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
170
170
  }
171
- function m(s, x, C, S, X, ie) {
171
+ function f(c, x, C, S, q, le) {
172
172
  var N = x.children;
173
173
  if (N !== void 0)
174
174
  if (S)
175
- if (Ke(N)) {
175
+ if (tt(N)) {
176
176
  for (S = 0; S < N.length; S++)
177
177
  d(N[S]);
178
178
  Object.freeze && Object.freeze(N);
@@ -182,9 +182,9 @@ function tt() {
182
182
  );
183
183
  else d(N);
184
184
  if (we.call(x, "key")) {
185
- N = e(s);
186
- var z = Object.keys(x).filter(function(Ze) {
187
- return Ze !== "key";
185
+ N = e(c);
186
+ var z = Object.keys(x).filter(function(rt) {
187
+ return rt !== "key";
188
188
  });
189
189
  S = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", Se[N + S] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
190
190
  `A props object containing a "key" prop is being spread into JSX:
@@ -199,117 +199,117 @@ React keys must be passed directly to JSX without using spread:
199
199
  N
200
200
  ), Se[N + S] = !0);
201
201
  }
202
- if (N = null, C !== void 0 && (t(C), N = "" + C), l(x) && (t(x.key), N = "" + x.key), "key" in x) {
202
+ if (N = null, C !== void 0 && (r(C), N = "" + C), l(x) && (r(x.key), N = "" + x.key), "key" in x) {
203
203
  C = {};
204
- for (var se in x)
205
- se !== "key" && (C[se] = x[se]);
204
+ for (var ie in x)
205
+ ie !== "key" && (C[ie] = x[ie]);
206
206
  } else C = x;
207
207
  return N && u(
208
208
  C,
209
- typeof s == "function" ? s.displayName || s.name || "Unknown" : s
210
- ), f(
211
- s,
209
+ typeof c == "function" ? c.displayName || c.name || "Unknown" : c
210
+ ), m(
211
+ c,
212
212
  N,
213
213
  C,
214
- a(),
215
- X,
216
- ie
214
+ o(),
215
+ q,
216
+ le
217
217
  );
218
218
  }
219
- function d(s) {
220
- p(s) ? s._store && (s._store.validated = 1) : typeof s == "object" && s !== null && s.$$typeof === j && (s._payload.status === "fulfilled" ? p(s._payload.value) && s._payload.value._store && (s._payload.value._store.validated = 1) : s._store && (s._store.validated = 1));
219
+ function d(c) {
220
+ p(c) ? c._store && (c._store.validated = 1) : typeof c == "object" && c !== null && c.$$typeof === j && (c._payload.status === "fulfilled" ? p(c._payload.value) && c._payload.value._store && (c._payload.value._store.validated = 1) : c._store && (c._store.validated = 1));
221
221
  }
222
- function p(s) {
223
- return typeof s == "object" && s !== null && s.$$typeof === y;
222
+ function p(c) {
223
+ return typeof c == "object" && c !== null && c.$$typeof === k;
224
224
  }
225
- var g = fe, y = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), O = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), W = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), U = Symbol.for("react.activity"), q = Symbol.for("react.client.reference"), oe = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, we = Object.prototype.hasOwnProperty, Ke = Array.isArray, le = console.createTask ? console.createTask : function() {
225
+ var b = fe, k = /* @__PURE__ */ Symbol.for("react.transitional.element"), v = /* @__PURE__ */ Symbol.for("react.portal"), y = /* @__PURE__ */ Symbol.for("react.fragment"), R = /* @__PURE__ */ Symbol.for("react.strict_mode"), g = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.consumer"), $ = /* @__PURE__ */ Symbol.for("react.context"), _ = /* @__PURE__ */ Symbol.for("react.forward_ref"), O = /* @__PURE__ */ Symbol.for("react.suspense"), U = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), M = /* @__PURE__ */ Symbol.for("react.activity"), et = /* @__PURE__ */ Symbol.for("react.client.reference"), ae = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, we = Object.prototype.hasOwnProperty, tt = Array.isArray, oe = console.createTask ? console.createTask : function() {
226
226
  return null;
227
227
  };
228
- g = {
229
- react_stack_bottom_frame: function(s) {
230
- return s();
228
+ b = {
229
+ react_stack_bottom_frame: function(c) {
230
+ return c();
231
231
  }
232
232
  };
233
- var ke, Ee = {}, Re = g.react_stack_bottom_frame.bind(
234
- g,
235
- o
236
- )(), Ce = le(n(o)), Se = {};
237
- B.Fragment = w, B.jsx = function(s, x, C) {
238
- var S = 1e4 > oe.recentlyCreatedOwnerStacks++;
239
- return m(
240
- s,
233
+ var ke, Re = {}, Ee = b.react_stack_bottom_frame.bind(
234
+ b,
235
+ a
236
+ )(), Ce = oe(n(a)), Se = {};
237
+ V.Fragment = y, V.jsx = function(c, x, C) {
238
+ var S = 1e4 > ae.recentlyCreatedOwnerStacks++;
239
+ return f(
240
+ c,
241
241
  x,
242
242
  C,
243
243
  !1,
244
- S ? Error("react-stack-top-frame") : Re,
245
- S ? le(n(s)) : Ce
244
+ S ? Error("react-stack-top-frame") : Ee,
245
+ S ? oe(n(c)) : Ce
246
246
  );
247
- }, B.jsxs = function(s, x, C) {
248
- var S = 1e4 > oe.recentlyCreatedOwnerStacks++;
249
- return m(
250
- s,
247
+ }, V.jsxs = function(c, x, C) {
248
+ var S = 1e4 > ae.recentlyCreatedOwnerStacks++;
249
+ return f(
250
+ c,
251
251
  x,
252
252
  C,
253
253
  !0,
254
- S ? Error("react-stack-top-frame") : Re,
255
- S ? le(n(s)) : Ce
254
+ S ? Error("react-stack-top-frame") : Ee,
255
+ S ? oe(n(c)) : Ce
256
256
  );
257
257
  };
258
- })()), B;
258
+ })()), V;
259
259
  }
260
- var je;
261
- function rt() {
262
- return je || (je = 1, process.env.NODE_ENV === "production" ? K.exports = et() : K.exports = tt()), K.exports;
260
+ var _e;
261
+ function lt() {
262
+ return _e || (_e = 1, process.env.NODE_ENV === "production" ? X.exports = at() : X.exports = ot()), X.exports;
263
263
  }
264
- var h = rt();
265
- const Nr = ({
264
+ var h = lt();
265
+ const Fr = ({
266
266
  className: e,
267
- children: r,
268
- disabled: t
267
+ children: t,
268
+ disabled: r
269
269
  }) => /* @__PURE__ */ h.jsx(
270
270
  "div",
271
271
  {
272
- className: R(
272
+ className: E(
273
273
  "p-4 rounded-lg border transition-colors",
274
274
  "bg-white dark:bg-gray-900",
275
275
  "border-gray-200 dark:border-gray-700",
276
276
  "text-gray-900 dark:text-white",
277
- t && "opacity-50 cursor-not-allowed",
277
+ r && "opacity-50 cursor-not-allowed",
278
278
  e
279
279
  ),
280
280
  role: "region",
281
281
  "aria-label": "CrmDashboard",
282
- children: r || "CrmDashboard Component"
282
+ children: t || "CrmDashboard Component"
283
283
  }
284
- ), Pr = ({
284
+ ), Ir = ({
285
285
  className: e,
286
- children: r,
287
- disabled: t = !1,
286
+ children: t,
287
+ disabled: r = !1,
288
288
  onClick: n
289
289
  }) => /* @__PURE__ */ h.jsx(
290
290
  "div",
291
291
  {
292
- className: R(
292
+ className: E(
293
293
  "p-4 rounded-lg border transition-colors",
294
294
  "bg-white dark:bg-gray-900",
295
295
  "border-gray-200 dark:border-gray-700",
296
296
  "text-gray-900 dark:text-white",
297
- t && "opacity-50 cursor-not-allowed",
297
+ r && "opacity-50 cursor-not-allowed",
298
298
  "hover:bg-gray-50 dark:hover:bg-gray-800",
299
299
  e
300
300
  ),
301
- onClick: t ? void 0 : n,
301
+ onClick: r ? void 0 : n,
302
302
  role: "region",
303
303
  "aria-label": "UctaUbanner",
304
- children: r || "UctaUbanner Component"
304
+ children: t || "UctaUbanner Component"
305
305
  }
306
306
  );
307
- function nt({
307
+ function it({
308
308
  title: e,
309
- titleId: r,
310
- ...t
309
+ titleId: t,
310
+ ...r
311
311
  }, n) {
312
- return /* @__PURE__ */ c.createElement("svg", Object.assign({
312
+ return /* @__PURE__ */ i.createElement("svg", Object.assign({
313
313
  xmlns: "http://www.w3.org/2000/svg",
314
314
  fill: "none",
315
315
  viewBox: "0 0 24 24",
@@ -318,22 +318,22 @@ function nt({
318
318
  "aria-hidden": "true",
319
319
  "data-slot": "icon",
320
320
  ref: n,
321
- "aria-labelledby": r
322
- }, t), e ? /* @__PURE__ */ c.createElement("title", {
323
- id: r
324
- }, e) : null, /* @__PURE__ */ c.createElement("path", {
321
+ "aria-labelledby": t
322
+ }, r), e ? /* @__PURE__ */ i.createElement("title", {
323
+ id: t
324
+ }, e) : null, /* @__PURE__ */ i.createElement("path", {
325
325
  strokeLinecap: "round",
326
326
  strokeLinejoin: "round",
327
327
  d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
328
328
  }));
329
329
  }
330
- const at = /* @__PURE__ */ c.forwardRef(nt), jr = ({
330
+ const st = /* @__PURE__ */ i.forwardRef(it), Mr = ({
331
331
  title: e,
332
- description: r,
333
- icon: t = at,
332
+ description: t,
333
+ icon: r = st,
334
334
  iconVariant: n = "success",
335
- size: a = "md",
336
- className: o
335
+ size: o = "md",
336
+ className: a
337
337
  }) => {
338
338
  const l = {
339
339
  primary: "bg-blue-400 text-blue-900",
@@ -341,122 +341,122 @@ const at = /* @__PURE__ */ c.forwardRef(nt), jr = ({
341
341
  warning: "bg-yellow-400 text-yellow-900",
342
342
  info: "bg-cyan-400 text-cyan-900",
343
343
  gradient: "bg-gradient-to-br from-blue-400 to-purple-500 text-white"
344
- }, i = {
344
+ }, s = {
345
345
  sm: {
346
346
  container: "gap-2",
347
347
  icon: "p-1.5",
348
348
  iconSize: "h-4 w-4",
349
- title: Y.body.md(),
350
- description: Y.body.sm()
349
+ title: H.body.md(),
350
+ description: H.body.sm()
351
351
  },
352
352
  md: {
353
353
  container: "gap-3",
354
354
  icon: "p-2",
355
355
  iconSize: "h-5 w-5",
356
- title: Y.body.strong.md(),
357
- description: Y.body.md()
356
+ title: H.body.strong.md(),
357
+ description: H.body.md()
358
358
  },
359
359
  lg: {
360
360
  container: "gap-4",
361
361
  icon: "p-3",
362
362
  iconSize: "h-6 w-6",
363
- title: Y.heading.h4(),
364
- description: Y.body.md()
363
+ title: H.heading.h4(),
364
+ description: H.body.md()
365
365
  }
366
- }[a];
367
- return /* @__PURE__ */ h.jsxs("div", { className: R("flex items-start", i.container, o), children: [
366
+ }[o];
367
+ return /* @__PURE__ */ h.jsxs("div", { className: E("flex items-start", s.container, a), children: [
368
368
  /* @__PURE__ */ h.jsx(
369
369
  "div",
370
370
  {
371
- className: R(
371
+ className: E(
372
372
  "rounded-full flex-shrink-0",
373
- i.icon,
373
+ s.icon,
374
374
  l[n]
375
375
  ),
376
- children: /* @__PURE__ */ h.jsx(t, { className: i.iconSize })
376
+ children: /* @__PURE__ */ h.jsx(r, { className: s.iconSize })
377
377
  }
378
378
  ),
379
379
  /* @__PURE__ */ h.jsxs("div", { className: "flex-1 min-w-0", children: [
380
- /* @__PURE__ */ h.jsx("h4", { className: i.title, children: e }),
381
- r && /* @__PURE__ */ h.jsx(
380
+ /* @__PURE__ */ h.jsx("h4", { className: s.title, children: e }),
381
+ t && /* @__PURE__ */ h.jsx(
382
382
  "p",
383
383
  {
384
- className: R(
385
- i.description,
384
+ className: E(
385
+ s.description,
386
386
  "mt-1 text-gray-600 dark:text-gray-300"
387
387
  ),
388
- children: r
388
+ children: t
389
389
  }
390
390
  )
391
391
  ] })
392
392
  ] });
393
- }, _r = ({
393
+ }, Wr = ({
394
394
  className: e,
395
- children: r,
396
- disabled: t = !1,
395
+ children: t,
396
+ disabled: r = !1,
397
397
  onClick: n
398
398
  }) => /* @__PURE__ */ h.jsx(
399
399
  "div",
400
400
  {
401
- className: R(
401
+ className: E(
402
402
  "p-4 rounded-lg border transition-colors",
403
403
  "bg-white dark:bg-gray-900",
404
404
  "border-gray-200 dark:border-gray-700",
405
405
  "text-gray-900 dark:text-white",
406
- t && "opacity-50 cursor-not-allowed",
406
+ r && "opacity-50 cursor-not-allowed",
407
407
  "hover:bg-gray-50 dark:hover:bg-gray-800",
408
408
  e
409
409
  ),
410
- onClick: t ? void 0 : n,
410
+ onClick: r ? void 0 : n,
411
411
  role: "region",
412
412
  "aria-label": "UfeatureUspotlight",
413
- children: r || "UfeatureUspotlight Component"
413
+ children: t || "UfeatureUspotlight Component"
414
414
  }
415
- ), Tr = ({
415
+ ), zr = ({
416
416
  badgeIcon: e,
417
- badgeText: r,
418
- badgeColor: t = "blue",
417
+ badgeText: t,
418
+ badgeColor: r = "blue",
419
419
  title: n,
420
- subtitle: a,
421
- description: o,
420
+ subtitle: o,
421
+ description: a,
422
422
  primaryButton: l,
423
423
  secondaryButton: u,
424
- className: i,
425
- children: f
424
+ className: s,
425
+ children: m
426
426
  }) => {
427
- const { containerClass: m } = Ae(), p = {
427
+ const f = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", p = {
428
428
  blue: "bg-blue-100 dark:bg-blue-900/30 border-blue-300 dark:border-blue-700 text-blue-800 dark:text-blue-200",
429
429
  green: "bg-green-100 dark:bg-green-900/30 border-green-300 dark:border-green-700 text-green-800 dark:text-green-200",
430
430
  purple: "bg-purple-100 dark:bg-purple-900/30 border-purple-300 dark:border-purple-700 text-purple-800 dark:text-purple-200",
431
431
  orange: "bg-orange-100 dark:bg-orange-900/30 border-orange-300 dark:border-orange-700 text-orange-800 dark:text-orange-200",
432
432
  pink: "bg-pink-100 dark:bg-pink-900/30 border-pink-300 dark:border-pink-700 text-pink-800 dark:text-pink-200",
433
433
  gray: "bg-gray-100 dark:bg-gray-900/30 border-gray-300 dark:border-gray-700 text-gray-800 dark:text-gray-200"
434
- }[t];
435
- return /* @__PURE__ */ h.jsx("section", { className: R("py-20", i), children: /* @__PURE__ */ h.jsxs("div", { className: `${m} text-center`, children: [
434
+ }[r];
435
+ return /* @__PURE__ */ h.jsx("section", { className: E("py-20", s), children: /* @__PURE__ */ h.jsxs("div", { className: `${f} text-center`, children: [
436
436
  /* @__PURE__ */ h.jsxs(
437
437
  "div",
438
438
  {
439
- className: R(
439
+ className: E(
440
440
  "inline-flex items-center border px-6 py-3 rounded-full mb-6",
441
441
  p
442
442
  ),
443
443
  children: [
444
444
  e && /* @__PURE__ */ h.jsx("span", { className: "mr-3", children: e }),
445
- /* @__PURE__ */ h.jsx("span", { className: "font-semibold", children: r })
445
+ /* @__PURE__ */ h.jsx("span", { className: "font-semibold", children: t })
446
446
  ]
447
447
  }
448
448
  ),
449
449
  /* @__PURE__ */ h.jsxs("h1", { className: "text-4xl md:text-6xl font-bold text-gray-900 dark:text-gray-100 mb-6", children: [
450
450
  typeof n == "string" ? /* @__PURE__ */ h.jsx("span", { dangerouslySetInnerHTML: { __html: n } }) : n,
451
- a && /* @__PURE__ */ h.jsx("span", { className: "text-blue-600 dark:text-blue-400 block", children: a })
451
+ o && /* @__PURE__ */ h.jsx("span", { className: "text-blue-600 dark:text-blue-400 block", children: o })
452
452
  ] }),
453
- /* @__PURE__ */ h.jsx("p", { className: "text-xl text-gray-600 dark:text-gray-300 mb-8 max-w-4xl mx-auto leading-relaxed", children: o }),
453
+ /* @__PURE__ */ h.jsx("p", { className: "text-xl text-gray-600 dark:text-gray-300 mb-8 max-w-4xl mx-auto leading-relaxed", children: a }),
454
454
  (l || u) && /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col sm:flex-row gap-4 justify-center mb-8", children: [
455
455
  l && (l.href ? /* @__PURE__ */ h.jsx(
456
456
  "a",
457
457
  {
458
458
  href: l.href,
459
- className: R(
459
+ className: E(
460
460
  "px-8 py-3 rounded-md bg-blue-600 text-white hover:bg-blue-700 transition-colors inline-block",
461
461
  l.className
462
462
  ),
@@ -466,7 +466,7 @@ const at = /* @__PURE__ */ c.forwardRef(nt), jr = ({
466
466
  "button",
467
467
  {
468
468
  onClick: l.onClick,
469
- className: R(
469
+ className: E(
470
470
  "px-8 py-3 rounded-md bg-blue-600 text-white hover:bg-blue-700 transition-colors",
471
471
  l.className
472
472
  ),
@@ -477,7 +477,7 @@ const at = /* @__PURE__ */ c.forwardRef(nt), jr = ({
477
477
  "a",
478
478
  {
479
479
  href: u.href,
480
- className: R(
480
+ className: E(
481
481
  "px-8 py-3 rounded-md border-2 border-gray-300 dark:border-gray-600 hover:border-gray-400 transition-colors inline-block",
482
482
  u.className
483
483
  ),
@@ -487,7 +487,7 @@ const at = /* @__PURE__ */ c.forwardRef(nt), jr = ({
487
487
  "button",
488
488
  {
489
489
  onClick: u.onClick,
490
- className: R(
490
+ className: E(
491
491
  "px-8 py-3 rounded-md border-2 border-gray-300 dark:border-gray-600 hover:border-gray-400 transition-colors",
492
492
  u.className
493
493
  ),
@@ -495,76 +495,76 @@ const at = /* @__PURE__ */ c.forwardRef(nt), jr = ({
495
495
  }
496
496
  ))
497
497
  ] }),
498
- f
498
+ m
499
499
  ] }) });
500
500
  };
501
- function P(e, r) {
501
+ function P(e, t) {
502
502
  if (e === !1 || e === null || typeof e > "u")
503
- throw new Error(r);
503
+ throw new Error(t);
504
504
  }
505
- function _(e, r) {
505
+ function L(e, t) {
506
506
  if (!e) {
507
- typeof console < "u" && console.warn(r);
507
+ typeof console < "u" && console.warn(t);
508
508
  try {
509
- throw new Error(r);
509
+ throw new Error(t);
510
510
  } catch {
511
511
  }
512
512
  }
513
513
  }
514
514
  function de({
515
515
  pathname: e = "/",
516
- search: r = "",
517
- hash: t = ""
516
+ search: t = "",
517
+ hash: r = ""
518
518
  }) {
519
- return r && r !== "?" && (e += r.charAt(0) === "?" ? r : "?" + r), t && t !== "#" && (e += t.charAt(0) === "#" ? t : "#" + t), e;
519
+ return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), r && r !== "#" && (e += r.charAt(0) === "#" ? r : "#" + r), e;
520
520
  }
521
521
  function me(e) {
522
- let r = {};
522
+ let t = {};
523
523
  if (e) {
524
- let t = e.indexOf("#");
525
- t >= 0 && (r.hash = e.substring(t), e = e.substring(0, t));
524
+ let r = e.indexOf("#");
525
+ r >= 0 && (t.hash = e.substring(r), e = e.substring(0, r));
526
526
  let n = e.indexOf("?");
527
- n >= 0 && (r.search = e.substring(n), e = e.substring(0, n)), e && (r.pathname = e);
527
+ n >= 0 && (t.search = e.substring(n), e = e.substring(0, n)), e && (t.pathname = e);
528
528
  }
529
- return r;
529
+ return t;
530
530
  }
531
- function Oe(e, r, t = "/") {
532
- return ot(e, r, t, !1);
531
+ function Oe(e, t, r = "/") {
532
+ return ut(e, t, r, !1);
533
533
  }
534
- function ot(e, r, t, n) {
535
- let a = typeof r == "string" ? me(r) : r, o = F(a.pathname || "/", t);
536
- if (o == null)
534
+ function ut(e, t, r, n) {
535
+ let o = typeof t == "string" ? me(t) : t, a = I(o.pathname || "/", r);
536
+ if (a == null)
537
537
  return null;
538
538
  let l = Ue(e);
539
- lt(l);
539
+ ct(l);
540
540
  let u = null;
541
- for (let i = 0; u == null && i < l.length; ++i) {
542
- let f = bt(o);
543
- u = pt(
544
- l[i],
545
- f,
541
+ for (let s = 0; u == null && s < l.length; ++s) {
542
+ let m = wt(a);
543
+ u = yt(
544
+ l[s],
545
+ m,
546
546
  n
547
547
  );
548
548
  }
549
549
  return u;
550
550
  }
551
- function Ue(e, r = [], t = [], n = "", a = !1) {
552
- let o = (l, u, i = a, f) => {
553
- let m = {
554
- relativePath: f === void 0 ? l.path || "" : f,
551
+ function Ue(e, t = [], r = [], n = "", o = !1) {
552
+ let a = (l, u, s = o, m) => {
553
+ let f = {
554
+ relativePath: m === void 0 ? l.path || "" : m,
555
555
  caseSensitive: l.caseSensitive === !0,
556
556
  childrenIndex: u,
557
557
  route: l
558
558
  };
559
- if (m.relativePath.startsWith("/")) {
560
- if (!m.relativePath.startsWith(n) && i)
559
+ if (f.relativePath.startsWith("/")) {
560
+ if (!f.relativePath.startsWith(n) && s)
561
561
  return;
562
562
  P(
563
- m.relativePath.startsWith(n),
564
- `Absolute route path "${m.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
565
- ), m.relativePath = m.relativePath.slice(n.length);
563
+ f.relativePath.startsWith(n),
564
+ `Absolute route path "${f.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
565
+ ), f.relativePath = f.relativePath.slice(n.length);
566
566
  }
567
- let d = L([n, m.relativePath]), p = t.concat(m);
567
+ let d = A([n, f.relativePath]), p = r.concat(f);
568
568
  l.children && l.children.length > 0 && (P(
569
569
  // Our types know better, but runtime JS may not!
570
570
  // @ts-expect-error
@@ -572,430 +572,487 @@ function Ue(e, r = [], t = [], n = "", a = !1) {
572
572
  `Index routes must not have child routes. Please remove all child routes from route path "${d}".`
573
573
  ), Ue(
574
574
  l.children,
575
- r,
575
+ t,
576
576
  p,
577
577
  d,
578
- i
579
- )), !(l.path == null && !l.index) && r.push({
578
+ s
579
+ )), !(l.path == null && !l.index) && t.push({
580
580
  path: d,
581
- score: mt(d, l.index),
581
+ score: bt(d, l.index),
582
582
  routesMeta: p
583
583
  });
584
584
  };
585
585
  return e.forEach((l, u) => {
586
586
  if (l.path === "" || !l.path?.includes("?"))
587
- o(l, u);
587
+ a(l, u);
588
588
  else
589
- for (let i of Fe(l.path))
590
- o(l, u, !0, i);
591
- }), r;
592
- }
593
- function Fe(e) {
594
- let r = e.split("/");
595
- if (r.length === 0) return [];
596
- let [t, ...n] = r, a = t.endsWith("?"), o = t.replace(/\?$/, "");
589
+ for (let s of Ae(l.path))
590
+ a(l, u, !0, s);
591
+ }), t;
592
+ }
593
+ function Ae(e) {
594
+ let t = e.split("/");
595
+ if (t.length === 0) return [];
596
+ let [r, ...n] = t, o = r.endsWith("?"), a = r.replace(/\?$/, "");
597
597
  if (n.length === 0)
598
- return a ? [o, ""] : [o];
599
- let l = Fe(n.join("/")), u = [];
598
+ return o ? [a, ""] : [a];
599
+ let l = Ae(n.join("/")), u = [];
600
600
  return u.push(
601
601
  ...l.map(
602
- (i) => i === "" ? o : [o, i].join("/")
602
+ (s) => s === "" ? a : [a, s].join("/")
603
603
  )
604
- ), a && u.push(...l), u.map(
605
- (i) => e.startsWith("/") && i === "" ? "/" : i
604
+ ), o && u.push(...l), u.map(
605
+ (s) => e.startsWith("/") && s === "" ? "/" : s
606
606
  );
607
607
  }
608
- function lt(e) {
608
+ function ct(e) {
609
609
  e.sort(
610
- (r, t) => r.score !== t.score ? t.score - r.score : ht(
611
- r.routesMeta.map((n) => n.childrenIndex),
612
- t.routesMeta.map((n) => n.childrenIndex)
610
+ (t, r) => t.score !== r.score ? r.score - t.score : xt(
611
+ t.routesMeta.map((n) => n.childrenIndex),
612
+ r.routesMeta.map((n) => n.childrenIndex)
613
613
  )
614
614
  );
615
615
  }
616
- var it = /^:[\w-]+$/, st = 3, ut = 2, ct = 1, dt = 10, ft = -2, _e = (e) => e === "*";
617
- function mt(e, r) {
618
- let t = e.split("/"), n = t.length;
619
- return t.some(_e) && (n += ft), r && (n += ut), t.filter((a) => !_e(a)).reduce(
620
- (a, o) => a + (it.test(o) ? st : o === "" ? ct : dt),
616
+ var dt = /^:[\w-]+$/, ft = 3, mt = 2, ht = 1, pt = 10, gt = -2, Te = (e) => e === "*";
617
+ function bt(e, t) {
618
+ let r = e.split("/"), n = r.length;
619
+ return r.some(Te) && (n += gt), t && (n += mt), r.filter((o) => !Te(o)).reduce(
620
+ (o, a) => o + (dt.test(a) ? ft : a === "" ? ht : pt),
621
621
  n
622
622
  );
623
623
  }
624
- function ht(e, r) {
625
- return e.length === r.length && e.slice(0, -1).every((n, a) => n === r[a]) ? (
624
+ function xt(e, t) {
625
+ return e.length === t.length && e.slice(0, -1).every((n, o) => n === t[o]) ? (
626
626
  // If two routes are siblings, we should try to match the earlier sibling
627
627
  // first. This allows people to have fine-grained control over the matching
628
628
  // behavior by simply putting routes with identical paths in the order they
629
629
  // want them tried.
630
- e[e.length - 1] - r[r.length - 1]
630
+ e[e.length - 1] - t[t.length - 1]
631
631
  ) : (
632
632
  // Otherwise, it doesn't really make sense to rank non-siblings by index,
633
633
  // so they sort equally.
634
634
  0
635
635
  );
636
636
  }
637
- function pt(e, r, t = !1) {
638
- let { routesMeta: n } = e, a = {}, o = "/", l = [];
637
+ function yt(e, t, r = !1) {
638
+ let { routesMeta: n } = e, o = {}, a = "/", l = [];
639
639
  for (let u = 0; u < n.length; ++u) {
640
- let i = n[u], f = u === n.length - 1, m = o === "/" ? r : r.slice(o.length) || "/", d = te(
641
- { path: i.relativePath, caseSensitive: i.caseSensitive, end: f },
642
- m
643
- ), p = i.route;
644
- if (!d && f && t && !n[n.length - 1].route.index && (d = te(
640
+ let s = n[u], m = u === n.length - 1, f = a === "/" ? t : t.slice(a.length) || "/", d = ee(
641
+ { path: s.relativePath, caseSensitive: s.caseSensitive, end: m },
642
+ f
643
+ ), p = s.route;
644
+ if (!d && m && r && !n[n.length - 1].route.index && (d = ee(
645
645
  {
646
- path: i.relativePath,
647
- caseSensitive: i.caseSensitive,
646
+ path: s.relativePath,
647
+ caseSensitive: s.caseSensitive,
648
648
  end: !1
649
649
  },
650
- m
650
+ f
651
651
  )), !d)
652
652
  return null;
653
- Object.assign(a, d.params), l.push({
653
+ Object.assign(o, d.params), l.push({
654
654
  // TODO: Can this as be avoided?
655
- params: a,
656
- pathname: L([o, d.pathname]),
657
- pathnameBase: kt(
658
- L([o, d.pathnameBase])
655
+ params: o,
656
+ pathname: A([a, d.pathname]),
657
+ pathnameBase: Ct(
658
+ A([a, d.pathnameBase])
659
659
  ),
660
660
  route: p
661
- }), d.pathnameBase !== "/" && (o = L([o, d.pathnameBase]));
661
+ }), d.pathnameBase !== "/" && (a = A([a, d.pathnameBase]));
662
662
  }
663
663
  return l;
664
664
  }
665
- function te(e, r) {
665
+ function ee(e, t) {
666
666
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
667
- let [t, n] = gt(
667
+ let [r, n] = vt(
668
668
  e.path,
669
669
  e.caseSensitive,
670
670
  e.end
671
- ), a = r.match(t);
672
- if (!a) return null;
673
- let o = a[0], l = o.replace(/(.)\/+$/, "$1"), u = a.slice(1);
671
+ ), o = t.match(r);
672
+ if (!o) return null;
673
+ let a = o[0], l = a.replace(/(.)\/+$/, "$1"), u = o.slice(1);
674
674
  return {
675
675
  params: n.reduce(
676
- (f, { paramName: m, isOptional: d }, p) => {
677
- if (m === "*") {
678
- let y = u[p] || "";
679
- l = o.slice(0, o.length - y.length).replace(/(.)\/+$/, "$1");
676
+ (m, { paramName: f, isOptional: d }, p) => {
677
+ if (f === "*") {
678
+ let k = u[p] || "";
679
+ l = a.slice(0, a.length - k.length).replace(/(.)\/+$/, "$1");
680
680
  }
681
- const g = u[p];
682
- return d && !g ? f[m] = void 0 : f[m] = (g || "").replace(/%2F/g, "/"), f;
681
+ const b = u[p];
682
+ return d && !b ? m[f] = void 0 : m[f] = (b || "").replace(/%2F/g, "/"), m;
683
683
  },
684
684
  {}
685
685
  ),
686
- pathname: o,
686
+ pathname: a,
687
687
  pathnameBase: l,
688
688
  pattern: e
689
689
  };
690
690
  }
691
- function gt(e, r = !1, t = !0) {
692
- _(
691
+ function vt(e, t = !1, r = !0) {
692
+ L(
693
693
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
694
694
  `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
695
695
  );
696
- let n = [], a = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
696
+ let n = [], o = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
697
697
  /\/:([\w-]+)(\?)?/g,
698
- (l, u, i) => (n.push({ paramName: u, isOptional: i != null }), i ? "/?([^\\/]+)?" : "/([^\\/]+)")
698
+ (l, u, s) => (n.push({ paramName: u, isOptional: s != null }), s ? "/?([^\\/]+)?" : "/([^\\/]+)")
699
699
  ).replace(/\/([\w-]+)\?(\/|$)/g, "(/$1)?$2");
700
- return e.endsWith("*") ? (n.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : t ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, r ? void 0 : "i"), n];
700
+ return e.endsWith("*") ? (n.push({ paramName: "*" }), o += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? o += "\\/*$" : e !== "" && e !== "/" && (o += "(?:(?=\\/|$))"), [new RegExp(o, t ? void 0 : "i"), n];
701
701
  }
702
- function bt(e) {
702
+ function wt(e) {
703
703
  try {
704
- return e.split("/").map((r) => decodeURIComponent(r).replace(/\//g, "%2F")).join("/");
705
- } catch (r) {
706
- return _(
704
+ return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
705
+ } catch (t) {
706
+ return L(
707
707
  !1,
708
- `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`
708
+ `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`
709
709
  ), e;
710
710
  }
711
711
  }
712
- function F(e, r) {
713
- if (r === "/") return e;
714
- if (!e.toLowerCase().startsWith(r.toLowerCase()))
712
+ function I(e, t) {
713
+ if (t === "/") return e;
714
+ if (!e.toLowerCase().startsWith(t.toLowerCase()))
715
715
  return null;
716
- let t = r.endsWith("/") ? r.length - 1 : r.length, n = e.charAt(t);
717
- return n && n !== "/" ? null : e.slice(t) || "/";
716
+ let r = t.endsWith("/") ? t.length - 1 : t.length, n = e.charAt(r);
717
+ return n && n !== "/" ? null : e.slice(r) || "/";
718
718
  }
719
- var xt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, yt = (e) => xt.test(e);
720
- function vt(e, r = "/") {
719
+ var De = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, kt = (e) => De.test(e);
720
+ function Rt(e, t = "/") {
721
721
  let {
722
- pathname: t,
722
+ pathname: r,
723
723
  search: n = "",
724
- hash: a = ""
725
- } = typeof e == "string" ? me(e) : e, o;
726
- if (t)
727
- if (yt(t))
728
- o = t;
724
+ hash: o = ""
725
+ } = typeof e == "string" ? me(e) : e, a;
726
+ if (r)
727
+ if (kt(r))
728
+ a = r;
729
729
  else {
730
- if (t.includes("//")) {
731
- let l = t;
732
- t = t.replace(/\/\/+/g, "/"), _(
730
+ if (r.includes("//")) {
731
+ let l = r;
732
+ r = r.replace(/\/\/+/g, "/"), L(
733
733
  !1,
734
- `Pathnames cannot have embedded double slashes - normalizing ${l} -> ${t}`
734
+ `Pathnames cannot have embedded double slashes - normalizing ${l} -> ${r}`
735
735
  );
736
736
  }
737
- t.startsWith("/") ? o = Te(t.substring(1), "/") : o = Te(t, r);
737
+ r.startsWith("/") ? a = je(r.substring(1), "/") : a = je(r, t);
738
738
  }
739
739
  else
740
- o = r;
740
+ a = t;
741
741
  return {
742
- pathname: o,
743
- search: Et(n),
744
- hash: Rt(a)
742
+ pathname: a,
743
+ search: St(n),
744
+ hash: Nt(o)
745
745
  };
746
746
  }
747
- function Te(e, r) {
748
- let t = r.replace(/\/+$/, "").split("/");
749
- return e.split("/").forEach((a) => {
750
- a === ".." ? t.length > 1 && t.pop() : a !== "." && t.push(a);
751
- }), t.length > 1 ? t.join("/") : "/";
747
+ function je(e, t) {
748
+ let r = t.replace(/\/+$/, "").split("/");
749
+ return e.split("/").forEach((o) => {
750
+ o === ".." ? r.length > 1 && r.pop() : o !== "." && r.push(o);
751
+ }), r.length > 1 ? r.join("/") : "/";
752
752
  }
753
- function ue(e, r, t, n) {
754
- return `Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(
753
+ function se(e, t, r, n) {
754
+ return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(
755
755
  n
756
- )}]. Please separate it out to the \`to.${t}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
756
+ )}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
757
757
  }
758
- function wt(e) {
758
+ function Et(e) {
759
759
  return e.filter(
760
- (r, t) => t === 0 || r.route.path && r.route.path.length > 0
760
+ (t, r) => r === 0 || t.route.path && t.route.path.length > 0
761
761
  );
762
762
  }
763
- function Ie(e) {
764
- let r = wt(e);
765
- return r.map(
766
- (t, n) => n === r.length - 1 ? t.pathname : t.pathnameBase
763
+ function Fe(e) {
764
+ let t = Et(e);
765
+ return t.map(
766
+ (r, n) => n === t.length - 1 ? r.pathname : r.pathnameBase
767
767
  );
768
768
  }
769
- function De(e, r, t, n = !1) {
770
- let a;
771
- typeof e == "string" ? a = me(e) : (a = { ...e }, P(
772
- !a.pathname || !a.pathname.includes("?"),
773
- ue("?", "pathname", "search", a)
769
+ function Ie(e, t, r, n = !1) {
770
+ let o;
771
+ typeof e == "string" ? o = me(e) : (o = { ...e }, P(
772
+ !o.pathname || !o.pathname.includes("?"),
773
+ se("?", "pathname", "search", o)
774
774
  ), P(
775
- !a.pathname || !a.pathname.includes("#"),
776
- ue("#", "pathname", "hash", a)
775
+ !o.pathname || !o.pathname.includes("#"),
776
+ se("#", "pathname", "hash", o)
777
777
  ), P(
778
- !a.search || !a.search.includes("#"),
779
- ue("#", "search", "hash", a)
778
+ !o.search || !o.search.includes("#"),
779
+ se("#", "search", "hash", o)
780
780
  ));
781
- let o = e === "" || a.pathname === "", l = o ? "/" : a.pathname, u;
781
+ let a = e === "" || o.pathname === "", l = a ? "/" : o.pathname, u;
782
782
  if (l == null)
783
- u = t;
783
+ u = r;
784
784
  else {
785
- let d = r.length - 1;
785
+ let d = t.length - 1;
786
786
  if (!n && l.startsWith("..")) {
787
787
  let p = l.split("/");
788
788
  for (; p[0] === ".."; )
789
789
  p.shift(), d -= 1;
790
- a.pathname = p.join("/");
790
+ o.pathname = p.join("/");
791
791
  }
792
- u = d >= 0 ? r[d] : "/";
792
+ u = d >= 0 ? t[d] : "/";
793
793
  }
794
- let i = vt(a, u), f = l && l !== "/" && l.endsWith("/"), m = (o || l === ".") && t.endsWith("/");
795
- return !i.pathname.endsWith("/") && (f || m) && (i.pathname += "/"), i;
794
+ let s = Rt(o, u), m = l && l !== "/" && l.endsWith("/"), f = (a || l === ".") && r.endsWith("/");
795
+ return !s.pathname.endsWith("/") && (m || f) && (s.pathname += "/"), s;
796
796
  }
797
- var L = (e) => e.join("/").replace(/\/\/+/g, "/"), kt = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Et = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Rt = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
798
- function Ct(e) {
797
+ var A = (e) => e.join("/").replace(/\/\/+/g, "/"), Ct = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), St = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Nt = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Pt = class {
798
+ constructor(e, t, r, n = !1) {
799
+ this.status = e, this.statusText = t || "", this.internal = n, r instanceof Error ? (this.data = r.toString(), this.error = r) : this.data = r;
800
+ }
801
+ };
802
+ function _t(e) {
799
803
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
800
804
  }
805
+ function Tt(e) {
806
+ return e.map((t) => t.route.path).filter(Boolean).join("/").replace(/\/\/*/g, "/") || "/";
807
+ }
808
+ var Me = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
809
+ function We(e, t) {
810
+ let r = e;
811
+ if (typeof r != "string" || !De.test(r))
812
+ return {
813
+ absoluteURL: void 0,
814
+ isExternal: !1,
815
+ to: r
816
+ };
817
+ let n = r, o = !1;
818
+ if (Me)
819
+ try {
820
+ let a = new URL(window.location.href), l = r.startsWith("//") ? new URL(a.protocol + r) : new URL(r), u = I(l.pathname, t);
821
+ l.origin === a.origin && u != null ? r = u + l.search + l.hash : o = !0;
822
+ } catch {
823
+ L(
824
+ !1,
825
+ `<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
826
+ );
827
+ }
828
+ return {
829
+ absoluteURL: n,
830
+ isExternal: o,
831
+ to: r
832
+ };
833
+ }
801
834
  Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
802
- var Me = [
835
+ var ze = [
803
836
  "POST",
804
837
  "PUT",
805
838
  "PATCH",
806
839
  "DELETE"
807
840
  ];
808
841
  new Set(
809
- Me
842
+ ze
810
843
  );
811
- var St = [
844
+ var jt = [
812
845
  "GET",
813
- ...Me
846
+ ...ze
814
847
  ];
815
- new Set(St);
816
- var H = c.createContext(null);
817
- H.displayName = "DataRouter";
818
- var re = c.createContext(null);
819
- re.displayName = "DataRouterState";
820
- c.createContext(!1);
821
- var We = c.createContext({
848
+ new Set(jt);
849
+ var Y = i.createContext(null);
850
+ Y.displayName = "DataRouter";
851
+ var te = i.createContext(null);
852
+ te.displayName = "DataRouterState";
853
+ var Lt = i.createContext(!1), He = i.createContext({
822
854
  isTransitioning: !1
823
855
  });
824
- We.displayName = "ViewTransition";
825
- var Nt = c.createContext(
856
+ He.displayName = "ViewTransition";
857
+ var $t = i.createContext(
826
858
  /* @__PURE__ */ new Map()
827
859
  );
828
- Nt.displayName = "Fetchers";
829
- var Pt = c.createContext(null);
830
- Pt.displayName = "Await";
831
- var $ = c.createContext(
860
+ $t.displayName = "Fetchers";
861
+ var Ot = i.createContext(null);
862
+ Ot.displayName = "Await";
863
+ var T = i.createContext(
832
864
  null
833
865
  );
834
- $.displayName = "Navigation";
835
- var he = c.createContext(
866
+ T.displayName = "Navigation";
867
+ var he = i.createContext(
836
868
  null
837
869
  );
838
870
  he.displayName = "Location";
839
- var A = c.createContext({
871
+ var D = i.createContext({
840
872
  outlet: null,
841
873
  matches: [],
842
874
  isDataRoute: !1
843
875
  });
844
- A.displayName = "Route";
845
- var pe = c.createContext(null);
876
+ D.displayName = "Route";
877
+ var pe = i.createContext(null);
846
878
  pe.displayName = "RouteError";
847
- function jt(e, { relative: r } = {}) {
879
+ var Ye = "REACT_ROUTER_ERROR", Ut = "REDIRECT", At = "ROUTE_ERROR_RESPONSE";
880
+ function Dt(e) {
881
+ if (e.startsWith(`${Ye}:${Ut}:{`))
882
+ try {
883
+ let t = JSON.parse(e.slice(28));
884
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean")
885
+ return t;
886
+ } catch {
887
+ }
888
+ }
889
+ function Ft(e) {
890
+ if (e.startsWith(
891
+ `${Ye}:${At}:{`
892
+ ))
893
+ try {
894
+ let t = JSON.parse(e.slice(40));
895
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string")
896
+ return new Pt(
897
+ t.status,
898
+ t.statusText,
899
+ t.data
900
+ );
901
+ } catch {
902
+ }
903
+ }
904
+ function It(e, { relative: t } = {}) {
848
905
  P(
849
- ne(),
906
+ re(),
850
907
  // TODO: This error is probably because they somehow have 2 versions of the
851
908
  // router loaded. We can help them understand how to avoid that.
852
909
  "useHref() may be used only in the context of a <Router> component."
853
910
  );
854
- let { basename: t, navigator: n } = c.useContext($), { hash: a, pathname: o, search: l } = G(e, { relative: r }), u = o;
855
- return t !== "/" && (u = o === "/" ? t : L([t, o])), n.createHref({ pathname: u, search: l, hash: a });
911
+ let { basename: r, navigator: n } = i.useContext(T), { hash: o, pathname: a, search: l } = G(e, { relative: t }), u = a;
912
+ return r !== "/" && (u = a === "/" ? r : A([r, a])), n.createHref({ pathname: u, search: l, hash: o });
856
913
  }
857
- function ne() {
858
- return c.useContext(he) != null;
914
+ function re() {
915
+ return i.useContext(he) != null;
859
916
  }
860
- function D() {
917
+ function W() {
861
918
  return P(
862
- ne(),
919
+ re(),
863
920
  // TODO: This error is probably because they somehow have 2 versions of the
864
921
  // router loaded. We can help them understand how to avoid that.
865
922
  "useLocation() may be used only in the context of a <Router> component."
866
- ), c.useContext(he).location;
923
+ ), i.useContext(he).location;
867
924
  }
868
- var ze = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
869
- function Ye(e) {
870
- c.useContext($).static || c.useLayoutEffect(e);
925
+ var Be = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
926
+ function Ve(e) {
927
+ i.useContext(T).static || i.useLayoutEffect(e);
871
928
  }
872
- function _t() {
873
- let { isDataRoute: e } = c.useContext(A);
874
- return e ? Yt() : Tt();
929
+ function Mt() {
930
+ let { isDataRoute: e } = i.useContext(D);
931
+ return e ? Qt() : Wt();
875
932
  }
876
- function Tt() {
933
+ function Wt() {
877
934
  P(
878
- ne(),
935
+ re(),
879
936
  // TODO: This error is probably because they somehow have 2 versions of the
880
937
  // router loaded. We can help them understand how to avoid that.
881
938
  "useNavigate() may be used only in the context of a <Router> component."
882
939
  );
883
- let e = c.useContext(H), { basename: r, navigator: t } = c.useContext($), { matches: n } = c.useContext(A), { pathname: a } = D(), o = JSON.stringify(Ie(n)), l = c.useRef(!1);
884
- return Ye(() => {
940
+ let e = i.useContext(Y), { basename: t, navigator: r } = i.useContext(T), { matches: n } = i.useContext(D), { pathname: o } = W(), a = JSON.stringify(Fe(n)), l = i.useRef(!1);
941
+ return Ve(() => {
885
942
  l.current = !0;
886
- }), c.useCallback(
887
- (i, f = {}) => {
888
- if (_(l.current, ze), !l.current) return;
889
- if (typeof i == "number") {
890
- t.go(i);
943
+ }), i.useCallback(
944
+ (s, m = {}) => {
945
+ if (L(l.current, Be), !l.current) return;
946
+ if (typeof s == "number") {
947
+ r.go(s);
891
948
  return;
892
949
  }
893
- let m = De(
894
- i,
895
- JSON.parse(o),
896
- a,
897
- f.relative === "path"
950
+ let f = Ie(
951
+ s,
952
+ JSON.parse(a),
953
+ o,
954
+ m.relative === "path"
898
955
  );
899
- e == null && r !== "/" && (m.pathname = m.pathname === "/" ? r : L([r, m.pathname])), (f.replace ? t.replace : t.push)(
900
- m,
901
- f.state,
902
- f
956
+ e == null && t !== "/" && (f.pathname = f.pathname === "/" ? t : A([t, f.pathname])), (m.replace ? r.replace : r.push)(
957
+ f,
958
+ m.state,
959
+ m
903
960
  );
904
961
  },
905
962
  [
906
- r,
907
963
  t,
908
- o,
964
+ r,
909
965
  a,
966
+ o,
910
967
  e
911
968
  ]
912
969
  );
913
970
  }
914
- c.createContext(null);
915
- function G(e, { relative: r } = {}) {
916
- let { matches: t } = c.useContext(A), { pathname: n } = D(), a = JSON.stringify(Ie(t));
917
- return c.useMemo(
918
- () => De(
971
+ i.createContext(null);
972
+ function G(e, { relative: t } = {}) {
973
+ let { matches: r } = i.useContext(D), { pathname: n } = W(), o = JSON.stringify(Fe(r));
974
+ return i.useMemo(
975
+ () => Ie(
919
976
  e,
920
- JSON.parse(a),
977
+ JSON.parse(o),
921
978
  n,
922
- r === "path"
979
+ t === "path"
923
980
  ),
924
- [e, a, n, r]
981
+ [e, o, n, t]
925
982
  );
926
983
  }
927
- function Lt(e, r, t, n, a) {
984
+ function zt(e, t, r, n, o) {
928
985
  P(
929
- ne(),
986
+ re(),
930
987
  // TODO: This error is probably because they somehow have 2 versions of the
931
988
  // router loaded. We can help them understand how to avoid that.
932
989
  "useRoutes() may be used only in the context of a <Router> component."
933
990
  );
934
- let { navigator: o } = c.useContext($), { matches: l } = c.useContext(A), u = l[l.length - 1], i = u ? u.params : {}, f = u ? u.pathname : "/", m = u ? u.pathnameBase : "/", d = u && u.route;
991
+ let { navigator: a } = i.useContext(T), { matches: l } = i.useContext(D), u = l[l.length - 1], s = u ? u.params : {}, m = u ? u.pathname : "/", f = u ? u.pathnameBase : "/", d = u && u.route;
935
992
  {
936
- let b = d && d.path || "";
937
- He(
938
- f,
939
- !d || b.endsWith("*") || b.endsWith("*?"),
940
- `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${b}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
993
+ let g = d && d.path || "";
994
+ Ge(
995
+ m,
996
+ !d || g.endsWith("*") || g.endsWith("*?"),
997
+ `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${g}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
941
998
 
942
- Please change the parent <Route path="${b}"> to <Route path="${b === "/" ? "*" : `${b}/*`}">.`
999
+ Please change the parent <Route path="${g}"> to <Route path="${g === "/" ? "*" : `${g}/*`}">.`
943
1000
  );
944
1001
  }
945
- let p = D(), g;
946
- g = p;
947
- let y = g.pathname || "/", E = y;
948
- if (m !== "/") {
949
- let b = m.replace(/^\//, "").split("/");
950
- E = "/" + y.replace(/^\//, "").split("/").slice(b.length).join("/");
1002
+ let p = W(), b;
1003
+ b = p;
1004
+ let k = b.pathname || "/", v = k;
1005
+ if (f !== "/") {
1006
+ let g = f.replace(/^\//, "").split("/");
1007
+ v = "/" + k.replace(/^\//, "").split("/").slice(g.length).join("/");
951
1008
  }
952
- let w = Oe(e, { pathname: E });
953
- return _(
954
- d || w != null,
955
- `No routes matched location "${g.pathname}${g.search}${g.hash}" `
956
- ), _(
957
- w == null || w[w.length - 1].route.element !== void 0 || w[w.length - 1].route.Component !== void 0 || w[w.length - 1].route.lazy !== void 0,
958
- `Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
959
- ), Ft(
960
- w && w.map(
961
- (b) => Object.assign({}, b, {
962
- params: Object.assign({}, i, b.params),
963
- pathname: L([
964
- m,
1009
+ let y = Oe(e, { pathname: v });
1010
+ return L(
1011
+ d || y != null,
1012
+ `No routes matched location "${b.pathname}${b.search}${b.hash}" `
1013
+ ), L(
1014
+ y == null || y[y.length - 1].route.element !== void 0 || y[y.length - 1].route.Component !== void 0 || y[y.length - 1].route.lazy !== void 0,
1015
+ `Matched leaf route at location "${b.pathname}${b.search}${b.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
1016
+ ), Jt(
1017
+ y && y.map(
1018
+ (g) => Object.assign({}, g, {
1019
+ params: Object.assign({}, s, g.params),
1020
+ pathname: A([
1021
+ f,
965
1022
  // Re-encode pathnames that were decoded inside matchRoutes.
966
1023
  // Pre-encode `?` and `#` ahead of `encodeLocation` because it uses
967
1024
  // `new URL()` internally and we need to prevent it from treating
968
1025
  // them as separators
969
- o.encodeLocation ? o.encodeLocation(
970
- b.pathname.replace(/\?/g, "%3F").replace(/#/g, "%23")
971
- ).pathname : b.pathname
1026
+ a.encodeLocation ? a.encodeLocation(
1027
+ g.pathname.replace(/\?/g, "%3F").replace(/#/g, "%23")
1028
+ ).pathname : g.pathname
972
1029
  ]),
973
- pathnameBase: b.pathnameBase === "/" ? m : L([
974
- m,
1030
+ pathnameBase: g.pathnameBase === "/" ? f : A([
1031
+ f,
975
1032
  // Re-encode pathnames that were decoded inside matchRoutes
976
1033
  // Pre-encode `?` and `#` ahead of `encodeLocation` because it uses
977
1034
  // `new URL()` internally and we need to prevent it from treating
978
1035
  // them as separators
979
- o.encodeLocation ? o.encodeLocation(
980
- b.pathnameBase.replace(/\?/g, "%3F").replace(/#/g, "%23")
981
- ).pathname : b.pathnameBase
1036
+ a.encodeLocation ? a.encodeLocation(
1037
+ g.pathnameBase.replace(/\?/g, "%3F").replace(/#/g, "%23")
1038
+ ).pathname : g.pathnameBase
982
1039
  ])
983
1040
  })
984
1041
  ),
985
1042
  l,
986
- t,
1043
+ r,
987
1044
  n,
988
- a
1045
+ o
989
1046
  );
990
1047
  }
991
- function $t() {
992
- let e = zt(), r = Ct(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), t = e instanceof Error ? e.stack : null, n = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: n }, o = { padding: "2px 4px", backgroundColor: n }, l = null;
1048
+ function Ht() {
1049
+ let e = Zt(), t = _t(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, n = "rgba(200,200,200, 0.5)", o = { padding: "0.5rem", backgroundColor: n }, a = { padding: "2px 4px", backgroundColor: n }, l = null;
993
1050
  return console.error(
994
1051
  "Error handled by React Router default ErrorBoundary:",
995
1052
  e
996
- ), l = /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ c.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ c.createElement("code", { style: o }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ c.createElement("code", { style: o }, "errorElement"), " prop on your route.")), /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ c.createElement("h3", { style: { fontStyle: "italic" } }, r), t ? /* @__PURE__ */ c.createElement("pre", { style: a }, t) : null, l);
1053
+ ), l = /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ i.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ i.createElement("code", { style: a }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ i.createElement("code", { style: a }, "errorElement"), " prop on your route.")), /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ i.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ i.createElement("pre", { style: o }, r) : null, l);
997
1054
  }
998
- var At = /* @__PURE__ */ c.createElement($t, null), Ot = class extends c.Component {
1055
+ var Yt = /* @__PURE__ */ i.createElement(Ht, null), Je = class extends i.Component {
999
1056
  constructor(e) {
1000
1057
  super(e), this.state = {
1001
1058
  location: e.location,
@@ -1006,117 +1063,159 @@ var At = /* @__PURE__ */ c.createElement($t, null), Ot = class extends c.Compone
1006
1063
  static getDerivedStateFromError(e) {
1007
1064
  return { error: e };
1008
1065
  }
1009
- static getDerivedStateFromProps(e, r) {
1010
- return r.location !== e.location || r.revalidation !== "idle" && e.revalidation === "idle" ? {
1066
+ static getDerivedStateFromProps(e, t) {
1067
+ return t.location !== e.location || t.revalidation !== "idle" && e.revalidation === "idle" ? {
1011
1068
  error: e.error,
1012
1069
  location: e.location,
1013
1070
  revalidation: e.revalidation
1014
1071
  } : {
1015
- error: e.error !== void 0 ? e.error : r.error,
1016
- location: r.location,
1017
- revalidation: e.revalidation || r.revalidation
1072
+ error: e.error !== void 0 ? e.error : t.error,
1073
+ location: t.location,
1074
+ revalidation: e.revalidation || t.revalidation
1018
1075
  };
1019
1076
  }
1020
- componentDidCatch(e, r) {
1021
- this.props.onError ? this.props.onError(e, r) : console.error(
1077
+ componentDidCatch(e, t) {
1078
+ this.props.onError ? this.props.onError(e, t) : console.error(
1022
1079
  "React Router caught the following error during render",
1023
1080
  e
1024
1081
  );
1025
1082
  }
1026
1083
  render() {
1027
- return this.state.error !== void 0 ? /* @__PURE__ */ c.createElement(A.Provider, { value: this.props.routeContext }, /* @__PURE__ */ c.createElement(
1084
+ let e = this.state.error;
1085
+ if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
1086
+ const r = Ft(e.digest);
1087
+ r && (e = r);
1088
+ }
1089
+ let t = e !== void 0 ? /* @__PURE__ */ i.createElement(D.Provider, { value: this.props.routeContext }, /* @__PURE__ */ i.createElement(
1028
1090
  pe.Provider,
1029
1091
  {
1030
- value: this.state.error,
1092
+ value: e,
1031
1093
  children: this.props.component
1032
1094
  }
1033
1095
  )) : this.props.children;
1096
+ return this.context ? /* @__PURE__ */ i.createElement(Bt, { error: e }, t) : t;
1034
1097
  }
1035
1098
  };
1036
- function Ut({ routeContext: e, match: r, children: t }) {
1037
- let n = c.useContext(H);
1038
- return n && n.static && n.staticContext && (r.route.errorElement || r.route.ErrorBoundary) && (n.staticContext._deepestRenderedBoundaryId = r.route.id), /* @__PURE__ */ c.createElement(A.Provider, { value: e }, t);
1099
+ Je.contextType = Lt;
1100
+ var ue = /* @__PURE__ */ new WeakMap();
1101
+ function Bt({
1102
+ children: e,
1103
+ error: t
1104
+ }) {
1105
+ let { basename: r } = i.useContext(T);
1106
+ if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
1107
+ let n = Dt(t.digest);
1108
+ if (n) {
1109
+ let o = ue.get(t);
1110
+ if (o) throw o;
1111
+ let a = We(n.location, r);
1112
+ if (Me && !ue.get(t))
1113
+ if (a.isExternal || n.reloadDocument)
1114
+ window.location.href = a.absoluteURL || a.to;
1115
+ else {
1116
+ const l = Promise.resolve().then(
1117
+ () => window.__reactRouterDataRouter.navigate(a.to, {
1118
+ replace: n.replace
1119
+ })
1120
+ );
1121
+ throw ue.set(t, l), l;
1122
+ }
1123
+ return /* @__PURE__ */ i.createElement(
1124
+ "meta",
1125
+ {
1126
+ httpEquiv: "refresh",
1127
+ content: `0;url=${a.absoluteURL || a.to}`
1128
+ }
1129
+ );
1130
+ }
1131
+ }
1132
+ return e;
1039
1133
  }
1040
- function Ft(e, r = [], t = null, n = null, a = null) {
1134
+ function Vt({ routeContext: e, match: t, children: r }) {
1135
+ let n = i.useContext(Y);
1136
+ return n && n.static && n.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (n.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ i.createElement(D.Provider, { value: e }, r);
1137
+ }
1138
+ function Jt(e, t = [], r = null, n = null, o = null) {
1041
1139
  if (e == null) {
1042
- if (!t)
1140
+ if (!r)
1043
1141
  return null;
1044
- if (t.errors)
1045
- e = t.matches;
1046
- else if (r.length === 0 && !t.initialized && t.matches.length > 0)
1047
- e = t.matches;
1142
+ if (r.errors)
1143
+ e = r.matches;
1144
+ else if (t.length === 0 && !r.initialized && r.matches.length > 0)
1145
+ e = r.matches;
1048
1146
  else
1049
1147
  return null;
1050
1148
  }
1051
- let o = e, l = t?.errors;
1149
+ let a = e, l = r?.errors;
1052
1150
  if (l != null) {
1053
- let m = o.findIndex(
1151
+ let f = a.findIndex(
1054
1152
  (d) => d.route.id && l?.[d.route.id] !== void 0
1055
1153
  );
1056
1154
  P(
1057
- m >= 0,
1155
+ f >= 0,
1058
1156
  `Could not find a matching route for errors on route IDs: ${Object.keys(
1059
1157
  l
1060
1158
  ).join(",")}`
1061
- ), o = o.slice(
1159
+ ), a = a.slice(
1062
1160
  0,
1063
- Math.min(o.length, m + 1)
1161
+ Math.min(a.length, f + 1)
1064
1162
  );
1065
1163
  }
1066
- let u = !1, i = -1;
1067
- if (t)
1068
- for (let m = 0; m < o.length; m++) {
1069
- let d = o[m];
1070
- if ((d.route.HydrateFallback || d.route.hydrateFallbackElement) && (i = m), d.route.id) {
1071
- let { loaderData: p, errors: g } = t, y = d.route.loader && !p.hasOwnProperty(d.route.id) && (!g || g[d.route.id] === void 0);
1072
- if (d.route.lazy || y) {
1073
- u = !0, i >= 0 ? o = o.slice(0, i + 1) : o = [o[0]];
1164
+ let u = !1, s = -1;
1165
+ if (r)
1166
+ for (let f = 0; f < a.length; f++) {
1167
+ let d = a[f];
1168
+ if ((d.route.HydrateFallback || d.route.hydrateFallbackElement) && (s = f), d.route.id) {
1169
+ let { loaderData: p, errors: b } = r, k = d.route.loader && !p.hasOwnProperty(d.route.id) && (!b || b[d.route.id] === void 0);
1170
+ if (d.route.lazy || k) {
1171
+ u = !0, s >= 0 ? a = a.slice(0, s + 1) : a = [a[0]];
1074
1172
  break;
1075
1173
  }
1076
1174
  }
1077
1175
  }
1078
- let f = t && n ? (m, d) => {
1079
- n(m, {
1080
- location: t.location,
1081
- params: t.matches?.[0]?.params ?? {},
1176
+ let m = r && n ? (f, d) => {
1177
+ n(f, {
1178
+ location: r.location,
1179
+ params: r.matches?.[0]?.params ?? {},
1180
+ unstable_pattern: Tt(r.matches),
1082
1181
  errorInfo: d
1083
1182
  });
1084
1183
  } : void 0;
1085
- return o.reduceRight(
1086
- (m, d, p) => {
1087
- let g, y = !1, E = null, w = null;
1088
- t && (g = l && d.route.id ? l[d.route.id] : void 0, E = d.route.errorElement || At, u && (i < 0 && p === 0 ? (He(
1184
+ return a.reduceRight(
1185
+ (f, d, p) => {
1186
+ let b, k = !1, v = null, y = null;
1187
+ r && (b = l && d.route.id ? l[d.route.id] : void 0, v = d.route.errorElement || Yt, u && (s < 0 && p === 0 ? (Ge(
1089
1188
  "route-fallback",
1090
1189
  !1,
1091
1190
  "No `HydrateFallback` element provided to render during initial hydration"
1092
- ), y = !0, w = null) : i === p && (y = !0, w = d.route.hydrateFallbackElement || null)));
1093
- let v = r.concat(o.slice(0, p + 1)), b = () => {
1094
- let k;
1095
- return g ? k = E : y ? k = w : d.route.Component ? k = /* @__PURE__ */ c.createElement(d.route.Component, null) : d.route.element ? k = d.route.element : k = m, /* @__PURE__ */ c.createElement(
1096
- Ut,
1191
+ ), k = !0, y = null) : s === p && (k = !0, y = d.route.hydrateFallbackElement || null)));
1192
+ let R = t.concat(a.slice(0, p + 1)), g = () => {
1193
+ let w;
1194
+ return b ? w = v : k ? w = y : d.route.Component ? w = /* @__PURE__ */ i.createElement(d.route.Component, null) : d.route.element ? w = d.route.element : w = f, /* @__PURE__ */ i.createElement(
1195
+ Vt,
1097
1196
  {
1098
1197
  match: d,
1099
1198
  routeContext: {
1100
- outlet: m,
1101
- matches: v,
1102
- isDataRoute: t != null
1199
+ outlet: f,
1200
+ matches: R,
1201
+ isDataRoute: r != null
1103
1202
  },
1104
- children: k
1203
+ children: w
1105
1204
  }
1106
1205
  );
1107
1206
  };
1108
- return t && (d.route.ErrorBoundary || d.route.errorElement || p === 0) ? /* @__PURE__ */ c.createElement(
1109
- Ot,
1207
+ return r && (d.route.ErrorBoundary || d.route.errorElement || p === 0) ? /* @__PURE__ */ i.createElement(
1208
+ Je,
1110
1209
  {
1111
- location: t.location,
1112
- revalidation: t.revalidation,
1113
- component: E,
1114
- error: g,
1115
- children: b(),
1116
- routeContext: { outlet: null, matches: v, isDataRoute: !0 },
1117
- onError: f
1210
+ location: r.location,
1211
+ revalidation: r.revalidation,
1212
+ component: v,
1213
+ error: b,
1214
+ children: g(),
1215
+ routeContext: { outlet: null, matches: R, isDataRoute: !0 },
1216
+ onError: m
1118
1217
  }
1119
- ) : b();
1218
+ ) : g();
1120
1219
  },
1121
1220
  null
1122
1221
  );
@@ -1124,220 +1223,220 @@ function Ft(e, r = [], t = null, n = null, a = null) {
1124
1223
  function ge(e) {
1125
1224
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1126
1225
  }
1127
- function It(e) {
1128
- let r = c.useContext(H);
1129
- return P(r, ge(e)), r;
1226
+ function Gt(e) {
1227
+ let t = i.useContext(Y);
1228
+ return P(t, ge(e)), t;
1130
1229
  }
1131
- function Dt(e) {
1132
- let r = c.useContext(re);
1133
- return P(r, ge(e)), r;
1230
+ function qt(e) {
1231
+ let t = i.useContext(te);
1232
+ return P(t, ge(e)), t;
1134
1233
  }
1135
- function Mt(e) {
1136
- let r = c.useContext(A);
1137
- return P(r, ge(e)), r;
1234
+ function Xt(e) {
1235
+ let t = i.useContext(D);
1236
+ return P(t, ge(e)), t;
1138
1237
  }
1139
1238
  function be(e) {
1140
- let r = Mt(e), t = r.matches[r.matches.length - 1];
1239
+ let t = Xt(e), r = t.matches[t.matches.length - 1];
1141
1240
  return P(
1142
- t.route.id,
1241
+ r.route.id,
1143
1242
  `${e} can only be used on routes that contain a unique "id"`
1144
- ), t.route.id;
1243
+ ), r.route.id;
1145
1244
  }
1146
- function Wt() {
1245
+ function Kt() {
1147
1246
  return be(
1148
1247
  "useRouteId"
1149
1248
  /* UseRouteId */
1150
1249
  );
1151
1250
  }
1152
- function zt() {
1153
- let e = c.useContext(pe), r = Dt(
1251
+ function Zt() {
1252
+ let e = i.useContext(pe), t = qt(
1154
1253
  "useRouteError"
1155
1254
  /* UseRouteError */
1156
- ), t = be(
1255
+ ), r = be(
1157
1256
  "useRouteError"
1158
1257
  /* UseRouteError */
1159
1258
  );
1160
- return e !== void 0 ? e : r.errors?.[t];
1259
+ return e !== void 0 ? e : t.errors?.[r];
1161
1260
  }
1162
- function Yt() {
1163
- let { router: e } = It(
1261
+ function Qt() {
1262
+ let { router: e } = Gt(
1164
1263
  "useNavigate"
1165
1264
  /* UseNavigateStable */
1166
- ), r = be(
1265
+ ), t = be(
1167
1266
  "useNavigate"
1168
1267
  /* UseNavigateStable */
1169
- ), t = c.useRef(!1);
1170
- return Ye(() => {
1171
- t.current = !0;
1172
- }), c.useCallback(
1173
- async (a, o = {}) => {
1174
- _(t.current, ze), t.current && (typeof a == "number" ? e.navigate(a) : await e.navigate(a, { fromRouteId: r, ...o }));
1268
+ ), r = i.useRef(!1);
1269
+ return Ve(() => {
1270
+ r.current = !0;
1271
+ }), i.useCallback(
1272
+ async (o, a = {}) => {
1273
+ L(r.current, Be), r.current && (typeof o == "number" ? await e.navigate(o) : await e.navigate(o, { fromRouteId: t, ...a }));
1175
1274
  },
1176
- [e, r]
1275
+ [e, t]
1177
1276
  );
1178
1277
  }
1179
1278
  var Le = {};
1180
- function He(e, r, t) {
1181
- !r && !Le[e] && (Le[e] = !0, _(!1, t));
1279
+ function Ge(e, t, r) {
1280
+ !t && !Le[e] && (Le[e] = !0, L(!1, r));
1182
1281
  }
1183
- c.memo(Ht);
1184
- function Ht({
1282
+ i.memo(er);
1283
+ function er({
1185
1284
  routes: e,
1186
- future: r,
1187
- state: t,
1188
- unstable_onError: n
1285
+ future: t,
1286
+ state: r,
1287
+ onError: n
1189
1288
  }) {
1190
- return Lt(e, void 0, t, n, r);
1289
+ return zt(e, void 0, r, n, t);
1191
1290
  }
1192
- var Q = "get", ee = "application/x-www-form-urlencoded";
1193
- function ae(e) {
1194
- return e != null && typeof e.tagName == "string";
1291
+ var Z = "get", Q = "application/x-www-form-urlencoded";
1292
+ function ne(e) {
1293
+ return typeof HTMLElement < "u" && e instanceof HTMLElement;
1195
1294
  }
1196
- function Vt(e) {
1197
- return ae(e) && e.tagName.toLowerCase() === "button";
1295
+ function tr(e) {
1296
+ return ne(e) && e.tagName.toLowerCase() === "button";
1198
1297
  }
1199
- function Bt(e) {
1200
- return ae(e) && e.tagName.toLowerCase() === "form";
1298
+ function rr(e) {
1299
+ return ne(e) && e.tagName.toLowerCase() === "form";
1201
1300
  }
1202
- function Jt(e) {
1203
- return ae(e) && e.tagName.toLowerCase() === "input";
1301
+ function nr(e) {
1302
+ return ne(e) && e.tagName.toLowerCase() === "input";
1204
1303
  }
1205
- function Gt(e) {
1304
+ function ar(e) {
1206
1305
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1207
1306
  }
1208
- function qt(e, r) {
1307
+ function or(e, t) {
1209
1308
  return e.button === 0 && // Ignore everything but left clicks
1210
- (!r || r === "_self") && // Let browser handle "target=_blank" etc.
1211
- !Gt(e);
1309
+ (!t || t === "_self") && // Let browser handle "target=_blank" etc.
1310
+ !ar(e);
1212
1311
  }
1213
- var Z = null;
1214
- function Xt() {
1215
- if (Z === null)
1312
+ var K = null;
1313
+ function lr() {
1314
+ if (K === null)
1216
1315
  try {
1217
1316
  new FormData(
1218
1317
  document.createElement("form"),
1219
1318
  // @ts-expect-error if FormData supports the submitter parameter, this will throw
1220
1319
  0
1221
- ), Z = !1;
1320
+ ), K = !1;
1222
1321
  } catch {
1223
- Z = !0;
1322
+ K = !0;
1224
1323
  }
1225
- return Z;
1324
+ return K;
1226
1325
  }
1227
- var Kt = /* @__PURE__ */ new Set([
1326
+ var ir = /* @__PURE__ */ new Set([
1228
1327
  "application/x-www-form-urlencoded",
1229
1328
  "multipart/form-data",
1230
1329
  "text/plain"
1231
1330
  ]);
1232
1331
  function ce(e) {
1233
- return e != null && !Kt.has(e) ? (_(
1332
+ return e != null && !ir.has(e) ? (L(
1234
1333
  !1,
1235
- `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ee}"`
1334
+ `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Q}"`
1236
1335
  ), null) : e;
1237
1336
  }
1238
- function Zt(e, r) {
1239
- let t, n, a, o, l;
1240
- if (Bt(e)) {
1337
+ function sr(e, t) {
1338
+ let r, n, o, a, l;
1339
+ if (rr(e)) {
1241
1340
  let u = e.getAttribute("action");
1242
- n = u ? F(u, r) : null, t = e.getAttribute("method") || Q, a = ce(e.getAttribute("enctype")) || ee, o = new FormData(e);
1243
- } else if (Vt(e) || Jt(e) && (e.type === "submit" || e.type === "image")) {
1341
+ n = u ? I(u, t) : null, r = e.getAttribute("method") || Z, o = ce(e.getAttribute("enctype")) || Q, a = new FormData(e);
1342
+ } else if (tr(e) || nr(e) && (e.type === "submit" || e.type === "image")) {
1244
1343
  let u = e.form;
1245
1344
  if (u == null)
1246
1345
  throw new Error(
1247
1346
  'Cannot submit a <button> or <input type="submit"> without a <form>'
1248
1347
  );
1249
- let i = e.getAttribute("formaction") || u.getAttribute("action");
1250
- if (n = i ? F(i, r) : null, t = e.getAttribute("formmethod") || u.getAttribute("method") || Q, a = ce(e.getAttribute("formenctype")) || ce(u.getAttribute("enctype")) || ee, o = new FormData(u, e), !Xt()) {
1251
- let { name: f, type: m, value: d } = e;
1252
- if (m === "image") {
1253
- let p = f ? `${f}.` : "";
1254
- o.append(`${p}x`, "0"), o.append(`${p}y`, "0");
1255
- } else f && o.append(f, d);
1348
+ let s = e.getAttribute("formaction") || u.getAttribute("action");
1349
+ if (n = s ? I(s, t) : null, r = e.getAttribute("formmethod") || u.getAttribute("method") || Z, o = ce(e.getAttribute("formenctype")) || ce(u.getAttribute("enctype")) || Q, a = new FormData(u, e), !lr()) {
1350
+ let { name: m, type: f, value: d } = e;
1351
+ if (f === "image") {
1352
+ let p = m ? `${m}.` : "";
1353
+ a.append(`${p}x`, "0"), a.append(`${p}y`, "0");
1354
+ } else m && a.append(m, d);
1256
1355
  }
1257
1356
  } else {
1258
- if (ae(e))
1357
+ if (ne(e))
1259
1358
  throw new Error(
1260
1359
  'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
1261
1360
  );
1262
- t = Q, n = null, a = ee, l = e;
1361
+ r = Z, n = null, o = Q, l = e;
1263
1362
  }
1264
- return o && a === "text/plain" && (l = o, o = void 0), { action: n, method: t.toLowerCase(), encType: a, formData: o, body: l };
1363
+ return a && o === "text/plain" && (l = a, a = void 0), { action: n, method: r.toLowerCase(), encType: o, formData: a, body: l };
1265
1364
  }
1266
1365
  Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
1267
- function xe(e, r) {
1366
+ function xe(e, t) {
1268
1367
  if (e === !1 || e === null || typeof e > "u")
1269
- throw new Error(r);
1368
+ throw new Error(t);
1270
1369
  }
1271
- function Qt(e, r, t) {
1272
- let n = typeof e == "string" ? new URL(
1370
+ function ur(e, t, r, n) {
1371
+ let o = typeof e == "string" ? new URL(
1273
1372
  e,
1274
1373
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
1275
1374
  // don't assume window is available
1276
1375
  typeof window > "u" ? "server://singlefetch/" : window.location.origin
1277
1376
  ) : e;
1278
- return n.pathname === "/" ? n.pathname = `_root.${t}` : r && F(n.pathname, r) === "/" ? n.pathname = `${r.replace(/\/$/, "")}/_root.${t}` : n.pathname = `${n.pathname.replace(/\/$/, "")}.${t}`, n;
1377
+ return r ? o.pathname.endsWith("/") ? o.pathname = `${o.pathname}_.${n}` : o.pathname = `${o.pathname}.${n}` : o.pathname === "/" ? o.pathname = `_root.${n}` : t && I(o.pathname, t) === "/" ? o.pathname = `${t.replace(/\/$/, "")}/_root.${n}` : o.pathname = `${o.pathname.replace(/\/$/, "")}.${n}`, o;
1279
1378
  }
1280
- async function er(e, r) {
1281
- if (e.id in r)
1282
- return r[e.id];
1379
+ async function cr(e, t) {
1380
+ if (e.id in t)
1381
+ return t[e.id];
1283
1382
  try {
1284
- let t = await import(
1383
+ let r = await import(
1285
1384
  /* @vite-ignore */
1286
1385
  /* webpackIgnore: true */
1287
1386
  e.module
1288
1387
  );
1289
- return r[e.id] = t, t;
1290
- } catch (t) {
1388
+ return t[e.id] = r, r;
1389
+ } catch (r) {
1291
1390
  return console.error(
1292
1391
  `Error loading route module \`${e.module}\`, reloading page...`
1293
- ), console.error(t), window.__reactRouterContext && window.__reactRouterContext.isSpaMode, window.location.reload(), new Promise(() => {
1392
+ ), console.error(r), window.__reactRouterContext && window.__reactRouterContext.isSpaMode, window.location.reload(), new Promise(() => {
1294
1393
  });
1295
1394
  }
1296
1395
  }
1297
- function tr(e) {
1396
+ function dr(e) {
1298
1397
  return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
1299
1398
  }
1300
- async function rr(e, r, t) {
1399
+ async function fr(e, t, r) {
1301
1400
  let n = await Promise.all(
1302
- e.map(async (a) => {
1303
- let o = r.routes[a.route.id];
1304
- if (o) {
1305
- let l = await er(o, t);
1401
+ e.map(async (o) => {
1402
+ let a = t.routes[o.route.id];
1403
+ if (a) {
1404
+ let l = await cr(a, r);
1306
1405
  return l.links ? l.links() : [];
1307
1406
  }
1308
1407
  return [];
1309
1408
  })
1310
1409
  );
1311
- return lr(
1312
- n.flat(1).filter(tr).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
1313
- (a) => a.rel === "stylesheet" ? { ...a, rel: "prefetch", as: "style" } : { ...a, rel: "prefetch" }
1410
+ return gr(
1411
+ n.flat(1).filter(dr).filter((o) => o.rel === "stylesheet" || o.rel === "preload").map(
1412
+ (o) => o.rel === "stylesheet" ? { ...o, rel: "prefetch", as: "style" } : { ...o, rel: "prefetch" }
1314
1413
  )
1315
1414
  );
1316
1415
  }
1317
- function $e(e, r, t, n, a, o) {
1318
- let l = (i, f) => t[f] ? i.route.id !== t[f].route.id : !0, u = (i, f) => (
1416
+ function $e(e, t, r, n, o, a) {
1417
+ let l = (s, m) => r[m] ? s.route.id !== r[m].route.id : !0, u = (s, m) => (
1319
1418
  // param change, /users/123 -> /users/456
1320
- t[f].pathname !== i.pathname || // splat param changed, which is not present in match.path
1419
+ r[m].pathname !== s.pathname || // splat param changed, which is not present in match.path
1321
1420
  // e.g. /files/images/avatar.jpg -> files/finances.xls
1322
- t[f].route.path?.endsWith("*") && t[f].params["*"] !== i.params["*"]
1421
+ r[m].route.path?.endsWith("*") && r[m].params["*"] !== s.params["*"]
1323
1422
  );
1324
- return o === "assets" ? r.filter(
1325
- (i, f) => l(i, f) || u(i, f)
1326
- ) : o === "data" ? r.filter((i, f) => {
1327
- let m = n.routes[i.route.id];
1328
- if (!m || !m.hasLoader)
1423
+ return a === "assets" ? t.filter(
1424
+ (s, m) => l(s, m) || u(s, m)
1425
+ ) : a === "data" ? t.filter((s, m) => {
1426
+ let f = n.routes[s.route.id];
1427
+ if (!f || !f.hasLoader)
1329
1428
  return !1;
1330
- if (l(i, f) || u(i, f))
1429
+ if (l(s, m) || u(s, m))
1331
1430
  return !0;
1332
- if (i.route.shouldRevalidate) {
1333
- let d = i.route.shouldRevalidate({
1431
+ if (s.route.shouldRevalidate) {
1432
+ let d = s.route.shouldRevalidate({
1334
1433
  currentUrl: new URL(
1335
- a.pathname + a.search + a.hash,
1434
+ o.pathname + o.search + o.hash,
1336
1435
  window.origin
1337
1436
  ),
1338
- currentParams: t[0]?.params || {},
1437
+ currentParams: r[0]?.params || {},
1339
1438
  nextUrl: new URL(e, window.origin),
1340
- nextParams: i.params,
1439
+ nextParams: s.params,
1341
1440
  defaultShouldRevalidate: !0
1342
1441
  });
1343
1442
  if (typeof d == "boolean")
@@ -1346,471 +1445,480 @@ function $e(e, r, t, n, a, o) {
1346
1445
  return !0;
1347
1446
  }) : [];
1348
1447
  }
1349
- function nr(e, r, { includeHydrateFallback: t } = {}) {
1350
- return ar(
1448
+ function mr(e, t, { includeHydrateFallback: r } = {}) {
1449
+ return hr(
1351
1450
  e.map((n) => {
1352
- let a = r.routes[n.route.id];
1353
- if (!a) return [];
1354
- let o = [a.module];
1355
- return a.clientActionModule && (o = o.concat(a.clientActionModule)), a.clientLoaderModule && (o = o.concat(a.clientLoaderModule)), t && a.hydrateFallbackModule && (o = o.concat(a.hydrateFallbackModule)), a.imports && (o = o.concat(a.imports)), o;
1451
+ let o = t.routes[n.route.id];
1452
+ if (!o) return [];
1453
+ let a = [o.module];
1454
+ return o.clientActionModule && (a = a.concat(o.clientActionModule)), o.clientLoaderModule && (a = a.concat(o.clientLoaderModule)), r && o.hydrateFallbackModule && (a = a.concat(o.hydrateFallbackModule)), o.imports && (a = a.concat(o.imports)), a;
1356
1455
  }).flat(1)
1357
1456
  );
1358
1457
  }
1359
- function ar(e) {
1458
+ function hr(e) {
1360
1459
  return [...new Set(e)];
1361
1460
  }
1362
- function or(e) {
1363
- let r = {}, t = Object.keys(e).sort();
1364
- for (let n of t)
1365
- r[n] = e[n];
1366
- return r;
1367
- }
1368
- function lr(e, r) {
1369
- let t = /* @__PURE__ */ new Set();
1370
- return new Set(r), e.reduce((n, a) => {
1371
- let o = JSON.stringify(or(a));
1372
- return t.has(o) || (t.add(o), n.push({ key: o, link: a })), n;
1461
+ function pr(e) {
1462
+ let t = {}, r = Object.keys(e).sort();
1463
+ for (let n of r)
1464
+ t[n] = e[n];
1465
+ return t;
1466
+ }
1467
+ function gr(e, t) {
1468
+ let r = /* @__PURE__ */ new Set();
1469
+ return new Set(t), e.reduce((n, o) => {
1470
+ let a = JSON.stringify(pr(o));
1471
+ return r.has(a) || (r.add(a), n.push({ key: a, link: o })), n;
1373
1472
  }, []);
1374
1473
  }
1375
- function Ve() {
1376
- let e = c.useContext(H);
1474
+ function qe() {
1475
+ let e = i.useContext(Y);
1377
1476
  return xe(
1378
1477
  e,
1379
1478
  "You must render this element inside a <DataRouterContext.Provider> element"
1380
1479
  ), e;
1381
1480
  }
1382
- function ir() {
1383
- let e = c.useContext(re);
1481
+ function br() {
1482
+ let e = i.useContext(te);
1384
1483
  return xe(
1385
1484
  e,
1386
1485
  "You must render this element inside a <DataRouterStateContext.Provider> element"
1387
1486
  ), e;
1388
1487
  }
1389
- var ye = c.createContext(void 0);
1488
+ var ye = i.createContext(void 0);
1390
1489
  ye.displayName = "FrameworkContext";
1391
- function Be() {
1392
- let e = c.useContext(ye);
1490
+ function Xe() {
1491
+ let e = i.useContext(ye);
1393
1492
  return xe(
1394
1493
  e,
1395
1494
  "You must render this element inside a <HydratedRouter> element"
1396
1495
  ), e;
1397
1496
  }
1398
- function sr(e, r) {
1399
- let t = c.useContext(ye), [n, a] = c.useState(!1), [o, l] = c.useState(!1), { onFocus: u, onBlur: i, onMouseEnter: f, onMouseLeave: m, onTouchStart: d } = r, p = c.useRef(null);
1400
- c.useEffect(() => {
1497
+ function xr(e, t) {
1498
+ let r = i.useContext(ye), [n, o] = i.useState(!1), [a, l] = i.useState(!1), { onFocus: u, onBlur: s, onMouseEnter: m, onMouseLeave: f, onTouchStart: d } = t, p = i.useRef(null);
1499
+ i.useEffect(() => {
1401
1500
  if (e === "render" && l(!0), e === "viewport") {
1402
- let E = (v) => {
1403
- v.forEach((b) => {
1404
- l(b.isIntersecting);
1501
+ let v = (R) => {
1502
+ R.forEach((g) => {
1503
+ l(g.isIntersecting);
1405
1504
  });
1406
- }, w = new IntersectionObserver(E, { threshold: 0.5 });
1407
- return p.current && w.observe(p.current), () => {
1408
- w.disconnect();
1505
+ }, y = new IntersectionObserver(v, { threshold: 0.5 });
1506
+ return p.current && y.observe(p.current), () => {
1507
+ y.disconnect();
1409
1508
  };
1410
1509
  }
1411
- }, [e]), c.useEffect(() => {
1510
+ }, [e]), i.useEffect(() => {
1412
1511
  if (n) {
1413
- let E = setTimeout(() => {
1512
+ let v = setTimeout(() => {
1414
1513
  l(!0);
1415
1514
  }, 100);
1416
1515
  return () => {
1417
- clearTimeout(E);
1516
+ clearTimeout(v);
1418
1517
  };
1419
1518
  }
1420
1519
  }, [n]);
1421
- let g = () => {
1422
- a(!0);
1423
- }, y = () => {
1424
- a(!1), l(!1);
1520
+ let b = () => {
1521
+ o(!0);
1522
+ }, k = () => {
1523
+ o(!1), l(!1);
1425
1524
  };
1426
- return t ? e !== "intent" ? [o, p, {}] : [
1427
- o,
1525
+ return r ? e !== "intent" ? [a, p, {}] : [
1526
+ a,
1428
1527
  p,
1429
1528
  {
1430
- onFocus: J(u, g),
1431
- onBlur: J(i, y),
1432
- onMouseEnter: J(f, g),
1433
- onMouseLeave: J(m, y),
1434
- onTouchStart: J(d, g)
1529
+ onFocus: J(u, b),
1530
+ onBlur: J(s, k),
1531
+ onMouseEnter: J(m, b),
1532
+ onMouseLeave: J(f, k),
1533
+ onTouchStart: J(d, b)
1435
1534
  }
1436
1535
  ] : [!1, p, {}];
1437
1536
  }
1438
- function J(e, r) {
1439
- return (t) => {
1440
- e && e(t), t.defaultPrevented || r(t);
1537
+ function J(e, t) {
1538
+ return (r) => {
1539
+ e && e(r), r.defaultPrevented || t(r);
1441
1540
  };
1442
1541
  }
1443
- function ur({ page: e, ...r }) {
1444
- let { router: t } = Ve(), n = c.useMemo(
1445
- () => Oe(t.routes, e, t.basename),
1446
- [t.routes, e, t.basename]
1542
+ function yr({ page: e, ...t }) {
1543
+ let { router: r } = qe(), n = i.useMemo(
1544
+ () => Oe(r.routes, e, r.basename),
1545
+ [r.routes, e, r.basename]
1447
1546
  );
1448
- return n ? /* @__PURE__ */ c.createElement(dr, { page: e, matches: n, ...r }) : null;
1547
+ return n ? /* @__PURE__ */ i.createElement(wr, { page: e, matches: n, ...t }) : null;
1449
1548
  }
1450
- function cr(e) {
1451
- let { manifest: r, routeModules: t } = Be(), [n, a] = c.useState([]);
1452
- return c.useEffect(() => {
1453
- let o = !1;
1454
- return rr(e, r, t).then(
1549
+ function vr(e) {
1550
+ let { manifest: t, routeModules: r } = Xe(), [n, o] = i.useState([]);
1551
+ return i.useEffect(() => {
1552
+ let a = !1;
1553
+ return fr(e, t, r).then(
1455
1554
  (l) => {
1456
- o || a(l);
1555
+ a || o(l);
1457
1556
  }
1458
1557
  ), () => {
1459
- o = !0;
1558
+ a = !0;
1460
1559
  };
1461
- }, [e, r, t]), n;
1560
+ }, [e, t, r]), n;
1462
1561
  }
1463
- function dr({
1562
+ function wr({
1464
1563
  page: e,
1465
- matches: r,
1466
- ...t
1564
+ matches: t,
1565
+ ...r
1467
1566
  }) {
1468
- let n = D(), { manifest: a, routeModules: o } = Be(), { basename: l } = Ve(), { loaderData: u, matches: i } = ir(), f = c.useMemo(
1567
+ let n = W(), { future: o, manifest: a, routeModules: l } = Xe(), { basename: u } = qe(), { loaderData: s, matches: m } = br(), f = i.useMemo(
1469
1568
  () => $e(
1470
1569
  e,
1471
- r,
1472
- i,
1570
+ t,
1571
+ m,
1473
1572
  a,
1474
1573
  n,
1475
1574
  "data"
1476
1575
  ),
1477
- [e, r, i, a, n]
1478
- ), m = c.useMemo(
1576
+ [e, t, m, a, n]
1577
+ ), d = i.useMemo(
1479
1578
  () => $e(
1480
1579
  e,
1481
- r,
1482
- i,
1580
+ t,
1581
+ m,
1483
1582
  a,
1484
1583
  n,
1485
1584
  "assets"
1486
1585
  ),
1487
- [e, r, i, a, n]
1488
- ), d = c.useMemo(() => {
1586
+ [e, t, m, a, n]
1587
+ ), p = i.useMemo(() => {
1489
1588
  if (e === n.pathname + n.search + n.hash)
1490
1589
  return [];
1491
- let y = /* @__PURE__ */ new Set(), E = !1;
1492
- if (r.forEach((v) => {
1493
- let b = a.routes[v.route.id];
1494
- !b || !b.hasLoader || (!f.some((k) => k.route.id === v.route.id) && v.route.id in u && o[v.route.id]?.shouldRevalidate || b.hasClientLoader ? E = !0 : y.add(v.route.id));
1495
- }), y.size === 0)
1590
+ let v = /* @__PURE__ */ new Set(), y = !1;
1591
+ if (t.forEach((g) => {
1592
+ let w = a.routes[g.route.id];
1593
+ !w || !w.hasLoader || (!f.some(($) => $.route.id === g.route.id) && g.route.id in s && l[g.route.id]?.shouldRevalidate || w.hasClientLoader ? y = !0 : v.add(g.route.id));
1594
+ }), v.size === 0)
1496
1595
  return [];
1497
- let w = Qt(e, l, "data");
1498
- return E && y.size > 0 && w.searchParams.set(
1596
+ let R = ur(
1597
+ e,
1598
+ u,
1599
+ o.unstable_trailingSlashAwareDataRequests,
1600
+ "data"
1601
+ );
1602
+ return y && v.size > 0 && R.searchParams.set(
1499
1603
  "_routes",
1500
- r.filter((v) => y.has(v.route.id)).map((v) => v.route.id).join(",")
1501
- ), [w.pathname + w.search];
1604
+ t.filter((g) => v.has(g.route.id)).map((g) => g.route.id).join(",")
1605
+ ), [R.pathname + R.search];
1502
1606
  }, [
1503
- l,
1504
1607
  u,
1608
+ o.unstable_trailingSlashAwareDataRequests,
1609
+ s,
1505
1610
  n,
1506
1611
  a,
1507
1612
  f,
1508
- r,
1613
+ t,
1509
1614
  e,
1510
- o
1511
- ]), p = c.useMemo(
1512
- () => nr(m, a),
1513
- [m, a]
1514
- ), g = cr(m);
1515
- return /* @__PURE__ */ c.createElement(c.Fragment, null, d.map((y) => /* @__PURE__ */ c.createElement("link", { key: y, rel: "prefetch", as: "fetch", href: y, ...t })), p.map((y) => /* @__PURE__ */ c.createElement("link", { key: y, rel: "modulepreload", href: y, ...t })), g.map(({ key: y, link: E }) => (
1615
+ l
1616
+ ]), b = i.useMemo(
1617
+ () => mr(d, a),
1618
+ [d, a]
1619
+ ), k = vr(d);
1620
+ return /* @__PURE__ */ i.createElement(i.Fragment, null, p.map((v) => /* @__PURE__ */ i.createElement("link", { key: v, rel: "prefetch", as: "fetch", href: v, ...r })), b.map((v) => /* @__PURE__ */ i.createElement("link", { key: v, rel: "modulepreload", href: v, ...r })), k.map(({ key: v, link: y }) => (
1516
1621
  // these don't spread `linkProps` because they are full link descriptors
1517
1622
  // already with their own props
1518
- /* @__PURE__ */ c.createElement("link", { key: y, nonce: t.nonce, ...E })
1623
+ /* @__PURE__ */ i.createElement("link", { key: v, nonce: r.nonce, ...y })
1519
1624
  )));
1520
1625
  }
1521
- function fr(...e) {
1522
- return (r) => {
1523
- e.forEach((t) => {
1524
- typeof t == "function" ? t(r) : t != null && (t.current = r);
1626
+ function kr(...e) {
1627
+ return (t) => {
1628
+ e.forEach((r) => {
1629
+ typeof r == "function" ? r(t) : r != null && (r.current = t);
1525
1630
  });
1526
1631
  };
1527
1632
  }
1528
- var Je = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1633
+ var Rr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1529
1634
  try {
1530
- Je && (window.__reactRouterVersion = // @ts-expect-error
1531
- "7.9.6");
1635
+ Rr && (window.__reactRouterVersion = // @ts-expect-error
1636
+ "7.12.0");
1532
1637
  } catch {
1533
1638
  }
1534
- var Ge = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, ve = c.forwardRef(
1639
+ var Ke = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, ve = i.forwardRef(
1535
1640
  function({
1536
- onClick: r,
1537
- discover: t = "render",
1641
+ onClick: t,
1642
+ discover: r = "render",
1538
1643
  prefetch: n = "none",
1539
- relative: a,
1540
- reloadDocument: o,
1644
+ relative: o,
1645
+ reloadDocument: a,
1541
1646
  replace: l,
1542
1647
  state: u,
1543
- target: i,
1544
- to: f,
1545
- preventScrollReset: m,
1648
+ target: s,
1649
+ to: m,
1650
+ preventScrollReset: f,
1546
1651
  viewTransition: d,
1547
- ...p
1548
- }, g) {
1549
- let { basename: y } = c.useContext($), E = typeof f == "string" && Ge.test(f), w, v = !1;
1550
- if (typeof f == "string" && E && (w = f, Je))
1551
- try {
1552
- let j = new URL(window.location.href), U = f.startsWith("//") ? new URL(j.protocol + f) : new URL(f), q = F(U.pathname, y);
1553
- U.origin === j.origin && q != null ? f = q + U.search + U.hash : v = !0;
1554
- } catch {
1555
- _(
1556
- !1,
1557
- `<Link to="${f}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1558
- );
1559
- }
1560
- let b = jt(f, { relative: a }), [k, O, T] = sr(
1652
+ unstable_defaultShouldRevalidate: p,
1653
+ ...b
1654
+ }, k) {
1655
+ let { basename: v, unstable_useTransitions: y } = i.useContext(T), R = typeof m == "string" && Ke.test(m), g = We(m, v);
1656
+ m = g.to;
1657
+ let w = It(m, { relative: o }), [$, _, O] = xr(
1561
1658
  n,
1562
- p
1563
- ), M = gr(f, {
1659
+ b
1660
+ ), U = Nr(m, {
1564
1661
  replace: l,
1565
1662
  state: u,
1566
- target: i,
1567
- preventScrollReset: m,
1568
- relative: a,
1569
- viewTransition: d
1663
+ target: s,
1664
+ preventScrollReset: f,
1665
+ relative: o,
1666
+ viewTransition: d,
1667
+ unstable_defaultShouldRevalidate: p,
1668
+ unstable_useTransitions: y
1570
1669
  });
1571
- function I(j) {
1572
- r && r(j), j.defaultPrevented || M(j);
1670
+ function F(M) {
1671
+ t && t(M), M.defaultPrevented || U(M);
1573
1672
  }
1574
- let W = (
1673
+ let j = (
1575
1674
  // eslint-disable-next-line jsx-a11y/anchor-has-content
1576
- /* @__PURE__ */ c.createElement(
1675
+ /* @__PURE__ */ i.createElement(
1577
1676
  "a",
1578
1677
  {
1579
- ...p,
1580
- ...T,
1581
- href: w || b,
1582
- onClick: v || o ? r : I,
1583
- ref: fr(g, O),
1584
- target: i,
1585
- "data-discover": !E && t === "render" ? "true" : void 0
1678
+ ...b,
1679
+ ...O,
1680
+ href: g.absoluteURL || w,
1681
+ onClick: g.isExternal || a ? t : F,
1682
+ ref: kr(k, _),
1683
+ target: s,
1684
+ "data-discover": !R && r === "render" ? "true" : void 0
1586
1685
  }
1587
1686
  )
1588
1687
  );
1589
- return k && !E ? /* @__PURE__ */ c.createElement(c.Fragment, null, W, /* @__PURE__ */ c.createElement(ur, { page: b })) : W;
1688
+ return $ && !R ? /* @__PURE__ */ i.createElement(i.Fragment, null, j, /* @__PURE__ */ i.createElement(yr, { page: w })) : j;
1590
1689
  }
1591
1690
  );
1592
1691
  ve.displayName = "Link";
1593
- var mr = c.forwardRef(
1692
+ var Er = i.forwardRef(
1594
1693
  function({
1595
- "aria-current": r = "page",
1596
- caseSensitive: t = !1,
1694
+ "aria-current": t = "page",
1695
+ caseSensitive: r = !1,
1597
1696
  className: n = "",
1598
- end: a = !1,
1599
- style: o,
1697
+ end: o = !1,
1698
+ style: a,
1600
1699
  to: l,
1601
1700
  viewTransition: u,
1602
- children: i,
1603
- ...f
1604
- }, m) {
1605
- let d = G(l, { relative: f.relative }), p = D(), g = c.useContext(re), { navigator: y, basename: E } = c.useContext($), w = g != null && // Conditional usage is OK here because the usage of a data router is static
1701
+ children: s,
1702
+ ...m
1703
+ }, f) {
1704
+ let d = G(l, { relative: m.relative }), p = W(), b = i.useContext(te), { navigator: k, basename: v } = i.useContext(T), y = b != null && // Conditional usage is OK here because the usage of a data router is static
1606
1705
  // eslint-disable-next-line react-hooks/rules-of-hooks
1607
- wr(d) && u === !0, v = y.encodeLocation ? y.encodeLocation(d).pathname : d.pathname, b = p.pathname, k = g && g.navigation && g.navigation.location ? g.navigation.location.pathname : null;
1608
- t || (b = b.toLowerCase(), k = k ? k.toLowerCase() : null, v = v.toLowerCase()), k && E && (k = F(k, E) || k);
1609
- const O = v !== "/" && v.endsWith("/") ? v.length - 1 : v.length;
1610
- let T = b === v || !a && b.startsWith(v) && b.charAt(O) === "/", M = k != null && (k === v || !a && k.startsWith(v) && k.charAt(v.length) === "/"), I = {
1611
- isActive: T,
1612
- isPending: M,
1613
- isTransitioning: w
1614
- }, W = T ? r : void 0, j;
1615
- typeof n == "function" ? j = n(I) : j = [
1706
+ Lr(d) && u === !0, R = k.encodeLocation ? k.encodeLocation(d).pathname : d.pathname, g = p.pathname, w = b && b.navigation && b.navigation.location ? b.navigation.location.pathname : null;
1707
+ r || (g = g.toLowerCase(), w = w ? w.toLowerCase() : null, R = R.toLowerCase()), w && v && (w = I(w, v) || w);
1708
+ const $ = R !== "/" && R.endsWith("/") ? R.length - 1 : R.length;
1709
+ let _ = g === R || !o && g.startsWith(R) && g.charAt($) === "/", O = w != null && (w === R || !o && w.startsWith(R) && w.charAt(R.length) === "/"), U = {
1710
+ isActive: _,
1711
+ isPending: O,
1712
+ isTransitioning: y
1713
+ }, F = _ ? t : void 0, j;
1714
+ typeof n == "function" ? j = n(U) : j = [
1616
1715
  n,
1617
- T ? "active" : null,
1618
- M ? "pending" : null,
1619
- w ? "transitioning" : null
1716
+ _ ? "active" : null,
1717
+ O ? "pending" : null,
1718
+ y ? "transitioning" : null
1620
1719
  ].filter(Boolean).join(" ");
1621
- let U = typeof o == "function" ? o(I) : o;
1622
- return /* @__PURE__ */ c.createElement(
1720
+ let M = typeof a == "function" ? a(U) : a;
1721
+ return /* @__PURE__ */ i.createElement(
1623
1722
  ve,
1624
1723
  {
1625
- ...f,
1626
- "aria-current": W,
1724
+ ...m,
1725
+ "aria-current": F,
1627
1726
  className: j,
1628
- ref: m,
1629
- style: U,
1727
+ ref: f,
1728
+ style: M,
1630
1729
  to: l,
1631
1730
  viewTransition: u
1632
1731
  },
1633
- typeof i == "function" ? i(I) : i
1732
+ typeof s == "function" ? s(U) : s
1634
1733
  );
1635
1734
  }
1636
1735
  );
1637
- mr.displayName = "NavLink";
1638
- var hr = c.forwardRef(
1736
+ Er.displayName = "NavLink";
1737
+ var Cr = i.forwardRef(
1639
1738
  ({
1640
1739
  discover: e = "render",
1641
- fetcherKey: r,
1642
- navigate: t,
1740
+ fetcherKey: t,
1741
+ navigate: r,
1643
1742
  reloadDocument: n,
1644
- replace: a,
1645
- state: o,
1646
- method: l = Q,
1743
+ replace: o,
1744
+ state: a,
1745
+ method: l = Z,
1647
1746
  action: u,
1648
- onSubmit: i,
1649
- relative: f,
1650
- preventScrollReset: m,
1747
+ onSubmit: s,
1748
+ relative: m,
1749
+ preventScrollReset: f,
1651
1750
  viewTransition: d,
1652
- ...p
1653
- }, g) => {
1654
- let y = yr(), E = vr(u, { relative: f }), w = l.toLowerCase() === "get" ? "get" : "post", v = typeof u == "string" && Ge.test(u), b = (k) => {
1655
- if (i && i(k), k.defaultPrevented) return;
1656
- k.preventDefault();
1657
- let O = k.nativeEvent.submitter, T = O?.getAttribute("formmethod") || l;
1658
- y(O || k.currentTarget, {
1659
- fetcherKey: r,
1660
- method: T,
1661
- navigate: t,
1662
- replace: a,
1663
- state: o,
1664
- relative: f,
1665
- preventScrollReset: m,
1666
- viewTransition: d
1751
+ unstable_defaultShouldRevalidate: p,
1752
+ ...b
1753
+ }, k) => {
1754
+ let { unstable_useTransitions: v } = i.useContext(T), y = Tr(), R = jr(u, { relative: m }), g = l.toLowerCase() === "get" ? "get" : "post", w = typeof u == "string" && Ke.test(u), $ = (_) => {
1755
+ if (s && s(_), _.defaultPrevented) return;
1756
+ _.preventDefault();
1757
+ let O = _.nativeEvent.submitter, U = O?.getAttribute("formmethod") || l, F = () => y(O || _.currentTarget, {
1758
+ fetcherKey: t,
1759
+ method: U,
1760
+ navigate: r,
1761
+ replace: o,
1762
+ state: a,
1763
+ relative: m,
1764
+ preventScrollReset: f,
1765
+ viewTransition: d,
1766
+ unstable_defaultShouldRevalidate: p
1667
1767
  });
1768
+ v && r !== !1 ? i.startTransition(() => F()) : F();
1668
1769
  };
1669
- return /* @__PURE__ */ c.createElement(
1770
+ return /* @__PURE__ */ i.createElement(
1670
1771
  "form",
1671
1772
  {
1672
- ref: g,
1673
- method: w,
1674
- action: E,
1675
- onSubmit: n ? i : b,
1676
- ...p,
1677
- "data-discover": !v && e === "render" ? "true" : void 0
1773
+ ref: k,
1774
+ method: g,
1775
+ action: R,
1776
+ onSubmit: n ? s : $,
1777
+ ...b,
1778
+ "data-discover": !w && e === "render" ? "true" : void 0
1678
1779
  }
1679
1780
  );
1680
1781
  }
1681
1782
  );
1682
- hr.displayName = "Form";
1683
- function pr(e) {
1783
+ Cr.displayName = "Form";
1784
+ function Sr(e) {
1684
1785
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1685
1786
  }
1686
- function qe(e) {
1687
- let r = c.useContext(H);
1688
- return P(r, pr(e)), r;
1787
+ function Ze(e) {
1788
+ let t = i.useContext(Y);
1789
+ return P(t, Sr(e)), t;
1689
1790
  }
1690
- function gr(e, {
1691
- target: r,
1692
- replace: t,
1791
+ function Nr(e, {
1792
+ target: t,
1793
+ replace: r,
1693
1794
  state: n,
1694
- preventScrollReset: a,
1695
- relative: o,
1696
- viewTransition: l
1795
+ preventScrollReset: o,
1796
+ relative: a,
1797
+ viewTransition: l,
1798
+ unstable_defaultShouldRevalidate: u,
1799
+ unstable_useTransitions: s
1697
1800
  } = {}) {
1698
- let u = _t(), i = D(), f = G(e, { relative: o });
1699
- return c.useCallback(
1700
- (m) => {
1701
- if (qt(m, r)) {
1702
- m.preventDefault();
1703
- let d = t !== void 0 ? t : de(i) === de(f);
1704
- u(e, {
1705
- replace: d,
1801
+ let m = Mt(), f = W(), d = G(e, { relative: a });
1802
+ return i.useCallback(
1803
+ (p) => {
1804
+ if (or(p, t)) {
1805
+ p.preventDefault();
1806
+ let b = r !== void 0 ? r : de(f) === de(d), k = () => m(e, {
1807
+ replace: b,
1706
1808
  state: n,
1707
- preventScrollReset: a,
1708
- relative: o,
1709
- viewTransition: l
1809
+ preventScrollReset: o,
1810
+ relative: a,
1811
+ viewTransition: l,
1812
+ unstable_defaultShouldRevalidate: u
1710
1813
  });
1814
+ s ? i.startTransition(() => k()) : k();
1711
1815
  }
1712
1816
  },
1713
1817
  [
1714
- i,
1715
- u,
1716
1818
  f,
1717
- t,
1718
- n,
1819
+ m,
1820
+ d,
1719
1821
  r,
1822
+ n,
1823
+ t,
1720
1824
  e,
1721
- a,
1722
1825
  o,
1723
- l
1826
+ a,
1827
+ l,
1828
+ u,
1829
+ s
1724
1830
  ]
1725
1831
  );
1726
1832
  }
1727
- var br = 0, xr = () => `__${String(++br)}__`;
1728
- function yr() {
1729
- let { router: e } = qe(
1833
+ var Pr = 0, _r = () => `__${String(++Pr)}__`;
1834
+ function Tr() {
1835
+ let { router: e } = Ze(
1730
1836
  "useSubmit"
1731
1837
  /* UseSubmit */
1732
- ), { basename: r } = c.useContext($), t = Wt();
1733
- return c.useCallback(
1734
- async (n, a = {}) => {
1735
- let { action: o, method: l, encType: u, formData: i, body: f } = Zt(
1736
- n,
1737
- r
1838
+ ), { basename: t } = i.useContext(T), r = Kt(), n = e.fetch, o = e.navigate;
1839
+ return i.useCallback(
1840
+ async (a, l = {}) => {
1841
+ let { action: u, method: s, encType: m, formData: f, body: d } = sr(
1842
+ a,
1843
+ t
1738
1844
  );
1739
- if (a.navigate === !1) {
1740
- let m = a.fetcherKey || xr();
1741
- await e.fetch(m, t, a.action || o, {
1742
- preventScrollReset: a.preventScrollReset,
1743
- formData: i,
1744
- body: f,
1745
- formMethod: a.method || l,
1746
- formEncType: a.encType || u,
1747
- flushSync: a.flushSync
1845
+ if (l.navigate === !1) {
1846
+ let p = l.fetcherKey || _r();
1847
+ await n(p, r, l.action || u, {
1848
+ unstable_defaultShouldRevalidate: l.unstable_defaultShouldRevalidate,
1849
+ preventScrollReset: l.preventScrollReset,
1850
+ formData: f,
1851
+ body: d,
1852
+ formMethod: l.method || s,
1853
+ formEncType: l.encType || m,
1854
+ flushSync: l.flushSync
1748
1855
  });
1749
1856
  } else
1750
- await e.navigate(a.action || o, {
1751
- preventScrollReset: a.preventScrollReset,
1752
- formData: i,
1753
- body: f,
1754
- formMethod: a.method || l,
1755
- formEncType: a.encType || u,
1756
- replace: a.replace,
1757
- state: a.state,
1758
- fromRouteId: t,
1759
- flushSync: a.flushSync,
1760
- viewTransition: a.viewTransition
1857
+ await o(l.action || u, {
1858
+ unstable_defaultShouldRevalidate: l.unstable_defaultShouldRevalidate,
1859
+ preventScrollReset: l.preventScrollReset,
1860
+ formData: f,
1861
+ body: d,
1862
+ formMethod: l.method || s,
1863
+ formEncType: l.encType || m,
1864
+ replace: l.replace,
1865
+ state: l.state,
1866
+ fromRouteId: r,
1867
+ flushSync: l.flushSync,
1868
+ viewTransition: l.viewTransition
1761
1869
  });
1762
1870
  },
1763
- [e, r, t]
1871
+ [n, o, t, r]
1764
1872
  );
1765
1873
  }
1766
- function vr(e, { relative: r } = {}) {
1767
- let { basename: t } = c.useContext($), n = c.useContext(A);
1874
+ function jr(e, { relative: t } = {}) {
1875
+ let { basename: r } = i.useContext(T), n = i.useContext(D);
1768
1876
  P(n, "useFormAction must be used inside a RouteContext");
1769
- let [a] = n.matches.slice(-1), o = { ...G(e || ".", { relative: r }) }, l = D();
1877
+ let [o] = n.matches.slice(-1), a = { ...G(e || ".", { relative: t }) }, l = W();
1770
1878
  if (e == null) {
1771
- o.search = l.search;
1772
- let u = new URLSearchParams(o.search), i = u.getAll("index");
1773
- if (i.some((m) => m === "")) {
1774
- u.delete("index"), i.filter((d) => d).forEach((d) => u.append("index", d));
1775
- let m = u.toString();
1776
- o.search = m ? `?${m}` : "";
1879
+ a.search = l.search;
1880
+ let u = new URLSearchParams(a.search), s = u.getAll("index");
1881
+ if (s.some((f) => f === "")) {
1882
+ u.delete("index"), s.filter((d) => d).forEach((d) => u.append("index", d));
1883
+ let f = u.toString();
1884
+ a.search = f ? `?${f}` : "";
1777
1885
  }
1778
1886
  }
1779
- return (!e || e === ".") && a.route.index && (o.search = o.search ? o.search.replace(/^\?/, "?index&") : "?index"), t !== "/" && (o.pathname = o.pathname === "/" ? t : L([t, o.pathname])), de(o);
1887
+ return (!e || e === ".") && o.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (a.pathname = a.pathname === "/" ? r : A([r, a.pathname])), de(a);
1780
1888
  }
1781
- function wr(e, { relative: r } = {}) {
1782
- let t = c.useContext(We);
1889
+ function Lr(e, { relative: t } = {}) {
1890
+ let r = i.useContext(He);
1783
1891
  P(
1784
- t != null,
1892
+ r != null,
1785
1893
  "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
1786
1894
  );
1787
- let { basename: n } = qe(
1895
+ let { basename: n } = Ze(
1788
1896
  "useViewTransitionState"
1789
1897
  /* useViewTransitionState */
1790
- ), a = G(e, { relative: r });
1791
- if (!t.isTransitioning)
1898
+ ), o = G(e, { relative: t });
1899
+ if (!r.isTransitioning)
1792
1900
  return !1;
1793
- let o = F(t.currentLocation.pathname, n) || t.currentLocation.pathname, l = F(t.nextLocation.pathname, n) || t.nextLocation.pathname;
1794
- return te(a.pathname, l) != null || te(a.pathname, o) != null;
1901
+ let a = I(r.currentLocation.pathname, n) || r.currentLocation.pathname, l = I(r.nextLocation.pathname, n) || r.nextLocation.pathname;
1902
+ return ee(o.pathname, l) != null || ee(o.pathname, a) != null;
1795
1903
  }
1796
- const kr = {
1904
+ const $r = {
1797
1905
  primary: "text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 underline font-medium",
1798
1906
  secondary: "text-green-600 hover:text-green-800 dark:text-green-400 dark:hover:text-green-300 underline font-medium",
1799
1907
  subtle: "text-gray-600 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200 underline"
1800
- }, Xe = ({
1908
+ }, Qe = ({
1801
1909
  to: e,
1802
- children: r,
1803
- className: t,
1910
+ children: t,
1911
+ className: r,
1804
1912
  variant: n = "primary"
1805
1913
  }) => /* @__PURE__ */ h.jsx(
1806
1914
  ve,
1807
1915
  {
1808
1916
  to: e,
1809
- className: R(kr[n], t),
1810
- "aria-label": typeof r == "string" ? `Navigate to ${r}` : void 0,
1811
- children: r
1917
+ className: E($r[n], r),
1918
+ "aria-label": typeof t == "string" ? `Navigate to ${t}` : void 0,
1919
+ children: t
1812
1920
  }
1813
- ), Er = {
1921
+ ), Or = {
1814
1922
  // Getting Started cluster
1815
1923
  gettingStarted: {
1816
1924
  documentation: "/document#getting-started",
@@ -1838,12 +1946,12 @@ const kr = {
1838
1946
  nameService: "/document#name-service-subscription",
1839
1947
  troubleshooting: "/document#troubleshooting"
1840
1948
  }
1841
- }, Lr = ({
1949
+ }, Hr = ({
1842
1950
  cluster: e,
1843
- context: r = "",
1844
- className: t
1951
+ context: t = "",
1952
+ className: r
1845
1953
  }) => {
1846
- const n = Er[e], a = {
1954
+ const n = Or[e], o = {
1847
1955
  gettingStarted: {
1848
1956
  documentation: "Learn how it works",
1849
1957
  connect: "Get started now",
@@ -1868,30 +1976,30 @@ const kr = {
1868
1976
  troubleshooting: "Troubleshooting guide"
1869
1977
  }
1870
1978
  };
1871
- return /* @__PURE__ */ h.jsx("span", { className: R("text-sm text-gray-600 dark:text-gray-400", t), children: Object.entries(n).map(([o, l], u) => /* @__PURE__ */ h.jsxs(fe.Fragment, { children: [
1872
- /* @__PURE__ */ h.jsx(Xe, { to: l, variant: "primary", children: a[e][o] }),
1979
+ return /* @__PURE__ */ h.jsx("span", { className: E("text-sm text-gray-600 dark:text-gray-400", r), children: Object.entries(n).map(([a, l], u) => /* @__PURE__ */ h.jsxs(fe.Fragment, { children: [
1980
+ /* @__PURE__ */ h.jsx(Qe, { to: l, variant: "primary", children: o[e][a] }),
1873
1981
  u < Object.keys(n).length - 1 && " • "
1874
- ] }, o)) });
1875
- }, $r = ({
1982
+ ] }, a)) });
1983
+ }, Yr = ({
1876
1984
  title: e = "Related:",
1877
- links: r,
1878
- className: t
1985
+ links: t,
1986
+ className: r
1879
1987
  }) => /* @__PURE__ */ h.jsxs(
1880
1988
  "div",
1881
1989
  {
1882
- className: R(
1990
+ className: E(
1883
1991
  "mt-4 p-3 bg-blue-50 dark:bg-blue-900/20 rounded-lg border border-blue-200 dark:border-blue-800",
1884
- t
1992
+ r
1885
1993
  ),
1886
1994
  children: [
1887
1995
  /* @__PURE__ */ h.jsx("span", { className: "text-sm font-medium text-blue-900 dark:text-blue-200 mr-2", children: e }),
1888
- r.map((n, a) => /* @__PURE__ */ h.jsxs(fe.Fragment, { children: [
1889
- /* @__PURE__ */ h.jsx(Xe, { to: n.url, variant: n.variant || "primary", children: n.text }),
1890
- a < r.length - 1 && " • "
1891
- ] }, a))
1996
+ t.map((n, o) => /* @__PURE__ */ h.jsxs(fe.Fragment, { children: [
1997
+ /* @__PURE__ */ h.jsx(Qe, { to: n.url, variant: n.variant || "primary", children: n.text }),
1998
+ o < t.length - 1 && " • "
1999
+ ] }, o))
1892
2000
  ]
1893
2001
  }
1894
- ), Ar = (e, r) => ({
2002
+ ), Br = (e, t) => ({
1895
2003
  homepage: [
1896
2004
  { text: "How it works", url: "/document#getting-started" },
1897
2005
  { text: "User benefits", url: "/web3-users" },
@@ -1912,118 +2020,118 @@ const kr = {
1912
2020
  { text: "Smart contracts", url: "/document#smart-contracts" },
1913
2021
  { text: "User benefits", url: "/web3-users" }
1914
2022
  ]
1915
- })[e] || [], Or = ({
2023
+ })[e] || [], Vr = ({
1916
2024
  className: e,
1917
- children: r,
1918
- disabled: t = !1,
2025
+ children: t,
2026
+ disabled: r = !1,
1919
2027
  onClick: n
1920
2028
  }) => /* @__PURE__ */ h.jsx(
1921
2029
  "div",
1922
2030
  {
1923
- className: R(
2031
+ className: E(
1924
2032
  "p-4 rounded-lg border transition-colors",
1925
2033
  "bg-white dark:bg-gray-900",
1926
2034
  "border-gray-200 dark:border-gray-700",
1927
2035
  "text-gray-900 dark:text-white",
1928
- t && "opacity-50 cursor-not-allowed",
2036
+ r && "opacity-50 cursor-not-allowed",
1929
2037
  "hover:bg-gray-50 dark:hover:bg-gray-800",
1930
2038
  e
1931
2039
  ),
1932
- onClick: t ? void 0 : n,
2040
+ onClick: r ? void 0 : n,
1933
2041
  role: "region",
1934
2042
  "aria-label": "UlandingUbuilder",
1935
- children: r || "UlandingUbuilder Component"
2043
+ children: t || "UlandingUbuilder Component"
1936
2044
  }
1937
- ), Ur = ({
2045
+ ), Jr = ({
1938
2046
  className: e,
1939
- children: r,
1940
- disabled: t = !1,
2047
+ children: t,
2048
+ disabled: r = !1,
1941
2049
  onClick: n
1942
2050
  }) => /* @__PURE__ */ h.jsx(
1943
2051
  "div",
1944
2052
  {
1945
- className: R(
2053
+ className: E(
1946
2054
  "p-4 rounded-lg border transition-colors",
1947
2055
  "bg-white dark:bg-gray-900",
1948
2056
  "border-gray-200 dark:border-gray-700",
1949
2057
  "text-gray-900 dark:text-white",
1950
- t && "opacity-50 cursor-not-allowed",
2058
+ r && "opacity-50 cursor-not-allowed",
1951
2059
  "hover:bg-gray-50 dark:hover:bg-gray-800",
1952
2060
  e
1953
2061
  ),
1954
- onClick: t ? void 0 : n,
2062
+ onClick: r ? void 0 : n,
1955
2063
  role: "region",
1956
2064
  "aria-label": "UnpsUsurvey",
1957
- children: r || "UnpsUsurvey Component"
2065
+ children: t || "UnpsUsurvey Component"
1958
2066
  }
1959
- ), Fr = ({
2067
+ ), Gr = ({
1960
2068
  className: e,
1961
- children: r,
1962
- disabled: t
2069
+ children: t,
2070
+ disabled: r
1963
2071
  }) => /* @__PURE__ */ h.jsx(
1964
2072
  "div",
1965
2073
  {
1966
- className: R(
2074
+ className: E(
1967
2075
  "p-4 rounded-lg border transition-colors",
1968
2076
  "bg-white dark:bg-gray-900",
1969
2077
  "border-gray-200 dark:border-gray-700",
1970
2078
  "text-gray-900 dark:text-white",
1971
- t && "opacity-50 cursor-not-allowed",
2079
+ r && "opacity-50 cursor-not-allowed",
1972
2080
  e
1973
2081
  ),
1974
2082
  role: "region",
1975
2083
  "aria-label": "SalesReport",
1976
- children: r || "SalesReport Component"
2084
+ children: t || "SalesReport Component"
1977
2085
  }
1978
- ), Ir = ({
2086
+ ), qr = ({
1979
2087
  className: e,
1980
- children: r,
1981
- disabled: t
2088
+ children: t,
2089
+ disabled: r
1982
2090
  }) => /* @__PURE__ */ h.jsx(
1983
2091
  "div",
1984
2092
  {
1985
- className: R(
2093
+ className: E(
1986
2094
  "p-4 rounded-lg border transition-colors",
1987
2095
  "bg-white dark:bg-gray-900",
1988
2096
  "border-gray-200 dark:border-gray-700",
1989
2097
  "text-gray-900 dark:text-white",
1990
- t && "opacity-50 cursor-not-allowed",
2098
+ r && "opacity-50 cursor-not-allowed",
1991
2099
  e
1992
2100
  ),
1993
2101
  role: "region",
1994
2102
  "aria-label": "SubscriberList",
1995
- children: r || "SubscriberList Component"
2103
+ children: t || "SubscriberList Component"
1996
2104
  }
1997
- ), Dr = ({
2105
+ ), Xr = ({
1998
2106
  className: e,
1999
- children: r,
2000
- disabled: t = !1,
2107
+ children: t,
2108
+ disabled: r = !1,
2001
2109
  onClick: n
2002
2110
  }) => /* @__PURE__ */ h.jsx(
2003
2111
  "div",
2004
2112
  {
2005
- className: R(
2113
+ className: E(
2006
2114
  "p-4 rounded-lg border transition-colors",
2007
2115
  "bg-white dark:bg-gray-900",
2008
2116
  "border-gray-200 dark:border-gray-700",
2009
2117
  "text-gray-900 dark:text-white",
2010
- t && "opacity-50 cursor-not-allowed",
2118
+ r && "opacity-50 cursor-not-allowed",
2011
2119
  "hover:bg-gray-50 dark:hover:bg-gray-800",
2012
2120
  e
2013
2121
  ),
2014
- onClick: t ? void 0 : n,
2122
+ onClick: r ? void 0 : n,
2015
2123
  role: "region",
2016
2124
  "aria-label": "UtestimonialUslider",
2017
- children: r || "UtestimonialUslider Component"
2125
+ children: t || "UtestimonialUslider Component"
2018
2126
  }
2019
- ), Mr = ({
2127
+ ), Kr = ({
2020
2128
  title: e,
2021
- description: r,
2022
- useCases: t,
2129
+ description: t,
2130
+ useCases: r,
2023
2131
  columns: n = 3,
2024
- className: a
2132
+ className: o
2025
2133
  }) => {
2026
- const { containerClass: o } = Ae(), l = {
2134
+ const a = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", l = {
2027
2135
  blue: "text-blue-600 dark:text-blue-400",
2028
2136
  green: "text-green-600 dark:text-green-400",
2029
2137
  purple: "text-purple-600 dark:text-purple-400",
@@ -2035,30 +2143,30 @@ const kr = {
2035
2143
  3: "grid-cols-1 md:grid-cols-2 lg:grid-cols-3",
2036
2144
  4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"
2037
2145
  };
2038
- return /* @__PURE__ */ h.jsx("section", { className: R(Qe.section.gradient, a), children: /* @__PURE__ */ h.jsxs("div", { className: o, children: [
2039
- (e || r) && /* @__PURE__ */ h.jsxs("div", { className: "text-center mb-12", children: [
2146
+ return /* @__PURE__ */ h.jsx("section", { className: E(nt.section.gradient, o), children: /* @__PURE__ */ h.jsxs("div", { className: a, children: [
2147
+ (e || t) && /* @__PURE__ */ h.jsxs("div", { className: "text-center mb-12", children: [
2040
2148
  e && /* @__PURE__ */ h.jsx("h2", { className: "text-3xl font-bold text-gray-900 dark:text-white mb-4", children: e }),
2041
- r && /* @__PURE__ */ h.jsx("p", { className: "text-xl text-gray-600 dark:text-gray-300 max-w-3xl mx-auto", children: r })
2149
+ t && /* @__PURE__ */ h.jsx("p", { className: "text-xl text-gray-600 dark:text-gray-300 max-w-3xl mx-auto", children: t })
2042
2150
  ] }),
2043
- /* @__PURE__ */ h.jsx("div", { className: R("grid gap-8", u[n]), children: t.map((i, f) => {
2044
- const m = i.color ? l[i.color] : l.blue;
2151
+ /* @__PURE__ */ h.jsx("div", { className: E("grid gap-8", u[n]), children: r.map((s, m) => {
2152
+ const f = s.color ? l[s.color] : l.blue;
2045
2153
  return /* @__PURE__ */ h.jsxs(
2046
2154
  "div",
2047
2155
  {
2048
2156
  className: "bg-white dark:bg-gray-800 rounded-xl p-6 border border-gray-200 dark:border-gray-700 hover:shadow-lg transition-shadow",
2049
2157
  children: [
2050
- /* @__PURE__ */ h.jsx("div", { className: R("flex-shrink-0 mb-4", m), children: i.icon }),
2051
- /* @__PURE__ */ h.jsx("h3", { className: "text-xl font-semibold text-gray-900 dark:text-white mb-3", children: i.title }),
2052
- /* @__PURE__ */ h.jsx("p", { className: "text-gray-600 dark:text-gray-300 mb-4", children: i.description }),
2053
- i.examples && i.examples.length > 0 && /* @__PURE__ */ h.jsxs("div", { children: [
2158
+ /* @__PURE__ */ h.jsx("div", { className: E("flex-shrink-0 mb-4", f), children: s.icon }),
2159
+ /* @__PURE__ */ h.jsx("h3", { className: "text-xl font-semibold text-gray-900 dark:text-white mb-3", children: s.title }),
2160
+ /* @__PURE__ */ h.jsx("p", { className: "text-gray-600 dark:text-gray-300 mb-4", children: s.description }),
2161
+ s.examples && s.examples.length > 0 && /* @__PURE__ */ h.jsxs("div", { children: [
2054
2162
  /* @__PURE__ */ h.jsx("h4", { className: "text-sm font-semibold text-gray-700 dark:text-gray-300 mb-2", children: "Examples:" }),
2055
- /* @__PURE__ */ h.jsx("ul", { className: "space-y-1", children: i.examples.map((d, p) => /* @__PURE__ */ h.jsxs("li", { className: "flex items-start", children: [
2163
+ /* @__PURE__ */ h.jsx("ul", { className: "space-y-1", children: s.examples.map((d, p) => /* @__PURE__ */ h.jsxs("li", { className: "flex items-start", children: [
2056
2164
  /* @__PURE__ */ h.jsx(
2057
2165
  "div",
2058
2166
  {
2059
- className: R(
2167
+ className: E(
2060
2168
  "w-1.5 h-1.5 rounded-full mt-2 mr-2 flex-shrink-0",
2061
- i.color ? `bg-${i.color}-500` : "bg-blue-500"
2169
+ s.color ? `bg-${s.color}-500` : "bg-blue-500"
2062
2170
  )
2063
2171
  }
2064
2172
  ),
@@ -2067,48 +2175,48 @@ const kr = {
2067
2175
  ] })
2068
2176
  ]
2069
2177
  },
2070
- f
2178
+ m
2071
2179
  );
2072
2180
  }) })
2073
2181
  ] }) });
2074
- }, Wr = ({
2182
+ }, Zr = ({
2075
2183
  className: e,
2076
- children: r,
2077
- disabled: t = !1,
2184
+ children: t,
2185
+ disabled: r = !1,
2078
2186
  onClick: n
2079
2187
  }) => /* @__PURE__ */ h.jsx(
2080
2188
  "div",
2081
2189
  {
2082
- className: R(
2190
+ className: E(
2083
2191
  "p-4 rounded-lg border transition-colors",
2084
2192
  "bg-white dark:bg-gray-900",
2085
2193
  "border-gray-200 dark:border-gray-700",
2086
2194
  "text-gray-900 dark:text-white",
2087
- t && "opacity-50 cursor-not-allowed",
2195
+ r && "opacity-50 cursor-not-allowed",
2088
2196
  "hover:bg-gray-50 dark:hover:bg-gray-800",
2089
2197
  e
2090
2198
  ),
2091
- onClick: t ? void 0 : n,
2199
+ onClick: r ? void 0 : n,
2092
2200
  role: "region",
2093
2201
  "aria-label": "UwelcomeUscreen",
2094
- children: r || "UwelcomeUscreen Component"
2202
+ children: t || "UwelcomeUscreen Component"
2095
2203
  }
2096
2204
  );
2097
2205
  export {
2098
- Nr as CrmDashboard,
2099
- jr as FeatureListItem,
2100
- Tr as HeroBannerWithBadge,
2101
- Xe as InternalLink,
2102
- $r as RelatedLinks,
2103
- Fr as SalesReport,
2104
- Ir as SubscriberList,
2105
- Lr as TopicClusterLinks,
2106
- Pr as UctaUbanner,
2107
- _r as UfeatureUspotlight,
2108
- Or as UlandingUbuilder,
2109
- Ur as UnpsUsurvey,
2110
- Mr as UseCaseGrid,
2111
- Dr as UtestimonialUslider,
2112
- Wr as UwelcomeUscreen,
2113
- Ar as generateContextualLinks
2206
+ Fr as CrmDashboard,
2207
+ Mr as FeatureListItem,
2208
+ zr as HeroBannerWithBadge,
2209
+ Qe as InternalLink,
2210
+ Yr as RelatedLinks,
2211
+ Gr as SalesReport,
2212
+ qr as SubscriberList,
2213
+ Hr as TopicClusterLinks,
2214
+ Ir as UctaUbanner,
2215
+ Wr as UfeatureUspotlight,
2216
+ Vr as UlandingUbuilder,
2217
+ Jr as UnpsUsurvey,
2218
+ Kr as UseCaseGrid,
2219
+ Xr as UtestimonialUslider,
2220
+ Zr as UwelcomeUscreen,
2221
+ Br as generateContextualLinks
2114
2222
  };