@everymatrix/casino-tournament-info 1.63.3 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-tournament-info/casino-tournament-info.esm.js +1 -1
- package/dist/casino-tournament-info/{p-b98c7d65.entry.js → p-8d98e1ff.entry.js} +2 -2
- package/dist/cjs/casino-tournament-buttons_4.cjs.entry.js +1 -1
- package/dist/collection/components/casino-tournament-info/casino-tournament-info.css +1 -1
- package/dist/esm/casino-tournament-buttons_4.entry.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as e}from"./p-be81e2d9.js";export{s as setNonce}from"./p-be81e2d9.js";import{g as n}from"./p-e1255160.js";(()=>{const e=import.meta.url,n={};return""!==e&&(n.resourcesUrl=new URL(".",e).href),t(n)})().then((async t=>(await n(),e([["p-
|
|
1
|
+
import{p as t,b as e}from"./p-be81e2d9.js";export{s as setNonce}from"./p-be81e2d9.js";import{g as n}from"./p-e1255160.js";(()=>{const e=import.meta.url,n={};return""!==e&&(n.resourcesUrl=new URL(".",e).href),t(n)})().then((async t=>(await n(),e([["p-8d98e1ff",[[1,"casino-tournament-info",{endpoint:[1],nameOrTitle:[1,"name-or-title"],scoreCriteria:[1,"score-criteria"],tournamentId:[1,"tournament-id"],session:[1],userId:[1,"user-id"],language:[1],termsUrl:[1,"terms-url"],keepContext:[4,"keep-context"],useGroup:[4,"use-group"],align:[1],showDates:[4,"show-dates"],showPrizes:[4,"show-prizes"],showButton:[4,"show-button"],shortStart:[4,"short-start"],seeGames:[4,"see-games"],useEvent:[4,"use-event"],startTime:[1,"start-time"],endTime:[1,"end-time"],minBetCount:[2,"min-bet-count"],prizes:[8],shortStartFormat:[1,"short-start-format"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],enrolled:[4],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"],translationUrl:[513,"translation-url"],translationData:[520,"translation-data"],limitStylingAppends:[32],startDate:[32],tournamentInfo:[32]},[[8,"getTournamentInfoCompleted","infoCompletedHandler"]]],[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]}],[1,"casino-tournament-duration",{startTime:[1,"start-time"],endTime:[1,"end-time"],status:[1],language:[1],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationData:[520,"translation-data"],tournamentUntilStartDays:[32],tournamentLeftDays:[32],showRemain:[32],limitStylingAppends:[32],durationInterval:[32]},null,{language:["watchLanguage"]}],[1,"casino-tournament-prizes",{language:[1],useGroup:[4,"use-group"],useEvent:[4,"use-event"],endpoint:[1],session:[1],rawPrizes:[1,"raw-prizes"],tournamentId:[1,"tournament-id"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],limitStylingAppends:[32],prizes:[32],prizeGroups:[32],initialLoad:[32]},[[10,"getTournamentInfoCompleted","infoCompletedHandler"]]]]]],t))));
|
|
@@ -4,6 +4,6 @@ import{r as t,c as e,h as i,g as n}from"./p-be81e2d9.js";const r={en:{joined:"Jo
|
|
|
4
4
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
5
5
|
//! license : MIT
|
|
6
6
|
//! momentjs.com
|
|
7
|
-
var m,g;function p(){return m.apply(null,arguments)}function b(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function y(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function v(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function S(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(v(t,e))return!1;return!0}function M(t){return void 0===t}function w(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function k(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function D(t,e){var i,n=[],r=t.length;for(i=0;i<r;++i)n.push(e(t[i],i));return n}function Y(t,e){for(var i in e)v(e,i)&&(t[i]=e[i]);return v(e,"toString")&&(t.toString=e.toString),v(e,"valueOf")&&(t.valueOf=e.valueOf),t}function A(t,e,i,n){return Ie(t,e,i,n,!0).utc()}function N(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 x(t){if(null==t._isValid){var e=N(t),i=g.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 F(t){var e=A(NaN);return null!=t?Y(N(e),t):N(e).userInvalidated=!0,e}g=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 R=p.momentProperties=[],z=!1;function C(t,e){var i,n,r,s=R.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=N(e)),M(e._locale)||(t._locale=e._locale),s>0)for(i=0;i<s;i++)M(r=e[n=R[i]])||(t[n]=r);return t}function T(t){C(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,p.updateOffset(this),z=!1)}function j(t){return t instanceof T||null!=t&&null!=t._isAMomentObject}function W(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function J(t,e){var i=!0;return Y((function(){if(null!=p.deprecationHandler&&p.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])v(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[r];a.push(n)}W(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)}),e)}var P,O={};function G(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),O[t]||(W(e),O[t]=!0)}function E(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function H(t,e){var i,n=Y({},t);for(i in e)v(e,i)&&(y(t[i])&&y(e[i])?(n[i]={},Y(n[i],t[i]),Y(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)v(t,i)&&!v(e,i)&&y(t[i])&&(n[i]=Y({},n[i]));return n}function L(t){null!=t&&this.set(t)}function _(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}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null,P=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)v(t,e)&&i.push(e);return i};var B=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Z={},U={};function $(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(U[t]=r),e&&(U[e[0]]=function(){return _(r.apply(this,arguments),e[1],e[2])}),i&&(U[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function V(t,e){return t.isValid()?(e=K(e,t.localeData()),Z[e]=Z[e]||function(t){var e,i,n,r=t.match(B);for(e=0,i=r.length;e<i;e++)r[e]=U[r[e]]?U[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+=E(r[n])?r[n].call(e,t):r[n];return s}}(e),Z[e](t)):t.localeData().invalidDate()}function K(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(I.lastIndex=0;i>=0&&I.test(t);)t=t.replace(I,n),I.lastIndex=0,i-=1;return t}var q={};function Q(t,e){var i=t.toLowerCase();q[i]=q[i+"s"]=q[e]=t}function X(t){return"string"==typeof t?q[t]||q[t.toLowerCase()]:void 0}function tt(t){var e,i,n={};for(i in t)v(t,i)&&(e=X(i))&&(n[e]=t[i]);return n}var et={};function it(t,e){et[t]=e}function nt(t){return t%4==0&&t%100!=0||t%400==0}function rt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function st(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=rt(e)),i}function at(t,e){return function(i){return null!=i?(ut(this,t,i),p.updateOffset(this,e),this):ot(this,t)}}function ot(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ut(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&nt(t.year())&&1===t.month()&&29===t.date()?(i=st(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),_t(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}var ht,dt=/\d/,ct=/\d\d/,lt=/\d{3}/,ft=/\d{4}/,mt=/[+-]?\d{6}/,gt=/\d\d?/,pt=/\d\d\d\d?/,bt=/\d\d\d\d\d\d?/,yt=/\d{1,3}/,vt=/\d{1,4}/,St=/[+-]?\d{1,6}/,Mt=/\d+/,wt=/[+-]?\d+/,kt=/Z|[+-]\d\d:?\d\d/gi,Dt=/Z|[+-]\d\d(?::?\d\d)?/gi,Yt=/[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 At(t,e,i){ht[t]=E(e)?e:function(t){return t&&i?i:e}}function Nt(t,e){return v(ht,t)?ht[t](e._strict,e._locale):new RegExp(xt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,i,n,r){return e||i||n||r}))))}function xt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ht={};var Ft={};function Rt(t,e){var i,n,r=e;for("string"==typeof t&&(t=[t]),w(e)&&(r=function(t,i){i[e]=st(t)}),n=t.length,i=0;i<n;i++)Ft[t[i]]=r}function zt(t,e){Rt(t,(function(t,i,n,r){n._w=n._w||{},e(t,n._w,n,r)}))}function Ct(t,e,i){null!=e&&v(Ft,t)&&Ft[t](e,i._a,i,t)}var Tt,jt=0,Wt=1,Jt=2,Pt=3,Ot=4,Gt=5,Et=6,Ht=7,Lt=8;function _t(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?nt(t)?29:28:31-i%7%2}Tt=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},$("M",["MM",2],"Mo",(function(){return this.month()+1})),$("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),$("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Q("month","M"),it("month",8),At("M",gt),At("MM",gt,ct),At("MMM",(function(t,e){return e.monthsShortRegex(t)})),At("MMMM",(function(t,e){return e.monthsRegex(t)})),Rt(["M","MM"],(function(t,e){e[Wt]=st(t)-1})),Rt(["MMM","MMMM"],(function(t,e,i,n){var r=i._locale.monthsParse(t,n,i._strict);null!=r?e[Wt]=r:N(i).invalidMonth=t}));var Bt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ut=Yt,$t=Yt;function Vt(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=A([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))||-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))||-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null}function Kt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=st(e);else if(!w(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),_t(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function qt(t){return null!=t?(Kt(this,t),p.updateOffset(this,!0),this):ot(this,"Month")}function Qt(){function t(t,e){return e.length-t.length}var e,i,n=[],r=[],s=[];for(e=0;e<12;e++)i=A([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]=xt(n[e]),r[e]=xt(r[e]);for(e=0;e<24;e++)s[e]=xt(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 Xt(t){return nt(t)?366:365}$("Y",0,0,(function(){var t=this.year();return t<=9999?_(t,4):"+"+t})),$(0,["YY",2],0,(function(){return this.year()%100})),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),Q("year","y"),it("year",1),At("Y",wt),At("YY",gt,ct),At("YYYY",vt,ft),At("YYYYY",St,mt),At("YYYYYY",St,mt),Rt(["YYYYY","YYYYYY"],jt),Rt("YYYY",(function(t,e){e[jt]=2===t.length?p.parseTwoDigitYear(t):st(t)})),Rt("YY",(function(t,e){e[jt]=p.parseTwoDigitYear(t)})),Rt("Y",(function(t,e){e[jt]=parseInt(t,10)})),p.parseTwoDigitYear=function(t){return st(t)+(st(t)>68?1900:2e3)};var te=at("FullYear",!0);function ee(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 ie(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 ne(t,e,i){var n=7+e-i;return-(7+ie(t,0,n).getUTCDay()-e)%7+n-1}function re(t,e,i,n,r){var s,a,o=1+7*(e-1)+(7+i-n)%7+ne(t,n,r);return o<=0?a=Xt(s=t-1)+o:o>Xt(t)?(s=t+1,a=o-Xt(t)):(s=t,a=o),{year:s,dayOfYear:a}}function se(t,e,i){var n,r,s=ne(t.year(),e,i),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?n=a+ae(r=t.year()-1,e,i):a>ae(t.year(),e,i)?(n=a-ae(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function ae(t,e,i){var n=ne(t,e,i),r=ne(t+1,e,i);return(Xt(t)-n+r)/7}function oe(t,e){return t.slice(e,7).concat(t.slice(0,e))}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),Q("week","w"),Q("isoWeek","W"),it("week",5),it("isoWeek",5),At("w",gt),At("ww",gt,ct),At("W",gt),At("WW",gt,ct),zt(["w","ww","W","WW"],(function(t,e,i,n){e[n.substr(0,1)]=st(t)})),$("d",0,"do","day"),$("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),$("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),$("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),Q("day","d"),Q("weekday","e"),Q("isoWeekday","E"),it("day",11),it("weekday",11),it("isoWeekday",11),At("d",gt),At("e",gt),At("E",gt),At("dd",(function(t,e){return e.weekdaysMinRegex(t)})),At("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),At("dddd",(function(t,e){return e.weekdaysRegex(t)})),zt(["dd","ddd","dddd"],(function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:N(i).invalidWeekday=t})),zt(["d","e","E"],(function(t,e,i,n){e[n]=st(t)}));var ue="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),he="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),de="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ce=Yt,le=Yt,fe=Yt;function me(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=A([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=Tt.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))||-1!==(r=Tt.call(this._shortWeekdaysParse,a))||-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))||-1!==(r=Tt.call(this._weekdaysParse,a))||-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))||-1!==(r=Tt.call(this._weekdaysParse,a))||-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null}function ge(){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=A([2e3,1]).day(e),n=xt(this.weekdaysMin(i,"")),r=xt(this.weekdaysShort(i,"")),s=xt(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 pe(){return this.hours()%12||12}function be(t,e){$(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function ye(t,e){return e._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,pe),$("k",["kk",2],0,(function(){return this.hours()||24})),$("hmm",0,0,(function(){return""+pe.apply(this)+_(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+pe.apply(this)+_(this.minutes(),2)+_(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+_(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+_(this.minutes(),2)+_(this.seconds(),2)})),be("a",!0),be("A",!1),Q("hour","h"),it("hour",13),At("a",ye),At("A",ye),At("H",gt),At("h",gt),At("k",gt),At("HH",gt,ct),At("hh",gt,ct),At("kk",gt,ct),At("hmm",pt),At("hmmss",bt),At("Hmm",pt),At("Hmmss",bt),Rt(["H","HH"],Pt),Rt(["k","kk"],(function(t,e){var i=st(t);e[Pt]=24===i?0:i})),Rt(["a","A"],(function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),Rt(["h","hh"],(function(t,e,i){e[Pt]=st(t),N(i).bigHour=!0})),Rt("hmm",(function(t,e,i){var n=t.length-2;e[Pt]=st(t.substr(0,n)),e[Ot]=st(t.substr(n)),N(i).bigHour=!0})),Rt("hmmss",(function(t,e,i){var n=t.length-4,r=t.length-2;e[Pt]=st(t.substr(0,n)),e[Ot]=st(t.substr(n,2)),e[Gt]=st(t.substr(r)),N(i).bigHour=!0})),Rt("Hmm",(function(t,e){var i=t.length-2;e[Pt]=st(t.substr(0,i)),e[Ot]=st(t.substr(i))})),Rt("Hmmss",(function(t,e){var i=t.length-4,n=t.length-2;e[Pt]=st(t.substr(0,i)),e[Ot]=st(t.substr(i,2)),e[Gt]=st(t.substr(n))}));var ve,Se=at("Hours",!0),Me={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:Bt,monthsShort:It,week:{dow:0,doy:6},weekdays:ue,weekdaysMin:de,weekdaysShort:he,meridiemParse:/[ap]\.?m?\.?/i},we={},ke={};function De(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 Ye(t){return t?t.toLowerCase().replace("_","-"):t}function Ae(t){var e=null;if(void 0===we[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=ve._abbr,require("./locale/"+t),Ne(e)}catch(e){we[t]=null}return we[t]}function Ne(t,e){var i;return t&&((i=M(e)?Fe(t):xe(t,e))?ve=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ve._abbr}function xe(t,e){if(null!==e){var i,n=Me;if(e.abbr=t,null!=we[t])G("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=we[t]._config;else if(null!=e.parentLocale)if(null!=we[e.parentLocale])n=we[e.parentLocale]._config;else{if(null==(i=Ae(e.parentLocale)))return ke[e.parentLocale]||(ke[e.parentLocale]=[]),ke[e.parentLocale].push({name:t,config:e}),null;n=i._config}return we[t]=new L(H(n,e)),ke[t]&&ke[t].forEach((function(t){xe(t.name,t.config)})),Ne(t),we[t]}return delete we[t],null}function Fe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ve;if(!b(t)){if(e=Ae(t))return e;t=[t]}return function(t){for(var e,i,n,r,s=0;s<t.length;){for(e=(r=Ye(t[s]).split("-")).length,i=(i=Ye(t[s+1]))?i.split("-"):null;e>0;){if(n=Ae(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&De(r,i)>=e-1)break;e--}s++}return ve}(t)}function Re(t){var e,i=t._a;return i&&-2===N(t).overflow&&(e=i[Wt]<0||i[Wt]>11?Wt:i[Jt]<1||i[Jt]>_t(i[jt],i[Wt])?Jt:i[Pt]<0||i[Pt]>24||24===i[Pt]&&(0!==i[Ot]||0!==i[Gt]||0!==i[Et])?Pt:i[Ot]<0||i[Ot]>59?Ot:i[Gt]<0||i[Gt]>59?Gt:i[Et]<0||i[Et]>999?Et:-1,N(t)._overflowDayOfYear&&(e<jt||e>Jt)&&(e=Jt),N(t)._overflowWeeks&&-1===e&&(e=Ht),N(t)._overflowWeekday&&-1===e&&(e=Lt),N(t).overflow=e),t}var ze=/^\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)?)?$/,Ce=/^\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)?)?$/,Te=/Z|[+-]\d\d(?::?\d\d)?/,je=[["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]],We=[["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/]],Je=/^\/?Date\((-?\d+)/i,Pe=/^(?:(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}))$/,Oe={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ge(t){var e,i,n,r,s,a,o=t._i,u=ze.exec(o)||Ce.exec(o),h=je.length,d=We.length;if(u){for(N(t).iso=!0,e=0,i=h;e<i;e++)if(je[e][1].exec(u[1])){r=je[e][0],n=!1!==je[e][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(e=0,i=d;e<i;e++)if(We[e][1].exec(u[3])){s=(u[2]||" ")+We[e][0];break}if(null==s)return void(t._isValid=!1)}if(!n&&null!=s)return void(t._isValid=!1);if(u[4]){if(!Te.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=r+(s||"")+(a||""),_e(t)}else t._isValid=!1}function Ee(t){var e,i,n,r,s,a,o,u,h,d=Pe.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),It.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(s,10)],a&&o.push(parseInt(a,10)),!function(t,e,i){return!t||he.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(N(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 Oe[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=ie.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),N(t).rfc2822=!0}else t._isValid=!1}function He(t,e,i){return null!=t?t:null!=e?e:i}function Le(t){var e,i,n,r,s,a=[];if(!t._d){for(n=function(t){var e=new Date(p.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[Jt]&&null==t._a[Wt]&&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=He(e.GG,t._a[jt],se(Ze(),1,4).year),n=He(e.W,1),((r=He(e.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,h=se(Ze(),s,a),i=He(e.gg,t._a[jt],h.year),n=He(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>ae(i,s,a)?N(t)._overflowWeeks=!0:null!=u?N(t)._overflowWeekday=!0:(o=re(i,n,r,s,a),t._a[jt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=He(t._a[jt],n[jt]),(t._dayOfYear>Xt(s)||0===t._dayOfYear)&&(N(t)._overflowDayOfYear=!0),i=ie(s,0,t._dayOfYear),t._a[Wt]=i.getUTCMonth(),t._a[Jt]=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[Pt]&&0===t._a[Ot]&&0===t._a[Gt]&&0===t._a[Et]&&(t._nextDay=!0,t._a[Pt]=0),t._d=(t._useUTC?ie:ee).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[Pt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(N(t).weekdayMismatch=!0)}}function _e(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],N(t).empty=!0;var e,i,n,r,s,a,o,u=""+t._i,h=u.length,d=0;for(o=(n=K(t._f,t._locale).match(B)||[]).length,e=0;e<o;e++)(i=(u.match(Nt(r=n[e],t))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&N(t).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),d+=i.length),U[r]?(i?N(t).empty=!1:N(t).unusedTokens.push(r),Ct(r,i,t)):t._strict&&!i&&N(t).unusedTokens.push(r);N(t).charsLeftOver=h-d,u.length>0&&N(t).unusedInput.push(u),t._a[Pt]<=12&&!0===N(t).bigHour&&t._a[Pt]>0&&(N(t).bigHour=void 0),N(t).parsedDateParts=t._a.slice(0),N(t).meridiem=t._meridiem,t._a[Pt]=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[Pt],t._meridiem),null!==(a=N(t).era)&&(t._a[jt]=t._locale.erasConvertYear(a,t._a[jt])),Le(t),Re(t)}else Ee(t);else Ge(t)}function Be(t){var e=t._i,i=t._f;return t._locale=t._locale||Fe(t._l),null===e||void 0===i&&""===e?F({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),j(e)?new T(Re(e)):(k(e)?t._d=e:b(i)?function(t){var e,i,n,r,s,a,o=!1,u=t._f.length;if(0===u)return N(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,a=!1,e=C({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],_e(e),x(e)&&(a=!0),s+=N(e).charsLeftOver,s+=10*N(e).unusedTokens.length,N(e).score=s,o?s<n&&(n=s,i=e):(null==n||s<n||a)&&(n=s,i=e,a&&(o=!0));Y(t,i||e)}(t):i?_e(t):function(t){var e=t._i;M(e)?t._d=new Date(p.now()):k(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=Je.exec(t._i);null===e?(Ge(t),!1===t._isValid&&(delete t._isValid,Ee(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:p.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):b(e)?(t._a=D(e.slice(0),(function(t){return parseInt(t,10)})),Le(t)):y(e)?function(t){if(!t._d){var e=tt(t._i);t._a=D([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)})),Le(t)}}(t):w(e)?t._d=new Date(e):p.createFromInputFallback(t)}(t),x(t)||(t._d=null),t))}function Ie(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),(y(t)&&S(t)||b(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 T(Re(Be(a))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ze(t,e,i,n){return Ie(t,e,i,n,!1)}p.createFromInputFallback=J("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":""))})),p.ISO_8601=function(){},p.RFC_2822=function(){};var Ue=J("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ze.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:F()})),$e=J("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ze.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:F()}));function Ve(t,e){var i,n;if(1===e.length&&b(e[0])&&(e=e[0]),!e.length)return Ze();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Ke=["year","quarter","month","week","day","hour","minute","second","millisecond"];function qe(t){var e=tt(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=Ke.length;for(e in t)if(v(t,e)&&(-1===Tt.call(Ke,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;i<r;++i)if(t[Ke[i]]){if(n)return!1;parseFloat(t[Ke[i]])!==st(t[Ke[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=Fe(),this._bubble()}function Qe(t){return t instanceof qe}function Xe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ti(t,e){$(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+_(~~(t/60),2)+e+_(~~t%60,2)}))}ti("Z",":"),ti("ZZ",""),At("Z",Dt),At("ZZ",Dt),Rt(["Z","ZZ"],(function(t,e,i){i._useUTC=!0,i._tzm=ii(Dt,t)}));var ei=/([\+\-]|\d\d)/gi;function ii(t,e){var i,n,r=(e||"").match(t);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(ei)||["-",0,0])[1]+st(i[2]))?0:"+"===i[0]?n:-n}function ni(t,e){var i,n;return e._isUTC?(i=e.clone(),n=(j(t)||k(t)?t.valueOf():Ze(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),p.updateOffset(i,!1),i):Ze(t).local()}function ri(t){return-Math.round(t._d.getTimezoneOffset())}function si(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var ai=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ui(t,e){var i,n,r,s,a,o,u=t,h=null;return Qe(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:w(t)||!isNaN(+t)?(u={},e?u[e]=+t:u.milliseconds=+t):(h=ai.exec(t))?(i="-"===h[1]?-1:1,u={y:0,d:st(h[Jt])*i,h:st(h[Pt])*i,m:st(h[Ot])*i,s:st(h[Gt])*i,ms:st(Xe(1e3*h[Et]))*i}):(h=oi.exec(t))?u={y:hi(h[2],i="-"===h[1]?-1:1),M:hi(h[3],i),w:hi(h[4],i),d:hi(h[5],i),h:hi(h[6],i),m:hi(h[7],i),s:hi(h[8],i)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=Ze(u.from),a=Ze(u.to),r=s.isValid()&&a.isValid()?(a=ni(a,s),s.isBefore(a)?o=di(s,a):((o=di(a,s)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),n=new qe(u),Qe(t)&&v(t,"_locale")&&(n._locale=t._locale),Qe(t)&&v(t,"_isValid")&&(n._isValid=t._isValid),n}function hi(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function di(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 ci(t,e){return function(i,n){var r;return null===n||isNaN(+n)||(G(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),li(this,ui(i,n),t),this}}function li(t,e,i,n){var r=e._milliseconds,s=Xe(e._days),a=Xe(e._months);t.isValid()&&(n=null==n||n,a&&Kt(t,ot(t,"Month")+a*i),s&&ut(t,"Date",ot(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),n&&p.updateOffset(t,s||a))}ui.fn=qe.prototype,ui.invalid=function(){return ui(NaN)};var fi=ci(1,"add"),mi=ci(-1,"subtract");function gi(t){return"string"==typeof t||t instanceof String}function pi(t,e){if(t.date()<e.date())return-pi(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 bi(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Fe(t))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var yi=J("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 vi(){return this._locale}var Si=1e3,Mi=6e4,wi=36e5,ki=126227808e5;function Di(t,e){return(t%e+e)%e}function Yi(t,e,i){return t<100&&t>=0?new Date(t+400,e,i)-ki:new Date(t,e,i).valueOf()}function Ai(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-ki:Date.UTC(t,e,i)}function Ni(t,e){return e.erasAbbrRegex(t)}function xi(){var t,e,i=[],n=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t<e;++t)n.push(xt(a[t].name)),i.push(xt(a[t].abbr)),r.push(xt(a[t].narrow)),s.push(xt(a[t].name)),s.push(xt(a[t].abbr)),s.push(xt(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 Fi(t,e){$(0,[t,t.length],0,e)}function Ri(t,e,i,n,r){var s;return null==t?se(this,n,r).year:(e>(s=ae(t,n,r))&&(e=s),zi.call(this,t,e,i,n,r))}function zi(t,e,i,n,r){var s=re(t,e,i,n,r),a=ie(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}$("N",0,0,"eraAbbr"),$("NN",0,0,"eraAbbr"),$("NNN",0,0,"eraAbbr"),$("NNNN",0,0,"eraName"),$("NNNNN",0,0,"eraNarrow"),$("y",["y",1],"yo","eraYear"),$("y",["yy",2],0,"eraYear"),$("y",["yyy",3],0,"eraYear"),$("y",["yyyy",4],0,"eraYear"),At("N",Ni),At("NN",Ni),At("NNN",Ni),At("NNNN",(function(t,e){return e.erasNameRegex(t)})),At("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),Rt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,i,n){var r=i._locale.erasParse(t,n,i._strict);r?N(i).era=r:N(i).invalidEra=t})),At("y",Mt),At("yy",Mt),At("yyy",Mt),At("yyyy",Mt),At("yo",(function(t,e){return e._eraYearOrdinalRegex||Mt})),Rt(["y","yy","yyy","yyyy"],jt),Rt(["yo"],(function(t,e,i){var n;i._locale._eraYearOrdinalRegex&&(n=t.match(i._locale._eraYearOrdinalRegex)),e[jt]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,n):parseInt(t,10)})),$(0,["gg",2],0,(function(){return this.weekYear()%100})),$(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Fi("gggg","weekYear"),Fi("ggggg","weekYear"),Fi("GGGG","isoWeekYear"),Fi("GGGGG","isoWeekYear"),Q("weekYear","gg"),Q("isoWeekYear","GG"),it("weekYear",1),it("isoWeekYear",1),At("G",wt),At("g",wt),At("GG",gt,ct),At("gg",gt,ct),At("GGGG",vt,ft),At("gggg",vt,ft),At("GGGGG",St,mt),At("ggggg",St,mt),zt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,i,n){e[n.substr(0,2)]=st(t)})),zt(["gg","GG"],(function(t,e,i,n){e[n]=p.parseTwoDigitYear(t)})),$("Q",0,"Qo","quarter"),Q("quarter","Q"),it("quarter",7),At("Q",dt),Rt("Q",(function(t,e){e[Wt]=3*(st(t)-1)})),$("D",["DD",2],"Do","date"),Q("date","D"),it("date",9),At("D",gt),At("DD",gt,ct),At("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Rt(["D","DD"],Jt),Rt("Do",(function(t,e){e[Jt]=st(t.match(gt)[0])}));var Ci=at("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),Q("dayOfYear","DDD"),it("dayOfYear",4),At("DDD",yt),At("DDDD",lt),Rt(["DDD","DDDD"],(function(t,e,i){i._dayOfYear=st(t)})),$("m",["mm",2],0,"minute"),Q("minute","m"),it("minute",14),At("m",gt),At("mm",gt,ct),Rt(["m","mm"],Ot);var Ti=at("Minutes",!1);$("s",["ss",2],0,"second"),Q("second","s"),it("second",15),At("s",gt),At("ss",gt,ct),Rt(["s","ss"],Gt);var ji,Wi,Ji=at("Seconds",!1);for($("S",0,0,(function(){return~~(this.millisecond()/100)})),$(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),$(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),$(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),$(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),$(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),$(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Q("millisecond","ms"),it("millisecond",16),At("S",yt,dt),At("SS",yt,ct),At("SSS",yt,lt),ji="SSSS";ji.length<=9;ji+="S")At(ji,Mt);function Pi(t,e){e[Et]=st(1e3*("0."+t))}for(ji="S";ji.length<=9;ji+="S")Rt(ji,Pi);Wi=at("Milliseconds",!1),$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Oi=T.prototype;function Gi(t){return t}Oi.add=fi,Oi.calendar=function(t,e){var i;1===arguments.length&&(arguments[0]?j(i=arguments[0])||k(i)||gi(i)||w(i)||function(t){var e=b(t),i=!1;return e&&(i=0===t.filter((function(e){return!w(e)&&gi(t)})).length),e&&i}(i)||function(t){var e,i=y(t)&&!S(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||v(t,r[e]);return i&&n}(i)||null==i?(t=arguments[0],e=void 0):function(t){var e,i=y(t)&&!S(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)n=n||v(t,r[e]);return i&&n}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ze(),r=ni(n,this).startOf("day"),s=p.calendarFormat(this,r)||"sameElse",a=e&&(E(e[s])?e[s].call(this,n):e[s]);return this.format(a||this.localeData().calendar(s,this,Ze(n)))},Oi.clone=function(){return new T(this)},Oi.diff=function(t,e,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=ni(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=X(e)){case"year":s=pi(this,n)/12;break;case"month":s=pi(this,n);break;case"quarter":s=pi(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:rt(s)},Oi.endOf=function(t){var e,i;if(void 0===(t=X(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ai:Yi,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+=wi-Di(e+(this._isUTC?0:this.utcOffset()*Mi),wi)-1;break;case"minute":e=this._d.valueOf(),e+=Mi-Di(e,Mi)-1;break;case"second":e=this._d.valueOf(),e+=Si-Di(e,Si)-1}return this._d.setTime(e),p.updateOffset(this,!0),this},Oi.format=function(t){t||(t=this.isUtc()?p.defaultFormatUtc:p.defaultFormat);var e=V(this,t);return this.localeData().postformat(e)},Oi.from=function(t,e){return this.isValid()&&(j(t)&&t.isValid()||Ze(t).isValid())?ui({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Oi.fromNow=function(t){return this.from(Ze(),t)},Oi.to=function(t,e){return this.isValid()&&(j(t)&&t.isValid()||Ze(t).isValid())?ui({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Oi.toNow=function(t){return this.to(Ze(),t)},Oi.get=function(t){return E(this[t=X(t)])?this[t]():this},Oi.invalidAt=function(){return N(this).overflow},Oi.isAfter=function(t,e){var i=j(t)?t:Ze(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=X(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},Oi.isBefore=function(t,e){var i=j(t)?t:Ze(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=X(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},Oi.isBetween=function(t,e,i,n){var r=j(t)?t:Ze(t),s=j(e)?e:Ze(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))},Oi.isSame=function(t,e){var i,n=j(t)?t:Ze(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=X(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},Oi.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Oi.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Oi.isValid=function(){return x(this)},Oi.lang=yi,Oi.locale=bi,Oi.localeData=vi,Oi.max=$e,Oi.min=Ue,Oi.parsingFlags=function(){return Y({},N(this))},Oi.set=function(t,e){if("object"==typeof t){var i,n=function(t){var e,i=[];for(e in t)v(t,e)&&i.push({unit:e,priority:et[e]});return i.sort((function(t,e){return t.priority-e.priority})),i}(t=tt(t)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](t[n[i].unit])}else if(E(this[t=X(t)]))return this[t](e);return this},Oi.startOf=function(t){var e,i;if(void 0===(t=X(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ai:Yi,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-=Di(e+(this._isUTC?0:this.utcOffset()*Mi),wi);break;case"minute":e=this._d.valueOf(),e-=Di(e,Mi);break;case"second":e=this._d.valueOf(),e-=Di(e,Si)}return this._d.setTime(e),p.updateOffset(this,!0),this},Oi.subtract=mi,Oi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Oi.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()}},Oi.toDate=function(){return new Date(this.valueOf())},Oi.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?V(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(i,"Z")):V(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Oi.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&&(Oi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Oi.toJSON=function(){return this.isValid()?this.toISOString():null},Oi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Oi.unix=function(){return Math.floor(this.valueOf()/1e3)},Oi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Oi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Oi.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""},Oi.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""},Oi.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""},Oi.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()-p(r[t].since).year())*i+r[t].offset;return this.year()},Oi.year=te,Oi.isLeapYear=function(){return nt(this.year())},Oi.weekYear=function(t){return Ri.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Oi.isoWeekYear=function(t){return Ri.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Oi.quarter=Oi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Oi.month=qt,Oi.daysInMonth=function(){return _t(this.year(),this.month())},Oi.week=Oi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Oi.isoWeek=Oi.isoWeeks=function(t){var e=se(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Oi.weeksInYear=function(){var t=this.localeData()._week;return ae(this.year(),t.dow,t.doy)},Oi.weeksInWeekYear=function(){var t=this.localeData()._week;return ae(this.weekYear(),t.dow,t.doy)},Oi.isoWeeksInYear=function(){return ae(this.year(),1,4)},Oi.isoWeeksInISOWeekYear=function(){return ae(this.isoWeekYear(),1,4)},Oi.date=Ci,Oi.day=Oi.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},Oi.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")},Oi.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},Oi.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")},Oi.hour=Oi.hours=Se,Oi.minute=Oi.minutes=Ti,Oi.second=Oi.seconds=Ji,Oi.millisecond=Oi.milliseconds=Wi,Oi.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=ii(Dt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=ri(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?li(this,ui(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:ri(this)},Oi.utc=function(t){return this.utcOffset(0,t)},Oi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ri(this),"m")),this},Oi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=ii(kt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Oi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ze(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Oi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Oi.isLocal=function(){return!!this.isValid()&&!this._isUTC},Oi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Oi.isUtc=si,Oi.isUTC=si,Oi.zoneAbbr=function(){return this._isUTC?"UTC":""},Oi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Oi.dates=J("dates accessor is deprecated. Use date instead.",Ci),Oi.months=J("months accessor is deprecated. Use month instead",qt),Oi.years=J("years accessor is deprecated. Use year instead",te),Oi.zone=J("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()})),Oi.isDSTShifted=J("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 C(e,this),(e=Be(e))._a?(t=e._isUTC?A(e._a):Ze(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++)st(t[i])!==st(e[i])&&s++;return s+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Ei=L.prototype;function Hi(t,e,i,n){var r=Fe(),s=A().set(n,e);return r[i](s,t)}function Li(t,e,i){if(w(t)&&(e=t,t=void 0),t=t||"",null!=e)return Hi(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=Hi(t,n,i,"month");return r}function _i(t,e,i,n){"boolean"==typeof t?(w(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,w(e)&&(i=e,e=void 0),e=e||"");var r,s=Fe(),a=t?s._week.dow:0,o=[];if(null!=i)return Hi(e,(i+a)%7,n,"day");for(r=0;r<7;r++)o[r]=Hi(e,(r+a)%7,n,"day");return o}Ei.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return E(n)?n.call(e,i):n},Ei.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(B).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Ei.invalidDate=function(){return this._invalidDate},Ei.ordinal=function(t){return this._ordinal.replace("%d",t)},Ei.preparse=Gi,Ei.postformat=Gi,Ei.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return E(r)?r(t,e,i,n):r.replace(/%d/i,t)},Ei.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return E(i)?i(e):i.replace(/%s/i,e)},Ei.set=function(t){var e,i;for(i in t)v(t,i)&&(E(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)},Ei.eras=function(){var t,e,i,n=this._eras||Fe("en")._eras;for(t=0,e=n.length;t<e;++t)switch("string"==typeof n[t].since&&(i=p(n[t].since).startOf("day"),n[t].since=i.valueOf()),typeof n[t].until){case"undefined":n[t].until=1/0;break;case"string":i=p(n[t].until).startOf("day").valueOf(),n[t].until=i.valueOf()}return n},Ei.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]},Ei.erasConvertYear=function(t,e){var i=t.since<=t.until?1:-1;return void 0===e?p(t.since).year():p(t.since).year()+(e-t.offset)*i},Ei.erasAbbrRegex=function(t){return v(this,"_erasAbbrRegex")||xi.call(this),t?this._erasAbbrRegex:this._erasRegex},Ei.erasNameRegex=function(t){return v(this,"_erasNameRegex")||xi.call(this),t?this._erasNameRegex:this._erasRegex},Ei.erasNarrowRegex=function(t){return v(this,"_erasNarrowRegex")||xi.call(this),t?this._erasNarrowRegex:this._erasRegex},Ei.months=function(t,e){return t?b(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Zt).test(e)?"format":"standalone"][t.month()]:b(this._months)?this._months:this._months.standalone},Ei.monthsShort=function(t,e){return t?b(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Zt.test(e)?"format":"standalone"][t.month()]:b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ei.monthsParse=function(t,e,i){var n,r,s;if(this._monthsParseExact)return Vt.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=A([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}},Ei.monthsRegex=function(t){return this._monthsParseExact?(v(this,"_monthsRegex")||Qt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(v(this,"_monthsRegex")||(this._monthsRegex=$t),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Ei.monthsShortRegex=function(t){return this._monthsParseExact?(v(this,"_monthsRegex")||Qt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(v(this,"_monthsShortRegex")||(this._monthsShortRegex=Ut),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Ei.week=function(t){return se(t,this._week.dow,this._week.doy).week},Ei.firstDayOfYear=function(){return this._week.doy},Ei.firstDayOfWeek=function(){return this._week.dow},Ei.weekdays=function(t,e){var i=b(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?oe(i,this._week.dow):t?i[t.day()]:i},Ei.weekdaysMin=function(t){return!0===t?oe(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Ei.weekdaysShort=function(t){return!0===t?oe(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Ei.weekdaysParse=function(t,e,i){var n,r,s;if(this._weekdaysParseExact)return me.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=A([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}},Ei.weekdaysRegex=function(t){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ge.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(v(this,"_weekdaysRegex")||(this._weekdaysRegex=ce),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Ei.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ge.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(v(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=le),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ei.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ge.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(v(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ei.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Ei.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},Ne("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===st(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),p.lang=J("moment.lang is deprecated. Use moment.locale instead.",Ne),p.langData=J("moment.langData is deprecated. Use moment.localeData instead.",Fe);var Bi=Math.abs;function Ii(t,e,i,n){var r=ui(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function Zi(t){return t<0?Math.floor(t):Math.ceil(t)}function Ui(t){return 4800*t/146097}function $i(t){return 146097*t/4800}function Vi(t){return function(){return this.as(t)}}var Ki=Vi("ms"),qi=Vi("s"),Qi=Vi("m"),Xi=Vi("h"),tn=Vi("d"),en=Vi("w"),nn=Vi("M"),rn=Vi("Q"),sn=Vi("y");function an(t){return function(){return this.isValid()?this._data[t]:NaN}}var on=an("milliseconds"),un=an("seconds"),hn=an("minutes"),dn=an("hours"),cn=an("days"),ln=an("months"),fn=an("years"),mn=Math.round,gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function pn(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}var bn=Math.abs;function yn(t){return(t>0)-(t<0)||+t}function vn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i,n,r,s,a,o,u=bn(this._milliseconds)/1e3,h=bn(this._days),d=bn(this._months),c=this.asSeconds();return c?(t=rt(u/60),e=rt(t/60),u%=60,t%=60,i=rt(d/12),d%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=yn(this._months)!==yn(c)?"-":"",a=yn(this._days)!==yn(c)?"-":"",o=yn(this._milliseconds)!==yn(c)?"-":"",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 Sn=qe.prototype;Sn.isValid=function(){return this._isValid},Sn.abs=function(){var t=this._data;return this._milliseconds=Bi(this._milliseconds),this._days=Bi(this._days),this._months=Bi(this._months),t.milliseconds=Bi(t.milliseconds),t.seconds=Bi(t.seconds),t.minutes=Bi(t.minutes),t.hours=Bi(t.hours),t.months=Bi(t.months),t.years=Bi(t.years),this},Sn.add=function(t,e){return Ii(this,t,e,1)},Sn.subtract=function(t,e){return Ii(this,t,e,-1)},Sn.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=X(t))||"quarter"===t||"year"===t)switch(i=this._months+Ui(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($i(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)}},Sn.asMilliseconds=Ki,Sn.asSeconds=qi,Sn.asMinutes=Qi,Sn.asHours=Xi,Sn.asDays=tn,Sn.asWeeks=en,Sn.asMonths=nn,Sn.asQuarters=rn,Sn.asYears=sn,Sn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*st(this._months/12):NaN},Sn._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*Zi($i(o)+a),a=0,o=0),u.milliseconds=s%1e3,t=rt(s/1e3),u.seconds=t%60,e=rt(t/60),u.minutes=e%60,i=rt(e/60),u.hours=i%24,a+=rt(i/24),o+=r=rt(Ui(a)),a-=Zi($i(r)),n=rt(o/12),o%=12,u.days=a,u.months=o,u.years=n,this},Sn.clone=function(){return ui(this)},Sn.get=function(t){return t=X(t),this.isValid()?this[t+"s"]():NaN},Sn.milliseconds=on,Sn.seconds=un,Sn.minutes=hn,Sn.hours=dn,Sn.days=cn,Sn.weeks=function(){return rt(this.days()/7)},Sn.months=ln,Sn.years=fn,Sn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var i,n,r=!1,s=gn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},gn,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),n=function(t,e,i,n){var r=ui(t).abs(),s=mn(r.as("s")),a=mn(r.as("m")),o=mn(r.as("h")),u=mn(r.as("d")),h=mn(r.as("M")),d=mn(r.as("w")),c=mn(r.as("y")),l=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&&(l=l||d<=1&&["w"]||d<i.w&&["ww",d]),(l=l||h<=1&&["M"]||h<i.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=e,l[3]=+t>0,l[4]=n,pn.apply(null,l)}(this,!r,s,i=this.localeData()),r&&(n=i.pastFuture(+this,n)),i.postformat(n)},Sn.toISOString=vn,Sn.toString=vn,Sn.toJSON=vn,Sn.locale=bi,Sn.localeData=vi,Sn.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vn),Sn.lang=yi,$("X",0,0,"unix"),$("x",0,0,"valueOf"),At("x",wt),At("X",/[+-]?\d+(\.\d{1,3})?/),Rt("X",(function(t,e,i){i._d=new Date(1e3*parseFloat(t))})),Rt("x",(function(t,e,i){i._d=new Date(st(t))})),
|
|
7
|
+
var m,g;function p(){return m.apply(null,arguments)}function b(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function y(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function v(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function S(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(v(t,e))return!1;return!0}function w(t){return void 0===t}function M(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function k(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function D(t,e){var i,n=[],r=t.length;for(i=0;i<r;++i)n.push(e(t[i],i));return n}function Y(t,e){for(var i in e)v(e,i)&&(t[i]=e[i]);return v(e,"toString")&&(t.toString=e.toString),v(e,"valueOf")&&(t.valueOf=e.valueOf),t}function A(t,e,i,n){return Ie(t,e,i,n,!0).utc()}function N(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 x(t){if(null==t._isValid){var e=N(t),i=g.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 F(t){var e=A(NaN);return null!=t?Y(N(e),t):N(e).userInvalidated=!0,e}g=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 R=p.momentProperties=[],z=!1;function C(t,e){var i,n,r,s=R.length;if(w(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),w(e._i)||(t._i=e._i),w(e._f)||(t._f=e._f),w(e._l)||(t._l=e._l),w(e._strict)||(t._strict=e._strict),w(e._tzm)||(t._tzm=e._tzm),w(e._isUTC)||(t._isUTC=e._isUTC),w(e._offset)||(t._offset=e._offset),w(e._pf)||(t._pf=N(e)),w(e._locale)||(t._locale=e._locale),s>0)for(i=0;i<s;i++)w(r=e[n=R[i]])||(t[n]=r);return t}function T(t){C(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,p.updateOffset(this),z=!1)}function j(t){return t instanceof T||null!=t&&null!=t._isAMomentObject}function W(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function J(t,e){var i=!0;return Y((function(){if(null!=p.deprecationHandler&&p.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])v(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[r];a.push(n)}W(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)}),e)}var P,O={};function G(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),O[t]||(W(e),O[t]=!0)}function E(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function H(t,e){var i,n=Y({},t);for(i in e)v(e,i)&&(y(t[i])&&y(e[i])?(n[i]={},Y(n[i],t[i]),Y(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)v(t,i)&&!v(e,i)&&y(t[i])&&(n[i]=Y({},n[i]));return n}function L(t){null!=t&&this.set(t)}function _(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}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null,P=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)v(t,e)&&i.push(e);return i};var B=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Z={},U={};function $(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(U[t]=r),e&&(U[e[0]]=function(){return _(r.apply(this,arguments),e[1],e[2])}),i&&(U[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function V(t,e){return t.isValid()?(e=K(e,t.localeData()),Z[e]=Z[e]||function(t){var e,i,n,r=t.match(B);for(e=0,i=r.length;e<i;e++)r[e]=U[r[e]]?U[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+=E(r[n])?r[n].call(e,t):r[n];return s}}(e),Z[e](t)):t.localeData().invalidDate()}function K(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(I.lastIndex=0;i>=0&&I.test(t);)t=t.replace(I,n),I.lastIndex=0,i-=1;return t}var q={};function Q(t,e){var i=t.toLowerCase();q[i]=q[i+"s"]=q[e]=t}function X(t){return"string"==typeof t?q[t]||q[t.toLowerCase()]:void 0}function tt(t){var e,i,n={};for(i in t)v(t,i)&&(e=X(i))&&(n[e]=t[i]);return n}var et={};function it(t,e){et[t]=e}function nt(t){return t%4==0&&t%100!=0||t%400==0}function rt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function st(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=rt(e)),i}function at(t,e){return function(i){return null!=i?(ut(this,t,i),p.updateOffset(this,e),this):ot(this,t)}}function ot(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ut(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&nt(t.year())&&1===t.month()&&29===t.date()?(i=st(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),_t(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}var ht,dt=/\d/,ct=/\d\d/,lt=/\d{3}/,ft=/\d{4}/,mt=/[+-]?\d{6}/,gt=/\d\d?/,pt=/\d\d\d\d?/,bt=/\d\d\d\d\d\d?/,yt=/\d{1,3}/,vt=/\d{1,4}/,St=/[+-]?\d{1,6}/,wt=/\d+/,Mt=/[+-]?\d+/,kt=/Z|[+-]\d\d:?\d\d/gi,Dt=/Z|[+-]\d\d(?::?\d\d)?/gi,Yt=/[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 At(t,e,i){ht[t]=E(e)?e:function(t){return t&&i?i:e}}function Nt(t,e){return v(ht,t)?ht[t](e._strict,e._locale):new RegExp(xt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,i,n,r){return e||i||n||r}))))}function xt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ht={};var Ft={};function Rt(t,e){var i,n,r=e;for("string"==typeof t&&(t=[t]),M(e)&&(r=function(t,i){i[e]=st(t)}),n=t.length,i=0;i<n;i++)Ft[t[i]]=r}function zt(t,e){Rt(t,(function(t,i,n,r){n._w=n._w||{},e(t,n._w,n,r)}))}function Ct(t,e,i){null!=e&&v(Ft,t)&&Ft[t](e,i._a,i,t)}var Tt,jt=0,Wt=1,Jt=2,Pt=3,Ot=4,Gt=5,Et=6,Ht=7,Lt=8;function _t(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?nt(t)?29:28:31-i%7%2}Tt=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},$("M",["MM",2],"Mo",(function(){return this.month()+1})),$("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),$("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Q("month","M"),it("month",8),At("M",gt),At("MM",gt,ct),At("MMM",(function(t,e){return e.monthsShortRegex(t)})),At("MMMM",(function(t,e){return e.monthsRegex(t)})),Rt(["M","MM"],(function(t,e){e[Wt]=st(t)-1})),Rt(["MMM","MMMM"],(function(t,e,i,n){var r=i._locale.monthsParse(t,n,i._strict);null!=r?e[Wt]=r:N(i).invalidMonth=t}));var Bt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ut=Yt,$t=Yt;function Vt(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=A([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))||-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))||-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null}function Kt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=st(e);else if(!M(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),_t(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function qt(t){return null!=t?(Kt(this,t),p.updateOffset(this,!0),this):ot(this,"Month")}function Qt(){function t(t,e){return e.length-t.length}var e,i,n=[],r=[],s=[];for(e=0;e<12;e++)i=A([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]=xt(n[e]),r[e]=xt(r[e]);for(e=0;e<24;e++)s[e]=xt(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 Xt(t){return nt(t)?366:365}$("Y",0,0,(function(){var t=this.year();return t<=9999?_(t,4):"+"+t})),$(0,["YY",2],0,(function(){return this.year()%100})),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),Q("year","y"),it("year",1),At("Y",Mt),At("YY",gt,ct),At("YYYY",vt,ft),At("YYYYY",St,mt),At("YYYYYY",St,mt),Rt(["YYYYY","YYYYYY"],jt),Rt("YYYY",(function(t,e){e[jt]=2===t.length?p.parseTwoDigitYear(t):st(t)})),Rt("YY",(function(t,e){e[jt]=p.parseTwoDigitYear(t)})),Rt("Y",(function(t,e){e[jt]=parseInt(t,10)})),p.parseTwoDigitYear=function(t){return st(t)+(st(t)>68?1900:2e3)};var te=at("FullYear",!0);function ee(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 ie(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 ne(t,e,i){var n=7+e-i;return-(7+ie(t,0,n).getUTCDay()-e)%7+n-1}function re(t,e,i,n,r){var s,a,o=1+7*(e-1)+(7+i-n)%7+ne(t,n,r);return o<=0?a=Xt(s=t-1)+o:o>Xt(t)?(s=t+1,a=o-Xt(t)):(s=t,a=o),{year:s,dayOfYear:a}}function se(t,e,i){var n,r,s=ne(t.year(),e,i),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?n=a+ae(r=t.year()-1,e,i):a>ae(t.year(),e,i)?(n=a-ae(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function ae(t,e,i){var n=ne(t,e,i),r=ne(t+1,e,i);return(Xt(t)-n+r)/7}function oe(t,e){return t.slice(e,7).concat(t.slice(0,e))}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),Q("week","w"),Q("isoWeek","W"),it("week",5),it("isoWeek",5),At("w",gt),At("ww",gt,ct),At("W",gt),At("WW",gt,ct),zt(["w","ww","W","WW"],(function(t,e,i,n){e[n.substr(0,1)]=st(t)})),$("d",0,"do","day"),$("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),$("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),$("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),Q("day","d"),Q("weekday","e"),Q("isoWeekday","E"),it("day",11),it("weekday",11),it("isoWeekday",11),At("d",gt),At("e",gt),At("E",gt),At("dd",(function(t,e){return e.weekdaysMinRegex(t)})),At("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),At("dddd",(function(t,e){return e.weekdaysRegex(t)})),zt(["dd","ddd","dddd"],(function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:N(i).invalidWeekday=t})),zt(["d","e","E"],(function(t,e,i,n){e[n]=st(t)}));var ue="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),he="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),de="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ce=Yt,le=Yt,fe=Yt;function me(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=A([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=Tt.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))||-1!==(r=Tt.call(this._shortWeekdaysParse,a))||-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))||-1!==(r=Tt.call(this._weekdaysParse,a))||-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))||-1!==(r=Tt.call(this._weekdaysParse,a))||-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null}function ge(){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=A([2e3,1]).day(e),n=xt(this.weekdaysMin(i,"")),r=xt(this.weekdaysShort(i,"")),s=xt(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 pe(){return this.hours()%12||12}function be(t,e){$(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function ye(t,e){return e._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,pe),$("k",["kk",2],0,(function(){return this.hours()||24})),$("hmm",0,0,(function(){return""+pe.apply(this)+_(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+pe.apply(this)+_(this.minutes(),2)+_(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+_(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+_(this.minutes(),2)+_(this.seconds(),2)})),be("a",!0),be("A",!1),Q("hour","h"),it("hour",13),At("a",ye),At("A",ye),At("H",gt),At("h",gt),At("k",gt),At("HH",gt,ct),At("hh",gt,ct),At("kk",gt,ct),At("hmm",pt),At("hmmss",bt),At("Hmm",pt),At("Hmmss",bt),Rt(["H","HH"],Pt),Rt(["k","kk"],(function(t,e){var i=st(t);e[Pt]=24===i?0:i})),Rt(["a","A"],(function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),Rt(["h","hh"],(function(t,e,i){e[Pt]=st(t),N(i).bigHour=!0})),Rt("hmm",(function(t,e,i){var n=t.length-2;e[Pt]=st(t.substr(0,n)),e[Ot]=st(t.substr(n)),N(i).bigHour=!0})),Rt("hmmss",(function(t,e,i){var n=t.length-4,r=t.length-2;e[Pt]=st(t.substr(0,n)),e[Ot]=st(t.substr(n,2)),e[Gt]=st(t.substr(r)),N(i).bigHour=!0})),Rt("Hmm",(function(t,e){var i=t.length-2;e[Pt]=st(t.substr(0,i)),e[Ot]=st(t.substr(i))})),Rt("Hmmss",(function(t,e){var i=t.length-4,n=t.length-2;e[Pt]=st(t.substr(0,i)),e[Ot]=st(t.substr(i,2)),e[Gt]=st(t.substr(n))}));var ve,Se=at("Hours",!0),we={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:Bt,monthsShort:It,week:{dow:0,doy:6},weekdays:ue,weekdaysMin:de,weekdaysShort:he,meridiemParse:/[ap]\.?m?\.?/i},Me={},ke={};function De(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 Ye(t){return t?t.toLowerCase().replace("_","-"):t}function Ae(t){var e=null;if(void 0===Me[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=ve._abbr,require("./locale/"+t),Ne(e)}catch(e){Me[t]=null}return Me[t]}function Ne(t,e){var i;return t&&((i=w(e)?Fe(t):xe(t,e))?ve=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ve._abbr}function xe(t,e){if(null!==e){var i,n=we;if(e.abbr=t,null!=Me[t])G("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=Me[t]._config;else if(null!=e.parentLocale)if(null!=Me[e.parentLocale])n=Me[e.parentLocale]._config;else{if(null==(i=Ae(e.parentLocale)))return ke[e.parentLocale]||(ke[e.parentLocale]=[]),ke[e.parentLocale].push({name:t,config:e}),null;n=i._config}return Me[t]=new L(H(n,e)),ke[t]&&ke[t].forEach((function(t){xe(t.name,t.config)})),Ne(t),Me[t]}return delete Me[t],null}function Fe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ve;if(!b(t)){if(e=Ae(t))return e;t=[t]}return function(t){for(var e,i,n,r,s=0;s<t.length;){for(e=(r=Ye(t[s]).split("-")).length,i=(i=Ye(t[s+1]))?i.split("-"):null;e>0;){if(n=Ae(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&De(r,i)>=e-1)break;e--}s++}return ve}(t)}function Re(t){var e,i=t._a;return i&&-2===N(t).overflow&&(e=i[Wt]<0||i[Wt]>11?Wt:i[Jt]<1||i[Jt]>_t(i[jt],i[Wt])?Jt:i[Pt]<0||i[Pt]>24||24===i[Pt]&&(0!==i[Ot]||0!==i[Gt]||0!==i[Et])?Pt:i[Ot]<0||i[Ot]>59?Ot:i[Gt]<0||i[Gt]>59?Gt:i[Et]<0||i[Et]>999?Et:-1,N(t)._overflowDayOfYear&&(e<jt||e>Jt)&&(e=Jt),N(t)._overflowWeeks&&-1===e&&(e=Ht),N(t)._overflowWeekday&&-1===e&&(e=Lt),N(t).overflow=e),t}var ze=/^\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)?)?$/,Ce=/^\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)?)?$/,Te=/Z|[+-]\d\d(?::?\d\d)?/,je=[["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]],We=[["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/]],Je=/^\/?Date\((-?\d+)/i,Pe=/^(?:(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}))$/,Oe={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ge(t){var e,i,n,r,s,a,o=t._i,u=ze.exec(o)||Ce.exec(o),h=je.length,d=We.length;if(u){for(N(t).iso=!0,e=0,i=h;e<i;e++)if(je[e][1].exec(u[1])){r=je[e][0],n=!1!==je[e][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(e=0,i=d;e<i;e++)if(We[e][1].exec(u[3])){s=(u[2]||" ")+We[e][0];break}if(null==s)return void(t._isValid=!1)}if(!n&&null!=s)return void(t._isValid=!1);if(u[4]){if(!Te.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=r+(s||"")+(a||""),_e(t)}else t._isValid=!1}function Ee(t){var e,i,n,r,s,a,o,u,h,d=Pe.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),It.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(s,10)],a&&o.push(parseInt(a,10)),!function(t,e,i){return!t||he.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(N(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 Oe[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=ie.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),N(t).rfc2822=!0}else t._isValid=!1}function He(t,e,i){return null!=t?t:null!=e?e:i}function Le(t){var e,i,n,r,s,a=[];if(!t._d){for(n=function(t){var e=new Date(p.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[Jt]&&null==t._a[Wt]&&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=He(e.GG,t._a[jt],se(Ze(),1,4).year),n=He(e.W,1),((r=He(e.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,h=se(Ze(),s,a),i=He(e.gg,t._a[jt],h.year),n=He(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>ae(i,s,a)?N(t)._overflowWeeks=!0:null!=u?N(t)._overflowWeekday=!0:(o=re(i,n,r,s,a),t._a[jt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=He(t._a[jt],n[jt]),(t._dayOfYear>Xt(s)||0===t._dayOfYear)&&(N(t)._overflowDayOfYear=!0),i=ie(s,0,t._dayOfYear),t._a[Wt]=i.getUTCMonth(),t._a[Jt]=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[Pt]&&0===t._a[Ot]&&0===t._a[Gt]&&0===t._a[Et]&&(t._nextDay=!0,t._a[Pt]=0),t._d=(t._useUTC?ie:ee).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[Pt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(N(t).weekdayMismatch=!0)}}function _e(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],N(t).empty=!0;var e,i,n,r,s,a,o,u=""+t._i,h=u.length,d=0;for(o=(n=K(t._f,t._locale).match(B)||[]).length,e=0;e<o;e++)(i=(u.match(Nt(r=n[e],t))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&N(t).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),d+=i.length),U[r]?(i?N(t).empty=!1:N(t).unusedTokens.push(r),Ct(r,i,t)):t._strict&&!i&&N(t).unusedTokens.push(r);N(t).charsLeftOver=h-d,u.length>0&&N(t).unusedInput.push(u),t._a[Pt]<=12&&!0===N(t).bigHour&&t._a[Pt]>0&&(N(t).bigHour=void 0),N(t).parsedDateParts=t._a.slice(0),N(t).meridiem=t._meridiem,t._a[Pt]=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[Pt],t._meridiem),null!==(a=N(t).era)&&(t._a[jt]=t._locale.erasConvertYear(a,t._a[jt])),Le(t),Re(t)}else Ee(t);else Ge(t)}function Be(t){var e=t._i,i=t._f;return t._locale=t._locale||Fe(t._l),null===e||void 0===i&&""===e?F({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),j(e)?new T(Re(e)):(k(e)?t._d=e:b(i)?function(t){var e,i,n,r,s,a,o=!1,u=t._f.length;if(0===u)return N(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,a=!1,e=C({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],_e(e),x(e)&&(a=!0),s+=N(e).charsLeftOver,s+=10*N(e).unusedTokens.length,N(e).score=s,o?s<n&&(n=s,i=e):(null==n||s<n||a)&&(n=s,i=e,a&&(o=!0));Y(t,i||e)}(t):i?_e(t):function(t){var e=t._i;w(e)?t._d=new Date(p.now()):k(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=Je.exec(t._i);null===e?(Ge(t),!1===t._isValid&&(delete t._isValid,Ee(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:p.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):b(e)?(t._a=D(e.slice(0),(function(t){return parseInt(t,10)})),Le(t)):y(e)?function(t){if(!t._d){var e=tt(t._i);t._a=D([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)})),Le(t)}}(t):M(e)?t._d=new Date(e):p.createFromInputFallback(t)}(t),x(t)||(t._d=null),t))}function Ie(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),(y(t)&&S(t)||b(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 T(Re(Be(a))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ze(t,e,i,n){return Ie(t,e,i,n,!1)}p.createFromInputFallback=J("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":""))})),p.ISO_8601=function(){},p.RFC_2822=function(){};var Ue=J("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ze.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:F()})),$e=J("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ze.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:F()}));function Ve(t,e){var i,n;if(1===e.length&&b(e[0])&&(e=e[0]),!e.length)return Ze();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Ke=["year","quarter","month","week","day","hour","minute","second","millisecond"];function qe(t){var e=tt(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=Ke.length;for(e in t)if(v(t,e)&&(-1===Tt.call(Ke,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;i<r;++i)if(t[Ke[i]]){if(n)return!1;parseFloat(t[Ke[i]])!==st(t[Ke[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=Fe(),this._bubble()}function Qe(t){return t instanceof qe}function Xe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ti(t,e){$(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+_(~~(t/60),2)+e+_(~~t%60,2)}))}ti("Z",":"),ti("ZZ",""),At("Z",Dt),At("ZZ",Dt),Rt(["Z","ZZ"],(function(t,e,i){i._useUTC=!0,i._tzm=ii(Dt,t)}));var ei=/([\+\-]|\d\d)/gi;function ii(t,e){var i,n,r=(e||"").match(t);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(ei)||["-",0,0])[1]+st(i[2]))?0:"+"===i[0]?n:-n}function ni(t,e){var i,n;return e._isUTC?(i=e.clone(),n=(j(t)||k(t)?t.valueOf():Ze(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),p.updateOffset(i,!1),i):Ze(t).local()}function ri(t){return-Math.round(t._d.getTimezoneOffset())}function si(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var ai=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ui(t,e){var i,n,r,s,a,o,u=t,h=null;return Qe(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:M(t)||!isNaN(+t)?(u={},e?u[e]=+t:u.milliseconds=+t):(h=ai.exec(t))?(i="-"===h[1]?-1:1,u={y:0,d:st(h[Jt])*i,h:st(h[Pt])*i,m:st(h[Ot])*i,s:st(h[Gt])*i,ms:st(Xe(1e3*h[Et]))*i}):(h=oi.exec(t))?u={y:hi(h[2],i="-"===h[1]?-1:1),M:hi(h[3],i),w:hi(h[4],i),d:hi(h[5],i),h:hi(h[6],i),m:hi(h[7],i),s:hi(h[8],i)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=Ze(u.from),a=Ze(u.to),r=s.isValid()&&a.isValid()?(a=ni(a,s),s.isBefore(a)?o=di(s,a):((o=di(a,s)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),n=new qe(u),Qe(t)&&v(t,"_locale")&&(n._locale=t._locale),Qe(t)&&v(t,"_isValid")&&(n._isValid=t._isValid),n}function hi(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function di(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 ci(t,e){return function(i,n){var r;return null===n||isNaN(+n)||(G(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),li(this,ui(i,n),t),this}}function li(t,e,i,n){var r=e._milliseconds,s=Xe(e._days),a=Xe(e._months);t.isValid()&&(n=null==n||n,a&&Kt(t,ot(t,"Month")+a*i),s&&ut(t,"Date",ot(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),n&&p.updateOffset(t,s||a))}ui.fn=qe.prototype,ui.invalid=function(){return ui(NaN)};var fi=ci(1,"add"),mi=ci(-1,"subtract");function gi(t){return"string"==typeof t||t instanceof String}function pi(t,e){if(t.date()<e.date())return-pi(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 bi(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Fe(t))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var yi=J("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 vi(){return this._locale}var Si=1e3,wi=6e4,Mi=36e5,ki=126227808e5;function Di(t,e){return(t%e+e)%e}function Yi(t,e,i){return t<100&&t>=0?new Date(t+400,e,i)-ki:new Date(t,e,i).valueOf()}function Ai(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-ki:Date.UTC(t,e,i)}function Ni(t,e){return e.erasAbbrRegex(t)}function xi(){var t,e,i=[],n=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t<e;++t)n.push(xt(a[t].name)),i.push(xt(a[t].abbr)),r.push(xt(a[t].narrow)),s.push(xt(a[t].name)),s.push(xt(a[t].abbr)),s.push(xt(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 Fi(t,e){$(0,[t,t.length],0,e)}function Ri(t,e,i,n,r){var s;return null==t?se(this,n,r).year:(e>(s=ae(t,n,r))&&(e=s),zi.call(this,t,e,i,n,r))}function zi(t,e,i,n,r){var s=re(t,e,i,n,r),a=ie(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}$("N",0,0,"eraAbbr"),$("NN",0,0,"eraAbbr"),$("NNN",0,0,"eraAbbr"),$("NNNN",0,0,"eraName"),$("NNNNN",0,0,"eraNarrow"),$("y",["y",1],"yo","eraYear"),$("y",["yy",2],0,"eraYear"),$("y",["yyy",3],0,"eraYear"),$("y",["yyyy",4],0,"eraYear"),At("N",Ni),At("NN",Ni),At("NNN",Ni),At("NNNN",(function(t,e){return e.erasNameRegex(t)})),At("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),Rt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,i,n){var r=i._locale.erasParse(t,n,i._strict);r?N(i).era=r:N(i).invalidEra=t})),At("y",wt),At("yy",wt),At("yyy",wt),At("yyyy",wt),At("yo",(function(t,e){return e._eraYearOrdinalRegex||wt})),Rt(["y","yy","yyy","yyyy"],jt),Rt(["yo"],(function(t,e,i){var n;i._locale._eraYearOrdinalRegex&&(n=t.match(i._locale._eraYearOrdinalRegex)),e[jt]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,n):parseInt(t,10)})),$(0,["gg",2],0,(function(){return this.weekYear()%100})),$(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Fi("gggg","weekYear"),Fi("ggggg","weekYear"),Fi("GGGG","isoWeekYear"),Fi("GGGGG","isoWeekYear"),Q("weekYear","gg"),Q("isoWeekYear","GG"),it("weekYear",1),it("isoWeekYear",1),At("G",Mt),At("g",Mt),At("GG",gt,ct),At("gg",gt,ct),At("GGGG",vt,ft),At("gggg",vt,ft),At("GGGGG",St,mt),At("ggggg",St,mt),zt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,i,n){e[n.substr(0,2)]=st(t)})),zt(["gg","GG"],(function(t,e,i,n){e[n]=p.parseTwoDigitYear(t)})),$("Q",0,"Qo","quarter"),Q("quarter","Q"),it("quarter",7),At("Q",dt),Rt("Q",(function(t,e){e[Wt]=3*(st(t)-1)})),$("D",["DD",2],"Do","date"),Q("date","D"),it("date",9),At("D",gt),At("DD",gt,ct),At("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Rt(["D","DD"],Jt),Rt("Do",(function(t,e){e[Jt]=st(t.match(gt)[0])}));var Ci=at("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),Q("dayOfYear","DDD"),it("dayOfYear",4),At("DDD",yt),At("DDDD",lt),Rt(["DDD","DDDD"],(function(t,e,i){i._dayOfYear=st(t)})),$("m",["mm",2],0,"minute"),Q("minute","m"),it("minute",14),At("m",gt),At("mm",gt,ct),Rt(["m","mm"],Ot);var Ti=at("Minutes",!1);$("s",["ss",2],0,"second"),Q("second","s"),it("second",15),At("s",gt),At("ss",gt,ct),Rt(["s","ss"],Gt);var ji,Wi,Ji=at("Seconds",!1);for($("S",0,0,(function(){return~~(this.millisecond()/100)})),$(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),$(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),$(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),$(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),$(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),$(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Q("millisecond","ms"),it("millisecond",16),At("S",yt,dt),At("SS",yt,ct),At("SSS",yt,lt),ji="SSSS";ji.length<=9;ji+="S")At(ji,wt);function Pi(t,e){e[Et]=st(1e3*("0."+t))}for(ji="S";ji.length<=9;ji+="S")Rt(ji,Pi);Wi=at("Milliseconds",!1),$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Oi=T.prototype;function Gi(t){return t}Oi.add=fi,Oi.calendar=function(t,e){var i;1===arguments.length&&(arguments[0]?j(i=arguments[0])||k(i)||gi(i)||M(i)||function(t){var e=b(t),i=!1;return e&&(i=0===t.filter((function(e){return!M(e)&&gi(t)})).length),e&&i}(i)||function(t){var e,i=y(t)&&!S(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||v(t,r[e]);return i&&n}(i)||null==i?(t=arguments[0],e=void 0):function(t){var e,i=y(t)&&!S(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)n=n||v(t,r[e]);return i&&n}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ze(),r=ni(n,this).startOf("day"),s=p.calendarFormat(this,r)||"sameElse",a=e&&(E(e[s])?e[s].call(this,n):e[s]);return this.format(a||this.localeData().calendar(s,this,Ze(n)))},Oi.clone=function(){return new T(this)},Oi.diff=function(t,e,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=ni(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=X(e)){case"year":s=pi(this,n)/12;break;case"month":s=pi(this,n);break;case"quarter":s=pi(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:rt(s)},Oi.endOf=function(t){var e,i;if(void 0===(t=X(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ai:Yi,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+=Mi-Di(e+(this._isUTC?0:this.utcOffset()*wi),Mi)-1;break;case"minute":e=this._d.valueOf(),e+=wi-Di(e,wi)-1;break;case"second":e=this._d.valueOf(),e+=Si-Di(e,Si)-1}return this._d.setTime(e),p.updateOffset(this,!0),this},Oi.format=function(t){t||(t=this.isUtc()?p.defaultFormatUtc:p.defaultFormat);var e=V(this,t);return this.localeData().postformat(e)},Oi.from=function(t,e){return this.isValid()&&(j(t)&&t.isValid()||Ze(t).isValid())?ui({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Oi.fromNow=function(t){return this.from(Ze(),t)},Oi.to=function(t,e){return this.isValid()&&(j(t)&&t.isValid()||Ze(t).isValid())?ui({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Oi.toNow=function(t){return this.to(Ze(),t)},Oi.get=function(t){return E(this[t=X(t)])?this[t]():this},Oi.invalidAt=function(){return N(this).overflow},Oi.isAfter=function(t,e){var i=j(t)?t:Ze(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=X(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},Oi.isBefore=function(t,e){var i=j(t)?t:Ze(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=X(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},Oi.isBetween=function(t,e,i,n){var r=j(t)?t:Ze(t),s=j(e)?e:Ze(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))},Oi.isSame=function(t,e){var i,n=j(t)?t:Ze(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=X(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},Oi.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Oi.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Oi.isValid=function(){return x(this)},Oi.lang=yi,Oi.locale=bi,Oi.localeData=vi,Oi.max=$e,Oi.min=Ue,Oi.parsingFlags=function(){return Y({},N(this))},Oi.set=function(t,e){if("object"==typeof t){var i,n=function(t){var e,i=[];for(e in t)v(t,e)&&i.push({unit:e,priority:et[e]});return i.sort((function(t,e){return t.priority-e.priority})),i}(t=tt(t)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](t[n[i].unit])}else if(E(this[t=X(t)]))return this[t](e);return this},Oi.startOf=function(t){var e,i;if(void 0===(t=X(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ai:Yi,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-=Di(e+(this._isUTC?0:this.utcOffset()*wi),Mi);break;case"minute":e=this._d.valueOf(),e-=Di(e,wi);break;case"second":e=this._d.valueOf(),e-=Di(e,Si)}return this._d.setTime(e),p.updateOffset(this,!0),this},Oi.subtract=mi,Oi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Oi.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()}},Oi.toDate=function(){return new Date(this.valueOf())},Oi.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?V(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(i,"Z")):V(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Oi.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&&(Oi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Oi.toJSON=function(){return this.isValid()?this.toISOString():null},Oi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Oi.unix=function(){return Math.floor(this.valueOf()/1e3)},Oi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Oi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Oi.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""},Oi.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""},Oi.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""},Oi.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()-p(r[t].since).year())*i+r[t].offset;return this.year()},Oi.year=te,Oi.isLeapYear=function(){return nt(this.year())},Oi.weekYear=function(t){return Ri.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Oi.isoWeekYear=function(t){return Ri.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Oi.quarter=Oi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Oi.month=qt,Oi.daysInMonth=function(){return _t(this.year(),this.month())},Oi.week=Oi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Oi.isoWeek=Oi.isoWeeks=function(t){var e=se(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Oi.weeksInYear=function(){var t=this.localeData()._week;return ae(this.year(),t.dow,t.doy)},Oi.weeksInWeekYear=function(){var t=this.localeData()._week;return ae(this.weekYear(),t.dow,t.doy)},Oi.isoWeeksInYear=function(){return ae(this.year(),1,4)},Oi.isoWeeksInISOWeekYear=function(){return ae(this.isoWeekYear(),1,4)},Oi.date=Ci,Oi.day=Oi.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},Oi.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")},Oi.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},Oi.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")},Oi.hour=Oi.hours=Se,Oi.minute=Oi.minutes=Ti,Oi.second=Oi.seconds=Ji,Oi.millisecond=Oi.milliseconds=Wi,Oi.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=ii(Dt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=ri(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?li(this,ui(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:ri(this)},Oi.utc=function(t){return this.utcOffset(0,t)},Oi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ri(this),"m")),this},Oi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=ii(kt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Oi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ze(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Oi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Oi.isLocal=function(){return!!this.isValid()&&!this._isUTC},Oi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Oi.isUtc=si,Oi.isUTC=si,Oi.zoneAbbr=function(){return this._isUTC?"UTC":""},Oi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Oi.dates=J("dates accessor is deprecated. Use date instead.",Ci),Oi.months=J("months accessor is deprecated. Use month instead",qt),Oi.years=J("years accessor is deprecated. Use year instead",te),Oi.zone=J("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()})),Oi.isDSTShifted=J("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!w(this._isDSTShifted))return this._isDSTShifted;var t,e={};return C(e,this),(e=Be(e))._a?(t=e._isUTC?A(e._a):Ze(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++)st(t[i])!==st(e[i])&&s++;return s+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Ei=L.prototype;function Hi(t,e,i,n){var r=Fe(),s=A().set(n,e);return r[i](s,t)}function Li(t,e,i){if(M(t)&&(e=t,t=void 0),t=t||"",null!=e)return Hi(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=Hi(t,n,i,"month");return r}function _i(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=Fe(),a=t?s._week.dow:0,o=[];if(null!=i)return Hi(e,(i+a)%7,n,"day");for(r=0;r<7;r++)o[r]=Hi(e,(r+a)%7,n,"day");return o}Ei.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return E(n)?n.call(e,i):n},Ei.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(B).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Ei.invalidDate=function(){return this._invalidDate},Ei.ordinal=function(t){return this._ordinal.replace("%d",t)},Ei.preparse=Gi,Ei.postformat=Gi,Ei.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return E(r)?r(t,e,i,n):r.replace(/%d/i,t)},Ei.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return E(i)?i(e):i.replace(/%s/i,e)},Ei.set=function(t){var e,i;for(i in t)v(t,i)&&(E(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)},Ei.eras=function(){var t,e,i,n=this._eras||Fe("en")._eras;for(t=0,e=n.length;t<e;++t)switch("string"==typeof n[t].since&&(i=p(n[t].since).startOf("day"),n[t].since=i.valueOf()),typeof n[t].until){case"undefined":n[t].until=1/0;break;case"string":i=p(n[t].until).startOf("day").valueOf(),n[t].until=i.valueOf()}return n},Ei.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]},Ei.erasConvertYear=function(t,e){var i=t.since<=t.until?1:-1;return void 0===e?p(t.since).year():p(t.since).year()+(e-t.offset)*i},Ei.erasAbbrRegex=function(t){return v(this,"_erasAbbrRegex")||xi.call(this),t?this._erasAbbrRegex:this._erasRegex},Ei.erasNameRegex=function(t){return v(this,"_erasNameRegex")||xi.call(this),t?this._erasNameRegex:this._erasRegex},Ei.erasNarrowRegex=function(t){return v(this,"_erasNarrowRegex")||xi.call(this),t?this._erasNarrowRegex:this._erasRegex},Ei.months=function(t,e){return t?b(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Zt).test(e)?"format":"standalone"][t.month()]:b(this._months)?this._months:this._months.standalone},Ei.monthsShort=function(t,e){return t?b(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Zt.test(e)?"format":"standalone"][t.month()]:b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ei.monthsParse=function(t,e,i){var n,r,s;if(this._monthsParseExact)return Vt.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=A([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}},Ei.monthsRegex=function(t){return this._monthsParseExact?(v(this,"_monthsRegex")||Qt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(v(this,"_monthsRegex")||(this._monthsRegex=$t),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Ei.monthsShortRegex=function(t){return this._monthsParseExact?(v(this,"_monthsRegex")||Qt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(v(this,"_monthsShortRegex")||(this._monthsShortRegex=Ut),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Ei.week=function(t){return se(t,this._week.dow,this._week.doy).week},Ei.firstDayOfYear=function(){return this._week.doy},Ei.firstDayOfWeek=function(){return this._week.dow},Ei.weekdays=function(t,e){var i=b(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?oe(i,this._week.dow):t?i[t.day()]:i},Ei.weekdaysMin=function(t){return!0===t?oe(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Ei.weekdaysShort=function(t){return!0===t?oe(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Ei.weekdaysParse=function(t,e,i){var n,r,s;if(this._weekdaysParseExact)return me.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=A([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}},Ei.weekdaysRegex=function(t){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ge.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(v(this,"_weekdaysRegex")||(this._weekdaysRegex=ce),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Ei.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ge.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(v(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=le),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ei.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||ge.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(v(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ei.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Ei.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},Ne("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===st(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),p.lang=J("moment.lang is deprecated. Use moment.locale instead.",Ne),p.langData=J("moment.langData is deprecated. Use moment.localeData instead.",Fe);var Bi=Math.abs;function Ii(t,e,i,n){var r=ui(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function Zi(t){return t<0?Math.floor(t):Math.ceil(t)}function Ui(t){return 4800*t/146097}function $i(t){return 146097*t/4800}function Vi(t){return function(){return this.as(t)}}var Ki=Vi("ms"),qi=Vi("s"),Qi=Vi("m"),Xi=Vi("h"),tn=Vi("d"),en=Vi("w"),nn=Vi("M"),rn=Vi("Q"),sn=Vi("y");function an(t){return function(){return this.isValid()?this._data[t]:NaN}}var on=an("milliseconds"),un=an("seconds"),hn=an("minutes"),dn=an("hours"),cn=an("days"),ln=an("months"),fn=an("years"),mn=Math.round,gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function pn(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}var bn=Math.abs;function yn(t){return(t>0)-(t<0)||+t}function vn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i,n,r,s,a,o,u=bn(this._milliseconds)/1e3,h=bn(this._days),d=bn(this._months),c=this.asSeconds();return c?(t=rt(u/60),e=rt(t/60),u%=60,t%=60,i=rt(d/12),d%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=yn(this._months)!==yn(c)?"-":"",a=yn(this._days)!==yn(c)?"-":"",o=yn(this._milliseconds)!==yn(c)?"-":"",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 Sn=qe.prototype;Sn.isValid=function(){return this._isValid},Sn.abs=function(){var t=this._data;return this._milliseconds=Bi(this._milliseconds),this._days=Bi(this._days),this._months=Bi(this._months),t.milliseconds=Bi(t.milliseconds),t.seconds=Bi(t.seconds),t.minutes=Bi(t.minutes),t.hours=Bi(t.hours),t.months=Bi(t.months),t.years=Bi(t.years),this},Sn.add=function(t,e){return Ii(this,t,e,1)},Sn.subtract=function(t,e){return Ii(this,t,e,-1)},Sn.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=X(t))||"quarter"===t||"year"===t)switch(i=this._months+Ui(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($i(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)}},Sn.asMilliseconds=Ki,Sn.asSeconds=qi,Sn.asMinutes=Qi,Sn.asHours=Xi,Sn.asDays=tn,Sn.asWeeks=en,Sn.asMonths=nn,Sn.asQuarters=rn,Sn.asYears=sn,Sn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*st(this._months/12):NaN},Sn._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*Zi($i(o)+a),a=0,o=0),u.milliseconds=s%1e3,t=rt(s/1e3),u.seconds=t%60,e=rt(t/60),u.minutes=e%60,i=rt(e/60),u.hours=i%24,a+=rt(i/24),o+=r=rt(Ui(a)),a-=Zi($i(r)),n=rt(o/12),o%=12,u.days=a,u.months=o,u.years=n,this},Sn.clone=function(){return ui(this)},Sn.get=function(t){return t=X(t),this.isValid()?this[t+"s"]():NaN},Sn.milliseconds=on,Sn.seconds=un,Sn.minutes=hn,Sn.hours=dn,Sn.days=cn,Sn.weeks=function(){return rt(this.days()/7)},Sn.months=ln,Sn.years=fn,Sn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var i,n,r=!1,s=gn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},gn,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),n=function(t,e,i,n){var r=ui(t).abs(),s=mn(r.as("s")),a=mn(r.as("m")),o=mn(r.as("h")),u=mn(r.as("d")),h=mn(r.as("M")),d=mn(r.as("w")),c=mn(r.as("y")),l=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&&(l=l||d<=1&&["w"]||d<i.w&&["ww",d]),(l=l||h<=1&&["M"]||h<i.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=e,l[3]=+t>0,l[4]=n,pn.apply(null,l)}(this,!r,s,i=this.localeData()),r&&(n=i.pastFuture(+this,n)),i.postformat(n)},Sn.toISOString=vn,Sn.toString=vn,Sn.toJSON=vn,Sn.locale=bi,Sn.localeData=vi,Sn.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vn),Sn.lang=yi,$("X",0,0,"unix"),$("x",0,0,"valueOf"),At("x",Mt),At("X",/[+-]?\d+(\.\d{1,3})?/),Rt("X",(function(t,e,i){i._d=new Date(1e3*parseFloat(t))})),Rt("x",(function(t,e,i){i._d=new Date(st(t))})),
|
|
8
8
|
//! moment.js
|
|
9
|
-
p.version="2.29.4",m=Ze,p.fn=Oi,p.min=function(){return Ve("isBefore",[].slice.call(arguments,0))},p.max=function(){return Ve("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=A,p.unix=function(t){return Ze(1e3*t)},p.months=function(t,e){return Li(t,e,"months")},p.isDate=k,p.locale=Ne,p.invalid=F,p.duration=ui,p.isMoment=j,p.weekdays=function(t,e,i){return _i(t,e,i,"weekdays")},p.parseZone=function(){return Ze.apply(null,arguments).parseZone()},p.localeData=Fe,p.isDuration=Qe,p.monthsShort=function(t,e){return Li(t,e,"monthsShort")},p.weekdaysMin=function(t,e,i){return _i(t,e,i,"weekdaysMin")},p.defineLocale=xe,p.updateLocale=function(t,e){if(null!=e){var i,n,r=Me;null!=we[t]&&null!=we[t].parentLocale?we[t].set(H(we[t]._config,e)):(null!=(n=Ae(t))&&(r=n._config),e=H(r,e),null==n&&(e.abbr=t),(i=new L(e)).parentLocale=we[t],we[t]=i),Ne(t)}else null!=we[t]&&(null!=we[t].parentLocale?(we[t]=we[t].parentLocale,t===Ne()&&Ne(t)):null!=we[t]&&delete we[t]);return we[t]},p.locales=function(){return P(we)},p.weekdaysShort=function(t,e,i){return _i(t,e,i,"weekdaysShort")},p.normalizeUnits=X,p.relativeTimeRounding=function(t){return void 0===t?mn:"function"==typeof t&&(mn=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==gn[t]&&(void 0===e?gn[t]:(gn[t]=e,"s"===t&&(gn.ss=e-1),!0))},p.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"},p.prototype=Oi,p.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 Mn=class{constructor(e){t(this,e),this.formatDate=()=>{const t={month:"long"},e=this.tournamentInfo.state;let i=new Date(this.tournamentInfo.startTime);const n=()=>c("Running"===e||"Closing"==e||"Closed"==e?"startedAt":"startingAt",this.language);if(this.shortStart){let t=p(i).format(this.shortStartFormat);this.startDate="Running"===e||"Closing"==e||"Closed"==e?c("startedAtWithTime",this.language)+t:c("startingAtWithTime",this.language)+t}else{let e=new Intl.DateTimeFormat("en",t).format(i),r=i.getDate(),s=i.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});this.startDate=`${r} `+c(`${e}`,this.language)+", "+n()+` ${s}`}},this.detailsAction=t=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:t},window.location.href)},this.endpoint=void 0,this.nameOrTitle=void 0,this.scoreCriteria=void 0,this.tournamentId=void 0,this.session=void 0,this.userId=void 0,this.language=void 0,this.termsUrl="#",this.keepContext=!1,this.useGroup=!1,this.align="center",this.showDates=!1,this.showPrizes=!1,this.showButton=!1,this.shortStart=!1,this.seeGames=!1,this.useEvent=!1,this.startTime=void 0,this.endTime=void 0,this.minBetCount=void 0,this.prizes=void 0,this.shortStartFormat="DD MMM YYYY",this.clientStyling="",this.clientStylingUrl="",this.enrolled=!1,this.loginEvent=void 0,this.loginUrl=void 0,this.registerEvent=void 0,this.registerUrl=void 0,this.currency=void 0,this.bonusCode=void 0,this.showReadMore=!1,this.translationUrl="",this.translationData=void 0,this.limitStylingAppends=!1,this.startDate=void 0,this.tournamentInfo=void 0}async infoCompletedHandler(t){if(t.detail&&this.useEvent){if(this.tournamentId&&this.tournamentId!=t.detail.id)return;this.translationUrl?await f(this.translationUrl):this.translationData&&await l(JSON.parse(this.translationData)),this.tournamentInfo=t.detail}}async componentWillLoad(){if(!this.useEvent){if(this.translationUrl)return f(this.translationUrl);if(this.translationData)return l(JSON.parse(this.translationData))}}setTournamentInfo(){var t;this.tournamentInfo={nameOrTitle:this.nameOrTitle,scoreCriteria:(t=this.scoreCriteria,t?t.charAt(0).toLowerCase()+t.slice(1):""),termsUrl:this.termsUrl,startTime:this.startTime,endTime:this.endTime,prizes:this.prizes,minBetCount:this.minBetCount}}componentWillRender(){this.setTournamentInfo(),this.tournamentInfo.startTime&&this.formatDate()}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]}))}tournamentGamesClicked(t){window.postMessage({type:"tournamentGamesClicked",id:t},window.location.href)}render(){if(this.tournamentInfo)return i("div",{key:"d6c39acb71a8a267d46dd4e3055f8a51eb1a4473",class:"TournamentInfoWrap"},i("div",{key:"98d7d74f0532652c85e5970fd28c1658fa970642",class:`TournamentInfo ${this.align}`,part:"TournamentInfo"},i("h1",{key:"f3afe0cfa5c9ebac1e6638d852e64369616bfef6",class:"Title"},this.tournamentInfo.nameOrTitle),i("div",{key:"f4f4bcb63d3d492abccbaa86682f34208aa5d1e4",class:"Details"},i("p",{key:"4d2875c8507f6db2c16f055810f82942406007b4",class:"Score"},c("scoreCriteria",this.language),": ",c(this.tournamentInfo.scoreCriteria,this.language)," (",c("minbet",this.language),": ",this.tournamentInfo.minBetCount,")"),this.showDates&&i("p",{key:"00fae2420d9c6e6eafe9a2f8c378198638b88981",class:"Dates"},this.startDate),this.seeGames&&i("p",{key:"4a22edfcf8a06a3c48b4d6280ae6a6bc3c824905",class:"SeeGames"},c("seegames",this.language),":",i("a",{key:"44a29b2e941bd03febd124082998262357fc9885",class:"GameLink",href:this.tournamentInfo.termsUrl||"#",target:1==this.keepContext?"_self":"_blank",onClick:()=>this.tournamentGamesClicked(this.tournamentId)}," ",c("here",this.language))),this.showButton&&i("div",{key:"19b176dd5d021856fa55016f64a67b21f4e16f04",class:"InfoButtons"},i("casino-tournament-buttons",{key:"30820e16c97365a7b86387e6bcb462c054b99ecf",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}))),this.showPrizes&&i("casino-tournament-prizes",{key:"c7bfdeab8b12f2b069123309bb9ace7ac409feff","raw-prizes":JSON.stringify(this.tournamentInfo.prizes),"use-event":"false","use-group":this.useGroup,language:this.language,"client-styling":this.clientStyling,"client-styling-url":this.clientStylingUrl}),i("casino-tournament-duration",{key:"717a439c994a5dc6fee28be78cca68def8202e16",exportparts:"Remaining,ProgressBar,ProgressBarFill,ProgressBarFillStarting,ProgressBarFillEnd,StartDate,EndDate","start-time":this.tournamentInfo.startTime,"end-time":this.tournamentInfo.endTime,language:this.language,"client-styling":this.clientStyling,"client-styling-url":this.clientStylingUrl,"translation-data":this.translationData})))}get host(){return n(this)}};Mn.style=":host{display:block}.TournamentInfo{background:var(--emw--tournament-color-bg, #153a5c);color:var(--emw--color-white, #FFFFFF);padding:20px;text-align:center;display:flex;gap:20px;display:flex;flex-direction:column}.TournamentInfo.Left{text-align:left}.TournamentInfo.Left .InfoButtons{justify-content:left}.TournamentInfo.Right{text-align:right}.TournamentInfo.Right .InfoButtons{justify-content:right}.Title{margin:0;font-size:18px}.Score{color:var(--emw--color-white, #FFFFFF)}.GameLink{text-decoration:underline;text-transform:uppercase;color:var(--emw--color-white, #FFFFFF)}.InfoButtons{display:flex;justify-content:center}.DetailsButton{border:0;border-radius:2px;background-color:var(--emw--tournament-color-primary, #0072ed);padding:8px 16px;font-size:14px;font-weight:600;color:var(--emw--color-white, #FFFFFF);cursor:pointer}p{font-size:12px;margin-top:0}casino-tournament-duration::part(StartDate){color:var(--emw--color-white, #FFFFFF)}casino-tournament-duration::part(EndDate){color:var(--emw--color-white, #FFFFFF)}";const wn={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},kn=(t,e)=>{var i,n;return(null===(i=wn[e])||void 0===i?void 0:i[t])||(null===(n=wn.en)||void 0===n?void 0:n[t])},Dn=class{constructor(e){t(this,e),this.language=void 0,this.useGroup=!1,this.useEvent=!1,this.endpoint=void 0,this.session=void 0,this.rawPrizes=void 0,this.tournamentId=void 0,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1,this.prizes=[],this.prizeGroups=[],this.initialLoad=!1}infoCompletedHandler(t){t.detail&&(this.prizes=t.detail.prizes,this.formatGroup(),this.initialLoad=!0)}formatGroup(){this.prizes.forEach((t=>{let e=[];if(t.count>0)for(let i=0;i<t.count;i++)e.push({name:t.name,rank:t.rank+i});this.prizeGroups.push(e)}))}getTournamentInfo(){let t=new URL(this.endpoint+`/v1/tournaments/${this.tournamentId}`),e=new Headers;t.searchParams.append("expand","games"),t.searchParams.append("language",this.language),t.searchParams.append("fields","playerEnrolled,games(id,name,thumbnail)"),this.session&&e.append("X-SessionId",this.session),fetch(t.href,{method:"GET",headers:e}).then((t=>t.json())).then((t=>{this.prizes=t.item.prizes,this.useGroup&&this.formatGroup(),this.initialLoad=!0}))}componentWillLoad(){!this.useEvent&&this.rawPrizes&&(this.prizes=JSON.parse(this.rawPrizes),this.useGroup&&this.formatGroup(),this.initialLoad=!0),!this.useEvent&&this.endpoint&&this.tournamentId&&this.getTournamentInfo()}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]}))}render(){return i("div",{key:"6f6d6a40e0374ad146b0eda343d963679fbd11f0",class:"TournamentPrizes "+(this.useGroup?"":"PrizeView")},this.initialLoad&&!this.useGroup&&i("div",{key:"28edb876913c67479b4fb5c885244cea36a073ea",class:"PrizeTitle"},i("svg",{key:"6cd86bf5db8eacee01a9577458c136cbe78684bc",class:"PrizeIcon",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"27.454",viewBox:"0 0 30 27.454"},i("path",{key:"744e27a1ee73240f5876abd14b2e912b8dbc979e",d:"M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z",transform:"translate(-5.999 -9.76)"})),i("div",{key:"ddd4dd055f8441b1b0355e95e88b43049a108b2c",class:"Title"},kn("prizes",this.language))),this.initialLoad&&this.useGroup&&i("div",{key:"83b846fe441de36598d01742fd6730de4c5920bf",class:"GroupPrizeTitle"},i("svg",{key:"e6b379df8cc991173b588e8dd9408b0c6716de7a",class:"PrizeIcon",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"16",viewBox:"0 0 19 16",fill:"none"},i("g",{key:"0332923cca76d7ccbe779cb367abb4e8952842b5","clip-path":"url(#clip0_2459_42455)"},i("path",{key:"607a3379976189ca332117ec968c34046b3dcb46",d:"M14.7476 2.84132V0.664551H4.03327V2.84132H0.818359V5.01946C0.818359 6.8229 2.2568 8.28496 4.0326 8.28496C4.36862 8.28496 4.69326 8.23192 4.99647 8.13399C5.76958 9.25604 6.94898 10.07 8.31782 10.3516V13.7266H7.24685C6.06276 13.7266 5.1029 14.701 5.1029 15.9026H13.6753C13.6753 14.7004 12.7168 13.7266 11.5327 13.7266H10.4611V10.3516C11.8293 10.07 13.0087 9.25672 13.7818 8.13399C14.0863 8.23124 14.4116 8.28496 14.7463 8.28496C16.5214 8.28496 17.9612 6.8229 17.9612 5.01946V2.84132H14.7476ZM4.03327 6.99222C2.9623 6.99222 2.0908 6.10751 2.0908 5.01946V3.93005H4.03327V5.01946C4.03327 5.70221 4.15844 6.3564 4.38401 6.9589C4.27089 6.9793 4.15175 6.99086 4.03327 6.99086V6.99222ZM11.0207 5.88989L12.0414 9.06223L9.38945 7.09355L6.7368 9.06223L7.75757 5.88989L5.09688 3.93481L8.3814 3.94229L9.38945 0.767235L10.3968 3.94229L13.6814 3.93481L11.0207 5.88989ZM16.6901 5.01946C16.6901 6.10683 15.8193 6.99222 14.7483 6.99222C14.6285 6.99222 14.512 6.9793 14.3982 6.95958C14.6245 6.3564 14.7483 5.70357 14.7483 5.02014V3.93073H16.6901V5.02014V5.01946Z",fill:"white"})),i("defs",{key:"66f11be400aac05c7f334a48b82cfb1aabdead8c"},i("clipPath",{key:"65e879523cff89288af691d5f705ef55996f3107",id:"clip0_2459_42455"},i("rect",{key:"382441f3ade90fa866096c5f25dfc3cb49d82132",width:"18.2857",height:"16",fill:"white",transform:"translate(0.5)"})))),i("div",{key:"8610b8361faa0d2316415e39a21162dfcdcaeccf",class:"Title"},kn("prizes",this.language))),i("div",{key:"76d9452769046d3c9cd4d0dd7a65396c5083ebc6",class:"PrizeGroups"},1==this.useGroup&&this.prizeGroups&&this.prizeGroups.map(((t,e)=>i("div",{class:`PrizeGroup Group${e+1}`},t&&t.map(((t,e)=>i("div",{class:"PrizeRow"},i("div",{class:`PrizeItem Rank${e+1}`},i("span",{class:"PrizeRank"},t.rank," ",kn("place",this.language)," "),i("span",{class:"PrizeName"},t.name)))))))),0==this.useGroup&&this.prizes&&this.prizes.map(((t,e)=>i("div",{class:`Prize Prize${e}`},i("p",{class:"PrizeText"},i("span",{class:"PrizeRank"},t.count>1?`${t.rank}~${t.rank+t.count-1}`:t.rank)," ",kn("place",this.language),": ",t.name)))),!this.prizes&&i("p",{key:"2df9ce5a0f56928a550f0ebf3de962835df0d6f2"},kn("noprizes",this.language))))}get host(){return n(this)}};Dn.style=":host{display:block}.PrizeGroups{color:var(--emw--color-white, #FFFFFF);display:flex;gap:20px;font-size:14px}.PrizeGroup{flex:1;background:var(--emw--tournament-color-bg, #153a5c)}.PrizeTitle{text-align:center;width:100%}.GroupPrizeTitle{width:100%;display:flex;padding:8px 6px;gap:8px;justify-content:center}.PrizeView{display:flex;gap:10px;font-size:12px}.PrizeView .PrizeTitle{display:inline-block;width:auto}.PrizeView .PrizeGroups{display:inline-flex}.Title{text-align:center;color:var(--emw--color-white, #FFFFFF)}.PrizeIcon path{fill:var(--emw--color-white, #FFFFFF)}.PrizeRow{padding:8px;border-bottom:1px solid rgba(206, 210, 214, 0.15)}.PrizeItem{display:flex;justify-content:space-between;padding:6px;font-size:12px;border-radius:2px}.Group1 .Rank1{background:#7e6c22}.Group1 .Rank2{background:#666}.Group1 .Rank3{background:#6a5446}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}";export{a as casino_tournament_buttons,h as casino_tournament_duration,Mn as casino_tournament_info,Dn as casino_tournament_prizes}
|
|
9
|
+
p.version="2.29.4",m=Ze,p.fn=Oi,p.min=function(){return Ve("isBefore",[].slice.call(arguments,0))},p.max=function(){return Ve("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=A,p.unix=function(t){return Ze(1e3*t)},p.months=function(t,e){return Li(t,e,"months")},p.isDate=k,p.locale=Ne,p.invalid=F,p.duration=ui,p.isMoment=j,p.weekdays=function(t,e,i){return _i(t,e,i,"weekdays")},p.parseZone=function(){return Ze.apply(null,arguments).parseZone()},p.localeData=Fe,p.isDuration=Qe,p.monthsShort=function(t,e){return Li(t,e,"monthsShort")},p.weekdaysMin=function(t,e,i){return _i(t,e,i,"weekdaysMin")},p.defineLocale=xe,p.updateLocale=function(t,e){if(null!=e){var i,n,r=we;null!=Me[t]&&null!=Me[t].parentLocale?Me[t].set(H(Me[t]._config,e)):(null!=(n=Ae(t))&&(r=n._config),e=H(r,e),null==n&&(e.abbr=t),(i=new L(e)).parentLocale=Me[t],Me[t]=i),Ne(t)}else null!=Me[t]&&(null!=Me[t].parentLocale?(Me[t]=Me[t].parentLocale,t===Ne()&&Ne(t)):null!=Me[t]&&delete Me[t]);return Me[t]},p.locales=function(){return P(Me)},p.weekdaysShort=function(t,e,i){return _i(t,e,i,"weekdaysShort")},p.normalizeUnits=X,p.relativeTimeRounding=function(t){return void 0===t?mn:"function"==typeof t&&(mn=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==gn[t]&&(void 0===e?gn[t]:(gn[t]=e,"s"===t&&(gn.ss=e-1),!0))},p.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"},p.prototype=Oi,p.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 wn=class{constructor(e){t(this,e),this.formatDate=()=>{const t={month:"long"},e=this.tournamentInfo.state;let i=new Date(this.tournamentInfo.startTime);const n=()=>c("Running"===e||"Closing"==e||"Closed"==e?"startedAt":"startingAt",this.language);if(this.shortStart){let t=p(i).format(this.shortStartFormat);this.startDate="Running"===e||"Closing"==e||"Closed"==e?c("startedAtWithTime",this.language)+t:c("startingAtWithTime",this.language)+t}else{let e=new Intl.DateTimeFormat("en",t).format(i),r=i.getDate(),s=i.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});this.startDate=`${r} `+c(`${e}`,this.language)+", "+n()+` ${s}`}},this.detailsAction=t=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:t},window.location.href)},this.endpoint=void 0,this.nameOrTitle=void 0,this.scoreCriteria=void 0,this.tournamentId=void 0,this.session=void 0,this.userId=void 0,this.language=void 0,this.termsUrl="#",this.keepContext=!1,this.useGroup=!1,this.align="center",this.showDates=!1,this.showPrizes=!1,this.showButton=!1,this.shortStart=!1,this.seeGames=!1,this.useEvent=!1,this.startTime=void 0,this.endTime=void 0,this.minBetCount=void 0,this.prizes=void 0,this.shortStartFormat="DD MMM YYYY",this.clientStyling="",this.clientStylingUrl="",this.enrolled=!1,this.loginEvent=void 0,this.loginUrl=void 0,this.registerEvent=void 0,this.registerUrl=void 0,this.currency=void 0,this.bonusCode=void 0,this.showReadMore=!1,this.translationUrl="",this.translationData=void 0,this.limitStylingAppends=!1,this.startDate=void 0,this.tournamentInfo=void 0}async infoCompletedHandler(t){if(t.detail&&this.useEvent){if(this.tournamentId&&this.tournamentId!=t.detail.id)return;this.translationUrl?await f(this.translationUrl):this.translationData&&await l(JSON.parse(this.translationData)),this.tournamentInfo=t.detail}}async componentWillLoad(){if(!this.useEvent){if(this.translationUrl)return f(this.translationUrl);if(this.translationData)return l(JSON.parse(this.translationData))}}setTournamentInfo(){var t;this.tournamentInfo={nameOrTitle:this.nameOrTitle,scoreCriteria:(t=this.scoreCriteria,t?t.charAt(0).toLowerCase()+t.slice(1):""),termsUrl:this.termsUrl,startTime:this.startTime,endTime:this.endTime,prizes:this.prizes,minBetCount:this.minBetCount}}componentWillRender(){this.setTournamentInfo(),this.tournamentInfo.startTime&&this.formatDate()}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]}))}tournamentGamesClicked(t){window.postMessage({type:"tournamentGamesClicked",id:t},window.location.href)}render(){if(this.tournamentInfo)return i("div",{key:"d6c39acb71a8a267d46dd4e3055f8a51eb1a4473",class:"TournamentInfoWrap"},i("div",{key:"98d7d74f0532652c85e5970fd28c1658fa970642",class:`TournamentInfo ${this.align}`,part:"TournamentInfo"},i("h1",{key:"f3afe0cfa5c9ebac1e6638d852e64369616bfef6",class:"Title"},this.tournamentInfo.nameOrTitle),i("div",{key:"f4f4bcb63d3d492abccbaa86682f34208aa5d1e4",class:"Details"},i("p",{key:"4d2875c8507f6db2c16f055810f82942406007b4",class:"Score"},c("scoreCriteria",this.language),": ",c(this.tournamentInfo.scoreCriteria,this.language)," (",c("minbet",this.language),": ",this.tournamentInfo.minBetCount,")"),this.showDates&&i("p",{key:"00fae2420d9c6e6eafe9a2f8c378198638b88981",class:"Dates"},this.startDate),this.seeGames&&i("p",{key:"4a22edfcf8a06a3c48b4d6280ae6a6bc3c824905",class:"SeeGames"},c("seegames",this.language),":",i("a",{key:"44a29b2e941bd03febd124082998262357fc9885",class:"GameLink",href:this.tournamentInfo.termsUrl||"#",target:1==this.keepContext?"_self":"_blank",onClick:()=>this.tournamentGamesClicked(this.tournamentId)}," ",c("here",this.language))),this.showButton&&i("div",{key:"19b176dd5d021856fa55016f64a67b21f4e16f04",class:"InfoButtons"},i("casino-tournament-buttons",{key:"30820e16c97365a7b86387e6bcb462c054b99ecf",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}))),this.showPrizes&&i("casino-tournament-prizes",{key:"c7bfdeab8b12f2b069123309bb9ace7ac409feff","raw-prizes":JSON.stringify(this.tournamentInfo.prizes),"use-event":"false","use-group":this.useGroup,language:this.language,"client-styling":this.clientStyling,"client-styling-url":this.clientStylingUrl}),i("casino-tournament-duration",{key:"717a439c994a5dc6fee28be78cca68def8202e16",exportparts:"Remaining,ProgressBar,ProgressBarFill,ProgressBarFillStarting,ProgressBarFillEnd,StartDate,EndDate","start-time":this.tournamentInfo.startTime,"end-time":this.tournamentInfo.endTime,language:this.language,"client-styling":this.clientStyling,"client-styling-url":this.clientStylingUrl,"translation-data":this.translationData})))}get host(){return n(this)}};wn.style=":host{display:block}.TournamentInfo{background:var(--emw--tournament-color-bg, #153a5c);color:var(--emw--color-white, #FFFFFF);padding:20px;text-align:center;display:flex;gap:20px;display:flex;flex-direction:column}.TournamentInfo.Left{text-align:left}.TournamentInfo.Left .InfoButtons{justify-content:left}.TournamentInfo.Right{text-align:right}.TournamentInfo.Right .InfoButtons{justify-content:right}.Title{margin:0;font-size:18px}.Score{color:var(--emw--color-white, #FFFFFF)}.GameLink{text-decoration:underline;text-transform:uppercase;color:var(--emw--color-white, #FFFFFF)}.InfoButtons{display:flex;justify-content:center}.DetailsButton{border:0;border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--tournament-color-primary, #0072ed);padding:8px 16px;font-size:14px;font-weight:600;color:var(--emw--color-white, #FFFFFF);cursor:pointer}p{font-size:12px;margin-top:0}casino-tournament-duration::part(StartDate){color:var(--emw--color-white, #FFFFFF)}casino-tournament-duration::part(EndDate){color:var(--emw--color-white, #FFFFFF)}";const Mn={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},kn=(t,e)=>{var i,n;return(null===(i=Mn[e])||void 0===i?void 0:i[t])||(null===(n=Mn.en)||void 0===n?void 0:n[t])},Dn=class{constructor(e){t(this,e),this.language=void 0,this.useGroup=!1,this.useEvent=!1,this.endpoint=void 0,this.session=void 0,this.rawPrizes=void 0,this.tournamentId=void 0,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1,this.prizes=[],this.prizeGroups=[],this.initialLoad=!1}infoCompletedHandler(t){t.detail&&(this.prizes=t.detail.prizes,this.formatGroup(),this.initialLoad=!0)}formatGroup(){this.prizes.forEach((t=>{let e=[];if(t.count>0)for(let i=0;i<t.count;i++)e.push({name:t.name,rank:t.rank+i});this.prizeGroups.push(e)}))}getTournamentInfo(){let t=new URL(this.endpoint+`/v1/tournaments/${this.tournamentId}`),e=new Headers;t.searchParams.append("expand","games"),t.searchParams.append("language",this.language),t.searchParams.append("fields","playerEnrolled,games(id,name,thumbnail)"),this.session&&e.append("X-SessionId",this.session),fetch(t.href,{method:"GET",headers:e}).then((t=>t.json())).then((t=>{this.prizes=t.item.prizes,this.useGroup&&this.formatGroup(),this.initialLoad=!0}))}componentWillLoad(){!this.useEvent&&this.rawPrizes&&(this.prizes=JSON.parse(this.rawPrizes),this.useGroup&&this.formatGroup(),this.initialLoad=!0),!this.useEvent&&this.endpoint&&this.tournamentId&&this.getTournamentInfo()}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]}))}render(){return i("div",{key:"6f6d6a40e0374ad146b0eda343d963679fbd11f0",class:"TournamentPrizes "+(this.useGroup?"":"PrizeView")},this.initialLoad&&!this.useGroup&&i("div",{key:"28edb876913c67479b4fb5c885244cea36a073ea",class:"PrizeTitle"},i("svg",{key:"6cd86bf5db8eacee01a9577458c136cbe78684bc",class:"PrizeIcon",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"27.454",viewBox:"0 0 30 27.454"},i("path",{key:"744e27a1ee73240f5876abd14b2e912b8dbc979e",d:"M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z",transform:"translate(-5.999 -9.76)"})),i("div",{key:"ddd4dd055f8441b1b0355e95e88b43049a108b2c",class:"Title"},kn("prizes",this.language))),this.initialLoad&&this.useGroup&&i("div",{key:"83b846fe441de36598d01742fd6730de4c5920bf",class:"GroupPrizeTitle"},i("svg",{key:"e6b379df8cc991173b588e8dd9408b0c6716de7a",class:"PrizeIcon",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"16",viewBox:"0 0 19 16",fill:"none"},i("g",{key:"0332923cca76d7ccbe779cb367abb4e8952842b5","clip-path":"url(#clip0_2459_42455)"},i("path",{key:"607a3379976189ca332117ec968c34046b3dcb46",d:"M14.7476 2.84132V0.664551H4.03327V2.84132H0.818359V5.01946C0.818359 6.8229 2.2568 8.28496 4.0326 8.28496C4.36862 8.28496 4.69326 8.23192 4.99647 8.13399C5.76958 9.25604 6.94898 10.07 8.31782 10.3516V13.7266H7.24685C6.06276 13.7266 5.1029 14.701 5.1029 15.9026H13.6753C13.6753 14.7004 12.7168 13.7266 11.5327 13.7266H10.4611V10.3516C11.8293 10.07 13.0087 9.25672 13.7818 8.13399C14.0863 8.23124 14.4116 8.28496 14.7463 8.28496C16.5214 8.28496 17.9612 6.8229 17.9612 5.01946V2.84132H14.7476ZM4.03327 6.99222C2.9623 6.99222 2.0908 6.10751 2.0908 5.01946V3.93005H4.03327V5.01946C4.03327 5.70221 4.15844 6.3564 4.38401 6.9589C4.27089 6.9793 4.15175 6.99086 4.03327 6.99086V6.99222ZM11.0207 5.88989L12.0414 9.06223L9.38945 7.09355L6.7368 9.06223L7.75757 5.88989L5.09688 3.93481L8.3814 3.94229L9.38945 0.767235L10.3968 3.94229L13.6814 3.93481L11.0207 5.88989ZM16.6901 5.01946C16.6901 6.10683 15.8193 6.99222 14.7483 6.99222C14.6285 6.99222 14.512 6.9793 14.3982 6.95958C14.6245 6.3564 14.7483 5.70357 14.7483 5.02014V3.93073H16.6901V5.02014V5.01946Z",fill:"white"})),i("defs",{key:"66f11be400aac05c7f334a48b82cfb1aabdead8c"},i("clipPath",{key:"65e879523cff89288af691d5f705ef55996f3107",id:"clip0_2459_42455"},i("rect",{key:"382441f3ade90fa866096c5f25dfc3cb49d82132",width:"18.2857",height:"16",fill:"white",transform:"translate(0.5)"})))),i("div",{key:"8610b8361faa0d2316415e39a21162dfcdcaeccf",class:"Title"},kn("prizes",this.language))),i("div",{key:"76d9452769046d3c9cd4d0dd7a65396c5083ebc6",class:"PrizeGroups"},1==this.useGroup&&this.prizeGroups&&this.prizeGroups.map(((t,e)=>i("div",{class:`PrizeGroup Group${e+1}`},t&&t.map(((t,e)=>i("div",{class:"PrizeRow"},i("div",{class:`PrizeItem Rank${e+1}`},i("span",{class:"PrizeRank"},t.rank," ",kn("place",this.language)," "),i("span",{class:"PrizeName"},t.name)))))))),0==this.useGroup&&this.prizes&&this.prizes.map(((t,e)=>i("div",{class:`Prize Prize${e}`},i("p",{class:"PrizeText"},i("span",{class:"PrizeRank"},t.count>1?`${t.rank}~${t.rank+t.count-1}`:t.rank)," ",kn("place",this.language),": ",t.name)))),!this.prizes&&i("p",{key:"2df9ce5a0f56928a550f0ebf3de962835df0d6f2"},kn("noprizes",this.language))))}get host(){return n(this)}};Dn.style=":host{display:block}.PrizeGroups{color:var(--emw--color-white, #FFFFFF);display:flex;gap:20px;font-size:14px}.PrizeGroup{flex:1;background:var(--emw--tournament-color-bg, #153a5c)}.PrizeTitle{text-align:center;width:100%}.GroupPrizeTitle{width:100%;display:flex;padding:8px 6px;gap:8px;justify-content:center}.PrizeView{display:flex;gap:10px;font-size:12px}.PrizeView .PrizeTitle{display:inline-block;width:auto}.PrizeView .PrizeGroups{display:inline-flex}.Title{text-align:center;color:var(--emw--color-white, #FFFFFF)}.PrizeIcon path{fill:var(--emw--color-white, #FFFFFF)}.PrizeRow{padding:8px;border-bottom:1px solid rgba(206, 210, 214, 0.15)}.PrizeItem{display:flex;justify-content:space-between;padding:6px;font-size:12px;border-radius:2px}.Group1 .Rank1{background:#7e6c22}.Group1 .Rank2{background:#666}.Group1 .Rank3{background:#6a5446}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}";export{a as casino_tournament_buttons,h as casino_tournament_duration,wn as casino_tournament_info,Dn as casino_tournament_prizes}
|
|
@@ -6800,7 +6800,7 @@ hooks.HTML5_FMT = {
|
|
|
6800
6800
|
MONTH: 'YYYY-MM', // <input type="month" />
|
|
6801
6801
|
};
|
|
6802
6802
|
|
|
6803
|
-
const casinoTournamentInfoCss = ":host{display:block}.TournamentInfo{background:var(--emw--tournament-color-bg, #153a5c);color:var(--emw--color-white, #FFFFFF);padding:20px;text-align:center;display:flex;gap:20px;display:flex;flex-direction:column}.TournamentInfo.Left{text-align:left}.TournamentInfo.Left .InfoButtons{justify-content:left}.TournamentInfo.Right{text-align:right}.TournamentInfo.Right .InfoButtons{justify-content:right}.Title{margin:0;font-size:18px}.Score{color:var(--emw--color-white, #FFFFFF)}.GameLink{text-decoration:underline;text-transform:uppercase;color:var(--emw--color-white, #FFFFFF)}.InfoButtons{display:flex;justify-content:center}.DetailsButton{border:0;border-radius:
|
|
6803
|
+
const casinoTournamentInfoCss = ":host{display:block}.TournamentInfo{background:var(--emw--tournament-color-bg, #153a5c);color:var(--emw--color-white, #FFFFFF);padding:20px;text-align:center;display:flex;gap:20px;display:flex;flex-direction:column}.TournamentInfo.Left{text-align:left}.TournamentInfo.Left .InfoButtons{justify-content:left}.TournamentInfo.Right{text-align:right}.TournamentInfo.Right .InfoButtons{justify-content:right}.Title{margin:0;font-size:18px}.Score{color:var(--emw--color-white, #FFFFFF)}.GameLink{text-decoration:underline;text-transform:uppercase;color:var(--emw--color-white, #FFFFFF)}.InfoButtons{display:flex;justify-content:center}.DetailsButton{border:0;border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--tournament-color-primary, #0072ed);padding:8px 16px;font-size:14px;font-weight:600;color:var(--emw--color-white, #FFFFFF);cursor:pointer}p{font-size:12px;margin-top:0}casino-tournament-duration::part(StartDate){color:var(--emw--color-white, #FFFFFF)}casino-tournament-duration::part(EndDate){color:var(--emw--color-white, #FFFFFF)}";
|
|
6804
6804
|
const CasinoTournamentInfoStyle0 = casinoTournamentInfoCss;
|
|
6805
6805
|
|
|
6806
6806
|
const CasinoTournamentInfo = class {
|
|
@@ -6796,7 +6796,7 @@ hooks.HTML5_FMT = {
|
|
|
6796
6796
|
MONTH: 'YYYY-MM', // <input type="month" />
|
|
6797
6797
|
};
|
|
6798
6798
|
|
|
6799
|
-
const casinoTournamentInfoCss = ":host{display:block}.TournamentInfo{background:var(--emw--tournament-color-bg, #153a5c);color:var(--emw--color-white, #FFFFFF);padding:20px;text-align:center;display:flex;gap:20px;display:flex;flex-direction:column}.TournamentInfo.Left{text-align:left}.TournamentInfo.Left .InfoButtons{justify-content:left}.TournamentInfo.Right{text-align:right}.TournamentInfo.Right .InfoButtons{justify-content:right}.Title{margin:0;font-size:18px}.Score{color:var(--emw--color-white, #FFFFFF)}.GameLink{text-decoration:underline;text-transform:uppercase;color:var(--emw--color-white, #FFFFFF)}.InfoButtons{display:flex;justify-content:center}.DetailsButton{border:0;border-radius:
|
|
6799
|
+
const casinoTournamentInfoCss = ":host{display:block}.TournamentInfo{background:var(--emw--tournament-color-bg, #153a5c);color:var(--emw--color-white, #FFFFFF);padding:20px;text-align:center;display:flex;gap:20px;display:flex;flex-direction:column}.TournamentInfo.Left{text-align:left}.TournamentInfo.Left .InfoButtons{justify-content:left}.TournamentInfo.Right{text-align:right}.TournamentInfo.Right .InfoButtons{justify-content:right}.Title{margin:0;font-size:18px}.Score{color:var(--emw--color-white, #FFFFFF)}.GameLink{text-decoration:underline;text-transform:uppercase;color:var(--emw--color-white, #FFFFFF)}.InfoButtons{display:flex;justify-content:center}.DetailsButton{border:0;border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--tournament-color-primary, #0072ed);padding:8px 16px;font-size:14px;font-weight:600;color:var(--emw--color-white, #FFFFFF);cursor:pointer}p{font-size:12px;margin-top:0}casino-tournament-duration::part(StartDate){color:var(--emw--color-white, #FFFFFF)}casino-tournament-duration::part(EndDate){color:var(--emw--color-white, #FFFFFF)}";
|
|
6800
6800
|
const CasinoTournamentInfoStyle0 = casinoTournamentInfoCss;
|
|
6801
6801
|
|
|
6802
6802
|
const CasinoTournamentInfo = class {
|