{"version":3,"sources":["common/seo.jsx","home/apis.js","common/howItWorks.jsx","common/footer.jsx","sweepstakes/components/common/prizePoolCardLoading.jsx","common/emptyScreen.jsx","home/components/layouts/contestsWinners.jsx","home/components/layouts/sweepsWinners.jsx","contests/winners.jsx"],"names":["SEO","_ref","_window","_window$location","title","description","image","keywords","ogTitle","ogDescription","ogUrl","ogImageAlt","twitterCard","twitterTitle","twitterDescription","_jsxs","Helmet","children","_jsx","name","content","property","concat","window","location","origin","loadContests","async","headers","process","response","axios","method","params","url","jwt","data","e","loadGameCounts","id","fetchNFT","tokenId","address","callback","then","nftResponse","catch","err","subscribeNewsLetter","email","context","withRouter","connect","state","getUser","dispatch","contestEntry","loadProfile","showModal","toggleModal","type","themeMode","getCookie","nav1","setNav1","useState","nav2","setNav2","useEffect","dataLayer","push","prepareData","event","section","advanmcement","step","_Fragment","Modal","className","dialogClassName","show","onHide","tabindex","_createElement","Slider","ref","slider","slidesToShow","slidesToScroll","arrows","fade","dots","adaptiveHeight","asNavFor","key","autoPlay","src","alt","href","onClick","preventDefault","slickNext","mixpanel","track","Header","Component","constructor","arguments","loading","showHowItWorks","confirmed","toggleHowItWorks","this","setState","componentDidMount","render","value","onChange","target","placeholder","lead_type","_document","hutk","pageUri","host","pageName","document","res","LoaderImg","Link","click_text","to","rel","width","height","HowItWorks","PrizePoolCardLoading","classes","styles","isEmpty","style","Skeleton","position","inset","EmptyScreen","ContestCard","lazy","ContestsWinners","memo","_slider$innerSlider3","_slider$innerSlider3$","_slider$innerSlider4","_slider$innerSlider4$","_slider$innerSlider5","_slider$innerSlider5$","_slider$innerSlider6","_slider$innerSlider6$","_ref2","getContests","loadPendingContests","setSlider","setLoading","slideIndex","setSlideIndex","loadData","loadingP","lastKey","currCount","loadFn","more","recordPerPage","CONTESTWINNER_RECORDS_PER_PAGE","status","_decodedData$data","decodedData","length","undefined","contestsWinners","pendingContests","pendingContestsLastKey","JSON","stringify","count","pendingContestsCount","totalSlides","settings","beforeChange","current","next","_slider$innerSlider$p","_slider$innerSlider","_slider$innerSlider$p2","_slider$innerSlider2","_slider$innerSlider2$","innerSlider","props","rows","infinite","responsive","breakpoint","variableWidth","containerClassName","disabled","slickPrev","circle","map","contest","index","Suspense","fallback","LoadingCard","innerWidth","Array","_","PrizePoolCard","SweepsWinners","_getSweepStakes$pastI","getSweepStakes","loadPastInstances","pastInstanceLoading","sweepsWinners","pastInstances","filter","s","i","pastInstancesCount","pastInstancesLastKey","SWEEPS_RECORDS_PER_PAGE","autoplay","instance","toggleDiscordModalRedux","isLoggedIn","localStorage","getItem","showDiscordModal","page","paddingTop","Footer","DiscordChatModal"],"mappings":"2HAAA,gCAmCeA,UAhCHC,IAYL,IAADC,EAAAC,EAAA,IAZO,MACXC,EAAK,YACLC,EAAW,MACXC,EAAK,SACLC,EAAQ,QACRC,EAAO,cACPC,EAAa,MACbC,EAAK,WACLC,EAAU,YACVC,EAAW,aACXC,EAAY,mBACZC,GACDb,EACC,OACEc,eAACC,IAAM,CAAAC,SAAA,CACLC,cAAA,SAAAD,SAAQb,IACRc,cAAA,QAAMC,KAAK,cAAcC,QAASf,IACjCC,GAASY,cAAA,QAAMG,SAAS,WAAWD,QAASd,EAAO,oBAAkB,SACrEC,GAAYW,cAAA,QAAMC,KAAK,WAAWC,QAASb,IAE3CI,GAAcO,cAAA,QAAMG,SAAS,eAAeD,QAAST,IACrDH,GAAWU,cAAA,QAAMG,SAAS,WAAWD,QAASZ,IAC9CC,GAAiBS,cAAA,QAAMG,SAAS,iBAAiBD,QAASX,IAC1DC,GAASQ,cAAA,QAAMG,SAAS,SAASD,QAAO,GAAAE,OAAW,QAAXpB,EAAKqB,cAAM,IAAArB,GAAU,QAAVC,EAAND,EAAQsB,gBAAQ,IAAArB,OAAV,EAANA,EAAkBsB,QAAMH,OAAGZ,KACzEQ,cAAA,QAAMG,SAAS,UAAUD,QAAQ,YAChCR,GAAeM,cAAA,QAAMC,KAAK,eAAeC,QAASR,IAClDC,GAAgBK,cAAA,QAA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Y,UACZC,aAAa,uDACbC,mBAAmB,8IAErBI,cAAA,OACE4D,UAAS,2EAAAxD,QACNiN,GAAc,wBAAuB,MAAAjN,OACnCgC,EAAQoL,kBAAoB,gBAAiBzN,SAElDC,cAAA,OAAK4D,UAAU,2DAA0D7D,SACvEC,cAAA,OAAK4D,UAAU,kBAAiB7D,SAC9BF,eAAA,OAAK+D,UAAU,+CAA8C7D,SAAA,CAC3DF,eAAA,OAAK+D,UAAS,4CAA8C7D,SAAA,CAE1DC,cAACsF,IAAM,CAAC3C,UAAU,OAAO8K,KAAK,YAC9BzN,cAAA,OAAK4D,UAAU,iCAAiC8D,MAAO,CAAEgG,WAAY,IAAK3N,SACxEC,cAAA0D,WAAA,CAAA3D,SAMEC,cAAA,OAAK4D,UAAU,MAAK7D,SAClBC,cAAA,OAAK4D,UAAU,YAAW7D,SACxBC,cAACiI,UAAe,YAKxBjI,cAAC2N,UAAM,QAED,OAAPvL,QAAO,IAAPA,OAAO,EAAPA,EAASoL,mBAAoBnN,OAAO4L,YAAc,SACjDjM,cAAA,OACE4D,UAAU,eACVqB,QAASA,KACPmI,GAAwB,EAAM,KAI5B,OAAPhL,QAAO,IAAPA,OAAO,EAAPA,EAASoL,mBACRxN,cAAA,OAAK4D,UAAU,0BAAyB7D,SACtCC,cAAC4N,UAAgB,iBASnC,G","file":"static/js/16.e854c836.chunk.js","sourcesContent":["import React from \"react\";\r\nimport { Helmet } from \"react-helmet\";\r\n\r\nconst SEO = ({\r\n title,\r\n description,\r\n image,\r\n keywords,\r\n ogTitle,\r\n ogDescription,\r\n ogUrl,\r\n ogImageAlt,\r\n twitterCard,\r\n twitterTitle,\r\n twitterDescription,\r\n}) => {\r\n return (\r\n \r\n {title}\r\n \r\n {image && }\r\n {keywords && }\r\n\r\n {ogImageAlt && }\r\n {ogTitle && }\r\n {ogDescription && }\r\n {ogUrl && }\r\n \r\n {twitterCard && }\r\n {twitterTitle && }\r\n {twitterDescription && }\r\n \r\n );\r\n};\r\n\r\nexport default SEO;\r\n","import axios from \"axios\";\nimport jwt from \"jwt-decode\";\n\nexport const loadContests = async (params) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n params,\n headers,\n url: `${process.env.REACT_APP_APIURL}contest/`,\n });\n return jwt(response.data).data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadGames = async (params) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n params,\n headers,\n url: `${process.env.REACT_APP_APIURL}game/`,\n });\n return response.data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadActiveContests = async (params) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n Authorization: localStorage.getItem(\"x-auth-token\"),\n };\n const response = await axios({\n method: \"get\",\n params,\n headers,\n url: `${process.env.REACT_APP_APIURL}game/active`,\n });\n return response.data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadGameCounts = async (id) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n headers,\n url: `${process.env.REACT_APP_APIURL}gameCount/${id}`,\n });\n return response.data;\n } catch (e) {\n throw e;\n }\n};\nexport const loadContestDetails = async (slug) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n headers,\n url: `${process.env.REACT_APP_APIURL}contest/${slug}`,\n });\n return response;\n } catch (e) {\n return e.response;\n throw e;\n }\n};\nexport const loadSlides = async () => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"get\",\n headers,\n url: `${process.env.REACT_APP_APIURL}slider/`,\n });\n return response.data.data;\n } catch (e) {\n throw e;\n }\n};\nexport const fetchNFT = (tokenId, address, callback) => {\n axios({\n method: \"get\",\n url: `https://api.opensea.io/api/v1/asset/${address}/${tokenId}`,\n headers: { \"X-API-KEY\": process.env.REACT_APP_OPEN_SEA_API_KEY },\n })\n .then((nftResponse) => {\n callback(nftResponse);\n })\n .catch((err) => {\n callback(err.response.data);\n });\n};\nexport const subscribeNewsLetter = async (email, context) => {\n try {\n const headers = {\n \"X-API-KEY\": process.env.REACT_APP_APIKEY,\n };\n const response = await axios({\n method: \"post\",\n headers,\n url: `${process.env.REACT_APP_APIURL}newsletter/subscribe/${email}`,\n data: { context },\n });\n return response;\n } catch (e) {\n throw e;\n }\n};\n","import React, { useState, useEffect } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { getCookie } from \"../utils/cookiesUtilities\";\nimport { connect } from \"react-redux\";\nimport Slider from \"react-slick\";\nimport mixpanel from \"mixpanel-browser\";\n\nimport { contestEntry, getUser, loadProfile } from \"../store/user\";\nimport { withRouter } from \"../utils/withRouter\";\nimport { prepareData } from \"./gtmDatalayer\";\n\n// Images\nconst xpSlideImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/xpSlide.svg\";\nconst lootSlideImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/LootSlide.svg\";\nconst arcadeSlideImg = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/arcadeSlide.svg\";\n\nconst HowItWorks = ({ showModal, toggleModal, type }) => {\n const themeMode = getCookie(\"themeMode\");\n const [nav1, setNav1] = useState(null);\n const [nav2, setNav2] = useState(null);\n useEffect(() => {\n if (showModal) {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"1\", // dynamic value\n }),\n );\n }\n }, [showModal]);\n\n const options1 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n arrows: false,\n fade: true,\n dots: true,\n adaptiveHeight: true,\n asNavFor: \".tuts-text-slider\",\n };\n const options2 = {\n slidesToShow: 1,\n slidesToScroll: 1,\n asNavFor: \".tuts-thumbnail-slider\",\n dots: false,\n arrows: false,\n adaptiveHeight: true,\n };\n return (\n <>\n \n
\n setNav1(slider)}\n className=\"pb-0 tuts-thumbnail-slider w-100\"\n {...options1}\n asNavFor={nav2}\n key=\"hiw-slider\"\n >\n {type === \"onboarding\" && (\n
\n
\n \n
\n
\n )}\n
\n
\n \"\"\n
\n
\n
\n
\n \"\"\n
\n
\n
\n
\n \"\"\n
\n
\n \n
\n setNav2(slider)}\n {...options2}\n asNavFor={nav1}\n className=\"pb-0 tuts-text-slider w-100\"\n key=\"hiw-slider-2\"\n >\n {type === \"onboarding\" && (\n
\n

