@everymatrix/casino-tournaments-thumbnail-controller 1.98.11 → 1.98.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.
Files changed (22) hide show
  1. package/components/{CasinoTournamentsThumbnail-D0ogCtJU.js → CasinoTournamentsThumbnail-B5Yzr7sO.js} +220 -152
  2. package/components/{CasinoTournamentsThumbnail-C5xct0_1.js → CasinoTournamentsThumbnail-BV5G8P_q.js} +221 -153
  3. package/components/{CasinoTournamentsThumbnail-CN6ZbC4d.cjs → CasinoTournamentsThumbnail-BdB0qyH1.cjs} +3 -3
  4. package/components/{CasinoTournamentsThumbnailController-DAvw0pTx.cjs → CasinoTournamentsThumbnailController-BFCzfBPH.cjs} +1 -1
  5. package/components/{CasinoTournamentsThumbnailController-CTR9Yx_Q.js → CasinoTournamentsThumbnailController-CE_wNZTJ.js} +4 -4
  6. package/components/{CasinoTournamentsThumbnailController-9aRzA1n-.js → CasinoTournamentsThumbnailController-DiQ4a78a.js} +4 -4
  7. package/components/{CasinoTournamentsThumbnailDuration-Dx6YkenJ.js → CasinoTournamentsThumbnailDuration-5gWYo6rE.js} +47 -31
  8. package/components/{CasinoTournamentsThumbnailDuration-BfU8-09l.js → CasinoTournamentsThumbnailDuration-D3PYHA9M.js} +58 -42
  9. package/components/CasinoTournamentsThumbnailDuration-s_3M0hk7.cjs +1 -0
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-BImHj2AJ.js → CasinoTournamentsThumbnailGamesSlider-C0ri8OiN.js} +7 -1
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-C73V9r9K.js → CasinoTournamentsThumbnailGamesSlider-pqMqArAd.js} +23 -17
  12. package/components/CasinoTournamentsThumbnailGamesSlider-sA1h4YDn.cjs +1 -0
  13. package/components/CasinoTournamentsThumbnailPrizes-8CFQPYa0.cjs +1 -0
  14. package/components/{CasinoTournamentsThumbnailPrizes-CAhc0WHz.js → CasinoTournamentsThumbnailPrizes-C-zdDFPz.js} +85 -75
  15. package/components/{CasinoTournamentsThumbnailPrizes-BoAZFu0y.js → CasinoTournamentsThumbnailPrizes-DHr-js9r.js} +101 -91
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoTournamentsThumbnailDuration-C0ZzG-d6.cjs +0 -1
  21. package/components/CasinoTournamentsThumbnailGamesSlider-SG_CTF5u.cjs +0 -1
  22. package/components/CasinoTournamentsThumbnailPrizes-WRldAF76.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { b as be, S as ve, i as ke, s as Ne, f as T, d as Se, n as Y, e as W, h as q, k as N, m as Te, o as Fe, F as K, G as Be, r as le, H as C, E as Z, j as v, I as Pe, q as H, l as D, g as o, J as Me, K as Ee, v as G, p as je, x as Q, u as Ae, B as He, C as Le, D as ze, c as Ce, A as De } from "./CasinoTournamentsThumbnailController-CTR9Yx_Q.js";
1
+ import { b as be, S as ve, i as ke, s as Ne, f as T, d as Se, n as Y, e as W, h as q, k as N, m as Te, o as Fe, F as K, G as Be, r as le, H as C, E as Z, j as v, I as Pe, q as A, l as D, g as o, J as Me, K as Ee, v as G, p as je, x as Q, u as ze, B as Ae, C as He, D as Le, c as Ce, A as De } from "./CasinoTournamentsThumbnailController-CE_wNZTJ.js";
2
2
  function V(e, n) {
3
3
  be(e, n);
4
4
  }
@@ -32,6 +32,12 @@ const $ = {
32
32
  },
33
33
  "en-us": {
34
34
  playNow: "Play now"
35
+ },
36
+ ru: {
37
+ playNow: "Играть сейчас"
38
+ },
39
+ az: {
40
+ playNow: "İndi oyna"
35
41
  }
36
42
  };
