@everymatrix/casino-tournaments-thumbnail-rule 1.85.11 → 1.85.13

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.
@@ -25,5 +25,5 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
25
25
  ( ${t("typeOfSelection")}: ${g[((re=(Q=n.combination.multiple.betBuilder)==null?void 0:Q.mode)==null?void 0:re.toString())||"unspecific"]},
26
26
  ${t("numberOfSelection")}:
27
27
  ${((ge=u.multiple.minSelection)==null?void 0:ge.number)||t("unlimited")} - ${((Y=u.multiple.maxSelection)==null?void 0:Y.number)||t("unlimited")},
28
- ${S} ) `),B&&T?c.push(H+t("and")+E):B?c.push(E):T&&c.push(H),r.push(c.join(", "));const V=n.config.minTotalOdds?`: ${n.config.minTotalOdds}`:i,M=n.config.maxTotalOdds?`: ${n.config.maxTotalOdds}`:i;return r.push(`${t("sportsRuleMinMaxOdds",{values:{sportMinOdds:V,sportMaxOdds:M}})}`),r}}function Zi(e){wn(e,"svelte-apsmtn","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:var(--emw--color-gray-100, #B5B5B5)}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid var(--emw--color-grey-105, #424242)}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules{padding-left:20px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules li{padding-left:0px;list-style-type:initial}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeUL{padding-left:15px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI{list-style-type:initial;margin-top:5px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI span.Desc{padding-top:7px;display:block}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}")}function Ot(e,t,n){const r=e.slice();return r[24]=t[n],r}function Pt(e){let t,n=e[11]("scoreCriteriaType.mostRounds")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.mostRounds")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function Nt(e){let t,n=e[11]("scoreCriteriaType.winStateRatio")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.winStateRatio")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function It(e){let t,n=e[11]("scoreCriteriaType.maxWinStateRatio")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.maxWinStateRatio")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function kt(e){let t,n=e[11]("scoreCriteriaType.winStakeRatioWinMinScore",{values:{minScore:e[7]}})+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2176&&n!==(n=i[11]("scoreCriteriaType.winStakeRatioWinMinScore",{values:{minScore:i[7]}})+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function $t(e){let t,n=e[11]("scoreCriteriaType.stake")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.stake")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function Ut(e){let t,n,r,i,s,o=e[11]("forCasino")+"",l,h;return{c(){t=C("div"),n=C("div"),n.innerHTML=`<img src="${Vi}"/>`,r=L(),i=C("div"),s=new ie(!1),l=ee(":"),h=ee(e[10]),p(n,"class","RuleIcon"),p(n,"part","RuleIcon"),s.a=l,p(i,"class","RuleTxt"),p(i,"part","RuleTxt"),p(t,"class","RulesRow"),p(t,"part","rule")},m(a,u){W(a,t,u),b(t,n),b(t,r),b(t,i),s.m(o,i),b(i,l),b(i,h)},p(a,u){u&2048&&o!==(o=a[11]("forCasino")+"")&&s.p(o),u&1024&&Re(h,a[10])},d(a){a&&z(t)}}}function Dt(e){let t,n,r,i,s,o=e[11]("forSportsbook")+"",l,h,a=bt(e[9]),u=[];for(let c=0;c<a.length;c+=1)u[c]=Gt(Ot(e,a,c));return{c(){t=C("div"),n=C("div"),n.innerHTML=`<img src="${zi}"/>`,r=L(),i=C("div"),s=new ie(!1),l=ee(`:
28
+ ${S} ) `),B&&T?c.push(H+t("and")+E):B?c.push(E):T&&c.push(H),r.push(c.join(", "));const V=n.config.minTotalOdds?`: ${n.config.minTotalOdds}`:i,M=n.config.maxTotalOdds?`: ${n.config.maxTotalOdds}`:i;return r.push(`${t("sportsRuleMinMaxOdds",{values:{sportMinOdds:V,sportMaxOdds:M}})}`),r}}function Zi(e){wn(e,"svelte-apsmtn","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:var(--emw--color-gray-100, #B5B5B5)}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid var(--emw--color-grey-105, #424242)}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules{padding-left:20px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules li{padding-left:0px;list-style-type:initial}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeUL{padding-left:15px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI{list-style-type:initial;margin-top:5px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI span.Desc{padding-top:7px;display:block}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}")}function Ot(e,t,n){const r=e.slice();return r[24]=t[n],r}function Pt(e){let t,n=e[11]("scoreCriteriaType.mostRounds")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.mostRounds")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function Nt(e){let t,n=e[11]("scoreCriteriaType.winStakeRatio")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.winStakeRatio")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function It(e){let t,n=e[11]("scoreCriteriaType.maxWinStakeRatio")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.maxWinStakeRatio")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function kt(e){let t,n=e[11]("scoreCriteriaType.winStakeRatioWinMinScore",{values:{minScore:e[7]}})+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2176&&n!==(n=i[11]("scoreCriteriaType.winStakeRatioWinMinScore",{values:{minScore:i[7]}})+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function $t(e){let t,n=e[11]("scoreCriteriaType.stake")+"",r;return{c(){t=new ie(!1),r=Te(),t.a=r},m(i,s){t.m(n,i,s),W(i,r,s)},p(i,s){s&2048&&n!==(n=i[11]("scoreCriteriaType.stake")+"")&&t.p(n)},d(i){i&&(z(r),t.d())}}}function Ut(e){let t,n,r,i,s,o=e[11]("forCasino")+"",l,h;return{c(){t=C("div"),n=C("div"),n.innerHTML=`<img src="${Vi}"/>`,r=L(),i=C("div"),s=new ie(!1),l=ee(":"),h=ee(e[10]),p(n,"class","RuleIcon"),p(n,"part","RuleIcon"),s.a=l,p(i,"class","RuleTxt"),p(i,"part","RuleTxt"),p(t,"class","RulesRow"),p(t,"part","rule")},m(a,u){W(a,t,u),b(t,n),b(t,r),b(t,i),s.m(o,i),b(i,l),b(i,h)},p(a,u){u&2048&&o!==(o=a[11]("forCasino")+"")&&s.p(o),u&1024&&Re(h,a[10])},d(a){a&&z(t)}}}function Dt(e){let t,n,r,i,s,o=e[11]("forSportsbook")+"",l,h,a=bt(e[9]),u=[];for(let c=0;c<a.length;c+=1)u[c]=Gt(Ot(e,a,c));return{c(){t=C("div"),n=C("div"),n.innerHTML=`<img src="${zi}"/>`,r=L(),i=C("div"),s=new ie(!1),l=ee(`:
29
29
  `),h=C("ul");for(let c=0;c<u.length;c+=1)u[c].c();p(n,"class","RuleIcon"),p(n,"part","RuleIcon"),s.a=l,p(h,"class","SportsRules"),p(i,"class","RuleTxt"),p(i,"part","RuleTxt"),p(t,"class","RulesRow"),p(t,"part","rule")},m(c,f){W(c,t,f),b(t,n),b(t,r),b(t,i),s.m(o,i),b(i,l),b(i,h);for(let d=0;d<u.length;d+=1)u[d]&&u[d].m(h,null)},p(c,f){if(f&2048&&o!==(o=c[11]("forSportsbook")+"")&&s.p(o),f&512){a=bt(c[9]);let d;for(d=0;d<a.length;d+=1){const g=Ot(c,a,d);u[d]?u[d].p(g,f):(u[d]=Gt(g),u[d].c(),u[d].m(h,null))}for(;d<u.length;d+=1)u[d].d(1);u.length=a.length}},d(c){c&&z(t),Hn(u,c)}}}function Gt(e){let t,n=e[24]+"",r;return{c(){t=C("li"),r=ee(n),p(t,"class","RuleTxt"),p(t,"part","RuleTxt")},m(i,s){W(i,t,s),b(t,r)},p(i,s){s&512&&n!==(n=i[24]+"")&&Re(r,n)},d(i){i&&z(t)}}}function Xi(e){let t,n,r,i,s,o,l,h,a,u,c,f,d,g,E=e[11]("miniBetCount",{values:{betCount:e[3]}})+"",H,S,B,T,V,M,A=e[11]("timePeriod",{values:{startTime:e[4],endTime:e[5]}})+"",Z,ne,m,O,J,Q,re=e[11]("terms",{values:{tcUrl:e[6]}})+"",ge,Y,we,lt,Ue,I=e[2]=="BetCount"&&Pt(e),k=e[2]=="WinStakeRatio"&&Nt(e),$=e[2]=="MaxWinStakeRatio"&&It(e),U=e[7]&&kt(e),D=e[2]=="Stake"&&$t(e),G=e[1]&&Ut(e),F=e[0]&&e[9].length&&Dt(e);return{c(){t=C("div"),n=C("div"),r=C("div"),r.innerHTML=`<img src="${Di}"/>`,i=L(),s=C("div"),I&&I.c(),o=L(),k&&k.c(),l=L(),$&&$.c(),h=L(),U&&U.c(),a=L(),D&&D.c(),u=L(),c=C("div"),f=C("div"),f.innerHTML=`<img src="${Gi}"/>`,d=L(),g=C("div"),H=ee(E),S=L(),B=C("div"),T=C("div"),T.innerHTML=`<img src="${Fi}"/>`,V=L(),M=C("div"),Z=ee(A),ne=L(),m=C("div"),O=C("div"),O.innerHTML=`<img src="${ji}"/>`,J=L(),Q=C("div"),ge=L(),Y=C("span"),lt=L(),G&&G.c(),Ue=L(),F&&F.c(),p(r,"class","RuleIcon"),p(r,"part","RuleIcon"),p(s,"class","RuleTxt"),p(s,"part","RuleTxt"),p(n,"class","RulesRow"),p(n,"part","rule"),p(f,"class","RuleIcon"),p(f,"part","RuleIcon"),p(g,"class","RuleTxt"),p(g,"part","RuleTxt"),p(c,"class","RulesRow"),p(c,"part","rule"),p(T,"class","RuleIcon"),p(T,"part","RuleIcon"),p(M,"class","RuleTxt"),p(M,"part","RuleTxt"),p(B,"class","RulesRow"),p(B,"part","rule"),p(O,"class","RuleIcon"),p(O,"part","RuleIcon"),p(Q,"class","RuleTxt"),p(Q,"part","RuleTxt"),p(m,"class","RulesRow"),p(m,"part","rule"),p(Y,"type","hidden"),p(Y,"href",we={tcurl:e[6]}),p(t,"class","casino-tournaments-thumbnail-rule"),p(t,"part","casino-tournaments-thumbnail-rule")},m(v,j){W(v,t,j),b(t,n),b(n,r),b(n,i),b(n,s),I&&I.m(s,null),b(s,o),k&&k.m(s,null),b(s,l),$&&$.m(s,null),b(s,h),U&&U.m(s,null),b(s,a),D&&D.m(s,null),b(t,u),b(t,c),b(c,f),b(c,d),b(c,g),b(g,H),b(t,S),b(t,B),b(B,T),b(B,V),b(B,M),b(M,Z),b(t,ne),b(t,m),b(m,O),b(m,J),b(m,Q),Q.innerHTML=re,b(t,ge),b(t,Y),b(t,lt),G&&G.m(t,null),b(t,Ue),F&&F.m(t,null),e[17](t)},p(v,[j]){v[2]=="BetCount"?I?I.p(v,j):(I=Pt(v),I.c(),I.m(s,o)):I&&(I.d(1),I=null),v[2]=="WinStakeRatio"?k?k.p(v,j):(k=Nt(v),k.c(),k.m(s,l)):k&&(k.d(1),k=null),v[2]=="MaxWinStakeRatio"?$?$.p(v,j):($=It(v),$.c(),$.m(s,h)):$&&($.d(1),$=null),v[7]?U?U.p(v,j):(U=kt(v),U.c(),U.m(s,a)):U&&(U.d(1),U=null),v[2]=="Stake"?D?D.p(v,j):(D=$t(v),D.c(),D.m(s,null)):D&&(D.d(1),D=null),j&2056&&E!==(E=v[11]("miniBetCount",{values:{betCount:v[3]}})+"")&&Re(H,E),j&2096&&A!==(A=v[11]("timePeriod",{values:{startTime:v[4],endTime:v[5]}})+"")&&Re(Z,A),j&2112&&re!==(re=v[11]("terms",{values:{tcUrl:v[6]}})+"")&&(Q.innerHTML=re),j&64&&we!==(we={tcurl:v[6]})&&p(Y,"href",we),v[1]?G?G.p(v,j):(G=Ut(v),G.c(),G.m(t,Ue)):G&&(G.d(1),G=null),v[0]&&v[9].length?F?F.p(v,j):(F=Dt(v),F.c(),F.m(t,null)):F&&(F.d(1),F=null)},i:X,o:X,d(v){v&&z(t),I&&I.d(),k&&k.d(),$&&$.d(),U&&U.d(),D&&D.d(),G&&G.d(),F&&F.d(),e[17](null)}}}function Wi(e,t,n){let r;Tn(e,Pi,m=>n(11,r=m));let{lang:i="tr"}=t,{scorecriterial:s="BetCount"}=t,{betcount:o}=t,{starttime:l}=t,{endtime:h}=t,{tcurl:a}=t,{clientstyling:u=""}=t,{clientstylingurl:c=""}=t,{translationurl:f=""}=t,{mbsource:d}=t,{sportswallet:g}=t,{casinowallet:E}=t,{minscore:H}=t,S,B=[],T="";Ni({withLocale:"en",translations:{}});const V=()=>{fetch(f).then(O=>O.json()).then(O=>{Object.keys(O).forEach(J=>{Rt(J,O[J])})}).catch(O=>{console.error(O)})};Object.keys(Lt).forEach(m=>{Rt(m,Lt[m])});const M=()=>{Ii(i)},A=m=>{m.data&&m.data.type&&m.type=="TournamentsWalletsUpdate"&&(n(1,E=m.data.wallet.casino),n(0,g=m.data.wallet.sports))},Z=()=>{n(10,T=E?At.generateCasinoRule(r,E):""),n(9,B=g?At.generateSportsRule(r,g):[])};On(()=>(window.addEventListener("message",A,!1),window.postMessage({type:"TournamentsRuleListenerLoaded"},window.location.href),()=>{window.removeEventListener("message",A)}));function ne(m){We[m?"unshift":"push"](()=>{S=m,n(8,S)})}return e.$$set=m=>{"lang"in m&&n(12,i=m.lang),"scorecriterial"in m&&n(2,s=m.scorecriterial),"betcount"in m&&n(3,o=m.betcount),"starttime"in m&&n(4,l=m.starttime),"endtime"in m&&n(5,h=m.endtime),"tcurl"in m&&n(6,a=m.tcurl),"clientstyling"in m&&n(13,u=m.clientstyling),"clientstylingurl"in m&&n(14,c=m.clientstylingurl),"translationurl"in m&&n(15,f=m.translationurl),"mbsource"in m&&n(16,d=m.mbsource),"sportswallet"in m&&n(0,g=m.sportswallet),"casinowallet"in m&&n(1,E=m.casinowallet),"minscore"in m&&n(7,H=m.minscore)},e.$$.update=()=>{e.$$.dirty&4096&&i&&M(),e.$$.dirty&3&&(g||E)&&Z(),e.$$.dirty&8448&&u&&S&&ki(S,u),e.$$.dirty&16640&&c&&S&&$i(S,c),e.$$.dirty&65792&&d&&S&&Ui(S,`${d}.Style`),e.$$.dirty&32768&&f&&V()},[g,E,s,o,l,h,a,H,S,B,T,r,i,u,c,f,d,ne]}class gn extends zn{constructor(t){super(),jn(this,t,Wi,Xi,jt,{lang:12,scorecriterial:2,betcount:3,starttime:4,endtime:5,tcurl:6,clientstyling:13,clientstylingurl:14,translationurl:15,mbsource:16,sportswallet:0,casinowallet:1,minscore:7},Zi)}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),P()}get scorecriterial(){return this.$$.ctx[2]}set scorecriterial(t){this.$$set({scorecriterial:t}),P()}get betcount(){return this.$$.ctx[3]}set betcount(t){this.$$set({betcount:t}),P()}get starttime(){return this.$$.ctx[4]}set starttime(t){this.$$set({starttime:t}),P()}get endtime(){return this.$$.ctx[5]}set endtime(t){this.$$set({endtime:t}),P()}get tcurl(){return this.$$.ctx[6]}set tcurl(t){this.$$set({tcurl:t}),P()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),P()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),P()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),P()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),P()}get sportswallet(){return this.$$.ctx[0]}set sportswallet(t){this.$$set({sportswallet:t}),P()}get casinowallet(){return this.$$.ctx[1]}set casinowallet(t){this.$$set({casinowallet:t}),P()}get minscore(){return this.$$.ctx[7]}set minscore(t){this.$$set({minscore:t}),P()}}Vn(gn,{lang:{},scorecriterial:{},betcount:{},starttime:{},endtime:{},tcurl:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},sportswallet:{},casinowallet:{},minscore:{}},[],[],!0);exports.default=gn;
@@ -4039,7 +4039,7 @@ function Pt(e) {
4039
4039
  function Nt(e) {
4040
4040
  let t, n = (
4041
4041
  /*$_*/
4042
- e[11]("scoreCriteriaType.winStateRatio") + ""
4042
+ e[11]("scoreCriteriaType.winStakeRatio") + ""
4043
4043
  ), r;
4044
4044
  return {
4045
4045
  c() {
@@ -4051,7 +4051,7 @@ function Nt(e) {
4051
4051
  p(i, s) {
4052
4052
  s & /*$_*/
4053
4053
  2048 && n !== (n = /*$_*/
4054
- i[11]("scoreCriteriaType.winStateRatio") + "") && t.p(n);
4054
+ i[11]("scoreCriteriaType.winStakeRatio") + "") && t.p(n);
4055
4055
  },
4056
4056
  d(i) {
4057
4057
  i && (z(r), t.d());
@@ -4061,7 +4061,7 @@ function Nt(e) {
4061
4061
  function It(e) {
4062
4062
  let t, n = (
4063
4063
  /*$_*/
4064
- e[11]("scoreCriteriaType.maxWinStateRatio") + ""
4064
+ e[11]("scoreCriteriaType.maxWinStakeRatio") + ""
4065
4065
  ), r;
4066
4066
  return {
4067
4067
  c() {
@@ -4073,7 +4073,7 @@ function It(e) {
4073
4073
  p(i, s) {
4074
4074
  s & /*$_*/
4075
4075
  2048 && n !== (n = /*$_*/
4076
- i[11]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(n);
4076
+ i[11]("scoreCriteriaType.maxWinStakeRatio") + "") && t.p(n);
4077
4077
  },
4078
4078
  d(i) {
4079
4079
  i && (z(r), t.d());
@@ -1,18 +1,18 @@
1
1
  function z() {
2
2
  }
3
- function It(e) {
3
+ function kt(e) {
4
4
  return e();
5
5
  }
6
6
  function ut() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ve(e) {
10
- e.forEach(It);
10
+ e.forEach(kt);
11
11
  }
12
12
  function rt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function kt(e, t) {
15
+ function It(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  function cn(e) {
@@ -241,7 +241,7 @@ function ht(e) {
241
241
  function Hn(e, t, n) {
242
242
  const { fragment: r, after_update: i } = e.$$;
243
243
  r && r.m(t, n), Xe(() => {
244
- const s = e.$$.on_mount.map(It).filter(rt);
244
+ const s = e.$$.on_mount.map(kt).filter(rt);
245
245
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ve(s), e.$$.on_mount = [];
246
246
  }), i.forEach(Xe);
247
247
  }
@@ -523,7 +523,7 @@ function Ae(e, t = z) {
523
523
  let n;
524
524
  const r = /* @__PURE__ */ new Set();
525
525
  function i(u) {
526
- if (kt(e, u) && (e = u, n)) {
526
+ if (It(e, u) && (e = u, n)) {
527
527
  const c = !ne.length;
528
528
  for (const a of r)
529
529
  a[1](), ne.push(a, e);
@@ -576,10 +576,10 @@ function le(e, t, n) {
576
576
  };
577
577
  });
578
578
  }
579
- function In(e) {
579
+ function kn(e) {
580
580
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
581
581
  }
582
- var kn = function(t) {
582
+ var In = function(t) {
583
583
  return $n(t) && !Un(t);
584
584
  };
585
585
  function $n(e) {
@@ -637,7 +637,7 @@ function Wn(e, t, n) {
637
637
  }), r;
638
638
  }
639
639
  function se(e, t, n) {
640
- n = n || {}, n.arrayMerge = n.arrayMerge || Vn, n.isMergeableObject = n.isMergeableObject || kn, n.cloneUnlessOtherwiseSpecified = ge;
640
+ n = n || {}, n.arrayMerge = n.arrayMerge || Vn, n.isMergeableObject = n.isMergeableObject || In, n.cloneUnlessOtherwiseSpecified = ge;
641
641
  var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
642
642
  return s ? r ? n.arrayMerge(e, t, n) : Wn(e, t, n) : ge(t, n);
643
643
  }
@@ -649,7 +649,7 @@ se.all = function(t, n) {
649
649
  }, {});
650
650
  };
651
651
  var qn = se, Qn = qn;
652
- const Jn = /* @__PURE__ */ In(Qn);
652
+ const Jn = /* @__PURE__ */ kn(Qn);
653
653
  var We = function(e, t) {
654
654
  return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
655
655
  n.__proto__ = r;
@@ -3176,7 +3176,7 @@ var Pe = (
3176
3176
  }
3177
3177
  return t;
3178
3178
  }(Pe)
3179
- ), Ir = (
3179
+ ), kr = (
3180
3180
  /** @class */
3181
3181
  function(e) {
3182
3182
  Oe(t, e);
@@ -3185,7 +3185,7 @@ var Pe = (
3185
3185
  }
3186
3186
  return t;
3187
3187
  }(Pe)
3188
- ), kr = (
3188
+ ), Ir = (
3189
3189
  /** @class */
3190
3190
  function(e) {
3191
3191
  Oe(t, e);
@@ -3233,7 +3233,7 @@ function Se(e, t, n, r, i, s, l) {
3233
3233
  }
3234
3234
  var h = o.value;
3235
3235
  if (!(i && h in i))
3236
- throw new kr(h, l);
3236
+ throw new Ir(h, l);
3237
3237
  var f = i[h];
3238
3238
  if (ar(o)) {
3239
3239
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
@@ -3269,7 +3269,7 @@ function Se(e, t, n, r, i, s, l) {
3269
3269
  if (Wt(o)) {
3270
3270
  var g = o.children, E = o.value, H = i[E];
3271
3271
  if (!Ur(H))
3272
- throw new Ir(E, "function", l);
3272
+ throw new kr(E, "function", l);
3273
3273
  var S = Se(g, t, n, r, i, s), B = H(S.map(function(M) {
3274
3274
  return M.value;
3275
3275
  }));
@@ -3659,7 +3659,7 @@ const ui = (e) => {
3659
3659
  return Re.set(e);
3660
3660
  }, J = oi(ai({}, Re), {
3661
3661
  set: ui
3662
- }), Ie = (e) => {
3662
+ }), ke = (e) => {
3663
3663
  const t = /* @__PURE__ */ Object.create(null);
3664
3664
  return (r) => {
3665
3665
  const i = JSON.stringify(r);
@@ -3687,21 +3687,21 @@ const ye = (e, t) => {
3687
3687
  if (e in n && t in n[e])
3688
3688
  return n[e][t];
3689
3689
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3690
- }, hi = Ie(
3690
+ }, hi = ke(
3691
3691
  (e) => {
3692
3692
  var t = e, { locale: n, format: r } = t, i = ce(t, ["locale", "format"]);
3693
3693
  if (n == null)
3694
3694
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3695
3695
  return r && (i = ye("number", r)), new Intl.NumberFormat(n, i);
3696
3696
  }
3697
- ), ci = Ie(
3697
+ ), ci = ke(
3698
3698
  (e) => {
3699
3699
  var t = e, { locale: n, format: r } = t, i = ce(t, ["locale", "format"]);
3700
3700
  if (n == null)
3701
3701
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3702
3702
  return r ? i = ye("date", r) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(n, i);
3703
3703
  }
3704
- ), fi = Ie(
3704
+ ), fi = ke(
3705
3705
  (e) => {
3706
3706
  var t = e, { locale: n, format: r } = t, i = ce(t, ["locale", "format"]);
3707
3707
  if (n == null)
@@ -3731,7 +3731,7 @@ const ye = (e, t) => {
3731
3731
  "locale"
3732
3732
  ]);
3733
3733
  return fi(st({ locale: n }, r));
3734
- }, bi = Ie(
3734
+ }, bi = ke(
3735
3735
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3736
3736
  (e, t = K()) => new jr(e, t, ue().formats, {
3737
3737
  ignoreTag: ue().ignoreTag
@@ -4000,7 +4000,7 @@ function Ht(e) {
4000
4000
  function Mt(e) {
4001
4001
  let t, n = (
4002
4002
  /*$_*/
4003
- e[11]("scoreCriteriaType.winStateRatio") + ""
4003
+ e[11]("scoreCriteriaType.winStakeRatio") + ""
4004
4004
  ), r;
4005
4005
  return {
4006
4006
  c() {
@@ -4012,7 +4012,7 @@ function Mt(e) {
4012
4012
  p(i, s) {
4013
4013
  s & /*$_*/
4014
4014
  2048 && n !== (n = /*$_*/
4015
- i[11]("scoreCriteriaType.winStateRatio") + "") && t.p(n);
4015
+ i[11]("scoreCriteriaType.winStakeRatio") + "") && t.p(n);
4016
4016
  },
4017
4017
  d(i) {
4018
4018
  i && (V(r), t.d());
@@ -4022,7 +4022,7 @@ function Mt(e) {
4022
4022
  function Rt(e) {
4023
4023
  let t, n = (
4024
4024
  /*$_*/
4025
- e[11]("scoreCriteriaType.maxWinStateRatio") + ""
4025
+ e[11]("scoreCriteriaType.maxWinStakeRatio") + ""
4026
4026
  ), r;
4027
4027
  return {
4028
4028
  c() {
@@ -4034,7 +4034,7 @@ function Rt(e) {
4034
4034
  p(i, s) {
4035
4035
  s & /*$_*/
4036
4036
  2048 && n !== (n = /*$_*/
4037
- i[11]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(n);
4037
+ i[11]("scoreCriteriaType.maxWinStakeRatio") + "") && t.p(n);
4038
4038
  },
4039
4039
  d(i) {
4040
4040
  i && (V(r), t.d());
@@ -4223,7 +4223,7 @@ function Ni(e) {
4223
4223
  /*tcurl*/
4224
4224
  e[6]
4225
4225
  ) } }) + ""
4226
- ), at, me, _e, ot, ke, O = (
4226
+ ), at, me, _e, ot, Ie, O = (
4227
4227
  /*scorecriterial*/
4228
4228
  e[2] == "BetCount" && Ht(e)
4229
4229
  ), P = (
@@ -4232,10 +4232,10 @@ function Ni(e) {
4232
4232
  ), N = (
4233
4233
  /*scorecriterial*/
4234
4234
  e[2] == "MaxWinStakeRatio" && Rt(e)
4235
- ), I = (
4235
+ ), k = (
4236
4236
  /*minscore*/
4237
4237
  e[7] && Lt(e)
4238
- ), k = (
4238
+ ), I = (
4239
4239
  /*scorecriterial*/
4240
4240
  e[2] == "Stake" && At(e)
4241
4241
  ), $ = (
@@ -4248,21 +4248,21 @@ function Ni(e) {
4248
4248
  );
4249
4249
  return {
4250
4250
  c() {
4251
- t = C("div"), n = C("div"), r = C("div"), r.innerHTML = `<img src="${Hi}"/>`, i = R(), s = C("div"), O && O.c(), l = R(), P && P.c(), u = R(), N && N.c(), c = R(), I && I.c(), a = R(), k && k.c(), o = R(), h = C("div"), f = C("div"), f.innerHTML = `<img src="${Mi}"/>`, m = R(), g = C("div"), H = Q(E), S = R(), B = C("div"), T = C("div"), T.innerHTML = `<img src="${Ri}"/>`, G = R(), M = C("div"), W = Q(F), Ee = R(), d = C("div"), j = C("div"), j.innerHTML = `<img src="${Li}"/>`, fe = R(), ee = C("div"), at = R(), me = C("span"), ot = R(), $ && $.c(), ke = R(), U && U.c(), p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), p(s, "class", "RuleTxt"), p(s, "part", "RuleTxt"), p(n, "class", "RulesRow"), p(n, "part", "rule"), p(f, "class", "RuleIcon"), p(f, "part", "RuleIcon"), p(g, "class", "RuleTxt"), p(g, "part", "RuleTxt"), p(h, "class", "RulesRow"), p(h, "part", "rule"), p(T, "class", "RuleIcon"), p(T, "part", "RuleIcon"), p(M, "class", "RuleTxt"), p(M, "part", "RuleTxt"), p(B, "class", "RulesRow"), p(B, "part", "rule"), p(j, "class", "RuleIcon"), p(j, "part", "RuleIcon"), p(ee, "class", "RuleTxt"), p(ee, "part", "RuleTxt"), p(d, "class", "RulesRow"), p(d, "part", "rule"), p(me, "type", "hidden"), p(me, "href", _e = { tcurl: (
4251
+ t = C("div"), n = C("div"), r = C("div"), r.innerHTML = `<img src="${Hi}"/>`, i = R(), s = C("div"), O && O.c(), l = R(), P && P.c(), u = R(), N && N.c(), c = R(), k && k.c(), a = R(), I && I.c(), o = R(), h = C("div"), f = C("div"), f.innerHTML = `<img src="${Mi}"/>`, m = R(), g = C("div"), H = Q(E), S = R(), B = C("div"), T = C("div"), T.innerHTML = `<img src="${Ri}"/>`, G = R(), M = C("div"), W = Q(F), Ee = R(), d = C("div"), j = C("div"), j.innerHTML = `<img src="${Li}"/>`, fe = R(), ee = C("div"), at = R(), me = C("span"), ot = R(), $ && $.c(), Ie = R(), U && U.c(), p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), p(s, "class", "RuleTxt"), p(s, "part", "RuleTxt"), p(n, "class", "RulesRow"), p(n, "part", "rule"), p(f, "class", "RuleIcon"), p(f, "part", "RuleIcon"), p(g, "class", "RuleTxt"), p(g, "part", "RuleTxt"), p(h, "class", "RulesRow"), p(h, "part", "rule"), p(T, "class", "RuleIcon"), p(T, "part", "RuleIcon"), p(M, "class", "RuleTxt"), p(M, "part", "RuleTxt"), p(B, "class", "RulesRow"), p(B, "part", "rule"), p(j, "class", "RuleIcon"), p(j, "part", "RuleIcon"), p(ee, "class", "RuleTxt"), p(ee, "part", "RuleTxt"), p(d, "class", "RulesRow"), p(d, "part", "rule"), p(me, "type", "hidden"), p(me, "href", _e = { tcurl: (
4252
4252
  /*tcurl*/
4253
4253
  e[6]
4254
4254
  ) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
4255
4255
  },
4256
4256
  m(v, D) {
4257
- Z(v, t, D), b(t, n), b(n, r), b(n, i), b(n, s), O && O.m(s, null), b(s, l), P && P.m(s, null), b(s, u), N && N.m(s, null), b(s, c), I && I.m(s, null), b(s, a), k && k.m(s, null), b(t, o), b(t, h), b(h, f), b(h, m), b(h, g), b(g, H), b(t, S), b(t, B), b(B, T), b(B, G), b(B, M), b(M, W), b(t, Ee), b(t, d), b(d, j), b(d, fe), b(d, ee), ee.innerHTML = Ce, b(t, at), b(t, me), b(t, ot), $ && $.m(t, null), b(t, ke), U && U.m(t, null), e[17](t);
4257
+ Z(v, t, D), b(t, n), b(n, r), b(n, i), b(n, s), O && O.m(s, null), b(s, l), P && P.m(s, null), b(s, u), N && N.m(s, null), b(s, c), k && k.m(s, null), b(s, a), I && I.m(s, null), b(t, o), b(t, h), b(h, f), b(h, m), b(h, g), b(g, H), b(t, S), b(t, B), b(B, T), b(B, G), b(B, M), b(M, W), b(t, Ee), b(t, d), b(d, j), b(d, fe), b(d, ee), ee.innerHTML = Ce, b(t, at), b(t, me), b(t, ot), $ && $.m(t, null), b(t, Ie), U && U.m(t, null), e[17](t);
4258
4258
  },
4259
4259
  p(v, [D]) {
4260
4260
  /*scorecriterial*/
4261
4261
  v[2] == "BetCount" ? O ? O.p(v, D) : (O = Ht(v), O.c(), O.m(s, l)) : O && (O.d(1), O = null), /*scorecriterial*/
4262
4262
  v[2] == "WinStakeRatio" ? P ? P.p(v, D) : (P = Mt(v), P.c(), P.m(s, u)) : P && (P.d(1), P = null), /*scorecriterial*/
4263
4263
  v[2] == "MaxWinStakeRatio" ? N ? N.p(v, D) : (N = Rt(v), N.c(), N.m(s, c)) : N && (N.d(1), N = null), /*minscore*/
4264
- v[7] ? I ? I.p(v, D) : (I = Lt(v), I.c(), I.m(s, a)) : I && (I.d(1), I = null), /*scorecriterial*/
4265
- v[2] == "Stake" ? k ? k.p(v, D) : (k = At(v), k.c(), k.m(s, null)) : k && (k.d(1), k = null), D & /*$_, betcount*/
4264
+ v[7] ? k ? k.p(v, D) : (k = Lt(v), k.c(), k.m(s, a)) : k && (k.d(1), k = null), /*scorecriterial*/
4265
+ v[2] == "Stake" ? I ? I.p(v, D) : (I = At(v), I.c(), I.m(s, null)) : I && (I.d(1), I = null), D & /*$_, betcount*/
4266
4266
  2056 && E !== (E = /*$_*/
4267
4267
  v[11]("miniBetCount", {
4268
4268
  values: { betCount: (
@@ -4292,18 +4292,18 @@ function Ni(e) {
4292
4292
  /*tcurl*/
4293
4293
  v[6]
4294
4294
  ) }) && p(me, "href", _e), /*casinowallet*/
4295
- v[1] ? $ ? $.p(v, D) : ($ = Ot(v), $.c(), $.m(t, ke)) : $ && ($.d(1), $ = null), /*sportswallet*/
4295
+ v[1] ? $ ? $.p(v, D) : ($ = Ot(v), $.c(), $.m(t, Ie)) : $ && ($.d(1), $ = null), /*sportswallet*/
4296
4296
  v[0] && /*sportRules*/
4297
4297
  v[9].length ? U ? U.p(v, D) : (U = Pt(v), U.c(), U.m(t, null)) : U && (U.d(1), U = null);
4298
4298
  },
4299
4299
  i: z,
4300
4300
  o: z,
4301
4301
  d(v) {
4302
- v && V(t), O && O.d(), P && P.d(), N && N.d(), I && I.d(), k && k.d(), $ && $.d(), U && U.d(), e[17](null);
4302
+ v && V(t), O && O.d(), P && P.d(), N && N.d(), k && k.d(), I && I.d(), $ && $.d(), U && U.d(), e[17](null);
4303
4303
  }
4304
4304
  };
4305
4305
  }
4306
- function Ii(e, t, n) {
4306
+ function ki(e, t, n) {
4307
4307
  let r;
4308
4308
  fn(e, Ci, (d) => n(11, r = d));
4309
4309
  let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: l } = t, { starttime: u } = t, { endtime: c } = t, { tcurl: a } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, { sportswallet: g } = t, { casinowallet: E } = t, { minscore: H } = t, S, B = [], T = "";
@@ -4366,14 +4366,14 @@ function Ii(e, t, n) {
4366
4366
  Ee
4367
4367
  ];
4368
4368
  }
4369
- class ki extends On {
4369
+ class Ii extends On {
4370
4370
  constructor(t) {
4371
4371
  super(), Ln(
4372
4372
  this,
4373
4373
  t,
4374
- Ii,
4374
+ ki,
4375
4375
  Ni,
4376
- kt,
4376
+ It,
4377
4377
  {
4378
4378
  lang: 12,
4379
4379
  scorecriterial: 2,
@@ -4471,7 +4471,7 @@ class ki extends On {
4471
4471
  this.$$set({ minscore: t }), L();
4472
4472
  }
4473
4473
  }
4474
- An(ki, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
4474
+ An(Ii, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
4475
4475
  export {
4476
- ki as C
4476
+ Ii as C
4477
4477
  };
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsThumbnailRule-CLk2qJX5.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-rule")&&customElements.define("casino-tournaments-thumbnail-rule",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsThumbnailRule-BonZ_PSC.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-rule")&&customElements.define("casino-tournaments-thumbnail-rule",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnailRule-CZG48vib.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnailRule-CO7trn6W.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-thumbnail-rule") && customElements.define("casino-tournaments-thumbnail-rule", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoTournamentsThumbnailRule-mZCCCdDu.js";
1
+ import { C as s } from "../components/CasinoTournamentsThumbnailRule-k3HDaIHn.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-thumbnail-rule",
3
- "version": "1.85.11",
3
+ "version": "1.85.13",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-thumbnail-rule.cjs",
6
6
  "module": "esnext/casino-tournaments-thumbnail-rule.js",