@everymatrix/casino-tournaments-page-controller 1.94.48 → 1.94.50

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 (40) hide show
  1. package/components/{CasinoTournamentsDetails-D3GUdbs4.js → CasinoTournamentsDetails-DhBGxiC8.js} +1 -1
  2. package/components/{CasinoTournamentsDetails-GGhH8bBf.js → CasinoTournamentsDetails-YelzeAq0.js} +1 -1
  3. package/components/{CasinoTournamentsDetails-Bo1jZCls.cjs → CasinoTournamentsDetails-yD5c3FCN.cjs} +1 -1
  4. package/components/{CasinoTournamentsPageController-DXNjqasm.js → CasinoTournamentsPageController-BmarOoc0.js} +7 -7
  5. package/components/{CasinoTournamentsPageController-BigW1Sjx.js → CasinoTournamentsPageController-BryleEOC.js} +7 -7
  6. package/components/{CasinoTournamentsPageController-Cgdh262U.cjs → CasinoTournamentsPageController-GimdTsLg.cjs} +1 -1
  7. package/components/{CasinoTournamentsRank-yPNaGsVY.cjs → CasinoTournamentsRank-0BRGg2bh.cjs} +1 -1
  8. package/components/{CasinoTournamentsRank-BxhtnLXv.js → CasinoTournamentsRank-DlDwPSxH.js} +1 -1
  9. package/components/{CasinoTournamentsRank-DxwVh0FB.js → CasinoTournamentsRank-O0WVmmHp.js} +1 -1
  10. package/components/{CasinoTournamentsTab-DkKcIK0h.js → CasinoTournamentsTab-D1Sr3Fpl.js} +1 -1
  11. package/components/{CasinoTournamentsTab-CzBxrsjs.cjs → CasinoTournamentsTab-DKKTiJjW.cjs} +1 -1
  12. package/components/{CasinoTournamentsTab-D3ksYB0T.js → CasinoTournamentsTab-lTGfOq6N.js} +1 -1
  13. package/components/{CasinoTournamentsTable-DpE3ot59.js → CasinoTournamentsTable-C0Krgpwi.js} +1 -1
  14. package/components/{CasinoTournamentsTable-BTlc0Uta.js → CasinoTournamentsTable-C78t1XsQ.js} +1 -1
  15. package/components/{CasinoTournamentsTable-DZ9mixlt.cjs → CasinoTournamentsTable-ChGPVAwF.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnail-Cfg8cQOE.js → CasinoTournamentsThumbnail-BwfyHrlX.js} +1 -1
  17. package/components/{CasinoTournamentsThumbnail-DVFg3CO3.js → CasinoTournamentsThumbnail-DStOJkp-.js} +1 -1
  18. package/components/{CasinoTournamentsThumbnail-DmcsLD-8.cjs → CasinoTournamentsThumbnail-DfRR6d0F.cjs} +1 -1
  19. package/components/{CasinoTournamentsThumbnailController-DoYSZjIP.cjs → CasinoTournamentsThumbnailController-C6rCLMl6.cjs} +1 -1
  20. package/components/{CasinoTournamentsThumbnailController-B5_UWYXT.js → CasinoTournamentsThumbnailController-D01PDAJG.js} +5 -5
  21. package/components/{CasinoTournamentsThumbnailController-CFkrkXBV.js → CasinoTournamentsThumbnailController-D1ObieLB.js} +5 -5
  22. package/components/{CasinoTournamentsThumbnailDuration-DskUwmgH.cjs → CasinoTournamentsThumbnailDuration-BA51iqJW.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailDuration-bn_g4gQJ.js → CasinoTournamentsThumbnailDuration-DwM02xGd.js} +3 -3
  24. package/components/{CasinoTournamentsThumbnailDuration-dPMn_Cza.js → CasinoTournamentsThumbnailDuration-GKvNCbBa.js} +3 -3
  25. package/components/{CasinoTournamentsThumbnailGames-ySpZe2fz.js → CasinoTournamentsThumbnailGames-BpSXSr-i.js} +1 -1
  26. package/components/{CasinoTournamentsThumbnailGames-Ddq-ymiy.cjs → CasinoTournamentsThumbnailGames-CLHDiepZ.cjs} +1 -1
  27. package/components/{CasinoTournamentsThumbnailGames-FyR3eOH4.js → CasinoTournamentsThumbnailGames-GXy65H8f.js} +1 -1
  28. package/components/{CasinoTournamentsThumbnailGamesSlider-B3RUv_uD.js → CasinoTournamentsThumbnailGamesSlider-BLi8yI6I.js} +1 -1
  29. package/components/{CasinoTournamentsThumbnailGamesSlider-ZU2EGRoI.cjs → CasinoTournamentsThumbnailGamesSlider-CQ7aCCMM.cjs} +1 -1
  30. package/components/{CasinoTournamentsThumbnailGamesSlider-r9RJKpRJ.js → CasinoTournamentsThumbnailGamesSlider-DfI3sOAl.js} +1 -1
  31. package/components/{CasinoTournamentsThumbnailPrizes-B5BFf9Iu.js → CasinoTournamentsThumbnailPrizes-B9O1CFUZ.js} +1 -1
  32. package/components/{CasinoTournamentsThumbnailPrizes-D7pPAJQO.cjs → CasinoTournamentsThumbnailPrizes-C-7ZvSGe.cjs} +1 -1
  33. package/components/{CasinoTournamentsThumbnailPrizes-DnR5_6Ua.js → CasinoTournamentsThumbnailPrizes-CXf9n3sR.js} +1 -1
  34. package/components/{CasinoTournamentsThumbnailRule-J7g5M5R5.js → CasinoTournamentsThumbnailRule-C2DcYTII.js} +2 -2
  35. package/components/{CasinoTournamentsThumbnailRule-COhPbHQS.cjs → CasinoTournamentsThumbnailRule-DUq2bymI.cjs} +2 -2
  36. package/components/{CasinoTournamentsThumbnailRule-DpMkhzD-.js → CasinoTournamentsThumbnailRule-PUlEIr81.js} +2 -2
  37. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  38. package/es2015/casino-tournaments-page-controller.js +1 -1
  39. package/esnext/casino-tournaments-page-controller.js +1 -1
  40. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { S, i as j, f as b, s as A, c as B, a as q, n as k, d as w, b as _, e as g, g as h, h as D, j as l, k as L, o as z, l as H, m as E, t as R, p as U, q as G, r as x, u as I, v as J, w as K, x as N } from "./CasinoTournamentsPageController-DXNjqasm.js";
1
+ import { S, i as j, f as b, s as A, c as B, a as q, n as k, d as w, b as _, e as g, g as h, h as D, j as l, k as L, o as z, l as H, m as E, t as R, p as U, q as G, r as x, u as I, v as J, w as K, x as N } from "./CasinoTournamentsPageController-BmarOoc0.js";
2
2
  function O(s) {
3
3
  q(s, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { S, i as j, s as A, f as b, a as B, n as k, d as w, b as _, c as g, e as h, g as D, h as l, j as q, o as L, k as z, l as H, t as E, m as R, p as U, q as x, r as G, u as I, v as J, w as K, x as N } from "./CasinoTournamentsPageController-BigW1Sjx.js";
1
+ import { S, i as j, s as A, f as b, a as B, n as k, d as w, b as _, c as g, e as h, g as D, h as l, j as q, o as L, k as z, l as H, t as E, m as R, p as U, q as x, r as G, u as I, v as J, w as K, x as N } from "./CasinoTournamentsPageController-BryleEOC.js";
2
2
  function O(s) {
3
3
  B(s, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoTournamentsPageController-Cgdh262U.cjs");function k(r){t.append_styles(r,"svelte-q9wa7c","*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}")}function h(r){let e,l,i,s,n,a,f;function c(d,p){return d[3]?v:C}let g=c(r),u=g(r);return{c(){e=t.element("div"),l=t.element("p"),i=t.text(r[0]),s=t.space(),n=t.element("div"),u.c(),t.attr(l,"class","Title"),t.attr(l,"part","Title"),t.attr(n,"class","CollapseButtonDetails"),t.attr(n,"part","CollapseButtonDetails"),t.attr(e,"class","DetailsTitle"),t.attr(e,"part","DetailsTitle")},m(d,p){t.insert(d,e,p),t.append(e,l),t.append(l,i),t.append(e,s),t.append(e,n),u.m(n,null),a||(f=t.listen(e,"click",r[5]),a=!0)},p(d,p){p&1&&t.set_data(i,d[0]),g!==(g=c(d))&&(u.d(1),u=g(d),u&&(u.c(),u.m(n,null)))},d(d){d&&t.detach(e),u.d(),a=!1,f()}}}function v(r){let e,l;return{c(){e=t.svg_element("svg"),l=t.svg_element("path"),t.attr(l,"d","M6 9l6 6 6-6"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"stroke","#ffffff"),t.attr(e,"stroke-width","2"),t.attr(e,"stroke-linecap","round"),t.attr(e,"stroke-linejoin","round")},m(i,s){t.insert(i,e,s),t.append(e,l)},d(i){i&&t.detach(e)}}}function C(r){let e,l;return{c(){e=t.svg_element("svg"),l=t.svg_element("path"),t.attr(l,"d","M18 15l-6-6-6 6"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"stroke","#ffffff"),t.attr(e,"stroke-width","2"),t.attr(e,"stroke-linecap","round"),t.attr(e,"stroke-linejoin","round")},m(i,s){t.insert(i,e,s),t.append(e,l)},d(i){i&&t.detach(e)}}}function b(r){let e,l,i,s;return{c(){e=t.element("div"),e.innerHTML="",t.attr(e,"class","DetailsContent sc"),t.attr(e,"part","DetailsContent")},m(n,a){t.insert(n,e,a),i||(s=t.action_destroyer(l=r[6].call(null,e,r[1])),i=!0)},p(n,a){l&&t.is_function(l.update)&&a&2&&l.update.call(null,n[1])},d(n){n&&t.detach(e),i=!1,s()}}}function D(r){let e,l,i=r[0]&&h(r),s=r[1]&&!r[3]&&b(r);return{c(){e=t.element("div"),i&&i.c(),l=t.space(),s&&s.c(),t.attr(e,"class","DetailsCard "+(t.isMobile(r[4])?"Mobile":"")),t.attr(e,"part","DetailsCard")},m(n,a){t.insert(n,e,a),i&&i.m(e,null),t.append(e,l),s&&s.m(e,null),r[10](e)},p(n,[a]){n[0]?i?i.p(n,a):(i=h(n),i.c(),i.m(e,l)):i&&(i.d(1),i=null),n[1]&&!n[3]?s?s.p(n,a):(s=b(n),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(n){n&&t.detach(e),i&&i.d(),s&&s.d(),r[10](null)}}}function T(r,e,l){let{title:i=""}=e,{text:s=""}=e,{mbsource:n}=e,{clientstyling:a=""}=e,{clientstylingurl:f=""}=e,c,g,u=!1,d=window.navigator.userAgent;const p=()=>{l(3,u=!u)},w=(o,x)=>{let m=document.createElement("div");m.innerHTML=x,o.append(m)};t.onMount(()=>()=>{});function y(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return r.$$set=o=>{"title"in o&&l(0,i=o.title),"text"in o&&l(1,s=o.text),"mbsource"in o&&l(7,n=o.mbsource),"clientstyling"in o&&l(8,a=o.clientstyling),"clientstylingurl"in o&&l(9,f=o.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&260&&a&&c&&t.setClientStyling(c,a),r.$$.dirty&516&&f&&c&&t.setClientStylingURL(c,f),r.$$.dirty&132&&n&&c&&t.setStreamStyling(c,`${n}.Style`,g)},[i,s,c,u,d,p,w,n,a,f,y]}class _ extends t.SvelteComponent{constructor(e){super(),t.init(this,e,T,D,t.safe_not_equal,{title:0,text:1,mbsource:7,clientstyling:8,clientstylingurl:9},k)}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),t.flush()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),t.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(_,{title:{},text:{},mbsource:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoTournamentsPageController-GimdTsLg.cjs");function k(r){t.append_styles(r,"svelte-q9wa7c","*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}")}function h(r){let e,l,i,s,n,a,f;function c(d,p){return d[3]?v:C}let g=c(r),u=g(r);return{c(){e=t.element("div"),l=t.element("p"),i=t.text(r[0]),s=t.space(),n=t.element("div"),u.c(),t.attr(l,"class","Title"),t.attr(l,"part","Title"),t.attr(n,"class","CollapseButtonDetails"),t.attr(n,"part","CollapseButtonDetails"),t.attr(e,"class","DetailsTitle"),t.attr(e,"part","DetailsTitle")},m(d,p){t.insert(d,e,p),t.append(e,l),t.append(l,i),t.append(e,s),t.append(e,n),u.m(n,null),a||(f=t.listen(e,"click",r[5]),a=!0)},p(d,p){p&1&&t.set_data(i,d[0]),g!==(g=c(d))&&(u.d(1),u=g(d),u&&(u.c(),u.m(n,null)))},d(d){d&&t.detach(e),u.d(),a=!1,f()}}}function v(r){let e,l;return{c(){e=t.svg_element("svg"),l=t.svg_element("path"),t.attr(l,"d","M6 9l6 6 6-6"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"stroke","#ffffff"),t.attr(e,"stroke-width","2"),t.attr(e,"stroke-linecap","round"),t.attr(e,"stroke-linejoin","round")},m(i,s){t.insert(i,e,s),t.append(e,l)},d(i){i&&t.detach(e)}}}function C(r){let e,l;return{c(){e=t.svg_element("svg"),l=t.svg_element("path"),t.attr(l,"d","M18 15l-6-6-6 6"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"stroke","#ffffff"),t.attr(e,"stroke-width","2"),t.attr(e,"stroke-linecap","round"),t.attr(e,"stroke-linejoin","round")},m(i,s){t.insert(i,e,s),t.append(e,l)},d(i){i&&t.detach(e)}}}function b(r){let e,l,i,s;return{c(){e=t.element("div"),e.innerHTML="",t.attr(e,"class","DetailsContent sc"),t.attr(e,"part","DetailsContent")},m(n,a){t.insert(n,e,a),i||(s=t.action_destroyer(l=r[6].call(null,e,r[1])),i=!0)},p(n,a){l&&t.is_function(l.update)&&a&2&&l.update.call(null,n[1])},d(n){n&&t.detach(e),i=!1,s()}}}function D(r){let e,l,i=r[0]&&h(r),s=r[1]&&!r[3]&&b(r);return{c(){e=t.element("div"),i&&i.c(),l=t.space(),s&&s.c(),t.attr(e,"class","DetailsCard "+(t.isMobile(r[4])?"Mobile":"")),t.attr(e,"part","DetailsCard")},m(n,a){t.insert(n,e,a),i&&i.m(e,null),t.append(e,l),s&&s.m(e,null),r[10](e)},p(n,[a]){n[0]?i?i.p(n,a):(i=h(n),i.c(),i.m(e,l)):i&&(i.d(1),i=null),n[1]&&!n[3]?s?s.p(n,a):(s=b(n),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(n){n&&t.detach(e),i&&i.d(),s&&s.d(),r[10](null)}}}function T(r,e,l){let{title:i=""}=e,{text:s=""}=e,{mbsource:n}=e,{clientstyling:a=""}=e,{clientstylingurl:f=""}=e,c,g,u=!1,d=window.navigator.userAgent;const p=()=>{l(3,u=!u)},w=(o,x)=>{let m=document.createElement("div");m.innerHTML=x,o.append(m)};t.onMount(()=>()=>{});function y(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return r.$$set=o=>{"title"in o&&l(0,i=o.title),"text"in o&&l(1,s=o.text),"mbsource"in o&&l(7,n=o.mbsource),"clientstyling"in o&&l(8,a=o.clientstyling),"clientstylingurl"in o&&l(9,f=o.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&260&&a&&c&&t.setClientStyling(c,a),r.$$.dirty&516&&f&&c&&t.setClientStylingURL(c,f),r.$$.dirty&132&&n&&c&&t.setStreamStyling(c,`${n}.Style`,g)},[i,s,c,u,d,p,w,n,a,f,y]}class _ extends t.SvelteComponent{constructor(e){super(),t.init(this,e,T,D,t.safe_not_equal,{title:0,text:1,mbsource:7,clientstyling:8,clientstylingurl:9},k)}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),t.flush()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),t.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(_,{title:{},text:{},mbsource:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=_;
@@ -7602,7 +7602,7 @@ if (typeof window < "u") {
7602
7602
  }
7603
7603
  };
7604
7604
  };
7605
- customElements.define = e(customElements.define), import("./CasinoTournamentsDetails-D3GUdbs4.js").then(({ default: t }) => {
7605
+ customElements.define = e(customElements.define), import("./CasinoTournamentsDetails-DhBGxiC8.js").then(({ default: t }) => {
7606
7606
  !customElements.get("casino-tournaments-details") && customElements.define("casino-tournaments-details", t.element);
7607
7607
  });
7608
7608
  }
@@ -7618,7 +7618,7 @@ if (typeof window < "u") {
7618
7618
  }
7619
7619
  };
7620
7620
  };
