@faststore/core 2.1.98 → 2.1.99

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 (164) hide show
  1. package/.turbo/turbo-build.log +10 -4
  2. package/.turbo/turbo-lint.log +2 -0
  3. package/cms/faststore/sections.json +12 -0
  4. package/package.json +8 -8
  5. package/src/components/product/NotAvailableButton/NotAvailableButton.tsx +13 -0
  6. package/src/components/product/NotAvailableButton/index.ts +1 -0
  7. package/src/components/sections/ProductDetails/Overrides.tsx +4 -0
  8. package/src/components/sections/ProductDetails/ProductDetails.tsx +21 -15
  9. package/src/components/ui/ProductDetails/ProductDetailsSettings.tsx +88 -68
  10. package/src/pages/api/graphql.ts +0 -4
  11. package/src/server/index.ts +2 -5
  12. package/src/typings/overrides.ts +1 -0
  13. package/.next/BUILD_ID +0 -1
  14. package/.next/build-manifest.json +0 -129
  15. package/.next/cache/.tsbuildinfo +0 -1
  16. package/.next/cache/eslint/.cache_abdhua +0 -1
  17. package/.next/cache/next-server.js.nft.json +0 -1
  18. package/.next/cache/webpack/client-production/0.pack +0 -0
  19. package/.next/cache/webpack/client-production/index.pack +0 -0
  20. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  21. package/.next/cache/webpack/server-production/0.pack +0 -0
  22. package/.next/cache/webpack/server-production/index.pack +0 -0
  23. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  24. package/.next/export-marker.json +0 -1
  25. package/.next/images-manifest.json +0 -1
  26. package/.next/next-server.js.nft.json +0 -1
  27. package/.next/package.json +0 -1
  28. package/.next/prerender-manifest.json +0 -1
  29. package/.next/react-loadable-manifest.json +0 -44
  30. package/.next/required-server-files.json +0 -1
  31. package/.next/routes-manifest.json +0 -1
  32. package/.next/server/chunks/177.js +0 -120
  33. package/.next/server/chunks/183.js +0 -95
  34. package/.next/server/chunks/184.js +0 -61
  35. package/.next/server/chunks/186.js +0 -113
  36. package/.next/server/chunks/289.js +0 -239
  37. package/.next/server/chunks/312.js +0 -697
  38. package/.next/server/chunks/350.js +0 -144
  39. package/.next/server/chunks/483.js +0 -650
  40. package/.next/server/chunks/487.js +0 -9142
  41. package/.next/server/chunks/53.js +0 -61
  42. package/.next/server/chunks/530.js +0 -648
  43. package/.next/server/chunks/574.js +0 -145
  44. package/.next/server/chunks/576.js +0 -95
  45. package/.next/server/chunks/650.js +0 -9142
  46. package/.next/server/chunks/676.js +0 -32
  47. package/.next/server/chunks/693.js +0 -58
  48. package/.next/server/chunks/71.js +0 -1252
  49. package/.next/server/chunks/74.js +0 -4087
  50. package/.next/server/chunks/753.js +0 -509
  51. package/.next/server/chunks/779.js +0 -58
  52. package/.next/server/chunks/825.js +0 -4039
  53. package/.next/server/chunks/854.js +0 -72
  54. package/.next/server/chunks/859.js +0 -959
  55. package/.next/server/chunks/907.js +0 -1933
  56. package/.next/server/chunks/933.js +0 -521
  57. package/.next/server/chunks/98.js +0 -163
  58. package/.next/server/chunks/988.js +0 -211
  59. package/.next/server/chunks/font-manifest.json +0 -1
  60. package/.next/server/font-manifest.json +0 -1
  61. package/.next/server/middleware-build-manifest.js +0 -1
  62. package/.next/server/middleware-manifest.json +0 -6
  63. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  64. package/.next/server/pages/404.js +0 -386
  65. package/.next/server/pages/404.js.nft.json +0 -1
  66. package/.next/server/pages/500.js +0 -388
  67. package/.next/server/pages/500.js.nft.json +0 -1
  68. package/.next/server/pages/[...slug].js +0 -1006
  69. package/.next/server/pages/[...slug].js.nft.json +0 -1
  70. package/.next/server/pages/[slug]/p.js +0 -2289
  71. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  72. package/.next/server/pages/_app.js +0 -280
  73. package/.next/server/pages/_app.js.nft.json +0 -1
  74. package/.next/server/pages/_document.js +0 -374
  75. package/.next/server/pages/_document.js.nft.json +0 -1
  76. package/.next/server/pages/_error.js +0 -164
  77. package/.next/server/pages/_error.js.nft.json +0 -1
  78. package/.next/server/pages/account.js +0 -363
  79. package/.next/server/pages/account.js.nft.json +0 -1
  80. package/.next/server/pages/api/graphql.js +0 -371
  81. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  82. package/.next/server/pages/api/health/live.js +0 -31
  83. package/.next/server/pages/api/health/live.js.nft.json +0 -1
  84. package/.next/server/pages/api/health/ready.js +0 -31
  85. package/.next/server/pages/api/health/ready.js.nft.json +0 -1
  86. package/.next/server/pages/api/preview.js +0 -148
  87. package/.next/server/pages/api/preview.js.nft.json +0 -1
  88. package/.next/server/pages/checkout.js +0 -363
  89. package/.next/server/pages/checkout.js.nft.json +0 -1
  90. package/.next/server/pages/en-US/404.html +0 -81
  91. package/.next/server/pages/en-US/404.json +0 -1
  92. package/.next/server/pages/en-US/500.html +0 -81
  93. package/.next/server/pages/en-US/500.json +0 -1
  94. package/.next/server/pages/en-US/account.html +0 -81
  95. package/.next/server/pages/en-US/account.json +0 -1
  96. package/.next/server/pages/en-US/checkout.html +0 -81
  97. package/.next/server/pages/en-US/checkout.json +0 -1
  98. package/.next/server/pages/en-US/login.html +0 -81
  99. package/.next/server/pages/en-US/login.json +0 -1
  100. package/.next/server/pages/en-US/s.html +0 -81
  101. package/.next/server/pages/en-US/s.json +0 -1
  102. package/.next/server/pages/en-US.html +0 -81
  103. package/.next/server/pages/en-US.json +0 -1
  104. package/.next/server/pages/index.js +0 -439
  105. package/.next/server/pages/index.js.nft.json +0 -1
  106. package/.next/server/pages/login.js +0 -368
  107. package/.next/server/pages/login.js.nft.json +0 -1
  108. package/.next/server/pages/s.js +0 -466
  109. package/.next/server/pages/s.js.nft.json +0 -1
  110. package/.next/server/pages-manifest.json +0 -18
  111. package/.next/server/webpack-api-runtime.js +0 -229
  112. package/.next/server/webpack-runtime.js +0 -229
  113. package/.next/static/6S44gOq9FRmyEQybDi2Yj/_buildManifest.js +0 -1
  114. package/.next/static/6S44gOq9FRmyEQybDi2Yj/_ssgManifest.js +0 -1
  115. package/.next/static/chunks/148.582eaa81293ee470.js +0 -1
  116. package/.next/static/chunks/238-c6f8d07b669a1ec2.js +0 -1
  117. package/.next/static/chunks/243-fcf2a6c4691476a2.js +0 -1
  118. package/.next/static/chunks/530.2650771daa532c02.js +0 -1
  119. package/.next/static/chunks/548-19272804c3f0ff0d.js +0 -1
  120. package/.next/static/chunks/574.70612be06fd1365f.js +0 -1
  121. package/.next/static/chunks/603-7b26158c40b8a3e5.js +0 -1
  122. package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
  123. package/.next/static/chunks/709.7bc5a25ce30abda6.js +0 -1
  124. package/.next/static/chunks/738-a5ff304828f20cbf.js +0 -1
  125. package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
  126. package/.next/static/chunks/98.40c7e17d9de4eb8f.js +0 -1
  127. package/.next/static/chunks/988.afda042dd9ba11d1.js +0 -1
  128. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
  129. package/.next/static/chunks/main-fd466221927468fd.js +0 -1
  130. package/.next/static/chunks/pages/404-af78f7cd1d3c1f60.js +0 -1
  131. package/.next/static/chunks/pages/500-f6346ca5f9dc4fef.js +0 -1
  132. package/.next/static/chunks/pages/[...slug]-ca533c74c22cb787.js +0 -1
  133. package/.next/static/chunks/pages/[slug]/p-78699b0be521b30b.js +0 -1
  134. package/.next/static/chunks/pages/_app-40cff0982559d0b8.js +0 -1
  135. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
  136. package/.next/static/chunks/pages/account-05bd79fb78365e88.js +0 -1
  137. package/.next/static/chunks/pages/checkout-c973786e68f25a39.js +0 -1
  138. package/.next/static/chunks/pages/index-d521ce4f4e2b89a6.js +0 -1
  139. package/.next/static/chunks/pages/login-8deb9243376b6aa1.js +0 -1
  140. package/.next/static/chunks/pages/s-0935734d9ac3acb8.js +0 -1
  141. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  142. package/.next/static/chunks/webpack-34aa83cb25f3f792.js +0 -1
  143. package/.next/static/css/527e334fa69cf40a.css +0 -1
  144. package/.next/static/css/6e1a7434f061d0ef.css +0 -1
  145. package/.next/static/css/7ca374e5534a3f68.css +0 -1
  146. package/.next/static/css/9e76fef1c9ca89af.css +0 -1
  147. package/.next/static/css/a2eefb25a4608343.css +0 -1
  148. package/.next/static/css/cb7d1fcea42fab9c.css +0 -1
  149. package/.next/static/css/d5a515091be5db82.css +0 -1
  150. package/.next/static/css/df588bb98c0b0ca6.css +0 -1
  151. package/.next/static/css/e3b039e8f5daf95f.css +0 -1
  152. package/.next/static/css/f0e2d1b8832e935d.css +0 -1
  153. package/.next/trace +0 -80
  154. package/public/~partytown/debug/partytown-atomics.js +0 -556
  155. package/public/~partytown/debug/partytown-media.js +0 -374
  156. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  157. package/public/~partytown/debug/partytown-sw.js +0 -59
  158. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  159. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  160. package/public/~partytown/debug/partytown.js +0 -72
  161. package/public/~partytown/partytown-atomics.js +0 -2
  162. package/public/~partytown/partytown-media.js +0 -2
  163. package/public/~partytown/partytown-sw.js +0 -2
  164. package/public/~partytown/partytown.js +0 -2
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../webpack-api-runtime.js","../../chunks/650.js","../../chunks/576.js","../../../package.json","../../../../@generated/graphql/persisted.json","../../../../package.json"]}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- (() => {
3
- var exports = {};
4
- exports.id = 909;
5
- exports.ids = [909];
6
- exports.modules = {
7
-
8
- /***/ 33998:
9
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
-
11
- __webpack_require__.r(__webpack_exports__);
12
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
- /* harmony export */ "default": () => (/* binding */ handler)
14
- /* harmony export */ });
15
- function handler(_req, res) {
16
- res.status(200).send('Ok');
17
- }
18
-
19
- /***/ })
20
-
21
- };
22
- ;
23
-
24
- // load runtime
25
- var __webpack_require__ = require("../../../webpack-api-runtime.js");
26
- __webpack_require__.C(exports);
27
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
28
- var __webpack_exports__ = (__webpack_exec__(33998));
29
- module.exports = __webpack_exports__;
30
-
31
- })();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../webpack-api-runtime.js","../../../../package.json"]}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- (() => {
3
- var exports = {};
4
- exports.id = 662;
5
- exports.ids = [662];
6
- exports.modules = {
7
-
8
- /***/ 67297:
9
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
-
11
- __webpack_require__.r(__webpack_exports__);
12
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
- /* harmony export */ "default": () => (/* binding */ handler)
14
- /* harmony export */ });
15
- function handler(_req, res) {
16
- res.status(200).send('Ok');
17
- }
18
-
19
- /***/ })
20
-
21
- };
22
- ;
23
-
24
- // load runtime
25
- var __webpack_require__ = require("../../../webpack-api-runtime.js");
26
- __webpack_require__.C(exports);
27
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
28
- var __webpack_exports__ = (__webpack_exec__(67297));
29
- module.exports = __webpack_exports__;
30
-
31
- })();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../../webpack-api-runtime.js","../../../../package.json"]}
@@ -1,148 +0,0 @@
1
- "use strict";
2
- (() => {
3
- var exports = {};
4
- exports.id = 157;
5
- exports.ids = [157];
6
- exports.modules = {
7
-
8
- /***/ 62239:
9
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
-
11
- // ESM COMPAT FLAG
12
- __webpack_require__.r(__webpack_exports__);
13
-
14
- // EXPORTS
15
- __webpack_require__.d(__webpack_exports__, {
16
- "default": () => (/* binding */ preview)
17
- });
18
-
19
- ;// CONCATENATED MODULE: external "@vtex/client-cms"
20
- const client_cms_namespaceObject = require("@vtex/client-cms");
21
- var client_cms_default = /*#__PURE__*/__webpack_require__.n(client_cms_namespaceObject);
22
- // EXTERNAL MODULE: ./faststore.config.js
23
- var faststore_config = __webpack_require__(45576);
24
- var faststore_config_default = /*#__PURE__*/__webpack_require__.n(faststore_config);
25
- ;// CONCATENATED MODULE: ./src/sdk/error/MultipleContentError/MultipleContentError.ts
26
- class MultipleContentError_MultipleContentError extends Error {
27
- constructor(options) {
28
- super(`Multiple content defined on the CMS for content type ${options.contentType}. Remove duplicated content before proceeding. Context: ${JSON.stringify(options, null, 2)}`);
29
- }
30
-
31
- }
32
- ;// CONCATENATED MODULE: ./src/sdk/error/MultipleContentError/index.ts
33
-
34
- ;// CONCATENATED MODULE: ./src/sdk/error/MissingContentError/MissingContentError.ts
35
- class MissingContentError_MissingContentError extends Error {
36
- constructor(options) {
37
- super(`Missing content on the CMS for content type ${options.contentType}. Add content before proceeding. Context: ${JSON.stringify(options, null, 2)}`);
38
- }
39
-
40
- }
41
- ;// CONCATENATED MODULE: ./src/sdk/error/MissingContentError/index.ts
42
-
43
- ;// CONCATENATED MODULE: ./src/server/cms.ts
44
-
45
-
46
-
47
-
48
- const clientCMS = new (client_cms_default())({
49
- workspace: (faststore_config_default()).api.workspace,
50
- tenant: (faststore_config_default()).api.storeId
51
- });
52
-
53
- const isLocator = x => typeof x.contentType === 'string' && (typeof x.releaseId === 'string' || typeof x.documentId === 'string');
54
-
55
- const getPage = async options => {
56
- const result = await (isLocator(options) ? clientCMS.getCMSPage(options).then(page => ({
57
- data: [page]
58
- })) : clientCMS.getCMSPagesByContentType(options.contentType, options.filters));
59
- const pages = result.data;
60
-
61
- if (!pages[0]) {
62
- throw new MissingContentError(options);
63
- }
64
-
65
- if (pages.length !== 1) {
66
- throw new MultipleContentError(options);
67
- }
68
-
69
- return pages[0];
70
- };
71
- ;// CONCATENATED MODULE: ./src/pages/api/preview.ts
72
-
73
-
74
-
75
- class StatusError extends Error {
76
- constructor(message, status) {
77
- super(message);
78
- this.status = status;
79
- }
80
-
81
- }
82
-
83
- const pickParam = (req, parameter) => {
84
- const maybeParam = req.query[parameter];
85
-
86
- if (typeof maybeParam !== 'string') {
87
- throw new StatusError(`Parameter ${parameter} missing from querystring`, 400);
88
- }
89
-
90
- return maybeParam;
91
- }; // TODO: Improve security by disabling CMS preview in production
92
-
93
-
94
- const handler = async (req, res) => {
95
- try {
96
- const locator = {
97
- contentType: pickParam(req, 'contentType'),
98
- documentId: pickParam(req, 'documentId'),
99
- versionId: pickParam(req, 'versionId')
100
- }; // Fetch CMS to check if the provided `locator` exists
101
-
102
- const page = await clientCMS.getCMSPage(locator); // If the content doesn't exist prevent preview mode from being enabled
103
-
104
- if (!page) {
105
- throw new StatusError(`Content NotFound for ${JSON.stringify(locator, null, 2)}`, 404);
106
- } // Enable Preview Mode by setting the cookies
107
-
108
-
109
- res.setPreviewData(locator, {
110
- maxAge: 3600
111
- }); // Redirect to the path from the fetched locator
112
-
113
- if (faststore_config.previewRedirects[locator.contentType]) {
114
- res.redirect(faststore_config.previewRedirects[locator.contentType]);
115
- return;
116
- }
117
-
118
- if (locator.contentType === 'landingPage') {
119
- res.redirect(`${page.settings?.seo.slug}`);
120
- return;
121
- }
122
-
123
- res.redirect('/');
124
- } catch (error) {
125
- if (error instanceof StatusError) {
126
- res.status(error.status).end(error.message);
127
- return;
128
- }
129
-
130
- throw error;
131
- }
132
- };
133
-
134
- /* harmony default export */ const preview = (handler);
135
-
136
- /***/ })
137
-
138
- };
139
- ;
140
-
141
- // load runtime
142
- var __webpack_require__ = require("../../webpack-api-runtime.js");
143
- __webpack_require__.C(exports);
144
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
145
- var __webpack_exports__ = __webpack_require__.X(0, [576], () => (__webpack_exec__(62239)));
146
- module.exports = __webpack_exports__;
147
-
148
- })();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../../webpack-api-runtime.js","../../chunks/576.js","../../../package.json","../../../../package.json"]}
@@ -1,363 +0,0 @@
1
- "use strict";
2
- (() => {
3
- var exports = {};
4
- exports.id = 222;
5
- exports.ids = [222];
6
- exports.modules = {
7
-
8
- /***/ 7200:
9
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
10
-
11
- __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
12
- __webpack_require__.r(__webpack_exports__);
13
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
15
- /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
16
- /* harmony export */ });
17
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16689);
18
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
19
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16641);
20
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_seo__WEBPACK_IMPORTED_MODULE_1__);
21
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97183);
22
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_faststore_config__WEBPACK_IMPORTED_MODULE_2__);
23
- /* harmony import */ var src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4074);
24
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20997);
25
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__);
26
- var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_3__]);
27
- src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_3__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
28
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
29
-
30
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
31
-
32
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
- function Page({
42
- globalSections
43
- }) {
44
- (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
45
- window.location.href = (_faststore_config__WEBPACK_IMPORTED_MODULE_2___default().checkoutUrl);
46
- }, []);
47
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP, _objectSpread(_objectSpread({}, globalSections), {}, {
48
- children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx(next_seo__WEBPACK_IMPORTED_MODULE_1__.NextSeo, {
49
- noindex: true,
50
- nofollow: true
51
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx("div", {
52
- children: "loading..."
53
- })]
54
- }));
55
- }
56
-
57
- const getStaticProps = async ({
58
- previewData
59
- }) => {
60
- const globalSections = await (0,src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_3__/* .getGlobalSectionsData */ .Tc)(previewData);
61
- return {
62
- props: {
63
- globalSections
64
- }
65
- };
66
- };
67
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Page);
68
- __webpack_async_result__();
69
- } catch(e) { __webpack_async_result__(e); } });
70
-
71
- /***/ }),
72
-
73
- /***/ 16676:
74
- /***/ ((module) => {
75
-
76
- module.exports = require("@vtex/client-cms");
77
-
78
- /***/ }),
79
-
80
- /***/ 83430:
81
- /***/ ((module) => {
82
-
83
- module.exports = require("idb-keyval");
84
-
85
- /***/ }),
86
-
87
- /***/ 16641:
88
- /***/ ((module) => {
89
-
90
- module.exports = require("next-seo");
91
-
92
- /***/ }),
93
-
94
- /***/ 3280:
95
- /***/ ((module) => {
96
-
97
- module.exports = require("next/dist/shared/lib/app-router-context.js");
98
-
99
- /***/ }),
100
-
101
- /***/ 92796:
102
- /***/ ((module) => {
103
-
104
- module.exports = require("next/dist/shared/lib/head-manager-context.js");
105
-
106
- /***/ }),
107
-
108
- /***/ 94957:
109
- /***/ ((module) => {
110
-
111
- module.exports = require("next/dist/shared/lib/head.js");
112
-
113
- /***/ }),
114
-
115
- /***/ 3539:
116
- /***/ ((module) => {
117
-
118
- module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
119
-
120
- /***/ }),
121
-
122
- /***/ 34014:
123
- /***/ ((module) => {
124
-
125
- module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
126
-
127
- /***/ }),
128
-
129
- /***/ 64486:
130
- /***/ ((module) => {
131
-
132
- module.exports = require("next/dist/shared/lib/image-blur-svg.js");
133
-
134
- /***/ }),
135
-
136
- /***/ 50744:
137
- /***/ ((module) => {
138
-
139
- module.exports = require("next/dist/shared/lib/image-config-context.js");
140
-
141
- /***/ }),
142
-
143
- /***/ 35843:
144
- /***/ ((module) => {
145
-
146
- module.exports = require("next/dist/shared/lib/image-config.js");
147
-
148
- /***/ }),
149
-
150
- /***/ 78524:
151
- /***/ ((module) => {
152
-
153
- module.exports = require("next/dist/shared/lib/is-plain-object.js");
154
-
155
- /***/ }),
156
-
157
- /***/ 78020:
158
- /***/ ((module) => {
159
-
160
- module.exports = require("next/dist/shared/lib/mitt.js");
161
-
162
- /***/ }),
163
-
164
- /***/ 64406:
165
- /***/ ((module) => {
166
-
167
- module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
168
-
169
- /***/ }),
170
-
171
- /***/ 24964:
172
- /***/ ((module) => {
173
-
174
- module.exports = require("next/dist/shared/lib/router-context.js");
175
-
176
- /***/ }),
177
-
178
- /***/ 93431:
179
- /***/ ((module) => {
180
-
181
- module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
182
-
183
- /***/ }),
184
-
185
- /***/ 11751:
186
- /***/ ((module) => {
187
-
188
- module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
189
-
190
- /***/ }),
191
-
192
- /***/ 46220:
193
- /***/ ((module) => {
194
-
195
- module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
196
-
197
- /***/ }),
198
-
199
- /***/ 10299:
200
- /***/ ((module) => {
201
-
202
- module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
203
-
204
- /***/ }),
205
-
206
- /***/ 23938:
207
- /***/ ((module) => {
208
-
209
- module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
210
-
211
- /***/ }),
212
-
213
- /***/ 29565:
214
- /***/ ((module) => {
215
-
216
- module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
217
-
218
- /***/ }),
219
-
220
- /***/ 35789:
221
- /***/ ((module) => {
222
-
223
- module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
224
-
225
- /***/ }),
226
-
227
- /***/ 1897:
228
- /***/ ((module) => {
229
-
230
- module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
231
-
232
- /***/ }),
233
-
234
- /***/ 1428:
235
- /***/ ((module) => {
236
-
237
- module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
238
-
239
- /***/ }),
240
-
241
- /***/ 28854:
242
- /***/ ((module) => {
243
-
244
- module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
245
-
246
- /***/ }),
247
-
248
- /***/ 91292:
249
- /***/ ((module) => {
250
-
251
- module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
252
-
253
- /***/ }),
254
-
255
- /***/ 34567:
256
- /***/ ((module) => {
257
-
258
- module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
259
-
260
- /***/ }),
261
-
262
- /***/ 80979:
263
- /***/ ((module) => {
264
-
265
- module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
266
-
267
- /***/ }),
268
-
269
- /***/ 93297:
270
- /***/ ((module) => {
271
-
272
- module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
273
-
274
- /***/ }),
275
-
276
- /***/ 36052:
277
- /***/ ((module) => {
278
-
279
- module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
280
-
281
- /***/ }),
282
-
283
- /***/ 84226:
284
- /***/ ((module) => {
285
-
286
- module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
287
-
288
- /***/ }),
289
-
290
- /***/ 95052:
291
- /***/ ((module) => {
292
-
293
- module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
294
-
295
- /***/ }),
296
-
297
- /***/ 59232:
298
- /***/ ((module) => {
299
-
300
- module.exports = require("next/dist/shared/lib/utils.js");
301
-
302
- /***/ }),
303
-
304
- /***/ 71853:
305
- /***/ ((module) => {
306
-
307
- module.exports = require("next/router");
308
-
309
- /***/ }),
310
-
311
- /***/ 16689:
312
- /***/ ((module) => {
313
-
314
- module.exports = require("react");
315
-
316
- /***/ }),
317
-
318
- /***/ 66405:
319
- /***/ ((module) => {
320
-
321
- module.exports = require("react-dom");
322
-
323
- /***/ }),
324
-
325
- /***/ 20997:
326
- /***/ ((module) => {
327
-
328
- module.exports = require("react/jsx-runtime");
329
-
330
- /***/ }),
331
-
332
- /***/ 73823:
333
- /***/ ((module) => {
334
-
335
- module.exports = require("tabbable");
336
-
337
- /***/ }),
338
-
339
- /***/ 97564:
340
- /***/ ((module) => {
341
-
342
- module.exports = import("chalk");;
343
-
344
- /***/ }),
345
-
346
- /***/ 15941:
347
- /***/ ((module) => {
348
-
349
- module.exports = import("swr");;
350
-
351
- /***/ })
352
-
353
- };
354
- ;
355
-
356
- // load runtime
357
- var __webpack_require__ = require("../webpack-runtime.js");
358
- __webpack_require__.C(exports);
359
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
360
- var __webpack_exports__ = __webpack_require__.X(0, [676,825,183,177,74], () => (__webpack_exec__(7200)));
361
- module.exports = __webpack_exports__;
362
-
363
- })();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../webpack-runtime.js","../chunks/676.js","../chunks/825.js","../chunks/183.js","../chunks/177.js","../chunks/74.js","../chunks/779.js","../chunks/988.js","../chunks/53.js","../chunks/693.js","../chunks/530.js","../chunks/854.js","../chunks/312.js","../../package.json","../../../node_modules/chalk/package.json","../../../node_modules/next/dist/shared/lib/head.js","../../../node_modules/next/dist/shared/lib/app-router-context.js","../../../node_modules/next/dist/shared/lib/head-manager-context.js","../../../node_modules/next/dist/shared/lib/image-blur-svg.js","../../../node_modules/next/dist/shared/lib/image-config-context.js","../../../node_modules/next/dist/shared/lib/image-config.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/mitt.js","../../../node_modules/next/dist/shared/lib/router-context.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js","../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../../../node_modules/next/dist/shared/lib/router/utils/add-locale.js","../../../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/compare-states.js","../../../node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","../../../node_modules/next/dist/shared/lib/router/utils/format-url.js","../../../node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js","../../../node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-path.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","../../../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/querystring.js","../../../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","../../../node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js","../../../node_modules/next/dist/shared/lib/router/utils/route-matcher.js","../../../node_modules/next/dist/shared/lib/router/utils/route-regex.js","../../../node_modules/chalk/source/index.js","../../../node_modules/next/router.js","../../../node_modules/next/package.json","../../../node_modules/chalk/source/utilities.js","../../../node_modules/next/dist/client/remove-base-path.js","../../../node_modules/chalk/source/vendor/ansi-styles/index.js","../../../node_modules/chalk/source/vendor/supports-color/index.js","../../../node_modules/next/dist/client/router.js","../../../node_modules/next/dist/client/has-base-path.js","../../../node_modules/next/dist/shared/lib/side-effect.js","../../../node_modules/next/dist/shared/lib/amp-context.js","../../../node_modules/next/dist/shared/lib/amp-mode.js","../../../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../../../node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","../../../node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/path-match.js","../../../node_modules/next/dist/shared/lib/router/utils/prepare-destination.js","../../../node_modules/next/dist/shared/lib/escape-regexp.js","../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../node_modules/next/dist/shared/lib/router/router.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/client/normalize-trailing-slash.js","../../../node_modules/next/dist/client/route-loader.js","../../../node_modules/next/dist/client/script.js","../../../node_modules/next/dist/client/detect-domain-locale.js","../../../node_modules/next/dist/client/add-locale.js","../../../node_modules/next/dist/client/remove-locale.js","../../../node_modules/next/dist/client/add-base-path.js","../../../node_modules/next/dist/client/trusted-types.js","../../../node_modules/next/dist/client/request-idle-callback.js","../../../node_modules/next/dist/client/head-manager.js","../../../node_modules/@swc/helpers/lib/_interop_require_default.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/@swc/helpers/lib/_extends.js","../../../node_modules/@swc/helpers/lib/_interop_require_wildcard.js","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../node_modules/next/dist/client/with-router.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-url.js","../../../node_modules/@swc/helpers/lib/_object_without_properties_loose.js","../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../node_modules/next/dist/compiled/path-to-regexp/index.js","../../../node_modules/next/dist/compiled/react-is/package.json","../../../node_modules/next/dist/compiled/react-is/index.js","../../../node_modules/next/dist/compiled/react-is/cjs/react-is.production.min.js","../../../node_modules/next/dist/compiled/react-is/cjs/react-is.development.js","../../../src/components/region/RegionModal/index.ts","../../../src/components/cart/CartSidebar/index.ts","../../../src/components/search/SearchDropdown/index.ts","../../../package.json"]}