@creopse/vue 0.0.12 → 0.0.14
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/index.cjs +6 -6
- package/dist/index.js +6 -6
- package/dist/index.mjs +1128 -1056
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var CreopseVueToolkit=function(U,o){"use strict";var
|
|
1
|
+
var CreopseVueToolkit=function(U,o){"use strict";var xt;(function(e){e[e.DOCUMENT=1]="DOCUMENT",e[e.IMAGE=2]="IMAGE",e[e.VIDEO=3]="VIDEO",e[e.AUDIO=4]="AUDIO",e[e.OTHER=5]="OTHER"})(xt||(xt={}));var It;(function(e){e[e.DRAFT=1]="DRAFT",e[e.PENDING=2]="PENDING",e[e.PUBLISHED=3]="PUBLISHED",e[e.TRASH=4]="TRASH"})(It||(It={}));var Rt;(function(e){e.VERTICAL="vertical",e.HORIZONTAL="horizontal"})(Rt||(Rt={}));var bt;(function(e){e.SELF_HOSTED="self-hosted",e.YOUTUBE="youtube"})(bt||(bt={}));function Lt(e){const t=document.getElementById(e);t?t.scrollIntoView({behavior:"smooth",block:"start"}):console.error(`Element with ID "${e}" not found.`)}//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+a+"] ";for(i in arguments[0])g(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}
|
|
6
|
+
var Pt;function d(){return Pt.apply(null,arguments)}function sr(e){Pt=e}function P(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function re(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Je(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(g(e,t))return!1;return!0}function N(e){return e===void 0}function j(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ge(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Wt(e,t){var s=[],r,n=e.length;for(r=0;r<n;++r)s.push(t(e[r],r));return s}function X(e,t){for(var s in t)g(t,s)&&(e[s]=t[s]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function F(e,t,s,r){return us(e,t,s,r,!0).utc()}function rr(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(e){return e._pf==null&&(e._pf=rr()),e._pf}var Qe;Array.prototype.some?Qe=Array.prototype.some:Qe=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Ke(e){var t=null,s=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=_(e),s=Qe.call(t.parsedDateParts,function(n){return n!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Ne(e){var t=F(NaN);return e!=null?X(_(t),e):_(t).userInvalidated=!0,t}var At=d.momentProperties=[],Xe=!1;function et(e,t){var s,r,n,a=At.length;if(N(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),N(t._i)||(e._i=t._i),N(t._f)||(e._f=t._f),N(t._l)||(e._l=t._l),N(t._strict)||(e._strict=t._strict),N(t._tzm)||(e._tzm=t._tzm),N(t._isUTC)||(e._isUTC=t._isUTC),N(t._offset)||(e._offset=t._offset),N(t._pf)||(e._pf=_(t)),N(t._locale)||(e._locale=t._locale),a>0)for(s=0;s<a;s++)r=At[s],n=t[r],N(n)||(e[r]=n);return e}function we(e){et(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Xe===!1&&(Xe=!0,d.updateOffset(this),Xe=!1)}function W(e){return e instanceof we||e!=null&&e._isAMomentObject!=null}function Ct(e){d.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function R(e,t){var s=!0;return X(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),s){var r=[],n,a,i,l=arguments.length;for(a=0;a<l;a++){if(n="",typeof arguments[a]=="object"){n+=`
|
|
7
|
+
[`+a+"] ";for(i in arguments[0])g(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}Ct(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
9
|
-
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ft={};function At(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),Ft[e]||(Wt(t),Ft[e]=!0)}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null;function H(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function er(e){var t,s;for(s in e)g(e,s)&&(t=e[s],H(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function et(e,t){var s=X({},e),r;for(r in t)g(t,r)&&(se(e[r])&&se(t[r])?(s[r]={},X(s[r],e[r]),X(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)g(e,r)&&!g(t,r)&&se(e[r])&&(s[r]=X({},s[r]));return s}function tt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=function(e){var t,s=[];for(t in e)g(e,t)&&s.push(t);return s};var tr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function sr(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return H(r)?r.call(t,s):r}function V(e,t,s){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var rt=/(\[[^\[]*\])|(\\)?([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,Ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nt={},le={};function h(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(le[e]=n),t&&(le[t[0]]=function(){return V(n.apply(this,arguments),t[1],t[2])}),s&&(le[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function rr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function nr(e){var t=e.match(rt),s,r;for(s=0,r=t.length;s<r;s++)le[t[s]]?t[s]=le[t[s]]:t[s]=rr(t[s]);return function(n){var a="",i;for(i=0;i<r;i++)a+=H(t[i])?t[i].call(n,e):t[i];return a}}function be(e,t){return e.isValid()?(t=Ut(t,e.localeData()),nt[t]=nt[t]||nr(t),nt[t](e)):e.localeData().invalidDate()}function Ut(e,t){var s=5;function r(n){return t.longDateFormat(n)||n}for(Ne.lastIndex=0;s>=0&&Ne.test(e);)e=e.replace(Ne,r),Ne.lastIndex=0,s-=1;return e}var ar={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ir(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(rt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var or="Invalid date";function lr(){return this._invalidDate}var ur="%d",dr=/\d{1,2}/;function fr(e){return this._ordinal.replace("%d",e)}var hr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function cr(e,t,s,r){var n=this._relativeTime[s];return H(n)?n(e,t,s,r):n.replace(/%d/i,e)}function mr(e,t){var s=this._relativeTime[e>0?"future":"past"];return H(s)?s(t):s.replace(/%s/i,t)}var Ct={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function I(e){return typeof e=="string"?Ct[e]||Ct[e.toLowerCase()]:void 0}function at(e){var t={},s,r;for(r in e)g(e,r)&&(s=I(r),s&&(t[s]=e[r]));return t}var _r={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function yr(e){var t=[],s;for(s in e)g(e,s)&&t.push({unit:s,priority:_r[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}var Ht=/\d/,E=/\d\d/,Vt=/\d{3}/,it=/\d{4}/,Ee=/[+-]?\d{6}/,D=/\d\d?/,Gt=/\d\d\d\d?/,jt=/\d\d\d\d\d\d?/,Re=/\d{1,3}/,ot=/\d{1,4}/,Ie=/[+-]?\d{1,6}/,ue=/\d+/,Le=/[+-]?\d+/,wr=/Z|[+-]\d\d:?\d\d/gi,Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,gr=/[+-]?\d+(\.\d{1,3})?/,ke=/[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,de=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,We;We={};function f(e,t,s){We[e]=H(t)?t:function(r,n){return r&&s?s:t}}function kr(e,t){return g(We,e)?We[e](t._strict,t._locale):new RegExp(Sr(e))}function Sr(e){return z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,n,a){return s||r||n||a}))}function z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function L(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=L(t)),s}var ut={};function S(e,t){var s,r=t,n;for(typeof e=="string"&&(e=[e]),j(t)&&(r=function(a,i){i[t]=y(a)}),n=e.length,s=0;s<n;s++)ut[e[s]]=r}function Se(e,t){S(e,function(s,r,n,a){n._w=n._w||{},t(s,n._w,n,a)})}function Dr(e,t,s){t!=null&&g(ut,e)&&ut[e](t,s._a,s,e)}function Fe(e){return e%4===0&&e%100!==0||e%400===0}var x=0,B=1,G=2,Y=3,F=4,$=5,re=6,Mr=7,pr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?V(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),f("Y",Le),f("YY",D,E),f("YYYY",ot,it),f("YYYYY",Ie,Ee),f("YYYYYY",Ie,Ee),S(["YYYYY","YYYYYY"],x),S("YYYY",function(e,t){t[x]=e.length===2?d.parseTwoDigitYear(e):y(e)}),S("YY",function(e,t){t[x]=d.parseTwoDigitYear(e)}),S("Y",function(e,t){t[x]=parseInt(e,10)});function De(e){return Fe(e)?366:365}d.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var zt=fe("FullYear",!0);function vr(){return Fe(this.year())}function fe(e,t){return function(s){return s!=null?(Bt(this,e,s),d.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function Bt(e,t,s){var r,n,a,i,u;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(n?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(n?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(n?r.setUTCHours(s):r.setHours(s));case"Date":return void(n?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}a=s,i=e.month(),u=e.date(),u=u===29&&i===1&&!Fe(a)?28:u,n?r.setUTCFullYear(a,i,u):r.setFullYear(a,i,u)}}function Yr(e){return e=I(e),H(this[e])?this[e]():this}function Or(e,t){if(typeof e=="object"){e=at(e);var s=yr(e),r,n=s.length;for(r=0;r<n;r++)this[s[r].unit](e[s[r].unit])}else if(e=I(e),H(this[e]))return this[e](t);return this}function Tr(e,t){return(e%t+t)%t}var v;Array.prototype.indexOf?v=Array.prototype.indexOf:v=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function dt(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Tr(t,12);return e+=(t-s)/12,s===1?Fe(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),f("M",D,de),f("MM",D,E),f("MMM",function(e,t){return t.monthsShortRegex(e)}),f("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[B]=y(e)-1}),S(["MMM","MMMM"],function(e,t,s,r){var n=s._locale.monthsParse(e,r,s._strict);n!=null?t[B]=n:m(s).invalidMonth=e});var xr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$t="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Nr=ke,br=ke;function Er(e,t){return e?P(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Zt).test(t)?"format":"standalone"][e.month()]:P(this._months)?this._months:this._months.standalone}function Rr(e,t){return e?P(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Zt.test(t)?"format":"standalone"][e.month()]:P(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ir(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=C([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return s?t==="MMM"?(n=v.call(this._shortMonthsParse,i),n!==-1?n:null):(n=v.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=v.call(this._shortMonthsParse,i),n!==-1?n:(n=v.call(this._longMonthsParse,i),n!==-1?n:null)):(n=v.call(this._longMonthsParse,i),n!==-1?n:(n=v.call(this._shortMonthsParse,i),n!==-1?n:null))}function Lr(e,t,s){var r,n,a;if(this._monthsParseExact)return Ir.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=C([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function qt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),!j(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,dt(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function Jt(e){return e!=null?(qt(this,e),d.updateOffset(this,!0),this):Me(this,"Month")}function Pr(){return dt(this.year(),this.month())}function Wr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Qt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Nr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Fr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Qt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=br),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Qt(){function e(c,_){return _.length-c.length}var t=[],s=[],r=[],n,a,i,u;for(n=0;n<12;n++)a=C([2e3,n]),i=z(this.monthsShort(a,"")),u=z(this.months(a,"")),t.push(i),s.push(u),r.push(u),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ar(e,t,s,r,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,n,a,i),u}function pe(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ae(e,t,s){var r=7+t-s,n=(7+pe(e,0,r).getUTCDay()-t)%7;return-n+r-1}function Kt(e,t,s,r,n){var a=(7+s-r)%7,i=Ae(e,r,n),u=1+7*(t-1)+a+i,c,_;return u<=0?(c=e-1,_=De(c)+u):u>De(e)?(c=e+1,_=u-De(e)):(c=e,_=u),{year:c,dayOfYear:_}}function ve(e,t,s){var r=Ae(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+Z(i,t,s)):n>Z(e.year(),t,s)?(a=n-Z(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function Z(e,t,s){var r=Ae(e,t,s),n=Ae(e+1,t,s);return(De(e)-r+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),f("w",D,de),f("ww",D,E),f("W",D,de),f("WW",D,E),Se(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=y(e)});function Ur(e){return ve(e,this._week.dow,this._week.doy).week}var Cr={dow:0,doy:6};function Hr(){return this._week.dow}function Vr(){return this._week.doy}function Gr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function jr(e){var t=ve(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),f("d",D),f("e",D),f("E",D),f("dd",function(e,t){return t.weekdaysMinRegex(e)}),f("ddd",function(e,t){return t.weekdaysShortRegex(e)}),f("dddd",function(e,t){return t.weekdaysRegex(e)}),Se(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:m(s).invalidWeekday=e}),Se(["d","e","E"],function(e,t,s,r){t[r]=y(e)});function zr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Br(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ft(e,t){return e.slice(t,7).concat(e.slice(0,t))}var $r="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qr=ke,Jr=ke,Qr=ke;function Kr(e,t){var s=P(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ft(s,this._week.dow):e?s[e.day()]:s}function Xr(e){return e===!0?ft(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function en(e){return e===!0?ft(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function tn(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=C([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return s?t==="dddd"?(n=v.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=v.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=v.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=v.call(this._weekdaysParse,i),n!==-1||(n=v.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=v.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=v.call(this._shortWeekdaysParse,i),n!==-1||(n=v.call(this._weekdaysParse,i),n!==-1)?n:(n=v.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=v.call(this._minWeekdaysParse,i),n!==-1||(n=v.call(this._weekdaysParse,i),n!==-1)?n:(n=v.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function sn(e,t,s){var r,n,a;if(this._weekdaysParseExact)return tn.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=C([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function rn(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=zr(e,this.localeData()),this.add(e-t,"d")):t}function nn(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function an(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Br(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function on(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=qr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ln(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Jr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function un(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(O,T){return T.length-O.length}var t=[],s=[],r=[],n=[],a,i,u,c,_;for(a=0;a<7;a++)i=C([2e3,1]).day(a),u=z(this.weekdaysMin(i,"")),c=z(this.weekdaysShort(i,"")),_=z(this.weekdays(i,"")),t.push(u),s.push(c),r.push(_),n.push(u),n.push(c),n.push(_);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ct(){return this.hours()%12||12}function dn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ct),h("k",["kk",2],0,dn),h("hmm",0,0,function(){return""+ct.apply(this)+V(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ct.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)});function es(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}es("a",!0),es("A",!1);function ts(e,t){return t._meridiemParse}f("a",ts),f("A",ts),f("H",D,lt),f("h",D,de),f("k",D,de),f("HH",D,E),f("hh",D,E),f("kk",D,E),f("hmm",Gt),f("hmmss",jt),f("Hmm",Gt),f("Hmmss",jt),S(["H","HH"],Y),S(["k","kk"],function(e,t,s){var r=y(e);t[Y]=r===24?0:r}),S(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),S(["h","hh"],function(e,t,s){t[Y]=y(e),m(s).bigHour=!0}),S("hmm",function(e,t,s){var r=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r)),m(s).bigHour=!0}),S("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r,2)),t[$]=y(e.substr(n)),m(s).bigHour=!0}),S("Hmm",function(e,t,s){var r=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r))}),S("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r,2)),t[$]=y(e.substr(n))});function fn(e){return(e+"").toLowerCase().charAt(0)==="p"}var hn=/[ap]\.?m?\.?/i,cn=fe("Hours",!0);function mn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var ss={calendar:tr,longDateFormat:ar,invalidDate:or,ordinal:ur,dayOfMonthOrdinalParse:dr,relativeTime:hr,months:xr,monthsShort:$t,week:Cr,weekdays:$r,weekdaysMin:Zr,weekdaysShort:Xt,meridiemParse:hn},p={},Ye={},Oe;function _n(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function rs(e){return e&&e.toLowerCase().replace("_","-")}function yn(e){for(var t=0,s,r,n,a;t<e.length;){for(a=rs(e[t]).split("-"),s=a.length,r=rs(e[t+1]),r=r?r.split("-"):null;s>0;){if(n=Ue(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&_n(a,r)>=s-1)break;s--}t++}return Oe}function wn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ue(e){var t=null,s;if(p[e]===void 0&&typeof module<"u"&&module&&module.exports&&wn(e))try{t=Oe._abbr,s=require,s("./locale/"+e),ee(t)}catch{p[e]=null}return p[e]}function ee(e,t){var s;return e&&(N(t)?s=q(e):s=mt(e,t),s?Oe=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Oe._abbr}function mt(e,t){if(t!==null){var s,r=ss;if(t.abbr=e,p[e]!=null)At("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=p[e]._config;else if(t.parentLocale!=null)if(p[t.parentLocale]!=null)r=p[t.parentLocale]._config;else if(s=Ue(t.parentLocale),s!=null)r=s._config;else return Ye[t.parentLocale]||(Ye[t.parentLocale]=[]),Ye[t.parentLocale].push({name:e,config:t}),null;return p[e]=new tt(et(r,t)),Ye[e]&&Ye[e].forEach(function(n){mt(n.name,n.config)}),ee(e),p[e]}else return delete p[e],null}function gn(e,t){if(t!=null){var s,r,n=ss;p[e]!=null&&p[e].parentLocale!=null?p[e].set(et(p[e]._config,t)):(r=Ue(e),r!=null&&(n=r._config),t=et(n,t),r==null&&(t.abbr=e),s=new tt(t),s.parentLocale=p[e],p[e]=s),ee(e)}else p[e]!=null&&(p[e].parentLocale!=null?(p[e]=p[e].parentLocale,e===ee()&&ee(e)):p[e]!=null&&delete p[e]);return p[e]}function q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Oe;if(!P(e)){if(t=Ue(e),t)return t;e=[e]}return yn(e)}function kn(){return st(p)}function _t(e){var t,s=e._a;return s&&m(e).overflow===-2&&(t=s[B]<0||s[B]>11?B:s[G]<1||s[G]>dt(s[x],s[B])?G:s[Y]<0||s[Y]>24||s[Y]===24&&(s[F]!==0||s[$]!==0||s[re]!==0)?Y:s[F]<0||s[F]>59?F:s[$]<0||s[$]>59?$:s[re]<0||s[re]>999?re:-1,m(e)._overflowDayOfYear&&(t<x||t>G)&&(t=G),m(e)._overflowWeeks&&t===-1&&(t=Mr),m(e)._overflowWeekday&&t===-1&&(t=pr),m(e).overflow=t),e}var Sn=/^\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)?)?$/,Dn=/^\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)?)?$/,Mn=/Z|[+-]\d\d(?::?\d\d)?/,Ce=[["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]],yt=[["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/]],pn=/^\/?Date\((-?\d+)/i,vn=/^(?:(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}))$/,Yn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function ns(e){var t,s,r=e._i,n=Sn.exec(r)||Dn.exec(r),a,i,u,c,_=Ce.length,O=yt.length;if(n){for(m(e).iso=!0,t=0,s=_;t<s;t++)if(Ce[t][1].exec(n[1])){i=Ce[t][0],a=Ce[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,s=O;t<s;t++)if(yt[t][1].exec(n[3])){u=(n[2]||" ")+yt[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(Mn.exec(n[4]))c="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(c||""),gt(e)}else e._isValid=!1}function On(e,t,s,r,n,a){var i=[Tn(e),$t.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Tn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function xn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(e,t,s){if(e){var r=Xt.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return m(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function bn(e,t,s){if(e)return Yn[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function as(e){var t=vn.exec(xn(e._i)),s;if(t){if(s=On(t[4],t[3],t[2],t[5],t[6],t[7]),!Nn(t[1],s,e))return;e._a=s,e._tzm=bn(t[8],t[9],t[10]),e._d=pe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function En(e){var t=pn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ns(e),e._isValid===!1)delete e._isValid;else return;if(as(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=R("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function he(e,t,s){return e??t??s}function Rn(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,s,r=[],n,a,i;if(!e._d){for(n=Rn(e),e._w&&e._a[G]==null&&e._a[B]==null&&In(e),e._dayOfYear!=null&&(i=he(e._a[x],n[x]),(e._dayOfYear>De(i)||e._dayOfYear===0)&&(m(e)._overflowDayOfYear=!0),s=pe(i,0,e._dayOfYear),e._a[B]=s.getUTCMonth(),e._a[G]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[F]===0&&e._a[$]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?pe:Ar).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function In(e){var t,s,r,n,a,i,u,c,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=he(t.GG,e._a[x],ve(M(),1,4).year),r=he(t.W,1),n=he(t.E,1),(n<1||n>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,_=ve(M(),a,i),s=he(t.gg,e._a[x],_.year),r=he(t.w,_.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(c=!0)):n=a),r<1||r>Z(s,a,i)?m(e)._overflowWeeks=!0:c!=null?m(e)._overflowWeekday=!0:(u=Kt(s,r,n,a,i),e._a[x]=u.year,e._dayOfYear=u.dayOfYear)}d.ISO_8601=function(){},d.RFC_2822=function(){};function gt(e){if(e._f===d.ISO_8601){ns(e);return}if(e._f===d.RFC_2822){as(e);return}e._a=[],m(e).empty=!0;var t=""+e._i,s,r,n,a,i,u=t.length,c=0,_,O;for(n=Ut(e._f,e._locale).match(rt)||[],O=n.length,s=0;s<O;s++)a=n[s],r=(t.match(kr(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&m(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),c+=r.length),le[a]?(r?m(e).empty=!1:m(e).unusedTokens.push(a),Dr(a,r,e)):e._strict&&!r&&m(e).unusedTokens.push(a);m(e).charsLeftOver=u-c,t.length>0&&m(e).unusedInput.push(t),e._a[Y]<=12&&m(e).bigHour===!0&&e._a[Y]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Y]=Ln(e._locale,e._a[Y],e._meridiem),_=m(e).era,_!==null&&(e._a[x]=e._locale.erasConvertYear(_,e._a[x])),wt(e),_t(e)}function Ln(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Pn(e){var t,s,r,n,a,i,u=!1,c=e._f.length;if(c===0){m(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<c;n++)a=0,i=!1,t=Xe({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],gt(t),Qe(t)&&(i=!0),a+=m(t).charsLeftOver,a+=m(t).unusedTokens.length*10,m(t).score=a,u?a<r&&(r=a,s=t):(r==null||a<r||i)&&(r=a,s=t,i&&(u=!0));X(e,s||t)}function Wn(e){if(!e._d){var t=at(e._i),s=t.day===void 0?t.date:t.day;e._a=Lt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),wt(e)}}function Fn(e){var t=new ge(_t(is(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function is(e){var t=e._i,s=e._f;return e._locale=e._locale||q(e._l),t===null||s===void 0&&t===""?xe({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),W(t)?new ge(_t(t)):(we(t)?e._d=t:P(s)?Pn(e):s?gt(e):An(e),Qe(e)||(e._d=null),e))}function An(e){var t=e._i;N(t)?e._d=new Date(d.now()):we(t)?e._d=new Date(t.valueOf()):typeof t=="string"?En(e):P(t)?(e._a=Lt(t.slice(0),function(s){return parseInt(s,10)}),wt(e)):se(t)?Wn(e):j(t)?e._d=new Date(t):d.createFromInputFallback(e)}function os(e,t,s,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(se(e)&&qe(e)||P(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=s,a._i=e,a._f=t,a._strict=r,Fn(a)}function M(e,t,s,r){return os(e,t,s,r,!1)}var Un=R("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:xe()}),Cn=R("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:xe()});function ls(e,t){var s,r;if(t.length===1&&P(t[0])&&(t=t[0]),!t.length)return M();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Hn(){var e=[].slice.call(arguments,0);return ls("isBefore",e)}function Vn(){var e=[].slice.call(arguments,0);return ls("isAfter",e)}var Gn=function(){return Date.now?Date.now():+new Date},Te=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jn(e){var t,s=!1,r,n=Te.length;for(t in e)if(g(e,t)&&!(v.call(Te,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Te[r]]){if(s)return!1;parseFloat(e[Te[r]])!==y(e[Te[r]])&&(s=!0)}return!0}function zn(){return this._isValid}function Bn(){return A(NaN)}function He(e){var t=at(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,c=t.minute||0,_=t.second||0,O=t.millisecond||0;this._isValid=jn(t),this._milliseconds=+O+_*1e3+c*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+r*3+s*12,this._data={},this._locale=q(),this._bubble()}function Ve(e){return e instanceof He}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function $n(e,t,s){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)y(e[i])!==y(t[i])&&a++;return a+n}function us(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+V(~~(s/60),2)+t+V(~~s%60,2)})}us("Z",":"),us("ZZ",""),f("Z",Pe),f("ZZ",Pe),S(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=St(Pe,e)});var Zn=/([\+\-]|\d\d)/gi;function St(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match(Zn)||["-",0,0],a=+(n[1]*60)+y(n[2]),a===0?0:n[0]==="+"?a:-a)}function Dt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(W(e)||we(e)?e.valueOf():M(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),d.updateOffset(s,!1),s):M(e).local()}function Mt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function qn(e,t,s){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=St(Pe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=Mt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?cs(this,A(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Mt(this)}function Jn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qn(e){return this.utcOffset(0,e)}function Kn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mt(this),"m")),this}function Xn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=St(wr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ea(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ta(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function sa(){if(!N(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xe(e,this),e=is(e),e._a?(t=e._isUTC?C(e._a):M(e._a),this._isDSTShifted=this.isValid()&&$n(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ra(){return this.isValid()?!this._isUTC:!1}function na(){return this.isValid()?this._isUTC:!1}function ds(){return this.isValid()?this._isUTC&&this._offset===0:!1}var aa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ia=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function A(e,t){var s=e,r=null,n,a,i;return Ve(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:j(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=aa.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:y(r[G])*n,h:y(r[Y])*n,m:y(r[F])*n,s:y(r[$])*n,ms:y(kt(r[re]*1e3))*n}):(r=ia.exec(e))?(n=r[1]==="-"?-1:1,s={y:ne(r[2],n),M:ne(r[3],n),w:ne(r[4],n),d:ne(r[5],n),h:ne(r[6],n),m:ne(r[7],n),s:ne(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=oa(M(s.from),M(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new He(s),Ve(e)&&g(e,"_locale")&&(a._locale=e._locale),Ve(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}A.fn=He.prototype,A.invalid=Bn;function ne(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function fs(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function oa(e,t){var s;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?s=fs(e,t):(s=fs(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function hs(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(At(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=s,s=r,r=a),n=A(s,r),cs(this,n,e),this}}function cs(e,t,s,r){var n=t._milliseconds,a=kt(t._days),i=kt(t._months);e.isValid()&&(r=r??!0,i&&qt(e,Me(e,"Month")+i*s),a&&Bt(e,"Date",Me(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&d.updateOffset(e,a||i))}var la=hs(1,"add"),ua=hs(-1,"subtract");function ms(e){return typeof e=="string"||e instanceof String}function da(e){return W(e)||we(e)||ms(e)||j(e)||ha(e)||fa(e)||e===null||e===void 0}function fa(e){var t=se(e)&&!qe(e),s=!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"],n,a,i=r.length;for(n=0;n<i;n+=1)a=r[n],s=s||g(e,a);return t&&s}function ha(e){var t=P(e),s=!1;return t&&(s=e.filter(function(r){return!j(r)&&ms(e)}).length===0),t&&s}function ca(e){var t=se(e)&&!qe(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],s=s||g(e,a);return t&&s}function ma(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function _a(e,t){arguments.length===1&&(arguments[0]?da(arguments[0])?(e=arguments[0],t=void 0):ca(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||M(),r=Dt(s,this).startOf("day"),n=d.calendarFormat(this,r)||"sameElse",a=t&&(H(t[n])?t[n].call(this,s):t[n]);return this.format(a||this.localeData().calendar(n,this,M(s)))}function ya(){return new ge(this)}function wa(e,t){var s=W(e)?e:M(e);return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function ga(e,t){var s=W(e)?e:M(e);return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function ka(e,t,s,r){var n=W(e)?e:M(e),a=W(t)?t:M(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,s):!this.isBefore(n,s))&&(r[1]===")"?this.isBefore(a,s):!this.isAfter(a,s))):!1}function Sa(e,t){var s=W(e)?e:M(e),r;return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Da(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ma(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function pa(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=Dt(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=I(t),t){case"year":a=Ge(this,r)/12;break;case"month":a=Ge(this,r);break;case"quarter":a=Ge(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return s?a:L(a)}function Ge(e,t){if(e.date()<t.date())return-Ge(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),n,a;return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function va(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ya(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?be(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",be(s,"Z")):be(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Oa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function Ta(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=be(this,e);return this.localeData().postformat(t)}function xa(e,t){return this.isValid()&&(W(e)&&e.isValid()||M(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Na(e){return this.from(M(),e)}function ba(e,t){return this.isValid()&&(W(e)&&e.isValid()||M(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ea(e){return this.to(M(),e)}function _s(e){var t;return e===void 0?this._locale._abbr:(t=q(e),t!=null&&(this._locale=t),this)}var ys=R("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function ws(){return this._locale}var je=1e3,ce=60*je,ze=60*ce,gs=(365*400+97)*24*ze;function me(e,t){return(e%t+t)%t}function ks(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-gs:new Date(e,t,s).valueOf()}function Ss(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-gs:Date.UTC(e,t,s)}function Ra(e){var t,s;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Ss:ks,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=me(t+(this._isUTC?0:this.utcOffset()*ce),ze);break;case"minute":t=this._d.valueOf(),t-=me(t,ce);break;case"second":t=this._d.valueOf(),t-=me(t,je);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ia(e){var t,s;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Ss:ks,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ze-me(t+(this._isUTC?0:this.utcOffset()*ce),ze)-1;break;case"minute":t=this._d.valueOf(),t+=ce-me(t,ce)-1;break;case"second":t=this._d.valueOf(),t+=je-me(t,je)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function La(){return this._d.valueOf()-(this._offset||0)*6e4}function Pa(){return Math.floor(this.valueOf()/1e3)}function Wa(){return new Date(this.valueOf())}function Fa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Aa(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ua(){return this.isValid()?this.toISOString():null}function Ca(){return Qe(this)}function Ha(){return X({},m(this))}function Va(){return m(this).overflow}function Ga(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),f("N",pt),f("NN",pt),f("NNN",pt),f("NNNN",ei),f("NNNNN",ti),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?m(s).era=n:m(s).invalidEra=e}),f("y",ue),f("yy",ue),f("yyy",ue),f("yyyy",ue),f("yo",si),S(["y","yy","yyy","yyyy"],x),S(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[x]=s._locale.eraYearOrdinalParse(e,n):t[x]=parseInt(e,10)});function ja(e,t){var s,r,n,a=this._eras||q("en")._eras;for(s=0,r=a.length;s<r;++s){switch(typeof a[s].since){case"string":n=d(a[s].since).startOf("day"),a[s].since=n.valueOf();break}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":n=d(a[s].until).startOf("day").valueOf(),a[s].until=n.valueOf();break}}return a}function za(e,t,s){var r,n,a=this.eras(),i,u,c;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(i=a[r].name.toUpperCase(),u=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(c===e)return a[r];break}else if([i,u,c].indexOf(e)>=0)return a[r]}function Ba(e,t){var s=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*s}function $a(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function Za(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function qa(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function Ja(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-d(n[e].since).year())*s+n[e].offset;return this.year()}function Qa(e){return g(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function Ka(e){return g(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Xa(e){return g(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function pt(e,t){return t.erasAbbrRegex(e)}function ei(e,t){return t.erasNameRegex(e)}function ti(e,t){return t.erasNarrowRegex(e)}function si(e,t){return t._eraYearOrdinalRegex||ue}function vt(){var e=[],t=[],s=[],r=[],n,a,i,u,c,_=this.eras();for(n=0,a=_.length;n<a;++n)i=z(_[n].name),u=z(_[n].abbr),c=z(_[n].narrow),t.push(i),e.push(u),s.push(c),r.push(i),r.push(u),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Be(e,t){h(0,[e,e.length],0,t)}Be("gggg","weekYear"),Be("ggggg","weekYear"),Be("GGGG","isoWeekYear"),Be("GGGGG","isoWeekYear"),f("G",Le),f("g",Le),f("GG",D,E),f("gg",D,E),f("GGGG",ot,it),f("gggg",ot,it),f("GGGGG",Ie,Ee),f("ggggg",Ie,Ee),Se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=y(e)}),Se(["gg","GG"],function(e,t,s,r){t[r]=d.parseTwoDigitYear(e)});function ri(e){return Ds.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ni(e){return Ds.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ai(){return Z(this.year(),1,4)}function ii(){return Z(this.isoWeekYear(),1,4)}function oi(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)}function li(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)}function Ds(e,t,s,r,n){var a;return e==null?ve(this,r,n).year:(a=Z(e,r,n),t>a&&(t=a),ui.call(this,e,t,s,r,n))}function ui(e,t,s,r,n){var a=Kt(e,t,s,r,n),i=pe(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),f("Q",Ht),S("Q",function(e,t){t[B]=(y(e)-1)*3});function di(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),f("D",D,de),f("DD",D,E),f("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],G),S("Do",function(e,t){t[G]=y(e.match(D)[0])});var Ms=fe("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),f("DDD",Re),f("DDDD",Vt),S(["DDD","DDDD"],function(e,t,s){s._dayOfYear=y(e)});function fi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),f("m",D,lt),f("mm",D,E),S(["m","mm"],F);var hi=fe("Minutes",!1);h("s",["ss",2],0,"second"),f("s",D,lt),f("ss",D,E),S(["s","ss"],$);var ci=fe("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),f("S",Re,Ht),f("SS",Re,E),f("SSS",Re,Vt);var te,ps;for(te="SSSS";te.length<=9;te+="S")f(te,ue);function mi(e,t){t[re]=y(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")S(te,mi);ps=fe("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function _i(){return this._isUTC?"UTC":""}function yi(){return this._isUTC?"Coordinated Universal Time":""}var l=ge.prototype;l.add=la,l.calendar=_a,l.clone=ya,l.diff=pa,l.endOf=Ia,l.format=Ta,l.from=xa,l.fromNow=Na,l.to=ba,l.toNow=Ea,l.get=Yr,l.invalidAt=Va,l.isAfter=wa,l.isBefore=ga,l.isBetween=ka,l.isSame=Sa,l.isSameOrAfter=Da,l.isSameOrBefore=Ma,l.isValid=Ca,l.lang=ys,l.locale=_s,l.localeData=ws,l.max=Cn,l.min=Un,l.parsingFlags=Ha,l.set=Or,l.startOf=Ra,l.subtract=ua,l.toArray=Fa,l.toObject=Aa,l.toDate=Wa,l.toISOString=Ya,l.inspect=Oa,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Ua,l.toString=va,l.unix=Pa,l.valueOf=La,l.creationData=Ga,l.eraName=$a,l.eraNarrow=Za,l.eraAbbr=qa,l.eraYear=Ja,l.year=zt,l.isLeapYear=vr,l.weekYear=ri,l.isoWeekYear=ni,l.quarter=l.quarters=di,l.month=Jt,l.daysInMonth=Pr,l.week=l.weeks=Gr,l.isoWeek=l.isoWeeks=jr,l.weeksInYear=oi,l.weeksInWeekYear=li,l.isoWeeksInYear=ai,l.isoWeeksInISOWeekYear=ii,l.date=Ms,l.day=l.days=rn,l.weekday=nn,l.isoWeekday=an,l.dayOfYear=fi,l.hour=l.hours=cn,l.minute=l.minutes=hi,l.second=l.seconds=ci,l.millisecond=l.milliseconds=ps,l.utcOffset=qn,l.utc=Qn,l.local=Kn,l.parseZone=Xn,l.hasAlignedHourOffset=ea,l.isDST=ta,l.isLocal=ra,l.isUtcOffset=na,l.isUtc=ds,l.isUTC=ds,l.zoneAbbr=_i,l.zoneName=yi,l.dates=R("dates accessor is deprecated. Use date instead.",Ms),l.months=R("months accessor is deprecated. Use month instead",Jt),l.years=R("years accessor is deprecated. Use year instead",zt),l.zone=R("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Jn),l.isDSTShifted=R("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",sa);function wi(e){return M(e*1e3)}function gi(){return M.apply(null,arguments).parseZone()}function vs(e){return e}var k=tt.prototype;k.calendar=sr,k.longDateFormat=ir,k.invalidDate=lr,k.ordinal=fr,k.preparse=vs,k.postformat=vs,k.relativeTime=cr,k.pastFuture=mr,k.set=er,k.eras=ja,k.erasParse=za,k.erasConvertYear=Ba,k.erasAbbrRegex=Ka,k.erasNameRegex=Qa,k.erasNarrowRegex=Xa,k.months=Er,k.monthsShort=Rr,k.monthsParse=Lr,k.monthsRegex=Fr,k.monthsShortRegex=Wr,k.week=Ur,k.firstDayOfYear=Vr,k.firstDayOfWeek=Hr,k.weekdays=Kr,k.weekdaysMin=en,k.weekdaysShort=Xr,k.weekdaysParse=sn,k.weekdaysRegex=on,k.weekdaysShortRegex=ln,k.weekdaysMinRegex=un,k.isPM=fn,k.meridiem=mn;function $e(e,t,s,r){var n=q(),a=C().set(r,t);return n[s](a,e)}function Ys(e,t,s){if(j(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=$e(e,r,s,"month");return n}function Yt(e,t,s,r){typeof e=="boolean"?(j(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,j(t)&&(s=t,t=void 0),t=t||"");var n=q(),a=e?n._week.dow:0,i,u=[];if(s!=null)return $e(t,(s+a)%7,r,"day");for(i=0;i<7;i++)u[i]=$e(t,(i+a)%7,r,"day");return u}function ki(e,t){return Ys(e,t,"months")}function Si(e,t){return Ys(e,t,"monthsShort")}function Di(e,t,s){return Yt(e,t,s,"weekdays")}function Mi(e,t,s){return Yt(e,t,s,"weekdaysShort")}function pi(e,t,s){return Yt(e,t,s,"weekdaysMin")}ee("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,s=y(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),d.lang=R("moment.lang is deprecated. Use moment.locale instead.",ee),d.langData=R("moment.langData is deprecated. Use moment.localeData instead.",q);var J=Math.abs;function vi(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Os(e,t,s,r){var n=A(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Yi(e,t){return Os(this,e,t,1)}function Oi(e,t){return Os(this,e,t,-1)}function Ts(e){return e<0?Math.floor(e):Math.ceil(e)}function Ti(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,u,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Ts(Ot(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=L(e/1e3),r.seconds=n%60,a=L(n/60),r.minutes=a%60,i=L(a/60),r.hours=i%24,t+=L(i/24),c=L(xs(t)),s+=c,t-=Ts(Ot(c)),u=L(s/12),s%=12,r.days=t,r.months=s,r.years=u,this}function xs(e){return e*4800/146097}function Ot(e){return e*146097/4800}function xi(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=I(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+xs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Ot(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Q(e){return function(){return this.as(e)}}var Ns=Q("ms"),Ni=Q("s"),bi=Q("m"),Ei=Q("h"),Ri=Q("d"),Ii=Q("w"),Li=Q("M"),Pi=Q("Q"),Wi=Q("y"),Fi=Ns;function Ai(){return A(this)}function Ui(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ci=ae("milliseconds"),Hi=ae("seconds"),Vi=ae("minutes"),Gi=ae("hours"),ji=ae("days"),zi=ae("months"),Bi=ae("years");function $i(){return L(this.days()/7)}var K=Math.round,_e={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zi(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function qi(e,t,s,r){var n=A(e).abs(),a=K(n.as("s")),i=K(n.as("m")),u=K(n.as("h")),c=K(n.as("d")),_=K(n.as("M")),O=K(n.as("w")),T=K(n.as("y")),b=a<=s.ss&&["s",a]||a<s.s&&["ss",a]||i<=1&&["m"]||i<s.m&&["mm",i]||u<=1&&["h"]||u<s.h&&["hh",u]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(b=b||O<=1&&["w"]||O<s.w&&["ww",O]),b=b||_<=1&&["M"]||_<s.M&&["MM",_]||T<=1&&["y"]||["yy",T],b[2]=t,b[3]=+e>0,b[4]=r,Zi.apply(null,b)}function Ji(e){return e===void 0?K:typeof e=="function"?(K=e,!0):!1}function Qi(e,t){return _e[e]===void 0?!1:t===void 0?_e[e]:(_e[e]=t,e==="s"&&(_e.ss=t-1),!0)}function Ki(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=_e,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},_e,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=qi(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Tt=Math.abs;function ye(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=Tt(this._milliseconds)/1e3,t=Tt(this._days),s=Tt(this._months),r,n,a,i,u=this.asSeconds(),c,_,O,T;return u?(r=L(e/60),n=L(r/60),e%=60,r%=60,a=L(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=u<0?"-":"",_=ye(this._months)!==ye(u)?"-":"",O=ye(this._days)!==ye(u)?"-":"",T=ye(this._milliseconds)!==ye(u)?"-":"",c+"P"+(a?_+a+"Y":"")+(s?_+s+"M":"")+(t?O+t+"D":"")+(n||r||e?"T":"")+(n?T+n+"H":"")+(r?T+r+"M":"")+(e?T+i+"S":"")):"P0D"}var w=He.prototype;w.isValid=zn,w.abs=vi,w.add=Yi,w.subtract=Oi,w.as=xi,w.asMilliseconds=Ns,w.asSeconds=Ni,w.asMinutes=bi,w.asHours=Ei,w.asDays=Ri,w.asWeeks=Ii,w.asMonths=Li,w.asQuarters=Pi,w.asYears=Wi,w.valueOf=Fi,w._bubble=Ti,w.clone=Ai,w.get=Ui,w.milliseconds=Ci,w.seconds=Hi,w.minutes=Vi,w.hours=Gi,w.days=ji,w.weeks=$i,w.months=zi,w.years=Bi,w.humanize=Ki,w.toISOString=Ze,w.toString=Ze,w.toJSON=Ze,w.locale=_s,w.localeData=ws,w.toIsoString=R("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),w.lang=ys,h("X",0,0,"unix"),h("x",0,0,"valueOf"),f("x",Le),f("X",gr),S("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),S("x",function(e,t,s){s._d=new Date(y(e))});//! moment.js
|
|
10
|
-
d.version="2.30.1",
|
|
9
|
+
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ut={};function Ft(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),Ut[e]||(Ct(t),Ut[e]=!0)}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null;function H(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function nr(e){var t,s;for(s in e)g(e,s)&&(t=e[s],H(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function tt(e,t){var s=X({},e),r;for(r in t)g(t,r)&&(re(e[r])&&re(t[r])?(s[r]={},X(s[r],e[r]),X(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)g(e,r)&&!g(t,r)&&re(e[r])&&(s[r]=X({},s[r]));return s}function st(e){e!=null&&this.set(e)}var rt;Object.keys?rt=Object.keys:rt=function(e){var t,s=[];for(t in e)g(e,t)&&s.push(t);return s};var ar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ir(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return H(r)?r.call(t,s):r}function V(e,t,s){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var nt=/(\[[^\[]*\])|(\\)?([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,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,at={},ue={};function h(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(ue[e]=n),t&&(ue[t[0]]=function(){return V(n.apply(this,arguments),t[1],t[2])}),s&&(ue[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function or(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function lr(e){var t=e.match(nt),s,r;for(s=0,r=t.length;s<r;s++)ue[t[s]]?t[s]=ue[t[s]]:t[s]=or(t[s]);return function(n){var a="",i;for(i=0;i<r;i++)a+=H(t[i])?t[i].call(n,e):t[i];return a}}function Ie(e,t){return e.isValid()?(t=Ht(t,e.localeData()),at[t]=at[t]||lr(t),at[t](e)):e.localeData().invalidDate()}function Ht(e,t){var s=5;function r(n){return t.longDateFormat(n)||n}for(xe.lastIndex=0;s>=0&&xe.test(e);)e=e.replace(xe,r),xe.lastIndex=0,s-=1;return e}var ur={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function dr(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(nt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var fr="Invalid date";function hr(){return this._invalidDate}var cr="%d",mr=/\d{1,2}/;function _r(e){return this._ordinal.replace("%d",e)}var yr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Sr(e,t,s,r){var n=this._relativeTime[s];return H(n)?n(e,t,s,r):n.replace(/%d/i,e)}function gr(e,t){var s=this._relativeTime[e>0?"future":"past"];return H(s)?s(t):s.replace(/%s/i,t)}var Vt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function b(e){return typeof e=="string"?Vt[e]||Vt[e.toLowerCase()]:void 0}function it(e){var t={},s,r;for(r in e)g(e,r)&&(s=b(r),s&&(t[s]=e[r]));return t}var wr={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function kr(e){var t=[],s;for(s in e)g(e,s)&&t.push({unit:s,priority:wr[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}var Gt=/\d/,I=/\d\d/,jt=/\d{3}/,ot=/\d{4}/,Re=/[+-]?\d{6}/,D=/\d\d?/,zt=/\d\d\d\d?/,Bt=/\d\d\d\d\d\d?/,be=/\d{1,3}/,lt=/\d{1,4}/,Le=/[+-]?\d{1,6}/,de=/\d+/,Pe=/[+-]?\d+/,Dr=/Z|[+-]\d\d:?\d\d/gi,We=/Z|[+-]\d\d(?::?\d\d)?/gi,pr=/[+-]?\d+(\.\d{1,3})?/,ke=/[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,fe=/^[1-9]\d?/,ut=/^([1-9]\d|\d)/,Ae;Ae={};function f(e,t,s){Ae[e]=H(t)?t:function(r,n){return r&&s?s:t}}function Mr(e,t){return g(Ae,e)?Ae[e](t._strict,t._locale):new RegExp(vr(e))}function vr(e){return z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,n,a){return s||r||n||a}))}function z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function L(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=L(t)),s}var dt={};function k(e,t){var s,r=t,n;for(typeof e=="string"&&(e=[e]),j(t)&&(r=function(a,i){i[t]=y(a)}),n=e.length,s=0;s<n;s++)dt[e[s]]=r}function De(e,t){k(e,function(s,r,n,a){n._w=n._w||{},t(s,n._w,n,a)})}function Or(e,t,s){t!=null&&g(dt,e)&&dt[e](t,s._a,s,e)}function Ce(e){return e%4===0&&e%100!==0||e%400===0}var E=0,B=1,G=2,Y=3,A=4,$=5,ne=6,Yr=7,Tr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?V(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),f("Y",Pe),f("YY",D,I),f("YYYY",lt,ot),f("YYYYY",Le,Re),f("YYYYYY",Le,Re),k(["YYYYY","YYYYYY"],E),k("YYYY",function(e,t){t[E]=e.length===2?d.parseTwoDigitYear(e):y(e)}),k("YY",function(e,t){t[E]=d.parseTwoDigitYear(e)}),k("Y",function(e,t){t[E]=parseInt(e,10)});function pe(e){return Ce(e)?366:365}d.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var $t=he("FullYear",!0);function Er(){return Ce(this.year())}function he(e,t){return function(s){return s!=null?(Zt(this,e,s),d.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function Zt(e,t,s){var r,n,a,i,l;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(n?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(n?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(n?r.setUTCHours(s):r.setHours(s));case"Date":return void(n?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}a=s,i=e.month(),l=e.date(),l=l===29&&i===1&&!Ce(a)?28:l,n?r.setUTCFullYear(a,i,l):r.setFullYear(a,i,l)}}function Nr(e){return e=b(e),H(this[e])?this[e]():this}function xr(e,t){if(typeof e=="object"){e=it(e);var s=kr(e),r,n=s.length;for(r=0;r<n;r++)this[s[r].unit](e[s[r].unit])}else if(e=b(e),H(this[e]))return this[e](t);return this}function Ir(e,t){return(e%t+t)%t}var O;Array.prototype.indexOf?O=Array.prototype.indexOf:O=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ft(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Ir(t,12);return e+=(t-s)/12,s===1?Ce(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),f("M",D,fe),f("MM",D,I),f("MMM",function(e,t){return t.monthsShortRegex(e)}),f("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[B]=y(e)-1}),k(["MMM","MMMM"],function(e,t,s,r){var n=s._locale.monthsParse(e,r,s._strict);n!=null?t[B]=n:_(s).invalidMonth=e});var Rr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,br=ke,Lr=ke;function Pr(e,t){return e?P(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Jt).test(t)?"format":"standalone"][e.month()]:P(this._months)?this._months:this._months.standalone}function Wr(e,t){return e?P(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jt.test(t)?"format":"standalone"][e.month()]:P(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ar(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=F([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return s?t==="MMM"?(n=O.call(this._shortMonthsParse,i),n!==-1?n:null):(n=O.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=O.call(this._shortMonthsParse,i),n!==-1?n:(n=O.call(this._longMonthsParse,i),n!==-1?n:null)):(n=O.call(this._longMonthsParse,i),n!==-1?n:(n=O.call(this._shortMonthsParse,i),n!==-1?n:null))}function Cr(e,t,s){var r,n,a;if(this._monthsParseExact)return Ar.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=F([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function Qt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),!j(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,ft(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function Kt(e){return e!=null?(Qt(this,e),d.updateOffset(this,!0),this):Me(this,"Month")}function Ur(){return ft(this.year(),this.month())}function Fr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Xt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=br),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Hr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Xt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Lr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Xt(){function e(c,m){return m.length-c.length}var t=[],s=[],r=[],n,a,i,l;for(n=0;n<12;n++)a=F([2e3,n]),i=z(this.monthsShort(a,"")),l=z(this.months(a,"")),t.push(i),s.push(l),r.push(l),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Vr(e,t,s,r,n,a,i){var l;return e<100&&e>=0?(l=new Date(e+400,t,s,r,n,a,i),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,s,r,n,a,i),l}function ve(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,s){var r=7+t-s,n=(7+ve(e,0,r).getUTCDay()-t)%7;return-n+r-1}function es(e,t,s,r,n){var a=(7+s-r)%7,i=Ue(e,r,n),l=1+7*(t-1)+a+i,c,m;return l<=0?(c=e-1,m=pe(c)+l):l>pe(e)?(c=e+1,m=l-pe(e)):(c=e,m=l),{year:c,dayOfYear:m}}function Oe(e,t,s){var r=Ue(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+Z(i,t,s)):n>Z(e.year(),t,s)?(a=n-Z(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function Z(e,t,s){var r=Ue(e,t,s),n=Ue(e+1,t,s);return(pe(e)-r+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),f("w",D,fe),f("ww",D,I),f("W",D,fe),f("WW",D,I),De(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=y(e)});function Gr(e){return Oe(e,this._week.dow,this._week.doy).week}var jr={dow:0,doy:6};function zr(){return this._week.dow}function Br(){return this._week.doy}function $r(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Zr(e){var t=Oe(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),f("d",D),f("e",D),f("E",D),f("dd",function(e,t){return t.weekdaysMinRegex(e)}),f("ddd",function(e,t){return t.weekdaysShortRegex(e)}),f("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:_(s).invalidWeekday=e}),De(["d","e","E"],function(e,t,s,r){t[r]=y(e)});function qr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Jr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Qr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ts="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xr=ke,en=ke,tn=ke;function sn(e,t){var s=P(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ht(s,this._week.dow):e?s[e.day()]:s}function rn(e){return e===!0?ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function nn(e){return e===!0?ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function an(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=F([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return s?t==="dddd"?(n=O.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=O.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=O.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=O.call(this._weekdaysParse,i),n!==-1||(n=O.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=O.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=O.call(this._shortWeekdaysParse,i),n!==-1||(n=O.call(this._weekdaysParse,i),n!==-1)?n:(n=O.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=O.call(this._minWeekdaysParse,i),n!==-1||(n=O.call(this._weekdaysParse,i),n!==-1)?n:(n=O.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function on(e,t,s){var r,n,a;if(this._weekdaysParseExact)return an.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=F([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=qr(e,this.localeData()),this.add(e-t,"d")):t}function un(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function dn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Jr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function fn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ct.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Xr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function hn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ct.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=en),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function cn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ct.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ct(){function e(M,T){return T.length-M.length}var t=[],s=[],r=[],n=[],a,i,l,c,m;for(a=0;a<7;a++)i=F([2e3,1]).day(a),l=z(this.weekdaysMin(i,"")),c=z(this.weekdaysShort(i,"")),m=z(this.weekdays(i,"")),t.push(l),s.push(c),r.push(m),n.push(l),n.push(c),n.push(m);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function mt(){return this.hours()%12||12}function mn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,mt),h("k",["kk",2],0,mn),h("hmm",0,0,function(){return""+mt.apply(this)+V(this.minutes(),2)}),h("hmmss",0,0,function(){return""+mt.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)});function ss(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ss("a",!0),ss("A",!1);function rs(e,t){return t._meridiemParse}f("a",rs),f("A",rs),f("H",D,ut),f("h",D,fe),f("k",D,fe),f("HH",D,I),f("hh",D,I),f("kk",D,I),f("hmm",zt),f("hmmss",Bt),f("Hmm",zt),f("Hmmss",Bt),k(["H","HH"],Y),k(["k","kk"],function(e,t,s){var r=y(e);t[Y]=r===24?0:r}),k(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),k(["h","hh"],function(e,t,s){t[Y]=y(e),_(s).bigHour=!0}),k("hmm",function(e,t,s){var r=e.length-2;t[Y]=y(e.substr(0,r)),t[A]=y(e.substr(r)),_(s).bigHour=!0}),k("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[Y]=y(e.substr(0,r)),t[A]=y(e.substr(r,2)),t[$]=y(e.substr(n)),_(s).bigHour=!0}),k("Hmm",function(e,t,s){var r=e.length-2;t[Y]=y(e.substr(0,r)),t[A]=y(e.substr(r))}),k("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[Y]=y(e.substr(0,r)),t[A]=y(e.substr(r,2)),t[$]=y(e.substr(n))});function _n(e){return(e+"").toLowerCase().charAt(0)==="p"}var yn=/[ap]\.?m?\.?/i,Sn=he("Hours",!0);function gn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var ns={calendar:ar,longDateFormat:ur,invalidDate:fr,ordinal:cr,dayOfMonthOrdinalParse:mr,relativeTime:yr,months:Rr,monthsShort:qt,week:jr,weekdays:Qr,weekdaysMin:Kr,weekdaysShort:ts,meridiemParse:yn},v={},Ye={},Te;function wn(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function as(e){return e&&e.toLowerCase().replace("_","-")}function kn(e){for(var t=0,s,r,n,a;t<e.length;){for(a=as(e[t]).split("-"),s=a.length,r=as(e[t+1]),r=r?r.split("-"):null;s>0;){if(n=Fe(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&wn(a,r)>=s-1)break;s--}t++}return Te}function Dn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Fe(e){var t=null,s;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&Dn(e))try{t=Te._abbr,s=require,s("./locale/"+e),ee(t)}catch{v[e]=null}return v[e]}function ee(e,t){var s;return e&&(N(t)?s=q(e):s=_t(e,t),s?Te=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Te._abbr}function _t(e,t){if(t!==null){var s,r=ns;if(t.abbr=e,v[e]!=null)Ft("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)r=v[t.parentLocale]._config;else if(s=Fe(t.parentLocale),s!=null)r=s._config;else return Ye[t.parentLocale]||(Ye[t.parentLocale]=[]),Ye[t.parentLocale].push({name:e,config:t}),null;return v[e]=new st(tt(r,t)),Ye[e]&&Ye[e].forEach(function(n){_t(n.name,n.config)}),ee(e),v[e]}else return delete v[e],null}function pn(e,t){if(t!=null){var s,r,n=ns;v[e]!=null&&v[e].parentLocale!=null?v[e].set(tt(v[e]._config,t)):(r=Fe(e),r!=null&&(n=r._config),t=tt(n,t),r==null&&(t.abbr=e),s=new st(t),s.parentLocale=v[e],v[e]=s),ee(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===ee()&&ee(e)):v[e]!=null&&delete v[e]);return v[e]}function q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Te;if(!P(e)){if(t=Fe(e),t)return t;e=[e]}return kn(e)}function Mn(){return rt(v)}function yt(e){var t,s=e._a;return s&&_(e).overflow===-2&&(t=s[B]<0||s[B]>11?B:s[G]<1||s[G]>ft(s[E],s[B])?G:s[Y]<0||s[Y]>24||s[Y]===24&&(s[A]!==0||s[$]!==0||s[ne]!==0)?Y:s[A]<0||s[A]>59?A:s[$]<0||s[$]>59?$:s[ne]<0||s[ne]>999?ne:-1,_(e)._overflowDayOfYear&&(t<E||t>G)&&(t=G),_(e)._overflowWeeks&&t===-1&&(t=Yr),_(e)._overflowWeekday&&t===-1&&(t=Tr),_(e).overflow=t),e}var vn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,On=/^\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)?)?$/,Yn=/Z|[+-]\d\d(?::?\d\d)?/,He=[["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]],St=[["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/]],Tn=/^\/?Date\((-?\d+)/i,En=/^(?:(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}))$/,Nn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function is(e){var t,s,r=e._i,n=vn.exec(r)||On.exec(r),a,i,l,c,m=He.length,M=St.length;if(n){for(_(e).iso=!0,t=0,s=m;t<s;t++)if(He[t][1].exec(n[1])){i=He[t][0],a=He[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,s=M;t<s;t++)if(St[t][1].exec(n[3])){l=(n[2]||" ")+St[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(n[4])if(Yn.exec(n[4]))c="Z";else{e._isValid=!1;return}e._f=i+(l||"")+(c||""),wt(e)}else e._isValid=!1}function xn(e,t,s,r,n,a){var i=[In(e),qt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function In(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Rn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function bn(e,t,s){if(e){var r=ts.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return _(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function Ln(e,t,s){if(e)return Nn[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function os(e){var t=En.exec(Rn(e._i)),s;if(t){if(s=xn(t[4],t[3],t[2],t[5],t[6],t[7]),!bn(t[1],s,e))return;e._a=s,e._tzm=Ln(t[8],t[9],t[10]),e._d=ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}function Pn(e){var t=Tn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(is(e),e._isValid===!1)delete e._isValid;else return;if(os(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=R("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ce(e,t,s){return e??t??s}function Wn(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function gt(e){var t,s,r=[],n,a,i;if(!e._d){for(n=Wn(e),e._w&&e._a[G]==null&&e._a[B]==null&&An(e),e._dayOfYear!=null&&(i=ce(e._a[E],n[E]),(e._dayOfYear>pe(i)||e._dayOfYear===0)&&(_(e)._overflowDayOfYear=!0),s=ve(i,0,e._dayOfYear),e._a[B]=s.getUTCMonth(),e._a[G]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[A]===0&&e._a[$]===0&&e._a[ne]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?ve:Vr).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(_(e).weekdayMismatch=!0)}}function An(e){var t,s,r,n,a,i,l,c,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=ce(t.GG,e._a[E],Oe(p(),1,4).year),r=ce(t.W,1),n=ce(t.E,1),(n<1||n>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=Oe(p(),a,i),s=ce(t.gg,e._a[E],m.year),r=ce(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(c=!0)):n=a),r<1||r>Z(s,a,i)?_(e)._overflowWeeks=!0:c!=null?_(e)._overflowWeekday=!0:(l=es(s,r,n,a,i),e._a[E]=l.year,e._dayOfYear=l.dayOfYear)}d.ISO_8601=function(){},d.RFC_2822=function(){};function wt(e){if(e._f===d.ISO_8601){is(e);return}if(e._f===d.RFC_2822){os(e);return}e._a=[],_(e).empty=!0;var t=""+e._i,s,r,n,a,i,l=t.length,c=0,m,M;for(n=Ht(e._f,e._locale).match(nt)||[],M=n.length,s=0;s<M;s++)a=n[s],r=(t.match(Mr(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&_(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),c+=r.length),ue[a]?(r?_(e).empty=!1:_(e).unusedTokens.push(a),Or(a,r,e)):e._strict&&!r&&_(e).unusedTokens.push(a);_(e).charsLeftOver=l-c,t.length>0&&_(e).unusedInput.push(t),e._a[Y]<=12&&_(e).bigHour===!0&&e._a[Y]>0&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[Y]=Cn(e._locale,e._a[Y],e._meridiem),m=_(e).era,m!==null&&(e._a[E]=e._locale.erasConvertYear(m,e._a[E])),gt(e),yt(e)}function Cn(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Un(e){var t,s,r,n,a,i,l=!1,c=e._f.length;if(c===0){_(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<c;n++)a=0,i=!1,t=et({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],wt(t),Ke(t)&&(i=!0),a+=_(t).charsLeftOver,a+=_(t).unusedTokens.length*10,_(t).score=a,l?a<r&&(r=a,s=t):(r==null||a<r||i)&&(r=a,s=t,i&&(l=!0));X(e,s||t)}function Fn(e){if(!e._d){var t=it(e._i),s=t.day===void 0?t.date:t.day;e._a=Wt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),gt(e)}}function Hn(e){var t=new we(yt(ls(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ls(e){var t=e._i,s=e._f;return e._locale=e._locale||q(e._l),t===null||s===void 0&&t===""?Ne({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),W(t)?new we(yt(t)):(ge(t)?e._d=t:P(s)?Un(e):s?wt(e):Vn(e),Ke(e)||(e._d=null),e))}function Vn(e){var t=e._i;N(t)?e._d=new Date(d.now()):ge(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Pn(e):P(t)?(e._a=Wt(t.slice(0),function(s){return parseInt(s,10)}),gt(e)):re(t)?Fn(e):j(t)?e._d=new Date(t):d.createFromInputFallback(e)}function us(e,t,s,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(re(e)&&Je(e)||P(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=s,a._i=e,a._f=t,a._strict=r,Hn(a)}function p(e,t,s,r){return us(e,t,s,r,!1)}var Gn=R("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=p.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ne()}),jn=R("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=p.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ne()});function ds(e,t){var s,r;if(t.length===1&&P(t[0])&&(t=t[0]),!t.length)return p();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function zn(){var e=[].slice.call(arguments,0);return ds("isBefore",e)}function Bn(){var e=[].slice.call(arguments,0);return ds("isAfter",e)}var $n=function(){return Date.now?Date.now():+new Date},Ee=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Zn(e){var t,s=!1,r,n=Ee.length;for(t in e)if(g(e,t)&&!(O.call(Ee,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Ee[r]]){if(s)return!1;parseFloat(e[Ee[r]])!==y(e[Ee[r]])&&(s=!0)}return!0}function qn(){return this._isValid}function Jn(){return C(NaN)}function Ve(e){var t=it(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,l=t.hour||0,c=t.minute||0,m=t.second||0,M=t.millisecond||0;this._isValid=Zn(t),this._milliseconds=+M+m*1e3+c*6e4+l*1e3*60*60,this._days=+i+a*7,this._months=+n+r*3+s*12,this._data={},this._locale=q(),this._bubble()}function Ge(e){return e instanceof Ve}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Qn(e,t,s){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)y(e[i])!==y(t[i])&&a++;return a+n}function fs(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+V(~~(s/60),2)+t+V(~~s%60,2)})}fs("Z",":"),fs("ZZ",""),f("Z",We),f("ZZ",We),k(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=Dt(We,e)});var Kn=/([\+\-]|\d\d)/gi;function Dt(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match(Kn)||["-",0,0],a=+(n[1]*60)+y(n[2]),a===0?0:n[0]==="+"?a:-a)}function pt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(W(e)||ge(e)?e.valueOf():p(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),d.updateOffset(s,!1),s):p(e).local()}function Mt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function Xn(e,t,s){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Dt(We,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=Mt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?_s(this,C(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Mt(this)}function ea(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ta(e){return this.utcOffset(0,e)}function sa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mt(this),"m")),this}function ra(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Dt(Dr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function na(e){return this.isValid()?(e=e?p(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function aa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ia(){if(!N(this._isDSTShifted))return this._isDSTShifted;var e={},t;return et(e,this),e=ls(e),e._a?(t=e._isUTC?F(e._a):p(e._a),this._isDSTShifted=this.isValid()&&Qn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function oa(){return this.isValid()?!this._isUTC:!1}function la(){return this.isValid()?this._isUTC:!1}function hs(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ua=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,da=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var s=e,r=null,n,a,i;return Ge(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:j(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=ua.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:y(r[G])*n,h:y(r[Y])*n,m:y(r[A])*n,s:y(r[$])*n,ms:y(kt(r[ne]*1e3))*n}):(r=da.exec(e))?(n=r[1]==="-"?-1:1,s={y:ae(r[2],n),M:ae(r[3],n),w:ae(r[4],n),d:ae(r[5],n),h:ae(r[6],n),m:ae(r[7],n),s:ae(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=fa(p(s.from),p(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new Ve(s),Ge(e)&&g(e,"_locale")&&(a._locale=e._locale),Ge(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}C.fn=Ve.prototype,C.invalid=Jn;function ae(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function cs(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function fa(e,t){var s;return e.isValid()&&t.isValid()?(t=pt(t,e),e.isBefore(t)?s=cs(e,t):(s=cs(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function ms(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(Ft(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=s,s=r,r=a),n=C(s,r),_s(this,n,e),this}}function _s(e,t,s,r){var n=t._milliseconds,a=kt(t._days),i=kt(t._months);e.isValid()&&(r=r??!0,i&&Qt(e,Me(e,"Month")+i*s),a&&Zt(e,"Date",Me(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&d.updateOffset(e,a||i))}var ha=ms(1,"add"),ca=ms(-1,"subtract");function ys(e){return typeof e=="string"||e instanceof String}function ma(e){return W(e)||ge(e)||ys(e)||j(e)||ya(e)||_a(e)||e===null||e===void 0}function _a(e){var t=re(e)&&!Je(e),s=!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"],n,a,i=r.length;for(n=0;n<i;n+=1)a=r[n],s=s||g(e,a);return t&&s}function ya(e){var t=P(e),s=!1;return t&&(s=e.filter(function(r){return!j(r)&&ys(e)}).length===0),t&&s}function Sa(e){var t=re(e)&&!Je(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],s=s||g(e,a);return t&&s}function ga(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function wa(e,t){arguments.length===1&&(arguments[0]?ma(arguments[0])?(e=arguments[0],t=void 0):Sa(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||p(),r=pt(s,this).startOf("day"),n=d.calendarFormat(this,r)||"sameElse",a=t&&(H(t[n])?t[n].call(this,s):t[n]);return this.format(a||this.localeData().calendar(n,this,p(s)))}function ka(){return new we(this)}function Da(e,t){var s=W(e)?e:p(e);return this.isValid()&&s.isValid()?(t=b(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function pa(e,t){var s=W(e)?e:p(e);return this.isValid()&&s.isValid()?(t=b(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function Ma(e,t,s,r){var n=W(e)?e:p(e),a=W(t)?t:p(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,s):!this.isBefore(n,s))&&(r[1]===")"?this.isBefore(a,s):!this.isAfter(a,s))):!1}function va(e,t){var s=W(e)?e:p(e),r;return this.isValid()&&s.isValid()?(t=b(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Oa(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ya(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ta(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=pt(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=b(t),t){case"year":a=je(this,r)/12;break;case"month":a=je(this,r);break;case"quarter":a=je(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return s?a:L(a)}function je(e,t){if(e.date()<t.date())return-je(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),n,a;return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ea(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Na(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?Ie(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ie(s,"Z")):Ie(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function xa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function Ia(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=Ie(this,e);return this.localeData().postformat(t)}function Ra(e,t){return this.isValid()&&(W(e)&&e.isValid()||p(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ba(e){return this.from(p(),e)}function La(e,t){return this.isValid()&&(W(e)&&e.isValid()||p(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Pa(e){return this.to(p(),e)}function Ss(e){var t;return e===void 0?this._locale._abbr:(t=q(e),t!=null&&(this._locale=t),this)}var gs=R("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function ws(){return this._locale}var ze=1e3,me=60*ze,Be=60*me,ks=(365*400+97)*24*Be;function _e(e,t){return(e%t+t)%t}function Ds(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-ks:new Date(e,t,s).valueOf()}function ps(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-ks:Date.UTC(e,t,s)}function Wa(e){var t,s;if(e=b(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ps:Ds,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=_e(t+(this._isUTC?0:this.utcOffset()*me),Be);break;case"minute":t=this._d.valueOf(),t-=_e(t,me);break;case"second":t=this._d.valueOf(),t-=_e(t,ze);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Aa(e){var t,s;if(e=b(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ps:Ds,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Be-_e(t+(this._isUTC?0:this.utcOffset()*me),Be)-1;break;case"minute":t=this._d.valueOf(),t+=me-_e(t,me)-1;break;case"second":t=this._d.valueOf(),t+=ze-_e(t,ze)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ca(){return this._d.valueOf()-(this._offset||0)*6e4}function Ua(){return Math.floor(this.valueOf()/1e3)}function Fa(){return new Date(this.valueOf())}function Ha(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Va(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ga(){return this.isValid()?this.toISOString():null}function ja(){return Ke(this)}function za(){return X({},_(this))}function Ba(){return _(this).overflow}function $a(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),f("N",vt),f("NN",vt),f("NNN",vt),f("NNNN",ni),f("NNNNN",ai),k(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?_(s).era=n:_(s).invalidEra=e}),f("y",de),f("yy",de),f("yyy",de),f("yyyy",de),f("yo",ii),k(["y","yy","yyy","yyyy"],E),k(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[E]=s._locale.eraYearOrdinalParse(e,n):t[E]=parseInt(e,10)});function Za(e,t){var s,r,n,a=this._eras||q("en")._eras;for(s=0,r=a.length;s<r;++s){switch(typeof a[s].since){case"string":n=d(a[s].since).startOf("day"),a[s].since=n.valueOf();break}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":n=d(a[s].until).startOf("day").valueOf(),a[s].until=n.valueOf();break}}return a}function qa(e,t,s){var r,n,a=this.eras(),i,l,c;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(i=a[r].name.toUpperCase(),l=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(c===e)return a[r];break}else if([i,l,c].indexOf(e)>=0)return a[r]}function Ja(e,t){var s=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*s}function Qa(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function Ka(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function Xa(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function ei(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-d(n[e].since).year())*s+n[e].offset;return this.year()}function ti(e){return g(this,"_erasNameRegex")||Ot.call(this),e?this._erasNameRegex:this._erasRegex}function si(e){return g(this,"_erasAbbrRegex")||Ot.call(this),e?this._erasAbbrRegex:this._erasRegex}function ri(e){return g(this,"_erasNarrowRegex")||Ot.call(this),e?this._erasNarrowRegex:this._erasRegex}function vt(e,t){return t.erasAbbrRegex(e)}function ni(e,t){return t.erasNameRegex(e)}function ai(e,t){return t.erasNarrowRegex(e)}function ii(e,t){return t._eraYearOrdinalRegex||de}function Ot(){var e=[],t=[],s=[],r=[],n,a,i,l,c,m=this.eras();for(n=0,a=m.length;n<a;++n)i=z(m[n].name),l=z(m[n].abbr),c=z(m[n].narrow),t.push(i),e.push(l),s.push(c),r.push(i),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function $e(e,t){h(0,[e,e.length],0,t)}$e("gggg","weekYear"),$e("ggggg","weekYear"),$e("GGGG","isoWeekYear"),$e("GGGGG","isoWeekYear"),f("G",Pe),f("g",Pe),f("GG",D,I),f("gg",D,I),f("GGGG",lt,ot),f("gggg",lt,ot),f("GGGGG",Le,Re),f("ggggg",Le,Re),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=y(e)}),De(["gg","GG"],function(e,t,s,r){t[r]=d.parseTwoDigitYear(e)});function oi(e){return Ms.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function li(e){return Ms.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ui(){return Z(this.year(),1,4)}function di(){return Z(this.isoWeekYear(),1,4)}function fi(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)}function hi(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)}function Ms(e,t,s,r,n){var a;return e==null?Oe(this,r,n).year:(a=Z(e,r,n),t>a&&(t=a),ci.call(this,e,t,s,r,n))}function ci(e,t,s,r,n){var a=es(e,t,s,r,n),i=ve(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),f("Q",Gt),k("Q",function(e,t){t[B]=(y(e)-1)*3});function mi(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),f("D",D,fe),f("DD",D,I),f("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),k(["D","DD"],G),k("Do",function(e,t){t[G]=y(e.match(D)[0])});var vs=he("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),f("DDD",be),f("DDDD",jt),k(["DDD","DDDD"],function(e,t,s){s._dayOfYear=y(e)});function _i(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),f("m",D,ut),f("mm",D,I),k(["m","mm"],A);var yi=he("Minutes",!1);h("s",["ss",2],0,"second"),f("s",D,ut),f("ss",D,I),k(["s","ss"],$);var Si=he("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),f("S",be,Gt),f("SS",be,I),f("SSS",be,jt);var te,Os;for(te="SSSS";te.length<=9;te+="S")f(te,de);function gi(e,t){t[ne]=y(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")k(te,gi);Os=he("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function wi(){return this._isUTC?"UTC":""}function ki(){return this._isUTC?"Coordinated Universal Time":""}var u=we.prototype;u.add=ha,u.calendar=wa,u.clone=ka,u.diff=Ta,u.endOf=Aa,u.format=Ia,u.from=Ra,u.fromNow=ba,u.to=La,u.toNow=Pa,u.get=Nr,u.invalidAt=Ba,u.isAfter=Da,u.isBefore=pa,u.isBetween=Ma,u.isSame=va,u.isSameOrAfter=Oa,u.isSameOrBefore=Ya,u.isValid=ja,u.lang=gs,u.locale=Ss,u.localeData=ws,u.max=jn,u.min=Gn,u.parsingFlags=za,u.set=xr,u.startOf=Wa,u.subtract=ca,u.toArray=Ha,u.toObject=Va,u.toDate=Fa,u.toISOString=Na,u.inspect=xa,typeof Symbol<"u"&&Symbol.for!=null&&(u[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),u.toJSON=Ga,u.toString=Ea,u.unix=Ua,u.valueOf=Ca,u.creationData=$a,u.eraName=Qa,u.eraNarrow=Ka,u.eraAbbr=Xa,u.eraYear=ei,u.year=$t,u.isLeapYear=Er,u.weekYear=oi,u.isoWeekYear=li,u.quarter=u.quarters=mi,u.month=Kt,u.daysInMonth=Ur,u.week=u.weeks=$r,u.isoWeek=u.isoWeeks=Zr,u.weeksInYear=fi,u.weeksInWeekYear=hi,u.isoWeeksInYear=ui,u.isoWeeksInISOWeekYear=di,u.date=vs,u.day=u.days=ln,u.weekday=un,u.isoWeekday=dn,u.dayOfYear=_i,u.hour=u.hours=Sn,u.minute=u.minutes=yi,u.second=u.seconds=Si,u.millisecond=u.milliseconds=Os,u.utcOffset=Xn,u.utc=ta,u.local=sa,u.parseZone=ra,u.hasAlignedHourOffset=na,u.isDST=aa,u.isLocal=oa,u.isUtcOffset=la,u.isUtc=hs,u.isUTC=hs,u.zoneAbbr=wi,u.zoneName=ki,u.dates=R("dates accessor is deprecated. Use date instead.",vs),u.months=R("months accessor is deprecated. Use month instead",Kt),u.years=R("years accessor is deprecated. Use year instead",$t),u.zone=R("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ea),u.isDSTShifted=R("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ia);function Di(e){return p(e*1e3)}function pi(){return p.apply(null,arguments).parseZone()}function Ys(e){return e}var w=st.prototype;w.calendar=ir,w.longDateFormat=dr,w.invalidDate=hr,w.ordinal=_r,w.preparse=Ys,w.postformat=Ys,w.relativeTime=Sr,w.pastFuture=gr,w.set=nr,w.eras=Za,w.erasParse=qa,w.erasConvertYear=Ja,w.erasAbbrRegex=si,w.erasNameRegex=ti,w.erasNarrowRegex=ri,w.months=Pr,w.monthsShort=Wr,w.monthsParse=Cr,w.monthsRegex=Hr,w.monthsShortRegex=Fr,w.week=Gr,w.firstDayOfYear=Br,w.firstDayOfWeek=zr,w.weekdays=sn,w.weekdaysMin=nn,w.weekdaysShort=rn,w.weekdaysParse=on,w.weekdaysRegex=fn,w.weekdaysShortRegex=hn,w.weekdaysMinRegex=cn,w.isPM=_n,w.meridiem=gn;function Ze(e,t,s,r){var n=q(),a=F().set(r,t);return n[s](a,e)}function Ts(e,t,s){if(j(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ze(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Ze(e,r,s,"month");return n}function Yt(e,t,s,r){typeof e=="boolean"?(j(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,j(t)&&(s=t,t=void 0),t=t||"");var n=q(),a=e?n._week.dow:0,i,l=[];if(s!=null)return Ze(t,(s+a)%7,r,"day");for(i=0;i<7;i++)l[i]=Ze(t,(i+a)%7,r,"day");return l}function Mi(e,t){return Ts(e,t,"months")}function vi(e,t){return Ts(e,t,"monthsShort")}function Oi(e,t,s){return Yt(e,t,s,"weekdays")}function Yi(e,t,s){return Yt(e,t,s,"weekdaysShort")}function Ti(e,t,s){return Yt(e,t,s,"weekdaysMin")}ee("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,s=y(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),d.lang=R("moment.lang is deprecated. Use moment.locale instead.",ee),d.langData=R("moment.langData is deprecated. Use moment.localeData instead.",q);var J=Math.abs;function Ei(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Es(e,t,s,r){var n=C(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Ni(e,t){return Es(this,e,t,1)}function xi(e,t){return Es(this,e,t,-1)}function Ns(e){return e<0?Math.floor(e):Math.ceil(e)}function Ii(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,l,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Ns(Tt(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=L(e/1e3),r.seconds=n%60,a=L(n/60),r.minutes=a%60,i=L(a/60),r.hours=i%24,t+=L(i/24),c=L(xs(t)),s+=c,t-=Ns(Tt(c)),l=L(s/12),s%=12,r.days=t,r.months=s,r.years=l,this}function xs(e){return e*4800/146097}function Tt(e){return e*146097/4800}function Ri(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=b(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+xs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Tt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Q(e){return function(){return this.as(e)}}var Is=Q("ms"),bi=Q("s"),Li=Q("m"),Pi=Q("h"),Wi=Q("d"),Ai=Q("w"),Ci=Q("M"),Ui=Q("Q"),Fi=Q("y"),Hi=Is;function Vi(){return C(this)}function Gi(e){return e=b(e),this.isValid()?this[e+"s"]():NaN}function ie(e){return function(){return this.isValid()?this._data[e]:NaN}}var ji=ie("milliseconds"),zi=ie("seconds"),Bi=ie("minutes"),$i=ie("hours"),Zi=ie("days"),qi=ie("months"),Ji=ie("years");function Qi(){return L(this.days()/7)}var K=Math.round,ye={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ki(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function Xi(e,t,s,r){var n=C(e).abs(),a=K(n.as("s")),i=K(n.as("m")),l=K(n.as("h")),c=K(n.as("d")),m=K(n.as("M")),M=K(n.as("w")),T=K(n.as("y")),x=a<=s.ss&&["s",a]||a<s.s&&["ss",a]||i<=1&&["m"]||i<s.m&&["mm",i]||l<=1&&["h"]||l<s.h&&["hh",l]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(x=x||M<=1&&["w"]||M<s.w&&["ww",M]),x=x||m<=1&&["M"]||m<s.M&&["MM",m]||T<=1&&["y"]||["yy",T],x[2]=t,x[3]=+e>0,x[4]=r,Ki.apply(null,x)}function eo(e){return e===void 0?K:typeof e=="function"?(K=e,!0):!1}function to(e,t){return ye[e]===void 0?!1:t===void 0?ye[e]:(ye[e]=t,e==="s"&&(ye.ss=t-1),!0)}function so(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=ye,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},ye,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=Xi(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Et=Math.abs;function Se(e){return(e>0)-(e<0)||+e}function qe(){if(!this.isValid())return this.localeData().invalidDate();var e=Et(this._milliseconds)/1e3,t=Et(this._days),s=Et(this._months),r,n,a,i,l=this.asSeconds(),c,m,M,T;return l?(r=L(e/60),n=L(r/60),e%=60,r%=60,a=L(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",m=Se(this._months)!==Se(l)?"-":"",M=Se(this._days)!==Se(l)?"-":"",T=Se(this._milliseconds)!==Se(l)?"-":"",c+"P"+(a?m+a+"Y":"")+(s?m+s+"M":"")+(t?M+t+"D":"")+(n||r||e?"T":"")+(n?T+n+"H":"")+(r?T+r+"M":"")+(e?T+i+"S":"")):"P0D"}var S=Ve.prototype;S.isValid=qn,S.abs=Ei,S.add=Ni,S.subtract=xi,S.as=Ri,S.asMilliseconds=Is,S.asSeconds=bi,S.asMinutes=Li,S.asHours=Pi,S.asDays=Wi,S.asWeeks=Ai,S.asMonths=Ci,S.asQuarters=Ui,S.asYears=Fi,S.valueOf=Hi,S._bubble=Ii,S.clone=Vi,S.get=Gi,S.milliseconds=ji,S.seconds=zi,S.minutes=Bi,S.hours=$i,S.days=Zi,S.weeks=Qi,S.months=qi,S.years=Ji,S.humanize=so,S.toISOString=qe,S.toString=qe,S.toJSON=qe,S.locale=Ss,S.localeData=ws,S.toIsoString=R("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qe),S.lang=gs,h("X",0,0,"unix"),h("x",0,0,"valueOf"),f("x",Pe),f("X",pr),k("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),k("x",function(e,t,s){s._d=new Date(y(e))});//! moment.js
|
|
10
|
+
d.version="2.30.1",sr(p),d.fn=u,d.min=zn,d.max=Bn,d.now=$n,d.utc=F,d.unix=Di,d.months=Mi,d.isDate=ge,d.locale=ee,d.invalid=Ne,d.duration=C,d.isMoment=W,d.weekdays=Oi,d.parseZone=pi,d.localeData=q,d.isDuration=Ge,d.monthsShort=vi,d.weekdaysMin=Ti,d.defineLocale=_t,d.updateLocale=pn,d.locales=Mn,d.weekdaysShort=Yi,d.normalizeUnits=b,d.relativeTimeRounding=eo,d.relativeTimeThreshold=to,d.calendarFormat=ga,d.prototype=u,d.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"};//! moment.js locale configuration
|
|
11
11
|
//! locale : French [fr]
|
|
12
12
|
//! author : John Fischer : https://github.com/jfroffice
|
|
13
|
-
var Xi=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,eo=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,bs=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,xt=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];d.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:bs,monthsShortRegex:bs,monthsStrictRegex:Xi,monthsShortStrictRegex:eo,monthsParse:xt,longMonthsParse:xt,shortMonthsParse:xt,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var Es;(function(e){e[e.DISABLED=0]="DISABLED",e[e.ENABLED=1]="ENABLED"})(Es||(Es={}));var Rs;(function(e){e.IMAGE="image",e.VIDEO="video"})(Rs||(Rs={}));var Is;(function(e){e[e.UNDEFINED=0]="UNDEFINED",e[e.EMAIL_PASSWORD=1]="EMAIL_PASSWORD",e[e.PHONE=2]="PHONE",e[e.GOOGLE=3]="GOOGLE",e[e.FACEBOOK=4]="FACEBOOK",e[e.TWITTER=5]="TWITTER"})(Is||(Is={}));var Ls;(function(e){e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE"})(Ls||(Ls={}));var Ps;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(Ps||(Ps={}));var Ws;(function(e){e.EXTERNAL_LINK="external-link",e.PAGE_LINK="page-link",e.CONTENT_LINK="content-link"})(Ws||(Ws={}));var Fs;(function(e){e[e.SYSTEM=1]="SYSTEM",e[e.USER=2]="USER"})(Fs||(Fs={}));var As;(function(e){e.WELCOME_USER="App\\Notifications\\WelcomeUser"})(As||(As={}));var Us;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(Us||(Us={}));var Cs;(function(e){e.SUBSCRIBER="App\\Models\\SubscriberProfile"})(Cs||(Cs={}));var Hs;(function(e){e.FORM_INVALID_DATA="form/invalid_data",e.AUTH_LOGIN_FAILED="auth/login_failed",e.AUTH_REGISTRATION_FAILED="auth/registration_failed",e.AUTH_MISSING_DATA="auth/missing_data",e.AUTH_WRONG_PASSWORD="auth/wrong_password",e.AUTH_USER_DISABLED="auth/user_disabled",e.AUTH_USER_NOT_FOUND="auth/user_not_found",e.AUTH_PROFILE_TYPE_NOT_FOUND="auth/profile_type_not_found",e.AUTH_EMAIL_ALREADY_USED="auth/email_already_used",e.AUTH_EMAIL_ALREADY_VERIFIED="auth/email_already_verified",e.AUTH_PROFILE_ALREADY_EXISTS="auth/profile_already_exists",e.AUTH_PROFILE_NOT_FOUND="auth/profile_not_found",e.AUTH_INVALID_TOKEN="auth/invalid_token",e.AUTH_CODE_SENDING_FAILED="auth/code_sending_failed",e.AUTH_CODE_VERIFICATION_FAILED="auth/code_verification_failed",e.AUTH_CODE_EXPIRED="auth/code_expired"})(Hs||(Hs={}));var Vs;(function(e){e.SUPER_ADMIN="super-admin",e.ADMIN="admin",e.USER="user"})(Vs||(Vs={}));const to=["id"],so=o.defineComponent({__name:"RootContainer",props:{page:{},sections:{default:()=>[]},components:{default:()=>({})}},setup(e){const t=e;return o.onMounted(()=>{setTimeout(()=>{const s=t.page.props.sectionData;s&&t.sections.find(r=>r.slug==s.slug&&r.pivot?.linkId==s.pivot?.linkId)&&Qs(`${s.slug}__${s.pivot?.linkId}-container`)},1e3)}),(s,r)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.sections,(n,a)=>(o.openBlock(),o.createElementBlock("section",{key:"section-"+a,id:`${n.slug}__${n.pivot?.linkId}-container`,class:"reset-styles"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.components[n.name]),{data:n.pivot?.data,setings:n.pivot?.settings,"section-key":`${n.slug}__${n.pivot?.linkId}`,metadata:{slug:n.slug,name:n.name,title:n.title,linkId:n.pivot?.linkId,createdAt:n.createdAt,updatedAt:n.updatedAt}},null,8,["data","setings","section-key","metadata"]))],8,to))),128))}}),Gs=(e,t)=>{const s=e.__vccOpts||e;for(const[r,n]of t)s[r]=n;return s},js=Gs(so,[["__scopeId","data-v-0ceb2bac"]]),ro=["src","alt","title","width","height","loading"],zs=o.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(e){const t=e,s=o.ref("");return(async()=>{s.value=await t.load()})(),(n,a)=>(o.openBlock(),o.createElementBlock("img",{src:o.unref(s),alt:t.alt,title:t.title,style:o.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,ro))}}),Bs=Gs(o.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(e){const t=e;return(s,r)=>(o.openBlock(),o.createBlock(o.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:o.withCtx(()=>[o.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),[["__scopeId","data-v-30b5e62e"]]),$s=o.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(e){const t=e,s=o.ref(!1);return o.onMounted(()=>{s.value=!0}),o.onUnmounted(()=>{s.value=!1}),(r,n)=>o.unref(s)?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:t.to},[o.renderSlot(r.$slots,"default")],8,["to"])):o.createCommentVNode("",!0)}}),no=["innerHTML"],ao=["href"],io=["href"],Zs=o.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(e){const t=e,s=o.ref(!1),r=o.computed(()=>!s.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),n=(a,i)=>{t.link=="#"&&a.preventDefault(),t.lessStr&&(s.value=i)};return(a,i)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("span",{innerHTML:o.unref(r)},null,8,no),o.withDirectives(o.createElementVNode("span",null,[o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[0]||(i[0]=u=>n(u,!0))},o.toDisplayString(t.moreStr),9,ao),[[o.vShow,!o.unref(s)]]),o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[1]||(i[1]=u=>n(u,!1))},o.toDisplayString(t.lessStr),9,io),[[o.vShow,o.unref(s)]])],512),[[o.vShow,t.text.length>t.maxChars]])]))}}),qs=o.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),u=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",b),T()}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",b)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",u.value=!0)},_=()=>{r.value&&O()},O=()=>{n.value="",a.value="auto",r.value=!1,u.value=!1},T=()=>{const ie=s.value?.getBoundingClientRect().width;if(a.value=ie||"auto",(s.value?.getBoundingClientRect().bottom||0)>t.bottom){c();return}_()},b=()=>{u.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(ie,oe)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({bottom:o.unref(u)?t.bottom+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(ie.$slots,"default",{},()=>[oe[0]||(oe[0]=o.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),Js=o.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),u=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",b)}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",b)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",u.value=!0)},_=()=>{r.value&&O()},O=()=>{n.value="",a.value="auto",r.value=!1,u.value=!1},T=()=>{const ie=s.value?.getBoundingClientRect().width;if(a.value=ie||"auto",(s.value?.getBoundingClientRect().top||0)<t.top){c();return}_()},b=()=>{u.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(ie,oe)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({top:o.unref(u)?t.top+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(ie.$slots,"default",{},()=>[oe[0]||(oe[0]=o.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}}),oo={install(e){e.component("RootContainer",js),e.component("CustomTransition",Bs),e.component("MountedTeleport",$s),e.component("StickyBottom",qs),e.component("StickyTop",Js),e.component("ReadMore",Zs),e.component("AsyncImg",zs)}};return U.AsyncImg=zs,U.CustomTransition=Bs,U.MountedTeleport=$s,U.ReadMore=Zs,U.RootContainer=js,U.StickyBottom=qs,U.StickyTop=Js,U.default=oo,Object.defineProperties(U,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),U}({},Vue);
|
|
13
|
+
var ro=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,no=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,Rs=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Nt=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];d.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:Rs,monthsShortRegex:Rs,monthsStrictRegex:ro,monthsShortStrictRegex:no,monthsParse:Nt,longMonthsParse:Nt,shortMonthsParse:Nt,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var bs;(function(e){e.USER="user",e.ADMIN="admin",e.SYSTEM="system"})(bs||(bs={}));var Ls;(function(e){e.INTERNAL="internal",e.USER_EDITABLE="user-editable"})(Ls||(Ls={}));var Ps;(function(e){e.EDITORIAL_CONTENT="editorial-content",e.USER_DATA="user-data",e.SYSTEM_DATA="system-data"})(Ps||(Ps={}));var Ws;(function(e){e[e.DISABLED=0]="DISABLED",e[e.ENABLED=1]="ENABLED"})(Ws||(Ws={}));var As;(function(e){e.IMAGE="image",e.VIDEO="video"})(As||(As={}));var Cs;(function(e){e[e.UNDEFINED=0]="UNDEFINED",e[e.EMAIL_PASSWORD=1]="EMAIL_PASSWORD",e[e.PHONE=2]="PHONE",e[e.GOOGLE=3]="GOOGLE",e[e.FACEBOOK=4]="FACEBOOK",e[e.TWITTER=5]="TWITTER"})(Cs||(Cs={}));var Us;(function(e){e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE"})(Us||(Us={}));var Fs;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(Fs||(Fs={}));var se;(function(e){e.RELOAD="reload",e.RELOAD_COMPLETE="reload-complete",e.ENABLE_EDITION_MODE="enable-edition-mode",e.DESELECT_ALL_SECTIONS="deselect-all-sections",e.SELECT_PREVIEW_SECTION="select-preview-section",e.SELECT_SIDEBAR_SECTION="select-sidebar-section"})(se||(se={}));var Hs;(function(e){e.EXTERNAL_LINK="external-link",e.PAGE_LINK="page-link",e.CONTENT_LINK="content-link"})(Hs||(Hs={}));var Vs;(function(e){e[e.SYSTEM=1]="SYSTEM",e[e.USER=2]="USER"})(Vs||(Vs={}));var Gs;(function(e){e.WELCOME_USER="App\\Notifications\\WelcomeUser"})(Gs||(Gs={}));var js;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(js||(js={}));var zs;(function(e){e.SUBSCRIBER="App\\Models\\SubscriberProfile"})(zs||(zs={}));var Bs;(function(e){e.FORM_INVALID_DATA="form/invalid_data",e.AUTH_LOGIN_FAILED="auth/login_failed",e.AUTH_REGISTRATION_FAILED="auth/registration_failed",e.AUTH_MISSING_DATA="auth/missing_data",e.AUTH_WRONG_PASSWORD="auth/wrong_password",e.AUTH_USER_DISABLED="auth/user_disabled",e.AUTH_USER_NOT_FOUND="auth/user_not_found",e.AUTH_PROFILE_TYPE_NOT_FOUND="auth/profile_type_not_found",e.AUTH_EMAIL_ALREADY_USED="auth/email_already_used",e.AUTH_EMAIL_ALREADY_VERIFIED="auth/email_already_verified",e.AUTH_PROFILE_ALREADY_EXISTS="auth/profile_already_exists",e.AUTH_PROFILE_NOT_FOUND="auth/profile_not_found",e.AUTH_INVALID_TOKEN="auth/invalid_token",e.AUTH_CODE_SENDING_FAILED="auth/code_sending_failed",e.AUTH_CODE_VERIFICATION_FAILED="auth/code_verification_failed",e.AUTH_CODE_EXPIRED="auth/code_expired"})(Bs||(Bs={}));var $s;(function(e){e.SUPER_ADMIN="super-admin",e.ADMIN="admin",e.USER="user"})($s||($s={}));const ao=["id"],io=o.defineComponent({__name:"RootContainer",props:{page:{},sections:{default:()=>[]},components:{default:()=>({})}},setup(e){const t=e;o.onMounted(()=>{setTimeout(()=>{const r=t.page.props.sectionData;r&&t.sections.find(n=>n.slug==r.slug&&n.pivot?.linkId==r.pivot?.linkId)&&Lt(`${r.slug}__${r.pivot?.linkId}-container`)},1e3)});const s=o.ref({});return o.onMounted(()=>{const r=()=>{Object.keys(s.value).forEach(a=>{s.value[a].isActive=!1;const i=document.getElementById(a);i&&(i.style.border="none",i.style.boxShadow="none")})},n=a=>{if(a.data?.type===se.RELOAD)sessionStorage.setItem("shouldNotifyReload","1"),sessionStorage.setItem("replyOrigin",a.origin),window.location.reload();else if(a.data?.type===se.ENABLE_EDITION_MODE){const i=a.data?.primaryColor??"blue";sessionStorage.setItem("replyOrigin",a.origin),sessionStorage.setItem("primaryColor",i),t.sections?.forEach((l,c)=>{if(l.slug&&l.pivot?.linkId){const m=`${l.slug}__${l.pivot?.linkId}-container`,M=document.getElementById(m);M&&(s.value[m]={element:M,clickCount:0,isActive:!1},M.addEventListener("click",function(T){r(),s.value[this.id].clickCount++,s.value[this.id].isActive=!0,this.style.border=`5px solid ${i}`,this.style.boxShadow=`0 0 10px ${i}`,window.parent.postMessage({type:se.SELECT_PREVIEW_SECTION,slug:l.slug,linkId:l.pivot?.linkId},a.origin)}),M.style.cursor="pointer",M.style.transition="all 0.3s ease")}})}else if(a.data?.type===se.DESELECT_ALL_SECTIONS)r();else if(a.data?.type===se.SELECT_SIDEBAR_SECTION){setTimeout(()=>{t.sections.find(c=>c.slug==a.data?.slug&&c.pivot?.linkId==a.data?.linkId)&&Lt(`${a.data?.slug}__${a.data?.linkId}-container`)},1e3);const i=`${a.data?.slug}__${a.data?.linkId}-container`,l=document.getElementById(i);l&&(r(),s.value[i].clickCount++,s.value[i].isActive=!0,l.style.border=`5px solid ${sessionStorage.getItem("primaryColor")}`,l.style.boxShadow=`0 0 10px ${sessionStorage.getItem("primaryColor")}`)}};if(window.addEventListener("message",n),sessionStorage.getItem("shouldNotifyReload")==="1"){const a=sessionStorage.getItem("replyOrigin")||"*";window.parent.postMessage({type:se.RELOAD_COMPLETE},a),sessionStorage.removeItem("shouldNotifyReload"),sessionStorage.removeItem("replyOrigin")}}),(r,n)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.sections,(a,i)=>(o.openBlock(),o.createElementBlock("section",{key:"section-"+i,id:`${a.slug}__${a.pivot?.linkId}-container`,class:"reset-styles"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(r.components[a.name]),{data:a.pivot?.data,setings:a.pivot?.settings,"section-key":`${a.slug}__${a.pivot?.linkId}`,metadata:{slug:a.slug,name:a.name,title:a.title,linkId:a.pivot?.linkId,createdAt:a.createdAt,updatedAt:a.updatedAt}},null,8,["data","setings","section-key","metadata"]))],8,ao))),128))}}),Zs=(e,t)=>{const s=e.__vccOpts||e;for(const[r,n]of t)s[r]=n;return s},qs=Zs(io,[["__scopeId","data-v-f40657c2"]]),oo=["src","alt","title","width","height","loading"],Js=o.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(e){const t=e,s=o.ref("");return(async()=>{s.value=await t.load()})(),(n,a)=>(o.openBlock(),o.createElementBlock("img",{src:o.unref(s),alt:t.alt,title:t.title,style:o.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,oo))}}),Qs=Zs(o.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(e){const t=e;return(s,r)=>(o.openBlock(),o.createBlock(o.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:o.withCtx(()=>[o.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),[["__scopeId","data-v-30b5e62e"]]),Ks=o.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(e){const t=e,s=o.ref(!1);return o.onMounted(()=>{s.value=!0}),o.onUnmounted(()=>{s.value=!1}),(r,n)=>o.unref(s)?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:t.to},[o.renderSlot(r.$slots,"default")],8,["to"])):o.createCommentVNode("",!0)}}),lo=["innerHTML"],uo=["href"],fo=["href"],Xs=o.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(e){const t=e,s=o.ref(!1),r=o.computed(()=>!s.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),n=(a,i)=>{t.link=="#"&&a.preventDefault(),t.lessStr&&(s.value=i)};return(a,i)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("span",{innerHTML:o.unref(r)},null,8,lo),o.withDirectives(o.createElementVNode("span",null,[o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[0]||(i[0]=l=>n(l,!0))},o.toDisplayString(t.moreStr),9,uo),[[o.vShow,!o.unref(s)]]),o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[1]||(i[1]=l=>n(l,!1))},o.toDisplayString(t.lessStr),9,fo),[[o.vShow,o.unref(s)]])],512),[[o.vShow,t.text.length>t.maxChars]])]))}}),er=o.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),l=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",x),T()}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",x)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",l.value=!0)},m=()=>{r.value&&M()},M=()=>{n.value="",a.value="auto",r.value=!1,l.value=!1},T=()=>{const oe=s.value?.getBoundingClientRect().width;if(a.value=oe||"auto",(s.value?.getBoundingClientRect().bottom||0)>t.bottom){c();return}m()},x=()=>{l.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(oe,le)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({bottom:o.unref(l)?t.bottom+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(oe.$slots,"default",{},()=>[le[0]||(le[0]=o.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),tr=o.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),l=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",x)}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",x)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",l.value=!0)},m=()=>{r.value&&M()},M=()=>{n.value="",a.value="auto",r.value=!1,l.value=!1},T=()=>{const oe=s.value?.getBoundingClientRect().width;if(a.value=oe||"auto",(s.value?.getBoundingClientRect().top||0)<t.top){c();return}m()},x=()=>{l.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(oe,le)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({top:o.unref(l)?t.top+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(oe.$slots,"default",{},()=>[le[0]||(le[0]=o.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}}),ho={install(e){e.component("RootContainer",qs),e.component("CustomTransition",Qs),e.component("MountedTeleport",Ks),e.component("StickyBottom",er),e.component("StickyTop",tr),e.component("ReadMore",Xs),e.component("AsyncImg",Js)}};return U.AsyncImg=Js,U.CustomTransition=Qs,U.MountedTeleport=Ks,U.ReadMore=Xs,U.RootContainer=qs,U.StickyBottom=er,U.StickyTop=tr,U.default=ho,Object.defineProperties(U,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),U}({},Vue);
|