@lssm/lib.design-system 1.41.0 → 1.41.1
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/package.json +8 -7
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -14
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -35
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -30
- package/dist/node_modules/next/dist/client/add-locale.js +0 -29
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -26
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -41
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -28
- package/dist/node_modules/next/dist/client/link.js +0 -311
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -30
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -34
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -44
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -86
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -104
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -56
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -372
- package/dist/node_modules/next/dist/lib/constants.js +0 -316
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -69
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -22
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -30
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -24
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -78
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -151
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -77
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -92
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -26
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -24
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -24
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -26
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -94
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -203
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -167
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -80
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -172
- package/dist/node_modules/next/link.js +0 -12
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../../node_modules/next/dist/lib/constants.js
|
|
4
|
-
var require_constants = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
function _export(target, all) {
|
|
7
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: all[name]
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
_export(exports, {
|
|
13
|
-
ACTION_SUFFIX: function() {
|
|
14
|
-
return ACTION_SUFFIX;
|
|
15
|
-
},
|
|
16
|
-
APP_DIR_ALIAS: function() {
|
|
17
|
-
return APP_DIR_ALIAS;
|
|
18
|
-
},
|
|
19
|
-
CACHE_ONE_YEAR: function() {
|
|
20
|
-
return CACHE_ONE_YEAR;
|
|
21
|
-
},
|
|
22
|
-
DOT_NEXT_ALIAS: function() {
|
|
23
|
-
return DOT_NEXT_ALIAS;
|
|
24
|
-
},
|
|
25
|
-
ESLINT_DEFAULT_DIRS: function() {
|
|
26
|
-
return ESLINT_DEFAULT_DIRS;
|
|
27
|
-
},
|
|
28
|
-
GSP_NO_RETURNED_VALUE: function() {
|
|
29
|
-
return GSP_NO_RETURNED_VALUE;
|
|
30
|
-
},
|
|
31
|
-
GSSP_COMPONENT_MEMBER_ERROR: function() {
|
|
32
|
-
return GSSP_COMPONENT_MEMBER_ERROR;
|
|
33
|
-
},
|
|
34
|
-
GSSP_NO_RETURNED_VALUE: function() {
|
|
35
|
-
return GSSP_NO_RETURNED_VALUE;
|
|
36
|
-
},
|
|
37
|
-
HTML_CONTENT_TYPE_HEADER: function() {
|
|
38
|
-
return HTML_CONTENT_TYPE_HEADER;
|
|
39
|
-
},
|
|
40
|
-
INFINITE_CACHE: function() {
|
|
41
|
-
return INFINITE_CACHE;
|
|
42
|
-
},
|
|
43
|
-
INSTRUMENTATION_HOOK_FILENAME: function() {
|
|
44
|
-
return INSTRUMENTATION_HOOK_FILENAME;
|
|
45
|
-
},
|
|
46
|
-
JSON_CONTENT_TYPE_HEADER: function() {
|
|
47
|
-
return JSON_CONTENT_TYPE_HEADER;
|
|
48
|
-
},
|
|
49
|
-
MATCHED_PATH_HEADER: function() {
|
|
50
|
-
return MATCHED_PATH_HEADER;
|
|
51
|
-
},
|
|
52
|
-
MIDDLEWARE_FILENAME: function() {
|
|
53
|
-
return MIDDLEWARE_FILENAME;
|
|
54
|
-
},
|
|
55
|
-
MIDDLEWARE_LOCATION_REGEXP: function() {
|
|
56
|
-
return MIDDLEWARE_LOCATION_REGEXP;
|
|
57
|
-
},
|
|
58
|
-
NEXT_BODY_SUFFIX: function() {
|
|
59
|
-
return NEXT_BODY_SUFFIX;
|
|
60
|
-
},
|
|
61
|
-
NEXT_CACHE_IMPLICIT_TAG_ID: function() {
|
|
62
|
-
return NEXT_CACHE_IMPLICIT_TAG_ID;
|
|
63
|
-
},
|
|
64
|
-
NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
|
|
65
|
-
return NEXT_CACHE_REVALIDATED_TAGS_HEADER;
|
|
66
|
-
},
|
|
67
|
-
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
|
|
68
|
-
return NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER;
|
|
69
|
-
},
|
|
70
|
-
NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
|
|
71
|
-
return NEXT_CACHE_SOFT_TAG_MAX_LENGTH;
|
|
72
|
-
},
|
|
73
|
-
NEXT_CACHE_TAGS_HEADER: function() {
|
|
74
|
-
return NEXT_CACHE_TAGS_HEADER;
|
|
75
|
-
},
|
|
76
|
-
NEXT_CACHE_TAG_MAX_ITEMS: function() {
|
|
77
|
-
return NEXT_CACHE_TAG_MAX_ITEMS;
|
|
78
|
-
},
|
|
79
|
-
NEXT_CACHE_TAG_MAX_LENGTH: function() {
|
|
80
|
-
return NEXT_CACHE_TAG_MAX_LENGTH;
|
|
81
|
-
},
|
|
82
|
-
NEXT_DATA_SUFFIX: function() {
|
|
83
|
-
return NEXT_DATA_SUFFIX;
|
|
84
|
-
},
|
|
85
|
-
NEXT_INTERCEPTION_MARKER_PREFIX: function() {
|
|
86
|
-
return NEXT_INTERCEPTION_MARKER_PREFIX;
|
|
87
|
-
},
|
|
88
|
-
NEXT_META_SUFFIX: function() {
|
|
89
|
-
return NEXT_META_SUFFIX;
|
|
90
|
-
},
|
|
91
|
-
NEXT_QUERY_PARAM_PREFIX: function() {
|
|
92
|
-
return NEXT_QUERY_PARAM_PREFIX;
|
|
93
|
-
},
|
|
94
|
-
NEXT_RESUME_HEADER: function() {
|
|
95
|
-
return NEXT_RESUME_HEADER;
|
|
96
|
-
},
|
|
97
|
-
NON_STANDARD_NODE_ENV: function() {
|
|
98
|
-
return NON_STANDARD_NODE_ENV;
|
|
99
|
-
},
|
|
100
|
-
PAGES_DIR_ALIAS: function() {
|
|
101
|
-
return PAGES_DIR_ALIAS;
|
|
102
|
-
},
|
|
103
|
-
PRERENDER_REVALIDATE_HEADER: function() {
|
|
104
|
-
return PRERENDER_REVALIDATE_HEADER;
|
|
105
|
-
},
|
|
106
|
-
PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
|
|
107
|
-
return PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER;
|
|
108
|
-
},
|
|
109
|
-
PROXY_FILENAME: function() {
|
|
110
|
-
return PROXY_FILENAME;
|
|
111
|
-
},
|
|
112
|
-
PROXY_LOCATION_REGEXP: function() {
|
|
113
|
-
return PROXY_LOCATION_REGEXP;
|
|
114
|
-
},
|
|
115
|
-
PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
|
|
116
|
-
return PUBLIC_DIR_MIDDLEWARE_CONFLICT;
|
|
117
|
-
},
|
|
118
|
-
ROOT_DIR_ALIAS: function() {
|
|
119
|
-
return ROOT_DIR_ALIAS;
|
|
120
|
-
},
|
|
121
|
-
RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
|
|
122
|
-
return RSC_ACTION_CLIENT_WRAPPER_ALIAS;
|
|
123
|
-
},
|
|
124
|
-
RSC_ACTION_ENCRYPTION_ALIAS: function() {
|
|
125
|
-
return RSC_ACTION_ENCRYPTION_ALIAS;
|
|
126
|
-
},
|
|
127
|
-
RSC_ACTION_PROXY_ALIAS: function() {
|
|
128
|
-
return RSC_ACTION_PROXY_ALIAS;
|
|
129
|
-
},
|
|
130
|
-
RSC_ACTION_VALIDATE_ALIAS: function() {
|
|
131
|
-
return RSC_ACTION_VALIDATE_ALIAS;
|
|
132
|
-
},
|
|
133
|
-
RSC_CACHE_WRAPPER_ALIAS: function() {
|
|
134
|
-
return RSC_CACHE_WRAPPER_ALIAS;
|
|
135
|
-
},
|
|
136
|
-
RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function() {
|
|
137
|
-
return RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS;
|
|
138
|
-
},
|
|
139
|
-
RSC_MOD_REF_PROXY_ALIAS: function() {
|
|
140
|
-
return RSC_MOD_REF_PROXY_ALIAS;
|
|
141
|
-
},
|
|
142
|
-
RSC_PREFETCH_SUFFIX: function() {
|
|
143
|
-
return RSC_PREFETCH_SUFFIX;
|
|
144
|
-
},
|
|
145
|
-
RSC_SEGMENTS_DIR_SUFFIX: function() {
|
|
146
|
-
return RSC_SEGMENTS_DIR_SUFFIX;
|
|
147
|
-
},
|
|
148
|
-
RSC_SEGMENT_SUFFIX: function() {
|
|
149
|
-
return RSC_SEGMENT_SUFFIX;
|
|
150
|
-
},
|
|
151
|
-
RSC_SUFFIX: function() {
|
|
152
|
-
return RSC_SUFFIX;
|
|
153
|
-
},
|
|
154
|
-
SERVER_PROPS_EXPORT_ERROR: function() {
|
|
155
|
-
return SERVER_PROPS_EXPORT_ERROR;
|
|
156
|
-
},
|
|
157
|
-
SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
|
|
158
|
-
return SERVER_PROPS_GET_INIT_PROPS_CONFLICT;
|
|
159
|
-
},
|
|
160
|
-
SERVER_PROPS_SSG_CONFLICT: function() {
|
|
161
|
-
return SERVER_PROPS_SSG_CONFLICT;
|
|
162
|
-
},
|
|
163
|
-
SERVER_RUNTIME: function() {
|
|
164
|
-
return SERVER_RUNTIME;
|
|
165
|
-
},
|
|
166
|
-
SSG_FALLBACK_EXPORT_ERROR: function() {
|
|
167
|
-
return SSG_FALLBACK_EXPORT_ERROR;
|
|
168
|
-
},
|
|
169
|
-
SSG_GET_INITIAL_PROPS_CONFLICT: function() {
|
|
170
|
-
return SSG_GET_INITIAL_PROPS_CONFLICT;
|
|
171
|
-
},
|
|
172
|
-
STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
|
|
173
|
-
return STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR;
|
|
174
|
-
},
|
|
175
|
-
TEXT_PLAIN_CONTENT_TYPE_HEADER: function() {
|
|
176
|
-
return TEXT_PLAIN_CONTENT_TYPE_HEADER;
|
|
177
|
-
},
|
|
178
|
-
UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
|
|
179
|
-
return UNSTABLE_REVALIDATE_RENAME_ERROR;
|
|
180
|
-
},
|
|
181
|
-
WEBPACK_LAYERS: function() {
|
|
182
|
-
return WEBPACK_LAYERS;
|
|
183
|
-
},
|
|
184
|
-
WEBPACK_RESOURCE_QUERIES: function() {
|
|
185
|
-
return WEBPACK_RESOURCE_QUERIES;
|
|
186
|
-
},
|
|
187
|
-
WEB_SOCKET_MAX_RECONNECTIONS: function() {
|
|
188
|
-
return WEB_SOCKET_MAX_RECONNECTIONS;
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
const TEXT_PLAIN_CONTENT_TYPE_HEADER = "text/plain";
|
|
192
|
-
const HTML_CONTENT_TYPE_HEADER = "text/html; charset=utf-8";
|
|
193
|
-
const JSON_CONTENT_TYPE_HEADER = "application/json; charset=utf-8";
|
|
194
|
-
const NEXT_QUERY_PARAM_PREFIX = "nxtP";
|
|
195
|
-
const NEXT_INTERCEPTION_MARKER_PREFIX = "nxtI";
|
|
196
|
-
const MATCHED_PATH_HEADER = "x-matched-path";
|
|
197
|
-
const PRERENDER_REVALIDATE_HEADER = "x-prerender-revalidate";
|
|
198
|
-
const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = "x-prerender-revalidate-if-generated";
|
|
199
|
-
const RSC_PREFETCH_SUFFIX = ".prefetch.rsc";
|
|
200
|
-
const RSC_SEGMENTS_DIR_SUFFIX = ".segments";
|
|
201
|
-
const RSC_SEGMENT_SUFFIX = ".segment.rsc";
|
|
202
|
-
const RSC_SUFFIX = ".rsc";
|
|
203
|
-
const ACTION_SUFFIX = ".action";
|
|
204
|
-
const NEXT_DATA_SUFFIX = ".json";
|
|
205
|
-
const NEXT_META_SUFFIX = ".meta";
|
|
206
|
-
const NEXT_BODY_SUFFIX = ".body";
|
|
207
|
-
const NEXT_CACHE_TAGS_HEADER = "x-next-cache-tags";
|
|
208
|
-
const NEXT_CACHE_REVALIDATED_TAGS_HEADER = "x-next-revalidated-tags";
|
|
209
|
-
const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = "x-next-revalidate-tag-token";
|
|
210
|
-
const NEXT_RESUME_HEADER = "next-resume";
|
|
211
|
-
const NEXT_CACHE_TAG_MAX_ITEMS = 128;
|
|
212
|
-
const NEXT_CACHE_TAG_MAX_LENGTH = 256;
|
|
213
|
-
const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;
|
|
214
|
-
const NEXT_CACHE_IMPLICIT_TAG_ID = "_N_T_";
|
|
215
|
-
const CACHE_ONE_YEAR = 31536e3;
|
|
216
|
-
const INFINITE_CACHE = 4294967294;
|
|
217
|
-
const MIDDLEWARE_FILENAME = "middleware";
|
|
218
|
-
const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;
|
|
219
|
-
const PROXY_FILENAME = "proxy";
|
|
220
|
-
const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`;
|
|
221
|
-
const INSTRUMENTATION_HOOK_FILENAME = "instrumentation";
|
|
222
|
-
const PAGES_DIR_ALIAS = "private-next-pages";
|
|
223
|
-
const DOT_NEXT_ALIAS = "private-dot-next";
|
|
224
|
-
const ROOT_DIR_ALIAS = "private-next-root-dir";
|
|
225
|
-
const APP_DIR_ALIAS = "private-next-app-dir";
|
|
226
|
-
const RSC_MOD_REF_PROXY_ALIAS = "private-next-rsc-mod-ref-proxy";
|
|
227
|
-
const RSC_ACTION_VALIDATE_ALIAS = "private-next-rsc-action-validate";
|
|
228
|
-
const RSC_ACTION_PROXY_ALIAS = "private-next-rsc-server-reference";
|
|
229
|
-
const RSC_CACHE_WRAPPER_ALIAS = "private-next-rsc-cache-wrapper";
|
|
230
|
-
const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = "private-next-rsc-track-dynamic-import";
|
|
231
|
-
const RSC_ACTION_ENCRYPTION_ALIAS = "private-next-rsc-action-encryption";
|
|
232
|
-
const RSC_ACTION_CLIENT_WRAPPER_ALIAS = "private-next-rsc-action-client-wrapper";
|
|
233
|
-
const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `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`;
|
|
234
|
-
const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`;
|
|
235
|
-
const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`;
|
|
236
|
-
const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`;
|
|
237
|
-
const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`;
|
|
238
|
-
const SERVER_PROPS_EXPORT_ERROR = `pages with \`getServerSideProps\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`;
|
|
239
|
-
const GSP_NO_RETURNED_VALUE = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?";
|
|
240
|
-
const GSSP_NO_RETURNED_VALUE = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?";
|
|
241
|
-
const UNSTABLE_REVALIDATE_RENAME_ERROR = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.";
|
|
242
|
-
const GSSP_COMPONENT_MEMBER_ERROR = `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`;
|
|
243
|
-
const NON_STANDARD_NODE_ENV = `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`;
|
|
244
|
-
const SSG_FALLBACK_EXPORT_ERROR = `Pages with \`fallback\` enabled in \`getStaticPaths\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`;
|
|
245
|
-
const ESLINT_DEFAULT_DIRS = [
|
|
246
|
-
"app",
|
|
247
|
-
"pages",
|
|
248
|
-
"components",
|
|
249
|
-
"lib",
|
|
250
|
-
"src"
|
|
251
|
-
];
|
|
252
|
-
const SERVER_RUNTIME = {
|
|
253
|
-
edge: "edge",
|
|
254
|
-
experimentalEdge: "experimental-edge",
|
|
255
|
-
nodejs: "nodejs"
|
|
256
|
-
};
|
|
257
|
-
const WEB_SOCKET_MAX_RECONNECTIONS = 12;
|
|
258
|
-
/**
|
|
259
|
-
* The names of the webpack layers. These layers are the primitives for the
|
|
260
|
-
* webpack chunks.
|
|
261
|
-
*/ const WEBPACK_LAYERS_NAMES = {
|
|
262
|
-
shared: "shared",
|
|
263
|
-
reactServerComponents: "rsc",
|
|
264
|
-
serverSideRendering: "ssr",
|
|
265
|
-
actionBrowser: "action-browser",
|
|
266
|
-
apiNode: "api-node",
|
|
267
|
-
apiEdge: "api-edge",
|
|
268
|
-
middleware: "middleware",
|
|
269
|
-
instrument: "instrument",
|
|
270
|
-
edgeAsset: "edge-asset",
|
|
271
|
-
appPagesBrowser: "app-pages-browser",
|
|
272
|
-
pagesDirBrowser: "pages-dir-browser",
|
|
273
|
-
pagesDirEdge: "pages-dir-edge",
|
|
274
|
-
pagesDirNode: "pages-dir-node"
|
|
275
|
-
};
|
|
276
|
-
const WEBPACK_LAYERS = {
|
|
277
|
-
...WEBPACK_LAYERS_NAMES,
|
|
278
|
-
GROUP: {
|
|
279
|
-
builtinReact: [WEBPACK_LAYERS_NAMES.reactServerComponents, WEBPACK_LAYERS_NAMES.actionBrowser],
|
|
280
|
-
serverOnly: [
|
|
281
|
-
WEBPACK_LAYERS_NAMES.reactServerComponents,
|
|
282
|
-
WEBPACK_LAYERS_NAMES.actionBrowser,
|
|
283
|
-
WEBPACK_LAYERS_NAMES.instrument,
|
|
284
|
-
WEBPACK_LAYERS_NAMES.middleware
|
|
285
|
-
],
|
|
286
|
-
neutralTarget: [WEBPACK_LAYERS_NAMES.apiNode, WEBPACK_LAYERS_NAMES.apiEdge],
|
|
287
|
-
clientOnly: [WEBPACK_LAYERS_NAMES.serverSideRendering, WEBPACK_LAYERS_NAMES.appPagesBrowser],
|
|
288
|
-
bundled: [
|
|
289
|
-
WEBPACK_LAYERS_NAMES.reactServerComponents,
|
|
290
|
-
WEBPACK_LAYERS_NAMES.actionBrowser,
|
|
291
|
-
WEBPACK_LAYERS_NAMES.serverSideRendering,
|
|
292
|
-
WEBPACK_LAYERS_NAMES.appPagesBrowser,
|
|
293
|
-
WEBPACK_LAYERS_NAMES.shared,
|
|
294
|
-
WEBPACK_LAYERS_NAMES.instrument,
|
|
295
|
-
WEBPACK_LAYERS_NAMES.middleware
|
|
296
|
-
],
|
|
297
|
-
appPages: [
|
|
298
|
-
WEBPACK_LAYERS_NAMES.reactServerComponents,
|
|
299
|
-
WEBPACK_LAYERS_NAMES.serverSideRendering,
|
|
300
|
-
WEBPACK_LAYERS_NAMES.appPagesBrowser,
|
|
301
|
-
WEBPACK_LAYERS_NAMES.actionBrowser
|
|
302
|
-
]
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
const WEBPACK_RESOURCE_QUERIES = {
|
|
306
|
-
edgeSSREntry: "__next_edge_ssr_entry__",
|
|
307
|
-
metadata: "__next_metadata__",
|
|
308
|
-
metadataRoute: "__next_metadata_route__",
|
|
309
|
-
metadataImageMeta: "__next_metadata_image_meta__"
|
|
310
|
-
};
|
|
311
|
-
}));
|
|
312
|
-
|
|
313
|
-
//#endregion
|
|
314
|
-
export default require_constants();
|
|
315
|
-
|
|
316
|
-
export { require_constants };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../../node_modules/next/dist/lib/route-pattern-normalizer.js
|
|
4
|
-
var require_route_pattern_normalizer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
function _export(target, all) {
|
|
7
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: all[name]
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
_export(exports, {
|
|
13
|
-
PARAM_SEPARATOR: function() {
|
|
14
|
-
return PARAM_SEPARATOR;
|
|
15
|
-
},
|
|
16
|
-
hasAdjacentParameterIssues: function() {
|
|
17
|
-
return hasAdjacentParameterIssues;
|
|
18
|
-
},
|
|
19
|
-
normalizeAdjacentParameters: function() {
|
|
20
|
-
return normalizeAdjacentParameters;
|
|
21
|
-
},
|
|
22
|
-
normalizeTokensForRegexp: function() {
|
|
23
|
-
return normalizeTokensForRegexp;
|
|
24
|
-
},
|
|
25
|
-
stripNormalizedSeparators: function() {
|
|
26
|
-
return stripNormalizedSeparators;
|
|
27
|
-
},
|
|
28
|
-
stripParameterSeparators: function() {
|
|
29
|
-
return stripParameterSeparators;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
const PARAM_SEPARATOR = "_NEXTSEP_";
|
|
33
|
-
function hasAdjacentParameterIssues(route) {
|
|
34
|
-
if (typeof route !== "string") return false;
|
|
35
|
-
if (/\/\(\.{1,3}\):[^/\s]+/.test(route)) return true;
|
|
36
|
-
if (/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(route)) return true;
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
function normalizeAdjacentParameters(route) {
|
|
40
|
-
let normalized = route;
|
|
41
|
-
normalized = normalized.replace(/(\([^)]*\)):([^/\s]+)/g, `$1${PARAM_SEPARATOR}:$2`);
|
|
42
|
-
normalized = normalized.replace(/:([^:/\s)]+)(?=:)/g, `:$1${PARAM_SEPARATOR}`);
|
|
43
|
-
return normalized;
|
|
44
|
-
}
|
|
45
|
-
function normalizeTokensForRegexp(tokens) {
|
|
46
|
-
return tokens.map((token) => {
|
|
47
|
-
if (typeof token === "object" && token !== null && "modifier" in token && (token.modifier === "*" || token.modifier === "+") && "prefix" in token && "suffix" in token && token.prefix === "" && token.suffix === "") return {
|
|
48
|
-
...token,
|
|
49
|
-
prefix: "/"
|
|
50
|
-
};
|
|
51
|
-
return token;
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function stripNormalizedSeparators(pathname) {
|
|
55
|
-
return pathname.replace(new RegExp(`\\)${PARAM_SEPARATOR}`, "g"), ")");
|
|
56
|
-
}
|
|
57
|
-
function stripParameterSeparators(params) {
|
|
58
|
-
const cleaned = {};
|
|
59
|
-
for (const [key, value] of Object.entries(params)) if (typeof value === "string") cleaned[key] = value.replace(/* @__PURE__ */ new RegExp(`^${PARAM_SEPARATOR}`), "");
|
|
60
|
-
else if (Array.isArray(value)) cleaned[key] = value.map((item) => typeof item === "string" ? item.replace(/* @__PURE__ */ new RegExp(`^${PARAM_SEPARATOR}`), "") : item);
|
|
61
|
-
else cleaned[key] = value;
|
|
62
|
-
return cleaned;
|
|
63
|
-
}
|
|
64
|
-
}));
|
|
65
|
-
|
|
66
|
-
//#endregion
|
|
67
|
-
export default require_route_pattern_normalizer();
|
|
68
|
-
|
|
69
|
-
export { require_route_pattern_normalizer };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../../node_modules/next/dist/shared/lib/escape-regexp.js
|
|
4
|
-
var require_escape_regexp = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
Object.defineProperty(exports, "escapeStringRegexp", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return escapeStringRegexp;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
const reHasRegExp = /[|\\{}()[\]^$+*?.-]/;
|
|
13
|
-
const reReplaceRegExp = /[|\\{}()[\]^$+*?.-]/g;
|
|
14
|
-
function escapeStringRegexp(str) {
|
|
15
|
-
if (reHasRegExp.test(str)) return str.replace(reReplaceRegExp, "\\$&");
|
|
16
|
-
return str;
|
|
17
|
-
}
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export default require_escape_regexp();
|
|
22
|
-
|
|
23
|
-
export { require_escape_regexp };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js
|
|
4
|
-
var require_detect_domain_locale = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
Object.defineProperty(exports, "detectDomainLocale", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return detectDomainLocale;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
function detectDomainLocale(domainItems, hostname, detectedLocale) {
|
|
13
|
-
if (!domainItems) return;
|
|
14
|
-
if (detectedLocale) detectedLocale = detectedLocale.toLowerCase();
|
|
15
|
-
for (const item of domainItems) if (hostname === item.domain?.split(":", 1)[0].toLowerCase() || detectedLocale === item.defaultLocale.toLowerCase() || item.locales?.some((locale) => locale.toLowerCase() === detectedLocale)) return item;
|
|
16
|
-
}
|
|
17
|
-
}));
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export default require_detect_domain_locale();
|
|
21
|
-
|
|
22
|
-
export { require_detect_domain_locale };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js
|
|
4
|
-
var require_normalize_locale_path = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
Object.defineProperty(exports, "normalizeLocalePath", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return normalizeLocalePath;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
/**
|
|
13
|
-
* A cache of lowercased locales for each list of locales. This is stored as a
|
|
14
|
-
* WeakMap so if the locales are garbage collected, the cache entry will be
|
|
15
|
-
* removed as well.
|
|
16
|
-
*/ const cache = /* @__PURE__ */ new WeakMap();
|
|
17
|
-
function normalizeLocalePath(pathname, locales) {
|
|
18
|
-
if (!locales) return { pathname };
|
|
19
|
-
let lowercasedLocales = cache.get(locales);
|
|
20
|
-
if (!lowercasedLocales) {
|
|
21
|
-
lowercasedLocales = locales.map((locale) => locale.toLowerCase());
|
|
22
|
-
cache.set(locales, lowercasedLocales);
|
|
23
|
-
}
|
|
24
|
-
let detectedLocale;
|
|
25
|
-
const segments = pathname.split("/", 2);
|
|
26
|
-
if (!segments[1]) return { pathname };
|
|
27
|
-
const segment = segments[1].toLowerCase();
|
|
28
|
-
const index = lowercasedLocales.indexOf(segment);
|
|
29
|
-
if (index < 0) return { pathname };
|
|
30
|
-
detectedLocale = locales[index];
|
|
31
|
-
pathname = pathname.slice(detectedLocale.length + 1) || "/";
|
|
32
|
-
return {
|
|
33
|
-
pathname,
|
|
34
|
-
detectedLocale
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
}));
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
export default require_normalize_locale_path();
|
|
41
|
-
|
|
42
|
-
export { require_normalize_locale_path };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../../node_modules/next/dist/shared/lib/invariant-error.js
|
|
4
|
-
var require_invariant_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
Object.defineProperty(exports, "InvariantError", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return InvariantError;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var InvariantError = class extends Error {
|
|
13
|
-
constructor(message, options) {
|
|
14
|
-
super(`Invariant: ${message.endsWith(".") ? message : message + "."} This is a bug in Next.js.`, options);
|
|
15
|
-
this.name = "InvariantError";
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export default require_invariant_error();
|
|
22
|
-
|
|
23
|
-
export { require_invariant_error };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js
|
|
4
|
-
/**
|
|
5
|
-
* For a given page path, this function ensures that there is a leading slash.
|
|
6
|
-
* If there is not a leading slash, one is added, otherwise it is noop.
|
|
7
|
-
*/ var require_ensure_leading_slash = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
Object.defineProperty(exports, "ensureLeadingSlash", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function() {
|
|
12
|
-
return ensureLeadingSlash;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
function ensureLeadingSlash(path) {
|
|
16
|
-
return path.startsWith("/") ? path : `/${path}`;
|
|
17
|
-
}
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export default require_ensure_leading_slash();
|
|
22
|
-
|
|
23
|
-
export { require_ensure_leading_slash };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_path_has_prefix } from "./path-has-prefix.js";
|
|
3
|
-
import { require_add_path_prefix } from "./add-path-prefix.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../../node_modules/next/dist/shared/lib/router/utils/add-locale.js
|
|
6
|
-
var require_add_locale = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
Object.defineProperty(exports, "addLocale", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function() {
|
|
11
|
-
return addLocale;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
const _addpathprefix = require_add_path_prefix();
|
|
15
|
-
const _pathhasprefix = require_path_has_prefix();
|
|
16
|
-
function addLocale(path, locale, defaultLocale, ignorePrefix) {
|
|
17
|
-
if (!locale || locale === defaultLocale) return path;
|
|
18
|
-
const lower = path.toLowerCase();
|
|
19
|
-
if (!ignorePrefix) {
|
|
20
|
-
if ((0, _pathhasprefix.pathHasPrefix)(lower, "/api")) return path;
|
|
21
|
-
if ((0, _pathhasprefix.pathHasPrefix)(lower, `/${locale.toLowerCase()}`)) return path;
|
|
22
|
-
}
|
|
23
|
-
return (0, _addpathprefix.addPathPrefix)(path, `/${locale}`);
|
|
24
|
-
}
|
|
25
|
-
}));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export default require_add_locale();
|
|
29
|
-
|
|
30
|
-
export { require_add_locale };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_parse_path } from "./parse-path.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js
|
|
5
|
-
var require_add_path_prefix = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
Object.defineProperty(exports, "addPathPrefix", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function() {
|
|
10
|
-
return addPathPrefix;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
const _parsepath = require_parse_path();
|
|
14
|
-
function addPathPrefix(path, prefix) {
|
|
15
|
-
if (!path.startsWith("/") || !prefix) return path;
|
|
16
|
-
const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
|
|
17
|
-
return `${prefix}${pathname}${query}${hash}`;
|
|
18
|
-
}
|
|
19
|
-
}));
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export default require_add_path_prefix();
|
|
23
|
-
|
|
24
|
-
export { require_add_path_prefix };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_ensure_leading_slash } from "../../page-path/ensure-leading-slash.js";
|
|
3
|
-
import { require_segment } from "../../segment.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js
|
|
6
|
-
var require_app_paths = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
function _export(target, all) {
|
|
9
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: all[name]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
_export(exports, {
|
|
15
|
-
normalizeAppPath: function() {
|
|
16
|
-
return normalizeAppPath;
|
|
17
|
-
},
|
|
18
|
-
normalizeRscURL: function() {
|
|
19
|
-
return normalizeRscURL;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
const _ensureleadingslash = require_ensure_leading_slash();
|
|
23
|
-
const _segment = require_segment();
|
|
24
|
-
function normalizeAppPath(route) {
|
|
25
|
-
return (0, _ensureleadingslash.ensureLeadingSlash)(route.split("/").reduce((pathname, segment, index, segments) => {
|
|
26
|
-
if (!segment) return pathname;
|
|
27
|
-
if ((0, _segment.isGroupSegment)(segment)) return pathname;
|
|
28
|
-
if (segment[0] === "@") return pathname;
|
|
29
|
-
if ((segment === "page" || segment === "route") && index === segments.length - 1) return pathname;
|
|
30
|
-
return `${pathname}/${segment}`;
|
|
31
|
-
}, ""));
|
|
32
|
-
}
|
|
33
|
-
function normalizeRscURL(url) {
|
|
34
|
-
return url.replace(/\.rsc($|\?)/, "$1");
|
|
35
|
-
}
|
|
36
|
-
}));
|
|
37
|
-
|
|
38
|
-
//#endregion
|
|
39
|
-
export default require_app_paths();
|
|
40
|
-
|
|
41
|
-
export { require_app_paths };
|