@everymatrix/casino-tournaments-customize-page-controller 1.34.3 → 1.36.0
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/dist/casino-tournaments-customize-page-controller.js +282 -282
- package/dist/casino-tournaments-customize-page-controller.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoTournamentsCustomizePageController.svelte +18 -5
- package/src/Cells/JoinButtonCell.svelte +2 -1
- package/src/Cells/LeaderboardCell.svelte +5 -12
- package/src/Cells/SeeGamesLine.svelte +13 -3
- package/src/Cells/img/exclamation-mark.svg +3 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e,t){
|
|
2
2
|
// @ts-ignore
|
|
3
|
-
for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function a(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,l;function u(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function d(e,t,n){e.$$.on_destroy.push(c(t,n))}function h(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function f(t){return t&&a(t.destroy)?t.destroy:e}function m(e,t){e.appendChild(t)}function p(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function y(e){return document.createElement(e)}function
|
|
3
|
+
for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function a(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,l;function u(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function d(e,t,n){e.$$.on_destroy.push(c(t,n))}function h(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function f(t){return t&&a(t.destroy)?t.destroy:e}function m(e,t){e.appendChild(t)}function p(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function y(e){return document.createElement(e)}function w(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function v(){return C(" ")}function T(){return C("")}function x(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function _(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function k(e,t){t=""+t,e.data!==t&&(e.data=t)}function P(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function S(e,t,n){e.classList[n?"add":"remove"](t)}function E(e){const t={};for(const n of e)t[n.name]=n.value;return t}function $(e,t){return new e(t)}function L(e){l=e}function D(){if(!l)throw new Error("Function called outside component initialization");return l}
|
|
4
4
|
/**
|
|
5
5
|
* The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
|
|
6
6
|
* It must be called during the component's initialisation (but doesn't need to live *inside* the component;
|
|
@@ -9,7 +9,7 @@ for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return
|
|
|
9
9
|
* `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
|
|
10
10
|
*
|
|
11
11
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
|
12
|
-
*/function
|
|
12
|
+
*/function R(e){D().$$.on_mount.push(e)}const M=[],A=[];let B=[];const z=[],O=Promise.resolve();let F=!1;function N(e){B.push(e)}
|
|
13
13
|
// flush() calls callbacks in this order:
|
|
14
14
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
15
15
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -36,15 +36,15 @@ function I(){
|
|
|
36
36
|
if(0!==U)return;const e=l;do{
|
|
37
37
|
// first, call beforeUpdate functions
|
|
38
38
|
// and update components
|
|
39
|
-
try{for(;U<
|
|
39
|
+
try{for(;U<M.length;){const e=M[U];U++,L(e),j(e.$$)}}catch(e){
|
|
40
40
|
// reset dirty state to not end up in a deadlocked state and then rethrow
|
|
41
|
-
throw
|
|
41
|
+
throw M.length=0,U=0,e}for(L(null),M.length=0,U=0;A.length;)A.pop()();
|
|
42
42
|
// then, once components are updated, call
|
|
43
43
|
// afterUpdate functions. This may cause
|
|
44
44
|
// subsequent updates...
|
|
45
45
|
for(let e=0;e<B.length;e+=1){const t=B[e];H.has(t)||(
|
|
46
46
|
// ...so guard against infinite loops
|
|
47
|
-
H.add(t),t())}B.length=0}while(
|
|
47
|
+
H.add(t),t())}B.length=0}while(M.length);for(;z.length;)z.pop()();F=!1,H.clear(),L(e)}function j(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}
|
|
48
48
|
/**
|
|
49
49
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
|
50
50
|
*/const Y=new Set;let G,V;function W(){G={r:0,c:[],p:G}}function q(){G.r||i(G.c),G=G.p}function J(e,t){e&&e.i&&(Y.delete(e),e.i(t))}function Z(e,t,n,r){if(e&&e.o){if(Y.has(e))return;Y.add(e),G.c.push((()=>{Y.delete(e),r&&(n&&e.d(1),r())})),e.o(t)}else r&&r()}function K(e,t){const n={},r={},i={$$scope:1};let a=e.length;for(;a--;){const o=e[a],s=t[a];if(s){for(const e in o)e in s||(r[e]=1);for(const e in s)i[e]||(n[e]=s[e],i[e]=1);e[a]=s}else for(const e in o)i[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function X(e){return"object"==typeof e&&null!==e?e:{}}function Q(e){e&&e.c()}function ee(e,t,r,o){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,r),o||
|
|
@@ -59,7 +59,7 @@ e.$$.on_destroy?e.$$.on_destroy.push(...t):
|
|
|
59
59
|
i(t),e.$$.on_mount=[]})),l.forEach(N)}function te(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];B.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),B=t}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(t),
|
|
60
60
|
// TODO null out other refs, including component.$$ (but need to
|
|
61
61
|
// preserve final state?)
|
|
62
|
-
n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){-1===e.$$.dirty[0]&&(
|
|
62
|
+
n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){-1===e.$$.dirty[0]&&(M.push(e),F||(F=!0,O.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function re(t,n,a,o,s,u,c,d=[-1]){const h=l;L(t);const f=t.$$={fragment:null,ctx:[],
|
|
63
63
|
// state
|
|
64
64
|
props:u,update:e,not_equal:s,bound:r(),
|
|
65
65
|
// lifecycle
|
|
@@ -101,11 +101,11 @@ function fe(e,t,n){var r={};return n.isMergeableObject(e)&&de(e).forEach((functi
|
|
|
101
101
|
})(e,i)||(he(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return me;var n=t.customMerge(e);return"function"==typeof n?n:me}(i,n)(e[i],t[i],n):r[i]=ue(t[i],n))})),r}function me(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ce,n.isMergeableObject=n.isMergeableObject||se,
|
|
102
102
|
// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
|
|
103
103
|
// implementations can use it. The caller may not replace it.
|
|
104
|
-
n.cloneUnlessOtherwiseSpecified=ue;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):fe(e,t,n):ue(t,n)}me.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return me(e,n,t)}),{})};var pe=me,ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ye,Ce,
|
|
104
|
+
n.cloneUnlessOtherwiseSpecified=ue;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):fe(e,t,n):ue(t,n)}me.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return me(e,n,t)}),{})};var pe=me,ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ye,we,Ce,ve=function(){return ve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ve.apply(this,arguments)};function Te(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
|
|
105
105
|
/**
|
|
106
106
|
* Type Guards
|
|
107
107
|
*/
|
|
108
|
-
function xe(e){return e.type===
|
|
108
|
+
function xe(e){return e.type===we.literal}function _e(e){return e.type===we.argument}function ke(e){return e.type===we.number}function Pe(e){return e.type===we.date}function Se(e){return e.type===we.time}function Ee(e){return e.type===we.select}function $e(e){return e.type===we.plural}function Le(e){return e.type===we.pound}function De(e){return e.type===we.tag}function Re(e){return!(!e||"object"!=typeof e||e.type!==Ce.number)}function Me(e){return!(!e||"object"!=typeof e||e.type!==Ce.dateTime)}
|
|
109
109
|
// @generated from regex-gen.ts
|
|
110
110
|
"function"==typeof SuppressedError&&SuppressedError,function(e){
|
|
111
111
|
/** Argument is unclosed (e.g. `{0`) */
|
|
@@ -204,7 +204,7 @@ e[e.pound=7]="pound",
|
|
|
204
204
|
/**
|
|
205
205
|
* XML-like tag
|
|
206
206
|
*/
|
|
207
|
-
e[e.tag=8]="tag"}(
|
|
207
|
+
e[e.tag=8]="tag"}(we||(we={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Ce||(Ce={}));var Ae=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Be=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
208
208
|
/**
|
|
209
209
|
* https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
210
210
|
* Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
|
|
@@ -327,7 +327,7 @@ if(ot){
|
|
|
327
327
|
// Native
|
|
328
328
|
var pt=mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=function(e,t){var n;return pt.lastIndex=t,null!==(n=pt.exec(e)[1])&&void 0!==n?n:""}}else
|
|
329
329
|
// IE11
|
|
330
|
-
st=function(e,t){for(var n=[];;){var r=dt(e,t);if(void 0===r||yt(r)||
|
|
330
|
+
st=function(e,t){for(var n=[];;){var r=dt(e,t);if(void 0===r||yt(r)||wt(r))break;n.push(r),t+=r>=65536?2:1}return ut.apply(void 0,n)};var gt=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(ye.UNMATCHED_CLOSING_TAG,Xe(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&bt(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var o=this.clonePosition();this.bump(),r.push({type:we.pound,location:Xe(o,this.clonePosition())})}}}return{val:r,err:null}},
|
|
331
331
|
/**
|
|
332
332
|
* A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
|
|
333
333
|
* [custom element name][] except that a dash is NOT always mandatory and uppercase letters
|
|
@@ -349,14 +349,14 @@ st=function(e,t){for(var n=[];;){var r=dt(e,t);if(void 0===r||yt(r)||Ct(r))break
|
|
|
349
349
|
e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
|
|
350
350
|
var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
|
|
351
351
|
// Self closing tag
|
|
352
|
-
return{val:{type:
|
|
352
|
+
return{val:{type:we.literal,value:"<".concat(r,"/>"),location:Xe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();
|
|
353
353
|
// Expecting a close tag
|
|
354
|
-
if(this.bumpIf("</")){if(this.isEOF()||!bt(this.char()))return this.error(ye.INVALID_TAG,Xe(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(ye.UNMATCHED_CLOSING_TAG,Xe(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:
|
|
354
|
+
if(this.bumpIf("</")){if(this.isEOF()||!bt(this.char()))return this.error(ye.INVALID_TAG,Xe(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(ye.UNMATCHED_CLOSING_TAG,Xe(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:we.tag,value:r,children:a,location:Xe(n,this.clonePosition())},err:null}:this.error(ye.INVALID_TAG,Xe(o,this.clonePosition())))}return this.error(ye.UNCLOSED_TAG,Xe(n,this.clonePosition()))}return this.error(ye.INVALID_TAG,Xe(n,this.clonePosition()))},
|
|
355
355
|
/**
|
|
356
356
|
* This method assumes that the caller has peeked ahead for the first tag character.
|
|
357
357
|
*/
|
|
358
358
|
e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
|
|
359
|
-
for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var s=Xe(n,this.clonePosition());return{val:{type:
|
|
359
|
+
for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var s=Xe(n,this.clonePosition());return{val:{type:we.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(bt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
|
|
360
360
|
/** See `parseTag` function docs. */},
|
|
361
361
|
/**
|
|
362
362
|
* Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
|
|
@@ -384,7 +384,7 @@ this.bumpSpace(),this.isEOF())return this.error(ye.EXPECT_ARGUMENT_CLOSING_BRACE
|
|
|
384
384
|
var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ye.MALFORMED_ARGUMENT,Xe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ye.EXPECT_ARGUMENT_CLOSING_BRACE,Xe(n,this.clonePosition()));switch(this.char()){
|
|
385
385
|
// Simple argument: `{name}`
|
|
386
386
|
case 125/* `}` */:// `}`
|
|
387
|
-
return this.bump(),{val:{type:
|
|
387
|
+
return this.bump(),{val:{type:we.argument,
|
|
388
388
|
// value does not include the opening and closing braces.
|
|
389
389
|
value:r,location:Xe(n,this.clonePosition())},err:null};
|
|
390
390
|
// Argument with options: `{name, format, ...}`
|
|
@@ -408,13 +408,13 @@ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clo
|
|
|
408
408
|
// Extract style or skeleton
|
|
409
409
|
if(l&<(null==l?void 0:l.style,"::",0)){
|
|
410
410
|
// Skeleton starts with `::`.
|
|
411
|
-
var d=ht(l.style.slice(2));if("number"===o)return(b=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?b:{val:{type:
|
|
411
|
+
var d=ht(l.style.slice(2));if("number"===o)return(b=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?b:{val:{type:we.number,value:n,location:c,style:b.val},err:null};if(0===d.length)return this.error(ye.EXPECT_DATE_TIME_SKELETON,c);var h=d;
|
|
412
412
|
// Get "best match" pattern only if locale is passed, if not, let it
|
|
413
413
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
|
414
414
|
// for unsupported patterns.
|
|
415
|
-
this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Je(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var f={type:
|
|
415
|
+
this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Je(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var f={type:Ce.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ze(h):{}};return{val:{type:"date"===o?we.date:we.time,value:n,location:c,style:f},err:null}}
|
|
416
416
|
// Regular style or no style.
|
|
417
|
-
return{val:{type:"number"===o?
|
|
417
|
+
return{val:{type:"number"===o?we.number:"date"===o?we.date:we.time,value:n,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
|
|
418
418
|
// Parse this range:
|
|
419
419
|
// {name, plural, options}
|
|
420
420
|
// ^---------^
|
|
@@ -427,7 +427,7 @@ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.err
|
|
|
427
427
|
// ^--^
|
|
428
428
|
var p=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(ye.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Xe(this.clonePosition(),this.clonePosition()));var b;if(this.bumpSpace(),(b=this.tryParseDecimalInteger(ye.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ye.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return b;
|
|
429
429
|
// Parse another identifier for option parsing
|
|
430
|
-
this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=b.val}var y,
|
|
430
|
+
this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=b.val}var y,w=this.tryParsePluralOrSelectOptions(e,o,t,p);if(w.err)return w;if((y=this.tryParseArgumentClose(r)).err)return y;var C=Xe(r,this.clonePosition());return"select"===o?{val:{type:we.select,value:n,options:ct(w.val),location:C},err:null}:{val:{type:we.plural,value:n,options:ct(w.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:C},err:null};default:return this.error(ye.INVALID_ARGUMENT_TYPE,Xe(a,s))}},e.prototype.tryParseArgumentClose=function(e){
|
|
431
431
|
// Parse: {value, number, ::currency/GBP }
|
|
432
432
|
return this.isEOF()||125/* `}` */!==this.char()?this.error(ye.EXPECT_ARGUMENT_CLOSING_BRACE,Xe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
|
|
433
433
|
/**
|
|
@@ -438,7 +438,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
|
|
|
438
438
|
// Find the end of the quoted literal text.
|
|
439
439
|
this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ye.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Xe(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
|
|
440
440
|
// Parse the skeleton
|
|
441
|
-
for(var t=[],n=0,r=e.split(Oe).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(ye.INVALID_NUMBER_SKELETON,t)}return{val:{type:
|
|
441
|
+
for(var t=[],n=0,r=e.split(Oe).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(ye.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ce.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ve(n):{}},err:null}},
|
|
442
442
|
/**
|
|
443
443
|
* @param nesting_level The current nesting level of messages.
|
|
444
444
|
* This can be positive when parsing message fragment in select or plural argument options.
|
|
@@ -514,11 +514,11 @@ function yt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||
|
|
|
514
514
|
/**
|
|
515
515
|
* Code point equivalent of regex `\p{Pattern_Syntax}`.
|
|
516
516
|
* See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
|
|
517
|
-
*/function
|
|
517
|
+
*/function wt(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ct(e){e.forEach((function(e){if(delete e.location,Ee(e)||$e(e))for(var t in e.options)delete e.options[t].location,Ct(e.options[t].value);else ke(e)&&Re(e.style)||(Pe(e)||Se(e))&&Me(e.style)?delete e.style.location:De(e)&&Ct(e.children)}))}function vt(e,t){void 0===t&&(t={}),t=ve({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new gt(e,t).parse();if(n.err){var r=SyntaxError(ye[n.err.kind]);
|
|
518
518
|
// @ts-expect-error Assign to error object
|
|
519
519
|
throw r.location=n.err.location,
|
|
520
520
|
// @ts-expect-error Assign to error object
|
|
521
|
-
r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||
|
|
521
|
+
r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||Ct(n.val),n.val}
|
|
522
522
|
|
|
523
523
|
// Main
|
|
524
524
|
|
|
@@ -540,33 +540,33 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
|
540
540
|
// When value supplied is invalid
|
|
541
541
|
e.INVALID_VALUE="INVALID_VALUE",
|
|
542
542
|
// When we need specific Intl API but it's not available
|
|
543
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}($t||($t={}));var Mt
|
|
543
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}($t||($t={}));var Rt,Mt=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return be(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),At=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),$t.INVALID_VALUE,i)||this}return be(t,e),t}(Mt),Bt=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),$t.INVALID_VALUE,r)||this}return be(t,e),t}(Mt),zt=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),$t.MISSING_VALUE,n)||this}return be(t,e),t}(Mt);function Ot(e){return"function"==typeof e}
|
|
544
544
|
// TODO(skeleton): add skeleton support
|
|
545
545
|
function Ft(e,t,n,r,i,a,
|
|
546
546
|
// For debugging
|
|
547
547
|
o){
|
|
548
548
|
// Hot path for straight simple msg translations
|
|
549
|
-
if(1===e.length&&xe(e[0]))return[{type:
|
|
549
|
+
if(1===e.length&&xe(e[0]))return[{type:Rt.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];
|
|
550
550
|
// Exit early for string parts.
|
|
551
|
-
if(xe(c))s.push({type:
|
|
551
|
+
if(xe(c))s.push({type:Rt.literal,value:c.value});else
|
|
552
552
|
// TODO: should this part be literal type?
|
|
553
553
|
// Replace `#` in plural rules with the actual numeric value.
|
|
554
|
-
if(Le(c))"number"==typeof a&&s.push({type:
|
|
554
|
+
if(Le(c))"number"==typeof a&&s.push({type:Rt.literal,value:n.getNumberFormat(t).format(a)});else{var d=c.value;
|
|
555
555
|
// Enforce that all required values are provided by the caller.
|
|
556
|
-
if(!i||!(d in i))throw new zt(d,o);var h=i[d];if(_e(c))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?
|
|
556
|
+
if(!i||!(d in i))throw new zt(d,o);var h=i[d];if(_e(c))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Rt.literal:Rt.object,value:h});else
|
|
557
557
|
// Recursively format plural and select parts' option — which can be a
|
|
558
558
|
// nested pattern structure. The choosing of the option to use is
|
|
559
559
|
// abstracted-by and delegated-to the part helper object.
|
|
560
|
-
if(Pe(c)){var f="string"==typeof c.style?r.date[c.style]:
|
|
560
|
+
if(Pe(c)){var f="string"==typeof c.style?r.date[c.style]:Me(c.style)?c.style.parsedOptions:void 0;s.push({type:Rt.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(Se(c)){f="string"==typeof c.style?r.time[c.style]:Me(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:Rt.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(ke(c)){(f="string"==typeof c.style?r.number[c.style]:Re(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),s.push({type:Rt.literal,value:n.getNumberFormat(t,f).format(h)})}else{if(De(c)){var m=c.children,p=c.value,g=i[p];if(!Ot(g))throw new Bt(p,"function",o);var b=g(Ft(m,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?Rt.literal:Rt.object,value:e}})))}if(Ee(c)){if(!(y=c.options[h]||c.options.other))throw new At(c.value,h,Object.keys(c.options),o);s.push.apply(s,Ft(y.value,t,n,r,i))}else if($e(c)){var y;if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Mt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$t.MISSING_INTL_API,o);var w=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));y=c.options[w]||c.options.other}if(!y)throw new At(c.value,h,Object.keys(c.options),o);s.push.apply(s,Ft(y.value,t,n,r,i,h-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===Rt.literal&&t.type===Rt.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
|
|
561
561
|
/*
|
|
562
562
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
563
563
|
Copyrights licensed under the New BSD License.
|
|
564
564
|
See the accompanying LICENSE file for terms.
|
|
565
565
|
*/
|
|
566
566
|
// -- MessageFormat --------------------------------------------------------
|
|
567
|
-
function Nt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?ve(ve(ve({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=ve(ve({},i[t]),a[t]||{}),e}),{})):i),n}),ve({},e)):e}function Ht(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(
|
|
567
|
+
function Nt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?ve(ve(ve({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=ve(ve({},i[t]),a[t]||{}),e}),{})):i),n}),ve({},e)):e}function Ht(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Rt||(Rt={}));var Ut=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
|
|
568
568
|
// Hot path for straight simple msg translations
|
|
569
|
-
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===
|
|
569
|
+
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Rt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Ft(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},
|
|
570
570
|
// Defined first because it's used to build the format pattern.
|
|
571
571
|
this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
572
572
|
// Parse string messages into an AST.
|
|
@@ -577,9 +577,9 @@ this.formats=Nt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.
|
|
|
577
577
|
// Default format options used as the prototype of the `formats` provided to the
|
|
578
578
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
579
579
|
// and Intl.DateTimeFormat instances.
|
|
580
|
-
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const It={},jt=(e,t,n)=>n?(t in It||(It[t]={}),e in It[t]||(It[t][e]=n),n):n,Yt=(e,t)=>{if(null==t)return;if(t in It&&e in It[t])return It[t][e];const n=Tn(t);for(let r=0;r<n.length;r++){const i=qt(n[r],e);if(i)return jt(e,t,i)}};let Gt;const Vt=ae({});function Wt(e){return e in Gt}function qt(e,t){if(!Wt(e))return null;const n=function(e){return Gt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Jt(e,...t){delete It[e],Vt.update((n=>(n[e]=pe.all([n[e]||{},...t]),n)))}oe([Vt],(([e])=>Object.keys(e))),Vt.subscribe((e=>Gt=e));const Zt={};function Kt(e){return Zt[e]}function Xt(e){return null!=e&&Tn(e).some((e=>{var t;return null==(t=Kt(e))?void 0:t.size}))}function Qt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Zt[e].delete(t),0===Zt[e].size&&delete Zt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Jt(e,...t)))}const en={};function tn(e){if(!Xt(e))return e in en?en[e]:Promise.resolve();const t=function(e){return Tn(e).map((e=>{const t=Kt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return en[e]=Promise.all(t.map((([e,t])=>Qt(e,t)))).then((()=>{if(Xt(e))return tn(e);delete en[e]})),en[e]}var nn=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,on=(e,t)=>{var n={};for(var r in e)rn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&nn)for(var r of nn(e))t.indexOf(r)<0&&an.call(e,r)&&(n[r]=e[r]);return n};function sn({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Tn(e).join('", "')}".${Xt(xn())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`)}const ln={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function un(){return ln}function cn(e){const t=e,{formats:n}=t,r=on(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Ut.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(t){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,null==r.handleMissingMessage?r.handleMissingMessage=sn:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ln,r,{initialLocale:i}),n&&("number"in n&&Object.assign(ln.formats.number,n.number),"date"in n&&Object.assign(ln.formats.date,n.date),"time"in n&&Object.assign(ln.formats.time,n.time)),_n.set(i)}const dn=ae(!1);var hn=Object.defineProperty,fn=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,pn=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,yn=(e,t,n)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let
|
|
580
|
+
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const It={},jt=(e,t,n)=>n?(t in It||(It[t]={}),e in It[t]||(It[t][e]=n),n):n,Yt=(e,t)=>{if(null==t)return;if(t in It&&e in It[t])return It[t][e];const n=Tn(t);for(let r=0;r<n.length;r++){const i=qt(n[r],e);if(i)return jt(e,t,i)}};let Gt;const Vt=ae({});function Wt(e){return e in Gt}function qt(e,t){if(!Wt(e))return null;const n=function(e){return Gt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Jt(e,...t){delete It[e],Vt.update((n=>(n[e]=pe.all([n[e]||{},...t]),n)))}oe([Vt],(([e])=>Object.keys(e))),Vt.subscribe((e=>Gt=e));const Zt={};function Kt(e){return Zt[e]}function Xt(e){return null!=e&&Tn(e).some((e=>{var t;return null==(t=Kt(e))?void 0:t.size}))}function Qt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Zt[e].delete(t),0===Zt[e].size&&delete Zt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Jt(e,...t)))}const en={};function tn(e){if(!Xt(e))return e in en?en[e]:Promise.resolve();const t=function(e){return Tn(e).map((e=>{const t=Kt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return en[e]=Promise.all(t.map((([e,t])=>Qt(e,t)))).then((()=>{if(Xt(e))return tn(e);delete en[e]})),en[e]}var nn=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,on=(e,t)=>{var n={};for(var r in e)rn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&nn)for(var r of nn(e))t.indexOf(r)<0&&an.call(e,r)&&(n[r]=e[r]);return n};function sn({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Tn(e).join('", "')}".${Xt(xn())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`)}const ln={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function un(){return ln}function cn(e){const t=e,{formats:n}=t,r=on(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Ut.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(t){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,null==r.handleMissingMessage?r.handleMissingMessage=sn:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ln,r,{initialLocale:i}),n&&("number"in n&&Object.assign(ln.formats.number,n.number),"date"in n&&Object.assign(ln.formats.date,n.date),"time"in n&&Object.assign(ln.formats.time,n.time)),_n.set(i)}const dn=ae(!1);var hn=Object.defineProperty,fn=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,pn=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,yn=(e,t,n)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let wn;const Cn=ae(null);function vn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Tn(e,t=un().fallbackLocale){const n=vn(e);return t?[...new Set([...n,...vn(t)])]:n}function xn(){return null!=wn?wn:void 0}Cn.subscribe((e=>{wn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const _n=(kn=((e,t)=>{for(var n in t||(t={}))gn.call(t,n)&&yn(e,n,t[n]);if(pn)for(var n of pn(t))bn.call(t,n)&&yn(e,n,t[n]);return e})({},Cn),fn(kn,mn({set:e=>{if(e&&function(e){if(null==e)return;const t=Tn(e);for(let e=0;e<t.length;e++){const n=t[e];if(Wt(n))return n}}(e)&&Xt(e)){const{loadingDelay:t}=un();let n;return"undefined"!=typeof window&&null!=xn()&&t?n=window.setTimeout((()=>dn.set(!0)),t):dn.set(!0),tn(e).then((()=>{Cn.set(e)})).finally((()=>{clearTimeout(n),dn.set(!1)}))}return Cn.set(e)}})));var kn;const Pn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var Sn=Object.defineProperty,En=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Dn=(e,t,n)=>t in e?Sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rn=(e,t)=>{for(var n in t||(t={}))$n.call(t,n)&&Dn(e,n,t[n]);if(En)for(var n of En(t))Ln.call(t,n)&&Dn(e,n,t[n]);return e},Mn=(e,t)=>{var n={};for(var r in e)$n.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&En)for(var r of En(e))t.indexOf(r)<0&&Ln.call(e,r)&&(n[r]=e[r]);return n};const An=(e,t)=>{const{formats:n}=un();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Bn=Pn((e=>{var t=e,{locale:n,format:r}=t,i=Mn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=An("number",r)),new Intl.NumberFormat(n,i)})),zn=Pn((e=>{var t=e,{locale:n,format:r}=t,i=Mn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=An("date",r):0===Object.keys(i).length&&(i=An("date","short")),new Intl.DateTimeFormat(n,i)})),On=Pn((e=>{var t=e,{locale:n,format:r}=t,i=Mn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=An("time",r):0===Object.keys(i).length&&(i=An("time","short")),new Intl.DateTimeFormat(n,i)})),Fn=Pn((
|
|
581
581
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
582
|
-
(e,t=xn())=>new Ut(e,t,un().formats,{ignoreTag:un().ignoreTag}))),Nn=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=xn(),default:u}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Yt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(a=null!=(i=null==(r=(n=un()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?a:e;if(!s)return c;let d=c;try{d=Fn(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Hn=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=
|
|
582
|
+
(e,t=xn())=>new Ut(e,t,un().formats,{ignoreTag:un().ignoreTag}))),Nn=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=xn(),default:u}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Yt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(a=null!=(i=null==(r=(n=un()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?a:e;if(!s)return c;let d=c;try{d=Fn(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Hn=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Mn(t,["locale"]);return On(Rn({locale:n},r))})(t).format(e),Un=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Mn(t,["locale"]);return zn(Rn({locale:n},r))})(t).format(e),In=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Mn(t,["locale"]);return Bn(Rn({locale:n},r))})(t).format(e),jn=(e,t=xn())=>Yt(e,t),Yn=oe([_n,Vt],(()=>Nn));function Gn(e,t){Jt(e,t)}
|
|
583
583
|
/* eslint-disable no-prototype-builtins */oe([_n],(()=>Hn)),oe([_n],(()=>Un)),oe([_n],(()=>In)),oe([_n,Vt],(()=>jn));var Vn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
|
|
584
584
|
// eslint-disable-next-line no-undef
|
|
585
585
|
"undefined"!=typeof global&&global||{},Wn="URLSearchParams"in Vn,qn="Symbol"in Vn&&"iterator"in Symbol,Jn="FileReader"in Vn&&"Blob"in Vn&&function(){try{return new Blob,!0}catch(e){return!1}}(),Zn="FormData"in Vn,Kn="ArrayBuffer"in Vn;if(Kn)var Xn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Qn=ArrayBuffer.isView||function(e){return e&&Xn.indexOf(Object.prototype.toString.call(e))>-1};function er(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function tr(e){return"string"!=typeof e&&(e=String(e)),e}
|
|
@@ -634,7 +634,7 @@ self.fetch.bind(self);
|
|
|
634
634
|
PERFORMANCE OF THIS SOFTWARE.
|
|
635
635
|
***************************************************************************** */
|
|
636
636
|
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
637
|
-
var Cr=function(e,t){return Cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Cr(e,t)};function wr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function vr(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function xr(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _r(e){return"function"==typeof e}function kr(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Pr=kr((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Sr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Er=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=vr(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_r(l))try{l()}catch(e){i=e instanceof Pr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=vr(u),d=c.next();!d.done;d=c.next()){var h=d.value;try{Dr(h)}catch(e){i=null!=i?i:[],e instanceof Pr?i=xr(xr([],Tr(i)),Tr(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new Pr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Sr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Sr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),$r=Er.EMPTY;function Lr(e){return e instanceof Er||e&&"closed"in e&&_r(e.remove)&&_r(e.add)&&_r(e.unsubscribe)}function Dr(e){_r(e)?e():e.unsubscribe()}var Mr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Rr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Rr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,xr([e,t],Tr(n))):setTimeout.apply(void 0,xr([e,t],Tr(n)))},clearTimeout:function(e){var t=Rr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ar(){}var Br=null;function zr(e){if(Mr.useDeprecatedSynchronousErrorHandling){var t=!Br;if(t&&(Br={errorThrown:!1,error:null}),e(),t){var n=Br,r=n.errorThrown,i=n.error;if(Br=null,r)throw i}}else e()}var Or=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Lr(t)&&t.add(n)):n.destination=jr,n}return wr(t,e),t.create=function(e,t,n){return new Ur(e,t,n)},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,e.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}(Er),Fr=Function.prototype.bind;function Nr(e,t){return Fr.call(e,t)}var Hr=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ir(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ir(e)}else Ir(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ir(e)}},e}(),Ur=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_r(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Mr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Nr(t.next,a),error:t.error&&Nr(t.error,a),complete:t.complete&&Nr(t.complete,a)}):i=t;return o.destination=new Hr(i),o}return wr(t,e),t}(Or);function Ir(e){var t;t=e,Rr.setTimeout((function(){throw t}))}var jr={closed:!0,next:Ar,error:function(e){throw e},complete:Ar},Yr="function"==typeof Symbol&&Symbol.observable||"@@observable";function Gr(e){return e}var Vr=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Or||function(e){return e&&_r(e.next)&&_r(e.error)&&_r(e.complete)}(r)&&Lr(r)?e:new Ur(e,t,n);return zr((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Wr(t))((function(t,r){var i=new Ur({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Yr]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Gr:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Wr(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Wr(e){var t;return null!==(t=null!=e?e:Mr.Promise)&&void 0!==t?t:Promise}var qr=kr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Jr=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return wr(t,e),t.prototype.lift=function(e){var t=new Zr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new qr},t.prototype.next=function(e){var t=this;zr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=vr(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;zr((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;zr((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.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(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?$r:(this.currentObservers=null,a.push(e),new Er((function(){t.currentObservers=null,Sr(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Vr;return e.source=this,e},t.create=function(e,t){return new Zr(e,t)},t}(Vr),Zr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return wr(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:$r},t}(Jr),Kr={now:function(){return(Kr.delegate||Date).now()},delegate:void 0},Xr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Kr);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return wr(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Jr);let Qr=[],ei={};window.emWidgets={topic:(e,t=0)=>{if(-1==Qr.indexOf(e)){let n=new Xr(t);ei[e]=n,Qr.push(e)}return ei[e]}};
|
|
637
|
+
var wr=function(e,t){return wr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},wr(e,t)};function Cr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}wr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function vr(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function xr(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _r(e){return"function"==typeof e}function kr(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Pr=kr((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Sr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Er=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=vr(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_r(l))try{l()}catch(e){i=e instanceof Pr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=vr(u),d=c.next();!d.done;d=c.next()){var h=d.value;try{Dr(h)}catch(e){i=null!=i?i:[],e instanceof Pr?i=xr(xr([],Tr(i)),Tr(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new Pr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Sr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Sr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),$r=Er.EMPTY;function Lr(e){return e instanceof Er||e&&"closed"in e&&_r(e.remove)&&_r(e.add)&&_r(e.unsubscribe)}function Dr(e){_r(e)?e():e.unsubscribe()}var Rr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Mr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Mr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,xr([e,t],Tr(n))):setTimeout.apply(void 0,xr([e,t],Tr(n)))},clearTimeout:function(e){var t=Mr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ar(){}var Br=null;function zr(e){if(Rr.useDeprecatedSynchronousErrorHandling){var t=!Br;if(t&&(Br={errorThrown:!1,error:null}),e(),t){var n=Br,r=n.errorThrown,i=n.error;if(Br=null,r)throw i}}else e()}var Or=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Lr(t)&&t.add(n)):n.destination=jr,n}return Cr(t,e),t.create=function(e,t,n){return new Ur(e,t,n)},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,e.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}(Er),Fr=Function.prototype.bind;function Nr(e,t){return Fr.call(e,t)}var Hr=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ir(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ir(e)}else Ir(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ir(e)}},e}(),Ur=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_r(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Rr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Nr(t.next,a),error:t.error&&Nr(t.error,a),complete:t.complete&&Nr(t.complete,a)}):i=t;return o.destination=new Hr(i),o}return Cr(t,e),t}(Or);function Ir(e){var t;t=e,Mr.setTimeout((function(){throw t}))}var jr={closed:!0,next:Ar,error:function(e){throw e},complete:Ar},Yr="function"==typeof Symbol&&Symbol.observable||"@@observable";function Gr(e){return e}var Vr=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Or||function(e){return e&&_r(e.next)&&_r(e.error)&&_r(e.complete)}(r)&&Lr(r)?e:new Ur(e,t,n);return zr((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Wr(t))((function(t,r){var i=new Ur({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Yr]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Gr:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Wr(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Wr(e){var t;return null!==(t=null!=e?e:Rr.Promise)&&void 0!==t?t:Promise}var qr=kr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Jr=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return Cr(t,e),t.prototype.lift=function(e){var t=new Zr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new qr},t.prototype.next=function(e){var t=this;zr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=vr(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;zr((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;zr((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.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(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?$r:(this.currentObservers=null,a.push(e),new Er((function(){t.currentObservers=null,Sr(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Vr;return e.source=this,e},t.create=function(e,t){return new Zr(e,t)},t}(Vr),Zr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return Cr(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:$r},t}(Jr),Kr={now:function(){return(Kr.delegate||Date).now()},delegate:void 0},Xr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Kr);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return Cr(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Jr);let Qr=[],ei={};window.emWidgets={topic:(e,t=0)=>{if(-1==Qr.indexOf(e)){let n=new Xr(t);ei[e]=n,Qr.push(e)}return ei[e]}};
|
|
638
638
|
/**
|
|
639
639
|
* @name isMobile
|
|
640
640
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
@@ -665,9 +665,9 @@ if("undefined"==typeof window||void 0===u||"readyState"in u||null!=u.body||(// F
|
|
|
665
665
|
u.readyState="loading",window.addEventListener("load",(function(e){u.readyState="complete"}),!1)),null==a&&null!=s&&(// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest_in_IE6
|
|
666
666
|
a=function(){return new s("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==p){var g=d;d=function(e,t){var n=t.signal;return g(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},p=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function b(){this.bitsNeeded=0,this.codePoint=0}b.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",a=this.bitsNeeded,o=this.codePoint,s=0;s<e.length;s+=1){var l=e[s];0!==a&&(l<128||l>191||!t(o<<6|63&l,a-6,n(a,o)))&&(a=0,o=r,i+=String.fromCharCode(o)),0===a?(l>=0&&l<=127?(a=0,o=l):l>=192&&l<=223?(a=6,o=31&l):l>=224&&l<=239?(a=12,o=15&l):l>=240&&l<=247?(a=18,o=7&l):(a=0,o=r),0===a||t(o,a,n(a,o))||(a=0,o=r)):(a-=6,o=o<<6|63&l),0===a&&(o<=65535?i+=String.fromCharCode(o):(i+=String.fromCharCode(55296+(o-65535-1>>10)),i+=String.fromCharCode(56320+(o-65535-1&1023))))}return this.bitsNeeded=a,this.codePoint=o,i};
|
|
667
667
|
// IE, Edge
|
|
668
|
-
null!=f&&null!=m&&function(){try{return"test"===(new f).decode((new m).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(f=b);var y=function(){};function
|
|
668
|
+
null!=f&&null!=m&&function(){try{return"test"===(new f).decode((new m).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(f=b);var y=function(){};function w(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=y,this.onload=y,this.onerror=y,this.onreadystatechange=y,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=y}function C(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function v(e){for(
|
|
669
669
|
// Get headers: implemented according to mozilla's example code: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders#Example
|
|
670
|
-
var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),a=i.shift(),o=i.join(": ");t[
|
|
670
|
+
var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),a=i.shift(),o=i.join(": ");t[C(a)]=o}this._map=t}function T(){}function x(e){this._headers=e}function _(){}function k(){this._listeners=Object.create(null)}function P(e){r((function(){throw e}),0)}function S(e){this.type=e,this.target=void 0}function E(e,t){S.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function $(e,t){S.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function L(e,t){S.call(this,e),this.error=t.error}w.prototype.open=function(e,t){this._abort(!0);var n=this,o=this._xhr,s=1,l=0;this._abort=function(e){0!==n._sendTimeout&&(i(n._sendTimeout),n._sendTimeout=0),1!==s&&2!==s&&3!==s||(s=4,o.onload=y,o.onerror=y,o.onabort=y,o.onprogress=y,o.onreadystatechange=y,
|
|
671
671
|
// IE 8 - 9: XDomainRequest#abort() does not fire any event
|
|
672
672
|
// Opera < 10: XMLHttpRequest#abort() does not fire any event
|
|
673
673
|
o.abort(),0!==l&&(i(l),l=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),s=0};var u=function(){if(1===s){
|
|
@@ -702,9 +702,9 @@ c(),1===s||2===s||3===s){if(s=4,0!==l&&(i(l),l=0),n.readyState=4,"load"===e)n.on
|
|
|
702
702
|
c():2===o.readyState&&u())}(e)}),!("contentType"in o)&&"ontimeout"in a.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),o.open(e,t,!0),"readyState"in o&&(
|
|
703
703
|
// workaround for Opera 12 issue with "progress" events
|
|
704
704
|
// #91 (XMLHttpRequest onprogress not fired for streaming response in Edge 14-15-?)
|
|
705
|
-
l=r((function(){h()}),0))},
|
|
705
|
+
l=r((function(){h()}),0))},w.prototype.abort=function(){this._abort(!1)},w.prototype.getResponseHeader=function(e){return this._contentType},w.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},w.prototype.getAllResponseHeaders=function(){
|
|
706
706
|
// XMLHttpRequest#getAllResponseHeaders returns null for CORS requests in Firefox 3.6.28
|
|
707
|
-
return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},
|
|
707
|
+
return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},w.prototype.send=function(){
|
|
708
708
|
// loading indicator in Safari < ? (6), Chrome < 14, Firefox
|
|
709
709
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=736723
|
|
710
710
|
if("ontimeout"in a.prototype&&("sendAsBinary"in a.prototype||"mozAnon"in a.prototype)||null==u||null==u.readyState||"complete"===u.readyState){var e=this._xhr;
|
|
@@ -713,19 +713,19 @@ if("ontimeout"in a.prototype&&("sendAsBinary"in a.prototype||"mozAnon"in a.proto
|
|
|
713
713
|
// xhr.send(); throws "Not enough arguments" in Firefox 3.0
|
|
714
714
|
e.send(void 0)}catch(e){
|
|
715
715
|
// Safari 5.1.7, Opera 12
|
|
716
|
-
throw e}}else{var t=this;t._sendTimeout=r((function(){t._sendTimeout=0,t.send()}),4)}},v.prototype.get=function(e){return this._map[
|
|
716
|
+
throw e}}else{var t=this;t._sendTimeout=r((function(){t._sendTimeout=0,t.send()}),4)}},v.prototype.get=function(e){return this._map[C(e)]},null!=a&&null==a.HEADERS_RECEIVED&&(// IE < 9, Firefox 3.6
|
|
717
717
|
a.HEADERS_RECEIVED=2),T.prototype.open=function(e,t,n,r,i,o,s){e.open("GET",i);var l=0;for(var u in e.onprogress=function(){var t=e.responseText.slice(l);l+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===a.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new v(o))}},e.withCredentials=o,s)Object.prototype.hasOwnProperty.call(s,u)&&e.setRequestHeader(u,s[u]);return e.send(),e},x.prototype.get=function(e){return this._headers.get(e)},_.prototype.open=function(e,t,n,r,i,a,o){var s=null,l=new p,u=l.signal,h=new f;return d(i,{headers:o,credentials:a?"include":"same-origin",signal:u,cache:"no-store"}).then((function(e){
|
|
718
718
|
// see https://github.com/promises-aplus/promises-spec/issues/179
|
|
719
719
|
return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new x(e.headers)),new c((function(e,t){var r=function(){s.read().then((function(t){if(t.done)
|
|
720
720
|
//Note: bytes in textDecoder are ignored
|
|
721
|
-
e(void 0);else{var i=h.decode(t.value,{stream:!0});n(i),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=s&&s.cancel(),l.abort()}}},k.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(e){P(e)}}},k.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var i=!1,a=0;a<r.length;a+=1)r[a]===t&&(i=!0);i||r.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var i=[],a=0;a<r.length;a+=1)r[a]!==t&&i.push(r[a]);0===i.length?delete n[e]:n[e]=i}},E.prototype=Object.create(S.prototype),$.prototype=Object.create(S.prototype),L.prototype=Object.create(S.prototype);var D=-1,
|
|
721
|
+
e(void 0);else{var i=h.decode(t.value,{stream:!0});n(i),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=s&&s.cancel(),l.abort()}}},k.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(e){P(e)}}},k.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var i=!1,a=0;a<r.length;a+=1)r[a]===t&&(i=!0);i||r.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var i=[],a=0;a<r.length;a+=1)r[a]!==t&&i.push(r[a]);0===i.length?delete n[e]:n[e]=i}},E.prototype=Object.create(S.prototype),$.prototype=Object.create(S.prototype),L.prototype=Object.create(S.prototype);var D=-1,R=0,M=1,A=2,B=-1,z=0,O=1,F=2,N=3,H=/^text\/event\-stream(;.*)?$/i,U=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),I(n)},I=function(e){return Math.min(Math.max(e,1e3),18e6)},j=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){P(e)}};function Y(e,t){k.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var s=Boolean(n.withCredentials),l=n.lastEventIdQueryParameterName||"lastEventId",u=I(1e3),c=U(n.heartbeatTimeout,45e3),d="",h=u,f=!1,m=0,p=n.headers||{},g=n.Transport,b=G&&null==g?void 0:new w(null!=g?new g:null!=a&&"withCredentials"in a.prototype||null==o?new a:new o),y=null!=g&&"string"!=typeof g?new g:null==b?new _:new T,C=void 0,v=0,x=D,k="",P="",S="",Y="",V=z,W=0,q=0,J=function(t,n,r,i){if(x===R)if(200===t&&null!=r&&H.test(r)){x=M,f=Date.now(),h=u,e.readyState=M;var a=new $("open",{status:t,statusText:n,headers:i});e.dispatchEvent(a),j(e,e.onopen,a)}else{var o="";200!==t?(n&&(n=n.replace(/\s+/g," ")),o="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):o="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",X();a=new $("error",{status:t,statusText:n,headers:i});e.dispatchEvent(a),j(e,e.onerror,a),console.error(o)}},Z=function(t){if(x===M){for(var n=-1,a=0;a<t.length;a+=1){(l=t.charCodeAt(a))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(n=a)}var o=(-1!==n?Y:"")+t.slice(0,n+1);Y=(-1===n?Y:"")+t.slice(n+1),""!==t&&(f=Date.now(),m+=t.length);for(var s=0;s<o.length;s+=1){var l=o.charCodeAt(s);if(V===B&&l==="\n".charCodeAt(0))V=z;else if(V===B&&(V=z),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(V!==z){V===O&&(q=s+1);var p=o.slice(W,q-1),g=o.slice(q+(q<s&&o.charCodeAt(q)===" ".charCodeAt(0)?1:0),s);"data"===p?(k+="\n",k+=g):"id"===p?P=g:"event"===p?S=g:"retry"===p?(u=U(g,u),h=u):"heartbeatTimeout"===p&&(c=U(g,c),0!==v&&(i(v),v=r((function(){Q()}),c)))}if(V===z){if(""!==k){d=P,""===S&&(S="message");var b=new E(S,{data:k.slice(1),lastEventId:P});if(e.dispatchEvent(b),"open"===S?j(e,e.onopen,b):"message"===S?j(e,e.onmessage,b):"error"===S&&j(e,e.onerror,b),x===A)return}k="",S=""}V=l==="\r".charCodeAt(0)?B:z}else V===z&&(W=s,V=O),V===O?l===":".charCodeAt(0)&&(q=s+1,V=F):V===F&&(V=N)}}},K=function(t){if(x===M||x===R){x=D,0!==v&&(i(v),v=0),v=r((function(){Q()}),h),h=I(Math.min(16*u,2*h)),e.readyState=R;var n=new L("error",{error:t});e.dispatchEvent(n),j(e,e.onerror,n),null!=t&&console.error(t)}},X=function(){x=A,null!=C&&(C.abort(),C=void 0),0!==v&&(i(v),v=0),e.readyState=A},Q=function(){if(v=0,x===D){f=!1,m=0,v=r((function(){Q()}),c),x=R,k="",S="",P=d,Y="",W=0,q=0,V=z;
|
|
722
722
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=428916
|
|
723
723
|
// Request header field Last-Event-ID is not allowed by Access-Control-Allow-Headers.
|
|
724
724
|
var n=t;if("data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==d){
|
|
725
725
|
// Remove the lastEventId parameter if it's already part of the request URL.
|
|
726
726
|
var i=t.indexOf("?");n=-1===i?t:t.slice(0,i+1)+t.slice(i+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(e,t){return t===l?"":e})),
|
|
727
727
|
// Append the current lastEventId to the request URL.
|
|
728
|
-
n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var a=e.withCredentials,o={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(o[u]=s[u]);try{
|
|
728
|
+
n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var a=e.withCredentials,o={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(o[u]=s[u]);try{C=y.open(b,J,Z,K,n,a,o)}catch(e){throw X(),e}}else if(f||null==C){var h=Math.max((f||Date.now())+c-Date.now(),1);f=!1,v=r((function(){Q()}),h)}else K(new Error("No activity within "+c+" milliseconds. "+(x===R?"No response received.":m+" chars received.")+" Reconnecting.")),null!=C&&(C.abort(),C=void 0)};e.url=t,e.readyState=R,e.withCredentials=s,e.headers=p,e._close=X,Q()}(this,e,t)}var G=null!=d&&null!=h&&"body"in h.prototype;Y.prototype=Object.create(k.prototype),Y.prototype.CONNECTING=R,Y.prototype.OPEN=M,Y.prototype.CLOSED=A,Y.prototype.close=function(){this._close()},Y.CONNECTING=R,Y.OPEN=M,Y.CLOSED=A,Y.prototype.withCredentials=void 0;var V,W=l;null==a||null!=l&&"withCredentials"in l.prototype||(
|
|
729
729
|
// Why replace a native EventSource ?
|
|
730
730
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=444328
|
|
731
731
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=831392
|
|
@@ -735,42 +735,42 @@ n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var a=e.withCredent
|
|
|
735
735
|
W=Y),V=function(e){e.EventSourcePolyfill=Y,e.NativeEventSource=l,e.EventSource=W}(t),void 0!==V&&(e.exports=V)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:gr:globalThis)}));
|
|
736
736
|
/* src/Cells/Cell.svelte generated by Svelte v3.59.2 */function ii(t){let n;return{c(){n=y("slot"),this.c=e,_(n,"name",/*slotname*/t[0])},m(e,t){p(e,n,t)},p(e,[t]){/*slotname*/1&t&&_(n,"name",/*slotname*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function ai(e,t,n){let{slotname:r=""}=t;return e.$$set=e=>{"slotname"in e&&n(0,r=e.slotname)},[r]}class oi extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ai,ii,o,{slotname:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["slotname"]}get slotname(){return this.$$.ctx[0]}set slotname(e){this.$$set({slotname:e}),I()}}
|
|
737
737
|
/* src/Cells/ThumbnailCell.svelte generated by Svelte v3.59.2 */
|
|
738
|
-
function si(t){let n,r,i,a,o,s;return{c(){n=y("div"),r=y("div"),this.c=e,_(r,"class",i="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),_(r,"part",a="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),P(r,"background-image","url('"+(/*thumbnail*/t[0]?/*thumbnail*/t[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),_(n,"class","Thumbnail"),_(n,"part","Thumbnail")},m(e,i){p(e,n,i),m(n,r),o||(s=f(/*matchStatus*/t[2].call(null,r)),o=!0)},p(e,[t]){/*status*/2&t&&i!==(i="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"class",i),/*status*/2&t&&a!==(a="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"part",a),/*thumbnail*/1&t&&P(r,"background-image","url('"+(/*thumbnail*/e[0]?/*thumbnail*/e[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},i:e,o:e,d(e){e&&g(n),o=!1,s()}}}function li(e,t,n){let{thumbnail:r=""}=t,{status:i=""}=t;return
|
|
738
|
+
function si(t){let n,r,i,a,o,s;return{c(){n=y("div"),r=y("div"),this.c=e,_(r,"class",i="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),_(r,"part",a="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),P(r,"background-image","url('"+(/*thumbnail*/t[0]?/*thumbnail*/t[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),_(n,"class","Thumbnail"),_(n,"part","Thumbnail")},m(e,i){p(e,n,i),m(n,r),o||(s=f(/*matchStatus*/t[2].call(null,r)),o=!0)},p(e,[t]){/*status*/2&t&&i!==(i="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"class",i),/*status*/2&t&&a!==(a="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"part",a),/*thumbnail*/1&t&&P(r,"background-image","url('"+(/*thumbnail*/e[0]?/*thumbnail*/e[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},i:e,o:e,d(e){e&&g(n),o=!1,s()}}}function li(e,t,n){let{thumbnail:r=""}=t,{status:i=""}=t;return R((()=>{})),e.$$set=e=>{"thumbnail"in e&&n(0,r=e.thumbnail),"status"in e&&n(1,i=e.status)},[r,i,()=>{}]}customElements.define("slot-cell",oi);class ui extends V{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}',this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},li,si,o,{thumbnail:0,status:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["thumbnail","status"]}get thumbnail(){return this.$$.ctx[0]}set thumbnail(e){this.$$set({thumbnail:e}),I()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),I()}}
|
|
739
739
|
/* src/Cells/TitleTextCell.svelte generated by Svelte v3.59.2 */
|
|
740
740
|
function ci(e){let t,n,r,i,a,o,s;function l(e,t){/*collapsed*/
|
|
741
|
-
return e[2]?di:hi}let u=l(e),c=u(e);return{c(){t=y("div"),n=y("p"),r=
|
|
741
|
+
return e[2]?di:hi}let u=l(e),c=u(e);return{c(){t=y("div"),n=y("p"),r=C(/*title*/e[1]),i=v(),a=y("div"),c.c(),_(n,"class","Title"),_(n,"part","Title"),_(a,"class","CollapseButtonDetails"),_(a,"part","CollapseButtonDetails"),_(t,"class","DetailsTitle"),_(t,"part","DetailsTitle")},m(l,u){p(l,t,u),m(t,n),m(n,r),m(t,i),m(t,a),c.m(a,null),o||(s=x(a,"click",/*click_handler*/e[5]),o=!0)},p(e,t){/*title*/2&t&&k(r,/*title*/e[1]),u!==(u=l(e))&&(c.d(1),c=u(e),c&&(c.c(),c.m(a,null)))},d(e){e&&g(t),c.d(),o=!1,s()}}}
|
|
742
742
|
// (24:8) {:else}
|
|
743
|
-
function di(e){let t,n;return{c(){t=
|
|
743
|
+
function di(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M6 9l6 6 6-6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
|
|
744
744
|
// (20:8) {#if !collapsed}
|
|
745
|
-
function hi(e){let t,n;return{c(){t=
|
|
745
|
+
function hi(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M18 15l-6-6-6 6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
|
|
746
746
|
// (33:2) {#if text && !collapsed}
|
|
747
|
-
function fi(e){let t,n,r,i;return{c(){t=y("div"),_(t,"class","DetailsContent sc"),_(t,"part","DetailsContent")},m(a,o){p(a,t,o),r||(i=f(n=/*setContent*/e[4].call(null,t,/*text*/e[0])),r=!0)},p(e,t){n&&a(n.update)&&/*text*/1&t&&n.update.call(null,/*text*/e[0])},d(e){e&&g(t),r=!1,i()}}}function mi(t){let n,r,i=/*title*/t[1]&&ci(t),a=/*text*/t[0]&&!/*collapsed*/t[2]&&fi(t);return{c(){n=y("div"),i&&i.c(),r=v(),a&&a.c(),this.c=e,_(n,"class","DetailsCard"),_(n,"part","DetailsCard")},m(e,t){p(e,n,t),i&&i.m(n,null),m(n,r),a&&a.m(n,null)},p(e,[t]){/*title*/e[1]?i?i.p(e,t):(i=ci(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),/*text*/e[0]&&!/*collapsed*/e[2]?a?a.p(e,t):(a=fi(e),a.c(),a.m(n,null)):a&&(a.d(1),a=null)},i:e,o:e,d(e){e&&g(n),i&&i.d(),a&&a.d()}}}function pi(e,t,n){let{text:r=""}=t,{title:i=""}=t,a=!1;const o=()=>{n(2,a=!a)};return e.$$set=e=>{"text"in e&&n(0,r=e.text),"title"in e&&n(1,i=e.title)},[r,i,a,o,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},()=>o()]}customElements.define("thumbnail-cell",ui);class gi extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},pi,mi,o,{text:0,title:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["text","title"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),I()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),I()}}function bi(e,t){Jt(e,t)}function yi(e){_n.set(e)}customElements.define("title-text-cell",gi);const Ci={en:{tournamentsThumbnail:{startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}"}},hr:{tournamentsThumbnail:{startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}"}},el:{tournamentsThumbnail:{startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}"}},"zh-hk":{tournamentsThumbnail:{startingAtWithTime:"開始於 {startTime}",startedAtWithTime:"Started {startTime}"}}},wi={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} Do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限",participantingGames:"Participanting games"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité",participantingGames:"Participanting games"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat",participantingGames:"Jocuri participante"}},tr:{tournamentsPage:{loading:"Yükleniyor, lütfen bekleyin…",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",mostRounds:"MostRounds",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"limitsiz",participantingGames:"Participanting games"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},es:{tournamentsPage:{loading:"cargando, por favor espere…",back:"Volver",previous:"Anterior",next:"Siguiente",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",mostRounds:"LaMayoríaDeLasRondas",activePeriod:"Desde {startdate} hasta {enddate}",forwardCasino:"Vea los juegos de casino incluidos",forwardSports:"Vea los deportes incluidos",forwardMyTournaments:"Vea Mis Torneos",leaderBoard:"Marcador",rules:"Reglas",games:"Juegos",unlimited:"sin límite",participantingGames:"Participanting games"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan",participantingGames:"Participanting games"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado",participantingGames:"Participanting games"}}},vi={en:{tournamentsDuration:{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"}},hr:{tournamentsDuration:{finished:"Završeno",starting:"Počinje za ",left:"preostalo",minutes:"minute",hours:"sati",days:"dana"}},"zh-hk":{tournamentsDuration:{finished:"完成的",starting:"開始於",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"}},fr:{tournamentsDuration:{finished:"Fini",starting:"Début dans ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"}},ro:{tournamentsDuration:{finished:"Finalizat",starting:"Începe în",left:"rămase",minutes:"minute",hours:"ore",days:"zile"}},tr:{tournamentsDuration:{finished:"Sona ermiş",starting:"Başlamasına ",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"}},el:{tournamentsDuration:{finished:"Ολοκληρωμένα",starting:"Αρχίζει σε ",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"}},es:{tournamentsDuration:{finished:"Terminado",starting:"A partir de ",left:"queda",minutes:"minutos",hours:"horas",days:"días"}},hu:{tournamentsDuration:{finished:"Befejezve",starting:"Kezdésig",left:"bal",minutes:"perc",hours:"óra",days:"nap"}},pt:{tournamentsDuration:{finished:"Finalizado",starting:"Começando em",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"}}},Ti={en:{gamesSlider:{playNow:"Play now",participantingGames:"Participanting games"}},hr:{gamesSlider:{playNow:"Igraj sada",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{gamesSlider:{playNow:"现在播放",participantingGames:"Participanting games"}},fr:{gamesSlider:{playNow:"Joue maintenant",participantingGames:"Participanting games"}},ro:{gamesSlider:{playNow:"Joaca acum",participantingGames:"Participanting games"}},tr:{gamesSlider:{playNow:"Şimdi oyna",participantingGames:"Participanting games"}},el:{gamesSlider:{playNow:"Παίξε τώρα",participantingGames:"Participanting games"}},es:{gamesSlider:{playNow:"Reproducir ahora",participantingGames:"Participanting games"}},pt:{gamesSlider:{playNow:"Jogue agora",participantingGames:"Participanting games"}}},xi={en:{tournamentsThController:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}},hr:{tournamentsThController:{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":{tournamentsThController:{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"}},fr:{tournamentsThController:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - "}},ro:{tournamentsThController:{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:{tournamentsThController:{login:"Giriş",register:"Kayıt Ol",details:"Detaylar",enrolled:"Katıldın",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - "}},el:{tournamentsThController:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."}},es:{tournamentsThController:{login:"Entrar",register:"Regístrese en",details:"Detalles",enrolled:"Inscrito",join:"Únase",joinerror:"Se ha producido un error al registrarse en el torneo, inténtelo de nuevo."}},hu:{tournamentsThController:{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:{tournamentsThController:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -"}}},_i={en:{tournamentsTable:{leaderboard:"Leaderboard",score:"Score",betcounts:"Bet Count",winstakeratio:"WinstakeRatio",qualified:"Qualified",nowinners:"No winners for the time being. Be one of them!",Rank:"Rank",Player:"Player",Points:"Points",Prize:"Prize",UnqualifiedTips:"The minimum number of bets has not been reached. Check tournament rules.",me:"Me"}},hr:{tournamentsTable:{leaderboard:"Poredak",score:"Rezultat",betcounts:"Broj opklada",winstakeratio:"Omjer dobitka po ulogu",qualified:"Kvalificiran",nowinners:"Za sada nema pobjednika. Budi jedan od njih!",Rank:"Poredak",Player:"Igrač",Points:"Bodovi",Prize:"Nagrada",UnqualifiedTips:"Minimalni broj opklada nije dosegnut. Provjerite pravila turnira.",me:"Ja"}},"zh-hk":{tournamentsTable:{leaderboard:"排行榜",score:"分數",betcounts:"投注次數",winstakeratio:"勝率",qualified:"合格的",nowinners:"暫時沒有贏家。 成為他們中的一員!",Rank:"秩",Player:"播放器",Points:"積分",Prize:"獎",UnqualifiedTips:"未达到最低投注数。检查比赛规则。",me:"我"}},fr:{tournamentsTable:{leaderboard:"Tableau des leaders",score:"Score",betcounts:"Le pari compte",winstakeratio:"Indice du gain d'une mise",qualified:"Qualifié",nowinners:"Aucun gagnant pour l'instant, soyez l'un d'entre eux",Rank:"Rang",Player:"Joueur",Points:"Points",Prize:"Prix",UnqualifiedTips:"Le nombre de mises minimum n'est pas terminé. Vérifiez les règles.",me:"Me"}},ro:{tournamentsTable:{leaderboard:"Clasament",score:"Scor",betcounts:"Număr Pariuri",winstakeratio:"Raport de câștig",qualified:"Calificat",nowinners:"Nu există câștigători pentru moment. Fii unul dintre ei!",Rank:"Clasament",Player:"Jucător",Points:"Puncte",Prize:"Premiu",UnqualifiedTips:"Numărul minim de pariuri nu a fost atins. Verificați regulile.",me:"Eu"}},tr:{tournamentsTable:{leaderboard:"Liderlik Tablosu",score:"Skor",betcounts:"Bahis Sayısı",winstakeratio:"Maksimum Kazanç / Bahis Oranı",qualified:"Tur atlamış",nowinners:"Kazanan yok. Kazananlardan birisi ol!",Rank:"Sıra",Player:"Oyuncu",Points:"Puan",Prize:"Ödül",UnqualifiedTips:"Minimum bahis sayısına ulaşılmadı. Turnuva kurallarını kontrol ediniz.",me:"Ben"}},el:{tournamentsTable:{leaderboard:"Βαθμολογία",score:"Σκορ",betcounts:"Αριθμός Πονταρισμάτων",winstakeratio:"Μέγιστος λόγος πονταρίσματος κερδών",qualified:"Προκρίθηκε",nowinners:"Δεν υπάρχουν νικητές ακόμα.",Rank:"Κατάταξη",Player:"Όνομα",Points:"Πόντοι",Prize:"Έπαθλο",UnqualifiedTips:"Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.",me:"Εγώ"}},es:{tournamentsTable:{leaderboard:"Marcador",score:"Puntuación",betcounts:"Apuesta cuenta",winstakeratio:"RatioDeGanancia",qualified:"Calificado",nowinners:"No hay ganadores por el momento. ¡Sé uno de ellos!",Rank:"Rango",Player:"Jugador",Points:"Puntos",Prize:"Premio",UnqualifiedTips:"No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.",me:"Yo"}},hu:{tournamentsTable:{leaderboard:"Ranglista",score:"Pontszám",betcounts:"Fogadás beleszámít",winstakeratio:"WinstakeRatio",qualified:"Kvalifikált",nowinners:"Még nincs nyertes. Legyen Ön az egyik!",Rank:"Rangsor",Player:"Játékos",Points:"Pontszám",Prize:"Nyeremény",UnqualifiedTips:"Minimális tét nincs elérve. Ellenőrizze a szabályokat.",me:"Én"}},pt:{tournamentsTable:{leaderboard:"Entre os melhores",score:"Pontuação",betcounts:"Contagens de Apostas",winstakeratio:"Rácio de Vitórias",qualified:"Qualificado",nowinners:"Sem vencedores por enquanto. Seja um deles!",Rank:"Classificação",Player:"Jogador",Points:"Pontos",Prize:"Prêmio",UnqualifiedTips:"Contagem mínima de apostas não concluída. Confira Regras.",me:"Me"}}},ki={en:{tournamentsPrizes:{prizes:"Prizes",noprizes:"No available prizes",place:"place"}},hr:{tournamentsPrizes:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},"zh-hk":{tournamentsPrizes:{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"}},fr:{tournamentsPrizes:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"}},ro:{tournamentsPrizes:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"}},tr:{tournamentsPrizes:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"}},el:{tournamentsPrizes:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"}},es:{tournamentsPrizes:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"}},hu:{tournamentsPrizes:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"}},pt:{tournamentsPrizes:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"}}},Pi={en:{tournamentsThumbnail:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hr:{tournamentsThumbnail:{enrolled:"Upisan",scoreCriteria:"Kriterij rezultata",minbet:"Minimalan broj opklada",seegames:"Možete vidjeti igre",here:"ovdje",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj opklada",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Ukupni dobitak po ulogu",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"}},"zh-hk":{tournamentsThumbnail:{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},fr:{tournamentsThumbnail:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},ro:{tournamentsThumbnail:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"}},tr:{tournamentsThumbnail:{enrolled:"Katıldın",scoreCriteria:"Skor kriteri",minbet:"en düşük bahis sayısı",seegames:"Turnuvadaki oyunları görmek için",here:"tıklayın",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",startingAt:"Başlangıç saati:",startedAt:"Başlangıç saati:",mostRounds:"ÇoğuRounds",betCount:"Oynanan Tur Sayısı",maxWinStakeRatio:"Maksimum Kazanç / Bahis Oranı",winStakeRatio:"Kazanç / Bahis Oranı",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık"}},el:{tournamentsThumbnail:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"}},es:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Criterios de puntuación",minbet:"la apuesta mínima cuenta",seegames:"Puedes ver los juegos",here:"aquí",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",startingAt:"Desde",startedAt:"Empezó el:",mostRounds:"LaMayoríaDeLasRondas",betCount:"Recuento De Apuestas",maxWinStakeRatio:"Ratio De Ganancia Máxima",winStakeRatio:"Ratio De Ganancia",January:"de enero",February:"de febrero",March:"de marzo",April:"de abril",May:"de mayo",June:"de junio",July:"de julio",August:"de agosto",September:"de septiembre",October:"de octubre",November:"de noviembre",December:"de diciembre"}},pt:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hu:{tournamentsThumbnail:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}}};
|
|
747
|
+
function fi(e){let t,n,r,i;return{c(){t=y("div"),_(t,"class","DetailsContent sc"),_(t,"part","DetailsContent")},m(a,o){p(a,t,o),r||(i=f(n=/*setContent*/e[4].call(null,t,/*text*/e[0])),r=!0)},p(e,t){n&&a(n.update)&&/*text*/1&t&&n.update.call(null,/*text*/e[0])},d(e){e&&g(t),r=!1,i()}}}function mi(t){let n,r,i=/*title*/t[1]&&ci(t),a=/*text*/t[0]&&!/*collapsed*/t[2]&&fi(t);return{c(){n=y("div"),i&&i.c(),r=v(),a&&a.c(),this.c=e,_(n,"class","DetailsCard"),_(n,"part","DetailsCard")},m(e,t){p(e,n,t),i&&i.m(n,null),m(n,r),a&&a.m(n,null)},p(e,[t]){/*title*/e[1]?i?i.p(e,t):(i=ci(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),/*text*/e[0]&&!/*collapsed*/e[2]?a?a.p(e,t):(a=fi(e),a.c(),a.m(n,null)):a&&(a.d(1),a=null)},i:e,o:e,d(e){e&&g(n),i&&i.d(),a&&a.d()}}}function pi(e,t,n){let{text:r=""}=t,{title:i=""}=t,a=!1;const o=()=>{n(2,a=!a)};return e.$$set=e=>{"text"in e&&n(0,r=e.text),"title"in e&&n(1,i=e.title)},[r,i,a,o,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},()=>o()]}customElements.define("thumbnail-cell",ui);class gi extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},pi,mi,o,{text:0,title:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["text","title"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),I()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),I()}}function bi(e,t){Jt(e,t)}function yi(e){_n.set(e)}customElements.define("title-text-cell",gi);const wi={en:{tournamentsThumbnail:{startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}"}},hr:{tournamentsThumbnail:{startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}"}},el:{tournamentsThumbnail:{startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}"}},"zh-hk":{tournamentsThumbnail:{startingAtWithTime:"開始於 {startTime}",startedAtWithTime:"Started {startTime}"}}},Ci={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} Do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限",participantingGames:"Participanting games"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité",participantingGames:"Participanting games"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat",participantingGames:"Jocuri participante"}},tr:{tournamentsPage:{loading:"Yükleniyor, lütfen bekleyin…",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",mostRounds:"MostRounds",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"limitsiz",participantingGames:"Participanting games"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},es:{tournamentsPage:{loading:"cargando, por favor espere…",back:"Volver",previous:"Anterior",next:"Siguiente",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",mostRounds:"LaMayoríaDeLasRondas",activePeriod:"Desde {startdate} hasta {enddate}",forwardCasino:"Vea los juegos de casino incluidos",forwardSports:"Vea los deportes incluidos",forwardMyTournaments:"Vea Mis Torneos",leaderBoard:"Marcador",rules:"Reglas",games:"Juegos",unlimited:"sin límite",participantingGames:"Participanting games"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan",participantingGames:"Participanting games"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado",participantingGames:"Participanting games"}}},vi={en:{tournamentsDuration:{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"}},hr:{tournamentsDuration:{finished:"Završeno",starting:"Počinje za ",left:"preostalo",minutes:"minute",hours:"sati",days:"dana"}},"zh-hk":{tournamentsDuration:{finished:"完成的",starting:"開始於",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"}},fr:{tournamentsDuration:{finished:"Fini",starting:"Début dans ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"}},ro:{tournamentsDuration:{finished:"Finalizat",starting:"Începe în",left:"rămase",minutes:"minute",hours:"ore",days:"zile"}},tr:{tournamentsDuration:{finished:"Sona ermiş",starting:"Başlamasına ",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"}},el:{tournamentsDuration:{finished:"Ολοκληρωμένα",starting:"Αρχίζει σε ",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"}},es:{tournamentsDuration:{finished:"Terminado",starting:"A partir de ",left:"queda",minutes:"minutos",hours:"horas",days:"días"}},hu:{tournamentsDuration:{finished:"Befejezve",starting:"Kezdésig",left:"bal",minutes:"perc",hours:"óra",days:"nap"}},pt:{tournamentsDuration:{finished:"Finalizado",starting:"Começando em",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"}}},Ti={en:{gamesSlider:{playNow:"Play now",participantingGames:"Participanting games"}},hr:{gamesSlider:{playNow:"Igraj sada",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{gamesSlider:{playNow:"现在播放",participantingGames:"Participanting games"}},fr:{gamesSlider:{playNow:"Joue maintenant",participantingGames:"Participanting games"}},ro:{gamesSlider:{playNow:"Joaca acum",participantingGames:"Participanting games"}},tr:{gamesSlider:{playNow:"Şimdi oyna",participantingGames:"Participanting games"}},el:{gamesSlider:{playNow:"Παίξε τώρα",participantingGames:"Participanting games"}},es:{gamesSlider:{playNow:"Reproducir ahora",participantingGames:"Participanting games"}},pt:{gamesSlider:{playNow:"Jogue agora",participantingGames:"Participanting games"}}},xi={en:{tournamentsThController:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}},hr:{tournamentsThController:{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":{tournamentsThController:{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"}},fr:{tournamentsThController:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - "}},ro:{tournamentsThController:{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:{tournamentsThController:{login:"Giriş",register:"Kayıt Ol",details:"Detaylar",enrolled:"Katıldın",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - "}},el:{tournamentsThController:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."}},es:{tournamentsThController:{login:"Entrar",register:"Regístrese en",details:"Detalles",enrolled:"Inscrito",join:"Únase",joinerror:"Se ha producido un error al registrarse en el torneo, inténtelo de nuevo."}},hu:{tournamentsThController:{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:{tournamentsThController:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -"}}},_i={en:{tournamentsTable:{leaderboard:"Leaderboard",score:"Score",betcounts:"Bet Count",winstakeratio:"WinstakeRatio",qualified:"Qualified",nowinners:"No winners for the time being. Be one of them!",Rank:"Rank",Player:"Player",Points:"Points",Prize:"Prize",UnqualifiedTips:"The minimum number of bets has not been reached. Check tournament rules.",me:"Me"}},hr:{tournamentsTable:{leaderboard:"Poredak",score:"Rezultat",betcounts:"Broj opklada",winstakeratio:"Omjer dobitka po ulogu",qualified:"Kvalificiran",nowinners:"Za sada nema pobjednika. Budi jedan od njih!",Rank:"Poredak",Player:"Igrač",Points:"Bodovi",Prize:"Nagrada",UnqualifiedTips:"Minimalni broj opklada nije dosegnut. Provjerite pravila turnira.",me:"Ja"}},"zh-hk":{tournamentsTable:{leaderboard:"排行榜",score:"分數",betcounts:"投注次數",winstakeratio:"勝率",qualified:"合格的",nowinners:"暫時沒有贏家。 成為他們中的一員!",Rank:"秩",Player:"播放器",Points:"積分",Prize:"獎",UnqualifiedTips:"未达到最低投注数。检查比赛规则。",me:"我"}},fr:{tournamentsTable:{leaderboard:"Tableau des leaders",score:"Score",betcounts:"Le pari compte",winstakeratio:"Indice du gain d'une mise",qualified:"Qualifié",nowinners:"Aucun gagnant pour l'instant, soyez l'un d'entre eux",Rank:"Rang",Player:"Joueur",Points:"Points",Prize:"Prix",UnqualifiedTips:"Le nombre de mises minimum n'est pas terminé. Vérifiez les règles.",me:"Me"}},ro:{tournamentsTable:{leaderboard:"Clasament",score:"Scor",betcounts:"Număr Pariuri",winstakeratio:"Raport de câștig",qualified:"Calificat",nowinners:"Nu există câștigători pentru moment. Fii unul dintre ei!",Rank:"Clasament",Player:"Jucător",Points:"Puncte",Prize:"Premiu",UnqualifiedTips:"Numărul minim de pariuri nu a fost atins. Verificați regulile.",me:"Eu"}},tr:{tournamentsTable:{leaderboard:"Liderlik Tablosu",score:"Skor",betcounts:"Bahis Sayısı",winstakeratio:"Maksimum Kazanç / Bahis Oranı",qualified:"Tur atlamış",nowinners:"Kazanan yok. Kazananlardan birisi ol!",Rank:"Sıra",Player:"Oyuncu",Points:"Puan",Prize:"Ödül",UnqualifiedTips:"Minimum bahis sayısına ulaşılmadı. Turnuva kurallarını kontrol ediniz.",me:"Ben"}},el:{tournamentsTable:{leaderboard:"Βαθμολογία",score:"Σκορ",betcounts:"Αριθμός Πονταρισμάτων",winstakeratio:"Μέγιστος λόγος πονταρίσματος κερδών",qualified:"Προκρίθηκε",nowinners:"Δεν υπάρχουν νικητές ακόμα.",Rank:"Κατάταξη",Player:"Όνομα",Points:"Πόντοι",Prize:"Έπαθλο",UnqualifiedTips:"Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.",me:"Εγώ"}},es:{tournamentsTable:{leaderboard:"Marcador",score:"Puntuación",betcounts:"Apuesta cuenta",winstakeratio:"RatioDeGanancia",qualified:"Calificado",nowinners:"No hay ganadores por el momento. ¡Sé uno de ellos!",Rank:"Rango",Player:"Jugador",Points:"Puntos",Prize:"Premio",UnqualifiedTips:"No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.",me:"Yo"}},hu:{tournamentsTable:{leaderboard:"Ranglista",score:"Pontszám",betcounts:"Fogadás beleszámít",winstakeratio:"WinstakeRatio",qualified:"Kvalifikált",nowinners:"Még nincs nyertes. Legyen Ön az egyik!",Rank:"Rangsor",Player:"Játékos",Points:"Pontszám",Prize:"Nyeremény",UnqualifiedTips:"Minimális tét nincs elérve. Ellenőrizze a szabályokat.",me:"Én"}},pt:{tournamentsTable:{leaderboard:"Entre os melhores",score:"Pontuação",betcounts:"Contagens de Apostas",winstakeratio:"Rácio de Vitórias",qualified:"Qualificado",nowinners:"Sem vencedores por enquanto. Seja um deles!",Rank:"Classificação",Player:"Jogador",Points:"Pontos",Prize:"Prêmio",UnqualifiedTips:"Contagem mínima de apostas não concluída. Confira Regras.",me:"Me"}}},ki={en:{tournamentsPrizes:{prizes:"Prizes",noprizes:"No available prizes",place:"place"}},hr:{tournamentsPrizes:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},"zh-hk":{tournamentsPrizes:{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"}},fr:{tournamentsPrizes:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"}},ro:{tournamentsPrizes:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"}},tr:{tournamentsPrizes:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"}},el:{tournamentsPrizes:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"}},es:{tournamentsPrizes:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"}},hu:{tournamentsPrizes:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"}},pt:{tournamentsPrizes:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"}}},Pi={en:{tournamentsThumbnail:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hr:{tournamentsThumbnail:{enrolled:"Upisan",scoreCriteria:"Kriterij rezultata",minbet:"Minimalan broj opklada",seegames:"Možete vidjeti igre",here:"ovdje",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj opklada",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Ukupni dobitak po ulogu",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"}},"zh-hk":{tournamentsThumbnail:{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},fr:{tournamentsThumbnail:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},ro:{tournamentsThumbnail:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"}},tr:{tournamentsThumbnail:{enrolled:"Katıldın",scoreCriteria:"Skor kriteri",minbet:"en düşük bahis sayısı",seegames:"Turnuvadaki oyunları görmek için",here:"tıklayın",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",startingAt:"Başlangıç saati:",startedAt:"Başlangıç saati:",mostRounds:"ÇoğuRounds",betCount:"Oynanan Tur Sayısı",maxWinStakeRatio:"Maksimum Kazanç / Bahis Oranı",winStakeRatio:"Kazanç / Bahis Oranı",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık"}},el:{tournamentsThumbnail:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"}},es:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Criterios de puntuación",minbet:"la apuesta mínima cuenta",seegames:"Puedes ver los juegos",here:"aquí",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",startingAt:"Desde",startedAt:"Empezó el:",mostRounds:"LaMayoríaDeLasRondas",betCount:"Recuento De Apuestas",maxWinStakeRatio:"Ratio De Ganancia Máxima",winStakeRatio:"Ratio De Ganancia",January:"de enero",February:"de febrero",March:"de marzo",April:"de abril",May:"de mayo",June:"de junio",July:"de julio",August:"de agosto",September:"de septiembre",October:"de octubre",November:"de noviembre",December:"de diciembre"}},pt:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hu:{tournamentsThumbnail:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}}};
|
|
748
748
|
/* src/Cells/ScoreCriteriaCell.svelte generated by Svelte v3.59.2 */
|
|
749
|
-
function Si(t){let n,r,i,a,o,s,l,u,c,d,h,b,
|
|
749
|
+
function Si(t){let n,r,i,a,o,s,l,u,c,d,h,b,w,T=/*$_*/t[2]("tournamentsThumbnail.scoreCriteria")+"",x=/*$_*/t[2]("tournamentsThumbnail.minbet")+"";return{c(){n=y("div"),r=y("p"),i=C(T),a=C(":\n "),o=y("span"),s=C(/*showScoreCriteria*/t[1]),l=C("\n ("),u=C(x),c=v(),d=C(/*minbetcount*/t[0]),h=C(")"),this.c=e,_(o,"part","ScoreCriteriaSpan"),_(r,"part","ScoreCriteriaP"),_(n,"class","ScoreCriteria"),_(n,"part","ScoreCriteria")},m(e,g){p(e,n,g),m(n,r),m(r,i),m(r,a),m(r,o),m(o,s),m(r,l),m(r,u),m(r,c),m(r,d),m(r,h),b||(w=f(/*matchScoreCriteria*/t[3].call(null,o)),b=!0)},p(e,[t]){/*$_*/4&t&&T!==(T=/*$_*/e[2]("tournamentsThumbnail.scoreCriteria")+"")&&k(i,T),/*showScoreCriteria*/2&t&&k(s,/*showScoreCriteria*/e[1]),/*$_*/4&t&&x!==(x=/*$_*/e[2]("tournamentsThumbnail.minbet")+"")&&k(u,x),/*minbetcount*/1&t&&k(d,/*minbetcount*/e[0])},i:e,o:e,d(e){e&&g(n),b=!1,w()}}}function Ei(e,t,n){let r;d(e,Yn,(e=>n(2,r=e)));let{scorecriteria:i=""}=t,{lang:a="en"}=t,{minbetcount:o}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let s="";const l=()=>{"BetCount"==i&&n(1,s=r("tournamentsThumbnail.betCount")),"MaxWinStakeRatio"==i&&n(1,s=r("tournamentsThumbnail.maxWinStakeRatio")),"WinStakeRatio"==i&&n(1,s=r("tournamentsThumbnail.winStakeRatio"))};return R((()=>{})),e.$$set=e=>{"scorecriteria"in e&&n(4,i=e.scorecriteria),"lang"in e&&n(5,a=e.lang),"minbetcount"in e&&n(0,o=e.minbetcount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty&&a&&(yi(a),l()),/*scorecriteria*/16&e.$$.dirty&&i&&l()},[o,s,r,l,i,a]}class $i extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ei,Si,o,{scorecriteria:4,lang:5,minbetcount:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["scorecriteria","lang","minbetcount"]}get scorecriteria(){return this.$$.ctx[4]}set scorecriteria(e){this.$$set({scorecriteria:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get minbetcount(){return this.$$.ctx[0]}set minbetcount(e){this.$$set({minbetcount:e}),I()}}
|
|
750
750
|
/* src/Cells/JoinButtonCell.svelte generated by Svelte v3.59.2 */
|
|
751
|
-
function Li(e){let t,n=/*bonuscode*/e[1]&&
|
|
752
|
-
// (
|
|
753
|
-
function Di(e){let t,n,r,a,o,s,l,u=/*$_*/e[9]("tournamentsThController.login")+"",c=/*$_*/e[9]("tournamentsThController.register")+"";return{c(){t=y("button"),n=
|
|
754
|
-
// (
|
|
755
|
-
function
|
|
756
|
-
return 1==e[5]?Ai:
|
|
757
|
-
// (
|
|
758
|
-
function
|
|
759
|
-
// (
|
|
760
|
-
function Ai(t){let n,r;return{c(){n=
|
|
761
|
-
// (
|
|
762
|
-
function Bi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsThController.joinerror")+"";return{c(){t=y("span"),n=
|
|
763
|
-
return e[4]?/*status*/"Closed"!=e[2]&&/*status*/"Closing"!=e[2]?Li:void 0:Di}let o=a(t),s=o&&o(t),l=/*errorJoin*/(t[6]||/*errorJoinConcurrently*/t[8])&&Bi(t);return{c(){n=y("div"),s&&s.c(),r=v(),l&&l.c(),i=T(),this.c=e,_(n,"class","TournamentButtons"),_(n,"part","TournamentButtons")},m(e,t){p(e,n,t),s&&s.m(n,null),p(e,r,t),l&&l.m(e,t),p(e,i,t)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(n,null))),/*errorJoin*/e[6]||/*errorJoinConcurrently*/e[8]?l?l.p(e,t):(l=Bi(e),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i:e,o:e,d(e){e&&g(n),s&&s.d(),e&&g(r),l&&l.d(e),e&&g(i)}}}function Oi(e,t,n){let r;d(e,Yn,(e=>n(9,r=e)));let{session:i=""}=t,{tourid:a=""}=t,{endpoint:o=""}=t,{userenrolled:s=""}=t,{showleaderboard:l=""}=t,{lang:u=""}=t,{loginevent:c=""}=t,{registerevent:h=""}=t,{loginurl:f=""}=t,{registerurl:m=""}=t,{currency:p=""}=t,{bonuscode:g=""}=t,{status:b=""}=t,y="";Object.keys(xi).forEach((e=>{bi(e,xi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let
|
|
751
|
+
function Li(e){let t,n=/*bonuscode*/e[1]&&Ri(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*bonuscode*/e[1]?n?n.p(e,r):(n=Ri(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
|
|
752
|
+
// (159:2) {#if !isLoggedIn}
|
|
753
|
+
function Di(e){let t,n,r,a,o,s,l,u=/*$_*/e[9]("tournamentsThController.login")+"",c=/*$_*/e[9]("tournamentsThController.register")+"";return{c(){t=y("button"),n=C(u),r=v(),a=y("button"),o=C(c),_(t,"class","LoginButton"),_(t,"part","LoginButton"),_(a,"class","RegisterButton"),_(a,"part","RegisterButton")},m(i,u){p(i,t,u),m(t,n),p(i,r,u),p(i,a,u),m(a,o),s||(l=[x(t,"click",/*click_handler*/e[23]),x(a,"click",/*click_handler_1*/e[24])],s=!0)},p(e,t){/*$_*/512&t&&u!==(u=/*$_*/e[9]("tournamentsThController.login")+"")&&k(n,u),/*$_*/512&t&&c!==(c=/*$_*/e[9]("tournamentsThController.register")+"")&&k(o,c)},d(e){e&&g(t),e&&g(r),e&&g(a),s=!1,i(l)}}}
|
|
754
|
+
// (164:6) {#if bonuscode}
|
|
755
|
+
function Ri(e){let t,n,r,i,a;function o(e,t){/*joinButtonLoading*/
|
|
756
|
+
return 1==e[5]?Ai:Mi}let s=o(e),l=s(e);return{c(){t=y("button"),l.c(),_(t,"class",n="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":"")),_(t,"part",r="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":"")),t.disabled=/*errorJoin*/e[6]},m(n,r){p(n,t,r),l.m(t,null),i||(a=x(t,"click",/*click_handler_2*/e[25]),i=!0)},p(e,i){s===(s=o(e))&&l?l.p(e,i):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null))),/*fullsize*/8&i&&n!==(n="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":""))&&_(t,"class",n),/*fullsize*/8&i&&r!==(r="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":""))&&_(t,"part",r),/*errorJoin*/64&i&&(t.disabled=/*errorJoin*/e[6])},d(e){e&&g(t),l.d(),i=!1,a()}}}
|
|
757
|
+
// (170:10) {:else}
|
|
758
|
+
function Mi(e){let t,n,r,i,a,o,s,l,u,c=/*$_*/e[9]("tournamentsThController.join")+"";return{c(){t=y("span"),n=C(c),r=v(),i=w("svg"),a=w("defs"),o=w("style"),s=C(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=w("g"),u=w("path"),_(t,"part","JoinButtonSpan"),_(t,"class","JoinButtonSpan"),_(u,"class","a"),_(u,"part","a JoinButtonSvgA"),_(u,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),_(u,"transform","translate(26 26) rotate(180)"),_(l,"transform","translate(26 26) rotate(180)"),_(i,"part","JoinButtonSvg"),_(i,"class","JoinButtonSvg"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(i,"width","26"),_(i,"height","26"),_(i,"viewBox","0 0 26 26")},m(e,c){p(e,t,c),m(t,n),p(e,r,c),p(e,i,c),m(i,a),m(a,o),m(o,s),m(i,l),m(l,u)},p(e,t){/*$_*/512&t&&c!==(c=/*$_*/e[9]("tournamentsThController.join")+"")&&k(n,c)},d(e){e&&g(t),e&&g(r),e&&g(i)}}}
|
|
759
|
+
// (166:10) {#if joinButtonLoading == true}
|
|
760
|
+
function Ai(t){let n,r;return{c(){n=w("svg"),r=w("circle"),_(r,"class","circle"),_(r,"part","circle"),_(r,"cx","20"),_(r,"cy","20"),_(r,"r","18"),_(n,"class","spinner"),_(n,"part","spinner")},m(e,t){p(e,n,t),m(n,r)},p:e,d(e){e&&g(n)}}}
|
|
761
|
+
// (179:0) {#if errorJoin || errorJoinConcurrently}
|
|
762
|
+
function Bi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsThController.joinerror")+"";return{c(){t=y("span"),n=C(a),r=v(),i=C(/*errorJoinText*/e[7]),_(t,"class","ErrorText"),_(t,"part","ErrorText")},m(e,a){p(e,t,a),m(t,n),m(t,r),m(t,i)},p(e,t){/*$_*/512&t&&a!==(a=/*$_*/e[9]("tournamentsThController.joinerror")+"")&&k(n,a),/*errorJoinText*/128&t&&k(i,/*errorJoinText*/e[7])},d(e){e&&g(t)}}}function zi(t){let n,r,i;function a(e,t){/*isLoggedIn*/
|
|
763
|
+
return e[4]?/*status*/"Closed"!=e[2]&&/*status*/"Closing"!=e[2]?Li:void 0:Di}let o=a(t),s=o&&o(t),l=/*errorJoin*/(t[6]||/*errorJoinConcurrently*/t[8])&&Bi(t);return{c(){n=y("div"),s&&s.c(),r=v(),l&&l.c(),i=T(),this.c=e,_(n,"class","TournamentButtons"),_(n,"part","TournamentButtons")},m(e,t){p(e,n,t),s&&s.m(n,null),p(e,r,t),l&&l.m(e,t),p(e,i,t)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(n,null))),/*errorJoin*/e[6]||/*errorJoinConcurrently*/e[8]?l?l.p(e,t):(l=Bi(e),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i:e,o:e,d(e){e&&g(n),s&&s.d(),e&&g(r),l&&l.d(e),e&&g(i)}}}function Oi(e,t,n){let r;d(e,Yn,(e=>n(9,r=e)));let{session:i=""}=t,{tourid:a=""}=t,{endpoint:o=""}=t,{userenrolled:s=""}=t,{showleaderboard:l=""}=t,{lang:u=""}=t,{loginevent:c=""}=t,{registerevent:h=""}=t,{loginurl:f=""}=t,{registerurl:m=""}=t,{currency:p=""}=t,{bonuscode:g=""}=t,{status:b=""}=t,y="";Object.keys(xi).forEach((e=>{bi(e,xi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let w=!1,C="",v=window.navigator.userAgent,T=!1,x=!1,_="There was an error while trying to join the tournament",k=!1;const P=()=>{c&&window.postMessage({type:c,transition:"Login"},window.location.href),f&&(window.location=f)},S=()=>{h&&window.postMessage({type:h,transition:"Register"},window.location.href),m&&(window.location=m)},E=async(e,t)=>{var r;n(6,x=!1),n(8,k=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:e},window.location.href),n(5,T=!0);let l=new URL(`${o}/v1/bonus/claim`),c=new Headers,d={};l.searchParams.append("language",u),l.searchParams.append("platform",ni(v)),c.append("Content-Type","application/json"),c.append("X-SessionID",C),t&&(d={language:u,bonusCode:t,currency:p,type:"tournament"});let h={method:"PUT",headers:c,body:JSON.stringify(d)};const f=()=>{n(5,T=!1),n(13,s="true"),window.postMessage({type:"TournamentUserEnrolled",userenrolled:s},window.location.href)},m=e=>{n(5,T=!1),e&&n(7,_=e),n(6,x=!0)},g=await(async()=>{let e;try{e=await fetch(l,h),e=await e.json()}catch(e){m()}return e})();if(g)if(1==g.success)f();else if(g.errorMessage.match("VersionMismatchException")){let e;e=await fetch(`${o}/tournaments/${a}`,{headers:{"X-SessionID":i}}),e=await e.json(),(null===(r=null==e?void 0:e.item)||void 0===r?void 0:r.playerEnrolled)?f():(m(g.errorMessage),n(8,k=!0),n(6,x=!1))}else m(g.errorMessage)},$=e=>{e.data&&"UserSessionID"==e.data.type&&(n(4,w=!0),C=e.data.session)};R((()=>(n(3,y=!("true"!=l)),window.addEventListener("message",$),()=>{window.removeEventListener("message",$)})));return e.$$set=e=>{"session"in e&&n(14,i=e.session),"tourid"in e&&n(0,a=e.tourid),"endpoint"in e&&n(15,o=e.endpoint),"userenrolled"in e&&n(13,s=e.userenrolled),"showleaderboard"in e&&n(16,l=e.showleaderboard),"lang"in e&&n(17,u=e.lang),"loginevent"in e&&n(18,c=e.loginevent),"registerevent"in e&&n(19,h=e.registerevent),"loginurl"in e&&n(20,f=e.loginurl),"registerurl"in e&&n(21,m=e.registerurl),"currency"in e&&n(22,p=e.currency),"bonuscode"in e&&n(1,g=e.bonuscode),"status"in e&&n(2,b=e.status)},e.$$.update=()=>{/*session*/16384&e.$$.dirty&&i&&(i.length>0&&"false"!=i?(C=i,n(4,w=!0)):n(4,w=!1)),/*lang*/131072&e.$$.dirty&&u&&yi(u)},[a,g,b,y,w,T,x,_,k,r,P,S,E,s,i,o,l,u,c,h,f,m,p,()=>P(),()=>S(),()=>E(a,g)]}customElements.define("score-criteria-cell",$i);class Fi extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Oi,zi,o,{session:14,tourid:0,endpoint:15,userenrolled:13,showleaderboard:16,lang:17,loginevent:18,registerevent:19,loginurl:20,registerurl:21,currency:22,bonuscode:1,status:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["session","tourid","endpoint","userenrolled","showleaderboard","lang","loginevent","registerevent","loginurl","registerurl","currency","bonuscode","status"]}get session(){return this.$$.ctx[14]}set session(e){this.$$set({session:e}),I()}get tourid(){return this.$$.ctx[0]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),I()}get userenrolled(){return this.$$.ctx[13]}set userenrolled(e){this.$$set({userenrolled:e}),I()}get showleaderboard(){return this.$$.ctx[16]}set showleaderboard(e){this.$$set({showleaderboard:e}),I()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),I()}get loginevent(){return this.$$.ctx[18]}set loginevent(e){this.$$set({loginevent:e}),I()}get registerevent(){return this.$$.ctx[19]}set registerevent(e){this.$$set({registerevent:e}),I()}get loginurl(){return this.$$.ctx[20]}set loginurl(e){this.$$set({loginurl:e}),I()}get registerurl(){return this.$$.ctx[21]}set registerurl(e){this.$$set({registerurl:e}),I()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),I()}get bonuscode(){return this.$$.ctx[1]}set bonuscode(e){this.$$set({bonuscode:e}),I()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),I()}}
|
|
764
764
|
/* src/Cells/StatusTag.svelte generated by Svelte v3.59.2 */
|
|
765
|
-
function Ni(e){let t,n,r,i,a,o;return{c(){t=y("div"),n=
|
|
765
|
+
function Ni(e){let t,n,r,i,a,o;return{c(){t=y("div"),n=C(/*shownStatus*/e[1]),_(t,"class",r="Status "+/*statusClass*/e[2]+" TagContent"),_(t,"part",i="Status "+/*statusClass*/e[2]+" TagContent")},m(r,i){p(r,t,i),m(t,n),a||(o=f(/*matchStatus*/e[3].call(null,t)),a=!0)},p(e,a){/*shownStatus*/2&a&&k(n,/*shownStatus*/e[1]),/*statusClass*/4&a&&r!==(r="Status "+/*statusClass*/e[2]+" TagContent")&&_(t,"class",r),/*statusClass*/4&a&&i!==(i="Status "+/*statusClass*/e[2]+" TagContent")&&_(t,"part",i)},d(e){e&&g(t),a=!1,o()}}}function Hi(t){let n,r=/*status*/t[0]&&Ni(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*status*/e[0]?r?r.p(e,t):(r=Ni(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function Ui(e,t,n){let r;d(e,Yn,(e=>n(6,r=e)));let{lang:i="en"}=t,{status:a=""}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let o="",s="";const l=()=>{"Unstarted"==a&&(n(1,o=r("tournamentsThumbnail.scheduled")),n(2,s="StatusUnstarted")),"Running"==a&&(n(1,o=r("tournamentsThumbnail.ongoing")),n(2,s="StatusRunning")),"Closed"!=a&&"Closing"!=a||n(1,o=r("tournamentsThumbnail.finished")),"Closed"==a&&n(2,s="StatusClosed"),"Closing"==a&&n(2,s="StatusClosing")};let u=!1;return R((()=>{n(5,u=!0)})),e.$$set=e=>{"lang"in e&&n(4,i=e.lang),"status"in e&&n(0,a=e.status)},e.$$.update=()=>{/*isMounted, lang, status*/49&e.$$.dirty&&u&&i&&a&&(yi(i),l())},[a,o,s,l,i,u]}customElements.define("tournament-join-button-cell",Fi);class Ii extends V{constructor(e){super();const t=document.createElement("style");t.textContent=".Status{color:greenyellow}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ui,Hi,o,{lang:4,status:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","status"]}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),I()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),I()}}
|
|
766
766
|
/* src/Cells/UserEnrollTag.svelte generated by Svelte v3.59.2 */
|
|
767
767
|
function ji(e){let t,n=/*userenrolled*/e[0]&&Yi(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*userenrolled*/e[0]?n?n.p(e,r):(n=Yi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
|
|
768
768
|
// (32:4) {#if userenrolled}
|
|
769
|
-
function Yi(e){let t,n,r=/*$_*/e[2]("tournamentsThumbnail.enrolled")+"";return{c(){t=y("div"),n=
|
|
769
|
+
function Yi(e){let t,n,r=/*$_*/e[2]("tournamentsThumbnail.enrolled")+"";return{c(){t=y("div"),n=C(r),_(t,"class","Enrolled TagContent"),_(t,"part","Enrolled TagContent")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/4&t&&r!==(r=/*$_*/e[2]("tournamentsThumbnail.enrolled")+"")&&k(n,r)},d(e){e&&g(t)}}}function Gi(t){let n,r=/*showenrolled*/"true"==t[1]&&ji(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*showenrolled*/"true"==e[1]?r?r.p(e,t):(r=ji(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function Vi(e,t,n){let r;d(e,Yn,(e=>n(2,r=e)));let{lang:i="en"}=t,{showenrolled:a=""}=t,{userenrolled:o}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const s=e=>{e.data&&"TournamentUserEnrolled"==e.data.type&&n(0,o=e.data.userenrolled)};return R((()=>(window.addEventListener("message",s),()=>{window.removeEventListener("message",s)}))),e.$$set=e=>{"lang"in e&&n(3,i=e.lang),"showenrolled"in e&&n(1,a=e.showenrolled),"userenrolled"in e&&n(0,o=e.userenrolled)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&i&&yi(i)},[o,a,r,i]}customElements.define("status-cell",Ii);class Wi extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Vi,Gi,o,{lang:3,showenrolled:1,userenrolled:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","showenrolled","userenrolled"]}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),I()}get showenrolled(){return this.$$.ctx[1]}set showenrolled(e){this.$$set({showenrolled:e}),I()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(e){this.$$set({userenrolled:e}),I()}}
|
|
770
770
|
/* src/Cells/DurationCell.svelte generated by Svelte v3.59.2 */
|
|
771
771
|
function qi(e){let t,n,r,i,a,o,s,l,u,c,d,h;function b(e,t){/*status*/
|
|
772
|
-
return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?Ki:/*tournamentUntilStartDays*/e[4]>0?Zi:Ji}let
|
|
773
|
-
return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?ea:/*tournamentUntilStartDays*/e[4]>0?Qi:/*tournamentLeftDays*/e[3]>0?Xi:void 0}let P=x(e),S=P&&P(e);return{c(){t=y("div"),n=y("div"),r=
|
|
772
|
+
return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?Ki:/*tournamentUntilStartDays*/e[4]>0?Zi:Ji}let w=b(e),T=w(e);function x(e,t){/*status*/
|
|
773
|
+
return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?ea:/*tournamentUntilStartDays*/e[4]>0?Qi:/*tournamentLeftDays*/e[3]>0?Xi:void 0}let P=x(e),S=P&&P(e);return{c(){t=y("div"),n=y("div"),r=C(/*startDateAsString*/e[6]),i=v(),a=y("div"),o=C(/*endDateAsString*/e[7]),s=v(),l=y("div"),u=y("div"),T.c(),c=v(),S&&S.c(),_(n,"class","StartDate"),_(n,"part","StartDate"),_(a,"class","EndDate"),_(a,"part","EndDate"),_(t,"class","TournamentDates"),_(t,"part","TournamentDates"),_(u,"class","ProgressBar"),_(u,"part","ProgressBar"),_(l,"class","ProgressBarWrapper"),_(l,"part","ProgressBarWrapper")},m(g,b){p(g,t,b),m(t,n),m(n,r),m(t,i),m(t,a),m(a,o),p(g,s,b),p(g,l,b),m(l,u),T.m(u,null),m(u,c),S&&S.m(u,null),d||(h=f(/*getDuration*/e[10].call(null,l)),d=!0)},p(e,t){/*startDateAsString*/64&t&&k(r,/*startDateAsString*/e[6]),/*endDateAsString*/128&t&&k(o,/*endDateAsString*/e[7]),w===(w=b(e))&&T?T.p(e,t):(T.d(1),T=w(e),T&&(T.c(),T.m(u,c))),P===(P=x(e))&&S?S.p(e,t):(S&&S.d(1),S=P&&P(e),S&&(S.c(),S.m(u,null)))},d(e){e&&g(t),e&&g(s),e&&g(l),T.d(),S&&S.d(),d=!1,h()}}}
|
|
774
774
|
// (97:10) {:else}
|
|
775
775
|
function Ji(e){let t;return{c(){t=y("div"),_(t,"class","ProgressBarFill"),_(t,"part","ProgressBarFill"),P(t,"width",/*getProgress*/e[8]()+"%")},m(e,n){p(e,t,n)},p(e,n){/*getProgress*/256&n&&P(t,"width",/*getProgress*/e[8]()+"%")},d(e){e&&g(t)}}}
|
|
776
776
|
// (95:10) {#if tournamentUntilStartDays > 0}
|
|
@@ -778,50 +778,50 @@ function Zi(t){let n;return{c(){n=y("div"),_(n,"class","ProgressBarFillStarting"
|
|
|
778
778
|
// (92:8) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}
|
|
779
779
|
function Ki(t){let n;return{c(){n=y("div"),_(n,"class","ProgressBarFillEnd"),_(n,"part","ProgressBarFillEnd")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
780
780
|
// (109:12) {#if tournamentLeftDays > 0}
|
|
781
|
-
function Xi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsDuration.left")+"";return{c(){t=y("div"),n=
|
|
781
|
+
function Xi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsDuration.left")+"";return{c(){t=y("div"),n=C(/*showRemain*/e[5]),r=v(),i=C(a),_(t,"class","Remaining"),_(t,"part","Remaining")},m(e,a){p(e,t,a),m(t,n),m(t,r),m(t,i)},p(e,t){/*showRemain*/32&t&&k(n,/*showRemain*/e[5]),/*$_*/512&t&&a!==(a=/*$_*/e[9]("tournamentsDuration.left")+"")&&k(i,a)},d(e){e&&g(t)}}}
|
|
782
782
|
// (104:10) {#if tournamentUntilStartDays > 0}
|
|
783
|
-
function Qi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsDuration.starting")+"",o=/*getTextByDiff*/e[11](/*tournamentUntilStartDays*/e[4])+"";return{c(){t=y("div"),n=
|
|
783
|
+
function Qi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsDuration.starting")+"",o=/*getTextByDiff*/e[11](/*tournamentUntilStartDays*/e[4])+"";return{c(){t=y("div"),n=C(a),r=v(),i=C(o),_(t,"class","Remaining"),_(t,"part","Remaining")},m(e,a){p(e,t,a),m(t,n),m(t,r),m(t,i)},p(e,t){/*$_*/512&t&&a!==(a=/*$_*/e[9]("tournamentsDuration.starting")+"")&&k(n,a),/*tournamentUntilStartDays*/16&t&&o!==(o=/*getTextByDiff*/e[11](/*tournamentUntilStartDays*/e[4])+"")&&k(i,o)},d(e){e&&g(t)}}}
|
|
784
784
|
// (101:8) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}
|
|
785
|
-
function ea(e){let t,n,r=/*$_*/e[9]("tournamentsDuration.finished")+"";return{c(){t=y("div"),n=
|
|
785
|
+
function ea(e){let t,n,r=/*$_*/e[9]("tournamentsDuration.finished")+"";return{c(){t=y("div"),n=C(r),_(t,"class","Finished"),_(t,"part","Finished")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/512&t&&r!==(r=/*$_*/e[9]("tournamentsDuration.finished")+"")&&k(n,r)},d(e){e&&g(t)}}}function ta(t){let n,r=/*startdate*/t[0]&&/*enddate*/t[1]&&qi(t);return{c(){n=y("div"),r&&r.c(),this.c=e,_(n,"class","TournamentDuration"),_(n,"part","TournamentDuration")},m(e,t){p(e,n,t),r&&r.m(n,null)},p(e,[t]){/*startdate*/e[0]&&/*enddate*/e[1]?r?r.p(e,t):(r=qi(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null)},i:e,o:e,d(e){e&&g(n),r&&r.d()}}}function na(e,t,n){let r,i;d(e,Yn,(e=>n(9,i=e)));let{startdate:a=""}=t,{enddate:o=""}=t,{status:s=""}=t,{lang:l="en"}=t,u="",c="",h="",f="",m="";Object.keys(vi).forEach((e=>{bi(e,vi[e])}));const p=e=>new Date(e).getTime(),g=(e,t)=>(p(t)-p(e))/6e4,b=()=>{const e=new Date;n(3,u=g(e,o)),n(4,c=g(e,a)),n(5,h=C(u))},y=e=>{if(!e)return;let t=new Date(e),n=new Intl.DateTimeFormat(l,{month:"long"}).format(t);return`${t.getDate()} ${n}, ${t.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${t.getUTCFullYear()}`},w=()=>{n(6,f=y(a)),n(7,m=y(o))},C=e=>{if(e<1440){const t=e%60;return[e/60,t,60*(t-Math.floor(t))].map((e=>(e=>{const t=Math.floor(e);return t<10?`0${t}`:`${t}`})(e))).join(":")}return Math.ceil(e/1440)+" "+i("tournamentsDuration.days")};return R((()=>{const e=setInterval((()=>{a&&o&&b()}),1e3);return()=>clearInterval(e)})),e.$$set=e=>{"startdate"in e&&n(0,a=e.startdate),"enddate"in e&&n(1,o=e.enddate),"status"in e&&n(2,s=e.status),"lang"in e&&n(12,l=e.lang)},e.$$.update=()=>{/*tournamentLeftDays, startdate, enddate*/11&e.$$.dirty&&n(8,r=()=>{if(u<=0)return 100;const e=g(a,o),t=100/e;return Math.floor((e-u)*t)}),/*startdate, enddate, tournamentLeftDays*/11&e.$$.dirty&&a&&o&&w()&&b()&&C(u),/*lang*/4096&e.$$.dirty&&l&&b()&&yi(l),/*lang, tournamentLeftDays*/4104&e.$$.dirty&&l&&C(u),/*lang*/4096&e.$$.dirty&&l&&w()},[a,o,s,u,c,h,f,m,r,i,b,C,l]}customElements.define("user-enroll-tag",Wi);class ra extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},na,ta,o,{startdate:0,enddate:1,status:2,lang:12},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["startdate","enddate","status","lang"]}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),I()}get enddate(){return this.$$.ctx[1]}set enddate(e){this.$$set({enddate:e}),I()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),I()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),I()}}
|
|
786
786
|
/* src/Cells/SeeGamesLine.svelte generated by Svelte v3.59.2 */
|
|
787
|
-
function ia(t){let n,r,i,a,o,s,l,u,c,d=/*$_*/t[3]("tournamentsThumbnail.seegames")+"",h=/*$_*/t[3]("tournamentsThumbnail.here")+"";return{c(){n=y("div"),r=y("p"),i=w(d),a=v(),o=y("a"),s=w(h),this.c=e,_(o,"part","GamesAnchor"),_(o,"class","GamesAnchor"),_(o,"href",/*gameurl*/t[0]),_(o,"target",l=/*keepbrowsercontext*/"true"===t[2]?"_self":"_blank"),_(r,"part","GamesP"),_(n,"class","Games"),_(n,"part","Games")},m(e,l){p(e,n,l),m(n,r),m(r,i),m(r,a),m(r,o),m(o,s),u||(c=x(o,"click",/*click_handler*/t[6]),u=!0)},p(e,[t]){/*$_*/8&t&&d!==(d=/*$_*/e[3]("tournamentsThumbnail.seegames")+"")&&k(i,d),/*$_*/8&t&&h!==(h=/*$_*/e[3]("tournamentsThumbnail.here")+"")&&k(s,h),/*gameurl*/1&t&&_(o,"href",/*gameurl*/e[0]),/*keepbrowsercontext*/4&t&&l!==(l=/*keepbrowsercontext*/"true"===e[2]?"_self":"_blank")&&_(o,"target",l)},i:e,o:e,d(e){e&&g(n),u=!1,c()}}}function aa(e,t,n){let r;d(e,Yn,(e=>n(3,r=e)));let{gameurl:i=""}=t,{lang:a="en"}=t,{tourid:o=""}=t,{keepbrowsercontext:s="false"}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const l=(e,t)=>{window.postMessage({type:"tournamentGamesClicked",tourId:t},window.location.href)};return e.$$set=e=>{"gameurl"in e&&n(0,i=e.gameurl),"lang"in e&&n(5,a=e.lang),"tourid"in e&&n(1,o=e.tourid),"keepbrowsercontext"in e&&n(2,s=e.keepbrowsercontext)},[i,o,s,r,l,a,()=>l()]}customElements.define("duration-cell",ra);class oa extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},aa,ia,o,{gameurl:0,lang:5,tourid:1,keepbrowsercontext:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["gameurl","lang","tourid","keepbrowsercontext"]}get gameurl(){return this.$$.ctx[0]}set gameurl(e){this.$$set({gameurl:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get tourid(){return this.$$.ctx[1]}set tourid(e){this.$$set({tourid:e}),I()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}}customElements.define("see-games-line",oa);var sa="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59823)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.497 7.374L8.673 7.066V11H9.646V6.016L7.497 6.471V7.374Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59823'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",la="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.14 11H11.081V10.083H9.03L10.304 8.879C10.5093 8.69233 10.675 8.48467 10.801 8.256C10.927 8.02733 10.99 7.78233 10.99 7.521C10.99 7.34367 10.9527 7.16633 10.878 6.989C10.808 6.81167 10.6983 6.65067 10.549 6.506C10.4043 6.35667 10.22 6.23767 9.996 6.149C9.77667 6.05567 9.52 6.009 9.226 6.009C8.82933 6.009 8.49333 6.093 8.218 6.261C7.94733 6.42433 7.742 6.646 7.602 6.926C7.462 7.206 7.392 7.521 7.392 7.871H8.372C8.372 7.675 8.40467 7.50233 8.47 7.353C8.54 7.20367 8.63567 7.08933 8.757 7.01C8.883 6.926 9.03233 6.884 9.205 6.884C9.32633 6.884 9.43367 6.905 9.527 6.947C9.62033 6.98433 9.69967 7.03567 9.765 7.101C9.83033 7.16633 9.87933 7.241 9.912 7.325C9.94467 7.409 9.961 7.49533 9.961 7.584C9.961 7.71 9.93767 7.83133 9.891 7.948C9.84433 8.06467 9.77667 8.18133 9.688 8.298C9.59933 8.41467 9.492 8.54067 9.366 8.676L7.14 11Z' fill='white'/%3e%3c/svg%3e",ua="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59855)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M8.876 8.613C9.24467 8.613 9.57367 8.564 9.863 8.466C10.1523 8.368 10.381 8.22567 10.549 8.039C10.717 7.84767 10.801 7.619 10.801 7.353C10.801 7.10567 10.738 6.88167 10.612 6.681C10.486 6.48033 10.3017 6.31933 10.059 6.198C9.821 6.07667 9.53167 6.016 9.191 6.016C8.869 6.016 8.58667 6.079 8.344 6.205C8.10133 6.331 7.91 6.50367 7.77 6.723C7.63467 6.93767 7.567 7.185 7.567 7.465H8.498C8.498 7.283 8.56333 7.13367 8.694 7.017C8.82933 6.89567 8.995 6.835 9.191 6.835C9.331 6.835 9.44533 6.85833 9.534 6.905C9.62267 6.95167 9.69033 7.01933 9.737 7.108C9.78367 7.19667 9.807 7.29933 9.807 7.416C9.807 7.50933 9.78367 7.60033 9.737 7.689C9.695 7.773 9.63433 7.85 9.555 7.92C9.47567 7.98533 9.37767 8.03667 9.261 8.074C9.149 8.11133 9.02067 8.13 8.876 8.13V8.613ZM9.149 11.098C9.513 11.098 9.828 11.0397 10.094 10.923C10.3647 10.8017 10.5723 10.6337 10.717 10.419C10.8663 10.2043 10.941 9.957 10.941 9.677C10.941 9.42967 10.8897 9.21967 10.787 9.047C10.6843 8.86967 10.5397 8.725 10.353 8.613C10.1663 8.49633 9.947 8.41233 9.695 8.361C9.44767 8.30967 9.17467 8.284 8.876 8.284V8.816C9.04867 8.816 9.20033 8.83467 9.331 8.872C9.46633 8.90467 9.57833 8.95367 9.667 9.019C9.76033 9.08433 9.83033 9.166 9.877 9.264C9.92367 9.35733 9.947 9.46 9.947 9.572C9.947 9.726 9.91433 9.85433 9.849 9.957C9.78367 10.0597 9.69267 10.139 9.576 10.195C9.464 10.2463 9.331 10.272 9.177 10.272C9.02767 10.272 8.89 10.244 8.764 10.188C8.638 10.1273 8.53767 10.041 8.463 9.929C8.38833 9.817 8.351 9.68167 8.351 9.523H7.357C7.357 9.733 7.399 9.93367 7.483 10.125C7.567 10.3117 7.686 10.4797 7.84 10.629C7.994 10.7737 8.18067 10.888 8.4 10.972C8.61933 11.056 8.869 11.098 9.149 11.098Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59855'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
787
|
+
function ia(t){let n,r,a,o,s,l,u,c,d,h,f,b,w,T=/*$_*/t[3]("tournamentsThumbnail.seegames")+"",P=/*$_*/t[3]("tournamentsThumbnail.here")+"",S=/*$_*/t[3]("gamesSlider.playNow")+"";return{c(){n=y("div"),r=y("p"),a=C(T),o=v(),s=y("a"),l=C(P),c=v(),d=y("p"),h=y("button"),f=C(S),this.c=e,_(s,"part","GamesAnchor"),_(s,"class","GamesAnchor"),_(s,"href",/*gameurl*/t[0]),_(s,"target",u=/*keepbrowsercontext*/"true"===t[2]?"_self":"_blank"),_(r,"part","GamesP"),_(h,"class","GamesButton"),_(d,"class","GamesButtonWrapper"),_(n,"class","Games"),_(n,"part","Games")},m(e,i){p(e,n,i),m(n,r),m(r,a),m(r,o),m(r,s),m(s,l),m(n,c),m(n,d),m(d,h),m(h,f),b||(w=[x(s,"click",/*click_handler*/t[7]),x(h,"click",/*click_handler_1*/t[8])],b=!0)},p(e,[t]){/*$_*/8&t&&T!==(T=/*$_*/e[3]("tournamentsThumbnail.seegames")+"")&&k(a,T),/*$_*/8&t&&P!==(P=/*$_*/e[3]("tournamentsThumbnail.here")+"")&&k(l,P),/*gameurl*/1&t&&_(s,"href",/*gameurl*/e[0]),/*keepbrowsercontext*/4&t&&u!==(u=/*keepbrowsercontext*/"true"===e[2]?"_self":"_blank")&&_(s,"target",u),/*$_*/8&t&&S!==(S=/*$_*/e[3]("gamesSlider.playNow")+"")&&k(f,S)},i:e,o:e,d(e){e&&g(n),b=!1,i(w)}}}function aa(e,t,n){let r;d(e,Yn,(e=>n(3,r=e)));let{gameurl:i=""}=t,{lang:a="en"}=t,{tourid:o=""}=t,{keepbrowsercontext:s="false"}=t;Object.keys(Pi).forEach((e=>{bi(e,Object.assign(Object.assign({},Ti[e]),Pi[e]))})),cn({fallbackLocale:"en",initialLocale:"en"});const l=(e,t)=>{window.postMessage({type:"tournamentGamesClicked",tourId:t},window.location.href)},u=e=>{window.postMessage({type:"tournamentGamesButtonClicked",tourId:e},window.location.href)};return e.$$set=e=>{"gameurl"in e&&n(0,i=e.gameurl),"lang"in e&&n(6,a=e.lang),"tourid"in e&&n(1,o=e.tourid),"keepbrowsercontext"in e&&n(2,s=e.keepbrowsercontext)},[i,o,s,r,l,u,a,()=>l(),()=>u(o)]}customElements.define("duration-cell",ra);class oa extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},aa,ia,o,{gameurl:0,lang:6,tourid:1,keepbrowsercontext:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["gameurl","lang","tourid","keepbrowsercontext"]}get gameurl(){return this.$$.ctx[0]}set gameurl(e){this.$$set({gameurl:e}),I()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),I()}get tourid(){return this.$$.ctx[1]}set tourid(e){this.$$set({tourid:e}),I()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}}customElements.define("see-games-line",oa);var sa="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59823)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.497 7.374L8.673 7.066V11H9.646V6.016L7.497 6.471V7.374Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59823'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",la="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.14 11H11.081V10.083H9.03L10.304 8.879C10.5093 8.69233 10.675 8.48467 10.801 8.256C10.927 8.02733 10.99 7.78233 10.99 7.521C10.99 7.34367 10.9527 7.16633 10.878 6.989C10.808 6.81167 10.6983 6.65067 10.549 6.506C10.4043 6.35667 10.22 6.23767 9.996 6.149C9.77667 6.05567 9.52 6.009 9.226 6.009C8.82933 6.009 8.49333 6.093 8.218 6.261C7.94733 6.42433 7.742 6.646 7.602 6.926C7.462 7.206 7.392 7.521 7.392 7.871H8.372C8.372 7.675 8.40467 7.50233 8.47 7.353C8.54 7.20367 8.63567 7.08933 8.757 7.01C8.883 6.926 9.03233 6.884 9.205 6.884C9.32633 6.884 9.43367 6.905 9.527 6.947C9.62033 6.98433 9.69967 7.03567 9.765 7.101C9.83033 7.16633 9.87933 7.241 9.912 7.325C9.94467 7.409 9.961 7.49533 9.961 7.584C9.961 7.71 9.93767 7.83133 9.891 7.948C9.84433 8.06467 9.77667 8.18133 9.688 8.298C9.59933 8.41467 9.492 8.54067 9.366 8.676L7.14 11Z' fill='white'/%3e%3c/svg%3e",ua="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59855)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M8.876 8.613C9.24467 8.613 9.57367 8.564 9.863 8.466C10.1523 8.368 10.381 8.22567 10.549 8.039C10.717 7.84767 10.801 7.619 10.801 7.353C10.801 7.10567 10.738 6.88167 10.612 6.681C10.486 6.48033 10.3017 6.31933 10.059 6.198C9.821 6.07667 9.53167 6.016 9.191 6.016C8.869 6.016 8.58667 6.079 8.344 6.205C8.10133 6.331 7.91 6.50367 7.77 6.723C7.63467 6.93767 7.567 7.185 7.567 7.465H8.498C8.498 7.283 8.56333 7.13367 8.694 7.017C8.82933 6.89567 8.995 6.835 9.191 6.835C9.331 6.835 9.44533 6.85833 9.534 6.905C9.62267 6.95167 9.69033 7.01933 9.737 7.108C9.78367 7.19667 9.807 7.29933 9.807 7.416C9.807 7.50933 9.78367 7.60033 9.737 7.689C9.695 7.773 9.63433 7.85 9.555 7.92C9.47567 7.98533 9.37767 8.03667 9.261 8.074C9.149 8.11133 9.02067 8.13 8.876 8.13V8.613ZM9.149 11.098C9.513 11.098 9.828 11.0397 10.094 10.923C10.3647 10.8017 10.5723 10.6337 10.717 10.419C10.8663 10.2043 10.941 9.957 10.941 9.677C10.941 9.42967 10.8897 9.21967 10.787 9.047C10.6843 8.86967 10.5397 8.725 10.353 8.613C10.1663 8.49633 9.947 8.41233 9.695 8.361C9.44767 8.30967 9.17467 8.284 8.876 8.284V8.816C9.04867 8.816 9.20033 8.83467 9.331 8.872C9.46633 8.90467 9.57833 8.95367 9.667 9.019C9.76033 9.08433 9.83033 9.166 9.877 9.264C9.92367 9.35733 9.947 9.46 9.947 9.572C9.947 9.726 9.91433 9.85433 9.849 9.957C9.78367 10.0597 9.69267 10.139 9.576 10.195C9.464 10.2463 9.331 10.272 9.177 10.272C9.02767 10.272 8.89 10.244 8.764 10.188C8.638 10.1273 8.53767 10.041 8.463 9.929C8.38833 9.817 8.351 9.68167 8.351 9.523H7.357C7.357 9.733 7.399 9.93367 7.483 10.125C7.567 10.3117 7.686 10.4797 7.84 10.629C7.994 10.7737 8.18067 10.888 8.4 10.972C8.61933 11.056 8.869 11.098 9.149 11.098Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59855'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
788
788
|
/* src/Cells/PrizesCell.svelte generated by Svelte v3.59.2 */
|
|
789
789
|
function ca(e,t,n){const r=e.slice();return r[15]=t[n],r[17]=n,r}function da(e,t,n){const r=e.slice();return r[12]=t[n],r}function ha(e,t,n){const r=e.slice();return r[15]=t[n],r[17]=n,r}
|
|
790
790
|
// (110:2) {#if prizes}
|
|
791
791
|
function fa(e){let t;function n(e,t){/*cellsetting*/
|
|
792
792
|
return e[2].expandAll?pa:ma}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&g(t)}}}
|
|
793
793
|
// (140:4) {:else }
|
|
794
|
-
function ma(e){let t,n,r=/*prizes*/e[0],i=[];for(let t=0;t<r.length;t+=1)i[t]=
|
|
794
|
+
function ma(e){let t,n,r=/*prizes*/e[0],i=[];for(let t=0;t<r.length;t+=1)i[t]=Ca(ca(e,r,t));let a=null;return r.length||(a=ga(e)),{c(){t=y("div"),n=y("div");for(let e=0;e<i.length;e+=1)i[e].c();a&&a.c(),_(n,"class","Prizes"),_(n,"part","Prizes"),_(t,"class","Collapse")},m(e,r){p(e,t,r),m(t,n);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(n,null);a&&a.m(n,null)},p(e,t){if(/*prizes, $_, rankImgs, showrankasimage*/51&t){let o;for(r=/*prizes*/e[0],o=0;o<r.length;o+=1){const a=ca(e,r,o);i[o]?i[o].p(a,t):(i[o]=Ca(a),i[o].c(),i[o].m(n,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=r.length,!r.length&&a?a.p(e,t):r.length?a&&(a.d(1),a=null):(a=ga(e),a.c(),a.m(n,null))}},d(e){e&&g(t),b(i,e),a&&a.d()}}}
|
|
795
795
|
// (111:4) {#if cellsetting.expandAll}
|
|
796
796
|
function pa(e){let t,n=/*prizesInList*/e[3],r=[];for(let t=0;t<n.length;t+=1)r[t]=ka(da(e,n,t));return{c(){t=y("div");for(let e=0;e<r.length;e+=1)r[e].c();_(t,"class","Prizes"),_(t,"part","Prizes")},m(e,n){p(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*prizesInList, $_, rankImgs, showrankasimage*/58&i){let a;for(n=/*prizesInList*/e[3],a=0;a<n.length;a+=1){const o=da(e,n,a);r[a]?r[a].p(o,i):(r[a]=ka(o),r[a].c(),r[a].m(t,null))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){e&&g(t),b(r,e)}}}
|
|
797
797
|
// (167:8) {:else}
|
|
798
|
-
function ga(e){let t,n,r=/*$_*/e[5]("tournamentsPrizes.noprizes")+"";return{c(){t=y("p"),n=
|
|
798
|
+
function ga(e){let t,n,r=/*$_*/e[5]("tournamentsPrizes.noprizes")+"";return{c(){t=y("p"),n=C(r)},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/32&t&&r!==(r=/*$_*/e[5]("tournamentsPrizes.noprizes")+"")&&k(n,r)},d(e){e&&g(t)}}}
|
|
799
799
|
// (148:16) {#if showrankasimage=='true'}
|
|
800
800
|
function ba(e){let t;let n=function(e,t){/*index*/
|
|
801
|
-
return e[17]<3?
|
|
801
|
+
return e[17]<3?wa:ya}(e),r=n(e);return{c(){r.c(),t=T()},m(e,n){r.m(e,n),p(e,t,n)},p(e,t){r.p(e,t)},d(e){r.d(e),e&&g(t)}}}
|
|
802
802
|
// (151:19) {:else }
|
|
803
803
|
function ya(t){let n;return{c(){n=y("span"),_(n,"class","RowNo")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
804
804
|
// (149:19) {#if index < 3}
|
|
805
|
-
function
|
|
805
|
+
function wa(e){let t,n;return{c(){t=y("img"),_(t,"class","RowNo"),_(t,"alt","prize"),u(t.src,n=/*rankImgs*/e[4][/*index*/e[17]+1])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs*/16&r&&!u(t.src,n=/*rankImgs*/e[4][/*index*/e[17]+1])&&_(t,"src",n)},d(e){e&&g(t)}}}
|
|
806
806
|
// (143:8) {#each prizes as prize, index}
|
|
807
|
-
function
|
|
807
|
+
function Ca(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,w,T=/*prize*/e[15].count>1?`${/*prize*/e[15].rank}~${/*prize*/e[15].rank+/*prize*/e[15].count-1}`:`${/*prize*/e[15].rank}`,x=/*$_*/e[5]("tournamentsPrizes.place")+"",P=/*prize*/e[15].name+"",S=/*showrankasimage*/"true"==e[1]&&ba(e);return{c(){t=y("div"),n=y("div"),r=y("p"),i=y("span"),S&&S.c(),a=v(),o=y("span"),s=C(T),l=v(),u=y("span"),c=C(x),d=C(":"),h=v(),f=y("span"),b=C(P),w=v(),_(o,"class","PrizeNo"),_(u,"class","PrizePlace"),_(i,"class","PrizeRank"),_(i,"part","PrizeRank"),_(f,"class","PrizeName"),_(f,"part","PrizeName"),_(r,"class","PrizeText"),_(r,"part","PrizeText"),_(n,"class","Prize Prize"+/*index*/e[17]),_(n,"part","Prize Prize"+/*index*/e[17]),_(t,"class","ColPrizes")},m(e,g){p(e,t,g),m(t,n),m(n,r),m(r,i),S&&S.m(i,null),m(i,a),m(i,o),m(o,s),m(i,l),m(i,u),m(u,c),m(u,d),m(r,h),m(r,f),m(f,b),m(t,w)},p(e,t){/*showrankasimage*/"true"==e[1]?S?S.p(e,t):(S=ba(e),S.c(),S.m(i,a)):S&&(S.d(1),S=null),/*prizes*/1&t&&T!==(T=/*prize*/e[15].count>1?`${/*prize*/e[15].rank}~${/*prize*/e[15].rank+/*prize*/e[15].count-1}`:`${/*prize*/e[15].rank}`)&&k(s,T),/*$_*/32&t&&x!==(x=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(c,x),/*prizes*/1&t&&P!==(P=/*prize*/e[15].name+"")&&k(b,P)},d(e){e&&g(t),S&&S.d()}}}
|
|
808
808
|
// (122:20) {:else}
|
|
809
|
-
function va(e){let t,n,r,i,a,o,s,l,u=/*prize*/e[15].rank+"",c=/*$_*/e[5]("tournamentsPrizes.place")+"",d=/*showrankasimage*/"true"==e[1]&&xa();return{c(){t=y("span"),d&&d.c(),n=v(),r=y("span"),i=
|
|
809
|
+
function va(e){let t,n,r,i,a,o,s,l,u=/*prize*/e[15].rank+"",c=/*$_*/e[5]("tournamentsPrizes.place")+"",d=/*showrankasimage*/"true"==e[1]&&xa();return{c(){t=y("span"),d&&d.c(),n=v(),r=y("span"),i=C(u),a=y("span"),a.textContent=".",o=v(),s=y("span"),l=C(c),_(a,"class","Dot"),_(r,"class","PrizeNo"),_(s,"class","PrizePlace"),_(t,"class","PrizeRank"),_(t,"part","PrizeRank")},m(e,u){p(e,t,u),d&&d.m(t,null),m(t,n),m(t,r),m(r,i),m(r,a),m(t,o),m(t,s),m(s,l)},p(e,r){/*showrankasimage*/"true"==e[1]?d||(d=xa(),d.c(),d.m(t,n)):d&&(d.d(1),d=null),/*prizesInList*/8&r&&u!==(u=/*prize*/e[15].rank+"")&&k(i,u),/*$_*/32&r&&c!==(c=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(l,c)},d(e){e&&g(t),d&&d.d()}}}
|
|
810
810
|
// (118:18) {#if prize.rank < 4 && showrankasimage == 'true'}
|
|
811
|
-
function Ta(e){let t,n,r,i,a,o,s=/*$_*/e[5]("tournamentsPrizes.place")+"";return{c(){t=y("div"),n=y("img"),i=v(),a=y("span"),o=
|
|
811
|
+
function Ta(e){let t,n,r,i,a,o,s=/*$_*/e[5]("tournamentsPrizes.place")+"";return{c(){t=y("div"),n=y("img"),i=v(),a=y("span"),o=C(s),_(n,"alt","prize"),_(n,"class","RowNo"),u(n.src,r=/*rankImgs*/e[4][/*prize*/e[15].rank])||_(n,"src",r),_(a,"class","PrizePlace"),_(t,"class","PrizeRank"),_(t,"part","PrizeRank")},m(e,r){p(e,t,r),m(t,n),m(t,i),m(t,a),m(a,o)},p(e,t){/*rankImgs, prizesInList*/24&t&&!u(n.src,r=/*rankImgs*/e[4][/*prize*/e[15].rank])&&_(n,"src",r),/*$_*/32&t&&s!==(s=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(o,s)},d(e){e&&g(t)}}}
|
|
812
812
|
// (124:22) {#if showrankasimage == 'true' }
|
|
813
813
|
function xa(e){let t;return{c(){t=y("span"),_(t,"class","RowNo")},m(e,n){p(e,t,n)},d(e){e&&g(t)}}}
|
|
814
814
|
// (115:12) {#each colPrizes as prize, index}
|
|
815
815
|
function _a(e){let t,n,r,i,a,o,s,l=/*prize*/e[15].name+"";function u(e,t){/*prize*/
|
|
816
|
-
return e[15].rank<4&&/*showrankasimage*/"true"==e[1]?Ta:va}let c=u(e),d=c(e);return{c(){t=y("div"),n=y("p"),d.c(),r=v(),i=y("span"),a=
|
|
816
|
+
return e[15].rank<4&&/*showrankasimage*/"true"==e[1]?Ta:va}let c=u(e),d=c(e);return{c(){t=y("div"),n=y("p"),d.c(),r=v(),i=y("span"),a=C(l),_(i,"class","PrizeName"),_(i,"part","PrizeName"),_(n,"class","PrizeText"),_(n,"part","PrizeText"),_(t,"class",o="Prize Prize"+(/*prize*/e[15].rank-1)),_(t,"part",s="Prize Prize"+(/*prize*/e[15].rank-1))},m(e,o){p(e,t,o),m(t,n),d.m(n,null),m(n,r),m(n,i),m(i,a)},p(e,i){c===(c=u(e))&&d?d.p(e,i):(d.d(1),d=c(e),d&&(d.c(),d.m(n,r))),/*prizesInList*/8&i&&l!==(l=/*prize*/e[15].name+"")&&k(a,l),/*prizesInList*/8&i&&o!==(o="Prize Prize"+(/*prize*/e[15].rank-1))&&_(t,"class",o),/*prizesInList*/8&i&&s!==(s="Prize Prize"+(/*prize*/e[15].rank-1))&&_(t,"part",s)},d(e){e&&g(t),d.d()}}}
|
|
817
817
|
// (113:8) {#each prizesInList as colPrizes}
|
|
818
|
-
function ka(e){let t,n,r,i=/*colPrizes*/e[12],a=[];for(let t=0;t<i.length;t+=1)a[t]=_a(ha(e,i,t));return{c(){t=y("div");for(let e=0;e<a.length;e+=1)a[e].c();n=v(),_(t,"class",r="ColPrizes col-"+/*prizesInList*/e[3].length)},m(e,r){p(e,t,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,null);m(t,n)},p(e,o){if(/*prizesInList, $_, rankImgs, showrankasimage*/58&o){let r;for(i=/*colPrizes*/e[12],r=0;r<i.length;r+=1){const s=ha(e,i,r);a[r]?a[r].p(s,o):(a[r]=_a(s),a[r].c(),a[r].m(t,n))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}/*prizesInList*/8&o&&r!==(r="ColPrizes col-"+/*prizesInList*/e[3].length)&&_(t,"class",r)},d(e){e&&g(t),b(a,e)}}}function Pa(t){let n,r,i,a,o,s,l,u,c,d=/*$_*/t[5]("tournamentsPrizes.prizes")+"",h=/*prizes*/t[0]&&fa(t);return{c(){n=y("div"),r=y("div"),i=y("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=v(),o=y("span"),o.innerHTML='<slot name="prizeIcon"></slot>',s=v(),l=y("p"),u=
|
|
818
|
+
function ka(e){let t,n,r,i=/*colPrizes*/e[12],a=[];for(let t=0;t<i.length;t+=1)a[t]=_a(ha(e,i,t));return{c(){t=y("div");for(let e=0;e<a.length;e+=1)a[e].c();n=v(),_(t,"class",r="ColPrizes col-"+/*prizesInList*/e[3].length)},m(e,r){p(e,t,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,null);m(t,n)},p(e,o){if(/*prizesInList, $_, rankImgs, showrankasimage*/58&o){let r;for(i=/*colPrizes*/e[12],r=0;r<i.length;r+=1){const s=ha(e,i,r);a[r]?a[r].p(s,o):(a[r]=_a(s),a[r].c(),a[r].m(t,n))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}/*prizesInList*/8&o&&r!==(r="ColPrizes col-"+/*prizesInList*/e[3].length)&&_(t,"class",r)},d(e){e&&g(t),b(a,e)}}}function Pa(t){let n,r,i,a,o,s,l,u,c,d=/*$_*/t[5]("tournamentsPrizes.prizes")+"",h=/*prizes*/t[0]&&fa(t);return{c(){n=y("div"),r=y("div"),i=y("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=v(),o=y("span"),o.innerHTML='<slot name="prizeIcon"></slot>',s=v(),l=y("p"),u=C(d),c=v(),h&&h.c(),this.c=e,_(i,"class","TournamentPrizesIconWrapper"),_(i,"part","TournamentPrizesIconWrapper"),_(o,"class","TournamentPrizesIconWrapper"),_(o,"part","TournamentPrizesIconSlot"),_(l,"class","PrizesTitle"),_(l,"part","PrizesTitle"),_(r,"class","TournamentPrizesIconSection"),_(r,"part","TournamentPrizesIconSection"),_(n,"class","TournamentPrizes"),_(n,"part","TournamentPrizes")},m(e,t){p(e,n,t),m(n,r),m(r,i),m(r,a),m(r,o),m(r,s),m(r,l),m(l,u),m(n,c),h&&h.m(n,null)},p(e,[t]){/*$_*/32&t&&d!==(d=/*$_*/e[5]("tournamentsPrizes.prizes")+"")&&k(u,d),/*prizes*/e[0]?h?h.p(e,t):(h=fa(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null)},i:e,o:e,d(e){e&&g(n),h&&h.d()}}}function Sa(e,t,n){let r;d(e,Yn,(e=>n(5,r=e)));let{prizes:i}=t,{lang:a=""}=t,{showrankasimage:o="false"}=t,{cellsetting:s={expandAll:!0,listType:1,rowPerCol:8,maxCol:3}}=t;
|
|
819
819
|
//let prizes:any = undefined;
|
|
820
820
|
Object.keys(ki).forEach((e=>{bi(e,ki[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const l=e=>{};
|
|
821
821
|
/*if (e.data && e.data.type == `TournamentPrizes_${tourid}`) {
|
|
822
822
|
prizes = e.data.prizes;
|
|
823
823
|
}*/
|
|
824
|
-
let u=[];let c=[];return
|
|
824
|
+
let u=[];let c=[];return R((()=>(n(4,c=[sa,sa,la,ua]),window.addEventListener("message",l,!1),()=>{window.removeEventListener("message",l)}))),e.$$set=e=>{"prizes"in e&&n(0,i=e.prizes),"lang"in e&&n(6,a=e.lang),"showrankasimage"in e&&n(1,o=e.showrankasimage),"cellsetting"in e&&n(2,s=e.cellsetting)},e.$$.update=()=>{/*lang*/64&e.$$.dirty&&a&&yi(a),/*cellsetting, prizes*/5&e.$$.dirty&&s&&i&&(()=>{if(!s.expandAll)return;n(3,u=[[]]);let e=()=>{let e=[];return i.forEach((t=>{if(1==t.count)e.push(t);else{let n=parseInt(t.rank),r=t.name;for(let i=0;i<t.count;i++){let t={rank:n+i,name:r,count:1};e.push(t)}}})),e};if(1==s.listType){let t=e(),n=t.length,r=s.rowPerCol||8,i=s.maxCol;n>=r*i&&(r=Math.ceil(n/i)),n<=r&&(r=Math.ceil(n/i)),t.forEach(((e,t)=>{let n=Math.floor(t/r);u.length<n+1&&u.push([]),u[n].push(e)}))}else n(3,u[0]=e(),u)})()},[i,o,s,u,c,r,a]}class Ea extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Sa,Pa,o,{prizes:0,lang:6,showrankasimage:1,cellsetting:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["prizes","lang","showrankasimage","cellsetting"]}get prizes(){return this.$$.ctx[0]}set prizes(e){this.$$set({prizes:e}),I()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),I()}get showrankasimage(){return this.$$.ctx[1]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
|
|
825
825
|
/* src/Cells/GamesCell.svelte generated by Svelte v3.59.2 */
|
|
826
826
|
function $a(e,t,n){const r=e.slice();return r[42]=t[n],r[44]=n,r}
|
|
827
827
|
// (135:2) {#if sliderGames}
|
|
@@ -829,147 +829,147 @@ function La(e){let t,n,r,a,o,s,l,u,c=/*sliderGames*/e[2],d=[];for(let t=0;t<c.le
|
|
|
829
829
|
/*div1_binding*/e[25](a),p(i,o,c),p(i,s,c),l||(u=[x(t,"click",/*click_handler*/e[21]),x(s,"click",/*click_handler_2*/e[26])],l=!0)},p(e,n){if(/*atStart*/128&n[0]&&S(t,"disabled",/*atStart*/e[7]),/*gameClicked, sliderGames, enter, leave, hover, hoverIndex, $_*/5916&n[0]){let t;for(c=/*sliderGames*/e[2],t=0;t<c.length;t+=1){const r=$a(e,c,t);d[t]?d[t].p(r,n):(d[t]=Da(r),d[t].c(),d[t].m(a,null))}for(;t<d.length;t+=1)d[t].d(1);d.length=c.length}/*offset*/1&n[0]&&P(a,"transform","translateX("+/*offset*/e[0]+"px)"),/*atEnd*/64&n[0]&&S(s,"disabled",/*atEnd*/e[6])},d(a){a&&g(t),a&&g(n),a&&g(r),b(d,a),
|
|
830
830
|
/*div1_binding*/e[25](null),a&&g(o),a&&g(s),l=!1,i(u)}}}
|
|
831
831
|
// (143:8) {#each sliderGames as game, i}
|
|
832
|
-
function Da(e){let t,n,r,a,o,s,l,c,d,h,f,b,
|
|
832
|
+
function Da(e){let t,n,r,a,o,s,l,c,d,h,f,b,w,T=/*$_*/e[8]("gamesSlider.playNow")+"";function P(){/*click_handler_1*/
|
|
833
833
|
return e[22](/*game*/e[42])}function S(){/*mouseenter_handler*/
|
|
834
|
-
return e[23](/*i*/e[44])}return{c(){t=y("div"),n=y("span"),r=
|
|
834
|
+
return e[23](/*i*/e[44])}return{c(){t=y("div"),n=y("span"),r=C(T),s=v(),l=y("img"),f=v(),_(n,"class",a="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":"")),_(n,"part",o="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":"")),_(l,"class","GameThumbnail"),_(l,"part","GameThumbnail"),u(l.src,c=/*game*/e[42].thumbnail)||_(l,"src",c),_(l,"width","132px"),_(l,"height","100px"),_(l,"alt",d=/*game*/e[42].name),_(l,"title",h=/*game*/e[42].name),_(t,"class","item"),_(t,"part","item")},m(i,a){p(i,t,a),m(t,n),m(n,r),m(t,s),m(t,l),m(t,f),b||(w=[x(t,"click",P),x(t,"mouseenter",S),x(t,"mouseleave",/*mouseleave_handler*/e[24])],b=!0)},p(t,i){e=t,/*$_*/256&i[0]&&T!==(T=/*$_*/e[8]("gamesSlider.playNow")+"")&&k(r,T),/*hover, hoverIndex*/24&i[0]&&a!==(a="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":""))&&_(n,"class",a),/*hover, hoverIndex*/24&i[0]&&o!==(o="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":""))&&_(n,"part",o),/*sliderGames*/4&i[0]&&!u(l.src,c=/*game*/e[42].thumbnail)&&_(l,"src",c),/*sliderGames*/4&i[0]&&d!==(d=/*game*/e[42].name)&&_(l,"alt",d),/*sliderGames*/4&i[0]&&h!==(h=/*game*/e[42].name)&&_(l,"title",h)},d(e){e&&g(t),b=!1,i(w)}}}function Ra(t){let n,r=/*sliderGames*/t[2]&&La(t);return{c(){n=y("div"),r&&r.c(),this.c=e,_(n,"class","TournamentsGamesSlider"),_(n,"part","TournamentsGamesSlider")},m(e,i){p(e,n,i),r&&r.m(n,null)
|
|
835
835
|
/*div_binding*/,t[27](n)},p(e,t){/*sliderGames*/e[2]?r?r.p(e,t):(r=La(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null)},i:e,o:e,d(e){e&&g(n),r&&r.d()
|
|
836
|
-
/*div_binding*/,t[27](null)}}}customElements.define("prizes-cell",Ea);function
|
|
836
|
+
/*div_binding*/,t[27](null)}}}customElements.define("prizes-cell",Ea);function Ma(e,t,n){let r,i,a;d(e,Yn,(e=>n(8,a=e)));let o,s,l,u,{pagfactor:c="175"}=t,{lang:h=""}=t,{session:f=""}=t,{tourid:m=""}=t,{endpoint:p=""}=t,g=window.navigator.userAgent,b=0,y=null,w=null,C=!1,v=0,T=[],x=[];Object.keys(Ti).forEach((e=>{bi(e,Ti[e])}));const _=e=>{n(3,C=!0),n(4,l=e)},k=()=>{n(3,C=!1),n(4,l=-1)},P=e=>{const t=(e=>e.touches||e.originalEvent.touches)(e)[0];y=t.clientX,w=t.clientY},S=e=>{if(!y||!w)return;let t=e.touches[0].clientX,n=e.touches[0].clientY,r=y-t,i=w-n;Math.abs(r)>Math.abs(i)&&E(r>0?1:-1),y=null,w=null},E=e=>{e>0&&!i?(n(0,b-=o),n(0,b=b<v?v:b)):e<0&&!r&&(n(0,b+=o),n(0,b=b>0?0:b))},$=e=>{window.postMessage({type:"TournamentGameAction",gameId:e.id,name:e.name,launchUrl:e.launchUrl},window.location.href)};let L=!1;R((()=>(n(20,L=!0),o=parseInt("3",10)*parseInt(c,10),()=>{s.removeEventListener("touchstart",P),s.removeEventListener("touchmove",S)})));return e.$$set=e=>{"pagfactor"in e&&n(13,c=e.pagfactor),"lang"in e&&n(14,h=e.lang),"session"in e&&n(15,f=e.session),"tourid"in e&&n(16,m=e.tourid),"endpoint"in e&&n(17,p=e.endpoint)},e.$$.update=()=>{/*offset*/1&e.$$.dirty[0]&&n(7,r=0===b),/*offset, gamesElementWidth*/262145&e.$$.dirty[0]&&n(6,i=b<=v),/*slider*/2&e.$$.dirty[0]&&s&&(s.addEventListener("touchstart",P,{passive:!0}),s.addEventListener("touchmove",S,{passive:!0})),/*games*/524288&e.$$.dirty[0]&&x&&(n(2,T=x.items),x.total),/*sliderGames*/4&e.$$.dirty[0]&&T&&T.length&&setTimeout((()=>{n(18,v=-1*(u.scrollWidth-u.clientWidth)),n(13,c=new String(u.scrollWidth/T.length)),o=parseInt("3",10)*parseFloat(c,2).toFixed(2)}),1e3),/*isMounted, endpoint, session, tourid*/1277952&e.$$.dirty[0]&&L&&p&&f&&m&&((e,t)=>{let r=new URL(e+`/v1/tournaments/${t}`),i=new Headers({"X-SessionId":f});r.searchParams.append("platform",ni(g)),r.searchParams.append("language",h),r.searchParams.append("expand","games"),r.searchParams.append("pagination",`games(limit=30,offset=${b})`),r.searchParams.append("fields","games(id,name,thumbnail,launchUrl)");let a={method:"GET",headers:i};fetch(r.href,a).then((e=>e.json())).then((e=>{n(19,x=e.item.games),n(19,x=Object.assign({},x))}))})(p,m)},n(0,b=0),[b,s,T,C,l,u,i,r,a,_,k,E,$,c,h,f,m,p,v,x,L,()=>E(-1),e=>$(e),e=>_(e),()=>k(),function(e){A[e?"unshift":"push"]((()=>{u=e,n(5,u)}))},()=>E(1),function(e){A[e?"unshift":"push"]((()=>{s=e,n(1,s)}))}]}class Aa extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ma,Ra,o,{pagfactor:13,lang:14,session:15,tourid:16,endpoint:17},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["pagfactor","lang","session","tourid","endpoint"]}get pagfactor(){return this.$$.ctx[13]}set pagfactor(e){this.$$set({pagfactor:e}),I()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),I()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),I()}get tourid(){return this.$$.ctx[16]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),I()}}
|
|
837
837
|
/* src/Cells/TermsAndConditionsCell.svelte generated by Svelte v3.59.2 */
|
|
838
838
|
function Ba(t){return{c(){this.c=e},m:e,p:e,i:e,o:e,d:e}}customElements.define("games-cell",Aa);class za extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},null,Ba,o,{},null),e&&e.target&&p(e.target,this,e.anchor)}}
|
|
839
839
|
/* src/Cells/DescriptionCell.svelte generated by Svelte v3.59.2 */
|
|
840
840
|
function Oa(e,t,n){const r=e.slice();return r[2]=t[n],r}
|
|
841
841
|
// (15:2) {:else }
|
|
842
|
-
function Fa(t){let n;return{c(){n=
|
|
842
|
+
function Fa(t){let n;return{c(){n=C(" ")},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&g(n)}}}
|
|
843
843
|
// (9:0) {#if tournamentdescription && tournamentdescription.length > 0}
|
|
844
844
|
function Na(e){let t,n,r=/*tournamentdescription*/e[0],i=[];for(let t=0;t<r.length;t+=1)i[t]=Ha(Oa(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*tournamentdescription*/1&n){let o;for(r=/*tournamentdescription*/e[0],o=0;o<r.length;o+=1){const a=Oa(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=Ha(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
|
|
845
845
|
// (10:2) {#each tournamentdescription as desc}
|
|
846
846
|
function Ha(e){let t,n;return t=new gi({props:{title:/*desc*/e[2].title,text:/*desc*/e[2].description,exportparts:"DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"}}),{c(){Q(t.$$.fragment)},m(e,r){ee(t,e,r),n=!0},p(e,n){const r={};/*tournamentdescription*/1&n&&(r.title=/*desc*/e[2].title),/*tournamentdescription*/1&n&&(r.text=/*desc*/e[2].description),t.$set(r)},i(e){n||(J(t.$$.fragment,e),n=!0)},o(e){Z(t.$$.fragment,e),n=!1},d(e){te(t,e)}}}function Ua(t){let n,r,i,a;const o=[Na,Fa],s=[];function l(e,t){/*tournamentdescription*/
|
|
847
|
-
return e[0]&&/*tournamentdescription*/e[0].length>0?0:1}return n=l(t),r=s[n]=o[n](t),{c(){r.c(),i=T(),this.c=e},m(e,t){s[n].m(e,t),p(e,i,t),a=!0},p(e,[t]){let a=n;n=l(e),n===a?s[n].p(e,t):(W(),Z(s[a],1,1,(()=>{s[a]=null})),q(),r=s[n],r?r.p(e,t):(r=s[n]=o[n](e),r.c()),J(r,1),r.m(i.parentNode,i))},i(e){a||(J(r),a=!0)},o(e){Z(r),a=!1},d(e){s[n].d(e),e&&g(i)}}}function Ia(e,t,n){let{tournamentdescription:r}=t;return e.$$set=e=>{"tournamentdescription"in e&&n(0,r=e.tournamentdescription)},e.$$.update=()=>{/*tournamentdescription*/1&e.$$.dirty&&r&&n(0,r)},[r]}customElements.define("tm-cell",za);class ja extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ia,Ua,o,{tournamentdescription:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["tournamentdescription"]}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(e){this.$$set({tournamentdescription:e}),I()}}customElements.define("description-cell",ja);var Ya="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle cx='4.9999' cy='4.9999' r='4.9999' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1149)'%3e %3cline x1='4.93332' y1='4' x2='4.93332' y2='7.99992' stroke='%2359CA00' stroke-width='1.86663'/%3e %3cpath d='M4.99896 2L7.59699 4.99994H2.40094L4.99896 2Z' fill='%2359CA00'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1149'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='translate(1.99902 2)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",
|
|
847
|
+
return e[0]&&/*tournamentdescription*/e[0].length>0?0:1}return n=l(t),r=s[n]=o[n](t),{c(){r.c(),i=T(),this.c=e},m(e,t){s[n].m(e,t),p(e,i,t),a=!0},p(e,[t]){let a=n;n=l(e),n===a?s[n].p(e,t):(W(),Z(s[a],1,1,(()=>{s[a]=null})),q(),r=s[n],r?r.p(e,t):(r=s[n]=o[n](e),r.c()),J(r,1),r.m(i.parentNode,i))},i(e){a||(J(r),a=!0)},o(e){Z(r),a=!1},d(e){s[n].d(e),e&&g(i)}}}function Ia(e,t,n){let{tournamentdescription:r}=t;return e.$$set=e=>{"tournamentdescription"in e&&n(0,r=e.tournamentdescription)},e.$$.update=()=>{/*tournamentdescription*/1&e.$$.dirty&&r&&n(0,r)},[r]}customElements.define("tm-cell",za);class ja extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ia,Ua,o,{tournamentdescription:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["tournamentdescription"]}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(e){this.$$set({tournamentdescription:e}),I()}}customElements.define("description-cell",ja);var Ya="data:image/svg+xml,%3csvg fill='%23fecf00' width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z'/%3e%3c/svg%3e",Ga="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle cx='4.9999' cy='4.9999' r='4.9999' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1149)'%3e %3cline x1='4.93332' y1='4' x2='4.93332' y2='7.99992' stroke='%2359CA00' stroke-width='1.86663'/%3e %3cpath d='M4.99896 2L7.59699 4.99994H2.40094L4.99896 2Z' fill='%2359CA00'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1149'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='translate(1.99902 2)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",Va="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle r='4.9999' transform='matrix(1 0 0 -1 4.9999 5.0001)' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1154)'%3e %3cline y1='-0.933315' x2='3.99992' y2='-0.933315' transform='matrix(0 -1 -1 0 4 6)' stroke='%23CA0000' stroke-width='1.86663'/%3e %3cpath d='M4.99896 8L7.59699 5.00006H2.40094L4.99896 8Z' fill='%23CA0000'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1154'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='matrix(1 0 0 -1 1.99902 8)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e";
|
|
848
848
|
/* src/Cells/LeaderboardCell.svelte generated by Svelte v3.59.2 */
|
|
849
|
-
function
|
|
850
|
-
// (
|
|
851
|
-
function
|
|
852
|
-
// (
|
|
853
|
-
function
|
|
854
|
-
// (
|
|
855
|
-
function
|
|
856
|
-
// (
|
|
857
|
-
function
|
|
858
|
-
// (
|
|
859
|
-
function
|
|
860
|
-
return e[37](/*column*/e[72])}return{c(){t=y("button"),n=
|
|
861
|
-
// (
|
|
862
|
-
function
|
|
863
|
-
return"true"==e[1]?to
|
|
864
|
-
// (
|
|
865
|
-
function
|
|
866
|
-
// (
|
|
867
|
-
function
|
|
868
|
-
return e[6]
|
|
869
|
-
// (
|
|
870
|
-
function
|
|
871
|
-
// (
|
|
872
|
-
function
|
|
873
|
-
// (
|
|
874
|
-
function
|
|
875
|
-
return e[35](/*column*/e[72])}return{c(){t=y("button"),n=
|
|
876
|
-
// (
|
|
877
|
-
function
|
|
878
|
-
return"true"==e[1]?so
|
|
879
|
-
// (
|
|
880
|
-
function
|
|
881
|
-
return e[5].Rank<4&&/*showrankasimage*/"true"==e[2]?ho
|
|
882
|
-
return e[5].Prize?go
|
|
883
|
-
// (
|
|
884
|
-
function
|
|
885
|
-
// (
|
|
886
|
-
function
|
|
887
|
-
return e[5].Rank>0?mo
|
|
888
|
-
// (
|
|
889
|
-
function
|
|
890
|
-
// (
|
|
891
|
-
function
|
|
892
|
-
// (
|
|
893
|
-
function
|
|
894
|
-
// (
|
|
895
|
-
function
|
|
896
|
-
// (
|
|
897
|
-
function
|
|
898
|
-
// (
|
|
899
|
-
function
|
|
900
|
-
// (
|
|
901
|
-
function Co(e){let t,n,r=/*row*/(e[69].Rank||"")+"";return{c(){t=
|
|
902
|
-
// (
|
|
903
|
-
function
|
|
904
|
-
return e[69].Rank>0?To
|
|
905
|
-
// (
|
|
906
|
-
function
|
|
907
|
-
// (
|
|
908
|
-
function
|
|
909
|
-
// (
|
|
910
|
-
function
|
|
911
|
-
// (
|
|
912
|
-
function
|
|
913
|
-
// (
|
|
914
|
-
function
|
|
915
|
-
// (
|
|
916
|
-
function
|
|
917
|
-
// (
|
|
918
|
-
function
|
|
919
|
-
return e[69].Rank<4&&/*showrankasimage*/"true"==e[2]?
|
|
920
|
-
return e[69].Prize?ko
|
|
921
|
-
// (
|
|
922
|
-
function
|
|
923
|
-
// (
|
|
924
|
-
function
|
|
925
|
-
// (
|
|
926
|
-
function
|
|
927
|
-
// (
|
|
928
|
-
function
|
|
929
|
-
return e[34](/*column*/e[72])}return{c(){t=y("button"),n=
|
|
930
|
-
// (
|
|
849
|
+
function Wa(e,t,n){const r=e.slice();return r[72]=t[n],r}function qa(e,t,n){const r=e.slice();return r[69]=t[n],r}function Ja(e,t,n){const r=e.slice();return r[72]=t[n],r[78]=n,r}function Za(e,t,n){const r=e.slice();return r[69]=t[n],r}function Ka(e,t,n){const r=e.slice();return r[72]=t[n],r}
|
|
850
|
+
// (583:2) {:else}
|
|
851
|
+
function Xa(e){let t,n,r,i,a,o,s,l,u,c=/*$_*/e[14]("tournamentsTable.nowinners")+"",d=/*columns*/e[4],h=[];for(let t=0;t<d.length;t+=1)h[t]=ro(Wa(e,d,t));return{c(){t=y("div"),n=y("table"),r=y("thead"),i=y("tr");for(let e=0;e<h.length;e+=1)h[e].c();a=v(),o=y("tbody"),s=y("tr"),l=y("td"),u=C(c),_(i,"part","LeftTableTr"),_(r,"part","LeftTableThead"),_(r,"class","LeftTableThead"),_(l,"colspan",/*tooltipColSpan*/e[9]),_(l,"part","LeftTableTd"),_(s,"part","LeftTableTr"),_(o,"part","LeftTableTbody"),_(o,"class","LeftTableTbody"),_(n,"class","LeftTable"),_(n,"part","LeftTable"),_(t,"class","TournamentsTable"),_(t,"part","TournamentsTable"),P(t,"display",/*isLoading*/e[10]?"none":"")},m(e,c){p(e,t,c),m(t,n),m(n,r),m(r,i);for(let e=0;e<h.length;e+=1)h[e]&&h[e].m(i,null);m(n,a),m(n,o),m(o,s),m(s,l),m(l,u)},p(e,n){if(/*sort, sortBy, columns, $_, sortable*/86034&n[0]){let t;for(d=/*columns*/e[4],t=0;t<d.length;t+=1){const r=Wa(e,d,t);h[t]?h[t].p(r,n):(h[t]=ro(r),h[t].c(),h[t].m(i,null))}for(;t<h.length;t+=1)h[t].d(1);h.length=d.length}/*$_*/16384&n[0]&&c!==(c=/*$_*/e[14]("tournamentsTable.nowinners")+"")&&k(u,c),/*tooltipColSpan*/512&n[0]&&_(l,"colspan",/*tooltipColSpan*/e[9]),/*isLoading*/1024&n[0]&&P(t,"display",/*isLoading*/e[10]?"none":"")},d(e){e&&g(t),b(h,e)}}}
|
|
852
|
+
// (577:2) {#if isMobile(userAgent) == true}
|
|
853
|
+
function Qa(e){let t,n=/*showTable*/e[6]&&!/*isLoading*/e[10]&&io(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*showTable*/e[6]&&!/*isLoading*/e[10]?n?n.p(e,r):(n=io(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
|
|
854
|
+
// (362:0) {#if !isLoading && (data.length > 0 || firstRowData)}
|
|
855
|
+
function eo(e){let t;let n=function(e,t){return 1==ti(/*userAgent*/e[15])?oo:ao}(e),r=n(e);return{c(){r.c(),t=T()},m(e,n){r.m(e,n),p(e,t,n)},p(e,t){r.p(e,t)},d(e){r.d(e),e&&g(t)}}}
|
|
856
|
+
// (594:14) {:else}
|
|
857
|
+
function to(e){let t,n,r=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"";return{c(){t=y("p"),n=C(r),_(t,"data-sort",/*sort*/e[12]),_(t,"part","LeftTableP")},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/16400&i[0]&&r!==(r=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,r),/*sort*/4096&i[0]&&_(t,"data-sort",/*sort*/e[12])},d(e){e&&g(t)}}}
|
|
858
|
+
// (590:14) {#if sortable == 'true'}
|
|
859
|
+
function no(e){let t,n,r,i,a=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"";function o(){/*click_handler_3*/
|
|
860
|
+
return e[37](/*column*/e[72])}return{c(){t=y("button"),n=C(a),_(t,"data-sort",/*sort*/e[12]),_(t,"part","LeftTableButton")},m(e,a){p(e,t,a),m(t,n),r||(i=x(t,"click",o),r=!0)},p(r,i){e=r,/*$_, columns*/16400&i[0]&&a!==(a=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,a),/*sort*/4096&i[0]&&_(t,"data-sort",/*sort*/e[12])},d(e){e&&g(t),r=!1,i()}}}
|
|
861
|
+
// (588:10) {#each columns as column}
|
|
862
|
+
function ro(e){let t,n;function r(e,t){/*sortable*/
|
|
863
|
+
return"true"==e[1]?no:to}let i=r(e),a=i(e);return{c(){t=y("th"),a.c(),n=v(),_(t,"part","LeftTableTh")},m(e,r){p(e,t,r),a.m(t,null),m(t,n)},p(e,o){i===(i=r(e))&&a?a.p(e,o):(a.d(1),a=i(e),a&&(a.c(),a.m(t,n)))},d(e){e&&g(t),a.d()}}}
|
|
864
|
+
// (578:4) {#if showTable && !isLoading}
|
|
865
|
+
function io(e){let t,n,r,i,a=/*$_*/e[14]("tournamentsTable.nowinners")+"";return{c(){t=y("div"),n=y("div"),r=y("p"),i=C(a),_(n,"class","TableUser"),_(n,"part","TableUser"),_(t,"class","TableContent"),_(t,"part","TableContent")},m(e,a){p(e,t,a),m(t,n),m(n,r),m(r,i)},p(e,t){/*$_*/16384&t[0]&&a!==(a=/*$_*/e[14]("tournamentsTable.nowinners")+"")&&k(i,a)},d(e){e&&g(t)}}}
|
|
866
|
+
// (437:2) {:else}
|
|
867
|
+
function ao(e){let t,n,r,i,a,o,s,l,u,c,d,h,f=/*columns*/e[4],w=[];for(let t=0;t<f.length;t+=1)w[t]=uo(Ja(e,f,t));let C=/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]&&co(e),T=/*showTable*/e[6]&&wo(e);function k(e,t){/*showTable*/
|
|
868
|
+
return e[6]?Lo:$o}let P=k(e),S=P(e);return{c(){t=y("div"),n=y("table"),r=y("thead"),i=y("tr");for(let e=0;e<w.length;e+=1)w[e].c();a=v(),o=y("tbody"),C&&C.c(),s=v(),T&&T.c(),l=v(),u=y("div"),c=y("div"),S.c(),_(i,"part","LeftTableTr"),_(i,"class","LeftTableTr"),_(r,"part","LeftTableThead"),_(r,"class","LeftTableThead"),_(o,"part","LeftTableTbody"),_(o,"class","LeftTableTbody"),_(n,"class","LeftTable"),_(n,"part","LeftTable"),_(c,"class","CollapseButton"),_(c,"part","CollapseButton"),_(u,"class","RightButton"),_(u,"part","RightButton"),_(t,"class","TournamentsTable"),_(t,"part","TournamentsTable")},m(f,g){p(f,t,g),m(t,n),m(n,r),m(r,i);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(i,null);m(n,a),m(n,o),C&&C.m(o,null),m(o,s),T&&T.m(o,null),m(t,l),m(t,u),m(u,c),S.m(c,null),d||(h=x(c,"click",/*click_handler_2*/e[36]),d=!0)},p(e,t){if(/*sort, sortBy, columns, $_, sortable*/86034&t[0]){let n;for(f=/*columns*/e[4],n=0;n<f.length;n+=1){const r=Ja(e,f,n);w[n]?w[n].p(r,t):(w[n]=uo(r),w[n].c(),w[n].m(i,null))}for(;n<w.length;n+=1)w[n].d(1);w.length=f.length}/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]?C?C.p(e,t):(C=co(e),C.c(),C.m(o,s)):C&&(C.d(1),C=null),/*showTable*/e[6]?T?T.p(e,t):(T=wo(e),T.c(),T.m(o,null)):T&&(T.d(1),T=null),P!==(P=k(e))&&(S.d(1),S=P(e),S&&(S.c(),S.m(c,null)))},d(e){e&&g(t),b(w,e),C&&C.d(),T&&T.d(),S.d(),d=!1,h()}}}
|
|
869
|
+
// (363:2) {#if isMobile(userAgent) == true}
|
|
870
|
+
function oo(e){let t,n,r,i,a=/*columns*/e[4],o=[];for(let t=0;t<a.length;t+=1)o[t]=Mo(Ka(e,a,t));let s=/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]&&Ao(e),l=/*showTable*/e[6]&&Io(e);return{c(){t=y("div"),n=y("div");for(let e=0;e<o.length;e+=1)o[e].c();r=v(),s&&s.c(),i=v(),l&&l.c(),_(n,"class","TableUser TableHeadRow"),_(n,"part","TableUser TableHeadRow"),_(t,"class","TableContent"),_(t,"part","TableContent")},m(e,a){p(e,t,a),m(t,n);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(n,null);m(t,r),s&&s.m(t,null),m(t,i),l&&l.m(t,null)},p(e,r){if(/*columns, sort, sortBy, $_, sortable*/86034&r[0]){let t;for(a=/*columns*/e[4],t=0;t<a.length;t+=1){const i=Ka(e,a,t);o[t]?o[t].p(i,r):(o[t]=Mo(i),o[t].c(),o[t].m(n,null))}for(;t<o.length;t+=1)o[t].d(1);o.length=a.length}/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]?s?s.p(e,r):(s=Ao(e),s.c(),s.m(t,i)):s&&(s.d(1),s=null),/*showTable*/e[6]?l?l.p(e,r):(l=Io(e),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},d(e){e&&g(t),b(o,e),s&&s.d(),l&&l.d()}}}
|
|
871
|
+
// (448:14) {:else}
|
|
872
|
+
function so(e){let t,n,r=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"";return{c(){t=y("p"),n=C(r),_(t,"data-sort",/*sort*/e[12]),_(t,"part","LeftTableP"),_(t,"class","LeftTableP")},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/16400&i[0]&&r!==(r=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,r),/*sort*/4096&i[0]&&_(t,"data-sort",/*sort*/e[12])},d(e){e&&g(t)}}}
|
|
873
|
+
// (444:14) {#if sortable == 'true'}
|
|
874
|
+
function lo(e){let t,n,r,i,a=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"";function o(){/*click_handler_1*/
|
|
875
|
+
return e[35](/*column*/e[72])}return{c(){t=y("button"),n=C(a),_(t,"data-sort",/*sort*/e[12]),_(t,"part","LeftTableButton")},m(e,a){p(e,t,a),m(t,n),r||(i=x(t,"click",o),r=!0)},p(r,i){e=r,/*$_, columns*/16400&i[0]&&a!==(a=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,a),/*sort*/4096&i[0]&&_(t,"data-sort",/*sort*/e[12])},d(e){e&&g(t),r=!1,i()}}}
|
|
876
|
+
// (442:10) {#each columns as column, index}
|
|
877
|
+
function uo(e){let t,n;function r(e,t){/*sortable*/
|
|
878
|
+
return"true"==e[1]?lo:so}let i=r(e),a=i(e);return{c(){t=y("th"),a.c(),n=v(),_(t,"part","LeftTableTh LeftTableTh_"+/*index*/e[78]),_(t,"class","LeftTableTh")},m(e,r){p(e,t,r),a.m(t,null),m(t,n)},p(e,o){i===(i=r(e))&&a?a.p(e,o):(a.d(1),a=i(e),a&&(a.c(),a.m(t,n)))},d(e){e&&g(t),a.d()}}}
|
|
879
|
+
// (456:8) {#if firstrow == 'true' && firstRowData}
|
|
880
|
+
function co(e){let t,n,r,i,a,o,s,l,c,d,h,f,b,w,x,P,S,E,$,L,D,R,M,A,B,z,O,F,N,H,U,I,j=/*firstRowData*/e[5].Player+"",Y=/*firstRowData*/e[5].Points+"";function G(e,t){/*firstRowData*/
|
|
881
|
+
return e[5].Rank<4&&/*showrankasimage*/"true"==e[2]?fo:ho}let V=G(e),W=V(e);function q(e,t){/*firstRowData*/
|
|
882
|
+
return e[5].Prize?bo:go}let J=q(e),Z=J(e),K=/*firstRowData*/e[5].Unqualified&&yo(e);return{c(){t=y("tr"),n=y("td"),r=y("div"),i=y("strong"),W.c(),a=v(),o=y("div"),s=y("img"),d=v(),h=y("img"),P=v(),S=y("td"),E=y("div"),$=C(j),L=v(),D=y("td"),R=y("div"),M=C(Y),A=v(),B=y("td"),z=y("div"),Z.c(),U=v(),K&&K.c(),I=T(),u(s.src,l=Ga)||_(s,"src",l),_(s,"alt","UpArrow"),_(s,"part","Rank_Arror_UP"),_(s,"class",c="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden")),u(h.src,f=Va)||_(h,"src",f),_(h,"alt","DownArrow"),_(h,"part","Rank_Arror_Down"),_(h,"class",b="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden")),_(o,"class",w="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(o,"part",x="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(i,"class","RankCol"),_(i,"part","RankCol"),_(r,"part","TableCellContent"),_(r,"class","TableCellContent CellContent"),_(n,"part","LeftTableTd RankFirstRow"),_(n,"class","LeftTableTd"),_(E,"part","TableCellContent"),_(E,"class","TableCellContent CellContent"),_(S,"part","LeftTableTd"),_(S,"class","LeftTableTd"),_(R,"class","Flex CellContent"),_(R,"part","Flex"),_(D,"part","LeftTableTd"),_(D,"class","LeftTableTd"),_(z,"class","PrizeCell CellContent"),_(z,"part","PrizeCell"),_(B,"class",O="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(B,"part",F="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(t,"class",N="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":"")),_(t,"part",H="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),W.m(i,null),m(i,a),m(i,o),m(o,s),m(o,d),m(o,h),m(t,P),m(t,S),m(S,E),m(E,$),m(t,L),m(t,D),m(D,R),m(R,M),m(t,A),m(t,B),m(B,z),Z.m(z,null),p(e,U,l),K&&K.m(e,l),p(e,I,l)},p(e,n){V===(V=G(e))&&W?W.p(e,n):(W.d(1),W=V(e),W&&(W.c(),W.m(i,a))),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&c!==(c="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(s,"class",c),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&b!==(b="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(h,"class",b),/*isUserPositionChanged*/128&n[0]&&w!==(w="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(o,"class",w),/*isUserPositionChanged*/128&n[0]&&x!==(x="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(o,"part",x),/*firstRowData*/32&n[0]&&j!==(j=/*firstRowData*/e[5].Player+"")&&k($,j),/*firstRowData*/32&n[0]&&Y!==(Y=/*firstRowData*/e[5].Points+"")&&k(M,Y),J===(J=q(e))&&Z?Z.p(e,n):(Z.d(1),Z=J(e),Z&&(Z.c(),Z.m(z,null))),/*firstRowData*/32&n[0]&&O!==(O="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(B,"class",O),/*firstRowData*/32&n[0]&&F!==(F="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(B,"part",F),/*firstRowData*/32&n[0]&&N!==(N="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"class",N),/*firstRowData*/32&n[0]&&H!==(H="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"part",H),/*firstRowData*/e[5].Unqualified?K?K.p(e,n):(K=yo(e),K.c(),K.m(I.parentNode,I)):K&&(K.d(1),K=null)},d(e){e&&g(t),W.d(),Z.d(),e&&g(U),K&&K.d(e),e&&g(I)}}}
|
|
883
|
+
// (467:16) {:else}
|
|
884
|
+
function ho(e){let t,n,r,i=/*firstRowData*/(e[5].Rank||"")+"";return{c(){t=y("em"),n=C("#"),r=C(i),_(t,"part","LeftTableTdEm")},m(e,i){p(e,t,i),m(t,n),m(t,r)},p(e,t){/*firstRowData*/32&t[0]&&i!==(i=/*firstRowData*/(e[5].Rank||"")+"")&&k(r,i)},d(e){e&&g(t)}}}
|
|
885
|
+
// (461:16) {#if firstRowData.Rank < 4 && showrankasimage=='true'}
|
|
886
|
+
function fo(e){let t;function n(e,t){/*firstRowData*/
|
|
887
|
+
return e[5].Rank>0?po:mo}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&g(t)}}}
|
|
888
|
+
// (464:18) {:else }
|
|
889
|
+
function mo(t){let n;return{c(){n=y("em"),n.textContent="#",_(n,"part","LeftTableTdEm")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
890
|
+
// (462:18) {#if firstRowData.Rank > 0}
|
|
891
|
+
function po(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[11][/*firstRowData*/e[5].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, firstRowData*/2080&r[0]&&!u(t.src,n=/*rankImgs*/e[11][/*firstRowData*/e[5].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
|
|
892
|
+
// (487:16) {:else}
|
|
893
|
+
function go(t){let n;return{c(){n=C("-")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
894
|
+
// (485:16) {#if firstRowData.Prize}
|
|
895
|
+
function bo(e){let t,n=/*firstRowData*/e[5].Prize+"";return{c(){t=C(n)},m(e,n){p(e,t,n)},p(e,r){/*firstRowData*/32&r[0]&&n!==(n=/*firstRowData*/e[5].Prize+"")&&k(t,n)},d(e){e&&g(t)}}}
|
|
896
|
+
// (493:10) {#if firstRowData.Unqualified}
|
|
897
|
+
function yo(e){let t,n,r,i,a,o=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("tr"),n=y("td"),r=y("div"),i=v(),a=C(o),_(r,"class","ExclamationMark"),_(r,"style",`background-image: url("${Ya}")`),_(n,"colspan",/*tooltipColSpan*/e[9]),_(n,"part","LeftTableTd"),_(n,"class","LeftTableTd"),_(t,"class","TooltipsRow"),_(t,"part","TooltipsRow")},m(e,o){p(e,t,o),m(t,n),m(n,r),m(n,i),m(n,a)},p(e,t){/*$_*/16384&t[0]&&o!==(o=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"")&&k(a,o),/*tooltipColSpan*/512&t[0]&&_(n,"colspan",/*tooltipColSpan*/e[9])},d(e){e&&g(t)}}}
|
|
898
|
+
// (502:8) {#if showTable}
|
|
899
|
+
function wo(e){let t,n=/*display*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=Eo(qa(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=T()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);p(e,t,n)},p(e,i){if(/*display, tooltipColSpan, $_, isUserPositionChanged, isUserPositionUp, rankImgs, showrankasimage*/27524&i[0]){let a;for(n=/*display*/e[13],a=0;a<n.length;a+=1){const o=qa(e,n,a);r[a]?r[a].p(o,i):(r[a]=Eo(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){b(r,e),e&&g(t)}}}
|
|
900
|
+
// (516:22) {:else}
|
|
901
|
+
function Co(e){let t,n,r=/*row*/(e[69].Rank||"")+"";return{c(){t=C("#"),n=C(r)},m(e,r){p(e,t,r),p(e,n,r)},p(e,t){/*display*/8192&t[0]&&r!==(r=/*row*/(e[69].Rank||"")+"")&&k(n,r)},d(e){e&&g(t),e&&g(n)}}}
|
|
902
|
+
// (510:22) {#if row.Rank < 4 && showrankasimage=='true'}
|
|
903
|
+
function vo(e){let t;function n(e,t){/*row*/
|
|
904
|
+
return e[69].Rank>0?xo:To}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&g(t)}}}
|
|
905
|
+
// (513:26) {:else }
|
|
906
|
+
function To(t){let n;return{c(){n=C("#")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
907
|
+
// (511:24) {#if row.Rank > 0}
|
|
908
|
+
function xo(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[11][/*row*/e[69].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, display*/10240&r[0]&&!u(t.src,n=/*rankImgs*/e[11][/*row*/e[69].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
|
|
909
|
+
// (520:24) {#if row.isCurrentUser}
|
|
910
|
+
function _o(e){let t,n,r,i,a,o,s;return{c(){t=y("img"),i=v(),a=y("img"),u(t.src,n=Ga)||_(t,"src",n),_(t,"alt","UpArrow"),_(t,"part","Rank_Arror_UP"),_(t,"class",r="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden")),u(a.src,o=Va)||_(a,"src",o),_(a,"alt","DownArrow"),_(a,"part","Rank_Arror_Down"),_(a,"class",s="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))},m(e,n){p(e,t,n),p(e,i,n),p(e,a,n)},p(e,n){/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&r!==(r="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(t,"class",r),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&s!==(s="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(a,"class",s)},d(e){e&&g(t),e&&g(i),e&&g(a)}}}
|
|
911
|
+
// (543:18) {:else}
|
|
912
|
+
function ko(t){let n;return{c(){n=C("-")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
913
|
+
// (541:18) {#if row.Prize}
|
|
914
|
+
function Po(e){let t,n=/*row*/e[69].Prize+"";return{c(){t=C(n)},m(e,n){p(e,t,n)},p(e,r){/*display*/8192&r[0]&&n!==(n=/*row*/e[69].Prize+"")&&k(t,n)},d(e){e&&g(t)}}}
|
|
915
|
+
// (549:12) {#if row.Unqualified && row.isCurrentUser}
|
|
916
|
+
function So(e){let t,n,r,i,a,o,s,l=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("tr"),n=y("td"),r=y("div"),i=v(),a=C(l),o=v(),_(r,"class","ExclamationMark"),_(r,"style",`background-image: url("${Ya}")`),_(n,"colspan",/*tooltipColSpan*/e[9]),_(n,"part","LeftTableTd"),_(n,"class","LeftTableTd"),_(t,"class",s="TooltipsRow Rank"+/*row*/e[69].Rank+"Tr CurrentUserTr"),_(t,"part","TooltipsRow")},m(e,s){p(e,t,s),m(t,n),m(n,r),m(n,i),m(n,a),m(t,o)},p(e,r){/*$_*/16384&r[0]&&l!==(l=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"")&&k(a,l),/*tooltipColSpan*/512&r[0]&&_(n,"colspan",/*tooltipColSpan*/e[9]),/*display*/8192&r[0]&&s!==(s="TooltipsRow Rank"+/*row*/e[69].Rank+"Tr CurrentUserTr")&&_(t,"class",s)},d(e){e&&g(t)}}}
|
|
917
|
+
// (503:10) {#each display as row}
|
|
918
|
+
function Eo(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,w,x,P,S,E,$,L,D,R,M,A,B,z,O,F=/*row*/e[69].Player+"",N=/*row*/e[69].Points+"";function H(e,t){/*row*/
|
|
919
|
+
return e[69].Rank<4&&/*showrankasimage*/"true"==e[2]?vo:Co}let U=H(e),I=U(e),j=/*row*/e[69].isCurrentUser&&_o(e);function Y(e,t){/*row*/
|
|
920
|
+
return e[69].Prize?Po:ko}let G=Y(e),V=G(e),W=/*row*/e[69].Unqualified&&/*row*/e[69].isCurrentUser&&So(e);return{c(){t=y("tr"),n=y("td"),r=y("div"),i=y("strong"),a=y("em"),I.c(),o=v(),s=y("div"),j&&j.c(),d=v(),h=y("td"),f=y("div"),b=C(F),w=v(),x=y("td"),P=y("div"),S=y("div"),E=C(N),$=v(),L=y("td"),D=y("div"),V.c(),z=v(),W&&W.c(),O=T(),_(s,"class",l="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(s,"part",u="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(a,"part","LeftTableTdEm"),_(i,"class","RankCol"),_(i,"part","RankCol"),_(r,"part","TableCellContent"),_(r,"class","Table CellContent"),_(n,"part",c="LeftTableTd Rank-"+/*row*/e[69].Rank),_(n,"class","LeftTableTd"),_(f,"part","PlayerCellContent"),_(f,"class","Player CellContent"),_(h,"part","LeftTableTd"),_(h,"class","LeftTableTd"),_(S,"class","Flex ScoreUp"),_(S,"part","Flex ScoreUp"),_(P,"part","ScoreCellContent"),_(P,"class","Score CellContent"),_(x,"part","LeftTableTd"),_(x,"class","LeftTableTd"),_(D,"part","PrizeCellContent"),_(D,"class","Prize CellContent "),_(L,"class",R="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified")),_(L,"part",M="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified")),_(t,"class",A="LeftTableTr Rank"+/*row*/e[69].Rank+"Tr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":"")),_(t,"part",B="LeftTableTr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),m(i,a),I.m(a,null),m(a,o),m(a,s),j&&j.m(s,null),m(t,d),m(t,h),m(h,f),m(f,b),m(t,w),m(t,x),m(x,P),m(P,S),m(S,E),m(t,$),m(t,L),m(L,D),V.m(D,null),p(e,z,l),W&&W.m(e,l),p(e,O,l)},p(e,r){U===(U=H(e))&&I?I.p(e,r):(I.d(1),I=U(e),I&&(I.c(),I.m(a,o))),/*row*/e[69].isCurrentUser?j?j.p(e,r):(j=_o(e),j.c(),j.m(s,null)):j&&(j.d(1),j=null),/*isUserPositionChanged*/128&r[0]&&l!==(l="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(s,"class",l),/*isUserPositionChanged*/128&r[0]&&u!==(u="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(s,"part",u),/*display*/8192&r[0]&&c!==(c="LeftTableTd Rank-"+/*row*/e[69].Rank)&&_(n,"part",c),/*display*/8192&r[0]&&F!==(F=/*row*/e[69].Player+"")&&k(b,F),/*display*/8192&r[0]&&N!==(N=/*row*/e[69].Points+"")&&k(E,N),G===(G=Y(e))&&V?V.p(e,r):(V.d(1),V=G(e),V&&(V.c(),V.m(D,null))),/*display*/8192&r[0]&&R!==(R="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(L,"class",R),/*display*/8192&r[0]&&M!==(M="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(L,"part",M),/*display*/8192&r[0]&&A!==(A="LeftTableTr Rank"+/*row*/e[69].Rank+"Tr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"class",A),/*display*/8192&r[0]&&B!==(B="LeftTableTr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"part",B),/*row*/e[69].Unqualified&&/*row*/e[69].isCurrentUser?W?W.p(e,r):(W=So(e),W.c(),W.m(O.parentNode,O)):W&&(W.d(1),W=null)},d(e){e&&g(t),I.d(),j&&j.d(),V.d(),e&&g(z),W&&W.d(e),e&&g(O)}}}
|
|
921
|
+
// (567:10) {:else}
|
|
922
|
+
function $o(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M6 9l6 6 6-6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
|
|
923
|
+
// (563:10) {#if showTable}
|
|
924
|
+
function Lo(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M18 15l-6-6-6 6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
|
|
925
|
+
// (372:12) {:else}
|
|
926
|
+
function Do(e){let t,n,r=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"";return{c(){t=y("p"),n=C(r),_(t,"data-sort",/*sort*/e[12])},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/16400&i[0]&&r!==(r=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,r),/*sort*/4096&i[0]&&_(t,"data-sort",/*sort*/e[12])},d(e){e&&g(t)}}}
|
|
927
|
+
// (368:12) {#if sortable == 'true'}
|
|
928
|
+
function Ro(e){let t,n,r,i,a=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"";function o(){/*click_handler*/
|
|
929
|
+
return e[34](/*column*/e[72])}return{c(){t=y("button"),n=C(a),_(t,"data-sort",/*sort*/e[12])},m(e,a){p(e,t,a),m(t,n),r||(i=x(t,"click",o),r=!0)},p(r,i){e=r,/*$_, columns*/16400&i[0]&&a!==(a=/*$_*/e[14](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,a),/*sort*/4096&i[0]&&_(t,"data-sort",/*sort*/e[12])},d(e){e&&g(t),r=!1,i()}}}
|
|
930
|
+
// (366:8) {#each columns as column}
|
|
931
931
|
function Mo(e){let t,n,r,i;function a(e,t){/*sortable*/
|
|
932
|
-
return"true"==e[1]?Do
|
|
933
|
-
// (
|
|
934
|
-
function
|
|
935
|
-
return e[5].Rank<4&&/*showrankasimage*/"true"==e[2]?Bo
|
|
936
|
-
return e[5].Prize?No
|
|
937
|
-
// (
|
|
938
|
-
function
|
|
939
|
-
// (
|
|
940
|
-
function
|
|
941
|
-
return e[5].Rank>0?Oo
|
|
942
|
-
// (
|
|
943
|
-
function
|
|
944
|
-
// (
|
|
945
|
-
function
|
|
946
|
-
// (
|
|
947
|
-
function
|
|
948
|
-
// (
|
|
949
|
-
function
|
|
950
|
-
// (
|
|
951
|
-
function
|
|
952
|
-
// (
|
|
953
|
-
function
|
|
954
|
-
// (
|
|
955
|
-
function
|
|
956
|
-
// (
|
|
957
|
-
function
|
|
958
|
-
return e[69].Rank>0?Go
|
|
959
|
-
// (
|
|
960
|
-
function
|
|
961
|
-
// (
|
|
962
|
-
function
|
|
963
|
-
// (
|
|
964
|
-
function
|
|
965
|
-
// (
|
|
966
|
-
function
|
|
967
|
-
// (
|
|
968
|
-
function
|
|
969
|
-
// (
|
|
970
|
-
function
|
|
971
|
-
return e[69].Rank<4&&/*showrankasimage*/"true"==e[2]?jo
|
|
972
|
-
return e[69].Prize?Wo
|
|
932
|
+
return"true"==e[1]?Ro:Do}let o=a(e),s=o(e);return{c(){t=y("div"),s.c(),n=v(),_(t,"class",r="TableCell Table"+/*column*/e[72]),_(t,"part",i="TableCell Table"+/*column*/e[72])},m(e,r){p(e,t,r),s.m(t,null),m(t,n)},p(e,l){o===(o=a(e))&&s?s.p(e,l):(s.d(1),s=o(e),s&&(s.c(),s.m(t,n))),/*columns*/16&l[0]&&r!==(r="TableCell Table"+/*column*/e[72])&&_(t,"class",r),/*columns*/16&l[0]&&i!==(i="TableCell Table"+/*column*/e[72])&&_(t,"part",i)},d(e){e&&g(t),s.d()}}}
|
|
933
|
+
// (378:6) {#if firstrow == 'true' && firstRowData}
|
|
934
|
+
function Ao(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,w,x=/*firstRowData*/e[5].Player+"",P=/*firstRowData*/e[5].Points+"";function S(e,t){/*firstRowData*/
|
|
935
|
+
return e[5].Rank<4&&/*showrankasimage*/"true"==e[2]?zo:Bo}let E=S(e),$=E(e);function L(e,t){/*firstRowData*/
|
|
936
|
+
return e[5].Prize?Ho:No}let D=L(e),R=D(e),M=/*firstRowData*/e[5].Unqualified&&Uo(e);return{c(){t=y("div"),n=y("div"),$.c(),a=v(),o=y("div"),s=C(x),l=v(),u=y("div"),c=C(P),d=v(),R.c(),b=v(),M&&M.c(),w=T(),_(n,"class",r="TableCell TableRank "+(/*firstRowData*/e[5].Prize?"Qualified":"")),_(n,"part",i="TableCell TableRank RankFirstRow "+(/*firstRowData*/e[5].Prize?"Qualified":"")),_(o,"class","TableCell TablePlayer"),_(o,"part","TableCell TablePlayer"),_(u,"class","TableCell TablePoints"),_(u,"part","TableCell TablePoints"),_(t,"class",h="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":"")),_(t,"part",f="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))},m(e,r){p(e,t,r),m(t,n),$.m(n,null),m(t,a),m(t,o),m(o,s),m(t,l),m(t,u),m(u,c),m(t,d),R.m(t,null),p(e,b,r),M&&M.m(e,r),p(e,w,r)},p(e,a){E===(E=S(e))&&$?$.p(e,a):($.d(1),$=E(e),$&&($.c(),$.m(n,null))),/*firstRowData*/32&a[0]&&r!==(r="TableCell TableRank "+(/*firstRowData*/e[5].Prize?"Qualified":""))&&_(n,"class",r),/*firstRowData*/32&a[0]&&i!==(i="TableCell TableRank RankFirstRow "+(/*firstRowData*/e[5].Prize?"Qualified":""))&&_(n,"part",i),/*firstRowData*/32&a[0]&&x!==(x=/*firstRowData*/e[5].Player+"")&&k(s,x),/*firstRowData*/32&a[0]&&P!==(P=/*firstRowData*/e[5].Points+"")&&k(c,P),D===(D=L(e))&&R?R.p(e,a):(R.d(1),R=D(e),R&&(R.c(),R.m(t,null))),/*firstRowData*/32&a[0]&&h!==(h="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"class",h),/*firstRowData*/32&a[0]&&f!==(f="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"part",f),/*firstRowData*/e[5].Unqualified?M?M.p(e,a):(M=Uo(e),M.c(),M.m(w.parentNode,w)):M&&(M.d(1),M=null)},d(e){e&&g(t),$.d(),R.d(),e&&g(b),M&&M.d(e),e&&g(w)}}}
|
|
937
|
+
// (387:12) {:else}
|
|
938
|
+
function Bo(e){let t,n,r=/*firstRowData*/(e[5].Rank||"")+"";return{c(){t=y("em"),n=C(r),_(t,"part","LeftTableTdEm")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*firstRowData*/32&t[0]&&r!==(r=/*firstRowData*/(e[5].Rank||"")+"")&&k(n,r)},d(e){e&&g(t)}}}
|
|
939
|
+
// (381:12) {#if firstRowData.Rank < 4 && showrankasimage=='true'}
|
|
940
|
+
function zo(e){let t;function n(e,t){/*firstRowData*/
|
|
941
|
+
return e[5].Rank>0?Fo:Oo}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&g(t)}}}
|
|
942
|
+
// (384:14) {:else }
|
|
943
|
+
function Oo(t){let n;return{c(){n=y("em"),n.textContent="#",_(n,"part","LeftTableTdEm")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
944
|
+
// (382:14) {#if firstRowData.Rank > 0}
|
|
945
|
+
function Fo(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[11][/*firstRowData*/e[5].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, firstRowData*/2080&r[0]&&!u(t.src,n=/*rankImgs*/e[11][/*firstRowData*/e[5].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
|
|
946
|
+
// (395:10) {:else}
|
|
947
|
+
function No(t){let n;return{c(){n=y("div"),n.textContent="-",_(n,"class","TableCell TablePrize"),_(n,"part","TableCell TablePrize")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
948
|
+
// (393:10) {#if firstRowData.Prize}
|
|
949
|
+
function Ho(e){let t,n,r,i,a=/*firstRowData*/e[5].Prize+"";return{c(){t=y("div"),n=C(a),_(t,"class",r="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(t,"part",i="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))},m(e,r){p(e,t,r),m(t,n)},p(e,o){/*firstRowData*/32&o[0]&&a!==(a=/*firstRowData*/e[5].Prize+"")&&k(n,a),/*firstRowData*/32&o[0]&&r!==(r="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(t,"class",r),/*firstRowData*/32&o[0]&&i!==(i="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(t,"part",i)},d(e){e&&g(t)}}}
|
|
950
|
+
// (399:8) {#if firstRowData.Unqualified}
|
|
951
|
+
function Uo(e){let t,n,r,i,a,o=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("div"),n=y("div"),r=v(),i=y("em"),a=C(o),_(n,"class","ExclamationMark"),_(n,"style",`background-image: url("${Ya}")`),_(i,"part","TableUserTooltipsEm"),_(t,"class","TableUserTooltips"),_(t,"part","TableUserTooltips")},m(e,o){p(e,t,o),m(t,n),m(t,r),m(t,i),m(i,a)},p(e,t){/*$_*/16384&t[0]&&o!==(o=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"")&&k(a,o)},d(e){e&&g(t)}}}
|
|
952
|
+
// (406:6) {#if showTable}
|
|
953
|
+
function Io(e){let t,n=/*display*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=Zo(Za(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=T()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);p(e,t,n)},p(e,i){if(/*display, $_, rankImgs, showrankasimage*/26628&i[0]){let a;for(n=/*display*/e[13],a=0;a<n.length;a+=1){const o=Za(e,n,a);r[a]?r[a].p(o,i):(r[a]=Zo(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){b(r,e),e&&g(t)}}}
|
|
954
|
+
// (416:14) {:else}
|
|
955
|
+
function jo(e){let t,n=/*row*/(e[69].Rank||"")+"";return{c(){t=C(n)},m(e,n){p(e,t,n)},p(e,r){/*display*/8192&r[0]&&n!==(n=/*row*/(e[69].Rank||"")+"")&&k(t,n)},d(e){e&&g(t)}}}
|
|
956
|
+
// (410:14) {#if row.Rank < 4 && showrankasimage=='true'}
|
|
957
|
+
function Yo(e){let t;function n(e,t){/*row*/
|
|
958
|
+
return e[69].Rank>0?Vo:Go}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&g(t)}}}
|
|
959
|
+
// (413:16) {:else }
|
|
960
|
+
function Go(t){let n;return{c(){n=y("em"),_(n,"part","LeftTableTdEm")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
961
|
+
// (411:16) {#if row.Rank > 0}
|
|
962
|
+
function Vo(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[11][/*row*/e[69].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, display*/10240&r[0]&&!u(t.src,n=/*rankImgs*/e[11][/*row*/e[69].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
|
|
963
|
+
// (424:12) {:else}
|
|
964
|
+
function Wo(t){let n;return{c(){n=y("div"),n.textContent="-",_(n,"class","TableCell TablePrize"),_(n,"part","TableCell TablePrize")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
|
|
965
|
+
// (422:12) {#if row.Prize}
|
|
966
|
+
function qo(e){let t,n,r,i,a=/*row*/e[69].Prize+"";return{c(){t=y("div"),n=C(a),_(t,"class",r="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified")),_(t,"part",i="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified"))},m(e,r){p(e,t,r),m(t,n)},p(e,o){/*display*/8192&o[0]&&a!==(a=/*row*/e[69].Prize+"")&&k(n,a),/*display*/8192&o[0]&&r!==(r="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(t,"class",r),/*display*/8192&o[0]&&i!==(i="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(t,"part",i)},d(e){e&&g(t)}}}
|
|
967
|
+
// (428:10) {#if row.isCurrentUser && row.Unqualified}
|
|
968
|
+
function Jo(e){let t,n,r,i,a,o,s,l,u=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("div"),n=y("div"),r=v(),i=y("em"),a=C(u),o=v(),_(n,"class","ExclamationMark"),_(n,"style",`background-image: url("${Ya}")`),_(i,"part","TableUserTooltipsEm"),_(t,"class",s="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":"")),_(t,"part",l="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":""))},m(e,s){p(e,t,s),m(t,n),m(t,r),m(t,i),m(i,a),m(t,o)},p(e,n){/*$_*/16384&n[0]&&u!==(u=/*$_*/e[14]("tournamentsTable.UnqualifiedTips")+"")&&k(a,u),/*display*/8192&n[0]&&s!==(s="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"class",s),/*display*/8192&n[0]&&l!==(l="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"part",l)},d(e){e&&g(t)}}}
|
|
969
|
+
// (407:8) {#each display as row}
|
|
970
|
+
function Zo(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,w,x=/*row*/e[69].Player+"",P=/*row*/e[69].Points+"";function S(e,t){/*row*/
|
|
971
|
+
return e[69].Rank<4&&/*showrankasimage*/"true"==e[2]?Yo:jo}let E=S(e),$=E(e);function L(e,t){/*row*/
|
|
972
|
+
return e[69].Prize?qo:Wo}let D=L(e),R=D(e),M=/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified&&Jo(e);return{c(){t=y("div"),n=y("div"),$.c(),a=v(),o=y("div"),s=C(x),l=v(),u=y("div"),c=C(P),d=v(),R.c(),b=v(),M&&M.c(),w=T(),_(n,"class",r="TableCell TableRank "+(/*row*/e[69].Prize?"Qualified":"")),_(n,"part",i="TableCell Rank-"+/*row*/e[69].Rank+" TableRank "+(/*row*/e[69].Prize?"Qualified":"")),_(o,"class","TableCell TablePlayer"),_(o,"part","TableCell TablePlayer"),_(u,"class","TableCell TablePoints"),_(u,"part","TableCell TablePoints"),_(t,"class",h="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":"")),_(t,"part",f="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":""))},m(e,r){p(e,t,r),m(t,n),$.m(n,null),m(t,a),m(t,o),m(o,s),m(t,l),m(t,u),m(u,c),m(t,d),R.m(t,null),p(e,b,r),M&&M.m(e,r),p(e,w,r)},p(e,a){E===(E=S(e))&&$?$.p(e,a):($.d(1),$=E(e),$&&($.c(),$.m(n,null))),/*display*/8192&a[0]&&r!==(r="TableCell TableRank "+(/*row*/e[69].Prize?"Qualified":""))&&_(n,"class",r),/*display*/8192&a[0]&&i!==(i="TableCell Rank-"+/*row*/e[69].Rank+" TableRank "+(/*row*/e[69].Prize?"Qualified":""))&&_(n,"part",i),/*display*/8192&a[0]&&x!==(x=/*row*/e[69].Player+"")&&k(s,x),/*display*/8192&a[0]&&P!==(P=/*row*/e[69].Points+"")&&k(c,P),D===(D=L(e))&&R?R.p(e,a):(R.d(1),R=D(e),R&&(R.c(),R.m(t,null))),/*display*/8192&a[0]&&h!==(h="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":""))&&_(t,"class",h),/*display*/8192&a[0]&&f!==(f="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":""))&&_(t,"part",f),/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?M?M.p(e,a):(M=Jo(e),M.c(),M.m(w.parentNode,w)):M&&(M.d(1),M=null)},d(e){e&&g(t),$.d(),R.d(),e&&g(b),M&&M.d(e),e&&g(w)}}}function Ko(t){let n,r;function i(e,t){return!/*isLoading*/e[10]&&(/*data*/e[3].length>0||/*firstRowData*/e[5])?eo:(null==n&&(n=!(1!=ti(/*userAgent*/e[15]))),n?Qa:Xa)}let a=i(t),o=a(t);return{c(){o.c(),r=T(),this.c=e},m(e,t){o.m(e,t),p(e,r,t)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r.parentNode,r)))},i:e,o:e,d(e){o.d(e),e&&g(r)}}}function Xo(e,t,n){let r,i,a;d(e,Yn,(e=>n(14,a=e)));let o,s,l,u,c,h,{sortable:f=!1}=t,{firstrow:m=!0}=t,{lang:p="en"}=t,{scorefractiondigit:g="2"}=t,{session:b=""}=t,{userid:y=""}=t,{tourid:w=""}=t,{endpoint:C=""}=t,{tablelimit:v="30"}=t,{namemask:T=""}=t,{showunqualifiedplayer:x="true"}=t,{mobiletablelimit:_="15"}=t,{updatetableintime:k="true"}=t,{minscore:P=""}=t,{showrankasimage:S="true"}=t,{cellsetting:E={firstrow:!0}}=t,$=[],L=[],D=null,M=null,A={},B=!0,z=window.navigator.userAgent,O=!1,F=!1,N=!1,H={},U=!1,I="",j=!0,Y=2;Object.keys(_i).forEach((e=>{bi(e,_i[e])}));
|
|
973
973
|
// @TODO this must be configurable
|
|
974
974
|
const G=["Rank","Player","Points","Prize"],V=e=>({Rank:e.rank,Player:e.userID==I?"me":e.shortName,Points:e.score.toLocaleString("en-US",{minimumFractionDigits:Y,maximumFractionDigits:Y}),Prize:e.prizeName,Unqualified:e.unqualified,BetCount:e.betCount,userID:e.userID}),W=()=>{b&&b.length>0&&"false"!=b&&(I=y),o=null,n(10,j=!1)};
|
|
975
975
|
// data for current user
|
|
@@ -984,15 +984,15 @@ o||(o=e.data.tableData.Rank),A?(Z(e.data.tableData.Rank),n(5,A=null)):Z(e.data.t
|
|
|
984
984
|
// CasinoTableDataUpdate
|
|
985
985
|
if(e.data&&"CasinoTableDataUpdate"===e.data.type&&e.data.tableData){let t=e.data.tableData;
|
|
986
986
|
//check data type before foreach
|
|
987
|
-
if(!(L instanceof Array))return;L.forEach((function(e,r){let i=((e,t)=>t.find((t=>t.Rank==e)))(e.Rank,t);i&&n(3,L[r]=i,L)}))}},X=e=>{const t=e===D,r="ASC"===
|
|
988
|
-
window.postMessage({type:`TournamentRankInfo_${
|
|
987
|
+
if(!(L instanceof Array))return;L.forEach((function(e,r){let i=((e,t)=>t.find((t=>t.Rank==e)))(e.Rank,t);i&&n(3,L[r]=i,L)}))}},X=e=>{const t=e===D,r="ASC"===M,i=t&&!r;n(31,D=i?null:e),n(32,M=i?null:t&&r?"DESC":"ASC")},Q=()=>{n(6,B=!B)},ee=e=>{U=!1;let t=[];return e&&e.length>0&&e.forEach((e=>{let n=V(e);e.userID==I&&(H=n,U=!0),t.push(n)})),t},te=e=>Object.assign(Object.assign({},V(e)),!0===e.unqualified?{Rank:e.rank}:{}),ne=e=>{if(e.data&&"message"==e.type)try{let t=e.data,r=JSON.parse(t);if(!r||!r.items)return;let i=ee(r.items);window.postMessage({type:"CasinoTableData",tableData:i},window.location.href),U=i.filter((e=>e.userID=I)).length>0,N=r.item&&!U,N&&(n(5,A=te(r.item)),A&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href));let a=U?H.Rank:A.Rank;a==h&&c==r.items.length||(c=r.items.length,//new player joined and spined
|
|
988
|
+
window.postMessage({type:`TournamentRankInfo_${w}`,rankInfo:{rank:a,overallRank:c,prize:U?H.Prize||"-":A.Prize||"-"}},window.location.href),h=a),U&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:H},window.location.href)}catch(e){console.error(e)}},re=(e,t)=>{let r=new URL(e+`/v1/tournaments/${t}/leaderboard`),i=new Headers;r.searchParams.append("language",p);let a=`includeUnqualifiedPlayer=${x}`;if(a=T?`${a},shortNameMask=${T}`:a,a=P?`${a},minscore=${P}`:a,r.searchParams.append("filter",a),b){let e=1==ti(z)?_:v;r.searchParams.append("pagination",`offset=0,limit=${e}`),i.append("X-SessionId",b)}r.searchParams.append("platform",ni(z));let o={method:"GET",headers:i};n(10,j=!0),n(5,A=null),fetch(r,o).then((e=>e.json())).then((e=>{n(10,j=!1),l=ee(e.items),e.item&&!U&&(N=!0,n(5,A=te(e.item))),n(6,B=!0),h=U?H.Rank:A?A.Rank:0,c=e.total,
|
|
989
989
|
// @TODO data is not iterable error fix
|
|
990
|
-
window.postMessage({type:"CasinoTableData",tableData:l},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:G},window.location.href),N&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href),"true"===k&&((e,t)=>{let n=`${
|
|
990
|
+
window.postMessage({type:"CasinoTableData",tableData:l},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:G},window.location.href),N&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href),"true"===k&&((e,t)=>{let n=`${C}/v1/tournaments/${e}/leaderboard/updates?HeartBeat=false&${t.toString()}`;u&&(u.removeEventListener("message",ne),u.close()),u=new ri.EventSourcePolyfill(n,{headers:{accept:"text/event-stream","X-SessionId":b}}),void 0!==u&&u.addEventListener("message",ne)})(t,r.searchParams),U&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:H},window.location.href)}))};let ie=[],ae=!1;R((()=>(n(11,ie=[sa,sa,la,ua]),n(0,m=!E||E.firstrow),W(),
|
|
991
991
|
//loadData();
|
|
992
992
|
//console.log('getContext',getContext('userid') ) ;
|
|
993
|
-
n(33,ae=!0),window.addEventListener("message",K),()=>{window.removeEventListener("message",K)})));return e.$$set=e=>{"sortable"in e&&n(1,f=e.sortable),"firstrow"in e&&n(0,m=e.firstrow),"lang"in e&&n(18,p=e.lang),"scorefractiondigit"in e&&n(19,g=e.scorefractiondigit),"session"in e&&n(20,b=e.session),"userid"in e&&n(21,y=e.userid),"tourid"in e&&n(22,
|
|
993
|
+
n(33,ae=!0),window.addEventListener("message",K),()=>{window.removeEventListener("message",K)})));return e.$$set=e=>{"sortable"in e&&n(1,f=e.sortable),"firstrow"in e&&n(0,m=e.firstrow),"lang"in e&&n(18,p=e.lang),"scorefractiondigit"in e&&n(19,g=e.scorefractiondigit),"session"in e&&n(20,b=e.session),"userid"in e&&n(21,y=e.userid),"tourid"in e&&n(22,w=e.tourid),"endpoint"in e&&n(23,C=e.endpoint),"tablelimit"in e&&n(24,v=e.tablelimit),"namemask"in e&&n(25,T=e.namemask),"showunqualifiedplayer"in e&&n(26,x=e.showunqualifiedplayer),"mobiletablelimit"in e&&n(27,_=e.mobiletablelimit),"updatetableintime"in e&&n(28,k=e.updatetableintime),"minscore"in e&&n(29,P=e.minscore),"showrankasimage"in e&&n(2,S=e.showrankasimage),"cellsetting"in e&&n(30,E=e.cellsetting)},e.$$.update=()=>{/*data*/8&e.$$.dirty[0]|/*sortColumn, sortDirection*/3&e.$$.dirty[1]&&n(13,r=D&&M?(()=>{let e=[];if(L&&(e=[...L]),!L.length)return L;const t=typeof L[0][D.toLowerCase()];return e.sort(((e,t)=>{const n=t.toLowerCase();return"string"===e?(e,t)=>e[n].localeCompare(t[n]):"number"===e||"object"===e?(e,t)=>e[n]-t[n]:void 0})(t,D)),"ASC"===M?e:e.reverse()})():[...L]),/*sortColumn, sortDirection*/3&e.$$.dirty[1]&&n(12,i=null===D?M:null),/*scorefractiondigit*/524288&e.$$.dirty[0]&&(Y=Number(g)),/*session*/1048576&e.$$.dirty[0]|/*isMounted*/4&e.$$.dirty[1]&&ae&&b&&W(),/*lang, userid, session, tourid, showunqualifiedplayer, tablelimit*/91488256&e.$$.dirty[0]|/*isMounted*/4&e.$$.dirty[1]&&p&&y&&b&&w&&x&&v&&ae&&re(C,w)},[m,f,S,L,$,A,B,O,F,s,j,ie,i,r,a,z,X,Q,p,g,b,y,w,C,v,T,x,_,k,P,E,D,M,ae,e=>X(e),e=>X(e),()=>Q(),e=>X(e)]}class Qo extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Xo,Ko,o,{sortable:1,firstrow:0,lang:18,scorefractiondigit:19,session:20,userid:21,tourid:22,endpoint:23,tablelimit:24,namemask:25,showunqualifiedplayer:26,mobiletablelimit:27,updatetableintime:28,minscore:29,showrankasimage:2,cellsetting:30},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["sortable","firstrow","lang","scorefractiondigit","session","userid","tourid","endpoint","tablelimit","namemask","showunqualifiedplayer","mobiletablelimit","updatetableintime","minscore","showrankasimage","cellsetting"]}get sortable(){return this.$$.ctx[1]}set sortable(e){this.$$set({sortable:e}),I()}get firstrow(){return this.$$.ctx[0]}set firstrow(e){this.$$set({firstrow:e}),I()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),I()}get scorefractiondigit(){return this.$$.ctx[19]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),I()}get session(){return this.$$.ctx[20]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[21]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[22]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[23]}set endpoint(e){this.$$set({endpoint:e}),I()}get tablelimit(){return this.$$.ctx[24]}set tablelimit(e){this.$$set({tablelimit:e}),I()}get namemask(){return this.$$.ctx[25]}set namemask(e){this.$$set({namemask:e}),I()}get showunqualifiedplayer(){return this.$$.ctx[26]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),I()}get mobiletablelimit(){return this.$$.ctx[27]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),I()}get updatetableintime(){return this.$$.ctx[28]}set updatetableintime(e){this.$$set({updatetableintime:e}),I()}get minscore(){return this.$$.ctx[29]}set minscore(e){this.$$set({minscore:e}),I()}get showrankasimage(){return this.$$.ctx[2]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get cellsetting(){return this.$$.ctx[30]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
|
|
994
994
|
/* src/Cells/TitleCell.svelte generated by Svelte v3.59.2 */
|
|
995
|
-
function
|
|
995
|
+
function es(t){let n,r;return{c(){n=y("p"),r=C(/*title*/t[0]),this.c=e,_(n,"class","Title"),_(n,"part","Title")},m(e,t){p(e,n,t),m(n,r)},p(e,[t]){/*title*/1&t&&k(r,/*title*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function ts(e,t,n){let{lang:r="en"}=t,{title:i=""}=t;Object.keys(wi).forEach((e=>{bi(e,wi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});return e.$$set=e=>{"lang"in e&&n(1,r=e.lang),"title"in e&&n(0,i=e.title)},e.$$.update=()=>{/*lang*/2&e.$$.dirty&&r&&yi(r)},[i,r]}customElements.define("leaderboard-cell",Qo);class ns extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ts,es,o,{lang:1,title:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","title"]}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),I()}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),I()}}customElements.define("title-cell",ns);var rs=br((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
|
|
996
996
|
// This is done to register the method called with moment()
|
|
997
997
|
// without creating circular dependencies.
|
|
998
998
|
function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){
|
|
@@ -1003,18 +1003,18 @@ return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s
|
|
|
1003
1003
|
return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=p()),e._pf}function b(e){if(null==e._isValid){var t=g(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function y(e){var t=m(NaN);return null!=e?f(g(t),e):g(t).userInvalidated=!0,t}
|
|
1004
1004
|
// Plugins that add properties should also add the key here (null value),
|
|
1005
1005
|
// so we can properly clone ourselves.
|
|
1006
|
-
n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var
|
|
1006
|
+
n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=r.momentProperties=[],C=!1;function v(e,t){var n,r,i,a=w.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)u(i=t[r=w[n]])||(e[r]=i);return e}
|
|
1007
1007
|
// Moment prototype object
|
|
1008
1008
|
function T(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
|
|
1009
1009
|
// Prevent infinite loop in case updateOffset creates new moment
|
|
1010
1010
|
// objects.
|
|
1011
|
-
!1===
|
|
1011
|
+
!1===C&&(C=!0,r.updateOffset(this),C=!1)}function x(e){return e instanceof T||null!=e&&null!=e._isAMomentObject}function _(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],u=arguments.length;for(a=0;a<u;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}_(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var P,S={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),S[e]||(_(t),S[e]=!0)}function $(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)s(e,n)&&($(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
|
|
1012
1012
|
// Lenient ordinal parsing accepts just a number in addition to
|
|
1013
1013
|
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
|
|
1014
1014
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
1015
1015
|
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(
|
|
1016
1016
|
// make sure changes to properties don't modify parent config
|
|
1017
|
-
r[n]=f({},r[n]));return r}function
|
|
1017
|
+
r[n]=f({},r[n]));return r}function R(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,P=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var M={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return $(r)?r.call(t,n):r}function B(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},N={};
|
|
1018
1018
|
// token: 'M'
|
|
1019
1019
|
// padded: ['MM', 2]
|
|
1020
1020
|
// ordinal: 'Mo'
|
|
@@ -1025,8 +1025,8 @@ function j(e,t){return e.isValid()?(t=Y(t,e.localeData()),F[t]=F[t]||I(t),F[t](e
|
|
|
1025
1025
|
// MOMENTS
|
|
1026
1026
|
function me(e){return $(this[e=re(e)])?this[e]():this}function pe(e,t){if("object"==typeof e){var n,r=se(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if($(this[e=re(e)]))return this[e](t);return this}var ge,be=/\d/,// 0 - 9
|
|
1027
1027
|
ye=/\d\d/,// 00 - 99
|
|
1028
|
-
|
|
1029
|
-
|
|
1028
|
+
we=/\d{3}/,// 000 - 999
|
|
1029
|
+
Ce=/\d{4}/,// 0000 - 9999
|
|
1030
1030
|
ve=/[+-]?\d{6}/,// -999999 - 999999
|
|
1031
1031
|
Te=/\d\d?/,// 0 - 99
|
|
1032
1032
|
xe=/\d\d\d\d?/,// 999 - 9999
|
|
@@ -1038,10 +1038,10 @@ Ee=/\d+/,// 0 - inf
|
|
|
1038
1038
|
$e=/[+-]?\d+/,// -inf - inf
|
|
1039
1039
|
Le=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
|
|
1040
1040
|
De=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
|
1041
|
-
|
|
1041
|
+
Re=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
|
1042
1042
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
|
1043
1043
|
// includes scottish gaelic two word and hyphenated months
|
|
1044
|
-
|
|
1044
|
+
Me=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ae(e,t,n){ge[e]=$(t)?t:function(e,r){return e&&n?n:t}}function Be(e,t){return s(ge,e)?ge[e](t._strict,t._locale):new RegExp(ze(e))}
|
|
1045
1045
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
|
1046
1046
|
function ze(e){return Oe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Oe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Fe={};function Ne(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Fe[e[n]]=i}function He(e,t){Ne(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&s(Fe,e)&&Fe[e](t,n._a,n,e)}var Ie,je=0,Ye=1,Ge=2,Ve=3,We=4,qe=5,Je=6,Ze=7,Ke=8;function Xe(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Xe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
|
|
1047
1047
|
// FORMATTING
|
|
@@ -1057,7 +1057,7 @@ Ae("M",Te),Ae("MM",Te,ye),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})
|
|
|
1057
1057
|
// if we didn't find a month name, mark the date as invalid.
|
|
1058
1058
|
null!=i?t[Ye]=i:g(n).invalidMonth=e}));
|
|
1059
1059
|
// LOCALES
|
|
1060
|
-
var et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=
|
|
1060
|
+
var et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Me,it=Me;function at(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function ot(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(
|
|
1061
1061
|
// this is not used
|
|
1062
1062
|
this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ie.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ie.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ie.call(this._shortMonthsParse,o))||-1!==(i=Ie.call(this._longMonthsParse,o))?i:null:-1!==(i=Ie.call(this._longMonthsParse,o))||-1!==(i=Ie.call(this._shortMonthsParse,o))?i:null}function lt(e,t,n){var r,i,a;if(this._monthsParseExact)return st.call(this,e,t,n);
|
|
1063
1063
|
// TODO: add sorting
|
|
@@ -1089,7 +1089,7 @@ ne("year","y"),
|
|
|
1089
1089
|
// PRIORITIES
|
|
1090
1090
|
oe("year",1),
|
|
1091
1091
|
// PARSING
|
|
1092
|
-
Ae("Y",$e),Ae("YY",Te,ye),Ae("YYYY",Pe,
|
|
1092
|
+
Ae("Y",$e),Ae("YY",Te,ye),Ae("YYYY",Pe,Ce),Ae("YYYYY",Se,ve),Ae("YYYYYY",Se,ve),Ne(["YYYYY","YYYYYY"],je),Ne("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),Ne("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Ne("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};
|
|
1093
1093
|
// MOMENTS
|
|
1094
1094
|
var gt=de("FullYear",!0);function bt(){return le(this.year())}function yt(e,t,n,r,i,a,o){
|
|
1095
1095
|
// can't just apply() to create a date:
|
|
@@ -1098,16 +1098,16 @@ var s;
|
|
|
1098
1098
|
// the date constructor remaps years 0-99 to 1900-1999
|
|
1099
1099
|
return e<100&&e>=0?(
|
|
1100
1100
|
// preserve leap years using a full 400 year cycle, then reset
|
|
1101
|
-
s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function
|
|
1101
|
+
s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function wt(e){var t,n;
|
|
1102
1102
|
// the Date.UTC function remaps years 0-99 to 1900-1999
|
|
1103
1103
|
return e<100&&e>=0?(
|
|
1104
1104
|
// preserve leap years using a full 400 year cycle, then reset
|
|
1105
1105
|
(n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}
|
|
1106
1106
|
// start-of-first-week - start-of-year
|
|
1107
|
-
function
|
|
1108
|
-
r=7+t-n;return-(7+
|
|
1107
|
+
function Ct(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
|
|
1108
|
+
r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}
|
|
1109
1109
|
// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
|
|
1110
|
-
function vt(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+
|
|
1110
|
+
function vt(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+Ct(e,r,i);return s<=0?o=pt(a=e-1)+s:s>pt(e)?(a=e+1,o=s-pt(e)):(a=e,o=s),{year:a,dayOfYear:o}}function Tt(e,t,n){var r,i,a=Ct(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+xt(i=e.year()-1,t,n):o>xt(e.year(),t,n)?(r=o-xt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function xt(e,t,n){var r=Ct(e,t,n),i=Ct(e+1,t,n);return(pt(e)-r+i)/7}
|
|
1111
1111
|
// FORMATTING
|
|
1112
1112
|
// HELPERS
|
|
1113
1113
|
// LOCALES
|
|
@@ -1125,7 +1125,7 @@ function Et(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e
|
|
|
1125
1125
|
// HELPERS
|
|
1126
1126
|
function Lt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Dt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
|
|
1127
1127
|
// LOCALES
|
|
1128
|
-
function
|
|
1128
|
+
function Rt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),
|
|
1129
1129
|
// ALIASES
|
|
1130
1130
|
ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
|
|
1131
1131
|
// PRIORITY
|
|
@@ -1133,7 +1133,7 @@ oe("day",11),oe("weekday",11),oe("isoWeekday",11),
|
|
|
1133
1133
|
// PARSING
|
|
1134
1134
|
Ae("d",Te),Ae("e",Te),Ae("E",Te),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),He(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
|
|
1135
1135
|
// if we didn't get a weekday name, mark the date as invalid
|
|
1136
|
-
null!=i?t.d=i:g(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var
|
|
1136
|
+
null!=i?t.d=i:g(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),zt=Me,Ot=Me,Ft=Me;function Nt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Rt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Rt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Rt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function It(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ie.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ie.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ie.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ie.call(this._weekdaysParse,o))||-1!==(i=Ie.call(this._shortWeekdaysParse,o))||-1!==(i=Ie.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ie.call(this._shortWeekdaysParse,o))||-1!==(i=Ie.call(this._weekdaysParse,o))||-1!==(i=Ie.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ie.call(this._minWeekdaysParse,o))||-1!==(i=Ie.call(this._weekdaysParse,o))||-1!==(i=Ie.call(this._shortWeekdaysParse,o))?i:null}function jt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return It.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
|
|
1137
1137
|
// test the regex
|
|
1138
1138
|
if(
|
|
1139
1139
|
// make the regex if we don't have it already
|
|
@@ -1166,7 +1166,7 @@ oe("hour",13),Ae("a",en),Ae("A",en),Ae("H",Te),Ae("h",Te),Ae("k",Te),Ae("HH",Te,
|
|
|
1166
1166
|
// specified which hour they want. So trying to maintain the same hour (in
|
|
1167
1167
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
|
1168
1168
|
// this rule.
|
|
1169
|
-
rn=de("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:
|
|
1169
|
+
rn=de("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:M,longDateFormat:G,invalidDate:W,ordinal:J,dayOfMonthOrdinalParse:Z,relativeTime:X,months:et,monthsShort:tt,week:kt,weekdays:Mt,weekdaysMin:Bt,weekdaysShort:At,meridiemParse:nn},ln={},un={};
|
|
1170
1170
|
// internal storage for locale config files
|
|
1171
1171
|
function cn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}
|
|
1172
1172
|
// pick the locale from the array
|
|
@@ -1190,7 +1190,7 @@ function pn(e,t){var n;return e&&((n=u(t)?yn(e):gn(e,t))?
|
|
|
1190
1190
|
// moment.duration._locale = moment._locale = data;
|
|
1191
1191
|
on=n:"undefined"!=typeof console&&console.warn&&
|
|
1192
1192
|
//warn user if arguments are passed but the locale could not be set
|
|
1193
|
-
console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new
|
|
1193
|
+
console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new R(D(r,t)),un[e]&&un[e].forEach((function(e){gn(e.name,e.config)})),
|
|
1194
1194
|
// backwards compat for now: also set the locale
|
|
1195
1195
|
// make sure we set the locale AFTER all child locales have been
|
|
1196
1196
|
// created, so we won't end up with the child locale set.
|
|
@@ -1204,7 +1204,7 @@ null!=(r=mn(e))&&(i=r._config),t=D(i,t),null==r&&(
|
|
|
1204
1204
|
// updateLocale is called for creating a new locale
|
|
1205
1205
|
// Set abbr so it will have a name (getters return
|
|
1206
1206
|
// undefined otherwise).
|
|
1207
|
-
t.abbr=e),(n=new
|
|
1207
|
+
t.abbr=e),(n=new R(t)).parentLocale=ln[e],ln[e]=n),
|
|
1208
1208
|
// backwards compat for now: also set the locale
|
|
1209
1209
|
pn(e)}else
|
|
1210
1210
|
// pass null for config to unupdate, useful for tests
|
|
@@ -1212,7 +1212,7 @@ null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===pn()&&pn(e)
|
|
|
1212
1212
|
// returns locale data
|
|
1213
1213
|
function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!a(e)){if(
|
|
1214
1214
|
//short-circuit everything else
|
|
1215
|
-
t=mn(e))return t;e=[e]}return hn(e)}function
|
|
1215
|
+
t=mn(e))return t;e=[e]}return hn(e)}function wn(){return P(ln)}function Cn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ye]<0||n[Ye]>11?Ye:n[Ge]<1||n[Ge]>Qe(n[je],n[Ye])?Ge:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[We]||0!==n[qe]||0!==n[Je])?Ve:n[We]<0||n[We]>59?We:n[qe]<0||n[qe]>59?qe:n[Je]<0||n[Je]>999?Je:-1,g(e)._overflowDayOfYear&&(t<je||t>Ge)&&(t=Ge),g(e)._overflowWeeks&&-1===t&&(t=Ze),g(e)._overflowWeekday&&-1===t&&(t=Ke),g(e).overflow=t),e}
|
|
1216
1216
|
// iso 8601 regex
|
|
1217
1217
|
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
|
1218
1218
|
var vn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/Z|[+-]\d\d(?::?\d\d)?/,_n=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],
|
|
@@ -1223,13 +1223,13 @@ Sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|J
|
|
|
1223
1223
|
// date from iso format
|
|
1224
1224
|
function $n(e){var t,n,r,i,a,o,s=e._i,l=vn.exec(s)||Tn.exec(s),u=_n.length,c=kn.length;if(l){for(g(e).iso=!0,t=0,n=u;t<n;t++)if(_n[t][1].exec(l[1])){i=_n[t][0],r=!1!==_n[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(kn[t][1].exec(l[3])){
|
|
1225
1225
|
// match[2] should be 'T' or space
|
|
1226
|
-
a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!xn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function Ln(e,t,n,r,i,a){var o=[Dn(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Dn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function
|
|
1226
|
+
a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!xn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function Ln(e,t,n,r,i,a){var o=[Dn(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Dn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Rn(e){
|
|
1227
1227
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
1228
|
-
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function
|
|
1228
|
+
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Mn(e,t,n){return!e||At.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function An(e,t,n){if(e)return En[e];if(t)
|
|
1229
1229
|
// the only allowed military tz is Z
|
|
1230
1230
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
|
1231
1231
|
// date and time from ref 2822 format
|
|
1232
|
-
function Bn(e){var t,n=Sn.exec(
|
|
1232
|
+
function Bn(e){var t,n=Sn.exec(Rn(e._i));if(n){if(t=Ln(n[4],n[3],n[2],n[5],n[6],n[7]),!Mn(n[1],t,e))return;e._a=t,e._tzm=An(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
|
1233
1233
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
|
1234
1234
|
function zn(e){var t=Pn.exec(e._i);null===t?($n(e),!1===e._isValid&&(delete e._isValid,Bn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
|
1235
1235
|
// Final attempt, use Input Fallback
|
|
@@ -1252,11 +1252,11 @@ for(r=Fn(e),
|
|
|
1252
1252
|
//compute day of the year from weeks and weekdays
|
|
1253
1253
|
e._w&&null==e._a[Ge]&&null==e._a[Ye]&&Hn(e),
|
|
1254
1254
|
//if the day of the year is set, figure out what it is
|
|
1255
|
-
null!=e._dayOfYear&&(a=On(e._a[je],r[je]),(e._dayOfYear>pt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=
|
|
1255
|
+
null!=e._dayOfYear&&(a=On(e._a[je],r[je]),(e._dayOfYear>pt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(a,0,e._dayOfYear),e._a[Ye]=n.getUTCMonth(),e._a[Ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];
|
|
1256
1256
|
// Zero out whatever was not defaulted, including time
|
|
1257
1257
|
for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];
|
|
1258
1258
|
// Check for 24:00:00.000
|
|
1259
|
-
24===e._a[Ve]&&0===e._a[We]&&0===e._a[qe]&&0===e._a[Je]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?
|
|
1259
|
+
24===e._a[Ve]&&0===e._a[We]&&0===e._a[qe]&&0===e._a[Je]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?wt:yt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
|
|
1260
1260
|
// Apply timezone offset from input. The actual utcOffset can be changed
|
|
1261
1261
|
// with parseZone.
|
|
1262
1262
|
null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),
|
|
@@ -1291,7 +1291,7 @@ e._a[Ve]<=12&&!0===g(e).bigHour&&e._a[Ve]>0&&(g(e).bigHour=void 0),g(e).parsedDa
|
|
|
1291
1291
|
// handle meridiem
|
|
1292
1292
|
e._a[Ve]=In(e._locale,e._a[Ve],e._meridiem),null!==(
|
|
1293
1293
|
// handle era
|
|
1294
|
-
s=g(e).era)&&(e._a[je]=e._locale.erasConvertYear(s,e._a[je])),Nn(e),
|
|
1294
|
+
s=g(e).era)&&(e._a[je]=e._locale.erasConvertYear(s,e._a[je])),Nn(e),Cn(e)}else Bn(e);else $n(e)}function In(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
|
|
1295
1295
|
// Fallback
|
|
1296
1296
|
(r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
|
|
1297
1297
|
// date from string and array of format strings
|
|
@@ -1299,9 +1299,9 @@ function jn(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFo
|
|
|
1299
1299
|
// if there is any input that was not parsed add a penalty for that format
|
|
1300
1300
|
a+=g(t).charsLeftOver,
|
|
1301
1301
|
//or tokens
|
|
1302
|
-
a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));f(e,n||t)}function Yn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Nn(e)}}function Gn(e){var t=new T(
|
|
1302
|
+
a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));f(e,n||t)}function Yn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Nn(e)}}function Gn(e){var t=new T(Cn(Vn(e)));return t._nextDay&&(
|
|
1303
1303
|
// Adding is smart enough around DST
|
|
1304
|
-
t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new T(
|
|
1304
|
+
t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new T(Cn(t)):(d(t)?e._d=t:a(n)?jn(e):n?Un(e):Wn(e),b(e)||(e._d=null),e))}function Wn(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?zn(e):a(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Nn(e)):o(t)?Yn(e):c(t)?
|
|
1305
1305
|
// from milliseconds
|
|
1306
1306
|
e._d=new Date(t):r.createFromInputFallback(e)}function qn(e,t,n,r,i){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),
|
|
1307
1307
|
// object construction must be done this way.
|
|
@@ -1360,7 +1360,7 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
|
1360
1360
|
// a second time. In case it wants us to change the offset again
|
|
1361
1361
|
// _changeInProgress == true case, then we have to adjust, because
|
|
1362
1362
|
// there is no such time in the given timezone.
|
|
1363
|
-
function pr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=hr(De,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ar(this,$r(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:mr(this)}function gr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function
|
|
1363
|
+
function pr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=hr(De,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ar(this,$r(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:mr(this)}function gr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function wr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function Cr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=hr(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function vr(e){return!!this.isValid()&&(e=e?Jn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Tr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Vn(t))._a?(e=t._isUTC?m(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _r(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Pr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
|
1364
1364
|
// ASP.NET json date format regex
|
|
1365
1365
|
r.updateOffset=function(){};var Sr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
|
1366
1366
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
|
@@ -1370,17 +1370,17 @@ Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:(
|
|
|
1370
1370
|
// matching against regexp is expensive, do it on demand
|
|
1371
1371
|
o=null;return sr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Sr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ce(o[Ge])*n,h:ce(o[Ve])*n,m:ce(o[We])*n,s:ce(o[qe])*n,ms:ce(lr(1e3*o[Je]))*n}):(o=Er.exec(e))?(n="-"===o[1]?-1:1,a={y:Lr(o[2],n),M:Lr(o[3],n),w:Lr(o[4],n),d:Lr(o[5],n),h:Lr(o[6],n),m:Lr(o[7],n),s:Lr(o[8],n)}):null==a?
|
|
1372
1372
|
// checks for null or undefined
|
|
1373
|
-
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=
|
|
1373
|
+
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Rr(Jn(a.from),Jn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new or(a),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Lr(e,t){
|
|
1374
1374
|
// We'd normally use ~~inp for this, but unfortunately it also
|
|
1375
1375
|
// converts floats to ints.
|
|
1376
1376
|
// inp may be undefined, so careful calling replace on it.
|
|
1377
1377
|
var n=e&&parseFloat(e.replace(",","."));
|
|
1378
1378
|
// apply sign while we're at it
|
|
1379
|
-
return(isNaN(n)?0:n)*t}function Dr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function
|
|
1379
|
+
return(isNaN(n)?0:n)*t}function Dr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Rr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Dr(e,t):((n=Dr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
|
|
1380
1380
|
// TODO: remove 'name' arg after deprecation is removed
|
|
1381
|
-
function
|
|
1381
|
+
function Mr(e,t){return function(n,r){var i;
|
|
1382
1382
|
//invert the arguments, but complain about it
|
|
1383
|
-
return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,$r(n,r),e),this}}function Ar(e,t,n,i){var a=t._milliseconds,o=lr(t._days),s=lr(t._months);e.isValid()&&(i=null==i||i,s&&ut(e,he(e,"Month")+s*n),o&&fe(e,"Date",he(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}$r.fn=or.prototype,$r.invalid=ar;var Br=
|
|
1383
|
+
return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,$r(n,r),e),this}}function Ar(e,t,n,i){var a=t._milliseconds,o=lr(t._days),s=lr(t._months);e.isValid()&&(i=null==i||i,s&&ut(e,he(e,"Month")+s*n),o&&fe(e,"Date",he(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}$r.fn=or.prototype,$r.invalid=ar;var Br=Mr(1,"add"),zr=Mr(-1,"subtract");function Or(e){return"string"==typeof e||e instanceof String}
|
|
1384
1384
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
|
1385
1385
|
function Fr(e){return x(e)||d(e)||Or(e)||c(e)||Hr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=a.length;for(t=0;t<u;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Hr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Or(e)})).length),t&&n}function Ur(e){var t,n,r=o(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Ir(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function jr(e,t){
|
|
1386
1386
|
// Support for single parameter, formats only overload to the calendar function
|
|
@@ -1419,15 +1419,15 @@ function mi(e,t){return(e%t+t)%t}function pi(e,t,n){
|
|
|
1419
1419
|
// the date constructor remaps years 0-99 to 1900-1999
|
|
1420
1420
|
return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){
|
|
1421
1421
|
// Date.UTC remaps years 0-99 to 1900-1999
|
|
1422
|
-
return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function bi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=mi(t,di);break;case"second":t=this._d.valueOf(),t-=mi(t,ci)}return this._d.setTime(t),r.updateOffset(this,!0),this}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-mi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-mi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ci-mi(t,ci)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function
|
|
1422
|
+
return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function bi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=mi(t,di);break;case"second":t=this._d.valueOf(),t-=mi(t,ci)}return this._d.setTime(t),r.updateOffset(this,!0),this}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-mi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-mi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ci-mi(t,ci)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function wi(){return this._d.valueOf()-6e4*(this._offset||0)}function Ci(){return Math.floor(this.valueOf()/1e3)}function vi(){return new Date(this.valueOf())}function Ti(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function _i(){
|
|
1423
1423
|
// new Date(NaN).toJSON() === null
|
|
1424
1424
|
return this.isValid()?this.toISOString():null}function ki(){return b(this)}function Pi(){return f({},g(this))}function Si(){return g(this).overflow}function Ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function $i(e,t){var n,i,a,o=this._eras||yn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(
|
|
1425
1425
|
// truncate time
|
|
1426
1426
|
a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":
|
|
1427
1427
|
// truncate time
|
|
1428
|
-
a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function Li(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([a,o,s].indexOf(e)>=0)return l[r]}function Di(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function
|
|
1428
|
+
a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function Li(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([a,o,s].indexOf(e)>=0)return l[r]}function Di(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Ri(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
|
1429
1429
|
// truncate time
|
|
1430
|
-
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function
|
|
1430
|
+
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Mi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
|
1431
1431
|
// truncate time
|
|
1432
1432
|
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
|
1433
1433
|
// truncate time
|
|
@@ -1437,7 +1437,7 @@ i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until
|
|
|
1437
1437
|
// FORMATTING
|
|
1438
1438
|
function Yi(e,t){H(0,[e,e.length],0,t)}
|
|
1439
1439
|
// MOMENTS
|
|
1440
|
-
function Gi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wi(){return xt(this.year(),1,4)}function qi(){return xt(this.isoWeekYear(),1,4)}function Ji(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var a;return null==e?Tt(this,r,i).year:(t>(a=xt(e,r,i))&&(t=a),Xi.call(this,e,t,n,r,i))}function Xi(e,t,n,r,i){var a=vt(e,t,n,r,i),o=
|
|
1440
|
+
function Gi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wi(){return xt(this.year(),1,4)}function qi(){return xt(this.isoWeekYear(),1,4)}function Ji(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var a;return null==e?Tt(this,r,i).year:(t>(a=xt(e,r,i))&&(t=a),Xi.call(this,e,t,n,r,i))}function Xi(e,t,n,r,i){var a=vt(e,t,n,r,i),o=wt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}
|
|
1441
1441
|
// FORMATTING
|
|
1442
1442
|
// MOMENTS
|
|
1443
1443
|
function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
|
|
@@ -1448,7 +1448,7 @@ ne("weekYear","gg"),ne("isoWeekYear","GG"),
|
|
|
1448
1448
|
// PRIORITY
|
|
1449
1449
|
oe("weekYear",1),oe("isoWeekYear",1),
|
|
1450
1450
|
// PARSING
|
|
1451
|
-
Ae("G",$e),Ae("g",$e),Ae("GG",Te,ye),Ae("gg",Te,ye),Ae("GGGG",Pe,
|
|
1451
|
+
Ae("G",$e),Ae("g",$e),Ae("GG",Te,ye),Ae("gg",Te,ye),Ae("GGGG",Pe,Ce),Ae("gggg",Pe,Ce),Ae("GGGGG",Se,ve),Ae("ggggg",Se,ve),He(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),He(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
|
|
1452
1452
|
// ALIASES
|
|
1453
1453
|
ne("quarter","Q"),
|
|
1454
1454
|
// PRIORITY
|
|
@@ -1476,7 +1476,7 @@ ne("dayOfYear","DDD"),
|
|
|
1476
1476
|
// PRIORITY
|
|
1477
1477
|
oe("dayOfYear",4),
|
|
1478
1478
|
// PARSING
|
|
1479
|
-
Ae("DDD",ke),Ae("DDDD",
|
|
1479
|
+
Ae("DDD",ke),Ae("DDDD",we),Ne(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),H("m",["mm",2],0,"minute"),
|
|
1480
1480
|
// ALIASES
|
|
1481
1481
|
ne("minute","m"),
|
|
1482
1482
|
// PRIORITY
|
|
@@ -1502,11 +1502,11 @@ ne("millisecond","ms"),
|
|
|
1502
1502
|
// PRIORITY
|
|
1503
1503
|
oe("millisecond",16),
|
|
1504
1504
|
// PARSING
|
|
1505
|
-
Ae("S",ke,be),Ae("SS",ke,ye),Ae("SSS",ke,
|
|
1505
|
+
Ae("S",ke,be),Ae("SS",ke,ye),Ae("SSS",ke,we),ra="SSSS";ra.length<=9;ra+="S")Ae(ra,Ee);function oa(e,t){t[Je]=ce(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")Ne(ra,oa);
|
|
1506
1506
|
// MOMENTS
|
|
1507
1507
|
function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=de("Milliseconds",!1),
|
|
1508
1508
|
// FORMATTING
|
|
1509
|
-
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ua=T.prototype;function ca(e){return Jn(1e3*e)}function da(){return Jn.apply(null,arguments).parseZone()}function ha(e){return e}ua.add=Br,ua.calendar=jr,ua.clone=Yr,ua.diff=Kr,ua.endOf=yi,ua.format=ni,ua.from=ri,ua.fromNow=ii,ua.to=ai,ua.toNow=oi,ua.get=me,ua.invalidAt=Si,ua.isAfter=Gr,ua.isBefore=Vr,ua.isBetween=Wr,ua.isSame=qr,ua.isSameOrAfter=Jr,ua.isSameOrBefore=Zr,ua.isValid=ki,ua.lang=li,ua.locale=si,ua.localeData=ui,ua.max=Kn,ua.min=Zn,ua.parsingFlags=Pi,ua.set=pe,ua.startOf=bi,ua.subtract=zr,ua.toArray=Ti,ua.toObject=xi,ua.toDate=vi,ua.toISOString=ei,ua.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=_i,ua.toString=Qr,ua.unix=
|
|
1509
|
+
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ua=T.prototype;function ca(e){return Jn(1e3*e)}function da(){return Jn.apply(null,arguments).parseZone()}function ha(e){return e}ua.add=Br,ua.calendar=jr,ua.clone=Yr,ua.diff=Kr,ua.endOf=yi,ua.format=ni,ua.from=ri,ua.fromNow=ii,ua.to=ai,ua.toNow=oi,ua.get=me,ua.invalidAt=Si,ua.isAfter=Gr,ua.isBefore=Vr,ua.isBetween=Wr,ua.isSame=qr,ua.isSameOrAfter=Jr,ua.isSameOrBefore=Zr,ua.isValid=ki,ua.lang=li,ua.locale=si,ua.localeData=ui,ua.max=Kn,ua.min=Zn,ua.parsingFlags=Pi,ua.set=pe,ua.startOf=bi,ua.subtract=zr,ua.toArray=Ti,ua.toObject=xi,ua.toDate=vi,ua.toISOString=ei,ua.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=_i,ua.toString=Qr,ua.unix=Ci,ua.valueOf=wi,ua.creationData=Ei,ua.eraName=Ri,ua.eraNarrow=Mi,ua.eraAbbr=Ai,ua.eraYear=Bi,ua.year=gt,ua.isLeapYear=bt,ua.weekYear=Gi,ua.isoWeekYear=Vi,ua.quarter=ua.quarters=Qi,ua.month=ct,ua.daysInMonth=dt,ua.week=ua.weeks=Et,ua.isoWeek=ua.isoWeeks=$t,ua.weeksInYear=Ji,ua.weeksInWeekYear=Zi,ua.isoWeeksInYear=Wi,ua.isoWeeksInISOWeekYear=qi,ua.date=ea,ua.day=ua.days=Yt,ua.weekday=Gt,ua.isoWeekday=Vt,ua.dayOfYear=ta,ua.hour=ua.hours=rn,ua.minute=ua.minutes=na,ua.second=ua.seconds=aa,ua.millisecond=ua.milliseconds=ia,ua.utcOffset=pr,ua.utc=br,ua.local=wr,ua.parseZone=Cr,ua.hasAlignedHourOffset=vr,ua.isDST=Tr,ua.isLocal=_r,ua.isUtcOffset=kr,ua.isUtc=Pr,ua.isUTC=Pr,ua.zoneAbbr=sa,ua.zoneName=la,ua.dates=k("dates accessor is deprecated. Use date instead.",ea),ua.months=k("months accessor is deprecated. Use month instead",ct),ua.years=k("years accessor is deprecated. Use year instead",gt),ua.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),ua.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var fa=R.prototype;function ma(e,t,n,r){var i=yn(),a=m().set(r,t);return i[n](a,e)}function pa(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return ma(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=ma(e,r,n,"month");return i}
|
|
1510
1510
|
// ()
|
|
1511
1511
|
// (5)
|
|
1512
1512
|
// (fmt, 5)
|
|
@@ -1515,7 +1515,7 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ua=T.prototype;function ca(e){r
|
|
|
1515
1515
|
// (true, 5)
|
|
1516
1516
|
// (true, fmt, 5)
|
|
1517
1517
|
// (true, fmt)
|
|
1518
|
-
function ga(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,a=yn(),o=e?a._week.dow:0,s=[];if(null!=n)return ma(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=ma(t,(i+o)%7,r,"day");return s}function ba(e,t){return pa(e,t,"months")}function ya(e,t){return pa(e,t,"monthsShort")}function
|
|
1518
|
+
function ga(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,a=yn(),o=e?a._week.dow:0,s=[];if(null!=n)return ma(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=ma(t,(i+o)%7,r,"day");return s}function ba(e,t){return pa(e,t,"months")}function ya(e,t){return pa(e,t,"monthsShort")}function wa(e,t,n){return ga(e,t,n,"weekdays")}function Ca(e,t,n){return ga(e,t,n,"weekdaysShort")}function va(e,t,n){return ga(e,t,n,"weekdaysMin")}fa.calendar=A,fa.longDateFormat=V,fa.invalidDate=q,fa.ordinal=K,fa.preparse=ha,fa.postformat=ha,fa.relativeTime=Q,fa.pastFuture=ee,fa.set=L,fa.eras=$i,fa.erasParse=Li,fa.erasConvertYear=Di,fa.erasAbbrRegex=Oi,fa.erasNameRegex=zi,fa.erasNarrowRegex=Fi,fa.months=at,fa.monthsShort=ot,fa.monthsParse=lt,fa.monthsRegex=ft,fa.monthsShortRegex=ht,fa.week=_t,fa.firstDayOfYear=St,fa.firstDayOfWeek=Pt,fa.weekdays=Nt,fa.weekdaysMin=Ut,fa.weekdaysShort=Ht,fa.weekdaysParse=jt,fa.weekdaysRegex=Wt,fa.weekdaysShortRegex=qt,fa.weekdaysMinRegex=Jt,fa.isPM=tn,fa.meridiem=an,pn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
|
1519
1519
|
// Side effect imports
|
|
1520
1520
|
r.lang=k("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",yn);var Ta=Math.abs;function xa(){var e=this._data;return this._milliseconds=Ta(this._milliseconds),this._days=Ta(this._days),this._months=Ta(this._months),e.milliseconds=Ta(e.milliseconds),e.seconds=Ta(e.seconds),e.minutes=Ta(e.minutes),e.hours=Ta(e.hours),e.months=Ta(e.months),e.years=Ta(e.years),this}function _a(e,t,n,r){var i=$r(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
|
1521
1521
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
@@ -1542,7 +1542,7 @@ t=this._days+Math.round(La(this._months)),e){case"week":return t/7+r/6048e5;case
|
|
|
1542
1542
|
// Math.floor prevents floating point math errors here
|
|
1543
1543
|
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
|
|
1544
1544
|
// TODO: Use this.as('ms')?
|
|
1545
|
-
function
|
|
1545
|
+
function Ra(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ma(e){return function(){return this.as(e)}}var Aa=Ma("ms"),Ba=Ma("s"),za=Ma("m"),Oa=Ma("h"),Fa=Ma("d"),Na=Ma("w"),Ha=Ma("M"),Ua=Ma("Q"),Ia=Ma("y");function ja(){return $r(this)}function Ya(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ga(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=Ga("milliseconds"),Wa=Ga("seconds"),qa=Ga("minutes"),Ja=Ga("hours"),Za=Ga("days"),Ka=Ga("months"),Xa=Ga("years");function Qa(){return ue(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
|
|
1546
1546
|
s:45,// seconds to minute
|
|
1547
1547
|
m:45,// minutes to hour
|
|
1548
1548
|
h:22,// hours to day
|
|
@@ -1568,13 +1568,13 @@ e=ue(l/60),t=ue(e/60),l%=60,e%=60,
|
|
|
1568
1568
|
// 12 months -> 1 year
|
|
1569
1569
|
n=ue(c/12),c%=12,
|
|
1570
1570
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
1571
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var co=or.prototype;return co.isValid=ir,co.abs=xa,co.add=ka,co.subtract=Pa,co.as=Da,co.asMilliseconds=Aa,co.asSeconds=Ba,co.asMinutes=za,co.asHours=Oa,co.asDays=Fa,co.asWeeks=Na,co.asMonths=Ha,co.asQuarters=Ua,co.asYears=Ia,co.valueOf=
|
|
1571
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var co=or.prototype;return co.isValid=ir,co.abs=xa,co.add=ka,co.subtract=Pa,co.as=Da,co.asMilliseconds=Aa,co.asSeconds=Ba,co.asMinutes=za,co.asHours=Oa,co.asDays=Fa,co.asWeeks=Na,co.asMonths=Ha,co.asQuarters=Ua,co.asYears=Ia,co.valueOf=Ra,co._bubble=Ea,co.clone=ja,co.get=Ya,co.milliseconds=Va,co.seconds=Wa,co.minutes=qa,co.hours=Ja,co.days=Za,co.weeks=Qa,co.months=Ka,co.years=Xa,co.humanize=oo,co.toISOString=uo,co.toString=uo,co.toJSON=uo,co.locale=si,co.localeData=ui,co.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),co.lang=li,
|
|
1572
1572
|
// FORMATTING
|
|
1573
1573
|
H("X",0,0,"unix"),H("x",0,0,"valueOf"),
|
|
1574
1574
|
// PARSING
|
|
1575
|
-
Ae("x",$e),Ae("X",
|
|
1575
|
+
Ae("x",$e),Ae("X",Re),Ne("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ne("x",(function(e,t,n){n._d=new Date(ce(e))})),
|
|
1576
1576
|
//! moment.js
|
|
1577
|
-
r.version="2.29.4",i(Jn),r.fn=ua,r.min=Qn,r.max=er,r.now=tr,r.utc=m,r.unix=ca,r.months=ba,r.isDate=d,r.locale=pn,r.invalid=y,r.duration=$r,r.isMoment=x,r.weekdays=
|
|
1577
|
+
r.version="2.29.4",i(Jn),r.fn=ua,r.min=Qn,r.max=er,r.now=tr,r.utc=m,r.unix=ca,r.months=ba,r.isDate=d,r.locale=pn,r.invalid=y,r.duration=$r,r.isMoment=x,r.weekdays=wa,r.parseZone=da,r.localeData=yn,r.isDuration=sr,r.monthsShort=ya,r.weekdaysMin=va,r.defineLocale=gn,r.updateLocale=bn,r.locales=wn,r.weekdaysShort=Ca,r.normalizeUnits=re,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ir,r.prototype=ua,
|
|
1578
1578
|
// currently HTML5 input type only supports 24-hour formats
|
|
1579
1579
|
r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
|
|
1580
1580
|
DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
|
|
@@ -1584,67 +1584,67 @@ TIME:"HH:mm",// <input type="time" />
|
|
|
1584
1584
|
TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
|
|
1585
1585
|
TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
|
|
1586
1586
|
WEEK:"GGGG-[W]WW",// <input type="week" />
|
|
1587
|
-
MONTH:"YYYY-MM"},r}()})),
|
|
1587
|
+
MONTH:"YYYY-MM"},r}()})),is="data:image/svg+xml,%3csvg width='9' height='11' viewBox='0 0 9 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.1 1.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405 1.4 0 1.805 0 2.3V9.5C0 9.995 0.405 10.4 0.9 10.4H8.1C8.595 10.4 9 9.995 9 9.5V2.3C9 1.805 8.595 1.4 8.1 1.4ZM8.10003 9.5H0.900027V4.55H8.10003V9.5ZM0.900027 3.65005H8.10003V2.30005H0.900027V3.65005Z' fill='%231E1616'/%3e%3c/svg%3e";
|
|
1588
1588
|
/* src/Cells/StartDateCell.svelte generated by Svelte v3.59.2 */
|
|
1589
|
-
function
|
|
1589
|
+
function as(e){let t,n,r,i,o,s=/*cellsetting*/e[1]&&/*cellsetting*/e[1].showCalendarIcon&&os();return{c(){t=y("div"),s&&s.c(),n=C(/*shownDate*/e[2]),_(t,"class","Date TagContent"),_(t,"part","Date TagContent")},m(a,l){p(a,t,l),s&&s.m(t,null),m(t,n),i||(o=f(r=/*formatDate*/e[3].call(null,t,/*startdate*/e[0])),i=!0)},p(e,i){/*cellsetting*/e[1]&&/*cellsetting*/e[1].showCalendarIcon?s?s.p(e,i):(s=os(),s.c(),s.m(t,n)):s&&(s.d(1),s=null),/*shownDate*/4&i&&k(n,/*shownDate*/e[2]),r&&a(r.update)&&/*startdate*/1&i&&r.update.call(null,/*startdate*/e[0])},d(e){e&&g(t),s&&s.d(),i=!1,o()}}}
|
|
1590
1590
|
// (66:4) {#if cellsetting && cellsetting.showCalendarIcon}
|
|
1591
|
-
function
|
|
1591
|
+
function os(t){let n,r,i;return{c(){n=y("img"),i=v(),_(n,"class","CalendarIcon"),_(n,"alt","Calendar"),_(n,"part","CalendarIcon"),u(n.src,r=is)||_(n,"src",r)},m(e,t){p(e,n,t),p(e,i,t)},p:e,d(e){e&&g(n),e&&g(i)}}}function ss(t){let n,r=/*startdate*/t[0]&&as(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*startdate*/e[0]?r?r.p(e,t):(r=as(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function ls(e,t,n){let r;d(e,Yn,(e=>n(7,r=e)));let{startdate:i=""}=t,{status:a=""}=t,{lang:o=""}=t,{cellsetting:s}=t,l={shortstart:!1,shortstartformat:"DD MMM YYYY",showCalendarIcon:!1},u="";cn({fallbackLocale:"en",initialLocale:"en"}),Object.keys(Pi).forEach((e=>{bi(e,Pi[e])}));const c=()=>{const e={month:"long"};let t=new Date(i);if(s&&s.shortstart){let e=rs(t).format(s.shortstartformat||l.shortstartformat);n(2,u=r("Running"===a||"Closing"==a||"Closed"==a?"tournamentsThumbnail.startedAtWithTime":"tournamentsThumbnail.startingAtWithTime",{values:{startTime:e}}))}else{let i=new Intl.DateTimeFormat("en",e).format(t),o=t.getDate(),s=t.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});n(2,u=`${o} `+r(`tournamentsThumbnail.${i}`)+", "+r("Running"===a?"tournamentsThumbnail.startedAt":"tournamentsThumbnail.startingAt")+` ${s}`)}};return e.$$set=e=>{"startdate"in e&&n(0,i=e.startdate),"status"in e&&n(4,a=e.status),"lang"in e&&n(5,o=e.lang),"cellsetting"in e&&n(1,s=e.cellsetting)},e.$$.update=()=>{/*lang*/32&e.$$.dirty&&o&&(yi(o),i&&c()),/*startdate*/1&e.$$.dirty&&i&&c(),/*cellsetting*/2&e.$$.dirty&&s&&(l={shortstart:s.shortstart||!1,shortstartformat:s.shortstartformat||"DD MMM YYYY",showCalendarIcon:s.showCalendarIcon||!1})},[i,s,u,c,a,o]}class us extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ls,ss,o,{startdate:0,status:4,lang:5,cellsetting:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["startdate","status","lang","cellsetting"]}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),I()}get status(){return this.$$.ctx[4]}set status(e){this.$$set({status:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get cellsetting(){return this.$$.ctx[1]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
|
|
1592
1592
|
/* src/Cells/BackButtonCell.svelte generated by Svelte v3.59.2 */
|
|
1593
|
-
function
|
|
1593
|
+
function cs(t){let n,r,i,a,o,s,l,u,c,d=/*$_*/t[0]("tournamentsPage.back")+"";return{c(){n=y("div"),r=y("div"),i=w("svg"),a=w("path"),o=v(),s=y("p"),l=C(d),this.c=e,_(a,"stroke-linecap","round"),_(a,"stroke-linejoin","round"),_(a,"stroke-width","2"),_(a,"d","M15 19l-7-7 7-7"),_(i,"fill","none"),_(i,"stroke","currentColor"),_(i,"width","24"),_(i,"height","24"),_(i,"viewBox","0 0 24 24"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(s,"class","ButtonText"),_(r,"class","BackButton"),_(r,"part","BackButton"),_(n,"class","TopButtons"),_(n,"part","TopButtons")},m(e,d){p(e,n,d),m(n,r),m(r,i),m(i,a),m(r,o),m(r,s),m(s,l),u||(c=x(r,"click",/*click_handler*/t[4]),u=!0)},p(e,[t]){/*$_*/1&t&&d!==(d=/*$_*/e[0]("tournamentsPage.back")+"")&&k(l,d)},i:e,o:e,d(e){e&&g(n),u=!1,c()}}}function ds(e,t,n){let r;d(e,Yn,(e=>n(0,r=e)));let{lang:i="en"}=t,{navigationbackbutton:a="Default"}=t;Object.keys(Ci).forEach((e=>{bi(e,Ci[e])}));const o=()=>{
|
|
1594
1594
|
// this function handles the back navigation making use of the prop: navigationbackbutton. If it has the
|
|
1595
1595
|
// event value, it will emit the 'RedirectBack' event which will enable the client to handle the routing;
|
|
1596
1596
|
// else, if it has the 'Default' value, it will do a window.history.back()
|
|
1597
|
-
"Event"==a?window.postMessage({type:"RedirectBack"},window.location.href):"Default"==a&&window.history.back()};return e.$$set=e=>{"lang"in e&&n(2,i=e.lang),"navigationbackbutton"in e&&n(3,a=e.navigationbackbutton)},e.$$.update=()=>{/*lang*/4&e.$$.dirty&&i&&yi(i)},[r,o,i,a,()=>o()]}customElements.define("startdate-cell",
|
|
1597
|
+
"Event"==a?window.postMessage({type:"RedirectBack"},window.location.href):"Default"==a&&window.history.back()};return e.$$set=e=>{"lang"in e&&n(2,i=e.lang),"navigationbackbutton"in e&&n(3,a=e.navigationbackbutton)},e.$$.update=()=>{/*lang*/4&e.$$.dirty&&i&&yi(i)},[r,o,i,a,()=>o()]}customElements.define("startdate-cell",us);class hs extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ds,cs,o,{lang:2,navigationbackbutton:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","navigationbackbutton"]}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),I()}get navigationbackbutton(){return this.$$.ctx[3]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),I()}}
|
|
1598
1598
|
/* src/Cells/TranslateTextCell.svelte generated by Svelte v3.59.2 */
|
|
1599
|
-
function
|
|
1599
|
+
function fs(t){let n,r;return{c(){n=y("span"),r=C(/*translatedText*/t[0]),this.c=e},m(e,t){p(e,n,t),m(n,r)},p(e,[t]){/*translatedText*/1&t&&k(r,/*translatedText*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function ms(e,t,n){let r;d(e,Yn,(e=>n(3,r=e)));let{lang:i=""}=t,{cellsetting:a={langkey:""}}=t,o="";Object.keys(Ci).forEach((e=>{bi(e,Ci[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const s=()=>{a.langkey&&n(0,o=r(`tournamentsPage.${a.langkey}`))};return e.$$set=e=>{"lang"in e&&n(1,i=e.lang),"cellsetting"in e&&n(2,a=e.cellsetting)},e.$$.update=()=>{/*lang, cellsetting*/6&e.$$.dirty&&i&&a&&void yi(i)&&s(),/*lang, cellsetting*/6&e.$$.dirty&&i&&a&&s()},[o,i,a]}customElements.define("backbutton-cell",hs);class ps extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ms,fs,o,{lang:1,cellsetting:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","cellsetting"]}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),I()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}customElements.define("translate-text-cell",ps);const gs={Cell:{attributes:oi.observedAttributes,cellBox:oi},BackButtonCell:{attributes:hs.observedAttributes,cellBox:hs},ThumbnailCell:{attributes:ui.observedAttributes,cellBox:ui},TitleCell:{attributes:ns.observedAttributes,cellBox:ns},TitleTextCell:{attributes:gi.observedAttributes,cellBox:gi},TranslateTextCell:{attributes:ps.observedAttributes,cellBox:ps},StartDateCell:{attributes:us.observedAttributes,cellBox:us},ScoreCriteriaCell:{attributes:$i.observedAttributes,cellBox:$i},StatusTag:{attributes:Ii.observedAttributes,cellBox:Ii},TournamentSlot:{attributes:oi.observedAttributes,cellBox:oi},JoinButtonCell:{attributes:Fi.observedAttributes,cellBox:Fi},UserEnrollTag:{attributes:Wi.observedAttributes,cellBox:Wi},DurationCell:{attributes:ra.observedAttributes,cellBox:ra},SeeGamesLine:{attributes:oa.observedAttributes,cellBox:oa},PrizesCell:{attributes:Ea.observedAttributes,cellBox:Ea},GamesCell:{attributes:Aa.observedAttributes,cellBox:Aa},TermsAndConditionsCell:{attributes:za.observedAttributes,cellBox:za},DescriptionCell:{attributes:ja.observedAttributes,cellBox:ja},LeaderboardCell:{attributes:Qo.observedAttributes,cellBox:Qo}},bs={wm:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",///slot ?,
|
|
1600
1600
|
style:{height:"50px"},cols:[{id:"row-container",class:"RowContent",isCellContainer:!0,componentid:"Cell",subComponents:[{id:"thumbnailImg",componentid:"ThumbnailCell",class:"",subComponents:[{id:"status",componentid:"StatusTag",class:"Tag"},{id:"userEnrolled",componentid:"UserEnrollTag",class:"Tag"},{id:"startdate",componentid:"StartDateCell",class:"Tag",config:{shortstart:!0,showCalendarIcon:!0}}]},{id:"detailInfo",class:" DetailInfo",componentid:"Cell",isCellContainer:!0,subComponents:[{id:"title",componentid:"TitleCell",class:","},{id:"scoreCriteria",componentid:"ScoreCriteriaCell",class:" "},{id:"slot1",isSlotCell:!0,slotName:"GameClick",class:" "},{id:"seeGamesLink",componentid:"SeeGamesLine",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"thumbnailDuration",componentid:"DurationCell",class:"row-70-center"}]}]},{id:"prizeImg",componentid:"PrizesCell",class:" ",config:{expandAll:!1,listType:1,//1: col by col, 2: row by row
|
|
1601
1601
|
maxCol:3,rowPerCol:7,showrankasimage:!0}},{id:"GamesSliderTitle",componentid:"TranslateTextCell",config:{langkey:"participantingGames"},class:" GamesSliderTitle "},{id:"gamesLine",componentid:"GamesCell",class:" "},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RowContent",subComponents:[{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "}]},{id:"leaderboard",componentid:"LeaderboardCell",class:"",config:{firstrow:"true"}}]},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},default:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",style:{height:"50px"},cols:[{id:"topBackButton",componentid:"BackButtonCell"},{id:"left-thumbnail",class:"LeftSection",isCellContainer:!0,componentid:"Cell",subComponents:[{id:"thumbnailImg",componentid:"ThumbnailCell",class:" ",subComponents:[{id:"status",componentid:"StatusTag",class:"Tag"},{id:"userEnrolled",componentid:"UserEnrollTag",class:"Tag"}]},{id:"detailInfo",class:" DetailInfo",componentid:"Cell",isCellContainer:!0,subComponents:[{id:"title",componentid:"TitleCell",class:" "},{id:"startdate",componentid:"StartDateCell",class:" "},{id:"scoreCriteria",componentid:"ScoreCriteriaCell",class:" "},{id:"seeGamesLink",componentid:"SeeGamesLine",class:" "},{id:"prizeImg",componentid:"PrizesCell",class:" ",config:{expandAll:!1,//default
|
|
1602
1602
|
listType:1,//1: col by col, 2: row by row
|
|
1603
|
-
maxCol:3,rowPerCol:7}},{id:"thumbnailDuration",componentid:"DurationCell",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"gamesLine",componentid:"GamesCell",class:" "}]},{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions ",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RightSection",subComponents:[{id:"leaderboard",componentid:"LeaderboardCell"}]}]}]}},
|
|
1603
|
+
maxCol:3,rowPerCol:7}},{id:"thumbnailDuration",componentid:"DurationCell",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"gamesLine",componentid:"GamesCell",class:" "}]},{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions ",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RightSection",subComponents:[{id:"leaderboard",componentid:"LeaderboardCell"}]}]}]}},ys=(e,t)=>{console.log("Start parse layout...");let n=e.rows,r=e=>{e&&e.length&&e.forEach((e=>{if(e.class||(e.class=""),e.isSlotCell)return e.parts=`Slots ${e.componentid} ${e.id}`,void(e.cellClass=`Cells Slots ${e.class} ${e.id}`);e.isCellContainer?(e.parts=`BoxCells ${e.componentid} ${e.id}`,e.cellClass=`Cells BoxCells ${e.class} ${e.id}`):(e.parts=`BizCells ${e.componentid} ${e.id}`,e.cellClass=`Cells BizCells ${e.class} ${e.componentid} ${e.id}`,e.componentAttrs=((e,t)=>{let n=e.componentid,r={},i=gs[n].attributes||[];if(e.dataKey){let n=e.dataKey;
|
|
1604
1604
|
//init cell by source type
|
|
1605
1605
|
return"api"==n.source?// when component cell init by api data
|
|
1606
1606
|
r[n.textKey]=t.tournamentData[n.key]||null:"cms"==n.source&&(// fill data by cms data
|
|
1607
|
-
r[n.textKey]=t.cmsData[n.key]||null),r.titlekey=n.key,r}return i.forEach((e=>{let n=t.tournamentData||{},i=t.ctrlProperties||{};n.hasOwnProperty(e)?r[e]=n[e]:r[e]=i[e]||t.pageDefaultParams[e]})),r})(e,t),e.config&&(e.componentAttrs.cellsetting=e.config)),e.component=
|
|
1607
|
+
r[n.textKey]=t.cmsData[n.key]||null),r.titlekey=n.key,r}return i.forEach((e=>{let n=t.tournamentData||{},i=t.ctrlProperties||{};n.hasOwnProperty(e)?r[e]=n[e]:r[e]=i[e]||t.pageDefaultParams[e]})),r})(e,t),e.config&&(e.componentAttrs.cellsetting=e.config)),e.component=gs[e.componentid].cellBox,r(e.subComponents)}))};return n.forEach((e=>{r(e.cols)})),console.log("Start parse layout...Done"),e};
|
|
1608
1608
|
/*
|
|
1609
1609
|
* These data will be managed by CMS, config it in file for temporary
|
|
1610
1610
|
* Configed layout: wm/default
|
|
1611
|
-
* */class
|
|
1612
|
-
/* src/CasinoTournamentsCustomizePageController.svelte generated by Svelte v3.59.2 */function
|
|
1611
|
+
* */class ws{transfer(e){return{id:e.id,tourid:e.id,title:e.nameOrTitle||"",thumbnail:e.thumbnail,state:e.state,status:e.state,startdate:e.startTime,enddate:e.endTime,scorecriteria:e.scoreCriteria,minbetcount:e.minBetCount,userenrolled:e.playerEnrolled||!1,gameurl:e.termsUrl||"#",prizes:e.prizes,games:e.games,description:e.description,termsurl:e.termsUrl,bonuscode:e.wallets&&e.wallets.length>=1?e.wallets[0].code:null}}}const Cs={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat"}},tr:{tournamentsPage:{loading:"Yükleniyor lütfen bekleyin ...",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Bitti",mostRounds:"Çoğu Tur",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"Dahil edilen sporları görün",forwardMyTournaments:"Turnuvalarımı Gör",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"sınırsız"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited"}},es:{tournamentsPage:{loading:"Cargando…",back:"Anterior",previous:"Previo",next:"Siguiente",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado",mostRounds:"Más rondas",activePeriod:"Desde {startdate} Hasta {enddate}",forwardCasino:"Ver los Juegos de Casino incluidos",forwardSports:"Ver los Deportes incluidos",forwardMyTournaments:"Ver mis Torneos",leaderBoard:"Tabla de posiciones",rules:"Reglas",games:"Juegos",unlimited:"ilimitado"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado"}}};
|
|
1612
|
+
/* src/CasinoTournamentsCustomizePageController.svelte generated by Svelte v3.59.2 */function vs(e,t,n){const r=e.slice();return r[66]=t[n],r}function Ts(e,t,n){const r=e.slice();return r[69]=t[n],r}function xs(e,t,n){const r=e.slice();return r[72]=t[n],r}function _s(e,t,n){const r=e.slice();return r[75]=t[n],r}
|
|
1613
1613
|
// (330:0) {#if isLoading}
|
|
1614
|
-
function
|
|
1614
|
+
function ks(e){let t,n,r=/*$_*/e[6]("tournamentsPage.loading")+"";return{c(){t=y("p"),n=C(r),_(t,"class","LoadingMessage"),_(t,"part","LoadingMessage")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/64&t[0]&&r!==(r=/*$_*/e[6]("tournamentsPage.loading")+"")&&k(n,r)},d(e){e&&g(t)}}}
|
|
1615
1615
|
// (337:2) {#if errorMessage}
|
|
1616
|
-
function
|
|
1616
|
+
function Ps(e){let t;return{c(){t=C(/*errorMessage*/e[4])},m(e,n){p(e,t,n)},p(e,n){/*errorMessage*/16&n[0]&&k(t,/*errorMessage*/e[4])},d(e){e&&g(t)}}}
|
|
1617
1617
|
// (343:12) {#if !col.isCellContainer}
|
|
1618
|
-
function
|
|
1618
|
+
function Ss(e){let n,r,i;const a=[/*col*/e[69].componentAttrs,{attrs:/*col*/e[69].componentAttrs}];var o=/*col*/e[69].component;function s(e){let n={};for(let e=0;e<a.length;e+=1)n=t(n,a[e]);return{props:n}}return o&&(n=$(o,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(a,[X(/*col*/e[69].componentAttrs),{attrs:/*col*/e[69].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&o!==(o=/*col*/e[69].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}o?(n=$(o,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else o&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
|
|
1619
1619
|
// (346:12) {#if col.isSlotCell}
|
|
1620
|
-
function
|
|
1620
|
+
function Es(e){let t,n,r,i;return{c(){t=y("slot"),_(t,"part",n=/*col*/e[69].slotName),_(t,"class",r=/*col*/e[69].slotName),_(t,"name",i=/*col*/e[69].slotName)},m(e,n){p(e,t,n)},p(e,a){/*opLayout*/4&a[0]&&n!==(n=/*col*/e[69].slotName)&&_(t,"part",n),/*opLayout*/4&a[0]&&r!==(r=/*col*/e[69].slotName)&&_(t,"class",r),/*opLayout*/4&a[0]&&i!==(i=/*col*/e[69].slotName)&&_(t,"name",i)},d(e){e&&g(t)}}}
|
|
1621
1621
|
// (349:12) {#if col.subComponents && col.subComponents.length > 0}
|
|
1622
|
-
function
|
|
1622
|
+
function $s(e){let t,n,r=/*col*/e[69].subComponents,i=[];for(let t=0;t<r.length;t+=1)i[t]=zs(xs(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let o;for(r=/*col*/e[69].subComponents,o=0;o<r.length;o+=1){const a=xs(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=zs(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
|
|
1623
1623
|
// (352:18) {#if !subCol.isCellContainer}
|
|
1624
|
-
function
|
|
1624
|
+
function Ls(e){let n,r,i;const a=[
|
|
1625
1625
|
/*subCol*/e[72].componentAttrs,{attrs:/*subCol*/e[72].componentAttrs}];var o=/*subCol*/e[72].component;function s(e){let n={};for(let e=0;e<a.length;e+=1)n=t(n,a[e]);return{props:n}}return o&&(n=$(o,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(a,[X(/*subCol*/e[72].componentAttrs),{attrs:/*subCol*/e[72].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&o!==(o=/*subCol*/e[72].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}o?(n=$(o,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else o&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
|
|
1626
1626
|
// (355:18) {#if subCol.isSlotCell}
|
|
1627
|
-
function
|
|
1627
|
+
function Ds(e){let t,n,r,i;return{c(){t=y("slot"),_(t,"part",n=/*subCol*/e[72].slotName),_(t,"class",r=/*subCol*/e[72].slotName),_(t,"name",i=/*subCol*/e[72].slotName)},m(e,n){p(e,t,n)},p(e,a){/*opLayout*/4&a[0]&&n!==(n=/*subCol*/e[72].slotName)&&_(t,"part",n),/*opLayout*/4&a[0]&&r!==(r=/*subCol*/e[72].slotName)&&_(t,"class",r),/*opLayout*/4&a[0]&&i!==(i=/*subCol*/e[72].slotName)&&_(t,"name",i)},d(e){e&&g(t)}}}
|
|
1628
1628
|
// (358:18) {#if subCol.subComponents && subCol.subComponents.length > 0}
|
|
1629
|
-
function
|
|
1629
|
+
function Rs(e){let t,n,r=/*subCol*/e[72].subComponents,i=[];for(let t=0;t<r.length;t+=1)i[t]=Bs(_s(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let o;for(r=/*subCol*/e[72].subComponents,o=0;o<r.length;o+=1){const a=_s(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=Bs(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
|
|
1630
1630
|
// (363:24) {:else }
|
|
1631
1631
|
function Ms(e){let n,r,i;const a=[
|
|
1632
1632
|
/*grandCol*/e[75].componentAttrs,{attrs:/*grandCol*/e[75].componentAttrs}];var o=/*grandCol*/e[75].component;function s(e){let n={};for(let e=0;e<a.length;e+=1)n=t(n,a[e]);return{props:n}}return o&&(n=$(o,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(a,[X(/*grandCol*/e[75].componentAttrs),{attrs:/*grandCol*/e[75].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&o!==(o=/*grandCol*/e[75].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}o?(n=$(o,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else o&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
|
|
1633
1633
|
// (361:24) {#if grandCol.isSlotCell}
|
|
1634
|
-
function
|
|
1634
|
+
function As(t){let n,r,i,a;return{c(){n=y("slot"),_(n,"part",r=/*grandCol*/t[75].slotName),_(n,"class",i=/*grandCol*/t[75].slotName),_(n,"name",a=/*grandCol*/t[75].slotName)},m(e,t){p(e,n,t)},p(e,t){/*opLayout*/4&t[0]&&r!==(r=/*grandCol*/e[75].slotName)&&_(n,"part",r),/*opLayout*/4&t[0]&&i!==(i=/*grandCol*/e[75].slotName)&&_(n,"class",i),/*opLayout*/4&t[0]&&a!==(a=/*grandCol*/e[75].slotName)&&_(n,"name",a)},i:e,o:e,d(e){e&&g(n)}}}
|
|
1635
1635
|
// (359:20) {#each subCol.subComponents as grandCol}
|
|
1636
|
-
function
|
|
1637
|
-
return e[75].isSlotCell?0:1}return n=
|
|
1636
|
+
function Bs(e){let t,n,r,i,o,s,l,u,c,d;const h=[As,Ms],b=[];function w(e,t){/*grandCol*/
|
|
1637
|
+
return e[75].isSlotCell?0:1}return n=w(e),r=b[n]=h[n](e),{c(){t=y("div"),r.c(),i=v(),_(t,"class",o="Cell3s "+/*grandCol*/e[75].cellClass),_(t,"part",s=/*grandCol*/e[75].parts+" Cell3s")},m(r,a){p(r,t,a),b[n].m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*grandCol*/e[75])),c=!0)},p(c,d){let f=n;n=w(e=c),n===f?b[n].p(e,d):(W(),Z(b[f],1,1,(()=>{b[f]=null})),q(),r=b[n],r?r.p(e,d):(r=b[n]=h[n](e),r.c()),J(r,1),r.m(t,i)),(!u||/*opLayout*/4&d[0]&&o!==(o="Cell3s "+/*grandCol*/e[75].cellClass))&&_(t,"class",o),(!u||/*opLayout*/4&d[0]&&s!==(s=/*grandCol*/e[75].parts+" Cell3s"))&&_(t,"part",s),l&&a(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*grandCol*/e[75])},i(e){u||(J(r),u=!0)},o(e){Z(r),u=!1},d(e){e&&g(t),b[n].d(),c=!1,d()}}}
|
|
1638
1638
|
// (350:14) {#each col.subComponents as subCol}
|
|
1639
|
-
function
|
|
1639
|
+
function zs(e){let t,n,r,i,o,s,l,u,c,d,h=!/*subCol*/e[72].isCellContainer&&Ls(e),b=/*subCol*/e[72].isSlotCell&&Ds(e),w=/*subCol*/e[72].subComponents&&/*subCol*/e[72].subComponents.length>0&&Rs(e);return{c(){t=y("div"),h&&h.c(),n=v(),b&&b.c(),r=v(),w&&w.c(),i=v(),_(t,"class",o="Cell2s "+/*subCol*/e[72].cellClass),_(t,"part",s=/*subCol*/e[72].parts+" Cell2s")},m(a,o){p(a,t,o),h&&h.m(t,null),m(t,n),b&&b.m(t,null),m(t,r),w&&w.m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*subCol*/e[72])),c=!0)},p(c,d){/*subCol*/(e=c)[72].isCellContainer?h&&(W(),Z(h,1,1,(()=>{h=null})),q()):h?(h.p(e,d),/*opLayout*/4&d[0]&&J(h,1)):(h=Ls(e),h.c(),J(h,1),h.m(t,n)),/*subCol*/e[72].isSlotCell?b?b.p(e,d):(b=Ds(e),b.c(),b.m(t,r)):b&&(b.d(1),b=null),/*subCol*/e[72].subComponents&&/*subCol*/e[72].subComponents.length>0?w?(w.p(e,d),/*opLayout*/4&d[0]&&J(w,1)):(w=Rs(e),w.c(),J(w,1),w.m(t,i)):w&&(W(),Z(w,1,1,(()=>{w=null})),q()),(!u||/*opLayout*/4&d[0]&&o!==(o="Cell2s "+/*subCol*/e[72].cellClass))&&_(t,"class",o),(!u||/*opLayout*/4&d[0]&&s!==(s=/*subCol*/e[72].parts+" Cell2s"))&&_(t,"part",s),l&&a(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*subCol*/e[72])},i(e){u||(J(h),J(w),u=!0)},o(e){Z(h),Z(w),u=!1},d(e){e&&g(t),h&&h.d(),b&&b.d(),w&&w.d(),c=!1,d()}}}
|
|
1640
1640
|
// (341:6) {#each row.cols as col}
|
|
1641
|
-
function
|
|
1641
|
+
function Os(e){let t,n,r,i,o,s,l,u,c,d,h=!/*col*/e[69].isCellContainer&&Ss(e),b=/*col*/e[69].isSlotCell&&Es(e),w=/*col*/e[69].subComponents&&/*col*/e[69].subComponents.length>0&&$s(e);return{c(){t=y("div"),h&&h.c(),n=v(),b&&b.c(),r=v(),w&&w.c(),i=v(),_(t,"class",o="Cell1s "+/*col*/e[69].cellClass),_(t,"part",s=/*col*/e[69].parts)},m(a,o){p(a,t,o),h&&h.m(t,null),m(t,n),b&&b.m(t,null),m(t,r),w&&w.m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*col*/e[69])),c=!0)},p(c,d){/*col*/(e=c)[69].isCellContainer?h&&(W(),Z(h,1,1,(()=>{h=null})),q()):h?(h.p(e,d),/*opLayout*/4&d[0]&&J(h,1)):(h=Ss(e),h.c(),J(h,1),h.m(t,n)),/*col*/e[69].isSlotCell?b?b.p(e,d):(b=Es(e),b.c(),b.m(t,r)):b&&(b.d(1),b=null),/*col*/e[69].subComponents&&/*col*/e[69].subComponents.length>0?w?(w.p(e,d),/*opLayout*/4&d[0]&&J(w,1)):(w=$s(e),w.c(),J(w,1),w.m(t,i)):w&&(W(),Z(w,1,1,(()=>{w=null})),q()),(!u||/*opLayout*/4&d[0]&&o!==(o="Cell1s "+/*col*/e[69].cellClass))&&_(t,"class",o),(!u||/*opLayout*/4&d[0]&&s!==(s=/*col*/e[69].parts))&&_(t,"part",s),l&&a(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*col*/e[69])},i(e){u||(J(h),J(w),u=!0)},o(e){Z(h),Z(w),u=!1},d(e){e&&g(t),h&&h.d(),b&&b.d(),w&&w.d(),c=!1,d()}}}
|
|
1642
1642
|
// (340:4) {#each opLayout.rows as row }
|
|
1643
|
-
function
|
|
1644
|
-
/*div_binding*/t[38](r),s=!0},p(e,t){if(/*isLoading*/e[5]?l?l.p(e,t):(l=
|
|
1645
|
-
/*div_binding*/t[38](null)}}}function
|
|
1643
|
+
function Fs(e){let t,n,r=/*row*/e[66].cols,i=[];for(let t=0;t<r.length;t+=1)i[t]=Os(Ts(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let o;for(r=/*row*/e[66].cols,o=0;o<r.length;o+=1){const a=Ts(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=Os(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}function Ns(t){let n,r,i,a,o,s,l=/*isLoading*/t[5]&&ks(t),u=/*errorMessage*/t[4]&&Ps(t),c=/*opLayout*/t[2].rows,d=[];for(let e=0;e<c.length;e+=1)d[e]=Fs(vs(t,c,e));const h=e=>Z(d[e],1,1,(()=>{d[e]=null}));return{c(){l&&l.c(),n=v(),r=y("div"),u&&u.c(),i=v();for(let e=0;e<d.length;e+=1)d[e].c();this.c=e,P(r,"display",/*isLoading*/t[5]?"none":"flex"),_(r,"class",a="casino-tournaments-customize-page-controller layout-"+/*layoutid*/t[0]+" "+(/*mobileView*/t[3]?"MobileContainer":"")),_(r,"part",o="casino-tournaments-customize-page-controller layout-"+/*layoutid*/t[0])},m(e,a){l&&l.m(e,a),p(e,n,a),p(e,r,a),u&&u.m(r,null),m(r,i);for(let e=0;e<d.length;e+=1)d[e]&&d[e].m(r,null);
|
|
1644
|
+
/*div_binding*/t[38](r),s=!0},p(e,t){if(/*isLoading*/e[5]?l?l.p(e,t):(l=ks(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null),/*errorMessage*/e[4]?u?u.p(e,t):(u=Ps(e),u.c(),u.m(r,i)):u&&(u.d(1),u=null),/*opLayout*/4&t[0]){let n;for(c=/*opLayout*/e[2].rows,n=0;n<c.length;n+=1){const i=vs(e,c,n);d[n]?(d[n].p(i,t),J(d[n],1)):(d[n]=Fs(i),d[n].c(),J(d[n],1),d[n].m(r,null))}for(W(),n=c.length;n<d.length;n+=1)h(n);q()}(!s||/*isLoading*/32&t[0])&&P(r,"display",/*isLoading*/e[5]?"none":"flex"),(!s||/*layoutid, mobileView*/9&t[0]&&a!==(a="casino-tournaments-customize-page-controller layout-"+/*layoutid*/e[0]+" "+(/*mobileView*/e[3]?"MobileContainer":"")))&&_(r,"class",a),(!s||/*layoutid*/1&t[0]&&o!==(o="casino-tournaments-customize-page-controller layout-"+/*layoutid*/e[0]))&&_(r,"part",o)},i(e){if(!s){for(let e=0;e<c.length;e+=1)J(d[e]);s=!0}},o(e){d=d.filter(Boolean);for(let e=0;e<d.length;e+=1)Z(d[e]);s=!1},d(e){l&&l.d(e),e&&g(n),e&&g(r),u&&u.d(),b(d,e),
|
|
1645
|
+
/*div_binding*/t[38](null)}}}function Hs(e,n,r){let i;d(e,Yn,(e=>r(6,i=e)));let a,{layoutid:o="default"}=n,{session:s=""}=n,{userid:l=""}=n,{tourid:u=""}=n,{endpoint:c=""}=n,{cmsendpoint:f=""}=n,{lang:m="en"}=n,{navigationbackbutton:p="Default"}=n,{currency:g="EUR"}=n,{tablelimit:b="30"}=n,{namemask:y=""}=n,{showunqualifiedplayer:w="true"}=n,{mobiletablelimit:C="15"}=n,{updatetableintime:v="true"}=n,{viewmode:T=""}=n,{minscore:x=""}=n,{scorefractiondigit:_="2"}=n,{loginevent:k=""}=n,{registerevent:P=""}=n,{loginurl:S=""}=n,{registerurl:E=""}=n,{limit:$=30}=n,{offset:L=0}=n,{leaderboardoffset:M="0"}=n,{leaderboardlimit:B="15"}=n,{keepbrowsercontext:z="false"}=n,{showrankasimage:O="false"}=n,{clientstyling:F=""}=n,{clientstylingurl:N=""}=n,{translationurl:H=""}=n;let U,I,j,Y=window.navigator.userAgent,G=!1,V={pageDefaultParams:{lang:"en",layoutid:"default",navigationbackbutton:"Default",currency:"EUR",tablelimit:"30",showunqualifiedplayer:"true",mobiletablelimit:"15",updatetableintime:"true",scorefractiondigit:"2",leaderboardoffset:"0",leaderboardlimit:"15",keepbrowsercontext:"false",showenrolled:"true",firstrow:"true"},cmsData:{},ctrlProperties:null,tournamentData:null},W=new ws,q={rows:[]},J=!1,Z=!0;Object.keys(Cs).forEach((e=>{Gn(e,Cs[e])})),function({withLocale:e,translations:t}){_n.subscribe((n=>{null==n&&(Vt.set(t),_n.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1646
1646
|
/*dictionary.set(translations);
|
|
1647
|
-
locale.set(_locale);*/}({withLocale:m,translations:{}});const K=()=>{fetch(`${f}/${u}`).then((e=>e?e.json():{details:[{title:"Description",description:"DescriptionText"}]})).then((e=>{e&&e.details&&(V.cmsData.tournamentdescription=e.details),(()=>{let e=q.rows,t=e=>{e&&e.length&&e.forEach((e=>{if(!e.isCellContainer){let t=e.dataKey;if(t&&"cms"==t.source){let n=e.componentAttrs||{};if(!n)return;n[t.textKey]=V.cmsData[t.key]||null}}t(e.subComponents)}))};e.forEach((e=>{t(e.cols)}))})(),r(2,q=Object.assign({},q))}))},X=(e,t)=>{let n=e.rows,r=e=>{e&&e.length&&e.forEach((e=>{e.isCellContainer||((e,t)=>{let n=e.componentAttrs||{};n&&Object.keys(n).forEach((e=>{t.hasOwnProperty(e)&&(n[e]=t[e])}))})(e,t),r(e.subComponents)}))};n.forEach((e=>{r(e.cols)}))},Q=e=>{if(e.data)try{let t=JSON.parse(e.data);"TournamentUpdate"==t.messageType&&(window.postMessage({type:"UpdateTournamentView",tournamentData:t.item},window.location.href),ee(t.item))}catch(e){console.error(e)}},ee=e=>{I=W.transfer(e),V.tournamentData=I,I.lang=m,r(2,q=bs
|
|
1647
|
+
locale.set(_locale);*/}({withLocale:m,translations:{}});const K=()=>{fetch(`${f}/${u}`).then((e=>e?e.json():{details:[{title:"Description",description:"DescriptionText"}]})).then((e=>{e&&e.details&&(V.cmsData.tournamentdescription=e.details),(()=>{let e=q.rows,t=e=>{e&&e.length&&e.forEach((e=>{if(!e.isCellContainer){let t=e.dataKey;if(t&&"cms"==t.source){let n=e.componentAttrs||{};if(!n)return;n[t.textKey]=V.cmsData[t.key]||null}}t(e.subComponents)}))};e.forEach((e=>{t(e.cols)}))})(),r(2,q=Object.assign({},q))}))},X=(e,t)=>{let n=e.rows,r=e=>{e&&e.length&&e.forEach((e=>{e.isCellContainer||((e,t)=>{let n=e.componentAttrs||{};n&&Object.keys(n).forEach((e=>{t.hasOwnProperty(e)&&(n[e]=t[e])}))})(e,t),r(e.subComponents)}))};n.forEach((e=>{r(e.cols)}))},Q=e=>{if(e.data)try{let t=JSON.parse(e.data);"TournamentUpdate"==t.messageType&&(window.postMessage({type:"UpdateTournamentView",tournamentData:t.item},window.location.href),ee(t.item))}catch(e){console.error(e)}},ee=e=>{I=W.transfer(e),V.tournamentData=I,I.lang=m,r(2,q=ys(bs[o]||bs.default,V))},te=(e,t)=>{let n=new URL(e+`/v1/tournaments/${t}`),i=new Headers({"X-SessionId":s});n.searchParams.append("platform",ni(Y)),n.searchParams.append("language",m);let a=n.searchParams.toString(),o={method:"GET",headers:i};fetch(n.href,o).then((e=>e.json())).then((e=>{e.success?(r(4,j=null),e.item.id=u,ee(e.item),I.lang=m,X(q,I),r(2,q=Object.assign({},q)),r(5,Z=!1),((e,t)=>{let n=`${c}/v1/tournaments/updates?filter=id=${e}&${t}`;U&&(U.removeEventListener("message",Q),U.close()),U=new ri.EventSourcePolyfill(n,{headers:{accept:"text/event-stream","X-SessionId":s}}),U.addEventListener("message",Q)})(u,a)):r(4,j=`Faild to load data, details: ${e.errorMessage}`)}))},ne=D(),re=(e,t,n)=>{if(!q.rows||0==q.rows.length)return;let i=q.rows[0].cols;e.forEach((e=>{let r,a=t=>{t.forEach(((t,n)=>r||(t.componentid==e?(r=t,r):t.subComponents&&t.subComponents.length>0?a(t.subComponents):void 0)))};a(i);let o=ne.$$.props,s=ne.$$.ctx;r&&t.forEach((e=>{if(n)return void(r.componentAttrs[e]=V.tournamentData[e]);let t=o[e],i=s[t];V.ctrlProperties[e]=i,r.componentAttrs[e]=i}))})),r(2,q=Object.assign({},q))},ie=e=>{e.data&&"TournamentUserEnrolled"==e.data.type&&(V.tournamentData.userenrolled=e.data.userenrolled)};return R((()=>(r(0,o=bs[o]?o:"default"),r(3,G=ti(Y)),setTimeout((()=>{V.ctrlProperties=n,r(37,J=!0)}),300),window.addEventListener("message",ie),()=>{window.removeEventListener("message",ie)}))),e.$$set=e=>{r(65,n=t(t({},n),h(e))),"layoutid"in e&&r(0,o=e.layoutid),"session"in e&&r(8,s=e.session),"userid"in e&&r(9,l=e.userid),"tourid"in e&&r(10,u=e.tourid),"endpoint"in e&&r(11,c=e.endpoint),"cmsendpoint"in e&&r(12,f=e.cmsendpoint),"lang"in e&&r(13,m=e.lang),"navigationbackbutton"in e&&r(14,p=e.navigationbackbutton),"currency"in e&&r(15,g=e.currency),"tablelimit"in e&&r(16,b=e.tablelimit),"namemask"in e&&r(17,y=e.namemask),"showunqualifiedplayer"in e&&r(18,w=e.showunqualifiedplayer),"mobiletablelimit"in e&&r(19,C=e.mobiletablelimit),"updatetableintime"in e&&r(20,v=e.updatetableintime),"viewmode"in e&&r(21,T=e.viewmode),"minscore"in e&&r(22,x=e.minscore),"scorefractiondigit"in e&&r(23,_=e.scorefractiondigit),"loginevent"in e&&r(24,k=e.loginevent),"registerevent"in e&&r(25,P=e.registerevent),"loginurl"in e&&r(26,S=e.loginurl),"registerurl"in e&&r(27,E=e.registerurl),"limit"in e&&r(28,$=e.limit),"offset"in e&&r(29,L=e.offset),"leaderboardoffset"in e&&r(30,M=e.leaderboardoffset),"leaderboardlimit"in e&&r(31,B=e.leaderboardlimit),"keepbrowsercontext"in e&&r(32,z=e.keepbrowsercontext),"showrankasimage"in e&&r(33,O=e.showrankasimage),"clientstyling"in e&&r(34,F=e.clientstyling),"clientstylingurl"in e&&r(35,N=e.clientstylingurl),"translationurl"in e&&r(36,H=e.translationurl)},e.$$.update=()=>{/*session*/256&e.$$.dirty[0]&&s&&(
|
|
1648
1648
|
//update params in [props]
|
|
1649
|
-
r(65,n.session=s,n),r(65,n.userid=l,n),r(65,n.tourid=u,n),r(65,n.lang=m,n)),/*endpoint, session, userid, lang, tourid*/12032&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&c&&s&&l&&m&&u&&te(c,u),/*session, opLayout, layoutid, userid*/773&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&s&&q[o]&&l&&setTimeout((()=>{re(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])})),/*cmsendpoint, tourid*/5120&e.$$.dirty[0]&&f&&u&&K(),/*showunqualifiedplayer, scorefractiondigit, tablelimit*/8716288&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&C&&_&&b&&re(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),/*layoutid*/1&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&o&&(I?(r(0,o=gs[o]?o:"default"),r(2,q=bs(gs[o],V))):console.log("tournamentData undefined")),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstyling*/8&e.$$.dirty[1]&&a&&F&&(()=>{let e=document.createElement("style");e.innerHTML=F,a.appendChild(e)})(),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstylingurl*/16&e.$$.dirty[1]&&a&&N&&(()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*translationurl*/32&e.$$.dirty[1]&&H&&fetch(H).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Gn(t,e[t])}))})).catch((e=>{console.log(e)}))},n=h(n),[o,a,q,G,j,Z,i,(e,t)=>{t.onLoad&&t.onLoad()},s,l,u,c,f,m,p,g,b,y,C,w,v,T,x,_,k,P,S,E,$,L,R,B,z,O,F,N,H,J,function(e){A[e?"unshift":"push"]((()=>{a=e,r(1,a)}))}]}class Hs extends V{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-size:12px;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}@container prizes-cell (max-width: 500px){.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{width:100%;flex:100%}}@container prizes-cell (width > 500px) and (width < 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:47%;max-width:calc(50% - 8px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+2){margin-right:0}}@container prizes-cell (width >= 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:31.5%;max-width:calc(33% - 2px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+2){margin:3px}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+3){margin-right:0;margin-left:6px}}.casino-tournaments-customize-page-controller{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;padding-top:15px}.MobileContainer{flex-wrap:nowrap;flex-direction:column;align-items:initial}.MobileContainer .Cells.RowContent{display:flex;flex-direction:column;width:100%}.row-70-center{margin:auto;width:70%}.Cells.RowContent{display:flex;flex-direction:row;width:100%}.BackButtonCell .TopButtons{display:inline-flex;flex-direction:column;font-size:10px}.BackButtonCell .BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButtonCell .BackButton .ButtonText{font-size:24px}.DurationCell .Remaining{text-align:center}.TitleCell .Title{font-size:18px;padding-bottom:10px}.SeeGamesLine .GamesAnchor{text-decoration:underline}.JoinButtonCell{display:flex;justify-content:center;gap:5px;flex-direction:column;align-items:center}.JoinButtonCell .ErrorText{color:red}.JoinButtonCell .spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}.JoinButtonCell .spinner .circle{fill:transparent;stroke:var(--emfe-w-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}}.Tag{position:absolute;top:15px;font-size:12px}.ThumbnailCell{position:relative}.ThumbnailCell .CardImg{height:300px;width:100%;background-image:url(\"https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png\");background-repeat:no-repeat;background-position:center;background-size:cover}.ThumbnailCell .CardImg.CardImgFinished{filter:grayscale(1)}.DetailInfo{display:flex;flex-direction:column;padding:8px;min-height:200px;border-radius:8px}.DetailInfo .TitleTextCell{font-size:19px}.PrizesCell .PrizeRank{display:flex;padding-right:3px}.PrizesCell .Prize .PrizeText{display:flex}.ScoreCriteriaCell{font-size:11px}.TournamentDuration .TournamentDates{display:flex;justify-content:space-between}.TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .ProgressBar{height:8px;background:var(--emfe-w-color-white, #FFFFFF)}.TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentDuration .ProgressBarFill{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-gray-300, #58586B);height:8px}.TournamentDuration .Remaining,.TournamentDuration .Finished{text-align:right;text-transform:uppercase}.TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.GamesCell{width:100%}.GamesCell .TournamentsGamesSlider{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;justify-content:center;align-items:center}.GamesCell .SliderNavButton{background:var(--emfe-w-color-contrast, #07072A);border:0px;width:25px;cursor:pointer}.GamesCell .SliderNavButton.disabled{color:var(--emfe-w-color-gray-150, #828282)}.GamesCell .main{width:calc(100% - 50px);overflow:hidden}.GamesCell .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.GamesCell .item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emfe-w-color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.GamesCell .item .GameThumbnail{height:100%}.GamesCell .PlayNowButton{position:absolute;background:var(--emfe-w-color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesCell .itemHover{opacity:1}.GamesCell .items .item:first-child{margin-left:0}.GamesCell .items .item:last-child{margin-right:0}.TitleTextCell .Title,.DescriptionCell .Title{text-transform:uppercase}.TitleTextCell .DetailsCard,.DescriptionCell .DetailsCard{line-height:18px;border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.TitleTextCell .DetailsTitle,.DescriptionCell .DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.TitleTextCell .DetailsContent,.DescriptionCell .DetailsContent{overflow:auto;height:150px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.TitleTextCell .sc::-webkit-scrollbar,.DescriptionCell .sc::-webkit-scrollbar{width:5px;height:5px}.TitleTextCell .sc::-webkit-scrollbar-track,.DescriptionCell .sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.TitleTextCell .sc::-webkit-scrollbar-thumb,.DescriptionCell .sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}.LeaderboardCell .LeaderboardContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;width:100%;height:52px;align-items:center;justify-content:space-between;gap:20px}.LeaderboardCell .Leaderboard{width:100%;height:44px;display:flex;align-items:center;padding-left:20px}.LeaderboardCell .TableContent{width:100%;font-size:14px;margin-bottom:2px;border-bottom:solid 1px var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TableContent.TableContentFirstRow{box-sizing:border-box;border:2px solid var(--emfe-w-color-green, #48952a)}.LeaderboardCell .TableUser{background:var(--emfe-w-table-bg, #282828);height:44px;display:flex;align-items:center;border-bottom:solid 1px var(--emfe-w-table-border, #3a3a3a)}.LeaderboardCell .TableUser.TableHeadRow{background:var(--emfe-w-table-header-bg, #1c1c1c);color:var(--emfe-w-color-white, #fff)}.LeaderboardCell .TableUser.CurrentUserRow{box-sizing:border-box;background:var(--emfe-w-table-currentuser-bg, #533a34)}.LeaderboardCell .TableUser.UnqualifiedRow{border-bottom:0}.LeaderboardCell .TableUserTooltips{display:flex;gap:4px;flex-direction:row;width:100%;padding:10px 0;background:var(--emfe-w-table-currentuser-bg, #533a34);font-size:0.8rem;line-height:1.2}.LeaderboardCell .TooltipsRow{border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-top:0}.LeaderboardCell .TooltipsRow .ExclamationMark{fill:var(--emfe-w-color-exclamation, #fecf00)}.LeaderboardCell .TooltipsRow .LeftTableTd{padding:0 0 10px 0;font-size:12px;color:var(--emfe-w-color-tooltips, #fecf00)}.LeaderboardCell .TableCell{padding:10px;flex:2;text-align:center}.LeaderboardCell .TableRank{flex:1 50px}.LeaderboardCell .TablePlayer{flex:5}.LeaderboardCell .TablePrize{flex:5}.LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.LeaderboardCell .ExclamationMark{vertical-align:text-top;width:14px;height:14px;fill:var(--emfe-w-color-exclamation, #fecf00)}.LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.LeaderboardCell .TournamentsTable{width:100%;display:flex;justify-content:space-between;text-align:center;margin-top:10px}.LeaderboardCell .LeftTable{width:100%;border-collapse:collapse}.LeaderboardCell .RightButton{cursor:pointer;background:var(--emfe-w-color-contrast, #07072A);width:59px;height:70px;border:2px solid var(--emfe-w-color-contrast, #0D0D4D)}.LeaderboardCell .RightButton.MobileClass{height:50px}.LeaderboardCell .FirstRow{outline:2px solid #1B9800}.LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.LeaderboardCell .Show{display:inline-flex}.LeaderboardCell .Hidden{display:none}.LeaderboardCell .svg.Arrow.Up,.LeaderboardCell .svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite;width:14px;height:14px}.LeaderboardCell .svg.Arrow.Up.Show,.LeaderboardCell .svg.Arrow.Down.Show{display:inline-flex}.LeaderboardCell .svg.Arrow.Up.Hidden,.LeaderboardCell .svg.Arrow.Down.Hidden{display:none}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}.LeaderboardCell .TournamentsTable .LeftTable{width:100%;border-spacing:0;position:relative;overflow:auto;margin-bottom:0.5rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{padding:0.8rem 1.25rem;height:30px;top:0;color:var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%}.LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.LeaderboardCell .flex{display:flex;align-items:center}.LeaderboardCell .CollapseButton{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.layout-default.MobileContainer .Cells.LeftSection{width:auto}.layout-default .Cells{line-height:18px}.layout-default .Cells.LeftSection{margin:10px;width:29%;border:solid 1px #30313c}.layout-default .BackButtonCell{width:100%}.layout-default .RightSection{flex:auto}.layout-default .Cells.ThumbnailCell{margin:0px}.layout-default .DetailInfo{padding:12px;height:auto}.layout-default .Tag{top:20px;min-height:30px}.layout-default .Tag .TagContent{padding:7px 10px;text-transform:uppercase;font-size:12px;background:var(--emfe-w-color-black, #000000)}.layout-default .SeeGamesLine .GamesAnchor{color:var(--emfe-w-color-green, #48952a)}.layout-default .StatusTag{right:20px}.layout-default .UserEnrollTag{left:15px}.layout-default .UserEnrollTag .Enrolled{color:var(--emfe-w-color-gray-150, #828282)}.layout-default .TournamentDuration{font-size:10px}.layout-default .StartDateCell .Date{text-transform:uppercase}.layout-default .PrizesCell{padding:10px 0px 0px}.layout-default .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-default .PrizesCell .PrizesTitle{padding-top:5px}.layout-default .PrizesCell .Prizes,.layout-default .PrizesCell .ColPrizes{flex-wrap:wrap;display:flex;gap:10px;width:auto}.layout-default .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.layout-default .PrizesCell .Prize .PrizeText{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .Prize0 .PrizeRank,.layout-default .Prize1 .PrizeRank,.layout-default .Prize2 .PrizeRank{color:#FECF00}.layout-default .ScoreCriteriaCell .ScoreCriteria{font-size:12px}.layout-default .DurationCell{margin-bottom:25px;margin-top:0px}.layout-default .JoinButtonCell{margin-bottom:20px}.layout-default .JoinButtonCell .TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0px;width:100%}.layout-default .JoinButtonCell .LoginButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.layout-default .JoinButtonCell .LoginButton:hover{opacity:0.7}.layout-default .JoinButtonCell .RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .RegisterButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsLargeButton:hover{opacity:0.7}.layout-default .JoinButtonCell .EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.layout-default .JoinButtonCell .JoinButton{background:var(--emfe-w-color-green, #48952a);width:100%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.layout-default .JoinButtonCell .JoinButton:hover{opacity:0.7}.layout-default .JoinButtonCell .JoinButton:disabled{cursor:default;opacity:0.7}.layout-default .JoinButtonCell .JoinButtonFullSize{width:100%}.layout-default .JoinButtonCell .ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.layout-default .LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.layout-default .LeaderboardCell .TournamentsTable .LeftTableTh{padding:1.5rem 1.25rem;height:70px;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);top:0}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border-bottom:0px none}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;padding:0.95rem;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:column}.layout-wm.MobileContainer .Cells.RowContent{flex-direction:column;width:100%}.layout-wm.MobileContainer .StartDateCell{left:35%}.layout-wm.MobileContainer .PrizesCell .Prizes{margin-bottom:8px}.layout-wm.MobileContainer .PrizesCell .Prizes .ColPrizes{margin:0px}.layout-wm.MobileContainer .TitleCell .Title{padding:10px}.layout-wm.MobileContainer .TournamentDuration .TournamentDates{margin-left:0px;margin-right:0px}.layout-wm.MobileContainer .PrizesCell .Prizes{gap:0px}.layout-wm .Cells{line-height:18px}.layout-wm .Cells.RowContent{flex-direction:row;width:100%}.layout-wm .DetailInfo{flex:1;height:200px;background-color:var(--emfe-w-color-bg, #153A5C);border-radius:8px;text-align:center}.layout-wm .DetailInfo .TitleTextCell{font-size:19px}.layout-wm .DetailInfo .TournamentButtons{display:flex;grid-gap:10px}.layout-wm .ThumbnailCell{position:relative;flex:1}.layout-wm .ThumbnailCell .Thumbnail{padding:8px}.layout-wm .ThumbnailCell .CardImg{border-radius:5px;height:180px;padding:10px 0px}.layout-wm .Tag .TagContent{box-shadow:0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);border-radius:8px;padding:7px}.layout-wm .StartDateCell{left:45%}.layout-wm .StartDateCell .Date{color:#1A2C38;background:#FF7500}.layout-wm .StartDateCell .Date .CalendarIcon{width:10px}.layout-wm .UserEnrollTag{right:15px}.layout-wm .UserEnrollTag .Enrolled{background:#24834B}.layout-wm .StatusTag{left:15px}.layout-wm .StatusTag .Status{background:#D0046C}.layout-wm .TournamentDuration .TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.layout-wm .TournamentDuration .ProgressBarWrapper{height:20px}.layout-wm .TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFill{height:6px;background:var(--emfe-w-color-green, #0072ED);border-radius:3px}.layout-wm .TournamentDuration .ProgressBar{margin:5px 20px;border-radius:3px;background-color:#0A1B2D;height:6px}.layout-wm .TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.layout-wm .TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px;border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-white, #FFFFFF);height:8px}.layout-wm .TournamentDuration .PrizesCell{margin-top:10px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{display:block;text-align:center}.layout-wm .TournamentDuration .PrizesCell .PrizesTitle{padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes{background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .Prize{flex-grow:1;border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeRank{line-height:18px}.layout-wm .TournamentDuration .PrizesCell .Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .PrizeText{border-radius:2px;padding:2px}.layout-wm .TournamentDuration .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .Remaining,.layout-wm .TournamentDuration .Finished{font-size:10px;text-align:right;text-transform:uppercase}.layout-wm .TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.layout-wm .ScoreCriteriaCell .ScoreCriteria{color:greenyellow}.layout-wm .TitleCell .Title{font-weight:bold;padding:15px}.layout-wm .SeeGamesLine .GamesAnchor{color:#fff}.layout-wm .PrizesCell{margin-top:10px;margin-top:10px;display:flex;width:100%;flex:1;container-type:inline-size;container-name:prizes-cell;margin:auto}.layout-wm .PrizesCell .TournamentPrizes{font-size:11px;width:100%}.layout-wm .PrizesCell .TournamentPrizes .TournamentPrizesIconSection{display:flex;justify-content:center;flex-direction:column;align-items:center}.layout-wm .PrizesCell .Prizes{justify-content:space-between;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px;flex-wrap:nowrap}.layout-wm .PrizesCell .Prizes .ColPrizes{flex:1;background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{border-radius:2px;padding:2px}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeRank{line-height:18px}.layout-wm .PrizesCell .Prizes .Prize0 .PrizeText{background-color:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .PrizesCell .Prizes .Prize1 .PrizeText{background-color:var(--emfe-rank-1-color, #666666)}.layout-wm .PrizesCell .Prizes .Prize2 .PrizeText{background-color:var(--emfe-rank-1-color, #6A5446)}.layout-wm .PrizesCell div.Collapse{display:flex;justify-content:center}.layout-wm .PrizesCell div.Collapse .Prizes{justify-content:flex-start;flex-wrap:wrap;gap:0;width:fit-content}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes{flex:none;width:360px;margin:3px 8px}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes .Prize{border-bottom:0px none}.layout-wm .PrizesCell .PrizeRank{display:flex;padding-right:3px}.layout-wm .PrizesCell .PrizeRank.NoRankImage .RowNo{width:0px}.layout-wm .PrizesCell .PrizeRank .RowNo{width:18px;text-align:center}.layout-wm .PrizesCell .PrizeNo{text-align:left;margin-left:5px}.layout-wm .PrizesCell .PrizePlace{padding-left:5px}.layout-wm .PrizesCell .Prize .PrizeText{display:flex}.layout-wm .JoinButtonCell{margin:7px 0px}.layout-wm .JoinButtonCell .JoinButtonSvg{display:none}.layout-wm .JoinButtonCell .spinner .circle{stroke:var(--emfe-w-color-contrast, #d5d5e4)}.layout-wm .JoinButtonCell .LoginButton,.layout-wm .JoinButtonCell .RegisterButton,.layout-wm .JoinButtonCell .JoinButton{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:8px 16px;width:104px;height:36px;background:#0072ED;border-radius:3px;border:0px none;font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.layout-wm .JoinButtonCell .LoginButton .JoinButtonSvg,.layout-wm .JoinButtonCell .RegisterButton .JoinButtonSvg,.layout-wm .JoinButtonCell .JoinButton .JoinButtonSvg{width:15px;height:15px;margin-left:10px}.layout-wm .TranslateTextCell{padding-left:26px;height:35px;line-height:27px !important;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='25' viewBox='0 0 21 25' fill='none'%3E%3Cpath d='M6.1774 22.1728C6.36493 22.2725 6.56274 22.0566 6.44793 21.8779C5.82475 20.908 5.23463 19.2759 6.17483 17.174C7.74273 13.6689 8.6968 11.8535 8.6968 11.8535C8.6968 11.8535 9.20426 13.9721 10.5799 15.8558C11.9038 17.6687 12.6285 19.9488 11.4602 21.8482C11.3506 22.0265 11.5439 22.2368 11.7302 22.1415C13.1763 21.4017 14.7983 19.9179 14.9813 16.965C15.0488 16.0627 14.9476 14.7995 14.4416 13.2054C13.791 11.185 12.9911 10.2423 12.5283 9.83741C12.3899 9.71629 12.1746 9.82363 12.1859 10.0072C12.3208 12.1872 11.5007 12.7404 11.0339 11.4937C10.8474 10.9957 10.7387 10.1344 10.7387 9.08558C10.7387 7.3394 10.2321 5.54188 9.1152 4.0812C8.82475 3.70134 8.4849 3.3464 8.09498 3.04372C7.95382 2.93411 7.74919 3.04428 7.76212 3.22252C7.84788 4.40628 7.77018 7.79884 4.79383 11.8519C2.09515 15.6115 3.14088 18.4989 3.51195 19.281C4.2214 20.7791 5.21098 21.6589 6.1774 22.1728Z' fill='white'/%3E%3C/svg%3E\");background-repeat:no-repeat;width:fit-content}.layout-wm .DescriptionAndTermConditions{flex:1}.layout-wm .LeaderboardCell{flex:1}.layout-wm .LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.layout-wm .LeaderboardCell .FirstRow{outline:2px solid #1B9800}.layout-wm .LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.layout-wm .LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{background-color:var(--emfe-w-color-bg, #153A5C);border-bottom:12px solid var(--emfe-w-color-black, #000000)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{background-color:var(--emfe-w-color-bg, #153A5C)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{color:var(--emfe-w-color-white, #FFFFFF);border-bottom:1px solid rgba(206, 210, 214, 0.15)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .CellContent{margin:5px 0;vertical-align:middle;line-height:22px}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank1Tr .CellContent{background:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank2Tr .CellContent{background:var(--emfe-rank-2-color, #666666)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank3Tr .CellContent{background:var(--emfe-rank-3-color, #6A5446)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .FirstRow .CellContent{background:var(--emfe-rank-user-color, #12753A)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border:8px solid #153A5C;border-bottom:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{border:8px solid #153A5C;border-top:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm .LeaderboardCell .TournamentsTable .RightButton{width:26px;height:50px}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ns,Fs,o,{layoutid:0,session:8,userid:9,tourid:10,endpoint:11,cmsendpoint:12,lang:13,navigationbackbutton:14,currency:15,tablelimit:16,namemask:17,showunqualifiedplayer:18,mobiletablelimit:19,updatetableintime:20,viewmode:21,minscore:22,scorefractiondigit:23,loginevent:24,registerevent:25,loginurl:26,registerurl:27,limit:28,offset:29,leaderboardoffset:30,leaderboardlimit:31,keepbrowsercontext:32,showrankasimage:33,clientstyling:34,clientstylingurl:35,translationurl:36},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["layoutid","session","userid","tourid","endpoint","cmsendpoint","lang","navigationbackbutton","currency","tablelimit","namemask","showunqualifiedplayer","mobiletablelimit","updatetableintime","viewmode","minscore","scorefractiondigit","loginevent","registerevent","loginurl","registerurl","limit","offset","leaderboardoffset","leaderboardlimit","keepbrowsercontext","showrankasimage","clientstyling","clientstylingurl","translationurl"]}get layoutid(){return this.$$.ctx[0]}set layoutid(e){this.$$set({layoutid:e}),I()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[10]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),I()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),I()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),I()}get navigationbackbutton(){return this.$$.ctx[14]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),I()}get currency(){return this.$$.ctx[15]}set currency(e){this.$$set({currency:e}),I()}get tablelimit(){return this.$$.ctx[16]}set tablelimit(e){this.$$set({tablelimit:e}),I()}get namemask(){return this.$$.ctx[17]}set namemask(e){this.$$set({namemask:e}),I()}get showunqualifiedplayer(){return this.$$.ctx[18]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),I()}get mobiletablelimit(){return this.$$.ctx[19]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),I()}get updatetableintime(){return this.$$.ctx[20]}set updatetableintime(e){this.$$set({updatetableintime:e}),I()}get viewmode(){return this.$$.ctx[21]}set viewmode(e){this.$$set({viewmode:e}),I()}get minscore(){return this.$$.ctx[22]}set minscore(e){this.$$set({minscore:e}),I()}get scorefractiondigit(){return this.$$.ctx[23]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),I()}get loginevent(){return this.$$.ctx[24]}set loginevent(e){this.$$set({loginevent:e}),I()}get registerevent(){return this.$$.ctx[25]}set registerevent(e){this.$$set({registerevent:e}),I()}get loginurl(){return this.$$.ctx[26]}set loginurl(e){this.$$set({loginurl:e}),I()}get registerurl(){return this.$$.ctx[27]}set registerurl(e){this.$$set({registerurl:e}),I()}get limit(){return this.$$.ctx[28]}set limit(e){this.$$set({limit:e}),I()}get offset(){return this.$$.ctx[29]}set offset(e){this.$$set({offset:e}),I()}get leaderboardoffset(){return this.$$.ctx[30]}set leaderboardoffset(e){this.$$set({leaderboardoffset:e}),I()}get leaderboardlimit(){return this.$$.ctx[31]}set leaderboardlimit(e){this.$$set({leaderboardlimit:e}),I()}get keepbrowsercontext(){return this.$$.ctx[32]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}get showrankasimage(){return this.$$.ctx[33]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),I()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),I()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),I()}}return!customElements.get("casino-tournaments-customize-page-controller")&&customElements.define("casino-tournaments-customize-page-controller",Hs),Hs}));
|
|
1649
|
+
r(65,n.session=s,n),r(65,n.userid=l,n),r(65,n.tourid=u,n),r(65,n.lang=m,n)),/*endpoint, session, userid, lang, tourid*/12032&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&c&&s&&l&&m&&u&&te(c,u),/*session, opLayout, layoutid, userid*/773&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&s&&q[o]&&l&&setTimeout((()=>{re(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])})),/*cmsendpoint, tourid*/5120&e.$$.dirty[0]&&f&&u&&K(),/*showunqualifiedplayer, scorefractiondigit, tablelimit*/8716288&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&w&&_&&b&&re(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),/*layoutid*/1&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&o&&(I?(r(0,o=bs[o]?o:"default"),r(2,q=ys(bs[o],V))):console.log("tournamentData undefined")),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstyling*/8&e.$$.dirty[1]&&a&&F&&(()=>{let e=document.createElement("style");e.innerHTML=F,a.appendChild(e)})(),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstylingurl*/16&e.$$.dirty[1]&&a&&N&&(()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*translationurl*/32&e.$$.dirty[1]&&H&&fetch(H).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Gn(t,e[t])}))})).catch((e=>{console.log(e)}))},n=h(n),[o,a,q,G,j,Z,i,(e,t)=>{t.onLoad&&t.onLoad()},s,l,u,c,f,m,p,g,b,y,w,C,v,T,x,_,k,P,S,E,$,L,M,B,z,O,F,N,H,J,function(e){A[e?"unshift":"push"]((()=>{a=e,r(1,a)}))}]}class Us extends V{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-size:12px;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}@container prizes-cell (max-width: 500px){.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{width:100%;flex:100%}}@container prizes-cell (width > 500px) and (width < 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:47%;max-width:calc(50% - 8px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+2){margin-right:0}}@container prizes-cell (width >= 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:31.5%;max-width:calc(33% - 2px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+2){margin:3px}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+3){margin-right:0;margin-left:6px}}.casino-tournaments-customize-page-controller{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;padding-top:15px}.MobileContainer{flex-wrap:nowrap;flex-direction:column;align-items:initial}.MobileContainer .Cells.RowContent{display:flex;flex-direction:column;width:100%}.row-70-center{margin:auto;width:70%}.Cells.RowContent{display:flex;flex-direction:row;width:100%}.BackButtonCell .TopButtons{display:inline-flex;flex-direction:column;font-size:10px}.BackButtonCell .BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButtonCell .BackButton .ButtonText{font-size:24px}.DurationCell .Remaining{text-align:center}.TitleCell .Title{font-size:18px;padding-bottom:10px}.SeeGamesLine .GamesAnchor{text-decoration:underline}.JoinButtonCell{display:flex;justify-content:center;gap:5px;flex-direction:column;align-items:center}.JoinButtonCell .ErrorText{color:red}.JoinButtonCell .spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}.JoinButtonCell .spinner .circle{fill:transparent;stroke:var(--emfe-w-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}}.Tag{position:absolute;top:15px;font-size:12px}.ThumbnailCell{position:relative}.ThumbnailCell .CardImg{height:300px;width:100%;background-image:url(\"https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png\");background-repeat:no-repeat;background-position:center;background-size:cover}.ThumbnailCell .CardImg.CardImgFinished{filter:grayscale(1)}.DetailInfo{display:flex;flex-direction:column;padding:8px;min-height:200px;border-radius:8px}.DetailInfo .TitleTextCell{font-size:19px}.PrizesCell .PrizeRank{display:flex;padding-right:3px}.PrizesCell .Prize .PrizeText{display:flex}.ScoreCriteriaCell{font-size:11px}.TournamentDuration .TournamentDates{display:flex;justify-content:space-between}.TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .ProgressBar{height:8px;background:var(--emfe-w-color-white, #FFFFFF)}.TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentDuration .ProgressBarFill{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-gray-300, #58586B);height:8px}.TournamentDuration .Remaining,.TournamentDuration .Finished{text-align:right;text-transform:uppercase}.TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.GamesCell{width:100%}.GamesCell .TournamentsGamesSlider{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;justify-content:center;align-items:center}.GamesCell .SliderNavButton{background:var(--emfe-w-color-contrast, #07072A);border:0px;width:25px;cursor:pointer}.GamesCell .SliderNavButton.disabled{color:var(--emfe-w-color-gray-150, #828282)}.GamesCell .main{width:calc(100% - 50px);overflow:hidden}.GamesCell .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.GamesCell .item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emfe-w-color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.GamesCell .item .GameThumbnail{height:100%}.GamesCell .PlayNowButton{position:absolute;background:var(--emfe-w-color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesCell .itemHover{opacity:1}.GamesCell .items .item:first-child{margin-left:0}.GamesCell .items .item:last-child{margin-right:0}.TitleTextCell .Title,.DescriptionCell .Title{text-transform:uppercase}.TitleTextCell .DetailsCard,.DescriptionCell .DetailsCard{line-height:18px;border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.TitleTextCell .DetailsTitle,.DescriptionCell .DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.TitleTextCell .DetailsContent,.DescriptionCell .DetailsContent{overflow:auto;height:150px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.TitleTextCell .sc::-webkit-scrollbar,.DescriptionCell .sc::-webkit-scrollbar{width:5px;height:5px}.TitleTextCell .sc::-webkit-scrollbar-track,.DescriptionCell .sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.TitleTextCell .sc::-webkit-scrollbar-thumb,.DescriptionCell .sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}.ExclamationMark{display:inline-block}.LeaderboardCell .LeaderboardContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;width:100%;height:52px;align-items:center;justify-content:space-between;gap:20px}.LeaderboardCell .Leaderboard{width:100%;height:44px;display:flex;align-items:center;padding-left:20px}.LeaderboardCell .TableContent{width:100%;font-size:14px;margin-bottom:2px;border-bottom:solid 1px var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TableContent.TableContentFirstRow{box-sizing:border-box;border:2px solid var(--emfe-w-color-green, #48952a)}.LeaderboardCell .TableUser{background:var(--emfe-w-table-bg, #282828);height:44px;display:flex;align-items:center;border-bottom:solid 1px var(--emfe-w-table-border, #3a3a3a)}.LeaderboardCell .TableUser.TableHeadRow{background:var(--emfe-w-table-header-bg, #1c1c1c);color:var(--emfe-w-color-white, #fff)}.LeaderboardCell .TableUser.CurrentUserRow{box-sizing:border-box;background:var(--emfe-w-table-currentuser-bg, #533a34)}.LeaderboardCell .TableUser.UnqualifiedRow{border-bottom:0}.LeaderboardCell .TableUserTooltips{display:flex;gap:4px;flex-direction:row;width:100%;padding:10px 0;background:var(--emfe-w-table-currentuser-bg, #533a34);font-size:0.8rem;line-height:1.2}.LeaderboardCell .TooltipsRow{border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-top:0}.LeaderboardCell .TooltipsRow .LeftTableTd{padding:0 0 10px 0;font-size:12px;color:var(--emfe-w-color-tooltips, #fecf00)}.LeaderboardCell .TableCell{padding:10px;flex:2;text-align:center}.LeaderboardCell .TableRank{flex:1 50px}.LeaderboardCell .TablePlayer{flex:5}.LeaderboardCell .TablePrize{flex:5}.LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.LeaderboardCell .ExclamationMark{vertical-align:text-top;width:14px;height:14px;background-size:105%}.LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.LeaderboardCell .TournamentsTable{width:100%;display:flex;justify-content:space-between;text-align:center;margin-top:10px}.LeaderboardCell .LeftTable{width:100%;border-collapse:collapse}.LeaderboardCell .RightButton{cursor:pointer;background:var(--emfe-w-color-contrast, #07072A);width:59px;height:70px;border:2px solid var(--emfe-w-color-contrast, #0D0D4D)}.LeaderboardCell .RightButton.MobileClass{height:50px}.LeaderboardCell .FirstRow{outline:2px solid #1B9800}.LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.LeaderboardCell .Show{display:inline-flex}.LeaderboardCell .Hidden{display:none}.LeaderboardCell .svg.Arrow.Up,.LeaderboardCell .svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite;width:14px;height:14px}.LeaderboardCell .svg.Arrow.Up.Show,.LeaderboardCell .svg.Arrow.Down.Show{display:inline-flex}.LeaderboardCell .svg.Arrow.Up.Hidden,.LeaderboardCell .svg.Arrow.Down.Hidden{display:none}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}.LeaderboardCell .TournamentsTable .LeftTable{width:100%;border-spacing:0;position:relative;overflow:auto;margin-bottom:0.5rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{padding:0.8rem 1.25rem;height:30px;top:0;color:var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%}.LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.LeaderboardCell .flex{display:flex;align-items:center}.LeaderboardCell .CollapseButton{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.layout-default.MobileContainer .Cells.LeftSection{width:auto}.layout-default .Cells{line-height:18px}.layout-default .Cells.LeftSection{margin:10px;width:29%;border:solid 1px #30313c}.layout-default .BackButtonCell{width:100%}.layout-default .RightSection{flex:auto}.layout-default .Cells.ThumbnailCell{margin:0px}.layout-default .DetailInfo{padding:12px;height:auto}.layout-default .Tag{top:20px;min-height:30px}.layout-default .Tag .TagContent{padding:7px 10px;text-transform:uppercase;font-size:12px;background:var(--emfe-w-color-black, #000000)}.layout-default .SeeGamesLine .GamesAnchor{color:var(--emfe-w-color-green, #48952a)}.layout-default .StatusTag{right:20px}.layout-default .UserEnrollTag{left:15px}.layout-default .UserEnrollTag .Enrolled{color:var(--emfe-w-color-gray-150, #828282)}.layout-default .TournamentDuration{font-size:10px}.layout-default .StartDateCell .Date{text-transform:uppercase}.layout-default .PrizesCell{padding:10px 0px 0px}.layout-default .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-default .PrizesCell .PrizesTitle{padding-top:5px}.layout-default .PrizesCell .Prizes,.layout-default .PrizesCell .ColPrizes{flex-wrap:wrap;display:flex;gap:10px;width:auto}.layout-default .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.layout-default .PrizesCell .Prize .PrizeText{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .Prize0 .PrizeRank,.layout-default .Prize1 .PrizeRank,.layout-default .Prize2 .PrizeRank{color:#FECF00}.layout-default .ScoreCriteriaCell .ScoreCriteria{font-size:12px}.layout-default .DurationCell{margin-bottom:25px;margin-top:0px}.layout-default .JoinButtonCell{margin-bottom:20px}.layout-default .JoinButtonCell .TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0px;width:100%}.layout-default .JoinButtonCell .LoginButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.layout-default .JoinButtonCell .LoginButton:hover{opacity:0.7}.layout-default .JoinButtonCell .RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .RegisterButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsLargeButton:hover{opacity:0.7}.layout-default .JoinButtonCell .EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.layout-default .JoinButtonCell .JoinButton{background:var(--emfe-w-color-green, #48952a);width:100%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.layout-default .JoinButtonCell .JoinButton:hover{opacity:0.7}.layout-default .JoinButtonCell .JoinButton:disabled{cursor:default;opacity:0.7}.layout-default .JoinButtonCell .JoinButtonFullSize{width:100%}.layout-default .JoinButtonCell .ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.layout-default .LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.layout-default .LeaderboardCell .TournamentsTable .LeftTableTh{padding:1.5rem 1.25rem;height:70px;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);top:0}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border-bottom:0px none}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;padding:0.95rem;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:column}.layout-wm.MobileContainer .Cells.RowContent{flex-direction:column;width:100%}.layout-wm.MobileContainer .StartDateCell{left:35%}.layout-wm.MobileContainer .PrizesCell .Prizes{margin-bottom:8px}.layout-wm.MobileContainer .PrizesCell .Prizes .ColPrizes{margin:0px}.layout-wm.MobileContainer .TitleCell .Title{padding:10px}.layout-wm.MobileContainer .TournamentDuration .TournamentDates{margin-left:0px;margin-right:0px}.layout-wm.MobileContainer .PrizesCell .Prizes{gap:0px}.layout-wm .Cells{line-height:18px}.layout-wm .Cells.RowContent{flex-direction:row;width:100%}.layout-wm .DetailInfo{flex:1;min-height:200px;background-color:var(--emfe-w-color-bg, #153A5C);border-radius:8px;text-align:center}.layout-wm .DetailInfo .TitleTextCell{font-size:19px}.layout-wm .DetailInfo .TournamentButtons{display:flex;grid-gap:10px}.layout-wm .ThumbnailCell{position:relative;flex:1}.layout-wm .ThumbnailCell .Thumbnail{padding:8px}.layout-wm .ThumbnailCell .CardImg{border-radius:5px;height:180px;padding:10px 0px}.layout-wm .Tag .TagContent{box-shadow:0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);border-radius:8px;padding:7px}.layout-wm .StartDateCell{left:45%}.layout-wm .StartDateCell .Date{color:#1A2C38;background:#FF7500}.layout-wm .StartDateCell .Date .CalendarIcon{width:10px}.layout-wm .UserEnrollTag{right:15px}.layout-wm .UserEnrollTag .Enrolled{background:#24834B}.layout-wm .StatusTag{left:15px}.layout-wm .StatusTag .Status{background:#D0046C}.layout-wm .TournamentDuration .TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.layout-wm .TournamentDuration .ProgressBarWrapper{height:20px}.layout-wm .TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFill{height:6px;background:var(--emfe-w-color-green, #0072ED);border-radius:3px}.layout-wm .TournamentDuration .ProgressBar{margin:5px 20px;border-radius:3px;background-color:#0A1B2D;height:6px}.layout-wm .TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.layout-wm .TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px;border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-white, #FFFFFF);height:8px}.layout-wm .TournamentDuration .PrizesCell{margin-top:10px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{display:block;text-align:center}.layout-wm .TournamentDuration .PrizesCell .PrizesTitle{padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes{background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .Prize{flex-grow:1;border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeRank{line-height:18px}.layout-wm .TournamentDuration .PrizesCell .Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .PrizeText{border-radius:2px;padding:2px}.layout-wm .TournamentDuration .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .Remaining,.layout-wm .TournamentDuration .Finished{font-size:10px;text-align:right;text-transform:uppercase}.layout-wm .TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.layout-wm .ScoreCriteriaCell .ScoreCriteria{color:greenyellow}.layout-wm .TitleCell .Title{font-weight:bold;padding:15px}.layout-wm .SeeGamesLine .GamesAnchor{color:#fff}.layout-wm .SeeGamesLine .GamesButton{cursor:pointer;margin-top:10px;color:var(--emw--color-primary, white);font-size:14px;border-radius:4px;border:0;padding:10px;background-color:var(--emw--color-background, #0072ed)}.layout-wm .PrizesCell{margin-top:10px;margin-top:10px;display:flex;width:100%;flex:1;container-type:inline-size;container-name:prizes-cell;margin:auto}.layout-wm .PrizesCell .TournamentPrizes{font-size:11px;width:100%}.layout-wm .PrizesCell .TournamentPrizes .TournamentPrizesIconSection{display:flex;justify-content:center;flex-direction:column;align-items:center}.layout-wm .PrizesCell .Prizes{justify-content:space-between;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px;flex-wrap:nowrap}.layout-wm .PrizesCell .Prizes .ColPrizes{flex:1;background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{border-radius:2px;padding:2px}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeRank{line-height:18px}.layout-wm .PrizesCell .Prizes .Prize0 .PrizeText{background-color:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .PrizesCell .Prizes .Prize1 .PrizeText{background-color:var(--emfe-rank-1-color, #666666)}.layout-wm .PrizesCell .Prizes .Prize2 .PrizeText{background-color:var(--emfe-rank-1-color, #6A5446)}.layout-wm .PrizesCell div.Collapse{display:flex;justify-content:center}.layout-wm .PrizesCell div.Collapse .Prizes{justify-content:flex-start;flex-wrap:wrap;gap:0;width:fit-content}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes{flex:none;width:360px;margin:3px 8px}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes .Prize{border-bottom:0px none}.layout-wm .PrizesCell .PrizeRank{display:flex;padding-right:3px}.layout-wm .PrizesCell .PrizeRank.NoRankImage .RowNo{width:0px}.layout-wm .PrizesCell .PrizeRank .RowNo{width:18px;text-align:center}.layout-wm .PrizesCell .PrizeNo{text-align:left;margin-left:5px}.layout-wm .PrizesCell .PrizePlace{padding-left:5px}.layout-wm .PrizesCell .Prize .PrizeText{display:flex}.layout-wm .JoinButtonCell{margin:7px 0px}.layout-wm .JoinButtonCell .JoinButtonSvg{display:none}.layout-wm .JoinButtonCell .spinner .circle{stroke:var(--emfe-w-color-contrast, #d5d5e4)}.layout-wm .JoinButtonCell .LoginButton,.layout-wm .JoinButtonCell .RegisterButton,.layout-wm .JoinButtonCell .JoinButton{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:8px 16px;width:104px;height:36px;background:#0072ED;border-radius:3px;border:0px none;font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.layout-wm .JoinButtonCell .LoginButton .JoinButtonSvg,.layout-wm .JoinButtonCell .RegisterButton .JoinButtonSvg,.layout-wm .JoinButtonCell .JoinButton .JoinButtonSvg{width:15px;height:15px;margin-left:10px}.layout-wm .TranslateTextCell{padding-left:26px;height:35px;line-height:27px !important;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='25' viewBox='0 0 21 25' fill='none'%3E%3Cpath d='M6.1774 22.1728C6.36493 22.2725 6.56274 22.0566 6.44793 21.8779C5.82475 20.908 5.23463 19.2759 6.17483 17.174C7.74273 13.6689 8.6968 11.8535 8.6968 11.8535C8.6968 11.8535 9.20426 13.9721 10.5799 15.8558C11.9038 17.6687 12.6285 19.9488 11.4602 21.8482C11.3506 22.0265 11.5439 22.2368 11.7302 22.1415C13.1763 21.4017 14.7983 19.9179 14.9813 16.965C15.0488 16.0627 14.9476 14.7995 14.4416 13.2054C13.791 11.185 12.9911 10.2423 12.5283 9.83741C12.3899 9.71629 12.1746 9.82363 12.1859 10.0072C12.3208 12.1872 11.5007 12.7404 11.0339 11.4937C10.8474 10.9957 10.7387 10.1344 10.7387 9.08558C10.7387 7.3394 10.2321 5.54188 9.1152 4.0812C8.82475 3.70134 8.4849 3.3464 8.09498 3.04372C7.95382 2.93411 7.74919 3.04428 7.76212 3.22252C7.84788 4.40628 7.77018 7.79884 4.79383 11.8519C2.09515 15.6115 3.14088 18.4989 3.51195 19.281C4.2214 20.7791 5.21098 21.6589 6.1774 22.1728Z' fill='white'/%3E%3C/svg%3E\");background-repeat:no-repeat;width:fit-content}.layout-wm .DescriptionAndTermConditions{flex:1}.layout-wm .LeaderboardCell{flex:1}.layout-wm .LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.layout-wm .LeaderboardCell .FirstRow{outline:2px solid #1B9800}.layout-wm .LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.layout-wm .LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{background-color:var(--emfe-w-color-bg, #153A5C);border-bottom:12px solid var(--emfe-w-color-black, #000000)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{background-color:var(--emfe-w-color-bg, #153A5C)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{color:var(--emfe-w-color-white, #FFFFFF);border-bottom:1px solid rgba(206, 210, 214, 0.15)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .CellContent{margin:5px 0;vertical-align:middle;line-height:22px}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank1Tr .CellContent{background:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank2Tr .CellContent{background:var(--emfe-rank-2-color, #666666)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank3Tr .CellContent{background:var(--emfe-rank-3-color, #6A5446)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .FirstRow .CellContent{background:var(--emfe-rank-user-color, #12753A)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border:8px solid #153A5C;border-bottom:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{border:8px solid #153A5C;border-top:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm .LeaderboardCell .TournamentsTable .RightButton{width:26px;height:50px}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Hs,Ns,o,{layoutid:0,session:8,userid:9,tourid:10,endpoint:11,cmsendpoint:12,lang:13,navigationbackbutton:14,currency:15,tablelimit:16,namemask:17,showunqualifiedplayer:18,mobiletablelimit:19,updatetableintime:20,viewmode:21,minscore:22,scorefractiondigit:23,loginevent:24,registerevent:25,loginurl:26,registerurl:27,limit:28,offset:29,leaderboardoffset:30,leaderboardlimit:31,keepbrowsercontext:32,showrankasimage:33,clientstyling:34,clientstylingurl:35,translationurl:36},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["layoutid","session","userid","tourid","endpoint","cmsendpoint","lang","navigationbackbutton","currency","tablelimit","namemask","showunqualifiedplayer","mobiletablelimit","updatetableintime","viewmode","minscore","scorefractiondigit","loginevent","registerevent","loginurl","registerurl","limit","offset","leaderboardoffset","leaderboardlimit","keepbrowsercontext","showrankasimage","clientstyling","clientstylingurl","translationurl"]}get layoutid(){return this.$$.ctx[0]}set layoutid(e){this.$$set({layoutid:e}),I()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[10]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),I()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),I()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),I()}get navigationbackbutton(){return this.$$.ctx[14]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),I()}get currency(){return this.$$.ctx[15]}set currency(e){this.$$set({currency:e}),I()}get tablelimit(){return this.$$.ctx[16]}set tablelimit(e){this.$$set({tablelimit:e}),I()}get namemask(){return this.$$.ctx[17]}set namemask(e){this.$$set({namemask:e}),I()}get showunqualifiedplayer(){return this.$$.ctx[18]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),I()}get mobiletablelimit(){return this.$$.ctx[19]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),I()}get updatetableintime(){return this.$$.ctx[20]}set updatetableintime(e){this.$$set({updatetableintime:e}),I()}get viewmode(){return this.$$.ctx[21]}set viewmode(e){this.$$set({viewmode:e}),I()}get minscore(){return this.$$.ctx[22]}set minscore(e){this.$$set({minscore:e}),I()}get scorefractiondigit(){return this.$$.ctx[23]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),I()}get loginevent(){return this.$$.ctx[24]}set loginevent(e){this.$$set({loginevent:e}),I()}get registerevent(){return this.$$.ctx[25]}set registerevent(e){this.$$set({registerevent:e}),I()}get loginurl(){return this.$$.ctx[26]}set loginurl(e){this.$$set({loginurl:e}),I()}get registerurl(){return this.$$.ctx[27]}set registerurl(e){this.$$set({registerurl:e}),I()}get limit(){return this.$$.ctx[28]}set limit(e){this.$$set({limit:e}),I()}get offset(){return this.$$.ctx[29]}set offset(e){this.$$set({offset:e}),I()}get leaderboardoffset(){return this.$$.ctx[30]}set leaderboardoffset(e){this.$$set({leaderboardoffset:e}),I()}get leaderboardlimit(){return this.$$.ctx[31]}set leaderboardlimit(e){this.$$set({leaderboardlimit:e}),I()}get keepbrowsercontext(){return this.$$.ctx[32]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}get showrankasimage(){return this.$$.ctx[33]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),I()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),I()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),I()}}return!customElements.get("casino-tournaments-customize-page-controller")&&customElements.define("casino-tournaments-customize-page-controller",Us),Us}));
|
|
1650
1650
|
//# sourceMappingURL=casino-tournaments-customize-page-controller.js.map
|