@everymatrix/casino-tournaments-customize-page-controller 1.77.26 → 1.77.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsCustomizePageController-BUW5PvRO.cjs +37 -0
- package/components/{CasinoTournamentsCustomizePageController-BEBGlHT-.js → CasinoTournamentsCustomizePageController-DEZbQNHQ.js} +2538 -2519
- package/components/{CasinoTournamentsCustomizePageController-CulQtOGM.js → CasinoTournamentsCustomizePageController-dp8yKOyB.js} +2544 -2525
- package/es2015/casino-tournaments-customize-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-customize-page-controller.js +1 -1
- package/esnext/casino-tournaments-customize-page-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/index-b2193545-BS7xFIk4.js +503 -0
- package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
- package/stencil/index-b2193545-rfNAj6ri.js +519 -0
- package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
- package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
- package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
- package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
- package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
- package/components/CasinoTournamentsCustomizePageController-CVHY5CUW.cjs +0 -37
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
- package/stencil/index-b2193545-OH6E7v51.js +0 -519
- package/stencil/index-b2193545-eoIiLcDl.js +0 -503
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";var t0=Object.defineProperty,r0=Object.defineProperties;var n0=Object.getOwnPropertyDescriptors;var Ea=Object.getOwnPropertySymbols;var i0=Object.prototype.hasOwnProperty,a0=Object.prototype.propertyIsEnumerable;var li=(t,e,r)=>e in t?t0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ar=(t,e)=>{for(var r in e||(e={}))i0.call(e,r)&&li(t,r,e[r]);if(Ea)for(var r of Ea(e))a0.call(e,r)&&li(t,r,e[r]);return t},Ma=(t,e)=>r0(t,n0(e));var yt=(t,e,r)=>(li(t,typeof e!="symbol"?e+"":e,r),r);var Yr=(t,e,r)=>new Promise((n,i)=>{var a=l=>{try{o(r.next(l))}catch(u){i(u)}},s=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,s);o((r=r.apply(t,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-B0BB970e.cjs");require("../stencil/ui-image-Bk8cIvcH.cjs");function J(){}function Jt(t,e){for(const r in e)t[r]=e[r];return t}function _o(t){return t()}function Ra(){return Object.create(null)}function Ot(t){t.forEach(_o)}function $t(t){return typeof t=="function"}function je(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let mn;function Ye(t,e){return t===e?!0:(mn||(mn=document.createElement("a")),mn.href=e,t===mn.href)}function s0(t){return Object.keys(t).length===0}function yo(t,...e){if(t==null){for(const n of e)n(void 0);return J}const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function vt(t,e,r){t.$$.on_destroy.push(yo(e,r))}function o0(t,e,r,n){if(t){const i=Co(t,e,r,n);return t[0](i)}}function Co(t,e,r,n){return t[1]&&n?Jt(r.ctx.slice(),t[1](n(e))):r.ctx}function l0(t,e,r,n){if(t[2]&&n){const i=t[2](n(r));if(e.dirty===void 0)return i;if(typeof i=="object"){const a=[],s=Math.max(e.dirty.length,i.length);for(let o=0;o<s;o+=1)a[o]=e.dirty[o]|i[o];return a}return e.dirty|i}return e.dirty}function u0(t,e,r,n,i,a){if(i){const s=Co(e,r,n,a);t.p(s,i)}}function c0(t){if(t.ctx.length>32){const e=[],r=t.ctx.length/32;for(let n=0;n<r;n++)e[n]=-1;return e}return-1}function Aa(t){const e={};for(const r in t)r[0]!=="$"&&(e[r]=t[r]);return e}function er(t){return t&&$t(t.destroy)?t.destroy:J}function m(t,e){t.appendChild(e)}function _r(t,e,r){const n=f0(t);if(!n.getElementById(e)){const i=b("style");i.id=e,i.textContent=r,d0(n,i)}}function f0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function d0(t,e){return m(t.head||t,e),e.sheet}function C(t,e,r){t.insertBefore(e,r||null)}function y(t){t.parentNode&&t.parentNode.removeChild(t)}function ft(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function b(t){return document.createElement(t)}function $e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function O(t){return document.createTextNode(t)}function H(){return O(" ")}function de(){return O("")}function tt(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function c(t,e,r){r==null?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function h0(t){return Array.from(t.childNodes)}function W(t,e){e=""+e,t.data!==e&&(t.data=e)}function At(t,e,r,n){r==null?t.style.removeProperty(e):t.style.setProperty(e,r,"")}function pn(t,e,r){t.classList.toggle(e,!!r)}function m0(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Mr(t,e){return new t(e)}let en;function Qr(t){en=t}function vo(){if(!en)throw new Error("Function called outside component initialization");return en}function tr(t){vo().$$.on_mount.push(t)}const kr=[],tn=[];let xr=[];const Fa=[],p0=Promise.resolve();let vi=!1;function g0(){vi||(vi=!0,p0.then(x))}function wi(t){xr.push(t)}const ui=new Set;let vr=0;function x(){if(vr!==0)return;const t=en;do{try{for(;vr<kr.length;){const e=kr[vr];vr++,Qr(e),b0(e.$$)}}catch(e){throw kr.length=0,vr=0,e}for(Qr(null),kr.length=0,vr=0;tn.length;)tn.pop()();for(let e=0;e<xr.length;e+=1){const r=xr[e];ui.has(r)||(ui.add(r),r())}xr.length=0}while(kr.length);for(;Fa.length;)Fa.pop()();vi=!1,ui.clear(),Qr(t)}function b0(t){if(t.fragment!==null){t.update(),Ot(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(wi)}}function _0(t){const e=[],r=[];xr.forEach(n=>t.indexOf(n)===-1?e.push(n):r.push(n)),r.forEach(n=>n()),xr=e}const Cn=new Set;let pr;function lt(){pr={r:0,c:[],p:pr}}function ut(){pr.r||Ot(pr.c),pr=pr.p}function oe(t,e){t&&t.i&&(Cn.delete(t),t.i(e))}function _e(t,e,r,n){if(t&&t.o){if(Cn.has(t))return;Cn.add(t),pr.c.push(()=>{Cn.delete(t),n&&(r&&t.d(1),n())}),t.o(e)}else n&&n()}function Le(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Rr(t,e){const r={},n={},i={$$scope:1};let a=t.length;for(;a--;){const s=t[a],o=e[a];if(o){for(const l in s)l in o||(n[l]=1);for(const l in o)i[l]||(r[l]=o[l],i[l]=1);t[a]=o}else for(const l in s)i[l]=1}for(const s in n)s in r||(r[s]=void 0);return r}function Ar(t){return typeof t=="object"&&t!==null?t:{}}function cr(t){t&&t.c()}function Zt(t,e,r){const{fragment:n,after_update:i}=t.$$;n&&n.m(e,r),wi(()=>{const a=t.$$.on_mount.map(_o).filter($t);t.$$.on_destroy?t.$$.on_destroy.push(...a):Ot(a),t.$$.on_mount=[]}),i.forEach(wi)}function Xt(t,e){const r=t.$$;r.fragment!==null&&(_0(r.after_update),Ot(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function y0(t,e){t.$$.dirty[0]===-1&&(kr.push(t),g0(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function We(t,e,r,n,i,a,s=null,o=[-1]){const l=en;Qr(t);const u=t.$$={fragment:null,ctx:[],props:a,update:J,not_equal:i,bound:Ra(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:Ra(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let f=!1;if(u.ctx=r?r(t,e.props||{},(d,h,...p)=>{const _=p.length?p[0]:h;return u.ctx&&i(u.ctx[d],u.ctx[d]=_)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](_),f&&y0(t,d)),h}):[],u.update(),f=!0,Ot(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const d=h0(e.target);u.fragment&&u.fragment.l(d),d.forEach(y)}else u.fragment&&u.fragment.c();e.intro&&oe(t.$$.fragment),Zt(t,e.target,e.anchor),x()}Qr(l)}let wo;typeof HTMLElement=="function"&&(wo=class extends HTMLElement{constructor(e,r,n){super();yt(this,"$$ctor");yt(this,"$$s");yt(this,"$$c");yt(this,"$$cn",!1);yt(this,"$$d",{});yt(this,"$$r",!1);yt(this,"$$p_d",{});yt(this,"$$l",{});yt(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const i=this.$$c.$on(e,r);this.$$l_u.set(r,i)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Yr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(a){return()=>{let s;return{c:function(){s=b("slot"),a!=="default"&&c(s,"name",a)},m:function(u,f){C(u,s,f)},d:function(u){u&&y(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=m0(this);for(const a of this.$$s)a in n&&(r[a]=[e(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=vn(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ma(ar({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=vn(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const s of this.$$l[a]){const o=this.$$c.$on(a,s);this.$$l_u.set(s,o)}this.$$l={}}})}attributeChangedCallback(e,r,n){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=vn(e,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function vn(t,e,r,n){var a;const i=(a=r[t])==null?void 0:a.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ve(t,e,r,n,i,a){let s=class extends wo{constructor(){super(t,r,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Object.keys(e).forEach(o=>{Object.defineProperty(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=vn(o,l,e),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(s.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),t.element=s,s}class qe{constructor(){yt(this,"$$");yt(this,"$$set")}$destroy(){Xt(this,1),this.$destroy=J}$on(e,r){if(!$t(r))return J;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(e){this.$$set&&!s0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const C0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(C0);const wr=[];function v0(t,e){return{subscribe:Un(t,e).subscribe}}function Un(t,e=J){let r;const n=new Set;function i(o){if(je(t,o)&&(t=o,r)){const l=!wr.length;for(const u of n)u[1](),wr.push(u,t);if(l){for(let u=0;u<wr.length;u+=2)wr[u][0](wr[u+1]);wr.length=0}}}function a(o){i(o(t))}function s(o,l=J){const u=[o,l];return n.add(u),n.size===1&&(r=e(i,a)||J),o(t),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:s}}function Nr(t,e,r){const n=!Array.isArray(t),i=n?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=e.length<2;return v0(r,(s,o)=>{let l=!1;const u=[];let f=0,d=J;const h=()=>{if(f)return;d();const _=e(n?u[0]:u,s,o);a?s(_):d=$t(_)?_:J},p=i.map((_,g)=>yo(_,P=>{u[g]=P,f&=~(1<<g),l&&h()},()=>{f|=1<<g}));return l=!0,h(),function(){Ot(p),d(),l=!1}})}var w0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function T0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var k0=function(e){return S0(e)&&!P0(e)};function S0(t){return!!t&&typeof t=="object"}function P0(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||L0(t)}var x0=typeof Symbol=="function"&&Symbol.for,D0=x0?Symbol.for("react.element"):60103;function L0(t){return t.$$typeof===D0}function E0(t){return Array.isArray(t)?[]:{}}function rn(t,e){return e.clone!==!1&&e.isMergeableObject(t)?Fr(E0(t),t,e):t}function M0(t,e,r){return t.concat(e).map(function(n){return rn(n,r)})}function R0(t,e){if(!e.customMerge)return Fr;var r=e.customMerge(t);return typeof r=="function"?r:Fr}function A0(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function Oa(t){return Object.keys(t).concat(A0(t))}function To(t,e){try{return e in t}catch(r){return!1}}function F0(t,e){return To(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function O0(t,e,r){var n={};return r.isMergeableObject(t)&&Oa(t).forEach(function(i){n[i]=rn(t[i],r)}),Oa(e).forEach(function(i){F0(t,i)||(To(t,i)&&r.isMergeableObject(e[i])?n[i]=R0(i,r)(t[i],e[i],r):n[i]=rn(e[i],r))}),n}function Fr(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||M0,r.isMergeableObject=r.isMergeableObject||k0,r.cloneUnlessOtherwiseSpecified=rn;var n=Array.isArray(e),i=Array.isArray(t),a=n===i;return a?n?r.arrayMerge(t,e,r):O0(t,e,r):rn(e,r)}Fr.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return Fr(n,i,r)},{})};var z0=Fr,B0=z0;const N0=T0(B0);var Ti=function(t,e){return Ti=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ti(t,e)};function In(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ti(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Mt=function(){return Mt=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Mt.apply(this,arguments)};function H0(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function ci(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}function fi(t,e){var r=e&&e.cache?e.cache:V0,n=e&&e.serializer?e.serializer:Y0,i=e&&e.strategy?e.strategy:j0;return i(t,{cache:r,serializer:n})}function U0(t){return t==null||typeof t=="number"||typeof t=="boolean"}function I0(t,e,r,n){var i=U0(n)?n:r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.call(this,n),e.set(i,a)),a}function ko(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.apply(this,n),e.set(i,a)),a}function So(t,e,r,n,i){return r.bind(e,t,n,i)}function j0(t,e){var r=t.length===1?I0:ko;return So(t,this,r,e.cache.create(),e.serializer)}function G0(t,e){return So(t,this,ko,e.cache.create(),e.serializer)}var Y0=function(){return JSON.stringify(arguments)},W0=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,r){this.cache[e]=r},t}(),V0={create:function(){return new W0}},di={variadic:G0},Dn=function(){return Dn=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Dn.apply(this,arguments)};var me;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(me||(me={}));var ze;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(ze||(ze={}));var Or;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Or||(Or={}));function za(t){return t.type===ze.literal}function q0(t){return t.type===ze.argument}function Po(t){return t.type===ze.number}function xo(t){return t.type===ze.date}function Do(t){return t.type===ze.time}function Lo(t){return t.type===ze.select}function Eo(t){return t.type===ze.plural}function J0(t){return t.type===ze.pound}function Mo(t){return t.type===ze.tag}function Ro(t){return!!(t&&typeof t=="object"&&t.type===Or.number)}function ki(t){return!!(t&&typeof t=="object"&&t.type===Or.dateTime)}var Ao=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Z0=/(?:[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;function X0(t){var e={};return t.replace(Z0,function(r){var n=r.length;switch(r[0]){case"G":e.era=n===4?"long":n===5?"narrow":"short";break;case"y":e.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][n-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][n-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][n-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][n-1];break;case"s":e.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var Ue=function(){return Ue=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ue.apply(this,arguments)};var Q0=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function K0(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Q0).filter(function(h){return h.length>0}),r=[],n=0,i=e;n<i.length;n++){var a=i[n],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],l=s.slice(1),u=0,f=l;u<f.length;u++){var d=f[u];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function $0(t){return t.replace(/^(.*?)-/,"")}var Ba=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Fo=/^(@+)?(\+|#+)?[rs]?$/g,eu=/(\*)(0+)|(#+)(0+)|(0+)/g,Oo=/^(0+)$/;function Na(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(Fo,function(r,n,i){return typeof i!="string"?(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length):i==="+"?e.minimumSignificantDigits=n.length:n[0]==="#"?e.maximumSignificantDigits=n.length:(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),e}function zo(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function tu(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if(r==="+!"?(e.signDisplay="always",t=t.slice(2)):r==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!Oo.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ha(t){var e={},r=zo(t);return r||e}function ru(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=$0(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=Ue(Ue(Ue({},e),{notation:"scientific"}),i.options.reduce(function(l,u){return Ue(Ue({},l),Ha(u))},{}));continue;case"engineering":e=Ue(Ue(Ue({},e),{notation:"engineering"}),i.options.reduce(function(l,u){return Ue(Ue({},l),Ha(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(eu,function(l,u,f,d,h,p){if(u)e.minimumIntegerDigits=f.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Oo.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(Ba.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ba,function(l,u,f,d,h,p){return f==="*"?e.minimumFractionDigits=u.length:d&&d[0]==="#"?e.maximumFractionDigits=d.length:h&&p?(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?e=Ue(Ue({},e),{trailingZeroDisplay:"stripIfInteger"}):a&&(e=Ue(Ue({},e),Na(a)));continue}if(Fo.test(i.stem)){e=Ue(Ue({},e),Na(i.stem));continue}var s=zo(i.stem);s&&(e=Ue(Ue({},e),s));var o=tu(i.stem);o&&(e=Ue(Ue({},e),o))}return e}var gn={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function nu(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if(i==="j"){for(var a=0;n+1<t.length&&t.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=iu(e);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function iu(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=t.language,n;r!=="root"&&(n=t.maximize().region);var i=gn[n||""]||gn[r||""]||gn["".concat(r,"-001")]||gn["001"];return i[0]}var hi,au=new RegExp("^".concat(Ao.source,"*")),su=new RegExp("".concat(Ao.source,"*$"));function pe(t,e){return{start:t,end:e}}var ou=!!String.prototype.startsWith&&"_a".startsWith("a",1),lu=!!String.fromCodePoint,uu=!!Object.fromEntries,cu=!!String.prototype.codePointAt,fu=!!String.prototype.trimStart,du=!!String.prototype.trimEnd,hu=!!Number.isSafeInteger,mu=hu?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Si=!0;try{var pu=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Si=((hi=pu.exec("a"))===null||hi===void 0?void 0:hi[0])==="a"}catch(t){Si=!1}var Ua=ou?function(e,r,n){return e.startsWith(r,n)}:function(e,r,n){return e.slice(n,n+r.length)===r},Pi=lu?String.fromCodePoint:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n="",i=e.length,a=0,s;i>a;){if(s=e[a++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Ia=uu?Object.fromEntries:function(e){for(var r={},n=0,i=e;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},Bo=cu?function(e,r){return e.codePointAt(r)}:function(e,r){var n=e.length;if(!(r<0||r>=n)){var i=e.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=e.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},gu=fu?function(e){return e.trimStart()}:function(e){return e.replace(au,"")},bu=du?function(e){return e.trimEnd()}:function(e){return e.replace(su,"")};function No(t,e){return new RegExp(t,e)}var xi;if(Si){var ja=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xi=function(e,r){var n;ja.lastIndex=r;var i=ja.exec(e);return(n=i[1])!==null&&n!==void 0?n:""}}else xi=function(e,r){for(var n=[];;){var i=Bo(e,r);if(i===void 0||Ho(i)||vu(i))break;n.push(i),r+=i>=65536?2:1}return Pi.apply(void 0,n)};var _u=function(){function t(e,r){r===void 0&&(r={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(e,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&e>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:ze.pound,location:pe(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(me.UNMATCHED_CLOSING_TAG,pe(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Di(this.peek()||0)){var s=this.parseTag(e,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ze.literal,value:"<".concat(i,"/>"),location:pe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,r,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Di(this.char()))return this.error(me.INVALID_TAG,pe(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(me.UNMATCHED_CLOSING_TAG,pe(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ze.tag,value:i,children:s,location:pe(n,this.clonePosition())},err:null}:this.error(me.INVALID_TAG,pe(o,this.clonePosition())))}else return this.error(me.UNCLOSED_TAG,pe(n,this.clonePosition()))}else return this.error(me.INVALID_TAG,pe(n,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Cu(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(e,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=pe(n,this.clonePosition());return{val:{type:ze.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!yu(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Pi.apply(void 0,r)},t.prototype.tryParseUnquoted=function(e,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&e>0?null:(this.bump(),Pi(n))},t.prototype.parseArgument=function(e,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(me.EMPTY_ARGUMENT,pe(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ze.argument,value:i,location:pe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition())):this.parseArgumentOptions(e,r,i,n);default:return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),r=this.offset(),n=xi(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=pe(e,a);return{value:n,location:s}},t.prototype.parseArgumentOptions=function(e,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(me.EXPECT_ARGUMENT_TYPE,pe(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=bu(d.val);if(h.length===0)return this.error(me.EXPECT_ARGUMENT_STYLE,pe(this.clonePosition(),this.clonePosition()));var p=pe(f,this.clonePosition());u={style:h,styleLocation:p}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var g=pe(i,this.clonePosition());if(u&&Ua(u==null?void 0:u.style,"::",0)){var P=gu(u.style.slice(2));if(o==="number"){var d=this.parseNumberSkeletonFromString(P,u.styleLocation);return d.err?d:{val:{type:ze.number,value:n,location:g,style:d.val},err:null}}else{if(P.length===0)return this.error(me.EXPECT_DATE_TIME_SKELETON,g);var L=P;this.locale&&(L=nu(P,this.locale));var h={type:Or.dateTime,pattern:L,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?X0(L):{}},E=o==="date"?ze.date:ze.time;return{val:{type:E,value:n,location:g,style:h},err:null}}}return{val:{type:o==="number"?ze.number:o==="date"?ze.date:ze.time,value:n,location:g,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(me.EXPECT_SELECT_ARGUMENT_OPTIONS,pe(v,Dn({},v)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),Y=0;if(o!=="select"&&w.value==="offset"){if(!this.bumpIf(":"))return this.error(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pe(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,me.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),w=this.parseIdentifierIfPossible(),Y=d.val}var D=this.tryParsePluralOrSelectOptions(e,o,r,w);if(D.err)return D;var _=this.tryParseArgumentClose(i);if(_.err)return _;var F=pe(i,this.clonePosition());return o==="select"?{val:{type:ze.select,value:n,options:Ia(D.val),location:F},err:null}:{val:{type:ze.plural,value:n,options:Ia(D.val),offset:Y,pluralType:o==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(me.INVALID_ARGUMENT_TYPE,pe(s,l))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(me.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,pe(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,r){var n=[];try{n=K0(e)}catch(i){return this.error(me.INVALID_NUMBER_SKELETON,r)}return{val:{type:Or.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ru(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,r,n,i){for(var a,s=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_SELECTOR,me.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=pe(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?me.DUPLICATE_SELECT_ARGUMENT_SELECTOR:me.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:me.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,pe(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,r,n);if(_.err)return _;var g=this.tryParseArgumentClose(p);if(g.err)return g;o.push([u,{value:_.val,location:pe(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR:me.EXPECT_PLURAL_ARGUMENT_SELECTOR,pe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(me.MISSING_OTHER_CLAUSE,pe(this.clonePosition(),this.clonePosition())):{val:o,err:null}},t.prototype.tryParseDecimalInteger=function(e,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var l=pe(i,this.clonePosition());return a?(s*=n,mu(s)?{val:s,err:null}:this.error(r,l)):this.error(e,l)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var r=Bo(this.message,e);if(r===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(e,r){return{val:null,err:{kind:e,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Ua(this.message,e,this.offset())){for(var r=0;r<e.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var r=this.offset(),n=this.message.indexOf(e,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var r=this.offset();if(r===e)break;if(r>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ho(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(e>=65536?2:1));return n!=null?n:null},t}();function Di(t){return t>=97&&t<=122||t>=65&&t<=90}function yu(t){return Di(t)||t===47}function Cu(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Ho(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function vu(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Li(t){t.forEach(function(e){if(delete e.location,Lo(e)||Eo(e))for(var r in e.options)delete e.options[r].location,Li(e.options[r].value);else Po(e)&&Ro(e.style)||(xo(e)||Do(e))&&ki(e.style)?delete e.style.location:Mo(e)&&Li(e.children)})}function wu(t,e){e===void 0&&(e={}),e=Dn({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new _u(t,e).parse();if(r.err){var n=SyntaxError(me[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return e!=null&&e.captureLocation||Li(r.val),r.val}var zr;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(zr||(zr={}));var jn=function(t){In(e,t);function e(r,n,i){var a=t.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Ga=function(t){In(e,t);function e(r,n,i,a){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),zr.INVALID_VALUE,a)||this}return e}(jn),Tu=function(t){In(e,t);function e(r,n,i){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),zr.INVALID_VALUE,i)||this}return e}(jn),ku=function(t){In(e,t);function e(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),zr.MISSING_VALUE,n)||this}return e}(jn),ot;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(ot||(ot={}));function Su(t){return t.length<2?t:t.reduce(function(e,r){var n=e[e.length-1];return!n||n.type!==ot.literal||r.type!==ot.literal?e.push(r):n.value+=r.value,e},[])}function Pu(t){return typeof t=="function"}function wn(t,e,r,n,i,a,s){if(t.length===1&&za(t[0]))return[{type:ot.literal,value:t[0].value}];for(var o=[],l=0,u=t;l<u.length;l++){var f=u[l];if(za(f)){o.push({type:ot.literal,value:f.value});continue}if(J0(f)){typeof a=="number"&&o.push({type:ot.literal,value:r.getNumberFormat(e).format(a)});continue}var d=f.value;if(!(i&&d in i))throw new ku(d,s);var h=i[d];if(q0(f)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),o.push({type:typeof h=="string"?ot.literal:ot.object,value:h});continue}if(xo(f)){var p=typeof f.style=="string"?n.date[f.style]:ki(f.style)?f.style.parsedOptions:void 0;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(Do(f)){var p=typeof f.style=="string"?n.time[f.style]:ki(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(Po(f)){var p=typeof f.style=="string"?n.number[f.style]:Ro(f.style)?f.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),o.push({type:ot.literal,value:r.getNumberFormat(e,p).format(h)});continue}if(Mo(f)){var _=f.children,g=f.value,P=i[g];if(!Pu(P))throw new Tu(g,"function",s);var L=wn(_,e,r,n,i,a),E=P(L.map(function(Y){return Y.value}));Array.isArray(E)||(E=[E]),o.push.apply(o,E.map(function(Y){return{type:typeof Y=="string"?ot.literal:ot.object,value:Y}}))}if(Lo(f)){var v=f.options[h]||f.options.other;if(!v)throw new Ga(f.value,h,Object.keys(f.options),s);o.push.apply(o,wn(v.value,e,r,n,i));continue}if(Eo(f)){var v=f.options["=".concat(h)];if(!v){if(!Intl.PluralRules)throw new jn(`Intl.PluralRules is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
+
`,zr.MISSING_INTL_API,s);var w=r.getPluralRules(e,{type:f.pluralType}).select(h-(f.offset||0));v=f.options[w]||f.options.other}if(!v)throw new Ga(f.value,h,Object.keys(f.options),s);o.push.apply(o,wn(v.value,e,r,n,i,h-(f.offset||0)));continue}}return Su(o)}function xu(t,e){return e?Mt(Mt(Mt({},t||{}),e||{}),Object.keys(t).reduce(function(r,n){return r[n]=Mt(Mt({},t[n]),e[n]||{}),r},{})):t}function Du(t,e){return e?Object.keys(t).reduce(function(r,n){return r[n]=xu(t[n],e[n]),r},Mt({},t)):t}function mi(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}function Lu(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:fi(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ci([void 0],r,!1)))},{cache:mi(t.number),strategy:di.variadic}),getDateTimeFormat:fi(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ci([void 0],r,!1)))},{cache:mi(t.dateTime),strategy:di.variadic}),getPluralRules:fi(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ci([void 0],r,!1)))},{cache:mi(t.pluralRules),strategy:di.variadic})}}var Uo=function(){function t(e,r,n,i){r===void 0&&(r=t.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(d,h){return!d.length||h.type!==ot.literal||typeof d[d.length-1]!="string"?d.push(h.value):d[d.length-1]+=h.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return wn(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var o=H0(s,["formatters"]);this.ast=t.__parse(e,Mt(Mt({},o),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Du(t.formats,n),this.formatters=i&&i.formatters||Lu(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(e);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=wu,t.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"}}},t}();function Eu(t,e){if(e==null)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const sr={},Mu=(t,e,r)=>r&&(e in sr||(sr[e]={}),t in sr[e]||(sr[e][t]=r),r),Io=(t,e)=>{if(e==null)return;if(e in sr&&t in sr[e])return sr[e][t];const r=ln(e);for(let n=0;n<r.length;n++){const i=r[n],a=Au(i,t);if(a)return Mu(t,e,a)}};let oa;const Hr=Un({});function Ru(t){return oa[t]||null}function jo(t){return t in oa}function Au(t,e){if(!jo(t))return null;const r=Ru(t);return Eu(r,e)}function Fu(t){if(t==null)return;const e=ln(t);for(let r=0;r<e.length;r++){const n=e[r];if(jo(n))return n}}function Go(t,...e){delete sr[t],Hr.update(r=>(r[t]=N0.all([r[t]||{},...e]),r))}Nr([Hr],([t])=>Object.keys(t));Hr.subscribe(t=>oa=t);const Tn={};function Ou(t,e){Tn[t].delete(e),Tn[t].size===0&&delete Tn[t]}function Yo(t){return Tn[t]}function zu(t){return ln(t).map(e=>{const r=Yo(e);return[e,r?[...r]:[]]}).filter(([,e])=>e.length>0)}function Ln(t){return t==null?!1:ln(t).some(e=>{var r;return(r=Yo(e))==null?void 0:r.size})}function Bu(t,e){return Promise.all(e.map(n=>(Ou(t,n),n().then(i=>i.default||i)))).then(n=>Go(t,...n))}const Wr={};function Wo(t){if(!Ln(t))return t in Wr?Wr[t]:Promise.resolve();const e=zu(t);return Wr[t]=Promise.all(e.map(([r,n])=>Bu(r,n))).then(()=>{if(Ln(t))return Wo(t);delete Wr[t]}),Wr[t]}var Ya=Object.getOwnPropertySymbols,Nu=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,Uu=(t,e)=>{var r={};for(var n in t)Nu.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ya)for(var n of Ya(t))e.indexOf(n)<0&&Hu.call(t,n)&&(r[n]=t[n]);return r};const Iu={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"}}};function ju({locale:t,id:e}){console.warn(`[svelte-i18n] The message "${e}" was not found in "${ln(t).join('", "')}".${Ln(fr())?`
|
|
4
|
+
|
|
5
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Gu={fallbackLocale:null,loadingDelay:200,formats:Iu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Zr=Gu;function Br(){return Zr}function rr(t){const e=t,{formats:r}=e,n=Uu(e,["formats"]);let i=t.fallbackLocale;if(t.initialLocale)try{Uo.resolveLocale(t.initialLocale)&&(i=t.initialLocale)}catch(a){console.warn(`[svelte-i18n] The initial locale "${t.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ju:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Zr,n,{initialLocale:i}),r&&("number"in r&&Object.assign(Zr.formats.number,r.number),"date"in r&&Object.assign(Zr.formats.date,r.date),"time"in r&&Object.assign(Zr.formats.time,r.time)),Qt.set(i)}const pi=Un(!1);var Yu=Object.defineProperty,Wu=Object.defineProperties,Vu=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,Ju=Object.prototype.propertyIsEnumerable,Va=(t,e,r)=>e in t?Yu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Zu=(t,e)=>{for(var r in e||(e={}))qu.call(e,r)&&Va(t,r,e[r]);if(Wa)for(var r of Wa(e))Ju.call(e,r)&&Va(t,r,e[r]);return t},Xu=(t,e)=>Wu(t,Vu(e));let Ei;const En=Un(null);function qa(t){return t.split("-").map((e,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ln(t,e=Br().fallbackLocale){const r=qa(t);return e?[...new Set([...r,...qa(e)])]:r}function fr(){return Ei!=null?Ei:void 0}En.subscribe(t=>{Ei=t!=null?t:void 0,typeof window!="undefined"&&t!=null&&document.documentElement.setAttribute("lang",t)});const Qu=t=>{if(t&&Fu(t)&&Ln(t)){const{loadingDelay:e}=Br();let r;return typeof window!="undefined"&&fr()!=null&&e?r=window.setTimeout(()=>pi.set(!0),e):pi.set(!0),Wo(t).then(()=>{En.set(t)}).finally(()=>{clearTimeout(r),pi.set(!1)})}return En.set(t)},Qt=Xu(Zu({},En),{set:Qu}),Gn=t=>{const e=Object.create(null);return n=>{const i=JSON.stringify(n);return i in e?e[i]:e[i]=t(n)}};var Ku=Object.defineProperty,Mn=Object.getOwnPropertySymbols,Vo=Object.prototype.hasOwnProperty,qo=Object.prototype.propertyIsEnumerable,Ja=(t,e,r)=>e in t?Ku(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,la=(t,e)=>{for(var r in e||(e={}))Vo.call(e,r)&&Ja(t,r,e[r]);if(Mn)for(var r of Mn(e))qo.call(e,r)&&Ja(t,r,e[r]);return t},Ur=(t,e)=>{var r={};for(var n in t)Vo.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Mn)for(var n of Mn(t))e.indexOf(n)<0&&qo.call(t,n)&&(r[n]=t[n]);return r};const nn=(t,e)=>{const{formats:r}=Br();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},$u=Gn(t=>{var e=t,{locale:r,format:n}=e,i=Ur(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=nn("number",n)),new Intl.NumberFormat(r,i)}),e2=Gn(t=>{var e=t,{locale:r,format:n}=e,i=Ur(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=nn("date",n):Object.keys(i).length===0&&(i=nn("date","short")),new Intl.DateTimeFormat(r,i)}),t2=Gn(t=>{var e=t,{locale:r,format:n}=e,i=Ur(e,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=nn("time",n):Object.keys(i).length===0&&(i=nn("time","short")),new Intl.DateTimeFormat(r,i)}),r2=(t={})=>{var e=t,{locale:r=fr()}=e,n=Ur(e,["locale"]);return $u(la({locale:r},n))},n2=(t={})=>{var e=t,{locale:r=fr()}=e,n=Ur(e,["locale"]);return e2(la({locale:r},n))},i2=(t={})=>{var e=t,{locale:r=fr()}=e,n=Ur(e,["locale"]);return t2(la({locale:r},n))},a2=Gn((t,e=fr())=>new Uo(t,e,Br().formats,{ignoreTag:Br().ignoreTag})),s2=(t,e={})=>{var r,n,i,a;let s=e;typeof t=="object"&&(s=t,t=s.id);const{values:o,locale:l=fr(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Io(t,l);if(!f)f=(a=(i=(n=(r=Br()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:t,defaultValue:u}))!=null?i:u)!=null?a:t;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!o)return f;let d=f;try{d=a2(f,l).format(o)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,h.message)}return d},o2=(t,e)=>i2(e).format(t),l2=(t,e)=>n2(e).format(t),u2=(t,e)=>r2(e).format(t),c2=(t,e=fr())=>Io(t,e),wt=Nr([Qt,Hr],()=>s2);Nr([Qt],()=>o2);Nr([Qt],()=>l2);Nr([Qt],()=>u2);Nr([Qt,Hr],()=>c2);function f2({withLocale:t,translations:e}){Qt.subscribe(r=>{r==null&&(Hr.set(e),Qt.set(t))})}function Za(t,e){Go(t,e)}function bt(t){Qt.set(t)}/*! *****************************************************************************
|
|
6
|
+
Copyright (c) Microsoft Corporation.
|
|
7
|
+
|
|
8
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
9
|
+
purpose with or without fee is hereby granted.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
12
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
13
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
14
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
15
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
16
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
17
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
18
|
+
***************************************************************************** */var Mi=function(t,e){return Mi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Mi(t,e)};function un(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Mi(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Ri(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ai(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(o){s={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a}function Fi(t,e,r){if(arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||e)}function Vt(t){return typeof t=="function"}function Jo(t){var e=function(n){Error.call(n),n.stack=new Error().stack},r=t(e);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var gi=Jo(function(t){return function(r){t(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
19
|
+
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
20
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function Oi(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Yn=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,r,n,i,a;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=Ri(s),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(g){e={error:g}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}else s.remove(this);var f=this.initialTeardown;if(Vt(f))try{f()}catch(g){a=g instanceof gi?g.errors:[g]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var h=Ri(d),p=h.next();!p.done;p=h.next()){var _=p.value;try{Xa(_)}catch(g){a=a!=null?a:[],g instanceof gi?a=Fi(Fi([],Ai(a)),Ai(g.errors)):a.push(g)}}}catch(g){n={error:g}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}if(a)throw new gi(a)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Xa(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&Oi(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&Oi(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Zo=Yn.EMPTY;function Xo(t){return t instanceof Yn||t&&"closed"in t&&Vt(t.remove)&&Vt(t.add)&&Vt(t.unsubscribe)}function Xa(t){Vt(t)?t():t.unsubscribe()}var d2={Promise:void 0},h2={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Fi([t,e],Ai(r)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function m2(t){h2.setTimeout(function(){throw t})}function Qa(){}function kn(t){t()}var Qo=function(t){un(e,t);function e(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Xo(r)&&r.add(n)):n.destination=b2,n}return e.create=function(r,n,i){return new zi(r,n,i)},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Yn),p2=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(n){bn(n)}},t.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(n){bn(n)}else bn(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(r){bn(r)}},t}(),zi=function(t){un(e,t);function e(r,n,i){var a=t.call(this)||this,s;return Vt(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,a.destination=new p2(s),a}return e}(Qo);function bn(t){m2(t)}function g2(t){throw t}var b2={closed:!0,next:Qa,error:g2,complete:Qa},_2=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function y2(t){return t}function C2(t){return t.length===0?y2:t.length===1?t[0]:function(r){return t.reduce(function(n,i){return i(n)},r)}}var Ka=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(e,r,n){var i=this,a=w2(e)?e:new zi(e,r,n);return kn(function(){var s=i,o=s.operator,l=s.source;a.add(o?o.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){e.error(r)}},t.prototype.forEach=function(e,r){var n=this;return r=$a(r),new r(function(i,a){var s=new zi({next:function(o){try{e(o)}catch(l){a(l),s.unsubscribe()}},error:a,complete:i});n.subscribe(s)})},t.prototype._subscribe=function(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)},t.prototype[_2]=function(){return this},t.prototype.pipe=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return C2(e)(this)},t.prototype.toPromise=function(e){var r=this;return e=$a(e),new e(function(n,i){var a;r.subscribe(function(s){return a=s},function(s){return i(s)},function(){return n(a)})})},t.create=function(e){return new t(e)},t}();function $a(t){var e;return(e=t!=null?t:d2.Promise)!==null&&e!==void 0?e:Promise}function v2(t){return t&&Vt(t.next)&&Vt(t.error)&&Vt(t.complete)}function w2(t){return t&&t instanceof Qo||v2(t)&&Xo(t)}var T2=Jo(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ko=function(t){un(e,t);function e(){var r=t.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return e.prototype.lift=function(r){var n=new es(this,this);return n.operator=r,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new T2},e.prototype.next=function(r){var n=this;kn(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=Ri(n.currentObservers),o=s.next();!o.done;o=s.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}}})},e.prototype.error=function(r){var n=this;kn(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},e.prototype.complete=function(){var r=this;kn(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(r){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,r)},e.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},e.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,s=i.isStopped,o=i.observers;return a||s?Zo:(this.currentObservers=null,o.push(r),new Yn(function(){n.currentObservers=null,Oi(o,r)}))},e.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,s=n.isStopped;i?r.error(a):s&&r.complete()},e.prototype.asObservable=function(){var r=new Ka;return r.source=this,r},e.create=function(r,n){return new es(r,n)},e}(Ka),es=function(t){un(e,t);function e(r,n){var i=t.call(this)||this;return i.destination=r,i.source=n,i}return e.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},e.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},e.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},e.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Zo},e}(Ko),$o={now:function(){return($o.delegate||Date).now()},delegate:void 0},k2=function(t){un(e,t);function e(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=$o);var a=t.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return e.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,s=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(a.push(r),!s&&a.push(o.now()+l)),this._trimBuffer(),t.prototype.next.call(this,r)},e.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,s=i._buffer,o=s.slice(),l=0;l<o.length&&!r.closed;l+=a?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},e.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,s=r._infiniteTimeWindow,o=(s?1:2)*n;if(n<1/0&&o<a.length&&a.splice(0,a.length-o),!s){for(var l=i.now(),u=0,f=1;f<a.length&&a[f]<=l;f+=2)u=f;u&&a.splice(0,u+1)}},e}(Ko);const ts=[],rs={},S2=(t,e=0)=>{if(ts.indexOf(t)==-1){const r=new k2(e);rs[t]=r,ts.push(t)}return rs[t]};window.emWidgets={topic:S2};const Wn=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Vn=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";var Bi={exports:{}};/** @license
|
|
21
|
+
* eventsource.js
|
|
22
|
+
* Available under MIT License (MIT)
|
|
23
|
+
* https://github.com/Yaffle/EventSource/
|
|
24
|
+
*/(function(t,e){(function(r){var n=r.setTimeout,i=r.clearTimeout,a=r.XMLHttpRequest,s=r.XDomainRequest,o=r.ActiveXObject,l=r.EventSource,u=r.document,f=r.Promise,d=r.fetch,h=r.Response,p=r.TextDecoder,_=r.TextEncoder,g=r.AbortController;if(typeof window!="undefined"&&typeof u!="undefined"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(T){u.readyState="complete"},!1)),a==null&&o!=null&&(a=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(T){function N(){}return N.prototype=T,new N}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var P=d;d=function(T,N){var q=N.signal;return P(T,{headers:N.headers,credentials:N.credentials,cache:N.cache}).then(function(z){var ae=z.body.getReader();return q._reader=ae,q._aborted&&q._reader.cancel(),{status:z.status,statusText:z.statusText,headers:z.headers,body:{getReader:function(){return ae}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function L(){this.bitsNeeded=0,this.codePoint=0}L.prototype.decode=function(T){function N(ee,se,Z){if(Z===1)return ee>=128>>se&&ee<<se<=2047;if(Z===2)return ee>=2048>>se&&ee<<se<=55295||ee>=57344>>se&&ee<<se<=65535;if(Z===3)return ee>=65536>>se&&ee<<se<=1114111;throw new Error}function q(ee,se){if(ee===6*1)return se>>6>15?3:se>31?2:1;if(ee===6*2)return se>15?3:2;if(ee===6*3)return 3;throw new Error}for(var z=65533,ae="",Q=this.bitsNeeded,le=this.codePoint,S=0;S<T.length;S+=1){var X=T[S];Q!==0&&(X<128||X>191||!N(le<<6|X&63,Q-6,q(Q,le)))&&(Q=0,le=z,ae+=String.fromCharCode(le)),Q===0?(X>=0&&X<=127?(Q=0,le=X):X>=192&&X<=223?(Q=6*1,le=X&31):X>=224&&X<=239?(Q=6*2,le=X&15):X>=240&&X<=247?(Q=6*3,le=X&7):(Q=0,le=z),Q!==0&&!N(le,Q,q(Q,le))&&(Q=0,le=z)):(Q-=6,le=le<<6|X&63),Q===0&&(le<=65535?ae+=String.fromCharCode(le):(ae+=String.fromCharCode(55296+(le-65535-1>>10)),ae+=String.fromCharCode(56320+(le-65535-1&1023))))}return this.bitsNeeded=Q,this.codePoint=le,ae};var E=function(){try{return new p().decode(new _().encode("test"),{stream:!0})==="test"}catch(T){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+T)}return!1};(p==null||_==null||!E())&&(p=L);var v=function(){};function w(T){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=v,this.onload=v,this.onerror=v,this.onreadystatechange=v,this._contentType="",this._xhr=T,this._sendTimeout=0,this._abort=v}w.prototype.open=function(T,N){this._abort(!0);var q=this,z=this._xhr,ae=1,Q=0;this._abort=function(Z){q._sendTimeout!==0&&(i(q._sendTimeout),q._sendTimeout=0),(ae===1||ae===2||ae===3)&&(ae=4,z.onload=v,z.onerror=v,z.onabort=v,z.onprogress=v,z.onreadystatechange=v,z.abort(),Q!==0&&(i(Q),Q=0),Z||(q.readyState=4,q.onabort(null),q.onreadystatechange())),ae=0};var le=function(){if(ae===1){var Z=0,ue="",He=void 0;if("contentType"in z)Z=200,ue="OK",He=z.contentType;else try{Z=z.status,ue=z.statusText,He=z.getResponseHeader("Content-Type")}catch(Ht){Z=0,ue="",He=void 0}Z!==0&&(ae=2,q.readyState=2,q.status=Z,q.statusText=ue,q._contentType=He,q.onreadystatechange())}},S=function(){if(le(),ae===2||ae===3){ae=3;var Z="";try{Z=z.responseText}catch(ue){}q.readyState=3,q.responseText=Z,q.onprogress()}},X=function(Z,ue){if((ue==null||ue.preventDefault==null)&&(ue={preventDefault:v}),S(),ae===1||ae===2||ae===3){if(ae=4,Q!==0&&(i(Q),Q=0),q.readyState=4,Z==="load")q.onload(ue);else if(Z==="error")q.onerror(ue);else if(Z==="abort")q.onabort(ue);else throw new TypeError;q.onreadystatechange()}},ee=function(Z){z!=null&&(z.readyState===4?(!("onload"in z)||!("onerror"in z)||!("onabort"in z))&&X(z.responseText===""?"error":"load",Z):z.readyState===3?"onprogress"in z||S():z.readyState===2&&le())},se=function(){Q=n(function(){se()},500),z.readyState===3&&S()};"onload"in z&&(z.onload=function(Z){X("load",Z)}),"onerror"in z&&(z.onerror=function(Z){X("error",Z)}),"onabort"in z&&(z.onabort=function(Z){X("abort",Z)}),"onprogress"in z&&(z.onprogress=S),"onreadystatechange"in z&&(z.onreadystatechange=function(Z){ee(Z)}),("contentType"in z||!("ontimeout"in a.prototype))&&(N+=(N.indexOf("?")===-1?"?":"&")+"padding=true"),z.open(T,N,!0),"readyState"in z&&(Q=n(function(){se()},0))},w.prototype.abort=function(){this._abort(!1)},w.prototype.getResponseHeader=function(T){return this._contentType},w.prototype.setRequestHeader=function(T,N){var q=this._xhr;"setRequestHeader"in q&&q.setRequestHeader(T,N)},w.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},w.prototype.send=function(){if((!("ontimeout"in a.prototype)||!("sendAsBinary"in a.prototype)&&!("mozAnon"in a.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var T=this;T._sendTimeout=n(function(){T._sendTimeout=0,T.send()},4);return}var N=this._xhr;"withCredentials"in N&&(N.withCredentials=this.withCredentials);try{N.send(void 0)}catch(q){throw q}};function Y(T){return T.replace(/[A-Z]/g,function(N){return String.fromCharCode(N.charCodeAt(0)+32)})}function D(T){for(var N=Object.create(null),q=T.split(`\r
|
|
25
|
+
`),z=0;z<q.length;z+=1){var ae=q[z],Q=ae.split(": "),le=Q.shift(),S=Q.join(": ");N[Y(le)]=S}this._map=N}D.prototype.get=function(T){return this._map[Y(T)]},a!=null&&a.HEADERS_RECEIVED==null&&(a.HEADERS_RECEIVED=2);function F(){}F.prototype.open=function(T,N,q,z,ae,Q,le){T.open("GET",ae);var S=0;T.onprogress=function(){var ee=T.responseText,se=ee.slice(S);S+=se.length,q(se)},T.onerror=function(ee){ee.preventDefault(),z(new Error("NetworkError"))},T.onload=function(){z(null)},T.onabort=function(){z(null)},T.onreadystatechange=function(){if(T.readyState===a.HEADERS_RECEIVED){var ee=T.status,se=T.statusText,Z=T.getResponseHeader("Content-Type"),ue=T.getAllResponseHeaders();N(ee,se,Z,new D(ue))}},T.withCredentials=Q;for(var X in le)Object.prototype.hasOwnProperty.call(le,X)&&T.setRequestHeader(X,le[X]);return T.send(),T};function G(T){this._headers=T}G.prototype.get=function(T){return this._headers.get(T)};function M(){}M.prototype.open=function(T,N,q,z,ae,Q,le){var S=null,X=new g,ee=X.signal,se=new p;return d(ae,{headers:le,credentials:Q?"include":"same-origin",signal:ee,cache:"no-store"}).then(function(Z){return S=Z.body.getReader(),N(Z.status,Z.statusText,Z.headers.get("Content-Type"),new G(Z.headers)),new f(function(ue,He){var Ht=function(){S.read().then(function(k){if(k.done)ue(void 0);else{var te=se.decode(k.value,{stream:!0});q(te),Ht()}}).catch(function(k){He(k)})};Ht()})}).catch(function(Z){if(Z.name!=="AbortError")return Z}).then(function(Z){z(Z)}),{abort:function(){S!=null&&S.cancel(),X.abort()}}};function A(){this._listeners=Object.create(null)}function Se(T){n(function(){throw T},0)}A.prototype.dispatchEvent=function(T){T.target=this;var N=this._listeners[T.type];if(N!=null)for(var q=N.length,z=0;z<q;z+=1){var ae=N[z];try{typeof ae.handleEvent=="function"?ae.handleEvent(T):ae.call(this,T)}catch(Q){Se(Q)}}},A.prototype.addEventListener=function(T,N){T=String(T);var q=this._listeners,z=q[T];z==null&&(z=[],q[T]=z);for(var ae=!1,Q=0;Q<z.length;Q+=1)z[Q]===N&&(ae=!0);ae||z.push(N)},A.prototype.removeEventListener=function(T,N){T=String(T);var q=this._listeners,z=q[T];if(z!=null){for(var ae=[],Q=0;Q<z.length;Q+=1)z[Q]!==N&&ae.push(z[Q]);ae.length===0?delete q[T]:q[T]=ae}};function ye(T){this.type=T,this.target=void 0}function xe(T,N){ye.call(this,T),this.data=N.data,this.lastEventId=N.lastEventId}xe.prototype=Object.create(ye.prototype);function Re(T,N){ye.call(this,T),this.status=N.status,this.statusText=N.statusText,this.headers=N.headers}Re.prototype=Object.create(ye.prototype);function Me(T,N){ye.call(this,T),this.error=N.error}Me.prototype=Object.create(ye.prototype);var Ne=-1,Ce=0,U=1,De=2,he=-1,$=0,be=1,I=2,ie=3,Pe=/^text\/event\-stream(;.*)?$/i,ne=1e3,B=18e6,Xe=function(T,N){var q=T==null?N:parseInt(T,10);return q!==q&&(q=N),ve(q)},ve=function(T){return Math.min(Math.max(T,ne),B)},et=function(T,N,q){try{typeof N=="function"&&N.call(T,q)}catch(z){Se(z)}};function Ge(T,N){A.call(this),N=N||{},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,dr(this,T,N)}function St(){return a!=null&&"withCredentials"in a.prototype||s==null?new a:new s}var Et=d!=null&&h!=null&&"body"in h.prototype;function dr(T,N,q){N=String(N);var z=!!q.withCredentials,ae=q.lastEventIdQueryParameterName||"lastEventId",Q=ve(1e3),le=Xe(q.heartbeatTimeout,45e3),S="",X=Q,ee=!1,se=0,Z=q.headers||{},ue=q.Transport,He=Et&&ue==null?void 0:new w(ue!=null?new ue:St()),Ht=ue!=null&&typeof ue!="string"?new ue:He==null?new M:new F,k=void 0,te=0,re=Ne,we="",Ae="",dt="",ht="",at=$,si=0,hr=0,$l=function(Qe,Je,mt,pt){if(re===Ce)if(Qe===200&&mt!=null&&Pe.test(mt)){re=U,ee=Date.now(),X=Q,T.readyState=U;var st=new Re("open",{status:Qe,statusText:Je,headers:pt});T.dispatchEvent(st),et(T,T.onopen,st)}else{var Ke="";Qe!==200?(Je&&(Je=Je.replace(/\s+/g," ")),Ke="EventSource's response has a status "+Qe+" "+Je+" that is not 200. Aborting the connection."):Ke="EventSource's response has a Content-Type specifying an unsupported type: "+(mt==null?"-":mt.replace(/\s+/g," "))+". Aborting the connection.",oi();var st=new Re("error",{status:Qe,statusText:Je,headers:pt});T.dispatchEvent(st),et(T,T.onerror,st),console.error(Ke)}},e0=function(Qe){if(re===U){for(var Je=-1,mt=0;mt<Qe.length;mt+=1){var pt=Qe.charCodeAt(mt);(pt===10||pt===13)&&(Je=mt)}var st=(Je!==-1?ht:"")+Qe.slice(0,Je+1);ht=(Je===-1?ht:"")+Qe.slice(Je+1),Qe!==""&&(ee=Date.now(),se+=Qe.length);for(var Ke=0;Ke<st.length;Ke+=1){var pt=st.charCodeAt(Ke);if(at===he&&pt===10)at=$;else if(at===he&&(at=$),pt===13||pt===10){if(at!==$){at===be&&(hr=Ke+1);var Ut=st.slice(si,hr-1),It=st.slice(hr+(hr<Ke&&st.charCodeAt(hr)===32?1:0),Ke);Ut==="data"?(we+=`
|
|
26
|
+
`,we+=It):Ut==="id"?Ae=It:Ut==="event"?dt=It:Ut==="retry"?(Q=Xe(It,Q),X=Q):Ut==="heartbeatTimeout"&&(le=Xe(It,le),te!==0&&(i(te),te=n(function(){Gr()},le)))}if(at===$){if(we!==""){S=Ae,dt===""&&(dt="message");var Cr=new xe(dt,{data:we.slice(1),lastEventId:Ae});if(T.dispatchEvent(Cr),dt==="open"?et(T,T.onopen,Cr):dt==="message"?et(T,T.onmessage,Cr):dt==="error"&&et(T,T.onerror,Cr),re===De)return}we="",dt=""}at=pt===13?he:$}else at===$&&(si=Ke,at=be),at===be?pt===58&&(hr=Ke+1,at=I):at===I&&(at=ie)}}},La=function(Qe){if(re===U||re===Ce){re=Ne,te!==0&&(i(te),te=0),te=n(function(){Gr()},X),X=ve(Math.min(Q*16,X*2)),T.readyState=Ce;var Je=new Me("error",{error:Qe});T.dispatchEvent(Je),et(T,T.onerror,Je),Qe!=null&&console.error(Qe)}},oi=function(){re=De,k!=null&&(k.abort(),k=void 0),te!==0&&(i(te),te=0),T.readyState=De},Gr=function(){if(te=0,re!==Ne){if(!ee&&k!=null)La(new Error("No activity within "+le+" milliseconds. "+(re===Ce?"No response received.":se+" chars received.")+" Reconnecting.")),k!=null&&(k.abort(),k=void 0);else{var Qe=Math.max((ee||Date.now())+le-Date.now(),1);ee=!1,te=n(function(){Gr()},Qe)}return}ee=!1,se=0,te=n(function(){Gr()},le),re=Ce,we="",dt="",Ae=S,ht="",si=0,hr=0,at=$;var Je=N;if(N.slice(0,5)!=="data:"&&N.slice(0,5)!=="blob:"&&S!==""){var mt=N.indexOf("?");Je=mt===-1?N:N.slice(0,mt+1)+N.slice(mt+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(It,Cr){return Cr===ae?"":It}),Je+=(N.indexOf("?")===-1?"?":"&")+ae+"="+encodeURIComponent(S)}var pt=T.withCredentials,st={};st.Accept="text/event-stream";var Ke=T.headers;if(Ke!=null)for(var Ut in Ke)Object.prototype.hasOwnProperty.call(Ke,Ut)&&(st[Ut]=Ke[Ut]);try{k=Ht.open(He,$l,e0,La,Je,pt,st)}catch(It){throw oi(),It}};T.url=N,T.readyState=Ce,T.withCredentials=z,T.headers=Z,T._close=oi,Gr()}Ge.prototype=Object.create(A.prototype),Ge.prototype.CONNECTING=Ce,Ge.prototype.OPEN=U,Ge.prototype.CLOSED=De,Ge.prototype.close=function(){this._close()},Ge.CONNECTING=Ce,Ge.OPEN=U,Ge.CLOSED=De,Ge.prototype.withCredentials=void 0;var Nt=l;a!=null&&(l==null||!("withCredentials"in l.prototype))&&(Nt=Ge),function(T){{var N=T(e);N!==void 0&&(t.exports=N)}}(function(T){T.EventSourcePolyfill=Ge,T.NativeEventSource=l,T.EventSource=Nt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:w0:globalThis)})(Bi,Bi.exports);var el=Bi.exports;class Xr extends qe{constructor(e){super(),We(this,e,null,null,je,{})}}customElements.define("slot-cell",Ve(Xr,{},[],[],!0));function P2(t){_r(t,"svelte-xwevk",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.svelte-xwevk,.svelte-xwevk::before,.svelte-xwevk::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}')}function x2(t){let e,r,n,i,a,s;return{c(){e=b("div"),r=b("div"),c(r,"class",n="CardImg "+(t[1]=="Closing"||t[1]=="Closed"?"CardImgFinished":"")+" svelte-xwevk"),c(r,"part",i="CardImg "+(t[1]=="Closing"||t[1]=="Closed"?"CardImgFinished":"")),At(r,"background-image","url('"+(t[0]?t[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),c(e,"class","Thumbnail svelte-xwevk"),c(e,"part","Thumbnail")},m(o,l){C(o,e,l),m(e,r),a||(s=er(t[3].call(null,r)),a=!0)},p(o,l){l&2&&n!==(n="CardImg "+(o[1]=="Closing"||o[1]=="Closed"?"CardImgFinished":"")+" svelte-xwevk")&&c(r,"class",n),l&2&&i!==(i="CardImg "+(o[1]=="Closing"||o[1]=="Closed"?"CardImgFinished":""))&&c(r,"part",i),l&1&&At(r,"background-image","url('"+(o[0]?o[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},d(o){o&&y(e),a=!1,s()}}}function D2(t){let e;return{c(){e=b("div"),e.innerHTML='<div class="Skeleton CardImg svelte-xwevk"><ui-skeleton structure="rectangle" width="100%" height="300px" class="svelte-xwevk"></ui-skeleton></div>',c(e,"class","Thumbnail svelte-xwevk"),c(e,"part","Thumbnail")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function L2(t){let e;function r(a,s){return a[2]?D2:x2}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function E2(t,e,r){let{thumbnail:n=""}=e,{status:i=""}=e,{isloading:a=!0}=e;const s=()=>{};return t.$$set=o=>{"thumbnail"in o&&r(0,n=o.thumbnail),"status"in o&&r(1,i=o.status),"isloading"in o&&r(2,a=o.isloading)},[n,i,a,s]}class Ni extends qe{constructor(e){super(),We(this,e,E2,L2,je,{thumbnail:0,status:1,isloading:2},P2)}get thumbnail(){return this.$$.ctx[0]}set thumbnail(e){this.$$set({thumbnail:e}),x()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),x()}get isloading(){return this.$$.ctx[2]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("thumbnail-line",Ve(Ni,{thumbnail:{},status:{},isloading:{type:"Boolean"}},[],[],!0));function M2(t){_r(t,"svelte-rpde8u",".svelte-rpde8u,.svelte-rpde8u::before,.svelte-rpde8u::after{box-sizing:border-box}.Title.svelte-rpde8u{text-transform:uppercase}.DetailsCard.svelte-rpde8u{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle.svelte-rpde8u{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent.svelte-rpde8u{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc.svelte-rpde8u::-webkit-scrollbar{width:5px;height:5px}.sc.svelte-rpde8u::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc.svelte-rpde8u::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}")}function ns(t){let e,r,n,i,a,s,o;function l(d,h){return d[2]?R2:A2}let u=l(t),f=u(t);return{c(){e=b("div"),r=b("p"),n=O(t[1]),i=H(),a=b("div"),f.c(),c(r,"class","Title svelte-rpde8u"),c(r,"part","Title"),c(a,"class","CollapseButtonDetails svelte-rpde8u"),c(a,"part","CollapseButtonDetails"),c(a,"role","button"),c(a,"tabindex","0"),c(e,"class","DetailsTitle svelte-rpde8u"),c(e,"part","DetailsTitle")},m(d,h){C(d,e,h),m(e,r),m(r,n),m(e,i),m(e,a),f.m(a,null),s||(o=tt(a,"click",t[5]),s=!0)},p(d,h){h&2&&W(n,d[1]),u!==(u=l(d))&&(f.d(1),f=u(d),f&&(f.c(),f.m(a,null)))},d(d){d&&y(e),f.d(),s=!1,o()}}}function R2(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M6 9l6 6 6-6"),c(r,"class","svelte-rpde8u"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round"),c(e,"class","svelte-rpde8u")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function A2(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M18 15l-6-6-6 6"),c(r,"class","svelte-rpde8u"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round"),c(e,"class","svelte-rpde8u")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function is(t){let e,r,n,i;return{c(){e=b("div"),e.innerHTML="",c(e,"class","DetailsContent sc svelte-rpde8u"),c(e,"part","DetailsContent")},m(a,s){C(a,e,s),n||(i=er(r=t[4].call(null,e,t[0])),n=!0)},p(a,s){r&&$t(r.update)&&s&1&&r.update.call(null,a[0])},d(a){a&&y(e),n=!1,i()}}}function F2(t){let e,r,n=t[1]&&ns(t),i=t[0]&&!t[2]&&is(t);return{c(){e=b("div"),n&&n.c(),r=H(),i&&i.c(),c(e,"class","DetailsCard svelte-rpde8u"),c(e,"part","DetailsCard")},m(a,s){C(a,e,s),n&&n.m(e,null),m(e,r),i&&i.m(e,null)},p(a,[s]){a[1]?n?n.p(a,s):(n=ns(a),n.c(),n.m(e,r)):n&&(n.d(1),n=null),a[0]&&!a[2]?i?i.p(a,s):(i=is(a),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},i:J,o:J,d(a){a&&y(e),n&&n.d(),i&&i.d()}}}function O2(t,e,r){let{text:n=""}=e,{title:i=""}=e,a=!1;const s=()=>{r(2,a=!a)},o=(u,f)=>{let d=document.createElement("div");d.innerHTML=f,u.append(d)},l=()=>s();return t.$$set=u=>{"text"in u&&r(0,n=u.text),"title"in u&&r(1,i=u.title)},[n,i,a,s,o,l]}class Rn extends qe{constructor(e){super(),We(this,e,O2,F2,je,{text:0,title:1},M2)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),x()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),x()}}customElements.define("title-text-cell",Ve(Rn,{text:{},title:{}},[],[],!0));function z2(t){let e,r,n=t[3]("tournamentsThumbnail.scoreCriteria")+"",i,a,s,o,l,u=t[3]("tournamentsThumbnail.minbet")+"",f,d,h,p,_,g;return{c(){e=b("div"),r=b("p"),i=O(n),a=O(`:
|
|
27
|
+
`),s=b("span"),o=O(t[2]),l=O(`
|
|
28
|
+
(`),f=O(u),d=H(),h=O(t[0]),p=O(")"),c(s,"part","ScoreCriteriaSpan"),c(r,"part","ScoreCriteriaP"),c(e,"class","ScoreCriteria"),c(e,"part","ScoreCriteria")},m(P,L){C(P,e,L),m(e,r),m(r,i),m(r,a),m(r,s),m(s,o),m(r,l),m(r,f),m(r,d),m(r,h),m(r,p),_||(g=er(t[4].call(null,s)),_=!0)},p(P,L){L&8&&n!==(n=P[3]("tournamentsThumbnail.scoreCriteria")+"")&&W(i,n),L&4&&W(o,P[2]),L&8&&u!==(u=P[3]("tournamentsThumbnail.minbet")+"")&&W(f,u),L&1&&W(h,P[0])},d(P){P&&y(e),_=!1,g()}}}function B2(t){let e;return{c(){e=b("div"),e.innerHTML='<p part="ScoreCriteriaP"><ui-skeleton structure="text" width="100%" height="25px"></ui-skeleton></p>',c(e,"class","ScoreCriteria Loading"),c(e,"part","ScoreCriteria")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function N2(t){let e;function r(a,s){return a[1]?B2:z2}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function H2(t,e,r){let n;vt(t,wt,d=>r(3,n=d));let{scorecriteria:i=""}=e,{lang:a="en"}=e,{minbetcount:s}=e,{isloading:o=!0}=e;rr({fallbackLocale:"en",initialLocale:"en"});const l=()=>{bt(a),f()};let u="";const f=()=>{i=="BetCount"&&r(2,u=n("tournamentsThumbnail.betCount")),i=="MaxWinStakeRatio"&&r(2,u=n("tournamentsThumbnail.maxWinStakeRatio")),i=="WinStakeRatio"&&r(2,u=n("tournamentsThumbnail.winStakeRatio"))};return t.$$set=d=>{"scorecriteria"in d&&r(5,i=d.scorecriteria),"lang"in d&&r(6,a=d.lang),"minbetcount"in d&&r(0,s=d.minbetcount),"isloading"in d&&r(1,o=d.isloading)},t.$$.update=()=>{t.$$.dirty&64&&a&&l(),t.$$.dirty&32&&i&&f()},[s,o,u,n,f,i,a]}class Hi extends qe{constructor(e){super(),We(this,e,H2,N2,je,{scorecriteria:5,lang:6,minbetcount:0,isloading:1})}get scorecriteria(){return this.$$.ctx[5]}set scorecriteria(e){this.$$set({scorecriteria:e}),x()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),x()}get minbetcount(){return this.$$.ctx[0]}set minbetcount(e){this.$$set({minbetcount:e}),x()}get isloading(){return this.$$.ctx[1]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("score-criteria-cell",Ve(Hi,{scorecriteria:{},lang:{},minbetcount:{},isloading:{type:"Boolean"}},[],[],!0));function U2(t){let e,r=t[1]&&as(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,i){n[1]?r?r.p(n,i):(r=as(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(n)}}}function I2(t){let e,r=t[9]("tournamentsThController.login")+"",n,i,a,s=t[9]("tournamentsThController.register")+"",o,l,u;return{c(){e=b("button"),n=O(r),i=H(),a=b("button"),o=O(s),c(e,"class","LoginButton"),c(e,"part","LoginButton"),c(a,"class","RegisterButton"),c(a,"part","RegisterButton")},m(f,d){C(f,e,d),m(e,n),C(f,i,d),C(f,a,d),m(a,o),l||(u=[tt(e,"click",t[23]),tt(a,"click",t[24])],l=!0)},p(f,d){d&512&&r!==(r=f[9]("tournamentsThController.login")+"")&&W(n,r),d&512&&s!==(s=f[9]("tournamentsThController.register")+"")&&W(o,s)},d(f){f&&(y(e),y(i),y(a)),l=!1,Ot(u)}}}function as(t){let e,r,n,i,a;function s(u,f){return u[5]==!0?G2:j2}let o=s(t),l=o(t);return{c(){e=b("button"),l.c(),c(e,"class",r="JoinButton "+(t[3]?"JoinButtonFullSize":"")),c(e,"part",n="JoinButton "+(t[3]?"JoinButtonFullSize":"")),e.disabled=t[6]},m(u,f){C(u,e,f),l.m(e,null),i||(a=tt(e,"click",t[25]),i=!0)},p(u,f){o===(o=s(u))&&l?l.p(u,f):(l.d(1),l=o(u),l&&(l.c(),l.m(e,null))),f&8&&r!==(r="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(e,"class",r),f&8&&n!==(n="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(e,"part",n),f&64&&(e.disabled=u[6])},d(u){u&&y(e),l.d(),i=!1,a()}}}function j2(t){let e,r=t[9]("tournamentsThController.join")+"",n,i,a,s,o,l,u,f;return{c(){e=b("span"),n=O(r),i=H(),a=$e("svg"),s=$e("defs"),o=$e("style"),l=O(".a{fill:var(--emw--color-white, #FFFFFF);}"),u=$e("g"),f=$e("path"),c(e,"part","JoinButtonSpan"),c(e,"class","JoinButtonSpan"),c(f,"class","a"),c(f,"part","a JoinButtonSvgA"),c(f,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),c(f,"transform","translate(26 26) rotate(180)"),c(u,"transform","translate(26 26) rotate(180)"),c(a,"part","JoinButtonSvg"),c(a,"class","JoinButtonSvg"),c(a,"xmlns","http://www.w3.org/2000/svg"),c(a,"width","26"),c(a,"height","26"),c(a,"viewBox","0 0 26 26")},m(d,h){C(d,e,h),m(e,n),C(d,i,h),C(d,a,h),m(a,s),m(s,o),m(o,l),m(a,u),m(u,f)},p(d,h){h&512&&r!==(r=d[9]("tournamentsThController.join")+"")&&W(n,r)},d(d){d&&(y(e),y(i),y(a))}}}function G2(t){let e,r;return{c(){e=$e("svg"),r=$e("circle"),c(r,"class","circle"),c(r,"part","circle"),c(r,"cx","20"),c(r,"cy","20"),c(r,"r","18"),c(e,"class","spinner"),c(e,"part","spinner")},m(n,i){C(n,e,i),m(e,r)},p:J,d(n){n&&y(e)}}}function ss(t){let e,r=t[9]("tournamentsThController.joinerror")+"",n,i,a;return{c(){e=b("span"),n=O(r),i=H(),a=O(t[7]),c(e,"class","ErrorText"),c(e,"part","ErrorText")},m(s,o){C(s,e,o),m(e,n),m(e,i),m(e,a)},p(s,o){o&512&&r!==(r=s[9]("tournamentsThController.joinerror")+"")&&W(n,r),o&128&&W(a,s[7])},d(s){s&&y(e)}}}function Y2(t){let e,r,n;function i(l,u){if(!l[4])return I2;if(l[2]!="Closed"&&l[2]!="Closing")return U2}let a=i(t),s=a&&a(t),o=(t[6]||t[8])&&ss(t);return{c(){e=b("div"),s&&s.c(),r=H(),o&&o.c(),n=de(),c(e,"class","TournamentButtons"),c(e,"part","TournamentButtons")},m(l,u){C(l,e,u),s&&s.m(e,null),C(l,r,u),o&&o.m(l,u),C(l,n,u)},p(l,[u]){a===(a=i(l))&&s?s.p(l,u):(s&&s.d(1),s=a&&a(l),s&&(s.c(),s.m(e,null))),l[6]||l[8]?o?o.p(l,u):(o=ss(l),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},i:J,o:J,d(l){l&&(y(e),y(r),y(n)),s&&s.d(),o&&o.d(l)}}}function W2(t,e,r){let n;vt(t,wt,U=>r(9,n=U));let{session:i=""}=e,{tourid:a=""}=e,{endpoint:s=""}=e,{userenrolled:o=""}=e,{showleaderboard:l=""}=e,{lang:u=""}=e,{loginevent:f=""}=e,{registerevent:d=""}=e,{loginurl:h=""}=e,{registerurl:p=""}=e,{currency:_=""}=e,{bonuscode:g=""}=e,{status:P=""}=e,L="";rr({fallbackLocale:"en",initialLocale:"en"});const E=()=>{bt(u)};let v=!1,w="",Y=window.navigator.userAgent,D=!1,F=!1,G="There was an error while trying to join the tournament",M=!1;const A=()=>{f&&window.postMessage({type:f,transition:"Login"},window.location.href),h&&(window.location=h)},Se=()=>{d&&window.postMessage({type:d,transition:"Register"},window.location.href),p&&(window.location=p)},ye=()=>{i.length>0&&i!="false"?(w=i,r(4,v=!0)):r(4,v=!1)},xe=(U,De)=>Yr(this,null,function*(){var Xe;r(6,F=!1),r(8,M=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:U},window.location.href),r(5,D=!0);let he=new URL(`${s}/v1/bonus/claim`),$=new Headers,be={};he.searchParams.append("language",u),he.searchParams.append("platform",Vn(Y)),$.append("Content-Type","application/json"),$.append("X-SessionID",w),De&&(be={language:u,bonusCode:De,currency:_,type:"tournament"});let I={method:"PUT",headers:$,body:JSON.stringify(be)};const ie=()=>{r(5,D=!1),r(13,o="true"),window.postMessage({type:"TournamentUserEnrolled",userenrolled:o},window.location.href)},Pe=ve=>{r(5,D=!1),ve&&r(7,G=ve),r(6,F=!0)},B=yield Yr(this,null,function*(){let ve;try{ve=yield fetch(he,I),ve=yield ve.json()}catch(et){Pe()}return ve});if(B)if(B.success==!0)ie();else if(B.errorMessage.match("VersionMismatchException")){let ve;ve=yield fetch(`${s}/tournaments/${a}`,{headers:{"X-SessionID":i}}),ve=yield ve.json(),(Xe=ve==null?void 0:ve.item)!=null&&Xe.playerEnrolled?ie():(Pe(B.errorMessage),r(8,M=!0),r(6,F=!1))}else Pe(B.errorMessage)}),Re=U=>{U.data&&U.data.type=="UserSessionID"&&(r(4,v=!0),w=U.data.session)};tr(()=>(r(3,L=l=="true"),window.addEventListener("message",Re),()=>{window.removeEventListener("message",Re)}));const Me=()=>A(),Ne=()=>Se(),Ce=()=>xe(a,g);return t.$$set=U=>{"session"in U&&r(14,i=U.session),"tourid"in U&&r(0,a=U.tourid),"endpoint"in U&&r(15,s=U.endpoint),"userenrolled"in U&&r(13,o=U.userenrolled),"showleaderboard"in U&&r(16,l=U.showleaderboard),"lang"in U&&r(17,u=U.lang),"loginevent"in U&&r(18,f=U.loginevent),"registerevent"in U&&r(19,d=U.registerevent),"loginurl"in U&&r(20,h=U.loginurl),"registerurl"in U&&r(21,p=U.registerurl),"currency"in U&&r(22,_=U.currency),"bonuscode"in U&&r(1,g=U.bonuscode),"status"in U&&r(2,P=U.status)},t.$$.update=()=>{t.$$.dirty&16384&&i&&ye(),t.$$.dirty&131072&&u&&E()},[a,g,P,L,v,D,F,G,M,n,A,Se,xe,o,i,s,l,u,f,d,h,p,_,Me,Ne,Ce]}class Ui extends qe{constructor(e){super(),We(this,e,W2,Y2,je,{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})}get session(){return this.$$.ctx[14]}set session(e){this.$$set({session:e}),x()}get tourid(){return this.$$.ctx[0]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),x()}get userenrolled(){return this.$$.ctx[13]}set userenrolled(e){this.$$set({userenrolled:e}),x()}get showleaderboard(){return this.$$.ctx[16]}set showleaderboard(e){this.$$set({showleaderboard:e}),x()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),x()}get loginevent(){return this.$$.ctx[18]}set loginevent(e){this.$$set({loginevent:e}),x()}get registerevent(){return this.$$.ctx[19]}set registerevent(e){this.$$set({registerevent:e}),x()}get loginurl(){return this.$$.ctx[20]}set loginurl(e){this.$$set({loginurl:e}),x()}get registerurl(){return this.$$.ctx[21]}set registerurl(e){this.$$set({registerurl:e}),x()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),x()}get bonuscode(){return this.$$.ctx[1]}set bonuscode(e){this.$$set({bonuscode:e}),x()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),x()}}customElements.define("tournament-join-button-cell",Ve(Ui,{session:{},tourid:{},endpoint:{},userenrolled:{},showleaderboard:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},bonuscode:{},status:{}},[],[],!0));function V2(t){_r(t,"svelte-1hk5bqq",".Status.svelte-1hk5bqq{color:greenyellow}")}function os(t){let e,r,n,i,a,s,o,l=t[0]=="Running"&&ls(t);return{c(){e=b("div"),r=O(t[2]),n=H(),l&&l.c(),c(e,"class",i="Status "+t[3]+" TagContent svelte-1hk5bqq"),c(e,"part",a="Status "+t[3]+" TagContent")},m(u,f){C(u,e,f),m(e,r),m(e,n),l&&l.m(e,null),s||(o=er(t[5].call(null,e)),s=!0)},p(u,f){f&4&&W(r,u[2]),u[0]=="Running"?l?l.p(u,f):(l=ls(u),l.c(),l.m(e,null)):l&&(l.d(1),l=null),f&8&&i!==(i="Status "+u[3]+" TagContent svelte-1hk5bqq")&&c(e,"class",i),f&8&&a!==(a="Status "+u[3]+" TagContent")&&c(e,"part",a)},d(u){u&&y(e),l&&l.d(),s=!1,o()}}}function ls(t){let e,r,n=t[4]("tournamentsDuration.left")+"",i;return{c(){e=O(t[1]),r=H(),i=O(n)},m(a,s){C(a,e,s),C(a,r,s),C(a,i,s)},p(a,s){s&2&&W(e,a[1]),s&16&&n!==(n=a[4]("tournamentsDuration.left")+"")&&W(i,n)},d(a){a&&(y(e),y(r),y(i))}}}function q2(t){let e,r=t[0]&&os(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,[i]){n[0]?r?r.p(n,i):(r=os(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:J,o:J,d(n){n&&y(e),r&&r.d(n)}}}function J2(t,e,r){let n;vt(t,wt,v=>r(4,n=v));let{lang:i="en"}=e,{status:a=""}=e,{startdate:s=""}=e,{enddate:o=""}=e,l="",u="";const f=v=>new Date(v).getTime(),d=(v,w)=>(f(w)-f(v))/(1e3*60),h=()=>{u=d(new Date,o),r(1,l=p(u))},p=v=>{const w=(Y,D)=>Y+" "+n(D);if(v<1440){const Y=v/60,D=v%60,F=(D-Math.floor(D))*60;return[Y,D,F].map(G=>Math.floor(G).toString().padStart(2,"0")).join(":")}return w(Math.ceil(v/(60*24)),"tournamentsDuration.days")};rr({fallbackLocale:"en",initialLocale:"en"});const _=()=>{bt(i),L()};let g="",P="";const L=()=>{a=="Unstarted"&&(r(2,g=n("tournamentsThumbnail.scheduled")),r(3,P="StatusUnstarted")),a=="Running"&&(r(2,g=n("tournamentsThumbnail.ongoing")),r(3,P="StatusRunning")),(a=="Closed"||a=="Closing")&&r(2,g=n("tournamentsThumbnail.finished")),a=="Closed"&&r(3,P="StatusClosed"),a=="Closing"&&r(3,P="StatusClosing")};let E=!1;return tr(()=>{r(9,E=!0);const v=setInterval(()=>{s&&o&&h()},1e3);return()=>clearInterval(v)}),t.$$set=v=>{"lang"in v&&r(6,i=v.lang),"status"in v&&r(0,a=v.status),"startdate"in v&&r(7,s=v.startdate),"enddate"in v&&r(8,o=v.enddate)},t.$$.update=()=>{t.$$.dirty&384&&s&&o&&h(),t.$$.dirty&64&&i&&h()&&_(),t.$$.dirty&577&&E&&i&&a&&_()},[a,l,g,P,n,L,i,s,o,E]}class Ii extends qe{constructor(e){super(),We(this,e,J2,q2,je,{lang:6,status:0,startdate:7,enddate:8},V2)}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),x()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),x()}get startdate(){return this.$$.ctx[7]}set startdate(e){this.$$set({startdate:e}),x()}get enddate(){return this.$$.ctx[8]}set enddate(e){this.$$set({enddate:e}),x()}}customElements.define("status-line",Ve(Ii,{lang:{},status:{},startdate:{},enddate:{}},[],[],!0));const Z2="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.50008%205.41842L1.41508%203.33342L0.705078%204.03842L3.50008%206.83342L9.50008%200.833418L8.79508%200.128418L3.50008%205.41842Z'%20fill='var(--emw--color-white,%20%23fff)'/%3e%3c/svg%3e";function us(t){let e,r=t[0]&&cs(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,i){n[0]?r?r.p(n,i):(r=cs(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(n)}}}function cs(t){let e,r,n,i,a=t[2]("tournamentsThController.joined")+"",s;return{c(){e=b("div"),r=b("img"),i=H(),s=O(a),Ye(r.src,n=Z2)||c(r,"src",n),c(r,"alt","Joined"),c(e,"class","Enrolled TagContent"),c(e,"part","Enrolled TagContent")},m(o,l){C(o,e,l),m(e,r),m(e,i),m(e,s)},p(o,l){l&4&&a!==(a=o[2]("tournamentsThController.joined")+"")&&W(s,a)},d(o){o&&y(e)}}}function X2(t){let e,r=t[1]=="true"&&us(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,[i]){n[1]=="true"?r?r.p(n,i):(r=us(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:J,o:J,d(n){n&&y(e),r&&r.d(n)}}}function Q2(t,e,r){let n;vt(t,wt,u=>r(2,n=u));let{lang:i="en"}=e,{showenrolled:a=""}=e,{userenrolled:s}=e;rr({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=u=>{u.data&&u.data.type=="TournamentUserEnrolled"&&r(0,s=u.data.userenrolled)};return tr(()=>(window.addEventListener("message",l),()=>{window.removeEventListener("message",l)})),t.$$set=u=>{"lang"in u&&r(3,i=u.lang),"showenrolled"in u&&r(1,a=u.showenrolled),"userenrolled"in u&&r(0,s=u.userenrolled)},t.$$.update=()=>{t.$$.dirty&8&&i&&o()},[s,a,n,i]}class ji extends qe{constructor(e){super(),We(this,e,Q2,X2,je,{lang:3,showenrolled:1,userenrolled:0})}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),x()}get showenrolled(){return this.$$.ctx[1]}set showenrolled(e){this.$$set({showenrolled:e}),x()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(e){this.$$set({userenrolled:e}),x()}}customElements.define("user-enroll-tag",Ve(ji,{lang:{},showenrolled:{},userenrolled:{}},[],[],!0));function K2(t){let e,r=t[0]&&t[1]&&fs(t);return{c(){e=b("div"),r&&r.c(),c(e,"class","TournamentDuration"),c(e,"part","TournamentDuration")},m(n,i){C(n,e,i),r&&r.m(e,null)},p(n,i){n[0]&&n[1]?r?r.p(n,i):(r=fs(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d()}}}function $2(t){let e;return{c(){e=b("div"),e.innerHTML='<ui-skeleton structure="text" width="100%" height="25px"></ui-skeleton>',c(e,"class","TournamentDuration"),c(e,"part","TournamentDuration")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function fs(t){let e,r,n,i,a,s,o,l,u,f,d,h;function p(v,w){return v[2]=="Finished"||v[2]=="Closing"||v[2]=="Closed"?rc:v[5]>0?tc:ec}let _=p(t),g=_(t);function P(v,w){if(v[2]=="Finished"||v[2]=="Closing"||v[2]=="Closed")return ac;if(v[5]>0)return ic;if(v[4]>0)return nc}let L=P(t),E=L&&L(t);return{c(){e=b("div"),r=b("div"),n=O(t[7]),i=H(),a=b("div"),s=O(t[8]),o=H(),l=b("div"),u=b("div"),g.c(),f=H(),E&&E.c(),c(r,"class","StartDate"),c(r,"part","StartDate"),c(a,"class","EndDate"),c(a,"part","EndDate"),c(e,"class","TournamentDates"),c(e,"part","TournamentDates"),c(u,"class","ProgressBar"),c(u,"part","ProgressBar"),c(l,"class","ProgressBarWrapper"),c(l,"part","ProgressBarWrapper")},m(v,w){C(v,e,w),m(e,r),m(r,n),m(e,i),m(e,a),m(a,s),C(v,o,w),C(v,l,w),m(l,u),g.m(u,null),m(u,f),E&&E.m(u,null),d||(h=er(t[11].call(null,l)),d=!0)},p(v,w){w&128&&W(n,v[7]),w&256&&W(s,v[8]),_===(_=p(v))&&g?g.p(v,w):(g.d(1),g=_(v),g&&(g.c(),g.m(u,f))),L===(L=P(v))&&E?E.p(v,w):(E&&E.d(1),E=L&&L(v),E&&(E.c(),E.m(u,null)))},d(v){v&&(y(e),y(o),y(l)),g.d(),E&&E.d(),d=!1,h()}}}function ec(t){let e;return{c(){e=b("div"),c(e,"class","ProgressBarFill"),c(e,"part","ProgressBarFill"),At(e,"width",t[9]()+"%")},m(r,n){C(r,e,n)},p(r,n){n&512&&At(e,"width",r[9]()+"%")},d(r){r&&y(e)}}}function tc(t){let e;return{c(){e=b("div"),c(e,"class","ProgressBarFillStarting"),c(e,"part","ProgressBarFillStarting")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function rc(t){let e;return{c(){e=b("div"),c(e,"class","ProgressBarFillEnd"),c(e,"part","ProgressBarFillEnd")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function nc(t){let e,r,n,i=t[10]("tournamentsDuration.left")+"",a;return{c(){e=b("div"),r=O(t[6]),n=H(),a=O(i),c(e,"class","Remaining"),c(e,"part","Remaining")},m(s,o){C(s,e,o),m(e,r),m(e,n),m(e,a)},p(s,o){o&64&&W(r,s[6]),o&1024&&i!==(i=s[10]("tournamentsDuration.left")+"")&&W(a,i)},d(s){s&&y(e)}}}function ic(t){let e,r=t[10]("tournamentsDuration.starting")+"",n,i,a=t[12](t[5])+"",s;return{c(){e=b("div"),n=O(r),i=H(),s=O(a),c(e,"class","Remaining"),c(e,"part","Remaining")},m(o,l){C(o,e,l),m(e,n),m(e,i),m(e,s)},p(o,l){l&1024&&r!==(r=o[10]("tournamentsDuration.starting")+"")&&W(n,r),l&32&&a!==(a=o[12](o[5])+"")&&W(s,a)},d(o){o&&y(e)}}}function ac(t){let e,r=t[10]("tournamentsDuration.finished")+"",n;return{c(){e=b("div"),n=O(r),c(e,"class","Finished"),c(e,"part","Finished")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a&1024&&r!==(r=i[10]("tournamentsDuration.finished")+"")&&W(n,r)},d(i){i&&y(e)}}}function sc(t){let e;function r(a,s){return a[3]?$2:K2}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function oc(t,e,r){let n,i;vt(t,wt,D=>r(10,i=D));let{startdate:a=""}=e,{enddate:s=""}=e,{status:o=""}=e,{lang:l="en"}=e,{isloading:u=!0}=e,f="",d="",h="",p="",_="";const g=()=>{bt(l)};bt(l);const P=D=>new Date(D).getTime(),L=(D,F)=>(P(F)-P(D))/(1e3*60),E=()=>{const D=new Date;r(4,f=L(D,s)),r(5,d=L(D,a)),r(6,h=Y(f))},v=D=>{if(!D)return;const F={month:"long"};let G=new Date(D),M=new Intl.DateTimeFormat(l,F).format(G);return`${G.getDate()} ${M}, ${G.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${G.getUTCFullYear()}`},w=()=>{r(7,p=v(a)),r(8,_=v(s))},Y=D=>{const F=(M,A)=>M+" "+i(A),G=M=>{const A=Math.floor(M);return A<10?`0${A}`:`${A}`};if(D<1440){const M=D/60,A=D%60,Se=(A-Math.floor(A))*60;return[M,A,Se].map(ye=>G(ye)).join(":")}return F(Math.ceil(D/(60*24)),"tournamentsDuration.days")};return tr(()=>{const D=setInterval(()=>{a&&s&&E()},1e3);return()=>clearInterval(D)}),t.$$set=D=>{"startdate"in D&&r(0,a=D.startdate),"enddate"in D&&r(1,s=D.enddate),"status"in D&&r(2,o=D.status),"lang"in D&&r(13,l=D.lang),"isloading"in D&&r(3,u=D.isloading)},t.$$.update=()=>{t.$$.dirty&19&&r(9,n=()=>{if(f<=0)return 100;const D=L(a,s),F=100/D;return Math.floor((D-f)*F)}),t.$$.dirty&19&&a&&s&&w()&&E()&&Y(f),t.$$.dirty&8192&&l&&E()&&g(),t.$$.dirty&8208&&l&&Y(f),t.$$.dirty&8192&&l&&w()},[a,s,o,u,f,d,h,p,_,n,i,E,Y,l]}class Gi extends qe{constructor(e){super(),We(this,e,oc,sc,je,{startdate:0,enddate:1,status:2,lang:13,isloading:3})}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),x()}get enddate(){return this.$$.ctx[1]}set enddate(e){this.$$set({enddate:e}),x()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),x()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),x()}get isloading(){return this.$$.ctx[3]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("duration-router",Ve(Gi,{startdate:{},enddate:{},status:{},lang:{},isloading:{type:"Boolean"}},[],[],!0));function lc(t){_r(t,"svelte-tbri7h",".SeeGamesLine .GamesAnchor{color:#fff}.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)}")}function uc(t){let e,r,n=t[4]("tournamentsThumbnail.seegames")+"",i,a,s,o=t[4]("tournamentsThumbnail.here")+"",l,u,f,d,h,p=t[4]("gamesSlider.playNow")+"",_,g,P;return{c(){e=b("div"),r=b("p"),i=O(n),a=H(),s=b("a"),l=O(o),f=H(),d=b("p"),h=b("button"),_=O(p),c(s,"part","GamesAnchor"),c(s,"class","GamesAnchor"),c(s,"href",t[0]),c(s,"target",u=t[2]==="true"?"_self":"_blank"),c(r,"part","GamesP"),c(h,"class","GamesButton"),c(d,"class","GamesButtonWrapper"),c(e,"class","Games"),c(e,"part","Games")},m(L,E){C(L,e,E),m(e,r),m(r,i),m(r,a),m(r,s),m(s,l),m(e,f),m(e,d),m(d,h),m(h,_),g||(P=[tt(s,"click",t[7]),tt(h,"click",t[8])],g=!0)},p(L,E){E&16&&n!==(n=L[4]("tournamentsThumbnail.seegames")+"")&&W(i,n),E&16&&o!==(o=L[4]("tournamentsThumbnail.here")+"")&&W(l,o),E&1&&c(s,"href",L[0]),E&4&&u!==(u=L[2]==="true"?"_self":"_blank")&&c(s,"target",u),E&16&&p!==(p=L[4]("gamesSlider.playNow")+"")&&W(_,p)},d(L){L&&y(e),g=!1,Ot(P)}}}function cc(t){let e;return{c(){e=b("p"),e.innerHTML='<ui-skeleton structure="text" width="100%" height="25px"></ui-skeleton>',c(e,"class","Games Loading"),c(e,"part","Games")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function fc(t){let e;function r(a,s){return a[3]?cc:uc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function dc(t,e,r){let n;vt(t,wt,h=>r(4,n=h));let{gameurl:i=""}=e,{tourid:a=""}=e,{keepbrowsercontext:s="false"}=e,{isloading:o=!0}=e;const l=(h,p)=>{window.postMessage({type:"tournamentGamesClicked",tourId:p},window.location.href)},u=h=>{window.postMessage({type:"tournamentGamesButtonClicked",tourId:h},window.location.href)},f=()=>l(),d=()=>u(a);return t.$$set=h=>{"gameurl"in h&&r(0,i=h.gameurl),"tourid"in h&&r(1,a=h.tourid),"keepbrowsercontext"in h&&r(2,s=h.keepbrowsercontext),"isloading"in h&&r(3,o=h.isloading)},[i,a,s,o,n,l,u,f,d]}class Yi extends qe{constructor(e){super(),We(this,e,dc,fc,je,{gameurl:0,tourid:1,keepbrowsercontext:2,isloading:3},lc)}get gameurl(){return this.$$.ctx[0]}set gameurl(e){this.$$set({gameurl:e}),x()}get tourid(){return this.$$.ctx[1]}set tourid(e){this.$$set({tourid:e}),x()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),x()}get isloading(){return this.$$.ctx[3]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("see-games-line",Ve(Yi,{gameurl:{},tourid:{},keepbrowsercontext:{},isloading:{type:"Boolean"}},[],[],!0));const An="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3552_59823)'%3e%3cpath%20d='M7.01358%200.397379C6.76397%200.495817%206.55304%200.580192%206.54601%200.583707C6.53546%200.590739%207.3089%202.59464%207.33702%202.63332C7.3546%202.66144%208.29679%202.27121%208.29679%202.23605C8.29679%202.21144%208.1878%201.91613%208.05069%201.5716C7.9171%201.22707%207.74132%200.780582%207.66046%200.580192C7.58311%200.376286%207.50577%200.211051%207.49522%200.214567C7.48116%200.214567%207.26671%200.298942%207.01358%200.397379Z'%20fill='white'/%3e%3cpath%20d='M10.3395%200.576676C10.2586%200.780582%2010.0828%201.22707%209.94922%201.5716C9.81211%201.91613%209.70312%202.21144%209.70312%202.23605C9.70312%202.27121%2010.6453%202.66144%2010.6664%202.63332C10.684%202.60168%2011.4258%200.682145%2011.4328%200.636442C11.4398%200.604801%2011.3027%200.530973%2011.025%200.418473C10.7965%200.323551%2010.582%200.239176%2010.5469%200.228629C10.4941%200.211051%2010.459%200.270817%2010.3395%200.576676Z'%20fill='white'/%3e%3cpath%20d='M3.86016%202.07432C3.67031%202.28525%203.51562%202.46455%203.51562%202.4751C3.51562%202.48213%203.8918%202.82666%204.34883%203.23799L5.17852%203.98682L5.40352%203.74424C5.83594%203.27314%205.88867%203.19932%205.83242%203.1501C5.8043%203.12549%205.4668%202.82314%205.08008%202.47861C4.69336%202.13408%204.33828%201.81768%204.28906%201.77549L4.20117%201.69463L3.86016%202.07432Z'%20fill='white'/%3e%3cpath%20d='M12.9735%202.4293C12.52%202.83711%2012.1438%203.17813%2012.1368%203.1957C12.1297%203.22031%2012.7872%203.97266%2012.8188%203.97266C12.8434%203.97266%2014.4852%202.49258%2014.4852%202.475C14.4852%202.46445%2014.3411%202.2957%2014.1618%202.09883C13.986%201.90195%2013.8313%201.72969%2013.8208%201.71563C13.8102%201.70156%2013.427%202.02148%2012.9735%202.4293Z'%20fill='white'/%3e%3cpath%20d='M1.50156%203.76875C1.31172%204.0043%200.991797%204.51406%200.879297%204.75313C0.496094%205.60742%200.478516%206.35273%200.826562%207.17891C0.847656%207.23516%200.830078%207.24219%200.7%207.24219C0.615625%207.24219%200.485547%207.25273%200.415234%207.26328C0.285156%207.28438%200.278125%207.29492%200.211328%207.51992C0.0601562%208.0332%200.025%208.27227%200.0214844%208.78906C0.0214844%209.39727%200.0707031%209.64336%200.299219%2010.1145C0.425781%2010.3711%200.520703%2010.5012%200.75625%2010.7508L1.05508%2011.0672L0.928516%2011.148C0.854687%2011.1902%200.682422%2011.3203%200.541797%2011.4293L0.285156%2011.6332L0.373047%2011.918C0.583984%2012.6%200.875781%2013.1344%201.25898%2013.5422C1.60703%2013.9078%202.12383%2014.2207%202.50703%2014.291C2.57734%2014.3051%202.63711%2014.3332%202.63711%2014.3508C2.63711%2014.3684%202.59141%2014.4527%202.53164%2014.5371C2.47539%2014.6215%202.42617%2014.7059%202.42617%2014.7199C2.42617%2014.7691%202.8375%2015.3598%203.0168%2015.5707C3.37891%2015.9961%203.97656%2016.3758%204.525%2016.5305C4.87305%2016.6289%205.49883%2016.6359%205.81875%2016.5516C6.41641%2016.3898%206.90156%2016.098%207.32344%2015.6445L7.58359%2015.3633L7.70312%2015.4055C7.99141%2015.5039%208.24805%2015.7395%208.38164%2016.0277C8.44844%2016.1754%208.45547%2016.2633%208.46602%2016.991L8.47656%2017.7891H9.00039H9.52422L9.53477%2016.9875C9.54531%2016.2633%209.55234%2016.1754%209.61914%2016.0277C9.75273%2015.7395%2010.0094%2015.5039%2010.2977%2015.4055L10.4172%2015.3633L10.6773%2015.6445C11.0992%2016.098%2011.5844%2016.3898%2012.182%2016.5516C12.502%2016.6359%2013.1277%2016.6289%2013.4758%2016.5305C14.0242%2016.3758%2014.6219%2015.9961%2014.984%2015.5707C15.1633%2015.3598%2015.5746%2014.7691%2015.5746%2014.7199C15.5746%2014.7059%2015.5254%2014.6215%2015.4691%2014.5371C15.4129%2014.4527%2015.3637%2014.3684%2015.3637%2014.3508C15.3637%2014.3332%2015.4234%2014.3051%2015.4937%2014.291C15.5676%2014.277%2015.7223%2014.2277%2015.8383%2014.1785C16.6609%2013.834%2017.2797%2013.05%2017.6277%2011.9109L17.7156%2011.6332L17.459%2011.4293C17.3184%2011.3203%2017.1461%2011.1902%2017.0723%2011.148L16.9457%2011.0672L17.2445%2010.7508C17.4801%2010.5012%2017.575%2010.3711%2017.7016%2010.1145C17.923%209.65391%2017.9793%209.39727%2017.9793%208.80664C17.9828%208.30742%2017.9441%208.06836%2017.7859%207.51992C17.7227%207.29492%2017.7156%207.28438%2017.5855%207.26328C17.5152%207.25273%2017.3852%207.24219%2017.3008%207.24219C17.1707%207.24219%2017.1531%207.23516%2017.1742%207.17891C17.6066%206.14883%2017.4801%205.21719%2016.7559%204.13438C16.3867%203.57891%2016.4254%203.6%2016.0527%203.70898C14.977%204.02188%2014.2703%204.57383%2013.866%205.42461C13.5637%206.06445%2013.5637%206.87656%2013.8695%207.61484C13.982%207.88555%2014.1367%208.17383%2014.2738%208.36719C14.3371%208.45508%2014.3371%208.46211%2014.2%208.73633C14.1262%208.89102%2014.0312%209.16523%2013.9891%209.34453C13.9223%209.63281%2013.9152%209.73477%2013.9363%2010.1883C13.9469%2010.473%2013.9645%2010.7543%2013.9785%2010.8141C13.9961%2010.916%2013.9855%2010.9336%2013.7746%2011.0848C13.3211%2011.4047%2012.9168%2011.9496%2012.6918%2012.5262C12.5371%2012.9234%2012.5441%2012.9164%2012.3754%2012.9445C12.0168%2013.0078%2011.5879%2013.1941%2011.2293%2013.4508C11.0219%2013.5984%2010.4066%2014.2172%2010.4066%2014.277C10.4066%2014.2945%2010.375%2014.3086%2010.3398%2014.3086C10.3012%2014.3086%2010.1465%2014.3473%209.99531%2014.3965C9.69297%2014.4914%209.39766%2014.6707%209.15859%2014.9027L9.00039%2015.0539L8.85625%2014.9098C8.63477%2014.6883%208.30781%2014.4914%208.00547%2014.3965C7.8543%2014.3473%207.69961%2014.3086%207.66094%2014.3086C7.62578%2014.3086%207.59414%2014.2945%207.59414%2014.277C7.59414%2014.2172%206.97891%2013.5984%206.76797%2013.4473C6.4832%2013.2434%206.08945%2013.057%205.78359%2012.9867C5.65%2012.9551%205.51641%2012.9199%205.4918%2012.9059C5.46719%2012.8953%205.39336%2012.7477%205.33008%2012.5789C5.10156%2011.9707%204.69023%2011.4152%204.22969%2011.0848C4.01523%2010.9336%204.00469%2010.916%204.02227%2010.8141C4.03633%2010.7543%204.05391%2010.473%204.06445%2010.1883C4.08555%209.73477%204.07852%209.63281%204.01172%209.34453C3.96953%209.16523%203.87461%208.89102%203.80078%208.73633L3.66367%208.45859L3.76914%208.30391C3.90273%208.11055%204.12422%207.66406%204.20156%207.43555C4.36328%206.95391%204.40547%206.38438%204.30703%205.92383C4.09961%204.95352%203.26641%204.12734%202.12734%203.76523C1.60703%203.6%201.63867%203.6%201.50156%203.76875ZM2.26445%204.95703C2.75664%205.19961%203.09766%205.58281%203.23828%206.05391C3.37187%206.48633%203.28398%207.04531%203.0168%207.51641L2.91133%207.69922L2.62656%207.55156C1.77227%207.10859%201.42422%206.22969%201.76172%205.37188C1.84258%205.16797%202.0043%204.85156%202.03242%204.85156C2.03945%204.85156%202.14492%204.90078%202.26445%204.95703ZM16.1371%205.15039C16.5133%205.92031%2016.4184%206.65156%2015.8734%207.18945C15.7328%207.32656%2015.5465%207.46016%2015.3707%207.55156L15.0895%207.69922L15.0156%207.57266C14.541%206.76758%2014.6043%205.92031%2015.1809%205.35078C15.3602%205.17852%2015.8629%204.85859%2015.9684%204.85156C15.9824%204.85156%2016.0598%204.98516%2016.1371%205.15039ZM1.59297%208.31445C1.96211%208.37773%202.27852%208.53242%202.52813%208.77148C2.76016%208.99297%202.89375%209.21445%202.97109%209.50977C3.02383%209.7207%203.04141%2010.2691%203.00273%2010.4766L2.97812%2010.5891L2.71797%2010.568C1.64219%2010.4695%201.00234%209.72773%201.06211%208.65195C1.07266%208.47969%201.09023%208.32148%201.1043%208.30039C1.13594%208.25117%201.25547%208.25469%201.59297%208.31445ZM16.893%208.29688C16.9387%208.37422%2016.9527%208.92969%2016.9141%209.1582C16.7699%209.97383%2016.1863%2010.473%2015.2547%2010.568L15.0227%2010.5891L14.998%2010.4766C14.9594%2010.2691%2014.977%209.7207%2015.0297%209.50977C15.1914%208.89453%2015.7117%208.4375%2016.3937%208.31445C16.7066%208.2582%2016.8648%208.25117%2016.893%208.29688ZM3.2418%2011.7387C3.51602%2011.8441%203.80781%2012.0691%203.99766%2012.3223C4.19102%2012.5754%204.34219%2012.8742%204.31758%2012.9445C4.30703%2012.9727%204.19453%2013.043%204.07148%2013.1063C3.08711%2013.5879%202.13086%2013.2539%201.62109%2012.2449C1.58242%2012.1641%201.54727%2012.0727%201.54727%2012.0445C1.54727%2011.9742%201.97617%2011.7563%202.24336%2011.6895C2.52109%2011.6191%202.98516%2011.6438%203.2418%2011.7387ZM15.7434%2011.6895C16.0176%2011.7563%2016.4535%2011.9707%2016.4535%2012.0445C16.4535%2012.1992%2016.0809%2012.7547%2015.8418%2012.948C15.3039%2013.391%2014.6113%2013.4437%2013.9152%2013.0922C13.7781%2013.0219%2013.6762%2012.948%2013.6762%2012.9199C13.6762%2012.832%2013.8309%2012.5508%2014.0031%2012.3223C14.425%2011.7598%2015.0648%2011.5312%2015.7434%2011.6895ZM5.5375%2014.0098C5.65%2014.0414%205.83984%2014.1152%205.95586%2014.1785C6.1668%2014.291%206.64492%2014.7129%206.64492%2014.7902C6.64492%2014.8113%206.53594%2014.9309%206.40234%2015.0539C5.63242%2015.7676%204.72891%2015.743%203.94141%2014.9871L3.67422%2014.7305L3.90977%2014.509C4.40195%2014.0414%204.975%2013.8656%205.5375%2014.0098ZM13.2367%2014.0098C13.5391%2014.0906%2013.8273%2014.2559%2014.091%2014.509L14.3266%2014.7305L14.0594%2014.9871C13.2719%2015.743%2012.3684%2015.7676%2011.5984%2015.0539C11.4648%2014.9309%2011.3559%2014.8113%2011.3559%2014.7902C11.3559%2014.7656%2011.4648%2014.6461%2011.5949%2014.5195C12.0906%2014.0449%2012.6707%2013.8621%2013.2367%2014.0098Z'%20fill='white'/%3e%3cpath%20d='M7.497%207.374L8.673%207.066V11H9.646V6.016L7.497%206.471V7.374Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3552_59823'%3e%3crect%20width='18'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",tl="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.01358%200.397379C6.76397%200.495817%206.55304%200.580192%206.54601%200.583707C6.53546%200.590739%207.3089%202.59464%207.33702%202.63332C7.3546%202.66144%208.29679%202.27121%208.29679%202.23605C8.29679%202.21144%208.1878%201.91613%208.05069%201.5716C7.9171%201.22707%207.74132%200.780582%207.66046%200.580192C7.58311%200.376286%207.50577%200.211051%207.49522%200.214567C7.48116%200.214567%207.26671%200.298942%207.01358%200.397379Z'%20fill='white'/%3e%3cpath%20d='M10.3395%200.576676C10.2586%200.780582%2010.0828%201.22707%209.94922%201.5716C9.81211%201.91613%209.70312%202.21144%209.70312%202.23605C9.70312%202.27121%2010.6453%202.66144%2010.6664%202.63332C10.684%202.60168%2011.4258%200.682145%2011.4328%200.636442C11.4398%200.604801%2011.3027%200.530973%2011.025%200.418473C10.7965%200.323551%2010.582%200.239176%2010.5469%200.228629C10.4941%200.211051%2010.459%200.270817%2010.3395%200.576676Z'%20fill='white'/%3e%3cpath%20d='M3.86016%202.07432C3.67031%202.28525%203.51562%202.46455%203.51562%202.4751C3.51562%202.48213%203.8918%202.82666%204.34883%203.23799L5.17852%203.98682L5.40352%203.74424C5.83594%203.27314%205.88867%203.19932%205.83242%203.1501C5.8043%203.12549%205.4668%202.82314%205.08008%202.47861C4.69336%202.13408%204.33828%201.81768%204.28906%201.77549L4.20117%201.69463L3.86016%202.07432Z'%20fill='white'/%3e%3cpath%20d='M12.9735%202.4293C12.52%202.83711%2012.1438%203.17813%2012.1368%203.1957C12.1297%203.22031%2012.7872%203.97266%2012.8188%203.97266C12.8434%203.97266%2014.4852%202.49258%2014.4852%202.475C14.4852%202.46445%2014.3411%202.2957%2014.1618%202.09883C13.986%201.90195%2013.8313%201.72969%2013.8208%201.71563C13.8102%201.70156%2013.427%202.02148%2012.9735%202.4293Z'%20fill='white'/%3e%3cpath%20d='M1.50156%203.76875C1.31172%204.0043%200.991797%204.51406%200.879297%204.75313C0.496094%205.60742%200.478516%206.35273%200.826562%207.17891C0.847656%207.23516%200.830078%207.24219%200.7%207.24219C0.615625%207.24219%200.485547%207.25273%200.415234%207.26328C0.285156%207.28438%200.278125%207.29492%200.211328%207.51992C0.0601562%208.0332%200.025%208.27227%200.0214844%208.78906C0.0214844%209.39727%200.0707031%209.64336%200.299219%2010.1145C0.425781%2010.3711%200.520703%2010.5012%200.75625%2010.7508L1.05508%2011.0672L0.928516%2011.148C0.854687%2011.1902%200.682422%2011.3203%200.541797%2011.4293L0.285156%2011.6332L0.373047%2011.918C0.583984%2012.6%200.875781%2013.1344%201.25898%2013.5422C1.60703%2013.9078%202.12383%2014.2207%202.50703%2014.291C2.57734%2014.3051%202.63711%2014.3332%202.63711%2014.3508C2.63711%2014.3684%202.59141%2014.4527%202.53164%2014.5371C2.47539%2014.6215%202.42617%2014.7059%202.42617%2014.7199C2.42617%2014.7691%202.8375%2015.3598%203.0168%2015.5707C3.37891%2015.9961%203.97656%2016.3758%204.525%2016.5305C4.87305%2016.6289%205.49883%2016.6359%205.81875%2016.5516C6.41641%2016.3898%206.90156%2016.098%207.32344%2015.6445L7.58359%2015.3633L7.70312%2015.4055C7.99141%2015.5039%208.24805%2015.7395%208.38164%2016.0277C8.44844%2016.1754%208.45547%2016.2633%208.46602%2016.991L8.47656%2017.7891H9.00039H9.52422L9.53477%2016.9875C9.54531%2016.2633%209.55234%2016.1754%209.61914%2016.0277C9.75273%2015.7395%2010.0094%2015.5039%2010.2977%2015.4055L10.4172%2015.3633L10.6773%2015.6445C11.0992%2016.098%2011.5844%2016.3898%2012.182%2016.5516C12.502%2016.6359%2013.1277%2016.6289%2013.4758%2016.5305C14.0242%2016.3758%2014.6219%2015.9961%2014.984%2015.5707C15.1633%2015.3598%2015.5746%2014.7691%2015.5746%2014.7199C15.5746%2014.7059%2015.5254%2014.6215%2015.4691%2014.5371C15.4129%2014.4527%2015.3637%2014.3684%2015.3637%2014.3508C15.3637%2014.3332%2015.4234%2014.3051%2015.4937%2014.291C15.5676%2014.277%2015.7223%2014.2277%2015.8383%2014.1785C16.6609%2013.834%2017.2797%2013.05%2017.6277%2011.9109L17.7156%2011.6332L17.459%2011.4293C17.3184%2011.3203%2017.1461%2011.1902%2017.0723%2011.148L16.9457%2011.0672L17.2445%2010.7508C17.4801%2010.5012%2017.575%2010.3711%2017.7016%2010.1145C17.923%209.65391%2017.9793%209.39727%2017.9793%208.80664C17.9828%208.30742%2017.9441%208.06836%2017.7859%207.51992C17.7227%207.29492%2017.7156%207.28438%2017.5855%207.26328C17.5152%207.25273%2017.3852%207.24219%2017.3008%207.24219C17.1707%207.24219%2017.1531%207.23516%2017.1742%207.17891C17.6066%206.14883%2017.4801%205.21719%2016.7559%204.13438C16.3867%203.57891%2016.4254%203.6%2016.0527%203.70898C14.977%204.02188%2014.2703%204.57383%2013.866%205.42461C13.5637%206.06445%2013.5637%206.87656%2013.8695%207.61484C13.982%207.88555%2014.1367%208.17383%2014.2738%208.36719C14.3371%208.45508%2014.3371%208.46211%2014.2%208.73633C14.1262%208.89102%2014.0312%209.16523%2013.9891%209.34453C13.9223%209.63281%2013.9152%209.73477%2013.9363%2010.1883C13.9469%2010.473%2013.9645%2010.7543%2013.9785%2010.8141C13.9961%2010.916%2013.9855%2010.9336%2013.7746%2011.0848C13.3211%2011.4047%2012.9168%2011.9496%2012.6918%2012.5262C12.5371%2012.9234%2012.5441%2012.9164%2012.3754%2012.9445C12.0168%2013.0078%2011.5879%2013.1941%2011.2293%2013.4508C11.0219%2013.5984%2010.4066%2014.2172%2010.4066%2014.277C10.4066%2014.2945%2010.375%2014.3086%2010.3398%2014.3086C10.3012%2014.3086%2010.1465%2014.3473%209.99531%2014.3965C9.69297%2014.4914%209.39766%2014.6707%209.15859%2014.9027L9.00039%2015.0539L8.85625%2014.9098C8.63477%2014.6883%208.30781%2014.4914%208.00547%2014.3965C7.8543%2014.3473%207.69961%2014.3086%207.66094%2014.3086C7.62578%2014.3086%207.59414%2014.2945%207.59414%2014.277C7.59414%2014.2172%206.97891%2013.5984%206.76797%2013.4473C6.4832%2013.2434%206.08945%2013.057%205.78359%2012.9867C5.65%2012.9551%205.51641%2012.9199%205.4918%2012.9059C5.46719%2012.8953%205.39336%2012.7477%205.33008%2012.5789C5.10156%2011.9707%204.69023%2011.4152%204.22969%2011.0848C4.01523%2010.9336%204.00469%2010.916%204.02227%2010.8141C4.03633%2010.7543%204.05391%2010.473%204.06445%2010.1883C4.08555%209.73477%204.07852%209.63281%204.01172%209.34453C3.96953%209.16523%203.87461%208.89102%203.80078%208.73633L3.66367%208.45859L3.76914%208.30391C3.90273%208.11055%204.12422%207.66406%204.20156%207.43555C4.36328%206.95391%204.40547%206.38438%204.30703%205.92383C4.09961%204.95352%203.26641%204.12734%202.12734%203.76523C1.60703%203.6%201.63867%203.6%201.50156%203.76875ZM2.26445%204.95703C2.75664%205.19961%203.09766%205.58281%203.23828%206.05391C3.37187%206.48633%203.28398%207.04531%203.0168%207.51641L2.91133%207.69922L2.62656%207.55156C1.77227%207.10859%201.42422%206.22969%201.76172%205.37188C1.84258%205.16797%202.0043%204.85156%202.03242%204.85156C2.03945%204.85156%202.14492%204.90078%202.26445%204.95703ZM16.1371%205.15039C16.5133%205.92031%2016.4184%206.65156%2015.8734%207.18945C15.7328%207.32656%2015.5465%207.46016%2015.3707%207.55156L15.0895%207.69922L15.0156%207.57266C14.541%206.76758%2014.6043%205.92031%2015.1809%205.35078C15.3602%205.17852%2015.8629%204.85859%2015.9684%204.85156C15.9824%204.85156%2016.0598%204.98516%2016.1371%205.15039ZM1.59297%208.31445C1.96211%208.37773%202.27852%208.53242%202.52813%208.77148C2.76016%208.99297%202.89375%209.21445%202.97109%209.50977C3.02383%209.7207%203.04141%2010.2691%203.00273%2010.4766L2.97812%2010.5891L2.71797%2010.568C1.64219%2010.4695%201.00234%209.72773%201.06211%208.65195C1.07266%208.47969%201.09023%208.32148%201.1043%208.30039C1.13594%208.25117%201.25547%208.25469%201.59297%208.31445ZM16.893%208.29688C16.9387%208.37422%2016.9527%208.92969%2016.9141%209.1582C16.7699%209.97383%2016.1863%2010.473%2015.2547%2010.568L15.0227%2010.5891L14.998%2010.4766C14.9594%2010.2691%2014.977%209.7207%2015.0297%209.50977C15.1914%208.89453%2015.7117%208.4375%2016.3937%208.31445C16.7066%208.2582%2016.8648%208.25117%2016.893%208.29688ZM3.2418%2011.7387C3.51602%2011.8441%203.80781%2012.0691%203.99766%2012.3223C4.19102%2012.5754%204.34219%2012.8742%204.31758%2012.9445C4.30703%2012.9727%204.19453%2013.043%204.07148%2013.1063C3.08711%2013.5879%202.13086%2013.2539%201.62109%2012.2449C1.58242%2012.1641%201.54727%2012.0727%201.54727%2012.0445C1.54727%2011.9742%201.97617%2011.7563%202.24336%2011.6895C2.52109%2011.6191%202.98516%2011.6438%203.2418%2011.7387ZM15.7434%2011.6895C16.0176%2011.7563%2016.4535%2011.9707%2016.4535%2012.0445C16.4535%2012.1992%2016.0809%2012.7547%2015.8418%2012.948C15.3039%2013.391%2014.6113%2013.4437%2013.9152%2013.0922C13.7781%2013.0219%2013.6762%2012.948%2013.6762%2012.9199C13.6762%2012.832%2013.8309%2012.5508%2014.0031%2012.3223C14.425%2011.7598%2015.0648%2011.5312%2015.7434%2011.6895ZM5.5375%2014.0098C5.65%2014.0414%205.83984%2014.1152%205.95586%2014.1785C6.1668%2014.291%206.64492%2014.7129%206.64492%2014.7902C6.64492%2014.8113%206.53594%2014.9309%206.40234%2015.0539C5.63242%2015.7676%204.72891%2015.743%203.94141%2014.9871L3.67422%2014.7305L3.90977%2014.509C4.40195%2014.0414%204.975%2013.8656%205.5375%2014.0098ZM13.2367%2014.0098C13.5391%2014.0906%2013.8273%2014.2559%2014.091%2014.509L14.3266%2014.7305L14.0594%2014.9871C13.2719%2015.743%2012.3684%2015.7676%2011.5984%2015.0539C11.4648%2014.9309%2011.3559%2014.8113%2011.3559%2014.7902C11.3559%2014.7656%2011.4648%2014.6461%2011.5949%2014.5195C12.0906%2014.0449%2012.6707%2013.8621%2013.2367%2014.0098Z'%20fill='white'/%3e%3cpath%20d='M7.14%2011H11.081V10.083H9.03L10.304%208.879C10.5093%208.69233%2010.675%208.48467%2010.801%208.256C10.927%208.02733%2010.99%207.78233%2010.99%207.521C10.99%207.34367%2010.9527%207.16633%2010.878%206.989C10.808%206.81167%2010.6983%206.65067%2010.549%206.506C10.4043%206.35667%2010.22%206.23767%209.996%206.149C9.77667%206.05567%209.52%206.009%209.226%206.009C8.82933%206.009%208.49333%206.093%208.218%206.261C7.94733%206.42433%207.742%206.646%207.602%206.926C7.462%207.206%207.392%207.521%207.392%207.871H8.372C8.372%207.675%208.40467%207.50233%208.47%207.353C8.54%207.20367%208.63567%207.08933%208.757%207.01C8.883%206.926%209.03233%206.884%209.205%206.884C9.32633%206.884%209.43367%206.905%209.527%206.947C9.62033%206.98433%209.69967%207.03567%209.765%207.101C9.83033%207.16633%209.87933%207.241%209.912%207.325C9.94467%207.409%209.961%207.49533%209.961%207.584C9.961%207.71%209.93767%207.83133%209.891%207.948C9.84433%208.06467%209.77667%208.18133%209.688%208.298C9.59933%208.41467%209.492%208.54067%209.366%208.676L7.14%2011Z'%20fill='white'/%3e%3c/svg%3e",rl="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3552_59855)'%3e%3cpath%20d='M7.01358%200.397379C6.76397%200.495817%206.55304%200.580192%206.54601%200.583707C6.53546%200.590739%207.3089%202.59464%207.33702%202.63332C7.3546%202.66144%208.29679%202.27121%208.29679%202.23605C8.29679%202.21144%208.1878%201.91613%208.05069%201.5716C7.9171%201.22707%207.74132%200.780582%207.66046%200.580192C7.58311%200.376286%207.50577%200.211051%207.49522%200.214567C7.48116%200.214567%207.26671%200.298942%207.01358%200.397379Z'%20fill='white'/%3e%3cpath%20d='M10.3395%200.576676C10.2586%200.780582%2010.0828%201.22707%209.94922%201.5716C9.81211%201.91613%209.70312%202.21144%209.70312%202.23605C9.70312%202.27121%2010.6453%202.66144%2010.6664%202.63332C10.684%202.60168%2011.4258%200.682145%2011.4328%200.636442C11.4398%200.604801%2011.3027%200.530973%2011.025%200.418473C10.7965%200.323551%2010.582%200.239176%2010.5469%200.228629C10.4941%200.211051%2010.459%200.270817%2010.3395%200.576676Z'%20fill='white'/%3e%3cpath%20d='M3.86016%202.07432C3.67031%202.28525%203.51562%202.46455%203.51562%202.4751C3.51562%202.48213%203.8918%202.82666%204.34883%203.23799L5.17852%203.98682L5.40352%203.74424C5.83594%203.27314%205.88867%203.19932%205.83242%203.1501C5.8043%203.12549%205.4668%202.82314%205.08008%202.47861C4.69336%202.13408%204.33828%201.81768%204.28906%201.77549L4.20117%201.69463L3.86016%202.07432Z'%20fill='white'/%3e%3cpath%20d='M12.9735%202.4293C12.52%202.83711%2012.1438%203.17813%2012.1368%203.1957C12.1297%203.22031%2012.7872%203.97266%2012.8188%203.97266C12.8434%203.97266%2014.4852%202.49258%2014.4852%202.475C14.4852%202.46445%2014.3411%202.2957%2014.1618%202.09883C13.986%201.90195%2013.8313%201.72969%2013.8208%201.71563C13.8102%201.70156%2013.427%202.02148%2012.9735%202.4293Z'%20fill='white'/%3e%3cpath%20d='M1.50156%203.76875C1.31172%204.0043%200.991797%204.51406%200.879297%204.75313C0.496094%205.60742%200.478516%206.35273%200.826562%207.17891C0.847656%207.23516%200.830078%207.24219%200.7%207.24219C0.615625%207.24219%200.485547%207.25273%200.415234%207.26328C0.285156%207.28438%200.278125%207.29492%200.211328%207.51992C0.0601562%208.0332%200.025%208.27227%200.0214844%208.78906C0.0214844%209.39727%200.0707031%209.64336%200.299219%2010.1145C0.425781%2010.3711%200.520703%2010.5012%200.75625%2010.7508L1.05508%2011.0672L0.928516%2011.148C0.854687%2011.1902%200.682422%2011.3203%200.541797%2011.4293L0.285156%2011.6332L0.373047%2011.918C0.583984%2012.6%200.875781%2013.1344%201.25898%2013.5422C1.60703%2013.9078%202.12383%2014.2207%202.50703%2014.291C2.57734%2014.3051%202.63711%2014.3332%202.63711%2014.3508C2.63711%2014.3684%202.59141%2014.4527%202.53164%2014.5371C2.47539%2014.6215%202.42617%2014.7059%202.42617%2014.7199C2.42617%2014.7691%202.8375%2015.3598%203.0168%2015.5707C3.37891%2015.9961%203.97656%2016.3758%204.525%2016.5305C4.87305%2016.6289%205.49883%2016.6359%205.81875%2016.5516C6.41641%2016.3898%206.90156%2016.098%207.32344%2015.6445L7.58359%2015.3633L7.70312%2015.4055C7.99141%2015.5039%208.24805%2015.7395%208.38164%2016.0277C8.44844%2016.1754%208.45547%2016.2633%208.46602%2016.991L8.47656%2017.7891H9.00039H9.52422L9.53477%2016.9875C9.54531%2016.2633%209.55234%2016.1754%209.61914%2016.0277C9.75273%2015.7395%2010.0094%2015.5039%2010.2977%2015.4055L10.4172%2015.3633L10.6773%2015.6445C11.0992%2016.098%2011.5844%2016.3898%2012.182%2016.5516C12.502%2016.6359%2013.1277%2016.6289%2013.4758%2016.5305C14.0242%2016.3758%2014.6219%2015.9961%2014.984%2015.5707C15.1633%2015.3598%2015.5746%2014.7691%2015.5746%2014.7199C15.5746%2014.7059%2015.5254%2014.6215%2015.4691%2014.5371C15.4129%2014.4527%2015.3637%2014.3684%2015.3637%2014.3508C15.3637%2014.3332%2015.4234%2014.3051%2015.4937%2014.291C15.5676%2014.277%2015.7223%2014.2277%2015.8383%2014.1785C16.6609%2013.834%2017.2797%2013.05%2017.6277%2011.9109L17.7156%2011.6332L17.459%2011.4293C17.3184%2011.3203%2017.1461%2011.1902%2017.0723%2011.148L16.9457%2011.0672L17.2445%2010.7508C17.4801%2010.5012%2017.575%2010.3711%2017.7016%2010.1145C17.923%209.65391%2017.9793%209.39727%2017.9793%208.80664C17.9828%208.30742%2017.9441%208.06836%2017.7859%207.51992C17.7227%207.29492%2017.7156%207.28438%2017.5855%207.26328C17.5152%207.25273%2017.3852%207.24219%2017.3008%207.24219C17.1707%207.24219%2017.1531%207.23516%2017.1742%207.17891C17.6066%206.14883%2017.4801%205.21719%2016.7559%204.13438C16.3867%203.57891%2016.4254%203.6%2016.0527%203.70898C14.977%204.02188%2014.2703%204.57383%2013.866%205.42461C13.5637%206.06445%2013.5637%206.87656%2013.8695%207.61484C13.982%207.88555%2014.1367%208.17383%2014.2738%208.36719C14.3371%208.45508%2014.3371%208.46211%2014.2%208.73633C14.1262%208.89102%2014.0312%209.16523%2013.9891%209.34453C13.9223%209.63281%2013.9152%209.73477%2013.9363%2010.1883C13.9469%2010.473%2013.9645%2010.7543%2013.9785%2010.8141C13.9961%2010.916%2013.9855%2010.9336%2013.7746%2011.0848C13.3211%2011.4047%2012.9168%2011.9496%2012.6918%2012.5262C12.5371%2012.9234%2012.5441%2012.9164%2012.3754%2012.9445C12.0168%2013.0078%2011.5879%2013.1941%2011.2293%2013.4508C11.0219%2013.5984%2010.4066%2014.2172%2010.4066%2014.277C10.4066%2014.2945%2010.375%2014.3086%2010.3398%2014.3086C10.3012%2014.3086%2010.1465%2014.3473%209.99531%2014.3965C9.69297%2014.4914%209.39766%2014.6707%209.15859%2014.9027L9.00039%2015.0539L8.85625%2014.9098C8.63477%2014.6883%208.30781%2014.4914%208.00547%2014.3965C7.8543%2014.3473%207.69961%2014.3086%207.66094%2014.3086C7.62578%2014.3086%207.59414%2014.2945%207.59414%2014.277C7.59414%2014.2172%206.97891%2013.5984%206.76797%2013.4473C6.4832%2013.2434%206.08945%2013.057%205.78359%2012.9867C5.65%2012.9551%205.51641%2012.9199%205.4918%2012.9059C5.46719%2012.8953%205.39336%2012.7477%205.33008%2012.5789C5.10156%2011.9707%204.69023%2011.4152%204.22969%2011.0848C4.01523%2010.9336%204.00469%2010.916%204.02227%2010.8141C4.03633%2010.7543%204.05391%2010.473%204.06445%2010.1883C4.08555%209.73477%204.07852%209.63281%204.01172%209.34453C3.96953%209.16523%203.87461%208.89102%203.80078%208.73633L3.66367%208.45859L3.76914%208.30391C3.90273%208.11055%204.12422%207.66406%204.20156%207.43555C4.36328%206.95391%204.40547%206.38438%204.30703%205.92383C4.09961%204.95352%203.26641%204.12734%202.12734%203.76523C1.60703%203.6%201.63867%203.6%201.50156%203.76875ZM2.26445%204.95703C2.75664%205.19961%203.09766%205.58281%203.23828%206.05391C3.37187%206.48633%203.28398%207.04531%203.0168%207.51641L2.91133%207.69922L2.62656%207.55156C1.77227%207.10859%201.42422%206.22969%201.76172%205.37188C1.84258%205.16797%202.0043%204.85156%202.03242%204.85156C2.03945%204.85156%202.14492%204.90078%202.26445%204.95703ZM16.1371%205.15039C16.5133%205.92031%2016.4184%206.65156%2015.8734%207.18945C15.7328%207.32656%2015.5465%207.46016%2015.3707%207.55156L15.0895%207.69922L15.0156%207.57266C14.541%206.76758%2014.6043%205.92031%2015.1809%205.35078C15.3602%205.17852%2015.8629%204.85859%2015.9684%204.85156C15.9824%204.85156%2016.0598%204.98516%2016.1371%205.15039ZM1.59297%208.31445C1.96211%208.37773%202.27852%208.53242%202.52813%208.77148C2.76016%208.99297%202.89375%209.21445%202.97109%209.50977C3.02383%209.7207%203.04141%2010.2691%203.00273%2010.4766L2.97812%2010.5891L2.71797%2010.568C1.64219%2010.4695%201.00234%209.72773%201.06211%208.65195C1.07266%208.47969%201.09023%208.32148%201.1043%208.30039C1.13594%208.25117%201.25547%208.25469%201.59297%208.31445ZM16.893%208.29688C16.9387%208.37422%2016.9527%208.92969%2016.9141%209.1582C16.7699%209.97383%2016.1863%2010.473%2015.2547%2010.568L15.0227%2010.5891L14.998%2010.4766C14.9594%2010.2691%2014.977%209.7207%2015.0297%209.50977C15.1914%208.89453%2015.7117%208.4375%2016.3937%208.31445C16.7066%208.2582%2016.8648%208.25117%2016.893%208.29688ZM3.2418%2011.7387C3.51602%2011.8441%203.80781%2012.0691%203.99766%2012.3223C4.19102%2012.5754%204.34219%2012.8742%204.31758%2012.9445C4.30703%2012.9727%204.19453%2013.043%204.07148%2013.1063C3.08711%2013.5879%202.13086%2013.2539%201.62109%2012.2449C1.58242%2012.1641%201.54727%2012.0727%201.54727%2012.0445C1.54727%2011.9742%201.97617%2011.7563%202.24336%2011.6895C2.52109%2011.6191%202.98516%2011.6438%203.2418%2011.7387ZM15.7434%2011.6895C16.0176%2011.7563%2016.4535%2011.9707%2016.4535%2012.0445C16.4535%2012.1992%2016.0809%2012.7547%2015.8418%2012.948C15.3039%2013.391%2014.6113%2013.4437%2013.9152%2013.0922C13.7781%2013.0219%2013.6762%2012.948%2013.6762%2012.9199C13.6762%2012.832%2013.8309%2012.5508%2014.0031%2012.3223C14.425%2011.7598%2015.0648%2011.5312%2015.7434%2011.6895ZM5.5375%2014.0098C5.65%2014.0414%205.83984%2014.1152%205.95586%2014.1785C6.1668%2014.291%206.64492%2014.7129%206.64492%2014.7902C6.64492%2014.8113%206.53594%2014.9309%206.40234%2015.0539C5.63242%2015.7676%204.72891%2015.743%203.94141%2014.9871L3.67422%2014.7305L3.90977%2014.509C4.40195%2014.0414%204.975%2013.8656%205.5375%2014.0098ZM13.2367%2014.0098C13.5391%2014.0906%2013.8273%2014.2559%2014.091%2014.509L14.3266%2014.7305L14.0594%2014.9871C13.2719%2015.743%2012.3684%2015.7676%2011.5984%2015.0539C11.4648%2014.9309%2011.3559%2014.8113%2011.3559%2014.7902C11.3559%2014.7656%2011.4648%2014.6461%2011.5949%2014.5195C12.0906%2014.0449%2012.6707%2013.8621%2013.2367%2014.0098Z'%20fill='white'/%3e%3cpath%20d='M8.876%208.613C9.24467%208.613%209.57367%208.564%209.863%208.466C10.1523%208.368%2010.381%208.22567%2010.549%208.039C10.717%207.84767%2010.801%207.619%2010.801%207.353C10.801%207.10567%2010.738%206.88167%2010.612%206.681C10.486%206.48033%2010.3017%206.31933%2010.059%206.198C9.821%206.07667%209.53167%206.016%209.191%206.016C8.869%206.016%208.58667%206.079%208.344%206.205C8.10133%206.331%207.91%206.50367%207.77%206.723C7.63467%206.93767%207.567%207.185%207.567%207.465H8.498C8.498%207.283%208.56333%207.13367%208.694%207.017C8.82933%206.89567%208.995%206.835%209.191%206.835C9.331%206.835%209.44533%206.85833%209.534%206.905C9.62267%206.95167%209.69033%207.01933%209.737%207.108C9.78367%207.19667%209.807%207.29933%209.807%207.416C9.807%207.50933%209.78367%207.60033%209.737%207.689C9.695%207.773%209.63433%207.85%209.555%207.92C9.47567%207.98533%209.37767%208.03667%209.261%208.074C9.149%208.11133%209.02067%208.13%208.876%208.13V8.613ZM9.149%2011.098C9.513%2011.098%209.828%2011.0397%2010.094%2010.923C10.3647%2010.8017%2010.5723%2010.6337%2010.717%2010.419C10.8663%2010.2043%2010.941%209.957%2010.941%209.677C10.941%209.42967%2010.8897%209.21967%2010.787%209.047C10.6843%208.86967%2010.5397%208.725%2010.353%208.613C10.1663%208.49633%209.947%208.41233%209.695%208.361C9.44767%208.30967%209.17467%208.284%208.876%208.284V8.816C9.04867%208.816%209.20033%208.83467%209.331%208.872C9.46633%208.90467%209.57833%208.95367%209.667%209.019C9.76033%209.08433%209.83033%209.166%209.877%209.264C9.92367%209.35733%209.947%209.46%209.947%209.572C9.947%209.726%209.91433%209.85433%209.849%209.957C9.78367%2010.0597%209.69267%2010.139%209.576%2010.195C9.464%2010.2463%209.331%2010.272%209.177%2010.272C9.02767%2010.272%208.89%2010.244%208.764%2010.188C8.638%2010.1273%208.53767%2010.041%208.463%209.929C8.38833%209.817%208.351%209.68167%208.351%209.523H7.357C7.357%209.733%207.399%209.93367%207.483%2010.125C7.567%2010.3117%207.686%2010.4797%207.84%2010.629C7.994%2010.7737%208.18067%2010.888%208.4%2010.972C8.61933%2011.056%208.869%2011.098%209.149%2011.098Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3552_59855'%3e%3crect%20width='18'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function hc(t){_r(t,"svelte-a9or29",".TournamentPrizes.Loading.svelte-a9or29{margin:0px}")}function ds(t,e,r){const n=t.slice();return n[16]=e[r],n[18]=r,n}function hs(t,e,r){const n=t.slice();return n[13]=e[r],n}function ms(t,e,r){const n=t.slice();return n[16]=e[r],n[18]=r,n}const mc=t=>({}),ps=t=>({});function pc(t){let e,r,n,i,a,s,o,l=t[6]("tournamentsPrizes.prizes")+"",u,f,d;const h=t[9].prizeIcon,p=o0(h,t,t[8],ps);let _=t[0]&&gs(t);return{c(){e=b("div"),r=b("div"),n=b("span"),n.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',i=H(),a=b("span"),p&&p.c(),s=H(),o=b("p"),u=O(l),f=H(),_&&_.c(),c(n,"class","TournamentPrizesIconWrapper"),c(n,"part","TournamentPrizesIconWrapper"),c(a,"class","TournamentPrizesIconWrapper"),c(a,"part","TournamentPrizesIconSlot"),c(o,"class","PrizesTitle"),c(o,"part","PrizesTitle"),c(r,"class","TournamentPrizesIconSection"),c(r,"part","TournamentPrizesIconSection"),c(e,"class","TournamentPrizes"),c(e,"part","TournamentPrizes")},m(g,P){C(g,e,P),m(e,r),m(r,n),m(r,i),m(r,a),p&&p.m(a,null),m(r,s),m(r,o),m(o,u),m(e,f),_&&_.m(e,null),d=!0},p(g,P){p&&p.p&&(!d||P&256)&&u0(p,h,g,g[8],d?l0(h,g[8],P,mc):c0(g[8]),ps),(!d||P&64)&&l!==(l=g[6]("tournamentsPrizes.prizes")+"")&&W(u,l),g[0]?_?_.p(g,P):(_=gs(g),_.c(),_.m(e,null)):_&&(_.d(1),_=null)},i(g){d||(oe(p,g),d=!0)},o(g){_e(p,g),d=!1},d(g){g&&y(e),p&&p.d(g),_&&_.d()}}}function gc(t){let e;return{c(){e=b("div"),e.innerHTML='<div class="Skeleton TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="100%" height="150px"></ui-skeleton></div>',c(e,"class","TournamentPrizes Loading svelte-a9or29"),c(e,"part","TournamentPrizes")},m(r,n){C(r,e,n)},p:J,i:J,o:J,d(r){r&&y(e)}}}function gs(t){let e;function r(a,s){return a[2].expandAll?_c:bc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function bc(t){let e,r,n=Le(t[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=ys(ds(t,n,s));let a=null;return n.length||(a=bs(t)),{c(){e=b("div"),r=b("div");for(let s=0;s<i.length;s+=1)i[s].c();a&&a.c(),c(r,"class","Prizes"),c(r,"part","Prizes"),c(e,"class","Collapse")},m(s,o){C(s,e,o),m(e,r);for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(r,null);a&&a.m(r,null)},p(s,o){if(o&99){n=Le(s[0]);let l;for(l=0;l<n.length;l+=1){const u=ds(s,n,l);i[l]?i[l].p(u,o):(i[l]=ys(u),i[l].c(),i[l].m(r,null))}for(;l<i.length;l+=1)i[l].d(1);i.length=n.length,!n.length&&a?a.p(s,o):n.length?a&&(a.d(1),a=null):(a=bs(s),a.c(),a.m(r,null))}},d(s){s&&y(e),ft(i,s),a&&a.d()}}}function _c(t){let e,r=Le(t[4]),n=[];for(let i=0;i<r.length;i+=1)n[i]=ws(hs(t,r,i));return{c(){e=b("div");for(let i=0;i<n.length;i+=1)n[i].c();c(e,"class","Prizes"),c(e,"part","Prizes")},m(i,a){C(i,e,a);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(i,a){if(a&114){r=Le(i[4]);let s;for(s=0;s<r.length;s+=1){const o=hs(i,r,s);n[s]?n[s].p(o,a):(n[s]=ws(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(e),ft(n,i)}}}function bs(t){let e,r=t[6]("tournamentsPrizes.noprizes")+"",n;return{c(){e=b("p"),n=O(r)},m(i,a){C(i,e,a),m(e,n)},p(i,a){a&64&&r!==(r=i[6]("tournamentsPrizes.noprizes")+"")&&W(n,r)},d(i){i&&y(e)}}}function _s(t){let e;function r(a,s){return a[18]<3?Cc:yc}let i=r(t)(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){i.p(a,s)},d(a){a&&y(e),i.d(a)}}}function yc(t){let e;return{c(){e=b("span"),c(e,"class","RowNo")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function Cc(t){let e,r;return{c(){e=b("img"),c(e,"class","RowNo"),c(e,"alt","prize"),Ye(e.src,r=t[5][t[18]+1])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i&32&&!Ye(e.src,r=n[5][n[18]+1])&&c(e,"src",r)},d(n){n&&y(e)}}}function ys(t){let e,r,n,i,a,s,o=t[16].count>1?`${t[16].rank}~${t[16].rank+t[16].count-1}`:`${t[16].rank}`,l,u,f,d=t[6]("tournamentsPrizes.place")+"",h,p,_,g,P=t[16].name+"",L,E,v=t[1]=="true"&&_s(t);return{c(){e=b("div"),r=b("div"),n=b("p"),i=b("span"),v&&v.c(),a=H(),s=b("span"),l=O(o),u=H(),f=b("span"),h=O(d),p=O(":"),_=H(),g=b("span"),L=O(P),E=H(),c(s,"class","PrizeNo"),c(f,"class","PrizePlace"),c(i,"class","PrizeRank"),c(i,"part","PrizeRank"),c(g,"class","PrizeName"),c(g,"part","PrizeName"),c(n,"class","PrizeText"),c(n,"part","PrizeText"),c(r,"class","Prize Prize"+t[18]+" svelte-a9or29"),c(r,"part","Prize Prize"+t[18]),c(e,"class","ColPrizes")},m(w,Y){C(w,e,Y),m(e,r),m(r,n),m(n,i),v&&v.m(i,null),m(i,a),m(i,s),m(s,l),m(i,u),m(i,f),m(f,h),m(f,p),m(n,_),m(n,g),m(g,L),m(e,E)},p(w,Y){w[1]=="true"?v?v.p(w,Y):(v=_s(w),v.c(),v.m(i,a)):v&&(v.d(1),v=null),Y&1&&o!==(o=w[16].count>1?`${w[16].rank}~${w[16].rank+w[16].count-1}`:`${w[16].rank}`)&&W(l,o),Y&64&&d!==(d=w[6]("tournamentsPrizes.place")+"")&&W(h,d),Y&1&&P!==(P=w[16].name+"")&&W(L,P)},d(w){w&&y(e),v&&v.d()}}}function vc(t){let e,r,n,i=t[16].rank+"",a,s,o,l,u=t[6]("tournamentsPrizes.place")+"",f,d=t[1]=="true"&&Cs();return{c(){e=b("span"),d&&d.c(),r=H(),n=b("span"),a=O(i),s=b("span"),s.textContent=".",o=H(),l=b("span"),f=O(u),c(s,"class","Dot"),c(n,"class","PrizeNo"),c(l,"class","PrizePlace"),c(e,"class","PrizeRank"),c(e,"part","PrizeRank")},m(h,p){C(h,e,p),d&&d.m(e,null),m(e,r),m(e,n),m(n,a),m(n,s),m(e,o),m(e,l),m(l,f)},p(h,p){h[1]=="true"?d||(d=Cs(),d.c(),d.m(e,r)):d&&(d.d(1),d=null),p&16&&i!==(i=h[16].rank+"")&&W(a,i),p&64&&u!==(u=h[6]("tournamentsPrizes.place")+"")&&W(f,u)},d(h){h&&y(e),d&&d.d()}}}function wc(t){let e,r,n,i,a,s=t[6]("tournamentsPrizes.place")+"",o;return{c(){e=b("div"),r=b("img"),i=H(),a=b("span"),o=O(s),c(r,"alt","prize"),c(r,"class","RowNo"),Ye(r.src,n=t[5][t[16].rank])||c(r,"src",n),c(a,"class","PrizePlace"),c(e,"class","PrizeRank"),c(e,"part","PrizeRank")},m(l,u){C(l,e,u),m(e,r),m(e,i),m(e,a),m(a,o)},p(l,u){u&48&&!Ye(r.src,n=l[5][l[16].rank])&&c(r,"src",n),u&64&&s!==(s=l[6]("tournamentsPrizes.place")+"")&&W(o,s)},d(l){l&&y(e)}}}function Cs(t){let e;return{c(){e=b("span"),c(e,"class","RowNo")},m(r,n){C(r,e,n)},d(r){r&&y(e)}}}function vs(t){let e,r,n,i,a=t[16].name+"",s,o,l;function u(h,p){return h[16].rank<4&&h[1]=="true"?wc:vc}let f=u(t),d=f(t);return{c(){e=b("div"),r=b("p"),d.c(),n=H(),i=b("span"),s=O(a),c(i,"class","PrizeName"),c(i,"part","PrizeName"),c(r,"class","PrizeText"),c(r,"part","PrizeText"),c(e,"class",o="Prize Prize"+(t[16].rank-1)+" svelte-a9or29"),c(e,"part",l="Prize Prize"+(t[16].rank-1))},m(h,p){C(h,e,p),m(e,r),d.m(r,null),m(r,n),m(r,i),m(i,s)},p(h,p){f===(f=u(h))&&d?d.p(h,p):(d.d(1),d=f(h),d&&(d.c(),d.m(r,n))),p&16&&a!==(a=h[16].name+"")&&W(s,a),p&16&&o!==(o="Prize Prize"+(h[16].rank-1)+" svelte-a9or29")&&c(e,"class",o),p&16&&l!==(l="Prize Prize"+(h[16].rank-1))&&c(e,"part",l)},d(h){h&&y(e),d.d()}}}function ws(t){let e,r,n,i=Le(t[13]),a=[];for(let s=0;s<i.length;s+=1)a[s]=vs(ms(t,i,s));return{c(){e=b("div");for(let s=0;s<a.length;s+=1)a[s].c();r=H(),c(e,"class",n="ColPrizes col-"+t[4].length+" svelte-a9or29")},m(s,o){C(s,e,o);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(e,null);m(e,r)},p(s,o){if(o&114){i=Le(s[13]);let l;for(l=0;l<i.length;l+=1){const u=ms(s,i,l);a[l]?a[l].p(u,o):(a[l]=vs(u),a[l].c(),a[l].m(e,r))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}o&16&&n!==(n="ColPrizes col-"+s[4].length+" svelte-a9or29")&&c(e,"class",n)},d(s){s&&y(e),ft(a,s)}}}function Tc(t){let e,r,n,i;const a=[gc,pc],s=[];function o(l,u){return l[3]?0:1}return e=o(t),r=s[e]=a[e](t),{c(){r.c(),n=de()},m(l,u){s[e].m(l,u),C(l,n,u),i=!0},p(l,[u]){let f=e;e=o(l),e===f?s[e].p(l,u):(lt(),_e(s[f],1,1,()=>{s[f]=null}),ut(),r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),oe(r,1),r.m(n.parentNode,n))},i(l){i||(oe(r),i=!0)},o(l){_e(r),i=!1},d(l){l&&y(n),s[e].d(l)}}}const kc=1;function Sc(t,e,r){let n;vt(t,wt,g=>r(6,n=g));let{$$slots:i={},$$scope:a}=e,{prizes:s}=e,{lang:o=""}=e,{showrankasimage:l="false"}=e,{cellsetting:u={expandAll:!0,listType:1,rowPerCol:8,maxCol:3}}=e,{isloading:f=!0}=e;rr({fallbackLocale:"en",initialLocale:"en"});const d=()=>{bt(o)};let h=[];const p=()=>{if(!u.expandAll)return;r(4,h=[[]]);let g=()=>{let P=[];return s.forEach(L=>{if(L.count==1)P.push(L);else{let E=parseInt(L.rank),v=L.name;for(let w=0;w<L.count;w++){let D={rank:E+w,name:v,count:1};P.push(D)}}}),P};if(u.listType==kc){let P=g(),L=P.length,E=u.rowPerCol||8,v=u.maxCol;L>=E*v&&(E=Math.ceil(L/v)),L<=E&&(E=Math.ceil(L/v)),P.forEach((w,Y)=>{let D=Math.floor(Y/E);h.length<D+1&&h.push([]),h[D].push(w)})}else r(4,h[0]=g(),h)};let _=[];return tr(()=>{r(5,_=[An,An,tl,rl])}),t.$$set=g=>{"prizes"in g&&r(0,s=g.prizes),"lang"in g&&r(7,o=g.lang),"showrankasimage"in g&&r(1,l=g.showrankasimage),"cellsetting"in g&&r(2,u=g.cellsetting),"isloading"in g&&r(3,f=g.isloading),"$$scope"in g&&r(8,a=g.$$scope)},t.$$.update=()=>{t.$$.dirty&128&&o&&d(),t.$$.dirty&5&&u&&s&&p()},[s,l,u,f,h,_,n,o,a,i]}class Wi extends qe{constructor(e){super(),We(this,e,Sc,Tc,je,{prizes:0,lang:7,showrankasimage:1,cellsetting:2,isloading:3},hc)}get prizes(){return this.$$.ctx[0]}set prizes(e){this.$$set({prizes:e}),x()}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),x()}get showrankasimage(){return this.$$.ctx[1]}set showrankasimage(e){this.$$set({showrankasimage:e}),x()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),x()}get isloading(){return this.$$.ctx[3]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("prizes-cell",Ve(Wi,{prizes:{},lang:{},showrankasimage:{},cellsetting:{},isloading:{type:"Boolean"}},["prizeIcon"],[],!0));function Ts(t,e,r){const n=t.slice();return n[43]=e[r],n[45]=r,n}function Pc(t){let e,r=t[3]&&ks(t);return{c(){e=b("div"),r&&r.c(),c(e,"class","TournamentsGamesSlider"),c(e,"part","TournamentsGamesSlider")},m(n,i){C(n,e,i),r&&r.m(e,null),t[28](e)},p(n,i){n[3]?r?r.p(n,i):(r=ks(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(),t[28](null)}}}function xc(t){let e;return{c(){e=b("div"),e.innerHTML='<main class="main"><ui-skeleton structure="rectangle" width="100%" height="80px"></ui-skeleton></main>',c(e,"class","TournamentsGamesSlider Loading"),c(e,"part","TournamentsGamesSlider")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function ks(t){let e,r,n,i,a,s,o,l,u=Le(t[3]),f=[];for(let d=0;d<u.length;d+=1)f[d]=Ss(Ts(t,u,d));return{c(){e=b("div"),e.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',r=H(),n=b("main"),i=b("div");for(let d=0;d<f.length;d+=1)f[d].c();a=H(),s=b("div"),s.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',c(e,"class","SliderNavButton"),c(e,"part","SliderNavButton"),c(e,"tabindex","0"),c(e,"role","button"),pn(e,"disabled",t[8]),c(i,"class","items"),c(i,"part","items"),At(i,"transform","translateX("+t[1]+"px)"),c(n,"class","main"),c(s,"class","SliderNavButton"),c(s,"part","SliderNavButton"),c(s,"tabindex","0"),c(s,"role","button"),pn(s,"disabled",t[7])},m(d,h){C(d,e,h),C(d,r,h),C(d,n,h),m(n,i);for(let p=0;p<f.length;p+=1)f[p]&&f[p].m(i,null);t[26](i),C(d,a,h),C(d,s,h),o||(l=[tt(e,"click",t[22]),tt(s,"click",t[27])],o=!0)},p(d,h){if(h[0]&256&&pn(e,"disabled",d[8]),h[0]&11832){u=Le(d[3]);let p;for(p=0;p<u.length;p+=1){const _=Ts(d,u,p);f[p]?f[p].p(_,h):(f[p]=Ss(_),f[p].c(),f[p].m(i,null))}for(;p<f.length;p+=1)f[p].d(1);f.length=u.length}h[0]&2&&At(i,"transform","translateX("+d[1]+"px)"),h[0]&128&&pn(s,"disabled",d[7])},d(d){d&&(y(e),y(r),y(n),y(a),y(s)),ft(f,d),t[26](null),o=!1,Ot(l)}}}function Ss(t){let e,r,n=t[9]("gamesSlider.playNow")+"",i,a,s,o,l,u,f,d,h,p,_;function g(){return t[23](t[43])}function P(){return t[24](t[45])}return{c(){e=b("div"),r=b("span"),i=O(n),o=H(),l=b("img"),h=H(),c(r,"class",a="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":"")),c(r,"part",s="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":"")),c(l,"class","GameThumbnail"),c(l,"part","GameThumbnail"),Ye(l.src,u=t[43].thumbnail)||c(l,"src",u),c(l,"width","132px"),c(l,"height","100px"),c(l,"alt",f=t[43].name),c(l,"title",d=t[43].name),c(e,"class","item"),c(e,"part","item"),c(e,"tabindex","0"),c(e,"role","button")},m(L,E){C(L,e,E),m(e,r),m(r,i),m(e,o),m(e,l),m(e,h),p||(_=[tt(e,"click",g),tt(e,"mouseenter",P),tt(e,"mouseleave",t[25])],p=!0)},p(L,E){t=L,E[0]&512&&n!==(n=t[9]("gamesSlider.playNow")+"")&&W(i,n),E[0]&48&&a!==(a="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":""))&&c(r,"class",a),E[0]&48&&s!==(s="PlayNowButton "+(t[4]&&t[5]==t[45]?"itemHover":""))&&c(r,"part",s),E[0]&8&&!Ye(l.src,u=t[43].thumbnail)&&c(l,"src",u),E[0]&8&&f!==(f=t[43].name)&&c(l,"alt",f),E[0]&8&&d!==(d=t[43].name)&&c(l,"title",d)},d(L){L&&y(e),p=!1,Ot(_)}}}function Dc(t){let e;function r(a,s){return a[0]?xc:Pc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}let Ps="3",Lc=30;function Ec(t,e,r){let n,i,a;vt(t,wt,B=>r(9,a=B));let{pagfactor:s="175"}=e,{lang:o=""}=e,{session:l=""}=e,{tourid:u=""}=e,{endpoint:f=""}=e,{isloading:d=!0}=e,h=window.navigator.userAgent,p,_=0,g,P=null,L=null,E=!1,v,w,Y=0,D=[],F=[];const G=B=>{r(4,E=!0),r(5,v=B)},M=()=>{r(4,E=!1),r(5,v=-1)},A=B=>B.touches||B.originalEvent.touches,Se=B=>{const Xe=A(B)[0];P=Xe.clientX,L=Xe.clientY},ye=B=>{if(!P||!L)return;let Xe=B.touches[0].clientX,ve=B.touches[0].clientY,et=P-Xe,Ge=L-ve;Math.abs(et)>Math.abs(Ge)&&(et>0?xe(1):xe(-1)),P=null,L=null},xe=B=>{B>0&&!i?(r(1,_-=p),r(1,_=_<Y?Y:_)):B<0&&!n&&(r(1,_+=p),r(1,_=_>0?0:_))},Re=B=>{window.postMessage({type:"TournamentGameAction",gameId:B.id,name:B.name,launchUrl:B.launchUrl},window.location.href)},Me=()=>{g.addEventListener("touchstart",Se,{passive:!0}),g.addEventListener("touchmove",ye,{passive:!0})},Ne=()=>{setTimeout(()=>{r(19,Y=(w.scrollWidth-w.clientWidth)*-1),r(14,s=new String(w.scrollWidth/D.length)),p=parseInt(Ps,10)*parseFloat(s,2).toFixed(2)},1e3)},Ce=()=>{r(3,D=F.items),F.total},U=(B,Xe)=>{let ve=new URL(B+`/v1/tournaments/${Xe}`),et=new Headers({"X-SessionId":l});ve.searchParams.append("platform",Vn(h)),ve.searchParams.append("language",o),ve.searchParams.append("expand","games"),ve.searchParams.append("pagination",`games(limit=${Lc},offset=${_})`),ve.searchParams.append("fields","games(id,name,thumbnail,launchUrl)");let Ge={method:"GET",headers:et};fetch(ve.href,Ge).then(St=>St.json()).then(St=>{var Et;r(20,F=((Et=St.item)==null?void 0:Et.games)||[]),r(20,F=ar({},F))})};let De=!1;tr(()=>(r(21,De=!0),p=parseInt(Ps,10)*parseInt(s,10),()=>{g.removeEventListener("touchstart",Se),g.removeEventListener("touchmove",ye)}));const he=()=>xe(-1),$=B=>Re(B),be=B=>G(B),I=()=>M();function ie(B){tn[B?"unshift":"push"](()=>{w=B,r(6,w)})}const Pe=()=>xe(1);function ne(B){tn[B?"unshift":"push"](()=>{g=B,r(2,g)})}return t.$$set=B=>{"pagfactor"in B&&r(14,s=B.pagfactor),"lang"in B&&r(15,o=B.lang),"session"in B&&r(16,l=B.session),"tourid"in B&&r(17,u=B.tourid),"endpoint"in B&&r(18,f=B.endpoint),"isloading"in B&&r(0,d=B.isloading)},t.$$.update=()=>{t.$$.dirty[0]&2&&r(8,n=_===0),t.$$.dirty[0]&524290&&r(7,i=_<=Y),t.$$.dirty[0]&4&&g&&Me(),t.$$.dirty[0]&1048576&&F&&Ce(),t.$$.dirty[0]&8&&D&&D.length&&Ne(),t.$$.dirty[0]&2555904&&De&&f&&l&&u&&U(f,u)},r(1,_=0),[d,_,g,D,E,v,w,i,n,a,G,M,xe,Re,s,o,l,u,f,Y,F,De,he,$,be,I,ie,Pe,ne]}class Vi extends qe{constructor(e){super(),We(this,e,Ec,Dc,je,{pagfactor:14,lang:15,session:16,tourid:17,endpoint:18,isloading:0},null,[-1,-1])}get pagfactor(){return this.$$.ctx[14]}set pagfactor(e){this.$$set({pagfactor:e}),x()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),x()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),x()}get tourid(){return this.$$.ctx[17]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),x()}get isloading(){return this.$$.ctx[0]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("games-router",Ve(Vi,{pagfactor:{},lang:{},session:{},tourid:{},endpoint:{},isloading:{type:"Boolean"}},[],[],!0));class qi extends qe{constructor(e){super(),We(this,e,null,null,je,{})}}customElements.define("tm-line",Ve(qi,{},[],[],!0));function xs(t,e,r){const n=t.slice();return n[2]=e[r],n}function Mc(t){let e;return{c(){e=O(" ")},m(r,n){C(r,e,n)},p:J,i:J,o:J,d(r){r&&y(e)}}}function Rc(t){let e,r,n=Le(t[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=Ds(xs(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o&1){n=Le(s[0]);let l;for(l=0;l<n.length;l+=1){const u=xs(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=Ds(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function Ds(t){let e,r;return e=new Rn({props:{title:t[2].title,text:t[2].description,exportparts:"DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"}}),{c(){cr(e.$$.fragment)},m(n,i){Zt(e,n,i),r=!0},p(n,i){const a={};i&1&&(a.title=n[2].title),i&1&&(a.text=n[2].description),e.$set(a)},i(n){r||(oe(e.$$.fragment,n),r=!0)},o(n){_e(e.$$.fragment,n),r=!1},d(n){Xt(e,n)}}}function Ac(t){let e,r,n,i;const a=[Rc,Mc],s=[];function o(l,u){return l[0]&&l[0].length>0?0:1}return e=o(t),r=s[e]=a[e](t),{c(){r.c(),n=de()},m(l,u){s[e].m(l,u),C(l,n,u),i=!0},p(l,[u]){let f=e;e=o(l),e===f?s[e].p(l,u):(lt(),_e(s[f],1,1,()=>{s[f]=null}),ut(),r=s[e],r?r.p(l,u):(r=s[e]=a[e](l),r.c()),oe(r,1),r.m(n.parentNode,n))},i(l){i||(oe(r),i=!0)},o(l){_e(r),i=!1},d(l){l&&y(n),s[e].d(l)}}}function Fc(t,e,r){let{tournamentdescription:n}=e;const i=()=>{r(0,n)};return t.$$set=a=>{"tournamentdescription"in a&&r(0,n=a.tournamentdescription)},t.$$.update=()=>{t.$$.dirty&1&&n&&i()},[n]}class Ji extends qe{constructor(e){super(),We(this,e,Fc,Ac,je,{tournamentdescription:0})}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(e){this.$$set({tournamentdescription:e}),x()}}customElements.define("description-router",Ve(Ji,{tournamentdescription:{}},[],[],!0));const qn="data:image/svg+xml,%3csvg%20fill='%23fecf00'%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.03087%203.14062C8.71521%202.56443%208.27722%202.06437%207.74767%201.67553C7.21811%201.28669%206.60971%201.01855%205.96544%200.889885C5.32118%200.761222%204.65646%200.775158%204.01817%200.930778C3.37988%201.0864%202.78361%201.37989%202.27086%201.79064C1.68689%202.25306%201.22358%202.85008%200.920762%203.53063C0.679091%204.08921%200.556377%204.69205%200.560655%205.30065C0.562354%205.92327%200.693172%206.53873%200.944444%207.10839C1.19572%207.67806%201.5622%208.18953%202.02086%208.61059C2.83307%209.36649%203.89773%209.79259%205.00719%209.80553C6.11665%209.81848%207.19124%209.4174%208.02086%208.68066C8.3779%208.38276%208.67913%208.0238%208.91075%207.6206C9.34355%206.92428%209.57213%206.12051%209.57066%205.30065C9.57316%204.54694%209.38776%203.80448%209.03087%203.14062V3.14062ZM4.43077%207.39062C4.41666%207.24208%204.44786%207.09281%204.52013%206.96227C4.59239%206.83174%204.70243%206.72606%204.8358%206.65917C4.96917%206.59228%205.11961%206.56724%205.26744%206.58739C5.41528%206.60754%205.55357%206.67195%205.66417%206.77209C5.77477%206.87223%205.85238%207.00344%205.88707%207.14855C5.92176%207.29367%205.91186%207.44586%205.85851%207.5852C5.80516%207.72454%205.71098%207.84448%205.58824%207.92931C5.46551%208.01415%205.31996%208.05999%205.17076%208.06066C5.0777%208.06746%204.9841%208.05526%204.89586%208.02489C4.80762%207.99453%204.72651%207.94653%204.65733%207.8839C4.58816%207.82127%204.53247%207.74531%204.49352%207.66051C4.45456%207.57572%204.43323%207.4839%204.43077%207.39062V7.39062ZM5.05065%202.69067H5.25084C5.32609%202.69062%205.40056%202.70571%205.46983%202.7351C5.53911%202.76448%205.60165%202.80755%205.65392%202.86169C5.70619%202.91582%205.7471%202.9799%205.77403%203.05016C5.80097%203.12043%205.81334%203.19542%205.81066%203.27062L5.7108%205.66064C5.70312%205.8039%205.64068%205.93873%205.53649%206.03735C5.43229%206.13596%205.29421%206.19087%205.15074%206.19067C5.00827%206.19076%204.87125%206.13559%204.76866%206.03674C4.66607%205.93788%204.60587%205.80301%204.60069%205.66064L4.50084%203.27062C4.49817%203.19625%204.51016%203.12209%204.53648%203.05248C4.5628%202.98287%204.60295%202.91923%204.65416%202.86523C4.70537%202.81123%204.76671%202.76801%204.83483%202.73803C4.90294%202.70805%204.97624%202.69195%205.05065%202.69067V2.69067Z'/%3e%3c/svg%3e",nl="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",il="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Ls(t,e,r){const n=t.slice();return n[71]=e[r],n}function Es(t,e,r){const n=t.slice();return n[68]=e[r],n}function Ms(t,e,r){const n=t.slice();return n[71]=e[r],n[77]=r,n}function Rs(t,e,r){const n=t.slice();return n[68]=e[r],n}function As(t,e,r){const n=t.slice();return n[71]=e[r],n}function Oc(t){let e,r,n,i,a,s,o,l,u=t[14]("tournamentsTable.nowinners")+"",f,d=Le(t[4]),h=[];for(let p=0;p<d.length;p+=1)h[p]=Fs(Ls(t,d,p));return{c(){e=b("div"),r=b("table"),n=b("thead"),i=b("tr");for(let p=0;p<h.length;p+=1)h[p].c();a=H(),s=b("tbody"),o=b("tr"),l=b("td"),f=O(u),c(i,"part","LeftTableTr"),c(n,"part","LeftTableThead"),c(n,"class","LeftTableThead"),c(l,"colspan",t[9]),c(l,"part","LeftTableTd"),c(o,"part","LeftTableTr"),c(s,"part","LeftTableTbody"),c(s,"class","LeftTableTbody"),c(r,"class","LeftTable"),c(r,"part","LeftTable"),c(e,"class","TournamentsTable"),c(e,"part","TournamentsTable"),At(e,"display",t[10]?"none":"")},m(p,_){C(p,e,_),m(e,r),m(r,n),m(n,i);for(let g=0;g<h.length;g+=1)h[g]&&h[g].m(i,null);m(r,a),m(r,s),m(s,o),m(o,l),m(l,f)},p(p,_){if(_[0]&86034){d=Le(p[4]);let g;for(g=0;g<d.length;g+=1){const P=Ls(p,d,g);h[g]?h[g].p(P,_):(h[g]=Fs(P),h[g].c(),h[g].m(i,null))}for(;g<h.length;g+=1)h[g].d(1);h.length=d.length}_[0]&16384&&u!==(u=p[14]("tournamentsTable.nowinners")+"")&&W(f,u),_[0]&512&&c(l,"colspan",p[9]),_[0]&1024&&At(e,"display",p[10]?"none":"")},d(p){p&&y(e),ft(h,p)}}}function zc(t){let e,r=t[6]&&!t[10]&&Os(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,i){n[6]&&!n[10]?r?r.p(n,i):(r=Os(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(n){n&&y(e),r&&r.d(n)}}}function Bc(t){let e;function r(a,s){return Wn(a[15])==!0?Ic:Uc}let i=r(t)(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){i.p(a,s)},d(a){a&&y(e),i.d(a)}}}function Nc(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n;return{c(){e=b("p"),n=O(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableP")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(e,"data-sort",i[12])},d(i){i&&y(e)}}}function Hc(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n,i,a;function s(){return t[37](t[71])}return{c(){e=b("button"),n=O(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableButton")},m(o,l){C(o,e,l),m(e,n),i||(a=tt(e,"click",s),i=!0)},p(o,l){t=o,l[0]&16400&&r!==(r=t[14](`tournamentsTable.${t[71]}`)+"")&&W(n,r),l[0]&4096&&c(e,"data-sort",t[12])},d(o){o&&y(e),i=!1,a()}}}function Fs(t){let e,r;function n(s,o){return s[1]=="true"?Hc:Nc}let i=n(t),a=i(t);return{c(){e=b("th"),a.c(),r=H(),c(e,"part","LeftTableTh")},m(s,o){C(s,e,o),a.m(e,null),m(e,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(e,r)))},d(s){s&&y(e),a.d()}}}function Os(t){let e,r,n,i=t[14]("tournamentsTable.nowinners")+"",a;return{c(){e=b("div"),r=b("div"),n=b("p"),a=O(i),c(r,"class","TableUser"),c(r,"part","TableUser"),c(e,"class","TableContent"),c(e,"part","TableContent")},m(s,o){C(s,e,o),m(e,r),m(r,n),m(n,a)},p(s,o){o[0]&16384&&i!==(i=s[14]("tournamentsTable.nowinners")+"")&&W(a,i)},d(s){s&&y(e)}}}function Uc(t){let e,r,n,i,a,s,o,l,u,f,d,h,p=Le(t[4]),_=[];for(let w=0;w<p.length;w+=1)_[w]=zs(Ms(t,p,w));let g=t[0]=="true"&&t[5]&&Bs(t),P=t[6]&&Hs(t);function L(w,Y){return w[6]?n1:r1}let E=L(t),v=E(t);return{c(){e=b("div"),r=b("table"),n=b("thead"),i=b("tr");for(let w=0;w<_.length;w+=1)_[w].c();a=H(),s=b("tbody"),g&&g.c(),o=H(),P&&P.c(),l=H(),u=b("div"),f=b("div"),v.c(),c(i,"part","LeftTableTr"),c(i,"class","LeftTableTr"),c(n,"part","LeftTableThead"),c(n,"class","LeftTableThead"),c(s,"part","LeftTableTbody"),c(s,"class","LeftTableTbody"),c(r,"class","LeftTable"),c(r,"part","LeftTable"),c(f,"class","CollapseButton"),c(f,"part","CollapseButton"),c(f,"tabindex","0"),c(f,"role","button"),c(u,"class","RightButton"),c(u,"part","RightButton"),c(e,"class","TournamentsTable"),c(e,"part","TournamentsTable")},m(w,Y){C(w,e,Y),m(e,r),m(r,n),m(n,i);for(let D=0;D<_.length;D+=1)_[D]&&_[D].m(i,null);m(r,a),m(r,s),g&&g.m(s,null),m(s,o),P&&P.m(s,null),m(e,l),m(e,u),m(u,f),v.m(f,null),d||(h=tt(f,"click",t[36]),d=!0)},p(w,Y){if(Y[0]&86034){p=Le(w[4]);let D;for(D=0;D<p.length;D+=1){const F=Ms(w,p,D);_[D]?_[D].p(F,Y):(_[D]=zs(F),_[D].c(),_[D].m(i,null))}for(;D<_.length;D+=1)_[D].d(1);_.length=p.length}w[0]=="true"&&w[5]?g?g.p(w,Y):(g=Bs(w),g.c(),g.m(s,o)):g&&(g.d(1),g=null),w[6]?P?P.p(w,Y):(P=Hs(w),P.c(),P.m(s,null)):P&&(P.d(1),P=null),E!==(E=L(w))&&(v.d(1),v=E(w),v&&(v.c(),v.m(f,null)))},d(w){w&&y(e),ft(_,w),g&&g.d(),P&&P.d(),v.d(),d=!1,h()}}}function Ic(t){let e,r,n,i,a=Le(t[4]),s=[];for(let u=0;u<a.length;u+=1)s[u]=Gs(As(t,a,u));let o=t[0]=="true"&&t[5]&&Ys(t),l=t[6]&&Vs(t);return{c(){e=b("div"),r=b("div");for(let u=0;u<s.length;u+=1)s[u].c();n=H(),o&&o.c(),i=H(),l&&l.c(),c(r,"class","TableUser TableHeadRow"),c(r,"part","TableUser TableHeadRow"),c(e,"class","TableContent"),c(e,"part","TableContent")},m(u,f){C(u,e,f),m(e,r);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(r,null);m(e,n),o&&o.m(e,null),m(e,i),l&&l.m(e,null)},p(u,f){if(f[0]&86034){a=Le(u[4]);let d;for(d=0;d<a.length;d+=1){const h=As(u,a,d);s[d]?s[d].p(h,f):(s[d]=Gs(h),s[d].c(),s[d].m(r,null))}for(;d<s.length;d+=1)s[d].d(1);s.length=a.length}u[0]=="true"&&u[5]?o?o.p(u,f):(o=Ys(u),o.c(),o.m(e,i)):o&&(o.d(1),o=null),u[6]?l?l.p(u,f):(l=Vs(u),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(u){u&&y(e),ft(s,u),o&&o.d(),l&&l.d()}}}function jc(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n;return{c(){e=b("p"),n=O(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableP"),c(e,"class","LeftTableP")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(e,"data-sort",i[12])},d(i){i&&y(e)}}}function Gc(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n,i,a;function s(){return t[35](t[71])}return{c(){e=b("button"),n=O(r),c(e,"data-sort",t[12]),c(e,"part","LeftTableButton")},m(o,l){C(o,e,l),m(e,n),i||(a=tt(e,"click",s),i=!0)},p(o,l){t=o,l[0]&16400&&r!==(r=t[14](`tournamentsTable.${t[71]}`)+"")&&W(n,r),l[0]&4096&&c(e,"data-sort",t[12])},d(o){o&&y(e),i=!1,a()}}}function zs(t){let e,r;function n(s,o){return s[1]=="true"?Gc:jc}let i=n(t),a=i(t);return{c(){e=b("th"),a.c(),r=H(),c(e,"part","LeftTableTh LeftTableTh_"+t[77]),c(e,"class","LeftTableTh")},m(s,o){C(s,e,o),a.m(e,null),m(e,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(e,r)))},d(s){s&&y(e),a.d()}}}function Bs(t){let e,r,n,i,a,s,o,l,u,f,d,h,p,_,g,P,L,E,v=t[5].Player+"",w,Y,D,F,G=t[5].Points+"",M,A,Se,ye,xe,Re,Me,Ne,Ce,U;function De(ne,B){return ne[5].Rank<4&&ne[2]=="true"?Wc:Yc}let he=De(t),$=he(t);function be(ne,B){return ne[5].Prize?Zc:Jc}let I=be(t),ie=I(t),Pe=t[5].Unqualified&&Ns(t);return{c(){e=b("tr"),r=b("td"),n=b("div"),i=b("strong"),$.c(),a=H(),s=b("div"),o=b("img"),f=H(),d=b("img"),P=H(),L=b("td"),E=b("div"),w=O(v),Y=H(),D=b("td"),F=b("div"),M=O(G),A=H(),Se=b("td"),ye=b("div"),ie.c(),Ce=H(),Pe&&Pe.c(),U=de(),Ye(o.src,l=nl)||c(o,"src",l),c(o,"alt","UpArrow"),c(o,"part","Rank_Arror_UP"),c(o,"class",u="svg Arrow Up "+(t[7]&&t[8]?"Show":"Hidden")),Ye(d.src,h=il)||c(d,"src",h),c(d,"alt","DownArrow"),c(d,"part","Rank_Arror_Down"),c(d,"class",p="svg Arrow Down "+(t[7]&&!t[8]?"Show":"Hidden")),c(s,"class",_="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(s,"part",g="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(i,"class","RankCol"),c(i,"part","RankCol"),c(n,"part","TableCellContent"),c(n,"class","TableCellContent CellContent"),c(r,"part","LeftTableTd RankFirstRow"),c(r,"class","LeftTableTd"),c(E,"part","TableCellContent"),c(E,"class","TableCellContent CellContent"),c(L,"part","LeftTableTd"),c(L,"class","LeftTableTd"),c(F,"class","Flex CellContent"),c(F,"part","Flex"),c(D,"part","LeftTableTd"),c(D,"class","LeftTableTd"),c(ye,"class","PrizeCell CellContent"),c(ye,"part","PrizeCell"),c(Se,"class",xe="LeftTableTd "+(t[5].Unqualified?"":"Qualified")),c(Se,"part",Re="LeftTableTd "+(t[5].Unqualified?"":"Qualified")),c(e,"class",Me="FirstRow "+(t[5].Unqualified?"UnqualifiedRow":"")),c(e,"part",Ne="FirstRow "+(t[5].Unqualified?"UnqualifiedRow":""))},m(ne,B){C(ne,e,B),m(e,r),m(r,n),m(n,i),$.m(i,null),m(i,a),m(i,s),m(s,o),m(s,f),m(s,d),m(e,P),m(e,L),m(L,E),m(E,w),m(e,Y),m(e,D),m(D,F),m(F,M),m(e,A),m(e,Se),m(Se,ye),ie.m(ye,null),C(ne,Ce,B),Pe&&Pe.m(ne,B),C(ne,U,B)},p(ne,B){he===(he=De(ne))&&$?$.p(ne,B):($.d(1),$=he(ne),$&&($.c(),$.m(i,a))),B[0]&384&&u!==(u="svg Arrow Up "+(ne[7]&&ne[8]?"Show":"Hidden"))&&c(o,"class",u),B[0]&384&&p!==(p="svg Arrow Down "+(ne[7]&&!ne[8]?"Show":"Hidden"))&&c(d,"class",p),B[0]&128&&_!==(_="ScoreChangeFlag "+(ne[7]?"Show":"Hidden"))&&c(s,"class",_),B[0]&128&&g!==(g="ScoreChangeFlag "+(ne[7]?"Show":"Hidden"))&&c(s,"part",g),B[0]&32&&v!==(v=ne[5].Player+"")&&W(w,v),B[0]&32&&G!==(G=ne[5].Points+"")&&W(M,G),I===(I=be(ne))&&ie?ie.p(ne,B):(ie.d(1),ie=I(ne),ie&&(ie.c(),ie.m(ye,null))),B[0]&32&&xe!==(xe="LeftTableTd "+(ne[5].Unqualified?"":"Qualified"))&&c(Se,"class",xe),B[0]&32&&Re!==(Re="LeftTableTd "+(ne[5].Unqualified?"":"Qualified"))&&c(Se,"part",Re),B[0]&32&&Me!==(Me="FirstRow "+(ne[5].Unqualified?"UnqualifiedRow":""))&&c(e,"class",Me),B[0]&32&&Ne!==(Ne="FirstRow "+(ne[5].Unqualified?"UnqualifiedRow":""))&&c(e,"part",Ne),ne[5].Unqualified?Pe?Pe.p(ne,B):(Pe=Ns(ne),Pe.c(),Pe.m(U.parentNode,U)):Pe&&(Pe.d(1),Pe=null)},d(ne){ne&&(y(e),y(Ce),y(U)),$.d(),ie.d(),Pe&&Pe.d(ne)}}}function Yc(t){let e,r,n=(t[5].Rank||"")+"",i;return{c(){e=b("em"),r=O("#"),i=O(n),c(e,"part","LeftTableTdEm")},m(a,s){C(a,e,s),m(e,r),m(e,i)},p(a,s){s[0]&32&&n!==(n=(a[5].Rank||"")+"")&&W(i,n)},d(a){a&&y(e)}}}function Wc(t){let e;function r(a,s){return a[5].Rank>0?qc:Vc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function Vc(t){let e;return{c(){e=b("em"),e.textContent="#",c(e,"part","LeftTableTdEm")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function qc(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[5].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&2080&&!Ye(e.src,r=n[11][n[5].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function Jc(t){let e;return{c(){e=O("-")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function Zc(t){let e=t[5].Prize+"",r;return{c(){r=O(e)},m(n,i){C(n,r,i)},p(n,i){i[0]&32&&e!==(e=n[5].Prize+"")&&W(r,e)},d(n){n&&y(r)}}}function Ns(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){e=b("tr"),r=b("td"),n=b("div"),i=H(),s=O(a),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${qn}")`),c(r,"colspan",t[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(e,"class","TooltipsRow"),c(e,"part","TooltipsRow")},m(o,l){C(o,e,l),m(e,r),m(r,n),m(r,i),m(r,s)},p(o,l){l[0]&16384&&a!==(a=o[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a),l[0]&512&&c(r,"colspan",o[9])},d(o){o&&y(e)}}}function Hs(t){let e,r=Le(t[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=js(Es(t,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();e=de()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,e,a)},p(i,a){if(a[0]&27524){r=Le(i[13]);let s;for(s=0;s<r.length;s+=1){const o=Es(i,r,s);n[s]?n[s].p(o,a):(n[s]=js(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(e),ft(n,i)}}}function Xc(t){let e,r=(t[68].Rank||"")+"",n;return{c(){e=O("#"),n=O(r)},m(i,a){C(i,e,a),C(i,n,a)},p(i,a){a[0]&8192&&r!==(r=(i[68].Rank||"")+"")&&W(n,r)},d(i){i&&(y(e),y(n))}}}function Qc(t){let e;function r(a,s){return a[68].Rank>0?$c:Kc}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function Kc(t){let e;return{c(){e=O("#")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function $c(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[68].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&10240&&!Ye(e.src,r=n[11][n[68].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function Us(t){let e,r,n,i,a,s,o;return{c(){e=b("img"),i=H(),a=b("img"),Ye(e.src,r=nl)||c(e,"src",r),c(e,"alt","UpArrow"),c(e,"part","Rank_Arror_UP"),c(e,"class",n="svg Arrow Up "+(t[7]&&t[8]?"Show":"Hidden")),Ye(a.src,s=il)||c(a,"src",s),c(a,"alt","DownArrow"),c(a,"part","Rank_Arror_Down"),c(a,"class",o="svg Arrow Down "+(t[7]&&!t[8]?"Show":"Hidden"))},m(l,u){C(l,e,u),C(l,i,u),C(l,a,u)},p(l,u){u[0]&384&&n!==(n="svg Arrow Up "+(l[7]&&l[8]?"Show":"Hidden"))&&c(e,"class",n),u[0]&384&&o!==(o="svg Arrow Down "+(l[7]&&!l[8]?"Show":"Hidden"))&&c(a,"class",o)},d(l){l&&(y(e),y(i),y(a))}}}function e1(t){let e;return{c(){e=O("-")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function t1(t){let e=t[68].Prize+"",r;return{c(){r=O(e)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&e!==(e=n[68].Prize+"")&&W(r,e)},d(n){n&&y(r)}}}function Is(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l;return{c(){e=b("tr"),r=b("td"),n=b("div"),i=H(),s=O(a),o=H(),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${qn}")`),c(r,"colspan",t[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(e,"class",l="TooltipsRow Rank"+t[68].Rank+"Tr CurrentUserTr"),c(e,"part","TooltipsRow")},m(u,f){C(u,e,f),m(e,r),m(r,n),m(r,i),m(r,s),m(e,o)},p(u,f){f[0]&16384&&a!==(a=u[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a),f[0]&512&&c(r,"colspan",u[9]),f[0]&8192&&l!==(l="TooltipsRow Rank"+u[68].Rank+"Tr CurrentUserTr")&&c(e,"class",l)},d(u){u&&y(e)}}}function js(t){let e,r,n,i,a,s,o,l,u,f,d,h,p,_=t[68].Player+"",g,P,L,E,v,w=t[68].Points+"",Y,D,F,G,M,A,Se,ye,xe,Re;function Me(I,ie){return I[68].Rank<4&&I[2]=="true"?Qc:Xc}let Ne=Me(t),Ce=Ne(t),U=t[68].isCurrentUser&&Us(t);function De(I,ie){return I[68].Prize?t1:e1}let he=De(t),$=he(t),be=t[68].Unqualified&&t[68].isCurrentUser&&Is(t);return{c(){e=b("tr"),r=b("td"),n=b("div"),i=b("strong"),a=b("em"),Ce.c(),s=H(),o=b("div"),U&&U.c(),d=H(),h=b("td"),p=b("div"),g=O(_),P=H(),L=b("td"),E=b("div"),v=b("div"),Y=O(w),D=H(),F=b("td"),G=b("div"),$.c(),xe=H(),be&&be.c(),Re=de(),c(o,"class",l="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(o,"part",u="ScoreChangeFlag "+(t[7]?"Show":"Hidden")),c(a,"part","LeftTableTdEm"),c(i,"class","RankCol"),c(i,"part","RankCol"),c(n,"part","TableCellContent"),c(n,"class","Table CellContent"),c(r,"part",f="LeftTableTd Rank-"+t[68].Rank),c(r,"class","LeftTableTd"),c(p,"part","PlayerCellContent"),c(p,"class","Player CellContent"),c(h,"part","LeftTableTd"),c(h,"class","LeftTableTd"),c(v,"class","Flex ScoreUp"),c(v,"part","Flex ScoreUp"),c(E,"part","ScoreCellContent"),c(E,"class","Score CellContent"),c(L,"part","LeftTableTd"),c(L,"class","LeftTableTd"),c(G,"part","PrizeCellContent"),c(G,"class","Prize CellContent "),c(F,"class",M="LeftTableTd "+(t[68].Unqualified?"":"Qualified")),c(F,"part",A="LeftTableTd "+(t[68].Unqualified?"":"Qualified")),c(e,"class",Se="LeftTableTr Rank"+t[68].Rank+"Tr "+(t[68].isCurrentUser?"FirstRow":"")+" "+(t[68].isCurrentUser&&t[68].Unqualified?"UnqualifiedRow":"")),c(e,"part",ye="LeftTableTr "+(t[68].isCurrentUser?"FirstRow":"")+" "+(t[68].isCurrentUser&&t[68].Unqualified?"UnqualifiedRow":""))},m(I,ie){C(I,e,ie),m(e,r),m(r,n),m(n,i),m(i,a),Ce.m(a,null),m(a,s),m(a,o),U&&U.m(o,null),m(e,d),m(e,h),m(h,p),m(p,g),m(e,P),m(e,L),m(L,E),m(E,v),m(v,Y),m(e,D),m(e,F),m(F,G),$.m(G,null),C(I,xe,ie),be&&be.m(I,ie),C(I,Re,ie)},p(I,ie){Ne===(Ne=Me(I))&&Ce?Ce.p(I,ie):(Ce.d(1),Ce=Ne(I),Ce&&(Ce.c(),Ce.m(a,s))),I[68].isCurrentUser?U?U.p(I,ie):(U=Us(I),U.c(),U.m(o,null)):U&&(U.d(1),U=null),ie[0]&128&&l!==(l="ScoreChangeFlag "+(I[7]?"Show":"Hidden"))&&c(o,"class",l),ie[0]&128&&u!==(u="ScoreChangeFlag "+(I[7]?"Show":"Hidden"))&&c(o,"part",u),ie[0]&8192&&f!==(f="LeftTableTd Rank-"+I[68].Rank)&&c(r,"part",f),ie[0]&8192&&_!==(_=I[68].Player+"")&&W(g,_),ie[0]&8192&&w!==(w=I[68].Points+"")&&W(Y,w),he===(he=De(I))&&$?$.p(I,ie):($.d(1),$=he(I),$&&($.c(),$.m(G,null))),ie[0]&8192&&M!==(M="LeftTableTd "+(I[68].Unqualified?"":"Qualified"))&&c(F,"class",M),ie[0]&8192&&A!==(A="LeftTableTd "+(I[68].Unqualified?"":"Qualified"))&&c(F,"part",A),ie[0]&8192&&Se!==(Se="LeftTableTr Rank"+I[68].Rank+"Tr "+(I[68].isCurrentUser?"FirstRow":"")+" "+(I[68].isCurrentUser&&I[68].Unqualified?"UnqualifiedRow":""))&&c(e,"class",Se),ie[0]&8192&&ye!==(ye="LeftTableTr "+(I[68].isCurrentUser?"FirstRow":"")+" "+(I[68].isCurrentUser&&I[68].Unqualified?"UnqualifiedRow":""))&&c(e,"part",ye),I[68].Unqualified&&I[68].isCurrentUser?be?be.p(I,ie):(be=Is(I),be.c(),be.m(Re.parentNode,Re)):be&&(be.d(1),be=null)},d(I){I&&(y(e),y(xe),y(Re)),Ce.d(),U&&U.d(),$.d(),be&&be.d(I)}}}function r1(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M6 9l6 6 6-6"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function n1(t){let e,r;return{c(){e=$e("svg"),r=$e("path"),c(r,"d","M18 15l-6-6-6 6"),c(e,"xmlns","http://www.w3.org/2000/svg"),c(e,"width","24"),c(e,"height","24"),c(e,"viewBox","0 0 24 24"),c(e,"fill","none"),c(e,"stroke","#ffffff"),c(e,"stroke-width","2"),c(e,"stroke-linecap","round"),c(e,"stroke-linejoin","round")},m(n,i){C(n,e,i),m(e,r)},d(n){n&&y(e)}}}function i1(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n;return{c(){e=b("p"),n=O(r),c(e,"data-sort",t[12])},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(e,"data-sort",i[12])},d(i){i&&y(e)}}}function a1(t){let e,r=t[14](`tournamentsTable.${t[71]}`)+"",n,i,a;function s(){return t[34](t[71])}return{c(){e=b("button"),n=O(r),c(e,"data-sort",t[12])},m(o,l){C(o,e,l),m(e,n),i||(a=tt(e,"click",s),i=!0)},p(o,l){t=o,l[0]&16400&&r!==(r=t[14](`tournamentsTable.${t[71]}`)+"")&&W(n,r),l[0]&4096&&c(e,"data-sort",t[12])},d(o){o&&y(e),i=!1,a()}}}function Gs(t){let e,r,n,i;function a(l,u){return l[1]=="true"?a1:i1}let s=a(t),o=s(t);return{c(){e=b("div"),o.c(),r=H(),c(e,"class",n="TableCell Table"+t[71]),c(e,"part",i="TableCell Table"+t[71])},m(l,u){C(l,e,u),o.m(e,null),m(e,r)},p(l,u){s===(s=a(l))&&o?o.p(l,u):(o.d(1),o=s(l),o&&(o.c(),o.m(e,r))),u[0]&16&&n!==(n="TableCell Table"+l[71])&&c(e,"class",n),u[0]&16&&i!==(i="TableCell Table"+l[71])&&c(e,"part",i)},d(l){l&&y(e),o.d()}}}function Ys(t){let e,r,n,i,a,s,o=t[5].Player+"",l,u,f,d=t[5].Points+"",h,p,_,g,P,L;function E(M,A){return M[5].Rank<4&&M[2]=="true"?o1:s1}let v=E(t),w=v(t);function Y(M,A){return M[5].Prize?f1:c1}let D=Y(t),F=D(t),G=t[5].Unqualified&&Ws(t);return{c(){e=b("div"),r=b("div"),w.c(),a=H(),s=b("div"),l=O(o),u=H(),f=b("div"),h=O(d),p=H(),F.c(),P=H(),G&&G.c(),L=de(),c(r,"class",n="TableCell TableRank "+(t[5].Prize?"Qualified":"")),c(r,"part",i="TableCell TableRank RankFirstRow "+(t[5].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(e,"class",_="TableUser CurrentUserRow "+(t[5].Unqualified?"UnqualifiedRow":"")),c(e,"part",g="TableUser CurrentUserRow "+(t[5].Unqualified?"UnqualifiedRow":""))},m(M,A){C(M,e,A),m(e,r),w.m(r,null),m(e,a),m(e,s),m(s,l),m(e,u),m(e,f),m(f,h),m(e,p),F.m(e,null),C(M,P,A),G&&G.m(M,A),C(M,L,A)},p(M,A){v===(v=E(M))&&w?w.p(M,A):(w.d(1),w=v(M),w&&(w.c(),w.m(r,null))),A[0]&32&&n!==(n="TableCell TableRank "+(M[5].Prize?"Qualified":""))&&c(r,"class",n),A[0]&32&&i!==(i="TableCell TableRank RankFirstRow "+(M[5].Prize?"Qualified":""))&&c(r,"part",i),A[0]&32&&o!==(o=M[5].Player+"")&&W(l,o),A[0]&32&&d!==(d=M[5].Points+"")&&W(h,d),D===(D=Y(M))&&F?F.p(M,A):(F.d(1),F=D(M),F&&(F.c(),F.m(e,null))),A[0]&32&&_!==(_="TableUser CurrentUserRow "+(M[5].Unqualified?"UnqualifiedRow":""))&&c(e,"class",_),A[0]&32&&g!==(g="TableUser CurrentUserRow "+(M[5].Unqualified?"UnqualifiedRow":""))&&c(e,"part",g),M[5].Unqualified?G?G.p(M,A):(G=Ws(M),G.c(),G.m(L.parentNode,L)):G&&(G.d(1),G=null)},d(M){M&&(y(e),y(P),y(L)),w.d(),F.d(),G&&G.d(M)}}}function s1(t){let e,r=(t[5].Rank||"")+"",n;return{c(){e=b("em"),n=O(r),c(e,"part","LeftTableTdEm")},m(i,a){C(i,e,a),m(e,n)},p(i,a){a[0]&32&&r!==(r=(i[5].Rank||"")+"")&&W(n,r)},d(i){i&&y(e)}}}function o1(t){let e;function r(a,s){return a[5].Rank>0?u1:l1}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function l1(t){let e;return{c(){e=b("em"),e.textContent="#",c(e,"part","LeftTableTdEm")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function u1(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[5].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&2080&&!Ye(e.src,r=n[11][n[5].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function c1(t){let e;return{c(){e=b("div"),e.textContent="-",c(e,"class","TableCell TablePrize"),c(e,"part","TableCell TablePrize")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function f1(t){let e,r=t[5].Prize+"",n,i,a;return{c(){e=b("div"),n=O(r),c(e,"class",i="TableCell TablePrize "+(t[5].Unqualified?"":"Qualified")),c(e,"part",a="TableCell TablePrize "+(t[5].Unqualified?"":"Qualified"))},m(s,o){C(s,e,o),m(e,n)},p(s,o){o[0]&32&&r!==(r=s[5].Prize+"")&&W(n,r),o[0]&32&&i!==(i="TableCell TablePrize "+(s[5].Unqualified?"":"Qualified"))&&c(e,"class",i),o[0]&32&&a!==(a="TableCell TablePrize "+(s[5].Unqualified?"":"Qualified"))&&c(e,"part",a)},d(s){s&&y(e)}}}function Ws(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){e=b("div"),r=b("div"),n=H(),i=b("em"),s=O(a),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${qn}")`),c(i,"part","TableUserTooltipsEm"),c(e,"class","TableUserTooltips"),c(e,"part","TableUserTooltips")},m(o,l){C(o,e,l),m(e,r),m(e,n),m(e,i),m(i,s)},p(o,l){l[0]&16384&&a!==(a=o[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a)},d(o){o&&y(e)}}}function Vs(t){let e,r=Le(t[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Js(Rs(t,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();e=de()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,e,a)},p(i,a){if(a[0]&26628){r=Le(i[13]);let s;for(s=0;s<r.length;s+=1){const o=Rs(i,r,s);n[s]?n[s].p(o,a):(n[s]=Js(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(e),ft(n,i)}}}function d1(t){let e=(t[68].Rank||"")+"",r;return{c(){r=O(e)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&e!==(e=(n[68].Rank||"")+"")&&W(r,e)},d(n){n&&y(r)}}}function h1(t){let e;function r(a,s){return a[68].Rank>0?p1:m1}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},d(a){a&&y(e),i.d(a)}}}function m1(t){let e;return{c(){e=b("em"),c(e,"part","LeftTableTdEm")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function p1(t){let e,r;return{c(){e=b("img"),c(e,"alt","prize"),c(e,"class","PrizeIcon"),Ye(e.src,r=t[11][t[68].Rank])||c(e,"src",r)},m(n,i){C(n,e,i)},p(n,i){i[0]&10240&&!Ye(e.src,r=n[11][n[68].Rank])&&c(e,"src",r)},d(n){n&&y(e)}}}function g1(t){let e;return{c(){e=b("div"),e.textContent="-",c(e,"class","TableCell TablePrize"),c(e,"part","TableCell TablePrize")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function b1(t){let e,r=t[68].Prize+"",n,i,a;return{c(){e=b("div"),n=O(r),c(e,"class",i="TableCell TablePrize "+(t[68].Unqualified?"":"Qualified")),c(e,"part",a="TableCell TablePrize "+(t[68].Unqualified?"":"Qualified"))},m(s,o){C(s,e,o),m(e,n)},p(s,o){o[0]&8192&&r!==(r=s[68].Prize+"")&&W(n,r),o[0]&8192&&i!==(i="TableCell TablePrize "+(s[68].Unqualified?"":"Qualified"))&&c(e,"class",i),o[0]&8192&&a!==(a="TableCell TablePrize "+(s[68].Unqualified?"":"Qualified"))&&c(e,"part",a)},d(s){s&&y(e)}}}function qs(t){let e,r,n,i,a=t[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l,u;return{c(){e=b("div"),r=b("div"),n=H(),i=b("em"),s=O(a),o=H(),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${qn}")`),c(i,"part","TableUserTooltipsEm"),c(e,"class",l="TableUserTooltips "+(t[68].Unqualified?"UnqualifiedRow":"")),c(e,"part",u="TableUserTooltips "+(t[68].Unqualified?"UnqualifiedRow":""))},m(f,d){C(f,e,d),m(e,r),m(e,n),m(e,i),m(i,s),m(e,o)},p(f,d){d[0]&16384&&a!==(a=f[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a),d[0]&8192&&l!==(l="TableUserTooltips "+(f[68].Unqualified?"UnqualifiedRow":""))&&c(e,"class",l),d[0]&8192&&u!==(u="TableUserTooltips "+(f[68].Unqualified?"UnqualifiedRow":""))&&c(e,"part",u)},d(f){f&&y(e)}}}function Js(t){let e,r,n,i,a,s,o=t[68].Player+"",l,u,f,d=t[68].Points+"",h,p,_,g,P,L;function E(M,A){return M[68].Rank<4&&M[2]=="true"?h1:d1}let v=E(t),w=v(t);function Y(M,A){return M[68].Prize?b1:g1}let D=Y(t),F=D(t),G=t[68].isCurrentUser&&t[68].Unqualified&&qs(t);return{c(){e=b("div"),r=b("div"),w.c(),a=H(),s=b("div"),l=O(o),u=H(),f=b("div"),h=O(d),p=H(),F.c(),P=H(),G&&G.c(),L=de(),c(r,"class",n="TableCell TableRank "+(t[68].Prize?"Qualified":"")),c(r,"part",i="TableCell Rank-"+t[68].Rank+" TableRank "+(t[68].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(e,"class",_="TableUser "+(t[68].isCurrentUser?"CurrentUserRow":"")),c(e,"part",g="TableUser "+(t[68].isCurrentUser?"CurrentUserRow":""))},m(M,A){C(M,e,A),m(e,r),w.m(r,null),m(e,a),m(e,s),m(s,l),m(e,u),m(e,f),m(f,h),m(e,p),F.m(e,null),C(M,P,A),G&&G.m(M,A),C(M,L,A)},p(M,A){v===(v=E(M))&&w?w.p(M,A):(w.d(1),w=v(M),w&&(w.c(),w.m(r,null))),A[0]&8192&&n!==(n="TableCell TableRank "+(M[68].Prize?"Qualified":""))&&c(r,"class",n),A[0]&8192&&i!==(i="TableCell Rank-"+M[68].Rank+" TableRank "+(M[68].Prize?"Qualified":""))&&c(r,"part",i),A[0]&8192&&o!==(o=M[68].Player+"")&&W(l,o),A[0]&8192&&d!==(d=M[68].Points+"")&&W(h,d),D===(D=Y(M))&&F?F.p(M,A):(F.d(1),F=D(M),F&&(F.c(),F.m(e,null))),A[0]&8192&&_!==(_="TableUser "+(M[68].isCurrentUser?"CurrentUserRow":""))&&c(e,"class",_),A[0]&8192&&g!==(g="TableUser "+(M[68].isCurrentUser?"CurrentUserRow":""))&&c(e,"part",g),M[68].isCurrentUser&&M[68].Unqualified?G?G.p(M,A):(G=qs(M),G.c(),G.m(L.parentNode,L)):G&&(G.d(1),G=null)},d(M){M&&(y(e),y(P),y(L)),w.d(),F.d(),G&&G.d(M)}}}function _1(t){let e,r;function n(s,o){return!s[10]&&(s[3].length>0||s[5])?Bc:(e==null&&(e=Wn(s[15])==!0),e?zc:Oc)}let i=n(t),a=i(t);return{c(){a.c(),r=de()},m(s,o){a.m(s,o),C(s,r,o)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(r.parentNode,r)))},i:J,o:J,d(s){s&&y(r),a.d(s)}}}let y1=null;function C1(t,e,r){let n,i,a;vt(t,wt,k=>r(14,a=k));let{sortable:s=!1}=e,{firstrow:o=!0}=e,{lang:l="en"}=e,{scorefractiondigit:u="2"}=e,{session:f=""}=e,{userid:d=""}=e,{tourid:h=""}=e,{endpoint:p=""}=e,{tablelimit:_="30"}=e,{namemask:g=""}=e,{showunqualifiedplayer:P="true"}=e,{mobiletablelimit:L="15"}=e,{updatetableintime:E="true"}=e,{minscore:v=""}=e,{showrankasimage:w="true"}=e,{cellsetting:Y={firstrow:!0}}=e,D=[],F=[],G=null,M=null,A={},Se=!0,ye=window.navigator.userAgent,xe=!1,Re=!1,Me,Ne,Ce,U=!1,De,he={},$=!1,be,I,ie="",Pe=!0,ne=2;const B=["Rank","Player","Points","Prize"],Xe=k=>({Rank:k.rank,Player:k.userID==ie?"me":k.shortName,Points:k.score.toLocaleString("en-US",{minimumFractionDigits:ne,maximumFractionDigits:ne}),Prize:k.prizeName,Unqualified:k.unqualified,BetCount:k.betCount,userID:k.userID}),ve=()=>{f&&f.length>0&&f!="false"&&(ie=d),Me=null,r(10,Pe=!1)},et=(k,te)=>te.find(we=>we.Rank==k);let Ge,St;const Et=k=>{if(!Me){Me=k;return}r(7,xe=Me!=k),r(8,Re=Me>k),xe&&(Ge=new Date().getTime(),setTimeout(function(){St=new Date().getTime(),(St-Ge)/1e3>4&&r(7,xe=!1),Me=k},5e3))},dr=k=>{if(k.data&&k.data.type==="CasinoTableData"&&(r(3,F=k.data.tableData),r(13,n=F)),k.data&&k.data.type==="CasinoTableColumns"&&(r(4,D=k.data.tableColumns),r(9,Ne=D.length||4)),k.data&&k.data.type==="CasinoTableCurrentUserData"&&F&&(F.forEach(te=>{te.userID==k.data.tableData.userID&&(te.isCurrentUser=!0,Me||(Me=k.data.tableData.Rank),A?(Et(k.data.tableData.Rank),r(5,A=null)):Et(k.data.tableData.Rank))}),r(13,n=F)),o&&k.data&&k.data.type==="CasinoTableFirstRowData"){let te=k.data.tableData;if(!A){r(5,A=k.data.tableData),Me=A.Rank;return}A&&A.UserID==te.UserID&&(Et(te.Rank),r(5,A=k.data.tableData))}if(k.data&&k.data.type==="CasinoTableDataUpdate"&&k.data.tableData){let te=k.data.tableData;if(!(F instanceof Array))return;F.forEach(function(re,we){let Ae=et(re.Rank,te);Ae&&r(3,F[we]=Ae,F)})}},Nt=k=>{const te=k===G,re=M==="ASC",we=te&&!re;r(31,G=we?null:k),r(32,M=we?null:te&&re?"DESC":"ASC")},T=(k,te)=>{const re=te.toLowerCase();if(k==="string")return(we,Ae)=>we[re].localeCompare(Ae[re]);if(k==="number")return(we,Ae)=>we[re]-Ae[re];if(k==="object")return(we,Ae)=>we[re]-Ae[re]},N=()=>{let k=[];if(F&&(k=[...F]),!F.length)return F;const te=typeof F[0][G.toLowerCase()];return k.sort(T(te,G)),M==="ASC"?k:k.reverse()},q=()=>{r(6,Se=!Se)},z=k=>{$=!1;let te=[];return k&&k.length>0&&k.forEach(re=>{let we=Xe(re);re.userID==ie&&(he=we,$=!0),te.push(we)}),te},ae=k=>ar(ar({},Xe(k)),k.unqualified===!0?{Rank:k.rank}:{}),Q=k=>{if(!(!k.data||k.type!="message"))try{let te=k.data,re=JSON.parse(te);if(!re||!re.items)return;let we=z(re.items);window.postMessage({type:"CasinoTableData",tableData:we},window.location.href),$=we.filter(dt=>dt.userID=ie).length>0,U=re.item&&!$,U&&(r(5,A=ae(re.item)),A&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href));let Ae=$?he.Rank:(A==null?void 0:A.Rank)||null;(Ae!=I||be!=re.items.length)&&(be=re.items.length,window.postMessage({type:`TournamentRankInfo_${h}`,rankInfo:{rank:Ae,overallRank:be,prize:$?he.Prize||"-":(A==null?void 0:A.Prize)||"-"}},window.location.href),I=Ae),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:he},window.location.href)}catch(te){console.error(te)}},le=(k,te)=>{let re=`${p}/v1/tournaments/${k}/leaderboard/updates?HeartBeat=false&${te.toString()}`;De&&(De.removeEventListener("message",Q),De.close()),De=new el.EventSourcePolyfill(re,{headers:{accept:"text/event-stream","X-SessionId":f}}),typeof De!="undefined"&&De.addEventListener("message",Q)},S=(k,te)=>{let re=new URL(k+`/v1/tournaments/${te}/leaderboard`),we=new Headers;re.searchParams.append("language",l);let Ae=`includeUnqualifiedPlayer=${P}`;if(Ae=g?`${Ae},shortNameMask=${g}`:Ae,Ae=v?`${Ae},minscore=${v}`:Ae,re.searchParams.append("filter",Ae),f){let ht=Wn(ye)==!0?L:_;re.searchParams.append("pagination",`offset=0,limit=${ht}`),we.append("X-SessionId",f)}re.searchParams.append("platform",Vn(ye));let dt={method:"GET",headers:we};r(10,Pe=!0),r(5,A=null),fetch(re,dt).then(ht=>ht.json()).then(ht=>{r(10,Pe=!1),Ce=z(ht.items),ht.item&&!$&&(U=!0,r(5,A=ae(ht.item))),r(6,Se=!0),I=$?he.Rank:A?A.Rank:0,be=ht.total,window.postMessage({type:"CasinoTableData",tableData:Ce},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:B},window.location.href),U&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href),E==="true"&&le(te,re.searchParams),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:he},window.location.href)})},X=()=>{S(p,h)};let ee=[],se=!1;tr(()=>(r(11,ee=[An,An,tl,rl]),r(0,o=Y?Y.firstrow:!0),ve(),r(33,se=!0),window.addEventListener("message",dr),()=>{window.removeEventListener("message",dr)}));const Z=k=>Nt(k),ue=k=>Nt(k),He=()=>q(),Ht=k=>Nt(k);return t.$$set=k=>{"sortable"in k&&r(1,s=k.sortable),"firstrow"in k&&r(0,o=k.firstrow),"lang"in k&&r(18,l=k.lang),"scorefractiondigit"in k&&r(19,u=k.scorefractiondigit),"session"in k&&r(20,f=k.session),"userid"in k&&r(21,d=k.userid),"tourid"in k&&r(22,h=k.tourid),"endpoint"in k&&r(23,p=k.endpoint),"tablelimit"in k&&r(24,_=k.tablelimit),"namemask"in k&&r(25,g=k.namemask),"showunqualifiedplayer"in k&&r(26,P=k.showunqualifiedplayer),"mobiletablelimit"in k&&r(27,L=k.mobiletablelimit),"updatetableintime"in k&&r(28,E=k.updatetableintime),"minscore"in k&&r(29,v=k.minscore),"showrankasimage"in k&&r(2,w=k.showrankasimage),"cellsetting"in k&&r(30,Y=k.cellsetting)},t.$$.update=()=>{t.$$.dirty[0]&8|t.$$.dirty[1]&3&&r(13,n=G&&M?N():[...F]),t.$$.dirty[1]&3&&r(12,i=y1===G?M:null),t.$$.dirty[0]&524288&&(ne=Number(u)),t.$$.dirty[0]&1048576|t.$$.dirty[1]&4&&se&&f&&ve(),t.$$.dirty[0]&91488256|t.$$.dirty[1]&4&&l&&d&&f&&h&&P&&_&&se&&X()},[o,s,w,F,D,A,Se,xe,Re,Ne,Pe,ee,i,n,a,ye,Nt,q,l,u,f,d,h,p,_,g,P,L,E,v,Y,G,M,se,Z,ue,He,Ht]}class Zi extends qe{constructor(e){super(),We(this,e,C1,_1,je,{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])}get sortable(){return this.$$.ctx[1]}set sortable(e){this.$$set({sortable:e}),x()}get firstrow(){return this.$$.ctx[0]}set firstrow(e){this.$$set({firstrow:e}),x()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),x()}get scorefractiondigit(){return this.$$.ctx[19]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),x()}get session(){return this.$$.ctx[20]}set session(e){this.$$set({session:e}),x()}get userid(){return this.$$.ctx[21]}set userid(e){this.$$set({userid:e}),x()}get tourid(){return this.$$.ctx[22]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[23]}set endpoint(e){this.$$set({endpoint:e}),x()}get tablelimit(){return this.$$.ctx[24]}set tablelimit(e){this.$$set({tablelimit:e}),x()}get namemask(){return this.$$.ctx[25]}set namemask(e){this.$$set({namemask:e}),x()}get showunqualifiedplayer(){return this.$$.ctx[26]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),x()}get mobiletablelimit(){return this.$$.ctx[27]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),x()}get updatetableintime(){return this.$$.ctx[28]}set updatetableintime(e){this.$$set({updatetableintime:e}),x()}get minscore(){return this.$$.ctx[29]}set minscore(e){this.$$set({minscore:e}),x()}get showrankasimage(){return this.$$.ctx[2]}set showrankasimage(e){this.$$set({showrankasimage:e}),x()}get cellsetting(){return this.$$.ctx[30]}set cellsetting(e){this.$$set({cellsetting:e}),x()}}customElements.define("leaderboard-router",Ve(Zi,{sortable:{type:"Boolean"},firstrow:{type:"Boolean"},lang:{},scorefractiondigit:{},session:{},userid:{},tourid:{},endpoint:{},tablelimit:{},namemask:{},showunqualifiedplayer:{},mobiletablelimit:{},updatetableintime:{},minscore:{},showrankasimage:{},cellsetting:{}},[],[],!0));function v1(t){_r(t,"svelte-1s8lo6e",".Title.Loading.svelte-1s8lo6e{width:100%;text-align:left}")}function w1(t){let e,r;return{c(){e=b("p"),r=O(t[0]),c(e,"class","Title"),c(e,"part","Title")},m(n,i){C(n,e,i),m(e,r)},p(n,i){i&1&&W(r,n[0])},d(n){n&&y(e)}}}function T1(t){let e;return{c(){e=b("p"),e.innerHTML='<ui-skeleton structure="text" width="200px" height="25px"></ui-skeleton>',c(e,"class","Title Loading svelte-1s8lo6e"),c(e,"part","Title")},m(r,n){C(r,e,n)},p:J,d(r){r&&y(e)}}}function k1(t){let e;function r(a,s){return a[1]?T1:w1}let n=r(t),i=n(t);return{c(){i.c(),e=de()},m(a,s){i.m(a,s),C(a,e,s)},p(a,[s]){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(e.parentNode,e)))},i:J,o:J,d(a){a&&y(e),i.d(a)}}}function S1(t,e,r){let{lang:n="en"}=e,{title:i=""}=e,{isloading:a=!0}=e;rr({fallbackLocale:"en",initialLocale:"en"});const s=()=>{bt(n)};return t.$$set=o=>{"lang"in o&&r(2,n=o.lang),"title"in o&&r(0,i=o.title),"isloading"in o&&r(1,a=o.isloading)},t.$$.update=()=>{t.$$.dirty&4&&n&&s()},[i,a,n]}class Xi extends qe{constructor(e){super(),We(this,e,S1,k1,je,{lang:2,title:0,isloading:1},v1)}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),x()}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),x()}get isloading(){return this.$$.ctx[1]}set isloading(e){this.$$set({isloading:e}),x()}}customElements.define("title-line",Ve(Xi,{lang:{},title:{},isloading:{type:"Boolean"}},[],[],!0));function P1(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
29
|
+
//! version : 2.29.4
|
|
30
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
31
|
+
//! license : MIT
|
|
32
|
+
//! momentjs.com
|
|
33
|
+
var al;function j(){return al.apply(null,arguments)}function x1(t){al=t}function xt(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function br(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Te(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ua(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Te(t,e))return!1;return!0}function ct(t){return t===void 0}function Kt(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function cn(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function sl(t,e){var r=[],n,i=t.length;for(n=0;n<i;++n)r.push(e(t[n],n));return r}function or(t,e){for(var r in e)Te(e,r)&&(t[r]=e[r]);return Te(e,"toString")&&(t.toString=e.toString),Te(e,"valueOf")&&(t.valueOf=e.valueOf),t}function zt(t,e,r,n){return El(t,e,r,n,!0).utc()}function D1(){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 ce(t){return t._pf==null&&(t._pf=D1()),t._pf}var Qi;Array.prototype.some?Qi=Array.prototype.some:Qi=function(t){var e=Object(this),r=e.length>>>0,n;for(n=0;n<r;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};function ca(t){if(t._isValid==null){var e=ce(t),r=Qi.call(e.parsedDateParts,function(i){return i!=null}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(n=n&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=n;else return n}return t._isValid}function Jn(t){var e=zt(NaN);return t!=null?or(ce(e),t):ce(e).userInvalidated=!0,e}var Zs=j.momentProperties=[],bi=!1;function fa(t,e){var r,n,i,a=Zs.length;if(ct(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),ct(e._i)||(t._i=e._i),ct(e._f)||(t._f=e._f),ct(e._l)||(t._l=e._l),ct(e._strict)||(t._strict=e._strict),ct(e._tzm)||(t._tzm=e._tzm),ct(e._isUTC)||(t._isUTC=e._isUTC),ct(e._offset)||(t._offset=e._offset),ct(e._pf)||(t._pf=ce(e)),ct(e._locale)||(t._locale=e._locale),a>0)for(r=0;r<a;r++)n=Zs[r],i=e[n],ct(i)||(t[n]=i);return t}function fn(t){fa(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),bi===!1&&(bi=!0,j.updateOffset(this),bi=!1)}function Dt(t){return t instanceof fn||t!=null&&t._isAMomentObject!=null}function ol(t){j.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+t)}function Tt(t,e){var r=!0;return or(function(){if(j.deprecationHandler!=null&&j.deprecationHandler(null,t),r){var n=[],i,a,s,o=arguments.length;for(a=0;a<o;a++){if(i="",typeof arguments[a]=="object"){i+=`
|
|
34
|
+
[`+a+"] ";for(s in arguments[0])Te(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];n.push(i)}ol(t+`
|
|
35
|
+
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
36
|
+
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Xs={};function ll(t,e){j.deprecationHandler!=null&&j.deprecationHandler(t,e),Xs[t]||(ol(e),Xs[t]=!0)}j.suppressDeprecationWarnings=!1;j.deprecationHandler=null;function Bt(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function L1(t){var e,r;for(r in t)Te(t,r)&&(e=t[r],Bt(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ki(t,e){var r=or({},t),n;for(n in e)Te(e,n)&&(br(t[n])&&br(e[n])?(r[n]={},or(r[n],t[n]),or(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)Te(t,n)&&!Te(e,n)&&br(t[n])&&(r[n]=or({},r[n]));return r}function da(t){t!=null&&this.set(t)}var $i;Object.keys?$i=Object.keys:$i=function(t){var e,r=[];for(e in t)Te(t,e)&&r.push(e);return r};var E1={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function M1(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return Bt(n)?n.call(e,r):n}function Ft(t,e,r){var n=""+Math.abs(t),i=e-n.length,a=t>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var ha=/(\[[^\[]*\])|(\\)?([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,_n=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,_i={},Dr={};function K(t,e,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),t&&(Dr[t]=i),e&&(Dr[e[0]]=function(){return Ft(i.apply(this,arguments),e[1],e[2])}),r&&(Dr[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function R1(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function A1(t){var e=t.match(ha),r,n;for(r=0,n=e.length;r<n;r++)Dr[e[r]]?e[r]=Dr[e[r]]:e[r]=R1(e[r]);return function(i){var a="",s;for(s=0;s<n;s++)a+=Bt(e[s])?e[s].call(i,t):e[s];return a}}function Sn(t,e){return t.isValid()?(e=ul(e,t.localeData()),_i[e]=_i[e]||A1(e),_i[e](t)):t.localeData().invalidDate()}function ul(t,e){var r=5;function n(i){return e.longDateFormat(i)||i}for(_n.lastIndex=0;r>=0&&_n.test(t);)t=t.replace(_n,n),_n.lastIndex=0,r-=1;return t}var F1={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function O1(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(ha).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var z1="Invalid date";function B1(){return this._invalidDate}var N1="%d",H1=/\d{1,2}/;function U1(t){return this._ordinal.replace("%d",t)}var I1={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function j1(t,e,r,n){var i=this._relativeTime[r];return Bt(i)?i(t,e,r,n):i.replace(/%d/i,t)}function G1(t,e){var r=this._relativeTime[t>0?"future":"past"];return Bt(r)?r(e):r.replace(/%s/i,e)}var Kr={};function nt(t,e){var r=t.toLowerCase();Kr[r]=Kr[r+"s"]=Kr[e]=t}function kt(t){return typeof t=="string"?Kr[t]||Kr[t.toLowerCase()]:void 0}function ma(t){var e={},r,n;for(n in t)Te(t,n)&&(r=kt(n),r&&(e[r]=t[n]));return e}var cl={};function it(t,e){cl[t]=e}function Y1(t){var e=[],r;for(r in t)Te(t,r)&&e.push({unit:r,priority:cl[r]});return e.sort(function(n,i){return n.priority-i.priority}),e}function Zn(t){return t%4===0&&t%100!==0||t%400===0}function Ct(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function fe(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Ct(e)),r}function Ir(t,e){return function(r){return r!=null?(fl(this,t,r),j.updateOffset(this,e),this):Fn(this,t)}}function Fn(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function fl(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&Zn(t.year())&&t.month()===1&&t.date()===29?(r=fe(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),ti(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function W1(t){return t=kt(t),Bt(this[t])?this[t]():this}function V1(t,e){if(typeof t=="object"){t=ma(t);var r=Y1(t),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](t[r[n].unit])}else if(t=kt(t),Bt(this[t]))return this[t](e);return this}var dl=/\d/,_t=/\d\d/,hl=/\d{3}/,pa=/\d{4}/,Xn=/[+-]?\d{6}/,Oe=/\d\d?/,ml=/\d\d\d\d?/,pl=/\d\d\d\d\d\d?/,Qn=/\d{1,3}/,ga=/\d{1,4}/,Kn=/[+-]?\d{1,6}/,jr=/\d+/,$n=/[+-]?\d+/,q1=/Z|[+-]\d\d:?\d\d/gi,ei=/Z|[+-]\d\d(?::?\d\d)?/gi,J1=/[+-]?\d+(\.\d{1,3})?/,dn=/[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,On;On={};function V(t,e,r){On[t]=Bt(e)?e:function(n,i){return n&&r?r:e}}function Z1(t,e){return Te(On,t)?On[t](e._strict,e._locale):new RegExp(X1(t))}function X1(t){return gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,i,a){return r||n||i||a}))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ea={};function Ee(t,e){var r,n=e,i;for(typeof t=="string"&&(t=[t]),Kt(e)&&(n=function(a,s){s[e]=fe(a)}),i=t.length,r=0;r<i;r++)ea[t[r]]=n}function hn(t,e){Ee(t,function(r,n,i,a){i._w=i._w||{},e(r,i._w,i,a)})}function Q1(t,e,r){e!=null&&Te(ea,t)&&ea[t](e,r._a,r,t)}var rt=0,Yt=1,Rt=2,Ze=3,Pt=4,Wt=5,gr=6,K1=7,$1=8;function ef(t,e){return(t%e+e)%e}var Ie;Array.prototype.indexOf?Ie=Array.prototype.indexOf:Ie=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function ti(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=ef(e,12);return t+=(e-r)/12,r===1?Zn(t)?29:28:31-r%7%2}K("M",["MM",2],"Mo",function(){return this.month()+1});K("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});K("MMMM",0,0,function(t){return this.localeData().months(this,t)});nt("month","M");it("month",8);V("M",Oe);V("MM",Oe,_t);V("MMM",function(t,e){return e.monthsShortRegex(t)});V("MMMM",function(t,e){return e.monthsRegex(t)});Ee(["M","MM"],function(t,e){e[Yt]=fe(t)-1});Ee(["MMM","MMMM"],function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);i!=null?e[Yt]=i:ce(r).invalidMonth=t});var tf="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),gl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),bl=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rf=dn,nf=dn;function af(t,e){return t?xt(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||bl).test(e)?"format":"standalone"][t.month()]:xt(this._months)?this._months:this._months.standalone}function sf(t,e){return t?xt(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[bl.test(e)?"format":"standalone"][t.month()]:xt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function of(t,e,r){var n,i,a,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=zt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?e==="MMM"?(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:null):(i=Ie.call(this._longMonthsParse,s),i!==-1?i:null):e==="MMM"?(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:(i=Ie.call(this._longMonthsParse,s),i!==-1?i:null)):(i=Ie.call(this._longMonthsParse,s),i!==-1?i:(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:null))}function lf(t,e,r){var n,i,a;if(this._monthsParseExact)return of.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=zt([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function _l(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=fe(e);else if(e=t.localeData().monthsParse(e),!Kt(e))return t}return r=Math.min(t.date(),ti(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function yl(t){return t!=null?(_l(this,t),j.updateOffset(this,!0),this):Fn(this,"Month")}function uf(){return ti(this.year(),this.month())}function cf(t){return this._monthsParseExact?(Te(this,"_monthsRegex")||Cl.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Te(this,"_monthsShortRegex")||(this._monthsShortRegex=rf),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ff(t){return this._monthsParseExact?(Te(this,"_monthsRegex")||Cl.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Te(this,"_monthsRegex")||(this._monthsRegex=nf),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Cl(){function t(s,o){return o.length-s.length}var e=[],r=[],n=[],i,a;for(i=0;i<12;i++)a=zt([2e3,i]),e.push(this.monthsShort(a,"")),r.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(e.sort(t),r.sort(t),n.sort(t),i=0;i<12;i++)e[i]=gt(e[i]),r[i]=gt(r[i]);for(i=0;i<24;i++)n[i]=gt(n[i]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}K("Y",0,0,function(){var t=this.year();return t<=9999?Ft(t,4):"+"+t});K(0,["YY",2],0,function(){return this.year()%100});K(0,["YYYY",4],0,"year");K(0,["YYYYY",5],0,"year");K(0,["YYYYYY",6,!0],0,"year");nt("year","y");it("year",1);V("Y",$n);V("YY",Oe,_t);V("YYYY",ga,pa);V("YYYYY",Kn,Xn);V("YYYYYY",Kn,Xn);Ee(["YYYYY","YYYYYY"],rt);Ee("YYYY",function(t,e){e[rt]=t.length===2?j.parseTwoDigitYear(t):fe(t)});Ee("YY",function(t,e){e[rt]=j.parseTwoDigitYear(t)});Ee("Y",function(t,e){e[rt]=parseInt(t,10)});function $r(t){return Zn(t)?366:365}j.parseTwoDigitYear=function(t){return fe(t)+(fe(t)>68?1900:2e3)};var vl=Ir("FullYear",!0);function df(){return Zn(this.year())}function hf(t,e,r,n,i,a,s){var o;return t<100&&t>=0?(o=new Date(t+400,e,r,n,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,r,n,i,a,s),o}function an(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function zn(t,e,r){var n=7+e-r,i=(7+an(t,0,n).getUTCDay()-e)%7;return-i+n-1}function wl(t,e,r,n,i){var a=(7+r-n)%7,s=zn(t,n,i),o=1+7*(e-1)+a+s,l,u;return o<=0?(l=t-1,u=$r(l)+o):o>$r(t)?(l=t+1,u=o-$r(t)):(l=t,u=o),{year:l,dayOfYear:u}}function sn(t,e,r){var n=zn(t.year(),e,r),i=Math.floor((t.dayOfYear()-n-1)/7)+1,a,s;return i<1?(s=t.year()-1,a=i+qt(s,e,r)):i>qt(t.year(),e,r)?(a=i-qt(t.year(),e,r),s=t.year()+1):(s=t.year(),a=i),{week:a,year:s}}function qt(t,e,r){var n=zn(t,e,r),i=zn(t+1,e,r);return($r(t)-n+i)/7}K("w",["ww",2],"wo","week");K("W",["WW",2],"Wo","isoWeek");nt("week","w");nt("isoWeek","W");it("week",5);it("isoWeek",5);V("w",Oe);V("ww",Oe,_t);V("W",Oe);V("WW",Oe,_t);hn(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=fe(t)});function mf(t){return sn(t,this._week.dow,this._week.doy).week}var pf={dow:0,doy:6};function gf(){return this._week.dow}function bf(){return this._week.doy}function _f(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function yf(t){var e=sn(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}K("d",0,"do","day");K("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});K("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});K("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});K("e",0,0,"weekday");K("E",0,0,"isoWeekday");nt("day","d");nt("weekday","e");nt("isoWeekday","E");it("day",11);it("weekday",11);it("isoWeekday",11);V("d",Oe);V("e",Oe);V("E",Oe);V("dd",function(t,e){return e.weekdaysMinRegex(t)});V("ddd",function(t,e){return e.weekdaysShortRegex(t)});V("dddd",function(t,e){return e.weekdaysRegex(t)});hn(["dd","ddd","dddd"],function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);i!=null?e.d=i:ce(r).invalidWeekday=t});hn(["d","e","E"],function(t,e,r,n){e[n]=fe(t)});function Cf(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function vf(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function ba(t,e){return t.slice(e,7).concat(t.slice(0,e))}var wf="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Tl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Tf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),kf=dn,Sf=dn,Pf=dn;function xf(t,e){var r=xt(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?ba(r,this._week.dow):t?r[t.day()]:r}function Df(t){return t===!0?ba(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Lf(t){return t===!0?ba(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ef(t,e,r){var n,i,a,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=zt([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?e==="dddd"?(i=Ie.call(this._weekdaysParse,s),i!==-1?i:null):e==="ddd"?(i=Ie.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null):e==="dddd"?(i=Ie.call(this._weekdaysParse,s),i!==-1||(i=Ie.call(this._shortWeekdaysParse,s),i!==-1)?i:(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null)):e==="ddd"?(i=Ie.call(this._shortWeekdaysParse,s),i!==-1||(i=Ie.call(this._weekdaysParse,s),i!==-1)?i:(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null)):(i=Ie.call(this._minWeekdaysParse,s),i!==-1||(i=Ie.call(this._weekdaysParse,s),i!==-1)?i:(i=Ie.call(this._shortWeekdaysParse,s),i!==-1?i:null))}function Mf(t,e,r){var n,i,a;if(this._weekdaysParseExact)return Ef.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=zt([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function Rf(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=Cf(t,this.localeData()),this.add(t-e,"d")):e}function Af(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function Ff(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=vf(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Of(t){return this._weekdaysParseExact?(Te(this,"_weekdaysRegex")||_a.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Te(this,"_weekdaysRegex")||(this._weekdaysRegex=kf),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function zf(t){return this._weekdaysParseExact?(Te(this,"_weekdaysRegex")||_a.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Te(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Sf),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bf(t){return this._weekdaysParseExact?(Te(this,"_weekdaysRegex")||_a.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Te(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Pf),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function _a(){function t(f,d){return d.length-f.length}var e=[],r=[],n=[],i=[],a,s,o,l,u;for(a=0;a<7;a++)s=zt([2e3,1]).day(a),o=gt(this.weekdaysMin(s,"")),l=gt(this.weekdaysShort(s,"")),u=gt(this.weekdays(s,"")),e.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);e.sort(t),r.sort(t),n.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function ya(){return this.hours()%12||12}function Nf(){return this.hours()||24}K("H",["HH",2],0,"hour");K("h",["hh",2],0,ya);K("k",["kk",2],0,Nf);K("hmm",0,0,function(){return""+ya.apply(this)+Ft(this.minutes(),2)});K("hmmss",0,0,function(){return""+ya.apply(this)+Ft(this.minutes(),2)+Ft(this.seconds(),2)});K("Hmm",0,0,function(){return""+this.hours()+Ft(this.minutes(),2)});K("Hmmss",0,0,function(){return""+this.hours()+Ft(this.minutes(),2)+Ft(this.seconds(),2)});function kl(t,e){K(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}kl("a",!0);kl("A",!1);nt("hour","h");it("hour",13);function Sl(t,e){return e._meridiemParse}V("a",Sl);V("A",Sl);V("H",Oe);V("h",Oe);V("k",Oe);V("HH",Oe,_t);V("hh",Oe,_t);V("kk",Oe,_t);V("hmm",ml);V("hmmss",pl);V("Hmm",ml);V("Hmmss",pl);Ee(["H","HH"],Ze);Ee(["k","kk"],function(t,e,r){var n=fe(t);e[Ze]=n===24?0:n});Ee(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t});Ee(["h","hh"],function(t,e,r){e[Ze]=fe(t),ce(r).bigHour=!0});Ee("hmm",function(t,e,r){var n=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n)),ce(r).bigHour=!0});Ee("hmmss",function(t,e,r){var n=t.length-4,i=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n,2)),e[Wt]=fe(t.substr(i)),ce(r).bigHour=!0});Ee("Hmm",function(t,e,r){var n=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n))});Ee("Hmmss",function(t,e,r){var n=t.length-4,i=t.length-2;e[Ze]=fe(t.substr(0,n)),e[Pt]=fe(t.substr(n,2)),e[Wt]=fe(t.substr(i))});function Hf(t){return(t+"").toLowerCase().charAt(0)==="p"}var Uf=/[ap]\.?m?\.?/i,If=Ir("Hours",!0);function jf(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var Pl={calendar:E1,longDateFormat:F1,invalidDate:z1,ordinal:N1,dayOfMonthOrdinalParse:H1,relativeTime:I1,months:tf,monthsShort:gl,week:pf,weekdays:wf,weekdaysMin:Tf,weekdaysShort:Tl,meridiemParse:Uf},Be={},Vr={},on;function Gf(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function Qs(t){return t&&t.toLowerCase().replace("_","-")}function Yf(t){for(var e=0,r,n,i,a;e<t.length;){for(a=Qs(t[e]).split("-"),r=a.length,n=Qs(t[e+1]),n=n?n.split("-"):null;r>0;){if(i=ri(a.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&Gf(a,n)>=r-1)break;r--}e++}return on}function Wf(t){return t.match("^[^/\\\\]*$")!=null}function ri(t){var e=null,r;if(Be[t]===void 0&&typeof module!="undefined"&&module&&module.exports&&Wf(t))try{e=on._abbr,r=P1,r("./locale/"+t),ur(e)}catch(n){Be[t]=null}return Be[t]}function ur(t,e){var r;return t&&(ct(e)?r=nr(t):r=Ca(t,e),r?on=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),on._abbr}function Ca(t,e){if(e!==null){var r,n=Pl;if(e.abbr=t,Be[t]!=null)ll("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."),n=Be[t]._config;else if(e.parentLocale!=null)if(Be[e.parentLocale]!=null)n=Be[e.parentLocale]._config;else if(r=ri(e.parentLocale),r!=null)n=r._config;else return Vr[e.parentLocale]||(Vr[e.parentLocale]=[]),Vr[e.parentLocale].push({name:t,config:e}),null;return Be[t]=new da(Ki(n,e)),Vr[t]&&Vr[t].forEach(function(i){Ca(i.name,i.config)}),ur(t),Be[t]}else return delete Be[t],null}function Vf(t,e){if(e!=null){var r,n,i=Pl;Be[t]!=null&&Be[t].parentLocale!=null?Be[t].set(Ki(Be[t]._config,e)):(n=ri(t),n!=null&&(i=n._config),e=Ki(i,e),n==null&&(e.abbr=t),r=new da(e),r.parentLocale=Be[t],Be[t]=r),ur(t)}else Be[t]!=null&&(Be[t].parentLocale!=null?(Be[t]=Be[t].parentLocale,t===ur()&&ur(t)):Be[t]!=null&&delete Be[t]);return Be[t]}function nr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return on;if(!xt(t)){if(e=ri(t),e)return e;t=[t]}return Yf(t)}function qf(){return $i(Be)}function va(t){var e,r=t._a;return r&&ce(t).overflow===-2&&(e=r[Yt]<0||r[Yt]>11?Yt:r[Rt]<1||r[Rt]>ti(r[rt],r[Yt])?Rt:r[Ze]<0||r[Ze]>24||r[Ze]===24&&(r[Pt]!==0||r[Wt]!==0||r[gr]!==0)?Ze:r[Pt]<0||r[Pt]>59?Pt:r[Wt]<0||r[Wt]>59?Wt:r[gr]<0||r[gr]>999?gr:-1,ce(t)._overflowDayOfYear&&(e<rt||e>Rt)&&(e=Rt),ce(t)._overflowWeeks&&e===-1&&(e=K1),ce(t)._overflowWeekday&&e===-1&&(e=$1),ce(t).overflow=e),t}var Jf=/^\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)?)?$/,Zf=/^\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)?)?$/,Xf=/Z|[+-]\d\d(?::?\d\d)?/,yn=[["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]],yi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Qf=/^\/?Date\((-?\d+)/i,Kf=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,$f={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function xl(t){var e,r,n=t._i,i=Jf.exec(n)||Zf.exec(n),a,s,o,l,u=yn.length,f=yi.length;if(i){for(ce(t).iso=!0,e=0,r=u;e<r;e++)if(yn[e][1].exec(i[1])){s=yn[e][0],a=yn[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(i[3]){for(e=0,r=f;e<r;e++)if(yi[e][1].exec(i[3])){o=(i[2]||" ")+yi[e][0];break}if(o==null){t._isValid=!1;return}}if(!a&&o!=null){t._isValid=!1;return}if(i[4])if(Xf.exec(i[4]))l="Z";else{t._isValid=!1;return}t._f=s+(o||"")+(l||""),Ta(t)}else t._isValid=!1}function ed(t,e,r,n,i,a){var s=[td(t),gl.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function td(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function rd(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function nd(t,e,r){if(t){var n=Tl.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(n!==i)return ce(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function id(t,e,r){if(t)return $f[t];if(e)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return a*60+i}function Dl(t){var e=Kf.exec(rd(t._i)),r;if(e){if(r=ed(e[4],e[3],e[2],e[5],e[6],e[7]),!nd(e[1],r,t))return;t._a=r,t._tzm=id(e[8],e[9],e[10]),t._d=an.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),ce(t).rfc2822=!0}else t._isValid=!1}function ad(t){var e=Qf.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(xl(t),t._isValid===!1)delete t._isValid;else return;if(Dl(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:j.createFromInputFallback(t)}j.createFromInputFallback=Tt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Sr(t,e,r){return t!=null?t:e!=null?e:r}function sd(t){var e=new Date(j.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function wa(t){var e,r,n=[],i,a,s;if(!t._d){for(i=sd(t),t._w&&t._a[Rt]==null&&t._a[Yt]==null&&od(t),t._dayOfYear!=null&&(s=Sr(t._a[rt],i[rt]),(t._dayOfYear>$r(s)||t._dayOfYear===0)&&(ce(t)._overflowDayOfYear=!0),r=an(s,0,t._dayOfYear),t._a[Yt]=r.getUTCMonth(),t._a[Rt]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=i[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[Ze]===24&&t._a[Pt]===0&&t._a[Wt]===0&&t._a[gr]===0&&(t._nextDay=!0,t._a[Ze]=0),t._d=(t._useUTC?an:hf).apply(null,n),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ze]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==a&&(ce(t).weekdayMismatch=!0)}}function od(t){var e,r,n,i,a,s,o,l,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(a=1,s=4,r=Sr(e.GG,t._a[rt],sn(Fe(),1,4).year),n=Sr(e.W,1),i=Sr(e.E,1),(i<1||i>7)&&(l=!0)):(a=t._locale._week.dow,s=t._locale._week.doy,u=sn(Fe(),a,s),r=Sr(e.gg,t._a[rt],u.year),n=Sr(e.w,u.week),e.d!=null?(i=e.d,(i<0||i>6)&&(l=!0)):e.e!=null?(i=e.e+a,(e.e<0||e.e>6)&&(l=!0)):i=a),n<1||n>qt(r,a,s)?ce(t)._overflowWeeks=!0:l!=null?ce(t)._overflowWeekday=!0:(o=wl(r,n,i,a,s),t._a[rt]=o.year,t._dayOfYear=o.dayOfYear)}j.ISO_8601=function(){};j.RFC_2822=function(){};function Ta(t){if(t._f===j.ISO_8601){xl(t);return}if(t._f===j.RFC_2822){Dl(t);return}t._a=[],ce(t).empty=!0;var e=""+t._i,r,n,i,a,s,o=e.length,l=0,u,f;for(i=ul(t._f,t._locale).match(ha)||[],f=i.length,r=0;r<f;r++)a=i[r],n=(e.match(Z1(a,t))||[])[0],n&&(s=e.substr(0,e.indexOf(n)),s.length>0&&ce(t).unusedInput.push(s),e=e.slice(e.indexOf(n)+n.length),l+=n.length),Dr[a]?(n?ce(t).empty=!1:ce(t).unusedTokens.push(a),Q1(a,n,t)):t._strict&&!n&&ce(t).unusedTokens.push(a);ce(t).charsLeftOver=o-l,e.length>0&&ce(t).unusedInput.push(e),t._a[Ze]<=12&&ce(t).bigHour===!0&&t._a[Ze]>0&&(ce(t).bigHour=void 0),ce(t).parsedDateParts=t._a.slice(0),ce(t).meridiem=t._meridiem,t._a[Ze]=ld(t._locale,t._a[Ze],t._meridiem),u=ce(t).era,u!==null&&(t._a[rt]=t._locale.erasConvertYear(u,t._a[rt])),wa(t),va(t)}function ld(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function ud(t){var e,r,n,i,a,s,o=!1,l=t._f.length;if(l===0){ce(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<l;i++)a=0,s=!1,e=fa({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],Ta(e),ca(e)&&(s=!0),a+=ce(e).charsLeftOver,a+=ce(e).unusedTokens.length*10,ce(e).score=a,o?a<n&&(n=a,r=e):(n==null||a<n||s)&&(n=a,r=e,s&&(o=!0));or(t,r||e)}function cd(t){if(!t._d){var e=ma(t._i),r=e.day===void 0?e.date:e.day;t._a=sl([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),wa(t)}}function fd(t){var e=new fn(va(Ll(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Ll(t){var e=t._i,r=t._f;return t._locale=t._locale||nr(t._l),e===null||r===void 0&&e===""?Jn({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Dt(e)?new fn(va(e)):(cn(e)?t._d=e:xt(r)?ud(t):r?Ta(t):dd(t),ca(t)||(t._d=null),t))}function dd(t){var e=t._i;ct(e)?t._d=new Date(j.now()):cn(e)?t._d=new Date(e.valueOf()):typeof e=="string"?ad(t):xt(e)?(t._a=sl(e.slice(0),function(r){return parseInt(r,10)}),wa(t)):br(e)?cd(t):Kt(e)?t._d=new Date(e):j.createFromInputFallback(t)}function El(t,e,r,n,i){var a={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(br(t)&&ua(t)||xt(t)&&t.length===0)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=t,a._f=e,a._strict=n,fd(a)}function Fe(t,e,r,n){return El(t,e,r,n,!1)}var hd=Tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Fe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Jn()}),md=Tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Fe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Jn()});function Ml(t,e){var r,n;if(e.length===1&&xt(e[0])&&(e=e[0]),!e.length)return Fe();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function pd(){var t=[].slice.call(arguments,0);return Ml("isBefore",t)}function gd(){var t=[].slice.call(arguments,0);return Ml("isAfter",t)}var bd=function(){return Date.now?Date.now():+new Date},qr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function _d(t){var e,r=!1,n,i=qr.length;for(e in t)if(Te(t,e)&&!(Ie.call(qr,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<i;++n)if(t[qr[n]]){if(r)return!1;parseFloat(t[qr[n]])!==fe(t[qr[n]])&&(r=!0)}return!0}function yd(){return this._isValid}function Cd(){return Lt(NaN)}function ni(t){var e=ma(t),r=e.year||0,n=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,s=e.day||0,o=e.hour||0,l=e.minute||0,u=e.second||0,f=e.millisecond||0;this._isValid=_d(e),this._milliseconds=+f+u*1e3+l*6e4+o*1e3*60*60,this._days=+s+a*7,this._months=+i+n*3+r*12,this._data={},this._locale=nr(),this._bubble()}function Pn(t){return t instanceof ni}function ta(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function vd(t,e,r){var n=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0,s;for(s=0;s<n;s++)fe(t[s])!==fe(e[s])&&a++;return a+i}function Rl(t,e){K(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Ft(~~(r/60),2)+e+Ft(~~r%60,2)})}Rl("Z",":");Rl("ZZ","");V("Z",ei);V("ZZ",ei);Ee(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=ka(ei,t)});var wd=/([\+\-]|\d\d)/gi;function ka(t,e){var r=(e||"").match(t),n,i,a;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(wd)||["-",0,0],a=+(i[1]*60)+fe(i[2]),a===0?0:i[0]==="+"?a:-a)}function Sa(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(Dt(t)||cn(t)?t.valueOf():Fe(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),j.updateOffset(r,!1),r):Fe(t).local()}function ra(t){return-Math.round(t._d.getTimezoneOffset())}j.updateOffset=function(){};function Td(t,e,r){var n=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=ka(ei,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(i=ra(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==t&&(!e||this._changeInProgress?Ol(this,Lt(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,j.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:ra(this)}function kd(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Sd(t){return this.utcOffset(0,t)}function Pd(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ra(this),"m")),this}function xd(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=ka(q1,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Dd(t){return this.isValid()?(t=t?Fe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Ld(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ed(){if(!ct(this._isDSTShifted))return this._isDSTShifted;var t={},e;return fa(t,this),t=Ll(t),t._a?(e=t._isUTC?zt(t._a):Fe(t._a),this._isDSTShifted=this.isValid()&&vd(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Md(){return this.isValid()?!this._isUTC:!1}function Rd(){return this.isValid()?this._isUTC:!1}function Al(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ad=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Lt(t,e){var r=t,n=null,i,a,s;return Pn(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Kt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=Ad.exec(t))?(i=n[1]==="-"?-1:1,r={y:0,d:fe(n[Rt])*i,h:fe(n[Ze])*i,m:fe(n[Pt])*i,s:fe(n[Wt])*i,ms:fe(ta(n[gr]*1e3))*i}):(n=Fd.exec(t))?(i=n[1]==="-"?-1:1,r={y:mr(n[2],i),M:mr(n[3],i),w:mr(n[4],i),d:mr(n[5],i),h:mr(n[6],i),m:mr(n[7],i),s:mr(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Od(Fe(r.from),Fe(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new ni(r),Pn(t)&&Te(t,"_locale")&&(a._locale=t._locale),Pn(t)&&Te(t,"_isValid")&&(a._isValid=t._isValid),a}Lt.fn=ni.prototype;Lt.invalid=Cd;function mr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Ks(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function Od(t,e){var r;return t.isValid()&&e.isValid()?(e=Sa(e,t),t.isBefore(e)?r=Ks(t,e):(r=Ks(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Fl(t,e){return function(r,n){var i,a;return n!==null&&!isNaN(+n)&&(ll(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),i=Lt(r,n),Ol(this,i,t),this}}function Ol(t,e,r,n){var i=e._milliseconds,a=ta(e._days),s=ta(e._months);t.isValid()&&(n=n==null?!0:n,s&&_l(t,Fn(t,"Month")+s*r),a&&fl(t,"Date",Fn(t,"Date")+a*r),i&&t._d.setTime(t._d.valueOf()+i*r),n&&j.updateOffset(t,a||s))}var zd=Fl(1,"add"),Bd=Fl(-1,"subtract");function zl(t){return typeof t=="string"||t instanceof String}function Nd(t){return Dt(t)||cn(t)||zl(t)||Kt(t)||Ud(t)||Hd(t)||t===null||t===void 0}function Hd(t){var e=br(t)&&!ua(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,a,s=n.length;for(i=0;i<s;i+=1)a=n[i],r=r||Te(t,a);return e&&r}function Ud(t){var e=xt(t),r=!1;return e&&(r=t.filter(function(n){return!Kt(n)&&zl(t)}).length===0),e&&r}function Id(t){var e=br(t)&&!ua(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<n.length;i+=1)a=n[i],r=r||Te(t,a);return e&&r}function jd(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Gd(t,e){arguments.length===1&&(arguments[0]?Nd(arguments[0])?(t=arguments[0],e=void 0):Id(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Fe(),n=Sa(r,this).startOf("day"),i=j.calendarFormat(this,n)||"sameElse",a=e&&(Bt(e[i])?e[i].call(this,r):e[i]);return this.format(a||this.localeData().calendar(i,this,Fe(r)))}function Yd(){return new fn(this)}function Wd(t,e){var r=Dt(t)?t:Fe(t);return this.isValid()&&r.isValid()?(e=kt(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function Vd(t,e){var r=Dt(t)?t:Fe(t);return this.isValid()&&r.isValid()?(e=kt(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function qd(t,e,r,n){var i=Dt(t)?t:Fe(t),a=Dt(e)?e:Fe(e);return this.isValid()&&i.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function Jd(t,e){var r=Dt(t)?t:Fe(t),n;return this.isValid()&&r.isValid()?(e=kt(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function Zd(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Xd(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Qd(t,e,r){var n,i,a;if(!this.isValid())return NaN;if(n=Sa(t,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,e=kt(e),e){case"year":a=xn(this,n)/12;break;case"month":a=xn(this,n);break;case"quarter":a=xn(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-i)/864e5;break;case"week":a=(this-n-i)/6048e5;break;default:a=this-n}return r?a:Ct(a)}function xn(t,e){if(t.date()<e.date())return-xn(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),i,a;return e-n<0?(i=t.clone().add(r-1,"months"),a=(e-n)/(n-i)):(i=t.clone().add(r+1,"months"),a=(e-n)/(i-n)),-(r+a)||0}j.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";j.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Kd(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function $d(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Sn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Bt(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Sn(r,"Z")):Sn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eh(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,i,a;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=e+'[")]',this.format(r+n+i+a)}function th(t){t||(t=this.isUtc()?j.defaultFormatUtc:j.defaultFormat);var e=Sn(this,t);return this.localeData().postformat(e)}function rh(t,e){return this.isValid()&&(Dt(t)&&t.isValid()||Fe(t).isValid())?Lt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function nh(t){return this.from(Fe(),t)}function ih(t,e){return this.isValid()&&(Dt(t)&&t.isValid()||Fe(t).isValid())?Lt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ah(t){return this.to(Fe(),t)}function Bl(t){var e;return t===void 0?this._locale._abbr:(e=nr(t),e!=null&&(this._locale=e),this)}var Nl=Tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Hl(){return this._locale}var Bn=1e3,Lr=60*Bn,Nn=60*Lr,Ul=(365*400+97)*24*Nn;function Er(t,e){return(t%e+e)%e}function Il(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Ul:new Date(t,e,r).valueOf()}function jl(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Ul:Date.UTC(t,e,r)}function sh(t){var e,r;if(t=kt(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?jl:Il,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Er(e+(this._isUTC?0:this.utcOffset()*Lr),Nn);break;case"minute":e=this._d.valueOf(),e-=Er(e,Lr);break;case"second":e=this._d.valueOf(),e-=Er(e,Bn);break}return this._d.setTime(e),j.updateOffset(this,!0),this}function oh(t){var e,r;if(t=kt(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?jl:Il,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Nn-Er(e+(this._isUTC?0:this.utcOffset()*Lr),Nn)-1;break;case"minute":e=this._d.valueOf(),e+=Lr-Er(e,Lr)-1;break;case"second":e=this._d.valueOf(),e+=Bn-Er(e,Bn)-1;break}return this._d.setTime(e),j.updateOffset(this,!0),this}function lh(){return this._d.valueOf()-(this._offset||0)*6e4}function uh(){return Math.floor(this.valueOf()/1e3)}function ch(){return new Date(this.valueOf())}function fh(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function dh(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function hh(){return this.isValid()?this.toISOString():null}function mh(){return ca(this)}function ph(){return or({},ce(this))}function gh(){return ce(this).overflow}function bh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}K("N",0,0,"eraAbbr");K("NN",0,0,"eraAbbr");K("NNN",0,0,"eraAbbr");K("NNNN",0,0,"eraName");K("NNNNN",0,0,"eraNarrow");K("y",["y",1],"yo","eraYear");K("y",["yy",2],0,"eraYear");K("y",["yyy",3],0,"eraYear");K("y",["yyyy",4],0,"eraYear");V("N",Pa);V("NN",Pa);V("NNN",Pa);V("NNNN",Dh);V("NNNNN",Lh);Ee(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?ce(r).era=i:ce(r).invalidEra=t});V("y",jr);V("yy",jr);V("yyy",jr);V("yyyy",jr);V("yo",Eh);Ee(["y","yy","yyy","yyyy"],rt);Ee(["yo"],function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[rt]=r._locale.eraYearOrdinalParse(t,i):e[rt]=parseInt(t,10)});function _h(t,e){var r,n,i,a=this._eras||nr("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":i=j(a[r].since).startOf("day"),a[r].since=i.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=j(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}}return a}function yh(t,e,r){var n,i,a=this.eras(),s,o,l;for(t=t.toUpperCase(),n=0,i=a.length;n<i;++n)if(s=a[n].name.toUpperCase(),o=a[n].abbr.toUpperCase(),l=a[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(o===t)return a[n];break;case"NNNN":if(s===t)return a[n];break;case"NNNNN":if(l===t)return a[n];break}else if([s,o,l].indexOf(t)>=0)return a[n]}function Ch(t,e){var r=t.since<=t.until?1:-1;return e===void 0?j(t.since).year():j(t.since).year()+(e-t.offset)*r}function vh(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function wh(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function Th(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function kh(){var t,e,r,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(r=i[t].since<=i[t].until?1:-1,n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until||i[t].until<=n&&n<=i[t].since)return(this.year()-j(i[t].since).year())*r+i[t].offset;return this.year()}function Sh(t){return Te(this,"_erasNameRegex")||xa.call(this),t?this._erasNameRegex:this._erasRegex}function Ph(t){return Te(this,"_erasAbbrRegex")||xa.call(this),t?this._erasAbbrRegex:this._erasRegex}function xh(t){return Te(this,"_erasNarrowRegex")||xa.call(this),t?this._erasNarrowRegex:this._erasRegex}function Pa(t,e){return e.erasAbbrRegex(t)}function Dh(t,e){return e.erasNameRegex(t)}function Lh(t,e){return e.erasNarrowRegex(t)}function Eh(t,e){return e._eraYearOrdinalRegex||jr}function xa(){var t=[],e=[],r=[],n=[],i,a,s=this.eras();for(i=0,a=s.length;i<a;++i)e.push(gt(s[i].name)),t.push(gt(s[i].abbr)),r.push(gt(s[i].narrow)),n.push(gt(s[i].name)),n.push(gt(s[i].abbr)),n.push(gt(s[i].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}K(0,["gg",2],0,function(){return this.weekYear()%100});K(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ii(t,e){K(0,[t,t.length],0,e)}ii("gggg","weekYear");ii("ggggg","weekYear");ii("GGGG","isoWeekYear");ii("GGGGG","isoWeekYear");nt("weekYear","gg");nt("isoWeekYear","GG");it("weekYear",1);it("isoWeekYear",1);V("G",$n);V("g",$n);V("GG",Oe,_t);V("gg",Oe,_t);V("GGGG",ga,pa);V("gggg",ga,pa);V("GGGGG",Kn,Xn);V("ggggg",Kn,Xn);hn(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=fe(t)});hn(["gg","GG"],function(t,e,r,n){e[n]=j.parseTwoDigitYear(t)});function Mh(t){return Gl.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Rh(t){return Gl.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Ah(){return qt(this.year(),1,4)}function Fh(){return qt(this.isoWeekYear(),1,4)}function Oh(){var t=this.localeData()._week;return qt(this.year(),t.dow,t.doy)}function zh(){var t=this.localeData()._week;return qt(this.weekYear(),t.dow,t.doy)}function Gl(t,e,r,n,i){var a;return t==null?sn(this,n,i).year:(a=qt(t,n,i),e>a&&(e=a),Bh.call(this,t,e,r,n,i))}function Bh(t,e,r,n,i){var a=wl(t,e,r,n,i),s=an(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}K("Q",0,"Qo","quarter");nt("quarter","Q");it("quarter",7);V("Q",dl);Ee("Q",function(t,e){e[Yt]=(fe(t)-1)*3});function Nh(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}K("D",["DD",2],"Do","date");nt("date","D");it("date",9);V("D",Oe);V("DD",Oe,_t);V("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});Ee(["D","DD"],Rt);Ee("Do",function(t,e){e[Rt]=fe(t.match(Oe)[0])});var Yl=Ir("Date",!0);K("DDD",["DDDD",3],"DDDo","dayOfYear");nt("dayOfYear","DDD");it("dayOfYear",4);V("DDD",Qn);V("DDDD",hl);Ee(["DDD","DDDD"],function(t,e,r){r._dayOfYear=fe(t)});function Hh(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}K("m",["mm",2],0,"minute");nt("minute","m");it("minute",14);V("m",Oe);V("mm",Oe,_t);Ee(["m","mm"],Pt);var Uh=Ir("Minutes",!1);K("s",["ss",2],0,"second");nt("second","s");it("second",15);V("s",Oe);V("ss",Oe,_t);Ee(["s","ss"],Wt);var Ih=Ir("Seconds",!1);K("S",0,0,function(){return~~(this.millisecond()/100)});K(0,["SS",2],0,function(){return~~(this.millisecond()/10)});K(0,["SSS",3],0,"millisecond");K(0,["SSSS",4],0,function(){return this.millisecond()*10});K(0,["SSSSS",5],0,function(){return this.millisecond()*100});K(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});K(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});K(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});K(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});nt("millisecond","ms");it("millisecond",16);V("S",Qn,dl);V("SS",Qn,_t);V("SSS",Qn,hl);var lr,Wl;for(lr="SSSS";lr.length<=9;lr+="S")V(lr,jr);function jh(t,e){e[gr]=fe(("0."+t)*1e3)}for(lr="S";lr.length<=9;lr+="S")Ee(lr,jh);Wl=Ir("Milliseconds",!1);K("z",0,0,"zoneAbbr");K("zz",0,0,"zoneName");function Gh(){return this._isUTC?"UTC":""}function Yh(){return this._isUTC?"Coordinated Universal Time":""}var R=fn.prototype;R.add=zd;R.calendar=Gd;R.clone=Yd;R.diff=Qd;R.endOf=oh;R.format=th;R.from=rh;R.fromNow=nh;R.to=ih;R.toNow=ah;R.get=W1;R.invalidAt=gh;R.isAfter=Wd;R.isBefore=Vd;R.isBetween=qd;R.isSame=Jd;R.isSameOrAfter=Zd;R.isSameOrBefore=Xd;R.isValid=mh;R.lang=Nl;R.locale=Bl;R.localeData=Hl;R.max=md;R.min=hd;R.parsingFlags=ph;R.set=V1;R.startOf=sh;R.subtract=Bd;R.toArray=fh;R.toObject=dh;R.toDate=ch;R.toISOString=$d;R.inspect=eh;typeof Symbol!="undefined"&&Symbol.for!=null&&(R[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});R.toJSON=hh;R.toString=Kd;R.unix=uh;R.valueOf=lh;R.creationData=bh;R.eraName=vh;R.eraNarrow=wh;R.eraAbbr=Th;R.eraYear=kh;R.year=vl;R.isLeapYear=df;R.weekYear=Mh;R.isoWeekYear=Rh;R.quarter=R.quarters=Nh;R.month=yl;R.daysInMonth=uf;R.week=R.weeks=_f;R.isoWeek=R.isoWeeks=yf;R.weeksInYear=Oh;R.weeksInWeekYear=zh;R.isoWeeksInYear=Ah;R.isoWeeksInISOWeekYear=Fh;R.date=Yl;R.day=R.days=Rf;R.weekday=Af;R.isoWeekday=Ff;R.dayOfYear=Hh;R.hour=R.hours=If;R.minute=R.minutes=Uh;R.second=R.seconds=Ih;R.millisecond=R.milliseconds=Wl;R.utcOffset=Td;R.utc=Sd;R.local=Pd;R.parseZone=xd;R.hasAlignedHourOffset=Dd;R.isDST=Ld;R.isLocal=Md;R.isUtcOffset=Rd;R.isUtc=Al;R.isUTC=Al;R.zoneAbbr=Gh;R.zoneName=Yh;R.dates=Tt("dates accessor is deprecated. Use date instead.",Yl);R.months=Tt("months accessor is deprecated. Use month instead",yl);R.years=Tt("years accessor is deprecated. Use year instead",vl);R.zone=Tt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",kd);R.isDSTShifted=Tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ed);function Wh(t){return Fe(t*1e3)}function Vh(){return Fe.apply(null,arguments).parseZone()}function Vl(t){return t}var ke=da.prototype;ke.calendar=M1;ke.longDateFormat=O1;ke.invalidDate=B1;ke.ordinal=U1;ke.preparse=Vl;ke.postformat=Vl;ke.relativeTime=j1;ke.pastFuture=G1;ke.set=L1;ke.eras=_h;ke.erasParse=yh;ke.erasConvertYear=Ch;ke.erasAbbrRegex=Ph;ke.erasNameRegex=Sh;ke.erasNarrowRegex=xh;ke.months=af;ke.monthsShort=sf;ke.monthsParse=lf;ke.monthsRegex=ff;ke.monthsShortRegex=cf;ke.week=mf;ke.firstDayOfYear=bf;ke.firstDayOfWeek=gf;ke.weekdays=xf;ke.weekdaysMin=Lf;ke.weekdaysShort=Df;ke.weekdaysParse=Mf;ke.weekdaysRegex=Of;ke.weekdaysShortRegex=zf;ke.weekdaysMinRegex=Bf;ke.isPM=Hf;ke.meridiem=jf;function Hn(t,e,r,n){var i=nr(),a=zt().set(n,e);return i[r](a,t)}function ql(t,e,r){if(Kt(t)&&(e=t,t=void 0),t=t||"",e!=null)return Hn(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Hn(t,n,r,"month");return i}function Da(t,e,r,n){typeof t=="boolean"?(Kt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,Kt(e)&&(r=e,e=void 0),e=e||"");var i=nr(),a=t?i._week.dow:0,s,o=[];if(r!=null)return Hn(e,(r+a)%7,n,"day");for(s=0;s<7;s++)o[s]=Hn(e,(s+a)%7,n,"day");return o}function qh(t,e){return ql(t,e,"months")}function Jh(t,e){return ql(t,e,"monthsShort")}function Zh(t,e,r){return Da(t,e,r,"weekdays")}function Xh(t,e,r){return Da(t,e,r,"weekdaysShort")}function Qh(t,e,r){return Da(t,e,r,"weekdaysMin")}ur("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(t){var e=t%10,r=fe(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}});j.lang=Tt("moment.lang is deprecated. Use moment.locale instead.",ur);j.langData=Tt("moment.langData is deprecated. Use moment.localeData instead.",nr);var jt=Math.abs;function Kh(){var t=this._data;return this._milliseconds=jt(this._milliseconds),this._days=jt(this._days),this._months=jt(this._months),t.milliseconds=jt(t.milliseconds),t.seconds=jt(t.seconds),t.minutes=jt(t.minutes),t.hours=jt(t.hours),t.months=jt(t.months),t.years=jt(t.years),this}function Jl(t,e,r,n){var i=Lt(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function $h(t,e){return Jl(this,t,e,1)}function em(t,e){return Jl(this,t,e,-1)}function $s(t){return t<0?Math.floor(t):Math.ceil(t)}function tm(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,i,a,s,o,l;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=$s(na(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,i=Ct(t/1e3),n.seconds=i%60,a=Ct(i/60),n.minutes=a%60,s=Ct(a/60),n.hours=s%24,e+=Ct(s/24),l=Ct(Zl(e)),r+=l,e-=$s(na(l)),o=Ct(r/12),r%=12,n.days=e,n.months=r,n.years=o,this}function Zl(t){return t*4800/146097}function na(t){return t*146097/4800}function rm(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=kt(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+Zl(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(na(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function nm(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+fe(this._months/12)*31536e6:NaN}function ir(t){return function(){return this.as(t)}}var im=ir("ms"),am=ir("s"),sm=ir("m"),om=ir("h"),lm=ir("d"),um=ir("w"),cm=ir("M"),fm=ir("Q"),dm=ir("y");function hm(){return Lt(this)}function mm(t){return t=kt(t),this.isValid()?this[t+"s"]():NaN}function yr(t){return function(){return this.isValid()?this._data[t]:NaN}}var pm=yr("milliseconds"),gm=yr("seconds"),bm=yr("minutes"),_m=yr("hours"),ym=yr("days"),Cm=yr("months"),vm=yr("years");function wm(){return Ct(this.days()/7)}var Gt=Math.round,Pr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tm(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}function km(t,e,r,n){var i=Lt(t).abs(),a=Gt(i.as("s")),s=Gt(i.as("m")),o=Gt(i.as("h")),l=Gt(i.as("d")),u=Gt(i.as("M")),f=Gt(i.as("w")),d=Gt(i.as("y")),h=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||s<=1&&["m"]||s<r.m&&["mm",s]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(h=h||f<=1&&["w"]||f<r.w&&["ww",f]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=n,Tm.apply(null,h)}function Sm(t){return t===void 0?Gt:typeof t=="function"?(Gt=t,!0):!1}function Pm(t,e){return Pr[t]===void 0?!1:e===void 0?Pr[t]:(Pr[t]=e,t==="s"&&(Pr.ss=e-1),!0)}function xm(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Pr,i,a;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},Pr,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),i=this.localeData(),a=km(this,!r,n,i),r&&(a=i.pastFuture(+this,a)),i.postformat(a)}var Ci=Math.abs;function Tr(t){return(t>0)-(t<0)||+t}function ai(){if(!this.isValid())return this.localeData().invalidDate();var t=Ci(this._milliseconds)/1e3,e=Ci(this._days),r=Ci(this._months),n,i,a,s,o=this.asSeconds(),l,u,f,d;return o?(n=Ct(t/60),i=Ct(n/60),t%=60,n%=60,a=Ct(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=Tr(this._months)!==Tr(o)?"-":"",f=Tr(this._days)!==Tr(o)?"-":"",d=Tr(this._milliseconds)!==Tr(o)?"-":"",l+"P"+(a?u+a+"Y":"")+(r?u+r+"M":"")+(e?f+e+"D":"")+(i||n||t?"T":"")+(i?d+i+"H":"")+(n?d+n+"M":"")+(t?d+s+"S":"")):"P0D"}var ge=ni.prototype;ge.isValid=yd;ge.abs=Kh;ge.add=$h;ge.subtract=em;ge.as=rm;ge.asMilliseconds=im;ge.asSeconds=am;ge.asMinutes=sm;ge.asHours=om;ge.asDays=lm;ge.asWeeks=um;ge.asMonths=cm;ge.asQuarters=fm;ge.asYears=dm;ge.valueOf=nm;ge._bubble=tm;ge.clone=hm;ge.get=mm;ge.milliseconds=pm;ge.seconds=gm;ge.minutes=bm;ge.hours=_m;ge.days=ym;ge.weeks=wm;ge.months=Cm;ge.years=vm;ge.humanize=xm;ge.toISOString=ai;ge.toString=ai;ge.toJSON=ai;ge.locale=Bl;ge.localeData=Hl;ge.toIsoString=Tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ai);ge.lang=Nl;K("X",0,0,"unix");K("x",0,0,"valueOf");V("x",$n);V("X",J1);Ee("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)});Ee("x",function(t,e,r){r._d=new Date(fe(t))});//! moment.js
|
|
37
|
+
j.version="2.29.4";x1(Fe);j.fn=R;j.min=pd;j.max=gd;j.now=bd;j.utc=zt;j.unix=Wh;j.months=qh;j.isDate=cn;j.locale=ur;j.invalid=Jn;j.duration=Lt;j.isMoment=Dt;j.weekdays=Zh;j.parseZone=Vh;j.localeData=nr;j.isDuration=Pn;j.monthsShort=Jh;j.weekdaysMin=Qh;j.defineLocale=Ca;j.updateLocale=Vf;j.locales=qf;j.weekdaysShort=Xh;j.normalizeUnits=kt;j.relativeTimeRounding=Sm;j.relativeTimeThreshold=Pm;j.calendarFormat=jd;j.prototype=R;j.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Dm="data:image/svg+xml,%3csvg%20width='9'%20height='11'%20viewBox='0%200%209%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.1%201.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405%201.4%200%201.805%200%202.3V9.5C0%209.995%200.405%2010.4%200.9%2010.4H8.1C8.595%2010.4%209%209.995%209%209.5V2.3C9%201.805%208.595%201.4%208.1%201.4ZM8.10003%209.5H0.900027V4.55H8.10003V9.5ZM0.900027%203.65005H8.10003V2.30005H0.900027V3.65005Z'%20fill='%231E1616'/%3e%3c/svg%3e";function eo(t){let e,r,n,i,a,s=t[2]&&t[2].showCalendarIcon&&to();return{c(){e=b("div"),s&&s.c(),r=O(t[3]),c(e,"class","Date TagContent"),c(e,"part","Date TagContent")},m(o,l){C(o,e,l),s&&s.m(e,null),m(e,r),i||(a=er(n=t[4].call(null,e,t[0])),i=!0)},p(o,l){o[2]&&o[2].showCalendarIcon?s||(s=to(),s.c(),s.m(e,r)):s&&(s.d(1),s=null),l&8&&W(r,o[3]),n&&$t(n.update)&&l&1&&n.update.call(null,o[0])},d(o){o&&y(e),s&&s.d(),i=!1,a()}}}function to(t){let e,r,n;return{c(){e=b("img"),n=H(),c(e,"class","CalendarIcon"),c(e,"alt","Calendar"),c(e,"part","CalendarIcon"),Ye(e.src,r=Dm)||c(e,"src",r)},m(i,a){C(i,e,a),C(i,n,a)},d(i){i&&(y(e),y(n))}}}function Lm(t){let e,r=t[0]&&t[1]==="Unstarted"&&eo(t);return{c(){r&&r.c(),e=de()},m(n,i){r&&r.m(n,i),C(n,e,i)},p(n,[i]){n[0]&&n[1]==="Unstarted"?r?r.p(n,i):(r=eo(n),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:J,o:J,d(n){n&&y(e),r&&r.d(n)}}}function Em(t,e,r){let n;vt(t,wt,p=>r(7,n=p));let{startdate:i=""}=e,{status:a=""}=e,{lang:s=""}=e,{cellsetting:o}=e,l={shortstartformat:"DD MMM YYYY"},u="";rr({fallbackLocale:"en",initialLocale:"en"});const f=()=>{bt(s),i&&d()},d=()=>{const p={month:"long"};let _=new Date(i);const g=()=>n(a==="Running"?"tournamentsThumbnail.startedAt":"tournamentsThumbnail.startingAt");if(o&&o.shortstart){let P=j(_).format(o.shortstartformat||l.shortstartformat);r(3,u=a==="Running"||a=="Closing"||a=="Closed"?n("tournamentsThumbnail.startedAtWithTime",{values:{startTime:P}}):n("tournamentsThumbnail.startingAtWithTime",{values:{startTime:P}}))}else{let P=new Intl.DateTimeFormat("en",p).format(_),L=_.getDate(),E=_.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});r(3,u=`${L} `+n(`tournamentsThumbnail.${P}`)+", "+g()+` ${E}`)}},h=()=>{l={shortstart:o.shortstart||!1,shortstartformat:o.shortstartformat||"DD MMM YYYY",showCalendarIcon:o.showCalendarIcon||!1}};return t.$$set=p=>{"startdate"in p&&r(0,i=p.startdate),"status"in p&&r(1,a=p.status),"lang"in p&&r(5,s=p.lang),"cellsetting"in p&&r(2,o=p.cellsetting)},t.$$.update=()=>{t.$$.dirty&32&&s&&f(),t.$$.dirty&1&&i&&d(),t.$$.dirty&4&&o&&h()},[i,a,o,u,d,s]}class ia extends qe{constructor(e){super(),We(this,e,Em,Lm,je,{startdate:0,status:1,lang:5,cellsetting:2})}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),x()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),x()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),x()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),x()}}customElements.define("startdate-line",Ve(ia,{startdate:{},status:{},lang:{},cellsetting:{}},[],[],!0));function Mm(t){let e,r,n,i,a,s,o=t[0]("tournamentsPage.back")+"",l,u,f;return{c(){e=b("div"),r=b("div"),n=$e("svg"),i=$e("path"),a=H(),s=b("p"),l=O(o),c(i,"stroke-linecap","round"),c(i,"stroke-linejoin","round"),c(i,"stroke-width","2"),c(i,"d","M15 19l-7-7 7-7"),c(n,"fill","none"),c(n,"stroke","currentColor"),c(n,"width","24"),c(n,"height","24"),c(n,"viewBox","0 0 24 24"),c(n,"xmlns","http://www.w3.org/2000/svg"),c(s,"class","ButtonText"),c(r,"class","BackButton"),c(r,"part","BackButton"),c(r,"tabindex","0"),c(r,"role","link"),c(e,"class","TopButtons"),c(e,"part","TopButtons")},m(d,h){C(d,e,h),m(e,r),m(r,n),m(n,i),m(r,a),m(r,s),m(s,l),u||(f=tt(r,"click",t[4]),u=!0)},p(d,[h]){h&1&&o!==(o=d[0]("tournamentsPage.back")+"")&&W(l,o)},i:J,o:J,d(d){d&&y(e),u=!1,f()}}}function Rm(t,e,r){let n;vt(t,wt,u=>r(0,n=u));let{lang:i="en"}=e,{navigationbackbutton:a="Default"}=e;const s=()=>{bt(i)},o=()=>{a=="Event"?window.postMessage({type:"RedirectBack"},window.location.href):a=="Default"&&window.history.back()},l=()=>o();return t.$$set=u=>{"lang"in u&&r(2,i=u.lang),"navigationbackbutton"in u&&r(3,a=u.navigationbackbutton)},t.$$.update=()=>{t.$$.dirty&4&&i&&s()},[n,o,i,a,l]}class aa extends qe{constructor(e){super(),We(this,e,Rm,Mm,je,{lang:2,navigationbackbutton:3})}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),x()}get navigationbackbutton(){return this.$$.ctx[3]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),x()}}customElements.define("backbutton-cell",Ve(aa,{lang:{},navigationbackbutton:{}},[],[],!0));function Am(t){let e,r;return{c(){e=b("span"),r=O(t[0])},m(n,i){C(n,e,i),m(e,r)},p(n,[i]){i&1&&W(r,n[0])},i:J,o:J,d(n){n&&y(e)}}}function Fm(t,e,r){let n;vt(t,wt,u=>r(3,n=u));let{lang:i=""}=e,{cellsetting:a={langkey:""}}=e,s="";rr({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=()=>{a.langkey&&r(0,s=n(`tournamentsPage.${a.langkey}`))};return t.$$set=u=>{"lang"in u&&r(1,i=u.lang),"cellsetting"in u&&r(2,a=u.cellsetting)},t.$$.update=()=>{t.$$.dirty&6&&i&&a&&o()&&l(),t.$$.dirty&6&&i&&a&&l()},[s,i,a]}class sa extends qe{constructor(e){super(),We(this,e,Fm,Am,je,{lang:1,cellsetting:2})}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),x()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),x()}}customElements.define("translate-text-cell",Ve(sa,{lang:{},cellsetting:{}},[],[],!0));const Xl={Cell:{attributes:Xr.element.observedAttributes,cellBox:Xr},BackButtonCell:{attributes:aa.element.observedAttributes,cellBox:aa},ThumbnailCell:{attributes:Ni.element.observedAttributes,cellBox:Ni},TitleCell:{attributes:Xi.element.observedAttributes,cellBox:Xi},TitleTextCell:{attributes:Rn.element.observedAttributes,cellBox:Rn},TranslateTextCell:{attributes:sa.element.observedAttributes,cellBox:sa},StartDateCell:{attributes:ia.element.observedAttributes,cellBox:ia},ScoreCriteriaCell:{attributes:Hi.element.observedAttributes,cellBox:Hi},StatusTag:{attributes:Ii.element.observedAttributes,cellBox:Ii},TournamentSlot:{attributes:Xr.element.observedAttributes,cellBox:Xr},JoinButtonCell:{attributes:Ui.element.observedAttributes,cellBox:Ui},UserEnrollTag:{attributes:ji.element.observedAttributes,cellBox:ji},DurationCell:{attributes:Gi.element.observedAttributes,cellBox:Gi},SeeGamesLine:{attributes:Yi.element.observedAttributes,cellBox:Yi},PrizesCell:{attributes:Wi.element.observedAttributes,cellBox:Wi},GamesCell:{attributes:Vi.element.observedAttributes,cellBox:Vi},TermsAndConditionsCell:{attributes:qi.element.observedAttributes,cellBox:qi},DescriptionCell:{attributes:Ji.element.observedAttributes,cellBox:Ji},LeaderboardCell:{attributes:Zi.element.observedAttributes,cellBox:Zi}},Jr={wm:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",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,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,listType:1,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"}]}]}]}},Om=(t,e)=>{let r=t.componentid,n={},i=Xl[r].attributes||[];if(t.dataKey){let a=t.dataKey;return a.source=="api"?n[a.textKey]=e.tournamentData?e.tournamentData[a.key]:"":a.source=="cms"&&(n[a.textKey]=e.cmsData[a.key]||null),n.titlekey=a.key,n}return i.forEach(a=>{let s=e.tournamentData||{},o=e.ctrlProperties||{};s.hasOwnProperty(a)?n[a]=s[a]:n[a]=o[a]||e.pageDefaultParams[a]}),n},ro=(t,e)=>{let r=t.rows,n=!e.tournamentData,i=a=>{!a||!a.length||a.forEach(s=>{if(s.class||(s.class=""),s.isSlotCell){s.parts=`Slots ${s.componentid} ${s.id}`,s.cellClass=`Cells Slots ${s.class} ${s.id}`;return}s.isCellContainer?(s.parts=`BoxCells ${s.componentid} ${s.id}`,s.cellClass=`Cells BoxCells ${s.class} ${s.id}`):(s.parts=`BizCells ${s.componentid} ${s.id}`,s.cellClass=`Cells BizCells ${s.class} ${s.componentid} ${s.id}`,s.componentAttrs=Om(s,e),s.componentAttrs.isloading=n,s.config&&(s.componentAttrs.cellsetting=s.config)),s.component=Xl[s.componentid].cellBox,s.component.isloading=n,i(s.subComponents)})};return r.forEach(a=>{i(a.cols)}),console.log("Start parse layout...Done"),t};class zm{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}}getEmptyTournament(e){return{id:e,tourid:e,title:"",thumbnail:"",state:"",status:null,startdate:null,enddate:null,scorecriteria:null,minbetcount:null,userenrolled:null,gameurl:"#",prizes:[],games:[],description:null,termsurl:null,bonuscode:null}}}const Bm={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"}}},Nm={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"}}},Hm={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"}}},Um={en:{tournamentsThController:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joined:"Joined",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:{joined:"Alăturat",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 -"}}},Im={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"}}},jm={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"}}},Gm={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"}}},Ym=[Bm,Nm,Hm,Um,Im,jm,Gm];function Wm(t,e){if(t){const r=document.createElement("style");r.innerHTML=e,t.appendChild(r)}}function Vm(t,e){const r=new URL(e);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,t&&t.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function qm(t,e,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(e,i=>{n.innerHTML=i,t&&t.appendChild(n)})}}function Jm(t){let e;return{c(){e=b("div")},m(r,n){C(r,e,n),t[7](e)},p:J,i:J,o:J,d(r){r&&y(e),t[7](null)}}}function Zm(t,e,r){let{translationurl:n=""}=e,{clientstyling:i=""}=e,{clientstylingurl:a=""}=e,{lang:s=""}=e,{mbsource:o}=e,l;const u=()=>Yr(this,null,function*(){try{let _=yield fetch(n).then(g=>g.json());Object.keys(_).forEach(g=>{Object.keys(_[g]).forEach(P=>{Za(g,{[P]:_[g][P]})})})}catch(_){console.error(_)}}),f=()=>{bt(s)},d=()=>{Ym.forEach(_=>{Object.keys(_).forEach(g=>{Za(g,_[g])})}),rr({fallbackLocale:"en",initialLocale:"en"})};let h=!1;tr(()=>{d(),r(6,h=!0)});function p(_){tn[_?"unshift":"push"](()=>{l=_,r(0,l)})}return t.$$set=_=>{"translationurl"in _&&r(1,n=_.translationurl),"clientstyling"in _&&r(2,i=_.clientstyling),"clientstylingurl"in _&&r(3,a=_.clientstylingurl),"lang"in _&&r(4,s=_.lang),"mbsource"in _&&r(5,o=_.mbsource)},t.$$.update=()=>{t.$$.dirty&80&&h&&s&&f(),t.$$.dirty&66&&h&&n&&u(),t.$$.dirty&5&&i&&l&&Wm(l,i),t.$$.dirty&9&&a&&l&&Vm(l,a),t.$$.dirty&33&&o&&l&&qm(l,`${o}.Style`)},[l,n,i,a,s,o,h,p]}class Ql extends qe{constructor(e){super(),We(this,e,Zm,Jm,je,{translationurl:1,clientstyling:2,clientstylingurl:3,lang:4,mbsource:5})}get translationurl(){return this.$$.ctx[1]}set translationurl(e){this.$$set({translationurl:e}),x()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),x()}get mbsource(){return this.$$.ctx[5]}set mbsource(e){this.$$set({mbsource:e}),x()}}customElements.define("customize-resource-loader",Ve(Ql,{translationurl:{},clientstyling:{},clientstylingurl:{},lang:{},mbsource:{}},[],[],!0));function Xm(t){_r(t,"svelte-19ggp6h",`: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}ui-skeleton .Text:last-child{width:auto}ui-skeleton .SkeletonContainer .Skeleton{width:100%}ui-skeleton .Skeleton{width:100%;height:100%}.TournamentPrizes.Loading{min-height:60px;margin:0}.TournamentsGamesSlider.Loading .main{width:100%}.TournamentsGamesSlider.Loading .main .Skeleton{height:80px}.BizCells .Text,.TitleCell .Title{margin:2px;height:25px;min-height:25px}@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}}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.casino-tournaments-customize-page-controller{background:var(--emw--color-black, #000000);color:var(--emw--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;background-color:transparent}.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(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}.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(--emw--color-gray-300, #58586B)}.TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.TournamentDuration .ProgressBar{height:8px;background:var(--emw--color-white, #FFFFFF)}.TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.TournamentDuration .ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.TournamentDuration .ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.TournamentDuration .ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.TournamentDuration .Remaining,.TournamentDuration .Finished{text-align:right;text-transform:uppercase}.TournamentDuration .Finished{color:var(--emw--color-green, #48952a)}.GamesCell{width:100%}.GamesCell .TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center;align-items:center}.GamesCell .SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;cursor:pointer}.GamesCell .SliderNavButton svg{width:20px}.GamesCell .SliderNavButton.disabled{color:var(--emw--color-gray-150, #828282)}.GamesCell main,.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(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.GamesCell .item .GameThumbnail{height:100%}.GamesCell .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.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(--emw--color-contrast, #07072A);color:var(--emw--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(--emw--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:var(--emw--border-radius-medium, 10px)}.TitleTextCell .sc::-webkit-scrollbar-thumb,.DescriptionCell .sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}.ExclamationMark{display:inline-block}.LeaderboardCell .LeaderboardContainer{background:var(--emw--color-contrast, #07072A);color:var(--emw--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(--emw--color-white, #FFFFFF)}.LeaderboardCell .TableContent.TableContentFirstRow{box-sizing:border-box;border:2px solid var(--emw--color-green, #48952a)}.LeaderboardCell .TableUser{background:var(--emw--table-bg, #282828);height:44px;display:flex;align-items:center;border-bottom:solid 1px var(--emw--table-border, #3a3a3a)}.LeaderboardCell .TableUser.TableHeadRow{background:var(--emw--table-header-bg, #1c1c1c);color:var(--emw--color-white, #fff)}.LeaderboardCell .TableUser.CurrentUserRow{box-sizing:border-box;background:var(--emw--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(--emw--table-currentuser-bg, #533a34);font-size:0.8rem;line-height:1.2}.LeaderboardCell .TooltipsRow{border:2px solid var(--emw--tooltips-border, #fecf00);border-top:0}.LeaderboardCell .TooltipsRow .LeftTableTd{padding:0 0 10px 0;font-size:12px;color:var(--emw--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(--emw--highlight, #debb05)}.LeaderboardCell .ExclamationMark{vertical-align:text-top;width:14px;height:14px;background-size:105%}.LeaderboardCell .TableUserDetails{background:var(--emw--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 .LeftTable td{text-align:center}.LeaderboardCell .RightButton{cursor:pointer;background:var(--emw--color-contrast, #07072A);width:59px;height:70px;border:2px solid var(--emw--color-contrast, #0D0D4D)}.LeaderboardCell .RightButton.MobileClass{height:50px}.LeaderboardCell .FirstRow{outline:2px solid #1B9800}.LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emw--tooltips-border, #fecf00);border-bottom:0}.LeaderboardCell .FirstRow.UnqualifiedRow td{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(--emw--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 svg{width:1.25rem;height:1.25rem;fill:rgba(0, 0, 0, 0.5);flex-shrink:0}.LeaderboardCell .flex{display:flex;align-items:center}.LeaderboardCell button{font-weight:bold;font-size:inherit;text-transform:capitalize;background-color:transparent;border:none;cursor:pointer;display:block;padding:0 1rem 0 0;background-size:0.75rem;background-repeat:no-repeat;background-position:center right;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234f4f4f' d='M16.29 14.29L12 18.59l-4.29-4.3a1 1 0 00-1.42 1.42l5 5a1 1 0 001.42 0l5-5a1 1 0 00-1.42-1.42zM7.71 9.71L12 5.41l4.29 4.3a1 1 0 001.42 0 1 1 0 000-1.42l-5-5a1 1 0 00-1.42 0l-5 5a1 1 0 001.42 1.42z'/%3E%3C/svg%3E")}.LeaderboardCell .CollapseButton{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF)}.LeaderboardCell [data-sort=ASC],.LeaderboardCell [data-sort=DESC]{background-size:1rem;background-position:right -0.15rem center}.LeaderboardCell [data-sort=ASC]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234f4f4f' d='M11.29 11.46a1 1 0 001.42 0l3-3A1 1 0 1014.29 7L12 9.34 9.71 7a1 1 0 10-1.42 1.46zm3 1.08L12 14.84l-2.29-2.3A1 1 0 008.29 14l3 3a1 1 0 001.42 0l3-3a1 1 0 00-1.42-1.42z'/%3E%3C/svg%3E")}.LeaderboardCell [data-sort=DESC]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234f4f4f' d='M12.71 12.54a1 1 0 00-1.42 0l-3 3A1 1 0 009.71 17L12 14.66 14.29 17a1 1 0 001.42 0 1 1 0 000-1.42zm-3-1.08L12 9.16l2.29 2.3a1 1 0 001.42 0 1 1 0 000-1.42l-3-3a1 1 0 00-1.42 0l-3 3a1 1 0 001.42 1.42z'/%3E%3C/svg%3E")}.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(--emw--color-black, #000000)}.layout-default .SeeGamesLine .GamesButtonWrapper{display:none}.layout-default .SeeGamesLine .GamesAnchor{color:var(--emw--color-green, #48952a)}.layout-default .StatusTag{right:20px}.layout-default .UserEnrollTag{left:15px}.layout-default .UserEnrollTag .Enrolled{color:var(--emw--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(--emw--color-gray-300, #58586B)}.layout-default .PrizesCell .Prize .PrizeText{color:var(--emw--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 .TournamentButtons button{cursor:pointer}.layout-default .JoinButtonCell .LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.layout-default .JoinButtonCell .LoginButton:hover{opacity:0.7}.layout-default .JoinButtonCell .RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .RegisterButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsLargeButton:hover{opacity:0.7}.layout-default .JoinButtonCell .EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.layout-default .JoinButtonCell .JoinButton{background:var(--emw--color-green, #48952a);width:100%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.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(--emw--highlight, #debb05)}.layout-default .LeaderboardCell .TournamentsTable .LeftTableTh{padding:1.5rem 1.25rem;height:70px;background-color:var(--emw--color-contrast, #07072A);border-bottom:1px solid var(--emw--color-contrast, #0D0D4D);top:0}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border-bottom:0px none}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{color:var(--emw--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(--emw--color-contrast, #07072A);border-bottom:1px solid var(--emw--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(--emw--color-black, #000000);color:var(--emw--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(--emw--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{right:15px}.layout-wm .StartDateCell .Date{color:var(--emw--color-primary, #1A2C38);background:var(--emw--color-background, #0072ed)}.layout-wm .StartDateCell .Date .CalendarIcon{width:10px}.layout-wm .UserEnrollTag{left:15px}.layout-wm .UserEnrollTag .TagContent{background:var(--emw--color-background-secondary, #6C757D)}.layout-wm .UserEnrollTag .TagContent.Enrolled{background:var(--emw--color-green, #24834B)}.layout-wm .StatusTag{right:15px}.layout-wm .StatusTag .Status{background:var(--emw--color-primary, #1A2C38)}.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(--emw--color-white, #FFFFFF)}.layout-wm .TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-white, #FFFFFF)}.layout-wm .TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6);border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFill{height:6px;background:var(--emw--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(--emw--color-green, #48952a);height:8px;border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFillStarting{background-color:var(--emw--color-white, #FFFFFF);height:8px}.layout-wm .TournamentDuration .PrizesCell{margin-top:10px}.layout-wm .TournamentDuration .PrizesCell span{color:var(--emw--color-gray-100, #E6E6E6)}.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(--emw--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(--emw--color-white, #FFFFFF)}.layout-wm .TournamentDuration .PrizesCell .Prize.Prize0 span{color:#FECF00}.layout-wm .TournamentDuration .PrizesCell .Prize.Prize1 span{color:#D9B206}.layout-wm .TournamentDuration .PrizesCell .Prize.Prize2 span{color:#9B8007}.layout-wm .TournamentDuration .PrizesCell .Prize p{color:var(--emw--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(--emw--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 span{color:var(--emw--color-gray-100, #E6E6E6)}.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(--emw--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(--emw--color-white, #FFFFFF)}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize.Prize0 span{color:#FECF00}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize.Prize1 span{color:#D9B206}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize.Prize2 span{color:#9B8007}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize p{color:var(--emw--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(--emw--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(--emw--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(--emw--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(--emw--tooltips-border, #fecf00);border-bottom:0}.layout-wm .LeaderboardCell .FirstRow.UnqualifiedRow td{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(--emw--color-bg, #153A5C);border-bottom:12px solid var(--emw--color-black, #000000)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{border-bottom:1px solid var(--emw--color-contrast, #0D0D4D);color:var(--emw--color-white, #FFFFFF)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{background-color:var(--emw--color-bg, #153A5C)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{color:var(--emw--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}`)}function no(t,e,r){const n=t.slice();return n[58]=e[r],n}function io(t,e,r){const n=t.slice();return n[61]=e[r],n}function ao(t,e,r){const n=t.slice();return n[64]=e[r],n}function so(t,e,r){const n=t.slice();return n[67]=e[r],n}function oo(t){let e;return{c(){e=O(t[7])},m(r,n){C(r,e,n)},p(r,n){n[0]&128&&W(e,r[7])},d(r){r&&y(e)}}}function lo(t){let e,r,n;const i=[t[61].componentAttrs,{attrs:t[61].componentAttrs}];var a=t[61].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=Jt(u,i[f]);return l!==void 0&&l[0]&32&&(u=Jt(u,Rr(i,[Ar(o[61].componentAttrs),{attrs:o[61].componentAttrs}]))),{props:u}}return a&&(e=Mr(a,s(t))),{c(){e&&cr(e.$$.fragment),r=de()},m(o,l){e&&Zt(e,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[61].component)){if(e){lt();const u=e;_e(u.$$.fragment,1,0,()=>{Xt(u,1)}),ut()}a?(e=Mr(a,s(o,l)),cr(e.$$.fragment),oe(e.$$.fragment,1),Zt(e,r.parentNode,r)):e=null}else if(a){const u=l[0]&32?Rr(i,[Ar(o[61].componentAttrs),{attrs:o[61].componentAttrs}]):{};e.$set(u)}},i(o){n||(e&&oe(e.$$.fragment,o),n=!0)},o(o){e&&_e(e.$$.fragment,o),n=!1},d(o){o&&y(r),e&&Xt(e,o)}}}function uo(t){let e,r,n=Le(t[61].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=po(ao(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o[0]&32){n=Le(s[61].subComponents);let l;for(l=0;l<n.length;l+=1){const u=ao(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=po(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function co(t){let e,r,n;const i=[t[64].componentAttrs,{attrs:t[64].componentAttrs}];var a=t[64].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=Jt(u,i[f]);return l!==void 0&&l[0]&32&&(u=Jt(u,Rr(i,[Ar(o[64].componentAttrs),{attrs:o[64].componentAttrs}]))),{props:u}}return a&&(e=Mr(a,s(t))),{c(){e&&cr(e.$$.fragment),r=de()},m(o,l){e&&Zt(e,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[64].component)){if(e){lt();const u=e;_e(u.$$.fragment,1,0,()=>{Xt(u,1)}),ut()}a?(e=Mr(a,s(o,l)),cr(e.$$.fragment),oe(e.$$.fragment,1),Zt(e,r.parentNode,r)):e=null}else if(a){const u=l[0]&32?Rr(i,[Ar(o[64].componentAttrs),{attrs:o[64].componentAttrs}]):{};e.$set(u)}},i(o){n||(e&&oe(e.$$.fragment,o),n=!0)},o(o){e&&_e(e.$$.fragment,o),n=!1},d(o){o&&y(r),e&&Xt(e,o)}}}function fo(t){let e,r,n=Le(t[64].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=mo(so(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o[0]&32){n=Le(s[64].subComponents);let l;for(l=0;l<n.length;l+=1){const u=so(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=mo(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function ho(t){let e,r,n;const i=[t[67].componentAttrs,{attrs:t[67].componentAttrs}];var a=t[67].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=Jt(u,i[f]);return l!==void 0&&l[0]&32&&(u=Jt(u,Rr(i,[Ar(o[67].componentAttrs),{attrs:o[67].componentAttrs}]))),{props:u}}return a&&(e=Mr(a,s(t))),{c(){e&&cr(e.$$.fragment),r=de()},m(o,l){e&&Zt(e,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[67].component)){if(e){lt();const u=e;_e(u.$$.fragment,1,0,()=>{Xt(u,1)}),ut()}a?(e=Mr(a,s(o,l)),cr(e.$$.fragment),oe(e.$$.fragment,1),Zt(e,r.parentNode,r)):e=null}else if(a){const u=l[0]&32?Rr(i,[Ar(o[67].componentAttrs),{attrs:o[67].componentAttrs}]):{};e.$set(u)}},i(o){n||(e&&oe(e.$$.fragment,o),n=!0)},o(o){e&&_e(e.$$.fragment,o),n=!1},d(o){o&&y(r),e&&Xt(e,o)}}}function mo(t){let e,r,n,i,a,s,o,l=!t[67].isSlotCell&&ho(t);return{c(){e=b("div"),l&&l.c(),c(e,"class",r="Cell3s "+t[67].cellClass),c(e,"part",n=t[67].parts+" Cell3s")},m(u,f){C(u,e,f),l&&l.m(e,null),a=!0,s||(o=er(i=t[9].call(null,e,t[67])),s=!0)},p(u,f){t=u,t[67].isSlotCell?l&&(lt(),_e(l,1,1,()=>{l=null}),ut()):l?(l.p(t,f),f[0]&32&&oe(l,1)):(l=ho(t),l.c(),oe(l,1),l.m(e,null)),(!a||f[0]&32&&r!==(r="Cell3s "+t[67].cellClass))&&c(e,"class",r),(!a||f[0]&32&&n!==(n=t[67].parts+" Cell3s"))&&c(e,"part",n),i&&$t(i.update)&&f[0]&32&&i.update.call(null,t[67])},i(u){a||(oe(l),a=!0)},o(u){_e(l),a=!1},d(u){u&&y(e),l&&l.d(),s=!1,o()}}}function po(t){let e,r,n,i,a,s,o,l,u=!t[64].isCellContainer&&co(t),f=t[64].subComponents&&t[64].subComponents.length>0&&fo(t);return{c(){e=b("div"),u&&u.c(),r=H(),f&&f.c(),c(e,"class",n="Cell2s "+t[64].cellClass),c(e,"part",i=t[64].parts+" Cell2s")},m(d,h){C(d,e,h),u&&u.m(e,null),m(e,r),f&&f.m(e,null),s=!0,o||(l=er(a=t[9].call(null,e,t[64])),o=!0)},p(d,h){t=d,t[64].isCellContainer?u&&(lt(),_e(u,1,1,()=>{u=null}),ut()):u?(u.p(t,h),h[0]&32&&oe(u,1)):(u=co(t),u.c(),oe(u,1),u.m(e,r)),t[64].subComponents&&t[64].subComponents.length>0?f?(f.p(t,h),h[0]&32&&oe(f,1)):(f=fo(t),f.c(),oe(f,1),f.m(e,null)):f&&(lt(),_e(f,1,1,()=>{f=null}),ut()),(!s||h[0]&32&&n!==(n="Cell2s "+t[64].cellClass))&&c(e,"class",n),(!s||h[0]&32&&i!==(i=t[64].parts+" Cell2s"))&&c(e,"part",i),a&&$t(a.update)&&h[0]&32&&a.update.call(null,t[64])},i(d){s||(oe(u),oe(f),s=!0)},o(d){_e(u),_e(f),s=!1},d(d){d&&y(e),u&&u.d(),f&&f.d(),o=!1,l()}}}function go(t){let e,r,n,i,a,s,o,l,u=!t[61].isCellContainer&&lo(t),f=t[61].subComponents&&t[61].subComponents.length>0&&uo(t);return{c(){e=b("div"),u&&u.c(),r=H(),f&&f.c(),c(e,"class",n="Cell1s "+t[61].cellClass),c(e,"part",i=t[61].parts)},m(d,h){C(d,e,h),u&&u.m(e,null),m(e,r),f&&f.m(e,null),s=!0,o||(l=er(a=t[9].call(null,e,t[61])),o=!0)},p(d,h){t=d,t[61].isCellContainer?u&&(lt(),_e(u,1,1,()=>{u=null}),ut()):u?(u.p(t,h),h[0]&32&&oe(u,1)):(u=lo(t),u.c(),oe(u,1),u.m(e,r)),t[61].subComponents&&t[61].subComponents.length>0?f?(f.p(t,h),h[0]&32&&oe(f,1)):(f=uo(t),f.c(),oe(f,1),f.m(e,null)):f&&(lt(),_e(f,1,1,()=>{f=null}),ut()),(!s||h[0]&32&&n!==(n="Cell1s "+t[61].cellClass))&&c(e,"class",n),(!s||h[0]&32&&i!==(i=t[61].parts))&&c(e,"part",i),a&&$t(a.update)&&h[0]&32&&a.update.call(null,t[61])},i(d){s||(oe(u),oe(f),s=!0)},o(d){_e(u),_e(f),s=!1},d(d){d&&y(e),u&&u.d(),f&&f.d(),o=!1,l()}}}function bo(t){let e,r,n=Le(t[58].cols),i=[];for(let s=0;s<n.length;s+=1)i[s]=go(io(t,n,s));const a=s=>_e(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();e=de()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,e,o),r=!0},p(s,o){if(o[0]&32){n=Le(s[58].cols);let l;for(l=0;l<n.length;l+=1){const u=io(s,n,l);i[l]?(i[l].p(u,o),oe(i[l],1)):(i[l]=go(u),i[l].c(),oe(i[l],1),i[l].m(e.parentNode,e))}for(lt(),l=n.length;l<i.length;l+=1)a(l);ut()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)oe(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)_e(i[o]);r=!1},d(s){s&&y(e),ft(i,s)}}}function Qm(t){let e,r,n,i,a,s,o,l=t[7]&&oo(t),u=Le(t[5].rows),f=[];for(let h=0;h<u.length;h+=1)f[h]=bo(no(t,u,h));const d=h=>_e(f[h],1,1,()=>{f[h]=null});return i=new Ql({props:{translationurl:t[4],clientstylingurl:t[3],clientstyling:t[2],lang:t[1]}}),{c(){e=b("div"),l&&l.c(),r=H();for(let h=0;h<f.length;h+=1)f[h].c();n=H(),cr(i.$$.fragment),At(e,"display",(t[8],"flex")),c(e,"class",a="casino-tournaments-customize-page-controller layout-"+t[0]+" "+(t[6]?"MobileContainer":"")),c(e,"part",s="casino-tournaments-customize-page-controller layout-"+t[0])},m(h,p){C(h,e,p),l&&l.m(e,null),m(e,r);for(let _=0;_<f.length;_+=1)f[_]&&f[_].m(e,null);m(e,n),Zt(i,e,null),o=!0},p(h,p){if(h[7]?l?l.p(h,p):(l=oo(h),l.c(),l.m(e,r)):l&&(l.d(1),l=null),p[0]&32){u=Le(h[5].rows);let g;for(g=0;g<u.length;g+=1){const P=no(h,u,g);f[g]?(f[g].p(P,p),oe(f[g],1)):(f[g]=bo(P),f[g].c(),oe(f[g],1),f[g].m(e,n))}for(lt(),g=u.length;g<f.length;g+=1)d(g);ut()}const _={};p[0]&16&&(_.translationurl=h[4]),p[0]&8&&(_.clientstylingurl=h[3]),p[0]&4&&(_.clientstyling=h[2]),p[0]&2&&(_.lang=h[1]),i.$set(_),(!o||p[0]&256)&&At(e,"display",(h[8],"flex")),(!o||p[0]&65&&a!==(a="casino-tournaments-customize-page-controller layout-"+h[0]+" "+(h[6]?"MobileContainer":"")))&&c(e,"class",a),(!o||p[0]&1&&s!==(s="casino-tournaments-customize-page-controller layout-"+h[0]))&&c(e,"part",s)},i(h){if(!o){for(let p=0;p<u.length;p+=1)oe(f[p]);oe(i.$$.fragment,h),o=!0}},o(h){f=f.filter(Boolean);for(let p=0;p<f.length;p+=1)_e(f[p]);_e(i.$$.fragment,h),o=!1},d(h){h&&y(e),l&&l.d(),ft(f,h),Xt(i)}}}function Km(t,e,r){let{layoutid:n="default"}=e,{session:i=""}=e,{userid:a=""}=e,{tourid:s=""}=e,{endpoint:o=""}=e,{cmsendpoint:l=""}=e,{lang:u="en"}=e,{mbsource:f}=e,{navigationbackbutton:d="Default"}=e,{currency:h="EUR"}=e,{namemask:p=""}=e,{showunqualifiedplayer:_="true"}=e,{minscore:g=""}=e,{mobiletablelimit:P="15"}=e,{tablelimit:L="30"}=e,{updatetableintime:E="true"}=e,{leaderboardoffset:v="0"}=e,{leaderboardlimit:w="15"}=e,{scorefractiondigit:Y="2"}=e,{loginevent:D=""}=e,{loginurl:F=""}=e,{registerevent:G=""}=e,{registerurl:M=""}=e,{limit:A=30}=e,{offset:Se=0}=e,{keepbrowsercontext:ye="false"}=e,{showrankasimage:xe="false"}=e,{clientstyling:Re=""}=e,{clientstylingurl:Me=""}=e,{translationurl:Ne=""}=e,Ce={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",namemask:"",minscore:null,loginevent:null},U=window.navigator.userAgent,De=!1,he={pageDefaultParams:Ce,cmsData:{},ctrlProperties:null,tournamentData:null},$,be=new zm,I={rows:[]},ie,Pe,ne=!1,B=!0;f2({withLocale:u,translations:{}}),bt(u);const Xe=(S,X)=>{let ee=S.componentAttrs||{};ee&&Object.keys(ee).forEach(se=>{X.hasOwnProperty(se)&&(ee[se]=X[se])})},ve=()=>{let S=I.rows,X=ee=>{!ee||!ee.length||ee.forEach(se=>{if(!se.isCellContainer){let Z=se.dataKey;if(Z&&Z.source=="cms"){let ue=se.componentAttrs||{};if(!ue)return;ue[Z.textKey]=he.cmsData[Z.key]||null}}X(se.subComponents)})};S.forEach(ee=>{X(ee.cols)})},et=()=>{fetch(`${l}/${s}`).then(S=>S?S.json():{details:[{title:"Description",description:"DescriptionText"}]}).then(S=>{S&&S.details&&(he.cmsData.tournamentdescription=S.details),ve(),r(5,I=ar({},I))})},Ge=(S,X)=>{let ee=S.rows,se=Z=>{!Z||!Z.length||Z.forEach(ue=>{ue.isCellContainer||Xe(ue,X),se(ue.subComponents)})};ee.forEach(Z=>{se(Z.cols)})},St=S=>{if(S.data)try{let X=JSON.parse(S.data);X.messageType=="TournamentUpdate"&&(window.postMessage({type:"UpdateTournamentView",tournamentData:X.item},window.location.href),dr(X.item))}catch(X){console.error(X)}},Et=(S,X)=>{let ee=`${o}/v1/tournaments/updates?filter=id=${S}&${X}`;$&&($.removeEventListener("message",St),$.close()),$=new el.EventSourcePolyfill(ee,{headers:{accept:"text/event-stream","X-SessionId":i}}),!1!="undefined"&&$.addEventListener("message",St)},dr=S=>{ie=be.transfer(S),he.tournamentData=ie,ie.lang=u,r(5,I=ro(Jr[n]||Jr.default,he))},Nt=(S,X)=>{let ee=new URL(S+`/v1/tournaments/${X}`),se=new Headers({"X-SessionId":i});ee.searchParams.append("platform",Vn(U)),ee.searchParams.append("language",u);let Z=ee.searchParams.toString(),ue={method:"GET",headers:se};fetch(ee.href,ue).then(He=>He.json()).then(He=>{if(!He.success||He.errorCode){r(7,Pe=`Faild to load data, details: ${He.errorMessage}`);return}else r(7,Pe=null);He.item.id=s,dr(He.item),ie.lang=u,Ge(I,ie),r(5,I=ar({},I)),r(8,B=!1),q(),Et(s,Z)})},T=vo(),N=(S,X,ee)=>{if(!I.rows||I.rows.length==0)return;let se=I.rows[0].cols;S.forEach(Z=>{let ue,He=te=>{te.forEach((re,we)=>{if(ue)return ue;if(re.componentid==Z)return ue=re,ue;if(re.subComponents&&re.subComponents.length>0)return He(re.subComponents)})};He(se);let Ht=T.$$.props,k=T.$$.ctx;ue&&X.forEach(te=>{let re=Ht[te],we=k[re];he.ctrlProperties[te]=we,ue.componentAttrs[te]=we})}),r(5,I=ar({},I))},q=()=>{r(0,n=Jr[n]?n:"default"),r(5,I=ro(Jr[n],he))},z=(S,X)=>{X.onLoad&&X.onLoad()},ae=()=>{Nt(o,s)},Q=S=>{S.data&&S.data.type=="TournamentUserEnrolled"&&(he.tournamentData.userenrolled=S.data.userenrolled)},le=()=>{r(57,e.session=i,e),r(57,e.userid=a,e),r(57,e.tourid=s,e),r(57,e.lang=u,e)};return tr(()=>(r(0,n=Jr[n]?n:"default"),r(6,De=Wn(U)),setTimeout(()=>{he.ctrlProperties=e,r(35,ne=!0)},300),window.addEventListener("message",Q),()=>{styleSubscription&&styleSubscription.unsubscribe(),window.removeEventListener("message",Q)})),t.$$set=S=>{r(57,e=Jt(Jt({},e),Aa(S))),"layoutid"in S&&r(0,n=S.layoutid),"session"in S&&r(10,i=S.session),"userid"in S&&r(11,a=S.userid),"tourid"in S&&r(12,s=S.tourid),"endpoint"in S&&r(13,o=S.endpoint),"cmsendpoint"in S&&r(14,l=S.cmsendpoint),"lang"in S&&r(1,u=S.lang),"mbsource"in S&&r(15,f=S.mbsource),"navigationbackbutton"in S&&r(16,d=S.navigationbackbutton),"currency"in S&&r(17,h=S.currency),"namemask"in S&&r(18,p=S.namemask),"showunqualifiedplayer"in S&&r(19,_=S.showunqualifiedplayer),"minscore"in S&&r(20,g=S.minscore),"mobiletablelimit"in S&&r(21,P=S.mobiletablelimit),"tablelimit"in S&&r(22,L=S.tablelimit),"updatetableintime"in S&&r(23,E=S.updatetableintime),"leaderboardoffset"in S&&r(24,v=S.leaderboardoffset),"leaderboardlimit"in S&&r(25,w=S.leaderboardlimit),"scorefractiondigit"in S&&r(26,Y=S.scorefractiondigit),"loginevent"in S&&r(27,D=S.loginevent),"loginurl"in S&&r(28,F=S.loginurl),"registerevent"in S&&r(29,G=S.registerevent),"registerurl"in S&&r(30,M=S.registerurl),"limit"in S&&r(31,A=S.limit),"offset"in S&&r(32,Se=S.offset),"keepbrowsercontext"in S&&r(33,ye=S.keepbrowsercontext),"showrankasimage"in S&&r(34,xe=S.showrankasimage),"clientstyling"in S&&r(2,Re=S.clientstyling),"clientstylingurl"in S&&r(3,Me=S.clientstylingurl),"translationurl"in S&&r(4,Ne=S.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&1024|t.$$.dirty[1]&16&&ne&&i&&le(),t.$$.dirty[0]&15362|t.$$.dirty[1]&16&&ne&&o&&i&&a&&u&&s&&ae(),t.$$.dirty[0]&3105|t.$$.dirty[1]&16&&ne&&i&&I[n]&&a&&setTimeout(()=>{N(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])}),t.$$.dirty[0]&20480&&l&&s&&et(),t.$$.dirty[0]&71827456|t.$$.dirty[1]&16&&ne&&_&&Y&&L&&N(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),t.$$.dirty[0]&1|t.$$.dirty[1]&16&&ne&&n&&q()},e=Aa(e),[n,u,Re,Me,Ne,I,De,Pe,B,z,i,a,s,o,l,f,d,h,p,_,g,P,L,E,v,w,Y,D,F,G,M,A,Se,ye,xe,ne]}class Kl extends qe{constructor(e){super(),We(this,e,Km,Qm,je,{layoutid:0,session:10,userid:11,tourid:12,endpoint:13,cmsendpoint:14,lang:1,mbsource:15,navigationbackbutton:16,currency:17,namemask:18,showunqualifiedplayer:19,minscore:20,mobiletablelimit:21,tablelimit:22,updatetableintime:23,leaderboardoffset:24,leaderboardlimit:25,scorefractiondigit:26,loginevent:27,loginurl:28,registerevent:29,registerurl:30,limit:31,offset:32,keepbrowsercontext:33,showrankasimage:34,clientstyling:2,clientstylingurl:3,translationurl:4},Xm,[-1,-1,-1])}get layoutid(){return this.$$.ctx[0]}set layoutid(e){this.$$set({layoutid:e}),x()}get session(){return this.$$.ctx[10]}set session(e){this.$$set({session:e}),x()}get userid(){return this.$$.ctx[11]}set userid(e){this.$$set({userid:e}),x()}get tourid(){return this.$$.ctx[12]}set tourid(e){this.$$set({tourid:e}),x()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),x()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),x()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),x()}get mbsource(){return this.$$.ctx[15]}set mbsource(e){this.$$set({mbsource:e}),x()}get navigationbackbutton(){return this.$$.ctx[16]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),x()}get currency(){return this.$$.ctx[17]}set currency(e){this.$$set({currency:e}),x()}get namemask(){return this.$$.ctx[18]}set namemask(e){this.$$set({namemask:e}),x()}get showunqualifiedplayer(){return this.$$.ctx[19]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),x()}get minscore(){return this.$$.ctx[20]}set minscore(e){this.$$set({minscore:e}),x()}get mobiletablelimit(){return this.$$.ctx[21]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),x()}get tablelimit(){return this.$$.ctx[22]}set tablelimit(e){this.$$set({tablelimit:e}),x()}get updatetableintime(){return this.$$.ctx[23]}set updatetableintime(e){this.$$set({updatetableintime:e}),x()}get leaderboardoffset(){return this.$$.ctx[24]}set leaderboardoffset(e){this.$$set({leaderboardoffset:e}),x()}get leaderboardlimit(){return this.$$.ctx[25]}set leaderboardlimit(e){this.$$set({leaderboardlimit:e}),x()}get scorefractiondigit(){return this.$$.ctx[26]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),x()}get loginevent(){return this.$$.ctx[27]}set loginevent(e){this.$$set({loginevent:e}),x()}get loginurl(){return this.$$.ctx[28]}set loginurl(e){this.$$set({loginurl:e}),x()}get registerevent(){return this.$$.ctx[29]}set registerevent(e){this.$$set({registerevent:e}),x()}get registerurl(){return this.$$.ctx[30]}set registerurl(e){this.$$set({registerurl:e}),x()}get limit(){return this.$$.ctx[31]}set limit(e){this.$$set({limit:e}),x()}get offset(){return this.$$.ctx[32]}set offset(e){this.$$set({offset:e}),x()}get keepbrowsercontext(){return this.$$.ctx[33]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),x()}get showrankasimage(){return this.$$.ctx[34]}set showrankasimage(e){this.$$set({showrankasimage:e}),x()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}get translationurl(){return this.$$.ctx[4]}set translationurl(e){this.$$set({translationurl:e}),x()}}Ve(Kl,{layoutid:{},session:{},userid:{},tourid:{},endpoint:{},cmsendpoint:{},lang:{},mbsource:{},navigationbackbutton:{},currency:{},namemask:{},showunqualifiedplayer:{},minscore:{},mobiletablelimit:{},tablelimit:{},updatetableintime:{},leaderboardoffset:{},leaderboardlimit:{},scorefractiondigit:{},loginevent:{},loginurl:{},registerevent:{},registerurl:{},limit:{},offset:{},keepbrowsercontext:{},showrankasimage:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Kl;
|