@everymatrix/mini-games-hub 0.1.14 → 0.1.15

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 (270) 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-BjME_rom.cjs +16 -0
  110. package/components/{MiniGamesHub-D3n-AyD7.js → MiniGamesHub-Bn-xvO1e.js} +419 -743
  111. package/components/MiniGamesHub-BpjzFxHO.cjs +16 -0
  112. package/components/MiniGamesHub-BtC6TmtK.cjs +16 -0
  113. package/components/MiniGamesHub-C-9Nf-x7.js +1029 -0
  114. package/components/MiniGamesHub-C0ESIt9P.cjs +16 -0
  115. package/components/MiniGamesHub-CfIFEVOU.js +1022 -0
  116. package/components/MiniGamesHub-Cj_6ebsL.cjs +16 -0
  117. package/components/MiniGamesHub-CktxKKTj.cjs +16 -0
  118. package/components/MiniGamesHub-CrPltGGl.js +1042 -0
  119. package/components/MiniGamesHub-D2Eet3pe.js +1048 -0
  120. package/components/{MiniGamesHub-BYJ7lK90.js → MiniGamesHub-DCCeYwnc.js} +416 -760
  121. package/components/MiniGamesHub-DuyWceLB.cjs +16 -0
  122. package/components/MiniGamesHub-Dz8Ltp98.js +1048 -0
  123. package/components/MiniGamesHub-_uRBhzYg.js +1029 -0
  124. package/components/MiniGamesHub-kIXoGqbZ.cjs +16 -0
  125. package/components/MiniGamesHub-v8PPHifq.js +1072 -0
  126. package/components/MysteryChest-B4h9tqVR.js +1301 -0
  127. package/components/MysteryChest-BJCFkn02.cjs +737 -0
  128. package/components/MysteryChest-BXPAdruk.js +1290 -0
  129. package/components/MysteryChest-BuB9PD57.js +1240 -0
  130. package/components/MysteryChest-C40hwiCW.cjs +745 -0
  131. package/components/MysteryChest-CKPELFiF.cjs +737 -0
  132. package/components/MysteryChest-CRJtPhlo.cjs +743 -0
  133. package/components/MysteryChest-CScyc3Jw.cjs +745 -0
  134. package/components/MysteryChest-CheF_Rh5.cjs +739 -0
  135. package/components/MysteryChest-CrL8IXga.js +1309 -0
  136. package/components/MysteryChest-CrXzepqD.js +1296 -0
  137. package/components/MysteryChest-D6eks4QE.js +1254 -0
  138. package/components/MysteryChest-DJuhkpSa.cjs +743 -0
  139. package/components/MysteryChest-DOTlHt7A.js +1248 -0
  140. package/components/MysteryChest-DfggF659.js +1262 -0
  141. package/components/MysteryChest-Di-dVQnd.cjs +745 -0
  142. package/components/MysteryChest-DnstXEZJ.js +1298 -0
  143. package/components/MysteryChest-IcRh-Dcp.js +1247 -0
  144. package/components/MysteryChest-dyhqTxMg.cjs +739 -0
  145. package/components/WheelOfFortune--1feiOUD.js +950 -0
  146. package/components/WheelOfFortune-B0g1znMo.cjs +627 -0
  147. package/components/{WheelOfFortune--4nTtnMR.cjs → WheelOfFortune-BC0wwnC-.cjs} +6 -6
  148. package/components/{WheelOfFortune-BjNsD2ND.js → WheelOfFortune-BYxOqBjA.js} +148 -159
  149. package/components/WheelOfFortune-BgUB1tnc.js +942 -0
  150. package/components/WheelOfFortune-Bh2XAbs4.cjs +619 -0
  151. package/components/WheelOfFortune-BwmCnHru.js +926 -0
  152. package/components/WheelOfFortune-CHgHhi9q.cjs +619 -0
  153. package/components/WheelOfFortune-CRgnumXh.cjs +627 -0
  154. package/components/WheelOfFortune-CZ2cERqz.cjs +619 -0
  155. package/components/WheelOfFortune-CpYsfi8D.js +934 -0
  156. package/components/WheelOfFortune-Cy64rFDw.js +942 -0
  157. package/components/WheelOfFortune-DZ7fGpS9.cjs +619 -0
  158. package/components/WheelOfFortune-DZg0i79U.js +949 -0
  159. package/components/{WheelOfFortune-DkVQIxzg.js → WheelOfFortune-DawF7WTd.js} +178 -214
  160. package/components/WheelOfFortune-DjdKhLGF.cjs +617 -0
  161. package/components/WheelOfFortune-M5VMIsnw.cjs +619 -0
  162. package/components/WheelOfFortune-kXjxp6t7.js +926 -0
  163. package/components/WheelOfFortune-pBG33-QJ.js +933 -0
  164. package/components/WheelOfFortuneWheel-7PqVvd_8.cjs +3 -0
  165. package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +3 -0
  166. package/components/WheelOfFortuneWheel-BABzaEBd.js +1812 -0
  167. package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +3 -0
  168. package/components/WheelOfFortuneWheel-BYEHNHdI.js +1807 -0
  169. package/components/WheelOfFortuneWheel-BoZ9evN7.cjs +3 -0
  170. package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +3 -0
  171. package/components/{WheelOfFortuneWheel-BAR98ByP.js → WheelOfFortuneWheel-CQCLWOFi.js} +310 -302
  172. package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +3 -0
  173. package/components/WheelOfFortuneWheel-DUE4gyGP.js +1741 -0
  174. package/components/{WheelOfFortuneWheel-DxFn6jjg.js → WheelOfFortuneWheel-DXhwrWpD.js} +548 -539
  175. package/components/WheelOfFortuneWheel-DgVQP4GA.js +1735 -0
  176. package/components/bg-scene-Bz42V1FW.cjs +1 -0
  177. package/components/bg-scene-DpHgKCHj.js +4 -0
  178. package/components/coin-heads-BuJOLpyg.cjs +1 -0
  179. package/components/coin-heads-loqcEtH2.js +4 -0
  180. package/components/coin-tails-20vJmhwv.cjs +1 -0
  181. package/components/coin-tails-BTbsTwkz.js +4 -0
  182. package/components/confetti-CIk02Iw8.cjs +1 -0
  183. package/components/confetti-QNsE8ssC.js +14 -0
  184. package/components/constants-BDMySuIA.cjs +1 -0
  185. package/components/constants-DNSPUges.cjs +1 -0
  186. package/components/{constants-BYsDpbRv.js → constants-DdcZGwlM.js} +28 -19
  187. package/components/constants-DgCBmV7S.js +29 -0
  188. package/components/constants-Ds7J0meH.cjs +1 -0
  189. package/components/constants-Q_kcdbM6.js +29 -0
  190. package/components/countdown-2m_26DZf.js +157 -0
  191. package/components/countdown-BhZfvy-p.cjs +1 -0
  192. package/components/countdown-Bp3yWidJ.cjs +1 -0
  193. package/components/countdown-CH5h-cVr.js +146 -0
  194. package/components/countdown-CnUPVFlE.cjs +1 -0
  195. package/components/countdown-DmWNNDzv.js +168 -0
  196. package/components/countdown-YmZm4DrD.js +146 -0
  197. package/components/countdown-o9wqo7P7.cjs +1 -0
  198. package/components/key-CFhvp9Ju.cjs +1 -0
  199. package/components/key-D1g9LqMU.js +4 -0
  200. package/components/mystery-chest-bg-CGT-JTBW.js +4 -0
  201. package/components/mystery-chest-bg-vrQMNafs.cjs +1 -0
  202. package/components/mystery-chest-empty-CSY7-Vbl.cjs +1 -0
  203. package/components/mystery-chest-empty-D7bbrCHH.js +4 -0
  204. package/components/mystery-chest-locked-CIxpYU3v.js +4 -0
  205. package/components/mystery-chest-locked-DiyrvNm3.cjs +1 -0
  206. package/components/mystery-chest-win-D1NYItcd.js +4 -0
  207. package/components/mystery-chest-win-OxXZtQQd.cjs +1 -0
  208. package/components/remaining-times-Dexper1E.js +52 -0
  209. package/components/remaining-times-DiYnfuZB.js +23 -0
  210. package/components/remaining-times-Eqo69UfM.cjs +1 -0
  211. package/components/remaining-times-Gt6ytHaa.cjs +1 -0
  212. package/components/sparkles-B2kHtb3R.js +14 -0
  213. package/components/sparkles-BBLT1jhq.js +14 -0
  214. package/components/sparkles-BIl7-lvq.cjs +1 -0
  215. package/components/sparkles-BRrL2C0i.cjs +1 -0
  216. package/components/sparkles-BXFe6GK6.js +18 -0
  217. package/components/sparkles-C2rT-gN_.cjs +1 -0
  218. package/components/sparkles-Cfa1xTlQ.js +14 -0
  219. package/components/sparkles-Cot5wZXx.cjs +1 -0
  220. package/components/sparkles-D1RTsqBU.js +18 -0
  221. package/components/sparkles-DKbGLSaY.cjs +1 -0
  222. package/components/sparkles-DmL-n8od.cjs +1 -0
  223. package/components/sparkles-WqrZ-iXs.js +18 -0
  224. package/components/spin-controller-3wmy9F5-.cjs +1 -0
  225. package/components/{spin-controller-CIshWmlA.cjs → spin-controller-BF6ymCY4.cjs} +1 -1
  226. package/components/spin-controller-Bc8nQATS.cjs +1 -0
  227. package/components/{spin-controller-BuBkKrNR.js → spin-controller-BcBfHUn9.js} +7 -7
  228. package/components/{spin-controller-REPdRwaB.js → spin-controller-CC3QZvWl.js} +8 -8
  229. package/components/spin-controller-CEIahkSh.cjs +1 -0
  230. package/components/spin-controller-CUb1rpPl.js +177 -0
  231. package/components/spin-controller-CVXfvzb7.cjs +1 -0
  232. package/components/spin-controller-DBglqs7W.js +175 -0
  233. package/components/spin-controller-Db-fwR9V.cjs +1 -0
  234. package/components/spin-controller-DkSQ07IL.js +177 -0
  235. package/components/spin-controller-Dxxx3-ya.js +175 -0
  236. package/components/utils-8EFTHKcu.cjs +3 -0
  237. package/components/utils-AGVOgUGK.cjs +3 -0
  238. package/components/{utils-C7uxZXaZ.js → utils-B3aNdyMX.js} +968 -958
  239. package/components/utils-BJHloM10.js +6055 -0
  240. package/components/utils-C1uNHR_J.cjs +3 -0
  241. package/components/{utils-d-JrZBJu.js → utils-DEov6Qk_.js} +902 -892
  242. package/components/utils-DQ220WK3.js +6016 -0
  243. package/components/utils-DwrHy7a0.js +6007 -0
  244. package/components/utils-Dwz-wUFC.cjs +3 -0
  245. package/components/utils-Rda5erjI.cjs +3 -0
  246. package/components/utils-fG_nzyoc.cjs +3 -0
  247. package/components/utils-qUyu-MNU.js +6064 -0
  248. package/es2015/mini-games-hub.cjs +1 -1
  249. package/es2015/mini-games-hub.js +1 -1
  250. package/esnext/mini-games-hub.cjs +1 -0
  251. package/esnext/mini-games-hub.js +1 -1
  252. package/package.json +12 -13
  253. package/components/GameCard-D3knomma.js +0 -56
  254. package/components/GameCard-Ds0FcnPp.js +0 -56
  255. package/components/MiniGamesHub-zNncMSFn.cjs +0 -94
  256. package/components/WheelOfFortuneDrawResults-1lzyxrks.cjs +0 -1
  257. package/components/WheelOfFortuneDrawResults-DQweghnp.js +0 -301
  258. package/components/WheelOfFortuneDrawResults-dOeQDVub.js +0 -276
  259. package/components/WheelOfFortuneHistory-CQZ9QtVt.js +0 -232
  260. package/components/WheelOfFortuneHistory-DZNPM57t.cjs +0 -13
  261. package/components/WheelOfFortuneHistory-DygZEtcR.js +0 -232
  262. package/components/WheelOfFortuneRules-D3N1c8PX.js +0 -117
  263. package/components/WheelOfFortuneRules-DuiCet95.js +0 -128
  264. package/components/WheelOfFortuneRules-VAMAiK0m.cjs +0 -5
  265. package/components/WheelOfFortuneWheel-hSjxThyU.cjs +0 -3
  266. package/components/constants-DM6Vdc6Z.cjs +0 -1
  267. package/components/sparkles-BnriHiyw.cjs +0 -1
  268. package/components/sparkles-CSfeD2Zu.js +0 -25
  269. package/components/sparkles-CTrQ372y.js +0 -29
  270. package/components/utils-DQIHJIDu.cjs +0 -3
