@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,1248 +0,0 @@
1
- import { d as St, c as Et, a as Pt, p as N, o as Lt, i as z, e as Ze, l as V, s as L, h as C, r as q, b as d, f as b, m as ge, n as ze, j as Rt, g as jt, k as Ye, u as It } from "./WheelOfFortuneWheel-DgVQP4GA.js";
2
- import { G as Mt, aM as x, aC as Ce, W as Dt, a0 as e, au as o, aS as i, ah as Y, L as Gt, aY as J, aT as c, aO as Kt, aP as Xt, aG as Q, aQ as Ot, b0 as We, aW as p, b5 as Ft, aU as $t, aV as At, aN as re } from "./utils-DwrHy7a0.js";
3
- import { j as Ht } from "./constants-DgCBmV7S.js";
4
- import { f as Ne } from "./countdown-CH5h-cVr.js";
5
- import { c as Ut, f as Zt } from "./remaining-times-DiYnfuZB.js";
6
- import { D as Wt } from "./DrawResult-CbLPtjvZ.js";
7
- import { G as Nt } from "./GameHistory-CGAhNQKk.js";
8
- import { G as Vt } from "./GameRules-41OkRwZu.js";
9
- import { B as qt } from "./BackButton-Bi1zFTns.js";
10
- import { b as Jt } from "./mystery-chest-bg-CGT-JTBW.js";
11
- import { c as Qt } from "./mystery-chest-locked-CIxpYU3v.js";
12
- import { c as en } from "./mystery-chest-empty-D7bbrCHH.js";
13
- import { c as tn } from "./mystery-chest-win-D1NYItcd.js";
14
- import { k as Ve } from "./key-D1g9LqMU.js";
15
- var nn = b('<span class="mystery-chest__particle svelte-1af7gxu"></span>'), an = b('<div class="mystery-chest__scene-glow svelte-1af7gxu"></div> <!>', 1), rn = b('<button role="tab" type="button"> </button>'), sn = 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), on = Ye('<path class="mystery-chest__keyhole-solid svelte-1af7gxu"></path>'), ln = Ye('<path class="mystery-chest__keyhole-dots svelte-1af7gxu"></path><path class="mystery-chest__keyhole-light svelte-1af7gxu" pathLength="100"></path>', 1), cn = Ye('<svg viewBox="0 0 100 150" aria-hidden="true"><path class="mystery-chest__keyhole-fill svelte-1af7gxu"></path><!></svg>'), pn = b('<span class="mystery-chest__lock-flash svelte-1af7gxu"></span>'), mn = b('<div><img class="mystery-chest__key-img svelte-1af7gxu" alt="" draggable="false"/></div>'), dn = b('<img alt="" aria-hidden="true" draggable="false"/>'), fn = 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>'), yn = 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></div>'), gn = b('<span class="mystery-chest__flips-loader svelte-1af7gxu"></span>'), hn = 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), un = 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), xn = 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 class="mystery-chest__scene-veil 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 vn = {
17
- hash: "svelte-1af7gxu",
18
- code: `@keyframes svelte-1af7gxu-mc-loader-spin {
19
- to {
20
- transform: rotate(360deg);
21
- }
22
- }
23
- @keyframes svelte-1af7gxu-mc-bg-drift {
24
- 0%, 100% {
25
- transform: scale(1.06) translate(0, 0);
26
- }
27
- 50% {
28
- transform: scale(1.12) translate(-1.5%, -1%);
29
- }
30
- }
31
- @keyframes svelte-1af7gxu-mc-float-up {
32
- 0% {
33
- transform: translateY(0);
34
- opacity: 0;
35
- }
36
- 15% {
37
- opacity: 1;
38
- }
39
- 100% {
40
- transform: translateY(-420px);
41
- opacity: 0;
42
- }
43
- }
44
- @keyframes svelte-1af7gxu-mc-bob {
45
- 0%, 100% {
46
- transform: translateY(0);
47
- }
48
- 50% {
49
- transform: translateY(-10px);
50
- }
51
- }
52
- @keyframes svelte-1af7gxu-mc-dot-march {
53
- to {
54
- stroke-dashoffset: -9;
55
- }
56
- }
57
- @keyframes svelte-1af7gxu-mc-light-run {
58
- to {
59
- stroke-dashoffset: -100;
60
- }
61
- }
62
- @keyframes svelte-1af7gxu-mc-key-halo-pulse {
63
- 0%, 100% {
64
- border-color: rgba(255, 236, 150, 0.55);
65
- box-shadow: 0 0 12px rgba(255, 204, 0, 0.25), inset 0 0 8px rgba(255, 204, 0, 0.15);
66
- }
67
- 50% {
68
- border-color: rgba(255, 236, 150, 0.95);
69
- box-shadow: 0 0 24px rgba(255, 204, 0, 0.55), inset 0 0 14px rgba(255, 204, 0, 0.3);
70
- }
71
- }
72
- @keyframes svelte-1af7gxu-mc-lock-jolt {
73
- 0% {
74
- transform: translateY(0) rotate(0);
75
- }
76
- 20% {
77
- transform: translateY(2px) rotate(-1.5deg);
78
- }
79
- 45% {
80
- transform: translateY(-3px) rotate(1.2deg);
81
- }
82
- 70% {
83
- transform: translateY(1px) rotate(-0.5deg);
84
- }
85
- 100% {
86
- transform: translateY(0) rotate(0);
87
- }
88
- }
89
- @keyframes svelte-1af7gxu-mc-lock-flash {
90
- 0% {
91
- opacity: 0;
92
- transform: translate(-50%, -50%) scale(0.3);
93
- }
94
- 35% {
95
- opacity: 1;
96
- }
97
- 100% {
98
- opacity: 0;
99
- transform: translate(-50%, -50%) scale(1.8);
100
- }
101
- }
102
- @keyframes svelte-1af7gxu-mc-ray-spin {
103
- from {
104
- transform: translate(-50%, -50%) rotate(0deg);
105
- }
106
- to {
107
- transform: translate(-50%, -50%) rotate(360deg);
108
- }
109
- }
110
- @keyframes svelte-1af7gxu-mc-ray-in {
111
- 0% {
112
- opacity: 0;
113
- }
114
- 60% {
115
- opacity: 0.9;
116
- }
117
- 100% {
118
- opacity: 0.75;
119
- }
120
- }
121
- @keyframes svelte-1af7gxu-mc-shockwave {
122
- 0% {
123
- transform: translate(-50%, -50%) scale(0.2);
124
- opacity: 0.8;
125
- }
126
- 100% {
127
- transform: translate(-50%, -50%) scale(2.6);
128
- opacity: 0;
129
- }
130
- }
131
- @keyframes svelte-1af7gxu-mc-opening-glow {
132
- 0%, 100% {
133
- transform: translate(-50%, -50%) scale(1);
134
- opacity: 0.55;
135
- }
136
- 50% {
137
- transform: translate(-50%, -50%) scale(1.08);
138
- opacity: 0.9;
139
- }
140
- }
141
- @keyframes svelte-1af7gxu-mc-chest-shake {
142
- 0%, 100% {
143
- transform: translate(0, 0) rotate(0deg);
144
- }
145
- 20% {
146
- transform: translate(-5px, 1px) rotate(-2.5deg);
147
- }
148
- 40% {
149
- transform: translate(5px, -1px) rotate(2.5deg);
150
- }
151
- 60% {
152
- transform: translate(-4px, 2px) rotate(-2deg);
153
- }
154
- 80% {
155
- transform: translate(4px, -2px) rotate(2deg);
156
- }
157
- }
158
- @keyframes svelte-1af7gxu-mc-chest-burst {
159
- 0% {
160
- transform: scale(1);
161
- }
162
- 40% {
163
- transform: scale(0.92) translateY(6px);
164
- }
165
- 70% {
166
- transform: scale(1.12) translateY(-14px);
167
- }
168
- 100% {
169
- transform: scale(1) translateY(0);
170
- }
171
- }
172
- @keyframes svelte-1af7gxu-mc-dust-puff {
173
- 0% {
174
- transform: translate(0, 0) scale(0.4);
175
- opacity: 0;
176
- }
177
- 30% {
178
- opacity: 0.6;
179
- }
180
- 100% {
181
- transform: translate(var(--dust-dx, 0), var(--dust-dy, -80px)) scale(1.6);
182
- opacity: 0;
183
- }
184
- } .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:20px 20px 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 *,
185
- .mystery-chest *::before,
186
- .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,
187
- .mystery-chest.mystery-chest--plain .mystery-chest__particle {animation-play-state:paused;} .mystery-chest.mystery-chest--result .mystery-chest__heading,
188
- .mystery-chest.mystery-chest--result .mystery-chest__tabs {display:none;} .mystery-chest.mystery-chest--busy .game-back-button,
189
- .mystery-chest.mystery-chest--busy .mystery-chest__tabs,
190
- .mystery-chest.mystery-chest--busy .mystery-chest__cta {pointer-events:none;} .mystery-chest.mystery-chest--opening .game-back-button,
191
- .mystery-chest.mystery-chest--opening .mystery-chest__heading,
192
- .mystery-chest.mystery-chest--opening .mystery-chest__tabs,
193
- .mystery-chest.mystery-chest--opening .mystery-chest__hint,
194
- .mystery-chest.mystery-chest--opening .mystery-chest__flips,
195
- .mystery-chest.mystery-chest--opening .mystery-chest__cta,
196
- .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,
197
- .mystery-chest.mystery-chest--opening .mystery-chest__particle {opacity:0;transition:opacity 0.4s ease;} .mystery-chest__scene {position:absolute;top:0;left:0;right:0;height:var(--mc-stage-h);z-index:0;overflow:hidden;pointer-events:none;transition:opacity 1s ease;} .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 {
198
- animation: svelte-1af7gxu-mc-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;
199
- animation: svelte-1af7gxu-mc-float-up linear infinite;} .mystery-chest__scene-veil {position:absolute;inset:0;background:linear-gradient(180deg, rgba(6, 12, 32, 0.35) 0%, rgba(6, 12, 32, 0) 30%, rgba(4, 8, 22, 0.85) 100%);}
200
- @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 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, #000 82%, transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, #000 82%, transparent 100%);mask-composite:intersect;}
201
- } .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;gap:clamp(32px, 10vw, 56px);width:var(--game-stage-size, clamp(276px, 100vw, 430px));padding-top:clamp(8px, 3vw, 20px);} .mystery-chest__chest {position:relative;width:min(280px, 100%);
202
- animation: svelte-1af7gxu-mc-bob var(--mc-bob) ease-in-out infinite;will-change:transform;}
203
- @media (min-width: 768px) { .mystery-chest__chest {width:360px;}
204
- } .mystery-chest__chest--still {
205
- animation: none;} .mystery-chest__chest--locked {
206
- 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 {
207
- animation: svelte-1af7gxu-mc-lock-jolt 0.5s ease-out both;} .mystery-chest__chest--opening {
208
- animation: none;} .mystery-chest__chest--opening .mystery-chest__chest-img {
209
- 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%);
210
- 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;
211
- 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);
212
- 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;
213
- 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));
214
- 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%);
215
- 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));
216
- animation: svelte-1af7gxu-mc-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;font-style:italic;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%);cursor:pointer;transition:transform 0.15s ease, filter 0.15s ease;} .mystery-chest__cta:active {transform:translateY(2px);} .mystery-chest__cta:disabled {filter:grayscale(0.5) brightness(0.75);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%;
217
- 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;
218
- 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;
219
- animation: svelte-1af7gxu-mc-bob var(--mc-bob) ease-in-out infinite;will-change:transform;} .mystery-chest__badge {position:absolute;top:50%;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;} .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-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;}
220
- @media (max-width: 767px) { .mystery-chest {padding:20px 10px 30px;} .mystery-chest__tabs {width:100%;margin:0 auto;} .mystery-chest__tab {font-size:12px;}
221
- }
222
- @keyframes svelte-1af7gxu-wheelBob {
223
- 0%, 100% {
224
- transform: translateY(0);
225
- }
226
- 50% {
227
- transform: translateY(-10px);
228
- }
229
- }
230
- @keyframes svelte-1af7gxu-stageFloat {
231
- 0%, 100% {
232
- transform: translate3d(0, 0, 0) rotate(-0.12deg) scale(1);
233
- }
234
- 42% {
235
- transform: translate3d(0, -4px, 0) rotate(0.16deg) scale(1.002);
236
- }
237
- 72% {
238
- transform: translate3d(0, 2px, 0) rotate(-0.04deg) scale(0.999);
239
- }
240
- }
241
- @keyframes svelte-1af7gxu-stageGlow {
242
- 0%, 100% {
243
- opacity: 0.46;
244
- transform: scale(0.94);
245
- filter: blur(27px);
246
- }
247
- 50% {
248
- opacity: 0.68;
249
- transform: scale(1.02);
250
- filter: blur(31px);
251
- }
252
- }
253
- @keyframes svelte-1af7gxu-glowOrbit {
254
- 0%, 100% {
255
- opacity: 0.13;
256
- transform: scale(0.88) rotate(-8deg);
257
- }
258
- 50% {
259
- opacity: 0.24;
260
- transform: scale(0.95) rotate(5deg);
261
- }
262
- }
263
- @keyframes svelte-1af7gxu-frameGlowBreath {
264
- 0%, 100% {
265
- opacity: 0.58;
266
- transform: scale(0.94);
267
- filter: blur(30px);
268
- }
269
- 48% {
270
- opacity: 0.82;
271
- transform: scale(1.03);
272
- filter: blur(34px);
273
- }
274
- }
275
- @keyframes svelte-1af7gxu-wheelDrop {
276
- 0% {
277
- transform: translateY(-60vh) scale(0.961) rotate(-9deg);
278
- opacity: 0;
279
- }
280
- 70% {
281
- transform: translateY(-20px) scale(1.012) rotate(2deg);
282
- opacity: 1;
283
- }
284
- 86% {
285
- transform: translateY(0px) scale(0.997) rotate(-0.6deg);
286
- }
287
- 100% {
288
- transform: translateY(0) scale(1) rotate(0);
289
- opacity: 1;
290
- }
291
- }
292
- @keyframes svelte-1af7gxu-spinGlowPop {
293
- 0% {
294
- opacity: 0.56;
295
- transform: scale(0.96);
296
- filter: blur(25px);
297
- }
298
- 32% {
299
- opacity: 0.92;
300
- transform: scale(1.08);
301
- filter: blur(31px);
302
- }
303
- 100% {
304
- opacity: 0.58;
305
- transform: scale(0.98);
306
- filter: blur(27px);
307
- }
308
- }
309
- @keyframes svelte-1af7gxu-glowPulse {
310
- 0%, 100% {
311
- opacity: 0.72;
312
- transform: scale(0.95);
313
- }
314
- 50% {
315
- opacity: 1;
316
- transform: scale(1.12);
317
- }
318
- }
319
- @keyframes svelte-1af7gxu-glowRing {
320
- 0%, 100% {
321
- opacity: 0.42;
322
- transform: scale(0.92);
323
- }
324
- 50% {
325
- opacity: 0.88;
326
- transform: scale(1.18);
327
- }
328
- }
329
- @keyframes svelte-1af7gxu-centerButtonSpinBreath {
330
- 0%, 100% {
331
- transform: scale(1);
332
- filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
333
- }
334
- 45% {
335
- transform: scale(1.032);
336
- filter: drop-shadow(0 11px 18px rgba(0, 0, 0, 0.36)) brightness(1.07);
337
- }
338
- }
339
- @keyframes svelte-1af7gxu-middleButtonIdleZoomGlow {
340
- 0%, 100% {
341
- transform: scale(1);
342
- 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);
343
- }
344
- 50% {
345
- transform: scale(1.045);
346
- 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);
347
- }
348
- }
349
- @keyframes svelte-1af7gxu-middleButtonPress {
350
- 0% {
351
- transform: scale(1);
352
- filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
353
- }
354
- 28% {
355
- transform: scale(0.91);
356
- filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.36)) brightness(0.98);
357
- }
358
- 68% {
359
- transform: scale(1.045);
360
- filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36)) brightness(1.08);
361
- }
362
- 100% {
363
- transform: scale(1);
364
- filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
365
- }
366
- }
367
- @keyframes svelte-1af7gxu-prizeStageGlow {
368
- 0% {
369
- opacity: 0.54;
370
- transform: scale(0.96);
371
- filter: blur(26px);
372
- }
373
- 22% {
374
- opacity: 0.94;
375
- transform: scale(1.06);
376
- filter: blur(20px);
377
- }
378
- 100% {
379
- opacity: 0.54;
380
- transform: scale(0.96);
381
- filter: blur(26px);
382
- }
383
- }
384
- @keyframes svelte-1af7gxu-prizeFillGlow {
385
- 0% {
386
- opacity: 0;
387
- transform: scale(0.982);
388
- }
389
- 8% {
390
- opacity: 0.94;
391
- transform: scale(1.008);
392
- }
393
- 24% {
394
- opacity: 0.62;
395
- transform: scale(0.997);
396
- }
397
- 42% {
398
- opacity: 0.8;
399
- transform: scale(1.006);
400
- }
401
- 60% {
402
- opacity: 0.55;
403
- transform: scale(0.999);
404
- }
405
- 78% {
406
- opacity: 0.72;
407
- transform: scale(1.004);
408
- }
409
- 100% {
410
- opacity: 0;
411
- transform: scale(0.99);
412
- }
413
- }
414
- @keyframes svelte-1af7gxu-prizeEdgePulse {
415
- 0% {
416
- opacity: 0;
417
- stroke-width: 0.035;
418
- }
419
- 8% {
420
- opacity: 1;
421
- stroke-width: 0.025;
422
- }
423
- 24% {
424
- opacity: 0.88;
425
- stroke-width: 0.035;
426
- }
427
- 42% {
428
- opacity: 1;
429
- stroke-width: 0.025;
430
- }
431
- 60% {
432
- opacity: 0.85;
433
- stroke-width: 0.035;
434
- }
435
- 78% {
436
- opacity: 1;
437
- stroke-width: 0.025;
438
- }
439
- 100% {
440
- opacity: 0.85;
441
- stroke-width: 0.035;
442
- }
443
- }
444
- @keyframes svelte-1af7gxu-prizeDashDance {
445
- 0% {
446
- opacity: 0;
447
- stroke-dashoffset: 12;
448
- }
449
- 10% {
450
- opacity: 0.94;
451
- }
452
- 48% {
453
- opacity: 0.78;
454
- }
455
- 82% {
456
- opacity: 0.66;
457
- }
458
- 100% {
459
- opacity: 0;
460
- stroke-dashoffset: -26;
461
- }
462
- }
463
- @keyframes svelte-1af7gxu-prizeSheenSweep {
464
- 0% {
465
- opacity: 0;
466
- transform: translateX(-7px) scale(0.98);
467
- }
468
- 12% {
469
- opacity: 0.58;
470
- transform: translateX(-1px) scale(1.01);
471
- }
472
- 36% {
473
- opacity: 0.22;
474
- transform: translateX(3px) scale(1);
475
- }
476
- 62% {
477
- opacity: 0.42;
478
- transform: translateX(1px) scale(1.008);
479
- }
480
- 100% {
481
- opacity: 0;
482
- transform: translateX(8px) scale(0.99);
483
- }
484
- }
485
- @keyframes svelte-1af7gxu-superPrizeStageGlow {
486
- 0% {
487
- transform: scale(0.96);
488
- opacity: 0.2;
489
- filter: blur(8px);
490
- }
491
- 45% {
492
- transform: scale(1.13);
493
- opacity: 0.86;
494
- filter: blur(13px);
495
- }
496
- 100% {
497
- transform: scale(1.03);
498
- opacity: 0.45;
499
- filter: blur(10px);
500
- }
501
- }
502
- @keyframes svelte-1af7gxu-superPrizeFillGlow {
503
- 0% {
504
- opacity: 0.2;
505
- transform: scale(0.96);
506
- }
507
- 32% {
508
- opacity: 1;
509
- transform: scale(1.045);
510
- }
511
- 66% {
512
- opacity: 0.72;
513
- transform: scale(1.015);
514
- }
515
- 100% {
516
- opacity: 0.58;
517
- transform: scale(1);
518
- }
519
- }
520
- @keyframes svelte-1af7gxu-superPrizeSheenSweep {
521
- 0% {
522
- opacity: 0;
523
- transform: scale(0.88) rotate(-5deg);
524
- }
525
- 34% {
526
- opacity: 0.95;
527
- transform: scale(1.08) rotate(2deg);
528
- }
529
- 100% {
530
- opacity: 0.2;
531
- transform: scale(1.16) rotate(7deg);
532
- }
533
- }
534
- @keyframes svelte-1af7gxu-superPrizeEdgePulse {
535
- 0% {
536
- opacity: 0.4;
537
- transform: scale(0.97);
538
- }
539
- 38% {
540
- opacity: 1;
541
- transform: scale(1.055);
542
- }
543
- 70% {
544
- opacity: 0.86;
545
- transform: scale(1.018);
546
- }
547
- 100% {
548
- opacity: 0.72;
549
- transform: scale(1);
550
- }
551
- }
552
- @keyframes svelte-1af7gxu-superPrizeDashDance {
553
- 0% {
554
- opacity: 0;
555
- stroke-dashoffset: 20;
556
- transform: scale(0.95);
557
- }
558
- 18% {
559
- opacity: 1;
560
- }
561
- 100% {
562
- opacity: 0.76;
563
- stroke-dashoffset: -42;
564
- transform: scale(1.04);
565
- }
566
- }
567
- @keyframes svelte-1af7gxu-spinButtonZoomGlow {
568
- 0%, 100% {
569
- transform: scale(1);
570
- filter: brightness(1);
571
- 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);
572
- }
573
- 50% {
574
- transform: scale(1.065);
575
- filter: brightness(1.08);
576
- 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);
577
- }
578
- }
579
- @keyframes svelte-1af7gxu-buttonBreath {
580
- 0%, 100% {
581
- transform: scale(1);
582
- }
583
- 50% {
584
- transform: scale(1.035);
585
- }
586
- }
587
- @keyframes svelte-1af7gxu-buttonAura {
588
- 0%, 100% {
589
- filter: brightness(1) saturate(1);
590
- 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);
591
- }
592
- 50% {
593
- filter: brightness(1.035) saturate(1.04);
594
- 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);
595
- }
596
- }
597
- @keyframes svelte-1af7gxu-buttonSheen {
598
- 0%, 58%, 100% {
599
- transform: translateX(-120%);
600
- opacity: 0.22;
601
- }
602
- 72% {
603
- transform: translateX(120%);
604
- opacity: 0.42;
605
- }
606
- }
607
- @keyframes svelte-1af7gxu-buttonPop {
608
- 0% {
609
- transform: translateY(2px) scale(0.985);
610
- }
611
- 48% {
612
- transform: translateY(-2px) scale(1.018);
613
- }
614
- 100% {
615
- transform: translateY(0) scale(1);
616
- }
617
- }
618
- @keyframes svelte-1af7gxu-confettiFirework {
619
- 0% {
620
- opacity: 0;
621
- transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
622
- }
623
- 9% {
624
- opacity: 1;
625
- 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));
626
- }
627
- 28% {
628
- opacity: 0.98;
629
- transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1) rotate(calc(var(--rot) + var(--spin) * 0.56));
630
- }
631
- 72% {
632
- opacity: 0.78;
633
- 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));
634
- }
635
- 100% {
636
- opacity: 0;
637
- transform: translate(calc(-50% + var(--tx) * 1.14), calc(-50% + var(--ty) + var(--fall))) scale(0.62) rotate(calc(var(--rot) + var(--spin)));
638
- }
639
- }
640
- @keyframes svelte-1af7gxu-swipeHandAcross {
641
- 0%, 100% {
642
- transform: translateX(-70px) rotate(-22deg);
643
- opacity: 0.65;
644
- }
645
- 50% {
646
- transform: translateX(70px) rotate(22deg);
647
- opacity: 0.65;
648
- }
649
- 25%, 75% {
650
- opacity: 1;
651
- }
652
- }
653
- @keyframes svelte-1af7gxu-wofSpinnerFadeIn {
654
- to {
655
- opacity: 1;
656
- }
657
- }
658
- @keyframes svelte-1af7gxu-wofSpinnerRotate {
659
- to {
660
- transform: rotate(360deg);
661
- }
662
- }
663
- @keyframes svelte-1af7gxu-titleSparkle {
664
- 0% {
665
- opacity: 0;
666
- transform: scale(0.2) rotate(0deg);
667
- }
668
- 40% {
669
- opacity: 1;
670
- transform: scale(1.4) rotate(35deg);
671
- }
672
- 100% {
673
- opacity: 0;
674
- transform: scale(0.6) translateY(-20px) rotate(75deg);
675
- }
676
- }
677
- @keyframes svelte-1af7gxu-drawResultPop {
678
- 0% {
679
- opacity: 0;
680
- transform: scale(0.92) translateY(8px);
681
- }
682
- 62% {
683
- opacity: 1;
684
- transform: scale(1.016) translateY(-2px);
685
- }
686
- 100% {
687
- opacity: 1;
688
- transform: scale(1) translateY(0);
689
- }
690
- }
691
- @keyframes svelte-1af7gxu-successElementIn {
692
- 0% {
693
- opacity: 0;
694
- transform: translate3d(0, 18px, 0) scale(0.98);
695
- filter: blur(3px);
696
- }
697
- 70% {
698
- opacity: 1;
699
- transform: translate3d(0, -2px, 0) scale(1.01);
700
- filter: blur(0);
701
- }
702
- 100% {
703
- opacity: 1;
704
- transform: translate3d(0, 0, 0) scale(1);
705
- filter: blur(0);
706
- }
707
- }
708
- @keyframes svelte-1af7gxu-successConfettiFall {
709
- 0% {
710
- opacity: 0;
711
- transform: translate3d(-50%, -18px, 0) rotate(var(--rot)) scale(0.62);
712
- }
713
- 9% {
714
- opacity: 1;
715
- }
716
- 46% {
717
- opacity: 0.96;
718
- transform: translate3d(calc(-50% + var(--tx) * 0.55), 48vh, 0) rotate(calc(var(--rot) + var(--spin) * 0.52)) scale(1);
719
- }
720
- 100% {
721
- opacity: 0;
722
- transform: translate3d(calc(-50% + var(--tx)), 108vh, 0) rotate(calc(var(--rot) + var(--spin))) scale(0.86);
723
- }
724
- }
725
- @keyframes svelte-1af7gxu-prizeCoinFloatZoom {
726
- 0%, 100% {
727
- transform: translate3d(0, 0, 0) scale(1);
728
- }
729
- 50% {
730
- transform: translate3d(0, -8px, 0) scale(1.065);
731
- }
732
- }
733
- @media (prefers-reduced-motion: reduce) { .wheel-wrapper,
734
- .wheel-wrapper::before,
735
- .wheel-wrapper::after,
736
- .drop-wrap,
737
- .wheel-disc,
738
- .center-button,
739
- .button-glow,
740
- .spin-button {
741
- animation: none !important;}
742
- } .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
743
- 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;
744
- 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;
745
- animation: svelte-1af7gxu-successElementIn 620ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms both;} .coin svg,
746
- .coin img {width:100%;height:100%;object-fit:contain;transform-origin:50% 54%;
747
- 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);
748
- 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;
749
- 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);
750
- 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);
751
- 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%;
752
- 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;}
753
- @media (prefers-reduced-motion: reduce) { .coin,
754
- .draw-result-title,
755
- .draw-result-description,
756
- .draw-result-actions {opacity:1;transform:none;filter:none;} .coin svg,
757
- .coin img {
758
- animation: none;} .success-confetti-piece {
759
- animation: none;}
760
- } .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;}
761
- @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;}
762
- }`
763
- };
764
- function bn(Be, D) {
765
- Mt(D, !0), Pt(Be, vn);
766
- const _ = () => Kt(Xt, "$_", qe), [qe, Je] = Ot(), g = N(D, "program", 7, null), G = N(D, "endpoint", 7, null), K = N(D, "session", 7, null), he = N(D, "language", 7, "en"), ue = N(D, "showBackButton", 7, !0), ee = N(D, "liteMode", 7, !1), O = ["history", "play", "rules"], B = { x: 0.38, y: 0.61, width: 0.22, ratio: 1.5 }, Qe = [
767
- { left: 17.34, size: 7.02, duration: 8.3, delay: 0.82 },
768
- { left: 17.65, size: 7.04, duration: 5.23, delay: 0.87 },
769
- { left: 22.05, size: 6.06, duration: 8.1, delay: 4.14 },
770
- { left: 32.98, size: 3.94, duration: 8.5, delay: 5.97 },
771
- { left: 33.48, size: 4.65, duration: 5.54, delay: 2.22 },
772
- { left: 86.92, size: 5.49, duration: 6.98, delay: 5.13 },
773
- { left: 69.3, size: 4.59, duration: 9.94, delay: 4.69 },
774
- { left: 59.41, size: 6.79, duration: 7.18, delay: 2.33 },
775
- { left: 88.73, size: 4.55, duration: 8.69, delay: 2.98 },
776
- { left: 83.45, size: 6.33, duration: 9.85, delay: 4.96 },
777
- { left: 38.41, size: 6.88, duration: 8.47, delay: 2.86 },
778
- { left: 68.36, size: 5.33, duration: 5.15, delay: 2.17 },
779
- { left: 87.64, size: 4.64, duration: 5.11, delay: 5.7 },
780
- { left: 34.09, size: 7.96, duration: 8.16, delay: 2.01 }
781
- ], 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";
782
- let j = x(Ce(O[1])), F = x(null), $ = x(!1), te = x(!1), oe = x(!1), f = x("drag"), T = x(null);
783
- const Te = J(() => !!G() && !!g() && (g()?.remainingTimes ?? 0) > 0), ne = J(() => !!g() && (g()?.remainingTimes ?? 0) <= 0), xe = J(() => e(Te) && !e($) && !e(te) && !e(oe)), A = (t) => new Promise((n) => setTimeout(n, t));
784
- let H = x(Ce({})), Se;
785
- Dt(() => {
786
- if (e(ne))
787
- return o(H, Ne(g()?.next?.startTime), !0), Se = setInterval(() => o(H, Ne(g()?.next?.startTime), !0), 1e3), () => clearInterval(Se);
788
- });
789
- const et = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), tt = (t) => {
790
- t === e(j) || e($) || o(j, t, !0);
791
- }, nt = async (t) => {
792
- const n = new URL(`${G()}/v1/wof/draw/${g()?.id}`), a = new Headers();
793
- return K() && a.append("X-SessionId", K()), a.append("Content-Type", "application/json"), (await fetch(n, {
794
- method: "PUT",
795
- headers: a,
796
- cache: "no-store",
797
- body: JSON.stringify({ action: 1, guid: t })
798
- })).json();
799
- }, at = () => {
800
- if (e(ie)) {
801
- const n = e(ie).getBoundingClientRect();
802
- return { x: n.left + n.width / 2, y: n.top + n.height / 2 };
803
- }
804
- if (!e(U)) return null;
805
- const t = e(U).getBoundingClientRect();
806
- return {
807
- x: t.left + t.width * B.x,
808
- y: t.top + t.height * B.y
809
- };
810
- }, Ee = () => {
811
- o(f, "drag"), o(T, null);
812
- }, rt = async (t, n) => {
813
- const a = at();
814
- a && (o(f, "flying"), o(T, { x: t, y: n, scale: 1, rot: 0 }, !0), await A(30), o(T, { x: a.x - 80, y: a.y, scale: 1, rot: 0 }, !0), await A(570), o(f, "inserting"), o(T, { 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(T, null), await A(700));
815
- }, st = async () => {
816
- o(f, "opening"), o(T, null), await A(2400);
817
- }, Pe = async (t, n) => {
818
- if (!e(xe)) return;
819
- if (o($, !0), o(te, !1), t === void 0 || n === void 0) {
820
- const y = e(ae)?.getBoundingClientRect();
821
- t = y ? y.left + y.width / 2 : window.innerWidth / 2, n = y ? y.top + y.height / 2 : window.innerHeight / 2;
822
- }
823
- let a = !1;
824
- const m = setTimeout(
825
- () => {
826
- a || (a = !0, o(te, !0), o($, !1), Ee());
827
- },
828
- Ht
829
- ), h = $t(), w = nt(h).catch((y) => (console.log(y), null));
830
- await rt(t, n), await st();
831
- const W = await w;
832
- if (!a) {
833
- if (a = !0, clearTimeout(m), W) {
834
- const y = At(W, "draw");
835
- o(
836
- F,
837
- {
838
- ...y,
839
- guid: h,
840
- lotteryProgramID: y.lotteryProgramID ?? g()?.id
841
- },
842
- !0
843
- );
844
- }
845
- o($, !1), Ee();
846
- }
847
- }, ot = () => o(te, !1);
848
- let U = x(void 0), ae = x(void 0), ie = x(void 0), Z = x(!1), le = x(Ce({ x: 0, y: 0 })), ce = x(!1), ve = { x: 0, y: 0 }, be = { x: 0, y: 0 };
849
- const it = () => {
850
- if (!e(U) || !e(ae)) return !1;
851
- const t = e(U).getBoundingClientRect(), n = e(ae).getBoundingClientRect(), a = t.width * B.width, m = a * B.ratio, h = t.left + t.width * B.x - a / 2, w = t.top + t.height * B.y - m / 2;
852
- return n.left < h + a && n.right > h && n.top < w + m && n.bottom > w;
853
- }, lt = (t) => {
854
- !e(xe) || e(Z) || (o(Z, !0), ve = { x: t.clientX, y: t.clientY }, be = { x: t.clientX, y: t.clientY });
855
- }, Le = (t) => {
856
- e(Z) && (o(le, { x: t.clientX - ve.x, y: t.clientY - ve.y }, !0), be = { x: t.clientX, y: t.clientY }, o(ce, it(), !0));
857
- }, Re = (t) => {
858
- if (!e(Z)) return;
859
- const n = t && e(ce), a = be;
860
- o(Z, !1), o(ce, !1), o(le, { x: 0, y: 0 }, !0), n && Pe(a.x, a.y);
861
- }, je = () => Re(!0), Ie = () => Re(!1), Me = () => Zt({
862
- endpoint: G(),
863
- session: K(),
864
- program: Ft(g())
865
- }).finally(() => {
866
- o(oe, !1);
867
- }), De = Ut({
868
- onReset: () => o(F, null),
869
- onSkipFetch: () => o(oe, !0),
870
- refetch: Me
871
- });
872
- Lt(() => (window.addEventListener("message", De), window.addEventListener("pointermove", Le), window.addEventListener("pointerup", je), window.addEventListener("pointercancel", Ie), () => {
873
- window.removeEventListener("message", De), window.removeEventListener("pointermove", Le), window.removeEventListener("pointerup", je), window.removeEventListener("pointercancel", Ie);
874
- }));
875
- var ct = {
876
- get program() {
877
- return g();
878
- },
879
- set program(t = null) {
880
- g(t), Q();
881
- },
882
- get endpoint() {
883
- return G();
884
- },
885
- set endpoint(t = null) {
886
- G(t), Q();
887
- },
888
- get session() {
889
- return K();
890
- },
891
- set session(t = null) {
892
- K(t), Q();
893
- },
894
- get language() {
895
- return he();
896
- },
897
- set language(t = "en") {
898
- he(t), Q();
899
- },
900
- get showBackButton() {
901
- return ue();
902
- },
903
- set showBackButton(t = !0) {
904
- ue(t), Q();
905
- },
906
- get liteMode() {
907
- return ee();
908
- },
909
- set liteMode(t = !1) {
910
- ee(t), Q();
911
- }
912
- }, pe = xn();
913
- let Ge;
914
- var _e = c(pe), Ke = c(_e), pt = i(Ke, 4);
915
- {
916
- var mt = (t) => {
917
- var n = an(), a = i(re(n), 2);
918
- {
919
- var m = (h) => {
920
- var w = Rt(), W = re(w);
921
- Ze(W, 17, () => Qe, jt, (y, I) => {
922
- var de = nn();
923
- let fe;
924
- Y(() => fe = q(de, "", fe, {
925
- left: `${e(I).left ?? ""}%`,
926
- width: `${e(I).size ?? ""}px`,
927
- height: `${e(I).size ?? ""}px`,
928
- "animation-duration": `${e(I).duration ?? ""}s`,
929
- "animation-delay": `${e(I).delay ?? ""}s`
930
- })), d(y, de);
931
- }), d(h, w);
932
- };
933
- z(a, (h) => {
934
- ee() || h(m);
935
- });
936
- }
937
- d(t, n);
938
- };
939
- z(pt, (t) => {
940
- e(F) || t(mt);
941
- });
942
- }
943
- We(2), p(_e);
944
- var Xe = i(_e, 2);
945
- {
946
- let t = J(() => !ue());
947
- qt(Xe, {
948
- onClick: et,
949
- get hidden() {
950
- return e(t);
951
- }
952
- });
953
- }
954
- var we = i(Xe, 2), ke = c(we), dt = c(ke, !0);
955
- p(ke);
956
- var Oe = i(ke, 2), ft = c(Oe, !0);
957
- p(Oe), p(we);
958
- var me = i(we, 2), Fe = c(me);
959
- let $e;
960
- var yt = i(Fe, 2);
961
- Ze(yt, 16, () => O, (t) => t, (t, n) => {
962
- var a = rn();
963
- let m;
964
- var h = c(a, !0);
965
- p(a), Y(
966
- (w) => {
967
- m = V(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);
968
- },
969
- [() => _()(n)]
970
- ), ge("click", a, () => tt(n)), d(t, a);
971
- }), p(me);
972
- var gt = i(me, 2);
973
- {
974
- var ht = (t) => {
975
- {
976
- let n = J(() => ({ noPrize: en, win: tn }));
977
- Wt(t, {
978
- get result() {
979
- return e(F);
980
- },
981
- get endpoint() {
982
- return G();
983
- },
984
- get session() {
985
- return K();
986
- },
987
- get liteMode() {
988
- return ee();
989
- },
990
- get images() {
991
- return e(n);
992
- },
993
- noPrizeDust: !0,
994
- onFetchRemainingTimes: Me
995
- });
996
- }
997
- }, ut = (t) => {
998
- var n = un(), a = re(n), m = c(a);
999
- let h;
1000
- var w = c(m);
1001
- {
1002
- var W = (s) => {
1003
- var r = sn();
1004
- We(4), d(s, r);
1005
- };
1006
- z(w, (s) => {
1007
- e(f) === "opening" && s(W);
1008
- });
1009
- }
1010
- var y = i(w, 2), I = i(y, 2);
1011
- {
1012
- var de = (s) => {
1013
- var r = cn();
1014
- let l, S;
1015
- var u = c(r);
1016
- L(u, "d", se);
1017
- var E = i(u);
1018
- {
1019
- var P = (k) => {
1020
- var R = on();
1021
- L(R, "d", se), d(k, R);
1022
- }, X = (k) => {
1023
- var R = ln(), v = re(R);
1024
- L(v, "d", se);
1025
- var M = i(v);
1026
- L(M, "d", se), d(k, R);
1027
- };
1028
- z(E, (k) => {
1029
- e(f) === "filling" ? k(P) : k(X, -1);
1030
- });
1031
- }
1032
- p(r), ze(r, (k) => o(ie, k), () => e(ie)), Y(() => {
1033
- l = V(r, 0, "mystery-chest__keyhole svelte-1af7gxu", null, l, {
1034
- "mystery-chest__keyhole--active": e(ce),
1035
- "mystery-chest__keyhole--filling": e(f) === "filling"
1036
- }), S = q(r, "", S, {
1037
- left: `${B.x * 100}%`,
1038
- top: `${B.y * 100}%`,
1039
- width: `${B.width * 100}%`
1040
- });
1041
- }), d(s, r);
1042
- };
1043
- z(I, (s) => {
1044
- e(ne) || s(de);
1045
- });
1046
- }
1047
- var fe = i(I, 2);
1048
- {
1049
- var _t = (s) => {
1050
- var r = pn();
1051
- let l;
1052
- Y(() => l = q(r, "", l, { left: `${B.x * 100}%`, top: `${B.y * 100}%` })), d(s, r);
1053
- };
1054
- z(fe, (s) => {
1055
- e(f) === "filling" && s(_t);
1056
- });
1057
- }
1058
- p(m), ze(m, (s) => o(U, s), () => e(U));
1059
- var Ae = i(m, 2);
1060
- {
1061
- var wt = (s) => {
1062
- var r = mn();
1063
- let l, S;
1064
- var u = c(r);
1065
- p(r), ze(r, (E) => o(ae, E), () => e(ae)), Y(() => {
1066
- l = V(r, 1, "mystery-chest__key svelte-1af7gxu", null, l, {
1067
- "mystery-chest__key--dragging": e(Z),
1068
- "mystery-chest__key--hidden": e(f) !== "drag"
1069
- }), S = q(r, "", S, {
1070
- transform: `translate3d(${e(le).x ?? ""}px, ${e(le).y ?? ""}px, 0)`
1071
- }), L(u, "src", Ve);
1072
- }), ge("pointerdown", r, lt), d(s, r);
1073
- };
1074
- z(Ae, (s) => {
1075
- e(ne) || s(wt);
1076
- });
1077
- }
1078
- var He = i(Ae, 2);
1079
- {
1080
- var kt = (s) => {
1081
- var r = dn();
1082
- let l;
1083
- Y(() => {
1084
- V(r, 1, `mystery-chest__key-fly mystery-chest__key-fly--${e(f) ?? ""}`, "svelte-1af7gxu"), L(r, "src", Ve), l = q(r, "", l, {
1085
- left: `${e(T).x ?? ""}px`,
1086
- top: `${e(T).y ?? ""}px`,
1087
- transform: `translate(-50%, -50%) rotate(${e(T).rot ?? ""}deg) scale(${e(T).scale ?? ""})`
1088
- });
1089
- }), d(s, r);
1090
- };
1091
- z(He, (s) => {
1092
- e(T) && s(kt);
1093
- });
1094
- }
1095
- var zt = i(He, 2);
1096
- {
1097
- var Ct = (s) => {
1098
- var r = fn(), l = c(r), S = c(l, !0);
1099
- p(l);
1100
- var u = i(l, 2), E = c(u, !0);
1101
- p(u);
1102
- var P = i(u, 2), X = c(P, !0);
1103
- p(P), p(r), Y(
1104
- (k, R, v) => {
1105
- C(S, k), C(E, R), C(X, v);
1106
- },
1107
- [
1108
- () => _()("timeoutTitle"),
1109
- () => _()("timeoutDescription"),
1110
- () => _()("close")
1111
- ]
1112
- ), ge("click", P, ot), d(s, r);
1113
- }, Yt = (s) => {
1114
- var r = yn(), l = c(r), S = c(l, !0);
1115
- p(l);
1116
- var u = i(l, 2), E = c(u, !0);
1117
- p(u), p(r), Y(
1118
- (P, X) => {
1119
- C(S, P), C(E, X);
1120
- },
1121
- [
1122
- () => _()("nextAvailable"),
1123
- () => _()("countdown", {
1124
- values: {
1125
- days: e(H).days,
1126
- hours: e(H).hours,
1127
- minutes: e(H).minutes,
1128
- seconds: e(H).seconds
1129
- }
1130
- })
1131
- ]
1132
- ), d(s, r);
1133
- };
1134
- z(zt, (s) => {
1135
- e(te) ? s(Ct) : e(ne) && s(Yt, 1);
1136
- });
1137
- }
1138
- p(a);
1139
- var Ue = i(a, 2);
1140
- {
1141
- var Bt = (s) => {
1142
- var r = hn(), l = re(r), S = c(l, !0);
1143
- p(l);
1144
- var u = i(l, 2), E = c(u), P = i(E), X = i(c(P), 2);
1145
- {
1146
- var k = (v) => {
1147
- var M = gn();
1148
- d(v, M);
1149
- }, R = (v) => {
1150
- var M = It();
1151
- Y(() => C(M, g()?.current?.remainingTimes ?? g()?.remainingTimes)), d(v, M);
1152
- };
1153
- z(X, (v) => {
1154
- e(oe) ? v(k) : v(R, -1);
1155
- });
1156
- }
1157
- p(P), p(u), Y(
1158
- (v, M) => {
1159
- C(S, v), C(E, `${M ?? ""} `);
1160
- },
1161
- [() => _()("dragKeyToKeyhole"), () => _()("remainingKeys")]
1162
- ), d(s, r);
1163
- };
1164
- z(Ue, (s) => {
1165
- e(Te) && s(Bt);
1166
- });
1167
- }
1168
- var ye = i(Ue, 2), Tt = c(ye, !0);
1169
- p(ye), Y(
1170
- (s) => {
1171
- h = V(m, 1, "mystery-chest__chest svelte-1af7gxu", null, h, {
1172
- "mystery-chest__chest--still": e(f) === "flying" || e(f) === "inserting",
1173
- "mystery-chest__chest--filling": e(f) === "filling",
1174
- "mystery-chest__chest--opening": e(f) === "opening",
1175
- "mystery-chest__chest--locked": e(ne)
1176
- }), L(y, "src", Qt), ye.disabled = !e(xe), C(Tt, s);
1177
- },
1178
- [() => _()("openChest")]
1179
- ), ge("click", ye, () => Pe()), d(t, n);
1180
- }, xt = (t) => {
1181
- {
1182
- let n = J(() => g()?.id);
1183
- Nt(t, {
1184
- get programId() {
1185
- return e(n);
1186
- },
1187
- get endpoint() {
1188
- return G();
1189
- },
1190
- get session() {
1191
- return K();
1192
- }
1193
- });
1194
- }
1195
- }, vt = (t) => {
1196
- Vt(t, {
1197
- get program() {
1198
- return g();
1199
- },
1200
- get language() {
1201
- return he();
1202
- }
1203
- });
1204
- };
1205
- z(gt, (t) => {
1206
- e(F) ? t(ht) : e(j) === O[1] ? t(ut, 1) : e(j) === O[0] ? t(xt, 2) : t(vt, -1);
1207
- });
1208
- }
1209
- p(pe), Y(
1210
- (t, n, a, m) => {
1211
- Ge = V(pe, 1, "mystery-chest svelte-1af7gxu", null, Ge, {
1212
- "mystery-chest--lite": ee(),
1213
- "mystery-chest--result": !!e(F),
1214
- "mystery-chest--plain": e(j) !== O[1],
1215
- "mystery-chest--busy": e($),
1216
- "mystery-chest--opening": e(f) === "opening"
1217
- }), L(Ke, "src", Jt), C(dt, t), C(ft, n), L(me, "aria-label", a), $e = q(Fe, "", $e, m);
1218
- },
1219
- [
1220
- () => _()("mysteryChestTitle"),
1221
- () => _()("wofSubtitle"),
1222
- () => _()("mysteryChestTitle"),
1223
- () => ({
1224
- transform: `translateX(${O.indexOf(e(j)) * 100}%)`
1225
- })
1226
- ]
1227
- ), d(Be, pe);
1228
- var bt = Gt(ct);
1229
- return Je(), bt;
1230
- }
1231
- St(["click", "pointerdown"]);
1232
- Et(
1233
- bn,
1234
- {
1235
- program: {},
1236
- endpoint: {},
1237
- session: {},
1238
- language: {},
1239
- showBackButton: {},
1240
- liteMode: {}
1241
- },
1242
- [],
1243
- [],
1244
- { mode: "open" }
1245
- );
1246
- export {
1247
- bn as M
1248
- };