@everymatrix/mini-games-hub 0.1.21 → 0.1.22

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 (254) hide show
  1. package/package.json +1 -1
  2. package/components/BackButton-BMWvZ9Lb.js +0 -39
  3. package/components/BackButton-BNp3jVLa.js +0 -39
  4. package/components/BackButton-Bi1zFTns.js +0 -38
  5. package/components/BackButton-BvRNh4nJ.js +0 -39
  6. package/components/BackButton-C_v3b0Ky.cjs +0 -1
  7. package/components/BackButton-D5gfQ3NI.cjs +0 -1
  8. package/components/BackButton-DznJk3U4.js +0 -38
  9. package/components/BackButton-gIVGAf6v.js +0 -38
  10. package/components/BackButton-s0YqvufR.cjs +0 -1
  11. package/components/CoinFlip-5qt33VpA.js +0 -399
  12. package/components/CoinFlip-9-7FNYAn.js +0 -364
  13. package/components/CoinFlip-BWNJK7aS.js +0 -402
  14. package/components/CoinFlip-BaNNMAYb.cjs +0 -1
  15. package/components/CoinFlip-BgRZmhbg.js +0 -367
  16. package/components/CoinFlip-COwy7cq1.cjs +0 -1
  17. package/components/CoinFlip-CSel9VZR.js +0 -398
  18. package/components/CoinFlip-ClRh6gz2.js +0 -363
  19. package/components/CoinFlip-D7Bwnl8W.cjs +0 -1
  20. package/components/CoinFlip-D8OLaQiA.js +0 -367
  21. package/components/CoinFlip-Dg2ZA_B2.cjs +0 -1
  22. package/components/CoinFlip-DoASIhfX.cjs +0 -1
  23. package/components/CoinFlip-pvtcTO4f.cjs +0 -1
  24. package/components/CoinFlip-vrZpkrnS.js +0 -402
  25. package/components/CoinRoyale-4Oe-x5-J.cjs +0 -734
  26. package/components/CoinRoyale-9nHMXODj.js +0 -1017
  27. package/components/CoinRoyale-B3bu5S4n.cjs +0 -734
  28. package/components/CoinRoyale-B4dKiGgG.cjs +0 -736
  29. package/components/CoinRoyale-BCSu92s7.cjs +0 -759
  30. package/components/CoinRoyale-BJWVsEJj.cjs +0 -759
  31. package/components/CoinRoyale-BNxFDqe1.js +0 -999
  32. package/components/CoinRoyale-BfaHdSQN.cjs +0 -757
  33. package/components/CoinRoyale-Bgl4Ea3N.js +0 -1018
  34. package/components/CoinRoyale-BwNvG3QI.js +0 -1009
  35. package/components/CoinRoyale-Bza84vCL.cjs +0 -738
  36. package/components/CoinRoyale-C-x6uDgh.js +0 -989
  37. package/components/CoinRoyale-CAI2JCvG.js +0 -1020
  38. package/components/CoinRoyale-CGHKZ-kc.js +0 -997
  39. package/components/CoinRoyale-CbqmmMPg.cjs +0 -736
  40. package/components/CoinRoyale-ChWsctqo.cjs +0 -759
  41. package/components/CoinRoyale-Ck3dlmOV.js +0 -1040
  42. package/components/CoinRoyale-CuEAflkt.cjs +0 -757
  43. package/components/CoinRoyale-Cw8ImDP5.js +0 -1040
  44. package/components/CoinRoyale-CxIBSKFK.js +0 -1017
  45. package/components/CoinRoyale-D-rF6BV4.js +0 -1019
  46. package/components/CoinRoyale-DH-tQHtT.cjs +0 -736
  47. package/components/CoinRoyale-DKWXkm3P.js +0 -1040
  48. package/components/CoinRoyale-DmcgvBwG.js +0 -997
  49. package/components/CoinRoyale-Y2G7RWga.js +0 -1020
  50. package/components/CoinRoyale-d2utu3E3.cjs +0 -759
  51. package/components/CoinRoyale-hmGqx4pF.cjs +0 -759
  52. package/components/CoinRoyale-ifgbuEK3.cjs +0 -759
  53. package/components/CoinRoyale-t3opSEHv.js +0 -1038
  54. package/components/CoinRoyale-xAkf1dm_.cjs +0 -738
  55. package/components/CoinRoyale-xHokf0cY.js +0 -1020
  56. package/components/DrawResult-BHZeM1oX.cjs +0 -1
  57. package/components/DrawResult-BVtwLs-z.js +0 -373
  58. package/components/DrawResult-CG5KTjF7.cjs +0 -1
  59. package/components/DrawResult-CbLPtjvZ.js +0 -343
  60. package/components/DrawResult-DMRODSxk.cjs +0 -1
  61. package/components/DrawResult-DTJJfQkP.js +0 -373
  62. package/components/DrawResult-DdL4fFZM.js +0 -343
  63. package/components/DrawResult-DxG4CaKK.cjs +0 -1
  64. package/components/DrawResult-SyzKXHgd.js +0 -343
  65. package/components/DrawResult-ZEAa0flC.js +0 -373
  66. package/components/GameCard-8k9KvRun.cjs +0 -3
  67. package/components/GameCard-A3k7RxF5.js +0 -63
  68. package/components/GameCard-B2td6J8K.js +0 -62
  69. package/components/GameCard-Bku9nP58.cjs +0 -3
  70. package/components/GameCard-CBGi9i6m.cjs +0 -3
  71. package/components/GameCard-CHZmVd6n.cjs +0 -3
  72. package/components/GameCard-Cj4zAE8_.js +0 -59
  73. package/components/GameCard-CrKoQU1B.js +0 -59
  74. package/components/GameCard-DFVjSdtd.cjs +0 -3
  75. package/components/GameCard-DHetS96-.js +0 -66
  76. package/components/GameCard-DcWpuwMl.cjs +0 -3
  77. package/components/GameCard-jIcB63Tt.js +0 -62
  78. package/components/GameHistory-9Mf_u0La.js +0 -231
  79. package/components/GameHistory-BktmYuDa.js +0 -231
  80. package/components/GameHistory-CGAhNQKk.js +0 -231
  81. package/components/GameHistory-ChYjWDsa.cjs +0 -12
  82. package/components/GameHistory-CmiIChL-.cjs +0 -12
  83. package/components/GameHistory-CrrlOaAg.js +0 -231
  84. package/components/GameHistory-DVsHn3lx.cjs +0 -12
  85. package/components/GameHistory-_jU0BiqI.js +0 -231
  86. package/components/GameHistory-aQf3vf9u.cjs +0 -12
  87. package/components/GameHistory-lyXo0tYb.cjs +0 -12
  88. package/components/GameHistory-uzrT81kU.js +0 -231
  89. package/components/GameHistory-v6cI-TIF.cjs +0 -12
  90. package/components/GamePlaceholder-4oI8uJ-1.cjs +0 -1
  91. package/components/GamePlaceholder-Bp4nTJeL.js +0 -84
  92. package/components/GamePlaceholder-COiYGwNi.cjs +0 -15
  93. package/components/GamePlaceholder-CfJ4hx9w.js +0 -70
  94. package/components/GamePlaceholder-D9JEXsAk.js +0 -84
  95. package/components/GamePlaceholder-DGnB06iW.js +0 -71
  96. package/components/GamePlaceholder-DS5evGU6.js +0 -85
  97. package/components/GamePlaceholder-DmiU1G7G.cjs +0 -15
  98. package/components/GamePlaceholder-Dwo_YAUQ.cjs +0 -1
  99. package/components/GamePlaceholder-Uni3xW09.cjs +0 -15
  100. package/components/GamePlaceholder-fVPk29f9.cjs +0 -15
  101. package/components/GamePlaceholder-vUYYV2Ps.js +0 -85
  102. package/components/GameRules-41OkRwZu.js +0 -115
  103. package/components/GameRules-BwLJBo6z.cjs +0 -3
  104. package/components/GameRules-CRiycUU8.js +0 -115
  105. package/components/GameRules-CTKyBDZO.cjs +0 -3
  106. package/components/GameRules-CV9sxZYz.js +0 -126
  107. package/components/GameRules-CuuoMoqN.cjs +0 -3
  108. package/components/GameRules-Cy7jwBok.js +0 -126
  109. package/components/GameRules-DUD8OKC0.js +0 -115
  110. package/components/GameRules-Dkl0qVzr.js +0 -126
  111. package/components/GameRules-DpGqZdSj.cjs +0 -3
  112. package/components/GameRules-DrBYjWA6.cjs +0 -3
  113. package/components/GameRules-DrZ6w0LM.cjs +0 -3
  114. package/components/MiniGamesHub-9mWWh3N1.js +0 -1111
  115. package/components/MiniGamesHub-B6YnaRxS.cjs +0 -79
  116. package/components/MiniGamesHub-B9aQplHl.js +0 -1135
  117. package/components/MiniGamesHub-BRRQIXZj.cjs +0 -79
  118. package/components/MiniGamesHub-BWPRLpyq.cjs +0 -16
  119. package/components/MiniGamesHub-BXcQ_faH.js +0 -1022
  120. package/components/MiniGamesHub-BaMQ2sWj.js +0 -1105
  121. package/components/MiniGamesHub-BbkgB1GV.js +0 -1105
  122. package/components/MiniGamesHub-BjME_rom.cjs +0 -16
  123. package/components/MiniGamesHub-Bn-xvO1e.js +0 -1055
  124. package/components/MiniGamesHub-BpjzFxHO.cjs +0 -16
  125. package/components/MiniGamesHub-BtC6TmtK.cjs +0 -16
  126. package/components/MiniGamesHub-BvS3Q0HA.js +0 -1135
  127. package/components/MiniGamesHub-C-9Nf-x7.js +0 -1029
  128. package/components/MiniGamesHub-C0ESIt9P.cjs +0 -16
  129. package/components/MiniGamesHub-CQ1jWyWR.js +0 -1111
  130. package/components/MiniGamesHub-CWV1acJR.cjs +0 -79
  131. package/components/MiniGamesHub-CfIFEVOU.js +0 -1022
  132. package/components/MiniGamesHub-CfeP3fA-.cjs +0 -79
  133. package/components/MiniGamesHub-ChMf3rL7.js +0 -1141
  134. package/components/MiniGamesHub-Cj_6ebsL.cjs +0 -16
  135. package/components/MiniGamesHub-CkVJjuZl.cjs +0 -79
  136. package/components/MiniGamesHub-CktxKKTj.cjs +0 -16
  137. package/components/MiniGamesHub-ClPq7L0V.cjs +0 -79
  138. package/components/MiniGamesHub-CrPltGGl.js +0 -1042
  139. package/components/MiniGamesHub-Cv7rxLAO.cjs +0 -79
  140. package/components/MiniGamesHub-D2Eet3pe.js +0 -1048
  141. package/components/MiniGamesHub-D4fNnQ70.js +0 -1141
  142. package/components/MiniGamesHub-D9A4HvPC.js +0 -1135
  143. package/components/MiniGamesHub-DCCeYwnc.js +0 -1055
  144. package/components/MiniGamesHub-DuAv3Z6t.cjs +0 -79
  145. package/components/MiniGamesHub-DuyWceLB.cjs +0 -16
  146. package/components/MiniGamesHub-Dz8Ltp98.js +0 -1048
  147. package/components/MiniGamesHub-_uRBhzYg.js +0 -1029
  148. package/components/MiniGamesHub-gVFlxi4x.cjs +0 -79
  149. package/components/MiniGamesHub-kIXoGqbZ.cjs +0 -16
  150. package/components/MiniGamesHub-o7rVTqn5.cjs +0 -79
  151. package/components/MiniGamesHub-v8PPHifq.js +0 -1072
  152. package/components/MiniGamesHub-w5poRbtq.js +0 -1105
  153. package/components/MysteryChest-4_QXLnuB.js +0 -1298
  154. package/components/MysteryChest-B10zFJU3.cjs +0 -741
  155. package/components/MysteryChest-B4h9tqVR.js +0 -1301
  156. package/components/MysteryChest-BJCFkn02.cjs +0 -737
  157. package/components/MysteryChest-BXPAdruk.js +0 -1290
  158. package/components/MysteryChest-Bq1NBRQI.cjs +0 -739
  159. package/components/MysteryChest-BsUxRwj9.js +0 -1248
  160. package/components/MysteryChest-BuB9PD57.js +0 -1240
  161. package/components/MysteryChest-C1jSQFBT.cjs +0 -741
  162. package/components/MysteryChest-C40hwiCW.cjs +0 -745
  163. package/components/MysteryChest-CKPELFiF.cjs +0 -737
  164. package/components/MysteryChest-CRJtPhlo.cjs +0 -743
  165. package/components/MysteryChest-CScyc3Jw.cjs +0 -745
  166. package/components/MysteryChest-Cg48wdP6.cjs +0 -741
  167. package/components/MysteryChest-CheF_Rh5.cjs +0 -739
  168. package/components/MysteryChest-CkSMlhn1.cjs +0 -741
  169. package/components/MysteryChest-Cq77jWfV.cjs +0 -739
  170. package/components/MysteryChest-CrL8IXga.js +0 -1309
  171. package/components/MysteryChest-CrXzepqD.js +0 -1296
  172. package/components/MysteryChest-D5OWiZfM.js +0 -1250
  173. package/components/MysteryChest-D6eks4QE.js +0 -1254
  174. package/components/MysteryChest-DE2NS9aL.js +0 -1299
  175. package/components/MysteryChest-DJuhkpSa.cjs +0 -743
  176. package/components/MysteryChest-DOTlHt7A.js +0 -1248
  177. package/components/MysteryChest-DfggF659.js +0 -1262
  178. package/components/MysteryChest-Di-dVQnd.cjs +0 -745
  179. package/components/MysteryChest-DnstXEZJ.js +0 -1298
  180. package/components/MysteryChest-IcRh-Dcp.js +0 -1247
  181. package/components/MysteryChest-dyhqTxMg.cjs +0 -739
  182. package/components/MysteryChest-egeYjlMm.js +0 -1249
  183. package/components/MysteryChest-pWptmU6O.js +0 -1297
  184. package/components/WheelOfFortune--1feiOUD.js +0 -950
  185. package/components/WheelOfFortune-B0g1znMo.cjs +0 -627
  186. package/components/WheelOfFortune-BC0wwnC-.cjs +0 -617
  187. package/components/WheelOfFortune-BYxOqBjA.js +0 -928
  188. package/components/WheelOfFortune-BgUB1tnc.js +0 -942
  189. package/components/WheelOfFortune-Bh2XAbs4.cjs +0 -619
  190. package/components/WheelOfFortune-Bq6wSR__.cjs +0 -627
  191. package/components/WheelOfFortune-BwmCnHru.js +0 -926
  192. package/components/WheelOfFortune-CEH-5uIV.js +0 -950
  193. package/components/WheelOfFortune-CHgHhi9q.cjs +0 -619
  194. package/components/WheelOfFortune-CRgnumXh.cjs +0 -627
  195. package/components/WheelOfFortune-CZ2cERqz.cjs +0 -619
  196. package/components/WheelOfFortune-CpYsfi8D.js +0 -934
  197. package/components/WheelOfFortune-CriOHAfp.cjs +0 -627
  198. package/components/WheelOfFortune-Cy64rFDw.js +0 -942
  199. package/components/WheelOfFortune-D2AVLv8r.js +0 -934
  200. package/components/WheelOfFortune-D2dcgbxg.js +0 -934
  201. package/components/WheelOfFortune-DZ7fGpS9.cjs +0 -619
  202. package/components/WheelOfFortune-DZg0i79U.js +0 -949
  203. package/components/WheelOfFortune-DawF7WTd.js +0 -944
  204. package/components/WheelOfFortune-DjdKhLGF.cjs +0 -617
  205. package/components/WheelOfFortune-Dsr3jMxy.cjs +0 -627
  206. package/components/WheelOfFortune-KpRQWn3C.cjs +0 -627
  207. package/components/WheelOfFortune-M5VMIsnw.cjs +0 -619
  208. package/components/WheelOfFortune-kXjxp6t7.js +0 -926
  209. package/components/WheelOfFortune-pBG33-QJ.js +0 -933
  210. package/components/WheelOfFortune-uTfPiHqd.js +0 -950
  211. package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +0 -3
  212. package/components/WheelOfFortuneWheel-BABzaEBd.js +0 -1812
  213. package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +0 -3
  214. package/components/WheelOfFortuneWheel-BYEHNHdI.js +0 -1807
  215. package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +0 -3
  216. package/components/WheelOfFortuneWheel-CQCLWOFi.js +0 -1908
  217. package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +0 -3
  218. package/components/WheelOfFortuneWheel-DUE4gyGP.js +0 -1741
  219. package/components/WheelOfFortuneWheel-DXhwrWpD.js +0 -1978
  220. package/components/WheelOfFortuneWheel-DgVQP4GA.js +0 -1735
  221. package/components/constants-BDMySuIA.cjs +0 -1
  222. package/components/constants-DNSPUges.cjs +0 -1
  223. package/components/constants-DdcZGwlM.js +0 -38
  224. package/components/constants-DgCBmV7S.js +0 -29
  225. package/components/countdown-2m_26DZf.js +0 -157
  226. package/components/countdown-Bp3yWidJ.cjs +0 -1
  227. package/components/countdown-CH5h-cVr.js +0 -146
  228. package/components/countdown-CnUPVFlE.cjs +0 -1
  229. package/components/countdown-YmZm4DrD.js +0 -146
  230. package/components/sparkles-B2kHtb3R.js +0 -14
  231. package/components/sparkles-BBLT1jhq.js +0 -14
  232. package/components/sparkles-BIl7-lvq.cjs +0 -1
  233. package/components/sparkles-BRrL2C0i.cjs +0 -1
  234. package/components/sparkles-BXFe6GK6.js +0 -18
  235. package/components/sparkles-Cot5wZXx.cjs +0 -1
  236. package/components/sparkles-DKbGLSaY.cjs +0 -1
  237. package/components/sparkles-WqrZ-iXs.js +0 -18
  238. package/components/spin-controller-BF6ymCY4.cjs +0 -1
  239. package/components/spin-controller-Bc8nQATS.cjs +0 -1
  240. package/components/spin-controller-CC3QZvWl.js +0 -175
  241. package/components/spin-controller-CEIahkSh.cjs +0 -1
  242. package/components/spin-controller-CUb1rpPl.js +0 -177
  243. package/components/spin-controller-CVXfvzb7.cjs +0 -1
  244. package/components/spin-controller-DkSQ07IL.js +0 -177
  245. package/components/spin-controller-Dxxx3-ya.js +0 -175
  246. package/components/utils-AGVOgUGK.cjs +0 -3
  247. package/components/utils-B3aNdyMX.js +0 -6055
  248. package/components/utils-DEov6Qk_.js +0 -6007
  249. package/components/utils-DQ220WK3.js +0 -6016
  250. package/components/utils-DwrHy7a0.js +0 -6007
  251. package/components/utils-Dwz-wUFC.cjs +0 -3
  252. package/components/utils-Rda5erjI.cjs +0 -3
  253. package/components/utils-fG_nzyoc.cjs +0 -3
  254. package/components/utils-qUyu-MNU.js +0 -6064
