@faststore/core 2.0.94-alpha.0 → 2.0.96-alpha.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 (163) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +10 -0
  3. package/package.json +4 -4
  4. package/src/Layout.tsx +3 -5
  5. package/src/components/common/Navbar/NavLinks.tsx +2 -2
  6. package/src/components/region/RegionBar/RegionBar.tsx +19 -0
  7. package/src/components/region/RegionBar/index.ts +1 -0
  8. package/src/components/region/RegionButton/index.ts +1 -0
  9. package/src/components/region/RegionInput/index.ts +1 -0
  10. package/src/components/{regionalization/RegionalizationModal → region/RegionModal}/RegionalizationModalContent.tsx +2 -2
  11. package/.next/BUILD_ID +0 -1
  12. package/.next/build-manifest.json +0 -101
  13. package/.next/cache/.tsbuildinfo +0 -1
  14. package/.next/cache/config.json +0 -7
  15. package/.next/cache/eslint/.cache_1gneedd +0 -1
  16. package/.next/cache/next-server.js.nft.json +0 -1
  17. package/.next/cache/webpack/client-production/0.pack +0 -0
  18. package/.next/cache/webpack/client-production/index.pack +0 -0
  19. package/.next/cache/webpack/server-production/0.pack +0 -0
  20. package/.next/cache/webpack/server-production/index.pack +0 -0
  21. package/.next/export-marker.json +0 -1
  22. package/.next/images-manifest.json +0 -1
  23. package/.next/next-server.js.nft.json +0 -1
  24. package/.next/package.json +0 -1
  25. package/.next/prerender-manifest.json +0 -1
  26. package/.next/react-loadable-manifest.json +0 -44
  27. package/.next/required-server-files.json +0 -1
  28. package/.next/routes-manifest.json +0 -1
  29. package/.next/server/chunks/104.js +0 -196
  30. package/.next/server/chunks/143.js +0 -106
  31. package/.next/server/chunks/154.js +0 -206
  32. package/.next/server/chunks/183.js +0 -72
  33. package/.next/server/chunks/247.js +0 -61
  34. package/.next/server/chunks/264.js +0 -67
  35. package/.next/server/chunks/280.js +0 -417
  36. package/.next/server/chunks/287.js +0 -79
  37. package/.next/server/chunks/312.js +0 -684
  38. package/.next/server/chunks/317.js +0 -125
  39. package/.next/server/chunks/350.js +0 -120
  40. package/.next/server/chunks/371.js +0 -1484
  41. package/.next/server/chunks/377.js +0 -82
  42. package/.next/server/chunks/394.js +0 -3801
  43. package/.next/server/chunks/439.js +0 -175
  44. package/.next/server/chunks/444.js +0 -464
  45. package/.next/server/chunks/465.js +0 -91
  46. package/.next/server/chunks/576.js +0 -72
  47. package/.next/server/chunks/608.js +0 -515
  48. package/.next/server/chunks/650.js +0 -216
  49. package/.next/server/chunks/664.js +0 -124
  50. package/.next/server/chunks/676.js +0 -32
  51. package/.next/server/chunks/746.js +0 -237
  52. package/.next/server/chunks/777.js +0 -708
  53. package/.next/server/chunks/854.js +0 -72
  54. package/.next/server/chunks/859.js +0 -959
  55. package/.next/server/chunks/872.js +0 -378
  56. package/.next/server/chunks/881.js +0 -320
  57. package/.next/server/chunks/898.js +0 -240
  58. package/.next/server/chunks/914.js +0 -96
  59. package/.next/server/chunks/953.js +0 -674
  60. package/.next/server/chunks/98.js +0 -266
  61. package/.next/server/chunks/992.js +0 -570
  62. package/.next/server/chunks/font-manifest.json +0 -1
  63. package/.next/server/font-manifest.json +0 -1
  64. package/.next/server/middleware-build-manifest.js +0 -1
  65. package/.next/server/middleware-manifest.json +0 -6
  66. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  67. package/.next/server/pages/404.js.nft.json +0 -1
  68. package/.next/server/pages/500.js.nft.json +0 -1
  69. package/.next/server/pages/[...slug].js +0 -633
  70. package/.next/server/pages/[...slug].js.nft.json +0 -1
  71. package/.next/server/pages/[slug]/p.js +0 -2390
  72. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  73. package/.next/server/pages/_app.js +0 -2479
  74. package/.next/server/pages/_app.js.nft.json +0 -1
  75. package/.next/server/pages/_document.js +0 -304
  76. package/.next/server/pages/_document.js.nft.json +0 -1
  77. package/.next/server/pages/_error.js +0 -164
  78. package/.next/server/pages/_error.js.nft.json +0 -1
  79. package/.next/server/pages/account.js.nft.json +0 -1
  80. package/.next/server/pages/api/graphql.js +0 -259
  81. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  82. package/.next/server/pages/api/preview.js +0 -118
  83. package/.next/server/pages/api/preview.js.nft.json +0 -1
  84. package/.next/server/pages/checkout.js.nft.json +0 -1
  85. package/.next/server/pages/en-US/404.html +0 -81
  86. package/.next/server/pages/en-US/500.html +0 -81
  87. package/.next/server/pages/en-US/account.html +0 -81
  88. package/.next/server/pages/en-US/checkout.html +0 -81
  89. package/.next/server/pages/en-US/login.html +0 -81
  90. package/.next/server/pages/en-US/s.html +0 -81
  91. package/.next/server/pages/en-US.html +0 -81
  92. package/.next/server/pages/en-US.json +0 -1
  93. package/.next/server/pages/index.js +0 -428
  94. package/.next/server/pages/index.js.nft.json +0 -1
  95. package/.next/server/pages/login.js.nft.json +0 -1
  96. package/.next/server/pages/s.js.nft.json +0 -1
  97. package/.next/server/pages-manifest.json +0 -16
  98. package/.next/server/webpack-api-runtime.js +0 -229
  99. package/.next/server/webpack-runtime.js +0 -229
  100. package/.next/static/Q_3OvAUEhHamcW74BgoTz/_buildManifest.js +0 -1
  101. package/.next/static/Q_3OvAUEhHamcW74BgoTz/_ssgManifest.js +0 -1
  102. package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
  103. package/.next/static/chunks/251-5059c71d8e624b60.js +0 -1
  104. package/.next/static/chunks/291.1b3f1a62d6e853d1.js +0 -1
  105. package/.next/static/chunks/351-a4e28d64f48c5269.js +0 -1
  106. package/.next/static/chunks/608.59e69b83f35d9c44.js +0 -1
  107. package/.next/static/chunks/626-d631f2cb747ef569.js +0 -1
  108. package/.next/static/chunks/650.807852d1c36bfe44.js +0 -1
  109. package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
  110. package/.next/static/chunks/686.41582b9e75eaba89.js +0 -1
  111. package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
  112. package/.next/static/chunks/781-7df372b5b56e3f96.js +0 -1
  113. package/.next/static/chunks/843.f55ad79a8fd4f87c.js +0 -1
  114. package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
  115. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
  116. package/.next/static/chunks/main-9746772201fe3ac1.js +0 -1
  117. package/.next/static/chunks/pages/404-ba608a2a9f0c420a.js +0 -1
  118. package/.next/static/chunks/pages/500-910883c20541d9ce.js +0 -1
  119. package/.next/static/chunks/pages/[...slug]-4b2bea89ec5c8fbe.js +0 -1
  120. package/.next/static/chunks/pages/[slug]/p-224f79f726f9cdf2.js +0 -1
  121. package/.next/static/chunks/pages/_app-cb63bf0df22334d4.js +0 -1
  122. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
  123. package/.next/static/chunks/pages/account-f19102933e6fd84c.js +0 -1
  124. package/.next/static/chunks/pages/checkout-f8cb7cb22225ef9d.js +0 -1
  125. package/.next/static/chunks/pages/index-eabe9d42a172b52b.js +0 -1
  126. package/.next/static/chunks/pages/login-0b9ea80d9fa0f91b.js +0 -1
  127. package/.next/static/chunks/pages/s-b49bdf6af37376b6.js +0 -1
  128. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  129. package/.next/static/chunks/webpack-e5e72ef1b7012b99.js +0 -1
  130. package/.next/static/css/43d61b402f41569b.css +0 -1
  131. package/.next/static/css/4899c3cc356704f9.css +0 -1
  132. package/.next/static/css/6507cb48401e73a4.css +0 -1
  133. package/.next/static/css/8ea129ea90e49e98.css +0 -1
  134. package/.next/static/css/b2f16bd4b93e0aca.css +0 -1
  135. package/.next/static/css/bd743407c8049677.css +0 -1
  136. package/.next/static/css/be07d9d103c191cd.css +0 -1
  137. package/.next/static/css/db63ea05e98cb7e8.css +0 -1
  138. package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
  139. package/.next/trace +0 -63
  140. package/public/~partytown/debug/partytown-atomics.js +0 -556
  141. package/public/~partytown/debug/partytown-media.js +0 -374
  142. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  143. package/public/~partytown/debug/partytown-sw.js +0 -59
  144. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  145. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  146. package/public/~partytown/debug/partytown.js +0 -72
  147. package/public/~partytown/partytown-atomics.js +0 -2
  148. package/public/~partytown/partytown-media.js +0 -2
  149. package/public/~partytown/partytown-sw.js +0 -2
  150. package/public/~partytown/partytown.js +0 -2
  151. package/src/components/regionalization/RegionalizationBar/RegionalizationBar.stories.mdx +0 -116
  152. package/src/components/regionalization/RegionalizationBar/RegionalizationBar.tsx +0 -40
  153. package/src/components/regionalization/RegionalizationBar/index.ts +0 -1
  154. package/src/components/regionalization/RegionalizationBar/regionalization-bar.module.scss +0 -60
  155. package/src/components/regionalization/RegionalizationButton/index.ts +0 -1
  156. package/src/components/regionalization/RegionalizationInput/index.ts +0 -1
  157. /package/src/components/{regionalization/Regionalization.stories.mdx → region/Region.stories.mdx} +0 -0
  158. /package/src/components/{regionalization/RegionalizationButton/RegionalizationButton.tsx → region/RegionButton/RegionButton.tsx} +0 -0
  159. /package/src/components/{regionalization/RegionalizationInput/RegionalizationInput.tsx → region/RegionInput/RegionInput.tsx} +0 -0
  160. /package/src/components/{regionalization/RegionalizationModal → region/RegionModal}/RegionalizationModal.stories.mdx +0 -0
  161. /package/src/components/{regionalization/RegionalizationModal → region/RegionModal}/RegionalizationModal.tsx +0 -0
  162. /package/src/components/{regionalization/RegionalizationModal → region/RegionModal}/index.ts +0 -0
  163. /package/src/components/{regionalization/RegionalizationModal → region/RegionModal}/regionalization-modal-body.module.scss +0 -0
