@everymatrix/tournament-details-page 0.0.8 → 0.0.9
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/{TournamentDetailsPage-B5bbvugX.js → TournamentDetailsPage-0JKgpPb4.js} +125 -125
- package/components/{TournamentDetailsPage-DrDTbkUX.cjs → TournamentDetailsPage-CNDHXiDn.cjs} +6 -6
- package/components/{TournamentDetailsPage-CjBmguAV.js → TournamentDetailsPage-D-pwFR-w.js} +44 -44
- package/components/TournamentGames-COHWeopg.js +377 -0
- package/components/TournamentGames-DLS2XJfo.js +403 -0
- package/components/TournamentGames-DO485kHn.cjs +27 -0
- package/components/{TournamentLeaderboard-xrrrpKix.cjs → TournamentLeaderboard-BnP-SIlN.cjs} +1 -1
- package/components/{TournamentLeaderboard-Cvo-K1Xv.js → TournamentLeaderboard-Dnpxq0_A.js} +1 -1
- package/components/{TournamentLeaderboard-Bdrmjyzv.js → TournamentLeaderboard-ivZpO_TZ.js} +1 -1
- package/es2015/tournament-details-page.cjs +1 -1
- package/es2015/tournament-details-page.js +1 -1
- package/esnext/tournament-details-page.js +1 -1
- package/package.json +1 -1
- package/components/TournamentGames-CATtl7ab.js +0 -377
- package/components/TournamentGames-CXKhYSVz.js +0 -405
- package/components/TournamentGames-Dz1Ddedp.cjs +0 -27
package/components/{TournamentDetailsPage-DrDTbkUX.cjs → TournamentDetailsPage-CNDHXiDn.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ve=(r,n,t)=>new Promise((i,o)=>{var s=c=>{try{l(t.next(c))}catch(h){o(h)}},a=c=>{try{l(t.throw(c))}catch(h){o(h)}},l=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);l((t=t.apply(r,n)).next())});const e=require("./TournamentDetails-nG7lN2NT.cjs");function jt({withLocale:r,translations:n}){e.$locale.subscribe(t=>{t==null&&(e.$dictionary.set(n),e.$locale.set(r))})}function
|
|
1
|
+
"use strict";var Ve=(r,n,t)=>new Promise((i,o)=>{var s=c=>{try{l(t.next(c))}catch(h){o(h)}},a=c=>{try{l(t.throw(c))}catch(h){o(h)}},l=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);l((t=t.apply(r,n)).next())});const e=require("./TournamentDetails-nG7lN2NT.cjs");function jt({withLocale:r,translations:n}){e.$locale.subscribe(t=>{t==null&&(e.$dictionary.set(n),e.$locale.set(r))})}function De(r,n){e.addMessages(r,n)}function ze(r){e.$locale.set(r)}const Ze={en:{totalPrizes:"Total prizes",viewPrizes:"View Prizes",moreGames:"More Games",play:"Play",joinButton:"Join",rules:"Rules",scoreCriteriaType:{stake:"The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",mostRounds:"The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",winStakeRatio:`The score criteria for this tournament is <b>Win/Stake Ratio</b>. The score will be calculated
|
|
2
2
|
as a sum of win/stake ratios for qualified rounds and bets.
|
|
3
3
|
The player who got the highest score will win the tournament.`,winStakeRatioWinMinScore:`<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
4
4
|
<span class="Desc">Player will not get score if Win/Stake Ratio in each rounds are lower than defined
|
|
@@ -25,15 +25,15 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
25
25
|
PERFORMANCE OF THIS SOFTWARE.
|
|
26
26
|
***************************************************************************** */var Ce=function(r,n){return Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])},Ce(r,n)};function ee(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Ce(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function we(r){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&r[n],i=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function xe(r,n){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var i=t.call(r),o,s=[],a;try{for(;(n===void 0||n-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(a)throw a.error}}return s}function Se(r,n,t){if(arguments.length===2)for(var i=0,o=n.length,s;i<o;i++)(s||!(i in n))&&(s||(s=Array.prototype.slice.call(n,0,i)),s[i]=n[i]);return r.concat(s||n)}function E(r){return typeof r=="function"}function Ke(r){var n=function(i){Error.call(i),i.stack=new Error().stack},t=r(n);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var _e=Ke(function(r){return function(t){r(this),this.message=t?t.length+` errors occurred during unsubscription:
|
|
27
27
|
`+t.map(function(i,o){return o+1+") "+i.toString()}).join(`
|
|
28
|
-
`):"",this.name="UnsubscriptionError",this.errors=t}});function ke(r,n){if(r){var t=r.indexOf(n);0<=t&&r.splice(t,1)}}var ae=function(){function r(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var n,t,i,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=we(a),c=l.next();!c.done;c=l.next()){var h=c.value;h.remove(this)}}catch(g){n={error:g}}finally{try{c&&!c.done&&(t=l.return)&&t.call(l)}finally{if(n)throw n.error}}else a.remove(this);var y=this.initialTeardown;if(E(y))try{y()}catch(g){s=g instanceof _e?g.errors:[g]}var w=this._finalizers;if(w){this._finalizers=null;try{for(var _=we(w),M=_.next();!M.done;M=_.next()){var F=M.value;try{Ue(F)}catch(g){s=s!=null?s:[],g instanceof _e?s=Se(Se([],xe(s)),xe(g.errors)):s.push(g)}}}catch(g){i={error:g}}finally{try{M&&!M.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}}if(s)throw new _e(s)}},r.prototype.add=function(n){var t;if(n&&n!==this)if(this.closed)Ue(n);else{if(n instanceof r){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}},r.prototype._hasParent=function(n){var t=this._parentage;return t===n||Array.isArray(t)&&t.includes(n)},r.prototype._addParent=function(n){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n},r.prototype._removeParent=function(n){var t=this._parentage;t===n?this._parentage=null:Array.isArray(t)&&ke(t,n)},r.prototype.remove=function(n){var t=this._finalizers;t&&ke(t,n),n instanceof r&&n._removeParent(this)},r.EMPTY=function(){var n=new r;return n.closed=!0,n}(),r}(),Qe=ae.EMPTY;function et(r){return r instanceof ae||r&&"closed"in r&&E(r.remove)&&E(r.add)&&E(r.unsubscribe)}function Ue(r){E(r)?r():r.unsubscribe()}var $t={Promise:void 0},Ht={setTimeout:function(r,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setTimeout.apply(void 0,Se([r,n],xe(t)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function At(r){Ht.setTimeout(function(){throw r})}function Fe(){}function se(r){r()}var tt=function(r){ee(n,r);function n(t){var i=r.call(this)||this;return i.isStopped=!1,t?(i.destination=t,et(t)&&t.add(i)):i.destination=Dt,i}return n.create=function(t,i,o){return new Te(t,i,o)},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(ae),Vt=function(){function r(n){this.partialObserver=n}return r.prototype.next=function(n){var t=this.partialObserver;if(t.next)try{t.next(n)}catch(i){oe(i)}},r.prototype.error=function(n){var t=this.partialObserver;if(t.error)try{t.error(n)}catch(i){oe(i)}else oe(n)},r.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(t){oe(t)}},r}(),Te=function(r){ee(n,r);function n(t,i,o){var s=r.call(this)||this,a;return E(t)||!t?a={next:t!=null?t:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0}:a=t,s.destination=new Vt(a),s}return n}(tt);function oe(r){At(r)}function Zt(r){throw r}var Dt={closed:!0,next:Fe,error:Zt,complete:Fe},zt=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ut(r){return r}function Ft(r){return r.length===0?Ut:r.length===1?r[0]:function(t){return r.reduce(function(i,o){return o(i)},t)}}var We=function(){function r(n){n&&(this._subscribe=n)}return r.prototype.lift=function(n){var t=new r;return t.source=this,t.operator=n,t},r.prototype.subscribe=function(n,t,i){var o=this,s=Gt(n)?n:new Te(n,t,i);return se(function(){var a=o,l=a.operator,c=a.source;s.add(l?l.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},r.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(t){n.error(t)}},r.prototype.forEach=function(n,t){var i=this;return t=Ge(t),new t(function(o,s){var a=new Te({next:function(l){try{n(l)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(n){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(n)},r.prototype[zt]=function(){return this},r.prototype.pipe=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return Ft(n)(this)},r.prototype.toPromise=function(n){var t=this;return n=Ge(n),new n(function(i,o){var s;t.subscribe(function(a){return s=a},function(a){return o(a)},function(){return i(s)})})},r.create=function(n){return new r(n)},r}();function Ge(r){var n;return(n=r!=null?r:$t.Promise)!==null&&n!==void 0?n:Promise}function Wt(r){return r&&E(r.next)&&E(r.error)&&E(r.complete)}function Gt(r){return r&&r instanceof tt||Wt(r)&&et(r)}var qt=Ke(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),nt=function(r){ee(n,r);function n(){var t=r.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n.prototype.lift=function(t){var i=new qe(this,this);return i.operator=t,i},n.prototype._throwIfClosed=function(){if(this.closed)throw new qt},n.prototype.next=function(t){var i=this;se(function(){var o,s;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=we(i.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(t)}}catch(h){o={error:h}}finally{try{l&&!l.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},n.prototype.error=function(t){var i=this;se(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var o=i.observers;o.length;)o.shift().error(t)}})},n.prototype.complete=function(){var t=this;se(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(t){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,t)},n.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},n.prototype._innerSubscribe=function(t){var i=this,o=this,s=o.hasError,a=o.isStopped,l=o.observers;return s||a?Qe:(this.currentObservers=null,l.push(t),new ae(function(){i.currentObservers=null,ke(l,t)}))},n.prototype._checkFinalizedStatuses=function(t){var i=this,o=i.hasError,s=i.thrownError,a=i.isStopped;o?t.error(s):a&&t.complete()},n.prototype.asObservable=function(){var t=new We;return t.source=this,t},n.create=function(t,i){return new qe(t,i)},n}(We),qe=function(r){ee(n,r);function n(t,i){var o=r.call(this)||this;return o.destination=t,o.source=i,o}return n.prototype.next=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,t)},n.prototype.error=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,t)},n.prototype.complete=function(){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||i===void 0||i.call(t)},n.prototype._subscribe=function(t){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(t))!==null&&o!==void 0?o:Qe},n}(nt),rt={now:function(){return(rt.delegate||Date).now()},delegate:void 0},Nt=function(r){ee(n,r);function n(t,i,o){t===void 0&&(t=1/0),i===void 0&&(i=1/0),o===void 0&&(o=rt);var s=r.call(this)||this;return s._bufferSize=t,s._windowTime=i,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=i===1/0,s._bufferSize=Math.max(1,t),s._windowTime=Math.max(1,i),s}return n.prototype.next=function(t){var i=this,o=i.isStopped,s=i._buffer,a=i._infiniteTimeWindow,l=i._timestampProvider,c=i._windowTime;o||(s.push(t),!a&&s.push(l.now()+c)),this._trimBuffer(),r.prototype.next.call(this,t)},n.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(t),o=this,s=o._infiniteTimeWindow,a=o._buffer,l=a.slice(),c=0;c<l.length&&!t.closed;c+=s?1:2)t.next(l[c]);return this._checkFinalizedStatuses(t),i},n.prototype._trimBuffer=function(){var t=this,i=t._bufferSize,o=t._timestampProvider,s=t._buffer,a=t._infiniteTimeWindow,l=(a?1:2)*i;if(i<1/0&&l<s.length&&s.splice(0,s.length-l),!a){for(var c=o.now(),h=0,y=1;y<s.length&&s[y]<=c;y+=2)h=y;h&&s.splice(0,h+1)}},n}(nt);const Ne=[],Xe={},Xt=(r,n=0)=>{if(Ne.indexOf(r)==-1){const t=new Nt(n);Xe[r]=t,Ne.push(r)}return Xe[r]};window.emWidgets={topic:Xt};const it=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;e.dayjs.extend(e.customParseFormat);const Ye=r=>e.dayjs(r).format("MMMM D, HH:mm"),Yt=()=>typeof window=="undefined";class Je{constructor(){}static processMinMax(n,t){return{minValue:n?`: ${n}`:null,maxValue:t?`: ${t}`:null}}static generateCasinoRule(n,t){var l,c;const i=` ~ ${n("unlimited")}`,o=t.currency||"EUR",s=(l=t.minStake)!=null&&l.amount[o]?`: ${t.minStake.amount[o]} ${o}`:i,a=(c=t.maxStake)!=null&&c.amount[o]?`: ${t.maxStake.amount[o]} ${o}`:i;return n("casinoRuleMinMaxBet",{values:{minBet:s,maxBet:a}})}static generateSportsRule(n,t){var j,G,q,B,L,Z,N,P,ne,re;const i=[],o=` ~ ${n("unlimited")}`,s=t.currency||"EUR",a=(j=t.minStake)!=null&&j.amount[s]?`: ${t.minStake.amount[s]} ${s}`:o,l=(G=t.maxStake)!=null&&G.amount[s]?`: ${t.maxStake.amount[s]} ${s}`:o;i.push(n("sportsRuleMinMaxBet",{values:{sportMinBet:a,sportMaxBet:l}}));const c=t.config.liveMatch==="true",h=t.config.preLiveMatch==="true";c&&h?i.push(n("matchTypePreAndLive")):c?i.push(`${n("matchTypeLive")}`):h&&i.push(`${n("matchTyppePre")}`);const y=t.combination,w=[];y.single.isEligible&&w.push(n("betTypeSingle"));const M={null:n("typeOfSelectionAny"),true:n("bankerOnly"),false:n("nonBankerOnly")},F={unspecific:n("typeOfSelectionAny"),all:n("betBuilderOnly"),none:n("notBuilderOnly")};let g="",m="";const H=`${n("oddsPerSelection")}: ${t.config.minOdds||n("unlimited")} - ${t.config.maxOdds||n("unlimited")}`,A=y.system.isEligible,V=y.multiple.isEligible;A&&(g=` ${n("betTypeSystem")}
|
|
28
|
+
`):"",this.name="UnsubscriptionError",this.errors=t}});function ke(r,n){if(r){var t=r.indexOf(n);0<=t&&r.splice(t,1)}}var ae=function(){function r(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var n,t,i,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=we(a),c=l.next();!c.done;c=l.next()){var h=c.value;h.remove(this)}}catch(g){n={error:g}}finally{try{c&&!c.done&&(t=l.return)&&t.call(l)}finally{if(n)throw n.error}}else a.remove(this);var y=this.initialTeardown;if(E(y))try{y()}catch(g){s=g instanceof _e?g.errors:[g]}var w=this._finalizers;if(w){this._finalizers=null;try{for(var _=we(w),M=_.next();!M.done;M=_.next()){var F=M.value;try{Ue(F)}catch(g){s=s!=null?s:[],g instanceof _e?s=Se(Se([],xe(s)),xe(g.errors)):s.push(g)}}}catch(g){i={error:g}}finally{try{M&&!M.done&&(o=_.return)&&o.call(_)}finally{if(i)throw i.error}}}if(s)throw new _e(s)}},r.prototype.add=function(n){var t;if(n&&n!==this)if(this.closed)Ue(n);else{if(n instanceof r){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}},r.prototype._hasParent=function(n){var t=this._parentage;return t===n||Array.isArray(t)&&t.includes(n)},r.prototype._addParent=function(n){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n},r.prototype._removeParent=function(n){var t=this._parentage;t===n?this._parentage=null:Array.isArray(t)&&ke(t,n)},r.prototype.remove=function(n){var t=this._finalizers;t&&ke(t,n),n instanceof r&&n._removeParent(this)},r.EMPTY=function(){var n=new r;return n.closed=!0,n}(),r}(),Qe=ae.EMPTY;function et(r){return r instanceof ae||r&&"closed"in r&&E(r.remove)&&E(r.add)&&E(r.unsubscribe)}function Ue(r){E(r)?r():r.unsubscribe()}var $t={Promise:void 0},Ht={setTimeout:function(r,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setTimeout.apply(void 0,Se([r,n],xe(t)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function At(r){Ht.setTimeout(function(){throw r})}function Fe(){}function se(r){r()}var tt=function(r){ee(n,r);function n(t){var i=r.call(this)||this;return i.isStopped=!1,t?(i.destination=t,et(t)&&t.add(i)):i.destination=zt,i}return n.create=function(t,i,o){return new Te(t,i,o)},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(ae),Vt=function(){function r(n){this.partialObserver=n}return r.prototype.next=function(n){var t=this.partialObserver;if(t.next)try{t.next(n)}catch(i){oe(i)}},r.prototype.error=function(n){var t=this.partialObserver;if(t.error)try{t.error(n)}catch(i){oe(i)}else oe(n)},r.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(t){oe(t)}},r}(),Te=function(r){ee(n,r);function n(t,i,o){var s=r.call(this)||this,a;return E(t)||!t?a={next:t!=null?t:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0}:a=t,s.destination=new Vt(a),s}return n}(tt);function oe(r){At(r)}function Dt(r){throw r}var zt={closed:!0,next:Fe,error:Dt,complete:Fe},Zt=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ut(r){return r}function Ft(r){return r.length===0?Ut:r.length===1?r[0]:function(t){return r.reduce(function(i,o){return o(i)},t)}}var We=function(){function r(n){n&&(this._subscribe=n)}return r.prototype.lift=function(n){var t=new r;return t.source=this,t.operator=n,t},r.prototype.subscribe=function(n,t,i){var o=this,s=Gt(n)?n:new Te(n,t,i);return se(function(){var a=o,l=a.operator,c=a.source;s.add(l?l.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},r.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(t){n.error(t)}},r.prototype.forEach=function(n,t){var i=this;return t=Ge(t),new t(function(o,s){var a=new Te({next:function(l){try{n(l)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(n){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(n)},r.prototype[Zt]=function(){return this},r.prototype.pipe=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return Ft(n)(this)},r.prototype.toPromise=function(n){var t=this;return n=Ge(n),new n(function(i,o){var s;t.subscribe(function(a){return s=a},function(a){return o(a)},function(){return i(s)})})},r.create=function(n){return new r(n)},r}();function Ge(r){var n;return(n=r!=null?r:$t.Promise)!==null&&n!==void 0?n:Promise}function Wt(r){return r&&E(r.next)&&E(r.error)&&E(r.complete)}function Gt(r){return r&&r instanceof tt||Wt(r)&&et(r)}var qt=Ke(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),nt=function(r){ee(n,r);function n(){var t=r.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n.prototype.lift=function(t){var i=new qe(this,this);return i.operator=t,i},n.prototype._throwIfClosed=function(){if(this.closed)throw new qt},n.prototype.next=function(t){var i=this;se(function(){var o,s;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=we(i.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(t)}}catch(h){o={error:h}}finally{try{l&&!l.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},n.prototype.error=function(t){var i=this;se(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var o=i.observers;o.length;)o.shift().error(t)}})},n.prototype.complete=function(){var t=this;se(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(t){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,t)},n.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},n.prototype._innerSubscribe=function(t){var i=this,o=this,s=o.hasError,a=o.isStopped,l=o.observers;return s||a?Qe:(this.currentObservers=null,l.push(t),new ae(function(){i.currentObservers=null,ke(l,t)}))},n.prototype._checkFinalizedStatuses=function(t){var i=this,o=i.hasError,s=i.thrownError,a=i.isStopped;o?t.error(s):a&&t.complete()},n.prototype.asObservable=function(){var t=new We;return t.source=this,t},n.create=function(t,i){return new qe(t,i)},n}(We),qe=function(r){ee(n,r);function n(t,i){var o=r.call(this)||this;return o.destination=t,o.source=i,o}return n.prototype.next=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,t)},n.prototype.error=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,t)},n.prototype.complete=function(){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||i===void 0||i.call(t)},n.prototype._subscribe=function(t){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(t))!==null&&o!==void 0?o:Qe},n}(nt),rt={now:function(){return(rt.delegate||Date).now()},delegate:void 0},Nt=function(r){ee(n,r);function n(t,i,o){t===void 0&&(t=1/0),i===void 0&&(i=1/0),o===void 0&&(o=rt);var s=r.call(this)||this;return s._bufferSize=t,s._windowTime=i,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=i===1/0,s._bufferSize=Math.max(1,t),s._windowTime=Math.max(1,i),s}return n.prototype.next=function(t){var i=this,o=i.isStopped,s=i._buffer,a=i._infiniteTimeWindow,l=i._timestampProvider,c=i._windowTime;o||(s.push(t),!a&&s.push(l.now()+c)),this._trimBuffer(),r.prototype.next.call(this,t)},n.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(t),o=this,s=o._infiniteTimeWindow,a=o._buffer,l=a.slice(),c=0;c<l.length&&!t.closed;c+=s?1:2)t.next(l[c]);return this._checkFinalizedStatuses(t),i},n.prototype._trimBuffer=function(){var t=this,i=t._bufferSize,o=t._timestampProvider,s=t._buffer,a=t._infiniteTimeWindow,l=(a?1:2)*i;if(i<1/0&&l<s.length&&s.splice(0,s.length-l),!a){for(var c=o.now(),h=0,y=1;y<s.length&&s[y]<=c;y+=2)h=y;h&&s.splice(0,h+1)}},n}(nt);const Ne=[],Xe={},Xt=(r,n=0)=>{if(Ne.indexOf(r)==-1){const t=new Nt(n);Xe[r]=t,Ne.push(r)}return Xe[r]};window.emWidgets={topic:Xt};const it=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;e.dayjs.extend(e.customParseFormat);const Ye=r=>e.dayjs(r).format("MMMM D, HH:mm"),Yt=()=>typeof window=="undefined";class Je{constructor(){}static processMinMax(n,t){return{minValue:n?`: ${n}`:null,maxValue:t?`: ${t}`:null}}static generateCasinoRule(n,t){var l,c;const i=` ~ ${n("unlimited")}`,o=t.currency||"EUR",s=(l=t.minStake)!=null&&l.amount[o]?`: ${t.minStake.amount[o]} ${o}`:i,a=(c=t.maxStake)!=null&&c.amount[o]?`: ${t.maxStake.amount[o]} ${o}`:i;return n("casinoRuleMinMaxBet",{values:{minBet:s,maxBet:a}})}static generateSportsRule(n,t){var j,G,q,B,P,D,N,L,ne,re;const i=[],o=` ~ ${n("unlimited")}`,s=t.currency||"EUR",a=(j=t.minStake)!=null&&j.amount[s]?`: ${t.minStake.amount[s]} ${s}`:o,l=(G=t.maxStake)!=null&&G.amount[s]?`: ${t.maxStake.amount[s]} ${s}`:o;i.push(n("sportsRuleMinMaxBet",{values:{sportMinBet:a,sportMaxBet:l}}));const c=t.config.liveMatch==="true",h=t.config.preLiveMatch==="true";c&&h?i.push(n("matchTypePreAndLive")):c?i.push(`${n("matchTypeLive")}`):h&&i.push(`${n("matchTyppePre")}`);const y=t.combination,w=[];y.single.isEligible&&w.push(n("betTypeSingle"));const M={null:n("typeOfSelectionAny"),true:n("bankerOnly"),false:n("nonBankerOnly")},F={unspecific:n("typeOfSelectionAny"),all:n("betBuilderOnly"),none:n("notBuilderOnly")};let g="",m="";const H=`${n("oddsPerSelection")}: ${t.config.minOdds||n("unlimited")} - ${t.config.maxOdds||n("unlimited")}`,A=y.system.isEligible,V=y.multiple.isEligible;A&&(g=` ${n("betTypeSystem")}
|
|
29
29
|
( ${n("typeOfSelection")}: ${M[((B=(q=t.combination.system.banker)==null?void 0:q.include)==null?void 0:B.toString())||"null"]},
|
|
30
30
|
${n("numberOfSelection")}:
|
|
31
|
-
${((
|
|
31
|
+
${((P=y.system.minSelection)==null?void 0:P.number)||n("unlimited")} - ${((D=y.system.maxSelection)==null?void 0:D.number)||n("unlimited")},
|
|
32
32
|
${H} ) `),V&&(m=` ${n("betTypeMultiple")}
|
|
33
|
-
( ${n("typeOfSelection")}: ${F[((
|
|
33
|
+
( ${n("typeOfSelection")}: ${F[((L=(N=t.combination.multiple.betBuilder)==null?void 0:N.mode)==null?void 0:L.toString())||"unspecific"]},
|
|
34
34
|
${n("numberOfSelection")}:
|
|
35
35
|
${((ne=y.multiple.minSelection)==null?void 0:ne.number)||n("unlimited")} - ${((re=y.multiple.maxSelection)==null?void 0:re.number)||n("unlimited")},
|
|
36
|
-
${H} ) `),A&&V?w.push(m+n("and")+g):A?w.push(g):V&&w.push(m),i.push(w.join(", "));const te=t.config.minTotalOdds?`: ${t.config.minTotalOdds}`:o,W=t.config.maxTotalOdds?`: ${t.config.maxTotalOdds}`:o;return i.push(`${n("sportsRuleMinMaxOdds",{values:{sportMinOdds:te,sportMaxOdds:W}})}`),i}}const Jt="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%2013.4315C10.4965%2013.4315%2010.8065%2013.7415%2010.8065%2014.1238C10.8065%2014.353%2011.001%2014.7342%2011.708%2015.0993C12.3797%2015.4461%2013.3557%2015.6812%2014.4718%2015.6812C15.5879%2015.6812%2016.5642%2015.4461%2017.2361%2015.0993C17.9435%2014.7342%2018.138%2014.3528%2018.138%2014.1238C18.138%2013.7415%2018.448%2013.4315%2018.8303%2013.4315C19.2126%2013.4315%2019.5226%2013.7415%2019.5226%2014.1238C19.5226%2015.1368%2018.7414%2015.8804%2017.8712%2016.3296C16.9656%2016.7971%2015.7626%2017.0658%2014.4718%2017.0658C13.181%2017.0658%2011.9782%2016.7971%2011.0728%2016.3296C10.2027%2015.8803%209.42185%2015.1367%209.42185%2014.1238C9.42185%2013.7415%209.73182%2013.4315%2010.1142%2013.4315Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%209.1839C4.16841%209.1839%204.47836%209.49386%204.47836%209.8762C4.47836%2010.1058%204.67303%2010.487%205.38022%2010.852C6.05207%2011.1988%207.02836%2011.4337%208.14459%2011.4337C8.52693%2011.4337%208.83689%2011.7436%208.83689%2012.126C8.83689%2012.5083%208.52693%2012.8183%208.14459%2012.8183C6.85387%2012.8183%205.65089%2012.5498%204.74522%2012.0824C3.87488%2011.6333%203.09375%2010.8896%203.09375%209.8762C3.09375%209.49386%203.40371%209.1839%203.78606%209.1839Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%205.25C4.16841%205.25%204.47836%205.55996%204.47836%205.94231V13.8114C4.47836%2014.041%204.67303%2014.4222%205.38022%2014.7872C6.05207%2015.1339%207.02836%2015.3689%208.14459%2015.3689C8.52693%2015.3689%208.83689%2015.6788%208.83689%2016.0612C8.83689%2016.4436%208.52693%2016.7535%208.14459%2016.7535C6.85387%2016.7535%205.65089%2016.485%204.74522%2016.0177C3.87488%2015.5685%203.09375%2014.8249%203.09375%2013.8114V5.94231C3.09375%205.55996%203.40371%205.25%203.78606%205.25Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.38029%204.96658C4.67291%205.33175%204.47836%205.71303%204.47836%205.94207C4.47836%206.17164%204.67303%206.5529%205.38022%206.91786C6.05207%207.2646%207.02836%207.49953%208.14459%207.49953C8.52693%207.49953%208.83689%207.80949%208.83689%208.19184C8.83689%208.57418%208.52693%208.88414%208.14459%208.88414C6.85387%208.88414%205.65089%208.61569%204.74522%208.14829C3.87488%207.69912%203.09375%206.95549%203.09375%205.94207C3.09375%204.92903%203.87499%204.18542%204.74515%203.73624C5.65079%203.26872%206.85377%203%208.14459%203C9.43542%203%2010.6384%203.26872%2011.544%203.73624C12.4142%204.18542%2013.1954%204.92903%2013.1954%205.94207C13.1954%206.32442%2012.8854%206.63438%2012.5031%206.63438C12.1207%206.63438%2011.8108%206.32442%2011.8108%205.94207C11.8108%205.71303%2011.6163%205.33175%2010.9089%204.96658C10.237%204.61973%209.26068%204.38462%208.14459%204.38462C7.02847%204.38462%206.05218%204.61973%205.38029%204.96658Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%209.49759C10.4965%209.49759%2010.8065%209.80755%2010.8065%2010.1899V18.0591C10.8065%2018.2887%2011.0011%2018.67%2011.7079%2019.0349C12.3796%2019.3816%2013.3556%2019.6165%2014.4718%2019.6165C15.588%2019.6165%2016.5643%2019.3816%2017.2362%2019.0349C17.9433%2018.6699%2018.138%2018.2886%2018.138%2018.0591V10.1899C18.138%209.80755%2018.448%209.49759%2018.8303%209.49759C19.2126%209.49759%2019.5226%209.80755%2019.5226%2010.1899V18.0591C19.5226%2019.0724%2018.7415%2019.8161%2017.8711%2020.2652C16.9655%2020.7327%2015.7626%2021.0011%2014.4718%2021.0011C13.1811%2021.0011%2011.9783%2020.7327%2011.0729%2020.2652C10.2026%2019.816%209.42185%2019.0723%209.42185%2018.0591V10.1899C9.42185%209.80755%209.73182%209.49759%2010.1142%209.49759Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.708%209.21414C11.001%209.57923%2010.8065%209.96048%2010.8065%2010.1897C10.8065%2010.4189%2011.001%2010.8001%2011.708%2011.1652C12.3797%2011.512%2013.3557%2011.7472%2014.4718%2011.7472C15.5879%2011.7472%2016.5642%2011.512%2017.2361%2011.1652C17.9435%2010.8%2018.138%2010.4187%2018.138%2010.1897C18.138%209.96063%2017.9435%209.57934%2017.2361%209.21418C16.5642%208.86733%2015.5879%208.63221%2014.4718%208.63221C13.3557%208.63221%2012.3797%208.86733%2011.708%209.21414ZM11.0728%207.98387C11.9782%207.51632%2013.181%207.24759%2014.4718%207.24759C15.7626%207.24759%2016.9656%207.51632%2017.8712%207.98383C18.7414%208.43303%2019.5226%209.17662%2019.5226%2010.1897C19.5226%2011.2027%2018.7414%2011.9463%2017.8712%2012.3955C16.9656%2012.863%2015.7626%2013.1318%2014.4718%2013.1318C13.181%2013.1318%2011.9782%2012.863%2011.0728%2012.3954C10.2027%2011.9462%209.42185%2011.2026%209.42185%2010.1897C9.42185%209.17677%2010.2027%208.43314%2011.0728%207.98387Z'%20fill='%23999999'/%3e%3c/svg%3e",Kt="data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e",Qt="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e",e2="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e",t2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.55556%204C6.32986%204%205.33333%204.96094%205.33333%206.14286V13.6429C5.33333%2014.8248%206.32986%2015.7857%207.55556%2015.7857H19.7778C21.0035%2015.7857%2022%2014.8248%2022%2013.6429V6.14286C22%204.96094%2021.0035%204%2019.7778%204H7.55556ZM13.6667%207.21429C15.2014%207.21429%2016.4444%208.41295%2016.4444%209.89286C16.4444%2011.3728%2015.2014%2012.5714%2013.6667%2012.5714C12.1319%2012.5714%2010.8889%2011.3728%2010.8889%209.89286C10.8889%208.41295%2012.1319%207.21429%2013.6667%207.21429ZM7.55556%208.01786V6.41071C7.55556%206.26339%207.68056%206.14286%207.83333%206.14286H9.5C9.65278%206.14286%209.78125%206.26339%209.76042%206.41071C9.63542%207.3817%208.83681%208.14844%207.83333%208.26897C7.68056%208.28571%207.55556%208.16518%207.55556%208.01786ZM7.55556%2011.7679C7.55556%2011.6205%207.68056%2011.4967%207.83333%2011.5167C8.84028%2011.6373%209.63542%2012.4074%209.76042%2013.375C9.77778%2013.5223%209.65278%2013.6429%209.5%2013.6429H7.83333C7.68056%2013.6429%207.55556%2013.5223%207.55556%2013.375V11.7679ZM19.5%208.26897C18.4931%208.14844%2017.6979%207.37835%2017.5729%206.41071C17.5556%206.26339%2017.6806%206.14286%2017.8333%206.14286H19.5C19.6528%206.14286%2019.7778%206.26339%2019.7778%206.41071V8.01786C19.7778%208.16518%2019.6528%208.28906%2019.5%208.26897ZM19.7778%2011.7679V13.375C19.7778%2013.5223%2019.6528%2013.6429%2019.5%2013.6429H17.8333C17.6806%2013.6429%2017.5521%2013.5223%2017.5729%2013.375C17.6979%2012.404%2018.4965%2011.6373%2019.5%2011.5167C19.6528%2011.5%2019.7778%2011.6205%2019.7778%2011.7679ZM3.66667%208.01786C3.66667%207.57254%203.29514%207.21429%202.83333%207.21429C2.37153%207.21429%202%207.57254%202%208.01786V16.8571C2%2018.0391%202.99653%2019%204.22222%2019H17.8333C18.2951%2019%2018.6667%2018.6417%2018.6667%2018.1964C18.6667%2017.7511%2018.2951%2017.3929%2017.8333%2017.3929H4.22222C3.91667%2017.3929%203.66667%2017.1518%203.66667%2016.8571V8.01786Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",n2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%208.16216V8.23516C22%209.09516%2022%209.52616%2021.793%209.87816C21.586%2010.2302%2021.209%2010.4392%2020.457%2010.8582L19.664%2011.2982C20.21%209.45016%2020.393%207.46416%2020.46%205.76616L20.47%205.54516L20.472%205.49316C21.123%205.71916%2021.489%205.88816%2021.717%206.20416C22%206.59716%2022%207.11916%2022%208.16216ZM2%208.16216V8.23516C2%209.09516%202%209.52616%202.207%209.87816C2.414%2010.2302%202.791%2010.4392%203.543%2010.8582L4.337%2011.2982C3.79%209.45016%203.607%207.46416%203.54%205.76616L3.53%205.54516L3.529%205.49316C2.877%205.71916%202.511%205.88816%202.283%206.20416C2%206.59716%202%207.12016%202%208.16216Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3774%202.34723C14.9305%202.11022%2013.4665%201.99415%2012.0004%202.00023C10.2174%202.00023%208.74737%202.15723%207.62337%202.34723C6.48437%202.53923%205.91537%202.63523%205.43937%203.22123C4.96437%203.80723%204.98937%204.44023%205.03937%205.70623C5.21237%2010.0542%206.15037%2015.4862%2011.2504%2015.9662V19.5002H9.82037C9.58928%2019.5004%209.36537%2019.5805%209.18671%2019.7271C9.00805%2019.8737%208.88567%2020.0776%208.84037%2020.3042L8.65037%2021.2502H6.00037C5.80146%2021.2502%205.61069%2021.3292%205.47004%2021.4699C5.32939%2021.6105%205.25037%2021.8013%205.25037%2022.0002C5.25037%2022.1991%205.32939%2022.3899%205.47004%2022.5306C5.61069%2022.6712%205.80146%2022.7502%206.00037%2022.7502H18.0004C18.1993%2022.7502%2018.3901%2022.6712%2018.5307%2022.5306C18.6714%2022.3899%2018.7504%2022.1991%2018.7504%2022.0002C18.7504%2021.8013%2018.6714%2021.6105%2018.5307%2021.4699C18.3901%2021.3292%2018.1993%2021.2502%2018.0004%2021.2502H15.3504L15.1604%2020.3042C15.1151%2020.0776%2014.9927%2019.8737%2014.814%2019.7271C14.6354%2019.5805%2014.4115%2019.5004%2014.1804%2019.5002H12.7504V15.9662C17.8504%2015.4862%2018.7894%2010.0552%2018.9614%205.70623C19.0114%204.44023%2019.0374%203.80623%2018.5614%203.22123C18.0854%202.63523%2017.5164%202.53923%2016.3774%202.34723ZM12.7874%205.80723C12.9244%205.864%2013.0416%205.96014%2013.124%206.08349C13.2064%206.20685%2013.2504%206.35187%2013.2504%206.50023V10.5002C13.2504%2010.6991%2013.1714%2010.8899%2013.0307%2011.0306C12.89%2011.1712%2012.6993%2011.2502%2012.5004%2011.2502C12.3015%2011.2502%2012.1107%2011.1712%2011.97%2011.0306C11.8294%2010.8899%2011.7504%2010.6991%2011.7504%2010.5002V8.31023L11.5304%208.53023C11.4617%208.60391%2011.3789%208.66302%2011.2869%208.70401C11.1949%208.745%2011.0956%208.76704%2010.9949%208.76882C10.8942%208.7706%2010.7942%208.75207%2010.7008%208.71435C10.6074%208.67663%2010.5226%208.62048%2010.4513%208.54926C10.3801%208.47805%2010.324%208.39321%2010.2862%208.29982C10.2485%208.20644%2010.23%208.10641%2010.2318%208.0057C10.2336%207.905%2010.2556%207.80569%2010.2966%207.71369C10.3376%207.62169%2010.3967%207.53889%2010.4704%207.47023L11.9704%205.97023C12.0752%205.86533%2012.2087%205.79387%2012.3542%205.76485C12.4996%205.73584%2012.6503%205.75059%2012.7874%205.80723Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",r2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.3226%202.25641C14.3226%202.18841%2014.2954%202.12319%2014.247%202.0751C14.1986%202.02701%2014.133%202%2014.0645%202H6.83871C6.08584%202%205.3638%202.29716%204.83144%202.82611C4.29908%203.35506%204%204.07247%204%204.82051V19.1795C4%2019.9275%204.29908%2020.6449%204.83144%2021.1739C5.3638%2021.7028%206.08584%2022%206.83871%2022H17.1613C17.9142%2022%2018.6362%2021.7028%2019.1686%2021.1739C19.7009%2020.6449%2020%2019.9275%2020%2019.1795V9.07385C20%209.00584%2019.9728%208.94062%2019.9244%208.89254C19.876%208.84445%2019.8104%208.81744%2019.7419%208.81744H15.0968C14.8914%208.81744%2014.6945%208.73639%2014.5493%208.59213C14.4041%208.44787%2014.3226%208.25222%2014.3226%208.04821V2.25641ZM15.0968%2012.2564C15.3021%2012.2564%2015.499%2012.3375%2015.6442%2012.4817C15.7894%2012.626%2015.871%2012.8216%2015.871%2013.0256C15.871%2013.2297%2015.7894%2013.4253%2015.6442%2013.5696C15.499%2013.7138%2015.3021%2013.7949%2015.0968%2013.7949H8.90323C8.6979%2013.7949%208.50098%2013.7138%208.35579%2013.5696C8.2106%2013.4253%208.12903%2013.2297%208.12903%2013.0256C8.12903%2012.8216%208.2106%2012.626%208.35579%2012.4817C8.50098%2012.3375%208.6979%2012.2564%208.90323%2012.2564H15.0968ZM15.0968%2016.359C15.3021%2016.359%2015.499%2016.44%2015.6442%2016.5843C15.7894%2016.7285%2015.871%2016.9242%2015.871%2017.1282C15.871%2017.3322%2015.7894%2017.5279%2015.6442%2017.6721C15.499%2017.8164%2015.3021%2017.8974%2015.0968%2017.8974H8.90323C8.6979%2017.8974%208.50098%2017.8164%208.35579%2017.6721C8.2106%2017.5279%208.12903%2017.3322%208.12903%2017.1282C8.12903%2016.9242%208.2106%2016.7285%208.35579%2016.5843C8.50098%2016.44%208.6979%2016.359%208.90323%2016.359H15.0968Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20d='M15.75%202.82396C15.75%202.63996%2015.943%202.52296%2016.086%202.63796C16.2073%202.73596%2016.315%202.84996%2016.409%202.97996L19.422%207.17696C19.49%207.27296%2019.416%207.39696%2019.298%207.39696H16C15.9337%207.39696%2015.8701%207.37062%2015.8232%207.32373C15.7763%207.27685%2015.75%207.21326%2015.75%207.14696V2.82396Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",i2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.8421%2015.8636L17.5516%2017.4L16.8411%2018.5091L13.4211%2016.5455V12H14.8421V15.8636ZM21%2015.6364C21%2019.1545%2018.0347%2022%2014.3684%2022C12.5589%2022%2010.9295%2021.3091%209.73579%2020.1818H4.89474C3.84316%2020.1818%203%2019.3727%203%2018.3636V3.81818C3%203.33597%203.19962%202.87351%203.55496%202.53253C3.91029%202.19156%204.39222%202%204.89474%202H5.84211V8.36364L8.21053%207L10.5789%208.36364V2H16.2632C16.7657%202%2017.2476%202.19156%2017.6029%202.53253C17.9583%202.87351%2018.1579%203.33597%2018.1579%203.81818V10.4182C19.8726%2011.5727%2021%2013.4727%2021%2015.6364ZM19.1053%2015.6364C19.1053%2013.1273%2016.9832%2011.0909%2014.3684%2011.0909C11.7537%2011.0909%209.63158%2013.1273%209.63158%2015.6364C9.63158%2018.1455%2011.7537%2020.1818%2014.3684%2020.1818C16.9832%2020.1818%2019.1053%2018.1455%2019.1053%2015.6364Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e";if(typeof window!="undefined"){let r=function(n){return function(...t){try{return n.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./TournamentLeaderboard-xrrrpKix.cjs")).then(({default:n})=>{!customElements.get("tournament-leaderboard")&&customElements.define("tournament-leaderboard",n.element)})}if(typeof window!="undefined"){let r=function(n){return function(...t){try{return n.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./TournamentDetails-nG7lN2NT.cjs")).then(n=>n.TournamentDetails_ce).then(({default:n})=>{!customElements.get("tournament-details")&&customElements.define("tournament-details",n.element)})}if(typeof window!="undefined"){let r=function(n){return function(...t){try{return n.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./TournamentGames-Dz1Ddedp.cjs")).then(({default:n})=>{!customElements.get("tournament-games")&&customElements.define("tournament-games",n.element)})}var o2=e.from_html('<span class="Spinner svelte-gxy8gu"></span>'),s2=e.from_html("<button><!></button>"),a2=e.from_html('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <span class="RuleContent svelte-gxy8gu"> </span></div></div>'),l2=e.from_html('<li class="RuleTxt svelte-gxy8gu"> </li>'),u2=e.from_html('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <ul class="SportsRules svelte-gxy8gu"></ul></div></div>'),c2=e.from_html('<div class="TournamemntRulesContent svelte-gxy8gu"><div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="svelte-gxy8gu"><!> <!> <!> <!> <!> <!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <!> <!></div>'),d2=e.from_html('<div class="DetailsWrapper svelte-gxy8gu"><tournament-details></tournament-details> <!></div> <div class="LeaderboardWrapper svelte-gxy8gu"><tournament-leaderboard></tournament-leaderboard></div> <div class="TournamentRulesWrapper svelte-gxy8gu"><button class="TournamentRulesHeader svelte-gxy8gu"><span class="TournamemntRulesTitle svelte-gxy8gu"> </span> <img alt="Icon" class="Icon svelte-gxy8gu"/></button> <!></div> <div class="GamesWrapper svelte-gxy8gu"><tournament-games></tournament-games></div>',3),p2=e.from_html('<div class="SkeletonWrapper svelte-gxy8gu"><div class="Skeleton Details svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Leaderboard svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Rules svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Games svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div></div>'),m2=e.from_html('<div class="TournamentDetailsPageWrapper svelte-gxy8gu"><!> <!></div>');const f2={hash:"svelte-gxy8gu",code:`.svelte-gxy8gu,
|
|
36
|
+
${H} ) `),A&&V?w.push(m+n("and")+g):A?w.push(g):V&&w.push(m),i.push(w.join(", "));const te=t.config.minTotalOdds?`: ${t.config.minTotalOdds}`:o,W=t.config.maxTotalOdds?`: ${t.config.maxTotalOdds}`:o;return i.push(`${n("sportsRuleMinMaxOdds",{values:{sportMinOdds:te,sportMaxOdds:W}})}`),i}}const Jt="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%2013.4315C10.4965%2013.4315%2010.8065%2013.7415%2010.8065%2014.1238C10.8065%2014.353%2011.001%2014.7342%2011.708%2015.0993C12.3797%2015.4461%2013.3557%2015.6812%2014.4718%2015.6812C15.5879%2015.6812%2016.5642%2015.4461%2017.2361%2015.0993C17.9435%2014.7342%2018.138%2014.3528%2018.138%2014.1238C18.138%2013.7415%2018.448%2013.4315%2018.8303%2013.4315C19.2126%2013.4315%2019.5226%2013.7415%2019.5226%2014.1238C19.5226%2015.1368%2018.7414%2015.8804%2017.8712%2016.3296C16.9656%2016.7971%2015.7626%2017.0658%2014.4718%2017.0658C13.181%2017.0658%2011.9782%2016.7971%2011.0728%2016.3296C10.2027%2015.8803%209.42185%2015.1367%209.42185%2014.1238C9.42185%2013.7415%209.73182%2013.4315%2010.1142%2013.4315Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%209.1839C4.16841%209.1839%204.47836%209.49386%204.47836%209.8762C4.47836%2010.1058%204.67303%2010.487%205.38022%2010.852C6.05207%2011.1988%207.02836%2011.4337%208.14459%2011.4337C8.52693%2011.4337%208.83689%2011.7436%208.83689%2012.126C8.83689%2012.5083%208.52693%2012.8183%208.14459%2012.8183C6.85387%2012.8183%205.65089%2012.5498%204.74522%2012.0824C3.87488%2011.6333%203.09375%2010.8896%203.09375%209.8762C3.09375%209.49386%203.40371%209.1839%203.78606%209.1839Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%205.25C4.16841%205.25%204.47836%205.55996%204.47836%205.94231V13.8114C4.47836%2014.041%204.67303%2014.4222%205.38022%2014.7872C6.05207%2015.1339%207.02836%2015.3689%208.14459%2015.3689C8.52693%2015.3689%208.83689%2015.6788%208.83689%2016.0612C8.83689%2016.4436%208.52693%2016.7535%208.14459%2016.7535C6.85387%2016.7535%205.65089%2016.485%204.74522%2016.0177C3.87488%2015.5685%203.09375%2014.8249%203.09375%2013.8114V5.94231C3.09375%205.55996%203.40371%205.25%203.78606%205.25Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.38029%204.96658C4.67291%205.33175%204.47836%205.71303%204.47836%205.94207C4.47836%206.17164%204.67303%206.5529%205.38022%206.91786C6.05207%207.2646%207.02836%207.49953%208.14459%207.49953C8.52693%207.49953%208.83689%207.80949%208.83689%208.19184C8.83689%208.57418%208.52693%208.88414%208.14459%208.88414C6.85387%208.88414%205.65089%208.61569%204.74522%208.14829C3.87488%207.69912%203.09375%206.95549%203.09375%205.94207C3.09375%204.92903%203.87499%204.18542%204.74515%203.73624C5.65079%203.26872%206.85377%203%208.14459%203C9.43542%203%2010.6384%203.26872%2011.544%203.73624C12.4142%204.18542%2013.1954%204.92903%2013.1954%205.94207C13.1954%206.32442%2012.8854%206.63438%2012.5031%206.63438C12.1207%206.63438%2011.8108%206.32442%2011.8108%205.94207C11.8108%205.71303%2011.6163%205.33175%2010.9089%204.96658C10.237%204.61973%209.26068%204.38462%208.14459%204.38462C7.02847%204.38462%206.05218%204.61973%205.38029%204.96658Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%209.49759C10.4965%209.49759%2010.8065%209.80755%2010.8065%2010.1899V18.0591C10.8065%2018.2887%2011.0011%2018.67%2011.7079%2019.0349C12.3796%2019.3816%2013.3556%2019.6165%2014.4718%2019.6165C15.588%2019.6165%2016.5643%2019.3816%2017.2362%2019.0349C17.9433%2018.6699%2018.138%2018.2886%2018.138%2018.0591V10.1899C18.138%209.80755%2018.448%209.49759%2018.8303%209.49759C19.2126%209.49759%2019.5226%209.80755%2019.5226%2010.1899V18.0591C19.5226%2019.0724%2018.7415%2019.8161%2017.8711%2020.2652C16.9655%2020.7327%2015.7626%2021.0011%2014.4718%2021.0011C13.1811%2021.0011%2011.9783%2020.7327%2011.0729%2020.2652C10.2026%2019.816%209.42185%2019.0723%209.42185%2018.0591V10.1899C9.42185%209.80755%209.73182%209.49759%2010.1142%209.49759Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.708%209.21414C11.001%209.57923%2010.8065%209.96048%2010.8065%2010.1897C10.8065%2010.4189%2011.001%2010.8001%2011.708%2011.1652C12.3797%2011.512%2013.3557%2011.7472%2014.4718%2011.7472C15.5879%2011.7472%2016.5642%2011.512%2017.2361%2011.1652C17.9435%2010.8%2018.138%2010.4187%2018.138%2010.1897C18.138%209.96063%2017.9435%209.57934%2017.2361%209.21418C16.5642%208.86733%2015.5879%208.63221%2014.4718%208.63221C13.3557%208.63221%2012.3797%208.86733%2011.708%209.21414ZM11.0728%207.98387C11.9782%207.51632%2013.181%207.24759%2014.4718%207.24759C15.7626%207.24759%2016.9656%207.51632%2017.8712%207.98383C18.7414%208.43303%2019.5226%209.17662%2019.5226%2010.1897C19.5226%2011.2027%2018.7414%2011.9463%2017.8712%2012.3955C16.9656%2012.863%2015.7626%2013.1318%2014.4718%2013.1318C13.181%2013.1318%2011.9782%2012.863%2011.0728%2012.3954C10.2027%2011.9462%209.42185%2011.2026%209.42185%2010.1897C9.42185%209.17677%2010.2027%208.43314%2011.0728%207.98387Z'%20fill='%23999999'/%3e%3c/svg%3e",Kt="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%202C17.5228%202%2022%206.47715%2022%2012C22%2017.5228%2017.5228%2022%2012%2022C6.47715%2022%202%2017.5228%202%2012C2%206.47715%206.47715%202%2012%202ZM15.5361%2013.9111C14.7377%2014.2225%2013.47%2014.4267%2012.042%2014.4268C10.6135%2014.4268%209.34534%2014.2226%208.54688%2013.9111C7.99508%2014.1264%207.66726%2014.3932%207.66699%2014.6836C7.66713%2015.3942%209.62583%2015.9707%2012.042%2015.9707C14.4579%2015.9706%2016.4169%2015.3942%2016.417%2014.6836C16.4167%2014.3932%2016.0882%2014.1264%2015.5361%2013.9111ZM15.5361%2011.3389C14.7377%2011.6501%2013.4698%2011.8535%2012.042%2011.8535C10.6137%2011.8535%209.34537%2011.6503%208.54688%2011.3389C7.99513%2011.5542%207.66699%2011.8199%207.66699%2012.1104C7.66784%2012.8208%209.62627%2013.3975%2012.042%2013.3975C14.4575%2013.3974%2016.4161%2012.8208%2016.417%2012.1104C16.417%2011.8199%2016.0881%2011.5542%2015.5361%2011.3389ZM12.042%208.25C9.62575%208.25%207.66699%208.82645%207.66699%209.53711C7.66763%2010.2476%209.62614%2010.8232%2012.042%2010.8232C14.4576%2010.8232%2016.4164%2010.2476%2016.417%209.53711C16.417%208.8265%2014.458%208.25008%2012.042%208.25Z'%20fill='%23999999'/%3e%3c/svg%3e",Qt="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e",e2="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e",t2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.55556%204C6.32986%204%205.33333%204.96094%205.33333%206.14286V13.6429C5.33333%2014.8248%206.32986%2015.7857%207.55556%2015.7857H19.7778C21.0035%2015.7857%2022%2014.8248%2022%2013.6429V6.14286C22%204.96094%2021.0035%204%2019.7778%204H7.55556ZM13.6667%207.21429C15.2014%207.21429%2016.4444%208.41295%2016.4444%209.89286C16.4444%2011.3728%2015.2014%2012.5714%2013.6667%2012.5714C12.1319%2012.5714%2010.8889%2011.3728%2010.8889%209.89286C10.8889%208.41295%2012.1319%207.21429%2013.6667%207.21429ZM7.55556%208.01786V6.41071C7.55556%206.26339%207.68056%206.14286%207.83333%206.14286H9.5C9.65278%206.14286%209.78125%206.26339%209.76042%206.41071C9.63542%207.3817%208.83681%208.14844%207.83333%208.26897C7.68056%208.28571%207.55556%208.16518%207.55556%208.01786ZM7.55556%2011.7679C7.55556%2011.6205%207.68056%2011.4967%207.83333%2011.5167C8.84028%2011.6373%209.63542%2012.4074%209.76042%2013.375C9.77778%2013.5223%209.65278%2013.6429%209.5%2013.6429H7.83333C7.68056%2013.6429%207.55556%2013.5223%207.55556%2013.375V11.7679ZM19.5%208.26897C18.4931%208.14844%2017.6979%207.37835%2017.5729%206.41071C17.5556%206.26339%2017.6806%206.14286%2017.8333%206.14286H19.5C19.6528%206.14286%2019.7778%206.26339%2019.7778%206.41071V8.01786C19.7778%208.16518%2019.6528%208.28906%2019.5%208.26897ZM19.7778%2011.7679V13.375C19.7778%2013.5223%2019.6528%2013.6429%2019.5%2013.6429H17.8333C17.6806%2013.6429%2017.5521%2013.5223%2017.5729%2013.375C17.6979%2012.404%2018.4965%2011.6373%2019.5%2011.5167C19.6528%2011.5%2019.7778%2011.6205%2019.7778%2011.7679ZM3.66667%208.01786C3.66667%207.57254%203.29514%207.21429%202.83333%207.21429C2.37153%207.21429%202%207.57254%202%208.01786V16.8571C2%2018.0391%202.99653%2019%204.22222%2019H17.8333C18.2951%2019%2018.6667%2018.6417%2018.6667%2018.1964C18.6667%2017.7511%2018.2951%2017.3929%2017.8333%2017.3929H4.22222C3.91667%2017.3929%203.66667%2017.1518%203.66667%2016.8571V8.01786Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",n2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%208.16216V8.23516C22%209.09516%2022%209.52616%2021.793%209.87816C21.586%2010.2302%2021.209%2010.4392%2020.457%2010.8582L19.664%2011.2982C20.21%209.45016%2020.393%207.46416%2020.46%205.76616L20.47%205.54516L20.472%205.49316C21.123%205.71916%2021.489%205.88816%2021.717%206.20416C22%206.59716%2022%207.11916%2022%208.16216ZM2%208.16216V8.23516C2%209.09516%202%209.52616%202.207%209.87816C2.414%2010.2302%202.791%2010.4392%203.543%2010.8582L4.337%2011.2982C3.79%209.45016%203.607%207.46416%203.54%205.76616L3.53%205.54516L3.529%205.49316C2.877%205.71916%202.511%205.88816%202.283%206.20416C2%206.59716%202%207.12016%202%208.16216Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3774%202.34723C14.9305%202.11022%2013.4665%201.99415%2012.0004%202.00023C10.2174%202.00023%208.74737%202.15723%207.62337%202.34723C6.48437%202.53923%205.91537%202.63523%205.43937%203.22123C4.96437%203.80723%204.98937%204.44023%205.03937%205.70623C5.21237%2010.0542%206.15037%2015.4862%2011.2504%2015.9662V19.5002H9.82037C9.58928%2019.5004%209.36537%2019.5805%209.18671%2019.7271C9.00805%2019.8737%208.88567%2020.0776%208.84037%2020.3042L8.65037%2021.2502H6.00037C5.80146%2021.2502%205.61069%2021.3292%205.47004%2021.4699C5.32939%2021.6105%205.25037%2021.8013%205.25037%2022.0002C5.25037%2022.1991%205.32939%2022.3899%205.47004%2022.5306C5.61069%2022.6712%205.80146%2022.7502%206.00037%2022.7502H18.0004C18.1993%2022.7502%2018.3901%2022.6712%2018.5307%2022.5306C18.6714%2022.3899%2018.7504%2022.1991%2018.7504%2022.0002C18.7504%2021.8013%2018.6714%2021.6105%2018.5307%2021.4699C18.3901%2021.3292%2018.1993%2021.2502%2018.0004%2021.2502H15.3504L15.1604%2020.3042C15.1151%2020.0776%2014.9927%2019.8737%2014.814%2019.7271C14.6354%2019.5805%2014.4115%2019.5004%2014.1804%2019.5002H12.7504V15.9662C17.8504%2015.4862%2018.7894%2010.0552%2018.9614%205.70623C19.0114%204.44023%2019.0374%203.80623%2018.5614%203.22123C18.0854%202.63523%2017.5164%202.53923%2016.3774%202.34723ZM12.7874%205.80723C12.9244%205.864%2013.0416%205.96014%2013.124%206.08349C13.2064%206.20685%2013.2504%206.35187%2013.2504%206.50023V10.5002C13.2504%2010.6991%2013.1714%2010.8899%2013.0307%2011.0306C12.89%2011.1712%2012.6993%2011.2502%2012.5004%2011.2502C12.3015%2011.2502%2012.1107%2011.1712%2011.97%2011.0306C11.8294%2010.8899%2011.7504%2010.6991%2011.7504%2010.5002V8.31023L11.5304%208.53023C11.4617%208.60391%2011.3789%208.66302%2011.2869%208.70401C11.1949%208.745%2011.0956%208.76704%2010.9949%208.76882C10.8942%208.7706%2010.7942%208.75207%2010.7008%208.71435C10.6074%208.67663%2010.5226%208.62048%2010.4513%208.54926C10.3801%208.47805%2010.324%208.39321%2010.2862%208.29982C10.2485%208.20644%2010.23%208.10641%2010.2318%208.0057C10.2336%207.905%2010.2556%207.80569%2010.2966%207.71369C10.3376%207.62169%2010.3967%207.53889%2010.4704%207.47023L11.9704%205.97023C12.0752%205.86533%2012.2087%205.79387%2012.3542%205.76485C12.4996%205.73584%2012.6503%205.75059%2012.7874%205.80723Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",r2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.3226%202.25641C14.3226%202.18841%2014.2954%202.12319%2014.247%202.0751C14.1986%202.02701%2014.133%202%2014.0645%202H6.83871C6.08584%202%205.3638%202.29716%204.83144%202.82611C4.29908%203.35506%204%204.07247%204%204.82051V19.1795C4%2019.9275%204.29908%2020.6449%204.83144%2021.1739C5.3638%2021.7028%206.08584%2022%206.83871%2022H17.1613C17.9142%2022%2018.6362%2021.7028%2019.1686%2021.1739C19.7009%2020.6449%2020%2019.9275%2020%2019.1795V9.07385C20%209.00584%2019.9728%208.94062%2019.9244%208.89254C19.876%208.84445%2019.8104%208.81744%2019.7419%208.81744H15.0968C14.8914%208.81744%2014.6945%208.73639%2014.5493%208.59213C14.4041%208.44787%2014.3226%208.25222%2014.3226%208.04821V2.25641ZM15.0968%2012.2564C15.3021%2012.2564%2015.499%2012.3375%2015.6442%2012.4817C15.7894%2012.626%2015.871%2012.8216%2015.871%2013.0256C15.871%2013.2297%2015.7894%2013.4253%2015.6442%2013.5696C15.499%2013.7138%2015.3021%2013.7949%2015.0968%2013.7949H8.90323C8.6979%2013.7949%208.50098%2013.7138%208.35579%2013.5696C8.2106%2013.4253%208.12903%2013.2297%208.12903%2013.0256C8.12903%2012.8216%208.2106%2012.626%208.35579%2012.4817C8.50098%2012.3375%208.6979%2012.2564%208.90323%2012.2564H15.0968ZM15.0968%2016.359C15.3021%2016.359%2015.499%2016.44%2015.6442%2016.5843C15.7894%2016.7285%2015.871%2016.9242%2015.871%2017.1282C15.871%2017.3322%2015.7894%2017.5279%2015.6442%2017.6721C15.499%2017.8164%2015.3021%2017.8974%2015.0968%2017.8974H8.90323C8.6979%2017.8974%208.50098%2017.8164%208.35579%2017.6721C8.2106%2017.5279%208.12903%2017.3322%208.12903%2017.1282C8.12903%2016.9242%208.2106%2016.7285%208.35579%2016.5843C8.50098%2016.44%208.6979%2016.359%208.90323%2016.359H15.0968Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20d='M15.75%202.82396C15.75%202.63996%2015.943%202.52296%2016.086%202.63796C16.2073%202.73596%2016.315%202.84996%2016.409%202.97996L19.422%207.17696C19.49%207.27296%2019.416%207.39696%2019.298%207.39696H16C15.9337%207.39696%2015.8701%207.37062%2015.8232%207.32373C15.7763%207.27685%2015.75%207.21326%2015.75%207.14696V2.82396Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",i2="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.8421%2015.8636L17.5516%2017.4L16.8411%2018.5091L13.4211%2016.5455V12H14.8421V15.8636ZM21%2015.6364C21%2019.1545%2018.0347%2022%2014.3684%2022C12.5589%2022%2010.9295%2021.3091%209.73579%2020.1818H4.89474C3.84316%2020.1818%203%2019.3727%203%2018.3636V3.81818C3%203.33597%203.19962%202.87351%203.55496%202.53253C3.91029%202.19156%204.39222%202%204.89474%202H5.84211V8.36364L8.21053%207L10.5789%208.36364V2H16.2632C16.7657%202%2017.2476%202.19156%2017.6029%202.53253C17.9583%202.87351%2018.1579%203.33597%2018.1579%203.81818V10.4182C19.8726%2011.5727%2021%2013.4727%2021%2015.6364ZM19.1053%2015.6364C19.1053%2013.1273%2016.9832%2011.0909%2014.3684%2011.0909C11.7537%2011.0909%209.63158%2013.1273%209.63158%2015.6364C9.63158%2018.1455%2011.7537%2020.1818%2014.3684%2020.1818C16.9832%2020.1818%2019.1053%2018.1455%2019.1053%2015.6364Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e";if(typeof window!="undefined"){let r=function(n){return function(...t){try{return n.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./TournamentLeaderboard-BnP-SIlN.cjs")).then(({default:n})=>{!customElements.get("tournament-leaderboard")&&customElements.define("tournament-leaderboard",n.element)})}if(typeof window!="undefined"){let r=function(n){return function(...t){try{return n.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./TournamentDetails-nG7lN2NT.cjs")).then(n=>n.TournamentDetails_ce).then(({default:n})=>{!customElements.get("tournament-details")&&customElements.define("tournament-details",n.element)})}if(typeof window!="undefined"){let r=function(n){return function(...t){try{return n.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./TournamentGames-DO485kHn.cjs")).then(({default:n})=>{!customElements.get("tournament-games")&&customElements.define("tournament-games",n.element)})}var o2=e.from_html('<span class="Spinner svelte-gxy8gu"></span>'),s2=e.from_html("<button><!></button>"),a2=e.from_html('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <span class="RuleContent svelte-gxy8gu"> </span></div></div>'),l2=e.from_html('<li class="RuleTxt svelte-gxy8gu"> </li>'),u2=e.from_html('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <ul class="SportsRules svelte-gxy8gu"></ul></div></div>'),c2=e.from_html('<div class="TournamemntRulesContent svelte-gxy8gu"><div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="svelte-gxy8gu"><!> <!> <!> <!> <!> <!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <!> <!></div>'),d2=e.from_html('<div class="DetailsWrapper svelte-gxy8gu"><tournament-details></tournament-details> <!></div> <div class="LeaderboardWrapper svelte-gxy8gu"><tournament-leaderboard></tournament-leaderboard></div> <div class="TournamentRulesWrapper svelte-gxy8gu"><button class="TournamentRulesHeader svelte-gxy8gu"><span class="TournamemntRulesTitle svelte-gxy8gu"> </span> <img alt="Icon" class="Icon svelte-gxy8gu"/></button> <!></div> <div class="GamesWrapper svelte-gxy8gu"><tournament-games></tournament-games></div>',3),p2=e.from_html('<div class="SkeletonWrapper svelte-gxy8gu"><div class="Skeleton Details svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Leaderboard svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Rules svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Games svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div></div>'),m2=e.from_html('<div class="TournamentDetailsPageWrapper svelte-gxy8gu"><!> <!></div>');const f2={hash:"svelte-gxy8gu",code:`.svelte-gxy8gu,
|
|
37
37
|
.svelte-gxy8gu::before,
|
|
38
38
|
.svelte-gxy8gu::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.SkeletonWrapper.svelte-gxy8gu {display:flex;flex-direction:column;justify-content:space-between;gap:10px;}.Skeleton.svelte-gxy8gu {width:100%;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
|
|
39
39
|
animation: svelte-gxy8gu-pulse 1.5s infinite;&.Details {height:400px;}&.Leaderboard {height:500px;}&.Rules {height:150px;}&.Games {height:300px;}}
|
|
@@ -56,4 +56,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
@media (min-width: 1000px) {.ButtonPrimary.svelte-gxy8gu {display:block;width:300px;margin:auto;}
|
|
59
|
-
}.TournamentRulesWrapper.svelte-gxy8gu {border:1px solid var(--emw-color-bg-secondary, #333232);border-radius:4px;overflow:hidden;min-height:40px;.TournamentRulesHeader:where(.svelte-gxy8gu) {width:100%;padding:10px;background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-weight:500;font-size:14px;border:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1rem;transition:background 0.2s;}.TournamentRulesHeader:where(.svelte-gxy8gu):hover {background:var(--emw-color-bg-elements, #4A4A4A);}.TournamentRulesHeader:where(.svelte-gxy8gu):active {background-color:var(--emw-color-bg-secondary, #333232);}.Icon:where(.svelte-gxy8gu) {width:15px;height:15px;}.TournamemntRulesContent:where(.svelte-gxy8gu) {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-size:12px;font-weight:200;padding:10px;.TournamentRuleRow:where(.svelte-gxy8gu) {display:flex;gap:10px;margin:6px;.RuleText:where(.svelte-gxy8gu) {align-self:center;}.RuleIcon:where(.svelte-gxy8gu) {min-width:24px;min-height:24px;}}}}`};function ot(r,n){var Oe,Re;e.push(n,!0),e.append_styles(r,f2);const t=()=>e.store_get(e.$format,"$_",i),[i,o]=e.setup_stores(),s=e.prop(n,"initialState"),a=e.prop(n,"endpoint"),l=e.prop(n,"language",7,"en"),c=e.prop(n,"session"),h=e.prop(n,"tournamentid"),y=e.prop(n,"gamesLimit",7,6),w=e.prop(n,"platformProp",7,null),_=e.prop(n,"translationurl");jt({withLocale:"en",translations:{}});const M=()=>{let u=new URL(_());fetch(u.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(x=>{Ze(x,v[x])})}).catch(v=>{console.log(v)})};Object.keys(ze).forEach(u=>{Ze(u,ze[u])}),De(l());const F=()=>{De(l())};e.user_effect(()=>{F()}),e.user_pre_effect(()=>{_()&&M()});const g=Yt()?(Oe=w())!=null?Oe:"dk":it(window.navigator.userAgent);let m=e.state(e.proxy(((Re=s())==null?void 0:Re.tournament)||null)),H=e.state(!1),A=e.state(e.proxy([])),V=e.state(void 0),te=e.state(void 0),W=e.state(!1),j=e.state(!1),G=e.state(!1),q=e.state(""),B=e.state(void 0),L=e.state(void 0),Z=e.state(e.proxy([])),N=e.state(""),P=e.state(!1);const ne=()=>{e.set(N,e.get(L)?Je.generateCasinoRule(t(),e.get(L)):"",!0),e.set(Z,e.get(B)?Je.generateSportsRule(t(),e.get(B)):[],!0)},re=()=>Ve(this,null,function*(){e.set(H,!0);const u=new URL(`${a()}/v1/tournaments/${h()}`),v=new Headers;c()&&v.append("X-SessionId",c());const x={method:"GET",headers:v};u.searchParams.append("language",l()),u.searchParams.append("expand","games"),u.searchParams.append("pagination",`games(limit=${y()},offset=0)`),u.searchParams.append("platform",g),fetch(u,x).then(d=>d.json()).then(d=>{var C,ie,D,S,z,I,U;e.set(m,d==null?void 0:d.item,!0),e.set(A,(ie=(C=d==null?void 0:d.item)==null?void 0:C.games)==null?void 0:ie.items,!0),e.set(V,(S=(D=d==null?void 0:d.item)==null?void 0:D.games)==null?void 0:S.total,!0),e.set(te,(z=d==null?void 0:d.item)==null?void 0:z.metadata,!0),e.set(L,(I=d==null?void 0:d.item)==null?void 0:I.wallet.casino,!0),e.set(B,(U=d==null?void 0:d.item)==null?void 0:U.wallet.sports,!0),(e.get(B)||e.get(L))&&ne()}).catch(d=>console.log(d)).finally(()=>{e.set(H,!1)})}),st=()=>{fetch(`${a()}/tournaments/${e.get(m).id}`,{headers:{"X-SessionID":c()}}).then(u=>u.json()).then(u=>{var v;(v=u==null?void 0:u.item)!=null&&v.playerEnrolled?e.set(j,!0):(e.set(G,!0),e.set(q,u.errorMessage,!0))}).catch(u=>console.log(u))},at=()=>{e.set(W,!0);const u=new URL(`${a()}/v1/bonus/claim`);u.searchParams.append("language",l()),u.searchParams.append("platform",g);const v=new Headers;v.append("Content-Type","application/json"),v.append("X-SessionID",c());let x={};e.get(m).wallets&&e.get(m).wallets.length>0&&(x={language:l(),bonusCode:e.get(m).wallets[0].code,currency:e.get(m).baseCurrency,type:"tournament"});const d={method:"PUT",headers:v,body:JSON.stringify(x)};fetch(u,d).then(C=>C.json()).then(C=>{C&&(C.success==!0?e.set(j,!0):C.errorMessage.match("VersionMismatchException")&&st())}).catch(C=>{console.log(C),e.set(G,!0),e.set(q,C.errorMessage,!0)}).finally(()=>e.set(W,!1))},lt=()=>{e.set(P,!e.get(P))};e.onMount(()=>{s()||c()&&h()&&a()&&re()});var ut={get initialState(){return s()},set initialState(u){s(u),e.flushSync()},get endpoint(){return a()},set endpoint(u){a(u),e.flushSync()},get language(){return l()},set language(u="en"){l(u),e.flushSync()},get session(){return c()},set session(u){c(u),e.flushSync()},get tournamentid(){return h()},set tournamentid(u){h(u),e.flushSync()},get gamesLimit(){return y()},set gamesLimit(u=6){y(u),e.flushSync()},get platformProp(){return w()},set platformProp(u=null){w(u),e.flushSync()},get translationurl(){return _()},set translationurl(u){_(u),e.flushSync()}},le=m2(),Me=e.child(le);{var ct=u=>{var v=d2(),x=e.first_child(v),d=e.child(x);e.template_effect(()=>e.set_custom_element_data(d,"tournament",e.get(m))),e.template_effect(()=>e.set_custom_element_data(d,"language",l())),e.template_effect(()=>e.set_custom_element_data(d,"enrolled",e.get(m).playerEnrolled)),e.template_effect(()=>e.set_custom_element_data(d,"translationurl",_())),e.set_class(d,1,"svelte-gxy8gu");var C=e.sibling(d,2);{var ie=O=>{var T=s2();T.__click=at;var X=e.child(T);{var Y=R=>{var $=o2();e.append(R,$)},ue=R=>{var $=e.text();e.template_effect(ce=>e.set_text($,ce),[()=>t()("joinButton")]),e.append(R,$)};e.if_block(X,R=>{e.get(W)?R(Y):R(ue,!1)})}e.reset(T),e.template_effect(()=>{e.set_class(T,1,`ButtonPrimary ${e.get(m).playerEnrolled||e.get(j)?"Enrolled":""}`,"svelte-gxy8gu"),T.disabled=e.get(m).playerEnrolled||e.get(j)}),e.append(O,T)};e.if_block(C,O=>{!e.get(m).playerEnrolled&&e.get(m).state!=="Closed"&&O(ie)})}e.reset(x);var D=e.sibling(x,2),S=e.child(D);e.template_effect(()=>e.set_custom_element_data(S,"endpoint",a())),e.template_effect(()=>e.set_custom_element_data(S,"language",l())),e.template_effect(()=>e.set_custom_element_data(S,"session",c())),e.template_effect(()=>e.set_custom_element_data(S,"tournamentid",h())),e.template_effect(()=>e.set_custom_element_data(S,"platform",g)),e.template_effect(()=>e.set_custom_element_data(S,"translationurl",_())),e.set_class(S,1,"svelte-gxy8gu"),e.reset(D);var z=e.sibling(D,2),I=e.child(z);I.__click=lt;var U=e.child(I),ft=e.child(U,!0);e.reset(U);var ht=e.sibling(U,2);e.reset(I);var vt=e.sibling(I,2);{var gt=O=>{var T=c2(),X=e.child(T),Y=e.child(X),ue=e.child(Y);e.reset(Y);var R=e.sibling(Y,2),$=e.child(R);{var ce=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.mostRounds")),e.append(p,f)};e.if_block($,p=>{e.get(m).scoreCriteria=="BetCount"&&p(ce)})}var Be=e.sibling($,2);{var yt=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.winStakeRatio")),e.append(p,f)};e.if_block(Be,p=>{e.get(m).scoreCriteria=="WinStakeRatio"&&p(yt)})}var Le=e.sibling(Be,2);{var bt=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.maxWinStakeRatio")),e.append(p,f)};e.if_block(Le,p=>{e.get(m).scoreCriteria=="MaxWinStakeRatio"&&p(bt)})}var Pe=e.sibling(Le,2);{var _t=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.stake")),e.append(p,f)};e.if_block(Pe,p=>{e.get(m).scoreCriteria=="Stake"&&p(_t)})}var Ie=e.sibling(Pe,2);{var Ct=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.win")),e.append(p,f)};e.if_block(Ie,p=>{e.get(m).scoreCriteria=="Win"&&p(Ct)})}var wt=e.sibling(Ie,2);{var xt=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.winBetCount")),e.append(p,f)};e.if_block(wt,p=>{e.get(m).scoreCriteria=="WinBetCount"&&p(xt)})}e.reset(R),e.reset(X);var de=e.sibling(X,2),pe=e.child(de),St=e.child(pe);e.reset(pe);var je=e.sibling(pe,2),kt=e.child(je);e.html(kt,()=>t()("miniBetCount",{values:{betCount:e.get(m).minBetCount}})),e.reset(je),e.reset(de);var me=e.sibling(de,2),fe=e.child(me),Tt=e.child(fe);e.reset(fe);var $e=e.sibling(fe,2),Mt=e.child($e);e.html(Mt,()=>t()("timePeriod",{values:{startTime:Ye(e.get(m).startTime),endTime:Ye(e.get(m).endTime)}})),e.reset($e),e.reset(me);var he=e.sibling(me,2),ve=e.child(he),Ot=e.child(ve);e.reset(ve);var He=e.sibling(ve,2),Rt=e.child(He);e.html(Rt,()=>t()("terms",{values:{tcUrl:e.get(m).termsUrl||"#"}})),e.reset(He),e.reset(he);var Ae=e.sibling(he,2);{var Et=p=>{var f=a2(),b=e.child(f),ge=e.child(b);e.reset(b);var J=e.sibling(b,2),K=e.child(J);e.html(K,()=>t()("forCasino"));var Q=e.sibling(K,2),ye=e.child(Q,!0);e.reset(Q),e.reset(J),e.reset(f),e.template_effect(()=>{e.set_attribute(ge,"src",Jt),e.set_text(ye,e.get(N))}),e.append(p,f)};e.if_block(Ae,p=>{e.get(L)&&p(Et)})}var Bt=e.sibling(Ae,2);{var Lt=p=>{var f=u2(),b=e.child(f),ge=e.child(b);e.reset(b);var J=e.sibling(b,2),K=e.child(J);e.html(K,()=>t()("forSportsbook"));var Q=e.sibling(K,2);e.each(Q,21,()=>e.get(Z),e.index,(ye,Pt)=>{var be=l2(),It=e.child(be,!0);e.reset(be),e.template_effect(()=>e.set_text(It,e.get(Pt))),e.append(ye,be)}),e.reset(Q),e.reset(J),e.reset(f),e.template_effect(()=>e.set_attribute(ge,"src",Kt)),e.append(p,f)};e.if_block(Bt,p=>{e.get(B)&&e.get(Z).length&&p(Lt)})}e.reset(T),e.template_effect(()=>{e.set_attribute(ue,"src",n2),e.set_attribute(St,"src",t2),e.set_attribute(Tt,"src",i2),e.set_attribute(Ot,"src",r2)}),e.append(O,T)};e.if_block(vt,O=>{e.get(P)&&O(gt)})}e.reset(z);var Ee=e.sibling(z,2),k=e.child(Ee);e.template_effect(()=>e.set_custom_element_data(k,"endpoint",a())),e.template_effect(()=>e.set_custom_element_data(k,"language",l())),e.template_effect(()=>e.set_custom_element_data(k,"session",c())),e.template_effect(()=>e.set_custom_element_data(k,"tournamentid",h())),e.template_effect(()=>e.set_custom_element_data(k,"platform",g)),e.template_effect(()=>e.set_custom_element_data(k,"initialGames",e.get(A))),e.template_effect(()=>e.set_custom_element_data(k,"totalGames",e.get(V))),e.template_effect(()=>e.set_custom_element_data(k,"tournamentMetadata",e.get(te)||{})),e.template_effect(()=>e.set_custom_element_data(k,"translationurl",_())),e.set_class(k,1,"svelte-gxy8gu"),e.reset(Ee),e.template_effect(O=>{e.set_attribute(I,"aria-expanded",e.get(P)),e.set_text(ft,O),e.set_attribute(ht,"src",e.get(P)?Qt:e2)},[()=>t()("rules")]),e.append(u,v)};e.if_block(Me,u=>{e.get(m)&&u(ct)})}var dt=e.sibling(Me,2);{var pt=u=>{var v=p2();e.append(u,v)};e.if_block(dt,u=>{e.get(H)&&u(pt)})}e.reset(le),e.append(r,le);var mt=e.pop(ut);return o(),mt}e.delegate(["click"]);customElements.define("tournament-details-page",e.create_custom_element(ot,{initialState:{},endpoint:{},language:{},session:{},tournamentid:{},gamesLimit:{},platformProp:{},translationurl:{}},[],[],!1));const h2=Object.freeze(Object.defineProperty({__proto__:null,default:ot},Symbol.toStringTag,{value:"Module"}));exports.TournamentDetailsPage_ce=h2;exports.getDevice=it;
|
|
59
|
+
}.TournamentRulesWrapper.svelte-gxy8gu {border:1px solid var(--emw-color-bg-secondary, #333232);border-radius:4px;overflow:hidden;min-height:40px;.TournamentRulesHeader:where(.svelte-gxy8gu) {width:100%;padding:10px;background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-weight:500;font-size:14px;border:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1rem;transition:background 0.2s;}.TournamentRulesHeader:where(.svelte-gxy8gu):hover {background:var(--emw-color-bg-elements, #4A4A4A);}.TournamentRulesHeader:where(.svelte-gxy8gu):active {background-color:var(--emw-color-bg-secondary, #333232);}.Icon:where(.svelte-gxy8gu) {width:15px;height:15px;}.TournamemntRulesContent:where(.svelte-gxy8gu) {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-size:12px;font-weight:200;padding:10px;.TournamentRuleRow:where(.svelte-gxy8gu) {display:flex;gap:10px;margin:6px;.RuleText:where(.svelte-gxy8gu) {align-self:center;}.RuleIcon:where(.svelte-gxy8gu) {min-width:24px;min-height:24px;}}}}`};function ot(r,n){var Oe,Re;e.push(n,!0),e.append_styles(r,f2);const t=()=>e.store_get(e.$format,"$_",i),[i,o]=e.setup_stores(),s=e.prop(n,"initialState"),a=e.prop(n,"endpoint"),l=e.prop(n,"language",7,"en"),c=e.prop(n,"session"),h=e.prop(n,"tournamentid"),y=e.prop(n,"gamesLimit",7,6),w=e.prop(n,"platformProp",7,null),_=e.prop(n,"translationurl");jt({withLocale:"en",translations:{}});const M=()=>{let u=new URL(_());fetch(u.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(x=>{De(x,v[x])})}).catch(v=>{console.log(v)})};Object.keys(Ze).forEach(u=>{De(u,Ze[u])}),ze(l());const F=()=>{ze(l())};e.user_effect(()=>{F()}),e.user_pre_effect(()=>{_()&&M()});const g=Yt()?(Oe=w())!=null?Oe:"dk":it(window.navigator.userAgent);let m=e.state(e.proxy(((Re=s())==null?void 0:Re.tournament)||null)),H=e.state(!1),A=e.state(e.proxy([])),V=e.state(void 0),te=e.state(void 0),W=e.state(!1),j=e.state(!1),G=e.state(!1),q=e.state(""),B=e.state(void 0),P=e.state(void 0),D=e.state(e.proxy([])),N=e.state(""),L=e.state(!1);const ne=()=>{e.set(N,e.get(P)?Je.generateCasinoRule(t(),e.get(P)):"",!0),e.set(D,e.get(B)?Je.generateSportsRule(t(),e.get(B)):[],!0)},re=()=>Ve(this,null,function*(){e.set(H,!0);const u=new URL(`${a()}/v1/tournaments/${h()}`),v=new Headers;c()&&v.append("X-SessionId",c());const x={method:"GET",headers:v};u.searchParams.append("language",l()),u.searchParams.append("expand","games"),u.searchParams.append("pagination",`games(limit=${y()},offset=0)`),u.searchParams.append("platform",g),fetch(u,x).then(d=>d.json()).then(d=>{var C,ie,z,S,Z,I,U;e.set(m,d==null?void 0:d.item,!0),e.set(A,(ie=(C=d==null?void 0:d.item)==null?void 0:C.games)==null?void 0:ie.items,!0),e.set(V,(S=(z=d==null?void 0:d.item)==null?void 0:z.games)==null?void 0:S.total,!0),e.set(te,(Z=d==null?void 0:d.item)==null?void 0:Z.metadata,!0),e.set(P,(I=d==null?void 0:d.item)==null?void 0:I.wallet.casino,!0),e.set(B,(U=d==null?void 0:d.item)==null?void 0:U.wallet.sports,!0),(e.get(B)||e.get(P))&&ne()}).catch(d=>console.log(d)).finally(()=>{e.set(H,!1)})}),st=()=>{fetch(`${a()}/tournaments/${e.get(m).id}`,{headers:{"X-SessionID":c()}}).then(u=>u.json()).then(u=>{var v;(v=u==null?void 0:u.item)!=null&&v.playerEnrolled?e.set(j,!0):(e.set(G,!0),e.set(q,u.errorMessage,!0))}).catch(u=>console.log(u))},at=()=>{e.set(W,!0);const u=new URL(`${a()}/v1/bonus/claim`);u.searchParams.append("language",l()),u.searchParams.append("platform",g);const v=new Headers;v.append("Content-Type","application/json"),v.append("X-SessionID",c());let x={};e.get(m).wallets&&e.get(m).wallets.length>0&&(x={language:l(),bonusCode:e.get(m).wallets[0].code,currency:e.get(m).baseCurrency,type:"tournament"});const d={method:"PUT",headers:v,body:JSON.stringify(x)};fetch(u,d).then(C=>C.json()).then(C=>{C&&(C.success==!0?e.set(j,!0):C.errorMessage.match("VersionMismatchException")&&st())}).catch(C=>{console.log(C),e.set(G,!0),e.set(q,C.errorMessage,!0)}).finally(()=>e.set(W,!1))},lt=()=>{e.set(L,!e.get(L))};e.onMount(()=>{s()||c()&&h()&&a()&&re()});var ut={get initialState(){return s()},set initialState(u){s(u),e.flushSync()},get endpoint(){return a()},set endpoint(u){a(u),e.flushSync()},get language(){return l()},set language(u="en"){l(u),e.flushSync()},get session(){return c()},set session(u){c(u),e.flushSync()},get tournamentid(){return h()},set tournamentid(u){h(u),e.flushSync()},get gamesLimit(){return y()},set gamesLimit(u=6){y(u),e.flushSync()},get platformProp(){return w()},set platformProp(u=null){w(u),e.flushSync()},get translationurl(){return _()},set translationurl(u){_(u),e.flushSync()}},le=m2(),Me=e.child(le);{var ct=u=>{var v=d2(),x=e.first_child(v),d=e.child(x);e.template_effect(()=>e.set_custom_element_data(d,"tournament",e.get(m))),e.template_effect(()=>e.set_custom_element_data(d,"language",l())),e.template_effect(()=>e.set_custom_element_data(d,"enrolled",e.get(m).playerEnrolled)),e.template_effect(()=>e.set_custom_element_data(d,"translationurl",_())),e.set_class(d,1,"svelte-gxy8gu");var C=e.sibling(d,2);{var ie=O=>{var T=s2();T.__click=at;var X=e.child(T);{var Y=R=>{var $=o2();e.append(R,$)},ue=R=>{var $=e.text();e.template_effect(ce=>e.set_text($,ce),[()=>t()("joinButton")]),e.append(R,$)};e.if_block(X,R=>{e.get(W)?R(Y):R(ue,!1)})}e.reset(T),e.template_effect(()=>{e.set_class(T,1,`ButtonPrimary ${e.get(m).playerEnrolled||e.get(j)?"Enrolled":""}`,"svelte-gxy8gu"),T.disabled=e.get(m).playerEnrolled||e.get(j)}),e.append(O,T)};e.if_block(C,O=>{!e.get(m).playerEnrolled&&e.get(m).state!=="Closed"&&O(ie)})}e.reset(x);var z=e.sibling(x,2),S=e.child(z);e.template_effect(()=>e.set_custom_element_data(S,"endpoint",a())),e.template_effect(()=>e.set_custom_element_data(S,"language",l())),e.template_effect(()=>e.set_custom_element_data(S,"session",c())),e.template_effect(()=>e.set_custom_element_data(S,"tournamentid",h())),e.template_effect(()=>e.set_custom_element_data(S,"platform",g)),e.template_effect(()=>e.set_custom_element_data(S,"translationurl",_())),e.set_class(S,1,"svelte-gxy8gu"),e.reset(z);var Z=e.sibling(z,2),I=e.child(Z);I.__click=lt;var U=e.child(I),ft=e.child(U,!0);e.reset(U);var ht=e.sibling(U,2);e.reset(I);var vt=e.sibling(I,2);{var gt=O=>{var T=c2(),X=e.child(T),Y=e.child(X),ue=e.child(Y);e.reset(Y);var R=e.sibling(Y,2),$=e.child(R);{var ce=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.mostRounds")),e.append(p,f)};e.if_block($,p=>{e.get(m).scoreCriteria=="BetCount"&&p(ce)})}var Be=e.sibling($,2);{var yt=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.winStakeRatio")),e.append(p,f)};e.if_block(Be,p=>{e.get(m).scoreCriteria=="WinStakeRatio"&&p(yt)})}var Pe=e.sibling(Be,2);{var bt=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.maxWinStakeRatio")),e.append(p,f)};e.if_block(Pe,p=>{e.get(m).scoreCriteria=="MaxWinStakeRatio"&&p(bt)})}var Le=e.sibling(Pe,2);{var _t=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.stake")),e.append(p,f)};e.if_block(Le,p=>{e.get(m).scoreCriteria=="Stake"&&p(_t)})}var Ie=e.sibling(Le,2);{var Ct=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.win")),e.append(p,f)};e.if_block(Ie,p=>{e.get(m).scoreCriteria=="Win"&&p(Ct)})}var wt=e.sibling(Ie,2);{var xt=p=>{var f=e.comment(),b=e.first_child(f);e.html(b,()=>t()("scoreCriteriaType.winBetCount")),e.append(p,f)};e.if_block(wt,p=>{e.get(m).scoreCriteria=="WinBetCount"&&p(xt)})}e.reset(R),e.reset(X);var de=e.sibling(X,2),pe=e.child(de),St=e.child(pe);e.reset(pe);var je=e.sibling(pe,2),kt=e.child(je);e.html(kt,()=>t()("miniBetCount",{values:{betCount:e.get(m).minBetCount}})),e.reset(je),e.reset(de);var me=e.sibling(de,2),fe=e.child(me),Tt=e.child(fe);e.reset(fe);var $e=e.sibling(fe,2),Mt=e.child($e);e.html(Mt,()=>t()("timePeriod",{values:{startTime:Ye(e.get(m).startTime),endTime:Ye(e.get(m).endTime)}})),e.reset($e),e.reset(me);var he=e.sibling(me,2),ve=e.child(he),Ot=e.child(ve);e.reset(ve);var He=e.sibling(ve,2),Rt=e.child(He);e.html(Rt,()=>t()("terms",{values:{tcUrl:e.get(m).termsUrl||"#"}})),e.reset(He),e.reset(he);var Ae=e.sibling(he,2);{var Et=p=>{var f=a2(),b=e.child(f),ge=e.child(b);e.reset(b);var J=e.sibling(b,2),K=e.child(J);e.html(K,()=>t()("forCasino"));var Q=e.sibling(K,2),ye=e.child(Q,!0);e.reset(Q),e.reset(J),e.reset(f),e.template_effect(()=>{e.set_attribute(ge,"src",Jt),e.set_text(ye,e.get(N))}),e.append(p,f)};e.if_block(Ae,p=>{e.get(P)&&p(Et)})}var Bt=e.sibling(Ae,2);{var Pt=p=>{var f=u2(),b=e.child(f),ge=e.child(b);e.reset(b);var J=e.sibling(b,2),K=e.child(J);e.html(K,()=>t()("forSportsbook"));var Q=e.sibling(K,2);e.each(Q,21,()=>e.get(D),e.index,(ye,Lt)=>{var be=l2(),It=e.child(be,!0);e.reset(be),e.template_effect(()=>e.set_text(It,e.get(Lt))),e.append(ye,be)}),e.reset(Q),e.reset(J),e.reset(f),e.template_effect(()=>e.set_attribute(ge,"src",Kt)),e.append(p,f)};e.if_block(Bt,p=>{e.get(B)&&e.get(D).length&&p(Pt)})}e.reset(T),e.template_effect(()=>{e.set_attribute(ue,"src",n2),e.set_attribute(St,"src",t2),e.set_attribute(Tt,"src",i2),e.set_attribute(Ot,"src",r2)}),e.append(O,T)};e.if_block(vt,O=>{e.get(L)&&O(gt)})}e.reset(Z);var Ee=e.sibling(Z,2),k=e.child(Ee);e.template_effect(()=>e.set_custom_element_data(k,"endpoint",a())),e.template_effect(()=>e.set_custom_element_data(k,"language",l())),e.template_effect(()=>e.set_custom_element_data(k,"session",c())),e.template_effect(()=>e.set_custom_element_data(k,"tournamentid",h())),e.template_effect(()=>e.set_custom_element_data(k,"platform",g)),e.template_effect(()=>e.set_custom_element_data(k,"initialGames",e.get(A))),e.template_effect(()=>e.set_custom_element_data(k,"totalGames",e.get(V))),e.template_effect(()=>e.set_custom_element_data(k,"tournamentMetadata",e.get(te)||{})),e.template_effect(()=>e.set_custom_element_data(k,"translationurl",_())),e.set_class(k,1,"svelte-gxy8gu"),e.reset(Ee),e.template_effect(O=>{e.set_attribute(I,"aria-expanded",e.get(L)),e.set_text(ft,O),e.set_attribute(ht,"src",e.get(L)?Qt:e2)},[()=>t()("rules")]),e.append(u,v)};e.if_block(Me,u=>{e.get(m)&&u(ct)})}var dt=e.sibling(Me,2);{var pt=u=>{var v=p2();e.append(u,v)};e.if_block(dt,u=>{e.get(H)&&u(pt)})}e.reset(le),e.append(r,le);var mt=e.pop(ut);return o(),mt}e.delegate(["click"]);customElements.define("tournament-details-page",e.create_custom_element(ot,{initialState:{},endpoint:{},language:{},session:{},tournamentid:{},gamesLimit:{},platformProp:{},translationurl:{}},[],[],!1));const h2=Object.freeze(Object.defineProperty({__proto__:null,default:ot},Symbol.toStringTag,{value:"Module"}));exports.TournamentDetailsPage_ce=h2;exports.getDevice=it;
|