{"version":3,"sources":["common/seo.jsx","container/modals/zRunRedeem.jsx","container/crashGame.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","withRouter","connect","state","getUser","dispatch","checkZRunNft","callback","redeemZRunNft","_zRunNftData$zRunNftP","_zRunNftData$zRunNftP2","_zRunNftData$zRunNftP3","_zRunNftData$zRunNftP4","_zRunNftData$zRunNftP5","_zRunNftData$zRunNftP6","showModal","toggleModal","status","checkNFTRunStatus","tab","setTab","useState","zRunNftData","zRunNft","useEffect","response","_Fragment","Modal","className","id","centered","tabindex","show","onHide","Skeleton","height","width","type","onClick","e","preventDefault","src","alt","process","zRunNftPrize","zRunNftArcade","toLocaleString","zRunNftLoot","undefined","minimumFractionDigits","maximumFractionDigits","Link","href","cardIcon1","zedRunIcon","whiteIcon","greenIcon","redIcon","CrashLeaderboard","_ref2","bets","countUniqueUserNames","totalBet","rest","topWinners","parseFloat","toFixed","map","bet","index","router","params","slug","isWinner","multiplier","isCashOut","userDetail","small","userName","color","toLowerCase","betAmount","length","Array","keys","winner","user","profitDifference","borderRadius","loadProfile","togglePopupRedux","payload","toggleWalletPopupRedux","data","loadBgGames","loadBgGameDetail","zedRunNftColor","_bgGameLoaded$name","GC_API","COLOR","UserBalance","GameLoaded","GameStart","setIsWaitingForNextRound","setIsTimerRunning","setMultiplierValue","PlaceBet","Multiplier","NewBet","CashOut","Last10Rounds","multiplierValue","startingIn","mybets","dogBet","gameState","setIsMuted","setIsBackgroundMuted","document","getElementById","contentWindow","postMessage","lootBonusCoins","profile","userProfile","setBets","console","log","myBets","setMyBets","setTotalBet","loadZrunModel","setLoadZrunModal","showZRunRedeemModal","setShowZRunRedeemModal","showZRunRedeem","setShowZRunRedeem","showHowItWorks","setShowHowItWorks","howItWork","setHowItWork","bgGameLoaded","setBgGameLoaded","music","setMusic","localStorage","getItem","muted","setMuted","setTopWinners","updateSound","iFrame","muteStateData","musicMuted","soundsMuted","setItem","focus","toggleHowItWorks","gameStarted","res","onbeforeunload","componentUnmount","addEventListener","event","removeEventListener","mixpanel","time_event","track","array","uniqueUserNames","Set","forEach","obj","add","size","load","arguments","betStarted","token","socket","io","socketUrl","query","url","handleBetClosed","isWaitingForNextRound","isTimerRunning","on","handleBetStarted","message","userId","JSON","parse","mBet","filter","reduce","acc","newBet","number","playerId","prevMyBets","prevBets","prevTotalBet","handleCrash","handleDograchingbetStarted","listener","ourMessage","emit","wagerAmount","autoCashoutValue","lootBucks","track_pageview","Game","AbortScoringTrailer","MuteMusic","MuteSounds","BreadCrumb","cashOutAmount","cashOut","disconnect","walletConnectLoading","async","value","setTimeout","thumbnailImage","Accordion","defaultActiveKey","DetailsModalCard","subTitle","icon","contractAddress","Header","crashGame","style","marginTop","DiscordChatModal","HowItWorks","bgGame","ZRunRedeem","prev"],"mappings":"kHAAA,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,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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 { Modal } from \"react-bootstrap\";\nimport { connect } from \"react-redux\";\nimport { getUser, checkZRunNft, redeemZRunNft } from \"store/user\";\nimport { withRouter } from \"utils/withRouter\";\nimport Skeleton from \"react-loading-skeleton\";\n\nimport { useEffect, useState } from \"react\";\nimport { Link } from \"react-router-dom\";\n\n// Images\nconst ticketIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/ticketLogo-2.svg\";\nconst lootIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-logo-large.svg\";\nconst ZRunNFTRedeem = ({ showModal, toggleModal, checkZRunNft, redeemZRunNft, getUser, status, checkNFTRunStatus }) => {\n const [tab, setTab] = useState(1);\n const zRunNftData = getUser.zRunNft;\n\n useEffect(() => {\n if (showModal) {\n if (status) {\n redeemZRunNft((response) => {\n checkNFTRunStatus(false);\n if (response?.status === 200) {\n setTab(2);\n } else {\n setTab(3);\n }\n });\n } else setTab(3);\n }\n }, [showModal]);\n\n return (\n <>\n \n {tab === 1 ? (\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n ) : tab === 2 ? (\n <>\n
\n
BONUS REDEEMED
\n {\n e.preventDefault();\n toggleModal();\n }}\n >\n \"coins\n \n
\n
\n
\n
HOLDER BONUS
\n
ZED RUN NFT HOLDER BONUS
\n
\n
\n
\n
\n \"ticketWinner\"\n
\n
\n
\n
\n
\n
\n
\n
\n \"ticketLogo2\"\n
\n
\n
\n {zRunNftData?.zRunNftPrize?.zRunNftArcade?.toLocaleString() ?? 0}\n
\n
ARCADE COINS
\n
\n
\n
\n
\n
\n
\n \"ticketLogo1\"\n
\n
\n
\n {zRunNftData?.zRunNftPrize?.zRunNftLoot?.toLocaleString(undefined, {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n }) ?? 0}\n
\n
FREE LOOT Bucks
\n
\n
\n
\n
\n
\n
\n

