@everymatrix/mini-games-hub 0.1.11 → 0.1.12

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 (38) hide show
  1. package/components/{MiniGamesHub-DhyHje6i.js → MiniGamesHub-4Wuwyw8q.js} +38 -33
  2. package/components/MiniGamesHub-C2510DM7.cjs +94 -0
  3. package/components/{MiniGamesHub-CyrBtxoA.js → MiniGamesHub-C3xyZRdn.js} +2 -2
  4. package/components/MiniGamesHub-CQIi4Jso.js +1399 -0
  5. package/components/{MiniGamesHub-A_QU55Ox.js → MiniGamesHub-CSZ3An74.js} +50 -45
  6. package/components/MiniGamesHub-CuvJDQTm.js +1379 -0
  7. package/components/{MiniGamesHub-Bbot9Iek.js → MiniGamesHub-DFNKphI6.js} +2 -2
  8. package/components/{MiniGamesHub-IU3nBLWZ.cjs → MiniGamesHub-DeVy4J4_.cjs} +2 -2
  9. package/components/MiniGamesHub-Du6B-YVK.cjs +94 -0
  10. package/components/{WheelOfFortune-C3QPcM9_.js → WheelOfFortune-BV0VEpvD.js} +143 -124
  11. package/components/{WheelOfFortune-Dq5uFse9.cjs → WheelOfFortune-BWKtsKH4.cjs} +6 -5
  12. package/components/{WheelOfFortune-DIKqqSN0.js → WheelOfFortune-B_ZNJW34.js} +190 -168
  13. package/components/{WheelOfFortune-DszXhJZX.cjs → WheelOfFortune-DgJ0luD8.cjs} +2 -2
  14. package/components/{WheelOfFortune-DkHRFbuq.js → WheelOfFortune-Dr-yB2xY.js} +89 -78
  15. package/components/{WheelOfFortune-BY3MYTwt.js → WheelOfFortune-p9qTycTU.js} +47 -39
  16. package/es2015/mini-games-hub.cjs +1 -1
  17. package/es2015/mini-games-hub.js +1 -1
  18. package/esnext/mini-games-hub.js +1 -1
  19. package/package.json +1 -1
  20. package/components/GameCard-B5IhlV0M.js +0 -56
  21. package/components/GameCard-Ct6vyiQG.cjs +0 -3
  22. package/components/GameCard-uj5ulL7F.js +0 -56
  23. package/components/MiniGamesHub-D7WWtj1H.cjs +0 -94
  24. package/components/WheelOfFortuneDrawResults-BLYsEy7G.cjs +0 -1
  25. package/components/WheelOfFortuneDrawResults-BOTcT7OI.js +0 -259
  26. package/components/WheelOfFortuneDrawResults-CL3AjYJb.js +0 -284
  27. package/components/WheelOfFortuneHistory-BbRdBjji.js +0 -232
  28. package/components/WheelOfFortuneHistory-CupBnftz.js +0 -232
  29. package/components/WheelOfFortuneHistory-D0a33HzR.cjs +0 -13
  30. package/components/WheelOfFortuneRules-CIeBfSfY.js +0 -128
  31. package/components/WheelOfFortuneRules-CkNKWZhj.js +0 -117
  32. package/components/WheelOfFortuneRules-DHwDQaVu.cjs +0 -5
  33. package/components/WheelOfFortuneWheel-B6_1ieZG.js +0 -1875
  34. package/components/WheelOfFortuneWheel-BHsFZqlw.cjs +0 -3
  35. package/components/WheelOfFortuneWheel-EAdiCZNZ.js +0 -1945
  36. package/components/utils-B7DHb9g0.cjs +0 -3
  37. package/components/utils-B7FniaI2.js +0 -6043
  38. package/components/utils-CSOcFUAz.js +0 -5995