7621
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-CFkrkXBV.js").then(
7621
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-D1ObieLB.js").then(
7622
7622
  ({ default: t }) => {
7623
7623
  !customElements.get("casino-tournaments-thumbnail-controller") && customElements.define(
7624
7624
  "casino-tournaments-thumbnail-controller",
@@ -7639,7 +7639,7 @@ if (typeof window < "u") {
7639
7639
  }
7640
7640
  };
7641
7641
  };
7642
- customElements.define = e(customElements.define), import("./CasinoTournamentsTable-DpE3ot59.js").then(({ default: t }) => {
7642
+ customElements.define = e(customElements.define), import("./CasinoTournamentsTable-C0Krgpwi.js").then(({ default: t }) => {
7643
7643
  !customElements.get("casino-tournaments-table") && customElements.define("casino-tournaments-table", t.element);
7644
7644
  });
7645
7645
  }
@@ -7655,7 +7655,7 @@ if (typeof window < "u") {
7655
7655
  }
7656
7656
  };
7657
7657
  };
7658
- customElements.define = e(customElements.define), import("./CasinoTournamentsTab-D3ksYB0T.js").then(({ default: t }) => {
7658
+ customElements.define = e(customElements.define), import("./CasinoTournamentsTab-lTGfOq6N.js").then(({ default: t }) => {
7659
7659
  !customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", t.element);
7660
7660
  });
7661
7661
  }
@@ -7671,7 +7671,7 @@ if (typeof window < "u") {
7671
7671
  }
7672
7672
  };
7673
7673
  };
7674
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailRule-DpMkhzD-.js").then(({ default: t }) => {
7674
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailRule-PUlEIr81.js").then(({ default: t }) => {
7675
7675
  !customElements.get("casino-tournaments-thumbnail-rule") && customElements.define("casino-tournaments-thumbnail-rule", t.element);
7676
7676
  });
7677
7677
  }
@@ -7687,7 +7687,7 @@ if (typeof window < "u") {
7687
7687
  }
7688
7688
  };
7689
7689
  };
7690
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-BxhtnLXv.js").then(({ default: t }) => {
7690
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-DlDwPSxH.js").then(({ default: t }) => {
7691
7691
  !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
7692
7692
  });
7693
7693
  }
@@ -7703,7 +7703,7 @@ if (typeof window < "u") {
7703
7703
  }
7704
7704
  };
7705
7705
  };
7706
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailGames-ySpZe2fz.js").then(({ default: t }) => {
7706
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailGames-BpSXSr-i.js").then(({ default: t }) => {
7707
7707
  !customElements.get("casino-tournaments-thumbnail-games") && customElements.define("casino-tournaments-thumbnail-games", t.element);
7708
7708
  });
7709
7709
  }
@@ -7639,7 +7639,7 @@ if (typeof window != "undefined") {
7639
7639
  }
7640
7640
  };
7641
7641
  };
7642
- customElements.define = e(customElements.define), import("./CasinoTournamentsDetails-GGhH8bBf.js").then(({ default: t }) => {
7642
+ customElements.define = e(customElements.define), import("./CasinoTournamentsDetails-YelzeAq0.js").then(({ default: t }) => {
7643
7643
  !customElements.get("casino-tournaments-details") && customElements.define("casino-tournaments-details", t.element);
7644
7644
  });
7645
7645
  }
@@ -7655,7 +7655,7 @@ if (typeof window != "undefined") {
7655
7655
  }
7656
7656
  };
7657
7657
  };
7658
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-B5_UWYXT.js").then(
7658
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-D01PDAJG.js").then(
7659
7659
  ({ default: t }) => {
7660
7660
  !customElements.get("casino-tournaments-thumbnail-controller") && customElements.define(
7661
7661
  "casino-tournaments-thumbnail-controller",
@@ -7676,7 +7676,7 @@ if (typeof window != "undefined") {
7676
7676
  }
7677
7677
  };
7678
7678
  };
7679
- customElements.define = e(customElements.define), import("./CasinoTournamentsTable-BTlc0Uta.js").then(({ default: t }) => {
7679
+ customElements.define = e(customElements.define), import("./CasinoTournamentsTable-C78t1XsQ.js").then(({ default: t }) => {
7680
7680
  !customElements.get("casino-tournaments-table") && customElements.define("casino-tournaments-table", t.element);
7681
7681
  });
7682
7682
  }
@@ -7692,7 +7692,7 @@ if (typeof window != "undefined") {
7692
7692
  }
7693
7693
  };
7694
7694
  };
7695
- customElements.define = e(customElements.define), import("./CasinoTournamentsTab-DkKcIK0h.js").then(({ default: t }) => {
7695
+ customElements.define = e(customElements.define), import("./CasinoTournamentsTab-D1Sr3Fpl.js").then(({ default: t }) => {
7696
7696
  !customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", t.element);
7697
7697
  });
7698
7698
  }
@@ -7708,7 +7708,7 @@ if (typeof window != "undefined") {
7708
7708
  }
7709
7709
  };
7710
7710
  };
7711
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailRule-J7g5M5R5.js").then(({ default: t }) => {
7711
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailRule-C2DcYTII.js").then(({ default: t }) => {
7712
7712
  !customElements.get("casino-tournaments-thumbnail-rule") && customElements.define("casino-tournaments-thumbnail-rule", t.element);
7713
7713
  });
7714
7714
  }
@@ -7724,7 +7724,7 @@ if (typeof window != "undefined") {
7724
7724
  }
7725
7725
  };
7726
7726
  };
7727
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-DxwVh0FB.js").then(({ default: t }) => {
7727
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-O0WVmmHp.js").then(({ default: t }) => {
7728
7728
  !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
7729
7729
  });
7730
7730
  }
@@ -7740,7 +7740,7 @@ if (typeof window != "undefined") {
7740
7740
  }
7741
7741
  };
7742
7742
  };
7743
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailGames-FyR3eOH4.js").then(({ default: t }) => {
7743
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailGames-GXy65H8f.js").then(({ default: t }) => {
7744
7744
  !customElements.get("casino-tournaments-thumbnail-games") && customElements.define("casino-tournaments-thumbnail-games", t.element);
7745
7745
  });
7746
7746
  }
@@ -30,7 +30,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
30
30
  * https://github.com/Yaffle/EventSource/
