@everymatrix/casino-tournaments-tab 1.74.1 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -193,10 +193,10 @@ function $t(t, e, n, s, i, r, o = null, l = [-1]) {
193
193
  };
194
194
  o && o(c.root);
195
195
  let d = !1;
196
- if (c.ctx = n ? n(t, e.props || {}, (u, m, ...h) => {
196
+ if (c.ctx = n(t, e.props || {}, (u, m, ...h) => {
197
197
  const $ = h.length ? h[0] : m;
198
198
  return c.ctx && i(c.ctx[u], c.ctx[u] = $) && (!c.skip_bound && c.bound[u] && c.bound[u]($), d && ht(t, u)), m;
199
- }) : [], c.update(), d = !0, x(c.before_update), c.fragment = s ? s(c.ctx) : !1, e.target) {
199
+ }), c.update(), d = !0, x(c.before_update), c.fragment = s(c.ctx), e.target) {
200
200
  if (e.hydrate) {
201
201
  const u = nt(e.target);
202
202
  c.fragment && c.fragment.l(u), u.forEach(v);
@@ -0,0 +1 @@
1
+ "use strict";var ot=Object.defineProperty,rt=Object.defineProperties;var ct=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var N=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x=(e,t)=>{for(var n in t||(t={}))H.call(t,n)&&N(e,n,t[n]);if(j)for(var n of j(t))U.call(t,n)&&N(e,n,t[n]);return e},M=(e,t)=>rt(e,ct(t));var I=(e,t)=>{var n={};for(var s in e)H.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&j)for(var s of j(e))t.indexOf(s)<0&&U.call(e,s)&&(n[s]=e[s]);return n};var $=(e,t,n)=>(N(e,typeof t!="symbol"?t+"":t,n),n);var D=(e,t,n)=>new Promise((s,i)=>{var o=u=>{try{l(n.next(u))}catch(c){i(c)}},r=u=>{try{l(n.throw(u))}catch(c){i(c)}},l=u=>u.done?s(u.value):Promise.resolve(u.value).then(o,r);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function T(){}function Y(e){return e()}function J(){return Object.create(null)}function A(e){e.forEach(Y)}function Z(e){return typeof e=="function"}function lt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ut(e){return Object.keys(e).length===0}function w(e,t){e.appendChild(t)}function at(e,t,n){const s=ft(e);if(!s.getElementById(t)){const i=_("style");i.id=t,i.textContent=n,dt(s,i)}}function ft(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function dt(e,t){return w(e.head||e,t),t.sheet}function C(e,t,n){e.insertBefore(t,n||null)}function E(e){e.parentNode&&e.parentNode.removeChild(e)}function ht(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function z(e){return document.createTextNode(e)}function V(){return z(" ")}function $t(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function m(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function bt(e){return Array.from(e.childNodes)}function tt(e,t){t=""+t,e.data!==t&&(e.data=t)}function mt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let S;function L(e){S=e}function gt(){if(!S)throw new Error("Function called outside component initialization");return S}function et(e){gt().$$.on_mount.push(e)}const v=[],P=[];let k=[];const q=[],_t=Promise.resolve();let R=!1;function pt(){R||(R=!0,_t.then(p))}function B(e){k.push(e)}const F=new Set;let y=0;function p(){if(y!==0)return;const e=S;do{try{for(;y<v.length;){const t=v[y];y++,L(t),wt(t.$$)}}catch(t){throw v.length=0,y=0,t}for(L(null),v.length=0,y=0;P.length;)P.pop()();for(let t=0;t<k.length;t+=1){const n=k[t];F.has(n)||(F.add(n),n())}k.length=0}while(v.length);for(;q.length;)q.pop()();R=!1,F.clear(),L(e)}function wt(e){if(e.fragment!==null){e.update(),A(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(B)}}function yt(e){const t=[],n=[];k.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),k=t}const vt=new Set;function kt(e,t){e&&e.i&&(vt.delete(e),e.i(t))}function G(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Et(e,t,n){const{fragment:s,after_update:i}=e.$$;s&&s.m(t,n),B(()=>{const o=e.$$.on_mount.map(Y).filter(Z);e.$$.on_destroy?e.$$.on_destroy.push(...o):A(o),e.$$.on_mount=[]}),i.forEach(B)}function Lt(e,t){const n=e.$$;n.fragment!==null&&(yt(n.after_update),A(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Tt(e,t){e.$$.dirty[0]===-1&&(v.push(e),pt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function St(e,t,n,s,i,o,r=null,l=[-1]){const u=S;L(e);const c=e.$$={fragment:null,ctx:[],props:o,update:T,not_equal:i,bound:J(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:J(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};r&&r(c.root);let d=!1;if(c.ctx=n(e,t.props||{},(a,g,...h)=>{const b=h.length?h[0]:g;return c.ctx&&i(c.ctx[a],c.ctx[a]=b)&&(!c.skip_bound&&c.bound[a]&&c.bound[a](b),d&&Tt(e,a)),g}),c.update(),d=!0,A(c.before_update),c.fragment=s(c.ctx),t.target){if(t.hydrate){const a=bt(t.target);c.fragment&&c.fragment.l(a),a.forEach(E)}else c.fragment&&c.fragment.c();t.intro&&kt(e.$$.fragment),Et(e,t.target,t.anchor),p()}L(u)}let nt;typeof HTMLElement=="function"&&(nt=class extends HTMLElement{constructor(t,n,s){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return D(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let r;return{c:function(){r=_("slot"),o!=="default"&&m(r,"name",o)},m:function(c,d){C(c,r,d)},d:function(c){c&&E(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=mt(this);for(const o of this.$$s)o in s&&(n[o]=[t(o)]);for(const o of this.attributes){const r=this.$$g_p(o.name);r in this.$$d||(this.$$d[r]=O(r,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:M(x({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const r=O(o,this.$$d[o],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,r)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const r of this.$$l[o]){const l=this.$$c.$on(o,r);this.$$l_u.set(r,l)}this.$$l={}}})}attributeChangedCallback(t,n,s){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=O(t,s,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function O(e,t,n,s){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ct(e,t,n,s,i,o){let r=class extends nt{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(r.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var c;u=O(l,u,t),this.$$d[l]=u,(c=this.$$c)==null||c.$set({[l]:u})}})}),s.forEach(l=>{Object.defineProperty(r.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=r,r}class jt{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){Lt(this,1),this.$destroy=T}$on(t,n){if(!Z(n))return T;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const i=s.indexOf(n);i!==-1&&s.splice(i,1)}}$set(t){this.$$set&&!ut(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const xt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(xt);const Mt=e=>n=>{Object.keys(e).map(s=>{if(n.data&&n.data.type==s){const i=n.data,{type:o}=i,r=I(i,["type"]);e[s](r)}})},Ot=e=>{const t=Mt(e);et(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function At(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Nt(e,t){const n=new URL(t);fetch(n.href).then(s=>s.text()).then(s=>{const i=document.createElement("style");i.innerHTML=s,e&&e.appendChild(i)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function Ft(e,t,n){if(window.emMessageBus){const s=document.createElement("style");window.emMessageBus.subscribe(t,i=>{s.innerHTML=i,e&&e.appendChild(s)})}}function Pt(e){at(e,"svelte-1eq8iwl","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#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 #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;flex:auto;display:block}.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}")}function K(e,t,n){const s=e.slice();return s[14]=t[n],s}function Q(e){let t,n=G(e[5]),s=[];for(let i=0;i<n.length;i+=1)s[i]=X(K(e,n,i));return{c(){t=_("ul");for(let i=0;i<s.length;i+=1)s[i].c();m(t,"part","ul")},m(i,o){C(i,t,o);for(let r=0;r<s.length;r+=1)s[r]&&s[r].m(t,null)},p(i,o){if(o&60){n=G(i[5]);let r;for(r=0;r<n.length;r+=1){const l=K(i,n,r);s[r]?s[r].p(l,o):(s[r]=X(l),s[r].c(),s[r].m(t,null))}for(;r<s.length;r+=1)s[r].d(1);s.length=n.length}},d(i){i&&E(t),ht(s,i)}}}function W(e){let t,n,s=e[2][e[14]]+"",i;return{c(){t=_("sup"),n=_("span"),i=z(s),m(n,"part","SupText"),m(t,"part","sup")},m(o,r){C(o,t,r),w(t,n),w(n,i)},p(o,r){r&36&&s!==(s=o[2][o[14]]+"")&&tt(i,s)},d(o){o&&E(t)}}}function X(e){let t,n,s=e[3][e[14]]+"",i,o,r,l,u,c,d,a=e[2][e[14]]>=0&&W(e);function g(){return e[11](e[14])}return{c(){t=_("li"),n=_("span"),i=z(s),o=V(),a&&a.c(),r=V(),m(n,"part","LiText"),m(t,"class",l=e[4]===e[14]?"active":""),m(t,"part",u=`${e[14]} li `+(e[4]===e[14]?"active":""))},m(h,b){C(h,t,b),w(t,n),w(n,i),w(t,o),a&&a.m(t,null),w(t,r),c||(d=$t(t,"click",g),c=!0)},p(h,b){e=h,b&40&&s!==(s=e[3][e[14]]+"")&&tt(i,s),e[2][e[14]]>=0?a?a.p(e,b):(a=W(e),a.c(),a.m(t,r)):a&&(a.d(1),a=null),b&48&&l!==(l=e[4]===e[14]?"active":"")&&m(t,"class",l),b&48&&u!==(u=`${e[14]} li `+(e[4]===e[14]?"active":""))&&m(t,"part",u)},d(h){h&&E(t),a&&a.d(),c=!1,d()}}}function Rt(e){let t,n=e[1]&&Q(e);return{c(){t=_("div"),n&&n.c(),m(t,"class","casino-tournaments-tab"),m(t,"part","CustomStylingContainer")},m(s,i){C(s,t,i),n&&n.m(t,null),e[12](t)},p(s,[i]){s[1]?n?n.p(s,i):(n=Q(s),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:T,o:T,d(s){s&&E(t),n&&n.d(),e[12](null)}}}function Bt(e,t,n){let s,i,{tabs:o=""}=t,{tab:r=void 0}=t,{clientstyling:l=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,d,a=!1,g={},h={};Ot({TournamentsTabTotalUpdate:f=>{n(2,g=M(x({},g),{[f.state]:f.total}))},TournamentsTabLocaleTextUpdate:f=>{n(1,a=!0),n(3,h=M(x({},h),{[f.state]:f.text}))}}),et(()=>(window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href),()=>{}));const b=f=>{n(4,i=f),window.postMessage({type:"TournamentsTabSwitch",tab:f},window.location.href)};function it(f){P[f?"unshift":"push"](()=>{d=f,n(0,d)})}return e.$$set=f=>{"tabs"in f&&n(6,o=f.tabs),"tab"in f&&n(7,r=f.tab),"clientstyling"in f&&n(8,l=f.clientstyling),"clientstylingurl"in f&&n(9,u=f.clientstylingurl),"mbsource"in f&&n(10,c=f.mbsource)},e.$$.update=()=>{e.$$.dirty&257&&l&&d&&At(d,l),e.$$.dirty&513&&u&&d&&Nt(d,u),e.$$.dirty&1025&&c&&d&&Ft(d,`${c}.Style`),e.$$.dirty&64&&n(5,s=o.split(",")),e.$$.dirty&128&&n(4,i=r)},[d,a,g,h,i,s,o,r,l,u,c,b,it]}class st extends jt{constructor(t){super(),St(this,t,Bt,Rt,lt,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9,mbsource:10},Pt)}get tabs(){return this.$$.ctx[6]}set tabs(t){this.$$set({tabs:t}),p()}get tab(){return this.$$.ctx[7]}set tab(t){this.$$set({tab:t}),p()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),p()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),p()}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),p()}}Ct(st,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=st;
@@ -23,18 +23,18 @@ var $ = (e, t, n) => (N(e, typeof t != "symbol" ? t + "" : t, n), n);
23
23
  var D = (e, t, n) => new Promise((s, i) => {
24
24
  var o = (u) => {
25
25
  try {
26
- c(n.next(u));
27
- } catch (l) {
28
- i(l);
26
+ l(n.next(u));
27
+ } catch (c) {
28
+ i(c);
29
29
  }
30
30
  }, r = (u) => {
31
31
  try {
32
- c(n.throw(u));
33
- } catch (l) {
34
- i(l);
32
+ l(n.throw(u));
33
+ } catch (c) {
34
+ i(c);
35
35
  }
36
- }, c = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(o, r);
37
- c((n = n.apply(e, t)).next());
36
+ }, l = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(o, r);
37
+ l((n = n.apply(e, t)).next());
38
38
  });
39
39
  function T() {
40
40
  }
@@ -50,10 +50,10 @@ function A(e) {
50
50
  function Z(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function lt(e, t) {
53
+ function ct(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function ct(e) {
56
+ function lt(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
59
  function w(e, t) {
@@ -205,10 +205,10 @@ function Et(e, t) {
205
205
  function Lt(e, t) {
206
206
  e.$$.dirty[0] === -1 && (v.push(e), _t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
207
  }
208
- function Tt(e, t, n, s, i, o, r = null, c = [-1]) {
208
+ function Tt(e, t, n, s, i, o, r = null, l = [-1]) {
209
209
  const u = C;
210
210
  L(e);
211
- const l = e.$$ = {
211
+ const c = e.$$ = {
212
212
  fragment: null,
213
213
  ctx: [],
214
214
  // state
@@ -225,21 +225,21 @@ function Tt(e, t, n, s, i, o, r = null, c = [-1]) {
225
225
  context: new Map(t.context || (u ? u.$$.context : [])),
226
226
  // everything else
227
227
  callbacks: J(),
228
- dirty: c,
228
+ dirty: l,
229
229
  skip_bound: !1,
230
230
  root: t.target || u.$$.root
231
231
  };
232
- r && r(l.root);
232
+ r && r(c.root);
233
233
  let d = !1;
234
- if (l.ctx = n ? n(e, t.props || {}, (a, g, ...h) => {
234
+ if (c.ctx = n(e, t.props || {}, (a, g, ...h) => {
235
235
  const b = h.length ? h[0] : g;
236
- return l.ctx && i(l.ctx[a], l.ctx[a] = b) && (!l.skip_bound && l.bound[a] && l.bound[a](b), d && Lt(e, a)), g;
237
- }) : [], l.update(), d = !0, A(l.before_update), l.fragment = s ? s(l.ctx) : !1, t.target) {
236
+ return c.ctx && i(c.ctx[a], c.ctx[a] = b) && (!c.skip_bound && c.bound[a] && c.bound[a](b), d && Lt(e, a)), g;
237
+ }), c.update(), d = !0, A(c.before_update), c.fragment = s(c.ctx), t.target) {
238
238
  if (t.hydrate) {
239
239
  const a = $t(t.target);
240
- l.fragment && l.fragment.l(a), a.forEach(E);
240
+ c.fragment && c.fragment.l(a), a.forEach(E);
241
241
  } else
242
- l.fragment && l.fragment.c();
242
+ c.fragment && c.fragment.c();
243
243
  t.intro && vt(e.$$.fragment), kt(e, t.target, t.anchor), p();
244
244
  }
245
245
  L(u);
@@ -295,11 +295,11 @@ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
295
295
  * @param {HTMLElement} target
296
296
  * @param {HTMLElement} [anchor]
297
297
  */
298
- m: function(l, d) {
299
- S(l, r, d);
298
+ m: function(c, d) {
299
+ S(c, r, d);
300
300
  },
301
- d: function(l) {
302
- l && E(r);
301
+ d: function(c) {
302
+ c && E(r);
303
303
  }
304
304
  };
305
305
  };
@@ -341,8 +341,8 @@ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
341
341
  this.$$c.$$.after_update.push(i), i();
342
342
  for (const o in this.$$l)
343
343
  for (const r of this.$$l[o]) {
344
- const c = this.$$c.$on(o, r);
345
- this.$$l_u.set(r, c);
344
+ const l = this.$$c.$on(o, r);
345
+ this.$$l_u.set(r, l);
346
346
  }
347
347
  this.$$l = {};
348
348
  }
@@ -402,25 +402,25 @@ function Ct(e, t, n, s, i, o) {
402
402
  }
403
403
  static get observedAttributes() {
404
404
  return Object.keys(t).map(
405
- (c) => (t[c].attribute || c).toLowerCase()
405
+ (l) => (t[l].attribute || l).toLowerCase()
406
406
  );
407
407
  }
408
408
  };
409
- return Object.keys(t).forEach((c) => {
410
- Object.defineProperty(r.prototype, c, {
409
+ return Object.keys(t).forEach((l) => {
410
+ Object.defineProperty(r.prototype, l, {
411
411
  get() {
412
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
412
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
413
413
  },
414
414
  set(u) {
415
- var l;
416
- u = O(c, u, t), this.$$d[c] = u, (l = this.$$c) == null || l.$set({ [c]: u });
415
+ var c;
416
+ u = O(l, u, t), this.$$d[l] = u, (c = this.$$c) == null || c.$set({ [l]: u });
417
417
  }
418
418
  });
419
- }), s.forEach((c) => {
420
- Object.defineProperty(r.prototype, c, {
419
+ }), s.forEach((l) => {
420
+ Object.defineProperty(r.prototype, l, {
421
421
  get() {
422
422
  var u;
423
- return (u = this.$$c) == null ? void 0 : u[c];
423
+ return (u = this.$$c) == null ? void 0 : u[l];
424
424
  }
425
425
  });
426
426
  }), e.element = /** @type {any} */
@@ -469,7 +469,7 @@ class St {
469
469
  * @returns {void}
470
470
  */
471
471
  $set(t) {
472
- this.$$set && !ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
473
  }
474
474
  }
475
475
  const xt = "4";
@@ -545,8 +545,8 @@ function Q(e) {
545
545
  );
546
546
  let r;
547
547
  for (r = 0; r < n.length; r += 1) {
548
- const c = K(i, n, r);
549
- s[r] ? s[r].p(c, o) : (s[r] = X(c), s[r].c(), s[r].m(t, null));
548
+ const l = K(i, n, r);
549
+ s[r] ? s[r].p(l, o) : (s[r] = X(l), s[r].c(), s[r].m(t, null));
550
550
  }
551
551
  for (; r < s.length; r += 1)
552
552
  s[r].d(1);
@@ -593,7 +593,7 @@ function X(e) {
593
593
  /*_tab*/
594
594
  e[14]
595
595
  ] + ""
596
- ), i, o, r, c, u, l, d, a = (
596
+ ), i, o, r, l, u, c, d, a = (
597
597
  /*totalReceiver*/
598
598
  e[2][
599
599
  /*_tab*/
@@ -611,7 +611,7 @@ function X(e) {
611
611
  }
612
612
  return {
613
613
  c() {
614
- t = _("li"), n = _("span"), i = z(s), o = V(), a && a.c(), r = V(), m(n, "part", "LiText"), m(t, "class", c = /*__tab*/
614
+ t = _("li"), n = _("span"), i = z(s), o = V(), a && a.c(), r = V(), m(n, "part", "LiText"), m(t, "class", l = /*__tab*/
615
615
  e[4] === /*_tab*/
616
616
  e[14] ? "active" : ""), m(t, "part", u = `${/*_tab*/
617
617
  e[14]} li ` + /*__tab*/
@@ -619,7 +619,7 @@ function X(e) {
619
619
  e[14] ? "active" : ""));
620
620
  },
621
621
  m(h, b) {
622
- S(h, t, b), w(t, n), w(n, i), w(t, o), a && a.m(t, null), w(t, r), l || (d = ht(t, "click", g), l = !0);
622
+ S(h, t, b), w(t, n), w(n, i), w(t, o), a && a.m(t, null), w(t, r), c || (d = ht(t, "click", g), c = !0);
623
623
  },
624
624
  p(h, b) {
625
625
  e = h, b & /*textReceiver, __tabs*/
@@ -632,16 +632,16 @@ function X(e) {
632
632
  /*_tab*/
633
633
  e[14]
634
634
  ] >= 0 ? a ? a.p(e, b) : (a = W(e), a.c(), a.m(t, r)) : a && (a.d(1), a = null), b & /*__tab, __tabs*/
635
- 48 && c !== (c = /*__tab*/
635
+ 48 && l !== (l = /*__tab*/
636
636
  e[4] === /*_tab*/
637
- e[14] ? "active" : "") && m(t, "class", c), b & /*__tabs, __tab*/
637
+ e[14] ? "active" : "") && m(t, "class", l), b & /*__tabs, __tab*/
638
638
  48 && u !== (u = `${/*_tab*/
639
639
  e[14]} li ` + /*__tab*/
640
640
  (e[4] === /*_tab*/
641
641
  e[14] ? "active" : "")) && m(t, "part", u);
642
642
  },
643
643
  d(h) {
644
- h && E(t), a && a.d(), l = !1, d();
644
+ h && E(t), a && a.d(), c = !1, d();
645
645
  }
646
646
  };
647
647
  }
@@ -669,7 +669,7 @@ function Rt(e) {
669
669
  };
670
670
  }
671
671
  function Bt(e, t, n) {
672
- let s, i, { tabs: o = "" } = t, { tab: r = void 0 } = t, { clientstyling: c = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, d, a = !1, g = {}, h = {};
672
+ let s, i, { tabs: o = "" } = t, { tab: r = void 0 } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, d, a = !1, g = {}, h = {};
673
673
  Mt({
674
674
  TournamentsTabTotalUpdate: (f) => {
675
675
  n(2, g = M(j({}, g), {
@@ -690,12 +690,12 @@ function Bt(e, t, n) {
690
690
  });
691
691
  }
692
692
  return e.$$set = (f) => {
693
- "tabs" in f && n(6, o = f.tabs), "tab" in f && n(7, r = f.tab), "clientstyling" in f && n(8, c = f.clientstyling), "clientstylingurl" in f && n(9, u = f.clientstylingurl), "mbsource" in f && n(10, l = f.mbsource);
693
+ "tabs" in f && n(6, o = f.tabs), "tab" in f && n(7, r = f.tab), "clientstyling" in f && n(8, l = f.clientstyling), "clientstylingurl" in f && n(9, u = f.clientstylingurl), "mbsource" in f && n(10, c = f.mbsource);
694
694
  }, e.$$.update = () => {
695
695
  e.$$.dirty & /*clientstyling, customStylingContainer*/
696
- 257 && c && d && Ot(d, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
696
+ 257 && l && d && Ot(d, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
697
697
  513 && u && d && At(d, u), e.$$.dirty & /*mbsource, customStylingContainer*/
698
- 1025 && l && d && Nt(d, `${l}.Style`), e.$$.dirty & /*tabs*/
698
+ 1025 && c && d && Nt(d, `${c}.Style`), e.$$.dirty & /*tabs*/
699
699
  64 && n(5, s = o.split(",")), e.$$.dirty & /*tab*/
700
700
  128 && n(4, i = r);
701
701
  }, [
@@ -707,9 +707,9 @@ function Bt(e, t, n) {
707
707
  s,
708
708
  o,
709
709
  r,
710
- c,
711
- u,
712
710
  l,
711
+ u,
712
+ c,
713
713
  b,
714
714
  st
715
715
  ];
@@ -721,7 +721,7 @@ class Pt extends St {
721
721
  t,
722
722
  Bt,
723
723
  Rt,
724
- lt,
724
+ ct,
725
725
  {
726
726
  tabs: 6,
727
727
  tab: 7,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsTab-Dz-xA5Ja.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsTab-kqSzVSJp.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsTab-BlciDP1U.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsTab-waI7lGiD.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoTournamentsTab-DP9gQroL.js";
1
+ import { C as s } from "../components/CasinoTournamentsTab-Ckvi9zq4.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-tab",
3
- "version": "1.74.1",
3
+ "version": "1.74.3",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-tab.cjs",
6
6
  "module": "esnext/casino-tournaments-tab.js",
@@ -1 +0,0 @@
1
- "use strict";var ot=Object.defineProperty,rt=Object.defineProperties;var lt=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var N=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x=(e,t)=>{for(var n in t||(t={}))H.call(t,n)&&N(e,n,t[n]);if(j)for(var n of j(t))U.call(t,n)&&N(e,n,t[n]);return e},M=(e,t)=>rt(e,lt(t));var I=(e,t)=>{var n={};for(var s in e)H.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&j)for(var s of j(e))t.indexOf(s)<0&&U.call(e,s)&&(n[s]=e[s]);return n};var $=(e,t,n)=>(N(e,typeof t!="symbol"?t+"":t,n),n);var D=(e,t,n)=>new Promise((s,i)=>{var o=u=>{try{c(n.next(u))}catch(l){i(l)}},r=u=>{try{c(n.throw(u))}catch(l){i(l)}},c=u=>u.done?s(u.value):Promise.resolve(u.value).then(o,r);c((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function T(){}function Y(e){return e()}function J(){return Object.create(null)}function A(e){e.forEach(Y)}function Z(e){return typeof e=="function"}function ct(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ut(e){return Object.keys(e).length===0}function w(e,t){e.appendChild(t)}function at(e,t,n){const s=ft(e);if(!s.getElementById(t)){const i=_("style");i.id=t,i.textContent=n,dt(s,i)}}function ft(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function dt(e,t){return w(e.head||e,t),t.sheet}function C(e,t,n){e.insertBefore(t,n||null)}function E(e){e.parentNode&&e.parentNode.removeChild(e)}function ht(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function z(e){return document.createTextNode(e)}function V(){return z(" ")}function $t(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function m(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function bt(e){return Array.from(e.childNodes)}function tt(e,t){t=""+t,e.data!==t&&(e.data=t)}function mt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let S;function L(e){S=e}function gt(){if(!S)throw new Error("Function called outside component initialization");return S}function et(e){gt().$$.on_mount.push(e)}const v=[],P=[];let k=[];const q=[],_t=Promise.resolve();let R=!1;function pt(){R||(R=!0,_t.then(p))}function B(e){k.push(e)}const F=new Set;let y=0;function p(){if(y!==0)return;const e=S;do{try{for(;y<v.length;){const t=v[y];y++,L(t),wt(t.$$)}}catch(t){throw v.length=0,y=0,t}for(L(null),v.length=0,y=0;P.length;)P.pop()();for(let t=0;t<k.length;t+=1){const n=k[t];F.has(n)||(F.add(n),n())}k.length=0}while(v.length);for(;q.length;)q.pop()();R=!1,F.clear(),L(e)}function wt(e){if(e.fragment!==null){e.update(),A(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(B)}}function yt(e){const t=[],n=[];k.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),k=t}const vt=new Set;function kt(e,t){e&&e.i&&(vt.delete(e),e.i(t))}function G(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Et(e,t,n){const{fragment:s,after_update:i}=e.$$;s&&s.m(t,n),B(()=>{const o=e.$$.on_mount.map(Y).filter(Z);e.$$.on_destroy?e.$$.on_destroy.push(...o):A(o),e.$$.on_mount=[]}),i.forEach(B)}function Lt(e,t){const n=e.$$;n.fragment!==null&&(yt(n.after_update),A(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Tt(e,t){e.$$.dirty[0]===-1&&(v.push(e),pt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function St(e,t,n,s,i,o,r=null,c=[-1]){const u=S;L(e);const l=e.$$={fragment:null,ctx:[],props:o,update:T,not_equal:i,bound:J(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:J(),dirty:c,skip_bound:!1,root:t.target||u.$$.root};r&&r(l.root);let d=!1;if(l.ctx=n?n(e,t.props||{},(a,g,...h)=>{const b=h.length?h[0]:g;return l.ctx&&i(l.ctx[a],l.ctx[a]=b)&&(!l.skip_bound&&l.bound[a]&&l.bound[a](b),d&&Tt(e,a)),g}):[],l.update(),d=!0,A(l.before_update),l.fragment=s?s(l.ctx):!1,t.target){if(t.hydrate){const a=bt(t.target);l.fragment&&l.fragment.l(a),a.forEach(E)}else l.fragment&&l.fragment.c();t.intro&&kt(e.$$.fragment),Et(e,t.target,t.anchor),p()}L(u)}let nt;typeof HTMLElement=="function"&&(nt=class extends HTMLElement{constructor(t,n,s){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return D(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let r;return{c:function(){r=_("slot"),o!=="default"&&m(r,"name",o)},m:function(l,d){C(l,r,d)},d:function(l){l&&E(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=mt(this);for(const o of this.$$s)o in s&&(n[o]=[t(o)]);for(const o of this.attributes){const r=this.$$g_p(o.name);r in this.$$d||(this.$$d[r]=O(r,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:M(x({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const r=O(o,this.$$d[o],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,r)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const r of this.$$l[o]){const c=this.$$c.$on(o,r);this.$$l_u.set(r,c)}this.$$l={}}})}attributeChangedCallback(t,n,s){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=O(t,s,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function O(e,t,n,s){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ct(e,t,n,s,i,o){let r=class extends nt{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(c=>(t[c].attribute||c).toLowerCase())}};return Object.keys(t).forEach(c=>{Object.defineProperty(r.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(u){var l;u=O(c,u,t),this.$$d[c]=u,(l=this.$$c)==null||l.$set({[c]:u})}})}),s.forEach(c=>{Object.defineProperty(r.prototype,c,{get(){var u;return(u=this.$$c)==null?void 0:u[c]}})}),e.element=r,r}class jt{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){Lt(this,1),this.$destroy=T}$on(t,n){if(!Z(n))return T;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const i=s.indexOf(n);i!==-1&&s.splice(i,1)}}$set(t){this.$$set&&!ut(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const xt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(xt);const Mt=e=>n=>{Object.keys(e).map(s=>{if(n.data&&n.data.type==s){const i=n.data,{type:o}=i,r=I(i,["type"]);e[s](r)}})},Ot=e=>{const t=Mt(e);et(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function At(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Nt(e,t){const n=new URL(t);fetch(n.href).then(s=>s.text()).then(s=>{const i=document.createElement("style");i.innerHTML=s,e&&e.appendChild(i)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function Ft(e,t,n){if(window.emMessageBus){const s=document.createElement("style");window.emMessageBus.subscribe(t,i=>{s.innerHTML=i,e&&e.appendChild(s)})}}function Pt(e){at(e,"svelte-1eq8iwl","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#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 #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;flex:auto;display:block}.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}")}function K(e,t,n){const s=e.slice();return s[14]=t[n],s}function Q(e){let t,n=G(e[5]),s=[];for(let i=0;i<n.length;i+=1)s[i]=X(K(e,n,i));return{c(){t=_("ul");for(let i=0;i<s.length;i+=1)s[i].c();m(t,"part","ul")},m(i,o){C(i,t,o);for(let r=0;r<s.length;r+=1)s[r]&&s[r].m(t,null)},p(i,o){if(o&60){n=G(i[5]);let r;for(r=0;r<n.length;r+=1){const c=K(i,n,r);s[r]?s[r].p(c,o):(s[r]=X(c),s[r].c(),s[r].m(t,null))}for(;r<s.length;r+=1)s[r].d(1);s.length=n.length}},d(i){i&&E(t),ht(s,i)}}}function W(e){let t,n,s=e[2][e[14]]+"",i;return{c(){t=_("sup"),n=_("span"),i=z(s),m(n,"part","SupText"),m(t,"part","sup")},m(o,r){C(o,t,r),w(t,n),w(n,i)},p(o,r){r&36&&s!==(s=o[2][o[14]]+"")&&tt(i,s)},d(o){o&&E(t)}}}function X(e){let t,n,s=e[3][e[14]]+"",i,o,r,c,u,l,d,a=e[2][e[14]]>=0&&W(e);function g(){return e[11](e[14])}return{c(){t=_("li"),n=_("span"),i=z(s),o=V(),a&&a.c(),r=V(),m(n,"part","LiText"),m(t,"class",c=e[4]===e[14]?"active":""),m(t,"part",u=`${e[14]} li `+(e[4]===e[14]?"active":""))},m(h,b){C(h,t,b),w(t,n),w(n,i),w(t,o),a&&a.m(t,null),w(t,r),l||(d=$t(t,"click",g),l=!0)},p(h,b){e=h,b&40&&s!==(s=e[3][e[14]]+"")&&tt(i,s),e[2][e[14]]>=0?a?a.p(e,b):(a=W(e),a.c(),a.m(t,r)):a&&(a.d(1),a=null),b&48&&c!==(c=e[4]===e[14]?"active":"")&&m(t,"class",c),b&48&&u!==(u=`${e[14]} li `+(e[4]===e[14]?"active":""))&&m(t,"part",u)},d(h){h&&E(t),a&&a.d(),l=!1,d()}}}function Rt(e){let t,n=e[1]&&Q(e);return{c(){t=_("div"),n&&n.c(),m(t,"class","casino-tournaments-tab"),m(t,"part","CustomStylingContainer")},m(s,i){C(s,t,i),n&&n.m(t,null),e[12](t)},p(s,[i]){s[1]?n?n.p(s,i):(n=Q(s),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:T,o:T,d(s){s&&E(t),n&&n.d(),e[12](null)}}}function Bt(e,t,n){let s,i,{tabs:o=""}=t,{tab:r=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{mbsource:l}=t,d,a=!1,g={},h={};Ot({TournamentsTabTotalUpdate:f=>{n(2,g=M(x({},g),{[f.state]:f.total}))},TournamentsTabLocaleTextUpdate:f=>{n(1,a=!0),n(3,h=M(x({},h),{[f.state]:f.text}))}}),et(()=>(window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href),()=>{}));const b=f=>{n(4,i=f),window.postMessage({type:"TournamentsTabSwitch",tab:f},window.location.href)};function it(f){P[f?"unshift":"push"](()=>{d=f,n(0,d)})}return e.$$set=f=>{"tabs"in f&&n(6,o=f.tabs),"tab"in f&&n(7,r=f.tab),"clientstyling"in f&&n(8,c=f.clientstyling),"clientstylingurl"in f&&n(9,u=f.clientstylingurl),"mbsource"in f&&n(10,l=f.mbsource)},e.$$.update=()=>{e.$$.dirty&257&&c&&d&&At(d,c),e.$$.dirty&513&&u&&d&&Nt(d,u),e.$$.dirty&1025&&l&&d&&Ft(d,`${l}.Style`),e.$$.dirty&64&&n(5,s=o.split(",")),e.$$.dirty&128&&n(4,i=r)},[d,a,g,h,i,s,o,r,c,u,l,b,it]}class st extends jt{constructor(t){super(),St(this,t,Bt,Rt,ct,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9,mbsource:10},Pt)}get tabs(){return this.$$.ctx[6]}set tabs(t){this.$$set({tabs:t}),p()}get tab(){return this.$$.ctx[7]}set tab(t){this.$$set({tab:t}),p()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),p()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),p()}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),p()}}Ct(st,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=st;