@faststore/core 2.0.123-alpha.0 → 2.0.128-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 (172) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/build-manifest.json +123 -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 +52 -0
  17. package/.next/required-server-files.json +1 -0
  18. package/.next/routes-manifest.json +1 -0
  19. package/.next/server/chunks/104.js +673 -0
  20. package/.next/server/chunks/120.js +435 -0
  21. package/.next/server/chunks/123.js +58 -0
  22. package/.next/server/chunks/143.js +106 -0
  23. package/.next/server/chunks/154.js +206 -0
  24. package/.next/server/chunks/183.js +80 -0
  25. package/.next/server/chunks/247.js +61 -0
  26. package/.next/server/chunks/254.js +159 -0
  27. package/.next/server/chunks/256.js +1787 -0
  28. package/.next/server/chunks/280.js +322 -0
  29. package/.next/server/chunks/287.js +58 -0
  30. package/.next/server/chunks/312.js +674 -0
  31. package/.next/server/chunks/336.js +820 -0
  32. package/.next/server/chunks/350.js +142 -0
  33. package/.next/server/chunks/398.js +132 -0
  34. package/.next/server/chunks/401.js +7241 -0
  35. package/.next/server/chunks/431.js +7241 -0
  36. package/.next/server/chunks/502.js +603 -0
  37. package/.next/server/chunks/554.js +264 -0
  38. package/.next/server/chunks/557.js +135 -0
  39. package/.next/server/chunks/576.js +80 -0
  40. package/.next/server/chunks/597.js +169 -0
  41. package/.next/server/chunks/608.js +515 -0
  42. package/.next/server/chunks/664.js +3401 -0
  43. package/.next/server/chunks/676.js +32 -0
  44. package/.next/server/chunks/74.js +2598 -0
  45. package/.next/server/chunks/746.js +249 -0
  46. package/.next/server/chunks/82.js +371 -0
  47. package/.next/server/chunks/854.js +72 -0
  48. package/.next/server/chunks/859.js +959 -0
  49. package/.next/server/chunks/872.js +358 -0
  50. package/.next/server/chunks/886.js +120 -0
  51. package/.next/server/chunks/98.js +124 -0
  52. package/.next/server/chunks/font-manifest.json +1 -0
  53. package/.next/server/font-manifest.json +1 -0
  54. package/.next/server/middleware-build-manifest.js +1 -0
  55. package/.next/server/middleware-manifest.json +6 -0
  56. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  57. package/.next/server/pages/404.js +414 -0
  58. package/.next/server/pages/404.js.nft.json +1 -0
  59. package/.next/server/pages/500.js +384 -0
  60. package/.next/server/pages/500.js.nft.json +1 -0
  61. package/.next/server/pages/[...slug].js +708 -0
  62. package/.next/server/pages/[...slug].js.nft.json +1 -0
  63. package/.next/server/pages/[slug]/p.js +2390 -0
  64. package/.next/server/pages/[slug]/p.js.nft.json +1 -0
  65. package/.next/server/pages/_app.js +368 -0
  66. package/.next/server/pages/_app.js.nft.json +1 -0
  67. package/.next/server/pages/_document.js +304 -0
  68. package/.next/server/pages/_document.js.nft.json +1 -0
  69. package/.next/server/pages/_error.js +164 -0
  70. package/.next/server/pages/_error.js.nft.json +1 -0
  71. package/.next/server/pages/account.js +370 -0
  72. package/.next/server/pages/account.js.nft.json +1 -0
  73. package/.next/server/pages/api/graphql.js +315 -0
  74. package/.next/server/pages/api/graphql.js.nft.json +1 -0
  75. package/.next/server/pages/api/preview.js +118 -0
  76. package/.next/server/pages/api/preview.js.nft.json +1 -0
  77. package/.next/server/pages/checkout.js +370 -0
  78. package/.next/server/pages/checkout.js.nft.json +1 -0
  79. package/.next/server/pages/en-US/404.html +81 -0
  80. package/.next/server/pages/en-US/404.json +1 -0
  81. package/.next/server/pages/en-US/500.html +81 -0
  82. package/.next/server/pages/en-US/500.json +1 -0
  83. package/.next/server/pages/en-US/account.html +81 -0
  84. package/.next/server/pages/en-US/account.json +1 -0
  85. package/.next/server/pages/en-US/checkout.html +81 -0
  86. package/.next/server/pages/en-US/checkout.json +1 -0
  87. package/.next/server/pages/en-US/login.html +81 -0
  88. package/.next/server/pages/en-US/login.json +1 -0
  89. package/.next/server/pages/en-US/s.html +81 -0
  90. package/.next/server/pages/en-US/s.json +1 -0
  91. package/.next/server/pages/en-US.html +81 -0
  92. package/.next/server/pages/en-US.json +1 -0
  93. package/.next/server/pages/index.js +588 -0
  94. package/.next/server/pages/index.js.nft.json +1 -0
  95. package/.next/server/pages/login.js +396 -0
  96. package/.next/server/pages/login.js.nft.json +1 -0
  97. package/.next/server/pages/s.js +438 -0
  98. package/.next/server/pages/s.js.nft.json +1 -0
  99. package/.next/server/pages-manifest.json +16 -0
  100. package/.next/server/webpack-api-runtime.js +229 -0
  101. package/.next/server/webpack-runtime.js +229 -0
  102. package/.next/static/XHicU5B1ht45aQcZPouaE/_buildManifest.js +1 -0
  103. package/.next/static/XHicU5B1ht45aQcZPouaE/_ssgManifest.js +1 -0
  104. package/.next/static/chunks/143.dd8a556e6957baa1.js +1 -0
  105. package/.next/static/chunks/170.b45293edb4f089c8.js +1 -0
  106. package/.next/static/chunks/226.b57e10ad9932f88c.js +1 -0
  107. package/.next/static/chunks/235-885f7bacf46728bb.js +1 -0
  108. package/.next/static/chunks/336.84e96cd7aa2412bc.js +1 -0
  109. package/.next/static/chunks/495.e6b60941cc3e82e4.js +1 -0
  110. package/.next/static/chunks/54.1d3e6cb43b5b1626.js +1 -0
  111. package/.next/static/chunks/597.d0da2018cc312352.js +1 -0
  112. package/.next/static/chunks/608.59e69b83f35d9c44.js +1 -0
  113. package/.next/static/chunks/651.7142f31ce1e052b3.js +1 -0
  114. package/.next/static/chunks/706-abfba2e18f084aed.js +1 -0
  115. package/.next/static/chunks/741.52f7fb873418346f.js +1 -0
  116. package/.next/static/chunks/832-5460e7c4690723c9.js +1 -0
  117. package/.next/static/chunks/861-d1a326525092ab9c.js +1 -0
  118. package/.next/static/chunks/883-59f1a429b6fe3cfe.js +1 -0
  119. package/.next/static/chunks/98.97381d2021f86cd9.js +1 -0
  120. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +1 -0
  121. package/.next/static/chunks/main-9746772201fe3ac1.js +1 -0
  122. package/.next/static/chunks/pages/404-ac22e12eb22b9c50.js +1 -0
  123. package/.next/static/chunks/pages/500-7b708e8b89389d0e.js +1 -0
  124. package/.next/static/chunks/pages/[...slug]-13b69368a6fa7b85.js +1 -0
  125. package/.next/static/chunks/pages/[slug]/p-0490a581f9a2e4ef.js +1 -0
  126. package/.next/static/chunks/pages/_app-b601536188b9a919.js +1 -0
  127. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +1 -0
  128. package/.next/static/chunks/pages/account-04a0a6c07709c50e.js +1 -0
  129. package/.next/static/chunks/pages/checkout-2ed6b828bb6ed7e6.js +1 -0
  130. package/.next/static/chunks/pages/index-0c1368601c183320.js +1 -0
  131. package/.next/static/chunks/pages/login-3bb40d77e6ee120a.js +1 -0
  132. package/.next/static/chunks/pages/s-8fec20c40a2bd7da.js +1 -0
  133. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +1 -0
  134. package/.next/static/chunks/webpack-02fe78a6d63f52e6.js +1 -0
  135. package/.next/static/css/025f924b9633ecd3.css +1 -0
  136. package/.next/static/css/2253644409b99b98.css +1 -0
  137. package/.next/static/css/326e215d7b09f642.css +1 -0
  138. package/.next/static/css/419a3084f8be98e8.css +1 -0
  139. package/.next/static/css/4b7b7b64ae6afe67.css +1 -0
  140. package/.next/static/css/501cb58eaa378545.css +1 -0
  141. package/.next/static/css/587c27bbda64e700.css +1 -0
  142. package/.next/static/css/5f1b35b69b2ba1f7.css +1 -0
  143. package/.next/static/css/7a8417de90d11c60.css +1 -0
  144. package/.next/static/css/b47298023a9f803f.css +1 -0
  145. package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
  146. package/.next/trace +67 -0
  147. package/.turbo/turbo-build.log +9 -9
  148. package/CHANGELOG.md +10 -0
  149. package/package.json +4 -4
  150. package/public/~partytown/debug/partytown-atomics.js +556 -0
  151. package/public/~partytown/debug/partytown-media.js +374 -0
  152. package/public/~partytown/debug/partytown-sandbox-sw.js +543 -0
  153. package/public/~partytown/debug/partytown-sw.js +59 -0
  154. package/public/~partytown/debug/partytown-ww-atomics.js +1789 -0
  155. package/public/~partytown/debug/partytown-ww-sw.js +1781 -0
  156. package/public/~partytown/debug/partytown.js +72 -0
  157. package/public/~partytown/partytown-atomics.js +2 -0
  158. package/public/~partytown/partytown-media.js +2 -0
  159. package/public/~partytown/partytown-sw.js +2 -0
  160. package/public/~partytown/partytown.js +2 -0
  161. package/src/components/cms/RenderSections.tsx +1 -1
  162. package/src/components/sections/ProductDetails/Overrides.tsx +11 -0
  163. package/src/components/sections/ProductDetails/ProductDetails.tsx +7 -6
  164. package/src/components/sections/ProductShelf/Overrides.tsx +10 -0
  165. package/src/components/sections/ProductShelf/ProductShelf.tsx +13 -15
  166. package/src/components/sections/ProductShelf/section.module.scss +20 -0
  167. package/src/components/skeletons/ProductShelfSkeleton/ProductShelfSkeleton.tsx +2 -2
  168. package/src/components/ui/Carousel/Carousel.tsx +2 -9
  169. package/src/customizations/components/overrides/ProductDetails.tsx +10 -0
  170. package/src/customizations/components/overrides/ProductShelf.tsx +10 -0
  171. package/src/typings/overrides.d.ts +18 -0
  172. /package/src/customizations/components/{index.ts → index.tsx} +0 -0