@@ -1,11 +1,12 @@
1
- import { d as Ae, c as Se, a as Ce, t as Pe, p, o as Te, i as ae, e as We, W as Fe, k as v, s as F, r as Ge, l as oe, b as X, f as H, m as je, u as Le } from "./WheelOfFortuneWheel-BAR98ByP.js";
2
- import { D as Me, aL as Re, aM as x, az as Ye, S as Ie, Z as n, ar as o, ae as Z, I as Ee, aY as G, aT as c, aO as De, aP as Oe, aS as y, aD as d, aQ as Xe, aW as s, b5 as Ze } from "./utils-d-JrZBJu.js";
3
- import { W as He } from "./WheelOfFortuneHistory-CQZ9QtVt.js";
4
- import { W as Ve } from "./WheelOfFortuneDrawResults-dOeQDVub.js";
5
- import { W as Ue } from "./WheelOfFortuneRules-D3N1c8PX.js";
6
- import { p as Ke } from "./constants-BYsDpbRv.js";
7
- var Ne = H('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), Qe = H("<button> </button>"), qe = 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>');
8
- const Je = {
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 Le, l as y, h as j, r as Re, m as re, b as Z, f as H, s as je, u as Ye } from "./WheelOfFortuneWheel-CQCLWOFi.js";
2
+ import { D as Fe, aL as Me, aM as h, az as We, S as Te, Z as n, ar as a, ae as X, I as De, aY as k, aT as c, aO as Ie, aP as Ee, aS as w, aD as d, aQ as Ze, aW as s, b5 as Xe } from "./utils-DQ220WK3.js";
3
+ import { G as He } from "./GameHistory-CrrlOaAg.js";
4
+ import { D as Oe } from "./DrawResult-SyzKXHgd.js";
5
+ import { G as Ve } from "./GameRules-DUD8OKC0.js";
6
+ import { c as Ue, f as Ke } from "./remaining-times-DiYnfuZB.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 = {
9
10
  hash: "svelte-17ly5gn",
