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I,EAsBzE,MAfAoC,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACR,GAAI,CAAEpC,CAAAA,GAAOA,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAKiF,OAAO,GACvB,OAEF,IAAMM,EAAUvF,MAAAA,EAAAA,KAAAA,EAAAA,EAAKiF,OAAO,CAK5B,OAFAM,MAAAA,GAAAA,EAASC,gBAAgB,CAAC,SAAUT,GAE7B,KACLQ,MAAAA,GAAAA,EAASE,mBAAmB,CAAC,SAAUV,EACzC,CACF,EAAG,CAACA,EAAgB/E,EAAI,EAGjB,CACLA,IAAAA,EACA6E,WAAAA,CACF,CACF,qBC3GA7V,EAAAC,OAAA,EAAkB,4MCAlBD,EAAAC,OAAA,EAAkB,oVCAlBD,EAAAC,OAAA,EAAkB,khBCAlBD,EAAAC,OAAA,EAAkB,gHCAlBD,EAAAC,OAAA,EAAkB,8JCAlBD,EAAAC,OAAA,EAAkB,4bCAlBD,EAAAC,OAAA,EAAkB,2KCAlBD,EAAAC,OAAA,EAAkB,shBCAlBD,EAAAC,OAAA,EAAkB,gHCAlBD,EAAAC,OAAA,EAAkB,oICAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/../../node_modules/lodash/_Symbol.js","webpack://_N_E/../../node_modules/lodash/_baseGetTag.js","webpack://_N_E/../../node_modules/lodash/_baseTrim.js","webpack://_N_E/../../node_modules/lodash/_freeGlobal.js","webpack://_N_E/../../node_modules/lodash/_getRawTag.js","webpack://_N_E/../../node_modules/lodash/_objectToString.js","webpack://_N_E/../../node_modules/lodash/_root.js","webpack://_N_E/../../node_modules/lodash/_trimmedEndIndex.js","webpack://_N_E/../../node_modules/lodash/debounce.js","webpack://_N_E/../../node_modules/lodash/isObject.js","webpack://_N_E/../../node_modules/lodash/isObjectLike.js","webpack://_N_E/../../node_modules/lodash/isSymbol.js","webpack://_N_E/../../node_modules/lodash/now.js","webpack://_N_E/../../node_modules/lodash/toNumber.js","webpack://_N_E/./src/api/bonus-reward-type/queries/useBonusRewardTypesAggregators/service.ts","webpack://_N_E/./src/api/bonus-reward-type/queries/useBonusRewardTypesAggregators/index.ts","webpack://_N_E/./src/api/bonus-reward-type/queries/index.ts","webpack://_N_E/./src/hooks/useUserRewardsBySearchParamReward.ts","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/utils/getCoin.ts","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/SubmitButton/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/utils/getUserRewardKey.ts","webpack://_N_E/./src/hooks/bonus/useBonusRewardCardState/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Cards/Card/Skeleton/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Cards/Card/varitants.ts","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Cards/Card/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Cards/index.tsx","webpack://_N_E/./src/components/Bonus/Bubbles/circles.ts","webpack://_N_E/./src/components/Bonus/Bubbles/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Header/Skeleton/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Header/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/index.tsx","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/index.tsx","webpack://_N_E/./src/enums/rankGroupId.ts","webpack://_N_E/./src/hooks/multi-exchange-ratio/useMultiExchangeRatio/index.tsx","webpack://_N_E/./src/models/userReward/user-reward-status.enum.ts","webpack://_N_E/../../packages/common/src/components/Counter/Skeleton/index.tsx","webpack://_N_E/../../packages/common/src/components/Counter/index.tsx","webpack://_N_E/../../packages/common/src/hooks/useInfiniteScroll/index.ts","webpack://_N_E/./src/components/Bonus/Bubbles/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Cards/Card/Skeleton/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Cards/Card/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Cards/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Header/Skeleton/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/Header/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/SubmitButton/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/Reward/styles.module.scss","webpack://_N_E/./src/components/Bonus/ClaimRewardModal/Content/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Counter/Skeleton/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Counter/styles.module.scss"],"sourcesContent":["var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","import { QueryFunctionContext } from '@tanstack/react-query';\nimport { AxiosResponse } from 'axios';\nimport baseAPI from '@/api';\nimport { PaginatedResponse } from '@/models/pagination/paginated-response.dto';\nimport { UseBonusRewardTypesAggregatorsQueryKeyProps } from './props';\nimport { UserBonusRewardTypeAggregator } from '@/models/user-bonus-reward-type-aggregator';\n\nexport async function fetchBonusRewardTypesAggregators({\n queryKey,\n}: QueryFunctionContext) {\n const { page, limit, rewardId } = queryKey[1];\n\n const response: AxiosResponse<\n PaginatedResponse\n > = await baseAPI.get>(\n '/bonus-reward-types/aggregators',\n {\n params: {\n page,\n limit,\n rewardId,\n },\n },\n );\n\n return response.data;\n}\n","import { useMemo, useState } from 'react';\nimport {\n UseBonusRewardTypesAggregatorsProps,\n UseBonusRewardTypesAggregatorsQueryKeyProps,\n} from './props';\nimport { BonusRewardTypesQueryKeys } from '../../queryKeys';\nimport { useQuery } from '@tanstack/react-query';\nimport { PaginatedResponse } from '@/models/pagination/paginated-response.dto';\nimport { fetchBonusRewardTypesAggregators } from './service';\nimport { AxiosError } from 'axios';\nimport { GenericError } from '@/models/generic-error';\nimport { PaginatedRequest } from '@/models/pagination/paginated-request';\nimport { usePaginatedQuery } from '@starsoft/common/hooks';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\nimport { Decimal } from '@starsoft/common/services/Decimal';\nimport { UserBonusRewardTypeAggregator } from '@/models/user-bonus-reward-type-aggregator';\nimport { useMultiExchangeRatio } from '@/hooks/multi-exchange-ratio/useMultiExchangeRatio';\nimport { BonusRewardTypeDto } from '@/services/dto/bonus-reward-types';\n\nexport function useBonusRewardTypesAggregators(\n options?: UseBonusRewardTypesAggregatorsProps,\n) {\n const { rewardId } = options ?? {};\n\n const [page, setPage] = useState(1);\n const { getConvertedExchangeRatio } = useMultiExchangeRatio();\n\n const filter: BonusRewardTypeDto = {\n limit: 50,\n page,\n rewardId,\n };\n\n const queryKey: UseBonusRewardTypesAggregatorsQueryKeyProps = [\n BonusRewardTypesQueryKeys.Aggregators,\n filter,\n ];\n\n const { data, isPending, error, refetch } = useQuery<\n PaginatedResponse,\n AxiosError,\n PaginatedResponse,\n UseBonusRewardTypesAggregatorsQueryKeyProps\n >({\n queryKey,\n queryFn: fetchBonusRewardTypesAggregators,\n staleTime: 5 * 1000,\n });\n\n const { fetchNextPage, fetchPreviousPage, setCurrentPage } =\n usePaginatedQuery({\n data,\n page,\n setPage,\n queryParams: {\n rewardId,\n },\n });\n\n const parsedData = useMemo(() => data?.data.flatMap(v => v), [data]);\n\n const totalBonus: Decimal = useMemo(\n () =>\n parsedData?.reduce(\n (prev, bonus) => {\n const convertedAmount = getConvertedExchangeRatio(bonus.amount);\n\n if (convertedAmount.scale != prev.scale) {\n prev = prev\n .copyWith({ options: { scale: convertedAmount.scale } })\n .add(convertedAmount)\n .copyWith({ options: { scale: prev.scale } });\n } else {\n prev.add(convertedAmount);\n }\n\n return prev;\n },\n new Decimal(0, { scale: 2 }),\n ),\n [parsedData, getConvertedExchangeRatio, rewardId],\n );\n\n return {\n bonusRewardTypesStatistics: parsedData,\n totalBonus,\n isLoadingBonusRewardTypesStatistics: isPending,\n errorBonusRewardTypesStatistics: error,\n refetchBonusRewardTypesStatistics: refetch,\n fetchNextPage,\n fetchPreviousPage,\n setCurrentPage,\n };\n}\n","export { useBonusRewardTypesAggregators } from './useBonusRewardTypesAggregators';\n","import { useUserRewardsByReward } from '@/api/user-rewards';\nimport { useSearchParams } from './useSearchParams';\nimport { parseToBigInt } from '@starsoft/common/utils/parsers';\n\nexport function useUserRewardsBySeachParamReward(\n refetchOnMount?: boolean | 'always',\n) {\n const search = useSearchParams();\n const rewardId = search.get('reward-id');\n\n const { userRewards, isLoading, error, refetch, rewards, reward, ...rest } =\n useUserRewardsByReward({\n rewardId: rewardId ? (parseToBigInt(rewardId) as bigint) : undefined,\n refetchOnMount,\n });\n\n return {\n ...rest,\n userRewards,\n rewards,\n reward,\n isLoading,\n error,\n refetch,\n rewardId: reward?.id,\n };\n}\n","import { UserReward } from '@/models/userReward';\nimport { RewardId } from '@/enums/reward-id';\nimport { Coin } from '@starsoft/common/models';\n\nexport function getCoin(userReward?: UserReward): Coin | undefined {\n switch (userReward?.reward?.id) {\n case RewardId.LevelUp:\n return userReward?.levelUp?.coin;\n default:\n return userReward?.earnback?.coin;\n }\n}\n","import { UserRewardStatus } from '@/models/userReward/user-reward-status.enum';\nimport { RewardSubmitButtonProps } from './props';\nimport useTranslation from 'next-translate/useTranslation';\nimport { Button, Counter, ToolTip } from '@starsoft/common/components';\nimport { getContrastColor } from '@/utils/color/getContrastColor';\nimport styles from './styles.module.scss';\nimport { RewardId } from '@/enums/reward-id';\nimport { useIsMobile } from '@starsoft/common/hooks';\nimport { useUserRewardsClaim } from '@/api/user-rewards';\nimport { WalletService } from '@starsoft/common/services';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\n\nexport default function RewardSubmitButton({\n userReward,\n reward,\n countdown,\n dynamicReward,\n isLoading,\n}: RewardSubmitButtonProps) {\n const isMobile = useIsMobile();\n const { claimUserReward, isLoading: isLoadingClaimUserReward } =\n useUserRewardsClaim();\n\n const { t } = useTranslation('bonus');\n const { hours, minutes, seconds, isCounting } = countdown ?? {};\n const isSkeleton =\n !!userReward &&\n userReward?.status === UserRewardStatus.Pending &&\n (isNaN(Number(hours)) || isNaN(Number(minutes)) || isNaN(Number(seconds)));\n\n function getAmount() {\n switch (reward?.id?.toString()) {\n case RewardId.LevelUp.toString():\n return getMoneyOrAmount(userReward?.levelUp?.amount);\n default:\n return getMoneyOrAmount(userReward?.earnback?.amount);\n }\n }\n\n const isLessThanMinimum =\n (getAmount() ?? 0) < getMoneyOrAmount(userReward?.minimum);\n const isDisabled =\n !userReward ||\n (!!userReward && userReward?.status === UserRewardStatus.Pending) ||\n isLessThanMinimum;\n\n function getLabel() {\n switch (userReward?.status) {\n case UserRewardStatus.Pending:\n return t('redeemableAt_description', {\n hours,\n minutes,\n seconds,\n });\n case UserRewardStatus.Claimable:\n return t('claim_label');\n }\n }\n\n function handleRedeemReward() {\n if (!userReward?.id) {\n return;\n }\n\n claimUserReward({ userRewardId: userReward?.id });\n }\n\n if (isCounting) {\n return (\n \n );\n }\n\n if (isLoading) {\n return (\n \n );\n }\n\n return (\n <>\n \n
\n \n {!!userReward && userReward?.status === UserRewardStatus.Pending ? (\n
\n \n {getLabel()}\n
\n ) : (\n getLabel()\n )}\n \n
\n \n {isLessThanMinimum &&\n userReward?.status === UserRewardStatus.Claimable &&\n isMobile && (\n
\n

\n {t('minimum_reward_description', {\n value: WalletService.maskCurrency({\n amount: getMoneyOrAmount(userReward?.minimum),\n coin: dynamicReward?.coin,\n }),\n })}\n

\n
\n )}\n \n );\n}\n","import { RewardId } from '@/enums/reward-id';\n\nexport function getUserRewardKey(\n rewardId?: number | bigint,\n): 'earnback' | 'levelUp' {\n switch (rewardId?.toString()) {\n case RewardId.LevelUp.toString():\n return 'levelUp';\n default:\n return 'earnback';\n }\n}\n","import { getUserRewardKey } from '@/components/Bonus/ClaimRewardModal/Content/Reward/utils/getUserRewardKey';\nimport { UseBonusRewardCardStateProps } from './props';\nimport { LevelUp } from '@/models/userReward/levelUp';\nimport { Earnback } from '@/models/userReward/earnback';\nimport { Rank } from '@/models/rank';\nimport { WalletService } from '@starsoft/common/services';\nimport { useCountdown } from '@starsoft/common/hooks';\nimport { UserRewardStatus } from '@/models/userReward/user-reward-status.enum';\nimport { RankGroupId } from '@/enums/rankGroupId';\nimport { platformAssets } from '@/utils/assets';\nimport useTranslation from 'next-translate/useTranslation';\nimport { QueryClient, useQueryClient } from '@tanstack/react-query';\nimport { UserRewardsQueryKeys } from '@/api/user-rewards/queryKeys';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\n\nexport default function useBonusRewardCardState({\n rewardId,\n userReward,\n}: UseBonusRewardCardStateProps) {\n const { t, lang: language } = useTranslation('common');\n const queryClient: QueryClient = useQueryClient();\n const key: 'levelUp' | 'earnback' = getUserRewardKey(rewardId);\n const dynamicReward: LevelUp | Earnback = userReward?.[key];\n const isLevelUpReward: boolean = key === 'levelUp';\n const rank: Rank | undefined = (dynamicReward as LevelUp)?.rank;\n\n const formattedValue = WalletService.maskCurrency({\n amount: getMoneyOrAmount(dynamicReward?.amount),\n coin: dynamicReward?.coin,\n });\n\n const isDisabled: boolean =\n !userReward ||\n (!!userReward && userReward?.status !== UserRewardStatus.Pending);\n const countdown = useCountdown({\n targetDate: userReward?.redeemableAt as string,\n disabled:\n !userReward ||\n (!!userReward && userReward?.status !== UserRewardStatus.Pending),\n onCountdownComplete: () => {\n if (isDisabled) {\n return;\n }\n queryClient.invalidateQueries({\n queryKey: [\n UserRewardsQueryKeys.ByReward,\n {\n rewardId,\n },\n ],\n });\n },\n });\n\n const { isCounting } = countdown;\n\n const icon = `${process.env.NEXT_PUBLIC_S3_BUCKET_BASE_URL}/icons/bonus/${userReward?.reward?.image}`;\n const title = isLevelUpReward\n ? t('level_up_rank_title', {\n rank_group:\n rank?.group?.id > RankGroupId.DiamondIII\n ? rank?.name?.[language]\n : t(`${rank?.group?.id}_rank_label`),\n })\n : t('earnback_title', {\n app_provider: platformAssets.app,\n reward: t(`bonus:${rewardId}_reward_name`),\n date: Intl.DateTimeFormat('pt-BR', {\n day: '2-digit',\n month: '2-digit',\n }).format(new Date(userReward?.createdAt ?? new Date())),\n });\n\n const description = isLevelUpReward\n ? t('level_up_rank_description', {\n rank: rank?.name?.[language],\n })\n : t('earnback_description', {\n app_provider: platformAssets.app,\n reward: t(`bonus:${rewardId}_reward_name`),\n coin: formattedValue,\n time: isCounting ? '' : t('now'),\n });\n\n const isNegativeRewardAmount = dynamicReward?.amount?.isNegative?.();\n\n return {\n description,\n dynamicReward,\n countdown,\n title,\n icon,\n isLevelUpReward,\n formattedValue,\n isNegativeRewardAmount,\n coin: dynamicReward?.coin,\n };\n}\n","import styles from '../styles.module.scss';\nimport { Image } from '@starsoft/common/components';\nimport skeleton from './styles.module.scss';\nimport RewardSubmitButton from '../../../SubmitButton';\n\nexport default function BonusClaimRewardModalContentRewardCardSkeleton() {\n return (\n
\n \n\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \"coin\"\n
\n
\n
\n
\n
\n \n
\n );\n}\n","import { Transition, Variants } from 'framer-motion';\n\nexport const transition: Transition = {\n ease: 'easeInOut',\n duration: 0.25,\n};\n\nexport const variants: Variants = {\n exit: {\n x: -100,\n opacity: 0,\n transition,\n },\n};\n","import { BonusClaimRewardModalContentRewardCardProps } from './props';\nimport styles from './styles.module.scss';\nimport { Image } from '@starsoft/common/components';\nimport RewardSubmitButton from '../../SubmitButton';\nimport useBonusRewardCardState from '@/hooks/bonus/useBonusRewardCardState';\nimport BonusClaimRewardModalContentRewardCardSkeleton from './Skeleton';\nimport { memo } from 'react';\nimport { LevelUp } from '@/models/userReward/levelUp';\nimport { m } from 'framer-motion';\nimport { variants } from './varitants';\n\nfunction BonusClaimRewardModalContentRewardCard({\n isLoading,\n userReward,\n rewardId,\n}: BonusClaimRewardModalContentRewardCardProps) {\n const {\n description,\n dynamicReward,\n icon,\n isLevelUpReward,\n formattedValue,\n title,\n countdown,\n isNegativeRewardAmount,\n } = useBonusRewardCardState({ userReward, rewardId });\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n {isLevelUpReward && (\n \n )}\n
\n
{title}
\n
{description}
\n
\n \n \n {formattedValue}\n
\n
\n
\n \n \n );\n}\n\nexport default memo(BonusClaimRewardModalContentRewardCard);\n","import { useUserRewardsBySeachParamReward } from '@/hooks/useUserRewardsBySearchParamReward';\nimport styles from './styles.module.scss';\nimport { useInfiniteScroll } from '@starsoft/common/hooks';\nimport { useMemo } from 'react';\nimport BonusClaimRewardModalContentRewardCard from './Card';\nimport { ErrorCard } from '@starsoft/common/components';\nimport { AnimatePresence } from 'framer-motion';\nimport { parseToBigInt } from '@starsoft/common/utils/parsers';\n\nexport default function ClaimRewardModalContentRewardCards() {\n const {\n rewardId,\n userRewards,\n isFetchingNextPage,\n isLoading,\n fetchNextPage,\n error,\n refetch,\n hasNextPage,\n } = useUserRewardsBySeachParamReward();\n\n const { ref } = useInfiniteScroll({\n hasMore: hasNextPage,\n isLoading: isFetchingNextPage || isLoading,\n loadMore() {\n fetchNextPage();\n },\n });\n\n const Cards = useMemo(\n () =>\n userRewards?.map(userReward => (\n \n )),\n [userRewards, rewardId],\n );\n\n const Skeletons = useMemo(\n () =>\n Array.from({ length: 10 })?.map((_, index) => (\n \n )),\n [],\n );\n\n if (error) {\n return (\n
\n \n
\n );\n }\n\n return (\n
\n \n {isLoading && Skeletons}\n {Cards}\n {isFetchingNextPage && Skeletons}\n \n
\n );\n}\n","export const circles = [\n { cx: 66, cy: 67, r: 48 },\n { cx: 81.01, cy: 412.99, r: 63.01 },\n { cx: 970.01, cy: 82.01, r: 63.01 },\n { cx: 649, cy: 255, r: 63.01 },\n { cx: 151, cy: 255, r: 24 },\n { cx: 898, cy: 436.99, r: 24 },\n { cx: 702, cy: 294.01, r: 24 },\n { cx: 373, cy: 401, r: 24 },\n { cx: 349, cy: 169.03, r: 48 },\n];\n","import { useMemo } from 'react';\nimport { BubblesProps } from './props';\nimport { circles } from './circles';\nimport styles from './styles.module.scss';\n\nexport default function Bubbles({ color }: BubblesProps) {\n const max = 60;\n const min = 30;\n\n const Circles = useMemo(\n () =>\n circles.map((c, idx) => {\n const getRandomTranslate = (isOdd: boolean) => {\n const random = Math.floor(Math.random() * (max - min + 1) + min);\n\n if (isOdd) {\n return random * -1;\n }\n\n return random;\n };\n\n return (\n \n );\n }),\n [color],\n );\n\n return (\n
\n \n {Circles}\n \n
\n );\n}\n","import styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function BonusClaimRewardModalContentHeaderSkeleton() {\n return (\n
\n
\n
\n
\n
\n
\n
\n );\n}\n","import Bubbles from '@/components/Bonus/Bubbles';\nimport { BonusClaimRewardModalContentHeaderProps } from './props';\nimport styles from './styles.module.scss';\nimport { ErrorCard, Image } from '@starsoft/common/components';\nimport useTranslation from 'next-translate/useTranslation';\nimport BonusClaimRewardModalContentHeaderSkeleton from './Skeleton';\nimport useBonusRewardCardState from '@/hooks/bonus/useBonusRewardCardState';\nimport { useBonusRewardTypesAggregators } from '@/api/bonus-reward-type/queries';\nimport { WalletService } from '@starsoft/common/services';\nimport { useMultiExchangeRatio } from '@/hooks/multi-exchange-ratio/useMultiExchangeRatio';\n\nexport default function BonusClaimRewardModalContentHeader({\n reward,\n rewardId,\n isLoading,\n userReward,\n}: BonusClaimRewardModalContentHeaderProps) {\n const { t } = useTranslation('bonus');\n const { currentCoin } = useMultiExchangeRatio();\n const { description } = useBonusRewardCardState({\n userReward,\n rewardId,\n });\n\n const {\n errorBonusRewardTypesStatistics,\n totalBonus,\n refetchBonusRewardTypesStatistics,\n isLoadingBonusRewardTypesStatistics,\n } = useBonusRewardTypesAggregators({\n rewardId: rewardId?.toString(),\n });\n\n if (isLoadingBonusRewardTypesStatistics || isLoading) {\n return ;\n }\n\n if (errorBonusRewardTypesStatistics) {\n return (\n \n );\n }\n\n return (\n
\n \n
\n

{description}

\n
\n

{t('received_rewards')}

\n
\n {WalletService.maskCurrency({\n amount: totalBonus,\n coin: currentCoin,\n })}\n
\n
\n
\n \n
\n );\n}\n","import { useUserRewardsBySeachParamReward } from '@/hooks/useUserRewardsBySearchParamReward';\nimport { RewardId } from '@/enums/reward-id';\nimport useTranslation from 'next-translate/useTranslation';\nimport { getCoin } from './utils/getCoin';\nimport styles from './styles.module.scss';\nimport Color from 'color';\nimport { ErrorCard } from '@starsoft/common/components';\nimport ClaimRewardModalContentRewardCards from './Cards';\nimport BonusClaimRewardModalContentHeader from './Header';\nimport { UserReward } from '@/models/userReward';\nimport { Coin } from '@starsoft/common/models';\nimport { useEffect, useState } from 'react';\nimport { Nullable } from '@starsoft/common/interfaces';\nimport { WalletService } from '@starsoft/common/services';\nimport { parseToBigInt } from '@starsoft/common/utils/parsers';\nimport { getMoneyOrAmount } from '@starsoft/common/utils';\n\nexport default function ClaimReward() {\n const { t } = useTranslation('bonus');\n const { error, refetch, rewardId, userRewards, isLoading } =\n useUserRewardsBySeachParamReward('always');\n const [userReward, setUserReward] = useState>(null);\n const coin: Coin | undefined = getCoin(userReward);\n\n function onFetchRewards() {\n if (!userRewards?.[0]) {\n return;\n }\n\n setUserReward(userRewards?.[0]);\n }\n\n useEffect(onFetchRewards, [userRewards, isLoading]);\n\n if (error) {\n return ;\n }\n\n return (\n \n
\n \n \n {rewardId?.toString() !== RewardId.LevelUp.toString() && (\n \n {t('minimun_to_claim')}:\n \n {WalletService.maskCurrency({\n amount: getMoneyOrAmount(userReward?.minimum),\n coin: coin,\n })}\n \n \n )}\n
\n
\n );\n}\n","import ClaimReward from './Reward';\nimport styles from './styles.module.scss';\n\nexport default function ClaimRewardModalContent() {\n return (\n
\n \n
\n );\n}\n","import { useModal } from '@/hooks/modals/useModal';\nimport ClaimRewardModalLayout from './Layout';\nimport { RewardId } from '@/enums/reward-id';\nimport useTranslation from 'next-translate/useTranslation';\nimport ClaimRewardModalContent from './Content';\nimport { ModalsKey } from '@/enums/modalsKey';\nimport { useSearchParams } from '@/hooks/useSearchParams';\nimport { ModalHeader } from '@starsoft/common/components';\nimport { parseToBigInt } from '@starsoft/common/utils/parsers';\nimport { ModalWithVersion } from '@/components/core/Modal/WithVersion';\n\nexport default function ClaimRewardModal() {\n const { t } = useTranslation('bonus');\n const { handleContainer, isOpen, onClose, setSearchParams } = useModal(\n ModalsKey.ClaimReward,\n );\n const search = useSearchParams();\n const rewardId = search.get('reward-id');\n\n return (\n \n \n \n );\n}\n","export namespace RankGroupId {\n export const Iron = 1n;\n export const Bronze = 2n;\n export const Silver = 3n;\n export const Gold = 4n;\n export const Ruby = 5n;\n export const Esmerald = 6n;\n export const Diamond = 7n;\n export const DiamondII = 8n;\n export const DiamondIII = 9n;\n}\n\nexport type RankGroupType = (typeof RankGroupId)[keyof typeof RankGroupId];\n","import { useWalletsMe } from '@/api/wallets';\nimport { MultiExchangeRateSnapshot } from '@/models/multi-exchange-rate-snapshots';\nimport { Decimal } from '@starsoft/common/services/Decimal';\nimport { useCallback } from 'react';\n\nexport function useMultiExchangeRatio() {\n const { wallet } = useWalletsMe();\n const currentCoin = wallet?.currentAccount?.coin;\n\n const getConvertedExchangeRatio = useCallback(\n (exchange: MultiExchangeRateSnapshot) => {\n if (!currentCoin || !exchange.convertedAmounts) {\n return new Decimal(0, { scale: 2 });\n }\n\n const amount = exchange.convertedAmounts[currentCoin.code];\n\n return amount;\n },\n [currentCoin],\n );\n\n return {\n getConvertedExchangeRatio,\n currentCoin,\n };\n}\n","export enum UserRewardStatus {\n Pending = 'pending',\n Claimable = 'claimable',\n Claimed = 'claimed',\n Expired = 'expired',\n}\n","import styles from '../styles.module.scss';\nimport skeleton from './styles.module.scss';\n\nexport default function CounterSkeleton() {\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
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n}\n","import styles from './styles.module.scss';\nimport { CounterProps } from './props';\nimport CounterSekeleton from './Skeleton';\nimport { useTranslation } from '../../hooks';\n\n/**\n * Component that renders a countdown timer with days, hours, minutes and seconds\n * Can be customized to show/hide days and hours, use smaller size, and different background color\n *\n * @component\n * @param {Object} props - Component props\n * @param {boolean} props.isLoading - Whether to show loading skeleton state\n * @param {Object} props.countdown - Object containing countdown values\n * @param {number} props.countdown.days - Number of days remaining\n * @param {number} props.countdown.hours - Number of hours remaining\n * @param {number} props.countdown.minutes - Number of minutes remaining\n * @param {number} props.countdown.seconds - Number of seconds remaining\n * @param {boolean} props.isSmall - Whether to use smaller size styling\n * @param {boolean} props.hideDays - Whether to hide the days counter\n * @param {boolean} props.hideHours - Whether to hide the hours counter\n * @param {boolean} props.isContainerColor - Whether to use container background color\n * @returns {JSX.Element} Countdown timer display with configurable units\n */\nexport function Counter({\n isLoading,\n countdown,\n isSmall,\n hideDays,\n hideHours,\n isContainerColor,\n}: CounterProps) {\n const { t } = useTranslation('tournaments');\n const { days, hours, minutes, seconds } = countdown;\n\n // Show loading skeleton if isLoading is true\n if (isLoading) {\n return ;\n }\n\n return (\n \n {!hideDays && (\n
\n \n {days}\n
\n \n {t('tournaments:days')}\n
\n
\n )}\n {!hideHours && (\n
\n \n {hours}\n
\n \n {t('tournaments:hours')}\n
\n
\n )}\n
\n \n {minutes}\n
\n \n {t('tournaments:minutes')}\n
\n
\n
\n \n {seconds}\n
\n \n {t('tournaments:seconds')}\n
\n
\n
\n );\n}\n","import { useCallback, useEffect, useRef, useState } from 'react';\nimport { UseInfiniteScrollProps } from './props';\nimport { debounce } from 'lodash';\n\n/**\n * Custom hook to implement infinite scrolling functionality within a container.\n * It listens to the scroll event and triggers a callback to load more content\n * when the user scrolls near the bottom of the container.\n *\n * @param {UseInfiniteScrollProps} props - The properties for the infinite scroll hook.\n * @param {boolean} props.hasMore - Indicates if there are more items to load.\n * @param {boolean} props.isLoading - Indicates if a loading operation is currently in progress.\n * @param {Function} props.loadMore - The function to call to load more items.\n * @param {boolean} [props.condition=true] - An additional condition to check before loading more items.\n * @param {boolean} [props.reverse=false] - If true, loads more items when scrolled to the top.\n *\n * @returns {Object} - An object containing a ref to attach to the scrollable container and a boolean indicating if the scroll is at the bottom.\n * @returns {React.RefObject} ref - A ref to attach to the scrollable container.\n * @returns {boolean} isAtBottom - A boolean indicating if the scroll is at the bottom of the container.\n *\n * Example usage:\n * const { ref, isAtBottom } = useInfiniteScroll({\n * hasMore: true,\n * isLoading: false,\n * loadMore: () => fetchMoreItems(),\n * condition: true,\n * reverse: false,\n * });\n */\nexport function useInfiniteScroll({\n hasMore,\n isLoading,\n loadMore,\n condition = true,\n reverse = false,\n}: UseInfiniteScrollProps) {\n // Reference to the scrollable container element\n const ref = useRef(null);\n // State to track the distance from the bottom of the container\n const [distanceBottom, setDistanceBottom] = useState(0);\n // State to track if the scroll is at the bottom of the container\n const [isAtBottom, setIsAtBottom] = useState(false);\n\n /**\n * Memoized scroll event listener that checks if more content should be loaded.\n * It uses lodash's debounce to limit the rate at which the function is called.\n */\n const scrollListener = useCallback(\n debounce(() => {\n if (ref && ref.current) {\n const scrollTop = ref?.current?.scrollTop;\n const bottom = ref.current?.scrollHeight - ref.current?.clientHeight;\n\n // Set the distance from the bottom if not already set\n if (!distanceBottom) {\n setDistanceBottom(Math.round(bottom * 0.2));\n }\n\n // Load more items if scrolled to the top and conditions are met\n if (scrollTop === 0 && hasMore && !isLoading && condition && reverse) {\n loadMore();\n }\n\n // Load more items if scrolled near the bottom and conditions are met\n if (\n scrollTop > bottom - distanceBottom &&\n hasMore &&\n !isLoading &&\n condition &&\n !reverse\n ) {\n loadMore();\n }\n\n // Update the isAtBottom state based on scroll position\n if (scrollTop > bottom - distanceBottom) {\n setIsAtBottom(true);\n } else {\n setIsAtBottom(false);\n }\n }\n }, 100),\n [hasMore, loadMore, isLoading, distanceBottom, reverse, condition, ref],\n );\n\n /**\n * Effect hook to add the scroll event listener when the component mounts\n * and remove it when the component unmounts.\n */\n useEffect(() => {\n if (!(ref && ref?.current)) {\n return;\n }\n const element = ref?.current;\n\n // Add scroll event listener\n element?.addEventListener('scroll', scrollListener);\n // Cleanup function to remove the event listener\n return () => {\n element?.removeEventListener('scroll', scrollListener);\n };\n }, [scrollListener, ref]);\n\n // Return the ref to the scrollable container and the isAtBottom state\n return {\n ref,\n isAtBottom,\n };\n}\n\nexport type { UseInfiniteScrollProps };\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__kxYLT\",\"container__circle\":\"styles_container__circle__tN6i_\",\"moveBubbles\":\"styles_moveBubbles__i7PKM\",\"skeleton-animation\":\"styles_skeleton-animation__Chf0Y\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"styles_title__7q8Vm\",\"description\":\"styles_description__RwbID\",\"icon\":\"styles_icon__KSwJd\",\"value\":\"styles_value__sqBSu\",\"skeleton-animation\":\"styles_skeleton-animation__TxloL\",\"description__wrapper\":\"styles_description__wrapper__hAbBx\",\"description--half\":\"styles_description--half__GNon9\",\"spacer\":\"styles_spacer__MjJYo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card\":\"styles_card__RggvA\",\"card__icon\":\"styles_card__icon__Yd_fE\",\"card__column\":\"styles_card__column__j99vc\",\"card__column__title\":\"styles_card__column__title__2E5V_\",\"card__column__description\":\"styles_card__column__description__QDmwV\",\"card__column__coin__chip\":\"styles_card__column__coin__chip__Lr7nx\",\"card__column__coin__label\":\"styles_card__column__coin__label__cSW00\",\"card__column__coin__label--negative\":\"styles_card__column__coin__label--negative__cVPgK\",\"skeleton-animation\":\"styles_skeleton-animation__Kzpqu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__sSbvb\",\"skeleton-animation\":\"styles_skeleton-animation__2cZZd\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"date\":\"styles_date__dPmuM\",\"label\":\"styles_label__rDJHc\",\"value\":\"styles_value__76FOP\",\"skeleton-animation\":\"styles_skeleton-animation__wHjIe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card\":\"styles_card__wofAp\",\"card__label\":\"styles_card__label__3mPFs\",\"card__icon\":\"styles_card__icon__y7AGf\",\"card__description\":\"styles_card__description__oKuVn\",\"card__column\":\"styles_card__column__fVijN\",\"card__column__date\":\"styles_card__column__date__JOvdW\",\"card__column__wrapper\":\"styles_card__column__wrapper__2vJ7E\",\"card__column__value\":\"styles_card__column__value__lj1Ie\",\"skeleton-animation\":\"styles_skeleton-animation__eMA2z\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"row\":\"styles_row__CjfNC\",\"row__tooltip\":\"styles_row__tooltip__XkU1D\",\"button\":\"styles_button__ipUMn\",\"skeleton-animation\":\"styles_skeleton-animation__TdQDA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__HHAKb\",\"container__card\":\"styles_container__card__pwQ5V\",\"container__column\":\"styles_container__column__Q7KOG\",\"container__form\":\"styles_container__form__ELSMs\",\"container__form__icon\":\"styles_container__form__icon__T0Fxf\",\"container__form__description\":\"styles_container__form__description__RVLXN\",\"container__form__text\":\"styles_container__form__text__xisfJ\",\"container__form__text--primary\":\"styles_container__form__text--primary__e0mpn\",\"skeleton-animation\":\"styles_skeleton-animation__uWwEB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__eaCKi\",\"skeleton-animation\":\"styles_skeleton-animation__YEKOl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"styles_label__Gcci0\",\"value\":\"styles_value__so5Ue\",\"skeleton-animation\":\"styles_skeleton-animation__RQcPX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"row\":\"styles_row__OnWJ6\",\"row__wrapper\":\"styles_row__wrapper__32m8q\",\"row__wrapper__card\":\"styles_row__wrapper__card__23V0j\",\"row--container-color\":\"styles_row--container-color__Fv6qc\",\"row--small\":\"styles_row--small__hKrLW\",\"row--hide-days\":\"styles_row--hide-days__VgYT_\",\"row--hide-hours\":\"styles_row--hide-hours__qOCUf\",\"row__wrapper__card--small\":\"styles_row__wrapper__card--small__VQFdA\",\"row__wrapper__label\":\"styles_row__wrapper__label__6J2Uo\",\"row__wrapper__label--small\":\"styles_row__wrapper__label--small__HFGhz\",\"skeleton-animation\":\"styles_skeleton-animation__KCvR0\"};"],"names":["Symbol","root","module","exports","__webpack_require__","getRawTag","objectToString","symToStringTag","toStringTag","undefined","value","Object","trimmedEndIndex","reTrimStart","string","slice","replace","freeGlobal","g","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","isOwn","call","tag","unmasked","e","result","freeSelf","self","Function","reWhitespace","index","length","test","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timeSinceLastInvoke","timerExpired","timeWaiting","trailingEdge","setTimeout","debounced","isInvoking","arguments","clearTimeout","cancel","flush","type","baseGetTag","isObjectLike","Date","baseTrim","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary","fetchBonusRewardTypesAggregators","param","queryKey","page","limit","rewardId","response","baseAPI","get","params","data","useBonusRewardTypesAggregators","setPage","useState","getConvertedExchangeRatio","useMultiExchangeRatio","BonusRewardTypesQueryKeys","Aggregators","isPending","error","refetch","useQuery","queryFn","staleTime","fetchNextPage","fetchPreviousPage","setCurrentPage","usePaginatedQuery","queryParams","parsedData","useMemo","flatMap","v","totalBonus","reduce","prev","bonus","convertedAmount","amount","scale","copyWith","add","Decimal","bonusRewardTypesStatistics","isLoadingBonusRewardTypesStatistics","errorBonusRewardTypesStatistics","refetchBonusRewardTypesStatistics","useUserRewardsBySeachParamReward","refetchOnMount","search","useSearchParams","userRewards","isLoading","rewards","reward","rest","useUserRewardsByReward","parseToBigInt","id","RewardSubmitButton","getAmount","userReward","countdown","dynamicReward","isMobile","useIsMobile","claimUserReward","isLoadingClaimUserReward","useUserRewardsClaim","t","useTranslation","hours","minutes","seconds","isCounting","isSkeleton","status","UserRewardStatus","Pending","isNaN","Number","isLessThanMinimum","RewardId","LevelUp","getMoneyOrAmount","levelUp","earnback","minimum","isDisabled","getLabel","Claimable","jsx_runtime","jsx","Counter","isSmall","hideDays","hideHours","Button","useMaxContent","jsxs","Fragment","ToolTip","visible","titleComponent","WalletService","maskCurrency","coin","div","onClick","userRewardId","isloading","isSecondary","disabled","color","textColor","getContrastColor","className","styles","i","concat","p","useBonusRewardCardState","rank","lang","language","queryClient","useQueryClient","key","isLevelUpReward","formattedValue","useCountdown","targetDate","redeemableAt","onCountdownComplete","invalidateQueries","UserRewardsQueryKeys","ByReward","icon","process","image","title","rank_group","group","RankGroupId","DiamondIII","name","app_provider","platformAssets","app","date","Intl","DateTimeFormat","day","month","format","createdAt","description","isNegativeRewardAmount","isNegative","BonusClaimRewardModalContentRewardCardSkeleton","Image","width","height","preload","alt","secondarySkeleton","skeleton","variants","exit","x","opacity","transition","ease","duration","Card","memo","_dynamicReward_rank_group","_dynamicReward_rank","m","src","ClaimRewardModalContentRewardCards","isFetchingNextPage","hasNextPage","ref","useInfiniteScroll","hasMore","loadMore","Cards","map","BonusClaimRewardModalContentRewardCard","Skeletons","Array","from","_","ErrorCard","AnimatePresence","circles","cx","cy","r","Bubbles","Circles","c","idx","circle","style","getRandomTranslate","random","floor","fill","svg","data-name","xmlns","viewBox","BonusClaimRewardModalContentHeaderSkeleton","BonusClaimRewardModalContentHeader","currentCoin","ClaimReward","setUserReward","useEffect","Color","trim","darken","alpha","span","ClaimRewardModalContent","ClaimRewardModal","handleContainer","isOpen","onClose","setSearchParams","useModal","ModalsKey","ModalWithVersion","condition","LuckyWheel","modal","Iron","Bronze","Silver","Gold","Ruby","Esmerald","Diamond","DiamondII","wallet","useWalletsMe","currentAccount","useCallback","exchange","convertedAmounts","code","CounterSkeleton","isContainerColor","days","CounterSekeleton","reverse","useRef","distanceBottom","setDistanceBottom","isAtBottom","setIsAtBottom","scrollListener","debounce","current","scrollTop","bottom","scrollHeight","clientHeight","round","element","addEventListener","removeEventListener"],"sourceRoot":""}