@@ -1,11 +1,11 @@
1
- import { d as Be, c as Ae, a as Pe, t as Ce, p, o as Se, i as re, e as We, W as Fe, k as x, s as F, r as Ge, l as ae, b as X, f as H, m as je, u as Re } from "./WheelOfFortuneWheel-B6_1ieZG.js";
2
- import { A as Te, aJ as Ye, aK as y, ax as Ie, P as Me, X as n, ap as o, ac as D, F as Oe, aW as G, aR as c, aM as Le, aN as Ee, aQ as h, aB as d, aO as Xe, aU as s, b3 as De } from "./utils-CSOcFUAz.js";
3
- import { W as He } from "./WheelOfFortuneHistory-CupBnftz.js";
4
- import { W as Ze } from "./WheelOfFortuneDrawResults-BOTcT7OI.js";
5
- import { W as Ve } from "./WheelOfFortuneRules-CkNKWZhj.js";
6
- import { p as Ue } from "./constants-BYsDpbRv.js";
7
- var Ke = H('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), Ne = 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>');
8
- const Qe = {
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 W, r as Ge, l as oe, b as X, f as H, m as je, u as Le } from "./WheelOfFortuneWheel-B7DOhfW5.js";
2
+ import { D as Ie, aL as Me, aM as x, az as Re, S as Ye, Z as n, ar as o, ae as Z, I as Oe, aY as F, aT as c, aO as Ee, aP as De, 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-COB7C1nL.js";
4
+ import { W as Ve } from "./WheelOfFortuneDrawResults-CYRN0Phi.js";
5
+ import { W as Ue } from "./WheelOfFortuneRules-Dyq7AefM.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 = {
9
9
  hash: "svelte-17ly5gn",
10
10
  code: `@keyframes svelte-17ly5gn-wheelBob {
11
11
  0%, 100% {
@@ -547,7 +547,7 @@ const Qe = {
547
547
  animation: svelte-17ly5gn-glowPulse 1700ms ease-in-out infinite;pointer-events:none;mix-blend-mode:screen;} .button-glow::before, .button-glow::after {content:"";position:absolute;inset:6%;border-radius:50%;background:radial-gradient(circle, rgba(255, 239, 127, 0.62), transparent 62%);filter:blur(16px);
548
548
  animation: svelte-17ly5gn-glowRing 2300ms ease-in-out infinite;} .button-glow::after {inset:-10%;opacity:0.55;animation-duration:2900ms;animation-delay:-900ms;} .center-button {position:absolute;z-index:5;width:17%;left:50%;top:54%;translate:-50% -50%;padding:0;border:none;background:transparent;pointer-events:auto;user-select:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34));transform:scale(1);transform-origin:center;transition:filter 180ms ease, transform 180ms cubic-bezier(0.2, 0.9, 0.22, 1);} .center-button img {width:100%;height:auto;display:block;pointer-events:none;} .center-button:not(.is-pressing) {
549
549
  animation: svelte-17ly5gn-middleButtonIdleZoomGlow 1450ms ease-in-out infinite;} .center-button.is-pressing {
550
- animation: svelte-17ly5gn-middleButtonPress 560ms cubic-bezier(0.16, 0.95, 0.22, 1) both;} .center-button:hover {filter:drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36)) brightness(1.05);} .center-button:active {transform:scale(0.94);filter:drop-shadow(0 5px 9px rgba(0, 0, 0, 0.32)) brightness(0.98);} .center-button:focus-visible {outline:3px solid rgba(255, 237, 126, 0.78);outline-offset:5px;border-radius:50%;} .wheel-wrapper.is-spin-active .center-button:not(.is-pressing) {
550
+ animation: svelte-17ly5gn-middleButtonPress 560ms cubic-bezier(0.16, 0.95, 0.22, 1) both;} .center-button:hover {filter:drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36)) brightness(1.05);} .center-button:active {transform:scale(0.94);filter:drop-shadow(0 5px 9px rgba(0, 0, 0, 0.32)) brightness(0.98);} .center-button:focus-visible {outline:3px solid rgba(255, 237, 126, 0.78);outline-offset:5px;border-radius:50%;} .center-button:disabled {pointer-events:none;} .wheel-wrapper.is-spin-active .center-button:not(.is-pressing) {
551
551
  animation: svelte-17ly5gn-centerButtonSpinBreath 1050ms ease-in-out infinite;} .session-badge {position:absolute;top:55%;left:50%;transform:translate(-50%, -50%);z-index:8;width:58%;padding:10px 12px;background:rgba(8, 4, 0, 0.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(255, 255, 255, 0.1);border-radius:10px;text-align:center;} .session-badge .session-badge-title {color:#ffffff;font-size:12px;font-weight:700;letter-spacing:0.2px;} .session-badge .session-badge-body {color:rgba(255, 255, 255, 0.6509803922);font-size:10px;line-height:1.45;margin:0;} .session-badge .session-badge-close {margin-top:8px;padding:4px 14px;background:rgba(255, 255, 255, 0.12);border:1px solid rgba(255, 255, 255, 0.22);border-radius:6px;color:#ffffff;font-size:11px;font-weight:600;cursor:pointer;transition:background 150ms ease;} .session-badge .session-badge-close:hover {background:rgba(255, 255, 255, 0.2);} .wheel-loading-spinner {position:absolute;top:54%;left:50%;translate:-50% -50%;opacity:0;transition:opacity 300ms ease;pointer-events:none;z-index:10;} .wheel-loading-spinner::before {content:"";display:block;width:clamp(44px, 11vw, 60px);height:clamp(44px, 11vw, 60px);border-radius:50%;border:2px solid rgba(255, 220, 100, 0.12);border-top-color:rgba(255, 210, 50, 0.65);
552
552
  animation: svelte-17ly5gn-wofSpinnerRotate 900ms linear infinite;} .wheel-wrapper.is-assets-loading ~ .wheel-loading-spinner {
553
553
  animation: svelte-17ly5gn-wofSpinnerFadeIn 300ms ease 700ms forwards;} .swipe-hint-wrap {position:absolute;inset:0;z-index:8;pointer-events:none;transition:opacity 600ms ease, transform 600ms ease;} .swipe-hint {position:relative;width:100%;height:70%;display:flex;align-items:center;justify-content:center;} .swipe-hand {display:inline-block;font-size:clamp(52px, 14vw, 72px);line-height:1;filter:drop-shadow(0 4px 14px rgba(0, 0, 0, 0.873));transform-origin:50% 80%;
@@ -601,8 +601,9 @@ const Qe = {
601
601
  @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
602
  }
603
603
  @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;} .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
- 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);} .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;
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
+ 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;
606
607
  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 {
607
608
  animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;}
608
609
  @keyframes svelte-17ly5gn-spinOverlayIn {
@@ -637,13 +638,13 @@ const Qe = {
637
638
  animation: none;}
638
639
  }`
639
640
  };