10
11
  code: `@keyframes svelte-17ly5gn-wheelBob {
11
12
  0%, 100% {
@@ -589,7 +590,7 @@ const Je = {
589
590
  animation: none !important;} .wheel-container.is-lite .segment-hit-fill {filter:none !important;
590
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,
591
592
  .wheel-container.is-lite .confetti {display:none;} .spin-button.is-lite {
592
- 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),
593
594
  .wheel-content .spins-info,
594
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),
595
596
  .wheel-content.is-spin-blocking .spins-info,
@@ -601,9 +602,9 @@ const Je = {
601
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);}
602
603
  }
603
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);}
604
- } .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);
605
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%;
606
- 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;
607
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 {
608
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;
609
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;
@@ -615,7 +616,7 @@ const Je = {
615
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);
616
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);
617
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%;
618
- 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;}
619
620
  @media (prefers-reduced-motion: reduce) { .coin,
620
621
  .draw-result-title,
621
622
  .draw-result-description,
@@ -625,39 +626,47 @@ const Je = {
625
626
  animation: none;}
626
627
  }`
627
628
  };
628
- function $e(V, i) {
629
- Me(i, !0), Ce(V, Je);
630
- const _ = () => De(Oe, "$_", ie), [ie, se] = Xe();
631
- Re.extend(Pe);
632
- const le = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", t = p(i, "program", 7, null), g = p(i, "endpoint", 7, null), b = p(i, "session", 7, null), j = p(i, "outerWheelAsset", 7, null), L = p(i, "wheelButtonAsset", 7, null), M = p(i, "backgroundVideoAsset", 7, null), R = p(i, "language", 7, "en"), Y = p(i, "showBackButton", 7, !0), u = p(i, "liteMode", 7, !1), h = G(() => !g() || !t()), pe = G(() => !n(h) && (t()?.remainingTimes ?? 0) > 0), ce = G(() => n(h) ? Ke : t()?.partitions ?? []), l = ["history", "play", "rules"];
633
- let f = x(Ye(l[1]));
634
- const de = (e) => {
629
+ function en(O, o) {
630
+ Fe(o, !0), Ae(O, $e);
631
+ const z = () => Ie(Ee, "$_", ae), [ae, oe] = Ze();
632
+ Me.extend(Ce);
633
+ const ie = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", t = p(o, "program", 7, null), b = p(o, "endpoint", 7, null), x = p(o, "session", 7, null), Y = p(o, "outerWheelAsset", 7, null), F = p(o, "wheelButtonAsset", 7, null), M = p(o, "backgroundVideoAsset", 7, null), W = p(o, "language", 7, "en"), T = p(o, "showBackButton", 7, !0), u = p(o, "liteMode", 7, !1), g = k(() => !b() || !t()), _ = k(() => n(g) ? null : t()?.remainingTimes ?? null), se = k(() => !n(g) && (t()?.remainingTimes ?? 0) > 0), le = k(() => n(g) ? Ne : t()?.partitions ?? []), l = ["history", "play", "rules"];
634
+ let f = h(We(l[1]));
635
+ const pe = (e) => {
635
636
  e !== n(f) && (e === l[0] ? window.postMessage(
636
637
  {
637
638
  type: "event_wof_history_click",
638
- name: t()?.name || null
639
+ name: t()?.name || null,
640
+ availableSpins: n(_)
641
+ },
642
+ window.location.href
643
+ ) : e === l[2] ? window.postMessage(
644
+ {
645
+ type: "event_wof_rules_click",
646
+ name: t()?.name || null,
647
+ availableSpins: n(_)
639
648
  },
640
649
  window.location.href
641
- ) : e === l[2] ? window.postMessage({ type: "event_wof_rules_click", name: t()?.name || null }, window.location.href) : window.postMessage(
650
+ ) : window.postMessage(
642
651
  {
643
652
  type: "event_wof_accessed",
644
- isUserLoggedIn: !n(h),
653
+ isUserLoggedIn: !n(g),
645
654
  name: t()?.name || null,
646
- availableSpins: t()?.remainingTimes || null
655
+ availableSpins: n(_)
647
656
  },
648
657
  window.location.href
649
- ), o(I, !1), o(f, e, !0));
658
+ ), a(D, !1), a(f, e, !0));
650
659
  };
651
- let m = x(null), B = x(!1), I = x(!1), E = x(!1), A = x(!1), S = x(!1);
652
- Ie(() => {
660
+ let m = h(null), B = h(!1), D = h(!1), I = h(!1), S = h(!1), A = h(!1);
661
+ Te(() => {
653
662
  if (!u()) {
654
663
  if (n(B))
655
- o(A, !0), o(S, !1);
656
- else if (n(A)) {
657
- o(S, !0);
664
+ a(S, !0), a(A, !1);
665
+ else if (n(S)) {
666
+ a(A, !0);
658
667
  const e = setTimeout(
659
668
  () => {
660
- o(A, !1), o(S, !1);
669
+ a(S, !1), a(A, !1);
661
670
  },
662
671
  350
663
672
  );
@@ -665,49 +674,29 @@ function $e(V, i) {
665
674
  }
666
675
  }
667
676
  });
668
- const ge = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), fe = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), U = async () => {
669
- if (!t()?.id || !g()) return;
670
- const e = new URL(`${g()}/v1/wof/remainingTimes`), r = new Headers();
671
- b() && r.append("X-SessionId", b()), e.searchParams.append("filter", `ProgramId[]=${t().id}`);
672
- try {
673
- const w = await (await fetch(e, { method: "GET", headers: r })).json();
674
- let z = 0;
675
- if (w?.items?.length > 0) {
676
- const re = w.items.find((Be) => Be.programId === t().id);
677
- re && (z = +re.remainingTimes || 0);
678
- }
679
- const O = Ze({
680
- ...t(),
681
- remainingTimes: z,
682
- current: { ...t().current, remainingTimes: z }
683
- });
684
- window.postMessage({ type: "PrizeGameRemainingTimesUpdated", data: O }, "*");
685
- } catch (a) {
686
- console.log(a);
687
- } finally {
688
- o(E, !1);
689
- }
690
- }, K = (e) => {
691
- if (e.data)
692
- switch (e.data.type) {
693
- case "SpinAgain":
694
- case "BackToWheel":
695
- o(m, null), e.data.skipFetch ? o(E, !0) : U();
696
- break;
697
- }
698
- };
699
- Te(() => (window.postMessage(
677
+ const ce = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), de = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), V = () => Ke({
678
+ endpoint: b(),
679
+ session: x(),
680
+ program: Xe(t())
681
+ }).finally(() => {
682
+ a(I, !1);
683
+ }), U = Ue({
684
+ onReset: () => a(m, null),
685
+ onSkipFetch: () => a(I, !0),
686
+ refetch: V
687
+ });
688
+ Ge(() => (window.postMessage(
700
689
  {
701
690
  type: "event_wof_accessed",
702
- isUserLoggedIn: !n(h),
691
+ isUserLoggedIn: !n(g),
703
692
  name: t()?.name || null,
704
- availableSpins: t()?.remainingTimes || null
693
+ availableSpins: n(_)
705
694
  },
706
695
  window.location.href
707
- ), window.addEventListener("message", K), () => {
708
- window.removeEventListener("message", K);
696
+ ), window.addEventListener("message", U), () => {
697
+ window.removeEventListener("message", U);
709
698
  }));
710
- var me = {
699
+ var ge = {
711
700
  get program() {
712
701
  return t();
713
702
  },
@@ -715,28 +704,28 @@ function $e(V, i) {
715
704
  t(e), d();
716
705
  },
717
706
  get endpoint() {
718
- return g();
707
+ return b();
719
708
  },
720
709
  set endpoint(e = null) {
721
- g(e), d();
710
+ b(e), d();
722
711
  },
723
712
  get session() {
724
- return b();
713
+ return x();
725
714
  },
726
715
  set session(e = null) {
727
- b(e), d();
716
+ x(e), d();
728
717
  },
729
718
  get outerWheelAsset() {
730
- return j();
719
+ return Y();
731
720
  },
732
721
  set outerWheelAsset(e = null) {
733
- j(e), d();
722
+ Y(e), d();
734
723
  },
735
724
  get wheelButtonAsset() {
736
- return L();
725
+ return F();
737
726
  },
738
727
  set wheelButtonAsset(e = null) {
739
- L(e), d();
728
+ F(e), d();
740
729
  },
741
730
  get backgroundVideoAsset() {
742
731
  return M();
@@ -745,16 +734,16 @@ function $e(V, i) {
745
734
  M(e), d();
746
735
  },
747
736
  get language() {
748
- return R();
737
+ return W();
749
738
  },
750
739
  set language(e = "en") {
751
- R(e), d();
740
+ W(e), d();
752
741
  },
753
742
  get showBackButton() {
754
- return Y();
743
+ return T();
755
744
  },
756
745
  set showBackButton(e = !0) {
757
- Y(e), d();
746
+ T(e), d();
758
747
  },
759
748
  get liteMode() {
760
749
  return u();
@@ -762,164 +751,164 @@ function $e(V, i) {
762
751
  set liteMode(e = !1) {
763
752
  u(e), d();
764
753
  }
765
- }, C = qe();
766
- let N;
767
- var Q = c(C);
754
+ }, C = Je();
755
+ let K;
756
+ var N = c(C);
768
757
  {
769
- var be = (e) => {
770
- var r = Ne();
771
- let a;
758
+ var fe = (e) => {
759
+ var r = Qe();
760
+ let i;
772
761
  r.muted = !0;
773
- var w = c(r);
774
- s(r), Z(() => {
775
- a = v(r, 1, "wheel-video-background svelte-17ly5gn", null, a, { "is-ready": n(I) }), je(w, "src", M() || le);
776
- }), Le("canplay", r, () => o(I, !0)), X(e, r);
762
+ var R = c(r);
763
+ s(r), X(() => {
764
+ i = y(r, 1, "wheel-video-background svelte-17ly5gn", null, i, { "is-ready": n(D) }), je(R, "src", M() || ie);
765
+ }), Ye("canplay", r, () => a(D, !0)), Z(e, r);
777
766
  };
778
- ae(Q, (e) => {
779
- !u() && n(f) === l[1] && e(be);
767
+ te(N, (e) => {
768
+ !u() && n(f) === l[1] && e(fe);
780
769
  });
781
770
  }
782
- var k = y(Q, 2);
783
- let q;
784
- var J = y(c(k), 2), ue = c(J, !0);
785
- s(J), s(k);
786
- var P = y(k, 2);
787
- let $;
788
- var D = c(P), he = c(D, !0);
789
- s(D);
790
- var ee = y(D, 2), we = c(ee, !0);
791
- s(ee), s(P);
792
- var T = y(P, 2);
793
- let ne;
794
- We(T, 20, () => l, (e) => e, (e, r) => {
795
- var a = Qe();
796
- let w;
797
- var z = c(a, !0);
798
- s(a), Z(
799
- (O) => {
800
- w = v(a, 1, "tab svelte-17ly5gn", null, w, { active: n(f) === r }), F(z, O);
771
+ var v = w(N, 2);
772
+ let Q;
773
+ var q = w(c(v), 2), me = c(q, !0);
774
+ s(q), s(v);
775
+ var G = w(v, 2);
776
+ let J;
777
+ var E = c(G), be = c(E, !0);
778
+ s(E);
779
+ var $ = w(E, 2), ue = c($, !0);
780
+ s($), s(G);
781
+ var P = w(G, 2);
782
+ let ee;
783
+ Pe(P, 20, () => l, (e) => e, (e, r) => {
784
+ var i = qe();
785
+ let R;
786
+ var ze = c(i, !0);
787
+ s(i), X(
788
+ (_e) => {
789
+ R = y(i, 1, "tab svelte-17ly5gn", null, R, { active: n(f) === r }), j(ze, _e);
801
790
  },
802
- [() => _()(r)]
803
- ), oe("click", a, () => de(r)), X(e, a);
804
- }), s(T);
805
- var W = y(T, 2);
806
- let te;
807
- var xe = c(W);
808
- Fe(xe, {
791
+ [() => z()(r)]
792
+ ), re("click", i, () => pe(r)), Z(e, i);
793
+ }), s(P);
794
+ var L = w(P, 2);
795
+ let ne;
796
+ var he = c(L);
797
+ Le(he, {
809
798
  get program() {
810
799
  return t();
811
800
  },
812
801
  get endpoint() {
813
- return g();
802
+ return b();
814
803
  },
815
804
  get session() {
816
- return b();
805
+ return x();
817
806
  },
818
807
  get outerWheelAsset() {
819
- return j();
808
+ return Y();
820
809
  },
821
810
  get wheelButtonAsset() {
822
- return L();
811
+ return F();
823
812
  },
824
813
  get wheelSlices() {
825
- return n(ce);
814
+ return n(le);
826
815
  },
827
816
  get isPlaceholder() {
828
- return n(h);
817
+ return n(g);
829
818
  },
830
819
  get isWheelAvailable() {
831
- return n(pe);
820
+ return n(se);
832
821
  },
833
822
  get liteMode() {
834
823
  return u();
835
824
  },
836
825
  get remainingTimesLoading() {
837
- return n(E);
826
+ return n(I);
838
827
  },
839
- onLogin: ge,
828
+ onLogin: ce,
840
829
  get spinResults() {
841
830
  return n(m);
842
831
  },
843
832
  set spinResults(e) {
844
- o(m, e, !0);
833
+ a(m, e, !0);
845
834
  },
846
835
  get spinActive() {
847
836
  return n(B);
848
837
  },
849
838
  set spinActive(e) {
850
- o(B, e, !0);
839
+ a(B, e, !0);
851
840
  }
852
- }), s(W);
853
- var ye = y(W, 2);
841
+ }), s(L);
842
+ var we = w(L, 2);
854
843
  {
855
- var ve = (e) => {
856
- Ve(e, {
844
+ var xe = (e) => {
845
+ Oe(e, {
857
846
  get result() {
858
847
  return n(m);
859
848
  },
860
849
  get endpoint() {
861
- return g();
850
+ return b();
862
851
  },
863
852
  get session() {
864
- return b();
853
+ return x();
865
854
  },
866
855
  get liteMode() {
867
856
  return u();
868
857
  },
869
- onFetchRemainingTimes: U
858
+ onFetchRemainingTimes: V
870
859
  });
871
- }, ke = (e) => {
860
+ }, ye = (e) => {
872
861
  {
873
- let r = G(() => t()?.id);
862
+ let r = k(() => t()?.id);
874
863
  He(e, {
875
864
  get programId() {
876
865
  return n(r);
877
866
  },
878
867
  get endpoint() {
879
- return g();
868
+ return b();
880
869
  },
881
870
  get session() {
882
- return b();
871
+ return x();
883
872
  }
884
873
  });
885
874
  }
886
- }, ze = (e) => {
887
- Ue(e, {
875
+ }, ve = (e) => {
876
+ Ve(e, {
888
877
  get program() {
889
878
  return t();
890
879
  },
891
880
  get language() {
892
- return R();
881
+ return W();
893
882
  }
894
883
  });
895
884
  };
896
- ae(ye, (e) => {
897
- n(m) ? e(ve) : n(f) === l[0] ? e(ke, 1) : n(f) === l[2] && e(ze, 2);
885
+ te(we, (e) => {
886
+ n(m) ? e(xe) : n(f) === l[0] ? e(ye, 1) : n(f) === l[2] && e(ve, 2);
898
887
  });
899
888
  }
900
- s(C), Z(
901
- (e, r, a) => {
902
- N = v(C, 1, "wheel-content svelte-17ly5gn", null, N, {
889
+ s(C), X(
890
+ (e, r, i) => {
891
+ K = y(C, 1, "wheel-content svelte-17ly5gn", null, K, {
903
892
  "is-spin-blocking": n(B),
904
- "is-spin-fullscreen": n(A),
905
- "is-spin-exiting": n(S),
893
+ "is-spin-fullscreen": n(S),
894
+ "is-spin-exiting": n(A),
906
895
  "wheel-background-halo": u() && n(f) === l[1]
907
- }), q = v(k, 1, "back-button-container svelte-17ly5gn", null, q, { hidden: n(h) || !Y() }), F(ue, e), $ = v(P, 1, "wof-title svelte-17ly5gn", null, $, { hidden: n(m) }), F(he, r), F(we, a), ne = v(T, 1, "wof-tabs svelte-17ly5gn", null, ne, { hidden: n(h) || n(m) }), te = Ge(W, "", te, {
896
+ }), Q = y(v, 1, "back-button-container svelte-17ly5gn", null, Q, { hidden: n(g) || !T() }), j(me, e), J = y(G, 1, "wof-title svelte-17ly5gn", null, J, { hidden: n(m) }), j(be, r), j(ue, i), ee = y(P, 1, "wof-tabs svelte-17ly5gn", null, ee, { hidden: n(g) || n(m) }), ne = Re(L, "", ne, {
908
897
  display: n(f) !== l[1] || n(m) ? "none" : "contents"
909
898
  });
910
899
  },
911
900
  [
912
- () => _()("backToHub"),
913
- () => _()("wofTitle"),
914
- () => _()("wofSubtitle")
901
+ () => z()("backToHub"),
902
+ () => z()("wofTitle"),
903
+ () => z()("wofSubtitle")
915
904
  ]
916
- ), oe("click", k, fe), X(V, C);
917
- var _e = Ee(me);
918
- return se(), _e;
905
+ ), re("click", v, de), Z(O, C);
906
+ var ke = De(ge);
907
+ return oe(), ke;
919
908
  }
920
- Ae(["click"]);
909
+ Be(["click"]);
921
910
  customElements.define("wheel-of-fortune", Se(
922
- $e,
911
+ en,
923
912
  {
924
913
  program: {},
925
914
  endpoint: {},
@@ -935,5 +924,5 @@ customElements.define("wheel-of-fortune", Se(
935
924
  []
936
925
  ));
937
926
  export {
938
- $e as W
927
+ en as W
939
928
  };