@faststore/core 3.7.0 → 3.8.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 +31 -31
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +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-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +2 -2
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/5754.js +1 -1
- package/.next/server/chunks/9572.js +3 -3
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/account.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/{1153.d7522522b6c917ed.js → 1153.7f616071da309cf5.js} +1 -1
- package/.next/static/chunks/{1978.6d1246731da0f1b0.js → 1978.afceeb8879bd2646.js} +1 -1
- package/.next/static/chunks/7563-e2275f3ee79ddd83.js +1 -0
- package/.next/static/chunks/pages/{404-358f6795222bf991.js → 404-71d5202357fb9e69.js} +1 -1
- package/.next/static/chunks/pages/{500-7adc48c3231ccee1.js → 500-75704d5230292280.js} +1 -1
- package/.next/static/chunks/pages/{[...slug]-0203b74377537f7d.js → [...slug]-21a03c0e2b98783d.js} +1 -1
- package/.next/static/chunks/pages/[slug]/{p-c005eeb4788692e7.js → p-fcdc2b26731a7f07.js} +1 -1
- package/.next/static/chunks/pages/{account-9db0ef5c4174c7dd.js → account-1d2b1635afa59ace.js} +1 -1
- package/.next/static/chunks/pages/{checkout-abaa6374ae946641.js → checkout-4b85659485b4500c.js} +1 -1
- package/.next/static/chunks/pages/{index-ad532cf8840c5d3f.js → index-2ec096f367505f35.js} +1 -1
- package/.next/static/chunks/pages/{login-8d2eb8db226d6363.js → login-363e38c5172ec5a4.js} +1 -1
- package/.next/static/chunks/pages/{s-ba5734fbe496d9af.js → s-d74217745109de5d.js} +1 -1
- package/.next/static/chunks/{webpack-0d0b6c5bc10dfaad.js → webpack-bd90055e2ebc407d.js} +1 -1
- package/.next/static/er25JH1Tpwm62rGwg_DUa/_buildManifest.js +1 -0
- package/.next/trace +98 -98
- package/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +5 -5
- package/CHANGELOG.md +6 -0
- package/package.json +2 -2
- package/src/components/cms/RenderSections.tsx +55 -8
- package/src/components/cms/ViewportObserver.tsx +3 -1
- package/src/sdk/performance/useTTI.ts +35 -0
- package/.next/static/chunks/1550-a6207993ae890714.js +0 -1
- package/.next/static/wTXZLYjYfhhubsnCUqtpc/_buildManifest.js +0 -1
- /package/.next/static/{wTXZLYjYfhhubsnCUqtpc → er25JH1Tpwm62rGwg_DUa}/_ssgManifest.js +0 -0
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
workspace: 'master'
|
|
25
25
|
});
|
|
26
26
|
</script><script>!(function(w,p,f,c){c=w[p]=w[p]||{};c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.6.4 - MIT builder.io */
|
|
27
|
-
!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><link rel="preload" href="/_next/static/css/ee0556daedda6306.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/ee0556daedda6306.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/93d239c461485bdf.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/93d239c461485bdf.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-
|
|
27
|
+
!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><link rel="preload" href="/_next/static/css/ee0556daedda6306.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/ee0556daedda6306.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/93d239c461485bdf.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/93d239c461485bdf.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-bd90055e2ebc407d.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-12a146e94cfcf7c4.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-209ac4974b020af1.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-9d791333b87e7c18.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6941-6223429b182b7109.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/7563-e2275f3ee79ddd83.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/login-363e38c5172ec5a4.js" defer="" crossorigin=""></script><script src="/_next/static/er25JH1Tpwm62rGwg_DUa/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/er25JH1Tpwm62rGwg_DUa/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><div data-store-section-name="EmptyState" style="height:823px;width:100%"></div><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"1e5aeadd-cc4c-11ef-b37f-cd77f207568a","name":"Login Page","type":"login","status":"published","versionId":"1daf9430-cc4c-11ef-b37f-c7d5d0b9907d","versionStatus":"published","sections":[{"id":"f352462c-0998-43e1-92c1-bf07f8c232b2","name":"EmptyState","data":{"titleIcon":{},"showLoader":true,"errorState":{"errorId":{},"fromUrl":{}},"title":"Loading"}}]},"globalSections":{"id":"1cd7422a-cc4c-11ef-b37f-a4a698d713a3","name":"Global Sections","type":"globalSections","status":"published","versionId":"f64b6509-0bbf-4384-aed9-42197adf6465","versionStatus":"published","sections":[{"id":"3f4e7461-7437-4fee-bab8-4b1241c76aea","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"e535cdd3-c4a7-4b6a-89ab-19cfa783180b","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"placeholder":"Search everything at the store","sort":"score_desc","quickOrder":true},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"5c64393a-65dd-4799-9ee4-183634cf919c","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"2dcc798c-e1b0-4cc3-800c-a3f59a6fa586","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}},"quantitySelector":{"useUnitMultiplier":false},"taxesConfiguration":{"usePriceWithTaxes":false,"taxesLabel":"Tax included"}}},{"id":"fefd7947-bfc6-4936-b81e-472e6ae1b635","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"18cedf35-4468-4a56-86d5-9ca0e32b1b26","name":"Children","data":{}},{"id":"ecc65b0c-1da4-40dd-bc24-37be715710b2","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]}},"__N_SSG":true},"page":"/login","query":{},"buildId":"er25JH1Tpwm62rGwg_DUa","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
workspace: 'master'
|
|
25
25
|
});
|
|
26
26
|
</script><script>!(function(w,p,f,c){c=w[p]=w[p]||{};c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.6.4 - MIT builder.io */
|
|
27
|
-
!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><link rel="preload" href="/_next/static/css/ee0556daedda6306.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/ee0556daedda6306.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/93d239c461485bdf.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/93d239c461485bdf.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/6e34c6c07086e3df.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/6e34c6c07086e3df.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-0d0b6c5bc10dfaad.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-12a146e94cfcf7c4.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-209ac4974b020af1.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-9d791333b87e7c18.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6941-6223429b182b7109.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/1550-a6207993ae890714.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/4501-7857a5a8218d9f58.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/s-ba5734fbe496d9af.js" defer="" crossorigin=""></script><script src="/_next/static/wTXZLYjYfhhubsnCUqtpc/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/wTXZLYjYfhhubsnCUqtpc/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><span data-fs-sr-only="true">Search Results</span><section class="section section_section__4Hqa8 section-product-gallery"><section data-testid="product-gallery" data-fs-product-listing="true"><section class="section section_section__KG_b8 section-empty-state"><section data-fs-empty-state="true" data-fs-empty-state-variant="default" data-fs-empty-state-bkg-color="light" data-fs-content="empty-state" data-testid="fs-empty-state"><span data-fs-loader="true" data-fs-loader-variant="dark" data-testid="fs-loader"><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span></span></section></section></section></section></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"1ad3edf3-cc4c-11ef-b37f-95e6f74ab59d","name":"Search Page","type":"search","status":"published","versionId":"1c158526-cc4c-11ef-b37f-e657cb2957d1","versionStatus":"published","sections":[{"id":"ab197540-fd47-4cd3-94d5-dc40aa451fee","name":"Breadcrumb","data":{"icon":"House","alt":"All Products result!!"}},{"id":"174b77c0-b06e-4a9d-916f-a48b58defdd3","name":"ProductGallery","data":{"searchTermLabel":"Showing results for:","totalCountLabel":"Results","previousPageButton":{"icon":{"icon":"ArrowLeft","alt":"Arrow Left icon"},"label":"Previous Page"},"loadMorePageButton":{"label":"Load more products"},"filter":{"title":"Filters","mobileOnly":{"filterButton":{"label":"Filters","icon":{"icon":"FadersHorizontal","alt":"Open Filters"}},"clearButtonLabel":"Clear All","applyButtonLabel":"Apply"}},"productCard":{"showDiscountBadge":true,"bordered":true}}}]},"globalSections":{"id":"1cd7422a-cc4c-11ef-b37f-a4a698d713a3","name":"Global Sections","type":"globalSections","status":"published","versionId":"f64b6509-0bbf-4384-aed9-42197adf6465","versionStatus":"published","sections":[{"id":"3f4e7461-7437-4fee-bab8-4b1241c76aea","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"e535cdd3-c4a7-4b6a-89ab-19cfa783180b","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"placeholder":"Search everything at the store","sort":"score_desc","quickOrder":true},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"5c64393a-65dd-4799-9ee4-183634cf919c","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"2dcc798c-e1b0-4cc3-800c-a3f59a6fa586","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}},"quantitySelector":{"useUnitMultiplier":false},"taxesConfiguration":{"usePriceWithTaxes":false,"taxesLabel":"Tax included"}}},{"id":"fefd7947-bfc6-4936-b81e-472e6ae1b635","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"18cedf35-4468-4a56-86d5-9ca0e32b1b26","name":"Children","data":{}},{"id":"ecc65b0c-1da4-40dd-bc24-37be715710b2","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]}},"__N_SSG":true},"page":"/s","query":{},"buildId":"wTXZLYjYfhhubsnCUqtpc","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
|
|
27
|
+
!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><link rel="preload" href="/_next/static/css/ee0556daedda6306.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/ee0556daedda6306.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/93d239c461485bdf.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/93d239c461485bdf.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/6e34c6c07086e3df.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/6e34c6c07086e3df.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/2980acad3f8e1028.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/2980acad3f8e1028.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-bd90055e2ebc407d.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-12a146e94cfcf7c4.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-209ac4974b020af1.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-9d791333b87e7c18.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6941-6223429b182b7109.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/7563-e2275f3ee79ddd83.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/4501-7857a5a8218d9f58.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/s-d74217745109de5d.js" defer="" crossorigin=""></script><script src="/_next/static/er25JH1Tpwm62rGwg_DUa/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/er25JH1Tpwm62rGwg_DUa/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><span data-fs-sr-only="true">Search Results</span><section class="section section_section__4Hqa8 section-product-gallery"><section data-testid="product-gallery" data-fs-product-listing="true"><section class="section section_section__KG_b8 section-empty-state"><section data-fs-empty-state="true" data-fs-empty-state-variant="default" data-fs-empty-state-bkg-color="light" data-fs-content="empty-state" data-testid="fs-empty-state"><span data-fs-loader="true" data-fs-loader-variant="dark" data-testid="fs-loader"><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span><span data-fs-loader-item="true"></span></span></section></section></section></section></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"1ad3edf3-cc4c-11ef-b37f-95e6f74ab59d","name":"Search Page","type":"search","status":"published","versionId":"1c158526-cc4c-11ef-b37f-e657cb2957d1","versionStatus":"published","sections":[{"id":"ab197540-fd47-4cd3-94d5-dc40aa451fee","name":"Breadcrumb","data":{"icon":"House","alt":"All Products result!!"}},{"id":"174b77c0-b06e-4a9d-916f-a48b58defdd3","name":"ProductGallery","data":{"searchTermLabel":"Showing results for:","totalCountLabel":"Results","previousPageButton":{"icon":{"icon":"ArrowLeft","alt":"Arrow Left icon"},"label":"Previous Page"},"loadMorePageButton":{"label":"Load more products"},"filter":{"title":"Filters","mobileOnly":{"filterButton":{"label":"Filters","icon":{"icon":"FadersHorizontal","alt":"Open Filters"}},"clearButtonLabel":"Clear All","applyButtonLabel":"Apply"}},"productCard":{"showDiscountBadge":true,"bordered":true}}}]},"globalSections":{"id":"1cd7422a-cc4c-11ef-b37f-a4a698d713a3","name":"Global Sections","type":"globalSections","status":"published","versionId":"f64b6509-0bbf-4384-aed9-42197adf6465","versionStatus":"published","sections":[{"id":"3f4e7461-7437-4fee-bab8-4b1241c76aea","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"e535cdd3-c4a7-4b6a-89ab-19cfa783180b","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"placeholder":"Search everything at the store","sort":"score_desc","quickOrder":true},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"5c64393a-65dd-4799-9ee4-183634cf919c","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"2dcc798c-e1b0-4cc3-800c-a3f59a6fa586","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}},"quantitySelector":{"useUnitMultiplier":false},"taxesConfiguration":{"usePriceWithTaxes":false,"taxesLabel":"Tax included"}}},{"id":"fefd7947-bfc6-4936-b81e-472e6ae1b635","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"18cedf35-4468-4a56-86d5-9ca0e32b1b26","name":"Children","data":{}},{"id":"ecc65b0c-1da4-40dd-bc24-37be715710b2","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]}},"__N_SSG":true},"page":"/s","query":{},"buildId":"er25JH1Tpwm62rGwg_DUa","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
workspace: 'master'
|
|
25
25
|
});
|
|
26
26
|
</script><script>!(function(w,p,f,c){c=w[p]=w[p]||{};c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.6.4 - MIT builder.io */
|
|
27
|
-
!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><link rel="preload" href="/_next/static/css/ee0556daedda6306.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/ee0556daedda6306.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/93d239c461485bdf.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/93d239c461485bdf.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/b1806cbafd0c1f81.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/b1806cbafd0c1f81.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-0d0b6c5bc10dfaad.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-12a146e94cfcf7c4.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-209ac4974b020af1.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-9d791333b87e7c18.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6941-6223429b182b7109.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/1550-a6207993ae890714.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/index-ad532cf8840c5d3f.js" defer="" crossorigin=""></script><script src="/_next/static/wTXZLYjYfhhubsnCUqtpc/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/wTXZLYjYfhhubsnCUqtpc/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><div data-store-section-name="Hero" style="height:823px;width:100%"></div><div data-store-section-name="Incentives" style="height:823px;width:100%"></div><div data-store-section-name="ProductTiles" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="BannerText" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="Newsletter" style="height:823px;width:100%"></div><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"1df00233-cc4c-11ef-b37f-f819bcc65456","name":"Home","type":"home","status":"published","versionId":"196925b3-cc4c-11ef-b37f-8c885e793559","versionStatus":"published","sections":[{"id":"baa8ba25-17ff-4ad2-add6-5e4800a28f9a","name":"Hero","data":{"link":{"linkTargetBlank":false,"text":"See Offers","url":"/technology"},"image":{"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/1e46eee3-5cd9-4911-8a81-501fe9c744fe___57d4662d50c07e760e6e74d8da282508.jpg","alt":"technology banner"},"title":"Black November Huge Sale! 80% OFF","subtitle":"At FastStore you can shop the best tech of 2024. Enjoy and get 10% off on your first purchase!","linkText":"See ","imageAlt":"office","imageSrc":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/17555ae3-3405-4be6-a19a-e76997a333ea___1fa52ed2b11886ffe215bab9588c345d.jpg","colorVariant":"main","variant":"primary"}},{"id":"0bbee4f2-6aef-4afa-9e8e-ee0f2b0c3837","name":"Incentives","data":{"incentives":[{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"Truck","alt":"Truck"},{"title":"Free return","firstLineText":"30 days to return","icon":"Calendar","alt":"Calendar"},{"title":"Gift cards","firstLineText":"$20/$30/$40","icon":"Gift","alt":"Gift"},{"title":"Physical Stores","firstLineText":"+40 Stores in Brazil","icon":"Storefront","alt":"Store Front"},{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"ShieldCheck","alt":"Shield Check"}]}},{"id":"fd6a3b2e-9958-41d2-bec2-855accbfb81b","name":"ProductTiles","data":{"first":3,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"title":"Just Arrived!"}},{"id":"ef21c6c1-c6e3-4215-b7ee-68780bc8bdf1","name":"ProductShelf","data":{"numberOfItems":10,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"140"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Most Wanted"}},{"id":"3c8b4e71-af40-46cf-a44a-707d542cb327","name":"BannerText","data":{"link":{"linkTargetBlank":false,"text":"Check it out now!","url":"/office"},"actionLabel":"Check it out now!","actionPath":"/office","caption":"Enjoy and get 10% off on your first purchase!!","title":"The sun has set out Summer Sale! Save up to 50% off. Don't miss out!","colorVariant":"light","variant":"primary"}},{"id":"13252b2f-9635-4f54-b6e0-0e016840a2e0","name":"ProductShelf","data":{"numberOfItems":5,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Deals \u0026 Promotions"}},{"id":"83a041ba-15d3-4250-a63a-096907d1c236","name":"Newsletter","data":{"icon":{"icon":"Envelop","alt":"Envelop"},"title":"Get News and Special Offers!","description":"Receive our news and promotions in advance. Enjoy and get 10% off your first purchase. For more information click here.","emailInputLabel":"Your Email","displayNameInput":true,"nameInputLabel":"Your Name","subscribeButtonLabel":"Subscribe","subscribeButtonLoadingLabel":"Loading...","card":false,"colorVariant":"main","toastSubscribe":{"title":"Hooray!","message":"Thank for your subscription.","icon":"CircleWavyCheck"},"toastSubscribeError":{"title":"Oops.","message":"Something went wrong. Please Try again.","icon":"CircleWavyWarning"},"privacyPolicy":"{\"blocks\":[{\"key\":\"clnfu\",\"text\":\"By subscribing to our newsletter you agree to to our Privacy Policy\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[{\"offset\":53,\"length\":14,\"key\":0}],\"data\":{}}],\"entityMap\":{\"0\":{\"type\":\"LINK\",\"mutability\":\"MUTABLE\",\"data\":{\"url\":\"/\"}}}}"}}]},"globalSections":{"id":"1cd7422a-cc4c-11ef-b37f-a4a698d713a3","name":"Global Sections","type":"globalSections","status":"published","versionId":"f64b6509-0bbf-4384-aed9-42197adf6465","versionStatus":"published","sections":[{"id":"3f4e7461-7437-4fee-bab8-4b1241c76aea","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"e535cdd3-c4a7-4b6a-89ab-19cfa783180b","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"placeholder":"Search everything at the store","sort":"score_desc","quickOrder":true},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"5c64393a-65dd-4799-9ee4-183634cf919c","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"2dcc798c-e1b0-4cc3-800c-a3f59a6fa586","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}},"quantitySelector":{"useUnitMultiplier":false},"taxesConfiguration":{"usePriceWithTaxes":false,"taxesLabel":"Tax included"}}},{"id":"fefd7947-bfc6-4936-b81e-472e6ae1b635","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"18cedf35-4468-4a56-86d5-9ca0e32b1b26","name":"Children","data":{}},{"id":"ecc65b0c-1da4-40dd-bc24-37be715710b2","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]},"serverData":null},"__N_SSG":true},"page":"/","query":{},"buildId":"wTXZLYjYfhhubsnCUqtpc","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
|
|
27
|
+
!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll('script[type="text/partytown"]'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.6.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);document.currentScript.dataset.partytown="";</script><link rel="preload" href="/_next/static/css/ee0556daedda6306.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/ee0556daedda6306.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/93d239c461485bdf.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/93d239c461485bdf.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/b1806cbafd0c1f81.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/b1806cbafd0c1f81.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-bd90055e2ebc407d.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-12a146e94cfcf7c4.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-209ac4974b020af1.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-9d791333b87e7c18.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/6941-6223429b182b7109.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/7563-e2275f3ee79ddd83.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/index-2ec096f367505f35.js" defer="" crossorigin=""></script><script src="/_next/static/er25JH1Tpwm62rGwg_DUa/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/er25JH1Tpwm62rGwg_DUa/_ssgManifest.js" defer="" crossorigin=""></script></head><body class="theme"><div id="__next"><div data-store-section-name="Alert" style="height:823px;width:100%"></div><div data-store-section-name="Navbar" style="height:823px;width:100%"></div><div data-store-section-name="RegionBar" style="height:823px;width:100%"></div><div data-store-section-name="Hero" style="height:823px;width:100%"></div><div data-store-section-name="Incentives" style="height:823px;width:100%"></div><div data-store-section-name="ProductTiles" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="BannerText" style="height:823px;width:100%"></div><div data-store-section-name="ProductShelf" style="height:823px;width:100%"></div><div data-store-section-name="Newsletter" style="height:823px;width:100%"></div><div data-store-section-name="Toast" style="height:823px;width:100%"></div><div data-store-section-name="Footer" style="height:823px;width:100%"></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"page":{"id":"1df00233-cc4c-11ef-b37f-f819bcc65456","name":"Home","type":"home","status":"published","versionId":"196925b3-cc4c-11ef-b37f-8c885e793559","versionStatus":"published","sections":[{"id":"baa8ba25-17ff-4ad2-add6-5e4800a28f9a","name":"Hero","data":{"link":{"linkTargetBlank":false,"text":"See Offers","url":"/technology"},"image":{"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/1e46eee3-5cd9-4911-8a81-501fe9c744fe___57d4662d50c07e760e6e74d8da282508.jpg","alt":"technology banner"},"title":"Black November Huge Sale! 80% OFF","subtitle":"At FastStore you can shop the best tech of 2024. Enjoy and get 10% off on your first purchase!","linkText":"See ","imageAlt":"office","imageSrc":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/17555ae3-3405-4be6-a19a-e76997a333ea___1fa52ed2b11886ffe215bab9588c345d.jpg","colorVariant":"main","variant":"primary"}},{"id":"0bbee4f2-6aef-4afa-9e8e-ee0f2b0c3837","name":"Incentives","data":{"incentives":[{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"Truck","alt":"Truck"},{"title":"Free return","firstLineText":"30 days to return","icon":"Calendar","alt":"Calendar"},{"title":"Gift cards","firstLineText":"$20/$30/$40","icon":"Gift","alt":"Gift"},{"title":"Physical Stores","firstLineText":"+40 Stores in Brazil","icon":"Storefront","alt":"Store Front"},{"title":"Buy online","firstLineText":"Get Free Shipping","icon":"ShieldCheck","alt":"Shield Check"}]}},{"id":"fd6a3b2e-9958-41d2-bec2-855accbfb81b","name":"ProductTiles","data":{"first":3,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"title":"Just Arrived!"}},{"id":"ef21c6c1-c6e3-4215-b7ee-68780bc8bdf1","name":"ProductShelf","data":{"numberOfItems":10,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"140"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Most Wanted"}},{"id":"3c8b4e71-af40-46cf-a44a-707d542cb327","name":"BannerText","data":{"link":{"linkTargetBlank":false,"text":"Check it out now!","url":"/office"},"actionLabel":"Check it out now!","actionPath":"/office","caption":"Enjoy and get 10% off on your first purchase!!","title":"The sun has set out Summer Sale! Save up to 50% off. Don't miss out!","colorVariant":"light","variant":"primary"}},{"id":"13252b2f-9635-4f54-b6e0-0e016840a2e0","name":"ProductShelf","data":{"numberOfItems":5,"itemsPerPage":5,"after":"0","sort":"score_desc","selectedFacets":[{"key":"productClusterIds","value":"142"}],"productCardConfiguration":{"showDiscountBadge":true,"bordered":true},"title":"Deals \u0026 Promotions"}},{"id":"83a041ba-15d3-4250-a63a-096907d1c236","name":"Newsletter","data":{"icon":{"icon":"Envelop","alt":"Envelop"},"title":"Get News and Special Offers!","description":"Receive our news and promotions in advance. Enjoy and get 10% off your first purchase. For more information click here.","emailInputLabel":"Your Email","displayNameInput":true,"nameInputLabel":"Your Name","subscribeButtonLabel":"Subscribe","subscribeButtonLoadingLabel":"Loading...","card":false,"colorVariant":"main","toastSubscribe":{"title":"Hooray!","message":"Thank for your subscription.","icon":"CircleWavyCheck"},"toastSubscribeError":{"title":"Oops.","message":"Something went wrong. Please Try again.","icon":"CircleWavyWarning"},"privacyPolicy":"{\"blocks\":[{\"key\":\"clnfu\",\"text\":\"By subscribing to our newsletter you agree to to our Privacy Policy\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[{\"offset\":53,\"length\":14,\"key\":0}],\"data\":{}}],\"entityMap\":{\"0\":{\"type\":\"LINK\",\"mutability\":\"MUTABLE\",\"data\":{\"url\":\"/\"}}}}"}}]},"globalSections":{"id":"1cd7422a-cc4c-11ef-b37f-a4a698d713a3","name":"Global Sections","type":"globalSections","status":"published","versionId":"f64b6509-0bbf-4384-aed9-42197adf6465","versionStatus":"published","sections":[{"id":"3f4e7461-7437-4fee-bab8-4b1241c76aea","name":"Alert","data":{"link":{"text":"Buy now","to":"/office"},"dismissible":true,"icon":"BellRinging","content":"Get 15% off today: NEW15!"}},{"id":"e535cdd3-c4a7-4b6a-89ab-19cfa783180b","name":"Navbar","data":{"logo":{"link":{"url":"/","title":"Go To Home"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ab9997f4-8fd6-46f5-99d2-9d5af3ef5e34___6d75a203771d7408d8f0d1c660a076dd.png","alt":"Store logo"},"searchInput":{"placeholder":"Search everything at the store","sort":"score_desc","quickOrder":true},"signInButton":{"icon":{"icon":"User","alt":"User"},"label":"Sign In","myAccountLabel":"My Account"},"cartIcon":{"icon":"ShoppingCart","alt":"Shopping Cart"},"navigation":{"regionalization":{"enabled":true,"icon":{"icon":"MapPin","alt":"MapPin"},"label":"Set Your Location"},"pageLinks":[{"text":"Office","url":"/office"},{"text":"Technology","url":"/technology"}],"menu":{"icon":{"icon":"List","alt":"List"}},"home":{"label":"Go to Home"}}}},{"id":"5c64393a-65dd-4799-9ee4-183634cf919c","name":"RegionBar","data":{"icon":{"icon":"MapPin","alt":"Map Pin icon"},"label":"Set your location","editLabel":"Edit","buttonIcon":{"icon":"CaretRight","alt":"Caret Right icon"}}},{"id":"2dcc798c-e1b0-4cc3-800c-a3f59a6fa586","name":"CartSidebar","data":{"title":"Your Cart","alert":{"icon":{"icon":"Truck","alt":"Arrow Right icon"},"text":"Free shipping starts at $300"},"checkoutButton":{"label":"Checkout","loadingLabel":"Loading...","icon":{"icon":"ArrowRight","alt":"Arrow Right icon"}},"quantitySelector":{"useUnitMultiplier":false},"taxesConfiguration":{"usePriceWithTaxes":false,"taxesLabel":"Tax included"}}},{"id":"fefd7947-bfc6-4936-b81e-472e6ae1b635","name":"RegionModal","data":{"title":"Set your location","description":"Prices, offers and availability may vary according to your location.","closeButtonAriaLabel":"Close Region Modal","inputField":{"label":"Postal Code","errorMessage":"You entered an invalid Postal Code"},"idkPostalCodeLink":{"text":"I don't know my Postal Code","icon":{"icon":"ArrowSquareOut","alt":"Arrow Square Out icon"}}}},{"id":"18cedf35-4468-4a56-86d5-9ca0e32b1b26","name":"Children","data":{}},{"id":"ecc65b0c-1da4-40dd-bc24-37be715710b2","name":"Footer","data":{"incentives":[{"title":" ","firstLineText":"Trusted","icon":"ShieldCheck","secondLineText":"by Safecon"},{"title":" ","firstLineText":"Free","icon":"Calendar","secondLineText":"Return"},{"title":" ","firstLineText":"Pickup","icon":"Storefront","secondLineText":"Options"},{"firstLineText":"Free","secondLineText":"Shipping","title":" ","icon":"Truck"}],"footerLinks":[{"items":[{"text":"About Us","url":"https://starter.vtex.app"},{"text":"Our Blog","url":"https://starter.vtex.app"},{"text":"Stores","url":"https://starter.vtex.app"},{"text":"Work With Us","url":"https://starter.vtex.app"}],"sectionTitle":"Our company"},{"items":[{"text":"Returns and Exchanges","url":"/"},{"text":"Product Recall","url":"/"},{"text":"Gift Cards","url":"/"}],"sectionTitle":"Orders and Purchases"},{"items":[{"text":"Support Center","url":"/"},{"text":"Support \u0026 Services","url":"/"},{"text":"Contact Us","url":"/"}],"sectionTitle":"Support \u0026 Services"},{"items":[{"text":"Affiliate Program","url":"/"},{"text":"Marketplace","url":"/"}],"sectionTitle":"Partnerships"}],"footerSocial":{"title":"Follow Us","socialLinks":[{"icon":{"icon":"Facebook"},"alt":"Facebook","url":"https://www.facebook.com"},{"icon":{"icon":"Instagram"},"alt":"Instagram","url":"https://www.instagram.com"},{"icon":{"icon":"Pinterest"},"alt":"Pinterest","url":"https://www.pinterest.com"},{"icon":{"icon":"Twitter"},"alt":"Twitter","url":"https://www.twitter.com"}]},"logo":{"link":{"title":"FastStore Starter","url":"https://starter.vtex.app/"},"src":"https://storeframework.vtexassets.com/assets/vtex.file-manager-graphql/images/ec191c4a-32d8-41a9-9255-f319819bc98c___c24a66e2bef2c3f2bea07571a3636804.png","alt":"Store Logo"},"acceptedPaymentMethods":{"showPaymentMethods":true,"title":"Payment Methods","paymentMethods":[{"icon":{"icon":"Diners"},"alt":"Diners Club"},{"icon":{"icon":"Visa"},"alt":"Visa"},{"icon":{"icon":"Mastercard"},"alt":"Mastercard"},{"icon":{"icon":"EloCard"},"alt":"Elo Card"},{"icon":{"icon":"PayPal"},"alt":"PayPal"},{"icon":{"icon":"GooglePay"},"alt":"GooglePay"},{"icon":{"icon":"ApplePay"},"alt":"Apple Pay"}]},"copyrightInfo":"This website uses VTEX technology. In-store price may vary. Prices and offers are subject to change. 2023 Brandless Store. All rights reserved. Store is a trademark of Store and its affiliated companies. Mount St, 000, New York / NY - 00000."}}]},"serverData":null},"__N_SSG":true},"page":"/","query":{},"buildId":"er25JH1Tpwm62rGwg_DUa","isFallback":false,"gsp":true,"locale":"en-US","locales":["en-US"],"defaultLocale":"en-US","scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/api/graphql":"pages/api/graphql.js","/api/health/live":"pages/api/health/live.js","/api/health/ready":"pages/api/health/ready.js","/api/preview":"pages/api/preview.js","/404":"pages/404.js","/
|
|
1
|
+
{"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/api/graphql":"pages/api/graphql.js","/api/health/live":"pages/api/health/live.js","/api/health/ready":"pages/api/health/ready.js","/api/preview":"pages/api/preview.js","/404":"pages/404.js","/[...slug]":"pages/[...slug].js","/account":"pages/account.js","/[slug]/p":"pages/[slug]/p.js","/checkout":"pages/checkout.js","/login":"pages/login.js","/":"pages/index.js","/s":"pages/s.js","/500":"pages/500.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1153,1552,7195],{425:function(e,t,r){let n;r.d(t,{U2:function(){return get},t8:function(){return set}});var esm=function(){let e;let t=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);return t&&indexedDB.databases?new Promise(t=>{let tryIdb=()=>indexedDB.databases().finally(t);e=setInterval(tryIdb,100),tryIdb()}).finally(()=>clearInterval(e)):Promise.resolve()};function promisifyRequest(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function defaultGetStore(){return n||(n=function(e,t){let r=esm().then(()=>{let r=indexedDB.open(e);return r.onupgradeneeded=()=>r.result.createObjectStore(t),promisifyRequest(r)});return(e,n)=>r.then(r=>n(r.transaction(t,e).objectStore(t)))}("keyval-store","keyval")),n}function get(e,t=defaultGetStore()){return t("readonly",t=>promisifyRequest(t.get(e)))}function set(e,t,r=defaultGetStore()){return r("readwrite",r=>(r.put(t,e),promisifyRequest(r.transaction)))}},9380:function(e,t,r){r.d(t,{n:function(){return createCartStore}});var n=r(2254),a=r(9578);let createCartStore=(e,t,r="fs::cart")=>{let i=(0,a.M)(e,r,t),getItem=e=>i.read().items.find(t=>t.id===e);return{...i,getItem,addItem:e=>{if(!e.id)throw new n.q("You must provide an `id` for items");if(e.quantity<0)throw new n.q("Item quantity needs to be higher than zero");let t=i.read(),r=getItem(e.id),a=r?{...e,quantity:r.quantity+e.quantity}:e;i.set({...t,items:r?t.items.map(e=>e===r?a:e):[...t.items,a]})},updateItemQuantity:(e,t)=>{let r=i.read(),a=getItem(e);if(!a)throw new n.q(`Item with id not found: ${e}`);let o={...a,quantity:t};i.set({...r,items:r.items.map(e=>e===a?o:e).filter(e=>e.quantity>0)})},removeItem:e=>{let t=i.read(),r=getItem(e);i.set({...t,items:t.items.filter(e=>e!==r)})},emptyCart:()=>i.set({...i.read(),items:[]}),inCart:e=>!!getItem(e),isEmpty:()=>0===i.read().items.length}}},1153:function(e,t,r){r.r(t),r.d(t,{ANALYTICS_EVENT_TYPE:function(){return n.vi},STORE_EVENT_PREFIX:function(){return n.Mi},SearchProvider:function(){return c.z},UIContext:function(){return m},UIProvider:function(){return Provider_Provider},compose:function(){return b.q},createBaseStore:function(){return y.M},createCartStore:function(){return p.n},createSessionStore:function(){return S.S},createStore:function(){return v.M},formatSearchState:function(){return o.Z},initSearchState:function(){return s.j},isSearchSort:function(){return u.wb},optimistic:function(){return w.A},parseSearchState:function(){return i.Q},persisted:function(){return I.R},removeFacet:function(){return u.Ru},sendAnalyticsEvent:function(){return sendAnalyticsEvent},setFacet:function(){return u.uL},singleton:function(){return _.r},toggleFacet:function(){return u.wB},toggleFacets:function(){return u.a2},useAnalyticsEvent:function(){return a.W},useGlobalUIState:function(){return useGlobalUIState},usePagination:function(){return d.h},useSearch:function(){return l.R}});var n=r(4950);let sendAnalyticsEvent=e=>{try{window.postMessage((0,n.re)(e),window.origin)}catch(e){console.error(e)}};var a=r(8529),i=r(6142),o=r(2339),s=r(2524),u=r(9664),c=r(1197),l=r(9029),d=r(1341),f=r(2784);let m=(0,f.createContext)(void 0);m.displayName="UIContext";let g={displayMinicart:!1},reducer=e=>{let t={OPEN_MINICART:e=>({...e,displayMinicart:!0}),CLOSE_MINICART:e=>({...e,displayMinicart:!1}),...e};return(e,{type:r,data:n})=>{let a=t[r];if("function"==typeof a)return a(e,n);throw Error("Unknown UI state")}},defaultEffects=()=>({}),Provider_Provider=({children:e,actions:t={},effects:r=defaultEffects,initialState:n={}})=>{let[a,i]=(0,f.useReducer)(reducer(t),{...g,...n}),o=(0,f.useMemo)(()=>({...r(i),openMinicart:()=>i({type:"OPEN_MINICART"}),closeMinicart:()=>i({type:"CLOSE_MINICART"})}),[r]),s=(0,f.useMemo)(()=>({...a,...o}),[o,a]);return f.createElement(m.Provider,{value:s},e)};var h=r(7943);let useGlobalUIState=()=>(0,h.q)(m);var S=r(8987),p=r(9380),y=r(3365),v=r(9578),w=r(5214),I=r(4375),_=r(8901),b=r(8956)},1197:function(e,t,r){r.d(t,{_:function(){return o},z:function(){return Provider}});var n=r(2784),a=r(2254);function setPagesSessionStorage(e){try{let t=window.history.state?.key;if(!t)return;let r=`__fs_gallery_page_${t}`;sessionStorage.setItem(r,JSON.stringify(e))}catch(e){return}}let reducer=(e,t)=>{switch(t.type){case"addPrev":{let t=e[0]-1,r=[t,...e];return setPagesSessionStorage(r),r}case"addNext":{let t=Number(e[e.length-1])+1,r=[...e,t];return setPagesSessionStorage(r),r}case"reset":{let{payload:e}=t,r=[e];return setPagesSessionStorage(r),r}default:throw new a.q("Unknown action for infinite search")}},useSearchInfiniteState=e=>{let[t,r]=(0,n.useReducer)(reducer,void 0,()=>(function(){try{let e=window.history.state?.key;if(!e)return null;let t=`__fs_gallery_page_${e}`,r=sessionStorage.getItem(t);return r?JSON.parse(r):null}catch(e){return null}})()??[e]),a=(0,n.useMemo)(()=>({addPrevPage:()=>r({type:"addPrev"}),addNextPage:()=>r({type:"addNext"}),resetInfiniteScroll:e=>r({type:"reset",payload:e})}),[]);return{pages:t,...a}};var i=r(2524);let o=(0,n.createContext)(void 0),Provider=({children:e,itemsPerPage:t,onChange:r,...a})=>{let{state:s,...u}=(0,i.X)(a,r),{pages:c,...l}=useSearchInfiniteState(s.page),d=(0,n.useMemo)(()=>({state:s,...u,pages:c,...l,itemsPerPage:t}),[l,t,c,u,s]);return n.createElement(o.Provider,{value:d},e)}},9664:function(e,t,r){r.d(t,{Ru:function(){return removeFacet},a2:function(){return toggleFacets},uL:function(){return setFacet},wB:function(){return toggleFacet},wb:function(){return isSearchSort}});var n=r(2254);let a=new Set(["price_desc","price_asc","orders_desc","name_desc","name_asc","release_desc","discount_desc","score_desc"]),isSearchSort=e=>a.has(e),removeFacet=(e,t)=>{let{value:r}=t,a=e.findIndex(e=>e.value===r);if(a<0)throw new n.q(`Cannot remove ${r} from search params`);return e.filter((e,t)=>t!==a)},setFacet=(e,t,r)=>{if(!0===r){let r=e.findIndex(e=>e.key===t.key);if(r>-1)return e.map((e,n)=>n===r?t:e)}return[...e,t]},toggleFacet=(e,t)=>{let r=e.find(e=>e.key===t.key&&e.value===t.value);return void 0!==r?removeFacet(e,t):setFacet(e,t,!1)},toggleFacets=(e,t)=>t.reduce((e,t)=>toggleFacet(e,t),e)},6142:function(e,t,r){r.d(t,{Q:function(){return parse}});var n=r(2254),a=r(9664),i=r(2524);let parse=({pathname:e,searchParams:t})=>{let r=(0,i.j)({base:e,term:t.get("q")??null,sort:t.get("sort")??void 0,page:Number(t.get("page")??0)});if(!(0,a.wb)(r.sort))throw new n.q(`Uknown sorting option ${r.sort}`);let o=t.get("facets")?.split(",")??[];for(let e of o){let n=t.getAll(e);for(let t of n)r.selectedFacets=(0,a.uL)(r.selectedFacets,{key:e,value:t})}return r.passThrough=function(e,t){let r=new URLSearchParams,n=new Set(t),a=Array.from(e.entries());for(let[e,t]of a)n.has(e)||r.append(e,t);return r}(t,["q","sort","page","facets",...o]),r}},1341:function(e,t,r){r.d(t,{h:function(){return usePagination}});var n=r(2784),a=r(2339),i=r(9029);let getLink=e=>{let{pathname:t,search:r}=(0,a.Z)(e);return`${t}${r}`},usePagination=e=>{let{pages:t,itemsPerPage:r,state:a}=(0,i.R)(),o=Math.ceil(e/r),s=Number(t[t.length-1])+1,u=t[0]-1;return(0,n.useMemo)(()=>({next:s<o&&{cursor:s,link:getLink({...a,page:s})},prev:u>-1&&{cursor:u,link:getLink({...a,page:u})}}),[s,u,a,o])}},9029:function(e,t,r){r.d(t,{R:function(){return useSearch}});var n=r(1197),a=r(7943);let useSearch=()=>(0,a.q)(n._)},2524:function(e,t,r){r.d(t,{X:function(){return useSearchState},j:function(){return initialize}});var n=r(2784),a=r(2339);let initialize=({sort:e="score_desc",selectedFacets:t=[],term:r=null,base:n="/",page:a=0,passThrough:i=new URLSearchParams}={})=>({sort:e,selectedFacets:t,term:r,base:n,page:a,passThrough:i}),equals=(e,t)=>(0,a.Z)(e).href===(0,a.Z)(t).href,useSearchState=(e,t)=>{let r=(0,n.useMemo)(()=>initialize(e),[e]);return(0,n.useMemo)(()=>({state:r,setState:e=>!equals(e,r)&&t((0,a.Z)(e))}),[t,r])}},8987:function(e,t,r){r.d(t,{S:function(){return createSessionStore}});var n=r(9578);let createSessionStore=(e,t,r="fs::session")=>(0,n.M)(e,r,t)},3365:function(e,t,r){r.d(t,{M:function(){return createStore}});let createStore=e=>{let t=new Set,r=new Set,n=e;return{set:e=>{n=e,r.forEach(e=>e()),r.clear(),t.forEach(t=>{let n=t(e);"function"==typeof n&&r.add(n)})},read:()=>n,readInitial:()=>e,subscribe:e=>(t.add(e),()=>{t.delete(e)})}}},9578:function(e,t,r){r.d(t,{M:function(){return createStore}});var n=r(4375),a=r(5214),i=r(8901),o=r(8956),s=r(3365);let identity=e=>e,createStore=(e,t,r)=>(0,o.q)([t?(0,i.r)(t):identity,t?(0,n.R)(t):identity,r?(0,a.A)(r):identity],(0,s.M)(e))},5214:function(e,t,r){r.d(t,{A:function(){return optimistic}});let trivial=async()=>null,optimistic=(e=trivial)=>{let t=Promise.resolve();return r=>(r.subscribe(n=>{let a=!1,handler=async()=>{if(a)return;let t=await e(n);a||null===t||r.set(t)};return t=t.then(handler),()=>{a=!0}}),r)}},4375:function(e,t,r){r.d(t,{R:function(){return persisted}});var n=r(425);let getIDB=async e=>{try{return await (0,n.U2)(e)}catch(e){return}},setIDB=async(e,t)=>{try{await (0,n.t8)(e,t)}catch(e){}},debounce=(e,t)=>{let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}},persisted=e=>t=>{let handler=async()=>{let r=await getIDB(e);"undefined"!=typeof document&&t.set(r??t.readInitial())},r=debounce(handler,500);return r(),globalThis.addEventListener?.("focus",()=>r()),globalThis.document?.addEventListener("visibilitychange",()=>"visible"===document.visibilityState&&r()),t.subscribe(t=>{setIDB(e,t)}),t}},8901:function(e,t,r){r.d(t,{r:function(){return singleton}}),globalThis.faststore_sdk_stores=globalThis.faststore_sdk_stores??new Map;let singleton=e=>t=>{let r=globalThis.faststore_sdk_stores;return r.has(e)||r.set(e,t),r.get(e)}},8956:function(e,t,r){r.d(t,{q:function(){return compose}});let compose=(e,t)=>e.reduce((e,t)=>t(e),t)},2254:function(e,t,r){r.d(t,{q:function(){return SDKError}});let SDKError=class SDKError extends Error{constructor(e){super(`[sdk]: ${e}`)}}},2339:function(e,t){t.Z=e=>{let t=new URL(e.base,"http://localhost"),{page:r,selectedFacets:n,sort:a,term:i,passThrough:o}=e;null!==i&&t.searchParams.set("q",i);let s=new Set;for(let e of n)t.searchParams.append(e.key,e.value),s.add(e.key);if(n.length>0&&t.searchParams.set("facets",Array.from(s).join(",")),t.searchParams.set("sort",a),t.searchParams.set("page",r.toString()),o)for(let[e,r]of o.entries())t.searchParams.append(e,r);return t}},7943:function(e,t,r){r.d(t,{q:function(){return useContext}});var n=r(2784),a=r(2254);let useContext=e=>{let t=(0,n.useContext)(e);if(void 0===t)throw new a.q(`${e.displayName??"Context"} needs to be on the React tree`);return t}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1153,7195,1552],{425:function(e,t,r){let n;r.d(t,{U2:function(){return get},t8:function(){return set}});var esm=function(){let e;let t=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);return t&&indexedDB.databases?new Promise(t=>{let tryIdb=()=>indexedDB.databases().finally(t);e=setInterval(tryIdb,100),tryIdb()}).finally(()=>clearInterval(e)):Promise.resolve()};function promisifyRequest(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function defaultGetStore(){return n||(n=function(e,t){let r=esm().then(()=>{let r=indexedDB.open(e);return r.onupgradeneeded=()=>r.result.createObjectStore(t),promisifyRequest(r)});return(e,n)=>r.then(r=>n(r.transaction(t,e).objectStore(t)))}("keyval-store","keyval")),n}function get(e,t=defaultGetStore()){return t("readonly",t=>promisifyRequest(t.get(e)))}function set(e,t,r=defaultGetStore()){return r("readwrite",r=>(r.put(t,e),promisifyRequest(r.transaction)))}},9380:function(e,t,r){r.d(t,{n:function(){return createCartStore}});var n=r(2254),a=r(9578);let createCartStore=(e,t,r="fs::cart")=>{let i=(0,a.M)(e,r,t),getItem=e=>i.read().items.find(t=>t.id===e);return{...i,getItem,addItem:e=>{if(!e.id)throw new n.q("You must provide an `id` for items");if(e.quantity<0)throw new n.q("Item quantity needs to be higher than zero");let t=i.read(),r=getItem(e.id),a=r?{...e,quantity:r.quantity+e.quantity}:e;i.set({...t,items:r?t.items.map(e=>e===r?a:e):[...t.items,a]})},updateItemQuantity:(e,t)=>{let r=i.read(),a=getItem(e);if(!a)throw new n.q(`Item with id not found: ${e}`);let o={...a,quantity:t};i.set({...r,items:r.items.map(e=>e===a?o:e).filter(e=>e.quantity>0)})},removeItem:e=>{let t=i.read(),r=getItem(e);i.set({...t,items:t.items.filter(e=>e!==r)})},emptyCart:()=>i.set({...i.read(),items:[]}),inCart:e=>!!getItem(e),isEmpty:()=>0===i.read().items.length}}},1153:function(e,t,r){r.r(t),r.d(t,{ANALYTICS_EVENT_TYPE:function(){return n.vi},STORE_EVENT_PREFIX:function(){return n.Mi},SearchProvider:function(){return c.z},UIContext:function(){return m},UIProvider:function(){return Provider_Provider},compose:function(){return b.q},createBaseStore:function(){return y.M},createCartStore:function(){return p.n},createSessionStore:function(){return S.S},createStore:function(){return v.M},formatSearchState:function(){return o.Z},initSearchState:function(){return s.j},isSearchSort:function(){return u.wb},optimistic:function(){return w.A},parseSearchState:function(){return i.Q},persisted:function(){return I.R},removeFacet:function(){return u.Ru},sendAnalyticsEvent:function(){return sendAnalyticsEvent},setFacet:function(){return u.uL},singleton:function(){return _.r},toggleFacet:function(){return u.wB},toggleFacets:function(){return u.a2},useAnalyticsEvent:function(){return a.W},useGlobalUIState:function(){return useGlobalUIState},usePagination:function(){return d.h},useSearch:function(){return l.R}});var n=r(4950);let sendAnalyticsEvent=e=>{try{window.postMessage((0,n.re)(e),window.origin)}catch(e){console.error(e)}};var a=r(8529),i=r(6142),o=r(2339),s=r(2524),u=r(9664),c=r(1197),l=r(9029),d=r(1341),f=r(2784);let m=(0,f.createContext)(void 0);m.displayName="UIContext";let g={displayMinicart:!1},reducer=e=>{let t={OPEN_MINICART:e=>({...e,displayMinicart:!0}),CLOSE_MINICART:e=>({...e,displayMinicart:!1}),...e};return(e,{type:r,data:n})=>{let a=t[r];if("function"==typeof a)return a(e,n);throw Error("Unknown UI state")}},defaultEffects=()=>({}),Provider_Provider=({children:e,actions:t={},effects:r=defaultEffects,initialState:n={}})=>{let[a,i]=(0,f.useReducer)(reducer(t),{...g,...n}),o=(0,f.useMemo)(()=>({...r(i),openMinicart:()=>i({type:"OPEN_MINICART"}),closeMinicart:()=>i({type:"CLOSE_MINICART"})}),[r]),s=(0,f.useMemo)(()=>({...a,...o}),[o,a]);return f.createElement(m.Provider,{value:s},e)};var h=r(7943);let useGlobalUIState=()=>(0,h.q)(m);var S=r(8987),p=r(9380),y=r(3365),v=r(9578),w=r(5214),I=r(4375),_=r(8901),b=r(8956)},1197:function(e,t,r){r.d(t,{_:function(){return o},z:function(){return Provider}});var n=r(2784),a=r(2254);function setPagesSessionStorage(e){try{let t=window.history.state?.key;if(!t)return;let r=`__fs_gallery_page_${t}`;sessionStorage.setItem(r,JSON.stringify(e))}catch(e){return}}let reducer=(e,t)=>{switch(t.type){case"addPrev":{let t=e[0]-1,r=[t,...e];return setPagesSessionStorage(r),r}case"addNext":{let t=Number(e[e.length-1])+1,r=[...e,t];return setPagesSessionStorage(r),r}case"reset":{let{payload:e}=t,r=[e];return setPagesSessionStorage(r),r}default:throw new a.q("Unknown action for infinite search")}},useSearchInfiniteState=e=>{let[t,r]=(0,n.useReducer)(reducer,void 0,()=>(function(){try{let e=window.history.state?.key;if(!e)return null;let t=`__fs_gallery_page_${e}`,r=sessionStorage.getItem(t);return r?JSON.parse(r):null}catch(e){return null}})()??[e]),a=(0,n.useMemo)(()=>({addPrevPage:()=>r({type:"addPrev"}),addNextPage:()=>r({type:"addNext"}),resetInfiniteScroll:e=>r({type:"reset",payload:e})}),[]);return{pages:t,...a}};var i=r(2524);let o=(0,n.createContext)(void 0),Provider=({children:e,itemsPerPage:t,onChange:r,...a})=>{let{state:s,...u}=(0,i.X)(a,r),{pages:c,...l}=useSearchInfiniteState(s.page),d=(0,n.useMemo)(()=>({state:s,...u,pages:c,...l,itemsPerPage:t}),[l,t,c,u,s]);return n.createElement(o.Provider,{value:d},e)}},9664:function(e,t,r){r.d(t,{Ru:function(){return removeFacet},a2:function(){return toggleFacets},uL:function(){return setFacet},wB:function(){return toggleFacet},wb:function(){return isSearchSort}});var n=r(2254);let a=new Set(["price_desc","price_asc","orders_desc","name_desc","name_asc","release_desc","discount_desc","score_desc"]),isSearchSort=e=>a.has(e),removeFacet=(e,t)=>{let{value:r}=t,a=e.findIndex(e=>e.value===r);if(a<0)throw new n.q(`Cannot remove ${r} from search params`);return e.filter((e,t)=>t!==a)},setFacet=(e,t,r)=>{if(!0===r){let r=e.findIndex(e=>e.key===t.key);if(r>-1)return e.map((e,n)=>n===r?t:e)}return[...e,t]},toggleFacet=(e,t)=>{let r=e.find(e=>e.key===t.key&&e.value===t.value);return void 0!==r?removeFacet(e,t):setFacet(e,t,!1)},toggleFacets=(e,t)=>t.reduce((e,t)=>toggleFacet(e,t),e)},6142:function(e,t,r){r.d(t,{Q:function(){return parse}});var n=r(2254),a=r(9664),i=r(2524);let parse=({pathname:e,searchParams:t})=>{let r=(0,i.j)({base:e,term:t.get("q")??null,sort:t.get("sort")??void 0,page:Number(t.get("page")??0)});if(!(0,a.wb)(r.sort))throw new n.q(`Uknown sorting option ${r.sort}`);let o=t.get("facets")?.split(",")??[];for(let e of o){let n=t.getAll(e);for(let t of n)r.selectedFacets=(0,a.uL)(r.selectedFacets,{key:e,value:t})}return r.passThrough=function(e,t){let r=new URLSearchParams,n=new Set(t),a=Array.from(e.entries());for(let[e,t]of a)n.has(e)||r.append(e,t);return r}(t,["q","sort","page","facets",...o]),r}},1341:function(e,t,r){r.d(t,{h:function(){return usePagination}});var n=r(2784),a=r(2339),i=r(9029);let getLink=e=>{let{pathname:t,search:r}=(0,a.Z)(e);return`${t}${r}`},usePagination=e=>{let{pages:t,itemsPerPage:r,state:a}=(0,i.R)(),o=Math.ceil(e/r),s=Number(t[t.length-1])+1,u=t[0]-1;return(0,n.useMemo)(()=>({next:s<o&&{cursor:s,link:getLink({...a,page:s})},prev:u>-1&&{cursor:u,link:getLink({...a,page:u})}}),[s,u,a,o])}},9029:function(e,t,r){r.d(t,{R:function(){return useSearch}});var n=r(1197),a=r(7943);let useSearch=()=>(0,a.q)(n._)},2524:function(e,t,r){r.d(t,{X:function(){return useSearchState},j:function(){return initialize}});var n=r(2784),a=r(2339);let initialize=({sort:e="score_desc",selectedFacets:t=[],term:r=null,base:n="/",page:a=0,passThrough:i=new URLSearchParams}={})=>({sort:e,selectedFacets:t,term:r,base:n,page:a,passThrough:i}),equals=(e,t)=>(0,a.Z)(e).href===(0,a.Z)(t).href,useSearchState=(e,t)=>{let r=(0,n.useMemo)(()=>initialize(e),[e]);return(0,n.useMemo)(()=>({state:r,setState:e=>!equals(e,r)&&t((0,a.Z)(e))}),[t,r])}},8987:function(e,t,r){r.d(t,{S:function(){return createSessionStore}});var n=r(9578);let createSessionStore=(e,t,r="fs::session")=>(0,n.M)(e,r,t)},3365:function(e,t,r){r.d(t,{M:function(){return createStore}});let createStore=e=>{let t=new Set,r=new Set,n=e;return{set:e=>{n=e,r.forEach(e=>e()),r.clear(),t.forEach(t=>{let n=t(e);"function"==typeof n&&r.add(n)})},read:()=>n,readInitial:()=>e,subscribe:e=>(t.add(e),()=>{t.delete(e)})}}},9578:function(e,t,r){r.d(t,{M:function(){return createStore}});var n=r(4375),a=r(5214),i=r(8901),o=r(8956),s=r(3365);let identity=e=>e,createStore=(e,t,r)=>(0,o.q)([t?(0,i.r)(t):identity,t?(0,n.R)(t):identity,r?(0,a.A)(r):identity],(0,s.M)(e))},5214:function(e,t,r){r.d(t,{A:function(){return optimistic}});let trivial=async()=>null,optimistic=(e=trivial)=>{let t=Promise.resolve();return r=>(r.subscribe(n=>{let a=!1,handler=async()=>{if(a)return;let t=await e(n);a||null===t||r.set(t)};return t=t.then(handler),()=>{a=!0}}),r)}},4375:function(e,t,r){r.d(t,{R:function(){return persisted}});var n=r(425);let getIDB=async e=>{try{return await (0,n.U2)(e)}catch(e){return}},setIDB=async(e,t)=>{try{await (0,n.t8)(e,t)}catch(e){}},debounce=(e,t)=>{let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}},persisted=e=>t=>{let handler=async()=>{let r=await getIDB(e);"undefined"!=typeof document&&t.set(r??t.readInitial())},r=debounce(handler,500);return r(),globalThis.addEventListener?.("focus",()=>r()),globalThis.document?.addEventListener("visibilitychange",()=>"visible"===document.visibilityState&&r()),t.subscribe(t=>{setIDB(e,t)}),t}},8901:function(e,t,r){r.d(t,{r:function(){return singleton}}),globalThis.faststore_sdk_stores=globalThis.faststore_sdk_stores??new Map;let singleton=e=>t=>{let r=globalThis.faststore_sdk_stores;return r.has(e)||r.set(e,t),r.get(e)}},8956:function(e,t,r){r.d(t,{q:function(){return compose}});let compose=(e,t)=>e.reduce((e,t)=>t(e),t)},2254:function(e,t,r){r.d(t,{q:function(){return SDKError}});let SDKError=class SDKError extends Error{constructor(e){super(`[sdk]: ${e}`)}}},2339:function(e,t){t.Z=e=>{let t=new URL(e.base,"http://localhost"),{page:r,selectedFacets:n,sort:a,term:i,passThrough:o}=e;null!==i&&t.searchParams.set("q",i);let s=new Set;for(let e of n)t.searchParams.append(e.key,e.value),s.add(e.key);if(n.length>0&&t.searchParams.set("facets",Array.from(s).join(",")),t.searchParams.set("sort",a),t.searchParams.set("page",r.toString()),o)for(let[e,r]of o.entries())t.searchParams.append(e,r);return t}},7943:function(e,t,r){r.d(t,{q:function(){return useContext}});var n=r(2784),a=r(2254);let useContext=e=>{let t=(0,n.useContext)(e);if(void 0===t)throw new a.q(`${e.displayName??"Context"} needs to be on the React tree`);return t}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1978],{2256:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-input",...t},r){return n.createElement("input",{ref:r,"data-fs-input":!0,"data-testid":e,...t})});t.Z=a},9767:function(e,t,r){"use strict";var n=r(2784),a=r(5450);let i=(0,n.forwardRef)(function({value:e,as:t="span",variant:r="selling",testId:i="fs-price",formatter:l=e=>e,SRText:o,...s},c){let d=l(e,r);return n.createElement(t,{ref:c,"data-fs-price":!0,"data-fs-price-variant":r,"data-testid":i,...s},o&&n.createElement(a.Z,{text:o}),d)});t.Z=i},5450:function(e,t,r){"use strict";var n=r(2784);t.Z=function({text:e,as:t}){let r=t??"span";return n.createElement(r,{"data-fs-sr-only":!0},e)}},339:function(e,t,r){"use strict";r.d(t,{K:function(){return useSlideVisibility}});var n=r(2784);let useSlideVisibility=({currentSlide:e,itemsPerPage:t,totalItems:r})=>{let a=(0,n.useRef)(new Set);(0,n.useEffect)(()=>{for(let r=0;r<t;r++)a.current.add(e+r)},[e,t]);let isItemVisible=n=>(function({itemsPerPage:e,currentSlide:t,slideIdx:r,totalItems:n}){return t<0||t>=n||r>=t&&r<t+e})({slideIdx:n,currentSlide:e,itemsPerPage:t,totalItems:r});return{shouldRenderItem:e=>a.current.has(e)||isItemVisible(e),isItemVisible}}},3525:function(e,t,r){"use strict";r.d(t,{oN:function(){return useSlider}});var n=r(2784),a=r(8249);let nextPage=(e,t)=>(e+1)%t,previousPage=(e,t)=>(t-(t-e+1)%t)%t;function reducer(e,t){switch(t.type){case"NEXT_PAGE":{let t=e.infinite?e.totalPages+1:e.totalPages,r=nextPage(e.currentPage,t),n=r%t*e.itemsPerPage;return{...e,sliding:!0,slideDirection:"next",currentItem:n,currentPage:r}}case"PREVIOUS_PAGE":{let t=e.infinite?e.totalPages+1:e.totalPages,r=e.infinite&&0===e.currentPage,n=r?-1:previousPage(e.currentPage,e.totalPages);return{...e,sliding:!0,slideDirection:"previous",currentItem:n%t*e.itemsPerPage,currentPage:n}}case"GO_TO_PAGE":if(t.payload.pageIndex===e.currentPage)return e;return{...e,sliding:t.payload.shouldSlide,slideDirection:t.payload.pageIndex>e.currentPage?"next":"previous",currentItem:t.payload.pageIndex%e.totalPages*e.itemsPerPage,currentPage:t.payload.pageIndex};case"STOP_SLIDE":return{...e,sliding:!1};default:return e}}let defaultSliderState=(e,t,r)=>({currentItem:0,currentPage:0,sliding:!1,slideDirection:"next",totalItems:e,itemsPerPage:t,totalPages:Math.ceil(e/t),infinite:r}),slide=(e,t)=>{"next"===e&&t({type:"NEXT_PAGE"}),"previous"===e&&t({type:"PREVIOUS_PAGE"}),"number"==typeof e&&t({type:"GO_TO_PAGE",payload:{pageIndex:e,shouldSlide:!0}})},useSlider=({totalItems:e,itemsPerPage:t=1,infiniteMode:r=!1,shouldSlideOnSwipe:i=!0,...l})=>{let[o,s]=(0,n.useReducer)(reducer,void 0,()=>defaultSliderState(e,t,r)),c=(0,a.QS)({onSwipedRight:()=>i&&slide("previous",s),onSwipedLeft:()=>i&&slide("next",s),trackMouse:!0,...l});return{handlers:c,slide,sliderState:o,sliderDispatch:s}}},9237:function(e,t,r){"use strict";var n=r(2784),a=r(7041),i=r(2614),l=r(3525),o=r(9654),s=r(6487);let createTransformValues=(e,t)=>{let r={},n=100/t;for(let a=0;a<t;++a){let t=e?a-1:a,i=-(n*a);r[t]=i}return r};t.Z=function({children:e,className:t,"aria-label":r,infiniteMode:c=!1,controls:d="complete",testId:u="fs-carousel",transition:f={duration:400,property:"transform"},id:p="fs-carousel",variant:g="scroll",itemsPerPage:m=1,navigationIcons:v,...P}){if(m<1)throw Error("itemsPerPage must be greater than or equal to 1");let h=(0,n.useRef)(null),y="slide"===g,E="scroll"===g,b=n.Children.toArray(e),w=b.length,S=c?w+2:w,Z=`${f.property} ${f.duration}ms ${f.timing??""} ${f.delay??""}`,{handlers:x,slide:O,sliderState:j,sliderDispatch:I}=(0,l.oN)({itemsPerPage:m,infiniteMode:c,totalItems:w,shouldSlideOnSwipe:y,...P}),_=Math.ceil(w/j.itemsPerPage),[T,C]=(0,n.useState)("16px"),[R,k]=(0,n.useState)(0);(0,n.useEffect)(()=>{let e=h.current?.firstElementChild;e&&(C(getComputedStyle(e).getPropertyValue("margin-right")),k(Number(e.clientWidth)+parseInt(T,10)+1))},[R]);let M=(0,n.useMemo)(()=>createTransformValues(c,S),[S,c]),L=c&&e?b.slice(0,1):[],D=c&&e?b.slice(w-1):[],A=D.concat(e??[],L),N=(0,n.useMemo)(()=>({width:`${100*S}%`,transition:j.sliding?Z:void 0,transform:`translate3d(${M[j.currentPage]}%, 0, 0)`}),[S,M,Z,j.sliding,j.currentPage]),$=(0,n.useMemo)(()=>({width:"100%",overflowX:"scroll",whiteSpace:"nowrap"}),[]),slidePrevious=()=>{!j.sliding&&(c||0!==j.currentPage)&&O("previous",I)},slideNext=()=>{!j.sliding&&(c||j.currentPage!==w-1)&&O("next",I)},onScrollPagination=async(e,t)=>{if("previous"===t&&0===j.currentPage||"next"===t&&j.currentPage===j.totalPages-1)return;let r=e*R*m;h.current?.scrollTo({left:r,behavior:"smooth"}),O(e,I)};return n.createElement("section",{id:p,"data-fs-carousel":!0,"data-fs-carousel-variant":g,className:t,"data-testid":u,"aria-label":r},n.createElement("div",{"data-fs-carousel-track-container":!0,style:{width:"100%",overflow:"hidden",display:E?"block":void 0},...x},n.createElement("ul",{"aria-live":"polite",ref:h,style:y&&N||E&&$,"data-fs-carousel-track":!0,onScroll:e=>{if(y||m>1)return;let t=Number(e.currentTarget.firstElementChild?.scrollWidth),r=e.currentTarget?.scrollLeft,n=r>t/2?Math.round:Math.floor,a=n(r/t);O(a,I)},onTransitionEnd:()=>{I({type:"STOP_SLIDE"}),c&&j.currentItem>=w&&I({type:"GO_TO_PAGE",payload:{pageIndex:0,shouldSlide:!1}}),c&&j.currentItem<0&&I({type:"GO_TO_PAGE",payload:{pageIndex:j.totalPages-1,shouldSlide:!1}})}},A.map((e,t)=>n.createElement(s.Z,{id:p,index:t,key:String(t),state:j,totalItems:w,infiniteMode:c,isScrollCarousel:E,marginRightValue:T},e)))),1!==_&&("complete"===d||"navigationArrows"===d)&&n.createElement("div",{"data-fs-carousel-controls":!0},n.createElement(a.Z,{"data-fs-carousel-control":"left","aria-controls":p,disabled:!c&&0===j.currentPage,"aria-label":"previous",icon:v?.left??n.createElement(i.Z,{name:"ArrowLeft",width:20,height:20,weight:"bold"}),onClick:()=>{y&&slidePrevious(),E&&onScrollPagination(j.currentPage-1,"previous")}}),n.createElement(a.Z,{"data-fs-carousel-control":"right","aria-controls":p,disabled:!c&&j.currentPage===j.totalPages-1,"aria-label":"next",icon:v?.right??n.createElement(i.Z,{name:"ArrowRight",width:20,height:20,weight:"bold"}),onClick:()=>{y&&slideNext(),E&&onScrollPagination(j.currentPage+1,"next")}})),1!==_&&("complete"===d||"paginationBullets"===d)&&n.createElement(o.Z,{id:p,tabIndex:0,activeBullet:j.currentPage,totalQuantity:_,onKeyDown:e=>{switch(e.key){case"ArrowLeft":y&&slidePrevious(),E&&onScrollPagination(j.currentPage-1,"previous");break;case"ArrowRight":y&&slideNext(),E&&onScrollPagination(j.currentPage+1,"next");break;case"Home":O(0,I);break;case"End":O(w-1,I)}},onClick:async(e,t)=>{y&&!j.sliding&&O(t,I),E&&onScrollPagination(t)},onFocus:e=>e.currentTarget.focus(),ariaControlsGenerator:e=>`${p}-carousel-item-${e}`}))}},9654:function(e,t,r){"use strict";var n=r(2784),a=r(3339);let defaultAriaLabel=(e,t,r)=>r?`Current page from ${e}`:`Go to page ${t+1} from ${e}`,i=(0,n.forwardRef)(function({id:e,totalQuantity:t,activeBullet:r,onClick:i,testId:l="fs-carousel-bullets",ariaLabelGenerator:o=defaultAriaLabel,ariaControlsGenerator:s,...c},d){let u=(0,n.useMemo)(()=>Array(t).fill(0),[t]);return n.createElement("div",{ref:d,"data-fs-carousel-bullets":!0,"data-testid":l,role:"tablist",...c},u.map((t,c)=>{let d=r===c;return n.createElement(a.Z,{key:`${e}-${c}`,role:"tab",tabIndex:-1,"data-fs-carousel-bullet":!0,testId:`${l}-bullet`,onClick:e=>i(e,c),"aria-label":o(e,c,d),"aria-controls":s?.(c),"aria-selected":d,variant:"tertiary"})}))});t.Z=i},6487:function(e,t,r){"use strict";var n=r(2784),a=r(339);t.Z=function({id:e,index:t,state:r,children:i,totalItems:l,infiniteMode:o,isScrollCarousel:s,marginRightValue:c}){let{isItemVisible:d,shouldRenderItem:u}=(0,a.K)({totalItems:l,currentSlide:r.currentItem,itemsPerPage:r.itemsPerPage}),f={width:`calc((100% - ${c} * ${r.itemsPerPage-1}) / ${r.itemsPerPage})`},p=s&&r.itemsPerPage>1?{...f}:{width:"100%"},g=s||u(t-Number(o));return n.createElement("li",{style:p,id:`${e}-carousel-item-${t}`,"data-fs-carousel-item":!0,"data-fs-carousel-item-visible":d(t-Number(o))||void 0},g?i:null)}},2946:function(e,t,r){"use strict";r.d(t,{Z:function(){return DiscountBadge_DiscountBadge}});var n=r(2784),a=r(276);let useDiscountPercent=(e,t)=>(0,n.useMemo)(()=>{let r=e-t,n=100*r/e;return Math.round(n)},[t,e]);var DiscountBadge_DiscountBadge=({listPrice:e,spotPrice:t,thresholdLow:r=15,thresholdHigh:i=40,size:l,testId:o="fs-discount-badge"})=>{let s=useDiscountPercent(e,t);if(0===s)return n.createElement(n.Fragment,null);let c=s<=r?"low":s<=i?"medium":"high";return n.createElement(a.Z,{"data-fs-discount-badge":!0,"data-fs-discount-badge-variant":c,size:l,"data-testid":o},s,"% off")}},3779:function(e,t,r){"use strict";var n=r(2784),a=r(2256),i=r(1953),l=r(7041),o=r(2614),s=r(3339);t.Z=({id:e,label:t,type:r="text",error:c,displayClearButton:d,actionable:u,buttonActionText:f="Apply",onSubmit:p,onClear:g,placeholder:m=" ",inputRef:v,disabled:P,value:h,testId:y="fs-input-field",...E})=>{let b=!P&&c&&""!==c,w=u&&!P&&""!==h;return n.createElement("div",{"data-fs-input-field":!0,"data-fs-input-field-actionable":u,"data-fs-input-field-error":c&&""!==c,"data-testid":y},n.createElement(a.Z,{id:e,type:r,value:h,ref:v,disabled:P,placeholder:m,...E}),n.createElement(i.Z,{htmlFor:e},t),w&&(d||c?n.createElement(l.Z,{size:"small","aria-label":"Clear Field",icon:n.createElement(o.Z,{name:"XCircle"}),onClick:()=>{g?.(),v?.current?.focus()}}):n.createElement(s.Z,{variant:"tertiary",size:"small",onClick:p},f)),b&&n.createElement("span",{"data-fs-input-field-error-message":!0},c))}},8394:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-product-card",variant:t="default",bordered:r=!1,outOfStock:a,children:i,...l},o){return n.createElement("article",{ref:o,"data-fs-product-card":a?"out-of-stock":"","data-fs-product-card-variant":t,"data-fs-product-card-bordered":r,"data-testid":e,...l},i)});t.Z=a},547:function(e,t,r){"use strict";var n=r(2784),a=r(727),i=r(9088),l=r(1953),o=r(3024),s=r(2614),c=r(2946),d=r(276),u=r(3339);let f=(0,n.forwardRef)(function({testId:e="fs-product-card-content",title:t,linkProps:r,price:f,outOfStock:p,outOfStockLabel:g="Out of stock",ratingValue:m,showDiscountBadge:v,buttonLabel:P="Add",onButtonClick:h,children:y,includeTaxes:E=!1,includeTaxesLabel:b="Tax included",sponsored:w=!1,sponsoredLabel:S="Sponsored",...Z},x){let O=f?.listPrice?f.listPrice:0,j=f?.value?f.value:0;return n.createElement("section",{ref:x,"data-fs-product-card-content":!0,"data-fs-product-card-badge":v,"data-testid":e,...Z},w&&n.createElement("span",{"data-fs-product-card-sponsored-label":!0},S),n.createElement("div",{"data-fs-product-card-heading":!0},n.createElement("h3",{"data-fs-product-card-title":!0},n.createElement(a.Z,{...r,title:t},n.createElement("span",null,t))),!p&&n.createElement(i.Z,{"data-fs-product-card-prices":!0,value:j,listPrice:O,formatter:f?.formatter}),E&&n.createElement(l.Z,{"data-fs-product-card-taxes-label":!0},b),m&&n.createElement(o.Z,{value:m,icon:n.createElement(s.Z,{name:"Star"})})),v&&!p&&n.createElement(c.Z,{listPrice:O,spotPrice:j}),p&&n.createElement(d.Z,null,g),h&&!p&&n.createElement("div",{"data-fs-product-card-actions":!0},n.createElement(u.Z,{variant:"primary",icon:n.createElement(s.Z,{name:"ShoppingCart"}),iconPosition:"left",size:"small",onClick:h},P)))});t.Z=f},5167:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-product-card-image",aspectRatio:t=1,children:r,...a},i){return n.createElement("div",{ref:i,"data-fs-product-card-image":!0,"data-testid":e,style:{"--fs-product-card-image-aspect-ratio":t},...a},r)});t.Z=a},9088:function(e,t,r){"use strict";var n=r(2784),a=r(9767);let i=(0,n.forwardRef)(function({testId:e="fs-product-price",value:t,listPrice:r,formatter:i,...l},o){let s=r??0,c=t??0;return n.createElement("div",{ref:o,"data-fs-product-price":!0,"data-testid":e,...l},c!==s&&0!==s?n.createElement(n.Fragment,null,n.createElement(a.Z,{value:s,formatter:i,testId:"list-price","data-value":s,variant:"listing",SRText:"Original price:"}),n.createElement(a.Z,{value:c,formatter:i,testId:"price","data-value":c,variant:"spot",SRText:"Price:"})):n.createElement(a.Z,{value:c,formatter:i,testId:"price","data-value":c,variant:"spot",SRText:"Price:"}))});t.Z=i},3024:function(e,t,r){"use strict";var n=r(2784),a=r(2614),i=r(7041),l=r(4564);let o=(0,n.forwardRef)(function({children:e,testId:t="fs-rating",length:r=5,value:o=0,icon:s,onChange:c,...d},u){let[f,p]=(0,n.useState)(0),g={"data-fs-rating-icon-outline":!0},m=n.isValidElement(s)?s:n.createElement(a.Z,{name:"Star"});return n.createElement(l.Z,{ref:u,"data-fs-rating":!0,"data-fs-rating-actionable":"function"==typeof c,"data-testid":t,...d},Array.from({length:r}).map((e,r)=>{let l=r+1;return n.createElement("li",{key:`rating-${r}`,"data-fs-rating-item":l<=(f||o)?"full":l-o>0&&l-o<1?"partial":"empty","data-testid":`${t}-item`},c?n.createElement(i.Z,{"data-fs-rating-button":!0,icon:m,size:"small","aria-label":"rate",onClick:()=>{c(l)},onMouseEnter:()=>p(l),onMouseLeave:()=>p(o)}):n.createElement(n.Fragment,null,n.createElement("div",{"data-fs-rating-icon-wrapper":!0},m),n.isValidElement(s)?n.cloneElement(s,g):n.createElement(a.Z,{name:"Star","data-fs-rating-icon-outline":!0})))}))});t.Z=o},7115:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({card:e,children:t,colorVariant:r="main",testId:a="fs-newsletter",...i},l){return n.createElement("div",{ref:l,"data-testid":a,"data-fs-content":"newsletter","data-fs-newsletter":e?"card":"","data-fs-newsletter-color-variant":r,...i},t)});t.Z=a},2294:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({addendum:e,testId:t="fs-newsletter-addendum",...r},a){return n.createElement("span",{ref:a,"data-testid":t,"data-fs-newsletter-addendum":!0,...r},e)});t.Z=a},4207:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({children:e,testId:t="fs-newsletter-content",...r},a){return n.createElement("div",{ref:a,"data-testid":t,"data-fs-newsletter-content":!0,...r},e)});t.Z=a},2571:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({children:e,onSubmit:t,testId:r="fs-newsletter-form",...a},i){return n.createElement("form",{ref:i,"data-testid":r,"data-fs-newsletter-form":!0,onSubmit:t,...a},e)});t.Z=a},4796:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({icon:e,title:t,description:r,testId:a="fs-newsletter-header",...i},l){return n.createElement("header",{ref:l,"data-testid":a,"data-fs-newsletter-header":!0,...i},n.createElement("h3",{"data-fs-newsletter-header-title":!0},e,t),r&&n.createElement("span",{"data-fs-newsletter-header-description":!0},r))});t.Z=a},6737:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-product-shelf",children:t,...r},a){return n.createElement("div",{ref:a,"data-fs-product-shelf":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=a},7242:function(e,t,r){"use strict";var n=r(1696),a=r(9089),i=r(421),l=r.n(i),o=r(2322);t.Z=function(e){var{incentives:t,label:r}=e;return(0,o.jsx)(a.Z,{className:"".concat(l().section," section-incentives layout__section"),children:(0,o.jsx)(n.Z,{incentives:t,colored:!0,label:null!=r?r:""})})}},8205:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return LandingPage},getLandingPageBySlug:function(){return _}});var n,a,i,l=r(29),o=r(9499),s=r(5351),c=r(1550),d=r(8545),u=r(3620),f=r(2505),p=r(3638),g=r(7242),m=r(1482),v=r(1171),P=r(6881),h=r(4439),y=r(1271);let MissingContentError=class MissingContentError extends Error{constructor(e){super("Missing content on the CMS for content type ".concat(e.contentType,". Add content before proceeding. Context: ").concat(JSON.stringify(e,null,2)))}};var E=r(4960),b=r(8944);let MultipleContentError=class MultipleContentError extends Error{constructor(e){super("Multiple content defined on the CMS for content type ".concat(e.contentType,". Remove duplicated content before proceeding. Context: ").concat(JSON.stringify(e,null,2)))}};var w=r(5430),S=r.n(w);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}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){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var isLocator=e=>"string"==typeof e.contentType&&("string"==typeof e.releaseId||"string"==typeof e.documentId||"string"==typeof e.versionId),Z=new b.Z({workspace:S().api.workspace,tenant:S().api.storeId}),x=(n=(0,l.Z)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z;if(isLocator(e))return yield t.getCMSPage(e).then(e=>({data:[e]}));var r=[],n=yield t.getCMSPagesByContentType(e.contentType,_objectSpread(_objectSpread({},e.filters),{},{page:1,perPage:10}));r.push(...n.data);var a=Array.from({length:Math.ceil(n.totalItems/10)-1},(e,t)=>t+2);return n.totalItems>r.length&&(yield Promise.all(a.map(r=>t.getCMSPagesByContentType(e.contentType,_objectSpread(_objectSpread({},e.filters),{},{page:r,perPage:10}))))).forEach(e=>{r.push(...e.data)}),{data:r}}),function(e){return n.apply(this,arguments)}),O=(a=(0,l.Z)(function*(e){var t=(yield x(e)).data;if(!t[0])throw new MissingContentError(e);if(1!==t.length)throw new MultipleContentError(e);return t[0]}),function(e){return a.apply(this,arguments)}),j=r(2322);function LandingPage_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function LandingPage_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?LandingPage_ownKeys(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LandingPage_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var I=LandingPage_objectSpread(LandingPage_objectSpread({},y.Z),{},{Hero:p.V,BannerText:u.OverriddenDefaultBannerText,BannerNewsletter:d.default,CrossSellingShelf:f.Z,Incentives:g.Z,Newsletter:m.OverriddenDefaultNewsletter,ProductShelf:v.OverriddenDefaultProductShelf,ProductTiles:P.Z},h.Z);function LandingPage(e){var t,r,n,a,i,l,o,d,u,f,p,g,m,v,{page:{sections:P,settings:h},slug:y,serverData:b,globalSections:w}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(s.PB,{title:null!==(t=null==h?void 0:null===(r=h.seo)||void 0===r?void 0:r.title)&&void 0!==t?t:S().seo.title,description:null!==(n=null==h?void 0:null===(a=h.seo)||void 0===a?void 0:a.description)&&void 0!==n?n:null===(i=S().seo)||void 0===i?void 0:i.description,titleTemplate:null!==(l=null===(o=S().seo)||void 0===o?void 0:o.titleTemplate)&&void 0!==l?l:null===(d=S().seo)||void 0===d?void 0:d.title,canonical:null!==(u=null==h?void 0:null===(f=h.seo)||void 0===f?void 0:f.canonical)&&void 0!==u?u:"".concat(S().storeUrl,"/").concat(y),openGraph:{type:"website",url:S().storeUrl,title:null!==(p=null==h?void 0:null===(g=h.seo)||void 0===g?void 0:g.title)&&void 0!==p?p:S().seo.title,description:null!==(m=null==h?void 0:null===(v=h.seo)||void 0===v?void 0:v.description)&&void 0!==m?m:S().seo.description}}),(0,j.jsx)(s.iu,{url:S().storeUrl,potentialActions:[{target:"".concat(S().storeUrl,"/s/?q"),queryInput:"search_term_string"}]}),(0,j.jsx)(E.ZP,{context:{data:b},children:(0,j.jsx)(c.Z,{sections:P,globalSections:w,components:I})})]})}var _=(i=(0,l.Z)(function*(e,t){try{if(S().cms.data){var r=JSON.parse(S().cms.data).landingPage.find(e=>{var t,r;null===(t=e.settings)||void 0===t||null===(r=t.seo)||void 0===r||r.slug});if(r)return yield O({contentType:"landingPage",documentId:r.documentId,versionId:r.versionId})}return yield O(LandingPage_objectSpread(LandingPage_objectSpread({},(null==t?void 0:t.contentType)==="landingPage"?t:{filters:{filters:{"settings.seo.slug":"/".concat(e)}}}),{},{contentType:"landingPage"}))}catch(e){if(e instanceof MissingContentError)return null;throw e}}),function(e,t){return i.apply(this,arguments)})},1696:function(e,t,r){"use strict";var n=r(4564),a=r(2659),i=r(2614),l=r(2322);t.Z=function(e){var{incentives:t,variant:r="horizontal",colored:o=!1,label:s}=e;return(0,l.jsx)("section",{"data-fs-incentives":!0,"data-fs-incentives-colored":o,"data-fs-incentives-variant":r,"aria-label":"Incentives List ".concat(s),children:(0,l.jsx)(n.Z,{"data-fs-content":"incentives",children:t.map((e,t)=>(0,l.jsx)("li",{role:"listitem",children:(0,l.jsxs)(a.Z,{tabIndex:0,children:[(0,l.jsx)(i.Z,{"data-fs-incentive-icon":!0,"aria-label":e.alt,name:e.icon,width:32,height:32}),(0,l.jsxs)("section",{"data-fs-incentive-content":!0,children:[(0,l.jsx)("p",{"data-fs-incentive-title":!0,children:e.title}),(0,l.jsx)("span",{"data-fs-incentive-description":!0,children:e.firstLineText}),e.secondLineText&&(0,l.jsx)("span",{"data-fs-incentive-description":!0,children:e.secondLineText})]})]})},String(t)))})})}},421:function(e){e.exports={section:"section_section__jnQ3q"}},2659:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="store-incentive",children:t,...r},a){return n.createElement("section",{ref:a,"data-fs-incentive":!0,"data-testid":e,...r},t)});t.Z=a},7901:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="store-tile",children:t,...r},a){return n.createElement("li",{ref:a,role:"listitem","data-fs-tile":!0,"data-testid":e,...r},t)});t.Z=a},3877:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="store-tiles",children:t,...r},a){let i=n.Children.count(t);return n.createElement("ul",{ref:a,role:"list","data-fs-tiles":!0,"data-fs-tiles-variant":3===i?"expanded-first":2===i?"expanded-first-two":"","data-fs-content":"tiles","data-testid":e,...r},t)});t.Z=a}}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1978],{2256:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-input",...t},r){return n.createElement("input",{ref:r,"data-fs-input":!0,"data-testid":e,...t})});t.Z=a},9767:function(e,t,r){"use strict";var n=r(2784),a=r(5450);let i=(0,n.forwardRef)(function({value:e,as:t="span",variant:r="selling",testId:i="fs-price",formatter:l=e=>e,SRText:o,...s},c){let d=l(e,r);return n.createElement(t,{ref:c,"data-fs-price":!0,"data-fs-price-variant":r,"data-testid":i,...s},o&&n.createElement(a.Z,{text:o}),d)});t.Z=i},5450:function(e,t,r){"use strict";var n=r(2784);t.Z=function({text:e,as:t}){let r=t??"span";return n.createElement(r,{"data-fs-sr-only":!0},e)}},339:function(e,t,r){"use strict";r.d(t,{K:function(){return useSlideVisibility}});var n=r(2784);let useSlideVisibility=({currentSlide:e,itemsPerPage:t,totalItems:r})=>{let a=(0,n.useRef)(new Set);(0,n.useEffect)(()=>{for(let r=0;r<t;r++)a.current.add(e+r)},[e,t]);let isItemVisible=n=>(function({itemsPerPage:e,currentSlide:t,slideIdx:r,totalItems:n}){return t<0||t>=n||r>=t&&r<t+e})({slideIdx:n,currentSlide:e,itemsPerPage:t,totalItems:r});return{shouldRenderItem:e=>a.current.has(e)||isItemVisible(e),isItemVisible}}},3525:function(e,t,r){"use strict";r.d(t,{oN:function(){return useSlider}});var n=r(2784),a=r(8249);let nextPage=(e,t)=>(e+1)%t,previousPage=(e,t)=>(t-(t-e+1)%t)%t;function reducer(e,t){switch(t.type){case"NEXT_PAGE":{let t=e.infinite?e.totalPages+1:e.totalPages,r=nextPage(e.currentPage,t),n=r%t*e.itemsPerPage;return{...e,sliding:!0,slideDirection:"next",currentItem:n,currentPage:r}}case"PREVIOUS_PAGE":{let t=e.infinite?e.totalPages+1:e.totalPages,r=e.infinite&&0===e.currentPage,n=r?-1:previousPage(e.currentPage,e.totalPages);return{...e,sliding:!0,slideDirection:"previous",currentItem:n%t*e.itemsPerPage,currentPage:n}}case"GO_TO_PAGE":if(t.payload.pageIndex===e.currentPage)return e;return{...e,sliding:t.payload.shouldSlide,slideDirection:t.payload.pageIndex>e.currentPage?"next":"previous",currentItem:t.payload.pageIndex%e.totalPages*e.itemsPerPage,currentPage:t.payload.pageIndex};case"STOP_SLIDE":return{...e,sliding:!1};default:return e}}let defaultSliderState=(e,t,r)=>({currentItem:0,currentPage:0,sliding:!1,slideDirection:"next",totalItems:e,itemsPerPage:t,totalPages:Math.ceil(e/t),infinite:r}),slide=(e,t)=>{"next"===e&&t({type:"NEXT_PAGE"}),"previous"===e&&t({type:"PREVIOUS_PAGE"}),"number"==typeof e&&t({type:"GO_TO_PAGE",payload:{pageIndex:e,shouldSlide:!0}})},useSlider=({totalItems:e,itemsPerPage:t=1,infiniteMode:r=!1,shouldSlideOnSwipe:i=!0,...l})=>{let[o,s]=(0,n.useReducer)(reducer,void 0,()=>defaultSliderState(e,t,r)),c=(0,a.QS)({onSwipedRight:()=>i&&slide("previous",s),onSwipedLeft:()=>i&&slide("next",s),trackMouse:!0,...l});return{handlers:c,slide,sliderState:o,sliderDispatch:s}}},9237:function(e,t,r){"use strict";var n=r(2784),a=r(7041),i=r(2614),l=r(3525),o=r(9654),s=r(6487);let createTransformValues=(e,t)=>{let r={},n=100/t;for(let a=0;a<t;++a){let t=e?a-1:a,i=-(n*a);r[t]=i}return r};t.Z=function({children:e,className:t,"aria-label":r,infiniteMode:c=!1,controls:d="complete",testId:u="fs-carousel",transition:f={duration:400,property:"transform"},id:p="fs-carousel",variant:g="scroll",itemsPerPage:m=1,navigationIcons:v,...P}){if(m<1)throw Error("itemsPerPage must be greater than or equal to 1");let h=(0,n.useRef)(null),y="slide"===g,E="scroll"===g,b=n.Children.toArray(e),w=b.length,S=c?w+2:w,Z=`${f.property} ${f.duration}ms ${f.timing??""} ${f.delay??""}`,{handlers:x,slide:O,sliderState:j,sliderDispatch:I}=(0,l.oN)({itemsPerPage:m,infiniteMode:c,totalItems:w,shouldSlideOnSwipe:y,...P}),_=Math.ceil(w/j.itemsPerPage),[T,C]=(0,n.useState)("16px"),[R,k]=(0,n.useState)(0);(0,n.useEffect)(()=>{let e=h.current?.firstElementChild;e&&(C(getComputedStyle(e).getPropertyValue("margin-right")),k(Number(e.clientWidth)+parseInt(T,10)+1))},[R]);let M=(0,n.useMemo)(()=>createTransformValues(c,S),[S,c]),L=c&&e?b.slice(0,1):[],D=c&&e?b.slice(w-1):[],A=D.concat(e??[],L),N=(0,n.useMemo)(()=>({width:`${100*S}%`,transition:j.sliding?Z:void 0,transform:`translate3d(${M[j.currentPage]}%, 0, 0)`}),[S,M,Z,j.sliding,j.currentPage]),$=(0,n.useMemo)(()=>({width:"100%",overflowX:"scroll",whiteSpace:"nowrap"}),[]),slidePrevious=()=>{!j.sliding&&(c||0!==j.currentPage)&&O("previous",I)},slideNext=()=>{!j.sliding&&(c||j.currentPage!==w-1)&&O("next",I)},onScrollPagination=async(e,t)=>{if("previous"===t&&0===j.currentPage||"next"===t&&j.currentPage===j.totalPages-1)return;let r=e*R*m;h.current?.scrollTo({left:r,behavior:"smooth"}),O(e,I)};return n.createElement("section",{id:p,"data-fs-carousel":!0,"data-fs-carousel-variant":g,className:t,"data-testid":u,"aria-label":r},n.createElement("div",{"data-fs-carousel-track-container":!0,style:{width:"100%",overflow:"hidden",display:E?"block":void 0},...x},n.createElement("ul",{"aria-live":"polite",ref:h,style:y&&N||E&&$,"data-fs-carousel-track":!0,onScroll:e=>{if(y||m>1)return;let t=Number(e.currentTarget.firstElementChild?.scrollWidth),r=e.currentTarget?.scrollLeft,n=r>t/2?Math.round:Math.floor,a=n(r/t);O(a,I)},onTransitionEnd:()=>{I({type:"STOP_SLIDE"}),c&&j.currentItem>=w&&I({type:"GO_TO_PAGE",payload:{pageIndex:0,shouldSlide:!1}}),c&&j.currentItem<0&&I({type:"GO_TO_PAGE",payload:{pageIndex:j.totalPages-1,shouldSlide:!1}})}},A.map((e,t)=>n.createElement(s.Z,{id:p,index:t,key:String(t),state:j,totalItems:w,infiniteMode:c,isScrollCarousel:E,marginRightValue:T},e)))),1!==_&&("complete"===d||"navigationArrows"===d)&&n.createElement("div",{"data-fs-carousel-controls":!0},n.createElement(a.Z,{"data-fs-carousel-control":"left","aria-controls":p,disabled:!c&&0===j.currentPage,"aria-label":"previous",icon:v?.left??n.createElement(i.Z,{name:"ArrowLeft",width:20,height:20,weight:"bold"}),onClick:()=>{y&&slidePrevious(),E&&onScrollPagination(j.currentPage-1,"previous")}}),n.createElement(a.Z,{"data-fs-carousel-control":"right","aria-controls":p,disabled:!c&&j.currentPage===j.totalPages-1,"aria-label":"next",icon:v?.right??n.createElement(i.Z,{name:"ArrowRight",width:20,height:20,weight:"bold"}),onClick:()=>{y&&slideNext(),E&&onScrollPagination(j.currentPage+1,"next")}})),1!==_&&("complete"===d||"paginationBullets"===d)&&n.createElement(o.Z,{id:p,tabIndex:0,activeBullet:j.currentPage,totalQuantity:_,onKeyDown:e=>{switch(e.key){case"ArrowLeft":y&&slidePrevious(),E&&onScrollPagination(j.currentPage-1,"previous");break;case"ArrowRight":y&&slideNext(),E&&onScrollPagination(j.currentPage+1,"next");break;case"Home":O(0,I);break;case"End":O(w-1,I)}},onClick:async(e,t)=>{y&&!j.sliding&&O(t,I),E&&onScrollPagination(t)},onFocus:e=>e.currentTarget.focus(),ariaControlsGenerator:e=>`${p}-carousel-item-${e}`}))}},9654:function(e,t,r){"use strict";var n=r(2784),a=r(3339);let defaultAriaLabel=(e,t,r)=>r?`Current page from ${e}`:`Go to page ${t+1} from ${e}`,i=(0,n.forwardRef)(function({id:e,totalQuantity:t,activeBullet:r,onClick:i,testId:l="fs-carousel-bullets",ariaLabelGenerator:o=defaultAriaLabel,ariaControlsGenerator:s,...c},d){let u=(0,n.useMemo)(()=>Array(t).fill(0),[t]);return n.createElement("div",{ref:d,"data-fs-carousel-bullets":!0,"data-testid":l,role:"tablist",...c},u.map((t,c)=>{let d=r===c;return n.createElement(a.Z,{key:`${e}-${c}`,role:"tab",tabIndex:-1,"data-fs-carousel-bullet":!0,testId:`${l}-bullet`,onClick:e=>i(e,c),"aria-label":o(e,c,d),"aria-controls":s?.(c),"aria-selected":d,variant:"tertiary"})}))});t.Z=i},6487:function(e,t,r){"use strict";var n=r(2784),a=r(339);t.Z=function({id:e,index:t,state:r,children:i,totalItems:l,infiniteMode:o,isScrollCarousel:s,marginRightValue:c}){let{isItemVisible:d,shouldRenderItem:u}=(0,a.K)({totalItems:l,currentSlide:r.currentItem,itemsPerPage:r.itemsPerPage}),f={width:`calc((100% - ${c} * ${r.itemsPerPage-1}) / ${r.itemsPerPage})`},p=s&&r.itemsPerPage>1?{...f}:{width:"100%"},g=s||u(t-Number(o));return n.createElement("li",{style:p,id:`${e}-carousel-item-${t}`,"data-fs-carousel-item":!0,"data-fs-carousel-item-visible":d(t-Number(o))||void 0},g?i:null)}},2946:function(e,t,r){"use strict";r.d(t,{Z:function(){return DiscountBadge_DiscountBadge}});var n=r(2784),a=r(276);let useDiscountPercent=(e,t)=>(0,n.useMemo)(()=>{let r=e-t,n=100*r/e;return Math.round(n)},[t,e]);var DiscountBadge_DiscountBadge=({listPrice:e,spotPrice:t,thresholdLow:r=15,thresholdHigh:i=40,size:l,testId:o="fs-discount-badge"})=>{let s=useDiscountPercent(e,t);if(0===s)return n.createElement(n.Fragment,null);let c=s<=r?"low":s<=i?"medium":"high";return n.createElement(a.Z,{"data-fs-discount-badge":!0,"data-fs-discount-badge-variant":c,size:l,"data-testid":o},s,"% off")}},3779:function(e,t,r){"use strict";var n=r(2784),a=r(2256),i=r(1953),l=r(7041),o=r(2614),s=r(3339);t.Z=({id:e,label:t,type:r="text",error:c,displayClearButton:d,actionable:u,buttonActionText:f="Apply",onSubmit:p,onClear:g,placeholder:m=" ",inputRef:v,disabled:P,value:h,testId:y="fs-input-field",...E})=>{let b=!P&&c&&""!==c,w=u&&!P&&""!==h;return n.createElement("div",{"data-fs-input-field":!0,"data-fs-input-field-actionable":u,"data-fs-input-field-error":c&&""!==c,"data-testid":y},n.createElement(a.Z,{id:e,type:r,value:h,ref:v,disabled:P,placeholder:m,...E}),n.createElement(i.Z,{htmlFor:e},t),w&&(d||c?n.createElement(l.Z,{size:"small","aria-label":"Clear Field",icon:n.createElement(o.Z,{name:"XCircle"}),onClick:()=>{g?.(),v?.current?.focus()}}):n.createElement(s.Z,{variant:"tertiary",size:"small",onClick:p},f)),b&&n.createElement("span",{"data-fs-input-field-error-message":!0},c))}},8394:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-product-card",variant:t="default",bordered:r=!1,outOfStock:a,children:i,...l},o){return n.createElement("article",{ref:o,"data-fs-product-card":a?"out-of-stock":"","data-fs-product-card-variant":t,"data-fs-product-card-bordered":r,"data-testid":e,...l},i)});t.Z=a},547:function(e,t,r){"use strict";var n=r(2784),a=r(727),i=r(9088),l=r(1953),o=r(3024),s=r(2614),c=r(2946),d=r(276),u=r(3339);let f=(0,n.forwardRef)(function({testId:e="fs-product-card-content",title:t,linkProps:r,price:f,outOfStock:p,outOfStockLabel:g="Out of stock",ratingValue:m,showDiscountBadge:v,buttonLabel:P="Add",onButtonClick:h,children:y,includeTaxes:E=!1,includeTaxesLabel:b="Tax included",sponsored:w=!1,sponsoredLabel:S="Sponsored",...Z},x){let O=f?.listPrice?f.listPrice:0,j=f?.value?f.value:0;return n.createElement("section",{ref:x,"data-fs-product-card-content":!0,"data-fs-product-card-badge":v,"data-testid":e,...Z},w&&n.createElement("span",{"data-fs-product-card-sponsored-label":!0},S),n.createElement("div",{"data-fs-product-card-heading":!0},n.createElement("h3",{"data-fs-product-card-title":!0},n.createElement(a.Z,{...r,title:t},n.createElement("span",null,t))),!p&&n.createElement(i.Z,{"data-fs-product-card-prices":!0,value:j,listPrice:O,formatter:f?.formatter}),E&&n.createElement(l.Z,{"data-fs-product-card-taxes-label":!0},b),m&&n.createElement(o.Z,{value:m,icon:n.createElement(s.Z,{name:"Star"})})),v&&!p&&n.createElement(c.Z,{listPrice:O,spotPrice:j}),p&&n.createElement(d.Z,null,g),h&&!p&&n.createElement("div",{"data-fs-product-card-actions":!0},n.createElement(u.Z,{variant:"primary",icon:n.createElement(s.Z,{name:"ShoppingCart"}),iconPosition:"left",size:"small",onClick:h},P)))});t.Z=f},5167:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-product-card-image",aspectRatio:t=1,children:r,...a},i){return n.createElement("div",{ref:i,"data-fs-product-card-image":!0,"data-testid":e,style:{"--fs-product-card-image-aspect-ratio":t},...a},r)});t.Z=a},9088:function(e,t,r){"use strict";var n=r(2784),a=r(9767);let i=(0,n.forwardRef)(function({testId:e="fs-product-price",value:t,listPrice:r,formatter:i,...l},o){let s=r??0,c=t??0;return n.createElement("div",{ref:o,"data-fs-product-price":!0,"data-testid":e,...l},c!==s&&0!==s?n.createElement(n.Fragment,null,n.createElement(a.Z,{value:s,formatter:i,testId:"list-price","data-value":s,variant:"listing",SRText:"Original price:"}),n.createElement(a.Z,{value:c,formatter:i,testId:"price","data-value":c,variant:"spot",SRText:"Price:"})):n.createElement(a.Z,{value:c,formatter:i,testId:"price","data-value":c,variant:"spot",SRText:"Price:"}))});t.Z=i},3024:function(e,t,r){"use strict";var n=r(2784),a=r(2614),i=r(7041),l=r(4564);let o=(0,n.forwardRef)(function({children:e,testId:t="fs-rating",length:r=5,value:o=0,icon:s,onChange:c,...d},u){let[f,p]=(0,n.useState)(0),g={"data-fs-rating-icon-outline":!0},m=n.isValidElement(s)?s:n.createElement(a.Z,{name:"Star"});return n.createElement(l.Z,{ref:u,"data-fs-rating":!0,"data-fs-rating-actionable":"function"==typeof c,"data-testid":t,...d},Array.from({length:r}).map((e,r)=>{let l=r+1;return n.createElement("li",{key:`rating-${r}`,"data-fs-rating-item":l<=(f||o)?"full":l-o>0&&l-o<1?"partial":"empty","data-testid":`${t}-item`},c?n.createElement(i.Z,{"data-fs-rating-button":!0,icon:m,size:"small","aria-label":"rate",onClick:()=>{c(l)},onMouseEnter:()=>p(l),onMouseLeave:()=>p(o)}):n.createElement(n.Fragment,null,n.createElement("div",{"data-fs-rating-icon-wrapper":!0},m),n.isValidElement(s)?n.cloneElement(s,g):n.createElement(a.Z,{name:"Star","data-fs-rating-icon-outline":!0})))}))});t.Z=o},7115:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({card:e,children:t,colorVariant:r="main",testId:a="fs-newsletter",...i},l){return n.createElement("div",{ref:l,"data-testid":a,"data-fs-content":"newsletter","data-fs-newsletter":e?"card":"","data-fs-newsletter-color-variant":r,...i},t)});t.Z=a},2294:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({addendum:e,testId:t="fs-newsletter-addendum",...r},a){return n.createElement("span",{ref:a,"data-testid":t,"data-fs-newsletter-addendum":!0,...r},e)});t.Z=a},4207:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({children:e,testId:t="fs-newsletter-content",...r},a){return n.createElement("div",{ref:a,"data-testid":t,"data-fs-newsletter-content":!0,...r},e)});t.Z=a},2571:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({children:e,onSubmit:t,testId:r="fs-newsletter-form",...a},i){return n.createElement("form",{ref:i,"data-testid":r,"data-fs-newsletter-form":!0,onSubmit:t,...a},e)});t.Z=a},4796:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({icon:e,title:t,description:r,testId:a="fs-newsletter-header",...i},l){return n.createElement("header",{ref:l,"data-testid":a,"data-fs-newsletter-header":!0,...i},n.createElement("h3",{"data-fs-newsletter-header-title":!0},e,t),r&&n.createElement("span",{"data-fs-newsletter-header-description":!0},r))});t.Z=a},6737:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="fs-product-shelf",children:t,...r},a){return n.createElement("div",{ref:a,"data-fs-product-shelf":!0,"data-fs-content":"product-shelf","data-testid":e,...r},t)});t.Z=a},7242:function(e,t,r){"use strict";var n=r(1696),a=r(9089),i=r(421),l=r.n(i),o=r(2322);t.Z=function(e){var{incentives:t,label:r}=e;return(0,o.jsx)(a.Z,{className:"".concat(l().section," section-incentives layout__section"),children:(0,o.jsx)(n.Z,{incentives:t,colored:!0,label:null!=r?r:""})})}},8205:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return LandingPage},getLandingPageBySlug:function(){return _}});var n,a,i,l=r(29),o=r(9499),s=r(5351),c=r(7563),d=r(8545),u=r(3620),f=r(2505),p=r(3638),g=r(7242),m=r(1482),v=r(1171),P=r(6881),h=r(4439),y=r(1271);let MissingContentError=class MissingContentError extends Error{constructor(e){super("Missing content on the CMS for content type ".concat(e.contentType,". Add content before proceeding. Context: ").concat(JSON.stringify(e,null,2)))}};var E=r(4960),b=r(8944);let MultipleContentError=class MultipleContentError extends Error{constructor(e){super("Multiple content defined on the CMS for content type ".concat(e.contentType,". Remove duplicated content before proceeding. Context: ").concat(JSON.stringify(e,null,2)))}};var w=r(5430),S=r.n(w);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}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){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var isLocator=e=>"string"==typeof e.contentType&&("string"==typeof e.releaseId||"string"==typeof e.documentId||"string"==typeof e.versionId),Z=new b.Z({workspace:S().api.workspace,tenant:S().api.storeId}),x=(n=(0,l.Z)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z;if(isLocator(e))return yield t.getCMSPage(e).then(e=>({data:[e]}));var r=[],n=yield t.getCMSPagesByContentType(e.contentType,_objectSpread(_objectSpread({},e.filters),{},{page:1,perPage:10}));r.push(...n.data);var a=Array.from({length:Math.ceil(n.totalItems/10)-1},(e,t)=>t+2);return n.totalItems>r.length&&(yield Promise.all(a.map(r=>t.getCMSPagesByContentType(e.contentType,_objectSpread(_objectSpread({},e.filters),{},{page:r,perPage:10}))))).forEach(e=>{r.push(...e.data)}),{data:r}}),function(e){return n.apply(this,arguments)}),O=(a=(0,l.Z)(function*(e){var t=(yield x(e)).data;if(!t[0])throw new MissingContentError(e);if(1!==t.length)throw new MultipleContentError(e);return t[0]}),function(e){return a.apply(this,arguments)}),j=r(2322);function LandingPage_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function LandingPage_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?LandingPage_ownKeys(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LandingPage_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var I=LandingPage_objectSpread(LandingPage_objectSpread({},y.Z),{},{Hero:p.V,BannerText:u.OverriddenDefaultBannerText,BannerNewsletter:d.default,CrossSellingShelf:f.Z,Incentives:g.Z,Newsletter:m.OverriddenDefaultNewsletter,ProductShelf:v.OverriddenDefaultProductShelf,ProductTiles:P.Z},h.Z);function LandingPage(e){var t,r,n,a,i,l,o,d,u,f,p,g,m,v,{page:{sections:P,settings:h},slug:y,serverData:b,globalSections:w}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(s.PB,{title:null!==(t=null==h?void 0:null===(r=h.seo)||void 0===r?void 0:r.title)&&void 0!==t?t:S().seo.title,description:null!==(n=null==h?void 0:null===(a=h.seo)||void 0===a?void 0:a.description)&&void 0!==n?n:null===(i=S().seo)||void 0===i?void 0:i.description,titleTemplate:null!==(l=null===(o=S().seo)||void 0===o?void 0:o.titleTemplate)&&void 0!==l?l:null===(d=S().seo)||void 0===d?void 0:d.title,canonical:null!==(u=null==h?void 0:null===(f=h.seo)||void 0===f?void 0:f.canonical)&&void 0!==u?u:"".concat(S().storeUrl,"/").concat(y),openGraph:{type:"website",url:S().storeUrl,title:null!==(p=null==h?void 0:null===(g=h.seo)||void 0===g?void 0:g.title)&&void 0!==p?p:S().seo.title,description:null!==(m=null==h?void 0:null===(v=h.seo)||void 0===v?void 0:v.description)&&void 0!==m?m:S().seo.description}}),(0,j.jsx)(s.iu,{url:S().storeUrl,potentialActions:[{target:"".concat(S().storeUrl,"/s/?q"),queryInput:"search_term_string"}]}),(0,j.jsx)(E.ZP,{context:{data:b},children:(0,j.jsx)(c.Z,{sections:P,globalSections:w,components:I})})]})}var _=(i=(0,l.Z)(function*(e,t){try{if(S().cms.data){var r=JSON.parse(S().cms.data).landingPage.find(e=>{var t,r;null===(t=e.settings)||void 0===t||null===(r=t.seo)||void 0===r||r.slug});if(r)return yield O({contentType:"landingPage",documentId:r.documentId,versionId:r.versionId})}return yield O(LandingPage_objectSpread(LandingPage_objectSpread({},(null==t?void 0:t.contentType)==="landingPage"?t:{filters:{filters:{"settings.seo.slug":"/".concat(e)}}}),{},{contentType:"landingPage"}))}catch(e){if(e instanceof MissingContentError)return null;throw e}}),function(e,t){return i.apply(this,arguments)})},1696:function(e,t,r){"use strict";var n=r(4564),a=r(2659),i=r(2614),l=r(2322);t.Z=function(e){var{incentives:t,variant:r="horizontal",colored:o=!1,label:s}=e;return(0,l.jsx)("section",{"data-fs-incentives":!0,"data-fs-incentives-colored":o,"data-fs-incentives-variant":r,"aria-label":"Incentives List ".concat(s),children:(0,l.jsx)(n.Z,{"data-fs-content":"incentives",children:t.map((e,t)=>(0,l.jsx)("li",{role:"listitem",children:(0,l.jsxs)(a.Z,{tabIndex:0,children:[(0,l.jsx)(i.Z,{"data-fs-incentive-icon":!0,"aria-label":e.alt,name:e.icon,width:32,height:32}),(0,l.jsxs)("section",{"data-fs-incentive-content":!0,children:[(0,l.jsx)("p",{"data-fs-incentive-title":!0,children:e.title}),(0,l.jsx)("span",{"data-fs-incentive-description":!0,children:e.firstLineText}),e.secondLineText&&(0,l.jsx)("span",{"data-fs-incentive-description":!0,children:e.secondLineText})]})]})},String(t)))})})}},421:function(e){e.exports={section:"section_section__jnQ3q"}},2659:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="store-incentive",children:t,...r},a){return n.createElement("section",{ref:a,"data-fs-incentive":!0,"data-testid":e,...r},t)});t.Z=a},7901:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="store-tile",children:t,...r},a){return n.createElement("li",{ref:a,role:"listitem","data-fs-tile":!0,"data-testid":e,...r},t)});t.Z=a},3877:function(e,t,r){"use strict";var n=r(2784);let a=(0,n.forwardRef)(function({testId:e="store-tiles",children:t,...r},a){let i=n.Children.count(t);return n.createElement("ul",{ref:a,role:"list","data-fs-tiles":!0,"data-fs-tiles-variant":3===i?"expanded-first":2===i?"expanded-first-two":"","data-fs-content":"tiles","data-testid":e,...r},t)});t.Z=a}}]);
|