@faststore/core 3.41.9 → 3.43.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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +36 -36
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- 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/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +26 -20
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/1454.js +1 -0
- package/.next/server/chunks/1506.js +1 -1
- package/.next/server/chunks/3684.js +1 -1
- package/.next/server/chunks/416.js +1 -0
- package/.next/server/chunks/4289.js +13 -5
- package/.next/server/chunks/4746.js +1 -1
- package/.next/server/chunks/4816.js +1 -0
- package/.next/server/chunks/6030.js +1 -0
- package/.next/server/chunks/6076.js +1 -1
- package/.next/server/chunks/6594.js +1 -0
- package/.next/server/chunks/{8112.js → 6968.js} +2 -2
- package/.next/server/chunks/6999.js +1 -0
- package/.next/server/chunks/7371.js +1 -0
- package/.next/server/chunks/831.js +1 -0
- package/.next/server/chunks/8482.js +1 -0
- package/.next/server/chunks/8646.js +1 -1
- package/.next/server/chunks/UIBannerText.js +1 -1
- package/.next/server/chunks/UISKUMatrixSidebar.js +1 -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 +1 -1
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js +1 -1
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js +1 -1
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- 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/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/account/profile.js +1 -1
- package/.next/server/pages/account/profile.js.nft.json +1 -1
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/api/health/live.js.nft.json +1 -1
- package/.next/server/pages/api/health/ready.js.nft.json +1 -1
- package/.next/server/pages/api/preview.js +1 -1
- package/.next/server/pages/api/preview.js.nft.json +1 -1
- package/.next/server/pages/checkout.js +1 -1
- 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/404.json +1 -1
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/500.json +1 -1
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/checkout.json +1 -1
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/login.json +1 -1
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US/s.json +1 -1
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/en-US.json +1 -1
- package/.next/server/pages/index.js +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js +1 -1
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/chunks/417.c39c1c5e5ef57b4a.js +1 -0
- package/.next/static/chunks/4865.3e2ae9feb511c870.js +1 -0
- package/.next/static/chunks/630.13d3dd939b789798.js +6 -0
- package/.next/static/chunks/6335-5870fc075bf96b86.js +1 -0
- package/.next/static/chunks/{7498-49bf89838314b503.js → 7498-415859c993f5002b.js} +1 -1
- package/.next/static/chunks/8827.179b49f8ab3afe48.js +1 -0
- package/.next/static/chunks/UISKUMatrixSidebar.c68540bda6d40e13.js +1 -0
- package/.next/static/chunks/pages/[...slug]-2cfb2b1b8ee3b7a9.js +1 -0
- package/.next/static/chunks/pages/[slug]/p-3b513ae37c648620.js +1 -0
- package/.next/static/chunks/pages/{_app-0f16b6b5d7dfab2a.js → _app-f02182ccd58f2781.js} +1 -1
- package/.next/static/chunks/webpack-0dd5a14ceff64065.js +1 -0
- package/.next/static/css/31fb64e064998460.css +1 -0
- package/.next/static/{YZbl2rCQaXL1-tNjqawX_ → f5jWOXDXh3GdBy9EK8IDc}/_buildManifest.js +1 -1
- package/.next/trace +111 -109
- package/.turbo/turbo-build.log +18 -24
- package/.turbo/turbo-test.log +5 -5
- package/@generated/gql.ts +2 -2
- package/@generated/graphql.ts +59 -7
- package/@generated/persisted-documents.json +3 -3
- package/CHANGELOG.md +12 -0
- package/cms/faststore/sections.json +85 -0
- package/discovery.config.default.js +6 -0
- package/package.json +5 -4
- package/src/components/cms/GlobalSections.tsx +13 -9
- package/src/components/navigation/Navbar/Navbar.tsx +2 -0
- package/src/components/product/ProductCard/ProductCard.tsx +8 -0
- package/src/components/search/SearchDropdown/SearchDropdown.tsx +14 -1
- package/src/components/search/SearchInput/SearchInput.tsx +17 -2
- package/src/components/search/SearchProductItem/SearchProductItem.tsx +120 -1
- package/src/components/sections/Navbar/DefaultComponents.ts +7 -0
- package/src/components/sections/Navbar/Navbar.tsx +16 -0
- package/src/components/sections/Navbar/section.module.scss +11 -0
- package/src/components/templates/LandingPage/LandingPage.tsx +22 -18
- package/src/components/templates/ProductListingPage/ProductListing.tsx +6 -1
- package/src/components/ui/SKUMatrix/SKUMatrixSidebar.tsx +12 -4
- package/src/experimental/searchServerSideFunctions/getServerSideProps.ts +8 -5
- package/src/experimental/searchServerSideFunctions/getStaticProps.ts +9 -7
- package/src/pages/404.tsx +6 -5
- package/src/pages/500.tsx +6 -5
- package/src/pages/[...slug].tsx +11 -4
- package/src/pages/[slug]/p.tsx +14 -5
- package/src/pages/api/preview.ts +43 -18
- package/src/pages/index.tsx +9 -7
- package/src/pages/login.tsx +6 -5
- package/src/sdk/cart/useBuyButton.ts +7 -2
- package/src/sdk/error/MissingContentError/MissingContentError.ts +6 -4
- package/src/sdk/error/MultipleContentError/MultipleContentError.ts +6 -4
- package/src/server/cms/index.ts +1 -2
- package/src/server/content/service.ts +227 -0
- package/src/server/content/types.ts +26 -0
- package/src/server/content/utils.ts +8 -0
- package/src/typings/overrides.ts +1 -0
- package/.next/server/chunks/5071.js +0 -1
- package/.next/server/chunks/5284.js +0 -1
- package/.next/server/chunks/6198.js +0 -1
- package/.next/server/chunks/804.js +0 -1
- package/.next/server/chunks/9019.js +0 -1
- package/.next/server/chunks/9068.js +0 -1
- package/.next/static/chunks/1036.27f5244aaf7d0915.js +0 -1
- package/.next/static/chunks/417.08663bd4b5809548.js +0 -1
- package/.next/static/chunks/485.a35fab0c7c75a11b.js +0 -1
- package/.next/static/chunks/4865.8b1970610c412187.js +0 -1
- package/.next/static/chunks/6335-7aa183582a89bc0e.js +0 -1
- package/.next/static/chunks/pages/[...slug]-f4fd6c8d7dc53f8f.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-2e02254149cef33d.js +0 -1
- package/.next/static/chunks/webpack-f0ee32c953ec8952.js +0 -1
- package/.next/static/css/b0c0e0632c5d7f52.css +0 -1
- /package/.next/static/{YZbl2rCQaXL1-tNjqawX_ → f5jWOXDXh3GdBy9EK8IDc}/_ssgManifest.js +0 -0
package/.next/cache/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"telemetry": {
|
|
3
|
-
"notifiedAt": "
|
|
4
|
-
"anonymousId": "
|
|
5
|
-
"salt": "
|
|
3
|
+
"notifiedAt": "1747060669455",
|
|
4
|
+
"anonymousId": "5e7be6dfc08e0c800657fae8f5b09b5b5e4f0ef9f5e7e4b6bcefc09604ed5535",
|
|
5
|
+
"salt": "9f43f210c3d8f25355fc364584de89cb"
|
|
6
6
|
}
|
|
7
7
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__PRERENDER_MANIFEST="{\"version\":4,\"routes\":{\"/en-US/500\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/
|
|
1
|
+
self.__PRERENDER_MANIFEST="{\"version\":4,\"routes\":{\"/en-US/500\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/500.json\"},\"/en-US/404\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/404.json\"},\"/en-US/checkout\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/checkout.json\"},\"/en-US\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/index.json\"},\"/en-US/login\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/login.json\"},\"/en-US/s\":{\"initialRevalidateSeconds\":false,\"srcRoute\":null,\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/s.json\"}},\"dynamicRoutes\":{\"/[...slug]\":{\"routeRegex\":\"^/(.+?)(?:/)?$\",\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/[...slug].json\",\"fallback\":null,\"dataRouteRegex\":\"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/(.+?)\\\\.json$\"},\"/[slug]/p\":{\"routeRegex\":\"^/([^/]+?)/p(?:/)?$\",\"dataRoute\":\"/_next/data/f5jWOXDXh3GdBy9EK8IDc/[slug]/p.json\",\"fallback\":null,\"dataRouteRegex\":\"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/([^/]+?)/p\\\\.json$\"}},\"notFoundRoutes\":[],\"preview\":{\"previewModeId\":\"c5a2f63a050e1bc3751d9c886bb0a045\",\"previewModeSigningKey\":\"613e3d6a76f73996b1bfda3189aeb3429974c4d0bc2be88182e67422d6d4344b\",\"previewModeEncryptionKey\":\"78e6a2f919e7977920e15fee961360426b4ff13ab5515bd313add770e87cd32d\"}}"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":4,"routes":{"/en-US/500":{"initialRevalidateSeconds":false,"srcRoute":null,"dataRoute":"/_next/data/
|
|
1
|
+
{"version":4,"routes":{"/en-US/500":{"initialRevalidateSeconds":false,"srcRoute":null,"dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/500.json"},"/en-US/404":{"initialRevalidateSeconds":false,"srcRoute":null,"dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/404.json"},"/en-US/checkout":{"initialRevalidateSeconds":false,"srcRoute":null,"dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/checkout.json"},"/en-US":{"initialRevalidateSeconds":false,"srcRoute":null,"dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/index.json"},"/en-US/login":{"initialRevalidateSeconds":false,"srcRoute":null,"dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/login.json"},"/en-US/s":{"initialRevalidateSeconds":false,"srcRoute":null,"dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/s.json"}},"dynamicRoutes":{"/[...slug]":{"routeRegex":"^/(.+?)(?:/)?$","dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/[...slug].json","fallback":null,"dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/(.+?)\\.json$"},"/[slug]/p":{"routeRegex":"^/([^/]+?)/p(?:/)?$","dataRoute":"/_next/data/f5jWOXDXh3GdBy9EK8IDc/[slug]/p.json","fallback":null,"dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/([^/]+?)/p\\.json$"}},"notFoundRoutes":[],"preview":{"previewModeId":"c5a2f63a050e1bc3751d9c886bb0a045","previewModeSigningKey":"613e3d6a76f73996b1bfda3189aeb3429974c4d0bc2be88182e67422d6d4344b","previewModeEncryptionKey":"78e6a2f919e7977920e15fee961360426b4ff13ab5515bd313add770e87cd32d"}}
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"id": 4865,
|
|
76
76
|
"files": [
|
|
77
77
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
78
|
-
"static/chunks/7498-
|
|
79
|
-
"static/chunks/4865.
|
|
78
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
79
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
80
80
|
"static/chunks/UIButton.c7a3273ac6ee5da5.js"
|
|
81
81
|
]
|
|
82
82
|
},
|
|
@@ -209,8 +209,8 @@
|
|
|
209
209
|
"id": 4865,
|
|
210
210
|
"files": [
|
|
211
211
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
212
|
-
"static/chunks/7498-
|
|
213
|
-
"static/chunks/4865.
|
|
212
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
213
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
214
214
|
"static/chunks/UIToast.85ae30e3e8cc5ec7.js"
|
|
215
215
|
]
|
|
216
216
|
},
|
|
@@ -231,8 +231,8 @@
|
|
|
231
231
|
"id": 4865,
|
|
232
232
|
"files": [
|
|
233
233
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
234
|
-
"static/chunks/7498-
|
|
235
|
-
"static/chunks/4865.
|
|
234
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
235
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
236
236
|
"static/chunks/UIToast.85ae30e3e8cc5ec7.js"
|
|
237
237
|
]
|
|
238
238
|
},
|
|
@@ -240,8 +240,8 @@
|
|
|
240
240
|
"id": 4865,
|
|
241
241
|
"files": [
|
|
242
242
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
243
|
-
"static/chunks/7498-
|
|
244
|
-
"static/chunks/4865.
|
|
243
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
244
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
245
245
|
"static/chunks/2004.a778e11dd3802b72.js"
|
|
246
246
|
]
|
|
247
247
|
},
|
|
@@ -261,23 +261,23 @@
|
|
|
261
261
|
"id": 4865,
|
|
262
262
|
"files": [
|
|
263
263
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
264
|
-
"static/chunks/7498-
|
|
265
|
-
"static/chunks/4865.
|
|
264
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
265
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
266
266
|
"static/chunks/UIToast.85ae30e3e8cc5ec7.js"
|
|
267
267
|
]
|
|
268
268
|
},
|
|
269
269
|
"../components/search/SearchInput/SearchInput.tsx -> src/components/search/SearchDropdown": {
|
|
270
270
|
"id": 417,
|
|
271
271
|
"files": [
|
|
272
|
-
"static/chunks/417.
|
|
272
|
+
"static/chunks/417.c39c1c5e5ef57b4a.js"
|
|
273
273
|
]
|
|
274
274
|
},
|
|
275
275
|
"../components/sections/BannerText/DefaultComponents.ts -> @faststore/ui": {
|
|
276
276
|
"id": 4865,
|
|
277
277
|
"files": [
|
|
278
278
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
279
|
-
"static/chunks/7498-
|
|
280
|
-
"static/chunks/4865.
|
|
279
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
280
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
281
281
|
"static/chunks/UIBannerText.5ee380812ac3772c.js"
|
|
282
282
|
]
|
|
283
283
|
},
|
|
@@ -285,8 +285,8 @@
|
|
|
285
285
|
"id": 4865,
|
|
286
286
|
"files": [
|
|
287
287
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
288
|
-
"static/chunks/7498-
|
|
289
|
-
"static/chunks/4865.
|
|
288
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
289
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
290
290
|
"static/chunks/UIToast.85ae30e3e8cc5ec7.js"
|
|
291
291
|
]
|
|
292
292
|
},
|
|
@@ -296,6 +296,12 @@
|
|
|
296
296
|
"static/chunks/ButtonSignIn.df0e3ce490436fe2.js"
|
|
297
297
|
]
|
|
298
298
|
},
|
|
299
|
+
"../components/sections/Navbar/DefaultComponents.ts -> src/components/ui/SKUMatrix/SKUMatrixSidebar": {
|
|
300
|
+
"id": 9069,
|
|
301
|
+
"files": [
|
|
302
|
+
"static/chunks/UISKUMatrixSidebar.c68540bda6d40e13.js"
|
|
303
|
+
]
|
|
304
|
+
},
|
|
299
305
|
"../components/sections/ProductDetails/ProductDetails.tsx -> @faststore/sdk": {
|
|
300
306
|
"id": 1153,
|
|
301
307
|
"files": [
|
|
@@ -331,8 +337,8 @@
|
|
|
331
337
|
"id": 4865,
|
|
332
338
|
"files": [
|
|
333
339
|
"static/chunks/2206.44239ce81a09bc17.js",
|
|
334
|
-
"static/chunks/7498-
|
|
335
|
-
"static/chunks/4865.
|
|
340
|
+
"static/chunks/7498-415859c993f5002b.js",
|
|
341
|
+
"static/chunks/4865.3e2ae9feb511c870.js",
|
|
336
342
|
"static/chunks/1173.5e86a9295010b785.js"
|
|
337
343
|
]
|
|
338
344
|
},
|
|
@@ -416,17 +422,17 @@
|
|
|
416
422
|
]
|
|
417
423
|
},
|
|
418
424
|
"[...slug].tsx -> src/components/templates/LandingPage": {
|
|
419
|
-
"id":
|
|
425
|
+
"id": 1679,
|
|
420
426
|
"files": [
|
|
421
427
|
"static/chunks/1417.feb3146f627742b7.js",
|
|
422
|
-
"static/chunks/
|
|
428
|
+
"static/chunks/630.13d3dd939b789798.js",
|
|
423
429
|
"static/css/a3ca6a9b63f657be.css",
|
|
424
430
|
"static/css/18e4be87b97035da.css",
|
|
425
431
|
"static/css/5273202f7c5e5ec1.css",
|
|
426
432
|
"static/css/62a5153ac7061286.css",
|
|
427
433
|
"static/chunks/4349-6fc936580b772e67.js",
|
|
428
434
|
"static/css/197e314c5a03eabd.css",
|
|
429
|
-
"static/chunks/
|
|
435
|
+
"static/chunks/8827.179b49f8ab3afe48.js"
|
|
430
436
|
]
|
|
431
437
|
}
|
|
432
438
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"pages404":true,"caseSensitive":false,"basePath":"","redirects":[{"source":"/:path+/","destination":"/:path+","locale":false,"internal":true,"statusCode":308,"regex":"^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"}],"headers":[],"dynamicRoutes":[{"page":"/[slug]/p","regex":"^/([^/]+?)/p(?:/)?$","routeKeys":{"nxtPslug":"nxtPslug"},"namedRegex":"^/(?<nxtPslug>[^/]+?)/p(?:/)?$"},{"page":"/[...slug]","regex":"^/(.+?)(?:/)?$","routeKeys":{"nxtPslug":"nxtPslug"},"namedRegex":"^/(?<nxtPslug>.+?)(?:/)?$"}],"staticRoutes":[{"page":"/","regex":"^/(?:/)?$","routeKeys":{},"namedRegex":"^/(?:/)?$"},{"page":"/404","regex":"^/404(?:/)?$","routeKeys":{},"namedRegex":"^/404(?:/)?$"},{"page":"/500","regex":"^/500(?:/)?$","routeKeys":{},"namedRegex":"^/500(?:/)?$"},{"page":"/account","regex":"^/account(?:/)?$","routeKeys":{},"namedRegex":"^/account(?:/)?$"},{"page":"/account/profile","regex":"^/account/profile(?:/)?$","routeKeys":{},"namedRegex":"^/account/profile(?:/)?$"},{"page":"/checkout","regex":"^/checkout(?:/)?$","routeKeys":{},"namedRegex":"^/checkout(?:/)?$"},{"page":"/login","regex":"^/login(?:/)?$","routeKeys":{},"namedRegex":"^/login(?:/)?$"},{"page":"/s","regex":"^/s(?:/)?$","routeKeys":{},"namedRegex":"^/s(?:/)?$"}],"dataRoutes":[{"page":"/","dataRouteRegex":"^/_next/data/
|
|
1
|
+
{"version":3,"pages404":true,"caseSensitive":false,"basePath":"","redirects":[{"source":"/:path+/","destination":"/:path+","locale":false,"internal":true,"statusCode":308,"regex":"^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"}],"headers":[],"dynamicRoutes":[{"page":"/[slug]/p","regex":"^/([^/]+?)/p(?:/)?$","routeKeys":{"nxtPslug":"nxtPslug"},"namedRegex":"^/(?<nxtPslug>[^/]+?)/p(?:/)?$"},{"page":"/[...slug]","regex":"^/(.+?)(?:/)?$","routeKeys":{"nxtPslug":"nxtPslug"},"namedRegex":"^/(?<nxtPslug>.+?)(?:/)?$"}],"staticRoutes":[{"page":"/","regex":"^/(?:/)?$","routeKeys":{},"namedRegex":"^/(?:/)?$"},{"page":"/404","regex":"^/404(?:/)?$","routeKeys":{},"namedRegex":"^/404(?:/)?$"},{"page":"/500","regex":"^/500(?:/)?$","routeKeys":{},"namedRegex":"^/500(?:/)?$"},{"page":"/account","regex":"^/account(?:/)?$","routeKeys":{},"namedRegex":"^/account(?:/)?$"},{"page":"/account/profile","regex":"^/account/profile(?:/)?$","routeKeys":{},"namedRegex":"^/account/profile(?:/)?$"},{"page":"/checkout","regex":"^/checkout(?:/)?$","routeKeys":{},"namedRegex":"^/checkout(?:/)?$"},{"page":"/login","regex":"^/login(?:/)?$","routeKeys":{},"namedRegex":"^/login(?:/)?$"},{"page":"/s","regex":"^/s(?:/)?$","routeKeys":{},"namedRegex":"^/s(?:/)?$"}],"dataRoutes":[{"page":"/","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/index.json$"},{"page":"/404","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/404.json$"},{"page":"/500","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/500.json$"},{"page":"/account","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/account.json$"},{"page":"/account/profile","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/account/profile.json$"},{"page":"/checkout","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/checkout.json$"},{"page":"/login","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/login.json$"},{"page":"/s","dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/s.json$"},{"page":"/[slug]/p","routeKeys":{"nxtPslug":"nxtPslug"},"dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/([^/]+?)/p\\.json$","namedDataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/(?<nxtPslug>[^/]+?)/p\\.json$"},{"page":"/[...slug]","routeKeys":{"nxtPslug":"nxtPslug"},"dataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/(.+?)\\.json$","namedDataRouteRegex":"^/_next/data/f5jWOXDXh3GdBy9EK8IDc/(?<nxtPslug>.+?)\\.json$"}],"i18n":{"locales":["en-US"],"defaultLocale":"en-US"},"rsc":{"header":"RSC","varyHeader":"RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Url","prefetchHeader":"Next-Router-Prefetch","contentTypeHeader":"text/x-component"},"rewrites":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=1454,exports.ids=[1454],exports.modules={47866:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(16689),n=r.n(a),s=r(63442);let d=(0,a.forwardRef)(function({testId:e="fs-sku-matrix",children:t,...r},a){return n().createElement("div",{ref:a,"data-fs-sku-matrix":!0,"data-testid":e,...r},n().createElement(s.Z,null,t))}),i=d},27859:(e,t,r)=>{r.d(t,{Z:()=>f});var a=r(16689),n=r.n(a),s=r(83339),d=r(72955);let i=(0,a.forwardRef)(function({children:e,variant:t="secondary",onClick:r,...a},i){let{setIsOpen:f}=(0,d._)();return n().createElement(s.Z,{ref:i,variant:t,onClick:e=>{f(!0),r?.(e)},...a},e)}),f=i}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
exports.id=1506,exports.ids=[1506],exports.modules={34708:e=>{e.exports={seo:{title:"FastStore Starter",description:"Fast Demo Store",titleTemplate:"%s | FastStore",author:"Store Framework",name:"FastStore",publisherId:"",plp:{titleTemplate:"%s | FastStore PLP",descriptionTemplate:"%s products on FastStore Product Listing Page"},pdp:{titleTemplate:"%s | FastStore PDP",descriptionTemplate:"%s products on FastStore Product Detail Page"},search:{titleTemplate:"%s: Search results title",descriptionTemplate:"%s: Search results description",noIndex:!0,noFollow:!0,bodyH1:"Showing results for:"}},theme:"custom-theme",platform:"vtex",api:{storeId:"storeframework",workspace:"master",subDomainPrefix:["www"],environment:"vtexcommercestable",hideUnavailableItems:!1,showSponsored:!1,incrementAddress:!0},session:{currency:{code:"USD",symbol:"$"},locale:"en-US",channel:'{"salesChannel":"1","regionId":"","hasOnlyDefaultSalesChannel":"true"}',country:"USA",deliveryMode:null,addressType:null,postalCode:null,geoCoordinates:null,b2b:null,person:null,marketingData:{utmCampaign:"",utmMedium:"",utmSource:"",utmiCampaign:"",utmiPart:"",utmiPage:""}},cart:{id:"",items:[],messages:[],shouldSplitItem:!0},storeUrl:"https://homebrewqa.fast.store",secureSubdomain:"https://homebrewqa.fast.store",checkoutUrl:"https://homebrewqa.fast.store/checkout",loginUrl:"https://homebrewqa.fast.store/api/io/login",accountUrl:"https://homebrewqa.fast.store/api/io/account",previewRedirects:{home:"/",plp:"/office",search:"/s?q=headphone",pdp:"/apple-magic-mouse/p"},lighthouse:{server:process.env.BASE_SITE_URL||"http://localhost:3000",pages:{home:"/",pdp:"/4k-philips-monitor-99988213/p",collection:"/office"}},cypress:{pages:{home:"/",pdp:"/4k-philips-monitor-99988213/p",collection:"/office",collection_2:"/technology",collection_filtered:"/office/?category-1=office&marca=acer&facets=category-1%2Cmarca",search:"/s?q=orange"}},analytics:{gtmContainerId:"GTM-PGHZ95N"},cms:{data:process.env.CMS_DATA},experimental:{cypressVersion:12,enableCypressExtension:!1,noRobots:!1,noindex:!1,nofollow:!1,preact:!1,enableRedirects:!1,enableSearchSSR:!1,enableFaststoreMyAccount:!1,enableVtexAssetsLoader:!1,graphqlCacheControl:{maxAge:0,staleWhileRevalidate:60}}}},11506:(e,t,o)=>{let s=o(34708),a=o(26786),r=o(56330),l=r(s,a);e.exports=l},26786:e=>{e.exports={}}};
|
|
1
|
+
exports.id=1506,exports.ids=[1506],exports.modules={34708:e=>{e.exports={seo:{title:"FastStore Starter",description:"Fast Demo Store",titleTemplate:"%s | FastStore",author:"Store Framework",name:"FastStore",publisherId:"",plp:{titleTemplate:"%s | FastStore PLP",descriptionTemplate:"%s products on FastStore Product Listing Page"},pdp:{titleTemplate:"%s | FastStore PDP",descriptionTemplate:"%s products on FastStore Product Detail Page"},search:{titleTemplate:"%s: Search results title",descriptionTemplate:"%s: Search results description",noIndex:!0,noFollow:!0,bodyH1:"Showing results for:"}},theme:"custom-theme",platform:"vtex",api:{storeId:"storeframework",workspace:"master",subDomainPrefix:["www"],environment:"vtexcommercestable",hideUnavailableItems:!1,showSponsored:!1,incrementAddress:!0},session:{currency:{code:"USD",symbol:"$"},locale:"en-US",channel:'{"salesChannel":"1","regionId":"","hasOnlyDefaultSalesChannel":"true"}',country:"USA",deliveryMode:null,addressType:null,postalCode:null,geoCoordinates:null,b2b:null,person:null,marketingData:{utmCampaign:"",utmMedium:"",utmSource:"",utmiCampaign:"",utmiPart:"",utmiPage:""}},cart:{id:"",items:[],messages:[],shouldSplitItem:!0},storeUrl:"https://homebrewqa.fast.store",secureSubdomain:"https://homebrewqa.fast.store",checkoutUrl:"https://homebrewqa.fast.store/checkout",loginUrl:"https://homebrewqa.fast.store/api/io/login",accountUrl:"https://homebrewqa.fast.store/api/io/account",previewRedirects:{home:"/",plp:"/office",search:"/s?q=headphone",pdp:"/apple-magic-mouse/p",500:"/500",404:"/404"},lighthouse:{server:process.env.BASE_SITE_URL||"http://localhost:3000",pages:{home:"/",pdp:"/4k-philips-monitor-99988213/p",collection:"/office"}},cypress:{pages:{home:"/",pdp:"/4k-philips-monitor-99988213/p",collection:"/office",collection_2:"/technology",collection_filtered:"/office/?category-1=office&marca=acer&facets=category-1%2Cmarca",search:"/s?q=orange"}},analytics:{gtmContainerId:"GTM-PGHZ95N"},cms:{data:process.env.CMS_DATA},contentSource:{type:"CMS"},experimental:{cypressVersion:12,enableCypressExtension:!1,noRobots:!1,noindex:!1,nofollow:!1,preact:!1,enableRedirects:!1,enableSearchSSR:!1,enableFaststoreMyAccount:!1,enableVtexAssetsLoader:!1,graphqlCacheControl:{maxAge:0,staleWhileRevalidate:60}}}},11506:(e,t,o)=>{let s=o(34708),a=o(26786),r=o(56330),l=r(s,a);e.exports=l},26786:e=>{e.exports={}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=3684,exports.ids=[3684,6076],exports.modules={
|
|
1
|
+
"use strict";exports.id=3684,exports.ids=[3684,6076],exports.modules={35071:(e,t,r)=>{r.d(t,{Z:()=>f});var o=r(38394),a=r(65167),n=r(50547),s=r(16689),i=r(35236),c=r.n(i),d=r(76659),l=r(56087),u=r(5436),p=r(20997);let b=["product","index","bordered","variant","aspectRatio","imgProps","ratingValue","buttonLabel","onButtonClick","showDiscountBadge","taxesConfiguration","sponsoredLabel"];function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var o;o=r[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,s.memo)(function(e){let{product:t,index:r,bordered:i=!0,variant:f="default",aspectRatio:O=1,imgProps:j,ratingValue:g,buttonLabel:h="Add",onButtonClick:y,showDiscountBadge:v=!0,taxesConfiguration:w,sponsoredLabel:m}=e,x=function(e,t){if(null==e)return{};var r,o,a=function(e,t){if(null==e)return{};var r,o,a={},n=Object.keys(e);for(o=0;o<n.length;o++)r=n[o],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,b),{sku:P,isVariantOf:{name:S},image:[k],advertisement:D,offers:{lowPrice:Z,lowPriceWithTaxes:_,offers:[{listPrice:B,availability:L,listPriceWithTaxes:T}]}}=t,I=_objectSpread(_objectSpread({},(0,u.w)({product:t,selectedOffer:0,index:r})),{},{as:c(),passHref:!0,legacyBehavior:!1,prefetch:!1}),C=(0,s.useMemo)(()=>"https://schema.org/InStock"!==L,[L]),E=w?.usePriceWithTaxes?_:Z,K=w?.usePriceWithTaxes?T:B,R=D?{"data-van-res-id":D.adResponseId,"data-van-aid":D.adId,"data-van-prod-name":S}:{};return(0,p.jsxs)(o.Z,_objectSpread(_objectSpread(_objectSpread({outOfStock:C,bordered:i,variant:f,"data-fs-product-card-sku":P},R),x),{},{children:[p.jsx(a.Z,{aspectRatio:O,children:p.jsx(d.Z,{src:k.url,alt:k.alternateName,sizes:`${j?.sizes??"(max-width: 768px) 40vw, 30vw"}`,width:j?.width??360,height:Math.round((Number(j?.height)||360)/O),loading:j?.loading})}),p.jsx(n.Z,{title:S,price:{value:E,listPrice:K,formatter:l.P},ratingValue:g,outOfStock:C,onButtonClick:y,linkProps:I,showDiscountBadge:E<=K&&v,includeTaxes:w?.usePriceWithTaxes,includeTaxesLabel:w?.taxesLabel,sponsored:!!D,sponsoredLabel:m})]}))})},93684:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o.Z});var o=r(35071)}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=416,exports.ids=[416],exports.modules={6476:(e,t,l)=>{l.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=l(16689),r=l.n(a),n=l(83339);let __WEBPACK_DEFAULT_EXPORT__=function({testId:e="fs-buy-button",icon:t,children:l,...a}){return r().createElement(n.Z,{"data-fs-buy-button":!0,icon:t,iconPosition:"left","data-testid":e,...a},l)}},8212:(e,t,l)=>{l.d(t,{Z:()=>o});var a=l(16689),r=l.n(a),n=l(13024);let i=(0,a.forwardRef)(function({title:e,label:t,refTag:l="Ref.: ",refNumber:a,testId:i="fs-product-title",ratingValue:o,...s},c){return r().createElement("header",{ref:c,"data-fs-product-title":!0,"data-testid":i,...s},r().createElement("div",{"data-fs-product-title-header":!0},e,!!t&&t),(a||o)&&r().createElement("div",{"data-fs-product-title-addendum":!0},o&&r().createElement(n.Z,{value:o}),a&&r().createElement(r().Fragment,null,l," ",a)))}),o=i},5136:(e,t,l)=>{l.d(t,{Z:()=>c});var a=l(16689),r=l.n(a),n=l(31953),i=l(40727),o=l(55450);let getImageName=e=>{let t=new URL(e).pathname,l=t.split("/").slice(-1)[0];return l},useDefineVariant=(e,t)=>(0,a.useMemo)(()=>{if(t)return t;let l=e.every(e=>e.hexColor);if(l)return"color";let a=e[0]?.src&&getImageName(e[0].src);if(a&&1===e.length)return"image";let r=e.every(e=>{if(!e.src)return!0;let t=getImageName(e.src);return t===a});return r?"label":"image"},[e,t]),useSkuSlug=(e,t,l,r)=>{let n=(0,a.useCallback)(a=>{if(r)return{getItemHrefProp:r};let n=`/${function(e,t,l){let a=Object.entries(t).flat().join("-");if(a in e)return e[a];let r=Object.keys(e),n=`${l}-${t[l]}`,i=r.filter(e=>e.includes(n)),o=i.length>1?function(e,t){let[l,a]=t.split("-");return e.find(e=>{let t=function(e){let t={},l=e.split("-");for(let e=0;e<l.length;e+=2){let a=l[e].trim(),r=l[e+1]?l[e+1].trim():"";t[a]=r}return t}(e);return t[l]===a})}(i,n):i[0];return e[o??r[0]]}(t,{...e,[l]:a.value},l)}/p`;return n},[e,r,t,l]);return{getItemHref:n}},ImageComponentFallback=({src:e,alt:t,...l})=>r().createElement("img",{src:e,alt:t,...l}),s=(0,a.forwardRef)(function({availableVariations:e,skuPropertyName:t,testId:l,activeVariations:a,linkProps:s,slugsMap:c,getItemHref:m,ImageComponent:u=ImageComponentFallback,variant:d,...f},g){let E=a[t],p=e[t],h=useDefineVariant(p,d),{getItemHref:_}=useSkuSlug(a,c,t,m);return r().createElement("div",{ref:g,"data-fs-sku-selector":!0,"data-testid":l,"data-fs-sku-selector-variant":h,...f},t&&r().createElement(n.Z,{"data-fs-sku-selector-title":!0},t,": ",r().createElement("strong",null,E)),r().createElement("ul",{"data-fs-sku-selector-list":!0},p.map((e,l)=>r().createElement("li",{key:String(l),title:e.label,"data-fs-sku-selector-option":!0,"data-fs-sku-selector-disabled":e.disabled,"data-fs-sku-selector-checked":e.value===a[t]},r().createElement(i.Z,{"data-fs-sku-selector-option-link":!0,href:_(e),...s},r().createElement(o.Z,{text:e.label})),"label"===h&&r().createElement("span",null,e.value),"image"===h&&u&&r().createElement("span",null,r().createElement(u,{src:e.src??"",alt:e.alt??"","data-fs-sku-selector-option-image":!0})),"color"===h&&r().createElement("span",null,r().createElement("div",{"data-fs-sku-selector-option-color":!0,title:e.value,style:{"--data-fs-sku-selector-option-color-bkg-color":e.hexColor}}))))))}),c=s},165:(e,t,l)=>{l.d(t,{Z:()=>o});var a=l(16689),r=l.n(a),n=l(68778);let i=(0,a.forwardRef)(function({images:e,children:t,ImageComponent:l,selectedImageIdx:a,setSelectedImageIdx:i,testId:o="fs-image-gallery",...s},c){let m=e.length>1;return r().createElement("section",{ref:c,"data-fs-image-gallery":m?"with-selector":"without-selector","data-testid":o,...s},t,m&&r().createElement(n.Z,{images:e,onSelect:i,currentImageIdx:a,ImageComponent:l}))}),o=i},68778:(e,t,l)=>{l.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=l(16689),r=l.n(a),n=l(19785),i=l(37041),o=l(2614),s=l(83339);let moveScroll=(e,t)=>{e&&(e.scrollHeight>e.clientHeight?(e.style.overflow="auto",window.requestAnimationFrame(()=>e.scrollTo({top:t,behavior:"smooth"})),setTimeout(()=>e.style.overflow="hidden",2e3)):e.scrollLeft+=t)},hasScroll=e=>!!e&&(e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth),__WEBPACK_DEFAULT_EXPORT__=function({images:e,onSelect:t,ImageComponent:l,currentImageIdx:c,testId:m="fs-image-gallery-selector","aria-label":u="Product Images",navigationButtonLeftAriaLabel:d="Backward slide image selector",navigationButtonRightAriaLabel:f="Forward slide image selector"}){let g=(0,a.useRef)(null),E=hasScroll(g.current),[p,h]=(0,a.useState)(!0),[_,k]=(0,a.useState)(!0),v=(0,a.useCallback)((t,l)=>{0===t&&h(l),t===e.length-1&&k(l)},[e.length]);return r().createElement("section",{"data-fs-image-gallery-selector":!0,"data-testid":m,"aria-label":u},E&&!p&&r().createElement("div",{"data-fs-image-gallery-selector-control":!0},r().createElement(i.Z,{"data-fs-image-gallery-selector-control-button":!0,"aria-label":d,icon:r().createElement(o.Z,{name:"ArrowLeft"}),onClick:()=>moveScroll(g.current,-400)})),r().createElement("div",{"data-fs-image-gallery-selector-elements":!0,ref:g},e.map((a,i)=>r().createElement(n.InView,{key:i,onChange:e=>v(i,e)},r().createElement(s.Z,{key:i,"aria-label":`${a.alternateName} - Image ${i+1} of ${e.length}`,onClick:()=>t(i),"data-fs-image-gallery-selector-thumbnail":i===c?"selected":"true"},r().createElement(l,{url:a.url??"",loading:0===i?"eager":"lazy",alternateName:a.alternateName??""}))))),E&&!_&&r().createElement("div",{"data-fs-image-gallery-selector-control":!0},r().createElement(i.Z,{"data-fs-image-gallery-selector-control-button":!0,"aria-label":f,icon:r().createElement(o.Z,{name:"ArrowLeft"}),onClick:()=>moveScroll(g.current,400)})))}},11431:(e,t,l)=>{l.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=l(16689),r=l.n(a);let __WEBPACK_DEFAULT_EXPORT__=({children:e})=>r().createElement(r().Fragment,null,e)},98878:(e,t,l)=>{l.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var a=l(16689),r=l.n(a),n=l(93779),i=l(40727),o=l(2614),s=l(97336),c=l(9336),m=l(44236),u=l(84256),d=l(99767);let __WEBPACK_DEFAULT_EXPORT__=function({testId:e="fs-shipping-simulation",formatter:t,title:l="Shipping",inputLabel:a="Postal Code",optionsLabel:f="Shipping options",idkPostalCodeLinkProps:g,onInput:E,onSubmit:p,onClear:h,location:_,options:k=[],displayClearButton:v=!1,errorMessage:b,postalCode:Z,...y}){let C=!!k&&k.length>0;return r().createElement("section",{"data-fs-shipping-simulation":!0,"data-fs-shipping-simulation-empty":C?"false":"true","data-testid":e,...y},r().createElement("h2",{"data-fs-shipping-simulation-title":!0},l),r().createElement(n.Z,{actionable:!0,error:b,id:`${e}-input-field`,label:a,value:Z,onInput:e=>E?.(e),onSubmit:()=>p?.(),onClear:()=>h?.(),displayClearButton:v}),r().createElement(i.Z,{href:"/","data-fs-shipping-simulation-link":!0,size:"small",...g},g?.children??r().createElement(r().Fragment,null,"I don't know my Postal Code",r().createElement(o.Z,{name:"ArrowSquareOut",width:20,height:20}))),C&&r().createElement(r().Fragment,null,r().createElement("header",{"data-fs-shipping-simulation-header":!0},r().createElement("h3",{"data-fs-shipping-simulation-subtitle":!0},f),r().createElement("p",{"data-fs-shipping-simulation-location":!0},_)),r().createElement(s.Z,null,r().createElement(c.Z,null,k.map(e=>r().createElement(m.Z,{key:e.carrier},r().createElement(u.Z,{align:"left"},e.carrier),r().createElement(u.Z,null,e.localizedEstimates),r().createElement(u.Z,{align:"right"},e.price&&r().createElement(d.Z,{formatter:t,value:e.price,SRText:"price"}))))))))}}};
|