@everymatrix/casino-tournaments-customize-page-controller 1.63.2 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsCustomizePageController-C6svKdQJ.cjs → CasinoTournamentsCustomizePageController-BzdwuY-k.cjs} +9 -9
- package/components/{CasinoTournamentsCustomizePageController-BgxfwqBA.js → CasinoTournamentsCustomizePageController-Dwo_ZIK0.js} +345 -345
- package/components/{CasinoTournamentsCustomizePageController-By0GwZsO.js → CasinoTournamentsCustomizePageController-Ejsvqs_K.js} +339 -339
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";var r0=Object.defineProperty,n0=Object.defineProperties;var i0=Object.getOwnPropertyDescriptors;var La=Object.getOwnPropertySymbols;var a0=Object.prototype.hasOwnProperty,s0=Object.prototype.propertyIsEnumerable;var li=(e,t,r)=>t in e?r0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nr=(e,t)=>{for(var r in t||(t={}))a0.call(t,r)&&li(e,r,t[r]);if(La)for(var r of La(t))s0.call(t,r)&&li(e,r,t[r]);return e},Ma=(e,t)=>n0(e,i0(t));var vt=(e,t,r)=>(li(e,typeof t!="symbol"?t+"":t,r),r);var Gr=(e,t,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(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Q(){}function qt(e,t){for(const r in t)e[r]=t[r];return e}function yo(e){return e()}function Ra(){return Object.create(null)}function At(e){e.forEach(yo)}function Kt(e){return typeof e=="function"}function je(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let mn;function We(e,t){return e===t?!0:(mn||(mn=document.createElement("a")),mn.href=t,e===mn.href)}function o0(e){return Object.keys(e).length===0}function Co(e,...t){if(e==null){for(const n of t)n(void 0);return Q}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function _t(e,t,r){e.$$.on_destroy.push(Co(t,r))}function l0(e,t,r,n){if(e){const i=vo(e,t,r,n);return e[0](i)}}function vo(e,t,r,n){return e[1]&&n?qt(r.ctx.slice(),e[1](n(t))):r.ctx}function u0(e,t,r,n){if(e[2]&&n){const i=e[2](n(r));if(t.dirty===void 0)return i;if(typeof i=="object"){const a=[],s=Math.max(t.dirty.length,i.length);for(let o=0;o<s;o+=1)a[o]=t.dirty[o]|i[o];return a}return t.dirty|i}return t.dirty}function c0(e,t,r,n,i,a){if(i){const s=vo(t,r,n,a);e.p(s,i)}}function f0(e){if(e.ctx.length>32){const t=[],r=e.ctx.length/32;for(let n=0;n<r;n++)t[n]=-1;return t}return-1}function Aa(e){const t={};for(const r in e)r[0]!=="$"&&(t[r]=e[r]);return t}function $t(e){return e&&Kt(e.destroy)?e.destroy:Q}function m(e,t){e.appendChild(t)}function on(e,t,r){const n=d0(e);if(!n.getElementById(t)){const i=_("style");i.id=t,i.textContent=r,h0(n,i)}}function d0(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function h0(e,t){return m(e.head||e,t),t.sheet}function C(e,t,r){e.insertBefore(t,r||null)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function ft(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function _(e){return document.createElement(e)}function $e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function O(e){return document.createTextNode(e)}function U(){return O(" ")}function Se(){return O("")}function et(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function c(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function m0(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function Mt(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function pn(e,t,r){e.classList.toggle(t,!!r)}function p0(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Lr(e,t){return new e(t)}let $r;function Xr(e){$r=e}function wo(){if(!$r)throw new Error("Function called outside component initialization");return $r}function Ft(e){wo().$$.on_mount.push(e)}const Tr=[],en=[];let Pr=[];const Fa=[],g0=Promise.resolve();let vi=!1;function b0(){vi||(vi=!0,g0.then(D))}function wi(e){Pr.push(e)}const ui=new Set;let Cr=0;function D(){if(Cr!==0)return;const e=$r;do{try{for(;Cr<Tr.length;){const t=Tr[Cr];Cr++,Xr(t),_0(t.$$)}}catch(t){throw Tr.length=0,Cr=0,t}for(Xr(null),Tr.length=0,Cr=0;en.length;)en.pop()();for(let t=0;t<Pr.length;t+=1){const r=Pr[t];ui.has(r)||(ui.add(r),r())}Pr.length=0}while(Tr.length);for(;Fa.length;)Fa.pop()();vi=!1,ui.clear(),Xr(e)}function _0(e){if(e.fragment!==null){e.update(),At(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(wi)}}function y0(e){const t=[],r=[];Pr.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Pr=t}const Cn=new Set;let pr;function ut(){pr={r:0,c:[],p:pr}}function ct(){pr.r||At(pr.c),pr=pr.p}function se(e,t){e&&e.i&&(Cn.delete(e),e.i(t))}function ke(e,t,r,n){if(e&&e.o){if(Cn.has(e))return;Cn.add(e),pr.c.push(()=>{Cn.delete(e),n&&(r&&e.d(1),n())}),e.o(t)}else n&&n()}function xe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Mr(e,t){const r={},n={},i={$$scope:1};let a=e.length;for(;a--;){const s=e[a],o=t[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);e[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 Rr(e){return typeof e=="object"&&e!==null?e:{}}function lr(e){e&&e.c()}function Jt(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),wi(()=>{const a=e.$$.on_mount.map(yo).filter(Kt);e.$$.on_destroy?e.$$.on_destroy.push(...a):At(a),e.$$.on_mount=[]}),i.forEach(wi)}function Zt(e,t){const r=e.$$;r.fragment!==null&&(y0(r.after_update),At(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function C0(e,t){e.$$.dirty[0]===-1&&(Tr.push(e),b0(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ve(e,t,r,n,i,a,s=null,o=[-1]){const l=$r;Xr(e);const u=e.$$={fragment:null,ctx:[],props:a,update:Q,not_equal:i,bound:Ra(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Ra(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(d,h,...b)=>{const g=b.length?b[0]:h;return u.ctx&&i(u.ctx[d],u.ctx[d]=g)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](g),f&&C0(e,d)),h}):[],u.update(),f=!0,At(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const d=m0(t.target);u.fragment&&u.fragment.l(d),d.forEach(y)}else u.fragment&&u.fragment.c();t.intro&&se(e.$$.fragment),Jt(e,t.target,t.anchor),D()}Xr(l)}let To;typeof HTMLElement=="function"&&(To=class extends HTMLElement{constructor(t,r,n){super();vt(this,"$$ctor");vt(this,"$$s");vt(this,"$$c");vt(this,"$$cn",!1);vt(this,"$$d",{});vt(this,"$$r",!1);vt(this,"$$p_d",{});vt(this,"$$l",{});vt(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Gr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let s;return{c:function(){s=_("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=p0(this);for(const a of this.$$s)a in n&&(r[a]=[t(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(nr({},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(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=vn(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function vn(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function qe(e,t,r,n,i,a){let s=class extends To{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).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,t),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]}})}),e.element=s,s}class Je{constructor(){vt(this,"$$");vt(this,"$$set")}$destroy(){Zt(this,1),this.$destroy=Q}$on(t,r){if(!Kt(r))return Q;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!o0(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const v0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(v0);const vr=[];function w0(e,t){return{subscribe:Un(e,t).subscribe}}function Un(e,t=Q){let r;const n=new Set;function i(o){if(je(e,o)&&(e=o,r)){const l=!vr.length;for(const u of n)u[1](),vr.push(u,e);if(l){for(let u=0;u<vr.length;u+=2)vr[u][0](vr[u+1]);vr.length=0}}}function a(o){i(o(e))}function s(o,l=Q){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,a)||Q),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:s}}function Br(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return w0(r,(s,o)=>{let l=!1;const u=[];let f=0,d=Q;const h=()=>{if(f)return;d();const g=t(n?u[0]:u,s,o);a?s(g):d=Kt(g)?g:Q},b=i.map((g,p)=>Co(g,w=>{u[p]=w,f&=~(1<<p),l&&h()},()=>{f|=1<<p}));return l=!0,h(),function(){At(b),d(),l=!1}})}var T0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function k0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S0=function(t){return P0(t)&&!x0(t)};function P0(e){return!!e&&typeof e=="object"}function x0(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||L0(e)}var D0=typeof Symbol=="function"&&Symbol.for,E0=D0?Symbol.for("react.element"):60103;function L0(e){return e.$$typeof===E0}function M0(e){return Array.isArray(e)?[]:{}}function tn(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ar(M0(e),e,t):e}function R0(e,t,r){return e.concat(t).map(function(n){return tn(n,r)})}function A0(e,t){if(!t.customMerge)return Ar;var r=t.customMerge(e);return typeof r=="function"?r:Ar}function F0(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Oa(e){return Object.keys(e).concat(F0(e))}function ko(e,t){try{return t in e}catch(r){return!1}}function O0(e,t){return ko(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function z0(e,t,r){var n={};return r.isMergeableObject(e)&&Oa(e).forEach(function(i){n[i]=tn(e[i],r)}),Oa(t).forEach(function(i){O0(e,i)||(ko(e,i)&&r.isMergeableObject(t[i])?n[i]=A0(i,r)(e[i],t[i],r):n[i]=tn(t[i],r))}),n}function Ar(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||R0,r.isMergeableObject=r.isMergeableObject||S0,r.cloneUnlessOtherwiseSpecified=tn;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):z0(e,t,r):tn(t,r)}Ar.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ar(n,i,r)},{})};var B0=Ar,N0=B0;const H0=k0(N0);var Ti=function(e,t){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(e,t)};function In(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ti(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Et=function(){return Et=Object.assign||function(t){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)&&(t[a]=r[a])}return t},Et.apply(this,arguments)};function U0(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function ci(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function fi(e,t){var r=t&&t.cache?t.cache:q0,n=t&&t.serializer?t.serializer:W0,i=t&&t.strategy?t.strategy:G0;return i(e,{cache:r,serializer:n})}function I0(e){return e==null||typeof e=="number"||typeof e=="boolean"}function j0(e,t,r,n){var i=I0(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function So(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,n),t.set(i,a)),a}function Po(e,t,r,n,i){return r.bind(t,e,n,i)}function G0(e,t){var r=e.length===1?j0:So;return Po(e,this,r,t.cache.create(),t.serializer)}function Y0(e,t){return Po(e,this,So,t.cache.create(),t.serializer)}var W0=function(){return JSON.stringify(arguments)},V0=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),q0={create:function(){return new V0}},di={variadic:Y0},Dn=function(){return Dn=Object.assign||function(t){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)&&(t[a]=r[a])}return t},Dn.apply(this,arguments)};var he;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(he||(he={}));var ze;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(ze||(ze={}));var Fr;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Fr||(Fr={}));function za(e){return e.type===ze.literal}function J0(e){return e.type===ze.argument}function xo(e){return e.type===ze.number}function Do(e){return e.type===ze.date}function Eo(e){return e.type===ze.time}function Lo(e){return e.type===ze.select}function Mo(e){return e.type===ze.plural}function Z0(e){return e.type===ze.pound}function Ro(e){return e.type===ze.tag}function Ao(e){return!!(e&&typeof e=="object"&&e.type===Fr.number)}function ki(e){return!!(e&&typeof e=="object"&&e.type===Fr.dateTime)}var Fo=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,X0=/(?:[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 Q0(e){var t={};return e.replace(X0,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.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":t.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":t.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":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.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":t.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""}),t}var He=function(){return He=Object.assign||function(t){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)&&(t[a]=r[a])}return t},He.apply(this,arguments)};var K0=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function $0(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(K0).filter(function(h){return h.length>0}),r=[],n=0,i=t;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 eu(e){return e.replace(/^(.*?)-/,"")}var Ba=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Oo=/^(@+)?(\+|#+)?[rs]?$/g,tu=/(\*)(0+)|(#+)(0+)|(0+)/g,zo=/^(0+)$/;function Na(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Oo,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Bo(e){switch(e){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 ru(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!zo.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ha(e){var t={},r=Bo(e);return r||t}function nu(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=eu(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=He(He(He({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return He(He({},l),Ha(u))},{}));continue;case"engineering":t=He(He(He({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return He(He({},l),Ha(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.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(tu,function(l,u,f,d,h,b){if(u)t.minimumIntegerDigits=f.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(zo.test(i.stem)){t.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,b){return f==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:h&&b?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+b.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=He(He({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=He(He({},t),Na(a)));continue}if(Oo.test(i.stem)){t=He(He({},t),Na(i.stem));continue}var s=Bo(i.stem);s&&(t=He(He({},t),s));var o=ru(i.stem);o&&(t=He(He({},t),o))}return t}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 iu(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=au(t);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 au(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=gn[n||""]||gn[r||""]||gn["".concat(r,"-001")]||gn["001"];return i[0]}var hi,su=new RegExp("^".concat(Fo.source,"*")),ou=new RegExp("".concat(Fo.source,"*$"));function me(e,t){return{start:e,end:t}}var lu=!!String.prototype.startsWith&&"_a".startsWith("a",1),uu=!!String.fromCodePoint,cu=!!Object.fromEntries,fu=!!String.prototype.codePointAt,du=!!String.prototype.trimStart,hu=!!String.prototype.trimEnd,mu=!!Number.isSafeInteger,pu=mu?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Si=!0;try{var gu=Ho("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Si=((hi=gu.exec("a"))===null||hi===void 0?void 0:hi[0])==="a"}catch(e){Si=!1}var Ua=lu?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Pi=uu?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,s;i>a;){if(s=t[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=cu?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},No=fu?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},bu=du?function(t){return t.trimStart()}:function(t){return t.replace(su,"")},_u=hu?function(t){return t.trimEnd()}:function(t){return t.replace(ou,"")};function Ho(e,t){return new RegExp(e,t)}var xi;if(Si){var ja=Ho("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xi=function(t,r){var n;ja.lastIndex=r;var i=ja.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else xi=function(t,r){for(var n=[];;){var i=No(t,r);if(i===void 0||Uo(i)||wu(i))break;n.push(i),r+=i>=65536?2:1}return Pi.apply(void 0,n)};var yu=function(){function e(t,r){r===void 0&&(r={}),this.message=t,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 e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:ze.pound,location:me(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(he.UNMATCHED_CLOSING_TAG,me(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Di(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,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:me(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+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(he.INVALID_TAG,me(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(he.UNMATCHED_CLOSING_TAG,me(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ze.tag,value:i,children:s,location:me(n,this.clonePosition())},err:null}:this.error(he.INVALID_TAG,me(o,this.clonePosition())))}else return this.error(he.UNCLOSED_TAG,me(n,this.clonePosition()))}else return this.error(he.INVALID_TAG,me(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&vu(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=me(n,this.clonePosition());return{val:{type:ze.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Cu(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){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(t==="plural"||t==="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)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Pi(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(he.EMPTY_ARGUMENT,me(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(he.MALFORMED_ARGUMENT,me(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ze.argument,value:i,location:me(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(he.MALFORMED_ARGUMENT,me(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=xi(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=me(t,a);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(he.EXPECT_ARGUMENT_TYPE,me(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=_u(d.val);if(h.length===0)return this.error(he.EXPECT_ARGUMENT_STYLE,me(this.clonePosition(),this.clonePosition()));var b=me(f,this.clonePosition());u={style:h,styleLocation:b}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var p=me(i,this.clonePosition());if(u&&Ua(u==null?void 0:u.style,"::",0)){var w=bu(u.style.slice(2));if(o==="number"){var d=this.parseNumberSkeletonFromString(w,u.styleLocation);return d.err?d:{val:{type:ze.number,value:n,location:p,style:d.val},err:null}}else{if(w.length===0)return this.error(he.EXPECT_DATE_TIME_SKELETON,p);var k=w;this.locale&&(k=iu(w,this.locale));var h={type:Fr.dateTime,pattern:k,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Q0(k):{}},L=o==="date"?ze.date:ze.time;return{val:{type:L,value:n,location:p,style:h},err:null}}}return{val:{type:o==="number"?ze.number:o==="date"?ze.date:ze.time,value:n,location:p,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(he.EXPECT_SELECT_ARGUMENT_OPTIONS,me(v,Dn({},v)));this.bumpSpace();var T=this.parseIdentifierIfPossible(),M=0;if(o!=="select"&&T.value==="offset"){if(!this.bumpIf(":"))return this.error(he.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,me(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(he.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,he.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),T=this.parseIdentifierIfPossible(),M=d.val}var B=this.tryParsePluralOrSelectOptions(t,o,r,T);if(B.err)return B;var g=this.tryParseArgumentClose(i);if(g.err)return g;var F=me(i,this.clonePosition());return o==="select"?{val:{type:ze.select,value:n,options:Ia(B.val),location:F},err:null}:{val:{type:ze.plural,value:n,options:Ia(B.val),offset:M,pluralType:o==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(he.INVALID_ARGUMENT_TYPE,me(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=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(he.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,me(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=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}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=$0(t)}catch(i){return this.error(he.INVALID_NUMBER_SKELETON,r)}return{val:{type:Fr.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?nu(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,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(he.EXPECT_PLURAL_ARGUMENT_SELECTOR,he.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=me(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?he.DUPLICATE_SELECT_ARGUMENT_SELECTOR:he.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?he.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:he.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,me(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var p=this.tryParseArgumentClose(b);if(p.err)return p;o.push([u,{value:g.val,location:me(b,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(r==="select"?he.EXPECT_SELECT_ARGUMENT_SELECTOR:he.EXPECT_PLURAL_ARGUMENT_SELECTOR,me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(he.MISSING_OTHER_CLAUSE,me(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,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=me(i,this.clonePosition());return a?(s*=n,pu(s)?{val:s,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=No(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ua(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Uo(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Di(e){return e>=97&&e<=122||e>=65&&e<=90}function Cu(e){return Di(e)||e===47}function vu(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Uo(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function wu(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ei(e){e.forEach(function(t){if(delete t.location,Lo(t)||Mo(t))for(var r in t.options)delete t.options[r].location,Ei(t.options[r].value);else xo(t)&&Ao(t.style)||(Do(t)||Eo(t))&&ki(t.style)?delete t.style.location:Ro(t)&&Ei(t.children)})}function Tu(e,t){t===void 0&&(t={}),t=Dn({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new yu(e,t).parse();if(r.err){var n=SyntaxError(he[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ei(r.val),r.val}var Or;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Or||(Or={}));var jn=function(e){In(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ga=function(e){In(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Or.INVALID_VALUE,a)||this}return t}(jn),ku=function(e){In(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Or.INVALID_VALUE,i)||this}return t}(jn),Su=function(e){In(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Or.MISSING_VALUE,n)||this}return t}(jn),ot;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ot||(ot={}));function Pu(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==ot.literal||r.type!==ot.literal?t.push(r):n.value+=r.value,t},[])}function xu(e){return typeof e=="function"}function wn(e,t,r,n,i,a,s){if(e.length===1&&za(e[0]))return[{type:ot.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var f=u[l];if(za(f)){o.push({type:ot.literal,value:f.value});continue}if(Z0(f)){typeof a=="number"&&o.push({type:ot.literal,value:r.getNumberFormat(t).format(a)});continue}var d=f.value;if(!(i&&d in i))throw new Su(d,s);var h=i[d];if(J0(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(Do(f)){var b=typeof f.style=="string"?n.date[f.style]:ki(f.style)?f.style.parsedOptions:void 0;o.push({type:ot.literal,value:r.getDateTimeFormat(t,b).format(h)});continue}if(Eo(f)){var b=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(t,b).format(h)});continue}if(xo(f)){var b=typeof f.style=="string"?n.number[f.style]:Ao(f.style)?f.style.parsedOptions:void 0;b&&b.scale&&(h=h*(b.scale||1)),o.push({type:ot.literal,value:r.getNumberFormat(t,b).format(h)});continue}if(Ro(f)){var g=f.children,p=f.value,w=i[p];if(!xu(w))throw new ku(p,"function",s);var k=wn(g,t,r,n,i,a),L=w(k.map(function(M){return M.value}));Array.isArray(L)||(L=[L]),o.push.apply(o,L.map(function(M){return{type:typeof M=="string"?ot.literal:ot.object,value:M}}))}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,t,r,n,i));continue}if(Mo(f)){var v=f.options["=".concat(h)];if(!v){if(!Intl.PluralRules)throw new jn(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var r0=Object.defineProperty,n0=Object.defineProperties;var i0=Object.getOwnPropertyDescriptors;var La=Object.getOwnPropertySymbols;var a0=Object.prototype.hasOwnProperty,s0=Object.prototype.propertyIsEnumerable;var li=(e,t,r)=>t in e?r0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nr=(e,t)=>{for(var r in t||(t={}))a0.call(t,r)&&li(e,r,t[r]);if(La)for(var r of La(t))s0.call(t,r)&&li(e,r,t[r]);return e},Ma=(e,t)=>n0(e,i0(t));var wt=(e,t,r)=>(li(e,typeof t!="symbol"?t+"":t,r),r);var Gr=(e,t,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(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Q(){}function qt(e,t){for(const r in t)e[r]=t[r];return e}function yo(e){return e()}function Ra(){return Object.create(null)}function At(e){e.forEach(yo)}function Kt(e){return typeof e=="function"}function je(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let mn;function We(e,t){return e===t?!0:(mn||(mn=document.createElement("a")),mn.href=t,e===mn.href)}function o0(e){return Object.keys(e).length===0}function Co(e,...t){if(e==null){for(const n of t)n(void 0);return Q}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function _t(e,t,r){e.$$.on_destroy.push(Co(t,r))}function l0(e,t,r,n){if(e){const i=wo(e,t,r,n);return e[0](i)}}function wo(e,t,r,n){return e[1]&&n?qt(r.ctx.slice(),e[1](n(t))):r.ctx}function u0(e,t,r,n){if(e[2]&&n){const i=e[2](n(r));if(t.dirty===void 0)return i;if(typeof i=="object"){const a=[],s=Math.max(t.dirty.length,i.length);for(let o=0;o<s;o+=1)a[o]=t.dirty[o]|i[o];return a}return t.dirty|i}return t.dirty}function c0(e,t,r,n,i,a){if(i){const s=wo(t,r,n,a);e.p(s,i)}}function f0(e){if(e.ctx.length>32){const t=[],r=e.ctx.length/32;for(let n=0;n<r;n++)t[n]=-1;return t}return-1}function Aa(e){const t={};for(const r in e)r[0]!=="$"&&(t[r]=e[r]);return t}function $t(e){return e&&Kt(e.destroy)?e.destroy:Q}function m(e,t){e.appendChild(t)}function on(e,t,r){const n=d0(e);if(!n.getElementById(t)){const i=_("style");i.id=t,i.textContent=r,h0(n,i)}}function d0(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function h0(e,t){return m(e.head||e,t),t.sheet}function C(e,t,r){e.insertBefore(t,r||null)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function ft(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function _(e){return document.createElement(e)}function $e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function O(e){return document.createTextNode(e)}function U(){return O(" ")}function Se(){return O("")}function et(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function c(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function m0(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function Mt(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function pn(e,t,r){e.classList.toggle(t,!!r)}function p0(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Lr(e,t){return new e(t)}let $r;function Xr(e){$r=e}function vo(){if(!$r)throw new Error("Function called outside component initialization");return $r}function Ft(e){vo().$$.on_mount.push(e)}const Tr=[],en=[];let Pr=[];const Fa=[],g0=Promise.resolve();let wi=!1;function b0(){wi||(wi=!0,g0.then(D))}function vi(e){Pr.push(e)}const ui=new Set;let Cr=0;function D(){if(Cr!==0)return;const e=$r;do{try{for(;Cr<Tr.length;){const t=Tr[Cr];Cr++,Xr(t),_0(t.$$)}}catch(t){throw Tr.length=0,Cr=0,t}for(Xr(null),Tr.length=0,Cr=0;en.length;)en.pop()();for(let t=0;t<Pr.length;t+=1){const r=Pr[t];ui.has(r)||(ui.add(r),r())}Pr.length=0}while(Tr.length);for(;Fa.length;)Fa.pop()();wi=!1,ui.clear(),Xr(e)}function _0(e){if(e.fragment!==null){e.update(),At(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(vi)}}function y0(e){const t=[],r=[];Pr.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Pr=t}const Cn=new Set;let pr;function ut(){pr={r:0,c:[],p:pr}}function ct(){pr.r||At(pr.c),pr=pr.p}function se(e,t){e&&e.i&&(Cn.delete(e),e.i(t))}function ke(e,t,r,n){if(e&&e.o){if(Cn.has(e))return;Cn.add(e),pr.c.push(()=>{Cn.delete(e),n&&(r&&e.d(1),n())}),e.o(t)}else n&&n()}function xe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Mr(e,t){const r={},n={},i={$$scope:1};let a=e.length;for(;a--;){const s=e[a],o=t[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);e[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 Rr(e){return typeof e=="object"&&e!==null?e:{}}function lr(e){e&&e.c()}function Jt(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),vi(()=>{const a=e.$$.on_mount.map(yo).filter(Kt);e.$$.on_destroy?e.$$.on_destroy.push(...a):At(a),e.$$.on_mount=[]}),i.forEach(vi)}function Zt(e,t){const r=e.$$;r.fragment!==null&&(y0(r.after_update),At(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function C0(e,t){e.$$.dirty[0]===-1&&(Tr.push(e),b0(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ve(e,t,r,n,i,a,s=null,o=[-1]){const l=$r;Xr(e);const u=e.$$={fragment:null,ctx:[],props:a,update:Q,not_equal:i,bound:Ra(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Ra(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(d,h,...b)=>{const g=b.length?b[0]:h;return u.ctx&&i(u.ctx[d],u.ctx[d]=g)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](g),f&&C0(e,d)),h}):[],u.update(),f=!0,At(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const d=m0(t.target);u.fragment&&u.fragment.l(d),d.forEach(y)}else u.fragment&&u.fragment.c();t.intro&&se(e.$$.fragment),Jt(e,t.target,t.anchor),D()}Xr(l)}let To;typeof HTMLElement=="function"&&(To=class extends HTMLElement{constructor(t,r,n){super();wt(this,"$$ctor");wt(this,"$$s");wt(this,"$$c");wt(this,"$$cn",!1);wt(this,"$$d",{});wt(this,"$$r",!1);wt(this,"$$p_d",{});wt(this,"$$l",{});wt(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Gr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let s;return{c:function(){s=_("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=p0(this);for(const a of this.$$s)a in n&&(r[a]=[t(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=wn(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(nr({},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=wn(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(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=wn(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function wn(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function qe(e,t,r,n,i,a){let s=class extends To{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).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=wn(o,l,t),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]}})}),e.element=s,s}class Je{constructor(){wt(this,"$$");wt(this,"$$set")}$destroy(){Zt(this,1),this.$destroy=Q}$on(t,r){if(!Kt(r))return Q;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!o0(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const w0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(w0);const wr=[];function v0(e,t){return{subscribe:Un(e,t).subscribe}}function Un(e,t=Q){let r;const n=new Set;function i(o){if(je(e,o)&&(e=o,r)){const l=!wr.length;for(const u of n)u[1](),wr.push(u,e);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(e))}function s(o,l=Q){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,a)||Q),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:s}}function Br(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return v0(r,(s,o)=>{let l=!1;const u=[];let f=0,d=Q;const h=()=>{if(f)return;d();const g=t(n?u[0]:u,s,o);a?s(g):d=Kt(g)?g:Q},b=i.map((g,p)=>Co(g,v=>{u[p]=v,f&=~(1<<p),l&&h()},()=>{f|=1<<p}));return l=!0,h(),function(){At(b),d(),l=!1}})}var T0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function k0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S0=function(t){return P0(t)&&!x0(t)};function P0(e){return!!e&&typeof e=="object"}function x0(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||L0(e)}var D0=typeof Symbol=="function"&&Symbol.for,E0=D0?Symbol.for("react.element"):60103;function L0(e){return e.$$typeof===E0}function M0(e){return Array.isArray(e)?[]:{}}function tn(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ar(M0(e),e,t):e}function R0(e,t,r){return e.concat(t).map(function(n){return tn(n,r)})}function A0(e,t){if(!t.customMerge)return Ar;var r=t.customMerge(e);return typeof r=="function"?r:Ar}function F0(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Oa(e){return Object.keys(e).concat(F0(e))}function ko(e,t){try{return t in e}catch(r){return!1}}function O0(e,t){return ko(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function z0(e,t,r){var n={};return r.isMergeableObject(e)&&Oa(e).forEach(function(i){n[i]=tn(e[i],r)}),Oa(t).forEach(function(i){O0(e,i)||(ko(e,i)&&r.isMergeableObject(t[i])?n[i]=A0(i,r)(e[i],t[i],r):n[i]=tn(t[i],r))}),n}function Ar(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||R0,r.isMergeableObject=r.isMergeableObject||S0,r.cloneUnlessOtherwiseSpecified=tn;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):z0(e,t,r):tn(t,r)}Ar.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ar(n,i,r)},{})};var B0=Ar,N0=B0;const H0=k0(N0);var Ti=function(e,t){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(e,t)};function In(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ti(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Et=function(){return Et=Object.assign||function(t){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)&&(t[a]=r[a])}return t},Et.apply(this,arguments)};function U0(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function ci(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function fi(e,t){var r=t&&t.cache?t.cache:q0,n=t&&t.serializer?t.serializer:W0,i=t&&t.strategy?t.strategy:G0;return i(e,{cache:r,serializer:n})}function I0(e){return e==null||typeof e=="number"||typeof e=="boolean"}function j0(e,t,r,n){var i=I0(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function So(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,n),t.set(i,a)),a}function Po(e,t,r,n,i){return r.bind(t,e,n,i)}function G0(e,t){var r=e.length===1?j0:So;return Po(e,this,r,t.cache.create(),t.serializer)}function Y0(e,t){return Po(e,this,So,t.cache.create(),t.serializer)}var W0=function(){return JSON.stringify(arguments)},V0=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),q0={create:function(){return new V0}},di={variadic:Y0},Dn=function(){return Dn=Object.assign||function(t){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)&&(t[a]=r[a])}return t},Dn.apply(this,arguments)};var he;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(he||(he={}));var ze;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(ze||(ze={}));var Fr;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Fr||(Fr={}));function za(e){return e.type===ze.literal}function J0(e){return e.type===ze.argument}function xo(e){return e.type===ze.number}function Do(e){return e.type===ze.date}function Eo(e){return e.type===ze.time}function Lo(e){return e.type===ze.select}function Mo(e){return e.type===ze.plural}function Z0(e){return e.type===ze.pound}function Ro(e){return e.type===ze.tag}function Ao(e){return!!(e&&typeof e=="object"&&e.type===Fr.number)}function ki(e){return!!(e&&typeof e=="object"&&e.type===Fr.dateTime)}var Fo=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,X0=/(?:[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 Q0(e){var t={};return e.replace(X0,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.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":t.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":t.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":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.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":t.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""}),t}var He=function(){return He=Object.assign||function(t){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)&&(t[a]=r[a])}return t},He.apply(this,arguments)};var K0=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function $0(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(K0).filter(function(h){return h.length>0}),r=[],n=0,i=t;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 eu(e){return e.replace(/^(.*?)-/,"")}var Ba=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Oo=/^(@+)?(\+|#+)?[rs]?$/g,tu=/(\*)(0+)|(#+)(0+)|(0+)/g,zo=/^(0+)$/;function Na(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Oo,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Bo(e){switch(e){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 ru(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!zo.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ha(e){var t={},r=Bo(e);return r||t}function nu(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=eu(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=He(He(He({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return He(He({},l),Ha(u))},{}));continue;case"engineering":t=He(He(He({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return He(He({},l),Ha(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.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(tu,function(l,u,f,d,h,b){if(u)t.minimumIntegerDigits=f.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(zo.test(i.stem)){t.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,b){return f==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:h&&b?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+b.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=He(He({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=He(He({},t),Na(a)));continue}if(Oo.test(i.stem)){t=He(He({},t),Na(i.stem));continue}var s=Bo(i.stem);s&&(t=He(He({},t),s));var o=ru(i.stem);o&&(t=He(He({},t),o))}return t}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 iu(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=au(t);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 au(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=gn[n||""]||gn[r||""]||gn["".concat(r,"-001")]||gn["001"];return i[0]}var hi,su=new RegExp("^".concat(Fo.source,"*")),ou=new RegExp("".concat(Fo.source,"*$"));function me(e,t){return{start:e,end:t}}var lu=!!String.prototype.startsWith&&"_a".startsWith("a",1),uu=!!String.fromCodePoint,cu=!!Object.fromEntries,fu=!!String.prototype.codePointAt,du=!!String.prototype.trimStart,hu=!!String.prototype.trimEnd,mu=!!Number.isSafeInteger,pu=mu?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Si=!0;try{var gu=Ho("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Si=((hi=gu.exec("a"))===null||hi===void 0?void 0:hi[0])==="a"}catch(e){Si=!1}var Ua=lu?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Pi=uu?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,s;i>a;){if(s=t[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=cu?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},No=fu?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},bu=du?function(t){return t.trimStart()}:function(t){return t.replace(su,"")},_u=hu?function(t){return t.trimEnd()}:function(t){return t.replace(ou,"")};function Ho(e,t){return new RegExp(e,t)}var xi;if(Si){var ja=Ho("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xi=function(t,r){var n;ja.lastIndex=r;var i=ja.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else xi=function(t,r){for(var n=[];;){var i=No(t,r);if(i===void 0||Uo(i)||vu(i))break;n.push(i),r+=i>=65536?2:1}return Pi.apply(void 0,n)};var yu=function(){function e(t,r){r===void 0&&(r={}),this.message=t,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 e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:ze.pound,location:me(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(he.UNMATCHED_CLOSING_TAG,me(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Di(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,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:me(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+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(he.INVALID_TAG,me(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(he.UNMATCHED_CLOSING_TAG,me(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ze.tag,value:i,children:s,location:me(n,this.clonePosition())},err:null}:this.error(he.INVALID_TAG,me(o,this.clonePosition())))}else return this.error(he.UNCLOSED_TAG,me(n,this.clonePosition()))}else return this.error(he.INVALID_TAG,me(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&wu(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=me(n,this.clonePosition());return{val:{type:ze.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Cu(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){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(t==="plural"||t==="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)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Pi(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(he.EMPTY_ARGUMENT,me(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(he.MALFORMED_ARGUMENT,me(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ze.argument,value:i,location:me(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(he.MALFORMED_ARGUMENT,me(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=xi(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=me(t,a);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(he.EXPECT_ARGUMENT_TYPE,me(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=_u(d.val);if(h.length===0)return this.error(he.EXPECT_ARGUMENT_STYLE,me(this.clonePosition(),this.clonePosition()));var b=me(f,this.clonePosition());u={style:h,styleLocation:b}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var p=me(i,this.clonePosition());if(u&&Ua(u==null?void 0:u.style,"::",0)){var v=bu(u.style.slice(2));if(o==="number"){var d=this.parseNumberSkeletonFromString(v,u.styleLocation);return d.err?d:{val:{type:ze.number,value:n,location:p,style:d.val},err:null}}else{if(v.length===0)return this.error(he.EXPECT_DATE_TIME_SKELETON,p);var k=v;this.locale&&(k=iu(v,this.locale));var h={type:Fr.dateTime,pattern:k,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Q0(k):{}},L=o==="date"?ze.date:ze.time;return{val:{type:L,value:n,location:p,style:h},err:null}}}return{val:{type:o==="number"?ze.number:o==="date"?ze.date:ze.time,value:n,location:p,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(he.EXPECT_SELECT_ARGUMENT_OPTIONS,me(w,Dn({},w)));this.bumpSpace();var T=this.parseIdentifierIfPossible(),M=0;if(o!=="select"&&T.value==="offset"){if(!this.bumpIf(":"))return this.error(he.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,me(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(he.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,he.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),T=this.parseIdentifierIfPossible(),M=d.val}var B=this.tryParsePluralOrSelectOptions(t,o,r,T);if(B.err)return B;var g=this.tryParseArgumentClose(i);if(g.err)return g;var F=me(i,this.clonePosition());return o==="select"?{val:{type:ze.select,value:n,options:Ia(B.val),location:F},err:null}:{val:{type:ze.plural,value:n,options:Ia(B.val),offset:M,pluralType:o==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(he.INVALID_ARGUMENT_TYPE,me(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(he.EXPECT_ARGUMENT_CLOSING_BRACE,me(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=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(he.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,me(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=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}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=$0(t)}catch(i){return this.error(he.INVALID_NUMBER_SKELETON,r)}return{val:{type:Fr.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?nu(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,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(he.EXPECT_PLURAL_ARGUMENT_SELECTOR,he.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=me(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?he.DUPLICATE_SELECT_ARGUMENT_SELECTOR:he.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?he.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:he.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,me(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var p=this.tryParseArgumentClose(b);if(p.err)return p;o.push([u,{value:g.val,location:me(b,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(r==="select"?he.EXPECT_SELECT_ARGUMENT_SELECTOR:he.EXPECT_PLURAL_ARGUMENT_SELECTOR,me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(he.MISSING_OTHER_CLAUSE,me(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,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=me(i,this.clonePosition());return a?(s*=n,pu(s)?{val:s,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=No(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ua(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Uo(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Di(e){return e>=97&&e<=122||e>=65&&e<=90}function Cu(e){return Di(e)||e===47}function wu(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Uo(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function vu(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ei(e){e.forEach(function(t){if(delete t.location,Lo(t)||Mo(t))for(var r in t.options)delete t.options[r].location,Ei(t.options[r].value);else xo(t)&&Ao(t.style)||(Do(t)||Eo(t))&&ki(t.style)?delete t.style.location:Ro(t)&&Ei(t.children)})}function Tu(e,t){t===void 0&&(t={}),t=Dn({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new yu(e,t).parse();if(r.err){var n=SyntaxError(he[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ei(r.val),r.val}var Or;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Or||(Or={}));var jn=function(e){In(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ga=function(e){In(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Or.INVALID_VALUE,a)||this}return t}(jn),ku=function(e){In(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Or.INVALID_VALUE,i)||this}return t}(jn),Su=function(e){In(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Or.MISSING_VALUE,n)||this}return t}(jn),ot;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ot||(ot={}));function Pu(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==ot.literal||r.type!==ot.literal?t.push(r):n.value+=r.value,t},[])}function xu(e){return typeof e=="function"}function vn(e,t,r,n,i,a,s){if(e.length===1&&za(e[0]))return[{type:ot.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var f=u[l];if(za(f)){o.push({type:ot.literal,value:f.value});continue}if(Z0(f)){typeof a=="number"&&o.push({type:ot.literal,value:r.getNumberFormat(t).format(a)});continue}var d=f.value;if(!(i&&d in i))throw new Su(d,s);var h=i[d];if(J0(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(Do(f)){var b=typeof f.style=="string"?n.date[f.style]:ki(f.style)?f.style.parsedOptions:void 0;o.push({type:ot.literal,value:r.getDateTimeFormat(t,b).format(h)});continue}if(Eo(f)){var b=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(t,b).format(h)});continue}if(xo(f)){var b=typeof f.style=="string"?n.number[f.style]:Ao(f.style)?f.style.parsedOptions:void 0;b&&b.scale&&(h=h*(b.scale||1)),o.push({type:ot.literal,value:r.getNumberFormat(t,b).format(h)});continue}if(Ro(f)){var g=f.children,p=f.value,v=i[p];if(!xu(v))throw new ku(p,"function",s);var k=vn(g,t,r,n,i,a),L=v(k.map(function(M){return M.value}));Array.isArray(L)||(L=[L]),o.push.apply(o,L.map(function(M){return{type:typeof M=="string"?ot.literal:ot.object,value:M}}))}if(Lo(f)){var w=f.options[h]||f.options.other;if(!w)throw new Ga(f.value,h,Object.keys(f.options),s);o.push.apply(o,vn(w.value,t,r,n,i));continue}if(Mo(f)){var w=f.options["=".concat(h)];if(!w){if(!Intl.PluralRules)throw new jn(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,Or.MISSING_INTL_API,s);var T=r.getPluralRules(t,{type:f.pluralType}).select(h-(f.offset||0));
|
|
3
|
+
`,Or.MISSING_INTL_API,s);var T=r.getPluralRules(t,{type:f.pluralType}).select(h-(f.offset||0));w=f.options[T]||f.options.other}if(!w)throw new Ga(f.value,h,Object.keys(f.options),s);o.push.apply(o,vn(w.value,t,r,n,i,h-(f.offset||0)));continue}}return Pu(o)}function Du(e,t){return t?Et(Et(Et({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Et(Et({},e[n]),t[n]||{}),r},{})):e}function Eu(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Du(e[n],t[n]),r},Et({},e)):e}function mi(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Lu(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:fi(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ci([void 0],r,!1)))},{cache:mi(e.number),strategy:di.variadic}),getDateTimeFormat:fi(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ci([void 0],r,!1)))},{cache:mi(e.dateTime),strategy:di.variadic}),getPluralRules:fi(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ci([void 0],r,!1)))},{cache:mi(e.pluralRules),strategy:di.variadic})}}var Io=function(){function e(t,r,n,i){r===void 0&&(r=e.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 vn(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=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var o=U0(s,["formatters"]);this.ast=e.__parse(t,Et(Et({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Eu(e.formats,n),this.formatters=i&&i.formatters||Lu(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Tu,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Mu(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;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 ir={},Ru=(e,t,r)=>r&&(t in ir||(ir[t]={}),e in ir[t]||(ir[t][e]=r),r),jo=(e,t)=>{if(t==null)return;if(t in ir&&e in ir[t])return ir[t][e];const r=ln(t);for(let n=0;n<r.length;n++){const i=r[n],a=Fu(i,e);if(a)return Ru(e,t,a)}};let oa;const Nr=Un({});function Au(e){return oa[e]||null}function Go(e){return e in oa}function Fu(e,t){if(!Go(e))return null;const r=Au(e);return Mu(r,t)}function Ou(e){if(e==null)return;const t=ln(e);for(let r=0;r<t.length;r++){const n=t[r];if(Go(n))return n}}function Yo(e,...t){delete ir[e],Nr.update(r=>(r[e]=H0.all([r[e]||{},...t]),r))}Br([Nr],([e])=>Object.keys(e));Nr.subscribe(e=>oa=e);const Tn={};function zu(e,t){Tn[e].delete(t),Tn[e].size===0&&delete Tn[e]}function Wo(e){return Tn[e]}function Bu(e){return ln(e).map(t=>{const r=Wo(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function En(e){return e==null?!1:ln(e).some(t=>{var r;return(r=Wo(t))==null?void 0:r.size})}function Nu(e,t){return Promise.all(t.map(n=>(zu(e,n),n().then(i=>i.default||i)))).then(n=>Yo(e,...n))}const Yr={};function Vo(e){if(!En(e))return e in Yr?Yr[e]:Promise.resolve();const t=Bu(e);return Yr[e]=Promise.all(t.map(([r,n])=>Nu(r,n))).then(()=>{if(En(e))return Vo(e);delete Yr[e]}),Yr[e]}var Ya=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,Uu=Object.prototype.propertyIsEnumerable,Iu=(e,t)=>{var r={};for(var n in e)Hu.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ya)for(var n of Ya(e))t.indexOf(n)<0&&Uu.call(e,n)&&(r[n]=e[n]);return r};const ju={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 Gu({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${ln(e).join('", "')}".${En(ur())?`
|
|
4
4
|
|
|
5
5
|
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Yu={fallbackLocale:null,loadingDelay:200,formats:ju,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Jr=Yu;function zr(){return Jr}function er(e){const t=e,{formats:r}=t,n=Iu(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Io.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(a){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=Gu:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Jr,n,{initialLocale:i}),r&&("number"in r&&Object.assign(Jr.formats.number,r.number),"date"in r&&Object.assign(Jr.formats.date,r.date),"time"in r&&Object.assign(Jr.formats.time,r.time)),Xt.set(i)}const pi=Un(!1);var Wu=Object.defineProperty,Vu=Object.defineProperties,qu=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,Ju=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable,Va=(e,t,r)=>t in e?Wu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xu=(e,t)=>{for(var r in t||(t={}))Ju.call(t,r)&&Va(e,r,t[r]);if(Wa)for(var r of Wa(t))Zu.call(t,r)&&Va(e,r,t[r]);return e},Qu=(e,t)=>Vu(e,qu(t));let Li;const Ln=Un(null);function qa(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ln(e,t=zr().fallbackLocale){const r=qa(e);return t?[...new Set([...r,...qa(t)])]:r}function ur(){return Li!=null?Li:void 0}Ln.subscribe(e=>{Li=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ku=e=>{if(e&&Ou(e)&&En(e)){const{loadingDelay:t}=zr();let r;return typeof window!="undefined"&&ur()!=null&&t?r=window.setTimeout(()=>pi.set(!0),t):pi.set(!0),Vo(e).then(()=>{Ln.set(e)}).finally(()=>{clearTimeout(r),pi.set(!1)})}return Ln.set(e)},Xt=Qu(Xu({},Ln),{set:Ku}),Gn=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var $u=Object.defineProperty,Mn=Object.getOwnPropertySymbols,qo=Object.prototype.hasOwnProperty,Jo=Object.prototype.propertyIsEnumerable,Ja=(e,t,r)=>t in e?$u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,la=(e,t)=>{for(var r in t||(t={}))qo.call(t,r)&&Ja(e,r,t[r]);if(Mn)for(var r of Mn(t))Jo.call(t,r)&&Ja(e,r,t[r]);return e},Hr=(e,t)=>{var r={};for(var n in e)qo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Mn)for(var n of Mn(e))t.indexOf(n)<0&&Jo.call(e,n)&&(r[n]=e[n]);return r};const rn=(e,t)=>{const{formats:r}=zr();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},e2=Gn(e=>{var t=e,{locale:r,format:n}=t,i=Hr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=rn("number",n)),new Intl.NumberFormat(r,i)}),t2=Gn(e=>{var t=e,{locale:r,format:n}=t,i=Hr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=rn("date",n):Object.keys(i).length===0&&(i=rn("date","short")),new Intl.DateTimeFormat(r,i)}),r2=Gn(e=>{var t=e,{locale:r,format:n}=t,i=Hr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=rn("time",n):Object.keys(i).length===0&&(i=rn("time","short")),new Intl.DateTimeFormat(r,i)}),n2=(e={})=>{var t=e,{locale:r=ur()}=t,n=Hr(t,["locale"]);return e2(la({locale:r},n))},i2=(e={})=>{var t=e,{locale:r=ur()}=t,n=Hr(t,["locale"]);return t2(la({locale:r},n))},a2=(e={})=>{var t=e,{locale:r=ur()}=t,n=Hr(t,["locale"]);return r2(la({locale:r},n))},s2=Gn((e,t=ur())=>new Io(e,t,zr().formats,{ignoreTag:zr().ignoreTag})),o2=(e,t={})=>{var r,n,i,a;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:o,locale:l=ur(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=jo(e,l);if(!f)f=(a=(i=(n=(r=zr()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?a:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" 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=s2(f,l).format(o)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return d},l2=(e,t)=>a2(t).format(e),u2=(e,t)=>i2(t).format(e),c2=(e,t)=>n2(t).format(e),f2=(e,t=ur())=>jo(e,t),yt=Br([Xt,Nr],()=>o2);Br([Xt],()=>l2);Br([Xt],()=>u2);Br([Xt],()=>c2);Br([Xt,Nr],()=>f2);function d2({withLocale:e,translations:t}){Xt.subscribe(r=>{r==null&&(Nr.set(t),Xt.set(e))})}function Za(e,t){Yo(e,t)}function bt(e){Xt.set(e)}/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -17,15 +17,15 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
17
17
|
PERFORMANCE OF THIS SOFTWARE.
|
|
18
18
|
***************************************************************************** */var Mi=function(e,t){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(e,t)};function un(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Mi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Ri(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ai(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],s;try{for(;(t===void 0||t-- >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(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||t)}function Wt(e){return typeof e=="function"}function Zo(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var gi=Zo(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
19
19
|
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
20
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function Oi(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Yn=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,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(p){t={error:p}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(Wt(f))try{f()}catch(p){a=p instanceof gi?p.errors:[p]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var h=Ri(d),b=h.next();!b.done;b=h.next()){var g=b.value;try{Xa(g)}catch(p){a=a!=null?a:[],p instanceof gi?a=Fi(Fi([],Ai(a)),Ai(p.errors)):a.push(p)}}}catch(p){n={error:p}}finally{try{b&&!b.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}if(a)throw new gi(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Xa(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Oi(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Oi(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Xo=Yn.EMPTY;function Qo(e){return e instanceof Yn||e&&"closed"in e&&Wt(e.remove)&&Wt(e.add)&&Wt(e.unsubscribe)}function Xa(e){Wt(e)?e():e.unsubscribe()}var h2={Promise:void 0},m2={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Fi([e,t],Ai(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function p2(e){m2.setTimeout(function(){throw e})}function Qa(){}function kn(e){e()}var Ko=function(e){un(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Qo(r)&&r.add(n)):n.destination=_2,n}return t.create=function(r,n,i){return new zi(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Yn),g2=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){bn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){bn(n)}else bn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){bn(r)}},e}(),zi=function(e){un(t,e);function t(r,n,i){var a=e.call(this)||this,s;return Wt(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 g2(s),a}return t}(Ko);function bn(e){p2(e)}function b2(e){throw e}var _2={closed:!0,next:Qa,error:b2,complete:Qa},y2=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function C2(e){return e}function
|
|
20
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function Oi(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Yn=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,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(p){t={error:p}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(Wt(f))try{f()}catch(p){a=p instanceof gi?p.errors:[p]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var h=Ri(d),b=h.next();!b.done;b=h.next()){var g=b.value;try{Xa(g)}catch(p){a=a!=null?a:[],p instanceof gi?a=Fi(Fi([],Ai(a)),Ai(p.errors)):a.push(p)}}}catch(p){n={error:p}}finally{try{b&&!b.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}if(a)throw new gi(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Xa(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Oi(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Oi(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Xo=Yn.EMPTY;function Qo(e){return e instanceof Yn||e&&"closed"in e&&Wt(e.remove)&&Wt(e.add)&&Wt(e.unsubscribe)}function Xa(e){Wt(e)?e():e.unsubscribe()}var h2={Promise:void 0},m2={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Fi([e,t],Ai(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function p2(e){m2.setTimeout(function(){throw e})}function Qa(){}function kn(e){e()}var Ko=function(e){un(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Qo(r)&&r.add(n)):n.destination=_2,n}return t.create=function(r,n,i){return new zi(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Yn),g2=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){bn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){bn(n)}else bn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){bn(r)}},e}(),zi=function(e){un(t,e);function t(r,n,i){var a=e.call(this)||this,s;return Wt(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 g2(s),a}return t}(Ko);function bn(e){p2(e)}function b2(e){throw e}var _2={closed:!0,next:Qa,error:b2,complete:Qa},y2=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function C2(e){return e}function w2(e){return e.length===0?C2:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ka=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,a=T2(t)?t:new zi(t,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},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=$a(r),new r(function(i,a){var s=new zi({next:function(o){try{t(o)}catch(l){a(l),s.unsubscribe()}},error:a,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[y2]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return w2(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=$a(t),new t(function(n,i){var a;r.subscribe(function(s){return a=s},function(s){return i(s)},function(){return n(a)})})},e.create=function(t){return new e(t)},e}();function $a(e){var t;return(t=e!=null?e:h2.Promise)!==null&&t!==void 0?t:Promise}function v2(e){return e&&Wt(e.next)&&Wt(e.error)&&Wt(e.complete)}function T2(e){return e&&e instanceof Ko||v2(e)&&Qo(e)}var k2=Zo(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),$o=function(e){un(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new es(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new k2},t.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}}}})},t.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)}})},t.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()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,s=i.isStopped,o=i.observers;return a||s?Xo:(this.currentObservers=null,o.push(r),new Yn(function(){n.currentObservers=null,Oi(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,s=n.isStopped;i?r.error(a):s&&r.complete()},t.prototype.asObservable=function(){var r=new Ka;return r.source=this,r},t.create=function(r,n){return new es(r,n)},t}(Ka),es=function(e){un(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.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)},t.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)},t.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)},t.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:Xo},t}($o),el={now:function(){return(el.delegate||Date).now()},delegate:void 0},S2=function(e){un(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=el);var a=e.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 t.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(),e.prototype.next.call(this,r)},t.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},t.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)}},t}($o);const ts=[],rs={},P2=(e,t=0)=>{if(ts.indexOf(e)==-1){const r=new S2(t);rs[e]=r,ts.push(e)}return rs[e]};window.emWidgets={topic:P2};const Wn=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Vn=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";var Bi={exports:{}};/** @license
|
|
21
21
|
* eventsource.js
|
|
22
22
|
* Available under MIT License (MIT)
|
|
23
23
|
* https://github.com/Yaffle/EventSource/
|
|
24
|
-
*/(function(e,t){(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,b=r.TextDecoder,g=r.TextEncoder,p=r.AbortController;if(typeof window!="undefined"&&typeof u!="undefined"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(S){u.readyState="complete"},!1)),a==null&&o!=null&&(a=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(S){function H(){}return H.prototype=S,new H}),Date.now||(Date.now=function(){return new Date().getTime()}),p==null){var
|
|
25
|
-
`),z=0;z<q.length;z+=1){var ie=q[z],X=ie.split(": "),oe=X.shift(),x=X.join(": ");H[M(oe)]=x}this._map=H}B.prototype.get=function(S){return this._map[M(S)]},a!=null&&a.HEADERS_RECEIVED==null&&(a.HEADERS_RECEIVED=2);function F(){}F.prototype.open=function(S,H,q,z,ie,X,oe){S.open("GET",ie);var x=0;S.onprogress=function(){var ee=S.responseText,ae=ee.slice(x);x+=ae.length,q(ae)},S.onerror=function(ee){ee.preventDefault(),z(new Error("NetworkError"))},S.onload=function(){z(null)},S.onabort=function(){z(null)},S.onreadystatechange=function(){if(S.readyState===a.HEADERS_RECEIVED){var ee=S.status,ae=S.statusText,J=S.getResponseHeader("Content-Type"),le=S.getAllResponseHeaders();H(ee,ae,J,new B(le))}},S.withCredentials=X;for(var Z in oe)Object.prototype.hasOwnProperty.call(oe,Z)&&S.setRequestHeader(Z,oe[Z]);return S.send(),S};function Y(S){this._headers=S}Y.prototype.get=function(S){return this._headers.get(S)};function E(){}E.prototype.open=function(S,H,q,z,ie,X,oe){var x=null,Z=new p,ee=Z.signal,ae=new b;return d(ie,{headers:oe,credentials:X?"include":"same-origin",signal:ee,cache:"no-store"}).then(function(J){return x=J.body.getReader(),H(J.status,J.statusText,J.headers.get("Content-Type"),new Y(J.headers)),new f(function(le,Ue){var Nt=function(){x.read().then(function(P){if(P.done)le(void 0);else{var te=ae.decode(P.value,{stream:!0});q(te),Nt()}}).catch(function(P){Ue(P)})};Nt()})}).catch(function(J){if(J.name!=="AbortError")return J}).then(function(J){z(J)}),{abort:function(){x!=null&&x.cancel(),Z.abort()}}};function N(){this._listeners=Object.create(null)}function
|
|
26
|
-
`,ye+=Ut):Ht==="id"?Ae=Ut:Ht==="event"?dt=Ut:Ht==="retry"?(X=Ge(Ut,X),Z=X):Ht==="heartbeatTimeout"&&(oe=Ge(Ut,oe),te!==0&&(i(te),te=n(function(){jr()},oe)))}if(at===$){if(ye!==""){x=Ae,dt===""&&(dt="message");var yr=new Me(dt,{data:ye.slice(1),lastEventId:Ae});if(S.dispatchEvent(yr),dt==="open"?it(S,S.onopen,yr):dt==="message"?it(S,S.onmessage,yr):dt==="error"&&it(S,S.onerror,yr),re===Le)return}ye="",dt=""}at=pt===13?de:$}else at===$&&(si=Ke,at=be),at===be?pt===58&&(hr=Ke+1,at=j):at===j&&(at=ne)}}},Ea=function(Qe){if(re===I||re===_e){re=Ne,te!==0&&(i(te),te=0),te=n(function(){jr()},Z),Z=Pe(Math.min(X*16,Z*2)),S.readyState=_e;var Ze=new Ee("error",{error:Qe});S.dispatchEvent(Ze),it(S,S.onerror,Ze),Qe!=null&&console.error(Qe)}},oi=function(){re=Le,P!=null&&(P.abort(),P=void 0),te!==0&&(i(te),te=0),S.readyState=Le},jr=function(){if(te=0,re!==Ne){if(!ee&&P!=null)Ea(new Error("No activity within "+oe+" milliseconds. "+(re===_e?"No response received.":ae+" chars received.")+" Reconnecting.")),P!=null&&(P.abort(),P=void 0);else{var Qe=Math.max((ee||Date.now())+oe-Date.now(),1);ee=!1,te=n(function(){jr()},Qe)}return}ee=!1,ae=0,te=n(function(){jr()},oe),re=_e,ye="",dt="",Ae=x,ht="",si=0,hr=0,at=$;var Ze=H;if(H.slice(0,5)!=="data:"&&H.slice(0,5)!=="blob:"&&x!==""){var mt=H.indexOf("?");Ze=mt===-1?H:H.slice(0,mt+1)+H.slice(mt+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ut,yr){return yr===ie?"":Ut}),Ze+=(H.indexOf("?")===-1?"?":"&")+ie+"="+encodeURIComponent(x)}var pt=S.withCredentials,st={};st.Accept="text/event-stream";var Ke=S.headers;if(Ke!=null)for(var Ht in Ke)Object.prototype.hasOwnProperty.call(Ke,Ht)&&(st[Ht]=Ke[Ht]);try{P=Nt.open(Ue,e0,t0,Ea,Ze,pt,st)}catch(Ut){throw oi(),Ut}};S.url=H,S.readyState=_e,S.withCredentials=z,S.headers=J,S._close=oi,jr()}Ye.prototype=Object.create(N.prototype),Ye.prototype.CONNECTING=_e,Ye.prototype.OPEN=I,Ye.prototype.CLOSED=Le,Ye.prototype.close=function(){this._close()},Ye.CONNECTING=_e,Ye.OPEN=I,Ye.CLOSED=Le,Ye.prototype.withCredentials=void 0;var Bt=l;a!=null&&(l==null||!("withCredentials"in l.prototype))&&(Bt=Ye),function(S){{var H=S(t);H!==void 0&&(e.exports=H)}}(function(S){S.EventSourcePolyfill=Ye,S.NativeEventSource=l,S.EventSource=Bt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:T0:globalThis)})(Bi,Bi.exports);var tl=Bi.exports;class Zr extends Je{constructor(t){super(),Ve(this,t,null,null,je,{})}}customElements.define("slot-cell",qe(Zr,{},[],[],!0));function x2(e){on(e,"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 D2(e){let t,r,n,i,a,s;return{c(){t=_("div"),r=_("div"),c(r,"class",n="CardImg "+(e[1]=="Closing"||e[1]=="Closed"?"CardImgFinished":"")+" svelte-xwevk"),c(r,"part",i="CardImg "+(e[1]=="Closing"||e[1]=="Closed"?"CardImgFinished":"")),Mt(r,"background-image","url('"+(e[0]?e[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),c(t,"class","Thumbnail svelte-xwevk"),c(t,"part","Thumbnail")},m(o,l){C(o,t,l),m(t,r),a||(s=$t(e[2].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&&Mt(r,"background-image","url('"+(o[0]?o[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},i:Q,o:Q,d(o){o&&y(t),a=!1,s()}}}function E2(e,t,r){let{thumbnail:n=""}=t,{status:i=""}=t;const a=()=>{};return Ft(()=>{}),e.$$set=s=>{"thumbnail"in s&&r(0,n=s.thumbnail),"status"in s&&r(1,i=s.status)},[n,i,a]}class Ni extends Je{constructor(t){super(),Ve(this,t,E2,D2,je,{thumbnail:0,status:1},x2)}get thumbnail(){return this.$$.ctx[0]}set thumbnail(t){this.$$set({thumbnail:t}),D()}get status(){return this.$$.ctx[1]}set status(t){this.$$set({status:t}),D()}}customElements.define("thumbnail-line",qe(Ni,{thumbnail:{},status:{}},[],[],!0));function L2(e){on(e,"svelte-
|
|
24
|
+
*/(function(e,t){(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,b=r.TextDecoder,g=r.TextEncoder,p=r.AbortController;if(typeof window!="undefined"&&typeof u!="undefined"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(S){u.readyState="complete"},!1)),a==null&&o!=null&&(a=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(S){function H(){}return H.prototype=S,new H}),Date.now||(Date.now=function(){return new Date().getTime()}),p==null){var v=d;d=function(S,H){var q=H.signal;return v(S,{headers:H.headers,credentials:H.credentials,cache:H.cache}).then(function(z){var ie=z.body.getReader();return q._reader=ie,q._aborted&&q._reader.cancel(),{status:z.status,statusText:z.statusText,headers:z.headers,body:{getReader:function(){return ie}}}})},p=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function k(){this.bitsNeeded=0,this.codePoint=0}k.prototype.decode=function(S){function H(ee,ae,J){if(J===1)return ee>=128>>ae&&ee<<ae<=2047;if(J===2)return ee>=2048>>ae&&ee<<ae<=55295||ee>=57344>>ae&&ee<<ae<=65535;if(J===3)return ee>=65536>>ae&&ee<<ae<=1114111;throw new Error}function q(ee,ae){if(ee===6*1)return ae>>6>15?3:ae>31?2:1;if(ee===6*2)return ae>15?3:2;if(ee===6*3)return 3;throw new Error}for(var z=65533,ie="",X=this.bitsNeeded,oe=this.codePoint,x=0;x<S.length;x+=1){var Z=S[x];X!==0&&(Z<128||Z>191||!H(oe<<6|Z&63,X-6,q(X,oe)))&&(X=0,oe=z,ie+=String.fromCharCode(oe)),X===0?(Z>=0&&Z<=127?(X=0,oe=Z):Z>=192&&Z<=223?(X=6*1,oe=Z&31):Z>=224&&Z<=239?(X=6*2,oe=Z&15):Z>=240&&Z<=247?(X=6*3,oe=Z&7):(X=0,oe=z),X!==0&&!H(oe,X,q(X,oe))&&(X=0,oe=z)):(X-=6,oe=oe<<6|Z&63),X===0&&(oe<=65535?ie+=String.fromCharCode(oe):(ie+=String.fromCharCode(55296+(oe-65535-1>>10)),ie+=String.fromCharCode(56320+(oe-65535-1&1023))))}return this.bitsNeeded=X,this.codePoint=oe,ie};var L=function(){try{return new b().decode(new g().encode("test"),{stream:!0})==="test"}catch(S){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+S)}return!1};(b==null||g==null||!L())&&(b=k);var w=function(){};function T(S){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=S,this._sendTimeout=0,this._abort=w}T.prototype.open=function(S,H){this._abort(!0);var q=this,z=this._xhr,ie=1,X=0;this._abort=function(J){q._sendTimeout!==0&&(i(q._sendTimeout),q._sendTimeout=0),(ie===1||ie===2||ie===3)&&(ie=4,z.onload=w,z.onerror=w,z.onabort=w,z.onprogress=w,z.onreadystatechange=w,z.abort(),X!==0&&(i(X),X=0),J||(q.readyState=4,q.onabort(null),q.onreadystatechange())),ie=0};var oe=function(){if(ie===1){var J=0,le="",Ue=void 0;if("contentType"in z)J=200,le="OK",Ue=z.contentType;else try{J=z.status,le=z.statusText,Ue=z.getResponseHeader("Content-Type")}catch(Nt){J=0,le="",Ue=void 0}J!==0&&(ie=2,q.readyState=2,q.status=J,q.statusText=le,q._contentType=Ue,q.onreadystatechange())}},x=function(){if(oe(),ie===2||ie===3){ie=3;var J="";try{J=z.responseText}catch(le){}q.readyState=3,q.responseText=J,q.onprogress()}},Z=function(J,le){if((le==null||le.preventDefault==null)&&(le={preventDefault:w}),x(),ie===1||ie===2||ie===3){if(ie=4,X!==0&&(i(X),X=0),q.readyState=4,J==="load")q.onload(le);else if(J==="error")q.onerror(le);else if(J==="abort")q.onabort(le);else throw new TypeError;q.onreadystatechange()}},ee=function(J){z!=null&&(z.readyState===4?(!("onload"in z)||!("onerror"in z)||!("onabort"in z))&&Z(z.responseText===""?"error":"load",J):z.readyState===3?"onprogress"in z||x():z.readyState===2&&oe())},ae=function(){X=n(function(){ae()},500),z.readyState===3&&x()};"onload"in z&&(z.onload=function(J){Z("load",J)}),"onerror"in z&&(z.onerror=function(J){Z("error",J)}),"onabort"in z&&(z.onabort=function(J){Z("abort",J)}),"onprogress"in z&&(z.onprogress=x),"onreadystatechange"in z&&(z.onreadystatechange=function(J){ee(J)}),("contentType"in z||!("ontimeout"in a.prototype))&&(H+=(H.indexOf("?")===-1?"?":"&")+"padding=true"),z.open(S,H,!0),"readyState"in z&&(X=n(function(){ae()},0))},T.prototype.abort=function(){this._abort(!1)},T.prototype.getResponseHeader=function(S){return this._contentType},T.prototype.setRequestHeader=function(S,H){var q=this._xhr;"setRequestHeader"in q&&q.setRequestHeader(S,H)},T.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},T.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 S=this;S._sendTimeout=n(function(){S._sendTimeout=0,S.send()},4);return}var H=this._xhr;"withCredentials"in H&&(H.withCredentials=this.withCredentials);try{H.send(void 0)}catch(q){throw q}};function M(S){return S.replace(/[A-Z]/g,function(H){return String.fromCharCode(H.charCodeAt(0)+32)})}function B(S){for(var H=Object.create(null),q=S.split(`\r
|
|
25
|
+
`),z=0;z<q.length;z+=1){var ie=q[z],X=ie.split(": "),oe=X.shift(),x=X.join(": ");H[M(oe)]=x}this._map=H}B.prototype.get=function(S){return this._map[M(S)]},a!=null&&a.HEADERS_RECEIVED==null&&(a.HEADERS_RECEIVED=2);function F(){}F.prototype.open=function(S,H,q,z,ie,X,oe){S.open("GET",ie);var x=0;S.onprogress=function(){var ee=S.responseText,ae=ee.slice(x);x+=ae.length,q(ae)},S.onerror=function(ee){ee.preventDefault(),z(new Error("NetworkError"))},S.onload=function(){z(null)},S.onabort=function(){z(null)},S.onreadystatechange=function(){if(S.readyState===a.HEADERS_RECEIVED){var ee=S.status,ae=S.statusText,J=S.getResponseHeader("Content-Type"),le=S.getAllResponseHeaders();H(ee,ae,J,new B(le))}},S.withCredentials=X;for(var Z in oe)Object.prototype.hasOwnProperty.call(oe,Z)&&S.setRequestHeader(Z,oe[Z]);return S.send(),S};function Y(S){this._headers=S}Y.prototype.get=function(S){return this._headers.get(S)};function E(){}E.prototype.open=function(S,H,q,z,ie,X,oe){var x=null,Z=new p,ee=Z.signal,ae=new b;return d(ie,{headers:oe,credentials:X?"include":"same-origin",signal:ee,cache:"no-store"}).then(function(J){return x=J.body.getReader(),H(J.status,J.statusText,J.headers.get("Content-Type"),new Y(J.headers)),new f(function(le,Ue){var Nt=function(){x.read().then(function(P){if(P.done)le(void 0);else{var te=ae.decode(P.value,{stream:!0});q(te),Nt()}}).catch(function(P){Ue(P)})};Nt()})}).catch(function(J){if(J.name!=="AbortError")return J}).then(function(J){z(J)}),{abort:function(){x!=null&&x.cancel(),Z.abort()}}};function N(){this._listeners=Object.create(null)}function ve(S){n(function(){throw S},0)}N.prototype.dispatchEvent=function(S){S.target=this;var H=this._listeners[S.type];if(H!=null)for(var q=H.length,z=0;z<q;z+=1){var ie=H[z];try{typeof ie.handleEvent=="function"?ie.handleEvent(S):ie.call(this,S)}catch(X){ve(X)}}},N.prototype.addEventListener=function(S,H){S=String(S);var q=this._listeners,z=q[S];z==null&&(z=[],q[S]=z);for(var ie=!1,X=0;X<z.length;X+=1)z[X]===H&&(ie=!0);ie||z.push(H)},N.prototype.removeEventListener=function(S,H){S=String(S);var q=this._listeners,z=q[S];if(z!=null){for(var ie=[],X=0;X<z.length;X+=1)z[X]!==H&&ie.push(z[X]);ie.length===0?delete q[S]:q[S]=ie}};function ge(S){this.type=S,this.target=void 0}function Me(S,H){ge.call(this,S),this.data=H.data,this.lastEventId=H.lastEventId}Me.prototype=Object.create(ge.prototype);function Re(S,H){ge.call(this,S),this.status=H.status,this.statusText=H.statusText,this.headers=H.headers}Re.prototype=Object.create(ge.prototype);function Ee(S,H){ge.call(this,S),this.error=H.error}Ee.prototype=Object.create(ge.prototype);var Ne=-1,_e=0,I=1,Le=2,de=-1,$=0,be=1,j=2,ne=3,Te=/^text\/event\-stream(;.*)?$/i,A=1e3,ce=18e6,Ge=function(S,H){var q=S==null?H:parseInt(S,10);return q!==q&&(q=H),Pe(q)},Pe=function(S){return Math.min(Math.max(S,A),ce)},it=function(S,H,q){try{typeof H=="function"&&H.call(S,q)}catch(z){ve(z)}};function Ye(S,H){N.call(this),H=H||{},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,S,H)}function cr(){return a!=null&&"withCredentials"in a.prototype||s==null?new a:new s}var fr=d!=null&&h!=null&&"body"in h.prototype;function dr(S,H,q){H=String(H);var z=!!q.withCredentials,ie=q.lastEventIdQueryParameterName||"lastEventId",X=Pe(1e3),oe=Ge(q.heartbeatTimeout,45e3),x="",Z=X,ee=!1,ae=0,J=q.headers||{},le=q.Transport,Ue=fr&&le==null?void 0:new T(le!=null?new le:cr()),Nt=le!=null&&typeof le!="string"?new le:Ue==null?new E:new F,P=void 0,te=0,re=Ne,ye="",Ae="",dt="",ht="",at=$,si=0,hr=0,e0=function(Qe,Ze,mt,pt){if(re===_e)if(Qe===200&&mt!=null&&Te.test(mt)){re=I,ee=Date.now(),Z=X,S.readyState=I;var st=new Re("open",{status:Qe,statusText:Ze,headers:pt});S.dispatchEvent(st),it(S,S.onopen,st)}else{var Ke="";Qe!==200?(Ze&&(Ze=Ze.replace(/\s+/g," ")),Ke="EventSource's response has a status "+Qe+" "+Ze+" 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:Ze,headers:pt});S.dispatchEvent(st),it(S,S.onerror,st),console.error(Ke)}},t0=function(Qe){if(re===I){for(var Ze=-1,mt=0;mt<Qe.length;mt+=1){var pt=Qe.charCodeAt(mt);(pt===10||pt===13)&&(Ze=mt)}var st=(Ze!==-1?ht:"")+Qe.slice(0,Ze+1);ht=(Ze===-1?ht:"")+Qe.slice(Ze+1),Qe!==""&&(ee=Date.now(),ae+=Qe.length);for(var Ke=0;Ke<st.length;Ke+=1){var pt=st.charCodeAt(Ke);if(at===de&&pt===10)at=$;else if(at===de&&(at=$),pt===13||pt===10){if(at!==$){at===be&&(hr=Ke+1);var Ht=st.slice(si,hr-1),Ut=st.slice(hr+(hr<Ke&&st.charCodeAt(hr)===32?1:0),Ke);Ht==="data"?(ye+=`
|
|
26
|
+
`,ye+=Ut):Ht==="id"?Ae=Ut:Ht==="event"?dt=Ut:Ht==="retry"?(X=Ge(Ut,X),Z=X):Ht==="heartbeatTimeout"&&(oe=Ge(Ut,oe),te!==0&&(i(te),te=n(function(){jr()},oe)))}if(at===$){if(ye!==""){x=Ae,dt===""&&(dt="message");var yr=new Me(dt,{data:ye.slice(1),lastEventId:Ae});if(S.dispatchEvent(yr),dt==="open"?it(S,S.onopen,yr):dt==="message"?it(S,S.onmessage,yr):dt==="error"&&it(S,S.onerror,yr),re===Le)return}ye="",dt=""}at=pt===13?de:$}else at===$&&(si=Ke,at=be),at===be?pt===58&&(hr=Ke+1,at=j):at===j&&(at=ne)}}},Ea=function(Qe){if(re===I||re===_e){re=Ne,te!==0&&(i(te),te=0),te=n(function(){jr()},Z),Z=Pe(Math.min(X*16,Z*2)),S.readyState=_e;var Ze=new Ee("error",{error:Qe});S.dispatchEvent(Ze),it(S,S.onerror,Ze),Qe!=null&&console.error(Qe)}},oi=function(){re=Le,P!=null&&(P.abort(),P=void 0),te!==0&&(i(te),te=0),S.readyState=Le},jr=function(){if(te=0,re!==Ne){if(!ee&&P!=null)Ea(new Error("No activity within "+oe+" milliseconds. "+(re===_e?"No response received.":ae+" chars received.")+" Reconnecting.")),P!=null&&(P.abort(),P=void 0);else{var Qe=Math.max((ee||Date.now())+oe-Date.now(),1);ee=!1,te=n(function(){jr()},Qe)}return}ee=!1,ae=0,te=n(function(){jr()},oe),re=_e,ye="",dt="",Ae=x,ht="",si=0,hr=0,at=$;var Ze=H;if(H.slice(0,5)!=="data:"&&H.slice(0,5)!=="blob:"&&x!==""){var mt=H.indexOf("?");Ze=mt===-1?H:H.slice(0,mt+1)+H.slice(mt+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ut,yr){return yr===ie?"":Ut}),Ze+=(H.indexOf("?")===-1?"?":"&")+ie+"="+encodeURIComponent(x)}var pt=S.withCredentials,st={};st.Accept="text/event-stream";var Ke=S.headers;if(Ke!=null)for(var Ht in Ke)Object.prototype.hasOwnProperty.call(Ke,Ht)&&(st[Ht]=Ke[Ht]);try{P=Nt.open(Ue,e0,t0,Ea,Ze,pt,st)}catch(Ut){throw oi(),Ut}};S.url=H,S.readyState=_e,S.withCredentials=z,S.headers=J,S._close=oi,jr()}Ye.prototype=Object.create(N.prototype),Ye.prototype.CONNECTING=_e,Ye.prototype.OPEN=I,Ye.prototype.CLOSED=Le,Ye.prototype.close=function(){this._close()},Ye.CONNECTING=_e,Ye.OPEN=I,Ye.CLOSED=Le,Ye.prototype.withCredentials=void 0;var Bt=l;a!=null&&(l==null||!("withCredentials"in l.prototype))&&(Bt=Ye),function(S){{var H=S(t);H!==void 0&&(e.exports=H)}}(function(S){S.EventSourcePolyfill=Ye,S.NativeEventSource=l,S.EventSource=Bt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:T0:globalThis)})(Bi,Bi.exports);var tl=Bi.exports;class Zr extends Je{constructor(t){super(),Ve(this,t,null,null,je,{})}}customElements.define("slot-cell",qe(Zr,{},[],[],!0));function x2(e){on(e,"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 D2(e){let t,r,n,i,a,s;return{c(){t=_("div"),r=_("div"),c(r,"class",n="CardImg "+(e[1]=="Closing"||e[1]=="Closed"?"CardImgFinished":"")+" svelte-xwevk"),c(r,"part",i="CardImg "+(e[1]=="Closing"||e[1]=="Closed"?"CardImgFinished":"")),Mt(r,"background-image","url('"+(e[0]?e[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),c(t,"class","Thumbnail svelte-xwevk"),c(t,"part","Thumbnail")},m(o,l){C(o,t,l),m(t,r),a||(s=$t(e[2].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&&Mt(r,"background-image","url('"+(o[0]?o[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},i:Q,o:Q,d(o){o&&y(t),a=!1,s()}}}function E2(e,t,r){let{thumbnail:n=""}=t,{status:i=""}=t;const a=()=>{};return Ft(()=>{}),e.$$set=s=>{"thumbnail"in s&&r(0,n=s.thumbnail),"status"in s&&r(1,i=s.status)},[n,i,a]}class Ni extends Je{constructor(t){super(),Ve(this,t,E2,D2,je,{thumbnail:0,status:1},x2)}get thumbnail(){return this.$$.ctx[0]}set thumbnail(t){this.$$set({thumbnail:t}),D()}get status(){return this.$$.ctx[1]}set status(t){this.$$set({status:t}),D()}}customElements.define("thumbnail-line",qe(Ni,{thumbnail:{},status:{}},[],[],!0));function L2(e){on(e,"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(e){let t,r,n,i,a,s,o;function l(d,h){return d[2]?M2:R2}let u=l(e),f=u(e);return{c(){t=_("div"),r=_("p"),n=O(e[1]),i=U(),a=_("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(t,"class","DetailsTitle svelte-rpde8u"),c(t,"part","DetailsTitle")},m(d,h){C(d,t,h),m(t,r),m(r,n),m(t,i),m(t,a),f.m(a,null),s||(o=et(a,"click",e[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(t),f.d(),s=!1,o()}}}function M2(e){let t,r;return{c(){t=$e("svg"),r=$e("path"),c(r,"d","M6 9l6 6 6-6"),c(r,"class","svelte-rpde8u"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round"),c(t,"class","svelte-rpde8u")},m(n,i){C(n,t,i),m(t,r)},d(n){n&&y(t)}}}function R2(e){let t,r;return{c(){t=$e("svg"),r=$e("path"),c(r,"d","M18 15l-6-6-6 6"),c(r,"class","svelte-rpde8u"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round"),c(t,"class","svelte-rpde8u")},m(n,i){C(n,t,i),m(t,r)},d(n){n&&y(t)}}}function is(e){let t,r,n,i;return{c(){t=_("div"),t.innerHTML="",c(t,"class","DetailsContent sc svelte-rpde8u"),c(t,"part","DetailsContent")},m(a,s){C(a,t,s),n||(i=$t(r=e[4].call(null,t,e[0])),n=!0)},p(a,s){r&&Kt(r.update)&&s&1&&r.update.call(null,a[0])},d(a){a&&y(t),n=!1,i()}}}function A2(e){let t,r,n=e[1]&&ns(e),i=e[0]&&!e[2]&&is(e);return{c(){t=_("div"),n&&n.c(),r=U(),i&&i.c(),c(t,"class","DetailsCard svelte-rpde8u"),c(t,"part","DetailsCard")},m(a,s){C(a,t,s),n&&n.m(t,null),m(t,r),i&&i.m(t,null)},p(a,[s]){a[1]?n?n.p(a,s):(n=ns(a),n.c(),n.m(t,r)):n&&(n.d(1),n=null),a[0]&&!a[2]?i?i.p(a,s):(i=is(a),i.c(),i.m(t,null)):i&&(i.d(1),i=null)},i:Q,o:Q,d(a){a&&y(t),n&&n.d(),i&&i.d()}}}function F2(e,t,r){let{text:n=""}=t,{title:i=""}=t,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 e.$$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 Je{constructor(t){super(),Ve(this,t,F2,A2,je,{text:0,title:1},L2)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),D()}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),D()}}customElements.define("title-text-cell",qe(Rn,{text:{},title:{}},[],[],!0));function O2(e){let t,r,n=e[2]("tournamentsThumbnail.scoreCriteria")+"",i,a,s,o,l,u=e[2]("tournamentsThumbnail.minbet")+"",f,d,h,b,g,p;return{c(){t=_("div"),r=_("p"),i=O(n),a=O(`:
|
|
27
27
|
`),s=_("span"),o=O(e[1]),l=O(`
|
|
28
|
-
(`),f=O(u),d=U(),h=O(e[0]),b=O(")"),c(s,"part","ScoreCriteriaSpan"),c(r,"part","ScoreCriteriaP"),c(t,"class","ScoreCriteria"),c(t,"part","ScoreCriteria")},m(w,k){C(w,t,k),m(t,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,b),g||(p=$t(e[3].call(null,s)),g=!0)},p(w,[k]){k&4&&n!==(n=w[2]("tournamentsThumbnail.scoreCriteria")+"")&&W(i,n),k&2&&W(o,w[1]),k&4&&u!==(u=w[2]("tournamentsThumbnail.minbet")+"")&&W(f,u),k&1&&W(h,w[0])},i:Q,o:Q,d(w){w&&y(t),g=!1,p()}}}function z2(e,t,r){let n;_t(e,yt,f=>r(2,n=f));let{scorecriteria:i=""}=t,{lang:a="en"}=t,{minbetcount:s}=t;er({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(a),u()};let l="";const u=()=>{i=="BetCount"&&r(1,l=n("tournamentsThumbnail.betCount")),i=="MaxWinStakeRatio"&&r(1,l=n("tournamentsThumbnail.maxWinStakeRatio")),i=="WinStakeRatio"&&r(1,l=n("tournamentsThumbnail.winStakeRatio"))};return e.$$set=f=>{"scorecriteria"in f&&r(4,i=f.scorecriteria),"lang"in f&&r(5,a=f.lang),"minbetcount"in f&&r(0,s=f.minbetcount)},e.$$.update=()=>{e.$$.dirty&32&&a&&o(),e.$$.dirty&16&&i&&u()},[s,l,n,u,i,a]}class Hi extends Je{constructor(t){super(),Ve(this,t,z2,O2,je,{scorecriteria:4,lang:5,minbetcount:0})}get scorecriteria(){return this.$$.ctx[4]}set scorecriteria(t){this.$$set({scorecriteria:t}),D()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),D()}get minbetcount(){return this.$$.ctx[0]}set minbetcount(t){this.$$set({minbetcount:t}),D()}}customElements.define("score-criteria-cell",qe(Hi,{scorecriteria:{},lang:{},minbetcount:{}},[],[],!0));function B2(e){let t,r=e[1]&&as(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,i){n[1]?r?r.p(n,i):(r=as(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&y(t),r&&r.d(n)}}}function N2(e){let t,r=e[9]("tournamentsThController.login")+"",n,i,a,s=e[9]("tournamentsThController.register")+"",o,l,u;return{c(){t=_("button"),n=O(r),i=U(),a=_("button"),o=O(s),c(t,"class","LoginButton"),c(t,"part","LoginButton"),c(a,"class","RegisterButton"),c(a,"part","RegisterButton")},m(f,d){C(f,t,d),m(t,n),C(f,i,d),C(f,a,d),m(a,o),l||(u=[et(t,"click",e[23]),et(a,"click",e[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(t),y(i),y(a)),l=!1,At(u)}}}function as(e){let t,r,n,i,a;function s(u,f){return u[5]==!0?U2:H2}let o=s(e),l=o(e);return{c(){t=_("button"),l.c(),c(t,"class",r="JoinButton "+(e[3]?"JoinButtonFullSize":"")),c(t,"part",n="JoinButton "+(e[3]?"JoinButtonFullSize":"")),t.disabled=e[6]},m(u,f){C(u,t,f),l.m(t,null),i||(a=et(t,"click",e[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(t,null))),f&8&&r!==(r="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(t,"class",r),f&8&&n!==(n="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(t,"part",n),f&64&&(t.disabled=u[6])},d(u){u&&y(t),l.d(),i=!1,a()}}}function H2(e){let t,r=e[9]("tournamentsThController.join")+"",n,i,a,s,o,l,u,f;return{c(){t=_("span"),n=O(r),i=U(),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(t,"part","JoinButtonSpan"),c(t,"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,t,h),m(t,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(t),y(i),y(a))}}}function U2(e){let t,r;return{c(){t=$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(t,"class","spinner"),c(t,"part","spinner")},m(n,i){C(n,t,i),m(t,r)},p:Q,d(n){n&&y(t)}}}function ss(e){let t,r=e[9]("tournamentsThController.joinerror")+"",n,i,a;return{c(){t=_("span"),n=O(r),i=U(),a=O(e[7]),c(t,"class","ErrorText"),c(t,"part","ErrorText")},m(s,o){C(s,t,o),m(t,n),m(t,i),m(t,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(t)}}}function I2(e){let t,r,n;function i(l,u){if(!l[4])return N2;if(l[2]!="Closed"&&l[2]!="Closing")return B2}let a=i(e),s=a&&a(e),o=(e[6]||e[8])&&ss(e);return{c(){t=_("div"),s&&s.c(),r=U(),o&&o.c(),n=Se(),c(t,"class","TournamentButtons"),c(t,"part","TournamentButtons")},m(l,u){C(l,t,u),s&&s.m(t,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(t,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:Q,o:Q,d(l){l&&(y(t),y(r),y(n)),s&&s.d(),o&&o.d(l)}}}function j2(e,t,r){let n;_t(e,yt,I=>r(9,n=I));let{session:i=""}=t,{tourid:a=""}=t,{endpoint:s=""}=t,{userenrolled:o=""}=t,{showleaderboard:l=""}=t,{lang:u=""}=t,{loginevent:f=""}=t,{registerevent:d=""}=t,{loginurl:h=""}=t,{registerurl:b=""}=t,{currency:g=""}=t,{bonuscode:p=""}=t,{status:w=""}=t,k="";er({fallbackLocale:"en",initialLocale:"en"});const L=()=>{bt(u)};let v=!1,T="",M=window.navigator.userAgent,B=!1,F=!1,Y="There was an error while trying to join the tournament",E=!1;const N=()=>{f&&window.postMessage({type:f,transition:"Login"},window.location.href),h&&(window.location=h)},we=()=>{d&&window.postMessage({type:d,transition:"Register"},window.location.href),b&&(window.location=b)},ge=()=>{i.length>0&&i!="false"?(T=i,r(4,v=!0)):r(4,v=!1)},Me=(I,Le)=>Gr(this,null,function*(){var Ge;r(6,F=!1),r(8,E=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:I},window.location.href),r(5,B=!0);let de=new URL(`${s}/v1/bonus/claim`),$=new Headers,be={};de.searchParams.append("language",u),de.searchParams.append("platform",Vn(M)),$.append("Content-Type","application/json"),$.append("X-SessionID",T),Le&&(be={language:u,bonusCode:Le,currency:g,type:"tournament"});let j={method:"PUT",headers:$,body:JSON.stringify(be)};const ne=()=>{r(5,B=!1),r(13,o="true"),window.postMessage({type:"TournamentUserEnrolled",userenrolled:o},window.location.href)},Te=Pe=>{r(5,B=!1),Pe&&r(7,Y=Pe),r(6,F=!0)},ce=yield Gr(this,null,function*(){let Pe;try{Pe=yield fetch(de,j),Pe=yield Pe.json()}catch(it){Te()}return Pe});if(ce)if(ce.success==!0)ne();else if(ce.errorMessage.match("VersionMismatchException")){let Pe;Pe=yield fetch(`${s}/tournaments/${a}`,{headers:{"X-SessionID":i}}),Pe=yield Pe.json(),(Ge=Pe==null?void 0:Pe.item)!=null&&Ge.playerEnrolled?ne():(Te(ce.errorMessage),r(8,E=!0),r(6,F=!1))}else Te(ce.errorMessage)}),Re=I=>{I.data&&I.data.type=="UserSessionID"&&(r(4,v=!0),T=I.data.session)};Ft(()=>(r(3,k=l=="true"),window.addEventListener("message",Re),()=>{window.removeEventListener("message",Re)}));const Ee=()=>N(),Ne=()=>we(),_e=()=>Me(a,p);return e.$$set=I=>{"session"in I&&r(14,i=I.session),"tourid"in I&&r(0,a=I.tourid),"endpoint"in I&&r(15,s=I.endpoint),"userenrolled"in I&&r(13,o=I.userenrolled),"showleaderboard"in I&&r(16,l=I.showleaderboard),"lang"in I&&r(17,u=I.lang),"loginevent"in I&&r(18,f=I.loginevent),"registerevent"in I&&r(19,d=I.registerevent),"loginurl"in I&&r(20,h=I.loginurl),"registerurl"in I&&r(21,b=I.registerurl),"currency"in I&&r(22,g=I.currency),"bonuscode"in I&&r(1,p=I.bonuscode),"status"in I&&r(2,w=I.status)},e.$$.update=()=>{e.$$.dirty&16384&&i&&ge(),e.$$.dirty&131072&&u&&L()},[a,p,w,k,v,B,F,Y,E,n,N,we,Me,o,i,s,l,u,f,d,h,b,g,Ee,Ne,_e]}class Ui extends Je{constructor(t){super(),Ve(this,t,j2,I2,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(t){this.$$set({session:t}),D()}get tourid(){return this.$$.ctx[0]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),D()}get userenrolled(){return this.$$.ctx[13]}set userenrolled(t){this.$$set({userenrolled:t}),D()}get showleaderboard(){return this.$$.ctx[16]}set showleaderboard(t){this.$$set({showleaderboard:t}),D()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),D()}get loginevent(){return this.$$.ctx[18]}set loginevent(t){this.$$set({loginevent:t}),D()}get registerevent(){return this.$$.ctx[19]}set registerevent(t){this.$$set({registerevent:t}),D()}get loginurl(){return this.$$.ctx[20]}set loginurl(t){this.$$set({loginurl:t}),D()}get registerurl(){return this.$$.ctx[21]}set registerurl(t){this.$$set({registerurl:t}),D()}get currency(){return this.$$.ctx[22]}set currency(t){this.$$set({currency:t}),D()}get bonuscode(){return this.$$.ctx[1]}set bonuscode(t){this.$$set({bonuscode:t}),D()}get status(){return this.$$.ctx[2]}set status(t){this.$$set({status:t}),D()}}customElements.define("tournament-join-button-cell",qe(Ui,{session:{},tourid:{},endpoint:{},userenrolled:{},showleaderboard:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},bonuscode:{},status:{}},[],[],!0));function G2(e){on(e,"svelte-1hk5bqq",".Status.svelte-1hk5bqq{color:greenyellow}")}function os(e){let t,r,n,i,a,s,o,l=e[0]=="Running"&&ls(e);return{c(){t=_("div"),r=O(e[2]),n=U(),l&&l.c(),c(t,"class",i="Status "+e[3]+" TagContent svelte-1hk5bqq"),c(t,"part",a="Status "+e[3]+" TagContent")},m(u,f){C(u,t,f),m(t,r),m(t,n),l&&l.m(t,null),s||(o=$t(e[5].call(null,t)),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(t,null)):l&&(l.d(1),l=null),f&8&&i!==(i="Status "+u[3]+" TagContent svelte-1hk5bqq")&&c(t,"class",i),f&8&&a!==(a="Status "+u[3]+" TagContent")&&c(t,"part",a)},d(u){u&&y(t),l&&l.d(),s=!1,o()}}}function ls(e){let t,r,n=e[4]("tournamentsDuration.left")+"",i;return{c(){t=O(e[1]),r=U(),i=O(n)},m(a,s){C(a,t,s),C(a,r,s),C(a,i,s)},p(a,s){s&2&&W(t,a[1]),s&16&&n!==(n=a[4]("tournamentsDuration.left")+"")&&W(i,n)},d(a){a&&(y(t),y(r),y(i))}}}function Y2(e){let t,r=e[0]&&os(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,[i]){n[0]?r?r.p(n,i):(r=os(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(n)}}}function W2(e,t,r){let n;_t(e,yt,v=>r(4,n=v));let{lang:i="en"}=t,{status:a=""}=t,{startdate:s=""}=t,{enddate:o=""}=t,l="",u="";const f=v=>new Date(v).getTime(),d=(v,T)=>(f(T)-f(v))/(1e3*60),h=()=>{u=d(new Date,o),r(1,l=b(u))},b=v=>{const T=(M,B)=>M+" "+n(B);if(v<1440){const M=v/60,B=v%60,F=(B-Math.floor(B))*60;return[M,B,F].map(Y=>Math.floor(Y).toString().padStart(2,"0")).join(":")}return T(Math.ceil(v/(60*24)),"tournamentsDuration.days")};er({fallbackLocale:"en",initialLocale:"en"});const g=()=>{bt(i),k()};let p="",w="";const k=()=>{a=="Unstarted"&&(r(2,p=n("tournamentsThumbnail.scheduled")),r(3,w="StatusUnstarted")),a=="Running"&&(r(2,p=n("tournamentsThumbnail.ongoing")),r(3,w="StatusRunning")),(a=="Closed"||a=="Closing")&&r(2,p=n("tournamentsThumbnail.finished")),a=="Closed"&&r(3,w="StatusClosed"),a=="Closing"&&r(3,w="StatusClosing")};let L=!1;return Ft(()=>{r(9,L=!0);const v=setInterval(()=>{s&&o&&h()},1e3);return()=>clearInterval(v)}),e.$$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)},e.$$.update=()=>{e.$$.dirty&384&&s&&o&&h(),e.$$.dirty&64&&i&&h()&&g(),e.$$.dirty&577&&L&&i&&a&&g()},[a,l,p,w,n,k,i,s,o,L]}class Ii extends Je{constructor(t){super(),Ve(this,t,W2,Y2,je,{lang:6,status:0,startdate:7,enddate:8},G2)}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),D()}get status(){return this.$$.ctx[0]}set status(t){this.$$set({status:t}),D()}get startdate(){return this.$$.ctx[7]}set startdate(t){this.$$set({startdate:t}),D()}get enddate(){return this.$$.ctx[8]}set enddate(t){this.$$set({enddate:t}),D()}}customElements.define("status-line",qe(Ii,{lang:{},status:{},startdate:{},enddate:{}},[],[],!0));const V2="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(e){let t,r=e[0]&&cs(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,i){n[0]?r?r.p(n,i):(r=cs(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&y(t),r&&r.d(n)}}}function cs(e){let t,r,n,i,a=e[2]("tournamentsThController.joined")+"",s;return{c(){t=_("div"),r=_("img"),i=U(),s=O(a),We(r.src,n=V2)||c(r,"src",n),c(r,"alt","Joined"),c(t,"class","Enrolled TagContent"),c(t,"part","Enrolled TagContent")},m(o,l){C(o,t,l),m(t,r),m(t,i),m(t,s)},p(o,l){l&4&&a!==(a=o[2]("tournamentsThController.joined")+"")&&W(s,a)},d(o){o&&y(t)}}}function q2(e){let t,r=e[1]=="true"&&us(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,[i]){n[1]=="true"?r?r.p(n,i):(r=us(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(n)}}}function J2(e,t,r){let n;_t(e,yt,u=>r(2,n=u));let{lang:i="en"}=t,{showenrolled:a=""}=t,{userenrolled:s}=t;er({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=u=>{u.data&&u.data.type=="TournamentUserEnrolled"&&r(0,s=u.data.userenrolled)};return Ft(()=>(window.addEventListener("message",l),()=>{window.removeEventListener("message",l)})),e.$$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)},e.$$.update=()=>{e.$$.dirty&8&&i&&o()},[s,a,n,i]}class ji extends Je{constructor(t){super(),Ve(this,t,J2,q2,je,{lang:3,showenrolled:1,userenrolled:0})}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),D()}get showenrolled(){return this.$$.ctx[1]}set showenrolled(t){this.$$set({showenrolled:t}),D()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(t){this.$$set({userenrolled:t}),D()}}customElements.define("user-enroll-tag",qe(ji,{lang:{},showenrolled:{},userenrolled:{}},[],[],!0));function fs(e){let t,r,n,i,a,s,o,l,u,f,d,h;function b(v,T){return v[2]=="Finished"||v[2]=="Closing"||v[2]=="Closed"?Q2:v[4]>0?X2:Z2}let g=b(e),p=g(e);function w(v,T){if(v[2]=="Finished"||v[2]=="Closing"||v[2]=="Closed")return ec;if(v[4]>0)return $2;if(v[3]>0)return K2}let k=w(e),L=k&&k(e);return{c(){t=_("div"),r=_("div"),n=O(e[6]),i=U(),a=_("div"),s=O(e[7]),o=U(),l=_("div"),u=_("div"),p.c(),f=U(),L&&L.c(),c(r,"class","StartDate"),c(r,"part","StartDate"),c(a,"class","EndDate"),c(a,"part","EndDate"),c(t,"class","TournamentDates"),c(t,"part","TournamentDates"),c(u,"class","ProgressBar"),c(u,"part","ProgressBar"),c(l,"class","ProgressBarWrapper"),c(l,"part","ProgressBarWrapper")},m(v,T){C(v,t,T),m(t,r),m(r,n),m(t,i),m(t,a),m(a,s),C(v,o,T),C(v,l,T),m(l,u),p.m(u,null),m(u,f),L&&L.m(u,null),d||(h=$t(e[10].call(null,l)),d=!0)},p(v,T){T&64&&W(n,v[6]),T&128&&W(s,v[7]),g===(g=b(v))&&p?p.p(v,T):(p.d(1),p=g(v),p&&(p.c(),p.m(u,f))),k===(k=w(v))&&L?L.p(v,T):(L&&L.d(1),L=k&&k(v),L&&(L.c(),L.m(u,null)))},d(v){v&&(y(t),y(o),y(l)),p.d(),L&&L.d(),d=!1,h()}}}function Z2(e){let t;return{c(){t=_("div"),c(t,"class","ProgressBarFill"),c(t,"part","ProgressBarFill"),Mt(t,"width",e[8]()+"%")},m(r,n){C(r,t,n)},p(r,n){n&256&&Mt(t,"width",r[8]()+"%")},d(r){r&&y(t)}}}function X2(e){let t;return{c(){t=_("div"),c(t,"class","ProgressBarFillStarting"),c(t,"part","ProgressBarFillStarting")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Q2(e){let t;return{c(){t=_("div"),c(t,"class","ProgressBarFillEnd"),c(t,"part","ProgressBarFillEnd")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function K2(e){let t,r,n,i=e[9]("tournamentsDuration.left")+"",a;return{c(){t=_("div"),r=O(e[5]),n=U(),a=O(i),c(t,"class","Remaining"),c(t,"part","Remaining")},m(s,o){C(s,t,o),m(t,r),m(t,n),m(t,a)},p(s,o){o&32&&W(r,s[5]),o&512&&i!==(i=s[9]("tournamentsDuration.left")+"")&&W(a,i)},d(s){s&&y(t)}}}function $2(e){let t,r=e[9]("tournamentsDuration.starting")+"",n,i,a=e[11](e[4])+"",s;return{c(){t=_("div"),n=O(r),i=U(),s=O(a),c(t,"class","Remaining"),c(t,"part","Remaining")},m(o,l){C(o,t,l),m(t,n),m(t,i),m(t,s)},p(o,l){l&512&&r!==(r=o[9]("tournamentsDuration.starting")+"")&&W(n,r),l&16&&a!==(a=o[11](o[4])+"")&&W(s,a)},d(o){o&&y(t)}}}function ec(e){let t,r=e[9]("tournamentsDuration.finished")+"",n;return{c(){t=_("div"),n=O(r),c(t,"class","Finished"),c(t,"part","Finished")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a&512&&r!==(r=i[9]("tournamentsDuration.finished")+"")&&W(n,r)},d(i){i&&y(t)}}}function tc(e){let t,r=e[0]&&e[1]&&fs(e);return{c(){t=_("div"),r&&r.c(),c(t,"class","TournamentDuration"),c(t,"part","TournamentDuration")},m(n,i){C(n,t,i),r&&r.m(t,null)},p(n,[i]){n[0]&&n[1]?r?r.p(n,i):(r=fs(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d()}}}function rc(e,t,r){let n,i;_t(e,yt,M=>r(9,i=M));let{startdate:a=""}=t,{enddate:s=""}=t,{status:o=""}=t,{lang:l="en"}=t,u="",f="",d="",h="",b="";const g=()=>{bt(l)};bt(l);const p=M=>new Date(M).getTime(),w=(M,B)=>(p(B)-p(M))/(1e3*60),k=()=>{const M=new Date;r(3,u=w(M,s)),r(4,f=w(M,a)),r(5,d=T(u))},L=M=>{if(!M)return;const B={month:"long"};let F=new Date(M),Y=new Intl.DateTimeFormat(l,B).format(F);return`${F.getDate()} ${Y}, ${F.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${F.getUTCFullYear()}`},v=()=>{r(6,h=L(a)),r(7,b=L(s))},T=M=>{const B=(Y,E)=>Y+" "+i(E),F=Y=>{const E=Math.floor(Y);return E<10?`0${E}`:`${E}`};if(M<1440){const Y=M/60,E=M%60,N=(E-Math.floor(E))*60;return[Y,E,N].map(we=>F(we)).join(":")}return B(Math.ceil(M/(60*24)),"tournamentsDuration.days")};return Ft(()=>{const M=setInterval(()=>{a&&s&&k()},1e3);return()=>clearInterval(M)}),e.$$set=M=>{"startdate"in M&&r(0,a=M.startdate),"enddate"in M&&r(1,s=M.enddate),"status"in M&&r(2,o=M.status),"lang"in M&&r(12,l=M.lang)},e.$$.update=()=>{e.$$.dirty&11&&r(8,n=()=>{if(u<=0)return 100;const M=w(a,s),B=100/M;return Math.floor((M-u)*B)}),e.$$.dirty&11&&a&&s&&v()&&k()&&T(u),e.$$.dirty&4096&&l&&k()&&g(),e.$$.dirty&4104&&l&&T(u),e.$$.dirty&4096&&l&&v()},[a,s,o,u,f,d,h,b,n,i,k,T,l]}class Gi extends Je{constructor(t){super(),Ve(this,t,rc,tc,je,{startdate:0,enddate:1,status:2,lang:12})}get startdate(){return this.$$.ctx[0]}set startdate(t){this.$$set({startdate:t}),D()}get enddate(){return this.$$.ctx[1]}set enddate(t){this.$$set({enddate:t}),D()}get status(){return this.$$.ctx[2]}set status(t){this.$$set({status:t}),D()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),D()}}customElements.define("duration-router",qe(Gi,{startdate:{},enddate:{},status:{},lang:{}},[],[],!0));function nc(e){on(e,"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 ic(e){let t,r,n=e[3]("tournamentsThumbnail.seegames")+"",i,a,s,o=e[3]("tournamentsThumbnail.here")+"",l,u,f,d,h,b=e[3]("gamesSlider.playNow")+"",g,p,w;return{c(){t=_("div"),r=_("p"),i=O(n),a=U(),s=_("a"),l=O(o),f=U(),d=_("p"),h=_("button"),g=O(b),c(s,"part","GamesAnchor"),c(s,"class","GamesAnchor"),c(s,"href",e[0]),c(s,"target",u=e[2]==="true"?"_self":"_blank"),c(r,"part","GamesP"),c(h,"class","GamesButton"),c(d,"class","GamesButtonWrapper"),c(t,"class","Games"),c(t,"part","Games")},m(k,L){C(k,t,L),m(t,r),m(r,i),m(r,a),m(r,s),m(s,l),m(t,f),m(t,d),m(d,h),m(h,g),p||(w=[et(s,"click",e[6]),et(h,"click",e[7])],p=!0)},p(k,[L]){L&8&&n!==(n=k[3]("tournamentsThumbnail.seegames")+"")&&W(i,n),L&8&&o!==(o=k[3]("tournamentsThumbnail.here")+"")&&W(l,o),L&1&&c(s,"href",k[0]),L&4&&u!==(u=k[2]==="true"?"_self":"_blank")&&c(s,"target",u),L&8&&b!==(b=k[3]("gamesSlider.playNow")+"")&&W(g,b)},i:Q,o:Q,d(k){k&&y(t),p=!1,At(w)}}}function ac(e,t,r){let n;_t(e,yt,d=>r(3,n=d));let{gameurl:i=""}=t,{tourid:a=""}=t,{keepbrowsercontext:s="false"}=t;const o=(d,h)=>{window.postMessage({type:"tournamentGamesClicked",tourId:h},window.location.href)},l=d=>{window.postMessage({type:"tournamentGamesButtonClicked",tourId:d},window.location.href)},u=()=>o(),f=()=>l(a);return e.$$set=d=>{"gameurl"in d&&r(0,i=d.gameurl),"tourid"in d&&r(1,a=d.tourid),"keepbrowsercontext"in d&&r(2,s=d.keepbrowsercontext)},[i,a,s,n,o,l,u,f]}class Yi extends Je{constructor(t){super(),Ve(this,t,ac,ic,je,{gameurl:0,tourid:1,keepbrowsercontext:2},nc)}get gameurl(){return this.$$.ctx[0]}set gameurl(t){this.$$set({gameurl:t}),D()}get tourid(){return this.$$.ctx[1]}set tourid(t){this.$$set({tourid:t}),D()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),D()}}customElements.define("see-games-line",qe(Yi,{gameurl:{},tourid:{},keepbrowsercontext:{}},[],[],!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",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%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",nl="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 ds(e,t,r){const n=e.slice();return n[15]=t[r],n[17]=r,n}function hs(e,t,r){const n=e.slice();return n[12]=t[r],n}function ms(e,t,r){const n=e.slice();return n[15]=t[r],n[17]=r,n}const sc=e=>({}),ps=e=>({});function gs(e){let t;function r(a,s){return a[2].expandAll?lc:oc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function oc(e){let t,r,n=xe(e[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=ys(ds(e,n,s));let a=null;return n.length||(a=bs(e)),{c(){t=_("div"),r=_("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(t,"class","Collapse")},m(s,o){C(s,t,o),m(t,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&51){n=xe(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(t),ft(i,s),a&&a.d()}}}function lc(e){let t,r=xe(e[3]),n=[];for(let i=0;i<r.length;i+=1)n[i]=ws(hs(e,r,i));return{c(){t=_("div");for(let i=0;i<n.length;i+=1)n[i].c();c(t,"class","Prizes"),c(t,"part","Prizes")},m(i,a){C(i,t,a);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(t,null)},p(i,a){if(a&58){r=xe(i[3]);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(t,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(t),ft(n,i)}}}function bs(e){let t,r=e[5]("tournamentsPrizes.noprizes")+"",n;return{c(){t=_("p"),n=O(r)},m(i,a){C(i,t,a),m(t,n)},p(i,a){a&32&&r!==(r=i[5]("tournamentsPrizes.noprizes")+"")&&W(n,r)},d(i){i&&y(t)}}}function _s(e){let t;function r(a,s){return a[17]<3?cc:uc}let i=r(e)(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){i.p(a,s)},d(a){a&&y(t),i.d(a)}}}function uc(e){let t;return{c(){t=_("span"),c(t,"class","RowNo")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function cc(e){let t,r;return{c(){t=_("img"),c(t,"class","RowNo"),c(t,"alt","prize"),We(t.src,r=e[4][e[17]+1])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i&16&&!We(t.src,r=n[4][n[17]+1])&&c(t,"src",r)},d(n){n&&y(t)}}}function ys(e){let t,r,n,i,a,s,o=e[15].count>1?`${e[15].rank}~${e[15].rank+e[15].count-1}`:`${e[15].rank}`,l,u,f,d=e[5]("tournamentsPrizes.place")+"",h,b,g,p,w=e[15].name+"",k,L,v=e[1]=="true"&&_s(e);return{c(){t=_("div"),r=_("div"),n=_("p"),i=_("span"),v&&v.c(),a=U(),s=_("span"),l=O(o),u=U(),f=_("span"),h=O(d),b=O(":"),g=U(),p=_("span"),k=O(w),L=U(),c(s,"class","PrizeNo"),c(f,"class","PrizePlace"),c(i,"class","PrizeRank"),c(i,"part","PrizeRank"),c(p,"class","PrizeName"),c(p,"part","PrizeName"),c(n,"class","PrizeText"),c(n,"part","PrizeText"),c(r,"class","Prize Prize"+e[17]),c(r,"part","Prize Prize"+e[17]),c(t,"class","ColPrizes")},m(T,M){C(T,t,M),m(t,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,b),m(n,g),m(n,p),m(p,k),m(t,L)},p(T,M){T[1]=="true"?v?v.p(T,M):(v=_s(T),v.c(),v.m(i,a)):v&&(v.d(1),v=null),M&1&&o!==(o=T[15].count>1?`${T[15].rank}~${T[15].rank+T[15].count-1}`:`${T[15].rank}`)&&W(l,o),M&32&&d!==(d=T[5]("tournamentsPrizes.place")+"")&&W(h,d),M&1&&w!==(w=T[15].name+"")&&W(k,w)},d(T){T&&y(t),v&&v.d()}}}function fc(e){let t,r,n,i=e[15].rank+"",a,s,o,l,u=e[5]("tournamentsPrizes.place")+"",f,d=e[1]=="true"&&Cs();return{c(){t=_("span"),d&&d.c(),r=U(),n=_("span"),a=O(i),s=_("span"),s.textContent=".",o=U(),l=_("span"),f=O(u),c(s,"class","Dot"),c(n,"class","PrizeNo"),c(l,"class","PrizePlace"),c(t,"class","PrizeRank"),c(t,"part","PrizeRank")},m(h,b){C(h,t,b),d&&d.m(t,null),m(t,r),m(t,n),m(n,a),m(n,s),m(t,o),m(t,l),m(l,f)},p(h,b){h[1]=="true"?d||(d=Cs(),d.c(),d.m(t,r)):d&&(d.d(1),d=null),b&8&&i!==(i=h[15].rank+"")&&W(a,i),b&32&&u!==(u=h[5]("tournamentsPrizes.place")+"")&&W(f,u)},d(h){h&&y(t),d&&d.d()}}}function dc(e){let t,r,n,i,a,s=e[5]("tournamentsPrizes.place")+"",o;return{c(){t=_("div"),r=_("img"),i=U(),a=_("span"),o=O(s),c(r,"alt","prize"),c(r,"class","RowNo"),We(r.src,n=e[4][e[15].rank])||c(r,"src",n),c(a,"class","PrizePlace"),c(t,"class","PrizeRank"),c(t,"part","PrizeRank")},m(l,u){C(l,t,u),m(t,r),m(t,i),m(t,a),m(a,o)},p(l,u){u&24&&!We(r.src,n=l[4][l[15].rank])&&c(r,"src",n),u&32&&s!==(s=l[5]("tournamentsPrizes.place")+"")&&W(o,s)},d(l){l&&y(t)}}}function Cs(e){let t;return{c(){t=_("span"),c(t,"class","RowNo")},m(r,n){C(r,t,n)},d(r){r&&y(t)}}}function vs(e){let t,r,n,i,a=e[15].name+"",s,o,l;function u(h,b){return h[15].rank<4&&h[1]=="true"?dc:fc}let f=u(e),d=f(e);return{c(){t=_("div"),r=_("p"),d.c(),n=U(),i=_("span"),s=O(a),c(i,"class","PrizeName"),c(i,"part","PrizeName"),c(r,"class","PrizeText"),c(r,"part","PrizeText"),c(t,"class",o="Prize Prize"+(e[15].rank-1)),c(t,"part",l="Prize Prize"+(e[15].rank-1))},m(h,b){C(h,t,b),m(t,r),d.m(r,null),m(r,n),m(r,i),m(i,s)},p(h,b){f===(f=u(h))&&d?d.p(h,b):(d.d(1),d=f(h),d&&(d.c(),d.m(r,n))),b&8&&a!==(a=h[15].name+"")&&W(s,a),b&8&&o!==(o="Prize Prize"+(h[15].rank-1))&&c(t,"class",o),b&8&&l!==(l="Prize Prize"+(h[15].rank-1))&&c(t,"part",l)},d(h){h&&y(t),d.d()}}}function ws(e){let t,r,n,i=xe(e[12]),a=[];for(let s=0;s<i.length;s+=1)a[s]=vs(ms(e,i,s));return{c(){t=_("div");for(let s=0;s<a.length;s+=1)a[s].c();r=U(),c(t,"class",n="ColPrizes col-"+e[3].length)},m(s,o){C(s,t,o);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(t,null);m(t,r)},p(s,o){if(o&58){i=xe(s[12]);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(t,r))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}o&8&&n!==(n="ColPrizes col-"+s[3].length)&&c(t,"class",n)},d(s){s&&y(t),ft(a,s)}}}function hc(e){let t,r,n,i,a,s,o,l=e[5]("tournamentsPrizes.prizes")+"",u,f,d;const h=e[8].prizeIcon,b=l0(h,e,e[7],ps);let g=e[0]&&gs(e);return{c(){t=_("div"),r=_("div"),n=_("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=U(),a=_("span"),b&&b.c(),s=U(),o=_("p"),u=O(l),f=U(),g&&g.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(t,"class","TournamentPrizes"),c(t,"part","TournamentPrizes")},m(p,w){C(p,t,w),m(t,r),m(r,n),m(r,i),m(r,a),b&&b.m(a,null),m(r,s),m(r,o),m(o,u),m(t,f),g&&g.m(t,null),d=!0},p(p,[w]){b&&b.p&&(!d||w&128)&&c0(b,h,p,p[7],d?u0(h,p[7],w,sc):f0(p[7]),ps),(!d||w&32)&&l!==(l=p[5]("tournamentsPrizes.prizes")+"")&&W(u,l),p[0]?g?g.p(p,w):(g=gs(p),g.c(),g.m(t,null)):g&&(g.d(1),g=null)},i(p){d||(se(b,p),d=!0)},o(p){ke(b,p),d=!1},d(p){p&&y(t),b&&b.d(p),g&&g.d()}}}const mc=1;function pc(e,t,r){let n;_t(e,yt,g=>r(5,n=g));let{$$slots:i={},$$scope:a}=t,{prizes:s}=t,{lang:o=""}=t,{showrankasimage:l="false"}=t,{cellsetting:u={expandAll:!0,listType:1,rowPerCol:8,maxCol:3}}=t;er({fallbackLocale:"en",initialLocale:"en"});const f=()=>{bt(o)};let d=[];const h=()=>{if(!u.expandAll)return;r(3,d=[[]]);let g=()=>{let p=[];return s.forEach(w=>{if(w.count==1)p.push(w);else{let k=parseInt(w.rank),L=w.name;for(let v=0;v<w.count;v++){let M={rank:k+v,name:L,count:1};p.push(M)}}}),p};if(u.listType==mc){let p=g(),w=p.length,k=u.rowPerCol||8,L=u.maxCol;w>=k*L&&(k=Math.ceil(w/L)),w<=k&&(k=Math.ceil(w/L)),p.forEach((v,T)=>{let M=Math.floor(T/k);d.length<M+1&&d.push([]),d[M].push(v)})}else r(3,d[0]=g(),d)};let b=[];return Ft(()=>{r(4,b=[An,An,rl,nl])}),e.$$set=g=>{"prizes"in g&&r(0,s=g.prizes),"lang"in g&&r(6,o=g.lang),"showrankasimage"in g&&r(1,l=g.showrankasimage),"cellsetting"in g&&r(2,u=g.cellsetting),"$$scope"in g&&r(7,a=g.$$scope)},e.$$.update=()=>{e.$$.dirty&64&&o&&f(),e.$$.dirty&5&&u&&s&&h()},[s,l,u,d,b,n,o,a,i]}class Wi extends Je{constructor(t){super(),Ve(this,t,pc,hc,je,{prizes:0,lang:6,showrankasimage:1,cellsetting:2})}get prizes(){return this.$$.ctx[0]}set prizes(t){this.$$set({prizes:t}),D()}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),D()}get showrankasimage(){return this.$$.ctx[1]}set showrankasimage(t){this.$$set({showrankasimage:t}),D()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("prizes-cell",qe(Wi,{prizes:{},lang:{},showrankasimage:{},cellsetting:{}},["prizeIcon"],[],!0));function Ts(e,t,r){const n=e.slice();return n[42]=t[r],n[44]=r,n}function ks(e){let t,r,n,i,a,s,o,l,u=xe(e[2]),f=[];for(let d=0;d<u.length;d+=1)f[d]=Ss(Ts(e,u,d));return{c(){t=_("div"),t.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=U(),n=_("main"),i=_("div");for(let d=0;d<f.length;d+=1)f[d].c();a=U(),s=_("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(t,"class","SliderNavButton"),c(t,"part","SliderNavButton"),c(t,"tabindex","0"),c(t,"role","button"),pn(t,"disabled",e[7]),c(i,"class","items"),c(i,"part","items"),Mt(i,"transform","translateX("+e[0]+"px)"),c(n,"class","main"),c(s,"class","SliderNavButton"),c(s,"part","SliderNavButton"),c(s,"tabindex","0"),c(s,"role","button"),pn(s,"disabled",e[6])},m(d,h){C(d,t,h),C(d,r,h),C(d,n,h),m(n,i);for(let b=0;b<f.length;b+=1)f[b]&&f[b].m(i,null);e[25](i),C(d,a,h),C(d,s,h),o||(l=[et(t,"click",e[21]),et(s,"click",e[26])],o=!0)},p(d,h){if(h[0]&128&&pn(t,"disabled",d[7]),h[0]&5916){u=xe(d[2]);let b;for(b=0;b<u.length;b+=1){const g=Ts(d,u,b);f[b]?f[b].p(g,h):(f[b]=Ss(g),f[b].c(),f[b].m(i,null))}for(;b<f.length;b+=1)f[b].d(1);f.length=u.length}h[0]&1&&Mt(i,"transform","translateX("+d[0]+"px)"),h[0]&64&&pn(s,"disabled",d[6])},d(d){d&&(y(t),y(r),y(n),y(a),y(s)),ft(f,d),e[25](null),o=!1,At(l)}}}function Ss(e){let t,r,n=e[8]("gamesSlider.playNow")+"",i,a,s,o,l,u,f,d,h,b,g;function p(){return e[22](e[42])}function w(){return e[23](e[44])}return{c(){t=_("div"),r=_("span"),i=O(n),o=U(),l=_("img"),h=U(),c(r,"class",a="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":"")),c(r,"part",s="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":"")),c(l,"class","GameThumbnail"),c(l,"part","GameThumbnail"),We(l.src,u=e[42].thumbnail)||c(l,"src",u),c(l,"width","132px"),c(l,"height","100px"),c(l,"alt",f=e[42].name),c(l,"title",d=e[42].name),c(t,"class","item"),c(t,"part","item"),c(t,"tabindex","0"),c(t,"role","button")},m(k,L){C(k,t,L),m(t,r),m(r,i),m(t,o),m(t,l),m(t,h),b||(g=[et(t,"click",p),et(t,"mouseenter",w),et(t,"mouseleave",e[24])],b=!0)},p(k,L){e=k,L[0]&256&&n!==(n=e[8]("gamesSlider.playNow")+"")&&W(i,n),L[0]&24&&a!==(a="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":""))&&c(r,"class",a),L[0]&24&&s!==(s="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":""))&&c(r,"part",s),L[0]&4&&!We(l.src,u=e[42].thumbnail)&&c(l,"src",u),L[0]&4&&f!==(f=e[42].name)&&c(l,"alt",f),L[0]&4&&d!==(d=e[42].name)&&c(l,"title",d)},d(k){k&&y(t),b=!1,At(g)}}}function gc(e){let t,r=e[2]&&ks(e);return{c(){t=_("div"),r&&r.c(),c(t,"class","TournamentsGamesSlider"),c(t,"part","TournamentsGamesSlider")},m(n,i){C(n,t,i),r&&r.m(t,null),e[27](t)},p(n,i){n[2]?r?r.p(n,i):(r=ks(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(),e[27](null)}}}let Ps="3",bc=30;function _c(e,t,r){let n,i,a;_t(e,yt,A=>r(8,a=A));let{pagfactor:s="175"}=t,{lang:o=""}=t,{session:l=""}=t,{tourid:u=""}=t,{endpoint:f=""}=t,d=window.navigator.userAgent,h,b=0,g,p=null,w=null,k=!1,L,v,T=0,M=[],B=[];const F=A=>{r(3,k=!0),r(4,L=A)},Y=()=>{r(3,k=!1),r(4,L=-1)},E=A=>A.touches||A.originalEvent.touches,N=A=>{const ce=E(A)[0];p=ce.clientX,w=ce.clientY},we=A=>{if(!p||!w)return;let ce=A.touches[0].clientX,Ge=A.touches[0].clientY,Pe=p-ce,it=w-Ge;Math.abs(Pe)>Math.abs(it)&&(Pe>0?ge(1):ge(-1)),p=null,w=null},ge=A=>{A>0&&!i?(r(0,b-=h),r(0,b=b<T?T:b)):A<0&&!n&&(r(0,b+=h),r(0,b=b>0?0:b))},Me=A=>{window.postMessage({type:"TournamentGameAction",gameId:A.id,name:A.name,launchUrl:A.launchUrl},window.location.href)},Re=()=>{g.addEventListener("touchstart",N,{passive:!0}),g.addEventListener("touchmove",we,{passive:!0})},Ee=()=>{setTimeout(()=>{r(18,T=(v.scrollWidth-v.clientWidth)*-1),r(13,s=new String(v.scrollWidth/M.length)),h=parseInt(Ps,10)*parseFloat(s,2).toFixed(2)},1e3)},Ne=()=>{r(2,M=B.items),B.total},_e=(A,ce)=>{let Ge=new URL(A+`/v1/tournaments/${ce}`),Pe=new Headers({"X-SessionId":l});Ge.searchParams.append("platform",Vn(d)),Ge.searchParams.append("language",o),Ge.searchParams.append("expand","games"),Ge.searchParams.append("pagination",`games(limit=${bc},offset=${b})`),Ge.searchParams.append("fields","games(id,name,thumbnail,launchUrl)");let it={method:"GET",headers:Pe};fetch(Ge.href,it).then(Ye=>Ye.json()).then(Ye=>{r(19,B=Ye.item.games),r(19,B=nr({},B))})};let I=!1;Ft(()=>(r(20,I=!0),h=parseInt(Ps,10)*parseInt(s,10),()=>{g.removeEventListener("touchstart",N),g.removeEventListener("touchmove",we)}));const Le=()=>ge(-1),de=A=>Me(A),$=A=>F(A),be=()=>Y();function j(A){en[A?"unshift":"push"](()=>{v=A,r(5,v)})}const ne=()=>ge(1);function Te(A){en[A?"unshift":"push"](()=>{g=A,r(1,g)})}return e.$$set=A=>{"pagfactor"in A&&r(13,s=A.pagfactor),"lang"in A&&r(14,o=A.lang),"session"in A&&r(15,l=A.session),"tourid"in A&&r(16,u=A.tourid),"endpoint"in A&&r(17,f=A.endpoint)},e.$$.update=()=>{e.$$.dirty[0]&1&&r(7,n=b===0),e.$$.dirty[0]&262145&&r(6,i=b<=T),e.$$.dirty[0]&2&&g&&Re(),e.$$.dirty[0]&524288&&B&&Ne(),e.$$.dirty[0]&4&&M&&M.length&&Ee(),e.$$.dirty[0]&1277952&&I&&f&&l&&u&&_e(f,u)},r(0,b=0),[b,g,M,k,L,v,i,n,a,F,Y,ge,Me,s,o,l,u,f,T,B,I,Le,de,$,be,j,ne,Te]}class Vi extends Je{constructor(t){super(),Ve(this,t,_c,gc,je,{pagfactor:13,lang:14,session:15,tourid:16,endpoint:17},null,[-1,-1])}get pagfactor(){return this.$$.ctx[13]}set pagfactor(t){this.$$set({pagfactor:t}),D()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),D()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),D()}get tourid(){return this.$$.ctx[16]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[17]}set endpoint(t){this.$$set({endpoint:t}),D()}}customElements.define("games-router",qe(Vi,{pagfactor:{},lang:{},session:{},tourid:{},endpoint:{}},[],[],!0));class qi extends Je{constructor(t){super(),Ve(this,t,null,null,je,{})}}customElements.define("tm-line",qe(qi,{},[],[],!0));function xs(e,t,r){const n=e.slice();return n[2]=t[r],n}function yc(e){let t;return{c(){t=O(" ")},m(r,n){C(r,t,n)},p:Q,i:Q,o:Q,d(r){r&&y(t)}}}function Cc(e){let t,r,n=xe(e[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=Ds(xs(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o&1){n=xe(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),se(i[l],1)):(i[l]=Ds(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function Ds(e){let t,r;return t=new Rn({props:{title:e[2].title,text:e[2].description,exportparts:"DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"}}),{c(){lr(t.$$.fragment)},m(n,i){Jt(t,n,i),r=!0},p(n,i){const a={};i&1&&(a.title=n[2].title),i&1&&(a.text=n[2].description),t.$set(a)},i(n){r||(se(t.$$.fragment,n),r=!0)},o(n){ke(t.$$.fragment,n),r=!1},d(n){Zt(t,n)}}}function vc(e){let t,r,n,i;const a=[Cc,yc],s=[];function o(l,u){return l[0]&&l[0].length>0?0:1}return t=o(e),r=s[t]=a[t](e),{c(){r.c(),n=Se()},m(l,u){s[t].m(l,u),C(l,n,u),i=!0},p(l,[u]){let f=t;t=o(l),t===f?s[t].p(l,u):(ut(),ke(s[f],1,1,()=>{s[f]=null}),ct(),r=s[t],r?r.p(l,u):(r=s[t]=a[t](l),r.c()),se(r,1),r.m(n.parentNode,n))},i(l){i||(se(r),i=!0)},o(l){ke(r),i=!1},d(l){l&&y(n),s[t].d(l)}}}function wc(e,t,r){let{tournamentdescription:n}=t;const i=()=>{r(0,n)};return e.$$set=a=>{"tournamentdescription"in a&&r(0,n=a.tournamentdescription)},e.$$.update=()=>{e.$$.dirty&1&&n&&i()},[n]}class Ji extends Je{constructor(t){super(),Ve(this,t,wc,vc,je,{tournamentdescription:0})}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(t){this.$$set({tournamentdescription:t}),D()}}customElements.define("description-router",qe(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",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%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",al="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 Es(e,t,r){const n=e.slice();return n[71]=t[r],n}function Ls(e,t,r){const n=e.slice();return n[68]=t[r],n}function Ms(e,t,r){const n=e.slice();return n[71]=t[r],n[77]=r,n}function Rs(e,t,r){const n=e.slice();return n[68]=t[r],n}function As(e,t,r){const n=e.slice();return n[71]=t[r],n}function Tc(e){let t,r,n,i,a,s,o,l,u=e[14]("tournamentsTable.nowinners")+"",f,d=xe(e[4]),h=[];for(let b=0;b<d.length;b+=1)h[b]=Fs(Es(e,d,b));return{c(){t=_("div"),r=_("table"),n=_("thead"),i=_("tr");for(let b=0;b<h.length;b+=1)h[b].c();a=U(),s=_("tbody"),o=_("tr"),l=_("td"),f=O(u),c(i,"part","LeftTableTr"),c(n,"part","LeftTableThead"),c(n,"class","LeftTableThead"),c(l,"colspan",e[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(t,"class","TournamentsTable"),c(t,"part","TournamentsTable"),Mt(t,"display",e[10]?"none":"")},m(b,g){C(b,t,g),m(t,r),m(r,n),m(n,i);for(let p=0;p<h.length;p+=1)h[p]&&h[p].m(i,null);m(r,a),m(r,s),m(s,o),m(o,l),m(l,f)},p(b,g){if(g[0]&86034){d=xe(b[4]);let p;for(p=0;p<d.length;p+=1){const w=Es(b,d,p);h[p]?h[p].p(w,g):(h[p]=Fs(w),h[p].c(),h[p].m(i,null))}for(;p<h.length;p+=1)h[p].d(1);h.length=d.length}g[0]&16384&&u!==(u=b[14]("tournamentsTable.nowinners")+"")&&W(f,u),g[0]&512&&c(l,"colspan",b[9]),g[0]&1024&&Mt(t,"display",b[10]?"none":"")},d(b){b&&y(t),ft(h,b)}}}function kc(e){let t,r=e[6]&&!e[10]&&Os(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,i){n[6]&&!n[10]?r?r.p(n,i):(r=Os(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&y(t),r&&r.d(n)}}}function Sc(e){let t;function r(a,s){return Wn(a[15])==!0?Ec:Dc}let i=r(e)(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){i.p(a,s)},d(a){a&&y(t),i.d(a)}}}function Pc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n;return{c(){t=_("p"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableP")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(t,"data-sort",i[12])},d(i){i&&y(t)}}}function xc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n,i,a;function s(){return e[37](e[71])}return{c(){t=_("button"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableButton")},m(o,l){C(o,t,l),m(t,n),i||(a=et(t,"click",s),i=!0)},p(o,l){e=o,l[0]&16400&&r!==(r=e[14](`tournamentsTable.${e[71]}`)+"")&&W(n,r),l[0]&4096&&c(t,"data-sort",e[12])},d(o){o&&y(t),i=!1,a()}}}function Fs(e){let t,r;function n(s,o){return s[1]=="true"?xc:Pc}let i=n(e),a=i(e);return{c(){t=_("th"),a.c(),r=U(),c(t,"part","LeftTableTh")},m(s,o){C(s,t,o),a.m(t,null),m(t,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(t,r)))},d(s){s&&y(t),a.d()}}}function Os(e){let t,r,n,i=e[14]("tournamentsTable.nowinners")+"",a;return{c(){t=_("div"),r=_("div"),n=_("p"),a=O(i),c(r,"class","TableUser"),c(r,"part","TableUser"),c(t,"class","TableContent"),c(t,"part","TableContent")},m(s,o){C(s,t,o),m(t,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(t)}}}function Dc(e){let t,r,n,i,a,s,o,l,u,f,d,h,b=xe(e[4]),g=[];for(let T=0;T<b.length;T+=1)g[T]=zs(Ms(e,b,T));let p=e[0]=="true"&&e[5]&&Bs(e),w=e[6]&&Hs(e);function k(T,M){return T[6]?Wc:Yc}let L=k(e),v=L(e);return{c(){t=_("div"),r=_("table"),n=_("thead"),i=_("tr");for(let T=0;T<g.length;T+=1)g[T].c();a=U(),s=_("tbody"),p&&p.c(),o=U(),w&&w.c(),l=U(),u=_("div"),f=_("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(t,"class","TournamentsTable"),c(t,"part","TournamentsTable")},m(T,M){C(T,t,M),m(t,r),m(r,n),m(n,i);for(let B=0;B<g.length;B+=1)g[B]&&g[B].m(i,null);m(r,a),m(r,s),p&&p.m(s,null),m(s,o),w&&w.m(s,null),m(t,l),m(t,u),m(u,f),v.m(f,null),d||(h=et(f,"click",e[36]),d=!0)},p(T,M){if(M[0]&86034){b=xe(T[4]);let B;for(B=0;B<b.length;B+=1){const F=Ms(T,b,B);g[B]?g[B].p(F,M):(g[B]=zs(F),g[B].c(),g[B].m(i,null))}for(;B<g.length;B+=1)g[B].d(1);g.length=b.length}T[0]=="true"&&T[5]?p?p.p(T,M):(p=Bs(T),p.c(),p.m(s,o)):p&&(p.d(1),p=null),T[6]?w?w.p(T,M):(w=Hs(T),w.c(),w.m(s,null)):w&&(w.d(1),w=null),L!==(L=k(T))&&(v.d(1),v=L(T),v&&(v.c(),v.m(f,null)))},d(T){T&&y(t),ft(g,T),p&&p.d(),w&&w.d(),v.d(),d=!1,h()}}}function Ec(e){let t,r,n,i,a=xe(e[4]),s=[];for(let u=0;u<a.length;u+=1)s[u]=Gs(As(e,a,u));let o=e[0]=="true"&&e[5]&&Ys(e),l=e[6]&&Vs(e);return{c(){t=_("div"),r=_("div");for(let u=0;u<s.length;u+=1)s[u].c();n=U(),o&&o.c(),i=U(),l&&l.c(),c(r,"class","TableUser TableHeadRow"),c(r,"part","TableUser TableHeadRow"),c(t,"class","TableContent"),c(t,"part","TableContent")},m(u,f){C(u,t,f),m(t,r);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(r,null);m(t,n),o&&o.m(t,null),m(t,i),l&&l.m(t,null)},p(u,f){if(f[0]&86034){a=xe(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(t,i)):o&&(o.d(1),o=null),u[6]?l?l.p(u,f):(l=Vs(u),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},d(u){u&&y(t),ft(s,u),o&&o.d(),l&&l.d()}}}function Lc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n;return{c(){t=_("p"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableP"),c(t,"class","LeftTableP")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(t,"data-sort",i[12])},d(i){i&&y(t)}}}function Mc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n,i,a;function s(){return e[35](e[71])}return{c(){t=_("button"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableButton")},m(o,l){C(o,t,l),m(t,n),i||(a=et(t,"click",s),i=!0)},p(o,l){e=o,l[0]&16400&&r!==(r=e[14](`tournamentsTable.${e[71]}`)+"")&&W(n,r),l[0]&4096&&c(t,"data-sort",e[12])},d(o){o&&y(t),i=!1,a()}}}function zs(e){let t,r;function n(s,o){return s[1]=="true"?Mc:Lc}let i=n(e),a=i(e);return{c(){t=_("th"),a.c(),r=U(),c(t,"part","LeftTableTh LeftTableTh_"+e[77]),c(t,"class","LeftTableTh")},m(s,o){C(s,t,o),a.m(t,null),m(t,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(t,r)))},d(s){s&&y(t),a.d()}}}function Bs(e){let t,r,n,i,a,s,o,l,u,f,d,h,b,g,p,w,k,L,v=e[5].Player+"",T,M,B,F,Y=e[5].Points+"",E,N,we,ge,Me,Re,Ee,Ne,_e,I;function Le(A,ce){return A[5].Rank<4&&A[2]=="true"?Ac:Rc}let de=Le(e),$=de(e);function be(A,ce){return A[5].Prize?Bc:zc}let j=be(e),ne=j(e),Te=e[5].Unqualified&&Ns(e);return{c(){t=_("tr"),r=_("td"),n=_("div"),i=_("strong"),$.c(),a=U(),s=_("div"),o=_("img"),f=U(),d=_("img"),w=U(),k=_("td"),L=_("div"),T=O(v),M=U(),B=_("td"),F=_("div"),E=O(Y),N=U(),we=_("td"),ge=_("div"),ne.c(),_e=U(),Te&&Te.c(),I=Se(),We(o.src,l=il)||c(o,"src",l),c(o,"alt","UpArrow"),c(o,"part","Rank_Arror_UP"),c(o,"class",u="svg Arrow Up "+(e[7]&&e[8]?"Show":"Hidden")),We(d.src,h=al)||c(d,"src",h),c(d,"alt","DownArrow"),c(d,"part","Rank_Arror_Down"),c(d,"class",b="svg Arrow Down "+(e[7]&&!e[8]?"Show":"Hidden")),c(s,"class",g="ScoreChangeFlag "+(e[7]?"Show":"Hidden")),c(s,"part",p="ScoreChangeFlag "+(e[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(L,"part","TableCellContent"),c(L,"class","TableCellContent CellContent"),c(k,"part","LeftTableTd"),c(k,"class","LeftTableTd"),c(F,"class","Flex CellContent"),c(F,"part","Flex"),c(B,"part","LeftTableTd"),c(B,"class","LeftTableTd"),c(ge,"class","PrizeCell CellContent"),c(ge,"part","PrizeCell"),c(we,"class",Me="LeftTableTd "+(e[5].Unqualified?"":"Qualified")),c(we,"part",Re="LeftTableTd "+(e[5].Unqualified?"":"Qualified")),c(t,"class",Ee="FirstRow "+(e[5].Unqualified?"UnqualifiedRow":"")),c(t,"part",Ne="FirstRow "+(e[5].Unqualified?"UnqualifiedRow":""))},m(A,ce){C(A,t,ce),m(t,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(t,w),m(t,k),m(k,L),m(L,T),m(t,M),m(t,B),m(B,F),m(F,E),m(t,N),m(t,we),m(we,ge),ne.m(ge,null),C(A,_e,ce),Te&&Te.m(A,ce),C(A,I,ce)},p(A,ce){de===(de=Le(A))&&$?$.p(A,ce):($.d(1),$=de(A),$&&($.c(),$.m(i,a))),ce[0]&384&&u!==(u="svg Arrow Up "+(A[7]&&A[8]?"Show":"Hidden"))&&c(o,"class",u),ce[0]&384&&b!==(b="svg Arrow Down "+(A[7]&&!A[8]?"Show":"Hidden"))&&c(d,"class",b),ce[0]&128&&g!==(g="ScoreChangeFlag "+(A[7]?"Show":"Hidden"))&&c(s,"class",g),ce[0]&128&&p!==(p="ScoreChangeFlag "+(A[7]?"Show":"Hidden"))&&c(s,"part",p),ce[0]&32&&v!==(v=A[5].Player+"")&&W(T,v),ce[0]&32&&Y!==(Y=A[5].Points+"")&&W(E,Y),j===(j=be(A))&&ne?ne.p(A,ce):(ne.d(1),ne=j(A),ne&&(ne.c(),ne.m(ge,null))),ce[0]&32&&Me!==(Me="LeftTableTd "+(A[5].Unqualified?"":"Qualified"))&&c(we,"class",Me),ce[0]&32&&Re!==(Re="LeftTableTd "+(A[5].Unqualified?"":"Qualified"))&&c(we,"part",Re),ce[0]&32&&Ee!==(Ee="FirstRow "+(A[5].Unqualified?"UnqualifiedRow":""))&&c(t,"class",Ee),ce[0]&32&&Ne!==(Ne="FirstRow "+(A[5].Unqualified?"UnqualifiedRow":""))&&c(t,"part",Ne),A[5].Unqualified?Te?Te.p(A,ce):(Te=Ns(A),Te.c(),Te.m(I.parentNode,I)):Te&&(Te.d(1),Te=null)},d(A){A&&(y(t),y(_e),y(I)),$.d(),ne.d(),Te&&Te.d(A)}}}function Rc(e){let t,r,n=(e[5].Rank||"")+"",i;return{c(){t=_("em"),r=O("#"),i=O(n),c(t,"part","LeftTableTdEm")},m(a,s){C(a,t,s),m(t,r),m(t,i)},p(a,s){s[0]&32&&n!==(n=(a[5].Rank||"")+"")&&W(i,n)},d(a){a&&y(t)}}}function Ac(e){let t;function r(a,s){return a[5].Rank>0?Oc:Fc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function Fc(e){let t;return{c(){t=_("em"),t.textContent="#",c(t,"part","LeftTableTdEm")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Oc(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[5].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&2080&&!We(t.src,r=n[11][n[5].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function zc(e){let t;return{c(){t=O("-")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Bc(e){let t=e[5].Prize+"",r;return{c(){r=O(t)},m(n,i){C(n,r,i)},p(n,i){i[0]&32&&t!==(t=n[5].Prize+"")&&W(r,t)},d(n){n&&y(r)}}}function Ns(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){t=_("tr"),r=_("td"),n=_("div"),i=U(),s=O(a),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${qn}")`),c(r,"colspan",e[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(t,"class","TooltipsRow"),c(t,"part","TooltipsRow")},m(o,l){C(o,t,l),m(t,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(t)}}}function Hs(e){let t,r=xe(e[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=js(Ls(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Se()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,t,a)},p(i,a){if(a[0]&27524){r=xe(i[13]);let s;for(s=0;s<r.length;s+=1){const o=Ls(i,r,s);n[s]?n[s].p(o,a):(n[s]=js(o),n[s].c(),n[s].m(t.parentNode,t))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(t),ft(n,i)}}}function Nc(e){let t,r=(e[68].Rank||"")+"",n;return{c(){t=O("#"),n=O(r)},m(i,a){C(i,t,a),C(i,n,a)},p(i,a){a[0]&8192&&r!==(r=(i[68].Rank||"")+"")&&W(n,r)},d(i){i&&(y(t),y(n))}}}function Hc(e){let t;function r(a,s){return a[68].Rank>0?Ic:Uc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function Uc(e){let t;return{c(){t=O("#")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Ic(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[68].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&10240&&!We(t.src,r=n[11][n[68].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function Us(e){let t,r,n,i,a,s,o;return{c(){t=_("img"),i=U(),a=_("img"),We(t.src,r=il)||c(t,"src",r),c(t,"alt","UpArrow"),c(t,"part","Rank_Arror_UP"),c(t,"class",n="svg Arrow Up "+(e[7]&&e[8]?"Show":"Hidden")),We(a.src,s=al)||c(a,"src",s),c(a,"alt","DownArrow"),c(a,"part","Rank_Arror_Down"),c(a,"class",o="svg Arrow Down "+(e[7]&&!e[8]?"Show":"Hidden"))},m(l,u){C(l,t,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(t,"class",n),u[0]&384&&o!==(o="svg Arrow Down "+(l[7]&&!l[8]?"Show":"Hidden"))&&c(a,"class",o)},d(l){l&&(y(t),y(i),y(a))}}}function jc(e){let t;return{c(){t=O("-")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Gc(e){let t=e[68].Prize+"",r;return{c(){r=O(t)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&t!==(t=n[68].Prize+"")&&W(r,t)},d(n){n&&y(r)}}}function Is(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l;return{c(){t=_("tr"),r=_("td"),n=_("div"),i=U(),s=O(a),o=U(),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${qn}")`),c(r,"colspan",e[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(t,"class",l="TooltipsRow Rank"+e[68].Rank+"Tr CurrentUserTr"),c(t,"part","TooltipsRow")},m(u,f){C(u,t,f),m(t,r),m(r,n),m(r,i),m(r,s),m(t,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(t,"class",l)},d(u){u&&y(t)}}}function js(e){let t,r,n,i,a,s,o,l,u,f,d,h,b,g=e[68].Player+"",p,w,k,L,v,T=e[68].Points+"",M,B,F,Y,E,N,we,ge,Me,Re;function Ee(j,ne){return j[68].Rank<4&&j[2]=="true"?Hc:Nc}let Ne=Ee(e),_e=Ne(e),I=e[68].isCurrentUser&&Us(e);function Le(j,ne){return j[68].Prize?Gc:jc}let de=Le(e),$=de(e),be=e[68].Unqualified&&e[68].isCurrentUser&&Is(e);return{c(){t=_("tr"),r=_("td"),n=_("div"),i=_("strong"),a=_("em"),_e.c(),s=U(),o=_("div"),I&&I.c(),d=U(),h=_("td"),b=_("div"),p=O(g),w=U(),k=_("td"),L=_("div"),v=_("div"),M=O(T),B=U(),F=_("td"),Y=_("div"),$.c(),Me=U(),be&&be.c(),Re=Se(),c(o,"class",l="ScoreChangeFlag "+(e[7]?"Show":"Hidden")),c(o,"part",u="ScoreChangeFlag "+(e[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-"+e[68].Rank),c(r,"class","LeftTableTd"),c(b,"part","PlayerCellContent"),c(b,"class","Player CellContent"),c(h,"part","LeftTableTd"),c(h,"class","LeftTableTd"),c(v,"class","Flex ScoreUp"),c(v,"part","Flex ScoreUp"),c(L,"part","ScoreCellContent"),c(L,"class","Score CellContent"),c(k,"part","LeftTableTd"),c(k,"class","LeftTableTd"),c(Y,"part","PrizeCellContent"),c(Y,"class","Prize CellContent "),c(F,"class",E="LeftTableTd "+(e[68].Unqualified?"":"Qualified")),c(F,"part",N="LeftTableTd "+(e[68].Unqualified?"":"Qualified")),c(t,"class",we="LeftTableTr Rank"+e[68].Rank+"Tr "+(e[68].isCurrentUser?"FirstRow":"")+" "+(e[68].isCurrentUser&&e[68].Unqualified?"UnqualifiedRow":"")),c(t,"part",ge="LeftTableTr "+(e[68].isCurrentUser?"FirstRow":"")+" "+(e[68].isCurrentUser&&e[68].Unqualified?"UnqualifiedRow":""))},m(j,ne){C(j,t,ne),m(t,r),m(r,n),m(n,i),m(i,a),_e.m(a,null),m(a,s),m(a,o),I&&I.m(o,null),m(t,d),m(t,h),m(h,b),m(b,p),m(t,w),m(t,k),m(k,L),m(L,v),m(v,M),m(t,B),m(t,F),m(F,Y),$.m(Y,null),C(j,Me,ne),be&&be.m(j,ne),C(j,Re,ne)},p(j,ne){Ne===(Ne=Ee(j))&&_e?_e.p(j,ne):(_e.d(1),_e=Ne(j),_e&&(_e.c(),_e.m(a,s))),j[68].isCurrentUser?I?I.p(j,ne):(I=Us(j),I.c(),I.m(o,null)):I&&(I.d(1),I=null),ne[0]&128&&l!==(l="ScoreChangeFlag "+(j[7]?"Show":"Hidden"))&&c(o,"class",l),ne[0]&128&&u!==(u="ScoreChangeFlag "+(j[7]?"Show":"Hidden"))&&c(o,"part",u),ne[0]&8192&&f!==(f="LeftTableTd Rank-"+j[68].Rank)&&c(r,"part",f),ne[0]&8192&&g!==(g=j[68].Player+"")&&W(p,g),ne[0]&8192&&T!==(T=j[68].Points+"")&&W(M,T),de===(de=Le(j))&&$?$.p(j,ne):($.d(1),$=de(j),$&&($.c(),$.m(Y,null))),ne[0]&8192&&E!==(E="LeftTableTd "+(j[68].Unqualified?"":"Qualified"))&&c(F,"class",E),ne[0]&8192&&N!==(N="LeftTableTd "+(j[68].Unqualified?"":"Qualified"))&&c(F,"part",N),ne[0]&8192&&we!==(we="LeftTableTr Rank"+j[68].Rank+"Tr "+(j[68].isCurrentUser?"FirstRow":"")+" "+(j[68].isCurrentUser&&j[68].Unqualified?"UnqualifiedRow":""))&&c(t,"class",we),ne[0]&8192&&ge!==(ge="LeftTableTr "+(j[68].isCurrentUser?"FirstRow":"")+" "+(j[68].isCurrentUser&&j[68].Unqualified?"UnqualifiedRow":""))&&c(t,"part",ge),j[68].Unqualified&&j[68].isCurrentUser?be?be.p(j,ne):(be=Is(j),be.c(),be.m(Re.parentNode,Re)):be&&(be.d(1),be=null)},d(j){j&&(y(t),y(Me),y(Re)),_e.d(),I&&I.d(),$.d(),be&&be.d(j)}}}function Yc(e){let t,r;return{c(){t=$e("svg"),r=$e("path"),c(r,"d","M6 9l6 6 6-6"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round")},m(n,i){C(n,t,i),m(t,r)},d(n){n&&y(t)}}}function Wc(e){let t,r;return{c(){t=$e("svg"),r=$e("path"),c(r,"d","M18 15l-6-6-6 6"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round")},m(n,i){C(n,t,i),m(t,r)},d(n){n&&y(t)}}}function Vc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n;return{c(){t=_("p"),n=O(r),c(t,"data-sort",e[12])},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(t,"data-sort",i[12])},d(i){i&&y(t)}}}function qc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n,i,a;function s(){return e[34](e[71])}return{c(){t=_("button"),n=O(r),c(t,"data-sort",e[12])},m(o,l){C(o,t,l),m(t,n),i||(a=et(t,"click",s),i=!0)},p(o,l){e=o,l[0]&16400&&r!==(r=e[14](`tournamentsTable.${e[71]}`)+"")&&W(n,r),l[0]&4096&&c(t,"data-sort",e[12])},d(o){o&&y(t),i=!1,a()}}}function Gs(e){let t,r,n,i;function a(l,u){return l[1]=="true"?qc:Vc}let s=a(e),o=s(e);return{c(){t=_("div"),o.c(),r=U(),c(t,"class",n="TableCell Table"+e[71]),c(t,"part",i="TableCell Table"+e[71])},m(l,u){C(l,t,u),o.m(t,null),m(t,r)},p(l,u){s===(s=a(l))&&o?o.p(l,u):(o.d(1),o=s(l),o&&(o.c(),o.m(t,r))),u[0]&16&&n!==(n="TableCell Table"+l[71])&&c(t,"class",n),u[0]&16&&i!==(i="TableCell Table"+l[71])&&c(t,"part",i)},d(l){l&&y(t),o.d()}}}function Ys(e){let t,r,n,i,a,s,o=e[5].Player+"",l,u,f,d=e[5].Points+"",h,b,g,p,w,k;function L(E,N){return E[5].Rank<4&&E[2]=="true"?Zc:Jc}let v=L(e),T=v(e);function M(E,N){return E[5].Prize?$c:Kc}let B=M(e),F=B(e),Y=e[5].Unqualified&&Ws(e);return{c(){t=_("div"),r=_("div"),T.c(),a=U(),s=_("div"),l=O(o),u=U(),f=_("div"),h=O(d),b=U(),F.c(),w=U(),Y&&Y.c(),k=Se(),c(r,"class",n="TableCell TableRank "+(e[5].Prize?"Qualified":"")),c(r,"part",i="TableCell TableRank RankFirstRow "+(e[5].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(t,"class",g="TableUser CurrentUserRow "+(e[5].Unqualified?"UnqualifiedRow":"")),c(t,"part",p="TableUser CurrentUserRow "+(e[5].Unqualified?"UnqualifiedRow":""))},m(E,N){C(E,t,N),m(t,r),T.m(r,null),m(t,a),m(t,s),m(s,l),m(t,u),m(t,f),m(f,h),m(t,b),F.m(t,null),C(E,w,N),Y&&Y.m(E,N),C(E,k,N)},p(E,N){v===(v=L(E))&&T?T.p(E,N):(T.d(1),T=v(E),T&&(T.c(),T.m(r,null))),N[0]&32&&n!==(n="TableCell TableRank "+(E[5].Prize?"Qualified":""))&&c(r,"class",n),N[0]&32&&i!==(i="TableCell TableRank RankFirstRow "+(E[5].Prize?"Qualified":""))&&c(r,"part",i),N[0]&32&&o!==(o=E[5].Player+"")&&W(l,o),N[0]&32&&d!==(d=E[5].Points+"")&&W(h,d),B===(B=M(E))&&F?F.p(E,N):(F.d(1),F=B(E),F&&(F.c(),F.m(t,null))),N[0]&32&&g!==(g="TableUser CurrentUserRow "+(E[5].Unqualified?"UnqualifiedRow":""))&&c(t,"class",g),N[0]&32&&p!==(p="TableUser CurrentUserRow "+(E[5].Unqualified?"UnqualifiedRow":""))&&c(t,"part",p),E[5].Unqualified?Y?Y.p(E,N):(Y=Ws(E),Y.c(),Y.m(k.parentNode,k)):Y&&(Y.d(1),Y=null)},d(E){E&&(y(t),y(w),y(k)),T.d(),F.d(),Y&&Y.d(E)}}}function Jc(e){let t,r=(e[5].Rank||"")+"",n;return{c(){t=_("em"),n=O(r),c(t,"part","LeftTableTdEm")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&32&&r!==(r=(i[5].Rank||"")+"")&&W(n,r)},d(i){i&&y(t)}}}function Zc(e){let t;function r(a,s){return a[5].Rank>0?Qc:Xc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function Xc(e){let t;return{c(){t=_("em"),t.textContent="#",c(t,"part","LeftTableTdEm")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Qc(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[5].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&2080&&!We(t.src,r=n[11][n[5].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function Kc(e){let t;return{c(){t=_("div"),t.textContent="-",c(t,"class","TableCell TablePrize"),c(t,"part","TableCell TablePrize")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function $c(e){let t,r=e[5].Prize+"",n,i,a;return{c(){t=_("div"),n=O(r),c(t,"class",i="TableCell TablePrize "+(e[5].Unqualified?"":"Qualified")),c(t,"part",a="TableCell TablePrize "+(e[5].Unqualified?"":"Qualified"))},m(s,o){C(s,t,o),m(t,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(t,"class",i),o[0]&32&&a!==(a="TableCell TablePrize "+(s[5].Unqualified?"":"Qualified"))&&c(t,"part",a)},d(s){s&&y(t)}}}function Ws(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){t=_("div"),r=_("div"),n=U(),i=_("em"),s=O(a),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${qn}")`),c(i,"part","TableUserTooltipsEm"),c(t,"class","TableUserTooltips"),c(t,"part","TableUserTooltips")},m(o,l){C(o,t,l),m(t,r),m(t,n),m(t,i),m(i,s)},p(o,l){l[0]&16384&&a!==(a=o[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a)},d(o){o&&y(t)}}}function Vs(e){let t,r=xe(e[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Js(Rs(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Se()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,t,a)},p(i,a){if(a[0]&26628){r=xe(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(t.parentNode,t))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(t),ft(n,i)}}}function e1(e){let t=(e[68].Rank||"")+"",r;return{c(){r=O(t)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&t!==(t=(n[68].Rank||"")+"")&&W(r,t)},d(n){n&&y(r)}}}function t1(e){let t;function r(a,s){return a[68].Rank>0?n1:r1}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function r1(e){let t;return{c(){t=_("em"),c(t,"part","LeftTableTdEm")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function n1(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[68].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&10240&&!We(t.src,r=n[11][n[68].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function i1(e){let t;return{c(){t=_("div"),t.textContent="-",c(t,"class","TableCell TablePrize"),c(t,"part","TableCell TablePrize")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function a1(e){let t,r=e[68].Prize+"",n,i,a;return{c(){t=_("div"),n=O(r),c(t,"class",i="TableCell TablePrize "+(e[68].Unqualified?"":"Qualified")),c(t,"part",a="TableCell TablePrize "+(e[68].Unqualified?"":"Qualified"))},m(s,o){C(s,t,o),m(t,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(t,"class",i),o[0]&8192&&a!==(a="TableCell TablePrize "+(s[68].Unqualified?"":"Qualified"))&&c(t,"part",a)},d(s){s&&y(t)}}}function qs(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l,u;return{c(){t=_("div"),r=_("div"),n=U(),i=_("em"),s=O(a),o=U(),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${qn}")`),c(i,"part","TableUserTooltipsEm"),c(t,"class",l="TableUserTooltips "+(e[68].Unqualified?"UnqualifiedRow":"")),c(t,"part",u="TableUserTooltips "+(e[68].Unqualified?"UnqualifiedRow":""))},m(f,d){C(f,t,d),m(t,r),m(t,n),m(t,i),m(i,s),m(t,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(t,"class",l),d[0]&8192&&u!==(u="TableUserTooltips "+(f[68].Unqualified?"UnqualifiedRow":""))&&c(t,"part",u)},d(f){f&&y(t)}}}function Js(e){let t,r,n,i,a,s,o=e[68].Player+"",l,u,f,d=e[68].Points+"",h,b,g,p,w,k;function L(E,N){return E[68].Rank<4&&E[2]=="true"?t1:e1}let v=L(e),T=v(e);function M(E,N){return E[68].Prize?a1:i1}let B=M(e),F=B(e),Y=e[68].isCurrentUser&&e[68].Unqualified&&qs(e);return{c(){t=_("div"),r=_("div"),T.c(),a=U(),s=_("div"),l=O(o),u=U(),f=_("div"),h=O(d),b=U(),F.c(),w=U(),Y&&Y.c(),k=Se(),c(r,"class",n="TableCell TableRank "+(e[68].Prize?"Qualified":"")),c(r,"part",i="TableCell Rank-"+e[68].Rank+" TableRank "+(e[68].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(t,"class",g="TableUser "+(e[68].isCurrentUser?"CurrentUserRow":"")),c(t,"part",p="TableUser "+(e[68].isCurrentUser?"CurrentUserRow":""))},m(E,N){C(E,t,N),m(t,r),T.m(r,null),m(t,a),m(t,s),m(s,l),m(t,u),m(t,f),m(f,h),m(t,b),F.m(t,null),C(E,w,N),Y&&Y.m(E,N),C(E,k,N)},p(E,N){v===(v=L(E))&&T?T.p(E,N):(T.d(1),T=v(E),T&&(T.c(),T.m(r,null))),N[0]&8192&&n!==(n="TableCell TableRank "+(E[68].Prize?"Qualified":""))&&c(r,"class",n),N[0]&8192&&i!==(i="TableCell Rank-"+E[68].Rank+" TableRank "+(E[68].Prize?"Qualified":""))&&c(r,"part",i),N[0]&8192&&o!==(o=E[68].Player+"")&&W(l,o),N[0]&8192&&d!==(d=E[68].Points+"")&&W(h,d),B===(B=M(E))&&F?F.p(E,N):(F.d(1),F=B(E),F&&(F.c(),F.m(t,null))),N[0]&8192&&g!==(g="TableUser "+(E[68].isCurrentUser?"CurrentUserRow":""))&&c(t,"class",g),N[0]&8192&&p!==(p="TableUser "+(E[68].isCurrentUser?"CurrentUserRow":""))&&c(t,"part",p),E[68].isCurrentUser&&E[68].Unqualified?Y?Y.p(E,N):(Y=qs(E),Y.c(),Y.m(k.parentNode,k)):Y&&(Y.d(1),Y=null)},d(E){E&&(y(t),y(w),y(k)),T.d(),F.d(),Y&&Y.d(E)}}}function s1(e){let t,r;function n(s,o){return!s[10]&&(s[3].length>0||s[5])?Sc:(t==null&&(t=Wn(s[15])==!0),t?kc:Tc)}let i=n(e),a=i(e);return{c(){a.c(),r=Se()},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:Q,o:Q,d(s){s&&y(r),a.d(s)}}}let o1=null;function l1(e,t,r){let n,i,a;_t(e,yt,P=>r(14,a=P));let{sortable:s=!1}=t,{firstrow:o=!0}=t,{lang:l="en"}=t,{scorefractiondigit:u="2"}=t,{session:f=""}=t,{userid:d=""}=t,{tourid:h=""}=t,{endpoint:b=""}=t,{tablelimit:g="30"}=t,{namemask:p=""}=t,{showunqualifiedplayer:w="true"}=t,{mobiletablelimit:k="15"}=t,{updatetableintime:L="true"}=t,{minscore:v=""}=t,{showrankasimage:T="true"}=t,{cellsetting:M={firstrow:!0}}=t,B=[],F=[],Y=null,E=null,N={},we=!0,ge=window.navigator.userAgent,Me=!1,Re=!1,Ee,Ne,_e,I=!1,Le,de={},$=!1,be,j,ne="",Te=!0,A=2;const ce=["Rank","Player","Points","Prize"],Ge=P=>({Rank:P.rank,Player:P.userID==ne?"me":P.shortName,Points:P.score.toLocaleString("en-US",{minimumFractionDigits:A,maximumFractionDigits:A}),Prize:P.prizeName,Unqualified:P.unqualified,BetCount:P.betCount,userID:P.userID}),Pe=()=>{f&&f.length>0&&f!="false"&&(ne=d),Ee=null,r(10,Te=!1)},it=(P,te)=>te.find(ye=>ye.Rank==P);let Ye,cr;const fr=P=>{if(!Ee){Ee=P;return}r(7,Me=Ee!=P),r(8,Re=Ee>P),Me&&(Ye=new Date().getTime(),setTimeout(function(){cr=new Date().getTime(),(cr-Ye)/1e3>4&&r(7,Me=!1),Ee=P},5e3))},dr=P=>{if(P.data&&P.data.type==="CasinoTableData"&&(r(3,F=P.data.tableData),r(13,n=F)),P.data&&P.data.type==="CasinoTableColumns"&&(r(4,B=P.data.tableColumns),r(9,Ne=B.length||4)),P.data&&P.data.type==="CasinoTableCurrentUserData"&&F&&(F.forEach(te=>{te.userID==P.data.tableData.userID&&(te.isCurrentUser=!0,Ee||(Ee=P.data.tableData.Rank),N?(fr(P.data.tableData.Rank),r(5,N=null)):fr(P.data.tableData.Rank))}),r(13,n=F)),o&&P.data&&P.data.type==="CasinoTableFirstRowData"){let te=P.data.tableData;if(!N){r(5,N=P.data.tableData),Ee=N.Rank;return}N&&N.UserID==te.UserID&&(fr(te.Rank),r(5,N=P.data.tableData))}if(P.data&&P.data.type==="CasinoTableDataUpdate"&&P.data.tableData){let te=P.data.tableData;if(!(F instanceof Array))return;F.forEach(function(re,ye){let Ae=it(re.Rank,te);Ae&&r(3,F[ye]=Ae,F)})}},Bt=P=>{const te=P===Y,re=E==="ASC",ye=te&&!re;r(31,Y=ye?null:P),r(32,E=ye?null:te&&re?"DESC":"ASC")},S=(P,te)=>{const re=te.toLowerCase();if(P==="string")return(ye,Ae)=>ye[re].localeCompare(Ae[re]);if(P==="number")return(ye,Ae)=>ye[re]-Ae[re];if(P==="object")return(ye,Ae)=>ye[re]-Ae[re]},H=()=>{let P=[];if(F&&(P=[...F]),!F.length)return F;const te=typeof F[0][Y.toLowerCase()];return P.sort(S(te,Y)),E==="ASC"?P:P.reverse()},q=()=>{r(6,we=!we)},z=P=>{$=!1;let te=[];return P&&P.length>0&&P.forEach(re=>{let ye=Ge(re);re.userID==ne&&(de=ye,$=!0),te.push(ye)}),te},ie=P=>nr(nr({},Ge(P)),P.unqualified===!0?{Rank:P.rank}:{}),X=P=>{if(!(!P.data||P.type!="message"))try{let te=P.data,re=JSON.parse(te);if(!re||!re.items)return;let ye=z(re.items);window.postMessage({type:"CasinoTableData",tableData:ye},window.location.href),$=ye.filter(dt=>dt.userID=ne).length>0,I=re.item&&!$,I&&(r(5,N=ie(re.item)),N&&window.postMessage({type:"CasinoTableFirstRowData",tableData:N},window.location.href));let Ae=$?de.Rank:N.Rank;(Ae!=j||be!=re.items.length)&&(be=re.items.length,window.postMessage({type:`TournamentRankInfo_${h}`,rankInfo:{rank:Ae,overallRank:be,prize:$?de.Prize||"-":N.Prize||"-"}},window.location.href),j=Ae),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:de},window.location.href)}catch(te){console.error(te)}},oe=(P,te)=>{let re=`${b}/v1/tournaments/${P}/leaderboard/updates?HeartBeat=false&${te.toString()}`;Le&&(Le.removeEventListener("message",X),Le.close()),Le=new tl.EventSourcePolyfill(re,{headers:{accept:"text/event-stream","X-SessionId":f}}),typeof Le!="undefined"&&Le.addEventListener("message",X)},x=(P,te)=>{let re=new URL(P+`/v1/tournaments/${te}/leaderboard`),ye=new Headers;re.searchParams.append("language",l);let Ae=`includeUnqualifiedPlayer=${w}`;if(Ae=p?`${Ae},shortNameMask=${p}`:Ae,Ae=v?`${Ae},minscore=${v}`:Ae,re.searchParams.append("filter",Ae),f){let ht=Wn(ge)==!0?k:g;re.searchParams.append("pagination",`offset=0,limit=${ht}`),ye.append("X-SessionId",f)}re.searchParams.append("platform",Vn(ge));let dt={method:"GET",headers:ye};r(10,Te=!0),r(5,N=null),fetch(re,dt).then(ht=>ht.json()).then(ht=>{r(10,Te=!1),_e=z(ht.items),ht.item&&!$&&(I=!0,r(5,N=ie(ht.item))),r(6,we=!0),j=$?de.Rank:N?N.Rank:0,be=ht.total,window.postMessage({type:"CasinoTableData",tableData:_e},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:ce},window.location.href),I&&window.postMessage({type:"CasinoTableFirstRowData",tableData:N},window.location.href),L==="true"&&oe(te,re.searchParams),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:de},window.location.href)})},Z=()=>{x(b,h)};let ee=[],ae=!1;Ft(()=>(r(11,ee=[An,An,rl,nl]),r(0,o=M?M.firstrow:!0),Pe(),r(33,ae=!0),window.addEventListener("message",dr),()=>{window.removeEventListener("message",dr)}));const J=P=>Bt(P),le=P=>Bt(P),Ue=()=>q(),Nt=P=>Bt(P);return e.$$set=P=>{"sortable"in P&&r(1,s=P.sortable),"firstrow"in P&&r(0,o=P.firstrow),"lang"in P&&r(18,l=P.lang),"scorefractiondigit"in P&&r(19,u=P.scorefractiondigit),"session"in P&&r(20,f=P.session),"userid"in P&&r(21,d=P.userid),"tourid"in P&&r(22,h=P.tourid),"endpoint"in P&&r(23,b=P.endpoint),"tablelimit"in P&&r(24,g=P.tablelimit),"namemask"in P&&r(25,p=P.namemask),"showunqualifiedplayer"in P&&r(26,w=P.showunqualifiedplayer),"mobiletablelimit"in P&&r(27,k=P.mobiletablelimit),"updatetableintime"in P&&r(28,L=P.updatetableintime),"minscore"in P&&r(29,v=P.minscore),"showrankasimage"in P&&r(2,T=P.showrankasimage),"cellsetting"in P&&r(30,M=P.cellsetting)},e.$$.update=()=>{e.$$.dirty[0]&8|e.$$.dirty[1]&3&&r(13,n=Y&&E?H():[...F]),e.$$.dirty[1]&3&&r(12,i=o1===Y?E:null),e.$$.dirty[0]&524288&&(A=Number(u)),e.$$.dirty[0]&1048576|e.$$.dirty[1]&4&&ae&&f&&Pe(),e.$$.dirty[0]&91488256|e.$$.dirty[1]&4&&l&&d&&f&&h&&w&&g&&ae&&Z()},[o,s,T,F,B,N,we,Me,Re,Ne,Te,ee,i,n,a,ge,Bt,q,l,u,f,d,h,b,g,p,w,k,L,v,M,Y,E,ae,J,le,Ue,Nt]}class Zi extends Je{constructor(t){super(),Ve(this,t,l1,s1,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(t){this.$$set({sortable:t}),D()}get firstrow(){return this.$$.ctx[0]}set firstrow(t){this.$$set({firstrow:t}),D()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),D()}get scorefractiondigit(){return this.$$.ctx[19]}set scorefractiondigit(t){this.$$set({scorefractiondigit:t}),D()}get session(){return this.$$.ctx[20]}set session(t){this.$$set({session:t}),D()}get userid(){return this.$$.ctx[21]}set userid(t){this.$$set({userid:t}),D()}get tourid(){return this.$$.ctx[22]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[23]}set endpoint(t){this.$$set({endpoint:t}),D()}get tablelimit(){return this.$$.ctx[24]}set tablelimit(t){this.$$set({tablelimit:t}),D()}get namemask(){return this.$$.ctx[25]}set namemask(t){this.$$set({namemask:t}),D()}get showunqualifiedplayer(){return this.$$.ctx[26]}set showunqualifiedplayer(t){this.$$set({showunqualifiedplayer:t}),D()}get mobiletablelimit(){return this.$$.ctx[27]}set mobiletablelimit(t){this.$$set({mobiletablelimit:t}),D()}get updatetableintime(){return this.$$.ctx[28]}set updatetableintime(t){this.$$set({updatetableintime:t}),D()}get minscore(){return this.$$.ctx[29]}set minscore(t){this.$$set({minscore:t}),D()}get showrankasimage(){return this.$$.ctx[2]}set showrankasimage(t){this.$$set({showrankasimage:t}),D()}get cellsetting(){return this.$$.ctx[30]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("leaderboard-router",qe(Zi,{sortable:{type:"Boolean"},firstrow:{type:"Boolean"},lang:{},scorefractiondigit:{},session:{},userid:{},tourid:{},endpoint:{},tablelimit:{},namemask:{},showunqualifiedplayer:{},mobiletablelimit:{},updatetableintime:{},minscore:{},showrankasimage:{},cellsetting:{}},[],[],!0));function u1(e){let t,r;return{c(){t=_("p"),r=O(e[0]),c(t,"class","Title"),c(t,"part","Title")},m(n,i){C(n,t,i),m(t,r)},p(n,[i]){i&1&&W(r,n[0])},i:Q,o:Q,d(n){n&&y(t)}}}function c1(e,t,r){let{lang:n="en"}=t,{title:i=""}=t;er({fallbackLocale:"en",initialLocale:"en"});const a=()=>{bt(n)};return e.$$set=s=>{"lang"in s&&r(1,n=s.lang),"title"in s&&r(0,i=s.title)},e.$$.update=()=>{e.$$.dirty&2&&n&&a()},[i,n]}class Xi extends Je{constructor(t){super(),Ve(this,t,c1,u1,je,{lang:1,title:0})}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),D()}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),D()}}customElements.define("title-line",qe(Xi,{lang:{},title:{}},[],[],!0));function f1(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
28
|
+
(`),f=O(u),d=U(),h=O(e[0]),b=O(")"),c(s,"part","ScoreCriteriaSpan"),c(r,"part","ScoreCriteriaP"),c(t,"class","ScoreCriteria"),c(t,"part","ScoreCriteria")},m(v,k){C(v,t,k),m(t,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,b),g||(p=$t(e[3].call(null,s)),g=!0)},p(v,[k]){k&4&&n!==(n=v[2]("tournamentsThumbnail.scoreCriteria")+"")&&W(i,n),k&2&&W(o,v[1]),k&4&&u!==(u=v[2]("tournamentsThumbnail.minbet")+"")&&W(f,u),k&1&&W(h,v[0])},i:Q,o:Q,d(v){v&&y(t),g=!1,p()}}}function z2(e,t,r){let n;_t(e,yt,f=>r(2,n=f));let{scorecriteria:i=""}=t,{lang:a="en"}=t,{minbetcount:s}=t;er({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(a),u()};let l="";const u=()=>{i=="BetCount"&&r(1,l=n("tournamentsThumbnail.betCount")),i=="MaxWinStakeRatio"&&r(1,l=n("tournamentsThumbnail.maxWinStakeRatio")),i=="WinStakeRatio"&&r(1,l=n("tournamentsThumbnail.winStakeRatio"))};return e.$$set=f=>{"scorecriteria"in f&&r(4,i=f.scorecriteria),"lang"in f&&r(5,a=f.lang),"minbetcount"in f&&r(0,s=f.minbetcount)},e.$$.update=()=>{e.$$.dirty&32&&a&&o(),e.$$.dirty&16&&i&&u()},[s,l,n,u,i,a]}class Hi extends Je{constructor(t){super(),Ve(this,t,z2,O2,je,{scorecriteria:4,lang:5,minbetcount:0})}get scorecriteria(){return this.$$.ctx[4]}set scorecriteria(t){this.$$set({scorecriteria:t}),D()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),D()}get minbetcount(){return this.$$.ctx[0]}set minbetcount(t){this.$$set({minbetcount:t}),D()}}customElements.define("score-criteria-cell",qe(Hi,{scorecriteria:{},lang:{},minbetcount:{}},[],[],!0));function B2(e){let t,r=e[1]&&as(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,i){n[1]?r?r.p(n,i):(r=as(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&y(t),r&&r.d(n)}}}function N2(e){let t,r=e[9]("tournamentsThController.login")+"",n,i,a,s=e[9]("tournamentsThController.register")+"",o,l,u;return{c(){t=_("button"),n=O(r),i=U(),a=_("button"),o=O(s),c(t,"class","LoginButton"),c(t,"part","LoginButton"),c(a,"class","RegisterButton"),c(a,"part","RegisterButton")},m(f,d){C(f,t,d),m(t,n),C(f,i,d),C(f,a,d),m(a,o),l||(u=[et(t,"click",e[23]),et(a,"click",e[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(t),y(i),y(a)),l=!1,At(u)}}}function as(e){let t,r,n,i,a;function s(u,f){return u[5]==!0?U2:H2}let o=s(e),l=o(e);return{c(){t=_("button"),l.c(),c(t,"class",r="JoinButton "+(e[3]?"JoinButtonFullSize":"")),c(t,"part",n="JoinButton "+(e[3]?"JoinButtonFullSize":"")),t.disabled=e[6]},m(u,f){C(u,t,f),l.m(t,null),i||(a=et(t,"click",e[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(t,null))),f&8&&r!==(r="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(t,"class",r),f&8&&n!==(n="JoinButton "+(u[3]?"JoinButtonFullSize":""))&&c(t,"part",n),f&64&&(t.disabled=u[6])},d(u){u&&y(t),l.d(),i=!1,a()}}}function H2(e){let t,r=e[9]("tournamentsThController.join")+"",n,i,a,s,o,l,u,f;return{c(){t=_("span"),n=O(r),i=U(),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(t,"part","JoinButtonSpan"),c(t,"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,t,h),m(t,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(t),y(i),y(a))}}}function U2(e){let t,r;return{c(){t=$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(t,"class","spinner"),c(t,"part","spinner")},m(n,i){C(n,t,i),m(t,r)},p:Q,d(n){n&&y(t)}}}function ss(e){let t,r=e[9]("tournamentsThController.joinerror")+"",n,i,a;return{c(){t=_("span"),n=O(r),i=U(),a=O(e[7]),c(t,"class","ErrorText"),c(t,"part","ErrorText")},m(s,o){C(s,t,o),m(t,n),m(t,i),m(t,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(t)}}}function I2(e){let t,r,n;function i(l,u){if(!l[4])return N2;if(l[2]!="Closed"&&l[2]!="Closing")return B2}let a=i(e),s=a&&a(e),o=(e[6]||e[8])&&ss(e);return{c(){t=_("div"),s&&s.c(),r=U(),o&&o.c(),n=Se(),c(t,"class","TournamentButtons"),c(t,"part","TournamentButtons")},m(l,u){C(l,t,u),s&&s.m(t,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(t,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:Q,o:Q,d(l){l&&(y(t),y(r),y(n)),s&&s.d(),o&&o.d(l)}}}function j2(e,t,r){let n;_t(e,yt,I=>r(9,n=I));let{session:i=""}=t,{tourid:a=""}=t,{endpoint:s=""}=t,{userenrolled:o=""}=t,{showleaderboard:l=""}=t,{lang:u=""}=t,{loginevent:f=""}=t,{registerevent:d=""}=t,{loginurl:h=""}=t,{registerurl:b=""}=t,{currency:g=""}=t,{bonuscode:p=""}=t,{status:v=""}=t,k="";er({fallbackLocale:"en",initialLocale:"en"});const L=()=>{bt(u)};let w=!1,T="",M=window.navigator.userAgent,B=!1,F=!1,Y="There was an error while trying to join the tournament",E=!1;const N=()=>{f&&window.postMessage({type:f,transition:"Login"},window.location.href),h&&(window.location=h)},ve=()=>{d&&window.postMessage({type:d,transition:"Register"},window.location.href),b&&(window.location=b)},ge=()=>{i.length>0&&i!="false"?(T=i,r(4,w=!0)):r(4,w=!1)},Me=(I,Le)=>Gr(this,null,function*(){var Ge;r(6,F=!1),r(8,E=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:I},window.location.href),r(5,B=!0);let de=new URL(`${s}/v1/bonus/claim`),$=new Headers,be={};de.searchParams.append("language",u),de.searchParams.append("platform",Vn(M)),$.append("Content-Type","application/json"),$.append("X-SessionID",T),Le&&(be={language:u,bonusCode:Le,currency:g,type:"tournament"});let j={method:"PUT",headers:$,body:JSON.stringify(be)};const ne=()=>{r(5,B=!1),r(13,o="true"),window.postMessage({type:"TournamentUserEnrolled",userenrolled:o},window.location.href)},Te=Pe=>{r(5,B=!1),Pe&&r(7,Y=Pe),r(6,F=!0)},ce=yield Gr(this,null,function*(){let Pe;try{Pe=yield fetch(de,j),Pe=yield Pe.json()}catch(it){Te()}return Pe});if(ce)if(ce.success==!0)ne();else if(ce.errorMessage.match("VersionMismatchException")){let Pe;Pe=yield fetch(`${s}/tournaments/${a}`,{headers:{"X-SessionID":i}}),Pe=yield Pe.json(),(Ge=Pe==null?void 0:Pe.item)!=null&&Ge.playerEnrolled?ne():(Te(ce.errorMessage),r(8,E=!0),r(6,F=!1))}else Te(ce.errorMessage)}),Re=I=>{I.data&&I.data.type=="UserSessionID"&&(r(4,w=!0),T=I.data.session)};Ft(()=>(r(3,k=l=="true"),window.addEventListener("message",Re),()=>{window.removeEventListener("message",Re)}));const Ee=()=>N(),Ne=()=>ve(),_e=()=>Me(a,p);return e.$$set=I=>{"session"in I&&r(14,i=I.session),"tourid"in I&&r(0,a=I.tourid),"endpoint"in I&&r(15,s=I.endpoint),"userenrolled"in I&&r(13,o=I.userenrolled),"showleaderboard"in I&&r(16,l=I.showleaderboard),"lang"in I&&r(17,u=I.lang),"loginevent"in I&&r(18,f=I.loginevent),"registerevent"in I&&r(19,d=I.registerevent),"loginurl"in I&&r(20,h=I.loginurl),"registerurl"in I&&r(21,b=I.registerurl),"currency"in I&&r(22,g=I.currency),"bonuscode"in I&&r(1,p=I.bonuscode),"status"in I&&r(2,v=I.status)},e.$$.update=()=>{e.$$.dirty&16384&&i&&ge(),e.$$.dirty&131072&&u&&L()},[a,p,v,k,w,B,F,Y,E,n,N,ve,Me,o,i,s,l,u,f,d,h,b,g,Ee,Ne,_e]}class Ui extends Je{constructor(t){super(),Ve(this,t,j2,I2,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(t){this.$$set({session:t}),D()}get tourid(){return this.$$.ctx[0]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),D()}get userenrolled(){return this.$$.ctx[13]}set userenrolled(t){this.$$set({userenrolled:t}),D()}get showleaderboard(){return this.$$.ctx[16]}set showleaderboard(t){this.$$set({showleaderboard:t}),D()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),D()}get loginevent(){return this.$$.ctx[18]}set loginevent(t){this.$$set({loginevent:t}),D()}get registerevent(){return this.$$.ctx[19]}set registerevent(t){this.$$set({registerevent:t}),D()}get loginurl(){return this.$$.ctx[20]}set loginurl(t){this.$$set({loginurl:t}),D()}get registerurl(){return this.$$.ctx[21]}set registerurl(t){this.$$set({registerurl:t}),D()}get currency(){return this.$$.ctx[22]}set currency(t){this.$$set({currency:t}),D()}get bonuscode(){return this.$$.ctx[1]}set bonuscode(t){this.$$set({bonuscode:t}),D()}get status(){return this.$$.ctx[2]}set status(t){this.$$set({status:t}),D()}}customElements.define("tournament-join-button-cell",qe(Ui,{session:{},tourid:{},endpoint:{},userenrolled:{},showleaderboard:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},bonuscode:{},status:{}},[],[],!0));function G2(e){on(e,"svelte-1hk5bqq",".Status.svelte-1hk5bqq{color:greenyellow}")}function os(e){let t,r,n,i,a,s,o,l=e[0]=="Running"&&ls(e);return{c(){t=_("div"),r=O(e[2]),n=U(),l&&l.c(),c(t,"class",i="Status "+e[3]+" TagContent svelte-1hk5bqq"),c(t,"part",a="Status "+e[3]+" TagContent")},m(u,f){C(u,t,f),m(t,r),m(t,n),l&&l.m(t,null),s||(o=$t(e[5].call(null,t)),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(t,null)):l&&(l.d(1),l=null),f&8&&i!==(i="Status "+u[3]+" TagContent svelte-1hk5bqq")&&c(t,"class",i),f&8&&a!==(a="Status "+u[3]+" TagContent")&&c(t,"part",a)},d(u){u&&y(t),l&&l.d(),s=!1,o()}}}function ls(e){let t,r,n=e[4]("tournamentsDuration.left")+"",i;return{c(){t=O(e[1]),r=U(),i=O(n)},m(a,s){C(a,t,s),C(a,r,s),C(a,i,s)},p(a,s){s&2&&W(t,a[1]),s&16&&n!==(n=a[4]("tournamentsDuration.left")+"")&&W(i,n)},d(a){a&&(y(t),y(r),y(i))}}}function Y2(e){let t,r=e[0]&&os(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,[i]){n[0]?r?r.p(n,i):(r=os(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(n)}}}function W2(e,t,r){let n;_t(e,yt,w=>r(4,n=w));let{lang:i="en"}=t,{status:a=""}=t,{startdate:s=""}=t,{enddate:o=""}=t,l="",u="";const f=w=>new Date(w).getTime(),d=(w,T)=>(f(T)-f(w))/(1e3*60),h=()=>{u=d(new Date,o),r(1,l=b(u))},b=w=>{const T=(M,B)=>M+" "+n(B);if(w<1440){const M=w/60,B=w%60,F=(B-Math.floor(B))*60;return[M,B,F].map(Y=>Math.floor(Y).toString().padStart(2,"0")).join(":")}return T(Math.ceil(w/(60*24)),"tournamentsDuration.days")};er({fallbackLocale:"en",initialLocale:"en"});const g=()=>{bt(i),k()};let p="",v="";const k=()=>{a=="Unstarted"&&(r(2,p=n("tournamentsThumbnail.scheduled")),r(3,v="StatusUnstarted")),a=="Running"&&(r(2,p=n("tournamentsThumbnail.ongoing")),r(3,v="StatusRunning")),(a=="Closed"||a=="Closing")&&r(2,p=n("tournamentsThumbnail.finished")),a=="Closed"&&r(3,v="StatusClosed"),a=="Closing"&&r(3,v="StatusClosing")};let L=!1;return Ft(()=>{r(9,L=!0);const w=setInterval(()=>{s&&o&&h()},1e3);return()=>clearInterval(w)}),e.$$set=w=>{"lang"in w&&r(6,i=w.lang),"status"in w&&r(0,a=w.status),"startdate"in w&&r(7,s=w.startdate),"enddate"in w&&r(8,o=w.enddate)},e.$$.update=()=>{e.$$.dirty&384&&s&&o&&h(),e.$$.dirty&64&&i&&h()&&g(),e.$$.dirty&577&&L&&i&&a&&g()},[a,l,p,v,n,k,i,s,o,L]}class Ii extends Je{constructor(t){super(),Ve(this,t,W2,Y2,je,{lang:6,status:0,startdate:7,enddate:8},G2)}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),D()}get status(){return this.$$.ctx[0]}set status(t){this.$$set({status:t}),D()}get startdate(){return this.$$.ctx[7]}set startdate(t){this.$$set({startdate:t}),D()}get enddate(){return this.$$.ctx[8]}set enddate(t){this.$$set({enddate:t}),D()}}customElements.define("status-line",qe(Ii,{lang:{},status:{},startdate:{},enddate:{}},[],[],!0));const V2="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(e){let t,r=e[0]&&cs(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,i){n[0]?r?r.p(n,i):(r=cs(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&y(t),r&&r.d(n)}}}function cs(e){let t,r,n,i,a=e[2]("tournamentsThController.joined")+"",s;return{c(){t=_("div"),r=_("img"),i=U(),s=O(a),We(r.src,n=V2)||c(r,"src",n),c(r,"alt","Joined"),c(t,"class","Enrolled TagContent"),c(t,"part","Enrolled TagContent")},m(o,l){C(o,t,l),m(t,r),m(t,i),m(t,s)},p(o,l){l&4&&a!==(a=o[2]("tournamentsThController.joined")+"")&&W(s,a)},d(o){o&&y(t)}}}function q2(e){let t,r=e[1]=="true"&&us(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,[i]){n[1]=="true"?r?r.p(n,i):(r=us(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(n)}}}function J2(e,t,r){let n;_t(e,yt,u=>r(2,n=u));let{lang:i="en"}=t,{showenrolled:a=""}=t,{userenrolled:s}=t;er({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=u=>{u.data&&u.data.type=="TournamentUserEnrolled"&&r(0,s=u.data.userenrolled)};return Ft(()=>(window.addEventListener("message",l),()=>{window.removeEventListener("message",l)})),e.$$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)},e.$$.update=()=>{e.$$.dirty&8&&i&&o()},[s,a,n,i]}class ji extends Je{constructor(t){super(),Ve(this,t,J2,q2,je,{lang:3,showenrolled:1,userenrolled:0})}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),D()}get showenrolled(){return this.$$.ctx[1]}set showenrolled(t){this.$$set({showenrolled:t}),D()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(t){this.$$set({userenrolled:t}),D()}}customElements.define("user-enroll-tag",qe(ji,{lang:{},showenrolled:{},userenrolled:{}},[],[],!0));function fs(e){let t,r,n,i,a,s,o,l,u,f,d,h;function b(w,T){return w[2]=="Finished"||w[2]=="Closing"||w[2]=="Closed"?Q2:w[4]>0?X2:Z2}let g=b(e),p=g(e);function v(w,T){if(w[2]=="Finished"||w[2]=="Closing"||w[2]=="Closed")return ec;if(w[4]>0)return $2;if(w[3]>0)return K2}let k=v(e),L=k&&k(e);return{c(){t=_("div"),r=_("div"),n=O(e[6]),i=U(),a=_("div"),s=O(e[7]),o=U(),l=_("div"),u=_("div"),p.c(),f=U(),L&&L.c(),c(r,"class","StartDate"),c(r,"part","StartDate"),c(a,"class","EndDate"),c(a,"part","EndDate"),c(t,"class","TournamentDates"),c(t,"part","TournamentDates"),c(u,"class","ProgressBar"),c(u,"part","ProgressBar"),c(l,"class","ProgressBarWrapper"),c(l,"part","ProgressBarWrapper")},m(w,T){C(w,t,T),m(t,r),m(r,n),m(t,i),m(t,a),m(a,s),C(w,o,T),C(w,l,T),m(l,u),p.m(u,null),m(u,f),L&&L.m(u,null),d||(h=$t(e[10].call(null,l)),d=!0)},p(w,T){T&64&&W(n,w[6]),T&128&&W(s,w[7]),g===(g=b(w))&&p?p.p(w,T):(p.d(1),p=g(w),p&&(p.c(),p.m(u,f))),k===(k=v(w))&&L?L.p(w,T):(L&&L.d(1),L=k&&k(w),L&&(L.c(),L.m(u,null)))},d(w){w&&(y(t),y(o),y(l)),p.d(),L&&L.d(),d=!1,h()}}}function Z2(e){let t;return{c(){t=_("div"),c(t,"class","ProgressBarFill"),c(t,"part","ProgressBarFill"),Mt(t,"width",e[8]()+"%")},m(r,n){C(r,t,n)},p(r,n){n&256&&Mt(t,"width",r[8]()+"%")},d(r){r&&y(t)}}}function X2(e){let t;return{c(){t=_("div"),c(t,"class","ProgressBarFillStarting"),c(t,"part","ProgressBarFillStarting")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Q2(e){let t;return{c(){t=_("div"),c(t,"class","ProgressBarFillEnd"),c(t,"part","ProgressBarFillEnd")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function K2(e){let t,r,n,i=e[9]("tournamentsDuration.left")+"",a;return{c(){t=_("div"),r=O(e[5]),n=U(),a=O(i),c(t,"class","Remaining"),c(t,"part","Remaining")},m(s,o){C(s,t,o),m(t,r),m(t,n),m(t,a)},p(s,o){o&32&&W(r,s[5]),o&512&&i!==(i=s[9]("tournamentsDuration.left")+"")&&W(a,i)},d(s){s&&y(t)}}}function $2(e){let t,r=e[9]("tournamentsDuration.starting")+"",n,i,a=e[11](e[4])+"",s;return{c(){t=_("div"),n=O(r),i=U(),s=O(a),c(t,"class","Remaining"),c(t,"part","Remaining")},m(o,l){C(o,t,l),m(t,n),m(t,i),m(t,s)},p(o,l){l&512&&r!==(r=o[9]("tournamentsDuration.starting")+"")&&W(n,r),l&16&&a!==(a=o[11](o[4])+"")&&W(s,a)},d(o){o&&y(t)}}}function ec(e){let t,r=e[9]("tournamentsDuration.finished")+"",n;return{c(){t=_("div"),n=O(r),c(t,"class","Finished"),c(t,"part","Finished")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a&512&&r!==(r=i[9]("tournamentsDuration.finished")+"")&&W(n,r)},d(i){i&&y(t)}}}function tc(e){let t,r=e[0]&&e[1]&&fs(e);return{c(){t=_("div"),r&&r.c(),c(t,"class","TournamentDuration"),c(t,"part","TournamentDuration")},m(n,i){C(n,t,i),r&&r.m(t,null)},p(n,[i]){n[0]&&n[1]?r?r.p(n,i):(r=fs(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d()}}}function rc(e,t,r){let n,i;_t(e,yt,M=>r(9,i=M));let{startdate:a=""}=t,{enddate:s=""}=t,{status:o=""}=t,{lang:l="en"}=t,u="",f="",d="",h="",b="";const g=()=>{bt(l)};bt(l);const p=M=>new Date(M).getTime(),v=(M,B)=>(p(B)-p(M))/(1e3*60),k=()=>{const M=new Date;r(3,u=v(M,s)),r(4,f=v(M,a)),r(5,d=T(u))},L=M=>{if(!M)return;const B={month:"long"};let F=new Date(M),Y=new Intl.DateTimeFormat(l,B).format(F);return`${F.getDate()} ${Y}, ${F.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${F.getUTCFullYear()}`},w=()=>{r(6,h=L(a)),r(7,b=L(s))},T=M=>{const B=(Y,E)=>Y+" "+i(E),F=Y=>{const E=Math.floor(Y);return E<10?`0${E}`:`${E}`};if(M<1440){const Y=M/60,E=M%60,N=(E-Math.floor(E))*60;return[Y,E,N].map(ve=>F(ve)).join(":")}return B(Math.ceil(M/(60*24)),"tournamentsDuration.days")};return Ft(()=>{const M=setInterval(()=>{a&&s&&k()},1e3);return()=>clearInterval(M)}),e.$$set=M=>{"startdate"in M&&r(0,a=M.startdate),"enddate"in M&&r(1,s=M.enddate),"status"in M&&r(2,o=M.status),"lang"in M&&r(12,l=M.lang)},e.$$.update=()=>{e.$$.dirty&11&&r(8,n=()=>{if(u<=0)return 100;const M=v(a,s),B=100/M;return Math.floor((M-u)*B)}),e.$$.dirty&11&&a&&s&&w()&&k()&&T(u),e.$$.dirty&4096&&l&&k()&&g(),e.$$.dirty&4104&&l&&T(u),e.$$.dirty&4096&&l&&w()},[a,s,o,u,f,d,h,b,n,i,k,T,l]}class Gi extends Je{constructor(t){super(),Ve(this,t,rc,tc,je,{startdate:0,enddate:1,status:2,lang:12})}get startdate(){return this.$$.ctx[0]}set startdate(t){this.$$set({startdate:t}),D()}get enddate(){return this.$$.ctx[1]}set enddate(t){this.$$set({enddate:t}),D()}get status(){return this.$$.ctx[2]}set status(t){this.$$set({status:t}),D()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),D()}}customElements.define("duration-router",qe(Gi,{startdate:{},enddate:{},status:{},lang:{}},[],[],!0));function nc(e){on(e,"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 ic(e){let t,r,n=e[3]("tournamentsThumbnail.seegames")+"",i,a,s,o=e[3]("tournamentsThumbnail.here")+"",l,u,f,d,h,b=e[3]("gamesSlider.playNow")+"",g,p,v;return{c(){t=_("div"),r=_("p"),i=O(n),a=U(),s=_("a"),l=O(o),f=U(),d=_("p"),h=_("button"),g=O(b),c(s,"part","GamesAnchor"),c(s,"class","GamesAnchor"),c(s,"href",e[0]),c(s,"target",u=e[2]==="true"?"_self":"_blank"),c(r,"part","GamesP"),c(h,"class","GamesButton"),c(d,"class","GamesButtonWrapper"),c(t,"class","Games"),c(t,"part","Games")},m(k,L){C(k,t,L),m(t,r),m(r,i),m(r,a),m(r,s),m(s,l),m(t,f),m(t,d),m(d,h),m(h,g),p||(v=[et(s,"click",e[6]),et(h,"click",e[7])],p=!0)},p(k,[L]){L&8&&n!==(n=k[3]("tournamentsThumbnail.seegames")+"")&&W(i,n),L&8&&o!==(o=k[3]("tournamentsThumbnail.here")+"")&&W(l,o),L&1&&c(s,"href",k[0]),L&4&&u!==(u=k[2]==="true"?"_self":"_blank")&&c(s,"target",u),L&8&&b!==(b=k[3]("gamesSlider.playNow")+"")&&W(g,b)},i:Q,o:Q,d(k){k&&y(t),p=!1,At(v)}}}function ac(e,t,r){let n;_t(e,yt,d=>r(3,n=d));let{gameurl:i=""}=t,{tourid:a=""}=t,{keepbrowsercontext:s="false"}=t;const o=(d,h)=>{window.postMessage({type:"tournamentGamesClicked",tourId:h},window.location.href)},l=d=>{window.postMessage({type:"tournamentGamesButtonClicked",tourId:d},window.location.href)},u=()=>o(),f=()=>l(a);return e.$$set=d=>{"gameurl"in d&&r(0,i=d.gameurl),"tourid"in d&&r(1,a=d.tourid),"keepbrowsercontext"in d&&r(2,s=d.keepbrowsercontext)},[i,a,s,n,o,l,u,f]}class Yi extends Je{constructor(t){super(),Ve(this,t,ac,ic,je,{gameurl:0,tourid:1,keepbrowsercontext:2},nc)}get gameurl(){return this.$$.ctx[0]}set gameurl(t){this.$$set({gameurl:t}),D()}get tourid(){return this.$$.ctx[1]}set tourid(t){this.$$set({tourid:t}),D()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),D()}}customElements.define("see-games-line",qe(Yi,{gameurl:{},tourid:{},keepbrowsercontext:{}},[],[],!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",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%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",nl="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 ds(e,t,r){const n=e.slice();return n[15]=t[r],n[17]=r,n}function hs(e,t,r){const n=e.slice();return n[12]=t[r],n}function ms(e,t,r){const n=e.slice();return n[15]=t[r],n[17]=r,n}const sc=e=>({}),ps=e=>({});function gs(e){let t;function r(a,s){return a[2].expandAll?lc:oc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function oc(e){let t,r,n=xe(e[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=ys(ds(e,n,s));let a=null;return n.length||(a=bs(e)),{c(){t=_("div"),r=_("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(t,"class","Collapse")},m(s,o){C(s,t,o),m(t,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&51){n=xe(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(t),ft(i,s),a&&a.d()}}}function lc(e){let t,r=xe(e[3]),n=[];for(let i=0;i<r.length;i+=1)n[i]=vs(hs(e,r,i));return{c(){t=_("div");for(let i=0;i<n.length;i+=1)n[i].c();c(t,"class","Prizes"),c(t,"part","Prizes")},m(i,a){C(i,t,a);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(t,null)},p(i,a){if(a&58){r=xe(i[3]);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]=vs(o),n[s].c(),n[s].m(t,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(t),ft(n,i)}}}function bs(e){let t,r=e[5]("tournamentsPrizes.noprizes")+"",n;return{c(){t=_("p"),n=O(r)},m(i,a){C(i,t,a),m(t,n)},p(i,a){a&32&&r!==(r=i[5]("tournamentsPrizes.noprizes")+"")&&W(n,r)},d(i){i&&y(t)}}}function _s(e){let t;function r(a,s){return a[17]<3?cc:uc}let i=r(e)(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){i.p(a,s)},d(a){a&&y(t),i.d(a)}}}function uc(e){let t;return{c(){t=_("span"),c(t,"class","RowNo")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function cc(e){let t,r;return{c(){t=_("img"),c(t,"class","RowNo"),c(t,"alt","prize"),We(t.src,r=e[4][e[17]+1])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i&16&&!We(t.src,r=n[4][n[17]+1])&&c(t,"src",r)},d(n){n&&y(t)}}}function ys(e){let t,r,n,i,a,s,o=e[15].count>1?`${e[15].rank}~${e[15].rank+e[15].count-1}`:`${e[15].rank}`,l,u,f,d=e[5]("tournamentsPrizes.place")+"",h,b,g,p,v=e[15].name+"",k,L,w=e[1]=="true"&&_s(e);return{c(){t=_("div"),r=_("div"),n=_("p"),i=_("span"),w&&w.c(),a=U(),s=_("span"),l=O(o),u=U(),f=_("span"),h=O(d),b=O(":"),g=U(),p=_("span"),k=O(v),L=U(),c(s,"class","PrizeNo"),c(f,"class","PrizePlace"),c(i,"class","PrizeRank"),c(i,"part","PrizeRank"),c(p,"class","PrizeName"),c(p,"part","PrizeName"),c(n,"class","PrizeText"),c(n,"part","PrizeText"),c(r,"class","Prize Prize"+e[17]),c(r,"part","Prize Prize"+e[17]),c(t,"class","ColPrizes")},m(T,M){C(T,t,M),m(t,r),m(r,n),m(n,i),w&&w.m(i,null),m(i,a),m(i,s),m(s,l),m(i,u),m(i,f),m(f,h),m(f,b),m(n,g),m(n,p),m(p,k),m(t,L)},p(T,M){T[1]=="true"?w?w.p(T,M):(w=_s(T),w.c(),w.m(i,a)):w&&(w.d(1),w=null),M&1&&o!==(o=T[15].count>1?`${T[15].rank}~${T[15].rank+T[15].count-1}`:`${T[15].rank}`)&&W(l,o),M&32&&d!==(d=T[5]("tournamentsPrizes.place")+"")&&W(h,d),M&1&&v!==(v=T[15].name+"")&&W(k,v)},d(T){T&&y(t),w&&w.d()}}}function fc(e){let t,r,n,i=e[15].rank+"",a,s,o,l,u=e[5]("tournamentsPrizes.place")+"",f,d=e[1]=="true"&&Cs();return{c(){t=_("span"),d&&d.c(),r=U(),n=_("span"),a=O(i),s=_("span"),s.textContent=".",o=U(),l=_("span"),f=O(u),c(s,"class","Dot"),c(n,"class","PrizeNo"),c(l,"class","PrizePlace"),c(t,"class","PrizeRank"),c(t,"part","PrizeRank")},m(h,b){C(h,t,b),d&&d.m(t,null),m(t,r),m(t,n),m(n,a),m(n,s),m(t,o),m(t,l),m(l,f)},p(h,b){h[1]=="true"?d||(d=Cs(),d.c(),d.m(t,r)):d&&(d.d(1),d=null),b&8&&i!==(i=h[15].rank+"")&&W(a,i),b&32&&u!==(u=h[5]("tournamentsPrizes.place")+"")&&W(f,u)},d(h){h&&y(t),d&&d.d()}}}function dc(e){let t,r,n,i,a,s=e[5]("tournamentsPrizes.place")+"",o;return{c(){t=_("div"),r=_("img"),i=U(),a=_("span"),o=O(s),c(r,"alt","prize"),c(r,"class","RowNo"),We(r.src,n=e[4][e[15].rank])||c(r,"src",n),c(a,"class","PrizePlace"),c(t,"class","PrizeRank"),c(t,"part","PrizeRank")},m(l,u){C(l,t,u),m(t,r),m(t,i),m(t,a),m(a,o)},p(l,u){u&24&&!We(r.src,n=l[4][l[15].rank])&&c(r,"src",n),u&32&&s!==(s=l[5]("tournamentsPrizes.place")+"")&&W(o,s)},d(l){l&&y(t)}}}function Cs(e){let t;return{c(){t=_("span"),c(t,"class","RowNo")},m(r,n){C(r,t,n)},d(r){r&&y(t)}}}function ws(e){let t,r,n,i,a=e[15].name+"",s,o,l;function u(h,b){return h[15].rank<4&&h[1]=="true"?dc:fc}let f=u(e),d=f(e);return{c(){t=_("div"),r=_("p"),d.c(),n=U(),i=_("span"),s=O(a),c(i,"class","PrizeName"),c(i,"part","PrizeName"),c(r,"class","PrizeText"),c(r,"part","PrizeText"),c(t,"class",o="Prize Prize"+(e[15].rank-1)),c(t,"part",l="Prize Prize"+(e[15].rank-1))},m(h,b){C(h,t,b),m(t,r),d.m(r,null),m(r,n),m(r,i),m(i,s)},p(h,b){f===(f=u(h))&&d?d.p(h,b):(d.d(1),d=f(h),d&&(d.c(),d.m(r,n))),b&8&&a!==(a=h[15].name+"")&&W(s,a),b&8&&o!==(o="Prize Prize"+(h[15].rank-1))&&c(t,"class",o),b&8&&l!==(l="Prize Prize"+(h[15].rank-1))&&c(t,"part",l)},d(h){h&&y(t),d.d()}}}function vs(e){let t,r,n,i=xe(e[12]),a=[];for(let s=0;s<i.length;s+=1)a[s]=ws(ms(e,i,s));return{c(){t=_("div");for(let s=0;s<a.length;s+=1)a[s].c();r=U(),c(t,"class",n="ColPrizes col-"+e[3].length)},m(s,o){C(s,t,o);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(t,null);m(t,r)},p(s,o){if(o&58){i=xe(s[12]);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]=ws(u),a[l].c(),a[l].m(t,r))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}o&8&&n!==(n="ColPrizes col-"+s[3].length)&&c(t,"class",n)},d(s){s&&y(t),ft(a,s)}}}function hc(e){let t,r,n,i,a,s,o,l=e[5]("tournamentsPrizes.prizes")+"",u,f,d;const h=e[8].prizeIcon,b=l0(h,e,e[7],ps);let g=e[0]&&gs(e);return{c(){t=_("div"),r=_("div"),n=_("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=U(),a=_("span"),b&&b.c(),s=U(),o=_("p"),u=O(l),f=U(),g&&g.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(t,"class","TournamentPrizes"),c(t,"part","TournamentPrizes")},m(p,v){C(p,t,v),m(t,r),m(r,n),m(r,i),m(r,a),b&&b.m(a,null),m(r,s),m(r,o),m(o,u),m(t,f),g&&g.m(t,null),d=!0},p(p,[v]){b&&b.p&&(!d||v&128)&&c0(b,h,p,p[7],d?u0(h,p[7],v,sc):f0(p[7]),ps),(!d||v&32)&&l!==(l=p[5]("tournamentsPrizes.prizes")+"")&&W(u,l),p[0]?g?g.p(p,v):(g=gs(p),g.c(),g.m(t,null)):g&&(g.d(1),g=null)},i(p){d||(se(b,p),d=!0)},o(p){ke(b,p),d=!1},d(p){p&&y(t),b&&b.d(p),g&&g.d()}}}const mc=1;function pc(e,t,r){let n;_t(e,yt,g=>r(5,n=g));let{$$slots:i={},$$scope:a}=t,{prizes:s}=t,{lang:o=""}=t,{showrankasimage:l="false"}=t,{cellsetting:u={expandAll:!0,listType:1,rowPerCol:8,maxCol:3}}=t;er({fallbackLocale:"en",initialLocale:"en"});const f=()=>{bt(o)};let d=[];const h=()=>{if(!u.expandAll)return;r(3,d=[[]]);let g=()=>{let p=[];return s.forEach(v=>{if(v.count==1)p.push(v);else{let k=parseInt(v.rank),L=v.name;for(let w=0;w<v.count;w++){let M={rank:k+w,name:L,count:1};p.push(M)}}}),p};if(u.listType==mc){let p=g(),v=p.length,k=u.rowPerCol||8,L=u.maxCol;v>=k*L&&(k=Math.ceil(v/L)),v<=k&&(k=Math.ceil(v/L)),p.forEach((w,T)=>{let M=Math.floor(T/k);d.length<M+1&&d.push([]),d[M].push(w)})}else r(3,d[0]=g(),d)};let b=[];return Ft(()=>{r(4,b=[An,An,rl,nl])}),e.$$set=g=>{"prizes"in g&&r(0,s=g.prizes),"lang"in g&&r(6,o=g.lang),"showrankasimage"in g&&r(1,l=g.showrankasimage),"cellsetting"in g&&r(2,u=g.cellsetting),"$$scope"in g&&r(7,a=g.$$scope)},e.$$.update=()=>{e.$$.dirty&64&&o&&f(),e.$$.dirty&5&&u&&s&&h()},[s,l,u,d,b,n,o,a,i]}class Wi extends Je{constructor(t){super(),Ve(this,t,pc,hc,je,{prizes:0,lang:6,showrankasimage:1,cellsetting:2})}get prizes(){return this.$$.ctx[0]}set prizes(t){this.$$set({prizes:t}),D()}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),D()}get showrankasimage(){return this.$$.ctx[1]}set showrankasimage(t){this.$$set({showrankasimage:t}),D()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("prizes-cell",qe(Wi,{prizes:{},lang:{},showrankasimage:{},cellsetting:{}},["prizeIcon"],[],!0));function Ts(e,t,r){const n=e.slice();return n[42]=t[r],n[44]=r,n}function ks(e){let t,r,n,i,a,s,o,l,u=xe(e[2]),f=[];for(let d=0;d<u.length;d+=1)f[d]=Ss(Ts(e,u,d));return{c(){t=_("div"),t.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=U(),n=_("main"),i=_("div");for(let d=0;d<f.length;d+=1)f[d].c();a=U(),s=_("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(t,"class","SliderNavButton"),c(t,"part","SliderNavButton"),c(t,"tabindex","0"),c(t,"role","button"),pn(t,"disabled",e[7]),c(i,"class","items"),c(i,"part","items"),Mt(i,"transform","translateX("+e[0]+"px)"),c(n,"class","main"),c(s,"class","SliderNavButton"),c(s,"part","SliderNavButton"),c(s,"tabindex","0"),c(s,"role","button"),pn(s,"disabled",e[6])},m(d,h){C(d,t,h),C(d,r,h),C(d,n,h),m(n,i);for(let b=0;b<f.length;b+=1)f[b]&&f[b].m(i,null);e[25](i),C(d,a,h),C(d,s,h),o||(l=[et(t,"click",e[21]),et(s,"click",e[26])],o=!0)},p(d,h){if(h[0]&128&&pn(t,"disabled",d[7]),h[0]&5916){u=xe(d[2]);let b;for(b=0;b<u.length;b+=1){const g=Ts(d,u,b);f[b]?f[b].p(g,h):(f[b]=Ss(g),f[b].c(),f[b].m(i,null))}for(;b<f.length;b+=1)f[b].d(1);f.length=u.length}h[0]&1&&Mt(i,"transform","translateX("+d[0]+"px)"),h[0]&64&&pn(s,"disabled",d[6])},d(d){d&&(y(t),y(r),y(n),y(a),y(s)),ft(f,d),e[25](null),o=!1,At(l)}}}function Ss(e){let t,r,n=e[8]("gamesSlider.playNow")+"",i,a,s,o,l,u,f,d,h,b,g;function p(){return e[22](e[42])}function v(){return e[23](e[44])}return{c(){t=_("div"),r=_("span"),i=O(n),o=U(),l=_("img"),h=U(),c(r,"class",a="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":"")),c(r,"part",s="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":"")),c(l,"class","GameThumbnail"),c(l,"part","GameThumbnail"),We(l.src,u=e[42].thumbnail)||c(l,"src",u),c(l,"width","132px"),c(l,"height","100px"),c(l,"alt",f=e[42].name),c(l,"title",d=e[42].name),c(t,"class","item"),c(t,"part","item"),c(t,"tabindex","0"),c(t,"role","button")},m(k,L){C(k,t,L),m(t,r),m(r,i),m(t,o),m(t,l),m(t,h),b||(g=[et(t,"click",p),et(t,"mouseenter",v),et(t,"mouseleave",e[24])],b=!0)},p(k,L){e=k,L[0]&256&&n!==(n=e[8]("gamesSlider.playNow")+"")&&W(i,n),L[0]&24&&a!==(a="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":""))&&c(r,"class",a),L[0]&24&&s!==(s="PlayNowButton "+(e[3]&&e[4]==e[44]?"itemHover":""))&&c(r,"part",s),L[0]&4&&!We(l.src,u=e[42].thumbnail)&&c(l,"src",u),L[0]&4&&f!==(f=e[42].name)&&c(l,"alt",f),L[0]&4&&d!==(d=e[42].name)&&c(l,"title",d)},d(k){k&&y(t),b=!1,At(g)}}}function gc(e){let t,r=e[2]&&ks(e);return{c(){t=_("div"),r&&r.c(),c(t,"class","TournamentsGamesSlider"),c(t,"part","TournamentsGamesSlider")},m(n,i){C(n,t,i),r&&r.m(t,null),e[27](t)},p(n,i){n[2]?r?r.p(n,i):(r=ks(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(),e[27](null)}}}let Ps="3",bc=30;function _c(e,t,r){let n,i,a;_t(e,yt,A=>r(8,a=A));let{pagfactor:s="175"}=t,{lang:o=""}=t,{session:l=""}=t,{tourid:u=""}=t,{endpoint:f=""}=t,d=window.navigator.userAgent,h,b=0,g,p=null,v=null,k=!1,L,w,T=0,M=[],B=[];const F=A=>{r(3,k=!0),r(4,L=A)},Y=()=>{r(3,k=!1),r(4,L=-1)},E=A=>A.touches||A.originalEvent.touches,N=A=>{const ce=E(A)[0];p=ce.clientX,v=ce.clientY},ve=A=>{if(!p||!v)return;let ce=A.touches[0].clientX,Ge=A.touches[0].clientY,Pe=p-ce,it=v-Ge;Math.abs(Pe)>Math.abs(it)&&(Pe>0?ge(1):ge(-1)),p=null,v=null},ge=A=>{A>0&&!i?(r(0,b-=h),r(0,b=b<T?T:b)):A<0&&!n&&(r(0,b+=h),r(0,b=b>0?0:b))},Me=A=>{window.postMessage({type:"TournamentGameAction",gameId:A.id,name:A.name,launchUrl:A.launchUrl},window.location.href)},Re=()=>{g.addEventListener("touchstart",N,{passive:!0}),g.addEventListener("touchmove",ve,{passive:!0})},Ee=()=>{setTimeout(()=>{r(18,T=(w.scrollWidth-w.clientWidth)*-1),r(13,s=new String(w.scrollWidth/M.length)),h=parseInt(Ps,10)*parseFloat(s,2).toFixed(2)},1e3)},Ne=()=>{r(2,M=B.items),B.total},_e=(A,ce)=>{let Ge=new URL(A+`/v1/tournaments/${ce}`),Pe=new Headers({"X-SessionId":l});Ge.searchParams.append("platform",Vn(d)),Ge.searchParams.append("language",o),Ge.searchParams.append("expand","games"),Ge.searchParams.append("pagination",`games(limit=${bc},offset=${b})`),Ge.searchParams.append("fields","games(id,name,thumbnail,launchUrl)");let it={method:"GET",headers:Pe};fetch(Ge.href,it).then(Ye=>Ye.json()).then(Ye=>{r(19,B=Ye.item.games),r(19,B=nr({},B))})};let I=!1;Ft(()=>(r(20,I=!0),h=parseInt(Ps,10)*parseInt(s,10),()=>{g.removeEventListener("touchstart",N),g.removeEventListener("touchmove",ve)}));const Le=()=>ge(-1),de=A=>Me(A),$=A=>F(A),be=()=>Y();function j(A){en[A?"unshift":"push"](()=>{w=A,r(5,w)})}const ne=()=>ge(1);function Te(A){en[A?"unshift":"push"](()=>{g=A,r(1,g)})}return e.$$set=A=>{"pagfactor"in A&&r(13,s=A.pagfactor),"lang"in A&&r(14,o=A.lang),"session"in A&&r(15,l=A.session),"tourid"in A&&r(16,u=A.tourid),"endpoint"in A&&r(17,f=A.endpoint)},e.$$.update=()=>{e.$$.dirty[0]&1&&r(7,n=b===0),e.$$.dirty[0]&262145&&r(6,i=b<=T),e.$$.dirty[0]&2&&g&&Re(),e.$$.dirty[0]&524288&&B&&Ne(),e.$$.dirty[0]&4&&M&&M.length&&Ee(),e.$$.dirty[0]&1277952&&I&&f&&l&&u&&_e(f,u)},r(0,b=0),[b,g,M,k,L,w,i,n,a,F,Y,ge,Me,s,o,l,u,f,T,B,I,Le,de,$,be,j,ne,Te]}class Vi extends Je{constructor(t){super(),Ve(this,t,_c,gc,je,{pagfactor:13,lang:14,session:15,tourid:16,endpoint:17},null,[-1,-1])}get pagfactor(){return this.$$.ctx[13]}set pagfactor(t){this.$$set({pagfactor:t}),D()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),D()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),D()}get tourid(){return this.$$.ctx[16]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[17]}set endpoint(t){this.$$set({endpoint:t}),D()}}customElements.define("games-router",qe(Vi,{pagfactor:{},lang:{},session:{},tourid:{},endpoint:{}},[],[],!0));class qi extends Je{constructor(t){super(),Ve(this,t,null,null,je,{})}}customElements.define("tm-line",qe(qi,{},[],[],!0));function xs(e,t,r){const n=e.slice();return n[2]=t[r],n}function yc(e){let t;return{c(){t=O(" ")},m(r,n){C(r,t,n)},p:Q,i:Q,o:Q,d(r){r&&y(t)}}}function Cc(e){let t,r,n=xe(e[0]),i=[];for(let s=0;s<n.length;s+=1)i[s]=Ds(xs(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o&1){n=xe(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),se(i[l],1)):(i[l]=Ds(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function Ds(e){let t,r;return t=new Rn({props:{title:e[2].title,text:e[2].description,exportparts:"DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"}}),{c(){lr(t.$$.fragment)},m(n,i){Jt(t,n,i),r=!0},p(n,i){const a={};i&1&&(a.title=n[2].title),i&1&&(a.text=n[2].description),t.$set(a)},i(n){r||(se(t.$$.fragment,n),r=!0)},o(n){ke(t.$$.fragment,n),r=!1},d(n){Zt(t,n)}}}function wc(e){let t,r,n,i;const a=[Cc,yc],s=[];function o(l,u){return l[0]&&l[0].length>0?0:1}return t=o(e),r=s[t]=a[t](e),{c(){r.c(),n=Se()},m(l,u){s[t].m(l,u),C(l,n,u),i=!0},p(l,[u]){let f=t;t=o(l),t===f?s[t].p(l,u):(ut(),ke(s[f],1,1,()=>{s[f]=null}),ct(),r=s[t],r?r.p(l,u):(r=s[t]=a[t](l),r.c()),se(r,1),r.m(n.parentNode,n))},i(l){i||(se(r),i=!0)},o(l){ke(r),i=!1},d(l){l&&y(n),s[t].d(l)}}}function vc(e,t,r){let{tournamentdescription:n}=t;const i=()=>{r(0,n)};return e.$$set=a=>{"tournamentdescription"in a&&r(0,n=a.tournamentdescription)},e.$$.update=()=>{e.$$.dirty&1&&n&&i()},[n]}class Ji extends Je{constructor(t){super(),Ve(this,t,vc,wc,je,{tournamentdescription:0})}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(t){this.$$set({tournamentdescription:t}),D()}}customElements.define("description-router",qe(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",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%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",al="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 Es(e,t,r){const n=e.slice();return n[71]=t[r],n}function Ls(e,t,r){const n=e.slice();return n[68]=t[r],n}function Ms(e,t,r){const n=e.slice();return n[71]=t[r],n[77]=r,n}function Rs(e,t,r){const n=e.slice();return n[68]=t[r],n}function As(e,t,r){const n=e.slice();return n[71]=t[r],n}function Tc(e){let t,r,n,i,a,s,o,l,u=e[14]("tournamentsTable.nowinners")+"",f,d=xe(e[4]),h=[];for(let b=0;b<d.length;b+=1)h[b]=Fs(Es(e,d,b));return{c(){t=_("div"),r=_("table"),n=_("thead"),i=_("tr");for(let b=0;b<h.length;b+=1)h[b].c();a=U(),s=_("tbody"),o=_("tr"),l=_("td"),f=O(u),c(i,"part","LeftTableTr"),c(n,"part","LeftTableThead"),c(n,"class","LeftTableThead"),c(l,"colspan",e[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(t,"class","TournamentsTable"),c(t,"part","TournamentsTable"),Mt(t,"display",e[10]?"none":"")},m(b,g){C(b,t,g),m(t,r),m(r,n),m(n,i);for(let p=0;p<h.length;p+=1)h[p]&&h[p].m(i,null);m(r,a),m(r,s),m(s,o),m(o,l),m(l,f)},p(b,g){if(g[0]&86034){d=xe(b[4]);let p;for(p=0;p<d.length;p+=1){const v=Es(b,d,p);h[p]?h[p].p(v,g):(h[p]=Fs(v),h[p].c(),h[p].m(i,null))}for(;p<h.length;p+=1)h[p].d(1);h.length=d.length}g[0]&16384&&u!==(u=b[14]("tournamentsTable.nowinners")+"")&&W(f,u),g[0]&512&&c(l,"colspan",b[9]),g[0]&1024&&Mt(t,"display",b[10]?"none":"")},d(b){b&&y(t),ft(h,b)}}}function kc(e){let t,r=e[6]&&!e[10]&&Os(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,i){n[6]&&!n[10]?r?r.p(n,i):(r=Os(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&y(t),r&&r.d(n)}}}function Sc(e){let t;function r(a,s){return Wn(a[15])==!0?Ec:Dc}let i=r(e)(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){i.p(a,s)},d(a){a&&y(t),i.d(a)}}}function Pc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n;return{c(){t=_("p"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableP")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(t,"data-sort",i[12])},d(i){i&&y(t)}}}function xc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n,i,a;function s(){return e[37](e[71])}return{c(){t=_("button"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableButton")},m(o,l){C(o,t,l),m(t,n),i||(a=et(t,"click",s),i=!0)},p(o,l){e=o,l[0]&16400&&r!==(r=e[14](`tournamentsTable.${e[71]}`)+"")&&W(n,r),l[0]&4096&&c(t,"data-sort",e[12])},d(o){o&&y(t),i=!1,a()}}}function Fs(e){let t,r;function n(s,o){return s[1]=="true"?xc:Pc}let i=n(e),a=i(e);return{c(){t=_("th"),a.c(),r=U(),c(t,"part","LeftTableTh")},m(s,o){C(s,t,o),a.m(t,null),m(t,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(t,r)))},d(s){s&&y(t),a.d()}}}function Os(e){let t,r,n,i=e[14]("tournamentsTable.nowinners")+"",a;return{c(){t=_("div"),r=_("div"),n=_("p"),a=O(i),c(r,"class","TableUser"),c(r,"part","TableUser"),c(t,"class","TableContent"),c(t,"part","TableContent")},m(s,o){C(s,t,o),m(t,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(t)}}}function Dc(e){let t,r,n,i,a,s,o,l,u,f,d,h,b=xe(e[4]),g=[];for(let T=0;T<b.length;T+=1)g[T]=zs(Ms(e,b,T));let p=e[0]=="true"&&e[5]&&Bs(e),v=e[6]&&Hs(e);function k(T,M){return T[6]?Wc:Yc}let L=k(e),w=L(e);return{c(){t=_("div"),r=_("table"),n=_("thead"),i=_("tr");for(let T=0;T<g.length;T+=1)g[T].c();a=U(),s=_("tbody"),p&&p.c(),o=U(),v&&v.c(),l=U(),u=_("div"),f=_("div"),w.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(t,"class","TournamentsTable"),c(t,"part","TournamentsTable")},m(T,M){C(T,t,M),m(t,r),m(r,n),m(n,i);for(let B=0;B<g.length;B+=1)g[B]&&g[B].m(i,null);m(r,a),m(r,s),p&&p.m(s,null),m(s,o),v&&v.m(s,null),m(t,l),m(t,u),m(u,f),w.m(f,null),d||(h=et(f,"click",e[36]),d=!0)},p(T,M){if(M[0]&86034){b=xe(T[4]);let B;for(B=0;B<b.length;B+=1){const F=Ms(T,b,B);g[B]?g[B].p(F,M):(g[B]=zs(F),g[B].c(),g[B].m(i,null))}for(;B<g.length;B+=1)g[B].d(1);g.length=b.length}T[0]=="true"&&T[5]?p?p.p(T,M):(p=Bs(T),p.c(),p.m(s,o)):p&&(p.d(1),p=null),T[6]?v?v.p(T,M):(v=Hs(T),v.c(),v.m(s,null)):v&&(v.d(1),v=null),L!==(L=k(T))&&(w.d(1),w=L(T),w&&(w.c(),w.m(f,null)))},d(T){T&&y(t),ft(g,T),p&&p.d(),v&&v.d(),w.d(),d=!1,h()}}}function Ec(e){let t,r,n,i,a=xe(e[4]),s=[];for(let u=0;u<a.length;u+=1)s[u]=Gs(As(e,a,u));let o=e[0]=="true"&&e[5]&&Ys(e),l=e[6]&&Vs(e);return{c(){t=_("div"),r=_("div");for(let u=0;u<s.length;u+=1)s[u].c();n=U(),o&&o.c(),i=U(),l&&l.c(),c(r,"class","TableUser TableHeadRow"),c(r,"part","TableUser TableHeadRow"),c(t,"class","TableContent"),c(t,"part","TableContent")},m(u,f){C(u,t,f),m(t,r);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(r,null);m(t,n),o&&o.m(t,null),m(t,i),l&&l.m(t,null)},p(u,f){if(f[0]&86034){a=xe(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(t,i)):o&&(o.d(1),o=null),u[6]?l?l.p(u,f):(l=Vs(u),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},d(u){u&&y(t),ft(s,u),o&&o.d(),l&&l.d()}}}function Lc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n;return{c(){t=_("p"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableP"),c(t,"class","LeftTableP")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(t,"data-sort",i[12])},d(i){i&&y(t)}}}function Mc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n,i,a;function s(){return e[35](e[71])}return{c(){t=_("button"),n=O(r),c(t,"data-sort",e[12]),c(t,"part","LeftTableButton")},m(o,l){C(o,t,l),m(t,n),i||(a=et(t,"click",s),i=!0)},p(o,l){e=o,l[0]&16400&&r!==(r=e[14](`tournamentsTable.${e[71]}`)+"")&&W(n,r),l[0]&4096&&c(t,"data-sort",e[12])},d(o){o&&y(t),i=!1,a()}}}function zs(e){let t,r;function n(s,o){return s[1]=="true"?Mc:Lc}let i=n(e),a=i(e);return{c(){t=_("th"),a.c(),r=U(),c(t,"part","LeftTableTh LeftTableTh_"+e[77]),c(t,"class","LeftTableTh")},m(s,o){C(s,t,o),a.m(t,null),m(t,r)},p(s,o){i===(i=n(s))&&a?a.p(s,o):(a.d(1),a=i(s),a&&(a.c(),a.m(t,r)))},d(s){s&&y(t),a.d()}}}function Bs(e){let t,r,n,i,a,s,o,l,u,f,d,h,b,g,p,v,k,L,w=e[5].Player+"",T,M,B,F,Y=e[5].Points+"",E,N,ve,ge,Me,Re,Ee,Ne,_e,I;function Le(A,ce){return A[5].Rank<4&&A[2]=="true"?Ac:Rc}let de=Le(e),$=de(e);function be(A,ce){return A[5].Prize?Bc:zc}let j=be(e),ne=j(e),Te=e[5].Unqualified&&Ns(e);return{c(){t=_("tr"),r=_("td"),n=_("div"),i=_("strong"),$.c(),a=U(),s=_("div"),o=_("img"),f=U(),d=_("img"),v=U(),k=_("td"),L=_("div"),T=O(w),M=U(),B=_("td"),F=_("div"),E=O(Y),N=U(),ve=_("td"),ge=_("div"),ne.c(),_e=U(),Te&&Te.c(),I=Se(),We(o.src,l=il)||c(o,"src",l),c(o,"alt","UpArrow"),c(o,"part","Rank_Arror_UP"),c(o,"class",u="svg Arrow Up "+(e[7]&&e[8]?"Show":"Hidden")),We(d.src,h=al)||c(d,"src",h),c(d,"alt","DownArrow"),c(d,"part","Rank_Arror_Down"),c(d,"class",b="svg Arrow Down "+(e[7]&&!e[8]?"Show":"Hidden")),c(s,"class",g="ScoreChangeFlag "+(e[7]?"Show":"Hidden")),c(s,"part",p="ScoreChangeFlag "+(e[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(L,"part","TableCellContent"),c(L,"class","TableCellContent CellContent"),c(k,"part","LeftTableTd"),c(k,"class","LeftTableTd"),c(F,"class","Flex CellContent"),c(F,"part","Flex"),c(B,"part","LeftTableTd"),c(B,"class","LeftTableTd"),c(ge,"class","PrizeCell CellContent"),c(ge,"part","PrizeCell"),c(ve,"class",Me="LeftTableTd "+(e[5].Unqualified?"":"Qualified")),c(ve,"part",Re="LeftTableTd "+(e[5].Unqualified?"":"Qualified")),c(t,"class",Ee="FirstRow "+(e[5].Unqualified?"UnqualifiedRow":"")),c(t,"part",Ne="FirstRow "+(e[5].Unqualified?"UnqualifiedRow":""))},m(A,ce){C(A,t,ce),m(t,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(t,v),m(t,k),m(k,L),m(L,T),m(t,M),m(t,B),m(B,F),m(F,E),m(t,N),m(t,ve),m(ve,ge),ne.m(ge,null),C(A,_e,ce),Te&&Te.m(A,ce),C(A,I,ce)},p(A,ce){de===(de=Le(A))&&$?$.p(A,ce):($.d(1),$=de(A),$&&($.c(),$.m(i,a))),ce[0]&384&&u!==(u="svg Arrow Up "+(A[7]&&A[8]?"Show":"Hidden"))&&c(o,"class",u),ce[0]&384&&b!==(b="svg Arrow Down "+(A[7]&&!A[8]?"Show":"Hidden"))&&c(d,"class",b),ce[0]&128&&g!==(g="ScoreChangeFlag "+(A[7]?"Show":"Hidden"))&&c(s,"class",g),ce[0]&128&&p!==(p="ScoreChangeFlag "+(A[7]?"Show":"Hidden"))&&c(s,"part",p),ce[0]&32&&w!==(w=A[5].Player+"")&&W(T,w),ce[0]&32&&Y!==(Y=A[5].Points+"")&&W(E,Y),j===(j=be(A))&&ne?ne.p(A,ce):(ne.d(1),ne=j(A),ne&&(ne.c(),ne.m(ge,null))),ce[0]&32&&Me!==(Me="LeftTableTd "+(A[5].Unqualified?"":"Qualified"))&&c(ve,"class",Me),ce[0]&32&&Re!==(Re="LeftTableTd "+(A[5].Unqualified?"":"Qualified"))&&c(ve,"part",Re),ce[0]&32&&Ee!==(Ee="FirstRow "+(A[5].Unqualified?"UnqualifiedRow":""))&&c(t,"class",Ee),ce[0]&32&&Ne!==(Ne="FirstRow "+(A[5].Unqualified?"UnqualifiedRow":""))&&c(t,"part",Ne),A[5].Unqualified?Te?Te.p(A,ce):(Te=Ns(A),Te.c(),Te.m(I.parentNode,I)):Te&&(Te.d(1),Te=null)},d(A){A&&(y(t),y(_e),y(I)),$.d(),ne.d(),Te&&Te.d(A)}}}function Rc(e){let t,r,n=(e[5].Rank||"")+"",i;return{c(){t=_("em"),r=O("#"),i=O(n),c(t,"part","LeftTableTdEm")},m(a,s){C(a,t,s),m(t,r),m(t,i)},p(a,s){s[0]&32&&n!==(n=(a[5].Rank||"")+"")&&W(i,n)},d(a){a&&y(t)}}}function Ac(e){let t;function r(a,s){return a[5].Rank>0?Oc:Fc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function Fc(e){let t;return{c(){t=_("em"),t.textContent="#",c(t,"part","LeftTableTdEm")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Oc(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[5].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&2080&&!We(t.src,r=n[11][n[5].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function zc(e){let t;return{c(){t=O("-")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Bc(e){let t=e[5].Prize+"",r;return{c(){r=O(t)},m(n,i){C(n,r,i)},p(n,i){i[0]&32&&t!==(t=n[5].Prize+"")&&W(r,t)},d(n){n&&y(r)}}}function Ns(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){t=_("tr"),r=_("td"),n=_("div"),i=U(),s=O(a),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${qn}")`),c(r,"colspan",e[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(t,"class","TooltipsRow"),c(t,"part","TooltipsRow")},m(o,l){C(o,t,l),m(t,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(t)}}}function Hs(e){let t,r=xe(e[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=js(Ls(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Se()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,t,a)},p(i,a){if(a[0]&27524){r=xe(i[13]);let s;for(s=0;s<r.length;s+=1){const o=Ls(i,r,s);n[s]?n[s].p(o,a):(n[s]=js(o),n[s].c(),n[s].m(t.parentNode,t))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(t),ft(n,i)}}}function Nc(e){let t,r=(e[68].Rank||"")+"",n;return{c(){t=O("#"),n=O(r)},m(i,a){C(i,t,a),C(i,n,a)},p(i,a){a[0]&8192&&r!==(r=(i[68].Rank||"")+"")&&W(n,r)},d(i){i&&(y(t),y(n))}}}function Hc(e){let t;function r(a,s){return a[68].Rank>0?Ic:Uc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function Uc(e){let t;return{c(){t=O("#")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Ic(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[68].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&10240&&!We(t.src,r=n[11][n[68].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function Us(e){let t,r,n,i,a,s,o;return{c(){t=_("img"),i=U(),a=_("img"),We(t.src,r=il)||c(t,"src",r),c(t,"alt","UpArrow"),c(t,"part","Rank_Arror_UP"),c(t,"class",n="svg Arrow Up "+(e[7]&&e[8]?"Show":"Hidden")),We(a.src,s=al)||c(a,"src",s),c(a,"alt","DownArrow"),c(a,"part","Rank_Arror_Down"),c(a,"class",o="svg Arrow Down "+(e[7]&&!e[8]?"Show":"Hidden"))},m(l,u){C(l,t,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(t,"class",n),u[0]&384&&o!==(o="svg Arrow Down "+(l[7]&&!l[8]?"Show":"Hidden"))&&c(a,"class",o)},d(l){l&&(y(t),y(i),y(a))}}}function jc(e){let t;return{c(){t=O("-")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Gc(e){let t=e[68].Prize+"",r;return{c(){r=O(t)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&t!==(t=n[68].Prize+"")&&W(r,t)},d(n){n&&y(r)}}}function Is(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l;return{c(){t=_("tr"),r=_("td"),n=_("div"),i=U(),s=O(a),o=U(),c(n,"class","ExclamationMark"),c(n,"style",`background-image: url("${qn}")`),c(r,"colspan",e[9]),c(r,"part","LeftTableTd"),c(r,"class","LeftTableTd"),c(t,"class",l="TooltipsRow Rank"+e[68].Rank+"Tr CurrentUserTr"),c(t,"part","TooltipsRow")},m(u,f){C(u,t,f),m(t,r),m(r,n),m(r,i),m(r,s),m(t,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(t,"class",l)},d(u){u&&y(t)}}}function js(e){let t,r,n,i,a,s,o,l,u,f,d,h,b,g=e[68].Player+"",p,v,k,L,w,T=e[68].Points+"",M,B,F,Y,E,N,ve,ge,Me,Re;function Ee(j,ne){return j[68].Rank<4&&j[2]=="true"?Hc:Nc}let Ne=Ee(e),_e=Ne(e),I=e[68].isCurrentUser&&Us(e);function Le(j,ne){return j[68].Prize?Gc:jc}let de=Le(e),$=de(e),be=e[68].Unqualified&&e[68].isCurrentUser&&Is(e);return{c(){t=_("tr"),r=_("td"),n=_("div"),i=_("strong"),a=_("em"),_e.c(),s=U(),o=_("div"),I&&I.c(),d=U(),h=_("td"),b=_("div"),p=O(g),v=U(),k=_("td"),L=_("div"),w=_("div"),M=O(T),B=U(),F=_("td"),Y=_("div"),$.c(),Me=U(),be&&be.c(),Re=Se(),c(o,"class",l="ScoreChangeFlag "+(e[7]?"Show":"Hidden")),c(o,"part",u="ScoreChangeFlag "+(e[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-"+e[68].Rank),c(r,"class","LeftTableTd"),c(b,"part","PlayerCellContent"),c(b,"class","Player CellContent"),c(h,"part","LeftTableTd"),c(h,"class","LeftTableTd"),c(w,"class","Flex ScoreUp"),c(w,"part","Flex ScoreUp"),c(L,"part","ScoreCellContent"),c(L,"class","Score CellContent"),c(k,"part","LeftTableTd"),c(k,"class","LeftTableTd"),c(Y,"part","PrizeCellContent"),c(Y,"class","Prize CellContent "),c(F,"class",E="LeftTableTd "+(e[68].Unqualified?"":"Qualified")),c(F,"part",N="LeftTableTd "+(e[68].Unqualified?"":"Qualified")),c(t,"class",ve="LeftTableTr Rank"+e[68].Rank+"Tr "+(e[68].isCurrentUser?"FirstRow":"")+" "+(e[68].isCurrentUser&&e[68].Unqualified?"UnqualifiedRow":"")),c(t,"part",ge="LeftTableTr "+(e[68].isCurrentUser?"FirstRow":"")+" "+(e[68].isCurrentUser&&e[68].Unqualified?"UnqualifiedRow":""))},m(j,ne){C(j,t,ne),m(t,r),m(r,n),m(n,i),m(i,a),_e.m(a,null),m(a,s),m(a,o),I&&I.m(o,null),m(t,d),m(t,h),m(h,b),m(b,p),m(t,v),m(t,k),m(k,L),m(L,w),m(w,M),m(t,B),m(t,F),m(F,Y),$.m(Y,null),C(j,Me,ne),be&&be.m(j,ne),C(j,Re,ne)},p(j,ne){Ne===(Ne=Ee(j))&&_e?_e.p(j,ne):(_e.d(1),_e=Ne(j),_e&&(_e.c(),_e.m(a,s))),j[68].isCurrentUser?I?I.p(j,ne):(I=Us(j),I.c(),I.m(o,null)):I&&(I.d(1),I=null),ne[0]&128&&l!==(l="ScoreChangeFlag "+(j[7]?"Show":"Hidden"))&&c(o,"class",l),ne[0]&128&&u!==(u="ScoreChangeFlag "+(j[7]?"Show":"Hidden"))&&c(o,"part",u),ne[0]&8192&&f!==(f="LeftTableTd Rank-"+j[68].Rank)&&c(r,"part",f),ne[0]&8192&&g!==(g=j[68].Player+"")&&W(p,g),ne[0]&8192&&T!==(T=j[68].Points+"")&&W(M,T),de===(de=Le(j))&&$?$.p(j,ne):($.d(1),$=de(j),$&&($.c(),$.m(Y,null))),ne[0]&8192&&E!==(E="LeftTableTd "+(j[68].Unqualified?"":"Qualified"))&&c(F,"class",E),ne[0]&8192&&N!==(N="LeftTableTd "+(j[68].Unqualified?"":"Qualified"))&&c(F,"part",N),ne[0]&8192&&ve!==(ve="LeftTableTr Rank"+j[68].Rank+"Tr "+(j[68].isCurrentUser?"FirstRow":"")+" "+(j[68].isCurrentUser&&j[68].Unqualified?"UnqualifiedRow":""))&&c(t,"class",ve),ne[0]&8192&&ge!==(ge="LeftTableTr "+(j[68].isCurrentUser?"FirstRow":"")+" "+(j[68].isCurrentUser&&j[68].Unqualified?"UnqualifiedRow":""))&&c(t,"part",ge),j[68].Unqualified&&j[68].isCurrentUser?be?be.p(j,ne):(be=Is(j),be.c(),be.m(Re.parentNode,Re)):be&&(be.d(1),be=null)},d(j){j&&(y(t),y(Me),y(Re)),_e.d(),I&&I.d(),$.d(),be&&be.d(j)}}}function Yc(e){let t,r;return{c(){t=$e("svg"),r=$e("path"),c(r,"d","M6 9l6 6 6-6"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round")},m(n,i){C(n,t,i),m(t,r)},d(n){n&&y(t)}}}function Wc(e){let t,r;return{c(){t=$e("svg"),r=$e("path"),c(r,"d","M18 15l-6-6-6 6"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round")},m(n,i){C(n,t,i),m(t,r)},d(n){n&&y(t)}}}function Vc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n;return{c(){t=_("p"),n=O(r),c(t,"data-sort",e[12])},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&16400&&r!==(r=i[14](`tournamentsTable.${i[71]}`)+"")&&W(n,r),a[0]&4096&&c(t,"data-sort",i[12])},d(i){i&&y(t)}}}function qc(e){let t,r=e[14](`tournamentsTable.${e[71]}`)+"",n,i,a;function s(){return e[34](e[71])}return{c(){t=_("button"),n=O(r),c(t,"data-sort",e[12])},m(o,l){C(o,t,l),m(t,n),i||(a=et(t,"click",s),i=!0)},p(o,l){e=o,l[0]&16400&&r!==(r=e[14](`tournamentsTable.${e[71]}`)+"")&&W(n,r),l[0]&4096&&c(t,"data-sort",e[12])},d(o){o&&y(t),i=!1,a()}}}function Gs(e){let t,r,n,i;function a(l,u){return l[1]=="true"?qc:Vc}let s=a(e),o=s(e);return{c(){t=_("div"),o.c(),r=U(),c(t,"class",n="TableCell Table"+e[71]),c(t,"part",i="TableCell Table"+e[71])},m(l,u){C(l,t,u),o.m(t,null),m(t,r)},p(l,u){s===(s=a(l))&&o?o.p(l,u):(o.d(1),o=s(l),o&&(o.c(),o.m(t,r))),u[0]&16&&n!==(n="TableCell Table"+l[71])&&c(t,"class",n),u[0]&16&&i!==(i="TableCell Table"+l[71])&&c(t,"part",i)},d(l){l&&y(t),o.d()}}}function Ys(e){let t,r,n,i,a,s,o=e[5].Player+"",l,u,f,d=e[5].Points+"",h,b,g,p,v,k;function L(E,N){return E[5].Rank<4&&E[2]=="true"?Zc:Jc}let w=L(e),T=w(e);function M(E,N){return E[5].Prize?$c:Kc}let B=M(e),F=B(e),Y=e[5].Unqualified&&Ws(e);return{c(){t=_("div"),r=_("div"),T.c(),a=U(),s=_("div"),l=O(o),u=U(),f=_("div"),h=O(d),b=U(),F.c(),v=U(),Y&&Y.c(),k=Se(),c(r,"class",n="TableCell TableRank "+(e[5].Prize?"Qualified":"")),c(r,"part",i="TableCell TableRank RankFirstRow "+(e[5].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(t,"class",g="TableUser CurrentUserRow "+(e[5].Unqualified?"UnqualifiedRow":"")),c(t,"part",p="TableUser CurrentUserRow "+(e[5].Unqualified?"UnqualifiedRow":""))},m(E,N){C(E,t,N),m(t,r),T.m(r,null),m(t,a),m(t,s),m(s,l),m(t,u),m(t,f),m(f,h),m(t,b),F.m(t,null),C(E,v,N),Y&&Y.m(E,N),C(E,k,N)},p(E,N){w===(w=L(E))&&T?T.p(E,N):(T.d(1),T=w(E),T&&(T.c(),T.m(r,null))),N[0]&32&&n!==(n="TableCell TableRank "+(E[5].Prize?"Qualified":""))&&c(r,"class",n),N[0]&32&&i!==(i="TableCell TableRank RankFirstRow "+(E[5].Prize?"Qualified":""))&&c(r,"part",i),N[0]&32&&o!==(o=E[5].Player+"")&&W(l,o),N[0]&32&&d!==(d=E[5].Points+"")&&W(h,d),B===(B=M(E))&&F?F.p(E,N):(F.d(1),F=B(E),F&&(F.c(),F.m(t,null))),N[0]&32&&g!==(g="TableUser CurrentUserRow "+(E[5].Unqualified?"UnqualifiedRow":""))&&c(t,"class",g),N[0]&32&&p!==(p="TableUser CurrentUserRow "+(E[5].Unqualified?"UnqualifiedRow":""))&&c(t,"part",p),E[5].Unqualified?Y?Y.p(E,N):(Y=Ws(E),Y.c(),Y.m(k.parentNode,k)):Y&&(Y.d(1),Y=null)},d(E){E&&(y(t),y(v),y(k)),T.d(),F.d(),Y&&Y.d(E)}}}function Jc(e){let t,r=(e[5].Rank||"")+"",n;return{c(){t=_("em"),n=O(r),c(t,"part","LeftTableTdEm")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&32&&r!==(r=(i[5].Rank||"")+"")&&W(n,r)},d(i){i&&y(t)}}}function Zc(e){let t;function r(a,s){return a[5].Rank>0?Qc:Xc}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function Xc(e){let t;return{c(){t=_("em"),t.textContent="#",c(t,"part","LeftTableTdEm")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function Qc(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[5].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&2080&&!We(t.src,r=n[11][n[5].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function Kc(e){let t;return{c(){t=_("div"),t.textContent="-",c(t,"class","TableCell TablePrize"),c(t,"part","TableCell TablePrize")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function $c(e){let t,r=e[5].Prize+"",n,i,a;return{c(){t=_("div"),n=O(r),c(t,"class",i="TableCell TablePrize "+(e[5].Unqualified?"":"Qualified")),c(t,"part",a="TableCell TablePrize "+(e[5].Unqualified?"":"Qualified"))},m(s,o){C(s,t,o),m(t,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(t,"class",i),o[0]&32&&a!==(a="TableCell TablePrize "+(s[5].Unqualified?"":"Qualified"))&&c(t,"part",a)},d(s){s&&y(t)}}}function Ws(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s;return{c(){t=_("div"),r=_("div"),n=U(),i=_("em"),s=O(a),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${qn}")`),c(i,"part","TableUserTooltipsEm"),c(t,"class","TableUserTooltips"),c(t,"part","TableUserTooltips")},m(o,l){C(o,t,l),m(t,r),m(t,n),m(t,i),m(i,s)},p(o,l){l[0]&16384&&a!==(a=o[14]("tournamentsTable.UnqualifiedTips")+"")&&W(s,a)},d(o){o&&y(t)}}}function Vs(e){let t,r=xe(e[13]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Js(Rs(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Se()},m(i,a){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,a);C(i,t,a)},p(i,a){if(a[0]&26628){r=xe(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(t.parentNode,t))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&y(t),ft(n,i)}}}function e1(e){let t=(e[68].Rank||"")+"",r;return{c(){r=O(t)},m(n,i){C(n,r,i)},p(n,i){i[0]&8192&&t!==(t=(n[68].Rank||"")+"")&&W(r,t)},d(n){n&&y(r)}}}function t1(e){let t;function r(a,s){return a[68].Rank>0?n1:r1}let n=r(e),i=n(e);return{c(){i.c(),t=Se()},m(a,s){i.m(a,s),C(a,t,s)},p(a,s){n===(n=r(a))&&i?i.p(a,s):(i.d(1),i=n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&y(t),i.d(a)}}}function r1(e){let t;return{c(){t=_("em"),c(t,"part","LeftTableTdEm")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function n1(e){let t,r;return{c(){t=_("img"),c(t,"alt","prize"),c(t,"class","PrizeIcon"),We(t.src,r=e[11][e[68].Rank])||c(t,"src",r)},m(n,i){C(n,t,i)},p(n,i){i[0]&10240&&!We(t.src,r=n[11][n[68].Rank])&&c(t,"src",r)},d(n){n&&y(t)}}}function i1(e){let t;return{c(){t=_("div"),t.textContent="-",c(t,"class","TableCell TablePrize"),c(t,"part","TableCell TablePrize")},m(r,n){C(r,t,n)},p:Q,d(r){r&&y(t)}}}function a1(e){let t,r=e[68].Prize+"",n,i,a;return{c(){t=_("div"),n=O(r),c(t,"class",i="TableCell TablePrize "+(e[68].Unqualified?"":"Qualified")),c(t,"part",a="TableCell TablePrize "+(e[68].Unqualified?"":"Qualified"))},m(s,o){C(s,t,o),m(t,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(t,"class",i),o[0]&8192&&a!==(a="TableCell TablePrize "+(s[68].Unqualified?"":"Qualified"))&&c(t,"part",a)},d(s){s&&y(t)}}}function qs(e){let t,r,n,i,a=e[14]("tournamentsTable.UnqualifiedTips")+"",s,o,l,u;return{c(){t=_("div"),r=_("div"),n=U(),i=_("em"),s=O(a),o=U(),c(r,"class","ExclamationMark"),c(r,"style",`background-image: url("${qn}")`),c(i,"part","TableUserTooltipsEm"),c(t,"class",l="TableUserTooltips "+(e[68].Unqualified?"UnqualifiedRow":"")),c(t,"part",u="TableUserTooltips "+(e[68].Unqualified?"UnqualifiedRow":""))},m(f,d){C(f,t,d),m(t,r),m(t,n),m(t,i),m(i,s),m(t,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(t,"class",l),d[0]&8192&&u!==(u="TableUserTooltips "+(f[68].Unqualified?"UnqualifiedRow":""))&&c(t,"part",u)},d(f){f&&y(t)}}}function Js(e){let t,r,n,i,a,s,o=e[68].Player+"",l,u,f,d=e[68].Points+"",h,b,g,p,v,k;function L(E,N){return E[68].Rank<4&&E[2]=="true"?t1:e1}let w=L(e),T=w(e);function M(E,N){return E[68].Prize?a1:i1}let B=M(e),F=B(e),Y=e[68].isCurrentUser&&e[68].Unqualified&&qs(e);return{c(){t=_("div"),r=_("div"),T.c(),a=U(),s=_("div"),l=O(o),u=U(),f=_("div"),h=O(d),b=U(),F.c(),v=U(),Y&&Y.c(),k=Se(),c(r,"class",n="TableCell TableRank "+(e[68].Prize?"Qualified":"")),c(r,"part",i="TableCell Rank-"+e[68].Rank+" TableRank "+(e[68].Prize?"Qualified":"")),c(s,"class","TableCell TablePlayer"),c(s,"part","TableCell TablePlayer"),c(f,"class","TableCell TablePoints"),c(f,"part","TableCell TablePoints"),c(t,"class",g="TableUser "+(e[68].isCurrentUser?"CurrentUserRow":"")),c(t,"part",p="TableUser "+(e[68].isCurrentUser?"CurrentUserRow":""))},m(E,N){C(E,t,N),m(t,r),T.m(r,null),m(t,a),m(t,s),m(s,l),m(t,u),m(t,f),m(f,h),m(t,b),F.m(t,null),C(E,v,N),Y&&Y.m(E,N),C(E,k,N)},p(E,N){w===(w=L(E))&&T?T.p(E,N):(T.d(1),T=w(E),T&&(T.c(),T.m(r,null))),N[0]&8192&&n!==(n="TableCell TableRank "+(E[68].Prize?"Qualified":""))&&c(r,"class",n),N[0]&8192&&i!==(i="TableCell Rank-"+E[68].Rank+" TableRank "+(E[68].Prize?"Qualified":""))&&c(r,"part",i),N[0]&8192&&o!==(o=E[68].Player+"")&&W(l,o),N[0]&8192&&d!==(d=E[68].Points+"")&&W(h,d),B===(B=M(E))&&F?F.p(E,N):(F.d(1),F=B(E),F&&(F.c(),F.m(t,null))),N[0]&8192&&g!==(g="TableUser "+(E[68].isCurrentUser?"CurrentUserRow":""))&&c(t,"class",g),N[0]&8192&&p!==(p="TableUser "+(E[68].isCurrentUser?"CurrentUserRow":""))&&c(t,"part",p),E[68].isCurrentUser&&E[68].Unqualified?Y?Y.p(E,N):(Y=qs(E),Y.c(),Y.m(k.parentNode,k)):Y&&(Y.d(1),Y=null)},d(E){E&&(y(t),y(v),y(k)),T.d(),F.d(),Y&&Y.d(E)}}}function s1(e){let t,r;function n(s,o){return!s[10]&&(s[3].length>0||s[5])?Sc:(t==null&&(t=Wn(s[15])==!0),t?kc:Tc)}let i=n(e),a=i(e);return{c(){a.c(),r=Se()},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:Q,o:Q,d(s){s&&y(r),a.d(s)}}}let o1=null;function l1(e,t,r){let n,i,a;_t(e,yt,P=>r(14,a=P));let{sortable:s=!1}=t,{firstrow:o=!0}=t,{lang:l="en"}=t,{scorefractiondigit:u="2"}=t,{session:f=""}=t,{userid:d=""}=t,{tourid:h=""}=t,{endpoint:b=""}=t,{tablelimit:g="30"}=t,{namemask:p=""}=t,{showunqualifiedplayer:v="true"}=t,{mobiletablelimit:k="15"}=t,{updatetableintime:L="true"}=t,{minscore:w=""}=t,{showrankasimage:T="true"}=t,{cellsetting:M={firstrow:!0}}=t,B=[],F=[],Y=null,E=null,N={},ve=!0,ge=window.navigator.userAgent,Me=!1,Re=!1,Ee,Ne,_e,I=!1,Le,de={},$=!1,be,j,ne="",Te=!0,A=2;const ce=["Rank","Player","Points","Prize"],Ge=P=>({Rank:P.rank,Player:P.userID==ne?"me":P.shortName,Points:P.score.toLocaleString("en-US",{minimumFractionDigits:A,maximumFractionDigits:A}),Prize:P.prizeName,Unqualified:P.unqualified,BetCount:P.betCount,userID:P.userID}),Pe=()=>{f&&f.length>0&&f!="false"&&(ne=d),Ee=null,r(10,Te=!1)},it=(P,te)=>te.find(ye=>ye.Rank==P);let Ye,cr;const fr=P=>{if(!Ee){Ee=P;return}r(7,Me=Ee!=P),r(8,Re=Ee>P),Me&&(Ye=new Date().getTime(),setTimeout(function(){cr=new Date().getTime(),(cr-Ye)/1e3>4&&r(7,Me=!1),Ee=P},5e3))},dr=P=>{if(P.data&&P.data.type==="CasinoTableData"&&(r(3,F=P.data.tableData),r(13,n=F)),P.data&&P.data.type==="CasinoTableColumns"&&(r(4,B=P.data.tableColumns),r(9,Ne=B.length||4)),P.data&&P.data.type==="CasinoTableCurrentUserData"&&F&&(F.forEach(te=>{te.userID==P.data.tableData.userID&&(te.isCurrentUser=!0,Ee||(Ee=P.data.tableData.Rank),N?(fr(P.data.tableData.Rank),r(5,N=null)):fr(P.data.tableData.Rank))}),r(13,n=F)),o&&P.data&&P.data.type==="CasinoTableFirstRowData"){let te=P.data.tableData;if(!N){r(5,N=P.data.tableData),Ee=N.Rank;return}N&&N.UserID==te.UserID&&(fr(te.Rank),r(5,N=P.data.tableData))}if(P.data&&P.data.type==="CasinoTableDataUpdate"&&P.data.tableData){let te=P.data.tableData;if(!(F instanceof Array))return;F.forEach(function(re,ye){let Ae=it(re.Rank,te);Ae&&r(3,F[ye]=Ae,F)})}},Bt=P=>{const te=P===Y,re=E==="ASC",ye=te&&!re;r(31,Y=ye?null:P),r(32,E=ye?null:te&&re?"DESC":"ASC")},S=(P,te)=>{const re=te.toLowerCase();if(P==="string")return(ye,Ae)=>ye[re].localeCompare(Ae[re]);if(P==="number")return(ye,Ae)=>ye[re]-Ae[re];if(P==="object")return(ye,Ae)=>ye[re]-Ae[re]},H=()=>{let P=[];if(F&&(P=[...F]),!F.length)return F;const te=typeof F[0][Y.toLowerCase()];return P.sort(S(te,Y)),E==="ASC"?P:P.reverse()},q=()=>{r(6,ve=!ve)},z=P=>{$=!1;let te=[];return P&&P.length>0&&P.forEach(re=>{let ye=Ge(re);re.userID==ne&&(de=ye,$=!0),te.push(ye)}),te},ie=P=>nr(nr({},Ge(P)),P.unqualified===!0?{Rank:P.rank}:{}),X=P=>{if(!(!P.data||P.type!="message"))try{let te=P.data,re=JSON.parse(te);if(!re||!re.items)return;let ye=z(re.items);window.postMessage({type:"CasinoTableData",tableData:ye},window.location.href),$=ye.filter(dt=>dt.userID=ne).length>0,I=re.item&&!$,I&&(r(5,N=ie(re.item)),N&&window.postMessage({type:"CasinoTableFirstRowData",tableData:N},window.location.href));let Ae=$?de.Rank:N.Rank;(Ae!=j||be!=re.items.length)&&(be=re.items.length,window.postMessage({type:`TournamentRankInfo_${h}`,rankInfo:{rank:Ae,overallRank:be,prize:$?de.Prize||"-":N.Prize||"-"}},window.location.href),j=Ae),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:de},window.location.href)}catch(te){console.error(te)}},oe=(P,te)=>{let re=`${b}/v1/tournaments/${P}/leaderboard/updates?HeartBeat=false&${te.toString()}`;Le&&(Le.removeEventListener("message",X),Le.close()),Le=new tl.EventSourcePolyfill(re,{headers:{accept:"text/event-stream","X-SessionId":f}}),typeof Le!="undefined"&&Le.addEventListener("message",X)},x=(P,te)=>{let re=new URL(P+`/v1/tournaments/${te}/leaderboard`),ye=new Headers;re.searchParams.append("language",l);let Ae=`includeUnqualifiedPlayer=${v}`;if(Ae=p?`${Ae},shortNameMask=${p}`:Ae,Ae=w?`${Ae},minscore=${w}`:Ae,re.searchParams.append("filter",Ae),f){let ht=Wn(ge)==!0?k:g;re.searchParams.append("pagination",`offset=0,limit=${ht}`),ye.append("X-SessionId",f)}re.searchParams.append("platform",Vn(ge));let dt={method:"GET",headers:ye};r(10,Te=!0),r(5,N=null),fetch(re,dt).then(ht=>ht.json()).then(ht=>{r(10,Te=!1),_e=z(ht.items),ht.item&&!$&&(I=!0,r(5,N=ie(ht.item))),r(6,ve=!0),j=$?de.Rank:N?N.Rank:0,be=ht.total,window.postMessage({type:"CasinoTableData",tableData:_e},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:ce},window.location.href),I&&window.postMessage({type:"CasinoTableFirstRowData",tableData:N},window.location.href),L==="true"&&oe(te,re.searchParams),$&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:de},window.location.href)})},Z=()=>{x(b,h)};let ee=[],ae=!1;Ft(()=>(r(11,ee=[An,An,rl,nl]),r(0,o=M?M.firstrow:!0),Pe(),r(33,ae=!0),window.addEventListener("message",dr),()=>{window.removeEventListener("message",dr)}));const J=P=>Bt(P),le=P=>Bt(P),Ue=()=>q(),Nt=P=>Bt(P);return e.$$set=P=>{"sortable"in P&&r(1,s=P.sortable),"firstrow"in P&&r(0,o=P.firstrow),"lang"in P&&r(18,l=P.lang),"scorefractiondigit"in P&&r(19,u=P.scorefractiondigit),"session"in P&&r(20,f=P.session),"userid"in P&&r(21,d=P.userid),"tourid"in P&&r(22,h=P.tourid),"endpoint"in P&&r(23,b=P.endpoint),"tablelimit"in P&&r(24,g=P.tablelimit),"namemask"in P&&r(25,p=P.namemask),"showunqualifiedplayer"in P&&r(26,v=P.showunqualifiedplayer),"mobiletablelimit"in P&&r(27,k=P.mobiletablelimit),"updatetableintime"in P&&r(28,L=P.updatetableintime),"minscore"in P&&r(29,w=P.minscore),"showrankasimage"in P&&r(2,T=P.showrankasimage),"cellsetting"in P&&r(30,M=P.cellsetting)},e.$$.update=()=>{e.$$.dirty[0]&8|e.$$.dirty[1]&3&&r(13,n=Y&&E?H():[...F]),e.$$.dirty[1]&3&&r(12,i=o1===Y?E:null),e.$$.dirty[0]&524288&&(A=Number(u)),e.$$.dirty[0]&1048576|e.$$.dirty[1]&4&&ae&&f&&Pe(),e.$$.dirty[0]&91488256|e.$$.dirty[1]&4&&l&&d&&f&&h&&v&&g&&ae&&Z()},[o,s,T,F,B,N,ve,Me,Re,Ne,Te,ee,i,n,a,ge,Bt,q,l,u,f,d,h,b,g,p,v,k,L,w,M,Y,E,ae,J,le,Ue,Nt]}class Zi extends Je{constructor(t){super(),Ve(this,t,l1,s1,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(t){this.$$set({sortable:t}),D()}get firstrow(){return this.$$.ctx[0]}set firstrow(t){this.$$set({firstrow:t}),D()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),D()}get scorefractiondigit(){return this.$$.ctx[19]}set scorefractiondigit(t){this.$$set({scorefractiondigit:t}),D()}get session(){return this.$$.ctx[20]}set session(t){this.$$set({session:t}),D()}get userid(){return this.$$.ctx[21]}set userid(t){this.$$set({userid:t}),D()}get tourid(){return this.$$.ctx[22]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[23]}set endpoint(t){this.$$set({endpoint:t}),D()}get tablelimit(){return this.$$.ctx[24]}set tablelimit(t){this.$$set({tablelimit:t}),D()}get namemask(){return this.$$.ctx[25]}set namemask(t){this.$$set({namemask:t}),D()}get showunqualifiedplayer(){return this.$$.ctx[26]}set showunqualifiedplayer(t){this.$$set({showunqualifiedplayer:t}),D()}get mobiletablelimit(){return this.$$.ctx[27]}set mobiletablelimit(t){this.$$set({mobiletablelimit:t}),D()}get updatetableintime(){return this.$$.ctx[28]}set updatetableintime(t){this.$$set({updatetableintime:t}),D()}get minscore(){return this.$$.ctx[29]}set minscore(t){this.$$set({minscore:t}),D()}get showrankasimage(){return this.$$.ctx[2]}set showrankasimage(t){this.$$set({showrankasimage:t}),D()}get cellsetting(){return this.$$.ctx[30]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("leaderboard-router",qe(Zi,{sortable:{type:"Boolean"},firstrow:{type:"Boolean"},lang:{},scorefractiondigit:{},session:{},userid:{},tourid:{},endpoint:{},tablelimit:{},namemask:{},showunqualifiedplayer:{},mobiletablelimit:{},updatetableintime:{},minscore:{},showrankasimage:{},cellsetting:{}},[],[],!0));function u1(e){let t,r;return{c(){t=_("p"),r=O(e[0]),c(t,"class","Title"),c(t,"part","Title")},m(n,i){C(n,t,i),m(t,r)},p(n,[i]){i&1&&W(r,n[0])},i:Q,o:Q,d(n){n&&y(t)}}}function c1(e,t,r){let{lang:n="en"}=t,{title:i=""}=t;er({fallbackLocale:"en",initialLocale:"en"});const a=()=>{bt(n)};return e.$$set=s=>{"lang"in s&&r(1,n=s.lang),"title"in s&&r(0,i=s.title)},e.$$.update=()=>{e.$$.dirty&2&&n&&a()},[i,n]}class Xi extends Je{constructor(t){super(),Ve(this,t,c1,u1,je,{lang:1,title:0})}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),D()}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),D()}}customElements.define("title-line",qe(Xi,{lang:{},title:{}},[],[],!0));function f1(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
29
29
|
//! version : 2.29.4
|
|
30
30
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
31
31
|
//! license : MIT
|
|
@@ -33,5 +33,5 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
33
33
|
var sl;function G(){return sl.apply(null,arguments)}function d1(e){sl=e}function Pt(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function br(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ce(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ua(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Ce(e,t))return!1;return!0}function lt(e){return e===void 0}function Qt(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function cn(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function ol(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function ar(e,t){for(var r in t)Ce(t,r)&&(e[r]=t[r]);return Ce(t,"toString")&&(e.toString=t.toString),Ce(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ot(e,t,r,n){return Ml(e,t,r,n,!0).utc()}function h1(){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 ue(e){return e._pf==null&&(e._pf=h1()),e._pf}var Qi;Array.prototype.some?Qi=Array.prototype.some:Qi=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function ca(e){if(e._isValid==null){var t=ue(e),r=Qi.call(t.parsedDateParts,function(i){return i!=null}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n}return e._isValid}function Jn(e){var t=Ot(NaN);return e!=null?ar(ue(t),e):ue(t).userInvalidated=!0,t}var Zs=G.momentProperties=[],bi=!1;function fa(e,t){var r,n,i,a=Zs.length;if(lt(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),lt(t._i)||(e._i=t._i),lt(t._f)||(e._f=t._f),lt(t._l)||(e._l=t._l),lt(t._strict)||(e._strict=t._strict),lt(t._tzm)||(e._tzm=t._tzm),lt(t._isUTC)||(e._isUTC=t._isUTC),lt(t._offset)||(e._offset=t._offset),lt(t._pf)||(e._pf=ue(t)),lt(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=Zs[r],i=t[n],lt(i)||(e[n]=i);return e}function fn(e){fa(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),bi===!1&&(bi=!0,G.updateOffset(this),bi=!1)}function xt(e){return e instanceof fn||e!=null&&e._isAMomentObject!=null}function ll(e){G.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function Tt(e,t){var r=!0;return ar(function(){if(G.deprecationHandler!=null&&G.deprecationHandler(null,e),r){var n=[],i,a,s,o=arguments.length;for(a=0;a<o;a++){if(i="",typeof arguments[a]=="object"){i+=`
|
|
34
34
|
[`+a+"] ";for(s in arguments[0])Ce(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];n.push(i)}ll(e+`
|
|
35
35
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
36
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Xs={};function ul(e,t){G.deprecationHandler!=null&&G.deprecationHandler(e,t),Xs[e]||(ll(t),Xs[e]=!0)}G.suppressDeprecationWarnings=!1;G.deprecationHandler=null;function zt(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function m1(e){var t,r;for(r in e)Ce(e,r)&&(t=e[r],zt(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ki(e,t){var r=ar({},e),n;for(n in t)Ce(t,n)&&(br(e[n])&&br(t[n])?(r[n]={},ar(r[n],e[n]),ar(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)Ce(e,n)&&!Ce(t,n)&&br(e[n])&&(r[n]=ar({},r[n]));return r}function da(e){e!=null&&this.set(e)}var $i;Object.keys?$i=Object.keys:$i=function(e){var t,r=[];for(t in e)Ce(e,t)&&r.push(t);return r};var p1={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function g1(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return zt(n)?n.call(t,r):n}function Rt(e,t,r){var n=""+Math.abs(e),i=t-n.length,a=e>=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={},xr={};function K(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(xr[e]=i),t&&(xr[t[0]]=function(){return Rt(i.apply(this,arguments),t[1],t[2])}),r&&(xr[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function b1(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _1(e){var t=e.match(ha),r,n;for(r=0,n=t.length;r<n;r++)xr[t[r]]?t[r]=xr[t[r]]:t[r]=b1(t[r]);return function(i){var a="",s;for(s=0;s<n;s++)a+=zt(t[s])?t[s].call(i,e):t[s];return a}}function Sn(e,t){return e.isValid()?(t=cl(t,e.localeData()),_i[t]=_i[t]||_1(t),_i[t](e)):e.localeData().invalidDate()}function cl(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(_n.lastIndex=0;r>=0&&_n.test(e);)e=e.replace(_n,n),_n.lastIndex=0,r-=1;return e}var y1={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 C1(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(ha).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var v1="Invalid date";function w1(){return this._invalidDate}var T1="%d",k1=/\d{1,2}/;function S1(e){return this._ordinal.replace("%d",e)}var P1={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 x1(e,t,r,n){var i=this._relativeTime[r];return zt(i)?i(e,t,r,n):i.replace(/%d/i,e)}function D1(e,t){var r=this._relativeTime[e>0?"future":"past"];return zt(r)?r(t):r.replace(/%s/i,t)}var Qr={};function rt(e,t){var r=e.toLowerCase();Qr[r]=Qr[r+"s"]=Qr[t]=e}function kt(e){return typeof e=="string"?Qr[e]||Qr[e.toLowerCase()]:void 0}function ma(e){var t={},r,n;for(n in e)Ce(e,n)&&(r=kt(n),r&&(t[r]=e[n]));return t}var fl={};function nt(e,t){fl[e]=t}function E1(e){var t=[],r;for(r in e)Ce(e,r)&&t.push({unit:r,priority:fl[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}function Zn(e){return e%4===0&&e%100!==0||e%400===0}function wt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function fe(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=wt(t)),r}function Ur(e,t){return function(r){return r!=null?(dl(this,e,r),G.updateOffset(this,t),this):Fn(this,e)}}function Fn(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function dl(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Zn(e.year())&&e.month()===1&&e.date()===29?(r=fe(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),ti(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function L1(e){return e=kt(e),zt(this[e])?this[e]():this}function M1(e,t){if(typeof e=="object"){e=ma(e);var r=E1(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=kt(e),zt(this[e]))return this[e](t);return this}var hl=/\d/,Ct=/\d\d/,ml=/\d{3}/,pa=/\d{4}/,Xn=/[+-]?\d{6}/,Oe=/\d\d?/,pl=/\d\d\d\d?/,gl=/\d\d\d\d\d\d?/,Qn=/\d{1,3}/,ga=/\d{1,4}/,Kn=/[+-]?\d{1,6}/,Ir=/\d+/,$n=/[+-]?\d+/,R1=/Z|[+-]\d\d:?\d\d/gi,ei=/Z|[+-]\d\d(?::?\d\d)?/gi,A1=/[+-]?\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(e,t,r){On[e]=zt(t)?t:function(n,i){return n&&r?r:t}}function F1(e,t){return Ce(On,e)?On[e](t._strict,t._locale):new RegExp(O1(e))}function O1(e){return gt(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,a){return r||n||i||a}))}function gt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ea={};function De(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),Qt(t)&&(n=function(a,s){s[t]=fe(a)}),i=e.length,r=0;r<i;r++)ea[e[r]]=n}function hn(e,t){De(e,function(r,n,i,a){i._w=i._w||{},t(r,i._w,i,a)})}function z1(e,t,r){t!=null&&Ce(ea,e)&&ea[e](t,r._a,r,e)}var tt=0,Gt=1,Lt=2,Xe=3,St=4,Yt=5,gr=6,B1=7,N1=8;function H1(e,t){return(e%t+t)%t}var Ie;Array.prototype.indexOf?Ie=Array.prototype.indexOf:Ie=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ti(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=H1(t,12);return e+=(t-r)/12,r===1?Zn(e)?29:28:31-r%7%2}K("M",["MM",2],"Mo",function(){return this.month()+1});K("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});K("MMMM",0,0,function(e){return this.localeData().months(this,e)});rt("month","M");nt("month",8);V("M",Oe);V("MM",Oe,Ct);V("MMM",function(e,t){return t.monthsShortRegex(e)});V("MMMM",function(e,t){return t.monthsRegex(e)});De(["M","MM"],function(e,t){t[Gt]=fe(e)-1});De(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Gt]=i:ue(r).invalidMonth=e});var U1="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),bl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_l=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,I1=dn,j1=dn;function G1(e,t){return e?Pt(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||_l).test(t)?"format":"standalone"][e.month()]:Pt(this._months)?this._months:this._months.standalone}function Y1(e,t){return e?Pt(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[_l.test(t)?"format":"standalone"][e.month()]:Pt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function W1(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=Ot([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:null):(i=Ie.call(this._longMonthsParse,s),i!==-1?i:null):t==="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 V1(e,t,r){var n,i,a;if(this._monthsParseExact)return W1.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=Ot([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&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function yl(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=fe(t);else if(t=e.localeData().monthsParse(t),!Qt(t))return e}return r=Math.min(e.date(),ti(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Cl(e){return e!=null?(yl(this,e),G.updateOffset(this,!0),this):Fn(this,"Month")}function q1(){return ti(this.year(),this.month())}function J1(e){return this._monthsParseExact?(Ce(this,"_monthsRegex")||vl.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ce(this,"_monthsShortRegex")||(this._monthsShortRegex=I1),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Z1(e){return this._monthsParseExact?(Ce(this,"_monthsRegex")||vl.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ce(this,"_monthsRegex")||(this._monthsRegex=j1),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function vl(){function e(s,o){return o.length-s.length}var t=[],r=[],n=[],i,a;for(i=0;i<12;i++)a=Ot([2e3,i]),t.push(this.monthsShort(a,"")),r.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(t.sort(e),r.sort(e),n.sort(e),i=0;i<12;i++)t[i]=gt(t[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("^("+t.join("|")+")","i")}K("Y",0,0,function(){var e=this.year();return e<=9999?Rt(e,4):"+"+e});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");rt("year","y");nt("year",1);V("Y",$n);V("YY",Oe,Ct);V("YYYY",ga,pa);V("YYYYY",Kn,Xn);V("YYYYYY",Kn,Xn);De(["YYYYY","YYYYYY"],tt);De("YYYY",function(e,t){t[tt]=e.length===2?G.parseTwoDigitYear(e):fe(e)});De("YY",function(e,t){t[tt]=G.parseTwoDigitYear(e)});De("Y",function(e,t){t[tt]=parseInt(e,10)});function Kr(e){return Zn(e)?366:365}G.parseTwoDigitYear=function(e){return fe(e)+(fe(e)>68?1900:2e3)};var wl=Ur("FullYear",!0);function X1(){return Zn(this.year())}function Q1(e,t,r,n,i,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,a,s),o}function nn(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function zn(e,t,r){var n=7+t-r,i=(7+nn(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Tl(e,t,r,n,i){var a=(7+r-n)%7,s=zn(e,n,i),o=1+7*(t-1)+a+s,l,u;return o<=0?(l=e-1,u=Kr(l)+o):o>Kr(e)?(l=e+1,u=o-Kr(e)):(l=e,u=o),{year:l,dayOfYear:u}}function an(e,t,r){var n=zn(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,a,s;return i<1?(s=e.year()-1,a=i+Vt(s,t,r)):i>Vt(e.year(),t,r)?(a=i-Vt(e.year(),t,r),s=e.year()+1):(s=e.year(),a=i),{week:a,year:s}}function Vt(e,t,r){var n=zn(e,t,r),i=zn(e+1,t,r);return(Kr(e)-n+i)/7}K("w",["ww",2],"wo","week");K("W",["WW",2],"Wo","isoWeek");rt("week","w");rt("isoWeek","W");nt("week",5);nt("isoWeek",5);V("w",Oe);V("ww",Oe,Ct);V("W",Oe);V("WW",Oe,Ct);hn(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=fe(e)});function K1(e){return an(e,this._week.dow,this._week.doy).week}var $1={dow:0,doy:6};function ef(){return this._week.dow}function tf(){return this._week.doy}function rf(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function nf(e){var t=an(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}K("d",0,"do","day");K("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});K("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});K("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});K("e",0,0,"weekday");K("E",0,0,"isoWeekday");rt("day","d");rt("weekday","e");rt("isoWeekday","E");nt("day",11);nt("weekday",11);nt("isoWeekday",11);V("d",Oe);V("e",Oe);V("E",Oe);V("dd",function(e,t){return t.weekdaysMinRegex(e)});V("ddd",function(e,t){return t.weekdaysShortRegex(e)});V("dddd",function(e,t){return t.weekdaysRegex(e)});hn(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:ue(r).invalidWeekday=e});hn(["d","e","E"],function(e,t,r,n){t[n]=fe(e)});function af(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function sf(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ba(e,t){return e.slice(t,7).concat(e.slice(0,t))}var of="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),kl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),lf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),uf=dn,cf=dn,ff=dn;function df(e,t){var r=Pt(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ba(r,this._week.dow):e?r[e.day()]:r}function hf(e){return e===!0?ba(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function mf(e){return e===!0?ba(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function pf(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=Ot([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?t==="dddd"?(i=Ie.call(this._weekdaysParse,s),i!==-1?i:null):t==="ddd"?(i=Ie.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null):t==="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)):t==="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 gf(e,t,r){var n,i,a;if(this._weekdaysParseExact)return pf.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=Ot([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&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function bf(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=af(e,this.localeData()),this.add(e-t,"d")):t}function _f(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function yf(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=sf(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Cf(e){return this._weekdaysParseExact?(Ce(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ce(this,"_weekdaysRegex")||(this._weekdaysRegex=uf),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function vf(e){return this._weekdaysParseExact?(Ce(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ce(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=cf),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function wf(e){return this._weekdaysParseExact?(Ce(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ce(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ff),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function _a(){function e(f,d){return d.length-f.length}var t=[],r=[],n=[],i=[],a,s,o,l,u;for(a=0;a<7;a++)s=Ot([2e3,1]).day(a),o=gt(this.weekdaysMin(s,"")),l=gt(this.weekdaysShort(s,"")),u=gt(this.weekdays(s,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),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("^("+t.join("|")+")","i")}function ya(){return this.hours()%12||12}function Tf(){return this.hours()||24}K("H",["HH",2],0,"hour");K("h",["hh",2],0,ya);K("k",["kk",2],0,Tf);K("hmm",0,0,function(){return""+ya.apply(this)+Rt(this.minutes(),2)});K("hmmss",0,0,function(){return""+ya.apply(this)+Rt(this.minutes(),2)+Rt(this.seconds(),2)});K("Hmm",0,0,function(){return""+this.hours()+Rt(this.minutes(),2)});K("Hmmss",0,0,function(){return""+this.hours()+Rt(this.minutes(),2)+Rt(this.seconds(),2)});function Sl(e,t){K(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Sl("a",!0);Sl("A",!1);rt("hour","h");nt("hour",13);function Pl(e,t){return t._meridiemParse}V("a",Pl);V("A",Pl);V("H",Oe);V("h",Oe);V("k",Oe);V("HH",Oe,Ct);V("hh",Oe,Ct);V("kk",Oe,Ct);V("hmm",pl);V("hmmss",gl);V("Hmm",pl);V("Hmmss",gl);De(["H","HH"],Xe);De(["k","kk"],function(e,t,r){var n=fe(e);t[Xe]=n===24?0:n});De(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});De(["h","hh"],function(e,t,r){t[Xe]=fe(e),ue(r).bigHour=!0});De("hmm",function(e,t,r){var n=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n)),ue(r).bigHour=!0});De("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n,2)),t[Yt]=fe(e.substr(i)),ue(r).bigHour=!0});De("Hmm",function(e,t,r){var n=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n))});De("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n,2)),t[Yt]=fe(e.substr(i))});function kf(e){return(e+"").toLowerCase().charAt(0)==="p"}var Sf=/[ap]\.?m?\.?/i,Pf=Ur("Hours",!0);function xf(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var xl={calendar:p1,longDateFormat:y1,invalidDate:v1,ordinal:T1,dayOfMonthOrdinalParse:k1,relativeTime:P1,months:U1,monthsShort:bl,week:$1,weekdays:of,weekdaysMin:lf,weekdaysShort:kl,meridiemParse:Sf},Be={},Wr={},sn;function Df(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function Qs(e){return e&&e.toLowerCase().replace("_","-")}function Ef(e){for(var t=0,r,n,i,a;t<e.length;){for(a=Qs(e[t]).split("-"),r=a.length,n=Qs(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=ri(a.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&Df(a,n)>=r-1)break;r--}t++}return sn}function Lf(e){return e.match("^[^/\\\\]*$")!=null}function ri(e){var t=null,r;if(Be[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Lf(e))try{t=sn._abbr,r=f1,r("./locale/"+e),or(t)}catch(n){Be[e]=null}return Be[e]}function or(e,t){var r;return e&&(lt(t)?r=tr(e):r=Ca(e,t),r?sn=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function Ca(e,t){if(t!==null){var r,n=xl;if(t.abbr=e,Be[e]!=null)ul("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[e]._config;else if(t.parentLocale!=null)if(Be[t.parentLocale]!=null)n=Be[t.parentLocale]._config;else if(r=ri(t.parentLocale),r!=null)n=r._config;else return Wr[t.parentLocale]||(Wr[t.parentLocale]=[]),Wr[t.parentLocale].push({name:e,config:t}),null;return Be[e]=new da(Ki(n,t)),Wr[e]&&Wr[e].forEach(function(i){Ca(i.name,i.config)}),or(e),Be[e]}else return delete Be[e],null}function Mf(e,t){if(t!=null){var r,n,i=xl;Be[e]!=null&&Be[e].parentLocale!=null?Be[e].set(Ki(Be[e]._config,t)):(n=ri(e),n!=null&&(i=n._config),t=Ki(i,t),n==null&&(t.abbr=e),r=new da(t),r.parentLocale=Be[e],Be[e]=r),or(e)}else Be[e]!=null&&(Be[e].parentLocale!=null?(Be[e]=Be[e].parentLocale,e===or()&&or(e)):Be[e]!=null&&delete Be[e]);return Be[e]}function tr(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!Pt(e)){if(t=ri(e),t)return t;e=[e]}return Ef(e)}function Rf(){return $i(Be)}function va(e){var t,r=e._a;return r&&ue(e).overflow===-2&&(t=r[Gt]<0||r[Gt]>11?Gt:r[Lt]<1||r[Lt]>ti(r[tt],r[Gt])?Lt:r[Xe]<0||r[Xe]>24||r[Xe]===24&&(r[St]!==0||r[Yt]!==0||r[gr]!==0)?Xe:r[St]<0||r[St]>59?St:r[Yt]<0||r[Yt]>59?Yt:r[gr]<0||r[gr]>999?gr:-1,ue(e)._overflowDayOfYear&&(t<tt||t>Lt)&&(t=Lt),ue(e)._overflowWeeks&&t===-1&&(t=B1),ue(e)._overflowWeekday&&t===-1&&(t=N1),ue(e).overflow=t),e}var Af=/^\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)?)?$/,Ff=/^\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)?)?$/,Of=/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/]],zf=/^\/?Date\((-?\d+)/i,Bf=/^(?:(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}))$/,Nf={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 Dl(e){var t,r,n=e._i,i=Af.exec(n)||Ff.exec(n),a,s,o,l,u=yn.length,f=yi.length;if(i){for(ue(e).iso=!0,t=0,r=u;t<r;t++)if(yn[t][1].exec(i[1])){s=yn[t][0],a=yn[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(i[3]){for(t=0,r=f;t<r;t++)if(yi[t][1].exec(i[3])){o=(i[2]||" ")+yi[t][0];break}if(o==null){e._isValid=!1;return}}if(!a&&o!=null){e._isValid=!1;return}if(i[4])if(Of.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=s+(o||"")+(l||""),Ta(e)}else e._isValid=!1}function Hf(e,t,r,n,i,a){var s=[Uf(e),bl.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function Uf(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function If(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jf(e,t,r){if(e){var n=kl.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return ue(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Gf(e,t,r){if(e)return Nf[e];if(t)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return a*60+i}function El(e){var t=Bf.exec(If(e._i)),r;if(t){if(r=Hf(t[4],t[3],t[2],t[5],t[6],t[7]),!jf(t[1],r,e))return;e._a=r,e._tzm=Gf(t[8],t[9],t[10]),e._d=nn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ue(e).rfc2822=!0}else e._isValid=!1}function Yf(e){var t=zf.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Dl(e),e._isValid===!1)delete e._isValid;else return;if(El(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:G.createFromInputFallback(e)}G.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function kr(e,t,r){return e!=null?e:t!=null?t:r}function Wf(e){var t=new Date(G.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wa(e){var t,r,n=[],i,a,s;if(!e._d){for(i=Wf(e),e._w&&e._a[Lt]==null&&e._a[Gt]==null&&Vf(e),e._dayOfYear!=null&&(s=kr(e._a[tt],i[tt]),(e._dayOfYear>Kr(s)||e._dayOfYear===0)&&(ue(e)._overflowDayOfYear=!0),r=nn(s,0,e._dayOfYear),e._a[Gt]=r.getUTCMonth(),e._a[Lt]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Xe]===24&&e._a[St]===0&&e._a[Yt]===0&&e._a[gr]===0&&(e._nextDay=!0,e._a[Xe]=0),e._d=(e._useUTC?nn:Q1).apply(null,n),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Xe]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(ue(e).weekdayMismatch=!0)}}function Vf(e){var t,r,n,i,a,s,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,s=4,r=kr(t.GG,e._a[tt],an(Fe(),1,4).year),n=kr(t.W,1),i=kr(t.E,1),(i<1||i>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=an(Fe(),a,s),r=kr(t.gg,e._a[tt],u.year),n=kr(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a),n<1||n>Vt(r,a,s)?ue(e)._overflowWeeks=!0:l!=null?ue(e)._overflowWeekday=!0:(o=Tl(r,n,i,a,s),e._a[tt]=o.year,e._dayOfYear=o.dayOfYear)}G.ISO_8601=function(){};G.RFC_2822=function(){};function Ta(e){if(e._f===G.ISO_8601){Dl(e);return}if(e._f===G.RFC_2822){El(e);return}e._a=[],ue(e).empty=!0;var t=""+e._i,r,n,i,a,s,o=t.length,l=0,u,f;for(i=cl(e._f,e._locale).match(ha)||[],f=i.length,r=0;r<f;r++)a=i[r],n=(t.match(F1(a,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&ue(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),l+=n.length),xr[a]?(n?ue(e).empty=!1:ue(e).unusedTokens.push(a),z1(a,n,e)):e._strict&&!n&&ue(e).unusedTokens.push(a);ue(e).charsLeftOver=o-l,t.length>0&&ue(e).unusedInput.push(t),e._a[Xe]<=12&&ue(e).bigHour===!0&&e._a[Xe]>0&&(ue(e).bigHour=void 0),ue(e).parsedDateParts=e._a.slice(0),ue(e).meridiem=e._meridiem,e._a[Xe]=qf(e._locale,e._a[Xe],e._meridiem),u=ue(e).era,u!==null&&(e._a[tt]=e._locale.erasConvertYear(u,e._a[tt])),wa(e),va(e)}function qf(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Jf(e){var t,r,n,i,a,s,o=!1,l=e._f.length;if(l===0){ue(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)a=0,s=!1,t=fa({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Ta(t),ca(t)&&(s=!0),a+=ue(t).charsLeftOver,a+=ue(t).unusedTokens.length*10,ue(t).score=a,o?a<n&&(n=a,r=t):(n==null||a<n||s)&&(n=a,r=t,s&&(o=!0));ar(e,r||t)}function Zf(e){if(!e._d){var t=ma(e._i),r=t.day===void 0?t.date:t.day;e._a=ol([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),wa(e)}}function Xf(e){var t=new fn(va(Ll(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ll(e){var t=e._i,r=e._f;return e._locale=e._locale||tr(e._l),t===null||r===void 0&&t===""?Jn({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),xt(t)?new fn(va(t)):(cn(t)?e._d=t:Pt(r)?Jf(e):r?Ta(e):Qf(e),ca(e)||(e._d=null),e))}function Qf(e){var t=e._i;lt(t)?e._d=new Date(G.now()):cn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Yf(e):Pt(t)?(e._a=ol(t.slice(0),function(r){return parseInt(r,10)}),wa(e)):br(t)?Zf(e):Qt(t)?e._d=new Date(t):G.createFromInputFallback(e)}function Ml(e,t,r,n,i){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(br(e)&&ua(e)||Pt(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=e,a._f=t,a._strict=n,Xf(a)}function Fe(e,t,r,n){return Ml(e,t,r,n,!1)}var Kf=Tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Fe.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Jn()}),$f=Tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Fe.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Jn()});function Rl(e,t){var r,n;if(t.length===1&&Pt(t[0])&&(t=t[0]),!t.length)return Fe();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function ed(){var e=[].slice.call(arguments,0);return Rl("isBefore",e)}function td(){var e=[].slice.call(arguments,0);return Rl("isAfter",e)}var rd=function(){return Date.now?Date.now():+new Date},Vr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nd(e){var t,r=!1,n,i=Vr.length;for(t in e)if(Ce(e,t)&&!(Ie.call(Vr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[Vr[n]]){if(r)return!1;parseFloat(e[Vr[n]])!==fe(e[Vr[n]])&&(r=!0)}return!0}function id(){return this._isValid}function ad(){return Dt(NaN)}function ni(e){var t=ma(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,f=t.millisecond||0;this._isValid=nd(t),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=tr(),this._bubble()}function Pn(e){return e instanceof ni}function ta(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function sd(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,s;for(s=0;s<n;s++)fe(e[s])!==fe(t[s])&&a++;return a+i}function Al(e,t){K(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Rt(~~(r/60),2)+t+Rt(~~r%60,2)})}Al("Z",":");Al("ZZ","");V("Z",ei);V("ZZ",ei);De(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=ka(ei,e)});var od=/([\+\-]|\d\d)/gi;function ka(e,t){var r=(t||"").match(e),n,i,a;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(od)||["-",0,0],a=+(i[1]*60)+fe(i[2]),a===0?0:i[0]==="+"?a:-a)}function Sa(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(xt(e)||cn(e)?e.valueOf():Fe(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),G.updateOffset(r,!1),r):Fe(e).local()}function ra(e){return-Math.round(e._d.getTimezoneOffset())}G.updateOffset=function(){};function ld(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=ka(ei,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=ra(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?zl(this,Dt(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,G.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:ra(this)}function ud(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function cd(e){return this.utcOffset(0,e)}function fd(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ra(this),"m")),this}function dd(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=ka(R1,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function hd(e){return this.isValid()?(e=e?Fe(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function md(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function pd(){if(!lt(this._isDSTShifted))return this._isDSTShifted;var e={},t;return fa(e,this),e=Ll(e),e._a?(t=e._isUTC?Ot(e._a):Fe(e._a),this._isDSTShifted=this.isValid()&&sd(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function gd(){return this.isValid()?!this._isUTC:!1}function bd(){return this.isValid()?this._isUTC:!1}function Fl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var _d=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,yd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dt(e,t){var r=e,n=null,i,a,s;return Pn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Qt(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=_d.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:fe(n[Lt])*i,h:fe(n[Xe])*i,m:fe(n[St])*i,s:fe(n[Yt])*i,ms:fe(ta(n[gr]*1e3))*i}):(n=yd.exec(e))?(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=Cd(Fe(r.from),Fe(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new ni(r),Pn(e)&&Ce(e,"_locale")&&(a._locale=e._locale),Pn(e)&&Ce(e,"_isValid")&&(a._isValid=e._isValid),a}Dt.fn=ni.prototype;Dt.invalid=ad;function mr(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Ks(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Cd(e,t){var r;return e.isValid()&&t.isValid()?(t=Sa(t,e),e.isBefore(t)?r=Ks(e,t):(r=Ks(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ol(e,t){return function(r,n){var i,a;return n!==null&&!isNaN(+n)&&(ul(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),i=Dt(r,n),zl(this,i,e),this}}function zl(e,t,r,n){var i=t._milliseconds,a=ta(t._days),s=ta(t._months);e.isValid()&&(n=n==null?!0:n,s&&yl(e,Fn(e,"Month")+s*r),a&&dl(e,"Date",Fn(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&G.updateOffset(e,a||s))}var vd=Ol(1,"add"),wd=Ol(-1,"subtract");function Bl(e){return typeof e=="string"||e instanceof String}function Td(e){return xt(e)||cn(e)||Bl(e)||Qt(e)||Sd(e)||kd(e)||e===null||e===void 0}function kd(e){var t=br(e)&&!ua(e),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||Ce(e,a);return t&&r}function Sd(e){var t=Pt(e),r=!1;return t&&(r=e.filter(function(n){return!Qt(n)&&Bl(e)}).length===0),t&&r}function Pd(e){var t=br(e)&&!ua(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<n.length;i+=1)a=n[i],r=r||Ce(e,a);return t&&r}function xd(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Dd(e,t){arguments.length===1&&(arguments[0]?Td(arguments[0])?(e=arguments[0],t=void 0):Pd(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Fe(),n=Sa(r,this).startOf("day"),i=G.calendarFormat(this,n)||"sameElse",a=t&&(zt(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,Fe(r)))}function Ed(){return new fn(this)}function Ld(e,t){var r=xt(e)?e:Fe(e);return this.isValid()&&r.isValid()?(t=kt(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Md(e,t){var r=xt(e)?e:Fe(e);return this.isValid()&&r.isValid()?(t=kt(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Rd(e,t,r,n){var i=xt(e)?e:Fe(e),a=xt(t)?t:Fe(t);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 Ad(e,t){var r=xt(e)?e:Fe(e),n;return this.isValid()&&r.isValid()?(t=kt(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Fd(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Od(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function zd(e,t,r){var n,i,a;if(!this.isValid())return NaN;if(n=Sa(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=kt(t),t){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:wt(a)}function xn(e,t){if(e.date()<t.date())return-xn(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,a;return t-n<0?(i=e.clone().add(r-1,"months"),a=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),a=(t-n)/(i-n)),-(r+a)||0}G.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";G.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Bd(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Nd(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Sn(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):zt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Sn(r,"Z")):Sn(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Hd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+n+i+a)}function Ud(e){e||(e=this.isUtc()?G.defaultFormatUtc:G.defaultFormat);var t=Sn(this,e);return this.localeData().postformat(t)}function Id(e,t){return this.isValid()&&(xt(e)&&e.isValid()||Fe(e).isValid())?Dt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function jd(e){return this.from(Fe(),e)}function Gd(e,t){return this.isValid()&&(xt(e)&&e.isValid()||Fe(e).isValid())?Dt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Yd(e){return this.to(Fe(),e)}function Nl(e){var t;return e===void 0?this._locale._abbr:(t=tr(e),t!=null&&(this._locale=t),this)}var Hl=Tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ul(){return this._locale}var Bn=1e3,Dr=60*Bn,Nn=60*Dr,Il=(365*400+97)*24*Nn;function Er(e,t){return(e%t+t)%t}function jl(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Il:new Date(e,t,r).valueOf()}function Gl(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Il:Date.UTC(e,t,r)}function Wd(e){var t,r;if(e=kt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Gl:jl,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Er(t+(this._isUTC?0:this.utcOffset()*Dr),Nn);break;case"minute":t=this._d.valueOf(),t-=Er(t,Dr);break;case"second":t=this._d.valueOf(),t-=Er(t,Bn);break}return this._d.setTime(t),G.updateOffset(this,!0),this}function Vd(e){var t,r;if(e=kt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Gl:jl,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Nn-Er(t+(this._isUTC?0:this.utcOffset()*Dr),Nn)-1;break;case"minute":t=this._d.valueOf(),t+=Dr-Er(t,Dr)-1;break;case"second":t=this._d.valueOf(),t+=Bn-Er(t,Bn)-1;break}return this._d.setTime(t),G.updateOffset(this,!0),this}function qd(){return this._d.valueOf()-(this._offset||0)*6e4}function Jd(){return Math.floor(this.valueOf()/1e3)}function Zd(){return new Date(this.valueOf())}function Xd(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Qd(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Kd(){return this.isValid()?this.toISOString():null}function $d(){return ca(this)}function eh(){return ar({},ue(this))}function th(){return ue(this).overflow}function rh(){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",hh);V("NNNNN",mh);De(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?ue(r).era=i:ue(r).invalidEra=e});V("y",Ir);V("yy",Ir);V("yyy",Ir);V("yyyy",Ir);V("yo",ph);De(["y","yy","yyy","yyyy"],tt);De(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[tt]=r._locale.eraYearOrdinalParse(e,i):t[tt]=parseInt(e,10)});function nh(e,t){var r,n,i,a=this._eras||tr("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":i=G(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=G(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}}return a}function ih(e,t,r){var n,i,a=this.eras(),s,o,l;for(e=e.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(t){case"N":case"NN":case"NNN":if(o===e)return a[n];break;case"NNNN":if(s===e)return a[n];break;case"NNNNN":if(l===e)return a[n];break}else if([s,o,l].indexOf(e)>=0)return a[n]}function ah(e,t){var r=e.since<=e.until?1:-1;return t===void 0?G(e.since).year():G(e.since).year()+(t-e.offset)*r}function sh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function oh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function lh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function uh(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-G(i[e].since).year())*r+i[e].offset;return this.year()}function ch(e){return Ce(this,"_erasNameRegex")||xa.call(this),e?this._erasNameRegex:this._erasRegex}function fh(e){return Ce(this,"_erasAbbrRegex")||xa.call(this),e?this._erasAbbrRegex:this._erasRegex}function dh(e){return Ce(this,"_erasNarrowRegex")||xa.call(this),e?this._erasNarrowRegex:this._erasRegex}function Pa(e,t){return t.erasAbbrRegex(e)}function hh(e,t){return t.erasNameRegex(e)}function mh(e,t){return t.erasNarrowRegex(e)}function ph(e,t){return t._eraYearOrdinalRegex||Ir}function xa(){var e=[],t=[],r=[],n=[],i,a,s=this.eras();for(i=0,a=s.length;i<a;++i)t.push(gt(s[i].name)),e.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("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.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(e,t){K(0,[e,e.length],0,t)}ii("gggg","weekYear");ii("ggggg","weekYear");ii("GGGG","isoWeekYear");ii("GGGGG","isoWeekYear");rt("weekYear","gg");rt("isoWeekYear","GG");nt("weekYear",1);nt("isoWeekYear",1);V("G",$n);V("g",$n);V("GG",Oe,Ct);V("gg",Oe,Ct);V("GGGG",ga,pa);V("gggg",ga,pa);V("GGGGG",Kn,Xn);V("ggggg",Kn,Xn);hn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=fe(e)});hn(["gg","GG"],function(e,t,r,n){t[n]=G.parseTwoDigitYear(e)});function gh(e){return Yl.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function bh(e){return Yl.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function _h(){return Vt(this.year(),1,4)}function yh(){return Vt(this.isoWeekYear(),1,4)}function Ch(){var e=this.localeData()._week;return Vt(this.year(),e.dow,e.doy)}function vh(){var e=this.localeData()._week;return Vt(this.weekYear(),e.dow,e.doy)}function Yl(e,t,r,n,i){var a;return e==null?an(this,n,i).year:(a=Vt(e,n,i),t>a&&(t=a),wh.call(this,e,t,r,n,i))}function wh(e,t,r,n,i){var a=Tl(e,t,r,n,i),s=nn(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}K("Q",0,"Qo","quarter");rt("quarter","Q");nt("quarter",7);V("Q",hl);De("Q",function(e,t){t[Gt]=(fe(e)-1)*3});function Th(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}K("D",["DD",2],"Do","date");rt("date","D");nt("date",9);V("D",Oe);V("DD",Oe,Ct);V("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});De(["D","DD"],Lt);De("Do",function(e,t){t[Lt]=fe(e.match(Oe)[0])});var Wl=Ur("Date",!0);K("DDD",["DDDD",3],"DDDo","dayOfYear");rt("dayOfYear","DDD");nt("dayOfYear",4);V("DDD",Qn);V("DDDD",ml);De(["DDD","DDDD"],function(e,t,r){r._dayOfYear=fe(e)});function kh(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}K("m",["mm",2],0,"minute");rt("minute","m");nt("minute",14);V("m",Oe);V("mm",Oe,Ct);De(["m","mm"],St);var Sh=Ur("Minutes",!1);K("s",["ss",2],0,"second");rt("second","s");nt("second",15);V("s",Oe);V("ss",Oe,Ct);De(["s","ss"],Yt);var Ph=Ur("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});rt("millisecond","ms");nt("millisecond",16);V("S",Qn,hl);V("SS",Qn,Ct);V("SSS",Qn,ml);var sr,Vl;for(sr="SSSS";sr.length<=9;sr+="S")V(sr,Ir);function xh(e,t){t[gr]=fe(("0."+e)*1e3)}for(sr="S";sr.length<=9;sr+="S")De(sr,xh);Vl=Ur("Milliseconds",!1);K("z",0,0,"zoneAbbr");K("zz",0,0,"zoneName");function Dh(){return this._isUTC?"UTC":""}function Eh(){return this._isUTC?"Coordinated Universal Time":""}var R=fn.prototype;R.add=vd;R.calendar=Dd;R.clone=Ed;R.diff=zd;R.endOf=Vd;R.format=Ud;R.from=Id;R.fromNow=jd;R.to=Gd;R.toNow=Yd;R.get=L1;R.invalidAt=th;R.isAfter=Ld;R.isBefore=Md;R.isBetween=Rd;R.isSame=Ad;R.isSameOrAfter=Fd;R.isSameOrBefore=Od;R.isValid=$d;R.lang=Hl;R.locale=Nl;R.localeData=Ul;R.max=$f;R.min=Kf;R.parsingFlags=eh;R.set=M1;R.startOf=Wd;R.subtract=wd;R.toArray=Xd;R.toObject=Qd;R.toDate=Zd;R.toISOString=Nd;R.inspect=Hd;typeof Symbol!="undefined"&&Symbol.for!=null&&(R[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});R.toJSON=Kd;R.toString=Bd;R.unix=Jd;R.valueOf=qd;R.creationData=rh;R.eraName=sh;R.eraNarrow=oh;R.eraAbbr=lh;R.eraYear=uh;R.year=wl;R.isLeapYear=X1;R.weekYear=gh;R.isoWeekYear=bh;R.quarter=R.quarters=Th;R.month=Cl;R.daysInMonth=q1;R.week=R.weeks=rf;R.isoWeek=R.isoWeeks=nf;R.weeksInYear=Ch;R.weeksInWeekYear=vh;R.isoWeeksInYear=_h;R.isoWeeksInISOWeekYear=yh;R.date=Wl;R.day=R.days=bf;R.weekday=_f;R.isoWeekday=yf;R.dayOfYear=kh;R.hour=R.hours=Pf;R.minute=R.minutes=Sh;R.second=R.seconds=Ph;R.millisecond=R.milliseconds=Vl;R.utcOffset=ld;R.utc=cd;R.local=fd;R.parseZone=dd;R.hasAlignedHourOffset=hd;R.isDST=md;R.isLocal=gd;R.isUtcOffset=bd;R.isUtc=Fl;R.isUTC=Fl;R.zoneAbbr=Dh;R.zoneName=Eh;R.dates=Tt("dates accessor is deprecated. Use date instead.",Wl);R.months=Tt("months accessor is deprecated. Use month instead",Cl);R.years=Tt("years accessor is deprecated. Use year instead",wl);R.zone=Tt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ud);R.isDSTShifted=Tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",pd);function Lh(e){return Fe(e*1e3)}function Mh(){return Fe.apply(null,arguments).parseZone()}function ql(e){return e}var ve=da.prototype;ve.calendar=g1;ve.longDateFormat=C1;ve.invalidDate=w1;ve.ordinal=S1;ve.preparse=ql;ve.postformat=ql;ve.relativeTime=x1;ve.pastFuture=D1;ve.set=m1;ve.eras=nh;ve.erasParse=ih;ve.erasConvertYear=ah;ve.erasAbbrRegex=fh;ve.erasNameRegex=ch;ve.erasNarrowRegex=dh;ve.months=G1;ve.monthsShort=Y1;ve.monthsParse=V1;ve.monthsRegex=Z1;ve.monthsShortRegex=J1;ve.week=K1;ve.firstDayOfYear=tf;ve.firstDayOfWeek=ef;ve.weekdays=df;ve.weekdaysMin=mf;ve.weekdaysShort=hf;ve.weekdaysParse=gf;ve.weekdaysRegex=Cf;ve.weekdaysShortRegex=vf;ve.weekdaysMinRegex=wf;ve.isPM=kf;ve.meridiem=xf;function Hn(e,t,r,n){var i=tr(),a=Ot().set(n,t);return i[r](a,e)}function Jl(e,t,r){if(Qt(e)&&(t=e,e=void 0),e=e||"",t!=null)return Hn(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Hn(e,n,r,"month");return i}function Da(e,t,r,n){typeof e=="boolean"?(Qt(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Qt(t)&&(r=t,t=void 0),t=t||"");var i=tr(),a=e?i._week.dow:0,s,o=[];if(r!=null)return Hn(t,(r+a)%7,n,"day");for(s=0;s<7;s++)o[s]=Hn(t,(s+a)%7,n,"day");return o}function Rh(e,t){return Jl(e,t,"months")}function Ah(e,t){return Jl(e,t,"monthsShort")}function Fh(e,t,r){return Da(e,t,r,"weekdays")}function Oh(e,t,r){return Da(e,t,r,"weekdaysShort")}function zh(e,t,r){return Da(e,t,r,"weekdaysMin")}or("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=fe(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});G.lang=Tt("moment.lang is deprecated. Use moment.locale instead.",or);G.langData=Tt("moment.langData is deprecated. Use moment.localeData instead.",tr);var It=Math.abs;function Bh(){var e=this._data;return this._milliseconds=It(this._milliseconds),this._days=It(this._days),this._months=It(this._months),e.milliseconds=It(e.milliseconds),e.seconds=It(e.seconds),e.minutes=It(e.minutes),e.hours=It(e.hours),e.months=It(e.months),e.years=It(e.years),this}function Zl(e,t,r,n){var i=Dt(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Nh(e,t){return Zl(this,e,t,1)}function Hh(e,t){return Zl(this,e,t,-1)}function $s(e){return e<0?Math.floor(e):Math.ceil(e)}function Uh(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,a,s,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=$s(na(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=wt(e/1e3),n.seconds=i%60,a=wt(i/60),n.minutes=a%60,s=wt(a/60),n.hours=s%24,t+=wt(s/24),l=wt(Xl(t)),r+=l,t-=$s(na(l)),o=wt(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function Xl(e){return e*4800/146097}function na(e){return e*146097/4800}function Ih(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=kt(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Xl(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(na(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function jh(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+fe(this._months/12)*31536e6:NaN}function rr(e){return function(){return this.as(e)}}var Gh=rr("ms"),Yh=rr("s"),Wh=rr("m"),Vh=rr("h"),qh=rr("d"),Jh=rr("w"),Zh=rr("M"),Xh=rr("Q"),Qh=rr("y");function Kh(){return Dt(this)}function $h(e){return e=kt(e),this.isValid()?this[e+"s"]():NaN}function _r(e){return function(){return this.isValid()?this._data[e]:NaN}}var em=_r("milliseconds"),tm=_r("seconds"),rm=_r("minutes"),nm=_r("hours"),im=_r("days"),am=_r("months"),sm=_r("years");function om(){return wt(this.days()/7)}var jt=Math.round,Sr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function lm(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function um(e,t,r,n){var i=Dt(e).abs(),a=jt(i.as("s")),s=jt(i.as("m")),o=jt(i.as("h")),l=jt(i.as("d")),u=jt(i.as("M")),f=jt(i.as("w")),d=jt(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]=t,h[3]=+e>0,h[4]=n,lm.apply(null,h)}function cm(e){return e===void 0?jt:typeof e=="function"?(jt=e,!0):!1}function fm(e,t){return Sr[e]===void 0?!1:t===void 0?Sr[e]:(Sr[e]=t,e==="s"&&(Sr.ss=t-1),!0)}function dm(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Sr,i,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Sr,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),a=um(this,!r,n,i),r&&(a=i.pastFuture(+this,a)),i.postformat(a)}var Ci=Math.abs;function wr(e){return(e>0)-(e<0)||+e}function ai(){if(!this.isValid())return this.localeData().invalidDate();var e=Ci(this._milliseconds)/1e3,t=Ci(this._days),r=Ci(this._months),n,i,a,s,o=this.asSeconds(),l,u,f,d;return o?(n=wt(e/60),i=wt(n/60),e%=60,n%=60,a=wt(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=wr(this._months)!==wr(o)?"-":"",f=wr(this._days)!==wr(o)?"-":"",d=wr(this._milliseconds)!==wr(o)?"-":"",l+"P"+(a?u+a+"Y":"")+(r?u+r+"M":"")+(t?f+t+"D":"")+(i||n||e?"T":"")+(i?d+i+"H":"")+(n?d+n+"M":"")+(e?d+s+"S":"")):"P0D"}var pe=ni.prototype;pe.isValid=id;pe.abs=Bh;pe.add=Nh;pe.subtract=Hh;pe.as=Ih;pe.asMilliseconds=Gh;pe.asSeconds=Yh;pe.asMinutes=Wh;pe.asHours=Vh;pe.asDays=qh;pe.asWeeks=Jh;pe.asMonths=Zh;pe.asQuarters=Xh;pe.asYears=Qh;pe.valueOf=jh;pe._bubble=Uh;pe.clone=Kh;pe.get=$h;pe.milliseconds=em;pe.seconds=tm;pe.minutes=rm;pe.hours=nm;pe.days=im;pe.weeks=om;pe.months=am;pe.years=sm;pe.humanize=dm;pe.toISOString=ai;pe.toString=ai;pe.toJSON=ai;pe.locale=Nl;pe.localeData=Ul;pe.toIsoString=Tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ai);pe.lang=Hl;K("X",0,0,"unix");K("x",0,0,"valueOf");V("x",$n);V("X",A1);De("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});De("x",function(e,t,r){r._d=new Date(fe(e))});//! moment.js
|
|
37
|
-
G.version="2.29.4";d1(Fe);G.fn=R;G.min=ed;G.max=td;G.now=rd;G.utc=Ot;G.unix=Lh;G.months=Rh;G.isDate=cn;G.locale=or;G.invalid=Jn;G.duration=Dt;G.isMoment=xt;G.weekdays=Fh;G.parseZone=Mh;G.localeData=tr;G.isDuration=Pn;G.monthsShort=Ah;G.weekdaysMin=zh;G.defineLocale=Ca;G.updateLocale=Mf;G.locales=Rf;G.weekdaysShort=Oh;G.normalizeUnits=kt;G.relativeTimeRounding=cm;G.relativeTimeThreshold=fm;G.calendarFormat=xd;G.prototype=R;G.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 hm="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(e){let t,r,n,i,a,s=e[2]&&e[2].showCalendarIcon&&to();return{c(){t=_("div"),s&&s.c(),r=O(e[3]),c(t,"class","Date TagContent"),c(t,"part","Date TagContent")},m(o,l){C(o,t,l),s&&s.m(t,null),m(t,r),i||(a=$t(n=e[4].call(null,t,e[0])),i=!0)},p(o,l){o[2]&&o[2].showCalendarIcon?s||(s=to(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l&8&&W(r,o[3]),n&&Kt(n.update)&&l&1&&n.update.call(null,o[0])},d(o){o&&y(t),s&&s.d(),i=!1,a()}}}function to(e){let t,r,n;return{c(){t=_("img"),n=U(),c(t,"class","CalendarIcon"),c(t,"alt","Calendar"),c(t,"part","CalendarIcon"),We(t.src,r=hm)||c(t,"src",r)},m(i,a){C(i,t,a),C(i,n,a)},d(i){i&&(y(t),y(n))}}}function mm(e){let t,r=e[0]&&e[1]==="Unstarted"&&eo(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,[i]){n[0]&&n[1]==="Unstarted"?r?r.p(n,i):(r=eo(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(n)}}}function pm(e,t,r){let n;_t(e,yt,b=>r(7,n=b));let{startdate:i=""}=t,{status:a=""}=t,{lang:s=""}=t,{cellsetting:o}=t,l={shortstartformat:"DD MMM YYYY"},u="";er({fallbackLocale:"en",initialLocale:"en"});const f=()=>{bt(s),i&&d()},d=()=>{const b={month:"long"};let g=new Date(i);const p=()=>n(a==="Running"?"tournamentsThumbnail.startedAt":"tournamentsThumbnail.startingAt");if(o&&o.shortstart){let w=G(g).format(o.shortstartformat||l.shortstartformat);r(3,u=a==="Running"||a=="Closing"||a=="Closed"?n("tournamentsThumbnail.startedAtWithTime",{values:{startTime:w}}):n("tournamentsThumbnail.startingAtWithTime",{values:{startTime:w}}))}else{let w=new Intl.DateTimeFormat("en",b).format(g),k=g.getDate(),L=g.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});r(3,u=`${k} `+n(`tournamentsThumbnail.${w}`)+", "+p()+` ${L}`)}},h=()=>{l={shortstart:o.shortstart||!1,shortstartformat:o.shortstartformat||"DD MMM YYYY",showCalendarIcon:o.showCalendarIcon||!1}};return e.$$set=b=>{"startdate"in b&&r(0,i=b.startdate),"status"in b&&r(1,a=b.status),"lang"in b&&r(5,s=b.lang),"cellsetting"in b&&r(2,o=b.cellsetting)},e.$$.update=()=>{e.$$.dirty&32&&s&&f(),e.$$.dirty&1&&i&&d(),e.$$.dirty&4&&o&&h()},[i,a,o,u,d,s]}class ia extends Je{constructor(t){super(),Ve(this,t,pm,mm,je,{startdate:0,status:1,lang:5,cellsetting:2})}get startdate(){return this.$$.ctx[0]}set startdate(t){this.$$set({startdate:t}),D()}get status(){return this.$$.ctx[1]}set status(t){this.$$set({status:t}),D()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),D()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("startdate-line",qe(ia,{startdate:{},status:{},lang:{},cellsetting:{}},[],[],!0));function gm(e){let t,r,n,i,a,s,o=e[0]("tournamentsPage.back")+"",l,u,f;return{c(){t=_("div"),r=_("div"),n=$e("svg"),i=$e("path"),a=U(),s=_("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(t,"class","TopButtons"),c(t,"part","TopButtons")},m(d,h){C(d,t,h),m(t,r),m(r,n),m(n,i),m(r,a),m(r,s),m(s,l),u||(f=et(r,"click",e[4]),u=!0)},p(d,[h]){h&1&&o!==(o=d[0]("tournamentsPage.back")+"")&&W(l,o)},i:Q,o:Q,d(d){d&&y(t),u=!1,f()}}}function bm(e,t,r){let n;_t(e,yt,u=>r(0,n=u));let{lang:i="en"}=t,{navigationbackbutton:a="Default"}=t;const s=()=>{bt(i)},o=()=>{a=="Event"?window.postMessage({type:"RedirectBack"},window.location.href):a=="Default"&&window.history.back()},l=()=>o();return e.$$set=u=>{"lang"in u&&r(2,i=u.lang),"navigationbackbutton"in u&&r(3,a=u.navigationbackbutton)},e.$$.update=()=>{e.$$.dirty&4&&i&&s()},[n,o,i,a,l]}class aa extends Je{constructor(t){super(),Ve(this,t,bm,gm,je,{lang:2,navigationbackbutton:3})}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),D()}get navigationbackbutton(){return this.$$.ctx[3]}set navigationbackbutton(t){this.$$set({navigationbackbutton:t}),D()}}customElements.define("backbutton-cell",qe(aa,{lang:{},navigationbackbutton:{}},[],[],!0));function _m(e){let t,r;return{c(){t=_("span"),r=O(e[0])},m(n,i){C(n,t,i),m(t,r)},p(n,[i]){i&1&&W(r,n[0])},i:Q,o:Q,d(n){n&&y(t)}}}function ym(e,t,r){let n;_t(e,yt,u=>r(3,n=u));let{lang:i=""}=t,{cellsetting:a={langkey:""}}=t,s="";er({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=()=>{a.langkey&&r(0,s=n(`tournamentsPage.${a.langkey}`))};return e.$$set=u=>{"lang"in u&&r(1,i=u.lang),"cellsetting"in u&&r(2,a=u.cellsetting)},e.$$.update=()=>{e.$$.dirty&6&&i&&a&&o()&&l(),e.$$.dirty&6&&i&&a&&l()},[s,i,a]}class sa extends Je{constructor(t){super(),Ve(this,t,ym,_m,je,{lang:1,cellsetting:2})}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),D()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("translate-text-cell",qe(sa,{lang:{},cellsetting:{}},[],[],!0));const Ql={Cell:{attributes:Zr.element.observedAttributes,cellBox:Zr},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:Zr.element.observedAttributes,cellBox:Zr},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}},qr={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"}]}]}]}},Cm=(e,t)=>{let r=e.componentid,n={},i=Ql[r].attributes||[];if(e.dataKey){let a=e.dataKey;return a.source=="api"?n[a.textKey]=t.tournamentData[a.key]||null:a.source=="cms"&&(n[a.textKey]=t.cmsData[a.key]||null),n.titlekey=a.key,n}return i.forEach(a=>{let s=t.tournamentData||{},o=t.ctrlProperties||{};s.hasOwnProperty(a)?n[a]=s[a]:n[a]=o[a]||t.pageDefaultParams[a]}),n},ro=(e,t)=>{console.log("Start parse layout...");let r=e.rows,n=i=>{!i||!i.length||i.forEach(a=>{if(a.class||(a.class=""),a.isSlotCell){a.parts=`Slots ${a.componentid} ${a.id}`,a.cellClass=`Cells Slots ${a.class} ${a.id}`;return}a.isCellContainer?(a.parts=`BoxCells ${a.componentid} ${a.id}`,a.cellClass=`Cells BoxCells ${a.class} ${a.id}`):(a.parts=`BizCells ${a.componentid} ${a.id}`,a.cellClass=`Cells BizCells ${a.class} ${a.componentid} ${a.id}`,a.componentAttrs=Cm(a,t),a.config&&(a.componentAttrs.cellsetting=a.config)),a.component=Ql[a.componentid].cellBox,n(a.subComponents)})};return r.forEach(i=>{n(i.cols)}),console.log("Start parse layout...Done"),e};class vm{transfer(t){return{id:t.id,tourid:t.id,title:t.nameOrTitle||"",thumbnail:t.thumbnail,state:t.state,status:t.state,startdate:t.startTime,enddate:t.endTime,scorecriteria:t.scoreCriteria,minbetcount:t.minBetCount,userenrolled:t.playerEnrolled||!1,gameurl:t.termsUrl||"#",prizes:t.prizes,games:t.games,description:t.description,termsurl:t.termsUrl,bonuscode:t.wallets&&t.wallets.length>=1?t.wallets[0].code:null}}}const wm={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"}}},Tm={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"}}},km={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"}}},Sm={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 -"}}},Pm={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"}}},xm={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"}}},Dm={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"}}},Em=[wm,Tm,km,Sm,Pm,xm,Dm];function Lm(e){let t;return{c(){t=_("div")},m(r,n){C(r,t,n),e[6](t)},p:Q,i:Q,o:Q,d(r){r&&y(t),e[6](null)}}}function Mm(e,t,r){let{translationurl:n=""}=t,{clientstyling:i=""}=t,{clientstylingurl:a=""}=t,{lang:s=""}=t,o;const l=()=>Gr(this,null,function*(){try{let p=yield fetch(n).then(w=>w.json());Object.keys(p).forEach(w=>{Object.keys(p[w]).forEach(k=>{Za(w,{[k]:p[w][k]})})})}catch(p){console.error(p)}}),u=()=>{let p=document.createElement("style");p.innerHTML=i,o.appendChild(p)},f=()=>{let p=new URL(a),w=document.createElement("style");fetch(p.href).then(k=>k.text()).then(k=>{w.innerHTML=k,setTimeout(()=>{o.appendChild(w)},1)})},d=()=>{bt(s)},h=()=>{Em.forEach(p=>{Object.keys(p).forEach(w=>{Za(w,p[w])})}),er({fallbackLocale:"en",initialLocale:"en"})};let b=!1;Ft(()=>{h(),r(5,b=!0)});function g(p){en[p?"unshift":"push"](()=>{o=p,r(0,o)})}return e.$$set=p=>{"translationurl"in p&&r(1,n=p.translationurl),"clientstyling"in p&&r(2,i=p.clientstyling),"clientstylingurl"in p&&r(3,a=p.clientstylingurl),"lang"in p&&r(4,s=p.lang)},e.$$.update=()=>{e.$$.dirty&48&&b&&s&&d(),e.$$.dirty&34&&b&&n&&l(),e.$$.dirty&37&&b&&i&&o&&u(),e.$$.dirty&41&&b&&a&&o&&f()},[o,n,i,a,s,b,g]}class Kl extends Je{constructor(t){super(),Ve(this,t,Mm,Lm,je,{translationurl:1,clientstyling:2,clientstylingurl:3,lang:4})}get translationurl(){return this.$$.ctx[1]}set translationurl(t){this.$$set({translationurl:t}),D()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),D()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),D()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),D()}}customElements.define("customize-resource-loader",qe(Kl,{translationurl:{},clientstyling:{},clientstylingurl:{},lang:{}},[],[],!0));function Rm(e){on(e,"svelte-10f4259",`:host{font-size:12px;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}@container prizes-cell (max-width: 500px){.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{width:100%;flex:100%}}@container prizes-cell (width > 500px) and (width < 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:47%;max-width:calc(50% - 8px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+2){margin-right:0}}@container prizes-cell (width >= 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:31.5%;max-width:calc(33% - 2px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+2){margin:3px}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+3){margin-right:0;margin-left:6px}}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}.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:10px}.TitleTextCell .sc::-webkit-scrollbar-thumb,.DescriptionCell .sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius: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(e,t,r){const n=e.slice();return n[58]=t[r],n}function io(e,t,r){const n=e.slice();return n[61]=t[r],n}function ao(e,t,r){const n=e.slice();return n[64]=t[r],n}function so(e,t,r){const n=e.slice();return n[67]=t[r],n}function oo(e){let t,r=e[9]("tournamentsPage.loading")+"",n;return{c(){t=_("p"),n=O(r),c(t,"class","LoadingMessage"),c(t,"part","LoadingMessage")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&512&&r!==(r=i[9]("tournamentsPage.loading")+"")&&W(n,r)},d(i){i&&y(t)}}}function lo(e){let t;return{c(){t=O(e[7])},m(r,n){C(r,t,n)},p(r,n){n[0]&128&&W(t,r[7])},d(r){r&&y(t)}}}function uo(e){let t,r,n;const i=[e[61].componentAttrs,{attrs:e[61].componentAttrs}];var a=e[61].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Mr(i,[Rr(o[61].componentAttrs),{attrs:o[61].componentAttrs}]))),{props:u}}return a&&(t=Lr(a,s(e))),{c(){t&&lr(t.$$.fragment),r=Se()},m(o,l){t&&Jt(t,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[61].component)){if(t){ut();const u=t;ke(u.$$.fragment,1,0,()=>{Zt(u,1)}),ct()}a?(t=Lr(a,s(o,l)),lr(t.$$.fragment),se(t.$$.fragment,1),Jt(t,r.parentNode,r)):t=null}else if(a){const u=l[0]&32?Mr(i,[Rr(o[61].componentAttrs),{attrs:o[61].componentAttrs}]):{};t.$set(u)}},i(o){n||(t&&se(t.$$.fragment,o),n=!0)},o(o){t&&ke(t.$$.fragment,o),n=!1},d(o){o&&y(r),t&&Zt(t,o)}}}function co(e){let t,r,n=xe(e[61].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=go(ao(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o[0]&32){n=xe(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),se(i[l],1)):(i[l]=go(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function fo(e){let t,r,n;const i=[e[64].componentAttrs,{attrs:e[64].componentAttrs}];var a=e[64].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Mr(i,[Rr(o[64].componentAttrs),{attrs:o[64].componentAttrs}]))),{props:u}}return a&&(t=Lr(a,s(e))),{c(){t&&lr(t.$$.fragment),r=Se()},m(o,l){t&&Jt(t,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[64].component)){if(t){ut();const u=t;ke(u.$$.fragment,1,0,()=>{Zt(u,1)}),ct()}a?(t=Lr(a,s(o,l)),lr(t.$$.fragment),se(t.$$.fragment,1),Jt(t,r.parentNode,r)):t=null}else if(a){const u=l[0]&32?Mr(i,[Rr(o[64].componentAttrs),{attrs:o[64].componentAttrs}]):{};t.$set(u)}},i(o){n||(t&&se(t.$$.fragment,o),n=!0)},o(o){t&&ke(t.$$.fragment,o),n=!1},d(o){o&&y(r),t&&Zt(t,o)}}}function ho(e){let t,r,n=xe(e[64].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=po(so(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o[0]&32){n=xe(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),se(i[l],1)):(i[l]=po(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function mo(e){let t,r,n;const i=[e[67].componentAttrs,{attrs:e[67].componentAttrs}];var a=e[67].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Mr(i,[Rr(o[67].componentAttrs),{attrs:o[67].componentAttrs}]))),{props:u}}return a&&(t=Lr(a,s(e))),{c(){t&&lr(t.$$.fragment),r=Se()},m(o,l){t&&Jt(t,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[67].component)){if(t){ut();const u=t;ke(u.$$.fragment,1,0,()=>{Zt(u,1)}),ct()}a?(t=Lr(a,s(o,l)),lr(t.$$.fragment),se(t.$$.fragment,1),Jt(t,r.parentNode,r)):t=null}else if(a){const u=l[0]&32?Mr(i,[Rr(o[67].componentAttrs),{attrs:o[67].componentAttrs}]):{};t.$set(u)}},i(o){n||(t&&se(t.$$.fragment,o),n=!0)},o(o){t&&ke(t.$$.fragment,o),n=!1},d(o){o&&y(r),t&&Zt(t,o)}}}function po(e){let t,r,n,i,a,s,o,l=!e[67].isSlotCell&&mo(e);return{c(){t=_("div"),l&&l.c(),c(t,"class",r="Cell3s "+e[67].cellClass),c(t,"part",n=e[67].parts+" Cell3s")},m(u,f){C(u,t,f),l&&l.m(t,null),a=!0,s||(o=$t(i=e[10].call(null,t,e[67])),s=!0)},p(u,f){e=u,e[67].isSlotCell?l&&(ut(),ke(l,1,1,()=>{l=null}),ct()):l?(l.p(e,f),f[0]&32&&se(l,1)):(l=mo(e),l.c(),se(l,1),l.m(t,null)),(!a||f[0]&32&&r!==(r="Cell3s "+e[67].cellClass))&&c(t,"class",r),(!a||f[0]&32&&n!==(n=e[67].parts+" Cell3s"))&&c(t,"part",n),i&&Kt(i.update)&&f[0]&32&&i.update.call(null,e[67])},i(u){a||(se(l),a=!0)},o(u){ke(l),a=!1},d(u){u&&y(t),l&&l.d(),s=!1,o()}}}function go(e){let t,r,n,i,a,s,o,l,u=!e[64].isCellContainer&&fo(e),f=e[64].subComponents&&e[64].subComponents.length>0&&ho(e);return{c(){t=_("div"),u&&u.c(),r=U(),f&&f.c(),c(t,"class",n="Cell2s "+e[64].cellClass),c(t,"part",i=e[64].parts+" Cell2s")},m(d,h){C(d,t,h),u&&u.m(t,null),m(t,r),f&&f.m(t,null),s=!0,o||(l=$t(a=e[10].call(null,t,e[64])),o=!0)},p(d,h){e=d,e[64].isCellContainer?u&&(ut(),ke(u,1,1,()=>{u=null}),ct()):u?(u.p(e,h),h[0]&32&&se(u,1)):(u=fo(e),u.c(),se(u,1),u.m(t,r)),e[64].subComponents&&e[64].subComponents.length>0?f?(f.p(e,h),h[0]&32&&se(f,1)):(f=ho(e),f.c(),se(f,1),f.m(t,null)):f&&(ut(),ke(f,1,1,()=>{f=null}),ct()),(!s||h[0]&32&&n!==(n="Cell2s "+e[64].cellClass))&&c(t,"class",n),(!s||h[0]&32&&i!==(i=e[64].parts+" Cell2s"))&&c(t,"part",i),a&&Kt(a.update)&&h[0]&32&&a.update.call(null,e[64])},i(d){s||(se(u),se(f),s=!0)},o(d){ke(u),ke(f),s=!1},d(d){d&&y(t),u&&u.d(),f&&f.d(),o=!1,l()}}}function bo(e){let t,r,n,i,a,s,o,l,u=!e[61].isCellContainer&&uo(e),f=e[61].subComponents&&e[61].subComponents.length>0&&co(e);return{c(){t=_("div"),u&&u.c(),r=U(),f&&f.c(),c(t,"class",n="Cell1s "+e[61].cellClass),c(t,"part",i=e[61].parts)},m(d,h){C(d,t,h),u&&u.m(t,null),m(t,r),f&&f.m(t,null),s=!0,o||(l=$t(a=e[10].call(null,t,e[61])),o=!0)},p(d,h){e=d,e[61].isCellContainer?u&&(ut(),ke(u,1,1,()=>{u=null}),ct()):u?(u.p(e,h),h[0]&32&&se(u,1)):(u=uo(e),u.c(),se(u,1),u.m(t,r)),e[61].subComponents&&e[61].subComponents.length>0?f?(f.p(e,h),h[0]&32&&se(f,1)):(f=co(e),f.c(),se(f,1),f.m(t,null)):f&&(ut(),ke(f,1,1,()=>{f=null}),ct()),(!s||h[0]&32&&n!==(n="Cell1s "+e[61].cellClass))&&c(t,"class",n),(!s||h[0]&32&&i!==(i=e[61].parts))&&c(t,"part",i),a&&Kt(a.update)&&h[0]&32&&a.update.call(null,e[61])},i(d){s||(se(u),se(f),s=!0)},o(d){ke(u),ke(f),s=!1},d(d){d&&y(t),u&&u.d(),f&&f.d(),o=!1,l()}}}function _o(e){let t,r,n=xe(e[58].cols),i=[];for(let s=0;s<n.length;s+=1)i[s]=bo(io(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o[0]&32){n=xe(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),se(i[l],1)):(i[l]=bo(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function Am(e){let t,r,n,i,a,s,o,l,u=e[8]&&oo(e),f=e[7]&&lo(e),d=xe(e[5].rows),h=[];for(let g=0;g<d.length;g+=1)h[g]=_o(no(e,d,g));const b=g=>ke(h[g],1,1,()=>{h[g]=null});return a=new Kl({props:{translationurl:e[4],clientstylingurl:e[3],clientstyling:e[2],lang:e[1]}}),{c(){u&&u.c(),t=U(),r=_("div"),f&&f.c(),n=U();for(let g=0;g<h.length;g+=1)h[g].c();i=U(),lr(a.$$.fragment),Mt(r,"display",e[8]?"none":"flex"),c(r,"class",s="casino-tournaments-customize-page-controller layout-"+e[0]+" "+(e[6]?"MobileContainer":"")),c(r,"part",o="casino-tournaments-customize-page-controller layout-"+e[0])},m(g,p){u&&u.m(g,p),C(g,t,p),C(g,r,p),f&&f.m(r,null),m(r,n);for(let w=0;w<h.length;w+=1)h[w]&&h[w].m(r,null);m(r,i),Jt(a,r,null),l=!0},p(g,p){if(g[8]?u?u.p(g,p):(u=oo(g),u.c(),u.m(t.parentNode,t)):u&&(u.d(1),u=null),g[7]?f?f.p(g,p):(f=lo(g),f.c(),f.m(r,n)):f&&(f.d(1),f=null),p[0]&32){d=xe(g[5].rows);let k;for(k=0;k<d.length;k+=1){const L=no(g,d,k);h[k]?(h[k].p(L,p),se(h[k],1)):(h[k]=_o(L),h[k].c(),se(h[k],1),h[k].m(r,i))}for(ut(),k=d.length;k<h.length;k+=1)b(k);ct()}const w={};p[0]&16&&(w.translationurl=g[4]),p[0]&8&&(w.clientstylingurl=g[3]),p[0]&4&&(w.clientstyling=g[2]),p[0]&2&&(w.lang=g[1]),a.$set(w),(!l||p[0]&256)&&Mt(r,"display",g[8]?"none":"flex"),(!l||p[0]&65&&s!==(s="casino-tournaments-customize-page-controller layout-"+g[0]+" "+(g[6]?"MobileContainer":"")))&&c(r,"class",s),(!l||p[0]&1&&o!==(o="casino-tournaments-customize-page-controller layout-"+g[0]))&&c(r,"part",o)},i(g){if(!l){for(let p=0;p<d.length;p+=1)se(h[p]);se(a.$$.fragment,g),l=!0}},o(g){h=h.filter(Boolean);for(let p=0;p<h.length;p+=1)ke(h[p]);ke(a.$$.fragment,g),l=!1},d(g){g&&(y(t),y(r)),u&&u.d(g),f&&f.d(),ft(h,g),Zt(a)}}}function Fm(e,t,r){let n;_t(e,yt,x=>r(9,n=x));let{layoutid:i="default"}=t,{session:a=""}=t,{userid:s=""}=t,{tourid:o=""}=t,{endpoint:l=""}=t,{cmsendpoint:u=""}=t,{lang:f="en"}=t,{navigationbackbutton:d="Default"}=t,{currency:h="EUR"}=t,{namemask:b=""}=t,{showunqualifiedplayer:g="true"}=t,{minscore:p=""}=t,{mobiletablelimit:w="15"}=t,{tablelimit:k="30"}=t,{updatetableintime:L="true"}=t,{leaderboardoffset:v="0"}=t,{leaderboardlimit:T="15"}=t,{scorefractiondigit:M="2"}=t,{loginevent:B=""}=t,{loginurl:F=""}=t,{registerevent:Y=""}=t,{registerurl:E=""}=t,{limit:N=30}=t,{offset:we=0}=t,{keepbrowsercontext:ge="false"}=t,{showrankasimage:Me="false"}=t,{clientstyling:Re=""}=t,{clientstylingurl:Ee=""}=t,{translationurl:Ne=""}=t,_e={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},I=window.navigator.userAgent,Le=!1,de={pageDefaultParams:_e,cmsData:{},ctrlProperties:null,tournamentData:null},$,be=new vm,j={rows:[]},ne,Te,A=!1,ce=!0;d2({withLocale:f,translations:{}}),bt(f);const Ge=(x,Z)=>{let ee=x.componentAttrs||{};ee&&Object.keys(ee).forEach(ae=>{Z.hasOwnProperty(ae)&&(ee[ae]=Z[ae])})},Pe=()=>{let x=j.rows,Z=ee=>{!ee||!ee.length||ee.forEach(ae=>{if(!ae.isCellContainer){let J=ae.dataKey;if(J&&J.source=="cms"){let le=ae.componentAttrs||{};if(!le)return;le[J.textKey]=de.cmsData[J.key]||null}}Z(ae.subComponents)})};x.forEach(ee=>{Z(ee.cols)})},it=()=>{fetch(`${u}/${o}`).then(x=>x?x.json():{details:[{title:"Description",description:"DescriptionText"}]}).then(x=>{x&&x.details&&(de.cmsData.tournamentdescription=x.details),Pe(),r(5,j=nr({},j))})},Ye=(x,Z)=>{let ee=x.rows,ae=J=>{!J||!J.length||J.forEach(le=>{le.isCellContainer||Ge(le,Z),ae(le.subComponents)})};ee.forEach(J=>{ae(J.cols)})},cr=x=>{if(x.data)try{let Z=JSON.parse(x.data);Z.messageType=="TournamentUpdate"&&(window.postMessage({type:"UpdateTournamentView",tournamentData:Z.item},window.location.href),dr(Z.item))}catch(Z){console.error(Z)}},fr=(x,Z)=>{let ee=`${l}/v1/tournaments/updates?filter=id=${x}&${Z}`;$&&($.removeEventListener("message",cr),$.close()),$=new tl.EventSourcePolyfill(ee,{headers:{accept:"text/event-stream","X-SessionId":a}}),!1!="undefined"&&$.addEventListener("message",cr)},dr=x=>{ne=be.transfer(x),de.tournamentData=ne,ne.lang=f,r(5,j=ro(qr[i]||qr.default,de))},Bt=(x,Z)=>{let ee=new URL(x+`/v1/tournaments/${Z}`),ae=new Headers({"X-SessionId":a});ee.searchParams.append("platform",Vn(I)),ee.searchParams.append("language",f);let J=ee.searchParams.toString(),le={method:"GET",headers:ae};fetch(ee.href,le).then(Ue=>Ue.json()).then(Ue=>{if(Ue.success)r(7,Te=null);else{r(7,Te=`Faild to load data, details: ${Ue.errorMessage}`);return}Ue.item.id=o,dr(Ue.item),ne.lang=f,Ye(j,ne),r(5,j=nr({},j)),r(8,ce=!1),fr(o,J)})},S=wo(),H=(x,Z,ee)=>{if(!j.rows||j.rows.length==0)return;let ae=j.rows[0].cols;x.forEach(J=>{let le,Ue=te=>{te.forEach((re,ye)=>{if(le)return le;if(re.componentid==J)return le=re,le;if(re.subComponents&&re.subComponents.length>0)return Ue(re.subComponents)})};Ue(ae);let Nt=S.$$.props,P=S.$$.ctx;le&&Z.forEach(te=>{let re=Nt[te],ye=P[re];de.ctrlProperties[te]=ye,le.componentAttrs[te]=ye})}),r(5,j=nr({},j))},q=()=>{if(!ne){console.log("tournamentData undefined");return}r(0,i=qr[i]?i:"default"),r(5,j=ro(qr[i],de))},z=(x,Z)=>{Z.onLoad&&Z.onLoad()},ie=()=>{Bt(l,o)},X=x=>{x.data&&x.data.type=="TournamentUserEnrolled"&&(de.tournamentData.userenrolled=x.data.userenrolled)},oe=()=>{r(57,t.session=a,t),r(57,t.userid=s,t),r(57,t.tourid=o,t),r(57,t.lang=f,t)};return Ft(()=>(r(0,i=qr[i]?i:"default"),r(6,Le=Wn(I)),setTimeout(()=>{de.ctrlProperties=t,r(35,A=!0)},300),window.addEventListener("message",X),()=>{window.removeEventListener("message",X)})),e.$$set=x=>{r(57,t=qt(qt({},t),Aa(x))),"layoutid"in x&&r(0,i=x.layoutid),"session"in x&&r(11,a=x.session),"userid"in x&&r(12,s=x.userid),"tourid"in x&&r(13,o=x.tourid),"endpoint"in x&&r(14,l=x.endpoint),"cmsendpoint"in x&&r(15,u=x.cmsendpoint),"lang"in x&&r(1,f=x.lang),"navigationbackbutton"in x&&r(16,d=x.navigationbackbutton),"currency"in x&&r(17,h=x.currency),"namemask"in x&&r(18,b=x.namemask),"showunqualifiedplayer"in x&&r(19,g=x.showunqualifiedplayer),"minscore"in x&&r(20,p=x.minscore),"mobiletablelimit"in x&&r(21,w=x.mobiletablelimit),"tablelimit"in x&&r(22,k=x.tablelimit),"updatetableintime"in x&&r(23,L=x.updatetableintime),"leaderboardoffset"in x&&r(24,v=x.leaderboardoffset),"leaderboardlimit"in x&&r(25,T=x.leaderboardlimit),"scorefractiondigit"in x&&r(26,M=x.scorefractiondigit),"loginevent"in x&&r(27,B=x.loginevent),"loginurl"in x&&r(28,F=x.loginurl),"registerevent"in x&&r(29,Y=x.registerevent),"registerurl"in x&&r(30,E=x.registerurl),"limit"in x&&r(31,N=x.limit),"offset"in x&&r(32,we=x.offset),"keepbrowsercontext"in x&&r(33,ge=x.keepbrowsercontext),"showrankasimage"in x&&r(34,Me=x.showrankasimage),"clientstyling"in x&&r(2,Re=x.clientstyling),"clientstylingurl"in x&&r(3,Ee=x.clientstylingurl),"translationurl"in x&&r(4,Ne=x.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&2048|e.$$.dirty[1]&16&&A&&a&&oe(),e.$$.dirty[0]&30722|e.$$.dirty[1]&16&&A&&l&&a&&s&&f&&o&&ie(),e.$$.dirty[0]&6177|e.$$.dirty[1]&16&&A&&a&&j[i]&&s&&setTimeout(()=>{H(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])}),e.$$.dirty[0]&40960&&u&&o&&it(),e.$$.dirty[0]&71827456|e.$$.dirty[1]&16&&A&&g&&M&&k&&H(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),e.$$.dirty[0]&1|e.$$.dirty[1]&16&&A&&i&&q()},t=Aa(t),[i,f,Re,Ee,Ne,j,Le,Te,ce,n,z,a,s,o,l,u,d,h,b,g,p,w,k,L,v,T,M,B,F,Y,E,N,we,ge,Me,A]}class $l extends Je{constructor(t){super(),Ve(this,t,Fm,Am,je,{layoutid:0,session:11,userid:12,tourid:13,endpoint:14,cmsendpoint:15,lang:1,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},Rm,[-1,-1,-1])}get layoutid(){return this.$$.ctx[0]}set layoutid(t){this.$$set({layoutid:t}),D()}get session(){return this.$$.ctx[11]}set session(t){this.$$set({session:t}),D()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),D()}get tourid(){return this.$$.ctx[13]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),D()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),D()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),D()}get navigationbackbutton(){return this.$$.ctx[16]}set navigationbackbutton(t){this.$$set({navigationbackbutton:t}),D()}get currency(){return this.$$.ctx[17]}set currency(t){this.$$set({currency:t}),D()}get namemask(){return this.$$.ctx[18]}set namemask(t){this.$$set({namemask:t}),D()}get showunqualifiedplayer(){return this.$$.ctx[19]}set showunqualifiedplayer(t){this.$$set({showunqualifiedplayer:t}),D()}get minscore(){return this.$$.ctx[20]}set minscore(t){this.$$set({minscore:t}),D()}get mobiletablelimit(){return this.$$.ctx[21]}set mobiletablelimit(t){this.$$set({mobiletablelimit:t}),D()}get tablelimit(){return this.$$.ctx[22]}set tablelimit(t){this.$$set({tablelimit:t}),D()}get updatetableintime(){return this.$$.ctx[23]}set updatetableintime(t){this.$$set({updatetableintime:t}),D()}get leaderboardoffset(){return this.$$.ctx[24]}set leaderboardoffset(t){this.$$set({leaderboardoffset:t}),D()}get leaderboardlimit(){return this.$$.ctx[25]}set leaderboardlimit(t){this.$$set({leaderboardlimit:t}),D()}get scorefractiondigit(){return this.$$.ctx[26]}set scorefractiondigit(t){this.$$set({scorefractiondigit:t}),D()}get loginevent(){return this.$$.ctx[27]}set loginevent(t){this.$$set({loginevent:t}),D()}get loginurl(){return this.$$.ctx[28]}set loginurl(t){this.$$set({loginurl:t}),D()}get registerevent(){return this.$$.ctx[29]}set registerevent(t){this.$$set({registerevent:t}),D()}get registerurl(){return this.$$.ctx[30]}set registerurl(t){this.$$set({registerurl:t}),D()}get limit(){return this.$$.ctx[31]}set limit(t){this.$$set({limit:t}),D()}get offset(){return this.$$.ctx[32]}set offset(t){this.$$set({offset:t}),D()}get keepbrowsercontext(){return this.$$.ctx[33]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),D()}get showrankasimage(){return this.$$.ctx[34]}set showrankasimage(t){this.$$set({showrankasimage:t}),D()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),D()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),D()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),D()}}qe($l,{layoutid:{},session:{},userid:{},tourid:{},endpoint:{},cmsendpoint:{},lang:{},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=$l;
|
|
36
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Xs={};function ul(e,t){G.deprecationHandler!=null&&G.deprecationHandler(e,t),Xs[e]||(ll(t),Xs[e]=!0)}G.suppressDeprecationWarnings=!1;G.deprecationHandler=null;function zt(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function m1(e){var t,r;for(r in e)Ce(e,r)&&(t=e[r],zt(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ki(e,t){var r=ar({},e),n;for(n in t)Ce(t,n)&&(br(e[n])&&br(t[n])?(r[n]={},ar(r[n],e[n]),ar(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)Ce(e,n)&&!Ce(t,n)&&br(e[n])&&(r[n]=ar({},r[n]));return r}function da(e){e!=null&&this.set(e)}var $i;Object.keys?$i=Object.keys:$i=function(e){var t,r=[];for(t in e)Ce(e,t)&&r.push(t);return r};var p1={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function g1(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return zt(n)?n.call(t,r):n}function Rt(e,t,r){var n=""+Math.abs(e),i=t-n.length,a=e>=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={},xr={};function K(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(xr[e]=i),t&&(xr[t[0]]=function(){return Rt(i.apply(this,arguments),t[1],t[2])}),r&&(xr[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function b1(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _1(e){var t=e.match(ha),r,n;for(r=0,n=t.length;r<n;r++)xr[t[r]]?t[r]=xr[t[r]]:t[r]=b1(t[r]);return function(i){var a="",s;for(s=0;s<n;s++)a+=zt(t[s])?t[s].call(i,e):t[s];return a}}function Sn(e,t){return e.isValid()?(t=cl(t,e.localeData()),_i[t]=_i[t]||_1(t),_i[t](e)):e.localeData().invalidDate()}function cl(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(_n.lastIndex=0;r>=0&&_n.test(e);)e=e.replace(_n,n),_n.lastIndex=0,r-=1;return e}var y1={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 C1(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(ha).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var w1="Invalid date";function v1(){return this._invalidDate}var T1="%d",k1=/\d{1,2}/;function S1(e){return this._ordinal.replace("%d",e)}var P1={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 x1(e,t,r,n){var i=this._relativeTime[r];return zt(i)?i(e,t,r,n):i.replace(/%d/i,e)}function D1(e,t){var r=this._relativeTime[e>0?"future":"past"];return zt(r)?r(t):r.replace(/%s/i,t)}var Qr={};function rt(e,t){var r=e.toLowerCase();Qr[r]=Qr[r+"s"]=Qr[t]=e}function kt(e){return typeof e=="string"?Qr[e]||Qr[e.toLowerCase()]:void 0}function ma(e){var t={},r,n;for(n in e)Ce(e,n)&&(r=kt(n),r&&(t[r]=e[n]));return t}var fl={};function nt(e,t){fl[e]=t}function E1(e){var t=[],r;for(r in e)Ce(e,r)&&t.push({unit:r,priority:fl[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}function Zn(e){return e%4===0&&e%100!==0||e%400===0}function vt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function fe(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=vt(t)),r}function Ur(e,t){return function(r){return r!=null?(dl(this,e,r),G.updateOffset(this,t),this):Fn(this,e)}}function Fn(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function dl(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Zn(e.year())&&e.month()===1&&e.date()===29?(r=fe(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),ti(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function L1(e){return e=kt(e),zt(this[e])?this[e]():this}function M1(e,t){if(typeof e=="object"){e=ma(e);var r=E1(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=kt(e),zt(this[e]))return this[e](t);return this}var hl=/\d/,Ct=/\d\d/,ml=/\d{3}/,pa=/\d{4}/,Xn=/[+-]?\d{6}/,Oe=/\d\d?/,pl=/\d\d\d\d?/,gl=/\d\d\d\d\d\d?/,Qn=/\d{1,3}/,ga=/\d{1,4}/,Kn=/[+-]?\d{1,6}/,Ir=/\d+/,$n=/[+-]?\d+/,R1=/Z|[+-]\d\d:?\d\d/gi,ei=/Z|[+-]\d\d(?::?\d\d)?/gi,A1=/[+-]?\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(e,t,r){On[e]=zt(t)?t:function(n,i){return n&&r?r:t}}function F1(e,t){return Ce(On,e)?On[e](t._strict,t._locale):new RegExp(O1(e))}function O1(e){return gt(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,a){return r||n||i||a}))}function gt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ea={};function De(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),Qt(t)&&(n=function(a,s){s[t]=fe(a)}),i=e.length,r=0;r<i;r++)ea[e[r]]=n}function hn(e,t){De(e,function(r,n,i,a){i._w=i._w||{},t(r,i._w,i,a)})}function z1(e,t,r){t!=null&&Ce(ea,e)&&ea[e](t,r._a,r,e)}var tt=0,Gt=1,Lt=2,Xe=3,St=4,Yt=5,gr=6,B1=7,N1=8;function H1(e,t){return(e%t+t)%t}var Ie;Array.prototype.indexOf?Ie=Array.prototype.indexOf:Ie=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ti(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=H1(t,12);return e+=(t-r)/12,r===1?Zn(e)?29:28:31-r%7%2}K("M",["MM",2],"Mo",function(){return this.month()+1});K("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});K("MMMM",0,0,function(e){return this.localeData().months(this,e)});rt("month","M");nt("month",8);V("M",Oe);V("MM",Oe,Ct);V("MMM",function(e,t){return t.monthsShortRegex(e)});V("MMMM",function(e,t){return t.monthsRegex(e)});De(["M","MM"],function(e,t){t[Gt]=fe(e)-1});De(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Gt]=i:ue(r).invalidMonth=e});var U1="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),bl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_l=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,I1=dn,j1=dn;function G1(e,t){return e?Pt(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||_l).test(t)?"format":"standalone"][e.month()]:Pt(this._months)?this._months:this._months.standalone}function Y1(e,t){return e?Pt(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[_l.test(t)?"format":"standalone"][e.month()]:Pt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function W1(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=Ot([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(i=Ie.call(this._shortMonthsParse,s),i!==-1?i:null):(i=Ie.call(this._longMonthsParse,s),i!==-1?i:null):t==="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 V1(e,t,r){var n,i,a;if(this._monthsParseExact)return W1.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=Ot([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&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function yl(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=fe(t);else if(t=e.localeData().monthsParse(t),!Qt(t))return e}return r=Math.min(e.date(),ti(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Cl(e){return e!=null?(yl(this,e),G.updateOffset(this,!0),this):Fn(this,"Month")}function q1(){return ti(this.year(),this.month())}function J1(e){return this._monthsParseExact?(Ce(this,"_monthsRegex")||wl.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ce(this,"_monthsShortRegex")||(this._monthsShortRegex=I1),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Z1(e){return this._monthsParseExact?(Ce(this,"_monthsRegex")||wl.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ce(this,"_monthsRegex")||(this._monthsRegex=j1),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function wl(){function e(s,o){return o.length-s.length}var t=[],r=[],n=[],i,a;for(i=0;i<12;i++)a=Ot([2e3,i]),t.push(this.monthsShort(a,"")),r.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(t.sort(e),r.sort(e),n.sort(e),i=0;i<12;i++)t[i]=gt(t[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("^("+t.join("|")+")","i")}K("Y",0,0,function(){var e=this.year();return e<=9999?Rt(e,4):"+"+e});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");rt("year","y");nt("year",1);V("Y",$n);V("YY",Oe,Ct);V("YYYY",ga,pa);V("YYYYY",Kn,Xn);V("YYYYYY",Kn,Xn);De(["YYYYY","YYYYYY"],tt);De("YYYY",function(e,t){t[tt]=e.length===2?G.parseTwoDigitYear(e):fe(e)});De("YY",function(e,t){t[tt]=G.parseTwoDigitYear(e)});De("Y",function(e,t){t[tt]=parseInt(e,10)});function Kr(e){return Zn(e)?366:365}G.parseTwoDigitYear=function(e){return fe(e)+(fe(e)>68?1900:2e3)};var vl=Ur("FullYear",!0);function X1(){return Zn(this.year())}function Q1(e,t,r,n,i,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,a,s),o}function nn(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function zn(e,t,r){var n=7+t-r,i=(7+nn(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Tl(e,t,r,n,i){var a=(7+r-n)%7,s=zn(e,n,i),o=1+7*(t-1)+a+s,l,u;return o<=0?(l=e-1,u=Kr(l)+o):o>Kr(e)?(l=e+1,u=o-Kr(e)):(l=e,u=o),{year:l,dayOfYear:u}}function an(e,t,r){var n=zn(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,a,s;return i<1?(s=e.year()-1,a=i+Vt(s,t,r)):i>Vt(e.year(),t,r)?(a=i-Vt(e.year(),t,r),s=e.year()+1):(s=e.year(),a=i),{week:a,year:s}}function Vt(e,t,r){var n=zn(e,t,r),i=zn(e+1,t,r);return(Kr(e)-n+i)/7}K("w",["ww",2],"wo","week");K("W",["WW",2],"Wo","isoWeek");rt("week","w");rt("isoWeek","W");nt("week",5);nt("isoWeek",5);V("w",Oe);V("ww",Oe,Ct);V("W",Oe);V("WW",Oe,Ct);hn(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=fe(e)});function K1(e){return an(e,this._week.dow,this._week.doy).week}var $1={dow:0,doy:6};function ef(){return this._week.dow}function tf(){return this._week.doy}function rf(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function nf(e){var t=an(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}K("d",0,"do","day");K("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});K("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});K("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});K("e",0,0,"weekday");K("E",0,0,"isoWeekday");rt("day","d");rt("weekday","e");rt("isoWeekday","E");nt("day",11);nt("weekday",11);nt("isoWeekday",11);V("d",Oe);V("e",Oe);V("E",Oe);V("dd",function(e,t){return t.weekdaysMinRegex(e)});V("ddd",function(e,t){return t.weekdaysShortRegex(e)});V("dddd",function(e,t){return t.weekdaysRegex(e)});hn(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:ue(r).invalidWeekday=e});hn(["d","e","E"],function(e,t,r,n){t[n]=fe(e)});function af(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function sf(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ba(e,t){return e.slice(t,7).concat(e.slice(0,t))}var of="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),kl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),lf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),uf=dn,cf=dn,ff=dn;function df(e,t){var r=Pt(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ba(r,this._week.dow):e?r[e.day()]:r}function hf(e){return e===!0?ba(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function mf(e){return e===!0?ba(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function pf(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=Ot([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?t==="dddd"?(i=Ie.call(this._weekdaysParse,s),i!==-1?i:null):t==="ddd"?(i=Ie.call(this._shortWeekdaysParse,s),i!==-1?i:null):(i=Ie.call(this._minWeekdaysParse,s),i!==-1?i:null):t==="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)):t==="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 gf(e,t,r){var n,i,a;if(this._weekdaysParseExact)return pf.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=Ot([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&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function bf(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=af(e,this.localeData()),this.add(e-t,"d")):t}function _f(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function yf(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=sf(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Cf(e){return this._weekdaysParseExact?(Ce(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ce(this,"_weekdaysRegex")||(this._weekdaysRegex=uf),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function wf(e){return this._weekdaysParseExact?(Ce(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ce(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=cf),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function vf(e){return this._weekdaysParseExact?(Ce(this,"_weekdaysRegex")||_a.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ce(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ff),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function _a(){function e(f,d){return d.length-f.length}var t=[],r=[],n=[],i=[],a,s,o,l,u;for(a=0;a<7;a++)s=Ot([2e3,1]).day(a),o=gt(this.weekdaysMin(s,"")),l=gt(this.weekdaysShort(s,"")),u=gt(this.weekdays(s,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),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("^("+t.join("|")+")","i")}function ya(){return this.hours()%12||12}function Tf(){return this.hours()||24}K("H",["HH",2],0,"hour");K("h",["hh",2],0,ya);K("k",["kk",2],0,Tf);K("hmm",0,0,function(){return""+ya.apply(this)+Rt(this.minutes(),2)});K("hmmss",0,0,function(){return""+ya.apply(this)+Rt(this.minutes(),2)+Rt(this.seconds(),2)});K("Hmm",0,0,function(){return""+this.hours()+Rt(this.minutes(),2)});K("Hmmss",0,0,function(){return""+this.hours()+Rt(this.minutes(),2)+Rt(this.seconds(),2)});function Sl(e,t){K(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Sl("a",!0);Sl("A",!1);rt("hour","h");nt("hour",13);function Pl(e,t){return t._meridiemParse}V("a",Pl);V("A",Pl);V("H",Oe);V("h",Oe);V("k",Oe);V("HH",Oe,Ct);V("hh",Oe,Ct);V("kk",Oe,Ct);V("hmm",pl);V("hmmss",gl);V("Hmm",pl);V("Hmmss",gl);De(["H","HH"],Xe);De(["k","kk"],function(e,t,r){var n=fe(e);t[Xe]=n===24?0:n});De(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});De(["h","hh"],function(e,t,r){t[Xe]=fe(e),ue(r).bigHour=!0});De("hmm",function(e,t,r){var n=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n)),ue(r).bigHour=!0});De("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n,2)),t[Yt]=fe(e.substr(i)),ue(r).bigHour=!0});De("Hmm",function(e,t,r){var n=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n))});De("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Xe]=fe(e.substr(0,n)),t[St]=fe(e.substr(n,2)),t[Yt]=fe(e.substr(i))});function kf(e){return(e+"").toLowerCase().charAt(0)==="p"}var Sf=/[ap]\.?m?\.?/i,Pf=Ur("Hours",!0);function xf(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var xl={calendar:p1,longDateFormat:y1,invalidDate:w1,ordinal:T1,dayOfMonthOrdinalParse:k1,relativeTime:P1,months:U1,monthsShort:bl,week:$1,weekdays:of,weekdaysMin:lf,weekdaysShort:kl,meridiemParse:Sf},Be={},Wr={},sn;function Df(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function Qs(e){return e&&e.toLowerCase().replace("_","-")}function Ef(e){for(var t=0,r,n,i,a;t<e.length;){for(a=Qs(e[t]).split("-"),r=a.length,n=Qs(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=ri(a.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&Df(a,n)>=r-1)break;r--}t++}return sn}function Lf(e){return e.match("^[^/\\\\]*$")!=null}function ri(e){var t=null,r;if(Be[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Lf(e))try{t=sn._abbr,r=f1,r("./locale/"+e),or(t)}catch(n){Be[e]=null}return Be[e]}function or(e,t){var r;return e&&(lt(t)?r=tr(e):r=Ca(e,t),r?sn=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function Ca(e,t){if(t!==null){var r,n=xl;if(t.abbr=e,Be[e]!=null)ul("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[e]._config;else if(t.parentLocale!=null)if(Be[t.parentLocale]!=null)n=Be[t.parentLocale]._config;else if(r=ri(t.parentLocale),r!=null)n=r._config;else return Wr[t.parentLocale]||(Wr[t.parentLocale]=[]),Wr[t.parentLocale].push({name:e,config:t}),null;return Be[e]=new da(Ki(n,t)),Wr[e]&&Wr[e].forEach(function(i){Ca(i.name,i.config)}),or(e),Be[e]}else return delete Be[e],null}function Mf(e,t){if(t!=null){var r,n,i=xl;Be[e]!=null&&Be[e].parentLocale!=null?Be[e].set(Ki(Be[e]._config,t)):(n=ri(e),n!=null&&(i=n._config),t=Ki(i,t),n==null&&(t.abbr=e),r=new da(t),r.parentLocale=Be[e],Be[e]=r),or(e)}else Be[e]!=null&&(Be[e].parentLocale!=null?(Be[e]=Be[e].parentLocale,e===or()&&or(e)):Be[e]!=null&&delete Be[e]);return Be[e]}function tr(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!Pt(e)){if(t=ri(e),t)return t;e=[e]}return Ef(e)}function Rf(){return $i(Be)}function wa(e){var t,r=e._a;return r&&ue(e).overflow===-2&&(t=r[Gt]<0||r[Gt]>11?Gt:r[Lt]<1||r[Lt]>ti(r[tt],r[Gt])?Lt:r[Xe]<0||r[Xe]>24||r[Xe]===24&&(r[St]!==0||r[Yt]!==0||r[gr]!==0)?Xe:r[St]<0||r[St]>59?St:r[Yt]<0||r[Yt]>59?Yt:r[gr]<0||r[gr]>999?gr:-1,ue(e)._overflowDayOfYear&&(t<tt||t>Lt)&&(t=Lt),ue(e)._overflowWeeks&&t===-1&&(t=B1),ue(e)._overflowWeekday&&t===-1&&(t=N1),ue(e).overflow=t),e}var Af=/^\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)?)?$/,Ff=/^\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)?)?$/,Of=/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/]],zf=/^\/?Date\((-?\d+)/i,Bf=/^(?:(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}))$/,Nf={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 Dl(e){var t,r,n=e._i,i=Af.exec(n)||Ff.exec(n),a,s,o,l,u=yn.length,f=yi.length;if(i){for(ue(e).iso=!0,t=0,r=u;t<r;t++)if(yn[t][1].exec(i[1])){s=yn[t][0],a=yn[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(i[3]){for(t=0,r=f;t<r;t++)if(yi[t][1].exec(i[3])){o=(i[2]||" ")+yi[t][0];break}if(o==null){e._isValid=!1;return}}if(!a&&o!=null){e._isValid=!1;return}if(i[4])if(Of.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=s+(o||"")+(l||""),Ta(e)}else e._isValid=!1}function Hf(e,t,r,n,i,a){var s=[Uf(e),bl.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function Uf(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function If(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jf(e,t,r){if(e){var n=kl.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return ue(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Gf(e,t,r){if(e)return Nf[e];if(t)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return a*60+i}function El(e){var t=Bf.exec(If(e._i)),r;if(t){if(r=Hf(t[4],t[3],t[2],t[5],t[6],t[7]),!jf(t[1],r,e))return;e._a=r,e._tzm=Gf(t[8],t[9],t[10]),e._d=nn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ue(e).rfc2822=!0}else e._isValid=!1}function Yf(e){var t=zf.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Dl(e),e._isValid===!1)delete e._isValid;else return;if(El(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:G.createFromInputFallback(e)}G.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function kr(e,t,r){return e!=null?e:t!=null?t:r}function Wf(e){var t=new Date(G.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function va(e){var t,r,n=[],i,a,s;if(!e._d){for(i=Wf(e),e._w&&e._a[Lt]==null&&e._a[Gt]==null&&Vf(e),e._dayOfYear!=null&&(s=kr(e._a[tt],i[tt]),(e._dayOfYear>Kr(s)||e._dayOfYear===0)&&(ue(e)._overflowDayOfYear=!0),r=nn(s,0,e._dayOfYear),e._a[Gt]=r.getUTCMonth(),e._a[Lt]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Xe]===24&&e._a[St]===0&&e._a[Yt]===0&&e._a[gr]===0&&(e._nextDay=!0,e._a[Xe]=0),e._d=(e._useUTC?nn:Q1).apply(null,n),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Xe]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(ue(e).weekdayMismatch=!0)}}function Vf(e){var t,r,n,i,a,s,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,s=4,r=kr(t.GG,e._a[tt],an(Fe(),1,4).year),n=kr(t.W,1),i=kr(t.E,1),(i<1||i>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=an(Fe(),a,s),r=kr(t.gg,e._a[tt],u.year),n=kr(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a),n<1||n>Vt(r,a,s)?ue(e)._overflowWeeks=!0:l!=null?ue(e)._overflowWeekday=!0:(o=Tl(r,n,i,a,s),e._a[tt]=o.year,e._dayOfYear=o.dayOfYear)}G.ISO_8601=function(){};G.RFC_2822=function(){};function Ta(e){if(e._f===G.ISO_8601){Dl(e);return}if(e._f===G.RFC_2822){El(e);return}e._a=[],ue(e).empty=!0;var t=""+e._i,r,n,i,a,s,o=t.length,l=0,u,f;for(i=cl(e._f,e._locale).match(ha)||[],f=i.length,r=0;r<f;r++)a=i[r],n=(t.match(F1(a,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&ue(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),l+=n.length),xr[a]?(n?ue(e).empty=!1:ue(e).unusedTokens.push(a),z1(a,n,e)):e._strict&&!n&&ue(e).unusedTokens.push(a);ue(e).charsLeftOver=o-l,t.length>0&&ue(e).unusedInput.push(t),e._a[Xe]<=12&&ue(e).bigHour===!0&&e._a[Xe]>0&&(ue(e).bigHour=void 0),ue(e).parsedDateParts=e._a.slice(0),ue(e).meridiem=e._meridiem,e._a[Xe]=qf(e._locale,e._a[Xe],e._meridiem),u=ue(e).era,u!==null&&(e._a[tt]=e._locale.erasConvertYear(u,e._a[tt])),va(e),wa(e)}function qf(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Jf(e){var t,r,n,i,a,s,o=!1,l=e._f.length;if(l===0){ue(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)a=0,s=!1,t=fa({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Ta(t),ca(t)&&(s=!0),a+=ue(t).charsLeftOver,a+=ue(t).unusedTokens.length*10,ue(t).score=a,o?a<n&&(n=a,r=t):(n==null||a<n||s)&&(n=a,r=t,s&&(o=!0));ar(e,r||t)}function Zf(e){if(!e._d){var t=ma(e._i),r=t.day===void 0?t.date:t.day;e._a=ol([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),va(e)}}function Xf(e){var t=new fn(wa(Ll(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ll(e){var t=e._i,r=e._f;return e._locale=e._locale||tr(e._l),t===null||r===void 0&&t===""?Jn({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),xt(t)?new fn(wa(t)):(cn(t)?e._d=t:Pt(r)?Jf(e):r?Ta(e):Qf(e),ca(e)||(e._d=null),e))}function Qf(e){var t=e._i;lt(t)?e._d=new Date(G.now()):cn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Yf(e):Pt(t)?(e._a=ol(t.slice(0),function(r){return parseInt(r,10)}),va(e)):br(t)?Zf(e):Qt(t)?e._d=new Date(t):G.createFromInputFallback(e)}function Ml(e,t,r,n,i){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(br(e)&&ua(e)||Pt(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=e,a._f=t,a._strict=n,Xf(a)}function Fe(e,t,r,n){return Ml(e,t,r,n,!1)}var Kf=Tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Fe.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Jn()}),$f=Tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Fe.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Jn()});function Rl(e,t){var r,n;if(t.length===1&&Pt(t[0])&&(t=t[0]),!t.length)return Fe();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function ed(){var e=[].slice.call(arguments,0);return Rl("isBefore",e)}function td(){var e=[].slice.call(arguments,0);return Rl("isAfter",e)}var rd=function(){return Date.now?Date.now():+new Date},Vr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nd(e){var t,r=!1,n,i=Vr.length;for(t in e)if(Ce(e,t)&&!(Ie.call(Vr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[Vr[n]]){if(r)return!1;parseFloat(e[Vr[n]])!==fe(e[Vr[n]])&&(r=!0)}return!0}function id(){return this._isValid}function ad(){return Dt(NaN)}function ni(e){var t=ma(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,f=t.millisecond||0;this._isValid=nd(t),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=tr(),this._bubble()}function Pn(e){return e instanceof ni}function ta(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function sd(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,s;for(s=0;s<n;s++)fe(e[s])!==fe(t[s])&&a++;return a+i}function Al(e,t){K(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Rt(~~(r/60),2)+t+Rt(~~r%60,2)})}Al("Z",":");Al("ZZ","");V("Z",ei);V("ZZ",ei);De(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=ka(ei,e)});var od=/([\+\-]|\d\d)/gi;function ka(e,t){var r=(t||"").match(e),n,i,a;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(od)||["-",0,0],a=+(i[1]*60)+fe(i[2]),a===0?0:i[0]==="+"?a:-a)}function Sa(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(xt(e)||cn(e)?e.valueOf():Fe(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),G.updateOffset(r,!1),r):Fe(e).local()}function ra(e){return-Math.round(e._d.getTimezoneOffset())}G.updateOffset=function(){};function ld(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=ka(ei,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=ra(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?zl(this,Dt(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,G.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:ra(this)}function ud(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function cd(e){return this.utcOffset(0,e)}function fd(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ra(this),"m")),this}function dd(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=ka(R1,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function hd(e){return this.isValid()?(e=e?Fe(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function md(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function pd(){if(!lt(this._isDSTShifted))return this._isDSTShifted;var e={},t;return fa(e,this),e=Ll(e),e._a?(t=e._isUTC?Ot(e._a):Fe(e._a),this._isDSTShifted=this.isValid()&&sd(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function gd(){return this.isValid()?!this._isUTC:!1}function bd(){return this.isValid()?this._isUTC:!1}function Fl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var _d=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,yd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dt(e,t){var r=e,n=null,i,a,s;return Pn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Qt(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=_d.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:fe(n[Lt])*i,h:fe(n[Xe])*i,m:fe(n[St])*i,s:fe(n[Yt])*i,ms:fe(ta(n[gr]*1e3))*i}):(n=yd.exec(e))?(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=Cd(Fe(r.from),Fe(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new ni(r),Pn(e)&&Ce(e,"_locale")&&(a._locale=e._locale),Pn(e)&&Ce(e,"_isValid")&&(a._isValid=e._isValid),a}Dt.fn=ni.prototype;Dt.invalid=ad;function mr(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Ks(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Cd(e,t){var r;return e.isValid()&&t.isValid()?(t=Sa(t,e),e.isBefore(t)?r=Ks(e,t):(r=Ks(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ol(e,t){return function(r,n){var i,a;return n!==null&&!isNaN(+n)&&(ul(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),i=Dt(r,n),zl(this,i,e),this}}function zl(e,t,r,n){var i=t._milliseconds,a=ta(t._days),s=ta(t._months);e.isValid()&&(n=n==null?!0:n,s&&yl(e,Fn(e,"Month")+s*r),a&&dl(e,"Date",Fn(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&G.updateOffset(e,a||s))}var wd=Ol(1,"add"),vd=Ol(-1,"subtract");function Bl(e){return typeof e=="string"||e instanceof String}function Td(e){return xt(e)||cn(e)||Bl(e)||Qt(e)||Sd(e)||kd(e)||e===null||e===void 0}function kd(e){var t=br(e)&&!ua(e),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||Ce(e,a);return t&&r}function Sd(e){var t=Pt(e),r=!1;return t&&(r=e.filter(function(n){return!Qt(n)&&Bl(e)}).length===0),t&&r}function Pd(e){var t=br(e)&&!ua(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<n.length;i+=1)a=n[i],r=r||Ce(e,a);return t&&r}function xd(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Dd(e,t){arguments.length===1&&(arguments[0]?Td(arguments[0])?(e=arguments[0],t=void 0):Pd(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Fe(),n=Sa(r,this).startOf("day"),i=G.calendarFormat(this,n)||"sameElse",a=t&&(zt(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,Fe(r)))}function Ed(){return new fn(this)}function Ld(e,t){var r=xt(e)?e:Fe(e);return this.isValid()&&r.isValid()?(t=kt(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Md(e,t){var r=xt(e)?e:Fe(e);return this.isValid()&&r.isValid()?(t=kt(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Rd(e,t,r,n){var i=xt(e)?e:Fe(e),a=xt(t)?t:Fe(t);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 Ad(e,t){var r=xt(e)?e:Fe(e),n;return this.isValid()&&r.isValid()?(t=kt(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Fd(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Od(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function zd(e,t,r){var n,i,a;if(!this.isValid())return NaN;if(n=Sa(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=kt(t),t){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:vt(a)}function xn(e,t){if(e.date()<t.date())return-xn(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,a;return t-n<0?(i=e.clone().add(r-1,"months"),a=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),a=(t-n)/(i-n)),-(r+a)||0}G.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";G.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Bd(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Nd(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Sn(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):zt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Sn(r,"Z")):Sn(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Hd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+n+i+a)}function Ud(e){e||(e=this.isUtc()?G.defaultFormatUtc:G.defaultFormat);var t=Sn(this,e);return this.localeData().postformat(t)}function Id(e,t){return this.isValid()&&(xt(e)&&e.isValid()||Fe(e).isValid())?Dt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function jd(e){return this.from(Fe(),e)}function Gd(e,t){return this.isValid()&&(xt(e)&&e.isValid()||Fe(e).isValid())?Dt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Yd(e){return this.to(Fe(),e)}function Nl(e){var t;return e===void 0?this._locale._abbr:(t=tr(e),t!=null&&(this._locale=t),this)}var Hl=Tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ul(){return this._locale}var Bn=1e3,Dr=60*Bn,Nn=60*Dr,Il=(365*400+97)*24*Nn;function Er(e,t){return(e%t+t)%t}function jl(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Il:new Date(e,t,r).valueOf()}function Gl(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Il:Date.UTC(e,t,r)}function Wd(e){var t,r;if(e=kt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Gl:jl,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Er(t+(this._isUTC?0:this.utcOffset()*Dr),Nn);break;case"minute":t=this._d.valueOf(),t-=Er(t,Dr);break;case"second":t=this._d.valueOf(),t-=Er(t,Bn);break}return this._d.setTime(t),G.updateOffset(this,!0),this}function Vd(e){var t,r;if(e=kt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Gl:jl,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Nn-Er(t+(this._isUTC?0:this.utcOffset()*Dr),Nn)-1;break;case"minute":t=this._d.valueOf(),t+=Dr-Er(t,Dr)-1;break;case"second":t=this._d.valueOf(),t+=Bn-Er(t,Bn)-1;break}return this._d.setTime(t),G.updateOffset(this,!0),this}function qd(){return this._d.valueOf()-(this._offset||0)*6e4}function Jd(){return Math.floor(this.valueOf()/1e3)}function Zd(){return new Date(this.valueOf())}function Xd(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Qd(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Kd(){return this.isValid()?this.toISOString():null}function $d(){return ca(this)}function eh(){return ar({},ue(this))}function th(){return ue(this).overflow}function rh(){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",hh);V("NNNNN",mh);De(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?ue(r).era=i:ue(r).invalidEra=e});V("y",Ir);V("yy",Ir);V("yyy",Ir);V("yyyy",Ir);V("yo",ph);De(["y","yy","yyy","yyyy"],tt);De(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[tt]=r._locale.eraYearOrdinalParse(e,i):t[tt]=parseInt(e,10)});function nh(e,t){var r,n,i,a=this._eras||tr("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":i=G(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=G(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}}return a}function ih(e,t,r){var n,i,a=this.eras(),s,o,l;for(e=e.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(t){case"N":case"NN":case"NNN":if(o===e)return a[n];break;case"NNNN":if(s===e)return a[n];break;case"NNNNN":if(l===e)return a[n];break}else if([s,o,l].indexOf(e)>=0)return a[n]}function ah(e,t){var r=e.since<=e.until?1:-1;return t===void 0?G(e.since).year():G(e.since).year()+(t-e.offset)*r}function sh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function oh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function lh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function uh(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-G(i[e].since).year())*r+i[e].offset;return this.year()}function ch(e){return Ce(this,"_erasNameRegex")||xa.call(this),e?this._erasNameRegex:this._erasRegex}function fh(e){return Ce(this,"_erasAbbrRegex")||xa.call(this),e?this._erasAbbrRegex:this._erasRegex}function dh(e){return Ce(this,"_erasNarrowRegex")||xa.call(this),e?this._erasNarrowRegex:this._erasRegex}function Pa(e,t){return t.erasAbbrRegex(e)}function hh(e,t){return t.erasNameRegex(e)}function mh(e,t){return t.erasNarrowRegex(e)}function ph(e,t){return t._eraYearOrdinalRegex||Ir}function xa(){var e=[],t=[],r=[],n=[],i,a,s=this.eras();for(i=0,a=s.length;i<a;++i)t.push(gt(s[i].name)),e.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("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.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(e,t){K(0,[e,e.length],0,t)}ii("gggg","weekYear");ii("ggggg","weekYear");ii("GGGG","isoWeekYear");ii("GGGGG","isoWeekYear");rt("weekYear","gg");rt("isoWeekYear","GG");nt("weekYear",1);nt("isoWeekYear",1);V("G",$n);V("g",$n);V("GG",Oe,Ct);V("gg",Oe,Ct);V("GGGG",ga,pa);V("gggg",ga,pa);V("GGGGG",Kn,Xn);V("ggggg",Kn,Xn);hn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=fe(e)});hn(["gg","GG"],function(e,t,r,n){t[n]=G.parseTwoDigitYear(e)});function gh(e){return Yl.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function bh(e){return Yl.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function _h(){return Vt(this.year(),1,4)}function yh(){return Vt(this.isoWeekYear(),1,4)}function Ch(){var e=this.localeData()._week;return Vt(this.year(),e.dow,e.doy)}function wh(){var e=this.localeData()._week;return Vt(this.weekYear(),e.dow,e.doy)}function Yl(e,t,r,n,i){var a;return e==null?an(this,n,i).year:(a=Vt(e,n,i),t>a&&(t=a),vh.call(this,e,t,r,n,i))}function vh(e,t,r,n,i){var a=Tl(e,t,r,n,i),s=nn(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}K("Q",0,"Qo","quarter");rt("quarter","Q");nt("quarter",7);V("Q",hl);De("Q",function(e,t){t[Gt]=(fe(e)-1)*3});function Th(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}K("D",["DD",2],"Do","date");rt("date","D");nt("date",9);V("D",Oe);V("DD",Oe,Ct);V("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});De(["D","DD"],Lt);De("Do",function(e,t){t[Lt]=fe(e.match(Oe)[0])});var Wl=Ur("Date",!0);K("DDD",["DDDD",3],"DDDo","dayOfYear");rt("dayOfYear","DDD");nt("dayOfYear",4);V("DDD",Qn);V("DDDD",ml);De(["DDD","DDDD"],function(e,t,r){r._dayOfYear=fe(e)});function kh(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}K("m",["mm",2],0,"minute");rt("minute","m");nt("minute",14);V("m",Oe);V("mm",Oe,Ct);De(["m","mm"],St);var Sh=Ur("Minutes",!1);K("s",["ss",2],0,"second");rt("second","s");nt("second",15);V("s",Oe);V("ss",Oe,Ct);De(["s","ss"],Yt);var Ph=Ur("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});rt("millisecond","ms");nt("millisecond",16);V("S",Qn,hl);V("SS",Qn,Ct);V("SSS",Qn,ml);var sr,Vl;for(sr="SSSS";sr.length<=9;sr+="S")V(sr,Ir);function xh(e,t){t[gr]=fe(("0."+e)*1e3)}for(sr="S";sr.length<=9;sr+="S")De(sr,xh);Vl=Ur("Milliseconds",!1);K("z",0,0,"zoneAbbr");K("zz",0,0,"zoneName");function Dh(){return this._isUTC?"UTC":""}function Eh(){return this._isUTC?"Coordinated Universal Time":""}var R=fn.prototype;R.add=wd;R.calendar=Dd;R.clone=Ed;R.diff=zd;R.endOf=Vd;R.format=Ud;R.from=Id;R.fromNow=jd;R.to=Gd;R.toNow=Yd;R.get=L1;R.invalidAt=th;R.isAfter=Ld;R.isBefore=Md;R.isBetween=Rd;R.isSame=Ad;R.isSameOrAfter=Fd;R.isSameOrBefore=Od;R.isValid=$d;R.lang=Hl;R.locale=Nl;R.localeData=Ul;R.max=$f;R.min=Kf;R.parsingFlags=eh;R.set=M1;R.startOf=Wd;R.subtract=vd;R.toArray=Xd;R.toObject=Qd;R.toDate=Zd;R.toISOString=Nd;R.inspect=Hd;typeof Symbol!="undefined"&&Symbol.for!=null&&(R[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});R.toJSON=Kd;R.toString=Bd;R.unix=Jd;R.valueOf=qd;R.creationData=rh;R.eraName=sh;R.eraNarrow=oh;R.eraAbbr=lh;R.eraYear=uh;R.year=vl;R.isLeapYear=X1;R.weekYear=gh;R.isoWeekYear=bh;R.quarter=R.quarters=Th;R.month=Cl;R.daysInMonth=q1;R.week=R.weeks=rf;R.isoWeek=R.isoWeeks=nf;R.weeksInYear=Ch;R.weeksInWeekYear=wh;R.isoWeeksInYear=_h;R.isoWeeksInISOWeekYear=yh;R.date=Wl;R.day=R.days=bf;R.weekday=_f;R.isoWeekday=yf;R.dayOfYear=kh;R.hour=R.hours=Pf;R.minute=R.minutes=Sh;R.second=R.seconds=Ph;R.millisecond=R.milliseconds=Vl;R.utcOffset=ld;R.utc=cd;R.local=fd;R.parseZone=dd;R.hasAlignedHourOffset=hd;R.isDST=md;R.isLocal=gd;R.isUtcOffset=bd;R.isUtc=Fl;R.isUTC=Fl;R.zoneAbbr=Dh;R.zoneName=Eh;R.dates=Tt("dates accessor is deprecated. Use date instead.",Wl);R.months=Tt("months accessor is deprecated. Use month instead",Cl);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/",ud);R.isDSTShifted=Tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",pd);function Lh(e){return Fe(e*1e3)}function Mh(){return Fe.apply(null,arguments).parseZone()}function ql(e){return e}var we=da.prototype;we.calendar=g1;we.longDateFormat=C1;we.invalidDate=v1;we.ordinal=S1;we.preparse=ql;we.postformat=ql;we.relativeTime=x1;we.pastFuture=D1;we.set=m1;we.eras=nh;we.erasParse=ih;we.erasConvertYear=ah;we.erasAbbrRegex=fh;we.erasNameRegex=ch;we.erasNarrowRegex=dh;we.months=G1;we.monthsShort=Y1;we.monthsParse=V1;we.monthsRegex=Z1;we.monthsShortRegex=J1;we.week=K1;we.firstDayOfYear=tf;we.firstDayOfWeek=ef;we.weekdays=df;we.weekdaysMin=mf;we.weekdaysShort=hf;we.weekdaysParse=gf;we.weekdaysRegex=Cf;we.weekdaysShortRegex=wf;we.weekdaysMinRegex=vf;we.isPM=kf;we.meridiem=xf;function Hn(e,t,r,n){var i=tr(),a=Ot().set(n,t);return i[r](a,e)}function Jl(e,t,r){if(Qt(e)&&(t=e,e=void 0),e=e||"",t!=null)return Hn(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Hn(e,n,r,"month");return i}function Da(e,t,r,n){typeof e=="boolean"?(Qt(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Qt(t)&&(r=t,t=void 0),t=t||"");var i=tr(),a=e?i._week.dow:0,s,o=[];if(r!=null)return Hn(t,(r+a)%7,n,"day");for(s=0;s<7;s++)o[s]=Hn(t,(s+a)%7,n,"day");return o}function Rh(e,t){return Jl(e,t,"months")}function Ah(e,t){return Jl(e,t,"monthsShort")}function Fh(e,t,r){return Da(e,t,r,"weekdays")}function Oh(e,t,r){return Da(e,t,r,"weekdaysShort")}function zh(e,t,r){return Da(e,t,r,"weekdaysMin")}or("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=fe(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});G.lang=Tt("moment.lang is deprecated. Use moment.locale instead.",or);G.langData=Tt("moment.langData is deprecated. Use moment.localeData instead.",tr);var It=Math.abs;function Bh(){var e=this._data;return this._milliseconds=It(this._milliseconds),this._days=It(this._days),this._months=It(this._months),e.milliseconds=It(e.milliseconds),e.seconds=It(e.seconds),e.minutes=It(e.minutes),e.hours=It(e.hours),e.months=It(e.months),e.years=It(e.years),this}function Zl(e,t,r,n){var i=Dt(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Nh(e,t){return Zl(this,e,t,1)}function Hh(e,t){return Zl(this,e,t,-1)}function $s(e){return e<0?Math.floor(e):Math.ceil(e)}function Uh(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,a,s,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=$s(na(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=vt(e/1e3),n.seconds=i%60,a=vt(i/60),n.minutes=a%60,s=vt(a/60),n.hours=s%24,t+=vt(s/24),l=vt(Xl(t)),r+=l,t-=$s(na(l)),o=vt(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function Xl(e){return e*4800/146097}function na(e){return e*146097/4800}function Ih(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=kt(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Xl(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(na(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function jh(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+fe(this._months/12)*31536e6:NaN}function rr(e){return function(){return this.as(e)}}var Gh=rr("ms"),Yh=rr("s"),Wh=rr("m"),Vh=rr("h"),qh=rr("d"),Jh=rr("w"),Zh=rr("M"),Xh=rr("Q"),Qh=rr("y");function Kh(){return Dt(this)}function $h(e){return e=kt(e),this.isValid()?this[e+"s"]():NaN}function _r(e){return function(){return this.isValid()?this._data[e]:NaN}}var em=_r("milliseconds"),tm=_r("seconds"),rm=_r("minutes"),nm=_r("hours"),im=_r("days"),am=_r("months"),sm=_r("years");function om(){return vt(this.days()/7)}var jt=Math.round,Sr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function lm(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function um(e,t,r,n){var i=Dt(e).abs(),a=jt(i.as("s")),s=jt(i.as("m")),o=jt(i.as("h")),l=jt(i.as("d")),u=jt(i.as("M")),f=jt(i.as("w")),d=jt(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]=t,h[3]=+e>0,h[4]=n,lm.apply(null,h)}function cm(e){return e===void 0?jt:typeof e=="function"?(jt=e,!0):!1}function fm(e,t){return Sr[e]===void 0?!1:t===void 0?Sr[e]:(Sr[e]=t,e==="s"&&(Sr.ss=t-1),!0)}function dm(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Sr,i,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Sr,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),a=um(this,!r,n,i),r&&(a=i.pastFuture(+this,a)),i.postformat(a)}var Ci=Math.abs;function vr(e){return(e>0)-(e<0)||+e}function ai(){if(!this.isValid())return this.localeData().invalidDate();var e=Ci(this._milliseconds)/1e3,t=Ci(this._days),r=Ci(this._months),n,i,a,s,o=this.asSeconds(),l,u,f,d;return o?(n=vt(e/60),i=vt(n/60),e%=60,n%=60,a=vt(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=vr(this._months)!==vr(o)?"-":"",f=vr(this._days)!==vr(o)?"-":"",d=vr(this._milliseconds)!==vr(o)?"-":"",l+"P"+(a?u+a+"Y":"")+(r?u+r+"M":"")+(t?f+t+"D":"")+(i||n||e?"T":"")+(i?d+i+"H":"")+(n?d+n+"M":"")+(e?d+s+"S":"")):"P0D"}var pe=ni.prototype;pe.isValid=id;pe.abs=Bh;pe.add=Nh;pe.subtract=Hh;pe.as=Ih;pe.asMilliseconds=Gh;pe.asSeconds=Yh;pe.asMinutes=Wh;pe.asHours=Vh;pe.asDays=qh;pe.asWeeks=Jh;pe.asMonths=Zh;pe.asQuarters=Xh;pe.asYears=Qh;pe.valueOf=jh;pe._bubble=Uh;pe.clone=Kh;pe.get=$h;pe.milliseconds=em;pe.seconds=tm;pe.minutes=rm;pe.hours=nm;pe.days=im;pe.weeks=om;pe.months=am;pe.years=sm;pe.humanize=dm;pe.toISOString=ai;pe.toString=ai;pe.toJSON=ai;pe.locale=Nl;pe.localeData=Ul;pe.toIsoString=Tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ai);pe.lang=Hl;K("X",0,0,"unix");K("x",0,0,"valueOf");V("x",$n);V("X",A1);De("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});De("x",function(e,t,r){r._d=new Date(fe(e))});//! moment.js
|
|
37
|
+
G.version="2.29.4";d1(Fe);G.fn=R;G.min=ed;G.max=td;G.now=rd;G.utc=Ot;G.unix=Lh;G.months=Rh;G.isDate=cn;G.locale=or;G.invalid=Jn;G.duration=Dt;G.isMoment=xt;G.weekdays=Fh;G.parseZone=Mh;G.localeData=tr;G.isDuration=Pn;G.monthsShort=Ah;G.weekdaysMin=zh;G.defineLocale=Ca;G.updateLocale=Mf;G.locales=Rf;G.weekdaysShort=Oh;G.normalizeUnits=kt;G.relativeTimeRounding=cm;G.relativeTimeThreshold=fm;G.calendarFormat=xd;G.prototype=R;G.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 hm="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(e){let t,r,n,i,a,s=e[2]&&e[2].showCalendarIcon&&to();return{c(){t=_("div"),s&&s.c(),r=O(e[3]),c(t,"class","Date TagContent"),c(t,"part","Date TagContent")},m(o,l){C(o,t,l),s&&s.m(t,null),m(t,r),i||(a=$t(n=e[4].call(null,t,e[0])),i=!0)},p(o,l){o[2]&&o[2].showCalendarIcon?s||(s=to(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l&8&&W(r,o[3]),n&&Kt(n.update)&&l&1&&n.update.call(null,o[0])},d(o){o&&y(t),s&&s.d(),i=!1,a()}}}function to(e){let t,r,n;return{c(){t=_("img"),n=U(),c(t,"class","CalendarIcon"),c(t,"alt","Calendar"),c(t,"part","CalendarIcon"),We(t.src,r=hm)||c(t,"src",r)},m(i,a){C(i,t,a),C(i,n,a)},d(i){i&&(y(t),y(n))}}}function mm(e){let t,r=e[0]&&e[1]==="Unstarted"&&eo(e);return{c(){r&&r.c(),t=Se()},m(n,i){r&&r.m(n,i),C(n,t,i)},p(n,[i]){n[0]&&n[1]==="Unstarted"?r?r.p(n,i):(r=eo(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&y(t),r&&r.d(n)}}}function pm(e,t,r){let n;_t(e,yt,b=>r(7,n=b));let{startdate:i=""}=t,{status:a=""}=t,{lang:s=""}=t,{cellsetting:o}=t,l={shortstartformat:"DD MMM YYYY"},u="";er({fallbackLocale:"en",initialLocale:"en"});const f=()=>{bt(s),i&&d()},d=()=>{const b={month:"long"};let g=new Date(i);const p=()=>n(a==="Running"?"tournamentsThumbnail.startedAt":"tournamentsThumbnail.startingAt");if(o&&o.shortstart){let v=G(g).format(o.shortstartformat||l.shortstartformat);r(3,u=a==="Running"||a=="Closing"||a=="Closed"?n("tournamentsThumbnail.startedAtWithTime",{values:{startTime:v}}):n("tournamentsThumbnail.startingAtWithTime",{values:{startTime:v}}))}else{let v=new Intl.DateTimeFormat("en",b).format(g),k=g.getDate(),L=g.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});r(3,u=`${k} `+n(`tournamentsThumbnail.${v}`)+", "+p()+` ${L}`)}},h=()=>{l={shortstart:o.shortstart||!1,shortstartformat:o.shortstartformat||"DD MMM YYYY",showCalendarIcon:o.showCalendarIcon||!1}};return e.$$set=b=>{"startdate"in b&&r(0,i=b.startdate),"status"in b&&r(1,a=b.status),"lang"in b&&r(5,s=b.lang),"cellsetting"in b&&r(2,o=b.cellsetting)},e.$$.update=()=>{e.$$.dirty&32&&s&&f(),e.$$.dirty&1&&i&&d(),e.$$.dirty&4&&o&&h()},[i,a,o,u,d,s]}class ia extends Je{constructor(t){super(),Ve(this,t,pm,mm,je,{startdate:0,status:1,lang:5,cellsetting:2})}get startdate(){return this.$$.ctx[0]}set startdate(t){this.$$set({startdate:t}),D()}get status(){return this.$$.ctx[1]}set status(t){this.$$set({status:t}),D()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),D()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("startdate-line",qe(ia,{startdate:{},status:{},lang:{},cellsetting:{}},[],[],!0));function gm(e){let t,r,n,i,a,s,o=e[0]("tournamentsPage.back")+"",l,u,f;return{c(){t=_("div"),r=_("div"),n=$e("svg"),i=$e("path"),a=U(),s=_("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(t,"class","TopButtons"),c(t,"part","TopButtons")},m(d,h){C(d,t,h),m(t,r),m(r,n),m(n,i),m(r,a),m(r,s),m(s,l),u||(f=et(r,"click",e[4]),u=!0)},p(d,[h]){h&1&&o!==(o=d[0]("tournamentsPage.back")+"")&&W(l,o)},i:Q,o:Q,d(d){d&&y(t),u=!1,f()}}}function bm(e,t,r){let n;_t(e,yt,u=>r(0,n=u));let{lang:i="en"}=t,{navigationbackbutton:a="Default"}=t;const s=()=>{bt(i)},o=()=>{a=="Event"?window.postMessage({type:"RedirectBack"},window.location.href):a=="Default"&&window.history.back()},l=()=>o();return e.$$set=u=>{"lang"in u&&r(2,i=u.lang),"navigationbackbutton"in u&&r(3,a=u.navigationbackbutton)},e.$$.update=()=>{e.$$.dirty&4&&i&&s()},[n,o,i,a,l]}class aa extends Je{constructor(t){super(),Ve(this,t,bm,gm,je,{lang:2,navigationbackbutton:3})}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),D()}get navigationbackbutton(){return this.$$.ctx[3]}set navigationbackbutton(t){this.$$set({navigationbackbutton:t}),D()}}customElements.define("backbutton-cell",qe(aa,{lang:{},navigationbackbutton:{}},[],[],!0));function _m(e){let t,r;return{c(){t=_("span"),r=O(e[0])},m(n,i){C(n,t,i),m(t,r)},p(n,[i]){i&1&&W(r,n[0])},i:Q,o:Q,d(n){n&&y(t)}}}function ym(e,t,r){let n;_t(e,yt,u=>r(3,n=u));let{lang:i=""}=t,{cellsetting:a={langkey:""}}=t,s="";er({fallbackLocale:"en",initialLocale:"en"});const o=()=>{bt(i)},l=()=>{a.langkey&&r(0,s=n(`tournamentsPage.${a.langkey}`))};return e.$$set=u=>{"lang"in u&&r(1,i=u.lang),"cellsetting"in u&&r(2,a=u.cellsetting)},e.$$.update=()=>{e.$$.dirty&6&&i&&a&&o()&&l(),e.$$.dirty&6&&i&&a&&l()},[s,i,a]}class sa extends Je{constructor(t){super(),Ve(this,t,ym,_m,je,{lang:1,cellsetting:2})}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),D()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(t){this.$$set({cellsetting:t}),D()}}customElements.define("translate-text-cell",qe(sa,{lang:{},cellsetting:{}},[],[],!0));const Ql={Cell:{attributes:Zr.element.observedAttributes,cellBox:Zr},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:Zr.element.observedAttributes,cellBox:Zr},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}},qr={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"}]}]}]}},Cm=(e,t)=>{let r=e.componentid,n={},i=Ql[r].attributes||[];if(e.dataKey){let a=e.dataKey;return a.source=="api"?n[a.textKey]=t.tournamentData[a.key]||null:a.source=="cms"&&(n[a.textKey]=t.cmsData[a.key]||null),n.titlekey=a.key,n}return i.forEach(a=>{let s=t.tournamentData||{},o=t.ctrlProperties||{};s.hasOwnProperty(a)?n[a]=s[a]:n[a]=o[a]||t.pageDefaultParams[a]}),n},ro=(e,t)=>{console.log("Start parse layout...");let r=e.rows,n=i=>{!i||!i.length||i.forEach(a=>{if(a.class||(a.class=""),a.isSlotCell){a.parts=`Slots ${a.componentid} ${a.id}`,a.cellClass=`Cells Slots ${a.class} ${a.id}`;return}a.isCellContainer?(a.parts=`BoxCells ${a.componentid} ${a.id}`,a.cellClass=`Cells BoxCells ${a.class} ${a.id}`):(a.parts=`BizCells ${a.componentid} ${a.id}`,a.cellClass=`Cells BizCells ${a.class} ${a.componentid} ${a.id}`,a.componentAttrs=Cm(a,t),a.config&&(a.componentAttrs.cellsetting=a.config)),a.component=Ql[a.componentid].cellBox,n(a.subComponents)})};return r.forEach(i=>{n(i.cols)}),console.log("Start parse layout...Done"),e};class wm{transfer(t){return{id:t.id,tourid:t.id,title:t.nameOrTitle||"",thumbnail:t.thumbnail,state:t.state,status:t.state,startdate:t.startTime,enddate:t.endTime,scorecriteria:t.scoreCriteria,minbetcount:t.minBetCount,userenrolled:t.playerEnrolled||!1,gameurl:t.termsUrl||"#",prizes:t.prizes,games:t.games,description:t.description,termsurl:t.termsUrl,bonuscode:t.wallets&&t.wallets.length>=1?t.wallets[0].code:null}}}const vm={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"}}},Tm={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"}}},km={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"}}},Sm={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 -"}}},Pm={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"}}},xm={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"}}},Dm={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"}}},Em=[vm,Tm,km,Sm,Pm,xm,Dm];function Lm(e){let t;return{c(){t=_("div")},m(r,n){C(r,t,n),e[6](t)},p:Q,i:Q,o:Q,d(r){r&&y(t),e[6](null)}}}function Mm(e,t,r){let{translationurl:n=""}=t,{clientstyling:i=""}=t,{clientstylingurl:a=""}=t,{lang:s=""}=t,o;const l=()=>Gr(this,null,function*(){try{let p=yield fetch(n).then(v=>v.json());Object.keys(p).forEach(v=>{Object.keys(p[v]).forEach(k=>{Za(v,{[k]:p[v][k]})})})}catch(p){console.error(p)}}),u=()=>{let p=document.createElement("style");p.innerHTML=i,o.appendChild(p)},f=()=>{let p=new URL(a),v=document.createElement("style");fetch(p.href).then(k=>k.text()).then(k=>{v.innerHTML=k,setTimeout(()=>{o.appendChild(v)},1)})},d=()=>{bt(s)},h=()=>{Em.forEach(p=>{Object.keys(p).forEach(v=>{Za(v,p[v])})}),er({fallbackLocale:"en",initialLocale:"en"})};let b=!1;Ft(()=>{h(),r(5,b=!0)});function g(p){en[p?"unshift":"push"](()=>{o=p,r(0,o)})}return e.$$set=p=>{"translationurl"in p&&r(1,n=p.translationurl),"clientstyling"in p&&r(2,i=p.clientstyling),"clientstylingurl"in p&&r(3,a=p.clientstylingurl),"lang"in p&&r(4,s=p.lang)},e.$$.update=()=>{e.$$.dirty&48&&b&&s&&d(),e.$$.dirty&34&&b&&n&&l(),e.$$.dirty&37&&b&&i&&o&&u(),e.$$.dirty&41&&b&&a&&o&&f()},[o,n,i,a,s,b,g]}class Kl extends Je{constructor(t){super(),Ve(this,t,Mm,Lm,je,{translationurl:1,clientstyling:2,clientstylingurl:3,lang:4})}get translationurl(){return this.$$.ctx[1]}set translationurl(t){this.$$set({translationurl:t}),D()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),D()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),D()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),D()}}customElements.define("customize-resource-loader",qe(Kl,{translationurl:{},clientstyling:{},clientstylingurl:{},lang:{}},[],[],!0));function Rm(e){on(e,"svelte-16mwq2t",`:host{font-size:12px;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}@container prizes-cell (max-width: 500px){.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{width:100%;flex:100%}}@container prizes-cell (width > 500px) and (width < 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:47%;max-width:calc(50% - 8px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+2){margin-right:0}}@container prizes-cell (width >= 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:31.5%;max-width:calc(33% - 2px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+2){margin:3px}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+3){margin-right:0;margin-left:6px}}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}.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(e,t,r){const n=e.slice();return n[58]=t[r],n}function io(e,t,r){const n=e.slice();return n[61]=t[r],n}function ao(e,t,r){const n=e.slice();return n[64]=t[r],n}function so(e,t,r){const n=e.slice();return n[67]=t[r],n}function oo(e){let t,r=e[9]("tournamentsPage.loading")+"",n;return{c(){t=_("p"),n=O(r),c(t,"class","LoadingMessage"),c(t,"part","LoadingMessage")},m(i,a){C(i,t,a),m(t,n)},p(i,a){a[0]&512&&r!==(r=i[9]("tournamentsPage.loading")+"")&&W(n,r)},d(i){i&&y(t)}}}function lo(e){let t;return{c(){t=O(e[7])},m(r,n){C(r,t,n)},p(r,n){n[0]&128&&W(t,r[7])},d(r){r&&y(t)}}}function uo(e){let t,r,n;const i=[e[61].componentAttrs,{attrs:e[61].componentAttrs}];var a=e[61].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Mr(i,[Rr(o[61].componentAttrs),{attrs:o[61].componentAttrs}]))),{props:u}}return a&&(t=Lr(a,s(e))),{c(){t&&lr(t.$$.fragment),r=Se()},m(o,l){t&&Jt(t,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[61].component)){if(t){ut();const u=t;ke(u.$$.fragment,1,0,()=>{Zt(u,1)}),ct()}a?(t=Lr(a,s(o,l)),lr(t.$$.fragment),se(t.$$.fragment,1),Jt(t,r.parentNode,r)):t=null}else if(a){const u=l[0]&32?Mr(i,[Rr(o[61].componentAttrs),{attrs:o[61].componentAttrs}]):{};t.$set(u)}},i(o){n||(t&&se(t.$$.fragment,o),n=!0)},o(o){t&&ke(t.$$.fragment,o),n=!1},d(o){o&&y(r),t&&Zt(t,o)}}}function co(e){let t,r,n=xe(e[61].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=go(ao(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o[0]&32){n=xe(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),se(i[l],1)):(i[l]=go(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function fo(e){let t,r,n;const i=[e[64].componentAttrs,{attrs:e[64].componentAttrs}];var a=e[64].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Mr(i,[Rr(o[64].componentAttrs),{attrs:o[64].componentAttrs}]))),{props:u}}return a&&(t=Lr(a,s(e))),{c(){t&&lr(t.$$.fragment),r=Se()},m(o,l){t&&Jt(t,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[64].component)){if(t){ut();const u=t;ke(u.$$.fragment,1,0,()=>{Zt(u,1)}),ct()}a?(t=Lr(a,s(o,l)),lr(t.$$.fragment),se(t.$$.fragment,1),Jt(t,r.parentNode,r)):t=null}else if(a){const u=l[0]&32?Mr(i,[Rr(o[64].componentAttrs),{attrs:o[64].componentAttrs}]):{};t.$set(u)}},i(o){n||(t&&se(t.$$.fragment,o),n=!0)},o(o){t&&ke(t.$$.fragment,o),n=!1},d(o){o&&y(r),t&&Zt(t,o)}}}function ho(e){let t,r,n=xe(e[64].subComponents),i=[];for(let s=0;s<n.length;s+=1)i[s]=po(so(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o[0]&32){n=xe(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),se(i[l],1)):(i[l]=po(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function mo(e){let t,r,n;const i=[e[67].componentAttrs,{attrs:e[67].componentAttrs}];var a=e[67].component;function s(o,l){let u={};for(let f=0;f<i.length;f+=1)u=qt(u,i[f]);return l!==void 0&&l[0]&32&&(u=qt(u,Mr(i,[Rr(o[67].componentAttrs),{attrs:o[67].componentAttrs}]))),{props:u}}return a&&(t=Lr(a,s(e))),{c(){t&&lr(t.$$.fragment),r=Se()},m(o,l){t&&Jt(t,o,l),C(o,r,l),n=!0},p(o,l){if(l[0]&32&&a!==(a=o[67].component)){if(t){ut();const u=t;ke(u.$$.fragment,1,0,()=>{Zt(u,1)}),ct()}a?(t=Lr(a,s(o,l)),lr(t.$$.fragment),se(t.$$.fragment,1),Jt(t,r.parentNode,r)):t=null}else if(a){const u=l[0]&32?Mr(i,[Rr(o[67].componentAttrs),{attrs:o[67].componentAttrs}]):{};t.$set(u)}},i(o){n||(t&&se(t.$$.fragment,o),n=!0)},o(o){t&&ke(t.$$.fragment,o),n=!1},d(o){o&&y(r),t&&Zt(t,o)}}}function po(e){let t,r,n,i,a,s,o,l=!e[67].isSlotCell&&mo(e);return{c(){t=_("div"),l&&l.c(),c(t,"class",r="Cell3s "+e[67].cellClass),c(t,"part",n=e[67].parts+" Cell3s")},m(u,f){C(u,t,f),l&&l.m(t,null),a=!0,s||(o=$t(i=e[10].call(null,t,e[67])),s=!0)},p(u,f){e=u,e[67].isSlotCell?l&&(ut(),ke(l,1,1,()=>{l=null}),ct()):l?(l.p(e,f),f[0]&32&&se(l,1)):(l=mo(e),l.c(),se(l,1),l.m(t,null)),(!a||f[0]&32&&r!==(r="Cell3s "+e[67].cellClass))&&c(t,"class",r),(!a||f[0]&32&&n!==(n=e[67].parts+" Cell3s"))&&c(t,"part",n),i&&Kt(i.update)&&f[0]&32&&i.update.call(null,e[67])},i(u){a||(se(l),a=!0)},o(u){ke(l),a=!1},d(u){u&&y(t),l&&l.d(),s=!1,o()}}}function go(e){let t,r,n,i,a,s,o,l,u=!e[64].isCellContainer&&fo(e),f=e[64].subComponents&&e[64].subComponents.length>0&&ho(e);return{c(){t=_("div"),u&&u.c(),r=U(),f&&f.c(),c(t,"class",n="Cell2s "+e[64].cellClass),c(t,"part",i=e[64].parts+" Cell2s")},m(d,h){C(d,t,h),u&&u.m(t,null),m(t,r),f&&f.m(t,null),s=!0,o||(l=$t(a=e[10].call(null,t,e[64])),o=!0)},p(d,h){e=d,e[64].isCellContainer?u&&(ut(),ke(u,1,1,()=>{u=null}),ct()):u?(u.p(e,h),h[0]&32&&se(u,1)):(u=fo(e),u.c(),se(u,1),u.m(t,r)),e[64].subComponents&&e[64].subComponents.length>0?f?(f.p(e,h),h[0]&32&&se(f,1)):(f=ho(e),f.c(),se(f,1),f.m(t,null)):f&&(ut(),ke(f,1,1,()=>{f=null}),ct()),(!s||h[0]&32&&n!==(n="Cell2s "+e[64].cellClass))&&c(t,"class",n),(!s||h[0]&32&&i!==(i=e[64].parts+" Cell2s"))&&c(t,"part",i),a&&Kt(a.update)&&h[0]&32&&a.update.call(null,e[64])},i(d){s||(se(u),se(f),s=!0)},o(d){ke(u),ke(f),s=!1},d(d){d&&y(t),u&&u.d(),f&&f.d(),o=!1,l()}}}function bo(e){let t,r,n,i,a,s,o,l,u=!e[61].isCellContainer&&uo(e),f=e[61].subComponents&&e[61].subComponents.length>0&&co(e);return{c(){t=_("div"),u&&u.c(),r=U(),f&&f.c(),c(t,"class",n="Cell1s "+e[61].cellClass),c(t,"part",i=e[61].parts)},m(d,h){C(d,t,h),u&&u.m(t,null),m(t,r),f&&f.m(t,null),s=!0,o||(l=$t(a=e[10].call(null,t,e[61])),o=!0)},p(d,h){e=d,e[61].isCellContainer?u&&(ut(),ke(u,1,1,()=>{u=null}),ct()):u?(u.p(e,h),h[0]&32&&se(u,1)):(u=uo(e),u.c(),se(u,1),u.m(t,r)),e[61].subComponents&&e[61].subComponents.length>0?f?(f.p(e,h),h[0]&32&&se(f,1)):(f=co(e),f.c(),se(f,1),f.m(t,null)):f&&(ut(),ke(f,1,1,()=>{f=null}),ct()),(!s||h[0]&32&&n!==(n="Cell1s "+e[61].cellClass))&&c(t,"class",n),(!s||h[0]&32&&i!==(i=e[61].parts))&&c(t,"part",i),a&&Kt(a.update)&&h[0]&32&&a.update.call(null,e[61])},i(d){s||(se(u),se(f),s=!0)},o(d){ke(u),ke(f),s=!1},d(d){d&&y(t),u&&u.d(),f&&f.d(),o=!1,l()}}}function _o(e){let t,r,n=xe(e[58].cols),i=[];for(let s=0;s<n.length;s+=1)i[s]=bo(io(e,n,s));const a=s=>ke(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Se()},m(s,o){for(let l=0;l<i.length;l+=1)i[l]&&i[l].m(s,o);C(s,t,o),r=!0},p(s,o){if(o[0]&32){n=xe(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),se(i[l],1)):(i[l]=bo(u),i[l].c(),se(i[l],1),i[l].m(t.parentNode,t))}for(ut(),l=n.length;l<i.length;l+=1)a(l);ct()}},i(s){if(!r){for(let o=0;o<n.length;o+=1)se(i[o]);r=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)ke(i[o]);r=!1},d(s){s&&y(t),ft(i,s)}}}function Am(e){let t,r,n,i,a,s,o,l,u=e[8]&&oo(e),f=e[7]&&lo(e),d=xe(e[5].rows),h=[];for(let g=0;g<d.length;g+=1)h[g]=_o(no(e,d,g));const b=g=>ke(h[g],1,1,()=>{h[g]=null});return a=new Kl({props:{translationurl:e[4],clientstylingurl:e[3],clientstyling:e[2],lang:e[1]}}),{c(){u&&u.c(),t=U(),r=_("div"),f&&f.c(),n=U();for(let g=0;g<h.length;g+=1)h[g].c();i=U(),lr(a.$$.fragment),Mt(r,"display",e[8]?"none":"flex"),c(r,"class",s="casino-tournaments-customize-page-controller layout-"+e[0]+" "+(e[6]?"MobileContainer":"")),c(r,"part",o="casino-tournaments-customize-page-controller layout-"+e[0])},m(g,p){u&&u.m(g,p),C(g,t,p),C(g,r,p),f&&f.m(r,null),m(r,n);for(let v=0;v<h.length;v+=1)h[v]&&h[v].m(r,null);m(r,i),Jt(a,r,null),l=!0},p(g,p){if(g[8]?u?u.p(g,p):(u=oo(g),u.c(),u.m(t.parentNode,t)):u&&(u.d(1),u=null),g[7]?f?f.p(g,p):(f=lo(g),f.c(),f.m(r,n)):f&&(f.d(1),f=null),p[0]&32){d=xe(g[5].rows);let k;for(k=0;k<d.length;k+=1){const L=no(g,d,k);h[k]?(h[k].p(L,p),se(h[k],1)):(h[k]=_o(L),h[k].c(),se(h[k],1),h[k].m(r,i))}for(ut(),k=d.length;k<h.length;k+=1)b(k);ct()}const v={};p[0]&16&&(v.translationurl=g[4]),p[0]&8&&(v.clientstylingurl=g[3]),p[0]&4&&(v.clientstyling=g[2]),p[0]&2&&(v.lang=g[1]),a.$set(v),(!l||p[0]&256)&&Mt(r,"display",g[8]?"none":"flex"),(!l||p[0]&65&&s!==(s="casino-tournaments-customize-page-controller layout-"+g[0]+" "+(g[6]?"MobileContainer":"")))&&c(r,"class",s),(!l||p[0]&1&&o!==(o="casino-tournaments-customize-page-controller layout-"+g[0]))&&c(r,"part",o)},i(g){if(!l){for(let p=0;p<d.length;p+=1)se(h[p]);se(a.$$.fragment,g),l=!0}},o(g){h=h.filter(Boolean);for(let p=0;p<h.length;p+=1)ke(h[p]);ke(a.$$.fragment,g),l=!1},d(g){g&&(y(t),y(r)),u&&u.d(g),f&&f.d(),ft(h,g),Zt(a)}}}function Fm(e,t,r){let n;_t(e,yt,x=>r(9,n=x));let{layoutid:i="default"}=t,{session:a=""}=t,{userid:s=""}=t,{tourid:o=""}=t,{endpoint:l=""}=t,{cmsendpoint:u=""}=t,{lang:f="en"}=t,{navigationbackbutton:d="Default"}=t,{currency:h="EUR"}=t,{namemask:b=""}=t,{showunqualifiedplayer:g="true"}=t,{minscore:p=""}=t,{mobiletablelimit:v="15"}=t,{tablelimit:k="30"}=t,{updatetableintime:L="true"}=t,{leaderboardoffset:w="0"}=t,{leaderboardlimit:T="15"}=t,{scorefractiondigit:M="2"}=t,{loginevent:B=""}=t,{loginurl:F=""}=t,{registerevent:Y=""}=t,{registerurl:E=""}=t,{limit:N=30}=t,{offset:ve=0}=t,{keepbrowsercontext:ge="false"}=t,{showrankasimage:Me="false"}=t,{clientstyling:Re=""}=t,{clientstylingurl:Ee=""}=t,{translationurl:Ne=""}=t,_e={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},I=window.navigator.userAgent,Le=!1,de={pageDefaultParams:_e,cmsData:{},ctrlProperties:null,tournamentData:null},$,be=new wm,j={rows:[]},ne,Te,A=!1,ce=!0;d2({withLocale:f,translations:{}}),bt(f);const Ge=(x,Z)=>{let ee=x.componentAttrs||{};ee&&Object.keys(ee).forEach(ae=>{Z.hasOwnProperty(ae)&&(ee[ae]=Z[ae])})},Pe=()=>{let x=j.rows,Z=ee=>{!ee||!ee.length||ee.forEach(ae=>{if(!ae.isCellContainer){let J=ae.dataKey;if(J&&J.source=="cms"){let le=ae.componentAttrs||{};if(!le)return;le[J.textKey]=de.cmsData[J.key]||null}}Z(ae.subComponents)})};x.forEach(ee=>{Z(ee.cols)})},it=()=>{fetch(`${u}/${o}`).then(x=>x?x.json():{details:[{title:"Description",description:"DescriptionText"}]}).then(x=>{x&&x.details&&(de.cmsData.tournamentdescription=x.details),Pe(),r(5,j=nr({},j))})},Ye=(x,Z)=>{let ee=x.rows,ae=J=>{!J||!J.length||J.forEach(le=>{le.isCellContainer||Ge(le,Z),ae(le.subComponents)})};ee.forEach(J=>{ae(J.cols)})},cr=x=>{if(x.data)try{let Z=JSON.parse(x.data);Z.messageType=="TournamentUpdate"&&(window.postMessage({type:"UpdateTournamentView",tournamentData:Z.item},window.location.href),dr(Z.item))}catch(Z){console.error(Z)}},fr=(x,Z)=>{let ee=`${l}/v1/tournaments/updates?filter=id=${x}&${Z}`;$&&($.removeEventListener("message",cr),$.close()),$=new tl.EventSourcePolyfill(ee,{headers:{accept:"text/event-stream","X-SessionId":a}}),!1!="undefined"&&$.addEventListener("message",cr)},dr=x=>{ne=be.transfer(x),de.tournamentData=ne,ne.lang=f,r(5,j=ro(qr[i]||qr.default,de))},Bt=(x,Z)=>{let ee=new URL(x+`/v1/tournaments/${Z}`),ae=new Headers({"X-SessionId":a});ee.searchParams.append("platform",Vn(I)),ee.searchParams.append("language",f);let J=ee.searchParams.toString(),le={method:"GET",headers:ae};fetch(ee.href,le).then(Ue=>Ue.json()).then(Ue=>{if(Ue.success)r(7,Te=null);else{r(7,Te=`Faild to load data, details: ${Ue.errorMessage}`);return}Ue.item.id=o,dr(Ue.item),ne.lang=f,Ye(j,ne),r(5,j=nr({},j)),r(8,ce=!1),fr(o,J)})},S=vo(),H=(x,Z,ee)=>{if(!j.rows||j.rows.length==0)return;let ae=j.rows[0].cols;x.forEach(J=>{let le,Ue=te=>{te.forEach((re,ye)=>{if(le)return le;if(re.componentid==J)return le=re,le;if(re.subComponents&&re.subComponents.length>0)return Ue(re.subComponents)})};Ue(ae);let Nt=S.$$.props,P=S.$$.ctx;le&&Z.forEach(te=>{let re=Nt[te],ye=P[re];de.ctrlProperties[te]=ye,le.componentAttrs[te]=ye})}),r(5,j=nr({},j))},q=()=>{if(!ne){console.log("tournamentData undefined");return}r(0,i=qr[i]?i:"default"),r(5,j=ro(qr[i],de))},z=(x,Z)=>{Z.onLoad&&Z.onLoad()},ie=()=>{Bt(l,o)},X=x=>{x.data&&x.data.type=="TournamentUserEnrolled"&&(de.tournamentData.userenrolled=x.data.userenrolled)},oe=()=>{r(57,t.session=a,t),r(57,t.userid=s,t),r(57,t.tourid=o,t),r(57,t.lang=f,t)};return Ft(()=>(r(0,i=qr[i]?i:"default"),r(6,Le=Wn(I)),setTimeout(()=>{de.ctrlProperties=t,r(35,A=!0)},300),window.addEventListener("message",X),()=>{window.removeEventListener("message",X)})),e.$$set=x=>{r(57,t=qt(qt({},t),Aa(x))),"layoutid"in x&&r(0,i=x.layoutid),"session"in x&&r(11,a=x.session),"userid"in x&&r(12,s=x.userid),"tourid"in x&&r(13,o=x.tourid),"endpoint"in x&&r(14,l=x.endpoint),"cmsendpoint"in x&&r(15,u=x.cmsendpoint),"lang"in x&&r(1,f=x.lang),"navigationbackbutton"in x&&r(16,d=x.navigationbackbutton),"currency"in x&&r(17,h=x.currency),"namemask"in x&&r(18,b=x.namemask),"showunqualifiedplayer"in x&&r(19,g=x.showunqualifiedplayer),"minscore"in x&&r(20,p=x.minscore),"mobiletablelimit"in x&&r(21,v=x.mobiletablelimit),"tablelimit"in x&&r(22,k=x.tablelimit),"updatetableintime"in x&&r(23,L=x.updatetableintime),"leaderboardoffset"in x&&r(24,w=x.leaderboardoffset),"leaderboardlimit"in x&&r(25,T=x.leaderboardlimit),"scorefractiondigit"in x&&r(26,M=x.scorefractiondigit),"loginevent"in x&&r(27,B=x.loginevent),"loginurl"in x&&r(28,F=x.loginurl),"registerevent"in x&&r(29,Y=x.registerevent),"registerurl"in x&&r(30,E=x.registerurl),"limit"in x&&r(31,N=x.limit),"offset"in x&&r(32,ve=x.offset),"keepbrowsercontext"in x&&r(33,ge=x.keepbrowsercontext),"showrankasimage"in x&&r(34,Me=x.showrankasimage),"clientstyling"in x&&r(2,Re=x.clientstyling),"clientstylingurl"in x&&r(3,Ee=x.clientstylingurl),"translationurl"in x&&r(4,Ne=x.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&2048|e.$$.dirty[1]&16&&A&&a&&oe(),e.$$.dirty[0]&30722|e.$$.dirty[1]&16&&A&&l&&a&&s&&f&&o&&ie(),e.$$.dirty[0]&6177|e.$$.dirty[1]&16&&A&&a&&j[i]&&s&&setTimeout(()=>{H(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])}),e.$$.dirty[0]&40960&&u&&o&&it(),e.$$.dirty[0]&71827456|e.$$.dirty[1]&16&&A&&g&&M&&k&&H(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),e.$$.dirty[0]&1|e.$$.dirty[1]&16&&A&&i&&q()},t=Aa(t),[i,f,Re,Ee,Ne,j,Le,Te,ce,n,z,a,s,o,l,u,d,h,b,g,p,v,k,L,w,T,M,B,F,Y,E,N,ve,ge,Me,A]}class $l extends Je{constructor(t){super(),Ve(this,t,Fm,Am,je,{layoutid:0,session:11,userid:12,tourid:13,endpoint:14,cmsendpoint:15,lang:1,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},Rm,[-1,-1,-1])}get layoutid(){return this.$$.ctx[0]}set layoutid(t){this.$$set({layoutid:t}),D()}get session(){return this.$$.ctx[11]}set session(t){this.$$set({session:t}),D()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),D()}get tourid(){return this.$$.ctx[13]}set tourid(t){this.$$set({tourid:t}),D()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),D()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),D()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),D()}get navigationbackbutton(){return this.$$.ctx[16]}set navigationbackbutton(t){this.$$set({navigationbackbutton:t}),D()}get currency(){return this.$$.ctx[17]}set currency(t){this.$$set({currency:t}),D()}get namemask(){return this.$$.ctx[18]}set namemask(t){this.$$set({namemask:t}),D()}get showunqualifiedplayer(){return this.$$.ctx[19]}set showunqualifiedplayer(t){this.$$set({showunqualifiedplayer:t}),D()}get minscore(){return this.$$.ctx[20]}set minscore(t){this.$$set({minscore:t}),D()}get mobiletablelimit(){return this.$$.ctx[21]}set mobiletablelimit(t){this.$$set({mobiletablelimit:t}),D()}get tablelimit(){return this.$$.ctx[22]}set tablelimit(t){this.$$set({tablelimit:t}),D()}get updatetableintime(){return this.$$.ctx[23]}set updatetableintime(t){this.$$set({updatetableintime:t}),D()}get leaderboardoffset(){return this.$$.ctx[24]}set leaderboardoffset(t){this.$$set({leaderboardoffset:t}),D()}get leaderboardlimit(){return this.$$.ctx[25]}set leaderboardlimit(t){this.$$set({leaderboardlimit:t}),D()}get scorefractiondigit(){return this.$$.ctx[26]}set scorefractiondigit(t){this.$$set({scorefractiondigit:t}),D()}get loginevent(){return this.$$.ctx[27]}set loginevent(t){this.$$set({loginevent:t}),D()}get loginurl(){return this.$$.ctx[28]}set loginurl(t){this.$$set({loginurl:t}),D()}get registerevent(){return this.$$.ctx[29]}set registerevent(t){this.$$set({registerevent:t}),D()}get registerurl(){return this.$$.ctx[30]}set registerurl(t){this.$$set({registerurl:t}),D()}get limit(){return this.$$.ctx[31]}set limit(t){this.$$set({limit:t}),D()}get offset(){return this.$$.ctx[32]}set offset(t){this.$$set({offset:t}),D()}get keepbrowsercontext(){return this.$$.ctx[33]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),D()}get showrankasimage(){return this.$$.ctx[34]}set showrankasimage(t){this.$$set({showrankasimage:t}),D()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),D()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),D()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),D()}}qe($l,{layoutid:{},session:{},userid:{},tourid:{},endpoint:{},cmsendpoint:{},lang:{},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=$l;
|