1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8581:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(1628)}])},4523:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var s=r(5893),n=r(4184),a=r.n(n);function i(e){var t=e.text,r=e.show,n=a()({"flex w-full absolute justify-center text-center items-center gap-4 p-5 text-sky-700 bg-sky-50 border-sky-900/10 rounded":!0,hidden:!r});return(0,s.jsxs)("div",{className:n,role:"alert",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-sky-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,s.jsxs)("strong",{className:"text-m font-bold",children:[" ",t," "]})]})}},8159:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var s=r(5893),n=r(1664),a=r.n(n);function i(e){var t=e.name,r=e.price,n=e.brand,i=e.images,l=e.id;return(0,s.jsx)(a(),{href:"/products/".concat(l),passHref:!0,children:(0,s.jsxs)("div",{className:"block",style:{cursor:"pointer"},children:[(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsxs)("strong",{className:"relative h-6 px-4 text-xs leading-6 text-white uppercase bg-black",children:[" ","New"," "]})}),(0,s.jsx)("img",{alt:"Trainer Product",src:i[0],className:"object-cover w-full m-t-3 h-96",style:{objectFit:"contain",maxWidth:"100%",maxHeight:"100%",width:"auto",height:"auto"}}),(0,s.jsx)("h5",{className:"mt-4 text-sm text-black/90 truncate",children:t}),(0,s.jsxs)("div",{className:"flex items-center justify-between mt-4 font-bold",children:[(0,s.jsx)("p",{className:"text-lg",children:r}),(0,s.jsx)("p",{className:"text-xs tracking-wide uppercase",children:n})]})]})})}},1628:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return N}});var s=r(5893),n=r(6628),a=r(2807),i=r(2836),l=r(7294),c=r(7245),o=r(8159);function d(e){var t=e.products;return(0,s.jsx)("section",{children:(0,s.jsxs)("div",{className:"max-w-screen-xl px-4 py-8 mx-auto",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"inline-block w-12 h-1 bg-red-700"}),(0,s.jsx)("h2",{className:"mt-1 text-2xl font-extrabold tracking-wide uppercase lg:text-3xl",children:"Trainers"})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 mt-8 lg:grid-cols-4 gap-x-4 gap-y-8",children:t&&t.map((function(e,t){if(!0===e.NEW)return(0,s.jsx)(o.Z,{name:e.NAME,price:e.PRICE,brand:e.BRAND,images:e.IMG_URLS,id:e.ID},t)}))})]})})}var u=r(1664),x=r.n(u);function m(){return(0,s.jsx)("section",{className:"text-white bg-gray-900",children:(0,s.jsx)("div",{className:"max-w-screen-xl px-4 py-32 mx-auto lg:q-screen lg:items-center lg:flex",children:(0,s.jsxs)("div",{className:"max-w-3xl mx-auto text-center",children:[(0,s.jsx)("h1",{className:"text-3xl font-extrabold text-transparent sm:text-5xl bg-clip-text bg-gradient-to-r from-green-300 via-blue-500 to-purple-600 leading-normal",children:(0,s.jsx)("span",{className:"leading-normal",children:"We are HypeBeast."})}),(0,s.jsx)("div",{children:(0,s.jsx)("img",{className:"mx-auto py-4 object-contain h-96 w-96",src:"/images/logo.png",alt:"HypeBeast logo large"})}),(0,s.jsx)(x(),{href:"/products",passHref:!0,children:(0,s.jsx)("a",{className:"inline-block p-[2px] rounded bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500 text-white active:text-opacity-75 focus:outline-none focus:ring",href:"/download",children:(0,s.jsx)("span",{className:"block px-8 py-3 text-sm font-medium bg-white rounded-sm bg-transparent",children:"Shop Now"})})})]})})})}var h=r(723),p=r(4044),f=r(5338);function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=function(e){var t=e.children,r=e.width;return(0,s.jsx)("div",{className:"carousel-item",style:{width:r},children:t})},w=function(e){var t=e.children,r=(0,l.useState)(0),n=r[0],a=r[1],i=(0,l.useState)(!1),c=i[0],o=i[1],d=function(e){e<0?e=l.Children.count(t)-1:e>=l.Children.count(t)&&(e=0),a(e)};(0,l.useEffect)((function(){var e=setInterval((function(){c||d(n+1)}),3e3);return function(){e&&clearInterval(e)}}));var u=(0,f.QS)({onSwipedLeft:function(){return d(n+1)},onSwipedRight:function(){return d(n-1)}});return(0,s.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},s=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1)))),s.forEach((function(t){g(e,t,r[t])}))}return e}({},u,{className:"carousel",onMouseEnter:function(){return o(!0)},onMouseLeave:function(){return o(!1)},children:(0,s.jsx)("div",{className:"inner",style:{transform:"translateX(-".concat(100*n,"%)")},children:l.Children.map(t,(function(e,t){return l.cloneElement(e,{width:"100%"})}))})}))};function v(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("section",{className:"max-w-screen-xl mx-auto",children:(0,s.jsx)("aside",{className:"p-16 pt-16 sm:p-16 sm:pt-16 bg-gradient-to-r from-purple-600 to-blue-500",children:(0,s.jsxs)("div",{className:"sm:items-center sm:justify-between sm:flex",children:[(0,s.jsx)("div",{className:"max-w-xl",role:"newest products call to action",children:(0,s.jsx)(x(),{href:"/products",passHref:!0,children:(0,s.jsx)("p",{className:"text-3xl font-bold text-white sm:text-4xl",children:"Check out our newest arrivals"})})}),(0,s.jsx)(x(),{href:"/products",passHref:!0,children:(0,s.jsx)("a",{href:"",className:"inline-block px-8 py-4 mt-4 text-blue-500 bg-white rounded-lg shadow-lg hover:opacity-75 sm:mt-0 sm:ml-8",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 sm:h-8 sm:w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"})})})})]})})}),(0,s.jsx)("section",{children:(0,s.jsx)("div",{className:"max-w-screen-xl px-4 py-16 mx-auto sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:gap-16 lg:grid-cols-2",children:[(0,s.jsx)("div",{className:"h-64 overflow-hidden rounded-lg sm:h-80 lg:h-full lg:order-last",children:(0,s.jsxs)(w,{role:"Carousel",children:[(0,s.jsx)(j,{children:(0,s.jsx)("img",{src:"/images/brad-starkey-Bowrbqz1kgw-unsplash.jpg",alt:"Carousel image, sneaker drop","aria-label":"Carousel Image - sneaker drop"})}),(0,s.jsx)(j,{children:(0,s.jsx)("img",{src:"/images/will-breen-QbDe8JxtUp0-unsplash.jpg",alt:"Carousel image, sneaker drop","aria-label":"Carousel Image - sneaker drop"})}),(0,s.jsx)(j,{children:(0,s.jsx)("img",{src:"/images/danilo-capece-NoVnXXmDNi0-unsplash.jpg",alt:"Carousel image, sneaker drop","aria-label":"Carousel Image - sneaker drop"})})]})}),(0,s.jsxs)("div",{className:"lg:py-24",role:"email sign up",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold sm:text-4xl",children:"Never miss a drop again..."}),(0,s.jsx)("p",{className:"mt-4 text-gray-600",children:"Just sign up for our alerts and we'll let you know about the\n hottest sneaker drops!"}),(0,s.jsxs)("div",{className:"mt-4 relative w-full",children:[(0,s.jsxs)("label",{className:"block text-xs font-medium text-gray-500",htmlFor:"email",children:[" ","Email"," "]}),(0,s.jsx)("input",{className:"w-8/12 sm:w-3/4 lg:w-3/4 p-3 mt-1 text-sm border-2 border-gray-200 rounded",id:"email",type:"email"}),(0,s.jsx)("button",{type:"submit",className:"inline-block px-5 py-3 ml-3 text-sm font-medium text-white bg-indigo-600 rounded-lg",children:"Sign up"})]})]})]})})})]})}var b=r(4523);function N(){var e=(0,n.I0)(),t=(0,n.v9)((function(e){return e.store})),r=t.products,o=t.notify,u=t.notifyText;return(0,l.useEffect)((function(){e((0,a.X)()),e((0,i.z)("This is a sample application, some of the links might not work!"))}),[e]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(b.Z,{show:o,text:u}),(0,s.jsx)(c.Z,{}),(0,s.jsx)(m,{}),(0,s.jsx)(d,{products:r}),(0,s.jsx)(v,{}),(0,s.jsx)(h.Z,{}),(0,s.jsx)(p.Z,{})]})}},2836:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var s=r(4051),n=r.n(s),a=r(340);function i(e,t,r,s,n,a,i){try{var l=e[a](i),c=l.value}catch(o){return void r(o)}l.done?t(c):Promise.resolve(c).then(s,n)}var l=function(e){return function(){var t,r=(t=n().mark((function t(r){return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r({type:a.IS,payload:e}),setTimeout((function(){r({type:a.zn})}),2500);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(s,n){var a=t.apply(e,r);function l(e){i(a,s,n,l,c,"next",e)}function c(e){i(a,s,n,l,c,"throw",e)}l(void 0)}))});return function(e){return r.apply(this,arguments)}}()}}},function(e){e.O(0,[754,471,774,888,179],(function(){return t=8581,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.