@everymatrix/mini-games-hub 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/BackButton-BMWvZ9Lb.js +39 -0
- package/components/BackButton-BNp3jVLa.js +39 -0
- package/components/BackButton-Bi1zFTns.js +38 -0
- package/components/BackButton-BvRNh4nJ.js +39 -0
- package/components/BackButton-C2-HXI2m.cjs +1 -0
- package/components/BackButton-C_v3b0Ky.cjs +1 -0
- package/components/BackButton-D5gfQ3NI.cjs +1 -0
- package/components/BackButton-DOW_OP-H.cjs +1 -0
- package/components/BackButton-DznJk3U4.js +38 -0
- package/components/BackButton-gIVGAf6v.js +38 -0
- package/components/BackButton-s0YqvufR.cjs +1 -0
- package/components/CoinFlip-5qt33VpA.js +399 -0
- package/components/CoinFlip-9-7FNYAn.js +364 -0
- package/components/CoinFlip-B0Q-xZDI.cjs +1 -0
- package/components/CoinFlip-BWNJK7aS.js +402 -0
- package/components/CoinFlip-BaNNMAYb.cjs +1 -0
- package/components/CoinFlip-BgRZmhbg.js +367 -0
- package/components/CoinFlip-COwy7cq1.cjs +1 -0
- package/components/CoinFlip-CSel9VZR.js +398 -0
- package/components/CoinFlip-CfHvSwpV.cjs +1 -0
- package/components/CoinFlip-ClRh6gz2.js +363 -0
- package/components/CoinFlip-D7Bwnl8W.cjs +1 -0
- package/components/CoinFlip-D8OLaQiA.js +367 -0
- package/components/CoinFlip-Dg2ZA_B2.cjs +1 -0
- package/components/CoinFlip-DoASIhfX.cjs +1 -0
- package/components/CoinFlip-pvtcTO4f.cjs +1 -0
- package/components/CoinFlip-vrZpkrnS.js +402 -0
- package/components/CoinRoyale-4Oe-x5-J.cjs +734 -0
- package/components/CoinRoyale-9nHMXODj.js +1017 -0
- package/components/CoinRoyale-B3bu5S4n.cjs +734 -0
- package/components/CoinRoyale-B4dKiGgG.cjs +736 -0
- package/components/CoinRoyale-BNxFDqe1.js +999 -0
- package/components/CoinRoyale-BwNvG3QI.js +1009 -0
- package/components/CoinRoyale-Bza84vCL.cjs +738 -0
- package/components/CoinRoyale-C-x6uDgh.js +989 -0
- package/components/CoinRoyale-CAI2JCvG.js +1020 -0
- package/components/CoinRoyale-CGHKZ-kc.js +997 -0
- package/components/CoinRoyale-CbqmmMPg.cjs +736 -0
- package/components/CoinRoyale-ChWsctqo.cjs +759 -0
- package/components/CoinRoyale-Cw8ImDP5.js +1040 -0
- package/components/CoinRoyale-CxIBSKFK.js +1017 -0
- package/components/CoinRoyale-D-rF6BV4.js +1019 -0
- package/components/CoinRoyale-DH-tQHtT.cjs +736 -0
- package/components/CoinRoyale-DmcgvBwG.js +997 -0
- package/components/CoinRoyale-d2utu3E3.cjs +759 -0
- package/components/CoinRoyale-xAkf1dm_.cjs +738 -0
- package/components/DrawResult-BHZeM1oX.cjs +1 -0
- package/components/DrawResult-BVtwLs-z.js +373 -0
- package/components/DrawResult-CG5KTjF7.cjs +1 -0
- package/components/DrawResult-COyPm6Cv.cjs +1 -0
- package/components/DrawResult-CbLPtjvZ.js +343 -0
- package/components/DrawResult-Cul15bW0.cjs +1 -0
- package/components/DrawResult-DMRODSxk.cjs +1 -0
- package/components/DrawResult-DTJJfQkP.js +373 -0
- package/components/DrawResult-DdL4fFZM.js +343 -0
- package/components/DrawResult-DxG4CaKK.cjs +1 -0
- package/components/DrawResult-SyzKXHgd.js +343 -0
- package/components/DrawResult-ZEAa0flC.js +373 -0
- package/components/GameCard-8k9KvRun.cjs +3 -0
- package/components/GameCard-A3k7RxF5.js +63 -0
- package/components/GameCard-B2td6J8K.js +62 -0
- package/components/{GameCard-BIn8BJ4U.cjs → GameCard-Bku9nP58.cjs} +3 -3
- package/components/GameCard-CBGi9i6m.cjs +3 -0
- package/components/GameCard-CHZmVd6n.cjs +3 -0
- package/components/GameCard-Cj4zAE8_.js +59 -0
- package/components/GameCard-CrKoQU1B.js +59 -0
- package/components/GameCard-DFVjSdtd.cjs +3 -0
- package/components/GameCard-DHetS96-.js +66 -0
- package/components/GameCard-DcWpuwMl.cjs +3 -0
- package/components/GameCard-jIcB63Tt.js +62 -0
- package/components/GameHistory-9Mf_u0La.js +231 -0
- package/components/GameHistory-BktmYuDa.js +231 -0
- package/components/GameHistory-CGAhNQKk.js +231 -0
- package/components/GameHistory-ChYjWDsa.cjs +12 -0
- package/components/GameHistory-CmiIChL-.cjs +12 -0
- package/components/GameHistory-CrrlOaAg.js +231 -0
- package/components/GameHistory-DVsHn3lx.cjs +12 -0
- package/components/GameHistory-_jU0BiqI.js +231 -0
- package/components/GameHistory-aQf3vf9u.cjs +12 -0
- package/components/GameHistory-lyXo0tYb.cjs +12 -0
- package/components/GameHistory-uzrT81kU.js +231 -0
- package/components/GameHistory-v6cI-TIF.cjs +12 -0
- package/components/GamePlaceholder-4oI8uJ-1.cjs +1 -0
- package/components/GamePlaceholder-Bp4nTJeL.js +84 -0
- package/components/GamePlaceholder-COiYGwNi.cjs +15 -0
- package/components/GamePlaceholder-CfJ4hx9w.js +70 -0
- package/components/GamePlaceholder-D9JEXsAk.js +84 -0
- package/components/GamePlaceholder-DGnB06iW.js +71 -0
- package/components/GamePlaceholder-DS5evGU6.js +85 -0
- package/components/GamePlaceholder-DmiU1G7G.cjs +15 -0
- package/components/GamePlaceholder-Dwo_YAUQ.cjs +1 -0
- package/components/GamePlaceholder-Uni3xW09.cjs +15 -0
- package/components/GamePlaceholder-fVPk29f9.cjs +15 -0
- package/components/GamePlaceholder-vUYYV2Ps.js +85 -0
- package/components/GameRules-41OkRwZu.js +115 -0
- package/components/GameRules-BwLJBo6z.cjs +3 -0
- package/components/GameRules-CRiycUU8.js +115 -0
- package/components/GameRules-CTKyBDZO.cjs +3 -0
- package/components/GameRules-CV9sxZYz.js +126 -0
- package/components/GameRules-CuuoMoqN.cjs +3 -0
- package/components/GameRules-Cy7jwBok.js +126 -0
- package/components/GameRules-DUD8OKC0.js +115 -0
- package/components/GameRules-Dkl0qVzr.js +126 -0
- package/components/GameRules-DpGqZdSj.cjs +3 -0
- package/components/GameRules-DrBYjWA6.cjs +3 -0
- package/components/GameRules-DrZ6w0LM.cjs +3 -0
- package/components/MiniGamesHub-BWPRLpyq.cjs +16 -0
- package/components/MiniGamesHub-BXcQ_faH.js +1022 -0
- package/components/MiniGamesHub-BbkgB1GV.js +1105 -0
- package/components/MiniGamesHub-BjME_rom.cjs +16 -0
- package/components/{MiniGamesHub-BYJ7lK90.js → MiniGamesHub-Bn-xvO1e.js} +416 -760
- package/components/MiniGamesHub-BpjzFxHO.cjs +16 -0
- package/components/MiniGamesHub-BtC6TmtK.cjs +16 -0
- package/components/{MiniGamesHub-D3n-AyD7.js → MiniGamesHub-BvS3Q0HA.js} +452 -696
- package/components/MiniGamesHub-C-9Nf-x7.js +1029 -0
- package/components/MiniGamesHub-C0ESIt9P.cjs +16 -0
- package/components/MiniGamesHub-CfIFEVOU.js +1022 -0
- package/components/MiniGamesHub-Cj_6ebsL.cjs +16 -0
- package/components/MiniGamesHub-CkVJjuZl.cjs +79 -0
- package/components/MiniGamesHub-CktxKKTj.cjs +16 -0
- package/components/MiniGamesHub-ClPq7L0V.cjs +79 -0
- package/components/MiniGamesHub-CrPltGGl.js +1042 -0
- package/components/MiniGamesHub-D2Eet3pe.js +1048 -0
- package/components/MiniGamesHub-DCCeYwnc.js +1055 -0
- package/components/MiniGamesHub-DuyWceLB.cjs +16 -0
- package/components/MiniGamesHub-Dz8Ltp98.js +1048 -0
- package/components/MiniGamesHub-_uRBhzYg.js +1029 -0
- package/components/MiniGamesHub-kIXoGqbZ.cjs +16 -0
- package/components/MiniGamesHub-v8PPHifq.js +1072 -0
- package/components/MysteryChest-B4h9tqVR.js +1301 -0
- package/components/MysteryChest-BJCFkn02.cjs +737 -0
- package/components/MysteryChest-BXPAdruk.js +1290 -0
- package/components/MysteryChest-BuB9PD57.js +1240 -0
- package/components/MysteryChest-C40hwiCW.cjs +745 -0
- package/components/MysteryChest-CKPELFiF.cjs +737 -0
- package/components/MysteryChest-CRJtPhlo.cjs +743 -0
- package/components/MysteryChest-CScyc3Jw.cjs +745 -0
- package/components/MysteryChest-CheF_Rh5.cjs +739 -0
- package/components/MysteryChest-CrL8IXga.js +1309 -0
- package/components/MysteryChest-CrXzepqD.js +1296 -0
- package/components/MysteryChest-D6eks4QE.js +1254 -0
- package/components/MysteryChest-DJuhkpSa.cjs +743 -0
- package/components/MysteryChest-DOTlHt7A.js +1248 -0
- package/components/MysteryChest-DfggF659.js +1262 -0
- package/components/MysteryChest-Di-dVQnd.cjs +745 -0
- package/components/MysteryChest-DnstXEZJ.js +1298 -0
- package/components/MysteryChest-IcRh-Dcp.js +1247 -0
- package/components/MysteryChest-dyhqTxMg.cjs +739 -0
- package/components/WheelOfFortune--1feiOUD.js +950 -0
- package/components/WheelOfFortune-B0g1znMo.cjs +627 -0
- package/components/{WheelOfFortune--4nTtnMR.cjs → WheelOfFortune-BC0wwnC-.cjs} +6 -6
- package/components/{WheelOfFortune-BjNsD2ND.js → WheelOfFortune-BYxOqBjA.js} +148 -159
- package/components/WheelOfFortune-BgUB1tnc.js +942 -0
- package/components/WheelOfFortune-Bh2XAbs4.cjs +619 -0
- package/components/WheelOfFortune-BwmCnHru.js +926 -0
- package/components/WheelOfFortune-CHgHhi9q.cjs +619 -0
- package/components/WheelOfFortune-CRgnumXh.cjs +627 -0
- package/components/WheelOfFortune-CZ2cERqz.cjs +619 -0
- package/components/WheelOfFortune-CpYsfi8D.js +934 -0
- package/components/WheelOfFortune-Cy64rFDw.js +942 -0
- package/components/WheelOfFortune-DZ7fGpS9.cjs +619 -0
- package/components/WheelOfFortune-DZg0i79U.js +949 -0
- package/components/{WheelOfFortune-DkVQIxzg.js → WheelOfFortune-DawF7WTd.js} +178 -214
- package/components/WheelOfFortune-DjdKhLGF.cjs +617 -0
- package/components/WheelOfFortune-M5VMIsnw.cjs +619 -0
- package/components/WheelOfFortune-kXjxp6t7.js +926 -0
- package/components/WheelOfFortune-pBG33-QJ.js +933 -0
- package/components/WheelOfFortuneWheel-7PqVvd_8.cjs +3 -0
- package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +3 -0
- package/components/WheelOfFortuneWheel-BABzaEBd.js +1812 -0
- package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +3 -0
- package/components/WheelOfFortuneWheel-BYEHNHdI.js +1807 -0
- package/components/WheelOfFortuneWheel-BoZ9evN7.cjs +3 -0
- package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +3 -0
- package/components/{WheelOfFortuneWheel-BAR98ByP.js → WheelOfFortuneWheel-CQCLWOFi.js} +310 -302
- package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +3 -0
- package/components/WheelOfFortuneWheel-DUE4gyGP.js +1741 -0
- package/components/{WheelOfFortuneWheel-DxFn6jjg.js → WheelOfFortuneWheel-DXhwrWpD.js} +548 -539
- package/components/WheelOfFortuneWheel-DgVQP4GA.js +1735 -0
- package/components/bg-scene-Bz42V1FW.cjs +1 -0
- package/components/bg-scene-DpHgKCHj.js +4 -0
- package/components/coin-heads-BuJOLpyg.cjs +1 -0
- package/components/coin-heads-loqcEtH2.js +4 -0
- package/components/coin-tails-20vJmhwv.cjs +1 -0
- package/components/coin-tails-BTbsTwkz.js +4 -0
- package/components/confetti-CIk02Iw8.cjs +1 -0
- package/components/confetti-QNsE8ssC.js +14 -0
- package/components/constants-BDMySuIA.cjs +1 -0
- package/components/constants-DNSPUges.cjs +1 -0
- package/components/{constants-BYsDpbRv.js → constants-DdcZGwlM.js} +28 -19
- package/components/constants-DgCBmV7S.js +29 -0
- package/components/constants-Ds7J0meH.cjs +1 -0
- package/components/constants-Q_kcdbM6.js +29 -0
- package/components/countdown-2m_26DZf.js +157 -0
- package/components/countdown-BhZfvy-p.cjs +1 -0
- package/components/countdown-Bp3yWidJ.cjs +1 -0
- package/components/countdown-CH5h-cVr.js +146 -0
- package/components/countdown-CnUPVFlE.cjs +1 -0
- package/components/countdown-DmWNNDzv.js +168 -0
- package/components/countdown-YmZm4DrD.js +146 -0
- package/components/countdown-o9wqo7P7.cjs +1 -0
- package/components/key-CFhvp9Ju.cjs +1 -0
- package/components/key-D1g9LqMU.js +4 -0
- package/components/mystery-chest-bg-CGT-JTBW.js +4 -0
- package/components/mystery-chest-bg-vrQMNafs.cjs +1 -0
- package/components/mystery-chest-empty-CSY7-Vbl.cjs +1 -0
- package/components/mystery-chest-empty-D7bbrCHH.js +4 -0
- package/components/mystery-chest-locked-CIxpYU3v.js +4 -0
- package/components/mystery-chest-locked-DiyrvNm3.cjs +1 -0
- package/components/mystery-chest-win-D1NYItcd.js +4 -0
- package/components/mystery-chest-win-OxXZtQQd.cjs +1 -0
- package/components/remaining-times-Dexper1E.js +52 -0
- package/components/remaining-times-DiYnfuZB.js +23 -0
- package/components/remaining-times-Eqo69UfM.cjs +1 -0
- package/components/remaining-times-Gt6ytHaa.cjs +1 -0
- package/components/sparkles-B2kHtb3R.js +14 -0
- package/components/sparkles-BBLT1jhq.js +14 -0
- package/components/sparkles-BIl7-lvq.cjs +1 -0
- package/components/sparkles-BRrL2C0i.cjs +1 -0
- package/components/sparkles-BXFe6GK6.js +18 -0
- package/components/sparkles-C2rT-gN_.cjs +1 -0
- package/components/sparkles-Cfa1xTlQ.js +14 -0
- package/components/sparkles-Cot5wZXx.cjs +1 -0
- package/components/sparkles-D1RTsqBU.js +18 -0
- package/components/sparkles-DKbGLSaY.cjs +1 -0
- package/components/sparkles-DmL-n8od.cjs +1 -0
- package/components/sparkles-WqrZ-iXs.js +18 -0
- package/components/spin-controller-3wmy9F5-.cjs +1 -0
- package/components/{spin-controller-CIshWmlA.cjs → spin-controller-BF6ymCY4.cjs} +1 -1
- package/components/spin-controller-Bc8nQATS.cjs +1 -0
- package/components/{spin-controller-BuBkKrNR.js → spin-controller-BcBfHUn9.js} +7 -7
- package/components/{spin-controller-REPdRwaB.js → spin-controller-CC3QZvWl.js} +8 -8
- package/components/spin-controller-CEIahkSh.cjs +1 -0
- package/components/spin-controller-CUb1rpPl.js +177 -0
- package/components/spin-controller-CVXfvzb7.cjs +1 -0
- package/components/spin-controller-DBglqs7W.js +175 -0
- package/components/spin-controller-Db-fwR9V.cjs +1 -0
- package/components/spin-controller-DkSQ07IL.js +177 -0
- package/components/spin-controller-Dxxx3-ya.js +175 -0
- package/components/utils-8EFTHKcu.cjs +3 -0
- package/components/utils-AGVOgUGK.cjs +3 -0
- package/components/{utils-C7uxZXaZ.js → utils-B3aNdyMX.js} +968 -958
- package/components/utils-BJHloM10.js +6055 -0
- package/components/utils-C1uNHR_J.cjs +3 -0
- package/components/{utils-d-JrZBJu.js → utils-DEov6Qk_.js} +902 -892
- package/components/utils-DQ220WK3.js +6016 -0
- package/components/utils-DwrHy7a0.js +6007 -0
- package/components/utils-Dwz-wUFC.cjs +3 -0
- package/components/utils-Rda5erjI.cjs +3 -0
- package/components/utils-fG_nzyoc.cjs +3 -0
- package/components/utils-qUyu-MNU.js +6064 -0
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.cjs +1 -0
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +12 -13
- package/components/GameCard-D3knomma.js +0 -56
- package/components/GameCard-Ds0FcnPp.js +0 -56
- package/components/MiniGamesHub-zNncMSFn.cjs +0 -94
- package/components/WheelOfFortuneDrawResults-1lzyxrks.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-DQweghnp.js +0 -301
- package/components/WheelOfFortuneDrawResults-dOeQDVub.js +0 -276
- package/components/WheelOfFortuneHistory-CQZ9QtVt.js +0 -232
- package/components/WheelOfFortuneHistory-DZNPM57t.cjs +0 -13
- package/components/WheelOfFortuneHistory-DygZEtcR.js +0 -232
- package/components/WheelOfFortuneRules-D3N1c8PX.js +0 -117
- package/components/WheelOfFortuneRules-DuiCet95.js +0 -128
- package/components/WheelOfFortuneRules-VAMAiK0m.cjs +0 -5
- package/components/WheelOfFortuneWheel-hSjxThyU.cjs +0 -3
- package/components/constants-DM6Vdc6Z.cjs +0 -1
- package/components/sparkles-BnriHiyw.cjs +0 -1
- package/components/sparkles-CSfeD2Zu.js +0 -25
- package/components/sparkles-CTrQ372y.js +0 -29
- package/components/utils-DQIHJIDu.cjs +0 -3
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { d as I, c as D, a as O, p as b, i as B, h, m as C, b as y, f as A, l as K, s as R, t as S } from "./WheelOfFortuneWheel-DUE4gyGP.js";
|
|
2
|
+
import { G as T, aS as v, ah as w, L as E, aT as t, aO as N, aP as Q, aG as u, aQ as U, aW as o, a0 as W, au as Y, aM as H } from "./utils-DEov6Qk_.js";
|
|
3
|
+
var J = A('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>', 2), X = A('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');
|
|
4
|
+
const Z = {
|
|
5
|
+
hash: "svelte-1j7eq9g",
|
|
6
|
+
code: ` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
7
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
8
|
+
}
|
|
9
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
10
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
11
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
12
|
+
from {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
19
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
20
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`
|
|
21
|
+
};
|
|
22
|
+
function ee(_, r) {
|
|
23
|
+
T(r, !0), O(_, Z);
|
|
24
|
+
const n = () => N(Q, "$_", L), [L, j] = U(), z = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", s = b(r, "backgroundVideoAsset", 7, null), l = b(r, "liteMode", 7, !1), d = b(r, "onLogin", 7);
|
|
25
|
+
let f = H(!1);
|
|
26
|
+
var M = {
|
|
27
|
+
get backgroundVideoAsset() {
|
|
28
|
+
return s();
|
|
29
|
+
},
|
|
30
|
+
set backgroundVideoAsset(e = null) {
|
|
31
|
+
s(e), u();
|
|
32
|
+
},
|
|
33
|
+
get liteMode() {
|
|
34
|
+
return l();
|
|
35
|
+
},
|
|
36
|
+
set liteMode(e = !1) {
|
|
37
|
+
l(e), u();
|
|
38
|
+
},
|
|
39
|
+
get onLogin() {
|
|
40
|
+
return d();
|
|
41
|
+
},
|
|
42
|
+
set onLogin(e) {
|
|
43
|
+
d(e), u();
|
|
44
|
+
}
|
|
45
|
+
}, p = X(), x = t(p);
|
|
46
|
+
{
|
|
47
|
+
var V = (e) => {
|
|
48
|
+
var a = J();
|
|
49
|
+
let i;
|
|
50
|
+
a.muted = !0;
|
|
51
|
+
var F = t(a);
|
|
52
|
+
o(a), w(() => {
|
|
53
|
+
i = K(a, 1, "game-placeholder__video", null, i, { "is-ready": W(f) }), R(F, "src", s() || z);
|
|
54
|
+
}), S("canplay", a, () => Y(f, !0)), y(e, a);
|
|
55
|
+
};
|
|
56
|
+
B(x, (e) => {
|
|
57
|
+
l() || e(V);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
var c = v(x, 2), g = t(c), G = t(g, !0);
|
|
61
|
+
o(g);
|
|
62
|
+
var k = v(g, 2), P = t(k, !0);
|
|
63
|
+
o(k), o(c);
|
|
64
|
+
var m = v(c, 2), $ = t(m, !0);
|
|
65
|
+
o(m), o(p), w(
|
|
66
|
+
(e, a, i) => {
|
|
67
|
+
h(G, e), h(P, a), h($, i);
|
|
68
|
+
},
|
|
69
|
+
[
|
|
70
|
+
() => n()("loginTitle"),
|
|
71
|
+
() => n()("loginDescription"),
|
|
72
|
+
() => n()("login")
|
|
73
|
+
]
|
|
74
|
+
), C("click", m, function(...e) {
|
|
75
|
+
d()?.apply(this, e);
|
|
76
|
+
}), y(_, p);
|
|
77
|
+
var q = E(M);
|
|
78
|
+
return j(), q;
|
|
79
|
+
}
|
|
80
|
+
I(["click"]);
|
|
81
|
+
D(ee, { backgroundVideoAsset: {}, liteMode: {}, onLogin: {} }, [], [], { mode: "open" });
|
|
82
|
+
export {
|
|
83
|
+
ee as G
|
|
84
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";const t=require("./WheelOfFortuneWheel-BQFaJ7ZB.cjs"),e=require("./utils-fG_nzyoc.cjs");var V=t.from_html('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>',2),F=t.from_html('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');const M={hash:"svelte-1j7eq9g",code:` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
2
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
3
|
+
}
|
|
4
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
5
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
6
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
7
|
+
from {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
to {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
14
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
15
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`};function v(b,r){e.push(r,!0),t.append_styles(b,M);const n=()=>e.store_get(e.$format,"$_",f),[f,x]=e.setup_stores(),k="https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4",l=t.prop(r,"backgroundVideoAsset",7,null),s=t.prop(r,"liteMode",7,!1),d=t.prop(r,"onLogin",7);let h=e.state(!1);var y={get backgroundVideoAsset(){return l()},set backgroundVideoAsset(a=null){l(a),e.flushSync()},get liteMode(){return s()},set liteMode(a=!1){s(a),e.flushSync()},get onLogin(){return d()},set onLogin(a){d(a),e.flushSync()}},c=F(),u=e.child(c);{var w=a=>{var o=V();let i;o.muted=!0;var z=e.child(o);e.reset(o),e.template_effect(()=>{i=t.set_class(o,1,"game-placeholder__video",null,i,{"is-ready":e.get(h)}),t.set_attribute(z,"src",l()||k)}),t.event("canplay",o,()=>e.set(h,!0)),t.append(a,o)};t.if_block(u,a=>{s()||a(w)})}var p=e.sibling(u,2),g=e.child(p),A=e.child(g,!0);e.reset(g);var _=e.sibling(g,2),L=e.child(_,!0);e.reset(_),e.reset(p);var m=e.sibling(p,2),j=e.child(m,!0);e.reset(m),e.reset(c),e.template_effect((a,o,i)=>{t.set_text(A,a),t.set_text(L,o),t.set_text(j,i)},[()=>n()("loginTitle"),()=>n()("loginDescription"),()=>n()("login")]),t.delegated("click",m,function(...a){d()?.apply(this,a)}),t.append(b,c);var q=e.pop(y);return x(),q}t.delegate(["click"]);t.create_custom_element(v,{backgroundVideoAsset:{},liteMode:{},onLogin:{}},[],[],{mode:"open"});exports.GamePlaceholder=v;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { d as C, c as K, a as P, p as u, i as R, h as m, m as S, b as k, f as A, l as T, s as q, t as E } from "./WheelOfFortuneWheel-DgVQP4GA.js";
|
|
2
|
+
import { G as F, aS as v, ah as w, L as I, aT as t, aO as N, aP as Q, aG as f, aQ as U, aW as o, a0 as W, au as Y, aM as H } from "./utils-DwrHy7a0.js";
|
|
3
|
+
var J = A('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>', 2), X = A('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');
|
|
4
|
+
const Z = {
|
|
5
|
+
hash: "svelte-1j7eq9g",
|
|
6
|
+
code: " .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;} .game-placeholder__video.is-ready {opacity:1;} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}"
|
|
7
|
+
};
|
|
8
|
+
function ee(_, r) {
|
|
9
|
+
F(r, !0), P(_, Z);
|
|
10
|
+
const i = () => N(Q, "$_", L), [L, z] = U(), M = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", l = u(r, "backgroundVideoAsset", 7, null), n = u(r, "liteMode", 7, !1), d = u(r, "onLogin", 7);
|
|
11
|
+
let h = H(!1);
|
|
12
|
+
var V = {
|
|
13
|
+
get backgroundVideoAsset() {
|
|
14
|
+
return l();
|
|
15
|
+
},
|
|
16
|
+
set backgroundVideoAsset(e = null) {
|
|
17
|
+
l(e), f();
|
|
18
|
+
},
|
|
19
|
+
get liteMode() {
|
|
20
|
+
return n();
|
|
21
|
+
},
|
|
22
|
+
set liteMode(e = !1) {
|
|
23
|
+
n(e), f();
|
|
24
|
+
},
|
|
25
|
+
get onLogin() {
|
|
26
|
+
return d();
|
|
27
|
+
},
|
|
28
|
+
set onLogin(e) {
|
|
29
|
+
d(e), f();
|
|
30
|
+
}
|
|
31
|
+
}, p = X(), x = t(p);
|
|
32
|
+
{
|
|
33
|
+
var G = (e) => {
|
|
34
|
+
var a = J();
|
|
35
|
+
let s;
|
|
36
|
+
a.muted = !0;
|
|
37
|
+
var B = t(a);
|
|
38
|
+
o(a), w(() => {
|
|
39
|
+
s = T(a, 1, "game-placeholder__video", null, s, { "is-ready": W(h) }), q(B, "src", l() || M);
|
|
40
|
+
}), E("canplay", a, () => Y(h, !0)), k(e, a);
|
|
41
|
+
};
|
|
42
|
+
R(x, (e) => {
|
|
43
|
+
n() || e(G);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
var c = v(x, 2), g = t(c), $ = t(g, !0);
|
|
47
|
+
o(g);
|
|
48
|
+
var y = v(g, 2), j = t(y, !0);
|
|
49
|
+
o(y), o(c);
|
|
50
|
+
var b = v(c, 2), D = t(b, !0);
|
|
51
|
+
o(b), o(p), w(
|
|
52
|
+
(e, a, s) => {
|
|
53
|
+
m($, e), m(j, a), m(D, s);
|
|
54
|
+
},
|
|
55
|
+
[
|
|
56
|
+
() => i()("loginTitle"),
|
|
57
|
+
() => i()("loginDescription"),
|
|
58
|
+
() => i()("login")
|
|
59
|
+
]
|
|
60
|
+
), S("click", b, function(...e) {
|
|
61
|
+
d()?.apply(this, e);
|
|
62
|
+
}), k(_, p);
|
|
63
|
+
var O = I(V);
|
|
64
|
+
return z(), O;
|
|
65
|
+
}
|
|
66
|
+
C(["click"]);
|
|
67
|
+
K(ee, { backgroundVideoAsset: {}, liteMode: {}, onLogin: {} }, [], [], { mode: "open" });
|
|
68
|
+
export {
|
|
69
|
+
ee as G
|
|
70
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { d as I, c as D, a as O, p as b, i as B, h, m as C, b as y, f as A, l as K, s as R, t as S } from "./WheelOfFortuneWheel-DgVQP4GA.js";
|
|
2
|
+
import { G as T, aS as v, ah as w, L as E, aT as t, aO as N, aP as Q, aG as u, aQ as U, aW as o, a0 as W, au as Y, aM as H } from "./utils-DwrHy7a0.js";
|
|
3
|
+
var J = A('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>', 2), X = A('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');
|
|
4
|
+
const Z = {
|
|
5
|
+
hash: "svelte-1j7eq9g",
|
|
6
|
+
code: ` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
7
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
8
|
+
}
|
|
9
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
10
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
11
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
12
|
+
from {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
19
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
20
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`
|
|
21
|
+
};
|
|
22
|
+
function ee(_, r) {
|
|
23
|
+
T(r, !0), O(_, Z);
|
|
24
|
+
const n = () => N(Q, "$_", L), [L, j] = U(), z = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", s = b(r, "backgroundVideoAsset", 7, null), l = b(r, "liteMode", 7, !1), d = b(r, "onLogin", 7);
|
|
25
|
+
let f = H(!1);
|
|
26
|
+
var M = {
|
|
27
|
+
get backgroundVideoAsset() {
|
|
28
|
+
return s();
|
|
29
|
+
},
|
|
30
|
+
set backgroundVideoAsset(e = null) {
|
|
31
|
+
s(e), u();
|
|
32
|
+
},
|
|
33
|
+
get liteMode() {
|
|
34
|
+
return l();
|
|
35
|
+
},
|
|
36
|
+
set liteMode(e = !1) {
|
|
37
|
+
l(e), u();
|
|
38
|
+
},
|
|
39
|
+
get onLogin() {
|
|
40
|
+
return d();
|
|
41
|
+
},
|
|
42
|
+
set onLogin(e) {
|
|
43
|
+
d(e), u();
|
|
44
|
+
}
|
|
45
|
+
}, p = X(), x = t(p);
|
|
46
|
+
{
|
|
47
|
+
var V = (e) => {
|
|
48
|
+
var a = J();
|
|
49
|
+
let i;
|
|
50
|
+
a.muted = !0;
|
|
51
|
+
var F = t(a);
|
|
52
|
+
o(a), w(() => {
|
|
53
|
+
i = K(a, 1, "game-placeholder__video", null, i, { "is-ready": W(f) }), R(F, "src", s() || z);
|
|
54
|
+
}), S("canplay", a, () => Y(f, !0)), y(e, a);
|
|
55
|
+
};
|
|
56
|
+
B(x, (e) => {
|
|
57
|
+
l() || e(V);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
var c = v(x, 2), g = t(c), G = t(g, !0);
|
|
61
|
+
o(g);
|
|
62
|
+
var k = v(g, 2), P = t(k, !0);
|
|
63
|
+
o(k), o(c);
|
|
64
|
+
var m = v(c, 2), $ = t(m, !0);
|
|
65
|
+
o(m), o(p), w(
|
|
66
|
+
(e, a, i) => {
|
|
67
|
+
h(G, e), h(P, a), h($, i);
|
|
68
|
+
},
|
|
69
|
+
[
|
|
70
|
+
() => n()("loginTitle"),
|
|
71
|
+
() => n()("loginDescription"),
|
|
72
|
+
() => n()("login")
|
|
73
|
+
]
|
|
74
|
+
), C("click", m, function(...e) {
|
|
75
|
+
d()?.apply(this, e);
|
|
76
|
+
}), y(_, p);
|
|
77
|
+
var q = E(M);
|
|
78
|
+
return j(), q;
|
|
79
|
+
}
|
|
80
|
+
I(["click"]);
|
|
81
|
+
D(ee, { backgroundVideoAsset: {}, liteMode: {}, onLogin: {} }, [], [], { mode: "open" });
|
|
82
|
+
export {
|
|
83
|
+
ee as G
|
|
84
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { d as B, c as C, a as K, p as u, i as P, s as m, m as T, b as k, f as A, l as q, j as E, t as F } from "./WheelOfFortuneWheel-BYEHNHdI.js";
|
|
2
|
+
import { G as I, aO as v, ah as w, L as N, aT as t, aP as Q, aQ as S, aG as f, aR as U, aW as o, a0 as W, au as Y, aM as H } from "./utils-B3aNdyMX.js";
|
|
3
|
+
var J = A('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>', 2), X = A('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');
|
|
4
|
+
const Z = {
|
|
5
|
+
hash: "svelte-1j7eq9g",
|
|
6
|
+
code: " .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;} .game-placeholder__video.is-ready {opacity:1;} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}"
|
|
7
|
+
};
|
|
8
|
+
function ee(_, r) {
|
|
9
|
+
I(r, !0), K(_, Z);
|
|
10
|
+
const i = () => Q(S, "$_", L), [L, z] = U(), M = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", l = u(r, "backgroundVideoAsset", 7, null), n = u(r, "liteMode", 7, !1), d = u(r, "onLogin", 7);
|
|
11
|
+
let x = H(!1);
|
|
12
|
+
var V = {
|
|
13
|
+
get backgroundVideoAsset() {
|
|
14
|
+
return l();
|
|
15
|
+
},
|
|
16
|
+
set backgroundVideoAsset(e = null) {
|
|
17
|
+
l(e), f();
|
|
18
|
+
},
|
|
19
|
+
get liteMode() {
|
|
20
|
+
return n();
|
|
21
|
+
},
|
|
22
|
+
set liteMode(e = !1) {
|
|
23
|
+
n(e), f();
|
|
24
|
+
},
|
|
25
|
+
get onLogin() {
|
|
26
|
+
return d();
|
|
27
|
+
},
|
|
28
|
+
set onLogin(e) {
|
|
29
|
+
d(e), f();
|
|
30
|
+
}
|
|
31
|
+
}, p = X(), h = t(p);
|
|
32
|
+
{
|
|
33
|
+
var G = (e) => {
|
|
34
|
+
var a = J();
|
|
35
|
+
let s;
|
|
36
|
+
a.muted = !0;
|
|
37
|
+
var R = t(a);
|
|
38
|
+
o(a), w(() => {
|
|
39
|
+
s = q(a, 1, "game-placeholder__video", null, s, { "is-ready": W(x) }), E(R, "src", l() || M);
|
|
40
|
+
}), F("canplay", a, () => Y(x, !0)), k(e, a);
|
|
41
|
+
};
|
|
42
|
+
P(h, (e) => {
|
|
43
|
+
n() || e(G);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
var c = v(h, 2), g = t(c), $ = t(g, !0);
|
|
47
|
+
o(g);
|
|
48
|
+
var y = v(g, 2), j = t(y, !0);
|
|
49
|
+
o(y), o(c);
|
|
50
|
+
var b = v(c, 2), D = t(b, !0);
|
|
51
|
+
o(b), o(p), w(
|
|
52
|
+
(e, a, s) => {
|
|
53
|
+
m($, e), m(j, a), m(D, s);
|
|
54
|
+
},
|
|
55
|
+
[
|
|
56
|
+
() => i()("loginTitle"),
|
|
57
|
+
() => i()("loginDescription"),
|
|
58
|
+
() => i()("login")
|
|
59
|
+
]
|
|
60
|
+
), T("click", b, function(...e) {
|
|
61
|
+
var a;
|
|
62
|
+
(a = d()) == null || a.apply(this, e);
|
|
63
|
+
}), k(_, p);
|
|
64
|
+
var O = N(V);
|
|
65
|
+
return z(), O;
|
|
66
|
+
}
|
|
67
|
+
B(["click"]);
|
|
68
|
+
C(ee, { backgroundVideoAsset: {}, liteMode: {}, onLogin: {} }, [], [], { mode: "open" });
|
|
69
|
+
export {
|
|
70
|
+
ee as G
|
|
71
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { d as I, c as D, a as O, p as b, i as R, s as h, m as B, b as y, f as A, l as C, j as K, t as T } from "./WheelOfFortuneWheel-BABzaEBd.js";
|
|
2
|
+
import { G as E, aO as v, ah as w, L as N, aT as t, aP as Q, aQ as S, aG as u, aR as U, aW as o, a0 as W, au as Y, aM as H } from "./utils-BJHloM10.js";
|
|
3
|
+
var J = A('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>', 2), X = A('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');
|
|
4
|
+
const Z = {
|
|
5
|
+
hash: "svelte-1j7eq9g",
|
|
6
|
+
code: ` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
7
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
8
|
+
}
|
|
9
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
10
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
11
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
12
|
+
from {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
19
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
20
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`
|
|
21
|
+
};
|
|
22
|
+
function ee(_, r) {
|
|
23
|
+
E(r, !0), O(_, Z);
|
|
24
|
+
const n = () => Q(S, "$_", L), [L, j] = U(), z = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", s = b(r, "backgroundVideoAsset", 7, null), l = b(r, "liteMode", 7, !1), d = b(r, "onLogin", 7);
|
|
25
|
+
let f = H(!1);
|
|
26
|
+
var M = {
|
|
27
|
+
get backgroundVideoAsset() {
|
|
28
|
+
return s();
|
|
29
|
+
},
|
|
30
|
+
set backgroundVideoAsset(e = null) {
|
|
31
|
+
s(e), u();
|
|
32
|
+
},
|
|
33
|
+
get liteMode() {
|
|
34
|
+
return l();
|
|
35
|
+
},
|
|
36
|
+
set liteMode(e = !1) {
|
|
37
|
+
l(e), u();
|
|
38
|
+
},
|
|
39
|
+
get onLogin() {
|
|
40
|
+
return d();
|
|
41
|
+
},
|
|
42
|
+
set onLogin(e) {
|
|
43
|
+
d(e), u();
|
|
44
|
+
}
|
|
45
|
+
}, p = X(), x = t(p);
|
|
46
|
+
{
|
|
47
|
+
var V = (e) => {
|
|
48
|
+
var a = J();
|
|
49
|
+
let i;
|
|
50
|
+
a.muted = !0;
|
|
51
|
+
var F = t(a);
|
|
52
|
+
o(a), w(() => {
|
|
53
|
+
i = C(a, 1, "game-placeholder__video", null, i, { "is-ready": W(f) }), K(F, "src", s() || z);
|
|
54
|
+
}), T("canplay", a, () => Y(f, !0)), y(e, a);
|
|
55
|
+
};
|
|
56
|
+
R(x, (e) => {
|
|
57
|
+
l() || e(V);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
var c = v(x, 2), g = t(c), G = t(g, !0);
|
|
61
|
+
o(g);
|
|
62
|
+
var k = v(g, 2), P = t(k, !0);
|
|
63
|
+
o(k), o(c);
|
|
64
|
+
var m = v(c, 2), $ = t(m, !0);
|
|
65
|
+
o(m), o(p), w(
|
|
66
|
+
(e, a, i) => {
|
|
67
|
+
h(G, e), h(P, a), h($, i);
|
|
68
|
+
},
|
|
69
|
+
[
|
|
70
|
+
() => n()("loginTitle"),
|
|
71
|
+
() => n()("loginDescription"),
|
|
72
|
+
() => n()("login")
|
|
73
|
+
]
|
|
74
|
+
), B("click", m, function(...e) {
|
|
75
|
+
var a;
|
|
76
|
+
(a = d()) == null || a.apply(this, e);
|
|
77
|
+
}), y(_, p);
|
|
78
|
+
var q = N(M);
|
|
79
|
+
return j(), q;
|
|
80
|
+
}
|
|
81
|
+
I(["click"]);
|
|
82
|
+
D(ee, { backgroundVideoAsset: {}, liteMode: {}, onLogin: {} }, [], [], { mode: "open" });
|
|
83
|
+
export {
|
|
84
|
+
ee as G
|
|
85
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";const t=require("./WheelOfFortuneWheel-BoZ9evN7.cjs"),e=require("./utils-8EFTHKcu.cjs");var V=t.from_html('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>',2),F=t.from_html('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');const M={hash:"svelte-1j7eq9g",code:` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
2
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
3
|
+
}
|
|
4
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
5
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
6
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
7
|
+
from {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
to {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
14
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
15
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`};function v(b,r){e.push(r,!0),t.append_styles(b,M);const n=()=>e.store_get(e.$format,"$_",f),[f,x]=e.setup_stores(),k="https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4",l=t.prop(r,"backgroundVideoAsset",7,null),s=t.prop(r,"liteMode",7,!1),d=t.prop(r,"onLogin",7);let h=e.state(!1);var y={get backgroundVideoAsset(){return l()},set backgroundVideoAsset(a=null){l(a),e.flushSync()},get liteMode(){return s()},set liteMode(a=!1){s(a),e.flushSync()},get onLogin(){return d()},set onLogin(a){d(a),e.flushSync()}},c=F(),u=e.child(c);{var w=a=>{var o=V();let i;o.muted=!0;var z=e.child(o);e.reset(o),e.template_effect(()=>{i=t.set_class(o,1,"game-placeholder__video",null,i,{"is-ready":e.get(h)}),t.set_attribute(z,"src",l()||k)}),t.event("canplay",o,()=>e.set(h,!0)),t.append(a,o)};t.if_block(u,a=>{s()||a(w)})}var p=e.sibling(u,2),g=e.child(p),A=e.child(g,!0);e.reset(g);var _=e.sibling(g,2),L=e.child(_,!0);e.reset(_),e.reset(p);var m=e.sibling(p,2),j=e.child(m,!0);e.reset(m),e.reset(c),e.template_effect((a,o,i)=>{t.set_text(A,a),t.set_text(L,o),t.set_text(j,i)},[()=>n()("loginTitle"),()=>n()("loginDescription"),()=>n()("login")]),t.delegated("click",m,function(...a){d()?.apply(this,a)}),t.append(b,c);var q=e.pop(y);return x(),q}t.delegate(["click"]);t.create_custom_element(v,{backgroundVideoAsset:{},liteMode:{},onLogin:{}},[],[],{mode:"open"});exports.GamePlaceholder=v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./WheelOfFortuneWheel-B4fe-idJ.cjs"),e=require("./utils-Rda5erjI.cjs");var $=t.from_html('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>',2),j=t.from_html('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');const q={hash:"svelte-1j7eq9g",code:" .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;} .game-placeholder__video.is-ready {opacity:1;} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}"};function f(h,r){e.push(r,!0),t.append_styles(h,q);const l=()=>e.store_get(e.$format,"$_",v),[v,x]=e.setup_stores(),y="https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4",n=t.prop(r,"backgroundVideoAsset",7,null),s=t.prop(r,"liteMode",7,!1),c=t.prop(r,"onLogin",7);let _=e.state(!1);var k={get backgroundVideoAsset(){return n()},set backgroundVideoAsset(o=null){n(o),e.flushSync()},get liteMode(){return s()},set liteMode(o=!1){s(o),e.flushSync()},get onLogin(){return c()},set onLogin(o){c(o),e.flushSync()}},d=j(),b=e.child(d);{var w=o=>{var a=$();let i;a.muted=!0;var M=e.child(a);e.reset(a),e.template_effect(()=>{i=t.set_class(a,1,"game-placeholder__video",null,i,{"is-ready":e.get(_)}),t.set_attribute(M,"src",n()||y)}),t.event("canplay",a,()=>e.set(_,!0)),t.append(o,a)};t.if_block(b,o=>{s()||o(w)})}var p=e.sibling(b,2),g=e.child(p),A=e.child(g,!0);e.reset(g);var m=e.sibling(g,2),L=e.child(m,!0);e.reset(m),e.reset(p);var u=e.sibling(p,2),z=e.child(u,!0);e.reset(u),e.reset(d),e.template_effect((o,a,i)=>{t.set_text(A,o),t.set_text(L,a),t.set_text(z,i)},[()=>l()("loginTitle"),()=>l()("loginDescription"),()=>l()("login")]),t.delegated("click",u,function(...o){var a;(a=c())==null||a.apply(this,o)}),t.append(h,d);var V=e.pop(k);return x(),V}t.delegate(["click"]);t.create_custom_element(f,{backgroundVideoAsset:{},liteMode:{},onLogin:{}},[],[],{mode:"open"});exports.GamePlaceholder=f;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";const t=require("./WheelOfFortuneWheel-B4fe-idJ.cjs"),e=require("./utils-Rda5erjI.cjs");var V=t.from_html('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>',2),F=t.from_html('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');const M={hash:"svelte-1j7eq9g",code:` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
2
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
3
|
+
}
|
|
4
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
5
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
6
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
7
|
+
from {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
to {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
14
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
15
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`};function v(b,r){e.push(r,!0),t.append_styles(b,M);const n=()=>e.store_get(e.$format,"$_",f),[f,x]=e.setup_stores(),k="https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4",l=t.prop(r,"backgroundVideoAsset",7,null),s=t.prop(r,"liteMode",7,!1),d=t.prop(r,"onLogin",7);let h=e.state(!1);var y={get backgroundVideoAsset(){return l()},set backgroundVideoAsset(a=null){l(a),e.flushSync()},get liteMode(){return s()},set liteMode(a=!1){s(a),e.flushSync()},get onLogin(){return d()},set onLogin(a){d(a),e.flushSync()}},c=F(),u=e.child(c);{var w=a=>{var o=V();let i;o.muted=!0;var z=e.child(o);e.reset(o),e.template_effect(()=>{i=t.set_class(o,1,"game-placeholder__video",null,i,{"is-ready":e.get(h)}),t.set_attribute(z,"src",l()||k)}),t.event("canplay",o,()=>e.set(h,!0)),t.append(a,o)};t.if_block(u,a=>{s()||a(w)})}var p=e.sibling(u,2),g=e.child(p),A=e.child(g,!0);e.reset(g);var _=e.sibling(g,2),L=e.child(_,!0);e.reset(_),e.reset(p);var m=e.sibling(p,2),j=e.child(m,!0);e.reset(m),e.reset(c),e.template_effect((a,o,i)=>{t.set_text(A,a),t.set_text(L,o),t.set_text(j,i)},[()=>n()("loginTitle"),()=>n()("loginDescription"),()=>n()("login")]),t.delegated("click",m,function(...a){var o;(o=d())==null||o.apply(this,a)}),t.append(b,c);var q=e.pop(y);return x(),q}t.delegate(["click"]);t.create_custom_element(v,{backgroundVideoAsset:{},liteMode:{},onLogin:{}},[],[],{mode:"open"});exports.GamePlaceholder=v;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";const t=require("./WheelOfFortuneWheel-7PqVvd_8.cjs"),e=require("./utils-C1uNHR_J.cjs");var V=t.from_html('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>',2),F=t.from_html('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');const M={hash:"svelte-1j7eq9g",code:` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
2
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
3
|
+
}
|
|
4
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
5
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
6
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
7
|
+
from {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
to {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
14
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
15
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`};function v(b,r){e.push(r,!0),t.append_styles(b,M);const n=()=>e.store_get(e.$format,"$_",f),[f,x]=e.setup_stores(),k="https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4",l=t.prop(r,"backgroundVideoAsset",7,null),s=t.prop(r,"liteMode",7,!1),d=t.prop(r,"onLogin",7);let h=e.state(!1);var y={get backgroundVideoAsset(){return l()},set backgroundVideoAsset(a=null){l(a),e.flushSync()},get liteMode(){return s()},set liteMode(a=!1){s(a),e.flushSync()},get onLogin(){return d()},set onLogin(a){d(a),e.flushSync()}},c=F(),u=e.child(c);{var w=a=>{var o=V();let i;o.muted=!0;var z=e.child(o);e.reset(o),e.template_effect(()=>{i=t.set_class(o,1,"game-placeholder__video",null,i,{"is-ready":e.get(h)}),t.set_attribute(z,"src",l()||k)}),t.event("canplay",o,()=>e.set(h,!0)),t.append(a,o)};t.if_block(u,a=>{s()||a(w)})}var p=e.sibling(u,2),g=e.child(p),A=e.child(g,!0);e.reset(g);var _=e.sibling(g,2),L=e.child(_,!0);e.reset(_),e.reset(p);var m=e.sibling(p,2),j=e.child(m,!0);e.reset(m),e.reset(c),e.template_effect((a,o,i)=>{t.set_text(A,a),t.set_text(L,o),t.set_text(j,i)},[()=>n()("loginTitle"),()=>n()("loginDescription"),()=>n()("login")]),t.delegated("click",m,function(...a){var o;(o=d())==null||o.apply(this,a)}),t.append(b,c);var q=e.pop(y);return x(),q}t.delegate(["click"]);t.create_custom_element(v,{backgroundVideoAsset:{},liteMode:{},onLogin:{}},[],[],{mode:"open"});exports.GamePlaceholder=v;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { d as I, c as D, a as O, p as b, i as R, s as h, m as B, b as y, f as A, l as C, j as K, t as T } from "./WheelOfFortuneWheel-BYEHNHdI.js";
|
|
2
|
+
import { G as E, aO as v, ah as w, L as N, aT as t, aP as Q, aQ as S, aG as u, aR as U, aW as o, a0 as W, au as Y, aM as H } from "./utils-B3aNdyMX.js";
|
|
3
|
+
var J = A('<video autoplay="" loop="" playsinline=""><source type="video/mp4"/></video>', 2), X = A('<div class="game-placeholder"><!> <div class="game-placeholder__badge"><p class="game-placeholder__badge-title"> </p> <p class="game-placeholder__badge-body"> </p></div> <button class="game-placeholder__cta" type="button"> </button></div>');
|
|
4
|
+
const Z = {
|
|
5
|
+
hash: "svelte-1j7eq9g",
|
|
6
|
+
code: ` .game-placeholder {position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:100%;padding:40px 16px;overflow:hidden;} .game-placeholder__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
7
|
+
@media (max-width: 719px) { .game-placeholder__video {-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);}
|
|
8
|
+
}
|
|
9
|
+
@media (min-width: 720px) { .game-placeholder__video {-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);}
|
|
10
|
+
} .game-placeholder__video.is-ready {opacity:0.6;}
|
|
11
|
+
@keyframes svelte-1j7eq9g-gamePlaceholderFadeIn {
|
|
12
|
+
from {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
} .game-placeholder__badge {position:relative;z-index:2;max-width:320px;padding:14px 18px;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;
|
|
19
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 500ms ease-out both;} .game-placeholder__badge-title {margin:0;color:#ffffff;font-size:14px;font-weight:700;letter-spacing:0.2px;} .game-placeholder__badge-body {margin:6px 0 0;color:rgba(255, 255, 255, 0.6509803922);font-size:12px;line-height:1.45;} .game-placeholder__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;
|
|
20
|
+
animation: svelte-1j7eq9g-gamePlaceholderFadeIn 220ms ease-out 80ms both;transition:transform 160ms ease, filter 160ms ease;} .game-placeholder__cta:active {transform:translateY(2px) scale(0.98);}`
|
|
21
|
+
};
|
|
22
|
+
function ee(_, r) {
|
|
23
|
+
E(r, !0), O(_, Z);
|
|
24
|
+
const n = () => Q(S, "$_", L), [L, j] = U(), z = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", s = b(r, "backgroundVideoAsset", 7, null), l = b(r, "liteMode", 7, !1), d = b(r, "onLogin", 7);
|
|
25
|
+
let f = H(!1);
|
|
26
|
+
var M = {
|
|
27
|
+
get backgroundVideoAsset() {
|
|
28
|
+
return s();
|
|
29
|
+
},
|
|
30
|
+
set backgroundVideoAsset(e = null) {
|
|
31
|
+
s(e), u();
|
|
32
|
+
},
|
|
33
|
+
get liteMode() {
|
|
34
|
+
return l();
|
|
35
|
+
},
|
|
36
|
+
set liteMode(e = !1) {
|
|
37
|
+
l(e), u();
|
|
38
|
+
},
|
|
39
|
+
get onLogin() {
|
|
40
|
+
return d();
|
|
41
|
+
},
|
|
42
|
+
set onLogin(e) {
|
|
43
|
+
d(e), u();
|
|
44
|
+
}
|
|
45
|
+
}, p = X(), x = t(p);
|
|
46
|
+
{
|
|
47
|
+
var V = (e) => {
|
|
48
|
+
var a = J();
|
|
49
|
+
let i;
|
|
50
|
+
a.muted = !0;
|
|
51
|
+
var F = t(a);
|
|
52
|
+
o(a), w(() => {
|
|
53
|
+
i = C(a, 1, "game-placeholder__video", null, i, { "is-ready": W(f) }), K(F, "src", s() || z);
|
|
54
|
+
}), T("canplay", a, () => Y(f, !0)), y(e, a);
|
|
55
|
+
};
|
|
56
|
+
R(x, (e) => {
|
|
57
|
+
l() || e(V);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
var c = v(x, 2), g = t(c), G = t(g, !0);
|
|
61
|
+
o(g);
|
|
62
|
+
var k = v(g, 2), P = t(k, !0);
|
|
63
|
+
o(k), o(c);
|
|
64
|
+
var m = v(c, 2), $ = t(m, !0);
|
|
65
|
+
o(m), o(p), w(
|
|
66
|
+
(e, a, i) => {
|
|
67
|
+
h(G, e), h(P, a), h($, i);
|
|
68
|
+
},
|
|
69
|
+
[
|
|
70
|
+
() => n()("loginTitle"),
|
|
71
|
+
() => n()("loginDescription"),
|
|
72
|
+
() => n()("login")
|
|
73
|
+
]
|
|
74
|
+
), B("click", m, function(...e) {
|
|
75
|
+
var a;
|
|
76
|
+
(a = d()) == null || a.apply(this, e);
|
|
77
|
+
}), y(_, p);
|
|
78
|
+
var q = N(M);
|
|
79
|
+
return j(), q;
|
|
80
|
+
}
|
|
81
|
+
I(["click"]);
|
|
82
|
+
D(ee, { backgroundVideoAsset: {}, liteMode: {}, onLogin: {} }, [], [], { mode: "open" });
|
|
83
|
+
export {
|
|
84
|
+
ee as G
|
|
85
|
+
};
|