maquinaweb-ui 2.67.0 → 2.69.0

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.
Files changed (177) hide show
  1. package/dist/actions.js +3 -5
  2. package/dist/actions.js.map +1 -1
  3. package/dist/container-animation/container-animation.d.ts +2 -2
  4. package/dist/container-animation/container-animation.d.ts.map +1 -1
  5. package/dist/date-field/DateField.d.ts +2 -2
  6. package/dist/date-hour-field/DateHourField.d.ts +2 -2
  7. package/dist/input-suggest/input-suggest.d.ts +2 -2
  8. package/dist/landing-text/client-landing-text.js +2 -3
  9. package/dist/landing-text/client-landing-text.js.map +1 -1
  10. package/dist/landing-text/landing-content.d.ts.map +1 -1
  11. package/dist/landing-text/landing-content.js +4 -1
  12. package/dist/landing-text/landing-content.js.map +1 -1
  13. package/dist/landing-text/landing-text.d.ts +2 -2
  14. package/dist/landing-text/server-landing-text.d.ts +2 -2
  15. package/dist/landing-text/server-landing-text.d.ts.map +1 -1
  16. package/dist/page-header/page-header.d.ts +2 -2
  17. package/dist/remote-selector/remote-selector.d.ts +3 -3
  18. package/dist/text-field/TextField.d.ts +5 -5
  19. package/dist/toggle-field/ToggleGroup.d.ts +2 -2
  20. package/package.json +1 -1
  21. package/dist/_virtual/rolldown_runtime.js +0 -31
  22. package/dist/node_modules/next/cache.js +0 -79
  23. package/dist/node_modules/next/cache.js.map +0 -1
  24. package/dist/node_modules/next/dist/build/output/log.js +0 -119
  25. package/dist/node_modules/next/dist/build/output/log.js.map +0 -1
  26. package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -119
  27. package/dist/node_modules/next/dist/client/components/app-router-headers.js.map +0 -1
  28. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -41
  29. package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
  30. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -41
  31. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
  32. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +0 -312
  33. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +0 -1
  34. package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js +0 -1286
  35. package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js.map +0 -1
  36. package/dist/node_modules/next/dist/lib/batcher.js +0 -63
  37. package/dist/node_modules/next/dist/lib/batcher.js.map +0 -1
  38. package/dist/node_modules/next/dist/lib/constants.js +0 -325
  39. package/dist/node_modules/next/dist/lib/constants.js.map +0 -1
  40. package/dist/node_modules/next/dist/lib/detached-promise.js +0 -30
  41. package/dist/node_modules/next/dist/lib/detached-promise.js.map +0 -1
  42. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -36
  43. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +0 -1
  44. package/dist/node_modules/next/dist/lib/picocolors.js +0 -141
  45. package/dist/node_modules/next/dist/lib/picocolors.js.map +0 -1
  46. package/dist/node_modules/next/dist/lib/scheduler.js +0 -49
  47. package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
  48. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -67
  49. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
  50. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -763
  51. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
  52. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +0 -19
  53. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +0 -1
  54. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +0 -215
  55. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +0 -1
  56. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -20
  57. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
  58. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -20
  59. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
  60. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -20
  61. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
  62. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -214
  63. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
  64. package/dist/node_modules/next/dist/server/base-http/helpers.js +0 -36
  65. package/dist/node_modules/next/dist/server/base-http/helpers.js.map +0 -1
  66. package/dist/node_modules/next/dist/server/client-component-renderer-logger.js +0 -65
  67. package/dist/node_modules/next/dist/server/client-component-renderer-logger.js.map +0 -1
  68. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -85
  69. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
  70. package/dist/node_modules/next/dist/server/lib/clone-response.js +0 -55
  71. package/dist/node_modules/next/dist/server/lib/clone-response.js.map +0 -1
  72. package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js +0 -106
  73. package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js.map +0 -1
  74. package/dist/node_modules/next/dist/server/lib/lru-cache.js +0 -179
  75. package/dist/node_modules/next/dist/server/lib/lru-cache.js.map +0 -1
  76. package/dist/node_modules/next/dist/server/lib/patch-fetch.js +0 -703
  77. package/dist/node_modules/next/dist/server/lib/patch-fetch.js.map +0 -1
  78. package/dist/node_modules/next/dist/server/lib/trace/constants.js +0 -186
  79. package/dist/node_modules/next/dist/server/lib/trace/constants.js.map +0 -1
  80. package/dist/node_modules/next/dist/server/lib/trace/tracer.js +0 -229
  81. package/dist/node_modules/next/dist/server/lib/trace/tracer.js.map +0 -1
  82. package/dist/node_modules/next/dist/server/pipe-readable.js +0 -112
  83. package/dist/node_modules/next/dist/server/pipe-readable.js.map +0 -1
  84. package/dist/node_modules/next/dist/server/render-result.js +0 -156
  85. package/dist/node_modules/next/dist/server/render-result.js.map +0 -1
  86. package/dist/node_modules/next/dist/server/request-meta.js +0 -54
  87. package/dist/node_modules/next/dist/server/request-meta.js.map +0 -1
  88. package/dist/node_modules/next/dist/server/response-cache/index.js +0 -255
  89. package/dist/node_modules/next/dist/server/response-cache/index.js.map +0 -1
  90. package/dist/node_modules/next/dist/server/response-cache/types.js +0 -43
  91. package/dist/node_modules/next/dist/server/response-cache/types.js.map +0 -1
  92. package/dist/node_modules/next/dist/server/response-cache/utils.js +0 -100
  93. package/dist/node_modules/next/dist/server/response-cache/utils.js.map +0 -1
  94. package/dist/node_modules/next/dist/server/route-kind.js +0 -38
  95. package/dist/node_modules/next/dist/server/route-kind.js.map +0 -1
  96. package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js +0 -115
  97. package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js.map +0 -1
  98. package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +0 -635
  99. package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js.map +0 -1
  100. package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +0 -58
  101. package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js.map +0 -1
  102. package/dist/node_modules/next/dist/server/use-cache/cache-life.js +0 -140
  103. package/dist/node_modules/next/dist/server/use-cache/cache-life.js.map +0 -1
  104. package/dist/node_modules/next/dist/server/use-cache/cache-tag.js +0 -52
  105. package/dist/node_modules/next/dist/server/use-cache/cache-tag.js.map +0 -1
  106. package/dist/node_modules/next/dist/server/web/error.js +0 -55
  107. package/dist/node_modules/next/dist/server/web/error.js.map +0 -1
  108. package/dist/node_modules/next/dist/server/web/next-url.js +0 -203
  109. package/dist/node_modules/next/dist/server/web/next-url.js.map +0 -1
  110. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +0 -103
  111. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js.map +0 -1
  112. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +0 -31
  113. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +0 -1
  114. package/dist/node_modules/next/dist/server/web/spec-extension/request.js +0 -98
  115. package/dist/node_modules/next/dist/server/web/spec-extension/request.js.map +0 -1
  116. package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js +0 -162
  117. package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js.map +0 -1
  118. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +0 -187
  119. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js.map +0 -1
  120. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +0 -49
  121. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js.map +0 -1
  122. package/dist/node_modules/next/dist/server/web/utils.js +0 -113
  123. package/dist/node_modules/next/dist/server/web/utils.js.map +0 -1
  124. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +0 -32
  125. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +0 -1
  126. package/dist/node_modules/next/dist/shared/lib/errors/constants.js +0 -24
  127. package/dist/node_modules/next/dist/shared/lib/errors/constants.js.map +0 -1
  128. package/dist/node_modules/next/dist/shared/lib/get-hostname.js +0 -25
  129. package/dist/node_modules/next/dist/shared/lib/get-hostname.js.map +0 -1
  130. package/dist/node_modules/next/dist/shared/lib/hash.js +0 -37
  131. package/dist/node_modules/next/dist/shared/lib/hash.js.map +0 -1
  132. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -23
  133. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +0 -1
  134. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -43
  135. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +0 -1
  136. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -24
  137. package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +0 -1
  138. package/dist/node_modules/next/dist/shared/lib/is-thenable.js +0 -21
  139. package/dist/node_modules/next/dist/shared/lib/is-thenable.js.map +0 -1
  140. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -36
  141. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
  142. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -21
  143. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +0 -1
  144. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +0 -31
  145. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +0 -1
  146. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -31
  147. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +0 -1
  148. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
  149. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +0 -1
  150. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +0 -25
  151. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js.map +0 -1
  152. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -52
  153. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +0 -1
  154. package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +0 -29
  155. package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js.map +0 -1
  156. package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +0 -33
  157. package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js.map +0 -1
  158. package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +0 -52
  159. package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js.map +0 -1
  160. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -33
  161. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +0 -1
  162. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -93
  163. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +0 -1
  164. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -27
  165. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +0 -1
  166. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -33
  167. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +0 -1
  168. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
  169. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js.map +0 -1
  170. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +0 -26
  171. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js.map +0 -1
  172. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -21
  173. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +0 -1
  174. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -168
  175. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +0 -1
  176. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -85
  177. package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