@@ -1,1247 +0,0 @@
1
- import { d as Yt, c as Tt, a as Bt, p as W, o as Et, i as z, e as Ue, l as N, s as L, h as C, r as V, b as d, f as b, m as ge, n as ze, j as St, g as Pt, k as Ye, u as Lt } from "./WheelOfFortuneWheel-DUE4gyGP.js";
2
- import { G as Rt, aM as x, aC as Ce, W as jt, a0 as e, au as o, aS as i, ah as Y, L as Mt, aY as q, aT as c, aO as It, aP as Dt, aG as J, aQ as Gt, aW as p, b5 as Kt, aU as Xt, aV as Ot, aN as re, b0 as Ft } from "./utils-DEov6Qk_.js";
3
- import { j as $t } from "./constants-Q_kcdbM6.js";
4
- import { c as At } from "./countdown-2m_26DZf.js";
5
- import { c as Ht, f as Ut } from "./remaining-times-DiYnfuZB.js";
6
- import { D as Zt } from "./DrawResult-DdL4fFZM.js";
7
- import { G as Wt } from "./GameHistory-_jU0BiqI.js";
8
- import { G as Nt } from "./GameRules-CRiycUU8.js";
9
- import { B as Vt } from "./BackButton-gIVGAf6v.js";
10
- import { b as qt } from "./mystery-chest-bg-CGT-JTBW.js";
11
- import { c as Jt } from "./mystery-chest-locked-CIxpYU3v.js";
12
- import { c as Qt } from "./mystery-chest-empty-D7bbrCHH.js";
13
- import { c as en } from "./mystery-chest-win-D1NYItcd.js";
14
- import { k as Ze } from "./key-D1g9LqMU.js";
15
- var tn = b('<span class="mystery-chest__particle svelte-1af7gxu"></span>'), nn = b('<div class="mystery-chest__scene-glow svelte-1af7gxu"></div> <!>', 1), an = b('<button role="tab" type="button"> </button>'), rn = b('<span class="mystery-chest__rays svelte-1af7gxu" aria-hidden="true"></span> <span class="mystery-chest__shockwave svelte-1af7gxu" aria-hidden="true"></span> <span class="mystery-chest__opening-glow svelte-1af7gxu" aria-hidden="true"></span>', 1), sn = Ye('<path class="mystery-chest__keyhole-solid svelte-1af7gxu"></path>'), on = Ye('<path class="mystery-chest__keyhole-dots svelte-1af7gxu"></path><path class="mystery-chest__keyhole-light svelte-1af7gxu" pathLength="100"></path>', 1), ln = Ye('<svg viewBox="0 0 100 150" aria-hidden="true"><path class="mystery-chest__keyhole-fill svelte-1af7gxu"></path><!></svg>'), cn = b('<span class="mystery-chest__lock-flash svelte-1af7gxu"></span>'), pn = b('<div><img class="mystery-chest__key-img svelte-1af7gxu" alt="" draggable="false"/></div>'), mn = b('<img alt="" aria-hidden="true" draggable="false"/>'), dn = b('<div class="mystery-chest__badge svelte-1af7gxu"><p class="mystery-chest__badge-title svelte-1af7gxu"> </p> <p class="mystery-chest__badge-body svelte-1af7gxu"> </p> <button class="mystery-chest__badge-close svelte-1af7gxu" type="button"> </button></div>'), fn = b('<div class="mystery-chest__badge svelte-1af7gxu"><p class="mystery-chest__badge-title svelte-1af7gxu"> </p> <p class="mystery-chest__badge-countdown svelte-1af7gxu"> </p></div>'), yn = b('<span class="mystery-chest__flips-loader svelte-1af7gxu"></span>'), gn = b('<p class="mystery-chest__hint svelte-1af7gxu"> </p> <p class="mystery-chest__flips svelte-1af7gxu"> <span class="mystery-chest__flips-count svelte-1af7gxu"><svg class="mystery-chest__flips-icon svelte-1af7gxu" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M10 6H10.0067M10 10C12.2091 10 14 8.20914 14 6C14 3.79086 12.2091 2 10 2C7.79086 2 6 3.79086 6 6C6 6.18245 6.01222 6.36205 6.03587 6.53802C6.07478 6.82745 6.09424 6.97217 6.08114 7.06373C6.0675 7.1591 6.05013 7.2105 6.00313 7.2946C5.958 7.37533 5.87847 7.45486 5.71942 7.61391L2.31242 11.0209C2.19712 11.1362 2.13947 11.1939 2.09824 11.2611C2.06169 11.3208 2.03475 11.3858 2.01842 11.4538C2 11.5306 2 11.6121 2 11.7752V12.9333C2 13.3067 2 13.4934 2.07266 13.636C2.13658 13.7614 2.23856 13.8634 2.36401 13.9273C2.50661 14 2.6933 14 3.06667 14H4.22484C4.3879 14 4.46943 14 4.54615 13.9816C4.61418 13.9652 4.67921 13.9383 4.73886 13.9018C4.80613 13.8605 4.86378 13.8029 4.97909 13.6876L8.38609 10.2806C8.54514 10.1215 8.62467 10.042 8.7054 9.99687C8.7895 9.94987 8.8409 9.9325 8.93627 9.91886C9.02783 9.90576 9.17255 9.92522 9.46198 9.96413C9.63795 9.98778 9.81755 10 10 10Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" class="svelte-1af7gxu"></path></svg> <!></span></p>', 1), hn = b('<div class="mystery-chest__play svelte-1af7gxu"><div><!> <img class="mystery-chest__chest-img svelte-1af7gxu" alt="" draggable="false"/> <!> <!></div> <!> <!> <!></div> <!> <button class="mystery-chest__cta svelte-1af7gxu" type="button"> </button>', 1), un = b('<div><div class="mystery-chest__scene svelte-1af7gxu" aria-hidden="true"><img class="mystery-chest__scene-img svelte-1af7gxu" alt="" draggable="false"/> <div class="mystery-chest__scene-tint svelte-1af7gxu"></div> <!></div> <!> <div class="mystery-chest__heading svelte-1af7gxu"><h3 class="mystery-chest__title svelte-1af7gxu"> </h3> <p class="mystery-chest__subtitle svelte-1af7gxu"> </p></div> <div class="mystery-chest__tabs svelte-1af7gxu" role="tablist"><div class="mystery-chest__tab-indicator svelte-1af7gxu"></div> <!></div> <!></div>');
16
- const xn = {
17
- hash: "svelte-1af7gxu",
18
- code: `@keyframes svelte-1af7gxu-game-bob {
19
- 0%, 100% {
20
- transform: translateY(0);
21
- }
22
- 50% {
23
- transform: translateY(-10px);
24
- }
25
- }
26
- @keyframes svelte-1af7gxu-game-bg-drift {
27
- 0%, 100% {
28
- transform: scale(1.06) translate(0, 0);
29
- }
30
- 50% {
31
- transform: scale(1.12) translate(-1.5%, -1%);
32
- }
33
- }
34
- @keyframes svelte-1af7gxu-game-cta-glow {
35
- 0%, 100% {
36
- transform: scale(1);
37
- filter: brightness(1);
38
- box-shadow: 0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
39
- }
40
- 50% {
41
- transform: scale(1.065);
42
- filter: brightness(1.08);
43
- box-shadow: 0 12px 18px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 204, 0, 0.62), 0 0 44px rgba(255, 183, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46);
44
- }
45
- }
46
- @keyframes svelte-1af7gxu-mc-loader-spin {
47
- to {
48
- transform: rotate(360deg);
49
- }
50
- }
51
- @keyframes svelte-1af7gxu-mc-float-up {
52
- 0% {
53
- transform: translateY(0);
54
- opacity: 0;
55
- }
56
- 15% {
57
- opacity: 1;
58
- }
59
- 100% {
60
- transform: translateY(-420px);
61
- opacity: 0;
62
- }
63
- }
64
- @keyframes svelte-1af7gxu-mc-dot-march {
65
- to {
66
- stroke-dashoffset: -9;
67
- }
68
- }
69
- @keyframes svelte-1af7gxu-mc-light-run {
70
- to {
71
- stroke-dashoffset: -100;
72
- }
73
- }
74
- @keyframes svelte-1af7gxu-mc-key-halo-pulse {
75
- 0%, 100% {
76
- border-color: rgba(255, 236, 150, 0.55);
77
- box-shadow: 0 0 12px rgba(255, 204, 0, 0.25), inset 0 0 8px rgba(255, 204, 0, 0.15);
78
- }
79
- 50% {
80
- border-color: rgba(255, 236, 150, 0.95);
81
- box-shadow: 0 0 24px rgba(255, 204, 0, 0.55), inset 0 0 14px rgba(255, 204, 0, 0.3);
82
- }
83
- }
84
- @keyframes svelte-1af7gxu-mc-lock-jolt {
85
- 0% {
86
- transform: translateY(0) rotate(0);
87
- }
88
- 20% {
89
- transform: translateY(2px) rotate(-1.5deg);
90
- }
91
- 45% {
92
- transform: translateY(-3px) rotate(1.2deg);
93
- }
94
- 70% {
95
- transform: translateY(1px) rotate(-0.5deg);
96
- }
97
- 100% {
98
- transform: translateY(0) rotate(0);
99
- }
100
- }
101
- @keyframes svelte-1af7gxu-mc-lock-flash {
102
- 0% {
103
- opacity: 0;
104
- transform: translate(-50%, -50%) scale(0.3);
105
- }
106
- 35% {
107
- opacity: 1;
108
- }
109
- 100% {
110
- opacity: 0;
111
- transform: translate(-50%, -50%) scale(1.8);
112
- }
113
- }
114
- @keyframes svelte-1af7gxu-mc-ray-spin {
115
- from {
116
- transform: translate(-50%, -50%) rotate(0deg);
117
- }
118
- to {
119
- transform: translate(-50%, -50%) rotate(360deg);
120
- }
121
- }
122
- @keyframes svelte-1af7gxu-mc-ray-in {
123
- 0% {
124
- opacity: 0;
125
- }
126
- 60% {
127
- opacity: 0.9;
128
- }
129
- 100% {
130
- opacity: 0.75;
131
- }
132
- }
133
- @keyframes svelte-1af7gxu-mc-shockwave {
134
- 0% {
135
- transform: translate(-50%, -50%) scale(0.2);
136
- opacity: 0.8;
137
- }
138
- 100% {
139
- transform: translate(-50%, -50%) scale(2.6);
140
- opacity: 0;
141
- }
142
- }
143
- @keyframes svelte-1af7gxu-mc-opening-glow {
144
- 0%, 100% {
145
- transform: translate(-50%, -50%) scale(1);
146
- opacity: 0.55;
147
- }
148
- 50% {
149
- transform: translate(-50%, -50%) scale(1.08);
150
- opacity: 0.9;
151
- }
152
- }
153
- @keyframes svelte-1af7gxu-mc-chest-shake {
154
- 0%, 100% {
155
- transform: translate(0, 0) rotate(0deg);
156
- }
157
- 20% {
158
- transform: translate(-5px, 1px) rotate(-2.5deg);
159
- }
160
- 40% {
161
- transform: translate(5px, -1px) rotate(2.5deg);
162
- }
163
- 60% {
164
- transform: translate(-4px, 2px) rotate(-2deg);
165
- }
166
- 80% {
167
- transform: translate(4px, -2px) rotate(2deg);
168
- }
169
- }
170
- @keyframes svelte-1af7gxu-mc-chest-burst {
171
- 0% {
172
- transform: scale(1);
173
- }
174
- 40% {
175
- transform: scale(0.92) translateY(6px);
176
- }
177
- 70% {
178
- transform: scale(1.12) translateY(-14px);
179
- }
180
- 100% {
181
- transform: scale(1) translateY(0);
182
- }
183
- }
184
- @keyframes svelte-1af7gxu-mc-dust-puff {
185
- 0% {
186
- transform: translate(0, 0) scale(0.4);
187
- opacity: 0;
188
- }
189
- 30% {
190
- opacity: 0.6;
191
- }
192
- 100% {
193
- transform: translate(var(--dust-dx, 0), var(--dust-dy, -80px)) scale(1.6);
194
- opacity: 0;
195
- }
196
- } .mystery-chest {--yellow: var(--color-text-brand, #ffd400);--white: var(--color-text-default, #f4f8ff);--ease: cubic-bezier(0.22, 0.61, 0.32, 1);--mc-bob: 5000ms;--mc-stage-h: max(820px, min(100dvh, 900px));--mc-bg-w: calc(var(--mc-stage-h) * 1.013);container-type:inline-size;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;width:100%;margin:0 auto;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);min-height:calc(var(--game-stage-size, clamp(276px, 100vw, 430px)) + 400px);flex-shrink:0;overflow:hidden;color:var(--white);background:transparent;} .mystery-chest *,
197
- .mystery-chest *::before,
198
- .mystery-chest *::after {box-sizing:border-box;} .mystery-chest.mystery-chest--plain .mystery-chest__scene {opacity:0;transition:none;} .mystery-chest.mystery-chest--plain .mystery-chest__scene-img,
199
- .mystery-chest.mystery-chest--plain .mystery-chest__particle {animation-play-state:paused;} .mystery-chest.mystery-chest--result .mystery-chest__heading,
200
- .mystery-chest.mystery-chest--result .mystery-chest__tabs {display:none;} .mystery-chest.mystery-chest--busy .game-back-button,
201
- .mystery-chest.mystery-chest--busy .mystery-chest__tabs,
202
- .mystery-chest.mystery-chest--busy .mystery-chest__cta {pointer-events:none;} .mystery-chest.mystery-chest--opening .game-back-button,
203
- .mystery-chest.mystery-chest--opening .mystery-chest__heading,
204
- .mystery-chest.mystery-chest--opening .mystery-chest__tabs,
205
- .mystery-chest.mystery-chest--opening .mystery-chest__hint,
206
- .mystery-chest.mystery-chest--opening .mystery-chest__flips,
207
- .mystery-chest.mystery-chest--opening .mystery-chest__cta,
208
- .mystery-chest.mystery-chest--opening .mystery-chest__key {opacity:0;filter:blur(4px);pointer-events:none;transition:opacity 0.4s ease, filter 0.4s ease;} .mystery-chest.mystery-chest--opening .mystery-chest__scene-img {opacity:0.25;transition:opacity 0.4s ease;} .mystery-chest.mystery-chest--opening .mystery-chest__scene-glow,
209
- .mystery-chest.mystery-chest--opening .mystery-chest__particle {opacity:0;transition:opacity 0.4s ease;} .mystery-chest__scene {position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;transition:opacity 1s ease;-webkit-mask-image:linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);mask-image:linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);} .mystery-chest__scene-img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 68%;} .mystery-chest:not(.mystery-chest--result, .mystery-chest--lite) .mystery-chest__scene-img {
210
- animation: svelte-1af7gxu-game-bg-drift 26s ease-in-out infinite;} .mystery-chest__scene-tint {position:absolute;inset:0;background:color-mix(in srgb, var(--color-primary-6, #301200) 55%, transparent);} .mystery-chest__scene-glow {position:absolute;inset:0;background:radial-gradient(120% 70% at 50% 38%, rgba(79, 169, 255, 0.28) 0%, rgba(2, 38, 82, 0) 55%), radial-gradient(140% 90% at 50% 110%, rgba(1, 12, 30, 0.9) 0%, rgba(1, 12, 30, 0) 60%);} .mystery-chest__particle {position:absolute;bottom:96px;border-radius:50%;background:#ffe680;box-shadow:0 0 8px 2px rgba(255, 204, 0, 0.7);opacity:0;
211
- animation: svelte-1af7gxu-mc-float-up linear infinite;}
212
- @container (min-width: 600px) { .mystery-chest__scene {left:50%;right:auto;width:min(var(--mc-bg-w), 100cqw);transform:translateX(-50%);-webkit-mask-image:linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);mask-image:linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);}
213
- } .mystery-chest__heading {position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:6px;} .mystery-chest__title {margin:0;text-align:center;font-size:clamp(20px, 5.5vw, 28px);font-weight:900;line-height:1.05;color:var(--yellow);text-shadow:0 3px 14px rgba(0, 0, 0, 0.35);} .mystery-chest__subtitle {margin:0 0 clamp(10px, 3vw, 16px);text-align:center;font-size:clamp(11px, 3vw, 14px);font-weight:500;line-height:1.25;color:var(--white);opacity:0.92;} .mystery-chest__tabs {position:relative;z-index:2;display:flex;justify-content:center;width:90%;max-width:700px;margin-bottom:12px;padding:6px;border-radius:50px;background:var(--color-tabs, rgba(255, 255, 255, 0.1));box-shadow:inset 0 0 0 1px var(--color-border-subtle, rgba(255, 255, 255, 0.08)), inset 0 2px 6px rgba(0, 0, 0, 0.25);height:46px;} .mystery-chest__tab-indicator {position:absolute;top:6px;bottom:6px;left:6px;width:calc((100% - 12px) / 3);border-radius:50px;background:var(--color-tabs-selected, linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12)));box-shadow:0 2px 8px rgba(0, 0, 0, 0.25);transition:transform 0.32s var(--ease);pointer-events:none;} .mystery-chest__tab {position:relative;z-index:1;width:100%;padding:5px;border:none;border-radius:50px;background:transparent;color:var(--white);cursor:pointer;opacity:0.75;transition:opacity 0.15s ease, transform 0.1s ease;font-size:16px;} .mystery-chest__tab--active {opacity:1;} .mystery-chest__tab:active {transform:scale(0.95);} .mystery-chest__play {position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;width:var(--game-stage-size, clamp(276px, 100vw, 430px));} .mystery-chest__chest {position:relative;width:min(260px, 100%);
214
- animation: svelte-1af7gxu-game-bob var(--mc-bob) ease-in-out infinite;will-change:transform;}
215
- @media (min-width: 768px) { .mystery-chest__chest {width:360px;}
216
- } .mystery-chest__chest--still {
217
- animation: none;} .mystery-chest__chest--locked {
218
- animation: none;} .mystery-chest__chest--locked .mystery-chest__chest-img {filter:blur(3px) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));opacity:0.75;pointer-events:none;} .mystery-chest__chest--filling {
219
- animation: svelte-1af7gxu-mc-lock-jolt 0.5s ease-out both;} .mystery-chest__chest--opening {
220
- animation: none;} .mystery-chest__chest--opening .mystery-chest__chest-img {
221
- animation: svelte-1af7gxu-mc-chest-shake 0.5s ease-in-out 0.4s 2, svelte-1af7gxu-mc-chest-burst 0.7s ease-out 1.4s forwards;} .mystery-chest__chest--opening .mystery-chest__keyhole {opacity:0;transition:opacity 0.2s ease;} .mystery-chest__rays {position:absolute;top:50%;left:50%;z-index:0;width:clamp(380px, 110vw, 620px);aspect-ratio:1;border-radius:50%;pointer-events:none;transform:translate(-50%, -50%);background:conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 236, 150, 0.55) 12deg, rgba(255, 255, 255, 0) 24deg, rgba(255, 236, 150, 0.55) 36deg, rgba(255, 255, 255, 0) 48deg, rgba(255, 236, 150, 0.55) 60deg, rgba(255, 255, 255, 0) 72deg, rgba(255, 236, 150, 0.55) 84deg, rgba(255, 255, 255, 0) 96deg, rgba(255, 236, 150, 0.55) 108deg, rgba(255, 255, 255, 0) 120deg);-webkit-mask-image:radial-gradient(circle, transparent 22%, black 30%, transparent 72%);mask-image:radial-gradient(circle, transparent 22%, black 30%, transparent 72%);
222
- animation: svelte-1af7gxu-mc-ray-spin 6s linear infinite, svelte-1af7gxu-mc-ray-in 0.8s ease-out both;} .mystery-chest__shockwave {position:absolute;top:50%;left:50%;z-index:1;width:280px;height:280px;border-radius:50%;border:2px solid #ffe680;pointer-events:none;transform:translate(-50%, -50%) scale(0.2);opacity:0;
223
- animation: svelte-1af7gxu-mc-shockwave 1.1s ease-out 0.9s forwards;} .mystery-chest__opening-glow {position:absolute;top:50%;left:50%;z-index:1;width:320px;height:320px;border-radius:50%;pointer-events:none;transform:translate(-50%, -50%);background:radial-gradient(circle, rgba(255, 236, 150, 0.55), transparent 65%);filter:blur(10px);
224
- animation: svelte-1af7gxu-mc-opening-glow 0.8s ease-in-out infinite;} .mystery-chest__chest--opening .mystery-chest__chest-img {position:relative;z-index:2;} .mystery-chest__chest-img {display:block;width:100%;height:auto;user-select:none;filter:drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));} .mystery-chest__keyhole {position:absolute;height:auto;overflow:visible;transform:translate(-55%, -50%);scale:0.9;filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));transition:scale 0.2s var(--ease), filter 0.2s var(--ease);pointer-events:none;} .mystery-chest__keyhole--active {scale:0.95;filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(255, 204, 0, 0.95));} .mystery-chest__keyhole--active .mystery-chest__keyhole-dots {stroke:#ffcc00;} .mystery-chest__keyhole-fill {fill:rgba(1, 12, 30, 0.5);} .mystery-chest__keyhole-dots {fill:none;stroke:rgba(255, 255, 255, 0.9);stroke-width:3;stroke-dasharray:1 8;stroke-linecap:round;
225
- animation: svelte-1af7gxu-mc-dot-march 1.4s linear infinite;} .mystery-chest__keyhole-light {fill:none;stroke:#fff2b0;stroke-width:4;stroke-linecap:round;stroke-dasharray:10 90;opacity:0.95;filter:drop-shadow(0 0 6px rgba(255, 204, 0, 0.95));
226
- animation: svelte-1af7gxu-mc-light-run 1.8s linear infinite;} .mystery-chest__keyhole--filling {scale:1;filter:drop-shadow(0 0 10px rgba(255, 204, 0, 0.95));} .mystery-chest__keyhole-solid {fill:none;stroke:#ffcc00;stroke-width:4;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(255, 204, 0, 0.95));} .mystery-chest__lock-flash {position:absolute;width:90px;height:90px;border-radius:50%;pointer-events:none;transform:translate(-50%, -50%);background:radial-gradient(circle, rgba(255, 236, 150, 0.9), rgba(255, 204, 0, 0.3) 45%, transparent 70%);
227
- animation: svelte-1af7gxu-mc-lock-flash 0.7s ease-out both;} .mystery-chest__key {position:relative;z-index:3;width:92px;touch-action:none;user-select:none;cursor:grab;transition:transform 0.2s var(--ease);} .mystery-chest__key::before {content:"";position:absolute;top:50%;left:50%;width:160px;height:60px;border-radius:50%;background:linear-gradient(-45deg, rgba(255, 255, 255, 0.9), rgba(79, 169, 255, 0.6));filter:blur(32px);transform:translate(-50%, -50%);pointer-events:none;z-index:-1;} .mystery-chest__key--dragging::before {opacity:0;} .mystery-chest__key--dragging {cursor:grabbing;transition:none;} .mystery-chest__key-img {display:block;width:100%;height:auto;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
228
- animation: svelte-1af7gxu-game-bob var(--mc-bob) ease-in-out calc(var(--mc-bob) / -2) infinite;will-change:transform;} .mystery-chest__key--dragging .mystery-chest__key-img {animation-play-state:paused;} .mystery-chest__key--hidden {visibility:hidden;} .mystery-chest__key-fly {position:fixed;top:0;left:0;z-index:50;width:92px;pointer-events:none;filter:drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6));will-change:transform, left, top;} .mystery-chest__key-fly--flying {transition:left 0.55s cubic-bezier(0.3, 0.7, 0.3, 1), top 0.55s cubic-bezier(0.3, 0.7, 0.3, 1), transform 0.55s ease-out;} .mystery-chest__key-fly--inserting {transition:left 0.3s ease-in, top 0.3s ease-in, transform 0.3s ease-in;} .mystery-chest__key-fly--fading {opacity:0;transition:opacity 0.3s ease-out;} .mystery-chest--lite {--mc-bob: 3200ms;} .mystery-chest__hint {position:relative;z-index:2;margin:0;font-size:clamp(11px, 3vw, 13px);color:var(--white);opacity:0.85;} .mystery-chest__flips {position:relative;z-index:2;display:flex;align-items:center;gap:8px;margin:0;font-size:clamp(12px, 3.4vw, 14px);font-weight:400;color:var(--white);} .mystery-chest__flips-count {display:flex;align-items:center;gap:6px;font-size:clamp(14px, 4vw, 16px);font-weight:900;color:var(--yellow);} .mystery-chest__flips-icon {width:16px;height:16px;color:#ffcc00;flex-shrink:0;} .mystery-chest__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;color:var(--color-text-button-primary, #0a2140);background:linear-gradient(180deg, color-mix(in srgb, var(--color-button-primary, #ffd400) 70%, white) 0%, var(--color-button-primary, #ffd400) 55%, var(--color-button-primary-hover, #e0b400) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);cursor:pointer;
229
- animation: svelte-1af7gxu-game-cta-glow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:transform 0.15s ease, filter 0.15s ease;} .mystery-chest__cta:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .mystery-chest__cta:disabled {
230
- animation: none;filter:grayscale(0.5) brightness(0.75);box-shadow:none;cursor:default;} .mystery-chest__flips-loader {display:inline-block;width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
231
- animation: svelte-1af7gxu-mc-loader-spin 600ms linear infinite;} .draw-result-dust {position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:center;z-index:0;} .draw-result-dust__puff {position:absolute;border-radius:50%;background:#cdbfae;filter:blur(2px);opacity:0;
232
- animation: svelte-1af7gxu-mc-dust-puff 2s ease-out infinite;} .draw-result-image-wrap {position:relative;isolation:isolate;width:42%;max-width:210px;} .draw-result-image-wrap::before {content:"";position:absolute;top:50%;left:50%;z-index:-1;width:230px;height:230px;border-radius:50%;background:linear-gradient(-45deg, rgba(255, 255, 255, 0.9), rgba(79, 169, 255, 0.6));filter:blur(42px);transform:translate(-50%, -50%);pointer-events:none;} .draw-result-stack .draw-result-image-wrap img {display:block;width:100%;max-width:none;
233
- animation: svelte-1af7gxu-game-bob var(--mc-bob) ease-in-out infinite;will-change:transform;} .mystery-chest__badge {position:absolute;top:60%;left:50%;transform:translate(-50%, -50%);z-index:8;width:58%;padding:10px 12px;border-radius:10px;text-align:center;background:rgba(4, 18, 43, 0.86);border:1px solid rgba(255, 255, 255, 0.14);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);} .mystery-chest__badge-title {margin:0;color:#ffffff;font-size:12px;font-weight:700;letter-spacing:0.2px;} .mystery-chest__badge-body {margin:0;color:var(--color-text-subtle, rgba(244, 248, 255, 0.75));font-size:10px;line-height:1.45;} .mystery-chest__badge-countdown {margin:0;color:var(--color-text-subtle, rgba(244, 248, 255, 0.75));font-size:clamp(13px, 3.8vw, 18px);font-variant-numeric:tabular-nums;} .mystery-chest__badge-close {margin-top:8px;padding:4px 14px;border-radius:6px;border:1px solid rgba(255, 255, 255, 0.22);background:rgba(255, 255, 255, 0.12);color:#ffffff;font-size:11px;font-weight:600;cursor:pointer;transition:background 150ms ease;} .mystery-chest__badge-close:hover {background:rgba(255, 255, 255, 0.2);}
234
- @media (max-width: 767px) { .mystery-chest__tabs {width:100%;margin:0 auto;} .mystery-chest__tab {font-size:12px;}
235
- }
236
- @keyframes svelte-1af7gxu-stageFloat {
237
- 0%, 100% {
238
- transform: translate3d(0, 0, 0) rotate(-0.12deg) scale(1);
239
- }
240
- 42% {
241
- transform: translate3d(0, -4px, 0) rotate(0.16deg) scale(1.002);
242
- }
243
- 72% {
244
- transform: translate3d(0, 2px, 0) rotate(-0.04deg) scale(0.999);
245
- }
246
- }
247
- @keyframes svelte-1af7gxu-stageGlow {
248
- 0%, 100% {
249
- opacity: 0.46;
250
- transform: scale(0.94);
251
- filter: blur(27px);
252
- }
253
- 50% {
254
- opacity: 0.68;
255
- transform: scale(1.02);
256
- filter: blur(31px);
257
- }
258
- }
259
- @keyframes svelte-1af7gxu-glowOrbit {
260
- 0%, 100% {
261
- opacity: 0.13;
262
- transform: scale(0.88) rotate(-8deg);
263
- }
264
- 50% {
265
- opacity: 0.24;
266
- transform: scale(0.95) rotate(5deg);
267
- }
268
- }
269
- @keyframes svelte-1af7gxu-frameGlowBreath {
270
- 0%, 100% {
271
- opacity: 0.58;
272
- transform: scale(0.94);
273
- filter: blur(30px);
274
- }
275
- 48% {
276
- opacity: 0.82;
277
- transform: scale(1.03);
278
- filter: blur(34px);
279
- }
280
- }
281
- @keyframes svelte-1af7gxu-wheelDrop {
282
- 0% {
283
- transform: translateY(-60vh) scale(0.961) rotate(-9deg);
284
- opacity: 0;
285
- }
286
- 70% {
287
- transform: translateY(-20px) scale(1.012) rotate(2deg);
288
- opacity: 1;
289
- }
290
- 86% {
291
- transform: translateY(0px) scale(0.997) rotate(-0.6deg);
292
- }
293
- 100% {
294
- transform: translateY(0) scale(1) rotate(0);
295
- opacity: 1;
296
- }
297
- }
298
- @keyframes svelte-1af7gxu-spinGlowPop {
299
- 0% {
300
- opacity: 0.56;
301
- transform: scale(0.96);
302
- filter: blur(25px);
303
- }
304
- 32% {
305
- opacity: 0.92;
306
- transform: scale(1.08);
307
- filter: blur(31px);
308
- }
309
- 100% {
310
- opacity: 0.58;
311
- transform: scale(0.98);
312
- filter: blur(27px);
313
- }
314
- }
315
- @keyframes svelte-1af7gxu-glowPulse {
316
- 0%, 100% {
317
- opacity: 0.72;
318
- transform: scale(0.95);
319
- }
320
- 50% {
321
- opacity: 1;
322
- transform: scale(1.12);
323
- }
324
- }
325
- @keyframes svelte-1af7gxu-glowRing {
326
- 0%, 100% {
327
- opacity: 0.42;
328
- transform: scale(0.92);
329
- }
330
- 50% {
331
- opacity: 0.88;
332
- transform: scale(1.18);
333
- }
334
- }
335
- @keyframes svelte-1af7gxu-centerButtonSpinBreath {
336
- 0%, 100% {
337
- transform: scale(1);
338
- filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
339
- }
340
- 45% {
341
- transform: scale(1.032);
342
- filter: drop-shadow(0 11px 18px rgba(0, 0, 0, 0.36)) brightness(1.07);
343
- }
344
- }
345
- @keyframes svelte-1af7gxu-middleButtonIdleZoomGlow {
346
- 0%, 100% {
347
- transform: scale(1);
348
- filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 10px rgba(255, 212, 46, 0.22)) brightness(1);
349
- }
350
- 50% {
351
- transform: scale(1.045);
352
- filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 18px rgba(255, 212, 46, 0.42)) brightness(1.08);
353
- }
354
- }
355
- @keyframes svelte-1af7gxu-middleButtonPress {
356
- 0% {
357
- transform: scale(1);
358
- filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
359
- }
360
- 28% {
361
- transform: scale(0.91);
362
- filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.36)) brightness(0.98);
363
- }
364
- 68% {
365
- transform: scale(1.045);
366
- filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36)) brightness(1.08);
367
- }
368
- 100% {
369
- transform: scale(1);
370
- filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
371
- }
372
- }
373
- @keyframes svelte-1af7gxu-prizeStageGlow {
374
- 0% {
375
- opacity: 0.54;
376
- transform: scale(0.96);
377
- filter: blur(26px);
378
- }
379
- 22% {
380
- opacity: 0.94;
381
- transform: scale(1.06);
382
- filter: blur(20px);
383
- }
384
- 100% {
385
- opacity: 0.54;
386
- transform: scale(0.96);
387
- filter: blur(26px);
388
- }
389
- }
390
- @keyframes svelte-1af7gxu-prizeFillGlow {
391
- 0% {
392
- opacity: 0;
393
- transform: scale(0.982);
394
- }
395
- 8% {
396
- opacity: 0.94;
397
- transform: scale(1.008);
398
- }
399
- 24% {
400
- opacity: 0.62;
401
- transform: scale(0.997);
402
- }
403
- 42% {
404
- opacity: 0.8;
405
- transform: scale(1.006);
406
- }
407
- 60% {
408
- opacity: 0.55;
409
- transform: scale(0.999);
410
- }
411
- 78% {
412
- opacity: 0.72;
413
- transform: scale(1.004);
414
- }
415
- 100% {
416
- opacity: 0;
417
- transform: scale(0.99);
418
- }
419
- }
420
- @keyframes svelte-1af7gxu-prizeEdgePulse {
421
- 0% {
422
- opacity: 0;
423
- stroke-width: 0.035;
424
- }
425
- 8% {
426
- opacity: 1;
427
- stroke-width: 0.025;
428
- }
429
- 24% {
430
- opacity: 0.88;
431
- stroke-width: 0.035;
432
- }
433
- 42% {
434
- opacity: 1;
435
- stroke-width: 0.025;
436
- }
437
- 60% {
438
- opacity: 0.85;
439
- stroke-width: 0.035;
440
- }
441
- 78% {
442
- opacity: 1;
443
- stroke-width: 0.025;
444
- }
445
- 100% {
446
- opacity: 0.85;
447
- stroke-width: 0.035;
448
- }
449
- }
450
- @keyframes svelte-1af7gxu-prizeDashDance {
451
- 0% {
452
- opacity: 0;
453
- stroke-dashoffset: 12;
454
- }
455
- 10% {
456
- opacity: 0.94;
457
- }
458
- 48% {
459
- opacity: 0.78;
460
- }
461
- 82% {
462
- opacity: 0.66;
463
- }
464
- 100% {
465
- opacity: 0;
466
- stroke-dashoffset: -26;
467
- }
468
- }
469
- @keyframes svelte-1af7gxu-prizeSheenSweep {
470
- 0% {
471
- opacity: 0;
472
- transform: translateX(-7px) scale(0.98);
473
- }
474
- 12% {
475
- opacity: 0.58;
476
- transform: translateX(-1px) scale(1.01);
477
- }
478
- 36% {
479
- opacity: 0.22;
480
- transform: translateX(3px) scale(1);
481
- }
482
- 62% {
483
- opacity: 0.42;
484
- transform: translateX(1px) scale(1.008);
485
- }
486
- 100% {
487
- opacity: 0;
488
- transform: translateX(8px) scale(0.99);
489
- }
490
- }
491
- @keyframes svelte-1af7gxu-superPrizeStageGlow {
492
- 0% {
493
- transform: scale(0.96);
494
- opacity: 0.2;
495
- filter: blur(8px);
496
- }
497
- 45% {
498
- transform: scale(1.13);
499
- opacity: 0.86;
500
- filter: blur(13px);
501
- }
502
- 100% {
503
- transform: scale(1.03);
504
- opacity: 0.45;
505
- filter: blur(10px);
506
- }
507
- }
508
- @keyframes svelte-1af7gxu-superPrizeFillGlow {
509
- 0% {
510
- opacity: 0.2;
511
- transform: scale(0.96);
512
- }
513
- 32% {
514
- opacity: 1;
515
- transform: scale(1.045);
516
- }
517
- 66% {
518
- opacity: 0.72;
519
- transform: scale(1.015);
520
- }
521
- 100% {
522
- opacity: 0.58;
523
- transform: scale(1);
524
- }
525
- }
526
- @keyframes svelte-1af7gxu-superPrizeSheenSweep {
527
- 0% {
528
- opacity: 0;
529
- transform: scale(0.88) rotate(-5deg);
530
- }
531
- 34% {
532
- opacity: 0.95;
533
- transform: scale(1.08) rotate(2deg);
534
- }
535
- 100% {
536
- opacity: 0.2;
537
- transform: scale(1.16) rotate(7deg);
538
- }
539
- }
540
- @keyframes svelte-1af7gxu-superPrizeEdgePulse {
541
- 0% {
542
- opacity: 0.4;
543
- transform: scale(0.97);
544
- }
545
- 38% {
546
- opacity: 1;
547
- transform: scale(1.055);
548
- }
549
- 70% {
550
- opacity: 0.86;
551
- transform: scale(1.018);
552
- }
553
- 100% {
554
- opacity: 0.72;
555
- transform: scale(1);
556
- }
557
- }
558
- @keyframes svelte-1af7gxu-superPrizeDashDance {
559
- 0% {
560
- opacity: 0;
561
- stroke-dashoffset: 20;
562
- transform: scale(0.95);
563
- }
564
- 18% {
565
- opacity: 1;
566
- }
567
- 100% {
568
- opacity: 0.76;
569
- stroke-dashoffset: -42;
570
- transform: scale(1.04);
571
- }
572
- }
573
- @keyframes svelte-1af7gxu-buttonBreath {
574
- 0%, 100% {
575
- transform: scale(1);
576
- }
577
- 50% {
578
- transform: scale(1.035);
579
- }
580
- }
581
- @keyframes svelte-1af7gxu-buttonAura {
582
- 0%, 100% {
583
- filter: brightness(1) saturate(1);
584
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(83, 0, 18, 0.22), 0 4px 0 #710014, 0 13px 20px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 226, 135, 0.1);
585
- }
586
- 50% {
587
- filter: brightness(1.035) saturate(1.04);
588
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(83, 0, 18, 0.18), 0 4px 0 #710014, 0 15px 24px rgba(0, 0, 0, 0.24), 0 0 18px rgba(255, 183, 36, 0.13);
589
- }
590
- }
591
- @keyframes svelte-1af7gxu-buttonSheen {
592
- 0%, 58%, 100% {
593
- transform: translateX(-120%);
594
- opacity: 0.22;
595
- }
596
- 72% {
597
- transform: translateX(120%);
598
- opacity: 0.42;
599
- }
600
- }
601
- @keyframes svelte-1af7gxu-buttonPop {
602
- 0% {
603
- transform: translateY(2px) scale(0.985);
604
- }
605
- 48% {
606
- transform: translateY(-2px) scale(1.018);
607
- }
608
- 100% {
609
- transform: translateY(0) scale(1);
610
- }
611
- }
612
- @keyframes svelte-1af7gxu-confettiFirework {
613
- 0% {
614
- opacity: 0;
615
- transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
616
- }
617
- 9% {
618
- opacity: 1;
619
- transform: translate(calc(-50% + var(--tx) * 0.42), calc(-50% + var(--ty) * 0.42)) scale(1.18) rotate(calc(var(--rot) + var(--spin) * 0.24));
620
- }
621
- 28% {
622
- opacity: 0.98;
623
- transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1) rotate(calc(var(--rot) + var(--spin) * 0.56));
624
- }
625
- 72% {
626
- opacity: 0.78;
627
- transform: translate(calc(-50% + var(--tx) * 1.08), calc(-50% + var(--ty) + var(--fall) * 0.62)) scale(0.88) rotate(calc(var(--rot) + var(--spin) * 0.86));
628
- }
629
- 100% {
630
- opacity: 0;
631
- transform: translate(calc(-50% + var(--tx) * 1.14), calc(-50% + var(--ty) + var(--fall))) scale(0.62) rotate(calc(var(--rot) + var(--spin)));
632
- }
633
- }
634
- @keyframes svelte-1af7gxu-swipeHandAcross {
635
- 0%, 100% {
636
- transform: translateX(-70px) rotate(-22deg);
637
- opacity: 0.65;
638
- }
639
- 50% {
640
- transform: translateX(70px) rotate(22deg);
641
- opacity: 0.65;
642
- }
643
- 25%, 75% {
644
- opacity: 1;
645
- }
646
- }
647
- @keyframes svelte-1af7gxu-wofSpinnerFadeIn {
648
- to {
649
- opacity: 1;
650
- }
651
- }
652
- @keyframes svelte-1af7gxu-wofSpinnerRotate {
653
- to {
654
- transform: rotate(360deg);
655
- }
656
- }
657
- @keyframes svelte-1af7gxu-titleSparkle {
658
- 0% {
659
- opacity: 0;
660
- transform: scale(0.2) rotate(0deg);
661
- }
662
- 40% {
663
- opacity: 1;
664
- transform: scale(1.4) rotate(35deg);
665
- }
666
- 100% {
667
- opacity: 0;
668
- transform: scale(0.6) translateY(-20px) rotate(75deg);
669
- }
670
- }
671
- @keyframes svelte-1af7gxu-drawResultPop {
672
- 0% {
673
- opacity: 0;
674
- transform: scale(0.92) translateY(8px);
675
- }
676
- 62% {
677
- opacity: 1;
678
- transform: scale(1.016) translateY(-2px);
679
- }
680
- 100% {
681
- opacity: 1;
682
- transform: scale(1) translateY(0);
683
- }
684
- }
685
- @keyframes svelte-1af7gxu-successElementIn {
686
- 0% {
687
- opacity: 0;
688
- transform: translate3d(0, 18px, 0) scale(0.98);
689
- filter: blur(3px);
690
- }
691
- 70% {
692
- opacity: 1;
693
- transform: translate3d(0, -2px, 0) scale(1.01);
694
- filter: blur(0);
695
- }
696
- 100% {
697
- opacity: 1;
698
- transform: translate3d(0, 0, 0) scale(1);
699
- filter: blur(0);
700
- }
701
- }
702
- @keyframes svelte-1af7gxu-successConfettiFall {
703
- 0% {
704
- opacity: 0;
705
- transform: translate3d(-50%, -18px, 0) rotate(var(--rot)) scale(0.62);
706
- }
707
- 9% {
708
- opacity: 1;
709
- }
710
- 46% {
711
- opacity: 0.96;
712
- transform: translate3d(calc(-50% + var(--tx) * 0.55), 48vh, 0) rotate(calc(var(--rot) + var(--spin) * 0.52)) scale(1);
713
- }
714
- 100% {
715
- opacity: 0;
716
- transform: translate3d(calc(-50% + var(--tx)), 108vh, 0) rotate(calc(var(--rot) + var(--spin))) scale(0.86);
717
- }
718
- }
719
- @keyframes svelte-1af7gxu-prizeCoinFloatZoom {
720
- 0%, 100% {
721
- transform: translate3d(0, 0, 0) scale(1);
722
- }
723
- 50% {
724
- transform: translate3d(0, -8px, 0) scale(1.065);
725
- }
726
- }
727
- @media (prefers-reduced-motion: reduce) { .wheel-wrapper,
728
- .wheel-wrapper::before,
729
- .wheel-wrapper::after,
730
- .drop-wrap,
731
- .wheel-disc,
732
- .center-button,
733
- .button-glow,
734
- .spin-button {
735
- animation: none !important;}
736
- } .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
737
- animation: svelte-1af7gxu-drawResultPop 420ms cubic-bezier(0.16, 0.92, 0.22, 1.04) both;} .draw-result-confetti-layer {position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;} .success-confetti-piece {--x: 50%;--tx: 0px;--rot: 0deg;--spin: 360deg;--hue: #ffd23e;--w: 8px;--h: 12px;--d: 1800ms;position:absolute;left:var(--x);top:-24px;width:var(--w);height:var(--h);border-radius:3px;background:var(--hue);filter:drop-shadow(0 0 5px rgba(255, 218, 74, 0.24));transform-origin:center;
738
- animation: svelte-1af7gxu-successConfettiFall var(--d) cubic-bezier(0.16, 0.68, 0.2, 1) forwards;} .success-confetti-piece.is-diamond {border-radius:2px;transform:rotate(45deg);} .success-confetti-piece.is-ribbon {border-radius:8px 2px;} .draw-result-stack {width:100%;display:grid;justify-items:center;position:relative;z-index:2;transform:translateY(clamp(16px, 5vw, 30px));} .draw-result-stack img {width:60%;max-width:300px;} .draw-result-stack img.lose {filter:saturate(0%);} .coin {width:clamp(140px, 38vw, 196px);height:clamp(142px, 38.5vw, 198px);display:grid;place-items:center;border-radius:0;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);will-change:opacity, transform;
739
- animation: svelte-1af7gxu-successElementIn 620ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms both;} .coin svg,
740
- .coin img {width:100%;height:100%;object-fit:contain;transform-origin:50% 54%;
741
- animation: svelte-1af7gxu-prizeCoinFloatZoom 1800ms ease-in-out infinite;} .draw-result-title {position:relative;margin:clamp(18px, 5vw, 26px) 0 clamp(14px, 4vw, 20px);color:var(--color-text-brand, #ffcc00);font-size:clamp(26px, 7.5vw, 36px);line-height:1.05;font-weight:900;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);
742
- animation: svelte-1af7gxu-successElementIn 560ms cubic-bezier(0.16, 0.92, 0.22, 1) 250ms both;} .draw-result-sparkle {position:absolute;color:var(--color-text-brand, #ffcc00);filter:drop-shadow(0 0 5px rgba(255, 204, 0, 0.9));opacity:0;pointer-events:none;
743
- animation: svelte-1af7gxu-titleSparkle 900ms ease-out forwards;} .draw-result-description {margin:0;color:var(--color-text-default, #ffffff);font-size:clamp(14px, 3.8vw, 17px);line-height:1.55;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);
744
- animation: svelte-1af7gxu-successElementIn 560ms cubic-bezier(0.16, 0.92, 0.22, 1) 390ms both;} .draw-result-description span {font-size:clamp(15px, 4.1vw, 19px);font-weight:900;} .draw-result-error-image {max-width:170px;} .draw-result-description--error {margin:0 20px;} .draw-result-actions {display:grid;justify-items:center;gap:12px;margin-top:clamp(16px, 4.5vw, 26px);opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);
745
- animation: svelte-1af7gxu-successElementIn 560ms cubic-bezier(0.16, 0.92, 0.22, 1) 560ms both;} .button-spinner {position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px;width:18px;height:18px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
746
- animation: svelte-1af7gxu-wofSpinnerRotate 600ms linear infinite;} .primary-cta {position:relative;min-width:clamp(148px, 42vw, 210px);min-height:clamp(42px, 10.5vw, 50px);border:none;border-radius:999px;color:var(--color-text-button-primary, #261d00);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4vw, 19px);font-weight:900;cursor:pointer;padding:0 20px;transition:transform 160ms ease, filter 160ms ease;} .primary-cta:hover {filter:brightness(1.06);transform:translateY(-1px);} .primary-cta:active {transform:translateY(2px) scale(0.98);} .secondary-cta {position:relative;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-subtle, rgba(238, 246, 255, 0.8196078431));font:inherit;font-size:clamp(13px, 3.4vw, 15px);font-weight:750;cursor:pointer;border:1px solid var(--color-text-subtle, rgba(238, 246, 255, 0.8196078431));border-radius:999px;padding:10px 20px;} .confirm-modal-content {position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:10;width:70%;height:85%;max-height:500px;padding:10px 12px;background:rgba(8, 4, 0, 0.95);backdrop-filter:blur(16px);border:1px solid rgba(255, 255, 255, 0.1);border-radius:10px;text-align:center;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;} .confirm-modal-title {color:#ffffff;font-size:26px;font-weight:700;letter-spacing:0.2px;margin:0 0 4px;} .confirm-modal-body {color:rgba(255, 255, 255, 0.6509803922);font-size:14px;line-height:1.45;margin:0 0 10px;} .confirm-modal-actions {display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;} .confirm-modal-actions button {width:fit-content;}
747
- @media (prefers-reduced-motion: reduce) { .coin,
748
- .draw-result-title,
749
- .draw-result-description,
750
- .draw-result-actions {opacity:1;transform:none;filter:none;} .coin svg,
751
- .coin img {
752
- animation: none;} .success-confetti-piece {
753
- animation: none;}
754
- } .game-back-button {position:relative;z-index:2;display:flex;align-items:center;justify-content:start;gap:10px;width:100%;max-width:700px;height:52px;flex-shrink:0;margin:0 auto;padding:10px;line-height:20px;border-radius:6px;background:transparent;border:none;color:var(--white);cursor:pointer;font-size:16px;} .game-back-button--hidden {display:none;} .game-back-button__icon {width:25px;height:25px;padding:7px;border-radius:50%;background:var(--color-overlay-neutral-2, rgba(255, 255, 255, 0.14));box-sizing:border-box;transition:transform 0.12s ease;} .game-back-button:active .game-back-button__icon {transform:scale(0.92);} .game-back-button__label {margin:0;}
755
- @media (max-width: 767px) { .game-back-button {display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:0;align-self:stretch;width:auto;height:44px;margin:12px 2px;padding:4px 8px;font-size:16px;line-height:24px;background-color:var(--color-bg-surface-level-3, var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843)));} .game-back-button__icon {justify-self:start;width:24px;height:24px;margin-left:6px;padding:4px;background:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));} .game-back-button__label {overflow:hidden;font-weight:500;text-align:center;text-overflow:ellipsis;white-space:nowrap;}
756
- }`
757
- };
758
- function vn(Te, D) {
759
- Rt(D, !0), Bt(Te, xn);
760
- const _ = () => It(Dt, "$_", We), [We, Ne] = Gt(), g = W(D, "program", 7, null), G = W(D, "endpoint", 7, null), K = W(D, "session", 7, null), he = W(D, "language", 7, "en"), ue = W(D, "showBackButton", 7, !0), Q = W(D, "liteMode", 7, !1), O = ["history", "play", "rules"], T = { x: 0.38, y: 0.61, width: 0.22, ratio: 1.5 }, Ve = [
761
- { left: 17.34, size: 7.02, duration: 8.3, delay: 0.82 },
762
- { left: 17.65, size: 7.04, duration: 5.23, delay: 0.87 },
763
- { left: 22.05, size: 6.06, duration: 8.1, delay: 4.14 },
764
- { left: 32.98, size: 3.94, duration: 8.5, delay: 5.97 },
765
- { left: 33.48, size: 4.65, duration: 5.54, delay: 2.22 },
766
- { left: 86.92, size: 5.49, duration: 6.98, delay: 5.13 },
767
- { left: 69.3, size: 4.59, duration: 9.94, delay: 4.69 },
768
- { left: 59.41, size: 6.79, duration: 7.18, delay: 2.33 },
769
- { left: 88.73, size: 4.55, duration: 8.69, delay: 2.98 },
770
- { left: 83.45, size: 6.33, duration: 9.85, delay: 4.96 },
771
- { left: 38.41, size: 6.88, duration: 8.47, delay: 2.86 },
772
- { left: 68.36, size: 5.33, duration: 5.15, delay: 2.17 },
773
- { left: 87.64, size: 4.64, duration: 5.11, delay: 5.7 },
774
- { left: 34.09, size: 7.96, duration: 8.16, delay: 2.01 }
775
- ], se = "M50 18 C33 18 20 31 20 48 C20 60 27 69 37 73 L29 128 C28 133 32 137 37 137 L63 137 C68 137 72 133 71 128 L63 73 C73 69 80 60 80 48 C80 31 67 18 50 18 Z";
776
- let j = x(Ce(O[1])), F = x(null), $ = x(!1), ee = x(!1), oe = x(!1), f = x("drag"), B = x(null);
777
- const Be = q(() => !!G() && !!g() && (g()?.remainingTimes ?? 0) > 0), te = q(() => !!g() && (g()?.remainingTimes ?? 0) <= 0), xe = q(() => e(Be) && !e($) && !e(ee) && !e(oe)), A = (t) => new Promise((n) => setTimeout(n, t));
778
- let ne = x(Ce({}));
779
- jt(() => {
780
- if (e(te))
781
- return At({
782
- getTarget: () => g()?.next?.startTime,
783
- onTick: (t) => o(ne, t, !0),
784
- // Hub refetches programs and re-targets activeGame to the live one.
785
- onElapsed: () => window.postMessage({ type: "PrizeGameCountdownElapsed" }, window.location.href)
786
- });
787
- });
788
- const qe = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), Je = (t) => {
789
- t === e(j) || e($) || o(j, t, !0);
790
- }, Qe = async (t) => {
791
- const n = new URL(`${G()}/v1/wof/draw/${g()?.id}`), a = new Headers();
792
- return K() && a.append("X-SessionId", K()), a.append("Content-Type", "application/json"), (await fetch(n, {
793
- method: "PUT",
794
- headers: a,
795
- cache: "no-store",
796
- body: JSON.stringify({ action: 1, guid: t })
797
- })).json();
798
- }, et = () => {
799
- if (e(ie)) {
800
- const n = e(ie).getBoundingClientRect();
801
- return { x: n.left + n.width / 2, y: n.top + n.height / 2 };
802
- }
803
- if (!e(H)) return null;
804
- const t = e(H).getBoundingClientRect();
805
- return {
806
- x: t.left + t.width * T.x,
807
- y: t.top + t.height * T.y
808
- };
809
- }, Ee = () => {
810
- o(f, "drag"), o(B, null);
811
- }, tt = async (t, n) => {
812
- const a = et();
813
- a && (o(f, "flying"), o(B, { x: t, y: n, scale: 1, rot: 0 }, !0), await A(30), o(B, { x: a.x - 80, y: a.y, scale: 1, rot: 0 }, !0), await A(570), o(f, "inserting"), o(B, { x: a.x, y: a.y - 15, scale: 1, rot: 0 }, !0), await A(350), o(f, "fading"), await A(300), o(f, "filling"), o(B, null), await A(700));
814
- }, nt = async () => {
815
- o(f, "opening"), o(B, null), await A(2400);
816
- }, Se = async (t, n) => {
817
- if (!e(xe)) return;
818
- if (o($, !0), o(ee, !1), t === void 0 || n === void 0) {
819
- const y = e(ae)?.getBoundingClientRect();
820
- t = y ? y.left + y.width / 2 : window.innerWidth / 2, n = y ? y.top + y.height / 2 : window.innerHeight / 2;
821
- }
822
- let a = !1;
823
- const m = setTimeout(
824
- () => {
825
- a || (a = !0, o(ee, !0), o($, !1), Ee());
826
- },
827
- $t
828
- ), h = Xt(), w = Qe(h).catch((y) => (console.log(y), null));
829
- await tt(t, n), await nt();
830
- const Z = await w;
831
- if (!a) {
832
- if (a = !0, clearTimeout(m), Z) {
833
- const y = Ot(Z, "draw");
834
- o(
835
- F,
836
- {
837
- ...y,
838
- guid: h,
839
- lotteryProgramID: y.lotteryProgramID ?? g()?.id
840
- },
841
- !0
842
- );
843
- }
844
- o($, !1), Ee();
845
- }
846
- }, at = () => o(ee, !1);
847
- let H = x(void 0), ae = x(void 0), ie = x(void 0), U = x(!1), le = x(Ce({ x: 0, y: 0 })), ce = x(!1), ve = { x: 0, y: 0 }, be = { x: 0, y: 0 };
848
- const rt = () => {
849
- if (!e(H) || !e(ae)) return !1;
850
- const t = e(H).getBoundingClientRect(), n = e(ae).getBoundingClientRect(), a = t.width * T.width, m = a * T.ratio, h = t.left + t.width * T.x - a / 2, w = t.top + t.height * T.y - m / 2;
851
- return n.left < h + a && n.right > h && n.top < w + m && n.bottom > w;
852
- }, st = (t) => {
853
- !e(xe) || e(U) || (o(U, !0), ve = { x: t.clientX, y: t.clientY }, be = { x: t.clientX, y: t.clientY });
854
- }, Pe = (t) => {
855
- e(U) && (o(le, { x: t.clientX - ve.x, y: t.clientY - ve.y }, !0), be = { x: t.clientX, y: t.clientY }, o(ce, rt(), !0));
856
- }, Le = (t) => {
857
- if (!e(U)) return;
858
- const n = t && e(ce), a = be;
859
- o(U, !1), o(ce, !1), o(le, { x: 0, y: 0 }, !0), n && Se(a.x, a.y);
860
- }, Re = () => Le(!0), je = () => Le(!1), Me = () => Ut({
861
- endpoint: G(),
862
- session: K(),
863
- program: Kt(g())
864
- }).finally(() => {
865
- o(oe, !1);
866
- }), Ie = Ht({
867
- onReset: () => o(F, null),
868
- onSkipFetch: () => o(oe, !0),
869
- refetch: Me
870
- });
871
- Et(() => (window.addEventListener("message", Ie), window.addEventListener("pointermove", Pe), window.addEventListener("pointerup", Re), window.addEventListener("pointercancel", je), () => {
872
- window.removeEventListener("message", Ie), window.removeEventListener("pointermove", Pe), window.removeEventListener("pointerup", Re), window.removeEventListener("pointercancel", je);
873
- }));
874
- var ot = {
875
- get program() {
876
- return g();
877
- },
878
- set program(t = null) {
879
- g(t), J();
880
- },
881
- get endpoint() {
882
- return G();
883
- },
884
- set endpoint(t = null) {
885
- G(t), J();
886
- },
887
- get session() {
888
- return K();
889
- },
890
- set session(t = null) {
891
- K(t), J();
892
- },
893
- get language() {
894
- return he();
895
- },
896
- set language(t = "en") {
897
- he(t), J();
898
- },
899
- get showBackButton() {
900
- return ue();
901
- },
902
- set showBackButton(t = !0) {
903
- ue(t), J();
904
- },
905
- get liteMode() {
906
- return Q();
907
- },
908
- set liteMode(t = !1) {
909
- Q(t), J();
910
- }
911
- }, pe = un();
912
- let De;
913
- var _e = c(pe), Ge = c(_e), it = i(Ge, 4);
914
- {
915
- var lt = (t) => {
916
- var n = nn(), a = i(re(n), 2);
917
- {
918
- var m = (h) => {
919
- var w = St(), Z = re(w);
920
- Ue(Z, 17, () => Ve, Pt, (y, M) => {
921
- var de = tn();
922
- let fe;
923
- Y(() => fe = V(de, "", fe, {
924
- left: `${e(M).left ?? ""}%`,
925
- width: `${e(M).size ?? ""}px`,
926
- height: `${e(M).size ?? ""}px`,
927
- "animation-duration": `${e(M).duration ?? ""}s`,
928
- "animation-delay": `${e(M).delay ?? ""}s`
929
- })), d(y, de);
930
- }), d(h, w);
931
- };
932
- z(a, (h) => {
933
- Q() || h(m);
934
- });
935
- }
936
- d(t, n);
937
- };
938
- z(it, (t) => {
939
- e(F) || t(lt);
940
- });
941
- }
942
- p(_e);
943
- var Ke = i(_e, 2);
944
- {
945
- let t = q(() => !ue());
946
- Vt(Ke, {
947
- onClick: qe,
948
- get hidden() {
949
- return e(t);
950
- }
951
- });
952
- }
953
- var we = i(Ke, 2), ke = c(we), ct = c(ke, !0);
954
- p(ke);
955
- var Xe = i(ke, 2), pt = c(Xe, !0);
956
- p(Xe), p(we);
957
- var me = i(we, 2), Oe = c(me);
958
- let Fe;
959
- var mt = i(Oe, 2);
960
- Ue(mt, 16, () => O, (t) => t, (t, n) => {
961
- var a = an();
962
- let m;
963
- var h = c(a, !0);
964
- p(a), Y(
965
- (w) => {
966
- m = N(a, 1, "mystery-chest__tab svelte-1af7gxu", null, m, { "mystery-chest__tab--active": e(j) === n }), L(a, "aria-selected", e(j) === n), C(h, w);
967
- },
968
- [() => _()(n)]
969
- ), ge("click", a, () => Je(n)), d(t, a);
970
- }), p(me);
971
- var dt = i(me, 2);
972
- {
973
- var ft = (t) => {
974
- {
975
- let n = q(() => ({ noPrize: Qt, win: en }));
976
- Zt(t, {
977
- get result() {
978
- return e(F);
979
- },
980
- get endpoint() {
981
- return G();
982
- },
983
- get session() {
984
- return K();
985
- },
986
- get liteMode() {
987
- return Q();
988
- },
989
- get images() {
990
- return e(n);
991
- },
992
- noPrizeDust: !0,
993
- onFetchRemainingTimes: Me
994
- });
995
- }
996
- }, yt = (t) => {
997
- var n = hn(), a = re(n), m = c(a);
998
- let h;
999
- var w = c(m);
1000
- {
1001
- var Z = (s) => {
1002
- var r = rn();
1003
- Ft(4), d(s, r);
1004
- };
1005
- z(w, (s) => {
1006
- e(f) === "opening" && s(Z);
1007
- });
1008
- }
1009
- var y = i(w, 2), M = i(y, 2);
1010
- {
1011
- var de = (s) => {
1012
- var r = ln();
1013
- let l, E;
1014
- var u = c(r);
1015
- L(u, "d", se);
1016
- var S = i(u);
1017
- {
1018
- var P = (k) => {
1019
- var R = sn();
1020
- L(R, "d", se), d(k, R);
1021
- }, X = (k) => {
1022
- var R = on(), v = re(R);
1023
- L(v, "d", se);
1024
- var I = i(v);
1025
- L(I, "d", se), d(k, R);
1026
- };
1027
- z(S, (k) => {
1028
- e(f) === "filling" ? k(P) : k(X, -1);
1029
- });
1030
- }
1031
- p(r), ze(r, (k) => o(ie, k), () => e(ie)), Y(() => {
1032
- l = N(r, 0, "mystery-chest__keyhole svelte-1af7gxu", null, l, {
1033
- "mystery-chest__keyhole--active": e(ce),
1034
- "mystery-chest__keyhole--filling": e(f) === "filling"
1035
- }), E = V(r, "", E, {
1036
- left: `${T.x * 100}%`,
1037
- top: `${T.y * 100}%`,
1038
- width: `${T.width * 100}%`
1039
- });
1040
- }), d(s, r);
1041
- };
1042
- z(M, (s) => {
1043
- e(te) || s(de);
1044
- });
1045
- }
1046
- var fe = i(M, 2);
1047
- {
1048
- var xt = (s) => {
1049
- var r = cn();
1050
- let l;
1051
- Y(() => l = V(r, "", l, { left: `${T.x * 100}%`, top: `${T.y * 100}%` })), d(s, r);
1052
- };
1053
- z(fe, (s) => {
1054
- e(f) === "filling" && s(xt);
1055
- });
1056
- }
1057
- p(m), ze(m, (s) => o(H, s), () => e(H));
1058
- var $e = i(m, 2);
1059
- {
1060
- var vt = (s) => {
1061
- var r = pn();
1062
- let l, E;
1063
- var u = c(r);
1064
- p(r), ze(r, (S) => o(ae, S), () => e(ae)), Y(() => {
1065
- l = N(r, 1, "mystery-chest__key svelte-1af7gxu", null, l, {
1066
- "mystery-chest__key--dragging": e(U),
1067
- "mystery-chest__key--hidden": e(f) !== "drag"
1068
- }), E = V(r, "", E, {
1069
- transform: `translate3d(${e(le).x ?? ""}px, ${e(le).y ?? ""}px, 0)`
1070
- }), L(u, "src", Ze);
1071
- }), ge("pointerdown", r, st), d(s, r);
1072
- };
1073
- z($e, (s) => {
1074
- e(te) || s(vt);
1075
- });
1076
- }
1077
- var Ae = i($e, 2);
1078
- {
1079
- var bt = (s) => {
1080
- var r = mn();
1081
- let l;
1082
- Y(() => {
1083
- N(r, 1, `mystery-chest__key-fly mystery-chest__key-fly--${e(f) ?? ""}`, "svelte-1af7gxu"), L(r, "src", Ze), l = V(r, "", l, {
1084
- left: `${e(B).x ?? ""}px`,
1085
- top: `${e(B).y ?? ""}px`,
1086
- transform: `translate(-50%, -50%) rotate(${e(B).rot ?? ""}deg) scale(${e(B).scale ?? ""})`
1087
- });
1088
- }), d(s, r);
1089
- };
1090
- z(Ae, (s) => {
1091
- e(B) && s(bt);
1092
- });
1093
- }
1094
- var _t = i(Ae, 2);
1095
- {
1096
- var wt = (s) => {
1097
- var r = dn(), l = c(r), E = c(l, !0);
1098
- p(l);
1099
- var u = i(l, 2), S = c(u, !0);
1100
- p(u);
1101
- var P = i(u, 2), X = c(P, !0);
1102
- p(P), p(r), Y(
1103
- (k, R, v) => {
1104
- C(E, k), C(S, R), C(X, v);
1105
- },
1106
- [
1107
- () => _()("timeoutTitle"),
1108
- () => _()("timeoutDescription"),
1109
- () => _()("close")
1110
- ]
1111
- ), ge("click", P, at), d(s, r);
1112
- }, kt = (s) => {
1113
- var r = fn(), l = c(r), E = c(l, !0);
1114
- p(l);
1115
- var u = i(l, 2), S = c(u, !0);
1116
- p(u), p(r), Y(
1117
- (P, X) => {
1118
- C(E, P), C(S, X);
1119
- },
1120
- [
1121
- () => _()("nextAvailable"),
1122
- () => _()("countdown", {
1123
- values: {
1124
- days: e(ne).days,
1125
- hours: e(ne).hours,
1126
- minutes: e(ne).minutes,
1127
- seconds: e(ne).seconds
1128
- }
1129
- })
1130
- ]
1131
- ), d(s, r);
1132
- };
1133
- z(_t, (s) => {
1134
- e(ee) ? s(wt) : e(te) && s(kt, 1);
1135
- });
1136
- }
1137
- p(a);
1138
- var He = i(a, 2);
1139
- {
1140
- var zt = (s) => {
1141
- var r = gn(), l = re(r), E = c(l, !0);
1142
- p(l);
1143
- var u = i(l, 2), S = c(u), P = i(S), X = i(c(P), 2);
1144
- {
1145
- var k = (v) => {
1146
- var I = yn();
1147
- d(v, I);
1148
- }, R = (v) => {
1149
- var I = Lt();
1150
- Y(() => C(I, g()?.current?.remainingTimes ?? g()?.remainingTimes)), d(v, I);
1151
- };
1152
- z(X, (v) => {
1153
- e(oe) ? v(k) : v(R, -1);
1154
- });
1155
- }
1156
- p(P), p(u), Y(
1157
- (v, I) => {
1158
- C(E, v), C(S, `${I ?? ""} `);
1159
- },
1160
- [() => _()("dragKeyToKeyhole"), () => _()("remainingKeys")]
1161
- ), d(s, r);
1162
- };
1163
- z(He, (s) => {
1164
- e(Be) && s(zt);
1165
- });
1166
- }
1167
- var ye = i(He, 2), Ct = c(ye, !0);
1168
- p(ye), Y(
1169
- (s) => {
1170
- h = N(m, 1, "mystery-chest__chest svelte-1af7gxu", null, h, {
1171
- "mystery-chest__chest--still": e(f) === "flying" || e(f) === "inserting",
1172
- "mystery-chest__chest--filling": e(f) === "filling",
1173
- "mystery-chest__chest--opening": e(f) === "opening",
1174
- "mystery-chest__chest--locked": e(te)
1175
- }), L(y, "src", Jt), ye.disabled = !e(xe), C(Ct, s);
1176
- },
1177
- [() => _()("openChest")]
1178
- ), ge("click", ye, () => Se()), d(t, n);
1179
- }, gt = (t) => {
1180
- {
1181
- let n = q(() => g()?.id);
1182
- Wt(t, {
1183
- get programId() {
1184
- return e(n);
1185
- },
1186
- get endpoint() {
1187
- return G();
1188
- },
1189
- get session() {
1190
- return K();
1191
- }
1192
- });
1193
- }
1194
- }, ht = (t) => {
1195
- Nt(t, {
1196
- get program() {
1197
- return g();
1198
- },
1199
- get language() {
1200
- return he();
1201
- }
1202
- });
1203
- };
1204
- z(dt, (t) => {
1205
- e(F) ? t(ft) : e(j) === O[1] ? t(yt, 1) : e(j) === O[0] ? t(gt, 2) : t(ht, -1);
1206
- });
1207
- }
1208
- p(pe), Y(
1209
- (t, n, a, m) => {
1210
- De = N(pe, 1, "mystery-chest svelte-1af7gxu", null, De, {
1211
- "mystery-chest--lite": Q(),
1212
- "mystery-chest--result": !!e(F),
1213
- "mystery-chest--plain": e(j) !== O[1],
1214
- "mystery-chest--busy": e($),
1215
- "mystery-chest--opening": e(f) === "opening"
1216
- }), L(Ge, "src", qt), C(ct, t), C(pt, n), L(me, "aria-label", a), Fe = V(Oe, "", Fe, m);
1217
- },
1218
- [
1219
- () => _()("mysteryChestTitle"),
1220
- () => _()("wofSubtitle"),
1221
- () => _()("mysteryChestTitle"),
1222
- () => ({
1223
- transform: `translateX(${O.indexOf(e(j)) * 100}%)`
1224
- })
1225
- ]
1226
- ), d(Te, pe);
1227
- var ut = Mt(ot);
1228
- return Ne(), ut;
1229
- }
1230
- Yt(["click", "pointerdown"]);
1231
- Tt(
1232
- vn,
1233
- {
1234
- program: {},
1235
- endpoint: {},
1236
- session: {},
1237
- language: {},
1238
- showBackButton: {},
1239
- liteMode: {}
1240
- },
1241
- [],
1242
- [],
1243
- { mode: "open" }
1244
- );
1245
- export {
1246
- vn as M
1247
- };