heroes-of-chess-components 0.5.70 → 0.5.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/dist/lib/HocComponents/HLogin/HLogin.styled.ts +9 -5
  2. package/dist/lib/HocComponents/HLogin/HLogin.tsx +1 -1
  3. package/dist/lib/HocComponents/HLogin/types.d.ts +1 -1
  4. package/dist/lib/HocComponents/HTabs/HTabs.styled.ts +8 -6
  5. package/dist/lib/HocComponents/HTabs/HTabs.tsx +2 -2
  6. package/dist/lib/HocComponents/HTabs/types.d.ts +2 -2
  7. package/dist/lib/HocComponents/HToggleButton/HToggleButton.styled.ts +17 -11
  8. package/dist/lib/HocComponents/HToggleButton/HToggleButton.tsx +4 -4
  9. package/dist/lib/HocComponents/HToggleButton/types.d.ts +3 -3
  10. package/dist/lib/HocComponents/HToggleButtonCustom/HCustomToggle.styled.ts +20 -15
  11. package/dist/lib/HocComponents/HToggleButtonCustom/HToggleButtonCustom.tsx +4 -4
  12. package/dist/lib/HocComponents/HToggleButtonCustom/types.d.ts +4 -4
  13. package/dist/lib/assets/HocLogos/Titans.svg +25 -25
  14. package/dist/lib/assets/HocLogos/logoCircular.svg +21 -21
  15. package/dist/lib/assets/HocLogos/logoLogin.svg +28 -28
  16. package/dist/lib/assets/HocLogos/shieldWithLogo.svg +33 -33
  17. package/dist/lib/assets/Icons/ui/accountsConsole.svg +17 -17
  18. package/dist/lib/assets/Icons/ui/addIcon.svg +10 -10
  19. package/dist/lib/assets/Icons/ui/aiChessGameConsole.svg +25 -25
  20. package/dist/lib/assets/Icons/ui/backArrow.svg +10 -10
  21. package/dist/lib/assets/Icons/ui/bankLogo.svg +9 -9
  22. package/dist/lib/assets/Icons/ui/battle.svg +20 -20
  23. package/dist/lib/assets/Icons/ui/bugIcon.svg +13 -13
  24. package/dist/lib/assets/Icons/ui/calendar.svg +23 -23
  25. package/dist/lib/assets/Icons/ui/calendarToggle1.svg +15 -15
  26. package/dist/lib/assets/Icons/ui/calendarToggle2.svg +16 -16
  27. package/dist/lib/assets/Icons/ui/clientConsole.svg +16 -16
  28. package/dist/lib/assets/Icons/ui/coin.svg +36 -36
  29. package/dist/lib/assets/Icons/ui/coinConsole.svg +15 -15
  30. package/dist/lib/assets/Icons/ui/connectCustomer.svg +17 -17
  31. package/dist/lib/assets/Icons/ui/correctAnswer.svg +9 -9
  32. package/dist/lib/assets/Icons/ui/couponConsole.svg +10 -10
  33. package/dist/lib/assets/Icons/ui/delete.svg +17 -17
  34. package/dist/lib/assets/Icons/ui/diamond.svg +83 -83
  35. package/dist/lib/assets/Icons/ui/eventConsole.svg +13 -13
  36. package/dist/lib/assets/Icons/ui/financialConsole.svg +17 -17
  37. package/dist/lib/assets/Icons/ui/frame.svg +9 -9
  38. package/dist/lib/assets/Icons/ui/gameConsole.svg +16 -16
  39. package/dist/lib/assets/Icons/ui/gameRoomConsole.svg +26 -26
  40. package/dist/lib/assets/Icons/ui/group.svg +19 -19
  41. package/dist/lib/assets/Icons/ui/hamburger.svg +18 -18
  42. package/dist/lib/assets/Icons/ui/noticeConsole.svg +20 -20
  43. package/dist/lib/assets/Icons/ui/notification.svg +17 -17
  44. package/dist/lib/assets/Icons/ui/physicGameConsole.svg +30 -30
  45. package/dist/lib/assets/Icons/ui/profile.svg +17 -17
  46. package/dist/lib/assets/Icons/ui/profileConsole.svg +10 -10
  47. package/dist/lib/assets/Icons/ui/queen.svg +13 -13
  48. package/dist/lib/assets/Icons/ui/queenActive.svg +23 -23
  49. package/dist/lib/assets/Icons/ui/racer.svg +17 -17
  50. package/dist/lib/assets/Icons/ui/ranking.svg +27 -27
  51. package/dist/lib/assets/Icons/ui/rewardsQRConsole.svg +30 -30
  52. package/dist/lib/assets/Icons/ui/rotateScreen.svg +37 -37
  53. package/dist/lib/assets/Icons/ui/scannerQR.svg +23 -23
  54. package/dist/lib/assets/Icons/ui/searchIcon.svg +10 -10
  55. package/dist/lib/assets/Icons/ui/settings.svg +12 -12
  56. package/dist/lib/assets/Icons/ui/shieldWithLogo.svg +33 -33
  57. package/dist/lib/assets/Icons/ui/signOut.svg +17 -17
  58. package/dist/lib/assets/Icons/ui/star.svg +3 -3
  59. package/dist/lib/assets/Icons/ui/statistics.svg +13 -13
  60. package/dist/lib/assets/Icons/ui/store.svg +12 -12
  61. package/dist/lib/assets/Icons/ui/storeItems.svg +16 -16
  62. package/dist/lib/assets/Icons/ui/storeMenu.svg +25 -25
  63. package/dist/lib/assets/Icons/ui/storeProductConsole.svg +20 -20
  64. package/dist/lib/assets/Icons/ui/storePurchased.svg +15 -15
  65. package/dist/lib/assets/Icons/ui/tournamentConsole.svg +12 -12
  66. package/dist/lib/assets/Icons/ui/tournamentConsoleHandle.svg +12 -12
  67. package/dist/lib/assets/Icons/ui/type3d.svg +14 -14
  68. package/dist/lib/assets/Icons/ui/type3dYellow.svg +23 -23
  69. package/dist/lib/assets/Icons/ui/typeCharacters.svg +14 -14
  70. package/dist/lib/assets/Icons/ui/typeCharactersYellow.svg +23 -23
  71. package/dist/lib/assets/Icons/ui/typeVr.svg +18 -18
  72. package/dist/lib/assets/Icons/ui/typeVrYellow.svg +23 -23
  73. package/dist/lib/assets/Icons/ui/wrongAnswer.svg +542 -542
  74. package/dist/lib/assets/aiCharacters/defaultFrame.svg +9 -9
  75. package/dist/lib/assets/bank/bankCoins.svg +14 -14
  76. package/dist/lib/assets/bank/bankFrame.svg +355 -355
  77. package/dist/lib/assets/bank/bankMiei.svg +547 -547
  78. package/dist/lib/assets/bank/verticalToggleBank1.svg +9 -9
  79. package/dist/lib/assets/bank/verticalToggleBank2.svg +10 -10
  80. package/dist/lib/assets/games/cardMemory.svg +9 -9
  81. package/dist/lib/assets/groupRanking/ballGreen.svg +15 -15
  82. package/dist/lib/assets/groupRanking/ballRed.svg +15 -15
  83. package/dist/lib/assets/groupRanking/ballThunder.svg +19 -19
  84. package/dist/lib/assets/groupRanking/ballWater.svg +15 -15
  85. package/dist/lib/assets/groupRanking/ballYellow.svg +5 -5
  86. package/dist/lib/assets/groupRanking/knightIcon.svg +17 -17
  87. package/dist/lib/assets/groupRanking/puzzleIcon.svg +45 -45
  88. package/dist/lib/assets/groupRanking/stormIcon.svg +229 -229
  89. package/dist/lib/assets/groupRanking/streakIcon.svg +94 -94
  90. package/dist/lib/assets/groupRanking/targetIcon.svg +19 -19
  91. package/dist/lib/assets/groupRanking/verticalFlag.svg +94 -94
  92. package/dist/lib/assets/notifications/birthday-icon.svg +18 -18
  93. package/dist/lib/assets/notifications/elo-down.svg +20 -20
  94. package/dist/lib/assets/notifications/elo-up.svg +20 -20
  95. package/dist/lib/assets/notifications/finish-tournament.svg +12 -12
  96. package/dist/lib/assets/notifications/general-earn-coin.svg +21 -21
  97. package/dist/lib/assets/notifications/general-earn-diamond.svg +27 -27
  98. package/dist/lib/assets/notifications/general-lose-coin.svg +21 -21
  99. package/dist/lib/assets/notifications/general-lose-diamond.svg +27 -27
  100. package/dist/lib/assets/notifications/level-up.svg +20 -20
  101. package/dist/lib/assets/notifications/new-notice.svg +18 -18
  102. package/dist/lib/assets/notifications/newStore.svg +15 -15
  103. package/dist/lib/assets/notifications/pet-evolution.svg +22 -22
  104. package/dist/lib/assets/notifications/roulette.svg +22 -22
  105. package/dist/lib/assets/notifications/store-action.svg +22 -22
  106. package/dist/lib/assets/notifications/ticket-point.svg +17 -17
  107. package/dist/lib/assets/notifications/vr gastar.svg +21 -21
  108. package/dist/lib/assets/physicGames/Ludo.svg +190 -190
  109. package/dist/lib/assets/physicGames/addIcon.svg +25 -25
  110. package/dist/lib/assets/physicGames/battleship.svg +873 -873
  111. package/dist/lib/assets/physicGames/drawModal.svg +9 -9
  112. package/dist/lib/assets/physicGames/errorSubmit.svg +9 -9
  113. package/dist/lib/assets/physicGames/frameFlag.svg +410 -410
  114. package/dist/lib/assets/physicGames/gold.svg +9 -9
  115. package/dist/lib/assets/physicGames/gold2.svg +9 -9
  116. package/dist/lib/assets/physicGames/gold3.svg +9 -9
  117. package/dist/lib/assets/physicGames/gold4.svg +14 -14
  118. package/dist/lib/assets/physicGames/header.svg +26 -26
  119. package/dist/lib/assets/physicGames/matchTheDots.svg +58 -58
  120. package/dist/lib/assets/physicGames/morePlayers.svg +23 -23
  121. package/dist/lib/assets/physicGames/place1icon.svg +21 -21
  122. package/dist/lib/assets/physicGames/place2icon.svg +21 -21
  123. package/dist/lib/assets/physicGames/place3icon.svg +21 -21
  124. package/dist/lib/assets/physicGames/place4icon.svg +21 -21
  125. package/dist/lib/assets/physicGames/place5icon.svg +23 -23
  126. package/dist/lib/assets/physicGames/place6icon.svg +21 -21
  127. package/dist/lib/assets/physicGames/quantik.svg +105 -105
  128. package/dist/lib/assets/physicGames/removeIcon.svg +31 -31
  129. package/dist/lib/assets/physicGames/risultatoMore.svg +350 -350
  130. package/dist/lib/assets/physicGames/surrenderModal.svg +9 -9
  131. package/dist/lib/assets/physicGames/surrenderPurple.svg +22 -22
  132. package/dist/lib/assets/physicGames/tabletQR.svg +29 -29
  133. package/dist/lib/assets/physicGames/timer.svg +25 -25
  134. package/dist/lib/assets/physicGames/video.svg +44 -44
  135. package/dist/lib/assets/physicGames/videoGame.svg +28 -28
  136. package/dist/lib/assets/physicGames/vsPurple.svg +48 -48
  137. package/dist/lib/assets/puzzleArena/corner.svg +17 -17
  138. package/dist/lib/assets/puzzleArena/horseIcon.svg +19 -19
  139. package/dist/lib/assets/puzzleArena/keyDisabledPurple.svg +12 -12
  140. package/dist/lib/assets/puzzleArena/keyGold.svg +12 -12
  141. package/dist/lib/assets/puzzleArena/myPuzzles.svg +113 -113
  142. package/dist/lib/assets/puzzleArena/performanceIcon.svg +22 -22
  143. package/dist/lib/assets/puzzleArena/playedIcon.svg +18 -18
  144. package/dist/lib/assets/puzzleArena/practiceIcon.svg +49 -49
  145. package/dist/lib/assets/puzzleArena/puzzleChess/correctHand.svg +44 -44
  146. package/dist/lib/assets/puzzleArena/puzzleChess/framePet.svg +9 -9
  147. package/dist/lib/assets/puzzleArena/puzzleChess/grayStart.svg +3 -3
  148. package/dist/lib/assets/puzzleArena/puzzleChess/incorrectHand.svg +46 -46
  149. package/dist/lib/assets/puzzleArena/puzzleChess/violetStar.svg +3 -3
  150. package/dist/lib/assets/puzzleArena/videoIcon.svg +14 -14
  151. package/dist/lib/assets/race/blueCar.svg +39 -39
  152. package/dist/lib/assets/race/lightblueCar.svg +39 -39
  153. package/dist/lib/assets/race/podioRace.svg +585 -585
  154. package/dist/lib/assets/race/race_ilustration.svg +32 -32
  155. package/dist/lib/assets/race/redCar.svg +39 -39
  156. package/dist/lib/assets/race/yellowCar.svg +39 -39
  157. package/dist/lib/assets/sounds/codeBrakerCheckCode.wav +0 -0
  158. package/dist/lib/assets/sounds/codeBrakerFinish.wav +0 -0
  159. package/dist/lib/assets/store/brawlStars.svg +16 -16
  160. package/dist/lib/assets/store/brawlStarsActive.svg +16 -16
  161. package/dist/lib/assets/store/devilHunters.svg +33 -33
  162. package/dist/lib/assets/store/devilHuntersActive.svg +33 -33
  163. package/dist/lib/assets/tickets/DoNotBurp.svg +41 -41
  164. package/dist/lib/assets/tickets/DontFart.svg +80 -80
  165. package/dist/lib/assets/tickets/NotReportBugs.svg +52 -52
  166. package/dist/lib/assets/tickets/NotUsePhone.svg +40 -40
  167. package/dist/lib/assets/tickets/notObjectInMouth.svg +64 -64
  168. package/dist/lib/assets/tickets/notRemoveMat.svg +59 -59
  169. package/dist/lib/assets/tickets/notYoutube.svg +65 -65
  170. package/dist/lib/assets/tickets/spamIcon.svg +115 -115
  171. package/dist/lib/assets/tickets/vulgarityIcon.svg +127 -127
  172. package/dist/lib/assets/tournament/christmasLogo.svg +120 -120
  173. package/dist/lib/assets/tournament/classicTournament.svg +18 -18
  174. package/dist/lib/assets/tournament/clockTournament.svg +19 -19
  175. package/dist/lib/assets/tournament/darkTorch.svg +202 -202
  176. package/dist/lib/assets/tournament/digimonLogo.svg +101 -101
  177. package/dist/lib/assets/tournament/halloweenLogo.svg +43 -43
  178. package/dist/lib/assets/tournament/marioLogo.svg +81 -81
  179. package/dist/lib/assets/tournament/marioVillainsLogo.svg +111 -111
  180. package/dist/lib/assets/tournament/mickeyLogo.svg +17 -17
  181. package/dist/lib/assets/tournament/phygitalTournament.svg +23 -23
  182. package/dist/lib/assets/tournament/sonicLogo.svg +127 -127
  183. package/dist/lib/assets/tournament/tournamentLeague.svg +8 -8
  184. package/dist/lib/assets/tournament/trophyHocLeague.svg +10 -10
  185. package/dist/lib/assets/tournament/trophyModal2.svg +9 -9
  186. package/dist/lib/assets/tournament/turtlesLogo.svg +102 -102
  187. package/dist/lib/assets/tournament/uCategoryBall.svg +61 -61
  188. package/dist/lib/assets/tournament/whistleAdmin.svg +11 -11
  189. package/dist/lib/assets/videoSection/back.svg +10 -10
  190. package/dist/lib/assets/videoSection/backgroundBox.svg +117 -117
  191. package/dist/lib/assets/videoSection/en.svg +33 -33
  192. package/dist/lib/assets/videoSection/es.svg +12 -12
  193. package/dist/lib/assets/videoSection/frameBox.svg +14 -14
  194. package/dist/lib/assets/videoSection/frameDefeat.svg +9 -9
  195. package/dist/lib/assets/videoSection/it.svg +12 -12
  196. package/dist/lib/assets/videoSection/save.svg +7 -7
  197. package/dist/lib/assets/videoSection/saves.svg +11 -11
  198. package/dist/lib/assets/videoSection/studiesLogo1.svg +6 -6
  199. package/dist/lib/assets/videoSection/studiesLogo2.svg +10 -10
  200. package/dist/lib/assets/videoSection/youtubeIcon.svg +19 -19
  201. package/dist/lib/styles/GlobalStyles.css +6 -6
  202. package/package.json +1 -1
  203. package/dist/lib/.gitattributes +0 -2
  204. package/dist/lib/HocComponents/HAccordion/HAccordion.styled.js +0 -33
  205. package/dist/lib/HocComponents/HBackground/HBackground.styled.js +0 -18
  206. package/dist/lib/HocComponents/HBlackBack/HBlackBack.styled.js +0 -4
  207. package/dist/lib/HocComponents/HBox/HBox.styled.js +0 -59
  208. package/dist/lib/HocComponents/HButton/HButton.styled.js +0 -51
  209. package/dist/lib/HocComponents/HCalendarStyled/HCalendarStyled.styled.js +0 -25
  210. package/dist/lib/HocComponents/HCards/Cards.styled.js +0 -26
  211. package/dist/lib/HocComponents/HCircularButton/HCircularButton.styled.js +0 -53
  212. package/dist/lib/HocComponents/HCircularTextButton/HCircularTextButton.styled.js +0 -35
  213. package/dist/lib/HocComponents/HCoinLabel/HCoin.styled.js +0 -52
  214. package/dist/lib/HocComponents/HDropdown/HDropdown.styled.js +0 -117
  215. package/dist/lib/HocComponents/HInitBackgroundAnimation/HInitBackgroundAnimation.styled.js +0 -16
  216. package/dist/lib/HocComponents/HInput/HInput.styled.js +0 -133
  217. package/dist/lib/HocComponents/HInputArea/HInputArea.styled.js +0 -68
  218. package/dist/lib/HocComponents/HLevelUpAnimation/HLevelUpAnimation.styled.js +0 -6
  219. package/dist/lib/HocComponents/HLogin/HLogin.styled.js +0 -45
  220. package/dist/lib/HocComponents/HModal/HModal.styled.js +0 -56
  221. package/dist/lib/HocComponents/HNews/aca +0 -0
  222. package/dist/lib/HocComponents/HProgressBar/HProgressBar.styled.js +0 -21
  223. package/dist/lib/HocComponents/HRadio/HRadio.styled.js +0 -56
  224. package/dist/lib/HocComponents/HScoreBar/HScoreBar.styled.js +0 -53
  225. package/dist/lib/HocComponents/HSearchInput/HSearchInput.styled.js +0 -72
  226. package/dist/lib/HocComponents/HSlider/HSlider.styled.js +0 -18
  227. package/dist/lib/HocComponents/HTabs/HTabs.styled.js +0 -22
  228. package/dist/lib/HocComponents/HText/HText.styled.js +0 -56
  229. package/dist/lib/HocComponents/HTitle/HTitle.styled.js +0 -54
  230. package/dist/lib/HocComponents/HToggleButton/HToggleButton.styled.js +0 -53
  231. package/dist/lib/HocComponents/HToggleButtonCustom/HCustomToggle.styled.js +0 -61
  232. package/dist/lib/hooks/sounds/soundTypes.js +0 -81
