@faststore/core 2.2.53 → 2.2.55
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +54 -60
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +3 -3
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/390.js +409 -404
- package/.next/server/chunks/520.js +491 -0
- package/.next/server/chunks/732.js +1 -1
- package/.next/server/chunks/74.js +2274 -636
- package/.next/server/chunks/796.js +495 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.js +14 -0
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js +14 -0
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js +12 -12
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +17 -61
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/account.js +14 -0
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/checkout.js +14 -0
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/index.js +7 -7
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js +14 -0
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/s.js +8 -1
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +3 -3
- package/.next/static/chunks/158-df35a8644ae9d281.js +1 -0
- package/.next/static/chunks/251.98f500dd8ba008ae.js +1 -0
- package/.next/static/chunks/497-37c1e4e1d862b354.js +1 -0
- package/.next/static/chunks/585.4e673e43d8daf336.js +1 -0
- package/.next/static/chunks/800.ea75aa39e939d9af.js +1 -0
- package/.next/static/chunks/897-b07932d813bb7dac.js +1 -0
- package/.next/static/chunks/pages/{404-7710903c2a59fa6e.js → 404-0bacd82dcf801c94.js} +1 -1
- package/.next/static/chunks/pages/{500-88a231e61179db83.js → 500-4dceb834e001d990.js} +1 -1
- package/.next/static/chunks/pages/[...slug]-b82b56ce1651ea4f.js +1 -0
- package/.next/static/chunks/pages/[slug]/p-39599bd4d6faeeb6.js +1 -0
- package/.next/static/chunks/pages/{account-f163e14670372c05.js → account-57c0c1f70eed76a6.js} +1 -1
- package/.next/static/chunks/pages/{checkout-cf498a32e110bde8.js → checkout-e5db8918e7c9c75e.js} +1 -1
- package/.next/static/chunks/pages/index-84457d91d9060925.js +1 -0
- package/.next/static/chunks/pages/{login-707636c85f23cac6.js → login-39000c786b4f6222.js} +1 -1
- package/.next/static/chunks/pages/s-e195109f5acced7c.js +1 -0
- package/.next/static/chunks/webpack-ec84ae4e89cebb1f.js +1 -0
- package/.next/static/css/0cb5d7afb952bb02.css +1 -0
- package/.next/static/css/{4e42cc999ad62b57.css → 0dc997f9da3027b7.css} +1 -1
- package/.next/static/css/{d7bbfbd552f407e9.css → cbccabebb36f7f92.css} +1 -1
- package/.next/static/css/{d456bfc64bc489a2.css → cf062feb79245123.css} +1 -1
- package/.next/static/xNdv8Ze2mVN5lf__-4QVM/_buildManifest.js +1 -0
- package/.next/trace +81 -81
- package/.turbo/turbo-build.log +18 -18
- package/.turbo/turbo-test.log +9 -9
- package/package.json +2 -2
- package/src/components/sections/CrossSellingShelf/DefaultComponents.ts +9 -0
- package/src/components/sections/CrossSellingShelf/OverriddenDefaultCrossSellingShelf.ts +5 -0
- package/src/components/sections/ProductShelf/DefaultComponents.ts +9 -0
- package/src/components/sections/ProductShelf/OverriddenDefaultProductShelf.ts +12 -0
- package/src/components/templates/LandingPage/LandingPage.tsx +1 -1
- package/src/components/templates/ProductListingPage/ProductListing.tsx +1 -1
- package/src/components/ui/ProductShelf/ProductShelf.tsx +11 -12
- package/src/pages/[slug]/p.tsx +1 -1
- package/src/pages/index.tsx +1 -1
- package/src/sdk/overrides/sections.tsx +12 -4
- package/src/typings/overrides.ts +15 -1
- package/.next/server/chunks/117.js +0 -430
- package/.next/server/chunks/184.js +0 -61
- package/.next/server/chunks/53.js +0 -61
- package/.next/server/chunks/773.js +0 -550
- package/.next/server/chunks/854.js +0 -72
- package/.next/server/chunks/890.js +0 -1205
- package/.next/static/McclVBfxjOJEmRRYVXL7T/_buildManifest.js +0 -1
- package/.next/static/chunks/158-042441a60c3b4b56.js +0 -1
- package/.next/static/chunks/223-cb77217cce52d45c.js +0 -1
- package/.next/static/chunks/251.1c79f06f2a2814b1.js +0 -1
- package/.next/static/chunks/290-383e1d36f83c367d.js +0 -1
- package/.next/static/chunks/497-f3f10b00c609f0c2.js +0 -1
- package/.next/static/chunks/585.2d70151d75fdf960.js +0 -1
- package/.next/static/chunks/800.f63caad837409c7e.js +0 -1
- package/.next/static/chunks/pages/[...slug]-9b20bb8274fe7854.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-0ef7dd71888c199e.js +0 -1
- package/.next/static/chunks/pages/index-1cfe3afbd6564f45.js +0 -1
- package/.next/static/chunks/pages/s-0bfcfd0d40841dcf.js +0 -1
- package/.next/static/chunks/webpack-ba86ae9a63f61805.js +0 -1
- package/.next/static/css/14c11109f82a6f9a.css +0 -1
- package/.next/static/css/e337ce16f77f08a7.css +0 -1
- package/src/components/sections/ProductShelf/Overrides.tsx +0 -20
- /package/.next/static/{McclVBfxjOJEmRRYVXL7T → xNdv8Ze2mVN5lf__-4QVM}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
exports.id = 796;
|
|
2
|
+
exports.ids = [796];
|
|
3
|
+
exports.modules = {
|
|
4
|
+
|
|
5
|
+
/***/ 1481:
|
|
6
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
|
|
10
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11
|
+
/* harmony export */ "i": () => (/* binding */ OverriddenDefaultBannerText)
|
|
12
|
+
/* harmony export */ });
|
|
13
|
+
/* harmony import */ var src_customizations_src_components_overrides_BannerText__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4554);
|
|
14
|
+
/* harmony import */ var src_sdk_overrides_getOverriddenSection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8788);
|
|
15
|
+
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_sdk_overrides_getOverriddenSection__WEBPACK_IMPORTED_MODULE_0__]);
|
|
16
|
+
src_sdk_overrides_getOverriddenSection__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* This component exists to support overrides 1.0
|
|
22
|
+
*
|
|
23
|
+
* This allows users to override the default BannerText section present in the Headless CMS
|
|
24
|
+
*/
|
|
25
|
+
const OverriddenDefaultBannerText = (0,src_sdk_overrides_getOverriddenSection__WEBPACK_IMPORTED_MODULE_0__/* .getOverriddenSection */ .v)(src_customizations_src_components_overrides_BannerText__WEBPACK_IMPORTED_MODULE_1__/* .override */ .K);
|
|
26
|
+
__webpack_async_result__();
|
|
27
|
+
} catch(e) { __webpack_async_result__(e); } });
|
|
28
|
+
|
|
29
|
+
/***/ }),
|
|
30
|
+
|
|
31
|
+
/***/ 8170:
|
|
32
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
33
|
+
|
|
34
|
+
"use strict";
|
|
35
|
+
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
|
|
36
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
37
|
+
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
38
|
+
/* harmony export */ });
|
|
39
|
+
/* harmony import */ var src_components_ui_Newsletter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(870);
|
|
40
|
+
/* harmony import */ var _Section__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3271);
|
|
41
|
+
/* harmony import */ var _section_module_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7781);
|
|
42
|
+
/* harmony import */ var _section_module_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_section_module_scss__WEBPACK_IMPORTED_MODULE_2__);
|
|
43
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
|
|
44
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
|
45
|
+
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_components_ui_Newsletter__WEBPACK_IMPORTED_MODULE_3__]);
|
|
46
|
+
src_components_ui_Newsletter__WEBPACK_IMPORTED_MODULE_3__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
|
|
47
|
+
const _excluded = ["icon", "title", "description", "privacyPolicy", "emailInputLabel", "displayNameInput", "nameInputLabel", "subscribeButtonLabel", "card", "toastSubscribe", "toastSubscribeError"];
|
|
48
|
+
|
|
49
|
+
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; }
|
|
50
|
+
|
|
51
|
+
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; }
|
|
52
|
+
|
|
53
|
+
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; }
|
|
54
|
+
|
|
55
|
+
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; }
|
|
56
|
+
|
|
57
|
+
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; }
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
const Newsletter = function Newsletter(_ref) {
|
|
65
|
+
let {
|
|
66
|
+
icon,
|
|
67
|
+
title,
|
|
68
|
+
description,
|
|
69
|
+
privacyPolicy,
|
|
70
|
+
emailInputLabel,
|
|
71
|
+
displayNameInput,
|
|
72
|
+
nameInputLabel,
|
|
73
|
+
subscribeButtonLabel,
|
|
74
|
+
card,
|
|
75
|
+
toastSubscribe,
|
|
76
|
+
toastSubscribeError
|
|
77
|
+
} = _ref,
|
|
78
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
79
|
+
|
|
80
|
+
return /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_Section__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, {
|
|
81
|
+
className: `${(_section_module_scss__WEBPACK_IMPORTED_MODULE_2___default().section)} section-newsletter`,
|
|
82
|
+
children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(src_components_ui_Newsletter__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, _objectSpread({
|
|
83
|
+
icon: icon,
|
|
84
|
+
title: title,
|
|
85
|
+
description: description,
|
|
86
|
+
privacyPolicy: privacyPolicy,
|
|
87
|
+
emailInputLabel: emailInputLabel,
|
|
88
|
+
displayNameInput: displayNameInput,
|
|
89
|
+
nameInputLabel: nameInputLabel,
|
|
90
|
+
subscribeButtonLabel: subscribeButtonLabel,
|
|
91
|
+
toastSubscribe: toastSubscribe,
|
|
92
|
+
toastSubscribeError: toastSubscribeError,
|
|
93
|
+
card: card
|
|
94
|
+
}, otherProps))
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Newsletter);
|
|
99
|
+
__webpack_async_result__();
|
|
100
|
+
} catch(e) { __webpack_async_result__(e); } });
|
|
101
|
+
|
|
102
|
+
/***/ }),
|
|
103
|
+
|
|
104
|
+
/***/ 1546:
|
|
105
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
106
|
+
|
|
107
|
+
"use strict";
|
|
108
|
+
|
|
109
|
+
// EXPORTS
|
|
110
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
111
|
+
"zx": () => (/* binding */ Overrides_Button),
|
|
112
|
+
"N9": () => (/* binding */ HeaderIcon),
|
|
113
|
+
"yk": () => (/* binding */ InputFieldEmail),
|
|
114
|
+
"s9": () => (/* binding */ InputFieldName),
|
|
115
|
+
"eA": () => (/* binding */ ToastIconError),
|
|
116
|
+
"$B": () => (/* binding */ ToastIconSuccess),
|
|
117
|
+
"KN": () => (/* binding */ __experimentalNewsletterAddendum)
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
// EXTERNAL MODULE: ../components/dist/esm/atoms/Icon/Icon.js
|
|
121
|
+
var Icon = __webpack_require__(2614);
|
|
122
|
+
// EXTERNAL MODULE: ../components/dist/esm/molecules/InputField/InputField.js
|
|
123
|
+
var InputField = __webpack_require__(3779);
|
|
124
|
+
// EXTERNAL MODULE: ../components/dist/esm/atoms/Button/Button.js
|
|
125
|
+
var Button = __webpack_require__(3339);
|
|
126
|
+
// EXTERNAL MODULE: external "draftjs-to-html"
|
|
127
|
+
var external_draftjs_to_html_ = __webpack_require__(8641);
|
|
128
|
+
var external_draftjs_to_html_default = /*#__PURE__*/__webpack_require__.n(external_draftjs_to_html_);
|
|
129
|
+
// EXTERNAL MODULE: external "react/jsx-runtime"
|
|
130
|
+
var jsx_runtime_ = __webpack_require__(997);
|
|
131
|
+
;// CONCATENATED MODULE: ./src/components/ui/Newsletter/NewsletterAddendum.tsx
|
|
132
|
+
const _excluded = ["addendum"];
|
|
133
|
+
|
|
134
|
+
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; }
|
|
135
|
+
|
|
136
|
+
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; }
|
|
137
|
+
|
|
138
|
+
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; }
|
|
139
|
+
|
|
140
|
+
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; }
|
|
141
|
+
|
|
142
|
+
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; }
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* TODO:
|
|
146
|
+
*
|
|
147
|
+
* This library hasn't been updated in 4 years at the time of writing.
|
|
148
|
+
*
|
|
149
|
+
* We're using it as a patch, and it is expected that some Rich Text use cases of draftjs are not supported by it.
|
|
150
|
+
* We have the dependency on draftjs because of the way the headless CMS send us the data.
|
|
151
|
+
*
|
|
152
|
+
* This library should be removed as soon as possible, which will probably be possible through one of two cases:
|
|
153
|
+
* 1. We support React Server Components and go back to using the official draftjs library for doing this, only on the server.
|
|
154
|
+
* This is still not the ideal solution, since it still relies on a unsupported, deprecated and archived library (draftjs).
|
|
155
|
+
* 2. CMS uses a new library or changes how it sends the data to not depend on draftjs.
|
|
156
|
+
*
|
|
157
|
+
* This is a limitation not only for this component, but for every native & custom component that makes use of Rich Text.
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
function getLinkElementAsString(url, text) {
|
|
163
|
+
return `
|
|
164
|
+
<a
|
|
165
|
+
data-fs-link="true"
|
|
166
|
+
data-fs-link-variant="inline"
|
|
167
|
+
data-fs-link-inverse="true"
|
|
168
|
+
data-fs-link-size="regular"
|
|
169
|
+
data-testid="fs-link"
|
|
170
|
+
href="${url}"
|
|
171
|
+
>${text}</a>`;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
function cmsToHtml(addendum) {
|
|
175
|
+
if (!addendum) {
|
|
176
|
+
return '';
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
let rawDraftContentState = null;
|
|
180
|
+
|
|
181
|
+
try {
|
|
182
|
+
rawDraftContentState = JSON.parse(addendum);
|
|
183
|
+
} catch (e) {
|
|
184
|
+
throw new Error('Newsletter\'s prop "addendum" is not a JSON string. This is happening because the overridden prop is malformed or the CMS is providing malformed content for that prop.', {
|
|
185
|
+
cause: e
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if (!rawDraftContentState) {
|
|
190
|
+
return '';
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
return external_draftjs_to_html_default()(rawDraftContentState, undefined, undefined, (entity, text) => {
|
|
194
|
+
if (entity.type !== 'LINK') {
|
|
195
|
+
return null;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
return getLinkElementAsString(entity.data.url, text);
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
function NewsletterAddendum(_ref) {
|
|
203
|
+
let {
|
|
204
|
+
addendum
|
|
205
|
+
} = _ref,
|
|
206
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
207
|
+
|
|
208
|
+
return /*#__PURE__*/jsx_runtime_.jsx("span", _objectSpread({
|
|
209
|
+
"data-fs-newsletter-addendum": true,
|
|
210
|
+
dangerouslySetInnerHTML: {
|
|
211
|
+
__html: cmsToHtml(addendum)
|
|
212
|
+
}
|
|
213
|
+
}, otherProps));
|
|
214
|
+
}
|
|
215
|
+
// EXTERNAL MODULE: ./src/sdk/overrides/overrides.ts
|
|
216
|
+
var overrides = __webpack_require__(7506);
|
|
217
|
+
;// CONCATENATED MODULE: ./src/customizations/src/components/overrides/Newsletter.tsx
|
|
218
|
+
// This is an example of how it can be used on the starter.
|
|
219
|
+
const SECTION = 'Newsletter';
|
|
220
|
+
const override = {
|
|
221
|
+
section: SECTION
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
;// CONCATENATED MODULE: ./src/components/sections/Newsletter/Overrides.tsx
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
const {
|
|
230
|
+
ToastIconSuccess,
|
|
231
|
+
ToastIconError,
|
|
232
|
+
HeaderIcon,
|
|
233
|
+
InputFieldName,
|
|
234
|
+
InputFieldEmail,
|
|
235
|
+
Button: Overrides_Button,
|
|
236
|
+
__experimentalNewsletterAddendum
|
|
237
|
+
} = (0,overrides/* getSectionOverrides */.f)({
|
|
238
|
+
ToastIconSuccess: Icon/* default */.Z,
|
|
239
|
+
ToastIconError: Icon/* default */.Z,
|
|
240
|
+
HeaderIcon: Icon/* default */.Z,
|
|
241
|
+
InputFieldName: InputField/* default */.Z,
|
|
242
|
+
InputFieldEmail: InputField/* default */.Z,
|
|
243
|
+
Button: Button/* default */.Z,
|
|
244
|
+
__experimentalNewsletterAddendum: NewsletterAddendum
|
|
245
|
+
}, override);
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
/***/ }),
|
|
249
|
+
|
|
250
|
+
/***/ 870:
|
|
251
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
252
|
+
|
|
253
|
+
"use strict";
|
|
254
|
+
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
|
|
255
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
256
|
+
/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
257
|
+
/* harmony export */ });
|
|
258
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
|
|
259
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
260
|
+
/* harmony import */ var _faststore_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6652);
|
|
261
|
+
/* harmony import */ var src_sdk_newsletter_useNewsletter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5822);
|
|
262
|
+
/* harmony import */ var src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1546);
|
|
263
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(997);
|
|
264
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__);
|
|
265
|
+
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_sdk_newsletter_useNewsletter__WEBPACK_IMPORTED_MODULE_2__]);
|
|
266
|
+
src_sdk_newsletter_useNewsletter__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
|
|
267
|
+
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; }
|
|
268
|
+
|
|
269
|
+
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; }
|
|
270
|
+
|
|
271
|
+
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; }
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
const Newsletter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function Newsletter({
|
|
281
|
+
icon,
|
|
282
|
+
title,
|
|
283
|
+
description,
|
|
284
|
+
privacyPolicy,
|
|
285
|
+
emailInputLabel,
|
|
286
|
+
displayNameInput,
|
|
287
|
+
nameInputLabel,
|
|
288
|
+
subscribeButtonLabel,
|
|
289
|
+
subscribeButtonLoadingLabel,
|
|
290
|
+
card,
|
|
291
|
+
toastSubscribe,
|
|
292
|
+
toastSubscribeError
|
|
293
|
+
}, ref) {
|
|
294
|
+
const {
|
|
295
|
+
subscribeUser,
|
|
296
|
+
loading,
|
|
297
|
+
data
|
|
298
|
+
} = (0,src_sdk_newsletter_useNewsletter__WEBPACK_IMPORTED_MODULE_2__/* .useNewsletter */ .u)();
|
|
299
|
+
const nameInputRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
300
|
+
const emailInputRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
301
|
+
const {
|
|
302
|
+
pushToast
|
|
303
|
+
} = (0,_faststore_ui__WEBPACK_IMPORTED_MODULE_3__/* .useUI */ .l)();
|
|
304
|
+
|
|
305
|
+
const handleSubmit = event => {
|
|
306
|
+
event.preventDefault();
|
|
307
|
+
subscribeUser({
|
|
308
|
+
data: {
|
|
309
|
+
name: nameInputRef.current?.value ?? '',
|
|
310
|
+
email: emailInputRef.current?.value ?? ''
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
|
|
314
|
+
if (data?.subscribeToNewsletter?.id) {
|
|
315
|
+
pushToast(_objectSpread(_objectSpread({}, toastSubscribe), {}, {
|
|
316
|
+
status: 'INFO',
|
|
317
|
+
icon: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .ToastIconSuccess.Component */ .$B.Component, _objectSpread(_objectSpread({
|
|
318
|
+
width: 30,
|
|
319
|
+
height: 30
|
|
320
|
+
}, src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .ToastIconSuccess.props */ .$B.props), {}, {
|
|
321
|
+
name: toastSubscribe.icon ?? src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .ToastIconSuccess.props.name */ .$B.props.name
|
|
322
|
+
}))
|
|
323
|
+
}));
|
|
324
|
+
} else {
|
|
325
|
+
pushToast(_objectSpread(_objectSpread({}, toastSubscribeError), {}, {
|
|
326
|
+
status: 'ERROR',
|
|
327
|
+
icon: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .ToastIconError.Component */ .eA.Component, _objectSpread(_objectSpread({
|
|
328
|
+
width: 30,
|
|
329
|
+
height: 30
|
|
330
|
+
}, src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .ToastIconError.props */ .eA.props), {}, {
|
|
331
|
+
name: toastSubscribe.icon ?? src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .ToastIconError.props.name */ .eA.props.name
|
|
332
|
+
}))
|
|
333
|
+
}));
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
const formElement = event.currentTarget;
|
|
337
|
+
formElement.reset();
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
return /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx("div", {
|
|
341
|
+
"data-fs-newsletter": card ? 'card' : '',
|
|
342
|
+
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("form", {
|
|
343
|
+
ref: ref,
|
|
344
|
+
"data-fs-newsletter-form": true,
|
|
345
|
+
"data-fs-content": "newsletter",
|
|
346
|
+
onSubmit: handleSubmit,
|
|
347
|
+
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("header", {
|
|
348
|
+
"data-fs-newsletter-header": true,
|
|
349
|
+
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h3", {
|
|
350
|
+
children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .HeaderIcon.Component */ .N9.Component, _objectSpread(_objectSpread({
|
|
351
|
+
width: 32,
|
|
352
|
+
height: 32
|
|
353
|
+
}, src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .HeaderIcon.props */ .N9.props), {}, {
|
|
354
|
+
name: icon?.icon ?? src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .HeaderIcon.props.name */ .N9.props.name
|
|
355
|
+
})), title]
|
|
356
|
+
}), description && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span", {
|
|
357
|
+
children: [" ", description]
|
|
358
|
+
})]
|
|
359
|
+
}), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx("div", {
|
|
360
|
+
"data-fs-newsletter-controls": true,
|
|
361
|
+
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, {
|
|
362
|
+
children: [displayNameInput ? /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .InputFieldName.Component */ .s9.Component, _objectSpread(_objectSpread({
|
|
363
|
+
id: "newsletter-name",
|
|
364
|
+
required: true
|
|
365
|
+
}, src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .InputFieldName.props */ .s9.props), {}, {
|
|
366
|
+
label: nameInputLabel ?? src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .InputFieldName.props.label */ .s9.props.label // Dynamic props shouldn't be overridable
|
|
367
|
+
// This decision can be reviewed later if needed
|
|
368
|
+
,
|
|
369
|
+
inputRef: nameInputRef
|
|
370
|
+
})) : null, /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .InputFieldEmail.Component */ .yk.Component, _objectSpread(_objectSpread({
|
|
371
|
+
id: "newsletter-email",
|
|
372
|
+
type: "email",
|
|
373
|
+
required: true
|
|
374
|
+
}, src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .InputFieldEmail.props */ .yk.props), {}, {
|
|
375
|
+
label: emailInputLabel ?? src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .InputFieldEmail.props.label */ .yk.props.label // Dynamic props shouldn't be overridable
|
|
376
|
+
// This decision can be reviewed later if needed
|
|
377
|
+
,
|
|
378
|
+
inputRef: emailInputRef
|
|
379
|
+
})), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .__experimentalNewsletterAddendum.Component */ .KN.Component, _objectSpread({
|
|
380
|
+
addendum: privacyPolicy
|
|
381
|
+
}, src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .__experimentalNewsletterAddendum.props */ .KN.props)), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .Button.Component */ .zx.Component, _objectSpread(_objectSpread({
|
|
382
|
+
variant: "secondary",
|
|
383
|
+
inverse: true,
|
|
384
|
+
type: "submit"
|
|
385
|
+
}, src_components_sections_Newsletter_Overrides__WEBPACK_IMPORTED_MODULE_4__/* .Button.props */ .zx.props), {}, {
|
|
386
|
+
children: loading ? subscribeButtonLoadingLabel : subscribeButtonLabel
|
|
387
|
+
}))]
|
|
388
|
+
})
|
|
389
|
+
})]
|
|
390
|
+
})
|
|
391
|
+
});
|
|
392
|
+
});
|
|
393
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Newsletter);
|
|
394
|
+
__webpack_async_result__();
|
|
395
|
+
} catch(e) { __webpack_async_result__(e); } });
|
|
396
|
+
|
|
397
|
+
/***/ }),
|
|
398
|
+
|
|
399
|
+
/***/ 4554:
|
|
400
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
401
|
+
|
|
402
|
+
"use strict";
|
|
403
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
404
|
+
/* harmony export */ "K": () => (/* binding */ override)
|
|
405
|
+
/* harmony export */ });
|
|
406
|
+
// This is an example of how it can be used on the starter.
|
|
407
|
+
const SECTION = 'BannerText';
|
|
408
|
+
const override = {
|
|
409
|
+
section: SECTION
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
/***/ }),
|
|
414
|
+
|
|
415
|
+
/***/ 8597:
|
|
416
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
417
|
+
|
|
418
|
+
"use strict";
|
|
419
|
+
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
|
|
420
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
421
|
+
/* harmony export */ "t": () => (/* binding */ useLazyQuery)
|
|
422
|
+
/* harmony export */ });
|
|
423
|
+
/* harmony import */ var swr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5941);
|
|
424
|
+
/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(180);
|
|
425
|
+
/* harmony import */ var _useQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7732);
|
|
426
|
+
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([swr__WEBPACK_IMPORTED_MODULE_0__, _useQuery__WEBPACK_IMPORTED_MODULE_1__]);
|
|
427
|
+
([swr__WEBPACK_IMPORTED_MODULE_0__, _useQuery__WEBPACK_IMPORTED_MODULE_1__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
const useLazyQuery = (operationName, variables, options) => {
|
|
432
|
+
const response = (0,swr__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_useQuery__WEBPACK_IMPORTED_MODULE_1__/* .getKey */ .km)(operationName, variables), () => null, _useQuery__WEBPACK_IMPORTED_MODULE_1__/* .DEFAULT_OPTIONS */ .WN);
|
|
433
|
+
|
|
434
|
+
const execute = async queryVariables => {
|
|
435
|
+
const data = await (0,_request__WEBPACK_IMPORTED_MODULE_2__/* .request */ .W)(operationName, queryVariables, options);
|
|
436
|
+
response.mutate(data, false);
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
return [execute, response];
|
|
440
|
+
};
|
|
441
|
+
__webpack_async_result__();
|
|
442
|
+
} catch(e) { __webpack_async_result__(e); } });
|
|
443
|
+
|
|
444
|
+
/***/ }),
|
|
445
|
+
|
|
446
|
+
/***/ 5822:
|
|
447
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
448
|
+
|
|
449
|
+
"use strict";
|
|
450
|
+
__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
|
|
451
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
452
|
+
/* harmony export */ "u": () => (/* binding */ useNewsletter)
|
|
453
|
+
/* harmony export */ });
|
|
454
|
+
/* unused harmony export mutation */
|
|
455
|
+
/* harmony import */ var _graphql_useLazyQuery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8597);
|
|
456
|
+
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_graphql_useLazyQuery__WEBPACK_IMPORTED_MODULE_0__]);
|
|
457
|
+
_graphql_useLazyQuery__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
|
|
458
|
+
|
|
459
|
+
const mutation = "SubscribeToNewsletter";
|
|
460
|
+
const useNewsletter = () => {
|
|
461
|
+
const [subscribeUser, {
|
|
462
|
+
data,
|
|
463
|
+
error,
|
|
464
|
+
isValidating: loading
|
|
465
|
+
}] = (0,_graphql_useLazyQuery__WEBPACK_IMPORTED_MODULE_0__/* .useLazyQuery */ .t)(mutation, {
|
|
466
|
+
data: {
|
|
467
|
+
name: '',
|
|
468
|
+
email: ''
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
return {
|
|
472
|
+
subscribeUser,
|
|
473
|
+
data,
|
|
474
|
+
error,
|
|
475
|
+
loading
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
__webpack_async_result__();
|
|
479
|
+
} catch(e) { __webpack_async_result__(e); } });
|
|
480
|
+
|
|
481
|
+
/***/ }),
|
|
482
|
+
|
|
483
|
+
/***/ 7781:
|
|
484
|
+
/***/ ((module) => {
|
|
485
|
+
|
|
486
|
+
// Exports
|
|
487
|
+
module.exports = {
|
|
488
|
+
"section": "section_section__kRRBW"
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
/***/ })
|
|
493
|
+
|
|
494
|
+
};
|
|
495
|
+
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-c67a75d1b6f99dc8.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:["static/
|
|
1
|
+
self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-c67a75d1b6f99dc8.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:["static/xNdv8Ze2mVN5lf__-4QVM/_buildManifest.js","static/xNdv8Ze2mVN5lf__-4QVM/_ssgManifest.js"],rootMainFiles:[],pages:{"/":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/css/cf062feb79245123.css","static/chunks/pages/index-84457d91d9060925.js"],"/404":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/css/df588bb98c0b0ca6.css","static/chunks/pages/404-0bacd82dcf801c94.js"],"/500":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/css/df588bb98c0b0ca6.css","static/chunks/pages/500-4dceb834e001d990.js"],"/[...slug]":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/css/723835bce380750d.css","static/chunks/497-37c1e4e1d862b354.js","static/css/0dc997f9da3027b7.css","static/chunks/pages/[...slug]-b82b56ce1651ea4f.js"],"/[slug]/p":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/css/cbccabebb36f7f92.css","static/chunks/pages/[slug]/p-39599bd4d6faeeb6.js"],"/_app":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/css/5d1f64b61ea581f4.css","static/chunks/pages/_app-30b9666307e4b3b1.js"],"/_error":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/pages/_error-319451dea77827a6.js"],"/account":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/chunks/pages/account-57c0c1f70eed76a6.js"],"/checkout":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/chunks/pages/checkout-e5db8918e7c9c75e.js"],"/login":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/css/df588bb98c0b0ca6.css","static/chunks/pages/login-39000c786b4f6222.js"],"/s":["static/chunks/webpack-ec84ae4e89cebb1f.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-e4e873ee741162eb.js","static/chunks/897-b07932d813bb7dac.js","static/css/0cb5d7afb952bb02.css","static/chunks/158-df35a8644ae9d281.js","static/css/723835bce380750d.css","static/chunks/497-37c1e4e1d862b354.js","static/chunks/pages/s-e195109f5acced7c.js"]},ampFirstPages:[]};
|
|
@@ -1 +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:6585,files:["static/css/e84fc497732ea596.css","static/chunks/585.
|
|
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:6585,files:["static/css/e84fc497732ea596.css","static/chunks/585.4e673e43d8daf336.js"]},"../components/cms/GlobalSections.tsx -> src/components/region/RegionModal":{id:5988,files:["static/css/cb7d1fcea42fab9c.css","static/chunks/988.afda042dd9ba11d1.js"]},"../components/search/SearchInput/SearchInput.tsx -> src/components/search/SearchDropdown":{id:1251,files:["static/chunks/251.98f500dd8ba008ae.js"]},"../components/sections/ProductGallery/Overrides.tsx -> src/components/search/Filter/FilterSlider":{id:1386,files:["static/css/6a7fdc5a21fbead5.css","static/chunks/386.d01e0db26c523f0f.js"]},"../components/ui/ProductGallery/ProductGallery.tsx -> ./ProductGalleryPage":{id:2800,files:["static/chunks/800.ea75aa39e939d9af.js"]}};
|
|
@@ -350,6 +350,20 @@ module.exports = require("react-dom");
|
|
|
350
350
|
|
|
351
351
|
/***/ }),
|
|
352
352
|
|
|
353
|
+
/***/ 9785:
|
|
354
|
+
/***/ ((module) => {
|
|
355
|
+
|
|
356
|
+
module.exports = require("react-intersection-observer");
|
|
357
|
+
|
|
358
|
+
/***/ }),
|
|
359
|
+
|
|
360
|
+
/***/ 3789:
|
|
361
|
+
/***/ ((module) => {
|
|
362
|
+
|
|
363
|
+
module.exports = require("react-swipeable");
|
|
364
|
+
|
|
365
|
+
/***/ }),
|
|
366
|
+
|
|
353
367
|
/***/ 997:
|
|
354
368
|
/***/ ((module) => {
|
|
355
369
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../webpack-runtime.js","../chunks/676.js","../chunks/825.js","../chunks/183.js","../chunks/177.js","../chunks/74.js","../chunks/863.js","../chunks/779.js","../chunks/988.js","../chunks/
|
|
1
|
+
{"version":1,"files":["../webpack-runtime.js","../chunks/676.js","../chunks/825.js","../chunks/183.js","../chunks/177.js","../chunks/74.js","../chunks/863.js","../chunks/779.js","../chunks/988.js","../chunks/693.js","../chunks/585.js","../chunks/312.js","../../package.json","../../../node_modules/deepmerge/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/deepmerge/dist/cjs.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/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/next/dist/client/with-router.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/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"]}
|
|
@@ -354,6 +354,20 @@ module.exports = require("react-dom");
|
|
|
354
354
|
|
|
355
355
|
/***/ }),
|
|
356
356
|
|
|
357
|
+
/***/ 9785:
|
|
358
|
+
/***/ ((module) => {
|
|
359
|
+
|
|
360
|
+
module.exports = require("react-intersection-observer");
|
|
361
|
+
|
|
362
|
+
/***/ }),
|
|
363
|
+
|
|
364
|
+
/***/ 3789:
|
|
365
|
+
/***/ ((module) => {
|
|
366
|
+
|
|
367
|
+
module.exports = require("react-swipeable");
|
|
368
|
+
|
|
369
|
+
/***/ }),
|
|
370
|
+
|
|
357
371
|
/***/ 997:
|
|
358
372
|
/***/ ((module) => {
|
|
359
373
|
|