{"version":3,"file":"static/chunks/pages/casino/fairness-rush-d0f204848905e7dc.js","mappings":"qFAC8DA,SAG7DC,CAAA,EAA4B,iBA+M7BC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAvNA,IAAAC,EAAA,CACAC,IAAA,IACAC,IAAA,IACAC,IAAA,IACAC,IAAA,KACAC,IAAA,OACAC,IAAA,IACAC,IAAA,MACAC,IAAA,KACAC,IAAA,OACAC,IAAA,OACAC,IAAA,IACAC,IAAA,IACAC,IAAA,KACAC,IAAA,MACAC,IAAA,KACAC,IAAA,MACAC,IAAA,KACAC,IAAA,IACAC,IAAA,IACAC,IAAA,KACAC,IAAA,KACAC,IAAA,MACAC,IAAA,MACAC,IAAA,IACAC,IAAA,MACAC,IAAA,KACAC,IAAA,KACAC,IAAA,IACAC,IAAA,MACAC,IAAA,KACAC,IAAA,KACAC,IAAA,IACAC,IAAA,KACAC,IAAA,KACAC,IAAA,KACAC,IAAA,IACAC,IAAA,KACAC,IAAA,IACAC,IAAA,IACAC,IAAA,MACAC,IAAA,MACAC,IAAA,KACA,EAKAC,EAAA,CACAvB,IAAA,CAAWwB,SAAA,CAAYC,MAAA,IAAaC,WAAA,CAAgBC,GAAA,KACpDhC,IAAA,CAAW6B,SAAA,CAAYC,MAAA,IAAaC,WAAA,CAAgBC,GAAA,KACpDvB,IAAA,CAAWoB,SAAA,CAAYC,MAAA,IAAaC,WAAA,CAAgBC,GAAA,KACpD9C,IAAA,CAAW2C,SAAA,CAAYC,MAAA,IAAaC,WAAA,CAAgBC,GAAA,KACpD7C,IAAA,CAAW0C,SAAA,CAAYC,MAAA,IAAaC,WAAA,CAAgBC,GAAA,IACpD,EAGA,SAAAC,GAAA,CACA,QACA,kBAAAC,MACAA,MACA,mBAAAA,KAAAC,YAAA,CAEA,CAEA,SAAAC,EAAAC,CAAA,EACA,MAAAA,QAAAA,GAAAA,QAAAA,CACA,CAEA,SAAAC,EAAAD,CAAA,EAC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AAItF,GACAgQ,MAAMhQ,GADiC,MAAO,GAAP,CAE3C,MAAOmB,CAAAA,EAAAA,EAAAA,cAAAA,EAAekB,OAAOrC,GAAQ,MAAO,KAAM,GAAM,CACtDiC,cAAe8D,CADuC,EAGzD,CAAC,MAAO/E,EAAG,CAEV,MADA+M,QAAQC,GAAR,CAAY,+DAAkChO,GACxC,MAAUgB,EAAhB,CAEH,CAEM,SAASiP,EACdjQ,CADK,CAQL,KAAAoG,EAAAlC,UAAA9E,MAAA,IAAA8E,KAAAtD,IAAAsD,SAAA,IAAAA,SAAA,IADI,EACJ,CAAAgM,EAAA9J,EALE+J,MAKF,CAAAC,EAAAhK,EAJEL,OAIF,CAJEA,EAIFqK,KAAA,IAAAA,EAJYxP,KAAAA,EAIZwP,CAAA,CAAAC,EAAAjK,EAHEkK,kBAGF,CAAAC,EAAAnK,EAFE1F,QAEF,CAFEA,EAEF6P,KAAA,IAAAA,EAFa/K,EAAAA,EAAAA,CAAAA,IAEb,CAAA+K,CAAA,CACMC,EAAczK,MAAAA,EAAAA,EAAWR,CAAAA,EAAAA,EAAAA,EAAAA,EAAW7E,EAA1C,CAEM+P,EAAiBC,CAHvBR,KAAA,IAAAA,GAAAA,CAAA,GAEkC7N,OAAOrC,IAAU,IAE/C2Q,EAAiBZ,EAAY/P,EAAOwQ,IACpCT,EAAY/P,EAAOwQ,EAFvB,CAGA,OAAOF,KANP,IAAAD,GAAAA,EAOIO,EAAAA,EAAgB,CAAClQ,EAAjB,CAA6B+P,EAC7BA,CAFJ,yBC7FF,CAAAI,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,wBACA,WACA,OAAeC,EAAQ,IACvB,EACA","sources":["webpack://_N_E/../../node_modules/@coingecko/cryptoformat/lib/cryptoformat.umd.js","webpack://_N_E/./apis/casino/rush.ts","webpack://_N_E/./constants/decimal.ts","webpack://_N_E/./components/features/casino/fairness-rush/styles.ts","webpack://_N_E/./components/features/casino/fairness-rush/Algorithm/index.tsx","webpack://_N_E/./components/features/casino/fairness-rush/Banner/index.tsx","webpack://_N_E/./components/features/casino/fairness-rush/Example/index.tsx","webpack://_N_E/./components/features/casino/fairness-rush/XCrash/RoundHistoryTable.tsx","webpack://_N_E/./components/features/casino/fairness-rush/XCrash/index.tsx","webpack://_N_E/./components/features/casino/fairness-rush/index.tsx","webpack://_N_E/./pages/casino/fairness-rush/index.tsx","webpack://_N_E/./utils/number/addComma.ts","webpack://_N_E/./utils/index.ts","webpack://_N_E/?4e03","webpack://_N_E/"],"sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.cryptoformat = {}));\n}(this, function (exports) { 'use strict';\n\n // A map of supported currency codes to currency symbols.\n const supportedCurrencySymbols = {\n BTC: \"₿\",\n ETH: \"Ξ\",\n USD: \"$\",\n CAD: \"C$\",\n GBP: \"£\",\n EUR: \"€\",\n CHF: \"Fr.\",\n SEK: \"kr\",\n JPY: \"¥\",\n CNY: \"¥\",\n INR: \"₹\",\n RUB: \"₽\",\n AUD: \"A$\",\n HKD: \"HK$\",\n SGD: \"S$\",\n TWD: \"NT$\",\n BRL: \"R$\",\n KRW: \"₩\",\n ZAR: \"R\",\n MYR: \"RM\",\n IDR: \"Rp\",\n NZD: \"NZ$\",\n MXN: \"MX$\",\n PHP: \"₱\",\n DKK: \"kr.\",\n PLN: \"zł\",\n AED: \"DH\",\n ARS: \"$\",\n CLP: \"CLP\",\n CZK: \"Kč\",\n HUF: \"Ft\",\n ILS: \"₪\",\n KWD: \"KD\",\n LKR: \"Rs\",\n NOK: \"kr\",\n PKR: \"₨\",\n SAR: \"SR\",\n THB: \"฿\",\n TRY: \"₺\",\n XAU: \"XAU\",\n XAG: \"XAG\",\n XDR: \"XDR\",\n };\n\n // A map of override objects to apply.\n // Format:\n // { location: { start: Boolean, end: Boolean }, forLocales: { : Boolean } }\n const symbolOverrides = {\n MYR: { location: { start: true }, forLocales: { en: true } },\n SGD: { location: { start: true }, forLocales: { en: true } },\n PHP: { location: { start: true }, forLocales: { en: true } },\n BTC: { location: { start: true }, forLocales: { en: true } },\n ETH: { location: { start: true }, forLocales: { en: true } },\n };\n\n // Feature detection for Intl.NumberFormat\n function IntlNumberFormatSupported() {\n return !!(\n typeof Intl == \"object\" &&\n Intl &&\n typeof Intl.NumberFormat == \"function\"\n );\n }\n\n function isBTCETH(isoCode) {\n return isoCode === \"BTC\" || isoCode === \"ETH\";\n }\n\n function isCrypto(isoCode) {\n return isBTCETH(isoCode) || supportedCurrencySymbols[isoCode] == null;\n }\n\n // Function to transform decimal trailing zeroes to exponent\n function decimalTrailingZeroesToExponent(formattedCurrency, maximumDecimalTrailingZeroes) {\n const decimalTrailingZeroesPattern = new RegExp(`(\\\\.|,)(0{${maximumDecimalTrailingZeroes + 1},})(?=[1-9]?)`);\n\n return formattedCurrency.replace(\n decimalTrailingZeroesPattern,\n (_match, separator, decimalTrailingZeroes) => `${separator}0${decimalTrailingZeroes.length}`,\n )\n }\n\n // Function to transform the output from Intl.NumberFormat#format\n function formatCurrencyOverride(formattedCurrency, locale = \"en\", maximumDecimalTrailingZeroes) {\n if (typeof maximumDecimalTrailingZeroes !== \"undefined\") {\n formattedCurrency = decimalTrailingZeroesToExponent(formattedCurrency, maximumDecimalTrailingZeroes);\n }\n\n // If currency code remains in front\n const currencyCodeFrontMatch = formattedCurrency.match(/^[A-Z]{3}\\s?/);\n if (currencyCodeFrontMatch != null) {\n const code = currencyCodeFrontMatch[0].trim(); // trim possible trailing space\n\n // Replace currency code with symbol if whitelisted.\n const overrideObj = symbolOverrides[code];\n if (\n overrideObj &&\n overrideObj.location.start &&\n overrideObj.forLocales[locale]\n ) {\n return formattedCurrency.replace(\n currencyCodeFrontMatch[0],\n supportedCurrencySymbols[code]\n );\n } else {\n return formattedCurrency;\n }\n }\n\n // If currency code is at the back\n const currencyCodeBackMatch = formattedCurrency.match(/[A-Z]{3}$/);\n if (currencyCodeBackMatch != null) {\n const code = currencyCodeBackMatch[0];\n\n // Replace currency code with symbol if whitelisted.\n const overrideObj = symbolOverrides[code];\n if (\n overrideObj &&\n overrideObj.location.end &&\n overrideObj.forLocales[locale]\n ) {\n return formattedCurrency.replace(code, supportedCurrencySymbols[code]);\n } else {\n return formattedCurrency;\n }\n }\n\n return formattedCurrency;\n }\n\n // Generates a formatter from Intl.NumberFormat\n function generateIntlNumberFormatter(isoCode, locale, numDecimals, numSigFig) {\n try {\n const params = {\n style: \"currency\",\n currency: isoCode,\n currencyDisplay: \"symbol\",\n };\n if (numDecimals !== undefined) {\n params.minimumFractionDigits = numDecimals;\n params.maximumFractionDigits = numDecimals;\n } else if (numSigFig !== undefined) {\n params.maximumSignificantDigits = numSigFig;\n }\n return new Intl.NumberFormat(locale, params);\n } catch (e) {\n // Unsupported currency, etc.\n // Use primitive fallback\n return generateFallbackFormatter(isoCode, locale, numDecimals);\n }\n }\n\n // Generates a primitive fallback formatter with no symbol support.\n function generateFallbackFormatter(isoCode, locale, numDecimals = 2) {\n isoCode = isoCode.toUpperCase();\n\n if (numDecimals > 2) {\n return {\n format: (value) => {\n return isCrypto(isoCode)\n ? `${value.toFixed(numDecimals)} ${isoCode}`\n : `${isoCode} ${value.toFixed(numDecimals)}`;\n },\n };\n } else {\n return {\n format: (value) => {\n return isCrypto(isoCode)\n ? `${value.toLocaleString(locale)} ${isoCode}`\n : `${isoCode} ${value.toLocaleString(locale)}`;\n },\n };\n }\n }\n\n function generateAbbreviatedFormatter(isoCode, locale) {\n // Show regular numbers if no Intl.NumberFormat support.\n if (!IntlNumberFormatSupported()) {\n return generateFallbackFormatter(isoCode, locale, 0);\n }\n\n let numberFormatOptions = { style: \"decimal\", notation: \"compact\", minimumFractionDigits: 0, maximumFractionDigits: 3 };\n\n // Currency symbol is supported if currency is Fiat/BTC/ETH.\n if (!isCrypto(isoCode) || isBTCETH(isoCode)) {\n numberFormatOptions.style = \"currency\";\n numberFormatOptions.currency = isoCode;\n }\n\n return new Intl.NumberFormat(locale, numberFormatOptions);\n }\n\n function generateFormatter(isoCode, locale, numDecimals, numSigFig) {\n const isNumberFormatSupported = IntlNumberFormatSupported();\n\n const useIntlNumberFormatter =\n isNumberFormatSupported && (!isCrypto(isoCode) || isBTCETH(isoCode));\n return useIntlNumberFormatter\n ? generateIntlNumberFormatter(isoCode, locale, numDecimals, numSigFig)\n : generateFallbackFormatter(isoCode, locale, numDecimals);\n }\n\n // State variables\n let currentISOCode;\n let currentLocale;\n let currencyFormatterNormal;\n let currencyFormatterNoDecimal;\n let currencyFormatterMedium;\n let currencyFormatterTwoDecimal;\n let currencyFormatterSmall;\n let currencyFormatterVerySmall;\n let currencyFormatterVeryVerySmall;\n let currencyFormatter15DP;\n let currencyFormatter18DP;\n let currencyFormatterAbbreviated;\n\n // If a page has to display multiple currencies, formatters would have to be created for each of them\n // To save some effort, we save formatters for reuse\n let formattersCache = {};\n\n function clearCache() {\n formattersCache = {};\n }\n\n function initializeFormatters(isoCode, locale) {\n const cacheKey = `${isoCode}-${locale}`;\n const cachedFormatter = formattersCache[cacheKey];\n\n currencyFormatterNormal = cachedFormatter\n ? cachedFormatter.currencyFormatterNormal\n : generateFormatter(isoCode, locale);\n currencyFormatterNoDecimal = cachedFormatter\n ? cachedFormatter.currencyFormatterNoDecimal\n : generateFormatter(isoCode, locale, 0);\n currencyFormatterMedium = cachedFormatter\n ? cachedFormatter.currencyFormatterMedium\n : generateFormatter(isoCode, locale, 3);\n currencyFormatterTwoDecimal = cachedFormatter\n ? cachedFormatter.currencyFormatterTwoDecimal\n : generateFormatter(isoCode, locale, 2);\n currencyFormatterSmall = cachedFormatter\n ? cachedFormatter.currencyFormatterSmall\n : generateFormatter(isoCode, locale, 6);\n currencyFormatterVerySmall = cachedFormatter\n ? cachedFormatter.currencyFormatterVerySmall\n : generateFormatter(isoCode, locale, 8);\n currencyFormatterVeryVerySmall = cachedFormatter\n ? cachedFormatter.currencyFormatterVeryVerySmall\n : generateFormatter(isoCode, locale, 12);\n currencyFormatter15DP = cachedFormatter\n ? cachedFormatter.currencyFormatter15DP\n : generateFormatter(isoCode, locale, 15);\n currencyFormatter18DP = cachedFormatter\n ? cachedFormatter.currencyFormatter18DP\n : generateFormatter(isoCode, locale, 18);\n currencyFormatterAbbreviated = cachedFormatter\n ? cachedFormatter.currencyFormatterAbbreviated\n : generateAbbreviatedFormatter(isoCode, locale);\n\n // Save in cache\n if (cachedFormatter == null) {\n formattersCache[cacheKey] = {};\n formattersCache[cacheKey].currencyFormatterNormal = currencyFormatterNormal;\n formattersCache[cacheKey].currencyFormatterNoDecimal = currencyFormatterNoDecimal;\n formattersCache[cacheKey].currencyFormatterMedium = currencyFormatterMedium;\n formattersCache[cacheKey].currencyFormatterTwoDecimal = currencyFormatterTwoDecimal;\n formattersCache[cacheKey].currencyFormatterSmall = currencyFormatterSmall;\n formattersCache[cacheKey].currencyFormatterVerySmall = currencyFormatterVerySmall;\n formattersCache[cacheKey].currencyFormatterVeryVerySmall = currencyFormatterVeryVerySmall;\n formattersCache[cacheKey].currencyFormatter15DP = currencyFormatter15DP;\n formattersCache[cacheKey].currencyFormatter18DP = currencyFormatter18DP;\n formattersCache[cacheKey].currencyFormatterAbbreviated = currencyFormatterAbbreviated;\n }\n }\n\n // Moderate crypto amount threshold\n const MEDIUM_CRYPTO_THRESHOLD = 50;\n // Large crypto amount threshold\n const LARGE_CRYPTO_THRESHOLD = 1000;\n // No decimal threshold for large amounts\n const NO_DECIMAL_THRESHOLD = 100000;\n\n function formatCurrency(\n amount,\n isoCode,\n locale = \"en\",\n raw = false,\n noDecimal = false,\n abbreviated = false,\n ) {\n isoCode = isoCode.toUpperCase();\n let maximumDecimalTrailingZeroes = undefined;\n\n if (currentISOCode !== isoCode || currentLocale != locale) {\n currentISOCode = isoCode;\n currentLocale = locale;\n\n // Formatters are tied to currency code, we try to initialize as infrequently as possible.\n initializeFormatters(isoCode, locale);\n }\n\n if (abbreviated) {\n let formattedAbbreviatedCurrency = currencyFormatterAbbreviated.format(amount);\n\n // Manually add currency code to the back for non-BTC/ETH crypto currencies.\n if (isCrypto(isoCode) && !isBTCETH(isoCode)) {\n formattedAbbreviatedCurrency = `${formattedAbbreviatedCurrency} ${isoCode}`;\n }\n\n return formatCurrencyOverride(formattedAbbreviatedCurrency, locale);\n }\n\n if (noDecimal === true && amount > 100.0) {\n return formatCurrencyOverride(\n currencyFormatterNoDecimal.format(amount),\n locale\n );\n } else if (typeof noDecimal === \"object\" && noDecimal !== null) {\n if (raw) {\n // Limit to max n decimal places if applicable\n let raw_amount = noDecimal.hasOwnProperty(\"decimalPlaces\")\n ? amount.toFixed(noDecimal.decimalPlaces)\n : amount;\n // Round off to number of significant figures without trailing 0's\n return `${parseFloat(raw_amount).toPrecision(noDecimal.significantFigures) / 1}`;\n }\n\n if (noDecimal.hasOwnProperty(\"maximumDecimalTrailingZeroes\")) {\n maximumDecimalTrailingZeroes = noDecimal.maximumDecimalTrailingZeroes;\n }\n\n if (noDecimal.hasOwnProperty(\"decimalPlaces\") && noDecimal.hasOwnProperty(\"significantFigures\")) {\n // Show specified number of significant digits with cutoff of specified fraction digits\n const currencyFormatterCustom = generateFormatter(\n isoCode,\n locale,\n undefined,\n noDecimal.significantFigures\n );\n\n return formatCurrencyOverride(\n currencyFormatterCustom.format(\n Number.parseFloat(amount.toFixed(noDecimal.decimalPlaces))\n ),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (noDecimal.hasOwnProperty(\"decimalPlaces\") || noDecimal.hasOwnProperty(\"significantFigures\")) {\n const currencyFormatterCustom = generateFormatter(\n isoCode,\n locale,\n noDecimal.decimalPlaces,\n noDecimal.significantFigures\n );\n\n return formatCurrencyOverride(\n currencyFormatterCustom.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n }\n }\n\n if (isCrypto(isoCode)) {\n let price = parseFloat(amount);\n\n if (raw) {\n if (amount === 0.0) {\n return price.toFixed(2);\n }\n return price.toPrecision(8);\n }\n\n if (amount === 0.0) {\n return formatCurrencyOverride(\n currencyFormatterNormal.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= LARGE_CRYPTO_THRESHOLD) {\n // Large crypto amount, show no decimal value\n return formatCurrencyOverride(\n currencyFormatterNoDecimal.format(amount),\n locale\n );\n } else if (\n price >= MEDIUM_CRYPTO_THRESHOLD &&\n price < LARGE_CRYPTO_THRESHOLD\n ) {\n // Medium crypto amount, show 3 fraction digits\n return formatCurrencyOverride(\n currencyFormatterMedium.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 1.0 && price < MEDIUM_CRYPTO_THRESHOLD) {\n // crypto amount, show 6 fraction digits\n return formatCurrencyOverride(\n currencyFormatterSmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 0.000001 && price < 1.0) {\n // crypto amount, show 8 fraction digits\n return formatCurrencyOverride(\n currencyFormatterVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 10**-9 && price < 10**-6) {\n return formatCurrencyOverride(\n currencyFormatterVeryVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 10**-12 && price < 10**-9) {\n return formatCurrencyOverride(\n currencyFormatter15DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price < 10**-12) {\n return formatCurrencyOverride(\n currencyFormatter18DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n }\n } else {\n const unsigned_amount = Math.abs(amount);\n if (raw) {\n if (unsigned_amount < 10**-12) {\n return amount.toFixed(18);\n } else if (unsigned_amount < 10**-9) {\n return amount.toFixed(15);\n } else if (unsigned_amount < 10**-6) {\n return amount.toFixed(12);\n } else if (unsigned_amount < 10**-3) {\n return amount.toFixed(8);\n } else if (unsigned_amount < 1.0) {\n return amount.toFixed(6);\n } else {\n return amount.toFixed(2);\n }\n }\n\n if (unsigned_amount === 0.0) {\n return formatCurrencyOverride(\n currencyFormatterNormal.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 10**-12) {\n return formatCurrencyOverride(\n currencyFormatter18DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 10**-9) {\n return formatCurrencyOverride(\n currencyFormatter15DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 10**-6) {\n return formatCurrencyOverride(\n currencyFormatterVeryVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 0.05) {\n return formatCurrencyOverride(\n currencyFormatterVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 1.0) {\n return formatCurrencyOverride(\n currencyFormatterSmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (isoCode === \"JPY\" && unsigned_amount < 100) {\n return formatCurrencyOverride(\n currencyFormatterTwoDecimal.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount > NO_DECIMAL_THRESHOLD) {\n return formatCurrencyOverride(\n currencyFormatterNoDecimal.format(amount),\n locale\n );\n } else {\n // Let the formatter do what it seems best. In particular, we should not set any fraction amount for Japanese Yen\n return formatCurrencyOverride(\n currencyFormatterNormal.format(amount),\n locale\n );\n }\n }\n }\n\n exports.clearCache = clearCache;\n exports.formatCurrency = formatCurrency;\n exports.isCrypto = isCrypto;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","import request from '../index';\nimport {\n OnlineUserItem,\n Prize,\n PrizeType,\n RushGameData,\n} from '@/components/features/casino/rush/types';\n\nexport interface RushBetBodyParams {\n amountType: number;\n gameId: string;\n roundId: string;\n timestamp: number;\n currency: string;\n}\n\nexport interface RushBetResult {\n decrTimeLine: string;\n rewardAmount: number;\n rewardValue: PrizeType;\n}\n\nexport const rushBet = async (data: RushBetBodyParams) =>\n await request({\n url: '/api/game/rush/v3/bet',\n method: 'post',\n data,\n });\n\nexport const getRushBetRecords = async (data: {\n currentPage: number;\n gameId: string;\n pageSize: number;\n roundId: string;\n}) => {\n return await request({\n url: '/api/game/rush/v3/bet-records',\n method: 'post',\n data,\n });\n};\n\nexport interface RewardRecords {\n currentPage: number;\n gameId: number;\n pageSize: number;\n records: Prize[];\n roundId: string;\n total: number;\n}\n\nexport const getCurrentRewardRecords = async (data: {\n currentPage: number;\n gameId?: string;\n pageSize: number;\n roundId?: string;\n rushId?: string;\n}) => {\n return await request({\n url: '/api/game/rush/v3/user/reward-records',\n method: 'post',\n data,\n });\n};\n\nexport const getRushInviterCode = async () => {\n return await request<{\n inviteCode: string;\n }>({\n url: '/api/game/rush/v3/user/inviter-code',\n method: 'POST',\n });\n};\nexport const getRushGameInfo = () => {\n return request({\n url: '/api/game/rush/v3/current-info',\n });\n};\n\nexport const getOnlineUser = () => {\n return request({\n url: '/api/game/rush/v3/online-user',\n method: 'post',\n data: {\n currentPage: 1,\n pageSize: 100,\n },\n });\n};\n\ninterface ReferReward {\n uid: string;\n inviteType: number;\n total: string;\n available: string;\n currency: string;\n}\n\nexport const getUserReferReward = () => {\n return request({\n url: '/api/game/rush/v3/user/refer/reward',\n method: 'post',\n }).then((res) => {\n if (res?.status?.code === '0') {\n return res.data;\n } else {\n return {\n uid: '',\n inviteType: 0,\n total: '0',\n available: '0',\n currency: 'USDT',\n } as ReferReward;\n }\n });\n};\n","import { CURRENCY_NAME, IsStableCoin } from '@/constants/currency';\nimport { isNumber } from 'lodash-es';\n\nexport const USDT_DECIMAL = 2;\nexport const OTHER_DECIMAL = 8;\nexport const getDecimal = (currency = CURRENCY_NAME.USDT, value?: number) => {\n if (IsStableCoin(currency)) {\n if (isNumber(value) && value < 1) {\n const match = String(value).match(/\\.0+/);\n const zersCount = !match ? 0 : match[0].length - 1;\n return zersCount + 2;\n }\n return USDT_DECIMAL;\n } else {\n return OTHER_DECIMAL;\n }\n};\n\nexport const getCrashDecimal = (currency = CURRENCY_NAME.USDT) => {\n if (IsStableCoin(currency)) {\n return 4;\n } else {\n return 8;\n }\n};\nexport const getMinAmount = (currency) => {\n const zero = '0';\n const decimal = getCrashDecimal(currency);\n return Number('0.' + zero.repeat(decimal - 1) + '1');\n};\n","import { Typography } from '@mui/material';\nimport { styled } from '@mui/system';\n\nexport const FairnessWrapper = styled('div')(({ theme }) => ({\n maxWidth: '960px',\n margin: '0 auto',\n paddingTop: theme.spacing(3),\n fontFamily: 'Readex Pro',\n}));\nexport const FairnessBanner = styled('div')(({ theme }) => ({\n display: 'flex',\n flexWrap: 'wrap',\n\n '& img': {\n width: '326px',\n marginRight: theme.spacing(3),\n },\n [theme.breakpoints.down('md')]: {\n '& img': {\n width: '100%',\n marginRight: 0,\n marginBottom: theme.spacing(2),\n },\n '& .MuiBox-root': {\n width: '100%',\n },\n },\n}));\n\nexport const SectionWrapper = styled('div')(({ theme }) => ({\n marginTop: theme.spacing(6),\n}));\nexport const SectionTitle = styled(Typography)(({ theme }) => ({\n fontSize: '24px',\n marginBottom: theme.spacing(3),\n}));\nexport const SectionParagraph = styled(Typography)(({ theme }) => ({\n fontSize: '14px',\n color: '#B1B6C6',\n marginBottom: theme.spacing(2),\n wordBreak: 'break-all',\n}));\n\nexport const CodeWrapper = styled('pre')(({ theme }) => ({\n backgroundColor: '#E3E6EC',\n color: '#141722',\n padding: theme.spacing(2),\n borderRadius: '6px',\n overflowX: 'auto',\n whiteSpace: 'pre-wrap',\n}));\n\nexport const GlobalSeedWrapper = styled('div')(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n}));\nexport const GlobalSeedContent = styled('div')(({ theme }) => ({\n display: 'flex',\n padding: theme.spacing(2),\n marginLeft: theme.spacing(3),\n alignItems: 'center',\n justifyContent: 'space-between',\n border: '1px solid #303545',\n borderRadius: theme.shape.borderRadius,\n backgroundColor: theme.palette.grey[1000],\n flex: 1,\n height: '48px',\n [theme.breakpoints.down('md')]: {\n '&>span': {\n width: '120px',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n },\n}));\n","import React, { useState } from 'react';\nimport { SectionParagraph, SectionTitle, SectionWrapper } from '../styles';\nimport { useTranslation } from 'next-i18next';\n\nconst Algorithm: React.FC = () => {\n const { t } = useTranslation();\n return (\n \n {t('ALGORITHM')}\n \n {t(\n 'Before the first round of the game began, we created a chain of hashes. Each hash is a 256 bit value. The chain begins with a randomly chosen 256 bit value and every subsequent value is calculated using the',\n )}\n \n \n {t(\n 'Using a cryptographic hash function ensures that one can easily calculate any value in the chain using the previous value, but one can not easily calculate values in the reverse direction. The last value in the precalculated hash chain is what we publically published and used for the first round of the game. The second round of the game used the second to last hash value, the third round used the third to last hash value, etc. By traversing the chain in this manner, one can verify that the outcome of all past game rounds were consistent with the precalculated chain, but the outcome of future rounds remains unpredictable to users.',\n )}\n \n \n {t(\n 'In order to eliminate the possibility that we intentionally generated the chain using an initial value that biased the games results in our favor, each value in the chain is appended to the global seed and the resulting value is hashed again using BLAKE2b to create the final value that will determine the outcome of each game round. This global seed is set to the hash of the Bitcoin block that we announced prior to its mining. The inclusion of the global seed ensures that the outcome of the games was unknowable to us when the hash value of the first game was published.',\n )}\n \n \n );\n};\n\nexport default Algorithm;\n","import { getStaticAsset } from '@/utils/staticAsset';\nimport { Box, Typography } from '@mui/material';\nimport React from 'react';\nimport { useTranslation } from 'next-i18next';\nimport { FairnessBanner, SectionParagraph } from '../styles';\n\nconst Banner: React.FC = () => {\n const { t } = useTranslation();\n return (\n \n theme.palette.bg.main,\n width: '326px',\n }}\n >\n \n \n \n {t('PROVABLY FAIR')}\n \n {t('What does it mean?')}\n \n \n {t(\n ' All game results for the next 6 million rounds have been predetermined. Before each\\n' +\n ' round, we reveal a hash of the result, making it impossible for us to change the result\\n' +\n ' after the fact.',\n )}\n \n \n {t(\n 'We have actually chained all results, making it impossible for us to even change future\\n' +\n ' results. And before generating the chain of results, we revealed the first hash,\\n' +\n ' published this to , and mixed in a future Bitcoin blockhash we could not have known.\\n' +\n ' This makes all results provably fair.',\n )}\n \n \n \n );\n};\n\nexport default Banner;\n","import React, { useState } from 'react';\nimport {\n CodeWrapper,\n SectionParagraph,\n SectionTitle,\n SectionWrapper,\n} from '../styles';\nimport { useTranslation } from 'next-i18next';\n\nconst Example: React.FC = () => {\n const { t } = useTranslation();\n const code = `\nimport math\nimport pyblake2\n\n# The global seed is the hash of the Bitcoin block published by Rollbit\nglobal_seed = bytes.fromhex(\"00000000000000000004ab6468e03c35500b5f59b8ef58ef9873f67ffbf12bcd\")\n\n# In this example, we'll start with the 369,862nd game round and work backwards.\nround = 369862\n\n# The round_hash is initially set to the value published for the 369,862nd round.\nround_hash = bytes.fromhex(\"344893385fa113a48edafe61cc0e52a11fba9c1cd2dc4a92f7e919be87945ec5\")\n\n# Iterate backwards through the rounds\nfor i in range(round, round - 10, -1):\n # For every round, we append the global_seed to the round_hash to get a final hash value.\n round_final_hash = pyblake2.blake2b(round_hash + global_seed, digest_size=32).digest()\n\n # We then convert that hex value to a floating point number 'x',\n # which is uniformly distributed in the unit interval\n x = float(int.from_bytes(round_final_hash[:8], byteorder='little', signed=False)) / float(2**64 - 1)\n\n # The round's outcome is calculated by applying the house's 5% edge,\n # rounding to 0.01 precision, and restricting the outcome range to [1.0, 1000000.0)\n outcome = min(1e6, max(1.0, math.floor(100.0*(1.0-0.05)/x) / 100.0))\n\n print(\"Round: \", i)\n print(\"Round Hash: \", round_hash.hex())\n print(\"Round Outcome: \", outcome)\n\n # For the next round, we calculate the next value in the chain of hashes.\n round_hash = pyblake2.blake2b(round_hash, digest_size=32).digest()\n\n\n `;\n return (\n \n {t('VERIFICATION EXAMPLE')}\n \n {t(\n 'Anyone can verify that the outcomes of all prior game rounds were generated using the provably fair algorithm with the following python code:',\n )}\n \n {code}\n \n );\n};\n\nexport default Example;\n","import React, { useState } from 'react';\nimport {\n Box,\n Table,\n TableBody,\n TableCell,\n TableContainer,\n TableHead,\n TableRow,\n} from '@mui/material';\nimport { useTranslation } from 'next-i18next';\nimport dayjs from 'dayjs';\nimport { getCurrentRewardRecords } from '@/apis/casino/rush';\nimport { useQuery } from '@tanstack/react-query';\n\nconst RoundHistoryTable: React.FC = () => {\n const rows = [\n {\n gameId: 'rush',\n roundId: '270',\n uid: '100053',\n userName: 'Minyo',\n amountType: 1,\n amount: '1',\n rewardType: 6,\n payout: '0',\n multiplier: '0.0',\n hash: '73f429be10dd4beab70ff9dc548946333b031b8bdff1fe5855440ee0cd343bb9',\n result: '0.452944382574846177',\n currency: 'USDT',\n currencyInfo: {\n id: 1,\n name: 'usdt',\n symbol: 'usdt',\n decimals: 6,\n },\n createdTime: '2023-11-14T21:01:22.887Z',\n },\n {\n gameId: 'rush',\n roundId: '270',\n uid: '100186',\n userName: 'wick0x01',\n amountType: 1,\n amount: '1',\n rewardType: 6,\n payout: '0',\n multiplier: '0.0',\n hash: '5fcbad076b85cfd9d6ce8923280374cc2092b2ecdc7f5543bca3dbaf05ca8e96',\n result: '0.374201597510839451',\n currency: 'USDT',\n currencyInfo: {\n id: 1,\n name: 'usdt',\n symbol: 'usdt',\n decimals: 6,\n },\n createdTime: '2023-11-14T13:19:11.407Z',\n },\n {\n gameId: 'rush',\n roundId: '270',\n uid: '100186',\n userName: 'wick0x01',\n amountType: 1,\n amount: '1',\n rewardType: 6,\n payout: '0',\n multiplier: '0.0',\n hash: 'd4088eca1cf0fce7161d4dd85eaa288b89f799b4b43510b7272d8884feda7d94',\n result: '0.828255581230170110',\n currency: 'USDT',\n currencyInfo: {\n id: 1,\n name: 'usdt',\n symbol: 'usdt',\n decimals: 6,\n },\n createdTime: '2023-11-14T13:19:07.815Z',\n },\n {\n gameId: 'rush',\n roundId: '270',\n uid: '100186',\n userName: 'wick0x01',\n amountType: 1,\n amount: '1',\n rewardType: 6,\n payout: '0',\n multiplier: '0.0',\n hash: 'da60384ee47d3720f7325fea986472f058120cafb8461e914c9c04bdbe0754b4',\n result: '0.853030699978707257',\n currency: 'USDT',\n currencyInfo: {\n id: 1,\n name: 'usdt',\n symbol: 'usdt',\n decimals: 6,\n },\n createdTime: '2023-11-14T13:19:04.127Z',\n },\n {\n gameId: 'rush',\n roundId: '270',\n uid: '100186',\n userName: 'wick0x01',\n amountType: 1,\n amount: '1',\n rewardType: 6,\n payout: '0',\n multiplier: '0.0',\n hash: '7e07d43fb743f97d9796428c401fed7729800b2ee730e7be0b3ae573ba04814b',\n result: '0.492306962543139437',\n currency: 'USDT',\n currencyInfo: {\n id: 1,\n name: 'usdt',\n symbol: 'usdt',\n decimals: 6,\n },\n createdTime: '2023-11-14T13:19:01.163Z',\n },\n {\n gameId: 'rush',\n roundId: '270',\n uid: '100186',\n userName: 'wick0x01',\n amountType: 1,\n amount: '1',\n rewardType: 6,\n payout: '0',\n multiplier: '0.0',\n hash: '9ae75594415a83f69575d9ac347ae43bb7b091d44bd59f0e4b4df9194f9d2bc8',\n result: '0.605092381186617373',\n currency: 'USDT',\n currencyInfo: {\n id: 1,\n name: 'usdt',\n symbol: 'usdt',\n decimals: 6,\n },\n createdTime: '2023-11-14T13:18:58.178Z',\n },\n ];\n const [list, setList] = useState([...rows]);\n\n const { isLoading, error } = useQuery({\n queryKey: ['CrashLatestFive'],\n queryFn: async () =>\n getCurrentRewardRecords({\n currentPage: 1,\n pageSize: 5,\n }),\n onSuccess: (res) => {\n if (res.status.code === '0') {\n setList(res.data.records);\n }\n },\n });\n\n const { t } = useTranslation();\n\n return (\n <>\n \n \n \n \n {t('Date/Time')}\n {t('Result')}\n {t('Round')}\n {t('Hash')}\n \n \n \n {list.map((row, index) => (\n \n \n {dayjs(row.createdTime).format('MMMM D YYYY h:mm A')}\n \n x{row.multiplier}\n {row.roundId}\n {row.hash}\n \n ))}\n \n
\n
\n \n );\n};\n\nexport default RoundHistoryTable;\n","import { copyToClipboard } from '@/utils';\nimport { Box, Button, Typography } from '@mui/material';\nimport React, { useState } from 'react';\nimport { toast } from 'react-hot-toast';\nimport { useTranslation } from 'next-i18next';\nimport {\n GlobalSeedContent,\n GlobalSeedWrapper,\n SectionTitle,\n SectionWrapper,\n} from '../styles';\nimport RoundHistoryTable from './RoundHistoryTable';\n\nconst XCrash: React.FC = () => {\n const { t } = useTranslation();\n const [globalSeed, setGlobalSeed] = useState(\n '73f429be10dd4beab70ff9dc548946333b031b8bdff1fe5855440ee0cd343bb9',\n );\n const handleCopy = () => {\n copyToClipboard(globalSeed).then(() => {\n console.log('copy success');\n toast.success(t('COPY SUCCESS'));\n });\n };\n\n return (\n \n {t('RUSH')}\n \n {t('Global Seed')}\n \n {globalSeed}\n \n \n \n \n \n \n \n );\n};\n\nexport default XCrash;\n","import React from 'react';\nimport Algorithm from './Algorithm';\nimport Banner from './Banner';\nimport Example from './Example';\nimport { FairnessWrapper } from './styles';\nimport XCrash from './XCrash';\n\nconst Fairness: React.FC = () => {\n return (\n \n \n \n \n \n \n );\n};\n\nexport default Fairness;\n","import getI18nProps from '@/utils/i18/getI18nProps';\nimport Fairness from '@/components/features/casino/fairness-rush';\nimport CatchError from '@/components/system/CacthError';\n\nexport function CasinoFairness() {\n return ;\n}\n\n// export const runtime = 'experimental-edge';\nexport async function getServerSideProps({ locale }) {\n return {\n props: {\n ...(await getI18nProps({ locale })),\n },\n };\n}\n\nexport default CatchError(CasinoFairness);\n","const addCommaToDecimal = (x: string) => {\n const parts = x.toString().split('.');\n parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',');\n return parts.join('.');\n};\n\nexport default addCommaToDecimal;\n","import { formatCurrency } from '@coingecko/cryptoformat';\n\n/* ====================== *\n * get random id *\n * https://stackoverflow.com/questions/1349404/generate-random-string-characters-in-javascript\n * * ====================== */\nimport { getDecimal, USDT_DECIMAL } from '@/constants/decimal';\nimport { CURRENCY_NAME, CURRENCY_SYMBOLS } from '@/constants/currency';\nimport addCommatoNumber from './number/addComma';\n\nexport function getRandomId(\n length = 8,\n chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ',\n) {\n let result = '';\n for (let i = length; i > 0; --i)\n result += chars[Math.floor(Math.random() * chars.length)];\n return result;\n}\n\nexport function getUUid() {\n return `${getRandomId(8)}-${getRandomId(4)}-${getRandomId(4)}-${getRandomId(\n 4,\n )}-${getRandomId(12)}`;\n}\n\n/* ====================== *\n * copy to clipboard *\n * ====================== */\nexport const copyToClipboard = (text: string): Promise => {\n return new Promise((resolve, reject) => {\n if (navigator.clipboard && navigator.clipboard.writeText) {\n // 使用 Clipboard API\n navigator.clipboard\n .writeText(text)\n .then(() => {\n resolve(true); // 成功时返回 true\n })\n .catch((error) => {\n reject(false); // 失败时返回 false\n });\n } else if (\n document.queryCommandSupported &&\n document.queryCommandSupported('copy')\n ) {\n // 使用 execCommand\n const textarea = document.createElement('textarea');\n textarea.value = text;\n document.body.appendChild(textarea);\n textarea.select();\n try {\n document.execCommand('copy');\n resolve(true); // 成功时返回 true\n } catch (error) {\n reject(false); // 失败时返回 false\n }\n document.body.removeChild(textarea);\n } else {\n reject(false); // 不支持复制到剪贴板时返回 false\n }\n });\n};\n\nexport function sleep(ms) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n\nexport function formatMoney(value: any, decimal = USDT_DECIMAL) {\n try {\n if (value === undefined || value === null) return '-';\n if (isNaN(value)) return '-';\n return formatCurrency(Number(value), 'usd', 'en', true, {\n decimalPlaces: decimal,\n });\n } catch (e) {\n console.log('🍎🍎🍎formatMoney error value:', value);\n throw new Error(e);\n }\n}\n\nexport function formatMoneyByCurrency(\n value,\n {\n commas = true,\n decimal = undefined,\n withCurrencySymbol = false,\n currency = CURRENCY_NAME.USDT,\n } = {},\n) {\n const usedDecimal = decimal ?? getDecimal(currency);\n const shouldAddCommas = commas && Number(value) >= 1000;\n const formattedValue = shouldAddCommas\n ? addCommatoNumber(formatMoney(value, usedDecimal))\n : formatMoney(value, usedDecimal);\n return withCurrencySymbol\n ? CURRENCY_SYMBOLS[currency] + formattedValue\n : formattedValue;\n}\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/casino/fairness-rush\",\n function () {\n return require(\"private-next-pages/casino/fairness-rush/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/casino/fairness-rush\"])\n });\n }\n "],"names":["factory","exports","currentISOCode","currentLocale","currencyFormatterNormal","currencyFormatterNoDecimal","currencyFormatterMedium","currencyFormatterTwoDecimal","currencyFormatterSmall","currencyFormatterVerySmall","currencyFormatterVeryVerySmall","currencyFormatter15DP","currencyFormatter18DP","currencyFormatterAbbreviated","supportedCurrencySymbols","BTC","ETH","USD","CAD","GBP","EUR","CHF","SEK","JPY","CNY","INR","RUB","AUD","HKD","SGD","TWD","BRL","KRW","ZAR","MYR","IDR","NZD","MXN","PHP","DKK","PLN","AED","ARS","CLP","CZK","HUF","ILS","KWD","LKR","NOK","PKR","SAR","THB","TRY","XAU","XAG","XDR","symbolOverrides","location","start","forLocales","en","IntlNumberFormatSupported","Intl","NumberFormat","isBTCETH","isoCode","isCrypto","formatCurrencyOverride","formattedCurrency","locale","maximumDecimalTrailingZeroes","decimalTrailingZeroesToExponent","decimalTrailingZeroesPattern","replace","_match","separator","decimalTrailingZeroes","length","currencyCodeFrontMatch","match","code","trim","overrideObj","currencyCodeBackMatch","end","generateFallbackFormatter","numDecimals","toUpperCase","format","value","toFixed","toLocaleString","generateFormatter","numSigFig","isNumberFormatSupported","useIntlNumberFormatter","generateIntlNumberFormatter","params","style","currency","currencyDisplay","undefined","minimumFractionDigits","maximumFractionDigits","maximumSignificantDigits","e","formattersCache","clearCache","formatCurrency","amount","raw","noDecimal","abbreviated","initializeFormatters","cacheKey","cachedFormatter","generateAbbreviatedFormatter","numberFormatOptions","notation","formattedAbbreviatedCurrency","parseFloat","hasOwnProperty","decimalPlaces","toPrecision","significantFigures","currencyFormatterCustom","Number","price","unsigned_amount","Math","abs","Object","defineProperty","_ref2","_ref3","_ref4","getRushBetRecords","_codebuild_output_src2472147443_src_crownbit_frontend_node_modules_next_dist_compiled_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__","Z","_codebuild_output_src2472147443_src_crownbit_frontend_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_0___default","mark","_callee2","data","wrap","_context2","prev","next","request","url","method","abrupt","sent","stop","_x2","apply","arguments","getCurrentRewardRecords","_callee3","_context3","_x3","getRushInviterCode","_callee4","_context4","getOnlineUser","currentPage","pageSize","getUserReferReward","then","res","_res$status","status","uid","inviteType","total","available","USDT_DECIMAL","getDecimal","CURRENCY_NAME","IsStableCoin","isNumber","String","zersCount","getCrashDecimal","getMinAmount","decimal","zero","repeat","FairnessWrapper","styled","_ref","maxWidth","margin","paddingTop","theme","spacing","fontFamily","FairnessBanner","display","flexWrap","width","marginRight","breakpoints","down","marginBottom","SectionWrapper","marginTop","SectionTitle","Typography","_ref5","fontSize","SectionParagraph","_ref6","color","wordBreak","CodeWrapper","_ref7","backgroundColor","padding","borderRadius","overflowX","whiteSpace","GlobalSeedWrapper","_ref8","alignItems","GlobalSeedContent","_ref9","marginLeft","justifyContent","border","shape","palette","grey","flex","height","overflow","textOverflow","fairness_rush_Algorithm","t","_useTranslation","useTranslation","jsx_runtime","jsxs","children","jsx","fairness_rush_Banner","Box","sx","background","bg","main","src","getStaticAsset","alt","ml","mt","mb","variant","fairness_rush_Example","XCrash_RoundHistoryTable","_queryFn","_useState","useState","concat","gameId","roundId","userName","amountType","rewardType","payout","multiplier","hash","result","currencyInfo","id","name","symbol","decimals","createdTime","list","setList","_useQuery","useQuery","queryKey","queryFn","asyncToGenerator","regenerator_default","_callee","_context","onSuccess","records","isLoading","error","Fragment","TableContainer","component","Table","minWidth","TableHead","TableRow","TableCell","align","TableBody","map","row","index","scope","dayjs","fairness_rush_XCrash","globalSeed","Button","onClick","copyToClipboard","console","log","toast","fairness_rush","CasinoFairness","casino_fairness_rush","CatchError","addComma","x","parts","toString","split","join","text","Promise","resolve","reject","navigator","clipboard","writeText","document","queryCommandSupported","textarea","createElement","body","appendChild","select","execCommand","removeChild","sleep","ms","setTimeout","formatMoney","isNaN","formatMoneyByCurrency","_ref$commas","commas","_ref$decimal","_ref$withCurrencySymb","withCurrencySymbol","_ref$currency","usedDecimal","formattedValue","shouldAddCommas","addCommatoNumber","CURRENCY_SYMBOLS","window","__NEXT_P","push","__webpack_require__"],"sourceRoot":""}