@tmlmobilidade/ui 20250327.1458.12 → 20250327.1535.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/src/components/AppProvider/index.js +1 -2
- package/dist/src/components/AppProvider/index.js.map +1 -1
- package/dist/src/components/layout/Sidebar/index.js +2 -3
- package/dist/src/components/layout/Sidebar/index.js.map +1 -1
- package/package.json +1 -5
- package/dist/_virtual/_interop_require_default.js +0 -4
- package/dist/_virtual/_interop_require_default.js.map +0 -1
- package/dist/_virtual/_interop_require_wildcard.js +0 -4
- package/dist/_virtual/_interop_require_wildcard.js.map +0 -1
- package/dist/_virtual/action-async-storage-instance.js +0 -4
- package/dist/_virtual/action-async-storage-instance.js.map +0 -1
- package/dist/_virtual/action-async-storage.external.js +0 -4
- package/dist/_virtual/action-async-storage.external.js.map +0 -1
- package/dist/_virtual/app-router-context.shared-runtime.js +0 -4
- package/dist/_virtual/app-router-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/async-local-storage.js +0 -4
- package/dist/_virtual/async-local-storage.js.map +0 -1
- package/dist/_virtual/bailout-to-client-rendering.js +0 -4
- package/dist/_virtual/bailout-to-client-rendering.js.map +0 -1
- package/dist/_virtual/bailout-to-csr.js +0 -4
- package/dist/_virtual/bailout-to-csr.js.map +0 -1
- package/dist/_virtual/dynamic-rendering-utils.js +0 -4
- package/dist/_virtual/dynamic-rendering-utils.js.map +0 -1
- package/dist/_virtual/dynamic-rendering.js +0 -4
- package/dist/_virtual/dynamic-rendering.js.map +0 -1
- package/dist/_virtual/forbidden.js +0 -4
- package/dist/_virtual/forbidden.js.map +0 -1
- package/dist/_virtual/get-segment-value.js +0 -4
- package/dist/_virtual/get-segment-value.js.map +0 -1
- package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -4
- package/dist/_virtual/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/hooks-server-context.js +0 -4
- package/dist/_virtual/hooks-server-context.js.map +0 -1
- package/dist/_virtual/http-access-fallback.js +0 -4
- package/dist/_virtual/http-access-fallback.js.map +0 -1
- package/dist/_virtual/is-next-router-error.js +0 -4
- package/dist/_virtual/is-next-router-error.js.map +0 -1
- package/dist/_virtual/is-postpone.js +0 -4
- package/dist/_virtual/is-postpone.js.map +0 -1
- package/dist/_virtual/metadata-constants.js +0 -4
- package/dist/_virtual/metadata-constants.js.map +0 -1
- package/dist/_virtual/navigation.js +0 -6
- package/dist/_virtual/navigation.js.map +0 -1
- package/dist/_virtual/navigation.react-server.js +0 -4
- package/dist/_virtual/navigation.react-server.js.map +0 -1
- package/dist/_virtual/navigation2.js +0 -4
- package/dist/_virtual/navigation2.js.map +0 -1
- package/dist/_virtual/not-found.js +0 -4
- package/dist/_virtual/not-found.js.map +0 -1
- package/dist/_virtual/redirect-error.js +0 -4
- package/dist/_virtual/redirect-error.js.map +0 -1
- package/dist/_virtual/redirect-status-code.js +0 -4
- package/dist/_virtual/redirect-status-code.js.map +0 -1
- package/dist/_virtual/redirect.js +0 -4
- package/dist/_virtual/redirect.js.map +0 -1
- package/dist/_virtual/scheduler.js +0 -4
- package/dist/_virtual/scheduler.js.map +0 -1
- package/dist/_virtual/segment.js +0 -4
- package/dist/_virtual/segment.js.map +0 -1
- package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -4
- package/dist/_virtual/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/_virtual/static-generation-bailout.js +0 -4
- package/dist/_virtual/static-generation-bailout.js.map +0 -1
- package/dist/_virtual/unauthorized.js +0 -4
- package/dist/_virtual/unauthorized.js.map +0 -1
- package/dist/_virtual/unstable-rethrow.browser.js +0 -4
- package/dist/_virtual/unstable-rethrow.browser.js.map +0 -1
- package/dist/_virtual/unstable-rethrow.js +0 -4
- package/dist/_virtual/unstable-rethrow.js.map +0 -1
- package/dist/_virtual/unstable-rethrow.server.js +0 -4
- package/dist/_virtual/unstable-rethrow.server.js.map +0 -1
- package/dist/_virtual/work-async-storage-instance.js +0 -4
- package/dist/_virtual/work-async-storage-instance.js.map +0 -1
- package/dist/_virtual/work-async-storage.external.js +0 -4
- package/dist/_virtual/work-async-storage.external.js.map +0 -1
- package/dist/_virtual/work-unit-async-storage-instance.js +0 -4
- package/dist/_virtual/work-unit-async-storage-instance.js.map +0 -1
- package/dist/_virtual/work-unit-async-storage.external.js +0 -4
- package/dist/_virtual/work-unit-async-storage.external.js.map +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -17
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -49
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js +0 -44
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/forbidden.js +0 -63
- package/dist/node_modules/next/dist/client/components/forbidden.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -51
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -78
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -38
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.js +0 -185
- package/dist/node_modules/next/dist/client/components/navigation.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -90
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/not-found.js +0 -57
- package/dist/node_modules/next/dist/client/components/not-found.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -61
- package/dist/node_modules/next/dist/client/components/redirect-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -37
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect.js +0 -102
- package/dist/node_modules/next/dist/client/components/redirect.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +0 -34
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -51
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -64
- package/dist/node_modules/next/dist/client/components/unauthorized.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -43
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -42
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -51
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js.map +0 -1
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js +0 -39
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js.map +0 -1
- package/dist/node_modules/next/dist/lib/scheduler.js +0 -71
- package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -27
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -83
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -538
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -27
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -99
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -60
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -29
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -58
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -47
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -45
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -59
- package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/navigation.js +0 -14
- package/dist/node_modules/next/navigation.js.map +0 -1
- package/dist/node_modules/nuqs/dist/adapters/next/app.js +0 -9
- package/dist/node_modules/nuqs/dist/adapters/next/app.js.map +0 -1
- package/dist/node_modules/nuqs/dist/chunk-5WWTJYGR.js +0 -119
- package/dist/node_modules/nuqs/dist/chunk-5WWTJYGR.js.map +0 -1
- package/dist/node_modules/nuqs/dist/chunk-C3RNEY2H.js +0 -50
- package/dist/node_modules/nuqs/dist/chunk-C3RNEY2H.js.map +0 -1
- package/dist/src/lib/generate-icon.js +0 -15
- package/dist/src/lib/generate-icon.js.map +0 -1
@@ -1,44 +0,0 @@
|
|
1
|
-
import { __module as bailoutToClientRendering } from '../../../../../_virtual/bailout-to-client-rendering.js';
|
2
|
-
import { __require as requireBailoutToCsr } from '../../shared/lib/lazy-dynamic/bailout-to-csr.js';
|
3
|
-
import { __require as requireWorkAsyncStorage_external } from '../../server/app-render/work-async-storage.external.js';
|
4
|
-
|
5
|
-
var hasRequiredBailoutToClientRendering;
|
6
|
-
|
7
|
-
function requireBailoutToClientRendering () {
|
8
|
-
if (hasRequiredBailoutToClientRendering) return bailoutToClientRendering.exports;
|
9
|
-
hasRequiredBailoutToClientRendering = 1;
|
10
|
-
(function (module, exports) {
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
12
|
-
value: true
|
13
|
-
});
|
14
|
-
Object.defineProperty(exports, "bailoutToClientRendering", {
|
15
|
-
enumerable: true,
|
16
|
-
get: function() {
|
17
|
-
return bailoutToClientRendering;
|
18
|
-
}
|
19
|
-
});
|
20
|
-
const _bailouttocsr = requireBailoutToCsr();
|
21
|
-
const _workasyncstorageexternal = requireWorkAsyncStorage_external();
|
22
|
-
function bailoutToClientRendering(reason) {
|
23
|
-
const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
|
24
|
-
if (workStore == null ? void 0 : workStore.forceStatic) return;
|
25
|
-
if (workStore == null ? void 0 : workStore.isStaticGeneration) throw Object.defineProperty(new _bailouttocsr.BailoutToCSRError(reason), "__NEXT_ERROR_CODE", {
|
26
|
-
value: "E394",
|
27
|
-
enumerable: false,
|
28
|
-
configurable: true
|
29
|
-
});
|
30
|
-
}
|
31
|
-
|
32
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
33
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
34
|
-
Object.assign(exports.default, exports);
|
35
|
-
module.exports = exports.default;
|
36
|
-
}
|
37
|
-
|
38
|
-
|
39
|
-
} (bailoutToClientRendering, bailoutToClientRendering.exports));
|
40
|
-
return bailoutToClientRendering.exports;
|
41
|
-
}
|
42
|
-
|
43
|
-
export { requireBailoutToClientRendering as __require };
|
44
|
-
//# sourceMappingURL=bailout-to-client-rendering.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bailout-to-client-rendering.js","sources":["../../../../../../../../node_modules/next/dist/client/components/bailout-to-client-rendering.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"bailoutToClientRendering\", {\n enumerable: true,\n get: function() {\n return bailoutToClientRendering;\n }\n});\nconst _bailouttocsr = require(\"../../shared/lib/lazy-dynamic/bailout-to-csr\");\nconst _workasyncstorageexternal = require(\"../../server/app-render/work-async-storage.external\");\nfunction bailoutToClientRendering(reason) {\n const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();\n if (workStore == null ? void 0 : workStore.forceStatic) return;\n if (workStore == null ? void 0 : workStore.isStaticGeneration) throw Object.defineProperty(new _bailouttocsr.BailoutToCSRError(reason), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=bailout-to-client-rendering.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;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;;;;","x_google_ignoreList":[0]}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { __module as forbidden } from '../../../../../_virtual/forbidden.js';
|
2
|
-
import { __require as requireHttpAccessFallback } from './http-access-fallback/http-access-fallback.js';
|
3
|
-
|
4
|
-
var hasRequiredForbidden;
|
5
|
-
|
6
|
-
function requireForbidden () {
|
7
|
-
if (hasRequiredForbidden) return forbidden.exports;
|
8
|
-
hasRequiredForbidden = 1;
|
9
|
-
(function (module, exports) {
|
10
|
-
Object.defineProperty(exports, "__esModule", {
|
11
|
-
value: true
|
12
|
-
});
|
13
|
-
Object.defineProperty(exports, "forbidden", {
|
14
|
-
enumerable: true,
|
15
|
-
get: function() {
|
16
|
-
return forbidden;
|
17
|
-
}
|
18
|
-
});
|
19
|
-
const _httpaccessfallback = requireHttpAccessFallback();
|
20
|
-
// TODO: Add `forbidden` docs
|
21
|
-
/**
|
22
|
-
* @experimental
|
23
|
-
* This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)
|
24
|
-
* within a route segment as well as inject a tag.
|
25
|
-
*
|
26
|
-
* `forbidden()` can be used in
|
27
|
-
* [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
|
28
|
-
* [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
|
29
|
-
* [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
|
30
|
-
*
|
31
|
-
* Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)
|
32
|
-
*/ const DIGEST = "" + _httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE + ";403";
|
33
|
-
function forbidden() {
|
34
|
-
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {
|
35
|
-
throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."), "__NEXT_ERROR_CODE", {
|
36
|
-
value: "E488",
|
37
|
-
enumerable: false,
|
38
|
-
configurable: true
|
39
|
-
});
|
40
|
-
}
|
41
|
-
// eslint-disable-next-line no-throw-literal
|
42
|
-
const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", {
|
43
|
-
value: "E394",
|
44
|
-
enumerable: false,
|
45
|
-
configurable: true
|
46
|
-
});
|
47
|
-
error.digest = DIGEST;
|
48
|
-
throw error;
|
49
|
-
}
|
50
|
-
|
51
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
52
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
53
|
-
Object.assign(exports.default, exports);
|
54
|
-
module.exports = exports.default;
|
55
|
-
}
|
56
|
-
|
57
|
-
|
58
|
-
} (forbidden, forbidden.exports));
|
59
|
-
return forbidden.exports;
|
60
|
-
}
|
61
|
-
|
62
|
-
export { requireForbidden as __require };
|
63
|
-
//# sourceMappingURL=forbidden.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"forbidden.js","sources":["../../../../../../../../node_modules/next/dist/client/components/forbidden.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"forbidden\", {\n enumerable: true,\n get: function() {\n return forbidden;\n }\n});\nconst _httpaccessfallback = require(\"./http-access-fallback/http-access-fallback\");\n// TODO: Add `forbidden` docs\n/**\n * @experimental\n * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)\n * within a route segment as well as inject a tag.\n *\n * `forbidden()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)\n */ const DIGEST = \"\" + _httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE + \";403\";\nfunction forbidden() {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw Object.defineProperty(new Error(\"`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.\"), \"__NEXT_ERROR_CODE\", {\n value: \"E488\",\n enumerable: false,\n configurable: true\n });\n }\n // eslint-disable-next-line no-throw-literal\n const error = Object.defineProperty(new Error(DIGEST), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = DIGEST;\n throw error;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=forbidden.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;MACxC,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,SAAS;AACxB;AACA,GAAC,CAAC;EACF,MAAM,mBAAmB,GAAGA,yBAAsD,EAAA;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACI,MAAM,MAAM,GAAG,EAAE,GAAG,mBAAmB,CAAC,8BAA8B,GAAG,MAAM;AACnF,EAAA,SAAS,SAAS,GAAG;AACrB,MAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE;AAC1D,UAAQ,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,6GAA6G,CAAC,EAAE,mBAAmB,EAAE;cACvK,KAAK,EAAE,MAAM;cACb,UAAU,EAAE,KAAK;AAC7B,cAAY,YAAY,EAAE;AAC1B,WAAS,CAAC;AACV;AACA;AACA,MAAI,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,mBAAmB,EAAE;UACxE,KAAK,EAAE,MAAM;UACb,UAAU,EAAE,KAAK;AACzB,UAAQ,YAAY,EAAE;AACtB,OAAK,CAAC;AACN,MAAI,KAAK,CAAC,MAAM,GAAG,MAAM;AACzB,MAAI,MAAM,KAAK;AACf;;AAEA,EAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import { __module as hooksServerContext } from '../../../../../_virtual/hooks-server-context.js';
|
2
|
-
|
3
|
-
var hasRequiredHooksServerContext;
|
4
|
-
|
5
|
-
function requireHooksServerContext () {
|
6
|
-
if (hasRequiredHooksServerContext) return hooksServerContext.exports;
|
7
|
-
hasRequiredHooksServerContext = 1;
|
8
|
-
(function (module, exports) {
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
10
|
-
value: true
|
11
|
-
});
|
12
|
-
function _export(target, all) {
|
13
|
-
for(var name in all)Object.defineProperty(target, name, {
|
14
|
-
enumerable: true,
|
15
|
-
get: all[name]
|
16
|
-
});
|
17
|
-
}
|
18
|
-
_export(exports, {
|
19
|
-
DynamicServerError: function() {
|
20
|
-
return DynamicServerError;
|
21
|
-
},
|
22
|
-
isDynamicServerError: function() {
|
23
|
-
return isDynamicServerError;
|
24
|
-
}
|
25
|
-
});
|
26
|
-
const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';
|
27
|
-
class DynamicServerError extends Error {
|
28
|
-
constructor(description){
|
29
|
-
super("Dynamic server usage: " + description), this.description = description, this.digest = DYNAMIC_ERROR_CODE;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
function isDynamicServerError(err) {
|
33
|
-
if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {
|
34
|
-
return false;
|
35
|
-
}
|
36
|
-
return err.digest === DYNAMIC_ERROR_CODE;
|
37
|
-
}
|
38
|
-
|
39
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
40
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
41
|
-
Object.assign(exports.default, exports);
|
42
|
-
module.exports = exports.default;
|
43
|
-
}
|
44
|
-
|
45
|
-
|
46
|
-
} (hooksServerContext, hooksServerContext.exports));
|
47
|
-
return hooksServerContext.exports;
|
48
|
-
}
|
49
|
-
|
50
|
-
export { requireHooksServerContext as __require };
|
51
|
-
//# sourceMappingURL=hooks-server-context.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hooks-server-context.js","sources":["../../../../../../../../node_modules/next/dist/client/components/hooks-server-context.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n DynamicServerError: null,\n isDynamicServerError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n DynamicServerError: function() {\n return DynamicServerError;\n },\n isDynamicServerError: function() {\n return isDynamicServerError;\n }\n});\nconst DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';\nclass DynamicServerError extends Error {\n constructor(description){\n super(\"Dynamic server usage: \" + description), this.description = description, this.digest = DYNAMIC_ERROR_CODE;\n }\n}\nfunction isDynamicServerError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {\n return false;\n }\n return err.digest === DYNAMIC_ERROR_CODE;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=hooks-server-context.js.map"],"names":[],"mappings":";;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAKF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;UACpD,UAAU,EAAE,IAAI;AACxB,UAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,OAAK,CAAC;AACN;EACA,OAAO,CAAC,OAAO,EAAE;MACb,kBAAkB,EAAE,WAAW;AACnC,UAAQ,OAAO,kBAAkB;OAC5B;MACD,oBAAoB,EAAE,WAAW;AACrC,UAAQ,OAAO,oBAAoB;AACnC;AACA,GAAC,CAAC;EACF,MAAM,kBAAkB,GAAG,sBAAsB;EACjD,MAAM,kBAAkB,SAAS,KAAK,CAAC;MACnC,WAAW,CAAC,WAAW,CAAC;AAC5B,UAAQ,KAAK,CAAC,wBAAwB,GAAG,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,GAAG,WAAW,EAAE,IAAI,CAAC,MAAM,GAAG,kBAAkB;AACvH;AACA;EACA,SAAS,oBAAoB,CAAC,GAAG,EAAE;MAC/B,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,IAAI,EAAE,QAAQ,IAAI,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,MAAM,KAAK,QAAQ,EAAE;AACzG,UAAQ,OAAO,KAAK;AACpB;AACA,MAAI,OAAO,GAAG,CAAC,MAAM,KAAK,kBAAkB;AAC5C;;AAEA,EAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
import { __module as httpAccessFallback } from '../../../../../../_virtual/http-access-fallback.js';
|
2
|
-
|
3
|
-
var hasRequiredHttpAccessFallback;
|
4
|
-
|
5
|
-
function requireHttpAccessFallback () {
|
6
|
-
if (hasRequiredHttpAccessFallback) return httpAccessFallback.exports;
|
7
|
-
hasRequiredHttpAccessFallback = 1;
|
8
|
-
(function (module, exports) {
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
10
|
-
value: true
|
11
|
-
});
|
12
|
-
function _export(target, all) {
|
13
|
-
for(var name in all)Object.defineProperty(target, name, {
|
14
|
-
enumerable: true,
|
15
|
-
get: all[name]
|
16
|
-
});
|
17
|
-
}
|
18
|
-
_export(exports, {
|
19
|
-
HTTPAccessErrorStatus: function() {
|
20
|
-
return HTTPAccessErrorStatus;
|
21
|
-
},
|
22
|
-
HTTP_ERROR_FALLBACK_ERROR_CODE: function() {
|
23
|
-
return HTTP_ERROR_FALLBACK_ERROR_CODE;
|
24
|
-
},
|
25
|
-
getAccessFallbackErrorTypeByStatus: function() {
|
26
|
-
return getAccessFallbackErrorTypeByStatus;
|
27
|
-
},
|
28
|
-
getAccessFallbackHTTPStatus: function() {
|
29
|
-
return getAccessFallbackHTTPStatus;
|
30
|
-
},
|
31
|
-
isHTTPAccessFallbackError: function() {
|
32
|
-
return isHTTPAccessFallbackError;
|
33
|
-
}
|
34
|
-
});
|
35
|
-
const HTTPAccessErrorStatus = {
|
36
|
-
NOT_FOUND: 404,
|
37
|
-
FORBIDDEN: 403,
|
38
|
-
UNAUTHORIZED: 401
|
39
|
-
};
|
40
|
-
const ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));
|
41
|
-
const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK';
|
42
|
-
function isHTTPAccessFallbackError(error) {
|
43
|
-
if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {
|
44
|
-
return false;
|
45
|
-
}
|
46
|
-
const [prefix, httpStatus] = error.digest.split(';');
|
47
|
-
return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));
|
48
|
-
}
|
49
|
-
function getAccessFallbackHTTPStatus(error) {
|
50
|
-
const httpStatus = error.digest.split(';')[1];
|
51
|
-
return Number(httpStatus);
|
52
|
-
}
|
53
|
-
function getAccessFallbackErrorTypeByStatus(status) {
|
54
|
-
switch(status){
|
55
|
-
case 401:
|
56
|
-
return 'unauthorized';
|
57
|
-
case 403:
|
58
|
-
return 'forbidden';
|
59
|
-
case 404:
|
60
|
-
return 'not-found';
|
61
|
-
default:
|
62
|
-
return;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
67
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
68
|
-
Object.assign(exports.default, exports);
|
69
|
-
module.exports = exports.default;
|
70
|
-
}
|
71
|
-
|
72
|
-
|
73
|
-
} (httpAccessFallback, httpAccessFallback.exports));
|
74
|
-
return httpAccessFallback.exports;
|
75
|
-
}
|
76
|
-
|
77
|
-
export { requireHttpAccessFallback as __require };
|
78
|
-
//# sourceMappingURL=http-access-fallback.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"http-access-fallback.js","sources":["../../../../../../../../../node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n HTTPAccessErrorStatus: null,\n HTTP_ERROR_FALLBACK_ERROR_CODE: null,\n getAccessFallbackErrorTypeByStatus: null,\n getAccessFallbackHTTPStatus: null,\n isHTTPAccessFallbackError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n HTTPAccessErrorStatus: function() {\n return HTTPAccessErrorStatus;\n },\n HTTP_ERROR_FALLBACK_ERROR_CODE: function() {\n return HTTP_ERROR_FALLBACK_ERROR_CODE;\n },\n getAccessFallbackErrorTypeByStatus: function() {\n return getAccessFallbackErrorTypeByStatus;\n },\n getAccessFallbackHTTPStatus: function() {\n return getAccessFallbackHTTPStatus;\n },\n isHTTPAccessFallbackError: function() {\n return isHTTPAccessFallbackError;\n }\n});\nconst HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401\n};\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));\nconst HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK';\nfunction isHTTPAccessFallbackError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const [prefix, httpStatus] = error.digest.split(';');\n return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));\n}\nfunction getAccessFallbackHTTPStatus(error) {\n const httpStatus = error.digest.split(';')[1];\n return Number(httpStatus);\n}\nfunction getAccessFallbackErrorTypeByStatus(status) {\n switch(status){\n case 401:\n return 'unauthorized';\n case 403:\n return 'forbidden';\n case 404:\n return 'not-found';\n default:\n return;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=http-access-fallback.js.map"],"names":[],"mappings":";;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAQF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;UACpD,UAAU,EAAE,IAAI;AACxB,UAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,OAAK,CAAC;AACN;EACA,OAAO,CAAC,OAAO,EAAE;MACb,qBAAqB,EAAE,WAAW;AACtC,UAAQ,OAAO,qBAAqB;OAC/B;MACD,8BAA8B,EAAE,WAAW;AAC/C,UAAQ,OAAO,8BAA8B;OACxC;MACD,kCAAkC,EAAE,WAAW;AACnD,UAAQ,OAAO,kCAAkC;OAC5C;MACD,2BAA2B,EAAE,WAAW;AAC5C,UAAQ,OAAO,2BAA2B;OACrC;MACD,yBAAyB,EAAE,WAAW;AAC1C,UAAQ,OAAO,yBAA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IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { __module as isNextRouterError } from '../../../../../_virtual/is-next-router-error.js';
|
2
|
-
import { __require as requireHttpAccessFallback } from './http-access-fallback/http-access-fallback.js';
|
3
|
-
import { __require as requireRedirectError } from './redirect-error.js';
|
4
|
-
|
5
|
-
var hasRequiredIsNextRouterError;
|
6
|
-
|
7
|
-
function requireIsNextRouterError () {
|
8
|
-
if (hasRequiredIsNextRouterError) return isNextRouterError.exports;
|
9
|
-
hasRequiredIsNextRouterError = 1;
|
10
|
-
(function (module, exports) {
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
12
|
-
value: true
|
13
|
-
});
|
14
|
-
Object.defineProperty(exports, "isNextRouterError", {
|
15
|
-
enumerable: true,
|
16
|
-
get: function() {
|
17
|
-
return isNextRouterError;
|
18
|
-
}
|
19
|
-
});
|
20
|
-
const _httpaccessfallback = requireHttpAccessFallback();
|
21
|
-
const _redirecterror = requireRedirectError();
|
22
|
-
function isNextRouterError(error) {
|
23
|
-
return (0, _redirecterror.isRedirectError)(error) || (0, _httpaccessfallback.isHTTPAccessFallbackError)(error);
|
24
|
-
}
|
25
|
-
|
26
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
27
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
28
|
-
Object.assign(exports.default, exports);
|
29
|
-
module.exports = exports.default;
|
30
|
-
}
|
31
|
-
|
32
|
-
|
33
|
-
} (isNextRouterError, isNextRouterError.exports));
|
34
|
-
return isNextRouterError.exports;
|
35
|
-
}
|
36
|
-
|
37
|
-
export { requireIsNextRouterError as __require };
|
38
|
-
//# sourceMappingURL=is-next-router-error.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"is-next-router-error.js","sources":["../../../../../../../../node_modules/next/dist/client/components/is-next-router-error.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isNextRouterError\", {\n enumerable: true,\n get: function() {\n return isNextRouterError;\n }\n});\nconst _httpaccessfallback = require(\"./http-access-fallback/http-access-fallback\");\nconst _redirecterror = require(\"./redirect-error\");\nfunction isNextRouterError(error) {\n return (0, _redirecterror.isRedirectError)(error) || (0, _httpaccessfallback.isHTTPAccessFallbackError)(error);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=is-next-router-error.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AACF,EAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,mBAAmB,EAAE;MAChD,UAAU,EAAE,IAAI;MAChB,GAAG,EAAE,WAAW;AACpB,UAAQ,OAAO,iBAAiB;AAChC;AACA,GAAC,CAAC;EACF,MAAM,mBAAmB,GAAGA,yBAAsD,EAAA;EAClF,MAAM,cAAc,GAAGC,oBAA2B,EAAA;EAClD,SAAS,iBAAiB,CAAC,KAAK,EAAE;AAClC,MAAI,OAAO,IAAI,cAAc,CAAC,eAAe,EAAE,KAAK,CAAC,IAAI,IAAI,mBAAmB,CAAC,yBAAyB,EAAE,KAAK,CAAC;AAClH;;AAEA,EAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1,185 +0,0 @@
|
|
1
|
-
import { __module as navigation } from '../../../../../_virtual/navigation2.js';
|
2
|
-
import React__default from 'react';
|
3
|
-
import { __require as requireAppRouterContext_sharedRuntime } from '../../shared/lib/app-router-context.shared-runtime.js';
|
4
|
-
import { __require as requireHooksClientContext_sharedRuntime } from '../../shared/lib/hooks-client-context.shared-runtime.js';
|
5
|
-
import { __require as requireGetSegmentValue } from './router-reducer/reducers/get-segment-value.js';
|
6
|
-
import { __require as requireSegment } from '../../shared/lib/segment.js';
|
7
|
-
import { __require as requireNavigation_reactServer } from './navigation.react-server.js';
|
8
|
-
import { __require as requireServerInsertedHtml_sharedRuntime } from '../../shared/lib/server-inserted-html.shared-runtime.js';
|
9
|
-
import { __require as requireDynamicRendering } from '../../server/app-render/dynamic-rendering.js';
|
10
|
-
import { __require as requireBailoutToClientRendering } from './bailout-to-client-rendering.js';
|
11
|
-
|
12
|
-
var hasRequiredNavigation;
|
13
|
-
|
14
|
-
function requireNavigation () {
|
15
|
-
if (hasRequiredNavigation) return navigation.exports;
|
16
|
-
hasRequiredNavigation = 1;
|
17
|
-
(function (module, exports) {
|
18
|
-
Object.defineProperty(exports, "__esModule", {
|
19
|
-
value: true
|
20
|
-
});
|
21
|
-
function _export(target, all) {
|
22
|
-
for(var name in all)Object.defineProperty(target, name, {
|
23
|
-
enumerable: true,
|
24
|
-
get: all[name]
|
25
|
-
});
|
26
|
-
}
|
27
|
-
_export(exports, {
|
28
|
-
ReadonlyURLSearchParams: function() {
|
29
|
-
return _navigationreactserver.ReadonlyURLSearchParams;
|
30
|
-
},
|
31
|
-
RedirectType: function() {
|
32
|
-
return _navigationreactserver.RedirectType;
|
33
|
-
},
|
34
|
-
ServerInsertedHTMLContext: function() {
|
35
|
-
return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext;
|
36
|
-
},
|
37
|
-
forbidden: function() {
|
38
|
-
return _navigationreactserver.forbidden;
|
39
|
-
},
|
40
|
-
notFound: function() {
|
41
|
-
return _navigationreactserver.notFound;
|
42
|
-
},
|
43
|
-
permanentRedirect: function() {
|
44
|
-
return _navigationreactserver.permanentRedirect;
|
45
|
-
},
|
46
|
-
redirect: function() {
|
47
|
-
return _navigationreactserver.redirect;
|
48
|
-
},
|
49
|
-
unauthorized: function() {
|
50
|
-
return _navigationreactserver.unauthorized;
|
51
|
-
},
|
52
|
-
unstable_rethrow: function() {
|
53
|
-
return _navigationreactserver.unstable_rethrow;
|
54
|
-
},
|
55
|
-
useParams: function() {
|
56
|
-
return useParams;
|
57
|
-
},
|
58
|
-
usePathname: function() {
|
59
|
-
return usePathname;
|
60
|
-
},
|
61
|
-
useRouter: function() {
|
62
|
-
return useRouter;
|
63
|
-
},
|
64
|
-
useSearchParams: function() {
|
65
|
-
return useSearchParams;
|
66
|
-
},
|
67
|
-
useSelectedLayoutSegment: function() {
|
68
|
-
return useSelectedLayoutSegment;
|
69
|
-
},
|
70
|
-
useSelectedLayoutSegments: function() {
|
71
|
-
return useSelectedLayoutSegments;
|
72
|
-
},
|
73
|
-
useServerInsertedHTML: function() {
|
74
|
-
return _serverinsertedhtmlsharedruntime.useServerInsertedHTML;
|
75
|
-
}
|
76
|
-
});
|
77
|
-
const _react = React__default;
|
78
|
-
const _approutercontextsharedruntime = requireAppRouterContext_sharedRuntime();
|
79
|
-
const _hooksclientcontextsharedruntime = requireHooksClientContext_sharedRuntime();
|
80
|
-
const _getsegmentvalue = requireGetSegmentValue();
|
81
|
-
const _segment = requireSegment();
|
82
|
-
const _navigationreactserver = requireNavigation_reactServer();
|
83
|
-
const _serverinsertedhtmlsharedruntime = requireServerInsertedHtml_sharedRuntime();
|
84
|
-
const useDynamicRouteParams = typeof window === 'undefined' ? requireDynamicRendering().useDynamicRouteParams : undefined;
|
85
|
-
function useSearchParams() {
|
86
|
-
const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);
|
87
|
-
// In the case where this is `null`, the compat types added in
|
88
|
-
// `next-env.d.ts` will add a new overload that changes the return type to
|
89
|
-
// include `null`.
|
90
|
-
const readonlySearchParams = (0, _react.useMemo)(()=>{
|
91
|
-
if (!searchParams) {
|
92
|
-
// When the router is not ready in pages, we won't have the search params
|
93
|
-
// available.
|
94
|
-
return null;
|
95
|
-
}
|
96
|
-
return new _navigationreactserver.ReadonlyURLSearchParams(searchParams);
|
97
|
-
}, [
|
98
|
-
searchParams
|
99
|
-
]);
|
100
|
-
if (typeof window === 'undefined') {
|
101
|
-
// AsyncLocalStorage should not be included in the client bundle.
|
102
|
-
const { bailoutToClientRendering } = requireBailoutToClientRendering();
|
103
|
-
// TODO-APP: handle dynamic = 'force-static' here and on the client
|
104
|
-
bailoutToClientRendering('useSearchParams()');
|
105
|
-
}
|
106
|
-
return readonlySearchParams;
|
107
|
-
}
|
108
|
-
function usePathname() {
|
109
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('usePathname()');
|
110
|
-
// In the case where this is `null`, the compat types added in `next-env.d.ts`
|
111
|
-
// will add a new overload that changes the return type to include `null`.
|
112
|
-
return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);
|
113
|
-
}
|
114
|
-
function useRouter() {
|
115
|
-
const router = (0, _react.useContext)(_approutercontextsharedruntime.AppRouterContext);
|
116
|
-
if (router === null) {
|
117
|
-
throw Object.defineProperty(new Error('invariant expected app router to be mounted'), "__NEXT_ERROR_CODE", {
|
118
|
-
value: "E238",
|
119
|
-
enumerable: false,
|
120
|
-
configurable: true
|
121
|
-
});
|
122
|
-
}
|
123
|
-
return router;
|
124
|
-
}
|
125
|
-
function useParams() {
|
126
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('useParams()');
|
127
|
-
return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);
|
128
|
-
}
|
129
|
-
/** Get the canonical parameters from the current level to the leaf node. */ // Client components API
|
130
|
-
function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first, segmentPath) {
|
131
|
-
if (first === void 0) first = true;
|
132
|
-
if (segmentPath === void 0) segmentPath = [];
|
133
|
-
let node;
|
134
|
-
if (first) {
|
135
|
-
// Use the provided parallel route key on the first parallel route
|
136
|
-
node = tree[1][parallelRouteKey];
|
137
|
-
} else {
|
138
|
-
// After first parallel route prefer children, if there's no children pick the first parallel route.
|
139
|
-
const parallelRoutes = tree[1];
|
140
|
-
var _parallelRoutes_children;
|
141
|
-
node = (_parallelRoutes_children = parallelRoutes.children) != null ? _parallelRoutes_children : Object.values(parallelRoutes)[0];
|
142
|
-
}
|
143
|
-
if (!node) return segmentPath;
|
144
|
-
const segment = node[0];
|
145
|
-
let segmentValue = (0, _getsegmentvalue.getSegmentValue)(segment);
|
146
|
-
if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) {
|
147
|
-
return segmentPath;
|
148
|
-
}
|
149
|
-
segmentPath.push(segmentValue);
|
150
|
-
return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);
|
151
|
-
}
|
152
|
-
function useSelectedLayoutSegments(parallelRouteKey) {
|
153
|
-
if (parallelRouteKey === void 0) parallelRouteKey = 'children';
|
154
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('useSelectedLayoutSegments()');
|
155
|
-
const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);
|
156
|
-
// @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts
|
157
|
-
if (!context) return null;
|
158
|
-
return getSelectedLayoutSegmentPath(context.parentTree, parallelRouteKey);
|
159
|
-
}
|
160
|
-
function useSelectedLayoutSegment(parallelRouteKey) {
|
161
|
-
if (parallelRouteKey === void 0) parallelRouteKey = 'children';
|
162
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('useSelectedLayoutSegment()');
|
163
|
-
const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);
|
164
|
-
if (!selectedLayoutSegments || selectedLayoutSegments.length === 0) {
|
165
|
-
return null;
|
166
|
-
}
|
167
|
-
const selectedLayoutSegment = parallelRouteKey === 'children' ? selectedLayoutSegments[0] : selectedLayoutSegments[selectedLayoutSegments.length - 1];
|
168
|
-
// if the default slot is showing, we return null since it's not technically "selected" (it's a fallback)
|
169
|
-
// and returning an internal value like `__DEFAULT__` would be confusing.
|
170
|
-
return selectedLayoutSegment === _segment.DEFAULT_SEGMENT_KEY ? null : selectedLayoutSegment;
|
171
|
-
}
|
172
|
-
|
173
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
174
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
175
|
-
Object.assign(exports.default, exports);
|
176
|
-
module.exports = exports.default;
|
177
|
-
}
|
178
|
-
|
179
|
-
|
180
|
-
} (navigation, navigation.exports));
|
181
|
-
return navigation.exports;
|
182
|
-
}
|
183
|
-
|
184
|
-
export { requireNavigation as __require };
|
185
|
-
//# sourceMappingURL=navigation.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"navigation.js","sources":["../../../../../../../../node_modules/next/dist/client/components/navigation.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ReadonlyURLSearchParams: null,\n RedirectType: null,\n ServerInsertedHTMLContext: null,\n forbidden: null,\n notFound: null,\n permanentRedirect: null,\n redirect: null,\n unauthorized: null,\n unstable_rethrow: null,\n useParams: null,\n usePathname: null,\n useRouter: null,\n useSearchParams: null,\n useSelectedLayoutSegment: null,\n useSelectedLayoutSegments: null,\n useServerInsertedHTML: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ReadonlyURLSearchParams: function() {\n return _navigationreactserver.ReadonlyURLSearchParams;\n },\n RedirectType: function() {\n return _navigationreactserver.RedirectType;\n },\n ServerInsertedHTMLContext: function() {\n return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext;\n },\n forbidden: function() {\n return _navigationreactserver.forbidden;\n },\n notFound: function() {\n return _navigationreactserver.notFound;\n },\n permanentRedirect: function() {\n return _navigationreactserver.permanentRedirect;\n },\n redirect: function() {\n return _navigationreactserver.redirect;\n },\n unauthorized: function() {\n return _navigationreactserver.unauthorized;\n },\n unstable_rethrow: function() {\n return _navigationreactserver.unstable_rethrow;\n },\n useParams: function() {\n return useParams;\n },\n usePathname: function() {\n return usePathname;\n },\n useRouter: function() {\n return useRouter;\n },\n useSearchParams: function() {\n return useSearchParams;\n },\n useSelectedLayoutSegment: function() {\n return useSelectedLayoutSegment;\n },\n useSelectedLayoutSegments: function() {\n return useSelectedLayoutSegments;\n },\n useServerInsertedHTML: function() {\n return _serverinsertedhtmlsharedruntime.useServerInsertedHTML;\n }\n});\nconst _react = require(\"react\");\nconst _approutercontextsharedruntime = require(\"../../shared/lib/app-router-context.shared-runtime\");\nconst _hooksclientcontextsharedruntime = require(\"../../shared/lib/hooks-client-context.shared-runtime\");\nconst _getsegmentvalue = require(\"./router-reducer/reducers/get-segment-value\");\nconst _segment = require(\"../../shared/lib/segment\");\nconst _navigationreactserver = require(\"./navigation.react-server\");\nconst _serverinsertedhtmlsharedruntime = require(\"../../shared/lib/server-inserted-html.shared-runtime\");\nconst useDynamicRouteParams = typeof window === 'undefined' ? require('../../server/app-render/dynamic-rendering').useDynamicRouteParams : undefined;\nfunction useSearchParams() {\n const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = (0, _react.useMemo)(()=>{\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null;\n }\n return new _navigationreactserver.ReadonlyURLSearchParams(searchParams);\n }, [\n searchParams\n ]);\n if (typeof window === 'undefined') {\n // AsyncLocalStorage should not be included in the client bundle.\n const { bailoutToClientRendering } = require('./bailout-to-client-rendering');\n // TODO-APP: handle dynamic = 'force-static' here and on the client\n bailoutToClientRendering('useSearchParams()');\n }\n return readonlySearchParams;\n}\nfunction usePathname() {\n useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('usePathname()');\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);\n}\nfunction useRouter() {\n const router = (0, _react.useContext)(_approutercontextsharedruntime.AppRouterContext);\n if (router === null) {\n throw Object.defineProperty(new Error('invariant expected app router to be mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E238\",\n enumerable: false,\n configurable: true\n });\n }\n return router;\n}\nfunction useParams() {\n useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('useParams()');\n return (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);\n}\n/** Get the canonical parameters from the current level to the leaf node. */ // Client components API\nfunction getSelectedLayoutSegmentPath(tree, parallelRouteKey, first, segmentPath) {\n if (first === void 0) first = true;\n if (segmentPath === void 0) segmentPath = [];\n let node;\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey];\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1];\n var _parallelRoutes_children;\n node = (_parallelRoutes_children = parallelRoutes.children) != null ? _parallelRoutes_children : Object.values(parallelRoutes)[0];\n }\n if (!node) return segmentPath;\n const segment = node[0];\n let segmentValue = (0, _getsegmentvalue.getSegmentValue)(segment);\n if (!segmentValue || segmentValue.startsWith(_segment.PAGE_SEGMENT_KEY)) {\n return segmentPath;\n }\n segmentPath.push(segmentValue);\n return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);\n}\nfunction useSelectedLayoutSegments(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = 'children';\n useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('useSelectedLayoutSegments()');\n const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);\n // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts\n if (!context) return null;\n return getSelectedLayoutSegmentPath(context.parentTree, parallelRouteKey);\n}\nfunction useSelectedLayoutSegment(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = 'children';\n useDynamicRouteParams == null ? void 0 : useDynamicRouteParams('useSelectedLayoutSegment()');\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);\n if (!selectedLayoutSegments || selectedLayoutSegments.length === 0) {\n return null;\n }\n const selectedLayoutSegment = parallelRouteKey === 'children' ? selectedLayoutSegments[0] : selectedLayoutSegments[selectedLayoutSegments.length - 1];\n // if the default slot is showing, we return null since it's not technically \"selected\" (it's a fallback)\n // and returning an internal value like `__DEFAULT__` would be confusing.\n return selectedLayoutSegment === _segment.DEFAULT_SEGMENT_KEY ? null : selectedLayoutSegment;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=navigation.js.map"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8"],"mappings":";;;;;;;;;;;;;;;;;AACA,EAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;AAC7C,MAAI,KAAK,EAAE;AACX,GAAC,CAAC;AAmBF,EAAA,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,MAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE;UACpD,UAAU,EAAE,IAAI;AACxB,UAAQ,GAAG,EAAE,GAAG,CAAC,IAAI;AACrB,OAAK,CAAC;AACN;EACA,OAAO,CAAC,OAAO,EAAE;MACb,uBAAuB,EAAE,WAAW;UAChC,OAAO,sBAAsB,CAAC,uBAAuB;OACxD;MACD,YAAY,EAAE,WAAW;UACrB,OAAO,sBAAsB,CAAC,YAAY;OAC7C;MACD,yBAAyB,EAAE,WAAW;UAClC,OAAO,gCAAgC,CAAC,yBAAyB;OACpE;MACD,SAAS,EAAE,WAAW;UAClB,OAAO,sBAAsB,CAAC,SAAS;OAC1C;MACD,QAAQ,EAAE,WAAW;UACjB,OAAO,sBAAsB,CAAC,QAAQ;OACzC;MACD,iBAAiB,EAAE,WAAW;UAC1B,OAAO,sBAAsB,CAAC,iBAAiB;OAClD;MACD,QAAQ,EAAE,WAAW;UACjB,OAAO,sBAAsB,CAAC,QAAQ;OACzC;MACD,YAAY,EAAE,WAAW;UACrB,OAAO,sBAAsB,CAAC,YAAY;OAC7C;MACD,gBAAgB,EAAE,WAAW;UACzB,OAAO,sBAAsB,CAAC,gBAAgB;OACjD;MACD,SAAS,EAAE,WAAW;AAC1B,UAAQ,OAAO,SAAS;OACnB;MACD,WAAW,EAAE,WAAW;AAC5B,UAAQ,OAAO,WAAW;OACrB;MACD,SAAS,EAAE,WAAW;AAC1B,UAAQ,OAAO,SAAS;OACnB;MACD,eAAe,EAAE,WAAW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U,GAAG,sBAAsB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,sBAAsB,CAAC,MAAM,GAAG,CAAC,CAAC;AACzJ;AACA;MACI,OAAO,qBAAqB,KAAK,QAAQ,CAAC,mBAAmB,GAAG,IAAI,GAAG,qBAAqB;AAChG;;AAEA,EAAA,IAAI,CAAC,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,KAAK,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,CAAC,KAAK,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;AACvK,IAAE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACrE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACvC,MAAA,CAAA,OAAA,GAAiB,OAAO,CAAC,OAAO;AAClC;;AAEA;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1,90 +0,0 @@
|
|
1
|
-
import { __module as navigation_reactServer } from '../../../../../_virtual/navigation.react-server.js';
|
2
|
-
import { __require as requireRedirect } from './redirect.js';
|
3
|
-
import { __require as requireRedirectError } from './redirect-error.js';
|
4
|
-
import { __require as requireNotFound } from './not-found.js';
|
5
|
-
import { __require as requireForbidden } from './forbidden.js';
|
6
|
-
import { __require as requireUnauthorized } from './unauthorized.js';
|
7
|
-
import { __require as requireUnstableRethrow } from './unstable-rethrow.js';
|
8
|
-
|
9
|
-
/** @internal */
|
10
|
-
|
11
|
-
var hasRequiredNavigation_reactServer;
|
12
|
-
|
13
|
-
function requireNavigation_reactServer () {
|
14
|
-
if (hasRequiredNavigation_reactServer) return navigation_reactServer.exports;
|
15
|
-
hasRequiredNavigation_reactServer = 1;
|
16
|
-
(function (module, exports) {
|
17
|
-
Object.defineProperty(exports, "__esModule", {
|
18
|
-
value: true
|
19
|
-
});
|
20
|
-
function _export(target, all) {
|
21
|
-
for(var name in all)Object.defineProperty(target, name, {
|
22
|
-
enumerable: true,
|
23
|
-
get: all[name]
|
24
|
-
});
|
25
|
-
}
|
26
|
-
_export(exports, {
|
27
|
-
ReadonlyURLSearchParams: function() {
|
28
|
-
return ReadonlyURLSearchParams;
|
29
|
-
},
|
30
|
-
RedirectType: function() {
|
31
|
-
return _redirecterror.RedirectType;
|
32
|
-
},
|
33
|
-
forbidden: function() {
|
34
|
-
return _forbidden.forbidden;
|
35
|
-
},
|
36
|
-
notFound: function() {
|
37
|
-
return _notfound.notFound;
|
38
|
-
},
|
39
|
-
permanentRedirect: function() {
|
40
|
-
return _redirect.permanentRedirect;
|
41
|
-
},
|
42
|
-
redirect: function() {
|
43
|
-
return _redirect.redirect;
|
44
|
-
},
|
45
|
-
unauthorized: function() {
|
46
|
-
return _unauthorized.unauthorized;
|
47
|
-
},
|
48
|
-
unstable_rethrow: function() {
|
49
|
-
return _unstablerethrow.unstable_rethrow;
|
50
|
-
}
|
51
|
-
});
|
52
|
-
const _redirect = requireRedirect();
|
53
|
-
const _redirecterror = requireRedirectError();
|
54
|
-
const _notfound = requireNotFound();
|
55
|
-
const _forbidden = requireForbidden();
|
56
|
-
const _unauthorized = requireUnauthorized();
|
57
|
-
const _unstablerethrow = requireUnstableRethrow();
|
58
|
-
class ReadonlyURLSearchParamsError extends Error {
|
59
|
-
constructor(){
|
60
|
-
super('Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams');
|
61
|
-
}
|
62
|
-
}
|
63
|
-
class ReadonlyURLSearchParams extends URLSearchParams {
|
64
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ append() {
|
65
|
-
throw new ReadonlyURLSearchParamsError();
|
66
|
-
}
|
67
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ delete() {
|
68
|
-
throw new ReadonlyURLSearchParamsError();
|
69
|
-
}
|
70
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ set() {
|
71
|
-
throw new ReadonlyURLSearchParamsError();
|
72
|
-
}
|
73
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ sort() {
|
74
|
-
throw new ReadonlyURLSearchParamsError();
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
79
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
80
|
-
Object.assign(exports.default, exports);
|
81
|
-
module.exports = exports.default;
|
82
|
-
}
|
83
|
-
|
84
|
-
|
85
|
-
} (navigation_reactServer, navigation_reactServer.exports));
|
86
|
-
return navigation_reactServer.exports;
|
87
|
-
}
|
88
|
-
|
89
|
-
export { requireNavigation_reactServer as __require };
|
90
|
-
//# sourceMappingURL=navigation.react-server.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"navigation.react-server.js","sources":["../../../../../../../../node_modules/next/dist/client/components/navigation.react-server.js"],"sourcesContent":["/** @internal */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ReadonlyURLSearchParams: null,\n RedirectType: null,\n forbidden: null,\n notFound: null,\n permanentRedirect: null,\n redirect: null,\n unauthorized: null,\n unstable_rethrow: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ReadonlyURLSearchParams: function() {\n return ReadonlyURLSearchParams;\n },\n RedirectType: function() {\n return _redirecterror.RedirectType;\n },\n forbidden: function() {\n return _forbidden.forbidden;\n },\n notFound: function() {\n return _notfound.notFound;\n },\n permanentRedirect: function() {\n return _redirect.permanentRedirect;\n },\n redirect: function() {\n return _redirect.redirect;\n },\n unauthorized: function() {\n return _unauthorized.unauthorized;\n },\n unstable_rethrow: function() {\n return _unstablerethrow.unstable_rethrow;\n }\n});\nconst _redirect = require(\"./redirect\");\nconst _redirecterror = require(\"./redirect-error\");\nconst _notfound = require(\"./not-found\");\nconst _forbidden = require(\"./forbidden\");\nconst _unauthorized = require(\"./unauthorized\");\nconst _unstablerethrow = require(\"./unstable-rethrow\");\nclass ReadonlyURLSearchParamsError extends Error {\n constructor(){\n super('Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams');\n }\n}\nclass ReadonlyURLSearchParams extends URLSearchParams {\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ append() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ delete() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ set() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ sort() {\n throw new ReadonlyURLSearchParamsError();\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=navigation.react-server.js.map"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5"],"mapp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