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