@everymatrix/prize-engine-suite 0.2.1 → 0.2.2

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 (30) hide show
  1. package/components/{PrizeEngineChest-GXdgeyZ5.cjs → PrizeEngineChest-BybqC-Ws.cjs} +1 -1
  2. package/components/{PrizeEngineChest-AVo42VZz.js → PrizeEngineChest-D20kYcZH.js} +1 -1
  3. package/components/{PrizeEngineChest-B5BmBCIt.js → PrizeEngineChest-DKa6fL7q.js} +1 -1
  4. package/components/{PrizeEngineCoin-aqYmcKcL.js → PrizeEngineCoin-CSaqP476.js} +1 -1
  5. package/components/{PrizeEngineCoin-Q4ufN4we.cjs → PrizeEngineCoin-CzoBvtUZ.cjs} +1 -1
  6. package/components/{PrizeEngineCoin-DJXsY_er.js → PrizeEngineCoin-DB2SNbBm.js} +1 -1
  7. package/components/{PrizeEngineDetails-B_KZnLHK.cjs → PrizeEngineDetails-BiMOwXoS.cjs} +1 -1
  8. package/components/{PrizeEngineDetails-D0KPqHgs.js → PrizeEngineDetails-CG0d2Hah.js} +472 -462
  9. package/components/{PrizeEngineDetails-CC4NGImx.js → PrizeEngineDetails-VmCA-ii3.js} +497 -486
  10. package/components/{PrizeEngineHistory-CP_AxFGK.js → PrizeEngineHistory-BOCXY1d8.js} +1 -1
  11. package/components/{PrizeEngineHistory-DRIoEqxH.cjs → PrizeEngineHistory-CpqBVhuK.cjs} +1 -1
  12. package/components/{PrizeEngineHistory-SMuPePKk.js → PrizeEngineHistory-DiG9cF-i.js} +1 -1
  13. package/components/{PrizeEngineList-D56vN71m.js → PrizeEngineList-Bj7B5I06.js} +126 -126
  14. package/components/{PrizeEngineList-Bh3zg5Q4.js → PrizeEngineList-CEPBy1pL.js} +98 -98
  15. package/components/PrizeEngineList-PbPXVBKB.cjs +1 -0
  16. package/components/{PrizeEngineLuckywheel-CEhXCzdp.js → PrizeEngineLuckywheel-0WYMdzvz.js} +2 -2
  17. package/components/{PrizeEngineLuckywheel-B1pFc4g5.cjs → PrizeEngineLuckywheel-BfxXt7Qu.cjs} +1 -1
  18. package/components/{PrizeEngineLuckywheel-DyImGdI2.js → PrizeEngineLuckywheel-Cb5REWSh.js} +2 -2
  19. package/components/{PrizeEngineSuite-D-WdGZeC.js → PrizeEngineSuite-3vlUEft1.js} +1125 -1117
  20. package/components/PrizeEngineSuite-Bqyhzjny.cjs +23 -0
  21. package/components/{PrizeEngineSuite-S74tK2VQ.js → PrizeEngineSuite-DJUx6dHj.js} +1153 -1145
  22. package/components/{WheelSVG-DCdlR6xu.js → WheelSVG-5WuLAqeO.js} +1 -1
  23. package/components/{WheelSVG-BH9dZIAq.cjs → WheelSVG-Bld5t5mO.cjs} +1 -1
  24. package/components/{WheelSVG-BjPdsjM7.js → WheelSVG-IokoeQGs.js} +1 -1
  25. package/es2015/prize-engine-suite.cjs +1 -1
  26. package/es2015/prize-engine-suite.js +1 -1
  27. package/esnext/prize-engine-suite.js +1 -1
  28. package/package.json +1 -1
  29. package/components/PrizeEngineList-DP7PMvr5.cjs +0 -1
  30. package/components/PrizeEngineSuite-qBeOx87h.cjs +0 -23
@@ -1,33 +1,33 @@
1
1
  var ee = Object.defineProperty;
2
- var G = Object.getOwnPropertySymbols;
2
+ var V = Object.getOwnPropertySymbols;
3
3
  var te = Object.prototype.hasOwnProperty, le = Object.prototype.propertyIsEnumerable;