Welcome to Burn Ghost

\n \n Level up by playing fast, fun, & familiar original games. Just pick a contest, use your game arcade\n coins to enter and rank the leaderboard.\n \n

\n {\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n e.preventDefault();\n nav1.slickNext();\n }}\n >\n NEXT\n \n
\n )}\n
\n

PLAY ORIGINAL GAMES

\n \n Immerse yourself in our exciting orignal game lineup, play for free with arcade coins awarded daily!\n \n

\n {\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n e.preventDefault();\n nav1.slickNext();\n }}\n >\n NEXT\n \n
\n
\n

EVERYONE’S A WINNER

\n \n Regardless of your game score, you're always a winner here. Even last place on the leaderboard gets\n XP.\n \n

\n\n {\n window.dataLayer.push(\n prepareData({\n event: \"how_to_play\", // fixed value\n section: \"carousel\", // fixed value\n advanmcement: \"button\", // dynamic value\n step: \"2\", // dynamic value\n }),\n );\n e.preventDefault();\n nav1.slickNext();\n }}\n >\n NEXT\n \n
{\" \"}\n
\n

OPEN LOOT BOXES - WIN PRIZES

\n \n Open Loot Boxes & win real prizes. Use Loot Bucks to open Loot Boxes for your chances to score big\n with our physical & digital prizes!\n \n

\n\n {\n if (process.env.REACT_APP_GA === \"1\") {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(\n prepareData({\n event: \"How to play modal_complete\",\n }),\n );\n }\n if (process.env.REACT_APP_MIXPANEL === \"1\") {\n mixpanel?.track(\"How to play modal_complete\");\n }\n toggleModal(e);\n }}\n >\n DISMISS\n \n
\n \n
\n
\n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n contestEntry: (data, callback) => dispatch(contestEntry(data, callback)),\n loadProfile: () => dispatch(loadProfile()),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(HowItWorks));\n","import React, { Component } from \"react\";\nimport { withRouter } from \"../utils/withRouter\";\nimport { connect } from \"react-redux\";\nimport { subscribeNewsLetter } from \"../home/apis\";\nimport LoaderImg from \"./loaderImag\";\nimport HowItWorks from \"./howItWorks\";\n\nimport { Link } from \"react-router-dom\";\nimport { prepareData } from \"./gtmDatalayer\";\nimport { getCookie } from \"utils/cookiesUtilities\";\n\n// Images\nconst tick = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/tick-001.svg\";\nconst openSeaIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/open-sea-white.svg\";\nclass Header extends Component {\n state = {\n email: \"\",\n loading: false,\n showHowItWorks: false,\n confirmed: false,\n };\n\n componentDidMount() {}\n toggleHowItWorks = (e) => {\n if (e) e.preventDefault();\n this.setState({\n showHowItWorks: !this.state.showHowItWorks,\n });\n };\n render() {\n return (\n <>\n {\" \"}\n {\" \"}\n \n \n );\n }\n}\n\nexport default withRouter(connect(null, null)(Header));\n","import { isEmpty } from \"lodash\";\nimport React, { Component, useState, useRef, useEffect } from \"react\";\n\n// Images\nimport Skeleton from \"react-loading-skeleton\";\n\nconst PrizePoolCardLoading = ({ classes, styles }) => {\n return (\n //styles props is used by react slick slider to calculate width\n
\n
\n \n
\n
\n );\n};\n\nexport default PrizePoolCardLoading;\n","const noContestIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/nocontest.png\";\n\nconst EmptyScreen = () => {\n return (\n
\n
\n
\n
\n
\n
Game temporarily unavailable
\n
\n \"\"\n
\n

\n We are working on creating a new contest for this game -
head back\n to the homepage to explore other games!\n

\n \n
\n
\n
\n
\n
\n );\n};\n\nexport default EmptyScreen;\n","import { lazy, memo, Suspense, useEffect, useState } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport Slider from \"react-slick\";\nimport { CONTESTWINNER_RECORDS_PER_PAGE } from \"utils/misc\";\nimport jwt from \"jwt-decode\";\n\n// Redux\nimport { connect } from \"react-redux\";\nimport { getContests, loadPendingContests } from \"store/contest\";\n\n// Components\n// import ContestCard from \"contests/components/common/contestCard\";\nimport LoadingCard from \"sweepstakes/components/common/prizePoolCardLoading\";\nconst ContestCard = lazy(() => import(\"contests/components/common/contestCard\"));\n// const LoadingCard = lazy(() => import(\"sweepstakes/components/common/prizePoolCardLoading\"));\n\nconst ContestsWinners = memo(({ getContests, loadPendingContests }) => {\n const [slider, setSlider] = useState(null);\n const [loading, setLoading] = useState(true);\n const [slideIndex, setSlideIndex] = useState(0);\n\n useEffect(() => {\n loadData();\n }, []);\n\n useEffect(() => {\n setLoading(getContests.loadingP);\n }, [getContests.loadingP]);\n\n const loadData = (lastKey, loadMore = false) => {\n let currCount = 0;\n const loadFn = (lastKey, more) => {\n loadPendingContests({ recordPerPage: CONTESTWINNER_RECORDS_PER_PAGE, lastKey: lastKey ?? null, more }, (res) => {\n if (res?.status === 200) {\n const decodedData = jwt(res?.data);\n currCount = currCount + decodedData?.data?.length;\n\n if (currCount < CONTESTWINNER_RECORDS_PER_PAGE && decodedData?.lastKey) loadFn(decodedData?.lastKey, true);\n }\n });\n };\n loadFn(lastKey, loadMore);\n };\n\n // Variables\n\n const contestsWinners = getContests?.pendingContests;\n const lastKey = getContests.pendingContestsLastKey ? JSON.stringify(getContests.pendingContestsLastKey) : null;\n const count = getContests?.pendingContestsCount;\n const totalSlides = contestsWinners?.length;\n const settings = {\n beforeChange: (current, next) => {\n const slidesToScroll = slider?.innerSlider?.props?.slidesToScroll ?? 4;\n setSlideIndex(next);\n if (loading) return;\n if ((next + slidesToScroll) * slider?.innerSlider?.props?.rows >= totalSlides) {\n if (!lastKey) return;\n loadData(lastKey, true);\n }\n },\n slidesToShow: 4,\n slidesToScroll: 4,\n dots: false,\n arrows: false,\n infinite: false,\n // variableWidth: true,\n\n responsive: [\n {\n breakpoint: 6000,\n settings: {\n rows: 2,\n },\n },\n {\n breakpoint: 1580,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n variableWidth: true,\n },\n },\n {\n breakpoint: 1280,\n settings: {\n slidesToShow: 4,\n slidesToScroll: 4,\n variableWidth: true,\n },\n },\n {\n breakpoint: 1250,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n variableWidth: true,\n },\n },\n {\n breakpoint: 930,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2,\n variableWidth: true,\n },\n },\n {\n breakpoint: 626,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n variableWidth: true,\n },\n },\n ],\n };\n if (contestsWinners?.length === 0 && !loading) return null;\n return (\n
\n
\n
\n
\n \"\"\n
\n
\n {loading && !contestsWinners?.length ? (\n \n ) : (\n \"CONTEST WINNERS\"\n )}\n
\n
\n
\n {loading && !contestsWinners?.length ? (\n <>\n \n \n \n ) : (\n <>\n {\n if (loading) return;\n if (slideIndex === 0) return;\n e.preventDefault();\n slider?.slickPrev();\n }}\n >\n \n \n =\n count && \"slick-disabled\"\n }`}\n disabled={\n loading ||\n (slideIndex + slider?.innerSlider?.props?.slidesToScroll) * slider?.innerSlider?.props?.rows >= count\n }\n onClick={(e) => {\n if (loading) return;\n e.preventDefault();\n slider?.slickNext();\n }}\n >\n \n \n \n )}\n
\n
\n setSlider(slider)}\n className={`flex-shrink-card-list flex-shrink-slider pb-0 has-card-oerlay multi-row-slide`}\n key={\"contest-winners-slider\"}\n >\n {contestsWinners?.map((contest, index) => (\n \n }\n >\n \n \n ))}\n {(loading || (contestsWinners?.length < count && lastKey)) &&\n [...Array(CONTESTWINNER_RECORDS_PER_PAGE)]?.map((_, index) => (\n \n ))}\n \n
\n );\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadPendingContests: (params, callback) => dispatch(loadPendingContests(params, callback)),\n});\n\nconst mapStateToProps = (state) => ({\n getContests: getContests(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ContestsWinners);\n","import mixpanel from \"mixpanel-browser\";\nimport { lazy, memo, Suspense, useEffect, useState } from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport Slider from \"react-slick\";\nimport { SWEEPS_RECORDS_PER_PAGE } from \"utils/misc\";\n\n// Redux\nimport { connect } from \"react-redux\";\nimport { getSweepStakes, loadPastInstances } from \"store/sweepstakes\";\n\n// Components\n// import PrizePoolCard from \"sweepstakes/components/common/prizePoolCard\";\nimport PrizePoolCardLoading from \"sweepstakes/components/common/prizePoolCardLoading\";\nconst PrizePoolCard = lazy(() => import(\"sweepstakes/components/common/prizePoolCard\"));\n// const PrizePoolCardLoading = lazy(() => import(\"sweepstakes/components/common/prizePoolCardLoading\"));\n\nconst SweepsWinners = memo(({ getSweepStakes, loadPastInstances, classes }) => {\n const [slider, setSlider] = useState(null);\n const [loading, setLoading] = useState(true);\n const [slideIndex, setSlideIndex] = useState(0);\n\n useEffect(() => {\n setLoading(getSweepStakes.pastInstanceLoading);\n }, [getSweepStakes.pastInstanceLoading]);\n\n useEffect(() => {\n if (process.env.REACT_APP_MIXPANEL === \"1\") mixpanel?.track(\"view all winners\");\n }, []);\n\n const loadData = (lastKey) => {\n loadPastInstances({ recordPerPage: SWEEPS_RECORDS_PER_PAGE, lastKey: lastKey ?? null, more: true }, (res) => {});\n };\n\n // Variables\n const sweepsWinners = getSweepStakes?.pastInstances?.filter((s, i) => s?.status === 3);\n const count = getSweepStakes?.pastInstancesCount;\n const lastKey = getSweepStakes?.pastInstancesLastKey ? JSON.stringify(getSweepStakes.pastInstancesLastKey) : null;\n const totalSlides = sweepsWinners?.length;\n\n // Slider options\n const settings = {\n beforeChange: (current, next) => {\n const slidesToScroll = slider?.innerSlider?.props?.slidesToScroll ?? 4;\n setSlideIndex(next);\n if (loading) return;\n if (next + slidesToScroll >= totalSlides) {\n if (!lastKey) return;\n loadData(lastKey);\n }\n },\n slidesToShow: 4,\n slidesToScroll: 4,\n dots: false,\n infinite: false,\n arrows: false,\n // variableWidth: true,\n\n responsive: [\n {\n breakpoint: 1580,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n variableWidth: true,\n },\n },\n {\n breakpoint: 1280,\n settings: {\n slidesToShow: 4,\n slidesToScroll: 4,\n variableWidth: true,\n },\n },\n {\n breakpoint: 1250,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n variableWidth: true,\n },\n },\n {\n breakpoint: 930,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2,\n variableWidth: true,\n },\n },\n {\n breakpoint: 626,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n variableWidth: true,\n },\n },\n ],\n };\n if (sweepsWinners?.length === 0 && !loading) return null;\n return (\n
\n
\n
\n
\n \"\"\n
\n
\n {loading && !sweepsWinners?.length ? (\n \n ) : (\n \"SWEEPSTAKES WINNERS\"\n )}\n
\n
\n
\n
\n {loading && !sweepsWinners?.length ? (\n <>\n \n \n \n ) : (\n <>\n {\n if (slideIndex === 0) return;\n if (loading) return;\n e.preventDefault();\n slider?.slickPrev();\n }}\n >\n \n \n = count && \"slick-disabled\"}\n `}\n disabled={loading || slideIndex + slider?.innerSlider?.props?.slidesToScroll >= count}\n onClick={(e) => {\n if (loading) return;\n\n e.preventDefault();\n slider?.slickNext();\n }}\n >\n \n \n \n )}\n
\n
\n
\n\n
\n setSlider(slider)}\n key={\"sweeps-winners-slider\"}\n infinite={false}\n autoplay={false}\n className={`flex-shrink-card-list flex-shrink-slider pb-0 \n has-card-oerlay`}\n >\n {sweepsWinners?.map((instance, index) => (\n \n }\n >\n \n \n ))}\n {(loading || (sweepsWinners?.length < count && lastKey)) &&\n [...Array(SWEEPS_RECORDS_PER_PAGE)]?.map((_, index) => (\n \n ))}\n \n
\n
\n );\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadPastInstances: (params, callback) => dispatch(loadPastInstances(params, callback)),\n});\nconst mapStateToProps = (state) => ({\n getSweepStakes: getSweepStakes(state),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(SweepsWinners);\n","import { useEffect } from \"react\";\n\n// Redux\nimport mixpanel from \"mixpanel-browser\";\nimport { connect } from \"react-redux\";\nimport { getSweepStakes, loadPastInstances } from \"store/sweepstakes\";\nimport { getUser, toggleDiscordModalRedux } from \"store/user\";\n\n// Components\nimport Header from \"common/header\";\nimport Footer from \"common/footer\";\nimport SEO from \"common/seo\";\nimport SweepsWinners from \"home/components/layouts/sweepsWinners\";\nimport ContestsWinners from \"home/components/layouts/contestsWinners\";\nimport EmptyScreen from \"common/emptyScreen\";\nimport DiscordChatModal from \"common/sections/discordChat\";\nimport { getContests, loadPendingContests } from \"store/contest\";\nimport { CONTESTWINNER_RECORDS_PER_PAGE } from \"utils/misc\";\n\nfunction WinnersListing({\n getContests,\n getSweepStakes,\n loadPastInstances,\n loadPendingContests,\n toggleDiscordModalRedux,\n getUser,\n}) {\n // const ref = useRef(null);\n\n const { loadingP } = getContests;\n const { pastInstanceLoading } = getSweepStakes;\n const sweepsWinners = getSweepStakes?.pastInstances?.filter((s, i) => s?.status === 3);\n const contestsWinners = getContests?.pendingContests;\n\n useEffect(() => {\n // loadPastInstances({ recordPerPage: SWEEPS_RECORDS_PER_PAGE }, null);\n // loadPendingContests({ recordPerPage: CONTESTWINNER_RECORDS_PER_PAGE }, null);\n if (window.innerWidth > 1280.98) {\n toggleDiscordModalRedux(true);\n }\n if (process.env.REACT_APP_MIXPANEL == 1) mixpanel?.track(\"Winners_viewed\");\n }, []);\n const isLoggedIn = localStorage.getItem(\"x-auth-token\");\n\n return (\n <>\n \n \n
\n
\n
\n
\n {/* */}\n
\n
\n <>\n {/*
\n
\n \n
\n
*/}\n
\n
\n \n
\n
\n \n
\n
\n
\n {getUser?.showDiscordModal && window.innerWidth <= 1280.98 && (\n {\n toggleDiscordModalRedux(false);\n }}\n >
\n )}\n {getUser?.showDiscordModal && (\n
\n \n
\n )}\n
\n
\n \n \n \n );\n}\n\nconst mapStateToProps = (state) => ({\n getSweepStakes: getSweepStakes(state),\n getContests: getContests(state),\n getUser: getUser(state),\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n // loadPastInstances: (params, callback) => dispatch(loadPastInstances(params, callback)),\n loadPendingContests: (params, callback) => dispatch(loadPendingContests(params, callback)),\n toggleDiscordModalRedux: (data) => dispatch(toggleDiscordModalRedux(data)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(WinnersListing);\n"],"sourceRoot":""}