@everymatrix/casino-tournament-banner 1.37.2 → 1.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-tournament-banner/casino-tournament-banner.esm.js +1 -1
- package/dist/casino-tournament-banner/p-4576b686.js +1 -0
- package/dist/casino-tournament-banner/p-dea6aa45.entry.js +9 -0
- package/dist/cjs/casino-tournament-banner.cjs.js +1 -1
- package/dist/cjs/casino-tournament-banner_2.cjs.entry.js +4 -2
- package/dist/cjs/{index-6fc9425f.js → index-3a4744d8.js} +14 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/components/casino-tournament-buttons2.js +4 -2
- package/dist/esm/casino-tournament-banner.js +1 -1
- package/dist/esm/casino-tournament-banner_2.entry.js +4 -2
- package/dist/esm/{index-8fa39ce1.js → index-1ea7f13c.js} +14 -1
- package/dist/esm/loader.js +1 -1
- package/package.json +1 -1
- package/dist/casino-tournament-banner/p-be0b9fde.js +0 -1
- package/dist/casino-tournament-banner/p-c23e2d63.entry.js +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as n}from"./p-
|
|
1
|
+
import{p as e,b as n}from"./p-4576b686.js";(()=>{const n=import.meta.url,t={};return""!==n&&(t.resourcesUrl=new URL(".",n).href),e(t)})().then((e=>n([["p-dea6aa45",[[1,"casino-tournament-banner",{useEvent:[1,"use-event"],endpoint:[1],state:[1],enrolled:[4],startTime:[1,"start-time"],endTime:[1,"end-time"],thumbnail:[1],language:[1],showCalendar:[4,"show-calendar"],shortStart:[4,"short-start"],shortstartformat:[1],showDate:[4,"show-date"],showRunningDate:[4,"show-running-date"],showCheck:[4,"show-check"],cardMode:[4,"card-mode"],nameOrTitle:[1,"name-or-title"],tournamentId:[1,"tournament-id"],session:[1],loginEvent:[1,"login-event"],loginUrl:[1,"login-url"],registerEvent:[1,"register-event"],registerUrl:[1,"register-url"],currency:[1],bonusCode:[1,"bonus-code"],showReadMore:[4,"show-read-more"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationData:[520,"translation-data"],stateText:[32],limitStylingAppends:[32],startdate:[32],tournamentLeftDays:[32],showRemain:[32],durationInterval:[32]},[[8,"getTournamentInfoCompleted","infoCompletedHandler"],[8,"TournamentUserEnrolled","userEnrolledHandler"]]],[1,"casino-tournament-buttons",{language:[1],tournamentId:[1,"tournament-id"],session:[1],loginEvent:[1,"login-event"],loginUrl:[1,"login-url"],registerEvent:[1,"register-event"],registerUrl:[1,"register-url"],endpoint:[1],currency:[1],bonusCode:[1,"bonus-code"],enrolled:[4],showReadMore:[4,"show-read-more"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationData:[520,"translation-data"],limitStylingAppends:[32],joinButtonLoading:[32],errorJoin:[32],errorJoinConcurrently:[32]}]]]],e)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e,t,n=!1,l=!1;const s="undefined"!=typeof window?window:{},o=s.document||{head:{}},r={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},c=e=>Promise.resolve(e),i=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),u=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=f(e,n),c=a(t,s),i=h(n);r.ael(o,l,c,i),(t.o=t.o||[]).push((()=>r.rel(o,l,c,i)))}))},a=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){K(e)}},f=(e,t)=>8&t?s:e,h=e=>0!=(2&e),d=new WeakMap,m=e=>"sc-"+e.h,$={},p=e=>"object"==(e=typeof e)||"function"===e,y=(e,t,...n)=>{let l=null,s=!1,o=!1,r=[];const c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!p(l))&&(l+=""),s&&o?r[r.length-1].m+=l:r.push(s?b(null,l):l),o=s)};if(c(n),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}const i=b(e,null);return i.$=t,r.length>0&&(i.p=r),i},b=(e,t)=>({t:0,g:e,m:t,v:null,p:null,$:null}),w={},g=(e,t,n,l,o,c)=>{if(n!==l){let i=J(e,t),u=t.toLowerCase();if("class"===t){const t=e.classList,s=S(n),o=S(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if(i||"o"!==t[0]||"n"!==t[1]){const s=p(l);if((i||s&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&c||o)&&!s&&e.setAttribute(t,l=!0===l?"":l)}else t="-"===t[2]?t.slice(3):J(s,u)?u.slice(2):u[2]+t.slice(3),n&&r.rel(e,t,n,!1),l&&r.ael(e,t,l,!1)}},v=/\s/,S=e=>e?e.split(v):[],j=(e,t,n,l)=>{const s=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.$||$,r=t.$||$;for(l in o)l in r||g(s,l,o[l],void 0,n,t.t);for(l in r)g(s,l,o[l],r[l],n,t.t)},O=(t,l,s)=>{let r,c,i=l.p[s],u=0;if(null!==i.m)r=i.v=o.createTextNode(i.m);else{if(n||(n="svg"===i.g),r=i.v=o.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.g),n&&"foreignObject"===i.g&&(n=!1),j(null,i,n),null!=e&&r["s-si"]!==e&&r.classList.add(r["s-si"]=e),i.p)for(u=0;u<i.p.length;++u)c=O(t,i,u),c&&r.appendChild(c);"svg"===i.g?n=!1:"foreignObject"===r.tagName&&(n=!0)}return r},M=(e,n,l,s,o,r)=>{let c,i=e;for(i.shadowRoot&&i.tagName===t&&(i=i.shadowRoot);o<=r;++o)s[o]&&(c=O(null,l,o),c&&(s[o].v=c,i.insertBefore(c,n)))},k=(e,t,n,l)=>{for(;t<=n;++t)(l=e[t])&&l.v.remove()},C=(e,t)=>e.g===t.g,x=(e,t)=>{const l=t.v=e.v,s=e.p,o=t.p,r=t.g,c=t.m;null===c?(n="svg"===r||"foreignObject"!==r&&n,j(e,t,n),null!==s&&null!==o?((e,t,n,l)=>{let s,o=0,r=0,c=t.length-1,i=t[0],u=t[c],a=l.length-1,f=l[0],h=l[a];for(;o<=c&&r<=a;)null==i?i=t[++o]:null==u?u=t[--c]:null==f?f=l[++r]:null==h?h=l[--a]:C(i,f)?(x(i,f),i=t[++o],f=l[++r]):C(u,h)?(x(u,h),u=t[--c],h=l[--a]):C(i,h)?(x(i,h),e.insertBefore(i.v,u.v.nextSibling),i=t[++o],h=l[--a]):C(u,f)?(x(u,f),e.insertBefore(u.v,i.v),u=t[--c],f=l[++r]):(s=O(t&&t[r],n,r),f=l[++r],s&&i.v.parentNode.insertBefore(s,i.v));o>c?M(e,null==l[a+1]?null:l[a+1].v,n,l,r,a):r>a&&k(t,o,c)})(l,s,t,o):null!==o?(null!==e.m&&(l.textContent=""),M(l,null,t,o,0,o.length-1)):null!==s&&k(s,0,s.length-1),n&&"svg"===r&&(n=!1)):e.m!==c&&(l.data=c)},P=e=>B(e).S,E=(e,t,n)=>{const l=P(e);return{emit:e=>L(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},L=(e,t,n)=>{const l=r.ce(t,n);return e.dispatchEvent(l),l},N=(e,t)=>{t&&!e.j&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.j=t)))},R=(e,t)=>{if(e.t|=16,!(4&e.t))return N(e,e.O),oe((()=>T(e,t)));e.t|=512},T=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>D(n,e,t))),e.u=null),l=D(n,"componentWillLoad")),F(l,(()=>W(e,n,t)))},W=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.M,n=e.S,l=t.t,s=((e,t)=>{let n=m(t),l=Y.get(n);if(e=11===e.nodeType?e:o,l)if("string"==typeof l){let t,s=d.get(e=e.head||e);s||d.set(e,s=new Set),s.has(n)||(t=o.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);A(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>U(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},A=(n,l)=>{try{l=l.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.S,o=n.M,r=n.k||b(null,null),c=(e=>e&&e.g===w)(l)?l:y(null,null,l);t=s.tagName,o.C&&(c.$=c.$||{},o.C.map((([e,t])=>c.$[t]=s[e]))),c.g=null,c.t|=4,n.k=c,c.v=r.v=s.shadowRoot||s,e=s["s-sc"],x(r,c)})(n,l)}catch(e){K(e,n.S)}return null},U=e=>{const t=e.S,n=e.O;D(e.i,"componentDidRender"),64&e.t||(e.t|=64,H(t),e.P(t),n||q()),e.j&&(e.j(),e.j=void 0),512&e.t&&se((()=>R(e,!1))),e.t&=-517},q=()=>{H(o.documentElement),se((()=>L(s,"appload",{detail:{namespace:"casino-tournament-banner"}})))},D=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){K(e)}},F=(e,t)=>e&&e.then?e.then(t):t(),H=e=>e.classList.add("hydrated"),V=(e,t,n)=>{if(t.L){e.watchers&&(t.N=e.watchers);const l=Object.entries(t.L),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>B(this).R.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=B(e),o=s.S,r=s.R.get(t),c=s.t,i=s.i;if(n=((e,t)=>null==e||p(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e)(n,l.L[t][0]),(!(8&c)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(s.R.set(t,n),i)){if(l.N&&128&c){const e=l.N[t];e&&e.map((e=>{try{i[e](n,r,t)}catch(e){K(e,o)}}))}2==(18&c)&&R(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){r.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.C.push([e,s]),s}))}}return e},_=(e,t={})=>{const n=[],l=t.exclude||[],c=s.customElements,a=o.head,f=a.querySelector("meta[charset]"),h=o.createElement("style"),d=[];let $,p=!0;Object.assign(r,t),r.l=new URL(t.resourcesUrl||"./",o.baseURI).href,e.map((e=>{e[1].map((t=>{const s={t:t[0],h:t[1],L:t[2],T:t[3]};s.L=t[2],s.T=t[3],s.C=[],s.N={};const o=s.h,a=class extends HTMLElement{constructor(e){super(e),I(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){$&&(clearTimeout($),$=null),p?d.push(this):r.jmp((()=>(e=>{if(0==(1&r.t)){const t=B(e),n=t.M,l=()=>{};if(1&t.t)u(e,t,n.T);else{t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){N(t,t.O=n);break}}n.L&&Object.entries(n.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=X(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.N=s.watchers,V(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){K(e)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=m(n);if(!Y.has(t)){const l=()=>{};((e,t,n)=>{let l=Y.get(e);i&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,Y.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.O,r=()=>R(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){r.jmp((()=>(()=>{if(0==(1&r.t)){const e=B(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return B(this).W}};s.A=e[0],l.includes(o)||c.get(o)||(n.push(o),c.define(o,V(a,s,1)))}))})),h.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",h.setAttribute("data-styles",""),a.insertBefore(h,f?f.nextSibling:a.firstChild),p=!1,d.length?d.map((e=>e.connectedCallback())):r.jmp((()=>$=setTimeout(q,30)))},z=new WeakMap,B=e=>z.get(e),G=(e,t)=>z.set(t.i=e,t),I=(e,t)=>{const n={t:0,S:e,M:t,R:new Map};return n.W=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],u(e,n,t.T),z.set(e,n)},J=(e,t)=>t in e,K=(e,t)=>(0,console.error)(e,t),Q=new Map,X=e=>{const t=e.h.replace(/-/g,"_"),n=e.A,l=Q.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Q.set(n,e),e[t])),K)},Y=new Map,Z=[],ee=[],te=(e,t)=>n=>{e.push(n),l||(l=!0,t&&4&r.t?se(le):r.raf(le))},ne=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){K(e)}e.length=0},le=()=>{ne(Z),ne(ee),(l=Z.length>0)&&r.raf(le)},se=e=>c().then(e),oe=te(ee,!0);export{_ as b,E as c,P as g,y as h,c as p,G as r}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{r as t,h as e,g as i,c as n}from"./p-4576b686.js";const r={en:{joined:"Joined",join:"Join",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 ",startedAtWithTime:"Started ",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",login:"Log in",register:"Register",details:"Details",joinerror:"An error occurred while registering in the tournament, please try again.",tournament:"Tournament",terms:"Terms and conditions",left:"left",minutes:"minutes",hours:"hours",days:"days"},"zh-hk":{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:"十二月",login:"登錄",register:"登記",details:"細節",join:"加入",joinerror:"加入錦標賽時出錯,請重試",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"},fr:{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",login:"Connexion",register:"Enregistre",details:"Détails",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"},ro:{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:",startingAtWithTime:"Începând de",startedAtWithTime:"A inceput:",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",login:"Autentificare",register:"Înregistrare",details:"Detalii",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou.",left:"rămase",minutes:"minute",hours:"ore",days:"zile",tournament:"turneu"},tr:{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",login:"Giriş",register:"Kayıt Ol",details:"Detaylar",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - ",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις ",startedAtWithTime:"Άρχισε στις ",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου",login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά.",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"},es:{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",login:"Iniciar sesión",register:"Regístrate",details:"Detalles",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo",left:"izquierda",minutes:"minutos",hours:"horas",days:"días"},pt:{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",login:"Entrar",register:"Registro",details:"Detalhes",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"},hu:{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",login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra.",left:"bal",minutes:"perc",hours:"óra",days:"nap"},hr:{joined:"Pridružen",enrolled:"Upisan",scoreCriteria:"Kriteriji bodovanja",minbet:"minimalni broj beta",seegames:"Možete vidjeti igre",here:"Ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Gotovo",startingAt:"S početkom u",startedAt:"Započelo u",startingAtWithTime:"Počinje ",startedAtWithTime:"Započelo ",mostRounds:"Najviše rundi",betCount:"Broj betova",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",login:"Prijaviti se",register:"Registracija",details:"Detalji",join:"join",joinerror:"Došlo je do pogreške prilikom registracije na turnir, pokušajte ponovno.",left:"lijevo",minutes:"minute",hours:"sati",days:"dani"}},s=(t,e)=>{var i,n;return(null===(i=r[e])||void 0===i?void 0:i[t])||(null===(n=r.en)||void 0===n?void 0:n[t])};
|
|
2
|
+
//! moment.js
|
|
3
|
+
//! version : 2.29.4
|
|
4
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
5
|
+
//! license : MIT
|
|
6
|
+
//! momentjs.com
|
|
7
|
+
var a,o;function u(){return a.apply(null,arguments)}function h(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function d(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(l(t,e))return!1;return!0}function m(t){return void 0===t}function f(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function g(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function b(t,e){var i,n=[],r=t.length;for(i=0;i<r;++i)n.push(e(t[i],i));return n}function p(t,e){for(var i in e)l(e,i)&&(t[i]=e[i]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function y(t,e,i,n){return Te(t,e,i,n,!0).utc()}function v(t){return null==t._pf&&(t._pf={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}),t._pf}function M(t){if(null==t._isValid){var e=v(t),i=o.call(e.parsedDateParts,(function(t){return null!=t})),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function S(t){var e=y(NaN);return null!=t?p(v(e),t):v(e).userInvalidated=!0,e}o=Array.prototype.some?Array.prototype.some:function(t){var e,i=Object(this),n=i.length>>>0;for(e=0;e<n;e++)if(e in i&&t.call(this,i[e],e,i))return!0;return!1};var w=u.momentProperties=[],D=!1;function k(t,e){var i,n,r,s=w.length;if(m(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),m(e._i)||(t._i=e._i),m(e._f)||(t._f=e._f),m(e._l)||(t._l=e._l),m(e._strict)||(t._strict=e._strict),m(e._tzm)||(t._tzm=e._tzm),m(e._isUTC)||(t._isUTC=e._isUTC),m(e._offset)||(t._offset=e._offset),m(e._pf)||(t._pf=v(e)),m(e._locale)||(t._locale=e._locale),s>0)for(i=0;i<s;i++)m(r=e[n=w[i]])||(t[n]=r);return t}function Y(t){k(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===D&&(D=!0,u.updateOffset(this),D=!1)}function A(t){return t instanceof Y||null!=t&&null!=t._isAMomentObject}function N(t){!1===u.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function T(t,e){var i=!0;return p((function(){if(null!=u.deprecationHandler&&u.deprecationHandler(null,t),i){var n,r,s,a=[],o=arguments.length;for(r=0;r<o;r++){if(n="","object"==typeof arguments[r]){for(s in n+="\n["+r+"] ",arguments[0])l(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[r];a.push(n)}N(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)}),e)}var j,x={};function R(t,e){null!=u.deprecationHandler&&u.deprecationHandler(t,e),x[t]||(N(e),x[t]=!0)}function C(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function J(t,e){var i,n=p({},t);for(i in e)l(e,i)&&(d(t[i])&&d(e[i])?(n[i]={},p(n[i],t[i]),p(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)l(t,i)&&!l(e,i)&&d(t[i])&&(n[i]=p({},n[i]));return n}function W(t){null!=t&&this.set(t)}function H(t,e,i){var n=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}u.suppressDeprecationWarnings=!1,u.deprecationHandler=null,j=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)l(t,e)&&i.push(e);return i};var O=/(\[[^\[]*\])|(\\)?([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,E=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function G(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(B[t]=r),e&&(B[e[0]]=function(){return H(r.apply(this,arguments),e[1],e[2])}),i&&(B[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function L(t,e){return t.isValid()?(e=z(e,t.localeData()),F[e]=F[e]||function(t){var e,i,n,r=t.match(O);for(e=0,i=r.length;e<i;e++)r[e]=B[r[e]]?B[r[e]]:(n=r[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,s="";for(n=0;n<i;n++)s+=C(r[n])?r[n].call(e,t):r[n];return s}}(e),F[e](t)):t.localeData().invalidDate()}function z(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(E.lastIndex=0;i>=0&&E.test(t);)t=t.replace(E,n),E.lastIndex=0,i-=1;return t}var _={};function I(t,e){var i=t.toLowerCase();_[i]=_[i+"s"]=_[e]=t}function Z(t){return"string"==typeof t?_[t]||_[t.toLowerCase()]:void 0}function P(t){var e,i,n={};for(i in t)l(t,i)&&(e=Z(i))&&(n[e]=t[i]);return n}var U={};function V(t,e){U[t]=e}function $(t){return t%4==0&&t%100!=0||t%400==0}function K(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function q(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=K(e)),i}function Q(t,e){return function(i){return null!=i?(tt(this,t,i),u.updateOffset(this,e),this):X(this,t)}}function X(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function tt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&$(t.year())&&1===t.month()&&29===t.date()?(i=q(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),At(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}var et,it=/\d/,nt=/\d\d/,rt=/\d{3}/,st=/\d{4}/,at=/[+-]?\d{6}/,ot=/\d\d?/,ut=/\d\d\d\d?/,ht=/\d\d\d\d\d\d?/,dt=/\d{1,3}/,lt=/\d{1,4}/,ct=/[+-]?\d{1,6}/,mt=/\d+/,ft=/[+-]?\d+/,gt=/Z|[+-]\d\d:?\d\d/gi,bt=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function yt(t,e,i){et[t]=C(e)?e:function(t){return t&&i?i:e}}function vt(t,e){return l(et,t)?et[t](e._strict,e._locale):new RegExp(Mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,i,n,r){return e||i||n||r}))))}function Mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}et={};var St,wt={};function Dt(t,e){var i,n,r=e;for("string"==typeof t&&(t=[t]),f(e)&&(r=function(t,i){i[e]=q(t)}),n=t.length,i=0;i<n;i++)wt[t[i]]=r}function kt(t,e){Dt(t,(function(t,i,n,r){n._w=n._w||{},e(t,n._w,n,r)}))}function Yt(t,e,i){null!=e&&l(wt,t)&&wt[t](e,i._a,i,t)}function At(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?$(t)?29:28:31-i%7%2}St=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},G("M",["MM",2],"Mo",(function(){return this.month()+1})),G("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),G("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),I("month","M"),V("month",8),yt("M",ot),yt("MM",ot,nt),yt("MMM",(function(t,e){return e.monthsShortRegex(t)})),yt("MMMM",(function(t,e){return e.monthsRegex(t)})),Dt(["M","MM"],(function(t,e){e[1]=q(t)-1})),Dt(["MMM","MMMM"],(function(t,e,i,n){var r=i._locale.monthsParse(t,n,i._strict);null!=r?e[1]=r:v(i).invalidMonth=t}));var Nt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xt=pt,Rt=pt;function Ct(t,e,i){var n,r,s,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=y([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=St.call(this._shortMonthsParse,a))?r:null:-1!==(r=St.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=St.call(this._shortMonthsParse,a))||-1!==(r=St.call(this._longMonthsParse,a))?r:null:-1!==(r=St.call(this._longMonthsParse,a))||-1!==(r=St.call(this._shortMonthsParse,a))?r:null}function Jt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=q(e);else if(!f(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),At(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Wt(t){return null!=t?(Jt(this,t),u.updateOffset(this,!0),this):X(this,"Month")}function Ht(){function t(t,e){return e.length-t.length}var e,i,n=[],r=[],s=[];for(e=0;e<12;e++)i=y([2e3,e]),n.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(n.sort(t),r.sort(t),s.sort(t),e=0;e<12;e++)n[e]=Mt(n[e]),r[e]=Mt(r[e]);for(e=0;e<24;e++)s[e]=Mt(s[e]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ot(t){return $(t)?366:365}G("Y",0,0,(function(){var t=this.year();return t<=9999?H(t,4):"+"+t})),G(0,["YY",2],0,(function(){return this.year()%100})),G(0,["YYYY",4],0,"year"),G(0,["YYYYY",5],0,"year"),G(0,["YYYYYY",6,!0],0,"year"),I("year","y"),V("year",1),yt("Y",ft),yt("YY",ot,nt),yt("YYYY",lt,st),yt("YYYYY",ct,at),yt("YYYYYY",ct,at),Dt(["YYYYY","YYYYYY"],0),Dt("YYYY",(function(t,e){e[0]=2===t.length?u.parseTwoDigitYear(t):q(t)})),Dt("YY",(function(t,e){e[0]=u.parseTwoDigitYear(t)})),Dt("Y",(function(t,e){e[0]=parseInt(t,10)})),u.parseTwoDigitYear=function(t){return q(t)+(q(t)>68?1900:2e3)};var Et=Q("FullYear",!0);function Ft(t,e,i,n,r,s,a){var o;return t<100&&t>=0?(o=new Date(t+400,e,i,n,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,i,n,r,s,a),o}function Bt(t){var e,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Gt(t,e,i){var n=7+e-i;return-(7+Bt(t,0,n).getUTCDay()-e)%7+n-1}function Lt(t,e,i,n,r){var s,a,o=1+7*(e-1)+(7+i-n)%7+Gt(t,n,r);return o<=0?a=Ot(s=t-1)+o:o>Ot(t)?(s=t+1,a=o-Ot(t)):(s=t,a=o),{year:s,dayOfYear:a}}function zt(t,e,i){var n,r,s=Gt(t.year(),e,i),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?n=a+_t(r=t.year()-1,e,i):a>_t(t.year(),e,i)?(n=a-_t(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function _t(t,e,i){var n=Gt(t,e,i),r=Gt(t+1,e,i);return(Ot(t)-n+r)/7}function It(t,e){return t.slice(e,7).concat(t.slice(0,e))}G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),V("week",5),V("isoWeek",5),yt("w",ot),yt("ww",ot,nt),yt("W",ot),yt("WW",ot,nt),kt(["w","ww","W","WW"],(function(t,e,i,n){e[n.substr(0,1)]=q(t)})),G("d",0,"do","day"),G("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),G("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),G("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),yt("d",ot),yt("e",ot),yt("E",ot),yt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),yt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),yt("dddd",(function(t,e){return e.weekdaysRegex(t)})),kt(["dd","ddd","dddd"],(function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:v(i).invalidWeekday=t})),kt(["d","e","E"],(function(t,e,i,n){e[n]=q(t)}));var Zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ut="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Vt=pt,$t=pt,Kt=pt;function qt(t,e,i){var n,r,s,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=y([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=St.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=St.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=St.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=St.call(this._weekdaysParse,a))||-1!==(r=St.call(this._shortWeekdaysParse,a))||-1!==(r=St.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=St.call(this._shortWeekdaysParse,a))||-1!==(r=St.call(this._weekdaysParse,a))||-1!==(r=St.call(this._minWeekdaysParse,a))?r:null:-1!==(r=St.call(this._minWeekdaysParse,a))||-1!==(r=St.call(this._weekdaysParse,a))||-1!==(r=St.call(this._shortWeekdaysParse,a))?r:null}function Qt(){function t(t,e){return e.length-t.length}var e,i,n,r,s,a=[],o=[],u=[],h=[];for(e=0;e<7;e++)i=y([2e3,1]).day(e),n=Mt(this.weekdaysMin(i,"")),r=Mt(this.weekdaysShort(i,"")),s=Mt(this.weekdays(i,"")),a.push(n),o.push(r),u.push(s),h.push(n),h.push(r),h.push(s);a.sort(t),o.sort(t),u.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xt(){return this.hours()%12||12}function te(t,e){G(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function ee(t,e){return e._meridiemParse}G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Xt),G("k",["kk",2],0,(function(){return this.hours()||24})),G("hmm",0,0,(function(){return""+Xt.apply(this)+H(this.minutes(),2)})),G("hmmss",0,0,(function(){return""+Xt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),G("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),G("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),te("a",!0),te("A",!1),I("hour","h"),V("hour",13),yt("a",ee),yt("A",ee),yt("H",ot),yt("h",ot),yt("k",ot),yt("HH",ot,nt),yt("hh",ot,nt),yt("kk",ot,nt),yt("hmm",ut),yt("hmmss",ht),yt("Hmm",ut),yt("Hmmss",ht),Dt(["H","HH"],3),Dt(["k","kk"],(function(t,e){var i=q(t);e[3]=24===i?0:i})),Dt(["a","A"],(function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),Dt(["h","hh"],(function(t,e,i){e[3]=q(t),v(i).bigHour=!0})),Dt("hmm",(function(t,e,i){var n=t.length-2;e[3]=q(t.substr(0,n)),e[4]=q(t.substr(n)),v(i).bigHour=!0})),Dt("hmmss",(function(t,e,i){var n=t.length-4,r=t.length-2;e[3]=q(t.substr(0,n)),e[4]=q(t.substr(n,2)),e[5]=q(t.substr(r)),v(i).bigHour=!0})),Dt("Hmm",(function(t,e){var i=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i))})),Dt("Hmmss",(function(t,e){var i=t.length-4,n=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i,2)),e[5]=q(t.substr(n))}));var ie,ne=Q("Hours",!0),re={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Nt,monthsShort:Tt,week:{dow:0,doy:6},weekdays:Zt,weekdaysMin:Ut,weekdaysShort:Pt,meridiemParse:/[ap]\.?m?\.?/i},se={},ae={};function oe(t,e){var i,n=Math.min(t.length,e.length);for(i=0;i<n;i+=1)if(t[i]!==e[i])return i;return n}function ue(t){return t?t.toLowerCase().replace("_","-"):t}function he(t){var e=null;if(void 0===se[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=ie._abbr,require("./locale/"+t),de(e)}catch(e){se[t]=null}return se[t]}function de(t,e){var i;return t&&((i=m(e)?ce(t):le(t,e))?ie=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ie._abbr}function le(t,e){if(null!==e){var i,n=re;if(e.abbr=t,null!=se[t])R("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=se[t]._config;else if(null!=e.parentLocale)if(null!=se[e.parentLocale])n=se[e.parentLocale]._config;else{if(null==(i=he(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=i._config}return se[t]=new W(J(n,e)),ae[t]&&ae[t].forEach((function(t){le(t.name,t.config)})),de(t),se[t]}return delete se[t],null}function ce(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ie;if(!h(t)){if(e=he(t))return e;t=[t]}return function(t){for(var e,i,n,r,s=0;s<t.length;){for(e=(r=ue(t[s]).split("-")).length,i=(i=ue(t[s+1]))?i.split("-"):null;e>0;){if(n=he(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&oe(r,i)>=e-1)break;e--}s++}return ie}(t)}function me(t){var e,i=t._a;return i&&-2===v(t).overflow&&(e=i[1]<0||i[1]>11?1:i[2]<1||i[2]>At(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,v(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),v(t)._overflowWeeks&&-1===e&&(e=7),v(t)._overflowWeekday&&-1===e&&(e=8),v(t).overflow=e),t}var fe=/^\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)?)?$/,ge=/^\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)?)?$/,be=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["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]],ye=[["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/]],ve=/^\/?Date\((-?\d+)/i,Me=/^(?:(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}))$/,Se={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function we(t){var e,i,n,r,s,a,o=t._i,u=fe.exec(o)||ge.exec(o),h=pe.length,d=ye.length;if(u){for(v(t).iso=!0,e=0,i=h;e<i;e++)if(pe[e][1].exec(u[1])){r=pe[e][0],n=!1!==pe[e][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(e=0,i=d;e<i;e++)if(ye[e][1].exec(u[3])){s=(u[2]||" ")+ye[e][0];break}if(null==s)return void(t._isValid=!1)}if(!n&&null!=s)return void(t._isValid=!1);if(u[4]){if(!be.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=r+(s||"")+(a||""),Ae(t)}else t._isValid=!1}function De(t){var e,i,n,r,s,a,o,u,h,d=Me.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(i=d[3],n=d[2],r=d[5],s=d[6],a=d[7],o=[(u=d[4],h=parseInt(u,10),h<=49?2e3+h:h<=999?1900+h:h),Tt.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(s,10)],a&&o.push(parseInt(a,10)),!function(t,e,i){return!t||Pt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(v(i).weekdayMismatch=!0,i._isValid=!1,!1)}(d[1],e=o,t))return;t._a=e,t._tzm=function(t,e,i){if(t)return Se[t];if(e)return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}(d[8],d[9],d[10]),t._d=Bt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),v(t).rfc2822=!0}else t._isValid=!1}function ke(t,e,i){return null!=t?t:null!=e?e:i}function Ye(t){var e,i,n,r,s,a=[];if(!t._d){for(n=function(t){var e=new Date(u.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,i,n,r,s,a,o,u,h;null!=(e=t._w).GG||null!=e.W||null!=e.E?(s=1,a=4,i=ke(e.GG,t._a[0],zt(je(),1,4).year),n=ke(e.W,1),((r=ke(e.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,h=zt(je(),s,a),i=ke(e.gg,t._a[0],h.year),n=ke(e.w,h.week),null!=e.d?((r=e.d)<0||r>6)&&(u=!0):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(u=!0)):r=s),n<1||n>_t(i,s,a)?v(t)._overflowWeeks=!0:null!=u?v(t)._overflowWeekday=!0:(o=Lt(i,n,r,s,a),t._a[0]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=ke(t._a[0],n[0]),(t._dayOfYear>Ot(s)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),i=Bt(s,0,t._dayOfYear),t._a[1]=i.getUTCMonth(),t._a[2]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Bt:Ft).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(v(t).weekdayMismatch=!0)}}function Ae(t){if(t._f!==u.ISO_8601)if(t._f!==u.RFC_2822){t._a=[],v(t).empty=!0;var e,i,n,r,s,a,o,h=""+t._i,d=h.length,l=0;for(o=(n=z(t._f,t._locale).match(O)||[]).length,e=0;e<o;e++)(i=(h.match(vt(r=n[e],t))||[])[0])&&((s=h.substr(0,h.indexOf(i))).length>0&&v(t).unusedInput.push(s),h=h.slice(h.indexOf(i)+i.length),l+=i.length),B[r]?(i?v(t).empty=!1:v(t).unusedTokens.push(r),Yt(r,i,t)):t._strict&&!i&&v(t).unusedTokens.push(r);v(t).charsLeftOver=d-l,h.length>0&&v(t).unusedInput.push(h),t._a[3]<=12&&!0===v(t).bigHour&&t._a[3]>0&&(v(t).bigHour=void 0),v(t).parsedDateParts=t._a.slice(0),v(t).meridiem=t._meridiem,t._a[3]=function(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(a=v(t).era)&&(t._a[0]=t._locale.erasConvertYear(a,t._a[0])),Ye(t),me(t)}else De(t);else we(t)}function Ne(t){var e=t._i,i=t._f;return t._locale=t._locale||ce(t._l),null===e||void 0===i&&""===e?S({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),A(e)?new Y(me(e)):(g(e)?t._d=e:h(i)?function(t){var e,i,n,r,s,a,o=!1,u=t._f.length;if(0===u)return v(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,a=!1,e=k({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ae(e),M(e)&&(a=!0),s+=v(e).charsLeftOver,s+=10*v(e).unusedTokens.length,v(e).score=s,o?s<n&&(n=s,i=e):(null==n||s<n||a)&&(n=s,i=e,a&&(o=!0));p(t,i||e)}(t):i?Ae(t):function(t){var e=t._i;m(e)?t._d=new Date(u.now()):g(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ve.exec(t._i);null===e?(we(t),!1===t._isValid&&(delete t._isValid,De(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:u.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):h(e)?(t._a=b(e.slice(0),(function(t){return parseInt(t,10)})),Ye(t)):d(e)?function(t){if(!t._d){var e=P(t._i);t._a=b([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Ye(t)}}(t):f(e)?t._d=new Date(e):u.createFromInputFallback(t)}(t),M(t)||(t._d=null),t))}function Te(t,e,i,n,r){var s,a={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(d(t)&&c(t)||h(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=i,a._i=t,a._f=e,a._strict=n,(s=new Y(me(Ne(a))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function je(t,e,i,n){return Te(t,e,i,n,!1)}u.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),u.ISO_8601=function(){},u.RFC_2822=function(){};var xe=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:S()})),Re=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:S()}));function Ce(t,e){var i,n;if(1===e.length&&h(e[0])&&(e=e[0]),!e.length)return je();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Je=["year","quarter","month","week","day","hour","minute","second","millisecond"];function We(t){var e=P(t),i=e.year||0,n=e.quarter||0,r=e.month||0,s=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,u=e.minute||0,h=e.second||0,d=e.millisecond||0;this._isValid=function(t){var e,i,n=!1,r=Je.length;for(e in t)if(l(t,e)&&(-1===St.call(Je,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;i<r;++i)if(t[Je[i]]){if(n)return!1;parseFloat(t[Je[i]])!==q(t[Je[i]])&&(n=!0)}return!0}(e),this._milliseconds=+d+1e3*h+6e4*u+1e3*o*60*60,this._days=+a+7*s,this._months=+r+3*n+12*i,this._data={},this._locale=ce(),this._bubble()}function He(t){return t instanceof We}function Oe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ee(t,e){G(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+H(~~(t/60),2)+e+H(~~t%60,2)}))}Ee("Z",":"),Ee("ZZ",""),yt("Z",bt),yt("ZZ",bt),Dt(["Z","ZZ"],(function(t,e,i){i._useUTC=!0,i._tzm=Be(bt,t)}));var Fe=/([\+\-]|\d\d)/gi;function Be(t,e){var i,n,r=(e||"").match(t);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(Fe)||["-",0,0])[1]+q(i[2]))?0:"+"===i[0]?n:-n}function Ge(t,e){var i,n;return e._isUTC?(i=e.clone(),n=(A(t)||g(t)?t.valueOf():je(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),u.updateOffset(i,!1),i):je(t).local()}function Le(t){return-Math.round(t._d.getTimezoneOffset())}function ze(){return!!this.isValid()&&this._isUTC&&0===this._offset}u.updateOffset=function(){};var _e=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ie=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ze(t,e){var i,n,r,s,a,o,u=t,h=null;return He(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:f(t)||!isNaN(+t)?(u={},e?u[e]=+t:u.milliseconds=+t):(h=_e.exec(t))?(i="-"===h[1]?-1:1,u={y:0,d:q(h[2])*i,h:q(h[3])*i,m:q(h[4])*i,s:q(h[5])*i,ms:q(Oe(1e3*h[6]))*i}):(h=Ie.exec(t))?u={y:Pe(h[2],i="-"===h[1]?-1:1),M:Pe(h[3],i),w:Pe(h[4],i),d:Pe(h[5],i),h:Pe(h[6],i),m:Pe(h[7],i),s:Pe(h[8],i)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=je(u.from),a=je(u.to),r=s.isValid()&&a.isValid()?(a=Ge(a,s),s.isBefore(a)?o=Ue(s,a):((o=Ue(a,s)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),n=new We(u),He(t)&&l(t,"_locale")&&(n._locale=t._locale),He(t)&&l(t,"_isValid")&&(n._isValid=t._isValid),n}function Pe(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Ue(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Ve(t,e){return function(i,n){var r;return null===n||isNaN(+n)||(R(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),$e(this,Ze(i,n),t),this}}function $e(t,e,i,n){var r=e._milliseconds,s=Oe(e._days),a=Oe(e._months);t.isValid()&&(n=null==n||n,a&&Jt(t,X(t,"Month")+a*i),s&&tt(t,"Date",X(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),n&&u.updateOffset(t,s||a))}Ze.fn=We.prototype,Ze.invalid=function(){return Ze(NaN)};var Ke=Ve(1,"add"),qe=Ve(-1,"subtract");function Qe(t){return"string"==typeof t||t instanceof String}function Xe(t){return A(t)||g(t)||Qe(t)||f(t)||function(t){var e=h(t),i=!1;return e&&(i=0===t.filter((function(e){return!f(e)&&Qe(t)})).length),e&&i}(t)||function(t){var e,i=d(t)&&!c(t),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=r.length;for(e=0;e<s;e+=1)n=n||l(t,r[e]);return i&&n}(t)||null==t}function ti(t){var e,i=d(t)&&!c(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)n=n||l(t,r[e]);return i&&n}function ei(t,e){if(t.date()<e.date())return-ei(e,t);var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(i+1,"months")-n)))||0}function ii(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ce(t))&&(this._locale=e),this)}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ni=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ri(){return this._locale}function si(t,e){return(t%e+e)%e}function ai(t,e,i){return t<100&&t>=0?new Date(t+400,e,i)-126227808e5:new Date(t,e,i).valueOf()}function oi(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-126227808e5:Date.UTC(t,e,i)}function ui(t,e){return e.erasAbbrRegex(t)}function hi(){var t,e,i=[],n=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t<e;++t)n.push(Mt(a[t].name)),i.push(Mt(a[t].abbr)),r.push(Mt(a[t].narrow)),s.push(Mt(a[t].name)),s.push(Mt(a[t].abbr)),s.push(Mt(a[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function di(t,e){G(0,[t,t.length],0,e)}function li(t,e,i,n,r){var s;return null==t?zt(this,n,r).year:(e>(s=_t(t,n,r))&&(e=s),ci.call(this,t,e,i,n,r))}function ci(t,e,i,n,r){var s=Lt(t,e,i,n,r),a=Bt(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}G("N",0,0,"eraAbbr"),G("NN",0,0,"eraAbbr"),G("NNN",0,0,"eraAbbr"),G("NNNN",0,0,"eraName"),G("NNNNN",0,0,"eraNarrow"),G("y",["y",1],"yo","eraYear"),G("y",["yy",2],0,"eraYear"),G("y",["yyy",3],0,"eraYear"),G("y",["yyyy",4],0,"eraYear"),yt("N",ui),yt("NN",ui),yt("NNN",ui),yt("NNNN",(function(t,e){return e.erasNameRegex(t)})),yt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),Dt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,i,n){var r=i._locale.erasParse(t,n,i._strict);r?v(i).era=r:v(i).invalidEra=t})),yt("y",mt),yt("yy",mt),yt("yyy",mt),yt("yyyy",mt),yt("yo",(function(t,e){return e._eraYearOrdinalRegex||mt})),Dt(["y","yy","yyy","yyyy"],0),Dt(["yo"],(function(t,e,i){var n;i._locale._eraYearOrdinalRegex&&(n=t.match(i._locale._eraYearOrdinalRegex)),e[0]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,n):parseInt(t,10)})),G(0,["gg",2],0,(function(){return this.weekYear()%100})),G(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),di("gggg","weekYear"),di("ggggg","weekYear"),di("GGGG","isoWeekYear"),di("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),yt("G",ft),yt("g",ft),yt("GG",ot,nt),yt("gg",ot,nt),yt("GGGG",lt,st),yt("gggg",lt,st),yt("GGGGG",ct,at),yt("ggggg",ct,at),kt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,i,n){e[n.substr(0,2)]=q(t)})),kt(["gg","GG"],(function(t,e,i,n){e[n]=u.parseTwoDigitYear(t)})),G("Q",0,"Qo","quarter"),I("quarter","Q"),V("quarter",7),yt("Q",it),Dt("Q",(function(t,e){e[1]=3*(q(t)-1)})),G("D",["DD",2],"Do","date"),I("date","D"),V("date",9),yt("D",ot),yt("DD",ot,nt),yt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Dt(["D","DD"],2),Dt("Do",(function(t,e){e[2]=q(t.match(ot)[0])}));var mi=Q("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),V("dayOfYear",4),yt("DDD",dt),yt("DDDD",rt),Dt(["DDD","DDDD"],(function(t,e,i){i._dayOfYear=q(t)})),G("m",["mm",2],0,"minute"),I("minute","m"),V("minute",14),yt("m",ot),yt("mm",ot,nt),Dt(["m","mm"],4);var fi=Q("Minutes",!1);G("s",["ss",2],0,"second"),I("second","s"),V("second",15),yt("s",ot),yt("ss",ot,nt),Dt(["s","ss"],5);var gi,bi,pi=Q("Seconds",!1);for(G("S",0,0,(function(){return~~(this.millisecond()/100)})),G(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),G(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),G(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),G(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),G(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),G(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),I("millisecond","ms"),V("millisecond",16),yt("S",dt,it),yt("SS",dt,nt),yt("SSS",dt,rt),gi="SSSS";gi.length<=9;gi+="S")yt(gi,mt);function yi(t,e){e[6]=q(1e3*("0."+t))}for(gi="S";gi.length<=9;gi+="S")Dt(gi,yi);bi=Q("Milliseconds",!1),G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var vi=Y.prototype;function Mi(t){return t}vi.add=Ke,vi.calendar=function(t,e){1===arguments.length&&(arguments[0]?Xe(arguments[0])?(t=arguments[0],e=void 0):ti(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var i=t||je(),n=Ge(i,this).startOf("day"),r=u.calendarFormat(this,n)||"sameElse",s=e&&(C(e[r])?e[r].call(this,i):e[r]);return this.format(s||this.localeData().calendar(r,this,je(i)))},vi.clone=function(){return new Y(this)},vi.diff=function(t,e,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=Ge(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=Z(e)){case"year":s=ei(this,n)/12;break;case"month":s=ei(this,n);break;case"quarter":s=ei(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:K(s)},vi.endOf=function(t){var e,i;if(void 0===(t=Z(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?oi:ai,t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-si(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-si(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-si(e,1e3)-1}return this._d.setTime(e),u.updateOffset(this,!0),this},vi.format=function(t){t||(t=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var e=L(this,t);return this.localeData().postformat(e)},vi.from=function(t,e){return this.isValid()&&(A(t)&&t.isValid()||je(t).isValid())?Ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},vi.fromNow=function(t){return this.from(je(),t)},vi.to=function(t,e){return this.isValid()&&(A(t)&&t.isValid()||je(t).isValid())?Ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},vi.toNow=function(t){return this.to(je(),t)},vi.get=function(t){return C(this[t=Z(t)])?this[t]():this},vi.invalidAt=function(){return v(this).overflow},vi.isAfter=function(t,e){var i=A(t)?t:je(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=Z(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},vi.isBefore=function(t,e){var i=A(t)?t:je(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=Z(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},vi.isBetween=function(t,e,i,n){var r=A(t)?t:je(t),s=A(e)?e:je(e);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(s,i):!this.isAfter(s,i))},vi.isSame=function(t,e){var i,n=A(t)?t:je(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=Z(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},vi.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},vi.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},vi.isValid=function(){return M(this)},vi.lang=ni,vi.locale=ii,vi.localeData=ri,vi.max=Re,vi.min=xe,vi.parsingFlags=function(){return p({},v(this))},vi.set=function(t,e){if("object"==typeof t){var i,n=function(t){var e,i=[];for(e in t)l(t,e)&&i.push({unit:e,priority:U[e]});return i.sort((function(t,e){return t.priority-e.priority})),i}(t=P(t)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](t[n[i].unit])}else if(C(this[t=Z(t)]))return this[t](e);return this},vi.startOf=function(t){var e,i;if(void 0===(t=Z(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?oi:ai,t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=si(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=si(e,6e4);break;case"second":e=this._d.valueOf(),e-=si(e,1e3)}return this._d.setTime(e),u.updateOffset(this,!0),this},vi.subtract=qe,vi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},vi.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},vi.toDate=function(){return new Date(this.valueOf())},vi.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||i.year()>9999?L(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(i,"Z")):L(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,i="moment",n="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vi.toJSON=function(){return this.isValid()?this.toISOString():null},vi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vi.unix=function(){return Math.floor(this.valueOf()/1e3)},vi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vi.eraName=function(){var t,e,i,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),n[t].since<=i&&i<=n[t].until)return n[t].name;if(n[t].until<=i&&i<=n[t].since)return n[t].name}return""},vi.eraNarrow=function(){var t,e,i,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),n[t].since<=i&&i<=n[t].until)return n[t].narrow;if(n[t].until<=i&&i<=n[t].since)return n[t].narrow}return""},vi.eraAbbr=function(){var t,e,i,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),n[t].since<=i&&i<=n[t].until)return n[t].abbr;if(n[t].until<=i&&i<=n[t].since)return n[t].abbr}return""},vi.eraYear=function(){var t,e,i,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(i=r[t].since<=r[t].until?1:-1,n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return(this.year()-u(r[t].since).year())*i+r[t].offset;return this.year()},vi.year=Et,vi.isLeapYear=function(){return $(this.year())},vi.weekYear=function(t){return li.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vi.isoWeekYear=function(t){return li.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},vi.quarter=vi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},vi.month=Wt,vi.daysInMonth=function(){return At(this.year(),this.month())},vi.week=vi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},vi.isoWeek=vi.isoWeeks=function(t){var e=zt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},vi.weeksInYear=function(){var t=this.localeData()._week;return _t(this.year(),t.dow,t.doy)},vi.weeksInWeekYear=function(){var t=this.localeData()._week;return _t(this.weekYear(),t.dow,t.doy)},vi.isoWeeksInYear=function(){return _t(this.year(),1,4)},vi.isoWeeksInISOWeekYear=function(){return _t(this.isoWeekYear(),1,4)},vi.date=mi,vi.day=vi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},vi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},vi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},vi.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},vi.hour=vi.hours=ne,vi.minute=vi.minutes=fi,vi.second=vi.seconds=pi,vi.millisecond=vi.milliseconds=bi,vi.utcOffset=function(t,e,i){var n,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Be(bt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Le(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?$e(this,Ze(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Le(this)},vi.utc=function(t){return this.utcOffset(0,t)},vi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Le(this),"m")),this},vi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Be(gt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},vi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?je(t).utcOffset():0,(this.utcOffset()-t)%60==0)},vi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vi.isLocal=function(){return!!this.isValid()&&!this._isUTC},vi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vi.isUtc=ze,vi.isUTC=ze,vi.zoneAbbr=function(){return this._isUTC?"UTC":""},vi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vi.dates=T("dates accessor is deprecated. Use date instead.",mi),vi.months=T("months accessor is deprecated. Use month instead",Wt),vi.years=T("years accessor is deprecated. Use year instead",Et),vi.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),vi.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!m(this._isDSTShifted))return this._isDSTShifted;var t,e={};return k(e,this),(e=Ne(e))._a?(t=e._isUTC?y(e._a):je(e._a),this._isDSTShifted=this.isValid()&&function(t,e){var i,n=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),s=0;for(i=0;i<n;i++)q(t[i])!==q(e[i])&&s++;return s+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Si=W.prototype;function wi(t,e,i,n){var r=ce(),s=y().set(n,e);return r[i](s,t)}function Di(t,e,i){if(f(t)&&(e=t,t=void 0),t=t||"",null!=e)return wi(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=wi(t,n,i,"month");return r}function ki(t,e,i,n){"boolean"==typeof t?(f(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,f(e)&&(i=e,e=void 0),e=e||"");var r,s=ce(),a=t?s._week.dow:0,o=[];if(null!=i)return wi(e,(i+a)%7,n,"day");for(r=0;r<7;r++)o[r]=wi(e,(r+a)%7,n,"day");return o}Si.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return C(n)?n.call(e,i):n},Si.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(O).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Si.invalidDate=function(){return this._invalidDate},Si.ordinal=function(t){return this._ordinal.replace("%d",t)},Si.preparse=Mi,Si.postformat=Mi,Si.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return C(r)?r(t,e,i,n):r.replace(/%d/i,t)},Si.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return C(i)?i(e):i.replace(/%s/i,e)},Si.set=function(t){var e,i;for(i in t)l(t,i)&&(C(e=t[i])?this[i]=e:this["_"+i]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Si.eras=function(){var t,e,i,n=this._eras||ce("en")._eras;for(t=0,e=n.length;t<e;++t){switch(typeof n[t].since){case"string":i=u(n[t].since).startOf("day"),n[t].since=i.valueOf()}switch(typeof n[t].until){case"undefined":n[t].until=1/0;break;case"string":i=u(n[t].until).startOf("day").valueOf(),n[t].until=i.valueOf()}}return n},Si.erasParse=function(t,e,i){var n,r,s,a,o,u=this.eras();for(t=t.toUpperCase(),n=0,r=u.length;n<r;++n)if(s=u[n].name.toUpperCase(),a=u[n].abbr.toUpperCase(),o=u[n].narrow.toUpperCase(),i)switch(e){case"N":case"NN":case"NNN":if(a===t)return u[n];break;case"NNNN":if(s===t)return u[n];break;case"NNNNN":if(o===t)return u[n]}else if([s,a,o].indexOf(t)>=0)return u[n]},Si.erasConvertYear=function(t,e){var i=t.since<=t.until?1:-1;return void 0===e?u(t.since).year():u(t.since).year()+(e-t.offset)*i},Si.erasAbbrRegex=function(t){return l(this,"_erasAbbrRegex")||hi.call(this),t?this._erasAbbrRegex:this._erasRegex},Si.erasNameRegex=function(t){return l(this,"_erasNameRegex")||hi.call(this),t?this._erasNameRegex:this._erasRegex},Si.erasNarrowRegex=function(t){return l(this,"_erasNarrowRegex")||hi.call(this),t?this._erasNarrowRegex:this._erasRegex},Si.months=function(t,e){return t?h(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||jt).test(e)?"format":"standalone"][t.month()]:h(this._months)?this._months:this._months.standalone},Si.monthsShort=function(t,e){return t?h(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[jt.test(e)?"format":"standalone"][t.month()]:h(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Si.monthsParse=function(t,e,i){var n,r,s;if(this._monthsParseExact)return Ct.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=y([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},Si.monthsRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||Ht.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Rt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Si.monthsShortRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||Ht.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=xt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Si.week=function(t){return zt(t,this._week.dow,this._week.doy).week},Si.firstDayOfYear=function(){return this._week.doy},Si.firstDayOfWeek=function(){return this._week.dow},Si.weekdays=function(t,e){var i=h(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?It(i,this._week.dow):t?i[t.day()]:i},Si.weekdaysMin=function(t){return!0===t?It(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Si.weekdaysShort=function(t){return!0===t?It(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Si.weekdaysParse=function(t,e,i){var n,r,s;if(this._weekdaysParseExact)return qt.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=y([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},Si.weekdaysRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Si.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$t),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Si.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Si.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Si.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},de("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===q(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),u.lang=T("moment.lang is deprecated. Use moment.locale instead.",de),u.langData=T("moment.langData is deprecated. Use moment.localeData instead.",ce);var Yi=Math.abs;function Ai(t,e,i,n){var r=Ze(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function Ni(t){return t<0?Math.floor(t):Math.ceil(t)}function Ti(t){return 4800*t/146097}function ji(t){return 146097*t/4800}function xi(t){return function(){return this.as(t)}}var Ri=xi("ms"),Ci=xi("s"),Ji=xi("m"),Wi=xi("h"),Hi=xi("d"),Oi=xi("w"),Ei=xi("M"),Fi=xi("Q"),Bi=xi("y");function Gi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Li=Gi("milliseconds"),zi=Gi("seconds"),_i=Gi("minutes"),Ii=Gi("hours"),Zi=Gi("days"),Pi=Gi("months"),Ui=Gi("years"),Vi=Math.round,$i={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ki(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}var qi=Math.abs;function Qi(t){return(t>0)-(t<0)||+t}function Xi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i,n,r,s,a,o,u=qi(this._milliseconds)/1e3,h=qi(this._days),d=qi(this._months),l=this.asSeconds();return l?(t=K(u/60),e=K(t/60),u%=60,t%=60,i=K(d/12),d%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=l<0?"-":"",s=Qi(this._months)!==Qi(l)?"-":"",a=Qi(this._days)!==Qi(l)?"-":"",o=Qi(this._milliseconds)!==Qi(l)?"-":"",r+"P"+(i?s+i+"Y":"")+(d?s+d+"M":"")+(h?a+h+"D":"")+(e||t||u?"T":"")+(e?o+e+"H":"")+(t?o+t+"M":"")+(u?o+n+"S":"")):"P0D"}var tn=We.prototype;tn.isValid=function(){return this._isValid},tn.abs=function(){var t=this._data;return this._milliseconds=Yi(this._milliseconds),this._days=Yi(this._days),this._months=Yi(this._months),t.milliseconds=Yi(t.milliseconds),t.seconds=Yi(t.seconds),t.minutes=Yi(t.minutes),t.hours=Yi(t.hours),t.months=Yi(t.months),t.years=Yi(t.years),this},tn.add=function(t,e){return Ai(this,t,e,1)},tn.subtract=function(t,e){return Ai(this,t,e,-1)},tn.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=Z(t))||"quarter"===t||"year"===t)switch(i=this._months+Ti(e=this._days+n/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(ji(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},tn.asMilliseconds=Ri,tn.asSeconds=Ci,tn.asMinutes=Ji,tn.asHours=Wi,tn.asDays=Hi,tn.asWeeks=Oi,tn.asMonths=Ei,tn.asQuarters=Fi,tn.asYears=Bi,tn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},tn._bubble=function(){var t,e,i,n,r,s=this._milliseconds,a=this._days,o=this._months,u=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Ni(ji(o)+a),a=0,o=0),u.milliseconds=s%1e3,t=K(s/1e3),u.seconds=t%60,e=K(t/60),u.minutes=e%60,i=K(e/60),u.hours=i%24,a+=K(i/24),o+=r=K(Ti(a)),a-=Ni(ji(r)),n=K(o/12),o%=12,u.days=a,u.months=o,u.years=n,this},tn.clone=function(){return Ze(this)},tn.get=function(t){return t=Z(t),this.isValid()?this[t+"s"]():NaN},tn.milliseconds=Li,tn.seconds=zi,tn.minutes=_i,tn.hours=Ii,tn.days=Zi,tn.weeks=function(){return K(this.days()/7)},tn.months=Pi,tn.years=Ui,tn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var i,n,r=!1,s=$i;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},$i,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),n=function(t,e,i,n){var r=Ze(t).abs(),s=Vi(r.as("s")),a=Vi(r.as("m")),o=Vi(r.as("h")),u=Vi(r.as("d")),h=Vi(r.as("M")),d=Vi(r.as("w")),l=Vi(r.as("y")),c=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||a<=1&&["m"]||a<i.m&&["mm",a]||o<=1&&["h"]||o<i.h&&["hh",o]||u<=1&&["d"]||u<i.d&&["dd",u];return null!=i.w&&(c=c||d<=1&&["w"]||d<i.w&&["ww",d]),(c=c||h<=1&&["M"]||h<i.M&&["MM",h]||l<=1&&["y"]||["yy",l])[2]=e,c[3]=+t>0,c[4]=n,Ki.apply(null,c)}(this,!r,s,i=this.localeData()),r&&(n=i.pastFuture(+this,n)),i.postformat(n)},tn.toISOString=Xi,tn.toString=Xi,tn.toJSON=Xi,tn.locale=ii,tn.localeData=ri,tn.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xi),tn.lang=ni,G("X",0,0,"unix"),G("x",0,0,"valueOf"),yt("x",ft),yt("X",/[+-]?\d+(\.\d{1,3})?/),Dt("X",(function(t,e,i){i._d=new Date(1e3*parseFloat(t))})),Dt("x",(function(t,e,i){i._d=new Date(q(t))})),
|
|
8
|
+
//! moment.js
|
|
9
|
+
u.version="2.29.4",a=je,u.fn=vi,u.min=function(){var t=[].slice.call(arguments,0);return Ce("isBefore",t)},u.max=function(){var t=[].slice.call(arguments,0);return Ce("isAfter",t)},u.now=function(){return Date.now?Date.now():+new Date},u.utc=y,u.unix=function(t){return je(1e3*t)},u.months=function(t,e){return Di(t,e,"months")},u.isDate=g,u.locale=de,u.invalid=S,u.duration=Ze,u.isMoment=A,u.weekdays=function(t,e,i){return ki(t,e,i,"weekdays")},u.parseZone=function(){return je.apply(null,arguments).parseZone()},u.localeData=ce,u.isDuration=He,u.monthsShort=function(t,e){return Di(t,e,"monthsShort")},u.weekdaysMin=function(t,e,i){return ki(t,e,i,"weekdaysMin")},u.defineLocale=le,u.updateLocale=function(t,e){if(null!=e){var i,n,r=re;null!=se[t]&&null!=se[t].parentLocale?se[t].set(J(se[t]._config,e)):(null!=(n=he(t))&&(r=n._config),e=J(r,e),null==n&&(e.abbr=t),(i=new W(e)).parentLocale=se[t],se[t]=i),de(t)}else null!=se[t]&&(null!=se[t].parentLocale?(se[t]=se[t].parentLocale,t===de()&&de(t)):null!=se[t]&&delete se[t]);return se[t]},u.locales=function(){return j(se)},u.weekdaysShort=function(t,e,i){return ki(t,e,i,"weekdaysShort")},u.normalizeUnits=Z,u.relativeTimeRounding=function(t){return void 0===t?Vi:"function"==typeof t&&(Vi=t,!0)},u.relativeTimeThreshold=function(t,e){return void 0!==$i[t]&&(void 0===e?$i[t]:($i[t]=e,"s"===t&&($i.ss=e-1),!0))},u.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},u.prototype=vi,u.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 en=class{constructor(e){t(this,e),this.shortstartformat="DD MMM YYYY",this.showDate=!0,this.showRunningDate=!1,this.showCheck=!1,this.cardMode=!1,this.showReadMore=!1,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1}watchLanguage(t,e){t&&t!=e&&this.getDuration()}infoCompletedHandler(t){t.detail&&this.useEvent&&(this.state=t.detail.state,this.stateText=this.getStateText(this.state),this.enrolled=t.detail.playerEnrolled,this.startTime=t.detail.startTime,this.thumbnail=t.detail.thumbnail,this.tournamentId=t.detail.id,this.startTime&&this.formatDate())}userEnrolledHandler(t){t.detail&&this.tournamentId===t.detail.tournamentId&&(this.enrolled=t.detail.userenrolled)}getDateTimeDiff(t,e){return(new Date(e).getTime()-new Date(t).getTime())/6e4}getTextByDiff(t){if(t<1440){const e=t%60;return[t/60,e,60*(e-Math.floor(e))].map((t=>(t=>{const e=Math.floor(t);return e<10?`0${e}`:`${e}`})(t))).join(":")}return(t=>" - "+t+" "+s("days",this.language))(Math.ceil(t/1440))}getDuration(){const t=new Date;this.tournamentLeftDays=this.getDateTimeDiff(t,this.endTime),this.showRemain=this.getTextByDiff(this.tournamentLeftDays)}getStateText(t){let e="";switch(t){case"Upcoming":case"Unstarted":e=s("scheduled",this.language);break;case"Running":e=s("ongoing",this.language);break;default:e=s("finished",this.language)}return e}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}setClientStyling(){const t=new CSSStyleSheet;t.replace(this.clientStyling),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,t]}setClientStylingURL(){let t=new URL(this.clientStylingUrl);fetch(t.href).then((t=>t.text())).then((t=>{const e=new CSSStyleSheet;e.replace(t),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,e]}))}formatDate(){const t={month:"long"};let e=new Date(this.startTime);const i=()=>s("Running"===this.state||"Closing"==this.state||"Closed"==this.state?"startedAt":"startingAt",this.language);if(this.shortStart){let t=u(e).format(this.shortstartformat);this.startdate="Running"===this.state||"Closing"==this.state||"Closed"==this.state?s("startedAtWithTime",this.language)+t:s("startingAtWithTime",this.language)+t}else{let n=new Intl.DateTimeFormat("en",t).format(e),r=e.getDate(),a=e.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});this.startdate=`${r} `+s(`${n}`,this.language)+", "+i()+` ${a}`}}componentWillLoad(){var t;this.translationData&&(t=JSON.parse(this.translationData),Object.keys(t).forEach((e=>{for(let i in t[e])r[e][i]=t[e][i]})),this.state&&(this.stateText=this.getStateText(this.state))),!this.useEvent&&this.startTime&&this.formatDate(),this.state&&(this.stateText=this.getStateText(this.state)),this.startTime&&this.endTime&&(this.getDuration(),this.getTextByDiff(this.tournamentLeftDays)),this.tournamentLeftDays<1440&&this.tournamentLeftDays>0?this.durationInterval=window.setInterval((()=>{this.startTime&&this.endTime&&this.getDuration()}),1e3):clearInterval(this.durationInterval)}termsClick(t){window.postMessage({type:"TournamentTermsConditions",tournamentId:t},window.location.href)}render(){return e("div",{class:"TournamentBannerWrap"},this.thumbnail&&e("div",{class:"TournamentBanner",part:"TournamentBanner"},e("img",{src:this.thumbnail,alt:"",class:`TournamentBannerBg ${this.cardMode&&this.state?this.state:""}`}),!this.cardMode&&e("div",{class:"TournamentBannerInfo",part:"TournamentBannerInfo"},e("div",{class:"BannerInfo",part:"BannerInfo"},e("span",{class:`Tag State ${this.state}`},this.stateText)),e("div",{class:"BannerInfo",part:"BannerInfo"},this.showDate&&e("span",{class:"Tag Date"},this.showCalendar&&e("svg",{class:"CalendarIcon",width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.1 1.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405 1.4 0 1.805 0 2.3V9.5C0 9.995 0.405 10.4 0.9 10.4H8.1C8.595 10.4 9 9.995 9 9.5V2.3C9 1.805 8.595 1.4 8.1 1.4ZM8.10003 9.5H0.900027V4.55H8.10003V9.5ZM0.900027 3.65005H8.10003V2.30005H0.900027V3.65005Z",fill:"#1E1616"})),this.startdate)),e("div",{class:"BannerInfo",part:"BannerInfo"},this.enrolled&&e("span",{class:"Tag Enroll"},this.showCheck&&e("svg",{class:"EnrollCheck",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e("path",{d:"M4.50008 8.08492L2.41508 5.99992L1.70508 6.70492L4.50008 9.49992L10.5001 3.49992L9.79508 2.79492L4.50008 8.08492Z",fill:"white"})),s("enrolled",this.language)))),this.cardMode&&e("div",{class:"TournamentBannerThumb",part:"TournamentBannerThumb"},e("div",{class:"ThumbTitle",part:"ThumbTitle"},s("tournament",this.language)),e("div",{class:"ThumbName",part:"ThumbName"},this.nameOrTitle),e("div",{class:"ThumbState"},this.session&&this.enrolled?e("span",{class:"Tag Join"},e("svg",{class:"EnrollCheck",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e("path",{d:"M4.50008 8.08492L2.41508 5.99992L1.70508 6.70492L4.50008 9.49992L10.5001 3.49992L9.79508 2.79492L4.50008 8.08492Z",fill:"white"})),s("joined",this.language)):this.session&&"Closed"!=this.state&&e("span",{class:"Tag Join"},e("svg",{class:"JoinPlus",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13",viewBox:"0 0 12 13",fill:"none"},e("path",{d:"M9.5 6.8335H6.5V9.8335H5.5V6.8335H2.5V5.8335H5.5V2.8335H6.5V5.8335H9.5V6.8335Z",fill:"white"})),s("join",this.language)),"Running"==this.state&&e("span",{class:`Tag State ${this.state}`},this.stateText,this.showRunningDate&&e("span",{class:"TagRemain"},this.showRemain," ",s("left",this.language))),("Unstarted"==this.state||"Upcoming"==this.state||"Closed"==this.state)&&e("span",{class:`Tag Date ${this.state}`},this.showCalendar&&e("svg",{class:"CalendarIcon",width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.1 1.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405 1.4 0 1.805 0 2.3V9.5C0 9.995 0.405 10.4 0.9 10.4H8.1C8.595 10.4 9 9.995 9 9.5V2.3C9 1.805 8.595 1.4 8.1 1.4ZM8.10003 9.5H0.900027V4.55H8.10003V9.5ZM0.900027 3.65005H8.10003V2.30005H0.900027V3.65005Z",fill:"#1E1616"})),this.startdate)),e("div",{class:"ThumbButtons"},e("casino-tournament-buttons",{enrolled:this.enrolled,session:this.session,endpoint:this.endpoint,language:this.language,"tournament-id":this.tournamentId,"login-event":this.loginEvent,"login-url":this.loginUrl,"register-event":this.registerEvent,"register-url":this.registerUrl,currency:this.currency,"bonus-code":this.bonusCode,"show-read-more":this.showReadMore,"client-styling":this.clientStyling,"client-styling-url":this.clientStylingUrl,"translation-data":this.translationData})),e("div",{class:"ThumbTC"},e("span",{onClick:this.termsClick.bind(this,this.tournamentId)},s("terms",this.language))))))}get host(){return i(this)}static get watchers(){return{language:["watchLanguage"]}}};en.style=":host{display:block}.TournamentBannerWrap{height:100%}.TournamentBanner{position:relative;width:100%;height:100%;overflow:hidden}.TournamentBannerBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.TournamentBannerBg.Closed{filter:grayscale(1)}.TournamentBannerInfo{position:absolute;top:0;left:0;width:100%;height:100%;color:#fff;display:flex;justify-content:space-between}.BannerInfo{margin:10px}.Tag{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:6px;font-size:10px;display:flex;align-items:center;height:13px}.Tag.Closed{filter:grayscale(1)}.TagRemain{text-indent:5px}.Date{gap:4px;background:#FF7500;color:#1A2C38}.State{background:#D0046C}.Enroll{color:#fff;background:#24834B}.EnrollCheck{margin-right:4px}.Join{background:#6C757D}.Running{background:#1A2C38}.CalendarIcon path{fill:#1A2C38}.TournamentBannerThumb{position:absolute;top:0;left:0;width:100%;height:100%;padding:12px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;box-sizing:border-box}.ThumbTitle{font-size:14px}.ThumbState{display:flex;gap:4px}.ThumbName{font-size:22px}.ThumbTC{font-size:8px;color:#fff;cursor:pointer}.ThumbButtons{display:flex;gap:4px}";const nn={en:{joined:"Joined",join:"Join",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 ",startedAtWithTime:"Started ",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",login:"Log in",register:"Register",details:"Details",joinerror:"An error occurred while registering in the tournament, please try again."},"zh-hk":{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:"十二月",login:"登錄",register:"登記",details:"細節",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{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",login:"Connexion",register:"Enregistre",details:"Détails",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - "},ro:{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:",startingAtWithTime:"Începând de",startedAtWithTime:"A inceput:",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",login:"Autentificare",register:"Înregistrare",details:"Detalii",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{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",login:"Giriş",register:"Kayıt Ol",details:"Detaylar",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - "},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις ",startedAtWithTime:"Άρχισε στις ",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου",login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{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",login:"Iniciar sesión",register:"Regístrate",details:"Detalles",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},pt:{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",login:"Entrar",register:"Registro",details:"Detalhes",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -"},hu:{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",login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},hr:{joined:"Pridružen",enrolled:"Upisan",scoreCriteria:"Kriteriji bodovanja",minbet:"minimalni broj beta",seegames:"Možete vidjeti igre",here:"Ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Gotovo",startingAt:"S početkom u",startedAt:"Započelo u",startingAtWithTime:"Počinje ",startedAtWithTime:"Započelo ",mostRounds:"Najviše rundi",betCount:"Broj betova",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",login:"Prijaviti se",register:"Registracija",details:"Detalji",join:"join",joinerror:"Došlo je do pogreške prilikom registracije na turnir, pokušajte ponovno.",left:"lijevo",minutes:"minute",hours:"sati",days:"dani"}},rn=(t,e)=>{var i,n;return(null===(i=nn[e])||void 0===i?void 0:i[t])||(null===(n=nn.en)||void 0===n?void 0:n[t])},sn=class{constructor(e){t(this,e),this.userEnrolled=n(this,"TournamentUserEnrolled",7),this.enrolled=!1,this.showReadMore=!1,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1,this.joinButtonLoading=!1,this.errorJoin=!1,this.errorJoinConcurrently=!1}componentWillLoad(){var t;this.translationData&&(t=JSON.parse(this.translationData),Object.keys(t).forEach((e=>{for(let i in t[e])nn[e][i]=t[e][i]})))}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}setClientStyling(){const t=new CSSStyleSheet;t.replace(this.clientStyling),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,t]}setClientStylingURL(){let t=new URL(this.clientStylingUrl);fetch(t.href).then((t=>t.text())).then((t=>{const e=new CSSStyleSheet;e.replace(t),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,e]}))}loginAction(){this.loginEvent&&(window.postMessage({type:this.loginEvent,transition:"Login"},window.location.href),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),this.loginUrl&&(location.href=this.loginUrl)}registerAction(){this.registerEvent&&(window.postMessage({type:this.registerEvent,transition:"Register"},window.location.href),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),this.registerUrl&&(location.href=this.registerUrl)}async joinAction(t,e){var i;this.errorJoin=!1,this.errorJoinConcurrently=!1,window.postMessage({type:"TournamentJoinRequest",tournamentId:t},window.location.href),this.joinButtonLoading=!0;let n=new URL(`${this.endpoint}/v1/bonus/claim`),r=new Headers,s={};n.searchParams.append("language",this.language),n.searchParams.append("platform",(()=>{let t=window.navigator.userAgent;return t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"})()),r.append("Content-Type","application/json"),r.append("X-SessionID",this.session),e&&(s={language:this.language,bonusCode:e,currency:this.currency});let a={method:"PUT",headers:r,body:JSON.stringify(s)};const o=()=>{this.joinButtonLoading=!1,this.enrolled=!0,window.postMessage({type:"TournamentUserEnrolled",userenrolled:this.enrolled,tournamentId:t},window.location.href),this.userEnrolled.emit({userenrolled:this.enrolled,tournamentId:t})},u=()=>{this.joinButtonLoading=!1,this.errorJoin=!0},h=await(async()=>{let t;try{t=await fetch(`${this.endpoint}/v1/bonus/claim?${n.searchParams.toString()}`,a),t=await t.json()}catch(t){u()}return t})();if(h)if(1==h.success)o();else if(h.errorMessage.match("VersionMismatchException")){let t;t=await fetch(`${this.endpoint}/v1/tournaments/${this.tournamentId}`,{headers:{"X-SessionID":this.session}}),t=await t.json(),(null===(i=null==t?void 0:t.item)||void 0===i?void 0:i.playerEnrolled)?o():(u(),this.errorJoinConcurrently=!0,this.errorJoin=!1)}else u()}detailAction(t){window.postMessage({type:"TournamentDetailsClicked",tournamentId:t,showLeaderboard:!0},window.location.href)}moreAction(t){window.postMessage({type:"TournamentReadMoreClicked",tournamentId:t},window.location.href)}render(){return e("div",{class:"TournamentButtons"},!this.session&&e("div",{class:"ButtonGroup"},e("button",{class:"LoginButton Button",part:"LoginButton",onClick:()=>this.loginAction()},rn("login",this.language)),e("button",{class:"RegisterButton Button",part:"RegisterButton",onClick:()=>this.registerAction()},rn("register",this.language))),this.session&&e("div",null,!this.enrolled&&e("div",{class:"ButtonGroup"},e("button",{class:"Button",onClick:()=>this.joinAction(this.tournamentId,this.bonusCode)},rn("join",this.language)),this.showReadMore&&e("button",{class:"Button NoBorder",onClick:()=>this.moreAction(this.tournamentId)},rn("readmore",this.language))),this.enrolled&&e("div",{class:"ButtonGroup"},e("button",{class:"Button",onClick:()=>this.detailAction(this.tournamentId)},rn("details",this.language)),this.showReadMore&&e("button",{class:"Button NoBorder",onClick:()=>this.moreAction(this.tournamentId)},rn("readmore",this.language)))),(this.errorJoin||this.errorJoinConcurrently)&&e("span",{class:"ErrorText",part:"ErrorText"},rn("joinerror",this.language)))}get host(){return i(this)}};sn.style=':host{display:block}.ButtonGroup{display:flex;gap:4px}.Button{padding:6px 8px;border-radius:2px;border:1px solid #fff;color:#fff;background:none;position:relative;cursor:pointer}.Button.NoBorder{border:0;padding:7px 8px}.Button::after{content:"";display:block;position:absolute;border-radius:2px;left:0;top:0;width:100%;height:100%;opacity:0;transition:all 0.5s;box-shadow:0 0 10px 10px white}.Button:active::after{box-shadow:0 0 0 0 white;position:absolute;border-radius:2px;left:0;top:0;opacity:1;transition:0s}.Button:active{top:1px}';export{en as casino_tournament_banner,sn as casino_tournament_buttons}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3a4744d8.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
8
8
|
const TRANSLATIONS$1 = {
|
|
@@ -6673,6 +6673,7 @@ const casinoTournamentButtonsCss = ":host{display:block}.ButtonGroup{display:fle
|
|
|
6673
6673
|
const CasinoTournamentButtons = class {
|
|
6674
6674
|
constructor(hostRef) {
|
|
6675
6675
|
index.registerInstance(this, hostRef);
|
|
6676
|
+
this.userEnrolled = index.createEvent(this, "TournamentUserEnrolled", 7);
|
|
6676
6677
|
/**
|
|
6677
6678
|
* Player enrolled
|
|
6678
6679
|
*/
|
|
@@ -6785,7 +6786,8 @@ const CasinoTournamentButtons = class {
|
|
|
6785
6786
|
const handlerOnSuccess = () => {
|
|
6786
6787
|
this.joinButtonLoading = false;
|
|
6787
6788
|
this.enrolled = true;
|
|
6788
|
-
window.postMessage({ type: 'TournamentUserEnrolled', userenrolled: this.enrolled }, window.location.href);
|
|
6789
|
+
window.postMessage({ type: 'TournamentUserEnrolled', userenrolled: this.enrolled, tournamentId }, window.location.href);
|
|
6790
|
+
this.userEnrolled.emit({ userenrolled: this.enrolled, tournamentId });
|
|
6789
6791
|
};
|
|
6790
6792
|
const handlerOnFail = () => {
|
|
6791
6793
|
this.joinButtonLoading = false;
|
|
@@ -594,6 +594,19 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
594
594
|
patch(oldVNode, rootVnode);
|
|
595
595
|
};
|
|
596
596
|
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
597
|
+
const createEvent = (ref, name, flags) => {
|
|
598
|
+
const elm = getElement(ref);
|
|
599
|
+
return {
|
|
600
|
+
emit: (detail) => {
|
|
601
|
+
return emitEvent(elm, name, {
|
|
602
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
603
|
+
composed: !!(flags & 2 /* Composed */),
|
|
604
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
605
|
+
detail,
|
|
606
|
+
});
|
|
607
|
+
},
|
|
608
|
+
};
|
|
609
|
+
};
|
|
597
610
|
/**
|
|
598
611
|
* Helper function to create & dispatch a custom Event on a provided target
|
|
599
612
|
* @param elm the target of the Event
|
|
@@ -1271,6 +1284,7 @@ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
|
1271
1284
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1272
1285
|
|
|
1273
1286
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1287
|
+
exports.createEvent = createEvent;
|
|
1274
1288
|
exports.getElement = getElement;
|
|
1275
1289
|
exports.h = h;
|
|
1276
1290
|
exports.promiseResolve = promiseResolve;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
3
|
const getDevice = () => {
|
|
4
4
|
let userAgent = window.navigator.userAgent;
|
|
@@ -382,6 +382,7 @@ const CasinoTournamentButtons = /*@__PURE__*/ proxyCustomElement(class extends H
|
|
|
382
382
|
super();
|
|
383
383
|
this.__registerHost();
|
|
384
384
|
this.__attachShadow();
|
|
385
|
+
this.userEnrolled = createEvent(this, "TournamentUserEnrolled", 7);
|
|
385
386
|
/**
|
|
386
387
|
* Player enrolled
|
|
387
388
|
*/
|
|
@@ -494,7 +495,8 @@ const CasinoTournamentButtons = /*@__PURE__*/ proxyCustomElement(class extends H
|
|
|
494
495
|
const handlerOnSuccess = () => {
|
|
495
496
|
this.joinButtonLoading = false;
|
|
496
497
|
this.enrolled = true;
|
|
497
|
-
window.postMessage({ type: 'TournamentUserEnrolled', userenrolled: this.enrolled }, window.location.href);
|
|
498
|
+
window.postMessage({ type: 'TournamentUserEnrolled', userenrolled: this.enrolled, tournamentId }, window.location.href);
|
|
499
|
+
this.userEnrolled.emit({ userenrolled: this.enrolled, tournamentId });
|
|
498
500
|
};
|
|
499
501
|
const handlerOnFail = () => {
|
|
500
502
|
this.joinButtonLoading = false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement, c as createEvent } from './index-1ea7f13c.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
4
4
|
const TRANSLATIONS$1 = {
|
|
@@ -6669,6 +6669,7 @@ const casinoTournamentButtonsCss = ":host{display:block}.ButtonGroup{display:fle
|
|
|
6669
6669
|
const CasinoTournamentButtons = class {
|
|
6670
6670
|
constructor(hostRef) {
|
|
6671
6671
|
registerInstance(this, hostRef);
|
|
6672
|
+
this.userEnrolled = createEvent(this, "TournamentUserEnrolled", 7);
|
|
6672
6673
|
/**
|
|
6673
6674
|
* Player enrolled
|
|
6674
6675
|
*/
|
|
@@ -6781,7 +6782,8 @@ const CasinoTournamentButtons = class {
|
|
|
6781
6782
|
const handlerOnSuccess = () => {
|
|
6782
6783
|
this.joinButtonLoading = false;
|
|
6783
6784
|
this.enrolled = true;
|
|
6784
|
-
window.postMessage({ type: 'TournamentUserEnrolled', userenrolled: this.enrolled }, window.location.href);
|
|
6785
|
+
window.postMessage({ type: 'TournamentUserEnrolled', userenrolled: this.enrolled, tournamentId }, window.location.href);
|
|
6786
|
+
this.userEnrolled.emit({ userenrolled: this.enrolled, tournamentId });
|
|
6785
6787
|
};
|
|
6786
6788
|
const handlerOnFail = () => {
|
|
6787
6789
|
this.joinButtonLoading = false;
|
|
@@ -572,6 +572,19 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
572
572
|
patch(oldVNode, rootVnode);
|
|
573
573
|
};
|
|
574
574
|
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
575
|
+
const createEvent = (ref, name, flags) => {
|
|
576
|
+
const elm = getElement(ref);
|
|
577
|
+
return {
|
|
578
|
+
emit: (detail) => {
|
|
579
|
+
return emitEvent(elm, name, {
|
|
580
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
581
|
+
composed: !!(flags & 2 /* Composed */),
|
|
582
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
583
|
+
detail,
|
|
584
|
+
});
|
|
585
|
+
},
|
|
586
|
+
};
|
|
587
|
+
};
|
|
575
588
|
/**
|
|
576
589
|
* Helper function to create & dispatch a custom Event on a provided target
|
|
577
590
|
* @param elm the target of the Event
|
|
@@ -1248,4 +1261,4 @@ const flush = () => {
|
|
|
1248
1261
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1249
1262
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1250
1263
|
|
|
1251
|
-
export { bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r };
|
|
1264
|
+
export { bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r };
|
package/dist/esm/loader.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e,t,n=!1,l=!1;const s="undefined"!=typeof window?window:{},o=s.document||{head:{}},r={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},c=e=>Promise.resolve(e),i=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),u=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=f(e,n),c=a(t,s),i=h(n);r.ael(o,l,c,i),(t.o=t.o||[]).push((()=>r.rel(o,l,c,i)))}))},a=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){I(e)}},f=(e,t)=>8&t?s:e,h=e=>0!=(2&e),$=new WeakMap,y=e=>"sc-"+e.h,d={},m=e=>"object"==(e=typeof e)||"function"===e,p=(e,t,...n)=>{let l=null,s=!1,o=!1,r=[];const c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!m(l))&&(l+=""),s&&o?r[r.length-1].$+=l:r.push(s?w(null,l):l),o=s)};if(c(n),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}const i=w(e,null);return i.m=t,r.length>0&&(i.p=r),i},w=(e,t)=>({t:0,g:e,$:t,v:null,p:null,m:null}),b={},g=(e,t,n,l,o,c)=>{if(n!==l){let i=G(e,t),u=t.toLowerCase();if("class"===t){const t=e.classList,s=S(n),o=S(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if(i||"o"!==t[0]||"n"!==t[1]){const s=m(l);if((i||s&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&c||o)&&!s&&e.setAttribute(t,l=!0===l?"":l)}else t="-"===t[2]?t.slice(3):G(s,u)?u.slice(2):u[2]+t.slice(3),n&&r.rel(e,t,n,!1),l&&r.ael(e,t,l,!1)}},v=/\s/,S=e=>e?e.split(v):[],j=(e,t,n,l)=>{const s=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.m||d,r=t.m||d;for(l in o)l in r||g(s,l,o[l],void 0,n,t.t);for(l in r)g(s,l,o[l],r[l],n,t.t)},O=(t,l,s)=>{let r,c,i=l.p[s],u=0;if(null!==i.$)r=i.v=o.createTextNode(i.$);else{if(n||(n="svg"===i.g),r=i.v=o.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.g),n&&"foreignObject"===i.g&&(n=!1),j(null,i,n),null!=e&&r["s-si"]!==e&&r.classList.add(r["s-si"]=e),i.p)for(u=0;u<i.p.length;++u)c=O(t,i,u),c&&r.appendChild(c);"svg"===i.g?n=!1:"foreignObject"===r.tagName&&(n=!0)}return r},M=(e,n,l,s,o,r)=>{let c,i=e;for(i.shadowRoot&&i.tagName===t&&(i=i.shadowRoot);o<=r;++o)s[o]&&(c=O(null,l,o),c&&(s[o].v=c,i.insertBefore(c,n)))},k=(e,t,n,l)=>{for(;t<=n;++t)(l=e[t])&&l.v.remove()},C=(e,t)=>e.g===t.g,x=(e,t)=>{const l=t.v=e.v,s=e.p,o=t.p,r=t.g,c=t.$;null===c?(n="svg"===r||"foreignObject"!==r&&n,j(e,t,n),null!==s&&null!==o?((e,t,n,l)=>{let s,o=0,r=0,c=t.length-1,i=t[0],u=t[c],a=l.length-1,f=l[0],h=l[a];for(;o<=c&&r<=a;)null==i?i=t[++o]:null==u?u=t[--c]:null==f?f=l[++r]:null==h?h=l[--a]:C(i,f)?(x(i,f),i=t[++o],f=l[++r]):C(u,h)?(x(u,h),u=t[--c],h=l[--a]):C(i,h)?(x(i,h),e.insertBefore(i.v,u.v.nextSibling),i=t[++o],h=l[--a]):C(u,f)?(x(u,f),e.insertBefore(u.v,i.v),u=t[--c],f=l[++r]):(s=O(t&&t[r],n,r),f=l[++r],s&&i.v.parentNode.insertBefore(s,i.v));o>c?M(e,null==l[a+1]?null:l[a+1].v,n,l,r,a):r>a&&k(t,o,c)})(l,s,t,o):null!==o?(null!==e.$&&(l.textContent=""),M(l,null,t,o,0,o.length-1)):null!==s&&k(s,0,s.length-1),n&&"svg"===r&&(n=!1)):e.$!==c&&(l.data=c)},P=e=>_(e).S,E=(e,t)=>{t&&!e.j&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.j=t)))},L=(e,t)=>{if(e.t|=16,!(4&e.t))return E(e,e.O),le((()=>N(e,t)));e.t|=512},N=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>U(n,e,t))),e.u=null),l=U(n,"componentWillLoad")),q(l,(()=>R(e,n,t)))},R=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.M,n=e.S,l=t.t,s=((e,t)=>{let n=y(t),l=Q.get(n);if(e=11===e.nodeType?e:o,l)if("string"==typeof l){let t,s=$.get(e=e.head||e);s||$.set(e,s=new Set),s.has(n)||(t=o.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);T(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>W(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},T=(n,l)=>{try{l=l.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.S,o=n.M,r=n.k||w(null,null),c=(e=>e&&e.g===b)(l)?l:p(null,null,l);t=s.tagName,o.C&&(c.m=c.m||{},o.C.map((([e,t])=>c.m[t]=s[e]))),c.g=null,c.t|=4,n.k=c,c.v=r.v=s.shadowRoot||s,e=s["s-sc"],x(r,c)})(n,l)}catch(e){I(e,n.S)}return null},W=e=>{const t=e.S,n=e.O;U(e.i,"componentDidRender"),64&e.t||(e.t|=64,D(t),e.P(t),n||A()),e.j&&(e.j(),e.j=void 0),512&e.t&&ne((()=>L(e,!1))),e.t&=-517},A=()=>{D(o.documentElement),ne((()=>(e=>{const t=r.ce("appload",{detail:{namespace:"casino-tournament-banner"}});return e.dispatchEvent(t),t})(s)))},U=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){I(e)}},q=(e,t)=>e&&e.then?e.then(t):t(),D=e=>e.classList.add("hydrated"),F=(e,t,n)=>{if(t.L){e.watchers&&(t.N=e.watchers);const l=Object.entries(t.L),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>_(this).R.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=_(e),o=s.S,r=s.R.get(t),c=s.t,i=s.i;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e)(n,l.L[t][0]),(!(8&c)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(s.R.set(t,n),i)){if(l.N&&128&c){const e=l.N[t];e&&e.map((e=>{try{i[e](n,r,t)}catch(e){I(e,o)}}))}2==(18&c)&&L(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){r.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.C.push([e,s]),s}))}}return e},H=(e,t={})=>{const n=[],l=t.exclude||[],c=s.customElements,a=o.head,f=a.querySelector("meta[charset]"),h=o.createElement("style"),$=[];let d,m=!0;Object.assign(r,t),r.l=new URL(t.resourcesUrl||"./",o.baseURI).href,e.map((e=>{e[1].map((t=>{const s={t:t[0],h:t[1],L:t[2],T:t[3]};s.L=t[2],s.T=t[3],s.C=[],s.N={};const o=s.h,a=class extends HTMLElement{constructor(e){super(e),B(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?$.push(this):r.jmp((()=>(e=>{if(0==(1&r.t)){const t=_(e),n=t.M,l=()=>{};if(1&t.t)u(e,t,n.T);else{t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){E(t,t.O=n);break}}n.L&&Object.entries(n.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=K(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.N=s.watchers,F(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){I(e)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=y(n);if(!Q.has(t)){const l=()=>{};((e,t,n)=>{let l=Q.get(e);i&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,Q.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.O,r=()=>L(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){r.jmp((()=>(()=>{if(0==(1&r.t)){const e=_(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return _(this).W}};s.A=e[0],l.includes(o)||c.get(o)||(n.push(o),c.define(o,F(a,s,1)))}))})),h.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",h.setAttribute("data-styles",""),a.insertBefore(h,f?f.nextSibling:a.firstChild),m=!1,$.length?$.map((e=>e.connectedCallback())):r.jmp((()=>d=setTimeout(A,30)))},V=new WeakMap,_=e=>V.get(e),z=(e,t)=>V.set(t.i=e,t),B=(e,t)=>{const n={t:0,S:e,M:t,R:new Map};return n.W=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],u(e,n,t.T),V.set(e,n)},G=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),J=new Map,K=e=>{const t=e.h.replace(/-/g,"_"),n=e.A,l=J.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(J.set(n,e),e[t])),I)},Q=new Map,X=[],Y=[],Z=(e,t)=>n=>{e.push(n),l||(l=!0,t&&4&r.t?ne(te):r.raf(te))},ee=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){I(e)}e.length=0},te=()=>{ee(X),ee(Y),(l=X.length>0)&&r.raf(te)},ne=e=>c().then(e),le=Z(Y,!0);export{H as b,P as g,p as h,c as p,z as r}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-be0b9fde.js";const n={en:{joined:"Joined",join:"Join",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 ",startedAtWithTime:"Started ",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",login:"Log in",register:"Register",details:"Details",joinerror:"An error occurred while registering in the tournament, please try again.",tournament:"Tournament",terms:"Terms and conditions",left:"left",minutes:"minutes",hours:"hours",days:"days"},"zh-hk":{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:"十二月",login:"登錄",register:"登記",details:"細節",join:"加入",joinerror:"加入錦標賽時出錯,請重試",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"},fr:{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",login:"Connexion",register:"Enregistre",details:"Détails",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"},ro:{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:",startingAtWithTime:"Începând de",startedAtWithTime:"A inceput:",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",login:"Autentificare",register:"Înregistrare",details:"Detalii",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou.",left:"rămase",minutes:"minute",hours:"ore",days:"zile",tournament:"turneu"},tr:{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",login:"Giriş",register:"Kayıt Ol",details:"Detaylar",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - ",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις ",startedAtWithTime:"Άρχισε στις ",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου",login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά.",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"},es:{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",login:"Iniciar sesión",register:"Regístrate",details:"Detalles",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo",left:"izquierda",minutes:"minutos",hours:"horas",days:"días"},pt:{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",login:"Entrar",register:"Registro",details:"Detalhes",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"},hu:{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",login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra.",left:"bal",minutes:"perc",hours:"óra",days:"nap"},hr:{joined:"Pridružen",enrolled:"Upisan",scoreCriteria:"Kriteriji bodovanja",minbet:"minimalni broj beta",seegames:"Možete vidjeti igre",here:"Ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Gotovo",startingAt:"S početkom u",startedAt:"Započelo u",startingAtWithTime:"Počinje ",startedAtWithTime:"Započelo ",mostRounds:"Najviše rundi",betCount:"Broj betova",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",login:"Prijaviti se",register:"Registracija",details:"Detalji",join:"join",joinerror:"Došlo je do pogreške prilikom registracije na turnir, pokušajte ponovno.",left:"lijevo",minutes:"minute",hours:"sati",days:"dani"}},r=(t,e)=>{var i,r;return(null===(i=n[e])||void 0===i?void 0:i[t])||(null===(r=n.en)||void 0===r?void 0:r[t])};
|
|
2
|
-
//! moment.js
|
|
3
|
-
//! version : 2.29.4
|
|
4
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
5
|
-
//! license : MIT
|
|
6
|
-
//! momentjs.com
|
|
7
|
-
var s,a;function o(){return s.apply(null,arguments)}function u(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function h(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function d(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(d(t,e))return!1;return!0}function c(t){return void 0===t}function m(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function f(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function g(t,e){var i,n=[],r=t.length;for(i=0;i<r;++i)n.push(e(t[i],i));return n}function b(t,e){for(var i in e)d(e,i)&&(t[i]=e[i]);return d(e,"toString")&&(t.toString=e.toString),d(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,i,n){return Ne(t,e,i,n,!0).utc()}function y(t){return null==t._pf&&(t._pf={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}),t._pf}function v(t){if(null==t._isValid){var e=y(t),i=a.call(e.parsedDateParts,(function(t){return null!=t})),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function M(t){var e=p(NaN);return null!=t?b(y(e),t):y(e).userInvalidated=!0,e}a=Array.prototype.some?Array.prototype.some:function(t){var e,i=Object(this),n=i.length>>>0;for(e=0;e<n;e++)if(e in i&&t.call(this,i[e],e,i))return!0;return!1};var S=o.momentProperties=[],w=!1;function D(t,e){var i,n,r,s=S.length;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=y(e)),c(e._locale)||(t._locale=e._locale),s>0)for(i=0;i<s;i++)c(r=e[n=S[i]])||(t[n]=r);return t}function k(t){D(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,o.updateOffset(this),w=!1)}function Y(t){return t instanceof k||null!=t&&null!=t._isAMomentObject}function A(t){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function N(t,e){var i=!0;return b((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,t),i){var n,r,s,a=[],u=arguments.length;for(r=0;r<u;r++){if(n="","object"==typeof arguments[r]){for(s in n+="\n["+r+"] ",arguments[0])d(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[r];a.push(n)}A(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)}),e)}var j,T={};function x(t,e){null!=o.deprecationHandler&&o.deprecationHandler(t,e),T[t]||(A(e),T[t]=!0)}function R(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,e){var i,n=b({},t);for(i in e)d(e,i)&&(h(t[i])&&h(e[i])?(n[i]={},b(n[i],t[i]),b(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)d(t,i)&&!d(e,i)&&h(t[i])&&(n[i]=b({},n[i]));return n}function J(t){null!=t&&this.set(t)}function W(t,e,i){var n=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,j=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)d(t,e)&&i.push(e);return i};var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},F={};function B(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(F[t]=r),e&&(F[e[0]]=function(){return W(r.apply(this,arguments),e[1],e[2])}),i&&(F[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function G(t,e){return t.isValid()?(e=L(e,t.localeData()),E[e]=E[e]||function(t){var e,i,n,r=t.match(H);for(e=0,i=r.length;e<i;e++)r[e]=F[r[e]]?F[r[e]]:(n=r[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,s="";for(n=0;n<i;n++)s+=R(r[n])?r[n].call(e,t):r[n];return s}}(e),E[e](t)):t.localeData().invalidDate()}function L(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(O.lastIndex=0;i>=0&&O.test(t);)t=t.replace(O,n),O.lastIndex=0,i-=1;return t}var z={};function _(t,e){var i=t.toLowerCase();z[i]=z[i+"s"]=z[e]=t}function I(t){return"string"==typeof t?z[t]||z[t.toLowerCase()]:void 0}function Z(t){var e,i,n={};for(i in t)d(t,i)&&(e=I(i))&&(n[e]=t[i]);return n}var P={};function U(t,e){P[t]=e}function V(t){return t%4==0&&t%100!=0||t%400==0}function $(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function K(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=$(e)),i}function q(t,e){return function(i){return null!=i?(X(this,t,i),o.updateOffset(this,e),this):Q(this,t)}}function Q(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function X(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&V(t.year())&&1===t.month()&&29===t.date()?(i=K(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Yt(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}var tt,et=/\d/,it=/\d\d/,nt=/\d{3}/,rt=/\d{4}/,st=/[+-]?\d{6}/,at=/\d\d?/,ot=/\d\d\d\d?/,ut=/\d\d\d\d\d\d?/,ht=/\d{1,3}/,dt=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ct=/\d+/,mt=/[+-]?\d+/,ft=/Z|[+-]\d\d:?\d\d/gi,gt=/Z|[+-]\d\d(?::?\d\d)?/gi,bt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,i){tt[t]=R(e)?e:function(t){return t&&i?i:e}}function yt(t,e){return d(tt,t)?tt[t](e._strict,e._locale):new RegExp(vt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,i,n,r){return e||i||n||r}))))}function vt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}tt={};var Mt,St={};function wt(t,e){var i,n,r=e;for("string"==typeof t&&(t=[t]),m(e)&&(r=function(t,i){i[e]=K(t)}),n=t.length,i=0;i<n;i++)St[t[i]]=r}function Dt(t,e){wt(t,(function(t,i,n,r){n._w=n._w||{},e(t,n._w,n,r)}))}function kt(t,e,i){null!=e&&d(St,t)&&St[t](e,i._a,i,t)}function Yt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?V(t)?29:28:31-i%7%2}Mt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),B("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),_("month","M"),U("month",8),pt("M",at),pt("MM",at,it),pt("MMM",(function(t,e){return e.monthsShortRegex(t)})),pt("MMMM",(function(t,e){return e.monthsRegex(t)})),wt(["M","MM"],(function(t,e){e[1]=K(t)-1})),wt(["MMM","MMMM"],(function(t,e,i,n){var r=i._locale.monthsParse(t,n,i._strict);null!=r?e[1]=r:y(i).invalidMonth=t}));var At="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Tt=bt,xt=bt;function Rt(t,e,i){var n,r,s,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=Mt.call(this._shortMonthsParse,a))?r:null:-1!==(r=Mt.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Mt.call(this._shortMonthsParse,a))||-1!==(r=Mt.call(this._longMonthsParse,a))?r:null:-1!==(r=Mt.call(this._longMonthsParse,a))||-1!==(r=Mt.call(this._shortMonthsParse,a))?r:null}function Ct(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=K(e);else if(!m(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),Yt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Jt(t){return null!=t?(Ct(this,t),o.updateOffset(this,!0),this):Q(this,"Month")}function Wt(){function t(t,e){return e.length-t.length}var e,i,n=[],r=[],s=[];for(e=0;e<12;e++)i=p([2e3,e]),n.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(n.sort(t),r.sort(t),s.sort(t),e=0;e<12;e++)n[e]=vt(n[e]),r[e]=vt(r[e]);for(e=0;e<24;e++)s[e]=vt(s[e]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ht(t){return V(t)?366:365}B("Y",0,0,(function(){var t=this.year();return t<=9999?W(t,4):"+"+t})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),_("year","y"),U("year",1),pt("Y",mt),pt("YY",at,it),pt("YYYY",dt,rt),pt("YYYYY",lt,st),pt("YYYYYY",lt,st),wt(["YYYYY","YYYYYY"],0),wt("YYYY",(function(t,e){e[0]=2===t.length?o.parseTwoDigitYear(t):K(t)})),wt("YY",(function(t,e){e[0]=o.parseTwoDigitYear(t)})),wt("Y",(function(t,e){e[0]=parseInt(t,10)})),o.parseTwoDigitYear=function(t){return K(t)+(K(t)>68?1900:2e3)};var Ot=q("FullYear",!0);function Et(t,e,i,n,r,s,a){var o;return t<100&&t>=0?(o=new Date(t+400,e,i,n,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,i,n,r,s,a),o}function Ft(t){var e,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Bt(t,e,i){var n=7+e-i;return-(7+Ft(t,0,n).getUTCDay()-e)%7+n-1}function Gt(t,e,i,n,r){var s,a,o=1+7*(e-1)+(7+i-n)%7+Bt(t,n,r);return o<=0?a=Ht(s=t-1)+o:o>Ht(t)?(s=t+1,a=o-Ht(t)):(s=t,a=o),{year:s,dayOfYear:a}}function Lt(t,e,i){var n,r,s=Bt(t.year(),e,i),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?n=a+zt(r=t.year()-1,e,i):a>zt(t.year(),e,i)?(n=a-zt(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function zt(t,e,i){var n=Bt(t,e,i),r=Bt(t+1,e,i);return(Ht(t)-n+r)/7}function _t(t,e){return t.slice(e,7).concat(t.slice(0,e))}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),_("week","w"),_("isoWeek","W"),U("week",5),U("isoWeek",5),pt("w",at),pt("ww",at,it),pt("W",at),pt("WW",at,it),Dt(["w","ww","W","WW"],(function(t,e,i,n){e[n.substr(0,1)]=K(t)})),B("d",0,"do","day"),B("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),B("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),B("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),_("day","d"),_("weekday","e"),_("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),pt("d",at),pt("e",at),pt("E",at),pt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),pt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),pt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Dt(["dd","ddd","dddd"],(function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:y(i).invalidWeekday=t})),Dt(["d","e","E"],(function(t,e,i,n){e[n]=K(t)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ut=bt,Vt=bt,$t=bt;function Kt(t,e,i){var n,r,s,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=Mt.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Mt.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Mt.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Mt.call(this._weekdaysParse,a))||-1!==(r=Mt.call(this._shortWeekdaysParse,a))||-1!==(r=Mt.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Mt.call(this._shortWeekdaysParse,a))||-1!==(r=Mt.call(this._weekdaysParse,a))||-1!==(r=Mt.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Mt.call(this._minWeekdaysParse,a))||-1!==(r=Mt.call(this._weekdaysParse,a))||-1!==(r=Mt.call(this._shortWeekdaysParse,a))?r:null}function qt(){function t(t,e){return e.length-t.length}var e,i,n,r,s,a=[],o=[],u=[],h=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=vt(this.weekdaysMin(i,"")),r=vt(this.weekdaysShort(i,"")),s=vt(this.weekdays(i,"")),a.push(n),o.push(r),u.push(s),h.push(n),h.push(r),h.push(s);a.sort(t),o.sort(t),u.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Xt(t,e){B(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function te(t,e){return e._meridiemParse}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Qt),B("k",["kk",2],0,(function(){return this.hours()||24})),B("hmm",0,0,(function(){return""+Qt.apply(this)+W(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Qt.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+W(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)})),Xt("a",!0),Xt("A",!1),_("hour","h"),U("hour",13),pt("a",te),pt("A",te),pt("H",at),pt("h",at),pt("k",at),pt("HH",at,it),pt("hh",at,it),pt("kk",at,it),pt("hmm",ot),pt("hmmss",ut),pt("Hmm",ot),pt("Hmmss",ut),wt(["H","HH"],3),wt(["k","kk"],(function(t,e){var i=K(t);e[3]=24===i?0:i})),wt(["a","A"],(function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),wt(["h","hh"],(function(t,e,i){e[3]=K(t),y(i).bigHour=!0})),wt("hmm",(function(t,e,i){var n=t.length-2;e[3]=K(t.substr(0,n)),e[4]=K(t.substr(n)),y(i).bigHour=!0})),wt("hmmss",(function(t,e,i){var n=t.length-4,r=t.length-2;e[3]=K(t.substr(0,n)),e[4]=K(t.substr(n,2)),e[5]=K(t.substr(r)),y(i).bigHour=!0})),wt("Hmm",(function(t,e){var i=t.length-2;e[3]=K(t.substr(0,i)),e[4]=K(t.substr(i))})),wt("Hmmss",(function(t,e){var i=t.length-4,n=t.length-2;e[3]=K(t.substr(0,i)),e[4]=K(t.substr(i,2)),e[5]=K(t.substr(n))}));var ee,ie=q("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:At,monthsShort:Nt,week:{dow:0,doy:6},weekdays:It,weekdaysMin:Pt,weekdaysShort:Zt,meridiemParse:/[ap]\.?m?\.?/i},re={},se={};function ae(t,e){var i,n=Math.min(t.length,e.length);for(i=0;i<n;i+=1)if(t[i]!==e[i])return i;return n}function oe(t){return t?t.toLowerCase().replace("_","-"):t}function ue(t){var e=null;if(void 0===re[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=ee._abbr,require("./locale/"+t),he(e)}catch(e){re[t]=null}return re[t]}function he(t,e){var i;return t&&((i=c(e)?le(t):de(t,e))?ee=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ee._abbr}function de(t,e){if(null!==e){var i,n=ne;if(e.abbr=t,null!=re[t])x("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=re[t]._config;else if(null!=e.parentLocale)if(null!=re[e.parentLocale])n=re[e.parentLocale]._config;else{if(null==(i=ue(e.parentLocale)))return se[e.parentLocale]||(se[e.parentLocale]=[]),se[e.parentLocale].push({name:t,config:e}),null;n=i._config}return re[t]=new J(C(n,e)),se[t]&&se[t].forEach((function(t){de(t.name,t.config)})),he(t),re[t]}return delete re[t],null}function le(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ee;if(!u(t)){if(e=ue(t))return e;t=[t]}return function(t){for(var e,i,n,r,s=0;s<t.length;){for(e=(r=oe(t[s]).split("-")).length,i=(i=oe(t[s+1]))?i.split("-"):null;e>0;){if(n=ue(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&ae(r,i)>=e-1)break;e--}s++}return ee}(t)}function ce(t){var e,i=t._a;return i&&-2===y(t).overflow&&(e=i[1]<0||i[1]>11?1:i[2]<1||i[2]>Yt(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,y(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),y(t)._overflowWeeks&&-1===e&&(e=7),y(t)._overflowWeekday&&-1===e&&(e=8),y(t).overflow=e),t}var me=/^\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)?)?$/,fe=/^\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)?)?$/,ge=/Z|[+-]\d\d(?::?\d\d)?/,be=[["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]],pe=[["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/]],ye=/^\/?Date\((-?\d+)/i,ve=/^(?:(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}))$/,Me={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Se(t){var e,i,n,r,s,a,o=t._i,u=me.exec(o)||fe.exec(o),h=be.length,d=pe.length;if(u){for(y(t).iso=!0,e=0,i=h;e<i;e++)if(be[e][1].exec(u[1])){r=be[e][0],n=!1!==be[e][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(e=0,i=d;e<i;e++)if(pe[e][1].exec(u[3])){s=(u[2]||" ")+pe[e][0];break}if(null==s)return void(t._isValid=!1)}if(!n&&null!=s)return void(t._isValid=!1);if(u[4]){if(!ge.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=r+(s||"")+(a||""),Ye(t)}else t._isValid=!1}function we(t){var e,i,n,r,s,a,o,u,h,d=ve.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(i=d[3],n=d[2],r=d[5],s=d[6],a=d[7],o=[(u=d[4],h=parseInt(u,10),h<=49?2e3+h:h<=999?1900+h:h),Nt.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(s,10)],a&&o.push(parseInt(a,10)),!function(t,e,i){return!t||Zt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(y(i).weekdayMismatch=!0,i._isValid=!1,!1)}(d[1],e=o,t))return;t._a=e,t._tzm=function(t,e,i){if(t)return Me[t];if(e)return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}(d[8],d[9],d[10]),t._d=Ft.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),y(t).rfc2822=!0}else t._isValid=!1}function De(t,e,i){return null!=t?t:null!=e?e:i}function ke(t){var e,i,n,r,s,a=[];if(!t._d){for(n=function(t){var e=new Date(o.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,i,n,r,s,a,o,u,h;null!=(e=t._w).GG||null!=e.W||null!=e.E?(s=1,a=4,i=De(e.GG,t._a[0],Lt(je(),1,4).year),n=De(e.W,1),((r=De(e.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,h=Lt(je(),s,a),i=De(e.gg,t._a[0],h.year),n=De(e.w,h.week),null!=e.d?((r=e.d)<0||r>6)&&(u=!0):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(u=!0)):r=s),n<1||n>zt(i,s,a)?y(t)._overflowWeeks=!0:null!=u?y(t)._overflowWeekday=!0:(o=Gt(i,n,r,s,a),t._a[0]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=De(t._a[0],n[0]),(t._dayOfYear>Ht(s)||0===t._dayOfYear)&&(y(t)._overflowDayOfYear=!0),i=Ft(s,0,t._dayOfYear),t._a[1]=i.getUTCMonth(),t._a[2]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Ft:Et).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(y(t).weekdayMismatch=!0)}}function Ye(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],y(t).empty=!0;var e,i,n,r,s,a,u,h=""+t._i,d=h.length,l=0;for(u=(n=L(t._f,t._locale).match(H)||[]).length,e=0;e<u;e++)(i=(h.match(yt(r=n[e],t))||[])[0])&&((s=h.substr(0,h.indexOf(i))).length>0&&y(t).unusedInput.push(s),h=h.slice(h.indexOf(i)+i.length),l+=i.length),F[r]?(i?y(t).empty=!1:y(t).unusedTokens.push(r),kt(r,i,t)):t._strict&&!i&&y(t).unusedTokens.push(r);y(t).charsLeftOver=d-l,h.length>0&&y(t).unusedInput.push(h),t._a[3]<=12&&!0===y(t).bigHour&&t._a[3]>0&&(y(t).bigHour=void 0),y(t).parsedDateParts=t._a.slice(0),y(t).meridiem=t._meridiem,t._a[3]=function(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(a=y(t).era)&&(t._a[0]=t._locale.erasConvertYear(a,t._a[0])),ke(t),ce(t)}else we(t);else Se(t)}function Ae(t){var e=t._i,i=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===i&&""===e?M({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),Y(e)?new k(ce(e)):(f(e)?t._d=e:u(i)?function(t){var e,i,n,r,s,a,o=!1,u=t._f.length;if(0===u)return y(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,a=!1,e=D({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ye(e),v(e)&&(a=!0),s+=y(e).charsLeftOver,s+=10*y(e).unusedTokens.length,y(e).score=s,o?s<n&&(n=s,i=e):(null==n||s<n||a)&&(n=s,i=e,a&&(o=!0));b(t,i||e)}(t):i?Ye(t):function(t){var e=t._i;c(e)?t._d=new Date(o.now()):f(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ye.exec(t._i);null===e?(Se(t),!1===t._isValid&&(delete t._isValid,we(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:o.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):u(e)?(t._a=g(e.slice(0),(function(t){return parseInt(t,10)})),ke(t)):h(e)?function(t){if(!t._d){var e=Z(t._i);t._a=g([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),ke(t)}}(t):m(e)?t._d=new Date(e):o.createFromInputFallback(t)}(t),v(t)||(t._d=null),t))}function Ne(t,e,i,n,r){var s,a={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(h(t)&&l(t)||u(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=i,a._i=t,a._f=e,a._strict=n,(s=new k(ce(Ae(a))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function je(t,e,i,n){return Ne(t,e,i,n,!1)}o.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Te=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:M()})),xe=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=je.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:M()}));function Re(t,e){var i,n;if(1===e.length&&u(e[0])&&(e=e[0]),!e.length)return je();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Ce=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Je(t){var e=Z(t),i=e.year||0,n=e.quarter||0,r=e.month||0,s=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,u=e.minute||0,h=e.second||0,l=e.millisecond||0;this._isValid=function(t){var e,i,n=!1,r=Ce.length;for(e in t)if(d(t,e)&&(-1===Mt.call(Ce,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;i<r;++i)if(t[Ce[i]]){if(n)return!1;parseFloat(t[Ce[i]])!==K(t[Ce[i]])&&(n=!0)}return!0}(e),this._milliseconds=+l+1e3*h+6e4*u+1e3*o*60*60,this._days=+a+7*s,this._months=+r+3*n+12*i,this._data={},this._locale=le(),this._bubble()}function We(t){return t instanceof Je}function He(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Oe(t,e){B(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+W(~~(t/60),2)+e+W(~~t%60,2)}))}Oe("Z",":"),Oe("ZZ",""),pt("Z",gt),pt("ZZ",gt),wt(["Z","ZZ"],(function(t,e,i){i._useUTC=!0,i._tzm=Fe(gt,t)}));var Ee=/([\+\-]|\d\d)/gi;function Fe(t,e){var i,n,r=(e||"").match(t);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(Ee)||["-",0,0])[1]+K(i[2]))?0:"+"===i[0]?n:-n}function Be(t,e){var i,n;return e._isUTC?(i=e.clone(),n=(Y(t)||f(t)?t.valueOf():je(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),o.updateOffset(i,!1),i):je(t).local()}function Ge(t){return-Math.round(t._d.getTimezoneOffset())}function Le(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var ze=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,_e=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ie(t,e){var i,n,r,s,a,o,u=t,h=null;return We(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:m(t)||!isNaN(+t)?(u={},e?u[e]=+t:u.milliseconds=+t):(h=ze.exec(t))?(i="-"===h[1]?-1:1,u={y:0,d:K(h[2])*i,h:K(h[3])*i,m:K(h[4])*i,s:K(h[5])*i,ms:K(He(1e3*h[6]))*i}):(h=_e.exec(t))?u={y:Ze(h[2],i="-"===h[1]?-1:1),M:Ze(h[3],i),w:Ze(h[4],i),d:Ze(h[5],i),h:Ze(h[6],i),m:Ze(h[7],i),s:Ze(h[8],i)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=je(u.from),a=je(u.to),r=s.isValid()&&a.isValid()?(a=Be(a,s),s.isBefore(a)?o=Pe(s,a):((o=Pe(a,s)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),n=new Je(u),We(t)&&d(t,"_locale")&&(n._locale=t._locale),We(t)&&d(t,"_isValid")&&(n._isValid=t._isValid),n}function Ze(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Pe(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Ue(t,e){return function(i,n){var r;return null===n||isNaN(+n)||(x(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),Ve(this,Ie(i,n),t),this}}function Ve(t,e,i,n){var r=e._milliseconds,s=He(e._days),a=He(e._months);t.isValid()&&(n=null==n||n,a&&Ct(t,Q(t,"Month")+a*i),s&&X(t,"Date",Q(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),n&&o.updateOffset(t,s||a))}Ie.fn=Je.prototype,Ie.invalid=function(){return Ie(NaN)};var $e=Ue(1,"add"),Ke=Ue(-1,"subtract");function qe(t){return"string"==typeof t||t instanceof String}function Qe(t){return Y(t)||f(t)||qe(t)||m(t)||function(t){var e=u(t),i=!1;return e&&(i=0===t.filter((function(e){return!m(e)&&qe(t)})).length),e&&i}(t)||function(t){var e,i=h(t)&&!l(t),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=r.length;for(e=0;e<s;e+=1)n=n||d(t,r[e]);return i&&n}(t)||null==t}function Xe(t){var e,i=h(t)&&!l(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)n=n||d(t,r[e]);return i&&n}function ti(t,e){if(t.date()<e.date())return-ti(e,t);var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(i+1,"months")-n)))||0}function ei(t){var e;return void 0===t?this._locale._abbr:(null!=(e=le(t))&&(this._locale=e),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ii=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ni(){return this._locale}function ri(t,e){return(t%e+e)%e}function si(t,e,i){return t<100&&t>=0?new Date(t+400,e,i)-126227808e5:new Date(t,e,i).valueOf()}function ai(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-126227808e5:Date.UTC(t,e,i)}function oi(t,e){return e.erasAbbrRegex(t)}function ui(){var t,e,i=[],n=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t<e;++t)n.push(vt(a[t].name)),i.push(vt(a[t].abbr)),r.push(vt(a[t].narrow)),s.push(vt(a[t].name)),s.push(vt(a[t].abbr)),s.push(vt(a[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function hi(t,e){B(0,[t,t.length],0,e)}function di(t,e,i,n,r){var s;return null==t?Lt(this,n,r).year:(e>(s=zt(t,n,r))&&(e=s),li.call(this,t,e,i,n,r))}function li(t,e,i,n,r){var s=Gt(t,e,i,n,r),a=Ft(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),pt("N",oi),pt("NN",oi),pt("NNN",oi),pt("NNNN",(function(t,e){return e.erasNameRegex(t)})),pt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),wt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,i,n){var r=i._locale.erasParse(t,n,i._strict);r?y(i).era=r:y(i).invalidEra=t})),pt("y",ct),pt("yy",ct),pt("yyy",ct),pt("yyyy",ct),pt("yo",(function(t,e){return e._eraYearOrdinalRegex||ct})),wt(["y","yy","yyy","yyyy"],0),wt(["yo"],(function(t,e,i){var n;i._locale._eraYearOrdinalRegex&&(n=t.match(i._locale._eraYearOrdinalRegex)),e[0]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,n):parseInt(t,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),_("weekYear","gg"),_("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),pt("G",mt),pt("g",mt),pt("GG",at,it),pt("gg",at,it),pt("GGGG",dt,rt),pt("gggg",dt,rt),pt("GGGGG",lt,st),pt("ggggg",lt,st),Dt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,i,n){e[n.substr(0,2)]=K(t)})),Dt(["gg","GG"],(function(t,e,i,n){e[n]=o.parseTwoDigitYear(t)})),B("Q",0,"Qo","quarter"),_("quarter","Q"),U("quarter",7),pt("Q",et),wt("Q",(function(t,e){e[1]=3*(K(t)-1)})),B("D",["DD",2],"Do","date"),_("date","D"),U("date",9),pt("D",at),pt("DD",at,it),pt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),wt(["D","DD"],2),wt("Do",(function(t,e){e[2]=K(t.match(at)[0])}));var ci=q("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),_("dayOfYear","DDD"),U("dayOfYear",4),pt("DDD",ht),pt("DDDD",nt),wt(["DDD","DDDD"],(function(t,e,i){i._dayOfYear=K(t)})),B("m",["mm",2],0,"minute"),_("minute","m"),U("minute",14),pt("m",at),pt("mm",at,it),wt(["m","mm"],4);var mi=q("Minutes",!1);B("s",["ss",2],0,"second"),_("second","s"),U("second",15),pt("s",at),pt("ss",at,it),wt(["s","ss"],5);var fi,gi,bi=q("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),_("millisecond","ms"),U("millisecond",16),pt("S",ht,et),pt("SS",ht,it),pt("SSS",ht,nt),fi="SSSS";fi.length<=9;fi+="S")pt(fi,ct);function pi(t,e){e[6]=K(1e3*("0."+t))}for(fi="S";fi.length<=9;fi+="S")wt(fi,pi);gi=q("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var yi=k.prototype;function vi(t){return t}yi.add=$e,yi.calendar=function(t,e){1===arguments.length&&(arguments[0]?Qe(arguments[0])?(t=arguments[0],e=void 0):Xe(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var i=t||je(),n=Be(i,this).startOf("day"),r=o.calendarFormat(this,n)||"sameElse",s=e&&(R(e[r])?e[r].call(this,i):e[r]);return this.format(s||this.localeData().calendar(r,this,je(i)))},yi.clone=function(){return new k(this)},yi.diff=function(t,e,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=Be(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=I(e)){case"year":s=ti(this,n)/12;break;case"month":s=ti(this,n);break;case"quarter":s=ti(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:$(s)},yi.endOf=function(t){var e,i;if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?ai:si,t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-ri(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-ri(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-ri(e,1e3)-1}return this._d.setTime(e),o.updateOffset(this,!0),this},yi.format=function(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var e=G(this,t);return this.localeData().postformat(e)},yi.from=function(t,e){return this.isValid()&&(Y(t)&&t.isValid()||je(t).isValid())?Ie({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yi.fromNow=function(t){return this.from(je(),t)},yi.to=function(t,e){return this.isValid()&&(Y(t)&&t.isValid()||je(t).isValid())?Ie({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yi.toNow=function(t){return this.to(je(),t)},yi.get=function(t){return R(this[t=I(t)])?this[t]():this},yi.invalidAt=function(){return y(this).overflow},yi.isAfter=function(t,e){var i=Y(t)?t:je(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},yi.isBefore=function(t,e){var i=Y(t)?t:je(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},yi.isBetween=function(t,e,i,n){var r=Y(t)?t:je(t),s=Y(e)?e:je(e);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(s,i):!this.isAfter(s,i))},yi.isSame=function(t,e){var i,n=Y(t)?t:je(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},yi.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},yi.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},yi.isValid=function(){return v(this)},yi.lang=ii,yi.locale=ei,yi.localeData=ni,yi.max=xe,yi.min=Te,yi.parsingFlags=function(){return b({},y(this))},yi.set=function(t,e){if("object"==typeof t){var i,n=function(t){var e,i=[];for(e in t)d(t,e)&&i.push({unit:e,priority:P[e]});return i.sort((function(t,e){return t.priority-e.priority})),i}(t=Z(t)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](t[n[i].unit])}else if(R(this[t=I(t)]))return this[t](e);return this},yi.startOf=function(t){var e,i;if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?ai:si,t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ri(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=ri(e,6e4);break;case"second":e=this._d.valueOf(),e-=ri(e,1e3)}return this._d.setTime(e),o.updateOffset(this,!0),this},yi.subtract=Ke,yi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},yi.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},yi.toDate=function(){return new Date(this.valueOf())},yi.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||i.year()>9999?G(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",G(i,"Z")):G(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,i="moment",n="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yi.toJSON=function(){return this.isValid()?this.toISOString():null},yi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yi.unix=function(){return Math.floor(this.valueOf()/1e3)},yi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yi.eraName=function(){var t,e,i,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),n[t].since<=i&&i<=n[t].until)return n[t].name;if(n[t].until<=i&&i<=n[t].since)return n[t].name}return""},yi.eraNarrow=function(){var t,e,i,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),n[t].since<=i&&i<=n[t].until)return n[t].narrow;if(n[t].until<=i&&i<=n[t].since)return n[t].narrow}return""},yi.eraAbbr=function(){var t,e,i,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),n[t].since<=i&&i<=n[t].until)return n[t].abbr;if(n[t].until<=i&&i<=n[t].since)return n[t].abbr}return""},yi.eraYear=function(){var t,e,i,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(i=r[t].since<=r[t].until?1:-1,n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return(this.year()-o(r[t].since).year())*i+r[t].offset;return this.year()},yi.year=Ot,yi.isLeapYear=function(){return V(this.year())},yi.weekYear=function(t){return di.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},yi.isoWeekYear=function(t){return di.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},yi.quarter=yi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},yi.month=Jt,yi.daysInMonth=function(){return Yt(this.year(),this.month())},yi.week=yi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},yi.isoWeek=yi.isoWeeks=function(t){var e=Lt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},yi.weeksInYear=function(){var t=this.localeData()._week;return zt(this.year(),t.dow,t.doy)},yi.weeksInWeekYear=function(){var t=this.localeData()._week;return zt(this.weekYear(),t.dow,t.doy)},yi.isoWeeksInYear=function(){return zt(this.year(),1,4)},yi.isoWeeksInISOWeekYear=function(){return zt(this.isoWeekYear(),1,4)},yi.date=ci,yi.day=yi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},yi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},yi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},yi.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},yi.hour=yi.hours=ie,yi.minute=yi.minutes=mi,yi.second=yi.seconds=bi,yi.millisecond=yi.milliseconds=gi,yi.utcOffset=function(t,e,i){var n,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Fe(gt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Ge(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?Ve(this,Ie(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ge(this)},yi.utc=function(t){return this.utcOffset(0,t)},yi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ge(this),"m")),this},yi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Fe(ft,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},yi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?je(t).utcOffset():0,(this.utcOffset()-t)%60==0)},yi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yi.isLocal=function(){return!!this.isValid()&&!this._isUTC},yi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yi.isUtc=Le,yi.isUTC=Le,yi.zoneAbbr=function(){return this._isUTC?"UTC":""},yi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yi.dates=N("dates accessor is deprecated. Use date instead.",ci),yi.months=N("months accessor is deprecated. Use month instead",Jt),yi.years=N("years accessor is deprecated. Use year instead",Ot),yi.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),yi.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return D(e,this),(e=Ae(e))._a?(t=e._isUTC?p(e._a):je(e._a),this._isDSTShifted=this.isValid()&&function(t,e){var i,n=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),s=0;for(i=0;i<n;i++)K(t[i])!==K(e[i])&&s++;return s+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Mi=J.prototype;function Si(t,e,i,n){var r=le(),s=p().set(n,e);return r[i](s,t)}function wi(t,e,i){if(m(t)&&(e=t,t=void 0),t=t||"",null!=e)return Si(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=Si(t,n,i,"month");return r}function Di(t,e,i,n){"boolean"==typeof t?(m(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,m(e)&&(i=e,e=void 0),e=e||"");var r,s=le(),a=t?s._week.dow:0,o=[];if(null!=i)return Si(e,(i+a)%7,n,"day");for(r=0;r<7;r++)o[r]=Si(e,(r+a)%7,n,"day");return o}Mi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return R(n)?n.call(e,i):n},Mi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(H).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Mi.invalidDate=function(){return this._invalidDate},Mi.ordinal=function(t){return this._ordinal.replace("%d",t)},Mi.preparse=vi,Mi.postformat=vi,Mi.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return R(r)?r(t,e,i,n):r.replace(/%d/i,t)},Mi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return R(i)?i(e):i.replace(/%s/i,e)},Mi.set=function(t){var e,i;for(i in t)d(t,i)&&(R(e=t[i])?this[i]=e:this["_"+i]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Mi.eras=function(){var t,e,i,n=this._eras||le("en")._eras;for(t=0,e=n.length;t<e;++t){switch(typeof n[t].since){case"string":i=o(n[t].since).startOf("day"),n[t].since=i.valueOf()}switch(typeof n[t].until){case"undefined":n[t].until=1/0;break;case"string":i=o(n[t].until).startOf("day").valueOf(),n[t].until=i.valueOf()}}return n},Mi.erasParse=function(t,e,i){var n,r,s,a,o,u=this.eras();for(t=t.toUpperCase(),n=0,r=u.length;n<r;++n)if(s=u[n].name.toUpperCase(),a=u[n].abbr.toUpperCase(),o=u[n].narrow.toUpperCase(),i)switch(e){case"N":case"NN":case"NNN":if(a===t)return u[n];break;case"NNNN":if(s===t)return u[n];break;case"NNNNN":if(o===t)return u[n]}else if([s,a,o].indexOf(t)>=0)return u[n]},Mi.erasConvertYear=function(t,e){var i=t.since<=t.until?1:-1;return void 0===e?o(t.since).year():o(t.since).year()+(e-t.offset)*i},Mi.erasAbbrRegex=function(t){return d(this,"_erasAbbrRegex")||ui.call(this),t?this._erasAbbrRegex:this._erasRegex},Mi.erasNameRegex=function(t){return d(this,"_erasNameRegex")||ui.call(this),t?this._erasNameRegex:this._erasRegex},Mi.erasNarrowRegex=function(t){return d(this,"_erasNarrowRegex")||ui.call(this),t?this._erasNarrowRegex:this._erasRegex},Mi.months=function(t,e){return t?u(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||jt).test(e)?"format":"standalone"][t.month()]:u(this._months)?this._months:this._months.standalone},Mi.monthsShort=function(t,e){return t?u(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[jt.test(e)?"format":"standalone"][t.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Mi.monthsParse=function(t,e,i){var n,r,s;if(this._monthsParseExact)return Rt.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},Mi.monthsRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Wt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=xt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Mi.monthsShortRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||Wt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Tt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Mi.week=function(t){return Lt(t,this._week.dow,this._week.doy).week},Mi.firstDayOfYear=function(){return this._week.doy},Mi.firstDayOfWeek=function(){return this._week.dow},Mi.weekdays=function(t,e){var i=u(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?_t(i,this._week.dow):t?i[t.day()]:i},Mi.weekdaysMin=function(t){return!0===t?_t(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Mi.weekdaysShort=function(t){return!0===t?_t(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Mi.weekdaysParse=function(t,e,i){var n,r,s;if(this._weekdaysParseExact)return Kt.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},Mi.weekdaysRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ut),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Mi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Vt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Mi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$t),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Mi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Mi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},he("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===K(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),o.lang=N("moment.lang is deprecated. Use moment.locale instead.",he),o.langData=N("moment.langData is deprecated. Use moment.localeData instead.",le);var ki=Math.abs;function Yi(t,e,i,n){var r=Ie(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function Ai(t){return t<0?Math.floor(t):Math.ceil(t)}function Ni(t){return 4800*t/146097}function ji(t){return 146097*t/4800}function Ti(t){return function(){return this.as(t)}}var xi=Ti("ms"),Ri=Ti("s"),Ci=Ti("m"),Ji=Ti("h"),Wi=Ti("d"),Hi=Ti("w"),Oi=Ti("M"),Ei=Ti("Q"),Fi=Ti("y");function Bi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Gi=Bi("milliseconds"),Li=Bi("seconds"),zi=Bi("minutes"),_i=Bi("hours"),Ii=Bi("days"),Zi=Bi("months"),Pi=Bi("years"),Ui=Math.round,Vi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $i(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}var Ki=Math.abs;function qi(t){return(t>0)-(t<0)||+t}function Qi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i,n,r,s,a,o,u=Ki(this._milliseconds)/1e3,h=Ki(this._days),d=Ki(this._months),l=this.asSeconds();return l?(t=$(u/60),e=$(t/60),u%=60,t%=60,i=$(d/12),d%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=l<0?"-":"",s=qi(this._months)!==qi(l)?"-":"",a=qi(this._days)!==qi(l)?"-":"",o=qi(this._milliseconds)!==qi(l)?"-":"",r+"P"+(i?s+i+"Y":"")+(d?s+d+"M":"")+(h?a+h+"D":"")+(e||t||u?"T":"")+(e?o+e+"H":"")+(t?o+t+"M":"")+(u?o+n+"S":"")):"P0D"}var Xi=Je.prototype;Xi.isValid=function(){return this._isValid},Xi.abs=function(){var t=this._data;return this._milliseconds=ki(this._milliseconds),this._days=ki(this._days),this._months=ki(this._months),t.milliseconds=ki(t.milliseconds),t.seconds=ki(t.seconds),t.minutes=ki(t.minutes),t.hours=ki(t.hours),t.months=ki(t.months),t.years=ki(t.years),this},Xi.add=function(t,e){return Yi(this,t,e,1)},Xi.subtract=function(t,e){return Yi(this,t,e,-1)},Xi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=I(t))||"quarter"===t||"year"===t)switch(i=this._months+Ni(e=this._days+n/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(ji(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Xi.asMilliseconds=xi,Xi.asSeconds=Ri,Xi.asMinutes=Ci,Xi.asHours=Ji,Xi.asDays=Wi,Xi.asWeeks=Hi,Xi.asMonths=Oi,Xi.asQuarters=Ei,Xi.asYears=Fi,Xi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*K(this._months/12):NaN},Xi._bubble=function(){var t,e,i,n,r,s=this._milliseconds,a=this._days,o=this._months,u=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Ai(ji(o)+a),a=0,o=0),u.milliseconds=s%1e3,t=$(s/1e3),u.seconds=t%60,e=$(t/60),u.minutes=e%60,i=$(e/60),u.hours=i%24,a+=$(i/24),o+=r=$(Ni(a)),a-=Ai(ji(r)),n=$(o/12),o%=12,u.days=a,u.months=o,u.years=n,this},Xi.clone=function(){return Ie(this)},Xi.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},Xi.milliseconds=Gi,Xi.seconds=Li,Xi.minutes=zi,Xi.hours=_i,Xi.days=Ii,Xi.weeks=function(){return $(this.days()/7)},Xi.months=Zi,Xi.years=Pi,Xi.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var i,n,r=!1,s=Vi;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},Vi,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),n=function(t,e,i,n){var r=Ie(t).abs(),s=Ui(r.as("s")),a=Ui(r.as("m")),o=Ui(r.as("h")),u=Ui(r.as("d")),h=Ui(r.as("M")),d=Ui(r.as("w")),l=Ui(r.as("y")),c=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||a<=1&&["m"]||a<i.m&&["mm",a]||o<=1&&["h"]||o<i.h&&["hh",o]||u<=1&&["d"]||u<i.d&&["dd",u];return null!=i.w&&(c=c||d<=1&&["w"]||d<i.w&&["ww",d]),(c=c||h<=1&&["M"]||h<i.M&&["MM",h]||l<=1&&["y"]||["yy",l])[2]=e,c[3]=+t>0,c[4]=n,$i.apply(null,c)}(this,!r,s,i=this.localeData()),r&&(n=i.pastFuture(+this,n)),i.postformat(n)},Xi.toISOString=Qi,Xi.toString=Qi,Xi.toJSON=Qi,Xi.locale=ei,Xi.localeData=ni,Xi.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qi),Xi.lang=ii,B("X",0,0,"unix"),B("x",0,0,"valueOf"),pt("x",mt),pt("X",/[+-]?\d+(\.\d{1,3})?/),wt("X",(function(t,e,i){i._d=new Date(1e3*parseFloat(t))})),wt("x",(function(t,e,i){i._d=new Date(K(t))})),
|
|
8
|
-
//! moment.js
|
|
9
|
-
o.version="2.29.4",s=je,o.fn=yi,o.min=function(){var t=[].slice.call(arguments,0);return Re("isBefore",t)},o.max=function(){var t=[].slice.call(arguments,0);return Re("isAfter",t)},o.now=function(){return Date.now?Date.now():+new Date},o.utc=p,o.unix=function(t){return je(1e3*t)},o.months=function(t,e){return wi(t,e,"months")},o.isDate=f,o.locale=he,o.invalid=M,o.duration=Ie,o.isMoment=Y,o.weekdays=function(t,e,i){return Di(t,e,i,"weekdays")},o.parseZone=function(){return je.apply(null,arguments).parseZone()},o.localeData=le,o.isDuration=We,o.monthsShort=function(t,e){return wi(t,e,"monthsShort")},o.weekdaysMin=function(t,e,i){return Di(t,e,i,"weekdaysMin")},o.defineLocale=de,o.updateLocale=function(t,e){if(null!=e){var i,n,r=ne;null!=re[t]&&null!=re[t].parentLocale?re[t].set(C(re[t]._config,e)):(null!=(n=ue(t))&&(r=n._config),e=C(r,e),null==n&&(e.abbr=t),(i=new J(e)).parentLocale=re[t],re[t]=i),he(t)}else null!=re[t]&&(null!=re[t].parentLocale?(re[t]=re[t].parentLocale,t===he()&&he(t)):null!=re[t]&&delete re[t]);return re[t]},o.locales=function(){return j(re)},o.weekdaysShort=function(t,e,i){return Di(t,e,i,"weekdaysShort")},o.normalizeUnits=I,o.relativeTimeRounding=function(t){return void 0===t?Ui:"function"==typeof t&&(Ui=t,!0)},o.relativeTimeThreshold=function(t,e){return void 0!==Vi[t]&&(void 0===e?Vi[t]:(Vi[t]=e,"s"===t&&(Vi.ss=e-1),!0))},o.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},o.prototype=yi,o.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 tn=class{constructor(e){t(this,e),this.shortstartformat="DD MMM YYYY",this.showDate=!0,this.showRunningDate=!1,this.showCheck=!1,this.cardMode=!1,this.showReadMore=!1,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1}watchLanguage(t,e){t&&t!=e&&this.getDuration()}infoCompletedHandler(t){t.detail&&this.useEvent&&(this.state=t.detail.state,this.stateText=this.getStateText(this.state),this.enrolled=t.detail.playerEnrolled,this.startTime=t.detail.startTime,this.thumbnail=t.detail.thumbnail,this.tournamentId=t.detail.id,this.startTime&&this.formatDate())}userEnrolledHandler(t){t.detail&&this.tournamentId===t.detail.tournamentId&&(this.enrolled=t.detail.userenrolled)}getDateTimeDiff(t,e){return(new Date(e).getTime()-new Date(t).getTime())/6e4}getTextByDiff(t){if(t<1440){const e=t%60;return[t/60,e,60*(e-Math.floor(e))].map((t=>(t=>{const e=Math.floor(t);return e<10?`0${e}`:`${e}`})(t))).join(":")}return(t=>" - "+t+" "+r("days",this.language))(Math.ceil(t/1440))}getDuration(){const t=new Date;this.tournamentLeftDays=this.getDateTimeDiff(t,this.endTime),this.showRemain=this.getTextByDiff(this.tournamentLeftDays)}getStateText(t){let e="";switch(t){case"Upcoming":case"Unstarted":e=r("scheduled",this.language);break;case"Running":e=r("ongoing",this.language);break;default:e=r("finished",this.language)}return e}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}setClientStyling(){const t=new CSSStyleSheet;t.replace(this.clientStyling),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,t]}setClientStylingURL(){let t=new URL(this.clientStylingUrl);fetch(t.href).then((t=>t.text())).then((t=>{const e=new CSSStyleSheet;e.replace(t),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,e]}))}formatDate(){const t={month:"long"};let e=new Date(this.startTime);const i=()=>r("Running"===this.state||"Closing"==this.state||"Closed"==this.state?"startedAt":"startingAt",this.language);if(this.shortStart){let t=o(e).format(this.shortstartformat);this.startdate="Running"===this.state||"Closing"==this.state||"Closed"==this.state?r("startedAtWithTime",this.language)+t:r("startingAtWithTime",this.language)+t}else{let n=new Intl.DateTimeFormat("en",t).format(e),s=e.getDate(),a=e.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});this.startdate=`${s} `+r(`${n}`,this.language)+", "+i()+` ${a}`}}componentWillLoad(){var t;this.translationData&&(t=JSON.parse(this.translationData),Object.keys(t).forEach((e=>{for(let i in t[e])n[e][i]=t[e][i]})),this.state&&(this.stateText=this.getStateText(this.state))),!this.useEvent&&this.startTime&&this.formatDate(),this.state&&(this.stateText=this.getStateText(this.state)),this.startTime&&this.endTime&&(this.getDuration(),this.getTextByDiff(this.tournamentLeftDays)),this.tournamentLeftDays<1440&&this.tournamentLeftDays>0?this.durationInterval=window.setInterval((()=>{this.startTime&&this.endTime&&this.getDuration()}),1e3):clearInterval(this.durationInterval)}termsClick(t){window.postMessage({type:"TournamentTermsConditions",tournamentId:t},window.location.href)}render(){return e("div",{class:"TournamentBannerWrap"},this.thumbnail&&e("div",{class:"TournamentBanner",part:"TournamentBanner"},e("img",{src:this.thumbnail,alt:"",class:`TournamentBannerBg ${this.cardMode&&this.state?this.state:""}`}),!this.cardMode&&e("div",{class:"TournamentBannerInfo",part:"TournamentBannerInfo"},e("div",{class:"BannerInfo",part:"BannerInfo"},e("span",{class:`Tag State ${this.state}`},this.stateText)),e("div",{class:"BannerInfo",part:"BannerInfo"},this.showDate&&e("span",{class:"Tag Date"},this.showCalendar&&e("svg",{class:"CalendarIcon",width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.1 1.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405 1.4 0 1.805 0 2.3V9.5C0 9.995 0.405 10.4 0.9 10.4H8.1C8.595 10.4 9 9.995 9 9.5V2.3C9 1.805 8.595 1.4 8.1 1.4ZM8.10003 9.5H0.900027V4.55H8.10003V9.5ZM0.900027 3.65005H8.10003V2.30005H0.900027V3.65005Z",fill:"#1E1616"})),this.startdate)),e("div",{class:"BannerInfo",part:"BannerInfo"},this.enrolled&&e("span",{class:"Tag Enroll"},this.showCheck&&e("svg",{class:"EnrollCheck",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e("path",{d:"M4.50008 8.08492L2.41508 5.99992L1.70508 6.70492L4.50008 9.49992L10.5001 3.49992L9.79508 2.79492L4.50008 8.08492Z",fill:"white"})),r("enrolled",this.language)))),this.cardMode&&e("div",{class:"TournamentBannerThumb",part:"TournamentBannerThumb"},e("div",{class:"ThumbTitle",part:"ThumbTitle"},r("tournament",this.language)),e("div",{class:"ThumbName",part:"ThumbName"},this.nameOrTitle),e("div",{class:"ThumbState"},this.session&&this.enrolled?e("span",{class:"Tag Join"},e("svg",{class:"EnrollCheck",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},e("path",{d:"M4.50008 8.08492L2.41508 5.99992L1.70508 6.70492L4.50008 9.49992L10.5001 3.49992L9.79508 2.79492L4.50008 8.08492Z",fill:"white"})),r("joined",this.language)):this.session&&"Closed"!=this.state&&e("span",{class:"Tag Join"},e("svg",{class:"JoinPlus",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13",viewBox:"0 0 12 13",fill:"none"},e("path",{d:"M9.5 6.8335H6.5V9.8335H5.5V6.8335H2.5V5.8335H5.5V2.8335H6.5V5.8335H9.5V6.8335Z",fill:"white"})),r("join",this.language)),"Running"==this.state&&e("span",{class:`Tag State ${this.state}`},this.stateText,this.showRunningDate&&e("span",{class:"TagRemain"},this.showRemain," ",r("left",this.language))),("Unstarted"==this.state||"Upcoming"==this.state||"Closed"==this.state)&&e("span",{class:`Tag Date ${this.state}`},this.showCalendar&&e("svg",{class:"CalendarIcon",width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.1 1.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405 1.4 0 1.805 0 2.3V9.5C0 9.995 0.405 10.4 0.9 10.4H8.1C8.595 10.4 9 9.995 9 9.5V2.3C9 1.805 8.595 1.4 8.1 1.4ZM8.10003 9.5H0.900027V4.55H8.10003V9.5ZM0.900027 3.65005H8.10003V2.30005H0.900027V3.65005Z",fill:"#1E1616"})),this.startdate)),e("div",{class:"ThumbButtons"},e("casino-tournament-buttons",{enrolled:this.enrolled,session:this.session,endpoint:this.endpoint,language:this.language,"tournament-id":this.tournamentId,"login-event":this.loginEvent,"login-url":this.loginUrl,"register-event":this.registerEvent,"register-url":this.registerUrl,currency:this.currency,"bonus-code":this.bonusCode,"show-read-more":this.showReadMore,"client-styling":this.clientStyling,"client-styling-url":this.clientStylingUrl,"translation-data":this.translationData})),e("div",{class:"ThumbTC"},e("span",{onClick:this.termsClick.bind(this,this.tournamentId)},r("terms",this.language))))))}get host(){return i(this)}static get watchers(){return{language:["watchLanguage"]}}};tn.style=":host{display:block}.TournamentBannerWrap{height:100%}.TournamentBanner{position:relative;width:100%;height:100%;overflow:hidden}.TournamentBannerBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.TournamentBannerBg.Closed{filter:grayscale(1)}.TournamentBannerInfo{position:absolute;top:0;left:0;width:100%;height:100%;color:#fff;display:flex;justify-content:space-between}.BannerInfo{margin:10px}.Tag{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:6px;font-size:10px;display:flex;align-items:center;height:13px}.Tag.Closed{filter:grayscale(1)}.TagRemain{text-indent:5px}.Date{gap:4px;background:#FF7500;color:#1A2C38}.State{background:#D0046C}.Enroll{color:#fff;background:#24834B}.EnrollCheck{margin-right:4px}.Join{background:#6C757D}.Running{background:#1A2C38}.CalendarIcon path{fill:#1A2C38}.TournamentBannerThumb{position:absolute;top:0;left:0;width:100%;height:100%;padding:12px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;box-sizing:border-box}.ThumbTitle{font-size:14px}.ThumbState{display:flex;gap:4px}.ThumbName{font-size:22px}.ThumbTC{font-size:8px;color:#fff;cursor:pointer}.ThumbButtons{display:flex;gap:4px}";const en={en:{joined:"Joined",join:"Join",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 ",startedAtWithTime:"Started ",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",login:"Log in",register:"Register",details:"Details",joinerror:"An error occurred while registering in the tournament, please try again."},"zh-hk":{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:"十二月",login:"登錄",register:"登記",details:"細節",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{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",login:"Connexion",register:"Enregistre",details:"Détails",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - "},ro:{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:",startingAtWithTime:"Începând de",startedAtWithTime:"A inceput:",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",login:"Autentificare",register:"Înregistrare",details:"Detalii",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{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",login:"Giriş",register:"Kayıt Ol",details:"Detaylar",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - "},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις ",startedAtWithTime:"Άρχισε στις ",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου",login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{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",login:"Iniciar sesión",register:"Regístrate",details:"Detalles",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},pt:{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",login:"Entrar",register:"Registro",details:"Detalhes",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -"},hu:{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",login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},hr:{joined:"Pridružen",enrolled:"Upisan",scoreCriteria:"Kriteriji bodovanja",minbet:"minimalni broj beta",seegames:"Možete vidjeti igre",here:"Ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Gotovo",startingAt:"S početkom u",startedAt:"Započelo u",startingAtWithTime:"Počinje ",startedAtWithTime:"Započelo ",mostRounds:"Najviše rundi",betCount:"Broj betova",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",login:"Prijaviti se",register:"Registracija",details:"Detalji",join:"join",joinerror:"Došlo je do pogreške prilikom registracije na turnir, pokušajte ponovno.",left:"lijevo",minutes:"minute",hours:"sati",days:"dani"}},nn=(t,e)=>{var i,n;return(null===(i=en[e])||void 0===i?void 0:i[t])||(null===(n=en.en)||void 0===n?void 0:n[t])},rn=class{constructor(e){t(this,e),this.enrolled=!1,this.showReadMore=!1,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1,this.joinButtonLoading=!1,this.errorJoin=!1,this.errorJoinConcurrently=!1}componentWillLoad(){var t;this.translationData&&(t=JSON.parse(this.translationData),Object.keys(t).forEach((e=>{for(let i in t[e])en[e][i]=t[e][i]})))}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}setClientStyling(){const t=new CSSStyleSheet;t.replace(this.clientStyling),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,t]}setClientStylingURL(){let t=new URL(this.clientStylingUrl);fetch(t.href).then((t=>t.text())).then((t=>{const e=new CSSStyleSheet;e.replace(t),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,e]}))}loginAction(){this.loginEvent&&(window.postMessage({type:this.loginEvent,transition:"Login"},window.location.href),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),this.loginUrl&&(location.href=this.loginUrl)}registerAction(){this.registerEvent&&(window.postMessage({type:this.registerEvent,transition:"Register"},window.location.href),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),this.registerUrl&&(location.href=this.registerUrl)}async joinAction(t,e){var i;this.errorJoin=!1,this.errorJoinConcurrently=!1,window.postMessage({type:"TournamentJoinRequest",tournamentId:t},window.location.href),this.joinButtonLoading=!0;let n=new URL(`${this.endpoint}/v1/bonus/claim`),r=new Headers,s={};n.searchParams.append("language",this.language),n.searchParams.append("platform",(()=>{let t=window.navigator.userAgent;return t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"})()),r.append("Content-Type","application/json"),r.append("X-SessionID",this.session),e&&(s={language:this.language,bonusCode:e,currency:this.currency});let a={method:"PUT",headers:r,body:JSON.stringify(s)};const o=()=>{this.joinButtonLoading=!1,this.enrolled=!0,window.postMessage({type:"TournamentUserEnrolled",userenrolled:this.enrolled},window.location.href)},u=()=>{this.joinButtonLoading=!1,this.errorJoin=!0},h=await(async()=>{let t;try{t=await fetch(`${this.endpoint}/v1/bonus/claim?${n.searchParams.toString()}`,a),t=await t.json()}catch(t){u()}return t})();if(h)if(1==h.success)o();else if(h.errorMessage.match("VersionMismatchException")){let t;t=await fetch(`${this.endpoint}/v1/tournaments/${this.tournamentId}`,{headers:{"X-SessionID":this.session}}),t=await t.json(),(null===(i=null==t?void 0:t.item)||void 0===i?void 0:i.playerEnrolled)?o():(u(),this.errorJoinConcurrently=!0,this.errorJoin=!1)}else u()}detailAction(t){window.postMessage({type:"TournamentDetailsClicked",tournamentId:t,showLeaderboard:!0},window.location.href)}moreAction(t){window.postMessage({type:"TournamentReadMoreClicked",tournamentId:t},window.location.href)}render(){return e("div",{class:"TournamentButtons"},!this.session&&e("div",{class:"ButtonGroup"},e("button",{class:"LoginButton Button",part:"LoginButton",onClick:()=>this.loginAction()},nn("login",this.language)),e("button",{class:"RegisterButton Button",part:"RegisterButton",onClick:()=>this.registerAction()},nn("register",this.language))),this.session&&e("div",null,!this.enrolled&&e("div",{class:"ButtonGroup"},e("button",{class:"Button",onClick:()=>this.joinAction(this.tournamentId,this.bonusCode)},nn("join",this.language)),this.showReadMore&&e("button",{class:"Button NoBorder",onClick:()=>this.moreAction(this.tournamentId)},nn("readmore",this.language))),this.enrolled&&e("div",{class:"ButtonGroup"},e("button",{class:"Button",onClick:()=>this.detailAction(this.tournamentId)},nn("details",this.language)),this.showReadMore&&e("button",{class:"Button NoBorder",onClick:()=>this.moreAction(this.tournamentId)},nn("readmore",this.language)))),(this.errorJoin||this.errorJoinConcurrently)&&e("span",{class:"ErrorText",part:"ErrorText"},nn("joinerror",this.language)))}get host(){return i(this)}};rn.style=':host{display:block}.ButtonGroup{display:flex;gap:4px}.Button{padding:6px 8px;border-radius:2px;border:1px solid #fff;color:#fff;background:none;position:relative;cursor:pointer}.Button.NoBorder{border:0;padding:7px 8px}.Button::after{content:"";display:block;position:absolute;border-radius:2px;left:0;top:0;width:100%;height:100%;opacity:0;transition:all 0.5s;box-shadow:0 0 10px 10px white}.Button:active::after{box-shadow:0 0 0 0 white;position:absolute;border-radius:2px;left:0;top:0;opacity:1;transition:0s}.Button:active{top:1px}';export{tn as casino_tournament_banner,rn as casino_tournament_buttons}
|