@everymatrix/casino-tournaments-slider-controller 1.87.30 → 1.87.32
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/{CasinoTournamentsRank-BR8eikDk.js → CasinoTournamentsRank-BpLWE-G6.js} +1 -1
- package/components/{CasinoTournamentsRank-7fKG3_eZ.cjs → CasinoTournamentsRank-DYjtVR0w.cjs} +1 -1
- package/components/{CasinoTournamentsRank-CSx-RYCc.js → CasinoTournamentsRank-PiIXHADJ.js} +1 -1
- package/components/{CasinoTournamentsSliderController-YMwcyywd.js → CasinoTournamentsSliderController-BmfXhbhA.js} +63 -63
- package/components/{CasinoTournamentsSliderController-CNvg7gtK.js → CasinoTournamentsSliderController-D6nsL3z7.js} +63 -63
- package/components/{CasinoTournamentsSliderController-CpibOMNM.cjs → CasinoTournamentsSliderController-D9L95Qry.cjs} +3 -3
- package/es2015/casino-tournaments-slider-controller.cjs +1 -1
- package/es2015/casino-tournaments-slider-controller.js +1 -1
- package/esnext/casino-tournaments-slider-controller.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as G, i as J, f as m, s as K, c as O, a as Q, n as j, d as M, b as H, e as n, g as B, h as d, j as _, k as I, t as L, l as E, o as V, m as W, p as X, q as Y, r as $ } from "./CasinoTournamentsSliderController-
|
|
1
|
+
import { S as G, i as J, f as m, s as K, c as O, a as Q, n as j, d as M, b as H, e as n, g as B, h as d, j as _, k as I, t as L, l as E, o as V, m as W, p as X, q as Y, r as $ } from "./CasinoTournamentsSliderController-BmfXhbhA.js";
|
|
2
2
|
const ee = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", te = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
3
3
|
function ie(r) {
|
|
4
4
|
Q(r, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
|
package/components/{CasinoTournamentsRank-7fKG3_eZ.cjs → CasinoTournamentsRank-DYjtVR0w.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsSliderController-CpibOMNM.cjs"),L="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",M="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function q(r){e.append_styles(r,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function I(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',e.attr(t,"class","Icon UserIcon"),e.attr(t,"part","Icon UserIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function T(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',e.attr(t,"class","Icon PrizeIcon"),e.attr(t,"part","Icon PrizeIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function B(r){let t,n,p,g,v,w,b,a,z,m,C,d,_,h,A,s,x,k,R,y,S,f,c=r[2]=="true"&&I(),o=r[2]=="true"&&T();return{c(){t=e.element("div"),n=e.element("div"),c&&c.c(),p=e.space(),g=e.element("span"),v=e.text(r[1]),w=e.text(r[7]),b=e.space(),a=e.element("img"),C=e.space(),d=e.element("img"),A=e.space(),s=e.element("div"),o&&o.c(),x=e.space(),k=e.element("span"),R=e.text(r[0]),e.attr(a,"part","Rank_Arror_UP"),e.attr(a,"alt","Rank Up"),e.src_url_equal(a.src,z=L)||e.attr(a,"src",z),e.attr(a,"width","20"),e.attr(a,"height","20"),e.attr(a,"class",m="svg Arrow Up "+(r[5]&&r[6]?"Show":"Hidden")),e.attr(d,"part","Rank_Arror_Down"),e.attr(d,"alt","Rank Down"),e.src_url_equal(d.src,_=M)||e.attr(d,"src",_),e.attr(d,"width","10"),e.attr(d,"height","10"),e.attr(d,"class",h="svg Arrow Down "+(r[5]&&!r[6]?"Show":"Hidden")),e.attr(g,"class","RankInfo"),e.attr(g,"part","RankText"),e.attr(n,"class","RankSec"),e.attr(n,"part","Rank"),e.attr(k,"class","RankInfo UserPrize"),e.attr(k,"part","PrizeText"),e.attr(s,"class",y=r[3]+" PrizeSec"),e.attr(s,"part","Prize"),e.attr(t,"class",S=r[3]+" casino-tournaments-rank"),e.attr(t,"part",f=r[3]+" casino-tournaments-rank")},m(l,u){e.insert(l,t,u),e.append(t,n),c&&c.m(n,null),e.append(n,p),e.append(n,g),e.append(g,v),e.append(g,w),e.append(g,b),e.append(g,a),e.append(g,C),e.append(g,d),e.append(t,A),e.append(t,s),o&&o.m(s,null),e.append(s,x),e.append(s,k),e.append(k,R),r[15](t)},p(l,[u]){l[2]=="true"?c||(c=I(),c.c(),c.m(n,p)):c&&(c.d(1),c=null),u&2&&e.set_data(v,l[1]),u&128&&e.set_data(w,l[7]),u&96&&m!==(m="svg Arrow Up "+(l[5]&&l[6]?"Show":"Hidden"))&&e.attr(a,"class",m),u&96&&h!==(h="svg Arrow Down "+(l[5]&&!l[6]?"Show":"Hidden"))&&e.attr(d,"class",h),l[2]=="true"?o||(o=T(),o.c(),o.m(s,x)):o&&(o.d(1),o=null),u&1&&e.set_data(R,l[0]),u&8&&y!==(y=l[3]+" PrizeSec")&&e.attr(s,"class",y),u&8&&S!==(S=l[3]+" casino-tournaments-rank")&&e.attr(t,"class",S),u&8&&f!==(f=l[3]+" casino-tournaments-rank")&&e.attr(t,"part",f)},i:e.noop,o:e.noop,d(l){l&&e.detach(t),c&&c.d(),o&&o.d(),r[15](null)}}}function j(r,t,n){let{rankprefix:p="#"}=t,{showicon:g="true"}=t,{tournamentid:v=""}=t,{overallrank:w="0"}=t,{showoverallrank:b="true"}=t,{userrank:a="0"}=t,{prize:z="PrizeName"}=t,{mbsource:m}=t,{displayin:C="row"}=t,{clientstyling:d=""}=t,{clientstylingurl:_=""}=t,h,A,s,x=!1,k=!0,R,y,S,f,c="";const o=i=>{i.data&&i.data.type==`TournamentRankInfo_${v}`&&(l(i.data.rankInfo),u())},l=i=>{let U=P=>{n(9,a=P.rank),n(8,w=P.overallRank),n(0,z=P.prize)};if(!f){f=s,U(i);return}s&&(n(5,x=f!=i.rank),n(6,k=f>i.rank),R=new Date().getTime(),S=setTimeout(()=>{y=new Date().getTime(),(y-R)/1e3>4&&n(5,x=!1),f=s},5e3),U(i))},u=()=>{n(7,c=b=="true"?`${+a==0?"-":a||"-"}/${+w==0?"-":w}`:a)};e.onMount(()=>(s=a==null?void 0:parseInt(a),f=s,n(9,a=a==null?"-":a),window.addEventListener("message",o,!0),u(),()=>{window.removeEventListener("message",o),clearTimeout(S)}));function H(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,n(4,h)})}return r.$$set=i=>{"rankprefix"in i&&n(1,p=i.rankprefix),"showicon"in i&&n(2,g=i.showicon),"tournamentid"in i&&n(10,v=i.tournamentid),"overallrank"in i&&n(8,w=i.overallrank),"showoverallrank"in i&&n(11,b=i.showoverallrank),"userrank"in i&&n(9,a=i.userrank),"prize"in i&&n(0,z=i.prize),"mbsource"in i&&n(12,m=i.mbsource),"displayin"in i&&n(3,C=i.displayin),"clientstyling"in i&&n(13,d=i.clientstyling),"clientstylingurl"in i&&n(14,_=i.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&8208&&d&&h&&e.setClientStyling(h,d),r.$$.dirty&16400&&_&&h&&e.setClientStylingURL(h,_),r.$$.dirty&4112&&m&&h&&e.setStreamStyling(h,`${m}.Style`,A),r.$$.dirty&512&&(s=parseInt(a)),r.$$.dirty&512&&a&&u(),r.$$.dirty&256&&w&&u()},[z,p,g,C,h,x,k,c,w,a,v,b,m,d,_,H]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,B,e.safe_not_equal,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,mbsource:12,displayin:3,clientstyling:13,clientstylingurl:14},q)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),e.flush()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),e.flush()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),e.flush()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),e.flush()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),e.flush()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),e.flush()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(D,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},mbsource:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=D;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsSliderController-D9L95Qry.cjs"),L="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",M="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function q(r){e.append_styles(r,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function I(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',e.attr(t,"class","Icon UserIcon"),e.attr(t,"part","Icon UserIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function T(r){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',e.attr(t,"class","Icon PrizeIcon"),e.attr(t,"part","Icon PrizeIcon")},m(n,p){e.insert(n,t,p)},d(n){n&&e.detach(t)}}}function B(r){let t,n,p,g,v,w,b,a,z,m,C,d,_,h,A,s,x,k,R,y,S,f,c=r[2]=="true"&&I(),o=r[2]=="true"&&T();return{c(){t=e.element("div"),n=e.element("div"),c&&c.c(),p=e.space(),g=e.element("span"),v=e.text(r[1]),w=e.text(r[7]),b=e.space(),a=e.element("img"),C=e.space(),d=e.element("img"),A=e.space(),s=e.element("div"),o&&o.c(),x=e.space(),k=e.element("span"),R=e.text(r[0]),e.attr(a,"part","Rank_Arror_UP"),e.attr(a,"alt","Rank Up"),e.src_url_equal(a.src,z=L)||e.attr(a,"src",z),e.attr(a,"width","20"),e.attr(a,"height","20"),e.attr(a,"class",m="svg Arrow Up "+(r[5]&&r[6]?"Show":"Hidden")),e.attr(d,"part","Rank_Arror_Down"),e.attr(d,"alt","Rank Down"),e.src_url_equal(d.src,_=M)||e.attr(d,"src",_),e.attr(d,"width","10"),e.attr(d,"height","10"),e.attr(d,"class",h="svg Arrow Down "+(r[5]&&!r[6]?"Show":"Hidden")),e.attr(g,"class","RankInfo"),e.attr(g,"part","RankText"),e.attr(n,"class","RankSec"),e.attr(n,"part","Rank"),e.attr(k,"class","RankInfo UserPrize"),e.attr(k,"part","PrizeText"),e.attr(s,"class",y=r[3]+" PrizeSec"),e.attr(s,"part","Prize"),e.attr(t,"class",S=r[3]+" casino-tournaments-rank"),e.attr(t,"part",f=r[3]+" casino-tournaments-rank")},m(l,u){e.insert(l,t,u),e.append(t,n),c&&c.m(n,null),e.append(n,p),e.append(n,g),e.append(g,v),e.append(g,w),e.append(g,b),e.append(g,a),e.append(g,C),e.append(g,d),e.append(t,A),e.append(t,s),o&&o.m(s,null),e.append(s,x),e.append(s,k),e.append(k,R),r[15](t)},p(l,[u]){l[2]=="true"?c||(c=I(),c.c(),c.m(n,p)):c&&(c.d(1),c=null),u&2&&e.set_data(v,l[1]),u&128&&e.set_data(w,l[7]),u&96&&m!==(m="svg Arrow Up "+(l[5]&&l[6]?"Show":"Hidden"))&&e.attr(a,"class",m),u&96&&h!==(h="svg Arrow Down "+(l[5]&&!l[6]?"Show":"Hidden"))&&e.attr(d,"class",h),l[2]=="true"?o||(o=T(),o.c(),o.m(s,x)):o&&(o.d(1),o=null),u&1&&e.set_data(R,l[0]),u&8&&y!==(y=l[3]+" PrizeSec")&&e.attr(s,"class",y),u&8&&S!==(S=l[3]+" casino-tournaments-rank")&&e.attr(t,"class",S),u&8&&f!==(f=l[3]+" casino-tournaments-rank")&&e.attr(t,"part",f)},i:e.noop,o:e.noop,d(l){l&&e.detach(t),c&&c.d(),o&&o.d(),r[15](null)}}}function j(r,t,n){let{rankprefix:p="#"}=t,{showicon:g="true"}=t,{tournamentid:v=""}=t,{overallrank:w="0"}=t,{showoverallrank:b="true"}=t,{userrank:a="0"}=t,{prize:z="PrizeName"}=t,{mbsource:m}=t,{displayin:C="row"}=t,{clientstyling:d=""}=t,{clientstylingurl:_=""}=t,h,A,s,x=!1,k=!0,R,y,S,f,c="";const o=i=>{i.data&&i.data.type==`TournamentRankInfo_${v}`&&(l(i.data.rankInfo),u())},l=i=>{let U=P=>{n(9,a=P.rank),n(8,w=P.overallRank),n(0,z=P.prize)};if(!f){f=s,U(i);return}s&&(n(5,x=f!=i.rank),n(6,k=f>i.rank),R=new Date().getTime(),S=setTimeout(()=>{y=new Date().getTime(),(y-R)/1e3>4&&n(5,x=!1),f=s},5e3),U(i))},u=()=>{n(7,c=b=="true"?`${+a==0?"-":a||"-"}/${+w==0?"-":w}`:a)};e.onMount(()=>(s=a==null?void 0:parseInt(a),f=s,n(9,a=a==null?"-":a),window.addEventListener("message",o,!0),u(),()=>{window.removeEventListener("message",o),clearTimeout(S)}));function H(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,n(4,h)})}return r.$$set=i=>{"rankprefix"in i&&n(1,p=i.rankprefix),"showicon"in i&&n(2,g=i.showicon),"tournamentid"in i&&n(10,v=i.tournamentid),"overallrank"in i&&n(8,w=i.overallrank),"showoverallrank"in i&&n(11,b=i.showoverallrank),"userrank"in i&&n(9,a=i.userrank),"prize"in i&&n(0,z=i.prize),"mbsource"in i&&n(12,m=i.mbsource),"displayin"in i&&n(3,C=i.displayin),"clientstyling"in i&&n(13,d=i.clientstyling),"clientstylingurl"in i&&n(14,_=i.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&8208&&d&&h&&e.setClientStyling(h,d),r.$$.dirty&16400&&_&&h&&e.setClientStylingURL(h,_),r.$$.dirty&4112&&m&&h&&e.setStreamStyling(h,`${m}.Style`,A),r.$$.dirty&512&&(s=parseInt(a)),r.$$.dirty&512&&a&&u(),r.$$.dirty&256&&w&&u()},[z,p,g,C,h,x,k,c,w,a,v,b,m,d,_,H]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,B,e.safe_not_equal,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,mbsource:12,displayin:3,clientstyling:13,clientstylingurl:14},q)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),e.flush()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),e.flush()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),e.flush()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),e.flush()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),e.flush()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),e.flush()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(D,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},mbsource:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=D;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as G, i as J, s as K, f as m, a as O, n as j, d as M, b as H, c as n, e as B, g as d, h as _, j as I, t as L, k as E, o as Q, l as V, m as W, p as X, q as Y, r as $ } from "./CasinoTournamentsSliderController-
|
|
1
|
+
import { S as G, i as J, s as K, f as m, a as O, n as j, d as M, b as H, c as n, e as B, g as d, h as _, j as I, t as L, k as E, o as Q, l as V, m as W, p as X, q as Y, r as $ } from "./CasinoTournamentsSliderController-D6nsL3z7.js";
|
|
2
2
|
const ee = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", te = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
3
3
|
function ie(r) {
|
|
4
4
|
O(r, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
|
|
@@ -2680,7 +2680,7 @@ function Gi(e) {
|
|
|
2680
2680
|
return i[0];
|
|
2681
2681
|
}
|
|
2682
2682
|
var Vt, Fi = new RegExp("^".concat(lr.source, "*")), Qi = new RegExp("".concat(lr.source, "*$"));
|
|
2683
|
-
function
|
|
2683
|
+
function G(e, t) {
|
|
2684
2684
|
return { start: e, end: t };
|
|
2685
2685
|
}
|
|
2686
2686
|
var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ji = !!String.fromCodePoint, Xi = !!Object.fromEntries, zi = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, qi = !!Number.isSafeInteger, Yi = qi ? Number.isSafeInteger : function(e) {
|
|
@@ -2808,12 +2808,12 @@ var eo = (
|
|
|
2808
2808
|
var s = this.clonePosition();
|
|
2809
2809
|
this.bump(), i.push({
|
|
2810
2810
|
type: V.pound,
|
|
2811
|
-
location:
|
|
2811
|
+
location: G(s, this.clonePosition())
|
|
2812
2812
|
});
|
|
2813
2813
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2814
2814
|
if (r)
|
|
2815
2815
|
break;
|
|
2816
|
-
return this.error(k.UNMATCHED_CLOSING_TAG,
|
|
2816
|
+
return this.error(k.UNMATCHED_CLOSING_TAG, G(this.clonePosition(), this.clonePosition()));
|
|
2817
2817
|
} else if (o === 60 && !this.ignoreTag && on(this.peek() || 0)) {
|
|
2818
2818
|
var u = this.parseTag(t, n);
|
|
2819
2819
|
if (u.err)
|
|
@@ -2837,7 +2837,7 @@ var eo = (
|
|
|
2837
2837
|
val: {
|
|
2838
2838
|
type: V.literal,
|
|
2839
2839
|
value: "<".concat(i, "/>"),
|
|
2840
|
-
location:
|
|
2840
|
+
location: G(r, this.clonePosition())
|
|
2841
2841
|
},
|
|
2842
2842
|
err: null
|
|
2843
2843
|
};
|
|
@@ -2848,21 +2848,21 @@ var eo = (
|
|
|
2848
2848
|
var u = o.val, s = this.clonePosition();
|
|
2849
2849
|
if (this.bumpIf("</")) {
|
|
2850
2850
|
if (this.isEOF() || !on(this.char()))
|
|
2851
|
-
return this.error(k.INVALID_TAG,
|
|
2851
|
+
return this.error(k.INVALID_TAG, G(s, this.clonePosition()));
|
|
2852
2852
|
var f = this.clonePosition(), a = this.parseTagName();
|
|
2853
|
-
return i !== a ? this.error(k.UNMATCHED_CLOSING_TAG,
|
|
2853
|
+
return i !== a ? this.error(k.UNMATCHED_CLOSING_TAG, G(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2854
2854
|
val: {
|
|
2855
2855
|
type: V.tag,
|
|
2856
2856
|
value: i,
|
|
2857
2857
|
children: u,
|
|
2858
|
-
location:
|
|
2858
|
+
location: G(r, this.clonePosition())
|
|
2859
2859
|
},
|
|
2860
2860
|
err: null
|
|
2861
|
-
} : this.error(k.INVALID_TAG,
|
|
2861
|
+
} : this.error(k.INVALID_TAG, G(s, this.clonePosition())));
|
|
2862
2862
|
} else
|
|
2863
|
-
return this.error(k.UNCLOSED_TAG,
|
|
2863
|
+
return this.error(k.UNCLOSED_TAG, G(r, this.clonePosition()));
|
|
2864
2864
|
} else
|
|
2865
|
-
return this.error(k.INVALID_TAG,
|
|
2865
|
+
return this.error(k.INVALID_TAG, G(r, this.clonePosition()));
|
|
2866
2866
|
}, e.prototype.parseTagName = function() {
|
|
2867
2867
|
var t = this.offset();
|
|
2868
2868
|
for (this.bump(); !this.isEOF() && no(this.char()); )
|
|
@@ -2887,7 +2887,7 @@ var eo = (
|
|
|
2887
2887
|
}
|
|
2888
2888
|
break;
|
|
2889
2889
|
}
|
|
2890
|
-
var f =
|
|
2890
|
+
var f = G(r, this.clonePosition());
|
|
2891
2891
|
return {
|
|
2892
2892
|
val: { type: V.literal, value: i, location: f },
|
|
2893
2893
|
err: null
|
|
@@ -2937,14 +2937,14 @@ var eo = (
|
|
|
2937
2937
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2938
2938
|
var r = this.clonePosition();
|
|
2939
2939
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2940
|
-
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2940
|
+
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(r, this.clonePosition()));
|
|
2941
2941
|
if (this.char() === 125)
|
|
2942
|
-
return this.bump(), this.error(k.EMPTY_ARGUMENT,
|
|
2942
|
+
return this.bump(), this.error(k.EMPTY_ARGUMENT, G(r, this.clonePosition()));
|
|
2943
2943
|
var i = this.parseIdentifierIfPossible().value;
|
|
2944
2944
|
if (!i)
|
|
2945
|
-
return this.error(k.MALFORMED_ARGUMENT,
|
|
2945
|
+
return this.error(k.MALFORMED_ARGUMENT, G(r, this.clonePosition()));
|
|
2946
2946
|
if (this.bumpSpace(), this.isEOF())
|
|
2947
|
-
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2947
|
+
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(r, this.clonePosition()));
|
|
2948
2948
|
switch (this.char()) {
|
|
2949
2949
|
case 125:
|
|
2950
2950
|
return this.bump(), {
|
|
@@ -2952,25 +2952,25 @@ var eo = (
|
|
|
2952
2952
|
type: V.argument,
|
|
2953
2953
|
// value does not include the opening and closing braces.
|
|
2954
2954
|
value: i,
|
|
2955
|
-
location:
|
|
2955
|
+
location: G(r, this.clonePosition())
|
|
2956
2956
|
},
|
|
2957
2957
|
err: null
|
|
2958
2958
|
};
|
|
2959
2959
|
case 44:
|
|
2960
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2960
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2961
2961
|
default:
|
|
2962
|
-
return this.error(k.MALFORMED_ARGUMENT,
|
|
2962
|
+
return this.error(k.MALFORMED_ARGUMENT, G(r, this.clonePosition()));
|
|
2963
2963
|
}
|
|
2964
2964
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2965
2965
|
var t = this.clonePosition(), n = this.offset(), r = rn(this.message, n), i = n + r.length;
|
|
2966
2966
|
this.bumpTo(i);
|
|
2967
|
-
var o = this.clonePosition(), u =
|
|
2967
|
+
var o = this.clonePosition(), u = G(t, o);
|
|
2968
2968
|
return { value: r, location: u };
|
|
2969
2969
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2970
2970
|
var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, f = this.clonePosition();
|
|
2971
2971
|
switch (s) {
|
|
2972
2972
|
case "":
|
|
2973
|
-
return this.error(k.EXPECT_ARGUMENT_TYPE,
|
|
2973
|
+
return this.error(k.EXPECT_ARGUMENT_TYPE, G(u, f));
|
|
2974
2974
|
case "number":
|
|
2975
2975
|
case "date":
|
|
2976
2976
|
case "time": {
|
|
@@ -2983,14 +2983,14 @@ var eo = (
|
|
|
2983
2983
|
return p;
|
|
2984
2984
|
var m = $i(p.val);
|
|
2985
2985
|
if (m.length === 0)
|
|
2986
|
-
return this.error(k.EXPECT_ARGUMENT_STYLE,
|
|
2987
|
-
var B =
|
|
2986
|
+
return this.error(k.EXPECT_ARGUMENT_STYLE, G(this.clonePosition(), this.clonePosition()));
|
|
2987
|
+
var B = G(c, this.clonePosition());
|
|
2988
2988
|
a = { style: m, styleLocation: B };
|
|
2989
2989
|
}
|
|
2990
2990
|
var b = this.tryParseArgumentClose(i);
|
|
2991
2991
|
if (b.err)
|
|
2992
2992
|
return b;
|
|
2993
|
-
var y =
|
|
2993
|
+
var y = G(i, this.clonePosition());
|
|
2994
2994
|
if (a && Hn(a?.style, "::", 0)) {
|
|
2995
2995
|
var I = Ki(a.style.slice(2));
|
|
2996
2996
|
if (s === "number") {
|
|
@@ -3031,12 +3031,12 @@ var eo = (
|
|
|
3031
3031
|
case "select": {
|
|
3032
3032
|
var N = this.clonePosition();
|
|
3033
3033
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3034
|
-
return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3034
|
+
return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS, G(N, Ht({}, N)));
|
|
3035
3035
|
this.bumpSpace();
|
|
3036
3036
|
var H = this.parseIdentifierIfPossible(), L = 0;
|
|
3037
3037
|
if (s !== "select" && H.value === "offset") {
|
|
3038
3038
|
if (!this.bumpIf(":"))
|
|
3039
|
-
return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3039
|
+
return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, G(this.clonePosition(), this.clonePosition()));
|
|
3040
3040
|
this.bumpSpace();
|
|
3041
3041
|
var p = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3042
3042
|
if (p.err)
|
|
@@ -3049,13 +3049,13 @@ var eo = (
|
|
|
3049
3049
|
var b = this.tryParseArgumentClose(i);
|
|
3050
3050
|
if (b.err)
|
|
3051
3051
|
return b;
|
|
3052
|
-
var
|
|
3052
|
+
var U = G(i, this.clonePosition());
|
|
3053
3053
|
return s === "select" ? {
|
|
3054
3054
|
val: {
|
|
3055
3055
|
type: V.select,
|
|
3056
3056
|
value: r,
|
|
3057
3057
|
options: Rn(w.val),
|
|
3058
|
-
location:
|
|
3058
|
+
location: U
|
|
3059
3059
|
},
|
|
3060
3060
|
err: null
|
|
3061
3061
|
} : {
|
|
@@ -3065,16 +3065,16 @@ var eo = (
|
|
|
3065
3065
|
options: Rn(w.val),
|
|
3066
3066
|
offset: L,
|
|
3067
3067
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3068
|
-
location:
|
|
3068
|
+
location: U
|
|
3069
3069
|
},
|
|
3070
3070
|
err: null
|
|
3071
3071
|
};
|
|
3072
3072
|
}
|
|
3073
3073
|
default:
|
|
3074
|
-
return this.error(k.INVALID_ARGUMENT_TYPE,
|
|
3074
|
+
return this.error(k.INVALID_ARGUMENT_TYPE, G(u, f));
|
|
3075
3075
|
}
|
|
3076
3076
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3077
|
-
return this.isEOF() || this.char() !== 125 ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3077
|
+
return this.isEOF() || this.char() !== 125 ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3078
3078
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3079
3079
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3080
3080
|
var r = this.char();
|
|
@@ -3083,7 +3083,7 @@ var eo = (
|
|
|
3083
3083
|
this.bump();
|
|
3084
3084
|
var i = this.clonePosition();
|
|
3085
3085
|
if (!this.bumpUntil("'"))
|
|
3086
|
-
return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3086
|
+
return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, G(i, this.clonePosition()));
|
|
3087
3087
|
this.bump();
|
|
3088
3088
|
break;
|
|
3089
3089
|
}
|
|
@@ -3134,7 +3134,7 @@ var eo = (
|
|
|
3134
3134
|
var m = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR, k.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3135
3135
|
if (m.err)
|
|
3136
3136
|
return m;
|
|
3137
|
-
c =
|
|
3137
|
+
c = G(p, this.clonePosition()), a = this.message.slice(p.offset, this.offset());
|
|
3138
3138
|
} else
|
|
3139
3139
|
break;
|
|
3140
3140
|
}
|
|
@@ -3143,7 +3143,7 @@ var eo = (
|
|
|
3143
3143
|
a === "other" && (u = !0), this.bumpSpace();
|
|
3144
3144
|
var B = this.clonePosition();
|
|
3145
3145
|
if (!this.bumpIf("{"))
|
|
3146
|
-
return this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3146
|
+
return this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, G(this.clonePosition(), this.clonePosition()));
|
|
3147
3147
|
var b = this.parseMessage(t + 1, n, r);
|
|
3148
3148
|
if (b.err)
|
|
3149
3149
|
return b;
|
|
@@ -3154,11 +3154,11 @@ var eo = (
|
|
|
3154
3154
|
a,
|
|
3155
3155
|
{
|
|
3156
3156
|
value: b.val,
|
|
3157
|
-
location:
|
|
3157
|
+
location: G(B, this.clonePosition())
|
|
3158
3158
|
}
|
|
3159
3159
|
]), f.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, c = o.location;
|
|
3160
3160
|
}
|
|
3161
|
-
return s.length === 0 ? this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR : k.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3161
|
+
return s.length === 0 ? this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR : k.EXPECT_PLURAL_ARGUMENT_SELECTOR, G(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(k.MISSING_OTHER_CLAUSE, G(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3162
3162
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3163
3163
|
var r = 1, i = this.clonePosition();
|
|
3164
3164
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
@@ -3169,7 +3169,7 @@ var eo = (
|
|
|
3169
3169
|
else
|
|
3170
3170
|
break;
|
|
3171
3171
|
}
|
|
3172
|
-
var f =
|
|
3172
|
+
var f = G(i, this.clonePosition());
|
|
3173
3173
|
return o ? (u *= r, Yi(u) ? { val: u, err: null } : this.error(n, f)) : this.error(t, f);
|
|
3174
3174
|
}, e.prototype.offset = function() {
|
|
3175
3175
|
return this.position.offset;
|
|
@@ -4117,9 +4117,9 @@ var ln = { exports: {} };
|
|
|
4117
4117
|
w.prototype.get = function(l) {
|
|
4118
4118
|
return this._map[L(l)];
|
|
4119
4119
|
}, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
|
|
4120
|
-
function
|
|
4120
|
+
function U() {
|
|
4121
4121
|
}
|
|
4122
|
-
|
|
4122
|
+
U.prototype.open = function(l, g, E, A, C, x, D) {
|
|
4123
4123
|
l.open("GET", C);
|
|
4124
4124
|
var z = 0;
|
|
4125
4125
|
l.onprogress = function() {
|
|
@@ -4255,7 +4255,7 @@ var ln = { exports: {} };
|
|
|
4255
4255
|
var pt = p != null && m != null && "body" in m.prototype;
|
|
4256
4256
|
function kt(l, g, E) {
|
|
4257
4257
|
g = String(g);
|
|
4258
|
-
var A = !!E.withCredentials, C = E.lastEventIdQueryParameterName || "lastEventId", x = ke(1e3), D = Me(E.heartbeatTimeout, 45e3), z = "", P = x, F = !1, h = 0, v = E.headers || {}, S = E.Transport, Y = pt && S == null ? void 0 : new H(S != null ? new S() : dt()), we = S != null && typeof S != "string" ? new S() : Y == null ? new te() : new
|
|
4258
|
+
var A = !!E.withCredentials, C = E.lastEventIdQueryParameterName || "lastEventId", x = ke(1e3), D = Me(E.heartbeatTimeout, 45e3), z = "", P = x, F = !1, h = 0, v = E.headers || {}, S = E.Transport, Y = pt && S == null ? void 0 : new H(S != null ? new S() : dt()), we = S != null && typeof S != "string" ? new S() : Y == null ? new te() : new U(), re = void 0, ne = 0, me = W, Ue = "", gt = "", xe = "", At = "", ie = ue, Ut = 0, Ne = 0, xr = function($, K, fe, ce) {
|
|
4259
4259
|
if (me === Ae)
|
|
4260
4260
|
if ($ === 200 && fe != null && Mt.test(fe)) {
|
|
4261
4261
|
me = Ce, F = Date.now(), P = x, l.readyState = Ce;
|
|
@@ -4441,7 +4441,7 @@ if (typeof window < "u") {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
};
|
|
4443
4443
|
};
|
|
4444
|
-
customElements.define = e(customElements.define), import("./CasinoTournamentsRank-
|
|
4444
|
+
customElements.define = e(customElements.define), import("./CasinoTournamentsRank-BpLWE-G6.js").then(({ default: t }) => {
|
|
4445
4445
|
!customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
|
|
4446
4446
|
});
|
|
4447
4447
|
}
|
|
@@ -4544,8 +4544,8 @@ function Fn(e) {
|
|
|
4544
4544
|
e[2]
|
|
4545
4545
|
), d(f, "part", "TournamentInfo_Rank"), d(f, "class", "rank"), d(y, "part", "TournamentInfo_Points"), d(y, "class", "circle"), d(t, "part", "TournamentInfo"), d(t, "class", "TournamentInfo");
|
|
4546
4546
|
},
|
|
4547
|
-
m(w,
|
|
4548
|
-
Ke(w, t,
|
|
4547
|
+
m(w, U) {
|
|
4548
|
+
Ke(w, t, U), O(t, n), O(n, r), O(r, o), O(t, s), O(t, f), O(f, a), O(t, b), O(t, y);
|
|
4549
4549
|
for (let R = 0; R < L.length; R += 1)
|
|
4550
4550
|
L[R] && L[R].m(y, null);
|
|
4551
4551
|
e[28](t), T = !0, _ || (N = bt(
|
|
@@ -4555,38 +4555,38 @@ function Fn(e) {
|
|
|
4555
4555
|
e[27]
|
|
4556
4556
|
), _ = !0);
|
|
4557
4557
|
},
|
|
4558
|
-
p(w,
|
|
4559
|
-
if ((!T ||
|
|
4558
|
+
p(w, U) {
|
|
4559
|
+
if ((!T || U[0] & /*currentTournament*/
|
|
4560
4560
|
256) && i !== (i = /*currentTournament*/
|
|
4561
|
-
w[8].name + "") && Wn(o, i), (!T ||
|
|
4561
|
+
w[8].name + "") && Wn(o, i), (!T || U[0] & /*currentTournament*/
|
|
4562
4562
|
256 && u !== (u = /*currentTournament*/
|
|
4563
|
-
w[8].name)) && d(r, "title", u), (!T ||
|
|
4563
|
+
w[8].name)) && d(r, "title", u), (!T || U[0] & /*currentTournament*/
|
|
4564
4564
|
256 && c !== (c = /*currentTournament*/
|
|
4565
|
-
w[8].rank)) && Q(a, "userrank", c), (!T ||
|
|
4565
|
+
w[8].rank)) && Q(a, "userrank", c), (!T || U[0] & /*mbsource*/
|
|
4566
4566
|
8) && Q(
|
|
4567
4567
|
a,
|
|
4568
4568
|
"mbsource",
|
|
4569
4569
|
/*mbsource*/
|
|
4570
4570
|
w[3]
|
|
4571
|
-
), (!T ||
|
|
4571
|
+
), (!T || U[0] & /*currentTournament*/
|
|
4572
4572
|
256 && p !== (p = /*currentTournament*/
|
|
4573
|
-
w[8].prize)) && Q(a, "prize", p), (!T ||
|
|
4573
|
+
w[8].prize)) && Q(a, "prize", p), (!T || U[0] & /*currentTournament*/
|
|
4574
4574
|
256 && m !== (m = /*currentTournament*/
|
|
4575
|
-
w[8].overallRank)) && Q(a, "overallrank", m), (!T ||
|
|
4575
|
+
w[8].overallRank)) && Q(a, "overallrank", m), (!T || U[0] & /*currentTournament*/
|
|
4576
4576
|
256 && B !== (B = /*currentTournament*/
|
|
4577
|
-
w[8].id)) && Q(a, "tournamentid", B), (!T ||
|
|
4577
|
+
w[8].id)) && Q(a, "tournamentid", B), (!T || U[0] & /*clientstyling*/
|
|
4578
4578
|
2) && Q(
|
|
4579
4579
|
a,
|
|
4580
4580
|
"clientstyling",
|
|
4581
4581
|
/*clientstyling*/
|
|
4582
4582
|
w[1]
|
|
4583
|
-
), (!T ||
|
|
4583
|
+
), (!T || U[0] & /*clientstylingurl*/
|
|
4584
4584
|
4) && Q(
|
|
4585
4585
|
a,
|
|
4586
4586
|
"clientstylingurl",
|
|
4587
4587
|
/*clientstylingurl*/
|
|
4588
4588
|
w[2]
|
|
4589
|
-
),
|
|
4589
|
+
), U[0] & /*currentTournamentIdx, tournamentList*/
|
|
4590
4590
|
96) {
|
|
4591
4591
|
H = yn(
|
|
4592
4592
|
/*tournamentList*/
|
|
@@ -4595,7 +4595,7 @@ function Fn(e) {
|
|
|
4595
4595
|
let R;
|
|
4596
4596
|
for (R = 0; R < H.length; R += 1) {
|
|
4597
4597
|
const te = Un(w, H, R);
|
|
4598
|
-
L[R] ? L[R].p(te,
|
|
4598
|
+
L[R] ? L[R].p(te, U) : (L[R] = Qn(te), L[R].c(), L[R].m(y, null));
|
|
4599
4599
|
}
|
|
4600
4600
|
for (; R < L.length; R += 1)
|
|
4601
4601
|
L[R].d(1);
|
|
@@ -4652,7 +4652,7 @@ function jn(e) {
|
|
|
4652
4652
|
};
|
|
4653
4653
|
}
|
|
4654
4654
|
function ns(e) {
|
|
4655
|
-
let t, n, r, i, o, u, s, f, a, c, p, m, B, b, y, I, T, _, N, H, L, w,
|
|
4655
|
+
let t, n, r, i, o, u, s, f, a, c, p, m, B, b, y, I, T, _, N, H, L, w, U, R, te, ae, ye, X = !/*tournamentList*/
|
|
4656
4656
|
e[5] && Gn(e), M = (
|
|
4657
4657
|
/*tournamentList*/
|
|
4658
4658
|
e[5] && /*tournamentList*/
|
|
@@ -4689,7 +4689,7 @@ function ns(e) {
|
|
|
4689
4689
|
"height",
|
|
4690
4690
|
/*iconsize*/
|
|
4691
4691
|
e[0]
|
|
4692
|
-
), d(T, "viewBox",
|
|
4692
|
+
), d(T, "viewBox", U = `0 0 ${/*iconsize*/
|
|
4693
4693
|
e[0]} ${/*iconsize*/
|
|
4694
4694
|
e[0]}`), d(T, "fill", "none"), d(T, "xmlns", "http://www.w3.org/2000/svg"), d(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), d(I, "class", "svg"), d(I, "part", "Icon"), d(te, "class", "restoreButton"), d(te, "part", "RestoreButton"), d(y, "id", "animator"), d(y, "part", "Animator");
|
|
4695
4695
|
},
|
|
@@ -4756,9 +4756,9 @@ function ns(e) {
|
|
|
4756
4756
|
/*iconsize*/
|
|
4757
4757
|
J[0]
|
|
4758
4758
|
), W[0] & /*iconsize*/
|
|
4759
|
-
1 &&
|
|
4759
|
+
1 && U !== (U = `0 0 ${/*iconsize*/
|
|
4760
4760
|
J[0]} ${/*iconsize*/
|
|
4761
|
-
J[0]}`) && d(T, "viewBox",
|
|
4761
|
+
J[0]}`) && d(T, "viewBox", U);
|
|
4762
4762
|
},
|
|
4763
4763
|
i(J) {
|
|
4764
4764
|
wt(M);
|
|
@@ -4775,7 +4775,7 @@ let Yt = 1, Wt = 300;
|
|
|
4775
4775
|
function rs(e, t, n) {
|
|
4776
4776
|
let r, i;
|
|
4777
4777
|
Tr(e, zo, (h) => n(14, i = h));
|
|
4778
|
-
let { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { tournamentsshownnumber: f = 5 } = t, { looptime: a = "5" } = t, { iconsize: c = "9" } = t, { icon: p = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: b = "" } = t, { mbsource: y } = t, I, T, _ = [], N, H = 0, L = !0, w = !1,
|
|
4778
|
+
let { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { tournamentsshownnumber: f = 5 } = t, { looptime: a = "5" } = t, { iconsize: c = "9" } = t, { icon: p = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: b = "" } = t, { mbsource: y } = t, I, T, _ = [], N, H = 0, L = !0, w = !1, U, R, te = null, ae = null, ye, X = !1, M, j;
|
|
4779
4779
|
Vo({ withLocale: "en", translations: {} });
|
|
4780
4780
|
const J = () => {
|
|
4781
4781
|
fetch(b).then((v) => v.json()).then((v) => {
|
|
@@ -4905,9 +4905,9 @@ function rs(e, t, n) {
|
|
|
4905
4905
|
}, mt = () => {
|
|
4906
4906
|
if (!u)
|
|
4907
4907
|
return;
|
|
4908
|
-
|
|
4908
|
+
U && (U.removeEventListener("message", ve), U.close());
|
|
4909
4909
|
let h = new URL(`${u}/v1/tournaments/leaderboard/player/updates`);
|
|
4910
|
-
Me(h.searchParams, 0, f),
|
|
4910
|
+
Me(h.searchParams, 0, f), U = new qo.EventSourcePolyfill(
|
|
4911
4911
|
h.href,
|
|
4912
4912
|
{
|
|
4913
4913
|
headers: {
|
|
@@ -4915,7 +4915,7 @@ function rs(e, t, n) {
|
|
|
4915
4915
|
"X-SessionId": o
|
|
4916
4916
|
}
|
|
4917
4917
|
}
|
|
4918
|
-
), typeof
|
|
4918
|
+
), typeof U < "u" && U.addEventListener("message", ve);
|
|
4919
4919
|
}, l = () => {
|
|
4920
4920
|
if (!u || !o)
|
|
4921
4921
|
return;
|
|
@@ -4935,7 +4935,7 @@ function rs(e, t, n) {
|
|
|
4935
4935
|
},
|
|
4936
4936
|
5e3
|
|
4937
4937
|
), () => {
|
|
4938
|
-
clearInterval(ye), window.removeEventListener("message", W),
|
|
4938
|
+
clearInterval(ye), window.removeEventListener("message", W), U && (U.removeEventListener("message", ve), U.close()), R.removeEventListener("touchstart", dt), R.removeEventListener("touchmove", pt);
|
|
4939
4939
|
}));
|
|
4940
4940
|
const E = () => ue(-1), A = () => ct(N.id);
|
|
4941
4941
|
function C(h) {
|