@@ -0,0 +1,673 @@
1
+ exports.id = 104;
2
+ exports.ids = [104];
3
+ exports.modules = {
4
+
5
+ /***/ 4285:
6
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
7
+
8
+ "use strict";
9
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
11
+ /* harmony export */ });
12
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
13
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
14
+
15
+ const ProductShelf = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function ProductShelf({ testId = 'fs-product-shelf', children, ...otherProps }, ref) {
16
+ return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { ref: ref, "data-fs-product-shelf": true, "data-testid": testId, ...otherProps }, children));
17
+ });
18
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProductShelf);
19
+ //# sourceMappingURL=ProductShelf.js.map
20
+
21
+ /***/ }),
22
+
23
+ /***/ 2321:
24
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
25
+
26
+ "use strict";
27
+
28
+ // EXPORTS
29
+ __webpack_require__.d(__webpack_exports__, {
30
+ "z": () => (/* binding */ Components)
31
+ });
32
+
33
+ // EXTERNAL MODULE: ./src/components/product/ProductCard/index.ts + 4 modules
34
+ var ProductCard = __webpack_require__(6475);
35
+ ;// CONCATENATED MODULE: ./src/customizations/components/overrides/ProductShelf.tsx
36
+ const SECTION = "ProductShelf";
37
+ const overrides = {
38
+ name: SECTION,
39
+ components: {}
40
+ };
41
+ /* harmony default export */ const ProductShelf = (overrides);
42
+ ;// CONCATENATED MODULE: ./src/components/sections/ProductShelf/Overrides.tsx
43
+ 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; }
44
+
45
+ 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; }
46
+
47
+ 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; }
48
+
49
+
50
+
51
+
52
+ const Components = _objectSpread({
53
+ ProductCard: ProductCard/* default */.Z
54
+ }, ProductShelf.components);
55
+
56
+
57
+
58
+ /***/ }),
59
+
60
+ /***/ 8569:
61
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
62
+
63
+ "use strict";
64
+ __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
65
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
66
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
67
+ /* harmony export */ });
68
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
69
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
70
+ /* harmony import */ var react_intersection_observer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9785);
71
+ /* harmony import */ var react_intersection_observer__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_intersection_observer__WEBPACK_IMPORTED_MODULE_1__);
72
+ /* harmony import */ var _faststore_ui__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4285);
73
+ /* harmony import */ var src_components_skeletons_ProductShelfSkeleton__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(424);
74
+ /* harmony import */ var src_sdk_analytics_hooks_useViewItemListEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5184);
75
+ /* harmony import */ var src_sdk_product_useProductsQuery__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4867);
76
+ /* harmony import */ var _Overrides__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2321);
77
+ /* harmony import */ var _Section__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7067);
78
+ /* harmony import */ var _ui_Carousel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(399);
79
+ /* harmony import */ var _section_module_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(6627);
80
+ /* harmony import */ var _section_module_scss__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_section_module_scss__WEBPACK_IMPORTED_MODULE_9__);
81
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(997);
82
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__);
83
+ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_sdk_product_useProductsQuery__WEBPACK_IMPORTED_MODULE_4__]);
84
+ src_sdk_product_useProductsQuery__WEBPACK_IMPORTED_MODULE_4__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
85
+ const _excluded = ["title", "withDivisor"];
86
+
87
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
88
+
89
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ const {
99
+ ProductCard
100
+ } = _Overrides__WEBPACK_IMPORTED_MODULE_5__/* .Components */ .z;
101
+
102
+
103
+
104
+
105
+
106
+
107
+ function ProductShelf(_ref) {
108
+ let {
109
+ title,
110
+ withDivisor = false
111
+ } = _ref,
112
+ variables = _objectWithoutProperties(_ref, _excluded);
113
+
114
+ const viewedOnce = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);
115
+ const {
116
+ ref,
117
+ inView
118
+ } = (0,react_intersection_observer__WEBPACK_IMPORTED_MODULE_1__.useInView)();
119
+ const products = (0,src_sdk_product_useProductsQuery__WEBPACK_IMPORTED_MODULE_4__/* .useProductsQuery */ .kN)(variables);
120
+ const productEdges = products?.edges ?? [];
121
+ const aspectRatio = 1;
122
+ const {
123
+ sendViewItemListEvent
124
+ } = (0,src_sdk_analytics_hooks_useViewItemListEvent__WEBPACK_IMPORTED_MODULE_3__/* .useViewItemListEvent */ .m)({
125
+ products: productEdges,
126
+ title,
127
+ page: 0,
128
+ pageSize: 0
129
+ });
130
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
131
+ if (inView && !viewedOnce.current && productEdges.length) {
132
+ sendViewItemListEvent();
133
+ viewedOnce.current = true;
134
+ }
135
+ }, [inView, productEdges.length, sendViewItemListEvent]);
136
+
137
+ if (products?.edges.length === 0) {
138
+ return null;
139
+ }
140
+
141
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
142
+ className: `${(_section_module_scss__WEBPACK_IMPORTED_MODULE_9___default().section)} section-product-shelf layout__section ${withDivisor ? 'section__divisor' : ''}`,
143
+ ref: ref,
144
+ children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx("h2", {
145
+ className: "text__title-section layout__content",
146
+ children: title
147
+ }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx(src_components_skeletons_ProductShelfSkeleton__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
148
+ aspectRatio: aspectRatio,
149
+ loading: products === undefined,
150
+ children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx(_faststore_ui__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, {
151
+ children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx(_ui_Carousel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
152
+ children: productEdges.map((product, idx) => /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx(ProductCard, {
153
+ bordered: true,
154
+ product: product.node,
155
+ index: idx + 1,
156
+ aspectRatio: aspectRatio
157
+ }, `${product.node.id}`))
158
+ })
159
+ })
160
+ })]
161
+ });
162
+ }
163
+
164
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProductShelf);
165
+ __webpack_async_result__();
166
+ } catch(e) { __webpack_async_result__(e); } });
167
+
168
+ /***/ }),
169
+
170
+ /***/ 7104:
171
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
172
+
173
+ "use strict";
174
+ __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
175
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
176
+ /* harmony export */ "Z": () => (/* reexport safe */ _ProductShelf__WEBPACK_IMPORTED_MODULE_0__.Z)
177
+ /* harmony export */ });
178
+ /* harmony import */ var _ProductShelf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8569);
179
+ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_ProductShelf__WEBPACK_IMPORTED_MODULE_0__]);
180
+ _ProductShelf__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
181
+
182
+ __webpack_async_result__();
183
+ } catch(e) { __webpack_async_result__(e); } });
184
+
185
+ /***/ }),
186
+
187
+ /***/ 424:
188
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
189
+
190
+ "use strict";
191
+
192
+ // EXPORTS
193
+ __webpack_require__.d(__webpack_exports__, {
194
+ "Z": () => (/* reexport */ ProductShelfSkeleton_ProductShelfSkeleton)
195
+ });
196
+
197
+ // EXTERNAL MODULE: ../components/dist/organisms/ProductShelf/ProductShelf.js
198
+ var ProductShelf = __webpack_require__(4285);
199
+ // EXTERNAL MODULE: external "react"
200
+ var external_react_ = __webpack_require__(6689);
201
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
202
+ ;// CONCATENATED MODULE: ../components/dist/organisms/ProductShelf/ProductShelfItems.js
203
+
204
+ const ProductShelfItems = (0,external_react_.forwardRef)(function ProductShelfItems({ testId = 'fs-product-shelf-items', children, ...otherProps }, ref) {
205
+ return (external_react_default().createElement("ul", { ref: ref, "data-fs-product-shelf-items": true, "data-testid": testId, ...otherProps }, children));
206
+ });
207
+ /* harmony default export */ const ProductShelf_ProductShelfItems = (ProductShelfItems);
208
+ //# sourceMappingURL=ProductShelfItems.js.map
209
+ ;// CONCATENATED MODULE: ../components/dist/organisms/ProductShelf/ProductShelfItem.js
210
+
211
+ const ProductShelfItem = (0,external_react_.forwardRef)(function ProductShelfItem({ testId = 'fs-product-shelf-item', children, ...otherProps }, ref) {
212
+ return (external_react_default().createElement("li", { ref: ref, "data-fs-product-shelf-item": true, "data-testid": testId, ...otherProps }, children));
213
+ });
214
+ /* harmony default export */ const ProductShelf_ProductShelfItem = (ProductShelfItem);
215
+ //# sourceMappingURL=ProductShelfItem.js.map
216
+ // EXTERNAL MODULE: ./src/constants.ts
217
+ var constants = __webpack_require__(8459);
218
+ // EXTERNAL MODULE: ./src/components/skeletons/ProductCardSkeleton/index.ts + 1 modules
219
+ var ProductCardSkeleton = __webpack_require__(3288);
220
+ // EXTERNAL MODULE: external "react/jsx-runtime"
221
+ var jsx_runtime_ = __webpack_require__(997);
222
+ ;// CONCATENATED MODULE: ./src/components/skeletons/ProductShelfSkeleton/ProductShelfSkeleton.tsx
223
+
224
+
225
+
226
+
227
+
228
+
229
+ function ProductShelfSkeleton({
230
+ children,
231
+ aspectRatio,
232
+ loading = true
233
+ }) {
234
+ return loading ? /*#__PURE__*/jsx_runtime_.jsx(ProductShelf/* default */.Z, {
235
+ "data-fs-product-shelf-skeleton": true,
236
+ children: /*#__PURE__*/jsx_runtime_.jsx(ProductShelf_ProductShelfItems, {
237
+ className: "layout__content",
238
+ children: Array.from({
239
+ length: constants/* ITEMS_PER_SECTION */.K
240
+ }, (_, index) => /*#__PURE__*/jsx_runtime_.jsx(ProductShelf_ProductShelfItem, {
241
+ children: /*#__PURE__*/jsx_runtime_.jsx(ProductCardSkeleton/* default */.Z, {
242
+ aspectRatio: aspectRatio,
243
+ sectioned: true,
244
+ bordered: true
245
+ })
246
+ }, String(index)))
247
+ })
248
+ }) : /*#__PURE__*/jsx_runtime_.jsx(jsx_runtime_.Fragment, {
249
+ children: children
250
+ });
251
+ }
252
+
253
+ /* harmony default export */ const ProductShelfSkeleton_ProductShelfSkeleton = (ProductShelfSkeleton);
254
+ ;// CONCATENATED MODULE: ./src/components/skeletons/ProductShelfSkeleton/index.ts
255
+
256
+
257
+ /***/ }),
258
+
259
+ /***/ 399:
260
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
261
+
262
+ "use strict";
263
+
264
+ // EXPORTS
265
+ __webpack_require__.d(__webpack_exports__, {
266
+ "Z": () => (/* reexport */ ui_Carousel_Carousel)
267
+ });
268
+
269
+ // EXTERNAL MODULE: external "react"
270
+ var external_react_ = __webpack_require__(6689);
271
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
272
+ ;// CONCATENATED MODULE: ../components/dist/hooks/useSlideVisibility.js
273
+
274
+ function isSlideVisible({ itemsPerPage, currentSlide, slideIdx, totalItems, }) {
275
+ const isClonedSlide = currentSlide < 0 || currentSlide >= totalItems;
276
+ const isVisible = slideIdx >= currentSlide && slideIdx < currentSlide + itemsPerPage;
277
+ return isClonedSlide || isVisible;
278
+ }
279
+ const useSlideVisibility = ({ currentSlide, itemsPerPage, totalItems, }) => {
280
+ /** Keeps track of slides that have been visualized before.
281
+ * We want to keep rendering them because the issue is mostly rendering
282
+ * slides that might never be viewed; On the other hand, hiding slides
283
+ * that were visible causes visual glitches */
284
+ const visitedSlides = (0,external_react_.useRef)(new Set());
285
+ (0,external_react_.useEffect)(() => {
286
+ for (let i = 0; i < itemsPerPage; i++) {
287
+ visitedSlides.current.add(currentSlide + i);
288
+ }
289
+ }, [currentSlide, itemsPerPage]);
290
+ const isItemVisible = (index) => isSlideVisible({
291
+ slideIdx: index,
292
+ currentSlide,
293
+ itemsPerPage,
294
+ totalItems,
295
+ });
296
+ const shouldRenderItem = (index) => {
297
+ return visitedSlides.current.has(index) || isItemVisible(index);
298
+ };
299
+ return { shouldRenderItem, isItemVisible };
300
+ };
301
+ //# sourceMappingURL=useSlideVisibility.js.map
302
+ ;// CONCATENATED MODULE: ../components/dist/molecules/Carousel/CarouselItem.js
303
+
304
+
305
+ function CarouselItem({ index, state, children, totalItems, infiniteMode, isScrollCarousel, }) {
306
+ const { isItemVisible, shouldRenderItem } = useSlideVisibility({
307
+ totalItems,
308
+ currentSlide: state.currentItem,
309
+ itemsPerPage: state.itemsPerPage,
310
+ });
311
+ const style = (!isScrollCarousel && { width: '100%' }) ||
312
+ (isScrollCarousel && {
313
+ maxWidth: '60%',
314
+ display: 'inline-block',
315
+ });
316
+ const shouldDisplayItem = isScrollCarousel || shouldRenderItem(index - Number(infiniteMode));
317
+ return (external_react_default().createElement("li", { style: style, "data-fs-carousel-item": true, "aria-roledescription": "slide", id: `carousel-item-${index}`, "data-fs-carousel-item-visible": isItemVisible(index - Number(infiniteMode)) || undefined }, shouldDisplayItem ? children : null));
318
+ }
319
+ /* harmony default export */ const Carousel_CarouselItem = (CarouselItem);
320
+ //# sourceMappingURL=CarouselItem.js.map
321
+ // EXTERNAL MODULE: external "react-swipeable"
322
+ var external_react_swipeable_ = __webpack_require__(3789);
323
+ ;// CONCATENATED MODULE: ../components/dist/hooks/useSlider.js
324
+
325
+
326
+ const nextPage = (current, total) => (current + 1) % total;
327
+ const previousPage = (current, total) => (total - ((total - current + 1) % total)) % total;
328
+ function reducer(state, action) {
329
+ switch (action.type) {
330
+ case 'NEXT_PAGE': {
331
+ // If `state.infinite` is true, we need to take into account an extra
332
+ // page in the calculation. This extra page is a clone of the first page.
333
+ const adjustedTotalPages = state.infinite
334
+ ? state.totalPages + 1
335
+ : state.totalPages;
336
+ const nextPageIndex = nextPage(state.currentPage, adjustedTotalPages);
337
+ const nextItemIndex = (nextPageIndex % adjustedTotalPages) * state.itemsPerPage;
338
+ return {
339
+ ...state,
340
+ sliding: true,
341
+ slideDirection: 'next',
342
+ currentItem: nextItemIndex,
343
+ currentPage: nextPageIndex,
344
+ };
345
+ }
346
+ case 'PREVIOUS_PAGE': {
347
+ // If `state.infinite` is true, we need to take into account an extra
348
+ // page in the calculation. This extra page is a clone of the first page.
349
+ const adjustedTotalPages = state.infinite
350
+ ? state.totalPages + 1
351
+ : state.totalPages;
352
+ // If `state.infinite` is true and we're currently on page 0, we need to
353
+ // let the slider go to page -1. This -1 page is a clone of the last page.
354
+ const shouldGoToClone = state.infinite && state.currentPage === 0;
355
+ const previousPageIndex = shouldGoToClone
356
+ ? -1
357
+ : previousPage(state.currentPage, state.totalPages);
358
+ return {
359
+ ...state,
360
+ sliding: true,
361
+ slideDirection: 'previous',
362
+ currentItem: (previousPageIndex % adjustedTotalPages) * state.itemsPerPage,
363
+ currentPage: previousPageIndex,
364
+ };
365
+ }
366
+ case 'GO_TO_PAGE': {
367
+ if (action.payload.pageIndex === state.currentPage) {
368
+ return state;
369
+ }
370
+ return {
371
+ ...state,
372
+ sliding: action.payload.shouldSlide,
373
+ slideDirection: action.payload.pageIndex > state.currentPage ? 'next' : 'previous',
374
+ currentItem: (action.payload.pageIndex % state.totalPages) * state.itemsPerPage,
375
+ currentPage: action.payload.pageIndex,
376
+ };
377
+ }
378
+ case 'STOP_SLIDE':
379
+ return { ...state, sliding: false };
380
+ default:
381
+ return state;
382
+ }
383
+ }
384
+ const defaultSliderState = (totalItems, itemsPerPage, infinite) => ({
385
+ currentItem: 0,
386
+ currentPage: 0,
387
+ sliding: false,
388
+ slideDirection: 'next',
389
+ totalItems,
390
+ itemsPerPage,
391
+ totalPages: Math.ceil(totalItems / itemsPerPage),
392
+ infinite,
393
+ });
394
+ const slide = (page, dispatch) => {
395
+ if (page === 'next') {
396
+ dispatch({ type: 'NEXT_PAGE' });
397
+ }
398
+ if (page === 'previous') {
399
+ dispatch({ type: 'PREVIOUS_PAGE' });
400
+ }
401
+ if (typeof page === 'number') {
402
+ dispatch({
403
+ type: 'GO_TO_PAGE',
404
+ payload: {
405
+ pageIndex: page,
406
+ shouldSlide: true,
407
+ },
408
+ });
409
+ }
410
+ };
411
+ const useSlider = ({ totalItems, itemsPerPage = 1, infiniteMode = false, shouldSlideOnSwipe = true, ...swipeableConfigOverrides }) => {
412
+ const [sliderState, sliderDispatch] = (0,external_react_.useReducer)(reducer, undefined, () => defaultSliderState(totalItems, itemsPerPage, infiniteMode));
413
+ const handlers = (0,external_react_swipeable_.useSwipeable)({
414
+ onSwipedRight: () => shouldSlideOnSwipe && slide('previous', sliderDispatch),
415
+ onSwipedLeft: () => shouldSlideOnSwipe && slide('next', sliderDispatch),
416
+ trackMouse: true,
417
+ ...swipeableConfigOverrides,
418
+ });
419
+ return {
420
+ handlers,
421
+ slide,
422
+ sliderState,
423
+ sliderDispatch,
424
+ };
425
+ };
426
+ //# sourceMappingURL=useSlider.js.map
427
+ // EXTERNAL MODULE: ../components/dist/atoms/Button/Button.js
428
+ var Button = __webpack_require__(7578);
429
+ ;// CONCATENATED MODULE: ../components/dist/molecules/Carousel/CarouselBullets.js
430
+
431
+
432
+ const defaultAriaLabel = (idx, isActive) => isActive ? 'Current page' : `Go to page ${idx + 1}`;
433
+ const CarouselBullets = (0,external_react_.forwardRef)(function Bullets({ totalQuantity, activeBullet, onClick, testId = 'fs-carousel-bullets', ariaLabelGenerator = defaultAriaLabel, ariaControlsGenerator, ...otherProps }, ref) {
434
+ const bulletIndexes = (0,external_react_.useMemo)(() => Array(totalQuantity).fill(0), [totalQuantity]);
435
+ return (external_react_default().createElement("div", { ref: ref, "data-fs-carousel-bullets": true, "data-testid": testId, role: "tablist", ...otherProps }, bulletIndexes.map((_, idx) => {
436
+ const isActive = activeBullet === idx;
437
+ return (external_react_default().createElement(Button/* default */.Z, { key: idx, role: "tab", tabIndex: -1, "data-fs-carousel-bullet": true, testId: `${testId}-bullet`, onClick: (e) => onClick(e, idx), "aria-label": ariaLabelGenerator(idx, isActive), "aria-controls": ariaControlsGenerator?.(idx), "aria-selected": isActive }));
438
+ })));
439
+ });
440
+ /* harmony default export */ const Carousel_CarouselBullets = (CarouselBullets);
441
+ //# sourceMappingURL=CarouselBullets.js.map
442
+ // EXTERNAL MODULE: ../components/dist/molecules/IconButton/IconButton.js
443
+ var IconButton = __webpack_require__(2765);
444
+ // EXTERNAL MODULE: ../components/dist/atoms/Icon/Icon.js
445
+ var Icon = __webpack_require__(5045);
446
+ ;// CONCATENATED MODULE: ../components/dist/molecules/Carousel/Carousel.js
447
+
448
+
449
+
450
+
451
+
452
+ const createTransformValues = (infinite, totalItems) => {
453
+ const transformMap = {};
454
+ const slideWidth = 100 / totalItems;
455
+ for (let idx = 0; idx < totalItems; ++idx) {
456
+ const currIdx = infinite ? idx - 1 : idx;
457
+ const transformValue = -(slideWidth * idx);
458
+ transformMap[currIdx] = transformValue;
459
+ }
460
+ return transformMap;
461
+ };
462
+ function Carousel({ infiniteMode = true, controls = 'complete', testId = 'fs-carousel', transition = {
463
+ duration: 400,
464
+ property: 'transform',
465
+ }, children, className, id = 'fs-carousel', variant = 'slide', itemsPerPage = 1, navigationIcons = undefined, ...swipeableConfigOverrides }) {
466
+ const carouselTrackRef = (0,external_react_.useRef)(null);
467
+ const isSlideCarousel = variant === 'slide';
468
+ const isScrollCarousel = variant === 'scroll';
469
+ const childrenArray = external_react_default().Children.toArray(children);
470
+ const childrenCount = childrenArray.length;
471
+ const numberOfSlides = infiniteMode ? childrenCount + 2 : childrenCount;
472
+ const slidingTransition = `${transition.property} ${transition.duration}ms ${transition.timing ?? ''} ${transition.delay ?? ''}`;
473
+ const { handlers, slide, sliderState, sliderDispatch } = useSlider({
474
+ itemsPerPage,
475
+ infiniteMode,
476
+ totalItems: childrenCount,
477
+ shouldSlideOnSwipe: isSlideCarousel,
478
+ ...swipeableConfigOverrides,
479
+ });
480
+ const pagesCount = Math.ceil(childrenCount / sliderState.itemsPerPage);
481
+ const showNavigationArrows = pagesCount !== 1 &&
482
+ (controls === 'complete' || controls === 'navigationArrows');
483
+ const showPaginationBullets = pagesCount !== 1 &&
484
+ (controls === 'complete' || controls === 'paginationBullets');
485
+ const transformValues = (0,external_react_.useMemo)(() => createTransformValues(infiniteMode, numberOfSlides), [numberOfSlides, infiniteMode]);
486
+ const postRenderedSlides = infiniteMode && children ? childrenArray.slice(0, 1) : [];
487
+ const preRenderedSlides = infiniteMode && children ? childrenArray.slice(childrenCount - 1) : [];
488
+ const slides = preRenderedSlides.concat(children ?? [], postRenderedSlides);
489
+ const slideCarouselTrackStyle = (0,external_react_.useMemo)(() => ({
490
+ display: 'flex',
491
+ width: `${numberOfSlides * 100}%`,
492
+ transition: sliderState.sliding ? slidingTransition : undefined,
493
+ transform: `translate3d(${transformValues[sliderState.currentPage]}%, 0, 0)`,
494
+ }), [
495
+ numberOfSlides,
496
+ transformValues,
497
+ slidingTransition,
498
+ sliderState.sliding,
499
+ sliderState.currentPage,
500
+ ]);
501
+ const scrollCarouselTrackStyle = (0,external_react_.useMemo)(() => ({
502
+ width: '100%',
503
+ display: 'block',
504
+ overflowX: 'scroll',
505
+ whiteSpace: 'nowrap',
506
+ }), []);
507
+ const carouselTrackStyle = (isSlideCarousel && slideCarouselTrackStyle) ||
508
+ (isScrollCarousel && scrollCarouselTrackStyle);
509
+ const slidePrevious = () => {
510
+ if (sliderState.sliding ||
511
+ (!infiniteMode && sliderState.currentPage === 0)) {
512
+ return;
513
+ }
514
+ slide('previous', sliderDispatch);
515
+ };
516
+ const slideNext = () => {
517
+ if (sliderState.sliding ||
518
+ (!infiniteMode && sliderState.currentPage === childrenCount - 1)) {
519
+ return;
520
+ }
521
+ slide('next', sliderDispatch);
522
+ };
523
+ const onScrollTrack = (event) => {
524
+ if (isSlideCarousel || itemsPerPage > 1) {
525
+ return;
526
+ }
527
+ const itemWidth = Number(event.currentTarget.firstElementChild?.scrollWidth);
528
+ const scrollOffset = event.currentTarget?.scrollLeft;
529
+ const formatter = scrollOffset > itemWidth / 2 ? Math.round : Math.floor;
530
+ const page = formatter(scrollOffset / itemWidth);
531
+ slide(page, sliderDispatch);
532
+ };
533
+ const onTransitionTrackEnd = () => {
534
+ sliderDispatch({
535
+ type: 'STOP_SLIDE',
536
+ });
537
+ if (infiniteMode && sliderState.currentItem >= childrenCount) {
538
+ sliderDispatch({
539
+ type: 'GO_TO_PAGE',
540
+ payload: {
541
+ pageIndex: 0,
542
+ shouldSlide: false,
543
+ },
544
+ });
545
+ }
546
+ if (infiniteMode && sliderState.currentItem < 0) {
547
+ sliderDispatch({
548
+ type: 'GO_TO_PAGE',
549
+ payload: {
550
+ pageIndex: sliderState.totalPages - 1,
551
+ shouldSlide: false,
552
+ },
553
+ });
554
+ }
555
+ };
556
+ const onScrollPagination = async (index, slideDirection) => {
557
+ if (slideDirection === 'previous' && sliderState.currentPage === 0) {
558
+ return;
559
+ }
560
+ if (slideDirection === 'next' &&
561
+ sliderState.currentPage === sliderState.totalPages - 1) {
562
+ return;
563
+ }
564
+ let scrollOffset;
565
+ const carouselItemsWidth = Number(carouselTrackRef.current?.firstElementChild?.clientWidth);
566
+ if (itemsPerPage > 1) {
567
+ scrollOffset = index * carouselItemsWidth * itemsPerPage;
568
+ }
569
+ else {
570
+ scrollOffset = index * carouselItemsWidth - carouselItemsWidth * 0.125;
571
+ }
572
+ carouselTrackRef.current?.scrollTo({
573
+ left: scrollOffset,
574
+ behavior: 'smooth',
575
+ });
576
+ slide(index, sliderDispatch);
577
+ };
578
+ // accessible behavior for tablist
579
+ const handleBulletsKeyDown = (event) => {
580
+ switch (event.key) {
581
+ case 'ArrowLeft': {
582
+ isSlideCarousel && slidePrevious();
583
+ isScrollCarousel &&
584
+ onScrollPagination(sliderState.currentPage - 1, 'previous');
585
+ break;
586
+ }
587
+ case 'ArrowRight': {
588
+ isSlideCarousel && slideNext();
589
+ isScrollCarousel &&
590
+ onScrollPagination(sliderState.currentPage + 1, 'next');
591
+ break;
592
+ }
593
+ case 'Home': {
594
+ slide(0, sliderDispatch);
595
+ break;
596
+ }
597
+ case 'End': {
598
+ slide(childrenCount - 1, sliderDispatch);
599
+ break;
600
+ }
601
+ default:
602
+ }
603
+ };
604
+ return (external_react_default().createElement("section", { id: id, "data-fs-carousel": true, className: className, "data-testid": testId, "aria-label": "carousel", "aria-roledescription": "carousel" },
605
+ external_react_default().createElement("div", { "data-fs-carousel-track-container": true, style: {
606
+ width: '100%',
607
+ overflow: 'hidden',
608
+ display: isScrollCarousel ? 'block' : undefined,
609
+ }, ...handlers },
610
+ external_react_default().createElement("ul", { "aria-live": "polite", ref: carouselTrackRef, style: carouselTrackStyle, "data-fs-carousel-track": true, onScroll: onScrollTrack, onTransitionEnd: onTransitionTrackEnd }, slides.map((currentSlide, idx) => (external_react_default().createElement(Carousel_CarouselItem, { index: idx, key: String(idx), state: sliderState, totalItems: childrenCount, infiniteMode: infiniteMode, isScrollCarousel: isScrollCarousel }, currentSlide))))),
611
+ showNavigationArrows && (external_react_default().createElement("div", { "data-fs-carousel-controls": true },
612
+ external_react_default().createElement(IconButton/* default */.Z, { "data-fs-carousel-control": "left", "aria-controls": id, "aria-label": "previous", icon: navigationIcons?.left ?? (external_react_default().createElement(Icon/* default */.Z, { name: "ArrowLeft", width: 20, height: 20, weight: "bold" })), onClick: () => {
613
+ isSlideCarousel && slidePrevious();
614
+ isScrollCarousel &&
615
+ onScrollPagination(sliderState.currentPage - 1, 'previous');
616
+ } }),
617
+ external_react_default().createElement(IconButton/* default */.Z, { "data-fs-carousel-control": "right", "aria-controls": id, "aria-label": "next", icon: navigationIcons?.right ?? (external_react_default().createElement(Icon/* default */.Z, { name: "ArrowRight", width: 20, height: 20, weight: "bold" })), onClick: () => {
618
+ isSlideCarousel && slideNext();
619
+ isScrollCarousel &&
620
+ onScrollPagination(sliderState.currentPage + 1, 'next');
621
+ } }))),
622
+ showPaginationBullets && (external_react_default().createElement(Carousel_CarouselBullets, { tabIndex: 0, activeBullet: sliderState.currentPage, totalQuantity: pagesCount, onKeyDown: handleBulletsKeyDown, onClick: async (_, idx) => {
623
+ isSlideCarousel &&
624
+ !sliderState.sliding &&
625
+ slide(idx, sliderDispatch);
626
+ isScrollCarousel && onScrollPagination(idx);
627
+ }, onFocus: (event) => event.currentTarget.focus(), ariaControlsGenerator: (idx) => `carousel-item-${idx}` }))));
628
+ }
629
+ /* harmony default export */ const Carousel_Carousel = (Carousel);
630
+ //# sourceMappingURL=Carousel.js.map
631
+ // EXTERNAL MODULE: external "react/jsx-runtime"
632
+ var jsx_runtime_ = __webpack_require__(997);
633
+ ;// CONCATENATED MODULE: ./src/components/ui/Carousel/Carousel.tsx
634
+
635
+
636
+
637
+ function Carousel_Carousel_Carousel({
638
+ id,
639
+ testId,
640
+ children,
641
+ itemsPerPage = 5
642
+ }) {
643
+ const isMobile = window.innerWidth <= 768;
644
+ return /*#__PURE__*/jsx_runtime_.jsx(Carousel_Carousel, {
645
+ id: id,
646
+ testId: testId,
647
+ variant: "scroll",
648
+ infiniteMode: false,
649
+ itemsPerPage: isMobile ? 1 : itemsPerPage,
650
+ children: children
651
+ });
652
+ }
653
+
654
+ /* harmony default export */ const ui_Carousel_Carousel = (Carousel_Carousel_Carousel);
655
+ ;// CONCATENATED MODULE: ./src/components/ui/Carousel/index.ts
656
+
657
+
658
+ /***/ }),
659
+
660
+ /***/ 6627:
661
+ /***/ ((module) => {
662
+
663
+ // Exports
664
+ module.exports = {
665
+ "section": "section_section__C1DoH",
666
+ "loading": "section_loading__k5bCF"
667
+ };
668
+
669
+
670
+ /***/ })
671
+
672
+ };
673
+ ;