@everymatrix/casino-tournaments-controller 1.87.26 → 1.87.27

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 (51) hide show
  1. package/components/{CasinoTournamentsController-CnAIq520.js → CasinoTournamentsController-C9T28zEr.js} +1381 -1352
  2. package/components/CasinoTournamentsController-DQNDp9HR.cjs +27 -0
  3. package/components/{CasinoTournamentsController-BLxMNjdf.js → CasinoTournamentsController-DZHPUFoo.js} +1329 -1301
  4. package/components/{CasinoTournamentsFilterController-DthxSaAP.cjs → CasinoTournamentsFilterController-Bi5ABz6A.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-DTU_2gg8.js → CasinoTournamentsFilterController-ByO79eyB.js} +105 -105
  6. package/components/{CasinoTournamentsFilterController-CQQlddU7.js → CasinoTournamentsFilterController-CDvezs-D.js} +103 -103
  7. package/components/{CasinoTournamentsListController-CTyy6QGc.cjs → CasinoTournamentsListController-B5AHWoiQ.cjs} +5 -5
  8. package/components/{CasinoTournamentsListController-B44Sd_Xd.js → CasinoTournamentsListController-CYyjAv5V.js} +434 -434
  9. package/components/{CasinoTournamentsListController-D8Mce-Ba.js → CasinoTournamentsListController-D1Q3oNPH.js} +434 -434
  10. package/components/CasinoTournamentsThumbnail-BJPotmwg.cjs +3 -0
  11. package/components/{CasinoTournamentsThumbnail-C8m2-yzp.js → CasinoTournamentsThumbnail-BYKG7BsJ.js} +148 -148
  12. package/components/{CasinoTournamentsThumbnail-CvUCJuL_.js → CasinoTournamentsThumbnail-DmG-fM0f.js} +148 -148
  13. package/components/{CasinoTournamentsThumbnailController-DRIgHZK4.js → CasinoTournamentsThumbnailController-B4DgkNpX.js} +63 -63
  14. package/components/{CasinoTournamentsThumbnailController-AwtNpbCC.cjs → CasinoTournamentsThumbnailController-DvWCmf2R.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-DOhlVFj-.js → CasinoTournamentsThumbnailController-Fj4xURf5.js} +64 -64
  16. package/components/{CasinoTournamentsThumbnailDuration-BBDiU1hp.js → CasinoTournamentsThumbnailDuration-BMMU0ZJo.js} +112 -112
  17. package/components/CasinoTournamentsThumbnailDuration-CXGu4tqo.cjs +1 -0
  18. package/components/{CasinoTournamentsThumbnailDuration-B1oKgcSP.js → CasinoTournamentsThumbnailDuration-DFufp6Vu.js} +112 -112
  19. package/components/CasinoTournamentsThumbnailGamesSlider-CQECbxUh.js +434 -0
  20. package/components/CasinoTournamentsThumbnailGamesSlider-D_kKdnqN.js +434 -0
  21. package/components/CasinoTournamentsThumbnailGamesSlider-Dode2Q67.cjs +1 -0
  22. package/components/{CasinoTournamentsThumbnailPrizes-Om5Riw3x.js → CasinoTournamentsThumbnailPrizes-D-GYVO90.js} +104 -104
  23. package/components/{CasinoTournamentsThumbnailPrizes-BUXbwFNF.cjs → CasinoTournamentsThumbnailPrizes-DIvLHGtT.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-CJpsQ6IH.js → CasinoTournamentsThumbnailPrizes-fRbY2GFR.js} +104 -104
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  30. package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
  31. package/stencil/{index-b2193545-DfeVnolx.cjs → index-b2193545-BB6id_PQ.cjs} +1 -1
  32. package/stencil/{index-b2193545-DuA2iMSm.js → index-b2193545-Dg04r8Mf.js} +1 -1
  33. package/stencil/{index-b2193545-BpG2toSK.js → index-b2193545-oPMLiBVn.js} +1 -1
  34. package/stencil/{ui-image-O0NdjWCu.js → ui-image-BiEqrTjD.js} +4 -4
  35. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DyN7Fe9v.js} +1 -1
  36. package/stencil/ui-image-GKGnzjWQ.cjs +1 -0
  37. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-CCeXOW4G.js} +3 -3
  38. package/stencil/ui-skeleton-CImpq9cv.cjs +1 -0
  39. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-DGlqF493.js} +3 -3
  40. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-B7StGL8M.cjs} +1 -1
  41. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-CLXtOZ1A.js} +1 -1
  42. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-Dc_jq3n7.js} +1 -1
  43. package/components/CasinoTournamentsController-DgQHHIEF.cjs +0 -27
  44. package/components/CasinoTournamentsThumbnail-DrL4ipPE.cjs +0 -3
  45. package/components/CasinoTournamentsThumbnailDuration-D8Fw1T6T.cjs +0 -1
  46. package/components/CasinoTournamentsThumbnailGamesSlider-BwHrytSr.cjs +0 -1
  47. package/components/CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js +0 -434
  48. package/components/CasinoTournamentsThumbnailGamesSlider-DyDWiEwW.js +0 -434
  49. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
  50. package/stencil/ui-image-DUHLTRXs.cjs +0 -1
  51. package/stencil/ui-skeleton-B0E7XBJC.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-DgQHHIEF.cjs");function T(t,l){e.addMessages(t,l)}const A={en:{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"},hr:{tournaments:"Turniri",all:"Svi",scheduled:"Planirani",ongoing:"U tijeku",finished:"Završeni"},"zh-hk":{tournaments:"錦標賽",all:"全部",scheduled:"預定的",ongoing:"進行中",finished:"完成的"},fr:{tournaments:"Tournois",all:"Tous",scheduled:"Programmé",ongoing:"En cours",finished:"Fini"},ro:{tournaments:"Turnee",all:"Toate",scheduled:"Programate",ongoing:"În curs",finished:"Finalizat"},tr:{tournaments:"Turnuvalar",all:"Hepsi",scheduled:"Planlanmış",ongoing:"Devam ediyor",finished:"Tamamlanmış"},el:{tournaments:"Τουρνουά",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα"},es:{tournaments:"Torneos",all:"Todos",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado"},hu:{tournaments:"Versenyek",all:"Mind",scheduled:"Ütemezés",ongoing:"Folyamatban",finished:"Befejezett"},pt:{tournaments:"Torneios",all:"Tudo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado"},"en-us":{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"}};function U(t){e.append_styles(t,"svelte-f5g69n","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}")}function S(t,l,i){const n=t.slice();return n[21]=l[i],n[23]=i,n}function N(t){let l,i,n=t[4]("tournaments")+"",s,y,F,_,g=e.ensure_array_like(t[1]),u=[];for(let o=0;o<g.length;o+=1)u[o]=L(S(t,g,o));return{c(){l=e.element("ul"),i=e.element("li"),s=e.text(n),y=e.text(":"),F=e.space(),_=e.element("ul");for(let o=0;o<u.length;o+=1)u[o].c();e.attr(i,"class","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(o,m){e.insert(o,l,m),e.append(l,i),e.append(i,s),e.append(i,y),e.append(l,F),e.append(l,_);for(let c=0;c<u.length;c+=1)u[c]&&u[c].m(_,null)},p(o,m){if(m&16&&n!==(n=o[4]("tournaments")+"")&&e.set_data(s,n),m&126){g=e.ensure_array_like(o[1]);let c;for(c=0;c<g.length;c+=1){const r=S(o,g,c);u[c]?u[c].p(r,m):(u[c]=L(r),u[c].c(),u[c].m(_,null))}for(;c<u.length;c+=1)u[c].d(1);u.length=g.length}},d(o){o&&e.detach(l),e.destroy_each(u,o)}}}function E(t){let l,i;return{c(){l=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"d","M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","16"),e.attr(l,"height","16"),e.attr(l,"fill","currentColor"),e.attr(l,"class","bi bi-check"),e.attr(l,"part","bi bi-check"),e.attr(l,"viewBox","0 0 16 16")},m(n,s){e.insert(n,l,s),e.append(l,i)},d(n){n&&e.detach(l)}}}function O(t){let l=t[4]("scheduled")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("scheduled")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function z(t){let l=t[4]("ongoing")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("ongoing")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function B(t){let l=t[4]("finished")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("finished")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function j(t){let l=t[4]("all")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("all")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function L(t){let l,i,n,s,y,F,_,g,u,o,m,c,r=(t[2][t[23]]==1||t[3]&&t[23]==0)&&E(),f=t[21]=="Scheduled"&&O(t),h=t[21]=="Ongoing"&&z(t),b=t[21]=="Finished"&&B(t),d=t[21]=="All"&&j(t);function k(){return t[13](t[21],t[23])}return{c(){l=e.element("li"),i=e.element("button"),r&&r.c(),n=e.space(),s=e.element("div"),f&&f.c(),y=e.space(),h&&h.c(),F=e.space(),b&&b.c(),_=e.space(),d&&d.c(),o=e.space(),e.attr(s,"class","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(s,"part","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"class",g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part",u=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersItem"),e.attr(l,"part","FiltersItem")},m(v,M){e.insert(v,l,M),e.append(l,i),r&&r.m(i,null),e.append(i,n),e.append(i,s),f&&f.m(s,null),e.append(s,y),h&&h.m(s,null),e.append(s,F),b&&b.m(s,null),e.append(s,_),d&&d.m(s,null),e.append(l,o),m||(c=e.listen(l,"click",k),m=!0)},p(v,M){t=v,t[2][t[23]]==1||t[3]&&t[23]==0?r||(r=E(),r.c(),r.m(i,n)):r&&(r.d(1),r=null),t[21]=="Scheduled"?f?f.p(t,M):(f=O(t),f.c(),f.m(s,y)):f&&(f.d(1),f=null),t[21]=="Ongoing"?h?h.p(t,M):(h=z(t),h.c(),h.m(s,F)):h&&(h.d(1),h=null),t[21]=="Finished"?b?b.p(t,M):(b=B(t),b.c(),b.m(s,_)):b&&(b.d(1),b=null),t[21]=="All"?d?d.p(t,M):(d=j(t),d.c(),d.m(s,null)):d&&(d.d(1),d=null),M&12&&g!==(g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"class",g),M&12&&u!==(u=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"part",u)},d(v){v&&e.detach(l),r&&r.d(),f&&f.d(),h&&h.d(),b&&b.d(),d&&d.d(),m=!1,c()}}}function q(t){let l,i=t[1].length>0&&N(t);return{c(){l=e.element("div"),i&&i.c(),e.attr(l,"class","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(n,s){e.insert(n,l,s),i&&i.m(l,null),t[14](l)},p(n,[s]){n[1].length>0?i?i.p(n,s):(i=N(n),i.c(),i.m(l,null)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(n){n&&e.detach(l),i&&i.d(),t[14](null)}}}function R(t,l,i){let n;e.component_subscribe(t,e.$format,a=>i(4,n=a));let{filters:s=""}=l,{activefilters:y=""}=l,{translationurl:F=""}=l,{clientstyling:_=""}=l,{clientstylingurl:g=""}=l,{mbsource:u}=l,o,m=[],c=0,r=new Array(100),f=!0,h=window.navigator.userAgent;const b=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(C=>{T(C,p[C])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(a=>{T(a,A[a])});const d=(a,p)=>{if(p==0)i(3,f=!0),i(2,r=new Array(c)),window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else if(i(3,f=!1),r[p]==1?(i(2,r[p]=0,r),r.indexOf(1)==-1&&i(3,f=!0)):i(2,r[p]=1,r),r.indexOf(1)==-1)window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else{let C=[];for(let w=0;w<m.length;w++)r[w]==1&&C.push(m[w]);window.postMessage({type:"TournamentsFiltersSelected",filters:C},window.location.href)}},k=()=>{i(1,m=s.split(",")),c=m.length},v=()=>{let a=y.split(",");i(2,r=new Array(c)),a.indexOf("All")!=-1?i(3,f=!0):(i(3,f=!1),a.forEach(p=>{let C=m.indexOf(p);C>0&&i(2,r[C]=1,r)}))};e.onMount(()=>()=>{});const M=(a,p)=>d(a,p);function I(a){e.binding_callbacks[a?"unshift":"push"](()=>{o=a,i(0,o)})}return t.$$set=a=>{"filters"in a&&i(7,s=a.filters),"activefilters"in a&&i(8,y=a.activefilters),"translationurl"in a&&i(9,F=a.translationurl),"clientstyling"in a&&i(10,_=a.clientstyling),"clientstylingurl"in a&&i(11,g=a.clientstylingurl),"mbsource"in a&&i(12,u=a.mbsource)},t.$$.update=()=>{t.$$.dirty&512&&F&&b(),t.$$.dirty&128&&s&&k(),t.$$.dirty&256&&y&&v(),t.$$.dirty&1025&&_&&o&&e.setClientStyling(o,_),t.$$.dirty&2049&&g&&o&&e.setClientStylingURL(o,g),t.$$.dirty&4097&&u&&o&&e.setStreamStyling(o,`${u}.Style`)},[o,m,r,f,n,h,d,s,y,F,_,g,u,M,I]}class P extends e.SvelteComponent{constructor(l){super(),e.init(this,l,R,q,e.safe_not_equal,{filters:7,activefilters:8,translationurl:9,clientstyling:10,clientstylingurl:11,mbsource:12},U)}get filters(){return this.$$.ctx[7]}set filters(l){this.$$set({filters:l}),e.flush()}get activefilters(){return this.$$.ctx[8]}set activefilters(l){this.$$set({activefilters:l}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(l){this.$$set({translationurl:l}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(l){this.$$set({clientstyling:l}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(l){this.$$set({clientstylingurl:l}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(l){this.$$set({mbsource:l}),e.flush()}}e.create_custom_element(P,{filters:{},activefilters:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-DQNDp9HR.cjs");function T(t,l){e.addMessages(t,l)}const A={en:{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"},hr:{tournaments:"Turniri",all:"Svi",scheduled:"Planirani",ongoing:"U tijeku",finished:"Završeni"},"zh-hk":{tournaments:"錦標賽",all:"全部",scheduled:"預定的",ongoing:"進行中",finished:"完成的"},fr:{tournaments:"Tournois",all:"Tous",scheduled:"Programmé",ongoing:"En cours",finished:"Fini"},ro:{tournaments:"Turnee",all:"Toate",scheduled:"Programate",ongoing:"În curs",finished:"Finalizat"},tr:{tournaments:"Turnuvalar",all:"Hepsi",scheduled:"Planlanmış",ongoing:"Devam ediyor",finished:"Tamamlanmış"},el:{tournaments:"Τουρνουά",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα"},es:{tournaments:"Torneos",all:"Todos",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado"},hu:{tournaments:"Versenyek",all:"Mind",scheduled:"Ütemezés",ongoing:"Folyamatban",finished:"Befejezett"},pt:{tournaments:"Torneios",all:"Tudo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado"},"en-us":{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"}};function q(t){e.append_styles(t,"svelte-f5g69n","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}")}function S(t,l,i){const n=t.slice();return n[21]=l[i],n[23]=i,n}function N(t){let l,i,n=t[4]("tournaments")+"",s,_,y,p,g=e.ensure_array_like(t[1]),c=[];for(let o=0;o<g.length;o+=1)c[o]=L(S(t,g,o));return{c(){l=e.element("ul"),i=e.element("li"),s=e.text(n),_=e.text(":"),y=e.space(),p=e.element("ul");for(let o=0;o<c.length;o+=1)c[o].c();e.attr(i,"class","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(o,F){e.insert(o,l,F),e.append(l,i),e.append(i,s),e.append(i,_),e.append(l,y),e.append(l,p);for(let a=0;a<c.length;a+=1)c[a]&&c[a].m(p,null)},p(o,F){if(F&16&&n!==(n=o[4]("tournaments")+"")&&e.set_data(s,n),F&126){g=e.ensure_array_like(o[1]);let a;for(a=0;a<g.length;a+=1){const d=S(o,g,a);c[a]?c[a].p(d,F):(c[a]=L(d),c[a].c(),c[a].m(p,null))}for(;a<c.length;a+=1)c[a].d(1);c.length=g.length}},d(o){o&&e.detach(l),e.destroy_each(c,o)}}}function E(t){let l,i;return{c(){l=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"d","M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","16"),e.attr(l,"height","16"),e.attr(l,"fill","currentColor"),e.attr(l,"class","bi bi-check"),e.attr(l,"part","bi bi-check"),e.attr(l,"viewBox","0 0 16 16")},m(n,s){e.insert(n,l,s),e.append(l,i)},d(n){n&&e.detach(l)}}}function O(t){let l=t[4]("scheduled")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("scheduled")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function z(t){let l=t[4]("ongoing")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("ongoing")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function B(t){let l=t[4]("finished")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("finished")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function j(t){let l=t[4]("all")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("all")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function L(t){let l,i,n,s,_,y,p,g,c,o,F,a,d=(t[2][t[23]]==1||t[3]&&t[23]==0)&&E(),r=t[21]=="Scheduled"&&O(t),f=t[21]=="Ongoing"&&z(t),m=t[21]=="Finished"&&B(t),h=t[21]=="All"&&j(t);function w(){return t[13](t[21],t[23])}return{c(){l=e.element("li"),i=e.element("button"),d&&d.c(),n=e.space(),s=e.element("div"),r&&r.c(),_=e.space(),f&&f.c(),y=e.space(),m&&m.c(),p=e.space(),h&&h.c(),o=e.space(),e.attr(s,"class","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(s,"part","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"class",g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part",c=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersItem"),e.attr(l,"part","FiltersItem")},m(v,M){e.insert(v,l,M),e.append(l,i),d&&d.m(i,null),e.append(i,n),e.append(i,s),r&&r.m(s,null),e.append(s,_),f&&f.m(s,null),e.append(s,y),m&&m.m(s,null),e.append(s,p),h&&h.m(s,null),e.append(l,o),F||(a=e.listen(l,"click",w),F=!0)},p(v,M){t=v,t[2][t[23]]==1||t[3]&&t[23]==0?d||(d=E(),d.c(),d.m(i,n)):d&&(d.d(1),d=null),t[21]=="Scheduled"?r?r.p(t,M):(r=O(t),r.c(),r.m(s,_)):r&&(r.d(1),r=null),t[21]=="Ongoing"?f?f.p(t,M):(f=z(t),f.c(),f.m(s,y)):f&&(f.d(1),f=null),t[21]=="Finished"?m?m.p(t,M):(m=B(t),m.c(),m.m(s,p)):m&&(m.d(1),m=null),t[21]=="All"?h?h.p(t,M):(h=j(t),h.c(),h.m(s,null)):h&&(h.d(1),h=null),M&12&&g!==(g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"class",g),M&12&&c!==(c=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"part",c)},d(v){v&&e.detach(l),d&&d.d(),r&&r.d(),f&&f.d(),m&&m.d(),h&&h.d(),F=!1,a()}}}function R(t){let l,i=t[1].length>0&&N(t);return{c(){l=e.element("div"),i&&i.c(),e.attr(l,"class","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(n,s){e.insert(n,l,s),i&&i.m(l,null),t[14](l)},p(n,[s]){n[1].length>0?i?i.p(n,s):(i=N(n),i.c(),i.m(l,null)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(n){n&&e.detach(l),i&&i.d(),t[14](null)}}}function D(t,l,i){let n;e.component_subscribe(t,e.$format,u=>i(4,n=u));let{filters:s=""}=l,{activefilters:_=""}=l,{translationurl:y=""}=l,{clientstyling:p=""}=l,{clientstylingurl:g=""}=l,{mbsource:c}=l,o,F,a=[],d=0,r=new Array(100),f=!0,m=window.navigator.userAgent;const h=()=>{fetch(y).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{T(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(A).forEach(u=>{T(u,A[u])});const w=(u,b)=>{if(b==0)i(3,f=!0),i(2,r=new Array(d)),window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else if(i(3,f=!1),r[b]==1?(i(2,r[b]=0,r),r.indexOf(1)==-1&&i(3,f=!0)):i(2,r[b]=1,r),r.indexOf(1)==-1)window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else{let C=[];for(let k=0;k<a.length;k++)r[k]==1&&C.push(a[k]);window.postMessage({type:"TournamentsFiltersSelected",filters:C},window.location.href)}},v=()=>{i(1,a=s.split(",")),d=a.length},M=()=>{let u=_.split(",");i(2,r=new Array(d)),u.indexOf("All")!=-1?i(3,f=!0):(i(3,f=!1),u.forEach(b=>{let C=a.indexOf(b);C>0&&i(2,r[C]=1,r)}))};e.onMount(()=>()=>{});const I=(u,b)=>w(u,b);function U(u){e.binding_callbacks[u?"unshift":"push"](()=>{o=u,i(0,o)})}return t.$$set=u=>{"filters"in u&&i(7,s=u.filters),"activefilters"in u&&i(8,_=u.activefilters),"translationurl"in u&&i(9,y=u.translationurl),"clientstyling"in u&&i(10,p=u.clientstyling),"clientstylingurl"in u&&i(11,g=u.clientstylingurl),"mbsource"in u&&i(12,c=u.mbsource)},t.$$.update=()=>{t.$$.dirty&512&&y&&h(),t.$$.dirty&128&&s&&v(),t.$$.dirty&256&&_&&M(),t.$$.dirty&1025&&p&&o&&e.setClientStyling(o,p),t.$$.dirty&2049&&g&&o&&e.setClientStylingURL(o,g),t.$$.dirty&4097&&c&&o&&e.setStreamStyling(o,`${c}.Style`,F)},[o,a,r,f,n,m,w,s,_,y,p,g,c,I,U]}class P extends e.SvelteComponent{constructor(l){super(),e.init(this,l,D,R,e.safe_not_equal,{filters:7,activefilters:8,translationurl:9,clientstyling:10,clientstylingurl:11,mbsource:12},q)}get filters(){return this.$$.ctx[7]}set filters(l){this.$$set({filters:l}),e.flush()}get activefilters(){return this.$$.ctx[8]}set activefilters(l){this.$$set({activefilters:l}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(l){this.$$set({translationurl:l}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(l){this.$$set({clientstyling:l}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(l){this.$$set({clientstylingurl:l}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(l){this.$$set({mbsource:l}),e.flush()}}e.create_custom_element(P,{filters:{},activefilters:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=P;
@@ -1,6 +1,6 @@
1
- import { a as W, S as X, i as Y, s as x, f as N, b as $, n as L, d as k, c as A, e as S, g as f, h as _, j as ee, o as le, k as I, l as te, m as B, p as F, t as E, q as z, r as ie, u as ne, v as P, w as se, x as oe, y as re, z as ae, $ as ue } from "./CasinoTournamentsController-CnAIq520.js";
1
+ import { a as X, S as Y, i as x, f as N, s as $, c as ee, b as le, n as L, d as k, e as A, g as S, h as f, j as F, k as te, o as ie, l as I, m as ne, p as B, q as y, t as E, r as z, u as se, v as oe, w as P, $ as re, x as ae, y as ue, z as fe } from "./CasinoTournamentsController-DZHPUFoo.js";
2
2
  function U(e, l) {
3
- W(e, l);
3
+ X(e, l);
4
4
  }
5
5
  const q = {
6
6
  en: {
@@ -81,8 +81,8 @@ const q = {
81
81
  finished: "Finished"
82
82
  }
83
83
  };
84
- function fe(e) {
85
- $(e, "svelte-f5g69n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
84
+ function ce(e) {
85
+ le(e, "svelte-f5g69n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
86
86
  }
87
87
  function R(e, l, t) {
88
88
  const i = e.slice();
@@ -92,57 +92,57 @@ function D(e) {
92
92
  let l, t, i = (
93
93
  /*$_*/
94
94
  e[4]("tournaments") + ""
95
- ), n, C, w, y, g = I(
95
+ ), n, _, C, p, g = I(
96
96
  /*filterItems*/
97
97
  e[1]
98
- ), a = [];
98
+ ), u = [];
99
99
  for (let s = 0; s < g.length; s += 1)
100
- a[s] = K(R(e, g, s));
100
+ u[s] = K(R(e, g, s));
101
101
  return {
102
102
  c() {
103
- l = S("ul"), t = S("li"), n = E(i), C = E(":"), w = z(), y = S("ul");
104
- for (let s = 0; s < a.length; s += 1)
105
- a[s].c();
106
- f(t, "class", "FiltersTitle " + (_(
103
+ l = S("ul"), t = S("li"), n = E(i), _ = E(":"), C = z(), p = S("ul");
104
+ for (let s = 0; s < u.length; s += 1)
105
+ u[s].c();
106
+ f(t, "class", "FiltersTitle " + (F(
107
107
  /*userAgent*/
108
108
  e[5]
109
- ) ? "MobileClass" : "Non-MobileClass/empty")), f(t, "part", "FiltersTitle " + (_(
109
+ ) ? "MobileClass" : "Non-MobileClass/empty")), f(t, "part", "FiltersTitle " + (F(
110
110
  /*userAgent*/
111
111
  e[5]
112
- ) ? "MobileClass" : "Non-MobileClass/empty")), f(l, "class", "FiltersList " + (_(
112
+ ) ? "MobileClass" : "Non-MobileClass/empty")), f(l, "class", "FiltersList " + (F(
113
113
  /*userAgent*/
114
114
  e[5]
115
- ) ? "MobileClass" : "Non-MobileClass/empty")), f(l, "part", "FiltersList " + (_(
115
+ ) ? "MobileClass" : "Non-MobileClass/empty")), f(l, "part", "FiltersList " + (F(
116
116
  /*userAgent*/
117
117
  e[5]
118
118
  ) ? "MobileClass" : "Non-MobileClass/empty"));
119
119
  },
120
- m(s, m) {
121
- A(s, l, m), F(l, t), F(t, n), F(t, C), F(l, w), F(l, y);
122
- for (let u = 0; u < a.length; u += 1)
123
- a[u] && a[u].m(y, null);
120
+ m(s, w) {
121
+ A(s, l, w), y(l, t), y(t, n), y(t, _), y(l, C), y(l, p);
122
+ for (let r = 0; r < u.length; r += 1)
123
+ u[r] && u[r].m(p, null);
124
124
  },
125
- p(s, m) {
126
- if (m & /*$_*/
125
+ p(s, w) {
126
+ if (w & /*$_*/
127
127
  16 && i !== (i = /*$_*/
128
- s[4]("tournaments") + "") && B(n, i), m & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
128
+ s[4]("tournaments") + "") && B(n, i), w & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
129
129
  126) {
130
130
  g = I(
131
131
  /*filterItems*/
132
132
  s[1]
133
133
  );
134
- let u;
135
- for (u = 0; u < g.length; u += 1) {
136
- const o = R(s, g, u);
137
- a[u] ? a[u].p(o, m) : (a[u] = K(o), a[u].c(), a[u].m(y, null));
134
+ let r;
135
+ for (r = 0; r < g.length; r += 1) {
136
+ const d = R(s, g, r);
137
+ u[r] ? u[r].p(d, w) : (u[r] = K(d), u[r].c(), u[r].m(p, null));
138
138
  }
139
- for (; u < a.length; u += 1)
140
- a[u].d(1);
141
- a.length = g.length;
139
+ for (; r < u.length; r += 1)
140
+ u[r].d(1);
141
+ u.length = g.length;
142
142
  }
143
143
  },
144
144
  d(s) {
145
- s && k(l), te(a, s);
145
+ s && k(l), ne(u, s);
146
146
  }
147
147
  };
148
148
  }
@@ -153,7 +153,7 @@ function H(e) {
153
153
  l = P("svg"), t = P("path"), f(t, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), f(l, "xmlns", "http://www.w3.org/2000/svg"), f(l, "width", "16"), f(l, "height", "16"), f(l, "fill", "currentColor"), f(l, "class", "bi bi-check"), f(l, "part", "bi bi-check"), f(l, "viewBox", "0 0 16 16");
154
154
  },
155
155
  m(i, n) {
156
- A(i, l, n), F(l, t);
156
+ A(i, l, n), y(l, t);
157
157
  },
158
158
  d(i) {
159
159
  i && k(l);
@@ -249,7 +249,7 @@ function J(e) {
249
249
  };
250
250
  }
251
251
  function K(e) {
252
- let l, t, i, n, C, w, y, g, a, s, m, u, o = (
252
+ let l, t, i, n, _, C, p, g, u, s, w, r, d = (
253
253
  /*activeIndexes*/
254
254
  (e[2][
255
255
  /*index*/
@@ -257,20 +257,20 @@ function K(e) {
257
257
  ] == 1 || /*allActive*/
258
258
  e[3] && /*index*/
259
259
  e[23] == 0) && H()
260
- ), c = (
260
+ ), o = (
261
261
  /*filter*/
262
262
  e[21] == "Scheduled" && V(e)
263
- ), h = (
263
+ ), c = (
264
264
  /*filter*/
265
265
  e[21] == "Ongoing" && Z(e)
266
- ), b = (
266
+ ), m = (
267
267
  /*filter*/
268
268
  e[21] == "Finished" && G(e)
269
- ), d = (
269
+ ), h = (
270
270
  /*filter*/
271
271
  e[21] == "All" && J(e)
272
272
  );
273
- function j() {
273
+ function O() {
274
274
  return (
275
275
  /*click_handler*/
276
276
  e[13](
@@ -283,10 +283,10 @@ function K(e) {
283
283
  }
284
284
  return {
285
285
  c() {
286
- l = S("li"), t = S("button"), o && o.c(), i = z(), n = S("div"), c && c.c(), C = z(), h && h.c(), w = z(), b && b.c(), y = z(), d && d.c(), s = z(), f(n, "class", "FilterButton " + (_(
286
+ l = S("li"), t = S("button"), d && d.c(), i = z(), n = S("div"), o && o.c(), _ = z(), c && c.c(), C = z(), m && m.c(), p = z(), h && h.c(), s = z(), f(n, "class", "FilterButton " + (F(
287
287
  /*userAgent*/
288
288
  e[5]
289
- ) ? "MobileClass" : "Non-MobileClass/empty")), f(n, "part", "FilterButton " + (_(
289
+ ) ? "MobileClass" : "Non-MobileClass/empty")), f(n, "part", "FilterButton " + (F(
290
290
  /*userAgent*/
291
291
  e[5]
292
292
  ) ? "MobileClass" : "Non-MobileClass/empty")), f(t, "class", g = /*activeIndexes*/
@@ -295,22 +295,22 @@ function K(e) {
295
295
  e[23]
296
296
  ] == 1 || /*allActive*/
297
297
  e[3] && /*index*/
298
- e[23] == 0 ? "Active" : "") + " " + (_(
298
+ e[23] == 0 ? "Active" : "") + " " + (F(
299
299
  /*userAgent*/
300
300
  e[5]
301
- ) ? "MobileClass" : "Non-MobileClass/empty")), f(t, "part", a = /*activeIndexes*/
301
+ ) ? "MobileClass" : "Non-MobileClass/empty")), f(t, "part", u = /*activeIndexes*/
302
302
  (e[2][
303
303
  /*index*/
304
304
  e[23]
305
305
  ] == 1 || /*allActive*/
306
306
  e[3] && /*index*/
307
- e[23] == 0 ? "Active" : "") + " " + (_(
307
+ e[23] == 0 ? "Active" : "") + " " + (F(
308
308
  /*userAgent*/
309
309
  e[5]
310
310
  ) ? "MobileClass" : "Non-MobileClass/empty")), f(l, "class", "FiltersItem"), f(l, "part", "FiltersItem");
311
311
  },
312
312
  m(T, v) {
313
- A(T, l, v), F(l, t), o && o.m(t, null), F(t, i), F(t, n), c && c.m(n, null), F(n, C), h && h.m(n, null), F(n, w), b && b.m(n, null), F(n, y), d && d.m(n, null), F(l, s), m || (u = ne(l, "click", j), m = !0);
313
+ A(T, l, v), y(l, t), d && d.m(t, null), y(t, i), y(t, n), o && o.m(n, null), y(n, _), c && c.m(n, null), y(n, C), m && m.m(n, null), y(n, p), h && h.m(n, null), y(l, s), w || (r = oe(l, "click", O), w = !0);
314
314
  },
315
315
  p(T, v) {
316
316
  e = T, /*activeIndexes*/
@@ -319,48 +319,48 @@ function K(e) {
319
319
  e[23]
320
320
  ] == 1 || /*allActive*/
321
321
  e[3] && /*index*/
322
- e[23] == 0 ? o || (o = H(), o.c(), o.m(t, i)) : o && (o.d(1), o = null), /*filter*/
323
- e[21] == "Scheduled" ? c ? c.p(e, v) : (c = V(e), c.c(), c.m(n, C)) : c && (c.d(1), c = null), /*filter*/
324
- e[21] == "Ongoing" ? h ? h.p(e, v) : (h = Z(e), h.c(), h.m(n, w)) : h && (h.d(1), h = null), /*filter*/
325
- e[21] == "Finished" ? b ? b.p(e, v) : (b = G(e), b.c(), b.m(n, y)) : b && (b.d(1), b = null), /*filter*/
326
- e[21] == "All" ? d ? d.p(e, v) : (d = J(e), d.c(), d.m(n, null)) : d && (d.d(1), d = null), v & /*activeIndexes, allActive*/
322
+ e[23] == 0 ? d || (d = H(), d.c(), d.m(t, i)) : d && (d.d(1), d = null), /*filter*/
323
+ e[21] == "Scheduled" ? o ? o.p(e, v) : (o = V(e), o.c(), o.m(n, _)) : o && (o.d(1), o = null), /*filter*/
324
+ e[21] == "Ongoing" ? c ? c.p(e, v) : (c = Z(e), c.c(), c.m(n, C)) : c && (c.d(1), c = null), /*filter*/
325
+ e[21] == "Finished" ? m ? m.p(e, v) : (m = G(e), m.c(), m.m(n, p)) : m && (m.d(1), m = null), /*filter*/
326
+ e[21] == "All" ? h ? h.p(e, v) : (h = J(e), h.c(), h.m(n, null)) : h && (h.d(1), h = null), v & /*activeIndexes, allActive*/
327
327
  12 && g !== (g = /*activeIndexes*/
328
328
  (e[2][
329
329
  /*index*/
330
330
  e[23]
331
331
  ] == 1 || /*allActive*/
332
332
  e[3] && /*index*/
333
- e[23] == 0 ? "Active" : "") + " " + (_(
333
+ e[23] == 0 ? "Active" : "") + " " + (F(
334
334
  /*userAgent*/
335
335
  e[5]
336
336
  ) ? "MobileClass" : "Non-MobileClass/empty")) && f(t, "class", g), v & /*activeIndexes, allActive*/
337
- 12 && a !== (a = /*activeIndexes*/
337
+ 12 && u !== (u = /*activeIndexes*/
338
338
  (e[2][
339
339
  /*index*/
340
340
  e[23]
341
341
  ] == 1 || /*allActive*/
342
342
  e[3] && /*index*/
343
- e[23] == 0 ? "Active" : "") + " " + (_(
343
+ e[23] == 0 ? "Active" : "") + " " + (F(
344
344
  /*userAgent*/
345
345
  e[5]
346
- ) ? "MobileClass" : "Non-MobileClass/empty")) && f(t, "part", a);
346
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && f(t, "part", u);
347
347
  },
348
348
  d(T) {
349
- T && k(l), o && o.d(), c && c.d(), h && h.d(), b && b.d(), d && d.d(), m = !1, u();
349
+ T && k(l), d && d.d(), o && o.d(), c && c.d(), m && m.d(), h && h.d(), w = !1, r();
350
350
  }
351
351
  };
352
352
  }
353
- function ce(e) {
353
+ function de(e) {
354
354
  let l, t = (
355
355
  /*filterItems*/
356
356
  e[1].length > 0 && D(e)
357
357
  );
358
358
  return {
359
359
  c() {
360
- l = S("div"), t && t.c(), f(l, "class", "FiltersController " + (_(
360
+ l = S("div"), t && t.c(), f(l, "class", "FiltersController " + (F(
361
361
  /*userAgent*/
362
362
  e[5]
363
- ) ? "MobileClass" : "Non-MobileClass/empty")), f(l, "part", "FiltersController " + (_(
363
+ ) ? "MobileClass" : "Non-MobileClass/empty")), f(l, "part", "FiltersController " + (F(
364
364
  /*userAgent*/
365
365
  e[5]
366
366
  ) ? "MobileClass" : "Non-MobileClass/empty"));
@@ -379,32 +379,32 @@ function ce(e) {
379
379
  }
380
380
  };
381
381
  }
382
- function de(e, l, t) {
382
+ function ge(e, l, t) {
383
383
  let i;
384
- ee(e, ue, (r) => t(4, i = r));
385
- let { filters: n = "" } = l, { activefilters: C = "" } = l, { translationurl: w = "" } = l, { clientstyling: y = "" } = l, { clientstylingurl: g = "" } = l, { mbsource: a } = l, s, m = [], u = 0, o = new Array(100), c = !0, h = window.navigator.userAgent;
386
- const b = () => {
387
- fetch(w).then((p) => p.json()).then((p) => {
388
- Object.keys(p).forEach((M) => {
389
- U(M, p[M]);
384
+ te(e, re, (a) => t(4, i = a));
385
+ let { filters: n = "" } = l, { activefilters: _ = "" } = l, { translationurl: C = "" } = l, { clientstyling: p = "" } = l, { clientstylingurl: g = "" } = l, { mbsource: u } = l, s, w, r = [], d = 0, o = new Array(100), c = !0, m = window.navigator.userAgent;
386
+ const h = () => {
387
+ fetch(C).then((b) => b.json()).then((b) => {
388
+ Object.keys(b).forEach((M) => {
389
+ U(M, b[M]);
390
390
  });
391
- }).catch((p) => {
392
- console.log(p);
391
+ }).catch((b) => {
392
+ console.log(b);
393
393
  });
394
394
  };
395
- Object.keys(q).forEach((r) => {
396
- U(r, q[r]);
395
+ Object.keys(q).forEach((a) => {
396
+ U(a, q[a]);
397
397
  });
398
- const d = (r, p) => {
399
- if (p == 0)
400
- t(3, c = !0), t(2, o = new Array(u)), window.postMessage(
398
+ const O = (a, b) => {
399
+ if (b == 0)
400
+ t(3, c = !0), t(2, o = new Array(d)), window.postMessage(
401
401
  {
402
402
  type: "TournamentsFiltersSelected",
403
403
  filters: ["All"]
404
404
  },
405
405
  window.location.href
406
406
  );
407
- else if (t(3, c = !1), o[p] == 1 ? (t(2, o[p] = 0, o), o.indexOf(1) == -1 && t(3, c = !0)) : t(2, o[p] = 1, o), o.indexOf(1) == -1)
407
+ else if (t(3, c = !1), o[b] == 1 ? (t(2, o[b] = 0, o), o.indexOf(1) == -1 && t(3, c = !0)) : t(2, o[b] = 1, o), o.indexOf(1) == -1)
408
408
  window.postMessage(
409
409
  {
410
410
  type: "TournamentsFiltersSelected",
@@ -414,8 +414,8 @@ function de(e, l, t) {
414
414
  );
415
415
  else {
416
416
  let M = [];
417
- for (let O = 0; O < m.length; O++)
418
- o[O] == 1 && M.push(m[O]);
417
+ for (let j = 0; j < r.length; j++)
418
+ o[j] == 1 && M.push(r[j]);
419
419
  window.postMessage(
420
420
  {
421
421
  type: "TournamentsFiltersSelected",
@@ -424,59 +424,59 @@ function de(e, l, t) {
424
424
  window.location.href
425
425
  );
426
426
  }
427
- }, j = () => {
428
- t(1, m = n.split(",")), u = m.length;
429
427
  }, T = () => {
430
- let r = C.split(",");
431
- t(2, o = new Array(u)), r.indexOf("All") != -1 ? t(3, c = !0) : (t(3, c = !1), r.forEach((p) => {
432
- let M = m.indexOf(p);
428
+ t(1, r = n.split(",")), d = r.length;
429
+ }, v = () => {
430
+ let a = _.split(",");
431
+ t(2, o = new Array(d)), a.indexOf("All") != -1 ? t(3, c = !0) : (t(3, c = !1), a.forEach((b) => {
432
+ let M = r.indexOf(b);
433
433
  M > 0 && t(2, o[M] = 1, o);
434
434
  }));
435
435
  };
436
- le(() => () => {
436
+ ie(() => () => {
437
437
  });
438
- const v = (r, p) => d(r, p);
439
- function Q(r) {
440
- ie[r ? "unshift" : "push"](() => {
441
- s = r, t(0, s);
438
+ const Q = (a, b) => O(a, b);
439
+ function W(a) {
440
+ se[a ? "unshift" : "push"](() => {
441
+ s = a, t(0, s);
442
442
  });
443
443
  }
444
- return e.$$set = (r) => {
445
- "filters" in r && t(7, n = r.filters), "activefilters" in r && t(8, C = r.activefilters), "translationurl" in r && t(9, w = r.translationurl), "clientstyling" in r && t(10, y = r.clientstyling), "clientstylingurl" in r && t(11, g = r.clientstylingurl), "mbsource" in r && t(12, a = r.mbsource);
444
+ return e.$$set = (a) => {
445
+ "filters" in a && t(7, n = a.filters), "activefilters" in a && t(8, _ = a.activefilters), "translationurl" in a && t(9, C = a.translationurl), "clientstyling" in a && t(10, p = a.clientstyling), "clientstylingurl" in a && t(11, g = a.clientstylingurl), "mbsource" in a && t(12, u = a.mbsource);
446
446
  }, e.$$.update = () => {
447
447
  e.$$.dirty & /*translationurl*/
448
- 512 && w && b(), e.$$.dirty & /*filters*/
449
- 128 && n && j(), e.$$.dirty & /*activefilters*/
450
- 256 && C && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
451
- 1025 && y && s && se(s, y), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
452
- 2049 && g && s && oe(s, g), e.$$.dirty & /*mbsource, customStylingContainer*/
453
- 4097 && a && s && re(s, `${a}.Style`);
448
+ 512 && C && h(), e.$$.dirty & /*filters*/
449
+ 128 && n && T(), e.$$.dirty & /*activefilters*/
450
+ 256 && _ && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
451
+ 1025 && p && s && ae(s, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
452
+ 2049 && g && s && ue(s, g), e.$$.dirty & /*mbsource, customStylingContainer*/
453
+ 4097 && u && s && fe(s, `${u}.Style`, w);
454
454
  }, [
455
455
  s,
456
- m,
456
+ r,
457
457
  o,
458
458
  c,
459
459
  i,
460
- h,
461
- d,
460
+ m,
461
+ O,
462
462
  n,
463
+ _,
463
464
  C,
464
- w,
465
- y,
465
+ p,
466
466
  g,
467
- a,
468
- v,
469
- Q
467
+ u,
468
+ Q,
469
+ W
470
470
  ];
471
471
  }
472
- class ge extends X {
472
+ class me extends Y {
473
473
  constructor(l) {
474
- super(), Y(
474
+ super(), x(
475
475
  this,
476
476
  l,
477
+ ge,
477
478
  de,
478
- ce,
479
- x,
479
+ $,
480
480
  {
481
481
  filters: 7,
482
482
  activefilters: 8,
@@ -485,7 +485,7 @@ class ge extends X {
485
485
  clientstylingurl: 11,
486
486
  mbsource: 12
487
487
  },
488
- fe
488
+ ce
489
489
  );
490
490
  }
491
491
  get filters() {
@@ -525,7 +525,7 @@ class ge extends X {
525
525
  this.$$set({ mbsource: l }), N();
526
526
  }
527
527
  }
528
- ae(ge, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
528
+ ee(me, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
529
529
  export {
530
- ge as default
530
+ me as default
531
531
  };