@everymatrix/casino-tournaments-tab 1.53.11 → 1.54.0
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-DeqdQoDg.cjs +1 -0
- package/components/CasinoTournamentsTab-qB4dSXo7.js +753 -0
- package/es2015/casino-tournaments-tab.cjs +1 -0
- package/es2015/casino-tournaments-tab.js +16 -0
- package/package.json +8 -12
- package/components/CasinoTournamentsTab-BmGxQH2V.js +0 -708
- package/esnext/casino-tournaments-tab.js +0 -14
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ct=Object.defineProperty,ut=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?ct(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&F(e,n,t[n]);if(j)for(var n of j(t))D.call(t,n)&&F(e,n,t[n]);return e},x=(e,t)=>ut(e,at(t));var J=(e,t)=>{var n={};for(var s in e)I.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&&D.call(e,s)&&(n[s]=e[s]);return n};var d=(e,t,n)=>F(e,typeof t!="symbol"?t+"":t,n);var V=(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 L(){}function tt(e){return e()}function q(){return Object.create(null)}function A(e){e.forEach(tt)}function et(e){return typeof e=="function"}function ft(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function dt(e){return Object.keys(e).length===0}function p(e,t){e.appendChild(t)}function ht(e,t,n){const s=$t(e);if(!s.getElementById(t)){const i=_("style");i.id=t,i.textContent=n,gt(s,i)}}function $t(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function gt(e,t){return p(e.head||e,t),t.sheet}function S(e,t,n){e.insertBefore(t,n||null)}function E(e){e.parentNode&&e.parentNode.removeChild(e)}function bt(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function H(e){return document.createTextNode(e)}function G(){return H(" ")}function mt(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function $(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _t(e){return Array.from(e.childNodes)}function nt(e,t){t=""+t,e.data!==t&&(e.data=t)}function pt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let C;function T(e){C=e}function yt(){if(!C)throw new Error("Function called outside component initialization");return C}function st(e){yt().$$.on_mount.push(e)}const w=[],R=[];let k=[];const K=[],wt=Promise.resolve();let z=!1;function vt(){z||(z=!0,wt.then(v))}function B(e){k.push(e)}const P=new Set;let y=0;function v(){if(y!==0)return;const e=C;do{try{for(;y<w.length;){const t=w[y];y++,T(t),kt(t.$$)}}catch(t){throw w.length=0,y=0,t}for(T(null),w.length=0,y=0;R.length;)R.pop()();for(let t=0;t<k.length;t+=1){const n=k[t];P.has(n)||(P.add(n),n())}k.length=0}while(w.length);for(;K.length;)K.pop()();z=!1,P.clear(),T(e)}function kt(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 Et(e){const t=[],n=[];k.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),k=t}const Tt=new Set;function Lt(e,t){e&&e.i&&(Tt.delete(e),e.i(t))}function Q(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ct(e,t,n){const{fragment:s,after_update:i}=e.$$;s&&s.m(t,n),B(()=>{const o=e.$$.on_mount.map(tt).filter(et);e.$$.on_destroy?e.$$.on_destroy.push(...o):A(o),e.$$.on_mount=[]}),i.forEach(B)}function St(e,t){const n=e.$$;n.fragment!==null&&(Et(n.after_update),A(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function jt(e,t){e.$$.dirty[0]===-1&&(w.push(e),vt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ot(e,t,n,s,i,o,r=null,c=[-1]){const u=C;T(e);const l=e.$$={fragment:null,ctx:[],props:o,update:L,not_equal:i,bound:q(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:q(),dirty:c,skip_bound:!1,root:t.target||u.$$.root};r&&r(l.root);let g=!1;if(l.ctx=n(e,t.props||{},(a,m,...b)=>{const h=b.length?b[0]:m;return l.ctx&&i(l.ctx[a],l.ctx[a]=h)&&(!l.skip_bound&&l.bound[a]&&l.bound[a](h),g&&jt(e,a)),m}),l.update(),g=!0,A(l.before_update),l.fragment=s(l.ctx),t.target){if(t.hydrate){const a=_t(t.target);l.fragment&&l.fragment.l(a),a.forEach(E)}else l.fragment&&l.fragment.c();t.intro&&Lt(e.$$.fragment),Ct(e,t.target,t.anchor),v()}T(u)}let it;typeof HTMLElement=="function"&&(it=class extends HTMLElement{constructor(t,n,s){super();d(this,"$$ctor");d(this,"$$s");d(this,"$$c");d(this,"$$cn",!1);d(this,"$$d",{});d(this,"$$r",!1);d(this,"$$p_d",{});d(this,"$$l",{});d(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 V(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let r;return{c:function(){r=_("slot"),o!=="default"&&$(r,"name",o)},m:function(l,g){S(l,r,g)},d:function(l){l&&E(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=pt(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]=M(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:x(O({},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=M(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]=M(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 M(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 xt(e,t,n,s,i,o){let r=class extends it{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=M(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 Mt{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){St(this,1),this.$destroy=L}$on(t,n){if(!et(n))return L;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&&!dt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const At="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(At);const Nt=e=>n=>{Object.keys(e).map(s=>{if(n.data&&n.data.type==s){const i=n.data,{type:o}=i,r=J(i,["type"]);e[s](r)}})},Ft=e=>{const t=Nt(e);st(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function Pt(e){ht(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 W(e,t,n){const s=e.slice();return s[15]=t[n],s}function X(e){let t,n=Q(e[5]),s=[];for(let i=0;i<n.length;i+=1)s[i]=Z(W(e,n,i));return{c(){t=_("ul");for(let i=0;i<s.length;i+=1)s[i].c();$(t,"part","ul")},m(i,o){S(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=Q(i[5]);let r;for(r=0;r<n.length;r+=1){const c=W(i,n,r);s[r]?s[r].p(c,o):(s[r]=Z(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),bt(s,i)}}}function Y(e){let t,n,s=e[2][e[15]]+"",i;return{c(){t=_("sup"),n=_("span"),i=H(s),$(n,"part","SupText"),$(t,"part","sup")},m(o,r){S(o,t,r),p(t,n),p(n,i)},p(o,r){r&36&&s!==(s=o[2][o[15]]+"")&&nt(i,s)},d(o){o&&E(t)}}}function Z(e){let t,n,s=e[3][e[15]]+"",i,o,r,c,u,l,g,a=e[2][e[15]]>=0&&Y(e);function m(){return e[10](e[15])}return{c(){t=_("li"),n=_("span"),i=H(s),o=G(),a&&a.c(),r=G(),$(n,"part","LiText"),$(t,"class",c=e[4]===e[15]?"active":""),$(t,"part",u=`${e[15]} li `+(e[4]===e[15]?"active":""))},m(b,h){S(b,t,h),p(t,n),p(n,i),p(t,o),a&&a.m(t,null),p(t,r),l||(g=mt(t,"click",m),l=!0)},p(b,h){e=b,h&40&&s!==(s=e[3][e[15]]+"")&&nt(i,s),e[2][e[15]]>=0?a?a.p(e,h):(a=Y(e),a.c(),a.m(t,r)):a&&(a.d(1),a=null),h&48&&c!==(c=e[4]===e[15]?"active":"")&&$(t,"class",c),h&48&&u!==(u=`${e[15]} li `+(e[4]===e[15]?"active":""))&&$(t,"part",u)},d(b){b&&E(t),a&&a.d(),l=!1,g()}}}function Rt(e){let t,n=e[1]&&X(e);return{c(){t=_("div"),n&&n.c(),$(t,"class","casino-tournaments-tab"),$(t,"part","CustomStylingContainer")},m(s,i){S(s,t,i),n&&n.m(t,null),e[11](t)},p(s,[i]){s[1]?n?n.p(s,i):(n=X(s),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:L,o:L,d(s){s&&E(t),n&&n.d(),e[11](null)}}}function zt(e,t,n){let s,i,{tabs:o=""}=t,{tab:r=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,l,g=!1,a={},m={};const b=()=>{let f=document.createElement("style");f.innerHTML=c,l.appendChild(f)},h=()=>{let f=new URL(u),U=document.createElement("style");fetch(f.href).then(N=>N.text()).then(N=>{U.innerHTML=N,setTimeout(()=>{l.appendChild(U)},1),setTimeout(()=>{},500)})};Ft({TournamentsTabTotalUpdate:f=>{n(2,a=x(O({},a),{[f.state]:f.total}))},TournamentsTabLocaleTextUpdate:f=>{n(1,g=!0),n(3,m=x(O({},m),{[f.state]:f.text}))}}),st(()=>{window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href)});const rt=f=>{n(4,i=f),window.postMessage({type:"TournamentsTabSwitch",tab:f},window.location.href)};function lt(f){R[f?"unshift":"push"](()=>{l=f,n(0,l)})}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)},e.$$.update=()=>{e.$$.dirty&257&&l&&c&&b(),e.$$.dirty&513&&l&&u&&h(),e.$$.dirty&64&&n(5,s=o.split(",")),e.$$.dirty&128&&n(4,i=r)},[l,g,a,m,i,s,o,r,c,u,rt,lt]}class ot extends Mt{constructor(t){super(),Ot(this,t,zt,Rt,ft,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9},Pt)}get tabs(){return this.$$.ctx[6]}set tabs(t){this.$$set({tabs:t}),v()}get tab(){return this.$$.ctx[7]}set tab(t){this.$$set({tab:t}),v()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),v()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),v()}}xt(ot,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=ot;
|