@everymatrix/casino-tournaments-player-rank 1.86.2 → 1.86.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsPlayerRank-D2Rpa536.js → CasinoTournamentsPlayerRank-5U85GLCs.js} +1593 -1614
- package/components/CasinoTournamentsPlayerRank-CJpBDJEz.cjs +47 -0
- package/components/{CasinoTournamentsPlayerRank-DvOECfzv.js → CasinoTournamentsPlayerRank-CadXJRcC.js} +1570 -1591
- package/components/{CasinoTournamentsRank-D5F9GI58.cjs → CasinoTournamentsRank-D1oJ1RCc.cjs} +1 -1
- package/components/{CasinoTournamentsRank-B4xod9Xt.js → CasinoTournamentsRank-FYElc-PB.js} +25 -25
- package/components/{CasinoTournamentsRank-DdySeTRc.js → CasinoTournamentsRank-biMcIznJ.js} +23 -23
- package/es2015/casino-tournaments-player-rank.cjs +1 -1
- package/es2015/casino-tournaments-player-rank.js +1 -1
- package/esnext/casino-tournaments-player-rank.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsPlayerRank-DgBxAYk0.cjs +0 -47
package/components/{CasinoTournamentsRank-D5F9GI58.cjs → CasinoTournamentsRank-D1oJ1RCc.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsPlayerRank-DgBxAYk0.cjs"),H="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",L="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 M(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 q(r){let t,n,p,u,_,w,b,a,z,m,A,c,x,d,k,h,R,v,C,y,f,S,l=r[2]=="true"&&I(),o=r[2]=="true"&&T();return{c(){t=e.element("div"),n=e.element("div"),l&&l.c(),p=e.space(),u=e.element("span"),_=e.text(r[1]),w=e.text(r[7]),b=e.space(),a=e.element("img"),A=e.space(),c=e.element("img"),k=e.space(),h=e.element("div"),o&&o.c(),R=e.space(),v=e.element("span"),C=e.text(r[0]),e.attr(a,"part","Rank_Arror_UP"),e.attr(a,"alt","Rank Up"),e.src_url_equal(a.src,z=H)||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(c,"part","Rank_Arror_Down"),e.attr(c,"alt","Rank Down"),e.src_url_equal(c.src,x=L)||e.attr(c,"src",x),e.attr(c,"width","10"),e.attr(c,"height","10"),e.attr(c,"class",d="svg Arrow Down "+(r[5]&&!r[6]?"Show":"Hidden")),e.attr(u,"class","RankInfo"),e.attr(u,"part","RankText"),e.attr(n,"class","RankSec"),e.attr(n,"part","Rank"),e.attr(v,"class","RankInfo UserPrize"),e.attr(v,"part","PrizeText"),e.attr(h,"class",y=r[3]+" PrizeSec"),e.attr(h,"part","Prize"),e.attr(t,"class",f=r[3]+" casino-tournaments-rank"),e.attr(t,"part",S=r[3]+" casino-tournaments-rank")},m(s,g){e.insert(s,t,g),e.append(t,n),l&&l.m(n,null),e.append(n,p),e.append(n,u),e.append(u,_),e.append(u,w),e.append(u,b),e.append(u,a),e.append(u,A),e.append(u,c),e.append(t,k),e.append(t,h),o&&o.m(h,null),e.append(h,R),e.append(h,v),e.append(v,C),r[15](t)},p(s,[g]){s[2]=="true"?l||(l=I(),l.c(),l.m(n,p)):l&&(l.d(1),l=null),g&2&&e.set_data(_,s[1]),g&128&&e.set_data(w,s[7]),g&96&&m!==(m="svg Arrow Up "+(s[5]&&s[6]?"Show":"Hidden"))&&e.attr(a,"class",m),g&96&&d!==(d="svg Arrow Down "+(s[5]&&!s[6]?"Show":"Hidden"))&&e.attr(c,"class",d),s[2]=="true"?o||(o=T(),o.c(),o.m(h,R)):o&&(o.d(1),o=null),g&1&&e.set_data(C,s[0]),g&8&&y!==(y=s[3]+" PrizeSec")&&e.attr(h,"class",y),g&8&&f!==(f=s[3]+" casino-tournaments-rank")&&e.attr(t,"class",f),g&8&&S!==(S=s[3]+" casino-tournaments-rank")&&e.attr(t,"part",S)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),l&&l.d(),o&&o.d(),r[15](null)}}}function B(r,t,n){let{rankprefix:p="#"}=t,{showicon:u="true"}=t,{tournamentid:_=""}=t,{overallrank:w="0"}=t,{showoverallrank:b="true"}=t,{userrank:a="0"}=t,{prize:z="PrizeName"}=t,{mbsource:m}=t,{displayin:A="row"}=t,{clientstyling:c=""}=t,{clientstylingurl:x=""}=t,d,k,h=!1,R=!0,v,C,y,f,S="";const l=i=>{i.data&&i.data.type==`TournamentRankInfo_${_}`&&(o(i.data.rankInfo),s())},o=i=>{let U=P=>{n(9,a=P.rank),n(8,w=P.overallRank),n(0,z=P.prize)};if(!f){f=k,U(i);return}k&&(n(5,h=f!=i.rank),n(6,R=f>i.rank),v=new Date().getTime(),y=setTimeout(()=>{C=new Date().getTime(),(C-v)/1e3>4&&n(5,h=!1),f=k},5e3),U(i))},s=()=>{n(7,S=b=="true"?`${+a==0?"-":a||"-"}/${+w==0?"-":w}`:a)};e.onMount(()=>(k=a==null?void 0:parseInt(a),f=k,n(9,a=a==null?"-":a),window.addEventListener("message",l,!0),s(),()=>{window.removeEventListener("message",l),clearTimeout(y)}));function g(i){e.binding_callbacks[i?"unshift":"push"](()=>{d=i,n(4,d)})}return r.$$set=i=>{"rankprefix"in i&&n(1,p=i.rankprefix),"showicon"in i&&n(2,u=i.showicon),"tournamentid"in i&&n(10,_=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,A=i.displayin),"clientstyling"in i&&n(13,c=i.clientstyling),"clientstylingurl"in i&&n(14,x=i.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&8208&&c&&d&&e.setClientStyling(d,c),r.$$.dirty&16400&&x&&d&&e.setClientStylingURL(d,x),r.$$.dirty&4112&&m&&d&&e.setStreamStyling(d,`${m}.Style`),r.$$.dirty&512&&(k=parseInt(a)),r.$$.dirty&512&&a&&s(),r.$$.dirty&256&&w&&s()},[z,p,u,A,d,h,R,S,w,a,_,b,m,c,x,g]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,B,q,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},M)}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("./CasinoTournamentsPlayerRank-CJpBDJEz.cjs"),H="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",L="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 M(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 q(r){let t,n,p,u,_,w,b,a,z,m,A,c,x,d,k,h,R,v,C,y,f,S,l=r[2]=="true"&&I(),o=r[2]=="true"&&T();return{c(){t=e.element("div"),n=e.element("div"),l&&l.c(),p=e.space(),u=e.element("span"),_=e.text(r[1]),w=e.text(r[7]),b=e.space(),a=e.element("img"),A=e.space(),c=e.element("img"),k=e.space(),h=e.element("div"),o&&o.c(),R=e.space(),v=e.element("span"),C=e.text(r[0]),e.attr(a,"part","Rank_Arror_UP"),e.attr(a,"alt","Rank Up"),e.src_url_equal(a.src,z=H)||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(c,"part","Rank_Arror_Down"),e.attr(c,"alt","Rank Down"),e.src_url_equal(c.src,x=L)||e.attr(c,"src",x),e.attr(c,"width","10"),e.attr(c,"height","10"),e.attr(c,"class",d="svg Arrow Down "+(r[5]&&!r[6]?"Show":"Hidden")),e.attr(u,"class","RankInfo"),e.attr(u,"part","RankText"),e.attr(n,"class","RankSec"),e.attr(n,"part","Rank"),e.attr(v,"class","RankInfo UserPrize"),e.attr(v,"part","PrizeText"),e.attr(h,"class",y=r[3]+" PrizeSec"),e.attr(h,"part","Prize"),e.attr(t,"class",f=r[3]+" casino-tournaments-rank"),e.attr(t,"part",S=r[3]+" casino-tournaments-rank")},m(s,g){e.insert(s,t,g),e.append(t,n),l&&l.m(n,null),e.append(n,p),e.append(n,u),e.append(u,_),e.append(u,w),e.append(u,b),e.append(u,a),e.append(u,A),e.append(u,c),e.append(t,k),e.append(t,h),o&&o.m(h,null),e.append(h,R),e.append(h,v),e.append(v,C),r[15](t)},p(s,[g]){s[2]=="true"?l||(l=I(),l.c(),l.m(n,p)):l&&(l.d(1),l=null),g&2&&e.set_data(_,s[1]),g&128&&e.set_data(w,s[7]),g&96&&m!==(m="svg Arrow Up "+(s[5]&&s[6]?"Show":"Hidden"))&&e.attr(a,"class",m),g&96&&d!==(d="svg Arrow Down "+(s[5]&&!s[6]?"Show":"Hidden"))&&e.attr(c,"class",d),s[2]=="true"?o||(o=T(),o.c(),o.m(h,R)):o&&(o.d(1),o=null),g&1&&e.set_data(C,s[0]),g&8&&y!==(y=s[3]+" PrizeSec")&&e.attr(h,"class",y),g&8&&f!==(f=s[3]+" casino-tournaments-rank")&&e.attr(t,"class",f),g&8&&S!==(S=s[3]+" casino-tournaments-rank")&&e.attr(t,"part",S)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),l&&l.d(),o&&o.d(),r[15](null)}}}function B(r,t,n){let{rankprefix:p="#"}=t,{showicon:u="true"}=t,{tournamentid:_=""}=t,{overallrank:w="0"}=t,{showoverallrank:b="true"}=t,{userrank:a="0"}=t,{prize:z="PrizeName"}=t,{mbsource:m}=t,{displayin:A="row"}=t,{clientstyling:c=""}=t,{clientstylingurl:x=""}=t,d,k,h=!1,R=!0,v,C,y,f,S="";const l=i=>{i.data&&i.data.type==`TournamentRankInfo_${_}`&&(o(i.data.rankInfo),s())},o=i=>{let U=P=>{n(9,a=P.rank),n(8,w=P.overallRank),n(0,z=P.prize)};if(!f){f=k,U(i);return}k&&(n(5,h=f!=i.rank),n(6,R=f>i.rank),v=new Date().getTime(),y=setTimeout(()=>{C=new Date().getTime(),(C-v)/1e3>4&&n(5,h=!1),f=k},5e3),U(i))},s=()=>{n(7,S=b=="true"?`${+a==0?"-":a||"-"}/${+w==0?"-":w}`:a)};e.onMount(()=>(k=a==null?void 0:parseInt(a),f=k,n(9,a=a==null?"-":a),window.addEventListener("message",l,!0),s(),()=>{window.removeEventListener("message",l),clearTimeout(y)}));function g(i){e.binding_callbacks[i?"unshift":"push"](()=>{d=i,n(4,d)})}return r.$$set=i=>{"rankprefix"in i&&n(1,p=i.rankprefix),"showicon"in i&&n(2,u=i.showicon),"tournamentid"in i&&n(10,_=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,A=i.displayin),"clientstyling"in i&&n(13,c=i.clientstyling),"clientstylingurl"in i&&n(14,x=i.clientstylingurl)},r.$$.update=()=>{r.$$.dirty&8208&&c&&d&&e.setClientStyling(d,c),r.$$.dirty&16400&&x&&d&&e.setClientStylingURL(d,x),r.$$.dirty&4112&&m&&d&&e.setStreamStyling(d,`${m}.Style`),r.$$.dirty&512&&(k=parseInt(a)),r.$$.dirty&512&&a&&s(),r.$$.dirty&256&&w&&s()},[z,p,u,A,d,h,R,S,w,a,_,b,m,c,x,g]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,B,q,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},M)}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,7 +1,7 @@
|
|
|
1
|
-
import { S as F, i as G,
|
|
1
|
+
import { S as F, i as G, f as m, c as J, s as K, a as O, e as x, b as T, t as H, d as n, g as j, h as M, j as h, k as L, n as E, l as B, o as Q, m as V, p as W, q as X, r as Y } from "./CasinoTournamentsPlayerRank-5U85GLCs.js";
|
|
2
2
|
const $ = "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", ee = "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 te(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}}");
|
|
5
5
|
}
|
|
6
6
|
function Z(r) {
|
|
7
7
|
let e;
|
|
@@ -10,10 +10,10 @@ function Z(r) {
|
|
|
10
10
|
e = x("span"), e.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>', n(e, "class", "Icon UserIcon"), n(e, "part", "Icon UserIcon");
|
|
11
11
|
},
|
|
12
12
|
m(t, k) {
|
|
13
|
-
|
|
13
|
+
M(t, e, k);
|
|
14
14
|
},
|
|
15
15
|
d(t) {
|
|
16
|
-
t &&
|
|
16
|
+
t && B(e);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
}
|
|
@@ -24,10 +24,10 @@ function N(r) {
|
|
|
24
24
|
e = x("span"), e.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>', n(e, "class", "Icon PrizeIcon"), n(e, "part", "Icon PrizeIcon");
|
|
25
25
|
},
|
|
26
26
|
m(t, k) {
|
|
27
|
-
|
|
27
|
+
M(t, e, k);
|
|
28
28
|
},
|
|
29
29
|
d(t) {
|
|
30
|
-
t &&
|
|
30
|
+
t && B(e);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
}
|
|
@@ -41,18 +41,18 @@ function ie(r) {
|
|
|
41
41
|
);
|
|
42
42
|
return {
|
|
43
43
|
c() {
|
|
44
|
-
e = x("div"), t = x("div"), l && l.c(), k = T(), d = x("span"), S =
|
|
44
|
+
e = x("div"), t = x("div"), l && l.c(), k = T(), d = x("span"), S = H(
|
|
45
45
|
/*rankprefix*/
|
|
46
46
|
r[1]
|
|
47
|
-
), p =
|
|
47
|
+
), p = H(
|
|
48
48
|
/*rankinfo*/
|
|
49
49
|
r[7]
|
|
50
|
-
), C = T(), a = x("img"), I = T(), c = x("img"), _ = T(), u = x("div"), o && o.c(), U = T(), y = x("span"), P =
|
|
50
|
+
), C = T(), a = x("img"), I = T(), c = x("img"), _ = T(), u = x("div"), o && o.c(), U = T(), y = x("span"), P = H(
|
|
51
51
|
/*prize*/
|
|
52
52
|
r[0]
|
|
53
|
-
), n(a, "part", "Rank_Arror_UP"), n(a, "alt", "Rank Up"),
|
|
53
|
+
), n(a, "part", "Rank_Arror_UP"), n(a, "alt", "Rank Up"), j(a.src, A = $) || n(a, "src", A), n(a, "width", "20"), n(a, "height", "20"), n(a, "class", v = "svg Arrow Up " + /*userRankChanged*/
|
|
54
54
|
(r[5] && /*isRankingUp*/
|
|
55
|
-
r[6] ? "Show" : "Hidden")), n(c, "part", "Rank_Arror_Down"), n(c, "alt", "Rank Down"),
|
|
55
|
+
r[6] ? "Show" : "Hidden")), n(c, "part", "Rank_Arror_Down"), n(c, "alt", "Rank Down"), j(c.src, z = ee) || n(c, "src", z), n(c, "width", "10"), n(c, "height", "10"), n(c, "class", g = "svg Arrow Down " + /*userRankChanged*/
|
|
56
56
|
(r[5] && !/*isRankingUp*/
|
|
57
57
|
r[6] ? "Show" : "Hidden")), n(d, "class", "RankInfo"), n(d, "part", "RankText"), n(t, "class", "RankSec"), n(t, "part", "Rank"), n(y, "class", "RankInfo UserPrize"), n(y, "part", "PrizeText"), n(u, "class", b = /*displayin*/
|
|
58
58
|
r[3] + " PrizeSec"), n(u, "part", "Prize"), n(e, "class", w = /*displayin*/
|
|
@@ -60,17 +60,17 @@ function ie(r) {
|
|
|
60
60
|
r[3] + " casino-tournaments-rank");
|
|
61
61
|
},
|
|
62
62
|
m(s, f) {
|
|
63
|
-
|
|
63
|
+
M(s, e, f), h(e, t), l && l.m(t, null), h(t, k), h(t, d), h(d, S), h(d, p), h(d, C), h(d, a), h(d, I), h(d, c), h(e, _), h(e, u), o && o.m(u, null), h(u, U), h(u, y), h(y, P), r[15](e);
|
|
64
64
|
},
|
|
65
65
|
p(s, [f]) {
|
|
66
66
|
/*showicon*/
|
|
67
67
|
s[2] == "true" ? l || (l = Z(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), f & /*rankprefix*/
|
|
68
|
-
2 &&
|
|
68
|
+
2 && L(
|
|
69
69
|
S,
|
|
70
70
|
/*rankprefix*/
|
|
71
71
|
s[1]
|
|
72
72
|
), f & /*rankinfo*/
|
|
73
|
-
128 &&
|
|
73
|
+
128 && L(
|
|
74
74
|
p,
|
|
75
75
|
/*rankinfo*/
|
|
76
76
|
s[7]
|
|
@@ -82,7 +82,7 @@ function ie(r) {
|
|
|
82
82
|
(s[5] && !/*isRankingUp*/
|
|
83
83
|
s[6] ? "Show" : "Hidden")) && n(c, "class", g), /*showicon*/
|
|
84
84
|
s[2] == "true" ? o || (o = N(), o.c(), o.m(u, U)) : o && (o.d(1), o = null), f & /*prize*/
|
|
85
|
-
1 &&
|
|
85
|
+
1 && L(
|
|
86
86
|
P,
|
|
87
87
|
/*prize*/
|
|
88
88
|
s[0]
|
|
@@ -94,10 +94,10 @@ function ie(r) {
|
|
|
94
94
|
8 && R !== (R = /*displayin*/
|
|
95
95
|
s[3] + " casino-tournaments-rank") && n(e, "part", R);
|
|
96
96
|
},
|
|
97
|
-
i:
|
|
98
|
-
o:
|
|
97
|
+
i: E,
|
|
98
|
+
o: E,
|
|
99
99
|
d(s) {
|
|
100
|
-
s &&
|
|
100
|
+
s && B(e), l && l.d(), o && o.d(), r[15](null);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
}
|
|
@@ -122,11 +122,11 @@ function ne(r, e, t) {
|
|
|
122
122
|
}, s = () => {
|
|
123
123
|
t(7, R = C == "true" ? `${+a == 0 ? "-" : a || "-"}/${+p == 0 ? "-" : p}` : a);
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
Q(() => (_ = a == null ? void 0 : parseInt(a), w = _, t(9, a = a == null ? "-" : a), window.addEventListener("message", l, !0), s(), () => {
|
|
126
126
|
window.removeEventListener("message", l), clearTimeout(b);
|
|
127
127
|
}));
|
|
128
128
|
function f(i) {
|
|
129
|
-
|
|
129
|
+
W[i ? "unshift" : "push"](() => {
|
|
130
130
|
g = i, t(4, g);
|
|
131
131
|
});
|
|
132
132
|
}
|
|
@@ -134,9 +134,9 @@ function ne(r, e, t) {
|
|
|
134
134
|
"rankprefix" in i && t(1, k = i.rankprefix), "showicon" in i && t(2, d = i.showicon), "tournamentid" in i && t(10, S = i.tournamentid), "overallrank" in i && t(8, p = i.overallrank), "showoverallrank" in i && t(11, C = i.showoverallrank), "userrank" in i && t(9, a = i.userrank), "prize" in i && t(0, A = i.prize), "mbsource" in i && t(12, v = i.mbsource), "displayin" in i && t(3, I = i.displayin), "clientstyling" in i && t(13, c = i.clientstyling), "clientstylingurl" in i && t(14, z = i.clientstylingurl);
|
|
135
135
|
}, r.$$.update = () => {
|
|
136
136
|
r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
137
|
-
8208 && c && g &&
|
|
138
|
-
16400 && z && g &&
|
|
139
|
-
4112 && v && g &&
|
|
137
|
+
8208 && c && g && X(g, c), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
138
|
+
16400 && z && g && Y(g, z), r.$$.dirty & /*mbsource, customStylingContainer*/
|
|
139
|
+
4112 && v && g && V(g, `${v}.Style`), r.$$.dirty & /*userrank*/
|
|
140
140
|
512 && (_ = parseInt(a)), r.$$.dirty & /*userrank*/
|
|
141
141
|
512 && a && s(), r.$$.dirty & /*overallrank*/
|
|
142
142
|
256 && p && s();
|
|
@@ -166,7 +166,7 @@ class re extends F {
|
|
|
166
166
|
e,
|
|
167
167
|
ne,
|
|
168
168
|
ie,
|
|
169
|
-
|
|
169
|
+
K,
|
|
170
170
|
{
|
|
171
171
|
rankprefix: 1,
|
|
172
172
|
showicon: 2,
|
|
@@ -250,7 +250,7 @@ class re extends F {
|
|
|
250
250
|
this.$$set({ clientstylingurl: e }), m();
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
|
|
253
|
+
J(re, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, mbsource: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
254
254
|
export {
|
|
255
255
|
re as default
|
|
256
256
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as F, i as G, f as m,
|
|
1
|
+
import { S as F, i as G, f as m, c as J, s as K, a as O, e as x, b as T, t as H, d as n, g as j, h as M, j as h, k as L, n as E, l as B, o as Q, m as V, p as W, q as X, r as Y } from "./CasinoTournamentsPlayerRank-CadXJRcC.js";
|
|
2
2
|
const $ = "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", ee = "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 te(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}}");
|
|
@@ -10,10 +10,10 @@ function Z(r) {
|
|
|
10
10
|
e = x("span"), e.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>', n(e, "class", "Icon UserIcon"), n(e, "part", "Icon UserIcon");
|
|
11
11
|
},
|
|
12
12
|
m(t, k) {
|
|
13
|
-
|
|
13
|
+
M(t, e, k);
|
|
14
14
|
},
|
|
15
15
|
d(t) {
|
|
16
|
-
t &&
|
|
16
|
+
t && B(e);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
}
|
|
@@ -24,10 +24,10 @@ function N(r) {
|
|
|
24
24
|
e = x("span"), e.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>', n(e, "class", "Icon PrizeIcon"), n(e, "part", "Icon PrizeIcon");
|
|
25
25
|
},
|
|
26
26
|
m(t, k) {
|
|
27
|
-
|
|
27
|
+
M(t, e, k);
|
|
28
28
|
},
|
|
29
29
|
d(t) {
|
|
30
|
-
t &&
|
|
30
|
+
t && B(e);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
}
|
|
@@ -41,18 +41,18 @@ function ie(r) {
|
|
|
41
41
|
);
|
|
42
42
|
return {
|
|
43
43
|
c() {
|
|
44
|
-
e = x("div"), t = x("div"), l && l.c(), k = T(), d = x("span"), S =
|
|
44
|
+
e = x("div"), t = x("div"), l && l.c(), k = T(), d = x("span"), S = H(
|
|
45
45
|
/*rankprefix*/
|
|
46
46
|
r[1]
|
|
47
|
-
), p =
|
|
47
|
+
), p = H(
|
|
48
48
|
/*rankinfo*/
|
|
49
49
|
r[7]
|
|
50
|
-
), C = T(), a = x("img"), I = T(), c = x("img"), _ = T(), u = x("div"), o && o.c(), U = T(), y = x("span"), P =
|
|
50
|
+
), C = T(), a = x("img"), I = T(), c = x("img"), _ = T(), u = x("div"), o && o.c(), U = T(), y = x("span"), P = H(
|
|
51
51
|
/*prize*/
|
|
52
52
|
r[0]
|
|
53
|
-
), n(a, "part", "Rank_Arror_UP"), n(a, "alt", "Rank Up"),
|
|
53
|
+
), n(a, "part", "Rank_Arror_UP"), n(a, "alt", "Rank Up"), j(a.src, A = $) || n(a, "src", A), n(a, "width", "20"), n(a, "height", "20"), n(a, "class", v = "svg Arrow Up " + /*userRankChanged*/
|
|
54
54
|
(r[5] && /*isRankingUp*/
|
|
55
|
-
r[6] ? "Show" : "Hidden")), n(c, "part", "Rank_Arror_Down"), n(c, "alt", "Rank Down"),
|
|
55
|
+
r[6] ? "Show" : "Hidden")), n(c, "part", "Rank_Arror_Down"), n(c, "alt", "Rank Down"), j(c.src, z = ee) || n(c, "src", z), n(c, "width", "10"), n(c, "height", "10"), n(c, "class", g = "svg Arrow Down " + /*userRankChanged*/
|
|
56
56
|
(r[5] && !/*isRankingUp*/
|
|
57
57
|
r[6] ? "Show" : "Hidden")), n(d, "class", "RankInfo"), n(d, "part", "RankText"), n(t, "class", "RankSec"), n(t, "part", "Rank"), n(y, "class", "RankInfo UserPrize"), n(y, "part", "PrizeText"), n(u, "class", b = /*displayin*/
|
|
58
58
|
r[3] + " PrizeSec"), n(u, "part", "Prize"), n(e, "class", w = /*displayin*/
|
|
@@ -60,17 +60,17 @@ function ie(r) {
|
|
|
60
60
|
r[3] + " casino-tournaments-rank");
|
|
61
61
|
},
|
|
62
62
|
m(s, f) {
|
|
63
|
-
|
|
63
|
+
M(s, e, f), h(e, t), l && l.m(t, null), h(t, k), h(t, d), h(d, S), h(d, p), h(d, C), h(d, a), h(d, I), h(d, c), h(e, _), h(e, u), o && o.m(u, null), h(u, U), h(u, y), h(y, P), r[15](e);
|
|
64
64
|
},
|
|
65
65
|
p(s, [f]) {
|
|
66
66
|
/*showicon*/
|
|
67
67
|
s[2] == "true" ? l || (l = Z(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), f & /*rankprefix*/
|
|
68
|
-
2 &&
|
|
68
|
+
2 && L(
|
|
69
69
|
S,
|
|
70
70
|
/*rankprefix*/
|
|
71
71
|
s[1]
|
|
72
72
|
), f & /*rankinfo*/
|
|
73
|
-
128 &&
|
|
73
|
+
128 && L(
|
|
74
74
|
p,
|
|
75
75
|
/*rankinfo*/
|
|
76
76
|
s[7]
|
|
@@ -82,7 +82,7 @@ function ie(r) {
|
|
|
82
82
|
(s[5] && !/*isRankingUp*/
|
|
83
83
|
s[6] ? "Show" : "Hidden")) && n(c, "class", g), /*showicon*/
|
|
84
84
|
s[2] == "true" ? o || (o = N(), o.c(), o.m(u, U)) : o && (o.d(1), o = null), f & /*prize*/
|
|
85
|
-
1 &&
|
|
85
|
+
1 && L(
|
|
86
86
|
P,
|
|
87
87
|
/*prize*/
|
|
88
88
|
s[0]
|
|
@@ -94,10 +94,10 @@ function ie(r) {
|
|
|
94
94
|
8 && R !== (R = /*displayin*/
|
|
95
95
|
s[3] + " casino-tournaments-rank") && n(e, "part", R);
|
|
96
96
|
},
|
|
97
|
-
i:
|
|
98
|
-
o:
|
|
97
|
+
i: E,
|
|
98
|
+
o: E,
|
|
99
99
|
d(s) {
|
|
100
|
-
s &&
|
|
100
|
+
s && B(e), l && l.d(), o && o.d(), r[15](null);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
}
|
|
@@ -126,7 +126,7 @@ function ne(r, e, t) {
|
|
|
126
126
|
window.removeEventListener("message", l), clearTimeout(b);
|
|
127
127
|
}));
|
|
128
128
|
function f(i) {
|
|
129
|
-
|
|
129
|
+
W[i ? "unshift" : "push"](() => {
|
|
130
130
|
g = i, t(4, g);
|
|
131
131
|
});
|
|
132
132
|
}
|
|
@@ -134,9 +134,9 @@ function ne(r, e, t) {
|
|
|
134
134
|
"rankprefix" in i && t(1, k = i.rankprefix), "showicon" in i && t(2, d = i.showicon), "tournamentid" in i && t(10, S = i.tournamentid), "overallrank" in i && t(8, p = i.overallrank), "showoverallrank" in i && t(11, C = i.showoverallrank), "userrank" in i && t(9, a = i.userrank), "prize" in i && t(0, A = i.prize), "mbsource" in i && t(12, v = i.mbsource), "displayin" in i && t(3, I = i.displayin), "clientstyling" in i && t(13, c = i.clientstyling), "clientstylingurl" in i && t(14, z = i.clientstylingurl);
|
|
135
135
|
}, r.$$.update = () => {
|
|
136
136
|
r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
137
|
-
8208 && c && g &&
|
|
138
|
-
16400 && z && g &&
|
|
139
|
-
4112 && v && g &&
|
|
137
|
+
8208 && c && g && X(g, c), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
138
|
+
16400 && z && g && Y(g, z), r.$$.dirty & /*mbsource, customStylingContainer*/
|
|
139
|
+
4112 && v && g && V(g, `${v}.Style`), r.$$.dirty & /*userrank*/
|
|
140
140
|
512 && (_ = parseInt(a)), r.$$.dirty & /*userrank*/
|
|
141
141
|
512 && a && s(), r.$$.dirty & /*overallrank*/
|
|
142
142
|
256 && p && s();
|
|
@@ -166,7 +166,7 @@ class re extends F {
|
|
|
166
166
|
e,
|
|
167
167
|
ne,
|
|
168
168
|
ie,
|
|
169
|
-
|
|
169
|
+
K,
|
|
170
170
|
{
|
|
171
171
|
rankprefix: 1,
|
|
172
172
|
showicon: 2,
|
|
@@ -250,7 +250,7 @@ class re extends F {
|
|
|
250
250
|
this.$$set({ clientstylingurl: e }), m();
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
|
|
253
|
+
J(re, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, mbsource: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
254
254
|
export {
|
|
255
255
|
re as default
|
|
256
256
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsPlayerRank-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsPlayerRank-CJpBDJEz.cjs")).then(e=>e.CasinoTournamentsPlayerRank_ce).then(({default:e})=>{!customElements.get("casino-tournaments-player-rank")&&customElements.define("casino-tournaments-player-rank",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsPlayerRank-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsPlayerRank-5U85GLCs.js").then((e) => e.C).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-player-rank") && customElements.define("casino-tournaments-player-rank", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|