Congrats! The bonus has been awarded to your account for holding at least 1 Zed Run NFT.

\n
\n
\n
\n {\n e.preventDefault();\n toggleModal();\n }}\n href=\"#\"\n className=\"continue-btn btn-block d-block\"\n >\n Continue\n \n
\n \n ) : (\n
\n
\n \"\"\n
\n
\n
Zed Run NFT Not Detected
\n

\n There were no Zed Run NFTs detected in your wallet at this time, please try connecting a different\n wallet.\n

\n
\n {\n e.preventDefault();\n toggleModal();\n }}\n className=\"continue-btn d-block rounded-pill\"\n >\n Dismiss\n \n
\n
\n
\n )}\n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n checkZRunNft: (callback) => dispatch(checkZRunNft(callback)),\n redeemZRunNft: (callback) => dispatch(redeemZRunNft(callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(ZRunNFTRedeem));\n","import React, { useEffect, useState } from \"react\";\nimport io from \"socket.io-client\";\nimport {\n getUser,\n loadProfile,\n togglePopupRedux,\n toggleWalletPopupRedux,\n checkZRunNft,\n zedRunNftColor,\n} from \"store/user\";\nimport { withRouter } from \"utils/withRouter\";\nimport Skeleton from \"react-loading-skeleton\";\nimport { connect } from \"react-redux\";\nimport DiscordChatModal from \"common/sections/discordChat\";\nimport Header from \"common/header\";\nimport DetailsModalCard from \"contests/components/common/detailsModalCard\";\nimport { Accordion } from \"react-bootstrap\";\nimport mixpanel from \"mixpanel-browser\";\nimport ZRunRedeem from \"./modals/zRunRedeem\";\nimport HowItWorks from \"contests/components/modals/howItWorks\";\nimport { loadBgGameDetail, loadBgGames } from \"store/game\";\nimport axios from \"axios\";\nimport SEO from \"common/seo\";\n\nconst cardIcon1 = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/s-new-icon-1.png\";\nconst zedRunIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/zed-run.png\";\nconst musicIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/music-000.png\";\nconst mutedIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/mute-icon-001.png\";\nconst sounds = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/Sound.svg\";\nconst musicMuted = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/Vector.svg\";\nconst userImage = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/user.png\";\nconst whiteIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-icon.png\";\nconst greenIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-icon.png\";\nconst greenTokenIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-icon-big.png\";\nconst pageIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/page-icon-02.svg\";\nconst redIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/loot-icon.png\";\nconst logo = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/burnghostHorizontal.png\";\nconst CrashGame = ({\n loadProfile,\n getUser,\n togglePopupRedux,\n toggleWalletPopupRedux,\n checkZRunNft,\n loadBgGames,\n loadBgGameDetail,\n zedRunNftColor,\n ...rest\n}) => {\n window.GC_API = {\n COLOR: \"COLOR\",\n UserBalance: \"UserBalance\",\n GameLoaded: \"GameLoaded\",\n GameStart: \"GameStart\",\n setIsWaitingForNextRound: \"setIsWaitingForNextRound\",\n setIsTimerRunning: \"setIsTimerRunning\",\n setMultiplierValue: \"setMultiplierValue\",\n PlaceBet: \"PlaceBet\",\n Multiplier: \"Multiplier\",\n NewBet: \"NewBet\",\n CashOut: \"CashOut\",\n Last10Rounds: \"Last10Rounds\",\n multiplierValue: \"multiplierValue\",\n startingIn: \"startingIn\",\n mybets: \"mybets\",\n winner: \"winner\",\n dogBet: \"dogBet\",\n gameState: \"gameState\",\n setIsMuted: \"setIsMuted\",\n setIsBackgroundMuted: \"setIsBackgroundMuted\",\n };\n\n useEffect(() => {\n const iFrame = document.getElementById(\"iframe-container\");\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.UserBalance,\n data: { lootBonusCoins: getUser.profile.userProfile.lootBonusCoins },\n },\n \"*\",\n );\n }, [getUser.profile.userProfile.lootBonusCoins]);\n const [bets, setBets] = useState([]);\n console.log(\"betsbetsbets\", bets);\n const [myBets, setMyBets] = useState([]);\n const [totalBet, setTotalBet] = useState(0);\n const [loadZrunModel, setLoadZrunModal] = useState(false);\n const [showZRunRedeemModal, setShowZRunRedeemModal] = useState(false);\n const [showZRunRedeem, setShowZRunRedeem] = useState(\"loading\");\n const [showHowItWorks, setShowHowItWorks] = useState(false);\n const [howItWork, setHowItWork] = useState({});\n const [bgGameLoaded, setBgGameLoaded] = useState(false);\n const [music, setMusic] = useState(localStorage.getItem(\"musicMuted\") === \"true\");\n const [muted, setMuted] = useState(localStorage.getItem(\"soundMuted\") === \"true\");\n\n const [topWinners, setTopWinners] = useState([]);\n const toggleMusic = (e) => {\n if (e) e.preventDefault();\n updateSound(\"music\");\n setMusic(!music);\n };\n\n const toggleMute = (e) => {\n if (e) e.preventDefault();\n updateSound(\"sound\");\n setMuted(!muted);\n };\n\n const updateSound = (type) => {\n const iFrame = document.getElementById(\"iframe-container\");\n if (!iFrame) return;\n\n if (type === \"music\") {\n const muteStateData = {\n musicMuted: !music,\n soundsMuted: muted,\n };\n // send MuteState message to iframe\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsBackgroundMuted,\n data: { music: !music },\n },\n \"*\",\n );\n localStorage.setItem(\"musicMuted\", muteStateData.musicMuted);\n }\n\n if (type === \"sound\") {\n const muteStateData = {\n musicMuted: music,\n soundsMuted: !muted,\n };\n // send MuteState message to iframe setIsBackgroundMuted\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsMuted,\n data: { muted: !muted },\n },\n \"*\",\n );\n localStorage.setItem(\"soundMuted\", muteStateData.soundsMuted);\n }\n iFrame?.focus();\n };\n const toggleHowItWorks = (e) => {\n if (e) e.preventDefault();\n setShowHowItWorks(!showHowItWorks);\n };\n\n useEffect(() => {\n console.log(\"betsbetsbets\", bets);\n const iFrame = document.getElementById(\"iframe-container\");\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.dogBet,\n data: { bets },\n },\n \"*\",\n );\n }, [bets]);\n\n var gameStarted = false;\n\n // When new bet is received = game\n useEffect(() => {\n const iFrame = document.getElementById(\"iframe-container\");\n iFrame.contentWindow.postMessage({ type: \"mybets\", data: myBets }, \"*\");\n }, [myBets]);\n\n useEffect(() => {\n const slug = rest.router.params.slug;\n loadBgGameDetail(slug, (res) => {\n setHowItWork(res.data.data);\n setBgGameLoaded(res.data.data);\n });\n window.onbeforeunload = () => componentUnmount();\n window.addEventListener(\"beforeunload\", (event) => {\n componentUnmount();\n });\n\n return () => {\n componentUnmount();\n document.removeEventListener(\"beforeunload\", componentUnmount);\n };\n }, []);\n\n const componentUnmount = () => {\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.time_event(\"Crash Game Exited\");\n mixpanel?.track(\"Crash Game Exited\");\n }\n };\n\n useEffect(() => {\n if (!bgGameLoaded) return;\n if (process.env.REACT_APP_MIXPANEL == 1) {\n mixpanel?.time_event(\"Crash game_viewed\");\n mixpanel?.track(\"Crash game_viewed\");\n }\n\n loadProfile((res) => {\n if (res.status === 401) window.location.href = \"/contests\";\n });\n window.betStarted = true;\n\n const token = localStorage.getItem(\"x-auth-token\");\n const socket = io(bgGameLoaded.socketUrl, {\n query: { token },\n });\n\n //Loading iframe\n const iFrame = document.getElementById(\"iframe-container\");\n iFrame.src = bgGameLoaded.url;\n\n // Function for sending data to socket\n const sendMessage = (message) => {\n if (message !== \"\") {\n socket.emit(\"bet\", {\n betAmount: message.wagerAmount,\n autoCashoutValue: message.autoCashoutValue,\n color: message.color,\n });\n if (process.env.REACT_APP_MIXPANEL == 1) {\n if (rest.router.params.slug !== \"robot-racer\") {\n mixpanel?.track(\"Crash bet placed\", {\n lootBucks: message.wagerAmount,\n \"Crash Type\": \"crash\",\n });\n }\n if (rest.router.params.slug === \"robot-racer\") {\n mixpanel?.track(\"Roborace\", {\n lootBucks: message.wagerAmount,\n \"Crash Type\": \"Crash_robot\",\n });\n mixpanel?.track_pageview();\n }\n mixpanel?.track(\"Premium Contest Entry completed\", {\n Game: rest.router.params.slug === \"robot-racer\" ? \"Crash_robot\" : \"crash\",\n });\n }\n }\n };\n\n // Function for cashout\n const cashOut = (message) => {\n if (message.data) {\n socket.emit(\"cashOut\", { cashOutAmount: message.data });\n } else {\n socket.emit(\"cashOut\");\n }\n };\n\n const handleDograchingbetStarted = () => {\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsTimerRunning,\n data: { isTimerRunning: false },\n },\n \"*\",\n );\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsWaitingForNextRound,\n data: { isWaitingForNextRound: true },\n },\n \"*\",\n );\n };\n\n const handleBetStarted = () => {\n setBets([]);\n setMyBets([]);\n setTotalBet(parseFloat(0).toFixed(2));\n loadProfile((res) => {\n if (res.status === 401) window.location.href = \"/contests\";\n });\n };\n\n const handleCrash = () => {\n setMyBets([]);\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsTimerRunning,\n data: { isTimerRunning: false },\n },\n \"*\",\n );\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsWaitingForNextRound,\n data: { isWaitingForNextRound: true },\n },\n \"*\",\n );\n loadProfile((res) => {\n if (res.status === 401) window.location.href = \"/contests\";\n });\n };\n\n const handleBetClosed = () => {\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsWaitingForNextRound,\n data: { isWaitingForNextRound: false },\n },\n \"*\",\n );\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsTimerRunning,\n data: { isTimerRunning: true },\n },\n \"*\",\n );\n };\n\n const handleBets = (message) => {\n console.log(\"handleBetshandleBets\", message);\n const bets = message;\n const userId = localStorage.getItem(\"userProfile\") ? JSON.parse(localStorage.getItem(\"userProfile\")).id : \"\";\n\n const mBet = bets.filter((bet) => bet.userId == userId);\n if (mBet.length > 0) setMyBets(mBet);\n\n // update the bets\n if (bets.length) {\n setBets(bets);\n setTotalBet(\n bets.reduce((acc, bet) => {\n return acc + parseFloat(bet.betAmount);\n }, 0),\n );\n }\n };\n\n const handleMultiplier = (message) => {\n if (!gameStarted) {\n gameStarted = true;\n handleBetClosed();\n }\n const bets = message.gameState.bets;\n const userId = localStorage.getItem(\"userProfile\") ? JSON.parse(localStorage.getItem(\"userProfile\")).id : \"\";\n\n const mBet = bets.filter((bet) => bet.userId == userId);\n if (mBet.length > 0) setMyBets(mBet);\n\n // update the bets\n if (bets.length) {\n setBets(bets);\n setTotalBet(\n bets.reduce((acc, bet) => {\n return acc + parseFloat(bet.betAmount);\n }, 0),\n );\n }\n iFrame.contentWindow.postMessage({ type: window.GC_API.Multiplier, data: message }, \"*\");\n };\n\n const handleNewBet = (message) => {\n const newBet = {\n number: bets.length + 1,\n id: message.playerId,\n betAmount: message.betAmount,\n isCashOut: message.isCashOut,\n userDetail: message.userDetail,\n userName: message.userName,\n multiplier: 1,\n userId: message.userId,\n color: message.color,\n };\n\n const userId = localStorage.getItem(\"userProfile\") ? JSON.parse(localStorage.getItem(\"userProfile\")).id : \"\";\n if (message.userId == userId) {\n setMyBets((prevMyBets) => [...prevMyBets, newBet]);\n }\n\n setBets((prevBets) => [...prevBets, newBet]);\n iFrame.contentWindow.postMessage({ type: window.GC_API.NewBet, data: message }, \"*\");\n\n // Total sum of amount\n setTotalBet((prevTotalBet) => parseFloat(prevTotalBet) + parseFloat(message.betAmount));\n loadProfile((res) => {\n if (res.status === 401) window.location.href = \"/contests\";\n });\n };\n\n const handleLast10Rounds = (message) => {\n iFrame.contentWindow.postMessage({ type: window.GC_API.Last10Rounds, data: message }, \"*\");\n };\n\n const handleStartingIn = (startingIn) => {\n iFrame.contentWindow.postMessage({ type: window.GC_API.startingIn, data: startingIn }, \"*\");\n };\n\n const handleWinner = (message) => {\n console.log(\"winner--->\", message);\n iFrame.contentWindow.postMessage({ type: window.GC_API.winner, data: message }, \"*\");\n };\n\n const handleGameState = (message) => {\n console.log(\"gameState--->\", message);\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.dogBet,\n data: { bets: message.bets },\n },\n \"*\",\n );\n //iFrame.contentWindow.postMessage({ type: window.GC_API.gameState, data: message }, \"*\");\n };\n\n //topWinner\n const handleTopWinner = (message) => {\n console.log(\"handleTopWinner--->\", message);\n setTopWinners(message);\n };\n\n //Listing socker events\n socket.on(\"betStarted\", handleBetStarted); //\n socket.on(\"betClosed\", handleBetClosed);\n socket.on(\"multiplier\", handleMultiplier);\n socket.on(\"newBet\", handleNewBet);\n socket.on(\"last10Rounds\", handleLast10Rounds);\n socket.on(\"startingIn\", handleStartingIn);\n socket.on(\"crash\", handleCrash);\n socket.on(\"winner\", handleWinner);\n socket.on(\"dograchingbetStarted\", handleDograchingbetStarted);\n socket.on(\"gameState\", handleGameState);\n socket.on(\"bets\", handleBets);\n socket.on(\"topWinners\", handleTopWinner);\n\n socket.on(\"connect\", () => {\n console.log(\"connect\", \"connect\");\n });\n\n socket.on(\"disconnect\", () => {\n console.log(\"disconnect\", \"disconnect\");\n });\n\n const listener = (event) => {\n // Your existing event listener logic\n try {\n const ourMessage = event.data;\n\n if (ourMessage?.type) {\n switch (ourMessage.type) {\n // case window.GC_API.multiplierValue:\n // updateMultiplier(parseFloat(ourMessage.data));\n // break;\n case window.GC_API.PlaceBet:\n sendMessage(ourMessage.data);\n break;\n case window.GC_API.GameLoaded:\n iFrame.contentWindow.postMessage({ type: \"GameState\", data: {} }, \"*\");\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.UserBalance,\n data: { lootBonusCoins: getUser.profile.userProfile.lootBonusCoins },\n },\n \"*\",\n );\n\n // send MuteState message to iframe\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsBackgroundMuted,\n data: { music: music },\n },\n \"*\",\n );\n\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.setIsMuted,\n data: { muted: muted },\n },\n \"*\",\n );\n\n break;\n case window.GC_API.AbortScoringTrailer:\n // Handle AbortScoringTrailer event\n break;\n case window.GC_API.MuteMusic:\n // Handle MuteMusic event\n break;\n case window.GC_API.MuteSounds:\n // Handle MuteSounds event\n break;\n case window.GC_API.BreadCrumb:\n // Handle BreadCrumb event\n break;\n case window.GC_API.CashOut:\n cashOut(ourMessage);\n break;\n default:\n // Handle other events if needed\n }\n }\n } catch (e) {\n // Ignore exception - not a message for us and couldn't JSON parse it\n console.log(e);\n }\n };\n\n window.addEventListener(\"message\", listener);\n window.onbeforeunload = () => componentUnmount();\n window.addEventListener(\"beforeunload\", (event) => {\n componentUnmount();\n });\n\n return () => {\n componentUnmount();\n document.removeEventListener(\"beforeunload\", componentUnmount);\n gameStarted = false;\n socket.disconnect();\n window.removeEventListener(\"message\", listener);\n };\n }, [bgGameLoaded]);\n\n // Function to get the number of unique elements based on userName\n function countUniqueUserNames(array) {\n // Create an empty set to store unique userNames\n const uniqueUserNames = new Set();\n\n // Iterate through the array of objects\n array.forEach((obj) => {\n // Add each userName to the set\n uniqueUserNames.add(obj.userName);\n });\n\n // Return the size of the set, which represents the number of unique userNames\n return uniqueUserNames.size;\n }\n\n useEffect(() => {\n if (!getUser.walletConnectLoading) {\n checkNFTRunStatus(loadZrunModel);\n\n // Get Zed Run NFT color\n\n // response = {\"tokenUri\": \"https://api.zed.run/api/v1/horses/metadata/211806\"}\n\n zedRunNftColor(async (response) => {\n console.log(\"zedRunNftColor\", response);\n\n if (response?.status === 200) {\n const { data } = response; /*{\n \"color\": {\n \"trait_type\": \"Coat Color\",\n \"value\": \"English Vermillion\"\n }\n }*/\n const { color } = data;\n if (color) {\n const { value } = color;\n if (value) {\n // send color event to iframe\n const iFrame = document.getElementById(\"iframe-container\");\n setTimeout(() => {\n iFrame.contentWindow.postMessage(\n {\n type: window.GC_API.COLOR,\n data: { color: value },\n },\n \"*\",\n );\n }, 2000);\n }\n }\n }\n });\n }\n }, [getUser.walletConnectLoading]);\n\n function checkNFTRunStatus(load = false) {\n setLoadZrunModal(false);\n setShowZRunRedeem(\"loading\");\n checkZRunNft((response) => {\n if (response?.status === 200) {\n setShowZRunRedeem(\"success\");\n if (load) setShowZRunRedeemModal(true);\n } else if (response.status === 409) {\n if (load) setShowZRunRedeemModal(true);\n setShowZRunRedeem(\"redeemed\");\n } else if (response?.status === 403) {\n if (load) setShowZRunRedeemModal(true);\n setShowZRunRedeem(\"failed\");\n } else {\n if (load) setShowZRunRedeemModal(true);\n setShowZRunRedeem(\"failed\");\n }\n });\n }\n\n // User Profile data\n console.log(\"bgGameLoaded\", bgGameLoaded);\n\n return (\n <>\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n \"music\"\n {\" \"}\n
\n
\n \n \"music\"\n \n
\n
\n
\n
\n \n
\n
\n \n
{\" \"}\n {bgGameLoaded.contractAddress == \"zedRun\" ? (\n <>\n {showZRunRedeem === \"loading\" ? (\n <>\n \n \n ) : showZRunRedeem === \"failed\" || showZRunRedeem === \"success\" ? (\n
\n {\n setLoadZrunModal(true);\n toggleWalletPopupRedux(true);\n }}\n />\n
\n ) : null}\n \n ) : (\n \"\"\n )}\n
\n
\n
\n
\n
\n
\n
\n \n \n \n {showZRunRedeem === \"loading\" ? (\n <>\n \n \n ) : showZRunRedeem === \"failed\" || showZRunRedeem === \"success\" ? (\n {\n setLoadZrunModal(true);\n toggleWalletPopupRedux(true);\n }}\n />\n ) : null}\n
\n \n
\n
\n
\n\n
\n \n
\n
\n
\n
\n
\n \n \n\n setShowZRunRedeemModal((prev) => !prev)}\n status={showZRunRedeem === \"success\"}\n checkNFTRunStatus={checkNFTRunStatus}\n />\n \n );\n};\nconst CrashLeaderboard = ({ bets, countUniqueUserNames, totalBet, rest, topWinners }) => {\n return (\n <>\n
\n
\n
\n
\n

{`${countUniqueUserNames(bets)} PLAYER${countUniqueUserNames(bets) > 1 ? \"S\" : \"\"}`}

\n
\n
\n
\n
\n
\n \"\"\n
\n
{totalBet ? parseFloat(totalBet).toFixed(2) : 0}
\n
\n
\n
\n
\n {bets.map((bet, index) => (\n \n
\n
{index + 1}
\n
\n
\n
\n
\n \"\"\n
\n
{bet?.userName}
\n {rest.router.params.slug === \"robot-racer\" && (\n
\n )}\n
\n {rest.router.params.slug !== \"robot-racer\" && bet.multiplier > 0 && (\n
x{parseFloat(bet.multiplier).toFixed(2)}
\n )}\n
\n
\n
\n \"\"\n \"\"\n \"\"\n
\n {bet.multiplier == 0 ? (\n <>\n - {parseFloat(bet.betAmount).toFixed(2)}\n \n ) : (\n <>\n + {(bet.betAmount * bet.multiplier).toFixed(2)}\n \n )}\n
\n
\n
\n
\n
\n
\n ))}\n\n {bets.length < 1 &&\n [...Array(1 - bets.length).keys()].map((bet, index) => (\n
\n
\n
{bets.length + index + 1}
\n
\n
\n
\n
\n \"\"\n
\n
{\"PENDING...\"}
\n
\n
\n
\n
\n \"\"\n \"\"\n \"\"\n
\n \n 0.00\n
\n
\n
\n
\n
\n
\n ))}\n
\n \n
\n
\n
\n \"\"\n
\n
\n
\n

Leaderboard

\n
\n
\n
\n
\n
\n
\n {topWinners.map((winner, index) => (\n
\n
\n
{index + 1}
\n
\n
\n
\n
\n \"\"\n
\n
{winner.user.userName}
\n
\n
\n
\n
\n \"\"\n \"\"\n \"\"\n
\n \n {winner.profitDifference.toFixed(2)}\n
\n
\n
\n
\n
\n
\n ))}\n\n {topWinners.length === 0 &&\n [...Array(5).keys()].map(() => (\n
\n \n
\n ))}\n
\n
\n \n );\n};\nconst mapDispatchToProps = (dispatch) => ({\n loadProfile: (callback) => dispatch(loadProfile(callback)),\n togglePopupRedux: (payload) => dispatch(togglePopupRedux(payload)),\n toggleWalletPopupRedux: (data) => dispatch(toggleWalletPopupRedux(data)),\n checkZRunNft: (data) => dispatch(checkZRunNft(data)),\n loadBgGames: (data, callback) => dispatch(loadBgGames(data, callback)),\n loadBgGameDetail: (data, callback) => dispatch(loadBgGameDetail(data, callback)),\n zedRunNftColor: (callback) => dispatch(zedRunNftColor(callback)),\n});\nconst mapStateToProps = (state) => ({\n getUser: getUser(state),\n});\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(CrashGame));\n"],"sourceRoot":""}