@everymatrix/casino-tournaments-tab 1.74.2 → 1.74.4
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.
- package/components/CasinoTournamentsTab-D8DZk9ti.cjs +18 -0
- package/components/CasinoTournamentsTab-DHeT17fi.js +4566 -0
- package/components/CasinoTournamentsTab-R0Vb3zZa.js +4524 -0
- package/es2015/casino-tournaments-tab.cjs +1 -1
- package/es2015/casino-tournaments-tab.js +1 -1
- package/esnext/casino-tournaments-tab.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsTab-BlciDP1U.js +0 -769
- package/components/CasinoTournamentsTab-DP9gQroL.js +0 -724
- package/components/CasinoTournamentsTab-Dz-xA5Ja.cjs +0 -1
|
@@ -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;
|