640
- function qe(Z, i) {
641
- Te(i, !0), Pe(Z, Qe);
642
- const _ = () => Le(Ee, "$_", oe), [oe, ie] = Xe();
643
- Ye.extend(Ce);
644
- const se = "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), R = p(i, "wheelButtonAsset", 7, null), T = p(i, "backgroundVideoAsset", 7, null), Y = p(i, "language", 7, "en"), I = p(i, "showBackButton", 7, !0), v = p(i, "liteMode", 7, !1), w = G(() => !g() || !t()), le = G(() => !n(w) && (t()?.remainingTimes ?? 0) > 0), pe = G(() => n(w) ? Ue : t()?.partitions ?? []), l = ["history", "play", "rules"];
645
- let f = y(Ie(l[1]));
646
- const ce = (e) => {
641
+ function $e(V, i) {
642
+ Ie(i, !0), Ce(V, Je);
643
+ const _ = () => Ee(De, "$_", ie), [ie, se] = Xe();
644
+ Me.extend(Pe);
645
+ 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), G = p(i, "outerWheelAsset", 7, null), j = p(i, "wheelButtonAsset", 7, null), L = p(i, "backgroundVideoAsset", 7, null), I = p(i, "language", 7, "en"), M = p(i, "showBackButton", 7, !0), u = p(i, "liteMode", 7, !1), h = F(() => !g() || !t()), pe = F(() => !n(h) && (t()?.remainingTimes ?? 0) > 0), ce = F(() => n(h) ? Ke : t()?.partitions ?? []), l = ["history", "play", "rules"];
646
+ let f = x(Re(l[1]));
647
+ const de = (e) => {
647
648
  e !== n(f) && (e === l[0] ? window.postMessage(
648
649
  {
649
650
  type: "event_wof_history_click",
@@ -653,61 +654,73 @@ function qe(Z, i) {
653
654
  ) : e === l[2] ? window.postMessage({ type: "event_wof_rules_click", name: t()?.name || null }, window.location.href) : window.postMessage(
654
655
  {
655
656
  type: "event_wof_accessed",
656
- isUserLoggedIn: !n(w),
657
+ isUserLoggedIn: !n(h),
657
658
  name: t()?.name || null,
658
659
  availableSpins: t()?.remainingTimes || null
659
660
  },
660
661
  window.location.href
661
- ), o(O, !1), o(f, e, !0));
662
+ ), o(Y, !1), o(f, e, !0));
662
663
  };
663
- let m = y(null), M = y(!1), O = y(!1), B = y(!1), A = y(!1);
664
- Me(() => {
665
- if (n(M))
666
- o(B, !0), o(A, !1);
667
- else if (n(B)) {
668
- o(A, !0);
669
- const e = setTimeout(
670
- () => {
671
- o(B, !1), o(A, !1);
672
- },
673
- 350
674
- );
675
- return () => clearTimeout(e);
664
+ let m = x(null), R = x(!1), Y = x(!1), O = x(!1), B = x(!1), A = x(!1);
665
+ Ye(() => {
666
+ if (!u()) {
667
+ if (n(R))
668
+ o(B, !0), o(A, !1);
669
+ else if (n(B)) {
670
+ o(A, !0);
671
+ const e = setTimeout(
672
+ () => {
673
+ o(B, !1), o(A, !1);
674
+ },
675
+ 350
676
+ );
677
+ return () => clearTimeout(e);
678
+ }
676
679
  }
677
680
  });
678
- const de = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), ge = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), V = async () => {
681
+ const ge = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), fe = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), U = async () => {
679
682
  if (!t()?.id || !g()) return;
680
683
  const e = new URL(`${g()}/v1/wof/remainingTimes`), r = new Headers();
681
684
  b() && r.append("X-SessionId", b()), e.searchParams.append("filter", `ProgramId[]=${t().id}`);
682
685
  try {
683
- const u = await (await fetch(e, { method: "GET", headers: r })).json();
686
+ const w = await (await fetch(e, { method: "GET", headers: r })).json();
684
687
  let z = 0;
685
- if (u?.items?.length > 0) {
686
- const te = u.items.find((_e) => _e.programId === t().id);
687
- te && (z = +te.remainingTimes || 0);
688
+ if (w?.items?.length > 0) {
689
+ const re = w.items.find((Be) => Be.programId === t().id);
690
+ re && (z = +re.remainingTimes || 0);
688
691
  }
689
- const E = De({
692
+ const D = Ze({
690
693
  ...t(),
691
694
  remainingTimes: z,
692
695
  current: { ...t().current, remainingTimes: z }
693
696
  });
694
- window.postMessage({ type: "PrizeGameRemainingTimesUpdated", data: E }, "*");
697
+ window.postMessage({ type: "PrizeGameRemainingTimesUpdated", data: D }, "*");
695
698
  } catch (a) {
696
699
  console.log(a);
700
+ } finally {
701
+ o(O, !1);
697
702
  }
698
- }, U = (e) => {
703
+ }, K = (e) => {
699
704
  if (e.data)
700
- switch (e.data.type) {
705
+ switch (console.log(e.data, "--- fuck"), e.data.type) {
701
706
  case "SpinAgain":
702
707
  case "BackToWheel":
703
- o(m, null), V();
708
+ o(m, null), e.data.skipFetch ? o(O, !0) : U();
704
709
  break;
705
710
  }
706
711
  };
707
- Se(() => (window.addEventListener("message", U), () => {
708
- window.removeEventListener("message", U);
712
+ Te(() => (window.postMessage(
713
+ {
714
+ type: "event_wof_accessed",
715
+ isUserLoggedIn: !n(h),
716
+ name: t()?.name || null,
717
+ availableSpins: t()?.remainingTimes || null
718
+ },
719
+ window.location.href
720
+ ), window.addEventListener("message", K), () => {
721
+ window.removeEventListener("message", K);
709
722
  }));
710
- var fe = {
723
+ var me = {
711
724
  get program() {
712
725
  return t();
713
726
  },
@@ -727,85 +740,85 @@ function qe(Z, i) {
727
740
  b(e), d();
728
741
  },
729
742
  get outerWheelAsset() {
730
- return j();
743
+ return G();
731
744
  },
732
745
  set outerWheelAsset(e = null) {
733
- j(e), d();
746
+ G(e), d();
734
747
  },
735
748
  get wheelButtonAsset() {
736
- return R();
749
+ return j();
737
750
  },
738
751
  set wheelButtonAsset(e = null) {
739
- R(e), d();
752
+ j(e), d();
740
753
  },
741
754
  get backgroundVideoAsset() {
742
- return T();
755
+ return L();
743
756
  },
744
757
  set backgroundVideoAsset(e = null) {
745
- T(e), d();
758
+ L(e), d();
746
759
  },
747
760
  get language() {
748
- return Y();
761
+ return I();
749
762
  },
750
763
  set language(e = "en") {
751
- Y(e), d();
764
+ I(e), d();
752
765
  },
753
766
  get showBackButton() {
754
- return I();
767
+ return M();
755
768
  },
756
769
  set showBackButton(e = !0) {
757
- I(e), d();
770
+ M(e), d();
758
771
  },
759
772
  get liteMode() {
760
- return v();
773
+ return u();
761
774
  },
762
775
  set liteMode(e = !1) {
763
- v(e), d();
776
+ u(e), d();
764
777
  }
765
- }, P = Je();
766
- let K;
767
- var N = c(P);
778
+ }, S = qe();
779
+ let N;
780
+ var Q = c(S);
768
781
  {
769
- var me = (e) => {
770
- var r = Ke();
782
+ var be = (e) => {
783
+ var r = Ne();
771
784
  let a;
772
785
  r.muted = !0;
773
- var u = c(r);
774
- s(r), D(() => {
775
- a = x(r, 1, "wheel-video-background svelte-17ly5gn", null, a, { "is-ready": n(O) }), je(u, "src", T() || se);
776
- }), Re("canplay", r, () => o(O, !0)), X(e, r);
786
+ var w = c(r);
787
+ s(r), Z(() => {
788
+ a = v(r, 1, "wheel-video-background svelte-17ly5gn", null, a, { "is-ready": n(Y) }), je(w, "src", L() || le);
789
+ }), Le("canplay", r, () => o(Y, !0)), X(e, r);
777
790
  };
778
- re(N, (e) => {
779
- !v() && n(f) === l[1] && e(me);
791
+ ae(Q, (e) => {
792
+ !u() && n(f) === l[1] && e(be);
780
793
  });
781
794
  }
782
- var k = h(N, 2);
783
- let J;
784
- var Q = h(c(k), 2), be = c(Q, !0);
785
- s(Q), s(k);
786
- var C = h(k, 2);
795
+ var k = y(Q, 2);
787
796
  let q;
788
- var L = c(C), ue = c(L, !0);
789
- s(L);
790
- var $ = h(L, 2), he = c($, !0);
791
- s($), s(C);
792
- var S = h(C, 2);
793
- let ee;
794
- We(S, 20, () => l, (e) => e, (e, r) => {
795
- var a = Ne();
796
- let u;
797
+ var J = y(c(k), 2), ue = c(J, !0);
798
+ s(J), s(k);
799
+ var C = y(k, 2);
800
+ let $;
801
+ var E = c(C), he = c(E, !0);
802
+ s(E);
803
+ var ee = y(E, 2), we = c(ee, !0);
804
+ s(ee), s(C);
805
+ var P = y(C, 2);
806
+ let ne;
807
+ We(P, 20, () => l, (e) => e, (e, r) => {
808
+ var a = Qe();
809
+ let w;
797
810
  var z = c(a, !0);
798
- s(a), D(
799
- (E) => {
800
- u = x(a, 1, "tab svelte-17ly5gn", null, u, { active: n(f) === r }), F(z, E);
811
+ s(a), Z(
812
+ (D) => {
813
+ w = v(a, 1, "tab svelte-17ly5gn", null, w, { active: n(f) === r }), W(z, D);
801
814
  },
802
815
  [() => _()(r)]
803
- ), ae("click", a, () => ce(r)), X(e, a);
804
- }), s(S);
805
- var W = h(S, 2);
806
- let ne;
807
- var we = c(W);
808
- Fe(we, {
816
+ ), oe("click", a, () => de(r)), X(e, a);
817
+ }), s(P);
818
+ var T = y(P, 2);
819
+ let te;
820
+ var xe = c(T);
821
+ Fe(xe, {
809
822
  get program() {
810
823
  return t();
811
824
  },
@@ -816,24 +829,27 @@ function qe(Z, i) {
816
829
  return b();
817
830
  },
818
831
  get outerWheelAsset() {
819
- return j();
832
+ return G();
820
833
  },
821
834
  get wheelButtonAsset() {
822
- return R();
835
+ return j();
823
836
  },
824
837
  get wheelSlices() {
825
- return n(pe);
838
+ return n(ce);
826
839
  },
827
840
  get isPlaceholder() {
828
- return n(w);
841
+ return n(h);
829
842
  },
830
843
  get isWheelAvailable() {
831
- return n(le);
844
+ return n(pe);
832
845
  },
833
846
  get liteMode() {
834
- return v();
847
+ return u();
835
848
  },
836
- onLogin: de,
849
+ get remainingTimesLoading() {
850
+ return n(O);
851
+ },
852
+ onLogin: ge,
837
853
  get spinResults() {
838
854
  return n(m);
839
855
  },
@@ -841,16 +857,16 @@ function qe(Z, i) {
841
857
  o(m, e, !0);
842
858
  },
843
859
  get spinActive() {
844
- return n(M);
860
+ return n(R);
845
861
  },
846
862
  set spinActive(e) {
847
- o(M, e, !0);
863
+ o(R, e, !0);
848
864
  }
849
- }), s(W);
850
- var xe = h(W, 2);
865
+ }), s(T);
866
+ var ye = y(T, 2);
851
867
  {
852
- var ye = (e) => {
853
- Ze(e, {
868
+ var ve = (e) => {
869
+ Ve(e, {
854
870
  get result() {
855
871
  return n(m);
856
872
  },
@@ -860,11 +876,14 @@ function qe(Z, i) {
860
876
  get session() {
861
877
  return b();
862
878
  },
863
- onFetchRemainingTimes: V
879
+ get liteMode() {
880
+ return u();
881
+ },
882
+ onFetchRemainingTimes: U
864
883
  });
865
- }, ve = (e) => {
884
+ }, ke = (e) => {
866
885
  {
867
- let r = G(() => t()?.id);
886
+ let r = F(() => t()?.id);
868
887
  He(e, {
869
888
  get programId() {
870
889
  return n(r);
@@ -877,27 +896,27 @@ function qe(Z, i) {
877
896
  }
878
897
  });
879
898
  }
880
- }, ke = (e) => {
881
- Ve(e, {
899
+ }, ze = (e) => {
900
+ Ue(e, {
882
901
  get program() {
883
902
  return t();
884
903
  },
885
904
  get language() {
886
- return Y();
905
+ return I();
887
906
  }
888
907
  });
889
908
  };
890
- re(xe, (e) => {
891
- n(m) ? e(ye) : n(f) === l[0] ? e(ve, 1) : n(f) === l[2] && e(ke, 2);
909
+ ae(ye, (e) => {
910
+ n(m) ? e(ve) : n(f) === l[0] ? e(ke, 1) : n(f) === l[2] && e(ze, 2);
892
911
  });
893
912
  }
894
- s(P), D(
913
+ s(S), Z(
895
914
  (e, r, a) => {
896
- K = x(P, 1, "wheel-content svelte-17ly5gn", null, K, {
915
+ N = v(S, 1, "wheel-content svelte-17ly5gn", null, N, {
897
916
  "is-spin-fullscreen": n(B),
898
917
  "is-spin-exiting": n(A),
899
- "wheel-background-halo": v() && n(f) === l[1]
900
- }), J = x(k, 1, "back-button-container svelte-17ly5gn", null, J, { hidden: n(w) || !I() }), F(be, e), q = x(C, 1, "wof-title svelte-17ly5gn", null, q, { hidden: n(m) }), F(ue, r), F(he, a), ee = x(S, 1, "wof-tabs svelte-17ly5gn", null, ee, { hidden: n(w) || n(m) }), ne = Ge(W, "", ne, {
918
+ "wheel-background-halo": u() && n(f) === l[1]
919
+ }), q = v(k, 1, "back-button-container svelte-17ly5gn", null, q, { hidden: n(h) || !M() }), W(ue, e), $ = v(C, 1, "wof-title svelte-17ly5gn", null, $, { hidden: n(m) }), W(he, r), W(we, a), ne = v(P, 1, "wof-tabs svelte-17ly5gn", null, ne, { hidden: n(h) || n(m) }), te = Ge(T, "", te, {
901
920
  display: n(f) !== l[1] || n(m) ? "none" : "contents"
902
921
  });
903
922
  },
@@ -906,13 +925,13 @@ function qe(Z, i) {
906
925
  () => _()("wofTitle"),
907
926
  () => _()("wofSubtitle")
908
927
  ]
909
- ), ae("click", k, ge), X(Z, P);
910
- var ze = Oe(fe);
911
- return ie(), ze;
928
+ ), oe("click", k, fe), X(V, S);
929
+ var _e = Oe(me);
930
+ return se(), _e;
912
931
  }
913
- Be(["click"]);
914
- customElements.define("wheel-of-fortune", Ae(
915
- qe,
932
+ Ae(["click"]);
933
+ customElements.define("wheel-of-fortune", Se(
934
+ $e,
916
935
  {
917
936
  program: {},
918
937
  endpoint: {},
@@ -928,5 +947,5 @@ customElements.define("wheel-of-fortune", Ae(
928
947
  []
929
948
  ));
930
949
  export {
931
- qe as W
950
+ $e as W
932
951
  };
@@ -1,4 +1,4 @@
1
- "use strict";var xe=Object.defineProperty,ye=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable;var Q=(p,a,o)=>a in p?xe(p,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):p[a]=o,I=(p,a)=>{for(var o in a||(a={}))ke.call(a,o)&&Q(p,o,a[o]);if(J)for(var o of J(a))ze.call(a,o)&&Q(p,o,a[o]);return p},L=(p,a)=>ye(p,ve(a));var $=(p,a,o)=>new Promise((C,v)=>{var P=l=>{try{c(o.next(l))}catch(b){v(b)}},i=l=>{try{c(o.throw(l))}catch(b){v(b)}},c=l=>l.done?C(l.value):Promise.resolve(l.value).then(P,i);c((o=o.apply(p,a)).next())});const t=require("./WheelOfFortuneWheel-BHsFZqlw.cjs"),e=require("./utils-B7DHb9g0.cjs"),_e=require("./WheelOfFortuneHistory-D0a33HzR.cjs"),Be=require("./WheelOfFortuneDrawResults-BLYsEy7G.cjs"),Se=require("./WheelOfFortuneRules-DHwDQaVu.cjs"),Ae=require("./constants-DM6Vdc6Z.cjs");var Ce=t.from_html('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>',2),Pe=t.from_html("<button> </button>"),Fe=t.from_html('<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>');const We={hash:"svelte-17ly5gn",code:`@keyframes svelte-17ly5gn-wheelBob {
1
+ "use strict";var ye=Object.defineProperty,ve=Object.defineProperties;var ke=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var ze=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var $=(p,a,i)=>a in p?ye(p,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):p[a]=i,M=(p,a)=>{for(var i in a||(a={}))ze.call(a,i)&&$(p,i,a[i]);if(Q)for(var i of Q(a))_e.call(a,i)&&$(p,i,a[i]);return p},Y=(p,a)=>ve(p,ke(a));var ee=(p,a,i)=>new Promise((C,v)=>{var F=l=>{try{c(i.next(l))}catch(u){v(u)}},o=l=>{try{c(i.throw(l))}catch(u){v(u)}},c=l=>l.done?C(l.value):Promise.resolve(l.value).then(F,o);c((i=i.apply(p,a)).next())});const t=require("./WheelOfFortuneWheel-CqMnfWH6.cjs"),e=require("./utils-DQIHJIDu.cjs"),Be=require("./WheelOfFortuneHistory-Cda9YIPp.cjs"),Se=require("./WheelOfFortuneDrawResults-Ban46vUc.cjs"),Ae=require("./WheelOfFortuneRules-CeD2_BcF.cjs"),Ce=require("./constants-DM6Vdc6Z.cjs");var Fe=t.from_html('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>',2),Pe=t.from_html("<button> </button>"),We=t.from_html('<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>');const Te={hash:"svelte-17ly5gn",code:`@keyframes svelte-17ly5gn-wheelBob {
2
2
  0%, 100% {
3
3
  transform: translateY(0);
4
4
  }
@@ -538,7 +538,7 @@
538
538
  animation: svelte-17ly5gn-glowPulse 1700ms ease-in-out infinite;pointer-events:none;mix-blend-mode:screen;} .button-glow::before, .button-glow::after {content:"";position:absolute;inset:6%;border-radius:50%;background:radial-gradient(circle, rgba(255, 239, 127, 0.62), transparent 62%);filter:blur(16px);
539
539
  animation: svelte-17ly5gn-glowRing 2300ms ease-in-out infinite;} .button-glow::after {inset:-10%;opacity:0.55;animation-duration:2900ms;animation-delay:-900ms;} .center-button {position:absolute;z-index:5;width:17%;left:50%;top:54%;translate:-50% -50%;padding:0;border:none;background:transparent;pointer-events:auto;user-select:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34));transform:scale(1);transform-origin:center;transition:filter 180ms ease, transform 180ms cubic-bezier(0.2, 0.9, 0.22, 1);} .center-button img {width:100%;height:auto;display:block;pointer-events:none;} .center-button:not(.is-pressing) {
540
540
  animation: svelte-17ly5gn-middleButtonIdleZoomGlow 1450ms ease-in-out infinite;} .center-button.is-pressing {
541
- animation: svelte-17ly5gn-middleButtonPress 560ms cubic-bezier(0.16, 0.95, 0.22, 1) both;} .center-button:hover {filter:drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36)) brightness(1.05);} .center-button:active {transform:scale(0.94);filter:drop-shadow(0 5px 9px rgba(0, 0, 0, 0.32)) brightness(0.98);} .center-button:focus-visible {outline:3px solid rgba(255, 237, 126, 0.78);outline-offset:5px;border-radius:50%;} .wheel-wrapper.is-spin-active .center-button:not(.is-pressing) {
541
+ animation: svelte-17ly5gn-middleButtonPress 560ms cubic-bezier(0.16, 0.95, 0.22, 1) both;} .center-button:hover {filter:drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36)) brightness(1.05);} .center-button:active {transform:scale(0.94);filter:drop-shadow(0 5px 9px rgba(0, 0, 0, 0.32)) brightness(0.98);} .center-button:focus-visible {outline:3px solid rgba(255, 237, 126, 0.78);outline-offset:5px;border-radius:50%;} .center-button:disabled {pointer-events:none;} .wheel-wrapper.is-spin-active .center-button:not(.is-pressing) {
542
542
  animation: svelte-17ly5gn-centerButtonSpinBreath 1050ms ease-in-out infinite;} .session-badge {position:absolute;top:55%;left:50%;transform:translate(-50%, -50%);z-index:8;width:58%;padding:10px 12px;background:rgba(8, 4, 0, 0.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(255, 255, 255, 0.1);border-radius:10px;text-align:center;} .session-badge .session-badge-title {color:#ffffff;font-size:12px;font-weight:700;letter-spacing:0.2px;} .session-badge .session-badge-body {color:rgba(255, 255, 255, 0.6509803922);font-size:10px;line-height:1.45;margin:0;} .session-badge .session-badge-close {margin-top:8px;padding:4px 14px;background:rgba(255, 255, 255, 0.12);border:1px solid rgba(255, 255, 255, 0.22);border-radius:6px;color:#ffffff;font-size:11px;font-weight:600;cursor:pointer;transition:background 150ms ease;} .session-badge .session-badge-close:hover {background:rgba(255, 255, 255, 0.2);} .wheel-loading-spinner {position:absolute;top:54%;left:50%;translate:-50% -50%;opacity:0;transition:opacity 300ms ease;pointer-events:none;z-index:10;} .wheel-loading-spinner::before {content:"";display:block;width:clamp(44px, 11vw, 60px);height:clamp(44px, 11vw, 60px);border-radius:50%;border:2px solid rgba(255, 220, 100, 0.12);border-top-color:rgba(255, 210, 50, 0.65);
543
543
  animation: svelte-17ly5gn-wofSpinnerRotate 900ms linear infinite;} .wheel-wrapper.is-assets-loading ~ .wheel-loading-spinner {
544
544
  animation: svelte-17ly5gn-wofSpinnerFadeIn 300ms ease 700ms forwards;} .swipe-hint-wrap {position:absolute;inset:0;z-index:8;pointer-events:none;transition:opacity 600ms ease, transform 600ms ease;} .swipe-hint {position:relative;width:100%;height:70%;display:flex;align-items:center;justify-content:center;} .swipe-hand {display:inline-block;font-size:clamp(52px, 14vw, 72px);line-height:1;filter:drop-shadow(0 4px 14px rgba(0, 0, 0, 0.873));transform-origin:50% 80%;
@@ -592,8 +592,9 @@
592
592
  @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);}
593
593
  }
594
594
  @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);}
595
- } .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;} .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);
596
- 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);} .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;
595
+ } .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);
596
+ 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%;
597
+ 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;
597
598
  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 {
598
599
  animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;}
599
600
  @keyframes svelte-17ly5gn-spinOverlayIn {
@@ -626,4 +627,4 @@
626
627
  .coin img {
627
628
  animation: none;} .success-confetti-piece {
628
629
  animation: none;}
629
- }`};function ee(p,a){e.push(a,!0),t.append_styles(p,We);const o=()=>e.store_get(e.$format,"$_",C),[C,v]=e.setup_stores();e.dayjs.extend(t.duration);const P="https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4",i=t.prop(a,"program",7,null),c=t.prop(a,"endpoint",7,null),l=t.prop(a,"session",7,null),b=t.prop(a,"outerWheelAsset",7,null),F=t.prop(a,"wheelButtonAsset",7,null),W=t.prop(a,"backgroundVideoAsset",7,null),G=t.prop(a,"language",7,"en"),O=t.prop(a,"showBackButton",7,!0),x=t.prop(a,"liteMode",7,!1),h=e.user_derived(()=>!c()||!i()),ne=e.user_derived(()=>{var n,r;return!e.get(h)&&((r=(n=i())==null?void 0:n.remainingTimes)!=null?r:0)>0}),te=e.user_derived(()=>{var n,r;return e.get(h)?Ae.placeholderWheelSlices:(r=(n=i())==null?void 0:n.partitions)!=null?r:[]}),g=["history","play","rules"];let f=e.state(e.proxy(g[1]));const re=n=>{var r,s,d,u;n!==e.get(f)&&(n===g[0]?window.postMessage({type:"event_wof_history_click",name:((r=i())==null?void 0:r.name)||null},window.location.href):n===g[2]?window.postMessage({type:"event_wof_rules_click",name:((s=i())==null?void 0:s.name)||null},window.location.href):window.postMessage({type:"event_wof_accessed",isUserLoggedIn:!e.get(h),name:((d=i())==null?void 0:d.name)||null,availableSpins:((u=i())==null?void 0:u.remainingTimes)||null},window.location.href),e.set(R,!1),e.set(f,n,!0))};let m=e.state(null),j=e.state(!1),R=e.state(!1),k=e.state(!1),z=e.state(!1);e.user_effect(()=>{if(e.get(j))e.set(k,!0),e.set(z,!1);else if(e.get(k)){e.set(z,!0);const n=setTimeout(()=>{e.set(k,!1),e.set(z,!1)},350);return()=>clearTimeout(n)}});const ae=()=>window.postMessage({type:"LuckyWheel:GoToLogin"},window.location.href),oe=()=>window.postMessage({type:"CloseMiniGame"},window.location.href),M=()=>$(this,null,function*(){var s,d;if(!((s=i())!=null&&s.id)||!c())return;const n=new URL(`${c()}/v1/wof/remainingTimes`),r=new Headers;l()&&r.append("X-SessionId",l()),n.searchParams.append("filter",`ProgramId[]=${i().id}`);try{const w=yield(yield fetch(n,{method:"GET",headers:r})).json();let Y=0;if(((d=w==null?void 0:w.items)==null?void 0:d.length)>0){const N=w.items.find(we=>we.programId===i().id);N&&(Y=+N.remainingTimes||0)}const he=e.snapshot(L(I({},i()),{remainingTimes:Y,current:L(I({},i().current),{remainingTimes:Y})}));window.postMessage({type:"PrizeGameRemainingTimesUpdated",data:he},"*")}catch(u){console.log(u)}}),E=n=>{if(n.data)switch(n.data.type){case"SpinAgain":case"BackToWheel":e.set(m,null),M();break}};t.onMount(()=>(window.addEventListener("message",E),()=>{window.removeEventListener("message",E)}));var ie={get program(){return i()},set program(n=null){i(n),e.flushSync()},get endpoint(){return c()},set endpoint(n=null){c(n),e.flushSync()},get session(){return l()},set session(n=null){l(n),e.flushSync()},get outerWheelAsset(){return b()},set outerWheelAsset(n=null){b(n),e.flushSync()},get wheelButtonAsset(){return F()},set wheelButtonAsset(n=null){F(n),e.flushSync()},get backgroundVideoAsset(){return W()},set backgroundVideoAsset(n=null){W(n),e.flushSync()},get language(){return G()},set language(n="en"){G(n),e.flushSync()},get showBackButton(){return O()},set showBackButton(n=!0){O(n),e.flushSync()},get liteMode(){return x()},set liteMode(n=!1){x(n),e.flushSync()}},_=Fe();let D;var H=e.child(_);{var se=n=>{var r=Ce();let s;r.muted=!0;var d=e.child(r);e.reset(r),e.template_effect(()=>{s=t.set_class(r,1,"wheel-video-background svelte-17ly5gn",null,s,{"is-ready":e.get(R)}),t.set_attribute(d,"src",W()||P)}),t.event("canplay",r,()=>e.set(R,!0)),t.append(n,r)};t.if_block(H,n=>{!x()&&e.get(f)===g[1]&&n(se)})}var y=e.sibling(H,2);let X;var Z=e.sibling(e.child(y),2),le=e.child(Z,!0);e.reset(Z),e.reset(y);var B=e.sibling(y,2);let q;var T=e.child(B),pe=e.child(T,!0);e.reset(T);var V=e.sibling(T,2),ce=e.child(V,!0);e.reset(V),e.reset(B);var S=e.sibling(B,2);let U;t.each(S,20,()=>g,n=>n,(n,r)=>{var s=Pe();let d;var u=e.child(s,!0);e.reset(s),e.template_effect(w=>{d=t.set_class(s,1,"tab svelte-17ly5gn",null,d,{active:e.get(f)===r}),t.set_text(u,w)},[()=>o()(r)]),t.delegated("click",s,()=>re(r)),t.append(n,s)}),e.reset(S);var A=e.sibling(S,2);let K;var de=e.child(A);t.WheelOfFortuneWheel(de,{get program(){return i()},get endpoint(){return c()},get session(){return l()},get outerWheelAsset(){return b()},get wheelButtonAsset(){return F()},get wheelSlices(){return e.get(te)},get isPlaceholder(){return e.get(h)},get isWheelAvailable(){return e.get(ne)},get liteMode(){return x()},onLogin:ae,get spinResults(){return e.get(m)},set spinResults(n){e.set(m,n,!0)},get spinActive(){return e.get(j)},set spinActive(n){e.set(j,n,!0)}}),e.reset(A);var ge=e.sibling(A,2);{var fe=n=>{Be.WheelOfFortuneDrawResults(n,{get result(){return e.get(m)},get endpoint(){return c()},get session(){return l()},onFetchRemainingTimes:M})},me=n=>{{let r=e.user_derived(()=>{var s;return(s=i())==null?void 0:s.id});_e.WheelOfFortuneHistory(n,{get programId(){return e.get(r)},get endpoint(){return c()},get session(){return l()}})}},be=n=>{Se.WheelOfFortuneRules(n,{get program(){return i()},get language(){return G()}})};t.if_block(ge,n=>{e.get(m)?n(fe):e.get(f)===g[0]?n(me,1):e.get(f)===g[2]&&n(be,2)})}e.reset(_),e.template_effect((n,r,s)=>{D=t.set_class(_,1,"wheel-content svelte-17ly5gn",null,D,{"is-spin-fullscreen":e.get(k),"is-spin-exiting":e.get(z),"wheel-background-halo":x()&&e.get(f)===g[1]}),X=t.set_class(y,1,"back-button-container svelte-17ly5gn",null,X,{hidden:e.get(h)||!O()}),t.set_text(le,n),q=t.set_class(B,1,"wof-title svelte-17ly5gn",null,q,{hidden:e.get(m)}),t.set_text(pe,r),t.set_text(ce,s),U=t.set_class(S,1,"wof-tabs svelte-17ly5gn",null,U,{hidden:e.get(h)||e.get(m)}),K=t.set_style(A,"",K,{display:e.get(f)!==g[1]||e.get(m)?"none":"contents"})},[()=>o()("backToHub"),()=>o()("wofTitle"),()=>o()("wofSubtitle")]),t.delegated("click",y,oe),t.append(p,_);var ue=e.pop(ie);return v(),ue}t.delegate(["click"]);customElements.define("wheel-of-fortune",t.create_custom_element(ee,{program:{},endpoint:{},session:{},outerWheelAsset:{},wheelButtonAsset:{},backgroundVideoAsset:{},language:{},showBackButton:{},liteMode:{}},[],[]));exports.WheelOfFortune=ee;
630
+ }`};function ne(p,a){e.push(a,!0),t.append_styles(p,Te);const i=()=>e.store_get(e.$format,"$_",C),[C,v]=e.setup_stores();e.dayjs.extend(t.duration);const F="https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4",o=t.prop(a,"program",7,null),c=t.prop(a,"endpoint",7,null),l=t.prop(a,"session",7,null),u=t.prop(a,"outerWheelAsset",7,null),P=t.prop(a,"wheelButtonAsset",7,null),W=t.prop(a,"backgroundVideoAsset",7,null),T=t.prop(a,"language",7,"en"),G=t.prop(a,"showBackButton",7,!0),b=t.prop(a,"liteMode",7,!1),h=e.user_derived(()=>!c()||!o()),te=e.user_derived(()=>{var n,r;return!e.get(h)&&((r=(n=o())==null?void 0:n.remainingTimes)!=null?r:0)>0}),re=e.user_derived(()=>{var n,r;return e.get(h)?Ce.placeholderWheelSlices:(r=(n=o())==null?void 0:n.partitions)!=null?r:[]}),g=["history","play","rules"];let f=e.state(e.proxy(g[1]));const ae=n=>{var r,s,d,w;n!==e.get(f)&&(n===g[0]?window.postMessage({type:"event_wof_history_click",name:((r=o())==null?void 0:r.name)||null},window.location.href):n===g[2]?window.postMessage({type:"event_wof_rules_click",name:((s=o())==null?void 0:s.name)||null},window.location.href):window.postMessage({type:"event_wof_accessed",isUserLoggedIn:!e.get(h),name:((d=o())==null?void 0:d.name)||null,availableSpins:((w=o())==null?void 0:w.remainingTimes)||null},window.location.href),e.set(R,!1),e.set(f,n,!0))};let m=e.state(null),O=e.state(!1),R=e.state(!1),j=e.state(!1),k=e.state(!1),z=e.state(!1);e.user_effect(()=>{if(!b()){if(e.get(O))e.set(k,!0),e.set(z,!1);else if(e.get(k)){e.set(z,!0);const n=setTimeout(()=>{e.set(k,!1),e.set(z,!1)},350);return()=>clearTimeout(n)}}});const oe=()=>window.postMessage({type:"LuckyWheel:GoToLogin"},window.location.href),ie=()=>window.postMessage({type:"CloseMiniGame"},window.location.href),E=()=>ee(this,null,function*(){var s,d;if(!((s=o())!=null&&s.id)||!c())return;const n=new URL(`${c()}/v1/wof/remainingTimes`),r=new Headers;l()&&r.append("X-SessionId",l()),n.searchParams.append("filter",`ProgramId[]=${o().id}`);try{const x=yield(yield fetch(n,{method:"GET",headers:r})).json();let I=0;if(((d=x==null?void 0:x.items)==null?void 0:d.length)>0){const J=x.items.find(xe=>xe.programId===o().id);J&&(I=+J.remainingTimes||0)}const we=e.snapshot(Y(M({},o()),{remainingTimes:I,current:Y(M({},o().current),{remainingTimes:I})}));window.postMessage({type:"PrizeGameRemainingTimesUpdated",data:we},"*")}catch(w){console.log(w)}finally{e.set(j,!1)}}),D=n=>{if(n.data)switch(console.log(n.data,"--- fuck"),n.data.type){case"SpinAgain":case"BackToWheel":e.set(m,null),n.data.skipFetch?e.set(j,!0):E();break}};t.onMount(()=>{var n,r;return window.postMessage({type:"event_wof_accessed",isUserLoggedIn:!e.get(h),name:((n=o())==null?void 0:n.name)||null,availableSpins:((r=o())==null?void 0:r.remainingTimes)||null},window.location.href),window.addEventListener("message",D),()=>{window.removeEventListener("message",D)}});var se={get program(){return o()},set program(n=null){o(n),e.flushSync()},get endpoint(){return c()},set endpoint(n=null){c(n),e.flushSync()},get session(){return l()},set session(n=null){l(n),e.flushSync()},get outerWheelAsset(){return u()},set outerWheelAsset(n=null){u(n),e.flushSync()},get wheelButtonAsset(){return P()},set wheelButtonAsset(n=null){P(n),e.flushSync()},get backgroundVideoAsset(){return W()},set backgroundVideoAsset(n=null){W(n),e.flushSync()},get language(){return T()},set language(n="en"){T(n),e.flushSync()},get showBackButton(){return G()},set showBackButton(n=!0){G(n),e.flushSync()},get liteMode(){return b()},set liteMode(n=!1){b(n),e.flushSync()}},_=We();let H;var X=e.child(_);{var le=n=>{var r=Fe();let s;r.muted=!0;var d=e.child(r);e.reset(r),e.template_effect(()=>{s=t.set_class(r,1,"wheel-video-background svelte-17ly5gn",null,s,{"is-ready":e.get(R)}),t.set_attribute(d,"src",W()||F)}),t.event("canplay",r,()=>e.set(R,!0)),t.append(n,r)};t.if_block(X,n=>{!b()&&e.get(f)===g[1]&&n(le)})}var y=e.sibling(X,2);let Z;var q=e.sibling(e.child(y),2),pe=e.child(q,!0);e.reset(q),e.reset(y);var B=e.sibling(y,2);let V;var L=e.child(B),ce=e.child(L,!0);e.reset(L);var U=e.sibling(L,2),de=e.child(U,!0);e.reset(U),e.reset(B);var S=e.sibling(B,2);let K;t.each(S,20,()=>g,n=>n,(n,r)=>{var s=Pe();let d;var w=e.child(s,!0);e.reset(s),e.template_effect(x=>{d=t.set_class(s,1,"tab svelte-17ly5gn",null,d,{active:e.get(f)===r}),t.set_text(w,x)},[()=>i()(r)]),t.delegated("click",s,()=>ae(r)),t.append(n,s)}),e.reset(S);var A=e.sibling(S,2);let N;var ge=e.child(A);t.WheelOfFortuneWheel(ge,{get program(){return o()},get endpoint(){return c()},get session(){return l()},get outerWheelAsset(){return u()},get wheelButtonAsset(){return P()},get wheelSlices(){return e.get(re)},get isPlaceholder(){return e.get(h)},get isWheelAvailable(){return e.get(te)},get liteMode(){return b()},get remainingTimesLoading(){return e.get(j)},onLogin:oe,get spinResults(){return e.get(m)},set spinResults(n){e.set(m,n,!0)},get spinActive(){return e.get(O)},set spinActive(n){e.set(O,n,!0)}}),e.reset(A);var fe=e.sibling(A,2);{var me=n=>{Se.WheelOfFortuneDrawResults(n,{get result(){return e.get(m)},get endpoint(){return c()},get session(){return l()},get liteMode(){return b()},onFetchRemainingTimes:E})},ue=n=>{{let r=e.user_derived(()=>{var s;return(s=o())==null?void 0:s.id});Be.WheelOfFortuneHistory(n,{get programId(){return e.get(r)},get endpoint(){return c()},get session(){return l()}})}},be=n=>{Ae.WheelOfFortuneRules(n,{get program(){return o()},get language(){return T()}})};t.if_block(fe,n=>{e.get(m)?n(me):e.get(f)===g[0]?n(ue,1):e.get(f)===g[2]&&n(be,2)})}e.reset(_),e.template_effect((n,r,s)=>{H=t.set_class(_,1,"wheel-content svelte-17ly5gn",null,H,{"is-spin-fullscreen":e.get(k),"is-spin-exiting":e.get(z),"wheel-background-halo":b()&&e.get(f)===g[1]}),Z=t.set_class(y,1,"back-button-container svelte-17ly5gn",null,Z,{hidden:e.get(h)||!G()}),t.set_text(pe,n),V=t.set_class(B,1,"wof-title svelte-17ly5gn",null,V,{hidden:e.get(m)}),t.set_text(ce,r),t.set_text(de,s),K=t.set_class(S,1,"wof-tabs svelte-17ly5gn",null,K,{hidden:e.get(h)||e.get(m)}),N=t.set_style(A,"",N,{display:e.get(f)!==g[1]||e.get(m)?"none":"contents"})},[()=>i()("backToHub"),()=>i()("wofTitle"),()=>i()("wofSubtitle")]),t.delegated("click",y,ie),t.append(p,_);var he=e.pop(se);return v(),he}t.delegate(["click"]);customElements.define("wheel-of-fortune",t.create_custom_element(ne,{program:{},endpoint:{},session:{},outerWheelAsset:{},wheelButtonAsset:{},backgroundVideoAsset:{},language:{},showBackButton:{},liteMode:{}},[],[]));exports.WheelOfFortune=ne;