@@ -1,68 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var HTextAreaContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n width: ", ";\n align-items: center;\n justify-content: space-between;\n"])), function (_ref) {
5
- var direction = _ref.direction;
6
- return direction || "column";
7
- }, function (_ref2) {
8
- var gap = _ref2.gap;
9
- return gap;
10
- }, function (_ref3) {
11
- var width = _ref3.width;
12
- return width !== null && width !== void 0 ? width : "auto";
13
- });
14
- export var TextAreaLabel = styled.label(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: ", " !important;\n font-weight: ", " !important;\n color: ", ";\n display: flex;\n align-items: center;\n justify-content: ", ";\n width: ", ";\n"])), function (_ref4) {
15
- var $labelSize = _ref4.$labelSize;
16
- if (!$labelSize) return "var(--p16)";
17
- if ($labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("h") || $labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("p")) {
18
- return "var(--".concat($labelSize, ", var(--p16))");
19
- }
20
- return $labelSize;
21
- }, function (_ref5) {
22
- var $labelWeight = _ref5.$labelWeight;
23
- if (!$labelWeight) return "var(--weight-medium)";
24
- if ($labelWeight !== null && $labelWeight !== void 0 && $labelWeight.startsWith("weight-")) {
25
- return "var(--".concat($labelWeight, ", var(--weight-medium))");
26
- }
27
- return $labelWeight;
28
- }, function (_ref6) {
29
- var _ref7;
30
- var $labelColor = _ref6.$labelColor,
31
- theme = _ref6.theme;
32
- return $labelColor && theme && typeof $labelColor === "string" && theme[$labelColor] ? theme[$labelColor] : (_ref7 = $labelColor !== null && $labelColor !== void 0 ? $labelColor : theme && theme.purpleMedium) !== null && _ref7 !== void 0 ? _ref7 : "#7c4dff";
33
- }, function (_ref8) {
34
- var $labelPosition = _ref8.$labelPosition;
35
- return $labelPosition || "center";
36
- }, function (_ref9) {
37
- var $labelWidth = _ref9.$labelWidth;
38
- return $labelWidth || "auto";
39
- });
40
- export var StyledTextArea = styled.textarea(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n resize: ", ";\n font-size: ", " !important;\n font-weight: ", " !important;\n color: ", " !important;\n background: white;\n border: 2px solid ", ";\n padding: 0.6em 1em;\n border-radius: ", ";\n font-family: \"Poppins\", sans-serif;\n line-height: 1.5;\n box-shadow: rgba(112, 37, 190, 0.11) 0px -6px 26px inset,\n rgba(112, 37, 190, 0.27) 4px 4px 26px inset;\n &:focus,\n &:focus-visible {\n outline: none;\n }\n"])), function (_ref0) {
41
- var $resizable = _ref0.$resizable;
42
- return $resizable ? "vertical" : "none";
43
- }, function (_ref1) {
44
- var $fontSize = _ref1.$fontSize;
45
- if (!$fontSize) return "var(--p16)";
46
- if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
47
- return "var(--".concat($fontSize, ", var(--p16))");
48
- }
49
- return $fontSize;
50
- }, function (_ref10) {
51
- var $fontWeight = _ref10.$fontWeight;
52
- if (!$fontWeight) return "var(--weight-book)";
53
- if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
54
- return "var(--".concat($fontWeight, ", var(--weight-book))");
55
- }
56
- return $fontWeight;
57
- }, function (_ref11) {
58
- var _ref12;
59
- var $fontColor = _ref11.$fontColor,
60
- theme = _ref11.theme;
61
- return $fontColor && theme && typeof $fontColor === "string" && theme[$fontColor] ? theme[$fontColor] : (_ref12 = $fontColor !== null && $fontColor !== void 0 ? $fontColor : theme && theme.purpleDark) !== null && _ref12 !== void 0 ? _ref12 : "#2d1e4a";
62
- }, function (_ref13) {
63
- var _purpleMedium;
64
- var theme = _ref13.theme;
65
- return (_purpleMedium = theme.purpleMedium) !== null && _purpleMedium !== void 0 ? _purpleMedium : "#7c4dff";
66
- }, function (props) {
67
- return props.$borderRadius || "20px";
68
- });
@@ -1,6 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled, { keyframes } from "styled-components";
4
- var confettiScale1 = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1);\n }\n 10% {\n transform: scale(1.2);\n }\n 20% {\n transform: scale(1);\n }\n 30% {\n transform: scale(1.2);\n }\n 40% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.2);\n }\n 60% {\n transform: scale(1);\n }\n 70% {\n transform: scale(1.2);\n }\n 80% {\n transform: scale(1);\n }\n 90% {\n transform: scale(1.2);\n }\n 100% {\n transform: scale(1);\n }\n"])));
5
- var confettiScale2 = keyframes(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(1) scaleX(-1);\n }\n 10% {\n transform: scale(1.2) scaleX(-1);\n }\n 20% {\n transform: scale(1) scaleX(-1);\n }\n 30% {\n transform: scale(1.2) scaleX(-1);\n }\n 40% {\n transform: scale(1) scaleX(-1);\n }\n 50% {\n transform: scale(1.2) scaleX(-1);\n }\n 60% {\n transform: scale(1) scaleX(-1);\n }\n 70% {\n transform: scale(1.2) scaleX(-1);\n }\n 80% {\n transform: scale(1) scaleX(-1);\n }\n 90% {\n transform: scale(1.2) scaleX(-1);\n }\n 100% {\n transform: scale(1) scaleX(-1);\n }\n"])));
6
- export var CongratulationContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.4);\n z-index: 999999;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n\n h1 {\n z-index: 999;\n font-family: \"AldoTheApalache\", sans-serif;\n font-size: 8vw;\n background: linear-gradient(\n 180deg,\n #eaa80c 0%,\n #fdcc06 35%,\n #fac707 48%,\n #f4ba0c 64%,\n #eaa415 79%,\n #dc8521 96%,\n #d87c25 100%\n );\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n -webkit-text-stroke: 1px #3c096c;\n letter-spacing: 7px;\n @media (max-width: 900px) {\n font-size: 6vw;\n }\n }\n\n .level {\n margin-top: -50px;\n @media (max-width: 900px) {\n margin-top: -20px;\n }\n @media (max-width: 500px) {\n margin-top: -0px;\n }\n }\n\n .trom1 {\n position: fixed;\n bottom: 65px;\n left: 0;\n width: 270px;\n transform: scaleX(-1);\n animation: ", " 3.5s infinite;\n @media (max-width: 900px) {\n width: 220px;\n bottom: 70px;\n }\n }\n\n .trom2 {\n position: fixed;\n bottom: -13.5px;\n left: 0;\n width: 220px;\n transform: scaleX(-1);\n animation: ", " 3.5s infinite;\n @media (max-width: 900px) {\n width: 170px;\n bottom: 0.5px;\n }\n }\n\n .trom3 {\n position: fixed;\n bottom: -70px;\n left: 0;\n width: 170px;\n transform: scaleX(-1);\n animation: ", " 3.5s infinite;\n @media (max-width: 900px) {\n width: 120px;\n bottom: -50px;\n }\n }\n\n .trom4 {\n position: fixed;\n bottom: 65px;\n right: 0;\n width: 270px;\n animation: ", " 3.5s infinite;\n @media (max-width: 900px) {\n width: 220px;\n bottom: 70px;\n }\n }\n\n .trom5 {\n position: fixed;\n bottom: -13.5px;\n right: 0;\n width: 220px;\n animation: ", " 3.5s infinite;\n @media (max-width: 900px) {\n width: 170px;\n bottom: 0.5px;\n }\n }\n\n .trom6 {\n position: fixed;\n bottom: -70px;\n right: 0;\n width: 170px;\n animation: ", " 3.5s infinite;\n @media (max-width: 900px) {\n width: 120px;\n bottom: -50px;\n }\n }\n"])), confettiScale2, confettiScale2, confettiScale2, confettiScale1, confettiScale1, confettiScale1);
@@ -1,45 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- import HInput from "../HInput/HInput";
5
- export var UsersList = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-top: -0.8em;\n width: 300px;\n max-height: 200px;\n overflow-y: auto;\n box-shadow: rgba(112, 37, 190, 0.11) 0px -6px 26px inset,\n rgba(112, 37, 190, 0.27) 4px 4px 26px inset;\n border: 2px solid ", ";\n border-radius: 5px;\n\n &::-webkit-scrollbar {\n width: 10px;\n background: ", ";\n }\n\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 10px;\n border: 2px solid\n ", ";\n }\n"])), function (_ref) {
6
- var _purpleMedium;
7
- var theme = _ref.theme;
8
- return (_purpleMedium = theme.purpleMedium) !== null && _purpleMedium !== void 0 ? _purpleMedium : "#7c4dff";
9
- }, function (_ref2) {
10
- var _shadePurpleLight;
11
- var theme = _ref2.theme;
12
- return (_shadePurpleLight = theme.shadePurpleLight) !== null && _shadePurpleLight !== void 0 ? _shadePurpleLight : "#e1bee7";
13
- }, function (_ref3) {
14
- var _purpleMedium2;
15
- var theme = _ref3.theme;
16
- return (_purpleMedium2 = theme.purpleMedium) !== null && _purpleMedium2 !== void 0 ? _purpleMedium2 : "#7c4dff";
17
- }, function (_ref4) {
18
- var _shadePurpleLight2;
19
- var theme = _ref4.theme;
20
- return (_shadePurpleLight2 = theme.shadePurpleLight) !== null && _shadePurpleLight2 !== void 0 ? _shadePurpleLight2 : "#e1bee7";
21
- });
22
- export var OptionUsersList = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: var(--h6);\n font-weight: var(--weight-regular);\n color: ", " !important;\n background: ", ";\n width: 100%;\n text-align: center;\n margin: 0 !important;\n display: flex;\n justify-content: space-between;\n padding: 3px 10px;\n cursor: pointer;\n\n &:not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n\n &:hover {\n background: ", ";\n color: ", " !important;\n }\n"])), function (_ref5) {
23
- var _purpleDark, _goldColor;
24
- var theme = _ref5.theme,
25
- active = _ref5.active;
26
- return !active ? (_purpleDark = theme.purpleDark) !== null && _purpleDark !== void 0 ? _purpleDark : "#2d1e4a" : (_goldColor = theme.goldColor) !== null && _goldColor !== void 0 ? _goldColor : "#f9c407";
27
- }, function (_ref6) {
28
- var _shadePurpleDark;
29
- var theme = _ref6.theme,
30
- active = _ref6.active;
31
- return !active ? "transparent" : (_shadePurpleDark = theme.shadePurpleDark) !== null && _shadePurpleDark !== void 0 ? _shadePurpleDark : "#2d1e4a";
32
- }, function (_ref7) {
33
- var _purpleMedium3;
34
- var theme = _ref7.theme;
35
- return (_purpleMedium3 = theme.purpleMedium) !== null && _purpleMedium3 !== void 0 ? _purpleMedium3 : "#7c4dff";
36
- }, function (_ref8) {
37
- var _shadePurpleLight3;
38
- var theme = _ref8.theme;
39
- return (_shadePurpleLight3 = theme.shadePurpleLight) !== null && _shadePurpleLight3 !== void 0 ? _shadePurpleLight3 : "#e1bee7";
40
- }, function (_ref9) {
41
- var _purpleDark2;
42
- var theme = _ref9.theme;
43
- return (_purpleDark2 = theme.purpleDark) !== null && _purpleDark2 !== void 0 ? _purpleDark2 : "#2d1e4a";
44
- });
45
- export var ResponsiveHInput = styled(HInput)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 300px;\n @media (max-width: 500px) {\n width: 100%;\n margin: 0;\n }\n"])));
@@ -1,56 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var ModalContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgb(0 0 0 / 69%);\n z-index: 99999;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
5
- export var ModalContent = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 16px;\n color: #555;\n margin: auto;\n margin-bottom: 16px;\n padding: 15px 10px;\n overflow-y: auto;\n overflow-x: hidden;\n width: 100%;\n height: 100%;\n flex-grow: 1;\n\n p {\n text-align: center;\n font-size: ", ";\n color: ", ";\n font-weight: ", ";\n }\n\n &::-webkit-scrollbar {\n width: 8px;\n height: 10px;\n }\n\n &::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 10px;\n border: 2px solid\n ", ";\n }\n"])), function (_ref) {
6
- var _textSize;
7
- var theme = _ref.theme;
8
- return (_textSize = theme.textSize) !== null && _textSize !== void 0 ? _textSize : "var(--p16)";
9
- }, function (_ref2) {
10
- var _purpleDark;
11
- var theme = _ref2.theme;
12
- return (_purpleDark = theme.purpleDark) !== null && _purpleDark !== void 0 ? _purpleDark : "#2d1e4a";
13
- }, function (_ref3) {
14
- var _textWeight;
15
- var theme = _ref3.theme;
16
- return (_textWeight = theme.textWeight) !== null && _textWeight !== void 0 ? _textWeight : "var(--weight-book)";
17
- }, function (_ref4) {
18
- var theme = _ref4.theme;
19
- return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleLight) || "#3c1b85";
20
- }, function (_ref5) {
21
- var theme = _ref5.theme;
22
- return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) || "#8545c7";
23
- }, function (_ref6) {
24
- var theme = _ref6.theme;
25
- return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) || "#3c1b85";
26
- });
27
- export var ModalHeader = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 15px;\n background: ", " !important;\n text-transform: uppercase;\n border-radius: 20px 20px 0 0;\n\n h3 {\n font-size: 20px;\n color: ", " !important;\n }\n"])), function (_ref7) {
28
- var _shadePurpleDark;
29
- var theme = _ref7.theme;
30
- return (_shadePurpleDark = theme.shadePurpleDark) !== null && _shadePurpleDark !== void 0 ? _shadePurpleDark : "#2d1e4a";
31
- }, function (_ref8) {
32
- var _purpleLight;
33
- var theme = _ref8.theme;
34
- return (_purpleLight = theme.purpleLight2) !== null && _purpleLight !== void 0 ? _purpleLight : "#ce93d8";
35
- });
36
- export var CloseButton = styled.button(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n background: none;\n border: none;\n font-size: 20px;\n font-weight: bold;\n cursor: pointer;\n\n svg {\n color: ", " !important;\n }\n"])), function (_ref9) {
37
- var _purpleLight2;
38
- var theme = _ref9.theme;
39
- return (_purpleLight2 = theme.purpleLight2) !== null && _purpleLight2 !== void 0 ? _purpleLight2 : "#ce93d8";
40
- });
41
- export var ModalBody = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-radius: 20px;\n width: ", ";\n height: ", ";\n background: ", " !important;\n display: flex;\n flex-direction: column;\n padding: 0 0 16px 0;\n align-items: center;\n justify-content: flex-start;\n z-index: 9999;\n border: 1px solid ", " !important;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n margin: 0px 10px;\n"])), function (_ref0) {
42
- var width = _ref0.width;
43
- return width !== null && width !== void 0 ? width : "500px";
44
- }, function (_ref1) {
45
- var height = _ref1.height;
46
- return height !== null && height !== void 0 ? height : "auto";
47
- }, function (_ref10) {
48
- var _shadePurpleLight;
49
- var theme = _ref10.theme;
50
- return (_shadePurpleLight = theme.shadePurpleLight) !== null && _shadePurpleLight !== void 0 ? _shadePurpleLight : "#e1bee7";
51
- }, function (_ref11) {
52
- var _purpleDark2;
53
- var theme = _ref11.theme;
54
- return (_purpleDark2 = theme.purpleDark) !== null && _purpleDark2 !== void 0 ? _purpleDark2 : "#2d1e4a";
55
- });
56
- export var ModalFooter = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n gap: 8px;\n flex-wrap: wrap;\n"])));
File without changes
@@ -1,21 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var ProgressBarContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: ", ";\n background: ", ";\n border-radius: 10px;\n padding: 3px;\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);\n padding: 2px;\n border: 2px solid #9a2eff;\n height: 28px;\n margin-top: 10px;\n position: relative;\n"])), function (_ref) {
5
- var width = _ref.width;
6
- return width !== null && width !== void 0 ? width : "100%";
7
- }, function (_ref2) {
8
- var _ref3;
9
- var backgroundColor = _ref2.backgroundColor,
10
- theme = _ref2.theme;
11
- return (_ref3 = backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : theme.shadePurpleLight) !== null && _ref3 !== void 0 ? _ref3 : "#e1bee7";
12
- });
13
- export var ProgressBarFill = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n height: 20px;\n border-radius: 10px;\n background: ", ";\n width: ", ";\n position: relative;\n transition: width 0.3s ease;\n position: absolute;\n left: 0;\n height: 22px;\n"])), function (_ref4) {
14
- var _ref5;
15
- var fillColor = _ref4.fillColor,
16
- theme = _ref4.theme;
17
- return (_ref5 = fillColor !== null && fillColor !== void 0 ? fillColor : theme.shadePurpleDark) !== null && _ref5 !== void 0 ? _ref5 : "#2d1e4a";
18
- }, function (props) {
19
- return "".concat(Math.min(props.progress, 100), "%");
20
- });
21
- export var StarMarker = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n height: 100%;\n height: 40px;\n width: 40px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: cover;\n position: absolute;\n right: -20px;\n top: -10px;\n z-index: 2;\n"])));
@@ -1,56 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- // Contenedor principal del componente
5
- export var RadioContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n"])), function (_ref) {
6
- var direction = _ref.direction;
7
- return direction !== null && direction !== void 0 ? direction : "column";
8
- }, function (_ref2) {
9
- var gap = _ref2.gap;
10
- return gap !== null && gap !== void 0 ? gap : "10px";
11
- });
12
-
13
- // Contenedor para cada opción (Radio o Checkbox)
14
- export var OptionContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n gap: 10px;\n cursor: pointer;\n"])), function (_ref3) {
15
- var $labelDirection = _ref3.$labelDirection;
16
- return $labelDirection !== null && $labelDirection !== void 0 ? $labelDirection : "row";
17
- });
18
- export var RadioInput = styled.input(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n cursor: pointer;\n appearance: none;\n width: 25px;\n height: 25px;\n border: 1px solid ", ";\n border-radius: ", ";\n background-color: ", ";\n position: relative;\n display: inline-block;\n transition: all 0.3s ease;\n\n &:checked[type=\"checkbox\"] {\n background-color: ", ";\n border-color: ", ";\n\n &::after {\n content: \"\u2714\";\n font-size: 20px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: white;\n }\n }\n\n &:checked[type=\"radio\"] {\n background-color: white;\n border-color: ", ";\n &::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 14px;\n height: 14px;\n border-radius: 50%;\n background-color: ", ";\n }\n }\n"])), function (_ref4) {
19
- var _purpleMedium;
20
- var theme = _ref4.theme;
21
- return (_purpleMedium = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium !== void 0 ? _purpleMedium : "#6c63ff";
22
- }, function (_ref5) {
23
- var type = _ref5.type;
24
- return type === "checkbox" ? "4px" : "50%";
25
- }, function (_ref6) {
26
- var _backgroundLight;
27
- var theme = _ref6.theme;
28
- return (_backgroundLight = theme === null || theme === void 0 ? void 0 : theme.backgroundLight) !== null && _backgroundLight !== void 0 ? _backgroundLight : "#fff";
29
- }, function (_ref7) {
30
- var _purpleMedium2;
31
- var theme = _ref7.theme;
32
- return (_purpleMedium2 = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium2 !== void 0 ? _purpleMedium2 : "#6c63ff";
33
- }, function (_ref8) {
34
- var _purpleDark;
35
- var theme = _ref8.theme;
36
- return (_purpleDark = theme === null || theme === void 0 ? void 0 : theme.purpleDark) !== null && _purpleDark !== void 0 ? _purpleDark : "#4c3faa";
37
- }, function (_ref9) {
38
- var _purpleDark2;
39
- var theme = _ref9.theme;
40
- return (_purpleDark2 = theme === null || theme === void 0 ? void 0 : theme.purpleDark) !== null && _purpleDark2 !== void 0 ? _purpleDark2 : "#4c3faa";
41
- }, function (_ref0) {
42
- var _purpleDark3;
43
- var theme = _ref0.theme;
44
- return (_purpleDark3 = theme === null || theme === void 0 ? void 0 : theme.purpleDark) !== null && _purpleDark3 !== void 0 ? _purpleDark3 : "#4c3faa";
45
- });
46
-
47
- // Label de las opciones
48
- export var RadioLabel = styled.label(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-size: ", ";\n color: ", ";\n"])), function (_ref1) {
49
- var $labelSize = _ref1.$labelSize;
50
- return $labelSize !== null && $labelSize !== void 0 ? $labelSize : "var(--h5)";
51
- }, function (_ref10) {
52
- var _ref11;
53
- var $labelColor = _ref10.$labelColor,
54
- theme = _ref10.theme;
55
- return (_ref11 = $labelColor !== null && $labelColor !== void 0 ? $labelColor : theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _ref11 !== void 0 ? _ref11 : "black";
56
- });
@@ -1,53 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var ScoreBarContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height: ", "px;\n width: 15px;\n position: relative;\n overflow: hidden;\n border-radius: 10px;\n margin-right: 15px;\n align-self: start;\n border: 3px solid ", ";\n"])), function (props) {
5
- var _props$height;
6
- return (_props$height = props.height) !== null && _props$height !== void 0 ? _props$height : 536;
7
- }, function (_ref) {
8
- var _purpleMedium;
9
- var theme = _ref.theme;
10
- return (_purpleMedium = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium !== void 0 ? _purpleMedium : "#6c63ff";
11
- });
12
-
13
- // Styled component for White's score indicator
14
- export var WhiteScoreIndicator = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n height: ", "px;\n background-color: ", "; // White's color\n position: absolute;\n top: ", ";\n bottom: ", ";\n transition: height 0.3s ease-in-out;\n border-top-left-radius: ", "px;\n border-top-right-radius: ", "px;\n border-bottom-left-radius: ", "px;\n border-bottom-right-radius: ", "px;\n"])), function (props) {
15
- return (props.height ? props.height / 2 : 268) + props.score / 1000 * (props.height ? props.height / 2 : 268);
16
- }, function (_ref2) {
17
- var _purpleLight;
18
- var theme = _ref2.theme;
19
- return (_purpleLight = theme === null || theme === void 0 ? void 0 : theme.purpleLight) !== null && _purpleLight !== void 0 ? _purpleLight : "#e1bee7";
20
- }, function (props) {
21
- return props.player === "white" ? null : 0;
22
- }, function (props) {
23
- return props.player === "white" ? 0 : null;
24
- }, function (props) {
25
- return props.player === "white" ? 0 : 10;
26
- }, function (props) {
27
- return props.player === "white" ? 0 : 10;
28
- }, function (props) {
29
- return props.player === "white" ? 10 : 0;
30
- }, function (props) {
31
- return props.player === "white" ? 10 : 0;
32
- });
33
-
34
- // Styled component for Black's score indicator
35
- export var BlackScoreIndicator = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 100%;\n height: ", "px;\n background-color: ", "; // Black's color\n position: absolute;\n top: ", ";\n bottom: ", ";\n transition: height 0.3s ease-in-out;\n border-top-left-radius: ", "px;\n border-top-right-radius: ", "px;\n border-bottom-left-radius: ", "px;\n border-bottom-right-radius: ", "px;\n"])), function (props) {
36
- return (props.height ? props.height / 2 : 268) - props.score / 1000 * (props.height ? props.height / 2 : 268);
37
- }, function (_ref3) {
38
- var _purpleMedium2;
39
- var theme = _ref3.theme;
40
- return (_purpleMedium2 = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium2 !== void 0 ? _purpleMedium2 : "#6c63ff";
41
- }, function (props) {
42
- return props.player === "white" ? 0 : null;
43
- }, function (props) {
44
- return props.player === "white" ? null : 0;
45
- }, function (props) {
46
- return props.player !== "white" ? 0 : 10;
47
- }, function (props) {
48
- return props.player !== "white" ? 0 : 10;
49
- }, function (props) {
50
- return props.player !== "white" ? 10 : 0;
51
- }, function (props) {
52
- return props.player !== "white" ? 10 : 0;
53
- });
@@ -1,72 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var SearchContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", "; /* Direcci\xF3n (row o column) */\n gap: ", "; /* Espaciado entre label y select */\n"])), function (_ref) {
5
- var direction = _ref.direction;
6
- return direction !== null && direction !== void 0 ? direction : "column";
7
- }, function (_ref2) {
8
- var gap = _ref2.gap;
9
- return gap;
10
- });
11
- export var SearchLabel = styled.label(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: ", ";\n\n font-weight: ", ";\n\n color: ", ";\n\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n"])), function (_ref3) {
12
- var $labelSize = _ref3.$labelSize;
13
- if (!$labelSize) return "var(--p16)";
14
- if ($labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("h") || $labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("p")) {
15
- return "var(--".concat($labelSize, ", var(--p16))");
16
- }
17
- return $labelSize;
18
- }, function (_ref4) {
19
- var $labelWeight = _ref4.$labelWeight;
20
- if (!$labelWeight) return "var(--weight-medium)";
21
- if ($labelWeight !== null && $labelWeight !== void 0 && $labelWeight.startsWith("weight-")) {
22
- return "var(--".concat($labelWeight, ", var(--weight-medium))");
23
- }
24
- return $labelWeight; // 400, 700, 'inherit', etc.
25
- }, function (_ref5) {
26
- var _purpleMedium;
27
- var $labelColor = _ref5.$labelColor,
28
- theme = _ref5.theme;
29
- return $labelColor && (theme === null || theme === void 0 ? void 0 : theme["".concat($labelColor)]) || $labelColor || ((_purpleMedium = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium !== void 0 ? _purpleMedium : "#6c63ff");
30
- });
31
- export var SearchInputContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n width: ", "; /* Ancho predeterminado */\n height: ", "; /* Altura predeterminada */\n display: flex;\n align-items: center;\n border: 2.5px solid\n ", ";\n border-radius: ", ";\n background: white;\n box-shadow: rgba(112, 37, 190, 0.11) 0px -6px 26px inset,\n rgba(112, 37, 190, 0.27) 4px 4px 26px inset;\n padding: 0 ", ";\n\n img {\n margin-right: ", ";\n }\n"])), function (props) {
32
- var _props$width;
33
- return (_props$width = props.width) !== null && _props$width !== void 0 ? _props$width : "367px";
34
- }, function (props) {
35
- var _props$height;
36
- return (_props$height = props.height) !== null && _props$height !== void 0 ? _props$height : "40px";
37
- }, function (props) {
38
- var _ref6, _props$borderColor, _props$theme;
39
- return (_ref6 = (_props$borderColor = props.borderColor) !== null && _props$borderColor !== void 0 ? _props$borderColor : (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.purpleMedium) !== null && _ref6 !== void 0 ? _ref6 : "#6c63ff";
40
- }, function (props) {
41
- var _props$borderRadius;
42
- return (_props$borderRadius = props.borderRadius) !== null && _props$borderRadius !== void 0 ? _props$borderRadius : "20px";
43
- }, function (props) {
44
- var _props$gap;
45
- return (_props$gap = props.gap) !== null && _props$gap !== void 0 ? _props$gap : "10px";
46
- }, function (props) {
47
- var _props$gap2;
48
- return (_props$gap2 = props.gap) !== null && _props$gap2 !== void 0 ? _props$gap2 : "10px";
49
- });
50
- export var SearchInput = styled.input(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n width: 100%;\n\n font-size: ", ";\n\n font-weight: ", ";\n\n color: ", "; /* Color del texto desde el theme */\n\n background: transparent;\n border: none;\n border-radius: ", ";\n font-family: \"Poppins\", sans-serif;\n line-height: 1.5;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n"])), function (_ref7) {
51
- var $fontSize = _ref7.$fontSize;
52
- if (!$fontSize) return "var(--p16)";
53
- if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
54
- return "var(--".concat($fontSize, ", var(--p16))");
55
- }
56
- return $fontSize;
57
- }, function (_ref8) {
58
- var $fontWeight = _ref8.$fontWeight;
59
- if (!$fontWeight) return "var(--weight-book)";
60
- if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
61
- return "var(--".concat($fontWeight, ", var(--weight-book))");
62
- }
63
- return $fontWeight; // 400, 700, 'inherit', etc.
64
- }, function (_ref9) {
65
- var _ref0, _ref1, _ref10;
66
- var $fontColor = _ref9.$fontColor,
67
- theme = _ref9.theme;
68
- return (_ref0 = (_ref1 = (_ref10 = $fontColor && (theme === null || theme === void 0 ? void 0 : theme["".concat($fontColor)])) !== null && _ref10 !== void 0 ? _ref10 : $fontColor) !== null && _ref1 !== void 0 ? _ref1 : theme === null || theme === void 0 ? void 0 : theme.purpleLight2) !== null && _ref0 !== void 0 ? _ref0 : "#e1bee7";
69
- }, function (props) {
70
- var _props$borderRadius2;
71
- return (_props$borderRadius2 = props.borderRadius) !== null && _props$borderRadius2 !== void 0 ? _props$borderRadius2 : "20px";
72
- });
@@ -1,18 +0,0 @@
1
- var _templateObject;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- import Slider from "rc-slider";
5
- export var StyledSlider = styled(Slider)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-top: 22px;\n width: 100%;\n max-width: 340px;\n\n .rc-slider-rail {\n border-radius: 7.5px;\n background: ", ";\n height: 10px;\n position: absolute;\n width: 100%;\n }\n\n .rc-slider-track {\n border-radius: 7.5px;\n background: ", ";\n height: 10px;\n position: absolute;\n }\n\n .rc-slider-handle {\n border-radius: 50%;\n background: ", ";\n height: 30px;\n width: 30px;\n margin-top: -11px;\n border: 8px white solid;\n box-shadow: 7px 7px 29px 0px rgba(112, 37, 190, 0.5) !important;\n border-color: white !important;\n opacity: 1;\n position: absolute;\n\n &:hover {\n background-color: unset;\n }\n\n &:focus-visible {\n border: 8px white solid;\n }\n }\n"])), function (_ref) {
6
- var _purpleLight, _purpleLight2;
7
- var theme = _ref.theme,
8
- specialBg = _ref.specialBg;
9
- return specialBg ? (_purpleLight = theme === null || theme === void 0 ? void 0 : theme.purpleLight) !== null && _purpleLight !== void 0 ? _purpleLight : "#e1bee7" : (_purpleLight2 = theme === null || theme === void 0 ? void 0 : theme.purpleLight2) !== null && _purpleLight2 !== void 0 ? _purpleLight2 : "#f3e5f5";
10
- }, function (_ref2) {
11
- var _shadePurpleDark;
12
- var theme = _ref2.theme;
13
- return (_shadePurpleDark = theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) !== null && _shadePurpleDark !== void 0 ? _shadePurpleDark : "#2d1e4a";
14
- }, function (_ref3) {
15
- var _shadePurpleDark2;
16
- var theme = _ref3.theme;
17
- return (_shadePurpleDark2 = theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) !== null && _shadePurpleDark2 !== void 0 ? _shadePurpleDark2 : "#2d1e4a";
18
- });
@@ -1,22 +0,0 @@
1
- var _templateObject, _templateObject2;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var TabContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: 3px solid ", ";\n border-radius: 25px;\n"])), function (_ref) {
5
- var _purpleMedium;
6
- var theme = _ref.theme;
7
- return (_purpleMedium = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium !== void 0 ? _purpleMedium : "#6c63ff";
8
- });
9
- export var Tab = styled.h1(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: ", ";\n color: ", ";\n font-weight: var(--weight-bold);\n border-radius: 25px;\n padding: 5px 20px;\n font-size: ", ";\n margin: 0;\n transition: all 0.3s ease;\n\n &:hover {\n opacity: 0.8;\n }\n"])), function (_ref2) {
10
- var _shadePurpleDark;
11
- var theme = _ref2.theme,
12
- active = _ref2.active;
13
- return active ? (_shadePurpleDark = theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) !== null && _shadePurpleDark !== void 0 ? _shadePurpleDark : "#2d1e4a" : "transparent";
14
- }, function (_ref3) {
15
- var _purpleLight, _purpleMedium2;
16
- var theme = _ref3.theme,
17
- active = _ref3.active;
18
- return active ? (_purpleLight = theme === null || theme === void 0 ? void 0 : theme.purpleLight) !== null && _purpleLight !== void 0 ? _purpleLight : "#e1bee7" : (_purpleMedium2 = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium2 !== void 0 ? _purpleMedium2 : "#6c63ff";
19
- }, function (_ref4) {
20
- var moreFont = _ref4.moreFont;
21
- return !moreFont ? "var(--p14)" : "var(--h6)";
22
- });
@@ -1,56 +0,0 @@
1
- var _templateObject;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var Text = styled.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n font-size: ", " !important; /* Tama\xF1o de fuente */\n font-weight: ", " !important;\n\n color: ", " !important; /* Color del texto */\n text-align: ", "; /* Alineaci\xF3n del texto */\n margin: ", "; /* Margen */\n padding: ", "; /* Padding */\n line-height: ", "; /* Altura de l\xEDnea */\n letter-spacing: ", "; /* Espaciado entre letras */\n text-transform: ", "; /* Transformaci\xF3n del texto */\n background: ", " !important;\n border-radius: ", ";\n text-decoration: ", "; /* Subrayado */\n cursor: ", "; /* Cursor */\n"])), function (_ref) {
5
- var height = _ref.height;
6
- return height !== null && height !== void 0 ? height : "auto";
7
- }, function (_ref2) {
8
- var width = _ref2.width;
9
- return width !== null && width !== void 0 ? width : "auto";
10
- }, function (_ref3) {
11
- var $fontSize = _ref3.$fontSize,
12
- as = _ref3.as;
13
- return as ? "var(--".concat(as, ")") : $fontSize ? $fontSize : "32px";
14
- }, function (_ref4) {
15
- var $fontWeight = _ref4.$fontWeight;
16
- if (!$fontWeight) return "var(--weight-regular)";
17
- if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
18
- return "var(--".concat($fontWeight, ", var(--weight-regular))");
19
- }
20
- return $fontWeight; // 400, 700, 'inherit', etc.
21
- }, function (_ref5) {
22
- var color = _ref5.color,
23
- theme = _ref5.theme;
24
- return color && (theme === null || theme === void 0 ? void 0 : theme["".concat(color)]) || color || (theme === null || theme === void 0 ? void 0 : theme.purpleMedium) || "#000";
25
- }, function (_ref6) {
26
- var $textAlign = _ref6.$textAlign;
27
- return $textAlign !== null && $textAlign !== void 0 ? $textAlign : "left";
28
- }, function (_ref7) {
29
- var margin = _ref7.margin;
30
- return margin !== null && margin !== void 0 ? margin : "0";
31
- }, function (_ref8) {
32
- var padding = _ref8.padding;
33
- return padding !== null && padding !== void 0 ? padding : "0";
34
- }, function (_ref9) {
35
- var $lineHeight = _ref9.$lineHeight;
36
- return $lineHeight !== null && $lineHeight !== void 0 ? $lineHeight : "1.5";
37
- }, function (_ref0) {
38
- var $letterSpacing = _ref0.$letterSpacing;
39
- return $letterSpacing !== null && $letterSpacing !== void 0 ? $letterSpacing : "normal";
40
- }, function (_ref1) {
41
- var $textTransform = _ref1.$textTransform;
42
- return $textTransform !== null && $textTransform !== void 0 ? $textTransform : "none";
43
- }, function (_ref10) {
44
- var theme = _ref10.theme,
45
- background = _ref10.background;
46
- return background && (theme === null || theme === void 0 ? void 0 : theme["".concat(background)]) || background || "transparent";
47
- }, function (_ref11) {
48
- var $borderRadius = _ref11.$borderRadius;
49
- return $borderRadius !== null && $borderRadius !== void 0 ? $borderRadius : "0";
50
- }, function (_ref12) {
51
- var $underline = _ref12.$underline;
52
- return $underline ? "underline" : "none";
53
- }, function (_ref13) {
54
- var $underline = _ref13.$underline;
55
- return $underline ? "pointer" : "default";
56
- });
@@ -1,54 +0,0 @@
1
- var _templateObject;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var HTitleText = styled.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n font-size: ", " !important; /* Tama\xF1o de fuente */\n font-weight: ", " !important;\n color: ", " !important; /* Color del texto */\n text-align: ", "; /* Alineaci\xF3n del texto */\n margin: ", "; /* Margen */\n padding: ", "; /* Padding */\n line-height: ", "; /* Altura de l\xEDnea */\n letter-spacing: ", "; /* Espaciado entre letras */\n text-transform: ", "; /* Transformaci\xF3n del texto */\n background: ", " !important;\n box-shadow: ", "; /* Sombra */\n border-radius: ", ";\n"])), function (_ref) {
5
- var height = _ref.height;
6
- return height !== null && height !== void 0 ? height : "auto";
7
- }, function (_ref2) {
8
- var width = _ref2.width;
9
- return width !== null && width !== void 0 ? width : "auto";
10
- }, function (_ref3) {
11
- var $fontSize = _ref3.$fontSize,
12
- as = _ref3.as;
13
- return as ? "var(--".concat(as, ")") : $fontSize ? $fontSize : "32px";
14
- }, function (_ref4) {
15
- var $fontWeight = _ref4.$fontWeight;
16
- if (!$fontWeight) return "var(--weight-bold)";
17
- if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
18
- return "var(--".concat($fontWeight, ", var(--weight-bold))");
19
- }
20
- return $fontWeight; // 400, 700, 'inherit', etc.
21
- }, function (_ref5) {
22
- var color = _ref5.color,
23
- theme = _ref5.theme;
24
- return color && (theme === null || theme === void 0 ? void 0 : theme["".concat(color)]) || color || (theme === null || theme === void 0 ? void 0 : theme.purpleMedium) || "#000";
25
- }, function (_ref6) {
26
- var $textAlign = _ref6.$textAlign;
27
- return $textAlign !== null && $textAlign !== void 0 ? $textAlign : "left";
28
- }, function (_ref7) {
29
- var margin = _ref7.margin;
30
- return margin !== null && margin !== void 0 ? margin : "0";
31
- }, function (_ref8) {
32
- var padding = _ref8.padding;
33
- return padding !== null && padding !== void 0 ? padding : "0";
34
- }, function (_ref9) {
35
- var $lineHeight = _ref9.$lineHeight;
36
- return $lineHeight !== null && $lineHeight !== void 0 ? $lineHeight : "1.5";
37
- }, function (_ref0) {
38
- var $letterSpacing = _ref0.$letterSpacing;
39
- return $letterSpacing !== null && $letterSpacing !== void 0 ? $letterSpacing : "normal";
40
- }, function (_ref1) {
41
- var $textTransform = _ref1.$textTransform;
42
- return $textTransform !== null && $textTransform !== void 0 ? $textTransform : "none";
43
- }, function (_ref10) {
44
- var theme = _ref10.theme,
45
- background = _ref10.background;
46
- return background && (theme === null || theme === void 0 ? void 0 : theme["".concat(background)]) || background || "transparent";
47
- }, function (_ref11) {
48
- var boxShadow = _ref11.boxShadow,
49
- theme = _ref11.theme;
50
- return boxShadow && (theme === null || theme === void 0 ? void 0 : theme["".concat(boxShadow)]) || boxShadow || "none";
51
- }, function (_ref12) {
52
- var $borderRadius = _ref12.$borderRadius;
53
- return $borderRadius !== null && $borderRadius !== void 0 ? $borderRadius : "0";
54
- });
@@ -1,53 +0,0 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
2
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
- import styled from "styled-components";
4
- export var ToggleContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 10px;\n margin-top: -10px;\n margin-bottom: 20px;\n z-index: 100;\n"])));
5
- export var ToggleOption = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: var(--p16);\n font-weight: ", ";\n color: ", " !important;\n"])), function (_ref) {
6
- var select = _ref.select;
7
- return select ? "var(--weight-bold)" : "var(--weight-book)";
8
- }, function (_ref2) {
9
- var theme = _ref2.theme,
10
- useHocStyle = _ref2.useHocStyle;
11
- return useHocStyle && (theme === null || theme === void 0 ? void 0 : theme.purpleMedium);
12
- });
13
- export var Toggle = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 70px;\n height: 30px;\n border-radius: 15px;\n background-color: ", ";\n box-shadow: ", ";\n border: 2px solid\n ", ";\n position: relative;\n cursor: pointer;\n transition: all 0.3s ease;\n"])), function (_ref3) {
14
- var _white;
15
- var theme = _ref3.theme;
16
- return (_white = theme === null || theme === void 0 ? void 0 : theme.white) !== null && _white !== void 0 ? _white : "#ffffff";
17
- }, function (_ref4) {
18
- var useHocStyle = _ref4.useHocStyle;
19
- return useHocStyle ? "rgba(112, 37, 190, 0.11) 0px -6px 26px inset,\n rgba(112, 37, 190, 0.27) 4px 4px 26px inset" : "none";
20
- }, function (_ref5) {
21
- var _purpleMedium, _purpleMedium2;
22
- var theme = _ref5.theme,
23
- off = _ref5.off,
24
- on = _ref5.on,
25
- useHocStyle = _ref5.useHocStyle;
26
- return useHocStyle ? (_purpleMedium = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium !== void 0 ? _purpleMedium : "#6c63ff" : off ? "red" : on ? "green" : (_purpleMedium2 = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium2 !== void 0 ? _purpleMedium2 : "#6c63ff";
27
- });
28
- export var ToggleButton = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n width: 20px;\n height: 20px;\n border-radius: 50%;\n top: 50%;\n transform: translateY(-50%);\n background-color: ", ";\n position: absolute;\n left: ", ";\n right: ", ";\n transition: all 0.3s ease;\n"])), function (_ref6) {
29
- var _purpleMedium3, _purpleMedium4;
30
- var theme = _ref6.theme,
31
- off = _ref6.off,
32
- on = _ref6.on,
33
- useHocStyle = _ref6.useHocStyle;
34
- return useHocStyle ? (_purpleMedium3 = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium3 !== void 0 ? _purpleMedium3 : "#6c63ff" : off ? "red" : on ? "green" : (_purpleMedium4 = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium4 !== void 0 ? _purpleMedium4 : "#6c63ff";
35
- }, function (_ref7) {
36
- var child = _ref7.child;
37
- return child ? "3px" : null;
38
- }, function (_ref8) {
39
- var child = _ref8.child;
40
- return child ? null : "3px";
41
- });
42
- export var ToggleLabel = styled.label(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: ", "; /* Tama\xF1o de fuente del label */\n color: ", "; /* Color del label */\n font-weight: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-bottom: 10px;\n"])), function (_ref9) {
43
- var labelSize = _ref9.labelSize;
44
- return labelSize !== null && labelSize !== void 0 ? labelSize : "var(--p16)";
45
- }, function (_ref0) {
46
- var _purpleMedium5;
47
- var labelColor = _ref0.labelColor,
48
- theme = _ref0.theme;
49
- return labelColor && (theme === null || theme === void 0 ? void 0 : theme["".concat(labelColor)]) || labelColor || ((_purpleMedium5 = theme === null || theme === void 0 ? void 0 : theme.purpleMedium) !== null && _purpleMedium5 !== void 0 ? _purpleMedium5 : "#6c63ff");
50
- }, function (_ref1) {
51
- var labelWeight = _ref1.labelWeight;
52
- return labelWeight !== null && labelWeight !== void 0 ? labelWeight : "var(--weight-regular)";
53
- });