{"version":3,"file":"static/chunks/hiloSession-12a1c1b70d975561.js","sources":["webpack://_N_E/./src/LegacyApp/client/components/card/card.style.ts","webpack://_N_E/./src/common/components/default/NextImage/NextImage.tsx","webpack://_N_E/./src/common/components/default/NextImage/publicSrcLoader.ts","webpack://_N_E/./src/common/components/default/NextImage/cdnLoader.ts","webpack://_N_E/./src/LegacyApp/client/components/card/card.tsx","webpack://_N_E/./src/modules/games/HiloGame/DecisionIcon/DecisionIcon.styled.js","webpack://_N_E/./src/modules/games/HiloGame/DecisionIcon/DecisionIcon.jsx","webpack://_N_E/./public/img/hilo/black.svg","webpack://_N_E/./public/img/hilo/black-color.svg","webpack://_N_E/./public/img/hilo/red.svg","webpack://_N_E/./public/img/hilo/red-color.svg","webpack://_N_E/./public/img/hilo/high.svg","webpack://_N_E/./public/img/hilo/high-color.svg","webpack://_N_E/./public/img/hilo/low.svg","webpack://_N_E/./public/img/hilo/low-color.svg","webpack://_N_E/./public/img/hilo/letter.svg","webpack://_N_E/./public/img/hilo/letter-color.svg","webpack://_N_E/./public/img/hilo/number.svg","webpack://_N_E/./public/img/hilo/number-color.svg","webpack://_N_E/./public/img/hilo/lose.svg","webpack://_N_E/./src/modules/games/HiloGame/HiloSession/hiloSessionElement.style.js","webpack://_N_E/./src/modules/games/HiloGame/HiloSession/hiloSessionElement.jsx","webpack://_N_E/./src/modules/games/HiloGame/HiloSession/hiloSession.style.js","webpack://_N_E/./src/modules/games/HiloGame/HiloSession/hiloSession.jsx","webpack://_N_E/./public/img/hilo/skip.svg"],"sourceRoot":"","sourcesContent":["import styled, { css, keyframes } from 'styled-components';\nimport { rgba } from 'polished';\nimport { parseImageSrc } from '@common/components/default/Image/Image';\nimport { borderRadius } from '../../modules/style/defaults';\n\nconst skipOpacity = 0.6;\n\nconst IMAGE_SRC = {\n\tBACK: '/img/cards/back.webp',\n};\n\nconst getBackground = (props) => {\n\tif (props.skip) {\n\t\treturn rgba('#fff', skipOpacity);\n\t}\n\treturn '#fff';\n};\n\nconst getColor = (props) => {\n\tif (props.red) {\n\t\treturn props.theme.colors.negative;\n\t}\n\treturn '#000';\n};\n\nconst getBack = (props) => {\n\tif (!props.back) {\n\t\treturn '';\n\t}\n\treturn css`\n\t\tborder: 5px solid #fff;\n\t\tposition: relative;\n\n\t\t&:before,\n\t\t&:after {\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tcontent: '';\n\t\t\tdisplay: block;\n\t\t\tfloat: left;\n\t\t\theight: 100%;\n\t\t\tposition: absolute;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t&:before {\n\t\t\tbackground-image: url(${parseImageSrc(IMAGE_SRC.BACK)}) !important;\n\t\t\tbackground-position: center top;\n\t\t\tbackground-size: cover !important;\n\t\t\t${props.skip ? `opacity: ${skipOpacity};` : ''}\n\t\t}\n\n\t\t&:after {\n\t\t\tbackground-image: url(${parseImageSrc('/img/logo-vertical.svg')});\n\t\t\tbackground-position: 50% 92%;\n\t\t\tbackground-size: 45%;\n\t\t}\n\n\t\t* {\n\t\t\tvisibility: hidden;\n\t\t}\n\t`;\n};\n\nconst FlipCard = (props) => keyframes`\n    0% {\n      transform: rotateY(180deg) scale(1) translateY(0);\n      background-image: url(${parseImageSrc(IMAGE_SRC.BACK)});\n      background-position: center;\n      background-repeat: no-repeat;\n      background-size: cover;\n      background-color: ${props.theme.colors.inputButton};\n      border: 5px solid #fff;\n    }\n    49% {\n      box-shadow: 0 5px 8px -4px #000;\n      transform: rotateY(91deg) scale(1.1) translateY(-12px);\n      background-image: url(${parseImageSrc(IMAGE_SRC.BACK)});\n      background-position: center;\n      background-repeat: no-repeat;\n      background-size: cover;\n      background-color: ${props.theme.colors.inputButton};\n      border: 5px solid #fff;\n    }\n    50% {\n      box-shadow: 0 5px 8px -4px #000;\n      transform: rotateY(90deg) scale(1.1) translateY(-12px);\n      background-color: #fff;\n      background-image: none;\n      border: none;\n    }\n    100% {\n      transform: rotateY(0deg) scale(1) translateY(0);\n    }\n`;\n\nconst HalfAnimationHidden = keyframes`\n  0% {\n    visibility: hidden;\n  }\n  49% {\n    visibility: hidden;\n  }\n  50% {\n    visibility: visible;\n  }\n  100% {\n    visibility: visible;\n  }\n`;\n\ninterface CardStyleProps {\n\tsmall?: boolean;\n\tskip?: boolean;\n\trotate?: boolean;\n\tnoAnimation?: boolean;\n\tclassName?: string;\n\tred?: boolean;\n\tback?: boolean;\n}\n\nexport const CardStyle = styled.div.attrs<CardStyleProps>({\n\tclassName: 'card',\n})<CardStyleProps>`\n\t${borderRadius};\n\tbackground-color: ${(props) => getBackground(props)};\n\theight: ${(props) =>\n\t\tprops.small\n\t\t\t? props.theme.layout.card.smallHeight\n\t\t\t: props.theme.layout.card.height};\n\twidth: ${(props) =>\n\t\tprops.small\n\t\t\t? props.theme.layout.card.smallWidth\n\t\t\t: props.theme.layout.card.width};\n\tcolor: ${(props) => getColor(props)};\n\tposition: relative;\n\n\t${(props) =>\n\t\tprops.skip\n\t\t\t? css`\n\t\t\t\t\t[class*='card'],\n\t\t\t\t\t[class*='card'] * {\n\t\t\t\t\t\topacity: ${skipOpacity};\n\t\t\t\t\t}\n\t\t\t  `\n\t\t\t: ''}\n\n\t${getBack}\n\n  ${(props) =>\n\t\tprops.rotate && !props.noAnimation\n\t\t\t? css`\n\t\t\t\t\tanimation: ${FlipCard} 0.45s ease-in-out 1;\n\n\t\t\t\t\t*,\n\t\t\t\t\t&:before,\n\t\t\t\t\t&:after {\n\t\t\t\t\t\tanimation: ${HalfAnimationHidden} 0.45s ease-in-out 1;\n\t\t\t\t\t}\n\t\t\t  `\n\t\t\t: ''}\n\n  ${(props) =>\n\t\tprops.small\n\t\t\t? css`\n\t\t\t\t\tborder: 2px solid #fff !important;\n\t\t\t\t\t${props.skip ? 'border-color: transparent!important;' : ''}\n\n\t\t\t\t\t.card__symbol {\n\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t}\n\t\t\t  `\n\t\t\t: ''}\n`;\n\ninterface CardSymbolStyleProps {\n\tbottom: boolean;\n\tsmall: boolean;\n}\n\nexport const CardSymbolStyle = styled.div.attrs<CardSymbolStyleProps>({\n\tclassName: 'card__symbol',\n})<CardSymbolStyleProps>`\n\tposition: absolute;\n\t${(props) =>\n\t\tprops.bottom\n\t\t\t? css`\n\t\t\t\t\tbottom: 0;\n\t\t\t\t\tright: 0;\n\t\t\t\t\ttransform: rotate(180deg);\n\t\t\t  `\n\t\t\t: css`\n\t\t\t\t\tleft: 0;\n\t\t\t\t\ttop: 0;\n\t\t\t  `};\n\tpadding: 4px;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tfont-size: 25px;\n\tline-height: 1.3;\n\n\t${(props) =>\n\t\tprops.small\n\t\t\t? css`\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\tpadding: 0;\n\t\t\t  `\n\t\t\t: ''}\n`;\n\nexport const StyledCardImage = styled.div<{\n\tskip: boolean;\n\t$value: string;\n}>`\n\tdisplay: block;\n\tfloat: left;\n\theight: 100%;\n\t${(props) => (props.skip ? `opacity: ${skipOpacity};` : '')}\n\tposition: absolute;\n\twidth: 100%;\n\n\t> span {\n\t\theight: 100% !important;\n\t\t${(props) => (props.skip ? `opacity: ${skipOpacity};!important` : '')}\n\n\t\t* {\n\t\t\t${(props) => (props.skip ? `opacity: ${skipOpacity};!important` : '')}\n\t\t}\n\t}\n\n\timg {\n\t\theight: ${(props) =>\n\t\t\tprops.$value === 'Q'\n\t\t\t\t? '80%'\n\t\t\t\t: props.$value === 'J'\n\t\t\t\t? '75%'\n\t\t\t\t: props.$value === 'K'\n\t\t\t\t? '82%'\n\t\t\t\t: props.$value === 'A'\n\t\t\t\t? '55%'\n\t\t\t\t: ''}!important;\n\t\tmax-height: unset !important;\n\t\tmax-width: unset !important;\n\t\tmin-height: unset !important;\n\t\tmin-width: unset !important;\n\t\twidth: unset !important;\n\t}\n`;\n","import NextImageComponent, { ImageProps } from 'next/image';\nimport { FC } from 'react';\nimport { NEXT_CONFIG } from '@common/constants/config/nextConfig';\nimport { publicSrcLoader } from './publicSrcLoader';\nimport { cdnLoader } from './cdnLoader';\n\nexport type NextImageProps = ImageProps;\n\nconst loader = NEXT_CONFIG.PUBLIC_SRC\n\t? publicSrcLoader\n\t: NEXT_CONFIG.CLOUD_LOADER\n\t? cdnLoader\n\t: undefined;\n\nexport const NextImage: FC<NextImageProps> = (props) => {\n\tif (props.src && props.src[0] !== '/') {\n\t\tprops.src = `/${props.src}`;\n\t}\n\treturn <NextImageComponent loader={loader} {...props} />;\n};\n","import { parseImageSrc } from '../Image/Image';\nimport { NextImageProps } from './NextImage';\n\nexport const publicSrcLoader: NextImageProps['loader'] = ({ src }) =>\n\tparseImageSrc(src);\n","import { NextImageProps } from './NextImage';\n\nexport const cdnLoader: NextImageProps['loader'] = ({\n\tsrc,\n\twidth,\n\tquality,\n}) => {\n\treturn `/cdn?url=${src}&w=${width}&q=${quality || 75}&auto=format`;\n};\n","import React, {\n\tFC,\n\tPropsWithChildren,\n\tuseCallback,\n\tuseEffect,\n\tuseState,\n} from 'react';\nimport classnames from 'classnames';\nimport { NextImage } from '@common/components/default/NextImage/NextImage';\nimport {\n\tgetColorFromCardCode,\n\tgetValueFromCardCode,\n\tisRedCard,\n} from '../../modules/app/cardsService';\nimport { theme } from '../../modules/style/theme';\nimport { usePrevious } from '../../../hooks/render/usePrevious';\nimport { CardStyle, CardSymbolStyle, StyledCardImage } from './card.style';\n\nconst Card: FC<\n\tPropsWithChildren<{\n\t\tcode: string;\n\t\tsmall?: boolean;\n\t\tnoAnimation?: boolean;\n\t\tclassName?: string;\n\t\tskip?: boolean;\n\t}>\n> = (props) => {\n\tconst [value, setValue] = useState(getValueFromCardCode(props.code));\n\tconst [color, setColor] = useState(getColorFromCardCode(props.code));\n\tconst [isRed, setIsRed] = useState(isRedCard(props.code));\n\tconst [rotate, setRotate] = useState(false);\n\n\tconst prevRotate = usePrevious(rotate);\n\tconst prevCode = usePrevious(props.code);\n\n\tconst _setValue = useCallback(\n\t\t(code) => {\n\t\t\tconst _value = getValueFromCardCode(code);\n\t\t\tif (value !== _value) {\n\t\t\t\tsetValue(_value);\n\t\t\t}\n\t\t},\n\t\t[value],\n\t);\n\n\tconst _setColor = useCallback(\n\t\t(code) => {\n\t\t\tconst _color = getColorFromCardCode(code);\n\t\t\tif (color !== _color) {\n\t\t\t\tsetColor(_color);\n\t\t\t\tsetIsRed(isRedCard(code));\n\t\t\t}\n\t\t},\n\t\t[color],\n\t);\n\n\tconst _setRotate = useCallback(() => {\n\t\tif (!rotate) {\n\t\t\tsetRotate(true);\n\t\t}\n\t}, [rotate]);\n\n\tuseEffect(() => {\n\t\tif (rotate && !prevRotate) {\n\t\t\tsetTimeout(\n\t\t\t\t() => {\n\t\t\t\t\tsetRotate(false);\n\t\t\t\t},\n\t\t\t\tprops.noAnimation ? 500 : 1000,\n\t\t\t);\n\t\t}\n\t}, [prevRotate, props.noAnimation, rotate]);\n\n\tuseEffect(() => {\n\t\tif (props.code !== prevCode) {\n\t\t\tif (!prevCode) {\n\t\t\t\t_setRotate();\n\t\t\t}\n\t\t\t_setColor(props.code);\n\t\t\t_setValue(props.code);\n\t\t}\n\t}, [_setColor, _setRotate, _setValue, prevCode, props.code]);\n\n\treturn (\n\t\t<CardStyle\n\t\t\tnoAnimation={props.noAnimation}\n\t\t\tdata-value={value || 0}\n\t\t\tdata-color={color}\n\t\t\tskip={props.skip}\n\t\t\tred={isRed}\n\t\t\trotate={(rotate && !props.noAnimation) || undefined}\n\t\t\tback={!props.code || (rotate && props.noAnimation)}\n\t\t\tsmall={props.small}\n\t\t\tclassName={classnames(props.className)}\n\t\t>\n\t\t\t<CardSymbolStyle small={props.small} bottom={false}>\n\t\t\t\t<span className=\"card__symbol--value\">{value}</span>\n\t\t\t\t<span className=\"card__symbol--color\">{color}</span>\n\t\t\t</CardSymbolStyle>\n\t\t\t<CardSymbolStyle small={props.small} bottom={true}>\n\t\t\t\t<span className=\"card__symbol--value\">{value}</span>\n\t\t\t\t<span className=\"card__symbol--color\">{color}</span>\n\t\t\t</CardSymbolStyle>\n\t\t\t{['J', 'Q', 'K', 'A'].indexOf(value) > -1 && (\n\t\t\t\t<StyledCardImage $value={value} skip={props.skip}>\n\t\t\t\t\t<NextImage\n\t\t\t\t\t\twidth={206}\n\t\t\t\t\t\theight={471}\n\t\t\t\t\t\tsizes={\n\t\t\t\t\t\t\tprops.small\n\t\t\t\t\t\t\t\t? '50px'\n\t\t\t\t\t\t\t\t: `(max-width: ${theme.media.maxWidthTablet}), 140px`\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlayout={'responsive'}\n\t\t\t\t\t\tsrc={`/img/cards/${value}.webp`}\n\t\t\t\t\t\talt={value}\n\t\t\t\t\t/>\n\t\t\t\t</StyledCardImage>\n\t\t\t)}\n\t\t\t{props.children}\n\t\t</CardStyle>\n\t);\n};\n\nexport default Card;\n","import styled from 'styled-components';\nimport { borderRadius } from '@legacyApp/client/modules/style/defaults';\nimport { fontSize } from '@legacyApp/client/modules/style/mixins/fontSize';\nimport { BetState } from '@modules/games/Game/store/game/@types/PlaceBetResponse';\n\nconst getIconBackgroundColor = (props) => {\n\tswitch (props.$status) {\n\t\tcase BetState.LOSE:\n\t\t\treturn props.theme.colors.negative;\n\t\tcase BetState.WIN:\n\t\t\treturn props.theme.colors.positive;\n\t\tcase 'skip':\n\t\t\treturn props.theme.colors.grey;\n\t\tdefault:\n\t\t\treturn props.$noRule ? props.theme.colors.inputBackgroundActive : '';\n\t}\n};\n\nexport const StyledGameDecisionIcon = styled.div.attrs({\n\tclassName: 'game-decision-icon',\n})`\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tflex-direction: column;\n\theight: 55px;\n\twidth: 50px;\n\t${borderRadius};\n\tbackground-color: ${(props) => props.theme.colors.inputBackgroundActive};\n\n\timg {\n\t\twidth: 50%;\n\t\tmargin-bottom: 3px;\n\t\tmax-height: 40%;\n\t\tmargin-top: 3px;\n\t}\n\n\ti,\n\tsvg {\n\t\t${fontSize({\n\t\t\tsize: '12px',\n\t\t\tsizeDesktop: '14px',\n\t\t\timportant: true,\n\t\t})}\n\t}\n\n\tbackground-color: ${getIconBackgroundColor};\n`;\n\nexport const StyledGameDecisionIconText = styled.div.attrs({\n\tclassName: 'game-decision-icon__text',\n})`\n\tdisplay: inline-block;\n\tpadding-top: 3px;\n\t${fontSize({\n\t\tsize: '9px',\n\t\tsizeDesktop: '11px',\n\t\timportant: true,\n\t})};\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { faBan } from '@fortawesome/free-solid-svg-icons';\nimport { getHiloStatus } from '@legacyApp/client/modules/app/hiloService';\nimport { enhanceComponent } from '@legacyApp/client/wrappers/enhanceComponent';\nimport { Image } from '@common/components/default/Image/Image';\nimport { AwesomeIcon } from '@common/components/icons/AwesomeIcon';\nimport skipIcon from '../../../../../public/img/hilo/skip.svg';\nimport black from '../../../../../public/img/hilo/black.svg';\nimport blackColor from '../../../../../public/img/hilo/black-color.svg';\nimport red from '../../../../../public/img/hilo/red.svg';\nimport redColor from '../../../../../public/img/hilo/red-color.svg';\nimport high from '../../../../../public/img/hilo/high.svg';\nimport highColor from '../../../../../public/img/hilo/high-color.svg';\nimport low from '../../../../../public/img/hilo/low.svg';\nimport lowColor from '../../../../../public/img/hilo/low-color.svg';\nimport letter from '../../../../../public/img/hilo/letter.svg';\nimport letterColor from '../../../../../public/img/hilo/letter-color.svg';\nimport number from '../../../../../public/img/hilo/number.svg';\nimport numberColor from '../../../../../public/img/hilo/number-color.svg';\nimport lose from '../../../../../public/img/hilo/lose.svg';\nimport {\n\tStyledGameDecisionIcon,\n\tStyledGameDecisionIconText,\n} from './DecisionIcon.styled';\n\nclass DecisionIcon extends React.PureComponent {\n\tstatic propTypes = {\n\t\trule: PropTypes.string,\n\t\tcolor: PropTypes.bool,\n\t\ttext: PropTypes.any,\n\t\tstatus: PropTypes.number,\n\t};\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\ticons: {\n\t\t\t\tblack,\n\t\t\t\tblackColor,\n\t\t\t\tred,\n\t\t\t\tredColor,\n\t\t\t\thigh,\n\t\t\t\thighColor,\n\t\t\t\tlow,\n\t\t\t\tlowColor,\n\t\t\t\tletter,\n\t\t\t\tletterColor,\n\t\t\t\tnumber,\n\t\t\t\tnumberColor,\n\t\t\t\tlose,\n\t\t\t},\n\t\t};\n\t}\n\n\tgetIcon = (rule) => {\n\t\tif (!rule) {\n\t\t\treturn <AwesomeIcon icon={faBan} />;\n\t\t}\n\t\tswitch (rule) {\n\t\t\tcase 'skip': {\n\t\t\t\treturn <Image src={skipIcon} alt=\"skip\" />;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tconst src = this.state.icons[\n\t\t\t\t\t`${rule}${this.props.color ? 'Color' : ''}`\n\t\t\t\t]\n\t\t\t\t\t? this.state.icons[`${rule}${this.props.color ? 'Color' : ''}`]\n\t\t\t\t\t: `img/hilo/${rule}${this.props.color ? '-color' : ''}.svg`;\n\t\t\t\treturn <Image src={src} alt={rule} />;\n\t\t\t}\n\t\t}\n\t};\n\n\trender() {\n\t\tconst { text, rule, status } = this.props;\n\t\tconst noRule = rule === undefined;\n\n\t\treturn (\n\t\t\t<StyledGameDecisionIcon $status={getHiloStatus(status)} $noRule={noRule}>\n\t\t\t\t{this.getIcon(rule)}\n\t\t\t\t{this.props.text && (\n\t\t\t\t\t<StyledGameDecisionIconText>{text}</StyledGameDecisionIconText>\n\t\t\t\t)}\n\t\t\t</StyledGameDecisionIcon>\n\t\t);\n\t}\n}\n\nDecisionIcon = enhanceComponent({\n\tDecisionIcon,\n});\n\nexport { DecisionIcon };\n","export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNC45MyAxNy4yIiBoZWlnaHQ9IjE1IiB3aWR0aD0iMTUiPgoJPGRlZnM+CgkJPHN0eWxlPi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iIHJ4PSIwLjI0IgoJCQkJCQl0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjA1IC0xLjI2KSByb3RhdGUoNDUpIi8+CgkJPC9nPgoJPC9nPgo8L3N2Zz4K\"","import styled, { css } from 'styled-components';\nimport {\n\tborderRadius,\n\tcutTextStyle,\n} from '@legacyApp/client/modules/style/defaults';\nimport { fontSize } from '@legacyApp/client/modules/style/mixins/fontSize';\nimport { calcStyle } from '@legacyApp/client/modules/style/methods/calcStyle';\nimport { BetState } from '@modules/games/Game/store/game/@types/PlaceBetResponse';\n\nexport const HiloSessionElementStyle = styled.div.attrs(() => ({\n\tclassName: 'game-session__element',\n}))`\n\tmargin-right: 10px;\n\twidth: ${(props) => props.theme.layout.card.smallWidth};\n\tdisplay: inline-block;\n\t/*float: left;*/\n\n\t&:last-of-type {\n\t\tmargin-right: 0 !important;\n\t}\n\n\t.game-decision-icon {\n\t\theight: 25px;\n\t\twidth: 25px;\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\ttransform: translateY(-50%);\n\t\tleft: -16.66px;\n\t\tcolor: ${(props) => props.theme.colors.text}!important;\n\t\tz-index: 1;\n\t}\n\n\t${(props) => css`\n\t\t.content-tablet &,\n\t\t.content-tabletSmall &,\n\t\t.content-mobile &,\n\t\t.content-mobileSmall & {\n\t\t\twidth: ${calcStyle({\n\t\t\t\ta: props.theme.layout.card.smallWidth,\n\t\t\t\tb: 0.9,\n\t\t\t\tmode: '*',\n\t\t\t})};\n\t\t}\n\t`}\n\n\t.device-tablet &,\n\t.device-tabletSmall &,\n  \t.device-mobile &,\n  \t.device-mobileSmall & {\n\t\tmargin-right: 10px !important;\n\n\t\t@media (max-height: 560px) {\n\t\t\tposition: relative;\n\t\t}\n\t}\n\n\t.device-mobileSmall & {\n\t\twidth: 40px;\n\t}\n`;\n\nconst getValueColor = (props) => {\n\tif (props.status === BetState.LOSE) {\n\t\treturn props.theme.colors.negative;\n\t}\n\tif (props.status === BetState.WIN) {\n\t\treturn props.theme.colors.positive;\n\t}\n\tif (props.status === 'skip') {\n\t\treturn props.theme.colors.grey;\n\t}\n\treturn props.theme.colors.inputBackgroundActive;\n};\n\nexport const HiloSessionElementValueStyle = styled.div.attrs(() => ({\n\tclassName: 'game-session__element--value text-style-sm-medium',\n}))`\n\t${borderRadius}\n\t${cutTextStyle}\n    ${fontSize({\n\t\tsize: '10px',\n\t\tsizeDesktop: '12px',\n\t\timportant: true,\n\t})}\n    text-align: center;\n\tpadding: 1px 2px;\n\tmargin-top: 2px;\n\tbackground-color: ${getValueColor};\n\n\t.device-tablet &,\n\t.device-tabletSmall &,\n\t.device-mobile &,\n\t.device-mobileSmall & {\n\t\t@media (max-height: 560px) {\n\t\t\tposition: absolute;\n\t\t\tbottom: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t.device-mobileSmall & {\n\t\tfont-size: 9px !important;\n\t\tpadding: 0 1px;\n\t}\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { getCardById } from '@legacyApp/client/modules/app/cardsService';\nimport { trans } from '@legacyApp/client/modules/translation/translate';\nimport { getHiloStatus } from '@legacyApp/client/modules/app/hiloService';\nimport { getPayoutDecimal } from '@legacyApp/client/modules/app/gameService';\nimport { enhanceComponent } from '@legacyApp/client/wrappers/enhanceComponent';\nimport { isTrueOrZero } from '@common/methods/isTrueOrZero';\nimport { roundNumber } from '@common/methods/roundNumber/roundNumber';\nimport { GameType } from '@modules/games/Game/constants/availableGames';\nimport { DecisionIcon } from '../DecisionIcon/DecisionIcon';\nimport Card from '../../../../LegacyApp/client/components/card/card';\nimport {\n\tHiloSessionElementStyle,\n\tHiloSessionElementValueStyle,\n} from './hiloSessionElement.style';\n\nclass HiloSessionElement extends React.PureComponent {\n\tstatic propTypes = {\n\t\tdata: PropTypes.any,\n\t};\n\n\trender() {\n\t\treturn (\n\t\t\t<HiloSessionElementStyle>\n\t\t\t\t<Card\n\t\t\t\t\tskip={this.props.data.rule === 'skip'}\n\t\t\t\t\tnoAnimation\n\t\t\t\t\tsmall\n\t\t\t\t\tcode={getCardById(this.props.data.result_value)}\n\t\t\t\t>\n\t\t\t\t\t{isTrueOrZero(this.props.data.rule) && (\n\t\t\t\t\t\t<DecisionIcon\n\t\t\t\t\t\t\trule={this.props.data.rule}\n\t\t\t\t\t\t\tstatus={this.props.data.status}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</Card>\n\t\t\t\t{isTrueOrZero(this.props.data.status) && (\n\t\t\t\t\t<HiloSessionElementValueStyle\n\t\t\t\t\t\tstatus={getHiloStatus(this.props.data.status)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.props.data.sub_nonce === 'start'\n\t\t\t\t\t\t\t? trans({ label: 'Start' })\n\t\t\t\t\t\t\t: parseFloat(this.props.data.multiplier)\n\t\t\t\t\t\t\t? `x${roundNumber(\n\t\t\t\t\t\t\t\t\tthis.props.data.multiplier,\n\t\t\t\t\t\t\t\t\tgetPayoutDecimal(GameType.HILO),\n\t\t\t\t\t\t\t  )}`\n\t\t\t\t\t\t\t: trans({ label: 'Lost' })}\n\t\t\t\t\t</HiloSessionElementValueStyle>\n\t\t\t\t)}\n\t\t\t</HiloSessionElementStyle>\n\t\t);\n\t}\n}\n\nHiloSessionElement = enhanceComponent({\n\tHiloSessionElement,\n});\n\nexport { HiloSessionElement };\n","import styled, { css } from 'styled-components';\nimport { calcStyle } from '@legacyApp/client/modules/style/methods/calcStyle';\nimport { chatViewport } from '@legacyApp/client/modules/style/methods/chatViewport';\n\nexport const HiloSessionStyle = styled.div.attrs({\n\tclassName: 'game-session',\n})`\n\toverflow-x: auto;\n\toverflow-y: hidden;\n\tpadding: 13px;\n\twhite-space: nowrap;\n\twidth: ${(props) => (props.static ? '100%!important' : '80%')};\n\n\t${(props) =>\n\t\tprops.static\n\t\t\t? css`\n\t\t\t\t\tmargin: 0 !important;\n\t\t\t\t\tposition: static !important;\n\t\t\t\t\ttop: unset !important;\n\t\t\t  `\n\t\t\t: ''}\n\n\t.content-tablet &,\n  .content-tabletSmall &,\n  .content-mobile &,\n  .content-mobileSmall & {\n\t\tposition: fixed;\n\t\ttop: 100px;\n\n\t\t.card {\n\t\t\theight: ${(props) =>\n\t\t\t\tcalcStyle({\n\t\t\t\t\ta: props.theme.layout.card.smallHeight,\n\t\t\t\t\tb: 0.9,\n\t\t\t\t\tmode: '*',\n\t\t\t\t})};\n\t\t\twidth: ${(props) =>\n\t\t\t\tcalcStyle({\n\t\t\t\t\ta: props.theme.layout.card.smallWidth,\n\t\t\t\t\tb: 0.9,\n\t\t\t\t\tmode: '*',\n\t\t\t\t})};\n\t\t}\n\t}\n\n\t.device-tablet &,\n\t.device-tabletSmall &,\n\t.device-mobile &,\n\t.device-mobileSmall & {\n\t\tborder: none;\n\t\tborder-radius: 0;\n\t\tmargin: 0;\n\t\tpadding: 4px 5px !important;\n\t\ttop: 55px;\n\t\twidth: 100vw;\n\n\t\t.card {\n\t\t\t.game-decision-icon {\n\t\t\t\tbox-shadow: 0 0 7px 2px #000;\n\t\t\t\theight: 15px;\n\t\t\t\tleft: -15.5px;\n\t\t\t\twidth: 15px;\n\n\t\t\t\ti,\n\t\t\t\tsvg {\n\t\t\t\t\tfont-size: 12px !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t@media (max-height: 560px) {\n\t\t\t.card {\n\t\t\t\theight: 50px;\n\n\t\t\t\t&[data-value='J'],\n\t\t\t\t&[data-value='Q'],\n\t\t\t\t&[data-value='K'] {\n\t\t\t\t\t&:before {\n\t\t\t\t\t\tbackground-position: 50% -50%;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t&[data-value='A'] {\n\t\t\t\t\t&:before {\n\t\t\t\t\t\tbackground-position: 50% 350%;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t&__symbol {\n\t\t\t\t\tfont-size: 9px;\n\n\t\t\t\t\t&:nth-of-type(2) {\n\t\t\t\t\t\tdisplay: none;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.content-tablet.device-desktop &,\n\t.content-tabletSmall.device-desktop &,\n\t.content-mobile.device-desktop &,\n\t.content-mobileSmall.device-desktop & {\n\t\tmargin: 20px 0;\n\t\tposition: static;\n\t\ttop: 30px;\n\t\twidth: 100%;\n\t}\n\n\t.device-mobileSmall & {\n\t\ttop: 70px;\n\n\t\t.card {\n\t\t\theight: 35px;\n\t\t\twidth: 100%;\n\n\t\t\t&__symbol {\n\t\t\t\tfont-size: 9px;\n\t\t\t\tline-height: 1.2;\n\n\t\t\t\t&:nth-of-type(2) {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.game-decision-icon {\n\t\t\t\theight: 15px;\n\t\t\t\tleft: -10px;\n\t\t\t\twidth: 15px;\n\n\t\t\t\ti,\n\t\t\t\tsvg {\n\t\t\t\t\tfont-size: 12px !important;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t${chatViewport(\n\t\t(viewportPadding) => css`\n\t\t\t@media (max-width: ${calcStyle({ a: '1050px', b: viewportPadding })}) {\n\t\t\t\tpadding: 7px;\n\t\t\t}\n\t\t`,\n\t)}\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport { getCardId } from '@legacyApp/client/modules/app/cardsService';\nimport { enhanceComponent } from '@legacyApp/client/wrappers/enhanceComponent';\nimport { isFunction } from '@common/methods/isFunction';\nimport { isTrueOrZero } from '@common/methods/isTrueOrZero';\nimport transactionService from '../../../transactions/transactionsService';\nimport { HiloSessionElement } from './hiloSessionElement';\nimport { HiloSessionStyle } from './hiloSession.style';\n\nclass HiloSession extends React.PureComponent {\n\tstatic propTypes = {\n\t\tsession: PropTypes.any,\n\t\tactiveCard: PropTypes.any,\n\t\tinitial: PropTypes.any,\n\t\tstatic: PropTypes.bool,\n\t\tclassName: PropTypes.string,\n\t\tdisabledAnimations: PropTypes.bool,\n\t\tnoScroll: PropTypes.bool,\n\t};\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tsession: [],\n\t\t};\n\t\tthis.timeout = null;\n\t\tthis.scrollTimeout = null;\n\t\tthis.box = React.createRef();\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.setState({ session: this.props.session });\n\t\tif (this.state.session && this.state.session.length) {\n\t\t\tthis.scroll();\n\t\t}\n\t}\n\n\tcomponentDidUpdate(prevProps) {\n\t\t// logStateChange(prevProps, this.props, 'props', 'hiloSession.jsx');\n\t\t// logStateChange(prevState, this.state, 'state', 'hiloSession.jsx');\n\t\tconst isSessionChanged = transactionService.isListDifferent(\n\t\t\tthis.props.session,\n\t\t\tprevProps.session,\n\t\t\t['bet_value', 'result_value', 'sub_nonce'],\n\t\t);\n\t\tconst isSessionLengthChanged =\n\t\t\t(this.props.session &&\n\t\t\t\tprevProps.session &&\n\t\t\t\tthis.props.session.length !== prevProps.session.length) ||\n\t\t\t(this.props.session && !prevProps.session);\n\t\tif (isSessionLengthChanged) {\n\t\t\tthis.scroll();\n\t\t}\n\n\t\tif (isSessionChanged) {\n\t\t\tthis.setSession();\n\t\t}\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis.clearTimeout();\n\t\tthis.clearScrollTimeout();\n\t}\n\n\tclearTimeout() {\n\t\tif (this.timeout) {\n\t\t\tclearTimeout(this.timeout);\n\t\t}\n\t}\n\n\tclearScrollTimeout() {\n\t\tif (this.scrollTimeout) {\n\t\t\tclearTimeout(this.scrollTimeout);\n\t\t}\n\t}\n\n\tsetSession = () => {\n\t\tconst timeout =\n\t\t\t!this.props.session ||\n\t\t\t!this.props.session.length ||\n\t\t\tthis.props.disabledAnimations\n\t\t\t\t? 0\n\t\t\t\t: 400;\n\t\tthis.clearTimeout();\n\t\tthis.timeout = setTimeout(() => {\n\t\t\tthis.setState({\n\t\t\t\tsession: this.props.session,\n\t\t\t});\n\t\t}, timeout);\n\t};\n\n\tgetInitialCard = (id) => ({\n\t\tresult_value: id,\n\t\tsub_nonce: 'start',\n\t\tstatus: 1,\n\t});\n\n\tscroll = () => {\n\t\t// console.log('scroll!');\n\t\tif (this.props.noScroll) {\n\t\t\treturn;\n\t\t}\n\t\tthis.clearScrollTimeout();\n\t\tthis.scrollTimeout = setTimeout(() => {\n\t\t\tif (\n\t\t\t\t!this.box ||\n\t\t\t\t!this.box.current ||\n\t\t\t\t!isFunction(this.box.current.scroll)\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.box.current.scroll({\n\t\t\t\tleft: this.box.current.scrollWidth - this.box.current.clientWidth,\n\t\t\t\tbehavior: 'smooth',\n\t\t\t});\n\t\t}, 600);\n\t};\n\n\trender() {\n\t\t// console.log(this.state);\n\t\t// console.log(this.props);\n\t\tconst session =\n\t\t\tisTrueOrZero(this.state.session) && isTrueOrZero(this.props.initial)\n\t\t\t\t? [this.getInitialCard(this.props.initial), ...this.state.session]\n\t\t\t\t: isTrueOrZero(this.props.session) && this.props.session.length\n\t\t\t\t? this.props.session\n\t\t\t\t: [this.getInitialCard(getCardId(this.props.activeCard))];\n\t\treturn (\n\t\t\t<HiloSessionStyle\n\t\t\t\tstatic={this.props.static}\n\t\t\t\tref={this.box}\n\t\t\t\tname=\"cards-session\"\n\t\t\t\tclassName={classnames('overflow-scrollbar', {\n\t\t\t\t\t[this.props.className]: this.props.className,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{session.map((el) => (\n\t\t\t\t\t<HiloSessionElement key={el.sub_nonce} data={el} />\n\t\t\t\t))}\n\t\t\t</HiloSessionStyle>\n\t\t);\n\t}\n}\n\nHiloSession = enhanceComponent({\n\tHiloSession,\n});\n\nexport default HiloSession;\n","export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNSIgaGVpZ2h0PSIxNSIgd2lkdGg9IjE1Ij4KCTxkZWZzPgoJCTxzdHlsZT4uY2xzLTF7ZmlsbDojZmZmO2ZpbGwtcnVsZTpldmVub2RkO308L3N0eWxlPgoJPC9kZWZzPgoJPHRpdGxlPnNraXA8L3RpdGxlPgoJPGcgaWQ9IkxheWVyXzIiIGRhdGEtbmFtZT0iTGF5ZXIgMiI+CgkJPGcgaWQ9Ikljb25zIj4KCQkJPHBhdGggY2xhc3M9ImNscy0xIgoJCQkJCQlkPSJNMTYsNy41M0gxMy44NmEzLjIzLDMuMjMsMCwwLDEtMy4yMSwzLjIzSDQuMjJWOC42MUwwLDExLjgzLDQuMjIsMTVWMTIuODVoNi40M0E1LjM1LDUuMzUsMCwwLDAsMTYsNy41MyIvPgoJCQk8cGF0aCBjbGFzcz0iY2xzLTEiCgkJCQkJCWQ9Ik0xNiwzLjE3LDExLjc4LDBWMi4wOUg1LjM1QTUuMzYsNS4zNiwwLDAsMCwwLDcuNDd2LjA2SDIuMTRWNy40N0EzLjIzLDMuMjMsMCwwLDEsNS4zNSw0LjI0aDYuNDNWNi4zOUwxNiwzLjE3Ii8+CgkJPC9nPgoJPC9nPgo8L3N2Zz4K\""],"names":["skipOpacity","IMAGE_SRC","FlipCard","props","keyframes","parseImageSrc","theme","colors","inputButton","HalfAnimationHidden","CardStyle","styled","className","borderRadius","skip","rgba","getBackground","small","layout","card","smallHeight","height","smallWidth","width","red","negative","getColor","css","back","rotate","noAnimation","CardSymbolStyle","bottom","StyledCardImage","$value","loader","NEXT_CONFIG","src","quality","undefined","NextImage","useState","getValueFromCardCode","code","value","setValue","getColorFromCardCode","color","setColor","isRedCard","isRed","setIsRed","setRotate","prevRotate","usePrevious","prevCode","_setValue","useCallback","_value","_setColor","_color","_setRotate","useEffect","setTimeout","classnames","indexOf","sizes","alt","children","StyledGameDecisionIcon","inputBackgroundActive","fontSize","size","sizeDesktop","important","$status","BetState","positive","grey","$noRule","StyledGameDecisionIconText","DecisionIcon","rule","AwesomeIcon","icon","faBan","Image","skipIcon","state","icons","black","blackColor","redColor","high","highColor","low","lowColor","letter","letterColor","number","numberColor","lose","this","text","status","noRule","getHiloStatus","getIcon","React","enhanceComponent","HiloSessionElementStyle","calcStyle","a","b","mode","HiloSessionElementValueStyle","cutTextStyle","HiloSessionElement","data","getCardById","result_value","isTrueOrZero","sub_nonce","trans","label","parseFloat","multiplier","roundNumber","getPayoutDecimal","GameType","HiloSessionStyle","chatViewport","viewportPadding","HiloSession","timeout","session","length","disabledAnimations","clearTimeout","setState","id","noScroll","clearScrollTimeout","scrollTimeout","box","current","isFunction","scroll","left","scrollWidth","clientWidth","behavior","prevProps","isSessionChanged","transactionService","setSession","initial","getInitialCard","getCardId","activeCard","static","ref","name","map","el"],"mappings":";;uNAKMA,EAAc,GAEdC,EACC,uBAuDDC,EAAW,SAACC,GAAD,OAAWC,EAAAA,EAAAA,IAAV,CAAD,+nBAGaC,EAAAA,EAAAA,IAAcJ,GAIlBE,EAAMG,MAAMC,OAAOC,aAMfH,EAAAA,EAAAA,IAAcJ,GAIlBE,EAAMG,MAAMC,OAAOC,cAevCC,GAAsBL,EAAAA,EAAAA,IAAH,oGAyBZM,EAAYC,EAAAA,GAAAA,IAAAA,MAAiC,CACzDC,UAAW,SADU,4DAAGD,CAAH,8FAGnBE,EAAAA,IACkB,SAACV,GAAD,OAjHC,SAACA,GACtB,OAAIA,EAAMW,MACFC,EAAAA,EAAAA,IAAK,OAAQf,GAEd,OA6GwBgB,CAAcb,MACnC,SAACA,GAAD,OACTA,EAAMc,MACHd,EAAMG,MAAMY,OAAOC,KAAKC,YACxBjB,EAAMG,MAAMY,OAAOC,KAAKE,UACnB,SAAClB,GAAD,OACRA,EAAMc,MACHd,EAAMG,MAAMY,OAAOC,KAAKG,WACxBnB,EAAMG,MAAMY,OAAOC,KAAKI,SACnB,SAACpB,GAAD,OAnHO,SAACA,GACjB,OAAIA,EAAMqB,IACFrB,EAAMG,MAAMC,OAAOkB,SAEpB,OA+GaC,CAASvB,MAG3B,SAACA,GAAD,OACDA,EAAMW,MACHa,EAAAA,E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