4
- var V = (l, e, t) => e in l ? ee(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, Y = (l, e) => {
4
+ var Y = (l, e, t) => e in l ? ee(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, P = (l, e) => {
5
5
  for (var t in e || (e = {}))
6
- te.call(e, t) && V(l, t, e[t]);
7
- if (G)
8
- for (var t of G(e))
9
- le.call(e, t) && V(l, t, e[t]);
6
+ te.call(e, t) && Y(l, t, e[t]);
7
+ if (V)
8
+ for (var t of V(e))
9
+ le.call(e, t) && Y(l, t, e[t]);
10
10
  return l;
11
11
  };
12
- var D = (l, e, t) => new Promise((r, n) => {
12
+ var W = (l, e, t) => new Promise((r, n) => {
13
13
  var s = (c) => {
14
14
  try {
15
15
  a(t.next(c));
16
- } catch (w) {
17
- n(w);
16
+ } catch (v) {
17
+ n(v);
18
18
  }
19
19
  }, i = (c) => {
20
20
  try {
21
21
  a(t.throw(c));
22
- } catch (w) {
23
- n(w);
22
+ } catch (v) {
23
+ n(v);
24
24
  }
25
25
  }, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, i);
26
26
  a((t = t.apply(l, e)).next());
27
27
  });
28
- import { $ as N, a as re, b as ne, S as ie, i as se, s as oe, f as x, c as ae, n as O, d as j, e as ce, g as de, B as ue, h as L, j as d, k as g, l as u, t as X, m as ge, o as pe, p as he, q as me, r as H, u as q, w as E, x as F, Q as P, L as fe, y as I, C as ve, D as we, E as be, F as Ce, G as ye } from "./PrizeEngineSuite-S74tK2VQ.js";
28
+ import { $ as H, a as re, b as ne, S as ie, i as se, s as oe, f as j, c as ae, n as G, d as _, e as ce, g as de, B as ue, h as A, j as d, k as g, l as u, t as q, m as ge, o as me, p as fe, q as he, r as O, u as J, w as U, x as N, A as R, L as pe, y as M, C as ve, D as we, E as Ce, F as be, G as ye } from "./PrizeEngineSuite-DJUx6dHj.js";
29
29
  import "../stencil/ui-skeleton-xXZA3rYO.js";
30
- const R = {
30
+ const Z = {
31
31
  en: {
32
32
  Title: "Prize Games",
33
33
  RemainingTimes: "Remaining Times",
@@ -41,26 +41,26 @@ const R = {
41
41
  }
42
42
  };
43
43
  function ke({ withLocale: l, translations: e }) {
44
- N.subscribe((t) => {
45
- t == null && (re.set(e), N.set(l));
44
+ H.subscribe((t) => {
45
+ t == null && (re.set(e), H.set(l));
46
46
  });
47
47
  }
48
- function J(l, e) {
48
+ function $(l, e) {
49
49
  ne(l, e);
50
50
  }
51
51
  function xe(l) {
52
- N.set(l);
52
+ H.set(l);
53
53
  }
54
54
  const je = () => {
55
- ke({ withLocale: "en", translations: {} }), Object.keys(R).forEach((l) => {
56
- J(l, R[l]);
55
+ ke({ withLocale: "en", translations: {} }), Object.keys(Z).forEach((l) => {
56
+ $(l, Z[l]);
57
57
  });
58
- }, Le = (r) => D(void 0, [r], function* ({ endpoint: l, session: e, types: t }) {
58
+ }, Le = (r) => W(void 0, [r], function* ({ endpoint: l, session: e, types: t }) {
59
59
  const n = new URL(`${l}/v1/wof/lotteries`);
60
60
  t && t.length > 0 && t.forEach((i) => n.searchParams.append("filter", `Types[]=${i}`));
61
61
  const s = yield fetch(n.toString(), {
62
62
  method: "GET",
63
- headers: Y({
63
+ headers: P({
64
64
  "Content-Type": "application/json",
65
65
  Accept: "text/plain"
66
66
  }, e ? { "x-SessionId": e } : {})
@@ -69,19 +69,19 @@ const je = () => {
69
69
  throw new Error(`Failed to fetch lotteries: ${s.statusText}`);
70
70
  return s.json();
71
71
  }), _e = {
72
- lotteries: (l, e, t) => D(void 0, null, function* () {
72
+ lotteries: (l, e, t) => W(void 0, null, function* () {
73
73
  const r = yield Le({ endpoint: l, session: e, types: t });
74
74
  return (r == null ? void 0 : r.items) || [];
75
75
  })
76
76
  }, Ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAABCcAAAQnAEmzTo0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMVSURBVHgBbVTNThNRGD3fnSmYYNLizhVl4ZriC9AhcUFcWDYmbsQuiCsT0aioJJRogrJhacJC0MSwMsALMIUHsDQxYSeDCVspiWA7befz3Jm2AnGSm7k/3+85517Bf75F9fMOoikXjTzHkIO6OAgrnFcdNLaK8mjzso+cX5S0kk2h9ZHGeUNnOtY4MlzDRVjjP801DBpBG83xorwMur6mO3ml33MCqSg0r4h2Beo9kduDCtDYHDyUKc5lPAI+03z4CvTbFy3lLgSa1f2sC9dngWk6HjbQLjyTW+VOyb2qp2W6LGg95rRGu0EX2F7X2WwvkEG/z0oyHCesJNuHlF9SP2PPNA6hcbBVXeWeTQh7FgiiwRS344Sv9ehOhMami+aag7MZ/n3iMGLQrKZw4hloxUFTB3B2k7j4BD5HvPZa+O0NoL1BEsYitMdNC1qQOLP5VJLRWgunHtdVZssp+ivEbYhVDocwv2hGTEzQguMVpVSL+WExKeh9kxxK7a3ciDEpicdgraLGTant3zoEBHm30+NQF7O78mbHQI6ZKC/P9UjdmN7mgYM/pDxU0svew7QgXHgqEwvW6YOuUhoh2w6HDMJD6+PEo06iQvp3ACXl5p+4RJN9rXaDGBjLKiuUAIh6NCQfhcGKWEkzvSjZa93t97pbYFYC2ThwUd/heYGZM8wcOEiNFqVY69p+1RfHBDww7K9saZzT/XxH3ZkIMt+xGya4U8yYkViYFrNTf1WXY2ms6xx9lNqTPWPgrHFCEJ15G4RZfbY2wsL3BIaB9CfPgz7oKH33OEZctBmsxKsjUzxjDnfLLMp1Iq87QDtPx4plMSI2Z6R4RiaCJAlg23HQ5zFwlUlyV5D6Qck8YNJgUpY2Y4BTkCI3KHvN8n8c4qpnZYCeqhPwE2xangWccA/y7JgBvN4VKclwYBKD+A7143R5SbfHOhxq94qs6Ar33A3ECVFjB+OT8i5ImD73LfIZiXgNqKMsWeo+HZlEJ3XOwzTX9nkpU3fFe+eekQuBLtFfsHeOziNO/DaRYkqB/zU+bOXLPn8BG6xnv5+RMCQAAAAASUVORK5CYII=", Ie = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Me = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.1978%2013.2348C12.1978%209.60751%2015.1383%206.66699%2018.7656%206.66699C22.3929%206.66699%2025.3334%209.60751%2025.3334%2013.2348C25.3334%2016.8621%2022.3929%2019.8026%2018.7656%2019.8026C18.467%2019.8026%2018.1725%2019.7826%2017.8835%2019.7438C17.6825%2019.7168%2017.557%2019.7001%2017.4658%2019.6909C17.4218%2019.7326%2017.3626%2019.7916%2017.2673%2019.8869L12.5565%2024.5977C12.5457%2024.6085%2012.5344%2024.6198%2012.5229%2024.6315C12.4009%2024.7542%2012.2356%2024.9205%2012.0329%2025.0448C11.8576%2025.1522%2011.6665%2025.2313%2011.4666%2025.2793C11.2354%2025.3348%2011.001%2025.3341%2010.8279%2025.3335C10.8115%2025.3335%2010.7956%2025.3334%2010.7803%2025.3334L9.14719%2025.3334C8.91663%2025.3335%208.68571%2025.3335%208.48899%2025.3174C8.27114%2025.2996%208.00565%2025.2571%207.7365%2025.1199C7.36793%2024.9321%207.06826%2024.6325%206.88046%2024.2639C6.74332%2023.9948%206.70076%2023.7293%206.68297%2023.5114C6.66689%2023.3147%206.66693%2023.0838%206.66696%2022.8532L6.66696%2021.2201C6.66696%2021.2049%206.66691%2021.189%206.66686%2021.1725C6.66631%2020.9994%206.66557%2020.765%206.72109%2020.5338C6.76907%2020.3339%206.84822%2020.1428%206.95562%2019.9676C7.07986%2019.7648%207.24617%2019.5995%207.36894%2019.4776C7.3806%2019.466%207.39188%2019.4548%207.40268%2019.4439L12.1135%2014.7331C12.2088%2014.6378%2012.2678%2014.5786%2012.3095%2014.5346C12.3003%2014.4434%2012.2836%2014.3179%2012.2566%2014.1169C12.2178%2013.8279%2012.1978%2013.5334%2012.1978%2013.2348ZM18.7656%208.74104C16.2837%208.74104%2014.2718%2010.753%2014.2718%2013.2348C14.2718%2013.4408%2014.2856%2013.6429%2014.3122%2013.8406L14.3146%2013.8585C14.3394%2014.0432%2014.3618%2014.2097%2014.3749%2014.3451C14.3874%2014.4747%2014.4011%2014.6598%2014.3736%2014.8525C14.3367%2015.1105%2014.2715%2015.3033%2014.1443%2015.5308C14.0078%2015.7751%2013.7931%2015.9881%2013.629%2016.151C13.6121%2016.1678%2013.5958%2016.184%2013.5801%2016.1997L8.86926%2020.9105C8.82845%2020.9513%208.79718%2020.9826%208.77036%2021.0099C8.75929%2021.0212%208.74992%2021.0308%208.74194%2021.0392C8.7417%2021.0507%208.74151%2021.0641%208.74137%2021.0799C8.74102%2021.1182%208.74101%2021.1624%208.74101%2021.2201V22.8215C8.74101%2023.0268%208.74146%2023.1591%208.74514%2023.2553C8.84132%2023.2589%208.97362%2023.2594%209.17887%2023.2594H10.7803C10.838%2023.2594%2010.8822%2023.2594%2010.9205%2023.259C10.9363%2023.2589%2010.9497%2023.2587%2010.9613%2023.2585C10.9696%2023.2505%2010.9792%2023.2411%2010.9905%2023.2301C11.0178%2023.2032%2011.0491%2023.172%2011.0899%2023.1312L15.8007%2018.4203C15.8164%2018.4046%2015.8327%2018.3883%2015.8494%2018.3714C16.0123%2018.2073%2016.2253%2017.9926%2016.4696%2017.8561C16.6971%2017.7289%2016.8899%2017.6638%2017.1479%2017.6268C17.3406%2017.5993%2017.5257%2017.613%2017.6553%2017.6255C17.7907%2017.6386%2017.9572%2017.661%2018.1419%2017.6858L18.1598%2017.6882C18.3575%2017.7148%2018.5597%2017.7286%2018.7656%2017.7286C21.2474%2017.7286%2023.2594%2015.7167%2023.2594%2013.2348C23.2594%2010.753%2021.2474%208.74104%2018.7656%208.74104ZM17.7286%2013.2348C17.7286%2012.6621%2018.1929%2012.1978%2018.7656%2012.1978H18.7748C19.3475%2012.1978%2019.8118%2012.6621%2019.8118%2013.2348C19.8118%2013.8076%2019.3475%2014.2718%2018.7748%2014.2718H18.7656C18.1929%2014.2718%2017.7286%2013.8076%2017.7286%2013.2348Z'%20fill='url(%23paint0_linear_714_605)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_714_605'%20x1='6.66675'%20y1='16.0003'%20x2='25.3334'%20y2='16.0003'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
77
- function Se(l) {
78
- ae(l, "svelte-ljc7r7", `:host{display:block;height:100%;flex-grow:1}.PrizeListContent.svelte-ljc7r7.svelte-ljc7r7{width:100%;height:100%;display:flex;flex-direction:column;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7{flex-grow:1;overflow-y:auto}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar{width:4px}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar-thumb{background:var(--emw--color-gray-105, #1b2e31);border-radius:2px}.LuckyWheelList.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;list-style:none}.LuckyWheelListItem.svelte-ljc7r7.svelte-ljc7r7{width:100%}.ItemButton.svelte-ljc7r7.svelte-ljc7r7{padding:16px;border-radius:16px;border:1px solid var(--emw--color-teal-10, rgba(117, 255, 233, 0.1019607843));color:var(--emw--color-primary, #d3ffed);width:100%;height:110px;display:flex;flex-direction:column;justify-content:center;gap:8px;box-sizing:border-box;cursor:pointer;text-align:left;transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1);background:var(--emw--color-teal-05, rgba(117, 255, 233, 0.0509803922));position:relative}.ItemButton.svelte-ljc7r7.svelte-ljc7r7:hover,.ItemButton.svelte-ljc7r7.svelte-ljc7r7:active{background:var(--emw--color-teal-08, rgba(117, 255, 233, 0.0784313725));border:1px solid transparent;background-image:linear-gradient(var(--emw--color-background, #213841), var(--emw--color-background, #213841)), linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);background-origin:border-box;background-clip:padding-box, border-box}.ItemButton.svelte-ljc7r7:hover .IconButton.Chevron.svelte-ljc7r7,.ItemButton.svelte-ljc7r7:active .IconButton.Chevron.svelte-ljc7r7{background-color:var(--emw--color-green, #b2ff6d);background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%230C1A1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');border-radius:50%}.ItemTitleRow.svelte-ljc7r7.svelte-ljc7r7{display:flex;justify-content:space-between;align-items:center;width:100%}.ItemTitle.svelte-ljc7r7.svelte-ljc7r7{font-weight:700;font-size:var(--emw--font-size-medium-plus, 18px);background:linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ItemDetails.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:12px;align-items:center}.ItemKeys.svelte-ljc7r7.svelte-ljc7r7,.ItemValidity.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:4px;align-items:center;font-size:14px;font-weight:400;color:var(--emw--color-secondary-variant, #729787)}.ItemKeys.svelte-ljc7r7 span.svelte-ljc7r7:last-child,.ItemValidity.svelte-ljc7r7 span.svelte-ljc7r7:last-child{color:var(--emw--color-primary, #d3ffed)}.SmallIcon.svelte-ljc7r7.svelte-ljc7r7{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--emw--color-secondary-variant, #729787);flex-shrink:0}.SmallIcon.Wheel.svelte-ljc7r7.svelte-ljc7r7{background-position:center;background-repeat:no-repeat;background-size:16px 16px;width:16px;height:16px}.IconButton.Chevron.svelte-ljc7r7.svelte-ljc7r7{width:30px;height:30px;border:0;cursor:pointer;background-color:transparent;background:center/18px 18px url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.LoaderWrap.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;width:100%}.LoaderWrap.svelte-ljc7r7 .Skeleton{border-radius:var(--emw--border-radius-small, 12px);--emw-skeleton-primary-color:var(--emw--color-primary, #d9d9d9);--emw-skeleton-secondary-color:var(--emw--color-secondary, #999999)}.LoaderWrap.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:var(--emw--border-radius-large, 28px);display:flex;padding:45px 48px;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);justify-content:space-between;line-height:35px;overflow:hidden;margin-bottom:24px}.LoaderWrap.Mobile.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:16px;padding:25px 20px;line-height:15px}.LoaderWrap.Mobile.svelte-ljc7r7 .Skeleton.SkeletonText{width:135px}.EmptyState.svelte-ljc7r7.svelte-ljc7r7{width:100%;display:flex;flex-direction:column;color:var(--emw--color-secondary-variant, #a9ccbe);font-size:var(--emw--font-size-medium, 16px);align-items:center;justify-content:center;height:200px}.Mobile.svelte-ljc7r7 .ItemButton.svelte-ljc7r7{height:72px;padding:16px 20px;border-radius:16px}.Mobile.svelte-ljc7r7 .ItemButton .ItemTitle.svelte-ljc7r7{font-size:var(--emw--font-size-medium, 16px)}.Mobile.svelte-ljc7r7 .ItemButton .ItemDetails.svelte-ljc7r7{font-size:var(--emw--font-size-x-small, 12px)}.Mobile.svelte-ljc7r7 .IconButton.Chevron.svelte-ljc7r7{width:24px;height:24px;background-size:14px 14px}.Mobile.svelte-ljc7r7 .SmallIcon.Wheel.svelte-ljc7r7{background-size:14px 14px;width:14px;height:14px}`);
77
+ function Be(l) {
78
+ ae(l, "svelte-ljc7r7", `:host{display:block;height:100%;flex-grow:1}.PrizeListContent.svelte-ljc7r7.svelte-ljc7r7{width:100%;height:100%;display:flex;flex-direction:column;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7{flex-grow:1;overflow-y:auto}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar{width:4px}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar-thumb{background:var(--emw--color-gray-105, #1b2e31);border-radius:2px}.LuckyWheelList.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;list-style:none}.LuckyWheelListItem.svelte-ljc7r7.svelte-ljc7r7{width:100%}.ItemButton.svelte-ljc7r7.svelte-ljc7r7{padding:16px;border-radius:16px;border:1px solid var(--emw--color-teal-10, rgba(117, 255, 233, 0.1019607843));color:var(--emw--color-primary, #d3ffed);width:100%;height:110px;display:flex;flex-direction:column;justify-content:center;gap:8px;box-sizing:border-box;cursor:pointer;text-align:left;transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1);background:var(--emw--color-teal-05, rgba(117, 255, 233, 0.0509803922));position:relative}.ItemButton.svelte-ljc7r7.svelte-ljc7r7:hover,.ItemButton.svelte-ljc7r7.svelte-ljc7r7:active{background:var(--emw--color-teal-08, rgba(117, 255, 233, 0.0784313725));border:1px solid transparent;background-image:linear-gradient(var(--emw--color-background, #213841), var(--emw--color-background, #213841)), linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);background-origin:border-box;background-clip:padding-box, border-box}.ItemButton.svelte-ljc7r7:hover .IconButton.Chevron.svelte-ljc7r7,.ItemButton.svelte-ljc7r7:active .IconButton.Chevron.svelte-ljc7r7{background-color:var(--emw--color-green, #b2ff6d);background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%230C1A1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');border-radius:50%}.ItemTitleRow.svelte-ljc7r7.svelte-ljc7r7{display:flex;justify-content:space-between;align-items:center;width:100%}.ItemTitle.svelte-ljc7r7.svelte-ljc7r7{font-weight:700;font-size:var(--emw--font-size-medium-plus, 18px);background:linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ItemDetails.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:12px;align-items:center}.ItemKeys.svelte-ljc7r7.svelte-ljc7r7,.ItemValidity.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:4px;align-items:center;font-size:14px;font-weight:400;color:var(--emw--color-secondary-variant, #729787)}.ItemKeys.svelte-ljc7r7 span.svelte-ljc7r7:last-child,.ItemValidity.svelte-ljc7r7 span.svelte-ljc7r7:last-child{color:var(--emw--color-primary, #d3ffed)}.SmallIcon.svelte-ljc7r7.svelte-ljc7r7{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--emw--color-secondary-variant, #729787);flex-shrink:0}.IconButton.Chevron.svelte-ljc7r7.svelte-ljc7r7{width:30px;height:30px;border:0;cursor:pointer;background-color:transparent;background:center/18px 18px url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.LoaderWrap.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;width:100%}.LoaderWrap.svelte-ljc7r7 .Skeleton{border-radius:var(--emw--border-radius-small, 12px);--emw-skeleton-primary-color:var(--emw--color-primary, #d9d9d9);--emw-skeleton-secondary-color:var(--emw--color-secondary, #999999)}.LoaderWrap.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:var(--emw--border-radius-large, 28px);display:flex;padding:45px 48px;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);justify-content:space-between;line-height:35px;overflow:hidden;margin-bottom:24px}.LoaderWrap.Mobile.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:16px;padding:25px 20px;line-height:15px}.LoaderWrap.Mobile.svelte-ljc7r7 .Skeleton.SkeletonText{width:135px}.EmptyState.svelte-ljc7r7.svelte-ljc7r7{width:100%;display:flex;flex-direction:column;color:var(--emw--color-secondary-variant, #a9ccbe);font-size:var(--emw--font-size-medium, 16px);align-items:center;justify-content:center;height:200px}.Mobile.svelte-ljc7r7 .ItemButton.svelte-ljc7r7{height:72px;padding:16px 20px;border-radius:16px}.Mobile.svelte-ljc7r7 .ItemButton .ItemTitle.svelte-ljc7r7{font-size:var(--emw--font-size-medium, 16px)}.Mobile.svelte-ljc7r7 .ItemButton .ItemDetails.svelte-ljc7r7{font-size:var(--emw--font-size-x-small, 12px)}.Mobile.svelte-ljc7r7 .IconButton.Chevron.svelte-ljc7r7{width:24px;height:24px;background-size:14px 14px}`);
79
79
  }
80
- function Z(l, e, t) {
80
+ function Q(l, e, t) {
81
81
  const r = l.slice();
82
82
  return r[23] = e[t], r;
83
83
  }
84
- function Be(l, e, t) {
84
+ function Se(l, e, t) {
85
85
  const r = l.slice();
86
86
  return r[20] = e[t], r;
87
87
  }
@@ -92,28 +92,28 @@ function Te(l) {
92
92
  ), n;
93
93
  return {
94
94
  c() {
95
- e = g("div"), t = g("p"), n = F(r), u(e, "class", "EmptyState svelte-ljc7r7");
95
+ e = g("div"), t = g("p"), n = N(r), u(e, "class", "EmptyState svelte-ljc7r7");
96
96
  },
97
97
  m(s, i) {
98
- L(s, e, i), d(e, t), d(t, n);
98
+ A(s, e, i), d(e, t), d(t, n);
99
99
  },
100
100
  p(s, i) {
101
101
  i & /*$_*/
102
102
  32 && r !== (r = /*$_*/
103
- s[5]("NoContent") + "") && E(n, r);
103
+ s[5]("NoContent") + "") && U(n, r);
104
104
  },
105
105
  d(s) {
106
- s && j(e);
106
+ s && _(e);
107
107
  }
108
108
  };
109
109
  }
110
110
  function ze(l) {
111
- let e, t = H(
111
+ let e, t = O(
112
112
  /*programs*/
113
113
  l[3]
114
114
  ), r = [];
115
115
  for (let n = 0; n < t.length; n += 1)
116
- r[n] = K(Z(l, t, n));
116
+ r[n] = X(Q(l, t, n));
117
117
  return {
118
118
  c() {
119
119
  e = g("ul");
@@ -122,21 +122,21 @@ function ze(l) {
122
122
  u(e, "class", "LuckyWheelList svelte-ljc7r7");
123
123
  },
124
124
  m(n, s) {
125
- L(n, e, s);
125
+ A(n, e, s);
126
126
  for (let i = 0; i < r.length; i += 1)
127
127
  r[i] && r[i].m(e, null);
128
128
  },
129
129
  p(n, s) {
130
130
  if (s & /*openGame, programs, formatValidity, dynamicIcon, lang*/
131
131
  409) {
132
- t = H(
132
+ t = O(
133
133
  /*programs*/
134
134
  n[3]
135
135
  );
136
136
  let i;
137
137
  for (i = 0; i < t.length; i += 1) {
138
- const a = Z(n, t, i);
139
- r[i] ? r[i].p(a, s) : (r[i] = K(a), r[i].c(), r[i].m(e, null));
138
+ const a = Q(n, t, i);
139
+ r[i] ? r[i].p(a, s) : (r[i] = X(a), r[i].c(), r[i].m(e, null));
140
140
  }
141
141
  for (; i < r.length; i += 1)
142
142
  r[i].d(1);
@@ -144,20 +144,20 @@ function ze(l) {
144
144
  }
145
145
  },
146
146
  d(n) {
147
- n && j(e), q(r, n);
147
+ n && _(e), J(r, n);
148
148
  }
149
149
  };
150
150
  }
151
- function We(l) {
152
- let e, t = H([1, 2, 3, 4, 5]), r = [];
151
+ function De(l) {
152
+ let e, t = O([1, 2, 3, 4, 5]), r = [];
153
153
  for (let n = 0; n < 5; n += 1)
154
- r[n] = De(Be(l, t, n));
154
+ r[n] = Ee(Se(l, t, n));
155
155
  return {
156
156
  c() {
157
157
  e = g("div");
158
158
  for (let n = 0; n < 5; n += 1)
159
159
  r[n].c();
160
- u(e, "class", "LoaderWrap svelte-ljc7r7"), X(
160
+ u(e, "class", "LoaderWrap svelte-ljc7r7"), q(
161
161
  e,
162
162
  "Mobile",
163
163
  /*mobileView*/
@@ -165,17 +165,17 @@ function We(l) {
165
165
  );
166
166
  },
167
167
  m(n, s) {
168
- L(n, e, s);
168
+ A(n, e, s);
169
169
  for (let i = 0; i < 5; i += 1)
170
170
  r[i] && r[i].m(e, null);
171
171
  },
172
- p: O,
172
+ p: G,
173
173
  d(n) {
174
- n && j(e), q(r, n);
174
+ n && _(e), J(r, n);
175
175
  }
176
176
  };
177
177
  }
178
- function Q(l) {
178
+ function K(l) {
179
179
  let e, t, r, n, s = (
180
180
  /*formatValidity*/
181
181
  l[7](
@@ -185,10 +185,10 @@ function Q(l) {
185
185
  ), i;
186
186
  return {
187
187
  c() {
188
- e = g("div"), t = g("span"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="14" r="7" stroke="currentColor" stroke-width="1.5"></circle><path d="M12 11V14L14 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 4V7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 4H15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 7L18 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 7L6 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>', r = I(), n = g("span"), i = F(s), u(t, "class", "SmallIcon Timer svelte-ljc7r7"), u(n, "class", "svelte-ljc7r7"), u(e, "class", "ItemValidity svelte-ljc7r7");
188
+ e = g("div"), t = g("span"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="14" r="7" stroke="currentColor" stroke-width="1.5"></circle><path d="M12 11V14L14 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 4V7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 4H15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 7L18 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 7L6 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>', r = M(), n = g("span"), i = N(s), u(t, "class", "SmallIcon Timer svelte-ljc7r7"), u(n, "class", "svelte-ljc7r7"), u(e, "class", "ItemValidity svelte-ljc7r7");
189
189
  },
190
190
  m(a, c) {
191
- L(a, e, c), d(e, t), d(e, r), d(e, n), d(n, i);
191
+ A(a, e, c), d(e, t), d(e, r), d(e, n), d(n, i);
192
192
  },
193
193
  p(a, c) {
194
194
  c & /*programs*/
@@ -196,15 +196,15 @@ function Q(l) {
196
196
  a[7](
197
197
  /*program*/
198
198
  a[23].current.expiryTime
199
- ) + "") && E(i, s);
199
+ ) + "") && U(i, s);
200
200
  },
201
201
  d(a) {
202
- a && j(e);
202
+ a && _(e);
203
203
  }
204
204
  };
205
205
  }
206
- function K(l) {
207
- var o, C;
206
+ function X(l) {
207
+ var C, b;
208
208
  let e, t, r, n, s = (
209
209
  /*program*/
210
210
  (l[23].program.name[
@@ -212,14 +212,14 @@ function K(l) {
212
212
  l[0]
213
213
  ] || /*program*/
214
214
  l[23].program.name["*"] || "Unknown Game") + ""
215
- ), i, a, c, w, m, b, f, v, _, k = (
215
+ ), i, a, c, v, p, w, f, h, S, k, L = (
216
216
  /*program*/
217
- (((o = l[23].current) == null ? void 0 : o.remainingTimes) || 0) + ""
218
- ), A, B, T, M, S, p = (
217
+ (((C = l[23].current) == null ? void 0 : C.remainingTimes) || 0) + ""
218
+ ), B, T, z, I, D, m = (
219
219
  /*program*/
220
- ((C = l[23].current) == null ? void 0 : C.expiryTime) && Q(l)
220
+ ((b = l[23].current) == null ? void 0 : b.expiryTime) && K(l)
221
221
  );
222
- function U() {
222
+ function o() {
223
223
  return (
224
224
  /*click_handler*/
225
225
  l[16](
@@ -230,53 +230,53 @@ function K(l) {
230
230
  }
231
231
  return {
232
232
  c() {
233
- e = g("li"), t = g("button"), r = g("div"), n = g("span"), i = F(s), a = I(), c = g("span"), w = I(), m = g("div"), b = g("div"), f = g("span"), v = I(), _ = g("span"), A = F(k), B = I(), p && p.c(), T = I(), u(n, "class", "ItemTitle svelte-ljc7r7"), u(c, "class", "IconButton Chevron svelte-ljc7r7"), u(r, "class", "ItemTitleRow svelte-ljc7r7"), u(f, "class", "SmallIcon Wheel svelte-ljc7r7"), P(f, "background-image", "url(" + /*dynamicIcon*/
234
- l[4] + ")"), u(_, "class", "svelte-ljc7r7"), u(b, "class", "ItemKeys svelte-ljc7r7"), u(m, "class", "ItemDetails svelte-ljc7r7"), u(t, "type", "button"), u(t, "class", "ItemButton svelte-ljc7r7"), u(e, "class", "LuckyWheelListItem svelte-ljc7r7");
233
+ e = g("li"), t = g("button"), r = g("div"), n = g("span"), i = N(s), a = M(), c = g("span"), v = M(), p = g("div"), w = g("div"), f = g("img"), S = M(), k = g("span"), B = N(L), T = M(), m && m.c(), z = M(), u(n, "class", "ItemTitle svelte-ljc7r7"), u(c, "class", "IconButton Chevron svelte-ljc7r7"), u(r, "class", "ItemTitleRow svelte-ljc7r7"), R(f.src, h = /*dynamicIcon*/
234
+ l[4]) || u(f, "src", h), u(f, "alt", ""), u(k, "class", "svelte-ljc7r7"), u(w, "class", "ItemKeys svelte-ljc7r7"), u(p, "class", "ItemDetails svelte-ljc7r7"), u(t, "type", "button"), u(t, "class", "ItemButton svelte-ljc7r7"), u(e, "class", "LuckyWheelListItem svelte-ljc7r7");
235
235
  },
236
- m(h, y) {
237
- L(h, e, y), d(e, t), d(t, r), d(r, n), d(n, i), d(r, a), d(r, c), d(t, w), d(t, m), d(m, b), d(b, f), d(b, v), d(b, _), d(_, A), d(m, B), p && p.m(m, null), d(e, T), M || (S = fe(t, "click", U), M = !0);
236
+ m(y, x) {
237
+ A(y, e, x), d(e, t), d(t, r), d(r, n), d(n, i), d(r, a), d(r, c), d(t, v), d(t, p), d(p, w), d(w, f), d(w, S), d(w, k), d(k, B), d(p, T), m && m.m(p, null), d(e, z), I || (D = pe(t, "click", o), I = !0);
238
238
  },
239
- p(h, y) {
240
- var z, W;
241
- l = h, y & /*programs, lang*/
239
+ p(y, x) {
240
+ var E, F;
241
+ l = y, x & /*programs, lang*/
242
242
  9 && s !== (s = /*program*/
243
243
  (l[23].program.name[
244
244
  /*lang*/
245
245
  l[0]
246
246
  ] || /*program*/
247
- l[23].program.name["*"] || "Unknown Game") + "") && E(i, s), y & /*dynamicIcon*/
248
- 16 && P(f, "background-image", "url(" + /*dynamicIcon*/
249
- l[4] + ")"), y & /*programs*/
250
- 8 && k !== (k = /*program*/
251
- (((z = l[23].current) == null ? void 0 : z.remainingTimes) || 0) + "") && E(A, k), /*program*/
252
- (W = l[23].current) != null && W.expiryTime ? p ? p.p(l, y) : (p = Q(l), p.c(), p.m(m, null)) : p && (p.d(1), p = null);
247
+ l[23].program.name["*"] || "Unknown Game") + "") && U(i, s), x & /*dynamicIcon*/
248
+ 16 && !R(f.src, h = /*dynamicIcon*/
249
+ l[4]) && u(f, "src", h), x & /*programs*/
250
+ 8 && L !== (L = /*program*/
251
+ (((E = l[23].current) == null ? void 0 : E.remainingTimes) || 0) + "") && U(B, L), /*program*/
252
+ (F = l[23].current) != null && F.expiryTime ? m ? m.p(l, x) : (m = K(l), m.c(), m.m(p, null)) : m && (m.d(1), m = null);
253
253
  },
254
- d(h) {
255
- h && j(e), p && p.d(), M = !1, S();
254
+ d(y) {
255
+ y && _(e), m && m.d(), I = !1, D();
256
256
  }
257
257
  };
258
258
  }
259
- function De(l) {
259
+ function Ee(l) {
260
260
  let e;
261
261
  return {
262
262
  c() {
263
263
  e = g("div"), e.innerHTML = '<ui-skeleton structure="text" height="16px"></ui-skeleton> <ui-skeleton structure="rectangle" width="50px" height="16px"></ui-skeleton> ', u(e, "class", "WheelLoader svelte-ljc7r7");
264
264
  },
265
265
  m(t, r) {
266
- L(t, e, r);
266
+ A(t, e, r);
267
267
  },
268
- p: O,
268
+ p: G,
269
269
  d(t) {
270
- t && j(e);
270
+ t && _(e);
271
271
  }
272
272
  };
273
273
  }
274
- function Ee(l) {
274
+ function Fe(l) {
275
275
  let e, t, r;
276
276
  function n(a, c) {
277
277
  return (
278
278
  /*loading*/
279
- a[2] ? We : (
279
+ a[2] ? De : (
280
280
  /*programs*/
281
281
  a[3].length > 0 ? ze : Te
282
282
  )
@@ -285,7 +285,7 @@ function Ee(l) {
285
285
  let s = n(l), i = s(l);
286
286
  return {
287
287
  c() {
288
- e = g("div"), t = g("div"), i.c(), u(t, "class", "ListScrollArea svelte-ljc7r7"), u(e, "class", "PrizeListContent svelte-ljc7r7"), X(
288
+ e = g("div"), t = g("div"), i.c(), u(t, "class", "ListScrollArea svelte-ljc7r7"), u(e, "class", "PrizeListContent svelte-ljc7r7"), q(
289
289
  e,
290
290
  "Mobile",
291
291
  /*mobileView*/
@@ -293,7 +293,7 @@ function Ee(l) {
293
293
  );
294
294
  },
295
295
  m(a, c) {
296
- L(a, e, c), d(e, t), i.m(t, null), l[17](e);
296
+ A(a, e, c), d(e, t), i.m(t, null), l[17](e);
297
297
  },
298
298
  p(a, [c]) {
299
299
  s === (s = n(a)) && i ? i.p(a, c) : (i.d(1), i = s(a), i && (i.c(), i.m(t, null)));
@@ -303,35 +303,35 @@ function Ee(l) {
303
303
  r = de(e, ue, { duration: 300 }), r.start();
304
304
  }));
305
305
  },
306
- o: O,
306
+ o: G,
307
307
  d(a) {
308
- a && j(e), i.d(), l[17](null);
308
+ a && _(e), i.d(), l[17](null);
309
309
  }
310
310
  };
311
311
  }
312
- let Fe = null;
312
+ let We = null;
313
313
  function Ue(l, e, t) {
314
314
  let r, n;
315
315
  ge(l, ye, (o) => t(5, n = o));
316
- let { endpoint: s = "" } = e, { session: i = "" } = e, { lang: a = "en" } = e, { clientstyling: c = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: m = "" } = e, { mbsource: b = "" } = e, { type: f = "wheelOfFortune" } = e, v;
317
- const _ = pe(window.navigator.userAgent);
318
- let k = !0, A = [];
316
+ let { endpoint: s = "" } = e, { session: i = "" } = e, { lang: a = "en" } = e, { clientstyling: c = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: p = "" } = e, { mbsource: w = "" } = e, { type: f = "wheelOfFortune" } = e, h;
317
+ const S = me(window.navigator.userAgent);
318
+ let k = !0, L = [];
319
319
  je();
320
320
  const B = () => {
321
- fetch(m).then((C) => C.json()).then((C) => {
322
- Object.keys(C).forEach((h) => {
323
- J(h, C[h]);
321
+ fetch(p).then((C) => C.json()).then((C) => {
322
+ Object.keys(C).forEach((b) => {
323
+ $(b, C[b]);
324
324
  });
325
325
  });
326
326
  }, T = (o) => {
327
327
  if (!o)
328
328
  return "";
329
- const C = new Date(o).getTime(), h = Date.now(), y = C - h;
329
+ const C = new Date(o).getTime(), b = Date.now(), y = C - b;
330
330
  if (y <= 0)
331
331
  return "";
332
- const z = Math.floor(y / (1e3 * 60 * 60 * 24)), W = Math.floor(y % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), $ = Math.floor(y % (1e3 * 60 * 60) / (1e3 * 60));
333
- return `${z.toString().padStart(2, "0")}d:${W.toString().padStart(2, "0")}h:${$.toString().padStart(2, "0")}m`;
334
- }, M = () => D(this, null, function* () {
332
+ const x = Math.floor(y / (1e3 * 60 * 60 * 24)), E = Math.floor(y % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), F = Math.floor(y % (1e3 * 60 * 60) / (1e3 * 60));
333
+ return `${x.toString().padStart(2, "0")}d:${E.toString().padStart(2, "0")}h:${F.toString().padStart(2, "0")}m`;
334
+ }, z = () => W(this, null, function* () {
335
335
  if (!(!s || !i)) {
336
336
  t(2, k = !0);
337
337
  try {
@@ -342,9 +342,9 @@ function Ue(l, e, t) {
342
342
  data: o
343
343
  },
344
344
  "*"
345
- ), t(3, A = o.filter((C) => {
346
- var h;
347
- return (Number((h = C.current) == null ? void 0 : h.remainingTimes) || 0) > 0;
345
+ ), t(3, L = o.filter((C) => {
346
+ var b;
347
+ return (Number((b = C.current) == null ? void 0 : b.remainingTimes) || 0) > 0;
348
348
  }));
349
349
  } catch (o) {
350
350
  console.error("[PrizeEngineList] Fetch failed", o);
@@ -352,47 +352,47 @@ function Ue(l, e, t) {
352
352
  t(2, k = !1);
353
353
  }
354
354
  }
355
- }), S = (o) => {
355
+ }), I = (o) => {
356
356
  window.postMessage({ type: "OpenPrizeGame", data: o }, "*");
357
357
  };
358
- he(() => () => {
358
+ fe(() => () => {
359
359
  });
360
- const p = (o) => S(o);
361
- function U(o) {
362
- me[o ? "unshift" : "push"](() => {
363
- v = o, t(1, v);
360
+ const D = (o) => I(o);
361
+ function m(o) {
362
+ he[o ? "unshift" : "push"](() => {
363
+ h = o, t(1, h);
364
364
  });
365
365
  }
366
366
  return l.$$set = (o) => {
367
- "endpoint" in o && t(9, s = o.endpoint), "session" in o && t(10, i = o.session), "lang" in o && t(0, a = o.lang), "clientstyling" in o && t(11, c = o.clientstyling), "clientstylingurl" in o && t(12, w = o.clientstylingurl), "translationurl" in o && t(13, m = o.translationurl), "mbsource" in o && t(14, b = o.mbsource), "type" in o && t(15, f = o.type);
367
+ "endpoint" in o && t(9, s = o.endpoint), "session" in o && t(10, i = o.session), "lang" in o && t(0, a = o.lang), "clientstyling" in o && t(11, c = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "translationurl" in o && t(13, p = o.translationurl), "mbsource" in o && t(14, w = o.mbsource), "type" in o && t(15, f = o.type);
368
368
  }, l.$$.update = () => {
369
369
  l.$$.dirty & /*lang*/
370
370
  1 && a && xe(a), l.$$.dirty & /*translationurl*/
371
- 8192 && m && B(), l.$$.dirty & /*type*/
371
+ 8192 && p && B(), l.$$.dirty & /*type*/
372
372
  32768 && t(4, r = f === "flipCoin" ? Ie : f === "mysteryChest" ? Me : Ae), l.$$.dirty & /*endpoint, session, type*/
373
- 34304 && s && i && f && M(), l.$$.dirty & /*clientstyling, rootContainer*/
374
- 2050 && c && v && ve(v, c), l.$$.dirty & /*clientstylingurl, rootContainer*/
375
- 4098 && w && v && we(v, w), l.$$.dirty & /*mbsource, rootContainer*/
376
- 16386 && b && v && be(v, `${b}.Style`, Fe);
373
+ 34304 && s && i && f && z(), l.$$.dirty & /*clientstyling, rootContainer*/
374
+ 2050 && c && h && ve(h, c), l.$$.dirty & /*clientstylingurl, rootContainer*/
375
+ 4098 && v && h && we(h, v), l.$$.dirty & /*mbsource, rootContainer*/
376
+ 16386 && w && h && Ce(h, `${w}.Style`, We);
377
377
  }, [
378
378
  a,
379
- v,
379
+ h,
380
380
  k,
381
- A,
381
+ L,
382
382
  r,
383
383
  n,
384
- _,
385
- T,
386
384
  S,
385
+ T,
386
+ I,
387
387
  s,
388
388
  i,
389
389
  c,
390
+ v,
391
+ p,
390
392
  w,
391
- m,
392
- b,
393
393
  f,
394
- p,
395
- U
394
+ D,
395
+ m
396
396
  ];
397
397
  }
398
398
  class Ne extends ie {
@@ -401,7 +401,7 @@ class Ne extends ie {
401
401
  this,
402
402
  e,
403
403
  Ue,
404
- Ee,
404
+ Fe,
405
405
  oe,
406
406
  {
407
407
  endpoint: 9,
@@ -413,59 +413,59 @@ class Ne extends ie {
413
413
  mbsource: 14,
414
414
  type: 15
415
415
  },
416
- Se
416
+ Be
417
417
  );
418
418
  }
419
419
  get endpoint() {
420
420
  return this.$$.ctx[9];
421
421
  }
422
422
  set endpoint(e) {
423
- this.$$set({ endpoint: e }), x();
423
+ this.$$set({ endpoint: e }), j();
424
424
  }
425
425
  get session() {
426
426
  return this.$$.ctx[10];
427
427
  }
428
428
  set session(e) {
429
- this.$$set({ session: e }), x();
429
+ this.$$set({ session: e }), j();
430
430
  }
431
431
  get lang() {
432
432
  return this.$$.ctx[0];
433
433
  }
434
434
  set lang(e) {
435
- this.$$set({ lang: e }), x();
435
+ this.$$set({ lang: e }), j();
436
436
  }
437
437
  get clientstyling() {
438
438
  return this.$$.ctx[11];
439
439
  }
440
440
  set clientstyling(e) {
441
- this.$$set({ clientstyling: e }), x();
441
+ this.$$set({ clientstyling: e }), j();
442
442
  }
443
443
  get clientstylingurl() {
444
444
  return this.$$.ctx[12];
445
445
  }
446
446
  set clientstylingurl(e) {
447
- this.$$set({ clientstylingurl: e }), x();
447
+ this.$$set({ clientstylingurl: e }), j();
448
448
  }
449
449
  get translationurl() {
450
450
  return this.$$.ctx[13];
451
451
  }
452
452
  set translationurl(e) {
453
- this.$$set({ translationurl: e }), x();
453
+ this.$$set({ translationurl: e }), j();
454
454
  }
455
455
  get mbsource() {
456
456
  return this.$$.ctx[14];
457
457
  }
458
458
  set mbsource(e) {
459
- this.$$set({ mbsource: e }), x();
459
+ this.$$set({ mbsource: e }), j();
460
460
  }
461
461
  get type() {
462
462
  return this.$$.ctx[15];
463
463
  }
464
464
  set type(e) {
465
- this.$$set({ type: e }), x();
465
+ this.$$set({ type: e }), j();
466
466
  }
467
467
  }
468
- customElements.define("prize-engine-list", Ce(Ne, { endpoint: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, type: {} }, [], [], !0));
468
+ customElements.define("prize-engine-list", be(Ne, { endpoint: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, type: {} }, [], [], !0));
469
469
  export {
470
470
  Ne as default
471
471
  };