@fluid-topics/ft-analytics-top-documents 1.1.0 → 1.1.2
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.
|
@@ -67,7 +67,11 @@ let ye=class extends Lt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
67
67
|
* @license
|
|
68
68
|
* Copyright 2019 Google LLC
|
|
69
69
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
70
|
-
*/class Ce extends ye{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{we?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Se.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var xe,Re=function(t,e,o,r){for(var n,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,o,s):n(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s};const Ee=Symbol("constructorPrototype"),Me=Symbol("constructorName"),Ue=Symbol("exportpartsDebouncer");class De extends Ce{constructor(){super(),this[xe]=new e(5),this[Me]=this.constructor.name,this[Ee]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Me]&&Object.setPrototypeOf(this,this[Ee])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ue].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,n,i,s;const a=t=>null!=t&&t.trim().length>0,c=t.filter(a).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],o=null!==(s=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...o).filter(a).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const h=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}
|
|
70
|
+
*/class Ce extends ye{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{we?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Se.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var xe,Re=function(t,e,o,r){for(var n,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,o,s):n(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s};const Ee=Symbol("constructorPrototype"),Me=Symbol("constructorName"),Ue=Symbol("exportpartsDebouncer");class De extends Ce{constructor(){super(),this[xe]=new e(5),this[Me]=this.constructor.name,this[Ee]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Me]&&Object.setPrototypeOf(this,this[Ee])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ue].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,n,i,s;const a=t=>null!=t&&t.trim().length>0,c=t.filter(a).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],o=null!==(s=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...o).filter(a).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const h=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}xe=Ue,Re([x()],De.prototype,"exportpartsPrefix",void 0),Re([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return x({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!E(t,e),...null!=e?e:{}})}([])],De.prototype,"exportpartsPrefixes",void 0),Re([x()],De.prototype,"customStylesheet",void 0);const ke=be.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");var We,Le,Ye,Ie;function Ze(){return Ye.apply(null,arguments)}function Ke(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function Ae(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function Fe(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function _e(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(Fe(t,e))return!1;return!0}function $e(t){return void 0===t}function Te(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function He(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function Ge(t,e){var o,r=[],n=t.length;for(o=0;o<n;++o)r.push(e(t[o],o));return r}function Pe(t,e){for(var o in e)Fe(e,o)&&(t[o]=e[o]);return Fe(e,"toString")&&(t.toString=e.toString),Fe(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Be(t,e,o,r){return pn(t,e,o,r,!0).utc()}function ze(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function je(t){if(null==t._isValid){var e=ze(t),o=Ie.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&o);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function Je(t){var e=Be(NaN);return null!=t?Pe(ze(e),t):ze(e).userInvalidated=!0,e}mt`
|
|
71
|
+
.highlight-html-match {
|
|
72
|
+
background: ${ke};
|
|
73
|
+
}
|
|
74
|
+
`,mt`
|
|
71
75
|
.ft-no-text-select {
|
|
72
76
|
-webkit-touch-callout: none;
|
|
73
77
|
-webkit-user-select: none;
|
|
@@ -99,33 +103,33 @@ let ye=class extends Lt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
99
103
|
display: inline-block;
|
|
100
104
|
width: 0;
|
|
101
105
|
}
|
|
102
|
-
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(We=null===(ke=window.safari)||void 0===ke?void 0:ke.pushNotification)||void 0===We||We.toString()),Ye=Array.prototype.some?Array.prototype.some:function(t){var e,o=Object(this),r=o.length>>>0;for(e=0;e<r;e++)if(e in o&&t.call(this,o[e],e,o))return!0;return!1};var Je=Ie.momentProperties=[],qe=!1;function Ve(t,e){var o,r,n,i=Je.length;if(_e(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),_e(e._i)||(t._i=e._i),_e(e._f)||(t._f=e._f),_e(e._l)||(t._l=e._l),_e(e._strict)||(t._strict=e._strict),_e(e._tzm)||(t._tzm=e._tzm),_e(e._isUTC)||(t._isUTC=e._isUTC),_e(e._offset)||(t._offset=e._offset),_e(e._pf)||(t._pf=Be(e)),_e(e._locale)||(t._locale=e._locale),i>0)for(o=0;o<i;o++)_e(n=e[r=Je[o]])||(t[r]=n);return t}function Qe(t){Ve(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===qe&&(qe=!0,Ie.updateOffset(this),qe=!1)}function Xe(t){return t instanceof Qe||null!=t&&null!=t._isAMomentObject}function to(t){!1===Ie.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function eo(t,e){var o=!0;return Ge((function(){if(null!=Ie.deprecationHandler&&Ie.deprecationHandler(null,t),o){var r,n,i,s=[],a=arguments.length;for(n=0;n<a;n++){if(r="","object"==typeof arguments[n]){for(i in r+="\n["+n+"] ",arguments[0])Ae(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[n];s.push(r)}to(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),o=!1}return e.apply(this,arguments)}),e)}var oo,ro={};function no(t,e){null!=Ie.deprecationHandler&&Ie.deprecationHandler(t,e),ro[t]||(to(e),ro[t]=!0)}function io(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function so(t,e){var o,r=Ge({},t);for(o in e)Ae(e,o)&&(Ke(t[o])&&Ke(e[o])?(r[o]={},Ge(r[o],t[o]),Ge(r[o],e[o])):null!=e[o]?r[o]=e[o]:delete r[o]);for(o in t)Ae(t,o)&&!Ae(e,o)&&Ke(t[o])&&(r[o]=Ge({},r[o]));return r}function ao(t){null!=t&&this.set(t)}Ie.suppressDeprecationWarnings=!1,Ie.deprecationHandler=null,oo=Object.keys?Object.keys:function(t){var e,o=[];for(e in t)Ae(t,e)&&o.push(e);return o};function co(t,e,o){var r=""+Math.abs(t),n=e-r.length;return(t>=0?o?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var lo=/(\[[^\[]*\])|(\\)?([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,ho=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,fo={},uo={};function po(t,e,o,r){var n=r;"string"==typeof r&&(n=function(){return this[r]()}),t&&(uo[t]=n),e&&(uo[e[0]]=function(){return co(n.apply(this,arguments),e[1],e[2])}),o&&(uo[o]=function(){return this.localeData().ordinal(n.apply(this,arguments),t)})}function yo(t,e){return t.isValid()?(e=go(e,t.localeData()),fo[e]=fo[e]||function(t){var e,o,r,n=t.match(lo);for(e=0,o=n.length;e<o;e++)uo[n[e]]?n[e]=uo[n[e]]:n[e]=(r=n[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,i="";for(r=0;r<o;r++)i+=io(n[r])?n[r].call(e,t):n[r];return i}}(e),fo[e](t)):t.localeData().invalidDate()}function go(t,e){var o=5;function r(t){return e.longDateFormat(t)||t}for(ho.lastIndex=0;o>=0&&ho.test(t);)t=t.replace(ho,r),ho.lastIndex=0,o-=1;return t}var mo={};function bo(t,e){var o=t.toLowerCase();mo[o]=mo[o+"s"]=mo[e]=t}function Oo(t){return"string"==typeof t?mo[t]||mo[t.toLowerCase()]:void 0}function No(t){var e,o,r={};for(o in t)Ae(t,o)&&(e=Oo(o))&&(r[e]=t[o]);return r}var vo={};function So(t,e){vo[t]=e}function wo(t){return t%4==0&&t%100!=0||t%400==0}function Co(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function xo(t){var e=+t,o=0;return 0!==e&&isFinite(e)&&(o=Co(e)),o}function Ro(t,e){return function(o){return null!=o?(Mo(this,t,o),Ie.updateOffset(this,e),this):Eo(this,t)}}function Eo(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Mo(t,e,o){t.isValid()&&!isNaN(o)&&("FullYear"===e&&wo(t.year())&&1===t.month()&&29===t.date()?(o=xo(o),t._d["set"+(t._isUTC?"UTC":"")+e](o,t.month(),lr(o,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](o))}var Uo,Do=/\d/,ko=/\d\d/,Wo=/\d{3}/,Lo=/\d{4}/,Yo=/[+-]?\d{6}/,Io=/\d\d?/,Zo=/\d\d\d\d?/,Ko=/\d\d\d\d\d\d?/,Ao=/\d{1,3}/,Fo=/\d{1,4}/,_o=/[+-]?\d{1,6}/,$o=/\d+/,To=/[+-]?\d+/,Ho=/Z|[+-]\d\d:?\d\d/gi,Go=/Z|[+-]\d\d(?::?\d\d)?/gi,Po=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Bo(t,e,o){Uo[t]=io(e)?e:function(t,r){return t&&o?o:e}}function zo(t,e){return Ae(Uo,t)?Uo[t](e._strict,e._locale):new RegExp(function(t){return jo(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,o,r,n){return e||o||r||n})))}(t))}function jo(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Uo={};var Jo={};function qo(t,e){var o,r,n=e;for("string"==typeof t&&(t=[t]),$e(e)&&(n=function(t,o){o[e]=xo(t)}),r=t.length,o=0;o<r;o++)Jo[t[o]]=n}function Vo(t,e){qo(t,(function(t,o,r,n){r._w=r._w||{},e(t,r._w,r,n)}))}function Qo(t,e,o){null!=e&&Ae(Jo,t)&&Jo[t](e,o._a,o,t)}var Xo,tr=0,er=1,or=2,rr=3,nr=4,ir=5,sr=6,ar=7,cr=8;function lr(t,e){if(isNaN(t)||isNaN(e))return NaN;var o=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-o)/12,1===o?wo(t)?29:28:31-o%7%2}Xo=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},po("M",["MM",2],"Mo",(function(){return this.month()+1})),po("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),po("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),bo("month","M"),So("month",8),Bo("M",Io),Bo("MM",Io,ko),Bo("MMM",(function(t,e){return e.monthsShortRegex(t)})),Bo("MMMM",(function(t,e){return e.monthsRegex(t)})),qo(["M","MM"],(function(t,e){e[er]=xo(t)-1})),qo(["MMM","MMMM"],(function(t,e,o,r){var n=o._locale.monthsParse(t,r,o._strict);null!=n?e[er]=n:Be(o).invalidMonth=t}));var hr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ur=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,dr=Po,pr=Po;function yr(t,e,o){var r,n,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=Pe([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return o?"MMM"===e?-1!==(n=Xo.call(this._shortMonthsParse,s))?n:null:-1!==(n=Xo.call(this._longMonthsParse,s))?n:null:"MMM"===e?-1!==(n=Xo.call(this._shortMonthsParse,s))||-1!==(n=Xo.call(this._longMonthsParse,s))?n:null:-1!==(n=Xo.call(this._longMonthsParse,s))||-1!==(n=Xo.call(this._shortMonthsParse,s))?n:null}function gr(t,e){var o;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=xo(e);else if(!$e(e=t.localeData().monthsParse(e)))return t;return o=Math.min(t.date(),lr(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,o),t}function mr(t){return null!=t?(gr(this,t),Ie.updateOffset(this,!0),this):Eo(this,"Month")}function br(){function t(t,e){return e.length-t.length}var e,o,r=[],n=[],i=[];for(e=0;e<12;e++)o=Pe([2e3,e]),r.push(this.monthsShort(o,"")),n.push(this.months(o,"")),i.push(this.months(o,"")),i.push(this.monthsShort(o,""));for(r.sort(t),n.sort(t),i.sort(t),e=0;e<12;e++)r[e]=jo(r[e]),n[e]=jo(n[e]);for(e=0;e<24;e++)i[e]=jo(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Or(t){return wo(t)?366:365}po("Y",0,0,(function(){var t=this.year();return t<=9999?co(t,4):"+"+t})),po(0,["YY",2],0,(function(){return this.year()%100})),po(0,["YYYY",4],0,"year"),po(0,["YYYYY",5],0,"year"),po(0,["YYYYYY",6,!0],0,"year"),bo("year","y"),So("year",1),Bo("Y",To),Bo("YY",Io,ko),Bo("YYYY",Fo,Lo),Bo("YYYYY",_o,Yo),Bo("YYYYYY",_o,Yo),qo(["YYYYY","YYYYYY"],tr),qo("YYYY",(function(t,e){e[tr]=2===t.length?Ie.parseTwoDigitYear(t):xo(t)})),qo("YY",(function(t,e){e[tr]=Ie.parseTwoDigitYear(t)})),qo("Y",(function(t,e){e[tr]=parseInt(t,10)})),Ie.parseTwoDigitYear=function(t){return xo(t)+(xo(t)>68?1900:2e3)};var Nr=Ro("FullYear",!0);function vr(t,e,o,r,n,i,s){var a;return t<100&&t>=0?(a=new Date(t+400,e,o,r,n,i,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,o,r,n,i,s),a}function Sr(t){var e,o;return t<100&&t>=0?((o=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,o)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function wr(t,e,o){var r=7+e-o;return-((7+Sr(t,0,r).getUTCDay()-e)%7)+r-1}function Cr(t,e,o,r,n){var i,s,a=1+7*(e-1)+(7+o-r)%7+wr(t,r,n);return a<=0?s=Or(i=t-1)+a:a>Or(t)?(i=t+1,s=a-Or(t)):(i=t,s=a),{year:i,dayOfYear:s}}function xr(t,e,o){var r,n,i=wr(t.year(),e,o),s=Math.floor((t.dayOfYear()-i-1)/7)+1;return s<1?r=s+Rr(n=t.year()-1,e,o):s>Rr(t.year(),e,o)?(r=s-Rr(t.year(),e,o),n=t.year()+1):(n=t.year(),r=s),{week:r,year:n}}function Rr(t,e,o){var r=wr(t,e,o),n=wr(t+1,e,o);return(Or(t)-r+n)/7}po("w",["ww",2],"wo","week"),po("W",["WW",2],"Wo","isoWeek"),bo("week","w"),bo("isoWeek","W"),So("week",5),So("isoWeek",5),Bo("w",Io),Bo("ww",Io,ko),Bo("W",Io),Bo("WW",Io,ko),Vo(["w","ww","W","WW"],(function(t,e,o,r){e[r.substr(0,1)]=xo(t)}));function Er(t,e){return t.slice(e,7).concat(t.slice(0,e))}po("d",0,"do","day"),po("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),po("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),po("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),po("e",0,0,"weekday"),po("E",0,0,"isoWeekday"),bo("day","d"),bo("weekday","e"),bo("isoWeekday","E"),So("day",11),So("weekday",11),So("isoWeekday",11),Bo("d",Io),Bo("e",Io),Bo("E",Io),Bo("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Bo("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Bo("dddd",(function(t,e){return e.weekdaysRegex(t)})),Vo(["dd","ddd","dddd"],(function(t,e,o,r){var n=o._locale.weekdaysParse(t,r,o._strict);null!=n?e.d=n:Be(o).invalidWeekday=t})),Vo(["d","e","E"],(function(t,e,o,r){e[r]=xo(t)}));var Mr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ur="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),kr=Po,Wr=Po,Lr=Po;function Yr(t,e,o){var r,n,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Pe([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return o?"dddd"===e?-1!==(n=Xo.call(this._weekdaysParse,s))?n:null:"ddd"===e?-1!==(n=Xo.call(this._shortWeekdaysParse,s))?n:null:-1!==(n=Xo.call(this._minWeekdaysParse,s))?n:null:"dddd"===e?-1!==(n=Xo.call(this._weekdaysParse,s))||-1!==(n=Xo.call(this._shortWeekdaysParse,s))||-1!==(n=Xo.call(this._minWeekdaysParse,s))?n:null:"ddd"===e?-1!==(n=Xo.call(this._shortWeekdaysParse,s))||-1!==(n=Xo.call(this._weekdaysParse,s))||-1!==(n=Xo.call(this._minWeekdaysParse,s))?n:null:-1!==(n=Xo.call(this._minWeekdaysParse,s))||-1!==(n=Xo.call(this._weekdaysParse,s))||-1!==(n=Xo.call(this._shortWeekdaysParse,s))?n:null}function Ir(){function t(t,e){return e.length-t.length}var e,o,r,n,i,s=[],a=[],c=[],l=[];for(e=0;e<7;e++)o=Pe([2e3,1]).day(e),r=jo(this.weekdaysMin(o,"")),n=jo(this.weekdaysShort(o,"")),i=jo(this.weekdays(o,"")),s.push(r),a.push(n),c.push(i),l.push(r),l.push(n),l.push(i);s.sort(t),a.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Zr(){return this.hours()%12||12}function Kr(t,e){po(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Ar(t,e){return e._meridiemParse}po("H",["HH",2],0,"hour"),po("h",["hh",2],0,Zr),po("k",["kk",2],0,(function(){return this.hours()||24})),po("hmm",0,0,(function(){return""+Zr.apply(this)+co(this.minutes(),2)})),po("hmmss",0,0,(function(){return""+Zr.apply(this)+co(this.minutes(),2)+co(this.seconds(),2)})),po("Hmm",0,0,(function(){return""+this.hours()+co(this.minutes(),2)})),po("Hmmss",0,0,(function(){return""+this.hours()+co(this.minutes(),2)+co(this.seconds(),2)})),Kr("a",!0),Kr("A",!1),bo("hour","h"),So("hour",13),Bo("a",Ar),Bo("A",Ar),Bo("H",Io),Bo("h",Io),Bo("k",Io),Bo("HH",Io,ko),Bo("hh",Io,ko),Bo("kk",Io,ko),Bo("hmm",Zo),Bo("hmmss",Ko),Bo("Hmm",Zo),Bo("Hmmss",Ko),qo(["H","HH"],rr),qo(["k","kk"],(function(t,e,o){var r=xo(t);e[rr]=24===r?0:r})),qo(["a","A"],(function(t,e,o){o._isPm=o._locale.isPM(t),o._meridiem=t})),qo(["h","hh"],(function(t,e,o){e[rr]=xo(t),Be(o).bigHour=!0})),qo("hmm",(function(t,e,o){var r=t.length-2;e[rr]=xo(t.substr(0,r)),e[nr]=xo(t.substr(r)),Be(o).bigHour=!0})),qo("hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[rr]=xo(t.substr(0,r)),e[nr]=xo(t.substr(r,2)),e[ir]=xo(t.substr(n)),Be(o).bigHour=!0})),qo("Hmm",(function(t,e,o){var r=t.length-2;e[rr]=xo(t.substr(0,r)),e[nr]=xo(t.substr(r))})),qo("Hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[rr]=xo(t.substr(0,r)),e[nr]=xo(t.substr(r,2)),e[ir]=xo(t.substr(n))}));var Fr=Ro("Hours",!0);var _r,$r={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:hr,monthsShort:fr,week:{dow:0,doy:6},weekdays:Mr,weekdaysMin:Dr,weekdaysShort:Ur,meridiemParse:/[ap]\.?m?\.?/i},Tr={},Hr={};function Gr(t,e){var o,r=Math.min(t.length,e.length);for(o=0;o<r;o+=1)if(t[o]!==e[o])return o;return r}function Pr(t){return t?t.toLowerCase().replace("_","-"):t}function Br(t){var e=null;if(void 0===Tr[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=_r._abbr,require("./locale/"+t),zr(e)}catch(e){Tr[t]=null}return Tr[t]}function zr(t,e){var o;return t&&((o=_e(e)?Jr(t):jr(t,e))?_r=o:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),_r._abbr}function jr(t,e){if(null!==e){var o,r=$r;if(e.abbr=t,null!=Tr[t])no("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=Tr[t]._config;else if(null!=e.parentLocale)if(null!=Tr[e.parentLocale])r=Tr[e.parentLocale]._config;else{if(null==(o=Br(e.parentLocale)))return Hr[e.parentLocale]||(Hr[e.parentLocale]=[]),Hr[e.parentLocale].push({name:t,config:e}),null;r=o._config}return Tr[t]=new ao(so(r,e)),Hr[t]&&Hr[t].forEach((function(t){jr(t.name,t.config)})),zr(t),Tr[t]}return delete Tr[t],null}function Jr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return _r;if(!Ze(t)){if(e=Br(t))return e;t=[t]}return function(t){for(var e,o,r,n,i=0;i<t.length;){for(e=(n=Pr(t[i]).split("-")).length,o=(o=Pr(t[i+1]))?o.split("-"):null;e>0;){if(r=Br(n.slice(0,e).join("-")))return r;if(o&&o.length>=e&&Gr(n,o)>=e-1)break;e--}i++}return _r}(t)}function qr(t){var e,o=t._a;return o&&-2===Be(t).overflow&&(e=o[er]<0||o[er]>11?er:o[or]<1||o[or]>lr(o[tr],o[er])?or:o[rr]<0||o[rr]>24||24===o[rr]&&(0!==o[nr]||0!==o[ir]||0!==o[sr])?rr:o[nr]<0||o[nr]>59?nr:o[ir]<0||o[ir]>59?ir:o[sr]<0||o[sr]>999?sr:-1,Be(t)._overflowDayOfYear&&(e<tr||e>or)&&(e=or),Be(t)._overflowWeeks&&-1===e&&(e=ar),Be(t)._overflowWeekday&&-1===e&&(e=cr),Be(t).overflow=e),t}var Vr=/^\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)?)?$/,Qr=/^\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)?)?$/,Xr=/Z|[+-]\d\d(?::?\d\d)?/,tn=[["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]],en=[["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/]],on=/^\/?Date\((-?\d+)/i,rn=/^(?:(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:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function sn(t){var e,o,r,n,i,s,a=t._i,c=Vr.exec(a)||Qr.exec(a),l=tn.length,h=en.length;if(c){for(Be(t).iso=!0,e=0,o=l;e<o;e++)if(tn[e][1].exec(c[1])){n=tn[e][0],r=!1!==tn[e][2];break}if(null==n)return void(t._isValid=!1);if(c[3]){for(e=0,o=h;e<o;e++)if(en[e][1].exec(c[3])){i=(c[2]||" ")+en[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!Xr.exec(c[4]))return void(t._isValid=!1);s="Z"}t._f=n+(i||"")+(s||""),fn(t)}else t._isValid=!1}function an(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function cn(t){var e,o,r,n,i,s,a,c,l=rn.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(o=l[4],r=l[3],n=l[2],i=l[5],s=l[6],a=l[7],c=[an(o),fr.indexOf(r),parseInt(n,10),parseInt(i,10),parseInt(s,10)],a&&c.push(parseInt(a,10)),e=c,!function(t,e,o){return!t||Ur.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(Be(o).weekdayMismatch=!0,o._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,o){if(t)return nn[t];if(e)return 0;var r=parseInt(o,10),n=r%100;return(r-n)/100*60+n}(l[8],l[9],l[10]),t._d=Sr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),Be(t).rfc2822=!0}else t._isValid=!1}function ln(t,e,o){return null!=t?t:null!=e?e:o}function hn(t){var e,o,r,n,i,s=[];if(!t._d){for(r=function(t){var e=new Date(Ie.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[or]&&null==t._a[er]&&function(t){var e,o,r,n,i,s,a,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(i=1,s=4,o=ln(e.GG,t._a[tr],xr(pn(),1,4).year),r=ln(e.W,1),((n=ln(e.E,1))<1||n>7)&&(c=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,l=xr(pn(),i,s),o=ln(e.gg,t._a[tr],l.year),r=ln(e.w,l.week),null!=e.d?((n=e.d)<0||n>6)&&(c=!0):null!=e.e?(n=e.e+i,(e.e<0||e.e>6)&&(c=!0)):n=i);r<1||r>Rr(o,i,s)?Be(t)._overflowWeeks=!0:null!=c?Be(t)._overflowWeekday=!0:(a=Cr(o,r,n,i,s),t._a[tr]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(i=ln(t._a[tr],r[tr]),(t._dayOfYear>Or(i)||0===t._dayOfYear)&&(Be(t)._overflowDayOfYear=!0),o=Sr(i,0,t._dayOfYear),t._a[er]=o.getUTCMonth(),t._a[or]=o.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[rr]&&0===t._a[nr]&&0===t._a[ir]&&0===t._a[sr]&&(t._nextDay=!0,t._a[rr]=0),t._d=(t._useUTC?Sr:vr).apply(null,s),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[rr]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(Be(t).weekdayMismatch=!0)}}function fn(t){if(t._f!==Ie.ISO_8601)if(t._f!==Ie.RFC_2822){t._a=[],Be(t).empty=!0;var e,o,r,n,i,s,a,c=""+t._i,l=c.length,h=0;for(a=(r=go(t._f,t._locale).match(lo)||[]).length,e=0;e<a;e++)n=r[e],(o=(c.match(zo(n,t))||[])[0])&&((i=c.substr(0,c.indexOf(o))).length>0&&Be(t).unusedInput.push(i),c=c.slice(c.indexOf(o)+o.length),h+=o.length),uo[n]?(o?Be(t).empty=!1:Be(t).unusedTokens.push(n),Qo(n,o,t)):t._strict&&!o&&Be(t).unusedTokens.push(n);Be(t).charsLeftOver=l-h,c.length>0&&Be(t).unusedInput.push(c),t._a[rr]<=12&&!0===Be(t).bigHour&&t._a[rr]>0&&(Be(t).bigHour=void 0),Be(t).parsedDateParts=t._a.slice(0),Be(t).meridiem=t._meridiem,t._a[rr]=function(t,e,o){var r;if(null==o)return e;return null!=t.meridiemHour?t.meridiemHour(e,o):null!=t.isPM?((r=t.isPM(o))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[rr],t._meridiem),null!==(s=Be(t).era)&&(t._a[tr]=t._locale.erasConvertYear(s,t._a[tr])),hn(t),qr(t)}else cn(t);else sn(t)}function un(t){var e=t._i,o=t._f;return t._locale=t._locale||Jr(t._l),null===e||void 0===o&&""===e?je({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),Xe(e)?new Qe(qr(e)):(Te(e)?t._d=e:Ze(o)?function(t){var e,o,r,n,i,s,a=!1,c=t._f.length;if(0===c)return Be(t).invalidFormat=!0,void(t._d=new Date(NaN));for(n=0;n<c;n++)i=0,s=!1,e=Ve({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[n],fn(e),ze(e)&&(s=!0),i+=Be(e).charsLeftOver,i+=10*Be(e).unusedTokens.length,Be(e).score=i,a?i<r&&(r=i,o=e):(null==r||i<r||s)&&(r=i,o=e,s&&(a=!0));Ge(t,o||e)}(t):o?fn(t):function(t){var e=t._i;_e(e)?t._d=new Date(Ie.now()):Te(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=on.exec(t._i);null===e?(sn(t),!1===t._isValid&&(delete t._isValid,cn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:Ie.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):Ze(e)?(t._a=He(e.slice(0),(function(t){return parseInt(t,10)})),hn(t)):Ke(e)?function(t){if(!t._d){var e=No(t._i),o=void 0===e.day?e.date:e.day;t._a=He([e.year,e.month,o,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),hn(t)}}(t):$e(e)?t._d=new Date(e):Ie.createFromInputFallback(t)}(t),ze(t)||(t._d=null),t))}function dn(t,e,o,r,n){var i,s={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==o&&!1!==o||(r=o,o=void 0),(Ke(t)&&Fe(t)||Ze(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=n,s._l=o,s._i=t,s._f=e,s._strict=r,(i=new Qe(qr(un(s))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function pn(t,e,o,r){return dn(t,e,o,r,!1)}Ie.createFromInputFallback=eo("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),Ie.ISO_8601=function(){},Ie.RFC_2822=function(){};var yn=eo("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=pn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:je()})),gn=eo("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=pn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:je()}));function mn(t,e){var o,r;if(1===e.length&&Ze(e[0])&&(e=e[0]),!e.length)return pn();for(o=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](o)||(o=e[r]);return o}var bn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function On(t){var e=No(t),o=e.year||0,r=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,c=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=function(t){var e,o,r=!1,n=bn.length;for(e in t)if(Ae(t,e)&&(-1===Xo.call(bn,e)||null!=t[e]&&isNaN(t[e])))return!1;for(o=0;o<n;++o)if(t[bn[o]]){if(r)return!1;parseFloat(t[bn[o]])!==xo(t[bn[o]])&&(r=!0)}return!0}(e),this._milliseconds=+h+1e3*l+6e4*c+1e3*a*60*60,this._days=+s+7*i,this._months=+n+3*r+12*o,this._data={},this._locale=Jr(),this._bubble()}function Nn(t){return t instanceof On}function vn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Sn(t,e){po(t,0,0,(function(){var t=this.utcOffset(),o="+";return t<0&&(t=-t,o="-"),o+co(~~(t/60),2)+e+co(~~t%60,2)}))}Sn("Z",":"),Sn("ZZ",""),Bo("Z",Go),Bo("ZZ",Go),qo(["Z","ZZ"],(function(t,e,o){o._useUTC=!0,o._tzm=Cn(Go,t)}));var wn=/([\+\-]|\d\d)/gi;function Cn(t,e){var o,r,n=(e||"").match(t);return null===n?null:0===(r=60*(o=((n[n.length-1]||[])+"").match(wn)||["-",0,0])[1]+xo(o[2]))?0:"+"===o[0]?r:-r}function xn(t,e){var o,r;return e._isUTC?(o=e.clone(),r=(Xe(t)||Te(t)?t.valueOf():pn(t).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),Ie.updateOffset(o,!1),o):pn(t).local()}function Rn(t){return-Math.round(t._d.getTimezoneOffset())}function En(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}Ie.updateOffset=function(){};var Mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Un=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dn(t,e){var o,r,n,i=t,s=null;return Nn(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:$e(t)||!isNaN(+t)?(i={},e?i[e]=+t:i.milliseconds=+t):(s=Mn.exec(t))?(o="-"===s[1]?-1:1,i={y:0,d:xo(s[or])*o,h:xo(s[rr])*o,m:xo(s[nr])*o,s:xo(s[ir])*o,ms:xo(vn(1e3*s[sr]))*o}):(s=Un.exec(t))?(o="-"===s[1]?-1:1,i={y:kn(s[2],o),M:kn(s[3],o),w:kn(s[4],o),d:kn(s[5],o),h:kn(s[6],o),m:kn(s[7],o),s:kn(s[8],o)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(n=function(t,e){var o;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=xn(e,t),t.isBefore(e)?o=Wn(t,e):((o=Wn(e,t)).milliseconds=-o.milliseconds,o.months=-o.months);return o}(pn(i.from),pn(i.to)),(i={}).ms=n.milliseconds,i.M=n.months),r=new On(i),Nn(t)&&Ae(t,"_locale")&&(r._locale=t._locale),Nn(t)&&Ae(t,"_isValid")&&(r._isValid=t._isValid),r}function kn(t,e){var o=t&&parseFloat(t.replace(",","."));return(isNaN(o)?0:o)*e}function Wn(t,e){var o={};return o.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(o.months,"M").isAfter(e)&&--o.months,o.milliseconds=+e-+t.clone().add(o.months,"M"),o}function Ln(t,e){return function(o,r){var n;return null===r||isNaN(+r)||(no(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=o,o=r,r=n),Yn(this,Dn(o,r),t),this}}function Yn(t,e,o,r){var n=e._milliseconds,i=vn(e._days),s=vn(e._months);t.isValid()&&(r=null==r||r,s&&gr(t,Eo(t,"Month")+s*o),i&&Mo(t,"Date",Eo(t,"Date")+i*o),n&&t._d.setTime(t._d.valueOf()+n*o),r&&Ie.updateOffset(t,i||s))}Dn.fn=On.prototype,Dn.invalid=function(){return Dn(NaN)};var In=Ln(1,"add"),Zn=Ln(-1,"subtract");function Kn(t){return"string"==typeof t||t instanceof String}function An(t){return Xe(t)||Te(t)||Kn(t)||$e(t)||function(t){var e=Ze(t),o=!1;e&&(o=0===t.filter((function(e){return!$e(e)&&Kn(t)})).length);return e&&o}(t)||function(t){var e,o,r=Ke(t)&&!Fe(t),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=i.length;for(e=0;e<s;e+=1)o=i[e],n=n||Ae(t,o);return r&&n}(t)||null==t}function Fn(t,e){if(t.date()<e.date())return-Fn(e,t);var o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return-(o+(e-r<0?(e-r)/(r-t.clone().add(o-1,"months")):(e-r)/(t.clone().add(o+1,"months")-r)))||0}function _n(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Jr(t))&&(this._locale=e),this)}Ie.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Ie.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $n=eo("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function Tn(){return this._locale}var Hn=1e3,Gn=6e4,Pn=36e5,Bn=126227808e5;function zn(t,e){return(t%e+e)%e}function jn(t,e,o){return t<100&&t>=0?new Date(t+400,e,o)-Bn:new Date(t,e,o).valueOf()}function Jn(t,e,o){return t<100&&t>=0?Date.UTC(t+400,e,o)-Bn:Date.UTC(t,e,o)}function qn(t,e){return e.erasAbbrRegex(t)}function Vn(){var t,e,o=[],r=[],n=[],i=[],s=this.eras();for(t=0,e=s.length;t<e;++t)r.push(jo(s[t].name)),o.push(jo(s[t].abbr)),n.push(jo(s[t].narrow)),i.push(jo(s[t].name)),i.push(jo(s[t].abbr)),i.push(jo(s[t].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function Qn(t,e){po(0,[t,t.length],0,e)}function Xn(t,e,o,r,n){var i;return null==t?xr(this,r,n).year:(e>(i=Rr(t,r,n))&&(e=i),ti.call(this,t,e,o,r,n))}function ti(t,e,o,r,n){var i=Cr(t,e,o,r,n),s=Sr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}po("N",0,0,"eraAbbr"),po("NN",0,0,"eraAbbr"),po("NNN",0,0,"eraAbbr"),po("NNNN",0,0,"eraName"),po("NNNNN",0,0,"eraNarrow"),po("y",["y",1],"yo","eraYear"),po("y",["yy",2],0,"eraYear"),po("y",["yyy",3],0,"eraYear"),po("y",["yyyy",4],0,"eraYear"),Bo("N",qn),Bo("NN",qn),Bo("NNN",qn),Bo("NNNN",(function(t,e){return e.erasNameRegex(t)})),Bo("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),qo(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,o,r){var n=o._locale.erasParse(t,r,o._strict);n?Be(o).era=n:Be(o).invalidEra=t})),Bo("y",$o),Bo("yy",$o),Bo("yyy",$o),Bo("yyyy",$o),Bo("yo",(function(t,e){return e._eraYearOrdinalRegex||$o})),qo(["y","yy","yyy","yyyy"],tr),qo(["yo"],(function(t,e,o,r){var n;o._locale._eraYearOrdinalRegex&&(n=t.match(o._locale._eraYearOrdinalRegex)),o._locale.eraYearOrdinalParse?e[tr]=o._locale.eraYearOrdinalParse(t,n):e[tr]=parseInt(t,10)})),po(0,["gg",2],0,(function(){return this.weekYear()%100})),po(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Qn("gggg","weekYear"),Qn("ggggg","weekYear"),Qn("GGGG","isoWeekYear"),Qn("GGGGG","isoWeekYear"),bo("weekYear","gg"),bo("isoWeekYear","GG"),So("weekYear",1),So("isoWeekYear",1),Bo("G",To),Bo("g",To),Bo("GG",Io,ko),Bo("gg",Io,ko),Bo("GGGG",Fo,Lo),Bo("gggg",Fo,Lo),Bo("GGGGG",_o,Yo),Bo("ggggg",_o,Yo),Vo(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,o,r){e[r.substr(0,2)]=xo(t)})),Vo(["gg","GG"],(function(t,e,o,r){e[r]=Ie.parseTwoDigitYear(t)})),po("Q",0,"Qo","quarter"),bo("quarter","Q"),So("quarter",7),Bo("Q",Do),qo("Q",(function(t,e){e[er]=3*(xo(t)-1)})),po("D",["DD",2],"Do","date"),bo("date","D"),So("date",9),Bo("D",Io),Bo("DD",Io,ko),Bo("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),qo(["D","DD"],or),qo("Do",(function(t,e){e[or]=xo(t.match(Io)[0])}));var ei=Ro("Date",!0);po("DDD",["DDDD",3],"DDDo","dayOfYear"),bo("dayOfYear","DDD"),So("dayOfYear",4),Bo("DDD",Ao),Bo("DDDD",Wo),qo(["DDD","DDDD"],(function(t,e,o){o._dayOfYear=xo(t)})),po("m",["mm",2],0,"minute"),bo("minute","m"),So("minute",14),Bo("m",Io),Bo("mm",Io,ko),qo(["m","mm"],nr);var oi=Ro("Minutes",!1);po("s",["ss",2],0,"second"),bo("second","s"),So("second",15),Bo("s",Io),Bo("ss",Io,ko),qo(["s","ss"],ir);var ri,ni,ii=Ro("Seconds",!1);for(po("S",0,0,(function(){return~~(this.millisecond()/100)})),po(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),po(0,["SSS",3],0,"millisecond"),po(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),po(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),po(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),po(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),po(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),po(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),bo("millisecond","ms"),So("millisecond",16),Bo("S",Ao,Do),Bo("SS",Ao,ko),Bo("SSS",Ao,Wo),ri="SSSS";ri.length<=9;ri+="S")Bo(ri,$o);function si(t,e){e[sr]=xo(1e3*("0."+t))}for(ri="S";ri.length<=9;ri+="S")qo(ri,si);ni=Ro("Milliseconds",!1),po("z",0,0,"zoneAbbr"),po("zz",0,0,"zoneName");var ai=Qe.prototype;function ci(t){return t}ai.add=In,ai.calendar=function(t,e){1===arguments.length&&(arguments[0]?An(arguments[0])?(t=arguments[0],e=void 0):function(t){var e,o=Ke(t)&&!Fe(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<n.length;e+=1)r=r||Ae(t,n[e]);return o&&r}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var o=t||pn(),r=xn(o,this).startOf("day"),n=Ie.calendarFormat(this,r)||"sameElse",i=e&&(io(e[n])?e[n].call(this,o):e[n]);return this.format(i||this.localeData().calendar(n,this,pn(o)))},ai.clone=function(){return new Qe(this)},ai.diff=function(t,e,o){var r,n,i;if(!this.isValid())return NaN;if(!(r=xn(t,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),e=Oo(e)){case"year":i=Fn(this,r)/12;break;case"month":i=Fn(this,r);break;case"quarter":i=Fn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-n)/864e5;break;case"week":i=(this-r-n)/6048e5;break;default:i=this-r}return o?i:Co(i)},ai.endOf=function(t){var e,o;if(void 0===(t=Oo(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?Jn:jn,t){case"year":e=o(this.year()+1,0,1)-1;break;case"quarter":e=o(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=o(this.year(),this.month()+1,1)-1;break;case"week":e=o(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=o(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Pn-zn(e+(this._isUTC?0:this.utcOffset()*Gn),Pn)-1;break;case"minute":e=this._d.valueOf(),e+=Gn-zn(e,Gn)-1;break;case"second":e=this._d.valueOf(),e+=Hn-zn(e,Hn)-1}return this._d.setTime(e),Ie.updateOffset(this,!0),this},ai.format=function(t){t||(t=this.isUtc()?Ie.defaultFormatUtc:Ie.defaultFormat);var e=yo(this,t);return this.localeData().postformat(e)},ai.from=function(t,e){return this.isValid()&&(Xe(t)&&t.isValid()||pn(t).isValid())?Dn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ai.fromNow=function(t){return this.from(pn(),t)},ai.to=function(t,e){return this.isValid()&&(Xe(t)&&t.isValid()||pn(t).isValid())?Dn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ai.toNow=function(t){return this.to(pn(),t)},ai.get=function(t){return io(this[t=Oo(t)])?this[t]():this},ai.invalidAt=function(){return Be(this).overflow},ai.isAfter=function(t,e){var o=Xe(t)?t:pn(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=Oo(e)||"millisecond")?this.valueOf()>o.valueOf():o.valueOf()<this.clone().startOf(e).valueOf())},ai.isBefore=function(t,e){var o=Xe(t)?t:pn(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=Oo(e)||"millisecond")?this.valueOf()<o.valueOf():this.clone().endOf(e).valueOf()<o.valueOf())},ai.isBetween=function(t,e,o,r){var n=Xe(t)?t:pn(t),i=Xe(e)?e:pn(e);return!!(this.isValid()&&n.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(n,o):!this.isBefore(n,o))&&(")"===r[1]?this.isBefore(i,o):!this.isAfter(i,o)))},ai.isSame=function(t,e){var o,r=Xe(t)?t:pn(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=Oo(e)||"millisecond")?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf()))},ai.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ai.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ai.isValid=function(){return ze(this)},ai.lang=$n,ai.locale=_n,ai.localeData=Tn,ai.max=gn,ai.min=yn,ai.parsingFlags=function(){return Ge({},Be(this))},ai.set=function(t,e){if("object"==typeof t){var o,r=function(t){var e,o=[];for(e in t)Ae(t,e)&&o.push({unit:e,priority:vo[e]});return o.sort((function(t,e){return t.priority-e.priority})),o}(t=No(t)),n=r.length;for(o=0;o<n;o++)this[r[o].unit](t[r[o].unit])}else if(io(this[t=Oo(t)]))return this[t](e);return this},ai.startOf=function(t){var e,o;if(void 0===(t=Oo(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?Jn:jn,t){case"year":e=o(this.year(),0,1);break;case"quarter":e=o(this.year(),this.month()-this.month()%3,1);break;case"month":e=o(this.year(),this.month(),1);break;case"week":e=o(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=o(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=zn(e+(this._isUTC?0:this.utcOffset()*Gn),Pn);break;case"minute":e=this._d.valueOf(),e-=zn(e,Gn);break;case"second":e=this._d.valueOf(),e-=zn(e,Hn)}return this._d.setTime(e),Ie.updateOffset(this,!0),this},ai.subtract=Zn,ai.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ai.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ai.toDate=function(){return new Date(this.valueOf())},ai.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,o=e?this.clone().utc():this;return o.year()<0||o.year()>9999?yo(o,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):io(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",yo(o,"Z")):yo(o,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ai.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,o,r="moment",n="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",o=n+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+o)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ai[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ai.toJSON=function(){return this.isValid()?this.toISOString():null},ai.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ai.unix=function(){return Math.floor(this.valueOf()/1e3)},ai.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ai.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ai.eraName=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].name;if(r[t].until<=o&&o<=r[t].since)return r[t].name}return""},ai.eraNarrow=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].narrow;if(r[t].until<=o&&o<=r[t].since)return r[t].narrow}return""},ai.eraAbbr=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].abbr;if(r[t].until<=o&&o<=r[t].since)return r[t].abbr}return""},ai.eraYear=function(){var t,e,o,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(o=n[t].since<=n[t].until?1:-1,r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return(this.year()-Ie(n[t].since).year())*o+n[t].offset;return this.year()},ai.year=Nr,ai.isLeapYear=function(){return wo(this.year())},ai.weekYear=function(t){return Xn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ai.isoWeekYear=function(t){return Xn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ai.quarter=ai.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ai.month=mr,ai.daysInMonth=function(){return lr(this.year(),this.month())},ai.week=ai.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ai.isoWeek=ai.isoWeeks=function(t){var e=xr(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ai.weeksInYear=function(){var t=this.localeData()._week;return Rr(this.year(),t.dow,t.doy)},ai.weeksInWeekYear=function(){var t=this.localeData()._week;return Rr(this.weekYear(),t.dow,t.doy)},ai.isoWeeksInYear=function(){return Rr(this.year(),1,4)},ai.isoWeeksInISOWeekYear=function(){return Rr(this.isoWeekYear(),1,4)},ai.date=ei,ai.day=ai.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},ai.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ai.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},ai.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ai.hour=ai.hours=Fr,ai.minute=ai.minutes=oi,ai.second=ai.seconds=ii,ai.millisecond=ai.milliseconds=ni,ai.utcOffset=function(t,e,o){var r,n=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Cn(Go,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&e&&(r=Rn(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==t&&(!e||this._changeInProgress?Yn(this,Dn(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Ie.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:Rn(this)},ai.utc=function(t){return this.utcOffset(0,t)},ai.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Rn(this),"m")),this},ai.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Cn(Ho,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ai.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?pn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ai.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ai.isLocal=function(){return!!this.isValid()&&!this._isUTC},ai.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ai.isUtc=En,ai.isUTC=En,ai.zoneAbbr=function(){return this._isUTC?"UTC":""},ai.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ai.dates=eo("dates accessor is deprecated. Use date instead.",ei),ai.months=eo("months accessor is deprecated. Use month instead",mr),ai.years=eo("years accessor is deprecated. Use year instead",Nr),ai.zone=eo("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),ai.isDSTShifted=eo("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!_e(this._isDSTShifted))return this._isDSTShifted;var t,e={};return Ve(e,this),(e=un(e))._a?(t=e._isUTC?Pe(e._a):pn(e._a),this._isDSTShifted=this.isValid()&&function(t,e,o){var r,n=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),s=0;for(r=0;r<n;r++)(o&&t[r]!==e[r]||!o&&xo(t[r])!==xo(e[r]))&&s++;return s+i}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var li=ao.prototype;function hi(t,e,o,r){var n=Jr(),i=Pe().set(r,e);return n[o](i,t)}function fi(t,e,o){if($e(t)&&(e=t,t=void 0),t=t||"",null!=e)return hi(t,e,o,"month");var r,n=[];for(r=0;r<12;r++)n[r]=hi(t,r,o,"month");return n}function ui(t,e,o,r){"boolean"==typeof t?($e(e)&&(o=e,e=void 0),e=e||""):(o=e=t,t=!1,$e(e)&&(o=e,e=void 0),e=e||"");var n,i=Jr(),s=t?i._week.dow:0,a=[];if(null!=o)return hi(e,(o+s)%7,r,"day");for(n=0;n<7;n++)a[n]=hi(e,(n+s)%7,r,"day");return a}li.calendar=function(t,e,o){var r=this._calendar[t]||this._calendar.sameElse;return io(r)?r.call(e,o):r},li.longDateFormat=function(t){var e=this._longDateFormat[t],o=this._longDateFormat[t.toUpperCase()];return e||!o?e:(this._longDateFormat[t]=o.match(lo).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},li.invalidDate=function(){return this._invalidDate},li.ordinal=function(t){return this._ordinal.replace("%d",t)},li.preparse=ci,li.postformat=ci,li.relativeTime=function(t,e,o,r){var n=this._relativeTime[o];return io(n)?n(t,e,o,r):n.replace(/%d/i,t)},li.pastFuture=function(t,e){var o=this._relativeTime[t>0?"future":"past"];return io(o)?o(e):o.replace(/%s/i,e)},li.set=function(t){var e,o;for(o in t)Ae(t,o)&&(io(e=t[o])?this[o]=e:this["_"+o]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},li.eras=function(t,e){var o,r,n,i=this._eras||Jr("en")._eras;for(o=0,r=i.length;o<r;++o){if("string"==typeof i[o].since)n=Ie(i[o].since).startOf("day"),i[o].since=n.valueOf();switch(typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":n=Ie(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}}return i},li.erasParse=function(t,e,o){var r,n,i,s,a,c=this.eras();for(t=t.toUpperCase(),r=0,n=c.length;r<n;++r)if(i=c[r].name.toUpperCase(),s=c[r].abbr.toUpperCase(),a=c[r].narrow.toUpperCase(),o)switch(e){case"N":case"NN":case"NNN":if(s===t)return c[r];break;case"NNNN":if(i===t)return c[r];break;case"NNNNN":if(a===t)return c[r]}else if([i,s,a].indexOf(t)>=0)return c[r]},li.erasConvertYear=function(t,e){var o=t.since<=t.until?1:-1;return void 0===e?Ie(t.since).year():Ie(t.since).year()+(e-t.offset)*o},li.erasAbbrRegex=function(t){return Ae(this,"_erasAbbrRegex")||Vn.call(this),t?this._erasAbbrRegex:this._erasRegex},li.erasNameRegex=function(t){return Ae(this,"_erasNameRegex")||Vn.call(this),t?this._erasNameRegex:this._erasRegex},li.erasNarrowRegex=function(t){return Ae(this,"_erasNarrowRegex")||Vn.call(this),t?this._erasNarrowRegex:this._erasRegex},li.months=function(t,e){return t?Ze(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ur).test(e)?"format":"standalone"][t.month()]:Ze(this._months)?this._months:this._months.standalone},li.monthsShort=function(t,e){return t?Ze(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ur.test(e)?"format":"standalone"][t.month()]:Ze(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},li.monthsParse=function(t,e,o){var r,n,i;if(this._monthsParseExact)return yr.call(this,t,e,o);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=Pe([2e3,r]),o&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),o||this._monthsParse[r]||(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),o&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(o&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!o&&this._monthsParse[r].test(t))return r}},li.monthsRegex=function(t){return this._monthsParseExact?(Ae(this,"_monthsRegex")||br.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ae(this,"_monthsRegex")||(this._monthsRegex=pr),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},li.monthsShortRegex=function(t){return this._monthsParseExact?(Ae(this,"_monthsRegex")||br.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ae(this,"_monthsShortRegex")||(this._monthsShortRegex=dr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},li.week=function(t){return xr(t,this._week.dow,this._week.doy).week},li.firstDayOfYear=function(){return this._week.doy},li.firstDayOfWeek=function(){return this._week.dow},li.weekdays=function(t,e){var o=Ze(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Er(o,this._week.dow):t?o[t.day()]:o},li.weekdaysMin=function(t){return!0===t?Er(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},li.weekdaysShort=function(t){return!0===t?Er(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},li.weekdaysParse=function(t,e,o){var r,n,i;if(this._weekdaysParseExact)return Yr.call(this,t,e,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=Pe([2e3,1]).day(r),o&&!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]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),o&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(o&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(o&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!o&&this._weekdaysParse[r].test(t))return r}},li.weekdaysRegex=function(t){return this._weekdaysParseExact?(Ae(this,"_weekdaysRegex")||Ir.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ae(this,"_weekdaysRegex")||(this._weekdaysRegex=kr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},li.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Ae(this,"_weekdaysRegex")||Ir.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ae(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wr),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},li.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Ae(this,"_weekdaysRegex")||Ir.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ae(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},li.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},li.meridiem=function(t,e,o){return t>11?o?"pm":"PM":o?"am":"AM"},zr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===xo(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),Ie.lang=eo("moment.lang is deprecated. Use moment.locale instead.",zr),Ie.langData=eo("moment.langData is deprecated. Use moment.localeData instead.",Jr);var di=Math.abs;function pi(t,e,o,r){var n=Dn(e,o);return t._milliseconds+=r*n._milliseconds,t._days+=r*n._days,t._months+=r*n._months,t._bubble()}function yi(t){return t<0?Math.floor(t):Math.ceil(t)}function gi(t){return 4800*t/146097}function mi(t){return 146097*t/4800}function bi(t){return function(){return this.as(t)}}var Oi=bi("ms"),Ni=bi("s"),vi=bi("m"),Si=bi("h"),wi=bi("d"),Ci=bi("w"),xi=bi("M"),Ri=bi("Q"),Ei=bi("y");function Mi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ui=Mi("milliseconds"),Di=Mi("seconds"),ki=Mi("minutes"),Wi=Mi("hours"),Li=Mi("days"),Yi=Mi("months"),Ii=Mi("years");var Zi=Math.round,Ki={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ai(t,e,o,r,n){return n.relativeTime(e||1,!!o,t,r)}var Fi=Math.abs;function _i(t){return(t>0)-(t<0)||+t}function $i(){if(!this.isValid())return this.localeData().invalidDate();var t,e,o,r,n,i,s,a,c=Fi(this._milliseconds)/1e3,l=Fi(this._days),h=Fi(this._months),f=this.asSeconds();return f?(t=Co(c/60),e=Co(t/60),c%=60,t%=60,o=Co(h/12),h%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",n=f<0?"-":"",i=_i(this._months)!==_i(f)?"-":"",s=_i(this._days)!==_i(f)?"-":"",a=_i(this._milliseconds)!==_i(f)?"-":"",n+"P"+(o?i+o+"Y":"")+(h?i+h+"M":"")+(l?s+l+"D":"")+(e||t||c?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(c?a+r+"S":"")):"P0D"}var Ti=On.prototype;Ti.isValid=function(){return this._isValid},Ti.abs=function(){var t=this._data;return this._milliseconds=di(this._milliseconds),this._days=di(this._days),this._months=di(this._months),t.milliseconds=di(t.milliseconds),t.seconds=di(t.seconds),t.minutes=di(t.minutes),t.hours=di(t.hours),t.months=di(t.months),t.years=di(t.years),this},Ti.add=function(t,e){return pi(this,t,e,1)},Ti.subtract=function(t,e){return pi(this,t,e,-1)},Ti.as=function(t){if(!this.isValid())return NaN;var e,o,r=this._milliseconds;if("month"===(t=Oo(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,o=this._months+gi(e),t){case"month":return o;case"quarter":return o/3;case"year":return o/12}else switch(e=this._days+Math.round(mi(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Ti.asMilliseconds=Oi,Ti.asSeconds=Ni,Ti.asMinutes=vi,Ti.asHours=Si,Ti.asDays=wi,Ti.asWeeks=Ci,Ti.asMonths=xi,Ti.asQuarters=Ri,Ti.asYears=Ei,Ti.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*xo(this._months/12):NaN},Ti._bubble=function(){var t,e,o,r,n,i=this._milliseconds,s=this._days,a=this._months,c=this._data;return i>=0&&s>=0&&a>=0||i<=0&&s<=0&&a<=0||(i+=864e5*yi(mi(a)+s),s=0,a=0),c.milliseconds=i%1e3,t=Co(i/1e3),c.seconds=t%60,e=Co(t/60),c.minutes=e%60,o=Co(e/60),c.hours=o%24,s+=Co(o/24),a+=n=Co(gi(s)),s-=yi(mi(n)),r=Co(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},Ti.clone=function(){return Dn(this)},Ti.get=function(t){return t=Oo(t),this.isValid()?this[t+"s"]():NaN},Ti.milliseconds=Ui,Ti.seconds=Di,Ti.minutes=ki,Ti.hours=Wi,Ti.days=Li,Ti.weeks=function(){return Co(this.days()/7)},Ti.months=Yi,Ti.years=Ii,Ti.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var o,r,n=!1,i=Ki;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},Ki,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),r=function(t,e,o,r){var n=Dn(t).abs(),i=Zi(n.as("s")),s=Zi(n.as("m")),a=Zi(n.as("h")),c=Zi(n.as("d")),l=Zi(n.as("M")),h=Zi(n.as("w")),f=Zi(n.as("y")),u=i<=o.ss&&["s",i]||i<o.s&&["ss",i]||s<=1&&["m"]||s<o.m&&["mm",s]||a<=1&&["h"]||a<o.h&&["hh",a]||c<=1&&["d"]||c<o.d&&["dd",c];return null!=o.w&&(u=u||h<=1&&["w"]||h<o.w&&["ww",h]),(u=u||l<=1&&["M"]||l<o.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=e,u[3]=+t>0,u[4]=r,Ai.apply(null,u)}(this,!n,i,o=this.localeData()),n&&(r=o.pastFuture(+this,r)),o.postformat(r)},Ti.toISOString=$i,Ti.toString=$i,Ti.toJSON=$i,Ti.locale=_n,Ti.localeData=Tn,Ti.toIsoString=eo("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$i),Ti.lang=$n,po("X",0,0,"unix"),po("x",0,0,"valueOf"),Bo("x",To),Bo("X",/[+-]?\d+(\.\d{1,3})?/),qo("X",(function(t,e,o){o._d=new Date(1e3*parseFloat(t))})),qo("x",(function(t,e,o){o._d=new Date(xo(t))})),
|
|
106
|
+
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Le=null===(We=window.safari)||void 0===We?void 0:We.pushNotification)||void 0===Le||Le.toString()),Ie=Array.prototype.some?Array.prototype.some:function(t){var e,o=Object(this),r=o.length>>>0;for(e=0;e<r;e++)if(e in o&&t.call(this,o[e],e,o))return!0;return!1};var qe=Ze.momentProperties=[],Ve=!1;function Qe(t,e){var o,r,n,i=qe.length;if($e(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),$e(e._i)||(t._i=e._i),$e(e._f)||(t._f=e._f),$e(e._l)||(t._l=e._l),$e(e._strict)||(t._strict=e._strict),$e(e._tzm)||(t._tzm=e._tzm),$e(e._isUTC)||(t._isUTC=e._isUTC),$e(e._offset)||(t._offset=e._offset),$e(e._pf)||(t._pf=ze(e)),$e(e._locale)||(t._locale=e._locale),i>0)for(o=0;o<i;o++)$e(n=e[r=qe[o]])||(t[r]=n);return t}function Xe(t){Qe(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ve&&(Ve=!0,Ze.updateOffset(this),Ve=!1)}function to(t){return t instanceof Xe||null!=t&&null!=t._isAMomentObject}function eo(t){!1===Ze.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function oo(t,e){var o=!0;return Pe((function(){if(null!=Ze.deprecationHandler&&Ze.deprecationHandler(null,t),o){var r,n,i,s=[],a=arguments.length;for(n=0;n<a;n++){if(r="","object"==typeof arguments[n]){for(i in r+="\n["+n+"] ",arguments[0])Fe(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[n];s.push(r)}eo(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),o=!1}return e.apply(this,arguments)}),e)}var ro,no={};function io(t,e){null!=Ze.deprecationHandler&&Ze.deprecationHandler(t,e),no[t]||(eo(e),no[t]=!0)}function so(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function ao(t,e){var o,r=Pe({},t);for(o in e)Fe(e,o)&&(Ae(t[o])&&Ae(e[o])?(r[o]={},Pe(r[o],t[o]),Pe(r[o],e[o])):null!=e[o]?r[o]=e[o]:delete r[o]);for(o in t)Fe(t,o)&&!Fe(e,o)&&Ae(t[o])&&(r[o]=Pe({},r[o]));return r}function co(t){null!=t&&this.set(t)}Ze.suppressDeprecationWarnings=!1,Ze.deprecationHandler=null,ro=Object.keys?Object.keys:function(t){var e,o=[];for(e in t)Fe(t,e)&&o.push(e);return o};function lo(t,e,o){var r=""+Math.abs(t),n=e-r.length;return(t>=0?o?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var ho=/(\[[^\[]*\])|(\\)?([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,fo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,uo={},po={};function yo(t,e,o,r){var n=r;"string"==typeof r&&(n=function(){return this[r]()}),t&&(po[t]=n),e&&(po[e[0]]=function(){return lo(n.apply(this,arguments),e[1],e[2])}),o&&(po[o]=function(){return this.localeData().ordinal(n.apply(this,arguments),t)})}function go(t,e){return t.isValid()?(e=mo(e,t.localeData()),uo[e]=uo[e]||function(t){var e,o,r,n=t.match(ho);for(e=0,o=n.length;e<o;e++)po[n[e]]?n[e]=po[n[e]]:n[e]=(r=n[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,i="";for(r=0;r<o;r++)i+=so(n[r])?n[r].call(e,t):n[r];return i}}(e),uo[e](t)):t.localeData().invalidDate()}function mo(t,e){var o=5;function r(t){return e.longDateFormat(t)||t}for(fo.lastIndex=0;o>=0&&fo.test(t);)t=t.replace(fo,r),fo.lastIndex=0,o-=1;return t}var bo={};function Oo(t,e){var o=t.toLowerCase();bo[o]=bo[o+"s"]=bo[e]=t}function No(t){return"string"==typeof t?bo[t]||bo[t.toLowerCase()]:void 0}function vo(t){var e,o,r={};for(o in t)Fe(t,o)&&(e=No(o))&&(r[e]=t[o]);return r}var So={};function wo(t,e){So[t]=e}function Co(t){return t%4==0&&t%100!=0||t%400==0}function xo(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ro(t){var e=+t,o=0;return 0!==e&&isFinite(e)&&(o=xo(e)),o}function Eo(t,e){return function(o){return null!=o?(Uo(this,t,o),Ze.updateOffset(this,e),this):Mo(this,t)}}function Mo(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Uo(t,e,o){t.isValid()&&!isNaN(o)&&("FullYear"===e&&Co(t.year())&&1===t.month()&&29===t.date()?(o=Ro(o),t._d["set"+(t._isUTC?"UTC":"")+e](o,t.month(),hr(o,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](o))}var Do,ko=/\d/,Wo=/\d\d/,Lo=/\d{3}/,Yo=/\d{4}/,Io=/[+-]?\d{6}/,Zo=/\d\d?/,Ko=/\d\d\d\d?/,Ao=/\d\d\d\d\d\d?/,Fo=/\d{1,3}/,_o=/\d{1,4}/,$o=/[+-]?\d{1,6}/,To=/\d+/,Ho=/[+-]?\d+/,Go=/Z|[+-]\d\d:?\d\d/gi,Po=/Z|[+-]\d\d(?::?\d\d)?/gi,Bo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function zo(t,e,o){Do[t]=so(e)?e:function(t,r){return t&&o?o:e}}function jo(t,e){return Fe(Do,t)?Do[t](e._strict,e._locale):new RegExp(function(t){return Jo(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,o,r,n){return e||o||r||n})))}(t))}function Jo(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Do={};var qo={};function Vo(t,e){var o,r,n=e;for("string"==typeof t&&(t=[t]),Te(e)&&(n=function(t,o){o[e]=Ro(t)}),r=t.length,o=0;o<r;o++)qo[t[o]]=n}function Qo(t,e){Vo(t,(function(t,o,r,n){r._w=r._w||{},e(t,r._w,r,n)}))}function Xo(t,e,o){null!=e&&Fe(qo,t)&&qo[t](e,o._a,o,t)}var tr,er=0,or=1,rr=2,nr=3,ir=4,sr=5,ar=6,cr=7,lr=8;function hr(t,e){if(isNaN(t)||isNaN(e))return NaN;var o=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-o)/12,1===o?Co(t)?29:28:31-o%7%2}tr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},yo("M",["MM",2],"Mo",(function(){return this.month()+1})),yo("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),yo("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Oo("month","M"),wo("month",8),zo("M",Zo),zo("MM",Zo,Wo),zo("MMM",(function(t,e){return e.monthsShortRegex(t)})),zo("MMMM",(function(t,e){return e.monthsRegex(t)})),Vo(["M","MM"],(function(t,e){e[or]=Ro(t)-1})),Vo(["MMM","MMMM"],(function(t,e,o,r){var n=o._locale.monthsParse(t,r,o._strict);null!=n?e[or]=n:ze(o).invalidMonth=t}));var fr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ur="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),dr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pr=Bo,yr=Bo;function gr(t,e,o){var r,n,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=Be([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return o?"MMM"===e?-1!==(n=tr.call(this._shortMonthsParse,s))?n:null:-1!==(n=tr.call(this._longMonthsParse,s))?n:null:"MMM"===e?-1!==(n=tr.call(this._shortMonthsParse,s))||-1!==(n=tr.call(this._longMonthsParse,s))?n:null:-1!==(n=tr.call(this._longMonthsParse,s))||-1!==(n=tr.call(this._shortMonthsParse,s))?n:null}function mr(t,e){var o;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=Ro(e);else if(!Te(e=t.localeData().monthsParse(e)))return t;return o=Math.min(t.date(),hr(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,o),t}function br(t){return null!=t?(mr(this,t),Ze.updateOffset(this,!0),this):Mo(this,"Month")}function Or(){function t(t,e){return e.length-t.length}var e,o,r=[],n=[],i=[];for(e=0;e<12;e++)o=Be([2e3,e]),r.push(this.monthsShort(o,"")),n.push(this.months(o,"")),i.push(this.months(o,"")),i.push(this.monthsShort(o,""));for(r.sort(t),n.sort(t),i.sort(t),e=0;e<12;e++)r[e]=Jo(r[e]),n[e]=Jo(n[e]);for(e=0;e<24;e++)i[e]=Jo(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Nr(t){return Co(t)?366:365}yo("Y",0,0,(function(){var t=this.year();return t<=9999?lo(t,4):"+"+t})),yo(0,["YY",2],0,(function(){return this.year()%100})),yo(0,["YYYY",4],0,"year"),yo(0,["YYYYY",5],0,"year"),yo(0,["YYYYYY",6,!0],0,"year"),Oo("year","y"),wo("year",1),zo("Y",Ho),zo("YY",Zo,Wo),zo("YYYY",_o,Yo),zo("YYYYY",$o,Io),zo("YYYYYY",$o,Io),Vo(["YYYYY","YYYYYY"],er),Vo("YYYY",(function(t,e){e[er]=2===t.length?Ze.parseTwoDigitYear(t):Ro(t)})),Vo("YY",(function(t,e){e[er]=Ze.parseTwoDigitYear(t)})),Vo("Y",(function(t,e){e[er]=parseInt(t,10)})),Ze.parseTwoDigitYear=function(t){return Ro(t)+(Ro(t)>68?1900:2e3)};var vr=Eo("FullYear",!0);function Sr(t,e,o,r,n,i,s){var a;return t<100&&t>=0?(a=new Date(t+400,e,o,r,n,i,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,o,r,n,i,s),a}function wr(t){var e,o;return t<100&&t>=0?((o=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,o)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Cr(t,e,o){var r=7+e-o;return-((7+wr(t,0,r).getUTCDay()-e)%7)+r-1}function xr(t,e,o,r,n){var i,s,a=1+7*(e-1)+(7+o-r)%7+Cr(t,r,n);return a<=0?s=Nr(i=t-1)+a:a>Nr(t)?(i=t+1,s=a-Nr(t)):(i=t,s=a),{year:i,dayOfYear:s}}function Rr(t,e,o){var r,n,i=Cr(t.year(),e,o),s=Math.floor((t.dayOfYear()-i-1)/7)+1;return s<1?r=s+Er(n=t.year()-1,e,o):s>Er(t.year(),e,o)?(r=s-Er(t.year(),e,o),n=t.year()+1):(n=t.year(),r=s),{week:r,year:n}}function Er(t,e,o){var r=Cr(t,e,o),n=Cr(t+1,e,o);return(Nr(t)-r+n)/7}yo("w",["ww",2],"wo","week"),yo("W",["WW",2],"Wo","isoWeek"),Oo("week","w"),Oo("isoWeek","W"),wo("week",5),wo("isoWeek",5),zo("w",Zo),zo("ww",Zo,Wo),zo("W",Zo),zo("WW",Zo,Wo),Qo(["w","ww","W","WW"],(function(t,e,o,r){e[r.substr(0,1)]=Ro(t)}));function Mr(t,e){return t.slice(e,7).concat(t.slice(0,e))}yo("d",0,"do","day"),yo("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),yo("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),yo("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),yo("e",0,0,"weekday"),yo("E",0,0,"isoWeekday"),Oo("day","d"),Oo("weekday","e"),Oo("isoWeekday","E"),wo("day",11),wo("weekday",11),wo("isoWeekday",11),zo("d",Zo),zo("e",Zo),zo("E",Zo),zo("dd",(function(t,e){return e.weekdaysMinRegex(t)})),zo("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),zo("dddd",(function(t,e){return e.weekdaysRegex(t)})),Qo(["dd","ddd","dddd"],(function(t,e,o,r){var n=o._locale.weekdaysParse(t,r,o._strict);null!=n?e.d=n:ze(o).invalidWeekday=t})),Qo(["d","e","E"],(function(t,e,o,r){e[r]=Ro(t)}));var Ur="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),kr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wr=Bo,Lr=Bo,Yr=Bo;function Ir(t,e,o){var r,n,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Be([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return o?"dddd"===e?-1!==(n=tr.call(this._weekdaysParse,s))?n:null:"ddd"===e?-1!==(n=tr.call(this._shortWeekdaysParse,s))?n:null:-1!==(n=tr.call(this._minWeekdaysParse,s))?n:null:"dddd"===e?-1!==(n=tr.call(this._weekdaysParse,s))||-1!==(n=tr.call(this._shortWeekdaysParse,s))||-1!==(n=tr.call(this._minWeekdaysParse,s))?n:null:"ddd"===e?-1!==(n=tr.call(this._shortWeekdaysParse,s))||-1!==(n=tr.call(this._weekdaysParse,s))||-1!==(n=tr.call(this._minWeekdaysParse,s))?n:null:-1!==(n=tr.call(this._minWeekdaysParse,s))||-1!==(n=tr.call(this._weekdaysParse,s))||-1!==(n=tr.call(this._shortWeekdaysParse,s))?n:null}function Zr(){function t(t,e){return e.length-t.length}var e,o,r,n,i,s=[],a=[],c=[],l=[];for(e=0;e<7;e++)o=Be([2e3,1]).day(e),r=Jo(this.weekdaysMin(o,"")),n=Jo(this.weekdaysShort(o,"")),i=Jo(this.weekdays(o,"")),s.push(r),a.push(n),c.push(i),l.push(r),l.push(n),l.push(i);s.sort(t),a.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Kr(){return this.hours()%12||12}function Ar(t,e){yo(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Fr(t,e){return e._meridiemParse}yo("H",["HH",2],0,"hour"),yo("h",["hh",2],0,Kr),yo("k",["kk",2],0,(function(){return this.hours()||24})),yo("hmm",0,0,(function(){return""+Kr.apply(this)+lo(this.minutes(),2)})),yo("hmmss",0,0,(function(){return""+Kr.apply(this)+lo(this.minutes(),2)+lo(this.seconds(),2)})),yo("Hmm",0,0,(function(){return""+this.hours()+lo(this.minutes(),2)})),yo("Hmmss",0,0,(function(){return""+this.hours()+lo(this.minutes(),2)+lo(this.seconds(),2)})),Ar("a",!0),Ar("A",!1),Oo("hour","h"),wo("hour",13),zo("a",Fr),zo("A",Fr),zo("H",Zo),zo("h",Zo),zo("k",Zo),zo("HH",Zo,Wo),zo("hh",Zo,Wo),zo("kk",Zo,Wo),zo("hmm",Ko),zo("hmmss",Ao),zo("Hmm",Ko),zo("Hmmss",Ao),Vo(["H","HH"],nr),Vo(["k","kk"],(function(t,e,o){var r=Ro(t);e[nr]=24===r?0:r})),Vo(["a","A"],(function(t,e,o){o._isPm=o._locale.isPM(t),o._meridiem=t})),Vo(["h","hh"],(function(t,e,o){e[nr]=Ro(t),ze(o).bigHour=!0})),Vo("hmm",(function(t,e,o){var r=t.length-2;e[nr]=Ro(t.substr(0,r)),e[ir]=Ro(t.substr(r)),ze(o).bigHour=!0})),Vo("hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[nr]=Ro(t.substr(0,r)),e[ir]=Ro(t.substr(r,2)),e[sr]=Ro(t.substr(n)),ze(o).bigHour=!0})),Vo("Hmm",(function(t,e,o){var r=t.length-2;e[nr]=Ro(t.substr(0,r)),e[ir]=Ro(t.substr(r))})),Vo("Hmmss",(function(t,e,o){var r=t.length-4,n=t.length-2;e[nr]=Ro(t.substr(0,r)),e[ir]=Ro(t.substr(r,2)),e[sr]=Ro(t.substr(n))}));var _r=Eo("Hours",!0);var $r,Tr={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:fr,monthsShort:ur,week:{dow:0,doy:6},weekdays:Ur,weekdaysMin:kr,weekdaysShort:Dr,meridiemParse:/[ap]\.?m?\.?/i},Hr={},Gr={};function Pr(t,e){var o,r=Math.min(t.length,e.length);for(o=0;o<r;o+=1)if(t[o]!==e[o])return o;return r}function Br(t){return t?t.toLowerCase().replace("_","-"):t}function zr(t){var e=null;if(void 0===Hr[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{e=$r._abbr,require("./locale/"+t),jr(e)}catch(e){Hr[t]=null}return Hr[t]}function jr(t,e){var o;return t&&((o=$e(e)?qr(t):Jr(t,e))?$r=o:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),$r._abbr}function Jr(t,e){if(null!==e){var o,r=Tr;if(e.abbr=t,null!=Hr[t])io("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=Hr[t]._config;else if(null!=e.parentLocale)if(null!=Hr[e.parentLocale])r=Hr[e.parentLocale]._config;else{if(null==(o=zr(e.parentLocale)))return Gr[e.parentLocale]||(Gr[e.parentLocale]=[]),Gr[e.parentLocale].push({name:t,config:e}),null;r=o._config}return Hr[t]=new co(ao(r,e)),Gr[t]&&Gr[t].forEach((function(t){Jr(t.name,t.config)})),jr(t),Hr[t]}return delete Hr[t],null}function qr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return $r;if(!Ke(t)){if(e=zr(t))return e;t=[t]}return function(t){for(var e,o,r,n,i=0;i<t.length;){for(e=(n=Br(t[i]).split("-")).length,o=(o=Br(t[i+1]))?o.split("-"):null;e>0;){if(r=zr(n.slice(0,e).join("-")))return r;if(o&&o.length>=e&&Pr(n,o)>=e-1)break;e--}i++}return $r}(t)}function Vr(t){var e,o=t._a;return o&&-2===ze(t).overflow&&(e=o[or]<0||o[or]>11?or:o[rr]<1||o[rr]>hr(o[er],o[or])?rr:o[nr]<0||o[nr]>24||24===o[nr]&&(0!==o[ir]||0!==o[sr]||0!==o[ar])?nr:o[ir]<0||o[ir]>59?ir:o[sr]<0||o[sr]>59?sr:o[ar]<0||o[ar]>999?ar:-1,ze(t)._overflowDayOfYear&&(e<er||e>rr)&&(e=rr),ze(t)._overflowWeeks&&-1===e&&(e=cr),ze(t)._overflowWeekday&&-1===e&&(e=lr),ze(t).overflow=e),t}var Qr=/^\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)?)?$/,Xr=/^\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)?)?$/,tn=/Z|[+-]\d\d(?::?\d\d)?/,en=[["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]],on=[["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/]],rn=/^\/?Date\((-?\d+)/i,nn=/^(?:(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}))$/,sn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function an(t){var e,o,r,n,i,s,a=t._i,c=Qr.exec(a)||Xr.exec(a),l=en.length,h=on.length;if(c){for(ze(t).iso=!0,e=0,o=l;e<o;e++)if(en[e][1].exec(c[1])){n=en[e][0],r=!1!==en[e][2];break}if(null==n)return void(t._isValid=!1);if(c[3]){for(e=0,o=h;e<o;e++)if(on[e][1].exec(c[3])){i=(c[2]||" ")+on[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(c[4]){if(!tn.exec(c[4]))return void(t._isValid=!1);s="Z"}t._f=n+(i||"")+(s||""),un(t)}else t._isValid=!1}function cn(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ln(t){var e,o,r,n,i,s,a,c,l=nn.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(o=l[4],r=l[3],n=l[2],i=l[5],s=l[6],a=l[7],c=[cn(o),ur.indexOf(r),parseInt(n,10),parseInt(i,10),parseInt(s,10)],a&&c.push(parseInt(a,10)),e=c,!function(t,e,o){return!t||Dr.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(ze(o).weekdayMismatch=!0,o._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,o){if(t)return sn[t];if(e)return 0;var r=parseInt(o,10),n=r%100;return(r-n)/100*60+n}(l[8],l[9],l[10]),t._d=wr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),ze(t).rfc2822=!0}else t._isValid=!1}function hn(t,e,o){return null!=t?t:null!=e?e:o}function fn(t){var e,o,r,n,i,s=[];if(!t._d){for(r=function(t){var e=new Date(Ze.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[rr]&&null==t._a[or]&&function(t){var e,o,r,n,i,s,a,c,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(i=1,s=4,o=hn(e.GG,t._a[er],Rr(yn(),1,4).year),r=hn(e.W,1),((n=hn(e.E,1))<1||n>7)&&(c=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,l=Rr(yn(),i,s),o=hn(e.gg,t._a[er],l.year),r=hn(e.w,l.week),null!=e.d?((n=e.d)<0||n>6)&&(c=!0):null!=e.e?(n=e.e+i,(e.e<0||e.e>6)&&(c=!0)):n=i);r<1||r>Er(o,i,s)?ze(t)._overflowWeeks=!0:null!=c?ze(t)._overflowWeekday=!0:(a=xr(o,r,n,i,s),t._a[er]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(i=hn(t._a[er],r[er]),(t._dayOfYear>Nr(i)||0===t._dayOfYear)&&(ze(t)._overflowDayOfYear=!0),o=wr(i,0,t._dayOfYear),t._a[or]=o.getUTCMonth(),t._a[rr]=o.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[nr]&&0===t._a[ir]&&0===t._a[sr]&&0===t._a[ar]&&(t._nextDay=!0,t._a[nr]=0),t._d=(t._useUTC?wr:Sr).apply(null,s),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[nr]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(ze(t).weekdayMismatch=!0)}}function un(t){if(t._f!==Ze.ISO_8601)if(t._f!==Ze.RFC_2822){t._a=[],ze(t).empty=!0;var e,o,r,n,i,s,a,c=""+t._i,l=c.length,h=0;for(a=(r=mo(t._f,t._locale).match(ho)||[]).length,e=0;e<a;e++)n=r[e],(o=(c.match(jo(n,t))||[])[0])&&((i=c.substr(0,c.indexOf(o))).length>0&&ze(t).unusedInput.push(i),c=c.slice(c.indexOf(o)+o.length),h+=o.length),po[n]?(o?ze(t).empty=!1:ze(t).unusedTokens.push(n),Xo(n,o,t)):t._strict&&!o&&ze(t).unusedTokens.push(n);ze(t).charsLeftOver=l-h,c.length>0&&ze(t).unusedInput.push(c),t._a[nr]<=12&&!0===ze(t).bigHour&&t._a[nr]>0&&(ze(t).bigHour=void 0),ze(t).parsedDateParts=t._a.slice(0),ze(t).meridiem=t._meridiem,t._a[nr]=function(t,e,o){var r;if(null==o)return e;return null!=t.meridiemHour?t.meridiemHour(e,o):null!=t.isPM?((r=t.isPM(o))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[nr],t._meridiem),null!==(s=ze(t).era)&&(t._a[er]=t._locale.erasConvertYear(s,t._a[er])),fn(t),Vr(t)}else ln(t);else an(t)}function dn(t){var e=t._i,o=t._f;return t._locale=t._locale||qr(t._l),null===e||void 0===o&&""===e?Je({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),to(e)?new Xe(Vr(e)):(He(e)?t._d=e:Ke(o)?function(t){var e,o,r,n,i,s,a=!1,c=t._f.length;if(0===c)return ze(t).invalidFormat=!0,void(t._d=new Date(NaN));for(n=0;n<c;n++)i=0,s=!1,e=Qe({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[n],un(e),je(e)&&(s=!0),i+=ze(e).charsLeftOver,i+=10*ze(e).unusedTokens.length,ze(e).score=i,a?i<r&&(r=i,o=e):(null==r||i<r||s)&&(r=i,o=e,s&&(a=!0));Pe(t,o||e)}(t):o?un(t):function(t){var e=t._i;$e(e)?t._d=new Date(Ze.now()):He(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=rn.exec(t._i);null===e?(an(t),!1===t._isValid&&(delete t._isValid,ln(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:Ze.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):Ke(e)?(t._a=Ge(e.slice(0),(function(t){return parseInt(t,10)})),fn(t)):Ae(e)?function(t){if(!t._d){var e=vo(t._i),o=void 0===e.day?e.date:e.day;t._a=Ge([e.year,e.month,o,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),fn(t)}}(t):Te(e)?t._d=new Date(e):Ze.createFromInputFallback(t)}(t),je(t)||(t._d=null),t))}function pn(t,e,o,r,n){var i,s={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==o&&!1!==o||(r=o,o=void 0),(Ae(t)&&_e(t)||Ke(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=n,s._l=o,s._i=t,s._f=e,s._strict=r,(i=new Xe(Vr(dn(s))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function yn(t,e,o,r){return pn(t,e,o,r,!1)}Ze.createFromInputFallback=oo("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),Ze.ISO_8601=function(){},Ze.RFC_2822=function(){};var gn=oo("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=yn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Je()})),mn=oo("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=yn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Je()}));function bn(t,e){var o,r;if(1===e.length&&Ke(e[0])&&(e=e[0]),!e.length)return yn();for(o=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](o)||(o=e[r]);return o}var On=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nn(t){var e=vo(t),o=e.year||0,r=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,c=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=function(t){var e,o,r=!1,n=On.length;for(e in t)if(Fe(t,e)&&(-1===tr.call(On,e)||null!=t[e]&&isNaN(t[e])))return!1;for(o=0;o<n;++o)if(t[On[o]]){if(r)return!1;parseFloat(t[On[o]])!==Ro(t[On[o]])&&(r=!0)}return!0}(e),this._milliseconds=+h+1e3*l+6e4*c+1e3*a*60*60,this._days=+s+7*i,this._months=+n+3*r+12*o,this._data={},this._locale=qr(),this._bubble()}function vn(t){return t instanceof Nn}function Sn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function wn(t,e){yo(t,0,0,(function(){var t=this.utcOffset(),o="+";return t<0&&(t=-t,o="-"),o+lo(~~(t/60),2)+e+lo(~~t%60,2)}))}wn("Z",":"),wn("ZZ",""),zo("Z",Po),zo("ZZ",Po),Vo(["Z","ZZ"],(function(t,e,o){o._useUTC=!0,o._tzm=xn(Po,t)}));var Cn=/([\+\-]|\d\d)/gi;function xn(t,e){var o,r,n=(e||"").match(t);return null===n?null:0===(r=60*(o=((n[n.length-1]||[])+"").match(Cn)||["-",0,0])[1]+Ro(o[2]))?0:"+"===o[0]?r:-r}function Rn(t,e){var o,r;return e._isUTC?(o=e.clone(),r=(to(t)||He(t)?t.valueOf():yn(t).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),Ze.updateOffset(o,!1),o):yn(t).local()}function En(t){return-Math.round(t._d.getTimezoneOffset())}function Mn(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}Ze.updateOffset=function(){};var Un=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Dn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function kn(t,e){var o,r,n,i=t,s=null;return vn(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:Te(t)||!isNaN(+t)?(i={},e?i[e]=+t:i.milliseconds=+t):(s=Un.exec(t))?(o="-"===s[1]?-1:1,i={y:0,d:Ro(s[rr])*o,h:Ro(s[nr])*o,m:Ro(s[ir])*o,s:Ro(s[sr])*o,ms:Ro(Sn(1e3*s[ar]))*o}):(s=Dn.exec(t))?(o="-"===s[1]?-1:1,i={y:Wn(s[2],o),M:Wn(s[3],o),w:Wn(s[4],o),d:Wn(s[5],o),h:Wn(s[6],o),m:Wn(s[7],o),s:Wn(s[8],o)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(n=function(t,e){var o;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Rn(e,t),t.isBefore(e)?o=Ln(t,e):((o=Ln(e,t)).milliseconds=-o.milliseconds,o.months=-o.months);return o}(yn(i.from),yn(i.to)),(i={}).ms=n.milliseconds,i.M=n.months),r=new Nn(i),vn(t)&&Fe(t,"_locale")&&(r._locale=t._locale),vn(t)&&Fe(t,"_isValid")&&(r._isValid=t._isValid),r}function Wn(t,e){var o=t&&parseFloat(t.replace(",","."));return(isNaN(o)?0:o)*e}function Ln(t,e){var o={};return o.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(o.months,"M").isAfter(e)&&--o.months,o.milliseconds=+e-+t.clone().add(o.months,"M"),o}function Yn(t,e){return function(o,r){var n;return null===r||isNaN(+r)||(io(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=o,o=r,r=n),In(this,kn(o,r),t),this}}function In(t,e,o,r){var n=e._milliseconds,i=Sn(e._days),s=Sn(e._months);t.isValid()&&(r=null==r||r,s&&mr(t,Mo(t,"Month")+s*o),i&&Uo(t,"Date",Mo(t,"Date")+i*o),n&&t._d.setTime(t._d.valueOf()+n*o),r&&Ze.updateOffset(t,i||s))}kn.fn=Nn.prototype,kn.invalid=function(){return kn(NaN)};var Zn=Yn(1,"add"),Kn=Yn(-1,"subtract");function An(t){return"string"==typeof t||t instanceof String}function Fn(t){return to(t)||He(t)||An(t)||Te(t)||function(t){var e=Ke(t),o=!1;e&&(o=0===t.filter((function(e){return!Te(e)&&An(t)})).length);return e&&o}(t)||function(t){var e,o,r=Ae(t)&&!_e(t),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=i.length;for(e=0;e<s;e+=1)o=i[e],n=n||Fe(t,o);return r&&n}(t)||null==t}function _n(t,e){if(t.date()<e.date())return-_n(e,t);var o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return-(o+(e-r<0?(e-r)/(r-t.clone().add(o-1,"months")):(e-r)/(t.clone().add(o+1,"months")-r)))||0}function $n(t){var e;return void 0===t?this._locale._abbr:(null!=(e=qr(t))&&(this._locale=e),this)}Ze.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Ze.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Tn=oo("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function Hn(){return this._locale}var Gn=1e3,Pn=6e4,Bn=36e5,zn=126227808e5;function jn(t,e){return(t%e+e)%e}function Jn(t,e,o){return t<100&&t>=0?new Date(t+400,e,o)-zn:new Date(t,e,o).valueOf()}function qn(t,e,o){return t<100&&t>=0?Date.UTC(t+400,e,o)-zn:Date.UTC(t,e,o)}function Vn(t,e){return e.erasAbbrRegex(t)}function Qn(){var t,e,o=[],r=[],n=[],i=[],s=this.eras();for(t=0,e=s.length;t<e;++t)r.push(Jo(s[t].name)),o.push(Jo(s[t].abbr)),n.push(Jo(s[t].narrow)),i.push(Jo(s[t].name)),i.push(Jo(s[t].abbr)),i.push(Jo(s[t].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function Xn(t,e){yo(0,[t,t.length],0,e)}function ti(t,e,o,r,n){var i;return null==t?Rr(this,r,n).year:(e>(i=Er(t,r,n))&&(e=i),ei.call(this,t,e,o,r,n))}function ei(t,e,o,r,n){var i=xr(t,e,o,r,n),s=wr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}yo("N",0,0,"eraAbbr"),yo("NN",0,0,"eraAbbr"),yo("NNN",0,0,"eraAbbr"),yo("NNNN",0,0,"eraName"),yo("NNNNN",0,0,"eraNarrow"),yo("y",["y",1],"yo","eraYear"),yo("y",["yy",2],0,"eraYear"),yo("y",["yyy",3],0,"eraYear"),yo("y",["yyyy",4],0,"eraYear"),zo("N",Vn),zo("NN",Vn),zo("NNN",Vn),zo("NNNN",(function(t,e){return e.erasNameRegex(t)})),zo("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),Vo(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,o,r){var n=o._locale.erasParse(t,r,o._strict);n?ze(o).era=n:ze(o).invalidEra=t})),zo("y",To),zo("yy",To),zo("yyy",To),zo("yyyy",To),zo("yo",(function(t,e){return e._eraYearOrdinalRegex||To})),Vo(["y","yy","yyy","yyyy"],er),Vo(["yo"],(function(t,e,o,r){var n;o._locale._eraYearOrdinalRegex&&(n=t.match(o._locale._eraYearOrdinalRegex)),o._locale.eraYearOrdinalParse?e[er]=o._locale.eraYearOrdinalParse(t,n):e[er]=parseInt(t,10)})),yo(0,["gg",2],0,(function(){return this.weekYear()%100})),yo(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Xn("gggg","weekYear"),Xn("ggggg","weekYear"),Xn("GGGG","isoWeekYear"),Xn("GGGGG","isoWeekYear"),Oo("weekYear","gg"),Oo("isoWeekYear","GG"),wo("weekYear",1),wo("isoWeekYear",1),zo("G",Ho),zo("g",Ho),zo("GG",Zo,Wo),zo("gg",Zo,Wo),zo("GGGG",_o,Yo),zo("gggg",_o,Yo),zo("GGGGG",$o,Io),zo("ggggg",$o,Io),Qo(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,o,r){e[r.substr(0,2)]=Ro(t)})),Qo(["gg","GG"],(function(t,e,o,r){e[r]=Ze.parseTwoDigitYear(t)})),yo("Q",0,"Qo","quarter"),Oo("quarter","Q"),wo("quarter",7),zo("Q",ko),Vo("Q",(function(t,e){e[or]=3*(Ro(t)-1)})),yo("D",["DD",2],"Do","date"),Oo("date","D"),wo("date",9),zo("D",Zo),zo("DD",Zo,Wo),zo("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Vo(["D","DD"],rr),Vo("Do",(function(t,e){e[rr]=Ro(t.match(Zo)[0])}));var oi=Eo("Date",!0);yo("DDD",["DDDD",3],"DDDo","dayOfYear"),Oo("dayOfYear","DDD"),wo("dayOfYear",4),zo("DDD",Fo),zo("DDDD",Lo),Vo(["DDD","DDDD"],(function(t,e,o){o._dayOfYear=Ro(t)})),yo("m",["mm",2],0,"minute"),Oo("minute","m"),wo("minute",14),zo("m",Zo),zo("mm",Zo,Wo),Vo(["m","mm"],ir);var ri=Eo("Minutes",!1);yo("s",["ss",2],0,"second"),Oo("second","s"),wo("second",15),zo("s",Zo),zo("ss",Zo,Wo),Vo(["s","ss"],sr);var ni,ii,si=Eo("Seconds",!1);for(yo("S",0,0,(function(){return~~(this.millisecond()/100)})),yo(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),yo(0,["SSS",3],0,"millisecond"),yo(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),yo(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),yo(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),yo(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),yo(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),yo(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Oo("millisecond","ms"),wo("millisecond",16),zo("S",Fo,ko),zo("SS",Fo,Wo),zo("SSS",Fo,Lo),ni="SSSS";ni.length<=9;ni+="S")zo(ni,To);function ai(t,e){e[ar]=Ro(1e3*("0."+t))}for(ni="S";ni.length<=9;ni+="S")Vo(ni,ai);ii=Eo("Milliseconds",!1),yo("z",0,0,"zoneAbbr"),yo("zz",0,0,"zoneName");var ci=Xe.prototype;function li(t){return t}ci.add=Zn,ci.calendar=function(t,e){1===arguments.length&&(arguments[0]?Fn(arguments[0])?(t=arguments[0],e=void 0):function(t){var e,o=Ae(t)&&!_e(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<n.length;e+=1)r=r||Fe(t,n[e]);return o&&r}(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var o=t||yn(),r=Rn(o,this).startOf("day"),n=Ze.calendarFormat(this,r)||"sameElse",i=e&&(so(e[n])?e[n].call(this,o):e[n]);return this.format(i||this.localeData().calendar(n,this,yn(o)))},ci.clone=function(){return new Xe(this)},ci.diff=function(t,e,o){var r,n,i;if(!this.isValid())return NaN;if(!(r=Rn(t,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),e=No(e)){case"year":i=_n(this,r)/12;break;case"month":i=_n(this,r);break;case"quarter":i=_n(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-n)/864e5;break;case"week":i=(this-r-n)/6048e5;break;default:i=this-r}return o?i:xo(i)},ci.endOf=function(t){var e,o;if(void 0===(t=No(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?qn:Jn,t){case"year":e=o(this.year()+1,0,1)-1;break;case"quarter":e=o(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=o(this.year(),this.month()+1,1)-1;break;case"week":e=o(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=o(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Bn-jn(e+(this._isUTC?0:this.utcOffset()*Pn),Bn)-1;break;case"minute":e=this._d.valueOf(),e+=Pn-jn(e,Pn)-1;break;case"second":e=this._d.valueOf(),e+=Gn-jn(e,Gn)-1}return this._d.setTime(e),Ze.updateOffset(this,!0),this},ci.format=function(t){t||(t=this.isUtc()?Ze.defaultFormatUtc:Ze.defaultFormat);var e=go(this,t);return this.localeData().postformat(e)},ci.from=function(t,e){return this.isValid()&&(to(t)&&t.isValid()||yn(t).isValid())?kn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ci.fromNow=function(t){return this.from(yn(),t)},ci.to=function(t,e){return this.isValid()&&(to(t)&&t.isValid()||yn(t).isValid())?kn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ci.toNow=function(t){return this.to(yn(),t)},ci.get=function(t){return so(this[t=No(t)])?this[t]():this},ci.invalidAt=function(){return ze(this).overflow},ci.isAfter=function(t,e){var o=to(t)?t:yn(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=No(e)||"millisecond")?this.valueOf()>o.valueOf():o.valueOf()<this.clone().startOf(e).valueOf())},ci.isBefore=function(t,e){var o=to(t)?t:yn(t);return!(!this.isValid()||!o.isValid())&&("millisecond"===(e=No(e)||"millisecond")?this.valueOf()<o.valueOf():this.clone().endOf(e).valueOf()<o.valueOf())},ci.isBetween=function(t,e,o,r){var n=to(t)?t:yn(t),i=to(e)?e:yn(e);return!!(this.isValid()&&n.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(n,o):!this.isBefore(n,o))&&(")"===r[1]?this.isBefore(i,o):!this.isAfter(i,o)))},ci.isSame=function(t,e){var o,r=to(t)?t:yn(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=No(e)||"millisecond")?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf()))},ci.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ci.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ci.isValid=function(){return je(this)},ci.lang=Tn,ci.locale=$n,ci.localeData=Hn,ci.max=mn,ci.min=gn,ci.parsingFlags=function(){return Pe({},ze(this))},ci.set=function(t,e){if("object"==typeof t){var o,r=function(t){var e,o=[];for(e in t)Fe(t,e)&&o.push({unit:e,priority:So[e]});return o.sort((function(t,e){return t.priority-e.priority})),o}(t=vo(t)),n=r.length;for(o=0;o<n;o++)this[r[o].unit](t[r[o].unit])}else if(so(this[t=No(t)]))return this[t](e);return this},ci.startOf=function(t){var e,o;if(void 0===(t=No(t))||"millisecond"===t||!this.isValid())return this;switch(o=this._isUTC?qn:Jn,t){case"year":e=o(this.year(),0,1);break;case"quarter":e=o(this.year(),this.month()-this.month()%3,1);break;case"month":e=o(this.year(),this.month(),1);break;case"week":e=o(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=o(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=jn(e+(this._isUTC?0:this.utcOffset()*Pn),Bn);break;case"minute":e=this._d.valueOf(),e-=jn(e,Pn);break;case"second":e=this._d.valueOf(),e-=jn(e,Gn)}return this._d.setTime(e),Ze.updateOffset(this,!0),this},ci.subtract=Kn,ci.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ci.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ci.toDate=function(){return new Date(this.valueOf())},ci.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,o=e?this.clone().utc():this;return o.year()<0||o.year()>9999?go(o,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):so(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",go(o,"Z")):go(o,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ci.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,o,r="moment",n="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",o=n+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+o)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=function(){return this.isValid()?this.toISOString():null},ci.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ci.unix=function(){return Math.floor(this.valueOf()/1e3)},ci.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ci.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ci.eraName=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].name;if(r[t].until<=o&&o<=r[t].since)return r[t].name}return""},ci.eraNarrow=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].narrow;if(r[t].until<=o&&o<=r[t].since)return r[t].narrow}return""},ci.eraAbbr=function(){var t,e,o,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(o=this.clone().startOf("day").valueOf(),r[t].since<=o&&o<=r[t].until)return r[t].abbr;if(r[t].until<=o&&o<=r[t].since)return r[t].abbr}return""},ci.eraYear=function(){var t,e,o,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(o=n[t].since<=n[t].until?1:-1,r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return(this.year()-Ze(n[t].since).year())*o+n[t].offset;return this.year()},ci.year=vr,ci.isLeapYear=function(){return Co(this.year())},ci.weekYear=function(t){return ti.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ci.isoWeekYear=function(t){return ti.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ci.quarter=ci.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ci.month=br,ci.daysInMonth=function(){return hr(this.year(),this.month())},ci.week=ci.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ci.isoWeek=ci.isoWeeks=function(t){var e=Rr(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ci.weeksInYear=function(){var t=this.localeData()._week;return Er(this.year(),t.dow,t.doy)},ci.weeksInWeekYear=function(){var t=this.localeData()._week;return Er(this.weekYear(),t.dow,t.doy)},ci.isoWeeksInYear=function(){return Er(this.year(),1,4)},ci.isoWeeksInISOWeekYear=function(){return Er(this.isoWeekYear(),1,4)},ci.date=oi,ci.day=ci.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},ci.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ci.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},ci.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ci.hour=ci.hours=_r,ci.minute=ci.minutes=ri,ci.second=ci.seconds=si,ci.millisecond=ci.milliseconds=ii,ci.utcOffset=function(t,e,o){var r,n=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=xn(Po,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&e&&(r=En(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==t&&(!e||this._changeInProgress?In(this,kn(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Ze.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:En(this)},ci.utc=function(t){return this.utcOffset(0,t)},ci.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(En(this),"m")),this},ci.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=xn(Go,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ci.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?yn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ci.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ci.isLocal=function(){return!!this.isValid()&&!this._isUTC},ci.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ci.isUtc=Mn,ci.isUTC=Mn,ci.zoneAbbr=function(){return this._isUTC?"UTC":""},ci.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ci.dates=oo("dates accessor is deprecated. Use date instead.",oi),ci.months=oo("months accessor is deprecated. Use month instead",br),ci.years=oo("years accessor is deprecated. Use year instead",vr),ci.zone=oo("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),ci.isDSTShifted=oo("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!$e(this._isDSTShifted))return this._isDSTShifted;var t,e={};return Qe(e,this),(e=dn(e))._a?(t=e._isUTC?Be(e._a):yn(e._a),this._isDSTShifted=this.isValid()&&function(t,e,o){var r,n=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),s=0;for(r=0;r<n;r++)(o&&t[r]!==e[r]||!o&&Ro(t[r])!==Ro(e[r]))&&s++;return s+i}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var hi=co.prototype;function fi(t,e,o,r){var n=qr(),i=Be().set(r,e);return n[o](i,t)}function ui(t,e,o){if(Te(t)&&(e=t,t=void 0),t=t||"",null!=e)return fi(t,e,o,"month");var r,n=[];for(r=0;r<12;r++)n[r]=fi(t,r,o,"month");return n}function di(t,e,o,r){"boolean"==typeof t?(Te(e)&&(o=e,e=void 0),e=e||""):(o=e=t,t=!1,Te(e)&&(o=e,e=void 0),e=e||"");var n,i=qr(),s=t?i._week.dow:0,a=[];if(null!=o)return fi(e,(o+s)%7,r,"day");for(n=0;n<7;n++)a[n]=fi(e,(n+s)%7,r,"day");return a}hi.calendar=function(t,e,o){var r=this._calendar[t]||this._calendar.sameElse;return so(r)?r.call(e,o):r},hi.longDateFormat=function(t){var e=this._longDateFormat[t],o=this._longDateFormat[t.toUpperCase()];return e||!o?e:(this._longDateFormat[t]=o.match(ho).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},hi.invalidDate=function(){return this._invalidDate},hi.ordinal=function(t){return this._ordinal.replace("%d",t)},hi.preparse=li,hi.postformat=li,hi.relativeTime=function(t,e,o,r){var n=this._relativeTime[o];return so(n)?n(t,e,o,r):n.replace(/%d/i,t)},hi.pastFuture=function(t,e){var o=this._relativeTime[t>0?"future":"past"];return so(o)?o(e):o.replace(/%s/i,e)},hi.set=function(t){var e,o;for(o in t)Fe(t,o)&&(so(e=t[o])?this[o]=e:this["_"+o]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hi.eras=function(t,e){var o,r,n,i=this._eras||qr("en")._eras;for(o=0,r=i.length;o<r;++o){if("string"==typeof i[o].since)n=Ze(i[o].since).startOf("day"),i[o].since=n.valueOf();switch(typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":n=Ze(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}}return i},hi.erasParse=function(t,e,o){var r,n,i,s,a,c=this.eras();for(t=t.toUpperCase(),r=0,n=c.length;r<n;++r)if(i=c[r].name.toUpperCase(),s=c[r].abbr.toUpperCase(),a=c[r].narrow.toUpperCase(),o)switch(e){case"N":case"NN":case"NNN":if(s===t)return c[r];break;case"NNNN":if(i===t)return c[r];break;case"NNNNN":if(a===t)return c[r]}else if([i,s,a].indexOf(t)>=0)return c[r]},hi.erasConvertYear=function(t,e){var o=t.since<=t.until?1:-1;return void 0===e?Ze(t.since).year():Ze(t.since).year()+(e-t.offset)*o},hi.erasAbbrRegex=function(t){return Fe(this,"_erasAbbrRegex")||Qn.call(this),t?this._erasAbbrRegex:this._erasRegex},hi.erasNameRegex=function(t){return Fe(this,"_erasNameRegex")||Qn.call(this),t?this._erasNameRegex:this._erasRegex},hi.erasNarrowRegex=function(t){return Fe(this,"_erasNarrowRegex")||Qn.call(this),t?this._erasNarrowRegex:this._erasRegex},hi.months=function(t,e){return t?Ke(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||dr).test(e)?"format":"standalone"][t.month()]:Ke(this._months)?this._months:this._months.standalone},hi.monthsShort=function(t,e){return t?Ke(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[dr.test(e)?"format":"standalone"][t.month()]:Ke(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hi.monthsParse=function(t,e,o){var r,n,i;if(this._monthsParseExact)return gr.call(this,t,e,o);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=Be([2e3,r]),o&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),o||this._monthsParse[r]||(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),o&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(o&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!o&&this._monthsParse[r].test(t))return r}},hi.monthsRegex=function(t){return this._monthsParseExact?(Fe(this,"_monthsRegex")||Or.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Fe(this,"_monthsRegex")||(this._monthsRegex=yr),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hi.monthsShortRegex=function(t){return this._monthsParseExact?(Fe(this,"_monthsRegex")||Or.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Fe(this,"_monthsShortRegex")||(this._monthsShortRegex=pr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hi.week=function(t){return Rr(t,this._week.dow,this._week.doy).week},hi.firstDayOfYear=function(){return this._week.doy},hi.firstDayOfWeek=function(){return this._week.dow},hi.weekdays=function(t,e){var o=Ke(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Mr(o,this._week.dow):t?o[t.day()]:o},hi.weekdaysMin=function(t){return!0===t?Mr(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},hi.weekdaysShort=function(t){return!0===t?Mr(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},hi.weekdaysParse=function(t,e,o){var r,n,i;if(this._weekdaysParseExact)return Ir.call(this,t,e,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=Be([2e3,1]).day(r),o&&!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]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),o&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(o&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(o&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!o&&this._weekdaysParse[r].test(t))return r}},hi.weekdaysRegex=function(t){return this._weekdaysParseExact?(Fe(this,"_weekdaysRegex")||Zr.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Fe(this,"_weekdaysRegex")||(this._weekdaysRegex=Wr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Fe(this,"_weekdaysRegex")||Zr.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Fe(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lr),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Fe(this,"_weekdaysRegex")||Zr.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Fe(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hi.meridiem=function(t,e,o){return t>11?o?"pm":"PM":o?"am":"AM"},jr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===Ro(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),Ze.lang=oo("moment.lang is deprecated. Use moment.locale instead.",jr),Ze.langData=oo("moment.langData is deprecated. Use moment.localeData instead.",qr);var pi=Math.abs;function yi(t,e,o,r){var n=kn(e,o);return t._milliseconds+=r*n._milliseconds,t._days+=r*n._days,t._months+=r*n._months,t._bubble()}function gi(t){return t<0?Math.floor(t):Math.ceil(t)}function mi(t){return 4800*t/146097}function bi(t){return 146097*t/4800}function Oi(t){return function(){return this.as(t)}}var Ni=Oi("ms"),vi=Oi("s"),Si=Oi("m"),wi=Oi("h"),Ci=Oi("d"),xi=Oi("w"),Ri=Oi("M"),Ei=Oi("Q"),Mi=Oi("y");function Ui(t){return function(){return this.isValid()?this._data[t]:NaN}}var Di=Ui("milliseconds"),ki=Ui("seconds"),Wi=Ui("minutes"),Li=Ui("hours"),Yi=Ui("days"),Ii=Ui("months"),Zi=Ui("years");var Ki=Math.round,Ai={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Fi(t,e,o,r,n){return n.relativeTime(e||1,!!o,t,r)}var _i=Math.abs;function $i(t){return(t>0)-(t<0)||+t}function Ti(){if(!this.isValid())return this.localeData().invalidDate();var t,e,o,r,n,i,s,a,c=_i(this._milliseconds)/1e3,l=_i(this._days),h=_i(this._months),f=this.asSeconds();return f?(t=xo(c/60),e=xo(t/60),c%=60,t%=60,o=xo(h/12),h%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",n=f<0?"-":"",i=$i(this._months)!==$i(f)?"-":"",s=$i(this._days)!==$i(f)?"-":"",a=$i(this._milliseconds)!==$i(f)?"-":"",n+"P"+(o?i+o+"Y":"")+(h?i+h+"M":"")+(l?s+l+"D":"")+(e||t||c?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(c?a+r+"S":"")):"P0D"}var Hi=Nn.prototype;Hi.isValid=function(){return this._isValid},Hi.abs=function(){var t=this._data;return this._milliseconds=pi(this._milliseconds),this._days=pi(this._days),this._months=pi(this._months),t.milliseconds=pi(t.milliseconds),t.seconds=pi(t.seconds),t.minutes=pi(t.minutes),t.hours=pi(t.hours),t.months=pi(t.months),t.years=pi(t.years),this},Hi.add=function(t,e){return yi(this,t,e,1)},Hi.subtract=function(t,e){return yi(this,t,e,-1)},Hi.as=function(t){if(!this.isValid())return NaN;var e,o,r=this._milliseconds;if("month"===(t=No(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,o=this._months+mi(e),t){case"month":return o;case"quarter":return o/3;case"year":return o/12}else switch(e=this._days+Math.round(bi(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Hi.asMilliseconds=Ni,Hi.asSeconds=vi,Hi.asMinutes=Si,Hi.asHours=wi,Hi.asDays=Ci,Hi.asWeeks=xi,Hi.asMonths=Ri,Hi.asQuarters=Ei,Hi.asYears=Mi,Hi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ro(this._months/12):NaN},Hi._bubble=function(){var t,e,o,r,n,i=this._milliseconds,s=this._days,a=this._months,c=this._data;return i>=0&&s>=0&&a>=0||i<=0&&s<=0&&a<=0||(i+=864e5*gi(bi(a)+s),s=0,a=0),c.milliseconds=i%1e3,t=xo(i/1e3),c.seconds=t%60,e=xo(t/60),c.minutes=e%60,o=xo(e/60),c.hours=o%24,s+=xo(o/24),a+=n=xo(mi(s)),s-=gi(bi(n)),r=xo(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},Hi.clone=function(){return kn(this)},Hi.get=function(t){return t=No(t),this.isValid()?this[t+"s"]():NaN},Hi.milliseconds=Di,Hi.seconds=ki,Hi.minutes=Wi,Hi.hours=Li,Hi.days=Yi,Hi.weeks=function(){return xo(this.days()/7)},Hi.months=Ii,Hi.years=Zi,Hi.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var o,r,n=!1,i=Ai;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},Ai,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),r=function(t,e,o,r){var n=kn(t).abs(),i=Ki(n.as("s")),s=Ki(n.as("m")),a=Ki(n.as("h")),c=Ki(n.as("d")),l=Ki(n.as("M")),h=Ki(n.as("w")),f=Ki(n.as("y")),u=i<=o.ss&&["s",i]||i<o.s&&["ss",i]||s<=1&&["m"]||s<o.m&&["mm",s]||a<=1&&["h"]||a<o.h&&["hh",a]||c<=1&&["d"]||c<o.d&&["dd",c];return null!=o.w&&(u=u||h<=1&&["w"]||h<o.w&&["ww",h]),(u=u||l<=1&&["M"]||l<o.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=e,u[3]=+t>0,u[4]=r,Fi.apply(null,u)}(this,!n,i,o=this.localeData()),n&&(r=o.pastFuture(+this,r)),o.postformat(r)},Hi.toISOString=Ti,Hi.toString=Ti,Hi.toJSON=Ti,Hi.locale=$n,Hi.localeData=Hn,Hi.toIsoString=oo("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ti),Hi.lang=Tn,yo("X",0,0,"unix"),yo("x",0,0,"valueOf"),zo("x",Ho),zo("X",/[+-]?\d+(\.\d{1,3})?/),Vo("X",(function(t,e,o){o._d=new Date(1e3*parseFloat(t))})),Vo("x",(function(t,e,o){o._d=new Date(Ro(t))})),
|
|
103
107
|
//! moment.js
|
|
104
|
-
|
|
108
|
+
Ze.version="2.29.4",Ye=yn,Ze.fn=ci,Ze.min=function(){return bn("isBefore",[].slice.call(arguments,0))},Ze.max=function(){return bn("isAfter",[].slice.call(arguments,0))},Ze.now=function(){return Date.now?Date.now():+new Date},Ze.utc=Be,Ze.unix=function(t){return yn(1e3*t)},Ze.months=function(t,e){return ui(t,e,"months")},Ze.isDate=He,Ze.locale=jr,Ze.invalid=Je,Ze.duration=kn,Ze.isMoment=to,Ze.weekdays=function(t,e,o){return di(t,e,o,"weekdays")},Ze.parseZone=function(){return yn.apply(null,arguments).parseZone()},Ze.localeData=qr,Ze.isDuration=vn,Ze.monthsShort=function(t,e){return ui(t,e,"monthsShort")},Ze.weekdaysMin=function(t,e,o){return di(t,e,o,"weekdaysMin")},Ze.defineLocale=Jr,Ze.updateLocale=function(t,e){if(null!=e){var o,r,n=Tr;null!=Hr[t]&&null!=Hr[t].parentLocale?Hr[t].set(ao(Hr[t]._config,e)):(null!=(r=zr(t))&&(n=r._config),e=ao(n,e),null==r&&(e.abbr=t),(o=new co(e)).parentLocale=Hr[t],Hr[t]=o),jr(t)}else null!=Hr[t]&&(null!=Hr[t].parentLocale?(Hr[t]=Hr[t].parentLocale,t===jr()&&jr(t)):null!=Hr[t]&&delete Hr[t]);return Hr[t]},Ze.locales=function(){return ro(Hr)},Ze.weekdaysShort=function(t,e,o){return di(t,e,o,"weekdaysShort")},Ze.normalizeUnits=No,Ze.relativeTimeRounding=function(t){return void 0===t?Ki:"function"==typeof t&&(Ki=t,!0)},Ze.relativeTimeThreshold=function(t,e){return void 0!==Ai[t]&&(void 0===e?Ai[t]:(Ai[t]=e,"s"===t&&(Ai.ss=e-1),!0))},Ze.calendarFormat=function(t,e){var o=t.diff(e,"days",!0);return o<-6?"sameElse":o<-1?"lastWeek":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":o<7?"nextWeek":"sameElse"},Ze.prototype=ci,Ze.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"};
|
|
105
109
|
/**
|
|
106
110
|
* @license
|
|
107
111
|
* Copyright 2017 Google LLC
|
|
108
112
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
109
113
|
*/
|
|
110
|
-
const
|
|
114
|
+
const Gi=2;class Pi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
111
115
|
/**
|
|
112
116
|
* @license
|
|
113
117
|
* Copyright 2020 Google LLC
|
|
114
118
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
*/const{D:
|
|
119
|
+
*/const{D:Bi}=lt,zi=()=>document.createComment(""),ji=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(zi(),n),i=r.insertBefore(zi(),n);o=new Bi(e,i,t,t.options)}else{const e=o._$AB.nextSibling,i=o._$AM,s=i!==t;if(s){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==i._$AU&&o._$AP(e)}if(e!==n||s){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},Ji=(t,e,o=t)=>(t._$AI(e,o),t),qi={},Vi=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Qi=(t,e,o)=>{const r=new Map;for(let n=e;n<=o;n++)r.set(t[n],n);return r},Xi=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends Pi{constructor(t){if(super(t),t.type!==Gi)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const n=[],i=[];let s=0;for(const e of t)n[s]=r?r(e,s):s,i[s]=o(e,s),s++;return{values:i,keys:n}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const n=(t=>t._$AH)(t),{values:i,keys:s}=this.ht(e,o,r);if(!Array.isArray(n))return this.dt=s,i;const a=this.dt??=[],c=[];let l,h,f=0,u=n.length-1,d=0,p=i.length-1;for(;f<=u&&d<=p;)if(null===n[f])f++;else if(null===n[u])u--;else if(a[f]===s[d])c[d]=Ji(n[f],i[d]),f++,d++;else if(a[u]===s[p])c[p]=Ji(n[u],i[p]),u--,p--;else if(a[f]===s[p])c[p]=Ji(n[f],i[p]),ji(t,c[p+1],n[f]),f++,p--;else if(a[u]===s[d])c[d]=Ji(n[u],i[d]),ji(t,n[f],n[u]),u--,d++;else if(void 0===l&&(l=Qi(s,d,p),h=Qi(a,f,u)),l.has(a[f]))if(l.has(a[u])){const e=h.get(s[d]),o=void 0!==e?n[e]:null;if(null===o){const e=ji(t,n[f]);Ji(e,i[d]),c[d]=e}else c[d]=Ji(o,i[d]),ji(t,n[f],o),n[e]=null;d++}else Vi(n[u]),u--;else Vi(n[f]),f++;for(;d<=p;){const e=ji(t,c[p+1]);Ji(e,i[d]),c[d++]=e}for(;f<=u;){const t=n[f++];null!==t&&Vi(t)}return this.dt=s,((t,e=qi)=>{t._$AH=e})(t,c),j}}),ts={contentFont:be.external(ve.contentFont,"Design system"),colorOnSurfaceHigh:be.external(ve.colorOnSurfaceHigh,"Design system"),colorOnSurfaceMedium:be.external(ve.colorOnSurfaceMedium,"Design system")},es=mt`
|
|
116
120
|
|
|
117
121
|
table {
|
|
118
|
-
font-family: ${
|
|
122
|
+
font-family: ${ts.contentFont};
|
|
119
123
|
padding-top: 10px;
|
|
120
124
|
}
|
|
121
125
|
|
|
122
126
|
.document-views {
|
|
123
|
-
color: ${
|
|
127
|
+
color: ${ts.colorOnSurfaceHigh};
|
|
124
128
|
padding-right: 10px;
|
|
125
129
|
}
|
|
126
130
|
|
|
127
131
|
.document-title {
|
|
128
|
-
color: ${
|
|
132
|
+
color: ${ts.colorOnSurfaceMedium};
|
|
129
133
|
padding-left: 10px;
|
|
130
134
|
}
|
|
131
135
|
|
|
@@ -135,7 +139,7 @@ const Hi=2;class Gi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o)
|
|
|
135
139
|
}
|
|
136
140
|
|
|
137
141
|
ft-icon {
|
|
138
|
-
color: ${
|
|
142
|
+
color: ${ts.colorOnSurfaceMedium};
|
|
139
143
|
}
|
|
140
144
|
|
|
141
145
|
`;
|
|
@@ -143,7 +147,7 @@ const Hi=2;class Gi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o)
|
|
|
143
147
|
* @license
|
|
144
148
|
* Copyright 2017 Google LLC
|
|
145
149
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
146
|
-
*/var
|
|
150
|
+
*/var os,rs=function(t,e,o,r){for(var n,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(i<3?n(s):i>3?n(e,o,s):n(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s};class ns extends De{constructor(){super(...arguments),this.baseUrl="",this.startDate=Ze.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=Ze.utc().startOf("month").format("YYYY-MM-DD"),this.documentNumber=10,this.documents=[],this.emptyResults=!1}render(){return 0===this.documents.length?this.emptyResults?Xt`
|
|
147
151
|
<ft-typography variant="body1">No results during this period</ft-typography>
|
|
148
152
|
`:Xt`
|
|
149
153
|
<div class="loader">
|
|
@@ -152,7 +156,7 @@ const Hi=2;class Gi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o)
|
|
|
152
156
|
`:Xt`
|
|
153
157
|
<div class="ft-analytics-top-documents">
|
|
154
158
|
<table>
|
|
155
|
-
${
|
|
159
|
+
${Xi(this.documents,(t=>this.renderDocument(t)))}
|
|
156
160
|
</table>
|
|
157
161
|
</div>
|
|
158
162
|
`}renderDocument(t){return Xt`
|
|
@@ -161,7 +165,7 @@ const Hi=2;class Gi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o)
|
|
|
161
165
|
${t.displayCount.toLocaleString()}
|
|
162
166
|
</td>
|
|
163
167
|
<td>
|
|
164
|
-
${
|
|
168
|
+
${ns.getIcon(t.type)}
|
|
165
169
|
</td>
|
|
166
170
|
<td class="document-title">
|
|
167
171
|
${t.title}
|
|
@@ -173,4 +177,4 @@ const Hi=2;class Gi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o)
|
|
|
173
177
|
<ft-icon variant="file-format">UNKNOWN</ft-icon>
|
|
174
178
|
`;case"SHARED_PERSONAL_BOOK":return Xt`
|
|
175
179
|
<ft-icon>SHARED_PBK</ft-icon>
|
|
176
|
-
`;default:return Xt``}}}
|
|
180
|
+
`;default:return Xt``}}}ns.styles=es,rs([x({type:String})],ns.prototype,"baseUrl",void 0),rs([x({type:String})],ns.prototype,"startDate",void 0),rs([x({type:String})],ns.prototype,"endDate",void 0),rs([x({type:String})],ns.prototype,"documentNumber",void 0),rs([R()],ns.prototype,"documents",void 0),rs([R()],ns.prototype,"emptyResults",void 0),(os="ft-analytics-top-documents",t=>{window.customElements.get(os)||window.customElements.define(os,t)})(ns),t.FtAnalyticsTopDocuments=ns,t.FtAnalyticsTopDocumentsCssVariables=ts,t.styles=es}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-analytics-top-documents",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "List the most viewed documents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
23
|
-
"@fluid-topics/ft-loader": "1.1.
|
|
24
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
25
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.1.2",
|
|
23
|
+
"@fluid-topics/ft-loader": "1.1.2",
|
|
24
|
+
"@fluid-topics/ft-typography": "1.1.2",
|
|
25
|
+
"@fluid-topics/ft-wc-utils": "1.1.2",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "53ce99f657872582bca43cbb7ad691b239b22823"
|
|
29
29
|
}
|