@faststore/core 2.1.75 → 2.1.76

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 (151) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/build-manifest.json +129 -0
  3. package/.next/cache/.tsbuildinfo +1 -0
  4. package/.next/cache/config.json +7 -0
  5. package/.next/cache/eslint/.cache_1gneedd +1 -0
  6. package/.next/cache/next-server.js.nft.json +1 -0
  7. package/.next/cache/webpack/client-production/0.pack +0 -0
  8. package/.next/cache/webpack/client-production/index.pack +0 -0
  9. package/.next/cache/webpack/server-production/0.pack +0 -0
  10. package/.next/cache/webpack/server-production/index.pack +0 -0
  11. package/.next/export-marker.json +1 -0
  12. package/.next/images-manifest.json +1 -0
  13. package/.next/next-server.js.nft.json +1 -0
  14. package/.next/package.json +1 -0
  15. package/.next/prerender-manifest.json +1 -0
  16. package/.next/react-loadable-manifest.json +44 -0
  17. package/.next/required-server-files.json +1 -0
  18. package/.next/routes-manifest.json +1 -0
  19. package/.next/server/chunks/123.js +58 -0
  20. package/.next/server/chunks/143.js +106 -0
  21. package/.next/server/chunks/183.js +94 -0
  22. package/.next/server/chunks/184.js +61 -0
  23. package/.next/server/chunks/186.js +113 -0
  24. package/.next/server/chunks/247.js +61 -0
  25. package/.next/server/chunks/253.js +509 -0
  26. package/.next/server/chunks/269.js +517 -0
  27. package/.next/server/chunks/287.js +58 -0
  28. package/.next/server/chunks/289.js +239 -0
  29. package/.next/server/chunks/312.js +697 -0
  30. package/.next/server/chunks/350.js +143 -0
  31. package/.next/server/chunks/487.js +9142 -0
  32. package/.next/server/chunks/502.js +626 -0
  33. package/.next/server/chunks/576.js +94 -0
  34. package/.next/server/chunks/597.js +211 -0
  35. package/.next/server/chunks/650.js +9142 -0
  36. package/.next/server/chunks/676.js +32 -0
  37. package/.next/server/chunks/721.js +650 -0
  38. package/.next/server/chunks/74.js +4054 -0
  39. package/.next/server/chunks/81.js +1254 -0
  40. package/.next/server/chunks/825.js +4039 -0
  41. package/.next/server/chunks/854.js +72 -0
  42. package/.next/server/chunks/859.js +959 -0
  43. package/.next/server/chunks/886.js +120 -0
  44. package/.next/server/chunks/907.js +1911 -0
  45. package/.next/server/chunks/98.js +124 -0
  46. package/.next/server/chunks/font-manifest.json +1 -0
  47. package/.next/server/font-manifest.json +1 -0
  48. package/.next/server/middleware-build-manifest.js +1 -0
  49. package/.next/server/middleware-manifest.json +6 -0
  50. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  51. package/.next/server/pages/404.js +386 -0
  52. package/.next/server/pages/404.js.nft.json +1 -0
  53. package/.next/server/pages/500.js +388 -0
  54. package/.next/server/pages/500.js.nft.json +1 -0
  55. package/.next/server/pages/[...slug].js +1005 -0
  56. package/.next/server/pages/[...slug].js.nft.json +1 -0
  57. package/.next/server/pages/[slug]/p.js +2269 -0
  58. package/.next/server/pages/[slug]/p.js.nft.json +1 -0
  59. package/.next/server/pages/_app.js +280 -0
  60. package/.next/server/pages/_app.js.nft.json +1 -0
  61. package/.next/server/pages/_document.js +352 -0
  62. package/.next/server/pages/_document.js.nft.json +1 -0
  63. package/.next/server/pages/_error.js +164 -0
  64. package/.next/server/pages/_error.js.nft.json +1 -0
  65. package/.next/server/pages/account.js +363 -0
  66. package/.next/server/pages/account.js.nft.json +1 -0
  67. package/.next/server/pages/api/graphql.js +365 -0
  68. package/.next/server/pages/api/graphql.js.nft.json +1 -0
  69. package/.next/server/pages/api/preview.js +148 -0
  70. package/.next/server/pages/api/preview.js.nft.json +1 -0
  71. package/.next/server/pages/checkout.js +363 -0
  72. package/.next/server/pages/checkout.js.nft.json +1 -0
  73. package/.next/server/pages/en-US/404.html +81 -0
  74. package/.next/server/pages/en-US/404.json +1 -0
  75. package/.next/server/pages/en-US/500.html +81 -0
  76. package/.next/server/pages/en-US/500.json +1 -0
  77. package/.next/server/pages/en-US/account.html +81 -0
  78. package/.next/server/pages/en-US/account.json +1 -0
  79. package/.next/server/pages/en-US/checkout.html +81 -0
  80. package/.next/server/pages/en-US/checkout.json +1 -0
  81. package/.next/server/pages/en-US/login.html +81 -0
  82. package/.next/server/pages/en-US/login.json +1 -0
  83. package/.next/server/pages/en-US/s.html +81 -0
  84. package/.next/server/pages/en-US/s.json +1 -0
  85. package/.next/server/pages/en-US.html +81 -0
  86. package/.next/server/pages/en-US.json +1 -0
  87. package/.next/server/pages/index.js +439 -0
  88. package/.next/server/pages/index.js.nft.json +1 -0
  89. package/.next/server/pages/login.js +368 -0
  90. package/.next/server/pages/login.js.nft.json +1 -0
  91. package/.next/server/pages/s.js +466 -0
  92. package/.next/server/pages/s.js.nft.json +1 -0
  93. package/.next/server/pages-manifest.json +16 -0
  94. package/.next/server/webpack-api-runtime.js +229 -0
  95. package/.next/server/webpack-runtime.js +229 -0
  96. package/.next/static/chunks/143.dd8a556e6957baa1.js +1 -0
  97. package/.next/static/chunks/209-6e47fc4ac0aa3c95.js +1 -0
  98. package/.next/static/chunks/495.0ecd099878b2a36d.js +1 -0
  99. package/.next/static/chunks/502.b14533723651e5a1.js +1 -0
  100. package/.next/static/chunks/548-6b23e7ad82cd22b9.js +1 -0
  101. package/.next/static/chunks/597.f8d0595b113c70af.js +1 -0
  102. package/.next/static/chunks/64.2f385ef39cd5877d.js +1 -0
  103. package/.next/static/chunks/651.7142f31ce1e052b3.js +1 -0
  104. package/.next/static/chunks/706-27e44adf980c12d5.js +1 -0
  105. package/.next/static/chunks/738-a5ff304828f20cbf.js +1 -0
  106. package/.next/static/chunks/741.52f7fb873418346f.js +1 -0
  107. package/.next/static/chunks/791-5b3d23f5b6100959.js +1 -0
  108. package/.next/static/chunks/98.97381d2021f86cd9.js +1 -0
  109. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +1 -0
  110. package/.next/static/chunks/main-fd466221927468fd.js +1 -0
  111. package/.next/static/chunks/pages/404-14d27e3706f3d2c3.js +1 -0
  112. package/.next/static/chunks/pages/500-250ccf5c9626e451.js +1 -0
  113. package/.next/static/chunks/pages/[...slug]-bcfaf0c5d60b57a0.js +1 -0
  114. package/.next/static/chunks/pages/[slug]/p-d658bb643d6260e0.js +1 -0
  115. package/.next/static/chunks/pages/_app-b913aa15691acb2f.js +1 -0
  116. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +1 -0
  117. package/.next/static/chunks/pages/account-d248acc931146694.js +1 -0
  118. package/.next/static/chunks/pages/checkout-97f6d6f36f041a6f.js +1 -0
  119. package/.next/static/chunks/pages/index-bdbfb082027ed2b7.js +1 -0
  120. package/.next/static/chunks/pages/login-b1bdf30c951bb60d.js +1 -0
  121. package/.next/static/chunks/pages/s-6f66f96321c19c5d.js +1 -0
  122. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +1 -0
  123. package/.next/static/chunks/webpack-6f8f102d8fa95ea0.js +1 -0
  124. package/.next/static/cs67eBCnPSOCetifTWNXq/_buildManifest.js +1 -0
  125. package/.next/static/cs67eBCnPSOCetifTWNXq/_ssgManifest.js +1 -0
  126. package/.next/static/css/20e4a3a45cdd65f4.css +1 -0
  127. package/.next/static/css/527e334fa69cf40a.css +1 -0
  128. package/.next/static/css/6e1a7434f061d0ef.css +1 -0
  129. package/.next/static/css/9e76fef1c9ca89af.css +1 -0
  130. package/.next/static/css/a2eefb25a4608343.css +1 -0
  131. package/.next/static/css/c110411bf3c3f5d1.css +1 -0
  132. package/.next/static/css/cb7d1fcea42fab9c.css +1 -0
  133. package/.next/static/css/dcc281598933766a.css +1 -0
  134. package/.next/static/css/df588bb98c0b0ca6.css +1 -0
  135. package/.next/static/css/e3b039e8f5daf95f.css +1 -0
  136. package/.next/trace +79 -0
  137. package/.turbo/turbo-build.log +3 -3
  138. package/faststore.config.js +1 -1
  139. package/package.json +4 -4
  140. package/public/~partytown/debug/partytown-atomics.js +556 -0
  141. package/public/~partytown/debug/partytown-media.js +374 -0
  142. package/public/~partytown/debug/partytown-sandbox-sw.js +543 -0
  143. package/public/~partytown/debug/partytown-sw.js +59 -0
  144. package/public/~partytown/debug/partytown-ww-atomics.js +1789 -0
  145. package/public/~partytown/debug/partytown-ww-sw.js +1781 -0
  146. package/public/~partytown/debug/partytown.js +72 -0
  147. package/public/~partytown/partytown-atomics.js +2 -0
  148. package/public/~partytown/partytown-media.js +2 -0
  149. package/public/~partytown/partytown-sw.js +2 -0
  150. package/public/~partytown/partytown.js +2 -0
  151. package/src/components/sections/ProductDetails/ProductDetails.tsx +6 -4
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ exports.id = 98;
3
+ exports.ids = [98,143];
4
+ exports.modules = {
5
+
6
+ /***/ 65098:
7
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8
+
9
+ __webpack_require__.r(__webpack_exports__);
10
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11
+ /* harmony export */ "default": () => (/* binding */ sendEvent)
12
+ /* harmony export */ });
13
+ /* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29143);
14
+
15
+ function sendEvent(event) {
16
+ // VTEX RC
17
+ window?.sendrc?.(event.name, event.params); // VTEX Intelligent Search
18
+
19
+ (0,_search__WEBPACK_IMPORTED_MODULE_0__["default"])(event);
20
+ }
21
+
22
+ /***/ }),
23
+
24
+ /***/ 29143:
25
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
26
+
27
+ __webpack_require__.r(__webpack_exports__);
28
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
29
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
30
+ /* harmony export */ });
31
+ /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97183);
32
+ /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_faststore_config__WEBPACK_IMPORTED_MODULE_0__);
33
+ 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; }
34
+
35
+ 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; }
36
+
37
+ 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; }
38
+
39
+ /**
40
+ * More info at: https://www.notion.so/vtexhandbook/Event-API-Documentation-48eee26730cf4d7f80f8fd7262231f84
41
+ */
42
+
43
+ const THIRTY_MINUTES_S = 30 * 60;
44
+ const ONE_YEAR_S = 365 * 24 * 3600;
45
+
46
+ const randomUUID = () => typeof crypto.randomUUID === 'function' ? crypto.randomUUID() : (Math.random() * 1e6).toFixed(0);
47
+
48
+ const createStorage = (key, expiresSecond) => {
49
+ const timelapsed = past => (Date.now() - past) / 1e3;
50
+
51
+ return () => {
52
+ const item = JSON.parse(localStorage.getItem(key) ?? 'null');
53
+ const isExpired = !item || timelapsed(item.createdAt) > expiresSecond;
54
+ const payload = isExpired ? randomUUID() : item.payload;
55
+
56
+ if (isExpired) {
57
+ const data = {
58
+ payload,
59
+ createdAt: Date.now()
60
+ };
61
+ localStorage.setItem(key, JSON.stringify(data));
62
+ }
63
+
64
+ return payload;
65
+ };
66
+ };
67
+
68
+ const user = {
69
+ anonymous: createStorage('vtex.search.anonymous', ONE_YEAR_S),
70
+ session: createStorage('vtex.search.session', THIRTY_MINUTES_S)
71
+ };
72
+
73
+ const sendEvent = options => fetch(`https://sp.vtex.com/event-api/v1/${(_faststore_config__WEBPACK_IMPORTED_MODULE_0___default().api.storeId)}/event`, {
74
+ method: 'POST',
75
+ body: JSON.stringify(_objectSpread(_objectSpread({}, options), {}, {
76
+ userAgent: navigator.userAgent,
77
+ anonymous: user.anonymous(),
78
+ session: user.session()
79
+ })),
80
+ headers: {
81
+ 'content-type': 'application/json'
82
+ }
83
+ });
84
+
85
+ const isFullTextSearch = url => typeof url.searchParams.get('q') === 'string' && /^\/s(\/)?$/g.test(url.pathname);
86
+
87
+ const handleEvent = event => {
88
+ if (event.name !== 'search_select_item') {
89
+ return;
90
+ }
91
+
92
+ const url = new URL(event.params.url);
93
+
94
+ if (!isFullTextSearch(url)) {
95
+ return;
96
+ }
97
+
98
+ for (const item of event.params.items ?? []) {
99
+ const productId = item.item_id ?? item.item_variant;
100
+ const position = item.index;
101
+
102
+ if (productId && position) {
103
+ sendEvent({
104
+ type: 'search.click',
105
+ productId,
106
+ position,
107
+ url: url.href,
108
+ text: url.searchParams.get('q') ?? '<empty>'
109
+ });
110
+ }
111
+ }
112
+ };
113
+
114
+ setInterval(() => sendEvent({
115
+ type: 'session.ping'
116
+ }), 60 * 1e3
117
+ /* One minute */
118
+ );
119
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (handleEvent);
120
+
121
+ /***/ })
122
+
123
+ };
124
+ ;
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-c67a75d1b6f99dc8.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:["static/cs67eBCnPSOCetifTWNXq/_buildManifest.js","static/cs67eBCnPSOCetifTWNXq/_ssgManifest.js"],rootMainFiles:[],pages:{"/":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/chunks/548-6b23e7ad82cd22b9.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/css/20e4a3a45cdd65f4.css","static/chunks/209-6e47fc4ac0aa3c95.js","static/css/a2eefb25a4608343.css","static/chunks/pages/index-bdbfb082027ed2b7.js"],"/404":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/css/df588bb98c0b0ca6.css","static/chunks/pages/404-14d27e3706f3d2c3.js"],"/500":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/css/df588bb98c0b0ca6.css","static/chunks/pages/500-250ccf5c9626e451.js"],"/[...slug]":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/chunks/548-6b23e7ad82cd22b9.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/css/20e4a3a45cdd65f4.css","static/chunks/209-6e47fc4ac0aa3c95.js","static/css/dcc281598933766a.css","static/chunks/791-5b3d23f5b6100959.js","static/css/a2eefb25a4608343.css","static/css/527e334fa69cf40a.css","static/chunks/pages/[...slug]-bcfaf0c5d60b57a0.js"],"/[slug]/p":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/chunks/548-6b23e7ad82cd22b9.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/css/20e4a3a45cdd65f4.css","static/chunks/209-6e47fc4ac0aa3c95.js","static/css/c110411bf3c3f5d1.css","static/chunks/pages/[slug]/p-d658bb643d6260e0.js"],"/_app":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/css/9e76fef1c9ca89af.css","static/chunks/pages/_app-b913aa15691acb2f.js"],"/_error":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/pages/_error-a7a0c1d9bfbb4f38.js"],"/account":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/chunks/pages/account-d248acc931146694.js"],"/checkout":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/chunks/pages/checkout-97f6d6f36f041a6f.js"],"/login":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/css/df588bb98c0b0ca6.css","static/chunks/pages/login-b1bdf30c951bb60d.js"],"/s":["static/chunks/webpack-6f8f102d8fa95ea0.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/738-a5ff304828f20cbf.js","static/css/e3b039e8f5daf95f.css","static/chunks/706-27e44adf980c12d5.js","static/css/dcc281598933766a.css","static/chunks/791-5b3d23f5b6100959.js","static/chunks/pages/s-6f66f96321c19c5d.js"]},ampFirstPages:[]};
@@ -0,0 +1,6 @@
1
+ {
2
+ "sortedMiddleware": [],
3
+ "middleware": {},
4
+ "functions": {},
5
+ "version": 2
6
+ }
@@ -0,0 +1 @@
1
+ self.__REACT_LOADABLE_MANIFEST={"../../node_modules/next/dist/client/index.js -> ../pages/_app":{id:2741,files:["static/chunks/741.52f7fb873418346f.js"]},"../../node_modules/next/dist/client/index.js -> ../pages/_error":{id:9651,files:["static/chunks/651.7142f31ce1e052b3.js"]},"../components/cms/GlobalSections.tsx -> src/components/cart/CartSidebar":{id:2502,files:["static/css/6e1a7434f061d0ef.css","static/chunks/502.b14533723651e5a1.js"]},"../components/cms/GlobalSections.tsx -> src/components/region/RegionModal":{id:1597,files:["static/css/cb7d1fcea42fab9c.css","static/chunks/597.f8d0595b113c70af.js"]},"../components/search/SearchInput/SearchInput.tsx -> src/components/search/SearchDropdown":{id:495,files:["static/chunks/495.0ecd099878b2a36d.js"]},"../components/sections/ProductGallery/Overrides.tsx -> src/components/search/Filter/FilterSlider":{id:4256,files:[]},"../components/ui/ProductGallery/ProductGallery.tsx -> ./ProductGalleryPage":{id:1064,files:["static/chunks/64.2f385ef39cd5877d.js"]}};
@@ -0,0 +1,386 @@
1
+ "use strict";
2
+ (() => {
3
+ var exports = {};
4
+ exports.id = 197;
5
+ exports.ids = [197];
6
+ exports.modules = {
7
+
8
+ /***/ 69206:
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 next_seo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16641);
18
+ /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_seo__WEBPACK_IMPORTED_MODULE_0__);
19
+ /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71853);
20
+ /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);
21
+ /* harmony import */ var src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4074);
22
+ /* harmony import */ var _faststore_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25045);
23
+ /* harmony import */ var src_components_sections_EmptyState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11186);
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_2__]);
27
+ src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__ = (__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
+
42
+ const useErrorState = () => {
43
+ const router = (0,next_router__WEBPACK_IMPORTED_MODULE_1__.useRouter)();
44
+ const {
45
+ from
46
+ } = router.query;
47
+ const {
48
+ pathname
49
+ } = router;
50
+ return {
51
+ fromUrl: from ?? pathname
52
+ };
53
+ };
54
+
55
+ function Page({
56
+ globalSections
57
+ }) {
58
+ const {
59
+ fromUrl
60
+ } = useErrorState();
61
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP, _objectSpread(_objectSpread({}, globalSections), {}, {
62
+ children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx(next_seo__WEBPACK_IMPORTED_MODULE_0__.NextSeo, {
63
+ noindex: true,
64
+ nofollow: true
65
+ }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx(src_components_sections_EmptyState__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
66
+ title: "Not Found: 404",
67
+ titleIcon: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx(_faststore_ui__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
68
+ name: "CircleWavyWarning",
69
+ width: 56,
70
+ height: 56,
71
+ weight: "thin"
72
+ }),
73
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("p", {
74
+ children: ["This app could not find url ", fromUrl]
75
+ })
76
+ })]
77
+ }));
78
+ }
79
+
80
+ const getStaticProps = async ({
81
+ previewData
82
+ }) => {
83
+ const globalSections = await (0,src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__/* .getGlobalSectionsData */ .Tc)(previewData);
84
+ return {
85
+ props: {
86
+ globalSections
87
+ }
88
+ };
89
+ };
90
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Page);
91
+ __webpack_async_result__();
92
+ } catch(e) { __webpack_async_result__(e); } });
93
+
94
+ /***/ }),
95
+
96
+ /***/ 16676:
97
+ /***/ ((module) => {
98
+
99
+ module.exports = require("@vtex/client-cms");
100
+
101
+ /***/ }),
102
+
103
+ /***/ 83430:
104
+ /***/ ((module) => {
105
+
106
+ module.exports = require("idb-keyval");
107
+
108
+ /***/ }),
109
+
110
+ /***/ 16641:
111
+ /***/ ((module) => {
112
+
113
+ module.exports = require("next-seo");
114
+
115
+ /***/ }),
116
+
117
+ /***/ 3280:
118
+ /***/ ((module) => {
119
+
120
+ module.exports = require("next/dist/shared/lib/app-router-context.js");
121
+
122
+ /***/ }),
123
+
124
+ /***/ 92796:
125
+ /***/ ((module) => {
126
+
127
+ module.exports = require("next/dist/shared/lib/head-manager-context.js");
128
+
129
+ /***/ }),
130
+
131
+ /***/ 94957:
132
+ /***/ ((module) => {
133
+
134
+ module.exports = require("next/dist/shared/lib/head.js");
135
+
136
+ /***/ }),
137
+
138
+ /***/ 3539:
139
+ /***/ ((module) => {
140
+
141
+ module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
142
+
143
+ /***/ }),
144
+
145
+ /***/ 34014:
146
+ /***/ ((module) => {
147
+
148
+ module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
149
+
150
+ /***/ }),
151
+
152
+ /***/ 64486:
153
+ /***/ ((module) => {
154
+
155
+ module.exports = require("next/dist/shared/lib/image-blur-svg.js");
156
+
157
+ /***/ }),
158
+
159
+ /***/ 50744:
160
+ /***/ ((module) => {
161
+
162
+ module.exports = require("next/dist/shared/lib/image-config-context.js");
163
+
164
+ /***/ }),
165
+
166
+ /***/ 35843:
167
+ /***/ ((module) => {
168
+
169
+ module.exports = require("next/dist/shared/lib/image-config.js");
170
+
171
+ /***/ }),
172
+
173
+ /***/ 78524:
174
+ /***/ ((module) => {
175
+
176
+ module.exports = require("next/dist/shared/lib/is-plain-object.js");
177
+
178
+ /***/ }),
179
+
180
+ /***/ 78020:
181
+ /***/ ((module) => {
182
+
183
+ module.exports = require("next/dist/shared/lib/mitt.js");
184
+
185
+ /***/ }),
186
+
187
+ /***/ 64406:
188
+ /***/ ((module) => {
189
+
190
+ module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
191
+
192
+ /***/ }),
193
+
194
+ /***/ 24964:
195
+ /***/ ((module) => {
196
+
197
+ module.exports = require("next/dist/shared/lib/router-context.js");
198
+
199
+ /***/ }),
200
+
201
+ /***/ 93431:
202
+ /***/ ((module) => {
203
+
204
+ module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
205
+
206
+ /***/ }),
207
+
208
+ /***/ 11751:
209
+ /***/ ((module) => {
210
+
211
+ module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
212
+
213
+ /***/ }),
214
+
215
+ /***/ 46220:
216
+ /***/ ((module) => {
217
+
218
+ module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
219
+
220
+ /***/ }),
221
+
222
+ /***/ 10299:
223
+ /***/ ((module) => {
224
+
225
+ module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
226
+
227
+ /***/ }),
228
+
229
+ /***/ 23938:
230
+ /***/ ((module) => {
231
+
232
+ module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
233
+
234
+ /***/ }),
235
+
236
+ /***/ 29565:
237
+ /***/ ((module) => {
238
+
239
+ module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
240
+
241
+ /***/ }),
242
+
243
+ /***/ 35789:
244
+ /***/ ((module) => {
245
+
246
+ module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
247
+
248
+ /***/ }),
249
+
250
+ /***/ 1897:
251
+ /***/ ((module) => {
252
+
253
+ module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
254
+
255
+ /***/ }),
256
+
257
+ /***/ 1428:
258
+ /***/ ((module) => {
259
+
260
+ module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
261
+
262
+ /***/ }),
263
+
264
+ /***/ 28854:
265
+ /***/ ((module) => {
266
+
267
+ module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
268
+
269
+ /***/ }),
270
+
271
+ /***/ 91292:
272
+ /***/ ((module) => {
273
+
274
+ module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
275
+
276
+ /***/ }),
277
+
278
+ /***/ 34567:
279
+ /***/ ((module) => {
280
+
281
+ module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
282
+
283
+ /***/ }),
284
+
285
+ /***/ 80979:
286
+ /***/ ((module) => {
287
+
288
+ module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
289
+
290
+ /***/ }),
291
+
292
+ /***/ 93297:
293
+ /***/ ((module) => {
294
+
295
+ module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
296
+
297
+ /***/ }),
298
+
299
+ /***/ 36052:
300
+ /***/ ((module) => {
301
+
302
+ module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
303
+
304
+ /***/ }),
305
+
306
+ /***/ 84226:
307
+ /***/ ((module) => {
308
+
309
+ module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
310
+
311
+ /***/ }),
312
+
313
+ /***/ 95052:
314
+ /***/ ((module) => {
315
+
316
+ module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
317
+
318
+ /***/ }),
319
+
320
+ /***/ 59232:
321
+ /***/ ((module) => {
322
+
323
+ module.exports = require("next/dist/shared/lib/utils.js");
324
+
325
+ /***/ }),
326
+
327
+ /***/ 71853:
328
+ /***/ ((module) => {
329
+
330
+ module.exports = require("next/router");
331
+
332
+ /***/ }),
333
+
334
+ /***/ 16689:
335
+ /***/ ((module) => {
336
+
337
+ module.exports = require("react");
338
+
339
+ /***/ }),
340
+
341
+ /***/ 66405:
342
+ /***/ ((module) => {
343
+
344
+ module.exports = require("react-dom");
345
+
346
+ /***/ }),
347
+
348
+ /***/ 20997:
349
+ /***/ ((module) => {
350
+
351
+ module.exports = require("react/jsx-runtime");
352
+
353
+ /***/ }),
354
+
355
+ /***/ 73823:
356
+ /***/ ((module) => {
357
+
358
+ module.exports = require("tabbable");
359
+
360
+ /***/ }),
361
+
362
+ /***/ 97564:
363
+ /***/ ((module) => {
364
+
365
+ module.exports = import("chalk");;
366
+
367
+ /***/ }),
368
+
369
+ /***/ 15941:
370
+ /***/ ((module) => {
371
+
372
+ module.exports = import("swr");;
373
+
374
+ /***/ })
375
+
376
+ };
377
+ ;
378
+
379
+ // load runtime
380
+ var __webpack_require__ = require("../webpack-runtime.js");
381
+ __webpack_require__.C(exports);
382
+ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
383
+ var __webpack_exports__ = __webpack_require__.X(0, [676,825,183,886,74,186], () => (__webpack_exec__(69206)));
384
+ module.exports = __webpack_exports__;
385
+
386
+ })();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../webpack-runtime.js","../chunks/676.js","../chunks/825.js","../chunks/183.js","../chunks/886.js","../chunks/74.js","../chunks/186.js","../chunks/287.js","../chunks/597.js","../chunks/247.js","../chunks/123.js","../chunks/502.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/_extends.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/@swc/helpers/lib/_interop_require_default.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"]}