lkd-web-kit 0.0.15 → 0.0.17
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/components/EmptyState/index.cjs +2 -0
- package/dist/components/EmptyState/index.cjs.map +1 -0
- package/dist/components/EmptyState/index.mjs +37 -0
- package/dist/components/EmptyState/index.mjs.map +1 -0
- package/dist/components/Icon.cjs +2 -0
- package/dist/components/Icon.cjs.map +1 -0
- package/dist/components/Icon.mjs +55 -0
- package/dist/components/Icon.mjs.map +1 -0
- package/dist/components/InfinityLoader/index.cjs +2 -0
- package/dist/components/InfinityLoader/index.cjs.map +1 -0
- package/dist/components/InfinityLoader/index.mjs +7 -0
- package/dist/components/InfinityLoader/index.mjs.map +1 -0
- package/dist/components/NavItems.cjs +2 -0
- package/dist/components/NavItems.cjs.map +1 -0
- package/dist/components/NavItems.mjs +37 -0
- package/dist/components/NavItems.mjs.map +1 -0
- package/dist/components/SelectInfinity/index.cjs +2 -0
- package/dist/components/SelectInfinity/index.cjs.map +1 -0
- package/dist/components/SelectInfinity/index.mjs +107 -0
- package/dist/components/SelectInfinity/index.mjs.map +1 -0
- package/dist/consts/http-status.cjs +2 -0
- package/dist/consts/http-status.cjs.map +1 -0
- package/dist/consts/http-status.mjs +5 -0
- package/dist/consts/http-status.mjs.map +1 -0
- package/dist/consts/revalidate.cjs +2 -0
- package/dist/consts/revalidate.cjs.map +1 -0
- package/dist/consts/revalidate.mjs +5 -0
- package/dist/consts/revalidate.mjs.map +1 -0
- package/dist/contexts/NavigationHistoryContext/index.cjs +2 -0
- package/dist/contexts/NavigationHistoryContext/index.cjs.map +1 -0
- package/dist/contexts/NavigationHistoryContext/index.mjs +48 -0
- package/dist/contexts/NavigationHistoryContext/index.mjs.map +1 -0
- package/dist/contexts/PageDataContext/index.cjs +2 -0
- package/dist/contexts/PageDataContext/index.cjs.map +1 -0
- package/dist/contexts/PageDataContext/index.mjs +16 -0
- package/dist/contexts/PageDataContext/index.mjs.map +1 -0
- package/dist/form/Form.cjs +2 -0
- package/dist/form/Form.cjs.map +1 -0
- package/dist/form/Form.mjs +22 -0
- package/dist/form/Form.mjs.map +1 -0
- package/dist/form/FormButtonSubmit.cjs +2 -0
- package/dist/form/FormButtonSubmit.cjs.map +1 -0
- package/dist/form/FormButtonSubmit.mjs +19 -0
- package/dist/form/FormButtonSubmit.mjs.map +1 -0
- package/dist/form/utils/nullableInput.cjs +2 -0
- package/dist/form/utils/nullableInput.cjs.map +1 -0
- package/dist/form/utils/nullableInput.mjs +10 -0
- package/dist/form/utils/nullableInput.mjs.map +1 -0
- package/dist/form/utils/zodValidator.cjs +2 -0
- package/dist/form/utils/zodValidator.cjs.map +1 -0
- package/dist/form/utils/zodValidator.mjs +10 -0
- package/dist/form/utils/zodValidator.mjs.map +1 -0
- package/dist/hocs/withForm.cjs +2 -0
- package/dist/hocs/withForm.cjs.map +1 -0
- package/dist/hocs/withForm.mjs +48 -0
- package/dist/hocs/withForm.mjs.map +1 -0
- package/dist/hocs/withModalManager.cjs +2 -0
- package/dist/hocs/withModalManager.cjs.map +1 -0
- package/dist/hocs/withModalManager.mjs +29 -0
- package/dist/hocs/withModalManager.mjs.map +1 -0
- package/dist/hooks/useFetchNextPageOnScroll.cjs +2 -0
- package/dist/hooks/useFetchNextPageOnScroll.cjs.map +1 -0
- package/dist/hooks/useFetchNextPageOnScroll.mjs +19 -0
- package/dist/hooks/useFetchNextPageOnScroll.mjs.map +1 -0
- package/dist/hooks/useOnScrollProgress.cjs +2 -0
- package/dist/hooks/useOnScrollProgress.cjs.map +1 -0
- package/dist/hooks/useOnScrollProgress.mjs +20 -0
- package/dist/hooks/useOnScrollProgress.mjs.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +61 -0
- package/dist/index.mjs.map +1 -0
- package/dist/mantine/breakpointsWithPx.cjs +2 -0
- package/dist/mantine/breakpointsWithPx.cjs.map +1 -0
- package/dist/mantine/breakpointsWithPx.mjs +12 -0
- package/dist/mantine/breakpointsWithPx.mjs.map +1 -0
- package/dist/mantine/toTailwindColors.cjs +2 -0
- package/dist/mantine/toTailwindColors.cjs.map +1 -0
- package/dist/mantine/toTailwindColors.mjs +11 -0
- package/dist/mantine/toTailwindColors.mjs.map +1 -0
- package/dist/utils/array/groupBy.cjs +2 -0
- package/dist/utils/array/groupBy.cjs.map +1 -0
- package/dist/utils/array/groupBy.mjs +35 -0
- package/dist/utils/array/groupBy.mjs.map +1 -0
- package/dist/utils/array/shuffleArray.cjs +2 -0
- package/dist/utils/array/shuffleArray.cjs.map +1 -0
- package/dist/utils/array/shuffleArray.mjs +14 -0
- package/dist/utils/array/shuffleArray.mjs.map +1 -0
- package/dist/utils/formatBytes.cjs +2 -0
- package/dist/utils/formatBytes.cjs.map +1 -0
- package/dist/utils/formatBytes.mjs +9 -0
- package/dist/utils/formatBytes.mjs.map +1 -0
- package/dist/utils/isInfinityEmpty.cjs +2 -0
- package/dist/utils/isInfinityEmpty.cjs.map +1 -0
- package/dist/utils/isInfinityEmpty.mjs +5 -0
- package/dist/utils/isInfinityEmpty.mjs.map +1 -0
- package/dist/utils/ky/addBodyJsonHook.cjs +2 -0
- package/dist/utils/ky/addBodyJsonHook.cjs.map +1 -0
- package/dist/utils/ky/addBodyJsonHook.mjs +6 -0
- package/dist/utils/ky/addBodyJsonHook.mjs.map +1 -0
- package/dist/utils/ky/parseJson.cjs +2 -0
- package/dist/utils/ky/parseJson.cjs.map +1 -0
- package/dist/utils/ky/parseJson.mjs +7 -0
- package/dist/utils/ky/parseJson.mjs.map +1 -0
- package/dist/utils/newHref.cjs +2 -0
- package/dist/utils/newHref.cjs.map +1 -0
- package/dist/utils/newHref.mjs +21 -0
- package/dist/utils/newHref.mjs.map +1 -0
- package/package.json +5 -5
- package/dist/lkd-web-kit.cjs +0 -33
- package/dist/lkd-web-kit.cjs.map +0 -1
- package/dist/lkd-web-kit.js +0 -4359
- package/dist/lkd-web-kit.js.map +0 -1
package/dist/lkd-web-kit.js
DELETED
|
@@ -1,4359 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import ne, { useEffect as He, useRef as Wn, createContext as Pn, useState as vn, useContext as On } from "react";
|
|
3
|
-
import Tn from "clsx";
|
|
4
|
-
import { Center as $n, Loader as Hn, useCombobox as Vn, Combobox as ue, InputBase as Yn, Input as zn, ScrollArea as Kn, Stack as Qn, NavLink as Yt, Box as Jn, Button as Zn } from "@mantine/core";
|
|
5
|
-
import { FormProvider as eo, useFormContext as to, Controller as ro } from "react-hook-form";
|
|
6
|
-
import { z as zt } from "zod";
|
|
7
|
-
import no from "query-string";
|
|
8
|
-
function oo(t) {
|
|
9
|
-
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
10
|
-
}
|
|
11
|
-
var he = { exports: {} }, se = {};
|
|
12
|
-
/**
|
|
13
|
-
* @license React
|
|
14
|
-
* react-jsx-runtime.production.js
|
|
15
|
-
*
|
|
16
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the MIT license found in the
|
|
19
|
-
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
var Kt;
|
|
22
|
-
function ao() {
|
|
23
|
-
if (Kt) return se;
|
|
24
|
-
Kt = 1;
|
|
25
|
-
var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
|
|
26
|
-
function o(r, a, n) {
|
|
27
|
-
var i = null;
|
|
28
|
-
if (n !== void 0 && (i = "" + n), a.key !== void 0 && (i = "" + a.key), "key" in a) {
|
|
29
|
-
n = {};
|
|
30
|
-
for (var u in a)
|
|
31
|
-
u !== "key" && (n[u] = a[u]);
|
|
32
|
-
} else n = a;
|
|
33
|
-
return a = n.ref, {
|
|
34
|
-
$$typeof: t,
|
|
35
|
-
type: r,
|
|
36
|
-
key: i,
|
|
37
|
-
ref: a !== void 0 ? a : null,
|
|
38
|
-
props: n
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
return se.Fragment = e, se.jsx = o, se.jsxs = o, se;
|
|
42
|
-
}
|
|
43
|
-
var le = {};
|
|
44
|
-
/**
|
|
45
|
-
* @license React
|
|
46
|
-
* react-jsx-runtime.development.js
|
|
47
|
-
*
|
|
48
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the MIT license found in the
|
|
51
|
-
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/
|
|
53
|
-
var Qt;
|
|
54
|
-
function io() {
|
|
55
|
-
return Qt || (Qt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
56
|
-
function t(E) {
|
|
57
|
-
if (E == null) return null;
|
|
58
|
-
if (typeof E == "function")
|
|
59
|
-
return E.$$typeof === O ? null : E.displayName || E.name || null;
|
|
60
|
-
if (typeof E == "string") return E;
|
|
61
|
-
switch (E) {
|
|
62
|
-
case g:
|
|
63
|
-
return "Fragment";
|
|
64
|
-
case A:
|
|
65
|
-
return "Profiler";
|
|
66
|
-
case m:
|
|
67
|
-
return "StrictMode";
|
|
68
|
-
case y:
|
|
69
|
-
return "Suspense";
|
|
70
|
-
case N:
|
|
71
|
-
return "SuspenseList";
|
|
72
|
-
case x:
|
|
73
|
-
return "Activity";
|
|
74
|
-
}
|
|
75
|
-
if (typeof E == "object")
|
|
76
|
-
switch (typeof E.tag == "number" && console.error(
|
|
77
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
78
|
-
), E.$$typeof) {
|
|
79
|
-
case v:
|
|
80
|
-
return "Portal";
|
|
81
|
-
case P:
|
|
82
|
-
return (E.displayName || "Context") + ".Provider";
|
|
83
|
-
case b:
|
|
84
|
-
return (E._context.displayName || "Context") + ".Consumer";
|
|
85
|
-
case R:
|
|
86
|
-
var C = E.render;
|
|
87
|
-
return E = E.displayName, E || (E = C.displayName || C.name || "", E = E !== "" ? "ForwardRef(" + E + ")" : "ForwardRef"), E;
|
|
88
|
-
case M:
|
|
89
|
-
return C = E.displayName || null, C !== null ? C : t(E.type) || "Memo";
|
|
90
|
-
case D:
|
|
91
|
-
C = E._payload, E = E._init;
|
|
92
|
-
try {
|
|
93
|
-
return t(E(C));
|
|
94
|
-
} catch {
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return null;
|
|
98
|
-
}
|
|
99
|
-
function e(E) {
|
|
100
|
-
return "" + E;
|
|
101
|
-
}
|
|
102
|
-
function o(E) {
|
|
103
|
-
try {
|
|
104
|
-
e(E);
|
|
105
|
-
var C = !1;
|
|
106
|
-
} catch {
|
|
107
|
-
C = !0;
|
|
108
|
-
}
|
|
109
|
-
if (C) {
|
|
110
|
-
C = console;
|
|
111
|
-
var j = C.error, G = typeof Symbol == "function" && Symbol.toStringTag && E[Symbol.toStringTag] || E.constructor.name || "Object";
|
|
112
|
-
return j.call(
|
|
113
|
-
C,
|
|
114
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
115
|
-
G
|
|
116
|
-
), e(E);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
function r(E) {
|
|
120
|
-
if (E === g) return "<>";
|
|
121
|
-
if (typeof E == "object" && E !== null && E.$$typeof === D)
|
|
122
|
-
return "<...>";
|
|
123
|
-
try {
|
|
124
|
-
var C = t(E);
|
|
125
|
-
return C ? "<" + C + ">" : "<...>";
|
|
126
|
-
} catch {
|
|
127
|
-
return "<...>";
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
function a() {
|
|
131
|
-
var E = S.A;
|
|
132
|
-
return E === null ? null : E.getOwner();
|
|
133
|
-
}
|
|
134
|
-
function n() {
|
|
135
|
-
return Error("react-stack-top-frame");
|
|
136
|
-
}
|
|
137
|
-
function i(E) {
|
|
138
|
-
if (X.call(E, "key")) {
|
|
139
|
-
var C = Object.getOwnPropertyDescriptor(E, "key").get;
|
|
140
|
-
if (C && C.isReactWarning) return !1;
|
|
141
|
-
}
|
|
142
|
-
return E.key !== void 0;
|
|
143
|
-
}
|
|
144
|
-
function u(E, C) {
|
|
145
|
-
function j() {
|
|
146
|
-
Y || (Y = !0, console.error(
|
|
147
|
-
"%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)",
|
|
148
|
-
C
|
|
149
|
-
));
|
|
150
|
-
}
|
|
151
|
-
j.isReactWarning = !0, Object.defineProperty(E, "key", {
|
|
152
|
-
get: j,
|
|
153
|
-
configurable: !0
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
function c() {
|
|
157
|
-
var E = t(this.type);
|
|
158
|
-
return K[E] || (K[E] = !0, console.error(
|
|
159
|
-
"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."
|
|
160
|
-
)), E = this.props.ref, E !== void 0 ? E : null;
|
|
161
|
-
}
|
|
162
|
-
function l(E, C, j, G, z, V, te, H) {
|
|
163
|
-
return j = V.ref, E = {
|
|
164
|
-
$$typeof: p,
|
|
165
|
-
type: E,
|
|
166
|
-
key: C,
|
|
167
|
-
props: V,
|
|
168
|
-
_owner: z
|
|
169
|
-
}, (j !== void 0 ? j : null) !== null ? Object.defineProperty(E, "ref", {
|
|
170
|
-
enumerable: !1,
|
|
171
|
-
get: c
|
|
172
|
-
}) : Object.defineProperty(E, "ref", { enumerable: !1, value: null }), E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
173
|
-
configurable: !1,
|
|
174
|
-
enumerable: !1,
|
|
175
|
-
writable: !0,
|
|
176
|
-
value: 0
|
|
177
|
-
}), Object.defineProperty(E, "_debugInfo", {
|
|
178
|
-
configurable: !1,
|
|
179
|
-
enumerable: !1,
|
|
180
|
-
writable: !0,
|
|
181
|
-
value: null
|
|
182
|
-
}), Object.defineProperty(E, "_debugStack", {
|
|
183
|
-
configurable: !1,
|
|
184
|
-
enumerable: !1,
|
|
185
|
-
writable: !0,
|
|
186
|
-
value: te
|
|
187
|
-
}), Object.defineProperty(E, "_debugTask", {
|
|
188
|
-
configurable: !1,
|
|
189
|
-
enumerable: !1,
|
|
190
|
-
writable: !0,
|
|
191
|
-
value: H
|
|
192
|
-
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
193
|
-
}
|
|
194
|
-
function s(E, C, j, G, z, V, te, H) {
|
|
195
|
-
var $ = C.children;
|
|
196
|
-
if ($ !== void 0)
|
|
197
|
-
if (G)
|
|
198
|
-
if (B($)) {
|
|
199
|
-
for (G = 0; G < $.length; G++)
|
|
200
|
-
f($[G]);
|
|
201
|
-
Object.freeze && Object.freeze($);
|
|
202
|
-
} else
|
|
203
|
-
console.error(
|
|
204
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
205
|
-
);
|
|
206
|
-
else f($);
|
|
207
|
-
if (X.call(C, "key")) {
|
|
208
|
-
$ = t(E);
|
|
209
|
-
var L = Object.keys(C).filter(function(_) {
|
|
210
|
-
return _ !== "key";
|
|
211
|
-
});
|
|
212
|
-
G = 0 < L.length ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}", J[$ + G] || (L = 0 < L.length ? "{" + L.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
213
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
214
|
-
let props = %s;
|
|
215
|
-
<%s {...props} />
|
|
216
|
-
React keys must be passed directly to JSX without using spread:
|
|
217
|
-
let props = %s;
|
|
218
|
-
<%s key={someKey} {...props} />`,
|
|
219
|
-
G,
|
|
220
|
-
$,
|
|
221
|
-
L,
|
|
222
|
-
$
|
|
223
|
-
), J[$ + G] = !0);
|
|
224
|
-
}
|
|
225
|
-
if ($ = null, j !== void 0 && (o(j), $ = "" + j), i(C) && (o(C.key), $ = "" + C.key), "key" in C) {
|
|
226
|
-
j = {};
|
|
227
|
-
for (var re in C)
|
|
228
|
-
re !== "key" && (j[re] = C[re]);
|
|
229
|
-
} else j = C;
|
|
230
|
-
return $ && u(
|
|
231
|
-
j,
|
|
232
|
-
typeof E == "function" ? E.displayName || E.name || "Unknown" : E
|
|
233
|
-
), l(
|
|
234
|
-
E,
|
|
235
|
-
$,
|
|
236
|
-
V,
|
|
237
|
-
z,
|
|
238
|
-
a(),
|
|
239
|
-
j,
|
|
240
|
-
te,
|
|
241
|
-
H
|
|
242
|
-
);
|
|
243
|
-
}
|
|
244
|
-
function f(E) {
|
|
245
|
-
typeof E == "object" && E !== null && E.$$typeof === p && E._store && (E._store.validated = 1);
|
|
246
|
-
}
|
|
247
|
-
var h = ne, p = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), P = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), x = Symbol.for("react.activity"), O = Symbol.for("react.client.reference"), S = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, B = Array.isArray, F = console.createTask ? console.createTask : function() {
|
|
248
|
-
return null;
|
|
249
|
-
};
|
|
250
|
-
h = {
|
|
251
|
-
"react-stack-bottom-frame": function(E) {
|
|
252
|
-
return E();
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
var Y, K = {}, ee = h["react-stack-bottom-frame"].bind(
|
|
256
|
-
h,
|
|
257
|
-
n
|
|
258
|
-
)(), Q = F(r(n)), J = {};
|
|
259
|
-
le.Fragment = g, le.jsx = function(E, C, j, G, z) {
|
|
260
|
-
var V = 1e4 > S.recentlyCreatedOwnerStacks++;
|
|
261
|
-
return s(
|
|
262
|
-
E,
|
|
263
|
-
C,
|
|
264
|
-
j,
|
|
265
|
-
!1,
|
|
266
|
-
G,
|
|
267
|
-
z,
|
|
268
|
-
V ? Error("react-stack-top-frame") : ee,
|
|
269
|
-
V ? F(r(E)) : Q
|
|
270
|
-
);
|
|
271
|
-
}, le.jsxs = function(E, C, j, G, z) {
|
|
272
|
-
var V = 1e4 > S.recentlyCreatedOwnerStacks++;
|
|
273
|
-
return s(
|
|
274
|
-
E,
|
|
275
|
-
C,
|
|
276
|
-
j,
|
|
277
|
-
!0,
|
|
278
|
-
G,
|
|
279
|
-
z,
|
|
280
|
-
V ? Error("react-stack-top-frame") : ee,
|
|
281
|
-
V ? F(r(E)) : Q
|
|
282
|
-
);
|
|
283
|
-
};
|
|
284
|
-
}()), le;
|
|
285
|
-
}
|
|
286
|
-
var Jt;
|
|
287
|
-
function An() {
|
|
288
|
-
return Jt || (Jt = 1, process.env.NODE_ENV === "production" ? he.exports = ao() : he.exports = io()), he.exports;
|
|
289
|
-
}
|
|
290
|
-
var U = An();
|
|
291
|
-
const uo = ({
|
|
292
|
-
i: t,
|
|
293
|
-
size: e = "md",
|
|
294
|
-
style: o,
|
|
295
|
-
rotate: r,
|
|
296
|
-
className: a,
|
|
297
|
-
...n
|
|
298
|
-
}) => /* @__PURE__ */ U.jsx(
|
|
299
|
-
t,
|
|
300
|
-
{
|
|
301
|
-
...typeof e == "number" ? {
|
|
302
|
-
height: e,
|
|
303
|
-
width: e
|
|
304
|
-
} : co[e],
|
|
305
|
-
viewBox: "0 0 24 24",
|
|
306
|
-
style: {
|
|
307
|
-
...o,
|
|
308
|
-
transform: `rotate(${r}deg)`
|
|
309
|
-
},
|
|
310
|
-
className: Tn("shrink-0", a),
|
|
311
|
-
...n
|
|
312
|
-
}
|
|
313
|
-
), co = {
|
|
314
|
-
xs: {
|
|
315
|
-
height: 16,
|
|
316
|
-
width: 16
|
|
317
|
-
},
|
|
318
|
-
sm: {
|
|
319
|
-
height: 20,
|
|
320
|
-
width: 20
|
|
321
|
-
},
|
|
322
|
-
md: {
|
|
323
|
-
height: 24,
|
|
324
|
-
width: 24
|
|
325
|
-
},
|
|
326
|
-
lg: {
|
|
327
|
-
height: 28,
|
|
328
|
-
width: 28
|
|
329
|
-
},
|
|
330
|
-
xl: {
|
|
331
|
-
height: 32,
|
|
332
|
-
width: 32
|
|
333
|
-
},
|
|
334
|
-
"2xl": {
|
|
335
|
-
height: 40,
|
|
336
|
-
width: 40
|
|
337
|
-
}
|
|
338
|
-
}, so = {
|
|
339
|
-
sm: 48,
|
|
340
|
-
md: 60,
|
|
341
|
-
lg: 84
|
|
342
|
-
}, Sa = ({
|
|
343
|
-
label: t,
|
|
344
|
-
action: e,
|
|
345
|
-
icon: o,
|
|
346
|
-
className: r,
|
|
347
|
-
size: a = "md",
|
|
348
|
-
...n
|
|
349
|
-
}) => /* @__PURE__ */ U.jsxs(
|
|
350
|
-
"div",
|
|
351
|
-
{
|
|
352
|
-
className: Tn("justfiy-center flex flex-col items-center gap-1", r),
|
|
353
|
-
...n,
|
|
354
|
-
children: [
|
|
355
|
-
/* @__PURE__ */ U.jsx(
|
|
356
|
-
uo,
|
|
357
|
-
{
|
|
358
|
-
i: o,
|
|
359
|
-
size: so[a],
|
|
360
|
-
className: "text-gray-2"
|
|
361
|
-
}
|
|
362
|
-
),
|
|
363
|
-
/* @__PURE__ */ U.jsx("p", { className: "text-gray-6 text-sm font-semibold", children: t }),
|
|
364
|
-
/* @__PURE__ */ U.jsx("div", { children: e })
|
|
365
|
-
]
|
|
366
|
-
}
|
|
367
|
-
), lo = ({ infinity: t, loaderProps: e, ...o }) => /* @__PURE__ */ U.jsx($n, { ...o, children: t.isFetching ? /* @__PURE__ */ U.jsx(Hn, { ...e }) : !t.hasNextPage && (t.data?.pages.length ?? 0) > 1 && /* @__PURE__ */ U.jsx("p", { children: "No hay más resultados" }) }), fo = (t, e, o) => {
|
|
368
|
-
if (t < 0 || t > 1)
|
|
369
|
-
throw new Error("El porcentaje debe estar entre 0 y 1");
|
|
370
|
-
He(() => {
|
|
371
|
-
let r = !1;
|
|
372
|
-
const a = () => {
|
|
373
|
-
const i = o?.current, u = i ?? document.documentElement, c = u.scrollHeight - u.clientHeight, l = i ? u.scrollTop : window.scrollY, s = c > 0 ? Math.min(1, l / c) : 0;
|
|
374
|
-
!r && s >= t && (e(), r = !0);
|
|
375
|
-
}, n = o?.current ?? window;
|
|
376
|
-
return n.addEventListener("scroll", a), a(), () => {
|
|
377
|
-
n.removeEventListener("scroll", a);
|
|
378
|
-
};
|
|
379
|
-
}, [t, e, o]);
|
|
380
|
-
}, _o = (t, e) => {
|
|
381
|
-
fo(
|
|
382
|
-
0.9,
|
|
383
|
-
() => {
|
|
384
|
-
t.hasNextPage && t.fetchNextPage();
|
|
385
|
-
},
|
|
386
|
-
e
|
|
387
|
-
), He(() => {
|
|
388
|
-
const r = e?.current ?? document.documentElement;
|
|
389
|
-
!(r.scrollHeight > r.clientHeight) && t.hasNextPage && t.fetchNextPage();
|
|
390
|
-
}, [t.data, e]);
|
|
391
|
-
};
|
|
392
|
-
function Ca({
|
|
393
|
-
value: t,
|
|
394
|
-
onChange: e,
|
|
395
|
-
data: o = [],
|
|
396
|
-
searchValue: r,
|
|
397
|
-
onSearchChange: a,
|
|
398
|
-
renderOption: n,
|
|
399
|
-
onOptionSubmit: i,
|
|
400
|
-
nothingFoundMessage: u,
|
|
401
|
-
infinity: c,
|
|
402
|
-
placeholder: l,
|
|
403
|
-
...s
|
|
404
|
-
}) {
|
|
405
|
-
const f = Vn({
|
|
406
|
-
onDropdownClose: () => {
|
|
407
|
-
f.resetSelectedOption(), f.focusTarget(), a?.("");
|
|
408
|
-
},
|
|
409
|
-
onDropdownOpen: () => {
|
|
410
|
-
f.focusSearchInput();
|
|
411
|
-
}
|
|
412
|
-
}), h = o.map((g) => /* @__PURE__ */ U.jsx(
|
|
413
|
-
ue.Option,
|
|
414
|
-
{
|
|
415
|
-
value: g.value,
|
|
416
|
-
children: n ? n({ option: g }) : g.label
|
|
417
|
-
},
|
|
418
|
-
g.value
|
|
419
|
-
)), p = o.find((g) => g.value === t), v = Wn(null);
|
|
420
|
-
return _o(c, v), /* @__PURE__ */ U.jsxs(
|
|
421
|
-
ue,
|
|
422
|
-
{
|
|
423
|
-
store: f,
|
|
424
|
-
middlewares: {
|
|
425
|
-
shift: {
|
|
426
|
-
crossAxis: !0
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
onOptionSubmit: (g) => {
|
|
430
|
-
e?.(g), i?.(g), f.closeDropdown();
|
|
431
|
-
},
|
|
432
|
-
children: [
|
|
433
|
-
/* @__PURE__ */ U.jsx(ue.Target, { children: /* @__PURE__ */ U.jsx(
|
|
434
|
-
Yn,
|
|
435
|
-
{
|
|
436
|
-
component: "button",
|
|
437
|
-
type: "button",
|
|
438
|
-
pointer: !0,
|
|
439
|
-
rightSection: /* @__PURE__ */ U.jsx(ue.Chevron, {}),
|
|
440
|
-
onClick: () => f.toggleDropdown(),
|
|
441
|
-
rightSectionPointerEvents: "none",
|
|
442
|
-
...s,
|
|
443
|
-
children: p?.label || /* @__PURE__ */ U.jsx(zn.Placeholder, { children: l })
|
|
444
|
-
}
|
|
445
|
-
) }),
|
|
446
|
-
/* @__PURE__ */ U.jsxs(ue.Dropdown, { children: [
|
|
447
|
-
/* @__PURE__ */ U.jsx(
|
|
448
|
-
ue.Search,
|
|
449
|
-
{
|
|
450
|
-
value: r,
|
|
451
|
-
onChange: (g) => a?.(g.currentTarget.value),
|
|
452
|
-
placeholder: "Escribe para buscar"
|
|
453
|
-
}
|
|
454
|
-
),
|
|
455
|
-
/* @__PURE__ */ U.jsx(ue.Options, { children: /* @__PURE__ */ U.jsxs(
|
|
456
|
-
Kn.Autosize,
|
|
457
|
-
{
|
|
458
|
-
mah: 200,
|
|
459
|
-
type: "scroll",
|
|
460
|
-
viewportRef: v,
|
|
461
|
-
children: [
|
|
462
|
-
h.length > 0 ? h : c.isFetching ? null : /* @__PURE__ */ U.jsx(
|
|
463
|
-
ue.Empty,
|
|
464
|
-
{
|
|
465
|
-
onClick: () => f.closeDropdown(),
|
|
466
|
-
className: "min-h-6",
|
|
467
|
-
children: u ?? "Sin resultados"
|
|
468
|
-
}
|
|
469
|
-
),
|
|
470
|
-
/* @__PURE__ */ U.jsx(
|
|
471
|
-
lo,
|
|
472
|
-
{
|
|
473
|
-
className: "text-sm",
|
|
474
|
-
infinity: c,
|
|
475
|
-
loaderProps: {
|
|
476
|
-
size: "sm",
|
|
477
|
-
className: "mt-1 mb-2"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
)
|
|
481
|
-
]
|
|
482
|
-
}
|
|
483
|
-
) })
|
|
484
|
-
] })
|
|
485
|
-
]
|
|
486
|
-
}
|
|
487
|
-
);
|
|
488
|
-
}
|
|
489
|
-
var Re = { exports: {} }, Qe = {}, Zt;
|
|
490
|
-
function Gt() {
|
|
491
|
-
if (Zt) return Qe;
|
|
492
|
-
Zt = 1;
|
|
493
|
-
function t(o) {
|
|
494
|
-
if (typeof WeakMap != "function") return null;
|
|
495
|
-
var r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
|
|
496
|
-
return (t = function(n) {
|
|
497
|
-
return n ? a : r;
|
|
498
|
-
})(o);
|
|
499
|
-
}
|
|
500
|
-
function e(o, r) {
|
|
501
|
-
if (!r && o && o.__esModule) return o;
|
|
502
|
-
if (o === null || typeof o != "object" && typeof o != "function") return { default: o };
|
|
503
|
-
var a = t(r);
|
|
504
|
-
if (a && a.has(o)) return a.get(o);
|
|
505
|
-
var n = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
506
|
-
for (var u in o)
|
|
507
|
-
if (u !== "default" && Object.prototype.hasOwnProperty.call(o, u)) {
|
|
508
|
-
var c = i ? Object.getOwnPropertyDescriptor(o, u) : null;
|
|
509
|
-
c && (c.get || c.set) ? Object.defineProperty(n, u, c) : n[u] = o[u];
|
|
510
|
-
}
|
|
511
|
-
return n.default = o, a && a.set(o, n), n;
|
|
512
|
-
}
|
|
513
|
-
return Qe._ = e, Qe;
|
|
514
|
-
}
|
|
515
|
-
var pe = { exports: {} }, Je = {}, er;
|
|
516
|
-
function Nn() {
|
|
517
|
-
return er || (er = 1, function(t) {
|
|
518
|
-
Object.defineProperty(t, "__esModule", {
|
|
519
|
-
value: !0
|
|
520
|
-
});
|
|
521
|
-
function e(i, u) {
|
|
522
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
523
|
-
enumerable: !0,
|
|
524
|
-
get: u[c]
|
|
525
|
-
});
|
|
526
|
-
}
|
|
527
|
-
e(t, {
|
|
528
|
-
assign: function() {
|
|
529
|
-
return n;
|
|
530
|
-
},
|
|
531
|
-
searchParamsToUrlQuery: function() {
|
|
532
|
-
return o;
|
|
533
|
-
},
|
|
534
|
-
urlQueryToSearchParams: function() {
|
|
535
|
-
return a;
|
|
536
|
-
}
|
|
537
|
-
});
|
|
538
|
-
function o(i) {
|
|
539
|
-
const u = {};
|
|
540
|
-
for (const [c, l] of i.entries()) {
|
|
541
|
-
const s = u[c];
|
|
542
|
-
typeof s > "u" ? u[c] = l : Array.isArray(s) ? s.push(l) : u[c] = [
|
|
543
|
-
s,
|
|
544
|
-
l
|
|
545
|
-
];
|
|
546
|
-
}
|
|
547
|
-
return u;
|
|
548
|
-
}
|
|
549
|
-
function r(i) {
|
|
550
|
-
return typeof i == "string" ? i : typeof i == "number" && !isNaN(i) || typeof i == "boolean" ? String(i) : "";
|
|
551
|
-
}
|
|
552
|
-
function a(i) {
|
|
553
|
-
const u = new URLSearchParams();
|
|
554
|
-
for (const [c, l] of Object.entries(i))
|
|
555
|
-
if (Array.isArray(l))
|
|
556
|
-
for (const s of l)
|
|
557
|
-
u.append(c, r(s));
|
|
558
|
-
else
|
|
559
|
-
u.set(c, r(l));
|
|
560
|
-
return u;
|
|
561
|
-
}
|
|
562
|
-
function n(i) {
|
|
563
|
-
for (var u = arguments.length, c = new Array(u > 1 ? u - 1 : 0), l = 1; l < u; l++)
|
|
564
|
-
c[l - 1] = arguments[l];
|
|
565
|
-
for (const s of c) {
|
|
566
|
-
for (const f of s.keys())
|
|
567
|
-
i.delete(f);
|
|
568
|
-
for (const [f, h] of s.entries())
|
|
569
|
-
i.append(f, h);
|
|
570
|
-
}
|
|
571
|
-
return i;
|
|
572
|
-
}
|
|
573
|
-
}(Je)), Je;
|
|
574
|
-
}
|
|
575
|
-
var Ze = {}, tr;
|
|
576
|
-
function Sn() {
|
|
577
|
-
return tr || (tr = 1, function(t) {
|
|
578
|
-
Object.defineProperty(t, "__esModule", {
|
|
579
|
-
value: !0
|
|
580
|
-
});
|
|
581
|
-
function e(c, l) {
|
|
582
|
-
for (var s in l) Object.defineProperty(c, s, {
|
|
583
|
-
enumerable: !0,
|
|
584
|
-
get: l[s]
|
|
585
|
-
});
|
|
586
|
-
}
|
|
587
|
-
e(t, {
|
|
588
|
-
formatUrl: function() {
|
|
589
|
-
return n;
|
|
590
|
-
},
|
|
591
|
-
formatWithValidation: function() {
|
|
592
|
-
return u;
|
|
593
|
-
},
|
|
594
|
-
urlObjectKeys: function() {
|
|
595
|
-
return i;
|
|
596
|
-
}
|
|
597
|
-
});
|
|
598
|
-
const r = /* @__PURE__ */ (/* @__PURE__ */ Gt())._(Nn()), a = /https?|ftp|gopher|file/;
|
|
599
|
-
function n(c) {
|
|
600
|
-
let { auth: l, hostname: s } = c, f = c.protocol || "", h = c.pathname || "", p = c.hash || "", v = c.query || "", g = !1;
|
|
601
|
-
l = l ? encodeURIComponent(l).replace(/%3A/i, ":") + "@" : "", c.host ? g = l + c.host : s && (g = l + (~s.indexOf(":") ? "[" + s + "]" : s), c.port && (g += ":" + c.port)), v && typeof v == "object" && (v = String(r.urlQueryToSearchParams(v)));
|
|
602
|
-
let m = c.search || v && "?" + v || "";
|
|
603
|
-
return f && !f.endsWith(":") && (f += ":"), c.slashes || (!f || a.test(f)) && g !== !1 ? (g = "//" + (g || ""), h && h[0] !== "/" && (h = "/" + h)) : g || (g = ""), p && p[0] !== "#" && (p = "#" + p), m && m[0] !== "?" && (m = "?" + m), h = h.replace(/[?#]/g, encodeURIComponent), m = m.replace("#", "%23"), "" + f + g + h + m + p;
|
|
604
|
-
}
|
|
605
|
-
const i = [
|
|
606
|
-
"auth",
|
|
607
|
-
"hash",
|
|
608
|
-
"host",
|
|
609
|
-
"hostname",
|
|
610
|
-
"href",
|
|
611
|
-
"path",
|
|
612
|
-
"pathname",
|
|
613
|
-
"port",
|
|
614
|
-
"protocol",
|
|
615
|
-
"query",
|
|
616
|
-
"search",
|
|
617
|
-
"slashes"
|
|
618
|
-
];
|
|
619
|
-
function u(c) {
|
|
620
|
-
return process.env.NODE_ENV === "development" && c !== null && typeof c == "object" && Object.keys(c).forEach((l) => {
|
|
621
|
-
i.includes(l) || console.warn("Unknown key passed via urlObject into url.format: " + l);
|
|
622
|
-
}), n(c);
|
|
623
|
-
}
|
|
624
|
-
}(Ze)), Ze;
|
|
625
|
-
}
|
|
626
|
-
var et = {}, rr;
|
|
627
|
-
function Eo() {
|
|
628
|
-
return rr || (rr = 1, function(t) {
|
|
629
|
-
Object.defineProperty(t, "__esModule", {
|
|
630
|
-
value: !0
|
|
631
|
-
}), Object.defineProperty(t, "omit", {
|
|
632
|
-
enumerable: !0,
|
|
633
|
-
get: function() {
|
|
634
|
-
return e;
|
|
635
|
-
}
|
|
636
|
-
});
|
|
637
|
-
function e(o, r) {
|
|
638
|
-
const a = {};
|
|
639
|
-
return Object.keys(o).forEach((n) => {
|
|
640
|
-
r.includes(n) || (a[n] = o[n]);
|
|
641
|
-
}), a;
|
|
642
|
-
}
|
|
643
|
-
}(et)), et;
|
|
644
|
-
}
|
|
645
|
-
var tt = {}, nr;
|
|
646
|
-
function Ve() {
|
|
647
|
-
return nr || (nr = 1, function(t) {
|
|
648
|
-
Object.defineProperty(t, "__esModule", {
|
|
649
|
-
value: !0
|
|
650
|
-
});
|
|
651
|
-
function e(R, y) {
|
|
652
|
-
for (var N in y) Object.defineProperty(R, N, {
|
|
653
|
-
enumerable: !0,
|
|
654
|
-
get: y[N]
|
|
655
|
-
});
|
|
656
|
-
}
|
|
657
|
-
e(t, {
|
|
658
|
-
DecodeError: function() {
|
|
659
|
-
return v;
|
|
660
|
-
},
|
|
661
|
-
MiddlewareNotFoundError: function() {
|
|
662
|
-
return b;
|
|
663
|
-
},
|
|
664
|
-
MissingStaticPage: function() {
|
|
665
|
-
return A;
|
|
666
|
-
},
|
|
667
|
-
NormalizeError: function() {
|
|
668
|
-
return g;
|
|
669
|
-
},
|
|
670
|
-
PageNotFoundError: function() {
|
|
671
|
-
return m;
|
|
672
|
-
},
|
|
673
|
-
SP: function() {
|
|
674
|
-
return h;
|
|
675
|
-
},
|
|
676
|
-
ST: function() {
|
|
677
|
-
return p;
|
|
678
|
-
},
|
|
679
|
-
WEB_VITALS: function() {
|
|
680
|
-
return o;
|
|
681
|
-
},
|
|
682
|
-
execOnce: function() {
|
|
683
|
-
return r;
|
|
684
|
-
},
|
|
685
|
-
getDisplayName: function() {
|
|
686
|
-
return c;
|
|
687
|
-
},
|
|
688
|
-
getLocationOrigin: function() {
|
|
689
|
-
return i;
|
|
690
|
-
},
|
|
691
|
-
getURL: function() {
|
|
692
|
-
return u;
|
|
693
|
-
},
|
|
694
|
-
isAbsoluteUrl: function() {
|
|
695
|
-
return n;
|
|
696
|
-
},
|
|
697
|
-
isResSent: function() {
|
|
698
|
-
return l;
|
|
699
|
-
},
|
|
700
|
-
loadGetInitialProps: function() {
|
|
701
|
-
return f;
|
|
702
|
-
},
|
|
703
|
-
normalizeRepeatedSlashes: function() {
|
|
704
|
-
return s;
|
|
705
|
-
},
|
|
706
|
-
stringifyError: function() {
|
|
707
|
-
return P;
|
|
708
|
-
}
|
|
709
|
-
});
|
|
710
|
-
const o = [
|
|
711
|
-
"CLS",
|
|
712
|
-
"FCP",
|
|
713
|
-
"FID",
|
|
714
|
-
"INP",
|
|
715
|
-
"LCP",
|
|
716
|
-
"TTFB"
|
|
717
|
-
];
|
|
718
|
-
function r(R) {
|
|
719
|
-
let y = !1, N;
|
|
720
|
-
return function() {
|
|
721
|
-
for (var M = arguments.length, D = new Array(M), x = 0; x < M; x++)
|
|
722
|
-
D[x] = arguments[x];
|
|
723
|
-
return y || (y = !0, N = R(...D)), N;
|
|
724
|
-
};
|
|
725
|
-
}
|
|
726
|
-
const a = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, n = (R) => a.test(R);
|
|
727
|
-
function i() {
|
|
728
|
-
const { protocol: R, hostname: y, port: N } = window.location;
|
|
729
|
-
return R + "//" + y + (N ? ":" + N : "");
|
|
730
|
-
}
|
|
731
|
-
function u() {
|
|
732
|
-
const { href: R } = window.location, y = i();
|
|
733
|
-
return R.substring(y.length);
|
|
734
|
-
}
|
|
735
|
-
function c(R) {
|
|
736
|
-
return typeof R == "string" ? R : R.displayName || R.name || "Unknown";
|
|
737
|
-
}
|
|
738
|
-
function l(R) {
|
|
739
|
-
return R.finished || R.headersSent;
|
|
740
|
-
}
|
|
741
|
-
function s(R) {
|
|
742
|
-
const y = R.split("?");
|
|
743
|
-
return y[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (y[1] ? "?" + y.slice(1).join("?") : "");
|
|
744
|
-
}
|
|
745
|
-
async function f(R, y) {
|
|
746
|
-
if (process.env.NODE_ENV !== "production") {
|
|
747
|
-
var N;
|
|
748
|
-
if ((N = R.prototype) != null && N.getInitialProps) {
|
|
749
|
-
const x = '"' + c(R) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
|
|
750
|
-
throw Object.defineProperty(new Error(x), "__NEXT_ERROR_CODE", {
|
|
751
|
-
value: "E394",
|
|
752
|
-
enumerable: !1,
|
|
753
|
-
configurable: !0
|
|
754
|
-
});
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
const M = y.res || y.ctx && y.ctx.res;
|
|
758
|
-
if (!R.getInitialProps)
|
|
759
|
-
return y.ctx && y.Component ? {
|
|
760
|
-
pageProps: await f(y.Component, y.ctx)
|
|
761
|
-
} : {};
|
|
762
|
-
const D = await R.getInitialProps(y);
|
|
763
|
-
if (M && l(M))
|
|
764
|
-
return D;
|
|
765
|
-
if (!D) {
|
|
766
|
-
const x = '"' + c(R) + '.getInitialProps()" should resolve to an object. But found "' + D + '" instead.';
|
|
767
|
-
throw Object.defineProperty(new Error(x), "__NEXT_ERROR_CODE", {
|
|
768
|
-
value: "E394",
|
|
769
|
-
enumerable: !1,
|
|
770
|
-
configurable: !0
|
|
771
|
-
});
|
|
772
|
-
}
|
|
773
|
-
return process.env.NODE_ENV !== "production" && Object.keys(D).length === 0 && !y.ctx && console.warn("" + c(R) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), D;
|
|
774
|
-
}
|
|
775
|
-
const h = typeof performance < "u", p = h && [
|
|
776
|
-
"mark",
|
|
777
|
-
"measure",
|
|
778
|
-
"getEntriesByName"
|
|
779
|
-
].every((R) => typeof performance[R] == "function");
|
|
780
|
-
class v extends Error {
|
|
781
|
-
}
|
|
782
|
-
class g extends Error {
|
|
783
|
-
}
|
|
784
|
-
class m extends Error {
|
|
785
|
-
constructor(y) {
|
|
786
|
-
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + y;
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
class A extends Error {
|
|
790
|
-
constructor(y, N) {
|
|
791
|
-
super(), this.message = "Failed to load static file for page: " + y + " " + N;
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
class b extends Error {
|
|
795
|
-
constructor() {
|
|
796
|
-
super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
function P(R) {
|
|
800
|
-
return JSON.stringify({
|
|
801
|
-
message: R.message,
|
|
802
|
-
stack: R.stack
|
|
803
|
-
});
|
|
804
|
-
}
|
|
805
|
-
}(tt)), tt;
|
|
806
|
-
}
|
|
807
|
-
var ge = { exports: {} }, rt = {}, or;
|
|
808
|
-
function Cn() {
|
|
809
|
-
return or || (or = 1, function(t) {
|
|
810
|
-
Object.defineProperty(t, "__esModule", {
|
|
811
|
-
value: !0
|
|
812
|
-
}), Object.defineProperty(t, "removeTrailingSlash", {
|
|
813
|
-
enumerable: !0,
|
|
814
|
-
get: function() {
|
|
815
|
-
return e;
|
|
816
|
-
}
|
|
817
|
-
});
|
|
818
|
-
function e(o) {
|
|
819
|
-
return o.replace(/\/$/, "") || "/";
|
|
820
|
-
}
|
|
821
|
-
}(rt)), rt;
|
|
822
|
-
}
|
|
823
|
-
var nt = {}, ar;
|
|
824
|
-
function Wt() {
|
|
825
|
-
return ar || (ar = 1, function(t) {
|
|
826
|
-
Object.defineProperty(t, "__esModule", {
|
|
827
|
-
value: !0
|
|
828
|
-
}), Object.defineProperty(t, "parsePath", {
|
|
829
|
-
enumerable: !0,
|
|
830
|
-
get: function() {
|
|
831
|
-
return e;
|
|
832
|
-
}
|
|
833
|
-
});
|
|
834
|
-
function e(o) {
|
|
835
|
-
const r = o.indexOf("#"), a = o.indexOf("?"), n = a > -1 && (r < 0 || a < r);
|
|
836
|
-
return n || r > -1 ? {
|
|
837
|
-
pathname: o.substring(0, n ? a : r),
|
|
838
|
-
query: n ? o.substring(a, r > -1 ? r : void 0) : "",
|
|
839
|
-
hash: r > -1 ? o.slice(r) : ""
|
|
840
|
-
} : {
|
|
841
|
-
pathname: o,
|
|
842
|
-
query: "",
|
|
843
|
-
hash: ""
|
|
844
|
-
};
|
|
845
|
-
}
|
|
846
|
-
}(nt)), nt;
|
|
847
|
-
}
|
|
848
|
-
var ir;
|
|
849
|
-
function Ye() {
|
|
850
|
-
return ir || (ir = 1, function(t, e) {
|
|
851
|
-
Object.defineProperty(e, "__esModule", {
|
|
852
|
-
value: !0
|
|
853
|
-
}), Object.defineProperty(e, "normalizePathTrailingSlash", {
|
|
854
|
-
enumerable: !0,
|
|
855
|
-
get: function() {
|
|
856
|
-
return a;
|
|
857
|
-
}
|
|
858
|
-
});
|
|
859
|
-
const o = Cn(), r = Wt(), a = (n) => {
|
|
860
|
-
if (!n.startsWith("/") || process.env.__NEXT_MANUAL_TRAILING_SLASH)
|
|
861
|
-
return n;
|
|
862
|
-
const { pathname: i, query: u, hash: c } = (0, r.parsePath)(n);
|
|
863
|
-
return process.env.__NEXT_TRAILING_SLASH ? /\.[^/]+\/?$/.test(i) ? "" + (0, o.removeTrailingSlash)(i) + u + c : i.endsWith("/") ? "" + i + u + c : i + "/" + u + c : "" + (0, o.removeTrailingSlash)(i) + u + c;
|
|
864
|
-
};
|
|
865
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
866
|
-
}(ge, ge.exports)), ge.exports;
|
|
867
|
-
}
|
|
868
|
-
var ot = {}, me = { exports: {} }, at = {}, ur;
|
|
869
|
-
function wn() {
|
|
870
|
-
return ur || (ur = 1, function(t) {
|
|
871
|
-
Object.defineProperty(t, "__esModule", {
|
|
872
|
-
value: !0
|
|
873
|
-
}), Object.defineProperty(t, "pathHasPrefix", {
|
|
874
|
-
enumerable: !0,
|
|
875
|
-
get: function() {
|
|
876
|
-
return o;
|
|
877
|
-
}
|
|
878
|
-
});
|
|
879
|
-
const e = Wt();
|
|
880
|
-
function o(r, a) {
|
|
881
|
-
if (typeof r != "string")
|
|
882
|
-
return !1;
|
|
883
|
-
const { pathname: n } = (0, e.parsePath)(r);
|
|
884
|
-
return n === a || n.startsWith(a + "/");
|
|
885
|
-
}
|
|
886
|
-
}(at)), at;
|
|
887
|
-
}
|
|
888
|
-
var cr;
|
|
889
|
-
function ho() {
|
|
890
|
-
return cr || (cr = 1, function(t, e) {
|
|
891
|
-
Object.defineProperty(e, "__esModule", {
|
|
892
|
-
value: !0
|
|
893
|
-
}), Object.defineProperty(e, "hasBasePath", {
|
|
894
|
-
enumerable: !0,
|
|
895
|
-
get: function() {
|
|
896
|
-
return a;
|
|
897
|
-
}
|
|
898
|
-
});
|
|
899
|
-
const o = wn(), r = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
900
|
-
function a(n) {
|
|
901
|
-
return (0, o.pathHasPrefix)(n, r);
|
|
902
|
-
}
|
|
903
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
904
|
-
}(me, me.exports)), me.exports;
|
|
905
|
-
}
|
|
906
|
-
var sr;
|
|
907
|
-
function Dn() {
|
|
908
|
-
return sr || (sr = 1, function(t) {
|
|
909
|
-
Object.defineProperty(t, "__esModule", {
|
|
910
|
-
value: !0
|
|
911
|
-
}), Object.defineProperty(t, "isLocalURL", {
|
|
912
|
-
enumerable: !0,
|
|
913
|
-
get: function() {
|
|
914
|
-
return r;
|
|
915
|
-
}
|
|
916
|
-
});
|
|
917
|
-
const e = Ve(), o = ho();
|
|
918
|
-
function r(a) {
|
|
919
|
-
if (!(0, e.isAbsoluteUrl)(a)) return !0;
|
|
920
|
-
try {
|
|
921
|
-
const n = (0, e.getLocationOrigin)(), i = new URL(a, n);
|
|
922
|
-
return i.origin === n && (0, o.hasBasePath)(i.pathname);
|
|
923
|
-
} catch {
|
|
924
|
-
return !1;
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
}(ot)), ot;
|
|
928
|
-
}
|
|
929
|
-
var it = {}, ut = {}, lr;
|
|
930
|
-
function Ro() {
|
|
931
|
-
return lr || (lr = 1, function(t) {
|
|
932
|
-
Object.defineProperty(t, "__esModule", {
|
|
933
|
-
value: !0
|
|
934
|
-
});
|
|
935
|
-
function e(n, i) {
|
|
936
|
-
for (var u in i) Object.defineProperty(n, u, {
|
|
937
|
-
enumerable: !0,
|
|
938
|
-
get: i[u]
|
|
939
|
-
});
|
|
940
|
-
}
|
|
941
|
-
e(t, {
|
|
942
|
-
getSortedRouteObjects: function() {
|
|
943
|
-
return a;
|
|
944
|
-
},
|
|
945
|
-
getSortedRoutes: function() {
|
|
946
|
-
return r;
|
|
947
|
-
}
|
|
948
|
-
});
|
|
949
|
-
class o {
|
|
950
|
-
insert(i) {
|
|
951
|
-
this._insert(i.split("/").filter(Boolean), [], !1);
|
|
952
|
-
}
|
|
953
|
-
smoosh() {
|
|
954
|
-
return this._smoosh();
|
|
955
|
-
}
|
|
956
|
-
_smoosh(i) {
|
|
957
|
-
i === void 0 && (i = "/");
|
|
958
|
-
const u = [
|
|
959
|
-
...this.children.keys()
|
|
960
|
-
].sort();
|
|
961
|
-
this.slugName !== null && u.splice(u.indexOf("[]"), 1), this.restSlugName !== null && u.splice(u.indexOf("[...]"), 1), this.optionalRestSlugName !== null && u.splice(u.indexOf("[[...]]"), 1);
|
|
962
|
-
const c = u.map((l) => this.children.get(l)._smoosh("" + i + l + "/")).reduce((l, s) => [
|
|
963
|
-
...l,
|
|
964
|
-
...s
|
|
965
|
-
], []);
|
|
966
|
-
if (this.slugName !== null && c.push(...this.children.get("[]")._smoosh(i + "[" + this.slugName + "]/")), !this.placeholder) {
|
|
967
|
-
const l = i === "/" ? "/" : i.slice(0, -1);
|
|
968
|
-
if (this.optionalRestSlugName != null)
|
|
969
|
-
throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("' + l + '" and "' + l + "[[..." + this.optionalRestSlugName + ']]").'), "__NEXT_ERROR_CODE", {
|
|
970
|
-
value: "E458",
|
|
971
|
-
enumerable: !1,
|
|
972
|
-
configurable: !0
|
|
973
|
-
});
|
|
974
|
-
c.unshift(l);
|
|
975
|
-
}
|
|
976
|
-
return this.restSlugName !== null && c.push(...this.children.get("[...]")._smoosh(i + "[..." + this.restSlugName + "]/")), this.optionalRestSlugName !== null && c.push(...this.children.get("[[...]]")._smoosh(i + "[[..." + this.optionalRestSlugName + "]]/")), c;
|
|
977
|
-
}
|
|
978
|
-
_insert(i, u, c) {
|
|
979
|
-
if (i.length === 0) {
|
|
980
|
-
this.placeholder = !1;
|
|
981
|
-
return;
|
|
982
|
-
}
|
|
983
|
-
if (c)
|
|
984
|
-
throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."), "__NEXT_ERROR_CODE", {
|
|
985
|
-
value: "E392",
|
|
986
|
-
enumerable: !1,
|
|
987
|
-
configurable: !0
|
|
988
|
-
});
|
|
989
|
-
let l = i[0];
|
|
990
|
-
if (l.startsWith("[") && l.endsWith("]")) {
|
|
991
|
-
let h = function(p, v) {
|
|
992
|
-
if (p !== null && p !== v)
|
|
993
|
-
throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('" + p + "' !== '" + v + "')."), "__NEXT_ERROR_CODE", {
|
|
994
|
-
value: "E337",
|
|
995
|
-
enumerable: !1,
|
|
996
|
-
configurable: !0
|
|
997
|
-
});
|
|
998
|
-
u.forEach((g) => {
|
|
999
|
-
if (g === v)
|
|
1000
|
-
throw Object.defineProperty(new Error('You cannot have the same slug name "' + v + '" repeat within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
1001
|
-
value: "E247",
|
|
1002
|
-
enumerable: !1,
|
|
1003
|
-
configurable: !0
|
|
1004
|
-
});
|
|
1005
|
-
if (g.replace(/\W/g, "") === l.replace(/\W/g, ""))
|
|
1006
|
-
throw Object.defineProperty(new Error('You cannot have the slug names "' + g + '" and "' + v + '" differ only by non-word symbols within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
1007
|
-
value: "E499",
|
|
1008
|
-
enumerable: !1,
|
|
1009
|
-
configurable: !0
|
|
1010
|
-
});
|
|
1011
|
-
}), u.push(v);
|
|
1012
|
-
}, s = l.slice(1, -1), f = !1;
|
|
1013
|
-
if (s.startsWith("[") && s.endsWith("]") && (s = s.slice(1, -1), f = !0), s.startsWith("…"))
|
|
1014
|
-
throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('" + s + "'). Did you mean ('...')?"), "__NEXT_ERROR_CODE", {
|
|
1015
|
-
value: "E147",
|
|
1016
|
-
enumerable: !1,
|
|
1017
|
-
configurable: !0
|
|
1018
|
-
});
|
|
1019
|
-
if (s.startsWith("...") && (s = s.substring(3), c = !0), s.startsWith("[") || s.endsWith("]"))
|
|
1020
|
-
throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('" + s + "')."), "__NEXT_ERROR_CODE", {
|
|
1021
|
-
value: "E421",
|
|
1022
|
-
enumerable: !1,
|
|
1023
|
-
configurable: !0
|
|
1024
|
-
});
|
|
1025
|
-
if (s.startsWith("."))
|
|
1026
|
-
throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('" + s + "')."), "__NEXT_ERROR_CODE", {
|
|
1027
|
-
value: "E288",
|
|
1028
|
-
enumerable: !1,
|
|
1029
|
-
configurable: !0
|
|
1030
|
-
});
|
|
1031
|
-
if (c)
|
|
1032
|
-
if (f) {
|
|
1033
|
-
if (this.restSlugName != null)
|
|
1034
|
-
throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...' + this.restSlugName + ']" and "' + i[0] + '" ).'), "__NEXT_ERROR_CODE", {
|
|
1035
|
-
value: "E299",
|
|
1036
|
-
enumerable: !1,
|
|
1037
|
-
configurable: !0
|
|
1038
|
-
});
|
|
1039
|
-
h(this.optionalRestSlugName, s), this.optionalRestSlugName = s, l = "[[...]]";
|
|
1040
|
-
} else {
|
|
1041
|
-
if (this.optionalRestSlugName != null)
|
|
1042
|
-
throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...' + this.optionalRestSlugName + ']]" and "' + i[0] + '").'), "__NEXT_ERROR_CODE", {
|
|
1043
|
-
value: "E300",
|
|
1044
|
-
enumerable: !1,
|
|
1045
|
-
configurable: !0
|
|
1046
|
-
});
|
|
1047
|
-
h(this.restSlugName, s), this.restSlugName = s, l = "[...]";
|
|
1048
|
-
}
|
|
1049
|
-
else {
|
|
1050
|
-
if (f)
|
|
1051
|
-
throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("' + i[0] + '").'), "__NEXT_ERROR_CODE", {
|
|
1052
|
-
value: "E435",
|
|
1053
|
-
enumerable: !1,
|
|
1054
|
-
configurable: !0
|
|
1055
|
-
});
|
|
1056
|
-
h(this.slugName, s), this.slugName = s, l = "[]";
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
this.children.has(l) || this.children.set(l, new o()), this.children.get(l)._insert(i.slice(1), u, c);
|
|
1060
|
-
}
|
|
1061
|
-
constructor() {
|
|
1062
|
-
this.placeholder = !0, this.children = /* @__PURE__ */ new Map(), this.slugName = null, this.restSlugName = null, this.optionalRestSlugName = null;
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
function r(n) {
|
|
1066
|
-
const i = new o();
|
|
1067
|
-
return n.forEach((u) => i.insert(u)), i.smoosh();
|
|
1068
|
-
}
|
|
1069
|
-
function a(n, i) {
|
|
1070
|
-
const u = {}, c = [];
|
|
1071
|
-
for (let s = 0; s < n.length; s++) {
|
|
1072
|
-
const f = i(n[s]);
|
|
1073
|
-
u[f] = s, c[s] = f;
|
|
1074
|
-
}
|
|
1075
|
-
return r(c).map((s) => n[u[s]]);
|
|
1076
|
-
}
|
|
1077
|
-
}(ut)), ut;
|
|
1078
|
-
}
|
|
1079
|
-
var ct = {}, st = {}, lt = {}, ft = {}, fr;
|
|
1080
|
-
function po() {
|
|
1081
|
-
return fr || (fr = 1, function(t) {
|
|
1082
|
-
Object.defineProperty(t, "__esModule", {
|
|
1083
|
-
value: !0
|
|
1084
|
-
}), Object.defineProperty(t, "ensureLeadingSlash", {
|
|
1085
|
-
enumerable: !0,
|
|
1086
|
-
get: function() {
|
|
1087
|
-
return e;
|
|
1088
|
-
}
|
|
1089
|
-
});
|
|
1090
|
-
function e(o) {
|
|
1091
|
-
return o.startsWith("/") ? o : "/" + o;
|
|
1092
|
-
}
|
|
1093
|
-
}(ft)), ft;
|
|
1094
|
-
}
|
|
1095
|
-
var dt = {}, dr;
|
|
1096
|
-
function In() {
|
|
1097
|
-
return dr || (dr = 1, function(t) {
|
|
1098
|
-
Object.defineProperty(t, "__esModule", {
|
|
1099
|
-
value: !0
|
|
1100
|
-
});
|
|
1101
|
-
function e(u, c) {
|
|
1102
|
-
for (var l in c) Object.defineProperty(u, l, {
|
|
1103
|
-
enumerable: !0,
|
|
1104
|
-
get: c[l]
|
|
1105
|
-
});
|
|
1106
|
-
}
|
|
1107
|
-
e(t, {
|
|
1108
|
-
DEFAULT_SEGMENT_KEY: function() {
|
|
1109
|
-
return i;
|
|
1110
|
-
},
|
|
1111
|
-
PAGE_SEGMENT_KEY: function() {
|
|
1112
|
-
return n;
|
|
1113
|
-
},
|
|
1114
|
-
addSearchParamsIfPageSegment: function() {
|
|
1115
|
-
return a;
|
|
1116
|
-
},
|
|
1117
|
-
isGroupSegment: function() {
|
|
1118
|
-
return o;
|
|
1119
|
-
},
|
|
1120
|
-
isParallelRouteSegment: function() {
|
|
1121
|
-
return r;
|
|
1122
|
-
}
|
|
1123
|
-
});
|
|
1124
|
-
function o(u) {
|
|
1125
|
-
return u[0] === "(" && u.endsWith(")");
|
|
1126
|
-
}
|
|
1127
|
-
function r(u) {
|
|
1128
|
-
return u.startsWith("@") && u !== "@children";
|
|
1129
|
-
}
|
|
1130
|
-
function a(u, c) {
|
|
1131
|
-
if (u.includes(n)) {
|
|
1132
|
-
const s = JSON.stringify(c);
|
|
1133
|
-
return s !== "{}" ? n + "?" + s : n;
|
|
1134
|
-
}
|
|
1135
|
-
return u;
|
|
1136
|
-
}
|
|
1137
|
-
const n = "__PAGE__", i = "__DEFAULT__";
|
|
1138
|
-
}(dt)), dt;
|
|
1139
|
-
}
|
|
1140
|
-
var _r;
|
|
1141
|
-
function go() {
|
|
1142
|
-
return _r || (_r = 1, function(t) {
|
|
1143
|
-
Object.defineProperty(t, "__esModule", {
|
|
1144
|
-
value: !0
|
|
1145
|
-
});
|
|
1146
|
-
function e(i, u) {
|
|
1147
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
1148
|
-
enumerable: !0,
|
|
1149
|
-
get: u[c]
|
|
1150
|
-
});
|
|
1151
|
-
}
|
|
1152
|
-
e(t, {
|
|
1153
|
-
normalizeAppPath: function() {
|
|
1154
|
-
return a;
|
|
1155
|
-
},
|
|
1156
|
-
normalizeRscURL: function() {
|
|
1157
|
-
return n;
|
|
1158
|
-
}
|
|
1159
|
-
});
|
|
1160
|
-
const o = po(), r = In();
|
|
1161
|
-
function a(i) {
|
|
1162
|
-
return (0, o.ensureLeadingSlash)(i.split("/").reduce((u, c, l, s) => !c || (0, r.isGroupSegment)(c) || c[0] === "@" || (c === "page" || c === "route") && l === s.length - 1 ? u : u + "/" + c, ""));
|
|
1163
|
-
}
|
|
1164
|
-
function n(i) {
|
|
1165
|
-
return i.replace(
|
|
1166
|
-
/\.rsc($|\?)/,
|
|
1167
|
-
// $1 ensures `?` is preserved
|
|
1168
|
-
"$1"
|
|
1169
|
-
);
|
|
1170
|
-
}
|
|
1171
|
-
}(lt)), lt;
|
|
1172
|
-
}
|
|
1173
|
-
var Er;
|
|
1174
|
-
function jn() {
|
|
1175
|
-
return Er || (Er = 1, function(t) {
|
|
1176
|
-
Object.defineProperty(t, "__esModule", {
|
|
1177
|
-
value: !0
|
|
1178
|
-
});
|
|
1179
|
-
function e(i, u) {
|
|
1180
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
1181
|
-
enumerable: !0,
|
|
1182
|
-
get: u[c]
|
|
1183
|
-
});
|
|
1184
|
-
}
|
|
1185
|
-
e(t, {
|
|
1186
|
-
INTERCEPTION_ROUTE_MARKERS: function() {
|
|
1187
|
-
return r;
|
|
1188
|
-
},
|
|
1189
|
-
extractInterceptionRouteInformation: function() {
|
|
1190
|
-
return n;
|
|
1191
|
-
},
|
|
1192
|
-
isInterceptionRouteAppPath: function() {
|
|
1193
|
-
return a;
|
|
1194
|
-
}
|
|
1195
|
-
});
|
|
1196
|
-
const o = go(), r = [
|
|
1197
|
-
"(..)(..)",
|
|
1198
|
-
"(.)",
|
|
1199
|
-
"(..)",
|
|
1200
|
-
"(...)"
|
|
1201
|
-
];
|
|
1202
|
-
function a(i) {
|
|
1203
|
-
return i.split("/").find((u) => r.find((c) => u.startsWith(c))) !== void 0;
|
|
1204
|
-
}
|
|
1205
|
-
function n(i) {
|
|
1206
|
-
let u, c, l;
|
|
1207
|
-
for (const s of i.split("/"))
|
|
1208
|
-
if (c = r.find((f) => s.startsWith(f)), c) {
|
|
1209
|
-
[u, l] = i.split(c, 2);
|
|
1210
|
-
break;
|
|
1211
|
-
}
|
|
1212
|
-
if (!u || !c || !l)
|
|
1213
|
-
throw Object.defineProperty(new Error("Invalid interception route: " + i + ". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"), "__NEXT_ERROR_CODE", {
|
|
1214
|
-
value: "E269",
|
|
1215
|
-
enumerable: !1,
|
|
1216
|
-
configurable: !0
|
|
1217
|
-
});
|
|
1218
|
-
switch (u = (0, o.normalizeAppPath)(u), c) {
|
|
1219
|
-
case "(.)":
|
|
1220
|
-
u === "/" ? l = "/" + l : l = u + "/" + l;
|
|
1221
|
-
break;
|
|
1222
|
-
case "(..)":
|
|
1223
|
-
if (u === "/")
|
|
1224
|
-
throw Object.defineProperty(new Error("Invalid interception route: " + i + ". Cannot use (..) marker at the root level, use (.) instead."), "__NEXT_ERROR_CODE", {
|
|
1225
|
-
value: "E207",
|
|
1226
|
-
enumerable: !1,
|
|
1227
|
-
configurable: !0
|
|
1228
|
-
});
|
|
1229
|
-
l = u.split("/").slice(0, -1).concat(l).join("/");
|
|
1230
|
-
break;
|
|
1231
|
-
case "(...)":
|
|
1232
|
-
l = "/" + l;
|
|
1233
|
-
break;
|
|
1234
|
-
case "(..)(..)":
|
|
1235
|
-
const s = u.split("/");
|
|
1236
|
-
if (s.length <= 2)
|
|
1237
|
-
throw Object.defineProperty(new Error("Invalid interception route: " + i + ". Cannot use (..)(..) marker at the root level or one level up."), "__NEXT_ERROR_CODE", {
|
|
1238
|
-
value: "E486",
|
|
1239
|
-
enumerable: !1,
|
|
1240
|
-
configurable: !0
|
|
1241
|
-
});
|
|
1242
|
-
l = s.slice(0, -2).concat(l).join("/");
|
|
1243
|
-
break;
|
|
1244
|
-
default:
|
|
1245
|
-
throw Object.defineProperty(new Error("Invariant: unexpected marker"), "__NEXT_ERROR_CODE", {
|
|
1246
|
-
value: "E112",
|
|
1247
|
-
enumerable: !1,
|
|
1248
|
-
configurable: !0
|
|
1249
|
-
});
|
|
1250
|
-
}
|
|
1251
|
-
return {
|
|
1252
|
-
interceptingRoute: u,
|
|
1253
|
-
interceptedRoute: l
|
|
1254
|
-
};
|
|
1255
|
-
}
|
|
1256
|
-
}(st)), st;
|
|
1257
|
-
}
|
|
1258
|
-
var hr;
|
|
1259
|
-
function mo() {
|
|
1260
|
-
return hr || (hr = 1, function(t) {
|
|
1261
|
-
Object.defineProperty(t, "__esModule", {
|
|
1262
|
-
value: !0
|
|
1263
|
-
}), Object.defineProperty(t, "isDynamicRoute", {
|
|
1264
|
-
enumerable: !0,
|
|
1265
|
-
get: function() {
|
|
1266
|
-
return a;
|
|
1267
|
-
}
|
|
1268
|
-
});
|
|
1269
|
-
const e = jn(), o = /\/[^/]*\[[^/]+\][^/]*(?=\/|$)/, r = /\/\[[^/]+\](?=\/|$)/;
|
|
1270
|
-
function a(n, i) {
|
|
1271
|
-
return i === void 0 && (i = !0), (0, e.isInterceptionRouteAppPath)(n) && (n = (0, e.extractInterceptionRouteInformation)(n).interceptedRoute), i ? r.test(n) : o.test(n);
|
|
1272
|
-
}
|
|
1273
|
-
}(ct)), ct;
|
|
1274
|
-
}
|
|
1275
|
-
var Rr;
|
|
1276
|
-
function yo() {
|
|
1277
|
-
return Rr || (Rr = 1, function(t) {
|
|
1278
|
-
Object.defineProperty(t, "__esModule", {
|
|
1279
|
-
value: !0
|
|
1280
|
-
});
|
|
1281
|
-
function e(a, n) {
|
|
1282
|
-
for (var i in n) Object.defineProperty(a, i, {
|
|
1283
|
-
enumerable: !0,
|
|
1284
|
-
get: n[i]
|
|
1285
|
-
});
|
|
1286
|
-
}
|
|
1287
|
-
e(t, {
|
|
1288
|
-
getSortedRouteObjects: function() {
|
|
1289
|
-
return o.getSortedRouteObjects;
|
|
1290
|
-
},
|
|
1291
|
-
getSortedRoutes: function() {
|
|
1292
|
-
return o.getSortedRoutes;
|
|
1293
|
-
},
|
|
1294
|
-
isDynamicRoute: function() {
|
|
1295
|
-
return r.isDynamicRoute;
|
|
1296
|
-
}
|
|
1297
|
-
});
|
|
1298
|
-
const o = Ro(), r = mo();
|
|
1299
|
-
}(it)), it;
|
|
1300
|
-
}
|
|
1301
|
-
var _t = {}, Et = {}, pr;
|
|
1302
|
-
function bo() {
|
|
1303
|
-
return pr || (pr = 1, function(t) {
|
|
1304
|
-
Object.defineProperty(t, "__esModule", {
|
|
1305
|
-
value: !0
|
|
1306
|
-
}), Object.defineProperty(t, "getRouteMatcher", {
|
|
1307
|
-
enumerable: !0,
|
|
1308
|
-
get: function() {
|
|
1309
|
-
return o;
|
|
1310
|
-
}
|
|
1311
|
-
});
|
|
1312
|
-
const e = Ve();
|
|
1313
|
-
function o(r) {
|
|
1314
|
-
let { re: a, groups: n } = r;
|
|
1315
|
-
return (i) => {
|
|
1316
|
-
const u = a.exec(i);
|
|
1317
|
-
if (!u) return !1;
|
|
1318
|
-
const c = (s) => {
|
|
1319
|
-
try {
|
|
1320
|
-
return decodeURIComponent(s);
|
|
1321
|
-
} catch {
|
|
1322
|
-
throw Object.defineProperty(new e.DecodeError("failed to decode param"), "__NEXT_ERROR_CODE", {
|
|
1323
|
-
value: "E528",
|
|
1324
|
-
enumerable: !1,
|
|
1325
|
-
configurable: !0
|
|
1326
|
-
});
|
|
1327
|
-
}
|
|
1328
|
-
}, l = {};
|
|
1329
|
-
for (const [s, f] of Object.entries(n)) {
|
|
1330
|
-
const h = u[f.pos];
|
|
1331
|
-
h !== void 0 && (f.repeat ? l[s] = h.split("/").map((p) => c(p)) : l[s] = c(h));
|
|
1332
|
-
}
|
|
1333
|
-
return l;
|
|
1334
|
-
};
|
|
1335
|
-
}
|
|
1336
|
-
}(Et)), Et;
|
|
1337
|
-
}
|
|
1338
|
-
var ht = {}, Rt = {}, gr;
|
|
1339
|
-
function Po() {
|
|
1340
|
-
return gr || (gr = 1, function(t) {
|
|
1341
|
-
Object.defineProperty(t, "__esModule", {
|
|
1342
|
-
value: !0
|
|
1343
|
-
});
|
|
1344
|
-
function e(ie, de) {
|
|
1345
|
-
for (var _e in de) Object.defineProperty(ie, _e, {
|
|
1346
|
-
enumerable: !0,
|
|
1347
|
-
get: de[_e]
|
|
1348
|
-
});
|
|
1349
|
-
}
|
|
1350
|
-
e(t, {
|
|
1351
|
-
ACTION_SUFFIX: function() {
|
|
1352
|
-
return f;
|
|
1353
|
-
},
|
|
1354
|
-
APP_DIR_ALIAS: function() {
|
|
1355
|
-
return Y;
|
|
1356
|
-
},
|
|
1357
|
-
CACHE_ONE_YEAR: function() {
|
|
1358
|
-
return M;
|
|
1359
|
-
},
|
|
1360
|
-
DOT_NEXT_ALIAS: function() {
|
|
1361
|
-
return B;
|
|
1362
|
-
},
|
|
1363
|
-
ESLINT_DEFAULT_DIRS: function() {
|
|
1364
|
-
return q;
|
|
1365
|
-
},
|
|
1366
|
-
GSP_NO_RETURNED_VALUE: function() {
|
|
1367
|
-
return $;
|
|
1368
|
-
},
|
|
1369
|
-
GSSP_COMPONENT_MEMBER_ERROR: function() {
|
|
1370
|
-
return _;
|
|
1371
|
-
},
|
|
1372
|
-
GSSP_NO_RETURNED_VALUE: function() {
|
|
1373
|
-
return L;
|
|
1374
|
-
},
|
|
1375
|
-
INFINITE_CACHE: function() {
|
|
1376
|
-
return D;
|
|
1377
|
-
},
|
|
1378
|
-
INSTRUMENTATION_HOOK_FILENAME: function() {
|
|
1379
|
-
return S;
|
|
1380
|
-
},
|
|
1381
|
-
MATCHED_PATH_HEADER: function() {
|
|
1382
|
-
return a;
|
|
1383
|
-
},
|
|
1384
|
-
MIDDLEWARE_FILENAME: function() {
|
|
1385
|
-
return x;
|
|
1386
|
-
},
|
|
1387
|
-
MIDDLEWARE_LOCATION_REGEXP: function() {
|
|
1388
|
-
return O;
|
|
1389
|
-
},
|
|
1390
|
-
NEXT_BODY_SUFFIX: function() {
|
|
1391
|
-
return v;
|
|
1392
|
-
},
|
|
1393
|
-
NEXT_CACHE_IMPLICIT_TAG_ID: function() {
|
|
1394
|
-
return N;
|
|
1395
|
-
},
|
|
1396
|
-
NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
|
|
1397
|
-
return m;
|
|
1398
|
-
},
|
|
1399
|
-
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
|
|
1400
|
-
return A;
|
|
1401
|
-
},
|
|
1402
|
-
NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
|
|
1403
|
-
return y;
|
|
1404
|
-
},
|
|
1405
|
-
NEXT_CACHE_TAGS_HEADER: function() {
|
|
1406
|
-
return g;
|
|
1407
|
-
},
|
|
1408
|
-
NEXT_CACHE_TAG_MAX_ITEMS: function() {
|
|
1409
|
-
return P;
|
|
1410
|
-
},
|
|
1411
|
-
NEXT_CACHE_TAG_MAX_LENGTH: function() {
|
|
1412
|
-
return R;
|
|
1413
|
-
},
|
|
1414
|
-
NEXT_DATA_SUFFIX: function() {
|
|
1415
|
-
return h;
|
|
1416
|
-
},
|
|
1417
|
-
NEXT_INTERCEPTION_MARKER_PREFIX: function() {
|
|
1418
|
-
return r;
|
|
1419
|
-
},
|
|
1420
|
-
NEXT_META_SUFFIX: function() {
|
|
1421
|
-
return p;
|
|
1422
|
-
},
|
|
1423
|
-
NEXT_QUERY_PARAM_PREFIX: function() {
|
|
1424
|
-
return o;
|
|
1425
|
-
},
|
|
1426
|
-
NEXT_RESUME_HEADER: function() {
|
|
1427
|
-
return b;
|
|
1428
|
-
},
|
|
1429
|
-
NON_STANDARD_NODE_ENV: function() {
|
|
1430
|
-
return d;
|
|
1431
|
-
},
|
|
1432
|
-
PAGES_DIR_ALIAS: function() {
|
|
1433
|
-
return X;
|
|
1434
|
-
},
|
|
1435
|
-
PRERENDER_REVALIDATE_HEADER: function() {
|
|
1436
|
-
return n;
|
|
1437
|
-
},
|
|
1438
|
-
PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
|
|
1439
|
-
return i;
|
|
1440
|
-
},
|
|
1441
|
-
PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
|
|
1442
|
-
return j;
|
|
1443
|
-
},
|
|
1444
|
-
ROOT_DIR_ALIAS: function() {
|
|
1445
|
-
return F;
|
|
1446
|
-
},
|
|
1447
|
-
RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
|
|
1448
|
-
return C;
|
|
1449
|
-
},
|
|
1450
|
-
RSC_ACTION_ENCRYPTION_ALIAS: function() {
|
|
1451
|
-
return E;
|
|
1452
|
-
},
|
|
1453
|
-
RSC_ACTION_PROXY_ALIAS: function() {
|
|
1454
|
-
return Q;
|
|
1455
|
-
},
|
|
1456
|
-
RSC_ACTION_VALIDATE_ALIAS: function() {
|
|
1457
|
-
return ee;
|
|
1458
|
-
},
|
|
1459
|
-
RSC_CACHE_WRAPPER_ALIAS: function() {
|
|
1460
|
-
return J;
|
|
1461
|
-
},
|
|
1462
|
-
RSC_MOD_REF_PROXY_ALIAS: function() {
|
|
1463
|
-
return K;
|
|
1464
|
-
},
|
|
1465
|
-
RSC_PREFETCH_SUFFIX: function() {
|
|
1466
|
-
return u;
|
|
1467
|
-
},
|
|
1468
|
-
RSC_SEGMENTS_DIR_SUFFIX: function() {
|
|
1469
|
-
return c;
|
|
1470
|
-
},
|
|
1471
|
-
RSC_SEGMENT_SUFFIX: function() {
|
|
1472
|
-
return l;
|
|
1473
|
-
},
|
|
1474
|
-
RSC_SUFFIX: function() {
|
|
1475
|
-
return s;
|
|
1476
|
-
},
|
|
1477
|
-
SERVER_PROPS_EXPORT_ERROR: function() {
|
|
1478
|
-
return H;
|
|
1479
|
-
},
|
|
1480
|
-
SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
|
|
1481
|
-
return z;
|
|
1482
|
-
},
|
|
1483
|
-
SERVER_PROPS_SSG_CONFLICT: function() {
|
|
1484
|
-
return V;
|
|
1485
|
-
},
|
|
1486
|
-
SERVER_RUNTIME: function() {
|
|
1487
|
-
return I;
|
|
1488
|
-
},
|
|
1489
|
-
SSG_FALLBACK_EXPORT_ERROR: function() {
|
|
1490
|
-
return T;
|
|
1491
|
-
},
|
|
1492
|
-
SSG_GET_INITIAL_PROPS_CONFLICT: function() {
|
|
1493
|
-
return G;
|
|
1494
|
-
},
|
|
1495
|
-
STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
|
|
1496
|
-
return te;
|
|
1497
|
-
},
|
|
1498
|
-
UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
|
|
1499
|
-
return re;
|
|
1500
|
-
},
|
|
1501
|
-
WEBPACK_LAYERS: function() {
|
|
1502
|
-
return Z;
|
|
1503
|
-
},
|
|
1504
|
-
WEBPACK_RESOURCE_QUERIES: function() {
|
|
1505
|
-
return ae;
|
|
1506
|
-
}
|
|
1507
|
-
});
|
|
1508
|
-
const o = "nxtP", r = "nxtI", a = "x-matched-path", n = "x-prerender-revalidate", i = "x-prerender-revalidate-if-generated", u = ".prefetch.rsc", c = ".segments", l = ".segment.rsc", s = ".rsc", f = ".action", h = ".json", p = ".meta", v = ".body", g = "x-next-cache-tags", m = "x-next-revalidated-tags", A = "x-next-revalidate-tag-token", b = "next-resume", P = 128, R = 256, y = 1024, N = "_N_T_", M = 31536e3, D = 4294967294, x = "middleware", O = `(?:src/)?${x}`, S = "instrumentation", X = "private-next-pages", B = "private-dot-next", F = "private-next-root-dir", Y = "private-next-app-dir", K = "private-next-rsc-mod-ref-proxy", ee = "private-next-rsc-action-validate", Q = "private-next-rsc-server-reference", J = "private-next-rsc-cache-wrapper", E = "private-next-rsc-action-encryption", C = "private-next-rsc-action-client-wrapper", j = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", G = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", z = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", V = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", te = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", H = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", $ = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", L = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", re = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", _ = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", d = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', T = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", q = [
|
|
1509
|
-
"app",
|
|
1510
|
-
"pages",
|
|
1511
|
-
"components",
|
|
1512
|
-
"lib",
|
|
1513
|
-
"src"
|
|
1514
|
-
], I = {
|
|
1515
|
-
edge: "edge",
|
|
1516
|
-
experimentalEdge: "experimental-edge",
|
|
1517
|
-
nodejs: "nodejs"
|
|
1518
|
-
}, w = {
|
|
1519
|
-
/**
|
|
1520
|
-
* The layer for the shared code between the client and server bundles.
|
|
1521
|
-
*/
|
|
1522
|
-
shared: "shared",
|
|
1523
|
-
/**
|
|
1524
|
-
* The layer for server-only runtime and picking up `react-server` export conditions.
|
|
1525
|
-
* Including app router RSC pages and app router custom routes and metadata routes.
|
|
1526
|
-
*/
|
|
1527
|
-
reactServerComponents: "rsc",
|
|
1528
|
-
/**
|
|
1529
|
-
* Server Side Rendering layer for app (ssr).
|
|
1530
|
-
*/
|
|
1531
|
-
serverSideRendering: "ssr",
|
|
1532
|
-
/**
|
|
1533
|
-
* The browser client bundle layer for actions.
|
|
1534
|
-
*/
|
|
1535
|
-
actionBrowser: "action-browser",
|
|
1536
|
-
/**
|
|
1537
|
-
* The Node.js bundle layer for the API routes.
|
|
1538
|
-
*/
|
|
1539
|
-
apiNode: "api-node",
|
|
1540
|
-
/**
|
|
1541
|
-
* The Edge Lite bundle layer for the API routes.
|
|
1542
|
-
*/
|
|
1543
|
-
apiEdge: "api-edge",
|
|
1544
|
-
/**
|
|
1545
|
-
* The layer for the middleware code.
|
|
1546
|
-
*/
|
|
1547
|
-
middleware: "middleware",
|
|
1548
|
-
/**
|
|
1549
|
-
* The layer for the instrumentation hooks.
|
|
1550
|
-
*/
|
|
1551
|
-
instrument: "instrument",
|
|
1552
|
-
/**
|
|
1553
|
-
* The layer for assets on the edge.
|
|
1554
|
-
*/
|
|
1555
|
-
edgeAsset: "edge-asset",
|
|
1556
|
-
/**
|
|
1557
|
-
* The browser client bundle layer for App directory.
|
|
1558
|
-
*/
|
|
1559
|
-
appPagesBrowser: "app-pages-browser",
|
|
1560
|
-
/**
|
|
1561
|
-
* The browser client bundle layer for Pages directory.
|
|
1562
|
-
*/
|
|
1563
|
-
pagesDirBrowser: "pages-dir-browser",
|
|
1564
|
-
/**
|
|
1565
|
-
* The Edge Lite bundle layer for Pages directory.
|
|
1566
|
-
*/
|
|
1567
|
-
pagesDirEdge: "pages-dir-edge",
|
|
1568
|
-
/**
|
|
1569
|
-
* The Node.js bundle layer for Pages directory.
|
|
1570
|
-
*/
|
|
1571
|
-
pagesDirNode: "pages-dir-node"
|
|
1572
|
-
}, Z = {
|
|
1573
|
-
...w,
|
|
1574
|
-
GROUP: {
|
|
1575
|
-
builtinReact: [
|
|
1576
|
-
w.reactServerComponents,
|
|
1577
|
-
w.actionBrowser
|
|
1578
|
-
],
|
|
1579
|
-
serverOnly: [
|
|
1580
|
-
w.reactServerComponents,
|
|
1581
|
-
w.actionBrowser,
|
|
1582
|
-
w.instrument,
|
|
1583
|
-
w.middleware
|
|
1584
|
-
],
|
|
1585
|
-
neutralTarget: [
|
|
1586
|
-
// pages api
|
|
1587
|
-
w.apiNode,
|
|
1588
|
-
w.apiEdge
|
|
1589
|
-
],
|
|
1590
|
-
clientOnly: [
|
|
1591
|
-
w.serverSideRendering,
|
|
1592
|
-
w.appPagesBrowser
|
|
1593
|
-
],
|
|
1594
|
-
bundled: [
|
|
1595
|
-
w.reactServerComponents,
|
|
1596
|
-
w.actionBrowser,
|
|
1597
|
-
w.serverSideRendering,
|
|
1598
|
-
w.appPagesBrowser,
|
|
1599
|
-
w.shared,
|
|
1600
|
-
w.instrument,
|
|
1601
|
-
w.middleware
|
|
1602
|
-
],
|
|
1603
|
-
appPages: [
|
|
1604
|
-
// app router pages and layouts
|
|
1605
|
-
w.reactServerComponents,
|
|
1606
|
-
w.serverSideRendering,
|
|
1607
|
-
w.appPagesBrowser,
|
|
1608
|
-
w.actionBrowser
|
|
1609
|
-
]
|
|
1610
|
-
}
|
|
1611
|
-
}, ae = {
|
|
1612
|
-
edgeSSREntry: "__next_edge_ssr_entry__",
|
|
1613
|
-
metadata: "__next_metadata__",
|
|
1614
|
-
metadataRoute: "__next_metadata_route__",
|
|
1615
|
-
metadataImageMeta: "__next_metadata_image_meta__"
|
|
1616
|
-
};
|
|
1617
|
-
}(Rt)), Rt;
|
|
1618
|
-
}
|
|
1619
|
-
var pt = {}, mr;
|
|
1620
|
-
function vo() {
|
|
1621
|
-
return mr || (mr = 1, function(t) {
|
|
1622
|
-
Object.defineProperty(t, "__esModule", {
|
|
1623
|
-
value: !0
|
|
1624
|
-
}), Object.defineProperty(t, "escapeStringRegexp", {
|
|
1625
|
-
enumerable: !0,
|
|
1626
|
-
get: function() {
|
|
1627
|
-
return r;
|
|
1628
|
-
}
|
|
1629
|
-
});
|
|
1630
|
-
const e = /[|\\{}()[\]^$+*?.-]/, o = /[|\\{}()[\]^$+*?.-]/g;
|
|
1631
|
-
function r(a) {
|
|
1632
|
-
return e.test(a) ? a.replace(o, "\\$&") : a;
|
|
1633
|
-
}
|
|
1634
|
-
}(pt)), pt;
|
|
1635
|
-
}
|
|
1636
|
-
var yr;
|
|
1637
|
-
function Oo() {
|
|
1638
|
-
return yr || (yr = 1, function(t) {
|
|
1639
|
-
Object.defineProperty(t, "__esModule", {
|
|
1640
|
-
value: !0
|
|
1641
|
-
});
|
|
1642
|
-
function e(m, A) {
|
|
1643
|
-
for (var b in A) Object.defineProperty(m, b, {
|
|
1644
|
-
enumerable: !0,
|
|
1645
|
-
get: A[b]
|
|
1646
|
-
});
|
|
1647
|
-
}
|
|
1648
|
-
e(t, {
|
|
1649
|
-
getNamedMiddlewareRegex: function() {
|
|
1650
|
-
return g;
|
|
1651
|
-
},
|
|
1652
|
-
getNamedRouteRegex: function() {
|
|
1653
|
-
return v;
|
|
1654
|
-
},
|
|
1655
|
-
getRouteRegex: function() {
|
|
1656
|
-
return s;
|
|
1657
|
-
},
|
|
1658
|
-
parseParameter: function() {
|
|
1659
|
-
return u;
|
|
1660
|
-
}
|
|
1661
|
-
});
|
|
1662
|
-
const o = Po(), r = jn(), a = vo(), n = Cn(), i = /^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;
|
|
1663
|
-
function u(m) {
|
|
1664
|
-
const A = m.match(i);
|
|
1665
|
-
return c(A ? A[2] : m);
|
|
1666
|
-
}
|
|
1667
|
-
function c(m) {
|
|
1668
|
-
const A = m.startsWith("[") && m.endsWith("]");
|
|
1669
|
-
A && (m = m.slice(1, -1));
|
|
1670
|
-
const b = m.startsWith("...");
|
|
1671
|
-
return b && (m = m.slice(3)), {
|
|
1672
|
-
key: m,
|
|
1673
|
-
repeat: b,
|
|
1674
|
-
optional: A
|
|
1675
|
-
};
|
|
1676
|
-
}
|
|
1677
|
-
function l(m, A, b) {
|
|
1678
|
-
const P = {};
|
|
1679
|
-
let R = 1;
|
|
1680
|
-
const y = [];
|
|
1681
|
-
for (const N of (0, n.removeTrailingSlash)(m).slice(1).split("/")) {
|
|
1682
|
-
const M = r.INTERCEPTION_ROUTE_MARKERS.find((x) => N.startsWith(x)), D = N.match(i);
|
|
1683
|
-
if (M && D && D[2]) {
|
|
1684
|
-
const { key: x, optional: O, repeat: S } = c(D[2]);
|
|
1685
|
-
P[x] = {
|
|
1686
|
-
pos: R++,
|
|
1687
|
-
repeat: S,
|
|
1688
|
-
optional: O
|
|
1689
|
-
}, y.push("/" + (0, a.escapeStringRegexp)(M) + "([^/]+?)");
|
|
1690
|
-
} else if (D && D[2]) {
|
|
1691
|
-
const { key: x, repeat: O, optional: S } = c(D[2]);
|
|
1692
|
-
P[x] = {
|
|
1693
|
-
pos: R++,
|
|
1694
|
-
repeat: O,
|
|
1695
|
-
optional: S
|
|
1696
|
-
}, b && D[1] && y.push("/" + (0, a.escapeStringRegexp)(D[1]));
|
|
1697
|
-
let X = O ? S ? "(?:/(.+?))?" : "/(.+?)" : "/([^/]+?)";
|
|
1698
|
-
b && D[1] && (X = X.substring(1)), y.push(X);
|
|
1699
|
-
} else
|
|
1700
|
-
y.push("/" + (0, a.escapeStringRegexp)(N));
|
|
1701
|
-
A && D && D[3] && y.push((0, a.escapeStringRegexp)(D[3]));
|
|
1702
|
-
}
|
|
1703
|
-
return {
|
|
1704
|
-
parameterizedRoute: y.join(""),
|
|
1705
|
-
groups: P
|
|
1706
|
-
};
|
|
1707
|
-
}
|
|
1708
|
-
function s(m, A) {
|
|
1709
|
-
let { includeSuffix: b = !1, includePrefix: P = !1, excludeOptionalTrailingSlash: R = !1 } = A === void 0 ? {} : A;
|
|
1710
|
-
const { parameterizedRoute: y, groups: N } = l(m, b, P);
|
|
1711
|
-
let M = y;
|
|
1712
|
-
return R || (M += "(?:/)?"), {
|
|
1713
|
-
re: new RegExp("^" + M + "$"),
|
|
1714
|
-
groups: N
|
|
1715
|
-
};
|
|
1716
|
-
}
|
|
1717
|
-
function f() {
|
|
1718
|
-
let m = 0;
|
|
1719
|
-
return () => {
|
|
1720
|
-
let A = "", b = ++m;
|
|
1721
|
-
for (; b > 0; )
|
|
1722
|
-
A += String.fromCharCode(97 + (b - 1) % 26), b = Math.floor((b - 1) / 26);
|
|
1723
|
-
return A;
|
|
1724
|
-
};
|
|
1725
|
-
}
|
|
1726
|
-
function h(m) {
|
|
1727
|
-
let { interceptionMarker: A, getSafeRouteKey: b, segment: P, routeKeys: R, keyPrefix: y, backreferenceDuplicateKeys: N } = m;
|
|
1728
|
-
const { key: M, optional: D, repeat: x } = c(P);
|
|
1729
|
-
let O = M.replace(/\W/g, "");
|
|
1730
|
-
y && (O = "" + y + O);
|
|
1731
|
-
let S = !1;
|
|
1732
|
-
(O.length === 0 || O.length > 30) && (S = !0), isNaN(parseInt(O.slice(0, 1))) || (S = !0), S && (O = b());
|
|
1733
|
-
const X = O in R;
|
|
1734
|
-
y ? R[O] = "" + y + M : R[O] = M;
|
|
1735
|
-
const B = A ? (0, a.escapeStringRegexp)(A) : "";
|
|
1736
|
-
let F;
|
|
1737
|
-
return X && N ? F = "\\k<" + O + ">" : x ? F = "(?<" + O + ">.+?)" : F = "(?<" + O + ">[^/]+?)", D ? "(?:/" + B + F + ")?" : "/" + B + F;
|
|
1738
|
-
}
|
|
1739
|
-
function p(m, A, b, P, R) {
|
|
1740
|
-
const y = f(), N = {}, M = [];
|
|
1741
|
-
for (const D of (0, n.removeTrailingSlash)(m).slice(1).split("/")) {
|
|
1742
|
-
const x = r.INTERCEPTION_ROUTE_MARKERS.some((S) => D.startsWith(S)), O = D.match(i);
|
|
1743
|
-
if (x && O && O[2])
|
|
1744
|
-
M.push(h({
|
|
1745
|
-
getSafeRouteKey: y,
|
|
1746
|
-
interceptionMarker: O[1],
|
|
1747
|
-
segment: O[2],
|
|
1748
|
-
routeKeys: N,
|
|
1749
|
-
keyPrefix: A ? o.NEXT_INTERCEPTION_MARKER_PREFIX : void 0,
|
|
1750
|
-
backreferenceDuplicateKeys: R
|
|
1751
|
-
}));
|
|
1752
|
-
else if (O && O[2]) {
|
|
1753
|
-
P && O[1] && M.push("/" + (0, a.escapeStringRegexp)(O[1]));
|
|
1754
|
-
let S = h({
|
|
1755
|
-
getSafeRouteKey: y,
|
|
1756
|
-
segment: O[2],
|
|
1757
|
-
routeKeys: N,
|
|
1758
|
-
keyPrefix: A ? o.NEXT_QUERY_PARAM_PREFIX : void 0,
|
|
1759
|
-
backreferenceDuplicateKeys: R
|
|
1760
|
-
});
|
|
1761
|
-
P && O[1] && (S = S.substring(1)), M.push(S);
|
|
1762
|
-
} else
|
|
1763
|
-
M.push("/" + (0, a.escapeStringRegexp)(D));
|
|
1764
|
-
b && O && O[3] && M.push((0, a.escapeStringRegexp)(O[3]));
|
|
1765
|
-
}
|
|
1766
|
-
return {
|
|
1767
|
-
namedParameterizedRoute: M.join(""),
|
|
1768
|
-
routeKeys: N
|
|
1769
|
-
};
|
|
1770
|
-
}
|
|
1771
|
-
function v(m, A) {
|
|
1772
|
-
var b, P, R;
|
|
1773
|
-
const y = p(m, A.prefixRouteKeys, (b = A.includeSuffix) != null ? b : !1, (P = A.includePrefix) != null ? P : !1, (R = A.backreferenceDuplicateKeys) != null ? R : !1);
|
|
1774
|
-
let N = y.namedParameterizedRoute;
|
|
1775
|
-
return A.excludeOptionalTrailingSlash || (N += "(?:/)?"), {
|
|
1776
|
-
...s(m, A),
|
|
1777
|
-
namedRegex: "^" + N + "$",
|
|
1778
|
-
routeKeys: y.routeKeys
|
|
1779
|
-
};
|
|
1780
|
-
}
|
|
1781
|
-
function g(m, A) {
|
|
1782
|
-
const { parameterizedRoute: b } = l(m, !1, !1), { catchAll: P = !0 } = A;
|
|
1783
|
-
if (b === "/")
|
|
1784
|
-
return {
|
|
1785
|
-
namedRegex: "^/" + (P ? ".*" : "") + "$"
|
|
1786
|
-
};
|
|
1787
|
-
const { namedParameterizedRoute: R } = p(m, !1, !1, !1, !1);
|
|
1788
|
-
let y = P ? "(?:(/.*)?)" : "";
|
|
1789
|
-
return {
|
|
1790
|
-
namedRegex: "^" + R + y + "$"
|
|
1791
|
-
};
|
|
1792
|
-
}
|
|
1793
|
-
}(ht)), ht;
|
|
1794
|
-
}
|
|
1795
|
-
var br;
|
|
1796
|
-
function To() {
|
|
1797
|
-
return br || (br = 1, function(t) {
|
|
1798
|
-
Object.defineProperty(t, "__esModule", {
|
|
1799
|
-
value: !0
|
|
1800
|
-
}), Object.defineProperty(t, "interpolateAs", {
|
|
1801
|
-
enumerable: !0,
|
|
1802
|
-
get: function() {
|
|
1803
|
-
return r;
|
|
1804
|
-
}
|
|
1805
|
-
});
|
|
1806
|
-
const e = bo(), o = Oo();
|
|
1807
|
-
function r(a, n, i) {
|
|
1808
|
-
let u = "";
|
|
1809
|
-
const c = (0, o.getRouteRegex)(a), l = c.groups, s = (
|
|
1810
|
-
// Try to match the dynamic route against the asPath
|
|
1811
|
-
(n !== a ? (0, e.getRouteMatcher)(c)(n) : "") || // Fall back to reading the values from the href
|
|
1812
|
-
// TODO: should this take priority; also need to change in the router.
|
|
1813
|
-
i
|
|
1814
|
-
);
|
|
1815
|
-
u = a;
|
|
1816
|
-
const f = Object.keys(l);
|
|
1817
|
-
return f.every((h) => {
|
|
1818
|
-
let p = s[h] || "";
|
|
1819
|
-
const { repeat: v, optional: g } = l[h];
|
|
1820
|
-
let m = "[" + (v ? "..." : "") + h + "]";
|
|
1821
|
-
return g && (m = (p ? "" : "/") + "[" + m + "]"), v && !Array.isArray(p) && (p = [
|
|
1822
|
-
p
|
|
1823
|
-
]), (g || h in s) && // Interpolate group into data URL if present
|
|
1824
|
-
(u = u.replace(m, v ? p.map(
|
|
1825
|
-
// these values should be fully encoded instead of just
|
|
1826
|
-
// path delimiter escaped since they are being inserted
|
|
1827
|
-
// into the URL and we expect URL encoded segments
|
|
1828
|
-
// when parsing dynamic route params
|
|
1829
|
-
(A) => encodeURIComponent(A)
|
|
1830
|
-
).join("/") : encodeURIComponent(p)) || "/");
|
|
1831
|
-
}) || (u = ""), {
|
|
1832
|
-
params: f,
|
|
1833
|
-
result: u
|
|
1834
|
-
};
|
|
1835
|
-
}
|
|
1836
|
-
}(_t)), _t;
|
|
1837
|
-
}
|
|
1838
|
-
var Pr;
|
|
1839
|
-
function Ao() {
|
|
1840
|
-
return Pr || (Pr = 1, function(t, e) {
|
|
1841
|
-
Object.defineProperty(e, "__esModule", {
|
|
1842
|
-
value: !0
|
|
1843
|
-
}), Object.defineProperty(e, "resolveHref", {
|
|
1844
|
-
enumerable: !0,
|
|
1845
|
-
get: function() {
|
|
1846
|
-
return s;
|
|
1847
|
-
}
|
|
1848
|
-
});
|
|
1849
|
-
const o = Nn(), r = Sn(), a = Eo(), n = Ve(), i = Ye(), u = Dn(), c = yo(), l = To();
|
|
1850
|
-
function s(f, h, p) {
|
|
1851
|
-
let v, g = typeof h == "string" ? h : (0, r.formatWithValidation)(h);
|
|
1852
|
-
const m = g.match(/^[a-zA-Z]{1,}:\/\//), A = m ? g.slice(m[0].length) : g;
|
|
1853
|
-
if ((A.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
1854
|
-
console.error("Invalid href '" + g + "' passed to next/router in page: '" + f.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
1855
|
-
const P = (0, n.normalizeRepeatedSlashes)(A);
|
|
1856
|
-
g = (m ? m[0] : "") + P;
|
|
1857
|
-
}
|
|
1858
|
-
if (!(0, u.isLocalURL)(g))
|
|
1859
|
-
return p ? [
|
|
1860
|
-
g
|
|
1861
|
-
] : g;
|
|
1862
|
-
try {
|
|
1863
|
-
v = new URL(g.startsWith("#") ? f.asPath : f.pathname, "http://n");
|
|
1864
|
-
} catch {
|
|
1865
|
-
v = new URL("/", "http://n");
|
|
1866
|
-
}
|
|
1867
|
-
try {
|
|
1868
|
-
const P = new URL(g, v);
|
|
1869
|
-
P.pathname = (0, i.normalizePathTrailingSlash)(P.pathname);
|
|
1870
|
-
let R = "";
|
|
1871
|
-
if ((0, c.isDynamicRoute)(P.pathname) && P.searchParams && p) {
|
|
1872
|
-
const N = (0, o.searchParamsToUrlQuery)(P.searchParams), { result: M, params: D } = (0, l.interpolateAs)(P.pathname, P.pathname, N);
|
|
1873
|
-
M && (R = (0, r.formatWithValidation)({
|
|
1874
|
-
pathname: M,
|
|
1875
|
-
hash: P.hash,
|
|
1876
|
-
query: (0, a.omit)(N, D)
|
|
1877
|
-
}));
|
|
1878
|
-
}
|
|
1879
|
-
const y = P.origin === v.origin ? P.href.slice(P.origin.length) : P.href;
|
|
1880
|
-
return p ? [
|
|
1881
|
-
y,
|
|
1882
|
-
R || y
|
|
1883
|
-
] : y;
|
|
1884
|
-
} catch {
|
|
1885
|
-
return p ? [
|
|
1886
|
-
g
|
|
1887
|
-
] : g;
|
|
1888
|
-
}
|
|
1889
|
-
}
|
|
1890
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
1891
|
-
}(pe, pe.exports)), pe.exports;
|
|
1892
|
-
}
|
|
1893
|
-
var ye = { exports: {} }, gt = {}, mt = {}, vr;
|
|
1894
|
-
function Mn() {
|
|
1895
|
-
return vr || (vr = 1, function(t) {
|
|
1896
|
-
Object.defineProperty(t, "__esModule", {
|
|
1897
|
-
value: !0
|
|
1898
|
-
}), Object.defineProperty(t, "addPathPrefix", {
|
|
1899
|
-
enumerable: !0,
|
|
1900
|
-
get: function() {
|
|
1901
|
-
return o;
|
|
1902
|
-
}
|
|
1903
|
-
});
|
|
1904
|
-
const e = Wt();
|
|
1905
|
-
function o(r, a) {
|
|
1906
|
-
if (!r.startsWith("/") || !a)
|
|
1907
|
-
return r;
|
|
1908
|
-
const { pathname: n, query: i, hash: u } = (0, e.parsePath)(r);
|
|
1909
|
-
return "" + a + n + i + u;
|
|
1910
|
-
}
|
|
1911
|
-
}(mt)), mt;
|
|
1912
|
-
}
|
|
1913
|
-
var Or;
|
|
1914
|
-
function No() {
|
|
1915
|
-
return Or || (Or = 1, function(t) {
|
|
1916
|
-
Object.defineProperty(t, "__esModule", {
|
|
1917
|
-
value: !0
|
|
1918
|
-
}), Object.defineProperty(t, "addLocale", {
|
|
1919
|
-
enumerable: !0,
|
|
1920
|
-
get: function() {
|
|
1921
|
-
return r;
|
|
1922
|
-
}
|
|
1923
|
-
});
|
|
1924
|
-
const e = Mn(), o = wn();
|
|
1925
|
-
function r(a, n, i, u) {
|
|
1926
|
-
if (!n || n === i) return a;
|
|
1927
|
-
const c = a.toLowerCase();
|
|
1928
|
-
return !u && ((0, o.pathHasPrefix)(c, "/api") || (0, o.pathHasPrefix)(c, "/" + n.toLowerCase())) ? a : (0, e.addPathPrefix)(a, "/" + n);
|
|
1929
|
-
}
|
|
1930
|
-
}(gt)), gt;
|
|
1931
|
-
}
|
|
1932
|
-
var Tr;
|
|
1933
|
-
function So() {
|
|
1934
|
-
return Tr || (Tr = 1, function(t, e) {
|
|
1935
|
-
Object.defineProperty(e, "__esModule", {
|
|
1936
|
-
value: !0
|
|
1937
|
-
}), Object.defineProperty(e, "addLocale", {
|
|
1938
|
-
enumerable: !0,
|
|
1939
|
-
get: function() {
|
|
1940
|
-
return r;
|
|
1941
|
-
}
|
|
1942
|
-
});
|
|
1943
|
-
const o = Ye(), r = function(a) {
|
|
1944
|
-
for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
|
|
1945
|
-
i[u - 1] = arguments[u];
|
|
1946
|
-
return process.env.__NEXT_I18N_SUPPORT ? (0, o.normalizePathTrailingSlash)(No().addLocale(a, ...i)) : a;
|
|
1947
|
-
};
|
|
1948
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
1949
|
-
}(ye, ye.exports)), ye.exports;
|
|
1950
|
-
}
|
|
1951
|
-
var yt = {}, bt = {}, Ar;
|
|
1952
|
-
function Ln() {
|
|
1953
|
-
if (Ar) return bt;
|
|
1954
|
-
Ar = 1;
|
|
1955
|
-
function t(e) {
|
|
1956
|
-
return e && e.__esModule ? e : { default: e };
|
|
1957
|
-
}
|
|
1958
|
-
return bt._ = t, bt;
|
|
1959
|
-
}
|
|
1960
|
-
var Nr;
|
|
1961
|
-
function Co() {
|
|
1962
|
-
return Nr || (Nr = 1, function(t) {
|
|
1963
|
-
Object.defineProperty(t, "__esModule", {
|
|
1964
|
-
value: !0
|
|
1965
|
-
}), Object.defineProperty(t, "RouterContext", {
|
|
1966
|
-
enumerable: !0,
|
|
1967
|
-
get: function() {
|
|
1968
|
-
return r;
|
|
1969
|
-
}
|
|
1970
|
-
});
|
|
1971
|
-
const r = (/* @__PURE__ */ (/* @__PURE__ */ Ln())._(ne)).default.createContext(null);
|
|
1972
|
-
process.env.NODE_ENV !== "production" && (r.displayName = "RouterContext");
|
|
1973
|
-
}(yt)), yt;
|
|
1974
|
-
}
|
|
1975
|
-
var be = { exports: {} }, Pe = { exports: {} }, Sr;
|
|
1976
|
-
function wo() {
|
|
1977
|
-
return Sr || (Sr = 1, function(t, e) {
|
|
1978
|
-
Object.defineProperty(e, "__esModule", {
|
|
1979
|
-
value: !0
|
|
1980
|
-
});
|
|
1981
|
-
function o(n, i) {
|
|
1982
|
-
for (var u in i) Object.defineProperty(n, u, {
|
|
1983
|
-
enumerable: !0,
|
|
1984
|
-
get: i[u]
|
|
1985
|
-
});
|
|
1986
|
-
}
|
|
1987
|
-
o(e, {
|
|
1988
|
-
cancelIdleCallback: function() {
|
|
1989
|
-
return a;
|
|
1990
|
-
},
|
|
1991
|
-
requestIdleCallback: function() {
|
|
1992
|
-
return r;
|
|
1993
|
-
}
|
|
1994
|
-
});
|
|
1995
|
-
const r = typeof self < "u" && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(n) {
|
|
1996
|
-
let i = Date.now();
|
|
1997
|
-
return self.setTimeout(function() {
|
|
1998
|
-
n({
|
|
1999
|
-
didTimeout: !1,
|
|
2000
|
-
timeRemaining: function() {
|
|
2001
|
-
return Math.max(0, 50 - (Date.now() - i));
|
|
2002
|
-
}
|
|
2003
|
-
});
|
|
2004
|
-
}, 1);
|
|
2005
|
-
}, a = typeof self < "u" && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(n) {
|
|
2006
|
-
return clearTimeout(n);
|
|
2007
|
-
};
|
|
2008
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2009
|
-
}(Pe, Pe.exports)), Pe.exports;
|
|
2010
|
-
}
|
|
2011
|
-
var Cr;
|
|
2012
|
-
function Do() {
|
|
2013
|
-
return Cr || (Cr = 1, function(t, e) {
|
|
2014
|
-
Object.defineProperty(e, "__esModule", {
|
|
2015
|
-
value: !0
|
|
2016
|
-
}), Object.defineProperty(e, "useIntersection", {
|
|
2017
|
-
enumerable: !0,
|
|
2018
|
-
get: function() {
|
|
2019
|
-
return l;
|
|
2020
|
-
}
|
|
2021
|
-
});
|
|
2022
|
-
const o = ne, r = wo(), a = typeof IntersectionObserver == "function", n = /* @__PURE__ */ new Map(), i = [];
|
|
2023
|
-
function u(s) {
|
|
2024
|
-
const f = {
|
|
2025
|
-
root: s.root || null,
|
|
2026
|
-
margin: s.rootMargin || ""
|
|
2027
|
-
}, h = i.find((m) => m.root === f.root && m.margin === f.margin);
|
|
2028
|
-
let p;
|
|
2029
|
-
if (h && (p = n.get(h), p))
|
|
2030
|
-
return p;
|
|
2031
|
-
const v = /* @__PURE__ */ new Map(), g = new IntersectionObserver((m) => {
|
|
2032
|
-
m.forEach((A) => {
|
|
2033
|
-
const b = v.get(A.target), P = A.isIntersecting || A.intersectionRatio > 0;
|
|
2034
|
-
b && P && b(P);
|
|
2035
|
-
});
|
|
2036
|
-
}, s);
|
|
2037
|
-
return p = {
|
|
2038
|
-
id: f,
|
|
2039
|
-
observer: g,
|
|
2040
|
-
elements: v
|
|
2041
|
-
}, i.push(f), n.set(f, p), p;
|
|
2042
|
-
}
|
|
2043
|
-
function c(s, f, h) {
|
|
2044
|
-
const { id: p, observer: v, elements: g } = u(h);
|
|
2045
|
-
return g.set(s, f), v.observe(s), function() {
|
|
2046
|
-
if (g.delete(s), v.unobserve(s), g.size === 0) {
|
|
2047
|
-
v.disconnect(), n.delete(p);
|
|
2048
|
-
const A = i.findIndex((b) => b.root === p.root && b.margin === p.margin);
|
|
2049
|
-
A > -1 && i.splice(A, 1);
|
|
2050
|
-
}
|
|
2051
|
-
};
|
|
2052
|
-
}
|
|
2053
|
-
function l(s) {
|
|
2054
|
-
let { rootRef: f, rootMargin: h, disabled: p } = s;
|
|
2055
|
-
const v = p || !a, [g, m] = (0, o.useState)(!1), A = (0, o.useRef)(null), b = (0, o.useCallback)((R) => {
|
|
2056
|
-
A.current = R;
|
|
2057
|
-
}, []);
|
|
2058
|
-
(0, o.useEffect)(() => {
|
|
2059
|
-
if (a) {
|
|
2060
|
-
if (v || g) return;
|
|
2061
|
-
const R = A.current;
|
|
2062
|
-
if (R && R.tagName)
|
|
2063
|
-
return c(R, (N) => N && m(N), {
|
|
2064
|
-
root: f?.current,
|
|
2065
|
-
rootMargin: h
|
|
2066
|
-
});
|
|
2067
|
-
} else if (!g) {
|
|
2068
|
-
const R = (0, r.requestIdleCallback)(() => m(!0));
|
|
2069
|
-
return () => (0, r.cancelIdleCallback)(R);
|
|
2070
|
-
}
|
|
2071
|
-
}, [
|
|
2072
|
-
v,
|
|
2073
|
-
h,
|
|
2074
|
-
f,
|
|
2075
|
-
g,
|
|
2076
|
-
A.current
|
|
2077
|
-
]);
|
|
2078
|
-
const P = (0, o.useCallback)(() => {
|
|
2079
|
-
m(!1);
|
|
2080
|
-
}, []);
|
|
2081
|
-
return [
|
|
2082
|
-
b,
|
|
2083
|
-
g,
|
|
2084
|
-
P
|
|
2085
|
-
];
|
|
2086
|
-
}
|
|
2087
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2088
|
-
}(be, be.exports)), be.exports;
|
|
2089
|
-
}
|
|
2090
|
-
var ve = { exports: {} }, Oe = { exports: {} }, Pt = {}, wr;
|
|
2091
|
-
function Io() {
|
|
2092
|
-
return wr || (wr = 1, function(t) {
|
|
2093
|
-
Object.defineProperty(t, "__esModule", {
|
|
2094
|
-
value: !0
|
|
2095
|
-
}), Object.defineProperty(t, "normalizeLocalePath", {
|
|
2096
|
-
enumerable: !0,
|
|
2097
|
-
get: function() {
|
|
2098
|
-
return o;
|
|
2099
|
-
}
|
|
2100
|
-
});
|
|
2101
|
-
const e = /* @__PURE__ */ new WeakMap();
|
|
2102
|
-
function o(r, a) {
|
|
2103
|
-
if (!a) return {
|
|
2104
|
-
pathname: r
|
|
2105
|
-
};
|
|
2106
|
-
let n = e.get(a);
|
|
2107
|
-
n || (n = a.map((s) => s.toLowerCase()), e.set(a, n));
|
|
2108
|
-
let i;
|
|
2109
|
-
const u = r.split("/", 2);
|
|
2110
|
-
if (!u[1]) return {
|
|
2111
|
-
pathname: r
|
|
2112
|
-
};
|
|
2113
|
-
const c = u[1].toLowerCase(), l = n.indexOf(c);
|
|
2114
|
-
return l < 0 ? {
|
|
2115
|
-
pathname: r
|
|
2116
|
-
} : (i = a[l], r = r.slice(i.length + 1) || "/", {
|
|
2117
|
-
pathname: r,
|
|
2118
|
-
detectedLocale: i
|
|
2119
|
-
});
|
|
2120
|
-
}
|
|
2121
|
-
}(Pt)), Pt;
|
|
2122
|
-
}
|
|
2123
|
-
var Dr;
|
|
2124
|
-
function jo() {
|
|
2125
|
-
return Dr || (Dr = 1, function(t, e) {
|
|
2126
|
-
Object.defineProperty(e, "__esModule", {
|
|
2127
|
-
value: !0
|
|
2128
|
-
}), Object.defineProperty(e, "normalizeLocalePath", {
|
|
2129
|
-
enumerable: !0,
|
|
2130
|
-
get: function() {
|
|
2131
|
-
return o;
|
|
2132
|
-
}
|
|
2133
|
-
});
|
|
2134
|
-
const o = (r, a) => process.env.__NEXT_I18N_SUPPORT ? Io().normalizeLocalePath(r, a) : {
|
|
2135
|
-
pathname: r,
|
|
2136
|
-
detectedLocale: void 0
|
|
2137
|
-
};
|
|
2138
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2139
|
-
}(Oe, Oe.exports)), Oe.exports;
|
|
2140
|
-
}
|
|
2141
|
-
var Te = { exports: {} }, vt = {}, Ir;
|
|
2142
|
-
function Mo() {
|
|
2143
|
-
return Ir || (Ir = 1, function(t) {
|
|
2144
|
-
Object.defineProperty(t, "__esModule", {
|
|
2145
|
-
value: !0
|
|
2146
|
-
}), Object.defineProperty(t, "detectDomainLocale", {
|
|
2147
|
-
enumerable: !0,
|
|
2148
|
-
get: function() {
|
|
2149
|
-
return e;
|
|
2150
|
-
}
|
|
2151
|
-
});
|
|
2152
|
-
function e(o, r, a) {
|
|
2153
|
-
if (o) {
|
|
2154
|
-
a && (a = a.toLowerCase());
|
|
2155
|
-
for (const u of o) {
|
|
2156
|
-
var n, i;
|
|
2157
|
-
const c = (n = u.domain) == null ? void 0 : n.split(":", 1)[0].toLowerCase();
|
|
2158
|
-
if (r === c || a === u.defaultLocale.toLowerCase() || (i = u.locales) != null && i.some((l) => l.toLowerCase() === a))
|
|
2159
|
-
return u;
|
|
2160
|
-
}
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
}(vt)), vt;
|
|
2164
|
-
}
|
|
2165
|
-
var jr;
|
|
2166
|
-
function Lo() {
|
|
2167
|
-
return jr || (jr = 1, function(t, e) {
|
|
2168
|
-
Object.defineProperty(e, "__esModule", {
|
|
2169
|
-
value: !0
|
|
2170
|
-
}), Object.defineProperty(e, "detectDomainLocale", {
|
|
2171
|
-
enumerable: !0,
|
|
2172
|
-
get: function() {
|
|
2173
|
-
return o;
|
|
2174
|
-
}
|
|
2175
|
-
});
|
|
2176
|
-
const o = function() {
|
|
2177
|
-
for (var r = arguments.length, a = new Array(r), n = 0; n < r; n++)
|
|
2178
|
-
a[n] = arguments[n];
|
|
2179
|
-
if (process.env.__NEXT_I18N_SUPPORT)
|
|
2180
|
-
return Mo().detectDomainLocale(...a);
|
|
2181
|
-
};
|
|
2182
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2183
|
-
}(Te, Te.exports)), Te.exports;
|
|
2184
|
-
}
|
|
2185
|
-
var Mr;
|
|
2186
|
-
function xo() {
|
|
2187
|
-
return Mr || (Mr = 1, function(t, e) {
|
|
2188
|
-
Object.defineProperty(e, "__esModule", {
|
|
2189
|
-
value: !0
|
|
2190
|
-
}), Object.defineProperty(e, "getDomainLocale", {
|
|
2191
|
-
enumerable: !0,
|
|
2192
|
-
get: function() {
|
|
2193
|
-
return a;
|
|
2194
|
-
}
|
|
2195
|
-
});
|
|
2196
|
-
const o = Ye(), r = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
2197
|
-
function a(n, i, u, c) {
|
|
2198
|
-
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
2199
|
-
const l = jo().normalizeLocalePath, s = Lo().detectDomainLocale, f = i || l(n, u).detectedLocale, h = s(c, void 0, f);
|
|
2200
|
-
if (h) {
|
|
2201
|
-
const p = "http" + (h.http ? "" : "s") + "://", v = f === h.defaultLocale ? "" : "/" + f;
|
|
2202
|
-
return "" + p + h.domain + (0, o.normalizePathTrailingSlash)("" + r + v + n);
|
|
2203
|
-
}
|
|
2204
|
-
return !1;
|
|
2205
|
-
} else
|
|
2206
|
-
return !1;
|
|
2207
|
-
}
|
|
2208
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2209
|
-
}(ve, ve.exports)), ve.exports;
|
|
2210
|
-
}
|
|
2211
|
-
var Ae = { exports: {} }, Lr;
|
|
2212
|
-
function qo() {
|
|
2213
|
-
return Lr || (Lr = 1, function(t, e) {
|
|
2214
|
-
Object.defineProperty(e, "__esModule", {
|
|
2215
|
-
value: !0
|
|
2216
|
-
}), Object.defineProperty(e, "addBasePath", {
|
|
2217
|
-
enumerable: !0,
|
|
2218
|
-
get: function() {
|
|
2219
|
-
return n;
|
|
2220
|
-
}
|
|
2221
|
-
});
|
|
2222
|
-
const o = Mn(), r = Ye(), a = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
2223
|
-
function n(i, u) {
|
|
2224
|
-
return (0, r.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !u ? i : (0, o.addPathPrefix)(i, a));
|
|
2225
|
-
}
|
|
2226
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2227
|
-
}(Ae, Ae.exports)), Ae.exports;
|
|
2228
|
-
}
|
|
2229
|
-
var Ne = { exports: {} }, xr;
|
|
2230
|
-
function ko() {
|
|
2231
|
-
return xr || (xr = 1, function(t, e) {
|
|
2232
|
-
Object.defineProperty(e, "__esModule", {
|
|
2233
|
-
value: !0
|
|
2234
|
-
}), Object.defineProperty(e, "useMergedRef", {
|
|
2235
|
-
enumerable: !0,
|
|
2236
|
-
get: function() {
|
|
2237
|
-
return r;
|
|
2238
|
-
}
|
|
2239
|
-
});
|
|
2240
|
-
const o = ne;
|
|
2241
|
-
function r(n, i) {
|
|
2242
|
-
const u = (0, o.useRef)(null), c = (0, o.useRef)(null);
|
|
2243
|
-
return (0, o.useCallback)((l) => {
|
|
2244
|
-
if (l === null) {
|
|
2245
|
-
const s = u.current;
|
|
2246
|
-
s && (u.current = null, s());
|
|
2247
|
-
const f = c.current;
|
|
2248
|
-
f && (c.current = null, f());
|
|
2249
|
-
} else
|
|
2250
|
-
n && (u.current = a(n, l)), i && (c.current = a(i, l));
|
|
2251
|
-
}, [
|
|
2252
|
-
n,
|
|
2253
|
-
i
|
|
2254
|
-
]);
|
|
2255
|
-
}
|
|
2256
|
-
function a(n, i) {
|
|
2257
|
-
if (typeof n == "function") {
|
|
2258
|
-
const u = n(i);
|
|
2259
|
-
return typeof u == "function" ? u : () => n(null);
|
|
2260
|
-
} else
|
|
2261
|
-
return n.current = i, () => {
|
|
2262
|
-
n.current = null;
|
|
2263
|
-
};
|
|
2264
|
-
}
|
|
2265
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2266
|
-
}(Ne, Ne.exports)), Ne.exports;
|
|
2267
|
-
}
|
|
2268
|
-
var Ot = {}, qr;
|
|
2269
|
-
function Uo() {
|
|
2270
|
-
return qr || (qr = 1, function(t) {
|
|
2271
|
-
Object.defineProperty(t, "__esModule", {
|
|
2272
|
-
value: !0
|
|
2273
|
-
}), Object.defineProperty(t, "errorOnce", {
|
|
2274
|
-
enumerable: !0,
|
|
2275
|
-
get: function() {
|
|
2276
|
-
return e;
|
|
2277
|
-
}
|
|
2278
|
-
});
|
|
2279
|
-
let e = (o) => {
|
|
2280
|
-
};
|
|
2281
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2282
|
-
const o = /* @__PURE__ */ new Set();
|
|
2283
|
-
e = (r) => {
|
|
2284
|
-
o.has(r) || console.error(r), o.add(r);
|
|
2285
|
-
};
|
|
2286
|
-
}
|
|
2287
|
-
}(Ot)), Ot;
|
|
2288
|
-
}
|
|
2289
|
-
var kr;
|
|
2290
|
-
function Fo() {
|
|
2291
|
-
return kr || (kr = 1, function(t, e) {
|
|
2292
|
-
"use client";
|
|
2293
|
-
Object.defineProperty(e, "__esModule", {
|
|
2294
|
-
value: !0
|
|
2295
|
-
});
|
|
2296
|
-
function o(O, S) {
|
|
2297
|
-
for (var X in S) Object.defineProperty(O, X, {
|
|
2298
|
-
enumerable: !0,
|
|
2299
|
-
get: S[X]
|
|
2300
|
-
});
|
|
2301
|
-
}
|
|
2302
|
-
o(e, {
|
|
2303
|
-
default: function() {
|
|
2304
|
-
return x;
|
|
2305
|
-
},
|
|
2306
|
-
useLinkStatus: function() {
|
|
2307
|
-
return D;
|
|
2308
|
-
}
|
|
2309
|
-
});
|
|
2310
|
-
const r = /* @__PURE__ */ Gt(), a = An(), n = /* @__PURE__ */ r._(ne), i = Ao(), u = Dn(), c = Sn(), l = Ve(), s = So(), f = Co(), h = Do(), p = xo(), v = qo(), g = ko(), m = Uo(), A = /* @__PURE__ */ new Set();
|
|
2311
|
-
function b(O, S, X, B) {
|
|
2312
|
-
if (!(typeof window > "u") && (0, u.isLocalURL)(S)) {
|
|
2313
|
-
if (!B.bypassPrefetchedCheck) {
|
|
2314
|
-
const F = (
|
|
2315
|
-
// Let the link's locale prop override the default router locale.
|
|
2316
|
-
typeof B.locale < "u" ? B.locale : "locale" in O ? O.locale : void 0
|
|
2317
|
-
), Y = S + "%" + X + "%" + F;
|
|
2318
|
-
if (A.has(Y))
|
|
2319
|
-
return;
|
|
2320
|
-
A.add(Y);
|
|
2321
|
-
}
|
|
2322
|
-
O.prefetch(S, X, B).catch((F) => {
|
|
2323
|
-
if (process.env.NODE_ENV !== "production")
|
|
2324
|
-
throw F;
|
|
2325
|
-
});
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
function P(O) {
|
|
2329
|
-
const X = O.currentTarget.getAttribute("target");
|
|
2330
|
-
return X && X !== "_self" || O.metaKey || O.ctrlKey || O.shiftKey || O.altKey || // triggers resource download
|
|
2331
|
-
O.nativeEvent && O.nativeEvent.which === 2;
|
|
2332
|
-
}
|
|
2333
|
-
function R(O, S, X, B, F, Y, K, ee, Q) {
|
|
2334
|
-
const { nodeName: J } = O.currentTarget;
|
|
2335
|
-
if (J.toUpperCase() === "A" && P(O) || O.currentTarget.hasAttribute("download"))
|
|
2336
|
-
return;
|
|
2337
|
-
if (!(0, u.isLocalURL)(X)) {
|
|
2338
|
-
F && (O.preventDefault(), location.replace(X));
|
|
2339
|
-
return;
|
|
2340
|
-
}
|
|
2341
|
-
O.preventDefault(), (() => {
|
|
2342
|
-
if (Q) {
|
|
2343
|
-
let G = !1;
|
|
2344
|
-
if (Q({
|
|
2345
|
-
preventDefault: () => {
|
|
2346
|
-
G = !0;
|
|
2347
|
-
}
|
|
2348
|
-
}), G)
|
|
2349
|
-
return;
|
|
2350
|
-
}
|
|
2351
|
-
const j = K ?? !0;
|
|
2352
|
-
"beforePopState" in S ? S[F ? "replace" : "push"](X, B, {
|
|
2353
|
-
shallow: Y,
|
|
2354
|
-
locale: ee,
|
|
2355
|
-
scroll: j
|
|
2356
|
-
}) : S[F ? "replace" : "push"](B || X, {
|
|
2357
|
-
scroll: j
|
|
2358
|
-
});
|
|
2359
|
-
})();
|
|
2360
|
-
}
|
|
2361
|
-
function y(O) {
|
|
2362
|
-
return typeof O == "string" ? O : (0, c.formatUrl)(O);
|
|
2363
|
-
}
|
|
2364
|
-
const N = /* @__PURE__ */ n.default.forwardRef(function(S, X) {
|
|
2365
|
-
let B;
|
|
2366
|
-
const { href: F, as: Y, children: K, prefetch: ee = null, passHref: Q, replace: J, shallow: E, scroll: C, locale: j, onClick: G, onNavigate: z, onMouseEnter: V, onTouchStart: te, legacyBehavior: H = !1, ...$ } = S;
|
|
2367
|
-
B = K, H && (typeof B == "string" || typeof B == "number") && (B = /* @__PURE__ */ (0, a.jsx)("a", {
|
|
2368
|
-
children: B
|
|
2369
|
-
}));
|
|
2370
|
-
const L = n.default.useContext(f.RouterContext), re = ee !== !1;
|
|
2371
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2372
|
-
let W = function(k) {
|
|
2373
|
-
return Object.defineProperty(new Error("Failed prop type: The prop `" + k.key + "` expects a " + k.expected + " in `<Link>`, but got `" + k.actual + "` instead." + (typeof window < "u" ? `
|
|
2374
|
-
Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
|
|
2375
|
-
value: "E319",
|
|
2376
|
-
enumerable: !1,
|
|
2377
|
-
configurable: !0
|
|
2378
|
-
});
|
|
2379
|
-
};
|
|
2380
|
-
Object.keys({
|
|
2381
|
-
href: !0
|
|
2382
|
-
}).forEach((k) => {
|
|
2383
|
-
if (k === "href" && (S[k] == null || typeof S[k] != "string" && typeof S[k] != "object"))
|
|
2384
|
-
throw W({
|
|
2385
|
-
key: k,
|
|
2386
|
-
expected: "`string` or `object`",
|
|
2387
|
-
actual: S[k] === null ? "null" : typeof S[k]
|
|
2388
|
-
});
|
|
2389
|
-
}), Object.keys({
|
|
2390
|
-
as: !0,
|
|
2391
|
-
replace: !0,
|
|
2392
|
-
scroll: !0,
|
|
2393
|
-
shallow: !0,
|
|
2394
|
-
passHref: !0,
|
|
2395
|
-
prefetch: !0,
|
|
2396
|
-
locale: !0,
|
|
2397
|
-
onClick: !0,
|
|
2398
|
-
onMouseEnter: !0,
|
|
2399
|
-
onTouchStart: !0,
|
|
2400
|
-
legacyBehavior: !0,
|
|
2401
|
-
onNavigate: !0
|
|
2402
|
-
}).forEach((k) => {
|
|
2403
|
-
const oe = typeof S[k];
|
|
2404
|
-
if (k === "as") {
|
|
2405
|
-
if (S[k] && oe !== "string" && oe !== "object")
|
|
2406
|
-
throw W({
|
|
2407
|
-
key: k,
|
|
2408
|
-
expected: "`string` or `object`",
|
|
2409
|
-
actual: oe
|
|
2410
|
-
});
|
|
2411
|
-
} else if (k === "locale") {
|
|
2412
|
-
if (S[k] && oe !== "string")
|
|
2413
|
-
throw W({
|
|
2414
|
-
key: k,
|
|
2415
|
-
expected: "`string`",
|
|
2416
|
-
actual: oe
|
|
2417
|
-
});
|
|
2418
|
-
} else if (k === "onClick" || k === "onMouseEnter" || k === "onTouchStart" || k === "onNavigate") {
|
|
2419
|
-
if (S[k] && oe !== "function")
|
|
2420
|
-
throw W({
|
|
2421
|
-
key: k,
|
|
2422
|
-
expected: "`function`",
|
|
2423
|
-
actual: oe
|
|
2424
|
-
});
|
|
2425
|
-
} else if ((k === "replace" || k === "scroll" || k === "shallow" || k === "passHref" || k === "prefetch" || k === "legacyBehavior") && S[k] != null && oe !== "boolean")
|
|
2426
|
-
throw W({
|
|
2427
|
-
key: k,
|
|
2428
|
-
expected: "`boolean`",
|
|
2429
|
-
actual: oe
|
|
2430
|
-
});
|
|
2431
|
-
});
|
|
2432
|
-
}
|
|
2433
|
-
const { href: _, as: d } = n.default.useMemo(() => {
|
|
2434
|
-
if (!L) {
|
|
2435
|
-
const Ke = y(F);
|
|
2436
|
-
return {
|
|
2437
|
-
href: Ke,
|
|
2438
|
-
as: Y ? y(Y) : Ke
|
|
2439
|
-
};
|
|
2440
|
-
}
|
|
2441
|
-
const [W, ce] = (0, i.resolveHref)(L, F, !0);
|
|
2442
|
-
return {
|
|
2443
|
-
href: W,
|
|
2444
|
-
as: Y ? (0, i.resolveHref)(L, Y) : ce || W
|
|
2445
|
-
};
|
|
2446
|
-
}, [
|
|
2447
|
-
L,
|
|
2448
|
-
F,
|
|
2449
|
-
Y
|
|
2450
|
-
]), T = n.default.useRef(_), q = n.default.useRef(d);
|
|
2451
|
-
let I;
|
|
2452
|
-
if (H)
|
|
2453
|
-
if (process.env.NODE_ENV === "development") {
|
|
2454
|
-
G && console.warn('"onClick" was passed to <Link> with `href` of `' + F + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'), V && console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + F + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
|
|
2455
|
-
try {
|
|
2456
|
-
I = n.default.Children.only(B);
|
|
2457
|
-
} catch {
|
|
2458
|
-
throw B ? Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `" + F + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window < "u" ? `
|
|
2459
|
-
Open your browser's console to view the Component stack trace.` : "")), "__NEXT_ERROR_CODE", {
|
|
2460
|
-
value: "E266",
|
|
2461
|
-
enumerable: !1,
|
|
2462
|
-
configurable: !0
|
|
2463
|
-
}) : Object.defineProperty(new Error("No children were passed to <Link> with `href` of `" + F + "` but one child is required https://nextjs.org/docs/messages/link-no-children"), "__NEXT_ERROR_CODE", {
|
|
2464
|
-
value: "E320",
|
|
2465
|
-
enumerable: !1,
|
|
2466
|
-
configurable: !0
|
|
2467
|
-
});
|
|
2468
|
-
}
|
|
2469
|
-
} else
|
|
2470
|
-
I = n.default.Children.only(B);
|
|
2471
|
-
else if (process.env.NODE_ENV === "development" && B?.type === "a")
|
|
2472
|
-
throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
|
|
2473
|
-
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`), "__NEXT_ERROR_CODE", {
|
|
2474
|
-
value: "E209",
|
|
2475
|
-
enumerable: !1,
|
|
2476
|
-
configurable: !0
|
|
2477
|
-
});
|
|
2478
|
-
const w = H ? I && typeof I == "object" && I.ref : X, [Z, ae, ie] = (0, h.useIntersection)({
|
|
2479
|
-
rootMargin: "200px"
|
|
2480
|
-
}), de = n.default.useCallback((W) => {
|
|
2481
|
-
(q.current !== d || T.current !== _) && (ie(), q.current = d, T.current = _), Z(W);
|
|
2482
|
-
}, [
|
|
2483
|
-
d,
|
|
2484
|
-
_,
|
|
2485
|
-
ie,
|
|
2486
|
-
Z
|
|
2487
|
-
]), _e = (0, g.useMergedRef)(de, w);
|
|
2488
|
-
n.default.useEffect(() => {
|
|
2489
|
-
process.env.NODE_ENV === "production" && L && (!ae || !re || b(L, _, d, {
|
|
2490
|
-
locale: j
|
|
2491
|
-
}));
|
|
2492
|
-
}, [
|
|
2493
|
-
d,
|
|
2494
|
-
_,
|
|
2495
|
-
ae,
|
|
2496
|
-
j,
|
|
2497
|
-
re,
|
|
2498
|
-
L?.locale,
|
|
2499
|
-
L
|
|
2500
|
-
]);
|
|
2501
|
-
const Ee = {
|
|
2502
|
-
ref: _e,
|
|
2503
|
-
onClick(W) {
|
|
2504
|
-
if (process.env.NODE_ENV !== "production" && !W)
|
|
2505
|
-
throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'), "__NEXT_ERROR_CODE", {
|
|
2506
|
-
value: "E312",
|
|
2507
|
-
enumerable: !1,
|
|
2508
|
-
configurable: !0
|
|
2509
|
-
});
|
|
2510
|
-
!H && typeof G == "function" && G(W), H && I.props && typeof I.props.onClick == "function" && I.props.onClick(W), L && (W.defaultPrevented || R(W, L, _, d, J, E, C, j, z));
|
|
2511
|
-
},
|
|
2512
|
-
onMouseEnter(W) {
|
|
2513
|
-
!H && typeof V == "function" && V(W), H && I.props && typeof I.props.onMouseEnter == "function" && I.props.onMouseEnter(W), L && b(L, _, d, {
|
|
2514
|
-
locale: j,
|
|
2515
|
-
priority: !0,
|
|
2516
|
-
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
2517
|
-
bypassPrefetchedCheck: !0
|
|
2518
|
-
});
|
|
2519
|
-
},
|
|
2520
|
-
onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(ce) {
|
|
2521
|
-
!H && typeof te == "function" && te(ce), H && I.props && typeof I.props.onTouchStart == "function" && I.props.onTouchStart(ce), L && b(L, _, d, {
|
|
2522
|
-
locale: j,
|
|
2523
|
-
priority: !0,
|
|
2524
|
-
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
2525
|
-
bypassPrefetchedCheck: !0
|
|
2526
|
-
});
|
|
2527
|
-
}
|
|
2528
|
-
};
|
|
2529
|
-
if ((0, l.isAbsoluteUrl)(d))
|
|
2530
|
-
Ee.href = d;
|
|
2531
|
-
else if (!H || Q || I.type === "a" && !("href" in I.props)) {
|
|
2532
|
-
const W = typeof j < "u" ? j : L?.locale, ce = L?.isLocaleDomain && (0, p.getDomainLocale)(d, W, L?.locales, L?.domainLocales);
|
|
2533
|
-
Ee.href = ce || (0, v.addBasePath)((0, s.addLocale)(d, W, L?.defaultLocale));
|
|
2534
|
-
}
|
|
2535
|
-
return H ? (process.env.NODE_ENV === "development" && (0, m.errorOnce)(`\`legacyBehavior\` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:
|
|
2536
|
-
|
|
2537
|
-
npx @next/codemod@latest new-link .
|
|
2538
|
-
|
|
2539
|
-
Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`), /* @__PURE__ */ n.default.cloneElement(I, Ee)) : /* @__PURE__ */ (0, a.jsx)("a", {
|
|
2540
|
-
...$,
|
|
2541
|
-
...Ee,
|
|
2542
|
-
children: B
|
|
2543
|
-
});
|
|
2544
|
-
}), M = /* @__PURE__ */ (0, n.createContext)({
|
|
2545
|
-
// We do not support link status in the Pages Router, so we always return false
|
|
2546
|
-
pending: !1
|
|
2547
|
-
}), D = () => (0, n.useContext)(M), x = N;
|
|
2548
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2549
|
-
}(Re, Re.exports)), Re.exports;
|
|
2550
|
-
}
|
|
2551
|
-
var Tt, Ur;
|
|
2552
|
-
function Xo() {
|
|
2553
|
-
return Ur || (Ur = 1, Tt = Fo()), Tt;
|
|
2554
|
-
}
|
|
2555
|
-
var Bo = Xo();
|
|
2556
|
-
const Go = /* @__PURE__ */ oo(Bo);
|
|
2557
|
-
var Se = { exports: {} }, At = {}, Fr;
|
|
2558
|
-
function Wo() {
|
|
2559
|
-
return Fr || (Fr = 1, function(t) {
|
|
2560
|
-
"use client";
|
|
2561
|
-
Object.defineProperty(t, "__esModule", {
|
|
2562
|
-
value: !0
|
|
2563
|
-
});
|
|
2564
|
-
function e(l, s) {
|
|
2565
|
-
for (var f in s) Object.defineProperty(l, f, {
|
|
2566
|
-
enumerable: !0,
|
|
2567
|
-
get: s[f]
|
|
2568
|
-
});
|
|
2569
|
-
}
|
|
2570
|
-
e(t, {
|
|
2571
|
-
AppRouterContext: function() {
|
|
2572
|
-
return a;
|
|
2573
|
-
},
|
|
2574
|
-
GlobalLayoutRouterContext: function() {
|
|
2575
|
-
return i;
|
|
2576
|
-
},
|
|
2577
|
-
LayoutRouterContext: function() {
|
|
2578
|
-
return n;
|
|
2579
|
-
},
|
|
2580
|
-
MissingSlotContext: function() {
|
|
2581
|
-
return c;
|
|
2582
|
-
},
|
|
2583
|
-
TemplateContext: function() {
|
|
2584
|
-
return u;
|
|
2585
|
-
}
|
|
2586
|
-
});
|
|
2587
|
-
const r = /* @__PURE__ */ (/* @__PURE__ */ Ln())._(ne), a = r.default.createContext(null), n = r.default.createContext(null), i = r.default.createContext(null), u = r.default.createContext(null);
|
|
2588
|
-
process.env.NODE_ENV !== "production" && (a.displayName = "AppRouterContext", n.displayName = "LayoutRouterContext", i.displayName = "GlobalLayoutRouterContext", u.displayName = "TemplateContext");
|
|
2589
|
-
const c = r.default.createContext(/* @__PURE__ */ new Set());
|
|
2590
|
-
}(At)), At;
|
|
2591
|
-
}
|
|
2592
|
-
var Nt = {}, Xr;
|
|
2593
|
-
function $o() {
|
|
2594
|
-
return Xr || (Xr = 1, function(t) {
|
|
2595
|
-
"use client";
|
|
2596
|
-
Object.defineProperty(t, "__esModule", {
|
|
2597
|
-
value: !0
|
|
2598
|
-
});
|
|
2599
|
-
function e(i, u) {
|
|
2600
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
2601
|
-
enumerable: !0,
|
|
2602
|
-
get: u[c]
|
|
2603
|
-
});
|
|
2604
|
-
}
|
|
2605
|
-
e(t, {
|
|
2606
|
-
PathParamsContext: function() {
|
|
2607
|
-
return n;
|
|
2608
|
-
},
|
|
2609
|
-
PathnameContext: function() {
|
|
2610
|
-
return a;
|
|
2611
|
-
},
|
|
2612
|
-
SearchParamsContext: function() {
|
|
2613
|
-
return r;
|
|
2614
|
-
}
|
|
2615
|
-
});
|
|
2616
|
-
const o = ne, r = (0, o.createContext)(null), a = (0, o.createContext)(null), n = (0, o.createContext)(null);
|
|
2617
|
-
process.env.NODE_ENV !== "production" && (r.displayName = "SearchParamsContext", a.displayName = "PathnameContext", n.displayName = "PathParamsContext");
|
|
2618
|
-
}(Nt)), Nt;
|
|
2619
|
-
}
|
|
2620
|
-
var Ce = { exports: {} }, Br;
|
|
2621
|
-
function Ho() {
|
|
2622
|
-
return Br || (Br = 1, function(t, e) {
|
|
2623
|
-
Object.defineProperty(e, "__esModule", {
|
|
2624
|
-
value: !0
|
|
2625
|
-
}), Object.defineProperty(e, "getSegmentValue", {
|
|
2626
|
-
enumerable: !0,
|
|
2627
|
-
get: function() {
|
|
2628
|
-
return o;
|
|
2629
|
-
}
|
|
2630
|
-
});
|
|
2631
|
-
function o(r) {
|
|
2632
|
-
return Array.isArray(r) ? r[1] : r;
|
|
2633
|
-
}
|
|
2634
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2635
|
-
}(Ce, Ce.exports)), Ce.exports;
|
|
2636
|
-
}
|
|
2637
|
-
var we = { exports: {} }, De = { exports: {} }, Ie = { exports: {} }, Gr;
|
|
2638
|
-
function xn() {
|
|
2639
|
-
return Gr || (Gr = 1, function(t, e) {
|
|
2640
|
-
Object.defineProperty(e, "__esModule", {
|
|
2641
|
-
value: !0
|
|
2642
|
-
}), Object.defineProperty(e, "RedirectStatusCode", {
|
|
2643
|
-
enumerable: !0,
|
|
2644
|
-
get: function() {
|
|
2645
|
-
return o;
|
|
2646
|
-
}
|
|
2647
|
-
});
|
|
2648
|
-
var o = /* @__PURE__ */ function(r) {
|
|
2649
|
-
return r[r.SeeOther = 303] = "SeeOther", r[r.TemporaryRedirect = 307] = "TemporaryRedirect", r[r.PermanentRedirect = 308] = "PermanentRedirect", r;
|
|
2650
|
-
}({});
|
|
2651
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2652
|
-
}(Ie, Ie.exports)), Ie.exports;
|
|
2653
|
-
}
|
|
2654
|
-
var je = { exports: {} }, Wr;
|
|
2655
|
-
function $t() {
|
|
2656
|
-
return Wr || (Wr = 1, function(t, e) {
|
|
2657
|
-
Object.defineProperty(e, "__esModule", {
|
|
2658
|
-
value: !0
|
|
2659
|
-
});
|
|
2660
|
-
function o(u, c) {
|
|
2661
|
-
for (var l in c) Object.defineProperty(u, l, {
|
|
2662
|
-
enumerable: !0,
|
|
2663
|
-
get: c[l]
|
|
2664
|
-
});
|
|
2665
|
-
}
|
|
2666
|
-
o(e, {
|
|
2667
|
-
REDIRECT_ERROR_CODE: function() {
|
|
2668
|
-
return a;
|
|
2669
|
-
},
|
|
2670
|
-
RedirectType: function() {
|
|
2671
|
-
return n;
|
|
2672
|
-
},
|
|
2673
|
-
isRedirectError: function() {
|
|
2674
|
-
return i;
|
|
2675
|
-
}
|
|
2676
|
-
});
|
|
2677
|
-
const r = xn(), a = "NEXT_REDIRECT";
|
|
2678
|
-
var n = /* @__PURE__ */ function(u) {
|
|
2679
|
-
return u.push = "push", u.replace = "replace", u;
|
|
2680
|
-
}({});
|
|
2681
|
-
function i(u) {
|
|
2682
|
-
if (typeof u != "object" || u === null || !("digest" in u) || typeof u.digest != "string")
|
|
2683
|
-
return !1;
|
|
2684
|
-
const c = u.digest.split(";"), [l, s] = c, f = c.slice(2, -2).join(";"), h = c.at(-2), p = Number(h);
|
|
2685
|
-
return l === a && (s === "replace" || s === "push") && typeof f == "string" && !isNaN(p) && p in r.RedirectStatusCode;
|
|
2686
|
-
}
|
|
2687
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2688
|
-
}(je, je.exports)), je.exports;
|
|
2689
|
-
}
|
|
2690
|
-
var St = {}, Ct = {}, wt = {}, $r;
|
|
2691
|
-
function Ht() {
|
|
2692
|
-
return $r || ($r = 1, function(t) {
|
|
2693
|
-
Object.defineProperty(t, "__esModule", {
|
|
2694
|
-
value: !0
|
|
2695
|
-
});
|
|
2696
|
-
function e(c, l) {
|
|
2697
|
-
for (var s in l) Object.defineProperty(c, s, {
|
|
2698
|
-
enumerable: !0,
|
|
2699
|
-
get: l[s]
|
|
2700
|
-
});
|
|
2701
|
-
}
|
|
2702
|
-
e(t, {
|
|
2703
|
-
bindSnapshot: function() {
|
|
2704
|
-
return i;
|
|
2705
|
-
},
|
|
2706
|
-
createAsyncLocalStorage: function() {
|
|
2707
|
-
return n;
|
|
2708
|
-
},
|
|
2709
|
-
createSnapshot: function() {
|
|
2710
|
-
return u;
|
|
2711
|
-
}
|
|
2712
|
-
});
|
|
2713
|
-
const o = Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"), "__NEXT_ERROR_CODE", {
|
|
2714
|
-
value: "E504",
|
|
2715
|
-
enumerable: !1,
|
|
2716
|
-
configurable: !0
|
|
2717
|
-
});
|
|
2718
|
-
class r {
|
|
2719
|
-
disable() {
|
|
2720
|
-
throw o;
|
|
2721
|
-
}
|
|
2722
|
-
getStore() {
|
|
2723
|
-
}
|
|
2724
|
-
run() {
|
|
2725
|
-
throw o;
|
|
2726
|
-
}
|
|
2727
|
-
exit() {
|
|
2728
|
-
throw o;
|
|
2729
|
-
}
|
|
2730
|
-
enterWith() {
|
|
2731
|
-
throw o;
|
|
2732
|
-
}
|
|
2733
|
-
static bind(l) {
|
|
2734
|
-
return l;
|
|
2735
|
-
}
|
|
2736
|
-
}
|
|
2737
|
-
const a = typeof globalThis < "u" && globalThis.AsyncLocalStorage;
|
|
2738
|
-
function n() {
|
|
2739
|
-
return a ? new a() : new r();
|
|
2740
|
-
}
|
|
2741
|
-
function i(c) {
|
|
2742
|
-
return a ? a.bind(c) : r.bind(c);
|
|
2743
|
-
}
|
|
2744
|
-
function u() {
|
|
2745
|
-
return a ? a.snapshot() : function(c, ...l) {
|
|
2746
|
-
return c(...l);
|
|
2747
|
-
};
|
|
2748
|
-
}
|
|
2749
|
-
}(wt)), wt;
|
|
2750
|
-
}
|
|
2751
|
-
var Hr;
|
|
2752
|
-
function Vo() {
|
|
2753
|
-
return Hr || (Hr = 1, function(t) {
|
|
2754
|
-
Object.defineProperty(t, "__esModule", {
|
|
2755
|
-
value: !0
|
|
2756
|
-
}), Object.defineProperty(t, "actionAsyncStorageInstance", {
|
|
2757
|
-
enumerable: !0,
|
|
2758
|
-
get: function() {
|
|
2759
|
-
return o;
|
|
2760
|
-
}
|
|
2761
|
-
});
|
|
2762
|
-
const o = (0, Ht().createAsyncLocalStorage)();
|
|
2763
|
-
}(Ct)), Ct;
|
|
2764
|
-
}
|
|
2765
|
-
var Vr;
|
|
2766
|
-
function Yo() {
|
|
2767
|
-
return Vr || (Vr = 1, function(t) {
|
|
2768
|
-
Object.defineProperty(t, "__esModule", {
|
|
2769
|
-
value: !0
|
|
2770
|
-
}), Object.defineProperty(t, "actionAsyncStorage", {
|
|
2771
|
-
enumerable: !0,
|
|
2772
|
-
get: function() {
|
|
2773
|
-
return e.actionAsyncStorageInstance;
|
|
2774
|
-
}
|
|
2775
|
-
});
|
|
2776
|
-
const e = Vo();
|
|
2777
|
-
}(St)), St;
|
|
2778
|
-
}
|
|
2779
|
-
var Yr;
|
|
2780
|
-
function zo() {
|
|
2781
|
-
return Yr || (Yr = 1, function(t, e) {
|
|
2782
|
-
Object.defineProperty(e, "__esModule", {
|
|
2783
|
-
value: !0
|
|
2784
|
-
});
|
|
2785
|
-
function o(h, p) {
|
|
2786
|
-
for (var v in p) Object.defineProperty(h, v, {
|
|
2787
|
-
enumerable: !0,
|
|
2788
|
-
get: p[v]
|
|
2789
|
-
});
|
|
2790
|
-
}
|
|
2791
|
-
o(e, {
|
|
2792
|
-
getRedirectError: function() {
|
|
2793
|
-
return i;
|
|
2794
|
-
},
|
|
2795
|
-
getRedirectStatusCodeFromError: function() {
|
|
2796
|
-
return f;
|
|
2797
|
-
},
|
|
2798
|
-
getRedirectTypeFromError: function() {
|
|
2799
|
-
return s;
|
|
2800
|
-
},
|
|
2801
|
-
getURLFromRedirectError: function() {
|
|
2802
|
-
return l;
|
|
2803
|
-
},
|
|
2804
|
-
permanentRedirect: function() {
|
|
2805
|
-
return c;
|
|
2806
|
-
},
|
|
2807
|
-
redirect: function() {
|
|
2808
|
-
return u;
|
|
2809
|
-
}
|
|
2810
|
-
});
|
|
2811
|
-
const r = xn(), a = $t(), n = typeof window > "u" ? Yo().actionAsyncStorage : void 0;
|
|
2812
|
-
function i(h, p, v) {
|
|
2813
|
-
v === void 0 && (v = r.RedirectStatusCode.TemporaryRedirect);
|
|
2814
|
-
const g = Object.defineProperty(new Error(a.REDIRECT_ERROR_CODE), "__NEXT_ERROR_CODE", {
|
|
2815
|
-
value: "E394",
|
|
2816
|
-
enumerable: !1,
|
|
2817
|
-
configurable: !0
|
|
2818
|
-
});
|
|
2819
|
-
return g.digest = a.REDIRECT_ERROR_CODE + ";" + p + ";" + h + ";" + v + ";", g;
|
|
2820
|
-
}
|
|
2821
|
-
function u(h, p) {
|
|
2822
|
-
var v;
|
|
2823
|
-
throw p ?? (p = !(n == null || (v = n.getStore()) == null) && v.isAction ? a.RedirectType.push : a.RedirectType.replace), i(h, p, r.RedirectStatusCode.TemporaryRedirect);
|
|
2824
|
-
}
|
|
2825
|
-
function c(h, p) {
|
|
2826
|
-
throw p === void 0 && (p = a.RedirectType.replace), i(h, p, r.RedirectStatusCode.PermanentRedirect);
|
|
2827
|
-
}
|
|
2828
|
-
function l(h) {
|
|
2829
|
-
return (0, a.isRedirectError)(h) ? h.digest.split(";").slice(2, -2).join(";") : null;
|
|
2830
|
-
}
|
|
2831
|
-
function s(h) {
|
|
2832
|
-
if (!(0, a.isRedirectError)(h))
|
|
2833
|
-
throw Object.defineProperty(new Error("Not a redirect error"), "__NEXT_ERROR_CODE", {
|
|
2834
|
-
value: "E260",
|
|
2835
|
-
enumerable: !1,
|
|
2836
|
-
configurable: !0
|
|
2837
|
-
});
|
|
2838
|
-
return h.digest.split(";", 2)[1];
|
|
2839
|
-
}
|
|
2840
|
-
function f(h) {
|
|
2841
|
-
if (!(0, a.isRedirectError)(h))
|
|
2842
|
-
throw Object.defineProperty(new Error("Not a redirect error"), "__NEXT_ERROR_CODE", {
|
|
2843
|
-
value: "E260",
|
|
2844
|
-
enumerable: !1,
|
|
2845
|
-
configurable: !0
|
|
2846
|
-
});
|
|
2847
|
-
return Number(h.digest.split(";").at(-2));
|
|
2848
|
-
}
|
|
2849
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2850
|
-
}(De, De.exports)), De.exports;
|
|
2851
|
-
}
|
|
2852
|
-
var Me = { exports: {} }, Le = { exports: {} }, zr;
|
|
2853
|
-
function ze() {
|
|
2854
|
-
return zr || (zr = 1, function(t, e) {
|
|
2855
|
-
Object.defineProperty(e, "__esModule", {
|
|
2856
|
-
value: !0
|
|
2857
|
-
});
|
|
2858
|
-
function o(l, s) {
|
|
2859
|
-
for (var f in s) Object.defineProperty(l, f, {
|
|
2860
|
-
enumerable: !0,
|
|
2861
|
-
get: s[f]
|
|
2862
|
-
});
|
|
2863
|
-
}
|
|
2864
|
-
o(e, {
|
|
2865
|
-
HTTPAccessErrorStatus: function() {
|
|
2866
|
-
return r;
|
|
2867
|
-
},
|
|
2868
|
-
HTTP_ERROR_FALLBACK_ERROR_CODE: function() {
|
|
2869
|
-
return n;
|
|
2870
|
-
},
|
|
2871
|
-
getAccessFallbackErrorTypeByStatus: function() {
|
|
2872
|
-
return c;
|
|
2873
|
-
},
|
|
2874
|
-
getAccessFallbackHTTPStatus: function() {
|
|
2875
|
-
return u;
|
|
2876
|
-
},
|
|
2877
|
-
isHTTPAccessFallbackError: function() {
|
|
2878
|
-
return i;
|
|
2879
|
-
}
|
|
2880
|
-
});
|
|
2881
|
-
const r = {
|
|
2882
|
-
NOT_FOUND: 404,
|
|
2883
|
-
FORBIDDEN: 403,
|
|
2884
|
-
UNAUTHORIZED: 401
|
|
2885
|
-
}, a = new Set(Object.values(r)), n = "NEXT_HTTP_ERROR_FALLBACK";
|
|
2886
|
-
function i(l) {
|
|
2887
|
-
if (typeof l != "object" || l === null || !("digest" in l) || typeof l.digest != "string")
|
|
2888
|
-
return !1;
|
|
2889
|
-
const [s, f] = l.digest.split(";");
|
|
2890
|
-
return s === n && a.has(Number(f));
|
|
2891
|
-
}
|
|
2892
|
-
function u(l) {
|
|
2893
|
-
const s = l.digest.split(";")[1];
|
|
2894
|
-
return Number(s);
|
|
2895
|
-
}
|
|
2896
|
-
function c(l) {
|
|
2897
|
-
switch (l) {
|
|
2898
|
-
case 401:
|
|
2899
|
-
return "unauthorized";
|
|
2900
|
-
case 403:
|
|
2901
|
-
return "forbidden";
|
|
2902
|
-
case 404:
|
|
2903
|
-
return "not-found";
|
|
2904
|
-
default:
|
|
2905
|
-
return;
|
|
2906
|
-
}
|
|
2907
|
-
}
|
|
2908
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2909
|
-
}(Le, Le.exports)), Le.exports;
|
|
2910
|
-
}
|
|
2911
|
-
var Kr;
|
|
2912
|
-
function Ko() {
|
|
2913
|
-
return Kr || (Kr = 1, function(t, e) {
|
|
2914
|
-
Object.defineProperty(e, "__esModule", {
|
|
2915
|
-
value: !0
|
|
2916
|
-
}), Object.defineProperty(e, "notFound", {
|
|
2917
|
-
enumerable: !0,
|
|
2918
|
-
get: function() {
|
|
2919
|
-
return a;
|
|
2920
|
-
}
|
|
2921
|
-
});
|
|
2922
|
-
const r = "" + ze().HTTP_ERROR_FALLBACK_ERROR_CODE + ";404";
|
|
2923
|
-
function a() {
|
|
2924
|
-
const n = Object.defineProperty(new Error(r), "__NEXT_ERROR_CODE", {
|
|
2925
|
-
value: "E394",
|
|
2926
|
-
enumerable: !1,
|
|
2927
|
-
configurable: !0
|
|
2928
|
-
});
|
|
2929
|
-
throw n.digest = r, n;
|
|
2930
|
-
}
|
|
2931
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2932
|
-
}(Me, Me.exports)), Me.exports;
|
|
2933
|
-
}
|
|
2934
|
-
var xe = { exports: {} }, Qr;
|
|
2935
|
-
function Qo() {
|
|
2936
|
-
return Qr || (Qr = 1, function(t, e) {
|
|
2937
|
-
Object.defineProperty(e, "__esModule", {
|
|
2938
|
-
value: !0
|
|
2939
|
-
}), Object.defineProperty(e, "forbidden", {
|
|
2940
|
-
enumerable: !0,
|
|
2941
|
-
get: function() {
|
|
2942
|
-
return a;
|
|
2943
|
-
}
|
|
2944
|
-
});
|
|
2945
|
-
const r = "" + ze().HTTP_ERROR_FALLBACK_ERROR_CODE + ";403";
|
|
2946
|
-
function a() {
|
|
2947
|
-
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)
|
|
2948
|
-
throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."), "__NEXT_ERROR_CODE", {
|
|
2949
|
-
value: "E488",
|
|
2950
|
-
enumerable: !1,
|
|
2951
|
-
configurable: !0
|
|
2952
|
-
});
|
|
2953
|
-
const n = Object.defineProperty(new Error(r), "__NEXT_ERROR_CODE", {
|
|
2954
|
-
value: "E394",
|
|
2955
|
-
enumerable: !1,
|
|
2956
|
-
configurable: !0
|
|
2957
|
-
});
|
|
2958
|
-
throw n.digest = r, n;
|
|
2959
|
-
}
|
|
2960
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2961
|
-
}(xe, xe.exports)), xe.exports;
|
|
2962
|
-
}
|
|
2963
|
-
var qe = { exports: {} }, Jr;
|
|
2964
|
-
function Jo() {
|
|
2965
|
-
return Jr || (Jr = 1, function(t, e) {
|
|
2966
|
-
Object.defineProperty(e, "__esModule", {
|
|
2967
|
-
value: !0
|
|
2968
|
-
}), Object.defineProperty(e, "unauthorized", {
|
|
2969
|
-
enumerable: !0,
|
|
2970
|
-
get: function() {
|
|
2971
|
-
return a;
|
|
2972
|
-
}
|
|
2973
|
-
});
|
|
2974
|
-
const r = "" + ze().HTTP_ERROR_FALLBACK_ERROR_CODE + ";401";
|
|
2975
|
-
function a() {
|
|
2976
|
-
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)
|
|
2977
|
-
throw Object.defineProperty(new Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."), "__NEXT_ERROR_CODE", {
|
|
2978
|
-
value: "E411",
|
|
2979
|
-
enumerable: !1,
|
|
2980
|
-
configurable: !0
|
|
2981
|
-
});
|
|
2982
|
-
const n = Object.defineProperty(new Error(r), "__NEXT_ERROR_CODE", {
|
|
2983
|
-
value: "E394",
|
|
2984
|
-
enumerable: !1,
|
|
2985
|
-
configurable: !0
|
|
2986
|
-
});
|
|
2987
|
-
throw n.digest = r, n;
|
|
2988
|
-
}
|
|
2989
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
2990
|
-
}(qe, qe.exports)), qe.exports;
|
|
2991
|
-
}
|
|
2992
|
-
var ke = { exports: {} }, Ue = { exports: {} }, Dt = {}, Zr;
|
|
2993
|
-
function qn() {
|
|
2994
|
-
return Zr || (Zr = 1, function(t) {
|
|
2995
|
-
Object.defineProperty(t, "__esModule", {
|
|
2996
|
-
value: !0
|
|
2997
|
-
});
|
|
2998
|
-
function e(c, l) {
|
|
2999
|
-
for (var s in l) Object.defineProperty(c, s, {
|
|
3000
|
-
enumerable: !0,
|
|
3001
|
-
get: l[s]
|
|
3002
|
-
});
|
|
3003
|
-
}
|
|
3004
|
-
e(t, {
|
|
3005
|
-
isHangingPromiseRejectionError: function() {
|
|
3006
|
-
return o;
|
|
3007
|
-
},
|
|
3008
|
-
makeHangingPromise: function() {
|
|
3009
|
-
return i;
|
|
3010
|
-
}
|
|
3011
|
-
});
|
|
3012
|
-
function o(c) {
|
|
3013
|
-
return typeof c != "object" || c === null || !("digest" in c) ? !1 : c.digest === r;
|
|
3014
|
-
}
|
|
3015
|
-
const r = "HANGING_PROMISE_REJECTION";
|
|
3016
|
-
class a extends Error {
|
|
3017
|
-
constructor(l) {
|
|
3018
|
-
super(`During prerendering, ${l} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${l} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`), this.expression = l, this.digest = r;
|
|
3019
|
-
}
|
|
3020
|
-
}
|
|
3021
|
-
const n = /* @__PURE__ */ new WeakMap();
|
|
3022
|
-
function i(c, l) {
|
|
3023
|
-
if (c.aborted)
|
|
3024
|
-
return Promise.reject(new a(l));
|
|
3025
|
-
{
|
|
3026
|
-
const s = new Promise((f, h) => {
|
|
3027
|
-
const p = h.bind(null, new a(l));
|
|
3028
|
-
let v = n.get(c);
|
|
3029
|
-
if (v)
|
|
3030
|
-
v.push(p);
|
|
3031
|
-
else {
|
|
3032
|
-
const g = [
|
|
3033
|
-
p
|
|
3034
|
-
];
|
|
3035
|
-
n.set(c, g), c.addEventListener("abort", () => {
|
|
3036
|
-
for (let m = 0; m < g.length; m++)
|
|
3037
|
-
g[m]();
|
|
3038
|
-
}, {
|
|
3039
|
-
once: !0
|
|
3040
|
-
});
|
|
3041
|
-
}
|
|
3042
|
-
});
|
|
3043
|
-
return s.catch(u), s;
|
|
3044
|
-
}
|
|
3045
|
-
}
|
|
3046
|
-
function u() {
|
|
3047
|
-
}
|
|
3048
|
-
}(Dt)), Dt;
|
|
3049
|
-
}
|
|
3050
|
-
var It = {}, en;
|
|
3051
|
-
function Zo() {
|
|
3052
|
-
return en || (en = 1, function(t) {
|
|
3053
|
-
Object.defineProperty(t, "__esModule", {
|
|
3054
|
-
value: !0
|
|
3055
|
-
}), Object.defineProperty(t, "isPostpone", {
|
|
3056
|
-
enumerable: !0,
|
|
3057
|
-
get: function() {
|
|
3058
|
-
return o;
|
|
3059
|
-
}
|
|
3060
|
-
});
|
|
3061
|
-
const e = Symbol.for("react.postpone");
|
|
3062
|
-
function o(r) {
|
|
3063
|
-
return typeof r == "object" && r !== null && r.$$typeof === e;
|
|
3064
|
-
}
|
|
3065
|
-
}(It)), It;
|
|
3066
|
-
}
|
|
3067
|
-
var jt = {}, tn;
|
|
3068
|
-
function Vt() {
|
|
3069
|
-
return tn || (tn = 1, function(t) {
|
|
3070
|
-
Object.defineProperty(t, "__esModule", {
|
|
3071
|
-
value: !0
|
|
3072
|
-
});
|
|
3073
|
-
function e(n, i) {
|
|
3074
|
-
for (var u in i) Object.defineProperty(n, u, {
|
|
3075
|
-
enumerable: !0,
|
|
3076
|
-
get: i[u]
|
|
3077
|
-
});
|
|
3078
|
-
}
|
|
3079
|
-
e(t, {
|
|
3080
|
-
BailoutToCSRError: function() {
|
|
3081
|
-
return r;
|
|
3082
|
-
},
|
|
3083
|
-
isBailoutToCSRError: function() {
|
|
3084
|
-
return a;
|
|
3085
|
-
}
|
|
3086
|
-
});
|
|
3087
|
-
const o = "BAILOUT_TO_CLIENT_SIDE_RENDERING";
|
|
3088
|
-
class r extends Error {
|
|
3089
|
-
constructor(i) {
|
|
3090
|
-
super("Bail out to client-side rendering: " + i), this.reason = i, this.digest = o;
|
|
3091
|
-
}
|
|
3092
|
-
}
|
|
3093
|
-
function a(n) {
|
|
3094
|
-
return typeof n != "object" || n === null || !("digest" in n) ? !1 : n.digest === o;
|
|
3095
|
-
}
|
|
3096
|
-
}(jt)), jt;
|
|
3097
|
-
}
|
|
3098
|
-
var Fe = { exports: {} }, rn;
|
|
3099
|
-
function kn() {
|
|
3100
|
-
return rn || (rn = 1, function(t, e) {
|
|
3101
|
-
Object.defineProperty(e, "__esModule", {
|
|
3102
|
-
value: !0
|
|
3103
|
-
}), Object.defineProperty(e, "isNextRouterError", {
|
|
3104
|
-
enumerable: !0,
|
|
3105
|
-
get: function() {
|
|
3106
|
-
return a;
|
|
3107
|
-
}
|
|
3108
|
-
});
|
|
3109
|
-
const o = ze(), r = $t();
|
|
3110
|
-
function a(n) {
|
|
3111
|
-
return (0, r.isRedirectError)(n) || (0, o.isHTTPAccessFallbackError)(n);
|
|
3112
|
-
}
|
|
3113
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3114
|
-
}(Fe, Fe.exports)), Fe.exports;
|
|
3115
|
-
}
|
|
3116
|
-
var Mt = {}, Xe = { exports: {} }, nn;
|
|
3117
|
-
function Un() {
|
|
3118
|
-
return nn || (nn = 1, function(t, e) {
|
|
3119
|
-
Object.defineProperty(e, "__esModule", {
|
|
3120
|
-
value: !0
|
|
3121
|
-
});
|
|
3122
|
-
function o(i, u) {
|
|
3123
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
3124
|
-
enumerable: !0,
|
|
3125
|
-
get: u[c]
|
|
3126
|
-
});
|
|
3127
|
-
}
|
|
3128
|
-
o(e, {
|
|
3129
|
-
DynamicServerError: function() {
|
|
3130
|
-
return a;
|
|
3131
|
-
},
|
|
3132
|
-
isDynamicServerError: function() {
|
|
3133
|
-
return n;
|
|
3134
|
-
}
|
|
3135
|
-
});
|
|
3136
|
-
const r = "DYNAMIC_SERVER_USAGE";
|
|
3137
|
-
class a extends Error {
|
|
3138
|
-
constructor(u) {
|
|
3139
|
-
super("Dynamic server usage: " + u), this.description = u, this.digest = r;
|
|
3140
|
-
}
|
|
3141
|
-
}
|
|
3142
|
-
function n(i) {
|
|
3143
|
-
return typeof i != "object" || i === null || !("digest" in i) || typeof i.digest != "string" ? !1 : i.digest === r;
|
|
3144
|
-
}
|
|
3145
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3146
|
-
}(Xe, Xe.exports)), Xe.exports;
|
|
3147
|
-
}
|
|
3148
|
-
var Be = { exports: {} }, on;
|
|
3149
|
-
function ea() {
|
|
3150
|
-
return on || (on = 1, function(t, e) {
|
|
3151
|
-
Object.defineProperty(e, "__esModule", {
|
|
3152
|
-
value: !0
|
|
3153
|
-
});
|
|
3154
|
-
function o(i, u) {
|
|
3155
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
3156
|
-
enumerable: !0,
|
|
3157
|
-
get: u[c]
|
|
3158
|
-
});
|
|
3159
|
-
}
|
|
3160
|
-
o(e, {
|
|
3161
|
-
StaticGenBailoutError: function() {
|
|
3162
|
-
return a;
|
|
3163
|
-
},
|
|
3164
|
-
isStaticGenBailoutError: function() {
|
|
3165
|
-
return n;
|
|
3166
|
-
}
|
|
3167
|
-
});
|
|
3168
|
-
const r = "NEXT_STATIC_GEN_BAILOUT";
|
|
3169
|
-
class a extends Error {
|
|
3170
|
-
constructor(...u) {
|
|
3171
|
-
super(...u), this.code = r;
|
|
3172
|
-
}
|
|
3173
|
-
}
|
|
3174
|
-
function n(i) {
|
|
3175
|
-
return typeof i != "object" || i === null || !("code" in i) ? !1 : i.code === r;
|
|
3176
|
-
}
|
|
3177
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3178
|
-
}(Be, Be.exports)), Be.exports;
|
|
3179
|
-
}
|
|
3180
|
-
var Lt = {}, xt = {}, an;
|
|
3181
|
-
function ta() {
|
|
3182
|
-
return an || (an = 1, function(t) {
|
|
3183
|
-
Object.defineProperty(t, "__esModule", {
|
|
3184
|
-
value: !0
|
|
3185
|
-
}), Object.defineProperty(t, "workUnitAsyncStorageInstance", {
|
|
3186
|
-
enumerable: !0,
|
|
3187
|
-
get: function() {
|
|
3188
|
-
return o;
|
|
3189
|
-
}
|
|
3190
|
-
});
|
|
3191
|
-
const o = (0, Ht().createAsyncLocalStorage)();
|
|
3192
|
-
}(xt)), xt;
|
|
3193
|
-
}
|
|
3194
|
-
var Ge = { exports: {} }, un;
|
|
3195
|
-
function ra() {
|
|
3196
|
-
return un || (un = 1, function(t, e) {
|
|
3197
|
-
Object.defineProperty(e, "__esModule", {
|
|
3198
|
-
value: !0
|
|
3199
|
-
});
|
|
3200
|
-
function o(P, R) {
|
|
3201
|
-
for (var y in R) Object.defineProperty(P, y, {
|
|
3202
|
-
enumerable: !0,
|
|
3203
|
-
get: R[y]
|
|
3204
|
-
});
|
|
3205
|
-
}
|
|
3206
|
-
o(e, {
|
|
3207
|
-
ACTION_HEADER: function() {
|
|
3208
|
-
return a;
|
|
3209
|
-
},
|
|
3210
|
-
FLIGHT_HEADERS: function() {
|
|
3211
|
-
return h;
|
|
3212
|
-
},
|
|
3213
|
-
NEXT_DID_POSTPONE_HEADER: function() {
|
|
3214
|
-
return g;
|
|
3215
|
-
},
|
|
3216
|
-
NEXT_HMR_REFRESH_HASH_COOKIE: function() {
|
|
3217
|
-
return l;
|
|
3218
|
-
},
|
|
3219
|
-
NEXT_HMR_REFRESH_HEADER: function() {
|
|
3220
|
-
return c;
|
|
3221
|
-
},
|
|
3222
|
-
NEXT_IS_PRERENDER_HEADER: function() {
|
|
3223
|
-
return b;
|
|
3224
|
-
},
|
|
3225
|
-
NEXT_REWRITTEN_PATH_HEADER: function() {
|
|
3226
|
-
return m;
|
|
3227
|
-
},
|
|
3228
|
-
NEXT_REWRITTEN_QUERY_HEADER: function() {
|
|
3229
|
-
return A;
|
|
3230
|
-
},
|
|
3231
|
-
NEXT_ROUTER_PREFETCH_HEADER: function() {
|
|
3232
|
-
return i;
|
|
3233
|
-
},
|
|
3234
|
-
NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function() {
|
|
3235
|
-
return u;
|
|
3236
|
-
},
|
|
3237
|
-
NEXT_ROUTER_STALE_TIME_HEADER: function() {
|
|
3238
|
-
return v;
|
|
3239
|
-
},
|
|
3240
|
-
NEXT_ROUTER_STATE_TREE_HEADER: function() {
|
|
3241
|
-
return n;
|
|
3242
|
-
},
|
|
3243
|
-
NEXT_RSC_UNION_QUERY: function() {
|
|
3244
|
-
return p;
|
|
3245
|
-
},
|
|
3246
|
-
NEXT_URL: function() {
|
|
3247
|
-
return s;
|
|
3248
|
-
},
|
|
3249
|
-
RSC_CONTENT_TYPE_HEADER: function() {
|
|
3250
|
-
return f;
|
|
3251
|
-
},
|
|
3252
|
-
RSC_HEADER: function() {
|
|
3253
|
-
return r;
|
|
3254
|
-
}
|
|
3255
|
-
});
|
|
3256
|
-
const r = "RSC", a = "Next-Action", n = "Next-Router-State-Tree", i = "Next-Router-Prefetch", u = "Next-Router-Segment-Prefetch", c = "Next-HMR-Refresh", l = "__next_hmr_refresh_hash__", s = "Next-Url", f = "text/x-component", h = [
|
|
3257
|
-
r,
|
|
3258
|
-
n,
|
|
3259
|
-
i,
|
|
3260
|
-
c,
|
|
3261
|
-
u
|
|
3262
|
-
], p = "_rsc", v = "x-nextjs-stale-time", g = "x-nextjs-postponed", m = "x-nextjs-rewritten-path", A = "x-nextjs-rewritten-query", b = "x-nextjs-prerender";
|
|
3263
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3264
|
-
}(Ge, Ge.exports)), Ge.exports;
|
|
3265
|
-
}
|
|
3266
|
-
var cn;
|
|
3267
|
-
function na() {
|
|
3268
|
-
return cn || (cn = 1, function(t) {
|
|
3269
|
-
Object.defineProperty(t, "__esModule", {
|
|
3270
|
-
value: !0
|
|
3271
|
-
});
|
|
3272
|
-
function e(s, f) {
|
|
3273
|
-
for (var h in f) Object.defineProperty(s, h, {
|
|
3274
|
-
enumerable: !0,
|
|
3275
|
-
get: f[h]
|
|
3276
|
-
});
|
|
3277
|
-
}
|
|
3278
|
-
e(t, {
|
|
3279
|
-
getDraftModeProviderForCacheScope: function() {
|
|
3280
|
-
return l;
|
|
3281
|
-
},
|
|
3282
|
-
getExpectedRequestStore: function() {
|
|
3283
|
-
return a;
|
|
3284
|
-
},
|
|
3285
|
-
getHmrRefreshHash: function() {
|
|
3286
|
-
return c;
|
|
3287
|
-
},
|
|
3288
|
-
getPrerenderResumeDataCache: function() {
|
|
3289
|
-
return i;
|
|
3290
|
-
},
|
|
3291
|
-
getRenderResumeDataCache: function() {
|
|
3292
|
-
return u;
|
|
3293
|
-
},
|
|
3294
|
-
throwForMissingRequestStore: function() {
|
|
3295
|
-
return n;
|
|
3296
|
-
},
|
|
3297
|
-
workUnitAsyncStorage: function() {
|
|
3298
|
-
return o.workUnitAsyncStorageInstance;
|
|
3299
|
-
}
|
|
3300
|
-
});
|
|
3301
|
-
const o = ta(), r = ra();
|
|
3302
|
-
function a(s) {
|
|
3303
|
-
const f = o.workUnitAsyncStorageInstance.getStore();
|
|
3304
|
-
switch (f || n(s), f.type) {
|
|
3305
|
-
case "request":
|
|
3306
|
-
return f;
|
|
3307
|
-
case "prerender":
|
|
3308
|
-
case "prerender-ppr":
|
|
3309
|
-
case "prerender-legacy":
|
|
3310
|
-
throw Object.defineProperty(new Error(`\`${s}\` cannot be called inside a prerender. This is a bug in Next.js.`), "__NEXT_ERROR_CODE", {
|
|
3311
|
-
value: "E401",
|
|
3312
|
-
enumerable: !1,
|
|
3313
|
-
configurable: !0
|
|
3314
|
-
});
|
|
3315
|
-
case "cache":
|
|
3316
|
-
throw Object.defineProperty(new Error(`\`${s}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", {
|
|
3317
|
-
value: "E37",
|
|
3318
|
-
enumerable: !1,
|
|
3319
|
-
configurable: !0
|
|
3320
|
-
});
|
|
3321
|
-
case "unstable-cache":
|
|
3322
|
-
throw Object.defineProperty(new Error(`\`${s}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`), "__NEXT_ERROR_CODE", {
|
|
3323
|
-
value: "E69",
|
|
3324
|
-
enumerable: !1,
|
|
3325
|
-
configurable: !0
|
|
3326
|
-
});
|
|
3327
|
-
default:
|
|
3328
|
-
return f;
|
|
3329
|
-
}
|
|
3330
|
-
}
|
|
3331
|
-
function n(s) {
|
|
3332
|
-
throw Object.defineProperty(new Error(`\`${s}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", {
|
|
3333
|
-
value: "E251",
|
|
3334
|
-
enumerable: !1,
|
|
3335
|
-
configurable: !0
|
|
3336
|
-
});
|
|
3337
|
-
}
|
|
3338
|
-
function i(s) {
|
|
3339
|
-
return s.type === "prerender" || s.type === "prerender-ppr" ? s.prerenderResumeDataCache : null;
|
|
3340
|
-
}
|
|
3341
|
-
function u(s) {
|
|
3342
|
-
return s.type !== "prerender-legacy" && s.type !== "cache" && s.type !== "unstable-cache" ? s.type === "request" ? s.renderResumeDataCache : s.prerenderResumeDataCache : null;
|
|
3343
|
-
}
|
|
3344
|
-
function c(s, f) {
|
|
3345
|
-
var h;
|
|
3346
|
-
if (s.dev)
|
|
3347
|
-
return f.type === "cache" || f.type === "prerender" ? f.hmrRefreshHash : f.type === "request" ? (h = f.cookies.get(r.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : h.value : void 0;
|
|
3348
|
-
}
|
|
3349
|
-
function l(s, f) {
|
|
3350
|
-
if (s.isDraftMode)
|
|
3351
|
-
switch (f.type) {
|
|
3352
|
-
case "cache":
|
|
3353
|
-
case "unstable-cache":
|
|
3354
|
-
case "request":
|
|
3355
|
-
return f.draftMode;
|
|
3356
|
-
default:
|
|
3357
|
-
return;
|
|
3358
|
-
}
|
|
3359
|
-
}
|
|
3360
|
-
}(Lt)), Lt;
|
|
3361
|
-
}
|
|
3362
|
-
var qt = {}, kt = {}, sn;
|
|
3363
|
-
function oa() {
|
|
3364
|
-
return sn || (sn = 1, function(t) {
|
|
3365
|
-
Object.defineProperty(t, "__esModule", {
|
|
3366
|
-
value: !0
|
|
3367
|
-
}), Object.defineProperty(t, "workAsyncStorageInstance", {
|
|
3368
|
-
enumerable: !0,
|
|
3369
|
-
get: function() {
|
|
3370
|
-
return o;
|
|
3371
|
-
}
|
|
3372
|
-
});
|
|
3373
|
-
const o = (0, Ht().createAsyncLocalStorage)();
|
|
3374
|
-
}(kt)), kt;
|
|
3375
|
-
}
|
|
3376
|
-
var ln;
|
|
3377
|
-
function Fn() {
|
|
3378
|
-
return ln || (ln = 1, function(t) {
|
|
3379
|
-
Object.defineProperty(t, "__esModule", {
|
|
3380
|
-
value: !0
|
|
3381
|
-
}), Object.defineProperty(t, "workAsyncStorage", {
|
|
3382
|
-
enumerable: !0,
|
|
3383
|
-
get: function() {
|
|
3384
|
-
return e.workAsyncStorageInstance;
|
|
3385
|
-
}
|
|
3386
|
-
});
|
|
3387
|
-
const e = oa();
|
|
3388
|
-
}(qt)), qt;
|
|
3389
|
-
}
|
|
3390
|
-
var Ut = {}, fn;
|
|
3391
|
-
function aa() {
|
|
3392
|
-
return fn || (fn = 1, function(t) {
|
|
3393
|
-
Object.defineProperty(t, "__esModule", {
|
|
3394
|
-
value: !0
|
|
3395
|
-
});
|
|
3396
|
-
function e(n, i) {
|
|
3397
|
-
for (var u in i) Object.defineProperty(n, u, {
|
|
3398
|
-
enumerable: !0,
|
|
3399
|
-
get: i[u]
|
|
3400
|
-
});
|
|
3401
|
-
}
|
|
3402
|
-
e(t, {
|
|
3403
|
-
METADATA_BOUNDARY_NAME: function() {
|
|
3404
|
-
return o;
|
|
3405
|
-
},
|
|
3406
|
-
OUTLET_BOUNDARY_NAME: function() {
|
|
3407
|
-
return a;
|
|
3408
|
-
},
|
|
3409
|
-
VIEWPORT_BOUNDARY_NAME: function() {
|
|
3410
|
-
return r;
|
|
3411
|
-
}
|
|
3412
|
-
});
|
|
3413
|
-
const o = "__next_metadata_boundary__", r = "__next_viewport_boundary__", a = "__next_outlet_boundary__";
|
|
3414
|
-
}(Ut)), Ut;
|
|
3415
|
-
}
|
|
3416
|
-
var Ft = {}, dn;
|
|
3417
|
-
function ia() {
|
|
3418
|
-
return dn || (dn = 1, function(t) {
|
|
3419
|
-
Object.defineProperty(t, "__esModule", {
|
|
3420
|
-
value: !0
|
|
3421
|
-
});
|
|
3422
|
-
function e(i, u) {
|
|
3423
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
3424
|
-
enumerable: !0,
|
|
3425
|
-
get: u[c]
|
|
3426
|
-
});
|
|
3427
|
-
}
|
|
3428
|
-
e(t, {
|
|
3429
|
-
atLeastOneTask: function() {
|
|
3430
|
-
return a;
|
|
3431
|
-
},
|
|
3432
|
-
scheduleImmediate: function() {
|
|
3433
|
-
return r;
|
|
3434
|
-
},
|
|
3435
|
-
scheduleOnNextTick: function() {
|
|
3436
|
-
return o;
|
|
3437
|
-
},
|
|
3438
|
-
waitAtLeastOneReactRenderTask: function() {
|
|
3439
|
-
return n;
|
|
3440
|
-
}
|
|
3441
|
-
});
|
|
3442
|
-
const o = (i) => {
|
|
3443
|
-
Promise.resolve().then(() => {
|
|
3444
|
-
process.env.NEXT_RUNTIME === "edge" ? setTimeout(i, 0) : process.nextTick(i);
|
|
3445
|
-
});
|
|
3446
|
-
}, r = (i) => {
|
|
3447
|
-
process.env.NEXT_RUNTIME === "edge" ? setTimeout(i, 0) : setImmediate(i);
|
|
3448
|
-
};
|
|
3449
|
-
function a() {
|
|
3450
|
-
return new Promise((i) => r(i));
|
|
3451
|
-
}
|
|
3452
|
-
function n() {
|
|
3453
|
-
return process.env.NEXT_RUNTIME === "edge" ? new Promise((i) => setTimeout(i, 0)) : new Promise((i) => setImmediate(i));
|
|
3454
|
-
}
|
|
3455
|
-
}(Ft)), Ft;
|
|
3456
|
-
}
|
|
3457
|
-
var _n;
|
|
3458
|
-
function Xn() {
|
|
3459
|
-
return _n || (_n = 1, function(t) {
|
|
3460
|
-
Object.defineProperty(t, "__esModule", {
|
|
3461
|
-
value: !0
|
|
3462
|
-
});
|
|
3463
|
-
function e(_, d) {
|
|
3464
|
-
for (var T in d) Object.defineProperty(_, T, {
|
|
3465
|
-
enumerable: !0,
|
|
3466
|
-
get: d[T]
|
|
3467
|
-
});
|
|
3468
|
-
}
|
|
3469
|
-
e(t, {
|
|
3470
|
-
Postpone: function() {
|
|
3471
|
-
return D;
|
|
3472
|
-
},
|
|
3473
|
-
abortAndThrowOnSynchronousRequestDataAccess: function() {
|
|
3474
|
-
return N;
|
|
3475
|
-
},
|
|
3476
|
-
abortOnSynchronousPlatformIOAccess: function() {
|
|
3477
|
-
return R;
|
|
3478
|
-
},
|
|
3479
|
-
accessedDynamicData: function() {
|
|
3480
|
-
return K;
|
|
3481
|
-
},
|
|
3482
|
-
annotateDynamicAccess: function() {
|
|
3483
|
-
return j;
|
|
3484
|
-
},
|
|
3485
|
-
consumeDynamicAccess: function() {
|
|
3486
|
-
return ee;
|
|
3487
|
-
},
|
|
3488
|
-
createDynamicTrackingState: function() {
|
|
3489
|
-
return h;
|
|
3490
|
-
},
|
|
3491
|
-
createDynamicValidationState: function() {
|
|
3492
|
-
return p;
|
|
3493
|
-
},
|
|
3494
|
-
createHangingInputAbortSignal: function() {
|
|
3495
|
-
return C;
|
|
3496
|
-
},
|
|
3497
|
-
createPostponedAbortSignal: function() {
|
|
3498
|
-
return E;
|
|
3499
|
-
},
|
|
3500
|
-
formatDynamicAPIAccesses: function() {
|
|
3501
|
-
return Q;
|
|
3502
|
-
},
|
|
3503
|
-
getFirstDynamicReason: function() {
|
|
3504
|
-
return v;
|
|
3505
|
-
},
|
|
3506
|
-
isDynamicPostpone: function() {
|
|
3507
|
-
return S;
|
|
3508
|
-
},
|
|
3509
|
-
isPrerenderInterruptedError: function() {
|
|
3510
|
-
return Y;
|
|
3511
|
-
},
|
|
3512
|
-
markCurrentScopeAsDynamic: function() {
|
|
3513
|
-
return g;
|
|
3514
|
-
},
|
|
3515
|
-
postponeWithTracking: function() {
|
|
3516
|
-
return x;
|
|
3517
|
-
},
|
|
3518
|
-
throwIfDisallowedDynamic: function() {
|
|
3519
|
-
return re;
|
|
3520
|
-
},
|
|
3521
|
-
throwToInterruptStaticGeneration: function() {
|
|
3522
|
-
return A;
|
|
3523
|
-
},
|
|
3524
|
-
trackAllowedDynamicAccess: function() {
|
|
3525
|
-
return $;
|
|
3526
|
-
},
|
|
3527
|
-
trackDynamicDataInDynamicRender: function() {
|
|
3528
|
-
return b;
|
|
3529
|
-
},
|
|
3530
|
-
trackFallbackParamAccessed: function() {
|
|
3531
|
-
return m;
|
|
3532
|
-
},
|
|
3533
|
-
trackSynchronousPlatformIOAccessInDev: function() {
|
|
3534
|
-
return y;
|
|
3535
|
-
},
|
|
3536
|
-
trackSynchronousRequestDataAccessInDev: function() {
|
|
3537
|
-
return M;
|
|
3538
|
-
},
|
|
3539
|
-
useDynamicRouteParams: function() {
|
|
3540
|
-
return G;
|
|
3541
|
-
}
|
|
3542
|
-
});
|
|
3543
|
-
const o = /* @__PURE__ */ s(ne), r = Un(), a = ea(), n = na(), i = Fn(), u = qn(), c = aa(), l = ia();
|
|
3544
|
-
function s(_) {
|
|
3545
|
-
return _ && _.__esModule ? _ : {
|
|
3546
|
-
default: _
|
|
3547
|
-
};
|
|
3548
|
-
}
|
|
3549
|
-
const f = typeof o.default.unstable_postpone == "function";
|
|
3550
|
-
function h(_) {
|
|
3551
|
-
return {
|
|
3552
|
-
isDebugDynamicAccesses: _,
|
|
3553
|
-
dynamicAccesses: [],
|
|
3554
|
-
syncDynamicExpression: void 0,
|
|
3555
|
-
syncDynamicErrorWithStack: null
|
|
3556
|
-
};
|
|
3557
|
-
}
|
|
3558
|
-
function p() {
|
|
3559
|
-
return {
|
|
3560
|
-
hasSuspendedDynamic: !1,
|
|
3561
|
-
hasDynamicMetadata: !1,
|
|
3562
|
-
hasDynamicViewport: !1,
|
|
3563
|
-
hasSyncDynamicErrors: !1,
|
|
3564
|
-
dynamicErrors: []
|
|
3565
|
-
};
|
|
3566
|
-
}
|
|
3567
|
-
function v(_) {
|
|
3568
|
-
var d;
|
|
3569
|
-
return (d = _.dynamicAccesses[0]) == null ? void 0 : d.expression;
|
|
3570
|
-
}
|
|
3571
|
-
function g(_, d, T) {
|
|
3572
|
-
if (!(d && (d.type === "cache" || d.type === "unstable-cache")) && !(_.forceDynamic || _.forceStatic)) {
|
|
3573
|
-
if (_.dynamicShouldError)
|
|
3574
|
-
throw Object.defineProperty(new a.StaticGenBailoutError(`Route ${_.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${T}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
|
|
3575
|
-
value: "E553",
|
|
3576
|
-
enumerable: !1,
|
|
3577
|
-
configurable: !0
|
|
3578
|
-
});
|
|
3579
|
-
if (d)
|
|
3580
|
-
if (d.type === "prerender-ppr")
|
|
3581
|
-
x(_.route, T, d.dynamicTracking);
|
|
3582
|
-
else if (d.type === "prerender-legacy") {
|
|
3583
|
-
d.revalidate = 0;
|
|
3584
|
-
const q = Object.defineProperty(new r.DynamicServerError(`Route ${_.route} couldn't be rendered statically because it used ${T}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
|
|
3585
|
-
value: "E550",
|
|
3586
|
-
enumerable: !1,
|
|
3587
|
-
configurable: !0
|
|
3588
|
-
});
|
|
3589
|
-
throw _.dynamicUsageDescription = T, _.dynamicUsageStack = q.stack, q;
|
|
3590
|
-
} else process.env.NODE_ENV === "development" && d && d.type === "request" && (d.usedDynamic = !0);
|
|
3591
|
-
}
|
|
3592
|
-
}
|
|
3593
|
-
function m(_, d) {
|
|
3594
|
-
const T = n.workUnitAsyncStorage.getStore();
|
|
3595
|
-
!T || T.type !== "prerender-ppr" || x(_.route, d, T.dynamicTracking);
|
|
3596
|
-
}
|
|
3597
|
-
function A(_, d, T) {
|
|
3598
|
-
const q = Object.defineProperty(new r.DynamicServerError(`Route ${d.route} couldn't be rendered statically because it used \`${_}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
|
|
3599
|
-
value: "E558",
|
|
3600
|
-
enumerable: !1,
|
|
3601
|
-
configurable: !0
|
|
3602
|
-
});
|
|
3603
|
-
throw T.revalidate = 0, d.dynamicUsageDescription = _, d.dynamicUsageStack = q.stack, q;
|
|
3604
|
-
}
|
|
3605
|
-
function b(_, d) {
|
|
3606
|
-
if (d) {
|
|
3607
|
-
if (d.type === "cache" || d.type === "unstable-cache")
|
|
3608
|
-
return;
|
|
3609
|
-
(d.type === "prerender" || d.type === "prerender-legacy") && (d.revalidate = 0), process.env.NODE_ENV === "development" && d.type === "request" && (d.usedDynamic = !0);
|
|
3610
|
-
}
|
|
3611
|
-
}
|
|
3612
|
-
function P(_, d, T) {
|
|
3613
|
-
const q = `Route ${_} needs to bail out of prerendering at this point because it used ${d}.`, I = F(q);
|
|
3614
|
-
T.controller.abort(I);
|
|
3615
|
-
const w = T.dynamicTracking;
|
|
3616
|
-
w && w.dynamicAccesses.push({
|
|
3617
|
-
// When we aren't debugging, we don't need to create another error for the
|
|
3618
|
-
// stack trace.
|
|
3619
|
-
stack: w.isDebugDynamicAccesses ? new Error().stack : void 0,
|
|
3620
|
-
expression: d
|
|
3621
|
-
});
|
|
3622
|
-
}
|
|
3623
|
-
function R(_, d, T, q) {
|
|
3624
|
-
const I = q.dynamicTracking;
|
|
3625
|
-
I && I.syncDynamicErrorWithStack === null && (I.syncDynamicExpression = d, I.syncDynamicErrorWithStack = T), P(_, d, q);
|
|
3626
|
-
}
|
|
3627
|
-
function y(_) {
|
|
3628
|
-
_.prerenderPhase = !1;
|
|
3629
|
-
}
|
|
3630
|
-
function N(_, d, T, q) {
|
|
3631
|
-
if (q.controller.signal.aborted === !1) {
|
|
3632
|
-
const w = q.dynamicTracking;
|
|
3633
|
-
w && w.syncDynamicErrorWithStack === null && (w.syncDynamicExpression = d, w.syncDynamicErrorWithStack = T, q.validating === !0 && (w.syncDynamicLogged = !0)), P(_, d, q);
|
|
3634
|
-
}
|
|
3635
|
-
throw F(`Route ${_} needs to bail out of prerendering at this point because it used ${d}.`);
|
|
3636
|
-
}
|
|
3637
|
-
const M = y;
|
|
3638
|
-
function D({ reason: _, route: d }) {
|
|
3639
|
-
const T = n.workUnitAsyncStorage.getStore(), q = T && T.type === "prerender-ppr" ? T.dynamicTracking : null;
|
|
3640
|
-
x(d, _, q);
|
|
3641
|
-
}
|
|
3642
|
-
function x(_, d, T) {
|
|
3643
|
-
J(), T && T.dynamicAccesses.push({
|
|
3644
|
-
// When we aren't debugging, we don't need to create another error for the
|
|
3645
|
-
// stack trace.
|
|
3646
|
-
stack: T.isDebugDynamicAccesses ? new Error().stack : void 0,
|
|
3647
|
-
expression: d
|
|
3648
|
-
}), o.default.unstable_postpone(O(_, d));
|
|
3649
|
-
}
|
|
3650
|
-
function O(_, d) {
|
|
3651
|
-
return `Route ${_} needs to bail out of prerendering at this point because it used ${d}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;
|
|
3652
|
-
}
|
|
3653
|
-
function S(_) {
|
|
3654
|
-
return typeof _ == "object" && _ !== null && typeof _.message == "string" ? X(_.message) : !1;
|
|
3655
|
-
}
|
|
3656
|
-
function X(_) {
|
|
3657
|
-
return _.includes("needs to bail out of prerendering at this point because it used") && _.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error");
|
|
3658
|
-
}
|
|
3659
|
-
if (X(O("%%%", "^^^")) === !1)
|
|
3660
|
-
throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
|
|
3661
|
-
value: "E296",
|
|
3662
|
-
enumerable: !1,
|
|
3663
|
-
configurable: !0
|
|
3664
|
-
});
|
|
3665
|
-
const B = "NEXT_PRERENDER_INTERRUPTED";
|
|
3666
|
-
function F(_) {
|
|
3667
|
-
const d = Object.defineProperty(new Error(_), "__NEXT_ERROR_CODE", {
|
|
3668
|
-
value: "E394",
|
|
3669
|
-
enumerable: !1,
|
|
3670
|
-
configurable: !0
|
|
3671
|
-
});
|
|
3672
|
-
return d.digest = B, d;
|
|
3673
|
-
}
|
|
3674
|
-
function Y(_) {
|
|
3675
|
-
return typeof _ == "object" && _ !== null && _.digest === B && "name" in _ && "message" in _ && _ instanceof Error;
|
|
3676
|
-
}
|
|
3677
|
-
function K(_) {
|
|
3678
|
-
return _.length > 0;
|
|
3679
|
-
}
|
|
3680
|
-
function ee(_, d) {
|
|
3681
|
-
return _.dynamicAccesses.push(...d.dynamicAccesses), _.dynamicAccesses;
|
|
3682
|
-
}
|
|
3683
|
-
function Q(_) {
|
|
3684
|
-
return _.filter((d) => typeof d.stack == "string" && d.stack.length > 0).map(({ expression: d, stack: T }) => (T = T.split(`
|
|
3685
|
-
`).slice(4).filter((q) => !(q.includes("node_modules/next/") || q.includes(" (<anonymous>)") || q.includes(" (node:"))).join(`
|
|
3686
|
-
`), `Dynamic API Usage Debug - ${d}:
|
|
3687
|
-
${T}`));
|
|
3688
|
-
}
|
|
3689
|
-
function J() {
|
|
3690
|
-
if (!f)
|
|
3691
|
-
throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
|
|
3692
|
-
value: "E224",
|
|
3693
|
-
enumerable: !1,
|
|
3694
|
-
configurable: !0
|
|
3695
|
-
});
|
|
3696
|
-
}
|
|
3697
|
-
function E(_) {
|
|
3698
|
-
J();
|
|
3699
|
-
const d = new AbortController();
|
|
3700
|
-
try {
|
|
3701
|
-
o.default.unstable_postpone(_);
|
|
3702
|
-
} catch (T) {
|
|
3703
|
-
d.abort(T);
|
|
3704
|
-
}
|
|
3705
|
-
return d.signal;
|
|
3706
|
-
}
|
|
3707
|
-
function C(_) {
|
|
3708
|
-
const d = new AbortController();
|
|
3709
|
-
return _.cacheSignal ? _.cacheSignal.inputReady().then(() => {
|
|
3710
|
-
d.abort();
|
|
3711
|
-
}) : (0, l.scheduleOnNextTick)(() => d.abort()), d.signal;
|
|
3712
|
-
}
|
|
3713
|
-
function j(_, d) {
|
|
3714
|
-
const T = d.dynamicTracking;
|
|
3715
|
-
T && T.dynamicAccesses.push({
|
|
3716
|
-
stack: T.isDebugDynamicAccesses ? new Error().stack : void 0,
|
|
3717
|
-
expression: _
|
|
3718
|
-
});
|
|
3719
|
-
}
|
|
3720
|
-
function G(_) {
|
|
3721
|
-
const d = i.workAsyncStorage.getStore();
|
|
3722
|
-
if (d && d.isStaticGeneration && d.fallbackRouteParams && d.fallbackRouteParams.size > 0) {
|
|
3723
|
-
const T = n.workUnitAsyncStorage.getStore();
|
|
3724
|
-
T && (T.type === "prerender" ? o.default.use((0, u.makeHangingPromise)(T.renderSignal, _)) : T.type === "prerender-ppr" ? x(d.route, _, T.dynamicTracking) : T.type === "prerender-legacy" && A(_, d, T));
|
|
3725
|
-
}
|
|
3726
|
-
}
|
|
3727
|
-
const z = /\n\s+at Suspense \(<anonymous>\)/, V = new RegExp(`\\n\\s+at ${c.METADATA_BOUNDARY_NAME}[\\n\\s]`), te = new RegExp(`\\n\\s+at ${c.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`), H = new RegExp(`\\n\\s+at ${c.OUTLET_BOUNDARY_NAME}[\\n\\s]`);
|
|
3728
|
-
function $(_, d, T, q, I) {
|
|
3729
|
-
if (!H.test(d))
|
|
3730
|
-
if (V.test(d)) {
|
|
3731
|
-
T.hasDynamicMetadata = !0;
|
|
3732
|
-
return;
|
|
3733
|
-
} else if (te.test(d)) {
|
|
3734
|
-
T.hasDynamicViewport = !0;
|
|
3735
|
-
return;
|
|
3736
|
-
} else if (z.test(d)) {
|
|
3737
|
-
T.hasSuspendedDynamic = !0;
|
|
3738
|
-
return;
|
|
3739
|
-
} else if (q.syncDynamicErrorWithStack || I.syncDynamicErrorWithStack) {
|
|
3740
|
-
T.hasSyncDynamicErrors = !0;
|
|
3741
|
-
return;
|
|
3742
|
-
} else {
|
|
3743
|
-
const w = `Route "${_}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`, Z = L(w, d);
|
|
3744
|
-
T.dynamicErrors.push(Z);
|
|
3745
|
-
return;
|
|
3746
|
-
}
|
|
3747
|
-
}
|
|
3748
|
-
function L(_, d) {
|
|
3749
|
-
const T = Object.defineProperty(new Error(_), "__NEXT_ERROR_CODE", {
|
|
3750
|
-
value: "E394",
|
|
3751
|
-
enumerable: !1,
|
|
3752
|
-
configurable: !0
|
|
3753
|
-
});
|
|
3754
|
-
return T.stack = "Error: " + _ + d, T;
|
|
3755
|
-
}
|
|
3756
|
-
function re(_, d, T, q) {
|
|
3757
|
-
let I, w, Z;
|
|
3758
|
-
if (T.syncDynamicErrorWithStack ? (I = T.syncDynamicErrorWithStack, w = T.syncDynamicExpression, Z = T.syncDynamicLogged === !0) : q.syncDynamicErrorWithStack ? (I = q.syncDynamicErrorWithStack, w = q.syncDynamicExpression, Z = q.syncDynamicLogged === !0) : (I = null, w = void 0, Z = !1), d.hasSyncDynamicErrors && I)
|
|
3759
|
-
throw Z || console.error(I), new a.StaticGenBailoutError();
|
|
3760
|
-
const ae = d.dynamicErrors;
|
|
3761
|
-
if (ae.length) {
|
|
3762
|
-
for (let ie = 0; ie < ae.length; ie++)
|
|
3763
|
-
console.error(ae[ie]);
|
|
3764
|
-
throw new a.StaticGenBailoutError();
|
|
3765
|
-
}
|
|
3766
|
-
if (!d.hasSuspendedDynamic) {
|
|
3767
|
-
if (d.hasDynamicMetadata)
|
|
3768
|
-
throw I ? (console.error(I), Object.defineProperty(new a.StaticGenBailoutError(`Route "${_}" has a \`generateMetadata\` that could not finish rendering before ${w} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
|
|
3769
|
-
value: "E608",
|
|
3770
|
-
enumerable: !1,
|
|
3771
|
-
configurable: !0
|
|
3772
|
-
})) : Object.defineProperty(new a.StaticGenBailoutError(`Route "${_}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`), "__NEXT_ERROR_CODE", {
|
|
3773
|
-
value: "E534",
|
|
3774
|
-
enumerable: !1,
|
|
3775
|
-
configurable: !0
|
|
3776
|
-
});
|
|
3777
|
-
if (d.hasDynamicViewport)
|
|
3778
|
-
throw I ? (console.error(I), Object.defineProperty(new a.StaticGenBailoutError(`Route "${_}" has a \`generateViewport\` that could not finish rendering before ${w} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
|
|
3779
|
-
value: "E573",
|
|
3780
|
-
enumerable: !1,
|
|
3781
|
-
configurable: !0
|
|
3782
|
-
})) : Object.defineProperty(new a.StaticGenBailoutError(`Route "${_}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`), "__NEXT_ERROR_CODE", {
|
|
3783
|
-
value: "E590",
|
|
3784
|
-
enumerable: !1,
|
|
3785
|
-
configurable: !0
|
|
3786
|
-
});
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
}(Mt)), Mt;
|
|
3790
|
-
}
|
|
3791
|
-
var En;
|
|
3792
|
-
function ua() {
|
|
3793
|
-
return En || (En = 1, function(t, e) {
|
|
3794
|
-
Object.defineProperty(e, "__esModule", {
|
|
3795
|
-
value: !0
|
|
3796
|
-
}), Object.defineProperty(e, "unstable_rethrow", {
|
|
3797
|
-
enumerable: !0,
|
|
3798
|
-
get: function() {
|
|
3799
|
-
return c;
|
|
3800
|
-
}
|
|
3801
|
-
});
|
|
3802
|
-
const o = qn(), r = Zo(), a = Vt(), n = kn(), i = Xn(), u = Un();
|
|
3803
|
-
function c(l) {
|
|
3804
|
-
if ((0, n.isNextRouterError)(l) || (0, a.isBailoutToCSRError)(l) || (0, u.isDynamicServerError)(l) || (0, i.isDynamicPostpone)(l) || (0, r.isPostpone)(l) || (0, o.isHangingPromiseRejectionError)(l))
|
|
3805
|
-
throw l;
|
|
3806
|
-
l instanceof Error && "cause" in l && c(l.cause);
|
|
3807
|
-
}
|
|
3808
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3809
|
-
}(Ue, Ue.exports)), Ue.exports;
|
|
3810
|
-
}
|
|
3811
|
-
var We = { exports: {} }, hn;
|
|
3812
|
-
function ca() {
|
|
3813
|
-
return hn || (hn = 1, function(t, e) {
|
|
3814
|
-
Object.defineProperty(e, "__esModule", {
|
|
3815
|
-
value: !0
|
|
3816
|
-
}), Object.defineProperty(e, "unstable_rethrow", {
|
|
3817
|
-
enumerable: !0,
|
|
3818
|
-
get: function() {
|
|
3819
|
-
return a;
|
|
3820
|
-
}
|
|
3821
|
-
});
|
|
3822
|
-
const o = Vt(), r = kn();
|
|
3823
|
-
function a(n) {
|
|
3824
|
-
if ((0, r.isNextRouterError)(n) || (0, o.isBailoutToCSRError)(n))
|
|
3825
|
-
throw n;
|
|
3826
|
-
n instanceof Error && "cause" in n && a(n.cause);
|
|
3827
|
-
}
|
|
3828
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3829
|
-
}(We, We.exports)), We.exports;
|
|
3830
|
-
}
|
|
3831
|
-
var Rn;
|
|
3832
|
-
function sa() {
|
|
3833
|
-
return Rn || (Rn = 1, function(t, e) {
|
|
3834
|
-
Object.defineProperty(e, "__esModule", {
|
|
3835
|
-
value: !0
|
|
3836
|
-
}), Object.defineProperty(e, "unstable_rethrow", {
|
|
3837
|
-
enumerable: !0,
|
|
3838
|
-
get: function() {
|
|
3839
|
-
return o;
|
|
3840
|
-
}
|
|
3841
|
-
});
|
|
3842
|
-
const o = typeof window > "u" ? ua().unstable_rethrow : ca().unstable_rethrow;
|
|
3843
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3844
|
-
}(ke, ke.exports)), ke.exports;
|
|
3845
|
-
}
|
|
3846
|
-
var pn;
|
|
3847
|
-
function la() {
|
|
3848
|
-
return pn || (pn = 1, function(t, e) {
|
|
3849
|
-
Object.defineProperty(e, "__esModule", {
|
|
3850
|
-
value: !0
|
|
3851
|
-
});
|
|
3852
|
-
function o(f, h) {
|
|
3853
|
-
for (var p in h) Object.defineProperty(f, p, {
|
|
3854
|
-
enumerable: !0,
|
|
3855
|
-
get: h[p]
|
|
3856
|
-
});
|
|
3857
|
-
}
|
|
3858
|
-
o(e, {
|
|
3859
|
-
ReadonlyURLSearchParams: function() {
|
|
3860
|
-
return s;
|
|
3861
|
-
},
|
|
3862
|
-
RedirectType: function() {
|
|
3863
|
-
return a.RedirectType;
|
|
3864
|
-
},
|
|
3865
|
-
forbidden: function() {
|
|
3866
|
-
return i.forbidden;
|
|
3867
|
-
},
|
|
3868
|
-
notFound: function() {
|
|
3869
|
-
return n.notFound;
|
|
3870
|
-
},
|
|
3871
|
-
permanentRedirect: function() {
|
|
3872
|
-
return r.permanentRedirect;
|
|
3873
|
-
},
|
|
3874
|
-
redirect: function() {
|
|
3875
|
-
return r.redirect;
|
|
3876
|
-
},
|
|
3877
|
-
unauthorized: function() {
|
|
3878
|
-
return u.unauthorized;
|
|
3879
|
-
},
|
|
3880
|
-
unstable_rethrow: function() {
|
|
3881
|
-
return c.unstable_rethrow;
|
|
3882
|
-
}
|
|
3883
|
-
});
|
|
3884
|
-
const r = zo(), a = $t(), n = Ko(), i = Qo(), u = Jo(), c = sa();
|
|
3885
|
-
class l extends Error {
|
|
3886
|
-
constructor() {
|
|
3887
|
-
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
3888
|
-
}
|
|
3889
|
-
}
|
|
3890
|
-
class s extends URLSearchParams {
|
|
3891
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
3892
|
-
append() {
|
|
3893
|
-
throw new l();
|
|
3894
|
-
}
|
|
3895
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
3896
|
-
delete() {
|
|
3897
|
-
throw new l();
|
|
3898
|
-
}
|
|
3899
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
3900
|
-
set() {
|
|
3901
|
-
throw new l();
|
|
3902
|
-
}
|
|
3903
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
3904
|
-
sort() {
|
|
3905
|
-
throw new l();
|
|
3906
|
-
}
|
|
3907
|
-
}
|
|
3908
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3909
|
-
}(we, we.exports)), we.exports;
|
|
3910
|
-
}
|
|
3911
|
-
var Xt = {}, gn;
|
|
3912
|
-
function fa() {
|
|
3913
|
-
return gn || (gn = 1, function(t) {
|
|
3914
|
-
"use client";
|
|
3915
|
-
Object.defineProperty(t, "__esModule", {
|
|
3916
|
-
value: !0
|
|
3917
|
-
});
|
|
3918
|
-
function e(i, u) {
|
|
3919
|
-
for (var c in u) Object.defineProperty(i, c, {
|
|
3920
|
-
enumerable: !0,
|
|
3921
|
-
get: u[c]
|
|
3922
|
-
});
|
|
3923
|
-
}
|
|
3924
|
-
e(t, {
|
|
3925
|
-
ServerInsertedHTMLContext: function() {
|
|
3926
|
-
return a;
|
|
3927
|
-
},
|
|
3928
|
-
useServerInsertedHTML: function() {
|
|
3929
|
-
return n;
|
|
3930
|
-
}
|
|
3931
|
-
});
|
|
3932
|
-
const r = /* @__PURE__ */ (/* @__PURE__ */ Gt())._(ne), a = /* @__PURE__ */ r.default.createContext(null);
|
|
3933
|
-
function n(i) {
|
|
3934
|
-
const u = (0, r.useContext)(a);
|
|
3935
|
-
u && u(i);
|
|
3936
|
-
}
|
|
3937
|
-
}(Xt)), Xt;
|
|
3938
|
-
}
|
|
3939
|
-
var $e = { exports: {} }, mn;
|
|
3940
|
-
function da() {
|
|
3941
|
-
return mn || (mn = 1, function(t, e) {
|
|
3942
|
-
Object.defineProperty(e, "__esModule", {
|
|
3943
|
-
value: !0
|
|
3944
|
-
}), Object.defineProperty(e, "bailoutToClientRendering", {
|
|
3945
|
-
enumerable: !0,
|
|
3946
|
-
get: function() {
|
|
3947
|
-
return a;
|
|
3948
|
-
}
|
|
3949
|
-
});
|
|
3950
|
-
const o = Vt(), r = Fn();
|
|
3951
|
-
function a(n) {
|
|
3952
|
-
const i = r.workAsyncStorage.getStore();
|
|
3953
|
-
if (!i?.forceStatic && i?.isStaticGeneration)
|
|
3954
|
-
throw Object.defineProperty(new o.BailoutToCSRError(n), "__NEXT_ERROR_CODE", {
|
|
3955
|
-
value: "E394",
|
|
3956
|
-
enumerable: !1,
|
|
3957
|
-
configurable: !0
|
|
3958
|
-
});
|
|
3959
|
-
}
|
|
3960
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
3961
|
-
}($e, $e.exports)), $e.exports;
|
|
3962
|
-
}
|
|
3963
|
-
var yn;
|
|
3964
|
-
function _a() {
|
|
3965
|
-
return yn || (yn = 1, function(t, e) {
|
|
3966
|
-
Object.defineProperty(e, "__esModule", {
|
|
3967
|
-
value: !0
|
|
3968
|
-
});
|
|
3969
|
-
function o(b, P) {
|
|
3970
|
-
for (var R in P) Object.defineProperty(b, R, {
|
|
3971
|
-
enumerable: !0,
|
|
3972
|
-
get: P[R]
|
|
3973
|
-
});
|
|
3974
|
-
}
|
|
3975
|
-
o(e, {
|
|
3976
|
-
ReadonlyURLSearchParams: function() {
|
|
3977
|
-
return c.ReadonlyURLSearchParams;
|
|
3978
|
-
},
|
|
3979
|
-
RedirectType: function() {
|
|
3980
|
-
return c.RedirectType;
|
|
3981
|
-
},
|
|
3982
|
-
ServerInsertedHTMLContext: function() {
|
|
3983
|
-
return l.ServerInsertedHTMLContext;
|
|
3984
|
-
},
|
|
3985
|
-
forbidden: function() {
|
|
3986
|
-
return c.forbidden;
|
|
3987
|
-
},
|
|
3988
|
-
notFound: function() {
|
|
3989
|
-
return c.notFound;
|
|
3990
|
-
},
|
|
3991
|
-
permanentRedirect: function() {
|
|
3992
|
-
return c.permanentRedirect;
|
|
3993
|
-
},
|
|
3994
|
-
redirect: function() {
|
|
3995
|
-
return c.redirect;
|
|
3996
|
-
},
|
|
3997
|
-
unauthorized: function() {
|
|
3998
|
-
return c.unauthorized;
|
|
3999
|
-
},
|
|
4000
|
-
unstable_rethrow: function() {
|
|
4001
|
-
return c.unstable_rethrow;
|
|
4002
|
-
},
|
|
4003
|
-
useParams: function() {
|
|
4004
|
-
return v;
|
|
4005
|
-
},
|
|
4006
|
-
usePathname: function() {
|
|
4007
|
-
return h;
|
|
4008
|
-
},
|
|
4009
|
-
useRouter: function() {
|
|
4010
|
-
return p;
|
|
4011
|
-
},
|
|
4012
|
-
useSearchParams: function() {
|
|
4013
|
-
return f;
|
|
4014
|
-
},
|
|
4015
|
-
useSelectedLayoutSegment: function() {
|
|
4016
|
-
return A;
|
|
4017
|
-
},
|
|
4018
|
-
useSelectedLayoutSegments: function() {
|
|
4019
|
-
return m;
|
|
4020
|
-
},
|
|
4021
|
-
useServerInsertedHTML: function() {
|
|
4022
|
-
return l.useServerInsertedHTML;
|
|
4023
|
-
}
|
|
4024
|
-
});
|
|
4025
|
-
const r = ne, a = Wo(), n = $o(), i = Ho(), u = In(), c = la(), l = fa(), s = typeof window > "u" ? Xn().useDynamicRouteParams : void 0;
|
|
4026
|
-
function f() {
|
|
4027
|
-
const b = (0, r.useContext)(n.SearchParamsContext), P = (0, r.useMemo)(() => b ? new c.ReadonlyURLSearchParams(b) : null, [
|
|
4028
|
-
b
|
|
4029
|
-
]);
|
|
4030
|
-
if (typeof window > "u") {
|
|
4031
|
-
const { bailoutToClientRendering: R } = da();
|
|
4032
|
-
R("useSearchParams()");
|
|
4033
|
-
}
|
|
4034
|
-
return P;
|
|
4035
|
-
}
|
|
4036
|
-
function h() {
|
|
4037
|
-
return s?.("usePathname()"), (0, r.useContext)(n.PathnameContext);
|
|
4038
|
-
}
|
|
4039
|
-
function p() {
|
|
4040
|
-
const b = (0, r.useContext)(a.AppRouterContext);
|
|
4041
|
-
if (b === null)
|
|
4042
|
-
throw Object.defineProperty(new Error("invariant expected app router to be mounted"), "__NEXT_ERROR_CODE", {
|
|
4043
|
-
value: "E238",
|
|
4044
|
-
enumerable: !1,
|
|
4045
|
-
configurable: !0
|
|
4046
|
-
});
|
|
4047
|
-
return b;
|
|
4048
|
-
}
|
|
4049
|
-
function v() {
|
|
4050
|
-
return s?.("useParams()"), (0, r.useContext)(n.PathParamsContext);
|
|
4051
|
-
}
|
|
4052
|
-
function g(b, P, R, y) {
|
|
4053
|
-
R === void 0 && (R = !0), y === void 0 && (y = []);
|
|
4054
|
-
let N;
|
|
4055
|
-
if (R)
|
|
4056
|
-
N = b[1][P];
|
|
4057
|
-
else {
|
|
4058
|
-
const O = b[1];
|
|
4059
|
-
var M;
|
|
4060
|
-
N = (M = O.children) != null ? M : Object.values(O)[0];
|
|
4061
|
-
}
|
|
4062
|
-
if (!N) return y;
|
|
4063
|
-
const D = N[0];
|
|
4064
|
-
let x = (0, i.getSegmentValue)(D);
|
|
4065
|
-
return !x || x.startsWith(u.PAGE_SEGMENT_KEY) ? y : (y.push(x), g(N, P, !1, y));
|
|
4066
|
-
}
|
|
4067
|
-
function m(b) {
|
|
4068
|
-
b === void 0 && (b = "children"), s?.("useSelectedLayoutSegments()");
|
|
4069
|
-
const P = (0, r.useContext)(a.LayoutRouterContext);
|
|
4070
|
-
return P ? g(P.parentTree, b) : null;
|
|
4071
|
-
}
|
|
4072
|
-
function A(b) {
|
|
4073
|
-
b === void 0 && (b = "children"), s?.("useSelectedLayoutSegment()");
|
|
4074
|
-
const P = m(b);
|
|
4075
|
-
if (!P || P.length === 0)
|
|
4076
|
-
return null;
|
|
4077
|
-
const R = b === "children" ? P[0] : P[P.length - 1];
|
|
4078
|
-
return R === u.DEFAULT_SEGMENT_KEY ? null : R;
|
|
4079
|
-
}
|
|
4080
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), t.exports = e.default);
|
|
4081
|
-
}(Se, Se.exports)), Se.exports;
|
|
4082
|
-
}
|
|
4083
|
-
var Bt, bn;
|
|
4084
|
-
function Ea() {
|
|
4085
|
-
return bn || (bn = 1, Bt = _a()), Bt;
|
|
4086
|
-
}
|
|
4087
|
-
var fe = Ea();
|
|
4088
|
-
const wa = ({ items: t }) => {
|
|
4089
|
-
const e = fe.usePathname();
|
|
4090
|
-
return /* @__PURE__ */ U.jsx(Qn, { gap: 0, children: t.map(({ href: o, isActive: r, ...a }) => {
|
|
4091
|
-
if (o) {
|
|
4092
|
-
const n = r ?? o.includes(e);
|
|
4093
|
-
return /* @__PURE__ */ U.jsx(
|
|
4094
|
-
Yt,
|
|
4095
|
-
{
|
|
4096
|
-
active: n,
|
|
4097
|
-
component: Go,
|
|
4098
|
-
prefetch: !1,
|
|
4099
|
-
href: o,
|
|
4100
|
-
...a
|
|
4101
|
-
},
|
|
4102
|
-
a.label
|
|
4103
|
-
);
|
|
4104
|
-
}
|
|
4105
|
-
return /* @__PURE__ */ U.jsx(
|
|
4106
|
-
Yt,
|
|
4107
|
-
{
|
|
4108
|
-
active: r,
|
|
4109
|
-
component: "button",
|
|
4110
|
-
...a
|
|
4111
|
-
},
|
|
4112
|
-
a.label
|
|
4113
|
-
);
|
|
4114
|
-
}) });
|
|
4115
|
-
};
|
|
4116
|
-
var ha = /* @__PURE__ */ ((t) => (t[t.Continue = 100] = "Continue", t[t.SwitchingProtocols = 101] = "SwitchingProtocols", t[t.Processing = 102] = "Processing", t[t.EarlyHints = 103] = "EarlyHints", t[t.Ok = 200] = "Ok", t[t.Created = 201] = "Created", t[t.Accepted = 202] = "Accepted", t[t.NonAuthoritativeInformation = 203] = "NonAuthoritativeInformation", t[t.NoContent = 204] = "NoContent", t[t.ResetContent = 205] = "ResetContent", t[t.PartialContent = 206] = "PartialContent", t[t.MultiStatus = 207] = "MultiStatus", t[t.AlreadyReported = 208] = "AlreadyReported", t[t.ImUsed = 226] = "ImUsed", t[t.MultipleChoices = 300] = "MultipleChoices", t[t.MovedPermanently = 301] = "MovedPermanently", t[t.Found = 302] = "Found", t[t.SeeOther = 303] = "SeeOther", t[t.NotModified = 304] = "NotModified", t[t.UseProxy = 305] = "UseProxy", t[t.TemporaryRedirect = 307] = "TemporaryRedirect", t[t.PermanentRedirect = 308] = "PermanentRedirect", t[t.BadRequest = 400] = "BadRequest", t[t.Unauthorized = 401] = "Unauthorized", t[t.PaymentRequired = 402] = "PaymentRequired", t[t.Forbidden = 403] = "Forbidden", t[t.NotFound = 404] = "NotFound", t[t.MethodNotAllowed = 405] = "MethodNotAllowed", t[t.NotAcceptable = 406] = "NotAcceptable", t[t.ProxyAuthenticationRequired = 407] = "ProxyAuthenticationRequired", t[t.RequestTimeout = 408] = "RequestTimeout", t[t.Conflict = 409] = "Conflict", t[t.Gone = 410] = "Gone", t[t.LengthRequired = 411] = "LengthRequired", t[t.PreconditionFailed = 412] = "PreconditionFailed", t[t.PayloadTooLarge = 413] = "PayloadTooLarge", t[t.UriTooLong = 414] = "UriTooLong", t[t.UnsupportedMediaType = 415] = "UnsupportedMediaType", t[t.RangeNotSatisfiable = 416] = "RangeNotSatisfiable", t[t.ExpectationFailed = 417] = "ExpectationFailed", t[t.MisdirectedRequest = 421] = "MisdirectedRequest", t[t.UnprocessableEntity = 422] = "UnprocessableEntity", t[t.Locked = 423] = "Locked", t[t.FailedDependency = 424] = "FailedDependency", t[t.TooEarly = 425] = "TooEarly", t[t.UpgradeRequired = 426] = "UpgradeRequired", t[t.PreconditionRequired = 428] = "PreconditionRequired", t[t.TooManyRequests = 429] = "TooManyRequests", t[t.RequestHeaderFieldsTooLarge = 431] = "RequestHeaderFieldsTooLarge", t[t.UnavailableForLegalReasons = 451] = "UnavailableForLegalReasons", t[t.InternalServerError = 500] = "InternalServerError", t[t.NotImplemented = 501] = "NotImplemented", t[t.BadGateway = 502] = "BadGateway", t[t.ServiceUnavailable = 503] = "ServiceUnavailable", t[t.GatewayTimeout = 504] = "GatewayTimeout", t[t.HttpVersionNotSupported = 505] = "HttpVersionNotSupported", t[t.VariantAlsoNegotiates = 506] = "VariantAlsoNegotiates", t[t.InsufficientStorage = 507] = "InsufficientStorage", t[t.LoopDetected = 508] = "LoopDetected", t[t.NotExtended = 510] = "NotExtended", t[t.NetworkAuthenticationRequired = 511] = "NetworkAuthenticationRequired", t))(ha || {}), Ra = /* @__PURE__ */ ((t) => (t[t.OneHour = 3600] = "OneHour", t[t.OneDay = 86400] = "OneDay", t[t.OneWeek = 604800] = "OneWeek", t[t.OneMonth = 2592e3] = "OneMonth", t[t.OneYear = 31536e3] = "OneYear", t))(Ra || {});
|
|
4117
|
-
const Bn = Pn(null);
|
|
4118
|
-
function Da({ children: t }) {
|
|
4119
|
-
const e = fe.usePathname(), o = fe.useSearchParams(), [r, a] = vn([]);
|
|
4120
|
-
return He(() => {
|
|
4121
|
-
const n = o?.size ? `${e}?${o.toString()}` : e;
|
|
4122
|
-
n && a((i) => i.length > 0 && i[i.length - 1] === n ? i : [...i, n]);
|
|
4123
|
-
}, [e, o]), /* @__PURE__ */ U.jsx(Bn.Provider, { value: { history: r }, children: t });
|
|
4124
|
-
}
|
|
4125
|
-
const pa = "backUrl";
|
|
4126
|
-
function Ia() {
|
|
4127
|
-
const t = On(Bn), e = fe.useRouter();
|
|
4128
|
-
if (!t)
|
|
4129
|
-
throw new Error("useNavigationHistory debe usarse dentro de un NavigationHistoryProvider");
|
|
4130
|
-
const o = fe.useSearchParams(), { history: r } = t;
|
|
4131
|
-
return {
|
|
4132
|
-
history: r,
|
|
4133
|
-
goBack: (n) => {
|
|
4134
|
-
const i = o.get(pa);
|
|
4135
|
-
if (i) {
|
|
4136
|
-
e.push(i);
|
|
4137
|
-
return;
|
|
4138
|
-
}
|
|
4139
|
-
if (r.length <= 1) {
|
|
4140
|
-
e.push(n ?? "/");
|
|
4141
|
-
return;
|
|
4142
|
-
}
|
|
4143
|
-
const u = r[r.length - 2], c = r[r.length - 1];
|
|
4144
|
-
if (r.length >= 3 && r[r.length - 3] === c) {
|
|
4145
|
-
e.push(n ?? "/");
|
|
4146
|
-
return;
|
|
4147
|
-
}
|
|
4148
|
-
e.push(u ?? "/");
|
|
4149
|
-
},
|
|
4150
|
-
currentRoute: r.length > 0 ? r[r.length - 1] : null,
|
|
4151
|
-
hasPreviousRoute: r.length > 1,
|
|
4152
|
-
getPreviousRoute: () => r.length >= 2 ? r[r.length - 2] : null
|
|
4153
|
-
};
|
|
4154
|
-
}
|
|
4155
|
-
const Gn = Pn(void 0), ja = ({
|
|
4156
|
-
value: t,
|
|
4157
|
-
children: e
|
|
4158
|
-
}) => /* @__PURE__ */ U.jsx(Gn.Provider, { value: t, children: e }), Ma = () => {
|
|
4159
|
-
const t = On(Gn);
|
|
4160
|
-
if (t === void 0) throw new Error("Out of context: usePageData");
|
|
4161
|
-
return t;
|
|
4162
|
-
}, La = ({
|
|
4163
|
-
methods: t,
|
|
4164
|
-
onSubmit: e = () => {
|
|
4165
|
-
},
|
|
4166
|
-
onSubmitError: o,
|
|
4167
|
-
...r
|
|
4168
|
-
}) => /* @__PURE__ */ U.jsx(eo, { ...t, children: /* @__PURE__ */ U.jsx(
|
|
4169
|
-
Jn,
|
|
4170
|
-
{
|
|
4171
|
-
component: "form",
|
|
4172
|
-
onSubmit: t.handleSubmit(e, o),
|
|
4173
|
-
...r
|
|
4174
|
-
}
|
|
4175
|
-
) }), xa = (t) => {
|
|
4176
|
-
const { formState: e } = to(), { isSubmitting: o } = e;
|
|
4177
|
-
return /* @__PURE__ */ U.jsx(
|
|
4178
|
-
Zn,
|
|
4179
|
-
{
|
|
4180
|
-
loading: o,
|
|
4181
|
-
type: "submit",
|
|
4182
|
-
...t
|
|
4183
|
-
}
|
|
4184
|
-
);
|
|
4185
|
-
}, ga = (t) => (e) => {
|
|
4186
|
-
const o = t.safeParse(e);
|
|
4187
|
-
if (o.success) return;
|
|
4188
|
-
const { error: r } = o;
|
|
4189
|
-
return r.issues[0]?.message;
|
|
4190
|
-
}, qa = (t, e = "Campo requerido") => t.nullable().transform((o, r) => o === null ? (r.addIssue({
|
|
4191
|
-
code: zt.ZodIssueCode.custom,
|
|
4192
|
-
fatal: !0,
|
|
4193
|
-
message: e
|
|
4194
|
-
}), zt.NEVER) : o), ka = (t, e) => {
|
|
4195
|
-
const o = (r) => {
|
|
4196
|
-
const { validate: a, name: n = "", placeholder: i, label: u, description: c, ...l } = r;
|
|
4197
|
-
return /* @__PURE__ */ U.jsx(
|
|
4198
|
-
ro,
|
|
4199
|
-
{
|
|
4200
|
-
name: n,
|
|
4201
|
-
defaultValue: "",
|
|
4202
|
-
rules: {
|
|
4203
|
-
validate: a && !r.disabled ? ga(a) : void 0
|
|
4204
|
-
},
|
|
4205
|
-
disabled: r.disabled,
|
|
4206
|
-
...e?.(r),
|
|
4207
|
-
render: (s) => {
|
|
4208
|
-
const {
|
|
4209
|
-
fieldState: { isTouched: f, error: h }
|
|
4210
|
-
} = s, p = {
|
|
4211
|
-
...s,
|
|
4212
|
-
props: {
|
|
4213
|
-
...r,
|
|
4214
|
-
validate: void 0
|
|
4215
|
-
},
|
|
4216
|
-
field: {
|
|
4217
|
-
...s.field,
|
|
4218
|
-
label: u,
|
|
4219
|
-
placeholder: i,
|
|
4220
|
-
description: c,
|
|
4221
|
-
error: h?.message
|
|
4222
|
-
},
|
|
4223
|
-
...l
|
|
4224
|
-
};
|
|
4225
|
-
return /* @__PURE__ */ U.jsx(t, { ...p });
|
|
4226
|
-
}
|
|
4227
|
-
}
|
|
4228
|
-
);
|
|
4229
|
-
};
|
|
4230
|
-
return o.displayName = `withForm(${t.displayName})`, o;
|
|
4231
|
-
}, Ua = (t) => {
|
|
4232
|
-
const e = ({
|
|
4233
|
-
removeModal: o,
|
|
4234
|
-
opened: r,
|
|
4235
|
-
...a
|
|
4236
|
-
}) => {
|
|
4237
|
-
const [n, i] = vn(!1), u = () => {
|
|
4238
|
-
i(!1), setTimeout(() => o(), 200), a.onClose?.();
|
|
4239
|
-
};
|
|
4240
|
-
return He(() => {
|
|
4241
|
-
r ? setTimeout(() => i(!0), 0) : u();
|
|
4242
|
-
}, [r]), /* @__PURE__ */ U.jsx(
|
|
4243
|
-
t,
|
|
4244
|
-
{
|
|
4245
|
-
...a,
|
|
4246
|
-
opened: n,
|
|
4247
|
-
onClose: u
|
|
4248
|
-
}
|
|
4249
|
-
);
|
|
4250
|
-
};
|
|
4251
|
-
return e.displayName = `withModalManager(${t.displayName})`, e;
|
|
4252
|
-
}, Fa = {
|
|
4253
|
-
xs: "576px",
|
|
4254
|
-
sm: "640px",
|
|
4255
|
-
md: "768px",
|
|
4256
|
-
lg: "1024px",
|
|
4257
|
-
xl: "1280px",
|
|
4258
|
-
"2xl": "1536px"
|
|
4259
|
-
}, Xa = (t) => Object.entries(t).reduce(
|
|
4260
|
-
(e, [o, r]) => (e[o] = r.reduce(
|
|
4261
|
-
(a, n, i) => (a[i] = n, a),
|
|
4262
|
-
{}
|
|
4263
|
-
), e),
|
|
4264
|
-
{}
|
|
4265
|
-
);
|
|
4266
|
-
function Ba(t, e = 2) {
|
|
4267
|
-
if (!+t) return "0 Bytes";
|
|
4268
|
-
const o = 1024, r = e < 0 ? 0 : e, a = ["Bytes", "KB", "MB"], n = Math.floor(Math.log(t) / Math.log(o));
|
|
4269
|
-
return `${parseFloat((t / Math.pow(o, n)).toFixed(r))} ${a[n]}`;
|
|
4270
|
-
}
|
|
4271
|
-
const ma = async (t) => t.text().then(function(e) {
|
|
4272
|
-
return e ? JSON.parse(e) : {};
|
|
4273
|
-
}), Ga = async (t) => (t.response.bodyJson = await ma(t.response), t);
|
|
4274
|
-
function Wa(t, e, o) {
|
|
4275
|
-
return o ? t.reduce(
|
|
4276
|
-
(r, a) => {
|
|
4277
|
-
const n = e(a);
|
|
4278
|
-
return n === void 0 || (r[n] = o(a)), r;
|
|
4279
|
-
},
|
|
4280
|
-
{}
|
|
4281
|
-
) : t.reduce(
|
|
4282
|
-
(r, a) => {
|
|
4283
|
-
const n = e(a);
|
|
4284
|
-
return n === void 0 || (r[n] = a), r;
|
|
4285
|
-
},
|
|
4286
|
-
{}
|
|
4287
|
-
);
|
|
4288
|
-
}
|
|
4289
|
-
const $a = (t, e) => {
|
|
4290
|
-
const o = {};
|
|
4291
|
-
return t?.forEach((r) => {
|
|
4292
|
-
const a = e(r);
|
|
4293
|
-
if (a !== null) {
|
|
4294
|
-
if (Array.isArray(a)) {
|
|
4295
|
-
a.forEach((n) => {
|
|
4296
|
-
o[n] || (o[n] = []), o[n]?.push(r);
|
|
4297
|
-
});
|
|
4298
|
-
return;
|
|
4299
|
-
}
|
|
4300
|
-
o[a] || (o[a] = []), o[a]?.push(r);
|
|
4301
|
-
}
|
|
4302
|
-
}), o;
|
|
4303
|
-
}, Ha = (t) => {
|
|
4304
|
-
const e = [...t];
|
|
4305
|
-
let o = e.length, r;
|
|
4306
|
-
for (; o > 0; )
|
|
4307
|
-
r = Math.floor(Math.random() * o), o--, [e[o], e[r]] = [
|
|
4308
|
-
e[r],
|
|
4309
|
-
e[o]
|
|
4310
|
-
];
|
|
4311
|
-
return e;
|
|
4312
|
-
}, Va = (t) => (e) => {
|
|
4313
|
-
const o = typeof t == "string" ? t : t(
|
|
4314
|
-
e ?? {
|
|
4315
|
-
params: {},
|
|
4316
|
-
searchParams: {}
|
|
4317
|
-
}
|
|
4318
|
-
);
|
|
4319
|
-
if (e?.searchParams) {
|
|
4320
|
-
const r = no.stringify(e.searchParams, {
|
|
4321
|
-
skipEmptyString: !0,
|
|
4322
|
-
skipNull: !0
|
|
4323
|
-
});
|
|
4324
|
-
return `${o}${r ? `?${r}` : ""}`;
|
|
4325
|
-
}
|
|
4326
|
-
return o;
|
|
4327
|
-
}, Ya = (t) => t?.pages[0].data.length === 0;
|
|
4328
|
-
export {
|
|
4329
|
-
Sa as EmptyState,
|
|
4330
|
-
La as Form,
|
|
4331
|
-
xa as FormButtonSubmit,
|
|
4332
|
-
ha as HttpStatus,
|
|
4333
|
-
lo as InfinityLoader,
|
|
4334
|
-
wa as NavItems,
|
|
4335
|
-
Da as NavigationHistoryProvider,
|
|
4336
|
-
ja as PageDataProvider,
|
|
4337
|
-
pa as QP_BACK_URL_NAME,
|
|
4338
|
-
Ra as Revalidate,
|
|
4339
|
-
Ca as SelectInfinity,
|
|
4340
|
-
Ga as addBodyJsonHook,
|
|
4341
|
-
Fa as breakpointsWithPx,
|
|
4342
|
-
Ba as formatBytes,
|
|
4343
|
-
$a as groupBy,
|
|
4344
|
-
Wa as indexBy,
|
|
4345
|
-
Ya as isInfinityEmpty,
|
|
4346
|
-
Va as newHref,
|
|
4347
|
-
qa as nullableInput,
|
|
4348
|
-
ma as parseJSON,
|
|
4349
|
-
Ha as shuffleArray,
|
|
4350
|
-
Xa as toTailwindColors,
|
|
4351
|
-
_o as useFetchNextPageOnScroll,
|
|
4352
|
-
Ia as useNavigationHistory,
|
|
4353
|
-
fo as useOnScrollProgress,
|
|
4354
|
-
Ma as usePageData,
|
|
4355
|
-
ka as withForm,
|
|
4356
|
-
Ua as withModalManager,
|
|
4357
|
-
ga as zodValidator
|
|
4358
|
-
};
|
|
4359
|
-
//# sourceMappingURL=lkd-web-kit.js.map
|