37
43
  function Ie(e) {
@@ -78,13 +84,13 @@ function te(e) {
78
84
  /*main_elementresize_handler*/
79
85
  e[29].bind(m)
80
86
  ), v(n, w), v(n, s), e[31](n), _ || (b = [
81
- H(
87
+ A(
82
88
  t,
83
89
  "click",
84
90
  /*click_handler*/
85
91
  e[24]
86
92
  ),
87
- H(
93
+ A(
88
94
  s,
89
95
  "click",
90
96
  /*click_handler_2*/
@@ -154,7 +160,7 @@ function ne(e) {
154
160
  }
155
161
  return {
156
162
  c() {
157
- n = N("div"), t = N("span"), m = Ae(a), w = D(), s = N("img"), i = D(), o(t, "class", d = "PlayNowButton " + /*hover*/
163
+ n = N("div"), t = N("span"), m = ze(a), w = D(), s = N("img"), i = D(), o(t, "class", d = "PlayNowButton " + /*hover*/
158
164
  (e[5] && /*hoverIndex*/
159
165
  e[6] == /*i*/
160
166
  e[51] ? "itemHover" : "")), o(t, "part", y = "PlayNowButton " + /*hover*/
@@ -167,9 +173,9 @@ function ne(e) {
167
173
  },
168
174
  m(k, g) {
169
175
  q(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
170
- H(n, "click", c),
171
- H(n, "mouseenter", P),
172
- H(
176
+ A(n, "click", c),
177
+ A(n, "mouseenter", P),
178
+ A(
173
179
  n,
174
180
  "mouseleave",
175
181
  /*mouseleave_handler*/
@@ -230,11 +236,11 @@ let Ge = 30;
230
236
  function We(e, n, t) {
231
237
  let a, m, d;
232
238
  Te(e, De, (l) => t(10, d = l));
233
- let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S, L = null, z = null, I = !1, U, M, E = 0, F;
239
+ let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S, H = null, L = null, I = !1, U, M, E = 0, F;
234
240
  const se = () => {
235
241
  fetch(b).then((p) => p.json()).then((p) => {
236
- Object.keys(p).forEach((A) => {
237
- V(A, p[A]);
242
+ Object.keys(p).forEach((z) => {
243
+ V(z, p[z]);
238
244
  });
239
245
  }).catch((p) => {
240
246
  console.log(p);
@@ -249,12 +255,12 @@ function We(e, n, t) {
249
255
  t(5, I = !1), t(6, U = -1);
250
256
  }, re = (l) => l.touches || l.originalEvent.touches, O = (l) => {
251
257
  const p = re(l)[0];
252
- L = p.clientX, z = p.clientY;
258
+ H = p.clientX, L = p.clientY;
253
259
  }, X = (l) => {
254
- if (!L || !z)
260
+ if (!H || !L)
255
261
  return;
256
- let p = l.touches[0].clientX, A = l.touches[0].clientY, B = L - p, _e = z - A;
257
- Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), L = null, z = null;
262
+ let p = l.touches[0].clientX, z = l.touches[0].clientY, B = H - p, _e = L - z;
263
+ Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), H = null, L = null;
258
264
  }, j = (l) => {
259
265
  l > 0 && !m ? (t(2, f -= k), t(2, f = f < E ? E : f)) : l < 0 && !a && (t(2, f += k), t(2, f = f > 0 ? 0 : f));
260
266
  }, R = (l) => {
@@ -318,9 +324,9 @@ function We(e, n, t) {
318
324
  8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
319
325
  524288 && b && se(), e.$$.dirty[0] & /*games*/
320
326
  2 && g.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
321
- 1048577 && h && u && He(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
322
- 2097153 && i && u && Le(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
323
- 4194305 && r && u && ze(u, `${r}.Style`, c);
327
+ 1048577 && h && u && Ae(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
328
+ 2097153 && i && u && He(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
329
+ 4194305 && r && u && Le(u, `${r}.Style`, c);
324
330
  }, t(2, f = 0), [
325
331
  u,
326
332
  g,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsThumbnailController-BFCzfBPH.cjs");function D(t,l){e.addMessages(t,l)}const I={en:{playNow:"Play now"},hr:{playNow:"Započni sada"},"zh-hk":{playNow:"现在播放"},fr:{playNow:"Joue maintenant"},ro:{playNow:"Joaca acum"},tr:{playNow:"Şimdi oyna"},el:{playNow:"Παίξε τώρα"},es:{playNow:"Jugar Ya"},pt:{playNow:"Jogue agora"},"en-us":{playNow:"Play now"},ru:{playNow:"Играть сейчас"},az:{playNow:"İndi oyna"}};function ie(t){e.append_styles(t,"svelte-xgd67c","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}")}function W(t,l,n){const i=t.slice();return i[49]=l[n],i[51]=n,i}function G(t){let l,n,i,d,m,y,_,a,w,b,h=e.ensure_array_like(t[1]),o=[];for(let s=0;s<h.length;s+=1)o[s]=O(W(t,h,s));return{c(){l=e.element("div"),n=e.element("div"),n.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',i=e.space(),d=e.element("main"),m=e.element("div");for(let s=0;s<o.length;s+=1)o[s].c();_=e.space(),a=e.element("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',e.attr(n,"class","SliderNavButton"),e.attr(n,"part","SliderNavButton"),e.toggle_class(n,"disabled",t[8]),e.attr(m,"class","items"),e.attr(m,"part","items"),e.set_style(m,"transform","translateX("+t[2]+"px)"),e.add_render_callback(()=>t[29].call(d)),e.attr(a,"class","SliderNavButton"),e.attr(a,"part","SliderNavButton"),e.toggle_class(a,"disabled",t[9]),e.attr(l,"class","TournamentsGamesSlider"),e.attr(l,"part","TournamentsGamesSlider")},m(s,u){e.insert(s,l,u),e.append(l,n),e.append(l,i),e.append(l,d),e.append(d,m);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(m,null);t[28](m),y=e.add_iframe_resize_listener(d,t[29].bind(d)),e.append(l,_),e.append(l,a),t[31](l),w||(b=[e.listen(n,"click",t[24]),e.listen(a,"click",t[30])],w=!0)},p(s,u){if(u[0]&256&&e.toggle_class(n,"disabled",s[8]),u[0]&23650){h=e.ensure_array_like(s[1]);let c;for(c=0;c<h.length;c+=1){const T=W(s,h,c);o[c]?o[c].p(T,u):(o[c]=O(T),o[c].c(),o[c].m(m,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=h.length}u[0]&4&&e.set_style(m,"transform","translateX("+s[2]+"px)"),u[0]&512&&e.toggle_class(a,"disabled",s[9])},d(s){s&&e.detach(l),e.destroy_each(o,s),t[28](null),y(),t[31](null),w=!1,e.run_all(b)}}}function O(t){let l,n,i=t[10]("playNow")+"",d,m,y,_,a,w,b,h,o,s,u;function c(){return t[25](t[49])}function T(){return t[26](t[51])}return{c(){l=e.element("div"),n=e.element("span"),d=e.text(i),_=e.space(),a=e.element("img"),o=e.space(),e.attr(n,"class",m="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":"")),e.attr(n,"part",y="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":"")),e.src_url_equal(a.src,w=t[49].thumbnail)||e.attr(a,"src",w),e.attr(a,"width","132px"),e.attr(a,"height","100px"),e.attr(a,"alt",b=t[49].name),e.attr(a,"title",h=t[49].name),e.attr(l,"class","item"),e.attr(l,"part","item")},m(v,g){e.insert(v,l,g),e.append(l,n),e.append(n,d),e.append(l,_),e.append(l,a),e.append(l,o),s||(u=[e.listen(l,"click",c),e.listen(l,"mouseenter",T),e.listen(l,"mouseleave",t[27])],s=!0)},p(v,g){t=v,g[0]&1024&&i!==(i=t[10]("playNow")+"")&&e.set_data(d,i),g[0]&96&&m!==(m="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":""))&&e.attr(n,"class",m),g[0]&96&&y!==(y="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":""))&&e.attr(n,"part",y),g[0]&2&&!e.src_url_equal(a.src,w=t[49].thumbnail)&&e.attr(a,"src",w),g[0]&2&&b!==(b=t[49].name)&&e.attr(a,"alt",b),g[0]&2&&h!==(h=t[49].name)&&e.attr(a,"title",h)},d(v){v&&e.detach(l),s=!1,e.run_all(u)}}}function oe(t){let l,n=t[1]&&t[1].length>0&&G(t);return{c(){l=e.element("div"),n&&n.c()},m(i,d){e.insert(i,l,d),n&&n.m(l,null),t[32](l)},p(i,d){i[1]&&i[1].length>0?n?n.p(i,d):(n=G(i),n.c(),n.m(l,null)):n&&(n.d(1),n=null)},i:e.noop,o:e.noop,d(i){i&&e.detach(l),n&&n.d(),t[32](null)}}}let ce=30;function ue(t,l,n){let i,d,m;e.component_subscribe(t,e.$format,r=>n(10,m=r));let{tournamenturl:y=""}=l,{scrollby:_="3"}=l,{pagfactor:a="175"}=l,{lang:w=""}=l,{translationurl:b=""}=l,{clientstyling:h=""}=l,{clientstylingurl:o=""}=l,{mbsource:s}=l,u,c,T=window.navigator.userAgent,v,g=[],f=0,k,E=null,j=null,z=!1,C,P,F=0,N;const J=()=>{fetch(b).then(p=>p.json()).then(p=>{Object.keys(p).forEach(B=>{D(B,p[B])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(r=>{D(r,I[r])});const L=r=>{n(5,z=!0),n(6,C=r)},A=()=>{n(5,z=!1),n(6,C=-1)},R=r=>r.touches||r.originalEvent.touches,H=r=>{const p=R(r)[0];E=p.clientX,j=p.clientY},U=r=>{if(!E||!j)return;let p=r.touches[0].clientX,B=r.touches[0].clientY,S=E-p,se=j-B;Math.abs(S)>Math.abs(se)&&(S>0?M(1):M(-1)),E=null,j=null},M=r=>{r>0&&!d?(n(2,f-=v),n(2,f=f<F?F:f)):r<0&&!i&&(n(2,f+=v),n(2,f=f>0?0:f))},q=r=>{window.postMessage({type:"TournamentGameAction",gameId:r.id,name:r.name,launchUrl:r.launchUrl},window.location.href)},x=()=>{let r=new URL(y),p=new Headers;r.searchParams.append("expand","games"),r.searchParams.append("pagination",`games(limit=${ce},offset=${f})`),r.searchParams.append("fields","games(id,name,thumbnail,launchUrl)"),r.searchParams.append("language",w),r.searchParams.append("platform",e.getDevice(T)),fetch(r,{method:"GET",headers:p}).then(S=>S.json()).then(S=>{n(1,g=S.item.games.items),S.item.games.total})},Y=()=>{k.addEventListener("touchstart",H,{passive:!0}),k.addEventListener("touchmove",U,{passive:!0})},Z=()=>{setTimeout(()=>{n(23,F=(P.scrollWidth-P.clientWidth)*-1),n(16,a=new String(P.scrollWidth/g.length)),v=parseInt(_,10)*parseFloat(a,2).toFixed(2)},1e3)},K=()=>{N>0&&N<Math.floor((parseInt(_)+1)*a)&&n(15,_=Math.ceil(N/a).toString())};e.onMount(()=>(v=parseInt(_,10)*parseInt(a,10),()=>{k.removeEventListener("touchstart",H),k.removeEventListener("touchmove",U)}));const Q=()=>M(-1),V=r=>q(r),$=r=>L(r),ee=()=>A();function te(r){e.binding_callbacks[r?"unshift":"push"](()=>{P=r,n(7,P)})}function ne(){N=this.clientWidth,n(4,N)}const le=()=>M(1);function re(r){e.binding_callbacks[r?"unshift":"push"](()=>{k=r,n(3,k)})}function ae(r){e.binding_callbacks[r?"unshift":"push"](()=>{u=r,n(0,u)})}return t.$$set=r=>{"tournamenturl"in r&&n(17,y=r.tournamenturl),"scrollby"in r&&n(15,_=r.scrollby),"pagfactor"in r&&n(16,a=r.pagfactor),"lang"in r&&n(18,w=r.lang),"translationurl"in r&&n(19,b=r.translationurl),"clientstyling"in r&&n(20,h=r.clientstyling),"clientstylingurl"in r&&n(21,o=r.clientstylingurl),"mbsource"in r&&n(22,s=r.mbsource)},t.$$.update=()=>{t.$$.dirty[0]&4&&n(8,i=f===0),t.$$.dirty[0]&8388612&&n(9,d=f<=F),t.$$.dirty[0]&16&&N&&K(),t.$$.dirty[0]&131072&&y&&x(),t.$$.dirty[0]&8&&k&&Y(),t.$$.dirty[0]&524288&&b&&J(),t.$$.dirty[0]&2&&g.length&&Z(),t.$$.dirty[0]&1048577&&h&&u&&e.setClientStyling(u,h),t.$$.dirty[0]&2097153&&o&&u&&e.setClientStylingURL(u,o),t.$$.dirty[0]&4194305&&s&&u&&e.setStreamStyling(u,`${s}.Style`,c)},n(2,f=0),[u,g,f,k,N,z,C,P,i,d,m,L,A,M,q,_,a,y,w,b,h,o,s,F,Q,V,$,ee,te,ne,le,re,ae]}class X extends e.SvelteComponent{constructor(l){super(),e.init(this,l,ue,oe,e.safe_not_equal,{tournamenturl:17,scrollby:15,pagfactor:16,lang:18,translationurl:19,clientstyling:20,clientstylingurl:21,mbsource:22},ie,[-1,-1])}get tournamenturl(){return this.$$.ctx[17]}set tournamenturl(l){this.$$set({tournamenturl:l}),e.flush()}get scrollby(){return this.$$.ctx[15]}set scrollby(l){this.$$set({scrollby:l}),e.flush()}get pagfactor(){return this.$$.ctx[16]}set pagfactor(l){this.$$set({pagfactor:l}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(l){this.$$set({lang:l}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(l){this.$$set({translationurl:l}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(l){this.$$set({clientstyling:l}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(l){this.$$set({clientstylingurl:l}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(l){this.$$set({mbsource:l}),e.flush()}}e.create_custom_element(X,{tournamenturl:{},scrollby:{},pagfactor:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=X;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsThumbnailController-BFCzfBPH.cjs");function _(l,t){e.addMessages(l,t)}const P={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"Sıra"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"},ru:{prizes:"Призы",noprizes:"Нет доступных призов",place:"место"},az:{prizes:"Mükafatlar",noprizes:"Mövcud mükafat yoxdur",place:"yer"}};function S(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function b(l,t,n){const r=l.slice();return r[12]=t[n],r[14]=n,r}function v(l){let t,n=e.ensure_array_like(l[1]),r=[];for(let i=0;i<n.length;i+=1)r[i]=w(b(l,n,i));let a=null;return n.length||(a=T(l)),{c(){t=e.element("div");for(let i=0;i<r.length;i+=1)r[i].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(i,c){e.insert(i,t,c);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null);a&&a.m(t,null)},p(i,c){if(c&6){n=e.ensure_array_like(i[1]);let s;for(s=0;s<n.length;s+=1){const d=b(i,n,s);r[s]?r[s].p(d,c):(r[s]=w(d),r[s].c(),r[s].m(t,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length,!n.length&&a?a.p(i,c):n.length?a&&(a.d(1),a=null):(a=T(i),a.c(),a.m(t,null))}},d(i){i&&e.detach(t),e.destroy_each(r,i),a&&a.d()}}}function T(l){let t,n=l[2]("noprizes")+"",r;return{c(){t=e.element("p"),r=e.text(n)},m(a,i){e.insert(a,t,i),e.append(t,r)},p(a,i){i&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(r,n)},d(a){a&&e.detach(t)}}}function w(l){let t,n,r,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",i,c,s=l[2]("place")+"",d,o,u=l[12].name+"",f,g;return{c(){t=e.element("div"),n=e.element("p"),r=e.element("span"),i=e.text(a),c=e.space(),d=e.text(s),o=e.text(": "),f=e.text(u),g=e.space(),e.attr(r,"class","PrizeRank"),e.attr(r,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,h){e.insert(m,t,h),e.append(t,n),e.append(n,r),e.append(r,i),e.append(n,c),e.append(n,d),e.append(n,o),e.append(n,f),e.append(t,g)},p(m,h){h&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(i,a),h&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),h&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function F(l){let t,n,r,a,i,c=l[2]("prizes")+"",s,d,o=l[1]&&v(l);return{c(){t=e.element("div"),n=e.element("div"),r=e.element("span"),r.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),i=e.element("p"),s=e.text(c),d=e.space(),o&&o.c(),e.attr(r,"class","TournamentPrizesIconWrapper"),e.attr(r,"part","TournamentPrizesIconWrapper"),e.attr(i,"class","PrizesTitle"),e.attr(i,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,r),e.append(n,a),e.append(n,i),e.append(i,s),e.append(t,d),o&&o.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?o?o.p(u,f):(o=v(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),o&&o.d(),l[8](null)}}}function M(l,t,n){let r;e.component_subscribe(l,e.$format,p=>n(2,r=p));let{tourid:a=""}=t,{clientstyling:i=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,o,u,f;const g=()=>{fetch(s).then(z=>z.json()).then(z=>{Object.keys(z).forEach(y=>{_(y,z[y])})}).catch(z=>{console.log(z)})};Object.keys(P).forEach(p=>{_(p,P[p])});const m=p=>{p.data&&p.data.type==`TournamentPrizes_${a}`&&n(1,f=p.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));function h(p){e.binding_callbacks[p?"unshift":"push"](()=>{o=p,n(0,o)})}return l.$$set=p=>{"tourid"in p&&n(3,a=p.tourid),"clientstyling"in p&&n(4,i=p.clientstyling),"clientstylingurl"in p&&n(5,c=p.clientstylingurl),"translationurl"in p&&n(6,s=p.translationurl),"mbsource"in p&&n(7,d=p.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&i&&o&&e.setClientStyling(o,i),l.$$.dirty&33&&c&&o&&e.setClientStylingURL(o,c),l.$$.dirty&129&&d&&o&&e.setStreamStyling(o,`${d}.Style`,u),l.$$.dirty&64&&s&&g()},[o,f,r,a,i,c,s,d,h]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,M,F,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},S)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(k,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=k;
@@ -1,6 +1,6 @@
1
- import { b as L, S as Z, i as j, s as B, f as _, c as I, n as F, d as T, m as b, g as k, h as d, j as g, k as w, t as P, e as u, l as R, o as O, F as N, G as D, u as U, z as V, A as W, B as q, C as G, D as J } from "./CasinoTournamentsThumbnailController-9aRzA1n-.js";
2
- function M(l, e) {
3
- L(l, e);
1
+ import { b as L, S as Z, i as j, s as B, f as _, d as I, n as F, e as k, p as b, h as T, j as d, k as g, l as w, u as P, g as p, m as R, o as O, F as M, G as D, v as U, B as V, C as W, D as q, c as G, A as J } from "./CasinoTournamentsThumbnailController-CE_wNZTJ.js";
2
+ function N(r, e) {
3
+ L(r, e);
4
4
  }
5
5
  const H = {
6
6
  en: {
@@ -57,69 +57,79 @@ const H = {
57
57
  prizes: "Prizes",
58
58
  noprizes: "No available prizes",
59
59
  place: "place"
60
+ },
61
+ ru: {
62
+ prizes: "Призы",
63
+ noprizes: "Нет доступных призов",
64
+ place: "место"
65
+ },
66
+ az: {
67
+ prizes: "Mükafatlar",
68
+ noprizes: "Mövcud mükafat yoxdur",
69
+ place: "yer"
60
70
  }
61
71
  };
62
- function K(l) {
63
- I(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
72
+ function K(r) {
73
+ I(r, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
64
74
  }
65
- function A(l, e, t) {
66
- const i = l.slice();
75
+ function x(r, e, t) {
76
+ const i = r.slice();
67
77
  return i[12] = e[t], i[14] = t, i;
68
78
  }
69
- function E(l) {
70
- let e, t = N(
79
+ function A(r) {
80
+ let e, t = M(
71
81
  /*prizes*/
72
- l[1]
82
+ r[1]
73
83
  ), i = [];
74
84
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = C(A(l, t, n));
85
+ i[n] = C(x(r, t, n));
76
86
  let s = null;
77
- return t.length || (s = x(l)), {
87
+ return t.length || (s = E(r)), {
78
88
  c() {
79
89
  e = g("div");
80
90
  for (let n = 0; n < i.length; n += 1)
81
91
  i[n].c();
82
- s && s.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
92
+ s && s.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
93
  },
84
94
  m(n, c) {
85
- k(n, e, c);
86
- for (let r = 0; r < i.length; r += 1)
87
- i[r] && i[r].m(e, null);
95
+ T(n, e, c);
96
+ for (let l = 0; l < i.length; l += 1)
97
+ i[l] && i[l].m(e, null);
88
98
  s && s.m(e, null);
89
99
  },
90
100
  p(n, c) {
91
101
  if (c & /*prizes, $_*/
92
102
  6) {
93
- t = N(
103
+ t = M(
94
104
  /*prizes*/
95
105
  n[1]
96
106
  );
97
- let r;
98
- for (r = 0; r < t.length; r += 1) {
99
- const f = A(n, t, r);
100
- i[r] ? i[r].p(f, c) : (i[r] = C(f), i[r].c(), i[r].m(e, null));
107
+ let l;
108
+ for (l = 0; l < t.length; l += 1) {
109
+ const f = x(n, t, l);
110
+ i[l] ? i[l].p(f, c) : (i[l] = C(f), i[l].c(), i[l].m(e, null));
101
111
  }
102
- for (; r < i.length; r += 1)
103
- i[r].d(1);
104
- i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = x(n), s.c(), s.m(e, null));
112
+ for (; l < i.length; l += 1)
113
+ i[l].d(1);
114
+ i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = E(n), s.c(), s.m(e, null));
105
115
  }
106
116
  },
107
117
  d(n) {
108
- n && T(e), D(i, n), s && s.d();
118
+ n && k(e), D(i, n), s && s.d();
109
119
  }
110
120
  };
111
121
  }
112
- function x(l) {
122
+ function E(r) {
113
123
  let e, t = (
114
124
  /*$_*/
115
- l[2]("noprizes") + ""
125
+ r[2]("noprizes") + ""
116
126
  ), i;
117
127
  return {
118
128
  c() {
119
129
  e = g("p"), i = P(t);
120
130
  },
121
131
  m(s, n) {
122
- k(s, e, n), d(e, i);
132
+ T(s, e, n), d(e, i);
123
133
  },
124
134
  p(s, n) {
125
135
  n & /*$_*/
@@ -127,35 +137,35 @@ function x(l) {
127
137
  s[2]("noprizes") + "") && b(i, t);
128
138
  },
129
139
  d(s) {
130
- s && T(e);
140
+ s && k(e);
131
141
  }
132
142
  };
133
143
  }
134
- function C(l) {
144
+ function C(r) {
135
145
  let e, t, i, s = (
136
146
  /*prize*/
137
- (l[12].count > 1 ? `${/*prize*/
138
- l[12].rank}~${/*prize*/
139
- l[12].rank + /*prize*/
140
- l[12].count - 1}` : (
147
+ (r[12].count > 1 ? `${/*prize*/
148
+ r[12].rank}~${/*prize*/
149
+ r[12].rank + /*prize*/
150
+ r[12].count - 1}` : (
141
151
  /*prize*/
142
- l[12].rank
152
+ r[12].rank
143
153
  )) + ""
144
- ), n, c, r = (
154
+ ), n, c, l = (
145
155
  /*$_*/
146
- l[2]("place") + ""
147
- ), f, a, p = (
156
+ r[2]("place") + ""
157
+ ), f, a, u = (
148
158
  /*prize*/
149
- l[12].name + ""
159
+ r[12].name + ""
150
160
  ), m, v;
151
161
  return {
152
162
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(r), a = P(": "), m = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
- l[14]), u(e, "part", "Prize Prize" + /*index*/
155
- l[14]);
163
+ e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(l), a = P(": "), m = P(u), v = w(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
164
+ r[14]), p(e, "part", "Prize Prize" + /*index*/
165
+ r[14]);
156
166
  },
157
167
  m(z, h) {
158
- k(z, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, m), d(e, v);
168
+ T(z, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, m), d(e, v);
159
169
  },
160
170
  p(z, h) {
161
171
  h & /*prizes*/
@@ -167,59 +177,59 @@ function C(l) {
167
177
  /*prize*/
168
178
  z[12].rank
169
179
  )) + "") && b(n, s), h & /*$_*/
170
- 4 && r !== (r = /*$_*/
171
- z[2]("place") + "") && b(f, r), h & /*prizes*/
172
- 2 && p !== (p = /*prize*/
173
- z[12].name + "") && b(m, p);
180
+ 4 && l !== (l = /*$_*/
181
+ z[2]("place") + "") && b(f, l), h & /*prizes*/
182
+ 2 && u !== (u = /*prize*/
183
+ z[12].name + "") && b(m, u);
174
184
  },
175
185
  d(z) {
176
- z && T(e);
186
+ z && k(e);
177
187
  }
178
188
  };
179
189
  }
180
- function Q(l) {
190
+ function Q(r) {
181
191
  let e, t, i, s, n, c = (
182
192
  /*$_*/
183
- l[2]("prizes") + ""
184
- ), r, f, a = (
193
+ r[2]("prizes") + ""
194
+ ), l, f, a = (
185
195
  /*prizes*/
186
- l[1] && E(l)
196
+ r[1] && A(r)
187
197
  );
188
198
  return {
189
199
  c() {
190
- e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', s = w(), n = g("p"), r = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
200
+ e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', s = w(), n = g("p"), l = P(c), f = w(), a && a.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
191
201
  },
192
- m(p, m) {
193
- k(p, e, m), d(e, t), d(t, i), d(t, s), d(t, n), d(n, r), d(e, f), a && a.m(e, null), l[8](e);
202
+ m(u, m) {
203
+ T(u, e, m), d(e, t), d(t, i), d(t, s), d(t, n), d(n, l), d(e, f), a && a.m(e, null), r[8](e);
194
204
  },
195
- p(p, [m]) {
205
+ p(u, [m]) {
196
206
  m & /*$_*/
197
207
  4 && c !== (c = /*$_*/
198
- p[2]("prizes") + "") && b(r, c), /*prizes*/
199
- p[1] ? a ? a.p(p, m) : (a = E(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
208
+ u[2]("prizes") + "") && b(l, c), /*prizes*/
209
+ u[1] ? a ? a.p(u, m) : (a = A(u), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
200
210
  },
201
211
  i: F,
202
212
  o: F,
203
- d(p) {
204
- p && T(e), a && a.d(), l[8](null);
213
+ d(u) {
214
+ u && k(e), a && a.d(), r[8](null);
205
215
  }
206
216
  };
207
217
  }
208
- function X(l, e, t) {
218
+ function X(r, e, t) {
209
219
  let i;
210
- R(l, J, (o) => t(2, i = o));
211
- let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: r = "" } = e, { mbsource: f } = e, a, p, m;
220
+ R(r, J, (o) => t(2, i = o));
221
+ let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: l = "" } = e, { mbsource: f } = e, a, u, m;
212
222
  const v = () => {
213
- fetch(r).then((y) => y.json()).then((y) => {
223
+ fetch(l).then((y) => y.json()).then((y) => {
214
224
  Object.keys(y).forEach((S) => {
215
- M(S, y[S]);
225
+ N(S, y[S]);
216
226
  });
217
227
  }).catch((y) => {
218
228
  console.log(y);
219
229
  });
220
230
  };
221
231
  Object.keys(H).forEach((o) => {
222
- M(o, H[o]);
232
+ N(o, H[o]);
223
233
  });
224
234
  const z = (o) => {
225
235
  o.data && o.data.type == `TournamentPrizes_${s}` && t(1, m = o.data.prizes);
@@ -232,14 +242,14 @@ function X(l, e, t) {
232
242
  a = o, t(0, a);
233
243
  });
234
244
  }
235
- return l.$$set = (o) => {
236
- "tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, r = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
237
- }, l.$$.update = () => {
238
- l.$$.dirty & /*clientstyling, customStylingContainer*/
239
- 17 && n && a && V(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && a && W(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && a && q(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
242
- 64 && r && v();
245
+ return r.$$set = (o) => {
246
+ "tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, l = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
247
+ }, r.$$.update = () => {
248
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
249
+ 17 && n && a && V(a, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
250
+ 33 && c && a && W(a, c), r.$$.dirty & /*mbsource, customStylingContainer*/
251
+ 129 && f && a && q(a, `${f}.Style`, u), r.$$.dirty & /*translationurl*/
252
+ 64 && l && v();
243
253
  }, [
244
254
  a,
245
255
  m,
@@ -247,7 +257,7 @@ function X(l, e, t) {
247
257
  s,
248
258
  n,
249
259
  c,
250
- r,
260
+ l,
251
261
  f,
252
262
  h
253
263
  ];