@everymatrix/casino-tournaments-list-controller 1.98.8 → 1.98.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/{CasinoTournamentsListController-E9IBNmVp.js → CasinoTournamentsListController-8abNLUmc.js} +108 -102
- package/components/{CasinoTournamentsListController-EWXPXNCD.cjs → CasinoTournamentsListController-ChZCA8s1.cjs} +5 -5
- package/components/{CasinoTournamentsListController-DTrukRfV.js → CasinoTournamentsListController-DU-wBQ6s.js} +7 -1
- package/components/{CasinoTournamentsThumbnail-Dc69pTW_.cjs → CasinoTournamentsThumbnail-BV0LbN2E.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-B44JtFRT.js → CasinoTournamentsThumbnail-BeGvrf7Z.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-nwKsQue0.js → CasinoTournamentsThumbnail-CVJEECYo.js} +1 -1
- package/components/{CasinoTournamentsThumbnailController-DbMfE7gh.js → CasinoTournamentsThumbnailController-BBhAWZSh.js} +163 -147
- package/components/CasinoTournamentsThumbnailController-B_t_k14i.cjs +16 -0
- package/components/{CasinoTournamentsThumbnailController-0EoAp-os.js → CasinoTournamentsThumbnailController-dwBkEvek.js} +77 -61
- package/components/{CasinoTournamentsThumbnailDuration-DbvHuds7.cjs → CasinoTournamentsThumbnailDuration-2R1e9PUS.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-Cym7PQKc.js → CasinoTournamentsThumbnailDuration-BxMu7jwh.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-8rwZvTe4.js → CasinoTournamentsThumbnailDuration-Wzy7eqUi.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Brx7_hMB.cjs → CasinoTournamentsThumbnailGamesSlider-CPwAyf6P.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-XwnU5M9s.js → CasinoTournamentsThumbnailGamesSlider-DFkBgWsW.js} +2 -2
- package/components/{CasinoTournamentsThumbnailGamesSlider-WKBp0CoX.js → CasinoTournamentsThumbnailGamesSlider-DXxAqj-s.js} +2 -2
- package/components/{CasinoTournamentsThumbnailPrizes-BPSYkUHx.js → CasinoTournamentsThumbnailPrizes-Cu_NWe7L.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CkEoWshh.cjs → CasinoTournamentsThumbnailPrizes-DUmdUpW_.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CFEsJVu1.js → CasinoTournamentsThumbnailPrizes-rl18zrEQ.js} +1 -1
- package/es2015/casino-tournaments-list-controller.cjs +1 -1
- package/es2015/casino-tournaments-list-controller.js +1 -1
- package/esnext/casino-tournaments-list-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsThumbnailController-TknmAKvL.cjs +0 -16
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";var ne=(i,t,e)=>new Promise((r,o)=>{var s=c=>{try{u(e.next(c))}catch(p){o(p)}},a=c=>{try{u(e.throw(c))}catch(p){o(p)}},u=c=>c.done?r(c.value):Promise.resolve(c.value).then(s,a);u((e=e.apply(i,t)).next())});const n=require("./CasinoTournamentsListController-ChZCA8s1.cjs");/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */var ie=function(i,t){return ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])},ie(i,t)};function C(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ie(i,t);function e(){this.constructor=i}i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function oe(i){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&i[t],r=0;if(e)return e.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&r>=i.length&&(i=void 0),{value:i&&i[r++],done:!i}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function se(i,t){var e=typeof Symbol=="function"&&i[Symbol.iterator];if(!e)return i;var r=e.call(i),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(u){a={error:u}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(a)throw a.error}}return s}function ae(i,t,e){if(arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return i.concat(s||t)}function S(i){return typeof i=="function"}function He(i){var t=function(r){Error.call(r),r.stack=new Error().stack},e=i(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var re=He(function(i){return function(e){i(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
15
|
+
`+e.map(function(r,o){return o+1+") "+r.toString()}).join(`
|
|
16
|
+
`):"",this.name="UnsubscriptionError",this.errors=e}});function le(i,t){if(i){var e=i.indexOf(t);0<=e&&i.splice(e,1)}}var N=function(){function i(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return i.prototype.unsubscribe=function(){var t,e,r,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=oe(a),c=u.next();!c.done;c=u.next()){var p=c.value;p.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(S(h))try{h()}catch(_){s=_ instanceof re?_.errors:[_]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=oe(f),g=d.next();!g.done;g=d.next()){var m=g.value;try{Pe(m)}catch(_){s=s!=null?s:[],_ instanceof re?s=ae(ae([],se(s)),se(_.errors)):s.push(_)}}}catch(_){r={error:_}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}if(s)throw new re(s)}},i.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Pe(t);else{if(t instanceof i){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},i.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},i.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},i.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&le(e,t)},i.prototype.remove=function(t){var e=this._finalizers;e&&le(e,t),t instanceof i&&t._removeParent(this)},i.EMPTY=function(){var t=new i;return t.closed=!0,t}(),i}(),Ge=N.EMPTY;function Ne(i){return i instanceof N||i&&"closed"in i&&S(i.remove)&&S(i.add)&&S(i.unsubscribe)}function Pe(i){S(i)?i():i.unsubscribe()}var at={Promise:void 0},lt={setTimeout:function(i,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setTimeout.apply(void 0,ae([i,t],se(e)))},clearTimeout:function(i){return clearTimeout(i)},delegate:void 0};function ut(i){lt.setTimeout(function(){throw i})}function Ce(){}function G(i){i()}var Xe=function(i){C(t,i);function t(e){var r=i.call(this)||this;return r.isStopped=!1,e?(r.destination=e,Ne(e)&&e.add(r)):r.destination=dt,r}return t.create=function(e,r,o){return new ue(e,r,o)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,i.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(N),ct=function(){function i(t){this.partialObserver=t}return i.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(r){H(r)}},i.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(r){H(r)}else H(t)},i.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){H(e)}},i}(),ue=function(i){C(t,i);function t(e,r,o){var s=i.call(this)||this,a;return S(e)||!e?a={next:e!=null?e:void 0,error:r!=null?r:void 0,complete:o!=null?o:void 0}:a=e,s.destination=new ct(a),s}return t}(Xe);function H(i){ut(i)}function ft(i){throw i}var dt={closed:!0,next:Ce,error:ft,complete:Ce},mt=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ht(i){return i}function pt(i){return i.length===0?ht:i.length===1?i[0]:function(e){return i.reduce(function(r,o){return o(r)},e)}}var Be=function(){function i(t){t&&(this._subscribe=t)}return i.prototype.lift=function(t){var e=new i;return e.source=this,e.operator=t,e},i.prototype.subscribe=function(t,e,r){var o=this,s=gt(t)?t:new ue(t,e,r);return G(function(){var a=o,u=a.operator,c=a.source;s.add(u?u.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(t,e){var r=this;return e=xe(e),new e(function(o,s){var a=new ue({next:function(u){try{t(u)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});r.subscribe(a)})},i.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},i.prototype[mt]=function(){return this},i.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return pt(t)(this)},i.prototype.toPromise=function(t){var e=this;return t=xe(t),new t(function(r,o){var s;e.subscribe(function(a){return s=a},function(a){return o(a)},function(){return r(s)})})},i.create=function(t){return new i(t)},i}();function xe(i){var t;return(t=i!=null?i:at.Promise)!==null&&t!==void 0?t:Promise}function _t(i){return i&&S(i.next)&&S(i.error)&&S(i.complete)}function gt(i){return i&&i instanceof Xe||_t(i)&&Ne(i)}var bt=He(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ye=function(i){C(t,i);function t(){var e=i.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var r=new Oe(this,this);return r.operator=e,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new bt},t.prototype.next=function(e){var r=this;G(function(){var o,s;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var a=oe(r.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(e)}}catch(p){o={error:p}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(e){var r=this;G(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=e;for(var o=r.observers;o.length;)o.shift().error(e)}})},t.prototype.complete=function(){var e=this;G(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var r=e.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),i.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var r=this,o=this,s=o.hasError,a=o.isStopped,u=o.observers;return s||a?Ge:(this.currentObservers=null,u.push(e),new N(function(){r.currentObservers=null,le(u,e)}))},t.prototype._checkFinalizedStatuses=function(e){var r=this,o=r.hasError,s=r.thrownError,a=r.isStopped;o?e.error(s):a&&e.complete()},t.prototype.asObservable=function(){var e=new Be;return e.source=this,e},t.create=function(e,r){return new Oe(e,r)},t}(Be),Oe=function(i){C(t,i);function t(e,r){var o=i.call(this)||this;return o.destination=e,o.source=r,o}return t.prototype.next=function(e){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,e)},t.prototype.error=function(e){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,e)},t.prototype.complete=function(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)},t.prototype._subscribe=function(e){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&o!==void 0?o:Ge},t}(Ye),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},yt=function(i){C(t,i);function t(e,r,o){e===void 0&&(e=1/0),r===void 0&&(r=1/0),o===void 0&&(o=Ke);var s=i.call(this)||this;return s._bufferSize=e,s._windowTime=r,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=r===1/0,s._bufferSize=Math.max(1,e),s._windowTime=Math.max(1,r),s}return t.prototype.next=function(e){var r=this,o=r.isStopped,s=r._buffer,a=r._infiniteTimeWindow,u=r._timestampProvider,c=r._windowTime;o||(s.push(e),!a&&s.push(u.now()+c)),this._trimBuffer(),i.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(e),o=this,s=o._infiniteTimeWindow,a=o._buffer,u=a.slice(),c=0;c<u.length&&!e.closed;c+=s?1:2)e.next(u[c]);return this._checkFinalizedStatuses(e),r},t.prototype._trimBuffer=function(){var e=this,r=e._bufferSize,o=e._timestampProvider,s=e._buffer,a=e._infiniteTimeWindow,u=(a?1:2)*r;if(r<1/0&&u<s.length&&s.splice(0,s.length-u),!a){for(var c=o.now(),p=0,h=1;h<s.length&&s[h]<=c;h+=2)p=h;p&&s.splice(0,p+1)}},t}(Ye);const Ae=[],De={},wt=(i,t=0)=>{if(Ae.indexOf(i)==-1){const e=new yt(t);De[i]=e,Ae.push(i)}return De[i]};window.emWidgets={topic:wt};const ce=i=>i.toLowerCase().match(/android/i)?"Android":i.toLowerCase().match(/iphone/i)?"iPhone":i.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;function vt({withLocale:i,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(i))})}function Le(i,t){n.addMessages(i,t)}function kt(i){n.$locale.set(i)}const Ie={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"},ru:{login:"Войти",register:"Регистрация",details:"Подробности",enrolled:"Записан",join:"Участвовать",joinerror:"Произошла ошибка при регистрации на турнир, пожалуйста, попробуйте снова."},az:{login:"Daxil ol",register:"Qeydiyyat",details:"Ətraflı",enrolled:"Qeydiyyatdan keçib",join:"Qoşul",joinerror:"Turnirə qeydiyyat zamanı xəta baş verdi, zəhmət olmasa yenidən cəhd edin."},"en-us":{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}};if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-BV0LbN2E.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-2R1e9PUS.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-DUmdUpW_.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...e){try{return t.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-CPwAyf6P.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function St(i){n.append_styles(i,"svelte-1oqyfnf",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .SkeletonRectangle.Skeleton,.Loading .TournamentPrizes .SkeletonRectangle.Skeleton,.Loading .TournamentsGamesSlider .SkeletonRectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}')}function Tt(i){let t,e,r,o,s,a,u,c=i[26]&&Me(i);function p(m,_){if(!m[16])return zt;if(m[25]!="Closed"&&m[25]!="Closing")return jt;if(m[3]=="true")return Et}let h=p(i),f=h&&h(i),d=(i[19]||i[21])&&Je(i),g=i[4]=="true"&&We(i);return{c(){c&&c.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-duration"),r=n.space(),o=n.element("div"),f&&f.c(),s=n.space(),d&&d.c(),a=n.space(),g&&g.c(),u=n.empty(),n.set_custom_element_data(e,"clientstyling",i[11]),n.set_custom_element_data(e,"clientstylingurl",i[12]),n.set_custom_element_data(e,"translationurl",i[13]),n.set_custom_element_data(e,"status",i[25]),n.set_custom_element_data(e,"startdate",i[23]),n.set_custom_element_data(e,"lang",i[8]),n.set_custom_element_data(e,"mbsource",i[14]),n.set_custom_element_data(e,"enddate",i[24]),n.set_custom_element_data(e,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"),n.attr(o,"class","TournamentButtons"),n.attr(o,"part","TournamentButtons")},m(m,_){c&&c.m(m,_),n.insert(m,t,_),n.insert(m,e,_),n.insert(m,r,_),n.insert(m,o,_),f&&f.m(o,null),n.insert(m,s,_),d&&d.m(m,_),n.insert(m,a,_),g&&g.m(m,_),n.insert(m,u,_)},p(m,_){m[26]?c?c.p(m,_):(c=Me(m),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),_[0]&2048&&n.set_custom_element_data(e,"clientstyling",m[11]),_[0]&4096&&n.set_custom_element_data(e,"clientstylingurl",m[12]),_[0]&8192&&n.set_custom_element_data(e,"translationurl",m[13]),_[0]&33554432&&n.set_custom_element_data(e,"status",m[25]),_[0]&8388608&&n.set_custom_element_data(e,"startdate",m[23]),_[0]&256&&n.set_custom_element_data(e,"lang",m[8]),_[0]&16384&&n.set_custom_element_data(e,"mbsource",m[14]),_[0]&16777216&&n.set_custom_element_data(e,"enddate",m[24]),h===(h=p(m))&&f?f.p(m,_):(f&&f.d(1),f=h&&h(m),f&&(f.c(),f.m(o,null))),m[19]||m[21]?d?d.p(m,_):(d=Je(m),d.c(),d.m(a.parentNode,a)):d&&(d.d(1),d=null),m[4]=="true"?g?g.p(m,_):(g=We(m),g.c(),g.m(u.parentNode,u)):g&&(g.d(1),g=null)},d(m){m&&(n.detach(t),n.detach(e),n.detach(r),n.detach(o),n.detach(s),n.detach(a),n.detach(u)),c&&c.d(m),f&&f.d(),d&&d.d(m),g&&g.d(m)}}}function Ft(i){let t,e,r;return{c(){t=n.element("div"),t.innerHTML='<div class="TournamentPrizesIconSection" part="TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton></div>',e=n.space(),r=n.element("div"),r.innerHTML='<ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton>',n.attr(t,"class","TournamentPrizes"),n.attr(t,"part","TournamentPrizes"),n.attr(r,"class","TournamentButtons"),n.attr(r,"part","TournamentButtons")},m(o,s){n.insert(o,t,s),n.insert(o,e,s),n.insert(o,r,s)},p:n.noop,d(o){o&&(n.detach(t),n.detach(e),n.detach(r))}}}function Me(i){let t,e,r,o;return{c(){t=n.element("casino-tournaments-thumbnail-prizes"),n.set_custom_element_data(t,"tourid",i[26]),n.set_custom_element_data(t,"clientstyling",i[11]),n.set_custom_element_data(t,"clientstylingurl",i[12]),n.set_custom_element_data(t,"mbsource",i[14]),n.set_custom_element_data(t,"translationurl",i[13]),n.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(s,a){n.insert(s,t,a),r||(o=n.action_destroyer(e=i[39].call(null,t,i[26])),r=!0)},p(s,a){a[0]&67108864&&n.set_custom_element_data(t,"tourid",s[26]),a[0]&2048&&n.set_custom_element_data(t,"clientstyling",s[11]),a[0]&4096&&n.set_custom_element_data(t,"clientstylingurl",s[12]),a[0]&16384&&n.set_custom_element_data(t,"mbsource",s[14]),a[0]&8192&&n.set_custom_element_data(t,"translationurl",s[13]),e&&n.is_function(e.update)&&a[0]&67108864&&e.update.call(null,s[26])},d(s){s&&n.detach(t),r=!1,o()}}}function Et(i){let t,e=i[34]("details")+"",r,o,s;return{c(){t=n.element("button"),r=n.text(e),n.attr(t,"class","DetailsLargeButton"),n.attr(t,"part","DetailsLargeButton")},m(a,u){n.insert(a,t,u),n.append(t,r),o||(s=n.listen(t,"click",function(){n.is_function(i[37].bind(this,i[26]))&&i[37].bind(this,i[26]).apply(this,arguments)}),o=!0)},p(a,u){i=a,u[1]&8&&e!==(e=i[34]("details")+"")&&n.set_data(r,e)},d(a){a&&n.detach(t),o=!1,s()}}}function jt(i){let t,e,r=i[3]=="true"&&Re(i);function o(u,c){return u[28]?Ct:Pt}let s=o(i),a=s(i);return{c(){r&&r.c(),t=n.space(),a.c(),e=n.empty()},m(u,c){r&&r.m(u,c),n.insert(u,t,c),a.m(u,c),n.insert(u,e,c)},p(u,c){u[3]=="true"?r?r.p(u,c):(r=Re(u),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),s===(s=o(u))&&a?a.p(u,c):(a.d(1),a=s(u),a&&(a.c(),a.m(e.parentNode,e)))},d(u){u&&(n.detach(t),n.detach(e)),r&&r.d(u),a.d(u)}}}function zt(i){let t,e=i[34]("login")+"",r,o,s,a=i[34]("register")+"",u,c,p;return{c(){t=n.element("button"),r=n.text(e),o=n.space(),s=n.element("button"),u=n.text(a),n.attr(t,"class","LoginButton"),n.attr(t,"part","LoginButton"),n.attr(s,"class","RegisterButton"),n.attr(s,"part","RegisterButton")},m(h,f){n.insert(h,t,f),n.append(t,r),n.insert(h,o,f),n.insert(h,s,f),n.append(s,u),c||(p=[n.listen(t,"click",i[35]),n.listen(s,"click",i[36])],c=!0)},p(h,f){f[1]&8&&e!==(e=h[34]("login")+"")&&n.set_data(r,e),f[1]&8&&a!==(a=h[34]("register")+"")&&n.set_data(u,a)},d(h){h&&(n.detach(t),n.detach(o),n.detach(s)),c=!1,n.run_all(p)}}}function Re(i){let t,e=i[34]("details")+"",r,o,s;return{c(){t=n.element("button"),r=n.text(e),n.attr(t,"class","DetailsButton"),n.attr(t,"part","DetailsButton")},m(a,u){n.insert(a,t,u),n.append(t,r),o||(s=n.listen(t,"click",function(){n.is_function(i[37].bind(this,i[26]))&&i[37].bind(this,i[26]).apply(this,arguments)}),o=!0)},p(a,u){i=a,u[1]&8&&e!==(e=i[34]("details")+"")&&n.set_data(r,e)},d(a){a&&n.detach(t),o=!1,s()}}}function Pt(i){let t,e,r,o,s;function a(p,h){return p[18]==!0?xt:Bt}let u=a(i),c=u(i);return{c(){t=n.element("button"),c.c(),n.attr(t,"class",e="JoinButton "+(i[7]?"JoinButtonFullSize":"")),n.attr(t,"part",r="JoinButton "+(i[7]?"JoinButtonFullSize":"")),t.disabled=i[19]},m(p,h){n.insert(p,t,h),c.m(t,null),o||(s=n.listen(t,"click",i[50]),o=!0)},p(p,h){u===(u=a(p))&&c?c.p(p,h):(c.d(1),c=u(p),c&&(c.c(),c.m(t,null))),h[0]&128&&e!==(e="JoinButton "+(p[7]?"JoinButtonFullSize":""))&&n.attr(t,"class",e),h[0]&128&&r!==(r="JoinButton "+(p[7]?"JoinButtonFullSize":""))&&n.attr(t,"part",r),h[0]&524288&&(t.disabled=p[19])},d(p){p&&n.detach(t),c.d(),o=!1,s()}}}function Ct(i){let t,e=i[3]=="true"&&Ue(i);return{c(){e&&e.c(),t=n.empty()},m(r,o){e&&e.m(r,o),n.insert(r,t,o)},p(r,o){r[3]=="true"?e?e.p(r,o):(e=Ue(r),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(r){r&&n.detach(t),e&&e.d(r)}}}function Bt(i){let t,e=i[34]("join")+"",r,o,s,a,u,c,p,h;return{c(){t=n.element("span"),r=n.text(e),o=n.space(),s=n.svg_element("svg"),a=n.svg_element("defs"),u=n.svg_element("style"),c=n.text(".a{fill:var(--emw--color-white, #FFFFFF);}"),p=n.svg_element("g"),h=n.svg_element("path"),n.attr(t,"part","JoinButtonSpan"),n.attr(h,"class","a"),n.attr(h,"part","a JoinButtonSvgA"),n.attr(h,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),n.attr(h,"transform","translate(26 26) rotate(180)"),n.attr(p,"transform","translate(26 26) rotate(180)"),n.attr(s,"part","JoinButtonSvg"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","26"),n.attr(s,"height","26"),n.attr(s,"viewBox","0 0 26 26")},m(f,d){n.insert(f,t,d),n.append(t,r),n.insert(f,o,d),n.insert(f,s,d),n.append(s,a),n.append(a,u),n.append(u,c),n.append(s,p),n.append(p,h)},p(f,d){d[1]&8&&e!==(e=f[34]("join")+"")&&n.set_data(r,e)},d(f){f&&(n.detach(t),n.detach(o),n.detach(s))}}}function xt(i){let t,e;return{c(){t=n.svg_element("svg"),e=n.svg_element("circle"),n.attr(e,"cx","20"),n.attr(e,"cy","20"),n.attr(e,"r","18"),n.attr(t,"class","spinner"),n.attr(t,"part","spinner")},m(r,o){n.insert(r,t,o),n.append(t,e)},p:n.noop,d(r){r&&n.detach(t)}}}function Ue(i){let t,e=i[34]("enrolled")+"",r;return{c(){t=n.element("button"),r=n.text(e),n.attr(t,"class","EnrolledButton"),n.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,s){n.insert(o,t,s),n.append(t,r)},p(o,s){s[1]&8&&e!==(e=o[34]("enrolled")+"")&&n.set_data(r,e)},d(o){o&&n.detach(t)}}}function Je(i){let t,e=i[34]("joinerror")+"",r,o,s;return{c(){t=n.element("span"),r=n.text(e),o=n.space(),s=n.text(i[20]),n.attr(t,"class","ErrorText"),n.attr(t,"part","ErrorText")},m(a,u){n.insert(a,t,u),n.append(t,r),n.append(t,o),n.append(t,s)},p(a,u){u[1]&8&&e!==(e=a[34]("joinerror")+"")&&n.set_data(r,e),u[0]&1048576&&n.set_data(s,a[20])},d(a){a&&n.detach(t)}}}function We(i){let t,e,r=i[17]&&qe();return{c(){r&&r.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-games-slider"),n.set_custom_element_data(e,"clientstyling",i[11]),n.set_custom_element_data(e,"clientstylingurl",i[12]),n.set_custom_element_data(e,"translationurl",i[13]),n.set_custom_element_data(e,"tournamenturl",i[2]),n.set_custom_element_data(e,"mbsource",i[14]),n.set_custom_element_data(e,"lang",i[8]),n.set_custom_element_data(e,"scrollby","2"),n.set_custom_element_data(e,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(o,s){r&&r.m(o,s),n.insert(o,t,s),n.insert(o,e,s)},p(o,s){o[17]?r||(r=qe(),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),s[0]&2048&&n.set_custom_element_data(e,"clientstyling",o[11]),s[0]&4096&&n.set_custom_element_data(e,"clientstylingurl",o[12]),s[0]&8192&&n.set_custom_element_data(e,"translationurl",o[13]),s[0]&4&&n.set_custom_element_data(e,"tournamenturl",o[2]),s[0]&16384&&n.set_custom_element_data(e,"mbsource",o[14]),s[0]&256&&n.set_custom_element_data(e,"lang",o[8])},d(o){o&&(n.detach(t),n.detach(e)),r&&r.d(o)}}}function qe(i){let t;return{c(){t=n.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="290px" height="80px"></ui-skeleton>',n.attr(t,"class","TournamentsGamesSlider")},m(e,r){n.insert(e,t,r)},d(e){e&&n.detach(t)}}}function Ot(i){let t,e,r,o,s,a,u;function c(f,d){return f[17]?Ft:Tt}let p=c(i),h=p(i);return{c(){t=n.element("div"),e=n.element("div"),r=n.element("casino-tournaments-thumbnail"),o=n.space(),h.c(),n.set_custom_element_data(r,"detailsevent",i[9]),n.set_custom_element_data(r,"userid",i[1]),n.set_custom_element_data(r,"title",i[22]),n.set_custom_element_data(r,"status",i[25]),n.set_custom_element_data(r,"startdate",i[23]),n.set_custom_element_data(r,"tourid",i[26]),n.set_custom_element_data(r,"scorecriteria",i[29]),n.set_custom_element_data(r,"minbetcount",i[30]),n.set_custom_element_data(r,"thumbnail",i[27]),n.set_custom_element_data(r,"showenrolled",i[5]),n.set_custom_element_data(r,"gameurl",i[32]),n.set_custom_element_data(r,"betcountmode",i[0]),n.set_custom_element_data(r,"mbsource",i[14]),n.set_custom_element_data(r,"userenrolled",i[28]),n.set_custom_element_data(r,"clientstyling",i[11]),n.set_custom_element_data(r,"clientstylingurl",i[12]),n.set_custom_element_data(r,"translationurl",i[13]),n.set_custom_element_data(r,"lang",i[8]),n.set_custom_element_data(r,"keepbrowsercontext",i[10]),n.set_custom_element_data(r,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),n.attr(e,"class",s="TournamentCard "+(i[6]?"CardMaxWidth":"")+(i[7]?"CardFullSize":"")+" "+(i[33]?"elementToFadeOut":"elementToFadeIn")),n.attr(e,"part",a="TournamentCard "+(i[6]?"CardMaxWidth":"")+(i[7]?"CardFullSize":"")+" "+(i[33]?"elementToFadeOut":"elementToFadeIn")+" "+(i[33]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"class",u=`${i[17]?"Loading":""}`)},m(f,d){n.insert(f,t,d),n.append(t,e),n.append(e,r),n.append(e,o),h.m(e,null),i[51](t)},p(f,d){d[0]&512&&n.set_custom_element_data(r,"detailsevent",f[9]),d[0]&2&&n.set_custom_element_data(r,"userid",f[1]),d[0]&4194304&&n.set_custom_element_data(r,"title",f[22]),d[0]&33554432&&n.set_custom_element_data(r,"status",f[25]),d[0]&8388608&&n.set_custom_element_data(r,"startdate",f[23]),d[0]&67108864&&n.set_custom_element_data(r,"tourid",f[26]),d[0]&536870912&&n.set_custom_element_data(r,"scorecriteria",f[29]),d[0]&1073741824&&n.set_custom_element_data(r,"minbetcount",f[30]),d[0]&134217728&&n.set_custom_element_data(r,"thumbnail",f[27]),d[0]&32&&n.set_custom_element_data(r,"showenrolled",f[5]),d[1]&2&&n.set_custom_element_data(r,"gameurl",f[32]),d[0]&1&&n.set_custom_element_data(r,"betcountmode",f[0]),d[0]&16384&&n.set_custom_element_data(r,"mbsource",f[14]),d[0]&268435456&&n.set_custom_element_data(r,"userenrolled",f[28]),d[0]&2048&&n.set_custom_element_data(r,"clientstyling",f[11]),d[0]&4096&&n.set_custom_element_data(r,"clientstylingurl",f[12]),d[0]&8192&&n.set_custom_element_data(r,"translationurl",f[13]),d[0]&256&&n.set_custom_element_data(r,"lang",f[8]),d[0]&1024&&n.set_custom_element_data(r,"keepbrowsercontext",f[10]),p===(p=c(f))&&h?h.p(f,d):(h.d(1),h=p(f),h&&(h.c(),h.m(e,null))),d[0]&192|d[1]&4&&s!==(s="TournamentCard "+(f[6]?"CardMaxWidth":"")+(f[7]?"CardFullSize":"")+" "+(f[33]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(e,"class",s),d[0]&192|d[1]&4&&a!==(a="TournamentCard "+(f[6]?"CardMaxWidth":"")+(f[7]?"CardFullSize":"")+" "+(f[33]?"elementToFadeOut":"elementToFadeIn")+" "+(f[33]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(e,"part",a),d[0]&131072&&u!==(u=`${f[17]?"Loading":""}`)&&n.attr(t,"class",u)},i:n.noop,o:n.noop,d(f){f&&n.detach(t),h.d(),i[51](null)}}}function At(i,t,e){let r;n.component_subscribe(i,n.$format,l=>e(34,r=l));let{session:o=""}=t,{userid:s=""}=t,{tournamenturl:a=""}=t,{touridx:u}=t,{endpoint:c=""}=t,{showdetails:p=""}=t,{showslider:h=""}=t,{showenrolled:f=""}=t,{maxwidth:d=""}=t,{fullsize:g=""}=t,{lang:m=""}=t,{loginevent:_=""}=t,{registerevent:B=""}=t,{detailsevent:fe=""}=t,{loginurl:x=""}=t,{registerurl:O=""}=t,{currency:X=""}=t,{keepbrowsercontext:de="false"}=t,{clientstyling:A=""}=t,{clientstylingurl:D=""}=t,{translationurl:L=""}=t,{tournamentinfo:I}=t,{mbsource:M}=t,{tournamentid:Y}=t,{betcountmode:R="minBetCount"}=t,v,Ve,F=!1,U="",E=!0,me=window.navigator.userAgent,J=!1,W=!1,he="There was an error while trying to join the tournament",K=!1,Q,pe,_e,j,k,ge,V,be,ye,we=[],Z=[],ve="#",q=!1;vt({withLocale:"en",translations:{}});const Ze=()=>{fetch(L).then(b=>b.json()).then(b=>{Object.keys(b).forEach(w=>{Le(w,b[w])})}).catch(b=>{console.log(b)})};Object.keys(Ie).forEach(l=>{Le(l,Ie[l])});const ke=l=>{$e(l),$(l),Fe(this,k)},Se=l=>{if(l.data&&l.data.type=="UserSessionID"&&(e(16,F=!0),U=l.data.session,Ee(c)),l.data.type=="UpdateTournamentView"){let b=l.data.tournamentData;if(k&&k!=b.id)return;ke(b)}if(l.data&&l.data.type==`UpdateSingleTournament_${u}`){let b=l.data.tournamentData,w=u<4?u*100:Math.random()*300+300;e(33,q=u==1),setTimeout(()=>{e(33,q=!0),e(26,k=b.id),ke(b)},w),setTimeout(()=>{e(33,q=!1)},w+200)}},$e=l=>{l.state!=j&&(e(25,j=l.state),window.postMessage({type:`TournamentStatus_${k}`,status:j},window.location.href))},et=()=>{_&&(window.postMessage({type:_,transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),x&&(window.location=x)},tt=()=>{B&&(window.postMessage({type:B,transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),O&&(window.location=O)},nt=l=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:l,showLeaderboard:!0},window.location.href)},Te=(l,b)=>ne(this,null,function*(){var ze;e(19,W=!1),e(21,K=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:l},window.location.href),e(18,J=!0);let w=new URL(`${c}/v1/bonus/claim`),T=new Headers,ee={};w.searchParams.append("language",m),w.searchParams.append("platform",ce(me)),T.append("Content-Type","application/json"),T.append("X-SessionID",U),b&&b.length>=1&&(ee={language:m,bonusCode:b[0].code,currency:X,type:"tournament"});let z={method:"PUT",headers:T,body:JSON.stringify(ee)};const je=()=>{e(18,J=!1),e(28,V=!0)},te=y=>{e(18,J=!1),y&&e(20,he=y),e(19,W=!0)},P=yield ne(this,null,function*(){let y;try{y=yield fetch(w,z),y=yield y.json()}catch(It){te()}return y});if(P)if(P.success==!0)je();else if(P.errorMessage.match("VersionMismatchException")){let y;y=yield fetch(`${c}/tournaments/${k}`,{headers:{"X-SessionID":o}}),y=yield y.json(),(ze=y==null?void 0:y.item)!=null&&ze.playerEnrolled?je():(te(P.errorMessage),e(21,K=!0),e(19,W=!1))}else te(P.errorMessage)}),Fe=(l,b)=>{window.postMessage({type:`TournamentPrizes_${b}`,prizes:we},window.location.href)},$=l=>{l&&(e(22,Q=l.nameOrTitle||""),e(23,pe=l.startTime),e(24,_e=l.endTime),e(25,j=l.state),e(26,k=l.id),e(27,ge=l.thumbnail),e(28,V=l.playerEnrolled==="true"||l.playerEnrolled==!0||!1),e(29,be=l.scoreCriteria),e(0,R=l.betCountMode||"minBetCount"),e(30,ye=l[R]),we=l.prizes,e(31,Z=l.wallets||[]),e(32,ve=l.termsUrl||"#"))},Ee=l=>{e(17,E=!0);const b=l?`${l}/v1/tournaments/${Y}`:a,w=new URL(b),T=new Headers;w.searchParams.append("language",m),w.searchParams.append("platform",ce(me)),F&&T.append("X-SessionID",U),fetch(w,{method:"GET",headers:T}).then(z=>z.json()).then(z=>{$(z.item)}).finally(()=>{e(17,E=!1)})},rt=()=>{e(16,F=(o==null?void 0:o.length)>10),F&&(U=o)},it=()=>{if(I){$(I);return}e(17,E=!0),Ee(c)};n.onMount(()=>(e(17,E=!Q),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",Se,!1),()=>{window.removeEventListener("message",Se)}));const ot=()=>Te(k,Z);function st(l){n.binding_callbacks[l?"unshift":"push"](()=>{v=l,e(15,v)})}return i.$$set=l=>{"session"in l&&e(40,o=l.session),"userid"in l&&e(1,s=l.userid),"tournamenturl"in l&&e(2,a=l.tournamenturl),"touridx"in l&&e(41,u=l.touridx),"endpoint"in l&&e(42,c=l.endpoint),"showdetails"in l&&e(3,p=l.showdetails),"showslider"in l&&e(4,h=l.showslider),"showenrolled"in l&&e(5,f=l.showenrolled),"maxwidth"in l&&e(6,d=l.maxwidth),"fullsize"in l&&e(7,g=l.fullsize),"lang"in l&&e(8,m=l.lang),"loginevent"in l&&e(43,_=l.loginevent),"registerevent"in l&&e(44,B=l.registerevent),"detailsevent"in l&&e(9,fe=l.detailsevent),"loginurl"in l&&e(45,x=l.loginurl),"registerurl"in l&&e(46,O=l.registerurl),"currency"in l&&e(47,X=l.currency),"keepbrowsercontext"in l&&e(10,de=l.keepbrowsercontext),"clientstyling"in l&&e(11,A=l.clientstyling),"clientstylingurl"in l&&e(12,D=l.clientstylingurl),"translationurl"in l&&e(13,L=l.translationurl),"tournamentinfo"in l&&e(48,I=l.tournamentinfo),"mbsource"in l&&e(14,M=l.mbsource),"tournamentid"in l&&e(49,Y=l.tournamentid),"betcountmode"in l&&e(0,R=l.betcountmode)},i.$$.update=()=>{i.$$.dirty[0]&256&&m&&kt(m),i.$$.dirty[0]&8192&&L&&Ze(),i.$$.dirty[1]&512&&o&&rt(),i.$$.dirty[0]&260&&a&&m&&it(),i.$$.dirty[0]&34816&&A&&v&&n.setClientStyling(v,A),i.$$.dirty[0]&36864&&D&&v&&n.setClientStylingURL(v,D),i.$$.dirty[0]&49152&&M&&v&&n.setStreamStyling(v,`${M}.Style`,Ve)},[R,s,a,p,h,f,d,g,m,fe,de,A,D,L,M,v,F,E,J,W,he,K,Q,pe,_e,j,k,ge,V,be,ye,Z,ve,q,r,et,tt,nt,Te,Fe,o,u,c,_,B,x,O,X,I,Y,ot,st]}class Qe extends n.SvelteComponent{constructor(t){super(),n.init(this,t,At,Ot,n.safe_not_equal,{session:40,userid:1,tournamenturl:2,touridx:41,endpoint:42,showdetails:3,showslider:4,showenrolled:5,maxwidth:6,fullsize:7,lang:8,loginevent:43,registerevent:44,detailsevent:9,loginurl:45,registerurl:46,currency:47,keepbrowsercontext:10,clientstyling:11,clientstylingurl:12,translationurl:13,tournamentinfo:48,mbsource:14,tournamentid:49,betcountmode:0},St,[-1,-1,-1])}get session(){return this.$$.ctx[40]}set session(t){this.$$set({session:t}),n.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),n.flush()}get tournamenturl(){return this.$$.ctx[2]}set tournamenturl(t){this.$$set({tournamenturl:t}),n.flush()}get touridx(){return this.$$.ctx[41]}set touridx(t){this.$$set({touridx:t}),n.flush()}get endpoint(){return this.$$.ctx[42]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get showdetails(){return this.$$.ctx[3]}set showdetails(t){this.$$set({showdetails:t}),n.flush()}get showslider(){return this.$$.ctx[4]}set showslider(t){this.$$set({showslider:t}),n.flush()}get showenrolled(){return this.$$.ctx[5]}set showenrolled(t){this.$$set({showenrolled:t}),n.flush()}get maxwidth(){return this.$$.ctx[6]}set maxwidth(t){this.$$set({maxwidth:t}),n.flush()}get fullsize(){return this.$$.ctx[7]}set fullsize(t){this.$$set({fullsize:t}),n.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),n.flush()}get loginevent(){return this.$$.ctx[43]}set loginevent(t){this.$$set({loginevent:t}),n.flush()}get registerevent(){return this.$$.ctx[44]}set registerevent(t){this.$$set({registerevent:t}),n.flush()}get detailsevent(){return this.$$.ctx[9]}set detailsevent(t){this.$$set({detailsevent:t}),n.flush()}get loginurl(){return this.$$.ctx[45]}set loginurl(t){this.$$set({loginurl:t}),n.flush()}get registerurl(){return this.$$.ctx[46]}set registerurl(t){this.$$set({registerurl:t}),n.flush()}get currency(){return this.$$.ctx[47]}set currency(t){this.$$set({currency:t}),n.flush()}get keepbrowsercontext(){return this.$$.ctx[10]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),n.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get tournamentinfo(){return this.$$.ctx[48]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),n.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}get tournamentid(){return this.$$.ctx[49]}set tournamentid(t){this.$$set({tournamentid:t}),n.flush()}get betcountmode(){return this.$$.ctx[0]}set betcountmode(t){this.$$set({betcountmode:t}),n.flush()}}n.create_custom_element(Qe,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},detailsevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{},mbsource:{},tournamentid:{},betcountmode:{}},[],[],!0);const Dt=Object.freeze(Object.defineProperty({__proto__:null,default:Qe},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsThumbnailController_ce=Dt;exports.getDevice=ce;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as pe, a as vt, b as _t, S as kt, i as St, f as v, s as Tt, c as Ft, d as Et, n as re, e as w, g as u, h as p, j as y, k as S, l as T, m as j, o as jt, p as zt, q as Ct, r as ke, t as Pt, u as O, v as B, w as Bt, x as U, y as Se, z as x, A as Ot, B as xt, C as
|
|
1
|
+
import { $ as pe, a as vt, b as _t, S as kt, i as St, f as v, s as Tt, c as Ft, d as Et, n as re, e as w, g as u, h as p, j as y, k as S, l as T, m as j, o as jt, p as zt, q as Ct, r as ke, t as Pt, u as O, v as B, w as Bt, x as U, y as Se, z as x, A as Ot, B as xt, C as Dt, D as At } from "./CasinoTournamentsListController-DU-wBQ6s.js";
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -303,7 +303,7 @@ var Jt = {
|
|
|
303
303
|
function Ht(r) {
|
|
304
304
|
return r;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function qt(r) {
|
|
307
307
|
return r.length === 0 ? Ht : r.length === 1 ? r[0] : function(e) {
|
|
308
308
|
return r.reduce(function(n, i) {
|
|
309
309
|
return i(n);
|
|
@@ -318,7 +318,7 @@ var He = function() {
|
|
|
318
318
|
var e = new r();
|
|
319
319
|
return e.source = this, e.operator = t, e;
|
|
320
320
|
}, r.prototype.subscribe = function(t, e, n) {
|
|
321
|
-
var i = this, o =
|
|
321
|
+
var i = this, o = Nt(t) ? t : new _e(t, e, n);
|
|
322
322
|
return ne(function() {
|
|
323
323
|
var s = i, a = s.operator, c = s.source;
|
|
324
324
|
o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -331,7 +331,7 @@ var He = function() {
|
|
|
331
331
|
}
|
|
332
332
|
}, r.prototype.forEach = function(t, e) {
|
|
333
333
|
var n = this;
|
|
334
|
-
return e =
|
|
334
|
+
return e = qe(e), new e(function(i, o) {
|
|
335
335
|
var s = new _e({
|
|
336
336
|
next: function(a) {
|
|
337
337
|
try {
|
|
@@ -353,10 +353,10 @@ var He = function() {
|
|
|
353
353
|
}, r.prototype.pipe = function() {
|
|
354
354
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
355
355
|
t[e] = arguments[e];
|
|
356
|
-
return
|
|
356
|
+
return qt(t)(this);
|
|
357
357
|
}, r.prototype.toPromise = function(t) {
|
|
358
358
|
var e = this;
|
|
359
|
-
return t =
|
|
359
|
+
return t = qe(t), new t(function(n, i) {
|
|
360
360
|
var o;
|
|
361
361
|
e.subscribe(function(s) {
|
|
362
362
|
return o = s;
|
|
@@ -370,15 +370,15 @@ var He = function() {
|
|
|
370
370
|
return new r(t);
|
|
371
371
|
}, r;
|
|
372
372
|
}();
|
|
373
|
-
function
|
|
373
|
+
function qe(r) {
|
|
374
374
|
var t;
|
|
375
375
|
return (t = r ?? Lt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function Gt(r) {
|
|
378
378
|
return r && P(r.next) && P(r.error) && P(r.complete);
|
|
379
379
|
}
|
|
380
|
-
function
|
|
381
|
-
return r && r instanceof st ||
|
|
380
|
+
function Nt(r) {
|
|
381
|
+
return r && r instanceof st || Gt(r) && ot(r);
|
|
382
382
|
}
|
|
383
383
|
var Xt = rt(function(r) {
|
|
384
384
|
return function() {
|
|
@@ -391,7 +391,7 @@ var Xt = rt(function(r) {
|
|
|
391
391
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
392
392
|
}
|
|
393
393
|
return t.prototype.lift = function(e) {
|
|
394
|
-
var n = new
|
|
394
|
+
var n = new Ge(this, this);
|
|
395
395
|
return n.operator = e, n;
|
|
396
396
|
}, t.prototype._throwIfClosed = function() {
|
|
397
397
|
if (this.closed)
|
|
@@ -462,9 +462,9 @@ var Xt = rt(function(r) {
|
|
|
462
462
|
var e = new He();
|
|
463
463
|
return e.source = this, e;
|
|
464
464
|
}, t.create = function(e, n) {
|
|
465
|
-
return new
|
|
465
|
+
return new Ge(e, n);
|
|
466
466
|
}, t;
|
|
467
|
-
}(He),
|
|
467
|
+
}(He), Ge = function(r) {
|
|
468
468
|
J(t, r);
|
|
469
469
|
function t(e, n) {
|
|
470
470
|
var i = r.call(this) || this;
|
|
@@ -512,17 +512,17 @@ var Xt = rt(function(r) {
|
|
|
512
512
|
}
|
|
513
513
|
}, t;
|
|
514
514
|
}(lt);
|
|
515
|
-
const
|
|
516
|
-
if (
|
|
515
|
+
const Ne = [], Xe = {}, Kt = (r, t = 0) => {
|
|
516
|
+
if (Ne.indexOf(r) == -1) {
|
|
517
517
|
const e = new Yt(t);
|
|
518
|
-
Xe[r] = e,
|
|
518
|
+
Xe[r] = e, Ne.push(r);
|
|
519
519
|
}
|
|
520
520
|
return Xe[r];
|
|
521
521
|
};
|
|
522
522
|
window.emWidgets = { topic: Kt };
|
|
523
523
|
const Ye = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
524
524
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
525
|
-
function
|
|
525
|
+
function Qt({ withLocale: r, translations: t }) {
|
|
526
526
|
pe.subscribe((e) => {
|
|
527
527
|
e == null && (vt.set(t), pe.set(r));
|
|
528
528
|
});
|
|
@@ -530,10 +530,10 @@ function Vt({ withLocale: r, translations: t }) {
|
|
|
530
530
|
function Ke(r, t) {
|
|
531
531
|
_t(r, t);
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function Vt(r) {
|
|
534
534
|
pe.set(r);
|
|
535
535
|
}
|
|
536
|
-
const
|
|
536
|
+
const Qe = {
|
|
537
537
|
en: {
|
|
538
538
|
login: "Log in",
|
|
539
539
|
register: "Register",
|
|
@@ -614,6 +614,22 @@ const Ve = {
|
|
|
614
614
|
join: "Junte-se",
|
|
615
615
|
joinerror: "Ocorreu um erro ao entrar no torneio"
|
|
616
616
|
},
|
|
617
|
+
ru: {
|
|
618
|
+
login: "Войти",
|
|
619
|
+
register: "Регистрация",
|
|
620
|
+
details: "Подробности",
|
|
621
|
+
enrolled: "Записан",
|
|
622
|
+
join: "Участвовать",
|
|
623
|
+
joinerror: "Произошла ошибка при регистрации на турнир, пожалуйста, попробуйте снова."
|
|
624
|
+
},
|
|
625
|
+
az: {
|
|
626
|
+
login: "Daxil ol",
|
|
627
|
+
register: "Qeydiyyat",
|
|
628
|
+
details: "Ətraflı",
|
|
629
|
+
enrolled: "Qeydiyyatdan keçib",
|
|
630
|
+
join: "Qoşul",
|
|
631
|
+
joinerror: "Turnirə qeydiyyat zamanı xəta baş verdi, zəhmət olmasa yenidən cəhd edin."
|
|
632
|
+
},
|
|
617
633
|
"en-us": {
|
|
618
634
|
login: "Log in",
|
|
619
635
|
register: "Register",
|
|
@@ -635,7 +651,7 @@ if (typeof window < "u") {
|
|
|
635
651
|
}
|
|
636
652
|
};
|
|
637
653
|
};
|
|
638
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
654
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-BeGvrf7Z.js").then(({ default: t }) => {
|
|
639
655
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
|
|
640
656
|
});
|
|
641
657
|
}
|
|
@@ -651,7 +667,7 @@ if (typeof window < "u") {
|
|
|
651
667
|
}
|
|
652
668
|
};
|
|
653
669
|
};
|
|
654
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
670
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-Wzy7eqUi.js").then(({ default: t }) => {
|
|
655
671
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
656
672
|
"casino-tournaments-thumbnail-duration",
|
|
657
673
|
t.element
|
|
@@ -670,7 +686,7 @@ if (typeof window < "u") {
|
|
|
670
686
|
}
|
|
671
687
|
};
|
|
672
688
|
};
|
|
673
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
689
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-rl18zrEQ.js").then(({ default: t }) => {
|
|
674
690
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
|
|
675
691
|
});
|
|
676
692
|
}
|
|
@@ -686,7 +702,7 @@ if (typeof window < "u") {
|
|
|
686
702
|
}
|
|
687
703
|
};
|
|
688
704
|
};
|
|
689
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
705
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-DXxAqj-s.js").then(
|
|
690
706
|
({ default: t }) => {
|
|
691
707
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
692
708
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -695,13 +711,13 @@ if (typeof window < "u") {
|
|
|
695
711
|
}
|
|
696
712
|
);
|
|
697
713
|
}
|
|
698
|
-
function
|
|
714
|
+
function Zt(r) {
|
|
699
715
|
Et(r, "svelte-1oqyfnf", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .SkeletonRectangle.Skeleton,.Loading .TournamentPrizes .SkeletonRectangle.Skeleton,.Loading .TournamentsGamesSlider .SkeletonRectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
|
|
700
716
|
}
|
|
701
717
|
function $t(r) {
|
|
702
718
|
let t, e, n, i, o, s, a, c = (
|
|
703
719
|
/*tourid*/
|
|
704
|
-
r[26] &&
|
|
720
|
+
r[26] && Ve(r)
|
|
705
721
|
);
|
|
706
722
|
function b(m, g) {
|
|
707
723
|
if (!/*isLoggedIn*/
|
|
@@ -776,7 +792,7 @@ function $t(r) {
|
|
|
776
792
|
},
|
|
777
793
|
p(m, g) {
|
|
778
794
|
/*tourid*/
|
|
779
|
-
m[26] ? c ? c.p(m, g) : (c =
|
|
795
|
+
m[26] ? c ? c.p(m, g) : (c = Ve(m), c.c(), c.m(t.parentNode, t)) : c && (c.d(1), c = null), g[0] & /*clientstyling*/
|
|
780
796
|
2048 && u(
|
|
781
797
|
e,
|
|
782
798
|
"clientstyling",
|
|
@@ -849,7 +865,7 @@ function en(r) {
|
|
|
849
865
|
}
|
|
850
866
|
};
|
|
851
867
|
}
|
|
852
|
-
function
|
|
868
|
+
function Ve(r) {
|
|
853
869
|
let t, e, n, i;
|
|
854
870
|
return {
|
|
855
871
|
c() {
|
|
@@ -970,7 +986,7 @@ function tn(r) {
|
|
|
970
986
|
function nn(r) {
|
|
971
987
|
let t, e, n = (
|
|
972
988
|
/*showdetails*/
|
|
973
|
-
r[3] == "true" &&
|
|
989
|
+
r[3] == "true" && Ze(r)
|
|
974
990
|
);
|
|
975
991
|
function i(a, c) {
|
|
976
992
|
return (
|
|
@@ -988,7 +1004,7 @@ function nn(r) {
|
|
|
988
1004
|
},
|
|
989
1005
|
p(a, c) {
|
|
990
1006
|
/*showdetails*/
|
|
991
|
-
a[3] == "true" ? n ? n.p(a, c) : (n =
|
|
1007
|
+
a[3] == "true" ? n ? n.p(a, c) : (n = Ze(a), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(e.parentNode, e)));
|
|
992
1008
|
},
|
|
993
1009
|
d(a) {
|
|
994
1010
|
a && (w(t), w(e)), n && n.d(a), s.d(a);
|
|
@@ -1035,7 +1051,7 @@ function rn(r) {
|
|
|
1035
1051
|
}
|
|
1036
1052
|
};
|
|
1037
1053
|
}
|
|
1038
|
-
function
|
|
1054
|
+
function Ze(r) {
|
|
1039
1055
|
let t, e = (
|
|
1040
1056
|
/*$_*/
|
|
1041
1057
|
r[34]("details") + ""
|
|
@@ -1578,8 +1594,8 @@ function un(r) {
|
|
|
1578
1594
|
function cn(r, t, e) {
|
|
1579
1595
|
let n;
|
|
1580
1596
|
jt(r, Ot, (l) => e(34, n = l));
|
|
1581
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: a } = t, { endpoint: c = "" } = t, { showdetails: b = "" } = t, { showslider: h = "" } = t, { showenrolled: f = "" } = t, { maxwidth: d = "" } = t, { fullsize: _ = "" } = t, { lang: m = "" } = t, { loginevent: g = "" } = t, { registerevent: W = "" } = t, { detailsevent: Te = "" } = t, { loginurl: H = "" } = t, { registerurl:
|
|
1582
|
-
|
|
1597
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: a } = t, { endpoint: c = "" } = t, { showdetails: b = "" } = t, { showslider: h = "" } = t, { showenrolled: f = "" } = t, { maxwidth: d = "" } = t, { fullsize: _ = "" } = t, { lang: m = "" } = t, { loginevent: g = "" } = t, { registerevent: W = "" } = t, { detailsevent: Te = "" } = t, { loginurl: H = "" } = t, { registerurl: q = "" } = t, { currency: oe = "" } = t, { keepbrowsercontext: Fe = "false" } = t, { clientstyling: G = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: X = "" } = t, { tournamentinfo: Y } = t, { mbsource: K } = t, { tournamentid: se } = t, { betcountmode: Q = "minBetCount" } = t, z, ct, A = !1, V = "", L = !0, Ee = window.navigator.userAgent, Z = !1, $ = !1, je = "There was an error while trying to join the tournament", le = !1, ae, ze, Ce, I, C, Pe, ue, Be, Oe, xe = [], ce = [], De = "#", ee = !1;
|
|
1598
|
+
Qt({ withLocale: "en", translations: {} });
|
|
1583
1599
|
const ft = () => {
|
|
1584
1600
|
fetch(X).then((k) => k.json()).then((k) => {
|
|
1585
1601
|
Object.keys(k).forEach((F) => {
|
|
@@ -1589,23 +1605,23 @@ function cn(r, t, e) {
|
|
|
1589
1605
|
console.log(k);
|
|
1590
1606
|
});
|
|
1591
1607
|
};
|
|
1592
|
-
Object.keys(
|
|
1593
|
-
Ke(l,
|
|
1608
|
+
Object.keys(Qe).forEach((l) => {
|
|
1609
|
+
Ke(l, Qe[l]);
|
|
1594
1610
|
});
|
|
1595
|
-
const
|
|
1611
|
+
const Ae = (l) => {
|
|
1596
1612
|
dt(l), fe(l), Me(this, C);
|
|
1597
1613
|
}, Le = (l) => {
|
|
1598
|
-
if (l.data && l.data.type == "UserSessionID" && (e(16,
|
|
1614
|
+
if (l.data && l.data.type == "UserSessionID" && (e(16, A = !0), V = l.data.session, Re(c)), l.data.type == "UpdateTournamentView") {
|
|
1599
1615
|
let k = l.data.tournamentData;
|
|
1600
1616
|
if (C && C != k.id)
|
|
1601
1617
|
return;
|
|
1602
|
-
|
|
1618
|
+
Ae(k);
|
|
1603
1619
|
}
|
|
1604
1620
|
if (l.data && l.data.type == `UpdateSingleTournament_${a}`) {
|
|
1605
1621
|
let k = l.data.tournamentData, F = a < 4 ? a * 100 : Math.random() * 300 + 300;
|
|
1606
1622
|
e(33, ee = a == 1), setTimeout(
|
|
1607
1623
|
() => {
|
|
1608
|
-
e(33, ee = !0), e(26, C = k.id),
|
|
1624
|
+
e(33, ee = !0), e(26, C = k.id), Ae(k);
|
|
1609
1625
|
},
|
|
1610
1626
|
F
|
|
1611
1627
|
), setTimeout(
|
|
@@ -1636,7 +1652,7 @@ function cn(r, t, e) {
|
|
|
1636
1652
|
window.location.href
|
|
1637
1653
|
), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
|
|
1638
1654
|
context: "TournamentsThumbnailController"
|
|
1639
|
-
})),
|
|
1655
|
+
})), q && (window.location = q);
|
|
1640
1656
|
}, pt = (l) => {
|
|
1641
1657
|
window.postMessage(
|
|
1642
1658
|
{
|
|
@@ -1653,9 +1669,9 @@ function cn(r, t, e) {
|
|
|
1653
1669
|
tournamentId: l
|
|
1654
1670
|
},
|
|
1655
1671
|
window.location.href
|
|
1656
|
-
), e(18,
|
|
1657
|
-
let F = new URL(`${c}/v1/bonus/claim`),
|
|
1658
|
-
F.searchParams.append("language", m), F.searchParams.append("platform", Ye(Ee)),
|
|
1672
|
+
), e(18, Z = !0);
|
|
1673
|
+
let F = new URL(`${c}/v1/bonus/claim`), D = new Headers(), de = {};
|
|
1674
|
+
F.searchParams.append("language", m), F.searchParams.append("platform", Ye(Ee)), D.append("Content-Type", "application/json"), D.append("X-SessionID", V), k && k.length >= 1 && (de = {
|
|
1659
1675
|
language: m,
|
|
1660
1676
|
bonusCode: k[0].code,
|
|
1661
1677
|
currency: oe,
|
|
@@ -1663,13 +1679,13 @@ function cn(r, t, e) {
|
|
|
1663
1679
|
});
|
|
1664
1680
|
let M = {
|
|
1665
1681
|
method: "PUT",
|
|
1666
|
-
headers:
|
|
1682
|
+
headers: D,
|
|
1667
1683
|
body: JSON.stringify(de)
|
|
1668
1684
|
};
|
|
1669
1685
|
const Ue = () => {
|
|
1670
|
-
e(18,
|
|
1686
|
+
e(18, Z = !1), e(28, ue = !0);
|
|
1671
1687
|
}, me = (E) => {
|
|
1672
|
-
e(18,
|
|
1688
|
+
e(18, Z = !1), E && e(20, je = E), e(19, $ = !0);
|
|
1673
1689
|
}, R = await (async () => {
|
|
1674
1690
|
let E;
|
|
1675
1691
|
try {
|
|
@@ -1696,17 +1712,17 @@ function cn(r, t, e) {
|
|
|
1696
1712
|
window.location.href
|
|
1697
1713
|
);
|
|
1698
1714
|
}, fe = (l) => {
|
|
1699
|
-
l && (e(22, ae = l.nameOrTitle || ""), e(23, ze = l.startTime), e(24, Ce = l.endTime), e(25, I = l.state), e(26, C = l.id), e(27, Pe = l.thumbnail), e(28, ue = l.playerEnrolled === "true" || l.playerEnrolled == !0 || !1), e(29, Be = l.scoreCriteria), e(0,
|
|
1715
|
+
l && (e(22, ae = l.nameOrTitle || ""), e(23, ze = l.startTime), e(24, Ce = l.endTime), e(25, I = l.state), e(26, C = l.id), e(27, Pe = l.thumbnail), e(28, ue = l.playerEnrolled === "true" || l.playerEnrolled == !0 || !1), e(29, Be = l.scoreCriteria), e(0, Q = l.betCountMode || "minBetCount"), e(30, Oe = l[Q]), xe = l.prizes, e(31, ce = l.wallets || []), e(32, De = l.termsUrl || "#"));
|
|
1700
1716
|
}, Re = (l) => {
|
|
1701
1717
|
e(17, L = !0);
|
|
1702
|
-
const k = l ? `${l}/v1/tournaments/${se}` : s, F = new URL(k),
|
|
1703
|
-
F.searchParams.append("language", m), F.searchParams.append("platform", Ye(Ee)),
|
|
1718
|
+
const k = l ? `${l}/v1/tournaments/${se}` : s, F = new URL(k), D = new Headers();
|
|
1719
|
+
F.searchParams.append("language", m), F.searchParams.append("platform", Ye(Ee)), A && D.append("X-SessionID", V), fetch(F, { method: "GET", headers: D }).then((M) => M.json()).then((M) => {
|
|
1704
1720
|
fe(M.item);
|
|
1705
1721
|
}).finally(() => {
|
|
1706
1722
|
e(17, L = !1);
|
|
1707
1723
|
});
|
|
1708
1724
|
}, gt = () => {
|
|
1709
|
-
e(16,
|
|
1725
|
+
e(16, A = i?.length > 10), A && (V = i);
|
|
1710
1726
|
}, bt = () => {
|
|
1711
1727
|
if (Y) {
|
|
1712
1728
|
fe(Y);
|
|
@@ -1724,18 +1740,18 @@ function cn(r, t, e) {
|
|
|
1724
1740
|
});
|
|
1725
1741
|
}
|
|
1726
1742
|
return r.$$set = (l) => {
|
|
1727
|
-
"session" in l && e(40, i = l.session), "userid" in l && e(1, o = l.userid), "tournamenturl" in l && e(2, s = l.tournamenturl), "touridx" in l && e(41, a = l.touridx), "endpoint" in l && e(42, c = l.endpoint), "showdetails" in l && e(3, b = l.showdetails), "showslider" in l && e(4, h = l.showslider), "showenrolled" in l && e(5, f = l.showenrolled), "maxwidth" in l && e(6, d = l.maxwidth), "fullsize" in l && e(7, _ = l.fullsize), "lang" in l && e(8, m = l.lang), "loginevent" in l && e(43, g = l.loginevent), "registerevent" in l && e(44, W = l.registerevent), "detailsevent" in l && e(9, Te = l.detailsevent), "loginurl" in l && e(45, H = l.loginurl), "registerurl" in l && e(46,
|
|
1743
|
+
"session" in l && e(40, i = l.session), "userid" in l && e(1, o = l.userid), "tournamenturl" in l && e(2, s = l.tournamenturl), "touridx" in l && e(41, a = l.touridx), "endpoint" in l && e(42, c = l.endpoint), "showdetails" in l && e(3, b = l.showdetails), "showslider" in l && e(4, h = l.showslider), "showenrolled" in l && e(5, f = l.showenrolled), "maxwidth" in l && e(6, d = l.maxwidth), "fullsize" in l && e(7, _ = l.fullsize), "lang" in l && e(8, m = l.lang), "loginevent" in l && e(43, g = l.loginevent), "registerevent" in l && e(44, W = l.registerevent), "detailsevent" in l && e(9, Te = l.detailsevent), "loginurl" in l && e(45, H = l.loginurl), "registerurl" in l && e(46, q = l.registerurl), "currency" in l && e(47, oe = l.currency), "keepbrowsercontext" in l && e(10, Fe = l.keepbrowsercontext), "clientstyling" in l && e(11, G = l.clientstyling), "clientstylingurl" in l && e(12, N = l.clientstylingurl), "translationurl" in l && e(13, X = l.translationurl), "tournamentinfo" in l && e(48, Y = l.tournamentinfo), "mbsource" in l && e(14, K = l.mbsource), "tournamentid" in l && e(49, se = l.tournamentid), "betcountmode" in l && e(0, Q = l.betcountmode);
|
|
1728
1744
|
}, r.$$.update = () => {
|
|
1729
1745
|
r.$$.dirty[0] & /*lang*/
|
|
1730
|
-
256 && m &&
|
|
1746
|
+
256 && m && Vt(m), r.$$.dirty[0] & /*translationurl*/
|
|
1731
1747
|
8192 && X && ft(), r.$$.dirty[1] & /*session*/
|
|
1732
1748
|
512 && i && gt(), r.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1733
1749
|
260 && s && m && bt(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1734
|
-
34816 &&
|
|
1735
|
-
36864 &&
|
|
1736
|
-
49152 && K && z &&
|
|
1750
|
+
34816 && G && z && xt(z, G), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1751
|
+
36864 && N && z && Dt(z, N), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1752
|
+
49152 && K && z && At(z, `${K}.Style`, ct);
|
|
1737
1753
|
}, [
|
|
1738
|
-
|
|
1754
|
+
Q,
|
|
1739
1755
|
o,
|
|
1740
1756
|
s,
|
|
1741
1757
|
b,
|
|
@@ -1746,14 +1762,14 @@ function cn(r, t, e) {
|
|
|
1746
1762
|
m,
|
|
1747
1763
|
Te,
|
|
1748
1764
|
Fe,
|
|
1765
|
+
G,
|
|
1749
1766
|
N,
|
|
1750
|
-
q,
|
|
1751
1767
|
X,
|
|
1752
1768
|
K,
|
|
1753
1769
|
z,
|
|
1754
|
-
|
|
1770
|
+
A,
|
|
1755
1771
|
L,
|
|
1756
|
-
|
|
1772
|
+
Z,
|
|
1757
1773
|
$,
|
|
1758
1774
|
je,
|
|
1759
1775
|
le,
|
|
@@ -1767,7 +1783,7 @@ function cn(r, t, e) {
|
|
|
1767
1783
|
Be,
|
|
1768
1784
|
Oe,
|
|
1769
1785
|
ce,
|
|
1770
|
-
|
|
1786
|
+
De,
|
|
1771
1787
|
ee,
|
|
1772
1788
|
n,
|
|
1773
1789
|
mt,
|
|
@@ -1781,7 +1797,7 @@ function cn(r, t, e) {
|
|
|
1781
1797
|
g,
|
|
1782
1798
|
W,
|
|
1783
1799
|
H,
|
|
1784
|
-
|
|
1800
|
+
q,
|
|
1785
1801
|
oe,
|
|
1786
1802
|
Y,
|
|
1787
1803
|
se,
|
|
@@ -1824,7 +1840,7 @@ class ut extends kt {
|
|
|
1824
1840
|
tournamentid: 49,
|
|
1825
1841
|
betcountmode: 0
|
|
1826
1842
|
},
|
|
1827
|
-
|
|
1843
|
+
Zt,
|
|
1828
1844
|
[-1, -1, -1]
|
|
1829
1845
|
);
|
|
1830
1846
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoTournamentsListController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoTournamentsListController-ChZCA8s1.cjs");function z(r,e){t.addMessages(r,e)}const M={en:{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"},hr:{finished:"Završeno",starting:"Starting in ",left:"preostalo",minutes:"minute",hours:"sati",days:"dana"},"zh-hk":{finished:"完成的",starting:"開始於",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"},fr:{finished:"Fini",starting:"Début dans ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"},ro:{finished:"Finalizat",starting:"Începe în",left:"rămase",minutes:"minute",hours:"ore",days:"zile"},tr:{finished:"Bitti",starting:"Turnuvaya kalan zaman",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"},el:{finished:"Ολοκληρωμένα",starting:"Αρχίζει σε ",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"},es:{finished:"Finalizado",starting:"Iniciando en ",left:"queda",minutes:"minutos",hours:"horas",days:"días"},hu:{finished:"Befejezve",starting:"Kezdésig",left:"bal",minutes:"perc",hours:"óra",days:"nap"},pt:{finished:"Finalizado",starting:"Começando em",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"},"en-us":{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"}};function L(r){t.append_styles(r,"svelte-6h4bfy","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}")}function E(r){let e,n,a=r[10](r[0])+"",l,u,o,d=r[10](r[1])+"",f,k,y,g,w,h,B;function b(s,_){return s[2]=="Finished"||s[2]=="Closing"||s[2]=="Closed"?U:s[5]>0?N:O}let S=b(r),p=S(r);function P(s,_){if(s[2]=="Finished"||s[2]=="Closing"||s[2]=="Closed")return W;if(s[5]>0)return A;if(s[4]>0)return q}let D=P(r),c=D&&D(r);return{c(){e=t.element("div"),n=t.element("div"),l=t.text(a),u=t.space(),o=t.element("div"),f=t.text(d),k=t.space(),y=t.element("div"),g=t.element("div"),p.c(),w=t.space(),c&&c.c(),t.attr(n,"class","StartDate"),t.attr(n,"part","StartDate"),t.attr(o,"class","EndDate"),t.attr(o,"part","EndDate"),t.attr(e,"class","TournamentDates"),t.attr(e,"part","TournamentDates"),t.attr(g,"class","ProgressBar"),t.attr(g,"part","ProgressBar"),t.attr(y,"class","ProgressBarWrapper"),t.attr(y,"part","ProgressBarWrapper")},m(s,_){t.insert(s,e,_),t.append(e,n),t.append(n,l),t.append(e,u),t.append(e,o),t.append(o,f),t.insert(s,k,_),t.insert(s,y,_),t.append(y,g),p.m(g,null),t.append(g,w),c&&c.m(g,null),h||(B=t.action_destroyer(r[9].call(null,y)),h=!0)},p(s,_){_&1&&a!==(a=s[10](s[0])+"")&&t.set_data(l,a),_&2&&d!==(d=s[10](s[1])+"")&&t.set_data(f,d),S===(S=b(s))&&p?p.p(s,_):(p.d(1),p=S(s),p&&(p.c(),p.m(g,w))),D===(D=P(s))&&c?c.p(s,_):(c&&c.d(1),c=D&&D(s),c&&(c.c(),c.m(g,null)))},d(s){s&&(t.detach(e),t.detach(k),t.detach(y)),p.d(),c&&c.d(),h=!1,B()}}}function O(r){let e;return{c(){e=t.element("div"),t.attr(e,"class","ProgressBarFill"),t.attr(e,"part","ProgressBarFill"),t.set_style(e,"width",r[7]()+"%")},m(n,a){t.insert(n,e,a)},p(n,a){a&128&&t.set_style(e,"width",n[7]()+"%")},d(n){n&&t.detach(e)}}}function N(r){let e;return{c(){e=t.element("div"),t.attr(e,"class","ProgressBarFillStarting"),t.attr(e,"part","ProgressBarFillStarting")},m(n,a){t.insert(n,e,a)},p:t.noop,d(n){n&&t.detach(e)}}}function U(r){let e;return{c(){e=t.element("div"),t.attr(e,"class","ProgressBarFillEnd"),t.attr(e,"part","ProgressBarFillEnd")},m(n,a){t.insert(n,e,a)},p:t.noop,d(n){n&&t.detach(e)}}}function q(r){let e,n,a,l=r[8]("left")+"",u;return{c(){e=t.element("div"),n=t.text(r[6]),a=t.space(),u=t.text(l),t.attr(e,"class","Remaining"),t.attr(e,"part","Remaining")},m(o,d){t.insert(o,e,d),t.append(e,n),t.append(e,a),t.append(e,u)},p(o,d){d&64&&t.set_data(n,o[6]),d&256&&l!==(l=o[8]("left")+"")&&t.set_data(u,l)},d(o){o&&t.detach(e)}}}function A(r){let e,n=r[8]("starting")+"",a,l,u=r[11](r[5])+"",o;return{c(){e=t.element("div"),a=t.text(n),l=t.space(),o=t.text(u),t.attr(e,"class","Remaining"),t.attr(e,"part","Remaining")},m(d,f){t.insert(d,e,f),t.append(e,a),t.append(e,l),t.append(e,o)},p(d,f){f&256&&n!==(n=d[8]("starting")+"")&&t.set_data(a,n),f&32&&u!==(u=d[11](d[5])+"")&&t.set_data(o,u)},d(d){d&&t.detach(e)}}}function W(r){let e,n=r[8]("finished")+"",a;return{c(){e=t.element("div"),a=t.text(n),t.attr(e,"class","Finished"),t.attr(e,"part","Finished")},m(l,u){t.insert(l,e,u),t.append(e,a)},p(l,u){u&256&&n!==(n=l[8]("finished")+"")&&t.set_data(a,n)},d(l){l&&t.detach(e)}}}function G(r){let e,n=r[0]&&r[1]&&E(r);return{c(){e=t.element("div"),n&&n.c(),t.attr(e,"class","TournamentDuration"),t.attr(e,"part","TournamentDuration")},m(a,l){t.insert(a,e,l),n&&n.m(e,null),r[17](e)},p(a,[l]){a[0]&&a[1]?n?n.p(a,l):(n=E(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),n&&n.d(),r[17](null)}}}function H(r,e,n){let a,l;t.component_subscribe(r,t.$format,i=>n(8,l=i));let{startdate:u=""}=e,{enddate:o=""}=e,{status:d=""}=e,{lang:f="en"}=e,{clientstyling:k=""}=e,{clientstylingurl:y=""}=e,{translationurl:g=""}=e,{mbsource:w}=e,h,B,b="",S="",p="";const P=()=>{fetch(g).then(m=>m.json()).then(m=>{Object.keys(m).forEach(F=>{z(F,m[F])})}).catch(m=>{console.log(m)})};Object.keys(M).forEach(i=>{z(i,M[i])});const D=i=>new Date(i).getTime(),c=(i,m)=>(D(m)-D(i))/(1e3*60),s=()=>{const i=new Date;n(4,b=c(i,o)),n(5,S=c(i,u)),n(6,p=C(b))},_=i=>{const m={month:"long"};let F=new Date(i),T=new Intl.DateTimeFormat(f,m).format(F);return`${F.getDate()} ${T}, ${F.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${F.getUTCFullYear()}`},C=i=>{const m=(T,v)=>T+" "+l(v),F=T=>{const v=Math.floor(T);return v<10?`0${v}`:`${v}`};if(i<1440){const T=i/60,v=i%60,x=(v-Math.floor(v))*60;return[T,v,x].map(I=>F(I)).join(":")}return m(Math.ceil(i/(60*24)),"days")};t.onMount(()=>{window.postMessage({type:"TournamentThumbnailMounted"},window.location.href);const i=setInterval(()=>{u&&o&&s()},1e3);return()=>{clearInterval(i)}});function R(i){t.binding_callbacks[i?"unshift":"push"](()=>{h=i,n(3,h)})}return r.$$set=i=>{"startdate"in i&&n(0,u=i.startdate),"enddate"in i&&n(1,o=i.enddate),"status"in i&&n(2,d=i.status),"lang"in i&&n(12,f=i.lang),"clientstyling"in i&&n(13,k=i.clientstyling),"clientstylingurl"in i&&n(14,y=i.clientstylingurl),"translationurl"in i&&n(15,g=i.translationurl),"mbsource"in i&&n(16,w=i.mbsource)},r.$$.update=()=>{r.$$.dirty&19&&n(7,a=()=>{if(b<=0)return 100;const i=c(u,o),m=100/i;return Math.floor((i-b)*m)}),r.$$.dirty&19&&u&&o&&s()&&C(b),r.$$.dirty&4096&&f&&s(),r.$$.dirty&4112&&f&&C(b),r.$$.dirty&32768&&g&&P(),r.$$.dirty&8200&&k&&h&&t.setClientStyling(h,k),r.$$.dirty&16392&&y&&h&&t.setClientStylingURL(h,y),r.$$.dirty&65544&&w&&h&&t.setStreamStyling(h,`${w}.Style`,B)},[u,o,d,h,b,S,p,a,l,s,_,C,f,k,y,g,w,R]}class j extends t.SvelteComponent{constructor(e){super(),t.init(this,e,H,G,t.safe_not_equal,{startdate:0,enddate:1,status:2,lang:12,clientstyling:13,clientstylingurl:14,translationurl:15,mbsource:16},L)}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),t.flush()}get enddate(){return this.$$.ctx[1]}set enddate(e){this.$$set({enddate:e}),t.flush()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(j,{startdate:{},enddate:{},status:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=j;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as K, S as Y, i as Z, s as J, f as z, c as Q, n as N, d as k, h as w, k as v, g as l, m as V, o as X, t as M, j as h, r as $, u as j, l as R, p as tt, F as O, z as et, A as nt, B as it, C as st, D as rt } from "./CasinoTournamentsListController-
|
|
1
|
+
import { b as K, S as Y, i as Z, s as J, f as z, c as Q, n as N, d as k, h as w, k as v, g as l, m as V, o as X, t as M, j as h, r as $, u as j, l as R, p as tt, F as O, z as et, A as nt, B as it, C as st, D as rt } from "./CasinoTournamentsListController-8abNLUmc.js";
|
|
2
2
|
function U(n, t) {
|
|
3
3
|
K(n, t);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as K, S as Y, i as Z, s as J, f as C, d as Q, n as N, e as k, j as w, l as v, h as l, o as V, p as X, u as M, k as h, t as $, v as j, m as R, q as tt, F as O, B as et, C as nt, D as it, c as st, A as rt } from "./CasinoTournamentsListController-
|
|
1
|
+
import { b as K, S as Y, i as Z, s as J, f as C, d as Q, n as N, e as k, j as w, l as v, h as l, o as V, p as X, u as M, k as h, t as $, v as j, m as R, q as tt, F as O, B as et, C as nt, D as it, c as st, A as rt } from "./CasinoTournamentsListController-DU-wBQ6s.js";
|
|
2
2
|
function U(n, t) {
|
|
3
3
|
K(n, t);
|
|
4
4
|
}
|