31
31
  */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,s=n.XMLHttpRequest,a=n.XDomainRequest,o=n.ActiveXObject,u=n.EventSource,l=n.document,h=n.Promise,g=n.fetch,m=n.Response,D=n.TextDecoder,I=n.TextEncoder,R=n.AbortController;if(typeof window!="undefined"&&typeof l!="undefined"&&!("readyState"in l)&&l.body==null&&(l.readyState="loading",window.addEventListener("load",function(d){l.readyState="complete"},!1)),s==null&&o!=null&&(s=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(d){function _(){}return _.prototype=d,new _}),Date.now||(Date.now=function(){return new Date().getTime()}),R==null){var V=g;g=function(d,_){var M=_.signal;return V(d,{headers:_.headers,credentials:_.credentials,cache:_.cache}).then(function(v){var C=v.body.getReader();return M._reader=C,M._aborted&&M._reader.cancel(),{status:v.status,statusText:v.statusText,headers:v.headers,body:{getReader:function(){return C}}}})},R=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function ve(){this.bitsNeeded=0,this.codePoint=0}ve.prototype.decode=function(d){function _(Q,re,k){if(k===1)return Q>=128>>re&&Q<<re<=2047;if(k===2)return Q>=2048>>re&&Q<<re<=55295||Q>=57344>>re&&Q<<re<=65535;if(k===3)return Q>=65536>>re&&Q<<re<=1114111;throw new Error}function M(Q,re){if(Q===6*1)return re>>6>15?3:re>31?2:1;if(Q===6*2)return re>15?3:2;if(Q===6*3)return 3;throw new Error}for(var v=65533,C="",P=this.bitsNeeded,U=this.codePoint,se=0;se<d.length;se+=1){var z=d[se];P!==0&&(z<128||z>191||!_(U<<6|z&63,P-6,M(P,U)))&&(P=0,U=v,C+=String.fromCharCode(U)),P===0?(z>=0&&z<=127?(P=0,U=z):z>=192&&z<=223?(P=6*1,U=z&31):z>=224&&z<=239?(P=6*2,U=z&15):z>=240&&z<=247?(P=6*3,U=z&7):(P=0,U=v),P!==0&&!_(U,P,M(P,U))&&(P=0,U=v)):(P-=6,U=U<<6|z&63),P===0&&(U<=65535?C+=String.fromCharCode(U):(C+=String.fromCharCode(55296+(U-65535-1>>10)),C+=String.fromCharCode(56320+(U-65535-1&1023))))}return this.bitsNeeded=P,this.codePoint=U,C};var J=function(){try{return new D().decode(new I().encode("test"),{stream:!0})==="test"}catch(d){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+d)}return!1};(D==null||I==null||!J())&&(D=ve);var A=function(){};function Y(d){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=A,this.onload=A,this.onerror=A,this.onreadystatechange=A,this._contentType="",this._xhr=d,this._sendTimeout=0,this._abort=A}Y.prototype.open=function(d,_){this._abort(!0);var M=this,v=this._xhr,C=1,P=0;this._abort=function(k){M._sendTimeout!==0&&(i(M._sendTimeout),M._sendTimeout=0),(C===1||C===2||C===3)&&(C=4,v.onload=A,v.onerror=A,v.onabort=A,v.onprogress=A,v.onreadystatechange=A,v.abort(),P!==0&&(i(P),P=0),k||(M.readyState=4,M.onabort(null),M.onreadystatechange())),C=0};var U=function(){if(C===1){var k=0,le="",Xe=void 0;if("contentType"in v)k=200,le="OK",Xe=v.contentType;else try{k=v.status,le=v.statusText,Xe=v.getResponseHeader("Content-Type")}catch(Ct){k=0,le="",Xe=void 0}k!==0&&(C=2,M.readyState=2,M.status=k,M.statusText=le,M._contentType=Xe,M.onreadystatechange())}},se=function(){if(U(),C===2||C===3){C=3;var k="";try{k=v.responseText}catch(le){}M.readyState=3,M.responseText=k,M.onprogress()}},z=function(k,le){if((le==null||le.preventDefault==null)&&(le={preventDefault:A}),se(),C===1||C===2||C===3){if(C=4,P!==0&&(i(P),P=0),M.readyState=4,k==="load")M.onload(le);else if(k==="error")M.onerror(le);else if(k==="abort")M.onabort(le);else throw new TypeError;M.onreadystatechange()}},Q=function(k){v!=null&&(v.readyState===4?(!("onload"in v)||!("onerror"in v)||!("onabort"in v))&&z(v.responseText===""?"error":"load",k):v.readyState===3?"onprogress"in v||se():v.readyState===2&&U())},re=function(){P=r(function(){re()},500),v.readyState===3&&se()};"onload"in v&&(v.onload=function(k){z("load",k)}),"onerror"in v&&(v.onerror=function(k){z("error",k)}),"onabort"in v&&(v.onabort=function(k){z("abort",k)}),"onprogress"in v&&(v.onprogress=se),"onreadystatechange"in v&&(v.onreadystatechange=function(k){Q(k)}),("contentType"in v||!("ontimeout"in s.prototype))&&(_+=(_.indexOf("?")===-1?"?":"&")+"padding=true"),v.open(d,_,!0),"readyState"in v&&(P=r(function(){re()},0))},Y.prototype.abort=function(){this._abort(!1)},Y.prototype.getResponseHeader=function(d){return this._contentType},Y.prototype.setRequestHeader=function(d,_){var M=this._xhr;"setRequestHeader"in M&&M.setRequestHeader(d,_)},Y.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},Y.prototype.send=function(){if((!("ontimeout"in s.prototype)||!("sendAsBinary"in s.prototype)&&!("mozAnon"in s.prototype))&&l!=null&&l.readyState!=null&&l.readyState!=="complete"){var d=this;d._sendTimeout=r(function(){d._sendTimeout=0,d.send()},4);return}var _=this._xhr;"withCredentials"in _&&(_.withCredentials=this.withCredentials);try{_.send(void 0)}catch(M){throw M}};function E(d){return d.replace(/[A-Z]/g,function(_){return String.fromCharCode(_.charCodeAt(0)+32)})}function j(d){for(var _=Object.create(null),M=d.split(`\r
32
32
  `),v=0;v<M.length;v+=1){var C=M[v],P=C.split(": "),U=P.shift(),se=P.join(": ");_[E(U)]=se}this._map=_}j.prototype.get=function(d){return this._map[E(d)]},s!=null&&s.HEADERS_RECEIVED==null&&(s.HEADERS_RECEIVED=2);function De(){}De.prototype.open=function(d,_,M,v,C,P,U){d.open("GET",C);var se=0;d.onprogress=function(){var Q=d.responseText,re=Q.slice(se);se+=re.length,M(re)},d.onerror=function(Q){Q.preventDefault(),v(new Error("NetworkError"))},d.onload=function(){v(null)},d.onabort=function(){v(null)},d.onreadystatechange=function(){if(d.readyState===s.HEADERS_RECEIVED){var Q=d.status,re=d.statusText,k=d.getResponseHeader("Content-Type"),le=d.getAllResponseHeaders();_(Q,re,k,new j(le))}},d.withCredentials=P;for(var z in U)Object.prototype.hasOwnProperty.call(U,z)&&d.setRequestHeader(z,U[z]);return d.send(),d};function ce(d){this._headers=d}ce.prototype.get=function(d){return this._headers.get(d)};function je(){}je.prototype.open=function(d,_,M,v,C,P,U){var se=null,z=new R,Q=z.signal,re=new D;return g(C,{headers:U,credentials:P?"include":"same-origin",signal:Q,cache:"no-store"}).then(function(k){return se=k.body.getReader(),_(k.status,k.statusText,k.headers.get("Content-Type"),new ce(k.headers)),new h(function(le,Xe){var Ct=function(){se.read().then(function(Le){if(Le.done)le(void 0);else{var Ce=re.decode(Le.value,{stream:!0});M(Ce),Ct()}}).catch(function(Le){Xe(Le)})};Ct()})}).catch(function(k){if(k.name!=="AbortError")return k}).then(function(k){v(k)}),{abort:function(){se!=null&&se.cancel(),z.abort()}}};function Ne(){this._listeners=Object.create(null)}function kt(d){r(function(){throw d},0)}Ne.prototype.dispatchEvent=function(d){d.target=this;var _=this._listeners[d.type];if(_!=null)for(var M=_.length,v=0;v<M;v+=1){var C=_[v];try{typeof C.handleEvent=="function"?C.handleEvent(d):C.call(this,d)}catch(P){kt(P)}}},Ne.prototype.addEventListener=function(d,_){d=String(d);var M=this._listeners,v=M[d];v==null&&(v=[],M[d]=v);for(var C=!1,P=0;P<v.length;P+=1)v[P]===_&&(C=!0);C||v.push(_)},Ne.prototype.removeEventListener=function(d,_){d=String(d);var M=this._listeners,v=M[d];if(v!=null){for(var C=[],P=0;P<v.length;P+=1)v[P]!==_&&C.push(v[P]);C.length===0?delete M[d]:M[d]=C}};function ke(d){this.type=d,this.target=void 0}function ht(d,_){ke.call(this,d),this.data=_.data,this.lastEventId=_.lastEventId}ht.prototype=Object.create(ke.prototype);function _t(d,_){ke.call(this,d),this.status=_.status,this.statusText=_.statusText,this.headers=_.headers}_t.prototype=Object.create(ke.prototype);function ft(d,_){ke.call(this,d),this.error=_.error}ft.prototype=Object.create(ke.prototype);var rt=-1,Ue=0,ze=1,oe=2,it=-1,be=0,Pe=1,Se=2,H=3,Me=/^text\/event\-stream(;.*)?$/i,ge=1e3,Ie=18e6,ct=function(d,_){var M=d==null?_:parseInt(d,10);return M!==M&&(M=_),S(M)},S=function(d){return Math.min(Math.max(d,ge),Ie)},B=function(d,_,M){try{typeof _=="function"&&_.call(d,M)}catch(v){kt(v)}};function ne(d,_){Ne.call(this),_=_||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,Bt(this,d,_)}function Ge(){return s!=null&&"withCredentials"in s.prototype||a==null?new s:new a}var Bn=g!=null&&m!=null&&"body"in m.prototype;function Bt(d,_,M){_=String(_);var v=!!M.withCredentials,C=M.lastEventIdQueryParameterName||"lastEventId",P=S(1e3),U=ct(M.heartbeatTimeout,45e3),se="",z=P,Q=!1,re=0,k=M.headers||{},le=M.Transport,Xe=Bn&&le==null?void 0:new Y(le!=null?new le:Ge()),Ct=le!=null&&typeof le!="string"?new le:Xe==null?new je:new De,Le=void 0,Ce=0,Ve=rt,qe="",Rt="",st="",Ft="",Oe=be,bn=0,yt=0,Cr=function(_e,we,f,w){if(Ve===Ue)if(_e===200&&f!=null&&Me.test(f)){Ve=ze,Q=Date.now(),z=P,d.readyState=ze;var O=new _t("open",{status:_e,statusText:we,headers:w});d.dispatchEvent(O),B(d,d.onopen,O)}else{var N="";_e!==200?(we&&(we=we.replace(/\s+/g," ")),N="EventSource's response has a status "+_e+" "+we+" that is not 200. Aborting the connection."):N="EventSource's response has a Content-Type specifying an unsupported type: "+(f==null?"-":f.replace(/\s+/g," "))+". Aborting the connection.",_n();var O=new _t("error",{status:_e,statusText:we,headers:w});d.dispatchEvent(O),B(d,d.onerror,O),console.error(N)}},Rr=function(_e){if(Ve===ze){for(var we=-1,f=0;f<_e.length;f+=1){var w=_e.charCodeAt(f);(w===10||w===13)&&(we=f)}var O=(we!==-1?Ft:"")+_e.slice(0,we+1);Ft=(we===-1?Ft:"")+_e.slice(we+1),_e!==""&&(Q=Date.now(),re+=_e.length);for(var N=0;N<O.length;N+=1){var w=O.charCodeAt(N);if(Oe===it&&w===10)Oe=be;else if(Oe===it&&(Oe=be),w===13||w===10){if(Oe!==be){Oe===Pe&&(yt=N+1);var te=O.slice(bn,yt-1),ue=O.slice(yt+(yt<N&&O.charCodeAt(yt)===32?1:0),N);te==="data"?(qe+=`
33
- `,qe+=ue):te==="id"?Rt=ue:te==="event"?st=ue:te==="retry"?(P=ct(ue,P),z=P):te==="heartbeatTimeout"&&(U=ct(ue,U),Ce!==0&&(i(Ce),Ce=r(function(){Yt()},U)))}if(Oe===be){if(qe!==""){se=Rt,st===""&&(st="message");var Ee=new ht(st,{data:qe.slice(1),lastEventId:Rt});if(d.dispatchEvent(Ee),st==="open"?B(d,d.onopen,Ee):st==="message"?B(d,d.onmessage,Ee):st==="error"&&B(d,d.onerror,Ee),Ve===oe)return}qe="",st=""}Oe=w===13?it:be}else Oe===be&&(bn=N,Oe=Pe),Oe===Pe?w===58&&(yt=N+1,Oe=Se):Oe===Se&&(Oe=H)}}},Fn=function(_e){if(Ve===ze||Ve===Ue){Ve=rt,Ce!==0&&(i(Ce),Ce=0),Ce=r(function(){Yt()},z),z=S(Math.min(P*16,z*2)),d.readyState=Ue;var we=new ft("error",{error:_e});d.dispatchEvent(we),B(d,d.onerror,we),_e!=null&&console.error(_e)}},_n=function(){Ve=oe,Le!=null&&(Le.abort(),Le=void 0),Ce!==0&&(i(Ce),Ce=0),d.readyState=oe},Yt=function(){if(Ce=0,Ve!==rt){if(!Q&&Le!=null)Fn(new Error("No activity within "+U+" milliseconds. "+(Ve===Ue?"No response received.":re+" chars received.")+" Reconnecting.")),Le!=null&&(Le.abort(),Le=void 0);else{var _e=Math.max((Q||Date.now())+U-Date.now(),1);Q=!1,Ce=r(function(){Yt()},_e)}return}Q=!1,re=0,Ce=r(function(){Yt()},U),Ve=Ue,qe="",st="",Rt=se,Ft="",bn=0,yt=0,Oe=be;var we=_;if(_.slice(0,5)!=="data:"&&_.slice(0,5)!=="blob:"&&se!==""){var f=_.indexOf("?");we=f===-1?_:_.slice(0,f+1)+_.slice(f+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ue,Ee){return Ee===C?"":ue}),we+=(_.indexOf("?")===-1?"?":"&")+C+"="+encodeURIComponent(se)}var w=d.withCredentials,O={};O.Accept="text/event-stream";var N=d.headers;if(N!=null)for(var te in N)Object.prototype.hasOwnProperty.call(N,te)&&(O[te]=N[te]);try{Le=Ct.open(Xe,Cr,Rr,Fn,we,w,O)}catch(ue){throw _n(),ue}};d.url=_,d.readyState=Ue,d.withCredentials=v,d.headers=k,d._close=_n,Yt()}ne.prototype=Object.create(Ne.prototype),ne.prototype.CONNECTING=Ue,ne.prototype.OPEN=ze,ne.prototype.CLOSED=oe,ne.prototype.close=function(){this._close()},ne.CONNECTING=Ue,ne.OPEN=ze,ne.CLOSED=oe,ne.prototype.withCredentials=void 0;var $t=u;s!=null&&(u==null||!("withCredentials"in u.prototype))&&($t=ne),function(d){{var _=d(t);_!==void 0&&(e.exports=_)}}(function(d){d.EventSourcePolyfill=ne,d.NativeEventSource=u,d.EventSource=$t})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:$o:globalThis)})(gi,gi.exports);var Ms=gi.exports;const Kt="__WIDGET_GLOBAL_STYLE_CACHE__";function go(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function bo(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function _o(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=Qd(e,t),n;window[Kt]||(window[Kt]={}),n=Kd(e,t);const s=n.unsubscribe.bind(n),a=()=>{if(window[Kt][t]){const o=window[Kt][t];o.refCount>1?o.refCount=o.refCount-1:delete window[Kt][t]}s()};return n.unsubscribe=a,n}function Qd(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function Kd(e,t){return window.emMessageBus.subscribe(t,n=>{if(!e)return;const r=e.getRootNode(),i=window[Kt];let s=i[t]&&i[t].sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(n),i[t]={sheet:s,refCount:1});const a=r.adoptedStyleSheets||[];a.includes(s)||(r.adoptedStyleSheets=[...a,s])})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsDetails-Bo1jZCls.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailController-DoYSZjIP.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTable-DZ9mixlt.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-table")&&customElements.define("casino-tournaments-table",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTab-CzBxrsjs.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailRule-COhPbHQS.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-rule")&&customElements.define("casino-tournaments-thumbnail-rule",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-yPNaGsVY.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGames-Ddq-ymiy.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games")&&customElements.define("casino-tournaments-thumbnail-games",t.element)})}function em(e){Us(e,"svelte-dygtt3",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsPage{background:var(--emw--color-contrast, #07072A);width:100%;color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:row}.TournamentsPage .hidden{display:none}.TournamentsPage.MiniMode{flex-direction:column}.TournamentsSectionWrapper{padding:24px 0;width:100%}@media screen and (max-width: 1300px){.TournamentsSectionWrapper{padding:24px 2.4%}}.FullSize{width:100%}.DisplayNone{display:none}.TopButtons{display:inline-flex;flex-direction:column;padding-bottom:20px;font-size:10px}.BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButton p{font-size:24px}.NavButtons{margin-left:auto;gap:10px;display:flex}.PrevButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);width:105px;height:36px;padding:10px;font-size:16px;cursor:pointer}.NextButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);padding:10px;width:75px;height:36px;font-size:16px;cursor:pointer}.TournamentsPage.MiniMode .TournamentContentDetails.MobileClass .TabContent.Games .GamesTabNav{width:80%}.TournamentContentDetails{display:flex;gap:10px;width:100%}.TournamentContentDetails.MobileClass{flex-direction:column}.TournamentContentDetails .LeaderboardSectionWrapper{display:flex;flex-direction:column;width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .PageTabNav{max-width:600px;min-height:38px}.TournamentContentDetails .LeaderboardSectionWrapper .GamesTabNav{max-width:300px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Rules{max-width:800px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games{padding-bottom:30px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.OneGame{width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg.ball,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentCardDetails{width:var(--emw--tournament-thumbnail-width, 35%)}.TournamentCardDetails.MobileClass{width:100%}.TournamentTableDetails{flex:auto}.TournamentsPage.MiniMode{height:max-content}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails{padding:5px 5px 0px 5px;background-color:#333333;padding-bottom:12px}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails casino-tournaments-rank{display:block}.TournamentsPage.MiniMode .CloseButton{position:absolute;right:3px;top:3px;font-size:11px;cursor:pointer}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank),.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){color:#0a0c19;font-size:12px;margin:0px 0px 0px 5px;padding:2px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank){margin-left:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){margin-right:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(RankText),.TournamentsPage.MiniMode casino-tournaments-rank::part(PrizeText){font-weight:400}.TournamentsPage.MiniMode casino-tournaments-thumbnail-controller::part(TournamentCard){padding:5px 5px 0px 5px;background-color:#333333}.TournamentsPage.MiniMode casino-tournaments-tab::part(LiText){height:22px;top:calc(50% - 11px);font-style:normal;font-weight:600;font-size:14px;line-height:22px;text-align:center;letter-spacing:-0.1px}.TournamentsPage.MiniMode casino-tournaments-tab::part(CustomStylingContainer){margin-top:0px}.TournamentsPage.MiniMode .TabContent,.TournamentsPage.MiniMode casino-tournaments-tab{padding:0 16px}.TournamentsPage.MiniMode .TabContent.Rules{padding-bottom:28px}.TournamentsPage.MiniMode .TabContent.Games{padding-bottom:30px}.TournamentsPage.MiniMode .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentsPage.MiniMode .TabContent.Games .GameItems.OneGame{width:100%}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentsPage.MiniMode .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg.ball,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentsPage.MiniMode .TabContent.Games .GamesTabNav{width:50%}.TournamentsPage.MiniMode .BottomButton{font-weight:600;font-size:15px;text-align:center;height:35px;width:60%;margin:20px auto;align-items:center;padding:8.72351px 12.6887px;background:#FF8364;box-shadow:0px 0.793047px 2.37914px rgba(0, 0, 0, 0.1), 0px 1.58609px 0.793047px rgba(0, 0, 0, 0.06), 0px 0.793047px 0.793047px rgba(0, 0, 0, 0.07);border-radius:4.75828px}.TournamentsPage.MiniMode .Thumbnail{position:relative}.TournamentsPage.MiniMode .Thumbnail.Mobile{border:0px none;padding:6px 5px 10px;background:#333333}.TournamentsPage.MiniMode .Thumbnail.MiniMode .CardImg{margin-bottom:5px;width:65px;height:40px}.TournamentsPage.MiniMode .Thumbnail .CardImg{height:300px;width:100%;background:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:auto}.TournamentsPage.MiniMode .Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.TournamentsPage.MiniMode .Thumbnail .CardImg.Mobile{width:65px;height:40px;display:inline-block}.TournamentsPage.MiniMode .Thumbnail .MobileRight{display:inline-block;line-height:20px;font-size:11px;padding:2px 3px;vertical-align:top;width:calc(100% - 70px)}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title{text-transform:capitalize;font-size:var(--emw--font-size-medium, 14px);font-weight:600;background-color:transparent;height:fit-content;margin-bottom:initial}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title.Skeleton{height:var(--emw-skeleton-title-height, 30px)}.TournamentsPage.MiniMode .Thumbnail .Status{background:#000000;display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.TournamentsPage.MiniMode .Thumbnail .Enrolled{background:#2B2B5D;color:#aaaabe;display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}')}function Es(e,t,n){const r=e.slice();return r[83]=t[n],r}function xs(e,t,n){const r=e.slice();return r[83]=t[n],r}function Ds(e){let t,n=e[19]("loading")+"",r;return{c(){t=G("p"),r=At(n),b(t,"class","LoadingMessage"),b(t,"part","LoadingMessage")},m(i,s){pe(i,t,s),F(t,r)},p(i,s){s[0]&524288&&n!==(n=i[19]("loading")+"")&&cn(r,n)},d(i){i&&ae(t)}}}function tm(e){let t,n,r,i=!e[17]&&Ps(),s=e[17]&&Os(e);return{c(){t=G("div"),i&&i.c(),n=He(),s&&s.c(),b(t,"class",r=(et(e[30])?"MobileClass":"")+(e[4]=="true"?" TournamentCardDetails":" FullSize")),b(t,"part","MobileTournamentCardDetails")},m(a,o){pe(a,t,o),i&&i.m(t,null),F(t,n),s&&s.m(t,null)},p(a,o){a[17]?i&&(i.d(1),i=null):i||(i=Ps(),i.c(),i.m(t,n)),a[17]?s?s.p(a,o):(s=Os(a),s.c(),s.m(t,null)):s&&(s.d(1),s=null),o[0]&16&&r!==(r=(et(a[30])?"MobileClass":"")+(a[4]=="true"?" TournamentCardDetails":" FullSize"))&&b(t,"class",r)},d(a){a&&ae(t),i&&i.d(),s&&s.d()}}}function nm(e){let t,n,r,i,s,a,o,u=e[22].length>0&&Cs(e);return{c(){var l;t=G("div"),n=G("casino-tournaments-thumbnail-controller"),s=He(),u&&u.c(),c(n,"session",e[0]),c(n,"userid",e[1]),c(n,"endpoint",e[3]),c(n,"tournamentid",e[2]),c(n,"tournamenturl",r=(l=e[17])==null?void 0:l.href),c(n,"showdetails","false"),c(n,"showslider","false"),c(n,"showenrolled","true"),c(n,"fullsize",i=!!e[4]),c(n,"loginurl",e[11]),c(n,"loginevent",e[9]),c(n,"registerurl",e[12]),c(n,"registerevent",e[10]),c(n,"clientstyling",e[15]),c(n,"clientstylingurl",e[16]),c(n,"translationurl",e[7]),c(n,"lang",e[5]),c(n,"currency",e[6]),c(n,"mbsource",e[8]),c(n,"keepbrowsercontext",e[14]),c(n,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, Games, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
33
+ `,qe+=ue):te==="id"?Rt=ue:te==="event"?st=ue:te==="retry"?(P=ct(ue,P),z=P):te==="heartbeatTimeout"&&(U=ct(ue,U),Ce!==0&&(i(Ce),Ce=r(function(){Yt()},U)))}if(Oe===be){if(qe!==""){se=Rt,st===""&&(st="message");var Ee=new ht(st,{data:qe.slice(1),lastEventId:Rt});if(d.dispatchEvent(Ee),st==="open"?B(d,d.onopen,Ee):st==="message"?B(d,d.onmessage,Ee):st==="error"&&B(d,d.onerror,Ee),Ve===oe)return}qe="",st=""}Oe=w===13?it:be}else Oe===be&&(bn=N,Oe=Pe),Oe===Pe?w===58&&(yt=N+1,Oe=Se):Oe===Se&&(Oe=H)}}},Fn=function(_e){if(Ve===ze||Ve===Ue){Ve=rt,Ce!==0&&(i(Ce),Ce=0),Ce=r(function(){Yt()},z),z=S(Math.min(P*16,z*2)),d.readyState=Ue;var we=new ft("error",{error:_e});d.dispatchEvent(we),B(d,d.onerror,we),_e!=null&&console.error(_e)}},_n=function(){Ve=oe,Le!=null&&(Le.abort(),Le=void 0),Ce!==0&&(i(Ce),Ce=0),d.readyState=oe},Yt=function(){if(Ce=0,Ve!==rt){if(!Q&&Le!=null)Fn(new Error("No activity within "+U+" milliseconds. "+(Ve===Ue?"No response received.":re+" chars received.")+" Reconnecting.")),Le!=null&&(Le.abort(),Le=void 0);else{var _e=Math.max((Q||Date.now())+U-Date.now(),1);Q=!1,Ce=r(function(){Yt()},_e)}return}Q=!1,re=0,Ce=r(function(){Yt()},U),Ve=Ue,qe="",st="",Rt=se,Ft="",bn=0,yt=0,Oe=be;var we=_;if(_.slice(0,5)!=="data:"&&_.slice(0,5)!=="blob:"&&se!==""){var f=_.indexOf("?");we=f===-1?_:_.slice(0,f+1)+_.slice(f+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ue,Ee){return Ee===C?"":ue}),we+=(_.indexOf("?")===-1?"?":"&")+C+"="+encodeURIComponent(se)}var w=d.withCredentials,O={};O.Accept="text/event-stream";var N=d.headers;if(N!=null)for(var te in N)Object.prototype.hasOwnProperty.call(N,te)&&(O[te]=N[te]);try{Le=Ct.open(Xe,Cr,Rr,Fn,we,w,O)}catch(ue){throw _n(),ue}};d.url=_,d.readyState=Ue,d.withCredentials=v,d.headers=k,d._close=_n,Yt()}ne.prototype=Object.create(Ne.prototype),ne.prototype.CONNECTING=Ue,ne.prototype.OPEN=ze,ne.prototype.CLOSED=oe,ne.prototype.close=function(){this._close()},ne.CONNECTING=Ue,ne.OPEN=ze,ne.CLOSED=oe,ne.prototype.withCredentials=void 0;var $t=u;s!=null&&(u==null||!("withCredentials"in u.prototype))&&($t=ne),function(d){{var _=d(t);_!==void 0&&(e.exports=_)}}(function(d){d.EventSourcePolyfill=ne,d.NativeEventSource=u,d.EventSource=$t})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:$o:globalThis)})(gi,gi.exports);var Ms=gi.exports;const Kt="__WIDGET_GLOBAL_STYLE_CACHE__";function go(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function bo(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function _o(e,t,n,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return n=Qd(e,t),n;window[Kt]||(window[Kt]={}),n=Kd(e,t);const s=n.unsubscribe.bind(n),a=()=>{if(window[Kt][t]){const o=window[Kt][t];o.refCount>1?o.refCount=o.refCount-1:delete window[Kt][t]}s()};return n.unsubscribe=a,n}function Qd(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(n.innerHTML=r,e.appendChild(n))})}function Kd(e,t){return window.emMessageBus.subscribe(t,n=>{if(!e)return;const r=e.getRootNode(),i=window[Kt];let s=i[t]&&i[t].sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(n),i[t]={sheet:s,refCount:1});const a=r.adoptedStyleSheets||[];a.includes(s)||(r.adoptedStyleSheets=[...a,s])})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsDetails-yD5c3FCN.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailController-C6rCLMl6.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTable-ChGPVAwF.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-table")&&customElements.define("casino-tournaments-table",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTab-DKKTiJjW.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailRule-DUq2bymI.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-rule")&&customElements.define("casino-tournaments-thumbnail-rule",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-0BRGg2bh.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGames-CLHDiepZ.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games")&&customElements.define("casino-tournaments-thumbnail-games",t.element)})}function em(e){Us(e,"svelte-dygtt3",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsPage{background:var(--emw--color-contrast, #07072A);width:100%;color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:row}.TournamentsPage .hidden{display:none}.TournamentsPage.MiniMode{flex-direction:column}.TournamentsSectionWrapper{padding:24px 0;width:100%}@media screen and (max-width: 1300px){.TournamentsSectionWrapper{padding:24px 2.4%}}.FullSize{width:100%}.DisplayNone{display:none}.TopButtons{display:inline-flex;flex-direction:column;padding-bottom:20px;font-size:10px}.BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButton p{font-size:24px}.NavButtons{margin-left:auto;gap:10px;display:flex}.PrevButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);width:105px;height:36px;padding:10px;font-size:16px;cursor:pointer}.NextButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);padding:10px;width:75px;height:36px;font-size:16px;cursor:pointer}.TournamentsPage.MiniMode .TournamentContentDetails.MobileClass .TabContent.Games .GamesTabNav{width:80%}.TournamentContentDetails{display:flex;gap:10px;width:100%}.TournamentContentDetails.MobileClass{flex-direction:column}.TournamentContentDetails .LeaderboardSectionWrapper{display:flex;flex-direction:column;width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .PageTabNav{max-width:600px;min-height:38px}.TournamentContentDetails .LeaderboardSectionWrapper .GamesTabNav{max-width:300px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Rules{max-width:800px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games{padding-bottom:30px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.OneGame{width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg.ball,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentCardDetails{width:var(--emw--tournament-thumbnail-width, 35%)}.TournamentCardDetails.MobileClass{width:100%}.TournamentTableDetails{flex:auto}.TournamentsPage.MiniMode{height:max-content}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails{padding:5px 5px 0px 5px;background-color:#333333;padding-bottom:12px}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails casino-tournaments-rank{display:block}.TournamentsPage.MiniMode .CloseButton{position:absolute;right:3px;top:3px;font-size:11px;cursor:pointer}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank),.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){color:#0a0c19;font-size:12px;margin:0px 0px 0px 5px;padding:2px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank){margin-left:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){margin-right:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(RankText),.TournamentsPage.MiniMode casino-tournaments-rank::part(PrizeText){font-weight:400}.TournamentsPage.MiniMode casino-tournaments-thumbnail-controller::part(TournamentCard){padding:5px 5px 0px 5px;background-color:#333333}.TournamentsPage.MiniMode casino-tournaments-tab::part(LiText){height:22px;top:calc(50% - 11px);font-style:normal;font-weight:600;font-size:14px;line-height:22px;text-align:center;letter-spacing:-0.1px}.TournamentsPage.MiniMode casino-tournaments-tab::part(CustomStylingContainer){margin-top:0px}.TournamentsPage.MiniMode .TabContent,.TournamentsPage.MiniMode casino-tournaments-tab{padding:0 16px}.TournamentsPage.MiniMode .TabContent.Rules{padding-bottom:28px}.TournamentsPage.MiniMode .TabContent.Games{padding-bottom:30px}.TournamentsPage.MiniMode .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentsPage.MiniMode .TabContent.Games .GameItems.OneGame{width:100%}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentsPage.MiniMode .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg.ball,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentsPage.MiniMode .TabContent.Games .GamesTabNav{width:50%}.TournamentsPage.MiniMode .BottomButton{font-weight:600;font-size:15px;text-align:center;height:35px;width:60%;margin:20px auto;align-items:center;padding:8.72351px 12.6887px;background:#FF8364;box-shadow:0px 0.793047px 2.37914px rgba(0, 0, 0, 0.1), 0px 1.58609px 0.793047px rgba(0, 0, 0, 0.06), 0px 0.793047px 0.793047px rgba(0, 0, 0, 0.07);border-radius:4.75828px}.TournamentsPage.MiniMode .Thumbnail{position:relative}.TournamentsPage.MiniMode .Thumbnail.Mobile{border:0px none;padding:6px 5px 10px;background:#333333}.TournamentsPage.MiniMode .Thumbnail.MiniMode .CardImg{margin-bottom:5px;width:65px;height:40px}.TournamentsPage.MiniMode .Thumbnail .CardImg{height:300px;width:100%;background:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:auto}.TournamentsPage.MiniMode .Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.TournamentsPage.MiniMode .Thumbnail .CardImg.Mobile{width:65px;height:40px;display:inline-block}.TournamentsPage.MiniMode .Thumbnail .MobileRight{display:inline-block;line-height:20px;font-size:11px;padding:2px 3px;vertical-align:top;width:calc(100% - 70px)}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title{text-transform:capitalize;font-size:var(--emw--font-size-medium, 14px);font-weight:600;background-color:transparent;height:fit-content;margin-bottom:initial}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title.Skeleton{height:var(--emw-skeleton-title-height, 30px)}.TournamentsPage.MiniMode .Thumbnail .Status{background:#000000;display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.TournamentsPage.MiniMode .Thumbnail .Enrolled{background:#2B2B5D;color:#aaaabe;display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}')}function Es(e,t,n){const r=e.slice();return r[83]=t[n],r}function xs(e,t,n){const r=e.slice();return r[83]=t[n],r}function Ds(e){let t,n=e[19]("loading")+"",r;return{c(){t=G("p"),r=At(n),b(t,"class","LoadingMessage"),b(t,"part","LoadingMessage")},m(i,s){pe(i,t,s),F(t,r)},p(i,s){s[0]&524288&&n!==(n=i[19]("loading")+"")&&cn(r,n)},d(i){i&&ae(t)}}}function tm(e){let t,n,r,i=!e[17]&&Ps(),s=e[17]&&Os(e);return{c(){t=G("div"),i&&i.c(),n=He(),s&&s.c(),b(t,"class",r=(et(e[30])?"MobileClass":"")+(e[4]=="true"?" TournamentCardDetails":" FullSize")),b(t,"part","MobileTournamentCardDetails")},m(a,o){pe(a,t,o),i&&i.m(t,null),F(t,n),s&&s.m(t,null)},p(a,o){a[17]?i&&(i.d(1),i=null):i||(i=Ps(),i.c(),i.m(t,n)),a[17]?s?s.p(a,o):(s=Os(a),s.c(),s.m(t,null)):s&&(s.d(1),s=null),o[0]&16&&r!==(r=(et(a[30])?"MobileClass":"")+(a[4]=="true"?" TournamentCardDetails":" FullSize"))&&b(t,"class",r)},d(a){a&&ae(t),i&&i.d(),s&&s.d()}}}function nm(e){let t,n,r,i,s,a,o,u=e[22].length>0&&Cs(e);return{c(){var l;t=G("div"),n=G("casino-tournaments-thumbnail-controller"),s=He(),u&&u.c(),c(n,"session",e[0]),c(n,"userid",e[1]),c(n,"endpoint",e[3]),c(n,"tournamentid",e[2]),c(n,"tournamenturl",r=(l=e[17])==null?void 0:l.href),c(n,"showdetails","false"),c(n,"showslider","false"),c(n,"showenrolled","true"),c(n,"fullsize",i=!!e[4]),c(n,"loginurl",e[11]),c(n,"loginevent",e[9]),c(n,"registerurl",e[12]),c(n,"registerevent",e[10]),c(n,"clientstyling",e[15]),c(n,"clientstylingurl",e[16]),c(n,"translationurl",e[7]),c(n,"lang",e[5]),c(n,"currency",e[6]),c(n,"mbsource",e[8]),c(n,"keepbrowsercontext",e[14]),c(n,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, Games, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
34
34
  TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
35
35
  TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
36
36
  TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`),b(t,"class",a=(et(e[30])?"MobileClass":"")+(e[4]=="true"?"TournamentCardDetails":"FullSize")),b(t,"part",o=(et(e[30])?"MobileClass":"")+(e[4]=="true"?"TournamentCardDetails":"FullSize"))},m(l,h){pe(l,t,h),F(t,n),F(t,s),u&&u.m(t,null)},p(l,h){var g;h[0]&1&&c(n,"session",l[0]),h[0]&2&&c(n,"userid",l[1]),h[0]&8&&c(n,"endpoint",l[3]),h[0]&4&&c(n,"tournamentid",l[2]),h[0]&131072&&r!==(r=(g=l[17])==null?void 0:g.href)&&c(n,"tournamenturl",r),h[0]&16&&i!==(i=!!l[4])&&c(n,"fullsize",i),h[0]&2048&&c(n,"loginurl",l[11]),h[0]&512&&c(n,"loginevent",l[9]),h[0]&4096&&c(n,"registerurl",l[12]),h[0]&1024&&c(n,"registerevent",l[10]),h[0]&32768&&c(n,"clientstyling",l[15]),h[0]&65536&&c(n,"clientstylingurl",l[16]),h[0]&128&&c(n,"translationurl",l[7]),h[0]&32&&c(n,"lang",l[5]),h[0]&64&&c(n,"currency",l[6]),h[0]&256&&c(n,"mbsource",l[8]),h[0]&16384&&c(n,"keepbrowsercontext",l[14]),l[22].length>0?u?u.p(l,h):(u=Cs(l),u.c(),u.m(t,null)):u&&(u.d(1),u=null),h[0]&16&&a!==(a=(et(l[30])?"MobileClass":"")+(l[4]=="true"?"TournamentCardDetails":"FullSize"))&&b(t,"class",a),h[0]&16&&o!==(o=(et(l[30])?"MobileClass":"")+(l[4]=="true"?"TournamentCardDetails":"FullSize"))&&b(t,"part",o)},d(l){l&&ae(t),u&&u.d()}}}function Ps(e){let t,n,r;return{c(){t=G("div"),t.innerHTML='<ui-skeleton class="Mobile CardImg" structure="rectangle" width="65px" height="40px"></ui-skeleton> <div class="MobileRight" part="ThumbnailRight"><ui-skeleton structure="text" width="100%" height="18px"></ui-skeleton> <ui-skeleton structure="text" width="100%" height="12px" margin-top="5px"></ui-skeleton></div>',n=He(),r=G("div"),r.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="26px"></ui-skeleton>',b(t,"class","Thumbnail MiniMode"),b(t,"part","MiniThumbnail"),b(r,"class","TournamentsRank"),b(r,"part","TournamentsRank")},m(i,s){pe(i,t,s),pe(i,n,s),pe(i,r,s)},d(i){i&&(ae(t),ae(n),ae(r))}}}function Os(e){let t,n,r,i,s=e[17].nameOrTitle+"",a,o,u,l,h,g,m,D,I,R,V;function ve(E,j){return E[17].thumbnail?im:rm}let J=ve(e),A=J(e),Y=e[17].startTime&&ks(e);return{c(){var E,j,De,ce;t=G("div"),A.c(),n=He(),r=G("div"),i=G("div"),a=At(s),o=He(),u=G("div"),Y&&Y.c(),l=He(),h=G("div"),h.textContent="X",g=He(),m=G("casino-tournaments-rank"),b(i,"class","Title"),b(i,"part","ThumbnailRight_Title"),b(u,"part","ThumbnailRight_Period"),b(r,"class","MobileRight"),b(r,"part","ThumbnailRight"),b(h,"role","button"),b(h,"tabindex","0"),b(h,"class","CloseButton"),b(h,"part","CloseButton"),b(t,"class","Thumbnail MiniMode"),b(t,"part","MiniThumbnail"),c(m,"part","ThumbnailRank"),c(m,"userrank",D=e[25]?(E=e[24])==null?void 0:E.Rank:(j=e[23])==null?void 0:j.Rank),c(m,"overallrank",e[27]),c(m,"prize",I=e[25]?((De=e[24])==null?void 0:De.Prize)||"-":((ce=e[23])==null?void 0:ce.Prize)||"-"),c(m,"tournamentid",e[2]),c(m,"exportparts","casino-tournaments-rank, Rank, Icon, UserIcon, RankText, Rank_Arror_UP, Rank_Arror_Down, Prize, Icon, PrizeIcon, PrizeText"),c(m,"clientstyling",e[15]),c(m,"clientstylingurl",e[16]),c(m,"translationurl",e[7]),c(m,"mbsource",e[8])},m(E,j){pe(E,t,j),A.m(t,null),F(t,n),F(t,r),F(r,i),F(i,a),F(r,o),F(r,u),Y&&Y.m(u,null),F(t,l),F(t,h),pe(E,g,j),pe(E,m,j),R||(V=an(h,"click",e[33]),R=!0)},p(E,j){var De,ce,je,Ne;J===(J=ve(E))&&A?A.p(E,j):(A.d(1),A=J(E),A&&(A.c(),A.m(t,n))),j[0]&131072&&s!==(s=E[17].nameOrTitle+"")&&cn(a,s),E[17].startTime?Y?Y.p(E,j):(Y=ks(E),Y.c(),Y.m(u,null)):Y&&(Y.d(1),Y=null),j[0]&58720256&&D!==(D=E[25]?(De=E[24])==null?void 0:De.Rank:(ce=E[23])==null?void 0:ce.Rank)&&c(m,"userrank",D),j[0]&134217728&&c(m,"overallrank",E[27]),j[0]&58720256&&I!==(I=E[25]?((je=E[24])==null?void 0:je.Prize)||"-":((Ne=E[23])==null?void 0:Ne.Prize)||"-")&&c(m,"prize",I),j[0]&4&&c(m,"tournamentid",E[2]),j[0]&32768&&c(m,"clientstyling",E[15]),j[0]&65536&&c(m,"clientstylingurl",E[16]),j[0]&128&&c(m,"translationurl",E[7]),j[0]&256&&c(m,"mbsource",E[8])},d(E){E&&(ae(t),ae(g),ae(m)),A.d(),Y&&Y.d(),R=!1,V()}}}function rm(e){let t,n,r,i,s,a;return{c(){t=G("img"),b(t,"alt","CardImg"),b(t,"part","CardImg"),b(t,"class",n="CardImg "+(e[17].state=="Closing"||e[17].state=="Closed"?"CardImgFinished":"")),er(t.src,r="https://i.stack.imgur.com/y9DpT.jpg")||b(t,"src",r),b(t,"width","65px"),b(t,"height","40px"),b(t,"title",i=e[17].nameOrTitle)},m(o,u){pe(o,t,u),s||(a=_i(e[31].call(null,t)),s=!0)},p(o,u){u[0]&131072&&n!==(n="CardImg "+(o[17].state=="Closing"||o[17].state=="Closed"?"CardImgFinished":""))&&b(t,"class",n),u[0]&131072&&i!==(i=o[17].nameOrTitle)&&b(t,"title",i)},d(o){o&&ae(t),s=!1,a()}}}function im(e){let t,n,r,i,s,a;return{c(){t=G("img"),b(t,"alt","CardImg"),b(t,"part","CardImg"),b(t,"class",n="Mobile CardImg "+(e[17].state=="Closing"||e[17].state=="Closed"?"CardImgFinished":"")),er(t.src,r=e[17].thumbnail)||b(t,"src",r),b(t,"width","65px"),b(t,"height","40px"),b(t,"title",i=e[17].nameOrTitle)},m(o,u){pe(o,t,u),s||(a=_i(e[31].call(null,t)),s=!0)},p(o,u){u[0]&131072&&n!==(n="Mobile CardImg "+(o[17].state=="Closing"||o[17].state=="Closed"?"CardImgFinished":""))&&b(t,"class",n),u[0]&131072&&!er(t.src,r=o[17].thumbnail)&&b(t,"src",r),u[0]&131072&&i!==(i=o[17].nameOrTitle)&&b(t,"title",i)},d(o){o&&ae(t),s=!1,a()}}}function ks(e){let t=e[19]("activePeriod",{values:{startdate:y(e[17].startTime).format("DD/MM/YYYY HH:mm"),enddate:y(e[17].endTime).format("DD/MM/YYYY HH:mm")}})+"",n;return{c(){n=At(t)},m(r,i){pe(r,n,i)},p(r,i){i[0]&655360&&t!==(t=r[19]("activePeriod",{values:{startdate:y(r[17].startTime).format("DD/MM/YYYY HH:mm"),enddate:y(r[17].endTime).format("DD/MM/YYYY HH:mm")}})+"")&&cn(n,t)},d(r){r&&ae(n)}}}function Cs(e){let t,n=xn(e[22]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Rs(xs(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=vi()},m(i,s){for(let a=0;a<r.length;a+=1)r[a]&&r[a].m(i,s);pe(i,t,s)},p(i,s){if(s[0]&4292864){n=xn(i[22]);let a;for(a=0;a<n.length;a+=1){const o=xs(i,n,a);r[a]?r[a].p(o,s):(r[a]=Rs(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(i){i&&ae(t),yi(r,i)}}}function Rs(e){let t,n,r;return{c(){t=G("casino-tournaments-details"),c(t,"title",n=e[83].title),c(t,"text",r=e[83].description),c(t,"exportparts","DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"),c(t,"clientstyling",e[15]),c(t,"clientstylingurl",e[16]),c(t,"mbsource",e[8])},m(i,s){pe(i,t,s)},p(i,s){s[0]&4194304&&n!==(n=i[83].title)&&c(t,"title",n),s[0]&4194304&&r!==(r=i[83].description)&&c(t,"text",r),s[0]&32768&&c(t,"clientstyling",i[15]),s[0]&65536&&c(t,"clientstylingurl",i[16]),s[0]&256&&c(t,"mbsource",i[8])},d(i){i&&ae(t)}}}function Hs(e){let t,n,r,i,s,a,o,u;return{c(){var l,h;t=G("casino-tournaments-thumbnail-rule"),c(t,"lang",e[5]),c(t,"tcurl",n=e[17].termsUrl||"#"),c(t,"scorecriterial",r=e[17].scoreCriteria),c(t,"betcount",e[29]),c(t,"starttime",i=y(e[17].startTime).format("DD/MM/YYYY HH:mm:ss")),c(t,"endtime",s=y(e[17].endTime).format("DD/MM/YYYY HH:mm:ss")),c(t,"sportswallet",a=(l=e[17].wallet)==null?void 0:l.sports),c(t,"casinowallet",o=(h=e[17].wallet)==null?void 0:h.casino),c(t,"exportparts","casino-tournaments-thumbnail-rule, rule, RuleIcon, RuleTxt"),c(t,"clientstyling",e[15]),c(t,"minscore",u=e[17].minimumScore),c(t,"clientstylingurl",e[16]),c(t,"translationurl",e[7]),c(t,"mbsource",e[8])},m(l,h){pe(l,t,h)},p(l,h){var g,m;h[0]&32&&c(t,"lang",l[5]),h[0]&131072&&n!==(n=l[17].termsUrl||"#")&&c(t,"tcurl",n),h[0]&131072&&r!==(r=l[17].scoreCriteria)&&c(t,"scorecriterial",r),h[0]&536870912&&c(t,"betcount",l[29]),h[0]&131072&&i!==(i=y(l[17].startTime).format("DD/MM/YYYY HH:mm:ss"))&&c(t,"starttime",i),h[0]&131072&&s!==(s=y(l[17].endTime).format("DD/MM/YYYY HH:mm:ss"))&&c(t,"endtime",s),h[0]&131072&&a!==(a=(g=l[17].wallet)==null?void 0:g.sports)&&c(t,"sportswallet",a),h[0]&131072&&o!==(o=(m=l[17].wallet)==null?void 0:m.casino)&&c(t,"casinowallet",o),h[0]&32768&&c(t,"clientstyling",l[15]),h[0]&131072&&u!==(u=l[17].minimumScore)&&c(t,"minscore",u),h[0]&65536&&c(t,"clientstylingurl",l[16]),h[0]&128&&c(t,"translationurl",l[7]),h[0]&256&&c(t,"mbsource",l[8])},d(l){l&&ae(t)}}}function Ns(e){let t,n=xn(e[22]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Is(Es(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=vi()},m(i,s){for(let a=0;a<r.length;a+=1)r[a]&&r[a].m(i,s);pe(i,t,s)},p(i,s){if(s[0]&4292864){n=xn(i[22]);let a;for(a=0;a<n.length;a+=1){const o=Es(i,n,a);r[a]?r[a].p(o,s):(r[a]=Is(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(i){i&&ae(t),yi(r,i)}}}function Is(e){let t,n,r;return{c(){t=G("casino-tournaments-details"),c(t,"title",n=e[83].title),c(t,"text",r=e[83].description),c(t,"clientstyling",e[15]),c(t,"clientstylingurl",e[16]),c(t,"mbsource",e[8])},m(i,s){pe(i,t,s)},p(i,s){s[0]&4194304&&n!==(n=i[83].title)&&c(t,"title",n),s[0]&4194304&&r!==(r=i[83].description)&&c(t,"text",r),s[0]&32768&&c(t,"clientstyling",i[15]),s[0]&65536&&c(t,"clientstylingurl",i[16]),s[0]&256&&c(t,"mbsource",i[8])},d(i){i&&ae(t)}}}function Ls(e){let t;return{c(){t=G("casino-tournaments-thumbnail-games"),c(t,"lang",e[5]),c(t,"clientstyling",e[15]),c(t,"clientstylingurl",e[16]),c(t,"translationurl",e[7]),c(t,"mbsource",e[8])},m(n,r){pe(n,t,r)},p(n,r){r[0]&32&&c(t,"lang",n[5]),r[0]&32768&&c(t,"clientstyling",n[15]),r[0]&65536&&c(t,"clientstylingurl",n[16]),r[0]&128&&c(t,"translationurl",n[7]),r[0]&256&&c(t,"mbsource",n[8])},d(n){n&&ae(t)}}}function As(e){let t,n=e[19]("forwardMyTournaments")+"",r,i,s;return{c(){t=G("div"),r=At(n),b(t,"role","button"),b(t,"tabindex","0"),b(t,"class","BottomButton"),b(t,"part","ThumbnailGotoTournamentsButton")},m(a,o){pe(a,t,o),F(t,r),i||(s=an(t,"click",e[34].bind(this,"MyTournaments")),i=!0)},p(a,o){o[0]&524288&&n!==(n=a[19]("forwardMyTournaments")+"")&&cn(r,n)},d(a){a&&ae(t),i=!1,s()}}}function sm(e){var Ie,ct;let t,n,r,i,s,a,o,u,l,h=e[19]("back")+"",g,m,D,I,R,V,ve,J,A,Y,E,j,De,ce,je,Ne,kt,ke,ht,_t,ft,rt,Ue,ze,oe=e[21]&&Ds(e);function it(S,B){return S[28]?tm:nm}let be=it(e),Pe=be(e),Se=e[17]&&Hs(e),H=e[28]&&((Ie=e[22])==null?void 0:Ie.length)>0&&Ns(e),Me=((ct=e[17])==null?void 0:ct.games)&&Ls(e),ge=e[28]&&e[20]&&As(e);return{c(){oe&&oe.c(),t=He(),n=G("div"),r=G("div"),i=G("div"),s=G("div"),a=tr("svg"),o=tr("path"),u=He(),l=G("p"),g=At(h),m=He(),D=G("div"),Pe.c(),I=He(),R=G("div"),V=G("div"),ve=G("div"),J=G("casino-tournaments-tab"),A=He(),Y=G("div"),E=G("casino-tournaments-table"),De=He(),ce=G("div"),Se&&Se.c(),je=He(),H&&H.c(),kt=He(),ke=G("div"),Me&&Me.c(),_t=He(),ge&&ge.c(),b(o,"stroke-linecap","round"),b(o,"stroke-linejoin","round"),b(o,"stroke-width","2"),b(o,"d","M15 19l-7-7 7-7"),b(a,"fill","none"),b(a,"stroke","currentColor"),b(a,"width","24"),b(a,"height","24"),b(a,"viewBox","0 0 24 24"),b(a,"xmlns","http://www.w3.org/2000/svg"),b(s,"class","BackButton"),b(s,"part","BackButton"),b(i,"class","TopButtons"),b(i,"part","TopButtons"),c(J,"part","ThumbnailTab"),c(J,"tabs",e[13]),c(J,"defaulttab","leaderboard"),c(J,"tid",yo),c(J,"exportparts","CustomStylingContainer, ul, li, LiText, sup, SupText, active"),c(J,"clientstyling",e[15]),c(J,"clientstylingurl",e[16]),c(J,"mbsource",e[8]),b(ve,"class","PageTabNav"),c(E,"firstrow","true"),c(E,"sortable","false"),c(E,"lang",e[5]),c(E,"clientstyling",e[15]),c(E,"clientstylingurl",e[16]),c(E,"translationurl",e[7]),c(E,"mbsource",e[8]),c(E,"exportparts",`TableContent, TableUser, TableHeadRow, TableCell, CurrentUserRow, UnqualifiedRow, TableRank, Rank-1, Rank-2, Rank-3, RankFirstRow, TablePlayer, TablePoints, TablePrize, Qualified, TableUserTooltips, TableUserTooltipsEm, ExclamationMark,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsPageController-Cgdh262U.cjs"),L="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",M="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function q(r){e.append_styles(r,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function I(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',e.attr(t,"class","Icon UserIcon"),e.attr(t,"part","Icon UserIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function T(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',e.attr(t,"class","Icon PrizeIcon"),e.attr(t,"part","Icon PrizeIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function B(r){let t,n,p,h,v,w,b,a,z,m,C,d,_,g,A,l,x,k,R,y,S,f,c=r[2]=="true"&&I(),o=r[2]=="true"&&T();return{c(){t=e.element("div"),n=e.element("div"),c&&c.c(),p=e.space(),h=e.element("span"),v=e.text(r[1]),w=e.text(r[7]),b=e.space(),a=e.element("img"),C=e.space(),d=e.element("img"),A=e.space(),l=e.element("div"),o&&o.c(),x=e.space(),k=e.element("span"),R=e.text(r[0]),e.attr(a,"part","Rank_Arror_UP"),e.attr(a,"alt","Rank Up"),e.src_url_equal(a.src,z=L)||e.attr(a,"src",z),e.attr(a,"width","20"),e.attr(a,"height","20"),e.attr(a,"class",m="svg Arrow Up "+(r[5]&&r[6]?"Show":"Hidden")),e.attr(d,"part","Rank_Arror_Down"),e.attr(d,"alt","Rank Down"),e.src_url_equal(d.src,_=M)||e.attr(d,"src",_),e.attr(d,"width","10"),e.attr(d,"height","10"),e.attr(d,"class",g="svg Arrow Down "+(r[5]&&!r[6]?"Show":"Hidden")),e.attr(h,"class","RankInfo"),e.attr(h,"part","RankText"),e.attr(n,"class","RankSec"),e.attr(n,"part","Rank"),e.attr(k,"class","RankInfo UserPrize"),e.attr(k,"part","PrizeText"),e.attr(l,"class",y=r[3]+" PrizeSec"),e.attr(l,"part","Prize"),e.attr(t,"class",S=r[3]+" casino-tournaments-rank"),e.attr(t,"part",f=r[3]+" casino-tournaments-rank")},m(s,u){e.insert(s,t,u),e.append(t,n),c&&c.m(n,null),e.append(n,p),e.append(n,h),e.append(h,v),e.append(h,w),e.append(h,b),e.append(h,a),e.append(h,C),e.append(h,d),e.append(t,A),e.append(t,l),o&&o.m(l,null),e.append(l,x),e.append(l,k),e.append(k,R),r[15](t)},p(s,[u]){s[2]=="true"?c||(c=I(),c.c(),c.m(n,p)):c&&(c.d(1),c=null),u&2&&e.set_data(v,s[1]),u&128&&e.set_data(w,s[7]),u&96&&m!==(m="svg Arrow Up "+(s[5]&&s[6]?"Show":"Hidden"))&&e.attr(a,"class",m),u&96&&g!==(g="svg Arrow Down "+(s[5]&&!s[6]?"Show":"Hidden"))&&e.attr(d,"class",g),s[2]=="true"?o||(o=T(),o.c(),o.m(l,x)):o&&(o.d(1),o=null),u&1&&e.set_data(R,s[0]),u&8&&y!==(y=s[3]+" PrizeSec")&&e.attr(l,"class",y),u&8&&S!==(S=s[3]+" casino-tournaments-rank")&&e.attr(t,"class",S),u&8&&f!==(f=s[3]+" casino-tournaments-rank")&&e.attr(t,"part",f)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),c&&c.d(),o&&o.d(),r[15](null)}}}function j(r,t,n){let{rankprefix:p="#"}=t,{showicon:h="true"}=t,{tournamentid:v=""}=t,{overallrank:w="0"}=t,{showoverallrank:b="true"}=t,{userrank:a="0"}=t,{prize:z="PrizeName"}=t,{mbsource:m}=t,{displayin:C="row"}=t,{clientstyling:d=""}=t,{clientstylingurl:_=""}=t,g,A,l,x=!1,k=!0,R,y,S,f,c="";const o=i=>{i.data&&i.data.type==`TournamentRankInfo_${v}`&&(s(i.data.rankInfo),u())},s=(i={})=>{let U=(P={})=>{n(9,a=P.rank),n(8,w=P.overallRank),n(0,z=P.prize)};if(!f){f=l,U(i);return}l&&(n(5,x=f!=i.rank),n(6,k=f>i.rank),R=new Date().getTime(),S=setTimeout(()=>{y=new Date().getTime(),(y-R)/1e3>4&&n(5,x=!1),f=l},5e3),U(i))},u=()=>{n(7,c=b=="true"?`${+a==0?"-":a||"-"}/${+w==0?"-":w}`:a)};e.onMount(()=>(l=a==null?void 0:parseInt(a),f=l,n(9,a=a==null?"-":a),window.addEventListener("message",o,!0),u(),()=>{window.removeEventListener("message",o),clearTimeout(S)}));function H(i){e.binding_callbacks[i?"unshift":"push"](()=>{g=i,n(4,g)})}return r.$$set=i=>{"rankprefix"in i&&n(1,p=i.rankprefix),"showicon"in i&&n(2,h=i.showicon),"tournamentid"in i&&n(10,v=i.tournamentid),"overallrank"in i&&n(8,w=i.overallrank),"showoverallrank"in i&&n(11,b=i.showoverallrank),"userrank"in i&&n(9,a=i.userrank),"prize"in i&&n(0,z=i.prize),"mbsource"in i&&n(12,m=i.mbsource),"displayin"in i&&n(3,C=i.displayin),"clientstyling"in i&&n(13,d=i.clientstyling),"clientstylingurl"in i&&n(14,_=i.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&8208&&d&&g&&e.setClientStyling(g,d),r.$$.dirty&16400&&_&&g&&e.setClientStylingURL(g,_),r.$$.dirty&4112&&m&&g&&e.setStreamStyling(g,`${m}.Style`,A),r.$$.dirty&512&&(l=parseInt(a)),r.$$.dirty&512&&a&&u(),r.$$.dirty&256&&w&&u()},[z,p,h,C,g,x,k,c,w,a,v,b,m,d,_,H]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,B,e.safe_not_equal,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,mbsource:12,displayin:3,clientstyling:13,clientstylingurl:14},q)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),e.flush()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),e.flush()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),e.flush()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),e.flush()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),e.flush()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),e.flush()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(D,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},mbsource:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=D;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsPageController-GimdTsLg.cjs"),L="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",M="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function q(r){e.append_styles(r,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function I(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',e.attr(t,"class","Icon UserIcon"),e.attr(t,"part","Icon UserIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function T(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',e.attr(t,"class","Icon PrizeIcon"),e.attr(t,"part","Icon PrizeIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function B(r){let t,n,p,h,v,w,b,a,z,m,C,d,_,g,A,l,x,k,R,y,S,f,c=r[2]=="true"&&I(),o=r[2]=="true"&&T();return{c(){t=e.element("div"),n=e.element("div"),c&&c.c(),p=e.space(),h=e.element("span"),v=e.text(r[1]),w=e.text(r[7]),b=e.space(),a=e.element("img"),C=e.space(),d=e.element("img"),A=e.space(),l=e.element("div"),o&&o.c(),x=e.space(),k=e.element("span"),R=e.text(r[0]),e.attr(a,"part","Rank_Arror_UP"),e.attr(a,"alt","Rank Up"),e.src_url_equal(a.src,z=L)||e.attr(a,"src",z),e.attr(a,"width","20"),e.attr(a,"height","20"),e.attr(a,"class",m="svg Arrow Up "+(r[5]&&r[6]?"Show":"Hidden")),e.attr(d,"part","Rank_Arror_Down"),e.attr(d,"alt","Rank Down"),e.src_url_equal(d.src,_=M)||e.attr(d,"src",_),e.attr(d,"width","10"),e.attr(d,"height","10"),e.attr(d,"class",g="svg Arrow Down "+(r[5]&&!r[6]?"Show":"Hidden")),e.attr(h,"class","RankInfo"),e.attr(h,"part","RankText"),e.attr(n,"class","RankSec"),e.attr(n,"part","Rank"),e.attr(k,"class","RankInfo UserPrize"),e.attr(k,"part","PrizeText"),e.attr(l,"class",y=r[3]+" PrizeSec"),e.attr(l,"part","Prize"),e.attr(t,"class",S=r[3]+" casino-tournaments-rank"),e.attr(t,"part",f=r[3]+" casino-tournaments-rank")},m(s,u){e.insert(s,t,u),e.append(t,n),c&&c.m(n,null),e.append(n,p),e.append(n,h),e.append(h,v),e.append(h,w),e.append(h,b),e.append(h,a),e.append(h,C),e.append(h,d),e.append(t,A),e.append(t,l),o&&o.m(l,null),e.append(l,x),e.append(l,k),e.append(k,R),r[15](t)},p(s,[u]){s[2]=="true"?c||(c=I(),c.c(),c.m(n,p)):c&&(c.d(1),c=null),u&2&&e.set_data(v,s[1]),u&128&&e.set_data(w,s[7]),u&96&&m!==(m="svg Arrow Up "+(s[5]&&s[6]?"Show":"Hidden"))&&e.attr(a,"class",m),u&96&&g!==(g="svg Arrow Down "+(s[5]&&!s[6]?"Show":"Hidden"))&&e.attr(d,"class",g),s[2]=="true"?o||(o=T(),o.c(),o.m(l,x)):o&&(o.d(1),o=null),u&1&&e.set_data(R,s[0]),u&8&&y!==(y=s[3]+" PrizeSec")&&e.attr(l,"class",y),u&8&&S!==(S=s[3]+" casino-tournaments-rank")&&e.attr(t,"class",S),u&8&&f!==(f=s[3]+" casino-tournaments-rank")&&e.attr(t,"part",f)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),c&&c.d(),o&&o.d(),r[15](null)}}}function j(r,t,n){let{rankprefix:p="#"}=t,{showicon:h="true"}=t,{tournamentid:v=""}=t,{overallrank:w="0"}=t,{showoverallrank:b="true"}=t,{userrank:a="0"}=t,{prize:z="PrizeName"}=t,{mbsource:m}=t,{displayin:C="row"}=t,{clientstyling:d=""}=t,{clientstylingurl:_=""}=t,g,A,l,x=!1,k=!0,R,y,S,f,c="";const o=i=>{i.data&&i.data.type==`TournamentRankInfo_${v}`&&(s(i.data.rankInfo),u())},s=(i={})=>{let U=(P={})=>{n(9,a=P.rank),n(8,w=P.overallRank),n(0,z=P.prize)};if(!f){f=l,U(i);return}l&&(n(5,x=f!=i.rank),n(6,k=f>i.rank),R=new Date().getTime(),S=setTimeout(()=>{y=new Date().getTime(),(y-R)/1e3>4&&n(5,x=!1),f=l},5e3),U(i))},u=()=>{n(7,c=b=="true"?`${+a==0?"-":a||"-"}/${+w==0?"-":w}`:a)};e.onMount(()=>(l=a==null?void 0:parseInt(a),f=l,n(9,a=a==null?"-":a),window.addEventListener("message",o,!0),u(),()=>{window.removeEventListener("message",o),clearTimeout(S)}));function H(i){e.binding_callbacks[i?"unshift":"push"](()=>{g=i,n(4,g)})}return r.$$set=i=>{"rankprefix"in i&&n(1,p=i.rankprefix),"showicon"in i&&n(2,h=i.showicon),"tournamentid"in i&&n(10,v=i.tournamentid),"overallrank"in i&&n(8,w=i.overallrank),"showoverallrank"in i&&n(11,b=i.showoverallrank),"userrank"in i&&n(9,a=i.userrank),"prize"in i&&n(0,z=i.prize),"mbsource"in i&&n(12,m=i.mbsource),"displayin"in i&&n(3,C=i.displayin),"clientstyling"in i&&n(13,d=i.clientstyling),"clientstylingurl"in i&&n(14,_=i.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&8208&&d&&g&&e.setClientStyling(g,d),r.$$.dirty&16400&&_&&g&&e.setClientStylingURL(g,_),r.$$.dirty&4112&&m&&g&&e.setStreamStyling(g,`${m}.Style`,A),r.$$.dirty&512&&(l=parseInt(a)),r.$$.dirty&512&&a&&u(),r.$$.dirty&256&&w&&u()},[z,p,h,C,g,x,k,c,w,a,v,b,m,d,_,H]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,B,e.safe_not_equal,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,mbsource:12,displayin:3,clientstyling:13,clientstylingurl:14},q)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),e.flush()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),e.flush()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),e.flush()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),e.flush()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),e.flush()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),e.flush()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(D,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},mbsource:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=D;
@@ -1,4 +1,4 @@
1
- import { S as G, i as J, s as K, f as m, a as O, n as j, d as M, l as H, j as n, b as B, e as d, g as _, h as P, t as L, I as E, o as Q, q as V, v as W, w as X, x as Y, c as $ } from "./CasinoTournamentsPageController-DXNjqasm.js";
1
+ import { S as G, i as J, s as K, f as m, a as O, n as j, d as M, l as H, j as n, b as B, e as d, g as _, h as P, t as L, I as E, o as Q, q as V, v as W, w as X, x as Y, c as $ } from "./CasinoTournamentsPageController-BmarOoc0.js";
2
2
  const ee = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", te = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
3
3
  function ie(r) {
4
4
  O(r, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
@@ -1,4 +1,4 @@
1
- import { S as G, i as J, s as K, f as m, a as O, n as E, d as M, k as H, h as n, b as B, c as d, e as _, g as P, t as L, I as Z, o as Q, p as V, u as W, v as X, w as Y, x as $ } from "./CasinoTournamentsPageController-BigW1Sjx.js";
1
+ import { S as G, i as J, s as K, f as m, a as O, n as E, d as M, k as H, h as n, b as B, c as d, e as _, g as P, t as L, I as Z, o as Q, p as V, u as W, v as X, w as Y, x as $ } from "./CasinoTournamentsPageController-BryleEOC.js";
2
2
  const ee = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", te = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
3
3
  function ie(r) {
4
4
  O(r, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
@@ -19,7 +19,7 @@ var M = (e, t) => {
19
19
  t.indexOf(i) < 0 && L.call(e, i) && (n[i] = e[i]);
20
20
  return n;
21
21
  };
22
- import { o as q, S as P, i as Q, s as V, f as p, a as W, n as D, d as T, b as k, e as w, h as f, j as X, G as j, H as Y, p as Z, k as G, c as h, l as $, r as tt, t as I, g as H, u as et, v as nt, w as it, x as st } from "./CasinoTournamentsPageController-BigW1Sjx.js";
22
+ import { o as q, S as P, i as Q, s as V, f as p, a as W, n as D, d as T, b as k, e as w, h as f, j as X, G as j, H as Y, p as Z, k as G, c as h, l as $, r as tt, t as I, g as H, u as et, v as nt, w as it, x as st } from "./CasinoTournamentsPageController-BryleEOC.js";
23
23
  const at = (e) => (n) => {
24
24
  Object.keys(e).map((i) => {
25
25
  if (n.data && n.data.type == i) {
@@ -1 +1 @@
1
- "use strict";var U=Object.defineProperty,q=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var v=(e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))T.call(t,n)&&v(e,n,t[n]);if(w)for(var n of w(t))k.call(t,n)&&v(e,n,t[n]);return e},_=(e,t)=>q(e,A(t));var F=(e,t)=>{var n={};for(var a in e)T.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&w)for(var a of w(e))t.indexOf(a)<0&&k.call(e,a)&&(n[a]=e[a]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsPageController-Cgdh262U.cjs"),E=e=>n=>{Object.keys(e).map(a=>{if(n.data&&n.data.type==a){const l=n.data,{type:u}=l,s=F(l,["type"]);e[a](s)}})},H=e=>{const t=E(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function O(e){i.append_styles(e,"svelte-9kcxjj","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block;cursor:pointer}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}")}function S(e,t,n){const a=e.slice();return a[16]=t[n],a}function C(e){let t,n=i.ensure_array_like(e[5]),a=[];for(let l=0;l<n.length;l+=1)a[l]=M(S(e,n,l));return{c(){t=i.element("ul");for(let l=0;l<a.length;l+=1)a[l].c();i.attr(t,"part","ul")},m(l,u){i.insert(l,t,u);for(let s=0;s<a.length;s+=1)a[s]&&a[s].m(t,null)},p(l,u){if(u&186){n=i.ensure_array_like(l[5]);let s;for(s=0;s<n.length;s+=1){const c=S(l,n,s);a[s]?a[s].p(c,u):(a[s]=M(c),a[s].c(),a[s].m(t,null))}for(;s<a.length;s+=1)a[s].d(1);a.length=n.length}},d(l){l&&i.detach(t),i.destroy_each(a,l)}}}function z(e){let t,n,a=e[3][e[16]]+"",l;return{c(){t=i.element("sup"),n=i.element("span"),l=i.text(a),i.attr(n,"part","SupText"),i.attr(t,"part","sup")},m(u,s){i.insert(u,t,s),i.append(t,n),i.append(n,l)},p(u,s){s&40&&a!==(a=u[3][u[16]]+"")&&i.set_data(l,a)},d(u){u&&i.detach(t)}}}function M(e){let t,n,a=(e[4][e[16]]||"")+"",l,u,s,c,d,b,g,r=e[3][e[16]]>=0&&z(e);return{c(){t=i.element("li"),n=i.element("span"),l=i.text(a),u=i.space(),r&&r.c(),s=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[1]===e[16]?"active":""),i.attr(t,"part",d=`${e[16]} li `+(e[1]===e[16]?"active":""))},m(m,f){i.insert(m,t,f),i.append(t,n),i.append(n,l),i.append(t,u),r&&r.m(t,null),i.append(t,s),b||(g=i.listen(t,"click",function(){i.is_function(e[7](e[16]))&&e[7](e[16]).apply(this,arguments)}),b=!0)},p(m,f){e=m,f&48&&a!==(a=(e[4][e[16]]||"")+"")&&i.set_data(l,a),e[3][e[16]]>=0?r?r.p(e,f):(r=z(e),r.c(),r.m(t,s)):r&&(r.d(1),r=null),f&34&&c!==(c=e[1]===e[16]?"active":"")&&i.attr(t,"class",c),f&34&&d!==(d=`${e[16]} li `+(e[1]===e[16]?"active":""))&&i.attr(t,"part",d)},d(m){m&&i.detach(t),r&&r.d(),b=!1,g()}}}function P(e){let t,n=e[2]&&C(e);return{c(){t=i.element("div"),n&&n.c(),i.attr(t,"class","casino-tournaments-tab "+(i.isMobile(e[6])?"TabMobile":"TabDesktop")),i.attr(t,"part","CustomStylingContainer")},m(a,l){i.insert(a,t,l),n&&n.m(t,null),e[14](t)},p(a,[l]){a[2]?n?n.p(a,l):(n=C(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:i.noop,o:i.noop,d(a){a&&i.detach(t),n&&n.d(),e[14](null)}}}function I(e,t,n){let a,{tabs:l=""}=t,{defaulttab:u=void 0}=t,{clientstyling:s=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,{tid:b="pageTab"}=t,g,r,m,f=!1;const D=window.navigator.userAgent;let y={},p={};H({TournamentsTabTotalUpdate:o=>{n(3,y=_(h({},y),{[o.state]:o.total}))},TournamentsTabsLocalize:o=>{n(2,f=!0),n(4,p=h(h({},p),o.tabTitleTranslations))},TournamentsTabLocaleTextUpdate:o=>{n(2,f=!0),n(4,p=_(h({},p),{[o.state]:o.text}))}}),i.onMount(()=>(window.postMessage({type:"TournamentsTabListenerLoaded",tid:b},window.location.href),()=>{}));const j=o=>()=>{n(1,g=o),window.postMessage({type:"TournamentsTabSwitch",tab:o,tid:b},window.location.href)};function R(o){i.binding_callbacks[o?"unshift":"push"](()=>{r=o,n(0,r)})}return e.$$set=o=>{"tabs"in o&&n(8,l=o.tabs),"defaulttab"in o&&n(9,u=o.defaulttab),"clientstyling"in o&&n(10,s=o.clientstyling),"clientstylingurl"in o&&n(11,c=o.clientstylingurl),"mbsource"in o&&n(12,d=o.mbsource),"tid"in o&&n(13,b=o.tid)},e.$$.update=()=>{e.$$.dirty&1025&&s&&r&&i.setClientStyling(r,s),e.$$.dirty&2049&&c&&r&&i.setClientStylingURL(r,c),e.$$.dirty&4097&&d&&r&&i.setStreamStyling(r,`${d}.Style`,m),e.$$.dirty&256&&n(5,a=l.split(",")),e.$$.dirty&512&&n(1,g=u)},[r,g,f,y,p,a,D,j,l,u,s,c,d,b,R]}class L extends i.SvelteComponent{constructor(t){super(),i.init(this,t,I,P,i.safe_not_equal,{tabs:8,defaulttab:9,clientstyling:10,clientstylingurl:11,mbsource:12,tid:13},O)}get tabs(){return this.$$.ctx[8]}set tabs(t){this.$$set({tabs:t}),i.flush()}get defaulttab(){return this.$$.ctx[9]}set defaulttab(t){this.$$set({defaulttab:t}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}get tid(){return this.$$.ctx[13]}set tid(t){this.$$set({tid:t}),i.flush()}}i.create_custom_element(L,{tabs:{},defaulttab:{},clientstyling:{},clientstylingurl:{},mbsource:{},tid:{}},[],[],!0);exports.default=L;
1
+ "use strict";var U=Object.defineProperty,q=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var v=(e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))T.call(t,n)&&v(e,n,t[n]);if(w)for(var n of w(t))k.call(t,n)&&v(e,n,t[n]);return e},_=(e,t)=>q(e,A(t));var F=(e,t)=>{var n={};for(var a in e)T.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&w)for(var a of w(e))t.indexOf(a)<0&&k.call(e,a)&&(n[a]=e[a]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsPageController-GimdTsLg.cjs"),E=e=>n=>{Object.keys(e).map(a=>{if(n.data&&n.data.type==a){const l=n.data,{type:u}=l,s=F(l,["type"]);e[a](s)}})},H=e=>{const t=E(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function O(e){i.append_styles(e,"svelte-9kcxjj","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block;cursor:pointer}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}")}function S(e,t,n){const a=e.slice();return a[16]=t[n],a}function C(e){let t,n=i.ensure_array_like(e[5]),a=[];for(let l=0;l<n.length;l+=1)a[l]=M(S(e,n,l));return{c(){t=i.element("ul");for(let l=0;l<a.length;l+=1)a[l].c();i.attr(t,"part","ul")},m(l,u){i.insert(l,t,u);for(let s=0;s<a.length;s+=1)a[s]&&a[s].m(t,null)},p(l,u){if(u&186){n=i.ensure_array_like(l[5]);let s;for(s=0;s<n.length;s+=1){const c=S(l,n,s);a[s]?a[s].p(c,u):(a[s]=M(c),a[s].c(),a[s].m(t,null))}for(;s<a.length;s+=1)a[s].d(1);a.length=n.length}},d(l){l&&i.detach(t),i.destroy_each(a,l)}}}function z(e){let t,n,a=e[3][e[16]]+"",l;return{c(){t=i.element("sup"),n=i.element("span"),l=i.text(a),i.attr(n,"part","SupText"),i.attr(t,"part","sup")},m(u,s){i.insert(u,t,s),i.append(t,n),i.append(n,l)},p(u,s){s&40&&a!==(a=u[3][u[16]]+"")&&i.set_data(l,a)},d(u){u&&i.detach(t)}}}function M(e){let t,n,a=(e[4][e[16]]||"")+"",l,u,s,c,d,b,g,r=e[3][e[16]]>=0&&z(e);return{c(){t=i.element("li"),n=i.element("span"),l=i.text(a),u=i.space(),r&&r.c(),s=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[1]===e[16]?"active":""),i.attr(t,"part",d=`${e[16]} li `+(e[1]===e[16]?"active":""))},m(m,f){i.insert(m,t,f),i.append(t,n),i.append(n,l),i.append(t,u),r&&r.m(t,null),i.append(t,s),b||(g=i.listen(t,"click",function(){i.is_function(e[7](e[16]))&&e[7](e[16]).apply(this,arguments)}),b=!0)},p(m,f){e=m,f&48&&a!==(a=(e[4][e[16]]||"")+"")&&i.set_data(l,a),e[3][e[16]]>=0?r?r.p(e,f):(r=z(e),r.c(),r.m(t,s)):r&&(r.d(1),r=null),f&34&&c!==(c=e[1]===e[16]?"active":"")&&i.attr(t,"class",c),f&34&&d!==(d=`${e[16]} li `+(e[1]===e[16]?"active":""))&&i.attr(t,"part",d)},d(m){m&&i.detach(t),r&&r.d(),b=!1,g()}}}function P(e){let t,n=e[2]&&C(e);return{c(){t=i.element("div"),n&&n.c(),i.attr(t,"class","casino-tournaments-tab "+(i.isMobile(e[6])?"TabMobile":"TabDesktop")),i.attr(t,"part","CustomStylingContainer")},m(a,l){i.insert(a,t,l),n&&n.m(t,null),e[14](t)},p(a,[l]){a[2]?n?n.p(a,l):(n=C(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:i.noop,o:i.noop,d(a){a&&i.detach(t),n&&n.d(),e[14](null)}}}function I(e,t,n){let a,{tabs:l=""}=t,{defaulttab:u=void 0}=t,{clientstyling:s=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,{tid:b="pageTab"}=t,g,r,m,f=!1;const D=window.navigator.userAgent;let y={},p={};H({TournamentsTabTotalUpdate:o=>{n(3,y=_(h({},y),{[o.state]:o.total}))},TournamentsTabsLocalize:o=>{n(2,f=!0),n(4,p=h(h({},p),o.tabTitleTranslations))},TournamentsTabLocaleTextUpdate:o=>{n(2,f=!0),n(4,p=_(h({},p),{[o.state]:o.text}))}}),i.onMount(()=>(window.postMessage({type:"TournamentsTabListenerLoaded",tid:b},window.location.href),()=>{}));const j=o=>()=>{n(1,g=o),window.postMessage({type:"TournamentsTabSwitch",tab:o,tid:b},window.location.href)};function R(o){i.binding_callbacks[o?"unshift":"push"](()=>{r=o,n(0,r)})}return e.$$set=o=>{"tabs"in o&&n(8,l=o.tabs),"defaulttab"in o&&n(9,u=o.defaulttab),"clientstyling"in o&&n(10,s=o.clientstyling),"clientstylingurl"in o&&n(11,c=o.clientstylingurl),"mbsource"in o&&n(12,d=o.mbsource),"tid"in o&&n(13,b=o.tid)},e.$$.update=()=>{e.$$.dirty&1025&&s&&r&&i.setClientStyling(r,s),e.$$.dirty&2049&&c&&r&&i.setClientStylingURL(r,c),e.$$.dirty&4097&&d&&r&&i.setStreamStyling(r,`${d}.Style`,m),e.$$.dirty&256&&n(5,a=l.split(",")),e.$$.dirty&512&&n(1,g=u)},[r,g,f,y,p,a,D,j,l,u,s,c,d,b,R]}class L extends i.SvelteComponent{constructor(t){super(),i.init(this,t,I,P,i.safe_not_equal,{tabs:8,defaulttab:9,clientstyling:10,clientstylingurl:11,mbsource:12,tid:13},O)}get tabs(){return this.$$.ctx[8]}set tabs(t){this.$$set({tabs:t}),i.flush()}get defaulttab(){return this.$$.ctx[9]}set defaulttab(t){this.$$set({defaulttab:t}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}get tid(){return this.$$.ctx[13]}set tid(t){this.$$set({tid:t}),i.flush()}}i.create_custom_element(L,{tabs:{},defaulttab:{},clientstyling:{},clientstylingurl:{},mbsource:{},tid:{}},[],[],!0);exports.default=L;
@@ -1,4 +1,4 @@
1
- import { o as D, S as A, i as E, s as G, f as p, a as I, n as k, d as _, b as v, g as w, j as f, k as O, G as F, H as x, q as B, l as j, e as h, m as J, u as K, t as H, h as S, v as N, w as P, x as Q, c as V } from "./CasinoTournamentsPageController-DXNjqasm.js";
1
+ import { o as D, S as A, i as E, s as G, f as p, a as I, n as k, d as _, b as v, g as w, j as f, k as O, G as F, H as x, q as B, l as j, e as h, m as J, u as K, t as H, h as S, v as N, w as P, x as Q, c as V } from "./CasinoTournamentsPageController-BmarOoc0.js";
2
2
  const W = (e) => (n) => {
3
3
  Object.keys(e).map((i) => {
4
4
  if (n.data && n.data.type == i) {
@@ -1,4 +1,4 @@
1
- import { z as Qe, $ as je, S as Ne, i as Ve, s as Ze, f as ee, a as Ie, n as ie, d as U, b as R, g as b, B as Je, o as Ke, k as Se, q as se, D as te, G as $, H as ne, l as A, j as a, e as d, h as z, t as D, m as oe, I as re, r as Y, v as Oe, w as Ge, x as We, c as Ye, F as Xe } from "./CasinoTournamentsPageController-DXNjqasm.js";
1
+ import { z as Qe, $ as je, S as Ne, i as Ve, s as Ze, f as ee, a as Ie, n as ie, d as U, b as R, g as b, B as Je, o as Ke, k as Se, q as se, D as te, G as $, H as ne, l as A, j as a, e as d, h as z, t as D, m as oe, I as re, r as Y, v as Oe, w as Ge, x as We, c as Ye, F as Xe } from "./CasinoTournamentsPageController-BmarOoc0.js";
2
2
  function fe(t, e) {
3
3
  Qe(t, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { z as Qe, $ as je, S as Ne, i as Ve, s as Ze, f as ee, a as Ie, n as ie, d as U, b as R, e as b, B as Je, o as Ke, j as Se, p as se, D as te, G as $, H as ne, k as A, h as a, c as d, g as z, t as D, l as oe, I as re, q as Y, u as Oe, v as Ge, w as We, x as Ye, F as Xe } from "./CasinoTournamentsPageController-BigW1Sjx.js";
1
+ import { z as Qe, $ as je, S as Ne, i as Ve, s as Ze, f as ee, a as Ie, n as ie, d as U, b as R, e as b, B as Je, o as Ke, j as Se, p as se, D as te, G as $, H as ne, k as A, h as a, c as d, g as z, t as D, l as oe, I as re, q as Y, u as Oe, v as Ge, w as We, x as Ye, F as Xe } from "./CasinoTournamentsPageController-BryleEOC.js";
2
2
  function fe(t, e) {
3
3
  Qe(t, e);
4
4
  }