@everymatrix/casino-engagement-suite-tournament 1.44.0 → 1.45.2
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/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/index.esm.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-0f4e94ab.entry.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-1bf11325.js +2 -0
- package/dist/casino-engagement-suite-tournament/p-5df3ac81.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +119 -807
- package/dist/cjs/casino-engagement-suite-tournament-1b738bb2.js +560 -0
- package/dist/cjs/casino-engagement-suite-tournament.cjs.js +16 -10
- package/dist/cjs/index-16d5d7c3.js +1642 -0
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/loader.cjs.js +6 -12
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.css +17 -17
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +492 -582
- package/dist/collection/components/casino-engagement-suite-tournament/index.js +1 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/shared/GradientRoundedButton.js +6 -7
- package/dist/collection/shared/renderBar.js +11 -11
- package/dist/collection/utils/api.apdater.js +30 -30
- package/dist/collection/utils/translations.js +19 -19
- package/dist/collection/utils/types.js +9 -9
- package/dist/collection/utils/util.date.js +26 -26
- package/dist/collection/utils/utils.js +16 -16
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +119 -807
- package/dist/esm/casino-engagement-suite-tournament-d8471680.js +558 -0
- package/dist/esm/casino-engagement-suite-tournament.js +13 -10
- package/dist/esm/index-3962add4.js +1612 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +6 -12
- package/dist/stencil.config.dev.js +14 -0
- package/dist/stencil.config.js +14 -19
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +120 -123
- package/dist/types/components/casino-engagement-suite-tournament/index.d.ts +1 -0
- package/dist/types/components.d.ts +17 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/shared/GradientRoundedButton.d.ts +3 -3
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/api.apdater.d.ts +2 -30
- package/dist/types/utils/translations.d.ts +35 -35
- package/dist/types/utils/types.d.ts +77 -77
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +8 -8
- package/dist/casino-engagement-suite-tournament/p-023f3dc7.entry.js +0 -1
- package/dist/casino-engagement-suite-tournament/p-86ce7485.js +0 -1
- package/dist/cjs/index-e778ddd2.js +0 -1733
- package/dist/components/casino-engagement-suite-progress-bar.js +0 -6
- package/dist/components/casino-engagement-suite-progress-bar2.js +0 -107
- package/dist/components/casino-engagement-suite-tournament.d.ts +0 -11
- package/dist/components/casino-engagement-suite-tournament.js +0 -716
- package/dist/components/general-styling-wrapper.js +0 -6
- package/dist/components/general-styling-wrapper2.js +0 -103
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/esm/index-4e611d33.js +0 -1704
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-engagement-suite-tournament/.stencil/packages/casino-engagement-suite-tournament/stencil.config.d.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,b as t}from"./p-
|
|
1
|
+
import{p as n,b as t}from"./p-1bf11325.js";export{s as setNonce}from"./p-1bf11325.js";import{g as e}from"./p-e1255160.js";(()=>{const t=import.meta.url,e={};return""!==t&&(e.resourcesUrl=new URL(".",t).href),n(e)})().then((async n=>(await e(),t([["p-0f4e94ab",[[1,"casino-engagement-suite-tournament",{language:[1],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],leaderboardsInit:[16],tab:[32],locale:[32],tournamentItem:[32],tournamentList:[32],leaderboards:[32],isActionJoinPending:[32],isDialogOpen:[32],isShowInfo:[32],page:[32],tournamentInDialog:[32],dialog:[32],time:[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-progress-bar",{value:[2],disabled:[4],hidePercent:[4,"hide-percent"],indeterminate:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],limitStylingAppends:[32]}],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}]]]],n))));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{C as CasinoEngagementSuiteTournament}from"./p-5df3ac81.js";import"./p-1bf11325.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,g as r}from"./p-1bf11325.js";export{C as casino_engagement_suite_tournament}from"./p-5df3ac81.js";const s=class{constructor(t){e(this,t),this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.host.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{this.host.prepend(t)}),1)})).catch((e=>{console.log("Error ",e)}))},this.value=0,this.disabled=!1,this.hidePercent=!1,this.indeterminate=!1,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}getProgressBarClasses(){return{ProgressBar:!0,Completed:100===this.value,Disabled:this.disabled,HidePercent:this.hidePercent||this.indeterminate}}getProgressBarLineTemplate(){return t("div",this.indeterminate?{class:"ProgressBarLine Indeterminate",part:"ProgressBarLine Indeterminate"}:{class:"ProgressBarLine",part:"ProgressBarLine",style:{width:this.value+"%"}})}render(){return t("div",{key:"ecce3a26a92d2e090c1db84bdc1bdbeb505080ed",class:this.getProgressBarClasses(),part:"ProgressBar"},t("div",{key:"649fe1103d222200f2a1ad3b5967e37da1f1ab3d",class:"ProgressBarInfo",part:"ProgressBarInfo"},t("slot",{key:"49dc180eedd823f0027f75099813fb9d91bcd938",name:"Title"},t("div",{key:"e6e59da3fe7bbcb37e118e7fd23a8ff35587aca5"})),t("slot",{key:"3dc8e5fd1dbc8c268b9c76e393b751cb53605e7e",name:"Percent"},t("div",{key:"6a9e880f3ee3c4f26e8577c69be5db5f8e2d10ad",class:"ProgressBarPercent",part:"ProgressBarPercent"},this.value,"%"))),t("div",{key:"141106e77caad7b04bb199f911e87c0c6f0adc2d",class:"ProgressBarBackground",part:"ProgressBarBackground"},this.getProgressBarLineTemplate()))}get host(){return r(this)}};s.style=":host{display:block;font-family:inherit}:host(.Desktop) .ProgressBarPercent{font-size:var(--emw--font-size-small, 14px);line-height:14px}@keyframes indeterminate{0%{left:-200%;right:100%}60%{left:110%;right:-10%}to{left:110%;right:-10%}}.ProgressBarBackground{height:8px;background-color:var(--emw--color-gray-300, #666178);border-radius:var(--emw--border-radius-small, 4px);position:relative;overflow:hidden}.ProgressBarLine{position:absolute;left:0;top:0;bottom:0;border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));transition:width ease-out 0.3s}.ProgressBarLine.Indeterminate{animation:indeterminate 1s linear infinite}.ProgressBarInfo{margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.ProgressBarPercent{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 12px);line-height:12px}.HidePercent .ProgressBarPercent{display:none}.ProgressBar:not(.Disabled) .ProgressBarPercent{background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ProgressBar.Disabled .ProgressBarPercent{color:var(--emw--color-gray-300, #666178)}.ProgressBar.Disabled .ProgressBarLine{background:var(--emw--color-background-secondary, #474668)}";const i=class{constructor(t){e(this,t),this.stylingAppends=!1,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.el.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{this.el.prepend(t)}),1)})).catch((e=>{console.log("error ",e)}))},this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.targetTranslations=void 0}componentDidRender(){this.stylingAppends||(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.stylingAppends=!0)}async componentWillLoad(){const e=[];if(this.translationUrl){const s=(t=this.translationUrl,r=this.targetTranslations,new Promise((e=>{fetch(t).then((e=>e.json())).then((t=>{Object.keys(t).forEach((e=>{r[e]=r[e]?r[e]:{};for(let s in t[e])r[e][s]=t[e][s]})),e(!0)}))})));e.push(s)}var t,r;return await Promise.all(e)}render(){return t("div",{key:"4d3414408c7662f88331dbe655966237f74d6958",class:"StyleShell"},t("slot",{key:"1d004644d84602c4314bdf5dfc26b55b160f57df",name:"mainContent"}))}get el(){return r(this)}};i.style=":host{display:block}";export{s as casino_engagement_suite_progress_bar,i as general_styling_wrapper}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",f="undefined"!=typeof window?window:{},a=f.document||{head:{}},d={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,v=[],y=[],$=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&d.o?g(w):d.raf(w))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},w=()=>{b(v),b(y),(m=v.length>0)&&d.raf(w)},g=e=>h().then(e),k=$(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function E(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>C,map:()=>x,ok:()=>O,unwrap:()=>T,unwrapErr:()=>A});var O=e=>({isOk:!0,isErr:!1,value:e}),C=e=>({isOk:!1,isErr:!0,value:e});function x(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return C(e.value);throw"should never get here"}var M,R,P,T=e=>{if(e.isOk)return e.value;throw e.value},A=e=>{if(e.isErr)return e.value;throw e.value},F=(e,t,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!j(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?H(null,o):o),r=i)};if(u(n),t){t.key&&(l=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,D);const f=H(e,null);return f.u=t,c.length>0&&(f.h=c),f.p=l,f.m=s,f},H=(e,t)=>({o:0,v:e,i:t,$:null,h:null,u:null,p:null,m:null}),N={},D={forEach:(e,t)=>e.map(L).forEach(t),map:(e,t)=>e.map(L).map(t).map(U)},L=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.m,vtag:e.v,vtext:e.i}),U=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),F(e.vtag,t,...e.vchildren||[])}const t=H(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.m=e.vname,t},W=e=>n(e).$hostElement$,q=(e,t,n)=>{const o=W(e);return{emit:e=>G(o,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},G=(e,t,n)=>{const o=d.ce(t,n);return e.dispatchEvent(o),o},I=new WeakMap,V=e=>"sc-"+e.k,_=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=B(n),s=B(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!r||4&i||s)&&!l&&(o=!0===o?"":o,f?e.setAttributeNS(u,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):l(f,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(J);t=t.replace(K,""),n&&d.rel(e,t,n,l),o&&d.ael(e,t,o,l)}}},z=/\s/,B=e=>e?e.split(z):[],J="Capture",K=RegExp(J+"$"),Q=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||S,s=t.u||S;for(const e of X(Object.keys(l)))e in s||_(o,e,l[e],void 0,n,t.o);for(const e of X(Object.keys(s)))_(o,e,l[e],s[e],n,t.o)};function X(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Y=!1,Z=!1,ee=!1,te=!1,ne=(e,t,n,o)=>{var l;const s=t.h[n];let i,r,c,u=0;if(Y||(ee=!0,"slot"===s.v&&(M&&o.classList.add(M+"-s"),s.o|=s.h?2:1)),null!==s.i)i=s.$=a.createTextNode(s.i);else if(1&s.o)i=s.$=a.createTextNode("");else if(i=s.$=a.createElement(!Y&&2&s.o?"slot-fb":s.v),Q(null,s,te),i.getRootNode().querySelector("body"),s.h)for(u=0;u<s.h.length;++u)r=ne(e,s,u,i),r&&i.appendChild(r);return i["s-hn"]=P,3&s.o&&(i["s-sr"]=!0,i["s-cr"]=R,i["s-sn"]=s.m||"",i["s-rf"]=null==(l=s.u)?void 0:l.ref,c=e&&e.h&&e.h[n],c&&c.v===s.v&&e.$&&oe(e.$,!1)),i},oe=(e,t)=>{d.o|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==P&&o["s-ol"]&&(me(ce(o),o,re(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,ee=!0),t&&oe(o,t)}d.o&=-2},le=(e,t,n,o,l,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===P&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=ne(null,n,l,e),i&&(o[l].$=i,me(r,i,re(t))))},se=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;pe(t),e&&(Z=!0,e["s-ol"]?e["s-ol"].remove():oe(e,!0),e.remove())}}},ie=(e,t,n=!1)=>!(e.v!==t.v||("slot"===e.v?"S"in e&&n&&8!==e.$.nodeType||e.m!==t.m:!n&&e.p!==t.p)),re=e=>e&&e["s-ol"]||e,ce=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ue=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,i=t.i;let r;null===i?(("slot"!==t.v||Y)&&Q(e,t,te),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(ie(d,m,l))ue(d,m,l),d=t[++r],m=o[++c];else if(ie(h,v,l))ue(h,v,l),h=t[--a],v=o[--p];else if(ie(d,v,l))"slot"!==d.v&&"slot"!==v.v||oe(d.$.parentNode,!1),ue(d,v,l),me(e,d.$,h.$.nextSibling),d=t[++r],v=o[--p];else if(ie(h,m,l))"slot"!==d.v&&"slot"!==v.v||oe(h.$.parentNode,!1),ue(h,m,l),me(e,h.$,d.$),h=t[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].p&&t[f].p===m.p){u=f;break}u>=0?(i=t[u],i.v!==m.v?s=ne(t&&t[c],n,u,e):(ue(i,m,l),t[u]=void 0,s=i.$),m=o[++c]):(s=ne(t&&t[c],n,c,e),m=o[++c]),s&&me(ce(d.$),s,re(d.$))}r>a?le(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&se(t,r,a)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),le(o,null,t,s,0,s.length-1)):!n&&null!==l&&se(l,0,l.length-1)):(r=o["s-cr"])?r.parentNode.textContent=i:e.i!==i&&(o.data=i)},fe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const o of t)if(o!==e)if(o["s-hn"]!==e["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){e.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){e.hidden=!0;break}}fe(e)}},ae=[],de=e=>{let t,n,o;for(const l of e.childNodes){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=l["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(he(t,e)){let n=ae.find((e=>e.j===t));Z=!0,t["s-sn"]=t["s-sn"]||e,n?(n.j["s-sh"]=l["s-hn"],n.O=l):(t["s-sh"]=l["s-hn"],ae.push({O:l,j:t})),t["s-sr"]&&ae.map((e=>{he(e.j,t["s-sn"])&&(n=ae.find((e=>e.j===t)),n&&!e.O&&(e.O=n.O))}))}else ae.some((e=>e.j===t))||ae.push({j:t})}1===l.nodeType&&de(l)}},he=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,pe=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(pe)},me=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ve=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},ye=(e,t)=>{if(e.o|=16,!(4&e.o))return ve(e,e.M),k((()=>$e(e,t)));e.o|=512},$e=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(e.o|=256,e.R&&(e.R.map((([e,t])=>Ee(n,e,t))),e.R=void 0),o=Ee(n,"componentWillLoad")),be(o,(()=>ge(e,n,t)))},be=(e,t)=>we(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),we=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ge=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=V(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=I.get(e=e.head||e);if(i||I.set(e,i=new Set),!i.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=d.T)?n:E(a);null!=o&&s.setAttribute("nonce",o),(!(1&t.o)||1&t.o&&"HEAD"!==e.nodeName)&&e.insertBefore(s,e.querySelector("link"))}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ke(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>Se(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ke=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,l,s,i;const r=e.$hostElement$,c=e.P,u=e.A||H(null,null),f=(e=>e&&e.v===N)(t)?t:F(null,null,t);if(P=r.tagName,c.F&&(f.u=f.u||{},c.F.map((([e,t])=>f.u[t]=r[e]))),n&&f.u)for(const e of Object.keys(f.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.u[e]=r[e]);if(f.v=null,f.o|=4,e.A=f,f.$=u.$=r.shadowRoot||r,M=r["s-sc"],Y=!!(1&c.o),R=r["s-cr"],Z=!1,ue(u,f,n),d.o|=1,ee){de(f.$);for(const e of ae){const t=e.j;if(!t["s-ol"]){const e=a.createTextNode("");e["s-nr"]=t,me(t.parentNode,t["s-ol"]=e,t)}}for(const e of ae){const t=e.j,r=e.O;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),me(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}Z&&fe(f.$),d.o&=-2,ae.length=0,R=void 0})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},Se=e=>{const t=e.$hostElement$,n=e.M;Ee(e.t,"componentDidRender"),64&e.o||(e.o|=64,Oe(t),e.H(t),n||je()),e.C&&(e.C(),e.C=void 0),512&e.o&&g((()=>ye(e,!1))),e.o&=-517},je=()=>{Oe(a.documentElement),g((()=>G(f,"appload",{detail:{namespace:"casino-engagement-suite-tournament"}})))},Ee=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Oe=e=>e.classList.add("hydrated"),Ce=(e,t,o)=>{var l,s;const i=e.prototype;if(t.N){const r=Object.entries(null!=(l=t.N)?l:{});if(r.map((([e,[l]])=>{(31&l||2&o&&32&l)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).D.get(t))(0,e)},set(o){((e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=s.D.get(t),r=s.o,c=s.t;o=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(o,l.N[t][0]),8&r&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o)||(s.D.set(t,o),c&&2==(18&r)&&ye(s,!1))})(this,e,o,t)},configurable:!0,enumerable:!0})})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){d.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.L)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.L)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,n])=>{var l;const s=n[1]||e;return o.set(s,e),512&n[0]&&(null==(l=t.F)||l.push([e,s])),s}))]))}}return e},xe=e=>{Ee(e,"connectedCallback")},Me=e=>{Ee(e,"disconnectedCallback")},Re=(e,o={})=>{var l;const u=[],h=o.exclude||[],m=f.customElements,v=a.head,y=v.querySelector("meta[charset]"),$=a.createElement("style"),b=[];let w,g=!0;Object.assign(d,o),d.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((o=>{const l={o:o[0],k:o[1],N:o[2],U:o[3]};4&l.o&&(k=!0),l.N=o[2],l.U=o[3],l.F=[];const c=l.k,f=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,P:n,D:new Map};o.W=new Promise((e=>o.H=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,l),1&l.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.k}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Te(this,e,l.U)),w&&(clearTimeout(w),w=null),g?b.push(this):d.jmp((()=>(e=>{if(!(1&d.o)){const t=n(e),o=t.P,l=()=>{};if(1&t.o)Te(e,t,o.U),(null==t?void 0:t.t)?xe(t.t):(null==t?void 0:t.W)&&t.W.then((()=>xe(t.t)));else{t.o|=1,12&o.o&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,me(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ve(t,t.M=n);break}}o.N&&Object.entries(o.N).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.q){const e=(e=>{const t=e.k.replace(/-/g,"_"),n=e.q;if(!n)return;const o=i.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.k}#${t.G}" was not found`);o.isProxied||(Ce(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,l(),xe(t.t)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=V(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.M,c=()=>ye(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.o)){const e=n(this);e.I&&(e.I.map((e=>e())),e.I=void 0),(null==e?void 0:e.t)?Me(e.t):(null==e?void 0:e.W)&&e.W.then((()=>Me(e.t)))}})()))}componentOnReady(){return n(this).W}};l.q=e[0],h.includes(c)||m.get(c)||(u.push(c),m.define(c,Ce(f,l,1)))}))})),u.length>0&&(k&&($.textContent+=c),$.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(l=d.T)?l:E(a);null!=e&&$.setAttribute("nonce",e),v.insertBefore($,y?y.nextSibling:v.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):d.jmp((()=>w=setTimeout(je,30)))},Pe=(e,t)=>t,Te=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=Fe(e,n),i=Ae(t,l),r=He(n);d.ael(s,o,i,r),(t.I=t.I||[]).push((()=>d.rel(s,o,i,r)))}))},Ae=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.R=e.R||[]).push([t,n])}catch(e){s(e)}},Fe=(e,t)=>8&t?f:e,He=e=>({passive:!!(1&e),capture:!!(2&e)}),Ne=e=>d.T=e;export{Pe as F,N as H,Re as b,q as c,W as g,F as h,h as p,o as r,Ne as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as n,r as t,c as e,H as i,F as s}from"./p-1bf11325.js";function r(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(i=Object.getOwnPropertySymbols(n);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(n,i[s])&&(e[i[s]]=n[i[s]])}return e}var o,a;"function"==typeof SuppressedError&&SuppressedError,function(n){n.Info="Info",n.Leaderboard="Leaderboard",n.Games="Games"}(o||(o={})),function(n){n.Starts="Starts",n.Ends="Ends"}(a||(a={}));const l=(n,t)=>(Object.keys(t).map((e=>{n=n.replace(`{${e}}`,t[e])})),n),d=Object.assign(Object.assign(Object.assign({Join:"Join",Unjoin:"Unjoin"},o),a),{TC:"Terms & Conditions",ScoreCriteria:"Score Criteria",MinimumBetCriteria:"Minimum bet criteria",Place:"place",Prizes:"Rewards",LeaderboardDetails:"Leaderboard Details",UnjoinDialog:{Title:"Quit Leaderboard?",Description:"Any progress on the current Leaderboard won’t be kept and you can not rejoin the Leaderboard any more. <br /><br />Would you still like to quit?",ButtonYes:"Yes, I want to quit leaderboard",ButtonNo:"No, Stay on the leaderboard"},JoinDialog:{Tile:"Congratulations!",Description:"You have unlocked <span>{tournamentName}</span>! <br />Would you like to join?",ButtonYes:"Join",ButtonNo:"Not interested"},NoLeaderboards:"No Leaderboards yet",NoLeaderboardsTip:"Try winning tickets to Leaderboards as rewards or launching other booster games",Leaderboards:"Leaderboards",TipPrize:"You took <span>{place}</span> place and win <span>{prize}</span>",Tip:"Competition where your real money bets contribute towards the leaderboard score calculation to win the leaderboard reward."}),c=(...n)=>{let t=[];return n.map((n=>{switch(typeof n){case"string":t.push(n);break;case"object":Object.keys(n).map((e=>{n[e]&&t.push(e)}))}})),t.join(" ")};var h,u,p;!function(n){n.Confirm="Confirm",n.List="List",n.Item="Item"}(h||(h={})),function(n){n.Running="Running",n.Unstarted="Unstarted",n.Closed="Closed",n.Closing="Closing"}(u||(u={})),function(n){n.Unjoin="Unjoin",n.Tip="Tip"}(p||(p={}));const g=t=>{var{statedClasses:e,innerHTML:i}=t,s=r(t,["statedClasses","innerHTML"]);const{isHollow:o,isPending:a}=e;return n("button",Object.assign({class:c("GradientRoundedButton","GradientRounded",{Hollow:o||!1,Pending:a||!1})},s),n("span",null,i))},m=n("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/close.svg"}),f=n("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/help.svg"}),b=n("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-open.svg"}),v=n("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-closed.svg"}),x=n("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/back.svg"}),y=n("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/reward.svg"}),w=n("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/cup-congras.svg"}),C=t=>{const{left:e,middle:i,right:s}=t,r={left:e,middle:i,right:s};return n("div",{class:"WrapperBar"},Object.keys(r).map((t=>{return n("div",{class:"WrapperBar"+(e=t,e.split("").map(((n,t)=>0===t?n.toUpperCase():n)).join(""))},r[t]||"");var e})))};function T(n){return n.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(" at",",")}function k(n,t){return(100*((new Date).getTime()-n.getTime())/(t.getTime()-n.getTime())).toFixed(0)}const L=n=>{const t=["startTime","endTime","closeTime","exhibitionStartTime","exhibitionEndTime"],e={};return Object.keys(n).map((i=>{const s=n[i];e[i]="games"===i?s.items:t.includes(i)?new Date(s):s})),e};var j,P={};(function(n){var t=Object.defineProperty,e=Object.defineProperties,i=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,a=(n,e,i)=>e in n?t(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,l=(n,t)=>{for(var e in t||(t={}))r.call(t,e)&&a(n,e,t[e]);if(s)for(var e of s(t))o.call(t,e)&&a(n,e,t[e]);return n},d=(n,t)=>e(n,i(t)),c=(n,t,e)=>a(n,"symbol"!=typeof t?t+"":t,e);function h(){}function u(n){return n()}function p(){return Object.create(null)}function g(n){n.forEach(u)}function m(n){return"function"==typeof n}function f(n,t){return n!=n?t==t:n!==t||n&&"object"==typeof n||"function"==typeof n}function b(n,t,e){n.insertBefore(t,e||null)}function v(n){n.parentNode&&n.parentNode.removeChild(n)}function x(n){return document.createElement(n)}let y;function w(n){y=n}Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});const C=[],T=[];let k=[];const L=[],j=Promise.resolve();let P=!1;function O(n){k.push(n)}const F=new Set;let z=0;function $(){if(0!==z)return;const n=y;do{try{for(;z<C.length;){const n=C[z];z++,w(n),M(n.$$)}}catch(n){throw C.length=0,z=0,n}for(w(null),C.length=0,z=0;T.length;)T.pop()();for(let n=0;n<k.length;n+=1){const t=k[n];F.has(t)||(F.add(t),t())}k.length=0}while(C.length);for(;L.length;)L.pop()();P=!1,F.clear(),w(n)}function M(n){if(null!==n.fragment){n.update(),g(n.before_update);const t=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(O)}}const R=new Set;function I(n,t,e,i,s,r,o=null,a=[-1]){const l=y;w(n);const d=n.$$={fragment:null,ctx:[],props:r,update:h,not_equal:s,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:p(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};o&&o(d.root);let c=!1;if(d.ctx=e?e(n,t.props||{},((t,e,...i)=>{const r=i.length?i[0]:e;return d.ctx&&s(d.ctx[t],d.ctx[t]=r)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](r),c&&function(n,t){-1===n.$$.dirty[0]&&(C.push(n),P||(P=!0,j.then($)),n.$$.dirty.fill(0)),n.$$.dirty[t/31|0]|=1<<t%31}(n,t)),e})):[],d.update(),c=!0,g(d.before_update),d.fragment=!!i&&i(d.ctx),t.target){if(t.hydrate){const n=function(n){return Array.from(n.childNodes)}(t.target);d.fragment&&d.fragment.l(n),n.forEach(v)}else d.fragment&&d.fragment.c();t.intro&&function(n){n&&n.i&&(R.delete(n),n.i(void 0))}(n.$$.fragment),function(n,t,e){const{fragment:i,after_update:s}=n.$$;i&&i.m(t,e),O((()=>{const t=n.$$.on_mount.map(u).filter(m);n.$$.on_destroy?n.$$.on_destroy.push(...t):g(t),n.$$.on_mount=[]})),s.forEach(O)}(n,t.target,t.anchor),$()}w(l)}let H;function D(n,t,e,i){var s;const r=null==(s=e[n])?void 0:s.type;if(t="Boolean"===r&&"boolean"!=typeof t?null!=t:t,!i||!e[n])return t;if("toAttribute"===i)switch(r){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return null==t?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}"function"==typeof HTMLElement&&(H=class extends HTMLElement{constructor(n,t,e){super(),c(this,"$$ctor"),c(this,"$$s"),c(this,"$$c"),c(this,"$$cn",!1),c(this,"$$d",{}),c(this,"$$r",!1),c(this,"$$p_d",{}),c(this,"$$l",{}),c(this,"$$l_u",new Map),this.$$ctor=n,this.$$s=t,e&&this.attachShadow({mode:"open"})}addEventListener(n,t,e){if(this.$$l[n]=this.$$l[n]||[],this.$$l[n].push(t),this.$$c){const e=this.$$c.$on(n,t);this.$$l_u.set(t,e)}super.addEventListener(n,t,e)}removeEventListener(n,t,e){if(super.removeEventListener(n,t,e),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}connectedCallback(){return n=this,t=function*(){if(this.$$cn=!0,!this.$$c){let n=function(n){return()=>{let t;return{c:function(){t=x("slot"),"default"!==n&&function(n,t,e){null==e?n.removeAttribute(t):n.getAttribute(t)!==e&&n.setAttribute(t,e)}(t,"name",n)},m:function(n,e){b(n,t,e)},d:function(n){n&&v(t)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=function(n){const t={};return n.childNodes.forEach((n=>{t[n.slot||"default"]=!0})),t}(this);for(const i of this.$$s)i in e&&(t[i]=[n(i)]);for(const n of this.attributes){const t=this.$$g_p(n.name);t in this.$$d||(this.$$d[t]=D(t,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&void 0!==this[n]&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:d(l({},this.$$d),{$$slots:t,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){const t=D(n,this.$$d[n],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,t)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const n in this.$$l)for(const t of this.$$l[n]){const e=this.$$c.$on(n,t);this.$$l_u.set(t,e)}this.$$l={}}},new Promise(((e,i)=>{var s=n=>{try{o(t.next(n))}catch(n){i(n)}},r=n=>{try{o(t.throw(n))}catch(n){i(n)}},o=n=>n.done?e(n.value):Promise.resolve(n.value).then(s,r);o((t=t.apply(n,null)).next())}));var n,t}attributeChangedCallback(n,t,e){var i;this.$$r||(n=this.$$g_p(n),this.$$d[n]=D(n,e,this.$$p_d,"toProp"),null==(i=this.$$c)||i.$set({[n]:this.$$d[n]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(n){return Object.keys(this.$$p_d).find((t=>this.$$p_d[t].attribute===n||!this.$$p_d[t].attribute&&t.toLowerCase()===n))||n}});class S{constructor(){c(this,"$$"),c(this,"$$set")}$destroy(){(function(n,t){const e=n.$$;null!==e.fragment&&(function(n){const t=[],e=[];k.forEach((i=>-1===n.indexOf(i)?t.push(i):e.push(i))),e.forEach((n=>n())),k=t}(e.after_update),g(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[])})(this,1),this.$destroy=h}$on(n,t){if(!m(t))return h;const e=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return e.push(t),()=>{const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}$set(n){this.$$set&&0!==Object.keys(n).length&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}function U(n){!function(n,t,e){const i=function(n){if(!n)return document;const t=n.getRootNode?n.getRootNode():n.ownerDocument;return t&&t.host?t:n.ownerDocument}(n);if(!i.getElementById(t)){const n=x("style");n.id=t,n.textContent=e,function(n,t){!function(n,t){n.appendChild(t)}(n.head||n,t)}(i,n)}}(n,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function B(n){let t;return{c(){t=x("div"),t.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(e,i){b(e,t,i),n[3](t)},p:h,i:h,o:h,d(e){e&&v(t),n[3](null)}}}function E(n,t,e){let i,{clientstyling:s=""}=t,{clientstylingurl:r=""}=t;return n.$$set=n=>{"clientstyling"in n&&e(1,s=n.clientstyling),"clientstylingurl"in n&&e(2,r=n.clientstylingurl)},n.$$.update=()=>{3&n.$$.dirty&&s&&i&&(()=>{let n=document.createElement("style");n.innerHTML=s,i.appendChild(n)})(),5&n.$$.dirty&&r&&i&&(()=>{let n=new URL(r),t=document.createElement("style");fetch(n.href).then((n=>n.text())).then((n=>{t.innerHTML=n,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[i,s,r,function(n){T[n?"unshift":"push"]((()=>{i=n,e(0,i)}))}]}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class N extends S{constructor(n){super(),I(this,n,E,B,f,{clientstyling:1,clientstylingurl:2},U)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(n){this.$$set({clientstyling:n}),$()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),$()}}!function(n,t,e){let i=class extends H{constructor(){super(n,e,true),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map((n=>(t[n].attribute||n).toLowerCase()))}};Object.keys(t).forEach((n=>{Object.defineProperty(i.prototype,n,{get(){return this.$$c&&n in this.$$c?this.$$c[n]:this.$$d[n]},set(e){var i;e=D(n,e,t),this.$$d[n]=e,null==(i=this.$$c)||i.$set({[n]:e})}})})),[].forEach((n=>{Object.defineProperty(i.prototype,n,{get(){var t;return null==(t=this.$$c)?void 0:t[n]}})})),n.element=i}(N,{clientstyling:{},clientstylingurl:{}},[]),n.default=N})(P),"undefined"!=typeof window&&(customElements.define=(j=customElements.define,function(...n){try{return j.apply(this,n)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}),Promise.resolve().then((()=>P)).then((({default:n})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",n.element)})));const O=class{constructor(n){t(this,n),this.close=e(this,"close",7),this.onClickConfirmJoin=()=>{this.actionJoin(this.tournamentItem),this.nextPage=h.List},this.onClickConfirmUnjoin=()=>{this.close.emit()},this.onClickDialogUnjoin=()=>{this.actionJoin(this.dialog.data),this.closeDialog()},this.onClickDialogJoin=()=>{this.closeDialog()},this.onClickBarInLayout=()=>{this.close.emit()},this.onClickBarInLayoutDialog=()=>{this.closeDialog()},this.onClickShowInfo=()=>{this.isShowInfo=!this.isShowInfo},this.onClickBarTip=()=>{this.openDialog(p.Tip)},this.onClickBarBack=()=>{this.setPage(h.List)},this.language="en",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.leaderboardsInit=void 0,this.tab=o.Info,this.locale=d,this.tournamentItem=void 0,this.tournamentList=void 0,this.leaderboards=[],this.isActionJoinPending=!1,this.isDialogOpen=!1,this.isShowInfo=!1,this.page=h.List,this.tournamentInDialog=void 0,this.dialog={isOpen:!1,type:void 0,data:void 0},this.time=0}setTimeInterval(){this.timeHolder=setInterval((()=>{this.tournamentList||this.tournamentItem?this.time+=1:this.time=0}),1e3)}updateTournamentListByItem(n){this.tournamentList=this.tournamentList.map((t=>t.id===n.id?L(n):t))}handleEvent(n){const t=n.data,{type:e}=t,i=r(t,["type"]);switch(e){case"ShowLeaderboardRewardModal":{const{tournament:n}=i;this.setPage(h.Confirm,{tournament:L(n)}),postMessage({type:"BarLeaderboardsClick"});break}case"UpdateTournamentsItemRes":{const n=L(i.data.item);this.tournamentItem=n,this.updateTournamentListByItem(n);break}case"UpdateLeaderboardsRes":this.leaderboards=(n=>{let{item:t,items:e}=n;return t?e.map((n=>t&&t.userID===n.userID?Object.assign(Object.assign({},n),{isMe:!0}):n)):e})(i.data);break;case"JoinTournamentRes":case"UnjoinTournamentRes":const{success:n}=i;if(n)switch(this.tournamentItem=Object.assign(Object.assign({},this.tournamentItem),{playerEnrolled:!this.tournamentItem.playerEnrolled}),this.page){case h.Item:break;case h.List:this.updateTournamentListByItem(this.tournamentItem)}this.nextPage&&(this.setPage(this.nextPage),this.nextPage=void 0),this.isActionJoinPending=!1}}get messageSender(){return{JoinTournamentReq:n=>{var t;return window.postMessage({type:"JoinTournamentReq",bonusCode:null===(t=n.wallets[0])||void 0===t?void 0:t.code})},UnjoinTournamentReq:n=>window.postMessage({type:"UnjoinTournamentReq",id:n.id}),UpdateTournamentsItemReq:n=>window.postMessage({type:"UpdateTournamentsItemReq",id:n.id}),UpdateLeaderboardsReq:n=>window.postMessage({type:"UpdateLeaderboardsReq",id:n.id})}}connectedCallback(){this.setTimeInterval()}disconnectedCallback(){clearInterval(this.timeHolder)}actionJoin(n){if(!this.isActionJoinPending){this.isActionJoinPending=!0;try{n.playerEnrolled?this.messageSender.UnjoinTournamentReq(n):this.messageSender.JoinTournamentReq(n)}catch(n){return void console.log("error",n)}}}isTournamentClosed(n){return[u.Closed,u.Closing].includes(n.state)}setPage(n,t){switch(n){case h.Confirm:case h.Item:this.tournamentItem=t.tournament,this.tournamentItem||this.messageSender.UpdateTournamentsItemReq(t.tournament),this.isTournamentClosed(this.tournamentItem)&&this.messageSender.UpdateLeaderboardsReq(this.tournamentItem)}this.tab=o.Info,this.page=n}renderPage(){switch(this.page){case h.Confirm:return this.renderPageConfirm();case h.Item:return this.renderPageLeaderboardItem();case h.List:return this.renderPageLeaderboardList()}}render(){return n(i,{key:"07ebdb6c71a03be84b430e18a80417323a9cd3cc"},n("general-styling-wrapper",{key:"ac0134009a6bfcdb4b79816138ea441a8415b953",clientStylingUrl:this.clientStylingUrl,clientStyling:this.clientStyling,targetTranslations:d,translationUrl:this.translationUrl}),this.renderPage())}onClickListItemChangePage(n){this.setPage(h.Item,{tournament:n})}onClickItemJoin(n,t){t.stopPropagation(),n.playerEnrolled?this.openDialog(p.Unjoin,n):(this.actionJoin(n),this.tournamentItem=n)}onClickTab(n){switch(this.tab=n,n){case o.Leaderboard:this.leaderboards=void 0,this.messageSender.UpdateLeaderboardsReq(this.tournamentItem);break;case o.Games:this.messageSender.UpdateTournamentsItemReq(this.tournamentItem)}}renderPageLeaderboardList(){var t;if(!this.tournamentList)return this.tournamentList=null===(t=this.leaderboardsInit)||void 0===t?void 0:t.map((n=>L(n))),n("general-animation-loading",null);const{locale:e}=this;return this.tournamentList.length?this.renderLeaderboardContainer(n(s,null,n("div",{class:"Leaderboards Row"},this.tournamentList.map((t=>n("div",{class:c("LeaderboardsItem",t.playerEnrolled?" GradientRounded Hollow":""),onClick:this.onClickListItemChangePage.bind(this,t)},n("div",{class:"LeaderboardsItemContainer"},this.renderTitleContainer(t),this.renderTimeBar(t)))))))):n("div",{class:"NoLeaderboards Row"},n("div",null,e.NoLeaderboards),n("div",null,e.NoLeaderboardsTip))}renderPageConfirm(){if(!this.tournamentItem)return n("general-animation-loading",null);const t=this.tournamentItem.nameOrTitle,{locale:e}=this;return n("div",{class:"PageConfirmContainer"},n("div",{class:"GradientRounded Hollow PageConfirm"},n("div",null,w),n("div",{class:"Title"},e.JoinDialog.Tile),n("div",{class:"Description",innerHTML:l(e.JoinDialog.Description,{tournamentName:t})}),n("div",{class:"PageConfirmButtonsGroup"},n(g,{statedClasses:{isPending:this.isActionJoinPending},onClick:this.onClickConfirmJoin,innerHTML:e.JoinDialog.ButtonYes}),n(g,{statedClasses:{isPending:this.isActionJoinPending,isHollow:!0},onClick:this.onClickConfirmUnjoin,innerHTML:e.JoinDialog.ButtonNo}))))}renderPageLeaderboardItem(){return this.tournamentItem?this.renderLeaderboardContainer(n(s,null,this.renderTitleContainer(this.tournamentItem),this.renderTabs(),this.renderTabbedContent())):n("general-animation-loading",null)}renderDialogContent(){switch(this.dialog.type){case p.Unjoin:return this.renderDialogContentUnjoin();case p.Tip:return n("div",{class:"Tip"},this.locale.Tip)}}renderDialogContentUnjoin(){const{locale:t}=this;return n("div",{class:"DialogContentUnjoin"},n("div",{class:"DialogContentUnjoinTitle"},t.UnjoinDialog.Title),n("div",{class:"DialogContentUnjoinDescription",innerHTML:t.UnjoinDialog.Description}),n(g,{statedClasses:{isPending:this.isActionJoinPending},onClick:this.onClickDialogUnjoin,innerHTML:t.UnjoinDialog.ButtonYes}),n(g,{statedClasses:{isHollow:!0,isPending:this.isActionJoinPending},onClick:this.onClickDialogJoin,innerHTML:t.UnjoinDialog.ButtonNo}))}renderTitleContainer(t){const{locale:e}=this;return n("div",{class:"TitleContainer"},n("div",{class:"Title"},t.nameOrTitle),t.state!==u.Closed&&n("div",null,n(g,{statedClasses:{isHollow:t.playerEnrolled,isPending:this.isActionJoinPending},onClick:this.onClickItemJoin.bind(this,t),innerHTML:t.playerEnrolled?e.Unjoin:e.Join})))}renderTabbedContent(){switch(this.tab){case o.Info:return this.renderInfo();case o.Leaderboard:return this.renderLeaderboard();case o.Games:return this.renderGames()}}renderGames(){var t;return n("div",{class:"Games"},null===(t=this.tournamentItem.games)||void 0===t?void 0:t.map((t=>n("div",null,n("img",{src:t.defaultThumbnail,alt:""})))))}renderLeaderboard(){return this.leaderboards?this.leaderboards.length?n("table",{class:"Leaderboards"},this.leaderboards.map((t=>n("tr",{class:c({isMe:t.isMe})},n("td",{class:"LeaderboardRank"},n("span",null,t.rank)),n("td",{class:"LeaderboardName"},t.shortName),n("td",{class:"LeaderboardScore"},t.score),n("td",{class:"LeaderboardPrize"},t.prizeName))))):"":n("general-animation-loading",null)}renderTabs(){const{locale:t,tab:e}=this;return n("div",{class:"TabsContainer"},n("div",{class:"Tabs"},Object.keys(o).map((i=>n("div",{class:c({active:e===i}),onClick:this.onClickTab.bind(this,i)},t[i])))))}renderTimeBar(t){return n("section",{class:"TimeContainer"},n("div",{class:"Time"},t.playerEnrolled?n(s,null,n("div",null,function(n,t){const e=Math.abs(t.getTime()-n.getTime()),i=Math.floor(e/864e5),s=Math.floor(e%864e5/36e5),r=Math.floor(e%36e5/6e4);return`${String(i).padStart(2,"0")}d:${String(s).padStart(2,"0")}h:${String(r).padStart(2,"0")}m`}(function(n,t){const e=new Date(n);return e.setSeconds(e.getSeconds()+t),e}(t.startTime,this.time),t.endTime)),n("div",null,n(g,{statedClasses:{isHollow:!0,isPendding:!1},innerHTML:`${k(t.startTime,t.endTime)}%`}))):n(s,null,n("div",null,T(t.startTime)),n("div",null,T(t.endTime)))),n("casino-engagement-suite-progress-bar",{value:Number(k(t.startTime,t.endTime)),"hide-percent":!0}))}renderInfo(){var t,e;const{locale:i,tournamentItem:s,isShowInfo:r}=this;return n("div",{class:"InfoContainer"},this.renderTimeBar(s),n("section",{class:"ShowInfo",onClick:this.onClickShowInfo},n("p",null,n("span",null,r?v:b),n("span",null,i.LeaderboardDetails))),r&&n("section",{class:"Info"},n("div",null,s.description),n("div",{class:"Criterias"},n("div",null,i.ScoreCriteria,": ",n("span",null,s.scoreCriteria)),n("div",null,i.MinimumBetCriteria,": ",n("span",null,s.minBetCount))),n("div",{class:"TC"},n("a",{href:s.termsUrl,target:"_blank"},i.TC))),this.isTournamentClosed(this.tournamentItem)&&(null===(t=this.leaderboards)||void 0===t?void 0:t.find((n=>n.isMe)))&&n("section",{class:"ResultPrize",innerHTML:l(i.TipPrize,this.getResultPrize(null===(e=this.leaderboards)||void 0===e?void 0:e.find((n=>n.isMe))))}),n("section",{class:"Prizes"},n("div",{class:"PrizesHeader"},y,n("span",{class:"PrizesText"},i.Prizes)),s.prizes.map(((t,e)=>n("div",{class:"Prize"},e+1," ",i.Place,": ",n("span",{class:"PrizeText"},t.name))))))}getResultPrize(n){return{prize:n.prizeName,place:n.rank}}renderCloseBarInLayout(){const{left:t,middle:e}=this.getWrapperBarData();return n(C,{left:t,middle:e,right:n("span",{onClick:this.onClickBarInLayout},m)})}renderCloseBarInLayoutDialog(){return n(C,{right:n("span",{onClick:this.onClickBarInLayoutDialog},m)})}renderLeaderboardContainer(t){const{dialog:{isOpen:e}}=this;return n("div",{class:"Wrapper"},n("div",{class:c("WrapperContent",{faded:e})},this.renderCloseBarInLayout(),n("div",{class:"Root"},n("div",{class:"Main"},t))),n("div",{class:"WrapperUtil"},n("dialog",{open:e},n("div",null,this.renderCloseBarInLayoutDialog(),e&&this.renderDialogContent()))))}getWrapperBarData(){const{page:t,locale:e}=this;switch(t){case h.List:return{left:n("span",{onClick:this.onClickBarTip},f),middle:e.Leaderboards};case h.Item:return{left:n("span",{onClick:this.onClickBarBack},x),middle:""}}}openDialog(n,t){this.dialog=Object.assign(Object.assign({},this.dialog),{isOpen:!0,type:n,data:t})}closeDialog(){this.dialog=Object.assign(Object.assign({},this.dialog),{isOpen:!1})}};O.style='.GradientRounded {\n display: block;\n background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);\n color: rgba(30, 22, 56, 1);\n \n position: relative;\n border-radius: 16px;\n\n &.Hollow {\n background: rgba(30, 22, 56, 1);\n color: #FFFFFF;\n &::before {\n content: "";\n position: absolute;\n inset: 0;\n border-radius: 15px;\n border: 1px solid transparent;\n background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;\n -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);\n mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);\n -webkit-mask-composite: destination-out;\n mask-composite: exclude;\n }\n\n }\n}\n\n.GradientRoundedButton {\n border: none;\n padding: 7px;\n \n height: 32px;\n width: 100%;\n \n font-size: 14px;\n font-weight: 700;\n line-height: 17.07px;\n text-align: center;\n \n transition: .5s opacity;\n\n cursor: pointer;\n &.Pending {\n cursor: not-allowed;\n opacity: .3;\n }\n\n &.Hollow {\n \n span {\n background: -webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n }\n}\n.Wrapper {\n height: 100%;\n position: relative;\n color: var(--emw--color-typography, #FFFFFF);\n display: flex;\n background-color: var(--emw--color-background, hsl(254, 44%, 15%));\n flex-direction: column;\n border-radius: 8px;\n overflow: hidden;\n}\n\n.WrapperContent {\n padding-bottom: 20px;\n transition: 0.5s filter;\n}\n.WrapperContent.faded {\n filter: brightness(53.3333333333%);\n}\n\n.WrapperBar {\n display: flex;\n width: 100%;\n padding: 12px 8px 8px;\n}\n\n.WrapperBarLeft, .WrapperBarRight {\n cursor: pointer;\n}\n\n.WrapperBarMiddle {\n flex-grow: 1;\n text-align: center;\n font-size: 16px;\n line-height: 16px;\n font-weight: 500;\n color: var(--emw--color-secondary, rgb(187, 185, 195));\n}\n\n:host {\n display: block;\n font-size: 12px;\n font-family: Inter;\n}\n\n.Row {\n margin: 24px 0;\n padding: 0 20px;\n}\n\n.LeaderboardsItem {\n margin: 10px 0;\n border: 1px solid rgb(64, 57, 86);\n border-radius: 16px;\n}\n.LeaderboardsItem.Hollow {\n border-color: transparent;\n}\n\n.LeaderboardsItemContainer {\n padding-top: 16px;\n}\n\n.Info {\n margin: 24px 0;\n padding: 0 20px;\n}\n\n.TimeContainer {\n margin: 24px 0;\n padding: 0 20px;\n}\n.TimeContainer .Time {\n display: flex;\n justify-content: space-between;\n font-size: 11px;\n align-items: center;\n color: var(--emw--color-secondary, rgb(187, 185, 195));\n}\n.TimeContainer .Time button {\n font-size: 12px;\n height: 20px;\n padding: 0;\n}\n.TimeContainer .Time button::before {\n inset: inherit;\n border: 0;\n}\n\n.ShowInfo {\n margin: 24px 0;\n padding: 0 20px;\n cursor: pointer;\n color: rgb(102, 97, 120);\n}\n.ShowInfo p {\n display: flex;\n gap: 4px;\n}\n\n.TitleContainer {\n display: flex;\n justify-content: space-between;\n margin: 24px 0;\n padding: 0 20px;\n margin-top: 0;\n gap: 10px;\n font-family: Montserrat;\n}\n.TitleContainer .GradientRoundedButton {\n width: 120px;\n}\n\n.TabsContainer {\n margin: 24px 0;\n padding: 0 20px;\n margin: 0 20px;\n padding: 0;\n border-bottom: 1px solid #575757;\n}\n\n.Tabs {\n display: flex;\n justify-content: space-between;\n justify-content: start;\n font-size: 12px;\n margin-bottom: -1px;\n}\n.Tabs > div {\n padding: 10px;\n color: rgb(102, 97, 120);\n cursor: pointer;\n}\n.Tabs > div.active {\n color: var(--emw--color-typography, #FFF);\n border-bottom: 2px solid var(--emw--color-typography, #FFF);\n}\n\n.Title {\n font-size: 16px;\n font-weight: 700;\n line-height: 19.5px;\n text-align: left;\n word-break: break-word;\n}\n\n.TC {\n margin-top: 12px;\n}\n.TC a {\n color: rgb(89, 209, 255);\n}\n\n.Criterias {\n margin: 12px 0;\n}\n.Criterias span {\n color: var(--emw--color-primary, rgb(255, 214, 47));\n font-weight: 400;\n}\n\n.ResultPrize {\n margin: 24px 0;\n padding: 0 20px;\n}\n.ResultPrize span {\n color: var(--emw--color-primary, rgb(255, 214, 47));\n font-weight: 400;\n}\n\n.Prizes {\n margin: 24px 0;\n padding: 0 20px;\n}\n.Prizes .PrizesText {\n margin-left: 3px;\n font-weight: 600;\n}\n.Prizes .PrizesHeader {\n align-items: center;\n display: flex;\n}\n.Prizes .PrizesHeader img {\n width: 12px;\n}\n.Prizes .Prize {\n margin: 8px 0;\n}\n.Prizes .Prize .PrizeText {\n color: var(--emw--color-primary, rgb(255, 214, 47));\n font-weight: 400;\n}\n\n* {\n box-sizing: border-box;\n}\n\n.Leaderboards {\n width: 100%;\n text-align: center;\n border-collapse: collapse;\n}\n.Leaderboards td {\n opacity: 0.6;\n padding: 20px 5px;\n}\n.Leaderboards td:first-child {\n padding-left: 20px;\n}\n.Leaderboards td:last-child {\n padding-right: 20px;\n}\n.Leaderboards .LeaderboardName {\n color: var(--emw--color-typography, #FFF);\n opacity: 1;\n}\n.Leaderboards tr.isMe {\n background: rgba(0, 0, 0, 0.2);\n}\n.Leaderboards tr.isMe .LeaderboardRank span {\n padding: 0px 3px;\n opacity: 1;\n border: 1px solid var(--emw--color-primary, rgb(255, 214, 47));\n border-radius: 11px;\n}\n.Leaderboards tr.isMe td {\n color: var(--emw--color-primary, rgb(255, 214, 47));\n}\n\n.Games {\n margin: 24px 0;\n padding: 0 20px;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-evenly;\n gap: 4px 7.25px;\n}\n.Games img {\n width: 60px;\n}\n\ndialog {\n position: absolute;\n top: 30px;\n width: 100%;\n height: 100%;\n background: transparent;\n border: 0;\n padding: 0;\n color: var(--emw--color-typography, #FFFFFF);\n}\ndialog > div {\n margin: 32px;\n border-radius: 8px;\n background: var(--emw--color-background, hsl(254, 44%, 15%));\n border: 1px solid hsl(254, 20%, 28%);\n align-items: center;\n}\n\n.DialogContentUnjoin {\n padding: 32px;\n padding-top: 10px;\n display: flex;\n gap: 10px;\n flex-direction: column;\n}\n\n.DialogContentUnjoinTitle {\n font-family: Montserrat;\n font-size: 20px;\n font-weight: 600;\n line-height: 24.38px;\n text-align: center;\n}\n\n.DialogContentUnjoinDescription {\n color: var(--emw--color-secondary, rgb(187, 185, 195));\n margin-bottom: 30px;\n}\n\n.Tip {\n padding: 32px;\n padding-top: 10px;\n color: var(--emw--color-secondary, rgb(187, 185, 195));\n font-size: 14px;\n}\n\n.PageConfirmContainer {\n text-align: center;\n width: 80%;\n margin: 0 auto;\n}\n\n.PageConfirm {\n padding: 40px 32px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.PageConfirm .Title {\n font-size: 20px;\n text-align: center;\n}\n.PageConfirm .Description {\n color: var(--emw--color-secondary, rgb(187, 185, 195));\n font-weight: 400;\n}\n.PageConfirm .Description span {\n color: var(--emw--color-typography, #FFF);\n font-weight: 600;\n}\n\n.PageConfirmButtonsGroup {\n width: 150px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 10px;\n}';export{O as C}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>{};export{o as g}
|