1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6116],{94184:function(e,t){var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var s=typeof r;if("string"===s||"number"===s)e.push(r);else if(Array.isArray(r)){if(r.length){var l=n.apply(null,r);l&&e.push(l)}}else if("object"===s)if(r.toString===Object.prototype.toString)for(var i in r)a.call(r,i)&&r[i]&&e.push(i);else e.push(r.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},92183:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/prototype/wallet",function(){return r(84196)}])},84196:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return p}});var a=r(85893),n=r(67294),s=r(16603),l=r(41664),i=r.n(l),c=r(97084),o=r(8141),d=r(60246),u=r(84244),m=r(46951),h=r(11163),x=[{label:"Overview",url:"overview",component:d.default},{label:"History",url:"history",component:o.default},{label:"Voucher",url:"voucher",component:u.default}];function p(){var e=(0,h.useRouter)(),t=(0,h.useRouter)().query,r=(0,m.C)(),l=(0,n.useState)(null),o=(l[0],l[1]),d=(t.ads,e.query.game),u=e.query.tab,p=u||"overview";return(0,n.useEffect)((function(){o(r.getGameBySlug(d))}),[d]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(c.Z,{title:"Wallet",children:[(0,a.jsx)(s.Z,{width:"1005",height:"300"}),(0,a.jsx)("section",{className:"mb-4",children:(0,a.jsxs)("div",{className:"relative surface sm:rounded-lg overflow-hidden p-4 lg:p-8 lg:min-h-[250px] lg:flex items-center",children:[(0,a.jsxs)("div",{className:"relative z-10",children:[(0,a.jsx)("h1",{children:"Wallet"}),(0,a.jsx)("p",{className:"text-ui-300 max-w-[70ch] mt-4",children:"Get to know the different currencies and rewards by clicking on the icons and keep track of your earnings from Missions, Weekly Brawls and Monthly Tournaments."})]}),(0,a.jsxs)("div",{className:"absolute hidden md:block z-0 right-0 inset-y-0 w-full animate-slide-in-right animate-delay",style:{"--delay":"calc(1 * 0.05s)"},children:[(0,a.jsx)("div",{className:"absolute z-10 inset-0 bg-gradient-to-r from-ui-800 via-ui-800/50 to-ui-800/0"}),(0,a.jsx)("img",{className:"absolute z-0 object-right object-cover xl:object-cover inset-0 w-full h-full",src:"https://res.cloudinary.com/gloot/image/upload/v1659462918/Marketing/2022_prototype/Wallet_bg.webp"})]})]})}),(0,a.jsx)("nav",{children:(0,a.jsx)("ul",{className:"tabs border-b border-ui-700",children:x.map((function(e,t){return(0,a.jsx)("li",{children:(0,a.jsx)(i(),{href:"/prototype/wallet/?tab=".concat(e.url).concat(r.getURLparams("&")),children:(0,a.jsx)("a",{className:"".concat(p===e.url?"is-active":""),children:(0,a.jsx)("span",{children:e.label})})})},e)}))})}),(0,a.jsx)("section",{className:"py-4",children:x.map((function(e,t){if(e.url===p)return n.createElement(e.component,{key:t})}))})]})})}},8141:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return d}});var a=r(85893),n=r(41664),s=r.n(n),l=r(30381),i=r.n(l),c=r(11163),o=[{credit:!1,value:25,name:"Token purchase",date:"2023-02-19T06:00:00Z"},{credit:!1,value:5,name:"Token purchase",date:"2022-11-06T06:00:00Z"},{credit:!1,value:50,name:"Token purchase",date:"2022-10-05T06:00:00Z"}];function d(){var e="true"===(0,c.useRouter)().query.empty;return(0,a.jsxs)(a.Fragment,{children:[e&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"surface rounded-lg px-4 py-8 text-center",children:(0,a.jsxs)("div",{className:"max-w-xs mx-auto",children:[(0,a.jsx)("span",{className:"icon icon-smile text-6xl text-ui-500"}),(0,a.jsxs)("div",{className:"mt-2 mb-6",children:[(0,a.jsx)("p",{className:"text-sm text-ui-400",children:"There are no events to be displayed yet."}),(0,a.jsx)("p",{className:"text-lg text-ui-300",children:"Play tournaments and competitions to see the history of your earnings."})]}),(0,a.jsx)(s(),{href:"/prototype/valorant/tournaments",children:(0,a.jsx)("a",{className:"button button-main",children:(0,a.jsx)("span",{children:"Browse tournaments"})})})]})})}),!e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"overflow-y-hidden overflow-x-auto scrollbar-desktop px-4 sm:px-0 pb-4",children:(0,a.jsxs)("table",{className:"table table-rounded rounded-xl w-full",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Amount"}),(0,a.jsx)("th",{children:"Type"}),(0,a.jsx)("th",{children:"Date"})]})}),(0,a.jsx)("tbody",{children:o.map((function(e,t){return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("tr",{className:"animate-slide-in-bottom animate-delay",style:{"--delay":"calc("+t+" * 0.05s)"},children:[(0,a.jsx)("td",{children:(0,a.jsxs)("div",{className:"ml-1 rounded w-24 text-center p-1 bg-gradient-to-b from-ui-900/50 to-ui-900/10 text-lg ".concat(!0===e.credit?"text-main":"text-error-500"),children:[!0===e.credit&&(0,a.jsx)(a.Fragment,{children:"+"}),!1===e.credit&&(0,a.jsx)(a.Fragment,{children:"-"}),e.value,"\u20ac"]})}),(0,a.jsx)("td",{children:e.name}),(0,a.jsxs)("td",{children:[(0,a.jsx)("div",{className:"text-sm text-ui-300",children:i()(e.date,"YYYY-MM-DDThh:mm:ss.SSS").format("dddd, MMMM Do YYYY")}),(0,a.jsxs)("div",{className:"text-sm text-ui-300",children:[i()(e.date,"YYYY-MM-DDThh:mm:ss.SSS").format("h:mm:ss a")," ","UTC"]})]})]},e)})}))})]})}),(0,a.jsx)("div",{className:"text-center mt-4 mb-8",children:(0,a.jsx)("button",{type:"button",className:"button button-sm button-primary",children:(0,a.jsx)("span",{children:"Load more"})})})]})]})}},84244:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});var a=r(85893);function n(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"py-16 relative",children:[(0,a.jsx)("img",{className:"hidden lg:block absolute animate-fade-in animate-delay z-20 pointer-events-none -top-4 right-[calc(50%-250px)] rotate-[33deg]",src:"https://res.cloudinary.com/gloot/image/upload/v1657625027/Marketing/2022_prototype/3D_object_crown.webp",width:"175",height:"auto",alt:"",style:{"--delay":"calc(2 * 0.05s)"}}),(0,a.jsx)("img",{className:"hidden lg:block absolute animate-fade-in animate-delay z-20 pointer-events-none bottom-4 left-[calc(50%-275px)] -rotate-[33deg]",src:"https://res.cloudinary.com/gloot/image/upload/v1657625027/Marketing/2022_prototype/3D_object_star.webp",width:"125",height:"auto",alt:"",style:{"--delay":"calc(3 * 0.05s)"}}),(0,a.jsxs)("div",{className:"relative z-10 surface rounded-xl p-4 w-full max-w-xs mx-auto animate-slide-in-bottom",children:[(0,a.jsx)("h2",{className:"text-2xl text-center mt-4",children:"Claim your voucher"}),(0,a.jsxs)("div",{className:"form-group my-8",children:[(0,a.jsx)("label",{htmlFor:"voucher",children:"Voucher co
1de"}),(0,a.jsx)("input",{type:"text",name:"voucher",id:"voucher"})]}),(0,a.jsx)("button",{type:"button",className:"button button-primary w-full",children:(0,a.jsx)("span",{children:"Claim voucher"})})]})]})})}}},function(e){e.O(0,[296,4885,1664,9260,7314,9852,5448,1078,3501,7084,246,9774,2888,179],(function(){return t=92183,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.