@everymatrix/casino-header-controller 1.74.2 → 1.74.3

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 (60) hide show
  1. package/components/CasinoHamburgerMenu-B3SEVofS.cjs +21 -0
  2. package/components/{CasinoHamburgerMenu-DyDdli2u.js → CasinoHamburgerMenu-CxZY3gX_.js} +834 -848
  3. package/components/{CasinoHamburgerMenu-eXrOFlvI.js → CasinoHamburgerMenu-DgW7BVrn.js} +770 -784
  4. package/components/{CasinoHeaderController-Da0-c7Cd.js → CasinoHeaderController-28YeYzRi.js} +9 -9
  5. package/components/{CasinoHeaderController-CSoTOBSw.cjs → CasinoHeaderController-CDQ5Cmgr.cjs} +1 -1
  6. package/components/{CasinoHeaderController-Db3c4hRI.js → CasinoHeaderController-GYr2egb0.js} +9 -9
  7. package/components/{CasinoSlider-CL_Uac-c.cjs → CasinoSlider-C8ldNewd.cjs} +1 -1
  8. package/components/{CasinoSlider-Cp5_7pzC.js → CasinoSlider-DBtt9MKc.js} +11 -11
  9. package/components/{CasinoSlider-DMayqVDC.js → CasinoSlider-DIr1zaC-.js} +11 -11
  10. package/components/PlayerAccountBalanceModal-C3ONiraA.js +1380 -0
  11. package/components/PlayerAccountBalanceModal-D-NWWlQ2.cjs +7 -0
  12. package/components/PlayerAccountBalanceModal-XdYkj_ls.js +1409 -0
  13. package/components/{PlayerDeposit-BqFur4Gk.js → PlayerDeposit-B978Gn32.js} +71 -71
  14. package/components/{PlayerDeposit-Dsn7YQTe.js → PlayerDeposit-D4781m0g.js} +71 -71
  15. package/components/PlayerDeposit-DmuFu2rX.cjs +1 -0
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{gamification-dropdown-343647b2-27dUC8jf.js → gamification-dropdown-343647b2-B2iPgMxf.js} +8 -8
  21. package/stencil/{gamification-dropdown-343647b2-DdQ49rhR.cjs → gamification-dropdown-343647b2-CMaCXQz4.cjs} +1 -1
  22. package/stencil/{gamification-dropdown-343647b2-7a6_2mBW.js → gamification-dropdown-343647b2-CzD-SLIz.js} +3 -3
  23. package/stencil/{gamification-dropdown-BaY4Jj__.js → gamification-dropdown-BWeVy6yw.js} +1 -1
  24. package/stencil/{gamification-dropdown-B7V0SGbC.cjs → gamification-dropdown-CTySmkjF.cjs} +1 -1
  25. package/stencil/{gamification-dropdown-DfMbaSEz.js → gamification-dropdown-DJBtd0yx.js} +1 -1
  26. package/stencil/gamification-dropdown_4-BX_M5-3b.cjs +192 -0
  27. package/stencil/{gamification-dropdown_4-qmmzK1hT.js → gamification-dropdown_4-DL1cnnR5.js} +5 -5
  28. package/stencil/{gamification-dropdown_4-D_uemBqY.js → gamification-dropdown_4-xBVux7NE.js} +5 -5
  29. package/stencil/{index-1ef3a64c-BC8-LWK-.js → index-1ef3a64c-B1d9e5pW.js} +201 -201
  30. package/stencil/index-1ef3a64c-C4G-G36U.cjs +1 -0
  31. package/stencil/index-1ef3a64c-GG7QM-1r.js +556 -0
  32. package/stencil/index-71b1bdfa-B7YYI4Ij.js +780 -0
  33. package/stencil/index-71b1bdfa-Dtlgkwlr.cjs +1 -0
  34. package/stencil/index-71b1bdfa-udB106Ku.js +753 -0
  35. package/stencil/{player-elevate-card-PfRHPMPV.js → player-elevate-card-BB5pZCk-.js} +2 -2
  36. package/stencil/{player-elevate-card-CLSY_Uny.cjs → player-elevate-card-CKK8SqIG.cjs} +1 -1
  37. package/stencil/{player-elevate-card-D1D9TilD.js → player-elevate-card-CbLaEjY4.js} +2 -2
  38. package/stencil/{player-elevate-card-items-08c6fbd8-DP3ADZVD.js → player-elevate-card-items-08c6fbd8-BdwzqbIt.js} +82 -82
  39. package/stencil/{player-elevate-card-items-08c6fbd8-Dl44kJcd.cjs → player-elevate-card-items-08c6fbd8-CxS3i_Tk.cjs} +3 -3
  40. package/stencil/{player-elevate-card-items-08c6fbd8-BmecxtO9.js → player-elevate-card-items-08c6fbd8-D4NYTRjn.js} +82 -82
  41. package/stencil/{player-elevate-pointcard-D7HyFY7W.cjs → player-elevate-pointcard-D5nTLaWf.cjs} +1 -1
  42. package/stencil/{player-elevate-pointcard-TpzSMlLe.js → player-elevate-pointcard-DVNYxgd0.js} +2 -2
  43. package/stencil/{player-elevate-pointcard-Cu-WAP1v.js → player-elevate-pointcard-YG_JS6s5.js} +2 -2
  44. package/stencil/{player-rakeback-card-Q34D81Lh.js → player-rakeback-card-BuGLD8w-.js} +1 -1
  45. package/stencil/{player-rakeback-card-BvCj6jXY.js → player-rakeback-card-BzpdZUG1.js} +1 -1
  46. package/stencil/{player-rakeback-card-PtatD9v8.cjs → player-rakeback-card-DU_y15t2.cjs} +1 -1
  47. package/stencil/{user-deposit-withdrawal-BMH0p3pP.cjs → user-deposit-withdrawal-CnTB5Htu.cjs} +2 -2
  48. package/stencil/{user-deposit-withdrawal-C0pUSCwu.js → user-deposit-withdrawal-D3SYJSWx.js} +45 -45
  49. package/stencil/{user-deposit-withdrawal-MEriFskJ.js → user-deposit-withdrawal-DIQiW7CO.js} +45 -45
  50. package/components/CasinoHamburgerMenu-CaFkIr3d.cjs +0 -21
  51. package/components/PlayerAccountBalanceModal-BDP6KNm7.js +0 -1380
  52. package/components/PlayerAccountBalanceModal-BGswjgvk.cjs +0 -7
  53. package/components/PlayerAccountBalanceModal-BVbJ7Lp3.js +0 -1409
  54. package/components/PlayerDeposit-BsUiL_LS.cjs +0 -1
  55. package/stencil/gamification-dropdown_4-BYNA_azI.cjs +0 -192
  56. package/stencil/index-1ef3a64c-BTHG-6MK.js +0 -556
  57. package/stencil/index-1ef3a64c-DWSAxGlI.cjs +0 -1
  58. package/stencil/index-71b1bdfa-B4OGpiXv.cjs +0 -1
  59. package/stencil/index-71b1bdfa-BEOdIUd5.js +0 -757
  60. package/stencil/index-71b1bdfa-PCch_YSb.js +0 -784
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("./index-71b1bdfa-B4OGpiXv.cjs"),U=require("./locale-B_6Rn5-v.cjs");function Y(r){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(r)}function M(r){if(r===null||r===!0||r===!1)return NaN;var e=Number(r);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function h(r,e){if(e.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+e.length+" present")}function p(r){h(1,arguments);var e=Object.prototype.toString.call(r);return r instanceof Date||Y(r)==="object"&&e==="[object Date]"?new Date(r.getTime()):typeof r=="number"||e==="[object Number]"?new Date(r):((typeof r=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function te(r,e){h(2,arguments);var t=p(r).getTime(),a=M(e);return new Date(t+a)}var re={};function L(){return re}function X(r){var e=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return e.setUTCFullYear(r.getFullYear()),r.getTime()-e.getTime()}function ae(r){return h(1,arguments),r instanceof Date||Y(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function ne(r){if(h(1,arguments),!ae(r)&&typeof r!="number")return!1;var e=p(r);return!isNaN(Number(e))}function ie(r,e){h(2,arguments);var t=M(e);return te(r,-t)}var oe=864e5;function se(r){h(1,arguments);var e=p(r),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var a=e.getTime(),n=t-a;return Math.floor(n/oe)+1}function B(r){h(1,arguments);var e=1,t=p(r),a=t.getUTCDay(),n=(a<e?7:0)+a-e;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function Q(r){h(1,arguments);var e=p(r),t=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(t+1,0,4),a.setUTCHours(0,0,0,0);var n=B(a),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var o=B(i);return e.getTime()>=n.getTime()?t+1:e.getTime()>=o.getTime()?t:t-1}function le(r){h(1,arguments);var e=Q(r),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var a=B(t);return a}var ue=6048e5;function de(r){h(1,arguments);var e=p(r),t=B(e).getTime()-le(e).getTime();return Math.round(t/ue)+1}function F(r,e){var t,a,n,i,o,u,c,d;h(1,arguments);var m=L(),f=M((t=(a=(n=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:m.weekStartsOn)!==null&&a!==void 0?a:(c=m.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=p(r),v=g.getUTCDay(),y=(v<f?7:0)+v-f;return g.setUTCDate(g.getUTCDate()-y),g.setUTCHours(0,0,0,0),g}function V(r,e){var t,a,n,i,o,u,c,d;h(1,arguments);var m=p(r),f=m.getUTCFullYear(),g=L(),v=M((t=(a=(n=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:g.firstWeekContainsDate)!==null&&a!==void 0?a:(c=g.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(f+1,0,v),y.setUTCHours(0,0,0,0);var O=F(y,e),x=new Date(0);x.setUTCFullYear(f,0,v),x.setUTCHours(0,0,0,0);var N=F(x,e);return m.getTime()>=O.getTime()?f+1:m.getTime()>=N.getTime()?f:f-1}function ce(r,e){var t,a,n,i,o,u,c,d;h(1,arguments);var m=L(),f=M((t=(a=(n=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:m.firstWeekContainsDate)!==null&&a!==void 0?a:(c=m.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),g=V(r,e),v=new Date(0);v.setUTCFullYear(g,0,f),v.setUTCHours(0,0,0,0);var y=F(v,e);return y}var fe=6048e5;function he(r,e){h(1,arguments);var t=p(r),a=F(t,e).getTime()-ce(t,e).getTime();return Math.round(a/fe)+1}function s(r,e){for(var t=r<0?"-":"",a=Math.abs(r).toString();a.length<e;)a="0"+a;return t+a}var me={y:function(e,t){var a=e.getUTCFullYear(),n=a>0?a:1-a;return s(t==="yy"?n%100:n,t.length)},M:function(e,t){var a=e.getUTCMonth();return t==="M"?String(a+1):s(a+1,2)},d:function(e,t){return s(e.getUTCDate(),t.length)},a:function(e,t){var a=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(e,t){return s(e.getUTCHours()%12||12,t.length)},H:function(e,t){return s(e.getUTCHours(),t.length)},m:function(e,t){return s(e.getUTCMinutes(),t.length)},s:function(e,t){return s(e.getUTCSeconds(),t.length)},S:function(e,t){var a=t.length,n=e.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,a-3));return s(i,t.length)}};const C=me;var _={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ve={G:function(e,t,a){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){var n=e.getUTCFullYear(),i=n>0?n:1-n;return a.ordinalNumber(i,{unit:"year"})}return C.y(e,t)},Y:function(e,t,a,n){var i=V(e,n),o=i>0?i:1-i;if(t==="YY"){var u=o%100;return s(u,2)}return t==="Yo"?a.ordinalNumber(o,{unit:"year"}):s(o,t.length)},R:function(e,t){var a=Q(e);return s(a,t.length)},u:function(e,t){var a=e.getUTCFullYear();return s(a,t.length)},Q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return s(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return s(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){var n=e.getUTCMonth();switch(t){case"M":case"MM":return C.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return s(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){var i=he(e,n);return t==="wo"?a.ordinalNumber(i,{unit:"week"}):s(i,t.length)},I:function(e,t,a){var n=de(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):s(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getUTCDate(),{unit:"date"}):C.d(e,t)},D:function(e,t,a){var n=se(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):s(n,t.length)},E:function(e,t,a){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return s(o,2);case"eo":return a.ordinalNumber(o,{unit:"day"});case"eee":return a.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return s(o,t.length);case"co":return a.ordinalNumber(o,{unit:"day"});case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,a){var n=e.getUTCDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return s(i,t.length);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){var n=e.getUTCHours(),i=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,a){var n=e.getUTCHours(),i;switch(n===12?i=_.noon:n===0?i=_.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,a){var n=e.getUTCHours(),i;switch(n>=17?i=_.evening:n>=12?i=_.afternoon:n>=4?i=_.morning:i=_.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){var n=e.getUTCHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return C.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getUTCHours(),{unit:"hour"}):C.H(e,t)},K:function(e,t,a){var n=e.getUTCHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},k:function(e,t,a){var n=e.getUTCHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):C.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):C.s(e,t)},S:function(e,t){return C.S(e,t)},X:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return q(o);case"XXXX":case"XX":return T(o);case"XXXXX":case"XXX":default:return T(o,":")}},x:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"x":return q(o);case"xxxx":case"xx":return T(o);case"xxxxx":case"xxx":default:return T(o,":")}},O:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+A(o,":");case"OOOO":default:return"GMT"+T(o,":")}},z:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+A(o,":");case"zzzz":default:return"GMT"+T(o,":")}},t:function(e,t,a,n){var i=n._originalDate||e,o=Math.floor(i.getTime()/1e3);return s(o,t.length)},T:function(e,t,a,n){var i=n._originalDate||e,o=i.getTime();return s(o,t.length)}};function A(r,e){var t=r>0?"-":"+",a=Math.abs(r),n=Math.floor(a/60),i=a%60;if(i===0)return t+String(n);var o=e;return t+String(n)+o+s(i,2)}function q(r,e){if(r%60===0){var t=r>0?"-":"+";return t+s(Math.abs(r)/60,2)}return T(r,e)}function T(r,e){var t=e||"",a=r>0?"-":"+",n=Math.abs(r),i=s(Math.floor(n/60),2),o=s(n%60,2);return a+i+t+o}const ge=ve;var $=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},j=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},we=function(e,t){var a=e.match(/(P+)(p+)?/)||[],n=a[1],i=a[2];if(!i)return $(e,t);var o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",$(n,t)).replace("{{time}}",j(i,t))},ye={p:j,P:we};const pe=ye;var be=["D","DD"],Ce=["YY","YYYY"];function xe(r){return be.indexOf(r)!==-1}function Te(r){return Ce.indexOf(r)!==-1}function R(r,e,t){if(r==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Me={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},_e=function(e,t,a){var n,i=Me[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};const Oe=_e;function I(r){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):r.defaultWidth,a=r.formats[t]||r.formats[r.defaultWidth];return a}}var Pe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},De={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Se={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ke={date:I({formats:Pe,defaultWidth:"full"}),time:I({formats:De,defaultWidth:"full"}),dateTime:I({formats:Se,defaultWidth:"full"})};const Ue=ke;var We={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ee=function(e,t,a,n){return We[e]};const Ye=Ee;function S(r){return function(e,t){var a=t!=null&&t.context?String(t.context):"standalone",n;if(a==="formatting"&&r.formattingValues){var i=r.defaultFormattingWidth||r.defaultWidth,o=t!=null&&t.width?String(t.width):i;n=r.formattingValues[o]||r.formattingValues[i]}else{var u=r.defaultWidth,c=t!=null&&t.width?String(t.width):r.defaultWidth;n=r.values[c]||r.values[u]}var d=r.argumentCallback?r.argumentCallback(e):e;return n[d]}}var Be={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Fe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Le={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ne={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ge={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},He={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ie=function(e,t){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Ae={ordinalNumber:Ie,era:S({values:Be,defaultWidth:"wide"}),quarter:S({values:Fe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:S({values:Le,defaultWidth:"wide"}),day:S({values:Ne,defaultWidth:"wide"}),dayPeriod:S({values:Ge,defaultWidth:"wide",formattingValues:He,defaultFormattingWidth:"wide"})};const qe=Ae;function k(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=t.width,n=a&&r.matchPatterns[a]||r.matchPatterns[r.defaultMatchWidth],i=e.match(n);if(!i)return null;var o=i[0],u=a&&r.parsePatterns[a]||r.parsePatterns[r.defaultParseWidth],c=Array.isArray(u)?Re(u,function(f){return f.test(o)}):$e(u,function(f){return f.test(o)}),d;d=r.valueCallback?r.valueCallback(c):c,d=t.valueCallback?t.valueCallback(d):d;var m=e.slice(o.length);return{value:d,rest:m}}}function $e(r,e){for(var t in r)if(r.hasOwnProperty(t)&&e(r[t]))return t}function Re(r,e){for(var t=0;t<r.length;t++)if(e(r[t]))return t}function Xe(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.match(r.matchPattern);if(!a)return null;var n=a[0],i=e.match(r.parsePattern);if(!i)return null;var o=r.valueCallback?r.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;var u=e.slice(n.length);return{value:o,rest:u}}}var Qe=/^(\d+)(th|st|nd|rd)?/i,Ve=/\d+/i,je={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ze={any:[/^b/i,/^(a|c)/i]},Je={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ke={any:[/1/i,/2/i,/3/i,/4/i]},Ze={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},et={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},tt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},rt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},at={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},nt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},it={ordinalNumber:Xe({matchPattern:Qe,parsePattern:Ve,valueCallback:function(e){return parseInt(e,10)}}),era:k({matchPatterns:je,defaultMatchWidth:"wide",parsePatterns:ze,defaultParseWidth:"any"}),quarter:k({matchPatterns:Je,defaultMatchWidth:"wide",parsePatterns:Ke,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:k({matchPatterns:Ze,defaultMatchWidth:"wide",parsePatterns:et,defaultParseWidth:"any"}),day:k({matchPatterns:tt,defaultMatchWidth:"wide",parsePatterns:rt,defaultParseWidth:"any"}),dayPeriod:k({matchPatterns:at,defaultMatchWidth:"any",parsePatterns:nt,defaultParseWidth:"any"})};const ot=it;var st={code:"en-US",formatDistance:Oe,formatLong:Ue,formatRelative:Ye,localize:qe,match:ot,options:{weekStartsOn:0,firstWeekContainsDate:1}};const lt=st;var ut=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ct=/^'([^]*?)'?$/,ft=/''/g,ht=/[a-zA-Z]/;function z(r,e,t){var a,n,i,o,u,c,d,m,f,g,v,y,O,x;h(2,arguments);var N=String(e),P=L(),D=(a=(n=void 0)!==null&&n!==void 0?n:P.locale)!==null&&a!==void 0?a:lt,G=M((i=(o=(u=(c=void 0)!==null&&c!==void 0?c:void 0)!==null&&u!==void 0?u:P.firstWeekContainsDate)!==null&&o!==void 0?o:(d=P.locale)===null||d===void 0||(m=d.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(G>=1&&G<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=M((f=(g=(v=(y=void 0)!==null&&y!==void 0?y:void 0)!==null&&v!==void 0?v:P.weekStartsOn)!==null&&g!==void 0?g:(O=P.locale)===null||O===void 0||(x=O.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&f!==void 0?f:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!D.localize)throw new RangeError("locale must contain localize property");if(!D.formatLong)throw new RangeError("locale must contain formatLong property");var W=p(r);if(!ne(W))throw new RangeError("Invalid time value");var J=X(W),K=ie(W,J),Z={firstWeekContainsDate:G,weekStartsOn:H,locale:D,_originalDate:W},ee=N.match(dt).map(function(w){var b=w[0];if(b==="p"||b==="P"){var E=pe[b];return E(w,D.formatLong)}return w}).join("").match(ut).map(function(w){if(w==="''")return"'";var b=w[0];if(b==="'")return mt(w);var E=ge[b];if(E)return Te(w)&&R(w,e,String(r)),xe(w)&&R(w,e,String(r)),E(K,w,D.localize,Z);if(b.match(ht))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return w}).join("");return ee}function mt(r){var e=r.match(ct);return e?e[1].replace(ft,"'"):r}const vt=`<svg width="100%" height="28" style="opacity: 0" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ "use strict";const s=require("./index-71b1bdfa-Dtlgkwlr.cjs"),U=require("./locale-B_6Rn5-v.cjs");function Y(r){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(r)}function M(r){if(r===null||r===!0||r===!1)return NaN;var e=Number(r);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function h(r,e){if(e.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+e.length+" present")}function p(r){h(1,arguments);var e=Object.prototype.toString.call(r);return r instanceof Date||Y(r)==="object"&&e==="[object Date]"?new Date(r.getTime()):typeof r=="number"||e==="[object Number]"?new Date(r):((typeof r=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function te(r,e){h(2,arguments);var t=p(r).getTime(),a=M(e);return new Date(t+a)}var re={};function L(){return re}function X(r){var e=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return e.setUTCFullYear(r.getFullYear()),r.getTime()-e.getTime()}function ae(r){return h(1,arguments),r instanceof Date||Y(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function ne(r){if(h(1,arguments),!ae(r)&&typeof r!="number")return!1;var e=p(r);return!isNaN(Number(e))}function ie(r,e){h(2,arguments);var t=M(e);return te(r,-t)}var oe=864e5;function ue(r){h(1,arguments);var e=p(r),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var a=e.getTime(),n=t-a;return Math.floor(n/oe)+1}function B(r){h(1,arguments);var e=1,t=p(r),a=t.getUTCDay(),n=(a<e?7:0)+a-e;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function Q(r){h(1,arguments);var e=p(r),t=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(t+1,0,4),a.setUTCHours(0,0,0,0);var n=B(a),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var o=B(i);return e.getTime()>=n.getTime()?t+1:e.getTime()>=o.getTime()?t:t-1}function se(r){h(1,arguments);var e=Q(r),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var a=B(t);return a}var le=6048e5;function de(r){h(1,arguments);var e=p(r),t=B(e).getTime()-se(e).getTime();return Math.round(t/le)+1}function F(r,e){var t,a,n,i,o,l,c,d;h(1,arguments);var m=L(),f=M((t=(a=(n=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:m.weekStartsOn)!==null&&a!==void 0?a:(c=m.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=p(r),g=v.getUTCDay(),y=(g<f?7:0)+g-f;return v.setUTCDate(v.getUTCDate()-y),v.setUTCHours(0,0,0,0),v}function V(r,e){var t,a,n,i,o,l,c,d;h(1,arguments);var m=p(r),f=m.getUTCFullYear(),v=L(),g=M((t=(a=(n=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:v.firstWeekContainsDate)!==null&&a!==void 0?a:(c=v.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(f+1,0,g),y.setUTCHours(0,0,0,0);var O=F(y,e),x=new Date(0);x.setUTCFullYear(f,0,g),x.setUTCHours(0,0,0,0);var N=F(x,e);return m.getTime()>=O.getTime()?f+1:m.getTime()>=N.getTime()?f:f-1}function ce(r,e){var t,a,n,i,o,l,c,d;h(1,arguments);var m=L(),f=M((t=(a=(n=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:m.firstWeekContainsDate)!==null&&a!==void 0?a:(c=m.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),v=V(r,e),g=new Date(0);g.setUTCFullYear(v,0,f),g.setUTCHours(0,0,0,0);var y=F(g,e);return y}var fe=6048e5;function he(r,e){h(1,arguments);var t=p(r),a=F(t,e).getTime()-ce(t,e).getTime();return Math.round(a/fe)+1}function u(r,e){for(var t=r<0?"-":"",a=Math.abs(r).toString();a.length<e;)a="0"+a;return t+a}var me={y:function(e,t){var a=e.getUTCFullYear(),n=a>0?a:1-a;return u(t==="yy"?n%100:n,t.length)},M:function(e,t){var a=e.getUTCMonth();return t==="M"?String(a+1):u(a+1,2)},d:function(e,t){return u(e.getUTCDate(),t.length)},a:function(e,t){var a=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(e,t){return u(e.getUTCHours()%12||12,t.length)},H:function(e,t){return u(e.getUTCHours(),t.length)},m:function(e,t){return u(e.getUTCMinutes(),t.length)},s:function(e,t){return u(e.getUTCSeconds(),t.length)},S:function(e,t){var a=t.length,n=e.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,a-3));return u(i,t.length)}};const C=me;var _={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ge={G:function(e,t,a){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){var n=e.getUTCFullYear(),i=n>0?n:1-n;return a.ordinalNumber(i,{unit:"year"})}return C.y(e,t)},Y:function(e,t,a,n){var i=V(e,n),o=i>0?i:1-i;if(t==="YY"){var l=o%100;return u(l,2)}return t==="Yo"?a.ordinalNumber(o,{unit:"year"}):u(o,t.length)},R:function(e,t){var a=Q(e);return u(a,t.length)},u:function(e,t){var a=e.getUTCFullYear();return u(a,t.length)},Q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return u(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return u(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){var n=e.getUTCMonth();switch(t){case"M":case"MM":return C.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return u(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){var i=he(e,n);return t==="wo"?a.ordinalNumber(i,{unit:"week"}):u(i,t.length)},I:function(e,t,a){var n=de(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):u(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getUTCDate(),{unit:"date"}):C.d(e,t)},D:function(e,t,a){var n=ue(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):u(n,t.length)},E:function(e,t,a){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return u(o,2);case"eo":return a.ordinalNumber(o,{unit:"day"});case"eee":return a.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return u(o,t.length);case"co":return a.ordinalNumber(o,{unit:"day"});case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,a){var n=e.getUTCDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return u(i,t.length);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){var n=e.getUTCHours(),i=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,a){var n=e.getUTCHours(),i;switch(n===12?i=_.noon:n===0?i=_.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,a){var n=e.getUTCHours(),i;switch(n>=17?i=_.evening:n>=12?i=_.afternoon:n>=4?i=_.morning:i=_.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){var n=e.getUTCHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return C.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getUTCHours(),{unit:"hour"}):C.H(e,t)},K:function(e,t,a){var n=e.getUTCHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):u(n,t.length)},k:function(e,t,a){var n=e.getUTCHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):u(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):C.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):C.s(e,t)},S:function(e,t){return C.S(e,t)},X:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return q(o);case"XXXX":case"XX":return T(o);case"XXXXX":case"XXX":default:return T(o,":")}},x:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"x":return q(o);case"xxxx":case"xx":return T(o);case"xxxxx":case"xxx":default:return T(o,":")}},O:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+A(o,":");case"OOOO":default:return"GMT"+T(o,":")}},z:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+A(o,":");case"zzzz":default:return"GMT"+T(o,":")}},t:function(e,t,a,n){var i=n._originalDate||e,o=Math.floor(i.getTime()/1e3);return u(o,t.length)},T:function(e,t,a,n){var i=n._originalDate||e,o=i.getTime();return u(o,t.length)}};function A(r,e){var t=r>0?"-":"+",a=Math.abs(r),n=Math.floor(a/60),i=a%60;if(i===0)return t+String(n);var o=e;return t+String(n)+o+u(i,2)}function q(r,e){if(r%60===0){var t=r>0?"-":"+";return t+u(Math.abs(r)/60,2)}return T(r,e)}function T(r,e){var t=e||"",a=r>0?"-":"+",n=Math.abs(r),i=u(Math.floor(n/60),2),o=u(n%60,2);return a+i+t+o}const ve=ge;var $=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},j=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},we=function(e,t){var a=e.match(/(P+)(p+)?/)||[],n=a[1],i=a[2];if(!i)return $(e,t);var o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",$(n,t)).replace("{{time}}",j(i,t))},ye={p:j,P:we};const pe=ye;var be=["D","DD"],Ce=["YY","YYYY"];function xe(r){return be.indexOf(r)!==-1}function Te(r){return Ce.indexOf(r)!==-1}function R(r,e,t){if(r==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Me={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},_e=function(e,t,a){var n,i=Me[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};const Oe=_e;function I(r){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):r.defaultWidth,a=r.formats[t]||r.formats[r.defaultWidth];return a}}var Pe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},De={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Se={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ke={date:I({formats:Pe,defaultWidth:"full"}),time:I({formats:De,defaultWidth:"full"}),dateTime:I({formats:Se,defaultWidth:"full"})};const Ue=ke;var We={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ee=function(e,t,a,n){return We[e]};const Ye=Ee;function S(r){return function(e,t){var a=t!=null&&t.context?String(t.context):"standalone",n;if(a==="formatting"&&r.formattingValues){var i=r.defaultFormattingWidth||r.defaultWidth,o=t!=null&&t.width?String(t.width):i;n=r.formattingValues[o]||r.formattingValues[i]}else{var l=r.defaultWidth,c=t!=null&&t.width?String(t.width):r.defaultWidth;n=r.values[c]||r.values[l]}var d=r.argumentCallback?r.argumentCallback(e):e;return n[d]}}var Be={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Fe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Le={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ne={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ge={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},He={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ie=function(e,t){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Ae={ordinalNumber:Ie,era:S({values:Be,defaultWidth:"wide"}),quarter:S({values:Fe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:S({values:Le,defaultWidth:"wide"}),day:S({values:Ne,defaultWidth:"wide"}),dayPeriod:S({values:Ge,defaultWidth:"wide",formattingValues:He,defaultFormattingWidth:"wide"})};const qe=Ae;function k(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=t.width,n=a&&r.matchPatterns[a]||r.matchPatterns[r.defaultMatchWidth],i=e.match(n);if(!i)return null;var o=i[0],l=a&&r.parsePatterns[a]||r.parsePatterns[r.defaultParseWidth],c=Array.isArray(l)?Re(l,function(f){return f.test(o)}):$e(l,function(f){return f.test(o)}),d;d=r.valueCallback?r.valueCallback(c):c,d=t.valueCallback?t.valueCallback(d):d;var m=e.slice(o.length);return{value:d,rest:m}}}function $e(r,e){for(var t in r)if(r.hasOwnProperty(t)&&e(r[t]))return t}function Re(r,e){for(var t=0;t<r.length;t++)if(e(r[t]))return t}function Xe(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.match(r.matchPattern);if(!a)return null;var n=a[0],i=e.match(r.parsePattern);if(!i)return null;var o=r.valueCallback?r.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;var l=e.slice(n.length);return{value:o,rest:l}}}var Qe=/^(\d+)(th|st|nd|rd)?/i,Ve=/\d+/i,je={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ze={any:[/^b/i,/^(a|c)/i]},Je={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ke={any:[/1/i,/2/i,/3/i,/4/i]},Ze={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},et={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},tt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},rt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},at={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},nt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},it={ordinalNumber:Xe({matchPattern:Qe,parsePattern:Ve,valueCallback:function(e){return parseInt(e,10)}}),era:k({matchPatterns:je,defaultMatchWidth:"wide",parsePatterns:ze,defaultParseWidth:"any"}),quarter:k({matchPatterns:Je,defaultMatchWidth:"wide",parsePatterns:Ke,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:k({matchPatterns:Ze,defaultMatchWidth:"wide",parsePatterns:et,defaultParseWidth:"any"}),day:k({matchPatterns:tt,defaultMatchWidth:"wide",parsePatterns:rt,defaultParseWidth:"any"}),dayPeriod:k({matchPatterns:at,defaultMatchWidth:"any",parsePatterns:nt,defaultParseWidth:"any"})};const ot=it;var ut={code:"en-US",formatDistance:Oe,formatLong:Ue,formatRelative:Ye,localize:qe,match:ot,options:{weekStartsOn:0,firstWeekContainsDate:1}};const st=ut;var lt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ct=/^'([^]*?)'?$/,ft=/''/g,ht=/[a-zA-Z]/;function z(r,e,t){var a,n,i,o,l,c,d,m,f,v,g,y,O,x;h(2,arguments);var N=String(e),P=L(),D=(a=(n=void 0)!==null&&n!==void 0?n:P.locale)!==null&&a!==void 0?a:st,G=M((i=(o=(l=(c=void 0)!==null&&c!==void 0?c:void 0)!==null&&l!==void 0?l:P.firstWeekContainsDate)!==null&&o!==void 0?o:(d=P.locale)===null||d===void 0||(m=d.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(G>=1&&G<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=M((f=(v=(g=(y=void 0)!==null&&y!==void 0?y:void 0)!==null&&g!==void 0?g:P.weekStartsOn)!==null&&v!==void 0?v:(O=P.locale)===null||O===void 0||(x=O.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&f!==void 0?f:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!D.localize)throw new RangeError("locale must contain localize property");if(!D.formatLong)throw new RangeError("locale must contain formatLong property");var W=p(r);if(!ne(W))throw new RangeError("Invalid time value");var J=X(W),K=ie(W,J),Z={firstWeekContainsDate:G,weekStartsOn:H,locale:D,_originalDate:W},ee=N.match(dt).map(function(w){var b=w[0];if(b==="p"||b==="P"){var E=pe[b];return E(w,D.formatLong)}return w}).join("").match(lt).map(function(w){if(w==="''")return"'";var b=w[0];if(b==="'")return mt(w);var E=ve[b];if(E)return Te(w)&&R(w,e,String(r)),xe(w)&&R(w,e,String(r)),E(K,w,D.localize,Z);if(b.match(ht))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return w}).join("");return ee}function mt(r){var e=r.match(ct);return e?e[1].replace(ft,"'"):r}const gt=`<svg width="100%" height="28" style="opacity: 0" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <rect y="12" x="2" width="100%" id="total_level" height="5" rx="2.5" fill="white" fill-opacity="0.5"/>
3
3
  <rect y="12" x="2" id="current_level" width="64" height="5" rx="2.5" fill="white"/>
4
4
  <g filter="url(#filter_current_level)">
@@ -78,7 +78,7 @@
78
78
  </linearGradient>
79
79
  </defs>
80
80
  </svg>
81
- `,gt=`<svg width="126" height="92" viewBox="0 0 126 92" fill="none" xmlns="http://www.w3.org/2000/svg">
81
+ `,vt=`<svg width="126" height="92" viewBox="0 0 126 92" fill="none" xmlns="http://www.w3.org/2000/svg">
82
82
  <g filter="url(#filter0_d_242_4231)">
83
83
  <rect x="24" y="20" width="78" height="36" rx="4" fill="white"/>
84
84
  <path d="M24 24C24 21.7909 25.7909 20 28 20H64V56H28C25.7909 56 24 54.2091 24 52V24Z" fill="#464646"/>
@@ -99,4 +99,4 @@
99
99
  </filter>
100
100
  </defs>
101
101
  </svg>
102
- `,wt=()=>l.h("span",{class:"LevelProgress",id:"LevelProgress",innerHTML:vt}),yt=({loyaltyPoints:r,spendablePoints:e,pointExpireString:t,language:a})=>l.h("div",{class:"PointsInfo"},r&&r>=0&&l.h("div",{class:"Points"},r," ",l.h("sub",{class:"XP"},U.translate("xp",a))),e&&l.h("div",{class:"Points"},e," ",l.h("sub",{class:"XP"},U.translate("sp",a))),t&&l.h("div",{class:"ExpirationPoints"},t," ")),pt=({language:r,onRedeemClick:e})=>l.h("div",{class:"CardCell Redeem"},l.h("div",{class:"RedeemButton",onClick:()=>{e()}},l.h("span",null,U.translate("redeem",r)))),bt=r=>l.h("div",{class:"CardCell PlayerName Txt"},r.playerName),Ct=r=>l.h("div",{class:"CardCell ElevateLevel"},l.h("span",{class:"LevelName",title:r.level},r.level),r.expireTime&&l.h("div",{class:"CardCell ExpirationDate Txt"},U.translate("expireOn",r.language),l.h("span",{class:"ExpireTime"},z(new Date(r.expireTime),r.dateFormat||"yyyy-MM-dd")),!r.hideInfo&&l.h("span",{class:"fa Info",style:{background:`url(${l.getAssetPath("../static/info.svg")})`}},l.h("span",{class:"InfoTips",innerHTML:gt})))),xt=r=>l.h("div",{class:"CardCell ElevateLevel Expire"},l.h("div",{class:"CardCell ExpirationDate Txt"},U.translate("expireOn",r.language),l.h("span",{class:"ExpireTime"},z(new Date(r.expireTime),r.dateFormat||"yyyy-MM-dd")))),Tt=r=>{const e=r.loyaltyIconUrl?l.h("img",{class:"Badge",src:r.loyaltyIconUrl}):r.hideIfNull?"":l.h("div",{class:"Badge"}),t=r.playerAvatarUrl||l.getAssetPath("../static/user.svg");return l.h("div",{class:"PlayerAvatar",style:{position:`${r.onlyBadge?"":"relative"}`}},!r.onlyBadge&&l.h("img",{class:"Avatar",src:t}),e)};exports.LoyaltyLevelExpireDay=xt;exports.PlayerAvatar=Tt;exports.PlayerElevateCardRedeem=pt;exports.PlayerElevateLoyaltyLevel=Ct;exports.PlayerLoyaltyProcess=wt;exports.PlayerNameDiv=bt;exports.PlayerPoints=yt;exports.getTimezoneOffsetInMilliseconds=X;exports.requiredArgs=h;exports.toDate=p;
102
+ `,wt=()=>s.h("span",{class:"LevelProgress",id:"LevelProgress",innerHTML:gt}),yt=({loyaltyPoints:r,spendablePoints:e,pointExpireString:t,language:a})=>s.h("div",{class:"PointsInfo"},r&&r>=0&&s.h("div",{class:"Points"},r," ",s.h("sub",{class:"XP"},U.translate("xp",a))),e&&s.h("div",{class:"Points"},e," ",s.h("sub",{class:"XP"},U.translate("sp",a))),t&&s.h("div",{class:"ExpirationPoints"},t," ")),pt=({language:r,onRedeemClick:e})=>s.h("div",{class:"CardCell Redeem"},s.h("div",{class:"RedeemButton",onClick:()=>{e()}},s.h("span",null,U.translate("redeem",r)))),bt=r=>s.h("div",{class:"CardCell PlayerName Txt"},r.playerName),Ct=r=>s.h("div",{class:"CardCell ElevateLevel"},s.h("span",{class:"LevelName",title:r.level},r.level),r.expireTime&&s.h("div",{class:"CardCell ExpirationDate Txt"},U.translate("expireOn",r.language),s.h("span",{class:"ExpireTime"},z(new Date(r.expireTime),r.dateFormat||"yyyy-MM-dd")),!r.hideInfo&&s.h("span",{class:"fa Info",style:{background:`url(${s.getAssetPath("../static/info.svg")})`}},s.h("span",{class:"InfoTips",innerHTML:vt})))),xt=r=>s.h("div",{class:"CardCell ElevateLevel Expire"},s.h("div",{class:"CardCell ExpirationDate Txt"},U.translate("expireOn",r.language),s.h("span",{class:"ExpireTime"},z(new Date(r.expireTime),r.dateFormat||"yyyy-MM-dd")))),Tt=r=>{const e=r.loyaltyIconUrl?s.h("img",{class:"Badge",src:r.loyaltyIconUrl}):r.hideIfNull?"":s.h("div",{class:"Badge"}),t=r.playerAvatarUrl||s.getAssetPath("../static/user.svg");return s.h("div",{class:"PlayerAvatar",style:{position:`${r.onlyBadge?"":"relative"}`}},!r.onlyBadge&&s.h("img",{class:"Avatar",src:t}),e)};exports.LoyaltyLevelExpireDay=xt;exports.PlayerAvatar=Tt;exports.PlayerElevateCardRedeem=pt;exports.PlayerElevateLoyaltyLevel=Ct;exports.PlayerLoyaltyProcess=wt;exports.PlayerNameDiv=bt;exports.PlayerPoints=yt;exports.getTimezoneOffsetInMilliseconds=X;exports.requiredArgs=h;exports.toDate=p;