@everymatrix/mini-games-hub 0.1.20 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/components/{CoinRoyale-Bgl4Ea3N.js → CoinRoyale-BOm4-S8w.js} +119 -141
  2. package/components/{CoinRoyale-BfaHdSQN.cjs → CoinRoyale-CH5uxsuD.cjs} +4 -17
  3. package/components/{CoinRoyale-t3opSEHv.js → CoinRoyale-CnNtLq-A.js} +135 -157
  4. package/components/{CoinRoyale-CuEAflkt.cjs → CoinRoyale-D2pyi_GY.cjs} +4 -17
  5. package/components/{MiniGamesHub-CfeP3fA-.cjs → MiniGamesHub-1gI8xWg3.cjs} +1 -1
  6. package/components/{MiniGamesHub-CQ1jWyWR.js → MiniGamesHub-BokfXy1A.js} +3 -3
  7. package/components/{MiniGamesHub-ChMf3rL7.js → MiniGamesHub-CPXGTqSS.js} +3 -3
  8. package/components/{MiniGamesHub-Cv7rxLAO.cjs → MiniGamesHub-Cy_b-cvx.cjs} +1 -1
  9. package/components/{MysteryChest-pWptmU6O.js → MysteryChest-CGtkoyYH.js} +2 -3
  10. package/components/{MysteryChest-Bq1NBRQI.cjs → MysteryChest-CtJ77A-4.cjs} +2 -3
  11. package/components/{MysteryChest-BsUxRwj9.js → MysteryChest-jlPEk0Vu.js} +2 -3
  12. package/components/{MysteryChest-Cq77jWfV.cjs → MysteryChest-zfL6oGq0.cjs} +2 -3
  13. package/components/{WheelOfFortune-uTfPiHqd.js → WheelOfFortune-B3VH8v94.js} +1 -1
  14. package/components/{WheelOfFortune-Dsr3jMxy.cjs → WheelOfFortune-BcALwQhX.cjs} +1 -1
  15. package/components/{WheelOfFortune-CriOHAfp.cjs → WheelOfFortune-CxwbJNRK.cjs} +1 -1
  16. package/components/{WheelOfFortune-D2AVLv8r.js → WheelOfFortune-cfvAy6JH.js} +1 -1
  17. package/es2015/mini-games-hub.cjs +1 -1
  18. package/es2015/mini-games-hub.js +1 -1
  19. package/esnext/mini-games-hub.cjs +1 -1
  20. package/esnext/mini-games-hub.js +1 -1
  21. package/package.json +1 -1
  22. package/components/BackButton-BMWvZ9Lb.js +0 -39
  23. package/components/BackButton-BNp3jVLa.js +0 -39
  24. package/components/BackButton-Bi1zFTns.js +0 -38
  25. package/components/BackButton-BvRNh4nJ.js +0 -39
  26. package/components/BackButton-C_v3b0Ky.cjs +0 -1
  27. package/components/BackButton-D5gfQ3NI.cjs +0 -1
  28. package/components/BackButton-DznJk3U4.js +0 -38
  29. package/components/BackButton-gIVGAf6v.js +0 -38
  30. package/components/BackButton-s0YqvufR.cjs +0 -1
  31. package/components/CoinFlip-5qt33VpA.js +0 -399
  32. package/components/CoinFlip-9-7FNYAn.js +0 -364
  33. package/components/CoinFlip-BWNJK7aS.js +0 -402
  34. package/components/CoinFlip-BaNNMAYb.cjs +0 -1
  35. package/components/CoinFlip-BgRZmhbg.js +0 -367
  36. package/components/CoinFlip-COwy7cq1.cjs +0 -1
  37. package/components/CoinFlip-CSel9VZR.js +0 -398
  38. package/components/CoinFlip-ClRh6gz2.js +0 -363
  39. package/components/CoinFlip-D7Bwnl8W.cjs +0 -1
  40. package/components/CoinFlip-D8OLaQiA.js +0 -367
  41. package/components/CoinFlip-Dg2ZA_B2.cjs +0 -1
  42. package/components/CoinFlip-DoASIhfX.cjs +0 -1
  43. package/components/CoinFlip-pvtcTO4f.cjs +0 -1
  44. package/components/CoinFlip-vrZpkrnS.js +0 -402
  45. package/components/CoinRoyale-4Oe-x5-J.cjs +0 -734
  46. package/components/CoinRoyale-9nHMXODj.js +0 -1017
  47. package/components/CoinRoyale-B3bu5S4n.cjs +0 -734
  48. package/components/CoinRoyale-B4dKiGgG.cjs +0 -736
  49. package/components/CoinRoyale-BCSu92s7.cjs +0 -759
  50. package/components/CoinRoyale-BJWVsEJj.cjs +0 -759
  51. package/components/CoinRoyale-BNxFDqe1.js +0 -999
  52. package/components/CoinRoyale-BwNvG3QI.js +0 -1009
  53. package/components/CoinRoyale-Bza84vCL.cjs +0 -738
  54. package/components/CoinRoyale-C-x6uDgh.js +0 -989
  55. package/components/CoinRoyale-CAI2JCvG.js +0 -1020
  56. package/components/CoinRoyale-CGHKZ-kc.js +0 -997
  57. package/components/CoinRoyale-CbqmmMPg.cjs +0 -736
  58. package/components/CoinRoyale-ChWsctqo.cjs +0 -759
  59. package/components/CoinRoyale-Ck3dlmOV.js +0 -1040
  60. package/components/CoinRoyale-Cw8ImDP5.js +0 -1040
  61. package/components/CoinRoyale-CxIBSKFK.js +0 -1017
  62. package/components/CoinRoyale-D-rF6BV4.js +0 -1019
  63. package/components/CoinRoyale-DH-tQHtT.cjs +0 -736
  64. package/components/CoinRoyale-DKWXkm3P.js +0 -1040
  65. package/components/CoinRoyale-DmcgvBwG.js +0 -997
  66. package/components/CoinRoyale-Y2G7RWga.js +0 -1020
  67. package/components/CoinRoyale-d2utu3E3.cjs +0 -759
  68. package/components/CoinRoyale-hmGqx4pF.cjs +0 -759
  69. package/components/CoinRoyale-ifgbuEK3.cjs +0 -759
  70. package/components/CoinRoyale-xAkf1dm_.cjs +0 -738
  71. package/components/CoinRoyale-xHokf0cY.js +0 -1020
  72. package/components/DrawResult-BHZeM1oX.cjs +0 -1
  73. package/components/DrawResult-BVtwLs-z.js +0 -373
  74. package/components/DrawResult-CG5KTjF7.cjs +0 -1
  75. package/components/DrawResult-CbLPtjvZ.js +0 -343
  76. package/components/DrawResult-DMRODSxk.cjs +0 -1
  77. package/components/DrawResult-DTJJfQkP.js +0 -373
  78. package/components/DrawResult-DdL4fFZM.js +0 -343
  79. package/components/DrawResult-DxG4CaKK.cjs +0 -1
  80. package/components/DrawResult-SyzKXHgd.js +0 -343
  81. package/components/DrawResult-ZEAa0flC.js +0 -373
  82. package/components/GameCard-8k9KvRun.cjs +0 -3
  83. package/components/GameCard-A3k7RxF5.js +0 -63
  84. package/components/GameCard-B2td6J8K.js +0 -62
  85. package/components/GameCard-Bku9nP58.cjs +0 -3
  86. package/components/GameCard-CBGi9i6m.cjs +0 -3
  87. package/components/GameCard-CHZmVd6n.cjs +0 -3
  88. package/components/GameCard-Cj4zAE8_.js +0 -59
  89. package/components/GameCard-CrKoQU1B.js +0 -59
  90. package/components/GameCard-DFVjSdtd.cjs +0 -3
  91. package/components/GameCard-DHetS96-.js +0 -66
  92. package/components/GameCard-DcWpuwMl.cjs +0 -3
  93. package/components/GameCard-jIcB63Tt.js +0 -62
  94. package/components/GameHistory-9Mf_u0La.js +0 -231
  95. package/components/GameHistory-BktmYuDa.js +0 -231
  96. package/components/GameHistory-CGAhNQKk.js +0 -231
  97. package/components/GameHistory-ChYjWDsa.cjs +0 -12
  98. package/components/GameHistory-CmiIChL-.cjs +0 -12
  99. package/components/GameHistory-CrrlOaAg.js +0 -231
  100. package/components/GameHistory-DVsHn3lx.cjs +0 -12
  101. package/components/GameHistory-_jU0BiqI.js +0 -231
  102. package/components/GameHistory-aQf3vf9u.cjs +0 -12
  103. package/components/GameHistory-lyXo0tYb.cjs +0 -12
  104. package/components/GameHistory-uzrT81kU.js +0 -231
  105. package/components/GameHistory-v6cI-TIF.cjs +0 -12
  106. package/components/GamePlaceholder-4oI8uJ-1.cjs +0 -1
  107. package/components/GamePlaceholder-Bp4nTJeL.js +0 -84
  108. package/components/GamePlaceholder-COiYGwNi.cjs +0 -15
  109. package/components/GamePlaceholder-CfJ4hx9w.js +0 -70
  110. package/components/GamePlaceholder-D9JEXsAk.js +0 -84
  111. package/components/GamePlaceholder-DGnB06iW.js +0 -71
  112. package/components/GamePlaceholder-DS5evGU6.js +0 -85
  113. package/components/GamePlaceholder-DmiU1G7G.cjs +0 -15
  114. package/components/GamePlaceholder-Dwo_YAUQ.cjs +0 -1
  115. package/components/GamePlaceholder-Uni3xW09.cjs +0 -15
  116. package/components/GamePlaceholder-fVPk29f9.cjs +0 -15
  117. package/components/GamePlaceholder-vUYYV2Ps.js +0 -85
  118. package/components/GameRules-41OkRwZu.js +0 -115
  119. package/components/GameRules-BwLJBo6z.cjs +0 -3
  120. package/components/GameRules-CRiycUU8.js +0 -115
  121. package/components/GameRules-CTKyBDZO.cjs +0 -3
  122. package/components/GameRules-CV9sxZYz.js +0 -126
  123. package/components/GameRules-CuuoMoqN.cjs +0 -3
  124. package/components/GameRules-Cy7jwBok.js +0 -126
  125. package/components/GameRules-DUD8OKC0.js +0 -115
  126. package/components/GameRules-Dkl0qVzr.js +0 -126
  127. package/components/GameRules-DpGqZdSj.cjs +0 -3
  128. package/components/GameRules-DrBYjWA6.cjs +0 -3
  129. package/components/GameRules-DrZ6w0LM.cjs +0 -3
  130. package/components/MiniGamesHub-9mWWh3N1.js +0 -1111
  131. package/components/MiniGamesHub-B6YnaRxS.cjs +0 -79
  132. package/components/MiniGamesHub-B9aQplHl.js +0 -1135
  133. package/components/MiniGamesHub-BRRQIXZj.cjs +0 -79
  134. package/components/MiniGamesHub-BWPRLpyq.cjs +0 -16
  135. package/components/MiniGamesHub-BXcQ_faH.js +0 -1022
  136. package/components/MiniGamesHub-BaMQ2sWj.js +0 -1105
  137. package/components/MiniGamesHub-BbkgB1GV.js +0 -1105
  138. package/components/MiniGamesHub-BjME_rom.cjs +0 -16
  139. package/components/MiniGamesHub-Bn-xvO1e.js +0 -1055
  140. package/components/MiniGamesHub-BpjzFxHO.cjs +0 -16
  141. package/components/MiniGamesHub-BtC6TmtK.cjs +0 -16
  142. package/components/MiniGamesHub-BvS3Q0HA.js +0 -1135
  143. package/components/MiniGamesHub-C-9Nf-x7.js +0 -1029
  144. package/components/MiniGamesHub-C0ESIt9P.cjs +0 -16
  145. package/components/MiniGamesHub-CWV1acJR.cjs +0 -79
  146. package/components/MiniGamesHub-CfIFEVOU.js +0 -1022
  147. package/components/MiniGamesHub-Cj_6ebsL.cjs +0 -16
  148. package/components/MiniGamesHub-CkVJjuZl.cjs +0 -79
  149. package/components/MiniGamesHub-CktxKKTj.cjs +0 -16
  150. package/components/MiniGamesHub-ClPq7L0V.cjs +0 -79
  151. package/components/MiniGamesHub-CrPltGGl.js +0 -1042
  152. package/components/MiniGamesHub-D2Eet3pe.js +0 -1048
  153. package/components/MiniGamesHub-D4fNnQ70.js +0 -1141
  154. package/components/MiniGamesHub-D9A4HvPC.js +0 -1135
  155. package/components/MiniGamesHub-DCCeYwnc.js +0 -1055
  156. package/components/MiniGamesHub-DuAv3Z6t.cjs +0 -79
  157. package/components/MiniGamesHub-DuyWceLB.cjs +0 -16
  158. package/components/MiniGamesHub-Dz8Ltp98.js +0 -1048
  159. package/components/MiniGamesHub-_uRBhzYg.js +0 -1029
  160. package/components/MiniGamesHub-gVFlxi4x.cjs +0 -79
  161. package/components/MiniGamesHub-kIXoGqbZ.cjs +0 -16
  162. package/components/MiniGamesHub-o7rVTqn5.cjs +0 -79
  163. package/components/MiniGamesHub-v8PPHifq.js +0 -1072
  164. package/components/MiniGamesHub-w5poRbtq.js +0 -1105
  165. package/components/MysteryChest-4_QXLnuB.js +0 -1298
  166. package/components/MysteryChest-B10zFJU3.cjs +0 -741
  167. package/components/MysteryChest-B4h9tqVR.js +0 -1301
  168. package/components/MysteryChest-BJCFkn02.cjs +0 -737
  169. package/components/MysteryChest-BXPAdruk.js +0 -1290
  170. package/components/MysteryChest-BuB9PD57.js +0 -1240
  171. package/components/MysteryChest-C1jSQFBT.cjs +0 -741
  172. package/components/MysteryChest-C40hwiCW.cjs +0 -745
  173. package/components/MysteryChest-CKPELFiF.cjs +0 -737
  174. package/components/MysteryChest-CRJtPhlo.cjs +0 -743
  175. package/components/MysteryChest-CScyc3Jw.cjs +0 -745
  176. package/components/MysteryChest-Cg48wdP6.cjs +0 -741
  177. package/components/MysteryChest-CheF_Rh5.cjs +0 -739
  178. package/components/MysteryChest-CkSMlhn1.cjs +0 -741
  179. package/components/MysteryChest-CrL8IXga.js +0 -1309
  180. package/components/MysteryChest-CrXzepqD.js +0 -1296
  181. package/components/MysteryChest-D5OWiZfM.js +0 -1250
  182. package/components/MysteryChest-D6eks4QE.js +0 -1254
  183. package/components/MysteryChest-DE2NS9aL.js +0 -1299
  184. package/components/MysteryChest-DJuhkpSa.cjs +0 -743
  185. package/components/MysteryChest-DOTlHt7A.js +0 -1248
  186. package/components/MysteryChest-DfggF659.js +0 -1262
  187. package/components/MysteryChest-Di-dVQnd.cjs +0 -745
  188. package/components/MysteryChest-DnstXEZJ.js +0 -1298
  189. package/components/MysteryChest-IcRh-Dcp.js +0 -1247
  190. package/components/MysteryChest-dyhqTxMg.cjs +0 -739
  191. package/components/MysteryChest-egeYjlMm.js +0 -1249
  192. package/components/WheelOfFortune--1feiOUD.js +0 -950
  193. package/components/WheelOfFortune-B0g1znMo.cjs +0 -627
  194. package/components/WheelOfFortune-BC0wwnC-.cjs +0 -617
  195. package/components/WheelOfFortune-BYxOqBjA.js +0 -928
  196. package/components/WheelOfFortune-BgUB1tnc.js +0 -942
  197. package/components/WheelOfFortune-Bh2XAbs4.cjs +0 -619
  198. package/components/WheelOfFortune-Bq6wSR__.cjs +0 -627
  199. package/components/WheelOfFortune-BwmCnHru.js +0 -926
  200. package/components/WheelOfFortune-CEH-5uIV.js +0 -950
  201. package/components/WheelOfFortune-CHgHhi9q.cjs +0 -619
  202. package/components/WheelOfFortune-CRgnumXh.cjs +0 -627
  203. package/components/WheelOfFortune-CZ2cERqz.cjs +0 -619
  204. package/components/WheelOfFortune-CpYsfi8D.js +0 -934
  205. package/components/WheelOfFortune-Cy64rFDw.js +0 -942
  206. package/components/WheelOfFortune-D2dcgbxg.js +0 -934
  207. package/components/WheelOfFortune-DZ7fGpS9.cjs +0 -619
  208. package/components/WheelOfFortune-DZg0i79U.js +0 -949
  209. package/components/WheelOfFortune-DawF7WTd.js +0 -944
  210. package/components/WheelOfFortune-DjdKhLGF.cjs +0 -617
  211. package/components/WheelOfFortune-KpRQWn3C.cjs +0 -627
  212. package/components/WheelOfFortune-M5VMIsnw.cjs +0 -619
  213. package/components/WheelOfFortune-kXjxp6t7.js +0 -926
  214. package/components/WheelOfFortune-pBG33-QJ.js +0 -933
  215. package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +0 -3
  216. package/components/WheelOfFortuneWheel-BABzaEBd.js +0 -1812
  217. package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +0 -3
  218. package/components/WheelOfFortuneWheel-BYEHNHdI.js +0 -1807
  219. package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +0 -3
  220. package/components/WheelOfFortuneWheel-CQCLWOFi.js +0 -1908
  221. package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +0 -3
  222. package/components/WheelOfFortuneWheel-DUE4gyGP.js +0 -1741
  223. package/components/WheelOfFortuneWheel-DXhwrWpD.js +0 -1978
  224. package/components/WheelOfFortuneWheel-DgVQP4GA.js +0 -1735
  225. package/components/constants-BDMySuIA.cjs +0 -1
  226. package/components/constants-DNSPUges.cjs +0 -1
  227. package/components/constants-DdcZGwlM.js +0 -38
  228. package/components/constants-DgCBmV7S.js +0 -29
  229. package/components/countdown-2m_26DZf.js +0 -157
  230. package/components/countdown-Bp3yWidJ.cjs +0 -1
  231. package/components/countdown-CH5h-cVr.js +0 -146
  232. package/components/countdown-CnUPVFlE.cjs +0 -1
  233. package/components/countdown-YmZm4DrD.js +0 -146
  234. package/components/sparkles-B2kHtb3R.js +0 -14
  235. package/components/sparkles-BBLT1jhq.js +0 -14
  236. package/components/sparkles-BIl7-lvq.cjs +0 -1
  237. package/components/sparkles-BRrL2C0i.cjs +0 -1
  238. package/components/sparkles-BXFe6GK6.js +0 -18
  239. package/components/sparkles-Cot5wZXx.cjs +0 -1
  240. package/components/sparkles-DKbGLSaY.cjs +0 -1
  241. package/components/sparkles-WqrZ-iXs.js +0 -18
  242. package/components/spin-controller-BF6ymCY4.cjs +0 -1
  243. package/components/spin-controller-Bc8nQATS.cjs +0 -1
  244. package/components/spin-controller-CC3QZvWl.js +0 -175
  245. package/components/spin-controller-CEIahkSh.cjs +0 -1
  246. package/components/spin-controller-CUb1rpPl.js +0 -177
  247. package/components/spin-controller-CVXfvzb7.cjs +0 -1
  248. package/components/spin-controller-DkSQ07IL.js +0 -177
  249. package/components/spin-controller-Dxxx3-ya.js +0 -175
  250. package/components/utils-AGVOgUGK.cjs +0 -3
  251. package/components/utils-B3aNdyMX.js +0 -6055
  252. package/components/utils-DEov6Qk_.js +0 -6007
  253. package/components/utils-DQ220WK3.js +0 -6016
  254. package/components/utils-DwrHy7a0.js +0 -6007
  255. package/components/utils-Dwz-wUFC.cjs +0 -3
  256. package/components/utils-Rda5erjI.cjs +0 -3
  257. package/components/utils-fG_nzyoc.cjs +0 -3
  258. package/components/utils-qUyu-MNU.js +0 -6064