@@ -1,633 +0,0 @@
1
- (() => {
2
- var exports = {};
3
- exports.id = 330;
4
- exports.ids = [330];
5
- exports.modules = {
6
-
7
- /***/ 8570:
8
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
-
10
- "use strict";
11
-
12
- // EXPORTS
13
- __webpack_require__.d(__webpack_exports__, {
14
- "Z": () => (/* reexport */ ScrollToTopButton_ScrollToTopButton)
15
- });
16
-
17
- // EXTERNAL MODULE: ../components/dist/atoms/Button/Button.js + 1 modules
18
- var Button = __webpack_require__(4842);
19
- // EXTERNAL MODULE: ./src/components/ui/Icon/index.ts + 1 modules
20
- var Icon = __webpack_require__(2478);
21
- // EXTERNAL MODULE: ./src/components/sections/Section/index.ts + 1 modules
22
- var Section = __webpack_require__(8879);
23
- // EXTERNAL MODULE: ./src/components/sections/ScrollToTopButton/scroll-to-top-button.module.scss
24
- var scroll_to_top_button_module = __webpack_require__(9856);
25
- var scroll_to_top_button_module_default = /*#__PURE__*/__webpack_require__.n(scroll_to_top_button_module);
26
- // EXTERNAL MODULE: external "react/jsx-runtime"
27
- var jsx_runtime_ = __webpack_require__(997);
28
- ;// CONCATENATED MODULE: ./src/components/sections/ScrollToTopButton/ScrollToTopButton.tsx
29
-
30
-
31
-
32
-
33
-
34
-
35
- function ScrollToTopButton({
36
- text = 'Scroll to top',
37
- icon = /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
38
- name: "CaretUp",
39
- width: 16,
40
- height: 16,
41
- weight: "bold"
42
- }),
43
- iconPosition = 'left'
44
- }) {
45
- return /*#__PURE__*/jsx_runtime_.jsx(Section/* default */.Z, {
46
- className: (scroll_to_top_button_module_default()).fsScrollToTopButton,
47
- children: /*#__PURE__*/jsx_runtime_.jsx(Button/* default */.Z, {
48
- variant: "secondary",
49
- icon: icon,
50
- iconPosition: iconPosition,
51
- onClick: () => window.scrollTo(0, 0),
52
- children: text
53
- })
54
- });
55
- }
56
-
57
- /* harmony default export */ const ScrollToTopButton_ScrollToTopButton = (ScrollToTopButton);
58
- ;// CONCATENATED MODULE: ./src/components/sections/ScrollToTopButton/index.ts
59
-
60
-
61
- /***/ }),
62
-
63
- /***/ 1875:
64
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
65
-
66
- "use strict";
67
- __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
68
- __webpack_require__.r(__webpack_exports__);
69
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
70
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
71
- /* harmony export */ "getStaticPaths": () => (/* binding */ getStaticPaths),
72
- /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
73
- /* harmony export */ });
74
- /* harmony import */ var _faststore_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5363);
75
- /* harmony import */ var _faststore_api__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_faststore_api__WEBPACK_IMPORTED_MODULE_0__);
76
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(2888);
77
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(3364);
78
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(6321);
79
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6641);
80
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_seo__WEBPACK_IMPORTED_MODULE_1__);
81
- /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1853);
82
- /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_2__);
83
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6689);
84
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
85
- /* harmony import */ var src_components_sections_Breadcrumb__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3769);
86
- /* harmony import */ var src_components_sections_Hero__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1317);
87
- /* harmony import */ var src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2618);
88
- /* harmony import */ var src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7104);
89
- /* harmony import */ var src_components_sections_ScrollToTopButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8570);
90
- /* harmony import */ var src_components_ui_Icon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(2478);
91
- /* harmony import */ var src_constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(8459);
92
- /* harmony import */ var src_sdk_search_state__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1523);
93
- /* harmony import */ var src_sdk_tests_mark__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(2541);
94
- /* harmony import */ var src_server__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9685);
95
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(7183);
96
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_faststore_config__WEBPACK_IMPORTED_MODULE_13__);
97
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(997);
98
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__);
99
- var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__, src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__, src_server__WEBPACK_IMPORTED_MODULE_12__]);
100
- ([src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__, src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__, src_server__WEBPACK_IMPORTED_MODULE_12__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
101
- 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; }
102
-
103
- 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; }
104
-
105
- 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; }
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
- const useSearchParams = ({
127
- collection
128
- }) => {
129
- const selectedFacets = collection?.meta.selectedFacets;
130
- const {
131
- asPath
132
- } = (0,next_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();
133
- const hrefState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
134
- const newState = (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_15__/* .parse */ .Q)(new URL(asPath, 'http://localhost')); // In case we are in an incomplete url
135
-
136
- if (newState.selectedFacets.length === 0) {
137
- newState.selectedFacets = selectedFacets;
138
- }
139
-
140
- return (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)(newState).href;
141
- }, [asPath, selectedFacets]);
142
- return (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_15__/* .parse */ .Q)(new URL(hrefState)), [hrefState]);
143
- };
144
-
145
- function Page(props) {
146
- const {
147
- collection
148
- } = props;
149
- const router = (0,next_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();
150
- const applySearchState = (0,src_sdk_search_state__WEBPACK_IMPORTED_MODULE_10__/* .useApplySearchState */ .j)();
151
- const searchParams = useSearchParams(props);
152
- const {
153
- page
154
- } = searchParams;
155
- const title = collection?.seo.title ?? (_faststore_config__WEBPACK_IMPORTED_MODULE_13___default().seo.title);
156
- const description = collection?.seo.description ?? (_faststore_config__WEBPACK_IMPORTED_MODULE_13___default().seo.title);
157
- const pageQuery = page !== 0 ? `?page=${page}` : '';
158
- const [pathname] = router.asPath.split('?');
159
- const canonical = `${(_faststore_config__WEBPACK_IMPORTED_MODULE_13___default().storeUrl)}${pathname}${pageQuery}`;
160
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(_faststore_sdk__WEBPACK_IMPORTED_MODULE_17__/* .Provider */ .z, _objectSpread(_objectSpread({
161
- onChange: applySearchState,
162
- itemsPerPage: src_constants__WEBPACK_IMPORTED_MODULE_18__/* .ITEMS_PER_PAGE */ .g
163
- }, searchParams), {}, {
164
- children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(next_seo__WEBPACK_IMPORTED_MODULE_1__.NextSeo, {
165
- title: title,
166
- description: description,
167
- titleTemplate: (_faststore_config__WEBPACK_IMPORTED_MODULE_13___default().seo.titleTemplate),
168
- canonical: canonical,
169
- openGraph: {
170
- type: 'website',
171
- title,
172
- description
173
- }
174
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(next_seo__WEBPACK_IMPORTED_MODULE_1__.BreadcrumbJsonLd, {
175
- itemListElements: collection?.breadcrumbList.itemListElement ?? []
176
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(src_components_sections_Breadcrumb__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
177
- breadcrumbList: collection?.breadcrumbList.itemListElement,
178
- name: title
179
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(src_components_sections_Hero__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
180
- variant: "secondary",
181
- title: title,
182
- subtitle: `All the amazing ${title} from the brands we partner with.`,
183
- imageSrc: "https://storeframework.vtexassets.com/arquivos/ids/190897/Photo.jpg",
184
- imageAlt: "Quest 2 Controller on a table",
185
- icon: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(src_components_ui_Icon__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
186
- name: "Headphones",
187
- width: 48,
188
- height: 48
189
- })
190
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
191
- title: title
192
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
193
- first: src_constants__WEBPACK_IMPORTED_MODULE_18__/* .ITEMS_PER_SECTION */ .K,
194
- sort: "score_desc",
195
- title: "You might also like",
196
- withDivisor: true
197
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx(src_components_sections_ScrollToTopButton__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {})]
198
- }));
199
- }
200
-
201
- const query = "ServerCollectionPageQuery";
202
- const getStaticProps = async ({
203
- params
204
- }) => {
205
- const {
206
- data,
207
- errors = []
208
- } = await (0,src_server__WEBPACK_IMPORTED_MODULE_12__/* .execute */ .h)({
209
- variables: {
210
- slug: params?.slug.join('/') ?? ''
211
- },
212
- operationName: query
213
- });
214
- const notFound = errors.find(_faststore_api__WEBPACK_IMPORTED_MODULE_0__.isNotFoundError);
215
-
216
- if (notFound) {
217
- return {
218
- notFound: true
219
- };
220
- }
221
-
222
- if (errors.length > 0) {
223
- throw errors[0];
224
- }
225
-
226
- return {
227
- props: data
228
- };
229
- };
230
- const getStaticPaths = async () => {
231
- return {
232
- paths: [],
233
- fallback: 'blocking'
234
- };
235
- };
236
- Page.displayName = 'Page';
237
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,src_sdk_tests_mark__WEBPACK_IMPORTED_MODULE_11__/* .mark */ .B)(Page));
238
- __webpack_async_result__();
239
- } catch(e) { __webpack_async_result__(e); } });
240
-
241
- /***/ }),
242
-
243
- /***/ 9856:
244
- /***/ ((module) => {
245
-
246
- // Exports
247
- module.exports = {
248
- "fs-scroll-to-top-button": "scroll-to-top-button_fs-scroll-to-top-button__KrFt7",
249
- "fsScrollToTopButton": "scroll-to-top-button_fs-scroll-to-top-button__KrFt7"
250
- };
251
-
252
-
253
- /***/ }),
254
-
255
- /***/ 5363:
256
- /***/ ((module) => {
257
-
258
- "use strict";
259
- module.exports = require("@faststore/api");
260
-
261
- /***/ }),
262
-
263
- /***/ 5490:
264
- /***/ ((module) => {
265
-
266
- "use strict";
267
- module.exports = require("@faststore/graphql-utils");
268
-
269
- /***/ }),
270
-
271
- /***/ 7343:
272
- /***/ ((module) => {
273
-
274
- "use strict";
275
- module.exports = require("graphql");
276
-
277
- /***/ }),
278
-
279
- /***/ 3430:
280
- /***/ ((module) => {
281
-
282
- "use strict";
283
- module.exports = require("idb-keyval");
284
-
285
- /***/ }),
286
-
287
- /***/ 6641:
288
- /***/ ((module) => {
289
-
290
- "use strict";
291
- module.exports = require("next-seo");
292
-
293
- /***/ }),
294
-
295
- /***/ 3280:
296
- /***/ ((module) => {
297
-
298
- "use strict";
299
- module.exports = require("next/dist/shared/lib/app-router-context.js");
300
-
301
- /***/ }),
302
-
303
- /***/ 2796:
304
- /***/ ((module) => {
305
-
306
- "use strict";
307
- module.exports = require("next/dist/shared/lib/head-manager-context.js");
308
-
309
- /***/ }),
310
-
311
- /***/ 5429:
312
- /***/ ((module) => {
313
-
314
- "use strict";
315
- module.exports = require("next/dist/shared/lib/head.js");
316
-
317
- /***/ }),
318
-
319
- /***/ 3539:
320
- /***/ ((module) => {
321
-
322
- "use strict";
323
- module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
324
-
325
- /***/ }),
326
-
327
- /***/ 4014:
328
- /***/ ((module) => {
329
-
330
- "use strict";
331
- module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
332
-
333
- /***/ }),
334
-
335
- /***/ 4486:
336
- /***/ ((module) => {
337
-
338
- "use strict";
339
- module.exports = require("next/dist/shared/lib/image-blur-svg.js");
340
-
341
- /***/ }),
342
-
343
- /***/ 744:
344
- /***/ ((module) => {
345
-
346
- "use strict";
347
- module.exports = require("next/dist/shared/lib/image-config-context.js");
348
-
349
- /***/ }),
350
-
351
- /***/ 5843:
352
- /***/ ((module) => {
353
-
354
- "use strict";
355
- module.exports = require("next/dist/shared/lib/image-config.js");
356
-
357
- /***/ }),
358
-
359
- /***/ 8524:
360
- /***/ ((module) => {
361
-
362
- "use strict";
363
- module.exports = require("next/dist/shared/lib/is-plain-object.js");
364
-
365
- /***/ }),
366
-
367
- /***/ 8020:
368
- /***/ ((module) => {
369
-
370
- "use strict";
371
- module.exports = require("next/dist/shared/lib/mitt.js");
372
-
373
- /***/ }),
374
-
375
- /***/ 4406:
376
- /***/ ((module) => {
377
-
378
- "use strict";
379
- module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
380
-
381
- /***/ }),
382
-
383
- /***/ 4964:
384
- /***/ ((module) => {
385
-
386
- "use strict";
387
- module.exports = require("next/dist/shared/lib/router-context.js");
388
-
389
- /***/ }),
390
-
391
- /***/ 3431:
392
- /***/ ((module) => {
393
-
394
- "use strict";
395
- module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
396
-
397
- /***/ }),
398
-
399
- /***/ 1751:
400
- /***/ ((module) => {
401
-
402
- "use strict";
403
- module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
404
-
405
- /***/ }),
406
-
407
- /***/ 6220:
408
- /***/ ((module) => {
409
-
410
- "use strict";
411
- module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
412
-
413
- /***/ }),
414
-
415
- /***/ 299:
416
- /***/ ((module) => {
417
-
418
- "use strict";
419
- module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
420
-
421
- /***/ }),
422
-
423
- /***/ 3938:
424
- /***/ ((module) => {
425
-
426
- "use strict";
427
- module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
428
-
429
- /***/ }),
430
-
431
- /***/ 9565:
432
- /***/ ((module) => {
433
-
434
- "use strict";
435
- module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
436
-
437
- /***/ }),
438
-
439
- /***/ 5789:
440
- /***/ ((module) => {
441
-
442
- "use strict";
443
- module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
444
-
445
- /***/ }),
446
-
447
- /***/ 1897:
448
- /***/ ((module) => {
449
-
450
- "use strict";
451
- module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
452
-
453
- /***/ }),
454
-
455
- /***/ 1428:
456
- /***/ ((module) => {
457
-
458
- "use strict";
459
- module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
460
-
461
- /***/ }),
462
-
463
- /***/ 8854:
464
- /***/ ((module) => {
465
-
466
- "use strict";
467
- module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
468
-
469
- /***/ }),
470
-
471
- /***/ 1292:
472
- /***/ ((module) => {
473
-
474
- "use strict";
475
- module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
476
-
477
- /***/ }),
478
-
479
- /***/ 4567:
480
- /***/ ((module) => {
481
-
482
- "use strict";
483
- module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
484
-
485
- /***/ }),
486
-
487
- /***/ 979:
488
- /***/ ((module) => {
489
-
490
- "use strict";
491
- module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
492
-
493
- /***/ }),
494
-
495
- /***/ 3297:
496
- /***/ ((module) => {
497
-
498
- "use strict";
499
- module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
500
-
501
- /***/ }),
502
-
503
- /***/ 6052:
504
- /***/ ((module) => {
505
-
506
- "use strict";
507
- module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
508
-
509
- /***/ }),
510
-
511
- /***/ 4226:
512
- /***/ ((module) => {
513
-
514
- "use strict";
515
- module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
516
-
517
- /***/ }),
518
-
519
- /***/ 5052:
520
- /***/ ((module) => {
521
-
522
- "use strict";
523
- module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
524
-
525
- /***/ }),
526
-
527
- /***/ 9232:
528
- /***/ ((module) => {
529
-
530
- "use strict";
531
- module.exports = require("next/dist/shared/lib/utils.js");
532
-
533
- /***/ }),
534
-
535
- /***/ 1853:
536
- /***/ ((module) => {
537
-
538
- "use strict";
539
- module.exports = require("next/router");
540
-
541
- /***/ }),
542
-
543
- /***/ 6689:
544
- /***/ ((module) => {
545
-
546
- "use strict";
547
- module.exports = require("react");
548
-
549
- /***/ }),
550
-
551
- /***/ 6405:
552
- /***/ ((module) => {
553
-
554
- "use strict";
555
- module.exports = require("react-dom");
556
-
557
- /***/ }),
558
-
559
- /***/ 9785:
560
- /***/ ((module) => {
561
-
562
- "use strict";
563
- module.exports = require("react-intersection-observer");
564
-
565
- /***/ }),
566
-
567
- /***/ 997:
568
- /***/ ((module) => {
569
-
570
- "use strict";
571
- module.exports = require("react/jsx-runtime");
572
-
573
- /***/ }),
574
-
575
- /***/ 3823:
576
- /***/ ((module) => {
577
-
578
- "use strict";
579
- module.exports = require("tabbable");
580
-
581
- /***/ }),
582
-
583
- /***/ 9664:
584
- /***/ ((module) => {
585
-
586
- "use strict";
587
- module.exports = import("@envelop/core");;
588
-
589
- /***/ }),
590
-
591
- /***/ 7886:
592
- /***/ ((module) => {
593
-
594
- "use strict";
595
- module.exports = import("@envelop/graphql-jit");;
596
-
597
- /***/ }),
598
-
599
- /***/ 4656:
600
- /***/ ((module) => {
601
-
602
- "use strict";
603
- module.exports = import("@envelop/parser-cache");;
604
-
605
- /***/ }),
606
-
607
- /***/ 6093:
608
- /***/ ((module) => {
609
-
610
- "use strict";
611
- module.exports = import("@envelop/validation-cache");;
612
-
613
- /***/ }),
614
-
615
- /***/ 5941:
616
- /***/ ((module) => {
617
-
618
- "use strict";
619
- module.exports = import("swr");;
620
-
621
- /***/ })
622
-
623
- };
624
- ;
625
-
626
- // load runtime
627
- var __webpack_require__ = require("../webpack-runtime.js");
628
- __webpack_require__.C(exports);
629
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
630
- var __webpack_exports__ = __webpack_require__.X(0, [608,676,394,264,898,183,154,247,777,287,854,280,881,439,444,98,104,371,350,317], () => (__webpack_exec__(1875)));
631
- module.exports = __webpack_exports__;
632
-
633
- })();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../webpack-runtime.js","../chunks/608.js","../chunks/676.js","../chunks/394.js","../chunks/264.js","../chunks/898.js","../chunks/183.js","../chunks/154.js","../chunks/247.js","../chunks/777.js","../chunks/287.js","../chunks/854.js","../chunks/280.js","../chunks/881.js","../chunks/439.js","../chunks/444.js","../chunks/98.js","../chunks/104.js","../chunks/371.js","../chunks/350.js","../chunks/317.js","../chunks/872.js","../chunks/746.js","../../package.json","../../../node_modules/@faststore/graphql-utils/package.json","../../../node_modules/@faststore/api/package.json","../../../node_modules/next/dist/shared/lib/head.js","../../../node_modules/next/dist/shared/lib/is-plain-object.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/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/@faststore/graphql-utils/dist/index.js","../../../node_modules/@faststore/api/dist/index.js","../../../node_modules/next/router.js","../../../node_modules/next/package.json","../../../node_modules/next/dist/client/remove-base-path.js","../../../node_modules/@faststore/api/dist/api.cjs.production.min.js","../../../node_modules/@faststore/api/dist/api.cjs.development.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/router.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/shared/lib/router/utils/index.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","../../../@generated/graphql/persisted.json","../../../src/components/sections/ProductGallery/ProductGalleryPage.tsx","../../../package.json"]}