@@ -1,162 +0,0 @@
1
- import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
2
- import { require_constants } from "../../../lib/constants.js";
3
- import { require_hooks_server_context } from "../../../client/components/hooks-server-context.js";
4
- import { require_invariant_error } from "../../../shared/lib/invariant-error.js";
5
- import { require_work_unit_async_storage_external } from "../../app-render/work-unit-async-storage.external.js";
6
- import { require_work_async_storage_external } from "../../app-render/work-async-storage.external.js";
7
- import { require_dynamic_rendering } from "../../app-render/dynamic-rendering.js";
8
- import { require_remove_trailing_slash } from "../../../shared/lib/router/utils/remove-trailing-slash.js";
9
- import { require_utils } from "../../../shared/lib/router/utils/index.js";
10
- import { require_action_revalidation_kind } from "../../../shared/lib/action-revalidation-kind.js";
11
-
12
- //#region node_modules/next/dist/server/web/spec-extension/revalidate.js
13
- var require_revalidate = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/spec-extension/revalidate.js": ((exports) => {
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- function _export(target, all) {
16
- for (var name in all) Object.defineProperty(target, name, {
17
- enumerable: true,
18
- get: all[name]
19
- });
20
- }
21
- _export(exports, {
22
- refresh: function() {
23
- return refresh;
24
- },
25
- revalidatePath: function() {
26
- return revalidatePath;
27
- },
28
- revalidateTag: function() {
29
- return revalidateTag;
30
- },
31
- updateTag: function() {
32
- return updateTag;
33
- }
34
- });
35
- const _dynamicrendering = require_dynamic_rendering();
36
- const _utils = require_utils();
37
- const _constants = require_constants();
38
- const _workasyncstorageexternal = require_work_async_storage_external();
39
- const _workunitasyncstorageexternal = require_work_unit_async_storage_external();
40
- const _hooksservercontext = require_hooks_server_context();
41
- const _invarianterror = require_invariant_error();
42
- const _actionrevalidationkind = require_action_revalidation_kind();
43
- const _removetrailingslash = require_remove_trailing_slash();
44
- function revalidateTag(tag, profile) {
45
- if (!profile) console.warn("\"revalidateTag\" without the second argument is now deprecated, add second argument of \"max\" or use \"updateTag\". See more info here: https://nextjs.org/docs/messages/revalidate-tag-single-arg");
46
- return revalidate([tag], `revalidateTag ${tag}`, profile);
47
- }
48
- function updateTag(tag) {
49
- const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
50
- if (!workStore || workStore.page.endsWith("/route")) throw Object.defineProperty(/* @__PURE__ */ new Error("updateTag can only be called from within a Server Action. To invalidate cache tags in Route Handlers or other contexts, use revalidateTag instead. See more info here: https://nextjs.org/docs/app/api-reference/functions/updateTag"), "__NEXT_ERROR_CODE", {
51
- value: "E872",
52
- enumerable: false,
53
- configurable: true
54
- });
55
- return revalidate([tag], `updateTag ${tag}`, void 0);
56
- }
57
- function refresh() {
58
- const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
59
- const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();
60
- if (!workStore || workStore.page.endsWith("/route") || (workUnitStore == null ? void 0 : workUnitStore.phase) !== "action") throw Object.defineProperty(/* @__PURE__ */ new Error("refresh can only be called from within a Server Action. See more info here: https://nextjs.org/docs/app/api-reference/functions/refresh"), "__NEXT_ERROR_CODE", {
61
- value: "E870",
62
- enumerable: false,
63
- configurable: true
64
- });
65
- if (workStore) workStore.pathWasRevalidated = _actionrevalidationkind.ActionDidRevalidateDynamicOnly;
66
- }
67
- function revalidatePath(originalPath, type) {
68
- if (originalPath.length > _constants.NEXT_CACHE_SOFT_TAG_MAX_LENGTH) {
69
- console.warn(`Warning: revalidatePath received "${originalPath}" which exceeded max length of ${_constants.NEXT_CACHE_SOFT_TAG_MAX_LENGTH}. See more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);
70
- return;
71
- }
72
- let normalizedPath = `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}${(0, _removetrailingslash.removeTrailingSlash)(originalPath)}`;
73
- if (type) normalizedPath += `${normalizedPath.endsWith("/") ? "" : "/"}${type}`;
74
- else if ((0, _utils.isDynamicRoute)(originalPath)) console.warn(`Warning: a dynamic page path "${originalPath}" was passed to "revalidatePath", but the "type" parameter is missing. This has no effect by default, see more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);
75
- const tags = [normalizedPath];
76
- if (normalizedPath === `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/`) tags.push(`${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/index`);
77
- else if (normalizedPath === `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/index`) tags.push(`${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/`);
78
- return revalidate(tags, `revalidatePath ${originalPath}`);
79
- }
80
- function revalidate(tags, expression, profile) {
81
- var _store_cacheLifeProfiles;
82
- const store = _workasyncstorageexternal.workAsyncStorage.getStore();
83
- if (!store || !store.incrementalCache) throw Object.defineProperty(/* @__PURE__ */ new Error(`Invariant: static generation store missing in ${expression}`), "__NEXT_ERROR_CODE", {
84
- value: "E263",
85
- enumerable: false,
86
- configurable: true
87
- });
88
- const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();
89
- if (workUnitStore) {
90
- if (workUnitStore.phase === "render") throw Object.defineProperty(/* @__PURE__ */ new Error(`Route ${store.route} used "${expression}" during render which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
91
- value: "E7",
92
- enumerable: false,
93
- configurable: true
94
- });
95
- switch (workUnitStore.type) {
96
- case "cache":
97
- case "private-cache": throw Object.defineProperty(/* @__PURE__ */ new Error(`Route ${store.route} used "${expression}" inside a "use cache" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
98
- value: "E181",
99
- enumerable: false,
100
- configurable: true
101
- });
102
- case "unstable-cache": throw Object.defineProperty(/* @__PURE__ */ new Error(`Route ${store.route} used "${expression}" inside a function cached with "unstable_cache(...)" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
103
- value: "E306",
104
- enumerable: false,
105
- configurable: true
106
- });
107
- case "generate-static-params": throw Object.defineProperty(/* @__PURE__ */ new Error(`Route ${store.route} used "${expression}" inside \`generateStaticParams\` which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
108
- value: "E1127",
109
- enumerable: false,
110
- configurable: true
111
- });
112
- case "prerender":
113
- case "prerender-runtime":
114
- const error = Object.defineProperty(/* @__PURE__ */ new Error(`Route ${store.route} used ${expression} without first calling \`await connection()\`.`), "__NEXT_ERROR_CODE", {
115
- value: "E406",
116
- enumerable: false,
117
- configurable: true
118
- });
119
- return (0, _dynamicrendering.abortAndThrowOnSynchronousRequestDataAccess)(store.route, expression, error, workUnitStore);
120
- case "prerender-client":
121
- case "validation-client": throw Object.defineProperty(new _invarianterror.InvariantError(`${expression} must not be used within a client component. Next.js should be preventing ${expression} from being included in client components statically, but did not in this case.`), "__NEXT_ERROR_CODE", {
122
- value: "E693",
123
- enumerable: false,
124
- configurable: true
125
- });
126
- case "prerender-ppr": return (0, _dynamicrendering.postponeWithTracking)(store.route, expression, workUnitStore.dynamicTracking);
127
- case "prerender-legacy":
128
- workUnitStore.revalidate = 0;
129
- const err = Object.defineProperty(new _hooksservercontext.DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used \`${expression}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
130
- value: "E558",
131
- enumerable: false,
132
- configurable: true
133
- });
134
- store.dynamicUsageDescription = expression;
135
- store.dynamicUsageStack = err.stack;
136
- throw err;
137
- case "request":
138
- if (process.env.NODE_ENV !== "production") workUnitStore.usedDynamic = true;
139
- break;
140
- default:
141
- }
142
- }
143
- if (!store.pendingRevalidatedTags) store.pendingRevalidatedTags = [];
144
- for (const tag of tags) if (store.pendingRevalidatedTags.findIndex((item) => {
145
- if (item.tag !== tag) return false;
146
- if (typeof item.profile === "string" && typeof profile === "string") return item.profile === profile;
147
- if (typeof item.profile === "object" && typeof profile === "object") return JSON.stringify(item.profile) === JSON.stringify(profile);
148
- return item.profile === profile;
149
- }) === -1) store.pendingRevalidatedTags.push({
150
- tag,
151
- profile
152
- });
153
- const cacheLife = profile && typeof profile === "object" ? profile : profile && typeof profile === "string" && (store == null ? void 0 : (_store_cacheLifeProfiles = store.cacheLifeProfiles) == null ? void 0 : _store_cacheLifeProfiles[profile]) ? store.cacheLifeProfiles[profile] : void 0;
154
- if (!profile || (cacheLife == null ? void 0 : cacheLife.expire) === 0) store.pathWasRevalidated = _actionrevalidationkind.ActionDidRevalidateStaticAndDynamic;
155
- }
156
- }) });
157
-
158
- //#endregion
159
- export default require_revalidate();
160
-
161
- export { require_revalidate };
162
- //# sourceMappingURL=revalidate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"revalidate.js","names":[],"sources":["../../../../../../../node_modules/next/dist/server/web/spec-extension/revalidate.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n refresh: null,\n revalidatePath: null,\n revalidateTag: null,\n updateTag: 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 refresh: function() {\n return refresh;\n },\n revalidatePath: function() {\n return revalidatePath;\n },\n revalidateTag: function() {\n return revalidateTag;\n },\n updateTag: function() {\n return updateTag;\n }\n});\nconst _dynamicrendering = require(\"../../app-render/dynamic-rendering\");\nconst _utils = require(\"../../../shared/lib/router/utils\");\nconst _constants = require(\"../../../lib/constants\");\nconst _workasyncstorageexternal = require(\"../../app-render/work-async-storage.external\");\nconst _workunitasyncstorageexternal = require(\"../../app-render/work-unit-async-storage.external\");\nconst _hooksservercontext = require(\"../../../client/components/hooks-server-context\");\nconst _invarianterror = require(\"../../../shared/lib/invariant-error\");\nconst _actionrevalidationkind = require(\"../../../shared/lib/action-revalidation-kind\");\nconst _removetrailingslash = require(\"../../../shared/lib/router/utils/remove-trailing-slash\");\nfunction revalidateTag(tag, profile) {\n if (!profile) {\n console.warn('\"revalidateTag\" without the second argument is now deprecated, add second argument of \"max\" or use \"updateTag\". See more info here: https://nextjs.org/docs/messages/revalidate-tag-single-arg');\n }\n return revalidate([\n tag\n ], `revalidateTag ${tag}`, profile);\n}\nfunction updateTag(tag) {\n const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();\n // TODO: change this after investigating why phase: 'action' is\n // set for route handlers\n if (!workStore || workStore.page.endsWith('/route')) {\n throw Object.defineProperty(new Error('updateTag can only be called from within a Server Action. ' + 'To invalidate cache tags in Route Handlers or other contexts, use revalidateTag instead. ' + 'See more info here: https://nextjs.org/docs/app/api-reference/functions/updateTag'), \"__NEXT_ERROR_CODE\", {\n value: \"E872\",\n enumerable: false,\n configurable: true\n });\n }\n // updateTag uses immediate expiration (no profile) without deprecation warning\n return revalidate([\n tag\n ], `updateTag ${tag}`, undefined);\n}\nfunction refresh() {\n const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();\n const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();\n if (!workStore || workStore.page.endsWith('/route') || (workUnitStore == null ? void 0 : workUnitStore.phase) !== 'action') {\n throw Object.defineProperty(new Error('refresh can only be called from within a Server Action. ' + 'See more info here: https://nextjs.org/docs/app/api-reference/functions/refresh'), \"__NEXT_ERROR_CODE\", {\n value: \"E870\",\n enumerable: false,\n configurable: true\n });\n }\n if (workStore) {\n // The Server Action version of refresh() only revalidates the dynamic data\n // on the client. It doesn't affect cached data.\n workStore.pathWasRevalidated = _actionrevalidationkind.ActionDidRevalidateDynamicOnly;\n }\n}\nfunction revalidatePath(originalPath, type) {\n if (originalPath.length > _constants.NEXT_CACHE_SOFT_TAG_MAX_LENGTH) {\n console.warn(`Warning: revalidatePath received \"${originalPath}\" which exceeded max length of ${_constants.NEXT_CACHE_SOFT_TAG_MAX_LENGTH}. See more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);\n return;\n }\n let normalizedPath = `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}${(0, _removetrailingslash.removeTrailingSlash)(originalPath)}`;\n if (type) {\n normalizedPath += `${normalizedPath.endsWith('/') ? '' : '/'}${type}`;\n } else if ((0, _utils.isDynamicRoute)(originalPath)) {\n console.warn(`Warning: a dynamic page path \"${originalPath}\" was passed to \"revalidatePath\", but the \"type\" parameter is missing. This has no effect by default, see more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);\n }\n const tags = [\n normalizedPath\n ];\n if (normalizedPath === `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/`) {\n tags.push(`${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/index`);\n } else if (normalizedPath === `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/index`) {\n tags.push(`${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/`);\n }\n return revalidate(tags, `revalidatePath ${originalPath}`);\n}\nfunction revalidate(tags, expression, profile) {\n var _store_cacheLifeProfiles;\n const store = _workasyncstorageexternal.workAsyncStorage.getStore();\n if (!store || !store.incrementalCache) {\n throw Object.defineProperty(new Error(`Invariant: static generation store missing in ${expression}`), \"__NEXT_ERROR_CODE\", {\n value: \"E263\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n if (workUnitStore.phase === 'render') {\n throw Object.defineProperty(new Error(`Route ${store.route} used \"${expression}\" during render which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E7\",\n enumerable: false,\n configurable: true\n });\n }\n switch(workUnitStore.type){\n case 'cache':\n case 'private-cache':\n throw Object.defineProperty(new Error(`Route ${store.route} used \"${expression}\" inside a \"use cache\" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E181\",\n enumerable: false,\n configurable: true\n });\n case 'unstable-cache':\n throw Object.defineProperty(new Error(`Route ${store.route} used \"${expression}\" inside a function cached with \"unstable_cache(...)\" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E306\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new Error(`Route ${store.route} used \"${expression}\" inside \\`generateStaticParams\\` which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E1127\",\n enumerable: false,\n configurable: true\n });\n case 'prerender':\n case 'prerender-runtime':\n // cacheComponents Prerender\n const error = Object.defineProperty(new Error(`Route ${store.route} used ${expression} without first calling \\`await connection()\\`.`), \"__NEXT_ERROR_CODE\", {\n value: \"E406\",\n enumerable: false,\n configurable: true\n });\n return (0, _dynamicrendering.abortAndThrowOnSynchronousRequestDataAccess)(store.route, expression, error, workUnitStore);\n case 'prerender-client':\n case 'validation-client':\n throw Object.defineProperty(new _invarianterror.InvariantError(`${expression} must not be used within a client component. Next.js should be preventing ${expression} from being included in client components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E693\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-ppr':\n return (0, _dynamicrendering.postponeWithTracking)(store.route, expression, workUnitStore.dynamicTracking);\n case 'prerender-legacy':\n workUnitStore.revalidate = 0;\n const err = Object.defineProperty(new _hooksservercontext.DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E558\",\n enumerable: false,\n configurable: true\n });\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n // TODO: This is most likely incorrect. It would lead to the ISR\n // status being flipped when revalidating a static page with a server\n // action.\n workUnitStore.usedDynamic = true;\n // TODO(restart-on-cache-miss): we should do a sync IO error here in dev\n // to match prerender behavior\n }\n break;\n default:\n workUnitStore;\n }\n }\n if (!store.pendingRevalidatedTags) {\n store.pendingRevalidatedTags = [];\n }\n for (const tag of tags){\n const existingIndex = store.pendingRevalidatedTags.findIndex((item)=>{\n if (item.tag !== tag) return false;\n // Compare profiles: both strings, both objects, or both undefined\n if (typeof item.profile === 'string' && typeof profile === 'string') {\n return item.profile === profile;\n }\n if (typeof item.profile === 'object' && typeof profile === 'object') {\n return JSON.stringify(item.profile) === JSON.stringify(profile);\n }\n return item.profile === profile;\n });\n if (existingIndex === -1) {\n store.pendingRevalidatedTags.push({\n tag,\n profile\n });\n }\n }\n // if profile is provided and this is a stale-while-revalidate\n // update we do not mark the path as revalidated so that server\n // actions don't pull their own writes\n const cacheLife = profile && typeof profile === 'object' ? profile : profile && typeof profile === 'string' && (store == null ? void 0 : (_store_cacheLifeProfiles = store.cacheLifeProfiles) == null ? void 0 : _store_cacheLifeProfiles[profile]) ? store.cacheLifeProfiles[profile] : undefined;\n if (!profile || (cacheLife == null ? void 0 : cacheLife.expire) === 0) {\n // TODO: only revalidate if the path matches\n store.pathWasRevalidated = _actionrevalidationkind.ActionDidRevalidateStaticAndDynamic;\n }\n}\n\n//# sourceMappingURL=revalidate.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;CAOF,SAAS,QAAQ,QAAQ,KAAK;AAC1B,OAAI,IAAI,QAAQ,IAAI,QAAO,eAAe,QAAQ,MAAM;GACpD,YAAY;GACZ,KAAK,IAAI;GACZ,CAAC;;AAEN,SAAQ,SAAS;EACb,SAAS,WAAW;AAChB,UAAO;;EAEX,gBAAgB,WAAW;AACvB,UAAO;;EAEX,eAAe,WAAW;AACtB,UAAO;;EAEX,WAAW,WAAW;AAClB,UAAO;;EAEd,CAAC;CACF,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;C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AAkB,WAAW;AACzR,MAAI,CAAC,YAAY,aAAa,OAAO,KAAK,IAAI,UAAU,YAAY,EAEhE,OAAM,qBAAqB,wBAAwB"}
@@ -1,187 +0,0 @@
1
- import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
2
- import { require_constants } from "../../../lib/constants.js";
3
- import { require_work_unit_async_storage_external } from "../../app-render/work-unit-async-storage.external.js";
4
- import { require_work_async_storage_external } from "../../app-render/work-async-storage.external.js";
5
- import { require_response_cache } from "../../response-cache/index.js";
6
- import { require_patch_fetch } from "../../lib/patch-fetch.js";
7
-
8
- //#region node_modules/next/dist/server/web/spec-extension/unstable-cache.js
9
- var require_unstable_cache = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/spec-extension/unstable-cache.js": ((exports) => {
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- Object.defineProperty(exports, "unstable_cache", {
12
- enumerable: true,
13
- get: function() {
14
- return unstable_cache;
15
- }
16
- });
17
- const _constants = require_constants();
18
- const _patchfetch = require_patch_fetch();
19
- const _workasyncstorageexternal = require_work_async_storage_external();
20
- const _workunitasyncstorageexternal = require_work_unit_async_storage_external();
21
- const _responsecache = require_response_cache();
22
- let noStoreFetchIdx = 0;
23
- async function cacheNewResult(result, incrementalCache, cacheKey, tags, revalidate, fetchIdx, fetchUrl) {
24
- await incrementalCache.set(cacheKey, {
25
- kind: _responsecache.CachedRouteKind.FETCH,
26
- data: {
27
- headers: {},
28
- body: JSON.stringify(result),
29
- status: 200,
30
- url: ""
31
- },
32
- revalidate: typeof revalidate !== "number" ? _constants.CACHE_ONE_YEAR_SECONDS : revalidate
33
- }, {
34
- fetchCache: true,
35
- tags,
36
- fetchIdx,
37
- fetchUrl
38
- });
39
- }
40
- function unstable_cache(cb, keyParts, options = {}) {
41
- if (options.revalidate === 0) throw Object.defineProperty(/* @__PURE__ */ new Error(`Invariant revalidate: 0 can not be passed to unstable_cache(), must be "false" or "> 0" ${cb.toString()}`), "__NEXT_ERROR_CODE", {
42
- value: "E57",
43
- enumerable: false,
44
- configurable: true
45
- });
46
- const tags = options.tags ? (0, _patchfetch.validateTags)(options.tags, `unstable_cache ${cb.toString()}`) : [];
47
- (0, _patchfetch.validateRevalidate)(options.revalidate, `unstable_cache ${cb.name || cb.toString()}`);
48
- const fixedKey = `${cb.toString()}-${Array.isArray(keyParts) && keyParts.join(",")}`;
49
- const cachedCb = async (...args) => {
50
- const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
51
- const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();
52
- const maybeIncrementalCache = (workStore == null ? void 0 : workStore.incrementalCache) || globalThis.__incrementalCache;
53
- if (!maybeIncrementalCache) throw Object.defineProperty(/* @__PURE__ */ new Error(`Invariant: incrementalCache missing in unstable_cache ${cb.toString()}`), "__NEXT_ERROR_CODE", {
54
- value: "E469",
55
- enumerable: false,
56
- configurable: true
57
- });
58
- const incrementalCache = maybeIncrementalCache;
59
- const cacheSignal = workUnitStore ? (0, _workunitasyncstorageexternal.getCacheSignal)(workUnitStore) : null;
60
- if (cacheSignal) cacheSignal.beginRead();
61
- try {
62
- const fetchUrlPrefix = workStore && workUnitStore ? getFetchUrlPrefix(workStore, workUnitStore) : "";
63
- const invocationKey = `${fixedKey}-${JSON.stringify(args)}`;
64
- const cacheKey = await incrementalCache.generateCacheKey(invocationKey);
65
- const fetchUrl = `unstable_cache ${fetchUrlPrefix} ${cb.name ? ` ${cb.name}` : cacheKey}`;
66
- const fetchIdx = (workStore ? workStore.nextFetchId : noStoreFetchIdx) ?? 1;
67
- const implicitTags = workUnitStore == null ? void 0 : workUnitStore.implicitTags;
68
- const innerCacheStore = {
69
- type: "unstable-cache",
70
- phase: "render",
71
- implicitTags,
72
- draftMode: workUnitStore && workStore && (0, _workunitasyncstorageexternal.getDraftModeProviderForCacheScope)(workStore, workUnitStore),
73
- rootParams: void 0
74
- };
75
- if (workStore) {
76
- workStore.nextFetchId = fetchIdx + 1;
77
- let isNestedUnstableCache = false;
78
- if (workUnitStore) switch (workUnitStore.type) {
79
- case "cache":
80
- case "private-cache":
81
- case "prerender":
82
- case "prerender-runtime":
83
- case "prerender-ppr":
84
- case "prerender-legacy":
85
- if (typeof options.revalidate === "number") if (workUnitStore.revalidate < options.revalidate) {} else workUnitStore.revalidate = options.revalidate;
86
- const collectedTags = workUnitStore.tags;
87
- if (collectedTags === null) workUnitStore.tags = tags.slice();
88
- else for (const tag of tags) if (!collectedTags.includes(tag)) collectedTags.push(tag);
89
- break;
90
- case "unstable-cache":
91
- isNestedUnstableCache = true;
92
- break;
93
- case "prerender-client":
94
- case "validation-client":
95
- case "request":
96
- case "generate-static-params": break;
97
- default:
98
- }
99
- if (!isNestedUnstableCache && workStore.fetchCache !== "force-no-store" && !workStore.isOnDemandRevalidate && !incrementalCache.isOnDemandRevalidate && !workStore.isDraftMode) {
100
- const cacheEntry = await incrementalCache.get(cacheKey, {
101
- kind: _responsecache.IncrementalCacheKind.FETCH,
102
- revalidate: options.revalidate,
103
- tags,
104
- softTags: implicitTags == null ? void 0 : implicitTags.tags,
105
- fetchIdx,
106
- fetchUrl
107
- });
108
- if (cacheEntry && cacheEntry.value) if (cacheEntry.value.kind !== _responsecache.CachedRouteKind.FETCH) console.error(`Invariant invalid cacheEntry returned for ${invocationKey}`);
109
- else {
110
- const cachedResponse = cacheEntry.value.data.body !== void 0 ? JSON.parse(cacheEntry.value.data.body) : void 0;
111
- if (cacheEntry.isStale) {
112
- if (!workStore.pendingRevalidates) workStore.pendingRevalidates = {};
113
- if (!workStore.pendingRevalidates[invocationKey]) {
114
- const revalidationPromise = _workunitasyncstorageexternal.workUnitAsyncStorage.run(innerCacheStore, cb, ...args).then(async (result$1) => {
115
- await cacheNewResult(result$1, incrementalCache, cacheKey, tags, options.revalidate, fetchIdx, fetchUrl);
116
- return result$1;
117
- }).catch((err) => {
118
- console.error(`revalidating cache with key: ${invocationKey}`, err);
119
- return cachedResponse;
120
- });
121
- if (workStore.isStaticGeneration) revalidationPromise.catch(() => {});
122
- workStore.pendingRevalidates[invocationKey] = revalidationPromise;
123
- }
124
- if (workStore.isStaticGeneration) return workStore.pendingRevalidates[invocationKey];
125
- }
126
- return cachedResponse;
127
- }
128
- }
129
- const result = await _workunitasyncstorageexternal.workUnitAsyncStorage.run(innerCacheStore, cb, ...args);
130
- if (!workStore.isDraftMode) {
131
- if (!workStore.pendingRevalidates) workStore.pendingRevalidates = {};
132
- workStore.pendingRevalidates[invocationKey] = cacheNewResult(result, incrementalCache, cacheKey, tags, options.revalidate, fetchIdx, fetchUrl);
133
- }
134
- return result;
135
- } else {
136
- noStoreFetchIdx += 1;
137
- if (!incrementalCache.isOnDemandRevalidate) {
138
- const cacheEntry = await incrementalCache.get(cacheKey, {
139
- kind: _responsecache.IncrementalCacheKind.FETCH,
140
- revalidate: options.revalidate,
141
- tags,
142
- fetchIdx,
143
- fetchUrl,
144
- softTags: implicitTags == null ? void 0 : implicitTags.tags
145
- });
146
- if (cacheEntry && cacheEntry.value) {
147
- if (cacheEntry.value.kind !== _responsecache.CachedRouteKind.FETCH) console.error(`Invariant invalid cacheEntry returned for ${invocationKey}`);
148
- else if (!cacheEntry.isStale) return cacheEntry.value.data.body !== void 0 ? JSON.parse(cacheEntry.value.data.body) : void 0;
149
- }
150
- }
151
- const result = await _workunitasyncstorageexternal.workUnitAsyncStorage.run(innerCacheStore, cb, ...args);
152
- await cacheNewResult(result, incrementalCache, cacheKey, tags, options.revalidate, fetchIdx, fetchUrl);
153
- return result;
154
- }
155
- } finally {
156
- if (cacheSignal) cacheSignal.endRead();
157
- }
158
- };
159
- return cachedCb;
160
- }
161
- function getFetchUrlPrefix(workStore, workUnitStore) {
162
- switch (workUnitStore.type) {
163
- case "request":
164
- const pathname = workUnitStore.url.pathname;
165
- const searchParams = new URLSearchParams(workUnitStore.url.search);
166
- const sortedSearch = [...searchParams.keys()].sort((a, b) => a.localeCompare(b)).map((key) => `${key}=${searchParams.get(key)}`).join("&");
167
- return `${pathname}${sortedSearch.length ? "?" : ""}${sortedSearch}`;
168
- case "prerender":
169
- case "prerender-client":
170
- case "validation-client":
171
- case "prerender-runtime":
172
- case "prerender-ppr":
173
- case "prerender-legacy":
174
- case "cache":
175
- case "private-cache":
176
- case "unstable-cache":
177
- case "generate-static-params": return workStore.route;
178
- default: return workUnitStore;
179
- }
180
- }
181
- }) });
182
-
183
- //#endregion
184
- export default require_unstable_cache();
185
-
186
- export { require_unstable_cache };
187
- //# sourceMappingURL=unstable-cache.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unstable-cache.js","names":["result"],"sources":["../../../../../../../node_modules/next/dist/server/web/spec-extension/unstable-cache.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"unstable_cache\", {\n enumerable: true,\n get: function() {\n return unstable_cache;\n }\n});\nconst _constants = require(\"../../../lib/constants\");\nconst _patchfetch = require(\"../../lib/patch-fetch\");\nconst _workasyncstorageexternal = require(\"../../app-render/work-async-storage.external\");\nconst _workunitasyncstorageexternal = require(\"../../app-render/work-unit-async-storage.external\");\nconst _responsecache = require(\"../../response-cache\");\nlet noStoreFetchIdx = 0;\nasync function cacheNewResult(result, incrementalCache, cacheKey, tags, revalidate, fetchIdx, fetchUrl) {\n await incrementalCache.set(cacheKey, {\n kind: _responsecache.CachedRouteKind.FETCH,\n data: {\n headers: {},\n // TODO: handle non-JSON values?\n body: JSON.stringify(result),\n status: 200,\n url: ''\n },\n revalidate: typeof revalidate !== 'number' ? _constants.CACHE_ONE_YEAR_SECONDS : revalidate\n }, {\n fetchCache: true,\n tags,\n fetchIdx,\n fetchUrl\n });\n return;\n}\nfunction unstable_cache(cb, keyParts, options = {}) {\n if (options.revalidate === 0) {\n throw Object.defineProperty(new Error(`Invariant revalidate: 0 can not be passed to unstable_cache(), must be \"false\" or \"> 0\" ${cb.toString()}`), \"__NEXT_ERROR_CODE\", {\n value: \"E57\",\n enumerable: false,\n configurable: true\n });\n }\n // Validate the tags provided are valid\n const tags = options.tags ? (0, _patchfetch.validateTags)(options.tags, `unstable_cache ${cb.toString()}`) : [];\n // Validate the revalidate options\n (0, _patchfetch.validateRevalidate)(options.revalidate, `unstable_cache ${cb.name || cb.toString()}`);\n // Stash the fixed part of the key at construction time. The invocation key will combine\n // the fixed key with the arguments when actually called\n // @TODO if cb.toString() is long we should hash it\n // @TODO come up with a collision-free way to combine keyParts\n // @TODO consider validating the keyParts are all strings. TS can't provide runtime guarantees\n // and the error produced by accidentally using something that cannot be safely coerced is likely\n // hard to debug\n const fixedKey = `${cb.toString()}-${Array.isArray(keyParts) && keyParts.join(',')}`;\n const cachedCb = async (...args)=>{\n const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();\n const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();\n // We must be able to find the incremental cache otherwise we throw\n const maybeIncrementalCache = (workStore == null ? void 0 : workStore.incrementalCache) || globalThis.__incrementalCache;\n if (!maybeIncrementalCache) {\n throw Object.defineProperty(new Error(`Invariant: incrementalCache missing in unstable_cache ${cb.toString()}`), \"__NEXT_ERROR_CODE\", {\n value: \"E469\",\n enumerable: false,\n configurable: true\n });\n }\n const incrementalCache = maybeIncrementalCache;\n const cacheSignal = workUnitStore ? (0, _workunitasyncstorageexternal.getCacheSignal)(workUnitStore) : null;\n if (cacheSignal) {\n cacheSignal.beginRead();\n }\n try {\n // If there's no request store, we aren't in a request (or we're not in\n // app router) and if there's no static generation store, we aren't in app\n // router. Default to an empty pathname and search params when there's no\n // request store or static generation store available.\n const fetchUrlPrefix = workStore && workUnitStore ? getFetchUrlPrefix(workStore, workUnitStore) : '';\n // Construct the complete cache key for this function invocation\n // @TODO stringify is likely not safe here. We will coerce undefined to null which will make\n // the keyspace smaller than the execution space\n const invocationKey = `${fixedKey}-${JSON.stringify(args)}`;\n const cacheKey = await incrementalCache.generateCacheKey(invocationKey);\n // $urlWithPath,$sortedQueryStringKeys,$hashOfEveryThingElse\n const fetchUrl = `unstable_cache ${fetchUrlPrefix} ${cb.name ? ` ${cb.name}` : cacheKey}`;\n const fetchIdx = (workStore ? workStore.nextFetchId : noStoreFetchIdx) ?? 1;\n const implicitTags = workUnitStore == null ? void 0 : workUnitStore.implicitTags;\n const innerCacheStore = {\n type: 'unstable-cache',\n phase: 'render',\n implicitTags,\n draftMode: workUnitStore && workStore && (0, _workunitasyncstorageexternal.getDraftModeProviderForCacheScope)(workStore, workUnitStore),\n rootParams: undefined\n };\n if (workStore) {\n workStore.nextFetchId = fetchIdx + 1;\n // We are in an App Router context. We try to return the cached entry if it exists and is valid\n // If the entry is fresh we return it. If the entry is stale we return it but revalidate the entry in\n // the background. If the entry is missing or invalid we generate a new entry and return it.\n let isNestedUnstableCache = false;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'private-cache':\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n // We update the store's revalidate property if the option.revalidate is a higher precedence\n // options.revalidate === undefined doesn't affect timing.\n // options.revalidate === false doesn't shrink timing. it stays at the maximum.\n if (typeof options.revalidate === 'number') {\n if (workUnitStore.revalidate < options.revalidate) {\n // The store is already revalidating on a shorter time interval, leave it alone\n } else {\n workUnitStore.revalidate = options.revalidate;\n }\n }\n // We need to accumulate the tags for this invocation within the store\n const collectedTags = workUnitStore.tags;\n if (collectedTags === null) {\n workUnitStore.tags = tags.slice();\n } else {\n for (const tag of tags){\n // @TODO refactor tags to be a set to avoid this O(n) lookup\n if (!collectedTags.includes(tag)) {\n collectedTags.push(tag);\n }\n }\n }\n break;\n case 'unstable-cache':\n isNestedUnstableCache = true;\n break;\n case 'prerender-client':\n case 'validation-client':\n case 'request':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n if (// when we are nested inside of other unstable_cache's\n // we should bypass cache similar to fetches\n !isNestedUnstableCache && workStore.fetchCache !== 'force-no-store' && !workStore.isOnDemandRevalidate && !incrementalCache.isOnDemandRevalidate && !workStore.isDraftMode) {\n // We attempt to get the current cache entry from the incremental cache.\n const cacheEntry = await incrementalCache.get(cacheKey, {\n kind: _responsecache.IncrementalCacheKind.FETCH,\n revalidate: options.revalidate,\n tags,\n softTags: implicitTags == null ? void 0 : implicitTags.tags,\n fetchIdx,\n fetchUrl\n });\n if (cacheEntry && cacheEntry.value) {\n // The entry exists and has a value\n if (cacheEntry.value.kind !== _responsecache.CachedRouteKind.FETCH) {\n // The entry is invalid and we need a special warning\n // @TODO why do we warn this way? Should this just be an error? How are these errors surfaced\n // so bugs can be reported\n // @TODO the invocation key can have sensitive data in it. we should not log this entire object\n console.error(`Invariant invalid cacheEntry returned for ${invocationKey}`);\n // will fall through to generating a new cache entry below\n } else {\n // We have a valid cache entry so we will be returning it. We also check to see if we need\n // to background revalidate it by checking if it is stale.\n const cachedResponse = cacheEntry.value.data.body !== undefined ? JSON.parse(cacheEntry.value.data.body) : undefined;\n if (cacheEntry.isStale) {\n if (!workStore.pendingRevalidates) {\n workStore.pendingRevalidates = {};\n }\n // Check if there's already a pending revalidation to avoid duplicate work\n if (!workStore.pendingRevalidates[invocationKey]) {\n // Create the revalidation promise\n const revalidationPromise = _workunitasyncstorageexternal.workUnitAsyncStorage.run(innerCacheStore, cb, ...args).then(async (result)=>{\n await cacheNewResult(result, incrementalCache, cacheKey, tags, options.revalidate, fetchIdx, fetchUrl);\n return result;\n }).catch((err)=>{\n // @TODO This error handling seems wrong. We swallow the error?\n console.error(`revalidating cache with key: ${invocationKey}`, err);\n // Return the stale value on error for foreground revalidation\n return cachedResponse;\n });\n // Attach the empty catch here so we don't get a \"unhandled promise\n // rejection\" warning. (Behavior is matched with patch-fetch)\n if (workStore.isStaticGeneration) {\n revalidationPromise.catch(()=>{});\n }\n workStore.pendingRevalidates[invocationKey] = revalidationPromise;\n }\n // Check if we need to do foreground revalidation\n if (workStore.isStaticGeneration) {\n // When the page is revalidating and the cache entry is stale,\n // we need to wait for fresh data (blocking revalidate)\n return workStore.pendingRevalidates[invocationKey];\n }\n // Otherwise, we're doing background revalidation - return stale immediately\n }\n // We had a valid cache entry so we return it here\n return cachedResponse;\n }\n }\n }\n // If we got this far then we had an invalid cache entry and need to generate a new one\n const result = await _workunitasyncstorageexternal.workUnitAsyncStorage.run(innerCacheStore, cb, ...args);\n if (!workStore.isDraftMode) {\n if (!workStore.pendingRevalidates) {\n workStore.pendingRevalidates = {};\n }\n // We need to push the cache result promise to pending\n // revalidates otherwise it won't be awaited and is just\n // dangling\n workStore.pendingRevalidates[invocationKey] = cacheNewResult(result, incrementalCache, cacheKey, tags, options.revalidate, fetchIdx, fetchUrl);\n }\n return result;\n } else {\n noStoreFetchIdx += 1;\n // We are in Pages Router or were called outside of a render. We don't have a store\n // so we just call the callback directly when it needs to run.\n // If the entry is fresh we return it. If the entry is stale we return it but revalidate the entry in\n // the background. If the entry is missing or invalid we generate a new entry and return it.\n if (!incrementalCache.isOnDemandRevalidate) {\n // We aren't doing an on demand revalidation so we check use the cache if valid\n const cacheEntry = await incrementalCache.get(cacheKey, {\n kind: _responsecache.IncrementalCacheKind.FETCH,\n revalidate: options.revalidate,\n tags,\n fetchIdx,\n fetchUrl,\n softTags: implicitTags == null ? void 0 : implicitTags.tags\n });\n if (cacheEntry && cacheEntry.value) {\n // The entry exists and has a value\n if (cacheEntry.value.kind !== _responsecache.CachedRouteKind.FETCH) {\n // The entry is invalid and we need a special warning\n // @TODO why do we warn this way? Should this just be an error? How are these errors surfaced\n // so bugs can be reported\n console.error(`Invariant invalid cacheEntry returned for ${invocationKey}`);\n // will fall through to generating a new cache entry below\n } else if (!cacheEntry.isStale) {\n // We have a valid cache entry and it is fresh so we return it\n return cacheEntry.value.data.body !== undefined ? JSON.parse(cacheEntry.value.data.body) : undefined;\n }\n }\n }\n // If we got this far then we had an invalid cache entry and need to generate a new one\n const result = await _workunitasyncstorageexternal.workUnitAsyncStorage.run(innerCacheStore, cb, ...args);\n // we need to wait setting the new cache result here as\n // we don't have pending revalidates on workStore to\n // push to and we can't have a dangling promise\n await cacheNewResult(result, incrementalCache, cacheKey, tags, options.revalidate, fetchIdx, fetchUrl);\n return result;\n }\n } finally{\n if (cacheSignal) {\n cacheSignal.endRead();\n }\n }\n };\n // TODO: once AsyncLocalStorage.run() returns the correct types this override will no longer be necessary\n return cachedCb;\n}\nfunction getFetchUrlPrefix(workStore, workUnitStore) {\n switch(workUnitStore.type){\n case 'request':\n const pathname = workUnitStore.url.pathname;\n const searchParams = new URLSearchParams(workUnitStore.url.search);\n const sortedSearch = [\n ...searchParams.keys()\n ].sort((a, b)=>a.localeCompare(b)).map((key)=>`${key}=${searchParams.get(key)}`).join('&');\n return `${pathname}${sortedSearch.length ? '?' : ''}${sortedSearch}`;\n case 'prerender':\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n return workStore.route;\n default:\n return workUnitStore;\n }\n}\n\n//# sourceMappingURL=unstable-cache.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;AACF,QAAO,eAAe,SAAS,kBAAkB;EAC7C,YAAY;EACZ,KAAK,WAAW;AACZ,UAAO;;EAEd,CAAC;CACF,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,IAAI,kBAAkB;CACtB,eAAe,eAAe,QAAQ,kBAAkB,UAAU,MAAM,YAAY,UAAU,UAAU;AACpG,QAAM,iBAAiB,IAAI,UAAU;GACjC,MAAM,eAAe,gBAAgB;GACrC,MAAM;IACF,SAAS,EAAE;IAEX,MAAM,KAAK,UAAU,OAAO;IAC5B,QAAQ;IACR,KAAK;IACR;GACD,YAAY,OAAO,eAAe,WAAW,WAAW,yBAAyB;GACpF,EAAE;GACC,YAAY;GACZ;GACA;GACA;GACH,CAAC;;CAGN,SAAS,eAAe,IAAI,UAAU,UAAU,EAAE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Y,UAAU,SAAS;AACtG,YAAO;;aAEN;AACL,QAAI,YACA,aAAY,SAAS;;;AAKjC,SAAO;;CAEX,SAAS,kBAAkB,WAAW,eAAe;AACjD,UAAO,cAAc,MAArB;GACI,KAAK;IACD,MAAM,WAAW,cAAc,IAAI;IACnC,MAAM,eAAe,IAAI,gBAAgB,cAAc,IAAI,OAAO;IAClE,MAAM,eAAe,CACjB,GAAG,aAAa,MAAM,CACzB,CAAC,MAAM,GAAG,MAAI,EAAE,cAAc,EAAE,CAAC,CAAC,KAAK,QAAM,GAAG,IAAI,GAAG,aAAa,IAAI,IAAI,GAAG,CAAC,KAAK,IAAI;AAC1F,WAAO,GAAG,WAAW,aAAa,SAAS,MAAM,KAAK;GAC1D,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK,yBACD,QAAO,UAAU;GACrB,QACI,QAAO"}
@@ -1,49 +0,0 @@
1
- import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
2
- import { require_work_unit_async_storage_external } from "../../app-render/work-unit-async-storage.external.js";
3
- import { require_work_async_storage_external } from "../../app-render/work-async-storage.external.js";
4
- import { require_dynamic_rendering } from "../../app-render/dynamic-rendering.js";
5
-
6
- //#region node_modules/next/dist/server/web/spec-extension/unstable-no-store.js
7
- var require_unstable_no_store = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/spec-extension/unstable-no-store.js": ((exports) => {
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- Object.defineProperty(exports, "unstable_noStore", {
10
- enumerable: true,
11
- get: function() {
12
- return unstable_noStore;
13
- }
14
- });
15
- const _workasyncstorageexternal = require_work_async_storage_external();
16
- const _workunitasyncstorageexternal = require_work_unit_async_storage_external();
17
- const _dynamicrendering = require_dynamic_rendering();
18
- function unstable_noStore() {
19
- const callingExpression = "unstable_noStore()";
20
- const store = _workasyncstorageexternal.workAsyncStorage.getStore();
21
- const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();
22
- if (!store) return;
23
- else if (store.forceStatic) return;
24
- else {
25
- store.isUnstableNoStore = true;
26
- if (workUnitStore) switch (workUnitStore.type) {
27
- case "prerender":
28
- case "prerender-client":
29
- case "validation-client":
30
- case "prerender-runtime": return;
31
- case "prerender-ppr":
32
- case "prerender-legacy":
33
- case "request":
34
- case "cache":
35
- case "private-cache":
36
- case "unstable-cache":
37
- case "generate-static-params": break;
38
- default:
39
- }
40
- (0, _dynamicrendering.markCurrentScopeAsDynamic)(store, workUnitStore, callingExpression);
41
- }
42
- }
43
- }) });
44
-
45
- //#endregion
46
- export default require_unstable_no_store();
47
-
48
- export { require_unstable_no_store };
49
- //# sourceMappingURL=unstable-no-store.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unstable-no-store.js","names":[],"sources":["../../../../../../../node_modules/next/dist/server/web/spec-extension/unstable-no-store.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"unstable_noStore\", {\n enumerable: true,\n get: function() {\n return unstable_noStore;\n }\n});\nconst _workasyncstorageexternal = require(\"../../app-render/work-async-storage.external\");\nconst _workunitasyncstorageexternal = require(\"../../app-render/work-unit-async-storage.external\");\nconst _dynamicrendering = require(\"../../app-render/dynamic-rendering\");\nfunction unstable_noStore() {\n const callingExpression = 'unstable_noStore()';\n const store = _workasyncstorageexternal.workAsyncStorage.getStore();\n const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();\n if (!store) {\n // This generally implies we are being called in Pages router. We should probably not support\n // unstable_noStore in contexts outside of `react-server` condition but since we historically\n // have not errored here previously, we maintain that behavior for now.\n return;\n } else if (store.forceStatic) {\n return;\n } else {\n store.isUnstableNoStore = true;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-runtime':\n // unstable_noStore() is a noop in Dynamic I/O.\n return;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n (0, _dynamicrendering.markCurrentScopeAsDynamic)(store, workUnitStore, callingExpression);\n }\n}\n\n//# sourceMappingURL=unstable-no-store.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;AACF,QAAO,eAAe,SAAS,oBAAoB;EAC/C,YAAY;EACZ,KAAK,WAAW;AACZ,UAAO;;EAEd,CAAC;CACF,MAAM;CACN,MAAM;CACN,MAAM;CACN,SAAS,mBAAmB;EACxB,MAAM,oBAAoB;EAC1B,MAAM,QAAQ,0BAA0B,iBAAiB,UAAU;EACnE,MAAM,gBAAgB,8BAA8B,qBAAqB,UAAU;AACnF,MAAI,CAAC,MAID;WACO,MAAM,YACb;OACG;AACH,SAAM,oBAAoB;AAC1B,OAAI,cACA,SAAO,cAAc,MAArB;IACI,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK,oBAED;IACJ,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK,yBACD;IACJ;;AAIR,IAAC,GAAG,kBAAkB,2BAA2B,OAAO,eAAe,kBAAkB"}
@@ -1,113 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_constants } from "../../lib/constants.js";
3
-
4
- //#region node_modules/next/dist/server/web/utils.js
5
- var require_utils = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/server/web/utils.js": ((exports) => {
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- function _export(target, all) {
8
- for (var name in all) Object.defineProperty(target, name, {
9
- enumerable: true,
10
- get: all[name]
11
- });
12
- }
13
- _export(exports, {
14
- fromNodeOutgoingHttpHeaders: function() {
15
- return fromNodeOutgoingHttpHeaders;
16
- },
17
- normalizeNextQueryParam: function() {
18
- return normalizeNextQueryParam;
19
- },
20
- splitCookiesString: function() {
21
- return splitCookiesString;
22
- },
23
- toNodeOutgoingHttpHeaders: function() {
24
- return toNodeOutgoingHttpHeaders;
25
- },
26
- validateURL: function() {
27
- return validateURL;
28
- }
29
- });
30
- const _constants = require_constants();
31
- function fromNodeOutgoingHttpHeaders(nodeHeaders) {
32
- const headers = new Headers();
33
- for (let [key, value] of Object.entries(nodeHeaders)) {
34
- const values = Array.isArray(value) ? value : [value];
35
- for (let v of values) {
36
- if (typeof v === "undefined") continue;
37
- if (typeof v === "number") v = v.toString();
38
- headers.append(key, v);
39
- }
40
- }
41
- return headers;
42
- }
43
- function splitCookiesString(cookiesString) {
44
- var cookiesStrings = [];
45
- var pos = 0;
46
- var start;
47
- var ch;
48
- var lastComma;
49
- var nextStart;
50
- var cookiesSeparatorFound;
51
- function skipWhitespace() {
52
- while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) pos += 1;
53
- return pos < cookiesString.length;
54
- }
55
- function notSpecialChar() {
56
- ch = cookiesString.charAt(pos);
57
- return ch !== "=" && ch !== ";" && ch !== ",";
58
- }
59
- while (pos < cookiesString.length) {
60
- start = pos;
61
- cookiesSeparatorFound = false;
62
- while (skipWhitespace()) {
63
- ch = cookiesString.charAt(pos);
64
- if (ch === ",") {
65
- lastComma = pos;
66
- pos += 1;
67
- skipWhitespace();
68
- nextStart = pos;
69
- while (pos < cookiesString.length && notSpecialChar()) pos += 1;
70
- if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
71
- cookiesSeparatorFound = true;
72
- pos = nextStart;
73
- cookiesStrings.push(cookiesString.substring(start, lastComma));
74
- start = pos;
75
- } else pos = lastComma + 1;
76
- } else pos += 1;
77
- }
78
- if (!cookiesSeparatorFound || pos >= cookiesString.length) cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
79
- }
80
- return cookiesStrings;
81
- }
82
- function toNodeOutgoingHttpHeaders(headers) {
83
- const nodeHeaders = {};
84
- const cookies = [];
85
- if (headers) for (const [key, value] of headers.entries()) if (key.toLowerCase() === "set-cookie") {
86
- cookies.push(...splitCookiesString(value));
87
- nodeHeaders[key] = cookies.length === 1 ? cookies[0] : cookies;
88
- } else nodeHeaders[key] = value;
89
- return nodeHeaders;
90
- }
91
- function validateURL(url) {
92
- try {
93
- return String(new URL(String(url)));
94
- } catch (error) {
95
- throw Object.defineProperty(new Error(`URL is malformed "${String(url)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`, { cause: error }), "__NEXT_ERROR_CODE", {
96
- value: "E61",
97
- enumerable: false,
98
- configurable: true
99
- });
100
- }
101
- }
102
- function normalizeNextQueryParam(key) {
103
- const prefixes = [_constants.NEXT_QUERY_PARAM_PREFIX, _constants.NEXT_INTERCEPTION_MARKER_PREFIX];
104
- for (const prefix of prefixes) if (key !== prefix && key.startsWith(prefix)) return key.substring(prefix.length);
105
- return null;
106
- }
107
- }) });
108
-
109
- //#endregion
110
- export default require_utils();
111
-
112
- export { require_utils };
113
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","names":[],"sources":["../../../../../../node_modules/next/dist/server/web/utils.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n fromNodeOutgoingHttpHeaders: null,\n normalizeNextQueryParam: null,\n splitCookiesString: null,\n toNodeOutgoingHttpHeaders: null,\n validateURL: 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 fromNodeOutgoingHttpHeaders: function() {\n return fromNodeOutgoingHttpHeaders;\n },\n normalizeNextQueryParam: function() {\n return normalizeNextQueryParam;\n },\n splitCookiesString: function() {\n return splitCookiesString;\n },\n toNodeOutgoingHttpHeaders: function() {\n return toNodeOutgoingHttpHeaders;\n },\n validateURL: function() {\n return validateURL;\n }\n});\nconst _constants = require(\"../../lib/constants\");\nfunction fromNodeOutgoingHttpHeaders(nodeHeaders) {\n const headers = new Headers();\n for (let [key, value] of Object.entries(nodeHeaders)){\n const values = Array.isArray(value) ? value : [\n value\n ];\n for (let v of values){\n if (typeof v === 'undefined') continue;\n if (typeof v === 'number') {\n v = v.toString();\n }\n headers.append(key, v);\n }\n }\n return headers;\n}\nfunction splitCookiesString(cookiesString) {\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while(pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))){\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== '=' && ch !== ';' && ch !== ',';\n }\n while(pos < cookiesString.length){\n start = pos;\n cookiesSeparatorFound = false;\n while(skipWhitespace()){\n ch = cookiesString.charAt(pos);\n if (ch === ',') {\n // ',' is a cookie separator if we have later first '=', not ';' or ','\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while(pos < cookiesString.length && notSpecialChar()){\n pos += 1;\n }\n // currently special character\n if (pos < cookiesString.length && cookiesString.charAt(pos) === '=') {\n // we found cookies separator\n cookiesSeparatorFound = true;\n // pos is inside the next cookie, so back up and return it.\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n // in param ',' or param separator ';',\n // we continue from that comma\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\nfunction toNodeOutgoingHttpHeaders(headers) {\n const nodeHeaders = {};\n const cookies = [];\n if (headers) {\n for (const [key, value] of headers.entries()){\n if (key.toLowerCase() === 'set-cookie') {\n // We may have gotten a comma joined string of cookies, or multiple\n // set-cookie headers. We need to merge them into one header array\n // to represent all the cookies.\n cookies.push(...splitCookiesString(value));\n nodeHeaders[key] = cookies.length === 1 ? cookies[0] : cookies;\n } else {\n nodeHeaders[key] = value;\n }\n }\n }\n return nodeHeaders;\n}\nfunction validateURL(url) {\n try {\n return String(new URL(String(url)));\n } catch (error) {\n throw Object.defineProperty(new Error(`URL is malformed \"${String(url)}\". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`, {\n cause: error\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E61\",\n enumerable: false,\n configurable: true\n });\n }\n}\nfunction normalizeNextQueryParam(key) {\n const prefixes = [\n _constants.NEXT_QUERY_PARAM_PREFIX,\n _constants.NEXT_INTERCEPTION_MARKER_PREFIX\n ];\n for (const prefix of prefixes){\n if (key !== prefix && key.startsWith(prefix)) {\n return key.substring(prefix.length);\n }\n }\n return null;\n}\n\n//# sourceMappingURL=utils.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;CAQF,SAAS,QAAQ,QAAQ,KAAK;AAC1B,OAAI,IAAI,QAAQ,IAAI,QAAO,eAAe,QAAQ,MAAM;GACpD,YAAY;GACZ,KAAK,IAAI;GACZ,CAAC;;AAEN,SAAQ,SAAS;EACb,6BAA6B,WAAW;AACpC,UAAO;;EAEX,yBAAyB,WAAW;AAChC,UAAO;;EAEX,oBAAoB,WAAW;AAC3B,UAAO;;EAEX,2BAA2B,WAAW;AAClC,UAAO;;EAEX,aAAa,WAAW;AACpB,UAAO;;EAEd,CAAC;CACF,MAAM;CACN,SAAS,4BAA4B,aAAa;EAC9C,MAAM,UAAU,IAAI,SAAS;AAC7B,OAAK,IAAI,CAAC,KAAK,UAAU,OAAO,QAAQ,YAAY,EAAC;GACjD,MAAM,SAAS,MAAM,QAAQ,MAAM,GAAG,QAAQ,CAC1C,MACH;AACD,QAAK,IAAI,KAAK,QAAO;AACjB,QAAI,OAAO,MAAM,YAAa;AAC9B,QAAI,OAAO,MAAM,SACb,KAAI,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