@everymatrix/mini-games-hub 0.1.14 → 0.1.16

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 (274) hide show
  1. package/components/BackButton-BMWvZ9Lb.js +39 -0
  2. package/components/BackButton-BNp3jVLa.js +39 -0
  3. package/components/BackButton-Bi1zFTns.js +38 -0
  4. package/components/BackButton-BvRNh4nJ.js +39 -0
  5. package/components/BackButton-C2-HXI2m.cjs +1 -0
  6. package/components/BackButton-C_v3b0Ky.cjs +1 -0
  7. package/components/BackButton-D5gfQ3NI.cjs +1 -0
  8. package/components/BackButton-DOW_OP-H.cjs +1 -0
  9. package/components/BackButton-DznJk3U4.js +38 -0
  10. package/components/BackButton-gIVGAf6v.js +38 -0
  11. package/components/BackButton-s0YqvufR.cjs +1 -0
  12. package/components/CoinFlip-5qt33VpA.js +399 -0
  13. package/components/CoinFlip-9-7FNYAn.js +364 -0
  14. package/components/CoinFlip-B0Q-xZDI.cjs +1 -0
  15. package/components/CoinFlip-BWNJK7aS.js +402 -0
  16. package/components/CoinFlip-BaNNMAYb.cjs +1 -0
  17. package/components/CoinFlip-BgRZmhbg.js +367 -0
  18. package/components/CoinFlip-COwy7cq1.cjs +1 -0
  19. package/components/CoinFlip-CSel9VZR.js +398 -0
  20. package/components/CoinFlip-CfHvSwpV.cjs +1 -0
  21. package/components/CoinFlip-ClRh6gz2.js +363 -0
  22. package/components/CoinFlip-D7Bwnl8W.cjs +1 -0
  23. package/components/CoinFlip-D8OLaQiA.js +367 -0
  24. package/components/CoinFlip-Dg2ZA_B2.cjs +1 -0
  25. package/components/CoinFlip-DoASIhfX.cjs +1 -0
  26. package/components/CoinFlip-pvtcTO4f.cjs +1 -0
  27. package/components/CoinFlip-vrZpkrnS.js +402 -0
  28. package/components/CoinRoyale-4Oe-x5-J.cjs +734 -0
  29. package/components/CoinRoyale-9nHMXODj.js +1017 -0
  30. package/components/CoinRoyale-B3bu5S4n.cjs +734 -0
  31. package/components/CoinRoyale-B4dKiGgG.cjs +736 -0
  32. package/components/CoinRoyale-BNxFDqe1.js +999 -0
  33. package/components/CoinRoyale-BwNvG3QI.js +1009 -0
  34. package/components/CoinRoyale-Bza84vCL.cjs +738 -0
  35. package/components/CoinRoyale-C-x6uDgh.js +989 -0
  36. package/components/CoinRoyale-CAI2JCvG.js +1020 -0
  37. package/components/CoinRoyale-CGHKZ-kc.js +997 -0
  38. package/components/CoinRoyale-CbqmmMPg.cjs +736 -0
  39. package/components/CoinRoyale-ChWsctqo.cjs +759 -0
  40. package/components/CoinRoyale-Cw8ImDP5.js +1040 -0
  41. package/components/CoinRoyale-CxIBSKFK.js +1017 -0
  42. package/components/CoinRoyale-D-rF6BV4.js +1019 -0
  43. package/components/CoinRoyale-DH-tQHtT.cjs +736 -0
  44. package/components/CoinRoyale-DmcgvBwG.js +997 -0
  45. package/components/CoinRoyale-d2utu3E3.cjs +759 -0
  46. package/components/CoinRoyale-xAkf1dm_.cjs +738 -0
  47. package/components/DrawResult-BHZeM1oX.cjs +1 -0
  48. package/components/DrawResult-BVtwLs-z.js +373 -0
  49. package/components/DrawResult-CG5KTjF7.cjs +1 -0
  50. package/components/DrawResult-COyPm6Cv.cjs +1 -0
  51. package/components/DrawResult-CbLPtjvZ.js +343 -0
  52. package/components/DrawResult-Cul15bW0.cjs +1 -0
  53. package/components/DrawResult-DMRODSxk.cjs +1 -0
  54. package/components/DrawResult-DTJJfQkP.js +373 -0
  55. package/components/DrawResult-DdL4fFZM.js +343 -0
  56. package/components/DrawResult-DxG4CaKK.cjs +1 -0
  57. package/components/DrawResult-SyzKXHgd.js +343 -0
  58. package/components/DrawResult-ZEAa0flC.js +373 -0
  59. package/components/GameCard-8k9KvRun.cjs +3 -0
  60. package/components/GameCard-A3k7RxF5.js +63 -0
  61. package/components/GameCard-B2td6J8K.js +62 -0
  62. package/components/{GameCard-BIn8BJ4U.cjs → GameCard-Bku9nP58.cjs} +3 -3
  63. package/components/GameCard-CBGi9i6m.cjs +3 -0
  64. package/components/GameCard-CHZmVd6n.cjs +3 -0
  65. package/components/GameCard-Cj4zAE8_.js +59 -0
  66. package/components/GameCard-CrKoQU1B.js +59 -0
  67. package/components/GameCard-DFVjSdtd.cjs +3 -0
  68. package/components/GameCard-DHetS96-.js +66 -0
  69. package/components/GameCard-DcWpuwMl.cjs +3 -0
  70. package/components/GameCard-jIcB63Tt.js +62 -0
  71. package/components/GameHistory-9Mf_u0La.js +231 -0
  72. package/components/GameHistory-BktmYuDa.js +231 -0
  73. package/components/GameHistory-CGAhNQKk.js +231 -0
  74. package/components/GameHistory-ChYjWDsa.cjs +12 -0
  75. package/components/GameHistory-CmiIChL-.cjs +12 -0
  76. package/components/GameHistory-CrrlOaAg.js +231 -0
  77. package/components/GameHistory-DVsHn3lx.cjs +12 -0
  78. package/components/GameHistory-_jU0BiqI.js +231 -0
  79. package/components/GameHistory-aQf3vf9u.cjs +12 -0
  80. package/components/GameHistory-lyXo0tYb.cjs +12 -0
  81. package/components/GameHistory-uzrT81kU.js +231 -0
  82. package/components/GameHistory-v6cI-TIF.cjs +12 -0
  83. package/components/GamePlaceholder-4oI8uJ-1.cjs +1 -0
  84. package/components/GamePlaceholder-Bp4nTJeL.js +84 -0
  85. package/components/GamePlaceholder-COiYGwNi.cjs +15 -0
  86. package/components/GamePlaceholder-CfJ4hx9w.js +70 -0
  87. package/components/GamePlaceholder-D9JEXsAk.js +84 -0
  88. package/components/GamePlaceholder-DGnB06iW.js +71 -0
  89. package/components/GamePlaceholder-DS5evGU6.js +85 -0
  90. package/components/GamePlaceholder-DmiU1G7G.cjs +15 -0
  91. package/components/GamePlaceholder-Dwo_YAUQ.cjs +1 -0
  92. package/components/GamePlaceholder-Uni3xW09.cjs +15 -0
  93. package/components/GamePlaceholder-fVPk29f9.cjs +15 -0
  94. package/components/GamePlaceholder-vUYYV2Ps.js +85 -0
  95. package/components/GameRules-41OkRwZu.js +115 -0
  96. package/components/GameRules-BwLJBo6z.cjs +3 -0
  97. package/components/GameRules-CRiycUU8.js +115 -0
  98. package/components/GameRules-CTKyBDZO.cjs +3 -0
  99. package/components/GameRules-CV9sxZYz.js +126 -0
  100. package/components/GameRules-CuuoMoqN.cjs +3 -0
  101. package/components/GameRules-Cy7jwBok.js +126 -0
  102. package/components/GameRules-DUD8OKC0.js +115 -0
  103. package/components/GameRules-Dkl0qVzr.js +126 -0
  104. package/components/GameRules-DpGqZdSj.cjs +3 -0
  105. package/components/GameRules-DrBYjWA6.cjs +3 -0
  106. package/components/GameRules-DrZ6w0LM.cjs +3 -0
  107. package/components/MiniGamesHub-BWPRLpyq.cjs +16 -0
  108. package/components/MiniGamesHub-BXcQ_faH.js +1022 -0
  109. package/components/MiniGamesHub-BbkgB1GV.js +1105 -0
  110. package/components/MiniGamesHub-BjME_rom.cjs +16 -0
  111. package/components/{MiniGamesHub-BYJ7lK90.js → MiniGamesHub-Bn-xvO1e.js} +416 -760
  112. package/components/MiniGamesHub-BpjzFxHO.cjs +16 -0
  113. package/components/MiniGamesHub-BtC6TmtK.cjs +16 -0
  114. package/components/{MiniGamesHub-D3n-AyD7.js → MiniGamesHub-BvS3Q0HA.js} +452 -696
  115. package/components/MiniGamesHub-C-9Nf-x7.js +1029 -0
  116. package/components/MiniGamesHub-C0ESIt9P.cjs +16 -0
  117. package/components/MiniGamesHub-CfIFEVOU.js +1022 -0
  118. package/components/MiniGamesHub-Cj_6ebsL.cjs +16 -0
  119. package/components/MiniGamesHub-CkVJjuZl.cjs +79 -0
  120. package/components/MiniGamesHub-CktxKKTj.cjs +16 -0
  121. package/components/MiniGamesHub-ClPq7L0V.cjs +79 -0
  122. package/components/MiniGamesHub-CrPltGGl.js +1042 -0
  123. package/components/MiniGamesHub-D2Eet3pe.js +1048 -0
  124. package/components/MiniGamesHub-DCCeYwnc.js +1055 -0
  125. package/components/MiniGamesHub-DuyWceLB.cjs +16 -0
  126. package/components/MiniGamesHub-Dz8Ltp98.js +1048 -0
  127. package/components/MiniGamesHub-_uRBhzYg.js +1029 -0
  128. package/components/MiniGamesHub-kIXoGqbZ.cjs +16 -0
  129. package/components/MiniGamesHub-v8PPHifq.js +1072 -0
  130. package/components/MysteryChest-B4h9tqVR.js +1301 -0
  131. package/components/MysteryChest-BJCFkn02.cjs +737 -0
  132. package/components/MysteryChest-BXPAdruk.js +1290 -0
  133. package/components/MysteryChest-BuB9PD57.js +1240 -0
  134. package/components/MysteryChest-C40hwiCW.cjs +745 -0
  135. package/components/MysteryChest-CKPELFiF.cjs +737 -0
  136. package/components/MysteryChest-CRJtPhlo.cjs +743 -0
  137. package/components/MysteryChest-CScyc3Jw.cjs +745 -0
  138. package/components/MysteryChest-CheF_Rh5.cjs +739 -0
  139. package/components/MysteryChest-CrL8IXga.js +1309 -0
  140. package/components/MysteryChest-CrXzepqD.js +1296 -0
  141. package/components/MysteryChest-D6eks4QE.js +1254 -0
  142. package/components/MysteryChest-DJuhkpSa.cjs +743 -0
  143. package/components/MysteryChest-DOTlHt7A.js +1248 -0
  144. package/components/MysteryChest-DfggF659.js +1262 -0
  145. package/components/MysteryChest-Di-dVQnd.cjs +745 -0
  146. package/components/MysteryChest-DnstXEZJ.js +1298 -0
  147. package/components/MysteryChest-IcRh-Dcp.js +1247 -0
  148. package/components/MysteryChest-dyhqTxMg.cjs +739 -0
  149. package/components/WheelOfFortune--1feiOUD.js +950 -0
  150. package/components/WheelOfFortune-B0g1znMo.cjs +627 -0
  151. package/components/{WheelOfFortune--4nTtnMR.cjs → WheelOfFortune-BC0wwnC-.cjs} +6 -6
  152. package/components/{WheelOfFortune-BjNsD2ND.js → WheelOfFortune-BYxOqBjA.js} +148 -159
  153. package/components/WheelOfFortune-BgUB1tnc.js +942 -0
  154. package/components/WheelOfFortune-Bh2XAbs4.cjs +619 -0
  155. package/components/WheelOfFortune-BwmCnHru.js +926 -0
  156. package/components/WheelOfFortune-CHgHhi9q.cjs +619 -0
  157. package/components/WheelOfFortune-CRgnumXh.cjs +627 -0
  158. package/components/WheelOfFortune-CZ2cERqz.cjs +619 -0
  159. package/components/WheelOfFortune-CpYsfi8D.js +934 -0
  160. package/components/WheelOfFortune-Cy64rFDw.js +942 -0
  161. package/components/WheelOfFortune-DZ7fGpS9.cjs +619 -0
  162. package/components/WheelOfFortune-DZg0i79U.js +949 -0
  163. package/components/{WheelOfFortune-DkVQIxzg.js → WheelOfFortune-DawF7WTd.js} +178 -214
  164. package/components/WheelOfFortune-DjdKhLGF.cjs +617 -0
  165. package/components/WheelOfFortune-M5VMIsnw.cjs +619 -0
  166. package/components/WheelOfFortune-kXjxp6t7.js +926 -0
  167. package/components/WheelOfFortune-pBG33-QJ.js +933 -0
  168. package/components/WheelOfFortuneWheel-7PqVvd_8.cjs +3 -0
  169. package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +3 -0
  170. package/components/WheelOfFortuneWheel-BABzaEBd.js +1812 -0
  171. package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +3 -0
  172. package/components/WheelOfFortuneWheel-BYEHNHdI.js +1807 -0
  173. package/components/WheelOfFortuneWheel-BoZ9evN7.cjs +3 -0
  174. package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +3 -0
  175. package/components/{WheelOfFortuneWheel-BAR98ByP.js → WheelOfFortuneWheel-CQCLWOFi.js} +310 -302
  176. package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +3 -0
  177. package/components/WheelOfFortuneWheel-DUE4gyGP.js +1741 -0
  178. package/components/{WheelOfFortuneWheel-DxFn6jjg.js → WheelOfFortuneWheel-DXhwrWpD.js} +548 -539
  179. package/components/WheelOfFortuneWheel-DgVQP4GA.js +1735 -0
  180. package/components/bg-scene-Bz42V1FW.cjs +1 -0
  181. package/components/bg-scene-DpHgKCHj.js +4 -0
  182. package/components/coin-heads-BuJOLpyg.cjs +1 -0
  183. package/components/coin-heads-loqcEtH2.js +4 -0
  184. package/components/coin-tails-20vJmhwv.cjs +1 -0
  185. package/components/coin-tails-BTbsTwkz.js +4 -0
  186. package/components/confetti-CIk02Iw8.cjs +1 -0
  187. package/components/confetti-QNsE8ssC.js +14 -0
  188. package/components/constants-BDMySuIA.cjs +1 -0
  189. package/components/constants-DNSPUges.cjs +1 -0
  190. package/components/{constants-BYsDpbRv.js → constants-DdcZGwlM.js} +28 -19
  191. package/components/constants-DgCBmV7S.js +29 -0
  192. package/components/constants-Ds7J0meH.cjs +1 -0
  193. package/components/constants-Q_kcdbM6.js +29 -0
  194. package/components/countdown-2m_26DZf.js +157 -0
  195. package/components/countdown-BhZfvy-p.cjs +1 -0
  196. package/components/countdown-Bp3yWidJ.cjs +1 -0
  197. package/components/countdown-CH5h-cVr.js +146 -0
  198. package/components/countdown-CnUPVFlE.cjs +1 -0
  199. package/components/countdown-DmWNNDzv.js +168 -0
  200. package/components/countdown-YmZm4DrD.js +146 -0
  201. package/components/countdown-o9wqo7P7.cjs +1 -0
  202. package/components/key-CFhvp9Ju.cjs +1 -0
  203. package/components/key-D1g9LqMU.js +4 -0
  204. package/components/mystery-chest-bg-CGT-JTBW.js +4 -0
  205. package/components/mystery-chest-bg-vrQMNafs.cjs +1 -0
  206. package/components/mystery-chest-empty-CSY7-Vbl.cjs +1 -0
  207. package/components/mystery-chest-empty-D7bbrCHH.js +4 -0
  208. package/components/mystery-chest-locked-CIxpYU3v.js +4 -0
  209. package/components/mystery-chest-locked-DiyrvNm3.cjs +1 -0
  210. package/components/mystery-chest-win-D1NYItcd.js +4 -0
  211. package/components/mystery-chest-win-OxXZtQQd.cjs +1 -0
  212. package/components/remaining-times-Dexper1E.js +52 -0
  213. package/components/remaining-times-DiYnfuZB.js +23 -0
  214. package/components/remaining-times-Eqo69UfM.cjs +1 -0
  215. package/components/remaining-times-Gt6ytHaa.cjs +1 -0
  216. package/components/sparkles-B2kHtb3R.js +14 -0
  217. package/components/sparkles-BBLT1jhq.js +14 -0
  218. package/components/sparkles-BIl7-lvq.cjs +1 -0
  219. package/components/sparkles-BRrL2C0i.cjs +1 -0
  220. package/components/sparkles-BXFe6GK6.js +18 -0
  221. package/components/sparkles-C2rT-gN_.cjs +1 -0
  222. package/components/sparkles-Cfa1xTlQ.js +14 -0
  223. package/components/sparkles-Cot5wZXx.cjs +1 -0
  224. package/components/sparkles-D1RTsqBU.js +18 -0
  225. package/components/sparkles-DKbGLSaY.cjs +1 -0
  226. package/components/sparkles-DmL-n8od.cjs +1 -0
  227. package/components/sparkles-WqrZ-iXs.js +18 -0
  228. package/components/spin-controller-3wmy9F5-.cjs +1 -0
  229. package/components/{spin-controller-CIshWmlA.cjs → spin-controller-BF6ymCY4.cjs} +1 -1
  230. package/components/spin-controller-Bc8nQATS.cjs +1 -0
  231. package/components/{spin-controller-BuBkKrNR.js → spin-controller-BcBfHUn9.js} +7 -7
  232. package/components/{spin-controller-REPdRwaB.js → spin-controller-CC3QZvWl.js} +8 -8
  233. package/components/spin-controller-CEIahkSh.cjs +1 -0
  234. package/components/spin-controller-CUb1rpPl.js +177 -0
  235. package/components/spin-controller-CVXfvzb7.cjs +1 -0
  236. package/components/spin-controller-DBglqs7W.js +175 -0
  237. package/components/spin-controller-Db-fwR9V.cjs +1 -0
  238. package/components/spin-controller-DkSQ07IL.js +177 -0
  239. package/components/spin-controller-Dxxx3-ya.js +175 -0
  240. package/components/utils-8EFTHKcu.cjs +3 -0
  241. package/components/utils-AGVOgUGK.cjs +3 -0
  242. package/components/{utils-C7uxZXaZ.js → utils-B3aNdyMX.js} +968 -958
  243. package/components/utils-BJHloM10.js +6055 -0
  244. package/components/utils-C1uNHR_J.cjs +3 -0
  245. package/components/{utils-d-JrZBJu.js → utils-DEov6Qk_.js} +902 -892
  246. package/components/utils-DQ220WK3.js +6016 -0
  247. package/components/utils-DwrHy7a0.js +6007 -0
  248. package/components/utils-Dwz-wUFC.cjs +3 -0
  249. package/components/utils-Rda5erjI.cjs +3 -0
  250. package/components/utils-fG_nzyoc.cjs +3 -0
  251. package/components/utils-qUyu-MNU.js +6064 -0
  252. package/es2015/mini-games-hub.cjs +1 -1
  253. package/es2015/mini-games-hub.js +1 -1
  254. package/esnext/mini-games-hub.cjs +1 -0
  255. package/esnext/mini-games-hub.js +1 -1
  256. package/package.json +12 -13
  257. package/components/GameCard-D3knomma.js +0 -56
  258. package/components/GameCard-Ds0FcnPp.js +0 -56
  259. package/components/MiniGamesHub-zNncMSFn.cjs +0 -94
  260. package/components/WheelOfFortuneDrawResults-1lzyxrks.cjs +0 -1
  261. package/components/WheelOfFortuneDrawResults-DQweghnp.js +0 -301
  262. package/components/WheelOfFortuneDrawResults-dOeQDVub.js +0 -276
  263. package/components/WheelOfFortuneHistory-CQZ9QtVt.js +0 -232
  264. package/components/WheelOfFortuneHistory-DZNPM57t.cjs +0 -13
  265. package/components/WheelOfFortuneHistory-DygZEtcR.js +0 -232
  266. package/components/WheelOfFortuneRules-D3N1c8PX.js +0 -117
  267. package/components/WheelOfFortuneRules-DuiCet95.js +0 -128
  268. package/components/WheelOfFortuneRules-VAMAiK0m.cjs +0 -5
  269. package/components/WheelOfFortuneWheel-hSjxThyU.cjs +0 -3
  270. package/components/constants-DM6Vdc6Z.cjs +0 -1
  271. package/components/sparkles-BnriHiyw.cjs +0 -1
  272. package/components/sparkles-CSfeD2Zu.js +0 -25
  273. package/components/sparkles-CTrQ372y.js +0 -29
  274. package/components/utils-DQIHJIDu.cjs +0 -3