@@ -1 +0,0 @@
1
- "use strict";const _=["#c0392b","#c8a84b"],I=["#fff7a8","#ffd229","#ff9f1c","#ff3158","#ffffff"],N=[{name:{"*":"Cash Bonus"},image1:{},prizeText:{"*":"Cash Bonus"},prizeImage:{},rules:[]},{name:{"*":"Free Spins"},image1:{},prizeText:{"*":"Free Spins"},prizeImage:{},rules:[]},{name:{"*":"Try Again"},image1:{},prizeText:{"*":"Try Again"},prizeImage:{},rules:[]},{name:{"*":"VIP Points"},image1:{},prizeText:{"*":"VIP Points"},prizeImage:{},rules:[]},{name:{"*":"Mystery Prize"},image1:{},prizeText:{"*":"Mystery Prize"},prizeImage:{},rules:[]},{name:{"*":"Jackpot"},image1:{},prizeText:{"*":"Jackpot"},prizeImage:{},rules:[]},{name:{"*":"Loyalty Points"},image1:{},prizeText:{"*":"Loyalty Points"},prizeImage:{},rules:[]}],E=1e4,T=55,S=48,e=.955,O=.085,A=16,L=1080,R=260,C=620,s=.16,P=.14;exports.ABORT_SPIN_DECAY=.94;exports.CONFETTI_COLORS=I;exports.DRAG_MIN_VELOCITY=.3;exports.DRAG_THRESHOLD=T;exports.EDGE_SEGMENTS=S;exports.FALLBACK_SLICE_COLORS=_;exports.FREE_SPIN_DECAY=.998;exports.FREE_SPIN_VELOCITY_FLOOR=.5;exports.LANDING_MAX_DURATION_MS=6e3;exports.LANDING_MIN_DURATION_MS=2500;exports.LANDING_MIN_VELOCITY=.25;exports.PRIZE_HIT_MS=1200;exports.RIM_FACTOR=e;exports.RISE_FACTOR=P;exports.RISE_MS=C;exports.SCALE_GAIN=s;exports.SPARK_COUNT=A;exports.SPIN_BUTTON_VELOCITY_MIN=1.2;exports.SPIN_BUTTON_VELOCITY_RANGE=.3;exports.SPIN_DECAY=.972;exports.SPIN_MAX_VELOCITY=2.4;exports.SPIN_SETTLE_THRESHOLD=.009;exports.SPIN_SPEED=L;exports.SPIN_TIMEOUT_MS=E;exports.SPIN_UP_MS=R;exports.THICKNESS_FACTOR=O;exports.placeholderWheelSlices=N;
@@ -1 +0,0 @@
1
- "use strict";const _=["#c0392b","#c8a84b"],I=["#fff7a8","#ffd229","#ff9f1c","#ff3158","#ffffff"];exports.ABORT_SPIN_DECAY=.94;exports.CONFETTI_COLORS=I;exports.DRAG_MIN_VELOCITY=.3;exports.DRAG_THRESHOLD=55;exports.EDGE_SEGMENTS=48;exports.FALLBACK_SLICE_COLORS=_;exports.FREE_SPIN_DECAY=.998;exports.FREE_SPIN_VELOCITY_FLOOR=.5;exports.LANDING_MAX_DURATION_MS=6e3;exports.LANDING_MIN_DURATION_MS=2500;exports.LANDING_MIN_VELOCITY=.25;exports.PRIZE_HIT_MS=1200;exports.RIM_FACTOR=.955;exports.RISE_FACTOR=.14;exports.RISE_MS=620;exports.SCALE_GAIN=.16;exports.SPARK_COUNT=16;exports.SPIN_BUTTON_VELOCITY_MIN=1.2;exports.SPIN_BUTTON_VELOCITY_RANGE=.3;exports.SPIN_DECAY=.972;exports.SPIN_MAX_VELOCITY=2.4;exports.SPIN_SETTLE_THRESHOLD=.009;exports.SPIN_SPEED=1080;exports.SPIN_TIMEOUT_MS=1e4;exports.SPIN_UP_MS=260;exports.THICKNESS_FACTOR=.085;
@@ -1,38 +0,0 @@
1
- const s = 0.972, e = 2.4, a = 9e-3, _ = 1200, n = 0.3, t = 1.2, I = 0.3, o = 0.998, T = 0.5, S = 0.94, c = 0.25, i = 2500, E = 6e3, r = ["#c0392b", "#c8a84b"], N = ["#fff7a8", "#ffd229", "#ff9f1c", "#ff3158", "#ffffff"], A = [
2
- { name: { "*": "Cash Bonus" }, image1: {}, prizeText: { "*": "Cash Bonus" }, prizeImage: {}, rules: [] },
3
- { name: { "*": "Free Spins" }, image1: {}, prizeText: { "*": "Free Spins" }, prizeImage: {}, rules: [] },
4
- { name: { "*": "Try Again" }, image1: {}, prizeText: { "*": "Try Again" }, prizeImage: {}, rules: [] },
5
- { name: { "*": "VIP Points" }, image1: {}, prizeText: { "*": "VIP Points" }, prizeImage: {}, rules: [] },
6
- { name: { "*": "Mystery Prize" }, image1: {}, prizeText: { "*": "Mystery Prize" }, prizeImage: {}, rules: [] },
7
- { name: { "*": "Jackpot" }, image1: {}, prizeText: { "*": "Jackpot" }, prizeImage: {}, rules: [] },
8
- { name: { "*": "Loyalty Points" }, image1: {}, prizeText: { "*": "Loyalty Points" }, prizeImage: {}, rules: [] }
9
- ], O = 1e4, P = 55, C = 48, m = 0.955, L = 0.085, R = 16, p = 1080, f = 260, g = 620, M = 0.16, z = 0.14;
10
- export {
11
- S as A,
12
- N as C,
13
- n as D,
14
- C as E,
15
- o as F,
16
- i as L,
17
- _ as P,
18
- m as R,
19
- a as S,
20
- L as T,
21
- T as a,
22
- s as b,
23
- e as c,
24
- E as d,
25
- c as e,
26
- t as f,
27
- I as g,
28
- R as h,
29
- r as i,
30
- O as j,
31
- z as k,
32
- g as l,
33
- f as m,
34
- p as n,
35
- M as o,
36
- A as p,
37
- P as q
38
- };
@@ -1,29 +0,0 @@
1
- const s = 0.972, _ = 2.4, I = 9e-3, E = 1200, S = 0.3, N = 1.2, c = 0.3, a = 0.998, T = 0.5, o = 0.94, n = 0.25, t = 2500, O = 6e3, A = ["#c0392b", "#c8a84b"], R = ["#fff7a8", "#ffd229", "#ff9f1c", "#ff3158", "#ffffff"], C = 1e4, L = 55, f = 48, P = 0.955, D = 0.085, M = 16, F = 1080, G = 260, Y = 620, U = 0.16, H = 0.14;
2
- export {
3
- o as A,
4
- R as C,
5
- S as D,
6
- f as E,
7
- a as F,
8
- t as L,
9
- E as P,
10
- P as R,
11
- I as S,
12
- D as T,
13
- T as a,
14
- s as b,
15
- _ as c,
16
- O as d,
17
- n as e,
18
- N as f,
19
- c as g,
20
- M as h,
21
- A as i,
22
- C as j,
23
- H as k,
24
- Y as l,
25
- G as m,
26
- F as n,
27
- U as o,
28
- L as p
29
- };
@@ -1,157 +0,0 @@
1
- import { c as C, g as R, d as v } from "./utils-DEov6Qk_.js";
2
- var E = { exports: {} };
3
- (function(p, g) {
4
- (function(d, o) {
5
- p.exports = o();
6
- })(C, function() {
7
- var d, o, c = 1e3, m = 6e4, l = 36e5, $ = 864e5, b = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = 31536e6, w = 2628e6, F = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, M = { years: k, months: w, days: $, hours: l, minutes: m, seconds: c, milliseconds: 1, weeks: 6048e5 }, D = function(n) {
8
- return n instanceof j;
9
- }, S = function(n, s, t) {
10
- return new j(n, t, s.$l);
11
- }, Y = function(n) {
12
- return o.p(n) + "s";
13
- }, O = function(n) {
14
- return n < 0;
15
- }, f = function(n) {
16
- return O(n) ? Math.ceil(n) : Math.floor(n);
17
- }, I = function(n) {
18
- return Math.abs(n);
19
- }, y = function(n, s) {
20
- return n ? O(n) ? { negative: !0, format: "" + I(n) + s } : { negative: !1, format: "" + n + s } : { negative: !1, format: "" };
21
- }, j = function() {
22
- function n(t, i, r) {
23
- var e = this;
24
- if (this.$d = {}, this.$l = r, t === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), i) return S(t * M[Y(i)], this);
25
- if (typeof t == "number") return this.$ms = t, this.parseFromMilliseconds(), this;
26
- if (typeof t == "object") return Object.keys(t).forEach(function(h) {
27
- e.$d[Y(h)] = t[h];
28
- }), this.calMilliseconds(), this;
29
- if (typeof t == "string") {
30
- var a = t.match(F);
31
- if (a) {
32
- var u = a.slice(2).map(function(h) {
33
- return h != null ? Number(h) : 0;
34
- });
35
- return this.$d.years = u[0], this.$d.months = u[1], this.$d.weeks = u[2], this.$d.days = u[3], this.$d.hours = u[4], this.$d.minutes = u[5], this.$d.seconds = u[6], this.calMilliseconds(), this;
36
- }
37
- }
38
- return this;
39
- }
40
- var s = n.prototype;
41
- return s.calMilliseconds = function() {
42
- var t = this;
43
- this.$ms = Object.keys(this.$d).reduce(function(i, r) {
44
- return i + (t.$d[r] || 0) * M[r];
45
- }, 0);
46
- }, s.parseFromMilliseconds = function() {
47
- var t = this.$ms;
48
- this.$d.years = f(t / k), t %= k, this.$d.months = f(t / w), t %= w, this.$d.days = f(t / $), t %= $, this.$d.hours = f(t / l), t %= l, this.$d.minutes = f(t / m), t %= m, this.$d.seconds = f(t / c), t %= c, this.$d.milliseconds = t;
49
- }, s.toISOString = function() {
50
- var t = y(this.$d.years, "Y"), i = y(this.$d.months, "M"), r = +this.$d.days || 0;
51
- this.$d.weeks && (r += 7 * this.$d.weeks);
52
- var e = y(r, "D"), a = y(this.$d.hours, "H"), u = y(this.$d.minutes, "M"), h = this.$d.seconds || 0;
53
- this.$d.milliseconds && (h += this.$d.milliseconds / 1e3, h = Math.round(1e3 * h) / 1e3);
54
- var H = y(h, "S"), T = t.negative || i.negative || e.negative || a.negative || u.negative || H.negative, N = a.format || u.format || H.format ? "T" : "", x = (T ? "-" : "") + "P" + t.format + i.format + e.format + N + a.format + u.format + H.format;
55
- return x === "P" || x === "-P" ? "P0D" : x;
56
- }, s.toJSON = function() {
57
- return this.toISOString();
58
- }, s.format = function(t) {
59
- var i = t || "YYYY-MM-DDTHH:mm:ss", r = { Y: this.$d.years, YY: o.s(this.$d.years, 2, "0"), YYYY: o.s(this.$d.years, 4, "0"), M: this.$d.months, MM: o.s(this.$d.months, 2, "0"), D: this.$d.days, DD: o.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: o.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: o.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: o.s(this.$d.seconds, 2, "0"), SSS: o.s(this.$d.milliseconds, 3, "0") };
60
- return i.replace(b, function(e, a) {
61
- return a || String(r[e]);
62
- });
63
- }, s.as = function(t) {
64
- return this.$ms / M[Y(t)];
65
- }, s.get = function(t) {
66
- var i = this.$ms, r = Y(t);
67
- return r === "milliseconds" ? i %= 1e3 : i = r === "weeks" ? f(i / M[r]) : this.$d[r], i || 0;
68
- }, s.add = function(t, i, r) {
69
- var e;
70
- return e = i ? t * M[Y(i)] : D(t) ? t.$ms : S(t, this).$ms, S(this.$ms + e * (r ? -1 : 1), this);
71
- }, s.subtract = function(t, i) {
72
- return this.add(t, i, !0);
73
- }, s.locale = function(t) {
74
- var i = this.clone();
75
- return i.$l = t, i;
76
- }, s.clone = function() {
77
- return S(this.$ms, this);
78
- }, s.humanize = function(t) {
79
- return d().add(this.$ms, "ms").locale(this.$l).fromNow(!t);
80
- }, s.valueOf = function() {
81
- return this.asMilliseconds();
82
- }, s.milliseconds = function() {
83
- return this.get("milliseconds");
84
- }, s.asMilliseconds = function() {
85
- return this.as("milliseconds");
86
- }, s.seconds = function() {
87
- return this.get("seconds");
88
- }, s.asSeconds = function() {
89
- return this.as("seconds");
90
- }, s.minutes = function() {
91
- return this.get("minutes");
92
- }, s.asMinutes = function() {
93
- return this.as("minutes");
94
- }, s.hours = function() {
95
- return this.get("hours");
96
- }, s.asHours = function() {
97
- return this.as("hours");
98
- }, s.days = function() {
99
- return this.get("days");
100
- }, s.asDays = function() {
101
- return this.as("days");
102
- }, s.weeks = function() {
103
- return this.get("weeks");
104
- }, s.asWeeks = function() {
105
- return this.as("weeks");
106
- }, s.months = function() {
107
- return this.get("months");
108
- }, s.asMonths = function() {
109
- return this.as("months");
110
- }, s.years = function() {
111
- return this.get("years");
112
- }, s.asYears = function() {
113
- return this.as("years");
114
- }, n;
115
- }(), P = function(n, s, t) {
116
- return n.add(s.years() * t, "y").add(s.months() * t, "M").add(s.days() * t, "d").add(s.hours() * t, "h").add(s.minutes() * t, "m").add(s.seconds() * t, "s").add(s.milliseconds() * t, "ms");
117
- };
118
- return function(n, s, t) {
119
- d = t, o = t().$utils(), t.duration = function(e, a) {
120
- var u = t.locale();
121
- return S(e, { $l: u }, a);
122
- }, t.isDuration = D;
123
- var i = s.prototype.add, r = s.prototype.subtract;
124
- s.prototype.add = function(e, a) {
125
- return D(e) ? P(this, e, 1) : i.bind(this)(e, a);
126
- }, s.prototype.subtract = function(e, a) {
127
- return D(e) ? P(this, e, -1) : r.bind(this)(e, a);
128
- };
129
- };
130
- });
131
- })(E);
132
- var W = E.exports;
133
- const Z = /* @__PURE__ */ R(W);
134
- v.extend(Z);
135
- const z = { days: 0, hours: "00", minutes: "00", seconds: "00" }, A = (p) => {
136
- const g = v(p ?? 0).diff(v());
137
- if (g <= 0) return { ...z };
138
- const d = v.duration(g);
139
- return {
140
- days: Math.floor(d.asDays()),
141
- hours: String(d.hours()).padStart(2, "0"),
142
- minutes: String(d.minutes()).padStart(2, "0"),
143
- seconds: String(d.seconds()).padStart(2, "0")
144
- };
145
- }, J = ({ getTarget: p, onTick: g, onElapsed: d }) => {
146
- let o = !1, c;
147
- const m = () => {
148
- c !== void 0 && (clearInterval(c), c = void 0);
149
- }, l = () => {
150
- const $ = p(), b = v($ ?? 0).diff(v());
151
- g(A($)), b <= 0 && !o && (o = !0, m(), d());
152
- };
153
- return l(), o || (c = setInterval(l, 1e3)), m;
154
- };
155
- export {
156
- J as c
157
- };
@@ -1 +0,0 @@
1
- "use strict";const m=require("./utils-Rda5erjI.cjs");var P={exports:{}};(function(l,j){(function(h,a){l.exports=a()})(m.commonjsGlobal,function(){var h,a,g=1e3,M=6e4,S=36e5,Y=864e5,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D=31536e6,b=2628e6,F=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,$={years:D,months:b,days:Y,hours:S,minutes:M,seconds:g,milliseconds:1,weeks:6048e5},v=function(n){return n instanceof x},y=function(n,t,s){return new x(n,s,t.$l)},p=function(n){return a.p(n)+"s"},H=function(n){return n<0},c=function(n){return H(n)?Math.ceil(n):Math.floor(n)},E=function(n){return Math.abs(n)},f=function(n,t){return n?H(n)?{negative:!0,format:""+E(n)+t}:{negative:!1,format:""+n+t}:{negative:!1,format:""}},x=function(){function n(s,i,r){var e=this;if(this.$d={},this.$l=r,s===void 0&&(this.$ms=0,this.parseFromMilliseconds()),i)return y(s*$[p(i)],this);if(typeof s=="number")return this.$ms=s,this.parseFromMilliseconds(),this;if(typeof s=="object")return Object.keys(s).forEach(function(d){e.$d[p(d)]=s[d]}),this.calMilliseconds(),this;if(typeof s=="string"){var o=s.match(F);if(o){var u=o.slice(2).map(function(d){return d!=null?Number(d):0});return this.$d.years=u[0],this.$d.months=u[1],this.$d.weeks=u[2],this.$d.days=u[3],this.$d.hours=u[4],this.$d.minutes=u[5],this.$d.seconds=u[6],this.calMilliseconds(),this}}return this}var t=n.prototype;return t.calMilliseconds=function(){var s=this;this.$ms=Object.keys(this.$d).reduce(function(i,r){return i+(s.$d[r]||0)*$[r]},0)},t.parseFromMilliseconds=function(){var s=this.$ms;this.$d.years=c(s/D),s%=D,this.$d.months=c(s/b),s%=b,this.$d.days=c(s/Y),s%=Y,this.$d.hours=c(s/S),s%=S,this.$d.minutes=c(s/M),s%=M,this.$d.seconds=c(s/g),s%=g,this.$d.milliseconds=s},t.toISOString=function(){var s=f(this.$d.years,"Y"),i=f(this.$d.months,"M"),r=+this.$d.days||0;this.$d.weeks&&(r+=7*this.$d.weeks);var e=f(r,"D"),o=f(this.$d.hours,"H"),u=f(this.$d.minutes,"M"),d=this.$d.seconds||0;this.$d.milliseconds&&(d+=this.$d.milliseconds/1e3,d=Math.round(1e3*d)/1e3);var k=f(d,"S"),N=s.negative||i.negative||e.negative||o.negative||u.negative||k.negative,I=o.format||u.format||k.format?"T":"",w=(N?"-":"")+"P"+s.format+i.format+e.format+I+o.format+u.format+k.format;return w==="P"||w==="-P"?"P0D":w},t.toJSON=function(){return this.toISOString()},t.format=function(s){var i=s||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return i.replace(T,function(e,o){return o||String(r[e])})},t.as=function(s){return this.$ms/$[p(s)]},t.get=function(s){var i=this.$ms,r=p(s);return r==="milliseconds"?i%=1e3:i=r==="weeks"?c(i/$[r]):this.$d[r],i||0},t.add=function(s,i,r){var e;return e=i?s*$[p(i)]:v(s)?s.$ms:y(s,this).$ms,y(this.$ms+e*(r?-1:1),this)},t.subtract=function(s,i){return this.add(s,i,!0)},t.locale=function(s){var i=this.clone();return i.$l=s,i},t.clone=function(){return y(this.$ms,this)},t.humanize=function(s){return h().add(this.$ms,"ms").locale(this.$l).fromNow(!s)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},n}(),O=function(n,t,s){return n.add(t.years()*s,"y").add(t.months()*s,"M").add(t.days()*s,"d").add(t.hours()*s,"h").add(t.minutes()*s,"m").add(t.seconds()*s,"s").add(t.milliseconds()*s,"ms")};return function(n,t,s){h=s,a=s().$utils(),s.duration=function(e,o){var u=s.locale();return y(e,{$l:u},o)},s.isDuration=v;var i=t.prototype.add,r=t.prototype.subtract;t.prototype.add=function(e,o){return v(e)?O(this,e,1):i.bind(this)(e,o)},t.prototype.subtract=function(e,o){return v(e)?O(this,e,-1):r.bind(this)(e,o)}}})})(P);var R=P.exports;const W=m.getDefaultExportFromCjs(R);m.dayjs.extend(W);const q=l=>{const j=m.dayjs(),h=m.dayjs.duration(m.dayjs(l!=null?l:0).diff(j));return{days:Math.floor(h.asDays()),hours:String(h.hours()).padStart(2,"0"),minutes:String(h.minutes()).padStart(2,"0"),seconds:String(h.seconds()).padStart(2,"0")}};exports.formatTimeRemaining=q;
@@ -1,146 +0,0 @@
1
- import { c as W, g as z, d as p } from "./utils-DwrHy7a0.js";
2
- var P = { exports: {} };
3
- (function(g, H) {
4
- (function(h, a) {
5
- g.exports = a();
6
- })(W, function() {
7
- var h, a, v = 1e3, M = 6e4, S = 36e5, Y = 864e5, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = 31536e6, b = 2628e6, T = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, m = { years: D, months: b, days: Y, hours: S, minutes: M, seconds: v, milliseconds: 1, weeks: 6048e5 }, y = function(n) {
8
- return n instanceof j;
9
- }, l = function(n, s, t) {
10
- return new j(n, t, s.$l);
11
- }, $ = function(n) {
12
- return a.p(n) + "s";
13
- }, x = function(n) {
14
- return n < 0;
15
- }, c = function(n) {
16
- return x(n) ? Math.ceil(n) : Math.floor(n);
17
- }, E = function(n) {
18
- return Math.abs(n);
19
- }, f = function(n, s) {
20
- return n ? x(n) ? { negative: !0, format: "" + E(n) + s } : { negative: !1, format: "" + n + s } : { negative: !1, format: "" };
21
- }, j = function() {
22
- function n(t, i, r) {
23
- var e = this;
24
- if (this.$d = {}, this.$l = r, t === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), i) return l(t * m[$(i)], this);
25
- if (typeof t == "number") return this.$ms = t, this.parseFromMilliseconds(), this;
26
- if (typeof t == "object") return Object.keys(t).forEach(function(d) {
27
- e.$d[$(d)] = t[d];
28
- }), this.calMilliseconds(), this;
29
- if (typeof t == "string") {
30
- var o = t.match(T);
31
- if (o) {
32
- var u = o.slice(2).map(function(d) {
33
- return d != null ? Number(d) : 0;
34
- });
35
- return this.$d.years = u[0], this.$d.months = u[1], this.$d.weeks = u[2], this.$d.days = u[3], this.$d.hours = u[4], this.$d.minutes = u[5], this.$d.seconds = u[6], this.calMilliseconds(), this;
36
- }
37
- }
38
- return this;
39
- }
40
- var s = n.prototype;
41
- return s.calMilliseconds = function() {
42
- var t = this;
43
- this.$ms = Object.keys(this.$d).reduce(function(i, r) {
44
- return i + (t.$d[r] || 0) * m[r];
45
- }, 0);
46
- }, s.parseFromMilliseconds = function() {
47
- var t = this.$ms;
48
- this.$d.years = c(t / D), t %= D, this.$d.months = c(t / b), t %= b, this.$d.days = c(t / Y), t %= Y, this.$d.hours = c(t / S), t %= S, this.$d.minutes = c(t / M), t %= M, this.$d.seconds = c(t / v), t %= v, this.$d.milliseconds = t;
49
- }, s.toISOString = function() {
50
- var t = f(this.$d.years, "Y"), i = f(this.$d.months, "M"), r = +this.$d.days || 0;
51
- this.$d.weeks && (r += 7 * this.$d.weeks);
52
- var e = f(r, "D"), o = f(this.$d.hours, "H"), u = f(this.$d.minutes, "M"), d = this.$d.seconds || 0;
53
- this.$d.milliseconds && (d += this.$d.milliseconds / 1e3, d = Math.round(1e3 * d) / 1e3);
54
- var k = f(d, "S"), N = t.negative || i.negative || e.negative || o.negative || u.negative || k.negative, I = o.format || u.format || k.format ? "T" : "", w = (N ? "-" : "") + "P" + t.format + i.format + e.format + I + o.format + u.format + k.format;
55
- return w === "P" || w === "-P" ? "P0D" : w;
56
- }, s.toJSON = function() {
57
- return this.toISOString();
58
- }, s.format = function(t) {
59
- var i = t || "YYYY-MM-DDTHH:mm:ss", r = { Y: this.$d.years, YY: a.s(this.$d.years, 2, "0"), YYYY: a.s(this.$d.years, 4, "0"), M: this.$d.months, MM: a.s(this.$d.months, 2, "0"), D: this.$d.days, DD: a.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: a.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: a.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: a.s(this.$d.seconds, 2, "0"), SSS: a.s(this.$d.milliseconds, 3, "0") };
60
- return i.replace(F, function(e, o) {
61
- return o || String(r[e]);
62
- });
63
- }, s.as = function(t) {
64
- return this.$ms / m[$(t)];
65
- }, s.get = function(t) {
66
- var i = this.$ms, r = $(t);
67
- return r === "milliseconds" ? i %= 1e3 : i = r === "weeks" ? c(i / m[r]) : this.$d[r], i || 0;
68
- }, s.add = function(t, i, r) {
69
- var e;
70
- return e = i ? t * m[$(i)] : y(t) ? t.$ms : l(t, this).$ms, l(this.$ms + e * (r ? -1 : 1), this);
71
- }, s.subtract = function(t, i) {
72
- return this.add(t, i, !0);
73
- }, s.locale = function(t) {
74
- var i = this.clone();
75
- return i.$l = t, i;
76
- }, s.clone = function() {
77
- return l(this.$ms, this);
78
- }, s.humanize = function(t) {
79
- return h().add(this.$ms, "ms").locale(this.$l).fromNow(!t);
80
- }, s.valueOf = function() {
81
- return this.asMilliseconds();
82
- }, s.milliseconds = function() {
83
- return this.get("milliseconds");
84
- }, s.asMilliseconds = function() {
85
- return this.as("milliseconds");
86
- }, s.seconds = function() {
87
- return this.get("seconds");
88
- }, s.asSeconds = function() {
89
- return this.as("seconds");
90
- }, s.minutes = function() {
91
- return this.get("minutes");
92
- }, s.asMinutes = function() {
93
- return this.as("minutes");
94
- }, s.hours = function() {
95
- return this.get("hours");
96
- }, s.asHours = function() {
97
- return this.as("hours");
98
- }, s.days = function() {
99
- return this.get("days");
100
- }, s.asDays = function() {
101
- return this.as("days");
102
- }, s.weeks = function() {
103
- return this.get("weeks");
104
- }, s.asWeeks = function() {
105
- return this.as("weeks");
106
- }, s.months = function() {
107
- return this.get("months");
108
- }, s.asMonths = function() {
109
- return this.as("months");
110
- }, s.years = function() {
111
- return this.get("years");
112
- }, s.asYears = function() {
113
- return this.as("years");
114
- }, n;
115
- }(), O = function(n, s, t) {
116
- return n.add(s.years() * t, "y").add(s.months() * t, "M").add(s.days() * t, "d").add(s.hours() * t, "h").add(s.minutes() * t, "m").add(s.seconds() * t, "s").add(s.milliseconds() * t, "ms");
117
- };
118
- return function(n, s, t) {
119
- h = t, a = t().$utils(), t.duration = function(e, o) {
120
- var u = t.locale();
121
- return l(e, { $l: u }, o);
122
- }, t.isDuration = y;
123
- var i = s.prototype.add, r = s.prototype.subtract;
124
- s.prototype.add = function(e, o) {
125
- return y(e) ? O(this, e, 1) : i.bind(this)(e, o);
126
- }, s.prototype.subtract = function(e, o) {
127
- return y(e) ? O(this, e, -1) : r.bind(this)(e, o);
128
- };
129
- };
130
- });
131
- })(P);
132
- var A = P.exports;
133
- const C = /* @__PURE__ */ z(A);
134
- p.extend(C);
135
- const J = (g) => {
136
- const H = p(), h = p.duration(p(g ?? 0).diff(H));
137
- return {
138
- days: Math.floor(h.asDays()),
139
- hours: String(h.hours()).padStart(2, "0"),
140
- minutes: String(h.minutes()).padStart(2, "0"),
141
- seconds: String(h.seconds()).padStart(2, "0")
142
- };
143
- };
144
- export {
145
- J as f
146
- };
@@ -1 +0,0 @@
1
- "use strict";const m=require("./utils-fG_nzyoc.cjs");var P={exports:{}};(function(p,j){(function(h,a){p.exports=a()})(m.commonjsGlobal,function(){var h,a,v=1e3,M=6e4,S=36e5,Y=864e5,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D=31536e6,b=2628e6,F=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l={years:D,months:b,days:Y,hours:S,minutes:M,seconds:v,milliseconds:1,weeks:6048e5},g=function(n){return n instanceof x},$=function(n,s,t){return new x(n,t,s.$l)},y=function(n){return a.p(n)+"s"},H=function(n){return n<0},c=function(n){return H(n)?Math.ceil(n):Math.floor(n)},E=function(n){return Math.abs(n)},f=function(n,s){return n?H(n)?{negative:!0,format:""+E(n)+s}:{negative:!1,format:""+n+s}:{negative:!1,format:""}},x=function(){function n(t,i,r){var e=this;if(this.$d={},this.$l=r,t===void 0&&(this.$ms=0,this.parseFromMilliseconds()),i)return $(t*l[y(i)],this);if(typeof t=="number")return this.$ms=t,this.parseFromMilliseconds(),this;if(typeof t=="object")return Object.keys(t).forEach(function(d){e.$d[y(d)]=t[d]}),this.calMilliseconds(),this;if(typeof t=="string"){var o=t.match(F);if(o){var u=o.slice(2).map(function(d){return d!=null?Number(d):0});return this.$d.years=u[0],this.$d.months=u[1],this.$d.weeks=u[2],this.$d.days=u[3],this.$d.hours=u[4],this.$d.minutes=u[5],this.$d.seconds=u[6],this.calMilliseconds(),this}}return this}var s=n.prototype;return s.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce(function(i,r){return i+(t.$d[r]||0)*l[r]},0)},s.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=c(t/D),t%=D,this.$d.months=c(t/b),t%=b,this.$d.days=c(t/Y),t%=Y,this.$d.hours=c(t/S),t%=S,this.$d.minutes=c(t/M),t%=M,this.$d.seconds=c(t/v),t%=v,this.$d.milliseconds=t},s.toISOString=function(){var t=f(this.$d.years,"Y"),i=f(this.$d.months,"M"),r=+this.$d.days||0;this.$d.weeks&&(r+=7*this.$d.weeks);var e=f(r,"D"),o=f(this.$d.hours,"H"),u=f(this.$d.minutes,"M"),d=this.$d.seconds||0;this.$d.milliseconds&&(d+=this.$d.milliseconds/1e3,d=Math.round(1e3*d)/1e3);var k=f(d,"S"),N=t.negative||i.negative||e.negative||o.negative||u.negative||k.negative,I=o.format||u.format||k.format?"T":"",w=(N?"-":"")+"P"+t.format+i.format+e.format+I+o.format+u.format+k.format;return w==="P"||w==="-P"?"P0D":w},s.toJSON=function(){return this.toISOString()},s.format=function(t){var i=t||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return i.replace(T,function(e,o){return o||String(r[e])})},s.as=function(t){return this.$ms/l[y(t)]},s.get=function(t){var i=this.$ms,r=y(t);return r==="milliseconds"?i%=1e3:i=r==="weeks"?c(i/l[r]):this.$d[r],i||0},s.add=function(t,i,r){var e;return e=i?t*l[y(i)]:g(t)?t.$ms:$(t,this).$ms,$(this.$ms+e*(r?-1:1),this)},s.subtract=function(t,i){return this.add(t,i,!0)},s.locale=function(t){var i=this.clone();return i.$l=t,i},s.clone=function(){return $(this.$ms,this)},s.humanize=function(t){return h().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},s.valueOf=function(){return this.asMilliseconds()},s.milliseconds=function(){return this.get("milliseconds")},s.asMilliseconds=function(){return this.as("milliseconds")},s.seconds=function(){return this.get("seconds")},s.asSeconds=function(){return this.as("seconds")},s.minutes=function(){return this.get("minutes")},s.asMinutes=function(){return this.as("minutes")},s.hours=function(){return this.get("hours")},s.asHours=function(){return this.as("hours")},s.days=function(){return this.get("days")},s.asDays=function(){return this.as("days")},s.weeks=function(){return this.get("weeks")},s.asWeeks=function(){return this.as("weeks")},s.months=function(){return this.get("months")},s.asMonths=function(){return this.as("months")},s.years=function(){return this.get("years")},s.asYears=function(){return this.as("years")},n}(),O=function(n,s,t){return n.add(s.years()*t,"y").add(s.months()*t,"M").add(s.days()*t,"d").add(s.hours()*t,"h").add(s.minutes()*t,"m").add(s.seconds()*t,"s").add(s.milliseconds()*t,"ms")};return function(n,s,t){h=t,a=t().$utils(),t.duration=function(e,o){var u=t.locale();return $(e,{$l:u},o)},t.isDuration=g;var i=s.prototype.add,r=s.prototype.subtract;s.prototype.add=function(e,o){return g(e)?O(this,e,1):i.bind(this)(e,o)},s.prototype.subtract=function(e,o){return g(e)?O(this,e,-1):r.bind(this)(e,o)}}})})(P);var R=P.exports;const W=m.getDefaultExportFromCjs(R);m.dayjs.extend(W);const q=p=>{const j=m.dayjs(),h=m.dayjs.duration(m.dayjs(p??0).diff(j));return{days:Math.floor(h.asDays()),hours:String(h.hours()).padStart(2,"0"),minutes:String(h.minutes()).padStart(2,"0"),seconds:String(h.seconds()).padStart(2,"0")}};exports.formatTimeRemaining=q;
@@ -1,146 +0,0 @@
1
- import { c as W, g as z, d as v } from "./utils-B3aNdyMX.js";
2
- var P = { exports: {} };
3
- (function(m, H) {
4
- (function(h, a) {
5
- m.exports = a();
6
- })(W, function() {
7
- var h, a, g = 1e3, M = 6e4, S = 36e5, Y = 864e5, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = 31536e6, b = 2628e6, T = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, l = { years: D, months: b, days: Y, hours: S, minutes: M, seconds: g, milliseconds: 1, weeks: 6048e5 }, p = function(n) {
8
- return n instanceof j;
9
- }, $ = function(n, t, s) {
10
- return new j(n, s, t.$l);
11
- }, y = function(n) {
12
- return a.p(n) + "s";
13
- }, x = function(n) {
14
- return n < 0;
15
- }, c = function(n) {
16
- return x(n) ? Math.ceil(n) : Math.floor(n);
17
- }, E = function(n) {
18
- return Math.abs(n);
19
- }, f = function(n, t) {
20
- return n ? x(n) ? { negative: !0, format: "" + E(n) + t } : { negative: !1, format: "" + n + t } : { negative: !1, format: "" };
21
- }, j = function() {
22
- function n(s, i, r) {
23
- var e = this;
24
- if (this.$d = {}, this.$l = r, s === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), i) return $(s * l[y(i)], this);
25
- if (typeof s == "number") return this.$ms = s, this.parseFromMilliseconds(), this;
26
- if (typeof s == "object") return Object.keys(s).forEach(function(d) {
27
- e.$d[y(d)] = s[d];
28
- }), this.calMilliseconds(), this;
29
- if (typeof s == "string") {
30
- var o = s.match(T);
31
- if (o) {
32
- var u = o.slice(2).map(function(d) {
33
- return d != null ? Number(d) : 0;
34
- });
35
- return this.$d.years = u[0], this.$d.months = u[1], this.$d.weeks = u[2], this.$d.days = u[3], this.$d.hours = u[4], this.$d.minutes = u[5], this.$d.seconds = u[6], this.calMilliseconds(), this;
36
- }
37
- }
38
- return this;
39
- }
40
- var t = n.prototype;
41
- return t.calMilliseconds = function() {
42
- var s = this;
43
- this.$ms = Object.keys(this.$d).reduce(function(i, r) {
44
- return i + (s.$d[r] || 0) * l[r];
45
- }, 0);
46
- }, t.parseFromMilliseconds = function() {
47
- var s = this.$ms;
48
- this.$d.years = c(s / D), s %= D, this.$d.months = c(s / b), s %= b, this.$d.days = c(s / Y), s %= Y, this.$d.hours = c(s / S), s %= S, this.$d.minutes = c(s / M), s %= M, this.$d.seconds = c(s / g), s %= g, this.$d.milliseconds = s;
49
- }, t.toISOString = function() {
50
- var s = f(this.$d.years, "Y"), i = f(this.$d.months, "M"), r = +this.$d.days || 0;
51
- this.$d.weeks && (r += 7 * this.$d.weeks);
52
- var e = f(r, "D"), o = f(this.$d.hours, "H"), u = f(this.$d.minutes, "M"), d = this.$d.seconds || 0;
53
- this.$d.milliseconds && (d += this.$d.milliseconds / 1e3, d = Math.round(1e3 * d) / 1e3);
54
- var k = f(d, "S"), N = s.negative || i.negative || e.negative || o.negative || u.negative || k.negative, I = o.format || u.format || k.format ? "T" : "", w = (N ? "-" : "") + "P" + s.format + i.format + e.format + I + o.format + u.format + k.format;
55
- return w === "P" || w === "-P" ? "P0D" : w;
56
- }, t.toJSON = function() {
57
- return this.toISOString();
58
- }, t.format = function(s) {
59
- var i = s || "YYYY-MM-DDTHH:mm:ss", r = { Y: this.$d.years, YY: a.s(this.$d.years, 2, "0"), YYYY: a.s(this.$d.years, 4, "0"), M: this.$d.months, MM: a.s(this.$d.months, 2, "0"), D: this.$d.days, DD: a.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: a.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: a.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: a.s(this.$d.seconds, 2, "0"), SSS: a.s(this.$d.milliseconds, 3, "0") };
60
- return i.replace(F, function(e, o) {
61
- return o || String(r[e]);
62
- });
63
- }, t.as = function(s) {
64
- return this.$ms / l[y(s)];
65
- }, t.get = function(s) {
66
- var i = this.$ms, r = y(s);
67
- return r === "milliseconds" ? i %= 1e3 : i = r === "weeks" ? c(i / l[r]) : this.$d[r], i || 0;
68
- }, t.add = function(s, i, r) {
69
- var e;
70
- return e = i ? s * l[y(i)] : p(s) ? s.$ms : $(s, this).$ms, $(this.$ms + e * (r ? -1 : 1), this);
71
- }, t.subtract = function(s, i) {
72
- return this.add(s, i, !0);
73
- }, t.locale = function(s) {
74
- var i = this.clone();
75
- return i.$l = s, i;
76
- }, t.clone = function() {
77
- return $(this.$ms, this);
78
- }, t.humanize = function(s) {
79
- return h().add(this.$ms, "ms").locale(this.$l).fromNow(!s);
80
- }, t.valueOf = function() {
81
- return this.asMilliseconds();
82
- }, t.milliseconds = function() {
83
- return this.get("milliseconds");
84
- }, t.asMilliseconds = function() {
85
- return this.as("milliseconds");
86
- }, t.seconds = function() {
87
- return this.get("seconds");
88
- }, t.asSeconds = function() {
89
- return this.as("seconds");
90
- }, t.minutes = function() {
91
- return this.get("minutes");
92
- }, t.asMinutes = function() {
93
- return this.as("minutes");
94
- }, t.hours = function() {
95
- return this.get("hours");
96
- }, t.asHours = function() {
97
- return this.as("hours");
98
- }, t.days = function() {
99
- return this.get("days");
100
- }, t.asDays = function() {
101
- return this.as("days");
102
- }, t.weeks = function() {
103
- return this.get("weeks");
104
- }, t.asWeeks = function() {
105
- return this.as("weeks");
106
- }, t.months = function() {
107
- return this.get("months");
108
- }, t.asMonths = function() {
109
- return this.as("months");
110
- }, t.years = function() {
111
- return this.get("years");
112
- }, t.asYears = function() {
113
- return this.as("years");
114
- }, n;
115
- }(), O = function(n, t, s) {
116
- return n.add(t.years() * s, "y").add(t.months() * s, "M").add(t.days() * s, "d").add(t.hours() * s, "h").add(t.minutes() * s, "m").add(t.seconds() * s, "s").add(t.milliseconds() * s, "ms");
117
- };
118
- return function(n, t, s) {
119
- h = s, a = s().$utils(), s.duration = function(e, o) {
120
- var u = s.locale();
121
- return $(e, { $l: u }, o);
122
- }, s.isDuration = p;
123
- var i = t.prototype.add, r = t.prototype.subtract;
124
- t.prototype.add = function(e, o) {
125
- return p(e) ? O(this, e, 1) : i.bind(this)(e, o);
126
- }, t.prototype.subtract = function(e, o) {
127
- return p(e) ? O(this, e, -1) : r.bind(this)(e, o);
128
- };
129
- };
130
- });
131
- })(P);
132
- var A = P.exports;
133
- const C = /* @__PURE__ */ z(A);
134
- v.extend(C);
135
- const J = (m) => {
136
- const H = v(), h = v.duration(v(m != null ? m : 0).diff(H));
137
- return {
138
- days: Math.floor(h.asDays()),
139
- hours: String(h.hours()).padStart(2, "0"),
140
- minutes: String(h.minutes()).padStart(2, "0"),
141
- seconds: String(h.seconds()).padStart(2, "0")
142
- };
143
- };
144
- export {
145
- J as f
146
- };
@@ -1,14 +0,0 @@
1
- import { C as c } from "./constants-DgCBmV7S.js";
2
- function b(a, y, h, l = 14) {
3
- const o = a.getBoundingClientRect(), M = y - o.left, u = h - o.top, n = Math.min(l, 30), e = a.parentElement;
4
- e && (e.classList?.add("is-bursting"), clearTimeout(e._burstTimer), e._burstTimer = setTimeout(() => e.classList?.remove("is-bursting"), 780));
5
- for (let s = 0; s < n; s++) {
6
- const t = document.createElement("span"), r = s < Math.ceil(n * 0.18), p = Math.random();
7
- t.className = r ? "sparkle" : `confetti ${p > 0.76 ? "is-diamond" : p > 0.56 ? "is-ribbon" : ""}`;
8
- const i = Math.PI * 2 * s / n + (Math.random() - 0.5) * 0.42, d = o.width * (0.12 + Math.random() * 0.14), x = Math.sin(i) < 0 ? 1.08 : 0.74, P = Math.cos(i) * d, $ = Math.sin(i) * d * x, m = r ? 4 + Math.random() * 7 : 4 + Math.random() * 8, f = r ? m : 3 + Math.random() * 8;
9
- t.style.setProperty("--x", `${M}px`), t.style.setProperty("--y", `${u}px`), t.style.setProperty("--tx", `${P}px`), t.style.setProperty("--ty", `${$}px`), t.style.setProperty("--fall", `${42 + Math.random() * 82}px`), t.style.setProperty("--w", `${m}px`), t.style.setProperty("--h", `${f}px`), t.style.setProperty("--radius", `${r ? 50 : 2 + Math.random() * 4}px`), t.style.setProperty("--hue", c[Math.floor(Math.random() * c.length)]), t.style.setProperty("--d", `${950 + Math.random() * 700}ms`), t.style.setProperty("--rot", `${Math.random() * 360}deg`), t.style.setProperty("--spin", `${(Math.random() > 0.5 ? 1 : -1) * (180 + Math.random() * 360)}deg`), t.style.animationDelay = `${Math.random() * 55}ms`, a.appendChild(t), t.addEventListener("animationend", () => t.remove(), { once: !0 });
10
- }
11
- }
12
- export {
13
- b
14
- };
@@ -1,14 +0,0 @@
1
- import { C as c } from "./constants-DdcZGwlM.js";
2
- function b(a, y, h, l = 14) {
3
- const o = a.getBoundingClientRect(), M = y - o.left, u = h - o.top, n = Math.min(l, 30), e = a.parentElement;
4
- e && (e.classList?.add("is-bursting"), clearTimeout(e._burstTimer), e._burstTimer = setTimeout(() => e.classList?.remove("is-bursting"), 780));
5
- for (let s = 0; s < n; s++) {
6
- const t = document.createElement("span"), r = s < Math.ceil(n * 0.18), p = Math.random();
7
- t.className = r ? "sparkle" : `confetti ${p > 0.76 ? "is-diamond" : p > 0.56 ? "is-ribbon" : ""}`;
8
- const i = Math.PI * 2 * s / n + (Math.random() - 0.5) * 0.42, d = o.width * (0.12 + Math.random() * 0.14), x = Math.sin(i) < 0 ? 1.08 : 0.74, P = Math.cos(i) * d, $ = Math.sin(i) * d * x, m = r ? 4 + Math.random() * 7 : 4 + Math.random() * 8, f = r ? m : 3 + Math.random() * 8;
9
- t.style.setProperty("--x", `${M}px`), t.style.setProperty("--y", `${u}px`), t.style.setProperty("--tx", `${P}px`), t.style.setProperty("--ty", `${$}px`), t.style.setProperty("--fall", `${42 + Math.random() * 82}px`), t.style.setProperty("--w", `${m}px`), t.style.setProperty("--h", `${f}px`), t.style.setProperty("--radius", `${r ? 50 : 2 + Math.random() * 4}px`), t.style.setProperty("--hue", c[Math.floor(Math.random() * c.length)]), t.style.setProperty("--d", `${950 + Math.random() * 700}ms`), t.style.setProperty("--rot", `${Math.random() * 360}deg`), t.style.setProperty("--spin", `${(Math.random() > 0.5 ? 1 : -1) * (180 + Math.random() * 360)}deg`), t.style.animationDelay = `${Math.random() * 55}ms`, a.appendChild(t), t.addEventListener("animationend", () => t.remove(), { once: !0 });
10
- }
11
- }
12
- export {
13
- b
14
- };
@@ -1 +0,0 @@
1
- "use strict";const m=require("./constants-BDMySuIA.cjs");function g(r,y,l,h=14){const o=r.getBoundingClientRect(),M=y-o.left,u=l-o.top,a=Math.min(h,30),e=r.parentElement;e&&(e.classList?.add("is-bursting"),clearTimeout(e._burstTimer),e._burstTimer=setTimeout(()=>e.classList?.remove("is-bursting"),780));for(let s=0;s<a;s++){const t=document.createElement("span"),n=s<Math.ceil(a*.18),c=Math.random();t.className=n?"sparkle":`confetti ${c>.76?"is-diamond":c>.56?"is-ribbon":""}`;const i=Math.PI*2*s/a+(Math.random()-.5)*.42,p=o.width*(.12+Math.random()*.14),P=Math.sin(i)<0?1.08:.74,$=Math.cos(i)*p,x=Math.sin(i)*p*P,d=n?4+Math.random()*7:4+Math.random()*8,f=n?d:3+Math.random()*8;t.style.setProperty("--x",`${M}px`),t.style.setProperty("--y",`${u}px`),t.style.setProperty("--tx",`${$}px`),t.style.setProperty("--ty",`${x}px`),t.style.setProperty("--fall",`${42+Math.random()*82}px`),t.style.setProperty("--w",`${d}px`),t.style.setProperty("--h",`${f}px`),t.style.setProperty("--radius",`${n?50:2+Math.random()*4}px`),t.style.setProperty("--hue",m.CONFETTI_COLORS[Math.floor(Math.random()*m.CONFETTI_COLORS.length)]),t.style.setProperty("--d",`${950+Math.random()*700}ms`),t.style.setProperty("--rot",`${Math.random()*360}deg`),t.style.setProperty("--spin",`${(Math.random()>.5?1:-1)*(180+Math.random()*360)}deg`),t.style.animationDelay=`${Math.random()*55}ms`,r.appendChild(t),t.addEventListener("animationend",()=>t.remove(),{once:!0})}}exports.burstSparkles=g;
@@ -1 +0,0 @@
1
- "use strict";const y=require("./constants-DNSPUges.cjs");function b(r,l,h,M=14){var c;const o=r.getBoundingClientRect(),u=l-o.left,P=h-o.top,a=Math.min(M,30),s=r.parentElement;s&&((c=s.classList)==null||c.add("is-bursting"),clearTimeout(s._burstTimer),s._burstTimer=setTimeout(()=>{var e;return(e=s.classList)==null?void 0:e.remove("is-bursting")},780));for(let e=0;e<a;e++){const t=document.createElement("span"),n=e<Math.ceil(a*.18),p=Math.random();t.className=n?"sparkle":`confetti ${p>.76?"is-diamond":p>.56?"is-ribbon":""}`;const i=Math.PI*2*e/a+(Math.random()-.5)*.42,d=o.width*(.12+Math.random()*.14),$=Math.sin(i)<0?1.08:.74,x=Math.cos(i)*d,f=Math.sin(i)*d*$,m=n?4+Math.random()*7:4+Math.random()*8,g=n?m:3+Math.random()*8;t.style.setProperty("--x",`${u}px`),t.style.setProperty("--y",`${P}px`),t.style.setProperty("--tx",`${x}px`),t.style.setProperty("--ty",`${f}px`),t.style.setProperty("--fall",`${42+Math.random()*82}px`),t.style.setProperty("--w",`${m}px`),t.style.setProperty("--h",`${g}px`),t.style.setProperty("--radius",`${n?50:2+Math.random()*4}px`),t.style.setProperty("--hue",y.CONFETTI_COLORS[Math.floor(Math.random()*y.CONFETTI_COLORS.length)]),t.style.setProperty("--d",`${950+Math.random()*700}ms`),t.style.setProperty("--rot",`${Math.random()*360}deg`),t.style.setProperty("--spin",`${(Math.random()>.5?1:-1)*(180+Math.random()*360)}deg`),t.style.animationDelay=`${Math.random()*55}ms`,r.appendChild(t),t.addEventListener("animationend",()=>t.remove(),{once:!0})}}exports.burstSparkles=b;
@@ -1,18 +0,0 @@
1
- import { C as y } from "./constants-DgCBmV7S.js";
2
- function T(a, h, l, M = 14) {
3
- var p;
4
- const o = a.getBoundingClientRect(), u = h - o.left, x = l - o.top, n = Math.min(M, 30), s = a.parentElement;
5
- s && ((p = s.classList) == null || p.add("is-bursting"), clearTimeout(s._burstTimer), s._burstTimer = setTimeout(() => {
6
- var e;
7
- return (e = s.classList) == null ? void 0 : e.remove("is-bursting");
8
- }, 780));
9
- for (let e = 0; e < n; e++) {
10
- const t = document.createElement("span"), r = e < Math.ceil(n * 0.18), d = Math.random();
11
- t.className = r ? "sparkle" : `confetti ${d > 0.76 ? "is-diamond" : d > 0.56 ? "is-ribbon" : ""}`;
12
- const i = Math.PI * 2 * e / n + (Math.random() - 0.5) * 0.42, m = o.width * (0.12 + Math.random() * 0.14), P = Math.sin(i) < 0 ? 1.08 : 0.74, $ = Math.cos(i) * m, f = Math.sin(i) * m * P, c = r ? 4 + Math.random() * 7 : 4 + Math.random() * 8, g = r ? c : 3 + Math.random() * 8;
13
- t.style.setProperty("--x", `${u}px`), t.style.setProperty("--y", `${x}px`), t.style.setProperty("--tx", `${$}px`), t.style.setProperty("--ty", `${f}px`), t.style.setProperty("--fall", `${42 + Math.random() * 82}px`), t.style.setProperty("--w", `${c}px`), t.style.setProperty("--h", `${g}px`), t.style.setProperty("--radius", `${r ? 50 : 2 + Math.random() * 4}px`), t.style.setProperty("--hue", y[Math.floor(Math.random() * y.length)]), t.style.setProperty("--d", `${950 + Math.random() * 700}ms`), t.style.setProperty("--rot", `${Math.random() * 360}deg`), t.style.setProperty("--spin", `${(Math.random() > 0.5 ? 1 : -1) * (180 + Math.random() * 360)}deg`), t.style.animationDelay = `${Math.random() * 55}ms`, a.appendChild(t), t.addEventListener("animationend", () => t.remove(), { once: !0 });
14
- }
15
- }
16
- export {
17
- T as b
18
- };
@@ -1 +0,0 @@
1
- "use strict";const y=require("./constants-BDMySuIA.cjs");function b(r,l,h,M=14){var c;const o=r.getBoundingClientRect(),u=l-o.left,P=h-o.top,a=Math.min(M,30),s=r.parentElement;s&&((c=s.classList)==null||c.add("is-bursting"),clearTimeout(s._burstTimer),s._burstTimer=setTimeout(()=>{var e;return(e=s.classList)==null?void 0:e.remove("is-bursting")},780));for(let e=0;e<a;e++){const t=document.createElement("span"),n=e<Math.ceil(a*.18),p=Math.random();t.className=n?"sparkle":`confetti ${p>.76?"is-diamond":p>.56?"is-ribbon":""}`;const i=Math.PI*2*e/a+(Math.random()-.5)*.42,d=o.width*(.12+Math.random()*.14),$=Math.sin(i)<0?1.08:.74,x=Math.cos(i)*d,f=Math.sin(i)*d*$,m=n?4+Math.random()*7:4+Math.random()*8,g=n?m:3+Math.random()*8;t.style.setProperty("--x",`${u}px`),t.style.setProperty("--y",`${P}px`),t.style.setProperty("--tx",`${x}px`),t.style.setProperty("--ty",`${f}px`),t.style.setProperty("--fall",`${42+Math.random()*82}px`),t.style.setProperty("--w",`${m}px`),t.style.setProperty("--h",`${g}px`),t.style.setProperty("--radius",`${n?50:2+Math.random()*4}px`),t.style.setProperty("--hue",y.CONFETTI_COLORS[Math.floor(Math.random()*y.CONFETTI_COLORS.length)]),t.style.setProperty("--d",`${950+Math.random()*700}ms`),t.style.setProperty("--rot",`${Math.random()*360}deg`),t.style.setProperty("--spin",`${(Math.random()>.5?1:-1)*(180+Math.random()*360)}deg`),t.style.animationDelay=`${Math.random()*55}ms`,r.appendChild(t),t.addEventListener("animationend",()=>t.remove(),{once:!0})}}exports.burstSparkles=b;
@@ -1 +0,0 @@
1
- "use strict";const m=require("./constants-DNSPUges.cjs");function g(r,y,l,h=14){const o=r.getBoundingClientRect(),M=y-o.left,u=l-o.top,a=Math.min(h,30),e=r.parentElement;e&&(e.classList?.add("is-bursting"),clearTimeout(e._burstTimer),e._burstTimer=setTimeout(()=>e.classList?.remove("is-bursting"),780));for(let s=0;s<a;s++){const t=document.createElement("span"),n=s<Math.ceil(a*.18),c=Math.random();t.className=n?"sparkle":`confetti ${c>.76?"is-diamond":c>.56?"is-ribbon":""}`;const i=Math.PI*2*s/a+(Math.random()-.5)*.42,p=o.width*(.12+Math.random()*.14),P=Math.sin(i)<0?1.08:.74,$=Math.cos(i)*p,x=Math.sin(i)*p*P,d=n?4+Math.random()*7:4+Math.random()*8,f=n?d:3+Math.random()*8;t.style.setProperty("--x",`${M}px`),t.style.setProperty("--y",`${u}px`),t.style.setProperty("--tx",`${$}px`),t.style.setProperty("--ty",`${x}px`),t.style.setProperty("--fall",`${42+Math.random()*82}px`),t.style.setProperty("--w",`${d}px`),t.style.setProperty("--h",`${f}px`),t.style.setProperty("--radius",`${n?50:2+Math.random()*4}px`),t.style.setProperty("--hue",m.CONFETTI_COLORS[Math.floor(Math.random()*m.CONFETTI_COLORS.length)]),t.style.setProperty("--d",`${950+Math.random()*700}ms`),t.style.setProperty("--rot",`${Math.random()*360}deg`),t.style.setProperty("--spin",`${(Math.random()>.5?1:-1)*(180+Math.random()*360)}deg`),t.style.animationDelay=`${Math.random()*55}ms`,r.appendChild(t),t.addEventListener("animationend",()=>t.remove(),{once:!0})}}exports.burstSparkles=g;