@@ -1,39 +1,12 @@
1
- var Ge = Object.defineProperty, je = Object.defineProperties;
2
- var Le = Object.getOwnPropertyDescriptors;
3
- var ce = Object.getOwnPropertySymbols;
4
- var Re = Object.prototype.hasOwnProperty, Me = Object.prototype.propertyIsEnumerable;
5
- var de = (l, r, o) => r in l ? Ge(l, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[r] = o, K = (l, r) => {
6
- for (var o in r || (r = {}))
7
- Re.call(r, o) && de(l, o, r[o]);
8
- if (ce)
9
- for (var o of ce(r))
10
- Me.call(r, o) && de(l, o, r[o]);
11
- return l;
12
- }, N = (l, r) => je(l, Le(r));
13
- var ge = (l, r, o) => new Promise((Y, C) => {
14
- var I = (s) => {
15
- try {
16
- c(o.next(s));
17
- } catch (x) {
18
- C(x);
19
- }
20
- }, a = (s) => {
21
- try {
22
- c(o.throw(s));
23
- } catch (x) {
24
- C(x);
25
- }
26
- }, c = (s) => s.done ? Y(s.value) : Promise.resolve(s.value).then(I, a);
27
- c((o = o.apply(l, r)).next());
28
- });
29
- import { d as Ye, c as Ie, a as Ee, t as De, p as m, o as Xe, i as fe, e as Oe, W as Ze, k as A, s as R, r as He, l as me, b as Q, f as J, m as Ve, u as Ue } from "./WheelOfFortuneWheel-DxFn6jjg.js";
30
- import { D as Ke, aL as Ne, aM as z, az as Qe, S as qe, Z as n, ar as p, aO as _, aT as b, ae as q, I as Je, aX as M, aP as $e, aQ as en, aD as u, aR as nn, b5 as tn, aW as g } from "./utils-C7uxZXaZ.js";
31
- import { W as rn } from "./WheelOfFortuneHistory-DygZEtcR.js";
32
- import { W as an } from "./WheelOfFortuneDrawResults-DQweghnp.js";
33
- import { W as on } from "./WheelOfFortuneRules-DuiCet95.js";
34
- import { p as sn } from "./constants-BYsDpbRv.js";
35
- var ln = J('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), pn = J("<button> </button>"), cn = J('<div><!> <button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
36
- const dn = {
1
+ import { d as Be, c as Se, a as Ae, t as Ce, p, o as Ge, i as te, e as Pe, W as Re, l as v, s as L, r as je, m as re, b as X, f as H, j as Le, u as Fe } from "./WheelOfFortuneWheel-DXhwrWpD.js";
2
+ import { D as Me, aL as Ye, aM as w, az as We, S as Te, Z as n, ar as o, aO as x, aT as c, ae as Z, I as De, aX as z, aP as Ie, aQ as Ee, aD as d, aR as Xe, aW as s, b5 as Ze } from "./utils-qUyu-MNU.js";
3
+ import { G as He } from "./GameHistory-BktmYuDa.js";
4
+ import { D as Oe } from "./DrawResult-DTJJfQkP.js";
5
+ import { G as Ve } from "./GameRules-CV9sxZYz.js";
6
+ import { c as Ue, f as Ke } from "./remaining-times-Dexper1E.js";
7
+ import { p as Ne } from "./constants-DdcZGwlM.js";
8
+ var Qe = H('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), qe = H("<button> </button>"), Je = H('<div><!> <button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
9
+ const $e = {
37
10
  hash: "svelte-17ly5gn",
38
11
  code: `@keyframes svelte-17ly5gn-wheelBob {
39
12
  0%, 100% {
@@ -617,7 +590,7 @@ const dn = {
617
590
  animation: none !important;} .wheel-container.is-lite .segment-hit-fill {filter:none !important;
618
591
  animation: svelte-17ly5gn-liteHitPulse 1200ms ease-in-out infinite !important;} .wheel-container.is-lite .session-badge {backdrop-filter:none;-webkit-backdrop-filter:none;} .wheel-container.is-lite .outer {filter:none;} .wheel-container.is-lite .sparkle,
619
592
  .wheel-container.is-lite .confetti {display:none;} .spin-button.is-lite {
620
- animation: svelte-17ly5gn-buttonBreath 2400ms ease-in-out infinite !important;} .wheel-content {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:calc(var(--wof-size, clamp(276px, 100vw, 430px)) + 400px);position:relative;} .wheel-content > *:not(.wheel-container):not(.wheel-video-background),
593
+ animation: svelte-17ly5gn-buttonBreath 2400ms ease-in-out infinite !important;} .wheel-content {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:calc(var(--game-stage-size, clamp(276px, 100vw, 430px)) + 400px);position:relative;} .wheel-content > *:not(.wheel-container):not(.wheel-video-background),
621
594
  .wheel-content .spins-info,
622
595
  .wheel-content .spin-button {transition:opacity 0.4s ease, filter 0.4s ease;} .wheel-content.wheel-background-halo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);} .wheel-content.is-spin-blocking {touch-action:none;} .wheel-content.is-spin-blocking > *:not(.wheel-container):not(.wheel-video-background),
623
596
  .wheel-content.is-spin-blocking .spins-info,
@@ -629,9 +602,9 @@ const dn = {
629
602
  @media (max-width: 719px) { .wheel-video-background {-webkit-mask-image:linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);mask-image:linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);}
630
603
  }
631
604
  @media (min-width: 720px) { .wheel-video-background {-webkit-mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent);mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent);}
632
- } .wheel-video-background.is-ready {opacity:0.2;} .back-button-container {display:flex;align-items:center;justify-content:start;line-height:20px;gap:6px;width:100%;padding:10px;background-color:transparent;color:var(--color-text-default, white);border:none;} .back-button-container svg {background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));padding:5px;width:15px;height:15px;border-radius:50%;} .wof-title {display:flex;flex-direction:column;justify-content:center;gap:6px;position:relative;z-index:2;} .wof-title h3 {text-align:center;margin:0;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(20px, 5.5vw, 28px);line-height:1.05;} .wof-title p {text-align:center;margin:0 0 clamp(10px, 3vw, 16px);color:var(--color-text-default, rgba(238, 246, 255, 0.96));font-size:clamp(11px, 3vw, 14px);font-weight:500;line-height:1.25;} .wof-tabs {display:flex;border-radius:50px;background-color:var(--color-tabs, rgba(251, 251, 251, 0.1019607843));padding:6px;width:90%;justify-content:center;margin-bottom:12px;position:relative;z-index:2;} .wof-tabs .tab {padding:5px;width:100%;color:var(--color-text-default, #ffffff);border-radius:50px;background-color:transparent;border:none;cursor:pointer;} .wof-tabs .active {background-color:var(--color-tabs-selected, rgba(251, 251, 251, 0.2));} .hidden {display:none !important;} .wheel-container {width:var(--wof-size, clamp(276px, 100vw, 430px));position:relative;z-index:1;margin-block:clamp(-18px, -4vw, -32px);
605
+ } .wheel-video-background.is-ready {opacity:0.2;} .back-button-container {display:flex;align-items:center;justify-content:start;line-height:20px;gap:6px;width:100%;padding:10px;background-color:transparent;color:var(--color-text-default, white);border:none;} .back-button-container svg {background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));padding:5px;width:15px;height:15px;border-radius:50%;} .wof-title {display:flex;flex-direction:column;justify-content:center;gap:6px;position:relative;z-index:2;} .wof-title h3 {text-align:center;margin:0;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(20px, 5.5vw, 28px);line-height:1.05;} .wof-title p {text-align:center;margin:0 0 clamp(10px, 3vw, 16px);color:var(--color-text-default, rgba(238, 246, 255, 0.96));font-size:clamp(11px, 3vw, 14px);font-weight:500;line-height:1.25;} .wof-tabs {display:flex;border-radius:50px;background-color:var(--color-tabs, rgba(251, 251, 251, 0.1019607843));padding:6px;width:90%;justify-content:center;margin-bottom:12px;position:relative;z-index:2;} .wof-tabs .tab {padding:5px;width:100%;color:var(--color-text-default, #ffffff);border-radius:50px;background-color:transparent;border:none;cursor:pointer;} .wof-tabs .active {background-color:var(--color-tabs-selected, rgba(251, 251, 251, 0.2));} .hidden {display:none !important;} .wheel-container {width:var(--game-stage-size, clamp(276px, 100vw, 430px));position:relative;z-index:1;margin-block:clamp(-18px, -4vw, -32px);
633
606
  animation: svelte-17ly5gn-wheelBob 5000ms ease-in-out infinite;will-change:transform;} .spins-info {display:flex;align-items:center;gap:8px;font-size:clamp(14px, 4vw, 19px);font-weight:400;color:var(--color-text-default, rgba(238, 246, 255, 0.86));position:relative;z-index:2;} .spins-info .spins-count {display:flex;align-items:center;gap:6px;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(16px, 4.5vw, 20px);} .spins-info .spins-count-loader {display:inline-block;width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
634
- animation: svelte-17ly5gn-wofSpinnerRotate 600ms linear infinite;} .countdown-text {color:var(--color-overlay-neutral-4, rgba(255, 255, 255, 0.6509803922));font-size:clamp(13px, 3.8vw, 18px);text-align:center;position:relative;z-index:2;} .countdown-text .time-segment {font-variant-numeric:tabular-nums;} .spin-button {min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);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), 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);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-style:italic;font-weight:900;cursor:pointer;position:relative;z-index:2;
607
+ animation: svelte-17ly5gn-wofSpinnerRotate 600ms linear infinite;} .countdown-text {color:var(--color-overlay-neutral-4, rgba(255, 255, 255, 0.6509803922));font-size:clamp(13px, 3.8vw, 18px);text-align:center;position:relative;z-index:2;} .countdown-text .time-segment {font-variant-numeric:tabular-nums;} .spin-button {min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);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), 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);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;position:relative;z-index:2;
635
608
  animation: svelte-17ly5gn-spinButtonZoomGlow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:opacity 260ms ease, transform 160ms ease, filter 160ms ease;} .spin-button:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .spin-button:disabled {
636
609
  animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;} .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
637
610
  animation: svelte-17ly5gn-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;
@@ -643,7 +616,7 @@ const dn = {
643
616
  animation: svelte-17ly5gn-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);
644
617
  animation: svelte-17ly5gn-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);
645
618
  animation: svelte-17ly5gn-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%;
646
- animation: svelte-17ly5gn-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-style:italic;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;font-style:italic;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;}
619
+ animation: svelte-17ly5gn-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;}
647
620
  @media (prefers-reduced-motion: reduce) { .coin,
648
621
  .draw-result-title,
649
622
  .draw-result-description,
@@ -653,46 +626,57 @@ const dn = {
653
626
  animation: none;}
654
627
  }`
655
628
  };
656
- function gn(l, r) {
657
- Ke(r, !0), Ee(l, dn);
658
- const o = () => $e(en, "$_", Y), [Y, C] = nn();
659
- Ne.extend(De);
660
- const I = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", a = m(r, "program", 7, null), c = m(r, "endpoint", 7, null), s = m(r, "session", 7, null), x = m(r, "outerWheelAsset", 7, null), E = m(r, "wheelButtonAsset", 7, null), D = m(r, "backgroundVideoAsset", 7, null), X = m(r, "language", 7, "en"), O = m(r, "showBackButton", 7, !0), y = m(r, "liteMode", 7, !1), v = M(() => !c() || !a()), be = M(() => {
629
+ function en(O, i) {
630
+ Me(i, !0), Ae(O, $e);
631
+ const _ = () => Ie(Ee, "$_", ae), [ae, oe] = Xe();
632
+ Ye.extend(Ce);
633
+ const ie = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", a = p(i, "program", 7, null), b = p(i, "endpoint", 7, null), y = p(i, "session", 7, null), F = p(i, "outerWheelAsset", 7, null), M = p(i, "wheelButtonAsset", 7, null), Y = p(i, "backgroundVideoAsset", 7, null), W = p(i, "language", 7, "en"), T = p(i, "showBackButton", 7, !0), u = p(i, "liteMode", 7, !1), g = z(() => !b() || !a()), B = z(() => {
634
+ var e, t;
635
+ return n(g) ? null : (t = (e = a()) == null ? void 0 : e.remainingTimes) != null ? t : null;
636
+ }), se = z(() => {
661
637
  var e, t;
662
- return !n(v) && ((t = (e = a()) == null ? void 0 : e.remainingTimes) != null ? t : 0) > 0;
663
- }), ue = M(() => {
638
+ return !n(g) && ((t = (e = a()) == null ? void 0 : e.remainingTimes) != null ? t : 0) > 0;
639
+ }), le = z(() => {
664
640
  var e, t;
665
- return n(v) ? sn : (t = (e = a()) == null ? void 0 : e.partitions) != null ? t : [];
666
- }), f = ["history", "play", "rules"];
667
- let h = z(Qe(f[1]));
668
- const he = (e) => {
669
- var t, i, d, k;
670
- e !== n(h) && (e === f[0] ? window.postMessage(
641
+ return n(g) ? Ne : (t = (e = a()) == null ? void 0 : e.partitions) != null ? t : [];
642
+ }), l = ["history", "play", "rules"];
643
+ let f = w(We(l[1]));
644
+ const pe = (e) => {
645
+ var t, r, h;
646
+ e !== n(f) && (e === l[0] ? window.postMessage(
671
647
  {
672
648
  type: "event_wof_history_click",
673
- name: ((t = a()) == null ? void 0 : t.name) || null
649
+ name: ((t = a()) == null ? void 0 : t.name) || null,
650
+ availableSpins: n(B)
651
+ },
652
+ window.location.href
653
+ ) : e === l[2] ? window.postMessage(
654
+ {
655
+ type: "event_wof_rules_click",
656
+ name: ((r = a()) == null ? void 0 : r.name) || null,
657
+ availableSpins: n(B)
674
658
  },
675
659
  window.location.href
676
- ) : e === f[2] ? window.postMessage({ type: "event_wof_rules_click", name: ((i = a()) == null ? void 0 : i.name) || null }, window.location.href) : window.postMessage(
660
+ ) : window.postMessage(
677
661
  {
678
662
  type: "event_wof_accessed",
679
- isUserLoggedIn: !n(v),
680
- name: ((d = a()) == null ? void 0 : d.name) || null,
681
- availableSpins: ((k = a()) == null ? void 0 : k.remainingTimes) || null
663
+ isUserLoggedIn: !n(g),
664
+ name: ((h = a()) == null ? void 0 : h.name) || null,
665
+ availableSpins: n(B)
682
666
  },
683
667
  window.location.href
684
- ), p(Z, !1), p(h, e, !0));
668
+ ), o(D, !1), o(f, e, !0));
685
669
  };
686
- let w = z(null), P = z(!1), Z = z(!1), H = z(!1), T = z(!1), W = z(!1);
687
- qe(() => {
688
- if (!y()) {
689
- if (n(P))
690
- p(T, !0), p(W, !1);
691
- else if (n(T)) {
692
- p(W, !0);
670
+ let m = w(null), S = w(!1), D = w(!1), I = w(!1), A = w(!1), C = w(!1);
671
+ Te(() => {
672
+ if (!u()) {
673
+ if (n(S))
674
+ o(A, !0), o(C, !1);
675
+ else if (n(A)) {
676
+ o(C, !0);
693
677
  const e = setTimeout(
694
678
  () => {
695
- p(T, !1), p(W, !1);
679
+ o(A, !1), o(C, !1);
696
680
  },
697
681
  350
698
682
  );
@@ -700,267 +684,247 @@ function gn(l, r) {
700
684
  }
701
685
  }
702
686
  });
703
- const we = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), xe = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), $ = () => ge(this, null, function* () {
704
- var i, d;
705
- if (!((i = a()) != null && i.id) || !c()) return;
706
- const e = new URL(`${c()}/v1/wof/remainingTimes`), t = new Headers();
707
- s() && t.append("X-SessionId", s()), e.searchParams.append("filter", `ProgramId[]=${a().id}`);
708
- try {
709
- const B = yield (yield fetch(e, { method: "GET", headers: t })).json();
710
- let U = 0;
711
- if (((d = B == null ? void 0 : B.items) == null ? void 0 : d.length) > 0) {
712
- const pe = B.items.find((Fe) => Fe.programId === a().id);
713
- pe && (U = +pe.remainingTimes || 0);
714
- }
715
- const We = tn(N(K({}, a()), {
716
- remainingTimes: U,
717
- current: N(K({}, a().current), { remainingTimes: U })
718
- }));
719
- window.postMessage({ type: "PrizeGameRemainingTimesUpdated", data: We }, "*");
720
- } catch (k) {
721
- console.log(k);
722
- } finally {
723
- p(H, !1);
724
- }
725
- }), ee = (e) => {
726
- if (e.data)
727
- switch (e.data.type) {
728
- case "SpinAgain":
729
- case "BackToWheel":
730
- p(w, null), e.data.skipFetch ? p(H, !0) : $();
731
- break;
732
- }
733
- };
734
- Xe(() => {
735
- var e, t;
687
+ const ce = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), de = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), V = () => Ke({
688
+ endpoint: b(),
689
+ session: y(),
690
+ program: Ze(a())
691
+ }).finally(() => {
692
+ o(I, !1);
693
+ }), U = Ue({
694
+ onReset: () => o(m, null),
695
+ onSkipFetch: () => o(I, !0),
696
+ refetch: V
697
+ });
698
+ Ge(() => {
699
+ var e;
736
700
  return window.postMessage(
737
701
  {
738
702
  type: "event_wof_accessed",
739
- isUserLoggedIn: !n(v),
703
+ isUserLoggedIn: !n(g),
740
704
  name: ((e = a()) == null ? void 0 : e.name) || null,
741
- availableSpins: ((t = a()) == null ? void 0 : t.remainingTimes) || null
705
+ availableSpins: n(B)
742
706
  },
743
707
  window.location.href
744
- ), window.addEventListener("message", ee), () => {
745
- window.removeEventListener("message", ee);
708
+ ), window.addEventListener("message", U), () => {
709
+ window.removeEventListener("message", U);
746
710
  };
747
711
  });
748
- var ye = {
712
+ var ge = {
749
713
  get program() {
750
714
  return a();
751
715
  },
752
716
  set program(e = null) {
753
- a(e), u();
717
+ a(e), d();
754
718
  },
755
719
  get endpoint() {
756
- return c();
720
+ return b();
757
721
  },
758
722
  set endpoint(e = null) {
759
- c(e), u();
723
+ b(e), d();
760
724
  },
761
725
  get session() {
762
- return s();
726
+ return y();
763
727
  },
764
728
  set session(e = null) {
765
- s(e), u();
729
+ y(e), d();
766
730
  },
767
731
  get outerWheelAsset() {
768
- return x();
732
+ return F();
769
733
  },
770
734
  set outerWheelAsset(e = null) {
771
- x(e), u();
735
+ F(e), d();
772
736
  },
773
737
  get wheelButtonAsset() {
774
- return E();
738
+ return M();
775
739
  },
776
740
  set wheelButtonAsset(e = null) {
777
- E(e), u();
741
+ M(e), d();
778
742
  },
779
743
  get backgroundVideoAsset() {
780
- return D();
744
+ return Y();
781
745
  },
782
746
  set backgroundVideoAsset(e = null) {
783
- D(e), u();
747
+ Y(e), d();
784
748
  },
785
749
  get language() {
786
- return X();
750
+ return W();
787
751
  },
788
752
  set language(e = "en") {
789
- X(e), u();
753
+ W(e), d();
790
754
  },
791
755
  get showBackButton() {
792
- return O();
756
+ return T();
793
757
  },
794
758
  set showBackButton(e = !0) {
795
- O(e), u();
759
+ T(e), d();
796
760
  },
797
761
  get liteMode() {
798
- return y();
762
+ return u();
799
763
  },
800
764
  set liteMode(e = !1) {
801
- y(e), u();
765
+ u(e), d();
802
766
  }
803
- }, F = cn();
804
- let ne;
805
- var te = b(F);
767
+ }, G = Je();
768
+ let K;
769
+ var N = c(G);
806
770
  {
807
- var ve = (e) => {
808
- var t = ln();
809
- let i;
771
+ var fe = (e) => {
772
+ var t = Qe();
773
+ let r;
810
774
  t.muted = !0;
811
- var d = b(t);
812
- g(t), q(() => {
813
- i = A(t, 1, "wheel-video-background svelte-17ly5gn", null, i, { "is-ready": n(Z) }), Ve(d, "src", D() || I);
814
- }), Ue("canplay", t, () => p(Z, !0)), Q(e, t);
775
+ var h = c(t);
776
+ s(t), Z(() => {
777
+ r = v(t, 1, "wheel-video-background svelte-17ly5gn", null, r, { "is-ready": n(D) }), Le(h, "src", Y() || ie);
778
+ }), Fe("canplay", t, () => o(D, !0)), X(e, t);
815
779
  };
816
- fe(te, (e) => {
817
- !y() && n(h) === f[1] && e(ve);
780
+ te(N, (e) => {
781
+ !u() && n(f) === l[1] && e(fe);
818
782
  });
819
783
  }
820
- var S = _(te, 2);
821
- let re;
822
- var ae = _(b(S), 2), ke = b(ae, !0);
823
- g(ae), g(S);
824
- var G = _(S, 2);
825
- let oe;
826
- var V = b(G), ze = b(V, !0);
827
- g(V);
828
- var ie = _(V, 2), _e = b(ie, !0);
829
- g(ie), g(G);
830
- var j = _(G, 2);
831
- let se;
832
- Oe(j, 20, () => f, (e) => e, (e, t) => {
833
- var i = pn();
834
- let d;
835
- var k = b(i, !0);
836
- g(i), q(
837
- (B) => {
838
- d = A(i, 1, "tab svelte-17ly5gn", null, d, { active: n(h) === t }), R(k, B);
784
+ var k = x(N, 2);
785
+ let Q;
786
+ var q = x(c(k), 2), me = c(q, !0);
787
+ s(q), s(k);
788
+ var P = x(k, 2);
789
+ let J;
790
+ var E = c(P), be = c(E, !0);
791
+ s(E);
792
+ var $ = x(E, 2), ue = c($, !0);
793
+ s($), s(P);
794
+ var R = x(P, 2);
795
+ let ee;
796
+ Pe(R, 20, () => l, (e) => e, (e, t) => {
797
+ var r = qe();
798
+ let h;
799
+ var ze = c(r, !0);
800
+ s(r), Z(
801
+ (_e) => {
802
+ h = v(r, 1, "tab svelte-17ly5gn", null, h, { active: n(f) === t }), L(ze, _e);
839
803
  },
840
- [() => o()(t)]
841
- ), me("click", i, () => he(t)), Q(e, i);
842
- }), g(j);
843
- var L = _(j, 2);
844
- let le;
845
- var Be = b(L);
846
- Ze(Be, {
804
+ [() => _()(t)]
805
+ ), re("click", r, () => pe(t)), X(e, r);
806
+ }), s(R);
807
+ var j = x(R, 2);
808
+ let ne;
809
+ var he = c(j);
810
+ Re(he, {
847
811
  get program() {
848
812
  return a();
849
813
  },
850
814
  get endpoint() {
851
- return c();
815
+ return b();
852
816
  },
853
817
  get session() {
854
- return s();
818
+ return y();
855
819
  },
856
820
  get outerWheelAsset() {
857
- return x();
821
+ return F();
858
822
  },
859
823
  get wheelButtonAsset() {
860
- return E();
824
+ return M();
861
825
  },
862
826
  get wheelSlices() {
863
- return n(ue);
827
+ return n(le);
864
828
  },
865
829
  get isPlaceholder() {
866
- return n(v);
830
+ return n(g);
867
831
  },
868
832
  get isWheelAvailable() {
869
- return n(be);
833
+ return n(se);
870
834
  },
871
835
  get liteMode() {
872
- return y();
836
+ return u();
873
837
  },
874
838
  get remainingTimesLoading() {
875
- return n(H);
839
+ return n(I);
876
840
  },
877
- onLogin: we,
841
+ onLogin: ce,
878
842
  get spinResults() {
879
- return n(w);
843
+ return n(m);
880
844
  },
881
845
  set spinResults(e) {
882
- p(w, e, !0);
846
+ o(m, e, !0);
883
847
  },
884
848
  get spinActive() {
885
- return n(P);
849
+ return n(S);
886
850
  },
887
851
  set spinActive(e) {
888
- p(P, e, !0);
852
+ o(S, e, !0);
889
853
  }
890
- }), g(L);
891
- var Ae = _(L, 2);
854
+ }), s(j);
855
+ var we = x(j, 2);
892
856
  {
893
- var Se = (e) => {
894
- an(e, {
857
+ var xe = (e) => {
858
+ Oe(e, {
895
859
  get result() {
896
- return n(w);
860
+ return n(m);
897
861
  },
898
862
  get endpoint() {
899
- return c();
863
+ return b();
900
864
  },
901
865
  get session() {
902
- return s();
866
+ return y();
903
867
  },
904
868
  get liteMode() {
905
- return y();
869
+ return u();
906
870
  },
907
- onFetchRemainingTimes: $
871
+ onFetchRemainingTimes: V
908
872
  });
909
- }, Ce = (e) => {
873
+ }, ye = (e) => {
910
874
  {
911
- let t = M(() => {
912
- var i;
913
- return (i = a()) == null ? void 0 : i.id;
875
+ let t = z(() => {
876
+ var r;
877
+ return (r = a()) == null ? void 0 : r.id;
914
878
  });
915
- rn(e, {
879
+ He(e, {
916
880
  get programId() {
917
881
  return n(t);
918
882
  },
919
883
  get endpoint() {
920
- return c();
884
+ return b();
921
885
  },
922
886
  get session() {
923
- return s();
887
+ return y();
924
888
  }
925
889
  });
926
890
  }
927
- }, Pe = (e) => {
928
- on(e, {
891
+ }, ve = (e) => {
892
+ Ve(e, {
929
893
  get program() {
930
894
  return a();
931
895
  },
932
896
  get language() {
933
- return X();
897
+ return W();
934
898
  }
935
899
  });
936
900
  };
937
- fe(Ae, (e) => {
938
- n(w) ? e(Se) : n(h) === f[0] ? e(Ce, 1) : n(h) === f[2] && e(Pe, 2);
901
+ te(we, (e) => {
902
+ n(m) ? e(xe) : n(f) === l[0] ? e(ye, 1) : n(f) === l[2] && e(ve, 2);
939
903
  });
940
904
  }
941
- g(F), q(
942
- (e, t, i) => {
943
- ne = A(F, 1, "wheel-content svelte-17ly5gn", null, ne, {
944
- "is-spin-blocking": n(P),
945
- "is-spin-fullscreen": n(T),
946
- "is-spin-exiting": n(W),
947
- "wheel-background-halo": y() && n(h) === f[1]
948
- }), re = A(S, 1, "back-button-container svelte-17ly5gn", null, re, { hidden: n(v) || !O() }), R(ke, e), oe = A(G, 1, "wof-title svelte-17ly5gn", null, oe, { hidden: n(w) }), R(ze, t), R(_e, i), se = A(j, 1, "wof-tabs svelte-17ly5gn", null, se, { hidden: n(v) || n(w) }), le = He(L, "", le, {
949
- display: n(h) !== f[1] || n(w) ? "none" : "contents"
905
+ s(G), Z(
906
+ (e, t, r) => {
907
+ K = v(G, 1, "wheel-content svelte-17ly5gn", null, K, {
908
+ "is-spin-blocking": n(S),
909
+ "is-spin-fullscreen": n(A),
910
+ "is-spin-exiting": n(C),
911
+ "wheel-background-halo": u() && n(f) === l[1]
912
+ }), Q = v(k, 1, "back-button-container svelte-17ly5gn", null, Q, { hidden: n(g) || !T() }), L(me, e), J = v(P, 1, "wof-title svelte-17ly5gn", null, J, { hidden: n(m) }), L(be, t), L(ue, r), ee = v(R, 1, "wof-tabs svelte-17ly5gn", null, ee, { hidden: n(g) || n(m) }), ne = je(j, "", ne, {
913
+ display: n(f) !== l[1] || n(m) ? "none" : "contents"
950
914
  });
951
915
  },
952
916
  [
953
- () => o()("backToHub"),
954
- () => o()("wofTitle"),
955
- () => o()("wofSubtitle")
917
+ () => _()("backToHub"),
918
+ () => _()("wofTitle"),
919
+ () => _()("wofSubtitle")
956
920
  ]
957
- ), me("click", S, xe), Q(l, F);
958
- var Te = Je(ye);
959
- return C(), Te;
921
+ ), re("click", k, de), X(O, G);
922
+ var ke = De(ge);
923
+ return oe(), ke;
960
924
  }
961
- Ye(["click"]);
962
- customElements.define("wheel-of-fortune", Ie(
963
- gn,
925
+ Be(["click"]);
926
+ customElements.define("wheel-of-fortune", Se(
927
+ en,
964
928
  {
965
929
  program: {},
966
930
  endpoint: {},
@@ -976,5 +940,5 @@ customElements.define("wheel-of-fortune", Ie(
976
940
  []
977
941
  ));
978
942
  export {
979
- gn as W
943
+ en as W
980
944
  };